aws_sdk_route53/client/update_hosted_zone_comment.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 [`UpdateHostedZoneComment`](crate::operation::update_hosted_zone_comment::builders::UpdateHostedZoneCommentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`UpdateHostedZoneCommentOutput`](crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentOutput) with field(s):
9 /// - [`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>
10 /// - On failure, responds with [`SdkError<UpdateHostedZoneCommentError>`](crate::operation::update_hosted_zone_comment::UpdateHostedZoneCommentError)
11 pub fn update_hosted_zone_comment(&self) -> crate::operation::update_hosted_zone_comment::builders::UpdateHostedZoneCommentFluentBuilder {
12 crate::operation::update_hosted_zone_comment::builders::UpdateHostedZoneCommentFluentBuilder::new(self.handle.clone())
13 }
14}