libZSservicesZSamazonka-greengrassZSamazonka-greengrass
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.Greengrass.ListResourceDefinitions

Description

Retrieves a list of resource definitions.

This operation returns paginated results.

Synopsis

Creating a Request

data ListResourceDefinitions Source #

See: newListResourceDefinitions smart constructor.

Constructors

ListResourceDefinitions' 

Fields

  • nextToken :: Maybe Text

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

  • maxResults :: Maybe Text

    The maximum number of results to be returned per request.

Instances

Instances details
Eq ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

Read ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

Show ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

Generic ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

Associated Types

type Rep ListResourceDefinitions :: Type -> Type #

NFData ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

Methods

rnf :: ListResourceDefinitions -> () #

Hashable ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

AWSPager ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

AWSRequest ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

ToHeaders ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

ToPath ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

ToQuery ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

type Rep ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

type Rep ListResourceDefinitions = D1 ('MetaData "ListResourceDefinitions" "Amazonka.Greengrass.ListResourceDefinitions" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "ListResourceDefinitions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListResourceDefinitions Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

newListResourceDefinitions :: ListResourceDefinitions Source #

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

$sel:maxResults:ListResourceDefinitions', listResourceDefinitions_maxResults - The maximum number of results to be returned per request.

Request Lenses

listResourceDefinitions_nextToken :: Lens' ListResourceDefinitions (Maybe Text) Source #

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

listResourceDefinitions_maxResults :: Lens' ListResourceDefinitions (Maybe Text) Source #

The maximum number of results to be returned per request.

Destructuring the Response

data ListResourceDefinitionsResponse Source #

See: newListResourceDefinitionsResponse smart constructor.

Constructors

ListResourceDefinitionsResponse' 

Fields

Instances

Instances details
Eq ListResourceDefinitionsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

Read ListResourceDefinitionsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

Show ListResourceDefinitionsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

Generic ListResourceDefinitionsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

Associated Types

type Rep ListResourceDefinitionsResponse :: Type -> Type #

NFData ListResourceDefinitionsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

type Rep ListResourceDefinitionsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListResourceDefinitions

type Rep ListResourceDefinitionsResponse = D1 ('MetaData "ListResourceDefinitionsResponse" "Amazonka.Greengrass.ListResourceDefinitions" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "ListResourceDefinitionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "definitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DefinitionInformation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListResourceDefinitionsResponse Source #

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

$sel:definitions:ListResourceDefinitionsResponse', listResourceDefinitionsResponse_definitions - Information about a definition.

$sel:httpStatus:ListResourceDefinitionsResponse', listResourceDefinitionsResponse_httpStatus - The response's http status code.

Response Lenses

listResourceDefinitionsResponse_nextToken :: Lens' ListResourceDefinitionsResponse (Maybe Text) Source #

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