run_statement
¶
run_statement(
session_id: NameString,
code: OrchestrationStatementCodeString,
*,
config_overrides: Optional[GlueClientConfig] = 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/glue.py
17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 | |