update_network_settings
async
¶
update_network_settings(
network_settings_arn: ARN,
*,
config_overrides: Optional[AsyncWorkSpacesWebClientConfig] = 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/async_work_spaces_web.py
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 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 | |