stop_session
async
¶
stop_session(
id: NameString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
request_origin: Optional[OrchestrationNameString] = None,
) -> StopSessionResponse
Stops the session.
Parameters:
-
id(NameString) –The ID of the session to be stopped.
-
request_origin(Optional[OrchestrationNameString], default:None) –The origin of the request.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
IllegalSessionStateException–The session is in an invalid state to perform a requested operation.
-
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
18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 | |