@aws-sdk/client-cloudwatch 3.325.0 → 3.327.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 (43) hide show
  1. package/dist-cjs/protocols/Aws_query.js +35 -0
  2. package/dist-es/protocols/Aws_query.js +35 -0
  3. package/dist-types/commands/DeleteAlarmsCommand.d.ts +4 -0
  4. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +4 -0
  5. package/dist-types/commands/DeleteDashboardsCommand.d.ts +4 -0
  6. package/dist-types/commands/DeleteInsightRulesCommand.d.ts +13 -0
  7. package/dist-types/commands/DeleteMetricStreamCommand.d.ts +4 -0
  8. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +16 -0
  9. package/dist-types/commands/DescribeAlarmsCommand.d.ts +101 -0
  10. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +73 -0
  11. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +62 -0
  12. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +15 -0
  13. package/dist-types/commands/DisableAlarmActionsCommand.d.ts +4 -0
  14. package/dist-types/commands/DisableInsightRulesCommand.d.ts +13 -0
  15. package/dist-types/commands/EnableAlarmActionsCommand.d.ts +4 -0
  16. package/dist-types/commands/EnableInsightRulesCommand.d.ts +13 -0
  17. package/dist-types/commands/GetDashboardCommand.d.ts +8 -0
  18. package/dist-types/commands/GetInsightRuleReportCommand.d.ts +37 -0
  19. package/dist-types/commands/GetMetricDataCommand.d.ts +31 -0
  20. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +20 -0
  21. package/dist-types/commands/GetMetricStreamCommand.d.ts +43 -0
  22. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +6 -0
  23. package/dist-types/commands/ListDashboardsCommand.d.ts +14 -0
  24. package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +16 -0
  25. package/dist-types/commands/ListMetricStreamsCommand.d.ts +17 -0
  26. package/dist-types/commands/ListMetricsCommand.d.ts +21 -0
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  28. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +4 -0
  29. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +4 -0
  30. package/dist-types/commands/PutDashboardCommand.d.ts +11 -0
  31. package/dist-types/commands/PutInsightRuleCommand.d.ts +4 -0
  32. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +13 -0
  33. package/dist-types/commands/PutMetricAlarmCommand.d.ts +5 -0
  34. package/dist-types/commands/PutMetricDataCommand.d.ts +4 -0
  35. package/dist-types/commands/PutMetricStreamCommand.d.ts +12 -0
  36. package/dist-types/commands/SetAlarmStateCommand.d.ts +4 -0
  37. package/dist-types/commands/StartMetricStreamsCommand.d.ts +4 -0
  38. package/dist-types/commands/StopMetricStreamsCommand.d.ts +4 -0
  39. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  40. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  41. package/dist-types/models/models_0.d.ts +21 -8
  42. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  43. package/package.json +7 -7
@@ -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,47 @@ 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
+ * // MetricNames: [ // MetricStreamFilterMetricNames
41
+ * // "STRING_VALUE",
42
+ * // ],
43
+ * // },
44
+ * // ],
45
+ * // ExcludeFilters: [
46
+ * // {
47
+ * // Namespace: "STRING_VALUE",
48
+ * // MetricNames: [
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // },
52
+ * // ],
53
+ * // FirehoseArn: "STRING_VALUE",
54
+ * // RoleArn: "STRING_VALUE",
55
+ * // State: "STRING_VALUE",
56
+ * // CreationDate: new Date("TIMESTAMP"),
57
+ * // LastUpdateDate: new Date("TIMESTAMP"),
58
+ * // OutputFormat: "json" || "opentelemetry0.7",
59
+ * // StatisticsConfigurations: [ // MetricStreamStatisticsConfigurations
60
+ * // { // MetricStreamStatisticsConfiguration
61
+ * // IncludeMetrics: [ // MetricStreamStatisticsIncludeMetrics // required
62
+ * // { // MetricStreamStatisticsMetric
63
+ * // Namespace: "STRING_VALUE", // required
64
+ * // MetricName: "STRING_VALUE", // required
65
+ * // },
66
+ * // ],
67
+ * // AdditionalStatistics: [ // MetricStreamStatisticsAdditionalStatistics // required
68
+ * // "STRING_VALUE",
69
+ * // ],
70
+ * // },
71
+ * // ],
72
+ * // IncludeLinkedAccountsMetrics: true || false,
73
+ * // };
74
+ *
34
75
  * ```
35
76
  *
36
77
  * @param GetMetricStreamCommandInput - {@link GetMetricStreamCommandInput}
@@ -54,6 +95,8 @@ export interface GetMetricStreamCommandOutput extends GetMetricStreamOutput, __M
54
95
  * @throws {@link ResourceNotFoundException} (client fault)
55
96
  * <p>The named resource does not exist.</p>
56
97
  *
98
+ * @throws {@link CloudWatchServiceException}
99
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
57
100
  *
58
101
  */
59
102
  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> {
@@ -45,6 +45,7 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
45
45
  * are called <code>AWSServiceRoleForCloudWatchEvents</code> and
46
46
  * <code>AWSServiceRoleForCloudWatchAlarms_ActionSSM</code>.
47
47
  * For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html#iam-term-service-linked-role">Amazon Web Services service-linked role</a>.</p>
48
+ * <p>Each <code>PutMetricAlarm</code> action has a maximum uncompressed payload of 120 KB.</p>
48
49
  * <p>
49
50
  * <b>Cross-account alarms</b>
50
51
  * </p>
@@ -143,6 +144,8 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
143
144
  * };
144
145
  * const command = new PutMetricAlarmCommand(input);
145
146
  * const response = await client.send(command);
147
+ * // {};
148
+ *
146
149
  * ```
147
150
  *
148
151
  * @param PutMetricAlarmCommandInput - {@link PutMetricAlarmCommandInput}
@@ -154,6 +157,8 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
154
157
  * @throws {@link LimitExceededFault} (client fault)
155
158
  * <p>The quota for alarms for this customer has already been reached.</p>
156
159
  *
160
+ * @throws {@link CloudWatchServiceException}
161
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
157
162
  *
158
163
  */
159
164
  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> {
@@ -64,11 +64,17 @@ export interface PutMetricStreamCommandOutput extends PutMetricStreamOutput, __M
64
64
  * IncludeFilters: [ // MetricStreamFilters
65
65
  * { // MetricStreamFilter
66
66
  * Namespace: "STRING_VALUE",
67
+ * MetricNames: [ // MetricStreamFilterMetricNames
68
+ * "STRING_VALUE",
69
+ * ],
67
70
  * },
68
71
  * ],
69
72
  * ExcludeFilters: [
70
73
  * {
71
74
  * Namespace: "STRING_VALUE",
75
+ * MetricNames: [
76
+ * "STRING_VALUE",
77
+ * ],
72
78
  * },
73
79
  * ],
74
80
  * FirehoseArn: "STRING_VALUE", // required
@@ -97,6 +103,10 @@ export interface PutMetricStreamCommandOutput extends PutMetricStreamOutput, __M
97
103
  * };
98
104
  * const command = new PutMetricStreamCommand(input);
99
105
  * const response = await client.send(command);
106
+ * // { // PutMetricStreamOutput
107
+ * // Arn: "STRING_VALUE",
108
+ * // };
109
+ *
100
110
  * ```
101
111
  *
102
112
  * @param PutMetricStreamCommandInput - {@link PutMetricStreamCommandInput}
@@ -120,6 +130,8 @@ export interface PutMetricStreamCommandOutput extends PutMetricStreamOutput, __M
120
130
  * @throws {@link MissingRequiredParameterException} (client fault)
121
131
  * <p>An input parameter that is required is missing.</p>
122
132
  *
133
+ * @throws {@link CloudWatchServiceException}
134
+ * <p>Base exception class for all service exceptions from CloudWatch service.</p>
123
135
  *
124
136
  */
125
137
  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> {