import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateRulesetRequest, CreateRulesetResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateRulesetCommand}. */ export interface CreateRulesetCommandInput extends CreateRulesetRequest { } /** * @public * * The output of {@link CreateRulesetCommand}. */ export interface CreateRulesetCommandOutput extends CreateRulesetResponse, __MetadataBearer { } declare const CreateRulesetCommand_base: { new (input: CreateRulesetCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateRulesetCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a new ruleset that can be used in a profile job to validate * the data quality of a dataset.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataBrewClient, CreateRulesetCommand } from "@aws-sdk/client-databrew"; // ES Modules import * // const { DataBrewClient, CreateRulesetCommand } = 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 = { // CreateRulesetRequest * Name: "STRING_VALUE", // required * Description: "STRING_VALUE", * TargetArn: "STRING_VALUE", // required * 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", * }, * ], * }, * ], * Tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new CreateRulesetCommand(input); * const response = await client.send(command); * // { // CreateRulesetResponse * // Name: "STRING_VALUE", // required * // }; * * ``` * * @param CreateRulesetCommandInput - {@link CreateRulesetCommandInput} * @returns {@link CreateRulesetCommandOutput} * @see {@link CreateRulesetCommandInput} for command's `input` shape. * @see {@link CreateRulesetCommandOutput} for command's `response` shape. * @see {@link DataBrewClientResolvedConfig | config} for DataBrewClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

Updating or deleting a resource can cause an inconsistent state.

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

A service quota is exceeded.

* * @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 CreateRulesetCommand extends CreateRulesetCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateRulesetRequest; output: CreateRulesetResponse; }; sdk: { input: CreateRulesetCommandInput; output: CreateRulesetCommandOutput; }; }; }