Modifies the IP whitelist of an RDS AI Assistant Premium Edition instance.
Operation description
Applicable engines
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rdsai:ModifyWhitelistIps |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IpWhitelist |
string |
No |
The IP whitelist. Before modifying this list, call the |
127.0.0.1,192.168.1.0/24 |
| InstanceId |
string |
No |
The instance ID. |
rds_copilot***_public_cn-*********6 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
FE9C65D7-930F-57A5-A207-8C396329241C |
| Success |
boolean |
Indicates whether the request was successful. A value of true indicates success. |
true |
| Message |
string |
The returned message. For a successful request, the message is typically success. |
success |
Examples
Success response
JSON format
{
"RequestId": "FE9C65D7-930F-57A5-A207-8C396329241C",
"Success": true,
"Message": "success"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MoInvalidIpWhitelistError | Invalid IP address or CIDR in whitelist. | |
| 400 | MoDomainNotReadyError | Domain is not ready yet, please try again later. | |
| 400 | InvalidIpWhitelistError | Invalid IP address or CIDR in whitelist. | |
| 403 | InvalidUserOrder | There is no valid order for this UID. | There is no valid order for this UID |
| 404 | MoInstanceMappingNotFoundError | No active instance mapping found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.