Skip to main content

configuration_set_event_destinations

Creates, updates, deletes, gets or lists a configuration_set_event_destinations resource.

Overview

Nameconfiguration_set_event_destinations
TypeResource
Idaws.sesv2.configuration_set_event_destinations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
event_destinationsarrayAn array that includes all of the events destinations that have been configured for the configuration set.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_configuration_set_event_destinationsselectconfiguration_set_name, regionRetrieve a list of event destinations that are associated with 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.
create_configuration_set_event_destinationinsertconfiguration_set_name, region, EventDestinationName, EventDestinationCreate an event destination. 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. A single configuration set can include more than one event destination.
update_configuration_set_event_destinationupdateconfiguration_set_name, event_destination_name, region, EventDestinationUpdate 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.
delete_configuration_set_event_destinationdeleteconfiguration_set_name, event_destination_name, regionDelete an event destination. 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
configuration_set_namestringThe name of the configuration set that contains the event destination to delete.
event_destination_namestringThe name of the event destination to delete.
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieve a list of event destinations that are associated with 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.

SELECT
event_destinations
FROM aws.sesv2.configuration_set_event_destinations
WHERE configuration_set_name = '{{ configuration_set_name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Create an event destination. 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. A single configuration set can include more than one event destination.

INSERT INTO aws.sesv2.configuration_set_event_destinations (
EventDestinationName,
EventDestination,
configuration_set_name,
region
)
SELECT
'{{ EventDestinationName }}' /* required */,
'{{ EventDestination }}' /* required */,
'{{ configuration_set_name }}',
'{{ region }}'
;

UPDATE examples

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.

UPDATE aws.sesv2.configuration_set_event_destinations
SET
EventDestination = '{{ EventDestination }}'
WHERE
configuration_set_name = '{{ configuration_set_name }}' --required
AND event_destination_name = '{{ event_destination_name }}' --required
AND region = '{{ region }}' --required
AND EventDestination = '{{ EventDestination }}' --required;

DELETE examples

Delete an event destination. 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.

DELETE FROM aws.sesv2.configuration_set_event_destinations
WHERE configuration_set_name = '{{ configuration_set_name }}' --required
AND event_destination_name = '{{ event_destination_name }}' --required
AND region = '{{ region }}' --required
;