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 |
Describes a file transfer protocol-enabled server that you specify by
passing the ServerId
parameter.
The response contains a description of a server's properties. When you
set EndpointType
to VPC, the response will contain the
EndpointDetails
.
Synopsis
- data DescribeServer = DescribeServer' {}
- newDescribeServer :: Text -> DescribeServer
- describeServer_serverId :: Lens' DescribeServer Text
- data DescribeServerResponse = DescribeServerResponse' {}
- newDescribeServerResponse :: Int -> DescribedServer -> DescribeServerResponse
- describeServerResponse_httpStatus :: Lens' DescribeServerResponse Int
- describeServerResponse_server :: Lens' DescribeServerResponse DescribedServer
Creating a Request
data DescribeServer Source #
See: newDescribeServer
smart constructor.
Instances
Create a value of DescribeServer
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:serverId:DescribeServer'
, describeServer_serverId
- A system-assigned unique identifier for a server.
Request Lenses
describeServer_serverId :: Lens' DescribeServer Text Source #
A system-assigned unique identifier for a server.
Destructuring the Response
data DescribeServerResponse Source #
See: newDescribeServerResponse
smart constructor.
DescribeServerResponse' | |
|
Instances
newDescribeServerResponse Source #
Create a value of DescribeServerResponse
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:DescribeServerResponse'
, describeServerResponse_httpStatus
- The response's http status code.
$sel:server:DescribeServerResponse'
, describeServerResponse_server
- An array containing the properties of a server with the ServerID
you
specified.
Response Lenses
describeServerResponse_httpStatus :: Lens' DescribeServerResponse Int Source #
The response's http status code.
describeServerResponse_server :: Lens' DescribeServerResponse DescribedServer Source #
An array containing the properties of a server with the ServerID
you
specified.