Skip to main content

multi_region_endpoints

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

Overview

Namemulti_region_endpoints
TypeResource
Idaws.sesv2.multi_region_endpoints

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_timestampstring (date-time)The time stamp of when the multi-region endpoint (global-endpoint) was created.
endpoint_idstringThe ID of the multi-region endpoint (global-endpoint).
endpoint_namestringThe name of the multi-region endpoint (global-endpoint). (pattern: <code>^[\w-_]+$</code>)
last_updated_timestampstring (date-time)The time stamp of when the multi-region endpoint (global-endpoint) was last updated.
routesarrayContains routes information for the multi-region endpoint (global-endpoint).
statusstringThe status of the multi-region endpoint (global-endpoint). CREATING – The resource is being provisioned. READY – The resource is ready to use. FAILED – The resource failed to be provisioned. DELETING – The resource is being deleted as requested. (CREATING, READY, FAILED, DELETING)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_multi_region_endpointselectendpoint_name, regionDisplays the multi-region endpoint (global-endpoint) configuration. Only multi-region endpoints (global-endpoints) whose primary region is the AWS-Region where operation is executed can be displayed.
list_multi_region_endpointsselectregionNextToken, PageSizeList the multi-region endpoints (global-endpoints). Only multi-region endpoints (global-endpoints) whose primary region is the AWS-Region where operation is executed will be listed.
create_multi_region_endpointinsertregion, EndpointName, DetailsCreates a multi-region endpoint (global-endpoint). The primary region is going to be the AWS-Region where the operation is executed. The secondary region has to be provided in request's parameters. From the data flow standpoint there is no difference between primary and secondary regions - sending traffic is divided between the two. The primary region is the region where the resource has been created and where it can be managed.
delete_multi_region_endpointdeleteendpoint_name, regionDeletes a multi-region endpoint (global-endpoint). Only multi-region endpoints (global-endpoints) whose primary region is the AWS-Region where operation is executed can be deleted.

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
endpoint_namestringThe name of the multi-region endpoint (global-endpoint) to be deleted.
regionstringAWS region (default: us-east-1)
NextTokenstringA token returned from a previous call to ListMultiRegionEndpoints to indicate the position in the list of multi-region endpoints (global-endpoints).
PageSizeintegerThe number of results to show in a single call to ListMultiRegionEndpoints. If the number of results is larger than the number you specified in this parameter, the response includes a NextToken element that you can use to retrieve the next page of results.

SELECT examples

Displays the multi-region endpoint (global-endpoint) configuration. Only multi-region endpoints (global-endpoints) whose primary region is the AWS-Region where operation is executed can be displayed.

SELECT
created_timestamp,
endpoint_id,
endpoint_name,
last_updated_timestamp,
routes,
status
FROM aws.sesv2.multi_region_endpoints
WHERE endpoint_name = '{{ endpoint_name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a multi-region endpoint (global-endpoint). The primary region is going to be the AWS-Region where the operation is executed. The secondary region has to be provided in request's parameters. From the data flow standpoint there is no difference between primary and secondary regions - sending traffic is divided between the two. The primary region is the region where the resource has been created and where it can be managed.

INSERT INTO aws.sesv2.multi_region_endpoints (
EndpointName,
Details,
Tags,
region
)
SELECT
'{{ EndpointName }}' /* required */,
'{{ Details }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
endpoint_id,
status
;

DELETE examples

Deletes a multi-region endpoint (global-endpoint). Only multi-region endpoints (global-endpoints) whose primary region is the AWS-Region where operation is executed can be deleted.

DELETE FROM aws.sesv2.multi_region_endpoints
WHERE endpoint_name = '{{ endpoint_name }}' --required
AND region = '{{ region }}' --required
;