Route53GlobalResolver / Client / delete_access_token

delete_access_token

Route53GlobalResolver.Client.delete_access_token(**kwargs)

Deletes an access token. This operation cannot be undone.

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