Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

CreateEventAction - AWS Data Exchange

CreateEventAction

This operation creates an event action.

Request Syntax

POST /v1/event-actions HTTP/1.1 Content-type: application/json { "Action": { "ExportRevisionToS3": { "Encryption": { "KmsKeyArn": "string", "Type": "string" }, "RevisionDestination": { "Bucket": "string", "KeyPattern": "string" } } }, "Event": { "RevisionPublished": { "DataSetId": "string" } } }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

Action

What occurs after a certain event.

Type: Action object

Required: Yes

Event

What occurs to start an action.

Type: Event object

Required: Yes

Response Syntax

HTTP/1.1 201 Content-type: application/json { "Action": { "ExportRevisionToS3": { "Encryption": { "KmsKeyArn": "string", "Type": "string" }, "RevisionDestination": { "Bucket": "string", "KeyPattern": "string" } } }, "Arn": "string", "CreatedAt": "string", "Event": { "RevisionPublished": { "DataSetId": "string" } }, "Id": "string", "UpdatedAt": "string" }

Response Elements

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

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

Action

What occurs after a certain event.

Type: Action object

Arn

The ARN for the event action.

Type: String

CreatedAt

The date and time that the event action was created, in ISO 8601 format.

Type: Timestamp

Event

What occurs to start an action.

Type: Event object

Id

The unique identifier for the event action.

Type: String

UpdatedAt

The date and time that the event action was last updated, in ISO 8601 format.

Type: Timestamp

Errors

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

AccessDeniedException

Access to the resource is denied.

HTTP Status Code: 403

InternalServerException

An exception occurred with the service.

HTTP Status Code: 500

ServiceLimitExceededException

The request has exceeded the quotas imposed by the service.

HTTP Status Code: 402

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:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.