All Products
Search
Document Center

ApsaraDB RDS:DescribeModifyParameterLog

Last Updated:Sep 13, 2024

Queries the parameter modification logs of an instance.

Operation description

Supported database engines

  • MySQL
  • PostgreSQL
  • SQL Server
  • MariaDB

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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:DescribeModifyParameterLogget
  • DBInstance
    acs:rds:{#regionId}:{#accountId}:dbinstance/{#dbinstanceId}
  • rds:ResourceTag
none

Request parameters

ParameterTypeRequiredDescriptionExample
DBInstanceIdstringYes

The instance ID.

rm-uf6wjk5xxxxx
StartTimestringYes

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.

2020-03-01T00:00Z
EndTimestringYes

The end 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.

2020-03-01T10:00Z
PageSizeintegerNo

The number of entries per page. Valid values:

  • 30
  • 50
  • 100

Default value: 30.

30
PageNumberintegerNo

The page number. Pages start from page 1.

Default value: 1.

1

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

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

The number of entries per page.

1
TotalRecordCountinteger

The total number of entries returned.

1
DBInstanceIdstring

The instance ID.

rm-uf6wjk5xxxxx
Enginestring

The database engine of the instance.

mysql
PageNumberinteger

The page number.

1
EngineVersionstring

The database engine version of the instance.

5.6
Itemsarray<object>

An array that consists of parameter modification log entries.

object
Statusstring

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.
Syncing
OldParameterValuestring

The original value of the parameter.

8
ParameterNamestring

The name of the parameter.

innodb_stats_sample_pages
NewParameterValuestring

The new value of the parameter.

3
ModifyTimestring

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

1584076066000

Examples

Sample success responses

JSONformat

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

Error codes

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