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