update_network_settings
¶
update_network_settings(
network_settings_arn: ARN,
*,
config_overrides: Optional[WorkSpacesWebClientConfig] = None,
vpc_id: Optional[VpcId] = None,
subnet_ids: Optional[SubnetIdList] = None,
security_group_ids: Optional[SecurityGroupIdList] = None,
client_token: Optional[ClientToken] = None,
) -> UpdateNetworkSettingsResponse
Updates network settings.
Parameters:
-
network_settings_arn(ARN) –The ARN of the network settings.
-
vpc_id(Optional[VpcId], default:None) –The VPC that streaming instances will connect to.
-
subnet_ids(Optional[SubnetIdList], default:None) –The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
-
security_group_ids(Optional[SecurityGroupIdList], default:None) –One or more security groups used to control access from streaming instances to your VPC.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
Raises:
-
AccessDeniedException–Access is denied.
-
InternalServerException–There is an internal server error.
-
ResourceNotFoundException–The resource cannot be found.
-
ThrottlingException–There is a throttling error.
-
ValidationException–There is a validation error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces_web/_services/work_spaces_web.py
2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 | |