ModifyAppInstance
Modifies the modules of an RDS AI application instance.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rdsai:ModifyAppInstance |
update |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
| InstanceName |
string |
No |
The instance ID of the AI application. |
ra-8moov5lxba**** |
| Components |
array<object> |
No |
The list of modules. |
|
|
object |
No |
The list of modules. |
||
| Type |
string |
No |
The module type. Valid values:
|
supabase |
| Status |
string |
No |
The module status. Valid values:
|
enable |
| ClientToken |
string |
No |
The idempotency parameter. |
ETnLKlblzczshOTUbOCz**** |
| BranchName |
string |
No |
The reserved parameter. |
Reserved parameter |
| InstanceClass |
string |
No |
The instance type. Only rdsai.supabase.basic is supported. |
rdsai.supabase.basic |
| DBInstanceName |
string |
No |
The instance ID of the ApsaraDB RDS for PostgreSQL database connected to the AI application. Important Only newly purchased empty ApsaraDB RDS for PostgreSQL instances are supported. The major engine version must be 17, and the minor engine version must be 20250630 or later. |
pgm-2ze49qv594vi**** |
| MigrationMode |
string |
No |
The reserved parameter. |
Reserved parameter |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
FE9C65D7-930F-57A5-A207-8C396329**** |
| InstanceName |
string |
The instance ID of the AI application. |
ra-8moov5lxba**** |
| BranchName |
string |
The reserved parameter. |
Reserved parameter |
| Components |
array<object> |
The list of modules. |
|
|
object |
The list of modules. |
||
| Type |
string |
The module type. |
supabase |
| Status |
string |
The module status. |
enable |
| TargetInstanceName |
string |
The reserved parameter. |
Reserved parameter |
Examples
Success response
JSON format
{
"RequestId": "FE9C65D7-930F-57A5-A207-8C396329****",
"InstanceName": "ra-8moov5lxba****",
"BranchName": "Reserved parameter",
"Components": [
{
"Type": "supabase",
"Status": "enable"
}
],
"TargetInstanceName": "Reserved parameter"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. | The request parameters for the same client token are inconsistent. |
| 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 | InvalidParam | The provided parameter is invalid. | Invalid parameter |
| 400 | InvalidParameter | Request parameter validation failed. | Request parameter verification failed |
| 400 | InvalidParameter.%s | %s. | Invalid parameter |
| 400 | MasterInstanceNotExist | Master instance does not exist. | The primary instance does not exist. |
| 400 | OperationDenied | The requested operation cannot be performed. | The requested operation cannot be performed. Check the request parameters and verify that your account has access to the resource. |
| 403 | InsufficientResourceCapacity | There is not enough host resource inventory. | Insufficient resources |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.