Route53GlobalResolver / Client / get_access_token
get_access_token¶
- Route53GlobalResolver.Client.get_access_token(**kwargs)¶
Retrieves information about 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-2on Amazon Web Services CLI commands.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
clientTokenhas 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.InternalServerExceptionRoute53GlobalResolver.Client.exceptions.ValidationExceptionRoute53GlobalResolver.Client.exceptions.AccessDeniedExceptionRoute53GlobalResolver.Client.exceptions.ThrottlingExceptionRoute53GlobalResolver.Client.exceptions.ResourceNotFoundException