libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2
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.GreengrassV2.ListComponentVersions

Description

Retrieves a paginated list of all versions for a component. Greater versions are listed first.

This operation returns paginated results.

Synopsis

Creating a Request

data ListComponentVersions Source #

See: newListComponentVersions smart constructor.

Constructors

ListComponentVersions' 

Fields

Instances

Instances details
Eq ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

Read ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

Show ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

Generic ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

Associated Types

type Rep ListComponentVersions :: Type -> Type #

NFData ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

Methods

rnf :: ListComponentVersions -> () #

Hashable ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

AWSPager ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

AWSRequest ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

Associated Types

type AWSResponse ListComponentVersions #

ToHeaders ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

ToPath ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

ToQuery ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

type Rep ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

type Rep ListComponentVersions = D1 ('MetaData "ListComponentVersions" "Amazonka.GreengrassV2.ListComponentVersions" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "ListComponentVersions'" '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 "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListComponentVersions Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

newListComponentVersions Source #

Create a value of ListComponentVersions 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:ListComponentVersions', listComponentVersions_nextToken - The token to be used for the next set of paginated results.

$sel:maxResults:ListComponentVersions', listComponentVersions_maxResults - The maximum number of results to be returned per paginated request.

$sel:arn:ListComponentVersions', listComponentVersions_arn - The ARN of the component version.

Request Lenses

listComponentVersions_nextToken :: Lens' ListComponentVersions (Maybe Text) Source #

The token to be used for the next set of paginated results.

listComponentVersions_maxResults :: Lens' ListComponentVersions (Maybe Natural) Source #

The maximum number of results to be returned per paginated request.

Destructuring the Response

data ListComponentVersionsResponse Source #

See: newListComponentVersionsResponse smart constructor.

Constructors

ListComponentVersionsResponse' 

Fields

Instances

Instances details
Eq ListComponentVersionsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

Read ListComponentVersionsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

Show ListComponentVersionsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

Generic ListComponentVersionsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

Associated Types

type Rep ListComponentVersionsResponse :: Type -> Type #

NFData ListComponentVersionsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

type Rep ListComponentVersionsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponentVersions

type Rep ListComponentVersionsResponse = D1 ('MetaData "ListComponentVersionsResponse" "Amazonka.GreengrassV2.ListComponentVersions" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "ListComponentVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "componentVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ComponentVersionListItem])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListComponentVersionsResponse Source #

Create a value of ListComponentVersionsResponse 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:ListComponentVersions', listComponentVersionsResponse_nextToken - The token for the next set of results, or null if there are no additional results.

$sel:componentVersions:ListComponentVersionsResponse', listComponentVersionsResponse_componentVersions - A list of versions that exist for the component.

$sel:httpStatus:ListComponentVersionsResponse', listComponentVersionsResponse_httpStatus - The response's http status code.

Response Lenses

listComponentVersionsResponse_nextToken :: Lens' ListComponentVersionsResponse (Maybe Text) Source #

The token for the next set of results, or null if there are no additional results.