Skip to main content

changes

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

Overview

Namechanges
TypeResource
Idaws.route53.changes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
commentstringA comment you can provide.
idstringThis element contains an ID that you use when performing a GetChange action to get detailed information about the change.
statusstringThe current state of the request. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.
submitted_atstringThe date and time that the change request was submitted in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 UTC.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_changeselectid, regionReturns the current status of a change batch request. The status is one of the following values: PENDING indicates that the changes in this request have not propagated to all Amazon Route 53 DNS servers managing the hosted zone. This is the initial status of all change batch requests. INSYNC indicates that the changes have propagated to all Route 53 DNS servers managing the hosted zone.
change_cidr_collectionexeccidr_collection_id, region, ChangesCreates, changes, or deletes CIDR blocks within a collection. Contains authoritative IP information mapping blocks to one or multiple locations. A change request can update multiple locations in a collection at a time, which is helpful if you want to move one or more CIDR blocks from one location to another in one transaction, without downtime. Limits The max number of CIDR blocks included in the request is 1000. As a result, big updates require multiple API calls. PUT and DELETE_IF_EXISTS Use ChangeCidrCollection to perform the following actions: PUT: Create a CIDR block within the specified collection. DELETE_IF_EXISTS: Delete an existing CIDR block from the collection.
change_tags_for_resourceexecresource_type, resource_id, regionAdds, edits, or deletes tags for a health check or a hosted zone. For information about using tags for cost allocation, see Using Cost Allocation Tags in the Billing and Cost Management User Guide.

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
cidr_collection_idstringThe UUID of the CIDR collection to update.
idstringThe ID of the change batch request. The value that you specify here is the value that ChangeResourceRecordSets returned in the Id element when you submitted the request.
regionstringAWS region (default: us-east-1)
resource_idstringThe ID of the resource for which you want to add, change, or delete tags.
resource_typestringThe type of the resource. The resource type for health checks is healthcheck. The resource type for hosted zones is hostedzone.

SELECT examples

Returns the current status of a change batch request. The status is one of the following values: PENDING indicates that the changes in this request have not propagated to all Amazon Route 53 DNS servers managing the hosted zone. This is the initial status of all change batch requests. INSYNC indicates that the changes have propagated to all Route 53 DNS servers managing the hosted zone.

SELECT
comment,
id,
status,
submitted_at
FROM aws.route53.changes
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;

Lifecycle Methods

Creates, changes, or deletes CIDR blocks within a collection. Contains authoritative IP information mapping blocks to one or multiple locations. A change request can update multiple locations in a collection at a time, which is helpful if you want to move one or more CIDR blocks from one location to another in one transaction, without downtime. Limits The max number of CIDR blocks included in the request is 1000. As a result, big updates require multiple API calls. PUT and DELETE_IF_EXISTS Use ChangeCidrCollection to perform the following actions: PUT: Create a CIDR block within the specified collection. DELETE_IF_EXISTS: Delete an existing CIDR block from the collection.

EXEC aws.route53.changes.change_cidr_collection
@cidr_collection_id='{{ cidr_collection_id }}' --required,
@region='{{ region }}' --required
@@json=
'{
"CollectionVersion": {{ CollectionVersion }},
"Changes": "{{ Changes }}"
}'
;