libZSservicesZSamazonka-elbv2ZSamazonka-elbv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ELBV2.ModifyListener

Description

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.

Synopsis

Creating a Request

data ModifyListener Source #

See: newModifyListener smart constructor.

Constructors

ModifyListener' 

Fields

  • sslPolicy :: Maybe Text
    HTTPS and TLS listeners
    The security policy that defines which protocols and ciphers are supported.

    For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

  • protocol :: Maybe ProtocolEnum

    The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.

  • defaultActions :: Maybe [Action]

    The actions for the default rule.

  • certificates :: Maybe [Certificate]
    HTTPS and TLS listeners
    The default certificate for the listener. You must provide exactly one certificate. Set CertificateArn to the certificate ARN but do not set IsDefault.
  • alpnPolicy :: Maybe [Text]
    TLS listeners
    The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:
    • HTTP1Only
    • HTTP2Only
    • HTTP2Optional
    • HTTP2Preferred
    • None

    For more information, see ALPN policies in the Network Load Balancers Guide.

  • port :: Maybe Natural

    The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.

  • listenerArn :: Text

    The Amazon Resource Name (ARN) of the listener.

Instances

Instances details
Eq ModifyListener Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

Read ModifyListener Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

Show ModifyListener Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

Generic ModifyListener Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

Associated Types

type Rep ModifyListener :: Type -> Type #

NFData ModifyListener Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

Methods

rnf :: ModifyListener -> () #

Hashable ModifyListener Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

AWSRequest ModifyListener Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

Associated Types

type AWSResponse ModifyListener #

ToHeaders ModifyListener Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

ToPath ModifyListener Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

ToQuery ModifyListener Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

type Rep ModifyListener Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

type AWSResponse ModifyListener Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

newModifyListener Source #

Create a value of ModifyListener with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sslPolicy:ModifyListener', modifyListener_sslPolicy - [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.

For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

$sel:protocol:ModifyListener', modifyListener_protocol - The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.

$sel:defaultActions:ModifyListener', modifyListener_defaultActions - The actions for the default rule.

$sel:certificates:ModifyListener', modifyListener_certificates - [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set CertificateArn to the certificate ARN but do not set IsDefault.

$sel:alpnPolicy:ModifyListener', modifyListener_alpnPolicy - [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:

  • HTTP1Only
  • HTTP2Only
  • HTTP2Optional
  • HTTP2Preferred
  • None

For more information, see ALPN policies in the Network Load Balancers Guide.

$sel:port:ModifyListener', modifyListener_port - The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.

$sel:listenerArn:ModifyListener', modifyListener_listenerArn - The Amazon Resource Name (ARN) of the listener.

Request Lenses

modifyListener_sslPolicy :: Lens' ModifyListener (Maybe Text) Source #

HTTPS and TLS listeners
The security policy that defines which protocols and ciphers are supported.

For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

modifyListener_protocol :: Lens' ModifyListener (Maybe ProtocolEnum) Source #

The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.

modifyListener_defaultActions :: Lens' ModifyListener (Maybe [Action]) Source #

The actions for the default rule.

modifyListener_certificates :: Lens' ModifyListener (Maybe [Certificate]) Source #

HTTPS and TLS listeners
The default certificate for the listener. You must provide exactly one certificate. Set CertificateArn to the certificate ARN but do not set IsDefault.

modifyListener_alpnPolicy :: Lens' ModifyListener (Maybe [Text]) Source #

TLS listeners
The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:
  • HTTP1Only
  • HTTP2Only
  • HTTP2Optional
  • HTTP2Preferred
  • None

For more information, see ALPN policies in the Network Load Balancers Guide.

modifyListener_port :: Lens' ModifyListener (Maybe Natural) Source #

The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.

modifyListener_listenerArn :: Lens' ModifyListener Text Source #

The Amazon Resource Name (ARN) of the listener.

Destructuring the Response

data ModifyListenerResponse Source #

See: newModifyListenerResponse smart constructor.

Constructors

ModifyListenerResponse' 

Fields

Instances

Instances details
Eq ModifyListenerResponse Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

Read ModifyListenerResponse Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

Show ModifyListenerResponse Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

Generic ModifyListenerResponse Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

Associated Types

type Rep ModifyListenerResponse :: Type -> Type #

NFData ModifyListenerResponse Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

Methods

rnf :: ModifyListenerResponse -> () #

type Rep ModifyListenerResponse Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyListener

type Rep ModifyListenerResponse = D1 ('MetaData "ModifyListenerResponse" "Amazonka.ELBV2.ModifyListener" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "ModifyListenerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "listeners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Listener])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newModifyListenerResponse Source #

Create a value of ModifyListenerResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:listeners:ModifyListenerResponse', modifyListenerResponse_listeners - Information about the modified listener.

$sel:httpStatus:ModifyListenerResponse', modifyListenerResponse_httpStatus - The response's http status code.

Response Lenses

modifyListenerResponse_listeners :: Lens' ModifyListenerResponse (Maybe [Listener]) Source #

Information about the modified listener.