aws_sdk_workdocs/client/delete_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 [`DeleteComment`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`authentication_token(impl Into<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::set_authentication_token):<br>required: **false**<br><p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p><br>
7 /// - [`document_id(impl Into<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::document_id) / [`set_document_id(Option<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::set_document_id):<br>required: **true**<br><p>The ID of the document.</p><br>
8 /// - [`version_id(impl Into<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::version_id) / [`set_version_id(Option<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::set_version_id):<br>required: **true**<br><p>The ID of the document version.</p><br>
9 /// - [`comment_id(impl Into<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::comment_id) / [`set_comment_id(Option<String>)`](crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::set_comment_id):<br>required: **true**<br><p>The ID of the comment.</p><br>
10 /// - On success, responds with [`DeleteCommentOutput`](crate::operation::delete_comment::DeleteCommentOutput)
11 /// - On failure, responds with [`SdkError<DeleteCommentError>`](crate::operation::delete_comment::DeleteCommentError)
12 pub fn delete_comment(&self) -> crate::operation::delete_comment::builders::DeleteCommentFluentBuilder {
13 crate::operation::delete_comment::builders::DeleteCommentFluentBuilder::new(self.handle.clone())
14 }
15}