UpdateAiAppScanStatus
Updates the scan status of AI applications.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-greenweb:UpdateAiAppScanStatus |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppIds |
string |
Yes |
The application IDs. |
10d74f5b-6edf-4826-a989-de03463e479d |
| Status |
string |
Yes |
The status. Valid values: enable: Enabled. disable: Disabled. Valid values:
|
enable |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PortalResponse |
||
| RequestId |
string |
The ID assigned by the backend to uniquely identify a request. You can use this ID to troubleshoot issues. |
AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE**** |
| Status |
string |
The status. Valid values:
|
Success |
| SuccessAppIds |
array |
The list of successful application IDs. |
|
|
string |
The successful application ID. |
app_id_1 |
|
| FailedAppIds |
array |
The list of failed application IDs. |
|
|
string |
The list of failed application IDs. |
app_id_2 |
Examples
Success response
JSON format
{
"RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****",
"Status": "Success",
"SuccessAppIds": [
"app_id_1"
],
"FailedAppIds": [
"app_id_2"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.%s | %s. | The request parameters are invalid. Please check the parameter values or value ranges and try again. |
| 400 | MissingParameter.%s | %s. | The request is missing required parameters. Please provide them and try again. |
| 400 | OperationFailed | %s. | Request processing failed, please try again later. If the problem is not resolved, contact technical support and provide RequestId. |
| 400 | ResourceNotFound.%s | %s. | The requested resource does not exist. Please check the resource information and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.