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

Description

Retrieves the path information (the hierarchy from the root folder) for the requested document.

By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested document and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the names of the parent folders.

Synopsis

Creating a Request

data GetDocumentPath Source #

See: newGetDocumentPath smart constructor.

Constructors

GetDocumentPath' 

Fields

Instances

Instances details
ToHeaders GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

ToPath GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

ToQuery GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

AWSRequest GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Associated Types

type AWSResponse GetDocumentPath #

Generic GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Associated Types

type Rep GetDocumentPath :: Type -> Type #

Show GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

NFData GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Methods

rnf :: GetDocumentPath -> () #

Eq GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Hashable GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

type AWSResponse GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

type Rep GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

type Rep GetDocumentPath = D1 ('MetaData "GetDocumentPath" "Amazonka.WorkDocs.GetDocumentPath" "amazonka-workdocs-2.0-2rElYnFvcad3yrUkWYMHCU" 'False) (C1 ('MetaCons "GetDocumentPath'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "authenticationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "documentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGetDocumentPath Source #

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

$sel:fields:GetDocumentPath', getDocumentPath_fields - A comma-separated list of values. Specify NAME to include the names of the parent folders.

$sel:limit:GetDocumentPath', getDocumentPath_limit - The maximum number of levels in the hierarchy to return.

$sel:marker:GetDocumentPath', getDocumentPath_marker - This value is not supported.

$sel:documentId:GetDocumentPath', getDocumentPath_documentId - The ID of the document.

Request Lenses

getDocumentPath_authenticationToken :: Lens' GetDocumentPath (Maybe Text) Source #

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

getDocumentPath_fields :: Lens' GetDocumentPath (Maybe Text) Source #

A comma-separated list of values. Specify NAME to include the names of the parent folders.

getDocumentPath_limit :: Lens' GetDocumentPath (Maybe Natural) Source #

The maximum number of levels in the hierarchy to return.

getDocumentPath_marker :: Lens' GetDocumentPath (Maybe Text) Source #

This value is not supported.

Destructuring the Response

data GetDocumentPathResponse Source #

See: newGetDocumentPathResponse smart constructor.

Constructors

GetDocumentPathResponse' 

Fields

Instances

Instances details
Generic GetDocumentPathResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Associated Types

type Rep GetDocumentPathResponse :: Type -> Type #

Read GetDocumentPathResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Show GetDocumentPathResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

NFData GetDocumentPathResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Methods

rnf :: GetDocumentPathResponse -> () #

Eq GetDocumentPathResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

type Rep GetDocumentPathResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

type Rep GetDocumentPathResponse = D1 ('MetaData "GetDocumentPathResponse" "Amazonka.WorkDocs.GetDocumentPath" "amazonka-workdocs-2.0-2rElYnFvcad3yrUkWYMHCU" 'False) (C1 ('MetaCons "GetDocumentPathResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourcePath)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetDocumentPathResponse Source #

Create a value of GetDocumentPathResponse 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:path:GetDocumentPathResponse', getDocumentPathResponse_path - The path information.

$sel:httpStatus:GetDocumentPathResponse', getDocumentPathResponse_httpStatus - The response's http status code.

Response Lenses