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

***************************
get_trust_store_certificate
***************************



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

  

  Gets the trust store certificate.

  

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


  **Request Syntax**
  ::

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

    The ARN of the trust store certificate.

    

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

    The thumbprint of the trust store certificate.

    

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

    
    ::

      {
          'trustStoreArn': 'string',
          'certificate': {
              'thumbprint': 'string',
              'subject': 'string',
              'issuer': 'string',
              'notValidBefore': datetime(2015, 1, 1),
              'notValidAfter': datetime(2015, 1, 1),
              'body': b'bytes'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The ARN of the trust store certificate.

        
      

      - **certificate** *(dict) --* 

        The certificate of the trust store certificate.

        
        

        - **thumbprint** *(string) --* 

          A hexadecimal identifier for the certificate.

          
        

        - **subject** *(string) --* 

          The entity the certificate belongs to.

          
        

        - **issuer** *(string) --* 

          The entity that issued the certificate.

          
        

        - **notValidBefore** *(datetime) --* 

          The certificate is not valid before this date.

          
        

        - **notValidAfter** *(datetime) --* 

          The certificate is not valid after this date.

          
        

        - **body** *(bytes) --* 

          The body of the certificate.

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

  