aws_sdk_transfer/client/describe_server.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeServer`](crate::operation::describe_server::builders::DescribeServerFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`server_id(impl Into<String>)`](crate::operation::describe_server::builders::DescribeServerFluentBuilder::server_id) / [`set_server_id(Option<String>)`](crate::operation::describe_server::builders::DescribeServerFluentBuilder::set_server_id):<br>required: **true**<br><p>A system-assigned unique identifier for a server.</p><br>
/// - On success, responds with [`DescribeServerOutput`](crate::operation::describe_server::DescribeServerOutput) with field(s):
/// - [`server(Option<DescribedServer>)`](crate::operation::describe_server::DescribeServerOutput::server): <p>An array containing the properties of a server with the <code>ServerID</code> you specified.</p>
/// - On failure, responds with [`SdkError<DescribeServerError>`](crate::operation::describe_server::DescribeServerError)
pub fn describe_server(&self) -> crate::operation::describe_server::builders::DescribeServerFluentBuilder {
crate::operation::describe_server::builders::DescribeServerFluentBuilder::new(self.handle.clone())
}
}