Route53GlobalResolver / Client / delete_access_source

delete_access_source

Route53GlobalResolver.Client.delete_access_source(**kwargs)

Deletes an access source. This operation cannot be undone.

See also: AWS API Documentation

Request Syntax

response = client.delete_access_source(
    accessSourceId='string'
)
Parameters:

accessSourceId (string) –

[REQUIRED]

The unique identifier of the access source to delete.

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 deleted access source.

    • cidr (string) –

      The IP address or CIDR range of the deleted access source.

    • createdAt (datetime) –

      The date and time when the access source was originally created.

    • id (string) –

      The unique identifier of the deleted access source.

    • ipAddressType (string) –

      The IP address type of the deleted access source (IPv4 or IPv6).

    • name (string) –

      The name of the deleted access source.

    • dnsViewId (string) –

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

    • protocol (string) –

      The DNS protocol that was permitted for the deleted access source.

    • status (string) –

      The final status of the deleted access source.

    • updatedAt (datetime) –

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

Exceptions

  • Route53GlobalResolver.Client.exceptions.InternalServerException

  • Route53GlobalResolver.Client.exceptions.ValidationException

  • Route53GlobalResolver.Client.exceptions.ConflictException

  • Route53GlobalResolver.Client.exceptions.AccessDeniedException

  • Route53GlobalResolver.Client.exceptions.ThrottlingException

  • Route53GlobalResolver.Client.exceptions.ResourceNotFoundException