execute_open_cypher_explain_query
async
¶
execute_open_cypher_explain_query(
open_cypher_query: str,
explain_mode: OpenCypherExplainMode,
*,
config_overrides: Optional[AsyncneptunedataClientConfig] = None,
parameters: Optional[str] = None,
) -> ExecuteOpenCypherExplainQueryOutput
Executes an openCypher explain request. See The openCypher explain feature 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:ReadDataViaQuery 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:
-
open_cypher_query(str) –The openCypher query string.
-
parameters(Optional[str], default:None) –The openCypher query parameters.
-
explain_mode(OpenCypherExplainMode) –The openCypher
explainmode. Can be one of:static,dynamic, ordetails.
Raises:
-
BadRequestException–Raised when a request is submitted that cannot be processed.
-
CancelledByUserException–Raised when a user cancelled a request.
-
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.
-
MalformedQueryException–Raised when a query is submitted that is syntactically incorrect or does not pass additional validation.
-
MemoryLimitExceededException–Raised when a request fails because of insufficient memory resources. The request can be retried.
-
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.
-
QueryLimitExceededException–Raised when the number of active queries exceeds what the server can process. The query in question can be retried when the system is less busy.
-
QueryLimitException–Raised when the size of a query exceeds the system limit.
-
QueryTooLargeException–Raised when the body of a query is too large.
-
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
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 | |