aws_sdk_transfer/client/
stop_server.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopServer`](crate::operation::stop_server::builders::StopServerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`server_id(impl Into<String>)`](crate::operation::stop_server::builders::StopServerFluentBuilder::server_id) / [`set_server_id(Option<String>)`](crate::operation::stop_server::builders::StopServerFluentBuilder::set_server_id):<br>required: **true**<br><p>A system-assigned unique identifier for a server that you stopped.</p><br>
    /// - On success, responds with [`StopServerOutput`](crate::operation::stop_server::StopServerOutput)
    /// - On failure, responds with [`SdkError<StopServerError>`](crate::operation::stop_server::StopServerError)
    pub fn stop_server(&self) -> crate::operation::stop_server::builders::StopServerFluentBuilder {
        crate::operation::stop_server::builders::StopServerFluentBuilder::new(self.handle.clone())
    }
}