@aws-sdk/client-cloudwatch 3.1136.0 → 3.1138.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.
package/dist-cjs/index.js CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1135.0";
73
+ var version = "3.1137.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -815,10 +815,10 @@ const _m = "message";
815
815
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cloudwatch";
816
816
  const _se = "server";
817
817
  const n0 = "com.amazonaws.cloudwatch";
818
- const _s_registry = TypeRegistry.for(_s);
818
+ const _s_registry = new TypeRegistry(_s);
819
819
  var CloudWatchServiceException$ = [-3, _s, "CloudWatchServiceException", 0, [], []];
820
820
  _s_registry.registerError(CloudWatchServiceException$, CloudWatchServiceException);
821
- const n0_registry = TypeRegistry.for(n0);
821
+ const n0_registry = new TypeRegistry(n0);
822
822
  var ConcurrentModificationException$ = [-3, n0, _CME,
823
823
  { [_aQE]: [`ConcurrentModificationException`, 429], [_e]: _c, [_hE]: 429 },
824
824
  [_M],
@@ -435,10 +435,10 @@ const n0 = "com.amazonaws.cloudwatch";
435
435
  import { TypeRegistry } from "@smithy/core/schema";
436
436
  import { CloudWatchServiceException } from "../models/CloudWatchServiceException";
437
437
  import { ConcurrentModificationException, ConflictException, DashboardInvalidInputError, DashboardNotFoundError, InternalServiceFault, InvalidFormatFault, InvalidNextToken, InvalidParameterCombinationException, InvalidParameterValueException, KmsAccessDeniedException, KmsKeyDisabledException, KmsKeyNotFoundException, LimitExceededException, LimitExceededFault, MissingRequiredParameterException, ResourceConflict, ResourceNotFound, ResourceNotFoundException, } from "../models/errors";
438
- const _s_registry = TypeRegistry.for(_s);
438
+ const _s_registry = new TypeRegistry(_s);
439
439
  export var CloudWatchServiceException$ = [-3, _s, "CloudWatchServiceException", 0, [], []];
440
440
  _s_registry.registerError(CloudWatchServiceException$, CloudWatchServiceException);
441
- const n0_registry = TypeRegistry.for(n0);
441
+ const n0_registry = new TypeRegistry(n0);
442
442
  export var ConcurrentModificationException$ = [-3, n0, _CME,
443
443
  { [_aQE]: [`ConcurrentModificationException`, 429], [_e]: _c, [_hE]: 429 },
444
444
  [_M],
@@ -1,5 +1,5 @@
1
1
  import { type WaiterResult } from "@smithy/core/client";
2
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
3
  import { CloudWatchClient } from "./CloudWatchClient";
4
4
  import { type AssociateDatasetKmsKeyCommandInput, type AssociateDatasetKmsKeyCommandOutput } from "./commands/AssociateDatasetKmsKeyCommand";
5
5
  import { type DeleteAlarmMuteRuleCommandInput, type DeleteAlarmMuteRuleCommandOutput } from "./commands/DeleteAlarmMuteRuleCommand";
@@ -51,320 +51,326 @@ import { type StopMetricStreamsCommandInput, type StopMetricStreamsCommandOutput
51
51
  import { type StopOTelEnrichmentCommandInput, type StopOTelEnrichmentCommandOutput } from "./commands/StopOTelEnrichmentCommand";
52
52
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
53
53
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
54
+ /**
55
+ * @public
56
+ */
57
+ export interface CloudWatchRequestOptions extends __HttpHandlerOptions {
58
+ metricsRecorder?: __MetricsRecorder<unknown>;
59
+ }
54
60
  export interface CloudWatch {
55
61
  /**
56
62
  * @see {@link AssociateDatasetKmsKeyCommand}
57
63
  */
58
- associateDatasetKmsKey(args: AssociateDatasetKmsKeyCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDatasetKmsKeyCommandOutput>;
64
+ associateDatasetKmsKey(args: AssociateDatasetKmsKeyCommandInput, options?: CloudWatchRequestOptions): Promise<AssociateDatasetKmsKeyCommandOutput>;
59
65
  associateDatasetKmsKey(args: AssociateDatasetKmsKeyCommandInput, cb: (err: any, data?: AssociateDatasetKmsKeyCommandOutput) => void): void;
60
- associateDatasetKmsKey(args: AssociateDatasetKmsKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDatasetKmsKeyCommandOutput) => void): void;
66
+ associateDatasetKmsKey(args: AssociateDatasetKmsKeyCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: AssociateDatasetKmsKeyCommandOutput) => void): void;
61
67
  /**
62
68
  * @see {@link DeleteAlarmMuteRuleCommand}
63
69
  */
64
- deleteAlarmMuteRule(args: DeleteAlarmMuteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlarmMuteRuleCommandOutput>;
70
+ deleteAlarmMuteRule(args: DeleteAlarmMuteRuleCommandInput, options?: CloudWatchRequestOptions): Promise<DeleteAlarmMuteRuleCommandOutput>;
65
71
  deleteAlarmMuteRule(args: DeleteAlarmMuteRuleCommandInput, cb: (err: any, data?: DeleteAlarmMuteRuleCommandOutput) => void): void;
66
- deleteAlarmMuteRule(args: DeleteAlarmMuteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlarmMuteRuleCommandOutput) => void): void;
72
+ deleteAlarmMuteRule(args: DeleteAlarmMuteRuleCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DeleteAlarmMuteRuleCommandOutput) => void): void;
67
73
  /**
68
74
  * @see {@link DeleteAlarmsCommand}
69
75
  */
70
- deleteAlarms(args: DeleteAlarmsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlarmsCommandOutput>;
76
+ deleteAlarms(args: DeleteAlarmsCommandInput, options?: CloudWatchRequestOptions): Promise<DeleteAlarmsCommandOutput>;
71
77
  deleteAlarms(args: DeleteAlarmsCommandInput, cb: (err: any, data?: DeleteAlarmsCommandOutput) => void): void;
72
- deleteAlarms(args: DeleteAlarmsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlarmsCommandOutput) => void): void;
78
+ deleteAlarms(args: DeleteAlarmsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DeleteAlarmsCommandOutput) => void): void;
73
79
  /**
74
80
  * @see {@link DeleteAnomalyDetectorCommand}
75
81
  */
76
82
  deleteAnomalyDetector(): Promise<DeleteAnomalyDetectorCommandOutput>;
77
- deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAnomalyDetectorCommandOutput>;
83
+ deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options?: CloudWatchRequestOptions): Promise<DeleteAnomalyDetectorCommandOutput>;
78
84
  deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void;
79
- deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void;
85
+ deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void;
80
86
  /**
81
87
  * @see {@link DeleteDashboardsCommand}
82
88
  */
83
- deleteDashboards(args: DeleteDashboardsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDashboardsCommandOutput>;
89
+ deleteDashboards(args: DeleteDashboardsCommandInput, options?: CloudWatchRequestOptions): Promise<DeleteDashboardsCommandOutput>;
84
90
  deleteDashboards(args: DeleteDashboardsCommandInput, cb: (err: any, data?: DeleteDashboardsCommandOutput) => void): void;
85
- deleteDashboards(args: DeleteDashboardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDashboardsCommandOutput) => void): void;
91
+ deleteDashboards(args: DeleteDashboardsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DeleteDashboardsCommandOutput) => void): void;
86
92
  /**
87
93
  * @see {@link DeleteInsightRulesCommand}
88
94
  */
89
- deleteInsightRules(args: DeleteInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInsightRulesCommandOutput>;
95
+ deleteInsightRules(args: DeleteInsightRulesCommandInput, options?: CloudWatchRequestOptions): Promise<DeleteInsightRulesCommandOutput>;
90
96
  deleteInsightRules(args: DeleteInsightRulesCommandInput, cb: (err: any, data?: DeleteInsightRulesCommandOutput) => void): void;
91
- deleteInsightRules(args: DeleteInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInsightRulesCommandOutput) => void): void;
97
+ deleteInsightRules(args: DeleteInsightRulesCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DeleteInsightRulesCommandOutput) => void): void;
92
98
  /**
93
99
  * @see {@link DeleteMetricStreamCommand}
94
100
  */
95
- deleteMetricStream(args: DeleteMetricStreamCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMetricStreamCommandOutput>;
101
+ deleteMetricStream(args: DeleteMetricStreamCommandInput, options?: CloudWatchRequestOptions): Promise<DeleteMetricStreamCommandOutput>;
96
102
  deleteMetricStream(args: DeleteMetricStreamCommandInput, cb: (err: any, data?: DeleteMetricStreamCommandOutput) => void): void;
97
- deleteMetricStream(args: DeleteMetricStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMetricStreamCommandOutput) => void): void;
103
+ deleteMetricStream(args: DeleteMetricStreamCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DeleteMetricStreamCommandOutput) => void): void;
98
104
  /**
99
105
  * @see {@link DescribeAlarmContributorsCommand}
100
106
  */
101
- describeAlarmContributors(args: DescribeAlarmContributorsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlarmContributorsCommandOutput>;
107
+ describeAlarmContributors(args: DescribeAlarmContributorsCommandInput, options?: CloudWatchRequestOptions): Promise<DescribeAlarmContributorsCommandOutput>;
102
108
  describeAlarmContributors(args: DescribeAlarmContributorsCommandInput, cb: (err: any, data?: DescribeAlarmContributorsCommandOutput) => void): void;
103
- describeAlarmContributors(args: DescribeAlarmContributorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlarmContributorsCommandOutput) => void): void;
109
+ describeAlarmContributors(args: DescribeAlarmContributorsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DescribeAlarmContributorsCommandOutput) => void): void;
104
110
  /**
105
111
  * @see {@link DescribeAlarmHistoryCommand}
106
112
  */
107
113
  describeAlarmHistory(): Promise<DescribeAlarmHistoryCommandOutput>;
108
- describeAlarmHistory(args: DescribeAlarmHistoryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlarmHistoryCommandOutput>;
114
+ describeAlarmHistory(args: DescribeAlarmHistoryCommandInput, options?: CloudWatchRequestOptions): Promise<DescribeAlarmHistoryCommandOutput>;
109
115
  describeAlarmHistory(args: DescribeAlarmHistoryCommandInput, cb: (err: any, data?: DescribeAlarmHistoryCommandOutput) => void): void;
110
- describeAlarmHistory(args: DescribeAlarmHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlarmHistoryCommandOutput) => void): void;
116
+ describeAlarmHistory(args: DescribeAlarmHistoryCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DescribeAlarmHistoryCommandOutput) => void): void;
111
117
  /**
112
118
  * @see {@link DescribeAlarmsCommand}
113
119
  */
114
120
  describeAlarms(): Promise<DescribeAlarmsCommandOutput>;
115
- describeAlarms(args: DescribeAlarmsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlarmsCommandOutput>;
121
+ describeAlarms(args: DescribeAlarmsCommandInput, options?: CloudWatchRequestOptions): Promise<DescribeAlarmsCommandOutput>;
116
122
  describeAlarms(args: DescribeAlarmsCommandInput, cb: (err: any, data?: DescribeAlarmsCommandOutput) => void): void;
117
- describeAlarms(args: DescribeAlarmsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlarmsCommandOutput) => void): void;
123
+ describeAlarms(args: DescribeAlarmsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DescribeAlarmsCommandOutput) => void): void;
118
124
  /**
119
125
  * @see {@link DescribeAlarmsForMetricCommand}
120
126
  */
121
- describeAlarmsForMetric(args: DescribeAlarmsForMetricCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlarmsForMetricCommandOutput>;
127
+ describeAlarmsForMetric(args: DescribeAlarmsForMetricCommandInput, options?: CloudWatchRequestOptions): Promise<DescribeAlarmsForMetricCommandOutput>;
122
128
  describeAlarmsForMetric(args: DescribeAlarmsForMetricCommandInput, cb: (err: any, data?: DescribeAlarmsForMetricCommandOutput) => void): void;
123
- describeAlarmsForMetric(args: DescribeAlarmsForMetricCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlarmsForMetricCommandOutput) => void): void;
129
+ describeAlarmsForMetric(args: DescribeAlarmsForMetricCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DescribeAlarmsForMetricCommandOutput) => void): void;
124
130
  /**
125
131
  * @see {@link DescribeAnomalyDetectorsCommand}
126
132
  */
127
133
  describeAnomalyDetectors(): Promise<DescribeAnomalyDetectorsCommandOutput>;
128
- describeAnomalyDetectors(args: DescribeAnomalyDetectorsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAnomalyDetectorsCommandOutput>;
134
+ describeAnomalyDetectors(args: DescribeAnomalyDetectorsCommandInput, options?: CloudWatchRequestOptions): Promise<DescribeAnomalyDetectorsCommandOutput>;
129
135
  describeAnomalyDetectors(args: DescribeAnomalyDetectorsCommandInput, cb: (err: any, data?: DescribeAnomalyDetectorsCommandOutput) => void): void;
130
- describeAnomalyDetectors(args: DescribeAnomalyDetectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAnomalyDetectorsCommandOutput) => void): void;
136
+ describeAnomalyDetectors(args: DescribeAnomalyDetectorsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DescribeAnomalyDetectorsCommandOutput) => void): void;
131
137
  /**
132
138
  * @see {@link DescribeInsightRulesCommand}
133
139
  */
134
140
  describeInsightRules(): Promise<DescribeInsightRulesCommandOutput>;
135
- describeInsightRules(args: DescribeInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeInsightRulesCommandOutput>;
141
+ describeInsightRules(args: DescribeInsightRulesCommandInput, options?: CloudWatchRequestOptions): Promise<DescribeInsightRulesCommandOutput>;
136
142
  describeInsightRules(args: DescribeInsightRulesCommandInput, cb: (err: any, data?: DescribeInsightRulesCommandOutput) => void): void;
137
- describeInsightRules(args: DescribeInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInsightRulesCommandOutput) => void): void;
143
+ describeInsightRules(args: DescribeInsightRulesCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DescribeInsightRulesCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link DisableAlarmActionsCommand}
140
146
  */
141
- disableAlarmActions(args: DisableAlarmActionsCommandInput, options?: __HttpHandlerOptions): Promise<DisableAlarmActionsCommandOutput>;
147
+ disableAlarmActions(args: DisableAlarmActionsCommandInput, options?: CloudWatchRequestOptions): Promise<DisableAlarmActionsCommandOutput>;
142
148
  disableAlarmActions(args: DisableAlarmActionsCommandInput, cb: (err: any, data?: DisableAlarmActionsCommandOutput) => void): void;
143
- disableAlarmActions(args: DisableAlarmActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableAlarmActionsCommandOutput) => void): void;
149
+ disableAlarmActions(args: DisableAlarmActionsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DisableAlarmActionsCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link DisableInsightRulesCommand}
146
152
  */
147
- disableInsightRules(args: DisableInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<DisableInsightRulesCommandOutput>;
153
+ disableInsightRules(args: DisableInsightRulesCommandInput, options?: CloudWatchRequestOptions): Promise<DisableInsightRulesCommandOutput>;
148
154
  disableInsightRules(args: DisableInsightRulesCommandInput, cb: (err: any, data?: DisableInsightRulesCommandOutput) => void): void;
149
- disableInsightRules(args: DisableInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableInsightRulesCommandOutput) => void): void;
155
+ disableInsightRules(args: DisableInsightRulesCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DisableInsightRulesCommandOutput) => void): void;
150
156
  /**
151
157
  * @see {@link DisassociateDatasetKmsKeyCommand}
152
158
  */
153
- disassociateDatasetKmsKey(args: DisassociateDatasetKmsKeyCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateDatasetKmsKeyCommandOutput>;
159
+ disassociateDatasetKmsKey(args: DisassociateDatasetKmsKeyCommandInput, options?: CloudWatchRequestOptions): Promise<DisassociateDatasetKmsKeyCommandOutput>;
154
160
  disassociateDatasetKmsKey(args: DisassociateDatasetKmsKeyCommandInput, cb: (err: any, data?: DisassociateDatasetKmsKeyCommandOutput) => void): void;
155
- disassociateDatasetKmsKey(args: DisassociateDatasetKmsKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateDatasetKmsKeyCommandOutput) => void): void;
161
+ disassociateDatasetKmsKey(args: DisassociateDatasetKmsKeyCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: DisassociateDatasetKmsKeyCommandOutput) => void): void;
156
162
  /**
157
163
  * @see {@link EnableAlarmActionsCommand}
158
164
  */
159
- enableAlarmActions(args: EnableAlarmActionsCommandInput, options?: __HttpHandlerOptions): Promise<EnableAlarmActionsCommandOutput>;
165
+ enableAlarmActions(args: EnableAlarmActionsCommandInput, options?: CloudWatchRequestOptions): Promise<EnableAlarmActionsCommandOutput>;
160
166
  enableAlarmActions(args: EnableAlarmActionsCommandInput, cb: (err: any, data?: EnableAlarmActionsCommandOutput) => void): void;
161
- enableAlarmActions(args: EnableAlarmActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableAlarmActionsCommandOutput) => void): void;
167
+ enableAlarmActions(args: EnableAlarmActionsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: EnableAlarmActionsCommandOutput) => void): void;
162
168
  /**
163
169
  * @see {@link EnableInsightRulesCommand}
164
170
  */
165
- enableInsightRules(args: EnableInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<EnableInsightRulesCommandOutput>;
171
+ enableInsightRules(args: EnableInsightRulesCommandInput, options?: CloudWatchRequestOptions): Promise<EnableInsightRulesCommandOutput>;
166
172
  enableInsightRules(args: EnableInsightRulesCommandInput, cb: (err: any, data?: EnableInsightRulesCommandOutput) => void): void;
167
- enableInsightRules(args: EnableInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableInsightRulesCommandOutput) => void): void;
173
+ enableInsightRules(args: EnableInsightRulesCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: EnableInsightRulesCommandOutput) => void): void;
168
174
  /**
169
175
  * @see {@link GetAlarmMuteRuleCommand}
170
176
  */
171
- getAlarmMuteRule(args: GetAlarmMuteRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetAlarmMuteRuleCommandOutput>;
177
+ getAlarmMuteRule(args: GetAlarmMuteRuleCommandInput, options?: CloudWatchRequestOptions): Promise<GetAlarmMuteRuleCommandOutput>;
172
178
  getAlarmMuteRule(args: GetAlarmMuteRuleCommandInput, cb: (err: any, data?: GetAlarmMuteRuleCommandOutput) => void): void;
173
- getAlarmMuteRule(args: GetAlarmMuteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAlarmMuteRuleCommandOutput) => void): void;
179
+ getAlarmMuteRule(args: GetAlarmMuteRuleCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: GetAlarmMuteRuleCommandOutput) => void): void;
174
180
  /**
175
181
  * @see {@link GetDashboardCommand}
176
182
  */
177
- getDashboard(args: GetDashboardCommandInput, options?: __HttpHandlerOptions): Promise<GetDashboardCommandOutput>;
183
+ getDashboard(args: GetDashboardCommandInput, options?: CloudWatchRequestOptions): Promise<GetDashboardCommandOutput>;
178
184
  getDashboard(args: GetDashboardCommandInput, cb: (err: any, data?: GetDashboardCommandOutput) => void): void;
179
- getDashboard(args: GetDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDashboardCommandOutput) => void): void;
185
+ getDashboard(args: GetDashboardCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: GetDashboardCommandOutput) => void): void;
180
186
  /**
181
187
  * @see {@link GetDatasetCommand}
182
188
  */
183
- getDataset(args: GetDatasetCommandInput, options?: __HttpHandlerOptions): Promise<GetDatasetCommandOutput>;
189
+ getDataset(args: GetDatasetCommandInput, options?: CloudWatchRequestOptions): Promise<GetDatasetCommandOutput>;
184
190
  getDataset(args: GetDatasetCommandInput, cb: (err: any, data?: GetDatasetCommandOutput) => void): void;
185
- getDataset(args: GetDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDatasetCommandOutput) => void): void;
191
+ getDataset(args: GetDatasetCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: GetDatasetCommandOutput) => void): void;
186
192
  /**
187
193
  * @see {@link GetInsightRuleReportCommand}
188
194
  */
189
- getInsightRuleReport(args: GetInsightRuleReportCommandInput, options?: __HttpHandlerOptions): Promise<GetInsightRuleReportCommandOutput>;
195
+ getInsightRuleReport(args: GetInsightRuleReportCommandInput, options?: CloudWatchRequestOptions): Promise<GetInsightRuleReportCommandOutput>;
190
196
  getInsightRuleReport(args: GetInsightRuleReportCommandInput, cb: (err: any, data?: GetInsightRuleReportCommandOutput) => void): void;
191
- getInsightRuleReport(args: GetInsightRuleReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightRuleReportCommandOutput) => void): void;
197
+ getInsightRuleReport(args: GetInsightRuleReportCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: GetInsightRuleReportCommandOutput) => void): void;
192
198
  /**
193
199
  * @see {@link GetMetricDataCommand}
194
200
  */
195
- getMetricData(args: GetMetricDataCommandInput, options?: __HttpHandlerOptions): Promise<GetMetricDataCommandOutput>;
201
+ getMetricData(args: GetMetricDataCommandInput, options?: CloudWatchRequestOptions): Promise<GetMetricDataCommandOutput>;
196
202
  getMetricData(args: GetMetricDataCommandInput, cb: (err: any, data?: GetMetricDataCommandOutput) => void): void;
197
- getMetricData(args: GetMetricDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMetricDataCommandOutput) => void): void;
203
+ getMetricData(args: GetMetricDataCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: GetMetricDataCommandOutput) => void): void;
198
204
  /**
199
205
  * @see {@link GetMetricStatisticsCommand}
200
206
  */
201
- getMetricStatistics(args: GetMetricStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<GetMetricStatisticsCommandOutput>;
207
+ getMetricStatistics(args: GetMetricStatisticsCommandInput, options?: CloudWatchRequestOptions): Promise<GetMetricStatisticsCommandOutput>;
202
208
  getMetricStatistics(args: GetMetricStatisticsCommandInput, cb: (err: any, data?: GetMetricStatisticsCommandOutput) => void): void;
203
- getMetricStatistics(args: GetMetricStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMetricStatisticsCommandOutput) => void): void;
209
+ getMetricStatistics(args: GetMetricStatisticsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: GetMetricStatisticsCommandOutput) => void): void;
204
210
  /**
205
211
  * @see {@link GetMetricStreamCommand}
206
212
  */
207
- getMetricStream(args: GetMetricStreamCommandInput, options?: __HttpHandlerOptions): Promise<GetMetricStreamCommandOutput>;
213
+ getMetricStream(args: GetMetricStreamCommandInput, options?: CloudWatchRequestOptions): Promise<GetMetricStreamCommandOutput>;
208
214
  getMetricStream(args: GetMetricStreamCommandInput, cb: (err: any, data?: GetMetricStreamCommandOutput) => void): void;
209
- getMetricStream(args: GetMetricStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMetricStreamCommandOutput) => void): void;
215
+ getMetricStream(args: GetMetricStreamCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: GetMetricStreamCommandOutput) => void): void;
210
216
  /**
211
217
  * @see {@link GetMetricWidgetImageCommand}
212
218
  */
213
- getMetricWidgetImage(args: GetMetricWidgetImageCommandInput, options?: __HttpHandlerOptions): Promise<GetMetricWidgetImageCommandOutput>;
219
+ getMetricWidgetImage(args: GetMetricWidgetImageCommandInput, options?: CloudWatchRequestOptions): Promise<GetMetricWidgetImageCommandOutput>;
214
220
  getMetricWidgetImage(args: GetMetricWidgetImageCommandInput, cb: (err: any, data?: GetMetricWidgetImageCommandOutput) => void): void;
215
- getMetricWidgetImage(args: GetMetricWidgetImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMetricWidgetImageCommandOutput) => void): void;
221
+ getMetricWidgetImage(args: GetMetricWidgetImageCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: GetMetricWidgetImageCommandOutput) => void): void;
216
222
  /**
217
223
  * @see {@link GetOTelEnrichmentCommand}
218
224
  */
219
225
  getOTelEnrichment(): Promise<GetOTelEnrichmentCommandOutput>;
220
- getOTelEnrichment(args: GetOTelEnrichmentCommandInput, options?: __HttpHandlerOptions): Promise<GetOTelEnrichmentCommandOutput>;
226
+ getOTelEnrichment(args: GetOTelEnrichmentCommandInput, options?: CloudWatchRequestOptions): Promise<GetOTelEnrichmentCommandOutput>;
221
227
  getOTelEnrichment(args: GetOTelEnrichmentCommandInput, cb: (err: any, data?: GetOTelEnrichmentCommandOutput) => void): void;
222
- getOTelEnrichment(args: GetOTelEnrichmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOTelEnrichmentCommandOutput) => void): void;
228
+ getOTelEnrichment(args: GetOTelEnrichmentCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: GetOTelEnrichmentCommandOutput) => void): void;
223
229
  /**
224
230
  * @see {@link ListAlarmMuteRulesCommand}
225
231
  */
226
232
  listAlarmMuteRules(): Promise<ListAlarmMuteRulesCommandOutput>;
227
- listAlarmMuteRules(args: ListAlarmMuteRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListAlarmMuteRulesCommandOutput>;
233
+ listAlarmMuteRules(args: ListAlarmMuteRulesCommandInput, options?: CloudWatchRequestOptions): Promise<ListAlarmMuteRulesCommandOutput>;
228
234
  listAlarmMuteRules(args: ListAlarmMuteRulesCommandInput, cb: (err: any, data?: ListAlarmMuteRulesCommandOutput) => void): void;
229
- listAlarmMuteRules(args: ListAlarmMuteRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAlarmMuteRulesCommandOutput) => void): void;
235
+ listAlarmMuteRules(args: ListAlarmMuteRulesCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: ListAlarmMuteRulesCommandOutput) => void): void;
230
236
  /**
231
237
  * @see {@link ListDashboardsCommand}
232
238
  */
233
239
  listDashboards(): Promise<ListDashboardsCommandOutput>;
234
- listDashboards(args: ListDashboardsCommandInput, options?: __HttpHandlerOptions): Promise<ListDashboardsCommandOutput>;
240
+ listDashboards(args: ListDashboardsCommandInput, options?: CloudWatchRequestOptions): Promise<ListDashboardsCommandOutput>;
235
241
  listDashboards(args: ListDashboardsCommandInput, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
236
- listDashboards(args: ListDashboardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
242
+ listDashboards(args: ListDashboardsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
237
243
  /**
238
244
  * @see {@link ListManagedInsightRulesCommand}
239
245
  */
240
- listManagedInsightRules(args: ListManagedInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedInsightRulesCommandOutput>;
246
+ listManagedInsightRules(args: ListManagedInsightRulesCommandInput, options?: CloudWatchRequestOptions): Promise<ListManagedInsightRulesCommandOutput>;
241
247
  listManagedInsightRules(args: ListManagedInsightRulesCommandInput, cb: (err: any, data?: ListManagedInsightRulesCommandOutput) => void): void;
242
- listManagedInsightRules(args: ListManagedInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedInsightRulesCommandOutput) => void): void;
248
+ listManagedInsightRules(args: ListManagedInsightRulesCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: ListManagedInsightRulesCommandOutput) => void): void;
243
249
  /**
244
250
  * @see {@link ListMetricsCommand}
245
251
  */
246
252
  listMetrics(): Promise<ListMetricsCommandOutput>;
247
- listMetrics(args: ListMetricsCommandInput, options?: __HttpHandlerOptions): Promise<ListMetricsCommandOutput>;
253
+ listMetrics(args: ListMetricsCommandInput, options?: CloudWatchRequestOptions): Promise<ListMetricsCommandOutput>;
248
254
  listMetrics(args: ListMetricsCommandInput, cb: (err: any, data?: ListMetricsCommandOutput) => void): void;
249
- listMetrics(args: ListMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMetricsCommandOutput) => void): void;
255
+ listMetrics(args: ListMetricsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: ListMetricsCommandOutput) => void): void;
250
256
  /**
251
257
  * @see {@link ListMetricStreamsCommand}
252
258
  */
253
259
  listMetricStreams(): Promise<ListMetricStreamsCommandOutput>;
254
- listMetricStreams(args: ListMetricStreamsCommandInput, options?: __HttpHandlerOptions): Promise<ListMetricStreamsCommandOutput>;
260
+ listMetricStreams(args: ListMetricStreamsCommandInput, options?: CloudWatchRequestOptions): Promise<ListMetricStreamsCommandOutput>;
255
261
  listMetricStreams(args: ListMetricStreamsCommandInput, cb: (err: any, data?: ListMetricStreamsCommandOutput) => void): void;
256
- listMetricStreams(args: ListMetricStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMetricStreamsCommandOutput) => void): void;
262
+ listMetricStreams(args: ListMetricStreamsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: ListMetricStreamsCommandOutput) => void): void;
257
263
  /**
258
264
  * @see {@link ListTagsForResourceCommand}
259
265
  */
260
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
266
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: CloudWatchRequestOptions): Promise<ListTagsForResourceCommandOutput>;
261
267
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
262
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
268
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
263
269
  /**
264
270
  * @see {@link PutAlarmMuteRuleCommand}
265
271
  */
266
- putAlarmMuteRule(args: PutAlarmMuteRuleCommandInput, options?: __HttpHandlerOptions): Promise<PutAlarmMuteRuleCommandOutput>;
272
+ putAlarmMuteRule(args: PutAlarmMuteRuleCommandInput, options?: CloudWatchRequestOptions): Promise<PutAlarmMuteRuleCommandOutput>;
267
273
  putAlarmMuteRule(args: PutAlarmMuteRuleCommandInput, cb: (err: any, data?: PutAlarmMuteRuleCommandOutput) => void): void;
268
- putAlarmMuteRule(args: PutAlarmMuteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlarmMuteRuleCommandOutput) => void): void;
274
+ putAlarmMuteRule(args: PutAlarmMuteRuleCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: PutAlarmMuteRuleCommandOutput) => void): void;
269
275
  /**
270
276
  * @see {@link PutAnomalyDetectorCommand}
271
277
  */
272
278
  putAnomalyDetector(): Promise<PutAnomalyDetectorCommandOutput>;
273
- putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<PutAnomalyDetectorCommandOutput>;
279
+ putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options?: CloudWatchRequestOptions): Promise<PutAnomalyDetectorCommandOutput>;
274
280
  putAnomalyDetector(args: PutAnomalyDetectorCommandInput, cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void): void;
275
- putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void): void;
281
+ putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void): void;
276
282
  /**
277
283
  * @see {@link PutCompositeAlarmCommand}
278
284
  */
279
- putCompositeAlarm(args: PutCompositeAlarmCommandInput, options?: __HttpHandlerOptions): Promise<PutCompositeAlarmCommandOutput>;
285
+ putCompositeAlarm(args: PutCompositeAlarmCommandInput, options?: CloudWatchRequestOptions): Promise<PutCompositeAlarmCommandOutput>;
280
286
  putCompositeAlarm(args: PutCompositeAlarmCommandInput, cb: (err: any, data?: PutCompositeAlarmCommandOutput) => void): void;
281
- putCompositeAlarm(args: PutCompositeAlarmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutCompositeAlarmCommandOutput) => void): void;
287
+ putCompositeAlarm(args: PutCompositeAlarmCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: PutCompositeAlarmCommandOutput) => void): void;
282
288
  /**
283
289
  * @see {@link PutDashboardCommand}
284
290
  */
285
- putDashboard(args: PutDashboardCommandInput, options?: __HttpHandlerOptions): Promise<PutDashboardCommandOutput>;
291
+ putDashboard(args: PutDashboardCommandInput, options?: CloudWatchRequestOptions): Promise<PutDashboardCommandOutput>;
286
292
  putDashboard(args: PutDashboardCommandInput, cb: (err: any, data?: PutDashboardCommandOutput) => void): void;
287
- putDashboard(args: PutDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDashboardCommandOutput) => void): void;
293
+ putDashboard(args: PutDashboardCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: PutDashboardCommandOutput) => void): void;
288
294
  /**
289
295
  * @see {@link PutInsightRuleCommand}
290
296
  */
291
- putInsightRule(args: PutInsightRuleCommandInput, options?: __HttpHandlerOptions): Promise<PutInsightRuleCommandOutput>;
297
+ putInsightRule(args: PutInsightRuleCommandInput, options?: CloudWatchRequestOptions): Promise<PutInsightRuleCommandOutput>;
292
298
  putInsightRule(args: PutInsightRuleCommandInput, cb: (err: any, data?: PutInsightRuleCommandOutput) => void): void;
293
- putInsightRule(args: PutInsightRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutInsightRuleCommandOutput) => void): void;
299
+ putInsightRule(args: PutInsightRuleCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: PutInsightRuleCommandOutput) => void): void;
294
300
  /**
295
301
  * @see {@link PutLogAlarmCommand}
296
302
  */
297
- putLogAlarm(args: PutLogAlarmCommandInput, options?: __HttpHandlerOptions): Promise<PutLogAlarmCommandOutput>;
303
+ putLogAlarm(args: PutLogAlarmCommandInput, options?: CloudWatchRequestOptions): Promise<PutLogAlarmCommandOutput>;
298
304
  putLogAlarm(args: PutLogAlarmCommandInput, cb: (err: any, data?: PutLogAlarmCommandOutput) => void): void;
299
- putLogAlarm(args: PutLogAlarmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLogAlarmCommandOutput) => void): void;
305
+ putLogAlarm(args: PutLogAlarmCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: PutLogAlarmCommandOutput) => void): void;
300
306
  /**
301
307
  * @see {@link PutManagedInsightRulesCommand}
302
308
  */
303
- putManagedInsightRules(args: PutManagedInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<PutManagedInsightRulesCommandOutput>;
309
+ putManagedInsightRules(args: PutManagedInsightRulesCommandInput, options?: CloudWatchRequestOptions): Promise<PutManagedInsightRulesCommandOutput>;
304
310
  putManagedInsightRules(args: PutManagedInsightRulesCommandInput, cb: (err: any, data?: PutManagedInsightRulesCommandOutput) => void): void;
305
- putManagedInsightRules(args: PutManagedInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutManagedInsightRulesCommandOutput) => void): void;
311
+ putManagedInsightRules(args: PutManagedInsightRulesCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: PutManagedInsightRulesCommandOutput) => void): void;
306
312
  /**
307
313
  * @see {@link PutMetricAlarmCommand}
308
314
  */
309
- putMetricAlarm(args: PutMetricAlarmCommandInput, options?: __HttpHandlerOptions): Promise<PutMetricAlarmCommandOutput>;
315
+ putMetricAlarm(args: PutMetricAlarmCommandInput, options?: CloudWatchRequestOptions): Promise<PutMetricAlarmCommandOutput>;
310
316
  putMetricAlarm(args: PutMetricAlarmCommandInput, cb: (err: any, data?: PutMetricAlarmCommandOutput) => void): void;
311
- putMetricAlarm(args: PutMetricAlarmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutMetricAlarmCommandOutput) => void): void;
317
+ putMetricAlarm(args: PutMetricAlarmCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: PutMetricAlarmCommandOutput) => void): void;
312
318
  /**
313
319
  * @see {@link PutMetricDataCommand}
314
320
  */
315
- putMetricData(args: PutMetricDataCommandInput, options?: __HttpHandlerOptions): Promise<PutMetricDataCommandOutput>;
321
+ putMetricData(args: PutMetricDataCommandInput, options?: CloudWatchRequestOptions): Promise<PutMetricDataCommandOutput>;
316
322
  putMetricData(args: PutMetricDataCommandInput, cb: (err: any, data?: PutMetricDataCommandOutput) => void): void;
317
- putMetricData(args: PutMetricDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutMetricDataCommandOutput) => void): void;
323
+ putMetricData(args: PutMetricDataCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: PutMetricDataCommandOutput) => void): void;
318
324
  /**
319
325
  * @see {@link PutMetricStreamCommand}
320
326
  */
321
- putMetricStream(args: PutMetricStreamCommandInput, options?: __HttpHandlerOptions): Promise<PutMetricStreamCommandOutput>;
327
+ putMetricStream(args: PutMetricStreamCommandInput, options?: CloudWatchRequestOptions): Promise<PutMetricStreamCommandOutput>;
322
328
  putMetricStream(args: PutMetricStreamCommandInput, cb: (err: any, data?: PutMetricStreamCommandOutput) => void): void;
323
- putMetricStream(args: PutMetricStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutMetricStreamCommandOutput) => void): void;
329
+ putMetricStream(args: PutMetricStreamCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: PutMetricStreamCommandOutput) => void): void;
324
330
  /**
325
331
  * @see {@link SetAlarmStateCommand}
326
332
  */
327
- setAlarmState(args: SetAlarmStateCommandInput, options?: __HttpHandlerOptions): Promise<SetAlarmStateCommandOutput>;
333
+ setAlarmState(args: SetAlarmStateCommandInput, options?: CloudWatchRequestOptions): Promise<SetAlarmStateCommandOutput>;
328
334
  setAlarmState(args: SetAlarmStateCommandInput, cb: (err: any, data?: SetAlarmStateCommandOutput) => void): void;
329
- setAlarmState(args: SetAlarmStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetAlarmStateCommandOutput) => void): void;
335
+ setAlarmState(args: SetAlarmStateCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: SetAlarmStateCommandOutput) => void): void;
330
336
  /**
331
337
  * @see {@link StartMetricStreamsCommand}
332
338
  */
333
- startMetricStreams(args: StartMetricStreamsCommandInput, options?: __HttpHandlerOptions): Promise<StartMetricStreamsCommandOutput>;
339
+ startMetricStreams(args: StartMetricStreamsCommandInput, options?: CloudWatchRequestOptions): Promise<StartMetricStreamsCommandOutput>;
334
340
  startMetricStreams(args: StartMetricStreamsCommandInput, cb: (err: any, data?: StartMetricStreamsCommandOutput) => void): void;
335
- startMetricStreams(args: StartMetricStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMetricStreamsCommandOutput) => void): void;
341
+ startMetricStreams(args: StartMetricStreamsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: StartMetricStreamsCommandOutput) => void): void;
336
342
  /**
337
343
  * @see {@link StartOTelEnrichmentCommand}
338
344
  */
339
345
  startOTelEnrichment(): Promise<StartOTelEnrichmentCommandOutput>;
340
- startOTelEnrichment(args: StartOTelEnrichmentCommandInput, options?: __HttpHandlerOptions): Promise<StartOTelEnrichmentCommandOutput>;
346
+ startOTelEnrichment(args: StartOTelEnrichmentCommandInput, options?: CloudWatchRequestOptions): Promise<StartOTelEnrichmentCommandOutput>;
341
347
  startOTelEnrichment(args: StartOTelEnrichmentCommandInput, cb: (err: any, data?: StartOTelEnrichmentCommandOutput) => void): void;
342
- startOTelEnrichment(args: StartOTelEnrichmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartOTelEnrichmentCommandOutput) => void): void;
348
+ startOTelEnrichment(args: StartOTelEnrichmentCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: StartOTelEnrichmentCommandOutput) => void): void;
343
349
  /**
344
350
  * @see {@link StopMetricStreamsCommand}
345
351
  */
346
- stopMetricStreams(args: StopMetricStreamsCommandInput, options?: __HttpHandlerOptions): Promise<StopMetricStreamsCommandOutput>;
352
+ stopMetricStreams(args: StopMetricStreamsCommandInput, options?: CloudWatchRequestOptions): Promise<StopMetricStreamsCommandOutput>;
347
353
  stopMetricStreams(args: StopMetricStreamsCommandInput, cb: (err: any, data?: StopMetricStreamsCommandOutput) => void): void;
348
- stopMetricStreams(args: StopMetricStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopMetricStreamsCommandOutput) => void): void;
354
+ stopMetricStreams(args: StopMetricStreamsCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: StopMetricStreamsCommandOutput) => void): void;
349
355
  /**
350
356
  * @see {@link StopOTelEnrichmentCommand}
351
357
  */
352
358
  stopOTelEnrichment(): Promise<StopOTelEnrichmentCommandOutput>;
353
- stopOTelEnrichment(args: StopOTelEnrichmentCommandInput, options?: __HttpHandlerOptions): Promise<StopOTelEnrichmentCommandOutput>;
359
+ stopOTelEnrichment(args: StopOTelEnrichmentCommandInput, options?: CloudWatchRequestOptions): Promise<StopOTelEnrichmentCommandOutput>;
354
360
  stopOTelEnrichment(args: StopOTelEnrichmentCommandInput, cb: (err: any, data?: StopOTelEnrichmentCommandOutput) => void): void;
355
- stopOTelEnrichment(args: StopOTelEnrichmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopOTelEnrichmentCommandOutput) => void): void;
361
+ stopOTelEnrichment(args: StopOTelEnrichmentCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: StopOTelEnrichmentCommandOutput) => void): void;
356
362
  /**
357
363
  * @see {@link TagResourceCommand}
358
364
  */
359
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
365
+ tagResource(args: TagResourceCommandInput, options?: CloudWatchRequestOptions): Promise<TagResourceCommandOutput>;
360
366
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
361
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
367
+ tagResource(args: TagResourceCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
362
368
  /**
363
369
  * @see {@link UntagResourceCommand}
364
370
  */
365
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
371
+ untagResource(args: UntagResourceCommandInput, options?: CloudWatchRequestOptions): Promise<UntagResourceCommandOutput>;
366
372
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
367
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
373
+ untagResource(args: UntagResourceCommandInput, options: CloudWatchRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
368
374
  /**
369
375
  * @see {@link DescribeAlarmHistoryCommand}
370
376
  * @param args - command input.
@@ -1,6 +1,7 @@
1
1
  import { WaiterResult } from "@smithy/core/client";
2
2
  import {
3
3
  HttpHandlerOptions as __HttpHandlerOptions,
4
+ MetricsRecorder as __MetricsRecorder,
4
5
  PaginationConfiguration,
5
6
  Paginator,
6
7
  WaiterConfiguration,
@@ -194,10 +195,13 @@ import {
194
195
  UntagResourceCommandInput,
195
196
  UntagResourceCommandOutput,
196
197
  } from "./commands/UntagResourceCommand";
198
+ export interface CloudWatchRequestOptions extends __HttpHandlerOptions {
199
+ metricsRecorder?: __MetricsRecorder<unknown>;
200
+ }
197
201
  export interface CloudWatch {
198
202
  associateDatasetKmsKey(
199
203
  args: AssociateDatasetKmsKeyCommandInput,
200
- options?: __HttpHandlerOptions,
204
+ options?: CloudWatchRequestOptions,
201
205
  ): Promise<AssociateDatasetKmsKeyCommandOutput>;
202
206
  associateDatasetKmsKey(
203
207
  args: AssociateDatasetKmsKeyCommandInput,
@@ -205,12 +209,12 @@ export interface CloudWatch {
205
209
  ): void;
206
210
  associateDatasetKmsKey(
207
211
  args: AssociateDatasetKmsKeyCommandInput,
208
- options: __HttpHandlerOptions,
212
+ options: CloudWatchRequestOptions,
209
213
  cb: (err: any, data?: AssociateDatasetKmsKeyCommandOutput) => void,
210
214
  ): void;
211
215
  deleteAlarmMuteRule(
212
216
  args: DeleteAlarmMuteRuleCommandInput,
213
- options?: __HttpHandlerOptions,
217
+ options?: CloudWatchRequestOptions,
214
218
  ): Promise<DeleteAlarmMuteRuleCommandOutput>;
215
219
  deleteAlarmMuteRule(
216
220
  args: DeleteAlarmMuteRuleCommandInput,
@@ -218,12 +222,12 @@ export interface CloudWatch {
218
222
  ): void;
219
223
  deleteAlarmMuteRule(
220
224
  args: DeleteAlarmMuteRuleCommandInput,
221
- options: __HttpHandlerOptions,
225
+ options: CloudWatchRequestOptions,
222
226
  cb: (err: any, data?: DeleteAlarmMuteRuleCommandOutput) => void,
223
227
  ): void;
224
228
  deleteAlarms(
225
229
  args: DeleteAlarmsCommandInput,
226
- options?: __HttpHandlerOptions,
230
+ options?: CloudWatchRequestOptions,
227
231
  ): Promise<DeleteAlarmsCommandOutput>;
228
232
  deleteAlarms(
229
233
  args: DeleteAlarmsCommandInput,
@@ -231,13 +235,13 @@ export interface CloudWatch {
231
235
  ): void;
232
236
  deleteAlarms(
233
237
  args: DeleteAlarmsCommandInput,
234
- options: __HttpHandlerOptions,
238
+ options: CloudWatchRequestOptions,
235
239
  cb: (err: any, data?: DeleteAlarmsCommandOutput) => void,
236
240
  ): void;
237
241
  deleteAnomalyDetector(): Promise<DeleteAnomalyDetectorCommandOutput>;
238
242
  deleteAnomalyDetector(
239
243
  args: DeleteAnomalyDetectorCommandInput,
240
- options?: __HttpHandlerOptions,
244
+ options?: CloudWatchRequestOptions,
241
245
  ): Promise<DeleteAnomalyDetectorCommandOutput>;
242
246
  deleteAnomalyDetector(
243
247
  args: DeleteAnomalyDetectorCommandInput,
@@ -245,12 +249,12 @@ export interface CloudWatch {
245
249
  ): void;
246
250
  deleteAnomalyDetector(
247
251
  args: DeleteAnomalyDetectorCommandInput,
248
- options: __HttpHandlerOptions,
252
+ options: CloudWatchRequestOptions,
249
253
  cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void,
250
254
  ): void;
251
255
  deleteDashboards(
252
256
  args: DeleteDashboardsCommandInput,
253
- options?: __HttpHandlerOptions,
257
+ options?: CloudWatchRequestOptions,
254
258
  ): Promise<DeleteDashboardsCommandOutput>;
255
259
  deleteDashboards(
256
260
  args: DeleteDashboardsCommandInput,
@@ -258,12 +262,12 @@ export interface CloudWatch {
258
262
  ): void;
259
263
  deleteDashboards(
260
264
  args: DeleteDashboardsCommandInput,
261
- options: __HttpHandlerOptions,
265
+ options: CloudWatchRequestOptions,
262
266
  cb: (err: any, data?: DeleteDashboardsCommandOutput) => void,
263
267
  ): void;
264
268
  deleteInsightRules(
265
269
  args: DeleteInsightRulesCommandInput,
266
- options?: __HttpHandlerOptions,
270
+ options?: CloudWatchRequestOptions,
267
271
  ): Promise<DeleteInsightRulesCommandOutput>;
268
272
  deleteInsightRules(
269
273
  args: DeleteInsightRulesCommandInput,
@@ -271,12 +275,12 @@ export interface CloudWatch {
271
275
  ): void;
272
276
  deleteInsightRules(
273
277
  args: DeleteInsightRulesCommandInput,
274
- options: __HttpHandlerOptions,
278
+ options: CloudWatchRequestOptions,
275
279
  cb: (err: any, data?: DeleteInsightRulesCommandOutput) => void,
276
280
  ): void;
277
281
  deleteMetricStream(
278
282
  args: DeleteMetricStreamCommandInput,
279
- options?: __HttpHandlerOptions,
283
+ options?: CloudWatchRequestOptions,
280
284
  ): Promise<DeleteMetricStreamCommandOutput>;
281
285
  deleteMetricStream(
282
286
  args: DeleteMetricStreamCommandInput,
@@ -284,12 +288,12 @@ export interface CloudWatch {
284
288
  ): void;
285
289
  deleteMetricStream(
286
290
  args: DeleteMetricStreamCommandInput,
287
- options: __HttpHandlerOptions,
291
+ options: CloudWatchRequestOptions,
288
292
  cb: (err: any, data?: DeleteMetricStreamCommandOutput) => void,
289
293
  ): void;
290
294
  describeAlarmContributors(
291
295
  args: DescribeAlarmContributorsCommandInput,
292
- options?: __HttpHandlerOptions,
296
+ options?: CloudWatchRequestOptions,
293
297
  ): Promise<DescribeAlarmContributorsCommandOutput>;
294
298
  describeAlarmContributors(
295
299
  args: DescribeAlarmContributorsCommandInput,
@@ -297,13 +301,13 @@ export interface CloudWatch {
297
301
  ): void;
298
302
  describeAlarmContributors(
299
303
  args: DescribeAlarmContributorsCommandInput,
300
- options: __HttpHandlerOptions,
304
+ options: CloudWatchRequestOptions,
301
305
  cb: (err: any, data?: DescribeAlarmContributorsCommandOutput) => void,
302
306
  ): void;
303
307
  describeAlarmHistory(): Promise<DescribeAlarmHistoryCommandOutput>;
304
308
  describeAlarmHistory(
305
309
  args: DescribeAlarmHistoryCommandInput,
306
- options?: __HttpHandlerOptions,
310
+ options?: CloudWatchRequestOptions,
307
311
  ): Promise<DescribeAlarmHistoryCommandOutput>;
308
312
  describeAlarmHistory(
309
313
  args: DescribeAlarmHistoryCommandInput,
@@ -311,13 +315,13 @@ export interface CloudWatch {
311
315
  ): void;
312
316
  describeAlarmHistory(
313
317
  args: DescribeAlarmHistoryCommandInput,
314
- options: __HttpHandlerOptions,
318
+ options: CloudWatchRequestOptions,
315
319
  cb: (err: any, data?: DescribeAlarmHistoryCommandOutput) => void,
316
320
  ): void;
317
321
  describeAlarms(): Promise<DescribeAlarmsCommandOutput>;
318
322
  describeAlarms(
319
323
  args: DescribeAlarmsCommandInput,
320
- options?: __HttpHandlerOptions,
324
+ options?: CloudWatchRequestOptions,
321
325
  ): Promise<DescribeAlarmsCommandOutput>;
322
326
  describeAlarms(
323
327
  args: DescribeAlarmsCommandInput,
@@ -325,12 +329,12 @@ export interface CloudWatch {
325
329
  ): void;
326
330
  describeAlarms(
327
331
  args: DescribeAlarmsCommandInput,
328
- options: __HttpHandlerOptions,
332
+ options: CloudWatchRequestOptions,
329
333
  cb: (err: any, data?: DescribeAlarmsCommandOutput) => void,
330
334
  ): void;
331
335
  describeAlarmsForMetric(
332
336
  args: DescribeAlarmsForMetricCommandInput,
333
- options?: __HttpHandlerOptions,
337
+ options?: CloudWatchRequestOptions,
334
338
  ): Promise<DescribeAlarmsForMetricCommandOutput>;
335
339
  describeAlarmsForMetric(
336
340
  args: DescribeAlarmsForMetricCommandInput,
@@ -338,13 +342,13 @@ export interface CloudWatch {
338
342
  ): void;
339
343
  describeAlarmsForMetric(
340
344
  args: DescribeAlarmsForMetricCommandInput,
341
- options: __HttpHandlerOptions,
345
+ options: CloudWatchRequestOptions,
342
346
  cb: (err: any, data?: DescribeAlarmsForMetricCommandOutput) => void,
343
347
  ): void;
344
348
  describeAnomalyDetectors(): Promise<DescribeAnomalyDetectorsCommandOutput>;
345
349
  describeAnomalyDetectors(
346
350
  args: DescribeAnomalyDetectorsCommandInput,
347
- options?: __HttpHandlerOptions,
351
+ options?: CloudWatchRequestOptions,
348
352
  ): Promise<DescribeAnomalyDetectorsCommandOutput>;
349
353
  describeAnomalyDetectors(
350
354
  args: DescribeAnomalyDetectorsCommandInput,
@@ -352,13 +356,13 @@ export interface CloudWatch {
352
356
  ): void;
353
357
  describeAnomalyDetectors(
354
358
  args: DescribeAnomalyDetectorsCommandInput,
355
- options: __HttpHandlerOptions,
359
+ options: CloudWatchRequestOptions,
356
360
  cb: (err: any, data?: DescribeAnomalyDetectorsCommandOutput) => void,
357
361
  ): void;
358
362
  describeInsightRules(): Promise<DescribeInsightRulesCommandOutput>;
359
363
  describeInsightRules(
360
364
  args: DescribeInsightRulesCommandInput,
361
- options?: __HttpHandlerOptions,
365
+ options?: CloudWatchRequestOptions,
362
366
  ): Promise<DescribeInsightRulesCommandOutput>;
363
367
  describeInsightRules(
364
368
  args: DescribeInsightRulesCommandInput,
@@ -366,12 +370,12 @@ export interface CloudWatch {
366
370
  ): void;
367
371
  describeInsightRules(
368
372
  args: DescribeInsightRulesCommandInput,
369
- options: __HttpHandlerOptions,
373
+ options: CloudWatchRequestOptions,
370
374
  cb: (err: any, data?: DescribeInsightRulesCommandOutput) => void,
371
375
  ): void;
372
376
  disableAlarmActions(
373
377
  args: DisableAlarmActionsCommandInput,
374
- options?: __HttpHandlerOptions,
378
+ options?: CloudWatchRequestOptions,
375
379
  ): Promise<DisableAlarmActionsCommandOutput>;
376
380
  disableAlarmActions(
377
381
  args: DisableAlarmActionsCommandInput,
@@ -379,12 +383,12 @@ export interface CloudWatch {
379
383
  ): void;
380
384
  disableAlarmActions(
381
385
  args: DisableAlarmActionsCommandInput,
382
- options: __HttpHandlerOptions,
386
+ options: CloudWatchRequestOptions,
383
387
  cb: (err: any, data?: DisableAlarmActionsCommandOutput) => void,
384
388
  ): void;
385
389
  disableInsightRules(
386
390
  args: DisableInsightRulesCommandInput,
387
- options?: __HttpHandlerOptions,
391
+ options?: CloudWatchRequestOptions,
388
392
  ): Promise<DisableInsightRulesCommandOutput>;
389
393
  disableInsightRules(
390
394
  args: DisableInsightRulesCommandInput,
@@ -392,12 +396,12 @@ export interface CloudWatch {
392
396
  ): void;
393
397
  disableInsightRules(
394
398
  args: DisableInsightRulesCommandInput,
395
- options: __HttpHandlerOptions,
399
+ options: CloudWatchRequestOptions,
396
400
  cb: (err: any, data?: DisableInsightRulesCommandOutput) => void,
397
401
  ): void;
398
402
  disassociateDatasetKmsKey(
399
403
  args: DisassociateDatasetKmsKeyCommandInput,
400
- options?: __HttpHandlerOptions,
404
+ options?: CloudWatchRequestOptions,
401
405
  ): Promise<DisassociateDatasetKmsKeyCommandOutput>;
402
406
  disassociateDatasetKmsKey(
403
407
  args: DisassociateDatasetKmsKeyCommandInput,
@@ -405,12 +409,12 @@ export interface CloudWatch {
405
409
  ): void;
406
410
  disassociateDatasetKmsKey(
407
411
  args: DisassociateDatasetKmsKeyCommandInput,
408
- options: __HttpHandlerOptions,
412
+ options: CloudWatchRequestOptions,
409
413
  cb: (err: any, data?: DisassociateDatasetKmsKeyCommandOutput) => void,
410
414
  ): void;
411
415
  enableAlarmActions(
412
416
  args: EnableAlarmActionsCommandInput,
413
- options?: __HttpHandlerOptions,
417
+ options?: CloudWatchRequestOptions,
414
418
  ): Promise<EnableAlarmActionsCommandOutput>;
415
419
  enableAlarmActions(
416
420
  args: EnableAlarmActionsCommandInput,
@@ -418,12 +422,12 @@ export interface CloudWatch {
418
422
  ): void;
419
423
  enableAlarmActions(
420
424
  args: EnableAlarmActionsCommandInput,
421
- options: __HttpHandlerOptions,
425
+ options: CloudWatchRequestOptions,
422
426
  cb: (err: any, data?: EnableAlarmActionsCommandOutput) => void,
423
427
  ): void;
424
428
  enableInsightRules(
425
429
  args: EnableInsightRulesCommandInput,
426
- options?: __HttpHandlerOptions,
430
+ options?: CloudWatchRequestOptions,
427
431
  ): Promise<EnableInsightRulesCommandOutput>;
428
432
  enableInsightRules(
429
433
  args: EnableInsightRulesCommandInput,
@@ -431,12 +435,12 @@ export interface CloudWatch {
431
435
  ): void;
432
436
  enableInsightRules(
433
437
  args: EnableInsightRulesCommandInput,
434
- options: __HttpHandlerOptions,
438
+ options: CloudWatchRequestOptions,
435
439
  cb: (err: any, data?: EnableInsightRulesCommandOutput) => void,
436
440
  ): void;
437
441
  getAlarmMuteRule(
438
442
  args: GetAlarmMuteRuleCommandInput,
439
- options?: __HttpHandlerOptions,
443
+ options?: CloudWatchRequestOptions,
440
444
  ): Promise<GetAlarmMuteRuleCommandOutput>;
441
445
  getAlarmMuteRule(
442
446
  args: GetAlarmMuteRuleCommandInput,
@@ -444,12 +448,12 @@ export interface CloudWatch {
444
448
  ): void;
445
449
  getAlarmMuteRule(
446
450
  args: GetAlarmMuteRuleCommandInput,
447
- options: __HttpHandlerOptions,
451
+ options: CloudWatchRequestOptions,
448
452
  cb: (err: any, data?: GetAlarmMuteRuleCommandOutput) => void,
449
453
  ): void;
450
454
  getDashboard(
451
455
  args: GetDashboardCommandInput,
452
- options?: __HttpHandlerOptions,
456
+ options?: CloudWatchRequestOptions,
453
457
  ): Promise<GetDashboardCommandOutput>;
454
458
  getDashboard(
455
459
  args: GetDashboardCommandInput,
@@ -457,12 +461,12 @@ export interface CloudWatch {
457
461
  ): void;
458
462
  getDashboard(
459
463
  args: GetDashboardCommandInput,
460
- options: __HttpHandlerOptions,
464
+ options: CloudWatchRequestOptions,
461
465
  cb: (err: any, data?: GetDashboardCommandOutput) => void,
462
466
  ): void;
463
467
  getDataset(
464
468
  args: GetDatasetCommandInput,
465
- options?: __HttpHandlerOptions,
469
+ options?: CloudWatchRequestOptions,
466
470
  ): Promise<GetDatasetCommandOutput>;
467
471
  getDataset(
468
472
  args: GetDatasetCommandInput,
@@ -470,12 +474,12 @@ export interface CloudWatch {
470
474
  ): void;
471
475
  getDataset(
472
476
  args: GetDatasetCommandInput,
473
- options: __HttpHandlerOptions,
477
+ options: CloudWatchRequestOptions,
474
478
  cb: (err: any, data?: GetDatasetCommandOutput) => void,
475
479
  ): void;
476
480
  getInsightRuleReport(
477
481
  args: GetInsightRuleReportCommandInput,
478
- options?: __HttpHandlerOptions,
482
+ options?: CloudWatchRequestOptions,
479
483
  ): Promise<GetInsightRuleReportCommandOutput>;
480
484
  getInsightRuleReport(
481
485
  args: GetInsightRuleReportCommandInput,
@@ -483,12 +487,12 @@ export interface CloudWatch {
483
487
  ): void;
484
488
  getInsightRuleReport(
485
489
  args: GetInsightRuleReportCommandInput,
486
- options: __HttpHandlerOptions,
490
+ options: CloudWatchRequestOptions,
487
491
  cb: (err: any, data?: GetInsightRuleReportCommandOutput) => void,
488
492
  ): void;
489
493
  getMetricData(
490
494
  args: GetMetricDataCommandInput,
491
- options?: __HttpHandlerOptions,
495
+ options?: CloudWatchRequestOptions,
492
496
  ): Promise<GetMetricDataCommandOutput>;
493
497
  getMetricData(
494
498
  args: GetMetricDataCommandInput,
@@ -496,12 +500,12 @@ export interface CloudWatch {
496
500
  ): void;
497
501
  getMetricData(
498
502
  args: GetMetricDataCommandInput,
499
- options: __HttpHandlerOptions,
503
+ options: CloudWatchRequestOptions,
500
504
  cb: (err: any, data?: GetMetricDataCommandOutput) => void,
501
505
  ): void;
502
506
  getMetricStatistics(
503
507
  args: GetMetricStatisticsCommandInput,
504
- options?: __HttpHandlerOptions,
508
+ options?: CloudWatchRequestOptions,
505
509
  ): Promise<GetMetricStatisticsCommandOutput>;
506
510
  getMetricStatistics(
507
511
  args: GetMetricStatisticsCommandInput,
@@ -509,12 +513,12 @@ export interface CloudWatch {
509
513
  ): void;
510
514
  getMetricStatistics(
511
515
  args: GetMetricStatisticsCommandInput,
512
- options: __HttpHandlerOptions,
516
+ options: CloudWatchRequestOptions,
513
517
  cb: (err: any, data?: GetMetricStatisticsCommandOutput) => void,
514
518
  ): void;
515
519
  getMetricStream(
516
520
  args: GetMetricStreamCommandInput,
517
- options?: __HttpHandlerOptions,
521
+ options?: CloudWatchRequestOptions,
518
522
  ): Promise<GetMetricStreamCommandOutput>;
519
523
  getMetricStream(
520
524
  args: GetMetricStreamCommandInput,
@@ -522,12 +526,12 @@ export interface CloudWatch {
522
526
  ): void;
523
527
  getMetricStream(
524
528
  args: GetMetricStreamCommandInput,
525
- options: __HttpHandlerOptions,
529
+ options: CloudWatchRequestOptions,
526
530
  cb: (err: any, data?: GetMetricStreamCommandOutput) => void,
527
531
  ): void;
528
532
  getMetricWidgetImage(
529
533
  args: GetMetricWidgetImageCommandInput,
530
- options?: __HttpHandlerOptions,
534
+ options?: CloudWatchRequestOptions,
531
535
  ): Promise<GetMetricWidgetImageCommandOutput>;
532
536
  getMetricWidgetImage(
533
537
  args: GetMetricWidgetImageCommandInput,
@@ -535,13 +539,13 @@ export interface CloudWatch {
535
539
  ): void;
536
540
  getMetricWidgetImage(
537
541
  args: GetMetricWidgetImageCommandInput,
538
- options: __HttpHandlerOptions,
542
+ options: CloudWatchRequestOptions,
539
543
  cb: (err: any, data?: GetMetricWidgetImageCommandOutput) => void,
540
544
  ): void;
541
545
  getOTelEnrichment(): Promise<GetOTelEnrichmentCommandOutput>;
542
546
  getOTelEnrichment(
543
547
  args: GetOTelEnrichmentCommandInput,
544
- options?: __HttpHandlerOptions,
548
+ options?: CloudWatchRequestOptions,
545
549
  ): Promise<GetOTelEnrichmentCommandOutput>;
546
550
  getOTelEnrichment(
547
551
  args: GetOTelEnrichmentCommandInput,
@@ -549,13 +553,13 @@ export interface CloudWatch {
549
553
  ): void;
550
554
  getOTelEnrichment(
551
555
  args: GetOTelEnrichmentCommandInput,
552
- options: __HttpHandlerOptions,
556
+ options: CloudWatchRequestOptions,
553
557
  cb: (err: any, data?: GetOTelEnrichmentCommandOutput) => void,
554
558
  ): void;
555
559
  listAlarmMuteRules(): Promise<ListAlarmMuteRulesCommandOutput>;
556
560
  listAlarmMuteRules(
557
561
  args: ListAlarmMuteRulesCommandInput,
558
- options?: __HttpHandlerOptions,
562
+ options?: CloudWatchRequestOptions,
559
563
  ): Promise<ListAlarmMuteRulesCommandOutput>;
560
564
  listAlarmMuteRules(
561
565
  args: ListAlarmMuteRulesCommandInput,
@@ -563,13 +567,13 @@ export interface CloudWatch {
563
567
  ): void;
564
568
  listAlarmMuteRules(
565
569
  args: ListAlarmMuteRulesCommandInput,
566
- options: __HttpHandlerOptions,
570
+ options: CloudWatchRequestOptions,
567
571
  cb: (err: any, data?: ListAlarmMuteRulesCommandOutput) => void,
568
572
  ): void;
569
573
  listDashboards(): Promise<ListDashboardsCommandOutput>;
570
574
  listDashboards(
571
575
  args: ListDashboardsCommandInput,
572
- options?: __HttpHandlerOptions,
576
+ options?: CloudWatchRequestOptions,
573
577
  ): Promise<ListDashboardsCommandOutput>;
574
578
  listDashboards(
575
579
  args: ListDashboardsCommandInput,
@@ -577,12 +581,12 @@ export interface CloudWatch {
577
581
  ): void;
578
582
  listDashboards(
579
583
  args: ListDashboardsCommandInput,
580
- options: __HttpHandlerOptions,
584
+ options: CloudWatchRequestOptions,
581
585
  cb: (err: any, data?: ListDashboardsCommandOutput) => void,
582
586
  ): void;
583
587
  listManagedInsightRules(
584
588
  args: ListManagedInsightRulesCommandInput,
585
- options?: __HttpHandlerOptions,
589
+ options?: CloudWatchRequestOptions,
586
590
  ): Promise<ListManagedInsightRulesCommandOutput>;
587
591
  listManagedInsightRules(
588
592
  args: ListManagedInsightRulesCommandInput,
@@ -590,13 +594,13 @@ export interface CloudWatch {
590
594
  ): void;
591
595
  listManagedInsightRules(
592
596
  args: ListManagedInsightRulesCommandInput,
593
- options: __HttpHandlerOptions,
597
+ options: CloudWatchRequestOptions,
594
598
  cb: (err: any, data?: ListManagedInsightRulesCommandOutput) => void,
595
599
  ): void;
596
600
  listMetrics(): Promise<ListMetricsCommandOutput>;
597
601
  listMetrics(
598
602
  args: ListMetricsCommandInput,
599
- options?: __HttpHandlerOptions,
603
+ options?: CloudWatchRequestOptions,
600
604
  ): Promise<ListMetricsCommandOutput>;
601
605
  listMetrics(
602
606
  args: ListMetricsCommandInput,
@@ -604,13 +608,13 @@ export interface CloudWatch {
604
608
  ): void;
605
609
  listMetrics(
606
610
  args: ListMetricsCommandInput,
607
- options: __HttpHandlerOptions,
611
+ options: CloudWatchRequestOptions,
608
612
  cb: (err: any, data?: ListMetricsCommandOutput) => void,
609
613
  ): void;
610
614
  listMetricStreams(): Promise<ListMetricStreamsCommandOutput>;
611
615
  listMetricStreams(
612
616
  args: ListMetricStreamsCommandInput,
613
- options?: __HttpHandlerOptions,
617
+ options?: CloudWatchRequestOptions,
614
618
  ): Promise<ListMetricStreamsCommandOutput>;
615
619
  listMetricStreams(
616
620
  args: ListMetricStreamsCommandInput,
@@ -618,12 +622,12 @@ export interface CloudWatch {
618
622
  ): void;
619
623
  listMetricStreams(
620
624
  args: ListMetricStreamsCommandInput,
621
- options: __HttpHandlerOptions,
625
+ options: CloudWatchRequestOptions,
622
626
  cb: (err: any, data?: ListMetricStreamsCommandOutput) => void,
623
627
  ): void;
624
628
  listTagsForResource(
625
629
  args: ListTagsForResourceCommandInput,
626
- options?: __HttpHandlerOptions,
630
+ options?: CloudWatchRequestOptions,
627
631
  ): Promise<ListTagsForResourceCommandOutput>;
628
632
  listTagsForResource(
629
633
  args: ListTagsForResourceCommandInput,
@@ -631,12 +635,12 @@ export interface CloudWatch {
631
635
  ): void;
632
636
  listTagsForResource(
633
637
  args: ListTagsForResourceCommandInput,
634
- options: __HttpHandlerOptions,
638
+ options: CloudWatchRequestOptions,
635
639
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
636
640
  ): void;
637
641
  putAlarmMuteRule(
638
642
  args: PutAlarmMuteRuleCommandInput,
639
- options?: __HttpHandlerOptions,
643
+ options?: CloudWatchRequestOptions,
640
644
  ): Promise<PutAlarmMuteRuleCommandOutput>;
641
645
  putAlarmMuteRule(
642
646
  args: PutAlarmMuteRuleCommandInput,
@@ -644,13 +648,13 @@ export interface CloudWatch {
644
648
  ): void;
645
649
  putAlarmMuteRule(
646
650
  args: PutAlarmMuteRuleCommandInput,
647
- options: __HttpHandlerOptions,
651
+ options: CloudWatchRequestOptions,
648
652
  cb: (err: any, data?: PutAlarmMuteRuleCommandOutput) => void,
649
653
  ): void;
650
654
  putAnomalyDetector(): Promise<PutAnomalyDetectorCommandOutput>;
651
655
  putAnomalyDetector(
652
656
  args: PutAnomalyDetectorCommandInput,
653
- options?: __HttpHandlerOptions,
657
+ options?: CloudWatchRequestOptions,
654
658
  ): Promise<PutAnomalyDetectorCommandOutput>;
655
659
  putAnomalyDetector(
656
660
  args: PutAnomalyDetectorCommandInput,
@@ -658,12 +662,12 @@ export interface CloudWatch {
658
662
  ): void;
659
663
  putAnomalyDetector(
660
664
  args: PutAnomalyDetectorCommandInput,
661
- options: __HttpHandlerOptions,
665
+ options: CloudWatchRequestOptions,
662
666
  cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void,
663
667
  ): void;
664
668
  putCompositeAlarm(
665
669
  args: PutCompositeAlarmCommandInput,
666
- options?: __HttpHandlerOptions,
670
+ options?: CloudWatchRequestOptions,
667
671
  ): Promise<PutCompositeAlarmCommandOutput>;
668
672
  putCompositeAlarm(
669
673
  args: PutCompositeAlarmCommandInput,
@@ -671,12 +675,12 @@ export interface CloudWatch {
671
675
  ): void;
672
676
  putCompositeAlarm(
673
677
  args: PutCompositeAlarmCommandInput,
674
- options: __HttpHandlerOptions,
678
+ options: CloudWatchRequestOptions,
675
679
  cb: (err: any, data?: PutCompositeAlarmCommandOutput) => void,
676
680
  ): void;
677
681
  putDashboard(
678
682
  args: PutDashboardCommandInput,
679
- options?: __HttpHandlerOptions,
683
+ options?: CloudWatchRequestOptions,
680
684
  ): Promise<PutDashboardCommandOutput>;
681
685
  putDashboard(
682
686
  args: PutDashboardCommandInput,
@@ -684,12 +688,12 @@ export interface CloudWatch {
684
688
  ): void;
685
689
  putDashboard(
686
690
  args: PutDashboardCommandInput,
687
- options: __HttpHandlerOptions,
691
+ options: CloudWatchRequestOptions,
688
692
  cb: (err: any, data?: PutDashboardCommandOutput) => void,
689
693
  ): void;
690
694
  putInsightRule(
691
695
  args: PutInsightRuleCommandInput,
692
- options?: __HttpHandlerOptions,
696
+ options?: CloudWatchRequestOptions,
693
697
  ): Promise<PutInsightRuleCommandOutput>;
694
698
  putInsightRule(
695
699
  args: PutInsightRuleCommandInput,
@@ -697,12 +701,12 @@ export interface CloudWatch {
697
701
  ): void;
698
702
  putInsightRule(
699
703
  args: PutInsightRuleCommandInput,
700
- options: __HttpHandlerOptions,
704
+ options: CloudWatchRequestOptions,
701
705
  cb: (err: any, data?: PutInsightRuleCommandOutput) => void,
702
706
  ): void;
703
707
  putLogAlarm(
704
708
  args: PutLogAlarmCommandInput,
705
- options?: __HttpHandlerOptions,
709
+ options?: CloudWatchRequestOptions,
706
710
  ): Promise<PutLogAlarmCommandOutput>;
707
711
  putLogAlarm(
708
712
  args: PutLogAlarmCommandInput,
@@ -710,12 +714,12 @@ export interface CloudWatch {
710
714
  ): void;
711
715
  putLogAlarm(
712
716
  args: PutLogAlarmCommandInput,
713
- options: __HttpHandlerOptions,
717
+ options: CloudWatchRequestOptions,
714
718
  cb: (err: any, data?: PutLogAlarmCommandOutput) => void,
715
719
  ): void;
716
720
  putManagedInsightRules(
717
721
  args: PutManagedInsightRulesCommandInput,
718
- options?: __HttpHandlerOptions,
722
+ options?: CloudWatchRequestOptions,
719
723
  ): Promise<PutManagedInsightRulesCommandOutput>;
720
724
  putManagedInsightRules(
721
725
  args: PutManagedInsightRulesCommandInput,
@@ -723,12 +727,12 @@ export interface CloudWatch {
723
727
  ): void;
724
728
  putManagedInsightRules(
725
729
  args: PutManagedInsightRulesCommandInput,
726
- options: __HttpHandlerOptions,
730
+ options: CloudWatchRequestOptions,
727
731
  cb: (err: any, data?: PutManagedInsightRulesCommandOutput) => void,
728
732
  ): void;
729
733
  putMetricAlarm(
730
734
  args: PutMetricAlarmCommandInput,
731
- options?: __HttpHandlerOptions,
735
+ options?: CloudWatchRequestOptions,
732
736
  ): Promise<PutMetricAlarmCommandOutput>;
733
737
  putMetricAlarm(
734
738
  args: PutMetricAlarmCommandInput,
@@ -736,12 +740,12 @@ export interface CloudWatch {
736
740
  ): void;
737
741
  putMetricAlarm(
738
742
  args: PutMetricAlarmCommandInput,
739
- options: __HttpHandlerOptions,
743
+ options: CloudWatchRequestOptions,
740
744
  cb: (err: any, data?: PutMetricAlarmCommandOutput) => void,
741
745
  ): void;
742
746
  putMetricData(
743
747
  args: PutMetricDataCommandInput,
744
- options?: __HttpHandlerOptions,
748
+ options?: CloudWatchRequestOptions,
745
749
  ): Promise<PutMetricDataCommandOutput>;
746
750
  putMetricData(
747
751
  args: PutMetricDataCommandInput,
@@ -749,12 +753,12 @@ export interface CloudWatch {
749
753
  ): void;
750
754
  putMetricData(
751
755
  args: PutMetricDataCommandInput,
752
- options: __HttpHandlerOptions,
756
+ options: CloudWatchRequestOptions,
753
757
  cb: (err: any, data?: PutMetricDataCommandOutput) => void,
754
758
  ): void;
755
759
  putMetricStream(
756
760
  args: PutMetricStreamCommandInput,
757
- options?: __HttpHandlerOptions,
761
+ options?: CloudWatchRequestOptions,
758
762
  ): Promise<PutMetricStreamCommandOutput>;
759
763
  putMetricStream(
760
764
  args: PutMetricStreamCommandInput,
@@ -762,12 +766,12 @@ export interface CloudWatch {
762
766
  ): void;
763
767
  putMetricStream(
764
768
  args: PutMetricStreamCommandInput,
765
- options: __HttpHandlerOptions,
769
+ options: CloudWatchRequestOptions,
766
770
  cb: (err: any, data?: PutMetricStreamCommandOutput) => void,
767
771
  ): void;
768
772
  setAlarmState(
769
773
  args: SetAlarmStateCommandInput,
770
- options?: __HttpHandlerOptions,
774
+ options?: CloudWatchRequestOptions,
771
775
  ): Promise<SetAlarmStateCommandOutput>;
772
776
  setAlarmState(
773
777
  args: SetAlarmStateCommandInput,
@@ -775,12 +779,12 @@ export interface CloudWatch {
775
779
  ): void;
776
780
  setAlarmState(
777
781
  args: SetAlarmStateCommandInput,
778
- options: __HttpHandlerOptions,
782
+ options: CloudWatchRequestOptions,
779
783
  cb: (err: any, data?: SetAlarmStateCommandOutput) => void,
780
784
  ): void;
781
785
  startMetricStreams(
782
786
  args: StartMetricStreamsCommandInput,
783
- options?: __HttpHandlerOptions,
787
+ options?: CloudWatchRequestOptions,
784
788
  ): Promise<StartMetricStreamsCommandOutput>;
785
789
  startMetricStreams(
786
790
  args: StartMetricStreamsCommandInput,
@@ -788,13 +792,13 @@ export interface CloudWatch {
788
792
  ): void;
789
793
  startMetricStreams(
790
794
  args: StartMetricStreamsCommandInput,
791
- options: __HttpHandlerOptions,
795
+ options: CloudWatchRequestOptions,
792
796
  cb: (err: any, data?: StartMetricStreamsCommandOutput) => void,
793
797
  ): void;
794
798
  startOTelEnrichment(): Promise<StartOTelEnrichmentCommandOutput>;
795
799
  startOTelEnrichment(
796
800
  args: StartOTelEnrichmentCommandInput,
797
- options?: __HttpHandlerOptions,
801
+ options?: CloudWatchRequestOptions,
798
802
  ): Promise<StartOTelEnrichmentCommandOutput>;
799
803
  startOTelEnrichment(
800
804
  args: StartOTelEnrichmentCommandInput,
@@ -802,12 +806,12 @@ export interface CloudWatch {
802
806
  ): void;
803
807
  startOTelEnrichment(
804
808
  args: StartOTelEnrichmentCommandInput,
805
- options: __HttpHandlerOptions,
809
+ options: CloudWatchRequestOptions,
806
810
  cb: (err: any, data?: StartOTelEnrichmentCommandOutput) => void,
807
811
  ): void;
808
812
  stopMetricStreams(
809
813
  args: StopMetricStreamsCommandInput,
810
- options?: __HttpHandlerOptions,
814
+ options?: CloudWatchRequestOptions,
811
815
  ): Promise<StopMetricStreamsCommandOutput>;
812
816
  stopMetricStreams(
813
817
  args: StopMetricStreamsCommandInput,
@@ -815,13 +819,13 @@ export interface CloudWatch {
815
819
  ): void;
816
820
  stopMetricStreams(
817
821
  args: StopMetricStreamsCommandInput,
818
- options: __HttpHandlerOptions,
822
+ options: CloudWatchRequestOptions,
819
823
  cb: (err: any, data?: StopMetricStreamsCommandOutput) => void,
820
824
  ): void;
821
825
  stopOTelEnrichment(): Promise<StopOTelEnrichmentCommandOutput>;
822
826
  stopOTelEnrichment(
823
827
  args: StopOTelEnrichmentCommandInput,
824
- options?: __HttpHandlerOptions,
828
+ options?: CloudWatchRequestOptions,
825
829
  ): Promise<StopOTelEnrichmentCommandOutput>;
826
830
  stopOTelEnrichment(
827
831
  args: StopOTelEnrichmentCommandInput,
@@ -829,12 +833,12 @@ export interface CloudWatch {
829
833
  ): void;
830
834
  stopOTelEnrichment(
831
835
  args: StopOTelEnrichmentCommandInput,
832
- options: __HttpHandlerOptions,
836
+ options: CloudWatchRequestOptions,
833
837
  cb: (err: any, data?: StopOTelEnrichmentCommandOutput) => void,
834
838
  ): void;
835
839
  tagResource(
836
840
  args: TagResourceCommandInput,
837
- options?: __HttpHandlerOptions,
841
+ options?: CloudWatchRequestOptions,
838
842
  ): Promise<TagResourceCommandOutput>;
839
843
  tagResource(
840
844
  args: TagResourceCommandInput,
@@ -842,12 +846,12 @@ export interface CloudWatch {
842
846
  ): void;
843
847
  tagResource(
844
848
  args: TagResourceCommandInput,
845
- options: __HttpHandlerOptions,
849
+ options: CloudWatchRequestOptions,
846
850
  cb: (err: any, data?: TagResourceCommandOutput) => void,
847
851
  ): void;
848
852
  untagResource(
849
853
  args: UntagResourceCommandInput,
850
- options?: __HttpHandlerOptions,
854
+ options?: CloudWatchRequestOptions,
851
855
  ): Promise<UntagResourceCommandOutput>;
852
856
  untagResource(
853
857
  args: UntagResourceCommandInput,
@@ -855,7 +859,7 @@ export interface CloudWatch {
855
859
  ): void;
856
860
  untagResource(
857
861
  args: UntagResourceCommandInput,
858
- options: __HttpHandlerOptions,
862
+ options: CloudWatchRequestOptions,
859
863
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
860
864
  ): void;
861
865
  paginateDescribeAlarmHistory(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudwatch",
6
6
  "license": "Apache-2.0",
@@ -52,14 +52,14 @@
52
52
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
53
53
  },
54
54
  "dependencies": {
55
- "@aws-sdk/core": "^3.978.0",
56
- "@aws-sdk/credential-provider-node": "^3.972.83",
57
- "@aws-sdk/types": "^3.974.5",
58
- "@smithy/core": "^3.33.3",
59
- "@smithy/fetch-http-handler": "^5.7.2",
55
+ "@aws-sdk/core": "^3.978.1",
56
+ "@aws-sdk/credential-provider-node": "^3.972.84",
57
+ "@aws-sdk/types": "^3.974.6",
58
+ "@smithy/core": "^3.35.0",
59
+ "@smithy/fetch-http-handler": "^5.8.0",
60
60
  "@smithy/middleware-compression": "^4.6.2",
61
- "@smithy/node-http-handler": "^4.11.3",
62
- "@smithy/types": "^4.17.2",
61
+ "@smithy/node-http-handler": "^4.12.1",
62
+ "@smithy/types": "^4.19.0",
63
63
  "tslib": "^2.6.2"
64
64
  },
65
65
  "devDependencies": {