import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListRevisionAssetsRequest, ListRevisionAssetsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListRevisionAssetsCommand}. */ export interface ListRevisionAssetsCommandInput extends ListRevisionAssetsRequest { } /** * @public * * The output of {@link ListRevisionAssetsCommand}. */ export interface ListRevisionAssetsCommandOutput extends ListRevisionAssetsResponse, __MetadataBearer { } declare const ListRevisionAssetsCommand_base: { new (input: ListRevisionAssetsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListRevisionAssetsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

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

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataExchangeClient, ListRevisionAssetsCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import * // const { DataExchangeClient, ListRevisionAssetsCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import * // import type { DataExchangeClientConfig } from "@aws-sdk/client-dataexchange"; * const config = {}; // type is DataExchangeClientConfig * const client = new DataExchangeClient(config); * const input = { // ListRevisionAssetsRequest * DataSetId: "STRING_VALUE", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * RevisionId: "STRING_VALUE", // required * }; * const command = new ListRevisionAssetsCommand(input); * const response = await client.send(command); * // { // ListRevisionAssetsResponse * // Assets: [ // ListOfAssetEntry * // { // AssetEntry * // Arn: "STRING_VALUE", // required * // AssetDetails: { // AssetDetails * // S3SnapshotAsset: { // S3SnapshotAsset * // Size: Number("double"), // required * // }, * // RedshiftDataShareAsset: { // RedshiftDataShareAsset * // Arn: "STRING_VALUE", // required * // }, * // ApiGatewayApiAsset: { // ApiGatewayApiAsset * // ApiDescription: "STRING_VALUE", * // ApiEndpoint: "STRING_VALUE", * // ApiId: "STRING_VALUE", * // ApiKey: "STRING_VALUE", * // ApiName: "STRING_VALUE", * // ApiSpecificationDownloadUrl: "STRING_VALUE", * // ApiSpecificationDownloadUrlExpiresAt: new Date("TIMESTAMP"), * // ProtocolType: "STRING_VALUE", * // Stage: "STRING_VALUE", * // }, * // S3DataAccessAsset: { // S3DataAccessAsset * // Bucket: "STRING_VALUE", // required * // KeyPrefixes: [ // ListOf__string * // "STRING_VALUE", * // ], * // Keys: [ * // "STRING_VALUE", * // ], * // S3AccessPointAlias: "STRING_VALUE", * // S3AccessPointArn: "STRING_VALUE", * // KmsKeysToGrant: [ // ListOfKmsKeysToGrant * // { // KmsKeyToGrant * // KmsKeyArn: "STRING_VALUE", // required * // }, * // ], * // }, * // LakeFormationDataPermissionAsset: { // LakeFormationDataPermissionAsset * // LakeFormationDataPermissionDetails: { // LakeFormationDataPermissionDetails * // LFTagPolicy: { // LFTagPolicyDetails * // CatalogId: "STRING_VALUE", // required * // ResourceType: "STRING_VALUE", // required * // ResourceDetails: { // LFResourceDetails * // Database: { // DatabaseLFTagPolicy * // Expression: [ // ListOfLFTags // required * // { // LFTag * // TagKey: "STRING_VALUE", // required * // TagValues: [ // ListOfLFTagValues // required * // "STRING_VALUE", * // ], * // }, * // ], * // }, * // Table: { // TableLFTagPolicy * // Expression: [ // required * // { * // TagKey: "STRING_VALUE", // required * // TagValues: [ // required * // "STRING_VALUE", * // ], * // }, * // ], * // }, * // }, * // }, * // }, * // LakeFormationDataPermissionType: "STRING_VALUE", // required * // Permissions: [ // ListOfLFPermissions // required * // "STRING_VALUE", * // ], * // RoleArn: "STRING_VALUE", * // }, * // }, * // AssetType: "STRING_VALUE", // required * // CreatedAt: new Date("TIMESTAMP"), // required * // DataSetId: "STRING_VALUE", // required * // Id: "STRING_VALUE", // required * // Name: "STRING_VALUE", // required * // RevisionId: "STRING_VALUE", // required * // SourceId: "STRING_VALUE", * // UpdatedAt: new Date("TIMESTAMP"), // required * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListRevisionAssetsCommandInput - {@link ListRevisionAssetsCommandInput} * @returns {@link ListRevisionAssetsCommandOutput} * @see {@link ListRevisionAssetsCommandInput} for command's `input` shape. * @see {@link ListRevisionAssetsCommandOutput} for command's `response` shape. * @see {@link DataExchangeClientResolvedConfig | config} for DataExchangeClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An exception occurred with the service.

* * @throws {@link ResourceNotFoundException} (client fault) *

The resource couldn't be found.

* * @throws {@link ThrottlingException} (client fault) *

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

* * @throws {@link ValidationException} (client fault) *

The request was invalid.

* * @throws {@link DataExchangeServiceException} *

Base exception class for all service exceptions from DataExchange service.

* * * @public */ export declare class ListRevisionAssetsCommand extends ListRevisionAssetsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListRevisionAssetsRequest; output: ListRevisionAssetsResponse; }; sdk: { input: ListRevisionAssetsCommandInput; output: ListRevisionAssetsCommandOutput; }; }; }