Deletes a domain name.
Use a bare-bones client and the command you need to make an API call.
import { ApiGatewayV2Client, DeleteDomainNameCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import // const { ApiGatewayV2Client, DeleteDomainNameCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import const client = new ApiGatewayV2Client(config); const command = new DeleteDomainNameCommand(input); const response = await client.send(command);
DeleteDomainNameCommandInput for command's input shape.
input
DeleteDomainNameCommandOutput for command's response shape.
response
config for ApiGatewayV2Client's config shape.
config
Deletes a domain name.
Use a bare-bones client and the command you need to make an API call.
import { ApiGatewayV2Client, DeleteDomainNameCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import // const { ApiGatewayV2Client, DeleteDomainNameCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import const client = new ApiGatewayV2Client(config); const command = new DeleteDomainNameCommand(input); const response = await client.send(command);
DeleteDomainNameCommandInput for command's
input
shape.DeleteDomainNameCommandOutput for command's
response
shape.config for ApiGatewayV2Client's
config
shape.