Route53GlobalResolver / Client / associate_hosted_zone
associate_hosted_zone¶
- Route53GlobalResolver.Client.associate_hosted_zone(**kwargs)¶
Associates a Route 53 private hosted zone with a Route 53 Global Resolver resource. This allows the resolver to resolve DNS queries for the private hosted zone from anywhere globally.
See also: AWS API Documentation
Request Syntax
response = client.associate_hosted_zone( hostedZoneId='string', resourceArn='string', name='string' )
- Parameters:
hostedZoneId (string) –
[REQUIRED]
The ID of the Route 53 private hosted zone to associate with the Route 53 Global Resolver resource.
resourceArn (string) –
[REQUIRED]
An Amazon Resource Name (ARN) of the Route 53 Global Resolver the private hosted zone will be associated to.
name (string) –
[REQUIRED]
Name for 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 association.
resourceArn (string) –
An Amazon Resource Name (ARN) of the Route 53 Global Resolver the private hosted zone is associated to.
hostedZoneId (string) –
ID of the private hosted zone.
hostedZoneName (string) –
Name of the hosted zone (also the domain associated with the hosted zone).
name (string) –
Name for the private hosted zone association.
createdAt (datetime) –
The date and time the private hosted zone association was created.
updatedAt (datetime) –
The date and time the private hosted zone association was modified.
status (string) –
Aggregate status for all the AWS Regions in which the Route 53 Global Resolver exists.
Exceptions
Route53GlobalResolver.Client.exceptions.InternalServerExceptionRoute53GlobalResolver.Client.exceptions.ValidationExceptionRoute53GlobalResolver.Client.exceptions.ConflictExceptionRoute53GlobalResolver.Client.exceptions.ServiceQuotaExceededExceptionRoute53GlobalResolver.Client.exceptions.AccessDeniedExceptionRoute53GlobalResolver.Client.exceptions.ThrottlingExceptionRoute53GlobalResolver.Client.exceptions.ResourceNotFoundException