Get Parameter History
| ssm_get_parameter_history | R Documentation |
Retrieves the history of all changes to a parameter¶
Description¶
Retrieves the history of all changes to a parameter.
If you change the KMS key alias for the KMS key used to encrypt a
parameter, then you must also update the key alias the parameter uses to
reference KMS. Otherwise, get_parameter_history retrieves whatever the
original key alias was referencing.
Usage¶
Arguments¶
Name[required] The name or Amazon Resource Name (ARN) of the parameter for which you want to review history. For parameters shared with you from another account, you must use the full ARN.
WithDecryptionReturn decrypted values for secure string parameters. This flag is ignored for
StringandStringListparameter types.MaxResultsThe maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
NextTokenThe token for the next set of items to return. (You received this token from a previous call.)
Value¶
A list with the following syntax:
list(
Parameters = list(
list(
Name = "string",
Type = "String"|"StringList"|"SecureString",
KeyId = "string",
LastModifiedDate = as.POSIXct(
"2015-01-01"
),
LastModifiedUser = "string",
Description = "string",
Value = "string",
AllowedPattern = "string",
Version = 123,
Labels = list(
"string"
),
Tier = "Standard"|"Advanced"|"Intelligent-Tiering",
Policies = list(
list(
PolicyText = "string",
PolicyType = "string",
PolicyStatus = "string"
)
),
DataType = "string"
)
),
NextToken = "string"
)