delete_session
async
¶
delete_session(
id: NameString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
request_origin: Optional[OrchestrationNameString] = None,
) -> DeleteSessionResponse
Deletes the session.
Parameters:
-
id(NameString) –The ID of the session to be deleted.
-
request_origin(Optional[OrchestrationNameString], default:None) –The name of the origin of the delete session 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.