Skip to main content

dedicated_ip_pools

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

Overview

Namededicated_ip_pools
TypeResource
Idaws.sesv2.dedicated_ip_pools

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
pool_namestringThe name of a dedicated IP pool.
scaling_modestringThe type of the dedicated IP pool. STANDARD – A dedicated IP pool where you can control which IPs are part of the pool. MANAGED – A dedicated IP pool where the reputation and number of IPs are automatically managed by Amazon SES. (STANDARD, MANAGED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_dedicated_ip_poolselectpool_name, regionRetrieve information about the dedicated pool.
list_dedicated_ip_poolsselectregionNextToken, PageSizeList all of the dedicated IP pools that exist in your Amazon Web Services account in the current Region.
create_dedicated_ip_poolinsertregion, PoolNameCreate a new pool of dedicated IP addresses. A pool can include one or more dedicated IP addresses that are associated with your Amazon Web Services account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, the message is sent from one of the addresses in the associated pool.
put_dedicated_ip_pool_scaling_attributesreplacepool_name, region, ScalingModeUsed to convert a dedicated IP pool to a different scaling mode. MANAGED pools cannot be converted to STANDARD scaling mode.
delete_dedicated_ip_pooldeletepool_name, regionDelete a dedicated IP pool.

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
pool_namestringThe name of the dedicated IP pool that you want to delete.
regionstringAWS region (default: us-east-1)
NextTokenstringA token returned from a previous call to ListDedicatedIpPools to indicate the position in the list of dedicated IP pools.
PageSizeintegerThe number of results to show in a single call to ListDedicatedIpPools. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results.

SELECT examples

Retrieve information about the dedicated pool.

SELECT
pool_name,
scaling_mode
FROM aws.sesv2.dedicated_ip_pools
WHERE pool_name = '{{ pool_name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Create a new pool of dedicated IP addresses. A pool can include one or more dedicated IP addresses that are associated with your Amazon Web Services account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, the message is sent from one of the addresses in the associated pool.

INSERT INTO aws.sesv2.dedicated_ip_pools (
PoolName,
Tags,
ScalingMode,
region
)
SELECT
'{{ PoolName }}' /* required */,
'{{ Tags }}',
'{{ ScalingMode }}',
'{{ region }}'
;

REPLACE examples

Used to convert a dedicated IP pool to a different scaling mode. MANAGED pools cannot be converted to STANDARD scaling mode.

REPLACE aws.sesv2.dedicated_ip_pools
SET
ScalingMode = '{{ ScalingMode }}'
WHERE
pool_name = '{{ pool_name }}' --required
AND region = '{{ region }}' --required
AND ScalingMode = '{{ ScalingMode }}' --required;

DELETE examples

Delete a dedicated IP pool.

DELETE FROM aws.sesv2.dedicated_ip_pools
WHERE pool_name = '{{ pool_name }}' --required
AND region = '{{ region }}' --required
;