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.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
Eq DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Show DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Generic DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Associated Types

type Rep DescribeFolderContents :: Type -> Type #

NFData DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Methods

rnf :: DescribeFolderContents -> () #

Hashable 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 #

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

type Rep DescribeFolderContents Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

type AWSResponse 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:include:DescribeFolderContents', describeFolderContents_include - The contents to include. Specify "INITIALIZED" to include initialized documents.

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

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

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

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

$sel:type':DescribeFolderContents', describeFolderContents_type - The type of items.

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

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

Request Lenses

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

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

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

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

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

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

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

The maximum number of items to return with this 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
Eq DescribeFolderContentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Show DescribeFolderContentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Generic DescribeFolderContentsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeFolderContents

Associated Types

type Rep DescribeFolderContentsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DescribeFolderContentsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "folders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FolderMetadata])) :*: S1 ('MetaSel ('Just "documents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DocumentMetadata]))) :*: (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:folders:DescribeFolderContentsResponse', describeFolderContentsResponse_folders - The subfolders in the specified folder.

$sel:documents:DescribeFolderContentsResponse', describeFolderContentsResponse_documents - The documents in the specified folder.

$sel:marker: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.