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

Contents

Description

Describes a job.

Synopsis

Creating a Request

describeJob Source #

Arguments

:: Text

djJobId

-> DescribeJob 

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

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

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

data DescribeJob Source #

See: describeJob smart constructor.

Instances
Eq DescribeJob Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Data DescribeJob Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Methods

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

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

toConstr :: DescribeJob -> Constr #

dataTypeOf :: DescribeJob -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeJob Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Show DescribeJob Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Generic DescribeJob Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Associated Types

type Rep DescribeJob :: Type -> Type #

Hashable DescribeJob Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

AWSRequest DescribeJob Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Associated Types

type Rs DescribeJob :: Type #

ToHeaders DescribeJob Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Methods

toHeaders :: DescribeJob -> [Header] #

ToPath DescribeJob Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

ToQuery DescribeJob Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

NFData DescribeJob Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Methods

rnf :: DescribeJob -> () #

type Rep DescribeJob Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

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

Defined in Network.AWS.IoT.DescribeJob

Request Lenses

djJobId :: Lens' DescribeJob Text Source #

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

Destructuring the Response

describeJobResponse Source #

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

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

data DescribeJobResponse Source #

See: describeJobResponse smart constructor.

Instances
Eq DescribeJobResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Data DescribeJobResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Methods

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

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

toConstr :: DescribeJobResponse -> Constr #

dataTypeOf :: DescribeJobResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeJobResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Show DescribeJobResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Generic DescribeJobResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Associated Types

type Rep DescribeJobResponse :: Type -> Type #

NFData DescribeJobResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

Methods

rnf :: DescribeJobResponse -> () #

type Rep DescribeJobResponse Source # 
Instance details

Defined in Network.AWS.IoT.DescribeJob

type Rep DescribeJobResponse = D1 (MetaData "DescribeJobResponse" "Network.AWS.IoT.DescribeJob" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "DescribeJobResponse'" PrefixI True) (S1 (MetaSel (Just "_djrsDocumentSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_djrsJob") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Job)) :*: S1 (MetaSel (Just "_djrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

djrsDocumentSource :: Lens' DescribeJobResponse (Maybe Text) Source #

An S3 link to the job document.

djrsJob :: Lens' DescribeJobResponse (Maybe Job) Source #

Information about the job.

djrsResponseStatus :: Lens' DescribeJobResponse Int Source #

  • - | The response status code.