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

Description

Retrieves an existing job definition.

Synopsis

Creating a Request

data GetJob Source #

See: newGetJob smart constructor.

Constructors

GetJob' 

Fields

  • jobName :: Text

    The name of the job definition to retrieve.

Instances

Instances details
Eq GetJob Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Methods

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

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

Read GetJob Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Show GetJob Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Generic GetJob Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Associated Types

type Rep GetJob :: Type -> Type #

Methods

from :: GetJob -> Rep GetJob x #

to :: Rep GetJob x -> GetJob #

NFData GetJob Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Methods

rnf :: GetJob -> () #

Hashable GetJob Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Methods

hashWithSalt :: Int -> GetJob -> Int #

hash :: GetJob -> Int #

ToJSON GetJob Source # 
Instance details

Defined in Amazonka.Glue.GetJob

AWSRequest GetJob Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Associated Types

type AWSResponse GetJob #

ToHeaders GetJob Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Methods

toHeaders :: GetJob -> [Header] #

ToPath GetJob Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Methods

toPath :: GetJob -> ByteString #

ToQuery GetJob Source # 
Instance details

Defined in Amazonka.Glue.GetJob

type Rep GetJob Source # 
Instance details

Defined in Amazonka.Glue.GetJob

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

Defined in Amazonka.Glue.GetJob

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:jobName:GetJob', getJob_jobName - The name of the job definition to retrieve.

Request Lenses

getJob_jobName :: Lens' GetJob Text Source #

The name of the job definition to retrieve.

Destructuring the Response

data GetJobResponse Source #

See: newGetJobResponse smart constructor.

Constructors

GetJobResponse' 

Fields

Instances

Instances details
Eq GetJobResponse Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Read GetJobResponse Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Show GetJobResponse Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Generic GetJobResponse Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Associated Types

type Rep GetJobResponse :: Type -> Type #

NFData GetJobResponse Source # 
Instance details

Defined in Amazonka.Glue.GetJob

Methods

rnf :: GetJobResponse -> () #

type Rep GetJobResponse Source # 
Instance details

Defined in Amazonka.Glue.GetJob

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

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:

$sel:job:GetJobResponse', getJobResponse_job - The requested job definition.

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

Response Lenses

getJobResponse_job :: Lens' GetJobResponse (Maybe Job) Source #

The requested job definition.

getJobResponse_httpStatus :: Lens' GetJobResponse Int Source #

The response's http status code.