import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateConfiguredAudienceModelAssociationInput, CreateConfiguredAudienceModelAssociationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateConfiguredAudienceModelAssociationCommand}. */ export interface CreateConfiguredAudienceModelAssociationCommandInput extends CreateConfiguredAudienceModelAssociationInput { } /** * @public * * The output of {@link CreateConfiguredAudienceModelAssociationCommand}. */ export interface CreateConfiguredAudienceModelAssociationCommandOutput extends CreateConfiguredAudienceModelAssociationOutput, __MetadataBearer { } declare const CreateConfiguredAudienceModelAssociationCommand_base: { new (input: CreateConfiguredAudienceModelAssociationCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateConfiguredAudienceModelAssociationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Provides the details necessary to create a configured audience model association.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CleanRoomsClient, CreateConfiguredAudienceModelAssociationCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import * // const { CleanRoomsClient, CreateConfiguredAudienceModelAssociationCommand } = 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 = { // CreateConfiguredAudienceModelAssociationInput * membershipIdentifier: "STRING_VALUE", // required * configuredAudienceModelArn: "STRING_VALUE", // required * configuredAudienceModelAssociationName: "STRING_VALUE", // required * manageResourcePolicies: true || false, // required * tags: { // TagMap * "": "STRING_VALUE", * }, * description: "STRING_VALUE", * }; * const command = new CreateConfiguredAudienceModelAssociationCommand(input); * const response = await client.send(command); * // { // CreateConfiguredAudienceModelAssociationOutput * // configuredAudienceModelAssociation: { // ConfiguredAudienceModelAssociation * // id: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // configuredAudienceModelArn: "STRING_VALUE", // required * // membershipId: "STRING_VALUE", // required * // membershipArn: "STRING_VALUE", // required * // collaborationId: "STRING_VALUE", // required * // collaborationArn: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // manageResourcePolicies: true || false, // required * // description: "STRING_VALUE", * // createTime: new Date("TIMESTAMP"), // required * // updateTime: new Date("TIMESTAMP"), // required * // }, * // }; * * ``` * * @param CreateConfiguredAudienceModelAssociationCommandInput - {@link CreateConfiguredAudienceModelAssociationCommandInput} * @returns {@link CreateConfiguredAudienceModelAssociationCommandOutput} * @see {@link CreateConfiguredAudienceModelAssociationCommandInput} for command's `input` shape. * @see {@link CreateConfiguredAudienceModelAssociationCommandOutput} 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 CreateConfiguredAudienceModelAssociationCommand extends CreateConfiguredAudienceModelAssociationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateConfiguredAudienceModelAssociationInput; output: CreateConfiguredAudienceModelAssociationOutput; }; sdk: { input: CreateConfiguredAudienceModelAssociationCommandInput; output: CreateConfiguredAudienceModelAssociationCommandOutput; }; }; }