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

Description

Creates a folder with the specified name and parent folder.

Synopsis

Creating a Request

data CreateFolder Source #

See: newCreateFolder smart constructor.

Constructors

CreateFolder' 

Fields

Instances

Instances details
Eq CreateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

Show CreateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

Generic CreateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

Associated Types

type Rep CreateFolder :: Type -> Type #

NFData CreateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

Methods

rnf :: CreateFolder -> () #

Hashable CreateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

ToJSON CreateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

AWSRequest CreateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

Associated Types

type AWSResponse CreateFolder #

ToHeaders CreateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

ToPath CreateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

ToQuery CreateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

type Rep CreateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

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

Defined in Amazonka.WorkDocs.CreateFolder

newCreateFolder Source #

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

$sel:name:CreateFolder', createFolder_name - The name of the new folder.

$sel:parentFolderId:CreateFolder', createFolder_parentFolderId - The ID of the parent folder.

Request Lenses

createFolder_authenticationToken :: Lens' CreateFolder (Maybe Text) Source #

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

createFolder_name :: Lens' CreateFolder (Maybe Text) Source #

The name of the new folder.

Destructuring the Response

data CreateFolderResponse Source #

See: newCreateFolderResponse smart constructor.

Constructors

CreateFolderResponse' 

Fields

Instances

Instances details
Eq CreateFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

Read CreateFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

Show CreateFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

Generic CreateFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

Associated Types

type Rep CreateFolderResponse :: Type -> Type #

NFData CreateFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

Methods

rnf :: CreateFolderResponse -> () #

type Rep CreateFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateFolder

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

newCreateFolderResponse Source #

Create a value of CreateFolderResponse 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:metadata:CreateFolderResponse', createFolderResponse_metadata - The metadata of the folder.

$sel:httpStatus:CreateFolderResponse', createFolderResponse_httpStatus - The response's http status code.

Response Lenses