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

Description

Describes a job.

Requires permission to access the DescribeJob action.

Synopsis

Creating a Request

data DescribeJob Source #

See: newDescribeJob smart constructor.

Constructors

DescribeJob' 

Fields

  • jobId :: Text

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

Instances

Instances details
Eq DescribeJob Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

Read DescribeJob Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

Show DescribeJob Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

Generic DescribeJob Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

Associated Types

type Rep DescribeJob :: Type -> Type #

NFData DescribeJob Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

Methods

rnf :: DescribeJob -> () #

Hashable DescribeJob Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

AWSRequest DescribeJob Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

Associated Types

type AWSResponse DescribeJob #

ToHeaders DescribeJob Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

Methods

toHeaders :: DescribeJob -> [Header] #

ToPath DescribeJob Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

ToQuery DescribeJob Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

type Rep DescribeJob Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

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

Defined in Amazonka.IoT.DescribeJob

newDescribeJob Source #

Create a value of DescribeJob 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:jobId:DescribeJob', describeJob_jobId - The unique identifier you assigned to this job when it was created.

Request Lenses

describeJob_jobId :: Lens' DescribeJob Text Source #

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

Destructuring the Response

data DescribeJobResponse Source #

See: newDescribeJobResponse smart constructor.

Constructors

DescribeJobResponse' 

Fields

Instances

Instances details
Eq DescribeJobResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

Read DescribeJobResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

Show DescribeJobResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

Generic DescribeJobResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

Associated Types

type Rep DescribeJobResponse :: Type -> Type #

NFData DescribeJobResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

Methods

rnf :: DescribeJobResponse -> () #

type Rep DescribeJobResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeJob

type Rep DescribeJobResponse = D1 ('MetaData "DescribeJobResponse" "Amazonka.IoT.DescribeJob" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "documentSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "job") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Job)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeJobResponse Source #

Create a value of DescribeJobResponse 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:documentSource:DescribeJobResponse', describeJobResponse_documentSource - An S3 link to the job document.

$sel:job:DescribeJobResponse', describeJobResponse_job - Information about the job.

$sel:httpStatus:DescribeJobResponse', describeJobResponse_httpStatus - The response's http status code.

Response Lenses