SSM / Paginator / DescribeEffectiveInstanceAssociations

DescribeEffectiveInstanceAssociations#

class SSM.Paginator.DescribeEffectiveInstanceAssociations#
paginator = client.get_paginator('describe_effective_instance_associations')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from SSM.Client.describe_effective_instance_associations().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    InstanceId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The managed node ID for which you want to view all associations.

  • 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

{
    'Associations': [
        {
            'AssociationId': 'string',
            'InstanceId': 'string',
            'Content': 'string',
            'AssociationVersion': 'string'
        },
    ],

}

Response Structure

  • (dict) –

    • Associations (list) –

      The associations for the requested managed node.

      • (dict) –

        One or more association documents on the managed node.

        • AssociationId (string) –

          The association ID.

        • InstanceId (string) –

          The managed node ID.

        • Content (string) –

          The content of the association document for the managed node(s).

        • AssociationVersion (string) –

          Version information for the association on the managed node.