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

Description

Updates the specified attributes of the specified folder. The user must have access to both the folder and its parent folder, if applicable.

Synopsis

Creating a Request

data UpdateFolder Source #

See: newUpdateFolder smart constructor.

Constructors

UpdateFolder' 

Fields

Instances

Instances details
Eq UpdateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

Show UpdateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

Generic UpdateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

Associated Types

type Rep UpdateFolder :: Type -> Type #

NFData UpdateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

Methods

rnf :: UpdateFolder -> () #

Hashable UpdateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

ToJSON UpdateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

AWSRequest UpdateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

Associated Types

type AWSResponse UpdateFolder #

ToHeaders UpdateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

ToPath UpdateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

ToQuery UpdateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

type Rep UpdateFolder Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

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

Defined in Amazonka.WorkDocs.UpdateFolder

newUpdateFolder Source #

Create a value of UpdateFolder 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:parentFolderId:UpdateFolder', updateFolder_parentFolderId - The ID of the parent folder.

$sel:authenticationToken:UpdateFolder', updateFolder_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

$sel:name:UpdateFolder', updateFolder_name - The name of the folder.

$sel:resourceState:UpdateFolder', updateFolder_resourceState - The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.

$sel:folderId:UpdateFolder', updateFolder_folderId - The ID of the folder.

Request Lenses

updateFolder_authenticationToken :: Lens' UpdateFolder (Maybe Text) Source #

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

updateFolder_name :: Lens' UpdateFolder (Maybe Text) Source #

The name of the folder.

updateFolder_resourceState :: Lens' UpdateFolder (Maybe ResourceStateType) Source #

The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.

Destructuring the Response

data UpdateFolderResponse Source #

See: newUpdateFolderResponse smart constructor.

Constructors

UpdateFolderResponse' 

Instances

Instances details
Eq UpdateFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

Read UpdateFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

Show UpdateFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

Generic UpdateFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

Associated Types

type Rep UpdateFolderResponse :: Type -> Type #

NFData UpdateFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

Methods

rnf :: UpdateFolderResponse -> () #

type Rep UpdateFolderResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateFolder

type Rep UpdateFolderResponse = D1 ('MetaData "UpdateFolderResponse" "Amazonka.WorkDocs.UpdateFolder" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "UpdateFolderResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateFolderResponse :: UpdateFolderResponse Source #

Create a value of UpdateFolderResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.