All Products
Search
Document Center

:DescribeParameterModificationHistory

Last Updated:Dec 09, 2024

Queries the parameter modification history of a Tair (Redis OSS-compatible) instance.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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
kvstore:DescribeParameterModificationHistoryget
*DBInstance
acs:kvstore:{#regionId}:{#accountId}:dbinstance/{#dbinstanceId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the instance. You can call the DescribeInstances operation to query the ID of the instance.

r-bp1zxszhcgatnx****
NodeIdstringNo

The ID of the node.

Note You can set this parameter to query the parameter settings of the specified node in a cluster instance.
r-bp1xxxxxxxxxxxxx-db-0
StartTimestringYes

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

2022-09-05T08:49:27Z
EndTimestringYes

The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

2022-09-05T09:49:27Z
ParameterNamestringNo

The name of the parameter.

script_check_enable

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

963C20F0-7CE1-4591-AAF3-6F3CD1CE****
HistoricalParametersarray<object>

Details of the parameter modification records.

HistoricalParameterobject
OldParameterValuestring

The parameter value before modification.

-2
ParameterNamestring

The name of the parameter.

script_check_enable
NewParameterValuestring

The parameter value after modification.

0
ModifyTimestring

The time when the parameter was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2022-09-05T09:56:10Z

Examples

Sample success responses

JSONformat

{
  "RequestId": "963C20F0-7CE1-4591-AAF3-6F3CD1CE****",
  "HistoricalParameters": {
    "HistoricalParameter": [
      {
        "OldParameterValue": "-2",
        "ParameterName": "script_check_enable",
        "NewParameterValue": "0",
        "ModifyTime": "2022-09-05T09:56:10Z"
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidStartTime.MalformedThe Specified parameter StartTime is not valid.-
400InvalidEndTime.MalformedThe Specified parameter EndTime is not valid.The end time is invalid. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. Example: 2011-06-11T16:00Z.

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

Change history

Change timeSummary of changesOperation
2022-09-16The Error code has changed. The request parameters of the API has changedView Change Details
2022-09-16The Error code has changed. The request parameters of the API has changedView Change Details