Route53GlobalResolver / Client / disassociate_hosted_zone

disassociate_hosted_zone

Route53GlobalResolver.Client.disassociate_hosted_zone(**kwargs)

Disassociates a Route 53 private hosted zone from a Route 53 Global Resolver resource.

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.disassociate_hosted_zone(
    hostedZoneId='string',
    resourceArn='string'
)
Parameters:
  • hostedZoneId (string) –

    [REQUIRED]

    The ID of the Route 53 private hosted zone to disassociate.

  • resourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the Route 53 Global Resolver resource to disassociate the hosted zone from.

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 unique identifier of the disassociation.

    • resourceArn (string) –

      The Amazon Resource Name (ARN) of the Route 53 Global Resolver resource that the hosted zone was disassociated from.

    • hostedZoneId (string) –

      The ID of the Route 53 private hosted zone that was disassociated.

    • hostedZoneName (string) –

      The name of the Route 53 private hosted zone that was disassociated.

    • name (string) –

      The name of the association that was removed.

    • createdAt (datetime) –

      The date and time when the association was originally created.

    • updatedAt (datetime) –

      The date and time when the association was last updated before disassociation.

    • status (string) –

      The final status of the disassociation.

Exceptions

  • Route53GlobalResolver.Client.exceptions.InternalServerException

  • Route53GlobalResolver.Client.exceptions.ValidationException

  • Route53GlobalResolver.Client.exceptions.ConflictException

  • Route53GlobalResolver.Client.exceptions.AccessDeniedException

  • Route53GlobalResolver.Client.exceptions.ThrottlingException

  • Route53GlobalResolver.Client.exceptions.ResourceNotFoundException