aws-sdk-cloudfront 1.116.0

AWS SDK for Amazon CloudFront
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteDistributionTenant`](crate::operation::delete_distribution_tenant::builders::DeleteDistributionTenantFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteDistributionTenantOutput`](crate::operation::delete_distribution_tenant::DeleteDistributionTenantOutput)
    /// - On failure, responds with [`SdkError<DeleteDistributionTenantError>`](crate::operation::delete_distribution_tenant::DeleteDistributionTenantError)
    pub fn delete_distribution_tenant(&self) -> crate::operation::delete_distribution_tenant::builders::DeleteDistributionTenantFluentBuilder {
        crate::operation::delete_distribution_tenant::builders::DeleteDistributionTenantFluentBuilder::new(self.handle.clone())
    }
}