amazonka-workdocs-1.5.0: Amazon WorkDocs SDK.

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

Network.AWS.WorkDocs.DescribeDocumentVersions

Contents

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

describeDocumentVersions Source #

Creates a value of DescribeDocumentVersions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ddvInclude - A comma-separated list of values. Specify INITIALIZED to include incomplete versions.
  • ddvAuthenticationToken - Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
  • ddvMarker - The marker for the next set of results. (You received this marker from a previous call.)
  • ddvLimit - The maximum number of versions to return with this call.
  • ddvFields - Specify SOURCE to include initialized versions and a URL for the source document.
  • ddvDocumentId - The ID of the document.

data DescribeDocumentVersions Source #

See: describeDocumentVersions smart constructor.

Instances

Eq DescribeDocumentVersions Source # 
Data DescribeDocumentVersions Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeDocumentVersions -> c DescribeDocumentVersions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeDocumentVersions #

toConstr :: DescribeDocumentVersions -> Constr #

dataTypeOf :: DescribeDocumentVersions -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeDocumentVersions) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeDocumentVersions) #

gmapT :: (forall b. Data b => b -> b) -> DescribeDocumentVersions -> DescribeDocumentVersions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDocumentVersions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDocumentVersions -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeDocumentVersions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeDocumentVersions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeDocumentVersions -> m DescribeDocumentVersions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDocumentVersions -> m DescribeDocumentVersions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDocumentVersions -> m DescribeDocumentVersions #

Show DescribeDocumentVersions Source # 
Generic DescribeDocumentVersions Source # 
Hashable DescribeDocumentVersions Source # 
NFData DescribeDocumentVersions Source # 
AWSPager DescribeDocumentVersions Source # 
AWSRequest DescribeDocumentVersions Source # 
ToQuery DescribeDocumentVersions Source # 
ToPath DescribeDocumentVersions Source # 
ToHeaders DescribeDocumentVersions Source # 
type Rep DescribeDocumentVersions Source # 
type Rep DescribeDocumentVersions = D1 (MetaData "DescribeDocumentVersions" "Network.AWS.WorkDocs.DescribeDocumentVersions" "amazonka-workdocs-1.5.0-BQCQjzmZAyNCgdficzQnx9" False) (C1 (MetaCons "DescribeDocumentVersions'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ddvInclude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ddvAuthenticationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) (S1 (MetaSel (Just Symbol "_ddvMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_ddvLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_ddvFields") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ddvDocumentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs DescribeDocumentVersions Source # 

Request Lenses

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

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

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

Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

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

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

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

The maximum number of versions to return with this call.

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

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

Destructuring the Response

describeDocumentVersionsResponse Source #

Creates a value of DescribeDocumentVersionsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeDocumentVersionsResponse Source #

See: describeDocumentVersionsResponse smart constructor.

Instances

Eq DescribeDocumentVersionsResponse Source # 
Data DescribeDocumentVersionsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeDocumentVersionsResponse -> c DescribeDocumentVersionsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeDocumentVersionsResponse #

toConstr :: DescribeDocumentVersionsResponse -> Constr #

dataTypeOf :: DescribeDocumentVersionsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeDocumentVersionsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeDocumentVersionsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeDocumentVersionsResponse -> DescribeDocumentVersionsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDocumentVersionsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDocumentVersionsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeDocumentVersionsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeDocumentVersionsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeDocumentVersionsResponse -> m DescribeDocumentVersionsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDocumentVersionsResponse -> m DescribeDocumentVersionsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDocumentVersionsResponse -> m DescribeDocumentVersionsResponse #

Show DescribeDocumentVersionsResponse Source # 
Generic DescribeDocumentVersionsResponse Source # 
NFData DescribeDocumentVersionsResponse Source # 
type Rep DescribeDocumentVersionsResponse Source # 
type Rep DescribeDocumentVersionsResponse = D1 (MetaData "DescribeDocumentVersionsResponse" "Network.AWS.WorkDocs.DescribeDocumentVersions" "amazonka-workdocs-1.5.0-BQCQjzmZAyNCgdficzQnx9" False) (C1 (MetaCons "DescribeDocumentVersionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddvrsDocumentVersions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DocumentVersionMetadata]))) ((:*:) (S1 (MetaSel (Just Symbol "_ddvrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ddvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

ddvrsMarker :: 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.