amazonka-dataexchange-2.0: Amazon Data Exchange SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataExchange.GetJob

Description

This operation returns information about a job.

Synopsis

Creating a Request

data GetJob Source #

See: newGetJob smart constructor.

Constructors

GetJob' 

Fields

  • jobId :: Text

    The unique identifier for a job.

Instances

Instances details
ToHeaders GetJob Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

Methods

toHeaders :: GetJob -> [Header] #

ToPath GetJob Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

Methods

toPath :: GetJob -> ByteString #

ToQuery GetJob Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

AWSRequest GetJob Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

Associated Types

type AWSResponse GetJob #

Generic GetJob Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

Associated Types

type Rep GetJob :: Type -> Type #

Methods

from :: GetJob -> Rep GetJob x #

to :: Rep GetJob x -> GetJob #

Read GetJob Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

Show GetJob Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

NFData GetJob Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

Methods

rnf :: GetJob -> () #

Eq GetJob Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

Methods

(==) :: GetJob -> GetJob -> Bool #

(/=) :: GetJob -> GetJob -> Bool #

Hashable GetJob Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

Methods

hashWithSalt :: Int -> GetJob -> Int #

hash :: GetJob -> Int #

type AWSResponse GetJob Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

type Rep GetJob Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

type Rep GetJob = D1 ('MetaData "GetJob" "Amazonka.DataExchange.GetJob" "amazonka-dataexchange-2.0-E9wmOad6xSxAaT3Y4FNlvY" 'False) (C1 ('MetaCons "GetJob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetJob Source #

Create a value of GetJob 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:GetJob', getJob_jobId - The unique identifier for a job.

Request Lenses

getJob_jobId :: Lens' GetJob Text Source #

The unique identifier for a job.

Destructuring the Response

data GetJobResponse Source #

See: newGetJobResponse smart constructor.

Constructors

GetJobResponse' 

Fields

Instances

Instances details
Generic GetJobResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

Associated Types

type Rep GetJobResponse :: Type -> Type #

Read GetJobResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

Show GetJobResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

NFData GetJobResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

Methods

rnf :: GetJobResponse -> () #

Eq GetJobResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

type Rep GetJobResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetJob

newGetJobResponse Source #

Create a value of GetJobResponse 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:

GetJobResponse, getJobResponse_arn - The ARN for the job.

GetJobResponse, getJobResponse_createdAt - The date and time that the job was created, in ISO 8601 format.

GetJobResponse, getJobResponse_details - Details about the job.

GetJobResponse, getJobResponse_errors - The errors associated with jobs.

GetJobResponse, getJobResponse_id - The unique identifier for the job.

GetJobResponse, getJobResponse_state - The state of the job.

GetJobResponse, getJobResponse_type - The job type.

GetJobResponse, getJobResponse_updatedAt - The date and time that the job was last updated, in ISO 8601 format.

$sel:httpStatus:GetJobResponse', getJobResponse_httpStatus - The response's http status code.

Response Lenses

getJobResponse_createdAt :: Lens' GetJobResponse (Maybe UTCTime) Source #

The date and time that the job was created, in ISO 8601 format.

getJobResponse_errors :: Lens' GetJobResponse (Maybe [JobError]) Source #

The errors associated with jobs.

getJobResponse_id :: Lens' GetJobResponse (Maybe Text) Source #

The unique identifier for the job.

getJobResponse_updatedAt :: Lens' GetJobResponse (Maybe UTCTime) Source #

The date and time that the job was last updated, in ISO 8601 format.

getJobResponse_httpStatus :: Lens' GetJobResponse Int Source #

The response's http status code.