import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateCollaborationInput, CreateCollaborationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateCollaborationCommand}. */ export interface CreateCollaborationCommandInput extends CreateCollaborationInput { } /** * @public * * The output of {@link CreateCollaborationCommand}. */ export interface CreateCollaborationCommandOutput extends CreateCollaborationOutput, __MetadataBearer { } declare const CreateCollaborationCommand_base: { new (input: CreateCollaborationCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateCollaborationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a new collaboration.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CleanRoomsClient, CreateCollaborationCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import * // const { CleanRoomsClient, CreateCollaborationCommand } = 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 = { // CreateCollaborationInput * members: [ // MemberList // required * { // MemberSpecification * accountId: "STRING_VALUE", // required * memberAbilities: [ // MemberAbilities // required * "CAN_QUERY" || "CAN_RECEIVE_RESULTS" || "CAN_RUN_JOB" || "CAN_EXPORT_QUERY_ANALYSIS_LOG", * ], * mlMemberAbilities: { // MLMemberAbilities * customMLMemberAbilities: [ // CustomMLMemberAbilities // required * "CAN_RECEIVE_MODEL_OUTPUT" || "CAN_RECEIVE_INFERENCE_OUTPUT", * ], * }, * displayName: "STRING_VALUE", // required * paymentConfiguration: { // PaymentConfiguration * queryCompute: { // QueryComputePaymentConfig * isResponsible: true || false, // required * }, * machineLearning: { // MLPaymentConfig * modelTraining: { // ModelTrainingPaymentConfig * isResponsible: true || false, // required * }, * modelInference: { // ModelInferencePaymentConfig * isResponsible: true || false, // required * }, * syntheticDataGeneration: { // SyntheticDataGenerationPaymentConfig * isResponsible: true || false, // required * }, * }, * jobCompute: { // JobComputePaymentConfig * isResponsible: true || false, // required * }, * }, * }, * ], * name: "STRING_VALUE", // required * description: "STRING_VALUE", * creatorMemberAbilities: [ // required * "CAN_QUERY" || "CAN_RECEIVE_RESULTS" || "CAN_RUN_JOB" || "CAN_EXPORT_QUERY_ANALYSIS_LOG", * ], * creatorMLMemberAbilities: { * customMLMemberAbilities: [ // required * "CAN_RECEIVE_MODEL_OUTPUT" || "CAN_RECEIVE_INFERENCE_OUTPUT", * ], * }, * creatorDisplayName: "STRING_VALUE", // required * dataEncryptionMetadata: { // DataEncryptionMetadata * allowCleartext: true || false, // required * allowDuplicates: true || false, // required * allowJoinsOnColumnsWithDifferentNames: true || false, // required * preserveNulls: true || false, // required * }, * queryLogStatus: "ENABLED" || "DISABLED", // required * jobLogStatus: "ENABLED" || "DISABLED", * tags: { // TagMap * "": "STRING_VALUE", * }, * creatorPaymentConfiguration: { * queryCompute: { * isResponsible: true || false, // required * }, * machineLearning: { * modelTraining: { * isResponsible: true || false, // required * }, * modelInference: { * isResponsible: true || false, // required * }, * syntheticDataGeneration: { * isResponsible: true || false, // required * }, * }, * jobCompute: { * isResponsible: true || false, // required * }, * }, * analyticsEngine: "SPARK" || "CLEAN_ROOMS_SQL", * autoApprovedChangeRequestTypes: [ // AutoApprovedChangeTypeList * "ADD_MEMBER" || "GRANT_RECEIVE_RESULTS_ABILITY" || "REVOKE_RECEIVE_RESULTS_ABILITY" || "GRANT_EXPORT_QUERY_ANALYSIS_LOG_ABILITY" || "REVOKE_EXPORT_QUERY_ANALYSIS_LOG_ABILITY", * ], * allowedResultRegions: [ // AllowedResultRegions * "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-east-2" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1", * ], * isMetricsEnabled: true || false, * }; * const command = new CreateCollaborationCommand(input); * const response = await client.send(command); * // { // CreateCollaborationOutput * // collaboration: { // Collaboration * // id: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // description: "STRING_VALUE", * // creatorAccountId: "STRING_VALUE", // required * // creatorDisplayName: "STRING_VALUE", // required * // createTime: new Date("TIMESTAMP"), // required * // updateTime: new Date("TIMESTAMP"), // required * // memberStatus: "STRING_VALUE", // required * // membershipId: "STRING_VALUE", * // membershipArn: "STRING_VALUE", * // dataEncryptionMetadata: { // DataEncryptionMetadata * // allowCleartext: true || false, // required * // allowDuplicates: true || false, // required * // allowJoinsOnColumnsWithDifferentNames: true || false, // required * // preserveNulls: true || false, // required * // }, * // queryLogStatus: "ENABLED" || "DISABLED", // required * // jobLogStatus: "ENABLED" || "DISABLED", * // analyticsEngine: "SPARK" || "CLEAN_ROOMS_SQL", * // autoApprovedChangeTypes: [ // AutoApprovedChangeTypeList * // "ADD_MEMBER" || "GRANT_RECEIVE_RESULTS_ABILITY" || "REVOKE_RECEIVE_RESULTS_ABILITY" || "GRANT_EXPORT_QUERY_ANALYSIS_LOG_ABILITY" || "REVOKE_EXPORT_QUERY_ANALYSIS_LOG_ABILITY", * // ], * // allowedResultRegions: [ // AllowedResultRegions * // "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-east-2" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1", * // ], * // isMetricsEnabled: true || false, * // }, * // }; * * ``` * * @param CreateCollaborationCommandInput - {@link CreateCollaborationCommandInput} * @returns {@link CreateCollaborationCommandOutput} * @see {@link CreateCollaborationCommandInput} for command's `input` shape. * @see {@link CreateCollaborationCommandOutput} 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 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 CreateCollaborationCommand extends CreateCollaborationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateCollaborationInput; output: CreateCollaborationOutput; }; sdk: { input: CreateCollaborationCommandInput; output: CreateCollaborationCommandOutput; }; }; }