get_change

Route53.Client.get_change(**kwargs)

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. This is the initial status of all change batch requests.
  • INSYNC indicates that the changes have propagated to all Route 53 DNS servers.

See also: AWS API Documentation

Request Syntax

response = client.get_change(
    Id='string'
)
Parameters
Id (string) --

[REQUIRED]

The 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.

Return type
dict
Returns
Response Syntax
{
    'ChangeInfo': {
        'Id': 'string',
        'Status': 'PENDING'|'INSYNC',
        'SubmittedAt': datetime(2015, 1, 1),
        'Comment': 'string'
    }
}

Response Structure

  • (dict) --

    A complex type that contains the ChangeInfo element.

    • ChangeInfo (dict) --

      A complex type that contains information about the specified change batch.

      • Id (string) --

        This element contains an ID that you use when performing a GetChange action to get detailed information about the change.

      • Status (string) --

        The current state of the request. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.

      • SubmittedAt (datetime) --

        The 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.

      • Comment (string) --

        A comment you can provide.

Exceptions

  • Route53.Client.exceptions.NoSuchChange
  • Route53.Client.exceptions.InvalidInput