All Products
Search
Document Center

ApsaraDB RDS:DescribeModifyParameterLog

Last Updated:May 29, 2023

Queries the parameter reconfiguration logs of an ApsaraDB for RDS instance.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
rds:DescribeModifyParameterLogREAD
  • RDS
    acs:rds:{#regionId}:{#accountId}:dbinstance/{#dbinstanceId}
  • rds:ResourceTag
none

Request parameters

ParameterTypeRequiredDescriptionExample
DBInstanceIdstringYes

The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.

rm-uf6wjk5xxxxx
StartTimestringYes

The end of the time range to query. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.

2020-03-01T00:00Z
EndTimestringYes

The number of entries to return on each page. Valid values:

  • 30
  • 50
  • 100

Default value: 30.

2020-03-01T10:00Z
PageSizeintegerNo

The number of the page to return. Pages start from page 1.

Default value: 1.

30
PageNumberintegerNo

The ID of the request.

1

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The number of entries returned per page.

C8E88DED-533F-4B3C-9207-731FBF394CCA
PageRecordCountinteger

The total number of entries returned.

1
TotalRecordCountinteger

The ID of the RDS instance.

1
DBInstanceIdstring

The database engine that the RDS instance runs.

rm-uf6wjk5xxxxx
Enginestring

The page number of the returned page.

mysql
PageNumberinteger

The version of the database engine that the RDS instance runs.

1
EngineVersionstring

An array that consists of parameter reconfiguration log entries.

5.6
Itemsobject []

The status of the new value specified for the parameter. Valid values:

  • Applied: The new value has taken effect.
  • Syncing: The new value is being applied and has not taken effect.
Statusstring

The original value of the parameter.

Syncing
OldParameterValuestring

The name of the parameter.

8
ParameterNamestring

The new value of the parameter.

innodb_stats_sample_pages
NewParameterValuestring

The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.

3
ModifyTimestring

Queries the parameter reconfiguration logs of an ApsaraDB for RDS instance.

1584076066000

Examples

Sample success responses

JSONformat

{"EngineVersion":"5.6",
   "Engine":"mysql",
   "RequestId":"C8E88DED-533F-4B3C-9207-731FBF394CCA",
   "DBInstanceId":"rm-uf6wjk5xxxxx",
   "PageNumber":"1",
   "PageRecordCount":"1",
   "TotalRecordCount":"1",
   "Items":
    {"ParameterChangeLog":
      [{"Status":"Syncing",
        "ModifyTime":"1584076066000",
        "NewParameterValue":"3",
        "OldParameterValue":"8",
        "ParameterName":"innodb_stats_sample_pages"}]}
   }

XMLformat

<DescribeModifyParameterLogResponse>
<EngineVersion>5.6</EngineVersion>
<Engine>mysql</Engine>
<RequestId>C8E88DED-533F-4B3C-9207-731FBF394CCA</RequestId>
<DBInstanceId>rm-uf6wjk5xxxxx</DBInstanceId>
<PageNumber>1</PageNumber>
<PageRecordCount>1</PageRecordCount>
<TotalRecordCount>1</TotalRecordCount>
<Items>
    <ParameterChangeLog>
        <Status>Syncing</Status>
        <ModifyTime>1584076066000</ModifyTime>
        <NewParameterValue>3</NewParameterValue>
        <OldParameterValue>8</OldParameterValue>
        <ParameterName>innodb_stats_sample_pages</ParameterName>
    </ParameterChangeLog>
</Items>
</DescribeModifyParameterLogResponse>

Error codes

For a list of error codes, visit the Service error codes.