aws_sdk_sesv2/client/
delete_tenant.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 [`DeleteTenant`](crate::operation::delete_tenant::builders::DeleteTenantFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`tenant_name(impl Into<String>)`](crate::operation::delete_tenant::builders::DeleteTenantFluentBuilder::tenant_name) / [`set_tenant_name(Option<String>)`](crate::operation::delete_tenant::builders::DeleteTenantFluentBuilder::set_tenant_name):<br>required: **true**<br><p>The name of the tenant to delete.</p><br>
7    /// - On success, responds with [`DeleteTenantOutput`](crate::operation::delete_tenant::DeleteTenantOutput)
8    /// - On failure, responds with [`SdkError<DeleteTenantError>`](crate::operation::delete_tenant::DeleteTenantError)
9    pub fn delete_tenant(&self) -> crate::operation::delete_tenant::builders::DeleteTenantFluentBuilder {
10        crate::operation::delete_tenant::builders::DeleteTenantFluentBuilder::new(self.handle.clone())
11    }
12}