diff --git a/clients/client-cloudwatch-logs/src/commands/UpdateAnomalyCommand.ts b/clients/client-cloudwatch-logs/src/commands/UpdateAnomalyCommand.ts index ee7991ad2e37..ee0519da5521 100644 --- a/clients/client-cloudwatch-logs/src/commands/UpdateAnomalyCommand.ts +++ b/clients/client-cloudwatch-logs/src/commands/UpdateAnomalyCommand.ts @@ -52,6 +52,7 @@ export interface UpdateAnomalyCommandOutput extends __MetadataBearer {} * value: Number("int"), * suppressionUnit: "SECONDS" || "MINUTES" || "HOURS", * }, + * baseline: true || false, * }; * const command = new UpdateAnomalyCommand(input); * const response = await client.send(command); diff --git a/clients/client-cloudwatch-logs/src/models/models_0.ts b/clients/client-cloudwatch-logs/src/models/models_0.ts index e01b5ca2740c..380b77fada10 100644 --- a/clients/client-cloudwatch-logs/src/models/models_0.ts +++ b/clients/client-cloudwatch-logs/src/models/models_0.ts @@ -5633,6 +5633,16 @@ export interface UpdateAnomalyRequest { * @public */ suppressionPeriod?: SuppressionPeriod; + + /** + *
Set this to true
to prevent CloudWatch Logs from displaying this behavior as an anomaly in the future. The behavior is then treated as
+ * baseline behavior. However, if similar but
+ * more severe occurrences of this behavior occur in the future, those will still be reported as anomalies.
The default is false
+ *
If you are temporarily suppressing an anomaly or pattern, use this structure to specify\n how long the suppression is to last.
" } + }, + "baseline": { + "target": "com.amazonaws.cloudwatchlogs#Baseline", + "traits": { + "smithy.api#documentation": "Set this to true
to prevent CloudWatch Logs from displaying this behavior as an anomaly in the future. The behavior is then treated as \n baseline behavior. However, if similar but \n more severe occurrences of this behavior occur in the future, those will still be reported as anomalies.
The default is false
\n