import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { BatchGetSchemaAnalysisRuleInput, BatchGetSchemaAnalysisRuleOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link BatchGetSchemaAnalysisRuleCommand}. */ export interface BatchGetSchemaAnalysisRuleCommandInput extends BatchGetSchemaAnalysisRuleInput { } /** * @public * * The output of {@link BatchGetSchemaAnalysisRuleCommand}. */ export interface BatchGetSchemaAnalysisRuleCommandOutput extends BatchGetSchemaAnalysisRuleOutput, __MetadataBearer { } declare const BatchGetSchemaAnalysisRuleCommand_base: { new (input: BatchGetSchemaAnalysisRuleCommandInput): import("@smithy/core/client").CommandImpl; new (input: BatchGetSchemaAnalysisRuleCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves multiple analysis rule schemas.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CleanRoomsClient, BatchGetSchemaAnalysisRuleCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import * // const { CleanRoomsClient, BatchGetSchemaAnalysisRuleCommand } = 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 = { // BatchGetSchemaAnalysisRuleInput * collaborationIdentifier: "STRING_VALUE", // required * schemaAnalysisRuleRequests: [ // SchemaAnalysisRuleRequestList // required * { // SchemaAnalysisRuleRequest * name: "STRING_VALUE", // required * type: "AGGREGATION" || "LIST" || "CUSTOM" || "ID_MAPPING_TABLE", // required * }, * ], * }; * const command = new BatchGetSchemaAnalysisRuleCommand(input); * const response = await client.send(command); * // { // BatchGetSchemaAnalysisRuleOutput * // analysisRules: [ // SchemaAnalysisRuleList // required * // { // AnalysisRule * // collaborationId: "STRING_VALUE", // required * // type: "AGGREGATION" || "LIST" || "CUSTOM" || "ID_MAPPING_TABLE", // required * // name: "STRING_VALUE", // required * // createTime: new Date("TIMESTAMP"), // required * // updateTime: new Date("TIMESTAMP"), // required * // policy: { // AnalysisRulePolicy Union: only one key present * // v1: { // AnalysisRulePolicyV1 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", * // ], * // }, * // idMappingTable: { // AnalysisRuleIdMappingTable * // joinColumns: "", // required * // queryConstraints: [ // QueryConstraintList // required * // { // QueryConstraint Union: only one key present * // requireOverlap: { // QueryConstraintRequireOverlap * // columns: "", * // }, * // }, * // ], * // dimensionColumns: "", * // }, * // }, * // }, * // collaborationPolicy: { // ConfiguredTableAssociationAnalysisRulePolicy Union: only one key present * // v1: { // ConfiguredTableAssociationAnalysisRulePolicyV1 Union: only one key present * // list: { // ConfiguredTableAssociationAnalysisRuleList * // allowedResultReceivers: [ * // "STRING_VALUE", * // ], * // allowedAdditionalAnalyses: [ * // "STRING_VALUE", * // ], * // }, * // aggregation: { // ConfiguredTableAssociationAnalysisRuleAggregation * // allowedResultReceivers: [ * // "STRING_VALUE", * // ], * // allowedAdditionalAnalyses: [ * // "STRING_VALUE", * // ], * // }, * // custom: { // ConfiguredTableAssociationAnalysisRuleCustom * // allowedResultReceivers: [ * // "STRING_VALUE", * // ], * // allowedAdditionalAnalyses: [ * // "STRING_VALUE", * // ], * // }, * // }, * // }, * // consolidatedPolicy: { // ConsolidatedPolicy Union: only one key present * // v1: { // ConsolidatedPolicyV1 Union: only one key present * // list: { // ConsolidatedPolicyList * // joinColumns: "", // required * // allowedJoinOperators: [ * // "STRING_VALUE", * // ], * // listColumns: "", // required * // additionalAnalyses: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED", * // allowedResultReceivers: [ * // "STRING_VALUE", * // ], * // allowedAdditionalAnalyses: [ * // "STRING_VALUE", * // ], * // }, * // aggregation: { // ConsolidatedPolicyAggregation * // aggregateColumns: [ // required * // { * // columnNames: [ // required * // "STRING_VALUE", * // ], * // function: "STRING_VALUE", // required * // }, * // ], * // joinColumns: "", // required * // joinRequired: "STRING_VALUE", * // allowedJoinOperators: [ * // "STRING_VALUE", * // ], * // dimensionColumns: "", // required * // scalarFunctions: [ // required * // "STRING_VALUE", * // ], * // outputConstraints: [ // required * // { * // columnName: "STRING_VALUE", // required * // minimum: Number("int"), // required * // type: "STRING_VALUE", // required * // }, * // ], * // additionalAnalyses: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED", * // allowedResultReceivers: "", * // allowedAdditionalAnalyses: "", * // }, * // custom: { // ConsolidatedPolicyCustom * // allowedAnalyses: [ // required * // "STRING_VALUE", * // ], * // allowedAnalysisProviders: [ * // "STRING_VALUE", * // ], * // additionalAnalyses: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED", * // disallowedOutputColumns: "", * // differentialPrivacy: { * // columns: [ // required * // { * // name: "STRING_VALUE", // required * // }, * // ], * // }, * // aggregationThresholds: [ * // { * // identityColumns: "", // required * // minimumIdentityCount: Number("int"), // required * // type: "COUNT_DISTINCT", // required * // outputColumnThresholds: [ * // { * // outputColumnName: "STRING_VALUE", // required * // minimumIdentityCount: Number("int"), // required * // }, * // ], * // allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required * // }, * // ], * // comparisonControls: { * // allowedLiteralComparisonColumns: "", // required * // allowedColumnComparisonColumns: "", // required * // }, * // allowedResultReceivers: "", * // allowedAdditionalAnalyses: "", * // }, * // }, * // }, * // }, * // ], * // errors: [ // BatchGetSchemaAnalysisRuleErrorList // required * // { // BatchGetSchemaAnalysisRuleError * // name: "STRING_VALUE", // required * // type: "AGGREGATION" || "LIST" || "CUSTOM" || "ID_MAPPING_TABLE", // required * // code: "STRING_VALUE", // required * // message: "STRING_VALUE", // required * // }, * // ], * // }; * * ``` * * @param BatchGetSchemaAnalysisRuleCommandInput - {@link BatchGetSchemaAnalysisRuleCommandInput} * @returns {@link BatchGetSchemaAnalysisRuleCommandOutput} * @see {@link BatchGetSchemaAnalysisRuleCommandInput} for command's `input` shape. * @see {@link BatchGetSchemaAnalysisRuleCommandOutput} 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 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 BatchGetSchemaAnalysisRuleCommand extends BatchGetSchemaAnalysisRuleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchGetSchemaAnalysisRuleInput; output: BatchGetSchemaAnalysisRuleOutput; }; sdk: { input: BatchGetSchemaAnalysisRuleCommandInput; output: BatchGetSchemaAnalysisRuleCommandOutput; }; }; }