Skip to content

DescribeServicesRequest

Source code in docs_src/capo_pricing/types/describe_services_request.py
class DescribeServicesRequest(TypedDict, closed=True):
    service_code: NotRequired["capo_pricing.types.string.String"]
    """<p>The code for the service whose information you want to retrieve, such as <code>AmazonEC2</code>. You can use the <code>ServiceCode</code> to filter the results in a <code>GetProducts</code> call. To retrieve a list of all services, leave this blank.</p>"""
    format_version: NotRequired["capo_pricing.types.format_version.FormatVersion"]
    """<p>The format version that you want the response to be in.</p> <p>Valid values are: <code>aws_v1</code> </p>"""
    next_token: NotRequired["capo_pricing.types.string.String"]
    """<p>The pagination token that indicates the next set of results that you want to retrieve.</p>"""
    max_results: NotRequired[
        "capo_pricing.types.describe_services_max_results.DescribeServicesMaxResults"
    ]
    """<p>The maximum number of results that you want returned in the response.</p>"""

format_version instance-attribute

format_version: NotRequired[FormatVersion]

The format version that you want the response to be in.

Valid values are: aws_v1

max_results instance-attribute

max_results: NotRequired[DescribeServicesMaxResults]

The maximum number of results that you want returned in the response.

next_token instance-attribute

next_token: NotRequired[String]

The pagination token that indicates the next set of results that you want to retrieve.

service_code instance-attribute

service_code: NotRequired[String]

The code for the service whose information you want to retrieve, such as AmazonEC2. You can use the ServiceCode to filter the results in a GetProducts call. To retrieve a list of all services, leave this blank.