ListEventActionsCommand

This operation lists your event actions.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { DataExchangeClient, ListEventActionsCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
// const { DataExchangeClient, ListEventActionsCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
const client = new DataExchangeClient(config);
const input = { // ListEventActionsRequest
  EventSourceId: "STRING_VALUE",
  MaxResults: Number("int"),
  NextToken: "STRING_VALUE",
};
const command = new ListEventActionsCommand(input);
const response = await client.send(command);
// { // ListEventActionsResponse
//   EventActions: [ // ListOfEventActionEntry
//     { // EventActionEntry
//       Action: { // Action
//         ExportRevisionToS3: { // AutoExportRevisionToS3RequestDetails
//           Encryption: { // ExportServerSideEncryption
//             KmsKeyArn: "STRING_VALUE",
//             Type: "STRING_VALUE", // required
//           },
//           RevisionDestination: { // AutoExportRevisionDestinationEntry
//             Bucket: "STRING_VALUE", // required
//             KeyPattern: "STRING_VALUE",
//           },
//         },
//       },
//       Arn: "STRING_VALUE", // required
//       CreatedAt: new Date("TIMESTAMP"), // required
//       Event: { // Event
//         RevisionPublished: { // RevisionPublished
//           DataSetId: "STRING_VALUE", // required
//         },
//       },
//       Id: "STRING_VALUE", // required
//       UpdatedAt: new Date("TIMESTAMP"), // required
//     },
//   ],
//   NextToken: "STRING_VALUE",
// };

ListEventActionsCommand Input

See ListEventActionsCommandInput for more details

Parameter
Type
Description
EventSourceId
string | undefined

The unique identifier for the event source.

MaxResults
number | undefined

The maximum number of results returned by a single call.

NextToken
string | undefined

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

ListEventActionsCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
EventActions
EventActionEntry[] | undefined

The event action objects listed by the request.

NextToken
string | undefined

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

Throws

Name
Fault
Details
InternalServerException
server

An exception occurred with the service.

ResourceNotFoundException
client

The resource couldn't be found.

ThrottlingException
client

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

ValidationException
client

The request was invalid.

DataExchangeServiceException
Base exception class for all service exceptions from DataExchange service.