:doc:`IoTWireless <../../iotwireless>` / Client / get_partner_account

*******************
get_partner_account
*******************



.. py:method:: IoTWireless.Client.get_partner_account(**kwargs)

  

  Gets information about a partner account. If ``PartnerAccountId`` and ``PartnerType`` are ``null``, returns all partner accounts.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetPartnerAccount>`_  


  **Request Syntax**
  ::

    response = client.get_partner_account(
        PartnerAccountId='string',
        PartnerType='Sidewalk'
    )
    
  :type PartnerAccountId: string
  :param PartnerAccountId: **[REQUIRED]** 

    The partner account ID to disassociate from the AWS account.

    

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

    The partner type.

    

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

    
    ::

      {
          'Sidewalk': {
              'AmazonId': 'string',
              'Fingerprint': 'string',
              'Arn': 'string'
          },
          'AccountLinked': True|False
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Sidewalk** *(dict) --* 

        The Sidewalk account credentials.

        
        

        - **AmazonId** *(string) --* 

          The Sidewalk Amazon ID.

          
        

        - **Fingerprint** *(string) --* 

          The fingerprint of the Sidewalk application server private key.

          
        

        - **Arn** *(string) --* 

          The Amazon Resource Name of the resource.

          
    
      

      - **AccountLinked** *(boolean) --* 

        Whether the partner account is linked to the AWS account.

        
  
  **Exceptions**
  
  *   :py:class:`IoTWireless.Client.exceptions.ValidationException`

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

  
  *   :py:class:`IoTWireless.Client.exceptions.InternalServerException`

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

  