Route53GlobalResolver / Client / get_access_source

get_access_source

Route53GlobalResolver.Client.get_access_source(**kwargs)

Retrieves information about 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-2 on Amazon Web Services CLI commands.

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.InternalServerException

  • Route53GlobalResolver.Client.exceptions.ValidationException

  • Route53GlobalResolver.Client.exceptions.AccessDeniedException

  • Route53GlobalResolver.Client.exceptions.ThrottlingException

  • Route53GlobalResolver.Client.exceptions.ResourceNotFoundException