AWS IoT Wireless

2020/12/22 - AWS IoT Wireless - 2 updated api methods

Changes  Adding the ability to use Fingerprint in GetPartnerAccount and ListPartnerAccounts API responses to protect sensitive customer account information.

GetPartnerAccount (updated) Link ¶
Changes (response)
{'Sidewalk': {'Fingerprint': 'string'}}

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

See also: AWS API Documentation

Request Syntax

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'
    },
    'AccountLinked': True|False
}

Response Structure

  • (dict) --

    • Sidewalk (dict) --

      The Sidewalk account credentials.

      • AmazonId (string) --

        The Sidewalk Amazon ID.

      • Fingerprint (string) --

        Fingerprint for Sidewalk application server private key.

    • AccountLinked (boolean) --

      Whether the partner account is linked to the AWS account.

ListPartnerAccounts (updated) Link ¶
Changes (response)
{'Sidewalk': {'Fingerprint': 'string'}}

Lists the partner accounts associated with your AWS account.

See also: AWS API Documentation

Request Syntax

client.list_partner_accounts(
    NextToken='string',
    MaxResults=123
)
type NextToken

string

param NextToken

To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

type MaxResults

integer

param MaxResults

The maximum number of results to return in this operation.

rtype

dict

returns

Response Syntax

{
    'NextToken': 'string',
    'Sidewalk': [
        {
            'AmazonId': 'string',
            'Fingerprint': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • NextToken (string) --

      The token to use to get the next set of results, or null if there are no additional results.

    • Sidewalk (list) --

      The Sidewalk account credentials.

      • (dict) --

        Information about a Sidewalk account.

        • AmazonId (string) --

          The Sidewalk Amazon ID.

        • Fingerprint (string) --

          Fingerprint for Sidewalk application server private key.