aws_sdk_route53globalresolver/client/get_hosted_zone_association.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 [`GetHostedZoneAssociation`](crate::operation::get_hosted_zone_association::builders::GetHostedZoneAssociationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`hosted_zone_association_id(impl Into<String>)`](crate::operation::get_hosted_zone_association::builders::GetHostedZoneAssociationFluentBuilder::hosted_zone_association_id) / [`set_hosted_zone_association_id(Option<String>)`](crate::operation::get_hosted_zone_association::builders::GetHostedZoneAssociationFluentBuilder::set_hosted_zone_association_id):<br>required: **true**<br><p>ID of the private hosted zone association.</p><br>
7 /// - On success, responds with [`GetHostedZoneAssociationOutput`](crate::operation::get_hosted_zone_association::GetHostedZoneAssociationOutput) with field(s):
8 /// - [`id(String)`](crate::operation::get_hosted_zone_association::GetHostedZoneAssociationOutput::id): <p>ID of the private hosted zone association.</p>
9 /// - [`resource_arn(String)`](crate::operation::get_hosted_zone_association::GetHostedZoneAssociationOutput::resource_arn): <p>Amazon Resource Name (ARN) of the DNS view the private hosted zone is associated to.</p>
10 /// - [`hosted_zone_id(String)`](crate::operation::get_hosted_zone_association::GetHostedZoneAssociationOutput::hosted_zone_id): <p>ID of the hosted zone associated to the DNS view.</p>
11 /// - [`hosted_zone_name(String)`](crate::operation::get_hosted_zone_association::GetHostedZoneAssociationOutput::hosted_zone_name): <p>Name of the domain associated with the private hosted zone.</p>
12 /// - [`name(String)`](crate::operation::get_hosted_zone_association::GetHostedZoneAssociationOutput::name): <p>Name of the private hosted zone association.</p>
13 /// - [`created_at(DateTime)`](crate::operation::get_hosted_zone_association::GetHostedZoneAssociationOutput::created_at): <p>The time and date the private hosted zone association was created.</p>
14 /// - [`updated_at(DateTime)`](crate::operation::get_hosted_zone_association::GetHostedZoneAssociationOutput::updated_at): <p>The time and date the private hosted zone association was updated.</p>
15 /// - [`status(HostedZoneAssociationStatus)`](crate::operation::get_hosted_zone_association::GetHostedZoneAssociationOutput::status): <p>The operational status of the private hosted zone association.</p>
16 /// - On failure, responds with [`SdkError<GetHostedZoneAssociationError>`](crate::operation::get_hosted_zone_association::GetHostedZoneAssociationError)
17 pub fn get_hosted_zone_association(&self) -> crate::operation::get_hosted_zone_association::builders::GetHostedZoneAssociationFluentBuilder {
18 crate::operation::get_hosted_zone_association::builders::GetHostedZoneAssociationFluentBuilder::new(self.handle.clone())
19 }
20}