aws amp put-anomaly-detector
When you call PutAnomalyDetector, the operation creates a new anomaly detector if one doesn't exist, or updates an existing one. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--anomaly-detector-idThe identifier of the anomaly detector to update.--client-tokenA unique, case-sensitive identifier that you provide to ensure the idempotency of the request.--configurationThe algorithm configuration for the anomaly detector.--evaluation-interval-in-secondsThe frequency, in seconds, at which the anomaly detector evaluates metrics.--labelsThe Amazon Managed Service for Prometheus metric labels to associate with the anomaly detector.--missing-data-actionSpecifies the action to take when data is missing during evaluation.--workspace-idThe identifier of the workspace containing the anomaly detector to update.