aws_sdk_cloudfront/client/get_distribution_tenant_by_domain.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 [`GetDistributionTenantByDomain`](crate::operation::get_distribution_tenant_by_domain::builders::GetDistributionTenantByDomainFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain(impl Into<String>)`](crate::operation::get_distribution_tenant_by_domain::builders::GetDistributionTenantByDomainFluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::get_distribution_tenant_by_domain::builders::GetDistributionTenantByDomainFluentBuilder::set_domain):<br>required: **true**<br><p>A domain name associated with the target distribution tenant.</p><br>
7 /// - On success, responds with [`GetDistributionTenantByDomainOutput`](crate::operation::get_distribution_tenant_by_domain::GetDistributionTenantByDomainOutput) with field(s):
8 /// - [`distribution_tenant(Option<DistributionTenant>)`](crate::operation::get_distribution_tenant_by_domain::GetDistributionTenantByDomainOutput::distribution_tenant): <p>The distribution tenant.</p>
9 /// - [`e_tag(Option<String>)`](crate::operation::get_distribution_tenant_by_domain::GetDistributionTenantByDomainOutput::e_tag): <p>The current version of the distribution tenant.</p>
10 /// - On failure, responds with [`SdkError<GetDistributionTenantByDomainError>`](crate::operation::get_distribution_tenant_by_domain::GetDistributionTenantByDomainError)
11 pub fn get_distribution_tenant_by_domain(
12 &self,
13 ) -> crate::operation::get_distribution_tenant_by_domain::builders::GetDistributionTenantByDomainFluentBuilder {
14 crate::operation::get_distribution_tenant_by_domain::builders::GetDistributionTenantByDomainFluentBuilder::new(self.handle.clone())
15 }
16}