Queries the time range to which an RDS instance can be restored.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBInstanceId | string | Yes | The instance ID. | rm-uf6wjk5xxxxxxx |
Region | string | No | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
ResourceGroupId | string | No | The resource group ID. | rg-acfmy***** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RecoveryEndTime": "2020-03-20T08:41:29Z",
"DBInstanceId": "rm-uf6wjk5xxxxxxx",
"RequestId": "14E986AC-0F27-4FFB-8EED-9A8A3A2A0309",
"RecoveryBeginTime": "2020-03-16T07:59:18Z"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ParameterLeastAssociate | Must input at least one optional parameter | You must enter at least one selectable parameter. |
400 | InvalidParameters.Format | Specified parameter is not valid | The operation failed. The values of some parameters are invalid. |
400 | ParameterAbsence | Necessary parameter is absence. | You must pass in the required parameter. |
400 | MissingUserID | The request is missing a user_id parameter. | The user ID cannot be found. |
400 | MissingUID | The request is missing a uid parameter. | The operation failed. The UID in the request is left unspecified. |
400 | LogBackupNotEnabled | Specified instance does not enabled logbackup | Log backup is not enabled for the specified instance. |
403 | IncorrectDBInstanceCharacterType | Current DB Instance character_type does not support this operation. | This operation is not supported for the character type of the current instance. |
403 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | - |
403 | IncorrectDBInstanceEngine | Current DB Instance engine does not support this operation. | The operation failed. The operation is not supported for the database engine that is run on the RDS instance. |
403 | IncorrectDBInstanceLockMode | Current DB instance lock mode does not support this operation. | The operation failed. The RDS instance is locked. |
404 | InvalidDBInstance.NotFound | Specified instance does not exist or not support. | The RDS instance cannot be found, is deleted, or does not support the operation. |
404 | InvalidUser.NotFound | Specified user does not exist. | The specified user is not found. Please check again. |
404 | InvalidBinlog.NotFound | The available binlog does not exist in recovery time. | The binary log file at the specified point in time is invalid. |
404 | InvalidBackup.NotFound | The available backup does not exist in recovery time. | No available data backup file can be used to restore data. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-09-01 | The Error code has changed | View Change Details |