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

Defined in Amazonka.WorkDocs.GetDocumentPath

Show GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Generic GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Associated Types

type Rep GetDocumentPath :: Type -> Type #

NFData GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Methods

rnf :: GetDocumentPath -> () #

Hashable GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

AWSRequest GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Associated Types

type AWSResponse GetDocumentPath #

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

type Rep GetDocumentPath Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

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

Defined in Amazonka.WorkDocs.GetDocumentPath

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:marker:GetDocumentPath', getDocumentPath_marker - This value is not supported.

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

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

$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_marker :: Lens' GetDocumentPath (Maybe Text) Source #

This value is not supported.

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

The maximum number of levels in the hierarchy to return.

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

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

Destructuring the Response

data GetDocumentPathResponse Source #

See: newGetDocumentPathResponse smart constructor.

Constructors

GetDocumentPathResponse' 

Fields

Instances

Instances details
Eq GetDocumentPathResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Read GetDocumentPathResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Show GetDocumentPathResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Generic GetDocumentPathResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Associated Types

type Rep GetDocumentPathResponse :: Type -> Type #

NFData GetDocumentPathResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

Methods

rnf :: GetDocumentPathResponse -> () #

type Rep GetDocumentPathResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetDocumentPath

type Rep GetDocumentPathResponse = D1 ('MetaData "GetDocumentPathResponse" "Amazonka.WorkDocs.GetDocumentPath" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" '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