Skip to main content

dedicated_ip_pools

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

Overview​

Namededicated_ip_pools
TypeResource
Idaws.pinpoint_email.dedicated_ip_pools

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
dedicated_ip_poolstringA list of all of the dedicated IP pools that are associated with your Amazon Pinpoint account.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_dedicated_ip_poolsselectregionNextToken, PageSizeList all of the dedicated IP pools that exist in your Amazon Pinpoint account in the current AWS 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 Pinpoint account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, Amazon Pinpoint sends it using only the IP addresses in the associated pool.
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​

List all of the dedicated IP pools that exist in your Amazon Pinpoint account in the current AWS Region.

SELECT
dedicated_ip_pool
FROM aws.pinpoint_email.dedicated_ip_pools
WHERE region = '{{ region }}' -- required
AND NextToken = '{{ NextToken }}'
AND PageSize = '{{ PageSize }}'
;

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 Pinpoint account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, Amazon Pinpoint sends it using only the IP addresses in the associated pool.

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

DELETE examples​

Delete a dedicated IP pool.

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