Struct aws_sdk_transfer::client::fluent_builders::StopServer [−][src]
pub struct StopServer<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StopServer
.
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.
Implementations
impl<C, M, R> StopServer<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StopServer<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<StopServerOutput, SdkError<StopServerError>> where
R::Policy: SmithyRetryPolicy<StopServerInputOperationOutputAlias, StopServerOutput, StopServerError, StopServerInputOperationRetryAlias>,
pub async fn send(self) -> Result<StopServerOutput, SdkError<StopServerError>> where
R::Policy: SmithyRetryPolicy<StopServerInputOperationOutputAlias, StopServerOutput, StopServerError, StopServerInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
A system-assigned unique identifier for a server that you stopped.
A system-assigned unique identifier for a server that you stopped.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StopServer<C, M, R>
impl<C, M, R> Unpin for StopServer<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StopServer<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more