NetworkManager / Client / create_global_network

create_global_network#

NetworkManager.Client.create_global_network(**kwargs)#

Creates a new, empty global network.

See also: AWS API Documentation

Request Syntax

response = client.create_global_network(
    Description='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters:
  • Description (string) –

    A description of the global network.

    Constraints: Maximum length of 256 characters.

  • Tags (list) –

    The tags to apply to the resource during creation.

    • (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.

Return type:

dict

Returns:

Response Syntax

{
    'GlobalNetwork': {
        'GlobalNetworkId': 'string',
        'GlobalNetworkArn': 'string',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) –

    • GlobalNetwork (dict) –

      Information about the global network object.

      • GlobalNetworkId (string) –

        The ID of the global network.

      • GlobalNetworkArn (string) –

        The Amazon Resource Name (ARN) of the global network.

      • Description (string) –

        The description of the global network.

      • CreatedAt (datetime) –

        The date and time that the global network was created.

      • State (string) –

        The state of the global network.

      • Tags (list) –

        The tags for the global network.

        • (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.

Exceptions