When you modify the definition of a backend service in an environment, all associated published APIs are updated in a batch. You can 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 |
Task ID |
4e13c3e0c44c4a4ebb5231264eeb9bc1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID |
CEF72CEB-54B6-4AE8-B225-F876FF7BZ016 |
| ApiUpdateBackendResults |
object |
||
| ApiUpdateBackendResult |
array<object> |
API update results |
|
|
object |
API update results |
||
| StageId |
string |
Environment ID |
d8f2f54f3309458b8aaceb36c01c2dd9 |
| UpdateStatus |
string |
API update status |
OVER |
| GroupName |
string |
Group name |
imotob1 |
| GroupId |
string |
Group ID |
3013a55c0c44483f984d26df27120513 |
| ApiUid |
string |
API ID |
14faa7ba0572445685866ddb6a6f19da |
| ErrorMsg |
string |
Error message for failed updates |
Failed |
| StageName |
string |
Environment name |
RELEASE |
| ApiName |
string |
API name |
checkin_linechart_today |
| BackendId |
string |
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.