UpdateConfigurationSetEventDestination
Update the configuration of an event destination for a configuration set.
Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon EventBridge and associate a rule to send the event to the specified target.
Request Syntax
PUT /v2/email/configuration-sets/ConfigurationSetName
/event-destinations/EventDestinationName
HTTP/1.1
Content-type: application/json
{
"EventDestination": {
"CloudWatchDestination": {
"DimensionConfigurations": [
{
"DefaultDimensionValue": "string
",
"DimensionName": "string
",
"DimensionValueSource": "string
"
}
]
},
"Enabled": boolean
,
"EventBridgeDestination": {
"EventBusArn": "string
"
},
"KinesisFirehoseDestination": {
"DeliveryStreamArn": "string
",
"IamRoleArn": "string
"
},
"MatchingEventTypes": [ "string
" ],
"PinpointDestination": {
"ApplicationArn": "string
"
},
"SnsDestination": {
"TopicArn": "string
"
}
}
}
URI Request Parameters
The request uses the following URI parameters.
- ConfigurationSetName
-
The name of the configuration set that contains the event destination to modify.
Required: Yes
- EventDestinationName
-
The name of the event destination.
Required: Yes
Request Body
The request accepts the following data in JSON format.
- EventDestination
-
An object that defines the event destination.
Type: EventDestinationDefinition object
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
- BadRequestException
-
The input you provided is invalid.
HTTP Status Code: 400
- NotFoundException
-
The resource you attempted to access doesn't exist.
HTTP Status Code: 404
- TooManyRequestsException
-
Too many requests have been made to the operation.
HTTP Status Code: 429
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: