@aws-sdk/client-cloudwatch 3.890.0 → 3.891.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 (40) hide show
  1. package/dist-types/commands/DeleteAlarmsCommand.d.ts +2 -0
  2. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +2 -0
  3. package/dist-types/commands/DeleteDashboardsCommand.d.ts +2 -0
  4. package/dist-types/commands/DeleteInsightRulesCommand.d.ts +2 -0
  5. package/dist-types/commands/DeleteMetricStreamCommand.d.ts +2 -0
  6. package/dist-types/commands/DescribeAlarmContributorsCommand.d.ts +2 -0
  7. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +2 -0
  8. package/dist-types/commands/DescribeAlarmsCommand.d.ts +2 -0
  9. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +2 -0
  10. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +2 -0
  11. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +2 -0
  12. package/dist-types/commands/DisableAlarmActionsCommand.d.ts +2 -0
  13. package/dist-types/commands/DisableInsightRulesCommand.d.ts +2 -0
  14. package/dist-types/commands/EnableAlarmActionsCommand.d.ts +2 -0
  15. package/dist-types/commands/EnableInsightRulesCommand.d.ts +2 -0
  16. package/dist-types/commands/GetDashboardCommand.d.ts +2 -0
  17. package/dist-types/commands/GetInsightRuleReportCommand.d.ts +2 -0
  18. package/dist-types/commands/GetMetricDataCommand.d.ts +2 -0
  19. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +2 -0
  20. package/dist-types/commands/GetMetricStreamCommand.d.ts +2 -0
  21. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +2 -0
  22. package/dist-types/commands/ListDashboardsCommand.d.ts +2 -0
  23. package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +2 -0
  24. package/dist-types/commands/ListMetricStreamsCommand.d.ts +2 -0
  25. package/dist-types/commands/ListMetricsCommand.d.ts +2 -0
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  27. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +2 -0
  28. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +2 -0
  29. package/dist-types/commands/PutDashboardCommand.d.ts +2 -0
  30. package/dist-types/commands/PutInsightRuleCommand.d.ts +2 -0
  31. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +2 -0
  32. package/dist-types/commands/PutMetricAlarmCommand.d.ts +2 -0
  33. package/dist-types/commands/PutMetricDataCommand.d.ts +2 -0
  34. package/dist-types/commands/PutMetricStreamCommand.d.ts +2 -0
  35. package/dist-types/commands/SetAlarmStateCommand.d.ts +2 -0
  36. package/dist-types/commands/StartMetricStreamsCommand.d.ts +2 -0
  37. package/dist-types/commands/StopMetricStreamsCommand.d.ts +2 -0
  38. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  39. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  40. package/package.json +10 -10
@@ -52,6 +52,8 @@ declare const DeleteAlarmsCommand_base: {
52
52
  * ```javascript
53
53
  * import { CloudWatchClient, DeleteAlarmsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
54
54
  * // const { CloudWatchClient, DeleteAlarmsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
55
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
56
+ * const config = {}; // type is CloudWatchClientConfig
55
57
  * const client = new CloudWatchClient(config);
56
58
  * const input = { // DeleteAlarmsInput
57
59
  * AlarmNames: [ // AlarmNames // required
@@ -35,6 +35,8 @@ declare const DeleteAnomalyDetectorCommand_base: {
35
35
  * ```javascript
36
36
  * import { CloudWatchClient, DeleteAnomalyDetectorCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
37
37
  * // const { CloudWatchClient, DeleteAnomalyDetectorCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
38
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
39
+ * const config = {}; // type is CloudWatchClientConfig
38
40
  * const client = new CloudWatchClient(config);
39
41
  * const input = { // DeleteAnomalyDetectorInput
40
42
  * Namespace: "STRING_VALUE",
@@ -34,6 +34,8 @@ declare const DeleteDashboardsCommand_base: {
34
34
  * ```javascript
35
35
  * import { CloudWatchClient, DeleteDashboardsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
36
36
  * // const { CloudWatchClient, DeleteDashboardsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
37
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
38
+ * const config = {}; // type is CloudWatchClientConfig
37
39
  * const client = new CloudWatchClient(config);
38
40
  * const input = { // DeleteDashboardsInput
39
41
  * DashboardNames: [ // DashboardNames // required
@@ -35,6 +35,8 @@ declare const DeleteInsightRulesCommand_base: {
35
35
  * ```javascript
36
36
  * import { CloudWatchClient, DeleteInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
37
37
  * // const { CloudWatchClient, DeleteInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
38
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
39
+ * const config = {}; // type is CloudWatchClientConfig
38
40
  * const client = new CloudWatchClient(config);
39
41
  * const input = { // DeleteInsightRulesInput
40
42
  * RuleNames: [ // InsightRuleNames // required
@@ -33,6 +33,8 @@ declare const DeleteMetricStreamCommand_base: {
33
33
  * ```javascript
34
34
  * import { CloudWatchClient, DeleteMetricStreamCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
35
35
  * // const { CloudWatchClient, DeleteMetricStreamCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
36
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
37
+ * const config = {}; // type is CloudWatchClientConfig
36
38
  * const client = new CloudWatchClient(config);
37
39
  * const input = { // DeleteMetricStreamInput
38
40
  * Name: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const DescribeAlarmContributorsCommand_base: {
33
33
  * ```javascript
34
34
  * import { CloudWatchClient, DescribeAlarmContributorsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
35
35
  * // const { CloudWatchClient, DescribeAlarmContributorsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
36
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
37
+ * const config = {}; // type is CloudWatchClientConfig
36
38
  * const client = new CloudWatchClient(config);
37
39
  * const input = { // DescribeAlarmContributorsInput
38
40
  * AlarmName: "STRING_VALUE", // required
@@ -40,6 +40,8 @@ declare const DescribeAlarmHistoryCommand_base: {
40
40
  * ```javascript
41
41
  * import { CloudWatchClient, DescribeAlarmHistoryCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
42
42
  * // const { CloudWatchClient, DescribeAlarmHistoryCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
43
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
44
+ * const config = {}; // type is CloudWatchClientConfig
43
45
  * const client = new CloudWatchClient(config);
44
46
  * const input = { // DescribeAlarmHistoryInput
45
47
  * AlarmName: "STRING_VALUE",
@@ -38,6 +38,8 @@ declare const DescribeAlarmsCommand_base: {
38
38
  * ```javascript
39
39
  * import { CloudWatchClient, DescribeAlarmsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
40
40
  * // const { CloudWatchClient, DescribeAlarmsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
41
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
42
+ * const config = {}; // type is CloudWatchClientConfig
41
43
  * const client = new CloudWatchClient(config);
42
44
  * const input = { // DescribeAlarmsInput
43
45
  * AlarmNames: [ // AlarmNames
@@ -37,6 +37,8 @@ declare const DescribeAlarmsForMetricCommand_base: {
37
37
  * ```javascript
38
38
  * import { CloudWatchClient, DescribeAlarmsForMetricCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
39
39
  * // const { CloudWatchClient, DescribeAlarmsForMetricCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
40
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
41
+ * const config = {}; // type is CloudWatchClientConfig
40
42
  * const client = new CloudWatchClient(config);
41
43
  * const input = { // DescribeAlarmsForMetricInput
42
44
  * MetricName: "STRING_VALUE", // required
@@ -38,6 +38,8 @@ declare const DescribeAnomalyDetectorsCommand_base: {
38
38
  * ```javascript
39
39
  * import { CloudWatchClient, DescribeAnomalyDetectorsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
40
40
  * // const { CloudWatchClient, DescribeAnomalyDetectorsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
41
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
42
+ * const config = {}; // type is CloudWatchClientConfig
41
43
  * const client = new CloudWatchClient(config);
42
44
  * const input = { // DescribeAnomalyDetectorsInput
43
45
  * NextToken: "STRING_VALUE",
@@ -35,6 +35,8 @@ declare const DescribeInsightRulesCommand_base: {
35
35
  * ```javascript
36
36
  * import { CloudWatchClient, DescribeInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
37
37
  * // const { CloudWatchClient, DescribeInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
38
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
39
+ * const config = {}; // type is CloudWatchClientConfig
38
40
  * const client = new CloudWatchClient(config);
39
41
  * const input = { // DescribeInsightRulesInput
40
42
  * NextToken: "STRING_VALUE",
@@ -34,6 +34,8 @@ declare const DisableAlarmActionsCommand_base: {
34
34
  * ```javascript
35
35
  * import { CloudWatchClient, DisableAlarmActionsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
36
36
  * // const { CloudWatchClient, DisableAlarmActionsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
37
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
38
+ * const config = {}; // type is CloudWatchClientConfig
37
39
  * const client = new CloudWatchClient(config);
38
40
  * const input = { // DisableAlarmActionsInput
39
41
  * AlarmNames: [ // AlarmNames // required
@@ -34,6 +34,8 @@ declare const DisableInsightRulesCommand_base: {
34
34
  * ```javascript
35
35
  * import { CloudWatchClient, DisableInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
36
36
  * // const { CloudWatchClient, DisableInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
37
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
38
+ * const config = {}; // type is CloudWatchClientConfig
37
39
  * const client = new CloudWatchClient(config);
38
40
  * const input = { // DisableInsightRulesInput
39
41
  * RuleNames: [ // InsightRuleNames // required
@@ -33,6 +33,8 @@ declare const EnableAlarmActionsCommand_base: {
33
33
  * ```javascript
34
34
  * import { CloudWatchClient, EnableAlarmActionsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
35
35
  * // const { CloudWatchClient, EnableAlarmActionsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
36
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
37
+ * const config = {}; // type is CloudWatchClientConfig
36
38
  * const client = new CloudWatchClient(config);
37
39
  * const input = { // EnableAlarmActionsInput
38
40
  * AlarmNames: [ // AlarmNames // required
@@ -34,6 +34,8 @@ declare const EnableInsightRulesCommand_base: {
34
34
  * ```javascript
35
35
  * import { CloudWatchClient, EnableInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
36
36
  * // const { CloudWatchClient, EnableInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
37
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
38
+ * const config = {}; // type is CloudWatchClientConfig
37
39
  * const client = new CloudWatchClient(config);
38
40
  * const input = { // EnableInsightRulesInput
39
41
  * RuleNames: [ // InsightRuleNames // required
@@ -36,6 +36,8 @@ declare const GetDashboardCommand_base: {
36
36
  * ```javascript
37
37
  * import { CloudWatchClient, GetDashboardCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
38
38
  * // const { CloudWatchClient, GetDashboardCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
39
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
40
+ * const config = {}; // type is CloudWatchClientConfig
39
41
  * const client = new CloudWatchClient(config);
40
42
  * const input = { // GetDashboardInput
41
43
  * DashboardName: "STRING_VALUE", // required
@@ -78,6 +78,8 @@ declare const GetInsightRuleReportCommand_base: {
78
78
  * ```javascript
79
79
  * import { CloudWatchClient, GetInsightRuleReportCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
80
80
  * // const { CloudWatchClient, GetInsightRuleReportCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
81
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
82
+ * const config = {}; // type is CloudWatchClientConfig
81
83
  * const client = new CloudWatchClient(config);
82
84
  * const input = { // GetInsightRuleReportInput
83
85
  * RuleName: "STRING_VALUE", // required
@@ -96,6 +96,8 @@ declare const GetMetricDataCommand_base: {
96
96
  * ```javascript
97
97
  * import { CloudWatchClient, GetMetricDataCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
98
98
  * // const { CloudWatchClient, GetMetricDataCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
99
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
100
+ * const config = {}; // type is CloudWatchClientConfig
99
101
  * const client = new CloudWatchClient(config);
100
102
  * const input = { // GetMetricDataInput
101
103
  * MetricDataQueries: [ // MetricDataQueries // required
@@ -89,6 +89,8 @@ declare const GetMetricStatisticsCommand_base: {
89
89
  * ```javascript
90
90
  * import { CloudWatchClient, GetMetricStatisticsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
91
91
  * // const { CloudWatchClient, GetMetricStatisticsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
92
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
93
+ * const config = {}; // type is CloudWatchClientConfig
92
94
  * const client = new CloudWatchClient(config);
93
95
  * const input = { // GetMetricStatisticsInput
94
96
  * Namespace: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const GetMetricStreamCommand_base: {
33
33
  * ```javascript
34
34
  * import { CloudWatchClient, GetMetricStreamCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
35
35
  * // const { CloudWatchClient, GetMetricStreamCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
36
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
37
+ * const config = {}; // type is CloudWatchClientConfig
36
38
  * const client = new CloudWatchClient(config);
37
39
  * const input = { // GetMetricStreamInput
38
40
  * Name: "STRING_VALUE", // required
@@ -49,6 +49,8 @@ declare const GetMetricWidgetImageCommand_base: {
49
49
  * ```javascript
50
50
  * import { CloudWatchClient, GetMetricWidgetImageCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
51
51
  * // const { CloudWatchClient, GetMetricWidgetImageCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
52
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
53
+ * const config = {}; // type is CloudWatchClientConfig
52
54
  * const client = new CloudWatchClient(config);
53
55
  * const input = { // GetMetricWidgetImageInput
54
56
  * MetricWidget: "STRING_VALUE", // required
@@ -40,6 +40,8 @@ declare const ListDashboardsCommand_base: {
40
40
  * ```javascript
41
41
  * import { CloudWatchClient, ListDashboardsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
42
42
  * // const { CloudWatchClient, ListDashboardsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
43
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
44
+ * const config = {}; // type is CloudWatchClientConfig
43
45
  * const client = new CloudWatchClient(config);
44
46
  * const input = { // ListDashboardsInput
45
47
  * DashboardNamePrefix: "STRING_VALUE",
@@ -36,6 +36,8 @@ declare const ListManagedInsightRulesCommand_base: {
36
36
  * ```javascript
37
37
  * import { CloudWatchClient, ListManagedInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
38
38
  * // const { CloudWatchClient, ListManagedInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
39
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
40
+ * const config = {}; // type is CloudWatchClientConfig
39
41
  * const client = new CloudWatchClient(config);
40
42
  * const input = { // ListManagedInsightRulesInput
41
43
  * ResourceARN: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const ListMetricStreamsCommand_base: {
33
33
  * ```javascript
34
34
  * import { CloudWatchClient, ListMetricStreamsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
35
35
  * // const { CloudWatchClient, ListMetricStreamsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
36
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
37
+ * const config = {}; // type is CloudWatchClientConfig
36
38
  * const client = new CloudWatchClient(config);
37
39
  * const input = { // ListMetricStreamsInput
38
40
  * NextToken: "STRING_VALUE",
@@ -43,6 +43,8 @@ declare const ListMetricsCommand_base: {
43
43
  * ```javascript
44
44
  * import { CloudWatchClient, ListMetricsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
45
45
  * // const { CloudWatchClient, ListMetricsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
46
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
47
+ * const config = {}; // type is CloudWatchClientConfig
46
48
  * const client = new CloudWatchClient(config);
47
49
  * const input = { // ListMetricsInput
48
50
  * Namespace: "STRING_VALUE",
@@ -34,6 +34,8 @@ declare const ListTagsForResourceCommand_base: {
34
34
  * ```javascript
35
35
  * import { CloudWatchClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
36
36
  * // const { CloudWatchClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
37
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
38
+ * const config = {}; // type is CloudWatchClientConfig
37
39
  * const client = new CloudWatchClient(config);
38
40
  * const input = { // ListTagsForResourceInput
39
41
  * ResourceARN: "STRING_VALUE", // required
@@ -39,6 +39,8 @@ declare const PutAnomalyDetectorCommand_base: {
39
39
  * ```javascript
40
40
  * import { CloudWatchClient, PutAnomalyDetectorCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
41
41
  * // const { CloudWatchClient, PutAnomalyDetectorCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
42
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
43
+ * const config = {}; // type is CloudWatchClientConfig
42
44
  * const client = new CloudWatchClient(config);
43
45
  * const input = { // PutAnomalyDetectorInput
44
46
  * Namespace: "STRING_VALUE",
@@ -86,6 +86,8 @@ declare const PutCompositeAlarmCommand_base: {
86
86
  * ```javascript
87
87
  * import { CloudWatchClient, PutCompositeAlarmCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
88
88
  * // const { CloudWatchClient, PutCompositeAlarmCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
89
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
90
+ * const config = {}; // type is CloudWatchClientConfig
89
91
  * const client = new CloudWatchClient(config);
90
92
  * const input = { // PutCompositeAlarmInput
91
93
  * ActionsEnabled: true || false,
@@ -48,6 +48,8 @@ declare const PutDashboardCommand_base: {
48
48
  * ```javascript
49
49
  * import { CloudWatchClient, PutDashboardCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
50
50
  * // const { CloudWatchClient, PutDashboardCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
51
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
52
+ * const config = {}; // type is CloudWatchClientConfig
51
53
  * const client = new CloudWatchClient(config);
52
54
  * const input = { // PutDashboardInput
53
55
  * DashboardName: "STRING_VALUE", // required
@@ -38,6 +38,8 @@ declare const PutInsightRuleCommand_base: {
38
38
  * ```javascript
39
39
  * import { CloudWatchClient, PutInsightRuleCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
40
40
  * // const { CloudWatchClient, PutInsightRuleCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
41
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
42
+ * const config = {}; // type is CloudWatchClientConfig
41
43
  * const client = new CloudWatchClient(config);
42
44
  * const input = { // PutInsightRuleInput
43
45
  * RuleName: "STRING_VALUE", // required
@@ -42,6 +42,8 @@ declare const PutManagedInsightRulesCommand_base: {
42
42
  * ```javascript
43
43
  * import { CloudWatchClient, PutManagedInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
44
44
  * // const { CloudWatchClient, PutManagedInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
45
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
46
+ * const config = {}; // type is CloudWatchClientConfig
45
47
  * const client = new CloudWatchClient(config);
46
48
  * const input = { // PutManagedInsightRulesInput
47
49
  * ManagedRules: [ // ManagedRules // required
@@ -82,6 +82,8 @@ declare const PutMetricAlarmCommand_base: {
82
82
  * ```javascript
83
83
  * import { CloudWatchClient, PutMetricAlarmCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
84
84
  * // const { CloudWatchClient, PutMetricAlarmCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
85
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
86
+ * const config = {}; // type is CloudWatchClientConfig
85
87
  * const client = new CloudWatchClient(config);
86
88
  * const input = { // PutMetricAlarmInput
87
89
  * AlarmName: "STRING_VALUE", // required
@@ -81,6 +81,8 @@ declare const PutMetricDataCommand_base: {
81
81
  * ```javascript
82
82
  * import { CloudWatchClient, PutMetricDataCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
83
83
  * // const { CloudWatchClient, PutMetricDataCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
84
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
85
+ * const config = {}; // type is CloudWatchClientConfig
84
86
  * const client = new CloudWatchClient(config);
85
87
  * const input = { // PutMetricDataInput
86
88
  * Namespace: "STRING_VALUE", // required
@@ -66,6 +66,8 @@ declare const PutMetricStreamCommand_base: {
66
66
  * ```javascript
67
67
  * import { CloudWatchClient, PutMetricStreamCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
68
68
  * // const { CloudWatchClient, PutMetricStreamCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
69
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
70
+ * const config = {}; // type is CloudWatchClientConfig
69
71
  * const client = new CloudWatchClient(config);
70
72
  * const input = { // PutMetricStreamInput
71
73
  * Name: "STRING_VALUE", // required
@@ -48,6 +48,8 @@ declare const SetAlarmStateCommand_base: {
48
48
  * ```javascript
49
49
  * import { CloudWatchClient, SetAlarmStateCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
50
50
  * // const { CloudWatchClient, SetAlarmStateCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
51
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
52
+ * const config = {}; // type is CloudWatchClientConfig
51
53
  * const client = new CloudWatchClient(config);
52
54
  * const input = { // SetAlarmStateInput
53
55
  * AlarmName: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const StartMetricStreamsCommand_base: {
33
33
  * ```javascript
34
34
  * import { CloudWatchClient, StartMetricStreamsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
35
35
  * // const { CloudWatchClient, StartMetricStreamsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
36
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
37
+ * const config = {}; // type is CloudWatchClientConfig
36
38
  * const client = new CloudWatchClient(config);
37
39
  * const input = { // StartMetricStreamsInput
38
40
  * Names: [ // MetricStreamNames // required
@@ -33,6 +33,8 @@ declare const StopMetricStreamsCommand_base: {
33
33
  * ```javascript
34
34
  * import { CloudWatchClient, StopMetricStreamsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
35
35
  * // const { CloudWatchClient, StopMetricStreamsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
36
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
37
+ * const config = {}; // type is CloudWatchClientConfig
36
38
  * const client = new CloudWatchClient(config);
37
39
  * const input = { // StopMetricStreamsInput
38
40
  * Names: [ // MetricStreamNames // required
@@ -46,6 +46,8 @@ declare const TagResourceCommand_base: {
46
46
  * ```javascript
47
47
  * import { CloudWatchClient, TagResourceCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
48
48
  * // const { CloudWatchClient, TagResourceCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
49
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
50
+ * const config = {}; // type is CloudWatchClientConfig
49
51
  * const client = new CloudWatchClient(config);
50
52
  * const input = { // TagResourceInput
51
53
  * ResourceARN: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const UntagResourceCommand_base: {
33
33
  * ```javascript
34
34
  * import { CloudWatchClient, UntagResourceCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
35
35
  * // const { CloudWatchClient, UntagResourceCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
36
+ * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
37
+ * const config = {}; // type is CloudWatchClientConfig
36
38
  * const client = new CloudWatchClient(config);
37
39
  * const input = { // UntagResourceInput
38
40
  * ResourceARN: "STRING_VALUE", // required
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.890.0",
4
+ "version": "3.891.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudwatch",
@@ -23,16 +23,16 @@
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
25
  "@aws-sdk/core": "3.890.0",
26
- "@aws-sdk/credential-provider-node": "3.890.0",
27
- "@aws-sdk/middleware-host-header": "3.887.0",
28
- "@aws-sdk/middleware-logger": "3.887.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.887.0",
30
- "@aws-sdk/middleware-user-agent": "3.890.0",
26
+ "@aws-sdk/credential-provider-node": "3.891.0",
27
+ "@aws-sdk/middleware-host-header": "3.891.0",
28
+ "@aws-sdk/middleware-logger": "3.891.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.891.0",
30
+ "@aws-sdk/middleware-user-agent": "3.891.0",
31
31
  "@aws-sdk/region-config-resolver": "3.890.0",
32
32
  "@aws-sdk/types": "3.887.0",
33
- "@aws-sdk/util-endpoints": "3.890.0",
33
+ "@aws-sdk/util-endpoints": "3.891.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.887.0",
35
- "@aws-sdk/util-user-agent-node": "3.890.0",
35
+ "@aws-sdk/util-user-agent-node": "3.891.0",
36
36
  "@smithy/config-resolver": "^4.2.2",
37
37
  "@smithy/core": "^3.11.0",
38
38
  "@smithy/fetch-http-handler": "^5.2.1",
@@ -41,7 +41,7 @@
41
41
  "@smithy/middleware-compression": "^4.2.2",
42
42
  "@smithy/middleware-content-length": "^4.1.1",
43
43
  "@smithy/middleware-endpoint": "^4.2.2",
44
- "@smithy/middleware-retry": "^4.2.2",
44
+ "@smithy/middleware-retry": "^4.2.3",
45
45
  "@smithy/middleware-serde": "^4.1.1",
46
46
  "@smithy/middleware-stack": "^4.1.1",
47
47
  "@smithy/node-config-provider": "^4.2.2",
@@ -57,7 +57,7 @@
57
57
  "@smithy/util-defaults-mode-node": "^4.1.2",
58
58
  "@smithy/util-endpoints": "^3.1.2",
59
59
  "@smithy/util-middleware": "^4.1.1",
60
- "@smithy/util-retry": "^4.1.1",
60
+ "@smithy/util-retry": "^4.1.2",
61
61
  "@smithy/util-utf8": "^4.1.0",
62
62
  "@smithy/util-waiter": "^4.1.1",
63
63
  "tslib": "^2.6.2"