Describes the specified listeners or the listeners for the specified Application Load
Balancer, Network Load Balancer, or Gateway Load Balancer. You must specify either a load
balancer or one or more listeners.
example
Use a bare-bones client and the command you need to make an API call.
Describes the specified listeners or the listeners for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. You must specify either a load balancer or one or more listeners.
Use a bare-bones client and the command you need to make an API call.
import { ElasticLoadBalancingV2Client, DescribeListenersCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import // const { ElasticLoadBalancingV2Client, DescribeListenersCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import const client = new ElasticLoadBalancingV2Client(config); const command = new DescribeListenersCommand(input); const response = await client.send(command);
DescribeListenersCommandInput for command's
input
shape.DescribeListenersCommandOutput for command's
response
shape.config for ElasticLoadBalancingV2Client's
config
shape.