run_statement
async
¶
run_statement(
session_id: NameString,
code: OrchestrationStatementCodeString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
request_origin: Optional[OrchestrationNameString] = None,
) -> RunStatementResponse
Executes the statement.
Parameters:
-
session_id(NameString) –The Session Id of the statement to be run.
-
code(OrchestrationStatementCodeString) –The statement code to be run.
-
request_origin(Optional[OrchestrationNameString], default:None) –The origin of the request.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
EntityNotFoundException–A specified entity does not exist
-
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.
-
OperationNotSupportedException–The operation is not available in the region.
-
OperationTimeoutException–The operation timed out.
-
ResourceNumberLimitExceededException–A resource numerical limit was exceeded.
-
SessionBusyException–The session is currently busy processing another request and cannot accept new operations.
-
ValidationException–A value could not be validated.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 | |