Skip to main content

workspaces_pools

Creates, updates, deletes, gets or lists a workspaces_pools resource.

Overview

Nameworkspaces_pools
TypeResource
Idaws.workspaces.workspaces_pools

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringIf you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
workspaces_poolsarrayInformation about the WorkSpaces Pools.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_workspaces_poolsselectregionEnd 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. Describes the specified WorkSpaces Pools.
create_workspaces_poolinsertregion, PoolName, Description, BundleId, DirectoryId, CapacityEnd 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.
update_workspaces_poolupdateregion, PoolIdEnd 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. Updates the specified pool.
terminate_workspaces_pooldeleteregionEnd 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. Terminates the specified pool.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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. Describes the specified WorkSpaces Pools.

SELECT
next_token,
workspaces_pools
FROM aws.workspaces.workspaces_pools
WHERE region = '{{ region }}' -- required
;

INSERT examples

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.

INSERT INTO aws.workspaces.workspaces_pools (
PoolName,
Description,
BundleId,
DirectoryId,
Capacity,
Tags,
ApplicationSettings,
TimeoutSettings,
RunningMode,
region
)
SELECT
'{{ PoolName }}' /* required */,
'{{ Description }}' /* required */,
'{{ BundleId }}' /* required */,
'{{ DirectoryId }}' /* required */,
'{{ Capacity }}' /* required */,
'{{ Tags }}',
'{{ ApplicationSettings }}',
'{{ TimeoutSettings }}',
'{{ RunningMode }}',
'{{ region }}'
RETURNING
workspaces_pool
;

UPDATE examples

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. Updates the specified pool.

UPDATE aws.workspaces.workspaces_pools
SET
PoolId = '{{ PoolId }}',
Description = '{{ Description }}',
BundleId = '{{ BundleId }}',
DirectoryId = '{{ DirectoryId }}',
Capacity = '{{ Capacity }}',
ApplicationSettings = '{{ ApplicationSettings }}',
TimeoutSettings = '{{ TimeoutSettings }}',
RunningMode = '{{ RunningMode }}'
WHERE
region = '{{ region }}' --required
AND PoolId = '{{ PoolId }}' --required
RETURNING
workspaces_pool;

DELETE examples

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. Terminates the specified pool.

DELETE FROM aws.workspaces.workspaces_pools
WHERE region = '{{ region }}' --required
;