APIGateway.Paginator.
GetUsagePlanKeys
¶paginator = client.get_paginator('get_usage_plan_keys')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from APIGateway.Client.get_usage_plan_keys()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
usagePlanId='string',
nameQuery='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.
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
{
'items': [
{
'id': 'string',
'type': 'string',
'value': 'string',
'name': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.
items (list) --
The current page of elements from this collection.
(dict) --
Represents a usage plan key to identify a plan customer.
id (string) --
The Id of a usage plan key.
type (string) --
The type of a usage plan key. Currently, the valid key type is API_KEY
.
value (string) --
The value of a usage plan key.
name (string) --
The name of a usage plan key.
NextToken (string) --
A token to resume pagination.