ManagedintegrationsforIoTDeviceManagement / Client / get_account_association

get_account_association

ManagedintegrationsforIoTDeviceManagement.Client.get_account_association(**kwargs)

Get an account association for an Amazon Web Services account linked to a customer-managed destination.

See also: AWS API Documentation

Request Syntax

response = client.get_account_association(
    AccountAssociationId='string'
)
Parameters:

AccountAssociationId (string) –

[REQUIRED]

The unique identifier of the account association to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'AccountAssociationId': 'string',
    'AssociationState': 'ASSOCIATION_IN_PROGRESS'|'ASSOCIATION_FAILED'|'ASSOCIATION_SUCCEEDED'|'ASSOCIATION_DELETING'|'REFRESH_TOKEN_EXPIRED',
    'ErrorMessage': 'string',
    'ConnectorDestinationId': 'string',
    'Name': 'string',
    'Description': 'string',
    'Arn': 'string',
    'OAuthAuthorizationUrl': 'string',
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • AccountAssociationId (string) –

      The unique identifier of the retrieved account association.

    • AssociationState (string) –

      The current status state for the account association.

    • ErrorMessage (string) –

      The error message explaining the current account association error.

    • ConnectorDestinationId (string) –

      The identifier of the connector destination associated with this account association.

    • Name (string) –

      The name of the account association.

    • Description (string) –

      The description of the account association.

    • Arn (string) –

      The Amazon Resource Name (ARN) of the account association.

    • OAuthAuthorizationUrl (string) –

      Third party IoT platform OAuth authorization server URL backed with all the required parameters to perform end-user authentication.

    • Tags (dict) –

      A set of key/value pairs that are used to manage the account association.

      • (string) –

        • (string) –

Exceptions