ListRevisionAssets - AWS Data Exchange

ListRevisionAssets

This operation lists a revision's assets sorted alphabetically in descending order.

Request Syntax

GET /v1/data-sets/DataSetId/revisions/RevisionId/assets?maxResults=MaxResults&nextToken=NextToken HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

DataSetId

The unique identifier for a data set.

Required: Yes

MaxResults

The maximum number of results returned by a single call.

Valid Range: Minimum value of 1. Maximum value of 25.

NextToken

The token value retrieved from a previous call to access the next page of results.

RevisionId

The unique identifier for a revision.

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Assets": [ { "Arn": "string", "AssetDetails": { "ApiGatewayApiAsset": { "ApiDescription": "string", "ApiEndpoint": "string", "ApiId": "string", "ApiKey": "string", "ApiName": "string", "ApiSpecificationDownloadUrl": "string", "ApiSpecificationDownloadUrlExpiresAt": number, "ProtocolType": "string", "Stage": "string" }, "RedshiftDataShareAsset": { "Arn": "string" }, "S3SnapshotAsset": { "Size": number } }, "AssetType": "string", "CreatedAt": number, "DataSetId": "string", "Id": "string", "Name": "string", "RevisionId": "string", "SourceId": "string", "UpdatedAt": number } ], "NextToken": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Assets

The asset objects listed by the request.

Type: Array of AssetEntry objects

NextToken

The token value retrieved from a previous call to access the next page of results.

Type: String

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServerException

An exception occurred with the service.

HTTP Status Code: 500

ResourceNotFoundException

The resource couldn't be found.

HTTP Status Code: 404

ThrottlingException

The limit on the number of requests per second was exceeded.

HTTP Status Code: 429

ValidationException

The request was invalid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: