ReleaseInstanceConnection_云数据库 RDS_API文档

Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Quotas Info

The current API request rate is 10/1(s).View More quotas information, please go to Quota Management View

Authorization Information

The following table shows the authorization information corresponding to this API, which can be used in the Action policy element to grant a RAM user or RAM role the permissions to call the API. Please use RAM to set up these permissions and refer to RAM documentation for more instructions.

Description:View Details...

ActionsAccess levelResource typeCondition keyAssociated operation
rds:ReleaseInstanceConnection
Delete
DBInstance
acs:rds:{#regionId}:{#accountId}:dbinstance/{#dbinstanceId}
NoneNone

Request Parameters

Field NameField Details
DBInstanceIdstring

The instance ID. You can call the DescribeDBInstances operation to query the instance ID.

Example:rm-uf6wjk5xxxxxxxReference Value Source:
    CloneDBInstance
    CreateDBInstance
    ReceiveDBInstance
    ModifyDBInstanceSpec
    RecoveryDBInstance
    DescribeDBInstances
    CalculateDBInstanceWeight
    MigrateDBNodes
    UpgradeDBInstanceMajorVersion
    TransformDBInstancePayType
    EvaluateLocalExtendDisk
    RestoreDdrTable
    RebuildReplicationLink
CurrentConnectionStringstring

The public endpoint of the instance.

Example:rm-uf6wjk5xxxx.mysql.rds.aliyuncs.com
InstanceNetworkTypestring

The network type of the instance. Valid values:View Details...

Example:0Reference Value Source:
    DescribeDBInstanceNetInfo

Response Parameters

Field NameField Details
RequestIdstring

The request ID.

Example:65BDA532-28AF-4122-AA39-B382721EEE64

Sample Response

Error Codes

Global Error Codes
HTTP Status CodeError CodesError MessageActions
400
Order.ComboInstanceNotAllowOperate
A package instance is not allowed to operate independently.Diagnose
400
Price.PricingPlanResultNotFound
Pricing plan price result not found.Diagnose
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.Diagnose
400
InsufficientAvailableQuota
Your account quota limit is less than 0, please recharge before trying to purchase.Diagnose
400
CommodityServiceCalling.Exception
Failed to call commodity service.Diagnose
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.Diagnose
400
Commodity.InvalidComponent
The module you purchased is not legal, please buy it again.Diagnose
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.Diagnose
400
Price.CommoditySys
Commodity system call exception.Diagnose
400
Pay.InsufficientBalance
Insufficient available balance.Diagnose
400
Order.PeriodInvalid
There is a problem with the period you selected, please choose again.Diagnose
400
pay.noCreditCard
Account not bound to credit card.Diagnose
400
Order.InstHasUnpaidOrder
There is an unpaid order for the service you have purchased. Please pay or void it before placing the order.Diagnose
400
noAvailablePaymentMethod
No payment method is specified for your account. We recommend that you add a payment method.Diagnose
400
BasicInfoUncompleted
Your information is incomplete. Complete your information before the operation.Diagnose
400
Risk.RiskControlRejection
Your account is abnormal, please contact customer service for details.Diagnose
400
Api.NotSupport
Specified api is not supported.Diagnose
400
ContainForbiddenLabelError
There is a label that prohibits placing orders. Please contact your distributor for assistance.Diagnose
400
InvalidDBInstanceId.NotFound
The DBInstanceId provided does not exist in records.Diagnose
400
InvalidInstanceLevel.DiskType
Specified instance level not support request disk typeDiagnose
400
InvalidParam
Sepcified wal level Parameter is invalid. There are still logical slots in instance, so it can not be set as replica.Diagnose
400
KmsApiError
User secret key invalid.Diagnose
400
System.SaleValidateFailed
Sales expression validation system error.Diagnose
400
Abs.InvalidAccount.NotFound
account is not found.Diagnose
400
SqlExecuteFailedOrTimeout
sql command execution failed or timed out:%s.Diagnose
400
ColdData.EngineVersionNotSupport
The current instance engine version not support coldDataEnabled.Diagnose
400
ColdData.MinorVersionNotSupport
The current instance minor version not support coldDataEnabled.Diagnose
400
IncorrectTargetClasscode
The current instance type does not support this operation.Diagnose
400
InvalidConnectionString.Duplicate
Specified connection string already exists in the RDS.Diagnose
400
RequiredParam.NotFound
Required input param is not found.Diagnose
400
Parameters.Invalid
Parameter error, please check the parameters.Diagnose
400
BackupPolicyNotSupport
Cold Data won't open with CrossBackup or Flash Backup, please check Backup Policy.Diagnose
400
InvalideStatus.Format
The instance status does not support this operation.Diagnose
400
InvalidReleasedKeepPolicy.Format
Specified Released Keep Policy is not valid.Diagnose
400
InvalidDBInstanceEngineType.Format
the DB instance engine type does not support this operation.Diagnose
400
Pay.NoCreditCard
No credit cards.Diagnose
400
VpcNetworkTypeNotSupport
The vpc network type instance does not support this operation.Diagnose
400
MirrorInsExists
Specified DB instance mirror ins already existed.Diagnose
400
UnsupportedClassCode
The specified DB instance class stops selling.Diagnose
400
InvalidBackupSet
The specified database does not exist in the backup set.Diagnose
400
OrdTCommodityQueryError
Failed to query for product.Diagnose
400
ProductInstanceReleased
The instance has been released. Please check before placing the order.Diagnose
400
RegionEndTimeDissolvedIndia
The region is no longer supported.Diagnose
403
OrderStatus.UnPaid
The specified db instance has unpaid order.Diagnose
403
InvalidReduceDiskSize
The storage capacity after the scale-down must be larger than the used amount.Diagnose
403
CloudSSDNotSupport
Cloud ssd does not support this operation, please upgrade to essd.Diagnose
403
InvalidUserOperatorPermission
The user permission does not support this operation.Diagnose
403
InvalidVswitchId
Specified conn vswitch id is not valid.Diagnose
403
IncorrectMinorVersion
Current engine minor version does not support operations.Diagnose
403
OperationDenied.ZoneResource
There is no available zone for inventory.Diagnose
403
NotInFlowController
Sorry,no permission.Diagnose
403
InvalidKmsKey
Kms key is disabled.Diagnose
403
InvalidInstanceLevel.Malformed
Current DB instance level does not support this operation.Diagnose
403
UnsupportedByBlueGreenDeployment
Operation prohibited due to blue green deployment.Diagnose
404
Endpoint.NotFound
Specified endpoint is not existed.Diagnose
404
InvalidClusterKms
The current instance does not authorized to access the Key Management Service.Diagnose
404
Request.NotFound
The requested resource is not available.Diagnose
404
HostInfo.NotFound
The specified host info is not found.Diagnose
500
ExternalFailure
The request processing has failed due to external service failure.Diagnose
500
RequestMetaDataFailed
The service request failed. Please try again later or contact service personnel.Diagnose
500
InvokeProxyFailure
The request processing has failed due to service failure of rds api.Diagnose

Change History

Change timeChange content summaryoperation
2025-03-25
changeError code 403
2023-09-08
addError code 404

Examples