Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.ELBV2.DeleteListener
Description
Deletes the specified listener.
Alternatively, your listener is deleted when you delete the load balancer to which it is attached.
Synopsis
- data DeleteListener = DeleteListener' {
- listenerArn :: Text
- newDeleteListener :: Text -> DeleteListener
- deleteListener_listenerArn :: Lens' DeleteListener Text
- data DeleteListenerResponse = DeleteListenerResponse' {
- httpStatus :: Int
- newDeleteListenerResponse :: Int -> DeleteListenerResponse
- deleteListenerResponse_httpStatus :: Lens' DeleteListenerResponse Int
Creating a Request
data DeleteListener Source #
See: newDeleteListener
smart constructor.
Constructors
DeleteListener' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeleteListener |
Create a value of DeleteListener
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:
DeleteListener
, deleteListener_listenerArn
- The Amazon Resource Name (ARN) of the listener.
Request Lenses
deleteListener_listenerArn :: Lens' DeleteListener Text Source #
The Amazon Resource Name (ARN) of the listener.
Destructuring the Response
data DeleteListenerResponse Source #
See: newDeleteListenerResponse
smart constructor.
Constructors
DeleteListenerResponse' | |
Fields
|
Instances
newDeleteListenerResponse Source #
Create a value of DeleteListenerResponse
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:httpStatus:DeleteListenerResponse'
, deleteListenerResponse_httpStatus
- The response's http status code.
Response Lenses
deleteListenerResponse_httpStatus :: Lens' DeleteListenerResponse Int Source #
The response's http status code.