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.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 # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

Data GetOTAUpdate Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

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 # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

Show GetOTAUpdate Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

Generic GetOTAUpdate Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

Associated Types

type Rep GetOTAUpdate :: Type -> Type #

Hashable GetOTAUpdate Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

AWSRequest GetOTAUpdate Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

Associated Types

type Rs GetOTAUpdate :: Type #

ToHeaders GetOTAUpdate Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

ToPath GetOTAUpdate Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

ToQuery GetOTAUpdate Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

NFData GetOTAUpdate Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

Methods

rnf :: GetOTAUpdate -> () #

type Rep GetOTAUpdate Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

type Rep GetOTAUpdate = D1 (MetaData "GetOTAUpdate" "Network.AWS.IoT.GetOTAUpdate" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" True) (C1 (MetaCons "GetOTAUpdate'" PrefixI True) (S1 (MetaSel (Just "_gotauOtaUpdateId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetOTAUpdate Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

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 # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

Data GetOTAUpdateResponse Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

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 # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

Show GetOTAUpdateResponse Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

Generic GetOTAUpdateResponse Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

Associated Types

type Rep GetOTAUpdateResponse :: Type -> Type #

NFData GetOTAUpdateResponse Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

Methods

rnf :: GetOTAUpdateResponse -> () #

type Rep GetOTAUpdateResponse Source # 
Instance details

Defined in Network.AWS.IoT.GetOTAUpdate

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

Response Lenses