@aws-sdk/client-cloudwatch 3.42.0 → 3.47.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.
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { CloudWatchClientConfig } from "./CloudWatchClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { CloudWatchClientConfig } from "./CloudWatchClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
10
10
  import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
@@ -87,6 +87,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
87
87
  regionInfoProvider?: RegionInfoProvider;
88
88
 
89
89
  defaultUserAgentProvider?: Provider<__UserAgent>;
90
+
91
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
90
92
  }
91
93
  declare type CloudWatchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
92
94
 
@@ -53,6 +53,80 @@ export declare namespace Dimension {
53
53
 
54
54
  const filterSensitiveLog: (obj: Dimension) => any;
55
55
  }
56
+
57
+ export interface Metric {
58
+
59
+ Namespace?: string;
60
+
61
+ MetricName?: string;
62
+
63
+ Dimensions?: Dimension[];
64
+ }
65
+ export declare namespace Metric {
66
+
67
+ const filterSensitiveLog: (obj: Metric) => any;
68
+ }
69
+ export declare type StandardUnit = "Bits" | "Bits/Second" | "Bytes" | "Bytes/Second" | "Count" | "Count/Second" | "Gigabits" | "Gigabits/Second" | "Gigabytes" | "Gigabytes/Second" | "Kilobits" | "Kilobits/Second" | "Kilobytes" | "Kilobytes/Second" | "Megabits" | "Megabits/Second" | "Megabytes" | "Megabytes/Second" | "Microseconds" | "Milliseconds" | "None" | "Percent" | "Seconds" | "Terabits" | "Terabits/Second" | "Terabytes" | "Terabytes/Second";
70
+
71
+ export interface MetricStat {
72
+
73
+ Metric: Metric | undefined;
74
+
75
+ Period: number | undefined;
76
+
77
+ Stat: string | undefined;
78
+
79
+ Unit?: StandardUnit | string;
80
+ }
81
+ export declare namespace MetricStat {
82
+
83
+ const filterSensitiveLog: (obj: MetricStat) => any;
84
+ }
85
+
86
+ export interface MetricDataQuery {
87
+
88
+ Id: string | undefined;
89
+
90
+ MetricStat?: MetricStat;
91
+
92
+ Expression?: string;
93
+
94
+ Label?: string;
95
+
96
+ ReturnData?: boolean;
97
+
98
+ Period?: number;
99
+
100
+ AccountId?: string;
101
+ }
102
+ export declare namespace MetricDataQuery {
103
+
104
+ const filterSensitiveLog: (obj: MetricDataQuery) => any;
105
+ }
106
+
107
+ export interface MetricMathAnomalyDetector {
108
+
109
+ MetricDataQueries?: MetricDataQuery[];
110
+ }
111
+ export declare namespace MetricMathAnomalyDetector {
112
+
113
+ const filterSensitiveLog: (obj: MetricMathAnomalyDetector) => any;
114
+ }
115
+
116
+ export interface SingleMetricAnomalyDetector {
117
+
118
+ Namespace?: string;
119
+
120
+ MetricName?: string;
121
+
122
+ Dimensions?: Dimension[];
123
+
124
+ Stat?: string;
125
+ }
126
+ export declare namespace SingleMetricAnomalyDetector {
127
+
128
+ const filterSensitiveLog: (obj: SingleMetricAnomalyDetector) => any;
129
+ }
56
130
  export declare type AnomalyDetectorStateValue = "PENDING_TRAINING" | "TRAINED" | "TRAINED_INSUFFICIENT_DATA";
57
131
 
58
132
  export interface AnomalyDetector {
@@ -68,11 +142,19 @@ export interface AnomalyDetector {
68
142
  Configuration?: AnomalyDetectorConfiguration;
69
143
 
70
144
  StateValue?: AnomalyDetectorStateValue | string;
145
+
146
+ SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector;
147
+
148
+ MetricMathAnomalyDetector?: MetricMathAnomalyDetector;
71
149
  }
72
150
  export declare namespace AnomalyDetector {
73
151
 
74
152
  const filterSensitiveLog: (obj: AnomalyDetector) => any;
75
153
  }
154
+ export declare enum AnomalyDetectorType {
155
+ METRIC_MATH = "METRIC_MATH",
156
+ SINGLE_METRIC = "SINGLE_METRIC"
157
+ }
76
158
 
77
159
  export interface PartialFailure {
78
160
 
@@ -129,10 +211,6 @@ export interface ConcurrentModificationException extends __SmithyException, $Met
129
211
  $fault: "client";
130
212
  Message?: string;
131
213
  }
132
- export declare namespace ConcurrentModificationException {
133
-
134
- const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
135
- }
136
214
 
137
215
  export interface DashboardEntry {
138
216
 
@@ -166,21 +244,12 @@ export interface DashboardInvalidInputError extends __SmithyException, $Metadata
166
244
  message?: string;
167
245
  dashboardValidationMessages?: DashboardValidationMessage[];
168
246
  }
169
- export declare namespace DashboardInvalidInputError {
170
-
171
- const filterSensitiveLog: (obj: DashboardInvalidInputError) => any;
172
- }
173
247
 
174
248
  export interface DashboardNotFoundError extends __SmithyException, $MetadataBearer {
175
249
  name: "DashboardNotFoundError";
176
250
  $fault: "client";
177
251
  message?: string;
178
252
  }
179
- export declare namespace DashboardNotFoundError {
180
-
181
- const filterSensitiveLog: (obj: DashboardNotFoundError) => any;
182
- }
183
- export declare type StandardUnit = "Bits" | "Bits/Second" | "Bytes" | "Bytes/Second" | "Count" | "Count/Second" | "Gigabits" | "Gigabits/Second" | "Gigabytes" | "Gigabytes/Second" | "Kilobits" | "Kilobits/Second" | "Kilobytes" | "Kilobytes/Second" | "Megabits" | "Megabits/Second" | "Megabytes" | "Megabytes/Second" | "Microseconds" | "Milliseconds" | "None" | "Percent" | "Seconds" | "Terabits" | "Terabits/Second" | "Terabytes" | "Terabytes/Second";
184
253
 
185
254
  export interface Datapoint {
186
255
 
@@ -221,19 +290,19 @@ export interface ResourceNotFound extends __SmithyException, $MetadataBearer {
221
290
 
222
291
  message?: string;
223
292
  }
224
- export declare namespace ResourceNotFound {
225
-
226
- const filterSensitiveLog: (obj: ResourceNotFound) => any;
227
- }
228
293
  export interface DeleteAnomalyDetectorInput {
229
294
 
230
- Namespace: string | undefined;
295
+ Namespace?: string;
231
296
 
232
- MetricName: string | undefined;
297
+ MetricName?: string;
233
298
 
234
299
  Dimensions?: Dimension[];
235
300
 
236
- Stat: string | undefined;
301
+ Stat?: string;
302
+
303
+ SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector;
304
+
305
+ MetricMathAnomalyDetector?: MetricMathAnomalyDetector;
237
306
  }
238
307
  export declare namespace DeleteAnomalyDetectorInput {
239
308
 
@@ -252,9 +321,12 @@ export interface InternalServiceFault extends __SmithyException, $MetadataBearer
252
321
 
253
322
  Message?: string;
254
323
  }
255
- export declare namespace InternalServiceFault {
324
+
325
+ export interface InvalidParameterCombinationException extends __SmithyException, $MetadataBearer {
326
+ name: "InvalidParameterCombinationException";
327
+ $fault: "client";
256
328
 
257
- const filterSensitiveLog: (obj: InternalServiceFault) => any;
329
+ message?: string;
258
330
  }
259
331
 
260
332
  export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
@@ -263,10 +335,6 @@ export interface InvalidParameterValueException extends __SmithyException, $Meta
263
335
 
264
336
  message?: string;
265
337
  }
266
- export declare namespace InvalidParameterValueException {
267
-
268
- const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
269
- }
270
338
 
271
339
  export interface MissingRequiredParameterException extends __SmithyException, $MetadataBearer {
272
340
  name: "MissingRequiredParameterException";
@@ -274,10 +342,6 @@ export interface MissingRequiredParameterException extends __SmithyException, $M
274
342
 
275
343
  message?: string;
276
344
  }
277
- export declare namespace MissingRequiredParameterException {
278
-
279
- const filterSensitiveLog: (obj: MissingRequiredParameterException) => any;
280
- }
281
345
 
282
346
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
283
347
  name: "ResourceNotFoundException";
@@ -286,10 +350,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
286
350
  ResourceId?: string;
287
351
  Message?: string;
288
352
  }
289
- export declare namespace ResourceNotFoundException {
290
-
291
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
292
- }
293
353
  export interface DeleteDashboardsInput {
294
354
 
295
355
  DashboardNames: string[] | undefined;
@@ -377,10 +437,6 @@ export interface InvalidNextToken extends __SmithyException, $MetadataBearer {
377
437
 
378
438
  message?: string;
379
439
  }
380
- export declare namespace InvalidNextToken {
381
-
382
- const filterSensitiveLog: (obj: InvalidNextToken) => any;
383
- }
384
440
  export interface DescribeAlarmsInput {
385
441
 
386
442
  AlarmNames?: string[];
@@ -405,55 +461,6 @@ export declare namespace DescribeAlarmsInput {
405
461
 
406
462
  const filterSensitiveLog: (obj: DescribeAlarmsInput) => any;
407
463
  }
408
-
409
- export interface Metric {
410
-
411
- Namespace?: string;
412
-
413
- MetricName?: string;
414
-
415
- Dimensions?: Dimension[];
416
- }
417
- export declare namespace Metric {
418
-
419
- const filterSensitiveLog: (obj: Metric) => any;
420
- }
421
-
422
- export interface MetricStat {
423
-
424
- Metric: Metric | undefined;
425
-
426
- Period: number | undefined;
427
-
428
- Stat: string | undefined;
429
-
430
- Unit?: StandardUnit | string;
431
- }
432
- export declare namespace MetricStat {
433
-
434
- const filterSensitiveLog: (obj: MetricStat) => any;
435
- }
436
-
437
- export interface MetricDataQuery {
438
-
439
- Id: string | undefined;
440
-
441
- MetricStat?: MetricStat;
442
-
443
- Expression?: string;
444
-
445
- Label?: string;
446
-
447
- ReturnData?: boolean;
448
-
449
- Period?: number;
450
-
451
- AccountId?: string;
452
- }
453
- export declare namespace MetricDataQuery {
454
-
455
- const filterSensitiveLog: (obj: MetricDataQuery) => any;
456
- }
457
464
  export declare type Statistic = "Average" | "Maximum" | "Minimum" | "SampleCount" | "Sum";
458
465
 
459
466
  export interface MetricAlarm {
@@ -567,6 +574,8 @@ export interface DescribeAnomalyDetectorsInput {
567
574
  MetricName?: string;
568
575
 
569
576
  Dimensions?: Dimension[];
577
+
578
+ AnomalyDetectorTypes?: (AnomalyDetectorType | string)[];
570
579
  }
571
580
  export declare namespace DescribeAnomalyDetectorsInput {
572
581
 
@@ -682,10 +691,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
682
691
  $fault: "client";
683
692
  Message?: string;
684
693
  }
685
- export declare namespace LimitExceededException {
686
-
687
- const filterSensitiveLog: (obj: LimitExceededException) => any;
688
- }
689
694
  export interface GetDashboardInput {
690
695
 
691
696
  DashboardName: string | undefined;
@@ -901,17 +906,6 @@ export declare namespace GetMetricStatisticsOutput {
901
906
 
902
907
  const filterSensitiveLog: (obj: GetMetricStatisticsOutput) => any;
903
908
  }
904
-
905
- export interface InvalidParameterCombinationException extends __SmithyException, $MetadataBearer {
906
- name: "InvalidParameterCombinationException";
907
- $fault: "client";
908
-
909
- message?: string;
910
- }
911
- export declare namespace InvalidParameterCombinationException {
912
-
913
- const filterSensitiveLog: (obj: InvalidParameterCombinationException) => any;
914
- }
915
909
  export interface GetMetricStreamInput {
916
910
 
917
911
  Name: string | undefined;
@@ -1096,15 +1090,19 @@ export declare namespace ListTagsForResourceOutput {
1096
1090
  }
1097
1091
  export interface PutAnomalyDetectorInput {
1098
1092
 
1099
- Namespace: string | undefined;
1093
+ Namespace?: string;
1100
1094
 
1101
- MetricName: string | undefined;
1095
+ MetricName?: string;
1102
1096
 
1103
1097
  Dimensions?: Dimension[];
1104
1098
 
1105
- Stat: string | undefined;
1099
+ Stat?: string;
1106
1100
 
1107
1101
  Configuration?: AnomalyDetectorConfiguration;
1102
+
1103
+ SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector;
1104
+
1105
+ MetricMathAnomalyDetector?: MetricMathAnomalyDetector;
1108
1106
  }
1109
1107
  export declare namespace PutAnomalyDetectorInput {
1110
1108
 
@@ -1123,10 +1121,6 @@ export interface LimitExceededFault extends __SmithyException, $MetadataBearer {
1123
1121
 
1124
1122
  message?: string;
1125
1123
  }
1126
- export declare namespace LimitExceededFault {
1127
-
1128
- const filterSensitiveLog: (obj: LimitExceededFault) => any;
1129
- }
1130
1124
  export interface PutCompositeAlarmInput {
1131
1125
 
1132
1126
  ActionsEnabled?: boolean;
@@ -1322,10 +1316,6 @@ export interface InvalidFormatFault extends __SmithyException, $MetadataBearer {
1322
1316
 
1323
1317
  message?: string;
1324
1318
  }
1325
- export declare namespace InvalidFormatFault {
1326
-
1327
- const filterSensitiveLog: (obj: InvalidFormatFault) => any;
1328
- }
1329
1319
  export interface SetAlarmStateInput {
1330
1320
 
1331
1321
  AlarmName: string | undefined;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { CloudWatchClientConfig } from "./CloudWatchClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { CloudWatchClientConfig } from "./CloudWatchClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
4
- "version": "3.42.0",
4
+ "version": "3.47.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "exit 0"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,51 +18,47 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.42.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
52
- "@aws-sdk/util-waiter": "3.40.0",
21
+ "@aws-sdk/client-sts": "3.47.0",
22
+ "@aws-sdk/config-resolver": "3.47.0",
23
+ "@aws-sdk/credential-provider-node": "3.47.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.0",
25
+ "@aws-sdk/hash-node": "3.47.0",
26
+ "@aws-sdk/invalid-dependency": "3.47.0",
27
+ "@aws-sdk/middleware-content-length": "3.47.0",
28
+ "@aws-sdk/middleware-host-header": "3.47.0",
29
+ "@aws-sdk/middleware-logger": "3.47.0",
30
+ "@aws-sdk/middleware-retry": "3.47.0",
31
+ "@aws-sdk/middleware-serde": "3.47.0",
32
+ "@aws-sdk/middleware-signing": "3.47.0",
33
+ "@aws-sdk/middleware-stack": "3.47.0",
34
+ "@aws-sdk/middleware-user-agent": "3.47.0",
35
+ "@aws-sdk/node-config-provider": "3.47.0",
36
+ "@aws-sdk/node-http-handler": "3.47.0",
37
+ "@aws-sdk/protocol-http": "3.47.0",
38
+ "@aws-sdk/smithy-client": "3.47.0",
39
+ "@aws-sdk/types": "3.47.0",
40
+ "@aws-sdk/url-parser": "3.47.0",
41
+ "@aws-sdk/util-base64-browser": "3.47.0",
42
+ "@aws-sdk/util-base64-node": "3.47.0",
43
+ "@aws-sdk/util-body-length-browser": "3.47.0",
44
+ "@aws-sdk/util-body-length-node": "3.47.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.0",
48
+ "@aws-sdk/util-user-agent-node": "3.47.0",
49
+ "@aws-sdk/util-utf8-browser": "3.47.0",
50
+ "@aws-sdk/util-utf8-node": "3.47.0",
51
+ "@aws-sdk/util-waiter": "3.47.0",
53
52
  "entities": "2.2.0",
54
53
  "fast-xml-parser": "3.19.0",
55
54
  "tslib": "^2.3.0"
56
55
  },
57
56
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
59
- "@types/node": "^12.7.5",
60
- "downlevel-dts": "0.7.0",
61
- "jest": "^26.1.0",
62
- "rimraf": "^3.0.0",
63
- "ts-jest": "^26.4.1",
64
- "typedoc": "^0.19.2",
65
- "typescript": "~4.3.5"
57
+ "@aws-sdk/service-client-documentation-generator": "3.47.0",
58
+ "@types/node": "^12.7.5"
66
59
  },
67
60
  "engines": {
68
- "node": ">=10.0.0"
61
+ "node": ">=12.0.0"
69
62
  },
70
63
  "typesVersions": {
71
64
  "<4.0": {