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

Description

Gets a job document.

Requires permission to access the GetJobDocument action.

Synopsis

Creating a Request

data GetJobDocument Source #

See: newGetJobDocument smart constructor.

Constructors

GetJobDocument' 

Fields

  • jobId :: Text

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

Instances

Instances details
Eq GetJobDocument Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

Read GetJobDocument Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

Show GetJobDocument Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

Generic GetJobDocument Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

Associated Types

type Rep GetJobDocument :: Type -> Type #

NFData GetJobDocument Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

Methods

rnf :: GetJobDocument -> () #

Hashable GetJobDocument Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

AWSRequest GetJobDocument Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

Associated Types

type AWSResponse GetJobDocument #

ToHeaders GetJobDocument Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

ToPath GetJobDocument Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

ToQuery GetJobDocument Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

type Rep GetJobDocument Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

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

Defined in Amazonka.IoT.GetJobDocument

newGetJobDocument Source #

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

Request Lenses

getJobDocument_jobId :: Lens' GetJobDocument Text Source #

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

Destructuring the Response

data GetJobDocumentResponse Source #

See: newGetJobDocumentResponse smart constructor.

Constructors

GetJobDocumentResponse' 

Fields

Instances

Instances details
Eq GetJobDocumentResponse Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

Read GetJobDocumentResponse Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

Show GetJobDocumentResponse Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

Generic GetJobDocumentResponse Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

Associated Types

type Rep GetJobDocumentResponse :: Type -> Type #

NFData GetJobDocumentResponse Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

Methods

rnf :: GetJobDocumentResponse -> () #

type Rep GetJobDocumentResponse Source # 
Instance details

Defined in Amazonka.IoT.GetJobDocument

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

newGetJobDocumentResponse Source #

Create a value of GetJobDocumentResponse 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:document:GetJobDocumentResponse', getJobDocumentResponse_document - The job document content.

$sel:httpStatus:GetJobDocumentResponse', getJobDocumentResponse_httpStatus - The response's http status code.

Response Lenses