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 { StartCrawlerRequest, StartCrawlerResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StartCrawlerCommand}. */ export interface StartCrawlerCommandInput extends StartCrawlerRequest { } /** * @public * * The output of {@link StartCrawlerCommand}. */ export interface StartCrawlerCommandOutput extends StartCrawlerResponse, __MetadataBearer { } declare const StartCrawlerCommand_base: { new (input: StartCrawlerCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartCrawlerCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Starts a crawl using the specified crawler, regardless * of what is scheduled. If the crawler is already running, returns a * CrawlerRunningException.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, StartCrawlerCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, StartCrawlerCommand } = 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 = { // StartCrawlerRequest * Name: "STRING_VALUE", // required * }; * const command = new StartCrawlerCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param StartCrawlerCommandInput - {@link StartCrawlerCommandInput} * @returns {@link StartCrawlerCommandOutput} * @see {@link StartCrawlerCommandInput} for command's `input` shape. * @see {@link StartCrawlerCommandOutput} 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 GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class StartCrawlerCommand extends StartCrawlerCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartCrawlerRequest; output: {}; }; sdk: { input: StartCrawlerCommandInput; output: StartCrawlerCommandOutput; }; }; }