Pricing / Paginator / GetAttributeValues
GetAttributeValues#
- class 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' } ) - Parameters:
- ServiceCode (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.
- AttributeName (string) – - [REQUIRED] - The name of the attribute that you want to retrieve the values for, such as - volumeType.
- PaginationConfig (dict) – - A dictionary that provides parameters to control pagination. - MaxItems (integer) – - 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 - NextTokenwill be provided in the output that you can use to resume pagination.
- PageSize (integer) – - The size of each page. 
- StartingToken (string) – - A token to specify where to start paginating. This is the - NextTokenfrom a previous response.
 
 
- Return type:
- dict 
- Returns:
- Response Syntax - { 'AttributeValues': [ { 'Value': 'string' }, ], } - Response Structure - (dict) – - AttributeValues (list) – - The list of values for an attribute. For example, - Throughput Optimized HDDand- Provisioned IOPSare two available values for the- AmazonEC2- volumeType.- (dict) – - The values of a given attribute, such as - Throughput Optimized HDDor- Provisioned IOPSfor the- Amazon EC2- volumeTypeattribute.- Value (string) – - The specific value of an - attributeName.