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

Description

Retrieves the metadata of the specified folder.

Synopsis

Creating a Request

data GetFolder Source #

See: newGetFolder smart constructor.

Constructors

GetFolder' 

Fields

Instances

Instances details
Eq GetFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

Show GetFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

Generic GetFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

Associated Types

type Rep GetFolder :: Type -> Type #

NFData GetFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

Methods

rnf :: GetFolder -> () #

Hashable GetFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

AWSRequest GetFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

Associated Types

type AWSResponse GetFolder #

ToHeaders GetFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

Methods

toHeaders :: GetFolder -> [Header] #

ToPath GetFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

ToQuery GetFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

type Rep GetFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

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

Defined in Amazonka.WorkDocs.GetFolder

newGetFolder Source #

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

$sel:includeCustomMetadata:GetFolder', getFolder_includeCustomMetadata - Set to TRUE to include custom metadata in the response.

$sel:folderId:GetFolder', getFolder_folderId - The ID of the folder.

Request Lenses

getFolder_authenticationToken :: Lens' GetFolder (Maybe Text) Source #

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

getFolder_includeCustomMetadata :: Lens' GetFolder (Maybe Bool) Source #

Set to TRUE to include custom metadata in the response.

getFolder_folderId :: Lens' GetFolder Text Source #

The ID of the folder.

Destructuring the Response

data GetFolderResponse Source #

See: newGetFolderResponse smart constructor.

Constructors

GetFolderResponse' 

Fields

Instances

Instances details
Eq GetFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

Read GetFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

Show GetFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

Generic GetFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

Associated Types

type Rep GetFolderResponse :: Type -> Type #

NFData GetFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

Methods

rnf :: GetFolderResponse -> () #

type Rep GetFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.GetFolder

type Rep GetFolderResponse = D1 ('MetaData "GetFolderResponse" "Amazonka.WorkDocs.GetFolder" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "GetFolderResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "customMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FolderMetadata)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetFolderResponse Source #

Create a value of GetFolderResponse 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:customMetadata:GetFolderResponse', getFolderResponse_customMetadata - The custom metadata on the folder.

$sel:metadata:GetFolderResponse', getFolderResponse_metadata - The metadata of the folder.

$sel:httpStatus:GetFolderResponse', getFolderResponse_httpStatus - The response's http status code.

Response Lenses

getFolderResponse_httpStatus :: Lens' GetFolderResponse Int Source #

The response's http status code.