@aws-sdk/client-cloudwatch 3.996.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 +96 -2
  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
@@ -49,6 +49,10 @@ import {
49
49
  HttpAuthSchemeInputConfig,
50
50
  HttpAuthSchemeResolvedConfig,
51
51
  } from "./auth/httpAuthSchemeProvider";
52
+ import {
53
+ DeleteAlarmMuteRuleCommandInput,
54
+ DeleteAlarmMuteRuleCommandOutput,
55
+ } from "./commands/DeleteAlarmMuteRuleCommand";
52
56
  import {
53
57
  DeleteAlarmsCommandInput,
54
58
  DeleteAlarmsCommandOutput,
@@ -109,6 +113,10 @@ import {
109
113
  EnableInsightRulesCommandInput,
110
114
  EnableInsightRulesCommandOutput,
111
115
  } from "./commands/EnableInsightRulesCommand";
116
+ import {
117
+ GetAlarmMuteRuleCommandInput,
118
+ GetAlarmMuteRuleCommandOutput,
119
+ } from "./commands/GetAlarmMuteRuleCommand";
112
120
  import {
113
121
  GetDashboardCommandInput,
114
122
  GetDashboardCommandOutput,
@@ -133,6 +141,10 @@ import {
133
141
  GetMetricWidgetImageCommandInput,
134
142
  GetMetricWidgetImageCommandOutput,
135
143
  } from "./commands/GetMetricWidgetImageCommand";
144
+ import {
145
+ ListAlarmMuteRulesCommandInput,
146
+ ListAlarmMuteRulesCommandOutput,
147
+ } from "./commands/ListAlarmMuteRulesCommand";
136
148
  import {
137
149
  ListDashboardsCommandInput,
138
150
  ListDashboardsCommandOutput,
@@ -153,6 +165,10 @@ import {
153
165
  ListTagsForResourceCommandInput,
154
166
  ListTagsForResourceCommandOutput,
155
167
  } from "./commands/ListTagsForResourceCommand";
168
+ import {
169
+ PutAlarmMuteRuleCommandInput,
170
+ PutAlarmMuteRuleCommandOutput,
171
+ } from "./commands/PutAlarmMuteRuleCommand";
156
172
  import {
157
173
  PutAnomalyDetectorCommandInput,
158
174
  PutAnomalyDetectorCommandOutput,
@@ -213,6 +229,7 @@ import {
213
229
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
214
230
  export { __Client };
215
231
  export type ServiceInputTypes =
232
+ | DeleteAlarmMuteRuleCommandInput
216
233
  | DeleteAlarmsCommandInput
217
234
  | DeleteAnomalyDetectorCommandInput
218
235
  | DeleteDashboardsCommandInput
@@ -228,17 +245,20 @@ export type ServiceInputTypes =
228
245
  | DisableInsightRulesCommandInput
229
246
  | EnableAlarmActionsCommandInput
230
247
  | EnableInsightRulesCommandInput
248
+ | GetAlarmMuteRuleCommandInput
231
249
  | GetDashboardCommandInput
232
250
  | GetInsightRuleReportCommandInput
233
251
  | GetMetricDataCommandInput
234
252
  | GetMetricStatisticsCommandInput
235
253
  | GetMetricStreamCommandInput
236
254
  | GetMetricWidgetImageCommandInput
255
+ | ListAlarmMuteRulesCommandInput
237
256
  | ListDashboardsCommandInput
238
257
  | ListManagedInsightRulesCommandInput
239
258
  | ListMetricStreamsCommandInput
240
259
  | ListMetricsCommandInput
241
260
  | ListTagsForResourceCommandInput
261
+ | PutAlarmMuteRuleCommandInput
242
262
  | PutAnomalyDetectorCommandInput
243
263
  | PutCompositeAlarmCommandInput
244
264
  | PutDashboardCommandInput
@@ -253,6 +273,7 @@ export type ServiceInputTypes =
253
273
  | TagResourceCommandInput
254
274
  | UntagResourceCommandInput;
255
275
  export type ServiceOutputTypes =
276
+ | DeleteAlarmMuteRuleCommandOutput
256
277
  | DeleteAlarmsCommandOutput
257
278
  | DeleteAnomalyDetectorCommandOutput
258
279
  | DeleteDashboardsCommandOutput
@@ -268,17 +289,20 @@ export type ServiceOutputTypes =
268
289
  | DisableInsightRulesCommandOutput
269
290
  | EnableAlarmActionsCommandOutput
270
291
  | EnableInsightRulesCommandOutput
292
+ | GetAlarmMuteRuleCommandOutput
271
293
  | GetDashboardCommandOutput
272
294
  | GetInsightRuleReportCommandOutput
273
295
  | GetMetricDataCommandOutput
274
296
  | GetMetricStatisticsCommandOutput
275
297
  | GetMetricStreamCommandOutput
276
298
  | GetMetricWidgetImageCommandOutput
299
+ | ListAlarmMuteRulesCommandOutput
277
300
  | ListDashboardsCommandOutput
278
301
  | ListManagedInsightRulesCommandOutput
279
302
  | ListMetricStreamsCommandOutput
280
303
  | ListMetricsCommandOutput
281
304
  | ListTagsForResourceCommandOutput
305
+ | PutAlarmMuteRuleCommandOutput
282
306
  | PutAnomalyDetectorCommandOutput
283
307
  | PutCompositeAlarmCommandOutput
284
308
  | PutDashboardCommandOutput
@@ -0,0 +1,46 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudWatchClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudWatchClient";
8
+ import { DeleteAlarmMuteRuleInput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface DeleteAlarmMuteRuleCommandInput
12
+ extends DeleteAlarmMuteRuleInput {}
13
+ export interface DeleteAlarmMuteRuleCommandOutput extends __MetadataBearer {}
14
+ declare const DeleteAlarmMuteRuleCommand_base: {
15
+ new (
16
+ input: DeleteAlarmMuteRuleCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ DeleteAlarmMuteRuleCommandInput,
19
+ DeleteAlarmMuteRuleCommandOutput,
20
+ CloudWatchClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ new (
25
+ input: DeleteAlarmMuteRuleCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ DeleteAlarmMuteRuleCommandInput,
28
+ DeleteAlarmMuteRuleCommandOutput,
29
+ CloudWatchClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ export declare class DeleteAlarmMuteRuleCommand extends DeleteAlarmMuteRuleCommand_base {
36
+ protected static __types: {
37
+ api: {
38
+ input: DeleteAlarmMuteRuleInput;
39
+ output: {};
40
+ };
41
+ sdk: {
42
+ input: DeleteAlarmMuteRuleCommandInput;
43
+ output: DeleteAlarmMuteRuleCommandOutput;
44
+ };
45
+ };
46
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudWatchClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudWatchClient";
8
+ import {
9
+ GetAlarmMuteRuleInput,
10
+ GetAlarmMuteRuleOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetAlarmMuteRuleCommandInput extends GetAlarmMuteRuleInput {}
15
+ export interface GetAlarmMuteRuleCommandOutput
16
+ extends GetAlarmMuteRuleOutput,
17
+ __MetadataBearer {}
18
+ declare const GetAlarmMuteRuleCommand_base: {
19
+ new (
20
+ input: GetAlarmMuteRuleCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetAlarmMuteRuleCommandInput,
23
+ GetAlarmMuteRuleCommandOutput,
24
+ CloudWatchClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: GetAlarmMuteRuleCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetAlarmMuteRuleCommandInput,
32
+ GetAlarmMuteRuleCommandOutput,
33
+ CloudWatchClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetAlarmMuteRuleCommand extends GetAlarmMuteRuleCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GetAlarmMuteRuleInput;
43
+ output: GetAlarmMuteRuleOutput;
44
+ };
45
+ sdk: {
46
+ input: GetAlarmMuteRuleCommandInput;
47
+ output: GetAlarmMuteRuleCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudWatchClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudWatchClient";
8
+ import {
9
+ ListAlarmMuteRulesInput,
10
+ ListAlarmMuteRulesOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListAlarmMuteRulesCommandInput
15
+ extends ListAlarmMuteRulesInput {}
16
+ export interface ListAlarmMuteRulesCommandOutput
17
+ extends ListAlarmMuteRulesOutput,
18
+ __MetadataBearer {}
19
+ declare const ListAlarmMuteRulesCommand_base: {
20
+ new (
21
+ input: ListAlarmMuteRulesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListAlarmMuteRulesCommandInput,
24
+ ListAlarmMuteRulesCommandOutput,
25
+ CloudWatchClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [ListAlarmMuteRulesCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListAlarmMuteRulesCommandInput,
33
+ ListAlarmMuteRulesCommandOutput,
34
+ CloudWatchClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListAlarmMuteRulesCommand extends ListAlarmMuteRulesCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListAlarmMuteRulesInput;
44
+ output: ListAlarmMuteRulesOutput;
45
+ };
46
+ sdk: {
47
+ input: ListAlarmMuteRulesCommandInput;
48
+ output: ListAlarmMuteRulesCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,45 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudWatchClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudWatchClient";
8
+ import { PutAlarmMuteRuleInput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface PutAlarmMuteRuleCommandInput extends PutAlarmMuteRuleInput {}
12
+ export interface PutAlarmMuteRuleCommandOutput extends __MetadataBearer {}
13
+ declare const PutAlarmMuteRuleCommand_base: {
14
+ new (
15
+ input: PutAlarmMuteRuleCommandInput
16
+ ): import("@smithy/smithy-client").CommandImpl<
17
+ PutAlarmMuteRuleCommandInput,
18
+ PutAlarmMuteRuleCommandOutput,
19
+ CloudWatchClientResolvedConfig,
20
+ ServiceInputTypes,
21
+ ServiceOutputTypes
22
+ >;
23
+ new (
24
+ input: PutAlarmMuteRuleCommandInput
25
+ ): import("@smithy/smithy-client").CommandImpl<
26
+ PutAlarmMuteRuleCommandInput,
27
+ PutAlarmMuteRuleCommandOutput,
28
+ CloudWatchClientResolvedConfig,
29
+ ServiceInputTypes,
30
+ ServiceOutputTypes
31
+ >;
32
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
33
+ };
34
+ export declare class PutAlarmMuteRuleCommand extends PutAlarmMuteRuleCommand_base {
35
+ protected static __types: {
36
+ api: {
37
+ input: PutAlarmMuteRuleInput;
38
+ output: {};
39
+ };
40
+ sdk: {
41
+ input: PutAlarmMuteRuleCommandInput;
42
+ output: PutAlarmMuteRuleCommandOutput;
43
+ };
44
+ };
45
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./DeleteAlarmMuteRuleCommand";
1
2
  export * from "./DeleteAlarmsCommand";
2
3
  export * from "./DeleteAnomalyDetectorCommand";
3
4
  export * from "./DeleteDashboardsCommand";
@@ -13,17 +14,20 @@ export * from "./DisableAlarmActionsCommand";
13
14
  export * from "./DisableInsightRulesCommand";
14
15
  export * from "./EnableAlarmActionsCommand";
15
16
  export * from "./EnableInsightRulesCommand";
17
+ export * from "./GetAlarmMuteRuleCommand";
16
18
  export * from "./GetDashboardCommand";
17
19
  export * from "./GetInsightRuleReportCommand";
18
20
  export * from "./GetMetricDataCommand";
19
21
  export * from "./GetMetricStatisticsCommand";
20
22
  export * from "./GetMetricStreamCommand";
21
23
  export * from "./GetMetricWidgetImageCommand";
24
+ export * from "./ListAlarmMuteRulesCommand";
22
25
  export * from "./ListDashboardsCommand";
23
26
  export * from "./ListManagedInsightRulesCommand";
24
27
  export * from "./ListMetricStreamsCommand";
25
28
  export * from "./ListMetricsCommand";
26
29
  export * from "./ListTagsForResourceCommand";
30
+ export * from "./PutAlarmMuteRuleCommand";
27
31
  export * from "./PutAnomalyDetectorCommand";
28
32
  export * from "./PutCompositeAlarmCommand";
29
33
  export * from "./PutDashboardCommand";
@@ -19,6 +19,13 @@ export declare const HistoryItemType: {
19
19
  };
20
20
  export type HistoryItemType =
21
21
  (typeof HistoryItemType)[keyof typeof HistoryItemType];
22
+ export declare const AlarmMuteRuleStatus: {
23
+ readonly ACTIVE: "ACTIVE";
24
+ readonly EXPIRED: "EXPIRED";
25
+ readonly SCHEDULED: "SCHEDULED";
26
+ };
27
+ export type AlarmMuteRuleStatus =
28
+ (typeof AlarmMuteRuleStatus)[keyof typeof AlarmMuteRuleStatus];
22
29
  export declare const StandardUnit: {
23
30
  readonly Bits: "Bits";
24
31
  readonly Bits_Second: "Bits/Second";
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  ActionsSuppressedBy,
3
+ AlarmMuteRuleStatus,
3
4
  AlarmType,
4
5
  AnomalyDetectorStateValue,
5
6
  AnomalyDetectorType,
@@ -30,6 +31,13 @@ export interface AlarmHistoryItem {
30
31
  HistoryData?: string | undefined;
31
32
  AlarmContributorAttributes?: Record<string, string> | undefined;
32
33
  }
34
+ export interface AlarmMuteRuleSummary {
35
+ AlarmMuteRuleArn?: string | undefined;
36
+ ExpireDate?: Date | undefined;
37
+ Status?: AlarmMuteRuleStatus | undefined;
38
+ MuteType?: string | undefined;
39
+ LastUpdatedTimestamp?: Date | undefined;
40
+ }
33
41
  export interface Range {
34
42
  StartTime: Date | undefined;
35
43
  EndTime: Date | undefined;
@@ -133,6 +141,9 @@ export interface Datapoint {
133
141
  Unit?: StandardUnit | undefined;
134
142
  ExtendedStatistics?: Record<string, number> | undefined;
135
143
  }
144
+ export interface DeleteAlarmMuteRuleInput {
145
+ AlarmMuteRuleName: string | undefined;
146
+ }
136
147
  export interface DeleteAlarmsInput {
137
148
  AlarmNames: string[] | undefined;
138
149
  }
@@ -316,6 +327,32 @@ export interface EntityMetricData {
316
327
  Entity?: Entity | undefined;
317
328
  MetricData?: MetricDatum[] | undefined;
318
329
  }
330
+ export interface GetAlarmMuteRuleInput {
331
+ AlarmMuteRuleName: string | undefined;
332
+ }
333
+ export interface MuteTargets {
334
+ AlarmNames: string[] | undefined;
335
+ }
336
+ export interface Schedule {
337
+ Expression: string | undefined;
338
+ Duration: string | undefined;
339
+ Timezone?: string | undefined;
340
+ }
341
+ export interface Rule {
342
+ Schedule: Schedule | undefined;
343
+ }
344
+ export interface GetAlarmMuteRuleOutput {
345
+ Name?: string | undefined;
346
+ AlarmMuteRuleArn?: string | undefined;
347
+ Description?: string | undefined;
348
+ Rule?: Rule | undefined;
349
+ MuteTargets?: MuteTargets | undefined;
350
+ StartDate?: Date | undefined;
351
+ ExpireDate?: Date | undefined;
352
+ Status?: AlarmMuteRuleStatus | undefined;
353
+ LastUpdatedTimestamp?: Date | undefined;
354
+ MuteType?: string | undefined;
355
+ }
319
356
  export interface GetDashboardInput {
320
357
  DashboardName: string | undefined;
321
358
  }
@@ -440,6 +477,16 @@ export interface GetMetricWidgetImageInput {
440
477
  export interface GetMetricWidgetImageOutput {
441
478
  MetricWidgetImage?: Uint8Array | undefined;
442
479
  }
480
+ export interface ListAlarmMuteRulesInput {
481
+ AlarmName?: string | undefined;
482
+ Statuses?: AlarmMuteRuleStatus[] | undefined;
483
+ MaxRecords?: number | undefined;
484
+ NextToken?: string | undefined;
485
+ }
486
+ export interface ListAlarmMuteRulesOutput {
487
+ AlarmMuteRuleSummaries?: AlarmMuteRuleSummary[] | undefined;
488
+ NextToken?: string | undefined;
489
+ }
443
490
  export interface ListDashboardsInput {
444
491
  DashboardNamePrefix?: string | undefined;
445
492
  NextToken?: string | undefined;
@@ -507,6 +554,15 @@ export interface Tag {
507
554
  export interface ListTagsForResourceOutput {
508
555
  Tags?: Tag[] | undefined;
509
556
  }
557
+ export interface PutAlarmMuteRuleInput {
558
+ Name: string | undefined;
559
+ Description?: string | undefined;
560
+ Rule: Rule | undefined;
561
+ MuteTargets?: MuteTargets | undefined;
562
+ Tags?: Tag[] | undefined;
563
+ StartDate?: Date | undefined;
564
+ ExpireDate?: Date | undefined;
565
+ }
510
566
  export interface PutAnomalyDetectorInput {
511
567
  Namespace?: string | undefined;
512
568
  MetricName?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAlarmMuteRulesCommandInput,
4
+ ListAlarmMuteRulesCommandOutput,
5
+ } from "../commands/ListAlarmMuteRulesCommand";
6
+ import { CloudWatchPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListAlarmMuteRules: (
8
+ config: CloudWatchPaginationConfiguration,
9
+ input: ListAlarmMuteRulesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListAlarmMuteRulesCommandOutput>;
@@ -4,6 +4,7 @@ export * from "./DescribeAlarmsPaginator";
4
4
  export * from "./DescribeAnomalyDetectorsPaginator";
5
5
  export * from "./DescribeInsightRulesPaginator";
6
6
  export * from "./GetMetricDataPaginator";
7
+ export * from "./ListAlarmMuteRulesPaginator";
7
8
  export * from "./ListDashboardsPaginator";
8
9
  export * from "./ListManagedInsightRulesPaginator";
9
10
  export * from "./ListMetricsPaginator";
@@ -22,12 +22,14 @@ export declare var ResourceNotFoundException$: StaticErrorSchema;
22
22
  export declare const errorTypeRegistries: TypeRegistry[];
23
23
  export declare var AlarmContributor$: StaticStructureSchema;
24
24
  export declare var AlarmHistoryItem$: StaticStructureSchema;
25
+ export declare var AlarmMuteRuleSummary$: StaticStructureSchema;
25
26
  export declare var AnomalyDetector$: StaticStructureSchema;
26
27
  export declare var AnomalyDetectorConfiguration$: StaticStructureSchema;
27
28
  export declare var CompositeAlarm$: StaticStructureSchema;
28
29
  export declare var DashboardEntry$: StaticStructureSchema;
29
30
  export declare var DashboardValidationMessage$: StaticStructureSchema;
30
31
  export declare var Datapoint$: StaticStructureSchema;
32
+ export declare var DeleteAlarmMuteRuleInput$: StaticStructureSchema;
31
33
  export declare var DeleteAlarmsInput$: StaticStructureSchema;
32
34
  export declare var DeleteAnomalyDetectorInput$: StaticStructureSchema;
33
35
  export declare var DeleteAnomalyDetectorOutput$: StaticStructureSchema;
@@ -59,6 +61,8 @@ export declare var EnableInsightRulesInput$: StaticStructureSchema;
59
61
  export declare var EnableInsightRulesOutput$: StaticStructureSchema;
60
62
  export declare var Entity$: StaticStructureSchema;
61
63
  export declare var EntityMetricData$: StaticStructureSchema;
64
+ export declare var GetAlarmMuteRuleInput$: StaticStructureSchema;
65
+ export declare var GetAlarmMuteRuleOutput$: StaticStructureSchema;
62
66
  export declare var GetDashboardInput$: StaticStructureSchema;
63
67
  export declare var GetDashboardOutput$: StaticStructureSchema;
64
68
  export declare var GetInsightRuleReportInput$: StaticStructureSchema;
@@ -76,6 +80,8 @@ export declare var InsightRuleContributor$: StaticStructureSchema;
76
80
  export declare var InsightRuleContributorDatapoint$: StaticStructureSchema;
77
81
  export declare var InsightRuleMetricDatapoint$: StaticStructureSchema;
78
82
  export declare var LabelOptions$: StaticStructureSchema;
83
+ export declare var ListAlarmMuteRulesInput$: StaticStructureSchema;
84
+ export declare var ListAlarmMuteRulesOutput$: StaticStructureSchema;
79
85
  export declare var ListDashboardsInput$: StaticStructureSchema;
80
86
  export declare var ListDashboardsOutput$: StaticStructureSchema;
81
87
  export declare var ListManagedInsightRulesInput$: StaticStructureSchema;
@@ -102,7 +108,9 @@ export declare var MetricStreamEntry$: StaticStructureSchema;
102
108
  export declare var MetricStreamFilter$: StaticStructureSchema;
103
109
  export declare var MetricStreamStatisticsConfiguration$: StaticStructureSchema;
104
110
  export declare var MetricStreamStatisticsMetric$: StaticStructureSchema;
111
+ export declare var MuteTargets$: StaticStructureSchema;
105
112
  export declare var PartialFailure$: StaticStructureSchema;
113
+ export declare var PutAlarmMuteRuleInput$: StaticStructureSchema;
106
114
  export declare var PutAnomalyDetectorInput$: StaticStructureSchema;
107
115
  export declare var PutAnomalyDetectorOutput$: StaticStructureSchema;
108
116
  export declare var PutCompositeAlarmInput$: StaticStructureSchema;
@@ -117,6 +125,8 @@ export declare var PutMetricDataInput$: StaticStructureSchema;
117
125
  export declare var PutMetricStreamInput$: StaticStructureSchema;
118
126
  export declare var PutMetricStreamOutput$: StaticStructureSchema;
119
127
  export declare var Range$: StaticStructureSchema;
128
+ export declare var Rule$: StaticStructureSchema;
129
+ export declare var Schedule$: StaticStructureSchema;
120
130
  export declare var SetAlarmStateInput$: StaticStructureSchema;
121
131
  export declare var SingleMetricAnomalyDetector$: StaticStructureSchema;
122
132
  export declare var StartMetricStreamsInput$: StaticStructureSchema;
@@ -129,6 +139,7 @@ export declare var TagResourceInput$: StaticStructureSchema;
129
139
  export declare var TagResourceOutput$: StaticStructureSchema;
130
140
  export declare var UntagResourceInput$: StaticStructureSchema;
131
141
  export declare var UntagResourceOutput$: StaticStructureSchema;
142
+ export declare var DeleteAlarmMuteRule$: StaticOperationSchema;
132
143
  export declare var DeleteAlarms$: StaticOperationSchema;
133
144
  export declare var DeleteAnomalyDetector$: StaticOperationSchema;
134
145
  export declare var DeleteDashboards$: StaticOperationSchema;
@@ -144,17 +155,20 @@ export declare var DisableAlarmActions$: StaticOperationSchema;
144
155
  export declare var DisableInsightRules$: StaticOperationSchema;
145
156
  export declare var EnableAlarmActions$: StaticOperationSchema;
146
157
  export declare var EnableInsightRules$: StaticOperationSchema;
158
+ export declare var GetAlarmMuteRule$: StaticOperationSchema;
147
159
  export declare var GetDashboard$: StaticOperationSchema;
148
160
  export declare var GetInsightRuleReport$: StaticOperationSchema;
149
161
  export declare var GetMetricData$: StaticOperationSchema;
150
162
  export declare var GetMetricStatistics$: StaticOperationSchema;
151
163
  export declare var GetMetricStream$: StaticOperationSchema;
152
164
  export declare var GetMetricWidgetImage$: StaticOperationSchema;
165
+ export declare var ListAlarmMuteRules$: StaticOperationSchema;
153
166
  export declare var ListDashboards$: StaticOperationSchema;
154
167
  export declare var ListManagedInsightRules$: StaticOperationSchema;
155
168
  export declare var ListMetrics$: StaticOperationSchema;
156
169
  export declare var ListMetricStreams$: StaticOperationSchema;
157
170
  export declare var ListTagsForResource$: StaticOperationSchema;
171
+ export declare var PutAlarmMuteRule$: StaticOperationSchema;
158
172
  export declare var PutAnomalyDetector$: StaticOperationSchema;
159
173
  export declare var PutCompositeAlarm$: StaticOperationSchema;
160
174
  export declare var PutDashboard$: StaticOperationSchema;
@@ -1,2 +1,3 @@
1
1
  export * from "./waitForAlarmExists";
2
2
  export * from "./waitForCompositeAlarmExists";
3
+ export * from "./waitForAlarmMuteRuleExists";
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { CloudWatchClient } from "../CloudWatchClient";
3
+ import { GetAlarmMuteRuleCommandInput } from "../commands/GetAlarmMuteRuleCommand";
4
+ export declare const waitForAlarmMuteRuleExists: (
5
+ params: WaiterConfiguration<CloudWatchClient>,
6
+ input: GetAlarmMuteRuleCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilAlarmMuteRuleExists: (
9
+ params: WaiterConfiguration<CloudWatchClient>,
10
+ input: GetAlarmMuteRuleCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -1,2 +1,3 @@
1
1
  export * from "./waitForAlarmExists";
2
2
  export * from "./waitForCompositeAlarmExists";
3
+ export * from "./waitForAlarmMuteRuleExists";
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { CloudWatchClient } from "../CloudWatchClient";
3
+ import { GetAlarmMuteRuleCommandInput } from "../commands/GetAlarmMuteRuleCommand";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilAlarmMuteRuleExists instead. waitForAlarmMuteRuleExists does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForAlarmMuteRuleExists: (params: WaiterConfiguration<CloudWatchClient>, input: GetAlarmMuteRuleCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to GetAlarmMuteRuleCommand for polling.
13
+ */
14
+ export declare const waitUntilAlarmMuteRuleExists: (params: WaiterConfiguration<CloudWatchClient>, input: GetAlarmMuteRuleCommandInput) => Promise<WaiterResult>;
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.996.0",
4
+ "version": "3.997.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudwatch",
@@ -23,44 +23,44 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.12",
27
- "@aws-sdk/credential-provider-node": "^3.972.11",
28
- "@aws-sdk/middleware-host-header": "^3.972.3",
29
- "@aws-sdk/middleware-logger": "^3.972.3",
30
- "@aws-sdk/middleware-recursion-detection": "^3.972.3",
31
- "@aws-sdk/middleware-user-agent": "^3.972.12",
32
- "@aws-sdk/region-config-resolver": "^3.972.3",
33
- "@aws-sdk/types": "^3.973.1",
34
- "@aws-sdk/util-endpoints": "3.996.0",
35
- "@aws-sdk/util-user-agent-browser": "^3.972.3",
36
- "@aws-sdk/util-user-agent-node": "^3.972.11",
37
- "@smithy/config-resolver": "^4.4.6",
38
- "@smithy/core": "^3.23.2",
39
- "@smithy/fetch-http-handler": "^5.3.9",
40
- "@smithy/hash-node": "^4.2.8",
41
- "@smithy/invalid-dependency": "^4.2.8",
42
- "@smithy/middleware-compression": "^4.3.31",
43
- "@smithy/middleware-content-length": "^4.2.8",
44
- "@smithy/middleware-endpoint": "^4.4.16",
45
- "@smithy/middleware-retry": "^4.4.33",
46
- "@smithy/middleware-serde": "^4.2.9",
47
- "@smithy/middleware-stack": "^4.2.8",
48
- "@smithy/node-config-provider": "^4.3.8",
49
- "@smithy/node-http-handler": "^4.4.10",
50
- "@smithy/protocol-http": "^5.3.8",
51
- "@smithy/smithy-client": "^4.11.5",
52
- "@smithy/types": "^4.12.0",
53
- "@smithy/url-parser": "^4.2.8",
54
- "@smithy/util-base64": "^4.3.0",
55
- "@smithy/util-body-length-browser": "^4.2.0",
56
- "@smithy/util-body-length-node": "^4.2.1",
57
- "@smithy/util-defaults-mode-browser": "^4.3.32",
58
- "@smithy/util-defaults-mode-node": "^4.2.35",
59
- "@smithy/util-endpoints": "^3.2.8",
60
- "@smithy/util-middleware": "^4.2.8",
61
- "@smithy/util-retry": "^4.2.8",
62
- "@smithy/util-utf8": "^4.2.0",
63
- "@smithy/util-waiter": "^4.2.8",
26
+ "@aws-sdk/core": "^3.973.13",
27
+ "@aws-sdk/credential-provider-node": "^3.972.12",
28
+ "@aws-sdk/middleware-host-header": "^3.972.4",
29
+ "@aws-sdk/middleware-logger": "^3.972.4",
30
+ "@aws-sdk/middleware-recursion-detection": "^3.972.4",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.13",
32
+ "@aws-sdk/region-config-resolver": "^3.972.4",
33
+ "@aws-sdk/types": "^3.973.2",
34
+ "@aws-sdk/util-endpoints": "^3.996.1",
35
+ "@aws-sdk/util-user-agent-browser": "^3.972.4",
36
+ "@aws-sdk/util-user-agent-node": "^3.972.12",
37
+ "@smithy/config-resolver": "^4.4.7",
38
+ "@smithy/core": "^3.23.4",
39
+ "@smithy/fetch-http-handler": "^5.3.10",
40
+ "@smithy/hash-node": "^4.2.9",
41
+ "@smithy/invalid-dependency": "^4.2.9",
42
+ "@smithy/middleware-compression": "^4.3.33",
43
+ "@smithy/middleware-content-length": "^4.2.9",
44
+ "@smithy/middleware-endpoint": "^4.4.18",
45
+ "@smithy/middleware-retry": "^4.4.35",
46
+ "@smithy/middleware-serde": "^4.2.10",
47
+ "@smithy/middleware-stack": "^4.2.9",
48
+ "@smithy/node-config-provider": "^4.3.9",
49
+ "@smithy/node-http-handler": "^4.4.11",
50
+ "@smithy/protocol-http": "^5.3.9",
51
+ "@smithy/smithy-client": "^4.11.7",
52
+ "@smithy/types": "^4.12.1",
53
+ "@smithy/url-parser": "^4.2.9",
54
+ "@smithy/util-base64": "^4.3.1",
55
+ "@smithy/util-body-length-browser": "^4.2.1",
56
+ "@smithy/util-body-length-node": "^4.2.2",
57
+ "@smithy/util-defaults-mode-browser": "^4.3.34",
58
+ "@smithy/util-defaults-mode-node": "^4.2.37",
59
+ "@smithy/util-endpoints": "^3.2.9",
60
+ "@smithy/util-middleware": "^4.2.9",
61
+ "@smithy/util-retry": "^4.2.9",
62
+ "@smithy/util-utf8": "^4.2.1",
63
+ "@smithy/util-waiter": "^4.2.9",
64
64
  "tslib": "^2.6.2"
65
65
  },
66
66
  "devDependencies": {