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 |
Changes the state of a file transfer protocol-enabled server from
ONLINE
to OFFLINE
. An OFFLINE
server cannot accept and process
file transfer jobs. Information tied to your server, such as server and
user properties, are not affected by stopping your server.
Stopping the server will not reduce or impact your file transfer protocol endpoint billing; you must delete the server to stop being billed.
The state of STOPPING
indicates that the server is in an intermediate
state, either not fully able to respond, or not fully offline. The
values of STOP_FAILED
can indicate an error condition.
No response is returned from this call.
Synopsis
Creating a Request
data StopServer Source #
See: newStopServer
smart constructor.
Instances
Create a value of StopServer
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:StopServer'
, stopServer_serverId
- A system-assigned unique identifier for a server that you stopped.
Request Lenses
stopServer_serverId :: Lens' StopServer Text Source #
A system-assigned unique identifier for a server that you stopped.
Destructuring the Response
data StopServerResponse Source #
See: newStopServerResponse
smart constructor.
Instances
Eq StopServerResponse Source # | |
Defined in Amazonka.Transfer.StopServer (==) :: StopServerResponse -> StopServerResponse -> Bool # (/=) :: StopServerResponse -> StopServerResponse -> Bool # | |
Read StopServerResponse Source # | |
Defined in Amazonka.Transfer.StopServer | |
Show StopServerResponse Source # | |
Defined in Amazonka.Transfer.StopServer showsPrec :: Int -> StopServerResponse -> ShowS # show :: StopServerResponse -> String # showList :: [StopServerResponse] -> ShowS # | |
Generic StopServerResponse Source # | |
Defined in Amazonka.Transfer.StopServer type Rep StopServerResponse :: Type -> Type # from :: StopServerResponse -> Rep StopServerResponse x # to :: Rep StopServerResponse x -> StopServerResponse # | |
NFData StopServerResponse Source # | |
Defined in Amazonka.Transfer.StopServer rnf :: StopServerResponse -> () # | |
type Rep StopServerResponse Source # | |
newStopServerResponse :: StopServerResponse Source #
Create a value of StopServerResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.