Skip to content

/AWS1/CL_SSM=>GETPARAMETERHISTORY()

About GetParameterHistory

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, GetParameterHistory retrieves whatever the original key alias was referencing.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/SSMPSPARAMETERNAME /AWS1/SSMPSPARAMETERNAME

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.

Optional arguments:

IV_WITHDECRYPTION TYPE /AWS1/SSMBOOLEAN /AWS1/SSMBOOLEAN

Return decrypted values for secure string parameters. This flag is ignored for String and StringList parameter types.

IV_MAXRESULTS TYPE /AWS1/SSMMAXRESULTS /AWS1/SSMMAXRESULTS

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

IV_NEXTTOKEN TYPE /AWS1/SSMNEXTTOKEN /AWS1/SSMNEXTTOKEN

The token for the next set of items to return. (You received this token from a previous call.)

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMGETPARMHISTORYRS /AWS1/CL_SSMGETPARMHISTORYRS