Lists all search domains owned by an account.
Use a bare-bones client and the command you need to make an API call.
import { CloudSearchClient, ListDomainNamesCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import // const { CloudSearchClient, ListDomainNamesCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import const client = new CloudSearchClient(config); const command = new ListDomainNamesCommand(input); const response = await client.send(command);
ListDomainNamesCommandInput for command's input shape.
input
ListDomainNamesCommandOutput for command's response shape.
response
config for CloudSearchClient's config shape.
config
Lists all search domains owned by an account.
Use a bare-bones client and the command you need to make an API call.
import { CloudSearchClient, ListDomainNamesCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import // const { CloudSearchClient, ListDomainNamesCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import const client = new CloudSearchClient(config); const command = new ListDomainNamesCommand(input); const response = await client.send(command);
ListDomainNamesCommandInput for command's
input
shape.ListDomainNamesCommandOutput for command's
response
shape.config for CloudSearchClient's
config
shape.