list_sessions
async
¶
list_sessions(
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
next_token: Optional[OrchestrationToken] = None,
max_results: Optional[PageSize] = None,
tags: Optional[TagsMap] = None,
request_origin: Optional[OrchestrationNameString] = None,
) -> ListSessionsResponse
Retrieve a list of sessions.
Parameters:
-
next_token(Optional[OrchestrationToken], default:None) –The token for the next set of results, or null if there are no more result.
-
max_results(Optional[PageSize], default:None) –The maximum number of results.
-
tags(Optional[TagsMap], default:None) –Tags belonging to the session.
-
request_origin(Optional[OrchestrationNameString], default:None) –The origin of the request.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 | |