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
1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 | |