Skip to content

aws.datazone.list_subscription_grants

Example SQL Queries

SELECT * FROM
aws.datazone.list_subscription_grants
WHERE
"domain_identifier" = 'VALUE';

Description

Lists subscription grants.

Table Definition

Column NameColumn Data Type
domain_identifier Required Input Column

The identifier of the Amazon DataZone domain.

VARCHAR
environment_id Input Column

The identifier of the Amazon DataZone environment.

VARCHAR
owning_project_id Input Column

The ID of the owning project of the subscription grants.

VARCHAR
sort_by Input Column

Specifies the way of sorting the results of this action.

VARCHAR
sort_order Input Column

Specifies the sort order of this action.

VARCHAR
subscribed_listing_id Input Column

The identifier of the subscribed listing.

VARCHAR
subscription_id Input Column

The ID of the subscription.

VARCHAR
subscription_target_id Input Column

The identifier of the target of the subscription grant.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
assets

The assets included in the subscription grant.

STRUCT(
"asset_id" VARCHAR,
"asset_revision" VARCHAR,
"failure_cause" STRUCT(
"message" VARCHAR
),
"failure_timestamp" TIMESTAMP_S,
"granted_timestamp" TIMESTAMP_S,
"status" VARCHAR,
"target_name" VARCHAR
)[]
Show child fields
assets[]
Show child fields
assets[].asset_id

The identifier of the asset for which the subscription grant is created.

assets[].asset_revision

The revision of the asset for which the subscription grant is created.

assets[].failure_cause

The failure cause included in the details of the asset for which the subscription grant is created.

Show child fields
assets[].failure_cause.message

The description of the error message.

assets[].failure_timestamp

The failure timestamp included in the details of the asset for which the subscription grant is created.

assets[].granted_timestamp

The timestamp of when the subscription grant to the asset is created.

assets[].status

The status of the asset for which the subscription grant is created.

assets[].target_name

The target name of the asset for which the subscription grant is created.

created_at

The timestamp of when a subscription grant was created.

TIMESTAMP_S
created_by

The datazone user who created the subscription grant.

VARCHAR
domain_id

The identifier of the Amazon DataZone domain in which a subscription grant exists.

VARCHAR
granted_entity

The entity to which the subscription is granted.

STRUCT(
"listing" STRUCT(
"id" VARCHAR,
"revision" VARCHAR
)
)
Show child fields
granted_entity.listing

The listing for which a subscription is granted.

Show child fields
granted_entity.listing.id

An identifier of a revision of an asset published in a Amazon DataZone catalog.

granted_entity.listing.revision

The details of a revision of an asset published in a Amazon DataZone catalog.

id

The identifier of the subscription grant.

VARCHAR
status

The status of the subscription grant.

VARCHAR
updated_at

The timestampf of when the subscription grant was updated.

TIMESTAMP_S
updated_by

The Amazon DataZone user who updated the subscription grant.

VARCHAR