DataExchange.Paginator.
ListRevisionAssets
¶paginator = client.get_paginator('list_revision_assets')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from DataExchange.Client.list_revision_assets()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
DataSetId='string',
RevisionId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The unique identifier for a data set.
[REQUIRED]
The unique identifier for a revision.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'Assets': [
{
'Arn': 'string',
'AssetDetails': {
'S3SnapshotAsset': {
'Size': 123.0
},
'RedshiftDataShareAsset': {
'Arn': 'string'
},
'ApiGatewayApiAsset': {
'ApiDescription': 'string',
'ApiEndpoint': 'string',
'ApiId': 'string',
'ApiKey': 'string',
'ApiName': 'string',
'ApiSpecificationDownloadUrl': 'string',
'ApiSpecificationDownloadUrlExpiresAt': datetime(2015, 1, 1),
'ProtocolType': 'REST',
'Stage': 'string'
},
'S3DataAccessAsset': {
'Bucket': 'string',
'KeyPrefixes': [
'string',
],
'Keys': [
'string',
],
'S3AccessPointAlias': 'string',
'S3AccessPointArn': 'string'
},
'LakeFormationDataPermissionAsset': {
'LakeFormationDataPermissionDetails': {
'LFTagPolicy': {
'CatalogId': 'string',
'ResourceType': 'TABLE'|'DATABASE',
'ResourceDetails': {
'Database': {
'Expression': [
{
'TagKey': 'string',
'TagValues': [
'string',
]
},
]
},
'Table': {
'Expression': [
{
'TagKey': 'string',
'TagValues': [
'string',
]
},
]
}
}
}
},
'LakeFormationDataPermissionType': 'LFTagPolicy',
'Permissions': [
'DESCRIBE'|'SELECT',
],
'RoleArn': 'string'
}
},
'AssetType': 'S3_SNAPSHOT'|'REDSHIFT_DATA_SHARE'|'API_GATEWAY_API'|'S3_DATA_ACCESS'|'LAKE_FORMATION_DATA_PERMISSION',
'CreatedAt': datetime(2015, 1, 1),
'DataSetId': 'string',
'Id': 'string',
'Name': 'string',
'RevisionId': 'string',
'SourceId': 'string',
'UpdatedAt': datetime(2015, 1, 1)
},
],
}
Response Structure
(dict) --
Assets (list) --
The asset objects listed by the request.
(dict) --
An asset in AWS Data Exchange is a piece of data (Amazon S3 object) or a means of fulfilling data (Amazon Redshift datashare or Amazon API Gateway API, AWS Lake Formation data permission, or Amazon S3 data access). The asset can be a structured data file, an image file, or some other data file that can be stored as an Amazon S3 object, an Amazon API Gateway API, or an Amazon Redshift datashare, an AWS Lake Formation data permission, or an Amazon S3 data access. When you create an import job for your files, API Gateway APIs, Amazon Redshift datashares, AWS Lake Formation data permission, or Amazon S3 data access, you create an asset in AWS Data Exchange.
Arn (string) --
The ARN for the asset.
AssetDetails (dict) --
Details about the asset.
S3SnapshotAsset (dict) --
The Amazon S3 object that is the asset.
Size (float) --
The size of the Amazon S3 object that is the object.
RedshiftDataShareAsset (dict) --
The Amazon Redshift datashare that is the asset.
Arn (string) --
The Amazon Resource Name (ARN) of the datashare asset.
ApiGatewayApiAsset (dict) --
Information about the API Gateway API asset.
ApiDescription (string) --
The API description of the API asset.
ApiEndpoint (string) --
The API endpoint of the API asset.
ApiId (string) --
The unique identifier of the API asset.
ApiKey (string) --
The API key of the API asset.
ApiName (string) --
The API name of the API asset.
ApiSpecificationDownloadUrl (string) --
The download URL of the API specification of the API asset.
ApiSpecificationDownloadUrlExpiresAt (datetime) --
The date and time that the upload URL expires, in ISO 8601 format.
ProtocolType (string) --
The protocol type of the API asset.
Stage (string) --
The stage of the API asset.
S3DataAccessAsset (dict) --
The Amazon S3 data access that is the asset.
Bucket (string) --
The Amazon S3 bucket hosting data to be shared in the S3 data access.
KeyPrefixes (list) --
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
Keys (list) --
S3 keys made available using this asset.
S3AccessPointAlias (string) --
The automatically-generated bucket-style alias for your Amazon S3 Access Point. Customers can access their entitled data using the S3 Access Point alias.
S3AccessPointArn (string) --
The ARN for your Amazon S3 Access Point. Customers can also access their entitled data using the S3 Access Point ARN.
LakeFormationDataPermissionAsset (dict) --
The AWS Lake Formation data permission that is the asset.
LakeFormationDataPermissionDetails (dict) --
Details about the AWS Lake Formation data permission.
LFTagPolicy (dict) --
Details about the LF-tag policy.
CatalogId (string) --
The identifier for the AWS Glue Data Catalog.
ResourceType (string) --
The resource type for which the LF-tag policy applies.
ResourceDetails (dict) --
Details for the Lake Formation Resources included in the LF-tag policy.
Database (dict) --
Details about the database resource included in the AWS Lake Formation data permission.
Expression (list) --
A list of LF-tag conditions that apply to database resources.
(dict) --
A structure that allows an LF-admin to grant permissions on certain conditions.
TagKey (string) --
The key name for the LF-tag.
TagValues (list) --
A list of LF-tag values.
Table (dict) --
Details about the table resource included in the AWS Lake Formation data permission.
Expression (list) --
A list of LF-tag conditions that apply to table resources.
(dict) --
A structure that allows an LF-admin to grant permissions on certain conditions.
TagKey (string) --
The key name for the LF-tag.
TagValues (list) --
A list of LF-tag values.
LakeFormationDataPermissionType (string) --
The data permission type.
Permissions (list) --
The permissions granted to the subscribers on the resource.
RoleArn (string) --
The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions to AWS Lake Formation data permissions.
AssetType (string) --
The type of asset that is added to a data set.
CreatedAt (datetime) --
The date and time that the asset was created, in ISO 8601 format.
DataSetId (string) --
The unique identifier for the data set associated with this asset.
Id (string) --
The unique identifier for the asset.
Name (string) --
The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in LF-tag policy" or "Table(s) included in LF-tag policy" are used as the asset name.
RevisionId (string) --
The unique identifier for the revision associated with this asset.
SourceId (string) --
The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
UpdatedAt (datetime) --
The date and time that the asset was last updated, in ISO 8601 format.