When you modify the definition of a backend service in an environment, the associated published APIs are updated in batches. You can call this operation to query the results of the update.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DescribeUpdateBackendTask |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OperationUid |
string |
Yes |
The task ID. |
4e13c3e0c44c4a4ebb5231264eeb9bc1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
CEF72CEB-54B6-4AE8-B225-F876FF7BZ016 |
| ApiUpdateBackendResults |
object |
||
| ApiUpdateBackendResult |
array<object> |
The update results for the APIs. |
|
|
object |
The update result for an API. |
||
| StageId |
string |
The ID of the environment. |
d8f2f54f3309458b8aaceb36c01c2dd9 |
| UpdateStatus |
string |
The update status of the API. |
OVER |
| GroupName |
string |
The group name. |
imotob1 |
| GroupId |
string |
The group ID. |
3013a55c0c44483f984d26df27120513 |
| ApiUid |
string |
The API ID. |
14faa7ba0572445685866ddb6a6f19da |
| ErrorMsg |
string |
The error message returned if the update failed. |
Failed |
| StageName |
string |
The environment name. |
RELEASE |
| ApiName |
string |
The API name. |
checkin_linechart_today |
| BackendId |
string |
The backend service ID. |
c09b078bcb8f4ade9677bd8b18cdf43f |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BZ016",
"ApiUpdateBackendResults": {
"ApiUpdateBackendResult": [
{
"StageId": "d8f2f54f3309458b8aaceb36c01c2dd9",
"UpdateStatus": "OVER",
"GroupName": "imotob1",
"GroupId": "3013a55c0c44483f984d26df27120513",
"ApiUid": "14faa7ba0572445685866ddb6a6f19da",
"ErrorMsg": "Failed",
"StageName": "RELEASE",
"ApiName": "checkin_linechart_today",
"BackendId": "c09b078bcb8f4ade9677bd8b18cdf43f"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.