describe_workspaces_pool_sessions
¶
describe_workspaces_pool_sessions(
pool_id: WorkspacesPoolId,
*,
config_overrides: Optional[WorkSpacesClientConfig] = None,
user_id: Optional[WorkspacesPoolUserId] = None,
limit: Optional[Limit50] = None,
next_token: Optional[PaginationToken] = None,
) -> DescribeWorkspacesPoolSessionsResult
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.
Parameters:
-
pool_id(WorkspacesPoolId) –The identifier of the pool.
-
user_id(Optional[WorkspacesPoolUserId], default:None) –The identifier of the user.
-
limit(Optional[Limit50], default:None) –The maximum size of each page of results. The default value is 20 and the maximum value is 50.
-
next_token(Optional[PaginationToken], default:None) –If you received a
NextTokenfrom a previous call that was paginated, provide this token to receive the next set of results.
Raises:
-
AccessDeniedException–The user is not authorized to access a resource.
-
InvalidParameterValuesException–One or more parameter values are not valid.
-
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
3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 | |