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

*************************************
list_core_network_routing_information
*************************************



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

  

  Lists routing information for a core network, including routes and their attributes.

  

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


  **Request Syntax**
  ::

    response = client.list_core_network_routing_information(
        CoreNetworkId='string',
        SegmentName='string',
        EdgeLocation='string',
        NextHopFilters={
            'string': [
                'string',
            ]
        },
        LocalPreferenceMatches=[
            'string',
        ],
        ExactAsPathMatches=[
            'string',
        ],
        MedMatches=[
            'string',
        ],
        CommunityMatches=[
            'string',
        ],
        MaxResults=123,
        NextToken='string'
    )
    
  :type CoreNetworkId: string
  :param CoreNetworkId: **[REQUIRED]** 

    The ID of the core network to retrieve routing information for.

    

  
  :type SegmentName: string
  :param SegmentName: **[REQUIRED]** 

    The name of the segment to filter routing information by.

    

  
  :type EdgeLocation: string
  :param EdgeLocation: **[REQUIRED]** 

    The edge location to filter routing information by.

    

  
  :type NextHopFilters: dict
  :param NextHopFilters: 

    Filters to apply based on next hop information.

    

  
    - *(string) --* 

    
      - *(list) --* 

      
        - *(string) --* 

        
    


  :type LocalPreferenceMatches: list
  :param LocalPreferenceMatches: 

    Local preference values to match when filtering routing information.

    

  
    - *(string) --* 

    

  :type ExactAsPathMatches: list
  :param ExactAsPathMatches: 

    Exact AS path values to match when filtering routing information.

    

  
    - *(string) --* 

    

  :type MedMatches: list
  :param MedMatches: 

    Multi-Exit Discriminator (MED) values to match when filtering routing information.

    

  
    - *(string) --* 

    

  :type CommunityMatches: list
  :param CommunityMatches: 

    BGP community values to match when filtering routing information.

    

  
    - *(string) --* 

    

  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of routing information entries to return in a single page.

    

  
  :type NextToken: string
  :param NextToken: 

    The token for the next page of results.

    

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

    
    ::

      {
          'CoreNetworkRoutingInformation': [
              {
                  'Prefix': 'string',
                  'NextHop': {
                      'IpAddress': 'string',
                      'CoreNetworkAttachmentId': 'string',
                      'ResourceId': 'string',
                      'ResourceType': 'string',
                      'SegmentName': 'string',
                      'EdgeLocation': 'string'
                  },
                  'LocalPreference': 'string',
                  'Med': 'string',
                  'AsPath': [
                      'string',
                  ],
                  'Communities': [
                      'string',
                  ]
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **CoreNetworkRoutingInformation** *(list) --* 

        The list of routing information for the core network.

        
        

        - *(dict) --* 

          Routing information for a core network, including route details and BGP attributes.

          
          

          - **Prefix** *(string) --* 

            The IP prefix for the route.

            
          

          - **NextHop** *(dict) --* 

            The next hop information for the route.

            
            

            - **IpAddress** *(string) --* 

              The IP address of the next hop.

              
            

            - **CoreNetworkAttachmentId** *(string) --* 

              The ID of the core network attachment for the next hop.

              
            

            - **ResourceId** *(string) --* 

              The ID of the resource for the next hop.

              
            

            - **ResourceType** *(string) --* 

              The type of resource for the next hop.

              
            

            - **SegmentName** *(string) --* 

              The name of the segment for the next hop.

              
            

            - **EdgeLocation** *(string) --* 

              The edge location for the next hop.

              
        
          

          - **LocalPreference** *(string) --* 

            The BGP local preference value for the route.

            
          

          - **Med** *(string) --* 

            The BGP Multi-Exit Discriminator (MED) value for the route.

            
          

          - **AsPath** *(list) --* 

            The BGP AS path for the route.

            
            

            - *(string) --* 
        
          

          - **Communities** *(list) --* 

            The BGP community values for the route.

            
            

            - *(string) --* 
        
      
    
      

      - **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.ThrottlingException`

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

  