Pricing.Paginator.
GetAttributeValues
¶paginator = client.get_paginator('get_attribute_values')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Pricing.Client.get_attribute_values()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ServiceCode='string',
AttributeName='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The service code for the service whose attributes you want to retrieve. For example, if you want the retrieve an EC2 attribute, use AmazonEC2
.
[REQUIRED]
The name of the attribute that you want to retrieve the values for, such as volumeType
.
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
{
'AttributeValues': [
{
'Value': 'string'
},
],
}
Response Structure
(dict) --
AttributeValues (list) --
The list of values for an attribute. For example, Throughput Optimized HDD
and Provisioned IOPS
are two available values for the AmazonEC2
volumeType
.
(dict) --
The values of a given attribute, such as Throughput Optimized HDD
or Provisioned IOPS
for the Amazon EC2
volumeType
attribute.
Value (string) --
The specific value of an attributeName
.