NetworkManager.Client.
delete_core_network
(**kwargs)¶Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.
See also: AWS API Documentation
Request Syntax
response = client.delete_core_network(
CoreNetworkId='string'
)
[REQUIRED]
The network ID of the deleted core network.
{
'CoreNetwork': {
'GlobalNetworkId': 'string',
'CoreNetworkId': 'string',
'CoreNetworkArn': 'string',
'Description': 'string',
'CreatedAt': datetime(2015, 1, 1),
'State': 'CREATING'|'UPDATING'|'AVAILABLE'|'DELETING',
'Segments': [
{
'Name': 'string',
'EdgeLocations': [
'string',
],
'SharedSegments': [
'string',
]
},
],
'Edges': [
{
'EdgeLocation': 'string',
'Asn': 123,
'InsideCidrBlocks': [
'string',
]
},
],
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
}
Response Structure
Information about the deleted core network.
The ID of the global network that your core network is a part of.
The ID of a core network.
The ARN of a core network.
The description of a core network.
The timestamp when a core network was created.
The current state of a core network.
The segments within a core network.
Describes a core network segment, which are dedicated routes. Only attachments within this segment can communicate with each other.
The name of a core network segment.
The Regions where the edges are located.
The shared segments of a core network.
The edges within a core network.
Describes a core network edge.
The Region where a core network edge is located.
The ASN of a core network edge.
The inside IP addresses used for core network edges.
The list of key-value tags associated with a core network.
Describes a tag.
The tag key.
Constraints: Maximum length of 128 characters.
The tag value.
Constraints: Maximum length of 256 characters.
Exceptions
NetworkManager.Client.exceptions.ValidationException
NetworkManager.Client.exceptions.AccessDeniedException
NetworkManager.Client.exceptions.ResourceNotFoundException
NetworkManager.Client.exceptions.ConflictException
NetworkManager.Client.exceptions.ThrottlingException
NetworkManager.Client.exceptions.InternalServerException