import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; import type { DeleteCrawlerRequest, DeleteCrawlerResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteCrawlerCommand}. */ export interface DeleteCrawlerCommandInput extends DeleteCrawlerRequest { } /** * @public * * The output of {@link DeleteCrawlerCommand}. */ export interface DeleteCrawlerCommandOutput extends DeleteCrawlerResponse, __MetadataBearer { } declare const DeleteCrawlerCommand_base: { new (input: DeleteCrawlerCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteCrawlerCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

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

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, DeleteCrawlerCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, DeleteCrawlerCommand } = require("@aws-sdk/client-glue"); // CommonJS import * // import type { GlueClientConfig } from "@aws-sdk/client-glue"; * const config = {}; // type is GlueClientConfig * const client = new GlueClient(config); * const input = { // DeleteCrawlerRequest * Name: "STRING_VALUE", // required * }; * const command = new DeleteCrawlerCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteCrawlerCommandInput - {@link DeleteCrawlerCommandInput} * @returns {@link DeleteCrawlerCommandOutput} * @see {@link DeleteCrawlerCommandInput} for command's `input` shape. * @see {@link DeleteCrawlerCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link CrawlerRunningException} (client fault) *

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

* * @throws {@link EntityNotFoundException} (client fault) *

A specified entity does not exist

* * @throws {@link OperationTimeoutException} (client fault) *

The operation timed out.

* * @throws {@link SchedulerTransitioningException} (client fault) *

The specified scheduler is transitioning.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class DeleteCrawlerCommand extends DeleteCrawlerCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteCrawlerRequest; output: {}; }; sdk: { input: DeleteCrawlerCommandInput; output: DeleteCrawlerCommandOutput; }; }; }