Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class DeleteJobCommandProtected

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

Example

Use a bare-bones client and the command you need to make an API call.

import { GlueClient, DeleteJobCommand } from "@aws-sdk/client-glue"; // ES Modules import
// const { GlueClient, DeleteJobCommand } = require("@aws-sdk/client-glue"); // CommonJS import
const client = new GlueClient(config);
const input = { // DeleteJobRequest
JobName: "STRING_VALUE", // required
};
const command = new DeleteJobCommand(input);
const response = await client.send(command);
// { // DeleteJobResponse
// JobName: "STRING_VALUE",
// };

Param

DeleteJobCommandInput

Returns

DeleteJobCommandOutput

See

Throws

InternalServiceException (server fault)

An internal service error occurred.

Throws

InvalidInputException (client fault)

The input provided was not valid.

Throws

OperationTimeoutException (client fault)

The operation timed out.

Throws

GlueServiceException

Base exception class for all service exceptions from Glue service.

Hierarchy

Constructors

Properties

middlewareStack: MiddlewareStack<DeleteJobCommandInput, DeleteJobCommandOutput>

Methods