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-2on 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.InternalServerExceptionRoute53GlobalResolver.Client.exceptions.ValidationExceptionRoute53GlobalResolver.Client.exceptions.ConflictExceptionRoute53GlobalResolver.Client.exceptions.ServiceQuotaExceededExceptionRoute53GlobalResolver.Client.exceptions.AccessDeniedExceptionRoute53GlobalResolver.Client.exceptions.ThrottlingExceptionRoute53GlobalResolver.Client.exceptions.ResourceNotFoundException