Skip to main content

dedicated_ips

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

Overview

Namededicated_ips
TypeResource
Idaws.sesv2.dedicated_ips

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
ipstringAn IPv4 address.
pool_namestringThe name of a dedicated IP pool.
warmup_percentageintegerIndicates the progress of your dedicated IP warm-up: 0-100 – For standard dedicated IP addresses, this shows the warm-up completion percentage. A value of 100 means the IP address is fully warmed up and ready for use. -1 – Appears for IP addresses in managed dedicated pools where Amazon SES automatically handles the warm-up process, making the percentage not applicable.
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. NOT_APPLICABLE – The warm-up status doesn't apply to this IP address. This status is used for IP addresses in managed dedicated IP pools, where Amazon SES automatically handles the warm-up process. (IN_PROGRESS, DONE, NOT_APPLICABLE)

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 Web Services 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 Web Services 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.sesv2.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 Web Services account. The dedicated IP pool you specify must already exist. You can create a new pool by using the CreateDedicatedIpPool operation.

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