Applies multiple optimization suggestions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:BatchApplyAdviceByIdList |
update |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the data warehouse cluster. Note
You can call the DescribeDBClusters operation to query the IDs of data warehouse clusters. |
am-uf6g8w25jacm7**** |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| AdviceIdList |
string |
No |
The IDs of the optimization suggestions that you want to apply. Separate multiple IDs with commas (,). |
c2589ff3-e86c-4f19-80c8-2aeb7dd9****,53414470-ebf4-4a53-a312-8a1ad8fd****,6e8dce84-fec8-4b0b-9c04-b0cea12c****,b3b9703d-55ca-47e0-96dd-6a4a9dbf**** |
| AdviceDate |
integer |
No |
The date when the optimization suggestions were generated. Specify the date in the |
20221115 |
| ApplyType |
string |
No |
The action to be applied. |
DROP_INDEX |
| BuildImmediately |
boolean |
No |
Specifies whether to immediately start the build task. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| Message |
string |
The message returned for the request.
|
SUCCESS |
| RequestId |
string |
The request ID. |
86F92D26-B774-5FA1-8E53-82CBEEEBB012 |
Examples
Success response
JSON format
{
"Message": "SUCCESS",
"RequestId": "86F92D26-B774-5FA1-8E53-82CBEEEBB012"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.