Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeListenersCommand

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.

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);
see

DescribeListenersCommandInput for command's input shape.

see

DescribeListenersCommandOutput for command's response shape.

see

config for ElasticLoadBalancingV2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeListenersCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions