amazonka-iot-1.6.0: 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 # 
Data ListOTAUpdates Source # 

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 # 
Show ListOTAUpdates Source # 
Generic ListOTAUpdates Source # 

Associated Types

type Rep ListOTAUpdates :: * -> * #

Hashable ListOTAUpdates Source # 
NFData ListOTAUpdates Source # 

Methods

rnf :: ListOTAUpdates -> () #

AWSRequest ListOTAUpdates Source # 
ToHeaders ListOTAUpdates Source # 
ToPath ListOTAUpdates Source # 
ToQuery ListOTAUpdates Source # 
type Rep ListOTAUpdates Source # 
type Rep ListOTAUpdates = D1 * (MetaData "ListOTAUpdates" "Network.AWS.IoT.ListOTAUpdates" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "ListOTAUpdates'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lotauNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lotauOtaUpdateStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe OTAUpdateStatus))) (S1 * (MetaSel (Just Symbol "_lotauMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs ListOTAUpdates Source # 

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 # 
Data ListOTAUpdatesResponse Source # 

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 # 
Show ListOTAUpdatesResponse Source # 
Generic ListOTAUpdatesResponse Source # 
NFData ListOTAUpdatesResponse Source # 

Methods

rnf :: ListOTAUpdatesResponse -> () #

type Rep ListOTAUpdatesResponse Source # 
type Rep ListOTAUpdatesResponse = D1 * (MetaData "ListOTAUpdatesResponse" "Network.AWS.IoT.ListOTAUpdates" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "ListOTAUpdatesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lotaursNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lotaursOtaUpdates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [OTAUpdateSummary]))) (S1 * (MetaSel (Just Symbol "_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.