Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateDomainCommand

Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys. You can create multiple domains, and each domain can have multiple third-party integrations.

Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain.

Use this API or UpdateDomain to enable identity resolution: set Matching to true.

To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply.

example

Use a bare-bones client and the command you need to make an API call.

import { CustomerProfilesClient, CreateDomainCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
// const { CustomerProfilesClient, CreateDomainCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
const client = new CustomerProfilesClient(config);
const command = new CreateDomainCommand(input);
const response = await client.send(command);
see

CreateDomainCommandInput for command's input shape.

see

CreateDomainCommandOutput for command's response shape.

see

config for CustomerProfilesClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateDomainCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateDomainCommandInput, CreateDomainCommandOutput>

Methods

Static getEndpointParameterInstructions