Route53GlobalResolver / Client / update_hosted_zone_association

update_hosted_zone_association

Route53GlobalResolver.Client.update_hosted_zone_association(**kwargs)

Updates the configuration of 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.update_hosted_zone_association(
    hostedZoneAssociationId='string',
    name='string'
)
Parameters:
  • hostedZoneAssociationId (string) –

    [REQUIRED]

    The ID of the private hosted zone association.

  • name (string) – The name you want to update the hosted zone association to.

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) –

      The ID of the private hosted zone association.

    • resourceArn (string) –

      The Amazon Resource Name (ARN) of the private hosted zone association.

    • hostedZoneId (string) –

      The ID of the private hosted zone.

    • hostedZoneName (string) –

      The name of the domain associated with the private hosted zone.

    • name (string) –

      The 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

  • Route53GlobalResolver.Client.exceptions.InternalServerException

  • Route53GlobalResolver.Client.exceptions.ValidationException

  • Route53GlobalResolver.Client.exceptions.ConflictException

  • Route53GlobalResolver.Client.exceptions.ServiceQuotaExceededException

  • Route53GlobalResolver.Client.exceptions.AccessDeniedException

  • Route53GlobalResolver.Client.exceptions.ThrottlingException

  • Route53GlobalResolver.Client.exceptions.ResourceNotFoundException