Route53GlobalResolver / Client / update_access_source
update_access_source¶
- Route53GlobalResolver.Client.update_access_source(**kwargs)¶
Updates the configuration of an access source.
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-2on Amazon Web Services CLI commands.See also: AWS API Documentation
Request Syntax
response = client.update_access_source( accessSourceId='string', cidr='string', ipAddressType='IPV4'|'IPV6', name='string', protocol='DO53'|'DOH'|'DOT' )
- Parameters:
accessSourceId (string) –
[REQUIRED]
The unique identifier of the access source to update.
cidr (string) – The CIDR block for the access source.
ipAddressType (string) – The IP address type for the access source.
name (string) – The name of the access source.
protocol (string) – The protocol for the access source.
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'cidr': 'string', 'createdAt': datetime(2015, 1, 1), 'id': 'string', 'ipAddressType': 'IPV4'|'IPV6', 'name': 'string', 'dnsViewId': 'string', 'protocol': 'DO53'|'DOH'|'DOT', 'status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'DELETING', 'updatedAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
arn (string) –
The Amazon Resource Name (ARN) of the updated access source.
cidr (string) –
The CIDR block of the updated access source.
createdAt (datetime) –
The date and time when the access source was originally created.
id (string) –
The unique identifier of the updated access source.
ipAddressType (string) –
The IP address type of the updated access source.
name (string) –
The name of the updated access source.
dnsViewId (string) –
The ID of the DNS view associated with the updated access source.
protocol (string) –
The protocol of the updated access source.
status (string) –
The current status of the updated access source.
updatedAt (datetime) –
The date and time when the access source was last updated.
Exceptions
Route53GlobalResolver.Client.exceptions.InternalServerExceptionRoute53GlobalResolver.Client.exceptions.ValidationExceptionRoute53GlobalResolver.Client.exceptions.ConflictExceptionRoute53GlobalResolver.Client.exceptions.ServiceQuotaExceededExceptionRoute53GlobalResolver.Client.exceptions.AccessDeniedExceptionRoute53GlobalResolver.Client.exceptions.ThrottlingExceptionRoute53GlobalResolver.Client.exceptions.ResourceNotFoundException