Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModifyListenerCommand

Replaces the specified properties of the specified listener. Any properties that you do not specify remain unchanged.

Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy and default certificate properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the security policy and default certificate properties.

To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.

example

Use a bare-bones client and the command you need to make an API call.

import { ElasticLoadBalancingV2Client, ModifyListenerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
// const { ElasticLoadBalancingV2Client, ModifyListenerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
const client = new ElasticLoadBalancingV2Client(config);
const command = new ModifyListenerCommand(input);
const response = await client.send(command);
see

ModifyListenerCommandInput for command's input shape.

see

ModifyListenerCommandOutput for command's response shape.

see

config for ElasticLoadBalancingV2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ModifyListenerCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ModifyListenerCommandInput, ModifyListenerCommandOutput>

Methods

Static getEndpointParameterInstructions