@aws-sdk/client-cloudwatch 3.325.0 → 3.326.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 +4 -0
  2. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +4 -0
  3. package/dist-types/commands/DeleteDashboardsCommand.d.ts +4 -0
  4. package/dist-types/commands/DeleteInsightRulesCommand.d.ts +13 -0
  5. package/dist-types/commands/DeleteMetricStreamCommand.d.ts +4 -0
  6. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +16 -0
  7. package/dist-types/commands/DescribeAlarmsCommand.d.ts +101 -0
  8. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +73 -0
  9. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +62 -0
  10. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +15 -0
  11. package/dist-types/commands/DisableAlarmActionsCommand.d.ts +4 -0
  12. package/dist-types/commands/DisableInsightRulesCommand.d.ts +13 -0
  13. package/dist-types/commands/EnableAlarmActionsCommand.d.ts +4 -0
  14. package/dist-types/commands/EnableInsightRulesCommand.d.ts +13 -0
  15. package/dist-types/commands/GetDashboardCommand.d.ts +8 -0
  16. package/dist-types/commands/GetInsightRuleReportCommand.d.ts +37 -0
  17. package/dist-types/commands/GetMetricDataCommand.d.ts +31 -0
  18. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +20 -0
  19. package/dist-types/commands/GetMetricStreamCommand.d.ts +37 -0
  20. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +6 -0
  21. package/dist-types/commands/ListDashboardsCommand.d.ts +14 -0
  22. package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +16 -0
  23. package/dist-types/commands/ListMetricStreamsCommand.d.ts +17 -0
  24. package/dist-types/commands/ListMetricsCommand.d.ts +21 -0
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  26. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +4 -0
  27. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +4 -0
  28. package/dist-types/commands/PutDashboardCommand.d.ts +11 -0
  29. package/dist-types/commands/PutInsightRuleCommand.d.ts +4 -0
  30. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +13 -0
  31. package/dist-types/commands/PutMetricAlarmCommand.d.ts +4 -0
  32. package/dist-types/commands/PutMetricDataCommand.d.ts +4 -0
  33. package/dist-types/commands/PutMetricStreamCommand.d.ts +6 -0
  34. package/dist-types/commands/SetAlarmStateCommand.d.ts +4 -0
  35. package/dist-types/commands/StartMetricStreamsCommand.d.ts +4 -0
  36. package/dist-types/commands/StopMetricStreamsCommand.d.ts +4 -0
  37. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  38. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  39. package/package.json +3 -3
@@ -50,6 +50,8 @@ export interface DeleteAlarmsCommandOutput extends __MetadataBearer {
50
50
  * };
51
51
  * const command = new DeleteAlarmsCommand(input);
52
52
  * const response = await client.send(command);
53
+ * // {};
54
+ *
53
55
  * ```
54
56
  *
55
57
  * @param DeleteAlarmsCommandInput - {@link DeleteAlarmsCommandInput}
@@ -61,6 +63,8 @@ export interface DeleteAlarmsCommandOutput extends __MetadataBearer {
61
63
  * @throws {@link ResourceNotFound} (client fault)
62
64
  * <p>The named resource does not exist.</p>
63
65
  *
66
+ * @throws {@link CloudWatchServiceException}
67
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
64
68
  *
65
69
  */
66
70
  export declare class DeleteAlarmsCommand extends $Command<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput, CloudWatchClientResolvedConfig> {
@@ -80,6 +80,8 @@ export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetecto
80
80
  * };
81
81
  * const command = new DeleteAnomalyDetectorCommand(input);
82
82
  * const response = await client.send(command);
83
+ * // {};
84
+ *
83
85
  * ```
84
86
  *
85
87
  * @param DeleteAnomalyDetectorCommandInput - {@link DeleteAnomalyDetectorCommandInput}
@@ -103,6 +105,8 @@ export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetecto
103
105
  * @throws {@link ResourceNotFoundException} (client fault)
104
106
  * <p>The named resource does not exist.</p>
105
107
  *
108
+ * @throws {@link CloudWatchServiceException}
109
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
106
110
  *
107
111
  */
108
112
  export declare class DeleteAnomalyDetectorCommand extends $Command<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, CloudWatchClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface DeleteDashboardsCommandOutput extends DeleteDashboardsOutput, _
35
35
  * };
36
36
  * const command = new DeleteDashboardsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param DeleteDashboardsCommandInput - {@link DeleteDashboardsCommandInput}
@@ -52,6 +54,8 @@ export interface DeleteDashboardsCommandOutput extends DeleteDashboardsOutput, _
52
54
  * @throws {@link InvalidParameterValueException} (client fault)
53
55
  * <p>The value of an input parameter is bad or out-of-range.</p>
54
56
  *
57
+ * @throws {@link CloudWatchServiceException}
58
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
55
59
  *
56
60
  */
57
61
  export declare class DeleteDashboardsCommand extends $Command<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput, CloudWatchClientResolvedConfig> {
@@ -36,6 +36,17 @@ export interface DeleteInsightRulesCommandOutput extends DeleteInsightRulesOutpu
36
36
  * };
37
37
  * const command = new DeleteInsightRulesCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // DeleteInsightRulesOutput
40
+ * // Failures: [ // BatchFailures
41
+ * // { // PartialFailure
42
+ * // FailureResource: "STRING_VALUE",
43
+ * // ExceptionType: "STRING_VALUE",
44
+ * // FailureCode: "STRING_VALUE",
45
+ * // FailureDescription: "STRING_VALUE",
46
+ * // },
47
+ * // ],
48
+ * // };
49
+ *
39
50
  * ```
40
51
  *
41
52
  * @param DeleteInsightRulesCommandInput - {@link DeleteInsightRulesCommandInput}
@@ -50,6 +61,8 @@ export interface DeleteInsightRulesCommandOutput extends DeleteInsightRulesOutpu
50
61
  * @throws {@link MissingRequiredParameterException} (client fault)
51
62
  * <p>An input parameter that is required is missing.</p>
52
63
  *
64
+ * @throws {@link CloudWatchServiceException}
65
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
53
66
  *
54
67
  */
55
68
  export declare class DeleteInsightRulesCommand extends $Command<DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteMetricStreamCommandOutput extends DeleteMetricStreamOutpu
31
31
  * };
32
32
  * const command = new DeleteMetricStreamCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteMetricStreamCommandInput - {@link DeleteMetricStreamCommandInput}
@@ -48,6 +50,8 @@ export interface DeleteMetricStreamCommandOutput extends DeleteMetricStreamOutpu
48
50
  * @throws {@link MissingRequiredParameterException} (client fault)
49
51
  * <p>An input parameter that is required is missing.</p>
50
52
  *
53
+ * @throws {@link CloudWatchServiceException}
54
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
51
55
  *
52
56
  */
53
57
  export declare class DeleteMetricStreamCommand extends $Command<DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput, CloudWatchClientResolvedConfig> {
@@ -45,6 +45,20 @@ export interface DescribeAlarmHistoryCommandOutput extends DescribeAlarmHistoryO
45
45
  * };
46
46
  * const command = new DescribeAlarmHistoryCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // DescribeAlarmHistoryOutput
49
+ * // AlarmHistoryItems: [ // AlarmHistoryItems
50
+ * // { // AlarmHistoryItem
51
+ * // AlarmName: "STRING_VALUE",
52
+ * // AlarmType: "CompositeAlarm" || "MetricAlarm",
53
+ * // Timestamp: new Date("TIMESTAMP"),
54
+ * // HistoryItemType: "ConfigurationUpdate" || "StateUpdate" || "Action",
55
+ * // HistorySummary: "STRING_VALUE",
56
+ * // HistoryData: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // NextToken: "STRING_VALUE",
60
+ * // };
61
+ *
48
62
  * ```
49
63
  *
50
64
  * @param DescribeAlarmHistoryCommandInput - {@link DescribeAlarmHistoryCommandInput}
@@ -56,6 +70,8 @@ export interface DescribeAlarmHistoryCommandOutput extends DescribeAlarmHistoryO
56
70
  * @throws {@link InvalidNextToken} (client fault)
57
71
  * <p>The next token specified is invalid.</p>
58
72
  *
73
+ * @throws {@link CloudWatchServiceException}
74
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
59
75
  *
60
76
  */
61
77
  export declare class DescribeAlarmHistoryCommand extends $Command<DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput, CloudWatchClientResolvedConfig> {
@@ -47,6 +47,105 @@ export interface DescribeAlarmsCommandOutput extends DescribeAlarmsOutput, __Met
47
47
  * };
48
48
  * const command = new DescribeAlarmsCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // DescribeAlarmsOutput
51
+ * // CompositeAlarms: [ // CompositeAlarms
52
+ * // { // CompositeAlarm
53
+ * // ActionsEnabled: true || false,
54
+ * // AlarmActions: [ // ResourceList
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // AlarmArn: "STRING_VALUE",
58
+ * // AlarmConfigurationUpdatedTimestamp: new Date("TIMESTAMP"),
59
+ * // AlarmDescription: "STRING_VALUE",
60
+ * // AlarmName: "STRING_VALUE",
61
+ * // AlarmRule: "STRING_VALUE",
62
+ * // InsufficientDataActions: [
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // OKActions: [
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // StateReason: "STRING_VALUE",
69
+ * // StateReasonData: "STRING_VALUE",
70
+ * // StateUpdatedTimestamp: new Date("TIMESTAMP"),
71
+ * // StateValue: "OK" || "ALARM" || "INSUFFICIENT_DATA",
72
+ * // StateTransitionedTimestamp: new Date("TIMESTAMP"),
73
+ * // ActionsSuppressedBy: "WaitPeriod" || "ExtensionPeriod" || "Alarm",
74
+ * // ActionsSuppressedReason: "STRING_VALUE",
75
+ * // ActionsSuppressor: "STRING_VALUE",
76
+ * // ActionsSuppressorWaitPeriod: Number("int"),
77
+ * // ActionsSuppressorExtensionPeriod: Number("int"),
78
+ * // },
79
+ * // ],
80
+ * // MetricAlarms: [ // MetricAlarms
81
+ * // { // MetricAlarm
82
+ * // AlarmName: "STRING_VALUE",
83
+ * // AlarmArn: "STRING_VALUE",
84
+ * // AlarmDescription: "STRING_VALUE",
85
+ * // AlarmConfigurationUpdatedTimestamp: new Date("TIMESTAMP"),
86
+ * // ActionsEnabled: true || false,
87
+ * // OKActions: [
88
+ * // "STRING_VALUE",
89
+ * // ],
90
+ * // AlarmActions: [
91
+ * // "STRING_VALUE",
92
+ * // ],
93
+ * // InsufficientDataActions: "<ResourceList>",
94
+ * // StateValue: "OK" || "ALARM" || "INSUFFICIENT_DATA",
95
+ * // StateReason: "STRING_VALUE",
96
+ * // StateReasonData: "STRING_VALUE",
97
+ * // StateUpdatedTimestamp: new Date("TIMESTAMP"),
98
+ * // MetricName: "STRING_VALUE",
99
+ * // Namespace: "STRING_VALUE",
100
+ * // Statistic: "SampleCount" || "Average" || "Sum" || "Minimum" || "Maximum",
101
+ * // ExtendedStatistic: "STRING_VALUE",
102
+ * // Dimensions: [ // Dimensions
103
+ * // { // Dimension
104
+ * // Name: "STRING_VALUE", // required
105
+ * // Value: "STRING_VALUE", // required
106
+ * // },
107
+ * // ],
108
+ * // Period: Number("int"),
109
+ * // 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",
110
+ * // EvaluationPeriods: Number("int"),
111
+ * // DatapointsToAlarm: Number("int"),
112
+ * // Threshold: Number("double"),
113
+ * // ComparisonOperator: "GreaterThanOrEqualToThreshold" || "GreaterThanThreshold" || "LessThanThreshold" || "LessThanOrEqualToThreshold" || "LessThanLowerOrGreaterThanUpperThreshold" || "LessThanLowerThreshold" || "GreaterThanUpperThreshold",
114
+ * // TreatMissingData: "STRING_VALUE",
115
+ * // EvaluateLowSampleCountPercentile: "STRING_VALUE",
116
+ * // Metrics: [ // MetricDataQueries
117
+ * // { // MetricDataQuery
118
+ * // Id: "STRING_VALUE", // required
119
+ * // MetricStat: { // MetricStat
120
+ * // Metric: { // Metric
121
+ * // Namespace: "STRING_VALUE",
122
+ * // MetricName: "STRING_VALUE",
123
+ * // Dimensions: [
124
+ * // {
125
+ * // Name: "STRING_VALUE", // required
126
+ * // Value: "STRING_VALUE", // required
127
+ * // },
128
+ * // ],
129
+ * // },
130
+ * // Period: Number("int"), // required
131
+ * // Stat: "STRING_VALUE", // required
132
+ * // 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",
133
+ * // },
134
+ * // Expression: "STRING_VALUE",
135
+ * // Label: "STRING_VALUE",
136
+ * // ReturnData: true || false,
137
+ * // Period: Number("int"),
138
+ * // AccountId: "STRING_VALUE",
139
+ * // },
140
+ * // ],
141
+ * // ThresholdMetricId: "STRING_VALUE",
142
+ * // EvaluationState: "PARTIAL_DATA",
143
+ * // StateTransitionedTimestamp: new Date("TIMESTAMP"),
144
+ * // },
145
+ * // ],
146
+ * // NextToken: "STRING_VALUE",
147
+ * // };
148
+ *
50
149
  * ```
51
150
  *
52
151
  * @param DescribeAlarmsCommandInput - {@link DescribeAlarmsCommandInput}
@@ -58,6 +157,8 @@ export interface DescribeAlarmsCommandOutput extends DescribeAlarmsOutput, __Met
58
157
  * @throws {@link InvalidNextToken} (client fault)
59
158
  * <p>The next token specified is invalid.</p>
60
159
  *
160
+ * @throws {@link CloudWatchServiceException}
161
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
61
162
  *
62
163
  */
63
164
  export declare class DescribeAlarmsCommand extends $Command<DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput, CloudWatchClientResolvedConfig> {
@@ -46,6 +46,77 @@ export interface DescribeAlarmsForMetricCommandOutput extends DescribeAlarmsForM
46
46
  * };
47
47
  * const command = new DescribeAlarmsForMetricCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // DescribeAlarmsForMetricOutput
50
+ * // MetricAlarms: [ // MetricAlarms
51
+ * // { // MetricAlarm
52
+ * // AlarmName: "STRING_VALUE",
53
+ * // AlarmArn: "STRING_VALUE",
54
+ * // AlarmDescription: "STRING_VALUE",
55
+ * // AlarmConfigurationUpdatedTimestamp: new Date("TIMESTAMP"),
56
+ * // ActionsEnabled: true || false,
57
+ * // OKActions: [ // ResourceList
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // AlarmActions: [
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // InsufficientDataActions: [
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // StateValue: "OK" || "ALARM" || "INSUFFICIENT_DATA",
67
+ * // StateReason: "STRING_VALUE",
68
+ * // StateReasonData: "STRING_VALUE",
69
+ * // StateUpdatedTimestamp: new Date("TIMESTAMP"),
70
+ * // MetricName: "STRING_VALUE",
71
+ * // Namespace: "STRING_VALUE",
72
+ * // Statistic: "SampleCount" || "Average" || "Sum" || "Minimum" || "Maximum",
73
+ * // ExtendedStatistic: "STRING_VALUE",
74
+ * // Dimensions: [ // Dimensions
75
+ * // { // Dimension
76
+ * // Name: "STRING_VALUE", // required
77
+ * // Value: "STRING_VALUE", // required
78
+ * // },
79
+ * // ],
80
+ * // Period: Number("int"),
81
+ * // 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",
82
+ * // EvaluationPeriods: Number("int"),
83
+ * // DatapointsToAlarm: Number("int"),
84
+ * // Threshold: Number("double"),
85
+ * // ComparisonOperator: "GreaterThanOrEqualToThreshold" || "GreaterThanThreshold" || "LessThanThreshold" || "LessThanOrEqualToThreshold" || "LessThanLowerOrGreaterThanUpperThreshold" || "LessThanLowerThreshold" || "GreaterThanUpperThreshold",
86
+ * // TreatMissingData: "STRING_VALUE",
87
+ * // EvaluateLowSampleCountPercentile: "STRING_VALUE",
88
+ * // Metrics: [ // MetricDataQueries
89
+ * // { // MetricDataQuery
90
+ * // Id: "STRING_VALUE", // required
91
+ * // MetricStat: { // MetricStat
92
+ * // Metric: { // Metric
93
+ * // Namespace: "STRING_VALUE",
94
+ * // MetricName: "STRING_VALUE",
95
+ * // Dimensions: [
96
+ * // {
97
+ * // Name: "STRING_VALUE", // required
98
+ * // Value: "STRING_VALUE", // required
99
+ * // },
100
+ * // ],
101
+ * // },
102
+ * // Period: Number("int"), // required
103
+ * // Stat: "STRING_VALUE", // required
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
+ * // },
106
+ * // Expression: "STRING_VALUE",
107
+ * // Label: "STRING_VALUE",
108
+ * // ReturnData: true || false,
109
+ * // Period: Number("int"),
110
+ * // AccountId: "STRING_VALUE",
111
+ * // },
112
+ * // ],
113
+ * // ThresholdMetricId: "STRING_VALUE",
114
+ * // EvaluationState: "PARTIAL_DATA",
115
+ * // StateTransitionedTimestamp: new Date("TIMESTAMP"),
116
+ * // },
117
+ * // ],
118
+ * // };
119
+ *
49
120
  * ```
50
121
  *
51
122
  * @param DescribeAlarmsForMetricCommandInput - {@link DescribeAlarmsForMetricCommandInput}
@@ -54,6 +125,8 @@ export interface DescribeAlarmsForMetricCommandOutput extends DescribeAlarmsForM
54
125
  * @see {@link DescribeAlarmsForMetricCommandOutput} for command's `response` shape.
55
126
  * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
56
127
  *
128
+ * @throws {@link CloudWatchServiceException}
129
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
57
130
  *
58
131
  */
59
132
  export declare class DescribeAlarmsForMetricCommand extends $Command<DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput, CloudWatchClientResolvedConfig> {
@@ -49,6 +49,66 @@ export interface DescribeAnomalyDetectorsCommandOutput extends DescribeAnomalyDe
49
49
  * };
50
50
  * const command = new DescribeAnomalyDetectorsCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // { // DescribeAnomalyDetectorsOutput
53
+ * // AnomalyDetectors: [ // AnomalyDetectors
54
+ * // { // AnomalyDetector
55
+ * // Namespace: "STRING_VALUE",
56
+ * // MetricName: "STRING_VALUE",
57
+ * // Dimensions: [ // Dimensions
58
+ * // { // Dimension
59
+ * // Name: "STRING_VALUE", // required
60
+ * // Value: "STRING_VALUE", // required
61
+ * // },
62
+ * // ],
63
+ * // Stat: "STRING_VALUE",
64
+ * // Configuration: { // AnomalyDetectorConfiguration
65
+ * // ExcludedTimeRanges: [ // AnomalyDetectorExcludedTimeRanges
66
+ * // { // Range
67
+ * // StartTime: new Date("TIMESTAMP"), // required
68
+ * // EndTime: new Date("TIMESTAMP"), // required
69
+ * // },
70
+ * // ],
71
+ * // MetricTimezone: "STRING_VALUE",
72
+ * // },
73
+ * // StateValue: "PENDING_TRAINING" || "TRAINED_INSUFFICIENT_DATA" || "TRAINED",
74
+ * // SingleMetricAnomalyDetector: { // SingleMetricAnomalyDetector
75
+ * // Namespace: "STRING_VALUE",
76
+ * // MetricName: "STRING_VALUE",
77
+ * // Dimensions: [
78
+ * // {
79
+ * // Name: "STRING_VALUE", // required
80
+ * // Value: "STRING_VALUE", // required
81
+ * // },
82
+ * // ],
83
+ * // Stat: "STRING_VALUE",
84
+ * // },
85
+ * // MetricMathAnomalyDetector: { // MetricMathAnomalyDetector
86
+ * // MetricDataQueries: [ // MetricDataQueries
87
+ * // { // MetricDataQuery
88
+ * // Id: "STRING_VALUE", // required
89
+ * // MetricStat: { // MetricStat
90
+ * // Metric: { // Metric
91
+ * // Namespace: "STRING_VALUE",
92
+ * // MetricName: "STRING_VALUE",
93
+ * // Dimensions: "<Dimensions>",
94
+ * // },
95
+ * // Period: Number("int"), // required
96
+ * // Stat: "STRING_VALUE", // required
97
+ * // 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",
98
+ * // },
99
+ * // Expression: "STRING_VALUE",
100
+ * // Label: "STRING_VALUE",
101
+ * // ReturnData: true || false,
102
+ * // Period: Number("int"),
103
+ * // AccountId: "STRING_VALUE",
104
+ * // },
105
+ * // ],
106
+ * // },
107
+ * // },
108
+ * // ],
109
+ * // NextToken: "STRING_VALUE",
110
+ * // };
111
+ *
52
112
  * ```
53
113
  *
54
114
  * @param DescribeAnomalyDetectorsCommandInput - {@link DescribeAnomalyDetectorsCommandInput}
@@ -69,6 +129,8 @@ export interface DescribeAnomalyDetectorsCommandOutput extends DescribeAnomalyDe
69
129
  * @throws {@link InvalidParameterValueException} (client fault)
70
130
  * <p>The value of an input parameter is bad or out-of-range.</p>
71
131
  *
132
+ * @throws {@link CloudWatchServiceException}
133
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
72
134
  *
73
135
  */
74
136
  export declare class DescribeAnomalyDetectorsCommand extends $Command<DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput, CloudWatchClientResolvedConfig> {
@@ -34,6 +34,19 @@ export interface DescribeInsightRulesCommandOutput extends DescribeInsightRulesO
34
34
  * };
35
35
  * const command = new DescribeInsightRulesCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // DescribeInsightRulesOutput
38
+ * // NextToken: "STRING_VALUE",
39
+ * // InsightRules: [ // InsightRules
40
+ * // { // InsightRule
41
+ * // Name: "STRING_VALUE", // required
42
+ * // State: "STRING_VALUE", // required
43
+ * // Schema: "STRING_VALUE", // required
44
+ * // Definition: "STRING_VALUE", // required
45
+ * // ManagedRule: true || false,
46
+ * // },
47
+ * // ],
48
+ * // };
49
+ *
37
50
  * ```
38
51
  *
39
52
  * @param DescribeInsightRulesCommandInput - {@link DescribeInsightRulesCommandInput}
@@ -45,6 +58,8 @@ export interface DescribeInsightRulesCommandOutput extends DescribeInsightRulesO
45
58
  * @throws {@link InvalidNextToken} (client fault)
46
59
  * <p>The next token specified is invalid.</p>
47
60
  *
61
+ * @throws {@link CloudWatchServiceException}
62
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
48
63
  *
49
64
  */
50
65
  export declare class DescribeInsightRulesCommand extends $Command<DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface DisableAlarmActionsCommandOutput extends __MetadataBearer {
34
34
  * };
35
35
  * const command = new DisableAlarmActionsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param DisableAlarmActionsCommandInput - {@link DisableAlarmActionsCommandInput}
@@ -42,6 +44,8 @@ export interface DisableAlarmActionsCommandOutput extends __MetadataBearer {
42
44
  * @see {@link DisableAlarmActionsCommandOutput} for command's `response` shape.
43
45
  * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
44
46
  *
47
+ * @throws {@link CloudWatchServiceException}
48
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
45
49
  *
46
50
  */
47
51
  export declare class DisableAlarmActionsCommand extends $Command<DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig> {
@@ -34,6 +34,17 @@ export interface DisableInsightRulesCommandOutput extends DisableInsightRulesOut
34
34
  * };
35
35
  * const command = new DisableInsightRulesCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // DisableInsightRulesOutput
38
+ * // Failures: [ // BatchFailures
39
+ * // { // PartialFailure
40
+ * // FailureResource: "STRING_VALUE",
41
+ * // ExceptionType: "STRING_VALUE",
42
+ * // FailureCode: "STRING_VALUE",
43
+ * // FailureDescription: "STRING_VALUE",
44
+ * // },
45
+ * // ],
46
+ * // };
47
+ *
37
48
  * ```
38
49
  *
39
50
  * @param DisableInsightRulesCommandInput - {@link DisableInsightRulesCommandInput}
@@ -48,6 +59,8 @@ export interface DisableInsightRulesCommandOutput extends DisableInsightRulesOut
48
59
  * @throws {@link MissingRequiredParameterException} (client fault)
49
60
  * <p>An input parameter that is required is missing.</p>
50
61
  *
62
+ * @throws {@link CloudWatchServiceException}
63
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
51
64
  *
52
65
  */
53
66
  export declare class DisableInsightRulesCommand extends $Command<DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface EnableAlarmActionsCommandOutput extends __MetadataBearer {
33
33
  * };
34
34
  * const command = new EnableAlarmActionsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param EnableAlarmActionsCommandInput - {@link EnableAlarmActionsCommandInput}
@@ -41,6 +43,8 @@ export interface EnableAlarmActionsCommandOutput extends __MetadataBearer {
41
43
  * @see {@link EnableAlarmActionsCommandOutput} for command's `response` shape.
42
44
  * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
43
45
  *
46
+ * @throws {@link CloudWatchServiceException}
47
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
44
48
  *
45
49
  */
46
50
  export declare class EnableAlarmActionsCommand extends $Command<EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig> {
@@ -33,6 +33,17 @@ export interface EnableInsightRulesCommandOutput extends EnableInsightRulesOutpu
33
33
  * };
34
34
  * const command = new EnableInsightRulesCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // EnableInsightRulesOutput
37
+ * // Failures: [ // BatchFailures
38
+ * // { // PartialFailure
39
+ * // FailureResource: "STRING_VALUE",
40
+ * // ExceptionType: "STRING_VALUE",
41
+ * // FailureCode: "STRING_VALUE",
42
+ * // FailureDescription: "STRING_VALUE",
43
+ * // },
44
+ * // ],
45
+ * // };
46
+ *
36
47
  * ```
37
48
  *
38
49
  * @param EnableInsightRulesCommandInput - {@link EnableInsightRulesCommandInput}
@@ -50,6 +61,8 @@ export interface EnableInsightRulesCommandOutput extends EnableInsightRulesOutpu
50
61
  * @throws {@link MissingRequiredParameterException} (client fault)
51
62
  * <p>An input parameter that is required is missing.</p>
52
63
  *
64
+ * @throws {@link CloudWatchServiceException}
65
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
53
66
  *
54
67
  */
55
68
  export declare class EnableInsightRulesCommand extends $Command<EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
@@ -34,6 +34,12 @@ export interface GetDashboardCommandOutput extends GetDashboardOutput, __Metadat
34
34
  * };
35
35
  * const command = new GetDashboardCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // GetDashboardOutput
38
+ * // DashboardArn: "STRING_VALUE",
39
+ * // DashboardBody: "STRING_VALUE",
40
+ * // DashboardName: "STRING_VALUE",
41
+ * // };
42
+ *
37
43
  * ```
38
44
  *
39
45
  * @param GetDashboardCommandInput - {@link GetDashboardCommandInput}
@@ -51,6 +57,8 @@ export interface GetDashboardCommandOutput extends GetDashboardOutput, __Metadat
51
57
  * @throws {@link InvalidParameterValueException} (client fault)
52
58
  * <p>The value of an input parameter is bad or out-of-range.</p>
53
59
  *
60
+ * @throws {@link CloudWatchServiceException}
61
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
54
62
  *
55
63
  */
56
64
  export declare class GetDashboardCommand extends $Command<GetDashboardCommandInput, GetDashboardCommandOutput, CloudWatchClientResolvedConfig> {
@@ -75,6 +75,41 @@ export interface GetInsightRuleReportCommandOutput extends GetInsightRuleReportO
75
75
  * };
76
76
  * const command = new GetInsightRuleReportCommand(input);
77
77
  * const response = await client.send(command);
78
+ * // { // GetInsightRuleReportOutput
79
+ * // KeyLabels: [ // InsightRuleContributorKeyLabels
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // AggregationStatistic: "STRING_VALUE",
83
+ * // AggregateValue: Number("double"),
84
+ * // ApproximateUniqueCount: Number("long"),
85
+ * // Contributors: [ // InsightRuleContributors
86
+ * // { // InsightRuleContributor
87
+ * // Keys: [ // InsightRuleContributorKeys // required
88
+ * // "STRING_VALUE",
89
+ * // ],
90
+ * // ApproximateAggregateValue: Number("double"), // required
91
+ * // Datapoints: [ // InsightRuleContributorDatapoints // required
92
+ * // { // InsightRuleContributorDatapoint
93
+ * // Timestamp: new Date("TIMESTAMP"), // required
94
+ * // ApproximateValue: Number("double"), // required
95
+ * // },
96
+ * // ],
97
+ * // },
98
+ * // ],
99
+ * // MetricDatapoints: [ // InsightRuleMetricDatapoints
100
+ * // { // InsightRuleMetricDatapoint
101
+ * // Timestamp: new Date("TIMESTAMP"), // required
102
+ * // UniqueContributors: Number("double"),
103
+ * // MaxContributorValue: Number("double"),
104
+ * // SampleCount: Number("double"),
105
+ * // Average: Number("double"),
106
+ * // Sum: Number("double"),
107
+ * // Minimum: Number("double"),
108
+ * // Maximum: Number("double"),
109
+ * // },
110
+ * // ],
111
+ * // };
112
+ *
78
113
  * ```
79
114
  *
80
115
  * @param GetInsightRuleReportCommandInput - {@link GetInsightRuleReportCommandInput}
@@ -92,6 +127,8 @@ export interface GetInsightRuleReportCommandOutput extends GetInsightRuleReportO
92
127
  * @throws {@link ResourceNotFoundException} (client fault)
93
128
  * <p>The named resource does not exist.</p>
94
129
  *
130
+ * @throws {@link CloudWatchServiceException}
131
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
95
132
  *
96
133
  */
97
134
  export declare class GetInsightRuleReportCommand extends $Command<GetInsightRuleReportCommandInput, GetInsightRuleReportCommandOutput, CloudWatchClientResolvedConfig> {
@@ -110,6 +110,35 @@ export interface GetMetricDataCommandOutput extends GetMetricDataOutput, __Metad
110
110
  * };
111
111
  * const command = new GetMetricDataCommand(input);
112
112
  * const response = await client.send(command);
113
+ * // { // GetMetricDataOutput
114
+ * // MetricDataResults: [ // MetricDataResults
115
+ * // { // MetricDataResult
116
+ * // Id: "STRING_VALUE",
117
+ * // Label: "STRING_VALUE",
118
+ * // Timestamps: [ // Timestamps
119
+ * // new Date("TIMESTAMP"),
120
+ * // ],
121
+ * // Values: [ // DatapointValues
122
+ * // Number("double"),
123
+ * // ],
124
+ * // StatusCode: "Complete" || "InternalError" || "PartialData" || "Forbidden",
125
+ * // Messages: [ // MetricDataResultMessages
126
+ * // { // MessageData
127
+ * // Code: "STRING_VALUE",
128
+ * // Value: "STRING_VALUE",
129
+ * // },
130
+ * // ],
131
+ * // },
132
+ * // ],
133
+ * // NextToken: "STRING_VALUE",
134
+ * // Messages: [
135
+ * // {
136
+ * // Code: "STRING_VALUE",
137
+ * // Value: "STRING_VALUE",
138
+ * // },
139
+ * // ],
140
+ * // };
141
+ *
113
142
  * ```
114
143
  *
115
144
  * @param GetMetricDataCommandInput - {@link GetMetricDataCommandInput}
@@ -121,6 +150,8 @@ export interface GetMetricDataCommandOutput extends GetMetricDataOutput, __Metad
121
150
  * @throws {@link InvalidNextToken} (client fault)
122
151
  * <p>The next token specified is invalid.</p>
123
152
  *
153
+ * @throws {@link CloudWatchServiceException}
154
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
124
155
  *
125
156
  */
126
157
  export declare class GetMetricDataCommand extends $Command<GetMetricDataCommandInput, GetMetricDataCommandOutput, CloudWatchClientResolvedConfig> {
@@ -94,6 +94,24 @@ export interface GetMetricStatisticsCommandOutput extends GetMetricStatisticsOut
94
94
  * };
95
95
  * const command = new GetMetricStatisticsCommand(input);
96
96
  * const response = await client.send(command);
97
+ * // { // GetMetricStatisticsOutput
98
+ * // Label: "STRING_VALUE",
99
+ * // Datapoints: [ // Datapoints
100
+ * // { // Datapoint
101
+ * // Timestamp: new Date("TIMESTAMP"),
102
+ * // SampleCount: Number("double"),
103
+ * // Average: Number("double"),
104
+ * // Sum: Number("double"),
105
+ * // Minimum: Number("double"),
106
+ * // Maximum: Number("double"),
107
+ * // 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",
108
+ * // ExtendedStatistics: { // DatapointValueMap
109
+ * // "<keys>": Number("double"),
110
+ * // },
111
+ * // },
112
+ * // ],
113
+ * // };
114
+ *
97
115
  * ```
98
116
  *
99
117
  * @param GetMetricStatisticsCommandInput - {@link GetMetricStatisticsCommandInput}
@@ -114,6 +132,8 @@ export interface GetMetricStatisticsCommandOutput extends GetMetricStatisticsOut
114
132
  * @throws {@link MissingRequiredParameterException} (client fault)
115
133
  * <p>An input parameter that is required is missing.</p>
116
134
  *
135
+ * @throws {@link CloudWatchServiceException}
136
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
117
137
  *
118
138
  */
119
139
  export declare class GetMetricStatisticsCommand extends $Command<GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput, CloudWatchClientResolvedConfig> {
@@ -31,6 +31,41 @@ export interface GetMetricStreamCommandOutput extends GetMetricStreamOutput, __M
31
31
  * };
32
32
  * const command = new GetMetricStreamCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetMetricStreamOutput
35
+ * // Arn: "STRING_VALUE",
36
+ * // Name: "STRING_VALUE",
37
+ * // IncludeFilters: [ // MetricStreamFilters
38
+ * // { // MetricStreamFilter
39
+ * // Namespace: "STRING_VALUE",
40
+ * // },
41
+ * // ],
42
+ * // ExcludeFilters: [
43
+ * // {
44
+ * // Namespace: "STRING_VALUE",
45
+ * // },
46
+ * // ],
47
+ * // FirehoseArn: "STRING_VALUE",
48
+ * // RoleArn: "STRING_VALUE",
49
+ * // State: "STRING_VALUE",
50
+ * // CreationDate: new Date("TIMESTAMP"),
51
+ * // LastUpdateDate: new Date("TIMESTAMP"),
52
+ * // OutputFormat: "json" || "opentelemetry0.7",
53
+ * // StatisticsConfigurations: [ // MetricStreamStatisticsConfigurations
54
+ * // { // MetricStreamStatisticsConfiguration
55
+ * // IncludeMetrics: [ // MetricStreamStatisticsIncludeMetrics // required
56
+ * // { // MetricStreamStatisticsMetric
57
+ * // Namespace: "STRING_VALUE", // required
58
+ * // MetricName: "STRING_VALUE", // required
59
+ * // },
60
+ * // ],
61
+ * // AdditionalStatistics: [ // MetricStreamStatisticsAdditionalStatistics // required
62
+ * // "STRING_VALUE",
63
+ * // ],
64
+ * // },
65
+ * // ],
66
+ * // IncludeLinkedAccountsMetrics: true || false,
67
+ * // };
68
+ *
34
69
  * ```
35
70
  *
36
71
  * @param GetMetricStreamCommandInput - {@link GetMetricStreamCommandInput}
@@ -54,6 +89,8 @@ export interface GetMetricStreamCommandOutput extends GetMetricStreamOutput, __M
54
89
  * @throws {@link ResourceNotFoundException} (client fault)
55
90
  * <p>The named resource does not exist.</p>
56
91
  *
92
+ * @throws {@link CloudWatchServiceException}
93
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
57
94
  *
58
95
  */
59
96
  export declare class GetMetricStreamCommand extends $Command<GetMetricStreamCommandInput, GetMetricStreamCommandOutput, CloudWatchClientResolvedConfig> {
@@ -47,6 +47,10 @@ export interface GetMetricWidgetImageCommandOutput extends GetMetricWidgetImageO
47
47
  * };
48
48
  * const command = new GetMetricWidgetImageCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // GetMetricWidgetImageOutput
51
+ * // MetricWidgetImage: "BLOB_VALUE",
52
+ * // };
53
+ *
50
54
  * ```
51
55
  *
52
56
  * @param GetMetricWidgetImageCommandInput - {@link GetMetricWidgetImageCommandInput}
@@ -55,6 +59,8 @@ export interface GetMetricWidgetImageCommandOutput extends GetMetricWidgetImageO
55
59
  * @see {@link GetMetricWidgetImageCommandOutput} for command's `response` shape.
56
60
  * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
57
61
  *
62
+ * @throws {@link CloudWatchServiceException}
63
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
58
64
  *
59
65
  */
60
66
  export declare class GetMetricWidgetImageCommand extends $Command<GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput, CloudWatchClientResolvedConfig> {
@@ -40,6 +40,18 @@ export interface ListDashboardsCommandOutput extends ListDashboardsOutput, __Met
40
40
  * };
41
41
  * const command = new ListDashboardsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListDashboardsOutput
44
+ * // DashboardEntries: [ // DashboardEntries
45
+ * // { // DashboardEntry
46
+ * // DashboardName: "STRING_VALUE",
47
+ * // DashboardArn: "STRING_VALUE",
48
+ * // LastModified: new Date("TIMESTAMP"),
49
+ * // Size: Number("long"),
50
+ * // },
51
+ * // ],
52
+ * // NextToken: "STRING_VALUE",
53
+ * // };
54
+ *
43
55
  * ```
44
56
  *
45
57
  * @param ListDashboardsCommandInput - {@link ListDashboardsCommandInput}
@@ -54,6 +66,8 @@ export interface ListDashboardsCommandOutput extends ListDashboardsOutput, __Met
54
66
  * @throws {@link InvalidParameterValueException} (client fault)
55
67
  * <p>The value of an input parameter is bad or out-of-range.</p>
56
68
  *
69
+ * @throws {@link CloudWatchServiceException}
70
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
57
71
  *
58
72
  */
59
73
  export declare class ListDashboardsCommand extends $Command<ListDashboardsCommandInput, ListDashboardsCommandOutput, CloudWatchClientResolvedConfig> {
@@ -39,6 +39,20 @@ export interface ListManagedInsightRulesCommandOutput extends ListManagedInsight
39
39
  * };
40
40
  * const command = new ListManagedInsightRulesCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // ListManagedInsightRulesOutput
43
+ * // ManagedRules: [ // ManagedRuleDescriptions
44
+ * // { // ManagedRuleDescription
45
+ * // TemplateName: "STRING_VALUE",
46
+ * // ResourceARN: "STRING_VALUE",
47
+ * // RuleState: { // ManagedRuleState
48
+ * // RuleName: "STRING_VALUE", // required
49
+ * // State: "STRING_VALUE", // required
50
+ * // },
51
+ * // },
52
+ * // ],
53
+ * // NextToken: "STRING_VALUE",
54
+ * // };
55
+ *
42
56
  * ```
43
57
  *
44
58
  * @param ListManagedInsightRulesCommandInput - {@link ListManagedInsightRulesCommandInput}
@@ -56,6 +70,8 @@ export interface ListManagedInsightRulesCommandOutput extends ListManagedInsight
56
70
  * @throws {@link MissingRequiredParameterException} (client fault)
57
71
  * <p>An input parameter that is required is missing.</p>
58
72
  *
73
+ * @throws {@link CloudWatchServiceException}
74
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
59
75
  *
60
76
  */
61
77
  export declare class ListManagedInsightRulesCommand extends $Command<ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
@@ -32,6 +32,21 @@ export interface ListMetricStreamsCommandOutput extends ListMetricStreamsOutput,
32
32
  * };
33
33
  * const command = new ListMetricStreamsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListMetricStreamsOutput
36
+ * // NextToken: "STRING_VALUE",
37
+ * // Entries: [ // MetricStreamEntries
38
+ * // { // MetricStreamEntry
39
+ * // Arn: "STRING_VALUE",
40
+ * // CreationDate: new Date("TIMESTAMP"),
41
+ * // LastUpdateDate: new Date("TIMESTAMP"),
42
+ * // Name: "STRING_VALUE",
43
+ * // FirehoseArn: "STRING_VALUE",
44
+ * // State: "STRING_VALUE",
45
+ * // OutputFormat: "json" || "opentelemetry0.7",
46
+ * // },
47
+ * // ],
48
+ * // };
49
+ *
35
50
  * ```
36
51
  *
37
52
  * @param ListMetricStreamsCommandInput - {@link ListMetricStreamsCommandInput}
@@ -52,6 +67,8 @@ export interface ListMetricStreamsCommandOutput extends ListMetricStreamsOutput,
52
67
  * @throws {@link MissingRequiredParameterException} (client fault)
53
68
  * <p>An input parameter that is required is missing.</p>
54
69
  *
70
+ * @throws {@link CloudWatchServiceException}
71
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
55
72
  *
56
73
  */
57
74
  export declare class ListMetricStreamsCommand extends $Command<ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput, CloudWatchClientResolvedConfig> {
@@ -54,6 +54,25 @@ export interface ListMetricsCommandOutput extends ListMetricsOutput, __MetadataB
54
54
  * };
55
55
  * const command = new ListMetricsCommand(input);
56
56
  * const response = await client.send(command);
57
+ * // { // ListMetricsOutput
58
+ * // Metrics: [ // Metrics
59
+ * // { // Metric
60
+ * // Namespace: "STRING_VALUE",
61
+ * // MetricName: "STRING_VALUE",
62
+ * // Dimensions: [ // Dimensions
63
+ * // { // Dimension
64
+ * // Name: "STRING_VALUE", // required
65
+ * // Value: "STRING_VALUE", // required
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // ],
70
+ * // NextToken: "STRING_VALUE",
71
+ * // OwningAccounts: [ // OwningAccounts
72
+ * // "STRING_VALUE",
73
+ * // ],
74
+ * // };
75
+ *
57
76
  * ```
58
77
  *
59
78
  * @param ListMetricsCommandInput - {@link ListMetricsCommandInput}
@@ -68,6 +87,8 @@ export interface ListMetricsCommandOutput extends ListMetricsOutput, __MetadataB
68
87
  * @throws {@link InvalidParameterValueException} (client fault)
69
88
  * <p>The value of an input parameter is bad or out-of-range.</p>
70
89
  *
90
+ * @throws {@link CloudWatchServiceException}
91
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
71
92
  *
72
93
  */
73
94
  export declare class ListMetricsCommand extends $Command<ListMetricsCommandInput, ListMetricsCommandOutput, CloudWatchClientResolvedConfig> {
@@ -32,6 +32,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
32
32
  * };
33
33
  * const command = new ListTagsForResourceCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListTagsForResourceOutput
36
+ * // Tags: [ // TagList
37
+ * // { // Tag
38
+ * // Key: "STRING_VALUE", // required
39
+ * // Value: "STRING_VALUE", // required
40
+ * // },
41
+ * // ],
42
+ * // };
43
+ *
35
44
  * ```
36
45
  *
37
46
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -49,6 +58,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
49
58
  * @throws {@link ResourceNotFoundException} (client fault)
50
59
  * <p>The named resource does not exist.</p>
51
60
  *
61
+ * @throws {@link CloudWatchServiceException}
62
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
52
63
  *
53
64
  */
54
65
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CloudWatchClientResolvedConfig> {
@@ -83,6 +83,8 @@ export interface PutAnomalyDetectorCommandOutput extends PutAnomalyDetectorOutpu
83
83
  * };
84
84
  * const command = new PutAnomalyDetectorCommand(input);
85
85
  * const response = await client.send(command);
86
+ * // {};
87
+ *
86
88
  * ```
87
89
  *
88
90
  * @param PutAnomalyDetectorCommandInput - {@link PutAnomalyDetectorCommandInput}
@@ -106,6 +108,8 @@ export interface PutAnomalyDetectorCommandOutput extends PutAnomalyDetectorOutpu
106
108
  * @throws {@link MissingRequiredParameterException} (client fault)
107
109
  * <p>An input parameter that is required is missing.</p>
108
110
  *
111
+ * @throws {@link CloudWatchServiceException}
112
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
109
113
  *
110
114
  */
111
115
  export declare class PutAnomalyDetectorCommand extends $Command<PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput, CloudWatchClientResolvedConfig> {
@@ -90,6 +90,8 @@ export interface PutCompositeAlarmCommandOutput extends __MetadataBearer {
90
90
  * };
91
91
  * const command = new PutCompositeAlarmCommand(input);
92
92
  * const response = await client.send(command);
93
+ * // {};
94
+ *
93
95
  * ```
94
96
  *
95
97
  * @param PutCompositeAlarmCommandInput - {@link PutCompositeAlarmCommandInput}
@@ -101,6 +103,8 @@ export interface PutCompositeAlarmCommandOutput extends __MetadataBearer {
101
103
  * @throws {@link LimitExceededFault} (client fault)
102
104
  * <p>The quota for alarms for this customer has already been reached.</p>
103
105
  *
106
+ * @throws {@link CloudWatchServiceException}
107
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
104
108
  *
105
109
  */
106
110
  export declare class PutCompositeAlarmCommand extends $Command<PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput, CloudWatchClientResolvedConfig> {
@@ -45,6 +45,15 @@ export interface PutDashboardCommandOutput extends PutDashboardOutput, __Metadat
45
45
  * };
46
46
  * const command = new PutDashboardCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // PutDashboardOutput
49
+ * // DashboardValidationMessages: [ // DashboardValidationMessages
50
+ * // { // DashboardValidationMessage
51
+ * // DataPath: "STRING_VALUE",
52
+ * // Message: "STRING_VALUE",
53
+ * // },
54
+ * // ],
55
+ * // };
56
+ *
48
57
  * ```
49
58
  *
50
59
  * @param PutDashboardCommandInput - {@link PutDashboardCommandInput}
@@ -59,6 +68,8 @@ export interface PutDashboardCommandOutput extends PutDashboardOutput, __Metadat
59
68
  * @throws {@link InternalServiceFault} (server fault)
60
69
  * <p>Request processing has failed due to some unknown error, exception, or failure.</p>
61
70
  *
71
+ * @throws {@link CloudWatchServiceException}
72
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
62
73
  *
63
74
  */
64
75
  export declare class PutDashboardCommand extends $Command<PutDashboardCommandInput, PutDashboardCommandOutput, CloudWatchClientResolvedConfig> {
@@ -43,6 +43,8 @@ export interface PutInsightRuleCommandOutput extends PutInsightRuleOutput, __Met
43
43
  * };
44
44
  * const command = new PutInsightRuleCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // {};
47
+ *
46
48
  * ```
47
49
  *
48
50
  * @param PutInsightRuleCommandInput - {@link PutInsightRuleCommandInput}
@@ -60,6 +62,8 @@ export interface PutInsightRuleCommandOutput extends PutInsightRuleOutput, __Met
60
62
  * @throws {@link MissingRequiredParameterException} (client fault)
61
63
  * <p>An input parameter that is required is missing.</p>
62
64
  *
65
+ * @throws {@link CloudWatchServiceException}
66
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
63
67
  *
64
68
  */
65
69
  export declare class PutInsightRuleCommand extends $Command<PutInsightRuleCommandInput, PutInsightRuleCommandOutput, CloudWatchClientResolvedConfig> {
@@ -58,6 +58,17 @@ export interface PutManagedInsightRulesCommandOutput extends PutManagedInsightRu
58
58
  * };
59
59
  * const command = new PutManagedInsightRulesCommand(input);
60
60
  * const response = await client.send(command);
61
+ * // { // PutManagedInsightRulesOutput
62
+ * // Failures: [ // BatchFailures
63
+ * // { // PartialFailure
64
+ * // FailureResource: "STRING_VALUE",
65
+ * // ExceptionType: "STRING_VALUE",
66
+ * // FailureCode: "STRING_VALUE",
67
+ * // FailureDescription: "STRING_VALUE",
68
+ * // },
69
+ * // ],
70
+ * // };
71
+ *
61
72
  * ```
62
73
  *
63
74
  * @param PutManagedInsightRulesCommandInput - {@link PutManagedInsightRulesCommandInput}
@@ -72,6 +83,8 @@ export interface PutManagedInsightRulesCommandOutput extends PutManagedInsightRu
72
83
  * @throws {@link MissingRequiredParameterException} (client fault)
73
84
  * <p>An input parameter that is required is missing.</p>
74
85
  *
86
+ * @throws {@link CloudWatchServiceException}
87
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
75
88
  *
76
89
  */
77
90
  export declare class PutManagedInsightRulesCommand extends $Command<PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
@@ -143,6 +143,8 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
143
143
  * };
144
144
  * const command = new PutMetricAlarmCommand(input);
145
145
  * const response = await client.send(command);
146
+ * // {};
147
+ *
146
148
  * ```
147
149
  *
148
150
  * @param PutMetricAlarmCommandInput - {@link PutMetricAlarmCommandInput}
@@ -154,6 +156,8 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
154
156
  * @throws {@link LimitExceededFault} (client fault)
155
157
  * <p>The quota for alarms for this customer has already been reached.</p>
156
158
  *
159
+ * @throws {@link CloudWatchServiceException}
160
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
157
161
  *
158
162
  */
159
163
  export declare class PutMetricAlarmCommand extends $Command<PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput, CloudWatchClientResolvedConfig> {
@@ -100,6 +100,8 @@ export interface PutMetricDataCommandOutput extends __MetadataBearer {
100
100
  * };
101
101
  * const command = new PutMetricDataCommand(input);
102
102
  * const response = await client.send(command);
103
+ * // {};
104
+ *
103
105
  * ```
104
106
  *
105
107
  * @param PutMetricDataCommandInput - {@link PutMetricDataCommandInput}
@@ -120,6 +122,8 @@ export interface PutMetricDataCommandOutput extends __MetadataBearer {
120
122
  * @throws {@link MissingRequiredParameterException} (client fault)
121
123
  * <p>An input parameter that is required is missing.</p>
122
124
  *
125
+ * @throws {@link CloudWatchServiceException}
126
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
123
127
  *
124
128
  */
125
129
  export declare class PutMetricDataCommand extends $Command<PutMetricDataCommandInput, PutMetricDataCommandOutput, CloudWatchClientResolvedConfig> {
@@ -97,6 +97,10 @@ export interface PutMetricStreamCommandOutput extends PutMetricStreamOutput, __M
97
97
  * };
98
98
  * const command = new PutMetricStreamCommand(input);
99
99
  * const response = await client.send(command);
100
+ * // { // PutMetricStreamOutput
101
+ * // Arn: "STRING_VALUE",
102
+ * // };
103
+ *
100
104
  * ```
101
105
  *
102
106
  * @param PutMetricStreamCommandInput - {@link PutMetricStreamCommandInput}
@@ -120,6 +124,8 @@ export interface PutMetricStreamCommandOutput extends PutMetricStreamOutput, __M
120
124
  * @throws {@link MissingRequiredParameterException} (client fault)
121
125
  * <p>An input parameter that is required is missing.</p>
122
126
  *
127
+ * @throws {@link CloudWatchServiceException}
128
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
123
129
  *
124
130
  */
125
131
  export declare class PutMetricStreamCommand extends $Command<PutMetricStreamCommandInput, PutMetricStreamCommandOutput, CloudWatchClientResolvedConfig> {
@@ -49,6 +49,8 @@ export interface SetAlarmStateCommandOutput extends __MetadataBearer {
49
49
  * };
50
50
  * const command = new SetAlarmStateCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // {};
53
+ *
52
54
  * ```
53
55
  *
54
56
  * @param SetAlarmStateCommandInput - {@link SetAlarmStateCommandInput}
@@ -63,6 +65,8 @@ export interface SetAlarmStateCommandOutput extends __MetadataBearer {
63
65
  * @throws {@link ResourceNotFound} (client fault)
64
66
  * <p>The named resource does not exist.</p>
65
67
  *
68
+ * @throws {@link CloudWatchServiceException}
69
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
66
70
  *
67
71
  */
68
72
  export declare class SetAlarmStateCommand extends $Command<SetAlarmStateCommandInput, SetAlarmStateCommandOutput, CloudWatchClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface StartMetricStreamsCommandOutput extends StartMetricStreamsOutpu
33
33
  * };
34
34
  * const command = new StartMetricStreamsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param StartMetricStreamsCommandInput - {@link StartMetricStreamsCommandInput}
@@ -50,6 +52,8 @@ export interface StartMetricStreamsCommandOutput extends StartMetricStreamsOutpu
50
52
  * @throws {@link MissingRequiredParameterException} (client fault)
51
53
  * <p>An input parameter that is required is missing.</p>
52
54
  *
55
+ * @throws {@link CloudWatchServiceException}
56
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
53
57
  *
54
58
  */
55
59
  export declare class StartMetricStreamsCommand extends $Command<StartMetricStreamsCommandInput, StartMetricStreamsCommandOutput, CloudWatchClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface StopMetricStreamsCommandOutput extends StopMetricStreamsOutput,
33
33
  * };
34
34
  * const command = new StopMetricStreamsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param StopMetricStreamsCommandInput - {@link StopMetricStreamsCommandInput}
@@ -50,6 +52,8 @@ export interface StopMetricStreamsCommandOutput extends StopMetricStreamsOutput,
50
52
  * @throws {@link MissingRequiredParameterException} (client fault)
51
53
  * <p>An input parameter that is required is missing.</p>
52
54
  *
55
+ * @throws {@link CloudWatchServiceException}
56
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
53
57
  *
54
58
  */
55
59
  export declare class StopMetricStreamsCommand extends $Command<StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput, CloudWatchClientResolvedConfig> {
@@ -47,6 +47,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
47
47
  * };
48
48
  * const command = new TagResourceCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // {};
51
+ *
50
52
  * ```
51
53
  *
52
54
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -67,6 +69,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
67
69
  * @throws {@link ResourceNotFoundException} (client fault)
68
70
  * <p>The named resource does not exist.</p>
69
71
  *
72
+ * @throws {@link CloudWatchServiceException}
73
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
70
74
  *
71
75
  */
72
76
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CloudWatchClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -54,6 +56,8 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
54
56
  * @throws {@link ResourceNotFoundException} (client fault)
55
57
  * <p>The named resource does not exist.</p>
56
58
  *
59
+ * @throws {@link CloudWatchServiceException}
60
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
57
61
  *
58
62
  */
59
63
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CloudWatchClientResolvedConfig> {
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.325.0",
4
+ "version": "3.326.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.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",