import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateConfiguredTableAssociationAnalysisRuleInput, CreateConfiguredTableAssociationAnalysisRuleOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateConfiguredTableAssociationAnalysisRuleCommand}. */ export interface CreateConfiguredTableAssociationAnalysisRuleCommandInput extends CreateConfiguredTableAssociationAnalysisRuleInput { } /** * @public * * The output of {@link CreateConfiguredTableAssociationAnalysisRuleCommand}. */ export interface CreateConfiguredTableAssociationAnalysisRuleCommandOutput extends CreateConfiguredTableAssociationAnalysisRuleOutput, __MetadataBearer { } declare const CreateConfiguredTableAssociationAnalysisRuleCommand_base: { new (input: CreateConfiguredTableAssociationAnalysisRuleCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateConfiguredTableAssociationAnalysisRuleCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a new analysis rule for an associated configured table.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CleanRoomsClient, CreateConfiguredTableAssociationAnalysisRuleCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import * // const { CleanRoomsClient, CreateConfiguredTableAssociationAnalysisRuleCommand } = 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 = { // CreateConfiguredTableAssociationAnalysisRuleInput * membershipIdentifier: "STRING_VALUE", // required * configuredTableAssociationIdentifier: "STRING_VALUE", // required * analysisRuleType: "AGGREGATION" || "LIST" || "CUSTOM", // required * analysisRulePolicy: { // ConfiguredTableAssociationAnalysisRulePolicy Union: only one key present * v1: { // ConfiguredTableAssociationAnalysisRulePolicyV1 Union: only one key present * list: { // ConfiguredTableAssociationAnalysisRuleList * allowedResultReceivers: [ // AllowedResultReceivers * "STRING_VALUE", * ], * allowedAdditionalAnalyses: [ // AllowedAdditionalAnalyses * "STRING_VALUE", * ], * }, * aggregation: { // ConfiguredTableAssociationAnalysisRuleAggregation * allowedResultReceivers: [ * "STRING_VALUE", * ], * allowedAdditionalAnalyses: [ * "STRING_VALUE", * ], * }, * custom: { // ConfiguredTableAssociationAnalysisRuleCustom * allowedResultReceivers: [ * "STRING_VALUE", * ], * allowedAdditionalAnalyses: [ * "STRING_VALUE", * ], * }, * }, * }, * }; * const command = new CreateConfiguredTableAssociationAnalysisRuleCommand(input); * const response = await client.send(command); * // { // CreateConfiguredTableAssociationAnalysisRuleOutput * // analysisRule: { // ConfiguredTableAssociationAnalysisRule * // membershipIdentifier: "STRING_VALUE", // required * // configuredTableAssociationId: "STRING_VALUE", // required * // configuredTableAssociationArn: "STRING_VALUE", // required * // policy: { // ConfiguredTableAssociationAnalysisRulePolicy Union: only one key present * // v1: { // ConfiguredTableAssociationAnalysisRulePolicyV1 Union: only one key present * // list: { // ConfiguredTableAssociationAnalysisRuleList * // allowedResultReceivers: [ // AllowedResultReceivers * // "STRING_VALUE", * // ], * // allowedAdditionalAnalyses: [ // AllowedAdditionalAnalyses * // "STRING_VALUE", * // ], * // }, * // aggregation: { // ConfiguredTableAssociationAnalysisRuleAggregation * // allowedResultReceivers: [ * // "STRING_VALUE", * // ], * // allowedAdditionalAnalyses: [ * // "STRING_VALUE", * // ], * // }, * // custom: { // ConfiguredTableAssociationAnalysisRuleCustom * // allowedResultReceivers: [ * // "STRING_VALUE", * // ], * // allowedAdditionalAnalyses: [ * // "STRING_VALUE", * // ], * // }, * // }, * // }, * // type: "AGGREGATION" || "LIST" || "CUSTOM", // required * // createTime: new Date("TIMESTAMP"), // required * // updateTime: new Date("TIMESTAMP"), // required * // }, * // }; * * ``` * * @param CreateConfiguredTableAssociationAnalysisRuleCommandInput - {@link CreateConfiguredTableAssociationAnalysisRuleCommandInput} * @returns {@link CreateConfiguredTableAssociationAnalysisRuleCommandOutput} * @see {@link CreateConfiguredTableAssociationAnalysisRuleCommandInput} for command's `input` shape. * @see {@link CreateConfiguredTableAssociationAnalysisRuleCommandOutput} 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 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 CreateConfiguredTableAssociationAnalysisRuleCommand extends CreateConfiguredTableAssociationAnalysisRuleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateConfiguredTableAssociationAnalysisRuleInput; output: CreateConfiguredTableAssociationAnalysisRuleOutput; }; sdk: { input: CreateConfiguredTableAssociationAnalysisRuleCommandInput; output: CreateConfiguredTableAssociationAnalysisRuleCommandOutput; }; }; }