:doc:`NetworkManager <../../networkmanager>` / Client / get_connect_peer_associations

*****************************
get_connect_peer_associations
*****************************



.. py:method:: NetworkManager.Client.get_connect_peer_associations(**kwargs)

  

  Returns information about a core network Connect peer associations.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectPeerAssociations>`_  


  **Request Syntax**
  ::

    response = client.get_connect_peer_associations(
        GlobalNetworkId='string',
        ConnectPeerIds=[
            'string',
        ],
        MaxResults=123,
        NextToken='string'
    )
    
  :type GlobalNetworkId: string
  :param GlobalNetworkId: **[REQUIRED]** 

    The ID of the global network.

    

  
  :type ConnectPeerIds: list
  :param ConnectPeerIds: 

    The IDs of the Connect peers.

    

  
    - *(string) --* 

    

  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return.

    

  
  :type NextToken: string
  :param NextToken: 

    The token for the next page of results.

    

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

    
    ::

      {
          'ConnectPeerAssociations': [
              {
                  'ConnectPeerId': 'string',
                  'GlobalNetworkId': 'string',
                  'DeviceId': 'string',
                  'LinkId': 'string',
                  'State': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ConnectPeerAssociations** *(list) --* 

        Displays a list of Connect peer associations.

        
        

        - *(dict) --* 

          Describes a core network Connect peer association.

          
          

          - **ConnectPeerId** *(string) --* 

            The ID of the Connect peer.

            
          

          - **GlobalNetworkId** *(string) --* 

            The ID of the global network.

            
          

          - **DeviceId** *(string) --* 

            The ID of the device to connect to.

            
          

          - **LinkId** *(string) --* 

            The ID of the link.

            
          

          - **State** *(string) --* 

            The state of the Connect peer association.

            
      
    
      

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

        The token for the next page of results.

        
  
  **Exceptions**
  
  *   :py:class:`NetworkManager.Client.exceptions.ValidationException`

  
  *   :py:class:`NetworkManager.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ConflictException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ThrottlingException`

  
  *   :py:class:`NetworkManager.Client.exceptions.InternalServerException`

  