Retrieves the history of all changes to a parameter.
Parameter names can't contain spaces. The service removes any spaces specified for the beginning or end of a parameter name. If the specified name for a parameter contains spaces between characters, the request fails with a
ValidationException error.
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. This operation is authorized against the ssm:GetParameterHistory action, not against ssm:GetParameter. Because parameter history includes every version of a parameter, including the current one, a principal who is denied ssm:GetParameter, ssm:GetParameters, and ssm:GetParametersByPath but allowed ssm:GetParameterHistory can still read the current value. To restrict access to a parameter value, deny every action that can return it. For more information, see How Parameter Store authorizes parameter retrieval in the Amazon Web Services Systems Manager User Guide. This cmdlet automatically pages all available results to the pipeline - parameters related to iteration are only needed if you want to manually control the paginated output. To disable autopagination, use -NoAutoIteration.