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'
}
)
[REQUIRED]
The name of the network. You can't change the name after you create the network.
The tags to apply to the network.
dict
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.
Exceptions
Private5G.Client.exceptions.LimitExceededException
Private5G.Client.exceptions.ValidationException
Private5G.Client.exceptions.InternalServerException