| 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.Transfer.DescribeServer
Description
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.
Constructors
| DescribeServer' | |
Instances
Arguments
| :: Text | |
| -> DescribeServer |
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:
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.
Constructors
| DescribeServerResponse' | |
Fields
| |
Instances
newDescribeServerResponse Source #
Arguments
| :: Int | |
| -> DescribedServer | |
| -> DescribeServerResponse |
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.