:doc:`DirectoryService <../../ds>` / Client / verify_trust

************
verify_trust
************



.. py:method:: DirectoryService.Client.verify_trust(**kwargs)

  

  Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.

   

  This action verifies a trust relationship between your Managed Microsoft AD directory and an external domain.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrust>`_  


  **Request Syntax**
  ::

    response = client.verify_trust(
        TrustId='string'
    )
    
  :type TrustId: string
  :param TrustId: **[REQUIRED]** 

    The unique Trust ID of the trust relationship to verify.

    

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

    
    ::

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

    

    - *(dict) --* 

      Result of a VerifyTrust request.

      
      

      - **TrustId** *(string) --* 

        The unique Trust ID of the trust relationship that was verified.

        
  
  **Exceptions**
  
  *   :py:class:`DirectoryService.Client.exceptions.EntityDoesNotExistException`

  
  *   :py:class:`DirectoryService.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`DirectoryService.Client.exceptions.ClientException`

  
  *   :py:class:`DirectoryService.Client.exceptions.ServiceException`

  
  *   :py:class:`DirectoryService.Client.exceptions.UnsupportedOperationException`

  