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.GetOTAUpdate

Contents

Description

Gets an OTA update.

Synopsis

Creating a Request

getOTAUpdate Source #

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

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

data GetOTAUpdate Source #

See: getOTAUpdate smart constructor.

Instances

Eq GetOTAUpdate Source # 
Data GetOTAUpdate Source # 

Methods

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

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

toConstr :: GetOTAUpdate -> Constr #

dataTypeOf :: GetOTAUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetOTAUpdate Source # 
Show GetOTAUpdate Source # 
Generic GetOTAUpdate Source # 

Associated Types

type Rep GetOTAUpdate :: * -> * #

Hashable GetOTAUpdate Source # 
NFData GetOTAUpdate Source # 

Methods

rnf :: GetOTAUpdate -> () #

AWSRequest GetOTAUpdate Source # 
ToHeaders GetOTAUpdate Source # 
ToPath GetOTAUpdate Source # 
ToQuery GetOTAUpdate Source # 
type Rep GetOTAUpdate Source # 
type Rep GetOTAUpdate = D1 * (MetaData "GetOTAUpdate" "Network.AWS.IoT.GetOTAUpdate" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" True) (C1 * (MetaCons "GetOTAUpdate'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gotauOtaUpdateId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetOTAUpdate Source # 

Request Lenses

Destructuring the Response

getOTAUpdateResponse Source #

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

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

data GetOTAUpdateResponse Source #

See: getOTAUpdateResponse smart constructor.

Instances

Eq GetOTAUpdateResponse Source # 
Data GetOTAUpdateResponse Source # 

Methods

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

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

toConstr :: GetOTAUpdateResponse -> Constr #

dataTypeOf :: GetOTAUpdateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetOTAUpdateResponse Source # 
Show GetOTAUpdateResponse Source # 
Generic GetOTAUpdateResponse Source # 
NFData GetOTAUpdateResponse Source # 

Methods

rnf :: GetOTAUpdateResponse -> () #

type Rep GetOTAUpdateResponse Source # 
type Rep GetOTAUpdateResponse = D1 * (MetaData "GetOTAUpdateResponse" "Network.AWS.IoT.GetOTAUpdate" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "GetOTAUpdateResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gotaursOtaUpdateInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe OTAUpdateInfo))) (S1 * (MetaSel (Just Symbol "_gotaursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses