libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.ListAssociationVersions

Description

Retrieves all versions of an association for a specific association ID.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAssociationVersions Source #

See: newListAssociationVersions smart constructor.

Constructors

ListAssociationVersions' 

Fields

  • nextToken :: Maybe Text

    A token to start the list. Use this token to get the next set of results.

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

  • associationId :: Text

    The association ID for which you want to view all versions.

Instances

Instances details
Eq ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

Read ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

Show ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

Generic ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

Associated Types

type Rep ListAssociationVersions :: Type -> Type #

NFData ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

Methods

rnf :: ListAssociationVersions -> () #

Hashable ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

ToJSON ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

AWSPager ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

AWSRequest ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

ToHeaders ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

ToPath ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

ToQuery ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

type Rep ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

type Rep ListAssociationVersions = D1 ('MetaData "ListAssociationVersions" "Amazonka.SSM.ListAssociationVersions" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "ListAssociationVersions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListAssociationVersions Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

newListAssociationVersions Source #

Create a value of ListAssociationVersions 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:nextToken:ListAssociationVersions', listAssociationVersions_nextToken - A token to start the list. Use this token to get the next set of results.

$sel:maxResults:ListAssociationVersions', listAssociationVersions_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.

$sel:associationId:ListAssociationVersions', listAssociationVersions_associationId - The association ID for which you want to view all versions.

Request Lenses

listAssociationVersions_nextToken :: Lens' ListAssociationVersions (Maybe Text) Source #

A token to start the list. Use this token to get the next set of results.

listAssociationVersions_maxResults :: Lens' ListAssociationVersions (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.

listAssociationVersions_associationId :: Lens' ListAssociationVersions Text Source #

The association ID for which you want to view all versions.

Destructuring the Response

data ListAssociationVersionsResponse Source #

See: newListAssociationVersionsResponse smart constructor.

Constructors

ListAssociationVersionsResponse' 

Fields

Instances

Instances details
Eq ListAssociationVersionsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

Read ListAssociationVersionsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

Show ListAssociationVersionsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

Generic ListAssociationVersionsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

Associated Types

type Rep ListAssociationVersionsResponse :: Type -> Type #

NFData ListAssociationVersionsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

type Rep ListAssociationVersionsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListAssociationVersions

type Rep ListAssociationVersionsResponse = D1 ('MetaData "ListAssociationVersionsResponse" "Amazonka.SSM.ListAssociationVersions" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "ListAssociationVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "associationVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty AssociationVersionInfo))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAssociationVersionsResponse Source #

Create a value of ListAssociationVersionsResponse 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:nextToken:ListAssociationVersions', listAssociationVersionsResponse_nextToken - The token for the next set of items to return. Use this token to get the next set of results.

$sel:associationVersions:ListAssociationVersionsResponse', listAssociationVersionsResponse_associationVersions - Information about all versions of the association for the specified association ID.

$sel:httpStatus:ListAssociationVersionsResponse', listAssociationVersionsResponse_httpStatus - The response's http status code.

Response Lenses

listAssociationVersionsResponse_nextToken :: Lens' ListAssociationVersionsResponse (Maybe Text) Source #

The token for the next set of items to return. Use this token to get the next set of results.

listAssociationVersionsResponse_associationVersions :: Lens' ListAssociationVersionsResponse (Maybe (NonEmpty AssociationVersionInfo)) Source #

Information about all versions of the association for the specified association ID.