ModifyDBInstanceSpec

更新时间:
复制 MD 格式

Modifies the specifications and storage capacity of an ApsaraDB RDS instance.

Operation description

Applicable Engines

  • RDS MySQL

  • RDS PostgreSQL

  • RDS SQL Server

  • RDS MariaDB

Billing

This operation involves configuration change fees. Read the relevant feature documentation before you proceed.

Related Documentation

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

rds:ModifyDBInstanceSpec

update

*DBInstance

acs:rds:{#regionId}:{#accountId}:dbinstance/{#dbinstanceId}

  • rds:ResourceTag

  • rds:ResourceTag

  • rds:ResourceTag

None

Request parameters

Parameter

Type

Required

Description

Example

DBInstanceId

string

Yes

The instance ID. You can call DescribeDBInstances to obtain it.

rm-uf6wjk5****

DBInstanceClass

string

No

The target instance type. You can call DescribeAvailableClasses to query the instance types to which the instance can be changed.

Note
  • At least one of this parameter and DBInstanceStorage must be specified.

  • You can call DescribeDBInstanceAttribute to query the current instance type.

mysql.n8.large.2c

DBInstanceStorage

integer

No

The target storage capacity in GB. You can call DescribeAvailableClasses to query the available storage capacity range for the target instance type.

Note
  • At least one of this parameter and DBInstanceClass must be specified.

  • You can call DescribeDBInstanceAttribute to query the current storage capacity of the instance.

100

PayType

string

No

The current billing method of the instance. Valid values:

  • Postpaid: pay-as-you-go.

  • Prepaid: subscription.

  • Serverless (not supported for MariaDB instances): Serverless billing.

Note

To change to the Serverless type, you must configure the auto-start/stop (AutoPause), scaling range (MaxCapacity, MinCapacity), and elasticity policy (SwitchForce) parameters. For more information, see Overview of MySQL Serverless instances, Overview of SQL Server Serverless instances, and Overview of PostgreSQL Serverless instances.

Postpaid

EffectiveTime

string

No

The time when the new configuration takes effect. Valid values:

Note

Changing some configurations may affect the instance. Read the impact section in the feature documentation carefully before configuring this parameter. We recommend that you perform the change during off-peak hours.

  • Immediate (default): The change takes effect immediately.

  • MaintainTime: The change takes effect during the maintenance window.

  • ScheduleTime: The change takes effect at a specified time. The time must be at least 12 hours later than the current time, and the actual switchover time follows the rule: EffectiveTime = ScheduleTime + SwitchTime.

Valid values:

  • ScheduleTime :

    The time must be at least 12 hours later than the current time, and the actual switchover time follows the rule: EffectiveTime = ScheduleTime + SwitchTime

MaintainTime

EngineVersion

string

No

The database engine version. Valid values:

Regular RDS instances

  • MySQL: 5.5, 5.6, 5.7, 8.0

  • SQL Server: 2008r2, 08r2_ent_ha, 2012, 2012_ent_ha, 2012_std_ha, 2012_web, 2014_std_ha, 2016_ent_ha, 2016_std_ha, 2016_web, 2017_std_ha, 2017_ent, 2019_std_ha, 2019_ent

  • PostgreSQL: 10.0, 11.0, 12.0, 13.0, 14.0, 15.0

  • MariaDB: 10.3

RDS Serverless instances (MariaDB not supported)

  • MySQL: 5.7, 8.0

  • SQL Server: 2016_std_sl, 2017_std_sl, 2019_std_sl

  • PostgreSQL: 14.0, 15.0, 16.0

8.0

DBInstanceStorageType

string

No

The storage type of the instance. Valid values:

  • local_ssd: high-performance local disk

  • cloud_ssd: SSD cloud disk (not recommended; discontinued in some regions)

  • cloud_essd: ESSD PL1 cloud disk

  • cloud_essd2: ESSD PL2 cloud disk

  • cloud_essd3: ESSD PL3 cloud disk

  • general_essd: general-purpose cloud disk

Notes on changing the storage type: * If you change the storage type of an instance from ESSD to general-purpose cloud disk, the other parameters (instance type, storage capacity, and others) must be the same as the original values and cannot be modified.

* For MySQL or MariaDB instances, if the storage type is SSD cloud disk, you can pass in cloud_essd to upgrade the storage type to ESSD cloud disk. To perform the upgrade, you must specify both DBInstanceClass and DBInstanceStorage, and the values must be the same as the current values.

* For PostgreSQL instances, you can upgrade SSD cloud disks to any PL level of ESSD cloud disks, but you cannot downgrade ESSD cloud disks to SSD cloud disks.

local_ssd

ReadOnlyDBInstanceClass

string

No

The target instance type for the read-only instance when changing a MySQL high-availability high-performance local disk instance to a cloud disk instance.

mysqlro.n2.large.1c

Direction

string

No

The type of configuration change. Valid values:

  • Up (default): upgrade for subscription instances and upgrade/downgrade for pay-as-you-go instances.

  • Down: downgrade for subscription instances.

  • TempUpgrade: temporary upgrade for subscription SQL Server instances. This value is required for temporary upgrades.

  • Serverless: configured when adjusting elastic settings for Serverless instances.

Note

If you only change the DBInstanceStorageType parameter, for example, changing SSD cloud disk to ESSD cloud disk, leave this parameter empty.

Up

SourceBiz

string

No

Deprecated parameter. No configuration is required.

test

DedicatedHostGroupId

string

No

The dedicated cluster ID.

dhg-7a9****

ZoneId

string

No

The zone ID.

cn-hangzhou-b

SwitchTime

string

No

The time at which to perform the configuration change. We recommend that you perform the change during off-peak hours.

Format: yyyy-MM-ddTHH:mm:ssZ (UTC time).

Note
  • The specified time must be later than the current time (the time when the call is initiated). Otherwise, the configuration change task will fail. After the task fails, you must wait for the order to be automatically voided before initiating the call again.

  • If you only increase the storage capacity or change the ESSD storage type, the configuration change will be executed immediately after submission because it has no impact on the business. You do not need to configure this parameter.

2019-07-10T13:15:12Z

ResourceGroupId

string

No

The resource group ID.

rg-acfmy****

UsedTime

integer

No

The duration of the SQL Server temporary upgrade. Unit: days.

3

ServerlessConfiguration

object

No

The Serverless instance configuration.

AutoPause

boolean

No

The smart start and stop feature for MySQL Serverless or PostgreSQL Serverless instances. Valid values:

  • true: enabled.

  • false (default): disabled.

Note

If there are no connections for 10 minutes, the instance enters a paused state. It will automatically resume when a connection is initiated.

true

MaxCapacity

number

No

The maximum value of the auto-scaling range for Serverless instance RCUs. Valid values:

  • MySQL: 1 to 32

  • SQL Server: 2 to 16 (integers only)

  • PostgreSQL: 1 to 14

Note

This value must be greater than or equal to MinCapacity.

8

MinCapacity

number

No

The minimum value of the auto-scaling range for Serverless instance RCUs. Valid values:

  • MySQL: 0.5 to 32

  • SQL Server: 2 to 16 (integers only)

  • PostgreSQL: 0.5 to 14

Note

This value must be less than or equal to MaxCapacity.

0.5

SwitchForce

boolean

No

Specifies whether to enable forced scaling for MySQL Serverless or PostgreSQL Serverless instances. Elastic scaling of instance RCUs usually takes effect immediately, but in certain special circumstances (such as during large transaction execution), scaling cannot be completed immediately. In this case, you can enable this parameter to force scaling. Valid values:

  • true: enabled.

  • false (default): disabled.

Note

After this parameter is enabled, the instance may experience 30 to 120 seconds of service unavailability during forced scaling. Use this feature with caution based on your actual situation.

false

Category

string

No

The instance edition. Valid values:

Note

This parameter is required when EngineVersion is set to a SQL Server version.

Regular RDS instances

  • Basic: Basic Edition

  • HighAvailability: High-availability Edition

  • AlwaysOn: SQL Server Cluster Edition

  • Cluster: MySQL Cluster Edition

  • Finance: Enterprise Edition (Finance)

RDS Serverless instances (MariaDB not supported)

  • serverless_basic: Serverless Basic Edition (MySQL and PostgreSQL only)

  • serverless_standard: Serverless High-availability Edition (MySQL and PostgreSQL only)

  • serverless_ha: Serverless High-availability Edition (SQL Server only)

HighAvailability

BurstingEnabled

boolean

No

Specifies whether to enable the general-purpose cloud disk I/O burst feature. Valid values:

  • true: enabled.

  • false: disabled.

false

AutoUseCoupon

boolean

No

Specifies whether to use vouchers to offset the fees. Valid values:

  • true (default): use vouchers.

  • false: do not use vouchers.

true

TargetMinorVersion

string

No

The minor engine version of the PostgreSQL instance. When changing the instance type and an error occurs indicating that the minor engine version does not support it, you need to specify this parameter to upgrade the minor engine version along with the instance type change.

Format: rds_postgres_<major version>00_<minor version>. Example for version 12 with 20200830: rds_postgres_1200_20200830.

rds_postgres_1200_20200830

IoAccelerationEnabled

string

No

Specifies whether to enable the general-purpose cloud disk Buffer Pool Extension (BPE) feature. Valid values:

  • 1: enabled.

  • 0: disabled.

0

ColdDataEnabled

boolean

No

Specifies whether to enable the general-purpose cloud disk data archiving feature. Valid values:

  • true: enabled.

  • false: disabled.

true

ZoneIdSlave1

string

No

The zone ID of the secondary node. If the value is the same as ZoneId, the instance uses single-zone deployment. If the value is different from ZoneId, the instance uses multi-zone deployment.

Note

This parameter is required only when upgrading a SQL Server instance to a major version (AllowMajorVersionUpgrade) and the secondary zone needs to be specified, or when switching the secondary zone.

cn-hangzhou-c

VSwitchId

string

No

The vSwitch ID. The zone of the vSwitch must match the zone ID specified in ZoneId.

  • The network type InstanceNetworkType must be VPC.

  • If you specify ZoneSlaveId1 (secondary zone ID), you must specify two vSwitch IDs separated by a comma (,).

Note

This parameter is required only when upgrading a SQL Server instance to a major version (AllowMajorVersionUpgrade) and the vSwitch needs to be specified, or when switching the vSwitch.

vsw-bp1oxflciovg9l7******

AllowMajorVersionUpgrade

boolean

No

Specifies whether to perform a major version upgrade for SQL Server instances. Valid values:

  • true: upgrade.

  • false (default): do not upgrade.

Note
  • For a major version upgrade, you must also specify the following required parameters: DBInstanceId, EngineVersion, DBInstanceClass, Category, ZoneId, and VSwitchId.

  • If upgrading to the High-availability Edition or Cluster Edition, the ZoneIdSlave1 parameter must also be specified.

false

PromotionCode

string

No

The coupon code.

72329885****

OptimizedWrites

string

No

Specifies whether to enable the MySQL 16K atomic write feature. Valid values:

  • optimized: enabled.

  • none: disabled.

optimized

CompressionMode

string

No

Specifies whether to enable the MySQL storage compression feature. Valid values:

  • on: enabled.

  • off: disabled.

on

AllocateStrategy

string

No

Response elements

Element

Type

Description

Example

object

The response parameters.

DBInstanceId

string

The instance ID.

rm-uf6wjk5****

OrderId

integer

The order ID.

20793850608****

RequestId

string

The request ID.

3C5CFDEE-F774-4DED-89A2-1D76EC63C575

Examples

Success response

JSON format

{
  "DBInstanceId": "rm-uf6wjk5****",
  "OrderId": 0,
  "RequestId": "3C5CFDEE-F774-4DED-89A2-1D76EC63C575"
}

Error codes

HTTP status code

Error code

Error message

Description

400

InvalidAllocateStrategy

The Specified Allocate Strategy is not valid.

AllocateStrategy parameter error

400

DbVersionUpgradeNotSatisfied

message:%s

400

UnsupportedReduceDiskSize

%s%s

400

CannotDecreaseEssdPerfLevel

cannot decrease cloud essd performance level.

The storage type change failed the verification check. The storage type of an RDS instance that runs SQL Server with standard SSDs or ESSDs cannot be changed to local SSDs.

400

InvalidEssdStorageSize

invalid cloud essd storage size.

The storage size of cloud disks is invalid. Check the storage size.

400

Postpaid.NotSupport

Postpaid not supported.

400

InvalidConcurrentOperate

System concurrent operate.

400

NotSupportReduceDiskSize

Not support reduce disk size.

You cannot decrease the disk size.

400

IncorrectStorageType

Incorrect storage type.

400

TargetStorageLessThanBottomLine

Target storage less than bottom line

400

InstanceHasUnpaidOrder

The specified Instance has unpaid order.

400

InsufficientBalance

Open volume paid cloud database. Your account balance is less than 100 RMB. Top-up and try again.

400

InvalidDBInstanceClass.NotFound

Specified DB instance class is not found.

400

InvalidParameter

The specified parameter "%s" is not valid.

400

InvalidAvZone.Format

Specified AvZone is not valid.

The value of the AvZone parameter is invalid. Check the value of this parameter.

400

OperationDenied.OrderUnPaid

The operation is not permitted due to the wrong Order status (Unpaid).

400

OperationDenied.InvalidStorageSize

The storage size limit is exceeded.

The disk usage exceeds the upper limit. Free or expand disk space.

400

InsufficientResourceCapacity

The instance cluster does not support this operation.

The operation is not supported for the RDS instance.

400

InvalidUsedTime

The parameter usedTime is invalid.

The specified usedTime parameter is invalid.

400

CannotChangeStorageType

Temp upgrade does not support changing storage type.

Elastic upgrade cannot change the storage type.

400

TempUpgrade.NotSupport

The instance does not support temp upgrade.

This instance does not support elastic upgrade.

400

EngineNotSupported

Engine specified cannot be supported the operation.

The operation failed. This operation is not supported for the database engine version of the RDS instance. Update the minor engine version of the RDS instance.

400

MaxscaleNotSupport

Maxscale not supported

Dedicated proxy is not supported by the instance. Please check the configuration information about enabling dedicated proxy.

400

ADInstanceNotSupportThisOperation

The AD instance is not supported this operation

This operation is not supported for instances that have been joined to an AD domain.

400

BYOKInstanceNotSupportThisOperation

The BYOK instance is not supported this operation

This operation is not supported for instances that have disk encryption enabled.

400

BYOLInstanceNotSupportThisOperation

The BYOL instance is not supported this operation

This operation is not supported for instances that are created from BYOL images.

400

SSLInstanceNotSupportThisOperation

The instance opened SSL, upgrade is not this operation

This operation is not supported for instances that have SSL enabled.

400

TDEInstanceNotSupportThisOperation

The instance opened TDE, this operation is not supported

This operation is not supported for instances that have TDE enabled.

400

InstanceIsSnapshotBackupNotSupportThisOperation

The instance backup method is snapshot backup, this operation is not supported

This operation is not supported for instances that have snapshot backup enabled.

400

InstanceHasReadOnlyInstanceNotSupportThisOperation

The instance has read-only instance or is read-only instance, this operation is not supported

This operation is not supported because this instance has read-only instances or it is a read-only instance.

400

InvalidTargetStorageType

Can not change storage type when modify instance class or storage.

400

InvalidTargetCategory

Specified classcode is not matched with current product type.

400

IncorrectDBInstanceState

Current DB instance state does not support this operation.

400

BackupReadInstanceModifyNotAllowed

Modify Backup Read Instance Is Not Allowed.

You are not allowed to modify the instance from which the backup comes.

400

MinorVersionNotSupport

The current database minor version does not support the operation.

The current instance kernel iteration does not support this operation. You can upgrade the kernel iteration.

400

LX.ARGUMENT.ILLEGAL

变配,当前实例无有效配置

400

ORD.S.QUERY.PROD.ERROR

An error occurred while querying the ordering information

An order query error occurred.

400

InvalidParameter.NotSupportDiskTypeModify

Serverless not support modify disk type!

400

InvalidParameter.NotSupportModifyServerlessConfigAndDiskTogether

Serverless not support modify serverlessconfig and disk together!

400

InvalidParameters.Malformed

One or more of the request parameters provided are not valid.

One or more of the request parameters provided are not valid, please check the API document

400

DBInstancePayTypeNotSupport

Current instance PayType not support this operation or the param PayType not match current instance PayType.

400

InvalidDBInstanceClass.Offline

The specified instance type is no longer provided. Please specify another instance type.

The instance type that you select is no longer available. Select another instance type.

400

IncorrectTargetClasscode

The current instance type does not support this operation.

This operation is not supported by the instance type.

400

InvalidPayType.NotSupported

current instance pay type not support this operation.

The payment type of the current instance does not support this operation.

400

OperationDenied.DurationLimit

The duration between two operations should be greater than specified time.

400

AccountMoneyValidate.error

Insufficient funds available in the account.

400

ChangeEngineVersionNotSupported

This operation does not support modifying the engine version.

You cannot modify the major engine version during this operation.

400

InvalidDBInstanceStorageType

The specified DBInstanceStorageType is invalid.

The specified DBInstanceStorageType parameter is invalid.

400

EncryptionInstancesNotSupport

Cloud disk encryption instances that use byok do not support modify to multi tenant.

Cloud disk encryption instances that use custom keys do not support changing configuration to general-purpose specifications.

400

Commodity.InvalidComponent

The module you purchased is not legal, please buy it again.

The module you purchased is not legal, please buy it again.

400

CommodityServiceCalling.Exception

Failed to call commodity service.

Failed to call commodity service return.

400

Pay.InsufficientBalance

Insufficient available balance.

Insufficient available balance.

400

Price.CommoditySys

Commodity system call exception.

Commodity system call exception.

400

CurrentInsHasColdDB

The current instance has cold storage db.

The current instance has cold storage db.

400

CurrentInsHasColdStorage

Current instance has cold storage.

The current instance has cold storage enabled.

400

InsufficientResourceCapacityCheck

There is insufficient capacity available for the requested instance with precheck.

The available capacity of the instance to be prechecked is insufficient.

400

InvalidStorageSize.Direction

The specified parameter StorageSize does not meet the updating direction constraint requirements.

The storage space does not meet the constraint requirements of the current change direction.

400

InvalidStorageType.Direction

The specified parameter StorageType does not meet the updating direction constraint requirements.

The storage type does not satisfy the change direction constraint.

400

EngineNotSupportShrinkStorage

The current engine does not support shrinking storage space.

The current engine does not support shrinking storage space.

400

InvalidSourceCategory

specified source category is invalid.

The specified source category is invalid.

400

InvalidInstanceLevel.DiskType

Specified instance level not support request disk type

The current instance type does not support the specified storage type.

400

InvalidRCUValue

scaleMin and scaleMax range is not valid.

Invalid scaleMin and scaleMax range.

400

ServiceLinkedRole.NotExist

SLR does not exist, you needs to create SLR first.

The SLR does not exist. You need to create an SLR first.

400

ParamGroupOptionValue.NotSupport

Specified option value unsupported.

400

CreateUpgradeOrderBusinessException

The parameter is illegal or empty.

The parameter is illegal or empty.

400

InvalidReadDBInstanceStorage.Format

Specified Storage is not valid, Read DB Instance storage size must be greater than or equal to primary DB Instance.

The read-only DB instance storage size must be greater than or equal to the primary DB instance.

400

UnsupportedModifyParam

Burst param must be only modified.

Burst param must be only modified.

400

UnsupportedClassCode

The specified DB instance class stops selling.

The specified DB instance class stops selling.

400

InvalidRequestId

The request is copy, check your token.

The request is copy, check your token.

400

UnsupportExtendDisk.NotSupport

Specified DB instance is unsupport extend disk.

Disk expansion is not supported on the specified instance.

400

Order.InstHasUnsettledBills

You currently have outstanding bills, please settle them first.

You currently have outstanding bills, please settle them first.

400

CheckAllowMajorVersionUpgradeFailed

We have detected that you want to upgrade the version of the instance, but the parameter allowMajorVersionUpgrade is false. If you want to upgrade the version of the instance, please set the parameter allowMajorVersionUpgrade to true.

We detected that you want to upgrade the version of the instance, but the parameter allowMajorVersionUpgrade is false. If you want to upgrade the version of the instance, set the parameter allowMajorVersionUpgrade to true.

400

IncorrectDBSslStatus

Specified DB SSLStatus does not support this operation.

The specified database SSL status is invalid.

400

UpgradeEngineVersionCannotChangeStorage

Upgrade engine version can not change storage size.

Upgrading the engine version cannot also change the storage size.

400

ReadOnlyInsNotSupported

Instances containing read-only instances do not allow this operation.

This operation is not allowed for instances that contain read-only instances..

400

Order.ComboInstanceNotAllowOperate

A package instance is not allowed to operate independently.

A package instance is not allowed to operate independently.

400

Price.PricingPlanResultNotFound

Pricing plan price result not found.

Pricing plan price result not found.

400

Order.NoRealNameAuthentication

You have not passed the real-name authentication and do not meet the purchase conditions. Please log in to the user center for real-name authentication.

You have not passed the real-name authentication and do not meet the purchase conditions. Please log in to the cost and cost for real-name authentication.

400

InsufficientAvailableQuota

Your account quota limit is less than 0, please recharge before trying to purchase.

Your account available limit is less than 0, please recharge before trying to purchase.

400

RegionDissolvedEOM

Dear customer, Alibaba Cloud plans to optimize and adjust the current region. Cloud services in this region will cease operations. You are currently unable to operate new purchase orders. Thank you for your understanding and support.

Hello, Alibaba Cloud plans to optimize and adjust the current region. Cloud services in this region will stop operating. In order to ensure your business continuity and smooth transition of data migration, you are currently unable to operate new purchase orders. Thank you for your understanding and support.

400

RegionEndTimeDissolvedAustralia

Cloud services in the Australia (Sydney) region will be discontinued. Set the validity date to September 30, 2024 or earlier than September 30, 2024.

Hello customer, this area has been abolished.

400

Order.PeriodInvalid

There is a problem with the period you selected, please choose again.

There is a problem with the period you selected, please choose again.

400

pay.noCreditCard

Account not bound to credit card.

400

Order.InstHasUnpaidOrder

There is an unpaid order for the service you have purchased. Please pay or void it before placing the order.

There is an unpaid order for the service you have purchased. Please pay or void it before placing the order.

400

noAvailablePaymentMethod

No payment method is specified for your account. We recommend that you add a payment method.

No payment method has been specified for your account. We recommend that you add a payment method.

400

BasicInfoUncompleted

Your information is incomplete. Complete your information before the operation.

Your basic information is not complete, please complete your basic information before operation.

400

Risk.RiskControlRejection

Your account is abnormal, please contact customer service for details.

Your account is abnormal, please contact customer service for details.

400

Api.NotSupport

Specified api is not supported.

The current interface does not support.

400

ContainForbiddenLabelError

There is a label that prohibits placing orders. Please contact your distributor for assistance.

You cannot place the order because a tag indicates that order placement is prohibited. Contact your distributor.

400

InvalidDBInstanceId.NotFound

The DBInstanceId provided does not exist in records.

The DBInstanceId provided does not exist.

400

InvalidParam

Sepcified wal level Parameter is invalid. There are still logical slots in instance, so it can not be set as replica.

The specified wal_level parameter is invalid. There is still a copy slot in the instance, so it cannot be set to replica.

400

System.SaleValidateFailed

Sales expression validation system error.

A system error occurs when the sales expression is verified.

400

Abs.InvalidAccount.NotFound

account is not found.

The account does not exist.

400

SqlExecuteFailedOrTimeout

sql command execution failed or timed out:%s.

SQL command execution failed or timed out

400

ColdData.EngineVersionNotSupport

The current instance engine version not support coldDataEnabled.

The current instance engine version not support coldDataEnabled.

400

ColdData.MinorVersionNotSupport

The current instance minor version not support coldDataEnabled.

The current instance minor version not support coldDataEnabled.

400

InvalidConnectionString.Duplicate

Specified connection string already exists in the RDS.

The link address name is duplicate. Please reset the connection string.

400

RequiredParam.NotFound

Required input param is not found.

400

Parameters.Invalid

Parameter error, please check the parameters.

Parameter error, please check the parameters.

400

BackupPolicyNotSupport

Cold Data won't open with CrossBackup or Flash Backup, please check Backup Policy.

Cold Data won't open with CrossBackup or Flash Backup, please check Backup Policy.

400

InvalidReleasedKeepPolicy.Format

Specified Released Keep Policy is not valid.

Specified Released Keep Policy is not valid.

400

InvalidDBInstanceEngineType.Format

the DB instance engine type does not support this operation.

This operation is not supported for the database engine of the instance.

400

Pay.NoCreditCard

No credit cards.

No credit cards.

400

VpcNetworkTypeNotSupport

The vpc network type instance does not support this operation.

The vpc network type instance does not support this operation.

400

MirrorInsExists

Specified DB instance mirror ins already existed.

Specified DB instance mirror ins already existed.

400

InvalidBackupSet

The specified database does not exist in the backup set.

The specified database does not exist in the backup set.

400

OrdTCommodityQueryError

Failed to query for product.

Failed to query product.

400

ProductInstanceReleased

The instance has been released. Please check before placing the order.

The instance has been released, please verify and place an order.

400

RegionEndTimeDissolvedIndia

The region is no longer supported.

The region is no longer supported.

400

InvalidDBInstanceClass.NotSupport

The target primary db instance class can not lower than the original primary db instance class.

The target specification of the master instance must be no less than the original specification.

400

InvalidPayType.NotSame

All primary and read-only instances should have the same payment type.

The payment type of all primary and read-only instances should be the same.

400

InvalidReadOnlyDBInstanceClass.NotSupport

The target read-only db instance class can not lower than the original read-only db instance class.

the target specifications of the read-only instance must be no less than the original specifications (including cpu and memory).

400

InvalidStorageSize.CannotChange

Can not change storage size in this operation. If you need to change disk type, please change storage size first, and the storage size must meet your target disk type's constraint requirements.

The storage size cannot be modified in the current operation. If you need to modify the disk type, use other operations to modify the size of the target disk. The size of the target disk must meet the limit of the target disk type.

400

InvalidStorageSize.ConstraintUnsatisfied

The db instance's storage size dose not meet the constraint requirements of the parameter DBInstanceStorageType. If you still want to change disk type, please change storage size to meet the target disk type's constraint in other operation.

The current storage space of the primary or read-only instance does not meet the storage space constraint DBInstanceStorageType by the target disk type. Please modify the storage space size of the instance separately before implementing the local disk cross-cloud disk operation.

400

ReadonlyDBInstanceClassEmpty

The read-only target instance class should not be empty.

The target specification of the read-only instance must not be empty.

400

ReadonlyDBInstanceClassNotSame

All readonly db instances should have the same instance class.

The current specifications of all read-only instances (including instance types and sizes) should be consistent.

400

StopService.ModifyDBInstanceSpec

The service has been discontinued and does not permit resizing operations on instances using the classic network.

The classic network is offline. The current instance is of the classic network type and has exceeded the service stop time. You cannot change the configuration of the instance.

400

InvalidParam.DiskSize

%s.

The disk capacity selected during configuration change is small.

400

InvalidOrder.NotFound

Specified order does not exist in RDS.

The specified order does not exist in RDS.

400

NotFindAvailableVswitch

Secondary zone, no available switch found under the current vpc.

in the current vpc, no vswitch is available in the standby zone of the instance.

400

InvalidStorageType.NotSupport

The current storage type does not support this operation.

The current storage type does not support this operation.

400

IncorrectReadDBInstanceMemSize

The instance type of read-only instance is too small.

The instance type of read-only instance is too small.

400

DBInstanceNotServerless

The dbinstance is not serverless.

The specified instance is a non-serverless instance.

400

UnSupportDbTypeReduceDiskSize

The current instance does not support scale-in.

The current instance does not support scale-in.

400

ClassicNetDisabled

The classic network address is currently disabled, and the instance cannot perform configuration changes.

The classic network address is currently disabled and the instance cannot perform configuration changes.

400

SecondaryAddrNotSupportThisOperation

The instance has a secondary instance address, so updates are not allowed.

The instance contains the read-only address of the secondary node and cannot be upgraded.

400

InvalidMasterDBInstanceName.NotFound

The master instance does not exist under the target account.

The primary instance is not found under the target account.

500

CallLxSdkFailed

Error calling the order system, please try again later or contact service personnel.

Error calling the order system, please try again later or contact service personnel.

500

ExternalFailure

The request processing has failed due to external service failure.

The request processing has failed due to external service failure.

500

RequestMetaDataFailed

The service request failed. Please try again later or contact service personnel.

The service request failed. Please try again later or contact service personnel.

500

InvokeProxyFailure

The request processing has failed due to service failure of rds api.

The request failed to be processed due to an RDS API failure.

403

IncorrectDBInstanceType

The database instance type does not support the operation.

The operation failed. The operation is not supported for the database engine of the RDS instance.

403

OperationDenied.NotSupportedBackupMethod

When the storage is larger than 4000 GB, only snapshot backup is supported.

If the storage capacity is larger than 4,000 GB, only snapshot backup is supported.

403

IncorrectReadDBInstanceDisksize

Read instance disk size must be equal or higher than primary instance.

The disk size of the read-only instance must be equal to or greater than that of the primary instance.

403

BetaServerlessNotSupportThisAction

Beta Serverless Not Support This Feature

403

GroupReplicationNotSupport.InvalidEngineVersion

Group Replication requires the instance engine version to be 8.0.

403

GroupReplicationNotSupport.InvalidNodeClassCode

Group Replication requires the ClassCode of each node to be consistent.

403

GroupReplicationNotSupport.InvalidNodeNum

Group Replication is not supported, the number of nodes must be an odd number greater than or equal to 3.

403

GroupReplicationNotSupport.InvalidXengine

Group Replication is not supported because the instance has xengine tables.

403

GroupReplicationNotSupport.MemoryTooSmall

Group Replication is not supported because the memory is too small.

403

ARMNotSupport

ARM arch does not support this operation.

403

HostTypeNotSupport

Host type is inconsistent, please check that the original host type is the same as the target host type.

403

CloudSSDNotSupport

Cloud ssd does not support this operation, please upgrade to essd.

403

MaxscaleInstanceNotSupport

Instances with maxscale instance do not support this operation.

403

ReadInstanceNotSupport

Instances with read-only do not support this operation.

403

UnSupportReduceDiskSize

Current instance type does not support reducing disk space.

403

CloudboxInstanceNotSupport

Cloud-box instance does not support this operation.

This operation is not supported for instances in cloud boxes.

403

ReadOnlyInstanceNotSupport

Read-only instance does not support this operation.

This operation is not supported for read-only instances.

403

MinorVersionNotSupport

The current database minor version does not support the operation.

403

ShrinkCountReachedLimit

Current DB shrink count reached the limit.

403

InvalidReduceDiskSize

The storage capacity after the scale-down must be larger than the used amount.

The scale-in target capacity cannot be less than the current storage space usage

403

CloudDiskEncryptionNotSupport

The encryption key is not allowed for general-purpose instance.

Universal instances do not support cloud disk encryption.

403

OrderStatus.UnPaid

The specified db instance has unpaid order.

The instance has an unpaid order. Please pay first and try again.

403

InvalidUserOperatorPermission

The user permission does not support this operation.

The user is not authorized to perform this operation.

403

InvalidVswitchId

Specified conn vswitch id is not valid.

403

IncorrectMinorVersion

Current engine minor version does not support operations.

This operation is not supported for the current minor engine version.

403

OperationDenied.ZoneResource

There is no available zone for inventory.

There is no available zone for inventory.

403

NotInFlowController

Sorry,no permission.

Sorry,no permission.

403

InvalidKmsKey

Kms key is disabled.

403

InvalidInstanceLevel.Malformed

Current DB instance level does not support this operation.

The specified database instance type does not support this operation.

403

UnsupportedByBlueGreenDeployment

Operation prohibited due to blue green deployment.

The operation is not allowed because a blue-green deployment exists.

403

UnSupportNonXfsDiskSizeTooLarge

Non xfs disk types do not support upgrading to 60T or above.

Non-xfs disk types do not support upgrading to 60T or higher.

403

OperationDenied.SystemConcurrent

Failure caused by Concurrent operations.

404

InvalidClusterKms

The current instance does not authorized to access the Key Management Service.

The instance does not have permissions to access Key Management Service (KMS).

404

InvalidParam

The parameter is invalid.

The operation failed. The values of some parameters are invalid.

404

Request.NotFound

The requested resource is not available.

The requested resources are unavailable.

404

HostInfo.NotFound

The specified host info is not found.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.