v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1453830.5 KB

Returns a list of attribute values. Attributes are similar to the details in a Price List API offer file. For a list of available attributes, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#pps-defs">Offer File Definitions</a> in the <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html">Billing and Cost Management User Guide</a>.

post/#X-Amz-Target=AWSPriceListService.GetAttributeValues

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'AWSPriceListService.GetAttributeValues' required

Request body

ServiceCodestring required

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>.

AttributeNamestring required

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

NextTokenstring

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

MaxResultsinteger

The maximum number of results to return in response.

Response

Success

NextTokenstring

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

Example response

{
  "AttributeValues": [
    {
      "Value": "Throughput Optimized HDD"
    },
    {
      "Value": "Provisioned IOPS"
    }
  ],
  "NextToken": "GpgauEXAMPLEezucl5LV0w==:7GzYJ0nw0DBTJ2J66EoTIIynE6O1uXwQtTRqioJzQadBnDVgHPzI1en4BUQnPCLpzeBk9RQQAWaFieA4+DapFAGLgk+Z/9/cTw9GldnPOHN98+FdmJP7wKU3QQpQ8MQr5KOeBkIsAqvAQYdL0DkL7tHwPtE5iCEByAmg9gcC/yBU1vAOsf7R3VaNN4M5jMDv3woSWqASSIlBVB6tgW78YL22KhssoItM/jWW+aP6Jqtq4mldxp/ct6DWAl+xLFwHU/CbketimPPXyqHF3/UXDw=="
}