DescribeMeterImsMpsAiUsage
Queries the MPS-AI usage in IMS. The maximum query range is 31 days, and data from up to 90 days ago can be queried.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:DescribeMeterImsMpsAiUsage |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTs |
integer |
Yes |
The start timestamp, which is a 10-digit UNIX timestamp. Data from up to 90 days ago can be queried. |
1654403036 |
| EndTs |
integer |
Yes |
The end timestamp, which is a 10-digit UNIX timestamp. The maximum query interval is 31 days, which means the interval between this parameter and StartTs cannot exceed 31 days. |
1656995036 |
| Interval |
integer |
Yes |
The time granularity. Valid values:
|
86400 |
| Region |
string |
No |
The region. This parameter does not take effect. By default, the usage across all regions is returned. |
cn-shanghai |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
0622C702-41BE-467E-AF2E-883D4517962E |
| Data |
array<object> |
The MPS-AI metering data in IMS. |
|
|
object |
|||
| Time |
integer |
The start timestamp of the time period, which is a 10-digit UNIX timestamp. |
1656950400 |
| Type |
string |
The AI type. Valid values:
|
Censor |
| Duration |
integer |
The duration, in minutes. |
644 |
Examples
Success response
JSON format
{
"RequestId": "0622C702-41BE-467E-AF2E-883D4517962E",
"Data": [
{
"Time": 1656950400,
"Type": "Censor",
"Duration": 644
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Meter.ParamError | Param Error:%s,Please Check Again. | |
| 500 | Meter.ServerInternalError | The Request Processing Has Failed Due To Some Unknown Error. | |
| 500 | Meter.DataSourceQueryError | Data Source Error:%s,Please Try Again. | |
| 403 | Meter.AuthError | Authentication Failed,Please Try Again. | |
| 502 | Meter.ReadyTsError | Get ReadyTs Failed,Please Try Again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.