amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.ListJobTemplates

Description

Returns a list of job templates.

Requires permission to access the ListJobTemplates action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListJobTemplates Source #

See: newListJobTemplates smart constructor.

Constructors

ListJobTemplates' 

Fields

Instances

Instances details
ToHeaders ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

ToPath ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

ToQuery ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

AWSPager ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

AWSRequest ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

Associated Types

type AWSResponse ListJobTemplates #

Generic ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

Associated Types

type Rep ListJobTemplates :: Type -> Type #

Read ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

Show ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

NFData ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

Methods

rnf :: ListJobTemplates -> () #

Eq ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

Hashable ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

type AWSResponse ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

type Rep ListJobTemplates Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

type Rep ListJobTemplates = D1 ('MetaData "ListJobTemplates" "Amazonka.IoT.ListJobTemplates" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListJobTemplates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListJobTemplates :: ListJobTemplates Source #

Create a value of ListJobTemplates 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:maxResults:ListJobTemplates', listJobTemplates_maxResults - The maximum number of results to return in the list.

ListJobTemplates, listJobTemplates_nextToken - The token to use to return the next set of results in the list.

Request Lenses

listJobTemplates_maxResults :: Lens' ListJobTemplates (Maybe Natural) Source #

The maximum number of results to return in the list.

listJobTemplates_nextToken :: Lens' ListJobTemplates (Maybe Text) Source #

The token to use to return the next set of results in the list.

Destructuring the Response

data ListJobTemplatesResponse Source #

See: newListJobTemplatesResponse smart constructor.

Constructors

ListJobTemplatesResponse' 

Fields

Instances

Instances details
Generic ListJobTemplatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

Associated Types

type Rep ListJobTemplatesResponse :: Type -> Type #

Read ListJobTemplatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

Show ListJobTemplatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

NFData ListJobTemplatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

Eq ListJobTemplatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

type Rep ListJobTemplatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListJobTemplates

type Rep ListJobTemplatesResponse = D1 ('MetaData "ListJobTemplatesResponse" "Amazonka.IoT.ListJobTemplates" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListJobTemplatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobTemplateSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListJobTemplatesResponse Source #

Create a value of ListJobTemplatesResponse 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:jobTemplates:ListJobTemplatesResponse', listJobTemplatesResponse_jobTemplates - A list of objects that contain information about the job templates.

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

$sel:httpStatus:ListJobTemplatesResponse', listJobTemplatesResponse_httpStatus - The response's http status code.

Response Lenses

listJobTemplatesResponse_jobTemplates :: Lens' ListJobTemplatesResponse (Maybe [JobTemplateSummary]) Source #

A list of objects that contain information about the job templates.

listJobTemplatesResponse_nextToken :: Lens' ListJobTemplatesResponse (Maybe Text) Source #

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