Queries the parameter modification history of a Tair (Redis OSS-compatible) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeParameterModificationHistory |
get |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. You can call DescribeInstances to query instance IDs. |
r-bp1zxszhcgatnx**** |
| NodeId |
string |
No |
The node ID. Note
Specify this parameter to query the parameter modification history of a specific node in a cluster instance. |
r-bp1xxxxxxxxxxxxx-db-0 |
| StartTime |
string |
Yes |
The start of the time range to query. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). |
2022-09-05T08:49:27Z |
| EndTime |
string |
Yes |
The end of the time range to query. Must be later than StartTime. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). |
2022-09-05T09:49:27Z |
| ParameterName |
string |
No |
The name of the parameter. |
script_check_enable |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
963C20F0-7CE1-4591-AAF3-6F3CD1CE**** |
| HistoricalParameters |
object |
||
| HistoricalParameter |
array<object> |
The modification records of the parameters. |
|
|
object |
The modification records of the parameter. |
||
| OldParameterValue |
string |
The parameter value before modification. |
-2 |
| ParameterName |
string |
The parameter name. |
script_check_enable |
| NewParameterValue |
string |
The parameter value after modification. |
0 |
| ModifyTime |
string |
The time when the parameter was modified. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). |
2022-09-05T09:56:10Z |
Examples
Success response
JSON format
{
"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 code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidStartTime.Malformed | The Specified parameter StartTime is not valid. | |
| 400 | InvalidEndTime.Malformed | The Specified parameter EndTime is not valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.