create_workspaces_pool
¶
create_workspaces_pool(
pool_name: WorkspacesPoolName,
description: UpdateDescription,
bundle_id: BundleId,
directory_id: DirectoryId,
capacity: Capacity,
*,
config_overrides: Optional[WorkSpacesClientConfig] = None,
tags: Optional[TagList] = None,
application_settings: Optional[ApplicationSettingsRequest] = None,
timeout_settings: Optional[TimeoutSettings] = None,
running_mode: Optional[PoolsRunningMode] = None,
) -> CreateWorkspacesPoolResult
End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Creates a pool of WorkSpaces.
Parameters:
-
pool_name(WorkspacesPoolName) –The name of the pool.
-
description(UpdateDescription) –The pool description.
-
bundle_id(BundleId) –The identifier of the bundle for the pool.
-
directory_id(DirectoryId) –The identifier of the directory for the pool.
-
capacity(Capacity) –The user capacity of the pool.
-
tags(Optional[TagList], default:None) –The tags for the pool.
-
application_settings(Optional[ApplicationSettingsRequest], default:None) –Indicates the application settings of the pool.
-
timeout_settings(Optional[TimeoutSettings], default:None) –Indicates the timeout settings of the pool.
-
running_mode(Optional[PoolsRunningMode], default:None) –The running mode for the pool.
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.
-
ResourceAlreadyExistsException–The specified resource already exists.
-
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
2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 | |