aws_sdk_transfer/client/
delete_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 [`DeleteServer`](crate::operation::delete_server::builders::DeleteServerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`server_id(impl Into<String>)`](crate::operation::delete_server::builders::DeleteServerFluentBuilder::server_id) / [`set_server_id(Option<String>)`](crate::operation::delete_server::builders::DeleteServerFluentBuilder::set_server_id):<br>required: **true**<br><p>A unique system-assigned identifier for a server instance.</p><br>
    /// - On success, responds with [`DeleteServerOutput`](crate::operation::delete_server::DeleteServerOutput)
    /// - On failure, responds with [`SdkError<DeleteServerError>`](crate::operation::delete_server::DeleteServerError)
    pub fn delete_server(&self) -> crate::operation::delete_server::builders::DeleteServerFluentBuilder {
        crate::operation::delete_server::builders::DeleteServerFluentBuilder::new(self.handle.clone())
    }
}