1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeComments`](crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`authentication_token(impl Into<String>)`](crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder::set_authentication_token): <p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>
/// - [`document_id(impl Into<String>)`](crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder::document_id) / [`set_document_id(Option<String>)`](crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder::set_document_id): <p>The ID of the document.</p>
/// - [`version_id(impl Into<String>)`](crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder::version_id) / [`set_version_id(Option<String>)`](crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder::set_version_id): <p>The ID of the document version.</p>
/// - [`limit(i32)`](crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder::set_limit): <p>The maximum number of items to return.</p>
/// - [`marker(impl Into<String>)`](crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder::set_marker): <p>The marker for the next set of results. This marker was received from a previous call.</p>
/// - On success, responds with [`DescribeCommentsOutput`](crate::operation::describe_comments::DescribeCommentsOutput) with field(s):
/// - [`comments(Option<Vec<Comment>>)`](crate::operation::describe_comments::DescribeCommentsOutput::comments): <p>The list of comments for the specified document version.</p>
/// - [`marker(Option<String>)`](crate::operation::describe_comments::DescribeCommentsOutput::marker): <p>The marker for the next set of results. This marker was received from a previous call.</p>
/// - On failure, responds with [`SdkError<DescribeCommentsError>`](crate::operation::describe_comments::DescribeCommentsError)
pub fn describe_comments(
&self,
) -> crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder {
crate::operation::describe_comments::builders::DescribeCommentsFluentBuilder::new(
self.handle.clone(),
)
}
}