libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.ListOTAUpdates

Description

Lists OTA updates.

Requires permission to access the ListOTAUpdates action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListOTAUpdates Source #

See: newListOTAUpdates smart constructor.

Constructors

ListOTAUpdates' 

Fields

Instances

Instances details
Eq ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

Read ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

Show ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

Generic ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

Associated Types

type Rep ListOTAUpdates :: Type -> Type #

NFData ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

Methods

rnf :: ListOTAUpdates -> () #

Hashable ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

AWSPager ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

AWSRequest ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

Associated Types

type AWSResponse ListOTAUpdates #

ToHeaders ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

ToPath ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

ToQuery ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

type Rep ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

type Rep ListOTAUpdates = D1 ('MetaData "ListOTAUpdates" "Amazonka.IoT.ListOTAUpdates" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListOTAUpdates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "otaUpdateStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OTAUpdateStatus)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListOTAUpdates Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

newListOTAUpdates :: ListOTAUpdates Source #

Create a value of ListOTAUpdates 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:ListOTAUpdates', listOTAUpdates_nextToken - A token used to retrieve the next set of results.

$sel:otaUpdateStatus:ListOTAUpdates', listOTAUpdates_otaUpdateStatus - The OTA update job status.

$sel:maxResults:ListOTAUpdates', listOTAUpdates_maxResults - The maximum number of results to return at one time.

Request Lenses

listOTAUpdates_nextToken :: Lens' ListOTAUpdates (Maybe Text) Source #

A token used to retrieve the next set of results.

listOTAUpdates_maxResults :: Lens' ListOTAUpdates (Maybe Natural) Source #

The maximum number of results to return at one time.

Destructuring the Response

data ListOTAUpdatesResponse Source #

See: newListOTAUpdatesResponse smart constructor.

Constructors

ListOTAUpdatesResponse' 

Fields

Instances

Instances details
Eq ListOTAUpdatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

Read ListOTAUpdatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

Show ListOTAUpdatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

Generic ListOTAUpdatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

Associated Types

type Rep ListOTAUpdatesResponse :: Type -> Type #

NFData ListOTAUpdatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

Methods

rnf :: ListOTAUpdatesResponse -> () #

type Rep ListOTAUpdatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListOTAUpdates

type Rep ListOTAUpdatesResponse = D1 ('MetaData "ListOTAUpdatesResponse" "Amazonka.IoT.ListOTAUpdates" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListOTAUpdatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "otaUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OTAUpdateSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListOTAUpdatesResponse Source #

Create a value of ListOTAUpdatesResponse 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:ListOTAUpdates', listOTAUpdatesResponse_nextToken - A token to use to get the next set of results.

$sel:otaUpdates:ListOTAUpdatesResponse', listOTAUpdatesResponse_otaUpdates - A list of OTA update jobs.

$sel:httpStatus:ListOTAUpdatesResponse', listOTAUpdatesResponse_httpStatus - The response's http status code.

Response Lenses

listOTAUpdatesResponse_nextToken :: Lens' ListOTAUpdatesResponse (Maybe Text) Source #

A token to use to get the next set of results.