Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Comment

Focus mode
Comment - Amazon WorkDocs
Important

Notice: New customer sign-ups and account upgrades are no longer available for Amazon WorkDocs. Learn about migration steps here: How to migrate data from Amazon WorkDocs.

Describes a comment.

Contents

CommentId

The ID of the comment.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [\w+-.@]+

Required: Yes

Contributor

The details of the user who made the comment.

Type: User object

Required: No

CreatedTimestamp

The time that the comment was created.

Type: Timestamp

Required: No

ParentId

The ID of the parent comment.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [\w+-.@]+

Required: No

RecipientId

If the comment is a reply to another user's comment, this field contains the user ID of the user being replied to.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: [&\w+-.@]+

Required: No

Status

The status of the comment.

Type: String

Valid Values: DRAFT | PUBLISHED | DELETED

Required: No

Text

The text of the comment.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Required: No

ThreadId

The ID of the root comment in the thread.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [\w+-.@]+

Required: No

Visibility

The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.

Type: String

Valid Values: PUBLIC | PRIVATE

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.