@aws-sdk/client-cloudwatch 3.1166.0 → 3.1168.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/README.md +28 -0
- package/dist-cjs/index.js +123 -1
- package/dist-es/CloudWatch.js +10 -0
- package/dist-es/commands/DeleteMetricDataQueryDefinitionCommand.js +4 -0
- package/dist-es/commands/GetMetricDataQueryDefinitionCommand.js +4 -0
- package/dist-es/commands/ListMetricDataQueryDefinitionsCommand.js +4 -0
- package/dist-es/commands/PutMetricDataQueryDefinitionCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +5 -0
- package/dist-es/pagination/ListMetricDataQueryDefinitionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +79 -0
- package/dist-types/CloudWatch.d.ts +36 -0
- package/dist-types/CloudWatchClient.d.ts +6 -2
- package/dist-types/commands/DeleteMetricDataQueryDefinitionCommand.d.ts +78 -0
- package/dist-types/commands/GetMetricDataQueryDefinitionCommand.d.ts +87 -0
- package/dist-types/commands/ListMetricDataQueryDefinitionsCommand.d.ts +91 -0
- package/dist-types/commands/PutMetricDataQueryDefinitionCommand.d.ts +118 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +264 -1
- package/dist-types/pagination/ListMetricDataQueryDefinitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +13 -0
- package/dist-types/ts3.4/CloudWatch.d.ts +76 -0
- package/dist-types/ts3.4/CloudWatchClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DeleteMetricDataQueryDefinitionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetMetricDataQueryDefinitionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListMetricDataQueryDefinitionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutMetricDataQueryDefinitionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -0
- package/dist-types/ts3.4/pagination/ListMetricDataQueryDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
- package/package.json +2 -2
|
@@ -35,6 +35,10 @@ import {
|
|
|
35
35
|
DeleteInsightRulesCommandInput,
|
|
36
36
|
DeleteInsightRulesCommandOutput,
|
|
37
37
|
} from "./commands/DeleteInsightRulesCommand";
|
|
38
|
+
import {
|
|
39
|
+
DeleteMetricDataQueryDefinitionCommandInput,
|
|
40
|
+
DeleteMetricDataQueryDefinitionCommandOutput,
|
|
41
|
+
} from "./commands/DeleteMetricDataQueryDefinitionCommand";
|
|
38
42
|
import {
|
|
39
43
|
DeleteMetricStreamCommandInput,
|
|
40
44
|
DeleteMetricStreamCommandOutput,
|
|
@@ -104,6 +108,10 @@ import {
|
|
|
104
108
|
GetMetricDataCommandInput,
|
|
105
109
|
GetMetricDataCommandOutput,
|
|
106
110
|
} from "./commands/GetMetricDataCommand";
|
|
111
|
+
import {
|
|
112
|
+
GetMetricDataQueryDefinitionCommandInput,
|
|
113
|
+
GetMetricDataQueryDefinitionCommandOutput,
|
|
114
|
+
} from "./commands/GetMetricDataQueryDefinitionCommand";
|
|
107
115
|
import {
|
|
108
116
|
GetMetricStatisticsCommandInput,
|
|
109
117
|
GetMetricStatisticsCommandOutput,
|
|
@@ -136,6 +144,10 @@ import {
|
|
|
136
144
|
ListManagedInsightRulesCommandInput,
|
|
137
145
|
ListManagedInsightRulesCommandOutput,
|
|
138
146
|
} from "./commands/ListManagedInsightRulesCommand";
|
|
147
|
+
import {
|
|
148
|
+
ListMetricDataQueryDefinitionsCommandInput,
|
|
149
|
+
ListMetricDataQueryDefinitionsCommandOutput,
|
|
150
|
+
} from "./commands/ListMetricDataQueryDefinitionsCommand";
|
|
139
151
|
import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
|
|
140
152
|
import {
|
|
141
153
|
ListMetricStreamsCommandInput,
|
|
@@ -178,6 +190,10 @@ import {
|
|
|
178
190
|
PutMetricDataCommandInput,
|
|
179
191
|
PutMetricDataCommandOutput,
|
|
180
192
|
} from "./commands/PutMetricDataCommand";
|
|
193
|
+
import {
|
|
194
|
+
PutMetricDataQueryDefinitionCommandInput,
|
|
195
|
+
PutMetricDataQueryDefinitionCommandOutput,
|
|
196
|
+
} from "./commands/PutMetricDataQueryDefinitionCommand";
|
|
181
197
|
import {
|
|
182
198
|
PutMetricStreamCommandInput,
|
|
183
199
|
PutMetricStreamCommandOutput,
|
|
@@ -311,6 +327,19 @@ export interface CloudWatch {
|
|
|
311
327
|
options: CloudWatchRequestOptions,
|
|
312
328
|
cb: (err: any, data?: DeleteInsightRulesCommandOutput) => void,
|
|
313
329
|
): void;
|
|
330
|
+
deleteMetricDataQueryDefinition(
|
|
331
|
+
args: DeleteMetricDataQueryDefinitionCommandInput,
|
|
332
|
+
options?: CloudWatchRequestOptions,
|
|
333
|
+
): Promise<DeleteMetricDataQueryDefinitionCommandOutput>;
|
|
334
|
+
deleteMetricDataQueryDefinition(
|
|
335
|
+
args: DeleteMetricDataQueryDefinitionCommandInput,
|
|
336
|
+
cb: (err: any, data?: DeleteMetricDataQueryDefinitionCommandOutput) => void,
|
|
337
|
+
): void;
|
|
338
|
+
deleteMetricDataQueryDefinition(
|
|
339
|
+
args: DeleteMetricDataQueryDefinitionCommandInput,
|
|
340
|
+
options: CloudWatchRequestOptions,
|
|
341
|
+
cb: (err: any, data?: DeleteMetricDataQueryDefinitionCommandOutput) => void,
|
|
342
|
+
): void;
|
|
314
343
|
deleteMetricStream(
|
|
315
344
|
args: DeleteMetricStreamCommandInput,
|
|
316
345
|
options?: CloudWatchRequestOptions,
|
|
@@ -549,6 +578,19 @@ export interface CloudWatch {
|
|
|
549
578
|
options: CloudWatchRequestOptions,
|
|
550
579
|
cb: (err: any, data?: GetMetricDataCommandOutput) => void,
|
|
551
580
|
): void;
|
|
581
|
+
getMetricDataQueryDefinition(
|
|
582
|
+
args: GetMetricDataQueryDefinitionCommandInput,
|
|
583
|
+
options?: CloudWatchRequestOptions,
|
|
584
|
+
): Promise<GetMetricDataQueryDefinitionCommandOutput>;
|
|
585
|
+
getMetricDataQueryDefinition(
|
|
586
|
+
args: GetMetricDataQueryDefinitionCommandInput,
|
|
587
|
+
cb: (err: any, data?: GetMetricDataQueryDefinitionCommandOutput) => void,
|
|
588
|
+
): void;
|
|
589
|
+
getMetricDataQueryDefinition(
|
|
590
|
+
args: GetMetricDataQueryDefinitionCommandInput,
|
|
591
|
+
options: CloudWatchRequestOptions,
|
|
592
|
+
cb: (err: any, data?: GetMetricDataQueryDefinitionCommandOutput) => void,
|
|
593
|
+
): void;
|
|
552
594
|
getMetricStatistics(
|
|
553
595
|
args: GetMetricStatisticsCommandInput,
|
|
554
596
|
options?: CloudWatchRequestOptions,
|
|
@@ -656,6 +698,20 @@ export interface CloudWatch {
|
|
|
656
698
|
options: CloudWatchRequestOptions,
|
|
657
699
|
cb: (err: any, data?: ListManagedInsightRulesCommandOutput) => void,
|
|
658
700
|
): void;
|
|
701
|
+
listMetricDataQueryDefinitions(): Promise<ListMetricDataQueryDefinitionsCommandOutput>;
|
|
702
|
+
listMetricDataQueryDefinitions(
|
|
703
|
+
args: ListMetricDataQueryDefinitionsCommandInput,
|
|
704
|
+
options?: CloudWatchRequestOptions,
|
|
705
|
+
): Promise<ListMetricDataQueryDefinitionsCommandOutput>;
|
|
706
|
+
listMetricDataQueryDefinitions(
|
|
707
|
+
args: ListMetricDataQueryDefinitionsCommandInput,
|
|
708
|
+
cb: (err: any, data?: ListMetricDataQueryDefinitionsCommandOutput) => void,
|
|
709
|
+
): void;
|
|
710
|
+
listMetricDataQueryDefinitions(
|
|
711
|
+
args: ListMetricDataQueryDefinitionsCommandInput,
|
|
712
|
+
options: CloudWatchRequestOptions,
|
|
713
|
+
cb: (err: any, data?: ListMetricDataQueryDefinitionsCommandOutput) => void,
|
|
714
|
+
): void;
|
|
659
715
|
listMetrics(): Promise<ListMetricsCommandOutput>;
|
|
660
716
|
listMetrics(
|
|
661
717
|
args: ListMetricsCommandInput,
|
|
@@ -815,6 +871,19 @@ export interface CloudWatch {
|
|
|
815
871
|
options: CloudWatchRequestOptions,
|
|
816
872
|
cb: (err: any, data?: PutMetricDataCommandOutput) => void,
|
|
817
873
|
): void;
|
|
874
|
+
putMetricDataQueryDefinition(
|
|
875
|
+
args: PutMetricDataQueryDefinitionCommandInput,
|
|
876
|
+
options?: CloudWatchRequestOptions,
|
|
877
|
+
): Promise<PutMetricDataQueryDefinitionCommandOutput>;
|
|
878
|
+
putMetricDataQueryDefinition(
|
|
879
|
+
args: PutMetricDataQueryDefinitionCommandInput,
|
|
880
|
+
cb: (err: any, data?: PutMetricDataQueryDefinitionCommandOutput) => void,
|
|
881
|
+
): void;
|
|
882
|
+
putMetricDataQueryDefinition(
|
|
883
|
+
args: PutMetricDataQueryDefinitionCommandInput,
|
|
884
|
+
options: CloudWatchRequestOptions,
|
|
885
|
+
cb: (err: any, data?: PutMetricDataQueryDefinitionCommandOutput) => void,
|
|
886
|
+
): void;
|
|
818
887
|
putMetricStream(
|
|
819
888
|
args: PutMetricStreamCommandInput,
|
|
820
889
|
options?: CloudWatchRequestOptions,
|
|
@@ -1004,6 +1073,13 @@ export interface CloudWatch {
|
|
|
1004
1073
|
Exclude<keyof PaginationConfiguration, "client">
|
|
1005
1074
|
>,
|
|
1006
1075
|
): Paginator<ListManagedInsightRulesCommandOutput>;
|
|
1076
|
+
paginateListMetricDataQueryDefinitions(
|
|
1077
|
+
args?: ListMetricDataQueryDefinitionsCommandInput,
|
|
1078
|
+
paginationConfig?: Pick<
|
|
1079
|
+
PaginationConfiguration,
|
|
1080
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1081
|
+
>,
|
|
1082
|
+
): Paginator<ListMetricDataQueryDefinitionsCommandOutput>;
|
|
1007
1083
|
paginateListMetrics(
|
|
1008
1084
|
args?: ListMetricsCommandInput,
|
|
1009
1085
|
paginationConfig?: Pick<
|
|
@@ -62,6 +62,10 @@ import {
|
|
|
62
62
|
DeleteInsightRulesCommandInput,
|
|
63
63
|
DeleteInsightRulesCommandOutput,
|
|
64
64
|
} from "./commands/DeleteInsightRulesCommand";
|
|
65
|
+
import {
|
|
66
|
+
DeleteMetricDataQueryDefinitionCommandInput,
|
|
67
|
+
DeleteMetricDataQueryDefinitionCommandOutput,
|
|
68
|
+
} from "./commands/DeleteMetricDataQueryDefinitionCommand";
|
|
65
69
|
import {
|
|
66
70
|
DeleteMetricStreamCommandInput,
|
|
67
71
|
DeleteMetricStreamCommandOutput,
|
|
@@ -131,6 +135,10 @@ import {
|
|
|
131
135
|
GetMetricDataCommandInput,
|
|
132
136
|
GetMetricDataCommandOutput,
|
|
133
137
|
} from "./commands/GetMetricDataCommand";
|
|
138
|
+
import {
|
|
139
|
+
GetMetricDataQueryDefinitionCommandInput,
|
|
140
|
+
GetMetricDataQueryDefinitionCommandOutput,
|
|
141
|
+
} from "./commands/GetMetricDataQueryDefinitionCommand";
|
|
134
142
|
import {
|
|
135
143
|
GetMetricStatisticsCommandInput,
|
|
136
144
|
GetMetricStatisticsCommandOutput,
|
|
@@ -163,6 +171,10 @@ import {
|
|
|
163
171
|
ListManagedInsightRulesCommandInput,
|
|
164
172
|
ListManagedInsightRulesCommandOutput,
|
|
165
173
|
} from "./commands/ListManagedInsightRulesCommand";
|
|
174
|
+
import {
|
|
175
|
+
ListMetricDataQueryDefinitionsCommandInput,
|
|
176
|
+
ListMetricDataQueryDefinitionsCommandOutput,
|
|
177
|
+
} from "./commands/ListMetricDataQueryDefinitionsCommand";
|
|
166
178
|
import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
|
|
167
179
|
import {
|
|
168
180
|
ListMetricStreamsCommandInput,
|
|
@@ -205,6 +217,10 @@ import {
|
|
|
205
217
|
PutMetricDataCommandInput,
|
|
206
218
|
PutMetricDataCommandOutput,
|
|
207
219
|
} from "./commands/PutMetricDataCommand";
|
|
220
|
+
import {
|
|
221
|
+
PutMetricDataQueryDefinitionCommandInput,
|
|
222
|
+
PutMetricDataQueryDefinitionCommandOutput,
|
|
223
|
+
} from "./commands/PutMetricDataQueryDefinitionCommand";
|
|
208
224
|
import {
|
|
209
225
|
PutMetricStreamCommandInput,
|
|
210
226
|
PutMetricStreamCommandOutput,
|
|
@@ -257,6 +273,7 @@ export type ServiceInputTypes =
|
|
|
257
273
|
| DeleteAnomalyDetectorCommandInput
|
|
258
274
|
| DeleteDashboardsCommandInput
|
|
259
275
|
| DeleteInsightRulesCommandInput
|
|
276
|
+
| DeleteMetricDataQueryDefinitionCommandInput
|
|
260
277
|
| DeleteMetricStreamCommandInput
|
|
261
278
|
| DeleteResourceMetricsConfigurationCommandInput
|
|
262
279
|
| DescribeAlarmContributorsCommandInput
|
|
@@ -275,6 +292,7 @@ export type ServiceInputTypes =
|
|
|
275
292
|
| GetDatasetCommandInput
|
|
276
293
|
| GetInsightRuleReportCommandInput
|
|
277
294
|
| GetMetricDataCommandInput
|
|
295
|
+
| GetMetricDataQueryDefinitionCommandInput
|
|
278
296
|
| GetMetricStatisticsCommandInput
|
|
279
297
|
| GetMetricStreamCommandInput
|
|
280
298
|
| GetMetricWidgetImageCommandInput
|
|
@@ -283,6 +301,7 @@ export type ServiceInputTypes =
|
|
|
283
301
|
| ListAlarmMuteRulesCommandInput
|
|
284
302
|
| ListDashboardsCommandInput
|
|
285
303
|
| ListManagedInsightRulesCommandInput
|
|
304
|
+
| ListMetricDataQueryDefinitionsCommandInput
|
|
286
305
|
| ListMetricStreamsCommandInput
|
|
287
306
|
| ListMetricsCommandInput
|
|
288
307
|
| ListTagsForResourceCommandInput
|
|
@@ -295,6 +314,7 @@ export type ServiceInputTypes =
|
|
|
295
314
|
| PutManagedInsightRulesCommandInput
|
|
296
315
|
| PutMetricAlarmCommandInput
|
|
297
316
|
| PutMetricDataCommandInput
|
|
317
|
+
| PutMetricDataQueryDefinitionCommandInput
|
|
298
318
|
| PutMetricStreamCommandInput
|
|
299
319
|
| SetAlarmStateCommandInput
|
|
300
320
|
| StartMetricStreamsCommandInput
|
|
@@ -313,6 +333,7 @@ export type ServiceOutputTypes =
|
|
|
313
333
|
| DeleteAnomalyDetectorCommandOutput
|
|
314
334
|
| DeleteDashboardsCommandOutput
|
|
315
335
|
| DeleteInsightRulesCommandOutput
|
|
336
|
+
| DeleteMetricDataQueryDefinitionCommandOutput
|
|
316
337
|
| DeleteMetricStreamCommandOutput
|
|
317
338
|
| DeleteResourceMetricsConfigurationCommandOutput
|
|
318
339
|
| DescribeAlarmContributorsCommandOutput
|
|
@@ -331,6 +352,7 @@ export type ServiceOutputTypes =
|
|
|
331
352
|
| GetDatasetCommandOutput
|
|
332
353
|
| GetInsightRuleReportCommandOutput
|
|
333
354
|
| GetMetricDataCommandOutput
|
|
355
|
+
| GetMetricDataQueryDefinitionCommandOutput
|
|
334
356
|
| GetMetricStatisticsCommandOutput
|
|
335
357
|
| GetMetricStreamCommandOutput
|
|
336
358
|
| GetMetricWidgetImageCommandOutput
|
|
@@ -339,6 +361,7 @@ export type ServiceOutputTypes =
|
|
|
339
361
|
| ListAlarmMuteRulesCommandOutput
|
|
340
362
|
| ListDashboardsCommandOutput
|
|
341
363
|
| ListManagedInsightRulesCommandOutput
|
|
364
|
+
| ListMetricDataQueryDefinitionsCommandOutput
|
|
342
365
|
| ListMetricStreamsCommandOutput
|
|
343
366
|
| ListMetricsCommandOutput
|
|
344
367
|
| ListTagsForResourceCommandOutput
|
|
@@ -351,6 +374,7 @@ export type ServiceOutputTypes =
|
|
|
351
374
|
| PutManagedInsightRulesCommandOutput
|
|
352
375
|
| PutMetricAlarmCommandOutput
|
|
353
376
|
| PutMetricDataCommandOutput
|
|
377
|
+
| PutMetricDataQueryDefinitionCommandOutput
|
|
354
378
|
| PutMetricStreamCommandOutput
|
|
355
379
|
| SetAlarmStateCommandOutput
|
|
356
380
|
| StartMetricStreamsCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DeleteMetricDataQueryDefinitionInput,
|
|
4
|
+
DeleteMetricDataQueryDefinitionOutput,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface DeleteMetricDataQueryDefinitionCommandInput extends DeleteMetricDataQueryDefinitionInput {}
|
|
8
|
+
export interface DeleteMetricDataQueryDefinitionCommandOutput
|
|
9
|
+
extends DeleteMetricDataQueryDefinitionOutput, __MetadataBearer {}
|
|
10
|
+
declare const DeleteMetricDataQueryDefinitionCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: DeleteMetricDataQueryDefinitionCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
DeleteMetricDataQueryDefinitionCommandInput,
|
|
15
|
+
DeleteMetricDataQueryDefinitionCommandOutput,
|
|
16
|
+
import("..").CloudWatchClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteMetricDataQueryDefinitionCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
DeleteMetricDataQueryDefinitionCommandInput,
|
|
24
|
+
DeleteMetricDataQueryDefinitionCommandOutput,
|
|
25
|
+
import("..").CloudWatchClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class DeleteMetricDataQueryDefinitionCommand extends DeleteMetricDataQueryDefinitionCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: DeleteMetricDataQueryDefinitionInput;
|
|
35
|
+
output: {};
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: DeleteMetricDataQueryDefinitionCommandInput;
|
|
39
|
+
output: DeleteMetricDataQueryDefinitionCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetMetricDataQueryDefinitionInput,
|
|
4
|
+
GetMetricDataQueryDefinitionOutput,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface GetMetricDataQueryDefinitionCommandInput extends GetMetricDataQueryDefinitionInput {}
|
|
8
|
+
export interface GetMetricDataQueryDefinitionCommandOutput
|
|
9
|
+
extends GetMetricDataQueryDefinitionOutput, __MetadataBearer {}
|
|
10
|
+
declare const GetMetricDataQueryDefinitionCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: GetMetricDataQueryDefinitionCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
GetMetricDataQueryDefinitionCommandInput,
|
|
15
|
+
GetMetricDataQueryDefinitionCommandOutput,
|
|
16
|
+
import("..").CloudWatchClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: GetMetricDataQueryDefinitionCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
GetMetricDataQueryDefinitionCommandInput,
|
|
24
|
+
GetMetricDataQueryDefinitionCommandOutput,
|
|
25
|
+
import("..").CloudWatchClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class GetMetricDataQueryDefinitionCommand extends GetMetricDataQueryDefinitionCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: GetMetricDataQueryDefinitionInput;
|
|
35
|
+
output: GetMetricDataQueryDefinitionOutput;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: GetMetricDataQueryDefinitionCommandInput;
|
|
39
|
+
output: GetMetricDataQueryDefinitionCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListMetricDataQueryDefinitionsInput,
|
|
4
|
+
ListMetricDataQueryDefinitionsOutput,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface ListMetricDataQueryDefinitionsCommandInput extends ListMetricDataQueryDefinitionsInput {}
|
|
8
|
+
export interface ListMetricDataQueryDefinitionsCommandOutput
|
|
9
|
+
extends ListMetricDataQueryDefinitionsOutput, __MetadataBearer {}
|
|
10
|
+
declare const ListMetricDataQueryDefinitionsCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: ListMetricDataQueryDefinitionsCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
ListMetricDataQueryDefinitionsCommandInput,
|
|
15
|
+
ListMetricDataQueryDefinitionsCommandOutput,
|
|
16
|
+
import("..").CloudWatchClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
...[input]: [] | [ListMetricDataQueryDefinitionsCommandInput]
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
ListMetricDataQueryDefinitionsCommandInput,
|
|
24
|
+
ListMetricDataQueryDefinitionsCommandOutput,
|
|
25
|
+
import("..").CloudWatchClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class ListMetricDataQueryDefinitionsCommand extends ListMetricDataQueryDefinitionsCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: ListMetricDataQueryDefinitionsInput;
|
|
35
|
+
output: ListMetricDataQueryDefinitionsOutput;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: ListMetricDataQueryDefinitionsCommandInput;
|
|
39
|
+
output: ListMetricDataQueryDefinitionsCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
PutMetricDataQueryDefinitionInput,
|
|
4
|
+
PutMetricDataQueryDefinitionOutput,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface PutMetricDataQueryDefinitionCommandInput extends PutMetricDataQueryDefinitionInput {}
|
|
8
|
+
export interface PutMetricDataQueryDefinitionCommandOutput
|
|
9
|
+
extends PutMetricDataQueryDefinitionOutput, __MetadataBearer {}
|
|
10
|
+
declare const PutMetricDataQueryDefinitionCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: PutMetricDataQueryDefinitionCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
PutMetricDataQueryDefinitionCommandInput,
|
|
15
|
+
PutMetricDataQueryDefinitionCommandOutput,
|
|
16
|
+
import("..").CloudWatchClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: PutMetricDataQueryDefinitionCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
PutMetricDataQueryDefinitionCommandInput,
|
|
24
|
+
PutMetricDataQueryDefinitionCommandOutput,
|
|
25
|
+
import("..").CloudWatchClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class PutMetricDataQueryDefinitionCommand extends PutMetricDataQueryDefinitionCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: PutMetricDataQueryDefinitionInput;
|
|
35
|
+
output: PutMetricDataQueryDefinitionOutput;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: PutMetricDataQueryDefinitionCommandInput;
|
|
39
|
+
output: PutMetricDataQueryDefinitionCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./DeleteAlarmsCommand";
|
|
|
5
5
|
export * from "./DeleteAnomalyDetectorCommand";
|
|
6
6
|
export * from "./DeleteDashboardsCommand";
|
|
7
7
|
export * from "./DeleteInsightRulesCommand";
|
|
8
|
+
export * from "./DeleteMetricDataQueryDefinitionCommand";
|
|
8
9
|
export * from "./DeleteMetricStreamCommand";
|
|
9
10
|
export * from "./DeleteResourceMetricsConfigurationCommand";
|
|
10
11
|
export * from "./DescribeAlarmContributorsCommand";
|
|
@@ -23,6 +24,7 @@ export * from "./GetDashboardCommand";
|
|
|
23
24
|
export * from "./GetDatasetCommand";
|
|
24
25
|
export * from "./GetInsightRuleReportCommand";
|
|
25
26
|
export * from "./GetMetricDataCommand";
|
|
27
|
+
export * from "./GetMetricDataQueryDefinitionCommand";
|
|
26
28
|
export * from "./GetMetricStatisticsCommand";
|
|
27
29
|
export * from "./GetMetricStreamCommand";
|
|
28
30
|
export * from "./GetMetricWidgetImageCommand";
|
|
@@ -31,6 +33,7 @@ export * from "./GetResourceMetricsConfigurationCommand";
|
|
|
31
33
|
export * from "./ListAlarmMuteRulesCommand";
|
|
32
34
|
export * from "./ListDashboardsCommand";
|
|
33
35
|
export * from "./ListManagedInsightRulesCommand";
|
|
36
|
+
export * from "./ListMetricDataQueryDefinitionsCommand";
|
|
34
37
|
export * from "./ListMetricStreamsCommand";
|
|
35
38
|
export * from "./ListMetricsCommand";
|
|
36
39
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -43,6 +46,7 @@ export * from "./PutLogAlarmCommand";
|
|
|
43
46
|
export * from "./PutManagedInsightRulesCommand";
|
|
44
47
|
export * from "./PutMetricAlarmCommand";
|
|
45
48
|
export * from "./PutMetricDataCommand";
|
|
49
|
+
export * from "./PutMetricDataQueryDefinitionCommand";
|
|
46
50
|
export * from "./PutMetricStreamCommand";
|
|
47
51
|
export * from "./SetAlarmStateCommand";
|
|
48
52
|
export * from "./StartMetricStreamsCommand";
|
|
@@ -122,6 +122,12 @@ export declare const StatusCode: {
|
|
|
122
122
|
readonly PARTIAL_DATA: "PartialData";
|
|
123
123
|
};
|
|
124
124
|
export type StatusCode = (typeof StatusCode)[keyof typeof StatusCode];
|
|
125
|
+
export declare const QueryType: {
|
|
126
|
+
readonly METRIC_MATH: "METRIC_MATH";
|
|
127
|
+
readonly PROMQL: "PROMQL";
|
|
128
|
+
readonly SQL: "SQL";
|
|
129
|
+
};
|
|
130
|
+
export type QueryType = (typeof QueryType)[keyof typeof QueryType];
|
|
125
131
|
export declare const MetricStreamOutputFormat: {
|
|
126
132
|
readonly JSON: "json";
|
|
127
133
|
readonly OPEN_TELEMETRY_0_7: "opentelemetry0.7";
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
HistoryItemType,
|
|
12
12
|
MetricStreamOutputFormat,
|
|
13
13
|
OTelEnrichmentStatus,
|
|
14
|
+
QueryType,
|
|
14
15
|
RecentlyActive,
|
|
15
16
|
ScanBy,
|
|
16
17
|
StandardUnit,
|
|
@@ -208,6 +209,10 @@ export interface DeleteInsightRulesInput {
|
|
|
208
209
|
export interface DeleteInsightRulesOutput {
|
|
209
210
|
Failures?: PartialFailure[] | undefined;
|
|
210
211
|
}
|
|
212
|
+
export interface DeleteMetricDataQueryDefinitionInput {
|
|
213
|
+
Id: string | undefined;
|
|
214
|
+
}
|
|
215
|
+
export interface DeleteMetricDataQueryDefinitionOutput {}
|
|
211
216
|
export interface DeleteMetricStreamInput {
|
|
212
217
|
Name: string | undefined;
|
|
213
218
|
}
|
|
@@ -586,6 +591,18 @@ export interface GetMetricDataOutput {
|
|
|
586
591
|
NextToken?: string | undefined;
|
|
587
592
|
Messages?: MessageData[] | undefined;
|
|
588
593
|
}
|
|
594
|
+
export interface GetMetricDataQueryDefinitionInput {
|
|
595
|
+
Id: string | undefined;
|
|
596
|
+
}
|
|
597
|
+
export interface GetMetricDataQueryDefinitionOutput {
|
|
598
|
+
Id: string | undefined;
|
|
599
|
+
Arn: string | undefined;
|
|
600
|
+
Path: string | undefined;
|
|
601
|
+
Expression: string | undefined;
|
|
602
|
+
Type: QueryType | undefined;
|
|
603
|
+
CreatedAt: Date | undefined;
|
|
604
|
+
UpdatedAt: Date | undefined;
|
|
605
|
+
}
|
|
589
606
|
export interface GetMetricStatisticsInput {
|
|
590
607
|
Namespace: string | undefined;
|
|
591
608
|
MetricName: string | undefined;
|
|
@@ -691,6 +708,20 @@ export interface ListManagedInsightRulesOutput {
|
|
|
691
708
|
ManagedRules?: ManagedRuleDescription[] | undefined;
|
|
692
709
|
NextToken?: string | undefined;
|
|
693
710
|
}
|
|
711
|
+
export interface ListMetricDataQueryDefinitionsInput {
|
|
712
|
+
MaxResults?: number | undefined;
|
|
713
|
+
NextToken?: string | undefined;
|
|
714
|
+
}
|
|
715
|
+
export interface MetricDataQueryDefinitionSummary {
|
|
716
|
+
Id: string | undefined;
|
|
717
|
+
Path: string | undefined;
|
|
718
|
+
Type: QueryType | undefined;
|
|
719
|
+
UpdatedAt?: Date | undefined;
|
|
720
|
+
}
|
|
721
|
+
export interface ListMetricDataQueryDefinitionsOutput {
|
|
722
|
+
Items: MetricDataQueryDefinitionSummary[] | undefined;
|
|
723
|
+
NextToken?: string | undefined;
|
|
724
|
+
}
|
|
694
725
|
export interface ListMetricsInput {
|
|
695
726
|
Namespace?: string | undefined;
|
|
696
727
|
MetricName?: string | undefined;
|
|
@@ -845,6 +876,22 @@ export interface PutMetricDataInput {
|
|
|
845
876
|
EntityMetricData?: EntityMetricData[] | undefined;
|
|
846
877
|
StrictEntityValidation?: boolean | undefined;
|
|
847
878
|
}
|
|
879
|
+
export interface PutMetricDataQueryDefinitionInput {
|
|
880
|
+
Id?: string | undefined;
|
|
881
|
+
Path: string | undefined;
|
|
882
|
+
Expression: string | undefined;
|
|
883
|
+
Type: QueryType | undefined;
|
|
884
|
+
Tags?: Tag[] | undefined;
|
|
885
|
+
}
|
|
886
|
+
export interface PutMetricDataQueryDefinitionOutput {
|
|
887
|
+
Id: string | undefined;
|
|
888
|
+
Arn: string | undefined;
|
|
889
|
+
Path: string | undefined;
|
|
890
|
+
Expression: string | undefined;
|
|
891
|
+
Type: QueryType | undefined;
|
|
892
|
+
CreatedAt: Date | undefined;
|
|
893
|
+
UpdatedAt: Date | undefined;
|
|
894
|
+
}
|
|
848
895
|
export interface PutMetricStreamInput {
|
|
849
896
|
Name: string | undefined;
|
|
850
897
|
IncludeFilters?: MetricStreamFilter[] | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListMetricDataQueryDefinitionsCommandInput,
|
|
4
|
+
ListMetricDataQueryDefinitionsCommandOutput,
|
|
5
|
+
} from "../commands/ListMetricDataQueryDefinitionsCommand";
|
|
6
|
+
import { CloudWatchPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListMetricDataQueryDefinitions: (
|
|
8
|
+
config: CloudWatchPaginationConfiguration,
|
|
9
|
+
input: ListMetricDataQueryDefinitionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListMetricDataQueryDefinitionsCommandOutput>;
|
|
@@ -7,5 +7,6 @@ export * from "./GetMetricDataPaginator";
|
|
|
7
7
|
export * from "./ListAlarmMuteRulesPaginator";
|
|
8
8
|
export * from "./ListDashboardsPaginator";
|
|
9
9
|
export * from "./ListManagedInsightRulesPaginator";
|
|
10
|
+
export * from "./ListMetricDataQueryDefinitionsPaginator";
|
|
10
11
|
export * from "./ListMetricsPaginator";
|
|
11
12
|
export * from "./ListMetricStreamsPaginator";
|
|
@@ -50,6 +50,8 @@ export declare var DeleteDashboardsInput$: StaticStructureSchema;
|
|
|
50
50
|
export declare var DeleteDashboardsOutput$: StaticStructureSchema;
|
|
51
51
|
export declare var DeleteInsightRulesInput$: StaticStructureSchema;
|
|
52
52
|
export declare var DeleteInsightRulesOutput$: StaticStructureSchema;
|
|
53
|
+
export declare var DeleteMetricDataQueryDefinitionInput$: StaticStructureSchema;
|
|
54
|
+
export declare var DeleteMetricDataQueryDefinitionOutput$: StaticStructureSchema;
|
|
53
55
|
export declare var DeleteMetricStreamInput$: StaticStructureSchema;
|
|
54
56
|
export declare var DeleteMetricStreamOutput$: StaticStructureSchema;
|
|
55
57
|
export declare var DeleteResourceMetricsConfigurationInput$: StaticStructureSchema;
|
|
@@ -88,6 +90,8 @@ export declare var GetInsightRuleReportInput$: StaticStructureSchema;
|
|
|
88
90
|
export declare var GetInsightRuleReportOutput$: StaticStructureSchema;
|
|
89
91
|
export declare var GetMetricDataInput$: StaticStructureSchema;
|
|
90
92
|
export declare var GetMetricDataOutput$: StaticStructureSchema;
|
|
93
|
+
export declare var GetMetricDataQueryDefinitionInput$: StaticStructureSchema;
|
|
94
|
+
export declare var GetMetricDataQueryDefinitionOutput$: StaticStructureSchema;
|
|
91
95
|
export declare var GetMetricStatisticsInput$: StaticStructureSchema;
|
|
92
96
|
export declare var GetMetricStatisticsOutput$: StaticStructureSchema;
|
|
93
97
|
export declare var GetMetricStreamInput$: StaticStructureSchema;
|
|
@@ -109,6 +113,8 @@ export declare var ListDashboardsInput$: StaticStructureSchema;
|
|
|
109
113
|
export declare var ListDashboardsOutput$: StaticStructureSchema;
|
|
110
114
|
export declare var ListManagedInsightRulesInput$: StaticStructureSchema;
|
|
111
115
|
export declare var ListManagedInsightRulesOutput$: StaticStructureSchema;
|
|
116
|
+
export declare var ListMetricDataQueryDefinitionsInput$: StaticStructureSchema;
|
|
117
|
+
export declare var ListMetricDataQueryDefinitionsOutput$: StaticStructureSchema;
|
|
112
118
|
export declare var ListMetricsInput$: StaticStructureSchema;
|
|
113
119
|
export declare var ListMetricsOutput$: StaticStructureSchema;
|
|
114
120
|
export declare var ListMetricStreamsInput$: StaticStructureSchema;
|
|
@@ -124,6 +130,7 @@ export declare var Metric$: StaticStructureSchema;
|
|
|
124
130
|
export declare var MetricAlarm$: StaticStructureSchema;
|
|
125
131
|
export declare var MetricCharacteristics$: StaticStructureSchema;
|
|
126
132
|
export declare var MetricDataQuery$: StaticStructureSchema;
|
|
133
|
+
export declare var MetricDataQueryDefinitionSummary$: StaticStructureSchema;
|
|
127
134
|
export declare var MetricDataResult$: StaticStructureSchema;
|
|
128
135
|
export declare var MetricDatum$: StaticStructureSchema;
|
|
129
136
|
export declare var MetricMathAnomalyDetector$: StaticStructureSchema;
|
|
@@ -148,6 +155,8 @@ export declare var PutManagedInsightRulesInput$: StaticStructureSchema;
|
|
|
148
155
|
export declare var PutManagedInsightRulesOutput$: StaticStructureSchema;
|
|
149
156
|
export declare var PutMetricAlarmInput$: StaticStructureSchema;
|
|
150
157
|
export declare var PutMetricDataInput$: StaticStructureSchema;
|
|
158
|
+
export declare var PutMetricDataQueryDefinitionInput$: StaticStructureSchema;
|
|
159
|
+
export declare var PutMetricDataQueryDefinitionOutput$: StaticStructureSchema;
|
|
151
160
|
export declare var PutMetricStreamInput$: StaticStructureSchema;
|
|
152
161
|
export declare var PutMetricStreamOutput$: StaticStructureSchema;
|
|
153
162
|
export declare var Range$: StaticStructureSchema;
|
|
@@ -189,6 +198,7 @@ export declare var DeleteAlarms$: StaticOperationSchema;
|
|
|
189
198
|
export declare var DeleteAnomalyDetector$: StaticOperationSchema;
|
|
190
199
|
export declare var DeleteDashboards$: StaticOperationSchema;
|
|
191
200
|
export declare var DeleteInsightRules$: StaticOperationSchema;
|
|
201
|
+
export declare var DeleteMetricDataQueryDefinition$: StaticOperationSchema;
|
|
192
202
|
export declare var DeleteMetricStream$: StaticOperationSchema;
|
|
193
203
|
export declare var DeleteResourceMetricsConfiguration$: StaticOperationSchema;
|
|
194
204
|
export declare var DescribeAlarmContributors$: StaticOperationSchema;
|
|
@@ -207,6 +217,7 @@ export declare var GetDashboard$: StaticOperationSchema;
|
|
|
207
217
|
export declare var GetDataset$: StaticOperationSchema;
|
|
208
218
|
export declare var GetInsightRuleReport$: StaticOperationSchema;
|
|
209
219
|
export declare var GetMetricData$: StaticOperationSchema;
|
|
220
|
+
export declare var GetMetricDataQueryDefinition$: StaticOperationSchema;
|
|
210
221
|
export declare var GetMetricStatistics$: StaticOperationSchema;
|
|
211
222
|
export declare var GetMetricStream$: StaticOperationSchema;
|
|
212
223
|
export declare var GetMetricWidgetImage$: StaticOperationSchema;
|
|
@@ -215,6 +226,7 @@ export declare var GetResourceMetricsConfiguration$: StaticOperationSchema;
|
|
|
215
226
|
export declare var ListAlarmMuteRules$: StaticOperationSchema;
|
|
216
227
|
export declare var ListDashboards$: StaticOperationSchema;
|
|
217
228
|
export declare var ListManagedInsightRules$: StaticOperationSchema;
|
|
229
|
+
export declare var ListMetricDataQueryDefinitions$: StaticOperationSchema;
|
|
218
230
|
export declare var ListMetrics$: StaticOperationSchema;
|
|
219
231
|
export declare var ListMetricStreams$: StaticOperationSchema;
|
|
220
232
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
@@ -227,6 +239,7 @@ export declare var PutLogAlarm$: StaticOperationSchema;
|
|
|
227
239
|
export declare var PutManagedInsightRules$: StaticOperationSchema;
|
|
228
240
|
export declare var PutMetricAlarm$: StaticOperationSchema;
|
|
229
241
|
export declare var PutMetricData$: StaticOperationSchema;
|
|
242
|
+
export declare var PutMetricDataQueryDefinition$: StaticOperationSchema;
|
|
230
243
|
export declare var PutMetricStream$: StaticOperationSchema;
|
|
231
244
|
export declare var SetAlarmState$: StaticOperationSchema;
|
|
232
245
|
export declare var StartMetricStreams$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1168.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",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@aws-sdk/core": "^3.981.0",
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.97",
|
|
57
57
|
"@aws-sdk/types": "^3.975.1",
|
|
58
58
|
"@smithy/core": "^3.40.0",
|
|
59
59
|
"@smithy/fetch-http-handler": "^5.8.1",
|