Skip to main content

dedicated_ips

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

Overview

Namededicated_ips
TypeResource
Idaws.pinpoint_email.dedicated_ips

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
ipstringA dedicated IP address that is associated with your Amazon Pinpoint account.
pool_namestringThe name of a dedicated IP pool.
warmup_percentageintegerIndicates how complete the dedicated IP warm-up process is. When this value equals 1, the address has completed the warm-up process and is ready for use.
warmup_statusstringThe warm-up status of a dedicated IP address. The status can have one of the following values: IN_PROGRESS – The IP address isn't ready to use because the dedicated IP warm-up process is ongoing. DONE – The dedicated IP warm-up process is complete, and the IP address is ready to use. (IN_PROGRESS, DONE)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_dedicated_ipselectip, regionGet information about a dedicated IP address, including the name of the dedicated IP pool that it's associated with, as well information about the automatic warm-up process for the address.
get_dedicated_ipsselectregionPoolName, NextToken, PageSizeList the dedicated IP addresses that are associated with your Amazon Pinpoint account.
put_dedicated_ip_in_poolreplaceip, region, DestinationPoolNameMove a dedicated IP address to an existing dedicated IP pool. The dedicated IP address that you specify must already exist, and must be associated with your Amazon Pinpoint account. The dedicated IP pool you specify must already exist. You can create a new pool by using the CreateDedicatedIpPool operation.
put_dedicated_ip_warmup_attributesreplaceip, region, WarmupPercentage

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
ipstringThe dedicated IP address that you want to update the warm-up attributes for.
regionstringAWS region (default: us-east-1)
NextTokenstringA token returned from a previous call to GetDedicatedIps to indicate the position of the dedicated IP pool in the list of IP pools.
PageSizeintegerThe number of results to show in a single call to GetDedicatedIpsRequest. 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.
PoolNamestringThe name of the IP pool that the dedicated IP address is associated with.

SELECT examples

Get information about a dedicated IP address, including the name of the dedicated IP pool that it's associated with, as well information about the automatic warm-up process for the address.

SELECT
ip,
pool_name,
warmup_percentage,
warmup_status
FROM aws.pinpoint_email.dedicated_ips
WHERE ip = '{{ ip }}' -- required
AND region = '{{ region }}' -- required
;

REPLACE examples

Move a dedicated IP address to an existing dedicated IP pool. The dedicated IP address that you specify must already exist, and must be associated with your Amazon Pinpoint account. The dedicated IP pool you specify must already exist. You can create a new pool by using the CreateDedicatedIpPool operation.

REPLACE aws.pinpoint_email.dedicated_ips
SET
DestinationPoolName = '{{ DestinationPoolName }}'
WHERE
ip = '{{ ip }}' --required
AND region = '{{ region }}' --required
AND DestinationPoolName = '{{ DestinationPoolName }}' --required;