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.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
Eq DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Read DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Show DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Generic DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Associated Types

type Rep DeleteJob :: Type -> Type #

NFData DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Methods

rnf :: DeleteJob -> () #

Hashable DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

ToJSON DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

AWSRequest DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Associated Types

type AWSResponse 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

type Rep DeleteJob Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

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

Defined in Amazonka.Glue.DeleteJob

newDeleteJob Source #

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:

$sel:jobName: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
Eq DeleteJobResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Read DeleteJobResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Show DeleteJobResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Generic DeleteJobResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Associated Types

type Rep DeleteJobResponse :: Type -> Type #

NFData DeleteJobResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

Methods

rnf :: DeleteJobResponse -> () #

type Rep DeleteJobResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteJob

type Rep DeleteJobResponse = D1 ('MetaData "DeleteJobResponse" "Amazonka.Glue.DeleteJob" "libZSservicesZSamazonka-glueZSamazonka-glue" '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:

$sel:jobName: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.