list_session_loggers
async
¶
list_session_loggers(
*,
config_overrides: Optional[AsyncWorkSpacesWebClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListSessionLoggersResponse
Lists all available session logger resources.
Parameters:
-
next_token(Optional[PaginationToken], default:None) –The pagination token used to retrieve the next page of results for this operation.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to be included in the next page.
Raises:
-
AccessDeniedException–Access is denied.
-
InternalServerException–There is an internal server error.
-
ThrottlingException–There is a throttling error.
-
ValidationException–There is a validation error.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List All Session Loggers Lists all session loggers in the account without pagination
>>> await client.list_session_loggers()
List Session Loggers with Pagination
Lists session loggers with pagination parameters
>>> await client.list_session_loggers(max_results=1, next_token='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9')
Source code in docs_src/capo_workspaces_web/_services/async_work_spaces_web.py
4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 | |