Deletes the specified listener.
Alternatively, your listener is deleted when you delete the load balancer to which it is attached.
Use a bare-bones client and the command you need to make an API call.
import { ElasticLoadBalancingV2Client, DeleteListenerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import // const { ElasticLoadBalancingV2Client, DeleteListenerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import const client = new ElasticLoadBalancingV2Client(config); const command = new DeleteListenerCommand(input); const response = await client.send(command);
DeleteListenerCommandInput for command's input shape.
input
DeleteListenerCommandOutput for command's response shape.
response
config for ElasticLoadBalancingV2Client's config shape.
config
Deletes the specified listener.
Alternatively, your listener is deleted when you delete the load balancer to which it is attached.
Use a bare-bones client and the command you need to make an API call.
import { ElasticLoadBalancingV2Client, DeleteListenerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import // const { ElasticLoadBalancingV2Client, DeleteListenerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import const client = new ElasticLoadBalancingV2Client(config); const command = new DeleteListenerCommand(input); const response = await client.send(command);
DeleteListenerCommandInput for command's
input
shape.DeleteListenerCommandOutput for command's
response
shape.config for ElasticLoadBalancingV2Client's
config
shape.