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

*******************************************
list_attachment_routing_policy_associations
*******************************************



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

  

  Lists the routing policy associations for attachments in a core network.

  

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


  **Request Syntax**
  ::

    response = client.list_attachment_routing_policy_associations(
        CoreNetworkId='string',
        AttachmentId='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type CoreNetworkId: string
  :param CoreNetworkId: **[REQUIRED]** 

    The ID of the core network to list attachment routing policy associations for.

    

  
  :type AttachmentId: string
  :param AttachmentId: 

    The ID of a specific attachment to filter the routing policy associations.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return in a single page.

    

  
  :type NextToken: string
  :param NextToken: 

    The token for the next page of results.

    

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

    
    ::

      {
          'AttachmentRoutingPolicyAssociations': [
              {
                  'AttachmentId': 'string',
                  'PendingRoutingPolicies': [
                      'string',
                  ],
                  'AssociatedRoutingPolicies': [
                      'string',
                  ],
                  'RoutingPolicyLabel': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AttachmentRoutingPolicyAssociations** *(list) --* 

        The list of attachment routing policy associations.

        
        

        - *(dict) --* 

          Summary information about routing policy associations for an attachment.

          
          

          - **AttachmentId** *(string) --* 

            The ID of the attachment associated with the routing policy.

            
          

          - **PendingRoutingPolicies** *(list) --* 

            The list of routing policies that are pending association with the attachment.

            
            

            - *(string) --* 
        
          

          - **AssociatedRoutingPolicies** *(list) --* 

            The list of routing policies currently associated with the attachment.

            
            

            - *(string) --* 
        
          

          - **RoutingPolicyLabel** *(string) --* 

            The routing policy label associated with the attachment.

            
      
    
      

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

        The token for the next page of results.

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

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

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

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

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

  