Returns a list of all the domains for an AWS account that have been created.
Use a bare-bones client and the command you need to make an API call.
import { CustomerProfilesClient, ListDomainsCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import // const { CustomerProfilesClient, ListDomainsCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import const client = new CustomerProfilesClient(config); const command = new ListDomainsCommand(input); const response = await client.send(command);
ListDomainsCommandInput for command's input shape.
input
ListDomainsCommandOutput for command's response shape.
response
config for CustomerProfilesClient's config shape.
config
Returns a list of all the domains for an AWS account that have been created.
Use a bare-bones client and the command you need to make an API call.
import { CustomerProfilesClient, ListDomainsCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import // const { CustomerProfilesClient, ListDomainsCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import const client = new CustomerProfilesClient(config); const command = new ListDomainsCommand(input); const response = await client.send(command);
ListDomainsCommandInput for command's
input
shape.ListDomainsCommandOutput for command's
response
shape.config for CustomerProfilesClient's
config
shape.