libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.GetJobRun

Description

Retrieves the metadata for a given job run.

Synopsis

Creating a Request

data GetJobRun Source #

See: newGetJobRun smart constructor.

Constructors

GetJobRun' 

Fields

Instances

Instances details
Eq GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

Read GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

Show GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

Generic GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

Associated Types

type Rep GetJobRun :: Type -> Type #

NFData GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

Methods

rnf :: GetJobRun -> () #

Hashable GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

ToJSON GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

AWSRequest GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

Associated Types

type AWSResponse GetJobRun #

ToHeaders GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

Methods

toHeaders :: GetJobRun -> [Header] #

ToPath GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

ToQuery GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

type Rep GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

type Rep GetJobRun = D1 ('MetaData "GetJobRun" "Amazonka.Glue.GetJobRun" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetJobRun'" 'PrefixI 'True) (S1 ('MetaSel ('Just "predecessorsIncluded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "runId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetJobRun Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

newGetJobRun Source #

Create a value of GetJobRun 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:predecessorsIncluded:GetJobRun', getJobRun_predecessorsIncluded - True if a list of predecessor runs should be returned.

$sel:jobName:GetJobRun', getJobRun_jobName - Name of the job definition being run.

$sel:runId:GetJobRun', getJobRun_runId - The ID of the job run.

Request Lenses

getJobRun_predecessorsIncluded :: Lens' GetJobRun (Maybe Bool) Source #

True if a list of predecessor runs should be returned.

getJobRun_jobName :: Lens' GetJobRun Text Source #

Name of the job definition being run.

getJobRun_runId :: Lens' GetJobRun Text Source #

The ID of the job run.

Destructuring the Response

data GetJobRunResponse Source #

See: newGetJobRunResponse smart constructor.

Constructors

GetJobRunResponse' 

Fields

Instances

Instances details
Eq GetJobRunResponse Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

Read GetJobRunResponse Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

Show GetJobRunResponse Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

Generic GetJobRunResponse Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

Associated Types

type Rep GetJobRunResponse :: Type -> Type #

NFData GetJobRunResponse Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

Methods

rnf :: GetJobRunResponse -> () #

type Rep GetJobRunResponse Source # 
Instance details

Defined in Amazonka.Glue.GetJobRun

type Rep GetJobRunResponse = D1 ('MetaData "GetJobRunResponse" "Amazonka.Glue.GetJobRun" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetJobRunResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobRun)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetJobRunResponse Source #

Create a value of GetJobRunResponse 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:jobRun:GetJobRunResponse', getJobRunResponse_jobRun - The requested job-run metadata.

$sel:httpStatus:GetJobRunResponse', getJobRunResponse_httpStatus - The response's http status code.

Response Lenses

getJobRunResponse_httpStatus :: Lens' GetJobRunResponse Int Source #

The response's http status code.