amazonka-iot-1.6.1: Amazon IoT SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IoT.ListOTAUpdates

Contents

Description

Lists OTA updates.

Synopsis

Creating a Request

listOTAUpdates :: ListOTAUpdates Source #

Creates a value of ListOTAUpdates with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListOTAUpdates Source #

See: listOTAUpdates smart constructor.

Instances
Eq ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Data ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListOTAUpdates -> c ListOTAUpdates #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListOTAUpdates #

toConstr :: ListOTAUpdates -> Constr #

dataTypeOf :: ListOTAUpdates -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListOTAUpdates) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListOTAUpdates) #

gmapT :: (forall b. Data b => b -> b) -> ListOTAUpdates -> ListOTAUpdates #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListOTAUpdates -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListOTAUpdates -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListOTAUpdates -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListOTAUpdates -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListOTAUpdates -> m ListOTAUpdates #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListOTAUpdates -> m ListOTAUpdates #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListOTAUpdates -> m ListOTAUpdates #

Read ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Show ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Generic ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Associated Types

type Rep ListOTAUpdates :: Type -> Type #

Hashable ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

AWSRequest ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Associated Types

type Rs ListOTAUpdates :: Type #

ToHeaders ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

ToPath ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

ToQuery ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

NFData ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Methods

rnf :: ListOTAUpdates -> () #

type Rep ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

type Rep ListOTAUpdates = D1 (MetaData "ListOTAUpdates" "Network.AWS.IoT.ListOTAUpdates" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "ListOTAUpdates'" PrefixI True) (S1 (MetaSel (Just "_lotauNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lotauOtaUpdateStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OTAUpdateStatus)) :*: S1 (MetaSel (Just "_lotauMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListOTAUpdates Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Request Lenses

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

A token used to retrieve the next set of results.

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

The maximum number of results to return at one time.

Destructuring the Response

listOTAUpdatesResponse Source #

Creates a value of ListOTAUpdatesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListOTAUpdatesResponse Source #

See: listOTAUpdatesResponse smart constructor.

Instances
Eq ListOTAUpdatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Data ListOTAUpdatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListOTAUpdatesResponse -> c ListOTAUpdatesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListOTAUpdatesResponse #

toConstr :: ListOTAUpdatesResponse -> Constr #

dataTypeOf :: ListOTAUpdatesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListOTAUpdatesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListOTAUpdatesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListOTAUpdatesResponse -> ListOTAUpdatesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListOTAUpdatesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListOTAUpdatesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListOTAUpdatesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListOTAUpdatesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListOTAUpdatesResponse -> m ListOTAUpdatesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListOTAUpdatesResponse -> m ListOTAUpdatesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListOTAUpdatesResponse -> m ListOTAUpdatesResponse #

Read ListOTAUpdatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Show ListOTAUpdatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Generic ListOTAUpdatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Associated Types

type Rep ListOTAUpdatesResponse :: Type -> Type #

NFData ListOTAUpdatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

Methods

rnf :: ListOTAUpdatesResponse -> () #

type Rep ListOTAUpdatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListOTAUpdates

type Rep ListOTAUpdatesResponse = D1 (MetaData "ListOTAUpdatesResponse" "Network.AWS.IoT.ListOTAUpdates" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "ListOTAUpdatesResponse'" PrefixI True) (S1 (MetaSel (Just "_lotaursNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lotaursOtaUpdates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [OTAUpdateSummary])) :*: S1 (MetaSel (Just "_lotaursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

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

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