describe_workspaces_pool_sessions
async
¶
describe_workspaces_pool_sessions(
pool_id: WorkspacesPoolId,
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = 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/async_work_spaces.py
3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 | |