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

Once you have a ruleset definition (either recommended or your own), you call this operation to evaluate the ruleset against a data source (Glue table). The evaluation computes results which you can retrieve with the GetDataQualityResult API.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, StartDataQualityRulesetEvaluationRunCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, StartDataQualityRulesetEvaluationRunCommand } = 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 = { // StartDataQualityRulesetEvaluationRunRequest * DataSource: { // DataSource * GlueTable: { // GlueTable * DatabaseName: "STRING_VALUE", // required * TableName: "STRING_VALUE", // required * CatalogId: "STRING_VALUE", * ConnectionName: "STRING_VALUE", * AdditionalOptions: { // GlueTableAdditionalOptions * "": "STRING_VALUE", * }, * }, * DataQualityGlueTable: { // DataQualityGlueTable * DatabaseName: "STRING_VALUE", // required * TableName: "STRING_VALUE", // required * CatalogId: "STRING_VALUE", * ConnectionName: "STRING_VALUE", * AdditionalOptions: { * "": "STRING_VALUE", * }, * PreProcessingQuery: "STRING_VALUE", * }, * }, * Role: "STRING_VALUE", // required * NumberOfWorkers: Number("int"), * Timeout: Number("int"), * ClientToken: "STRING_VALUE", * AdditionalRunOptions: { // DataQualityEvaluationRunAdditionalRunOptions * CloudWatchMetricsEnabled: true || false, * ResultsS3Prefix: "STRING_VALUE", * CompositeRuleEvaluationMethod: "COLUMN" || "ROW", * CustomLogGroupPrefix: "STRING_VALUE", * }, * RulesetNames: [ // RulesetNames // required * "STRING_VALUE", * ], * AdditionalDataSources: { // DataSourceMap * "": { * GlueTable: { * DatabaseName: "STRING_VALUE", // required * TableName: "STRING_VALUE", // required * CatalogId: "STRING_VALUE", * ConnectionName: "STRING_VALUE", * AdditionalOptions: { * "": "STRING_VALUE", * }, * }, * DataQualityGlueTable: { * DatabaseName: "STRING_VALUE", // required * TableName: "STRING_VALUE", // required * CatalogId: "STRING_VALUE", * ConnectionName: "STRING_VALUE", * AdditionalOptions: { * "": "STRING_VALUE", * }, * PreProcessingQuery: "STRING_VALUE", * }, * }, * }, * }; * const command = new StartDataQualityRulesetEvaluationRunCommand(input); * const response = await client.send(command); * // { // StartDataQualityRulesetEvaluationRunResponse * // RunId: "STRING_VALUE", * // }; * * ``` * * @param StartDataQualityRulesetEvaluationRunCommandInput - {@link StartDataQualityRulesetEvaluationRunCommandInput} * @returns {@link StartDataQualityRulesetEvaluationRunCommandOutput} * @see {@link StartDataQualityRulesetEvaluationRunCommandInput} for command's `input` shape. * @see {@link StartDataQualityRulesetEvaluationRunCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

The CreatePartitions API was called on a table that has indexes enabled.

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

A specified entity does not exist

* * @throws {@link InternalServiceException} (server fault) *

An internal service error occurred.

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

The input provided was not valid.

* * @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 StartDataQualityRulesetEvaluationRunCommand extends StartDataQualityRulesetEvaluationRunCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartDataQualityRulesetEvaluationRunRequest; output: StartDataQualityRulesetEvaluationRunResponse; }; sdk: { input: StartDataQualityRulesetEvaluationRunCommandInput; output: StartDataQualityRulesetEvaluationRunCommandOutput; }; }; }