DeleteWorkflowCommand

Deletes a workflow.

Example Syntax

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

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

DeleteWorkflowCommand Input

See DeleteWorkflowCommandInput for more details

Parameter
Type
Description
Name
Required
string | undefined

Name of the workflow to be deleted.

DeleteWorkflowCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
Name
string | undefined

Name of the workflow specified in input.

Throws

Name
Fault
Details
ConcurrentModificationException
client

Two processes are trying to modify a resource simultaneously.

InternalServiceException
server

An internal service error occurred.

InvalidInputException
client

The input provided was not valid.

OperationTimeoutException
client

The operation timed out.

GlueServiceException
Base exception class for all service exceptions from Glue service.