DeleteCrawlerCommand

Removes a specified crawler from the Glue Data Catalog, unless the crawler state is RUNNING.

Example Syntax

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

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

DeleteCrawlerCommand Input

See DeleteCrawlerCommandInput for more details

Parameter
Type
Description
Name
Required
string | undefined

The name of the crawler to remove.

DeleteCrawlerCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
CrawlerRunningException
client

The operation cannot be performed because the crawler is already running.

EntityNotFoundException
client

A specified entity does not exist

OperationTimeoutException
client

The operation timed out.

SchedulerTransitioningException
client

The specified scheduler is transitioning.

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