All Products
Search
Document Center

AnalyticDB for PostgreSQL:DescribeModifyParameterLog

Last Updated:Mar 03, 2024

Queries the parameter modification logs of an AnalyticDB for PostgreSQL instance.

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
gpdb:DescribeModifyParameterLogRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DBInstanceIdstringYes

The instance ID.

Note You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
gp-xxxxxx
StartTimestringNo

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-02-02T11:22:22Z
EndTimestringNo

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. The end time must be later than the start time.

2020-05-05T11:22:22Z

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

7565770E-7C45-462D-BA4A-8A5396F2CAD1
Changelogsobject []

The queried parameter modification logs.

ParameterValueAfterstring

The original value of the parameter.

100
ParameterNamestring

The name of the parameter.

testkey
EffectTimestring

The effective time.

2020-05-05T11:22:22Z
ParameterValueBeforestring

The new value of the parameter.

200
ParameterValidstring

Indicates whether the modification takes effect.

true

Examples

Sample success responses

JSONformat

{
  "RequestId": "7565770E-7C45-462D-BA4A-8A5396F2CAD1",
  "Changelogs": [
    {
      "ParameterValueAfter": "100",
      "ParameterName": "testkey",
      "EffectTime": "2020-05-05T11:22:22Z",
      "ParameterValueBefore": "200",
      "ParameterValid": "true"
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history