IoTWireless / Client / get_partner_account

get_partner_account#

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

Request Syntax

response = client.get_partner_account(
    PartnerAccountId='string',
    PartnerType='Sidewalk'
)
Parameters:
  • PartnerAccountId (string) –

    [REQUIRED]

    The partner account ID to disassociate from the AWS account.

  • PartnerType (string) –

    [REQUIRED]

    The partner type.

Return type:

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

  • IoTWireless.Client.exceptions.ValidationException

  • IoTWireless.Client.exceptions.ResourceNotFoundException

  • IoTWireless.Client.exceptions.InternalServerException

  • IoTWireless.Client.exceptions.ThrottlingException