import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateConfiguredTableAnalysisRuleInput, CreateConfiguredTableAnalysisRuleOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateConfiguredTableAnalysisRuleCommand}. */ export interface CreateConfiguredTableAnalysisRuleCommandInput extends CreateConfiguredTableAnalysisRuleInput { } /** * @public * * The output of {@link CreateConfiguredTableAnalysisRuleCommand}. */ export interface CreateConfiguredTableAnalysisRuleCommandOutput extends CreateConfiguredTableAnalysisRuleOutput, __MetadataBearer { } declare const CreateConfiguredTableAnalysisRuleCommand_base: { new (input: CreateConfiguredTableAnalysisRuleCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateConfiguredTableAnalysisRuleCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a new analysis rule for a configured table. Currently, only one analysis rule can be created for a given configured table.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CleanRoomsClient, CreateConfiguredTableAnalysisRuleCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import * // const { CleanRoomsClient, CreateConfiguredTableAnalysisRuleCommand } = require("@aws-sdk/client-cleanrooms"); // CommonJS import * // import type { CleanRoomsClientConfig } from "@aws-sdk/client-cleanrooms"; * const config = {}; // type is CleanRoomsClientConfig * const client = new CleanRoomsClient(config); * const input = { // CreateConfiguredTableAnalysisRuleInput * configuredTableIdentifier: "STRING_VALUE", // required * analysisRuleType: "AGGREGATION" || "LIST" || "CUSTOM", // required * analysisRulePolicy: { // ConfiguredTableAnalysisRulePolicy Union: only one key present * v1: { // ConfiguredTableAnalysisRulePolicyV1 Union: only one key present * list: { // AnalysisRuleList * joinColumns: [ // AnalysisRuleColumnList // required * "STRING_VALUE", * ], * allowedJoinOperators: [ // JoinOperatorsList * "STRING_VALUE", * ], * listColumns: [ // required * "STRING_VALUE", * ], * additionalAnalyses: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED", * }, * aggregation: { // AnalysisRuleAggregation * aggregateColumns: [ // AggregateColumnList // required * { // AggregateColumn * columnNames: [ // AnalysisRuleColumnNameList // required * "STRING_VALUE", * ], * function: "STRING_VALUE", // required * }, * ], * joinColumns: [ // required * "STRING_VALUE", * ], * joinRequired: "STRING_VALUE", * allowedJoinOperators: [ * "STRING_VALUE", * ], * dimensionColumns: [ // required * "STRING_VALUE", * ], * scalarFunctions: [ // ScalarFunctionsList // required * "STRING_VALUE", * ], * outputConstraints: [ // AggregationConstraints // required * { // AggregationConstraint * columnName: "STRING_VALUE", // required * minimum: Number("int"), // required * type: "STRING_VALUE", // required * }, * ], * additionalAnalyses: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED", * }, * custom: { // AnalysisRuleCustom * allowedAnalyses: [ // AllowedAnalysesList // required * "STRING_VALUE", * ], * allowedAnalysisProviders: [ // AllowedAnalysisProviderList * "STRING_VALUE", * ], * additionalAnalyses: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED", * disallowedOutputColumns: [ * "STRING_VALUE", * ], * differentialPrivacy: { // DifferentialPrivacyConfiguration * columns: [ // DifferentialPrivacyColumnList // required * { // DifferentialPrivacyColumn * name: "STRING_VALUE", // required * }, * ], * }, * aggregationThresholds: [ // AggregationThresholdList * { // AggregationThreshold * identityColumns: "", // required * minimumIdentityCount: Number("int"), // required * type: "COUNT_DISTINCT", // required * outputColumnThresholds: [ // OutputColumnThresholdList * { // OutputColumnThreshold * outputColumnName: "STRING_VALUE", // required * minimumIdentityCount: Number("int"), // required * }, * ], * allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required * }, * ], * comparisonControls: { // ComparisonControls * allowedLiteralComparisonColumns: "", // required * allowedColumnComparisonColumns: "", // required * }, * allowedResultReceivers: [ // AllowedResultReceivers * "STRING_VALUE", * ], * allowedAdditionalAnalyses: [ // AllowedAdditionalAnalyses * "STRING_VALUE", * ], * }, * }, * }, * }; * const command = new CreateConfiguredTableAnalysisRuleCommand(input); * const response = await client.send(command); * // { // CreateConfiguredTableAnalysisRuleOutput * // analysisRule: { // ConfiguredTableAnalysisRule * // configuredTableId: "STRING_VALUE", // required * // configuredTableArn: "STRING_VALUE", // required * // policy: { // ConfiguredTableAnalysisRulePolicy Union: only one key present * // v1: { // ConfiguredTableAnalysisRulePolicyV1 Union: only one key present * // list: { // AnalysisRuleList * // joinColumns: [ // AnalysisRuleColumnList // required * // "STRING_VALUE", * // ], * // allowedJoinOperators: [ // JoinOperatorsList * // "STRING_VALUE", * // ], * // listColumns: [ // required * // "STRING_VALUE", * // ], * // additionalAnalyses: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED", * // }, * // aggregation: { // AnalysisRuleAggregation * // aggregateColumns: [ // AggregateColumnList // required * // { // AggregateColumn * // columnNames: [ // AnalysisRuleColumnNameList // required * // "STRING_VALUE", * // ], * // function: "STRING_VALUE", // required * // }, * // ], * // joinColumns: [ // required * // "STRING_VALUE", * // ], * // joinRequired: "STRING_VALUE", * // allowedJoinOperators: [ * // "STRING_VALUE", * // ], * // dimensionColumns: [ // required * // "STRING_VALUE", * // ], * // scalarFunctions: [ // ScalarFunctionsList // required * // "STRING_VALUE", * // ], * // outputConstraints: [ // AggregationConstraints // required * // { // AggregationConstraint * // columnName: "STRING_VALUE", // required * // minimum: Number("int"), // required * // type: "STRING_VALUE", // required * // }, * // ], * // additionalAnalyses: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED", * // }, * // custom: { // AnalysisRuleCustom * // allowedAnalyses: [ // AllowedAnalysesList // required * // "STRING_VALUE", * // ], * // allowedAnalysisProviders: [ // AllowedAnalysisProviderList * // "STRING_VALUE", * // ], * // additionalAnalyses: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED", * // disallowedOutputColumns: [ * // "STRING_VALUE", * // ], * // differentialPrivacy: { // DifferentialPrivacyConfiguration * // columns: [ // DifferentialPrivacyColumnList // required * // { // DifferentialPrivacyColumn * // name: "STRING_VALUE", // required * // }, * // ], * // }, * // aggregationThresholds: [ // AggregationThresholdList * // { // AggregationThreshold * // identityColumns: "", // required * // minimumIdentityCount: Number("int"), // required * // type: "COUNT_DISTINCT", // required * // outputColumnThresholds: [ // OutputColumnThresholdList * // { // OutputColumnThreshold * // outputColumnName: "STRING_VALUE", // required * // minimumIdentityCount: Number("int"), // required * // }, * // ], * // allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required * // }, * // ], * // comparisonControls: { // ComparisonControls * // allowedLiteralComparisonColumns: "", // required * // allowedColumnComparisonColumns: "", // required * // }, * // allowedResultReceivers: [ // AllowedResultReceivers * // "STRING_VALUE", * // ], * // allowedAdditionalAnalyses: [ // AllowedAdditionalAnalyses * // "STRING_VALUE", * // ], * // }, * // }, * // }, * // type: "AGGREGATION" || "LIST" || "CUSTOM", // required * // createTime: new Date("TIMESTAMP"), // required * // updateTime: new Date("TIMESTAMP"), // required * // }, * // }; * * ``` * * @param CreateConfiguredTableAnalysisRuleCommandInput - {@link CreateConfiguredTableAnalysisRuleCommandInput} * @returns {@link CreateConfiguredTableAnalysisRuleCommandOutput} * @see {@link CreateConfiguredTableAnalysisRuleCommandInput} for command's `input` shape. * @see {@link CreateConfiguredTableAnalysisRuleCommandOutput} for command's `response` shape. * @see {@link CleanRoomsClientResolvedConfig | config} for CleanRoomsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Caller does not have sufficient access to perform this action.

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

Updating or deleting a resource can cause an inconsistent state.

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

Unexpected error during processing of request.

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

Request references a resource which does not exist.

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

Request denied because service quota has been exceeded.

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

Request was denied due to request throttling.

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

The input fails to satisfy the specified constraints.

* * @throws {@link CleanRoomsServiceException} *

Base exception class for all service exceptions from CleanRooms service.

* * * @public */ export declare class CreateConfiguredTableAnalysisRuleCommand extends CreateConfiguredTableAnalysisRuleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateConfiguredTableAnalysisRuleInput; output: CreateConfiguredTableAnalysisRuleOutput; }; sdk: { input: CreateConfiguredTableAnalysisRuleCommandInput; output: CreateConfiguredTableAnalysisRuleCommandOutput; }; }; }