update_folder

WorkDocs.Client.update_folder(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.update_folder(
    AuthenticationToken='string',
    FolderId='string',
    Name='string',
    ParentFolderId='string',
    ResourceState='ACTIVE'|'RESTORING'|'RECYCLING'|'RECYCLED'
)
Parameters
  • AuthenticationToken (string) -- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • FolderId (string) --

    [REQUIRED]

    The ID of the folder.

  • Name (string) -- The name of the folder.
  • ParentFolderId (string) -- The ID of the parent folder.
  • ResourceState (string) -- The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.
Returns

None

Exceptions

  • WorkDocs.Client.exceptions.EntityNotExistsException
  • WorkDocs.Client.exceptions.EntityAlreadyExistsException
  • WorkDocs.Client.exceptions.ProhibitedStateException
  • WorkDocs.Client.exceptions.ConflictingOperationException
  • WorkDocs.Client.exceptions.ConcurrentModificationException
  • WorkDocs.Client.exceptions.LimitExceededException
  • WorkDocs.Client.exceptions.UnauthorizedOperationException
  • WorkDocs.Client.exceptions.UnauthorizedResourceAccessException
  • WorkDocs.Client.exceptions.FailedDependencyException
  • WorkDocs.Client.exceptions.ServiceUnavailableException