dedicated_ip_pools
Creates, updates, deletes, gets or lists a dedicated_ip_pools resource.
Overview
| Name | dedicated_ip_pools |
| Type | Resource |
| Id | aws.pinpoint_email.dedicated_ip_pools |
Fields
The following fields are returned by SELECT queries:
- list_dedicated_ip_pools
| Name | Datatype | Description |
|---|---|---|
dedicated_ip_pool | string | A 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_dedicated_ip_pools | select | region | NextToken, PageSize | List all of the dedicated IP pools that exist in your Amazon Pinpoint account in the current AWS Region. |
create_dedicated_ip_pool | insert | region, PoolName | 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. | |
delete_dedicated_ip_pool | delete | pool_name, region | Delete 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.
| Name | Datatype | Description |
|---|---|---|
pool_name | string | The name of the dedicated IP pool that you want to delete. |
region | string | AWS region (default: us-east-1) |
NextToken | string | A token returned from a previous call to ListDedicatedIpPools to indicate the position in the list of dedicated IP pools. |
PageSize | integer | The 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_dedicated_ip_pools
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_dedicated_ip_pool
- Manifest
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 }}'
;
# Description fields are for documentation purposes
- name: dedicated_ip_pools
props:
- name: region
value: "{{ region }}"
description: Required parameter for the dedicated_ip_pools resource.
- name: PoolName
value: "{{ PoolName }}"
description: |
The name of a dedicated IP pool.
- name: Tags
value:
- Key: "{{ Key }}"
Value: "{{ Value }}"
DELETE examples
- delete_dedicated_ip_pool
Delete a dedicated IP pool.
DELETE FROM aws.pinpoint_email.dedicated_ip_pools
WHERE pool_name = '{{ pool_name }}' --required
AND region = '{{ region }}' --required
;