delete_anomaly_detector
async
¶
delete_anomaly_detector(
workspace_id: WorkspaceId,
anomaly_detector_id: AnomalyDetectorId,
*,
config_overrides: Optional[AsyncampClientConfig] = None,
client_token: Optional[IdempotencyToken] = None,
) -> None
Removes an anomaly detector from a workspace. This operation is idempotent.
Parameters:
-
workspace_id(WorkspaceId) –The identifier of the workspace containing the anomaly detector to delete.
-
anomaly_detector_id(AnomalyDetectorId) –The identifier of the anomaly detector to delete.
-
client_token(Optional[IdempotencyToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request would cause an inconsistent state.
-
InternalServerException–An unexpected error occurred during the processing of the request.
-
ResourceNotFoundException–The request references a resources that doesn't exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.