NetworkManager / Client / list_core_networks

list_core_networks#

NetworkManager.Client.list_core_networks(**kwargs)#

Returns a list of owned and shared core networks.

See also: AWS API Documentation

Request Syntax

response = client.list_core_networks(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • MaxResults (integer) – The maximum number of results to return.

  • NextToken (string) – The token for the next page of results.

Return type:

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

  • NetworkManager.Client.exceptions.ValidationException

  • NetworkManager.Client.exceptions.AccessDeniedException

  • NetworkManager.Client.exceptions.ThrottlingException

  • NetworkManager.Client.exceptions.InternalServerException