amazonka-workdocs-2.0: Amazon WorkDocs SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WorkDocs.DescribeFolderContents

Description

Describes the contents of the specified folder, including its documents and subfolders.

By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeFolderContents Source #

See: newDescribeFolderContents smart constructor.

Constructors

DescribeFolderContents' 

Fields

Instances

Instances details
ToHeaders DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

ToPath DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

ToQuery DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

AWSPager DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

AWSRequest DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Associated Types

type AWSResponse DescribeFolderContents #

Generic DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Associated Types

type Rep DescribeFolderContents :: Type -> Type #

Show DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

NFData DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Methods

rnf :: DescribeFolderContents -> () #

Eq DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Hashable DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

type AWSResponse DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

type Rep DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

newDescribeFolderContents Source #

Create a value of DescribeFolderContents 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:DescribeFolderContents', describeFolderContents_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

$sel:include:DescribeFolderContents', describeFolderContents_include - The contents to include. Specify "INITIALIZED" to include initialized documents.

$sel:limit:DescribeFolderContents', describeFolderContents_limit - The maximum number of items to return with this call.

DescribeFolderContents, describeFolderContents_marker - The marker for the next set of results. This marker was received from a previous call.

$sel:order:DescribeFolderContents', describeFolderContents_order - The order for the contents of the folder.

$sel:sort:DescribeFolderContents', describeFolderContents_sort - The sorting criteria.

DescribeFolderContents, describeFolderContents_type - The type of items.

$sel:folderId:DescribeFolderContents', describeFolderContents_folderId - The ID of the folder.

Request Lenses

describeFolderContents_authenticationToken :: Lens' DescribeFolderContents (Maybe Text) Source #

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

describeFolderContents_include :: Lens' DescribeFolderContents (Maybe Text) Source #

The contents to include. Specify "INITIALIZED" to include initialized documents.

describeFolderContents_limit :: Lens' DescribeFolderContents (Maybe Natural) Source #

The maximum number of items to return with this call.

describeFolderContents_marker :: Lens' DescribeFolderContents (Maybe Text) Source #

The marker for the next set of results. This marker was received from a previous call.

describeFolderContents_order :: Lens' DescribeFolderContents (Maybe OrderType) Source #

The order for the contents of the folder.

Destructuring the Response

data DescribeFolderContentsResponse Source #

See: newDescribeFolderContentsResponse smart constructor.

Constructors

DescribeFolderContentsResponse' 

Fields

Instances

Instances details
Generic DescribeFolderContentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Associated Types

type Rep DescribeFolderContentsResponse :: Type -> Type #

Show DescribeFolderContentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

NFData DescribeFolderContentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Eq DescribeFolderContentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

type Rep DescribeFolderContentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

type Rep DescribeFolderContentsResponse = D1 ('MetaData "DescribeFolderContentsResponse" "Amazonka.WorkDocs.DescribeFolderContents" "amazonka-workdocs-2.0-2rElYnFvcad3yrUkWYMHCU" 'False) (C1 ('MetaCons "DescribeFolderContentsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "documents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DocumentMetadata])) :*: S1 ('MetaSel ('Just "folders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FolderMetadata]))) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeFolderContentsResponse Source #

Create a value of DescribeFolderContentsResponse 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:documents:DescribeFolderContentsResponse', describeFolderContentsResponse_documents - The documents in the specified folder.

$sel:folders:DescribeFolderContentsResponse', describeFolderContentsResponse_folders - The subfolders in the specified folder.

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

$sel:httpStatus:DescribeFolderContentsResponse', describeFolderContentsResponse_httpStatus - The response's http status code.

Response Lenses

describeFolderContentsResponse_marker :: Lens' DescribeFolderContentsResponse (Maybe Text) Source #

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