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

Description

List all versions for a document.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDocumentVersions Source #

See: newListDocumentVersions smart constructor.

Constructors

ListDocumentVersions' 

Fields

  • nextToken :: Maybe Text

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

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

  • name :: Text

    The name of the document. You can specify an Amazon Resource Name (ARN).

Instances

Instances details
Eq ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

Read ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

Show ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

Generic ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

Associated Types

type Rep ListDocumentVersions :: Type -> Type #

NFData ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

Methods

rnf :: ListDocumentVersions -> () #

Hashable ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

ToJSON ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

AWSPager ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

AWSRequest ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

Associated Types

type AWSResponse ListDocumentVersions #

ToHeaders ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

ToPath ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

ToQuery ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

type Rep ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

type Rep ListDocumentVersions = D1 ('MetaData "ListDocumentVersions" "Amazonka.SSM.ListDocumentVersions" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "ListDocumentVersions'" '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 "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListDocumentVersions Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

newListDocumentVersions Source #

Create a value of ListDocumentVersions 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:ListDocumentVersions', listDocumentVersions_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

$sel:maxResults:ListDocumentVersions', listDocumentVersions_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:name:ListDocumentVersions', listDocumentVersions_name - The name of the document. You can specify an Amazon Resource Name (ARN).

Request Lenses

listDocumentVersions_nextToken :: Lens' ListDocumentVersions (Maybe Text) Source #

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

listDocumentVersions_maxResults :: Lens' ListDocumentVersions (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.

listDocumentVersions_name :: Lens' ListDocumentVersions Text Source #

The name of the document. You can specify an Amazon Resource Name (ARN).

Destructuring the Response

data ListDocumentVersionsResponse Source #

See: newListDocumentVersionsResponse smart constructor.

Constructors

ListDocumentVersionsResponse' 

Fields

Instances

Instances details
Eq ListDocumentVersionsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

Read ListDocumentVersionsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

Show ListDocumentVersionsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

Generic ListDocumentVersionsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

Associated Types

type Rep ListDocumentVersionsResponse :: Type -> Type #

NFData ListDocumentVersionsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

type Rep ListDocumentVersionsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListDocumentVersions

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

newListDocumentVersionsResponse Source #

Create a value of ListDocumentVersionsResponse 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:documentVersions:ListDocumentVersionsResponse', listDocumentVersionsResponse_documentVersions - The document versions.

$sel:nextToken:ListDocumentVersions', listDocumentVersionsResponse_nextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

$sel:httpStatus:ListDocumentVersionsResponse', listDocumentVersionsResponse_httpStatus - The response's http status code.

Response Lenses

listDocumentVersionsResponse_nextToken :: Lens' ListDocumentVersionsResponse (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.