import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateDomainRequest, CreateDomainResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateDomainCommand}. */ export interface CreateDomainCommandInput extends CreateDomainRequest { } /** * @public * * The output of {@link CreateDomainCommand}. */ export interface CreateDomainCommandOutput extends CreateDomainResponse, __MetadataBearer { } declare const CreateDomainCommand_base: { new (input: CreateDomainCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateDomainCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters, * customer audio, and voiceprints. Every domain is created with a default watchlist that fraudsters can be a part of.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { VoiceIDClient, CreateDomainCommand } from "@aws-sdk/client-voice-id"; // ES Modules import * // const { VoiceIDClient, CreateDomainCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import * // import type { VoiceIDClientConfig } from "@aws-sdk/client-voice-id"; * const config = {}; // type is VoiceIDClientConfig * const client = new VoiceIDClient(config); * const input = { // CreateDomainRequest * Name: "STRING_VALUE", // required * Description: "STRING_VALUE", * ServerSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration * KmsKeyId: "STRING_VALUE", // required * }, * ClientToken: "STRING_VALUE", * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateDomainCommand(input); * const response = await client.send(command); * // { // CreateDomainResponse * // Domain: { // Domain * // DomainId: "STRING_VALUE", * // Arn: "STRING_VALUE", * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // DomainStatus: "STRING_VALUE", * // ServerSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration * // KmsKeyId: "STRING_VALUE", // required * // }, * // CreatedAt: new Date("TIMESTAMP"), * // UpdatedAt: new Date("TIMESTAMP"), * // ServerSideEncryptionUpdateDetails: { // ServerSideEncryptionUpdateDetails * // OldKmsKeyId: "STRING_VALUE", * // UpdateStatus: "STRING_VALUE", * // Message: "STRING_VALUE", * // }, * // WatchlistDetails: { // WatchlistDetails * // DefaultWatchlistId: "STRING_VALUE", // required * // }, * // }, * // }; * * ``` * * @param CreateDomainCommandInput - {@link CreateDomainCommandInput} * @returns {@link CreateDomainCommandOutput} * @see {@link CreateDomainCommandInput} for command's `input` shape. * @see {@link CreateDomainCommandOutput} for command's `response` shape. * @see {@link VoiceIDClientResolvedConfig | config} for VoiceIDClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient permissions to perform this action. Check the error message * and try again.

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

The request failed due to a conflict. Check the ConflictType and error * message for more details.

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

The request failed due to an unknown error on the server side.

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

The specified resource cannot be found. Check the ResourceType and error * message for more details.

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

The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.

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

The request was denied due to request throttling. Please slow down your request rate. * Refer to * Amazon Connect Voice ID Service API throttling quotas and try your * request again.

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

The request failed one or more validations; check the error message for more * details.

* * @throws {@link VoiceIDServiceException} *

Base exception class for all service exceptions from VoiceID service.

* * * @public */ export declare class CreateDomainCommand extends CreateDomainCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateDomainRequest; output: CreateDomainResponse; }; sdk: { input: CreateDomainCommandInput; output: CreateDomainCommandOutput; }; }; }