| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.WorkDocs.DescribeComments
Description
List all the comments for the specified document version.
This operation returns paginated results.
Synopsis
- data DescribeComments = DescribeComments' {}
- newDescribeComments :: Text -> Text -> DescribeComments
- describeComments_authenticationToken :: Lens' DescribeComments (Maybe Text)
- describeComments_marker :: Lens' DescribeComments (Maybe Text)
- describeComments_limit :: Lens' DescribeComments (Maybe Natural)
- describeComments_documentId :: Lens' DescribeComments Text
- describeComments_versionId :: Lens' DescribeComments Text
- data DescribeCommentsResponse = DescribeCommentsResponse' {}
- newDescribeCommentsResponse :: Int -> DescribeCommentsResponse
- describeCommentsResponse_marker :: Lens' DescribeCommentsResponse (Maybe Text)
- describeCommentsResponse_comments :: Lens' DescribeCommentsResponse (Maybe [Comment])
- describeCommentsResponse_httpStatus :: Lens' DescribeCommentsResponse Int
Creating a Request
data DescribeComments Source #
See: newDescribeComments smart constructor.
Constructors
| DescribeComments' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DescribeComments |
Create a value of DescribeComments with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authenticationToken:DescribeComments', describeComments_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:marker:DescribeComments', describeComments_marker - The marker for the next set of results. This marker was received from a
previous call.
$sel:limit:DescribeComments', describeComments_limit - The maximum number of items to return.
$sel:documentId:DescribeComments', describeComments_documentId - The ID of the document.
$sel:versionId:DescribeComments', describeComments_versionId - The ID of the document version.
Request Lenses
describeComments_authenticationToken :: Lens' DescribeComments (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
describeComments_marker :: Lens' DescribeComments (Maybe Text) Source #
The marker for the next set of results. This marker was received from a previous call.
describeComments_limit :: Lens' DescribeComments (Maybe Natural) Source #
The maximum number of items to return.
describeComments_documentId :: Lens' DescribeComments Text Source #
The ID of the document.
describeComments_versionId :: Lens' DescribeComments Text Source #
The ID of the document version.
Destructuring the Response
data DescribeCommentsResponse Source #
See: newDescribeCommentsResponse smart constructor.
Constructors
| DescribeCommentsResponse' | |
Instances
newDescribeCommentsResponse Source #
Create a value of DescribeCommentsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:DescribeComments', describeCommentsResponse_marker - The marker for the next set of results. This marker was received from a
previous call.
$sel:comments:DescribeCommentsResponse', describeCommentsResponse_comments - The list of comments for the specified document version.
$sel:httpStatus:DescribeCommentsResponse', describeCommentsResponse_httpStatus - The response's http status code.
Response Lenses
describeCommentsResponse_marker :: Lens' DescribeCommentsResponse (Maybe Text) Source #
The marker for the next set of results. This marker was received from a previous call.
describeCommentsResponse_comments :: Lens' DescribeCommentsResponse (Maybe [Comment]) Source #
The list of comments for the specified document version.
describeCommentsResponse_httpStatus :: Lens' DescribeCommentsResponse Int Source #
The response's http status code.