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

Description

Retrieves a paginated list of component summaries. This list includes components that you have permission to view.

This operation returns paginated results.

Synopsis

Creating a Request

data ListComponents Source #

See: newListComponents smart constructor.

Constructors

ListComponents' 

Fields

Instances

Instances details
Eq ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

Read ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

Show ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

Generic ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

Associated Types

type Rep ListComponents :: Type -> Type #

NFData ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

Methods

rnf :: ListComponents -> () #

Hashable ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

AWSPager ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

AWSRequest ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

Associated Types

type AWSResponse ListComponents #

ToHeaders ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

ToPath ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

ToQuery ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

type Rep ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

type Rep ListComponents = D1 ('MetaData "ListComponents" "Amazonka.GreengrassV2.ListComponents" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "ListComponents'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComponentVisibilityScope)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListComponents Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

newListComponents :: ListComponents Source #

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

$sel:scope:ListComponents', listComponents_scope - The scope of the components to list.

Default: PRIVATE

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

Request Lenses

listComponents_nextToken :: Lens' ListComponents (Maybe Text) Source #

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

listComponents_scope :: Lens' ListComponents (Maybe ComponentVisibilityScope) Source #

The scope of the components to list.

Default: PRIVATE

listComponents_maxResults :: Lens' ListComponents (Maybe Natural) Source #

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

Destructuring the Response

data ListComponentsResponse Source #

See: newListComponentsResponse smart constructor.

Constructors

ListComponentsResponse' 

Fields

Instances

Instances details
Eq ListComponentsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

Read ListComponentsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

Show ListComponentsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

Generic ListComponentsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

Associated Types

type Rep ListComponentsResponse :: Type -> Type #

NFData ListComponentsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

Methods

rnf :: ListComponentsResponse -> () #

type Rep ListComponentsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListComponents

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

newListComponentsResponse Source #

Create a value of ListComponentsResponse 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:components:ListComponentsResponse', listComponentsResponse_components - A list that summarizes each component.

$sel:nextToken:ListComponents', listComponentsResponse_nextToken - The token for the next set of results, or null if there are no additional results.

$sel:httpStatus:ListComponentsResponse', listComponentsResponse_httpStatus - The response's http status code.

Response Lenses

listComponentsResponse_nextToken :: Lens' ListComponentsResponse (Maybe Text) Source #

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