Route53GlobalResolver / Client / update_access_source

update_access_source

Route53GlobalResolver.Client.update_access_source(**kwargs)

Updates the configuration of an access source.

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

  • Route53GlobalResolver.Client.exceptions.ValidationException

  • Route53GlobalResolver.Client.exceptions.ConflictException

  • Route53GlobalResolver.Client.exceptions.ServiceQuotaExceededException

  • Route53GlobalResolver.Client.exceptions.AccessDeniedException

  • Route53GlobalResolver.Client.exceptions.ThrottlingException

  • Route53GlobalResolver.Client.exceptions.ResourceNotFoundException