We are excited to announce our new API Documentation.
Protected
Lists multiple custom domain names.
Use a bare-bones client and the command you need to make an API call.
import { AppSyncClient, ListDomainNamesCommand } from "@aws-sdk/client-appsync"; // ES Modules import// const { AppSyncClient, ListDomainNamesCommand } = require("@aws-sdk/client-appsync"); // CommonJS importconst client = new AppSyncClient(config);const input = { // ListDomainNamesRequest nextToken: "STRING_VALUE", maxResults: Number("int"),};const command = new ListDomainNamesCommand(input);const response = await client.send(command);// { // ListDomainNamesResponse// domainNameConfigs: [ // DomainNameConfigs// { // DomainNameConfig// domainName: "STRING_VALUE",// description: "STRING_VALUE",// certificateArn: "STRING_VALUE",// appsyncDomainName: "STRING_VALUE",// hostedZoneId: "STRING_VALUE",// },// ],// nextToken: "STRING_VALUE",// };
ListDomainNamesCommandInput
ListDomainNamesCommandOutput
input
response
config
AccessDeniedException (client fault)
You don't have access to perform this operation on this resource.
BadRequestException (client fault)
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException (server fault)
An internal AppSync error occurred. Try your request again.
AppSyncServiceException
Base exception class for all service exceptions from AppSync service.
Readonly
Static
Lists multiple custom domain names.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListDomainNamesCommandInput
Returns
ListDomainNamesCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
You don't have access to perform this operation on this resource.
Throws
BadRequestException (client fault)
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
Throws
InternalFailureException (server fault)
An internal AppSync error occurred. Try your request again.
Throws
AppSyncServiceException
Base exception class for all service exceptions from AppSync service.