ListSupportedPricingApis
Lists the OpenAPI operations that currently support price inquiries.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/price/supported-apis HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| nextToken |
string |
No |
The pagination token. Set this parameter to the nextToken value returned in the previous response. Do not specify this parameter for the first call. The current list contains fewer than 100 items and all items are returned on a single page by default. |
AAAAAdDWBF2**** |
| maxResults |
integer |
No |
The maximum number of results to return on each page. Valid values: 1 to 100. Default value: 100. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| supportedApis |
array<object> |
The list of OpenAPI operation identifiers that support price inquiries. Each identifier consists of popCode, popVersion, and apiName. The list is sorted lexicographically by these three fields, in that order. |
|
|
object |
|||
| popCode |
string |
The POP product code, such as Ecs, Rds, or Alb. This code corresponds to the popCode field used in price inquiry. |
Ecs |
| popVersion |
string |
The OpenAPI version number, such as 2014-05-26. |
2014-05-26 |
| apiName |
string |
The OpenAPI operation name in PascalCase, such as RunInstances. |
RunInstances |
| requestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| nextToken |
string |
The token for the next page. If a next page exists, this value is not empty and must be passed to the nextToken field in the next request. If the current page is the last page, this value is an empty string. |
AAAAAdDWBF2**** |
| maxResults |
integer |
The actual maximum number of results returned per page in the current response. This value aligns with the maxResults parameter in the request. Default value: 100. |
100 |
Examples
Success response
JSON format
{
"supportedApis": [
{
"popCode": "Ecs",
"popVersion": "2014-05-26",
"apiName": "RunInstances"
}
],
"requestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"nextToken": "AAAAAdDWBF2****",
"maxResults": 100
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.