libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.DescribeJobExecution

Description

Describes a job execution.

Requires permission to access the DescribeJobExecution action.

Synopsis

Creating a Request

data DescribeJobExecution Source #

See: newDescribeJobExecution smart constructor.

Constructors

DescribeJobExecution' 

Fields

  • executionNumber :: Maybe Integer

    A string (consisting of the digits "0" through "9" which is used to specify a particular job execution on a particular device.

  • jobId :: Text

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

  • thingName :: Text

    The name of the thing on which the job execution is running.

Instances

Instances details
Eq DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

Read DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

Show DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

Generic DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

Associated Types

type Rep DescribeJobExecution :: Type -> Type #

NFData DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

Methods

rnf :: DescribeJobExecution -> () #

Hashable DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

AWSRequest DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

Associated Types

type AWSResponse DescribeJobExecution #

ToHeaders DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

ToPath DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

ToQuery DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

type Rep DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

type Rep DescribeJobExecution = D1 ('MetaData "DescribeJobExecution" "Amazonka.IoT.DescribeJobExecution" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeJobExecution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "executionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

newDescribeJobExecution Source #

Create a value of DescribeJobExecution with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:executionNumber:DescribeJobExecution', describeJobExecution_executionNumber - A string (consisting of the digits "0" through "9" which is used to specify a particular job execution on a particular device.

$sel:jobId:DescribeJobExecution', describeJobExecution_jobId - The unique identifier you assigned to this job when it was created.

$sel:thingName:DescribeJobExecution', describeJobExecution_thingName - The name of the thing on which the job execution is running.

Request Lenses

describeJobExecution_executionNumber :: Lens' DescribeJobExecution (Maybe Integer) Source #

A string (consisting of the digits "0" through "9" which is used to specify a particular job execution on a particular device.

describeJobExecution_jobId :: Lens' DescribeJobExecution Text Source #

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

describeJobExecution_thingName :: Lens' DescribeJobExecution Text Source #

The name of the thing on which the job execution is running.

Destructuring the Response

data DescribeJobExecutionResponse Source #

See: newDescribeJobExecutionResponse smart constructor.

Constructors

DescribeJobExecutionResponse' 

Fields

Instances

Instances details
Eq DescribeJobExecutionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

Read DescribeJobExecutionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

Show DescribeJobExecutionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

Generic DescribeJobExecutionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

Associated Types

type Rep DescribeJobExecutionResponse :: Type -> Type #

NFData DescribeJobExecutionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

type Rep DescribeJobExecutionResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeJobExecution

type Rep DescribeJobExecutionResponse = D1 ('MetaData "DescribeJobExecutionResponse" "Amazonka.IoT.DescribeJobExecution" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeJobExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "execution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobExecution)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeJobExecutionResponse Source #

Create a value of DescribeJobExecutionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:execution:DescribeJobExecutionResponse', describeJobExecutionResponse_execution - Information about the job execution.

$sel:httpStatus:DescribeJobExecutionResponse', describeJobExecutionResponse_httpStatus - The response's http status code.

Response Lenses