@aws-sdk/client-cloudwatch 3.299.0 → 3.301.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 (39) hide show
  1. package/dist-types/commands/DeleteAlarmsCommand.d.ts +5 -0
  2. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +44 -0
  3. package/dist-types/commands/DeleteDashboardsCommand.d.ts +5 -0
  4. package/dist-types/commands/DeleteInsightRulesCommand.d.ts +5 -0
  5. package/dist-types/commands/DeleteMetricStreamCommand.d.ts +3 -0
  6. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +12 -0
  7. package/dist-types/commands/DescribeAlarmsCommand.d.ts +15 -0
  8. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +14 -0
  9. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +15 -0
  10. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +4 -0
  11. package/dist-types/commands/DisableAlarmActionsCommand.d.ts +5 -0
  12. package/dist-types/commands/DisableInsightRulesCommand.d.ts +5 -0
  13. package/dist-types/commands/EnableAlarmActionsCommand.d.ts +5 -0
  14. package/dist-types/commands/EnableInsightRulesCommand.d.ts +5 -0
  15. package/dist-types/commands/GetDashboardCommand.d.ts +3 -0
  16. package/dist-types/commands/GetInsightRuleReportCommand.d.ts +11 -0
  17. package/dist-types/commands/GetMetricDataCommand.d.ts +35 -0
  18. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +20 -0
  19. package/dist-types/commands/GetMetricStreamCommand.d.ts +3 -0
  20. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +4 -0
  21. package/dist-types/commands/ListDashboardsCommand.d.ts +4 -0
  22. package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +5 -0
  23. package/dist-types/commands/ListMetricStreamsCommand.d.ts +4 -0
  24. package/dist-types/commands/ListMetricsCommand.d.ts +14 -0
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  26. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +53 -0
  27. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +24 -0
  28. package/dist-types/commands/PutDashboardCommand.d.ts +4 -0
  29. package/dist-types/commands/PutInsightRuleCommand.d.ts +11 -0
  30. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +14 -0
  31. package/dist-types/commands/PutMetricAlarmCommand.d.ts +64 -0
  32. package/dist-types/commands/PutMetricDataCommand.d.ts +30 -0
  33. package/dist-types/commands/PutMetricStreamCommand.d.ts +36 -0
  34. package/dist-types/commands/SetAlarmStateCommand.d.ts +6 -0
  35. package/dist-types/commands/StartMetricStreamsCommand.d.ts +5 -0
  36. package/dist-types/commands/StopMetricStreamsCommand.d.ts +5 -0
  37. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  38. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  39. package/package.json +8 -8
@@ -43,6 +43,11 @@ export interface DeleteAlarmsCommandOutput extends __MetadataBearer {
43
43
  * import { CloudWatchClient, DeleteAlarmsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
44
44
  * // const { CloudWatchClient, DeleteAlarmsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
45
45
  * const client = new CloudWatchClient(config);
46
+ * const input = { // DeleteAlarmsInput
47
+ * AlarmNames: [ // AlarmNames // required
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * };
46
51
  * const command = new DeleteAlarmsCommand(input);
47
52
  * const response = await client.send(command);
48
53
  * ```
@@ -34,6 +34,50 @@ export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetecto
34
34
  * import { CloudWatchClient, DeleteAnomalyDetectorCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
35
35
  * // const { CloudWatchClient, DeleteAnomalyDetectorCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
36
36
  * const client = new CloudWatchClient(config);
37
+ * const input = { // DeleteAnomalyDetectorInput
38
+ * Namespace: "STRING_VALUE",
39
+ * MetricName: "STRING_VALUE",
40
+ * Dimensions: [ // Dimensions
41
+ * { // Dimension
42
+ * Name: "STRING_VALUE", // required
43
+ * Value: "STRING_VALUE", // required
44
+ * },
45
+ * ],
46
+ * Stat: "STRING_VALUE",
47
+ * SingleMetricAnomalyDetector: { // SingleMetricAnomalyDetector
48
+ * Namespace: "STRING_VALUE",
49
+ * MetricName: "STRING_VALUE",
50
+ * Dimensions: [
51
+ * {
52
+ * Name: "STRING_VALUE", // required
53
+ * Value: "STRING_VALUE", // required
54
+ * },
55
+ * ],
56
+ * Stat: "STRING_VALUE",
57
+ * },
58
+ * MetricMathAnomalyDetector: { // MetricMathAnomalyDetector
59
+ * MetricDataQueries: [ // MetricDataQueries
60
+ * { // MetricDataQuery
61
+ * Id: "STRING_VALUE", // required
62
+ * MetricStat: { // MetricStat
63
+ * Metric: { // Metric
64
+ * Namespace: "STRING_VALUE",
65
+ * MetricName: "STRING_VALUE",
66
+ * Dimensions: "<Dimensions>",
67
+ * },
68
+ * Period: Number("int"), // required
69
+ * Stat: "STRING_VALUE", // required
70
+ * Unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
71
+ * },
72
+ * Expression: "STRING_VALUE",
73
+ * Label: "STRING_VALUE",
74
+ * ReturnData: true || false,
75
+ * Period: Number("int"),
76
+ * AccountId: "STRING_VALUE",
77
+ * },
78
+ * ],
79
+ * },
80
+ * };
37
81
  * const command = new DeleteAnomalyDetectorCommand(input);
38
82
  * const response = await client.send(command);
39
83
  * ```
@@ -28,6 +28,11 @@ export interface DeleteDashboardsCommandOutput extends DeleteDashboardsOutput, _
28
28
  * import { CloudWatchClient, DeleteDashboardsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
29
29
  * // const { CloudWatchClient, DeleteDashboardsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
30
30
  * const client = new CloudWatchClient(config);
31
+ * const input = { // DeleteDashboardsInput
32
+ * DashboardNames: [ // DashboardNames // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
31
36
  * const command = new DeleteDashboardsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -29,6 +29,11 @@ export interface DeleteInsightRulesCommandOutput extends DeleteInsightRulesOutpu
29
29
  * import { CloudWatchClient, DeleteInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
30
30
  * // const { CloudWatchClient, DeleteInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
31
31
  * const client = new CloudWatchClient(config);
32
+ * const input = { // DeleteInsightRulesInput
33
+ * RuleNames: [ // InsightRuleNames // required
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * };
32
37
  * const command = new DeleteInsightRulesCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -26,6 +26,9 @@ export interface DeleteMetricStreamCommandOutput extends DeleteMetricStreamOutpu
26
26
  * import { CloudWatchClient, DeleteMetricStreamCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
27
27
  * // const { CloudWatchClient, DeleteMetricStreamCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
28
28
  * const client = new CloudWatchClient(config);
29
+ * const input = { // DeleteMetricStreamInput
30
+ * Name: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteMetricStreamCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -31,6 +31,18 @@ export interface DescribeAlarmHistoryCommandOutput extends DescribeAlarmHistoryO
31
31
  * import { CloudWatchClient, DescribeAlarmHistoryCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
32
32
  * // const { CloudWatchClient, DescribeAlarmHistoryCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
33
33
  * const client = new CloudWatchClient(config);
34
+ * const input = { // DescribeAlarmHistoryInput
35
+ * AlarmName: "STRING_VALUE",
36
+ * AlarmTypes: [ // AlarmTypes
37
+ * "CompositeAlarm" || "MetricAlarm",
38
+ * ],
39
+ * HistoryItemType: "ConfigurationUpdate" || "StateUpdate" || "Action",
40
+ * StartDate: new Date("TIMESTAMP"),
41
+ * EndDate: new Date("TIMESTAMP"),
42
+ * MaxRecords: Number("int"),
43
+ * NextToken: "STRING_VALUE",
44
+ * ScanBy: "TimestampDescending" || "TimestampAscending",
45
+ * };
34
46
  * const command = new DescribeAlarmHistoryCommand(input);
35
47
  * const response = await client.send(command);
36
48
  * ```
@@ -30,6 +30,21 @@ export interface DescribeAlarmsCommandOutput extends DescribeAlarmsOutput, __Met
30
30
  * import { CloudWatchClient, DescribeAlarmsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
31
31
  * // const { CloudWatchClient, DescribeAlarmsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
32
32
  * const client = new CloudWatchClient(config);
33
+ * const input = { // DescribeAlarmsInput
34
+ * AlarmNames: [ // AlarmNames
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * AlarmNamePrefix: "STRING_VALUE",
38
+ * AlarmTypes: [ // AlarmTypes
39
+ * "CompositeAlarm" || "MetricAlarm",
40
+ * ],
41
+ * ChildrenOfAlarmName: "STRING_VALUE",
42
+ * ParentsOfAlarmName: "STRING_VALUE",
43
+ * StateValue: "OK" || "ALARM" || "INSUFFICIENT_DATA",
44
+ * ActionPrefix: "STRING_VALUE",
45
+ * MaxRecords: Number("int"),
46
+ * NextToken: "STRING_VALUE",
47
+ * };
33
48
  * const command = new DescribeAlarmsCommand(input);
34
49
  * const response = await client.send(command);
35
50
  * ```
@@ -30,6 +30,20 @@ export interface DescribeAlarmsForMetricCommandOutput extends DescribeAlarmsForM
30
30
  * import { CloudWatchClient, DescribeAlarmsForMetricCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
31
31
  * // const { CloudWatchClient, DescribeAlarmsForMetricCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
32
32
  * const client = new CloudWatchClient(config);
33
+ * const input = { // DescribeAlarmsForMetricInput
34
+ * MetricName: "STRING_VALUE", // required
35
+ * Namespace: "STRING_VALUE", // required
36
+ * Statistic: "SampleCount" || "Average" || "Sum" || "Minimum" || "Maximum",
37
+ * ExtendedStatistic: "STRING_VALUE",
38
+ * Dimensions: [ // Dimensions
39
+ * { // Dimension
40
+ * Name: "STRING_VALUE", // required
41
+ * Value: "STRING_VALUE", // required
42
+ * },
43
+ * ],
44
+ * Period: Number("int"),
45
+ * Unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
46
+ * };
33
47
  * const command = new DescribeAlarmsForMetricCommand(input);
34
48
  * const response = await client.send(command);
35
49
  * ```
@@ -32,6 +32,21 @@ export interface DescribeAnomalyDetectorsCommandOutput extends DescribeAnomalyDe
32
32
  * import { CloudWatchClient, DescribeAnomalyDetectorsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
33
33
  * // const { CloudWatchClient, DescribeAnomalyDetectorsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
34
34
  * const client = new CloudWatchClient(config);
35
+ * const input = { // DescribeAnomalyDetectorsInput
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * Namespace: "STRING_VALUE",
39
+ * MetricName: "STRING_VALUE",
40
+ * Dimensions: [ // Dimensions
41
+ * { // Dimension
42
+ * Name: "STRING_VALUE", // required
43
+ * Value: "STRING_VALUE", // required
44
+ * },
45
+ * ],
46
+ * AnomalyDetectorTypes: [ // AnomalyDetectorTypes
47
+ * "SINGLE_METRIC" || "METRIC_MATH",
48
+ * ],
49
+ * };
35
50
  * const command = new DescribeAnomalyDetectorsCommand(input);
36
51
  * const response = await client.send(command);
37
52
  * ```
@@ -28,6 +28,10 @@ export interface DescribeInsightRulesCommandOutput extends DescribeInsightRulesO
28
28
  * import { CloudWatchClient, DescribeInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
29
29
  * // const { CloudWatchClient, DescribeInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
30
30
  * const client = new CloudWatchClient(config);
31
+ * const input = { // DescribeInsightRulesInput
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
31
35
  * const command = new DescribeInsightRulesCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -27,6 +27,11 @@ export interface DisableAlarmActionsCommandOutput extends __MetadataBearer {
27
27
  * import { CloudWatchClient, DisableAlarmActionsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
28
28
  * // const { CloudWatchClient, DisableAlarmActionsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
29
29
  * const client = new CloudWatchClient(config);
30
+ * const input = { // DisableAlarmActionsInput
31
+ * AlarmNames: [ // AlarmNames // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
30
35
  * const command = new DisableAlarmActionsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,11 @@ export interface DisableInsightRulesCommandOutput extends DisableInsightRulesOut
27
27
  * import { CloudWatchClient, DisableInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
28
28
  * // const { CloudWatchClient, DisableInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
29
29
  * const client = new CloudWatchClient(config);
30
+ * const input = { // DisableInsightRulesInput
31
+ * RuleNames: [ // InsightRuleNames // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
30
35
  * const command = new DisableInsightRulesCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,11 @@ export interface EnableAlarmActionsCommandOutput extends __MetadataBearer {
26
26
  * import { CloudWatchClient, EnableAlarmActionsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
27
27
  * // const { CloudWatchClient, EnableAlarmActionsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
28
28
  * const client = new CloudWatchClient(config);
29
+ * const input = { // EnableAlarmActionsInput
30
+ * AlarmNames: [ // AlarmNames // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new EnableAlarmActionsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface EnableInsightRulesCommandOutput extends EnableInsightRulesOutpu
26
26
  * import { CloudWatchClient, EnableInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
27
27
  * // const { CloudWatchClient, EnableInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
28
28
  * const client = new CloudWatchClient(config);
29
+ * const input = { // EnableInsightRulesInput
30
+ * RuleNames: [ // InsightRuleNames // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new EnableInsightRulesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -29,6 +29,9 @@ export interface GetDashboardCommandOutput extends GetDashboardOutput, __Metadat
29
29
  * import { CloudWatchClient, GetDashboardCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
30
30
  * // const { CloudWatchClient, GetDashboardCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
31
31
  * const client = new CloudWatchClient(config);
32
+ * const input = { // GetDashboardInput
33
+ * DashboardName: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new GetDashboardCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -62,6 +62,17 @@ export interface GetInsightRuleReportCommandOutput extends GetInsightRuleReportO
62
62
  * import { CloudWatchClient, GetInsightRuleReportCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
63
63
  * // const { CloudWatchClient, GetInsightRuleReportCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
64
64
  * const client = new CloudWatchClient(config);
65
+ * const input = { // GetInsightRuleReportInput
66
+ * RuleName: "STRING_VALUE", // required
67
+ * StartTime: new Date("TIMESTAMP"), // required
68
+ * EndTime: new Date("TIMESTAMP"), // required
69
+ * Period: Number("int"), // required
70
+ * MaxContributorCount: Number("int"),
71
+ * Metrics: [ // InsightRuleMetricList
72
+ * "STRING_VALUE",
73
+ * ],
74
+ * OrderBy: "STRING_VALUE",
75
+ * };
65
76
  * const command = new GetInsightRuleReportCommand(input);
66
77
  * const response = await client.send(command);
67
78
  * ```
@@ -73,6 +73,41 @@ export interface GetMetricDataCommandOutput extends GetMetricDataOutput, __Metad
73
73
  * import { CloudWatchClient, GetMetricDataCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
74
74
  * // const { CloudWatchClient, GetMetricDataCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
75
75
  * const client = new CloudWatchClient(config);
76
+ * const input = { // GetMetricDataInput
77
+ * MetricDataQueries: [ // MetricDataQueries // required
78
+ * { // MetricDataQuery
79
+ * Id: "STRING_VALUE", // required
80
+ * MetricStat: { // MetricStat
81
+ * Metric: { // Metric
82
+ * Namespace: "STRING_VALUE",
83
+ * MetricName: "STRING_VALUE",
84
+ * Dimensions: [ // Dimensions
85
+ * { // Dimension
86
+ * Name: "STRING_VALUE", // required
87
+ * Value: "STRING_VALUE", // required
88
+ * },
89
+ * ],
90
+ * },
91
+ * Period: Number("int"), // required
92
+ * Stat: "STRING_VALUE", // required
93
+ * Unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
94
+ * },
95
+ * Expression: "STRING_VALUE",
96
+ * Label: "STRING_VALUE",
97
+ * ReturnData: true || false,
98
+ * Period: Number("int"),
99
+ * AccountId: "STRING_VALUE",
100
+ * },
101
+ * ],
102
+ * StartTime: new Date("TIMESTAMP"), // required
103
+ * EndTime: new Date("TIMESTAMP"), // required
104
+ * NextToken: "STRING_VALUE",
105
+ * ScanBy: "TimestampDescending" || "TimestampAscending",
106
+ * MaxDatapoints: Number("int"),
107
+ * LabelOptions: { // LabelOptions
108
+ * Timezone: "STRING_VALUE",
109
+ * },
110
+ * };
76
111
  * const command = new GetMetricDataCommand(input);
77
112
  * const response = await client.send(command);
78
113
  * ```
@@ -72,6 +72,26 @@ export interface GetMetricStatisticsCommandOutput extends GetMetricStatisticsOut
72
72
  * import { CloudWatchClient, GetMetricStatisticsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
73
73
  * // const { CloudWatchClient, GetMetricStatisticsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
74
74
  * const client = new CloudWatchClient(config);
75
+ * const input = { // GetMetricStatisticsInput
76
+ * Namespace: "STRING_VALUE", // required
77
+ * MetricName: "STRING_VALUE", // required
78
+ * Dimensions: [ // Dimensions
79
+ * { // Dimension
80
+ * Name: "STRING_VALUE", // required
81
+ * Value: "STRING_VALUE", // required
82
+ * },
83
+ * ],
84
+ * StartTime: new Date("TIMESTAMP"), // required
85
+ * EndTime: new Date("TIMESTAMP"), // required
86
+ * Period: Number("int"), // required
87
+ * Statistics: [ // Statistics
88
+ * "SampleCount" || "Average" || "Sum" || "Minimum" || "Maximum",
89
+ * ],
90
+ * ExtendedStatistics: [ // ExtendedStatistics
91
+ * "STRING_VALUE",
92
+ * ],
93
+ * Unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
94
+ * };
75
95
  * const command = new GetMetricStatisticsCommand(input);
76
96
  * const response = await client.send(command);
77
97
  * ```
@@ -26,6 +26,9 @@ export interface GetMetricStreamCommandOutput extends GetMetricStreamOutput, __M
26
26
  * import { CloudWatchClient, GetMetricStreamCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
27
27
  * // const { CloudWatchClient, GetMetricStreamCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
28
28
  * const client = new CloudWatchClient(config);
29
+ * const input = { // GetMetricStreamInput
30
+ * Name: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetMetricStreamCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -41,6 +41,10 @@ export interface GetMetricWidgetImageCommandOutput extends GetMetricWidgetImageO
41
41
  * import { CloudWatchClient, GetMetricWidgetImageCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
42
42
  * // const { CloudWatchClient, GetMetricWidgetImageCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
43
43
  * const client = new CloudWatchClient(config);
44
+ * const input = { // GetMetricWidgetImageInput
45
+ * MetricWidget: "STRING_VALUE", // required
46
+ * OutputFormat: "STRING_VALUE",
47
+ * };
44
48
  * const command = new GetMetricWidgetImageCommand(input);
45
49
  * const response = await client.send(command);
46
50
  * ```
@@ -34,6 +34,10 @@ export interface ListDashboardsCommandOutput extends ListDashboardsOutput, __Met
34
34
  * import { CloudWatchClient, ListDashboardsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
35
35
  * // const { CloudWatchClient, ListDashboardsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
36
36
  * const client = new CloudWatchClient(config);
37
+ * const input = { // ListDashboardsInput
38
+ * DashboardNamePrefix: "STRING_VALUE",
39
+ * NextToken: "STRING_VALUE",
40
+ * };
37
41
  * const command = new ListDashboardsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -32,6 +32,11 @@ export interface ListManagedInsightRulesCommandOutput extends ListManagedInsight
32
32
  * import { CloudWatchClient, ListManagedInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
33
33
  * // const { CloudWatchClient, ListManagedInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
34
34
  * const client = new CloudWatchClient(config);
35
+ * const input = { // ListManagedInsightRulesInput
36
+ * ResourceARN: "STRING_VALUE", // required
37
+ * NextToken: "STRING_VALUE",
38
+ * MaxResults: Number("int"),
39
+ * };
35
40
  * const command = new ListManagedInsightRulesCommand(input);
36
41
  * const response = await client.send(command);
37
42
  * ```
@@ -26,6 +26,10 @@ export interface ListMetricStreamsCommandOutput extends ListMetricStreamsOutput,
26
26
  * import { CloudWatchClient, ListMetricStreamsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
27
27
  * // const { CloudWatchClient, ListMetricStreamsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
28
28
  * const client = new CloudWatchClient(config);
29
+ * const input = { // ListMetricStreamsInput
30
+ * NextToken: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * };
29
33
  * const command = new ListMetricStreamsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -38,6 +38,20 @@ export interface ListMetricsCommandOutput extends ListMetricsOutput, __MetadataB
38
38
  * import { CloudWatchClient, ListMetricsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
39
39
  * // const { CloudWatchClient, ListMetricsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
40
40
  * const client = new CloudWatchClient(config);
41
+ * const input = { // ListMetricsInput
42
+ * Namespace: "STRING_VALUE",
43
+ * MetricName: "STRING_VALUE",
44
+ * Dimensions: [ // DimensionFilters
45
+ * { // DimensionFilter
46
+ * Name: "STRING_VALUE", // required
47
+ * Value: "STRING_VALUE",
48
+ * },
49
+ * ],
50
+ * NextToken: "STRING_VALUE",
51
+ * RecentlyActive: "PT3H",
52
+ * IncludeLinkedAccounts: true || false,
53
+ * OwningAccount: "STRING_VALUE",
54
+ * };
41
55
  * const command = new ListMetricsCommand(input);
42
56
  * const response = await client.send(command);
43
57
  * ```
@@ -27,6 +27,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
27
27
  * import { CloudWatchClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
28
28
  * // const { CloudWatchClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
29
29
  * const client = new CloudWatchClient(config);
30
+ * const input = { // ListTagsForResourceInput
31
+ * ResourceARN: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new ListTagsForResourceCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -28,6 +28,59 @@ export interface PutAnomalyDetectorCommandOutput extends PutAnomalyDetectorOutpu
28
28
  * import { CloudWatchClient, PutAnomalyDetectorCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
29
29
  * // const { CloudWatchClient, PutAnomalyDetectorCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
30
30
  * const client = new CloudWatchClient(config);
31
+ * const input = { // PutAnomalyDetectorInput
32
+ * Namespace: "STRING_VALUE",
33
+ * MetricName: "STRING_VALUE",
34
+ * Dimensions: [ // Dimensions
35
+ * { // Dimension
36
+ * Name: "STRING_VALUE", // required
37
+ * Value: "STRING_VALUE", // required
38
+ * },
39
+ * ],
40
+ * Stat: "STRING_VALUE",
41
+ * Configuration: { // AnomalyDetectorConfiguration
42
+ * ExcludedTimeRanges: [ // AnomalyDetectorExcludedTimeRanges
43
+ * { // Range
44
+ * StartTime: new Date("TIMESTAMP"), // required
45
+ * EndTime: new Date("TIMESTAMP"), // required
46
+ * },
47
+ * ],
48
+ * MetricTimezone: "STRING_VALUE",
49
+ * },
50
+ * SingleMetricAnomalyDetector: { // SingleMetricAnomalyDetector
51
+ * Namespace: "STRING_VALUE",
52
+ * MetricName: "STRING_VALUE",
53
+ * Dimensions: [
54
+ * {
55
+ * Name: "STRING_VALUE", // required
56
+ * Value: "STRING_VALUE", // required
57
+ * },
58
+ * ],
59
+ * Stat: "STRING_VALUE",
60
+ * },
61
+ * MetricMathAnomalyDetector: { // MetricMathAnomalyDetector
62
+ * MetricDataQueries: [ // MetricDataQueries
63
+ * { // MetricDataQuery
64
+ * Id: "STRING_VALUE", // required
65
+ * MetricStat: { // MetricStat
66
+ * Metric: { // Metric
67
+ * Namespace: "STRING_VALUE",
68
+ * MetricName: "STRING_VALUE",
69
+ * Dimensions: "<Dimensions>",
70
+ * },
71
+ * Period: Number("int"), // required
72
+ * Stat: "STRING_VALUE", // required
73
+ * Unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
74
+ * },
75
+ * Expression: "STRING_VALUE",
76
+ * Label: "STRING_VALUE",
77
+ * ReturnData: true || false,
78
+ * Period: Number("int"),
79
+ * AccountId: "STRING_VALUE",
80
+ * },
81
+ * ],
82
+ * },
83
+ * };
31
84
  * const command = new PutAnomalyDetectorCommand(input);
32
85
  * const response = await client.send(command);
33
86
  * ```
@@ -64,6 +64,30 @@ export interface PutCompositeAlarmCommandOutput extends __MetadataBearer {
64
64
  * import { CloudWatchClient, PutCompositeAlarmCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
65
65
  * // const { CloudWatchClient, PutCompositeAlarmCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
66
66
  * const client = new CloudWatchClient(config);
67
+ * const input = { // PutCompositeAlarmInput
68
+ * ActionsEnabled: true || false,
69
+ * AlarmActions: [ // ResourceList
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * AlarmDescription: "STRING_VALUE",
73
+ * AlarmName: "STRING_VALUE", // required
74
+ * AlarmRule: "STRING_VALUE", // required
75
+ * InsufficientDataActions: [
76
+ * "STRING_VALUE",
77
+ * ],
78
+ * OKActions: [
79
+ * "STRING_VALUE",
80
+ * ],
81
+ * Tags: [ // TagList
82
+ * { // Tag
83
+ * Key: "STRING_VALUE", // required
84
+ * Value: "STRING_VALUE", // required
85
+ * },
86
+ * ],
87
+ * ActionsSuppressor: "STRING_VALUE",
88
+ * ActionsSuppressorWaitPeriod: Number("int"),
89
+ * ActionsSuppressorExtensionPeriod: Number("int"),
90
+ * };
67
91
  * const command = new PutCompositeAlarmCommand(input);
68
92
  * const response = await client.send(command);
69
93
  * ```
@@ -39,6 +39,10 @@ export interface PutDashboardCommandOutput extends PutDashboardOutput, __Metadat
39
39
  * import { CloudWatchClient, PutDashboardCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
40
40
  * // const { CloudWatchClient, PutDashboardCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
41
41
  * const client = new CloudWatchClient(config);
42
+ * const input = { // PutDashboardInput
43
+ * DashboardName: "STRING_VALUE", // required
44
+ * DashboardBody: "STRING_VALUE", // required
45
+ * };
42
46
  * const command = new PutDashboardCommand(input);
43
47
  * const response = await client.send(command);
44
48
  * ```
@@ -30,6 +30,17 @@ export interface PutInsightRuleCommandOutput extends PutInsightRuleOutput, __Met
30
30
  * import { CloudWatchClient, PutInsightRuleCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
31
31
  * // const { CloudWatchClient, PutInsightRuleCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
32
32
  * const client = new CloudWatchClient(config);
33
+ * const input = { // PutInsightRuleInput
34
+ * RuleName: "STRING_VALUE", // required
35
+ * RuleState: "STRING_VALUE",
36
+ * RuleDefinition: "STRING_VALUE", // required
37
+ * Tags: [ // TagList
38
+ * { // Tag
39
+ * Key: "STRING_VALUE", // required
40
+ * Value: "STRING_VALUE", // required
41
+ * },
42
+ * ],
43
+ * };
33
44
  * const command = new PutInsightRuleCommand(input);
34
45
  * const response = await client.send(command);
35
46
  * ```
@@ -42,6 +42,20 @@ export interface PutManagedInsightRulesCommandOutput extends PutManagedInsightRu
42
42
  * import { CloudWatchClient, PutManagedInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
43
43
  * // const { CloudWatchClient, PutManagedInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
44
44
  * const client = new CloudWatchClient(config);
45
+ * const input = { // PutManagedInsightRulesInput
46
+ * ManagedRules: [ // ManagedRules // required
47
+ * { // ManagedRule
48
+ * TemplateName: "STRING_VALUE", // required
49
+ * ResourceARN: "STRING_VALUE", // required
50
+ * Tags: [ // TagList
51
+ * { // Tag
52
+ * Key: "STRING_VALUE", // required
53
+ * Value: "STRING_VALUE", // required
54
+ * },
55
+ * ],
56
+ * },
57
+ * ],
58
+ * };
45
59
  * const command = new PutManagedInsightRulesCommand(input);
46
60
  * const response = await client.send(command);
47
61
  * ```
@@ -77,6 +77,70 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
77
77
  * import { CloudWatchClient, PutMetricAlarmCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
78
78
  * // const { CloudWatchClient, PutMetricAlarmCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
79
79
  * const client = new CloudWatchClient(config);
80
+ * const input = { // PutMetricAlarmInput
81
+ * AlarmName: "STRING_VALUE", // required
82
+ * AlarmDescription: "STRING_VALUE",
83
+ * ActionsEnabled: true || false,
84
+ * OKActions: [ // ResourceList
85
+ * "STRING_VALUE",
86
+ * ],
87
+ * AlarmActions: [
88
+ * "STRING_VALUE",
89
+ * ],
90
+ * InsufficientDataActions: [
91
+ * "STRING_VALUE",
92
+ * ],
93
+ * MetricName: "STRING_VALUE",
94
+ * Namespace: "STRING_VALUE",
95
+ * Statistic: "SampleCount" || "Average" || "Sum" || "Minimum" || "Maximum",
96
+ * ExtendedStatistic: "STRING_VALUE",
97
+ * Dimensions: [ // Dimensions
98
+ * { // Dimension
99
+ * Name: "STRING_VALUE", // required
100
+ * Value: "STRING_VALUE", // required
101
+ * },
102
+ * ],
103
+ * Period: Number("int"),
104
+ * Unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
105
+ * EvaluationPeriods: Number("int"), // required
106
+ * DatapointsToAlarm: Number("int"),
107
+ * Threshold: Number("double"),
108
+ * ComparisonOperator: "GreaterThanOrEqualToThreshold" || "GreaterThanThreshold" || "LessThanThreshold" || "LessThanOrEqualToThreshold" || "LessThanLowerOrGreaterThanUpperThreshold" || "LessThanLowerThreshold" || "GreaterThanUpperThreshold", // required
109
+ * TreatMissingData: "STRING_VALUE",
110
+ * EvaluateLowSampleCountPercentile: "STRING_VALUE",
111
+ * Metrics: [ // MetricDataQueries
112
+ * { // MetricDataQuery
113
+ * Id: "STRING_VALUE", // required
114
+ * MetricStat: { // MetricStat
115
+ * Metric: { // Metric
116
+ * Namespace: "STRING_VALUE",
117
+ * MetricName: "STRING_VALUE",
118
+ * Dimensions: [
119
+ * {
120
+ * Name: "STRING_VALUE", // required
121
+ * Value: "STRING_VALUE", // required
122
+ * },
123
+ * ],
124
+ * },
125
+ * Period: Number("int"), // required
126
+ * Stat: "STRING_VALUE", // required
127
+ * Unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
128
+ * },
129
+ * Expression: "STRING_VALUE",
130
+ * Label: "STRING_VALUE",
131
+ * ReturnData: true || false,
132
+ * Period: Number("int"),
133
+ * AccountId: "STRING_VALUE",
134
+ * },
135
+ * ],
136
+ * Tags: [ // TagList
137
+ * { // Tag
138
+ * Key: "STRING_VALUE", // required
139
+ * Value: "STRING_VALUE", // required
140
+ * },
141
+ * ],
142
+ * ThresholdMetricId: "STRING_VALUE",
143
+ * };
80
144
  * const command = new PutMetricAlarmCommand(input);
81
145
  * const response = await client.send(command);
82
146
  * ```
@@ -68,6 +68,36 @@ export interface PutMetricDataCommandOutput extends __MetadataBearer {
68
68
  * import { CloudWatchClient, PutMetricDataCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
69
69
  * // const { CloudWatchClient, PutMetricDataCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
70
70
  * const client = new CloudWatchClient(config);
71
+ * const input = { // PutMetricDataInput
72
+ * Namespace: "STRING_VALUE", // required
73
+ * MetricData: [ // MetricData // required
74
+ * { // MetricDatum
75
+ * MetricName: "STRING_VALUE", // required
76
+ * Dimensions: [ // Dimensions
77
+ * { // Dimension
78
+ * Name: "STRING_VALUE", // required
79
+ * Value: "STRING_VALUE", // required
80
+ * },
81
+ * ],
82
+ * Timestamp: new Date("TIMESTAMP"),
83
+ * Value: Number("double"),
84
+ * StatisticValues: { // StatisticSet
85
+ * SampleCount: Number("double"), // required
86
+ * Sum: Number("double"), // required
87
+ * Minimum: Number("double"), // required
88
+ * Maximum: Number("double"), // required
89
+ * },
90
+ * Values: [ // Values
91
+ * Number("double"),
92
+ * ],
93
+ * Counts: [ // Counts
94
+ * Number("double"),
95
+ * ],
96
+ * Unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
97
+ * StorageResolution: Number("int"),
98
+ * },
99
+ * ],
100
+ * };
71
101
  * const command = new PutMetricDataCommand(input);
72
102
  * const response = await client.send(command);
73
103
  * ```
@@ -59,6 +59,42 @@ export interface PutMetricStreamCommandOutput extends PutMetricStreamOutput, __M
59
59
  * import { CloudWatchClient, PutMetricStreamCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
60
60
  * // const { CloudWatchClient, PutMetricStreamCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
61
61
  * const client = new CloudWatchClient(config);
62
+ * const input = { // PutMetricStreamInput
63
+ * Name: "STRING_VALUE", // required
64
+ * IncludeFilters: [ // MetricStreamFilters
65
+ * { // MetricStreamFilter
66
+ * Namespace: "STRING_VALUE",
67
+ * },
68
+ * ],
69
+ * ExcludeFilters: [
70
+ * {
71
+ * Namespace: "STRING_VALUE",
72
+ * },
73
+ * ],
74
+ * FirehoseArn: "STRING_VALUE", // required
75
+ * RoleArn: "STRING_VALUE", // required
76
+ * OutputFormat: "json" || "opentelemetry0.7", // required
77
+ * Tags: [ // TagList
78
+ * { // Tag
79
+ * Key: "STRING_VALUE", // required
80
+ * Value: "STRING_VALUE", // required
81
+ * },
82
+ * ],
83
+ * StatisticsConfigurations: [ // MetricStreamStatisticsConfigurations
84
+ * { // MetricStreamStatisticsConfiguration
85
+ * IncludeMetrics: [ // MetricStreamStatisticsIncludeMetrics // required
86
+ * { // MetricStreamStatisticsMetric
87
+ * Namespace: "STRING_VALUE", // required
88
+ * MetricName: "STRING_VALUE", // required
89
+ * },
90
+ * ],
91
+ * AdditionalStatistics: [ // MetricStreamStatisticsAdditionalStatistics // required
92
+ * "STRING_VALUE",
93
+ * ],
94
+ * },
95
+ * ],
96
+ * IncludeLinkedAccountsMetrics: true || false,
97
+ * };
62
98
  * const command = new PutMetricStreamCommand(input);
63
99
  * const response = await client.send(command);
64
100
  * ```
@@ -41,6 +41,12 @@ export interface SetAlarmStateCommandOutput extends __MetadataBearer {
41
41
  * import { CloudWatchClient, SetAlarmStateCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
42
42
  * // const { CloudWatchClient, SetAlarmStateCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
43
43
  * const client = new CloudWatchClient(config);
44
+ * const input = { // SetAlarmStateInput
45
+ * AlarmName: "STRING_VALUE", // required
46
+ * StateValue: "OK" || "ALARM" || "INSUFFICIENT_DATA", // required
47
+ * StateReason: "STRING_VALUE", // required
48
+ * StateReasonData: "STRING_VALUE",
49
+ * };
44
50
  * const command = new SetAlarmStateCommand(input);
45
51
  * const response = await client.send(command);
46
52
  * ```
@@ -26,6 +26,11 @@ export interface StartMetricStreamsCommandOutput extends StartMetricStreamsOutpu
26
26
  * import { CloudWatchClient, StartMetricStreamsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
27
27
  * // const { CloudWatchClient, StartMetricStreamsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
28
28
  * const client = new CloudWatchClient(config);
29
+ * const input = { // StartMetricStreamsInput
30
+ * Names: [ // MetricStreamNames // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new StartMetricStreamsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface StopMetricStreamsCommandOutput extends StopMetricStreamsOutput,
26
26
  * import { CloudWatchClient, StopMetricStreamsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
27
27
  * // const { CloudWatchClient, StopMetricStreamsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
28
28
  * const client = new CloudWatchClient(config);
29
+ * const input = { // StopMetricStreamsInput
30
+ * Names: [ // MetricStreamNames // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new StopMetricStreamsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -36,6 +36,15 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
36
36
  * import { CloudWatchClient, TagResourceCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
37
37
  * // const { CloudWatchClient, TagResourceCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
38
38
  * const client = new CloudWatchClient(config);
39
+ * const input = { // TagResourceInput
40
+ * ResourceARN: "STRING_VALUE", // required
41
+ * Tags: [ // TagList // required
42
+ * { // Tag
43
+ * Key: "STRING_VALUE", // required
44
+ * Value: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * };
39
48
  * const command = new TagResourceCommand(input);
40
49
  * const response = await client.send(command);
41
50
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
26
26
  * import { CloudWatchClient, UntagResourceCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
27
27
  * // const { CloudWatchClient, UntagResourceCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
28
28
  * const client = new CloudWatchClient(config);
29
+ * const input = { // UntagResourceInput
30
+ * ResourceARN: "STRING_VALUE", // required
31
+ * TagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
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.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "@aws-sdk/util-waiter": "3.296.0",
57
57
  "fast-xml-parser": "4.1.2",