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

Contents

Description

Gets a job document.

Synopsis

Creating a Request

getJobDocument #

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

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

  • gjdJobId - The unique identifier you assigned to this job when it was created.

data GetJobDocument #

See: getJobDocument smart constructor.

Instances
Eq GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Data GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Methods

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

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

toConstr :: GetJobDocument -> Constr #

dataTypeOf :: GetJobDocument -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Show GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Generic GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Associated Types

type Rep GetJobDocument :: * -> * #

Hashable GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

AWSRequest GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Associated Types

type Rs GetJobDocument :: * #

ToHeaders GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

ToPath GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

ToQuery GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

NFData GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Methods

rnf :: GetJobDocument -> () #

type Rep GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

type Rep GetJobDocument = D1 (MetaData "GetJobDocument" "Network.AWS.IoT.GetJobDocument" "amazonka-iot-1.6.0-7Vy7dErS7zJKuWc6mk800q" True) (C1 (MetaCons "GetJobDocument'" PrefixI True) (S1 (MetaSel (Just "_gjdJobId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetJobDocument # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Request Lenses

gjdJobId :: Lens' GetJobDocument Text #

The unique identifier you assigned to this job when it was created.

Destructuring the Response

getJobDocumentResponse #

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

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

data GetJobDocumentResponse #

See: getJobDocumentResponse smart constructor.

Instances
Eq GetJobDocumentResponse # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Data GetJobDocumentResponse # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Methods

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

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

toConstr :: GetJobDocumentResponse -> Constr #

dataTypeOf :: GetJobDocumentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetJobDocumentResponse # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Show GetJobDocumentResponse # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Generic GetJobDocumentResponse # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Associated Types

type Rep GetJobDocumentResponse :: * -> * #

NFData GetJobDocumentResponse # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

Methods

rnf :: GetJobDocumentResponse -> () #

type Rep GetJobDocumentResponse # 
Instance details

Defined in Network.AWS.IoT.GetJobDocument

type Rep GetJobDocumentResponse = D1 (MetaData "GetJobDocumentResponse" "Network.AWS.IoT.GetJobDocument" "amazonka-iot-1.6.0-7Vy7dErS7zJKuWc6mk800q" False) (C1 (MetaCons "GetJobDocumentResponse'" PrefixI True) (S1 (MetaSel (Just "_gjdrsDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gjdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

gjdrsDocument :: Lens' GetJobDocumentResponse (Maybe Text) #

The job document content.

gjdrsResponseStatus :: Lens' GetJobDocumentResponse Int #

  • - | The response status code.