Skip to main content

workspaces_pool_sessions

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

Overview​

Nameworkspaces_pool_sessions
TypeResource
Idaws.workspaces.workspaces_pool_sessions

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.
sessionsarrayDescribes the pool sessions.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_workspaces_pool_sessionsselectregionEnd 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. Retrieves a list that describes the streaming sessions for a specified pool.
terminate_workspaces_pool_sessiondeleteregionEnd 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 pool session.

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. Retrieves a list that describes the streaming sessions for a specified pool.

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

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 pool session.

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