Queries a list of log backups.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBInstanceId | string | Yes | The ID of the instance. Note
You can call the DescribeDBInstances operation to query the IDs of all AnalyticDB for PostgreSQL instances in a specific region.
| gp-bp12ga6v69h86**** |
StartTime | string | Yes | The beginning of the time range to query. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. | 2022-12-12T02:00Z |
EndTime | string | Yes | The end of the time range to query. The end time must be later than the start time. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. | 2022-12-12T03:00Z |
PageSize | integer | No | The number of entries to return on each page. Valid values:
Default value: 30. | 30 |
PageNumber | integer | No | The number of the page to return. The value must be an integer that is greater than 0. Default value: 1. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalLogSize": 386748,
"PageSize": 30,
"PageNumber": 1,
"RequestId": "24B9FCAF-2CBC-51C3-B563-F1C70D750187",
"TotalCount": 5,
"Items": [
{
"LogFileSize": 77350,
"LogTime": "2022-12-12T02:14:26Z",
"SegmentName": "segment-0",
"LogFileName": "000000010000000400000012",
"DBInstanceId": "gp-bp12ga6v69h86****-master",
"BackupId": "12413721782"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history