

********
WorkDocs
********

.. contents:: Table of Contents
   :depth: 2


======
Client
======



.. py:class:: WorkDocs.Client

  A low-level client representing Amazon WorkDocs::

    
    import boto3
    
    client = boto3.client('workdocs')

  
  These are the available methods:
  
  *   :py:meth:`~WorkDocs.Client.abort_document_version_upload`

  
  *   :py:meth:`~WorkDocs.Client.activate_user`

  
  *   :py:meth:`~WorkDocs.Client.add_resource_permissions`

  
  *   :py:meth:`~WorkDocs.Client.can_paginate`

  
  *   :py:meth:`~WorkDocs.Client.create_comment`

  
  *   :py:meth:`~WorkDocs.Client.create_custom_metadata`

  
  *   :py:meth:`~WorkDocs.Client.create_folder`

  
  *   :py:meth:`~WorkDocs.Client.create_labels`

  
  *   :py:meth:`~WorkDocs.Client.create_notification_subscription`

  
  *   :py:meth:`~WorkDocs.Client.create_user`

  
  *   :py:meth:`~WorkDocs.Client.deactivate_user`

  
  *   :py:meth:`~WorkDocs.Client.delete_comment`

  
  *   :py:meth:`~WorkDocs.Client.delete_custom_metadata`

  
  *   :py:meth:`~WorkDocs.Client.delete_document`

  
  *   :py:meth:`~WorkDocs.Client.delete_folder`

  
  *   :py:meth:`~WorkDocs.Client.delete_folder_contents`

  
  *   :py:meth:`~WorkDocs.Client.delete_labels`

  
  *   :py:meth:`~WorkDocs.Client.delete_notification_subscription`

  
  *   :py:meth:`~WorkDocs.Client.delete_user`

  
  *   :py:meth:`~WorkDocs.Client.describe_activities`

  
  *   :py:meth:`~WorkDocs.Client.describe_comments`

  
  *   :py:meth:`~WorkDocs.Client.describe_document_versions`

  
  *   :py:meth:`~WorkDocs.Client.describe_folder_contents`

  
  *   :py:meth:`~WorkDocs.Client.describe_notification_subscriptions`

  
  *   :py:meth:`~WorkDocs.Client.describe_resource_permissions`

  
  *   :py:meth:`~WorkDocs.Client.describe_root_folders`

  
  *   :py:meth:`~WorkDocs.Client.describe_users`

  
  *   :py:meth:`~WorkDocs.Client.generate_presigned_url`

  
  *   :py:meth:`~WorkDocs.Client.get_current_user`

  
  *   :py:meth:`~WorkDocs.Client.get_document`

  
  *   :py:meth:`~WorkDocs.Client.get_document_path`

  
  *   :py:meth:`~WorkDocs.Client.get_document_version`

  
  *   :py:meth:`~WorkDocs.Client.get_folder`

  
  *   :py:meth:`~WorkDocs.Client.get_folder_path`

  
  *   :py:meth:`~WorkDocs.Client.get_paginator`

  
  *   :py:meth:`~WorkDocs.Client.get_waiter`

  
  *   :py:meth:`~WorkDocs.Client.initiate_document_version_upload`

  
  *   :py:meth:`~WorkDocs.Client.remove_all_resource_permissions`

  
  *   :py:meth:`~WorkDocs.Client.remove_resource_permission`

  
  *   :py:meth:`~WorkDocs.Client.update_document`

  
  *   :py:meth:`~WorkDocs.Client.update_document_version`

  
  *   :py:meth:`~WorkDocs.Client.update_folder`

  
  *   :py:meth:`~WorkDocs.Client.update_user`

  

  .. py:method:: abort_document_version_upload(**kwargs)

    

    Aborts the upload of the specified document version that was previously initiated by  InitiateDocumentVersionUpload . The client should make this call only when it no longer intends to upload the document version, or fails to do so.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AbortDocumentVersionUpload>`_    


    **Request Syntax** 
    ::

      response = client.abort_document_version_upload(
          AuthenticationToken='string',
          DocumentId='string',
          VersionId='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the document.

      

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

      The ID of the version.

      

    
    
    :returns: None

  .. py:method:: activate_user(**kwargs)

    

    Activates the specified user. Only active users can access Amazon WorkDocs.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ActivateUser>`_    


    **Request Syntax** 
    ::

      response = client.activate_user(
          UserId='string',
          AuthenticationToken='string'
      )
    :type UserId: string
    :param UserId: **[REQUIRED]** 

      The ID of the user.

      

    
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'User': {
                'Id': 'string',
                'Username': 'string',
                'EmailAddress': 'string',
                'GivenName': 'string',
                'Surname': 'string',
                'OrganizationId': 'string',
                'RootFolderId': 'string',
                'RecycleBinFolderId': 'string',
                'Status': 'ACTIVE'|'INACTIVE'|'PENDING',
                'Type': 'USER'|'ADMIN',
                'CreatedTimestamp': datetime(2015, 1, 1),
                'ModifiedTimestamp': datetime(2015, 1, 1),
                'TimeZoneId': 'string',
                'Locale': 'en'|'fr'|'ko'|'de'|'es'|'ja'|'ru'|'zh_CN'|'zh_TW'|'pt_BR'|'default',
                'Storage': {
                    'StorageUtilizedInBytes': 123,
                    'StorageRule': {
                        'StorageAllocatedInBytes': 123,
                        'StorageType': 'UNLIMITED'|'QUOTA'
                    }
                }
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **User** *(dict) --* 

          The user information.

          
          

          - **Id** *(string) --* 

            The ID of the user.

            
          

          - **Username** *(string) --* 

            The login name of the user.

            
          

          - **EmailAddress** *(string) --* 

            The email address of the user.

            
          

          - **GivenName** *(string) --* 

            The given name of the user.

            
          

          - **Surname** *(string) --* 

            The surname of the user.

            
          

          - **OrganizationId** *(string) --* 

            The ID of the organization.

            
          

          - **RootFolderId** *(string) --* 

            The ID of the root folder.

            
          

          - **RecycleBinFolderId** *(string) --* 

            The ID of the recycle bin folder.

            
          

          - **Status** *(string) --* 

            The status of the user.

            
          

          - **Type** *(string) --* 

            The type of user.

            
          

          - **CreatedTimestamp** *(datetime) --* 

            The time when the user was created.

            
          

          - **ModifiedTimestamp** *(datetime) --* 

            The time when the user was modified.

            
          

          - **TimeZoneId** *(string) --* 

            The time zone ID of the user.

            
          

          - **Locale** *(string) --* 

            The locale of the user.

            
          

          - **Storage** *(dict) --* 

            The storage for the user.

            
            

            - **StorageUtilizedInBytes** *(integer) --* 

              The amount of storage utilized, in bytes.

              
            

            - **StorageRule** *(dict) --* 

              The storage for a user.

              
              

              - **StorageAllocatedInBytes** *(integer) --* 

                The amount of storage allocated, in bytes.

                
              

              - **StorageType** *(string) --* 

                The type of storage.

                
          
        
      
    

  .. py:method:: add_resource_permissions(**kwargs)

    

    Creates a set of permissions for the specified folder or document. The resource permissions are overwritten if the principals already have different permissions.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AddResourcePermissions>`_    


    **Request Syntax** 
    ::

      response = client.add_resource_permissions(
          AuthenticationToken='string',
          ResourceId='string',
          Principals=[
              {
                  'Id': 'string',
                  'Type': 'USER'|'GROUP'|'INVITE'|'ANONYMOUS'|'ORGANIZATION',
                  'Role': 'VIEWER'|'CONTRIBUTOR'|'OWNER'|'COOWNER'
              },
          ]
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the resource.

      

    
    :type Principals: list
    :param Principals: **[REQUIRED]** 

      The users, groups, or organization being granted permission.

      

    
      - *(dict) --* 

        Describes the recipient type and ID, if available.

        

      
        - **Id** *(string) --* **[REQUIRED]** 

          The ID of the recipient.

          

        
        - **Type** *(string) --* **[REQUIRED]** 

          The type of the recipient.

          

        
        - **Role** *(string) --* **[REQUIRED]** 

          The role of the recipient.

          

        
      
  
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'ShareResults': [
                {
                    'PrincipalId': 'string',
                    'Role': 'VIEWER'|'CONTRIBUTOR'|'OWNER'|'COOWNER',
                    'Status': 'SUCCESS'|'FAILURE',
                    'ShareId': 'string',
                    'StatusMessage': 'string'
                },
            ]
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **ShareResults** *(list) --* 

          The share results.

          
          

          - *(dict) --* 

            Describes the share results of a resource.

            
            

            - **PrincipalId** *(string) --* 

              The ID of the principal.

              
            

            - **Role** *(string) --* 

              The role.

              
            

            - **Status** *(string) --* 

              The status.

              
            

            - **ShareId** *(string) --* 

              The ID of the resource that was shared.

              
            

            - **StatusMessage** *(string) --* 

              The status message.

              
        
      
    

  .. py:method:: can_paginate(operation_name)

        
    Check if an operation can be paginated.
    
    :type operation_name: string
    :param operation_name: The operation name.  This is the same name
        as the method name on the client.  For example, if the
        method name is ``create_foo``, and you'd normally invoke the
        operation as ``client.create_foo(**kwargs)``, if the
        ``create_foo`` operation can be paginated, you can use the
        call ``client.get_paginator("create_foo")``.
    
    :return: ``True`` if the operation can be paginated,
        ``False`` otherwise.


  .. py:method:: create_comment(**kwargs)

    

    Adds a new comment to the specified document version.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateComment>`_    


    **Request Syntax** 
    ::

      response = client.create_comment(
          AuthenticationToken='string',
          DocumentId='string',
          VersionId='string',
          ParentId='string',
          ThreadId='string',
          Text='string',
          Visibility='PUBLIC'|'PRIVATE',
          NotifyCollaborators=True|False
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the document.

      

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

      The ID of the document version.

      

    
    :type ParentId: string
    :param ParentId: 

      The ID of the parent comment.

      

    
    :type ThreadId: string
    :param ThreadId: 

      The ID of the root comment in the thread.

      

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

      The text of the comment.

      

    
    :type Visibility: string
    :param Visibility: 

      The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.

      

    
    :type NotifyCollaborators: boolean
    :param NotifyCollaborators: 

      Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Comment': {
                'CommentId': 'string',
                'ParentId': 'string',
                'ThreadId': 'string',
                'Text': 'string',
                'Contributor': {
                    'Id': 'string',
                    'Username': 'string',
                    'EmailAddress': 'string',
                    'GivenName': 'string',
                    'Surname': 'string',
                    'OrganizationId': 'string',
                    'RootFolderId': 'string',
                    'RecycleBinFolderId': 'string',
                    'Status': 'ACTIVE'|'INACTIVE'|'PENDING',
                    'Type': 'USER'|'ADMIN',
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'ModifiedTimestamp': datetime(2015, 1, 1),
                    'TimeZoneId': 'string',
                    'Locale': 'en'|'fr'|'ko'|'de'|'es'|'ja'|'ru'|'zh_CN'|'zh_TW'|'pt_BR'|'default',
                    'Storage': {
                        'StorageUtilizedInBytes': 123,
                        'StorageRule': {
                            'StorageAllocatedInBytes': 123,
                            'StorageType': 'UNLIMITED'|'QUOTA'
                        }
                    }
                },
                'CreatedTimestamp': datetime(2015, 1, 1),
                'Status': 'DRAFT'|'PUBLISHED'|'DELETED',
                'Visibility': 'PUBLIC'|'PRIVATE',
                'RecipientId': 'string'
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Comment** *(dict) --* 

          The comment that has been created.

          
          

          - **CommentId** *(string) --* 

            The ID of the comment.

            
          

          - **ParentId** *(string) --* 

            The ID of the parent comment.

            
          

          - **ThreadId** *(string) --* 

            The ID of the root comment in the thread.

            
          

          - **Text** *(string) --* 

            The text of the comment.

            
          

          - **Contributor** *(dict) --* 

            The details of the user who made the comment.

            
            

            - **Id** *(string) --* 

              The ID of the user.

              
            

            - **Username** *(string) --* 

              The login name of the user.

              
            

            - **EmailAddress** *(string) --* 

              The email address of the user.

              
            

            - **GivenName** *(string) --* 

              The given name of the user.

              
            

            - **Surname** *(string) --* 

              The surname of the user.

              
            

            - **OrganizationId** *(string) --* 

              The ID of the organization.

              
            

            - **RootFolderId** *(string) --* 

              The ID of the root folder.

              
            

            - **RecycleBinFolderId** *(string) --* 

              The ID of the recycle bin folder.

              
            

            - **Status** *(string) --* 

              The status of the user.

              
            

            - **Type** *(string) --* 

              The type of user.

              
            

            - **CreatedTimestamp** *(datetime) --* 

              The time when the user was created.

              
            

            - **ModifiedTimestamp** *(datetime) --* 

              The time when the user was modified.

              
            

            - **TimeZoneId** *(string) --* 

              The time zone ID of the user.

              
            

            - **Locale** *(string) --* 

              The locale of the user.

              
            

            - **Storage** *(dict) --* 

              The storage for the user.

              
              

              - **StorageUtilizedInBytes** *(integer) --* 

                The amount of storage utilized, in bytes.

                
              

              - **StorageRule** *(dict) --* 

                The storage for a user.

                
                

                - **StorageAllocatedInBytes** *(integer) --* 

                  The amount of storage allocated, in bytes.

                  
                

                - **StorageType** *(string) --* 

                  The type of storage.

                  
            
          
        
          

          - **CreatedTimestamp** *(datetime) --* 

            The time that the comment was created.

            
          

          - **Status** *(string) --* 

            The status of the comment.

            
          

          - **Visibility** *(string) --* 

            The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.

            
          

          - **RecipientId** *(string) --* 

            If the comment is a reply to another user's comment, this field contains the user ID of the user being replied to.

            
      
    

  .. py:method:: create_custom_metadata(**kwargs)

    

    Adds one or more custom properties to the specified resource (a folder, document, or version).

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateCustomMetadata>`_    


    **Request Syntax** 
    ::

      response = client.create_custom_metadata(
          AuthenticationToken='string',
          ResourceId='string',
          VersionId='string',
          CustomMetadata={
              'string': 'string'
          }
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the resource.

      

    
    :type VersionId: string
    :param VersionId: 

      The ID of the version, if the custom metadata is being added to a document version.

      

    
    :type CustomMetadata: dict
    :param CustomMetadata: **[REQUIRED]** 

      Custom metadata in the form of name-value pairs.

      

    
      - *(string) --* 

      
        - *(string) --* 

        
  

    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {}
        
      **Response Structure** 

      

      - *(dict) --* 
    

  .. py:method:: create_folder(**kwargs)

    

    Creates a folder with the specified name and parent folder.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateFolder>`_    


    **Request Syntax** 
    ::

      response = client.create_folder(
          AuthenticationToken='string',
          Name='string',
          ParentFolderId='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

    
    :type Name: string
    :param Name: 

      The name of the new folder.

      

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

      The ID of the parent folder.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Metadata': {
                'Id': 'string',
                'Name': 'string',
                'CreatorId': 'string',
                'ParentFolderId': 'string',
                'CreatedTimestamp': datetime(2015, 1, 1),
                'ModifiedTimestamp': datetime(2015, 1, 1),
                'ResourceState': 'ACTIVE'|'RESTORING'|'RECYCLING'|'RECYCLED',
                'Signature': 'string',
                'Labels': [
                    'string',
                ],
                'Size': 123,
                'LatestVersionSize': 123
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Metadata** *(dict) --* 

          The metadata of the folder.

          
          

          - **Id** *(string) --* 

            The ID of the folder.

            
          

          - **Name** *(string) --* 

            The name of the folder.

            
          

          - **CreatorId** *(string) --* 

            The ID of the creator.

            
          

          - **ParentFolderId** *(string) --* 

            The ID of the parent folder.

            
          

          - **CreatedTimestamp** *(datetime) --* 

            The time when the folder was created.

            
          

          - **ModifiedTimestamp** *(datetime) --* 

            The time when the folder was updated.

            
          

          - **ResourceState** *(string) --* 

            The resource state of the folder.

            
          

          - **Signature** *(string) --* 

            The unique identifier created from the subfolders and documents of the folder.

            
          

          - **Labels** *(list) --* 

            List of labels on the folder.

            
            

            - *(string) --* 
        
          

          - **Size** *(integer) --* 

            The size of the folder metadata.

            
          

          - **LatestVersionSize** *(integer) --* 

            The size of the latest version of the folder metadata.

            
      
    

  .. py:method:: create_labels(**kwargs)

    

    Adds the specified list of labels to the given resource (a document or folder)

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateLabels>`_    


    **Request Syntax** 
    ::

      response = client.create_labels(
          ResourceId='string',
          Labels=[
              'string',
          ],
          AuthenticationToken='string'
      )
    :type ResourceId: string
    :param ResourceId: **[REQUIRED]** 

      The ID of the resource.

      

    
    :type Labels: list
    :param Labels: **[REQUIRED]** 

      List of labels to add to the resource.

      

    
      - *(string) --* 

      
  
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {}
        
      **Response Structure** 

      

      - *(dict) --* 
    

  .. py:method:: create_notification_subscription(**kwargs)

    

    Configure WorkDocs to use Amazon SNS notifications.

     

    The endpoint receives a confirmation message, and must confirm the subscription. For more information, see `Confirm the Subscription <http://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.html#SendMessageToHttp.confirm>`_ in the *Amazon Simple Notification Service Developer Guide* .

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateNotificationSubscription>`_    


    **Request Syntax** 
    ::

      response = client.create_notification_subscription(
          OrganizationId='string',
          Endpoint='string',
          Protocol='HTTPS',
          SubscriptionType='ALL'
      )
    :type OrganizationId: string
    :param OrganizationId: **[REQUIRED]** 

      The ID of the organization.

      

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

      The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with "https://".

      

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

      The protocol to use. The supported value is https, which delivers JSON-encoded messasges using HTTPS POST.

      

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

      The notification type.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Subscription': {
                'SubscriptionId': 'string',
                'EndPoint': 'string',
                'Protocol': 'HTTPS'
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Subscription** *(dict) --* 

          The subscription.

          
          

          - **SubscriptionId** *(string) --* 

            The ID of the subscription.

            
          

          - **EndPoint** *(string) --* 

            The endpoint of the subscription.

            
          

          - **Protocol** *(string) --* 

            The protocol of the subscription.

            
      
    

  .. py:method:: create_user(**kwargs)

    

    Creates a user in a Simple AD or Microsoft AD directory. The status of a newly created user is "ACTIVE". New users can access Amazon WorkDocs.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateUser>`_    


    **Request Syntax** 
    ::

      response = client.create_user(
          OrganizationId='string',
          Username='string',
          EmailAddress='string',
          GivenName='string',
          Surname='string',
          Password='string',
          TimeZoneId='string',
          StorageRule={
              'StorageAllocatedInBytes': 123,
              'StorageType': 'UNLIMITED'|'QUOTA'
          },
          AuthenticationToken='string'
      )
    :type OrganizationId: string
    :param OrganizationId: 

      The ID of the organization.

      

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

      The login name of the user.

      

    
    :type EmailAddress: string
    :param EmailAddress: 

      The email address of the user.

      

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

      The given name of the user.

      

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

      The surname of the user.

      

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

      The password of the user.

      

    
    :type TimeZoneId: string
    :param TimeZoneId: 

      The time zone ID of the user.

      

    
    :type StorageRule: dict
    :param StorageRule: 

      The amount of storage for the user.

      

    
      - **StorageAllocatedInBytes** *(integer) --* 

        The amount of storage allocated, in bytes.

        

      
      - **StorageType** *(string) --* 

        The type of storage.

        

      
    
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'User': {
                'Id': 'string',
                'Username': 'string',
                'EmailAddress': 'string',
                'GivenName': 'string',
                'Surname': 'string',
                'OrganizationId': 'string',
                'RootFolderId': 'string',
                'RecycleBinFolderId': 'string',
                'Status': 'ACTIVE'|'INACTIVE'|'PENDING',
                'Type': 'USER'|'ADMIN',
                'CreatedTimestamp': datetime(2015, 1, 1),
                'ModifiedTimestamp': datetime(2015, 1, 1),
                'TimeZoneId': 'string',
                'Locale': 'en'|'fr'|'ko'|'de'|'es'|'ja'|'ru'|'zh_CN'|'zh_TW'|'pt_BR'|'default',
                'Storage': {
                    'StorageUtilizedInBytes': 123,
                    'StorageRule': {
                        'StorageAllocatedInBytes': 123,
                        'StorageType': 'UNLIMITED'|'QUOTA'
                    }
                }
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **User** *(dict) --* 

          The user information.

          
          

          - **Id** *(string) --* 

            The ID of the user.

            
          

          - **Username** *(string) --* 

            The login name of the user.

            
          

          - **EmailAddress** *(string) --* 

            The email address of the user.

            
          

          - **GivenName** *(string) --* 

            The given name of the user.

            
          

          - **Surname** *(string) --* 

            The surname of the user.

            
          

          - **OrganizationId** *(string) --* 

            The ID of the organization.

            
          

          - **RootFolderId** *(string) --* 

            The ID of the root folder.

            
          

          - **RecycleBinFolderId** *(string) --* 

            The ID of the recycle bin folder.

            
          

          - **Status** *(string) --* 

            The status of the user.

            
          

          - **Type** *(string) --* 

            The type of user.

            
          

          - **CreatedTimestamp** *(datetime) --* 

            The time when the user was created.

            
          

          - **ModifiedTimestamp** *(datetime) --* 

            The time when the user was modified.

            
          

          - **TimeZoneId** *(string) --* 

            The time zone ID of the user.

            
          

          - **Locale** *(string) --* 

            The locale of the user.

            
          

          - **Storage** *(dict) --* 

            The storage for the user.

            
            

            - **StorageUtilizedInBytes** *(integer) --* 

              The amount of storage utilized, in bytes.

              
            

            - **StorageRule** *(dict) --* 

              The storage for a user.

              
              

              - **StorageAllocatedInBytes** *(integer) --* 

                The amount of storage allocated, in bytes.

                
              

              - **StorageType** *(string) --* 

                The type of storage.

                
          
        
      
    

  .. py:method:: deactivate_user(**kwargs)

    

    Deactivates the specified user, which revokes the user's access to Amazon WorkDocs.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeactivateUser>`_    


    **Request Syntax** 
    ::

      response = client.deactivate_user(
          UserId='string',
          AuthenticationToken='string'
      )
    :type UserId: string
    :param UserId: **[REQUIRED]** 

      The ID of the user.

      

    
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

    
    
    :returns: None

  .. py:method:: delete_comment(**kwargs)

    

    Deletes the specified comment from the document version.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteComment>`_    


    **Request Syntax** 
    ::

      response = client.delete_comment(
          AuthenticationToken='string',
          DocumentId='string',
          VersionId='string',
          CommentId='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the document.

      

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

      The ID of the document version.

      

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

      The ID of the comment.

      

    
    
    :returns: None

  .. py:method:: delete_custom_metadata(**kwargs)

    

    Deletes custom metadata from the specified resource.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteCustomMetadata>`_    


    **Request Syntax** 
    ::

      response = client.delete_custom_metadata(
          AuthenticationToken='string',
          ResourceId='string',
          VersionId='string',
          Keys=[
              'string',
          ],
          DeleteAll=True|False
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the resource, either a document or folder.

      

    
    :type VersionId: string
    :param VersionId: 

      The ID of the version, if the custom metadata is being deleted from a document version.

      

    
    :type Keys: list
    :param Keys: 

      List of properties to remove.

      

    
      - *(string) --* 

      
  
    :type DeleteAll: boolean
    :param DeleteAll: 

      Flag to indicate removal of all custom metadata properties from the specified resource.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {}
        
      **Response Structure** 

      

      - *(dict) --* 
    

  .. py:method:: delete_document(**kwargs)

    

    Permanently deletes the specified document and its associated metadata.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteDocument>`_    


    **Request Syntax** 
    ::

      response = client.delete_document(
          AuthenticationToken='string',
          DocumentId='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the document.

      

    
    
    :returns: None

  .. py:method:: delete_folder(**kwargs)

    

    Permanently deletes the specified folder and its contents.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolder>`_    


    **Request Syntax** 
    ::

      response = client.delete_folder(
          AuthenticationToken='string',
          FolderId='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the folder.

      

    
    
    :returns: None

  .. py:method:: delete_folder_contents(**kwargs)

    

    Deletes the contents of the specified folder.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolderContents>`_    


    **Request Syntax** 
    ::

      response = client.delete_folder_contents(
          AuthenticationToken='string',
          FolderId='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the folder.

      

    
    
    :returns: None

  .. py:method:: delete_labels(**kwargs)

    

    Deletes the specified list of labels from a resource.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteLabels>`_    


    **Request Syntax** 
    ::

      response = client.delete_labels(
          ResourceId='string',
          AuthenticationToken='string',
          Labels=[
              'string',
          ],
          DeleteAll=True|False
      )
    :type ResourceId: string
    :param ResourceId: **[REQUIRED]** 

      The ID of the resource.

      

    
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

    
    :type Labels: list
    :param Labels: 

      List of labels to delete from the resource.

      

    
      - *(string) --* 

      
  
    :type DeleteAll: boolean
    :param DeleteAll: 

      Flag to request removal of all labels from the specified resource.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {}
        
      **Response Structure** 

      

      - *(dict) --* 
    

  .. py:method:: delete_notification_subscription(**kwargs)

    

    Deletes the specified subscription from the specified organization.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteNotificationSubscription>`_    


    **Request Syntax** 
    ::

      response = client.delete_notification_subscription(
          SubscriptionId='string',
          OrganizationId='string'
      )
    :type SubscriptionId: string
    :param SubscriptionId: **[REQUIRED]** 

      The ID of the subscription.

      

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

      The ID of the organization.

      

    
    
    :returns: None

  .. py:method:: delete_user(**kwargs)

    

    Deletes the specified user from a Simple AD or Microsoft AD directory.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteUser>`_    


    **Request Syntax** 
    ::

      response = client.delete_user(
          AuthenticationToken='string',
          UserId='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the user.

      

    
    
    :returns: None

  .. py:method:: describe_activities(**kwargs)

    

    Describes the user activities in a specified time period.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeActivities>`_    


    **Request Syntax** 
    ::

      response = client.describe_activities(
          AuthenticationToken='string',
          StartTime=datetime(2015, 1, 1),
          EndTime=datetime(2015, 1, 1),
          OrganizationId='string',
          UserId='string',
          Limit=123,
          Marker='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

    
    :type StartTime: datetime
    :param StartTime: 

      The timestamp that determines the starting time of the activities; the response includes the activities performed after the specified timestamp.

      

    
    :type EndTime: datetime
    :param EndTime: 

      The timestamp that determines the end time of the activities; the response includes the activities performed before the specified timestamp.

      

    
    :type OrganizationId: string
    :param OrganizationId: 

      The ID of the organization. This is a mandatory parameter when using administrative API (SigV4) requests.

      

    
    :type UserId: string
    :param UserId: 

      The ID of the user who performed the action. The response includes activities pertaining to this user. This is an optional parameter and is only applicable for administrative API (SigV4) requests.

      

    
    :type Limit: integer
    :param Limit: 

      The maximum number of items to return.

      

    
    :type Marker: string
    :param Marker: 

      The marker for the next set of results. (You received this marker from a previous call.)

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'UserActivities': [
                {
                    'Type': 'DOCUMENT_CHECKED_IN'|'DOCUMENT_CHECKED_OUT'|'DOCUMENT_RENAMED'|'DOCUMENT_VERSION_UPLOADED'|'DOCUMENT_VERSION_DELETED'|'DOCUMENT_RECYCLED'|'DOCUMENT_RESTORED'|'DOCUMENT_REVERTED'|'DOCUMENT_SHARED'|'DOCUMENT_UNSHARED'|'DOCUMENT_SHARE_PERMISSION_CHANGED'|'DOCUMENT_SHAREABLE_LINK_CREATED'|'DOCUMENT_SHAREABLE_LINK_REMOVED'|'DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED'|'DOCUMENT_MOVED'|'DOCUMENT_COMMENT_ADDED'|'DOCUMENT_COMMENT_DELETED'|'DOCUMENT_ANNOTATION_ADDED'|'DOCUMENT_ANNOTATION_DELETED'|'FOLDER_CREATED'|'FOLDER_DELETED'|'FOLDER_RENAMED'|'FOLDER_RECYCLED'|'FOLDER_RESTORED'|'FOLDER_SHARED'|'FOLDER_UNSHARED'|'FOLDER_SHARE_PERMISSION_CHANGED'|'FOLDER_SHAREABLE_LINK_CREATED'|'FOLDER_SHAREABLE_LINK_REMOVED'|'FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED'|'FOLDER_MOVED',
                    'TimeStamp': datetime(2015, 1, 1),
                    'OrganizationId': 'string',
                    'Initiator': {
                        'Id': 'string',
                        'Username': 'string',
                        'GivenName': 'string',
                        'Surname': 'string',
                        'EmailAddress': 'string'
                    },
                    'Participants': {
                        'Users': [
                            {
                                'Id': 'string',
                                'Username': 'string',
                                'GivenName': 'string',
                                'Surname': 'string',
                                'EmailAddress': 'string'
                            },
                        ],
                        'Groups': [
                            {
                                'Id': 'string',
                                'Name': 'string'
                            },
                        ]
                    },
                    'ResourceMetadata': {
                        'Type': 'FOLDER'|'DOCUMENT',
                        'Name': 'string',
                        'OriginalName': 'string',
                        'Id': 'string',
                        'VersionId': 'string',
                        'Owner': {
                            'Id': 'string',
                            'Username': 'string',
                            'GivenName': 'string',
                            'Surname': 'string',
                            'EmailAddress': 'string'
                        },
                        'ParentId': 'string'
                    },
                    'OriginalParent': {
                        'Type': 'FOLDER'|'DOCUMENT',
                        'Name': 'string',
                        'OriginalName': 'string',
                        'Id': 'string',
                        'VersionId': 'string',
                        'Owner': {
                            'Id': 'string',
                            'Username': 'string',
                            'GivenName': 'string',
                            'Surname': 'string',
                            'EmailAddress': 'string'
                        },
                        'ParentId': 'string'
                    },
                    'CommentMetadata': {
                        'CommentId': 'string',
                        'Contributor': {
                            'Id': 'string',
                            'Username': 'string',
                            'EmailAddress': 'string',
                            'GivenName': 'string',
                            'Surname': 'string',
                            'OrganizationId': 'string',
                            'RootFolderId': 'string',
                            'RecycleBinFolderId': 'string',
                            'Status': 'ACTIVE'|'INACTIVE'|'PENDING',
                            'Type': 'USER'|'ADMIN',
                            'CreatedTimestamp': datetime(2015, 1, 1),
                            'ModifiedTimestamp': datetime(2015, 1, 1),
                            'TimeZoneId': 'string',
                            'Locale': 'en'|'fr'|'ko'|'de'|'es'|'ja'|'ru'|'zh_CN'|'zh_TW'|'pt_BR'|'default',
                            'Storage': {
                                'StorageUtilizedInBytes': 123,
                                'StorageRule': {
                                    'StorageAllocatedInBytes': 123,
                                    'StorageType': 'UNLIMITED'|'QUOTA'
                                }
                            }
                        },
                        'CreatedTimestamp': datetime(2015, 1, 1),
                        'CommentStatus': 'DRAFT'|'PUBLISHED'|'DELETED',
                        'RecipientId': 'string'
                    }
                },
            ],
            'Marker': 'string'
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **UserActivities** *(list) --* 

          The list of activities for the specified user and time period.

          
          

          - *(dict) --* 

            Describes the activity information.

            
            

            - **Type** *(string) --* 

              The activity type.

              
            

            - **TimeStamp** *(datetime) --* 

              The timestamp when the action was performed.

              
            

            - **OrganizationId** *(string) --* 

              The ID of the organization.

              
            

            - **Initiator** *(dict) --* 

              The user who performed the action.

              
              

              - **Id** *(string) --* 

                The ID of the user.

                
              

              - **Username** *(string) --* 

                The username of the user.

                
              

              - **GivenName** *(string) --* 

                The given name of the user before a rename operation.

                
              

              - **Surname** *(string) --* 

                The surname of the user.

                
              

              - **EmailAddress** *(string) --* 

                The email address of the user.

                
          
            

            - **Participants** *(dict) --* 

              The list of users or groups impacted by this action. This is an optional field and is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED.

              
              

              - **Users** *(list) --* 

                The list of users.

                
                

                - *(dict) --* 

                  Describes the metadata of the user.

                  
                  

                  - **Id** *(string) --* 

                    The ID of the user.

                    
                  

                  - **Username** *(string) --* 

                    The username of the user.

                    
                  

                  - **GivenName** *(string) --* 

                    The given name of the user before a rename operation.

                    
                  

                  - **Surname** *(string) --* 

                    The surname of the user.

                    
                  

                  - **EmailAddress** *(string) --* 

                    The email address of the user.

                    
              
            
              

              - **Groups** *(list) --* 

                The list of user groups.

                
                

                - *(dict) --* 

                  Describes the metadata of a user group.

                  
                  

                  - **Id** *(string) --* 

                    The ID of the user group.

                    
                  

                  - **Name** *(string) --* 

                    The name of the group.

                    
              
            
          
            

            - **ResourceMetadata** *(dict) --* 

              The metadata of the resource involved in the user action.

              
              

              - **Type** *(string) --* 

                The type of resource.

                
              

              - **Name** *(string) --* 

                The name of the resource.

                
              

              - **OriginalName** *(string) --* 

                The original name of the resource prior to a rename operation.

                
              

              - **Id** *(string) --* 

                The ID of the resource.

                
              

              - **VersionId** *(string) --* 

                The version ID of the resource. This is an optional field and is filled for action on document version.

                
              

              - **Owner** *(dict) --* 

                The owner of the resource.

                
                

                - **Id** *(string) --* 

                  The ID of the user.

                  
                

                - **Username** *(string) --* 

                  The username of the user.

                  
                

                - **GivenName** *(string) --* 

                  The given name of the user before a rename operation.

                  
                

                - **Surname** *(string) --* 

                  The surname of the user.

                  
                

                - **EmailAddress** *(string) --* 

                  The email address of the user.

                  
            
              

              - **ParentId** *(string) --* 

                The parent ID of the resource before a rename operation.

                
          
            

            - **OriginalParent** *(dict) --* 

              The original parent of the resource. This is an optional field and is filled for move activities.

              
              

              - **Type** *(string) --* 

                The type of resource.

                
              

              - **Name** *(string) --* 

                The name of the resource.

                
              

              - **OriginalName** *(string) --* 

                The original name of the resource prior to a rename operation.

                
              

              - **Id** *(string) --* 

                The ID of the resource.

                
              

              - **VersionId** *(string) --* 

                The version ID of the resource. This is an optional field and is filled for action on document version.

                
              

              - **Owner** *(dict) --* 

                The owner of the resource.

                
                

                - **Id** *(string) --* 

                  The ID of the user.

                  
                

                - **Username** *(string) --* 

                  The username of the user.

                  
                

                - **GivenName** *(string) --* 

                  The given name of the user before a rename operation.

                  
                

                - **Surname** *(string) --* 

                  The surname of the user.

                  
                

                - **EmailAddress** *(string) --* 

                  The email address of the user.

                  
            
              

              - **ParentId** *(string) --* 

                The parent ID of the resource before a rename operation.

                
          
            

            - **CommentMetadata** *(dict) --* 

              Metadata of the commenting activity. This is an optional field and is filled for commenting activities.

              
              

              - **CommentId** *(string) --* 

                The ID of the comment.

                
              

              - **Contributor** *(dict) --* 

                The user who made the comment.

                
                

                - **Id** *(string) --* 

                  The ID of the user.

                  
                

                - **Username** *(string) --* 

                  The login name of the user.

                  
                

                - **EmailAddress** *(string) --* 

                  The email address of the user.

                  
                

                - **GivenName** *(string) --* 

                  The given name of the user.

                  
                

                - **Surname** *(string) --* 

                  The surname of the user.

                  
                

                - **OrganizationId** *(string) --* 

                  The ID of the organization.

                  
                

                - **RootFolderId** *(string) --* 

                  The ID of the root folder.

                  
                

                - **RecycleBinFolderId** *(string) --* 

                  The ID of the recycle bin folder.

                  
                

                - **Status** *(string) --* 

                  The status of the user.

                  
                

                - **Type** *(string) --* 

                  The type of user.

                  
                

                - **CreatedTimestamp** *(datetime) --* 

                  The time when the user was created.

                  
                

                - **ModifiedTimestamp** *(datetime) --* 

                  The time when the user was modified.

                  
                

                - **TimeZoneId** *(string) --* 

                  The time zone ID of the user.

                  
                

                - **Locale** *(string) --* 

                  The locale of the user.

                  
                

                - **Storage** *(dict) --* 

                  The storage for the user.

                  
                  

                  - **StorageUtilizedInBytes** *(integer) --* 

                    The amount of storage utilized, in bytes.

                    
                  

                  - **StorageRule** *(dict) --* 

                    The storage for a user.

                    
                    

                    - **StorageAllocatedInBytes** *(integer) --* 

                      The amount of storage allocated, in bytes.

                      
                    

                    - **StorageType** *(string) --* 

                      The type of storage.

                      
                
              
            
              

              - **CreatedTimestamp** *(datetime) --* 
              

              - **CommentStatus** *(string) --* 
              

              - **RecipientId** *(string) --* 

                The ID of the user being replied to.

                
          
        
      
        

        - **Marker** *(string) --* 

          The marker for the next set of results.

          
    

  .. py:method:: describe_comments(**kwargs)

    

    List all the comments for the specified document version.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeComments>`_    


    **Request Syntax** 
    ::

      response = client.describe_comments(
          AuthenticationToken='string',
          DocumentId='string',
          VersionId='string',
          Limit=123,
          Marker='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the document.

      

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

      The ID of the document version.

      

    
    :type Limit: integer
    :param Limit: 

      The maximum number of items to return.

      

    
    :type Marker: string
    :param Marker: 

      The marker for the next set of results. This marker was received from a previous call.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Comments': [
                {
                    'CommentId': 'string',
                    'ParentId': 'string',
                    'ThreadId': 'string',
                    'Text': 'string',
                    'Contributor': {
                        'Id': 'string',
                        'Username': 'string',
                        'EmailAddress': 'string',
                        'GivenName': 'string',
                        'Surname': 'string',
                        'OrganizationId': 'string',
                        'RootFolderId': 'string',
                        'RecycleBinFolderId': 'string',
                        'Status': 'ACTIVE'|'INACTIVE'|'PENDING',
                        'Type': 'USER'|'ADMIN',
                        'CreatedTimestamp': datetime(2015, 1, 1),
                        'ModifiedTimestamp': datetime(2015, 1, 1),
                        'TimeZoneId': 'string',
                        'Locale': 'en'|'fr'|'ko'|'de'|'es'|'ja'|'ru'|'zh_CN'|'zh_TW'|'pt_BR'|'default',
                        'Storage': {
                            'StorageUtilizedInBytes': 123,
                            'StorageRule': {
                                'StorageAllocatedInBytes': 123,
                                'StorageType': 'UNLIMITED'|'QUOTA'
                            }
                        }
                    },
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'Status': 'DRAFT'|'PUBLISHED'|'DELETED',
                    'Visibility': 'PUBLIC'|'PRIVATE',
                    'RecipientId': 'string'
                },
            ],
            'Marker': 'string'
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Comments** *(list) --* 

          The list of comments for the specified document version.

          
          

          - *(dict) --* 

            Describes a comment.

            
            

            - **CommentId** *(string) --* 

              The ID of the comment.

              
            

            - **ParentId** *(string) --* 

              The ID of the parent comment.

              
            

            - **ThreadId** *(string) --* 

              The ID of the root comment in the thread.

              
            

            - **Text** *(string) --* 

              The text of the comment.

              
            

            - **Contributor** *(dict) --* 

              The details of the user who made the comment.

              
              

              - **Id** *(string) --* 

                The ID of the user.

                
              

              - **Username** *(string) --* 

                The login name of the user.

                
              

              - **EmailAddress** *(string) --* 

                The email address of the user.

                
              

              - **GivenName** *(string) --* 

                The given name of the user.

                
              

              - **Surname** *(string) --* 

                The surname of the user.

                
              

              - **OrganizationId** *(string) --* 

                The ID of the organization.

                
              

              - **RootFolderId** *(string) --* 

                The ID of the root folder.

                
              

              - **RecycleBinFolderId** *(string) --* 

                The ID of the recycle bin folder.

                
              

              - **Status** *(string) --* 

                The status of the user.

                
              

              - **Type** *(string) --* 

                The type of user.

                
              

              - **CreatedTimestamp** *(datetime) --* 

                The time when the user was created.

                
              

              - **ModifiedTimestamp** *(datetime) --* 

                The time when the user was modified.

                
              

              - **TimeZoneId** *(string) --* 

                The time zone ID of the user.

                
              

              - **Locale** *(string) --* 

                The locale of the user.

                
              

              - **Storage** *(dict) --* 

                The storage for the user.

                
                

                - **StorageUtilizedInBytes** *(integer) --* 

                  The amount of storage utilized, in bytes.

                  
                

                - **StorageRule** *(dict) --* 

                  The storage for a user.

                  
                  

                  - **StorageAllocatedInBytes** *(integer) --* 

                    The amount of storage allocated, in bytes.

                    
                  

                  - **StorageType** *(string) --* 

                    The type of storage.

                    
              
            
          
            

            - **CreatedTimestamp** *(datetime) --* 

              The time that the comment was created.

              
            

            - **Status** *(string) --* 

              The status of the comment.

              
            

            - **Visibility** *(string) --* 

              The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.

              
            

            - **RecipientId** *(string) --* 

              If the comment is a reply to another user's comment, this field contains the user ID of the user being replied to.

              
        
      
        

        - **Marker** *(string) --* 

          The marker for the next set of results. This marker was received from a previous call.

          
    

  .. py:method:: describe_document_versions(**kwargs)

    

    Retrieves the document versions for the specified document.

     

    By default, only active versions are returned.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeDocumentVersions>`_    


    **Request Syntax** 
    ::

      response = client.describe_document_versions(
          AuthenticationToken='string',
          DocumentId='string',
          Marker='string',
          Limit=123,
          Include='string',
          Fields='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the document.

      

    
    :type Marker: string
    :param Marker: 

      The marker for the next set of results. (You received this marker from a previous call.)

      

    
    :type Limit: integer
    :param Limit: 

      The maximum number of versions to return with this call.

      

    
    :type Include: string
    :param Include: 

      A comma-separated list of values. Specify "INITIALIZED" to include incomplete versions.

      

    
    :type Fields: string
    :param Fields: 

      Specify "SOURCE" to include initialized versions and a URL for the source document.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'DocumentVersions': [
                {
                    'Id': 'string',
                    'Name': 'string',
                    'ContentType': 'string',
                    'Size': 123,
                    'Signature': 'string',
                    'Status': 'INITIALIZED'|'ACTIVE',
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'ModifiedTimestamp': datetime(2015, 1, 1),
                    'ContentCreatedTimestamp': datetime(2015, 1, 1),
                    'ContentModifiedTimestamp': datetime(2015, 1, 1),
                    'CreatorId': 'string',
                    'Thumbnail': {
                        'string': 'string'
                    },
                    'Source': {
                        'string': 'string'
                    }
                },
            ],
            'Marker': 'string'
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **DocumentVersions** *(list) --* 

          The document versions.

          
          

          - *(dict) --* 

            Describes a version of a document.

            
            

            - **Id** *(string) --* 

              The ID of the version.

              
            

            - **Name** *(string) --* 

              The name of the version.

              
            

            - **ContentType** *(string) --* 

              The content type of the document.

              
            

            - **Size** *(integer) --* 

              The size of the document, in bytes.

              
            

            - **Signature** *(string) --* 

              The signature of the document.

              
            

            - **Status** *(string) --* 

              The status of the document.

              
            

            - **CreatedTimestamp** *(datetime) --* 

              The time stamp when the document was first uploaded.

              
            

            - **ModifiedTimestamp** *(datetime) --* 

              The time stamp when the document was last uploaded.

              
            

            - **ContentCreatedTimestamp** *(datetime) --* 

              The time stamp when the content of the document was originally created.

              
            

            - **ContentModifiedTimestamp** *(datetime) --* 

              The time stamp when the content of the document was modified.

              
            

            - **CreatorId** *(string) --* 

              The ID of the creator.

              
            

            - **Thumbnail** *(dict) --* 

              The thumbnail of the document.

              
              

              - *(string) --* 
                

                - *(string) --* 
          
        
            

            - **Source** *(dict) --* 

              The source of the document.

              
              

              - *(string) --* 
                

                - *(string) --* 
          
        
        
      
        

        - **Marker** *(string) --* 

          The marker to use when requesting the next set of results. If there are no additional results, the string is empty.

          
    

  .. py:method:: describe_folder_contents(**kwargs)

    

    Describes the contents of the specified folder, including its documents and subfolders.

     

    By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeFolderContents>`_    


    **Request Syntax** 
    ::

      response = client.describe_folder_contents(
          AuthenticationToken='string',
          FolderId='string',
          Sort='DATE'|'NAME',
          Order='ASCENDING'|'DESCENDING',
          Limit=123,
          Marker='string',
          Type='ALL'|'DOCUMENT'|'FOLDER',
          Include='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the folder.

      

    
    :type Sort: string
    :param Sort: 

      The sorting criteria.

      

    
    :type Order: string
    :param Order: 

      The order for the contents of the folder.

      

    
    :type Limit: integer
    :param Limit: 

      The maximum number of items to return with this call.

      

    
    :type Marker: string
    :param Marker: 

      The marker for the next set of results. This marker was received from a previous call.

      

    
    :type Type: string
    :param Type: 

      The type of items.

      

    
    :type Include: string
    :param Include: 

      The contents to include. Specify "INITIALIZED" to include initialized documents.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Folders': [
                {
                    'Id': 'string',
                    'Name': 'string',
                    'CreatorId': 'string',
                    'ParentFolderId': 'string',
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'ModifiedTimestamp': datetime(2015, 1, 1),
                    'ResourceState': 'ACTIVE'|'RESTORING'|'RECYCLING'|'RECYCLED',
                    'Signature': 'string',
                    'Labels': [
                        'string',
                    ],
                    'Size': 123,
                    'LatestVersionSize': 123
                },
            ],
            'Documents': [
                {
                    'Id': 'string',
                    'CreatorId': 'string',
                    'ParentFolderId': 'string',
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'ModifiedTimestamp': datetime(2015, 1, 1),
                    'LatestVersionMetadata': {
                        'Id': 'string',
                        'Name': 'string',
                        'ContentType': 'string',
                        'Size': 123,
                        'Signature': 'string',
                        'Status': 'INITIALIZED'|'ACTIVE',
                        'CreatedTimestamp': datetime(2015, 1, 1),
                        'ModifiedTimestamp': datetime(2015, 1, 1),
                        'ContentCreatedTimestamp': datetime(2015, 1, 1),
                        'ContentModifiedTimestamp': datetime(2015, 1, 1),
                        'CreatorId': 'string',
                        'Thumbnail': {
                            'string': 'string'
                        },
                        'Source': {
                            'string': 'string'
                        }
                    },
                    'ResourceState': 'ACTIVE'|'RESTORING'|'RECYCLING'|'RECYCLED',
                    'Labels': [
                        'string',
                    ]
                },
            ],
            'Marker': 'string'
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Folders** *(list) --* 

          The subfolders in the specified folder.

          
          

          - *(dict) --* 

            Describes a folder.

            
            

            - **Id** *(string) --* 

              The ID of the folder.

              
            

            - **Name** *(string) --* 

              The name of the folder.

              
            

            - **CreatorId** *(string) --* 

              The ID of the creator.

              
            

            - **ParentFolderId** *(string) --* 

              The ID of the parent folder.

              
            

            - **CreatedTimestamp** *(datetime) --* 

              The time when the folder was created.

              
            

            - **ModifiedTimestamp** *(datetime) --* 

              The time when the folder was updated.

              
            

            - **ResourceState** *(string) --* 

              The resource state of the folder.

              
            

            - **Signature** *(string) --* 

              The unique identifier created from the subfolders and documents of the folder.

              
            

            - **Labels** *(list) --* 

              List of labels on the folder.

              
              

              - *(string) --* 
          
            

            - **Size** *(integer) --* 

              The size of the folder metadata.

              
            

            - **LatestVersionSize** *(integer) --* 

              The size of the latest version of the folder metadata.

              
        
      
        

        - **Documents** *(list) --* 

          The documents in the specified folder.

          
          

          - *(dict) --* 

            Describes the document.

            
            

            - **Id** *(string) --* 

              The ID of the document.

              
            

            - **CreatorId** *(string) --* 

              The ID of the creator.

              
            

            - **ParentFolderId** *(string) --* 

              The ID of the parent folder.

              
            

            - **CreatedTimestamp** *(datetime) --* 

              The time when the document was created.

              
            

            - **ModifiedTimestamp** *(datetime) --* 

              The time when the document was updated.

              
            

            - **LatestVersionMetadata** *(dict) --* 

              The latest version of the document.

              
              

              - **Id** *(string) --* 

                The ID of the version.

                
              

              - **Name** *(string) --* 

                The name of the version.

                
              

              - **ContentType** *(string) --* 

                The content type of the document.

                
              

              - **Size** *(integer) --* 

                The size of the document, in bytes.

                
              

              - **Signature** *(string) --* 

                The signature of the document.

                
              

              - **Status** *(string) --* 

                The status of the document.

                
              

              - **CreatedTimestamp** *(datetime) --* 

                The time stamp when the document was first uploaded.

                
              

              - **ModifiedTimestamp** *(datetime) --* 

                The time stamp when the document was last uploaded.

                
              

              - **ContentCreatedTimestamp** *(datetime) --* 

                The time stamp when the content of the document was originally created.

                
              

              - **ContentModifiedTimestamp** *(datetime) --* 

                The time stamp when the content of the document was modified.

                
              

              - **CreatorId** *(string) --* 

                The ID of the creator.

                
              

              - **Thumbnail** *(dict) --* 

                The thumbnail of the document.

                
                

                - *(string) --* 
                  

                  - *(string) --* 
            
          
              

              - **Source** *(dict) --* 

                The source of the document.

                
                

                - *(string) --* 
                  

                  - *(string) --* 
            
          
          
            

            - **ResourceState** *(string) --* 

              The resource state.

              
            

            - **Labels** *(list) --* 

              List of labels on the document.

              
              

              - *(string) --* 
          
        
      
        

        - **Marker** *(string) --* 

          The marker to use when requesting the next set of results. If there are no additional results, the string is empty.

          
    

  .. py:method:: describe_notification_subscriptions(**kwargs)

    

    Lists the specified notification subscriptions.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeNotificationSubscriptions>`_    


    **Request Syntax** 
    ::

      response = client.describe_notification_subscriptions(
          OrganizationId='string',
          Marker='string',
          Limit=123
      )
    :type OrganizationId: string
    :param OrganizationId: **[REQUIRED]** 

      The ID of the organization.

      

    
    :type Marker: string
    :param Marker: 

      The marker for the next set of results. (You received this marker from a previous call.)

      

    
    :type Limit: integer
    :param Limit: 

      The maximum number of items to return with this call.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Subscriptions': [
                {
                    'SubscriptionId': 'string',
                    'EndPoint': 'string',
                    'Protocol': 'HTTPS'
                },
            ],
            'Marker': 'string'
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Subscriptions** *(list) --* 

          The subscriptions.

          
          

          - *(dict) --* 

            Describes a subscription.

            
            

            - **SubscriptionId** *(string) --* 

              The ID of the subscription.

              
            

            - **EndPoint** *(string) --* 

              The endpoint of the subscription.

              
            

            - **Protocol** *(string) --* 

              The protocol of the subscription.

              
        
      
        

        - **Marker** *(string) --* 

          The marker to use when requesting the next set of results. If there are no additional results, the string is empty.

          
    

  .. py:method:: describe_resource_permissions(**kwargs)

    

    Describes the permissions of a specified resource.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeResourcePermissions>`_    


    **Request Syntax** 
    ::

      response = client.describe_resource_permissions(
          AuthenticationToken='string',
          ResourceId='string',
          Limit=123,
          Marker='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the resource.

      

    
    :type Limit: integer
    :param Limit: 

      The maximum number of items to return with this call.

      

    
    :type Marker: string
    :param Marker: 

      The marker for the next set of results. (You received this marker from a previous call)

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Principals': [
                {
                    'Id': 'string',
                    'Type': 'USER'|'GROUP'|'INVITE'|'ANONYMOUS'|'ORGANIZATION',
                    'Roles': [
                        {
                            'Role': 'VIEWER'|'CONTRIBUTOR'|'OWNER'|'COOWNER',
                            'Type': 'DIRECT'|'INHERITED'
                        },
                    ]
                },
            ],
            'Marker': 'string'
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Principals** *(list) --* 

          The principals.

          
          

          - *(dict) --* 

            Describes a resource.

            
            

            - **Id** *(string) --* 

              The ID of the resource.

              
            

            - **Type** *(string) --* 

              The type of resource.

              
            

            - **Roles** *(list) --* 

              The permission information for the resource.

              
              

              - *(dict) --* 

                Describes the permissions.

                
                

                - **Role** *(string) --* 

                  The role of the user.

                  
                

                - **Type** *(string) --* 

                  The type of permissions.

                  
            
          
        
      
        

        - **Marker** *(string) --* 

          The marker to use when requesting the next set of results. If there are no additional results, the string is empty.

          
    

  .. py:method:: describe_root_folders(**kwargs)

    

    Describes the current user's special folders; the ``RootFolder`` and the ``RecyleBin`` . ``RootFolder`` is the root of user's files and folders and ``RecyleBin`` is the root of recycled items. This is not a valid action for SigV4 (administrative API) clients.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeRootFolders>`_    


    **Request Syntax** 
    ::

      response = client.describe_root_folders(
          AuthenticationToken='string',
          Limit=123,
          Marker='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: **[REQUIRED]** 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

    
    :type Limit: integer
    :param Limit: 

      The maximum number of items to return.

      

    
    :type Marker: string
    :param Marker: 

      The marker for the next set of results. (You received this marker from a previous call.)

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Folders': [
                {
                    'Id': 'string',
                    'Name': 'string',
                    'CreatorId': 'string',
                    'ParentFolderId': 'string',
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'ModifiedTimestamp': datetime(2015, 1, 1),
                    'ResourceState': 'ACTIVE'|'RESTORING'|'RECYCLING'|'RECYCLED',
                    'Signature': 'string',
                    'Labels': [
                        'string',
                    ],
                    'Size': 123,
                    'LatestVersionSize': 123
                },
            ],
            'Marker': 'string'
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Folders** *(list) --* 

          The user's special folders.

          
          

          - *(dict) --* 

            Describes a folder.

            
            

            - **Id** *(string) --* 

              The ID of the folder.

              
            

            - **Name** *(string) --* 

              The name of the folder.

              
            

            - **CreatorId** *(string) --* 

              The ID of the creator.

              
            

            - **ParentFolderId** *(string) --* 

              The ID of the parent folder.

              
            

            - **CreatedTimestamp** *(datetime) --* 

              The time when the folder was created.

              
            

            - **ModifiedTimestamp** *(datetime) --* 

              The time when the folder was updated.

              
            

            - **ResourceState** *(string) --* 

              The resource state of the folder.

              
            

            - **Signature** *(string) --* 

              The unique identifier created from the subfolders and documents of the folder.

              
            

            - **Labels** *(list) --* 

              List of labels on the folder.

              
              

              - *(string) --* 
          
            

            - **Size** *(integer) --* 

              The size of the folder metadata.

              
            

            - **LatestVersionSize** *(integer) --* 

              The size of the latest version of the folder metadata.

              
        
      
        

        - **Marker** *(string) --* 

          The marker for the next set of results.

          
    

  .. py:method:: describe_users(**kwargs)

    

    Describes the specified users. You can describe all users or filter the results (for example, by status or organization).

     

    By default, Amazon WorkDocs returns the first 24 active or pending users. If there are more results, the response includes a marker that you can use to request the next set of results.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeUsers>`_    


    **Request Syntax** 
    ::

      response = client.describe_users(
          AuthenticationToken='string',
          OrganizationId='string',
          UserIds='string',
          Query='string',
          Include='ALL'|'ACTIVE_PENDING',
          Order='ASCENDING'|'DESCENDING',
          Sort='USER_NAME'|'FULL_NAME'|'STORAGE_LIMIT'|'USER_STATUS'|'STORAGE_USED',
          Marker='string',
          Limit=123,
          Fields='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

    
    :type OrganizationId: string
    :param OrganizationId: 

      The ID of the organization.

      

    
    :type UserIds: string
    :param UserIds: 

      The IDs of the users.

      

    
    :type Query: string
    :param Query: 

      A query to filter users by user name.

      

    
    :type Include: string
    :param Include: 

      The state of the users. Specify "ALL" to include inactive users.

      

    
    :type Order: string
    :param Order: 

      The order for the results.

      

    
    :type Sort: string
    :param Sort: 

      The sorting criteria.

      

    
    :type Marker: string
    :param Marker: 

      The marker for the next set of results. (You received this marker from a previous call.)

      

    
    :type Limit: integer
    :param Limit: 

      The maximum number of items to return.

      

    
    :type Fields: string
    :param Fields: 

      A comma-separated list of values. Specify "STORAGE_METADATA" to include the user storage quota and utilization information.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Users': [
                {
                    'Id': 'string',
                    'Username': 'string',
                    'EmailAddress': 'string',
                    'GivenName': 'string',
                    'Surname': 'string',
                    'OrganizationId': 'string',
                    'RootFolderId': 'string',
                    'RecycleBinFolderId': 'string',
                    'Status': 'ACTIVE'|'INACTIVE'|'PENDING',
                    'Type': 'USER'|'ADMIN',
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'ModifiedTimestamp': datetime(2015, 1, 1),
                    'TimeZoneId': 'string',
                    'Locale': 'en'|'fr'|'ko'|'de'|'es'|'ja'|'ru'|'zh_CN'|'zh_TW'|'pt_BR'|'default',
                    'Storage': {
                        'StorageUtilizedInBytes': 123,
                        'StorageRule': {
                            'StorageAllocatedInBytes': 123,
                            'StorageType': 'UNLIMITED'|'QUOTA'
                        }
                    }
                },
            ],
            'TotalNumberOfUsers': 123,
            'Marker': 'string'
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Users** *(list) --* 

          The users.

          
          

          - *(dict) --* 

            Describes a user.

            
            

            - **Id** *(string) --* 

              The ID of the user.

              
            

            - **Username** *(string) --* 

              The login name of the user.

              
            

            - **EmailAddress** *(string) --* 

              The email address of the user.

              
            

            - **GivenName** *(string) --* 

              The given name of the user.

              
            

            - **Surname** *(string) --* 

              The surname of the user.

              
            

            - **OrganizationId** *(string) --* 

              The ID of the organization.

              
            

            - **RootFolderId** *(string) --* 

              The ID of the root folder.

              
            

            - **RecycleBinFolderId** *(string) --* 

              The ID of the recycle bin folder.

              
            

            - **Status** *(string) --* 

              The status of the user.

              
            

            - **Type** *(string) --* 

              The type of user.

              
            

            - **CreatedTimestamp** *(datetime) --* 

              The time when the user was created.

              
            

            - **ModifiedTimestamp** *(datetime) --* 

              The time when the user was modified.

              
            

            - **TimeZoneId** *(string) --* 

              The time zone ID of the user.

              
            

            - **Locale** *(string) --* 

              The locale of the user.

              
            

            - **Storage** *(dict) --* 

              The storage for the user.

              
              

              - **StorageUtilizedInBytes** *(integer) --* 

                The amount of storage utilized, in bytes.

                
              

              - **StorageRule** *(dict) --* 

                The storage for a user.

                
                

                - **StorageAllocatedInBytes** *(integer) --* 

                  The amount of storage allocated, in bytes.

                  
                

                - **StorageType** *(string) --* 

                  The type of storage.

                  
            
          
        
      
        

        - **TotalNumberOfUsers** *(integer) --* 

          The total number of users included in the results.

          
        

        - **Marker** *(string) --* 

          The marker to use when requesting the next set of results. If there are no additional results, the string is empty.

          
    

  .. py:method:: generate_presigned_url(ClientMethod, Params=None, ExpiresIn=3600, HttpMethod=None)

        
    Generate a presigned url given a client, its method, and arguments
    
    :type ClientMethod: string
    :param ClientMethod: The client method to presign for
    
    :type Params: dict
    :param Params: The parameters normally passed to
        ``ClientMethod``.
    
    :type ExpiresIn: int
    :param ExpiresIn: The number of seconds the presigned url is valid
        for. By default it expires in an hour (3600 seconds)
    
    :type HttpMethod: string
    :param HttpMethod: The http method to use on the generated url. By
        default, the http method is whatever is used in the method's model.
    
    :returns: The presigned url


  .. py:method:: get_current_user(**kwargs)

    

    Retrieves details of the current user for whom the authentication token was generated. This is not a valid action for SigV4 (administrative API) clients.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetCurrentUser>`_    


    **Request Syntax** 
    ::

      response = client.get_current_user(
          AuthenticationToken='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: **[REQUIRED]** 

      Amazon WorkDocs authentication token.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'User': {
                'Id': 'string',
                'Username': 'string',
                'EmailAddress': 'string',
                'GivenName': 'string',
                'Surname': 'string',
                'OrganizationId': 'string',
                'RootFolderId': 'string',
                'RecycleBinFolderId': 'string',
                'Status': 'ACTIVE'|'INACTIVE'|'PENDING',
                'Type': 'USER'|'ADMIN',
                'CreatedTimestamp': datetime(2015, 1, 1),
                'ModifiedTimestamp': datetime(2015, 1, 1),
                'TimeZoneId': 'string',
                'Locale': 'en'|'fr'|'ko'|'de'|'es'|'ja'|'ru'|'zh_CN'|'zh_TW'|'pt_BR'|'default',
                'Storage': {
                    'StorageUtilizedInBytes': 123,
                    'StorageRule': {
                        'StorageAllocatedInBytes': 123,
                        'StorageType': 'UNLIMITED'|'QUOTA'
                    }
                }
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **User** *(dict) --* 

          Metadata of the user.

          
          

          - **Id** *(string) --* 

            The ID of the user.

            
          

          - **Username** *(string) --* 

            The login name of the user.

            
          

          - **EmailAddress** *(string) --* 

            The email address of the user.

            
          

          - **GivenName** *(string) --* 

            The given name of the user.

            
          

          - **Surname** *(string) --* 

            The surname of the user.

            
          

          - **OrganizationId** *(string) --* 

            The ID of the organization.

            
          

          - **RootFolderId** *(string) --* 

            The ID of the root folder.

            
          

          - **RecycleBinFolderId** *(string) --* 

            The ID of the recycle bin folder.

            
          

          - **Status** *(string) --* 

            The status of the user.

            
          

          - **Type** *(string) --* 

            The type of user.

            
          

          - **CreatedTimestamp** *(datetime) --* 

            The time when the user was created.

            
          

          - **ModifiedTimestamp** *(datetime) --* 

            The time when the user was modified.

            
          

          - **TimeZoneId** *(string) --* 

            The time zone ID of the user.

            
          

          - **Locale** *(string) --* 

            The locale of the user.

            
          

          - **Storage** *(dict) --* 

            The storage for the user.

            
            

            - **StorageUtilizedInBytes** *(integer) --* 

              The amount of storage utilized, in bytes.

              
            

            - **StorageRule** *(dict) --* 

              The storage for a user.

              
              

              - **StorageAllocatedInBytes** *(integer) --* 

                The amount of storage allocated, in bytes.

                
              

              - **StorageType** *(string) --* 

                The type of storage.

                
          
        
      
    

  .. py:method:: get_document(**kwargs)

    

    Retrieves details of a document.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocument>`_    


    **Request Syntax** 
    ::

      response = client.get_document(
          AuthenticationToken='string',
          DocumentId='string',
          IncludeCustomMetadata=True|False
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the document.

      

    
    :type IncludeCustomMetadata: boolean
    :param IncludeCustomMetadata: 

      Set this to ``TRUE`` to include custom metadata in the response.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Metadata': {
                'Id': 'string',
                'CreatorId': 'string',
                'ParentFolderId': 'string',
                'CreatedTimestamp': datetime(2015, 1, 1),
                'ModifiedTimestamp': datetime(2015, 1, 1),
                'LatestVersionMetadata': {
                    'Id': 'string',
                    'Name': 'string',
                    'ContentType': 'string',
                    'Size': 123,
                    'Signature': 'string',
                    'Status': 'INITIALIZED'|'ACTIVE',
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'ModifiedTimestamp': datetime(2015, 1, 1),
                    'ContentCreatedTimestamp': datetime(2015, 1, 1),
                    'ContentModifiedTimestamp': datetime(2015, 1, 1),
                    'CreatorId': 'string',
                    'Thumbnail': {
                        'string': 'string'
                    },
                    'Source': {
                        'string': 'string'
                    }
                },
                'ResourceState': 'ACTIVE'|'RESTORING'|'RECYCLING'|'RECYCLED',
                'Labels': [
                    'string',
                ]
            },
            'CustomMetadata': {
                'string': 'string'
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Metadata** *(dict) --* 

          The metadata details of the document.

          
          

          - **Id** *(string) --* 

            The ID of the document.

            
          

          - **CreatorId** *(string) --* 

            The ID of the creator.

            
          

          - **ParentFolderId** *(string) --* 

            The ID of the parent folder.

            
          

          - **CreatedTimestamp** *(datetime) --* 

            The time when the document was created.

            
          

          - **ModifiedTimestamp** *(datetime) --* 

            The time when the document was updated.

            
          

          - **LatestVersionMetadata** *(dict) --* 

            The latest version of the document.

            
            

            - **Id** *(string) --* 

              The ID of the version.

              
            

            - **Name** *(string) --* 

              The name of the version.

              
            

            - **ContentType** *(string) --* 

              The content type of the document.

              
            

            - **Size** *(integer) --* 

              The size of the document, in bytes.

              
            

            - **Signature** *(string) --* 

              The signature of the document.

              
            

            - **Status** *(string) --* 

              The status of the document.

              
            

            - **CreatedTimestamp** *(datetime) --* 

              The time stamp when the document was first uploaded.

              
            

            - **ModifiedTimestamp** *(datetime) --* 

              The time stamp when the document was last uploaded.

              
            

            - **ContentCreatedTimestamp** *(datetime) --* 

              The time stamp when the content of the document was originally created.

              
            

            - **ContentModifiedTimestamp** *(datetime) --* 

              The time stamp when the content of the document was modified.

              
            

            - **CreatorId** *(string) --* 

              The ID of the creator.

              
            

            - **Thumbnail** *(dict) --* 

              The thumbnail of the document.

              
              

              - *(string) --* 
                

                - *(string) --* 
          
        
            

            - **Source** *(dict) --* 

              The source of the document.

              
              

              - *(string) --* 
                

                - *(string) --* 
          
        
        
          

          - **ResourceState** *(string) --* 

            The resource state.

            
          

          - **Labels** *(list) --* 

            List of labels on the document.

            
            

            - *(string) --* 
        
      
        

        - **CustomMetadata** *(dict) --* 

          The custom metadata on the document.

          
          

          - *(string) --* 
            

            - *(string) --* 
      
    
    

  .. py:method:: get_document_path(**kwargs)

    

    Retrieves the path information (the hierarchy from the root folder) for the requested document.

     

    By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested document and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the names of the parent folders.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentPath>`_    


    **Request Syntax** 
    ::

      response = client.get_document_path(
          AuthenticationToken='string',
          DocumentId='string',
          Limit=123,
          Fields='string',
          Marker='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the document.

      

    
    :type Limit: integer
    :param Limit: 

      The maximum number of levels in the hierarchy to return.

      

    
    :type Fields: string
    :param Fields: 

      A comma-separated list of values. Specify ``NAME`` to include the names of the parent folders.

      

    
    :type Marker: string
    :param Marker: 

      This value is not supported.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Path': {
                'Components': [
                    {
                        'Id': 'string',
                        'Name': 'string'
                    },
                ]
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Path** *(dict) --* 

          The path information.

          
          

          - **Components** *(list) --* 

            The components of the resource path.

            
            

            - *(dict) --* 

              Describes the resource path.

              
              

              - **Id** *(string) --* 

                The ID of the resource path.

                
              

              - **Name** *(string) --* 

                The name of the resource path.

                
          
        
      
    

  .. py:method:: get_document_version(**kwargs)

    

    Retrieves version metadata for the specified document.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentVersion>`_    


    **Request Syntax** 
    ::

      response = client.get_document_version(
          AuthenticationToken='string',
          DocumentId='string',
          VersionId='string',
          Fields='string',
          IncludeCustomMetadata=True|False
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the document.

      

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

      The version ID of the document.

      

    
    :type Fields: string
    :param Fields: 

      A comma-separated list of values. Specify "SOURCE" to include a URL for the source document.

      

    
    :type IncludeCustomMetadata: boolean
    :param IncludeCustomMetadata: 

      Set this to TRUE to include custom metadata in the response.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Metadata': {
                'Id': 'string',
                'Name': 'string',
                'ContentType': 'string',
                'Size': 123,
                'Signature': 'string',
                'Status': 'INITIALIZED'|'ACTIVE',
                'CreatedTimestamp': datetime(2015, 1, 1),
                'ModifiedTimestamp': datetime(2015, 1, 1),
                'ContentCreatedTimestamp': datetime(2015, 1, 1),
                'ContentModifiedTimestamp': datetime(2015, 1, 1),
                'CreatorId': 'string',
                'Thumbnail': {
                    'string': 'string'
                },
                'Source': {
                    'string': 'string'
                }
            },
            'CustomMetadata': {
                'string': 'string'
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Metadata** *(dict) --* 

          The version metadata.

          
          

          - **Id** *(string) --* 

            The ID of the version.

            
          

          - **Name** *(string) --* 

            The name of the version.

            
          

          - **ContentType** *(string) --* 

            The content type of the document.

            
          

          - **Size** *(integer) --* 

            The size of the document, in bytes.

            
          

          - **Signature** *(string) --* 

            The signature of the document.

            
          

          - **Status** *(string) --* 

            The status of the document.

            
          

          - **CreatedTimestamp** *(datetime) --* 

            The time stamp when the document was first uploaded.

            
          

          - **ModifiedTimestamp** *(datetime) --* 

            The time stamp when the document was last uploaded.

            
          

          - **ContentCreatedTimestamp** *(datetime) --* 

            The time stamp when the content of the document was originally created.

            
          

          - **ContentModifiedTimestamp** *(datetime) --* 

            The time stamp when the content of the document was modified.

            
          

          - **CreatorId** *(string) --* 

            The ID of the creator.

            
          

          - **Thumbnail** *(dict) --* 

            The thumbnail of the document.

            
            

            - *(string) --* 
              

              - *(string) --* 
        
      
          

          - **Source** *(dict) --* 

            The source of the document.

            
            

            - *(string) --* 
              

              - *(string) --* 
        
      
      
        

        - **CustomMetadata** *(dict) --* 

          The custom metadata on the document version.

          
          

          - *(string) --* 
            

            - *(string) --* 
      
    
    

  .. py:method:: get_folder(**kwargs)

    

    Retrieves the metadata of the specified folder.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolder>`_    


    **Request Syntax** 
    ::

      response = client.get_folder(
          AuthenticationToken='string',
          FolderId='string',
          IncludeCustomMetadata=True|False
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the folder.

      

    
    :type IncludeCustomMetadata: boolean
    :param IncludeCustomMetadata: 

      Set to TRUE to include custom metadata in the response.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Metadata': {
                'Id': 'string',
                'Name': 'string',
                'CreatorId': 'string',
                'ParentFolderId': 'string',
                'CreatedTimestamp': datetime(2015, 1, 1),
                'ModifiedTimestamp': datetime(2015, 1, 1),
                'ResourceState': 'ACTIVE'|'RESTORING'|'RECYCLING'|'RECYCLED',
                'Signature': 'string',
                'Labels': [
                    'string',
                ],
                'Size': 123,
                'LatestVersionSize': 123
            },
            'CustomMetadata': {
                'string': 'string'
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Metadata** *(dict) --* 

          The metadata of the folder.

          
          

          - **Id** *(string) --* 

            The ID of the folder.

            
          

          - **Name** *(string) --* 

            The name of the folder.

            
          

          - **CreatorId** *(string) --* 

            The ID of the creator.

            
          

          - **ParentFolderId** *(string) --* 

            The ID of the parent folder.

            
          

          - **CreatedTimestamp** *(datetime) --* 

            The time when the folder was created.

            
          

          - **ModifiedTimestamp** *(datetime) --* 

            The time when the folder was updated.

            
          

          - **ResourceState** *(string) --* 

            The resource state of the folder.

            
          

          - **Signature** *(string) --* 

            The unique identifier created from the subfolders and documents of the folder.

            
          

          - **Labels** *(list) --* 

            List of labels on the folder.

            
            

            - *(string) --* 
        
          

          - **Size** *(integer) --* 

            The size of the folder metadata.

            
          

          - **LatestVersionSize** *(integer) --* 

            The size of the latest version of the folder metadata.

            
      
        

        - **CustomMetadata** *(dict) --* 

          The custom metadata on the folder.

          
          

          - *(string) --* 
            

            - *(string) --* 
      
    
    

  .. py:method:: get_folder_path(**kwargs)

    

    Retrieves the path information (the hierarchy from the root folder) for the specified folder.

     

    By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested folder and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the parent folder names.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolderPath>`_    


    **Request Syntax** 
    ::

      response = client.get_folder_path(
          AuthenticationToken='string',
          FolderId='string',
          Limit=123,
          Fields='string',
          Marker='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the folder.

      

    
    :type Limit: integer
    :param Limit: 

      The maximum number of levels in the hierarchy to return.

      

    
    :type Fields: string
    :param Fields: 

      A comma-separated list of values. Specify "NAME" to include the names of the parent folders.

      

    
    :type Marker: string
    :param Marker: 

      This value is not supported.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Path': {
                'Components': [
                    {
                        'Id': 'string',
                        'Name': 'string'
                    },
                ]
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Path** *(dict) --* 

          The path information.

          
          

          - **Components** *(list) --* 

            The components of the resource path.

            
            

            - *(dict) --* 

              Describes the resource path.

              
              

              - **Id** *(string) --* 

                The ID of the resource path.

                
              

              - **Name** *(string) --* 

                The name of the resource path.

                
          
        
      
    

  .. py:method:: get_paginator(operation_name)

        
    Create a paginator for an operation.
    
    :type operation_name: string
    :param operation_name: The operation name.  This is the same name
        as the method name on the client.  For example, if the
        method name is ``create_foo``, and you'd normally invoke the
        operation as ``client.create_foo(**kwargs)``, if the
        ``create_foo`` operation can be paginated, you can use the
        call ``client.get_paginator("create_foo")``.
    
    :raise OperationNotPageableError: Raised if the operation is not
        pageable.  You can use the ``client.can_paginate`` method to
        check if an operation is pageable.
    
    :rtype: L{botocore.paginate.Paginator}
    :return: A paginator object.


  .. py:method:: get_waiter(waiter_name)

        


  .. py:method:: initiate_document_version_upload(**kwargs)

    

    Creates a new document object and version object.

     

    The client specifies the parent folder ID and name of the document to upload. The ID is optionally specified when creating a new version of an existing document. This is the first step to upload a document. Next, upload the document to the URL returned from the call, and then call  UpdateDocumentVersion .

     

    To cancel the document upload, call  AbortDocumentVersionUpload .

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/InitiateDocumentVersionUpload>`_    


    **Request Syntax** 
    ::

      response = client.initiate_document_version_upload(
          AuthenticationToken='string',
          Id='string',
          Name='string',
          ContentCreatedTimestamp=datetime(2015, 1, 1),
          ContentModifiedTimestamp=datetime(2015, 1, 1),
          ContentType='string',
          DocumentSizeInBytes=123,
          ParentFolderId='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

    
    :type Id: string
    :param Id: 

      The ID of the document.

      

    
    :type Name: string
    :param Name: 

      The name of the document.

      

    
    :type ContentCreatedTimestamp: datetime
    :param ContentCreatedTimestamp: 

      The time stamp when the content of the document was originally created.

      

    
    :type ContentModifiedTimestamp: datetime
    :param ContentModifiedTimestamp: 

      The time stamp when the content of the document was modified.

      

    
    :type ContentType: string
    :param ContentType: 

      The content type of the document.

      

    
    :type DocumentSizeInBytes: integer
    :param DocumentSizeInBytes: 

      The size of the document, in bytes.

      

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

      The ID of the parent folder.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Metadata': {
                'Id': 'string',
                'CreatorId': 'string',
                'ParentFolderId': 'string',
                'CreatedTimestamp': datetime(2015, 1, 1),
                'ModifiedTimestamp': datetime(2015, 1, 1),
                'LatestVersionMetadata': {
                    'Id': 'string',
                    'Name': 'string',
                    'ContentType': 'string',
                    'Size': 123,
                    'Signature': 'string',
                    'Status': 'INITIALIZED'|'ACTIVE',
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'ModifiedTimestamp': datetime(2015, 1, 1),
                    'ContentCreatedTimestamp': datetime(2015, 1, 1),
                    'ContentModifiedTimestamp': datetime(2015, 1, 1),
                    'CreatorId': 'string',
                    'Thumbnail': {
                        'string': 'string'
                    },
                    'Source': {
                        'string': 'string'
                    }
                },
                'ResourceState': 'ACTIVE'|'RESTORING'|'RECYCLING'|'RECYCLED',
                'Labels': [
                    'string',
                ]
            },
            'UploadMetadata': {
                'UploadUrl': 'string',
                'SignedHeaders': {
                    'string': 'string'
                }
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Metadata** *(dict) --* 

          The document metadata.

          
          

          - **Id** *(string) --* 

            The ID of the document.

            
          

          - **CreatorId** *(string) --* 

            The ID of the creator.

            
          

          - **ParentFolderId** *(string) --* 

            The ID of the parent folder.

            
          

          - **CreatedTimestamp** *(datetime) --* 

            The time when the document was created.

            
          

          - **ModifiedTimestamp** *(datetime) --* 

            The time when the document was updated.

            
          

          - **LatestVersionMetadata** *(dict) --* 

            The latest version of the document.

            
            

            - **Id** *(string) --* 

              The ID of the version.

              
            

            - **Name** *(string) --* 

              The name of the version.

              
            

            - **ContentType** *(string) --* 

              The content type of the document.

              
            

            - **Size** *(integer) --* 

              The size of the document, in bytes.

              
            

            - **Signature** *(string) --* 

              The signature of the document.

              
            

            - **Status** *(string) --* 

              The status of the document.

              
            

            - **CreatedTimestamp** *(datetime) --* 

              The time stamp when the document was first uploaded.

              
            

            - **ModifiedTimestamp** *(datetime) --* 

              The time stamp when the document was last uploaded.

              
            

            - **ContentCreatedTimestamp** *(datetime) --* 

              The time stamp when the content of the document was originally created.

              
            

            - **ContentModifiedTimestamp** *(datetime) --* 

              The time stamp when the content of the document was modified.

              
            

            - **CreatorId** *(string) --* 

              The ID of the creator.

              
            

            - **Thumbnail** *(dict) --* 

              The thumbnail of the document.

              
              

              - *(string) --* 
                

                - *(string) --* 
          
        
            

            - **Source** *(dict) --* 

              The source of the document.

              
              

              - *(string) --* 
                

                - *(string) --* 
          
        
        
          

          - **ResourceState** *(string) --* 

            The resource state.

            
          

          - **Labels** *(list) --* 

            List of labels on the document.

            
            

            - *(string) --* 
        
      
        

        - **UploadMetadata** *(dict) --* 

          The upload metadata.

          
          

          - **UploadUrl** *(string) --* 

            The URL of the upload.

            
          

          - **SignedHeaders** *(dict) --* 

            The signed headers.

            
            

            - *(string) --* 
              

              - *(string) --* 
        
      
      
    

  .. py:method:: remove_all_resource_permissions(**kwargs)

    

    Removes all the permissions from the specified resource.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveAllResourcePermissions>`_    


    **Request Syntax** 
    ::

      response = client.remove_all_resource_permissions(
          AuthenticationToken='string',
          ResourceId='string'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the resource.

      

    
    
    :returns: None

  .. py:method:: remove_resource_permission(**kwargs)

    

    Removes the permission for the specified principal from the specified resource.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveResourcePermission>`_    


    **Request Syntax** 
    ::

      response = client.remove_resource_permission(
          AuthenticationToken='string',
          ResourceId='string',
          PrincipalId='string',
          PrincipalType='USER'|'GROUP'|'INVITE'|'ANONYMOUS'|'ORGANIZATION'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the resource.

      

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

      The principal ID of the resource.

      

    
    :type PrincipalType: string
    :param PrincipalType: 

      The principal type of the resource.

      

    
    
    :returns: None

  .. py:method:: update_document(**kwargs)

    

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

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocument>`_    


    **Request Syntax** 
    ::

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

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the document.

      

    
    :type Name: string
    :param Name: 

      The name of the document.

      

    
    :type ParentFolderId: string
    :param ParentFolderId: 

      The ID of the parent folder.

      

    
    :type ResourceState: string
    :param ResourceState: 

      The resource state of the document. Note that only ACTIVE and RECYCLED are supported.

      

    
    
    :returns: None

  .. py:method:: update_document_version(**kwargs)

    

    Changes the status of the document version to ACTIVE. 

     

    Amazon WorkDocs also sets its document container to ACTIVE. This is the last step in a document upload, after the client uploads the document to an S3-presigned URL returned by  InitiateDocumentVersionUpload . 

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocumentVersion>`_    


    **Request Syntax** 
    ::

      response = client.update_document_version(
          AuthenticationToken='string',
          DocumentId='string',
          VersionId='string',
          VersionStatus='ACTIVE'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the document.

      

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

      The version ID of the document.

      

    
    :type VersionStatus: string
    :param VersionStatus: 

      The status of the version.

      

    
    
    :returns: None

  .. py:method:: 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. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

    
    :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. Note that only ACTIVE and RECYCLED are accepted values from the API.

      

    
    
    :returns: None

  .. py:method:: update_user(**kwargs)

    

    Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site.

    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateUser>`_    


    **Request Syntax** 
    ::

      response = client.update_user(
          AuthenticationToken='string',
          UserId='string',
          GivenName='string',
          Surname='string',
          Type='USER'|'ADMIN',
          StorageRule={
              'StorageAllocatedInBytes': 123,
              'StorageType': 'UNLIMITED'|'QUOTA'
          },
          TimeZoneId='string',
          Locale='en'|'fr'|'ko'|'de'|'es'|'ja'|'ru'|'zh_CN'|'zh_TW'|'pt_BR'|'default'
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the user.

      

    
    :type GivenName: string
    :param GivenName: 

      The given name of the user.

      

    
    :type Surname: string
    :param Surname: 

      The surname of the user.

      

    
    :type Type: string
    :param Type: 

      The type of the user.

      

    
    :type StorageRule: dict
    :param StorageRule: 

      The amount of storage for the user.

      

    
      - **StorageAllocatedInBytes** *(integer) --* 

        The amount of storage allocated, in bytes.

        

      
      - **StorageType** *(string) --* 

        The type of storage.

        

      
    
    :type TimeZoneId: string
    :param TimeZoneId: 

      The time zone ID of the user.

      

    
    :type Locale: string
    :param Locale: 

      The locale of the user.

      

    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'User': {
                'Id': 'string',
                'Username': 'string',
                'EmailAddress': 'string',
                'GivenName': 'string',
                'Surname': 'string',
                'OrganizationId': 'string',
                'RootFolderId': 'string',
                'RecycleBinFolderId': 'string',
                'Status': 'ACTIVE'|'INACTIVE'|'PENDING',
                'Type': 'USER'|'ADMIN',
                'CreatedTimestamp': datetime(2015, 1, 1),
                'ModifiedTimestamp': datetime(2015, 1, 1),
                'TimeZoneId': 'string',
                'Locale': 'en'|'fr'|'ko'|'de'|'es'|'ja'|'ru'|'zh_CN'|'zh_TW'|'pt_BR'|'default',
                'Storage': {
                    'StorageUtilizedInBytes': 123,
                    'StorageRule': {
                        'StorageAllocatedInBytes': 123,
                        'StorageType': 'UNLIMITED'|'QUOTA'
                    }
                }
            }
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **User** *(dict) --* 

          The user information.

          
          

          - **Id** *(string) --* 

            The ID of the user.

            
          

          - **Username** *(string) --* 

            The login name of the user.

            
          

          - **EmailAddress** *(string) --* 

            The email address of the user.

            
          

          - **GivenName** *(string) --* 

            The given name of the user.

            
          

          - **Surname** *(string) --* 

            The surname of the user.

            
          

          - **OrganizationId** *(string) --* 

            The ID of the organization.

            
          

          - **RootFolderId** *(string) --* 

            The ID of the root folder.

            
          

          - **RecycleBinFolderId** *(string) --* 

            The ID of the recycle bin folder.

            
          

          - **Status** *(string) --* 

            The status of the user.

            
          

          - **Type** *(string) --* 

            The type of user.

            
          

          - **CreatedTimestamp** *(datetime) --* 

            The time when the user was created.

            
          

          - **ModifiedTimestamp** *(datetime) --* 

            The time when the user was modified.

            
          

          - **TimeZoneId** *(string) --* 

            The time zone ID of the user.

            
          

          - **Locale** *(string) --* 

            The locale of the user.

            
          

          - **Storage** *(dict) --* 

            The storage for the user.

            
            

            - **StorageUtilizedInBytes** *(integer) --* 

              The amount of storage utilized, in bytes.

              
            

            - **StorageRule** *(dict) --* 

              The storage for a user.

              
              

              - **StorageAllocatedInBytes** *(integer) --* 

                The amount of storage allocated, in bytes.

                
              

              - **StorageType** *(string) --* 

                The type of storage.

                
          
        
      
    

==========
Paginators
==========


The available paginators are:

* :py:class:`WorkDocs.Paginator.DescribeDocumentVersions`


* :py:class:`WorkDocs.Paginator.DescribeFolderContents`


* :py:class:`WorkDocs.Paginator.DescribeUsers`



.. py:class:: WorkDocs.Paginator.DescribeDocumentVersions

  ::

    
    paginator = client.get_paginator('describe_document_versions')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`WorkDocs.Client.describe_document_versions`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeDocumentVersions>`_    


    **Request Syntax** 
    ::

      response_iterator = paginator.paginate(
          AuthenticationToken='string',
          DocumentId='string',
          Include='string',
          Fields='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the document.

      

    
    :type Include: string
    :param Include: 

      A comma-separated list of values. Specify "INITIALIZED" to include incomplete versions.

      

    
    :type Fields: string
    :param Fields: 

      Specify "SOURCE" to include initialized versions and a URL for the source document.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

        

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

      
    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'DocumentVersions': [
                {
                    'Id': 'string',
                    'Name': 'string',
                    'ContentType': 'string',
                    'Size': 123,
                    'Signature': 'string',
                    'Status': 'INITIALIZED'|'ACTIVE',
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'ModifiedTimestamp': datetime(2015, 1, 1),
                    'ContentCreatedTimestamp': datetime(2015, 1, 1),
                    'ContentModifiedTimestamp': datetime(2015, 1, 1),
                    'CreatorId': 'string',
                    'Thumbnail': {
                        'string': 'string'
                    },
                    'Source': {
                        'string': 'string'
                    }
                },
            ],
            'NextToken': 'string'
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **DocumentVersions** *(list) --* 

          The document versions.

          
          

          - *(dict) --* 

            Describes a version of a document.

            
            

            - **Id** *(string) --* 

              The ID of the version.

              
            

            - **Name** *(string) --* 

              The name of the version.

              
            

            - **ContentType** *(string) --* 

              The content type of the document.

              
            

            - **Size** *(integer) --* 

              The size of the document, in bytes.

              
            

            - **Signature** *(string) --* 

              The signature of the document.

              
            

            - **Status** *(string) --* 

              The status of the document.

              
            

            - **CreatedTimestamp** *(datetime) --* 

              The time stamp when the document was first uploaded.

              
            

            - **ModifiedTimestamp** *(datetime) --* 

              The time stamp when the document was last uploaded.

              
            

            - **ContentCreatedTimestamp** *(datetime) --* 

              The time stamp when the content of the document was originally created.

              
            

            - **ContentModifiedTimestamp** *(datetime) --* 

              The time stamp when the content of the document was modified.

              
            

            - **CreatorId** *(string) --* 

              The ID of the creator.

              
            

            - **Thumbnail** *(dict) --* 

              The thumbnail of the document.

              
              

              - *(string) --* 
                

                - *(string) --* 
          
        
            

            - **Source** *(dict) --* 

              The source of the document.

              
              

              - *(string) --* 
                

                - *(string) --* 
          
        
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    

.. py:class:: WorkDocs.Paginator.DescribeFolderContents

  ::

    
    paginator = client.get_paginator('describe_folder_contents')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`WorkDocs.Client.describe_folder_contents`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeFolderContents>`_    


    **Request Syntax** 
    ::

      response_iterator = paginator.paginate(
          AuthenticationToken='string',
          FolderId='string',
          Sort='DATE'|'NAME',
          Order='ASCENDING'|'DESCENDING',
          Type='ALL'|'DOCUMENT'|'FOLDER',
          Include='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

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

      The ID of the folder.

      

    
    :type Sort: string
    :param Sort: 

      The sorting criteria.

      

    
    :type Order: string
    :param Order: 

      The order for the contents of the folder.

      

    
    :type Type: string
    :param Type: 

      The type of items.

      

    
    :type Include: string
    :param Include: 

      The contents to include. Specify "INITIALIZED" to include initialized documents.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

        

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

      
    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Folders': [
                {
                    'Id': 'string',
                    'Name': 'string',
                    'CreatorId': 'string',
                    'ParentFolderId': 'string',
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'ModifiedTimestamp': datetime(2015, 1, 1),
                    'ResourceState': 'ACTIVE'|'RESTORING'|'RECYCLING'|'RECYCLED',
                    'Signature': 'string',
                    'Labels': [
                        'string',
                    ],
                    'Size': 123,
                    'LatestVersionSize': 123
                },
            ],
            'Documents': [
                {
                    'Id': 'string',
                    'CreatorId': 'string',
                    'ParentFolderId': 'string',
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'ModifiedTimestamp': datetime(2015, 1, 1),
                    'LatestVersionMetadata': {
                        'Id': 'string',
                        'Name': 'string',
                        'ContentType': 'string',
                        'Size': 123,
                        'Signature': 'string',
                        'Status': 'INITIALIZED'|'ACTIVE',
                        'CreatedTimestamp': datetime(2015, 1, 1),
                        'ModifiedTimestamp': datetime(2015, 1, 1),
                        'ContentCreatedTimestamp': datetime(2015, 1, 1),
                        'ContentModifiedTimestamp': datetime(2015, 1, 1),
                        'CreatorId': 'string',
                        'Thumbnail': {
                            'string': 'string'
                        },
                        'Source': {
                            'string': 'string'
                        }
                    },
                    'ResourceState': 'ACTIVE'|'RESTORING'|'RECYCLING'|'RECYCLED',
                    'Labels': [
                        'string',
                    ]
                },
            ],
            'NextToken': 'string'
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Folders** *(list) --* 

          The subfolders in the specified folder.

          
          

          - *(dict) --* 

            Describes a folder.

            
            

            - **Id** *(string) --* 

              The ID of the folder.

              
            

            - **Name** *(string) --* 

              The name of the folder.

              
            

            - **CreatorId** *(string) --* 

              The ID of the creator.

              
            

            - **ParentFolderId** *(string) --* 

              The ID of the parent folder.

              
            

            - **CreatedTimestamp** *(datetime) --* 

              The time when the folder was created.

              
            

            - **ModifiedTimestamp** *(datetime) --* 

              The time when the folder was updated.

              
            

            - **ResourceState** *(string) --* 

              The resource state of the folder.

              
            

            - **Signature** *(string) --* 

              The unique identifier created from the subfolders and documents of the folder.

              
            

            - **Labels** *(list) --* 

              List of labels on the folder.

              
              

              - *(string) --* 
          
            

            - **Size** *(integer) --* 

              The size of the folder metadata.

              
            

            - **LatestVersionSize** *(integer) --* 

              The size of the latest version of the folder metadata.

              
        
      
        

        - **Documents** *(list) --* 

          The documents in the specified folder.

          
          

          - *(dict) --* 

            Describes the document.

            
            

            - **Id** *(string) --* 

              The ID of the document.

              
            

            - **CreatorId** *(string) --* 

              The ID of the creator.

              
            

            - **ParentFolderId** *(string) --* 

              The ID of the parent folder.

              
            

            - **CreatedTimestamp** *(datetime) --* 

              The time when the document was created.

              
            

            - **ModifiedTimestamp** *(datetime) --* 

              The time when the document was updated.

              
            

            - **LatestVersionMetadata** *(dict) --* 

              The latest version of the document.

              
              

              - **Id** *(string) --* 

                The ID of the version.

                
              

              - **Name** *(string) --* 

                The name of the version.

                
              

              - **ContentType** *(string) --* 

                The content type of the document.

                
              

              - **Size** *(integer) --* 

                The size of the document, in bytes.

                
              

              - **Signature** *(string) --* 

                The signature of the document.

                
              

              - **Status** *(string) --* 

                The status of the document.

                
              

              - **CreatedTimestamp** *(datetime) --* 

                The time stamp when the document was first uploaded.

                
              

              - **ModifiedTimestamp** *(datetime) --* 

                The time stamp when the document was last uploaded.

                
              

              - **ContentCreatedTimestamp** *(datetime) --* 

                The time stamp when the content of the document was originally created.

                
              

              - **ContentModifiedTimestamp** *(datetime) --* 

                The time stamp when the content of the document was modified.

                
              

              - **CreatorId** *(string) --* 

                The ID of the creator.

                
              

              - **Thumbnail** *(dict) --* 

                The thumbnail of the document.

                
                

                - *(string) --* 
                  

                  - *(string) --* 
            
          
              

              - **Source** *(dict) --* 

                The source of the document.

                
                

                - *(string) --* 
                  

                  - *(string) --* 
            
          
          
            

            - **ResourceState** *(string) --* 

              The resource state.

              
            

            - **Labels** *(list) --* 

              List of labels on the document.

              
              

              - *(string) --* 
          
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    

.. py:class:: WorkDocs.Paginator.DescribeUsers

  ::

    
    paginator = client.get_paginator('describe_users')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`WorkDocs.Client.describe_users`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeUsers>`_    


    **Request Syntax** 
    ::

      response_iterator = paginator.paginate(
          AuthenticationToken='string',
          OrganizationId='string',
          UserIds='string',
          Query='string',
          Include='ALL'|'ACTIVE_PENDING',
          Order='ASCENDING'|'DESCENDING',
          Sort='USER_NAME'|'FULL_NAME'|'STORAGE_LIMIT'|'USER_STATUS'|'STORAGE_USED',
          Fields='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
    :type AuthenticationToken: string
    :param AuthenticationToken: 

      Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

      

    
    :type OrganizationId: string
    :param OrganizationId: 

      The ID of the organization.

      

    
    :type UserIds: string
    :param UserIds: 

      The IDs of the users.

      

    
    :type Query: string
    :param Query: 

      A query to filter users by user name.

      

    
    :type Include: string
    :param Include: 

      The state of the users. Specify "ALL" to include inactive users.

      

    
    :type Order: string
    :param Order: 

      The order for the results.

      

    
    :type Sort: string
    :param Sort: 

      The sorting criteria.

      

    
    :type Fields: string
    :param Fields: 

      A comma-separated list of values. Specify "STORAGE_METADATA" to include the user storage quota and utilization information.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

        

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

      
    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax** 

      
      ::

        {
            'Users': [
                {
                    'Id': 'string',
                    'Username': 'string',
                    'EmailAddress': 'string',
                    'GivenName': 'string',
                    'Surname': 'string',
                    'OrganizationId': 'string',
                    'RootFolderId': 'string',
                    'RecycleBinFolderId': 'string',
                    'Status': 'ACTIVE'|'INACTIVE'|'PENDING',
                    'Type': 'USER'|'ADMIN',
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'ModifiedTimestamp': datetime(2015, 1, 1),
                    'TimeZoneId': 'string',
                    'Locale': 'en'|'fr'|'ko'|'de'|'es'|'ja'|'ru'|'zh_CN'|'zh_TW'|'pt_BR'|'default',
                    'Storage': {
                        'StorageUtilizedInBytes': 123,
                        'StorageRule': {
                            'StorageAllocatedInBytes': 123,
                            'StorageType': 'UNLIMITED'|'QUOTA'
                        }
                    }
                },
            ],
            'TotalNumberOfUsers': 123,
            'NextToken': 'string'
        }
      **Response Structure** 

      

      - *(dict) --* 
        

        - **Users** *(list) --* 

          The users.

          
          

          - *(dict) --* 

            Describes a user.

            
            

            - **Id** *(string) --* 

              The ID of the user.

              
            

            - **Username** *(string) --* 

              The login name of the user.

              
            

            - **EmailAddress** *(string) --* 

              The email address of the user.

              
            

            - **GivenName** *(string) --* 

              The given name of the user.

              
            

            - **Surname** *(string) --* 

              The surname of the user.

              
            

            - **OrganizationId** *(string) --* 

              The ID of the organization.

              
            

            - **RootFolderId** *(string) --* 

              The ID of the root folder.

              
            

            - **RecycleBinFolderId** *(string) --* 

              The ID of the recycle bin folder.

              
            

            - **Status** *(string) --* 

              The status of the user.

              
            

            - **Type** *(string) --* 

              The type of user.

              
            

            - **CreatedTimestamp** *(datetime) --* 

              The time when the user was created.

              
            

            - **ModifiedTimestamp** *(datetime) --* 

              The time when the user was modified.

              
            

            - **TimeZoneId** *(string) --* 

              The time zone ID of the user.

              
            

            - **Locale** *(string) --* 

              The locale of the user.

              
            

            - **Storage** *(dict) --* 

              The storage for the user.

              
              

              - **StorageUtilizedInBytes** *(integer) --* 

                The amount of storage utilized, in bytes.

                
              

              - **StorageRule** *(dict) --* 

                The storage for a user.

                
                

                - **StorageAllocatedInBytes** *(integer) --* 

                  The amount of storage allocated, in bytes.

                  
                

                - **StorageType** *(string) --* 

                  The type of storage.

                  
            
          
        
      
        

        - **TotalNumberOfUsers** *(integer) --* 

          The total number of users included in the results.

          
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    