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.
Protected
Deletes a specified job definition. If the job definition is not found, no exception is thrown.
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 importconst 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",// };
DeleteJobCommandInput
DeleteJobCommandOutput
input
response
config
InternalServiceException (server fault)
An internal service error occurred.
InvalidInputException (client fault)
The input provided was not valid.
OperationTimeoutException (client fault)
The operation timed out.
GlueServiceException
Base exception class for all service exceptions from Glue service.
Readonly
Static
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.
Param
DeleteJobCommandInput
Returns
DeleteJobCommandOutput
See
input
shape.response
shape.config
shape.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.