---
title: "PATCH /v1/event-actions/{EventActionId}"
method: PATCH
path: "/v1/event-actions/{EventActionId}"
---

# PATCH /v1/event-actions/{EventActionId}

`PATCH /v1/event-actions/{EventActionId}`

This operation updates the event action.

## Path parameters

- `EventActionId` string, required

## Request body

- object
  - `Action` object — What occurs after a certain event.
    - `ExportRevisionToS3` object — Details for the export revision to Amazon S3 action.
      - `Encryption` object — Encryption configuration for the auto export job.
        - `KmsKeyArn` string — The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.
        - `Type` 'aws:kms' | 'AES256', required — The type of server side encryption used for encrypting the objects in Amazon S3.
      - `RevisionDestination` object, required — A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.
        - `Bucket` string, required — The Amazon S3 bucket that is the destination for the event action.
        - `KeyPattern` string — A string representing the pattern for generated names of the individual assets in the revision. For more information about key patterns, see <a href="https://docs.aws.amazon.com/data-exchange/latest/userguide/jobs.html#revision-export-keypatterns">Key patterns when exporting revisions</a>.

## Response `200`

Success

- UpdateEventActionResponse
  - `Action` object — What occurs after a certain event.
    - `ExportRevisionToS3` object — Details for the export revision to Amazon S3 action.
      - `Encryption` object — Encryption configuration for the auto export job.
        - `KmsKeyArn` string — The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.
        - `Type` 'aws:kms' | 'AES256', required — The type of server side encryption used for encrypting the objects in Amazon S3.
      - `RevisionDestination` object, required — A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.
        - `Bucket` string, required — The Amazon S3 bucket that is the destination for the event action.
        - `KeyPattern` string — A string representing the pattern for generated names of the individual assets in the revision. For more information about key patterns, see <a href="https://docs.aws.amazon.com/data-exchange/latest/userguide/jobs.html#revision-export-keypatterns">Key patterns when exporting revisions</a>.
  - `Arn` string — The ARN for the event action.
  - `CreatedAt` string, date-time — The date and time that the event action was created, in ISO 8601 format.
  - `Event` object — What occurs to start an action.
    - `RevisionPublished` object — What occurs to start the revision publish action.
      - `DataSetId` string, required — The data set ID of the published revision.
  - `Id` string — The unique identifier for the event action.
  - `UpdatedAt` string, date-time — The date and time that the event action was last updated, in ISO 8601 format.

## Other responses

- `480` — ResourceNotFoundException
- `481` — ThrottlingException
- `482` — AccessDeniedException
- `483` — ValidationException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/dataexchange.md) · [All operations](https://skmtc.net/aws/apis/dataexchange/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/dataexchange/versions/8430cce2f89e/schema)
