:doc:`SSM <../../ssm>` / Client / describe_effective_instance_associations

****************************************
describe_effective_instance_associations
****************************************



.. py:method:: SSM.Client.describe_effective_instance_associations(**kwargs)

  

  All associations for the managed nodes.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociations>`_  


  **Request Syntax**
  ::

    response = client.describe_effective_instance_associations(
        InstanceId='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

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

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

    

  
  :type NextToken: string
  :param NextToken: 

    The token for the next set of items to return. (You received this token from a previous call.)

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Associations': [
              {
                  'AssociationId': 'string',
                  'InstanceId': 'string',
                  'Content': 'string',
                  'AssociationVersion': 'string'
              },
          ],
          'NextToken': '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 nodes.

            
          

          - **AssociationVersion** *(string) --* 

            Version information for the association on the managed node.

            
      
    
      

      - **NextToken** *(string) --* 

        The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

        
  
  **Exceptions**
  
  *   :py:class:`SSM.Client.exceptions.InternalServerError`

  
  *   :py:class:`SSM.Client.exceptions.InvalidInstanceId`

  
  *   :py:class:`SSM.Client.exceptions.InvalidNextToken`

  