:doc:`WorkDocs <../../workdocs>` / Client / update_folder

*************
update_folder
*************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateFolder>`_  


  **Request Syntax**
  ::

    response = client.update_folder(
        AuthenticationToken='string',
        FolderId='string',
        Name='string',
        ParentFolderId='string',
        ResourceState='ACTIVE'|'RESTORING'|'RECYCLING'|'RECYCLED'
    )
    
  :type AuthenticationToken: string
  :param AuthenticationToken: 

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

    

  
  :type FolderId: string
  :param FolderId: **[REQUIRED]** 

    The ID of the folder.

    

  
  :type Name: string
  :param Name: 

    The name of the folder.

    

  
  :type ParentFolderId: string
  :param ParentFolderId: 

    The ID of the parent folder.

    

  
  :type ResourceState: string
  :param ResourceState: 

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

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`WorkDocs.Client.exceptions.EntityNotExistsException`

  
  *   :py:class:`WorkDocs.Client.exceptions.EntityAlreadyExistsException`

  
  *   :py:class:`WorkDocs.Client.exceptions.ProhibitedStateException`

  
  *   :py:class:`WorkDocs.Client.exceptions.ConflictingOperationException`

  
  *   :py:class:`WorkDocs.Client.exceptions.ConcurrentModificationException`

  
  *   :py:class:`WorkDocs.Client.exceptions.LimitExceededException`

  
  *   :py:class:`WorkDocs.Client.exceptions.UnauthorizedOperationException`

  
  *   :py:class:`WorkDocs.Client.exceptions.UnauthorizedResourceAccessException`

  
  *   :py:class:`WorkDocs.Client.exceptions.FailedDependencyException`

  
  *   :py:class:`WorkDocs.Client.exceptions.ServiceUnavailableException`

  