list_open_cypher_queries
async
¶
list_open_cypher_queries(
*,
config_overrides: Optional[AsyncneptunedataClientConfig] = None,
include_waiting: Optional[bool] = None,
) -> ListOpenCypherQueriesOutput
Lists active openCypher queries. See Neptune openCypher status endpoint for more information.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.
Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
Parameters:
-
include_waiting(Optional[bool], default:None) –When set to
TRUEand other parameters are not present, causes status information to be returned for waiting queries as well as for running queries.
Raises:
-
AccessDeniedException–Raised in case of an authentication or authorization failure.
-
BadRequestException–Raised when a request is submitted that cannot be processed.
-
ClientTimeoutException–Raised when a request timed out in the client.
-
ConcurrentModificationException–Raised when a request attempts to modify data that is concurrently being modified by another process.
-
ConstraintViolationException–Raised when a value in a request field did not satisfy required constraints.
-
FailureByQueryException–Raised when a request fails.
-
IllegalArgumentException–Raised when an argument in a request is not supported.
-
InvalidArgumentException–Raised when an argument in a request has an invalid value.
-
InvalidNumericDataException–Raised when invalid numerical data is encountered when servicing a request.
-
InvalidParameterException–Raised when a parameter value is not valid.
-
MissingParameterException–Raised when a required parameter is missing.
-
ParsingException–Raised when a parsing issue is encountered.
-
PreconditionsFailedException–Raised when a precondition for processing a request is not satisfied.
-
ReadOnlyViolationException–Raised when a request attempts to write to a read-only resource.
-
TimeLimitExceededException–Raised when the an operation exceeds the time limit allowed for it.
-
TooManyRequestsException–Raised when the number of requests being processed exceeds the limit.
-
UnsupportedOperationException–Raised when a request attempts to initiate an operation that is not supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_neptunedata/_services/async_neptunedata.py
2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 | |