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, which is a container for all case data, such as cases, fields, templates and layouts. Each Amazon Connect instance can be associated with only one Cases domain.

This will not associate your connect instance to Cases domain. Instead, use the Amazon Connect CreateIntegrationAssociation API. You need specific IAM permissions to successfully associate the Cases domain. For more information, see Onboard to Cases.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectCasesClient, CreateDomainCommand } from "@aws-sdk/client-connectcases"; // ES Modules import * // const { ConnectCasesClient, CreateDomainCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import * // import type { ConnectCasesClientConfig } from "@aws-sdk/client-connectcases"; * const config = {}; // type is ConnectCasesClientConfig * const client = new ConnectCasesClient(config); * const input = { // CreateDomainRequest * name: "STRING_VALUE", // required * }; * const command = new CreateDomainCommand(input); * const response = await client.send(command); * // { // CreateDomainResponse * // domainId: "STRING_VALUE", // required * // domainArn: "STRING_VALUE", // required * // domainStatus: "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 ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

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

We couldn't process your request because of an issue with the server. Try again later.

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

The service quota has been exceeded. For a list of service quotas, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

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

The rate has been exceeded for this API. Please try again after a few minutes.

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

The request isn't valid. Check the syntax and try again.

* * @throws {@link ConnectCasesServiceException} *

Base exception class for all service exceptions from ConnectCases 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; }; }; }