Route53GlobalResolver / Client / list_access_sources

list_access_sources

Route53GlobalResolver.Client.list_access_sources(**kwargs)

Lists all access sources with pagination support.

See also: AWS API Documentation

Request Syntax

response = client.list_access_sources(
    maxResults=123,
    nextToken='string',
    filters={
        'string': [
            'string',
        ]
    }
)
Parameters:
  • maxResults (integer) – The maximum number of results to retrieve in a single call.

  • nextToken (string) – A pagination token used for large sets of results that can’t be returned in a single response.

  • filters (dict) –

    Values to filter the results.

    • (string) –

      • (list) –

        • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'nextToken': 'string',
    'accessSources': [
        {
            '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) –

    • nextToken (string) –

      A pagination token used for large sets of results that can’t be returned in a single response. Provide this token in the next call to get the results not returned in this call.

    • accessSources (list) –

      An array containing information about the access sources, such as the ID, CIDR etc.

      • (dict) –

        Summary information about an access source.

        • arn (string) –

          The Amazon Resource Name (ARN) of the access source.

        • cidr (string) –

          The CIDR block that defines the IP address range for the access source.

        • createdAt (datetime) –

          The date and time when the access source was created.

        • id (string) –

          The unique identifier of the access source.

        • ipAddressType (string) –

          The IP address type of the access source.

        • name (string) –

          The name of the access source.

        • dnsViewId (string) –

          The ID of the DNS view that the access source is associated with.

        • protocol (string) –

          The protocol used by the access source.

        • status (string) –

          The current status of the access source.

        • updatedAt (datetime) –

          The date and time when the access source was last updated.

Exceptions

  • Route53GlobalResolver.Client.exceptions.InternalServerException

  • Route53GlobalResolver.Client.exceptions.ValidationException

  • Route53GlobalResolver.Client.exceptions.AccessDeniedException

  • Route53GlobalResolver.Client.exceptions.ThrottlingException