@aws-sdk/client-cloudwatch 3.1076.0 → 3.1078.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 (175) hide show
  1. package/dist-cjs/index.js +189 -612
  2. package/dist-es/commandBuilder.js +12 -0
  3. package/dist-es/commands/AssociateDatasetKmsKeyCommand.js +2 -14
  4. package/dist-es/commands/DeleteAlarmMuteRuleCommand.js +2 -14
  5. package/dist-es/commands/DeleteAlarmsCommand.js +2 -14
  6. package/dist-es/commands/DeleteAnomalyDetectorCommand.js +2 -14
  7. package/dist-es/commands/DeleteDashboardsCommand.js +2 -14
  8. package/dist-es/commands/DeleteInsightRulesCommand.js +2 -14
  9. package/dist-es/commands/DeleteMetricStreamCommand.js +2 -14
  10. package/dist-es/commands/DescribeAlarmContributorsCommand.js +2 -14
  11. package/dist-es/commands/DescribeAlarmHistoryCommand.js +2 -14
  12. package/dist-es/commands/DescribeAlarmsCommand.js +2 -14
  13. package/dist-es/commands/DescribeAlarmsForMetricCommand.js +2 -14
  14. package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +2 -14
  15. package/dist-es/commands/DescribeInsightRulesCommand.js +2 -14
  16. package/dist-es/commands/DisableAlarmActionsCommand.js +2 -14
  17. package/dist-es/commands/DisableInsightRulesCommand.js +2 -14
  18. package/dist-es/commands/DisassociateDatasetKmsKeyCommand.js +2 -14
  19. package/dist-es/commands/EnableAlarmActionsCommand.js +2 -14
  20. package/dist-es/commands/EnableInsightRulesCommand.js +2 -14
  21. package/dist-es/commands/GetAlarmMuteRuleCommand.js +2 -14
  22. package/dist-es/commands/GetDashboardCommand.js +2 -14
  23. package/dist-es/commands/GetDatasetCommand.js +2 -14
  24. package/dist-es/commands/GetInsightRuleReportCommand.js +2 -14
  25. package/dist-es/commands/GetMetricDataCommand.js +2 -14
  26. package/dist-es/commands/GetMetricStatisticsCommand.js +2 -14
  27. package/dist-es/commands/GetMetricStreamCommand.js +2 -14
  28. package/dist-es/commands/GetMetricWidgetImageCommand.js +2 -14
  29. package/dist-es/commands/GetOTelEnrichmentCommand.js +2 -14
  30. package/dist-es/commands/ListAlarmMuteRulesCommand.js +2 -14
  31. package/dist-es/commands/ListDashboardsCommand.js +2 -14
  32. package/dist-es/commands/ListManagedInsightRulesCommand.js +2 -14
  33. package/dist-es/commands/ListMetricStreamsCommand.js +2 -14
  34. package/dist-es/commands/ListMetricsCommand.js +2 -14
  35. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  36. package/dist-es/commands/PutAlarmMuteRuleCommand.js +2 -14
  37. package/dist-es/commands/PutAnomalyDetectorCommand.js +2 -14
  38. package/dist-es/commands/PutCompositeAlarmCommand.js +2 -14
  39. package/dist-es/commands/PutDashboardCommand.js +2 -14
  40. package/dist-es/commands/PutInsightRuleCommand.js +2 -14
  41. package/dist-es/commands/PutLogAlarmCommand.js +2 -14
  42. package/dist-es/commands/PutManagedInsightRulesCommand.js +2 -14
  43. package/dist-es/commands/PutMetricAlarmCommand.js +2 -14
  44. package/dist-es/commands/PutMetricDataCommand.js +2 -20
  45. package/dist-es/commands/PutMetricStreamCommand.js +2 -14
  46. package/dist-es/commands/SetAlarmStateCommand.js +2 -14
  47. package/dist-es/commands/StartMetricStreamsCommand.js +2 -14
  48. package/dist-es/commands/StartOTelEnrichmentCommand.js +2 -14
  49. package/dist-es/commands/StopMetricStreamsCommand.js +2 -14
  50. package/dist-es/commands/StopOTelEnrichmentCommand.js +2 -14
  51. package/dist-es/commands/TagResourceCommand.js +2 -14
  52. package/dist-es/commands/UntagResourceCommand.js +2 -14
  53. package/dist-es/index.js +1 -0
  54. package/dist-es/runtimeConfig.browser.js +0 -2
  55. package/dist-es/runtimeConfig.js +1 -2
  56. package/dist-es/runtimeConfig.native.js +0 -2
  57. package/dist-es/runtimeConfig.shared.js +2 -0
  58. package/dist-es/schemas/schemas_0.js +22 -4
  59. package/dist-types/commandBuilder.d.ts +22 -0
  60. package/dist-types/commands/AssociateDatasetKmsKeyCommand.d.ts +3 -8
  61. package/dist-types/commands/DeleteAlarmMuteRuleCommand.d.ts +3 -8
  62. package/dist-types/commands/DeleteAlarmsCommand.d.ts +3 -8
  63. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +3 -8
  64. package/dist-types/commands/DeleteDashboardsCommand.d.ts +3 -8
  65. package/dist-types/commands/DeleteInsightRulesCommand.d.ts +3 -8
  66. package/dist-types/commands/DeleteMetricStreamCommand.d.ts +3 -8
  67. package/dist-types/commands/DescribeAlarmContributorsCommand.d.ts +3 -8
  68. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +3 -8
  69. package/dist-types/commands/DescribeAlarmsCommand.d.ts +9 -8
  70. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +9 -8
  71. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +3 -8
  72. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +3 -8
  73. package/dist-types/commands/DisableAlarmActionsCommand.d.ts +3 -8
  74. package/dist-types/commands/DisableInsightRulesCommand.d.ts +3 -8
  75. package/dist-types/commands/DisassociateDatasetKmsKeyCommand.d.ts +3 -8
  76. package/dist-types/commands/EnableAlarmActionsCommand.d.ts +3 -8
  77. package/dist-types/commands/EnableInsightRulesCommand.d.ts +3 -8
  78. package/dist-types/commands/GetAlarmMuteRuleCommand.d.ts +3 -8
  79. package/dist-types/commands/GetDashboardCommand.d.ts +3 -8
  80. package/dist-types/commands/GetDatasetCommand.d.ts +3 -8
  81. package/dist-types/commands/GetInsightRuleReportCommand.d.ts +3 -8
  82. package/dist-types/commands/GetMetricDataCommand.d.ts +3 -8
  83. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +3 -8
  84. package/dist-types/commands/GetMetricStreamCommand.d.ts +3 -8
  85. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +3 -8
  86. package/dist-types/commands/GetOTelEnrichmentCommand.d.ts +3 -8
  87. package/dist-types/commands/ListAlarmMuteRulesCommand.d.ts +3 -8
  88. package/dist-types/commands/ListDashboardsCommand.d.ts +3 -8
  89. package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +3 -8
  90. package/dist-types/commands/ListMetricStreamsCommand.d.ts +3 -8
  91. package/dist-types/commands/ListMetricsCommand.d.ts +3 -8
  92. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  93. package/dist-types/commands/PutAlarmMuteRuleCommand.d.ts +3 -8
  94. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +3 -8
  95. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +3 -8
  96. package/dist-types/commands/PutDashboardCommand.d.ts +3 -8
  97. package/dist-types/commands/PutInsightRuleCommand.d.ts +3 -8
  98. package/dist-types/commands/PutLogAlarmCommand.d.ts +3 -8
  99. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +3 -8
  100. package/dist-types/commands/PutMetricAlarmCommand.d.ts +9 -8
  101. package/dist-types/commands/PutMetricDataCommand.d.ts +3 -8
  102. package/dist-types/commands/PutMetricStreamCommand.d.ts +3 -8
  103. package/dist-types/commands/SetAlarmStateCommand.d.ts +3 -8
  104. package/dist-types/commands/StartMetricStreamsCommand.d.ts +3 -8
  105. package/dist-types/commands/StartOTelEnrichmentCommand.d.ts +3 -8
  106. package/dist-types/commands/StopMetricStreamsCommand.d.ts +3 -8
  107. package/dist-types/commands/StopOTelEnrichmentCommand.d.ts +3 -8
  108. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  109. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  110. package/dist-types/index.d.ts +1 -0
  111. package/dist-types/models/models_0.d.ts +116 -0
  112. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  113. package/dist-types/runtimeConfig.d.ts +1 -1
  114. package/dist-types/runtimeConfig.native.d.ts +1 -1
  115. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  116. package/dist-types/schemas/schemas_0.d.ts +3 -0
  117. package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
  118. package/dist-types/ts3.4/commands/AssociateDatasetKmsKeyCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/DeleteAlarmMuteRuleCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/DeleteAlarmsCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/DeleteDashboardsCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/DeleteInsightRulesCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/DeleteMetricStreamCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/DescribeAlarmContributorsCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/DescribeAlarmHistoryCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/DescribeAlarmsCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/DescribeAlarmsForMetricCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/DescribeAnomalyDetectorsCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/DescribeInsightRulesCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/DisableAlarmActionsCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/DisableInsightRulesCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/DisassociateDatasetKmsKeyCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/EnableAlarmActionsCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/EnableInsightRulesCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/GetAlarmMuteRuleCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/GetDatasetCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/GetInsightRuleReportCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/GetMetricStatisticsCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/GetMetricStreamCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/GetMetricWidgetImageCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/GetOTelEnrichmentCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/ListAlarmMuteRulesCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/ListManagedInsightRulesCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/ListMetricStreamsCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/PutAlarmMuteRuleCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/PutCompositeAlarmCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/PutDashboardCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/PutInsightRuleCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/PutLogAlarmCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/PutManagedInsightRulesCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/PutMetricAlarmCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/PutMetricDataCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/commands/PutMetricStreamCommand.d.ts +7 -16
  161. package/dist-types/ts3.4/commands/SetAlarmStateCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/StartMetricStreamsCommand.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/StartOTelEnrichmentCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/StopMetricStreamsCommand.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/StopOTelEnrichmentCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/index.d.ts +1 -0
  169. package/dist-types/ts3.4/models/models_0.d.ts +32 -0
  170. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  171. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  172. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  173. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  174. package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  175. package/package.json +10 -12
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CloudWatchClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CloudWatchClient";
8
2
  import {
9
3
  StartMetricStreamsInput,
10
4
  StartMetricStreamsOutput,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartMetricStreamsCommandInput
15
8
  extends StartMetricStreamsInput {}
16
9
  export interface StartMetricStreamsCommandOutput
@@ -22,22 +15,20 @@ declare const StartMetricStreamsCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartMetricStreamsCommandInput,
24
17
  StartMetricStreamsCommandOutput,
25
- CloudWatchClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CloudWatchClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartMetricStreamsCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartMetricStreamsCommandInput,
33
26
  StartMetricStreamsCommandOutput,
34
- CloudWatchClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CloudWatchClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartMetricStreamsCommand extends StartMetricStreamsCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CloudWatchClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CloudWatchClient";
8
2
  import {
9
3
  StartOTelEnrichmentInput,
10
4
  StartOTelEnrichmentOutput,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartOTelEnrichmentCommandInput
15
8
  extends StartOTelEnrichmentInput {}
16
9
  export interface StartOTelEnrichmentCommandOutput
@@ -22,22 +15,20 @@ declare const StartOTelEnrichmentCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartOTelEnrichmentCommandInput,
24
17
  StartOTelEnrichmentCommandOutput,
25
- CloudWatchClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CloudWatchClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  ...[input]: [] | [StartOTelEnrichmentCommandInput]
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartOTelEnrichmentCommandInput,
33
26
  StartOTelEnrichmentCommandOutput,
34
- CloudWatchClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CloudWatchClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartOTelEnrichmentCommand extends StartOTelEnrichmentCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CloudWatchClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CloudWatchClient";
8
2
  import {
9
3
  StopMetricStreamsInput,
10
4
  StopMetricStreamsOutput,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StopMetricStreamsCommandInput extends StopMetricStreamsInput {}
15
8
  export interface StopMetricStreamsCommandOutput
16
9
  extends StopMetricStreamsOutput,
@@ -21,22 +14,20 @@ declare const StopMetricStreamsCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  StopMetricStreamsCommandInput,
23
16
  StopMetricStreamsCommandOutput,
24
- CloudWatchClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").CloudWatchClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: StopMetricStreamsCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  StopMetricStreamsCommandInput,
32
25
  StopMetricStreamsCommandOutput,
33
- CloudWatchClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").CloudWatchClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class StopMetricStreamsCommand extends StopMetricStreamsCommand_base {
42
33
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CloudWatchClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CloudWatchClient";
8
2
  import {
9
3
  StopOTelEnrichmentInput,
10
4
  StopOTelEnrichmentOutput,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StopOTelEnrichmentCommandInput
15
8
  extends StopOTelEnrichmentInput {}
16
9
  export interface StopOTelEnrichmentCommandOutput
@@ -22,22 +15,20 @@ declare const StopOTelEnrichmentCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StopOTelEnrichmentCommandInput,
24
17
  StopOTelEnrichmentCommandOutput,
25
- CloudWatchClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CloudWatchClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  ...[input]: [] | [StopOTelEnrichmentCommandInput]
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StopOTelEnrichmentCommandInput,
33
26
  StopOTelEnrichmentCommandOutput,
34
- CloudWatchClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CloudWatchClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StopOTelEnrichmentCommand extends StopOTelEnrichmentCommand_base {
43
34
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CloudWatchClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CloudWatchClient";
8
2
  import { TagResourceInput, TagResourceOutput } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface TagResourceCommandInput extends TagResourceInput {}
12
5
  export interface TagResourceCommandOutput
13
6
  extends TagResourceOutput,
@@ -18,22 +11,20 @@ declare const TagResourceCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  TagResourceCommandInput,
20
13
  TagResourceCommandOutput,
21
- CloudWatchClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").CloudWatchClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: TagResourceCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  TagResourceCommandInput,
29
22
  TagResourceCommandOutput,
30
- CloudWatchClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").CloudWatchClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class TagResourceCommand extends TagResourceCommand_base {
39
30
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- CloudWatchClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CloudWatchClient";
8
2
  import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface UntagResourceCommandInput extends UntagResourceInput {}
12
5
  export interface UntagResourceCommandOutput
13
6
  extends UntagResourceOutput,
@@ -18,22 +11,20 @@ declare const UntagResourceCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  UntagResourceCommandInput,
20
13
  UntagResourceCommandOutput,
21
- CloudWatchClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").CloudWatchClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: UntagResourceCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  UntagResourceCommandInput,
29
22
  UntagResourceCommandOutput,
30
- CloudWatchClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").CloudWatchClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
39
30
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CloudWatchExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./pagination";
9
10
  export * from "./waiters";
@@ -274,6 +274,36 @@ export declare namespace EvaluationCriteria {
274
274
  _: (name: string, value: any) => T;
275
275
  }
276
276
  }
277
+ export interface SlidingWindow {}
278
+ export interface WallClockWindow {
279
+ Timezone?: string | undefined;
280
+ }
281
+ export type EvaluationWindow =
282
+ | EvaluationWindow.SlidingWindowMember
283
+ | EvaluationWindow.WallClockWindowMember
284
+ | EvaluationWindow.$UnknownMember;
285
+ export declare namespace EvaluationWindow {
286
+ interface WallClockWindowMember {
287
+ WallClockWindow: WallClockWindow;
288
+ SlidingWindow?: never;
289
+ $unknown?: never;
290
+ }
291
+ interface SlidingWindowMember {
292
+ WallClockWindow?: never;
293
+ SlidingWindow: SlidingWindow;
294
+ $unknown?: never;
295
+ }
296
+ interface $UnknownMember {
297
+ WallClockWindow?: never;
298
+ SlidingWindow?: never;
299
+ $unknown: [string, any];
300
+ }
301
+ interface Visitor<T> {
302
+ WallClockWindow: (value: WallClockWindow) => T;
303
+ SlidingWindow: (value: SlidingWindow) => T;
304
+ _: (name: string, value: any) => T;
305
+ }
306
+ }
277
307
  export interface MetricAlarm {
278
308
  AlarmName?: string | undefined;
279
309
  AlarmArn?: string | undefined;
@@ -304,6 +334,7 @@ export interface MetricAlarm {
304
334
  ThresholdMetricId?: string | undefined;
305
335
  EvaluationState?: EvaluationState | undefined;
306
336
  StateTransitionedTimestamp?: Date | undefined;
337
+ EvaluationWindow?: EvaluationWindow | undefined;
307
338
  EvaluationCriteria?: EvaluationCriteria | undefined;
308
339
  EvaluationInterval?: number | undefined;
309
340
  }
@@ -739,6 +770,7 @@ export interface PutMetricAlarmInput {
739
770
  Metrics?: MetricDataQuery[] | undefined;
740
771
  Tags?: Tag[] | undefined;
741
772
  ThresholdMetricId?: string | undefined;
773
+ EvaluationWindow?: EvaluationWindow | undefined;
742
774
  EvaluationCriteria?: EvaluationCriteria | undefined;
743
775
  EvaluationInterval?: number | undefined;
744
776
  }
@@ -26,7 +26,6 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
26
26
  | number
27
27
  | import("@smithy/types").Provider<number>;
28
28
  retryMode: string | import("@smithy/types").Provider<string>;
29
- sha256: import("@smithy/types").HashConstructor;
30
29
  streamCollector: (
31
30
  stream:
32
31
  | import("stream").Readable
@@ -48,6 +47,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
48
47
  [setting: string]: unknown;
49
48
  };
50
49
  apiVersion: string;
50
+ sha256: import("@smithy/types").HashConstructor;
51
51
  urlParser: import("@smithy/types").UrlParser;
52
52
  base64Decoder: import("@smithy/types").Decoder;
53
53
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -27,7 +27,6 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
27
27
  | number
28
28
  | import("@smithy/types").Provider<number>;
29
29
  retryMode: string | import("@smithy/types").Provider<string>;
30
- sha256: import("@smithy/types").HashConstructor;
31
30
  streamCollector: (
32
31
  stream:
33
32
  | import("stream").Readable
@@ -48,6 +47,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
48
47
  [setting: string]: unknown;
49
48
  };
50
49
  apiVersion: string;
50
+ sha256: import("@smithy/types").HashConstructor;
51
51
  urlParser: import("@smithy/types").UrlParser;
52
52
  base64Decoder: import("@smithy/types").Decoder;
53
53
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -1,7 +1,6 @@
1
1
  import { CloudWatchClientConfig } from "./CloudWatchClient";
2
2
  export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@smithy/types").HashConstructor;
5
4
  requestHandler:
6
5
  | import("@smithy/types").NodeHttpHandlerOptions
7
6
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
18
17
  [setting: string]: unknown;
19
18
  };
20
19
  apiVersion: string;
20
+ sha256: import("@smithy/types").HashConstructor;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
24
24
  defaultNamespace?: string;
25
25
  };
26
26
  serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
27
28
  urlParser: import("@smithy/types").UrlParser;
28
29
  utf8Decoder: import("@smithy/types").Decoder;
29
30
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -147,6 +147,7 @@ export declare var ScheduleConfiguration$: StaticStructureSchema;
147
147
  export declare var ScheduledQueryConfiguration$: StaticStructureSchema;
148
148
  export declare var SetAlarmStateInput$: StaticStructureSchema;
149
149
  export declare var SingleMetricAnomalyDetector$: StaticStructureSchema;
150
+ export declare var SlidingWindow$: StaticStructureSchema;
150
151
  export declare var StartMetricStreamsInput$: StaticStructureSchema;
151
152
  export declare var StartMetricStreamsOutput$: StaticStructureSchema;
152
153
  export declare var StartOTelEnrichmentInput$: StaticStructureSchema;
@@ -161,7 +162,9 @@ export declare var TagResourceInput$: StaticStructureSchema;
161
162
  export declare var TagResourceOutput$: StaticStructureSchema;
162
163
  export declare var UntagResourceInput$: StaticStructureSchema;
163
164
  export declare var UntagResourceOutput$: StaticStructureSchema;
165
+ export declare var WallClockWindow$: StaticStructureSchema;
164
166
  export declare var EvaluationCriteria$: StaticUnionSchema;
167
+ export declare var EvaluationWindow$: StaticUnionSchema;
165
168
  export declare var AssociateDatasetKmsKey$: StaticOperationSchema;
166
169
  export declare var DeleteAlarmMuteRule$: StaticOperationSchema;
167
170
  export declare var DeleteAlarms$: StaticOperationSchema;
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.1076.0",
4
+ "version": "3.1078.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",
@@ -25,20 +25,18 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@aws-crypto/sha256-browser": "5.2.0",
29
- "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/core": "^3.974.24",
31
- "@aws-sdk/credential-provider-node": "^3.972.59",
32
- "@aws-sdk/types": "^3.973.14",
33
- "@smithy/core": "^3.27.0",
34
- "@smithy/fetch-http-handler": "^5.6.0",
35
- "@smithy/middleware-compression": "^4.5.3",
36
- "@smithy/node-http-handler": "^4.9.0",
37
- "@smithy/types": "^4.15.0",
28
+ "@aws-sdk/core": "^3.974.26",
29
+ "@aws-sdk/credential-provider-node": "^3.972.61",
30
+ "@aws-sdk/types": "^3.973.15",
31
+ "@smithy/core": "^3.29.0",
32
+ "@smithy/fetch-http-handler": "^5.6.2",
33
+ "@smithy/middleware-compression": "^4.5.5",
34
+ "@smithy/node-http-handler": "^4.9.2",
35
+ "@smithy/types": "^4.15.1",
38
36
  "tslib": "^2.6.2"
39
37
  },
40
38
  "devDependencies": {
41
- "@smithy/snapshot-testing": "^2.2.3",
39
+ "@smithy/snapshot-testing": "^2.2.5",
42
40
  "@tsconfig/node20": "20.1.8",
43
41
  "@types/node": "^20.14.8",
44
42
  "concurrently": "7.0.0",