:doc:`WorkSpacesWeb <../../workspaces-web>` / Client / update_trust_store

******************
update_trust_store
******************



.. py:method:: WorkSpacesWeb.Client.update_trust_store(**kwargs)

  

  Updates the trust store.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateTrustStore>`_  


  **Request Syntax**
  ::

    response = client.update_trust_store(
        trustStoreArn='string',
        certificatesToAdd=[
            b'bytes',
        ],
        certificatesToDelete=[
            'string',
        ],
        clientToken='string'
    )
    
  :type trustStoreArn: string
  :param trustStoreArn: **[REQUIRED]** 

    The ARN of the trust store.

    

  
  :type certificatesToAdd: list
  :param certificatesToAdd: 

    A list of CA certificates to add to the trust store.

    

  
    - *(bytes) --* 

    

  :type certificatesToDelete: list
  :param certificatesToDelete: 

    A list of CA certificates to delete from a trust store.

    

  
    - *(string) --* 

    

  :type clientToken: string
  :param clientToken: 

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request.

     

    If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

    This field is autopopulated if not provided.

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

    
    ::

      {
          'trustStoreArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **trustStoreArn** *(string) --* 

        The ARN of the trust store.

        
  
  **Exceptions**
  
  *   :py:class:`WorkSpacesWeb.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`WorkSpacesWeb.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`WorkSpacesWeb.Client.exceptions.ServiceQuotaExceededException`

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

  