Pricing.Paginator.
DescribeServices
¶paginator = client.get_paginator('describe_services')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Pricing.Client.describe_services()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ServiceCode='string',
FormatVersion='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
AmazonEC2
. You can use the ServiceCode
to filter the results in a GetProducts
call. To retrieve a list of all services, leave this blank.The format version that you want the response to be in.
Valid values are: aws_v1
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
{
'Services': [
{
'ServiceCode': 'string',
'AttributeNames': [
'string',
]
},
],
'FormatVersion': 'string',
}
Response Structure
(dict) --
Services (list) --
The service metadata for the service or services in the response.
(dict) --
The metadata for a service, such as the service code and available attribute names.
ServiceCode (string) --
The code for the Amazon Web Services service.
AttributeNames (list) --
The attributes that are available for this service.
FormatVersion (string) --
The format version of the response. For example, aws_v1
.