@aws-sdk/client-cloudwatch 3.145.0 → 3.153.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/CHANGELOG.md +30 -0
- package/dist-cjs/CloudWatch.js +30 -0
- package/dist-cjs/commands/ListManagedInsightRulesCommand.js +36 -0
- package/dist-cjs/commands/PutManagedInsightRulesCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +30 -2
- package/dist-cjs/pagination/DescribeAnomalyDetectorsPaginator.js +36 -0
- package/dist-cjs/pagination/ListManagedInsightRulesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_query.js +230 -2
- package/dist-es/CloudWatch.js +30 -0
- package/dist-es/commands/ListManagedInsightRulesCommand.js +39 -0
- package/dist-es/commands/PutManagedInsightRulesCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +7 -0
- package/dist-es/pagination/DescribeAnomalyDetectorsPaginator.js +75 -0
- package/dist-es/pagination/ListManagedInsightRulesPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_query.js +345 -72
- package/dist-types/CloudWatch.d.ts +48 -4
- package/dist-types/CloudWatchClient.d.ts +4 -2
- package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +9 -1
- package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +41 -0
- package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +51 -0
- package/dist-types/commands/PutMetricDataCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +242 -14
- package/dist-types/pagination/DescribeAnomalyDetectorsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListManagedInsightRulesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_query.d.ts +6 -0
- package/dist-types/ts3.4/CloudWatch.d.ts +10 -0
- package/dist-types/ts3.4/CloudWatchClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListManagedInsightRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutManagedInsightRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +63 -0
- package/dist-types/ts3.4/pagination/DescribeAnomalyDetectorsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListManagedInsightRulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +6 -0
- package/package.json +3 -3
|
@@ -21,6 +21,7 @@ import { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput } fro
|
|
|
21
21
|
import { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "../commands/GetMetricStreamCommand";
|
|
22
22
|
import { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "../commands/GetMetricWidgetImageCommand";
|
|
23
23
|
import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "../commands/ListDashboardsCommand";
|
|
24
|
+
import { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "../commands/ListManagedInsightRulesCommand";
|
|
24
25
|
import { ListMetricsCommandInput, ListMetricsCommandOutput } from "../commands/ListMetricsCommand";
|
|
25
26
|
import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "../commands/ListMetricStreamsCommand";
|
|
26
27
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
@@ -28,6 +29,7 @@ import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from
|
|
|
28
29
|
import { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput } from "../commands/PutCompositeAlarmCommand";
|
|
29
30
|
import { PutDashboardCommandInput, PutDashboardCommandOutput } from "../commands/PutDashboardCommand";
|
|
30
31
|
import { PutInsightRuleCommandInput, PutInsightRuleCommandOutput } from "../commands/PutInsightRuleCommand";
|
|
32
|
+
import { PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput } from "../commands/PutManagedInsightRulesCommand";
|
|
31
33
|
import { PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput } from "../commands/PutMetricAlarmCommand";
|
|
32
34
|
import { PutMetricDataCommandInput, PutMetricDataCommandOutput } from "../commands/PutMetricDataCommand";
|
|
33
35
|
import { PutMetricStreamCommandInput, PutMetricStreamCommandOutput } from "../commands/PutMetricStreamCommand";
|
|
@@ -57,6 +59,7 @@ export declare const serializeAws_queryGetMetricStatisticsCommand: (input: GetMe
|
|
|
57
59
|
export declare const serializeAws_queryGetMetricStreamCommand: (input: GetMetricStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
60
|
export declare const serializeAws_queryGetMetricWidgetImageCommand: (input: GetMetricWidgetImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
61
|
export declare const serializeAws_queryListDashboardsCommand: (input: ListDashboardsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
|
+
export declare const serializeAws_queryListManagedInsightRulesCommand: (input: ListManagedInsightRulesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
63
|
export declare const serializeAws_queryListMetricsCommand: (input: ListMetricsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
64
|
export declare const serializeAws_queryListMetricStreamsCommand: (input: ListMetricStreamsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
65
|
export declare const serializeAws_queryListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -64,6 +67,7 @@ export declare const serializeAws_queryPutAnomalyDetectorCommand: (input: PutAno
|
|
|
64
67
|
export declare const serializeAws_queryPutCompositeAlarmCommand: (input: PutCompositeAlarmCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
65
68
|
export declare const serializeAws_queryPutDashboardCommand: (input: PutDashboardCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
66
69
|
export declare const serializeAws_queryPutInsightRuleCommand: (input: PutInsightRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
70
|
+
export declare const serializeAws_queryPutManagedInsightRulesCommand: (input: PutManagedInsightRulesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
67
71
|
export declare const serializeAws_queryPutMetricAlarmCommand: (input: PutMetricAlarmCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
68
72
|
export declare const serializeAws_queryPutMetricDataCommand: (input: PutMetricDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
69
73
|
export declare const serializeAws_queryPutMetricStreamCommand: (input: PutMetricStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -93,6 +97,7 @@ export declare const deserializeAws_queryGetMetricStatisticsCommand: (output: __
|
|
|
93
97
|
export declare const deserializeAws_queryGetMetricStreamCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMetricStreamCommandOutput>;
|
|
94
98
|
export declare const deserializeAws_queryGetMetricWidgetImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMetricWidgetImageCommandOutput>;
|
|
95
99
|
export declare const deserializeAws_queryListDashboardsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDashboardsCommandOutput>;
|
|
100
|
+
export declare const deserializeAws_queryListManagedInsightRulesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListManagedInsightRulesCommandOutput>;
|
|
96
101
|
export declare const deserializeAws_queryListMetricsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMetricsCommandOutput>;
|
|
97
102
|
export declare const deserializeAws_queryListMetricStreamsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMetricStreamsCommandOutput>;
|
|
98
103
|
export declare const deserializeAws_queryListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
@@ -100,6 +105,7 @@ export declare const deserializeAws_queryPutAnomalyDetectorCommand: (output: __H
|
|
|
100
105
|
export declare const deserializeAws_queryPutCompositeAlarmCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutCompositeAlarmCommandOutput>;
|
|
101
106
|
export declare const deserializeAws_queryPutDashboardCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutDashboardCommandOutput>;
|
|
102
107
|
export declare const deserializeAws_queryPutInsightRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutInsightRuleCommandOutput>;
|
|
108
|
+
export declare const deserializeAws_queryPutManagedInsightRulesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutManagedInsightRulesCommandOutput>;
|
|
103
109
|
export declare const deserializeAws_queryPutMetricAlarmCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutMetricAlarmCommandOutput>;
|
|
104
110
|
export declare const deserializeAws_queryPutMetricDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutMetricDataCommandOutput>;
|
|
105
111
|
export declare const deserializeAws_queryPutMetricStreamCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutMetricStreamCommandOutput>;
|
|
@@ -21,6 +21,7 @@ import { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput } fro
|
|
|
21
21
|
import { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
|
|
22
22
|
import { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
|
|
23
23
|
import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
|
|
24
|
+
import { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "./commands/ListManagedInsightRulesCommand";
|
|
24
25
|
import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
|
|
25
26
|
import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "./commands/ListMetricStreamsCommand";
|
|
26
27
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -28,6 +29,7 @@ import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from
|
|
|
28
29
|
import { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput } from "./commands/PutCompositeAlarmCommand";
|
|
29
30
|
import { PutDashboardCommandInput, PutDashboardCommandOutput } from "./commands/PutDashboardCommand";
|
|
30
31
|
import { PutInsightRuleCommandInput, PutInsightRuleCommandOutput } from "./commands/PutInsightRuleCommand";
|
|
32
|
+
import { PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput } from "./commands/PutManagedInsightRulesCommand";
|
|
31
33
|
import { PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput } from "./commands/PutMetricAlarmCommand";
|
|
32
34
|
import { PutMetricDataCommandInput, PutMetricDataCommandOutput } from "./commands/PutMetricDataCommand";
|
|
33
35
|
import { PutMetricStreamCommandInput, PutMetricStreamCommandOutput } from "./commands/PutMetricStreamCommand";
|
|
@@ -123,6 +125,10 @@ export declare class CloudWatch extends CloudWatchClient {
|
|
|
123
125
|
listDashboards(args: ListDashboardsCommandInput, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
|
|
124
126
|
listDashboards(args: ListDashboardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
|
|
125
127
|
|
|
128
|
+
listManagedInsightRules(args: ListManagedInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedInsightRulesCommandOutput>;
|
|
129
|
+
listManagedInsightRules(args: ListManagedInsightRulesCommandInput, cb: (err: any, data?: ListManagedInsightRulesCommandOutput) => void): void;
|
|
130
|
+
listManagedInsightRules(args: ListManagedInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedInsightRulesCommandOutput) => void): void;
|
|
131
|
+
|
|
126
132
|
listMetrics(args: ListMetricsCommandInput, options?: __HttpHandlerOptions): Promise<ListMetricsCommandOutput>;
|
|
127
133
|
listMetrics(args: ListMetricsCommandInput, cb: (err: any, data?: ListMetricsCommandOutput) => void): void;
|
|
128
134
|
listMetrics(args: ListMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMetricsCommandOutput) => void): void;
|
|
@@ -151,6 +157,10 @@ export declare class CloudWatch extends CloudWatchClient {
|
|
|
151
157
|
putInsightRule(args: PutInsightRuleCommandInput, cb: (err: any, data?: PutInsightRuleCommandOutput) => void): void;
|
|
152
158
|
putInsightRule(args: PutInsightRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutInsightRuleCommandOutput) => void): void;
|
|
153
159
|
|
|
160
|
+
putManagedInsightRules(args: PutManagedInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<PutManagedInsightRulesCommandOutput>;
|
|
161
|
+
putManagedInsightRules(args: PutManagedInsightRulesCommandInput, cb: (err: any, data?: PutManagedInsightRulesCommandOutput) => void): void;
|
|
162
|
+
putManagedInsightRules(args: PutManagedInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutManagedInsightRulesCommandOutput) => void): void;
|
|
163
|
+
|
|
154
164
|
putMetricAlarm(args: PutMetricAlarmCommandInput, options?: __HttpHandlerOptions): Promise<PutMetricAlarmCommandOutput>;
|
|
155
165
|
putMetricAlarm(args: PutMetricAlarmCommandInput, cb: (err: any, data?: PutMetricAlarmCommandOutput) => void): void;
|
|
156
166
|
putMetricAlarm(args: PutMetricAlarmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutMetricAlarmCommandOutput) => void): void;
|
|
@@ -27,6 +27,7 @@ import { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput } fro
|
|
|
27
27
|
import { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
|
|
28
28
|
import { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
|
|
29
29
|
import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
|
|
30
|
+
import { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "./commands/ListManagedInsightRulesCommand";
|
|
30
31
|
import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
|
|
31
32
|
import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "./commands/ListMetricStreamsCommand";
|
|
32
33
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -34,6 +35,7 @@ import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from
|
|
|
34
35
|
import { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput } from "./commands/PutCompositeAlarmCommand";
|
|
35
36
|
import { PutDashboardCommandInput, PutDashboardCommandOutput } from "./commands/PutDashboardCommand";
|
|
36
37
|
import { PutInsightRuleCommandInput, PutInsightRuleCommandOutput } from "./commands/PutInsightRuleCommand";
|
|
38
|
+
import { PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput } from "./commands/PutManagedInsightRulesCommand";
|
|
37
39
|
import { PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput } from "./commands/PutMetricAlarmCommand";
|
|
38
40
|
import { PutMetricDataCommandInput, PutMetricDataCommandOutput } from "./commands/PutMetricDataCommand";
|
|
39
41
|
import { PutMetricStreamCommandInput, PutMetricStreamCommandOutput } from "./commands/PutMetricStreamCommand";
|
|
@@ -42,8 +44,8 @@ import { StartMetricStreamsCommandInput, StartMetricStreamsCommandOutput } from
|
|
|
42
44
|
import { StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput } from "./commands/StopMetricStreamsCommand";
|
|
43
45
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
44
46
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
45
|
-
export declare type ServiceInputTypes = DeleteAlarmsCommandInput | DeleteAnomalyDetectorCommandInput | DeleteDashboardsCommandInput | DeleteInsightRulesCommandInput | DeleteMetricStreamCommandInput | DescribeAlarmHistoryCommandInput | DescribeAlarmsCommandInput | DescribeAlarmsForMetricCommandInput | DescribeAnomalyDetectorsCommandInput | DescribeInsightRulesCommandInput | DisableAlarmActionsCommandInput | DisableInsightRulesCommandInput | EnableAlarmActionsCommandInput | EnableInsightRulesCommandInput | GetDashboardCommandInput | GetInsightRuleReportCommandInput | GetMetricDataCommandInput | GetMetricStatisticsCommandInput | GetMetricStreamCommandInput | GetMetricWidgetImageCommandInput | ListDashboardsCommandInput | ListMetricStreamsCommandInput | ListMetricsCommandInput | ListTagsForResourceCommandInput | PutAnomalyDetectorCommandInput | PutCompositeAlarmCommandInput | PutDashboardCommandInput | PutInsightRuleCommandInput | PutMetricAlarmCommandInput | PutMetricDataCommandInput | PutMetricStreamCommandInput | SetAlarmStateCommandInput | StartMetricStreamsCommandInput | StopMetricStreamsCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
46
|
-
export declare type ServiceOutputTypes = DeleteAlarmsCommandOutput | DeleteAnomalyDetectorCommandOutput | DeleteDashboardsCommandOutput | DeleteInsightRulesCommandOutput | DeleteMetricStreamCommandOutput | DescribeAlarmHistoryCommandOutput | DescribeAlarmsCommandOutput | DescribeAlarmsForMetricCommandOutput | DescribeAnomalyDetectorsCommandOutput | DescribeInsightRulesCommandOutput | DisableAlarmActionsCommandOutput | DisableInsightRulesCommandOutput | EnableAlarmActionsCommandOutput | EnableInsightRulesCommandOutput | GetDashboardCommandOutput | GetInsightRuleReportCommandOutput | GetMetricDataCommandOutput | GetMetricStatisticsCommandOutput | GetMetricStreamCommandOutput | GetMetricWidgetImageCommandOutput | ListDashboardsCommandOutput | ListMetricStreamsCommandOutput | ListMetricsCommandOutput | ListTagsForResourceCommandOutput | PutAnomalyDetectorCommandOutput | PutCompositeAlarmCommandOutput | PutDashboardCommandOutput | PutInsightRuleCommandOutput | PutMetricAlarmCommandOutput | PutMetricDataCommandOutput | PutMetricStreamCommandOutput | SetAlarmStateCommandOutput | StartMetricStreamsCommandOutput | StopMetricStreamsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
47
|
+
export declare type ServiceInputTypes = DeleteAlarmsCommandInput | DeleteAnomalyDetectorCommandInput | DeleteDashboardsCommandInput | DeleteInsightRulesCommandInput | DeleteMetricStreamCommandInput | DescribeAlarmHistoryCommandInput | DescribeAlarmsCommandInput | DescribeAlarmsForMetricCommandInput | DescribeAnomalyDetectorsCommandInput | DescribeInsightRulesCommandInput | DisableAlarmActionsCommandInput | DisableInsightRulesCommandInput | EnableAlarmActionsCommandInput | EnableInsightRulesCommandInput | GetDashboardCommandInput | GetInsightRuleReportCommandInput | GetMetricDataCommandInput | GetMetricStatisticsCommandInput | GetMetricStreamCommandInput | GetMetricWidgetImageCommandInput | ListDashboardsCommandInput | ListManagedInsightRulesCommandInput | ListMetricStreamsCommandInput | ListMetricsCommandInput | ListTagsForResourceCommandInput | PutAnomalyDetectorCommandInput | PutCompositeAlarmCommandInput | PutDashboardCommandInput | PutInsightRuleCommandInput | PutManagedInsightRulesCommandInput | PutMetricAlarmCommandInput | PutMetricDataCommandInput | PutMetricStreamCommandInput | SetAlarmStateCommandInput | StartMetricStreamsCommandInput | StopMetricStreamsCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
48
|
+
export declare type ServiceOutputTypes = DeleteAlarmsCommandOutput | DeleteAnomalyDetectorCommandOutput | DeleteDashboardsCommandOutput | DeleteInsightRulesCommandOutput | DeleteMetricStreamCommandOutput | DescribeAlarmHistoryCommandOutput | DescribeAlarmsCommandOutput | DescribeAlarmsForMetricCommandOutput | DescribeAnomalyDetectorsCommandOutput | DescribeInsightRulesCommandOutput | DisableAlarmActionsCommandOutput | DisableInsightRulesCommandOutput | EnableAlarmActionsCommandOutput | EnableInsightRulesCommandOutput | GetDashboardCommandOutput | GetInsightRuleReportCommandOutput | GetMetricDataCommandOutput | GetMetricStatisticsCommandOutput | GetMetricStreamCommandOutput | GetMetricWidgetImageCommandOutput | ListDashboardsCommandOutput | ListManagedInsightRulesCommandOutput | ListMetricStreamsCommandOutput | ListMetricsCommandOutput | ListTagsForResourceCommandOutput | PutAnomalyDetectorCommandOutput | PutCompositeAlarmCommandOutput | PutDashboardCommandOutput | PutInsightRuleCommandOutput | PutManagedInsightRulesCommandOutput | PutMetricAlarmCommandOutput | PutMetricDataCommandOutput | PutMetricStreamCommandOutput | SetAlarmStateCommandOutput | StartMetricStreamsCommandOutput | StopMetricStreamsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
47
49
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
48
50
|
|
|
49
51
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
4
|
+
import { ListManagedInsightRulesInput, ListManagedInsightRulesOutput } from "../models/models_0";
|
|
5
|
+
export interface ListManagedInsightRulesCommandInput extends ListManagedInsightRulesInput {
|
|
6
|
+
}
|
|
7
|
+
export interface ListManagedInsightRulesCommandOutput extends ListManagedInsightRulesOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListManagedInsightRulesCommand extends $Command<ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
|
|
11
|
+
readonly input: ListManagedInsightRulesCommandInput;
|
|
12
|
+
constructor(input: ListManagedInsightRulesCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
4
|
+
import { PutManagedInsightRulesInput, PutManagedInsightRulesOutput } from "../models/models_0";
|
|
5
|
+
export interface PutManagedInsightRulesCommandInput extends PutManagedInsightRulesInput {
|
|
6
|
+
}
|
|
7
|
+
export interface PutManagedInsightRulesCommandOutput extends PutManagedInsightRulesOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class PutManagedInsightRulesCommand extends $Command<PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
|
|
11
|
+
readonly input: PutManagedInsightRulesCommandInput;
|
|
12
|
+
constructor(input: PutManagedInsightRulesCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -19,6 +19,7 @@ export * from "./GetMetricStatisticsCommand";
|
|
|
19
19
|
export * from "./GetMetricStreamCommand";
|
|
20
20
|
export * from "./GetMetricWidgetImageCommand";
|
|
21
21
|
export * from "./ListDashboardsCommand";
|
|
22
|
+
export * from "./ListManagedInsightRulesCommand";
|
|
22
23
|
export * from "./ListMetricStreamsCommand";
|
|
23
24
|
export * from "./ListMetricsCommand";
|
|
24
25
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -26,6 +27,7 @@ export * from "./PutAnomalyDetectorCommand";
|
|
|
26
27
|
export * from "./PutCompositeAlarmCommand";
|
|
27
28
|
export * from "./PutDashboardCommand";
|
|
28
29
|
export * from "./PutInsightRuleCommand";
|
|
30
|
+
export * from "./PutManagedInsightRulesCommand";
|
|
29
31
|
export * from "./PutMetricAlarmCommand";
|
|
30
32
|
export * from "./PutMetricDataCommand";
|
|
31
33
|
export * from "./PutMetricStreamCommand";
|
|
@@ -499,6 +499,8 @@ export interface InsightRule {
|
|
|
499
499
|
Schema: string | undefined;
|
|
500
500
|
|
|
501
501
|
Definition: string | undefined;
|
|
502
|
+
|
|
503
|
+
ManagedRule?: boolean;
|
|
502
504
|
}
|
|
503
505
|
export interface DescribeInsightRulesOutput {
|
|
504
506
|
|
|
@@ -777,6 +779,36 @@ export interface ListDashboardsOutput {
|
|
|
777
779
|
|
|
778
780
|
NextToken?: string;
|
|
779
781
|
}
|
|
782
|
+
export interface ListManagedInsightRulesInput {
|
|
783
|
+
|
|
784
|
+
ResourceARN: string | undefined;
|
|
785
|
+
|
|
786
|
+
NextToken?: string;
|
|
787
|
+
|
|
788
|
+
MaxResults?: number;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
export interface ManagedRuleState {
|
|
792
|
+
|
|
793
|
+
RuleName: string | undefined;
|
|
794
|
+
|
|
795
|
+
State: string | undefined;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
export interface ManagedRuleDescription {
|
|
799
|
+
|
|
800
|
+
TemplateName?: string;
|
|
801
|
+
|
|
802
|
+
ResourceARN?: string;
|
|
803
|
+
|
|
804
|
+
RuleState?: ManagedRuleState;
|
|
805
|
+
}
|
|
806
|
+
export interface ListManagedInsightRulesOutput {
|
|
807
|
+
|
|
808
|
+
ManagedRules?: ManagedRuleDescription[];
|
|
809
|
+
|
|
810
|
+
NextToken?: string;
|
|
811
|
+
}
|
|
780
812
|
export declare enum RecentlyActive {
|
|
781
813
|
PT3H = "PT3H"
|
|
782
814
|
}
|
|
@@ -913,6 +945,23 @@ export interface PutInsightRuleInput {
|
|
|
913
945
|
}
|
|
914
946
|
export interface PutInsightRuleOutput {
|
|
915
947
|
}
|
|
948
|
+
|
|
949
|
+
export interface ManagedRule {
|
|
950
|
+
|
|
951
|
+
TemplateName: string | undefined;
|
|
952
|
+
|
|
953
|
+
ResourceARN: string | undefined;
|
|
954
|
+
|
|
955
|
+
Tags?: Tag[];
|
|
956
|
+
}
|
|
957
|
+
export interface PutManagedInsightRulesInput {
|
|
958
|
+
|
|
959
|
+
ManagedRules: ManagedRule[] | undefined;
|
|
960
|
+
}
|
|
961
|
+
export interface PutManagedInsightRulesOutput {
|
|
962
|
+
|
|
963
|
+
Failures?: PartialFailure[];
|
|
964
|
+
}
|
|
916
965
|
export interface PutMetricAlarmInput {
|
|
917
966
|
|
|
918
967
|
AlarmName: string | undefined;
|
|
@@ -1197,6 +1246,14 @@ export declare const ListDashboardsInputFilterSensitiveLog: (obj: ListDashboards
|
|
|
1197
1246
|
|
|
1198
1247
|
export declare const ListDashboardsOutputFilterSensitiveLog: (obj: ListDashboardsOutput) => any;
|
|
1199
1248
|
|
|
1249
|
+
export declare const ListManagedInsightRulesInputFilterSensitiveLog: (obj: ListManagedInsightRulesInput) => any;
|
|
1250
|
+
|
|
1251
|
+
export declare const ManagedRuleStateFilterSensitiveLog: (obj: ManagedRuleState) => any;
|
|
1252
|
+
|
|
1253
|
+
export declare const ManagedRuleDescriptionFilterSensitiveLog: (obj: ManagedRuleDescription) => any;
|
|
1254
|
+
|
|
1255
|
+
export declare const ListManagedInsightRulesOutputFilterSensitiveLog: (obj: ListManagedInsightRulesOutput) => any;
|
|
1256
|
+
|
|
1200
1257
|
export declare const ListMetricsInputFilterSensitiveLog: (obj: ListMetricsInput) => any;
|
|
1201
1258
|
|
|
1202
1259
|
export declare const ListMetricsOutputFilterSensitiveLog: (obj: ListMetricsOutput) => any;
|
|
@@ -1227,6 +1284,12 @@ export declare const PutInsightRuleInputFilterSensitiveLog: (obj: PutInsightRule
|
|
|
1227
1284
|
|
|
1228
1285
|
export declare const PutInsightRuleOutputFilterSensitiveLog: (obj: PutInsightRuleOutput) => any;
|
|
1229
1286
|
|
|
1287
|
+
export declare const ManagedRuleFilterSensitiveLog: (obj: ManagedRule) => any;
|
|
1288
|
+
|
|
1289
|
+
export declare const PutManagedInsightRulesInputFilterSensitiveLog: (obj: PutManagedInsightRulesInput) => any;
|
|
1290
|
+
|
|
1291
|
+
export declare const PutManagedInsightRulesOutputFilterSensitiveLog: (obj: PutManagedInsightRulesOutput) => any;
|
|
1292
|
+
|
|
1230
1293
|
export declare const PutMetricAlarmInputFilterSensitiveLog: (obj: PutMetricAlarmInput) => any;
|
|
1231
1294
|
|
|
1232
1295
|
export declare const StatisticSetFilterSensitiveLog: (obj: StatisticSet) => any;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput } from "../commands/DescribeAnomalyDetectorsCommand";
|
|
3
|
+
import { CloudWatchPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateDescribeAnomalyDetectors(config: CloudWatchPaginationConfiguration, input: DescribeAnomalyDetectorsCommandInput, ...additionalArguments: any): Paginator<DescribeAnomalyDetectorsCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "../commands/ListManagedInsightRulesCommand";
|
|
3
|
+
import { CloudWatchPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListManagedInsightRules(config: CloudWatchPaginationConfiguration, input: ListManagedInsightRulesCommandInput, ...additionalArguments: any): Paginator<ListManagedInsightRulesCommandOutput>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from "./DescribeAlarmHistoryPaginator";
|
|
2
2
|
export * from "./DescribeAlarmsPaginator";
|
|
3
|
+
export * from "./DescribeAnomalyDetectorsPaginator";
|
|
3
4
|
export * from "./DescribeInsightRulesPaginator";
|
|
4
5
|
export * from "./GetMetricDataPaginator";
|
|
5
6
|
export * from "./Interfaces";
|
|
6
7
|
export * from "./ListDashboardsPaginator";
|
|
8
|
+
export * from "./ListManagedInsightRulesPaginator";
|
|
7
9
|
export * from "./ListMetricStreamsPaginator";
|
|
8
10
|
export * from "./ListMetricsPaginator";
|
|
@@ -21,6 +21,7 @@ import { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput } fro
|
|
|
21
21
|
import { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "../commands/GetMetricStreamCommand";
|
|
22
22
|
import { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "../commands/GetMetricWidgetImageCommand";
|
|
23
23
|
import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "../commands/ListDashboardsCommand";
|
|
24
|
+
import { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "../commands/ListManagedInsightRulesCommand";
|
|
24
25
|
import { ListMetricsCommandInput, ListMetricsCommandOutput } from "../commands/ListMetricsCommand";
|
|
25
26
|
import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "../commands/ListMetricStreamsCommand";
|
|
26
27
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
@@ -28,6 +29,7 @@ import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from
|
|
|
28
29
|
import { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput } from "../commands/PutCompositeAlarmCommand";
|
|
29
30
|
import { PutDashboardCommandInput, PutDashboardCommandOutput } from "../commands/PutDashboardCommand";
|
|
30
31
|
import { PutInsightRuleCommandInput, PutInsightRuleCommandOutput } from "../commands/PutInsightRuleCommand";
|
|
32
|
+
import { PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput } from "../commands/PutManagedInsightRulesCommand";
|
|
31
33
|
import { PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput } from "../commands/PutMetricAlarmCommand";
|
|
32
34
|
import { PutMetricDataCommandInput, PutMetricDataCommandOutput } from "../commands/PutMetricDataCommand";
|
|
33
35
|
import { PutMetricStreamCommandInput, PutMetricStreamCommandOutput } from "../commands/PutMetricStreamCommand";
|
|
@@ -57,6 +59,7 @@ export declare const serializeAws_queryGetMetricStatisticsCommand: (input: GetMe
|
|
|
57
59
|
export declare const serializeAws_queryGetMetricStreamCommand: (input: GetMetricStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
60
|
export declare const serializeAws_queryGetMetricWidgetImageCommand: (input: GetMetricWidgetImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
61
|
export declare const serializeAws_queryListDashboardsCommand: (input: ListDashboardsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
|
+
export declare const serializeAws_queryListManagedInsightRulesCommand: (input: ListManagedInsightRulesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
63
|
export declare const serializeAws_queryListMetricsCommand: (input: ListMetricsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
64
|
export declare const serializeAws_queryListMetricStreamsCommand: (input: ListMetricStreamsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
65
|
export declare const serializeAws_queryListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -64,6 +67,7 @@ export declare const serializeAws_queryPutAnomalyDetectorCommand: (input: PutAno
|
|
|
64
67
|
export declare const serializeAws_queryPutCompositeAlarmCommand: (input: PutCompositeAlarmCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
65
68
|
export declare const serializeAws_queryPutDashboardCommand: (input: PutDashboardCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
66
69
|
export declare const serializeAws_queryPutInsightRuleCommand: (input: PutInsightRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
70
|
+
export declare const serializeAws_queryPutManagedInsightRulesCommand: (input: PutManagedInsightRulesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
67
71
|
export declare const serializeAws_queryPutMetricAlarmCommand: (input: PutMetricAlarmCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
68
72
|
export declare const serializeAws_queryPutMetricDataCommand: (input: PutMetricDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
69
73
|
export declare const serializeAws_queryPutMetricStreamCommand: (input: PutMetricStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -93,6 +97,7 @@ export declare const deserializeAws_queryGetMetricStatisticsCommand: (output: __
|
|
|
93
97
|
export declare const deserializeAws_queryGetMetricStreamCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMetricStreamCommandOutput>;
|
|
94
98
|
export declare const deserializeAws_queryGetMetricWidgetImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMetricWidgetImageCommandOutput>;
|
|
95
99
|
export declare const deserializeAws_queryListDashboardsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDashboardsCommandOutput>;
|
|
100
|
+
export declare const deserializeAws_queryListManagedInsightRulesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListManagedInsightRulesCommandOutput>;
|
|
96
101
|
export declare const deserializeAws_queryListMetricsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMetricsCommandOutput>;
|
|
97
102
|
export declare const deserializeAws_queryListMetricStreamsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMetricStreamsCommandOutput>;
|
|
98
103
|
export declare const deserializeAws_queryListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
@@ -100,6 +105,7 @@ export declare const deserializeAws_queryPutAnomalyDetectorCommand: (output: __H
|
|
|
100
105
|
export declare const deserializeAws_queryPutCompositeAlarmCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutCompositeAlarmCommandOutput>;
|
|
101
106
|
export declare const deserializeAws_queryPutDashboardCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutDashboardCommandOutput>;
|
|
102
107
|
export declare const deserializeAws_queryPutInsightRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutInsightRuleCommandOutput>;
|
|
108
|
+
export declare const deserializeAws_queryPutManagedInsightRulesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutManagedInsightRulesCommandOutput>;
|
|
103
109
|
export declare const deserializeAws_queryPutMetricAlarmCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutMetricAlarmCommandOutput>;
|
|
104
110
|
export declare const deserializeAws_queryPutMetricDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutMetricDataCommandOutput>;
|
|
105
111
|
export declare const deserializeAws_queryPutMetricStreamCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutMetricStreamCommandOutput>;
|
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.153.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.150.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.150.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|