ResourceGroupsTaggingAPI / Client / get_tag_keys
get_tag_keys#
- ResourceGroupsTaggingAPI.Client.get_tag_keys(**kwargs)#
Returns all tag keys currently in use in the specified Amazon Web Services Region for the calling account.
This operation supports pagination, where the response can be sent in multiple pages. You should check the
PaginationToken
response parameter to determine if there are additional results available to return. Repeat the query, passing thePaginationToken
response parameter value as an input to the next request until you recieve anull
value. A null value forPaginationToken
indicates that there are no more results waiting to be returned.See also: AWS API Documentation
Request Syntax
response = client.get_tag_keys( PaginationToken='string' )
- Parameters:
PaginationToken (string) – Specifies a
PaginationToken
response value from a previous request to indicate that you want the next page of results. Leave this parameter empty in your initial request.- Return type:
dict
- Returns:
Response Syntax
{ 'PaginationToken': 'string', 'TagKeys': [ 'string', ] }
Response Structure
(dict) –
PaginationToken (string) –
A string that indicates that there is more data available than this response contains. To receive the next part of the response, specify this response value as the
PaginationToken
value in the request for the next page.TagKeys (list) –
A list of all tag keys in the Amazon Web Services account.
(string) –
Exceptions
ResourceGroupsTaggingAPI.Client.exceptions.InvalidParameterException
ResourceGroupsTaggingAPI.Client.exceptions.ThrottledException
ResourceGroupsTaggingAPI.Client.exceptions.InternalServiceException
ResourceGroupsTaggingAPI.Client.exceptions.PaginationTokenExpiredException