Route53GlobalResolver / Client / get_access_source
get_access_source¶
- Route53GlobalResolver.Client.get_access_source(**kwargs)¶
Retrieves information about an access source.
See also: AWS API Documentation
Request Syntax
response = client.get_access_source( accessSourceId='string' )
- Parameters:
accessSourceId (string) –
[REQUIRED]
The unique identifier of the access source to retrieve.
- 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 access source.
cidr (string) –
The IP range for the rule’s parameters in CIDR notation.
createdAt (datetime) –
The time and date the rule was created.
id (string) –
ID for the rule.
ipAddressType (string) –
The IP address type.
name (string) –
Name for the access source.
dnsViewId (string) –
ID for the DNS view that the rule is associated to.
protocol (string) –
The protocol determines how data is transmitted to a Global Resolver instance.
status (string) –
Information about the status of the rule.
updatedAt (datetime) –
The time and date the access source was updated.
Exceptions
Route53GlobalResolver.Client.exceptions.InternalServerExceptionRoute53GlobalResolver.Client.exceptions.ValidationExceptionRoute53GlobalResolver.Client.exceptions.AccessDeniedExceptionRoute53GlobalResolver.Client.exceptions.ThrottlingExceptionRoute53GlobalResolver.Client.exceptions.ResourceNotFoundException