Queries the number of requests to a dedicated instance within a period of time.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DescribeInstanceQps |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTime |
string |
Yes |
The start time. The time follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ |
2022-02-10T06:03:47Z |
| EndTime |
string |
Yes |
The end time. The time follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ |
2022-03-29T06:25:00Z |
| StageName |
string |
Yes |
The environment in which the API is requested. Valid values:
|
RELEASE |
| InstanceId |
string |
Yes |
The ID of the instance. |
apigateway-bj-6c219f1fd5d4 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CEF72CEB-54B6-4AE8-B225-F876FF7BZ004 |
| InstanceQps |
object |
||
| MonitorItem |
array<object> |
The list of requests sent to the APIs in the instance. |
|
|
object |
|||
| ItemValue |
string |
The number of requests sent to the APIs in the instance. |
500 |
| ItemTime |
string |
The monitoring time. The time follows the ISO 8601 standard. Format: YYYY-MM-DDThh:mm:ssZ |
2022-03-29T06:25:00Z |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BZ004",
"InstanceQps": {
"MonitorItem": [
{
"ItemValue": "500",
"ItemTime": "2022-03-29T06:25:00Z\n"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.