create_standby_workspaces
¶
create_standby_workspaces(
primary_region: Region,
standby_workspaces: StandbyWorkspacesList,
*,
config_overrides: Optional[WorkSpacesClientConfig] = 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/work_spaces.py
2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 | |