Private5G / Client / create_network
create_network#
- Private5G.Client.create_network(**kwargs)#
Creates a network.
See also: AWS API Documentation
Request Syntax
response = client.create_network( clientToken='string', description='string', networkName='string', tags={ 'string': 'string' } )
- Parameters:
clientToken (string) – Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
description (string) – The description of the network.
networkName (string) –
[REQUIRED]
The name of the network. You can’t change the name after you create the network.
tags (dict) –
The tags to apply to the network.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'network': { 'createdAt': datetime(2015, 1, 1), 'description': 'string', 'networkArn': 'string', 'networkName': 'string', 'status': 'CREATED'|'PROVISIONING'|'AVAILABLE'|'DEPROVISIONING'|'DELETED', 'statusReason': 'string' }, 'tags': { 'string': 'string' } }
Response Structure
(dict) –
network (dict) –
Information about the network.
createdAt (datetime) –
The creation time of the network.
description (string) –
The description of the network.
networkArn (string) –
The Amazon Resource Name (ARN) of the network.
networkName (string) –
The name of the network.
status (string) –
The status of the network.
statusReason (string) –
The status reason of the network.
tags (dict) –
The network tags.
(string) –
(string) –
Exceptions
Private5G.Client.exceptions.LimitExceededException
Private5G.Client.exceptions.ValidationException
Private5G.Client.exceptions.InternalServerException