aws-sdk-route53 1.67.0

AWS SDK for Amazon Route 53
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateHostedZoneComment`](crate::operation::update_hosted_zone_comment::builders::UpdateHostedZoneCommentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::update_hosted_zone_comment::builders::UpdateHostedZoneCommentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_hosted_zone_comment::builders::UpdateHostedZoneCommentFluentBuilder::set_id):<br>required: **true**<br><p>The ID for the hosted zone that you want to update the comment for.</p><br>
    ///   - [`comment(impl Into<String>)`](crate::operation::update_hosted_zone_comment::builders::UpdateHostedZoneCommentFluentBuilder::comment) / [`set_comment(Option<String>)`](crate::operation::update_hosted_zone_comment::builders::UpdateHostedZoneCommentFluentBuilder::set_comment):<br>required: **false**<br><p>The new comment for the hosted zone. If you don't specify a value for <code>Comment</code>, Amazon Route 53 deletes the existing value of the <code>Comment</code> element, if any.</p><br>
    /// - On success, responds with [`UpdateHostedZoneCommentOutput`](crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentOutput) with field(s):
    ///   - [`hosted_zone(Option<HostedZone>)`](crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentOutput::hosted_zone): <p>A complex type that contains the response to the <code>UpdateHostedZoneComment</code> request.</p>
    /// - On failure, responds with [`SdkError<UpdateHostedZoneCommentError>`](crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentError)
    pub fn update_hosted_zone_comment(&self) -> crate::operation::update_hosted_zone_comment::builders::UpdateHostedZoneCommentFluentBuilder {
        crate::operation::update_hosted_zone_comment::builders::UpdateHostedZoneCommentFluentBuilder::new(self.handle.clone())
    }
}