Skip to content

GetAttributeValuesRequest

Source code in docs_src/capo_pricing/types/get_attribute_values_request.py
class GetAttributeValuesRequest(TypedDict, closed=True):
    service_code: "capo_pricing.types.string.String"
    """<p>The service code for the service whose attributes you want to retrieve. For example, if you want the retrieve an EC2 attribute, use <code>AmazonEC2</code>.</p>"""
    attribute_name: "capo_pricing.types.string.String"
    """<p>The name of the attribute that you want to retrieve the values for, such as <code>volumeType</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.get_attribute_values_max_results.GetAttributeValuesMaxResults"
    ]
    """<p>The maximum number of results to return in response.</p>"""

attribute_name instance-attribute

attribute_name: String

The name of the attribute that you want to retrieve the values for, such as volumeType.

max_results instance-attribute

max_results: NotRequired[GetAttributeValuesMaxResults]

The maximum number of results to return in 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: String

The service code for the service whose attributes you want to retrieve. For example, if you want the retrieve an EC2 attribute, use AmazonEC2.