libZSservicesZSamazonka-workdocsZSamazonka-workdocs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkDocs.DescribeComments

Description

List all the comments for the specified document version.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeComments Source #

See: newDescribeComments smart constructor.

Constructors

DescribeComments' 

Fields

Instances

Instances details
Eq DescribeComments Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

Show DescribeComments Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

Generic DescribeComments Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

Associated Types

type Rep DescribeComments :: Type -> Type #

NFData DescribeComments Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

Methods

rnf :: DescribeComments -> () #

Hashable DescribeComments Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

AWSPager DescribeComments Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

AWSRequest DescribeComments Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

Associated Types

type AWSResponse DescribeComments #

ToHeaders DescribeComments Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

ToPath DescribeComments Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

ToQuery DescribeComments Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

type Rep DescribeComments Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

type Rep DescribeComments = D1 ('MetaData "DescribeComments" "Amazonka.WorkDocs.DescribeComments" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DescribeComments'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "authenticationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "documentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse DescribeComments Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

newDescribeComments Source #

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_versionId :: Lens' DescribeComments Text Source #

The ID of the document version.

Destructuring the Response

data DescribeCommentsResponse Source #

See: newDescribeCommentsResponse smart constructor.

Constructors

DescribeCommentsResponse' 

Fields

Instances

Instances details
Eq DescribeCommentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

Show DescribeCommentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

Generic DescribeCommentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

Associated Types

type Rep DescribeCommentsResponse :: Type -> Type #

NFData DescribeCommentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

type Rep DescribeCommentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeComments

type Rep DescribeCommentsResponse = D1 ('MetaData "DescribeCommentsResponse" "Amazonka.WorkDocs.DescribeComments" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DescribeCommentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "comments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Comment])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.