Queries information about a prediction task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:QueryPredictiveTaskInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| StartTime |
string |
Yes |
The start time of the prediction task. The value is in the ISO 8601 standard and in UTC. Format: yyyy-MM-ddTHH:mmZ. |
2025-12-17T08:00Z |
| EndTime |
string |
Yes |
The end time of the prediction task. The value is in the ISO 8601 standard and in UTC. Format: yyyy-MM-ddTHH:mmZ. |
2025-12-18T08:00Z |
| ScalingRuleId |
string |
Yes |
The ID of the prediction scaling rule. |
asr-bp1dp8yd9f8xxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| TaskInfos |
object |
||
| TaskInfo |
array<object> |
The scheduled task generated by the prediction rule. |
|
|
object |
The scheduled task generated by the prediction rule. |
||
| Time |
string |
The time when the scheduled task is triggered. The value is in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. |
2025-12-17T10:00Z |
| MinValue |
integer |
The minimum size of the scaling group. |
2 |
| MaxValue |
integer |
The maximum size of the scaling group. |
10 |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"TaskInfos": {
"TaskInfo": [
{
"Time": "2025-12-17T10:00Z",
"MinValue": 2,
"MaxValue": 10
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.