amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSM.GetParameterHistory

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

This operation returns paginated results.

Synopsis

Creating a Request

data GetParameterHistory Source #

See: newGetParameterHistory smart constructor.

Constructors

GetParameterHistory' 

Fields

  • maxResults :: Maybe Natural

    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.

  • nextToken :: Maybe Text

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

  • withDecryption :: Maybe Bool

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

  • name :: Text

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

Instances

Instances details
ToJSON GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

ToHeaders GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

ToPath GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

ToQuery GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

AWSPager GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

AWSRequest GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

Associated Types

type AWSResponse GetParameterHistory #

Generic GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

Associated Types

type Rep GetParameterHistory :: Type -> Type #

Read GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

Show GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

NFData GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

Methods

rnf :: GetParameterHistory -> () #

Eq GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

Hashable GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

type AWSResponse GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

type Rep GetParameterHistory Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

type Rep GetParameterHistory = D1 ('MetaData "GetParameterHistory" "Amazonka.SSM.GetParameterHistory" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "GetParameterHistory'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "withDecryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetParameterHistory Source #

Create a value of GetParameterHistory with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:maxResults:GetParameterHistory', getParameterHistory_maxResults - 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.

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

$sel:withDecryption:GetParameterHistory', getParameterHistory_withDecryption - Return decrypted values for secure string parameters. This flag is ignored for String and StringList parameter types.

GetParameterHistory, getParameterHistory_name - The name of the parameter for which you want to review history.

Request Lenses

getParameterHistory_maxResults :: Lens' GetParameterHistory (Maybe Natural) Source #

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.

getParameterHistory_nextToken :: Lens' GetParameterHistory (Maybe Text) Source #

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

getParameterHistory_withDecryption :: Lens' GetParameterHistory (Maybe Bool) Source #

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

getParameterHistory_name :: Lens' GetParameterHistory Text Source #

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

Destructuring the Response

data GetParameterHistoryResponse Source #

See: newGetParameterHistoryResponse smart constructor.

Constructors

GetParameterHistoryResponse' 

Fields

Instances

Instances details
Generic GetParameterHistoryResponse Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

Associated Types

type Rep GetParameterHistoryResponse :: Type -> Type #

Show GetParameterHistoryResponse Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

NFData GetParameterHistoryResponse Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

Eq GetParameterHistoryResponse Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

type Rep GetParameterHistoryResponse Source # 
Instance details

Defined in Amazonka.SSM.GetParameterHistory

type Rep GetParameterHistoryResponse = D1 ('MetaData "GetParameterHistoryResponse" "Amazonka.SSM.GetParameterHistory" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "GetParameterHistoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ParameterHistory])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetParameterHistoryResponse Source #

Create a value of GetParameterHistoryResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

GetParameterHistoryResponse, getParameterHistoryResponse_parameters - A list of parameters returned by the request.

$sel:httpStatus:GetParameterHistoryResponse', getParameterHistoryResponse_httpStatus - The response's http status code.

Response Lenses

getParameterHistoryResponse_nextToken :: Lens' GetParameterHistoryResponse (Maybe Text) Source #

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