Route53GlobalResolver / Client / delete_access_token

delete_access_token

Route53GlobalResolver.Client.delete_access_token(**kwargs)

Deletes an access token. This operation cannot be undone.

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.delete_access_token(
    accessTokenId='string'
)
Parameters:

accessTokenId (string) –

[REQUIRED]

The unique identifier of the access token to delete.

Return type:

dict

Returns:

Response Syntax

{
    'id': 'string',
    'status': 'CREATING'|'OPERATIONAL'|'DELETING',
    'deletedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • id (string) –

      The unique identifier of the deleted access token.

    • status (string) –

      The final status of the deleted access token.

    • deletedAt (datetime) –

      The date and time when the access token was deleted.

Exceptions

  • Route53GlobalResolver.Client.exceptions.InternalServerException

  • Route53GlobalResolver.Client.exceptions.ValidationException

  • Route53GlobalResolver.Client.exceptions.AccessDeniedException

  • Route53GlobalResolver.Client.exceptions.ThrottlingException

  • Route53GlobalResolver.Client.exceptions.ResourceNotFoundException