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

*********************
associate_trust_store
*********************



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

  

  Associates a trust store with a web portal.

  

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


  **Request Syntax**
  ::

    response = client.associate_trust_store(
        portalArn='string',
        trustStoreArn='string'
    )
    
  :type portalArn: string
  :param portalArn: **[REQUIRED]** 

    The ARN of the web portal.

    

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

    The ARN of the trust store.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **portalArn** *(string) --* 

        The ARN of the web portal.

        
      

      - **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.ValidationException`

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

  