aws_sdk_cloudfront/client/delete_distribution_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 [`DeleteDistributionTenant`](crate::operation::delete_distribution_tenant::builders::DeleteDistributionTenantFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::delete_distribution_tenant::builders::DeleteDistributionTenantFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_distribution_tenant::builders::DeleteDistributionTenantFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the distribution tenant to delete.</p><br>
7 /// - [`if_match(impl Into<String>)`](crate::operation::delete_distribution_tenant::builders::DeleteDistributionTenantFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::delete_distribution_tenant::builders::DeleteDistributionTenantFluentBuilder::set_if_match):<br>required: **true**<br><p>The value of the <code>ETag</code> header that you received when retrieving the distribution tenant. This value is returned in the response of the <code>GetDistributionTenant</code> API operation.</p><br>
8 /// - On success, responds with [`DeleteDistributionTenantOutput`](crate::operation::delete_distribution_tenant::DeleteDistributionTenantOutput)
9 /// - On failure, responds with [`SdkError<DeleteDistributionTenantError>`](crate::operation::delete_distribution_tenant::DeleteDistributionTenantError)
10 pub fn delete_distribution_tenant(&self) -> crate::operation::delete_distribution_tenant::builders::DeleteDistributionTenantFluentBuilder {
11 crate::operation::delete_distribution_tenant::builders::DeleteDistributionTenantFluentBuilder::new(self.handle.clone())
12 }
13}