Queries details about command execution.
Operation description
- After you execute a command, the command may not succeed or return the expected results. You can call this operation to query the actual execution results.
- You can query the execution results that were generated within the last two weeks. Up to 100,000 entries of execution results can be retained.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the simple application server. You can call the ListRegions operation to query the most recent region list. | cn-hangzhou |
InstanceId | string | Yes | The ID of the simple application server. | 3a658ca270df4df39f22e289b338**** |
PageNumber | integer | No | The page number. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | No | The number of entries per page. Maximum value: 50. Default value: 10. | 10 |
InvokeStatus | string | No | The status of the command execution. Valid values:
| Finished |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "30637AD6-D977-4833-A54C-CC89483E****",
"Invocations": [
{
"CreationTime": "2022-07-11T06:37:16Z",
"InvocationStatus": "Success",
"CommandType": "RunShellScript",
"CommandContent": "bHM=",
"Parameters": {},
"InvokeStatus": "Finished",
"InvokeId": "t-hz02p9545t6****",
"CommandName": "testname"
}
],
"PageSize": 10,
"PageNumber": 1,
"TotalCount": 10
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history