stop_session
¶
stop_session(
id: NameString,
*,
config_overrides: Optional[GlueClientConfig] = 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/glue.py
18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 18708 18709 18710 18711 18712 18713 18714 18715 18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 18738 | |