调用DescribeInstDbLogInfo接口查询数据库支持导入历史SQL数据的时间范围。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeInstDbLogInfo

系统规定参数,取值为DescribeInstDbLogInfo

DbName String drds_test

数据库名称。

DrdsInstanceId String drds*********

实例ID。

返回数据

名称 类型 示例值 描述
LogTimeRange Struct

可查询时间。

SupportLatestTime Long 1568267711

开始时间。

SupportOldestTime Long 1568367711

结束时间。

RequestId String A5438952-70EE-4FA5-87A9-080DB0ASD45F

请求ID。

Success Boolean true

是否成功。

示例

请求示例

http(s)://[Endpoint]/?Action=DescribeInstDbLogInfo
&DbName=drds_test
&DrdsInstanceId=drds*********
&<公共请求参数>

正常返回示例

XML格式

<RequestId>A5438952-70EE-4FA5-87A9-080DB0ASD45F</RequestId>
<LogTimeRange>
    <SupportOldestTime>1568367711</SupportOldestTime>
    <SupportLatestTime>1568267711</SupportLatestTime>
</LogTimeRange>
<Success>true</Success>

JSON格式

{"RequestId":"A5438952-70EE-4FA5-87A9-080DB0ASD45F","LogTimeRange":{"SupportOldestTime":"1568367711","SupportLatestTime":"1568267711"},"Success":"true"}

错误码

HttpCode 错误码 错误信息 描述
500 InternalError The request processing has failed due to some unknown error. 请求失败,内部错误

访问错误中心查看更多错误码。