Route53GlobalResolver / Client / get_hosted_zone_association

get_hosted_zone_association

Route53GlobalResolver.Client.get_hosted_zone_association(**kwargs)

Retrieves information about a hosted zone association.

Warning

Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify --region us-east-2 on Amazon Web Services CLI commands.

See also: AWS API Documentation

Request Syntax

response = client.get_hosted_zone_association(
    hostedZoneAssociationId='string'
)
Parameters:

hostedZoneAssociationId (string) –

[REQUIRED]

ID of the private hosted zone association.

Return type:

dict

Returns:

Response Syntax

{
    'id': 'string',
    'resourceArn': 'string',
    'hostedZoneId': 'string',
    'hostedZoneName': 'string',
    'name': 'string',
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1),
    'status': 'CREATING'|'OPERATIONAL'|'DELETING'
}

Response Structure

  • (dict) –

    • id (string) –

      ID of the private hosted zone association.

    • resourceArn (string) –

      Amazon Resource Name (ARN) of the DNS view the private hosted zone is associated to.

    • hostedZoneId (string) –

      ID of the hosted zone associated to the DNS view.

    • hostedZoneName (string) –

      Name of the domain associated with the private hosted zone.

    • name (string) –

      Name of the private hosted zone association.

    • createdAt (datetime) –

      The time and date the private hosted zone association was created.

    • updatedAt (datetime) –

      The time and date the private hosted zone association was updated.

    • status (string) –

      The operational status of the private hosted zone association.

Exceptions