aws_sdk_cloudfront/client/
get_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 [`GetDistributionTenant`](crate::operation::get_distribution_tenant::builders::GetDistributionTenantFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::get_distribution_tenant::builders::GetDistributionTenantFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_distribution_tenant::builders::GetDistributionTenantFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the distribution tenant. You can specify the ARN, ID, or name of the distribution tenant.</p><br>
7    /// - On success, responds with [`GetDistributionTenantOutput`](crate::operation::get_distribution_tenant::GetDistributionTenantOutput) with field(s):
8    ///   - [`distribution_tenant(Option<DistributionTenant>)`](crate::operation::get_distribution_tenant::GetDistributionTenantOutput::distribution_tenant): <p>The distribution tenant that you retrieved.</p>
9    ///   - [`e_tag(Option<String>)`](crate::operation::get_distribution_tenant::GetDistributionTenantOutput::e_tag): <p>The current version of the distribution tenant.</p>
10    /// - On failure, responds with [`SdkError<GetDistributionTenantError>`](crate::operation::get_distribution_tenant::GetDistributionTenantError)
11    pub fn get_distribution_tenant(&self) -> crate::operation::get_distribution_tenant::builders::GetDistributionTenantFluentBuilder {
12        crate::operation::get_distribution_tenant::builders::GetDistributionTenantFluentBuilder::new(self.handle.clone())
13    }
14}