Modifies the SSL settings of RDS Supabase instances in batches.
Operation description
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| rdsai:ModifyInstancesSSL | update | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RegionId | string | No | The region ID. | cn-beijing |
| InstanceNames | array | Yes | The information about the RDS Supabase instances that you want to configure. You can specify up to 10 instances. | |
| string | Yes | The RDS Supabase instances that you want to configure. You can specify up to 10 instances. | [ "ra-supabase-xxx", "ra-supabase-xxx" ] | |
| SSLEnabled | integer | Yes | Enables or disables SSL. Valid values:
| 1 |
| CAType | string | No | The certificate type. Only custom is supported. Note
This parameter is required if SSLEnabled is set to 1.
| custom |
| ServerCert | string | No | The content of the custom certificate. Note
This parameter is required if CAType is set to custom.
| -----BEGIN CERTIFICATE-----MIID*****QqEP-----END CERTIFICATE----- |
| ServerKey | string | No | The private key of the certificate. Note
This parameter is required if CAType is set to custom.
| -----BEGIN PRIVATE KEY-----MIIE****ihfg==-----END PRIVATE KEY----- |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "32DEFB4A-xxxx-ADD5-918E4FD7AB8C",
"InstanceNames": [
[
"ra-supabase-xxx",
"ra-supabase-xxx"
]
]
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | IncorrectInstanceState | Current instance status does not support this operation. | The operation is not supported in the current instance state. |
| 400 | InvalidDBInstanceStatus | DB instance status is not valid. | RDS PG instance status is invalid |
| 400 | InvalidGroupName | Specified group name is not valid. | Invalid group name |
| 400 | InvalidParameter | Request parameter validation failed. | Request parameter verification failed |
| 400 | InvalidParameter | The provided parameter is invalid. | Invalid parameter. |
| 400 | MasterInstanceNotExist | Master instance does not exist. | The primary instance does not exist. |
| 400 | PermissionDenied | No valid order found or permission denied. | No valid order found or permission denied. |
| 403 | InsufficientResourceCapacity | There is not enough host resource inventory. | Insufficient resources |
| 403 | PermissionDenied | User has no operation permission. | User has no operation permission |
| 404 | TaskNotFound | The resource of the specified ld does not exist. | The resource of the specified ld does not exist. |
| 404 | UserNotFound | User does not exist. | User does not exist. |
| 429 | TooManyRequests | The current maximum concurrent requests have exceeded the threshold. | The current maximum number of concurrent requests has exceeded the threshold. Purchase a AI package to increase the concurrency limit or reduce the current number of concurrent requests. |
| 500 | InternalError | System internal exception. | System internal exception |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2026-01-23 | Add Operation | View Change Details |
