create_core_network
async
¶
create_core_network(
global_network_id: GlobalNetworkId,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = None,
description: Optional[ConstrainedString] = None,
tags: Optional[TagList] = None,
policy_document: Optional[CoreNetworkPolicyDocument] = None,
client_token: Optional[ClientToken] = None,
) -> CreateCoreNetworkResponse
Creates a core network as part of your global network, and optionally, with a core network policy.
Parameters:
-
global_network_id(GlobalNetworkId) –The ID of the global network that a core network will be a part of.
-
description(Optional[ConstrainedString], default:None) –The description of a core network.
-
tags(Optional[TagList], default:None) –Key-value tags associated with a core network request.
-
policy_document(Optional[CoreNetworkPolicyDocument], default:None) –The policy document for creating a core network.
-
client_token(Optional[ClientToken], default:None) –The client token associated with a core network request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
-
CoreNetworkPolicyException–Describes a core network policy exception.
-
InternalServerException–The request has failed due to an internal error.
-
ServiceQuotaExceededException–A service limit was exceeded.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_networkmanager/_services/async_network_manager.py
961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 | |