Route53GlobalResolver / Client / update_access_token

update_access_token

Route53GlobalResolver.Client.update_access_token(**kwargs)

Updates the configuration of an access token.

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.update_access_token(
    accessTokenId='string',
    name='string'
)
Parameters:
  • accessTokenId (string) –

    [REQUIRED]

    The ID of the token.

  • name (string) –

    [REQUIRED]

    The new name of the token.

Return type:

dict

Returns:

Response Syntax

{
    'id': 'string',
    'name': 'string'
}

Response Structure

  • (dict) –

    • id (string) –

      The ID of the token.

    • name (string) –

      The name of the token.

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