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

Description

Deletes a specified job definition. If the job definition is not found, no exception is thrown.

Synopsis

Creating a Request

data DeleteJob Source #

See: newDeleteJob smart constructor.

Constructors

DeleteJob' 

Fields

  • jobName :: Text

    The name of the job definition to delete.

Instances

Instances details
ToJSON DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

ToHeaders DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Methods

toHeaders :: DeleteJob -> [Header] #

ToPath DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

ToQuery DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

AWSRequest DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Associated Types

type AWSResponse DeleteJob #

Generic DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Associated Types

type Rep DeleteJob :: Type -> Type #

Read DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Show DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

NFData DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Methods

rnf :: DeleteJob -> () #

Eq DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Hashable DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

type AWSResponse DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

type Rep DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

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

newDeleteJob Source #

Arguments

:: Text

DeleteJob

-> DeleteJob 

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

DeleteJob, deleteJob_jobName - The name of the job definition to delete.

Request Lenses

deleteJob_jobName :: Lens' DeleteJob Text Source #

The name of the job definition to delete.

Destructuring the Response

data DeleteJobResponse Source #

See: newDeleteJobResponse smart constructor.

Constructors

DeleteJobResponse' 

Fields

Instances

Instances details
Generic DeleteJobResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Associated Types

type Rep DeleteJobResponse :: Type -> Type #

Read DeleteJobResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Show DeleteJobResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

NFData DeleteJobResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Methods

rnf :: DeleteJobResponse -> () #

Eq DeleteJobResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

type Rep DeleteJobResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

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

newDeleteJobResponse Source #

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

DeleteJob, deleteJobResponse_jobName - The name of the job definition that was deleted.

$sel:httpStatus:DeleteJobResponse', deleteJobResponse_httpStatus - The response's http status code.

Response Lenses

deleteJobResponse_jobName :: Lens' DeleteJobResponse (Maybe Text) Source #

The name of the job definition that was deleted.

deleteJobResponse_httpStatus :: Lens' DeleteJobResponse Int Source #

The response's http status code.