aws_sdk_securityir/client/update_case_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 [`UpdateCaseComment`](crate::operation::update_case_comment::builders::UpdateCaseCommentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`case_id(impl Into<String>)`](crate::operation::update_case_comment::builders::UpdateCaseCommentFluentBuilder::case_id) / [`set_case_id(Option<String>)`](crate::operation::update_case_comment::builders::UpdateCaseCommentFluentBuilder::set_case_id):<br>required: **true**<br><p>Required element for UpdateCaseComment to identify the case ID containing the comment to be updated.</p><br>
7 /// - [`comment_id(impl Into<String>)`](crate::operation::update_case_comment::builders::UpdateCaseCommentFluentBuilder::comment_id) / [`set_comment_id(Option<String>)`](crate::operation::update_case_comment::builders::UpdateCaseCommentFluentBuilder::set_comment_id):<br>required: **true**<br><p>Required element for UpdateCaseComment to identify the case ID to be updated.</p><br>
8 /// - [`body(impl Into<String>)`](crate::operation::update_case_comment::builders::UpdateCaseCommentFluentBuilder::body) / [`set_body(Option<String>)`](crate::operation::update_case_comment::builders::UpdateCaseCommentFluentBuilder::set_body):<br>required: **true**<br><p>Required element for UpdateCaseComment to identify the content for the comment to be updated.</p><br>
9 /// - On success, responds with [`UpdateCaseCommentOutput`](crate::operation::update_case_comment::UpdateCaseCommentOutput) with field(s):
10 /// - [`comment_id(String)`](crate::operation::update_case_comment::UpdateCaseCommentOutput::comment_id): <p>Response element for UpdateCaseComment providing the updated comment ID.</p>
11 /// - [`body(Option<String>)`](crate::operation::update_case_comment::UpdateCaseCommentOutput::body): <p>Response element for UpdateCaseComment providing the updated comment content.</p>
12 /// - On failure, responds with [`SdkError<UpdateCaseCommentError>`](crate::operation::update_case_comment::UpdateCaseCommentError)
13 pub fn update_case_comment(&self) -> crate::operation::update_case_comment::builders::UpdateCaseCommentFluentBuilder {
14 crate::operation::update_case_comment::builders::UpdateCaseCommentFluentBuilder::new(self.handle.clone())
15 }
16}