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

Description

Retrieves a collection of resources, including folders and documents. The only CollectionType supported is SHARED_WITH_ME.

Synopsis

Creating a Request

data GetResources Source #

See: newGetResources smart constructor.

Constructors

GetResources' 

Fields

Instances

Instances details
Eq GetResources Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

Show GetResources Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

Generic GetResources Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

Associated Types

type Rep GetResources :: Type -> Type #

NFData GetResources Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

Methods

rnf :: GetResources -> () #

Hashable GetResources Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

AWSRequest GetResources Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

Associated Types

type AWSResponse GetResources #

ToHeaders GetResources Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

ToPath GetResources Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

ToQuery GetResources Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

type Rep GetResources Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

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

Defined in Amazonka.WorkDocs.GetResources

newGetResources :: GetResources Source #

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

$sel:userId:GetResources', getResources_userId - The user ID for the resource collection. This is a required field for accessing the API operation using IAM credentials.

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

$sel:limit:GetResources', getResources_limit - The maximum number of resources to return.

$sel:collectionType:GetResources', getResources_collectionType - The collection type.

Request Lenses

getResources_authenticationToken :: Lens' GetResources (Maybe Text) Source #

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

getResources_userId :: Lens' GetResources (Maybe Text) Source #

The user ID for the resource collection. This is a required field for accessing the API operation using IAM credentials.

getResources_marker :: Lens' GetResources (Maybe Text) Source #

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

getResources_limit :: Lens' GetResources (Maybe Natural) Source #

The maximum number of resources to return.

Destructuring the Response

data GetResourcesResponse Source #

See: newGetResourcesResponse smart constructor.

Constructors

GetResourcesResponse' 

Fields

Instances

Instances details
Eq GetResourcesResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

Show GetResourcesResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

Generic GetResourcesResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

Associated Types

type Rep GetResourcesResponse :: Type -> Type #

NFData GetResourcesResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

Methods

rnf :: GetResourcesResponse -> () #

type Rep GetResourcesResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetResources

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

newGetResourcesResponse Source #

Create a value of GetResourcesResponse 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:GetResourcesResponse', getResourcesResponse_folders - The folders in the specified folder.

$sel:documents:GetResourcesResponse', getResourcesResponse_documents - The documents in the specified collection.

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

$sel:httpStatus:GetResourcesResponse', getResourcesResponse_httpStatus - The response's http status code.

Response Lenses

getResourcesResponse_marker :: Lens' GetResourcesResponse (Maybe Text) Source #

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