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 { GetDataQualityResultRequest, GetDataQualityResultResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetDataQualityResultCommand}. */ export interface GetDataQualityResultCommandInput extends GetDataQualityResultRequest { } /** * @public * * The output of {@link GetDataQualityResultCommand}. */ export interface GetDataQualityResultCommandOutput extends GetDataQualityResultResponse, __MetadataBearer { } declare const GetDataQualityResultCommand_base: { new (input: GetDataQualityResultCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetDataQualityResultCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Retrieves the result of a data quality rule evaluation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetDataQualityResultCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetDataQualityResultCommand } = 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 = { // GetDataQualityResultRequest * ResultId: "STRING_VALUE", // required * }; * const command = new GetDataQualityResultCommand(input); * const response = await client.send(command); * // { // GetDataQualityResultResponse * // ResultId: "STRING_VALUE", * // ProfileId: "STRING_VALUE", * // Score: Number("double"), * // 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", * // }, * // }, * // RulesetName: "STRING_VALUE", * // EvaluationContext: "STRING_VALUE", * // StartedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), * // JobName: "STRING_VALUE", * // JobRunId: "STRING_VALUE", * // RulesetEvaluationRunId: "STRING_VALUE", * // RuleResults: [ // DataQualityRuleResults * // { // DataQualityRuleResult * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // EvaluationMessage: "STRING_VALUE", * // Result: "PASS" || "FAIL" || "ERROR", * // EvaluatedMetrics: { // EvaluatedMetricsMap * // "": Number("double"), * // }, * // EvaluatedRule: "STRING_VALUE", * // RuleMetrics: { // RuleMetricsMap * // "": Number("double"), * // }, * // Labels: { // Labels * // "": "STRING_VALUE", * // }, * // }, * // ], * // AnalyzerResults: [ // DataQualityAnalyzerResults * // { // DataQualityAnalyzerResult * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // EvaluationMessage: "STRING_VALUE", * // EvaluatedMetrics: { * // "": Number("double"), * // }, * // }, * // ], * // Observations: [ // DataQualityObservations * // { // DataQualityObservation * // Description: "STRING_VALUE", * // MetricBasedObservation: { // MetricBasedObservation * // MetricName: "STRING_VALUE", * // StatisticId: "STRING_VALUE", * // MetricValues: { // DataQualityMetricValues * // ActualValue: Number("double"), * // ExpectedValue: Number("double"), * // LowerLimit: Number("double"), * // UpperLimit: Number("double"), * // }, * // NewRules: [ // NewRules * // "STRING_VALUE", * // ], * // }, * // }, * // ], * // AggregatedMetrics: { // DataQualityAggregatedMetrics * // TotalRowsProcessed: Number("double"), * // TotalRowsPassed: Number("double"), * // TotalRowsFailed: Number("double"), * // TotalRulesProcessed: Number("double"), * // TotalRulesPassed: Number("double"), * // TotalRulesFailed: Number("double"), * // }, * // }; * * ``` * * @param GetDataQualityResultCommandInput - {@link GetDataQualityResultCommandInput} * @returns {@link GetDataQualityResultCommandOutput} * @see {@link GetDataQualityResultCommandInput} for command's `input` shape. * @see {@link GetDataQualityResultCommandOutput} 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 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 GetDataQualityResultCommand extends GetDataQualityResultCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetDataQualityResultRequest; output: GetDataQualityResultResponse; }; sdk: { input: GetDataQualityResultCommandInput; output: GetDataQualityResultCommandOutput; }; }; }