:doc:`DeadlineCloud <../../deadline>` / Client / update_storage_profile

**********************
update_storage_profile
**********************



.. py:method:: DeadlineCloud.Client.update_storage_profile(**kwargs)

  

  Updates a storage profile.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateStorageProfile>`_  


  **Request Syntax**
  ::

    response = client.update_storage_profile(
        clientToken='string',
        farmId='string',
        storageProfileId='string',
        displayName='string',
        osFamily='WINDOWS'|'LINUX'|'MACOS',
        fileSystemLocationsToAdd=[
            {
                'name': 'string',
                'path': 'string',
                'type': 'SHARED'|'LOCAL'
            },
        ],
        fileSystemLocationsToRemove=[
            {
                'name': 'string',
                'path': 'string',
                'type': 'SHARED'|'LOCAL'
            },
        ]
    )
    
  :type clientToken: string
  :param clientToken: 

    The unique token which the server uses to recognize retries of the same request.

    This field is autopopulated if not provided.

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

    The farm ID to update.

    

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

    The storage profile ID to update.

    

  
  :type displayName: string
  :param displayName: 

    The display name of the storage profile to update.

     

    .. warning::

       

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      

    

  
  :type osFamily: string
  :param osFamily: 

    The OS system to update.

    

  
  :type fileSystemLocationsToAdd: list
  :param fileSystemLocationsToAdd: 

    The file system location names to add.

    

  
    - *(dict) --* 

      The details of the file system location for the resource.

      

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

        The location name.

        

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

        The file path.

        

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

        The type of file.

        

      
    

  :type fileSystemLocationsToRemove: list
  :param fileSystemLocationsToRemove: 

    The file system location names to remove.

    

  
    - *(dict) --* 

      The details of the file system location for the resource.

      

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

        The location name.

        

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

        The file path.

        

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

        The type of file.

        

      
    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`DeadlineCloud.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`DeadlineCloud.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`DeadlineCloud.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`DeadlineCloud.Client.exceptions.ThrottlingException`

  
  *   :py:class:`DeadlineCloud.Client.exceptions.ValidationException`

  