Struct aws_sdk_workdocs::client::fluent_builders::CreateComment
source · [−]pub struct CreateComment<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateComment
.
Adds a new comment to the specified document version.
Implementations
impl<C, M, R> CreateComment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateComment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateCommentOutput, SdkError<CreateCommentError>> where
R::Policy: SmithyRetryPolicy<CreateCommentInputOperationOutputAlias, CreateCommentOutput, CreateCommentError, CreateCommentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateCommentOutput, SdkError<CreateCommentError>> where
R::Policy: SmithyRetryPolicy<CreateCommentInputOperationOutputAlias, CreateCommentOutput, CreateCommentError, CreateCommentInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
The ID of the document.
The ID of the document.
The ID of the document version.
The ID of the document version.
The ID of the parent comment.
The ID of the root comment in the thread.
The ID of the root comment in the thread.
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.
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.
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateComment<C, M, R>
impl<C, M, R> Unpin for CreateComment<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateComment<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more