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 |
Gets information about a tunnel identified by the unique tunnel id.
Synopsis
- data DescribeTunnel = DescribeTunnel' {}
- newDescribeTunnel :: Text -> DescribeTunnel
- describeTunnel_tunnelId :: Lens' DescribeTunnel Text
- data DescribeTunnelResponse = DescribeTunnelResponse' {
- tunnel :: Maybe Tunnel
- httpStatus :: Int
- newDescribeTunnelResponse :: Int -> DescribeTunnelResponse
- describeTunnelResponse_tunnel :: Lens' DescribeTunnelResponse (Maybe Tunnel)
- describeTunnelResponse_httpStatus :: Lens' DescribeTunnelResponse Int
Creating a Request
data DescribeTunnel Source #
See: newDescribeTunnel
smart constructor.
Instances
Create a value of DescribeTunnel
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:tunnelId:DescribeTunnel'
, describeTunnel_tunnelId
- The tunnel to describe.
Request Lenses
describeTunnel_tunnelId :: Lens' DescribeTunnel Text Source #
The tunnel to describe.
Destructuring the Response
data DescribeTunnelResponse Source #
See: newDescribeTunnelResponse
smart constructor.
DescribeTunnelResponse' | |
|
Instances
newDescribeTunnelResponse Source #
Create a value of DescribeTunnelResponse
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:tunnel:DescribeTunnelResponse'
, describeTunnelResponse_tunnel
- The tunnel being described.
$sel:httpStatus:DescribeTunnelResponse'
, describeTunnelResponse_httpStatus
- The response's http status code.
Response Lenses
describeTunnelResponse_tunnel :: Lens' DescribeTunnelResponse (Maybe Tunnel) Source #
The tunnel being described.
describeTunnelResponse_httpStatus :: Lens' DescribeTunnelResponse Int Source #
The response's http status code.