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

Modifies an existing classifier (a GrokClassifier, * an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on * which field is present).

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, UpdateClassifierCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, UpdateClassifierCommand } = 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 = { // UpdateClassifierRequest * GrokClassifier: { // UpdateGrokClassifierRequest * Name: "STRING_VALUE", // required * Classification: "STRING_VALUE", * GrokPattern: "STRING_VALUE", * CustomPatterns: "STRING_VALUE", * }, * XMLClassifier: { // UpdateXMLClassifierRequest * Name: "STRING_VALUE", // required * Classification: "STRING_VALUE", * RowTag: "STRING_VALUE", * }, * JsonClassifier: { // UpdateJsonClassifierRequest * Name: "STRING_VALUE", // required * JsonPath: "STRING_VALUE", * }, * CsvClassifier: { // UpdateCsvClassifierRequest * Name: "STRING_VALUE", // required * Delimiter: "STRING_VALUE", * QuoteSymbol: "STRING_VALUE", * ContainsHeader: "UNKNOWN" || "PRESENT" || "ABSENT", * Header: [ // CsvHeader * "STRING_VALUE", * ], * DisableValueTrimming: true || false, * AllowSingleColumn: true || false, * CustomDatatypeConfigured: true || false, * CustomDatatypes: [ // CustomDatatypes * "STRING_VALUE", * ], * Serde: "OpenCSVSerDe" || "LazySimpleSerDe" || "None", * }, * }; * const command = new UpdateClassifierCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateClassifierCommandInput - {@link UpdateClassifierCommandInput} * @returns {@link UpdateClassifierCommandOutput} * @see {@link UpdateClassifierCommandInput} for command's `input` shape. * @see {@link UpdateClassifierCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link EntityNotFoundException} (client fault) *

A specified entity does not exist

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

The input provided was not valid.

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

The operation timed out.

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

There was a version conflict.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class UpdateClassifierCommand extends UpdateClassifierCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateClassifierRequest; output: {}; }; sdk: { input: UpdateClassifierCommandInput; output: UpdateClassifierCommandOutput; }; }; }