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
1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 | |