Queries the storage information for downloading a backup set.
Operation description
Applicable engines
RDS MySQL (cloud disk edition)
RDS PostgreSQL
PolarDB for MySQL
MongoDB
Related documents
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:DescribeDownloadBackupSetStorageInfo |
get |
*BackupPlan
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionCode |
string |
Yes |
The ID of the region where the instance resides. |
cn-hangzhou |
| Duration |
string |
Yes |
If the download destination is a URL, this parameter specifies the validity period of the link.
|
300 |
| InstanceName |
string |
No |
The instance ID. Note
If you specify InstanceName, you must also specify BackupSetId. |
rm-uf6qqf569n435**** |
| TaskId |
string |
No |
The ID of the download task.
|
dt-s0ugzak9**** |
| BackupSetId |
string |
No |
The ID of the backup set. |
30**** |
| ClusterName |
string |
No |
This parameter is required only for MongoDB instances. It specifies the name of the sharded cluster. |
dds-example |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The request ID. |
44B8C2F5-919D-5D29-BCD5-DEB03467**** |
| ErrCode |
string |
The error code. |
DBS.ParamIsInValid |
| Success |
string |
Indicates whether the request was successful. Valid values:
|
true |
| ErrMessage |
string |
The error message. |
Argument: regionCode Must not be empty |
| Code |
string |
The error code. |
DBS.ParamIsInValid |
| Message |
string |
The error message. |
Argument: regionCode Must not be empty |
| Data |
object |
The returned data. |
|
| PublicUrl |
string |
The public URL to download the backup set. |
http://dbs-137383785969****-cn-hangzhou-1iv12nblw****.oss-cn-hangzhou.aliyuncs.com/dt-u7u4bufa****/dbs_target_file_path/test_456 |
| PrivateUrl |
string |
The private URL to download the backup set. |
http://dbs-137383785969****-cn-hangzhou-1iv12nblw****.oss-cn-hangzhou-internal.aliyuncs.com/dt-u7u4bufa****/dbs_target_file_path/test_123 |
| ExpirationTime |
integer |
The validity period of the link. Note
The value is a UNIX timestamp. |
1661329050 |
Examples
Success response
JSON format
{
"RequestId": "44B8C2F5-919D-5D29-BCD5-DEB03467****",
"ErrCode": "DBS.ParamIsInValid",
"Success": "true",
"ErrMessage": "Argument: regionCode Must not be empty",
"Code": "DBS.ParamIsInValid",
"Message": "Argument: regionCode Must not be empty",
"Data": {
"PublicUrl": "http://dbs-137383785969****-cn-hangzhou-1iv12nblw****.oss-cn-hangzhou.aliyuncs.com/dt-u7u4bufa****/dbs_target_file_path/test_456",
"PrivateUrl": "http://dbs-137383785969****-cn-hangzhou-1iv12nblw****.oss-cn-hangzhou-internal.aliyuncs.com/dt-u7u4bufa****/dbs_target_file_path/test_123",
"ExpirationTime": 1661329050
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Request.Forbidden | Have no Permissions |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.