| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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_limit :: Lens' DescribeComments (Maybe Natural)
- describeComments_marker :: Lens' DescribeComments (Maybe Text)
- describeComments_documentId :: Lens' DescribeComments Text
- describeComments_versionId :: Lens' DescribeComments Text
- data DescribeCommentsResponse = DescribeCommentsResponse' {}
- newDescribeCommentsResponse :: Int -> DescribeCommentsResponse
- describeCommentsResponse_comments :: Lens' DescribeCommentsResponse (Maybe [Comment])
- describeCommentsResponse_marker :: Lens' DescribeCommentsResponse (Maybe Text)
- describeCommentsResponse_httpStatus :: Lens' DescribeCommentsResponse Int
Creating a Request
data DescribeComments Source #
See: newDescribeComments smart constructor.
Constructors
| DescribeComments' | |
Fields
| |
Instances
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:limit:DescribeComments', describeComments_limit - The maximum number of items to return.
DescribeComments, describeComments_marker - The marker for the next set of results. This marker was received from a
previous call.
$sel:documentId:DescribeComments', describeComments_documentId - The ID of the document.
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_limit :: Lens' DescribeComments (Maybe Natural) Source #
The maximum number of items to return.
describeComments_marker :: Lens' DescribeComments (Maybe Text) Source #
The marker for the next set of results. This marker was received from a previous call.
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:comments:DescribeCommentsResponse', describeCommentsResponse_comments - The list of comments for the specified document version.
DescribeComments, describeCommentsResponse_marker - The marker for the next set of results. This marker was received from a
previous call.
$sel:httpStatus:DescribeCommentsResponse', describeCommentsResponse_httpStatus - The response's http status code.
Response Lenses
describeCommentsResponse_comments :: Lens' DescribeCommentsResponse (Maybe [Comment]) Source #
The list of comments for the specified document version.
describeCommentsResponse_marker :: Lens' DescribeCommentsResponse (Maybe Text) Source #
The marker for the next set of results. This marker was received from a previous call.
describeCommentsResponse_httpStatus :: Lens' DescribeCommentsResponse Int Source #
The response's http status code.