Route53GlobalResolver / Client / get_access_token

get_access_token

Route53GlobalResolver.Client.get_access_token(**kwargs)

Retrieves information about an access token.

See also: AWS API Documentation

Request Syntax

response = client.get_access_token(
    accessTokenId='string'
)
Parameters:

accessTokenId (string) –

[REQUIRED]

ID of the token.

Return type:

dict

Returns:

Response Syntax

{
    'id': 'string',
    'arn': 'string',
    'clientToken': 'string',
    'createdAt': datetime(2015, 1, 1),
    'dnsViewId': 'string',
    'expiresAt': datetime(2015, 1, 1),
    'globalResolverId': 'string',
    'name': 'string',
    'status': 'CREATING'|'OPERATIONAL'|'DELETING',
    'updatedAt': datetime(2015, 1, 1),
    'value': 'string'
}

Response Structure

  • (dict) –

    • id (string) –

      ID of the token.

    • arn (string) –

      The Amazon Resource Name (ARN) of the token.

    • clientToken (string) –

      A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same clientToken has the same result every time.

    • createdAt (datetime) –

      The time and date the token was created.

    • dnsViewId (string) –

      ID of the DNS view the token is associated to.

    • expiresAt (datetime) –

      The token’s expiration time and date.

    • globalResolverId (string) –

      ID of the Global Resolver.

    • name (string) –

      Name of the token.

    • status (string) –

      The operational status of the token.

    • updatedAt (datetime) –

      The time and date the token was created.

    • value (string) –

      The value of the token.

Exceptions

  • Route53GlobalResolver.Client.exceptions.InternalServerException

  • Route53GlobalResolver.Client.exceptions.ValidationException

  • Route53GlobalResolver.Client.exceptions.AccessDeniedException

  • Route53GlobalResolver.Client.exceptions.ThrottlingException

  • Route53GlobalResolver.Client.exceptions.ResourceNotFoundException