create_standby_workspaces
async
¶
create_standby_workspaces(
primary_region: Region,
standby_workspaces: StandbyWorkspacesList,
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = None,
) -> CreateStandbyWorkspacesResult
Creates a standby WorkSpace in a secondary Region.
Parameters:
-
primary_region(Region) –The Region of the primary WorkSpace.
-
standby_workspaces(StandbyWorkspacesList) –Information about the standby WorkSpace to be created.
Raises:
-
AccessDeniedException–The user is not authorized to access a resource.
-
InvalidParameterValuesException–One or more parameter values are not valid.
-
OperationNotSupportedException–This operation is not supported.
-
ResourceLimitExceededException–Your resource limits have been exceeded.
-
ResourceNotFoundException–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces/_services/async_work_spaces.py
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 | |