v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141381,185842.7 KB

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.

post/#X-Amz-Target=AmazonSSM.GetParameterHistory

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'AmazonSSM.GetParameterHistory' required

Request body

Namestring required

The name of the parameter for which you want to review history.

WithDecryptionboolean

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

MaxResultsinteger

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.

NextTokenstring

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

Response

Success

NextTokenstring

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.