:doc:`PrometheusService <../../amp>` / Client / delete_anomaly_detector

***********************
delete_anomaly_detector
***********************



.. py:method:: PrometheusService.Client.delete_anomaly_detector(**kwargs)

  

  Removes an anomaly detector from a workspace. This operation is idempotent.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteAnomalyDetector>`_  


  **Request Syntax**
  ::

    response = client.delete_anomaly_detector(
        workspaceId='string',
        anomalyDetectorId='string',
        clientToken='string'
    )
    
  :type workspaceId: string
  :param workspaceId: **[REQUIRED]** 

    The identifier of the workspace containing the anomaly detector to delete.

    

  
  :type anomalyDetectorId: string
  :param anomalyDetectorId: **[REQUIRED]** 

    The identifier of the anomaly detector to delete.

    

  
  :type clientToken: string
  :param clientToken: 

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    This field is autopopulated if not provided.

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`PrometheusService.Client.exceptions.ThrottlingException`

  
  *   :py:class:`PrometheusService.Client.exceptions.ConflictException`

  
  *   :py:class:`PrometheusService.Client.exceptions.ValidationException`

  
  *   :py:class:`PrometheusService.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`PrometheusService.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`PrometheusService.Client.exceptions.InternalServerException`

  