@aws-sdk/client-cloudwatch 3.128.0 → 3.135.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.135.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.134.0...v3.135.0) (2022-07-21)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-cloudwatch:** Adding support for the suppression of Composite Alarm actions ([e94c855](https://github.com/aws/aws-sdk-js-v3/commit/e94c855cd87e381d4cbf34685fe4f68da1031ffa))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-cloudwatch
20
+
21
+
22
+
23
+
24
+
25
+ # [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-cloudwatch
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-cloudwatch
@@ -1,9 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DisableAlarmActionsInput = exports.DimensionFilter = exports.DescribeInsightRulesOutput = exports.InsightRule = exports.DescribeInsightRulesInput = exports.DescribeAnomalyDetectorsOutput = exports.DescribeAnomalyDetectorsInput = exports.DescribeAlarmsForMetricOutput = exports.DescribeAlarmsForMetricInput = exports.DescribeAlarmsOutput = exports.MetricAlarm = exports.DescribeAlarmsInput = exports.InvalidNextToken = exports.DescribeAlarmHistoryOutput = exports.DescribeAlarmHistoryInput = exports.ScanBy = exports.DeleteMetricStreamOutput = exports.DeleteMetricStreamInput = exports.DeleteInsightRulesOutput = exports.DeleteInsightRulesInput = exports.DeleteDashboardsOutput = exports.DeleteDashboardsInput = exports.ResourceNotFoundException = exports.MissingRequiredParameterException = exports.InvalidParameterValueException = exports.InvalidParameterCombinationException = exports.InternalServiceFault = exports.DeleteAnomalyDetectorOutput = exports.DeleteAnomalyDetectorInput = exports.ResourceNotFound = exports.DeleteAlarmsInput = exports.Datapoint = exports.DashboardNotFoundError = exports.DashboardInvalidInputError = exports.DashboardValidationMessage = exports.DashboardEntry = exports.ConcurrentModificationException = exports.CompositeAlarm = exports.PartialFailure = exports.AnomalyDetectorType = exports.AnomalyDetector = exports.SingleMetricAnomalyDetector = exports.MetricMathAnomalyDetector = exports.MetricDataQuery = exports.MetricStat = exports.Metric = exports.Dimension = exports.AnomalyDetectorConfiguration = exports.Range = exports.AlarmHistoryItem = void 0;
4
- exports.StatisticSet = exports.PutMetricAlarmInput = exports.PutInsightRuleOutput = exports.PutInsightRuleInput = exports.PutDashboardOutput = exports.PutDashboardInput = exports.PutCompositeAlarmInput = exports.LimitExceededFault = exports.PutAnomalyDetectorOutput = exports.PutAnomalyDetectorInput = exports.ListTagsForResourceOutput = exports.Tag = exports.ListTagsForResourceInput = exports.ListMetricStreamsOutput = exports.MetricStreamEntry = exports.ListMetricStreamsInput = exports.ListMetricsOutput = exports.ListMetricsInput = exports.RecentlyActive = exports.ListDashboardsOutput = exports.ListDashboardsInput = exports.GetMetricWidgetImageOutput = exports.GetMetricWidgetImageInput = exports.GetMetricStreamOutput = exports.MetricStreamStatisticsConfiguration = exports.MetricStreamStatisticsMetric = exports.MetricStreamOutputFormat = exports.MetricStreamFilter = exports.GetMetricStreamInput = exports.GetMetricStatisticsOutput = exports.GetMetricStatisticsInput = exports.GetMetricDataOutput = exports.MetricDataResult = exports.StatusCode = exports.MessageData = exports.GetMetricDataInput = exports.LabelOptions = exports.GetInsightRuleReportOutput = exports.InsightRuleMetricDatapoint = exports.InsightRuleContributor = exports.InsightRuleContributorDatapoint = exports.GetInsightRuleReportInput = exports.GetDashboardOutput = exports.GetDashboardInput = exports.LimitExceededException = exports.EnableInsightRulesOutput = exports.EnableInsightRulesInput = exports.EnableAlarmActionsInput = exports.DisableInsightRulesOutput = exports.DisableInsightRulesInput = void 0;
5
- exports.UntagResourceOutput = exports.UntagResourceInput = exports.TagResourceOutput = exports.TagResourceInput = exports.StopMetricStreamsOutput = exports.StopMetricStreamsInput = exports.StartMetricStreamsOutput = exports.StartMetricStreamsInput = exports.SetAlarmStateInput = exports.InvalidFormatFault = exports.PutMetricStreamOutput = exports.PutMetricStreamInput = exports.PutMetricDataInput = exports.MetricDatum = void 0;
3
+ exports.DimensionFilter = exports.DescribeInsightRulesOutput = exports.InsightRule = exports.DescribeInsightRulesInput = exports.DescribeAnomalyDetectorsOutput = exports.DescribeAnomalyDetectorsInput = exports.DescribeAlarmsForMetricOutput = exports.DescribeAlarmsForMetricInput = exports.DescribeAlarmsOutput = exports.MetricAlarm = exports.DescribeAlarmsInput = exports.InvalidNextToken = exports.DescribeAlarmHistoryOutput = exports.DescribeAlarmHistoryInput = exports.ScanBy = exports.DeleteMetricStreamOutput = exports.DeleteMetricStreamInput = exports.DeleteInsightRulesOutput = exports.DeleteInsightRulesInput = exports.DeleteDashboardsOutput = exports.DeleteDashboardsInput = exports.ResourceNotFoundException = exports.MissingRequiredParameterException = exports.InvalidParameterValueException = exports.InvalidParameterCombinationException = exports.InternalServiceFault = exports.DeleteAnomalyDetectorOutput = exports.DeleteAnomalyDetectorInput = exports.ResourceNotFound = exports.DeleteAlarmsInput = exports.Datapoint = exports.DashboardNotFoundError = exports.DashboardInvalidInputError = exports.DashboardValidationMessage = exports.DashboardEntry = exports.ConcurrentModificationException = exports.CompositeAlarm = exports.PartialFailure = exports.AnomalyDetectorType = exports.AnomalyDetector = exports.SingleMetricAnomalyDetector = exports.MetricMathAnomalyDetector = exports.MetricDataQuery = exports.MetricStat = exports.Metric = exports.Dimension = exports.AnomalyDetectorConfiguration = exports.Range = exports.AlarmHistoryItem = exports.ActionsSuppressedBy = void 0;
4
+ exports.PutMetricAlarmInput = exports.PutInsightRuleOutput = exports.PutInsightRuleInput = exports.PutDashboardOutput = exports.PutDashboardInput = exports.PutCompositeAlarmInput = exports.LimitExceededFault = exports.PutAnomalyDetectorOutput = exports.PutAnomalyDetectorInput = exports.ListTagsForResourceOutput = exports.Tag = exports.ListTagsForResourceInput = exports.ListMetricStreamsOutput = exports.MetricStreamEntry = exports.ListMetricStreamsInput = exports.ListMetricsOutput = exports.ListMetricsInput = exports.RecentlyActive = exports.ListDashboardsOutput = exports.ListDashboardsInput = exports.GetMetricWidgetImageOutput = exports.GetMetricWidgetImageInput = exports.GetMetricStreamOutput = exports.MetricStreamStatisticsConfiguration = exports.MetricStreamStatisticsMetric = exports.MetricStreamOutputFormat = exports.MetricStreamFilter = exports.GetMetricStreamInput = exports.GetMetricStatisticsOutput = exports.GetMetricStatisticsInput = exports.GetMetricDataOutput = exports.MetricDataResult = exports.StatusCode = exports.MessageData = exports.GetMetricDataInput = exports.LabelOptions = exports.GetInsightRuleReportOutput = exports.InsightRuleMetricDatapoint = exports.InsightRuleContributor = exports.InsightRuleContributorDatapoint = exports.GetInsightRuleReportInput = exports.GetDashboardOutput = exports.GetDashboardInput = exports.LimitExceededException = exports.EnableInsightRulesOutput = exports.EnableInsightRulesInput = exports.EnableAlarmActionsInput = exports.DisableInsightRulesOutput = exports.DisableInsightRulesInput = exports.DisableAlarmActionsInput = void 0;
5
+ exports.UntagResourceOutput = exports.UntagResourceInput = exports.TagResourceOutput = exports.TagResourceInput = exports.StopMetricStreamsOutput = exports.StopMetricStreamsInput = exports.StartMetricStreamsOutput = exports.StartMetricStreamsInput = exports.SetAlarmStateInput = exports.InvalidFormatFault = exports.PutMetricStreamOutput = exports.PutMetricStreamInput = exports.PutMetricDataInput = exports.MetricDatum = exports.StatisticSet = void 0;
6
6
  const CloudWatchServiceException_1 = require("./CloudWatchServiceException");
7
+ var ActionsSuppressedBy;
8
+ (function (ActionsSuppressedBy) {
9
+ ActionsSuppressedBy["Alarm"] = "Alarm";
10
+ ActionsSuppressedBy["ExtensionPeriod"] = "ExtensionPeriod";
11
+ ActionsSuppressedBy["WaitPeriod"] = "WaitPeriod";
12
+ })(ActionsSuppressedBy = exports.ActionsSuppressedBy || (exports.ActionsSuppressedBy = {}));
7
13
  var AlarmHistoryItem;
8
14
  (function (AlarmHistoryItem) {
9
15
  AlarmHistoryItem.filterSensitiveLog = (obj) => ({
@@ -3026,6 +3026,15 @@ const serializeAws_queryPutCompositeAlarmInput = (input, context) => {
3026
3026
  entries[loc] = value;
3027
3027
  });
3028
3028
  }
3029
+ if (input.ActionsSuppressor !== undefined && input.ActionsSuppressor !== null) {
3030
+ entries["ActionsSuppressor"] = input.ActionsSuppressor;
3031
+ }
3032
+ if (input.ActionsSuppressorWaitPeriod !== undefined && input.ActionsSuppressorWaitPeriod !== null) {
3033
+ entries["ActionsSuppressorWaitPeriod"] = input.ActionsSuppressorWaitPeriod;
3034
+ }
3035
+ if (input.ActionsSuppressorExtensionPeriod !== undefined && input.ActionsSuppressorExtensionPeriod !== null) {
3036
+ entries["ActionsSuppressorExtensionPeriod"] = input.ActionsSuppressorExtensionPeriod;
3037
+ }
3029
3038
  return entries;
3030
3039
  };
3031
3040
  const serializeAws_queryPutDashboardInput = (input, context) => {
@@ -3535,6 +3544,12 @@ const deserializeAws_queryCompositeAlarm = (output, context) => {
3535
3544
  StateReasonData: undefined,
3536
3545
  StateUpdatedTimestamp: undefined,
3537
3546
  StateValue: undefined,
3547
+ StateTransitionedTimestamp: undefined,
3548
+ ActionsSuppressedBy: undefined,
3549
+ ActionsSuppressedReason: undefined,
3550
+ ActionsSuppressor: undefined,
3551
+ ActionsSuppressorWaitPeriod: undefined,
3552
+ ActionsSuppressorExtensionPeriod: undefined,
3538
3553
  };
3539
3554
  if (output["ActionsEnabled"] !== undefined) {
3540
3555
  contents.ActionsEnabled = (0, smithy_client_1.parseBoolean)(output["ActionsEnabled"]);
@@ -3585,6 +3600,24 @@ const deserializeAws_queryCompositeAlarm = (output, context) => {
3585
3600
  if (output["StateValue"] !== undefined) {
3586
3601
  contents.StateValue = (0, smithy_client_1.expectString)(output["StateValue"]);
3587
3602
  }
3603
+ if (output["StateTransitionedTimestamp"] !== undefined) {
3604
+ contents.StateTransitionedTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["StateTransitionedTimestamp"]));
3605
+ }
3606
+ if (output["ActionsSuppressedBy"] !== undefined) {
3607
+ contents.ActionsSuppressedBy = (0, smithy_client_1.expectString)(output["ActionsSuppressedBy"]);
3608
+ }
3609
+ if (output["ActionsSuppressedReason"] !== undefined) {
3610
+ contents.ActionsSuppressedReason = (0, smithy_client_1.expectString)(output["ActionsSuppressedReason"]);
3611
+ }
3612
+ if (output["ActionsSuppressor"] !== undefined) {
3613
+ contents.ActionsSuppressor = (0, smithy_client_1.expectString)(output["ActionsSuppressor"]);
3614
+ }
3615
+ if (output["ActionsSuppressorWaitPeriod"] !== undefined) {
3616
+ contents.ActionsSuppressorWaitPeriod = (0, smithy_client_1.strictParseInt32)(output["ActionsSuppressorWaitPeriod"]);
3617
+ }
3618
+ if (output["ActionsSuppressorExtensionPeriod"] !== undefined) {
3619
+ contents.ActionsSuppressorExtensionPeriod = (0, smithy_client_1.strictParseInt32)(output["ActionsSuppressorExtensionPeriod"]);
3620
+ }
3588
3621
  return contents;
3589
3622
  };
3590
3623
  const deserializeAws_queryCompositeAlarms = (output, context) => {
@@ -1,5 +1,11 @@
1
1
  import { __assign, __extends } from "tslib";
2
2
  import { CloudWatchServiceException as __BaseException } from "./CloudWatchServiceException";
3
+ export var ActionsSuppressedBy;
4
+ (function (ActionsSuppressedBy) {
5
+ ActionsSuppressedBy["Alarm"] = "Alarm";
6
+ ActionsSuppressedBy["ExtensionPeriod"] = "ExtensionPeriod";
7
+ ActionsSuppressedBy["WaitPeriod"] = "WaitPeriod";
8
+ })(ActionsSuppressedBy || (ActionsSuppressedBy = {}));
3
9
  export var AlarmHistoryItem;
4
10
  (function (AlarmHistoryItem) {
5
11
  AlarmHistoryItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -3738,6 +3738,15 @@ var serializeAws_queryPutCompositeAlarmInput = function (input, context) {
3738
3738
  entries[loc] = value;
3739
3739
  });
3740
3740
  }
3741
+ if (input.ActionsSuppressor !== undefined && input.ActionsSuppressor !== null) {
3742
+ entries["ActionsSuppressor"] = input.ActionsSuppressor;
3743
+ }
3744
+ if (input.ActionsSuppressorWaitPeriod !== undefined && input.ActionsSuppressorWaitPeriod !== null) {
3745
+ entries["ActionsSuppressorWaitPeriod"] = input.ActionsSuppressorWaitPeriod;
3746
+ }
3747
+ if (input.ActionsSuppressorExtensionPeriod !== undefined && input.ActionsSuppressorExtensionPeriod !== null) {
3748
+ entries["ActionsSuppressorExtensionPeriod"] = input.ActionsSuppressorExtensionPeriod;
3749
+ }
3741
3750
  return entries;
3742
3751
  };
3743
3752
  var serializeAws_queryPutDashboardInput = function (input, context) {
@@ -4320,6 +4329,12 @@ var deserializeAws_queryCompositeAlarm = function (output, context) {
4320
4329
  StateReasonData: undefined,
4321
4330
  StateUpdatedTimestamp: undefined,
4322
4331
  StateValue: undefined,
4332
+ StateTransitionedTimestamp: undefined,
4333
+ ActionsSuppressedBy: undefined,
4334
+ ActionsSuppressedReason: undefined,
4335
+ ActionsSuppressor: undefined,
4336
+ ActionsSuppressorWaitPeriod: undefined,
4337
+ ActionsSuppressorExtensionPeriod: undefined,
4323
4338
  };
4324
4339
  if (output["ActionsEnabled"] !== undefined) {
4325
4340
  contents.ActionsEnabled = __parseBoolean(output["ActionsEnabled"]);
@@ -4370,6 +4385,24 @@ var deserializeAws_queryCompositeAlarm = function (output, context) {
4370
4385
  if (output["StateValue"] !== undefined) {
4371
4386
  contents.StateValue = __expectString(output["StateValue"]);
4372
4387
  }
4388
+ if (output["StateTransitionedTimestamp"] !== undefined) {
4389
+ contents.StateTransitionedTimestamp = __expectNonNull(__parseRfc3339DateTime(output["StateTransitionedTimestamp"]));
4390
+ }
4391
+ if (output["ActionsSuppressedBy"] !== undefined) {
4392
+ contents.ActionsSuppressedBy = __expectString(output["ActionsSuppressedBy"]);
4393
+ }
4394
+ if (output["ActionsSuppressedReason"] !== undefined) {
4395
+ contents.ActionsSuppressedReason = __expectString(output["ActionsSuppressedReason"]);
4396
+ }
4397
+ if (output["ActionsSuppressor"] !== undefined) {
4398
+ contents.ActionsSuppressor = __expectString(output["ActionsSuppressor"]);
4399
+ }
4400
+ if (output["ActionsSuppressorWaitPeriod"] !== undefined) {
4401
+ contents.ActionsSuppressorWaitPeriod = __strictParseInt32(output["ActionsSuppressorWaitPeriod"]);
4402
+ }
4403
+ if (output["ActionsSuppressorExtensionPeriod"] !== undefined) {
4404
+ contents.ActionsSuppressorExtensionPeriod = __strictParseInt32(output["ActionsSuppressorExtensionPeriod"]);
4405
+ }
4373
4406
  return contents;
4374
4407
  };
4375
4408
  var deserializeAws_queryCompositeAlarms = function (output, context) {
@@ -1,5 +1,10 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { CloudWatchServiceException as __BaseException } from "./CloudWatchServiceException";
3
+ export declare enum ActionsSuppressedBy {
4
+ Alarm = "Alarm",
5
+ ExtensionPeriod = "ExtensionPeriod",
6
+ WaitPeriod = "WaitPeriod"
7
+ }
3
8
  export declare type AlarmType = "CompositeAlarm" | "MetricAlarm";
4
9
  export declare type HistoryItemType = "Action" | "ConfigurationUpdate" | "StateUpdate";
5
10
  /**
@@ -475,13 +480,108 @@ export interface CompositeAlarm {
475
480
  */
476
481
  StateReasonData?: string;
477
482
  /**
478
- * <p>The time stamp of the last update to the alarm state.</p>
483
+ * <p>Tracks the timestamp of any state update, even if <code>StateValue</code> doesn't change.</p>
479
484
  */
480
485
  StateUpdatedTimestamp?: Date;
481
486
  /**
482
487
  * <p>The state value for the alarm.</p>
483
488
  */
484
489
  StateValue?: StateValue | string;
490
+ /**
491
+ * <p>
492
+ * The timestamp
493
+ * of the last change
494
+ * to the alarm's <code>StateValue</code>.
495
+ * </p>
496
+ */
497
+ StateTransitionedTimestamp?: Date;
498
+ /**
499
+ * <p>
500
+ * When the value is <code>ALARM</code>,
501
+ * it means
502
+ * that the actions are suppressed
503
+ * because the suppressor alarm is
504
+ * in <code>ALARM</code>
505
+ * When the value is <code>WaitPeriod</code>,
506
+ * it means that
507
+ * the actions are suppressed
508
+ * because the composite alarm is waiting
509
+ * for the suppressor alarm
510
+ * to go
511
+ * into
512
+ * into the <code>ALARM</code> state.
513
+ * The maximum waiting time is as specified
514
+ * in <code>ActionsSuppressorWaitPeriod</code>.
515
+ * After this time,
516
+ * the composite alarm performs its actions.
517
+ * When the value is <code>ExtensionPeriod</code>,
518
+ * it means
519
+ * that the actions are suppressed
520
+ * because the composite alarm is waiting
521
+ * after the suppressor alarm went out
522
+ * of the <code>ALARM</code> state.
523
+ * The maximum waiting time is as specified
524
+ * in <code>ActionsSuppressorExtensionPeriod</code>.
525
+ * After this time,
526
+ * the composite alarm performs its actions.
527
+ * </p>
528
+ */
529
+ ActionsSuppressedBy?: ActionsSuppressedBy | string;
530
+ /**
531
+ * <p>
532
+ * Captures the reason for action suppression.
533
+ * </p>
534
+ */
535
+ ActionsSuppressedReason?: string;
536
+ /**
537
+ * <p>
538
+ * Actions will be suppressed
539
+ * if the suppressor alarm is
540
+ * in the <code>ALARM</code> state.
541
+ * <code>ActionsSuppressor</code> can be an AlarmName or an Amazon Resource Name (ARN)
542
+ * from an existing alarm.
543
+ * </p>
544
+ */
545
+ ActionsSuppressor?: string;
546
+ /**
547
+ * <p>
548
+ * The maximum time
549
+ * in seconds
550
+ * that the composite alarm waits
551
+ * for the suppressor alarm
552
+ * to go
553
+ * into the <code>ALARM</code> state.
554
+ * After this time,
555
+ * the composite alarm performs its actions.
556
+ * </p>
557
+ * <important>
558
+ * <p>
559
+ * <code>WaitPeriod</code>
560
+ * is required only
561
+ * when <code>ActionsSuppressor</code> is specified.
562
+ * </p>
563
+ * </important>
564
+ */
565
+ ActionsSuppressorWaitPeriod?: number;
566
+ /**
567
+ * <p>
568
+ * The maximum time
569
+ * in seconds
570
+ * that the composite alarm waits
571
+ * after suppressor alarm goes out
572
+ * of the <code>ALARM</code> state.
573
+ * After this time,
574
+ * the composite alarm performs its actions.
575
+ * </p>
576
+ * <important>
577
+ * <p>
578
+ * <code>ExtensionPeriod</code>
579
+ * is required only
580
+ * when <code>ActionsSuppressor</code> is specified.
581
+ * </p>
582
+ * </important>
583
+ */
584
+ ActionsSuppressorExtensionPeriod?: number;
485
585
  }
486
586
  export declare namespace CompositeAlarm {
487
587
  /**
@@ -2736,6 +2836,55 @@ export interface PutCompositeAlarmInput {
2736
2836
  * certain tag values.</p>
2737
2837
  */
2738
2838
  Tags?: Tag[];
2839
+ /**
2840
+ * <p>
2841
+ * Actions will be suppressed
2842
+ * if the suppressor alarm is
2843
+ * in the <code>ALARM</code> state.
2844
+ * <code>ActionsSuppressor</code> can be an AlarmName or an Amazon Resource Name (ARN)
2845
+ * from an existing alarm.
2846
+ * </p>
2847
+ */
2848
+ ActionsSuppressor?: string;
2849
+ /**
2850
+ * <p>
2851
+ * The maximum time
2852
+ * in seconds
2853
+ * that the composite alarm waits
2854
+ * for the suppressor alarm
2855
+ * to go
2856
+ * into the <code>ALARM</code> state.
2857
+ * After this time,
2858
+ * the composite alarm performs its actions.
2859
+ * </p>
2860
+ * <important>
2861
+ * <p>
2862
+ * <code>WaitPeriod</code>
2863
+ * is required only
2864
+ * when <code>ActionsSuppressor</code> is specified.
2865
+ * </p>
2866
+ * </important>
2867
+ */
2868
+ ActionsSuppressorWaitPeriod?: number;
2869
+ /**
2870
+ * <p>
2871
+ * The maximum time
2872
+ * in seconds
2873
+ * that the composite alarm waits
2874
+ * after suppressor alarm goes out
2875
+ * of the <code>ALARM</code> state.
2876
+ * After this time,
2877
+ * the composite alarm performs its actions.
2878
+ * </p>
2879
+ * <important>
2880
+ * <p>
2881
+ * <code>ExtensionPeriod</code>
2882
+ * is required only
2883
+ * when <code>ActionsSuppressor</code> is specified.
2884
+ * </p>
2885
+ * </important>
2886
+ */
2887
+ ActionsSuppressorExtensionPeriod?: number;
2739
2888
  }
2740
2889
  export declare namespace PutCompositeAlarmInput {
2741
2890
  /**
@@ -1,5 +1,10 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { CloudWatchServiceException as __BaseException } from "./CloudWatchServiceException";
3
+ export declare enum ActionsSuppressedBy {
4
+ Alarm = "Alarm",
5
+ ExtensionPeriod = "ExtensionPeriod",
6
+ WaitPeriod = "WaitPeriod"
7
+ }
3
8
  export declare type AlarmType = "CompositeAlarm" | "MetricAlarm";
4
9
  export declare type HistoryItemType = "Action" | "ConfigurationUpdate" | "StateUpdate";
5
10
 
@@ -201,6 +206,18 @@ export interface CompositeAlarm {
201
206
  StateUpdatedTimestamp?: Date;
202
207
 
203
208
  StateValue?: StateValue | string;
209
+
210
+ StateTransitionedTimestamp?: Date;
211
+
212
+ ActionsSuppressedBy?: ActionsSuppressedBy | string;
213
+
214
+ ActionsSuppressedReason?: string;
215
+
216
+ ActionsSuppressor?: string;
217
+
218
+ ActionsSuppressorWaitPeriod?: number;
219
+
220
+ ActionsSuppressorExtensionPeriod?: number;
204
221
  }
205
222
  export declare namespace CompositeAlarm {
206
223
 
@@ -1171,6 +1188,12 @@ export interface PutCompositeAlarmInput {
1171
1188
  OKActions?: string[];
1172
1189
 
1173
1190
  Tags?: Tag[];
1191
+
1192
+ ActionsSuppressor?: string;
1193
+
1194
+ ActionsSuppressorWaitPeriod?: number;
1195
+
1196
+ ActionsSuppressorExtensionPeriod?: number;
1174
1197
  }
1175
1198
  export declare namespace PutCompositeAlarmInput {
1176
1199
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
4
- "version": "3.128.0",
4
+ "version": "3.135.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,10 +18,10 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.128.0",
22
- "@aws-sdk/config-resolver": "3.128.0",
23
- "@aws-sdk/credential-provider-node": "3.128.0",
24
- "@aws-sdk/fetch-http-handler": "3.127.0",
21
+ "@aws-sdk/client-sts": "3.131.0",
22
+ "@aws-sdk/config-resolver": "3.130.0",
23
+ "@aws-sdk/credential-provider-node": "3.131.0",
24
+ "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
27
27
  "@aws-sdk/middleware-content-length": "3.127.0",
@@ -30,7 +30,7 @@
30
30
  "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
31
  "@aws-sdk/middleware-retry": "3.127.0",
32
32
  "@aws-sdk/middleware-serde": "3.127.0",
33
- "@aws-sdk/middleware-signing": "3.128.0",
33
+ "@aws-sdk/middleware-signing": "3.130.0",
34
34
  "@aws-sdk/middleware-stack": "3.127.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.127.0",
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
@@ -44,7 +44,7 @@
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.128.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.130.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",