aws_sdk_transfer/client/stop_server.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`StopServer`](crate::operation::stop_server::builders::StopServerFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`StopServerOutput`](crate::operation::stop_server::StopServerOutput)
8 /// - On failure, responds with [`SdkError<StopServerError>`](crate::operation::stop_server::StopServerError)
9 pub fn stop_server(&self) -> crate::operation::stop_server::builders::StopServerFluentBuilder {
10 crate::operation::stop_server::builders::StopServerFluentBuilder::new(self.handle.clone())
11 }
12}