v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1453830.5 KB

Returns the metadata for one service or a list of the metadata for all services. Use this without a service code to get the service codes for all services. Use it with a service code, such as <code>AmazonEC2</code>, to get information specific to that service, such as the attribute names available for that service. For example, some of the attribute names available for EC2 are <code>volumeType</code>, <code>maxIopsVolume</code>, <code>operation</code>, <code>locationType</code>, and <code>instanceCapacity10xlarge</code>.

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

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'AWSPriceListService.DescribeServices' required

Request body

ServiceCodestring

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.

FormatVersionstring
<p>The format version that you want the response to be in.</p> <p>Valid values are: <code>aws_v1</code> </p>
NextTokenstring

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

MaxResultsinteger

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

Response

Success

FormatVersionstring

The format version of the response. For example, <code>aws_v1</code>.

NextTokenstring

The pagination token for the next set of retrievable results.

Example response

{
  "FormatVersion": "aws_v1",
  "NextToken": "abcdefg123",
  "Services": [
    {
      "AttributeNames": [
        "volumeType",
        "maxIopsvolume",
        "instanceCapacity10xlarge",
        "locationType",
        "operation"
      ],
      "ServiceCode": "AmazonEC2"
    }
  ]
}
All 5 operations