ManagedintegrationsforIoTDeviceManagement / Paginator / ListAccountAssociations

ListAccountAssociations

class ManagedintegrationsforIoTDeviceManagement.Paginator.ListAccountAssociations
paginator = client.get_paginator('list_account_associations')
paginate(**kwargs)

Creates an iterator that will paginate through responses from ManagedintegrationsforIoTDeviceManagement.Client.list_account_associations().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ConnectorDestinationId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ConnectorDestinationId (string) – The identifier of the connector destination to filter account associations by.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'Items': [
        {
            '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'
        },
    ],

}

Response Structure

  • (dict) –

    • Items (list) –

      The list of account associations that match the specified criteria.

      • (dict) –

        Structure containing information about an account association, including its identifier, state, and related metadata.

        • AccountAssociationId (string) –

          The unique identifier of the account association.

        • AssociationState (string) –

          The current state of the account association, indicating its status in the association lifecycle.

        • ErrorMessage (string) –

          The error message explaining any issues with the account association, if applicable.

        • ConnectorDestinationId (string) –

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

        • Name (string) –

          The name of the account association.

        • Description (string) –

          A description of the account association.

        • Arn (string) –

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