cancel_index_rebuild
async
¶
cancel_index_rebuild(
rebuild_id: str, *, config_overrides: Optional[AsyncneptunedataClientConfig] = None
) -> CancelIndexRebuildOutput
Cancels an in-progress index rebuild operation.
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:CancelIndexRebuild IAM action in that cluster.
Parameters:
-
rebuild_id(str) –The unique identifier of the index rebuild job to cancel.
Raises:
-
AccessDeniedException–Raised in case of an authentication or authorization failure.
-
CancelledByMaintenanceException–Raised when a request is cancelled because the storage layer entered maintenance mode. This typically happens during a customer-initiated operation such as an index rebuild. It should be treated like
ConcurrentModificationException. -
CancelledByUserException–Raised when a user cancelled a request.
-
ClientTimeoutException–Raised when a request timed out in the client.
-
ConstraintViolationException–Raised when a value in a request field did not satisfy required constraints.
-
IllegalArgumentException–Raised when an argument in a request is not supported.
-
InternalFailureException–Raised when the processing of the request failed unexpectedly.
-
InvalidArgumentException–Raised when an argument in a request has an invalid value.
-
InvalidParameterException–Raised when a parameter value is not valid.
-
MethodNotAllowedException–Raised when the HTTP method used by a request is not supported by the endpoint being used.
-
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.
-
ServerShutdownException–Raised when the server shuts down while processing a request.
-
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.
-
ValidationException–Raised when a parameter value is not valid or is malformed.
-
UnknownServiceError–The service returned an error code this client does not model.