Route53Resolver.Paginator.
ListTagsForResource
¶paginator = client.get_paginator('list_tags_for_resource')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Route53Resolver.Client.list_tags_for_resource()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ResourceArn='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) for the resource that you want to list tags for.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
}
Response Structure
(dict) --
Tags (list) --
The tags that are associated with the resource that you specified in the ListTagsForResource
request.
(dict) --
One tag that you want to add to the specified resource. A tag consists of a Key
(a name for the tag) and a Value
.
Key (string) --
The name for the tag. For example, if you want to associate Resolver resources with the account IDs of your customers for billing purposes, the value of Key
might be account-id
.
Value (string) --
The value for the tag. For example, if Key
is account-id
, then Value
might be the ID of the customer account that you're creating the resource for.