aws_sdk_route53/client/
update_hosted_zone_features.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 [`UpdateHostedZoneFeatures`](crate::operation::update_hosted_zone_features::builders::UpdateHostedZoneFeaturesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`hosted_zone_id(impl Into<String>)`](crate::operation::update_hosted_zone_features::builders::UpdateHostedZoneFeaturesFluentBuilder::hosted_zone_id) / [`set_hosted_zone_id(Option<String>)`](crate::operation::update_hosted_zone_features::builders::UpdateHostedZoneFeaturesFluentBuilder::set_hosted_zone_id):<br>required: **true**<br><p>The ID of the hosted zone for which you want to update features. This is the unique identifier for your hosted zone.</p><br>
7    ///   - [`enable_accelerated_recovery(bool)`](crate::operation::update_hosted_zone_features::builders::UpdateHostedZoneFeaturesFluentBuilder::enable_accelerated_recovery) / [`set_enable_accelerated_recovery(Option<bool>)`](crate::operation::update_hosted_zone_features::builders::UpdateHostedZoneFeaturesFluentBuilder::set_enable_accelerated_recovery):<br>required: **false**<br><p>Specifies whether to enable accelerated recovery for the hosted zone. Set to <code>true</code> to enable accelerated recovery, or <code>false</code> to disable it.</p><br>
8    /// - On success, responds with [`UpdateHostedZoneFeaturesOutput`](crate::operation::update_hosted_zone_features::UpdateHostedZoneFeaturesOutput)
9    /// - On failure, responds with [`SdkError<UpdateHostedZoneFeaturesError>`](crate::operation::update_hosted_zone_features::UpdateHostedZoneFeaturesError)
10    pub fn update_hosted_zone_features(&self) -> crate::operation::update_hosted_zone_features::builders::UpdateHostedZoneFeaturesFluentBuilder {
11        crate::operation::update_hosted_zone_features::builders::UpdateHostedZoneFeaturesFluentBuilder::new(self.handle.clone())
12    }
13}