create_sol_network_instance
async
¶
create_sol_network_instance(
nsd_info_id: NsdInfoId,
ns_name: str,
*,
config_overrides: Optional[AsynctnbClientConfig] = None,
ns_description: Optional[str] = None,
tags: Optional[TagMap] = None,
) -> CreateSolNetworkInstanceOutput
Creates a network instance.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed. Creating a network instance is the third step after creating a network package. For more information about network instances, Network instances in the Amazon Web Services Telco Network Builder User Guide.
Once you create a network instance, you can instantiate it. To instantiate a network, see InstantiateSolNetworkInstance.
Parameters:
-
nsd_info_id(NsdInfoId) –ID for network service descriptor.
-
ns_name(str) –Network instance name.
-
ns_description(Optional[str], default:None) –Network instance description.
-
tags(Optional[TagMap], default:None) –A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
Raises:
-
AccessDeniedException–Insufficient permissions to make request.
-
InternalServerException–Unexpected error occurred. Problem on the server.
-
ResourceNotFoundException–Request references a resource that doesn't exist.
-
ServiceQuotaExceededException–Service quotas have been exceeded.
-
ThrottlingException–Exception caused by throttling.
-
ValidationException–Unable to process the request because the client provided input failed to satisfy request constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Create a Sol Network Instance
>>> await client.create_sol_network_instance(nsd_info_id='np-0d5b823eb5c2a9241', ns_name='CITY Instance', ns_description='Test network for CITY', tags={'Name': 'Resource'})
Source code in docs_src/capo_tnb/_services/async_tnb.py
360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 | |