Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide.
Use a bare-bones client and the command you need to make an API call.
import { CloudSearchClient, CreateDomainCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import // const { CloudSearchClient, CreateDomainCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import const client = new CloudSearchClient(config); const command = new CreateDomainCommand(input); const response = await client.send(command);
CreateDomainCommandInput for command's input shape.
input
CreateDomainCommandOutput for command's response shape.
response
config for CloudSearchClient's config shape.
config
Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide.
Use a bare-bones client and the command you need to make an API call.
import { CloudSearchClient, CreateDomainCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import // const { CloudSearchClient, CreateDomainCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import const client = new CloudSearchClient(config); const command = new CreateDomainCommand(input); const response = await client.send(command);
CreateDomainCommandInput for command's
input
shape.CreateDomainCommandOutput for command's
response
shape.config for CloudSearchClient's
config
shape.