libZSservicesZSamazonka-iot-jobs-dataplaneZSamazonka-iot-jobs-dataplane
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.IoTJobsData.DescribeJobExecution

Description

Gets details of a job execution.

Synopsis

Creating a Request

data DescribeJobExecution Source #

See: newDescribeJobExecution smart constructor.

Constructors

DescribeJobExecution' 

Fields

  • includeJobDocument :: Maybe Bool

    Optional. When set to true, the response contains the job document. The default is false.

  • executionNumber :: Maybe Integer

    Optional. A number that identifies a particular job execution on a particular device. If not specified, the latest job execution is returned.

  • jobId :: Text

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

  • thingName :: Text

    The thing name associated with the device the job execution is running on.

Instances

Instances details
Eq DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

Read DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

Show DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

Generic DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

Associated Types

type Rep DescribeJobExecution :: Type -> Type #

NFData DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

Methods

rnf :: DescribeJobExecution -> () #

Hashable DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

AWSRequest DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

Associated Types

type AWSResponse DescribeJobExecution #

ToHeaders DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

ToPath DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

ToQuery DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

type Rep DescribeJobExecution Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

type Rep DescribeJobExecution = D1 ('MetaData "DescribeJobExecution" "Amazonka.IoTJobsData.DescribeJobExecution" "libZSservicesZSamazonka-iot-jobs-dataplaneZSamazonka-iot-jobs-dataplane" 'False) (C1 ('MetaCons "DescribeJobExecution'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "includeJobDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: 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.IoTJobsData.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:includeJobDocument:DescribeJobExecution', describeJobExecution_includeJobDocument - Optional. When set to true, the response contains the job document. The default is false.

$sel:executionNumber:DescribeJobExecution', describeJobExecution_executionNumber - Optional. A number that identifies a particular job execution on a particular device. If not specified, the latest job execution is returned.

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

$sel:thingName:DescribeJobExecution', describeJobExecution_thingName - The thing name associated with the device the job execution is running on.

Request Lenses

describeJobExecution_includeJobDocument :: Lens' DescribeJobExecution (Maybe Bool) Source #

Optional. When set to true, the response contains the job document. The default is false.

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

Optional. A number that identifies a particular job execution on a particular device. If not specified, the latest job execution is returned.

describeJobExecution_jobId :: Lens' DescribeJobExecution Text Source #

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

describeJobExecution_thingName :: Lens' DescribeJobExecution Text Source #

The thing name associated with the device the job execution is running on.

Destructuring the Response

data DescribeJobExecutionResponse Source #

See: newDescribeJobExecutionResponse smart constructor.

Constructors

DescribeJobExecutionResponse' 

Fields

Instances

Instances details
Eq DescribeJobExecutionResponse Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

Read DescribeJobExecutionResponse Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

Show DescribeJobExecutionResponse Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

Generic DescribeJobExecutionResponse Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

Associated Types

type Rep DescribeJobExecutionResponse :: Type -> Type #

NFData DescribeJobExecutionResponse Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

type Rep DescribeJobExecutionResponse Source # 
Instance details

Defined in Amazonka.IoTJobsData.DescribeJobExecution

type Rep DescribeJobExecutionResponse = D1 ('MetaData "DescribeJobExecutionResponse" "Amazonka.IoTJobsData.DescribeJobExecution" "libZSservicesZSamazonka-iot-jobs-dataplaneZSamazonka-iot-jobs-dataplane" '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 - Contains data about a job execution.

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

Response Lenses