amazonka-glue-2.0: Amazon Glue 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.Glue.UpdateJob

Description

Updates an existing job definition. The previous job definition is completely overwritten by this information.

Synopsis

Creating a Request

data UpdateJob Source #

See: newUpdateJob smart constructor.

Constructors

UpdateJob' 

Fields

  • jobName :: Text

    The name of the job definition to update.

  • jobUpdate :: JobUpdate

    Specifies the values with which to update the job definition. Unspecified configuration is removed or reset to default values.

Instances

Instances details
ToJSON UpdateJob Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

ToHeaders UpdateJob Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

Methods

toHeaders :: UpdateJob -> [Header] #

ToPath UpdateJob Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

ToQuery UpdateJob Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

AWSRequest UpdateJob Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

Associated Types

type AWSResponse UpdateJob #

Generic UpdateJob Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

Associated Types

type Rep UpdateJob :: Type -> Type #

Show UpdateJob Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

NFData UpdateJob Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

Methods

rnf :: UpdateJob -> () #

Eq UpdateJob Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

Hashable UpdateJob Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

type AWSResponse UpdateJob Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

type Rep UpdateJob Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

type Rep UpdateJob = D1 ('MetaData "UpdateJob" "Amazonka.Glue.UpdateJob" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "UpdateJob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "jobUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobUpdate)))

newUpdateJob Source #

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

UpdateJob, updateJob_jobName - The name of the job definition to update.

$sel:jobUpdate:UpdateJob', updateJob_jobUpdate - Specifies the values with which to update the job definition. Unspecified configuration is removed or reset to default values.

Request Lenses

updateJob_jobName :: Lens' UpdateJob Text Source #

The name of the job definition to update.

updateJob_jobUpdate :: Lens' UpdateJob JobUpdate Source #

Specifies the values with which to update the job definition. Unspecified configuration is removed or reset to default values.

Destructuring the Response

data UpdateJobResponse Source #

See: newUpdateJobResponse smart constructor.

Constructors

UpdateJobResponse' 

Fields

Instances

Instances details
Generic UpdateJobResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

Associated Types

type Rep UpdateJobResponse :: Type -> Type #

Read UpdateJobResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

Show UpdateJobResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

NFData UpdateJobResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

Methods

rnf :: UpdateJobResponse -> () #

Eq UpdateJobResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

type Rep UpdateJobResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateJob

type Rep UpdateJobResponse = D1 ('MetaData "UpdateJobResponse" "Amazonka.Glue.UpdateJob" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "UpdateJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateJobResponse Source #

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

UpdateJob, updateJobResponse_jobName - Returns the name of the updated job definition.

$sel:httpStatus:UpdateJobResponse', updateJobResponse_httpStatus - The response's http status code.

Response Lenses

updateJobResponse_jobName :: Lens' UpdateJobResponse (Maybe Text) Source #

Returns the name of the updated job definition.

updateJobResponse_httpStatus :: Lens' UpdateJobResponse Int Source #

The response's http status code.