Queries the whitelist of an RDS AI Assistant Ultimate Edition instance.
Operation description
Applicable engine
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rdsai:DescribeWhitelistIps |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
The instance ID. |
rds_copilot****_public_cn-4****02 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
FE9C65D7-930F-57A5-A207-8C396329**** |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Message |
string |
The response message. |
success |
| Data |
object |
The response data. |
|
| IpWhitelist |
string |
The IP address list. |
127.0.0.1,192.168.1.0/24 |
| Domain |
string |
The domain name. |
www.test123.com |
Examples
Success response
JSON format
{
"RequestId": "FE9C65D7-930F-57A5-A207-8C396329****",
"Success": true,
"Message": "success",
"Data": {
"IpWhitelist": "127.0.0.1,192.168.1.0/24",
"Domain": "www.test123.com"
}
}
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. | |
| 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.