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

******************
list_core_networks
******************



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

  

  Returns a list of owned and shared core networks.

  

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


  **Request Syntax**
  ::

    response = client.list_core_networks(
        MaxResults=123,
        NextToken='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**

    
    ::

      {
          'CoreNetworks': [
              {
                  'CoreNetworkId': 'string',
                  'CoreNetworkArn': 'string',
                  'GlobalNetworkId': 'string',
                  'OwnerAccountId': 'string',
                  'State': 'CREATING'|'UPDATING'|'AVAILABLE'|'DELETING',
                  'Description': 'string',
                  'Tags': [
                      {
                          'Key': 'string',
                          'Value': 'string'
                      },
                  ]
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **CoreNetworks** *(list) --* 

        Describes the list of core networks.

        
        

        - *(dict) --* 

          Returns summary information about a core network.

          
          

          - **CoreNetworkId** *(string) --* 

            The ID of a core network.

            
          

          - **CoreNetworkArn** *(string) --* 

            a core network ARN.

            
          

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

            The global network ID.

            
          

          - **OwnerAccountId** *(string) --* 

            The ID of the account owner.

            
          

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

            The state of a core network.

            
          

          - **Description** *(string) --* 

            The description of a core network.

            
          

          - **Tags** *(list) --* 

            The key-value tags associated with a core network summary.

            
            

            - *(dict) --* 

              Describes a tag.

              
              

              - **Key** *(string) --* 

                The tag key.

                 

                Constraints: Maximum length of 128 characters.

                
              

              - **Value** *(string) --* 

                The tag value.

                 

                Constraints: Maximum length of 256 characters.

                
          
        
      
    
      

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

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

  