import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateRulesetRequest, UpdateRulesetResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateRulesetCommand}. */ export interface UpdateRulesetCommandInput extends UpdateRulesetRequest { } /** * @public * * The output of {@link UpdateRulesetCommand}. */ export interface UpdateRulesetCommandOutput extends UpdateRulesetResponse, __MetadataBearer { } declare const UpdateRulesetCommand_base: { new (input: UpdateRulesetCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateRulesetCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates specified ruleset.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataBrewClient, UpdateRulesetCommand } from "@aws-sdk/client-databrew"; // ES Modules import * // const { DataBrewClient, UpdateRulesetCommand } = require("@aws-sdk/client-databrew"); // CommonJS import * // import type { DataBrewClientConfig } from "@aws-sdk/client-databrew"; * const config = {}; // type is DataBrewClientConfig * const client = new DataBrewClient(config); * const input = { // UpdateRulesetRequest * Name: "STRING_VALUE", // required * Description: "STRING_VALUE", * Rules: [ // RuleList // required * { // Rule * Name: "STRING_VALUE", // required * Disabled: true || false, * CheckExpression: "STRING_VALUE", // required * SubstitutionMap: { // ValuesMap * "": "STRING_VALUE", * }, * Threshold: { // Threshold * Value: Number("double"), // required * Type: "GREATER_THAN_OR_EQUAL" || "LESS_THAN_OR_EQUAL" || "GREATER_THAN" || "LESS_THAN", * Unit: "COUNT" || "PERCENTAGE", * }, * ColumnSelectors: [ // ColumnSelectorList * { // ColumnSelector * Regex: "STRING_VALUE", * Name: "STRING_VALUE", * }, * ], * }, * ], * }; * const command = new UpdateRulesetCommand(input); * const response = await client.send(command); * // { // UpdateRulesetResponse * // Name: "STRING_VALUE", // required * // }; * * ``` * * @param UpdateRulesetCommandInput - {@link UpdateRulesetCommandInput} * @returns {@link UpdateRulesetCommandOutput} * @see {@link UpdateRulesetCommandInput} for command's `input` shape. * @see {@link UpdateRulesetCommandOutput} for command's `response` shape. * @see {@link DataBrewClientResolvedConfig | config} for DataBrewClient's `config` shape. * * @throws {@link ResourceNotFoundException} (client fault) *

One or more resources can't be found.

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

The input parameters for this request failed validation.

* * @throws {@link DataBrewServiceException} *

Base exception class for all service exceptions from DataBrew service.

* * * @public */ export declare class UpdateRulesetCommand extends UpdateRulesetCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateRulesetRequest; output: UpdateRulesetResponse; }; sdk: { input: UpdateRulesetCommandInput; output: UpdateRulesetCommandOutput; }; }; }