Copyright | (c) 2013-2021 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 |
Describe a listener.
Synopsis
- data DescribeListener = DescribeListener' {
- listenerArn :: Text
- newDescribeListener :: Text -> DescribeListener
- describeListener_listenerArn :: Lens' DescribeListener Text
- data DescribeListenerResponse = DescribeListenerResponse' {
- listener :: Maybe Listener
- httpStatus :: Int
- newDescribeListenerResponse :: Int -> DescribeListenerResponse
- describeListenerResponse_listener :: Lens' DescribeListenerResponse (Maybe Listener)
- describeListenerResponse_httpStatus :: Lens' DescribeListenerResponse Int
Creating a Request
data DescribeListener Source #
See: newDescribeListener
smart constructor.
DescribeListener' | |
|
Instances
Create a value of DescribeListener
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:listenerArn:DescribeListener'
, describeListener_listenerArn
- The Amazon Resource Name (ARN) of the listener to describe.
Request Lenses
describeListener_listenerArn :: Lens' DescribeListener Text Source #
The Amazon Resource Name (ARN) of the listener to describe.
Destructuring the Response
data DescribeListenerResponse Source #
See: newDescribeListenerResponse
smart constructor.
DescribeListenerResponse' | |
|
Instances
newDescribeListenerResponse Source #
Create a value of DescribeListenerResponse
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:listener:DescribeListenerResponse'
, describeListenerResponse_listener
- The description of a listener.
$sel:httpStatus:DescribeListenerResponse'
, describeListenerResponse_httpStatus
- The response's http status code.
Response Lenses
describeListenerResponse_listener :: Lens' DescribeListenerResponse (Maybe Listener) Source #
The description of a listener.
describeListenerResponse_httpStatus :: Lens' DescribeListenerResponse Int Source #
The response's http status code.