@aws-sdk/client-cloudwatch 3.974.0 → 3.978.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 +62 -47
- package/dist-es/CloudWatch.js +27 -1
- package/dist-es/waiters/waitForAlarmExists.js +1 -1
- package/dist-es/waiters/waitForCompositeAlarmExists.js +1 -1
- package/dist-types/CloudWatch.d.ts +77 -1
- package/dist-types/ts3.4/CloudWatch.d.ts +88 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -1967,51 +1967,6 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1967
1967
|
.build() {
|
|
1968
1968
|
}
|
|
1969
1969
|
|
|
1970
|
-
const commands = {
|
|
1971
|
-
DeleteAlarmsCommand,
|
|
1972
|
-
DeleteAnomalyDetectorCommand,
|
|
1973
|
-
DeleteDashboardsCommand,
|
|
1974
|
-
DeleteInsightRulesCommand,
|
|
1975
|
-
DeleteMetricStreamCommand,
|
|
1976
|
-
DescribeAlarmContributorsCommand,
|
|
1977
|
-
DescribeAlarmHistoryCommand,
|
|
1978
|
-
DescribeAlarmsCommand,
|
|
1979
|
-
DescribeAlarmsForMetricCommand,
|
|
1980
|
-
DescribeAnomalyDetectorsCommand,
|
|
1981
|
-
DescribeInsightRulesCommand,
|
|
1982
|
-
DisableAlarmActionsCommand,
|
|
1983
|
-
DisableInsightRulesCommand,
|
|
1984
|
-
EnableAlarmActionsCommand,
|
|
1985
|
-
EnableInsightRulesCommand,
|
|
1986
|
-
GetDashboardCommand,
|
|
1987
|
-
GetInsightRuleReportCommand,
|
|
1988
|
-
GetMetricDataCommand,
|
|
1989
|
-
GetMetricStatisticsCommand,
|
|
1990
|
-
GetMetricStreamCommand,
|
|
1991
|
-
GetMetricWidgetImageCommand,
|
|
1992
|
-
ListDashboardsCommand,
|
|
1993
|
-
ListManagedInsightRulesCommand,
|
|
1994
|
-
ListMetricsCommand,
|
|
1995
|
-
ListMetricStreamsCommand,
|
|
1996
|
-
ListTagsForResourceCommand,
|
|
1997
|
-
PutAnomalyDetectorCommand,
|
|
1998
|
-
PutCompositeAlarmCommand,
|
|
1999
|
-
PutDashboardCommand,
|
|
2000
|
-
PutInsightRuleCommand,
|
|
2001
|
-
PutManagedInsightRulesCommand,
|
|
2002
|
-
PutMetricAlarmCommand,
|
|
2003
|
-
PutMetricDataCommand,
|
|
2004
|
-
PutMetricStreamCommand,
|
|
2005
|
-
SetAlarmStateCommand,
|
|
2006
|
-
StartMetricStreamsCommand,
|
|
2007
|
-
StopMetricStreamsCommand,
|
|
2008
|
-
TagResourceCommand,
|
|
2009
|
-
UntagResourceCommand,
|
|
2010
|
-
};
|
|
2011
|
-
class CloudWatch extends CloudWatchClient {
|
|
2012
|
-
}
|
|
2013
|
-
smithyClient.createAggregatedClient(commands, CloudWatch);
|
|
2014
|
-
|
|
2015
1970
|
const paginateDescribeAlarmHistory = core.createPaginator(CloudWatchClient, DescribeAlarmHistoryCommand, "NextToken", "NextToken", "MaxRecords");
|
|
2016
1971
|
|
|
2017
1972
|
const paginateDescribeAlarms = core.createPaginator(CloudWatchClient, DescribeAlarmsCommand, "NextToken", "NextToken", "MaxRecords");
|
|
@@ -2038,7 +1993,7 @@ const checkState$1 = async (client, input) => {
|
|
|
2038
1993
|
try {
|
|
2039
1994
|
const returnComparator = () => {
|
|
2040
1995
|
let flat_1 = [].concat(...result.MetricAlarms);
|
|
2041
|
-
return (flat_1.length > 0
|
|
1996
|
+
return (flat_1.length > 0);
|
|
2042
1997
|
};
|
|
2043
1998
|
if (returnComparator() == true) {
|
|
2044
1999
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
@@ -2069,7 +2024,7 @@ const checkState = async (client, input) => {
|
|
|
2069
2024
|
try {
|
|
2070
2025
|
const returnComparator = () => {
|
|
2071
2026
|
let flat_1 = [].concat(...result.CompositeAlarms);
|
|
2072
|
-
return (flat_1.length > 0
|
|
2027
|
+
return (flat_1.length > 0);
|
|
2073
2028
|
};
|
|
2074
2029
|
if (returnComparator() == true) {
|
|
2075
2030
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
@@ -2092,6 +2047,66 @@ const waitUntilCompositeAlarmExists = async (params, input) => {
|
|
|
2092
2047
|
return utilWaiter.checkExceptions(result);
|
|
2093
2048
|
};
|
|
2094
2049
|
|
|
2050
|
+
const commands = {
|
|
2051
|
+
DeleteAlarmsCommand,
|
|
2052
|
+
DeleteAnomalyDetectorCommand,
|
|
2053
|
+
DeleteDashboardsCommand,
|
|
2054
|
+
DeleteInsightRulesCommand,
|
|
2055
|
+
DeleteMetricStreamCommand,
|
|
2056
|
+
DescribeAlarmContributorsCommand,
|
|
2057
|
+
DescribeAlarmHistoryCommand,
|
|
2058
|
+
DescribeAlarmsCommand,
|
|
2059
|
+
DescribeAlarmsForMetricCommand,
|
|
2060
|
+
DescribeAnomalyDetectorsCommand,
|
|
2061
|
+
DescribeInsightRulesCommand,
|
|
2062
|
+
DisableAlarmActionsCommand,
|
|
2063
|
+
DisableInsightRulesCommand,
|
|
2064
|
+
EnableAlarmActionsCommand,
|
|
2065
|
+
EnableInsightRulesCommand,
|
|
2066
|
+
GetDashboardCommand,
|
|
2067
|
+
GetInsightRuleReportCommand,
|
|
2068
|
+
GetMetricDataCommand,
|
|
2069
|
+
GetMetricStatisticsCommand,
|
|
2070
|
+
GetMetricStreamCommand,
|
|
2071
|
+
GetMetricWidgetImageCommand,
|
|
2072
|
+
ListDashboardsCommand,
|
|
2073
|
+
ListManagedInsightRulesCommand,
|
|
2074
|
+
ListMetricsCommand,
|
|
2075
|
+
ListMetricStreamsCommand,
|
|
2076
|
+
ListTagsForResourceCommand,
|
|
2077
|
+
PutAnomalyDetectorCommand,
|
|
2078
|
+
PutCompositeAlarmCommand,
|
|
2079
|
+
PutDashboardCommand,
|
|
2080
|
+
PutInsightRuleCommand,
|
|
2081
|
+
PutManagedInsightRulesCommand,
|
|
2082
|
+
PutMetricAlarmCommand,
|
|
2083
|
+
PutMetricDataCommand,
|
|
2084
|
+
PutMetricStreamCommand,
|
|
2085
|
+
SetAlarmStateCommand,
|
|
2086
|
+
StartMetricStreamsCommand,
|
|
2087
|
+
StopMetricStreamsCommand,
|
|
2088
|
+
TagResourceCommand,
|
|
2089
|
+
UntagResourceCommand,
|
|
2090
|
+
};
|
|
2091
|
+
const paginators = {
|
|
2092
|
+
paginateDescribeAlarmHistory,
|
|
2093
|
+
paginateDescribeAlarms,
|
|
2094
|
+
paginateDescribeAnomalyDetectors,
|
|
2095
|
+
paginateDescribeInsightRules,
|
|
2096
|
+
paginateGetMetricData,
|
|
2097
|
+
paginateListDashboards,
|
|
2098
|
+
paginateListManagedInsightRules,
|
|
2099
|
+
paginateListMetrics,
|
|
2100
|
+
paginateListMetricStreams,
|
|
2101
|
+
};
|
|
2102
|
+
const waiters = {
|
|
2103
|
+
waitUntilAlarmExists,
|
|
2104
|
+
waitUntilCompositeAlarmExists,
|
|
2105
|
+
};
|
|
2106
|
+
class CloudWatch extends CloudWatchClient {
|
|
2107
|
+
}
|
|
2108
|
+
smithyClient.createAggregatedClient(commands, CloudWatch, { paginators, waiters });
|
|
2109
|
+
|
|
2095
2110
|
const ActionsSuppressedBy = {
|
|
2096
2111
|
Alarm: "Alarm",
|
|
2097
2112
|
ExtensionPeriod: "ExtensionPeriod",
|
package/dist-es/CloudWatch.js
CHANGED
|
@@ -39,6 +39,17 @@ import { StartMetricStreamsCommand, } from "./commands/StartMetricStreamsCommand
|
|
|
39
39
|
import { StopMetricStreamsCommand, } from "./commands/StopMetricStreamsCommand";
|
|
40
40
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
41
41
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
42
|
+
import { paginateDescribeAlarmHistory } from "./pagination/DescribeAlarmHistoryPaginator";
|
|
43
|
+
import { paginateDescribeAlarms } from "./pagination/DescribeAlarmsPaginator";
|
|
44
|
+
import { paginateDescribeAnomalyDetectors } from "./pagination/DescribeAnomalyDetectorsPaginator";
|
|
45
|
+
import { paginateDescribeInsightRules } from "./pagination/DescribeInsightRulesPaginator";
|
|
46
|
+
import { paginateGetMetricData } from "./pagination/GetMetricDataPaginator";
|
|
47
|
+
import { paginateListDashboards } from "./pagination/ListDashboardsPaginator";
|
|
48
|
+
import { paginateListManagedInsightRules } from "./pagination/ListManagedInsightRulesPaginator";
|
|
49
|
+
import { paginateListMetrics } from "./pagination/ListMetricsPaginator";
|
|
50
|
+
import { paginateListMetricStreams } from "./pagination/ListMetricStreamsPaginator";
|
|
51
|
+
import { waitUntilAlarmExists } from "./waiters/waitForAlarmExists";
|
|
52
|
+
import { waitUntilCompositeAlarmExists } from "./waiters/waitForCompositeAlarmExists";
|
|
42
53
|
const commands = {
|
|
43
54
|
DeleteAlarmsCommand,
|
|
44
55
|
DeleteAnomalyDetectorCommand,
|
|
@@ -80,6 +91,21 @@ const commands = {
|
|
|
80
91
|
TagResourceCommand,
|
|
81
92
|
UntagResourceCommand,
|
|
82
93
|
};
|
|
94
|
+
const paginators = {
|
|
95
|
+
paginateDescribeAlarmHistory,
|
|
96
|
+
paginateDescribeAlarms,
|
|
97
|
+
paginateDescribeAnomalyDetectors,
|
|
98
|
+
paginateDescribeInsightRules,
|
|
99
|
+
paginateGetMetricData,
|
|
100
|
+
paginateListDashboards,
|
|
101
|
+
paginateListManagedInsightRules,
|
|
102
|
+
paginateListMetrics,
|
|
103
|
+
paginateListMetricStreams,
|
|
104
|
+
};
|
|
105
|
+
const waiters = {
|
|
106
|
+
waitUntilAlarmExists,
|
|
107
|
+
waitUntilCompositeAlarmExists,
|
|
108
|
+
};
|
|
83
109
|
export class CloudWatch extends CloudWatchClient {
|
|
84
110
|
}
|
|
85
|
-
createAggregatedClient(commands, CloudWatch);
|
|
111
|
+
createAggregatedClient(commands, CloudWatch, { paginators, waiters });
|
|
@@ -8,7 +8,7 @@ const checkState = async (client, input) => {
|
|
|
8
8
|
try {
|
|
9
9
|
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.MetricAlarms);
|
|
11
|
-
return (flat_1.length > 0
|
|
11
|
+
return (flat_1.length > 0);
|
|
12
12
|
};
|
|
13
13
|
if (returnComparator() == true) {
|
|
14
14
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -8,7 +8,7 @@ const checkState = async (client, input) => {
|
|
|
8
8
|
try {
|
|
9
9
|
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.CompositeAlarms);
|
|
11
|
-
return (flat_1.length > 0
|
|
11
|
+
return (flat_1.length > 0);
|
|
12
12
|
};
|
|
13
13
|
if (returnComparator() == true) {
|
|
14
14
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { WaiterResult } from "@smithy/util-waiter";
|
|
2
3
|
import { CloudWatchClient } from "./CloudWatchClient";
|
|
3
4
|
import { DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
|
|
4
5
|
import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
|
|
@@ -283,6 +284,81 @@ export interface CloudWatch {
|
|
|
283
284
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
284
285
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
285
286
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
287
|
+
/**
|
|
288
|
+
* @see {@link DescribeAlarmHistoryCommand}
|
|
289
|
+
* @param args - command input.
|
|
290
|
+
* @param paginationConfig - optional pagination config.
|
|
291
|
+
* @returns AsyncIterable of {@link DescribeAlarmHistoryCommandOutput}.
|
|
292
|
+
*/
|
|
293
|
+
paginateDescribeAlarmHistory(args?: DescribeAlarmHistoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeAlarmHistoryCommandOutput>;
|
|
294
|
+
/**
|
|
295
|
+
* @see {@link DescribeAlarmsCommand}
|
|
296
|
+
* @param args - command input.
|
|
297
|
+
* @param paginationConfig - optional pagination config.
|
|
298
|
+
* @returns AsyncIterable of {@link DescribeAlarmsCommandOutput}.
|
|
299
|
+
*/
|
|
300
|
+
paginateDescribeAlarms(args?: DescribeAlarmsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeAlarmsCommandOutput>;
|
|
301
|
+
/**
|
|
302
|
+
* @see {@link DescribeAnomalyDetectorsCommand}
|
|
303
|
+
* @param args - command input.
|
|
304
|
+
* @param paginationConfig - optional pagination config.
|
|
305
|
+
* @returns AsyncIterable of {@link DescribeAnomalyDetectorsCommandOutput}.
|
|
306
|
+
*/
|
|
307
|
+
paginateDescribeAnomalyDetectors(args?: DescribeAnomalyDetectorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeAnomalyDetectorsCommandOutput>;
|
|
308
|
+
/**
|
|
309
|
+
* @see {@link DescribeInsightRulesCommand}
|
|
310
|
+
* @param args - command input.
|
|
311
|
+
* @param paginationConfig - optional pagination config.
|
|
312
|
+
* @returns AsyncIterable of {@link DescribeInsightRulesCommandOutput}.
|
|
313
|
+
*/
|
|
314
|
+
paginateDescribeInsightRules(args?: DescribeInsightRulesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeInsightRulesCommandOutput>;
|
|
315
|
+
/**
|
|
316
|
+
* @see {@link GetMetricDataCommand}
|
|
317
|
+
* @param args - command input.
|
|
318
|
+
* @param paginationConfig - optional pagination config.
|
|
319
|
+
* @returns AsyncIterable of {@link GetMetricDataCommandOutput}.
|
|
320
|
+
*/
|
|
321
|
+
paginateGetMetricData(args: GetMetricDataCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetMetricDataCommandOutput>;
|
|
322
|
+
/**
|
|
323
|
+
* @see {@link ListDashboardsCommand}
|
|
324
|
+
* @param args - command input.
|
|
325
|
+
* @param paginationConfig - optional pagination config.
|
|
326
|
+
* @returns AsyncIterable of {@link ListDashboardsCommandOutput}.
|
|
327
|
+
*/
|
|
328
|
+
paginateListDashboards(args?: ListDashboardsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDashboardsCommandOutput>;
|
|
329
|
+
/**
|
|
330
|
+
* @see {@link ListManagedInsightRulesCommand}
|
|
331
|
+
* @param args - command input.
|
|
332
|
+
* @param paginationConfig - optional pagination config.
|
|
333
|
+
* @returns AsyncIterable of {@link ListManagedInsightRulesCommandOutput}.
|
|
334
|
+
*/
|
|
335
|
+
paginateListManagedInsightRules(args: ListManagedInsightRulesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListManagedInsightRulesCommandOutput>;
|
|
336
|
+
/**
|
|
337
|
+
* @see {@link ListMetricsCommand}
|
|
338
|
+
* @param args - command input.
|
|
339
|
+
* @param paginationConfig - optional pagination config.
|
|
340
|
+
* @returns AsyncIterable of {@link ListMetricsCommandOutput}.
|
|
341
|
+
*/
|
|
342
|
+
paginateListMetrics(args?: ListMetricsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMetricsCommandOutput>;
|
|
343
|
+
/**
|
|
344
|
+
* @see {@link ListMetricStreamsCommand}
|
|
345
|
+
* @param args - command input.
|
|
346
|
+
* @param paginationConfig - optional pagination config.
|
|
347
|
+
* @returns AsyncIterable of {@link ListMetricStreamsCommandOutput}.
|
|
348
|
+
*/
|
|
349
|
+
paginateListMetricStreams(args?: ListMetricStreamsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMetricStreamsCommandOutput>;
|
|
350
|
+
/**
|
|
351
|
+
* @see {@link DescribeAlarmsCommand}
|
|
352
|
+
* @param args - command input.
|
|
353
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
354
|
+
*/
|
|
355
|
+
waitUntilAlarmExists(args: DescribeAlarmsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CloudWatch>, "client">): Promise<WaiterResult>;
|
|
356
|
+
/**
|
|
357
|
+
* @see {@link DescribeAlarmsCommand}
|
|
358
|
+
* @param args - command input.
|
|
359
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
360
|
+
*/
|
|
361
|
+
waitUntilCompositeAlarmExists(args: DescribeAlarmsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CloudWatch>, "client">): Promise<WaiterResult>;
|
|
286
362
|
}
|
|
287
363
|
/**
|
|
288
364
|
* <p>Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services)
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
WaiterConfiguration,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
import { WaiterResult } from "@smithy/util-waiter";
|
|
2
8
|
import { CloudWatchClient } from "./CloudWatchClient";
|
|
3
9
|
import {
|
|
4
10
|
DeleteAlarmsCommandInput,
|
|
@@ -673,6 +679,87 @@ export interface CloudWatch {
|
|
|
673
679
|
options: __HttpHandlerOptions,
|
|
674
680
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
675
681
|
): void;
|
|
682
|
+
paginateDescribeAlarmHistory(
|
|
683
|
+
args?: DescribeAlarmHistoryCommandInput,
|
|
684
|
+
paginationConfig?: Pick<
|
|
685
|
+
PaginationConfiguration,
|
|
686
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
687
|
+
>
|
|
688
|
+
): Paginator<DescribeAlarmHistoryCommandOutput>;
|
|
689
|
+
paginateDescribeAlarms(
|
|
690
|
+
args?: DescribeAlarmsCommandInput,
|
|
691
|
+
paginationConfig?: Pick<
|
|
692
|
+
PaginationConfiguration,
|
|
693
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
694
|
+
>
|
|
695
|
+
): Paginator<DescribeAlarmsCommandOutput>;
|
|
696
|
+
paginateDescribeAnomalyDetectors(
|
|
697
|
+
args?: DescribeAnomalyDetectorsCommandInput,
|
|
698
|
+
paginationConfig?: Pick<
|
|
699
|
+
PaginationConfiguration,
|
|
700
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
701
|
+
>
|
|
702
|
+
): Paginator<DescribeAnomalyDetectorsCommandOutput>;
|
|
703
|
+
paginateDescribeInsightRules(
|
|
704
|
+
args?: DescribeInsightRulesCommandInput,
|
|
705
|
+
paginationConfig?: Pick<
|
|
706
|
+
PaginationConfiguration,
|
|
707
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
708
|
+
>
|
|
709
|
+
): Paginator<DescribeInsightRulesCommandOutput>;
|
|
710
|
+
paginateGetMetricData(
|
|
711
|
+
args: GetMetricDataCommandInput,
|
|
712
|
+
paginationConfig?: Pick<
|
|
713
|
+
PaginationConfiguration,
|
|
714
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
715
|
+
>
|
|
716
|
+
): Paginator<GetMetricDataCommandOutput>;
|
|
717
|
+
paginateListDashboards(
|
|
718
|
+
args?: ListDashboardsCommandInput,
|
|
719
|
+
paginationConfig?: Pick<
|
|
720
|
+
PaginationConfiguration,
|
|
721
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
722
|
+
>
|
|
723
|
+
): Paginator<ListDashboardsCommandOutput>;
|
|
724
|
+
paginateListManagedInsightRules(
|
|
725
|
+
args: ListManagedInsightRulesCommandInput,
|
|
726
|
+
paginationConfig?: Pick<
|
|
727
|
+
PaginationConfiguration,
|
|
728
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
729
|
+
>
|
|
730
|
+
): Paginator<ListManagedInsightRulesCommandOutput>;
|
|
731
|
+
paginateListMetrics(
|
|
732
|
+
args?: ListMetricsCommandInput,
|
|
733
|
+
paginationConfig?: Pick<
|
|
734
|
+
PaginationConfiguration,
|
|
735
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
736
|
+
>
|
|
737
|
+
): Paginator<ListMetricsCommandOutput>;
|
|
738
|
+
paginateListMetricStreams(
|
|
739
|
+
args?: ListMetricStreamsCommandInput,
|
|
740
|
+
paginationConfig?: Pick<
|
|
741
|
+
PaginationConfiguration,
|
|
742
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
743
|
+
>
|
|
744
|
+
): Paginator<ListMetricStreamsCommandOutput>;
|
|
745
|
+
waitUntilAlarmExists(
|
|
746
|
+
args: DescribeAlarmsCommandInput,
|
|
747
|
+
waiterConfig:
|
|
748
|
+
| number
|
|
749
|
+
| Pick<
|
|
750
|
+
WaiterConfiguration<CloudWatch>,
|
|
751
|
+
Exclude<keyof WaiterConfiguration<CloudWatch>, "client">
|
|
752
|
+
>
|
|
753
|
+
): Promise<WaiterResult>;
|
|
754
|
+
waitUntilCompositeAlarmExists(
|
|
755
|
+
args: DescribeAlarmsCommandInput,
|
|
756
|
+
waiterConfig:
|
|
757
|
+
| number
|
|
758
|
+
| Pick<
|
|
759
|
+
WaiterConfiguration<CloudWatch>,
|
|
760
|
+
Exclude<keyof WaiterConfiguration<CloudWatch>, "client">
|
|
761
|
+
>
|
|
762
|
+
): Promise<WaiterResult>;
|
|
676
763
|
}
|
|
677
764
|
export declare class CloudWatch
|
|
678
765
|
extends CloudWatchClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudwatch",
|
|
@@ -23,39 +23,39 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
33
|
-
"@aws-sdk/types": "^3.973.
|
|
26
|
+
"@aws-sdk/core": "^3.973.4",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
33
|
+
"@aws-sdk/types": "^3.973.1",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.6",
|
|
38
|
-
"@smithy/core": "^3.
|
|
38
|
+
"@smithy/core": "^3.22.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
40
40
|
"@smithy/hash-node": "^4.2.8",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
42
|
-
"@smithy/middleware-compression": "^4.3.
|
|
42
|
+
"@smithy/middleware-compression": "^4.3.27",
|
|
43
43
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
44
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
45
|
-
"@smithy/middleware-retry": "^4.4.
|
|
44
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
45
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
46
46
|
"@smithy/middleware-serde": "^4.2.9",
|
|
47
47
|
"@smithy/middleware-stack": "^4.2.8",
|
|
48
48
|
"@smithy/node-config-provider": "^4.3.8",
|
|
49
49
|
"@smithy/node-http-handler": "^4.4.8",
|
|
50
50
|
"@smithy/protocol-http": "^5.3.8",
|
|
51
|
-
"@smithy/smithy-client": "^4.
|
|
51
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
52
52
|
"@smithy/types": "^4.12.0",
|
|
53
53
|
"@smithy/url-parser": "^4.2.8",
|
|
54
54
|
"@smithy/util-base64": "^4.3.0",
|
|
55
55
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
56
56
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
57
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
58
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
59
59
|
"@smithy/util-endpoints": "^3.2.8",
|
|
60
60
|
"@smithy/util-middleware": "^4.2.8",
|
|
61
61
|
"@smithy/util-retry": "^4.2.8",
|