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

Description

Describes the current user's special folders; the RootFolder and the RecycleBin. RootFolder is the root of user's files and folders and RecycleBin is the root of recycled items. This is not a valid action for SigV4 (administrative API) clients.

This action requires an authentication token. To get an authentication token, register an application with Amazon WorkDocs. For more information, see Authentication and Access Control for User Applications in the Amazon WorkDocs Developer Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeRootFolders Source #

See: newDescribeRootFolders smart constructor.

Constructors

DescribeRootFolders' 

Fields

Instances

Instances details
Eq DescribeRootFolders Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

Show DescribeRootFolders Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

Generic DescribeRootFolders Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

Associated Types

type Rep DescribeRootFolders :: Type -> Type #

NFData DescribeRootFolders Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

Methods

rnf :: DescribeRootFolders -> () #

Hashable DescribeRootFolders Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

AWSPager DescribeRootFolders Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

AWSRequest DescribeRootFolders Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

Associated Types

type AWSResponse DescribeRootFolders #

ToHeaders DescribeRootFolders Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

ToPath DescribeRootFolders Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

ToQuery DescribeRootFolders Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

type Rep DescribeRootFolders Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

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

Defined in Amazonka.WorkDocs.DescribeRootFolders

newDescribeRootFolders Source #

Create a value of DescribeRootFolders 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:DescribeRootFolders', describeRootFolders_marker - The marker for the next set of results. (You received this marker from a previous call.)

$sel:limit:DescribeRootFolders', describeRootFolders_limit - The maximum number of items to return.

$sel:authenticationToken:DescribeRootFolders', describeRootFolders_authenticationToken - Amazon WorkDocs authentication token.

Request Lenses

describeRootFolders_marker :: Lens' DescribeRootFolders (Maybe Text) Source #

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

describeRootFolders_limit :: Lens' DescribeRootFolders (Maybe Natural) Source #

The maximum number of items to return.

Destructuring the Response

data DescribeRootFoldersResponse Source #

See: newDescribeRootFoldersResponse smart constructor.

Constructors

DescribeRootFoldersResponse' 

Fields

Instances

Instances details
Eq DescribeRootFoldersResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

Read DescribeRootFoldersResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

Show DescribeRootFoldersResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

Generic DescribeRootFoldersResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

Associated Types

type Rep DescribeRootFoldersResponse :: Type -> Type #

NFData DescribeRootFoldersResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

type Rep DescribeRootFoldersResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeRootFolders

type Rep DescribeRootFoldersResponse = D1 ('MetaData "DescribeRootFoldersResponse" "Amazonka.WorkDocs.DescribeRootFolders" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DescribeRootFoldersResponse'" 'PrefixI 'True) (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))))

newDescribeRootFoldersResponse Source #

Create a value of DescribeRootFoldersResponse 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:DescribeRootFoldersResponse', describeRootFoldersResponse_folders - The user's special folders.

$sel:marker:DescribeRootFolders', describeRootFoldersResponse_marker - The marker for the next set of results.

$sel:httpStatus:DescribeRootFoldersResponse', describeRootFoldersResponse_httpStatus - The response's http status code.

Response Lenses