aws_sdk_route53/client/update_traffic_policy_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 [`UpdateTrafficPolicyComment`](crate::operation::update_traffic_policy_comment::builders::UpdateTrafficPolicyCommentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::update_traffic_policy_comment::builders::UpdateTrafficPolicyCommentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_traffic_policy_comment::builders::UpdateTrafficPolicyCommentFluentBuilder::set_id):<br>required: **true**<br><p>The value of <code>Id</code> for the traffic policy that you want to update the comment for.</p><br>
7 /// - [`version(i32)`](crate::operation::update_traffic_policy_comment::builders::UpdateTrafficPolicyCommentFluentBuilder::version) / [`set_version(Option<i32>)`](crate::operation::update_traffic_policy_comment::builders::UpdateTrafficPolicyCommentFluentBuilder::set_version):<br>required: **true**<br><p>The value of <code>Version</code> for the traffic policy that you want to update the comment for.</p><br>
8 /// - [`comment(impl Into<String>)`](crate::operation::update_traffic_policy_comment::builders::UpdateTrafficPolicyCommentFluentBuilder::comment) / [`set_comment(Option<String>)`](crate::operation::update_traffic_policy_comment::builders::UpdateTrafficPolicyCommentFluentBuilder::set_comment):<br>required: **true**<br><p>The new comment for the specified traffic policy and version.</p><br>
9 /// - On success, responds with [`UpdateTrafficPolicyCommentOutput`](crate::operation::update_traffic_policy_comment::UpdateTrafficPolicyCommentOutput) with field(s):
10 /// - [`traffic_policy(Option<TrafficPolicy>)`](crate::operation::update_traffic_policy_comment::UpdateTrafficPolicyCommentOutput::traffic_policy): <p>A complex type that contains settings for the specified traffic policy.</p>
11 /// - On failure, responds with [`SdkError<UpdateTrafficPolicyCommentError>`](crate::operation::update_traffic_policy_comment::UpdateTrafficPolicyCommentError)
12 pub fn update_traffic_policy_comment(
13 &self,
14 ) -> crate::operation::update_traffic_policy_comment::builders::UpdateTrafficPolicyCommentFluentBuilder {
15 crate::operation::update_traffic_policy_comment::builders::UpdateTrafficPolicyCommentFluentBuilder::new(self.handle.clone())
16 }
17}