Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Modifies the specified properties of the specified listener.
Any properties that you do not specify retain their current values. However, changing the protocol from HTTPS to HTTP removes the security policy and SSL certificate properties. If you change the protocol from HTTP to HTTPS, you must add the security policy and server certificate.
- modifyListener :: Text -> ModifyListener
- data ModifyListener
- mlSSLPolicy :: Lens' ModifyListener (Maybe Text)
- mlProtocol :: Lens' ModifyListener (Maybe ProtocolEnum)
- mlDefaultActions :: Lens' ModifyListener [Action]
- mlCertificates :: Lens' ModifyListener [Certificate]
- mlPort :: Lens' ModifyListener (Maybe Natural)
- mlListenerARN :: Lens' ModifyListener Text
- modifyListenerResponse :: Int -> ModifyListenerResponse
- data ModifyListenerResponse
- mlrsListeners :: Lens' ModifyListenerResponse [Listener]
- mlrsResponseStatus :: Lens' ModifyListenerResponse Int
Creating a Request
Creates a value of ModifyListener
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mlSSLPolicy
- The security policy that defines which protocols and ciphers are supported. For more information, see Security Policies in the Application Load Balancers Guide .mlProtocol
- The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP and HTTPS and Network Load Balancers support TCP.mlDefaultActions
- The default action. For Application Load Balancers, the protocol of the specified target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.mlCertificates
- The default SSL server certificate.mlPort
- The port for connections from clients to the load balancer.mlListenerARN
- The Amazon Resource Name (ARN) of the listener.
data ModifyListener Source #
See: modifyListener
smart constructor.
Request Lenses
mlSSLPolicy :: Lens' ModifyListener (Maybe Text) Source #
The security policy that defines which protocols and ciphers are supported. For more information, see Security Policies in the Application Load Balancers Guide .
mlProtocol :: Lens' ModifyListener (Maybe ProtocolEnum) Source #
The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP and HTTPS and Network Load Balancers support TCP.
mlDefaultActions :: Lens' ModifyListener [Action] Source #
The default action. For Application Load Balancers, the protocol of the specified target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.
mlCertificates :: Lens' ModifyListener [Certificate] Source #
The default SSL server certificate.
mlPort :: Lens' ModifyListener (Maybe Natural) Source #
The port for connections from clients to the load balancer.
mlListenerARN :: Lens' ModifyListener Text Source #
The Amazon Resource Name (ARN) of the listener.
Destructuring the Response
modifyListenerResponse Source #
Creates a value of ModifyListenerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mlrsListeners
- Information about the modified listeners.mlrsResponseStatus
- -- | The response status code.
data ModifyListenerResponse Source #
See: modifyListenerResponse
smart constructor.
Response Lenses
mlrsListeners :: Lens' ModifyListenerResponse [Listener] Source #
Information about the modified listeners.
mlrsResponseStatus :: Lens' ModifyListenerResponse Int Source #
- - | The response status code.