@aws-sdk/client-cloudwatch 3.995.0 → 3.997.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.
Files changed (44) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +113 -20
  3. package/dist-cjs/schemas/schemas_0.js +119 -28
  4. package/dist-es/CloudWatch.js +12 -0
  5. package/dist-es/commands/DeleteAlarmMuteRuleCommand.js +16 -0
  6. package/dist-es/commands/GetAlarmMuteRuleCommand.js +16 -0
  7. package/dist-es/commands/ListAlarmMuteRulesCommand.js +16 -0
  8. package/dist-es/commands/PutAlarmMuteRuleCommand.js +16 -0
  9. package/dist-es/commands/index.js +4 -0
  10. package/dist-es/models/enums.js +5 -0
  11. package/dist-es/pagination/ListAlarmMuteRulesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +115 -24
  14. package/dist-es/waiters/index.js +1 -0
  15. package/dist-es/waiters/waitForAlarmMuteRuleExists.js +26 -0
  16. package/dist-types/CloudWatch.d.ts +42 -0
  17. package/dist-types/CloudWatchClient.d.ts +6 -2
  18. package/dist-types/commands/DeleteAlarmMuteRuleCommand.d.ts +78 -0
  19. package/dist-types/commands/GetAlarmMuteRuleCommand.d.ts +116 -0
  20. package/dist-types/commands/ListAlarmMuteRulesCommand.d.ts +100 -0
  21. package/dist-types/commands/PutAlarmMuteRuleCommand.d.ts +105 -0
  22. package/dist-types/commands/index.d.ts +4 -0
  23. package/dist-types/models/enums.d.ts +13 -0
  24. package/dist-types/models/models_0.d.ts +332 -1
  25. package/dist-types/pagination/ListAlarmMuteRulesPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +1 -0
  27. package/dist-types/schemas/schemas_0.d.ts +14 -0
  28. package/dist-types/ts3.4/CloudWatch.d.ts +85 -0
  29. package/dist-types/ts3.4/CloudWatchClient.d.ts +24 -0
  30. package/dist-types/ts3.4/commands/DeleteAlarmMuteRuleCommand.d.ts +46 -0
  31. package/dist-types/ts3.4/commands/GetAlarmMuteRuleCommand.d.ts +50 -0
  32. package/dist-types/ts3.4/commands/ListAlarmMuteRulesCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/PutAlarmMuteRuleCommand.d.ts +45 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  35. package/dist-types/ts3.4/models/enums.d.ts +7 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +56 -0
  37. package/dist-types/ts3.4/pagination/ListAlarmMuteRulesPaginator.d.ts +11 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
  40. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  41. package/dist-types/ts3.4/waiters/waitForAlarmMuteRuleExists.d.ts +11 -0
  42. package/dist-types/waiters/index.d.ts +1 -0
  43. package/dist-types/waiters/waitForAlarmMuteRuleExists.d.ts +14 -0
  44. package/package.json +39 -39
@@ -17,6 +17,10 @@ const _AE = "ActionsEnabled";
17
17
  const _AHI = "AlarmHistoryItem";
18
18
  const _AHIl = "AlarmHistoryItems";
19
19
  const _AI = "AccountId";
20
+ const _AMRA = "AlarmMuteRuleArn";
21
+ const _AMRN = "AlarmMuteRuleName";
22
+ const _AMRS = "AlarmMuteRuleSummary";
23
+ const _AMRSl = "AlarmMuteRuleSummaries";
20
24
  const _AN = "AlarmName";
21
25
  const _ANP = "AlarmNamePrefix";
22
26
  const _ANl = "AlarmNames";
@@ -72,6 +76,8 @@ const _DAHI = "DescribeAlarmHistoryInput";
72
76
  const _DAHO = "DescribeAlarmHistoryOutput";
73
77
  const _DAI = "DeleteAlarmsInput";
74
78
  const _DAIe = "DescribeAlarmsInput";
79
+ const _DAMR = "DeleteAlarmMuteRule";
80
+ const _DAMRI = "DeleteAlarmMuteRuleInput";
75
81
  const _DAO = "DescribeAlarmsOutput";
76
82
  const _DAe = "DeleteAlarms";
77
83
  const _DAes = "DescribeAlarms";
@@ -106,12 +112,15 @@ const _DVM = "DashboardValidationMessage";
106
112
  const _DVMa = "DashboardValidationMessages";
107
113
  const _Da = "Datapoint";
108
114
  const _Dat = "Datapoints";
109
- const _De = "Definition";
115
+ const _De = "Description";
116
+ const _Def = "Definition";
110
117
  const _Di = "Dimension";
118
+ const _Du = "Duration";
111
119
  const _E = "Entity";
112
120
  const _EAA = "EnableAlarmActions";
113
121
  const _EAAI = "EnableAlarmActionsInput";
114
- const _ED = "EndDate";
122
+ const _ED = "ExpireDate";
123
+ const _EDn = "EndDate";
115
124
  const _EF = "ExcludeFilters";
116
125
  const _EIR = "EnableInsightRules";
117
126
  const _EIRI = "EnableInsightRulesInput";
@@ -133,6 +142,9 @@ const _FA = "FirehoseArn";
133
142
  const _FC = "FailureCode";
134
143
  const _FD = "FailureDescription";
135
144
  const _FR = "FailureResource";
145
+ const _GAMR = "GetAlarmMuteRule";
146
+ const _GAMRI = "GetAlarmMuteRuleInput";
147
+ const _GAMRO = "GetAlarmMuteRuleOutput";
136
148
  const _GD = "GetDashboard";
137
149
  const _GDI = "GetDashboardInput";
138
150
  const _GDO = "GetDashboardOutput";
@@ -178,6 +190,9 @@ const _KA = "KeyAttributes";
178
190
  const _KL = "KeyLabels";
179
191
  const _Ke = "Key";
180
192
  const _L = "Label";
193
+ const _LAMR = "ListAlarmMuteRules";
194
+ const _LAMRI = "ListAlarmMuteRulesInput";
195
+ const _LAMRO = "ListAlarmMuteRulesOutput";
181
196
  const _LD = "ListDashboards";
182
197
  const _LDI = "ListDashboardsInput";
183
198
  const _LDO = "ListDashboardsOutput";
@@ -198,6 +213,7 @@ const _LTFR = "ListTagsForResource";
198
213
  const _LTFRI = "ListTagsForResourceInput";
199
214
  const _LTFRO = "ListTagsForResourceOutput";
200
215
  const _LUD = "LastUpdateDate";
216
+ const _LUT = "LastUpdatedTimestamp";
201
217
  const _M = "Message";
202
218
  const _MA = "MetricAlarms";
203
219
  const _MAe = "MetricAlarm";
@@ -234,7 +250,9 @@ const _MSSC = "MetricStreamStatisticsConfiguration";
234
250
  const _MSSCe = "MetricStreamStatisticsConfigurations";
235
251
  const _MSSIM = "MetricStreamStatisticsIncludeMetrics";
236
252
  const _MSSM = "MetricStreamStatisticsMetric";
237
- const _MT = "MetricTimezone";
253
+ const _MT = "MuteType";
254
+ const _MTe = "MetricTimezone";
255
+ const _MTu = "MuteTargets";
238
256
  const _MW = "MetricWidget";
239
257
  const _MWI = "MetricWidgetImage";
240
258
  const _Ma = "Maximum";
@@ -255,6 +273,8 @@ const _P = "Period";
255
273
  const _PAD = "PutAnomalyDetector";
256
274
  const _PADI = "PutAnomalyDetectorInput";
257
275
  const _PADO = "PutAnomalyDetectorOutput";
276
+ const _PAMR = "PutAlarmMuteRule";
277
+ const _PAMRI = "PutAlarmMuteRuleInput";
258
278
  const _PCA = "PutCompositeAlarm";
259
279
  const _PCAI = "PutCompositeAlarmInput";
260
280
  const _PD = "PutDashboard";
@@ -276,7 +296,7 @@ const _PMSI = "PutMetricStreamInput";
276
296
  const _PMSO = "PutMetricStreamOutput";
277
297
  const _POAN = "ParentsOfAlarmName";
278
298
  const _PS = "PeriodicSpikes";
279
- const _R = "Range";
299
+ const _R = "Rule";
280
300
  const _RA = "RoleArn";
281
301
  const _RARN = "ResourceARN";
282
302
  const _RAe = "RecentlyActive";
@@ -289,7 +309,8 @@ const _RNFE = "ResourceNotFoundException";
289
309
  const _RNu = "RuleName";
290
310
  const _RS = "RuleState";
291
311
  const _RT = "ResourceType";
292
- const _S = "Stat";
312
+ const _Ra = "Range";
313
+ const _S = "Status";
293
314
  const _SAS = "SetAlarmState";
294
315
  const _SASI = "SetAlarmStateInput";
295
316
  const _SB = "ScanBy";
@@ -315,10 +336,13 @@ const _SUT = "StateUpdatedTimestamp";
315
336
  const _SV = "StateValue";
316
337
  const _SVt = "StatisticValues";
317
338
  const _Sc = "Schema";
339
+ const _Sch = "Schedule";
318
340
  const _Si = "Size";
319
- const _St = "Statistic";
320
- const _Sta = "Statistics";
321
- const _Stat = "State";
341
+ const _St = "Stat";
342
+ const _Sta = "Statistic";
343
+ const _Stat = "Statistics";
344
+ const _State = "State";
345
+ const _Statu = "Statuses";
322
346
  const _Su = "Sum";
323
347
  const _T = "Timestamp";
324
348
  const _TK = "TagKeys";
@@ -455,14 +479,19 @@ export var AlarmHistoryItem$ = [3, n0, _AHI,
455
479
  [_AN, _ACI, _AT, _T, _HIT, _HS, _HD, _ACA],
456
480
  [0, 0, 0, 4, 0, 0, 0, 128 | 0]
457
481
  ];
482
+ export var AlarmMuteRuleSummary$ = [3, n0, _AMRS,
483
+ 0,
484
+ [_AMRA, _ED, _S, _MT, _LUT],
485
+ [0, 4, 0, 0, 4]
486
+ ];
458
487
  export var AnomalyDetector$ = [3, n0, _AD,
459
488
  0,
460
- [_N, _MN, _D, _S, _C, _SV, _MC, _SMAD, _MMAD],
489
+ [_N, _MN, _D, _St, _C, _SV, _MC, _SMAD, _MMAD],
461
490
  [0, 0, () => Dimensions, 0, () => AnomalyDetectorConfiguration$, 0, () => MetricCharacteristics$, () => SingleMetricAnomalyDetector$, () => MetricMathAnomalyDetector$]
462
491
  ];
463
492
  export var AnomalyDetectorConfiguration$ = [3, n0, _ADC,
464
493
  0,
465
- [_ETR, _MT],
494
+ [_ETR, _MTe],
466
495
  [() => AnomalyDetectorExcludedTimeRanges, 0]
467
496
  ];
468
497
  export var CompositeAlarm$ = [3, n0, _CAo,
@@ -485,6 +514,11 @@ export var Datapoint$ = [3, n0, _Da,
485
514
  [_T, _SC, _A, _Su, _Mi, _Ma, _U, _ES],
486
515
  [4, 1, 1, 1, 1, 1, 0, 128 | 1]
487
516
  ];
517
+ export var DeleteAlarmMuteRuleInput$ = [3, n0, _DAMRI,
518
+ 0,
519
+ [_AMRN],
520
+ [0], 1
521
+ ];
488
522
  export var DeleteAlarmsInput$ = [3, n0, _DAI,
489
523
  0,
490
524
  [_ANl],
@@ -492,7 +526,7 @@ export var DeleteAlarmsInput$ = [3, n0, _DAI,
492
526
  ];
493
527
  export var DeleteAnomalyDetectorInput$ = [3, n0, _DADI,
494
528
  0,
495
- [_N, _MN, _D, _S, _SMAD, _MMAD],
529
+ [_N, _MN, _D, _St, _SMAD, _MMAD],
496
530
  [0, 0, () => Dimensions, 0, () => SingleMetricAnomalyDetector$, () => MetricMathAnomalyDetector$]
497
531
  ];
498
532
  export var DeleteAnomalyDetectorOutput$ = [3, n0, _DADO,
@@ -542,7 +576,7 @@ export var DescribeAlarmContributorsOutput$ = [3, n0, _DACO,
542
576
  ];
543
577
  export var DescribeAlarmHistoryInput$ = [3, n0, _DAHI,
544
578
  0,
545
- [_AN, _ACI, _ATl, _HIT, _SD, _ED, _MR, _NT, _SB],
579
+ [_AN, _ACI, _ATl, _HIT, _SD, _EDn, _MR, _NT, _SB],
546
580
  [0, 0, 64 | 0, 0, 4, 4, 1, 0, 0]
547
581
  ];
548
582
  export var DescribeAlarmHistoryOutput$ = [3, n0, _DAHO,
@@ -552,7 +586,7 @@ export var DescribeAlarmHistoryOutput$ = [3, n0, _DAHO,
552
586
  ];
553
587
  export var DescribeAlarmsForMetricInput$ = [3, n0, _DAFMI,
554
588
  0,
555
- [_MN, _N, _St, _ESx, _D, _P, _U],
589
+ [_MN, _N, _Sta, _ESx, _D, _P, _U],
556
590
  [0, 0, 0, 0, () => Dimensions, 1, 0], 2
557
591
  ];
558
592
  export var DescribeAlarmsForMetricOutput$ = [3, n0, _DAFMO,
@@ -640,6 +674,16 @@ export var EntityMetricData$ = [3, n0, _EMD,
640
674
  [_E, _MD],
641
675
  [() => Entity$, () => MetricData]
642
676
  ];
677
+ export var GetAlarmMuteRuleInput$ = [3, n0, _GAMRI,
678
+ 0,
679
+ [_AMRN],
680
+ [0], 1
681
+ ];
682
+ export var GetAlarmMuteRuleOutput$ = [3, n0, _GAMRO,
683
+ 0,
684
+ [_Na, _AMRA, _De, _R, _MTu, _SD, _ED, _S, _LUT, _MT],
685
+ [0, 0, 0, () => Rule$, () => MuteTargets$, 4, 4, 0, 4, 0]
686
+ ];
643
687
  export var GetDashboardInput$ = [3, n0, _GDI,
644
688
  0,
645
689
  [_DN],
@@ -672,7 +716,7 @@ export var GetMetricDataOutput$ = [3, n0, _GMDO,
672
716
  ];
673
717
  export var GetMetricStatisticsInput$ = [3, n0, _GMSI,
674
718
  0,
675
- [_N, _MN, _ST, _ET, _P, _D, _Sta, _ES, _U],
719
+ [_N, _MN, _ST, _ET, _P, _D, _Stat, _ES, _U],
676
720
  [0, 0, 4, 4, 1, () => Dimensions, 64 | 0, 64 | 0, 0], 5
677
721
  ];
678
722
  export var GetMetricStatisticsOutput$ = [3, n0, _GMSO,
@@ -687,7 +731,7 @@ export var GetMetricStreamInput$ = [3, n0, _GMSIe,
687
731
  ];
688
732
  export var GetMetricStreamOutput$ = [3, n0, _GMSOe,
689
733
  0,
690
- [_Ar, _Na, _IF, _EF, _FA, _RA, _Stat, _CD, _LUD, _OF, _SCt, _ILAM],
734
+ [_Ar, _Na, _IF, _EF, _FA, _RA, _State, _CD, _LUD, _OF, _SCt, _ILAM],
691
735
  [0, 0, () => MetricStreamFilters, () => MetricStreamFilters, 0, 0, 0, 4, 4, 0, () => MetricStreamStatisticsConfigurations, 2]
692
736
  ];
693
737
  export var GetMetricWidgetImageInput$ = [3, n0, _GMWII,
@@ -702,7 +746,7 @@ export var GetMetricWidgetImageOutput$ = [3, n0, _GMWIO,
702
746
  ];
703
747
  export var InsightRule$ = [3, n0, _IRn,
704
748
  0,
705
- [_Na, _Stat, _Sc, _De, _MRan, _AOTL],
749
+ [_Na, _State, _Sc, _Def, _MRan, _AOTL],
706
750
  [0, 0, 0, 0, 2, 2], 4
707
751
  ];
708
752
  export var InsightRuleContributor$ = [3, n0, _IRC,
@@ -725,6 +769,16 @@ export var LabelOptions$ = [3, n0, _LO,
725
769
  [_Ti],
726
770
  [0]
727
771
  ];
772
+ export var ListAlarmMuteRulesInput$ = [3, n0, _LAMRI,
773
+ 0,
774
+ [_AN, _Statu, _MR, _NT],
775
+ [0, 64 | 0, 1, 0]
776
+ ];
777
+ export var ListAlarmMuteRulesOutput$ = [3, n0, _LAMRO,
778
+ 0,
779
+ [_AMRSl, _NT],
780
+ [() => AlarmMuteRuleSummaries, 0]
781
+ ];
728
782
  export var ListDashboardsInput$ = [3, n0, _LDI,
729
783
  0,
730
784
  [_DNP, _NT],
@@ -787,7 +841,7 @@ export var ManagedRuleDescription$ = [3, n0, _MRD,
787
841
  ];
788
842
  export var ManagedRuleState$ = [3, n0, _MRS,
789
843
  0,
790
- [_RNu, _Stat],
844
+ [_RNu, _State],
791
845
  [0, 0], 2
792
846
  ];
793
847
  export var MessageData$ = [3, n0, _MDes,
@@ -802,7 +856,7 @@ export var Metric$ = [3, n0, _Met,
802
856
  ];
803
857
  export var MetricAlarm$ = [3, n0, _MAe,
804
858
  0,
805
- [_AN, _AAl, _ADl, _ACUT, _AE, _OKA, _AA, _IDA, _SV, _SR, _SRD, _SUT, _MN, _N, _St, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _TMI, _ESv, _STT],
859
+ [_AN, _AAl, _ADl, _ACUT, _AE, _OKA, _AA, _IDA, _SV, _SR, _SRD, _SUT, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _TMI, _ESv, _STT],
806
860
  [0, 0, 0, 4, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 4, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, 0, 0, 4]
807
861
  ];
808
862
  export var MetricCharacteristics$ = [3, n0, _MC,
@@ -832,12 +886,12 @@ export var MetricMathAnomalyDetector$ = [3, n0, _MMAD,
832
886
  ];
833
887
  export var MetricStat$ = [3, n0, _MS,
834
888
  0,
835
- [_Met, _P, _S, _U],
889
+ [_Met, _P, _St, _U],
836
890
  [() => Metric$, 1, 0, 0], 3
837
891
  ];
838
892
  export var MetricStreamEntry$ = [3, n0, _MSE,
839
893
  0,
840
- [_Ar, _CD, _LUD, _Na, _FA, _Stat, _OF],
894
+ [_Ar, _CD, _LUD, _Na, _FA, _State, _OF],
841
895
  [0, 4, 4, 0, 0, 0, 0]
842
896
  ];
843
897
  export var MetricStreamFilter$ = [3, n0, _MSF,
@@ -855,14 +909,24 @@ export var MetricStreamStatisticsMetric$ = [3, n0, _MSSM,
855
909
  [_N, _MN],
856
910
  [0, 0], 2
857
911
  ];
912
+ export var MuteTargets$ = [3, n0, _MTu,
913
+ 0,
914
+ [_ANl],
915
+ [64 | 0], 1
916
+ ];
858
917
  export var PartialFailure$ = [3, n0, _PF,
859
918
  0,
860
919
  [_FR, _ETx, _FC, _FD],
861
920
  [0, 0, 0, 0]
862
921
  ];
922
+ export var PutAlarmMuteRuleInput$ = [3, n0, _PAMRI,
923
+ 0,
924
+ [_Na, _R, _De, _MTu, _Ta, _SD, _ED],
925
+ [0, () => Rule$, 0, () => MuteTargets$, () => TagList, 4, 4], 2
926
+ ];
863
927
  export var PutAnomalyDetectorInput$ = [3, n0, _PADI,
864
928
  0,
865
- [_N, _MN, _D, _S, _C, _MC, _SMAD, _MMAD],
929
+ [_N, _MN, _D, _St, _C, _MC, _SMAD, _MMAD],
866
930
  [0, 0, () => Dimensions, 0, () => AnomalyDetectorConfiguration$, () => MetricCharacteristics$, () => SingleMetricAnomalyDetector$, () => MetricMathAnomalyDetector$]
867
931
  ];
868
932
  export var PutAnomalyDetectorOutput$ = [3, n0, _PADO,
@@ -907,7 +971,7 @@ export var PutManagedInsightRulesOutput$ = [3, n0, _PMIRO,
907
971
  ];
908
972
  export var PutMetricAlarmInput$ = [3, n0, _PMAI,
909
973
  0,
910
- [_AN, _EP, _CO, _ADl, _AE, _OKA, _AA, _IDA, _MN, _N, _St, _ESx, _D, _P, _U, _DTA, _Th, _TMD, _ELSCP, _Me, _Ta, _TMI],
974
+ [_AN, _EP, _CO, _ADl, _AE, _OKA, _AA, _IDA, _MN, _N, _Sta, _ESx, _D, _P, _U, _DTA, _Th, _TMD, _ELSCP, _Me, _Ta, _TMI],
911
975
  [0, 1, 0, 0, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 0, 0, () => MetricDataQueries, () => TagList, 0], 3
912
976
  ];
913
977
  export var PutMetricDataInput$ = [3, n0, _PMDI,
@@ -925,11 +989,21 @@ export var PutMetricStreamOutput$ = [3, n0, _PMSO,
925
989
  [_Ar],
926
990
  [0]
927
991
  ];
928
- export var Range$ = [3, n0, _R,
992
+ export var Range$ = [3, n0, _Ra,
929
993
  0,
930
994
  [_ST, _ET],
931
995
  [4, 4], 2
932
996
  ];
997
+ export var Rule$ = [3, n0, _R,
998
+ 0,
999
+ [_Sch],
1000
+ [() => Schedule$], 1
1001
+ ];
1002
+ export var Schedule$ = [3, n0, _Sch,
1003
+ 0,
1004
+ [_Ex, _Du, _Ti],
1005
+ [0, 0, 0], 2
1006
+ ];
933
1007
  export var SetAlarmStateInput$ = [3, n0, _SASI,
934
1008
  0,
935
1009
  [_AN, _SV, _SR, _SRD],
@@ -937,7 +1011,7 @@ export var SetAlarmStateInput$ = [3, n0, _SASI,
937
1011
  ];
938
1012
  export var SingleMetricAnomalyDetector$ = [3, n0, _SMAD,
939
1013
  0,
940
- [_AI, _N, _MN, _D, _S],
1014
+ [_AI, _N, _MN, _D, _St],
941
1015
  [0, 0, 0, () => Dimensions, 0]
942
1016
  ];
943
1017
  export var StartMetricStreamsInput$ = [3, n0, _SMSI,
@@ -997,6 +1071,10 @@ var AlarmContributors = [1, n0, _ACl,
997
1071
  var AlarmHistoryItems = [1, n0, _AHIl,
998
1072
  0, () => AlarmHistoryItem$
999
1073
  ];
1074
+ var AlarmMuteRuleStatuses = 64 | 0;
1075
+ var AlarmMuteRuleSummaries = [1, n0, _AMRSl,
1076
+ 0, () => AlarmMuteRuleSummary$
1077
+ ];
1000
1078
  var AlarmNames = 64 | 0;
1001
1079
  var AlarmTypes = 64 | 0;
1002
1080
  var AnomalyDetectorExcludedTimeRanges = [1, n0, _ADETR,
@@ -1089,6 +1167,7 @@ var MetricStreamStatisticsConfigurations = [1, n0, _MSSCe,
1089
1167
  var MetricStreamStatisticsIncludeMetrics = [1, n0, _MSSIM,
1090
1168
  0, () => MetricStreamStatisticsMetric$
1091
1169
  ];
1170
+ var MuteTargetAlarmNameList = 64 | 0;
1092
1171
  var OwningAccounts = 64 | 0;
1093
1172
  var ResourceList = 64 | 0;
1094
1173
  var Statistics = 64 | 0;
@@ -1102,6 +1181,9 @@ var ContributorAttributes = 128 | 0;
1102
1181
  var DatapointValueMap = 128 | 1;
1103
1182
  var EntityAttributesMap = 128 | 0;
1104
1183
  var EntityKeyAttributesMap = 128 | 0;
1184
+ export var DeleteAlarmMuteRule$ = [9, n0, _DAMR,
1185
+ 0, () => DeleteAlarmMuteRuleInput$, () => __Unit
1186
+ ];
1105
1187
  export var DeleteAlarms$ = [9, n0, _DAe,
1106
1188
  0, () => DeleteAlarmsInput$, () => __Unit
1107
1189
  ];
@@ -1147,6 +1229,9 @@ export var EnableAlarmActions$ = [9, n0, _EAA,
1147
1229
  export var EnableInsightRules$ = [9, n0, _EIR,
1148
1230
  0, () => EnableInsightRulesInput$, () => EnableInsightRulesOutput$
1149
1231
  ];
1232
+ export var GetAlarmMuteRule$ = [9, n0, _GAMR,
1233
+ 0, () => GetAlarmMuteRuleInput$, () => GetAlarmMuteRuleOutput$
1234
+ ];
1150
1235
  export var GetDashboard$ = [9, n0, _GD,
1151
1236
  0, () => GetDashboardInput$, () => GetDashboardOutput$
1152
1237
  ];
@@ -1165,6 +1250,9 @@ export var GetMetricStream$ = [9, n0, _GMSe,
1165
1250
  export var GetMetricWidgetImage$ = [9, n0, _GMWI,
1166
1251
  0, () => GetMetricWidgetImageInput$, () => GetMetricWidgetImageOutput$
1167
1252
  ];
1253
+ export var ListAlarmMuteRules$ = [9, n0, _LAMR,
1254
+ 0, () => ListAlarmMuteRulesInput$, () => ListAlarmMuteRulesOutput$
1255
+ ];
1168
1256
  export var ListDashboards$ = [9, n0, _LD,
1169
1257
  0, () => ListDashboardsInput$, () => ListDashboardsOutput$
1170
1258
  ];
@@ -1180,6 +1268,9 @@ export var ListMetricStreams$ = [9, n0, _LMS,
1180
1268
  export var ListTagsForResource$ = [9, n0, _LTFR,
1181
1269
  0, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
1182
1270
  ];
1271
+ export var PutAlarmMuteRule$ = [9, n0, _PAMR,
1272
+ 0, () => PutAlarmMuteRuleInput$, () => __Unit
1273
+ ];
1183
1274
  export var PutAnomalyDetector$ = [9, n0, _PAD,
1184
1275
  0, () => PutAnomalyDetectorInput$, () => PutAnomalyDetectorOutput$
1185
1276
  ];
@@ -1,2 +1,3 @@
1
1
  export * from "./waitForAlarmExists";
2
2
  export * from "./waitForCompositeAlarmExists";
3
+ export * from "./waitForAlarmMuteRuleExists";
@@ -0,0 +1,26 @@
1
+ import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
2
+ import { GetAlarmMuteRuleCommand } from "../commands/GetAlarmMuteRuleCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetAlarmMuteRuleCommand(input));
7
+ reason = result;
8
+ return { state: WaiterState.SUCCESS, reason };
9
+ }
10
+ catch (exception) {
11
+ reason = exception;
12
+ if (exception.name && exception.name == "ResourceNotFoundException") {
13
+ return { state: WaiterState.RETRY, reason };
14
+ }
15
+ }
16
+ return { state: WaiterState.RETRY, reason };
17
+ };
18
+ export const waitForAlarmMuteRuleExists = async (params, input) => {
19
+ const serviceDefaults = { minDelay: 5, maxDelay: 120 };
20
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
21
+ };
22
+ export const waitUntilAlarmMuteRuleExists = async (params, input) => {
23
+ const serviceDefaults = { minDelay: 5, maxDelay: 120 };
24
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
25
+ return checkExceptions(result);
26
+ };
@@ -1,6 +1,7 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
2
  import type { WaiterResult } from "@smithy/util-waiter";
3
3
  import { CloudWatchClient } from "./CloudWatchClient";
4
+ import { DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput } from "./commands/DeleteAlarmMuteRuleCommand";
4
5
  import { DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
5
6
  import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
6
7
  import { DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput } from "./commands/DeleteDashboardsCommand";
@@ -16,17 +17,20 @@ import { DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput } fro
16
17
  import { DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput } from "./commands/DisableInsightRulesCommand";
17
18
  import { EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput } from "./commands/EnableAlarmActionsCommand";
18
19
  import { EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput } from "./commands/EnableInsightRulesCommand";
20
+ import { GetAlarmMuteRuleCommandInput, GetAlarmMuteRuleCommandOutput } from "./commands/GetAlarmMuteRuleCommand";
19
21
  import { GetDashboardCommandInput, GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
20
22
  import { GetInsightRuleReportCommandInput, GetInsightRuleReportCommandOutput } from "./commands/GetInsightRuleReportCommand";
21
23
  import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "./commands/GetMetricDataCommand";
22
24
  import { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput } from "./commands/GetMetricStatisticsCommand";
23
25
  import { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
24
26
  import { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
27
+ import { ListAlarmMuteRulesCommandInput, ListAlarmMuteRulesCommandOutput } from "./commands/ListAlarmMuteRulesCommand";
25
28
  import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
26
29
  import { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "./commands/ListManagedInsightRulesCommand";
27
30
  import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
28
31
  import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "./commands/ListMetricStreamsCommand";
29
32
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
33
+ import { PutAlarmMuteRuleCommandInput, PutAlarmMuteRuleCommandOutput } from "./commands/PutAlarmMuteRuleCommand";
30
34
  import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from "./commands/PutAnomalyDetectorCommand";
31
35
  import { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput } from "./commands/PutCompositeAlarmCommand";
32
36
  import { PutDashboardCommandInput, PutDashboardCommandOutput } from "./commands/PutDashboardCommand";
@@ -41,6 +45,12 @@ import { StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput } from ".
41
45
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
42
46
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
43
47
  export interface CloudWatch {
48
+ /**
49
+ * @see {@link DeleteAlarmMuteRuleCommand}
50
+ */
51
+ deleteAlarmMuteRule(args: DeleteAlarmMuteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlarmMuteRuleCommandOutput>;
52
+ deleteAlarmMuteRule(args: DeleteAlarmMuteRuleCommandInput, cb: (err: any, data?: DeleteAlarmMuteRuleCommandOutput) => void): void;
53
+ deleteAlarmMuteRule(args: DeleteAlarmMuteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlarmMuteRuleCommandOutput) => void): void;
44
54
  /**
45
55
  * @see {@link DeleteAlarmsCommand}
46
56
  */
@@ -136,6 +146,12 @@ export interface CloudWatch {
136
146
  enableInsightRules(args: EnableInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<EnableInsightRulesCommandOutput>;
137
147
  enableInsightRules(args: EnableInsightRulesCommandInput, cb: (err: any, data?: EnableInsightRulesCommandOutput) => void): void;
138
148
  enableInsightRules(args: EnableInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableInsightRulesCommandOutput) => void): void;
149
+ /**
150
+ * @see {@link GetAlarmMuteRuleCommand}
151
+ */
152
+ getAlarmMuteRule(args: GetAlarmMuteRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetAlarmMuteRuleCommandOutput>;
153
+ getAlarmMuteRule(args: GetAlarmMuteRuleCommandInput, cb: (err: any, data?: GetAlarmMuteRuleCommandOutput) => void): void;
154
+ getAlarmMuteRule(args: GetAlarmMuteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAlarmMuteRuleCommandOutput) => void): void;
139
155
  /**
140
156
  * @see {@link GetDashboardCommand}
141
157
  */
@@ -172,6 +188,13 @@ export interface CloudWatch {
172
188
  getMetricWidgetImage(args: GetMetricWidgetImageCommandInput, options?: __HttpHandlerOptions): Promise<GetMetricWidgetImageCommandOutput>;
173
189
  getMetricWidgetImage(args: GetMetricWidgetImageCommandInput, cb: (err: any, data?: GetMetricWidgetImageCommandOutput) => void): void;
174
190
  getMetricWidgetImage(args: GetMetricWidgetImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMetricWidgetImageCommandOutput) => void): void;
191
+ /**
192
+ * @see {@link ListAlarmMuteRulesCommand}
193
+ */
194
+ listAlarmMuteRules(): Promise<ListAlarmMuteRulesCommandOutput>;
195
+ listAlarmMuteRules(args: ListAlarmMuteRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListAlarmMuteRulesCommandOutput>;
196
+ listAlarmMuteRules(args: ListAlarmMuteRulesCommandInput, cb: (err: any, data?: ListAlarmMuteRulesCommandOutput) => void): void;
197
+ listAlarmMuteRules(args: ListAlarmMuteRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAlarmMuteRulesCommandOutput) => void): void;
175
198
  /**
176
199
  * @see {@link ListDashboardsCommand}
177
200
  */
@@ -205,6 +228,12 @@ export interface CloudWatch {
205
228
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
206
229
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
207
230
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
231
+ /**
232
+ * @see {@link PutAlarmMuteRuleCommand}
233
+ */
234
+ putAlarmMuteRule(args: PutAlarmMuteRuleCommandInput, options?: __HttpHandlerOptions): Promise<PutAlarmMuteRuleCommandOutput>;
235
+ putAlarmMuteRule(args: PutAlarmMuteRuleCommandInput, cb: (err: any, data?: PutAlarmMuteRuleCommandOutput) => void): void;
236
+ putAlarmMuteRule(args: PutAlarmMuteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlarmMuteRuleCommandOutput) => void): void;
208
237
  /**
209
238
  * @see {@link PutAnomalyDetectorCommand}
210
239
  */
@@ -319,6 +348,13 @@ export interface CloudWatch {
319
348
  * @returns AsyncIterable of {@link GetMetricDataCommandOutput}.
320
349
  */
321
350
  paginateGetMetricData(args: GetMetricDataCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetMetricDataCommandOutput>;
351
+ /**
352
+ * @see {@link ListAlarmMuteRulesCommand}
353
+ * @param args - command input.
354
+ * @param paginationConfig - optional pagination config.
355
+ * @returns AsyncIterable of {@link ListAlarmMuteRulesCommandOutput}.
356
+ */
357
+ paginateListAlarmMuteRules(args?: ListAlarmMuteRulesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAlarmMuteRulesCommandOutput>;
322
358
  /**
323
359
  * @see {@link ListDashboardsCommand}
324
360
  * @param args - command input.
@@ -359,6 +395,12 @@ export interface CloudWatch {
359
395
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
360
396
  */
361
397
  waitUntilCompositeAlarmExists(args: DescribeAlarmsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CloudWatch>, "client">): Promise<WaiterResult>;
398
+ /**
399
+ * @see {@link GetAlarmMuteRuleCommand}
400
+ * @param args - command input.
401
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
402
+ */
403
+ waitUntilAlarmMuteRuleExists(args: GetAlarmMuteRuleCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CloudWatch>, "client">): Promise<WaiterResult>;
362
404
  }
363
405
  /**
364
406
  * <p>Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services)
@@ -8,6 +8,7 @@ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/pro
8
8
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
9
9
  import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
10
10
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
11
+ import { DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput } from "./commands/DeleteAlarmMuteRuleCommand";
11
12
  import { DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
12
13
  import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
13
14
  import { DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput } from "./commands/DeleteDashboardsCommand";
@@ -23,17 +24,20 @@ import { DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput } fro
23
24
  import { DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput } from "./commands/DisableInsightRulesCommand";
24
25
  import { EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput } from "./commands/EnableAlarmActionsCommand";
25
26
  import { EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput } from "./commands/EnableInsightRulesCommand";
27
+ import { GetAlarmMuteRuleCommandInput, GetAlarmMuteRuleCommandOutput } from "./commands/GetAlarmMuteRuleCommand";
26
28
  import { GetDashboardCommandInput, GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
27
29
  import { GetInsightRuleReportCommandInput, GetInsightRuleReportCommandOutput } from "./commands/GetInsightRuleReportCommand";
28
30
  import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "./commands/GetMetricDataCommand";
29
31
  import { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput } from "./commands/GetMetricStatisticsCommand";
30
32
  import { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
31
33
  import { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
34
+ import { ListAlarmMuteRulesCommandInput, ListAlarmMuteRulesCommandOutput } from "./commands/ListAlarmMuteRulesCommand";
32
35
  import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
33
36
  import { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "./commands/ListManagedInsightRulesCommand";
34
37
  import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
35
38
  import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "./commands/ListMetricStreamsCommand";
36
39
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
40
+ import { PutAlarmMuteRuleCommandInput, PutAlarmMuteRuleCommandOutput } from "./commands/PutAlarmMuteRuleCommand";
37
41
  import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from "./commands/PutAnomalyDetectorCommand";
38
42
  import { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput } from "./commands/PutCompositeAlarmCommand";
39
43
  import { PutDashboardCommandInput, PutDashboardCommandOutput } from "./commands/PutDashboardCommand";
@@ -53,11 +57,11 @@ export { __Client };
53
57
  /**
54
58
  * @public
55
59
  */
56
- export type ServiceInputTypes = DeleteAlarmsCommandInput | DeleteAnomalyDetectorCommandInput | DeleteDashboardsCommandInput | DeleteInsightRulesCommandInput | DeleteMetricStreamCommandInput | DescribeAlarmContributorsCommandInput | DescribeAlarmHistoryCommandInput | DescribeAlarmsCommandInput | DescribeAlarmsForMetricCommandInput | DescribeAnomalyDetectorsCommandInput | DescribeInsightRulesCommandInput | DisableAlarmActionsCommandInput | DisableInsightRulesCommandInput | EnableAlarmActionsCommandInput | EnableInsightRulesCommandInput | GetDashboardCommandInput | GetInsightRuleReportCommandInput | GetMetricDataCommandInput | GetMetricStatisticsCommandInput | GetMetricStreamCommandInput | GetMetricWidgetImageCommandInput | ListDashboardsCommandInput | ListManagedInsightRulesCommandInput | ListMetricStreamsCommandInput | ListMetricsCommandInput | ListTagsForResourceCommandInput | PutAnomalyDetectorCommandInput | PutCompositeAlarmCommandInput | PutDashboardCommandInput | PutInsightRuleCommandInput | PutManagedInsightRulesCommandInput | PutMetricAlarmCommandInput | PutMetricDataCommandInput | PutMetricStreamCommandInput | SetAlarmStateCommandInput | StartMetricStreamsCommandInput | StopMetricStreamsCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
60
+ export type ServiceInputTypes = DeleteAlarmMuteRuleCommandInput | DeleteAlarmsCommandInput | DeleteAnomalyDetectorCommandInput | DeleteDashboardsCommandInput | DeleteInsightRulesCommandInput | DeleteMetricStreamCommandInput | DescribeAlarmContributorsCommandInput | DescribeAlarmHistoryCommandInput | DescribeAlarmsCommandInput | DescribeAlarmsForMetricCommandInput | DescribeAnomalyDetectorsCommandInput | DescribeInsightRulesCommandInput | DisableAlarmActionsCommandInput | DisableInsightRulesCommandInput | EnableAlarmActionsCommandInput | EnableInsightRulesCommandInput | GetAlarmMuteRuleCommandInput | GetDashboardCommandInput | GetInsightRuleReportCommandInput | GetMetricDataCommandInput | GetMetricStatisticsCommandInput | GetMetricStreamCommandInput | GetMetricWidgetImageCommandInput | ListAlarmMuteRulesCommandInput | ListDashboardsCommandInput | ListManagedInsightRulesCommandInput | ListMetricStreamsCommandInput | ListMetricsCommandInput | ListTagsForResourceCommandInput | PutAlarmMuteRuleCommandInput | PutAnomalyDetectorCommandInput | PutCompositeAlarmCommandInput | PutDashboardCommandInput | PutInsightRuleCommandInput | PutManagedInsightRulesCommandInput | PutMetricAlarmCommandInput | PutMetricDataCommandInput | PutMetricStreamCommandInput | SetAlarmStateCommandInput | StartMetricStreamsCommandInput | StopMetricStreamsCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
57
61
  /**
58
62
  * @public
59
63
  */
60
- export type ServiceOutputTypes = DeleteAlarmsCommandOutput | DeleteAnomalyDetectorCommandOutput | DeleteDashboardsCommandOutput | DeleteInsightRulesCommandOutput | DeleteMetricStreamCommandOutput | DescribeAlarmContributorsCommandOutput | DescribeAlarmHistoryCommandOutput | DescribeAlarmsCommandOutput | DescribeAlarmsForMetricCommandOutput | DescribeAnomalyDetectorsCommandOutput | DescribeInsightRulesCommandOutput | DisableAlarmActionsCommandOutput | DisableInsightRulesCommandOutput | EnableAlarmActionsCommandOutput | EnableInsightRulesCommandOutput | GetDashboardCommandOutput | GetInsightRuleReportCommandOutput | GetMetricDataCommandOutput | GetMetricStatisticsCommandOutput | GetMetricStreamCommandOutput | GetMetricWidgetImageCommandOutput | ListDashboardsCommandOutput | ListManagedInsightRulesCommandOutput | ListMetricStreamsCommandOutput | ListMetricsCommandOutput | ListTagsForResourceCommandOutput | PutAnomalyDetectorCommandOutput | PutCompositeAlarmCommandOutput | PutDashboardCommandOutput | PutInsightRuleCommandOutput | PutManagedInsightRulesCommandOutput | PutMetricAlarmCommandOutput | PutMetricDataCommandOutput | PutMetricStreamCommandOutput | SetAlarmStateCommandOutput | StartMetricStreamsCommandOutput | StopMetricStreamsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
64
+ export type ServiceOutputTypes = DeleteAlarmMuteRuleCommandOutput | DeleteAlarmsCommandOutput | DeleteAnomalyDetectorCommandOutput | DeleteDashboardsCommandOutput | DeleteInsightRulesCommandOutput | DeleteMetricStreamCommandOutput | DescribeAlarmContributorsCommandOutput | DescribeAlarmHistoryCommandOutput | DescribeAlarmsCommandOutput | DescribeAlarmsForMetricCommandOutput | DescribeAnomalyDetectorsCommandOutput | DescribeInsightRulesCommandOutput | DisableAlarmActionsCommandOutput | DisableInsightRulesCommandOutput | EnableAlarmActionsCommandOutput | EnableInsightRulesCommandOutput | GetAlarmMuteRuleCommandOutput | GetDashboardCommandOutput | GetInsightRuleReportCommandOutput | GetMetricDataCommandOutput | GetMetricStatisticsCommandOutput | GetMetricStreamCommandOutput | GetMetricWidgetImageCommandOutput | ListAlarmMuteRulesCommandOutput | ListDashboardsCommandOutput | ListManagedInsightRulesCommandOutput | ListMetricStreamsCommandOutput | ListMetricsCommandOutput | ListTagsForResourceCommandOutput | PutAlarmMuteRuleCommandOutput | PutAnomalyDetectorCommandOutput | PutCompositeAlarmCommandOutput | PutDashboardCommandOutput | PutInsightRuleCommandOutput | PutManagedInsightRulesCommandOutput | PutMetricAlarmCommandOutput | PutMetricDataCommandOutput | PutMetricStreamCommandOutput | SetAlarmStateCommandOutput | StartMetricStreamsCommandOutput | StopMetricStreamsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
61
65
  /**
62
66
  * @public
63
67
  */
@@ -0,0 +1,78 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
+ import type { DeleteAlarmMuteRuleInput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteAlarmMuteRuleCommand}.
14
+ */
15
+ export interface DeleteAlarmMuteRuleCommandInput extends DeleteAlarmMuteRuleInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteAlarmMuteRuleCommand}.
21
+ */
22
+ export interface DeleteAlarmMuteRuleCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteAlarmMuteRuleCommand_base: {
25
+ new (input: DeleteAlarmMuteRuleCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteAlarmMuteRuleCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a specific alarm mute rule.</p>
31
+ * <p>When you delete a mute rule, any alarms that are currently being muted by that rule are immediately unmuted. If those alarms are in an ALARM state, their configured actions will trigger.</p>
32
+ * <p>This operation is idempotent. If you delete a mute rule that does not exist, the operation succeeds without returning an error.</p>
33
+ * <p>
34
+ * <b>Permissions</b>
35
+ * </p>
36
+ * <p>To delete a mute rule, you need the <code>cloudwatch:DeleteAlarmMuteRule</code> permission on the alarm mute rule resource.</p>
37
+ * @example
38
+ * Use a bare-bones client and the command you need to make an API call.
39
+ * ```javascript
40
+ * import { CloudWatchClient, DeleteAlarmMuteRuleCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
41
+ * // const { CloudWatchClient, DeleteAlarmMuteRuleCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
42
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
43
+ * const config = {}; // type is CloudWatchClientConfig
44
+ * const client = new CloudWatchClient(config);
45
+ * const input = { // DeleteAlarmMuteRuleInput
46
+ * AlarmMuteRuleName: "STRING_VALUE", // required
47
+ * };
48
+ * const command = new DeleteAlarmMuteRuleCommand(input);
49
+ * const response = await client.send(command);
50
+ * // {};
51
+ *
52
+ * ```
53
+ *
54
+ * @param DeleteAlarmMuteRuleCommandInput - {@link DeleteAlarmMuteRuleCommandInput}
55
+ * @returns {@link DeleteAlarmMuteRuleCommandOutput}
56
+ * @see {@link DeleteAlarmMuteRuleCommandInput} for command's `input` shape.
57
+ * @see {@link DeleteAlarmMuteRuleCommandOutput} for command's `response` shape.
58
+ * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
59
+ *
60
+ * @throws {@link CloudWatchServiceException}
61
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
62
+ *
63
+ *
64
+ * @public
65
+ */
66
+ export declare class DeleteAlarmMuteRuleCommand extends DeleteAlarmMuteRuleCommand_base {
67
+ /** @internal type navigation helper, not in runtime. */
68
+ protected static __types: {
69
+ api: {
70
+ input: DeleteAlarmMuteRuleInput;
71
+ output: {};
72
+ };
73
+ sdk: {
74
+ input: DeleteAlarmMuteRuleCommandInput;
75
+ output: DeleteAlarmMuteRuleCommandOutput;
76
+ };
77
+ };
78
+ }