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.DescribeDocumentVersions

Description

Retrieves the document versions for the specified document.

By default, only active versions are returned.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeDocumentVersions Source #

See: newDescribeDocumentVersions smart constructor.

Constructors

DescribeDocumentVersions' 

Fields

  • include :: Maybe Text

    A comma-separated list of values. Specify "INITIALIZED" to include incomplete versions.

  • authenticationToken :: Maybe (Sensitive Text)

    Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

  • marker :: Maybe Text

    The marker for the next set of results. (You received this marker from a previous call.)

  • limit :: Maybe Natural

    The maximum number of versions to return with this call.

  • fields :: Maybe Text

    Specify "SOURCE" to include initialized versions and a URL for the source document.

  • documentId :: Text

    The ID of the document.

Instances

Instances details
Eq DescribeDocumentVersions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

Show DescribeDocumentVersions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

Generic DescribeDocumentVersions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

Associated Types

type Rep DescribeDocumentVersions :: Type -> Type #

NFData DescribeDocumentVersions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

Hashable DescribeDocumentVersions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

AWSPager DescribeDocumentVersions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

AWSRequest DescribeDocumentVersions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

ToHeaders DescribeDocumentVersions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

ToPath DescribeDocumentVersions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

ToQuery DescribeDocumentVersions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

type Rep DescribeDocumentVersions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

type Rep DescribeDocumentVersions = D1 ('MetaData "DescribeDocumentVersions" "Amazonka.WorkDocs.DescribeDocumentVersions" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DescribeDocumentVersions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "include") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (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 "fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "documentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse DescribeDocumentVersions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

newDescribeDocumentVersions Source #

Create a value of DescribeDocumentVersions 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:include:DescribeDocumentVersions', describeDocumentVersions_include - A comma-separated list of values. Specify "INITIALIZED" to include incomplete versions.

$sel:authenticationToken:DescribeDocumentVersions', describeDocumentVersions_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

$sel:marker:DescribeDocumentVersions', describeDocumentVersions_marker - The marker for the next set of results. (You received this marker from a previous call.)

$sel:limit:DescribeDocumentVersions', describeDocumentVersions_limit - The maximum number of versions to return with this call.

$sel:fields:DescribeDocumentVersions', describeDocumentVersions_fields - Specify "SOURCE" to include initialized versions and a URL for the source document.

$sel:documentId:DescribeDocumentVersions', describeDocumentVersions_documentId - The ID of the document.

Request Lenses

describeDocumentVersions_include :: Lens' DescribeDocumentVersions (Maybe Text) Source #

A comma-separated list of values. Specify "INITIALIZED" to include incomplete versions.

describeDocumentVersions_authenticationToken :: Lens' DescribeDocumentVersions (Maybe Text) Source #

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

describeDocumentVersions_marker :: Lens' DescribeDocumentVersions (Maybe Text) Source #

The marker for the next set of results. (You received this marker from a previous call.)

describeDocumentVersions_limit :: Lens' DescribeDocumentVersions (Maybe Natural) Source #

The maximum number of versions to return with this call.

describeDocumentVersions_fields :: Lens' DescribeDocumentVersions (Maybe Text) Source #

Specify "SOURCE" to include initialized versions and a URL for the source document.

Destructuring the Response

data DescribeDocumentVersionsResponse Source #

See: newDescribeDocumentVersionsResponse smart constructor.

Constructors

DescribeDocumentVersionsResponse' 

Fields

Instances

Instances details
Eq DescribeDocumentVersionsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

Show DescribeDocumentVersionsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

Generic DescribeDocumentVersionsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

Associated Types

type Rep DescribeDocumentVersionsResponse :: Type -> Type #

NFData DescribeDocumentVersionsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

type Rep DescribeDocumentVersionsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeDocumentVersions

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

newDescribeDocumentVersionsResponse Source #

Create a value of DescribeDocumentVersionsResponse 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:documentVersions:DescribeDocumentVersionsResponse', describeDocumentVersionsResponse_documentVersions - The document versions.

$sel:marker:DescribeDocumentVersions', describeDocumentVersionsResponse_marker - The marker to use when requesting the next set of results. If there are no additional results, the string is empty.

$sel:httpStatus:DescribeDocumentVersionsResponse', describeDocumentVersionsResponse_httpStatus - The response's http status code.

Response Lenses

describeDocumentVersionsResponse_marker :: Lens' DescribeDocumentVersionsResponse (Maybe Text) Source #

The marker to use when requesting the next set of results. If there are no additional results, the string is empty.