@aws-sdk/client-cloudwatch 3.146.0 → 3.154.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 +27 -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 +36 -0
- package/dist-types/CloudWatchClient.d.ts +4 -2
- package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +41 -0
- package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +51 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +240 -12
- 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 +4 -4
|
@@ -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";
|
|
@@ -400,6 +402,18 @@ export declare class CloudWatch extends CloudWatchClient {
|
|
|
400
402
|
listDashboards(args: ListDashboardsCommandInput, options?: __HttpHandlerOptions): Promise<ListDashboardsCommandOutput>;
|
|
401
403
|
listDashboards(args: ListDashboardsCommandInput, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
|
|
402
404
|
listDashboards(args: ListDashboardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
|
|
405
|
+
/**
|
|
406
|
+
* <p>
|
|
407
|
+
* Returns a list
|
|
408
|
+
* that contains the number
|
|
409
|
+
* of managed Contributor Insights rules
|
|
410
|
+
* in your account.
|
|
411
|
+
*
|
|
412
|
+
* </p>
|
|
413
|
+
*/
|
|
414
|
+
listManagedInsightRules(args: ListManagedInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedInsightRulesCommandOutput>;
|
|
415
|
+
listManagedInsightRules(args: ListManagedInsightRulesCommandInput, cb: (err: any, data?: ListManagedInsightRulesCommandOutput) => void): void;
|
|
416
|
+
listManagedInsightRules(args: ListManagedInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedInsightRulesCommandOutput) => void): void;
|
|
403
417
|
/**
|
|
404
418
|
* <p>List the specified metrics. You can use the returned metrics with
|
|
405
419
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html">GetMetricData</a> or
|
|
@@ -515,6 +529,28 @@ export declare class CloudWatch extends CloudWatchClient {
|
|
|
515
529
|
putInsightRule(args: PutInsightRuleCommandInput, options?: __HttpHandlerOptions): Promise<PutInsightRuleCommandOutput>;
|
|
516
530
|
putInsightRule(args: PutInsightRuleCommandInput, cb: (err: any, data?: PutInsightRuleCommandOutput) => void): void;
|
|
517
531
|
putInsightRule(args: PutInsightRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutInsightRuleCommandOutput) => void): void;
|
|
532
|
+
/**
|
|
533
|
+
* <p>
|
|
534
|
+
* Creates a managed Contributor Insights rule
|
|
535
|
+
* for a specified Amazon Web Services resource.
|
|
536
|
+
* When you enable a managed rule,
|
|
537
|
+
* you create a Contributor Insights rule
|
|
538
|
+
* that collects data
|
|
539
|
+
* from Amazon Web Services services.
|
|
540
|
+
* You cannot edit these rules
|
|
541
|
+
* with <code>PutInsightRule</code>.
|
|
542
|
+
* The rules can be enabled, disabled, and deleted using <code>EnableInsightRules</code>, <code>DisableInsightRules</code>, and <code>DeleteInsightRules</code>.
|
|
543
|
+
* If a previously created managed rule is currently disabled,
|
|
544
|
+
* a subsequent call
|
|
545
|
+
* to this API will re-enable it.
|
|
546
|
+
* Use <code>ListManagedInsightRules</code>
|
|
547
|
+
* to describe all available rules.
|
|
548
|
+
*
|
|
549
|
+
* </p>
|
|
550
|
+
*/
|
|
551
|
+
putManagedInsightRules(args: PutManagedInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<PutManagedInsightRulesCommandOutput>;
|
|
552
|
+
putManagedInsightRules(args: PutManagedInsightRulesCommandInput, cb: (err: any, data?: PutManagedInsightRulesCommandOutput) => void): void;
|
|
553
|
+
putManagedInsightRules(args: PutManagedInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutManagedInsightRulesCommandOutput) => void): void;
|
|
518
554
|
/**
|
|
519
555
|
* <p>Creates or updates an alarm and associates it with the specified metric, metric math expression,
|
|
520
556
|
* or anomaly detection model.</p>
|
|
@@ -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
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
* <p>
|
|
11
|
+
* Returns a list
|
|
12
|
+
* that contains the number
|
|
13
|
+
* of managed Contributor Insights rules
|
|
14
|
+
* in your account.
|
|
15
|
+
*
|
|
16
|
+
* </p>
|
|
17
|
+
* @example
|
|
18
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
+
* ```javascript
|
|
20
|
+
* import { CloudWatchClient, ListManagedInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
21
|
+
* // const { CloudWatchClient, ListManagedInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
22
|
+
* const client = new CloudWatchClient(config);
|
|
23
|
+
* const command = new ListManagedInsightRulesCommand(input);
|
|
24
|
+
* const response = await client.send(command);
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @see {@link ListManagedInsightRulesCommandInput} for command's `input` shape.
|
|
28
|
+
* @see {@link ListManagedInsightRulesCommandOutput} for command's `response` shape.
|
|
29
|
+
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export declare class ListManagedInsightRulesCommand extends $Command<ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
|
|
33
|
+
readonly input: ListManagedInsightRulesCommandInput;
|
|
34
|
+
constructor(input: ListManagedInsightRulesCommandInput);
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* <p>
|
|
11
|
+
* Creates a managed Contributor Insights rule
|
|
12
|
+
* for a specified Amazon Web Services resource.
|
|
13
|
+
* When you enable a managed rule,
|
|
14
|
+
* you create a Contributor Insights rule
|
|
15
|
+
* that collects data
|
|
16
|
+
* from Amazon Web Services services.
|
|
17
|
+
* You cannot edit these rules
|
|
18
|
+
* with <code>PutInsightRule</code>.
|
|
19
|
+
* The rules can be enabled, disabled, and deleted using <code>EnableInsightRules</code>, <code>DisableInsightRules</code>, and <code>DeleteInsightRules</code>.
|
|
20
|
+
* If a previously created managed rule is currently disabled,
|
|
21
|
+
* a subsequent call
|
|
22
|
+
* to this API will re-enable it.
|
|
23
|
+
* Use <code>ListManagedInsightRules</code>
|
|
24
|
+
* to describe all available rules.
|
|
25
|
+
*
|
|
26
|
+
* </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CloudWatchClient, PutManagedInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
31
|
+
* // const { CloudWatchClient, PutManagedInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
32
|
+
* const client = new CloudWatchClient(config);
|
|
33
|
+
* const command = new PutManagedInsightRulesCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @see {@link PutManagedInsightRulesCommandInput} for command's `input` shape.
|
|
38
|
+
* @see {@link PutManagedInsightRulesCommandOutput} for command's `response` shape.
|
|
39
|
+
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export declare class PutManagedInsightRulesCommand extends $Command<PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
|
|
43
|
+
readonly input: PutManagedInsightRulesCommandInput;
|
|
44
|
+
constructor(input: PutManagedInsightRulesCommandInput);
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput>;
|
|
49
|
+
private serialize;
|
|
50
|
+
private deserialize;
|
|
51
|
+
}
|
|
@@ -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";
|
|
@@ -1242,6 +1242,12 @@ export interface InsightRule {
|
|
|
1242
1242
|
* Rule Syntax</a>.</p>
|
|
1243
1243
|
*/
|
|
1244
1244
|
Definition: string | undefined;
|
|
1245
|
+
/**
|
|
1246
|
+
* <p>
|
|
1247
|
+
* An optional built-in rule that Amazon Web Services manages.
|
|
1248
|
+
* </p>
|
|
1249
|
+
*/
|
|
1250
|
+
ManagedRule?: boolean;
|
|
1245
1251
|
}
|
|
1246
1252
|
export interface DescribeInsightRulesOutput {
|
|
1247
1253
|
/**
|
|
@@ -1814,7 +1820,7 @@ export declare enum MetricStreamOutputFormat {
|
|
|
1814
1820
|
}
|
|
1815
1821
|
/**
|
|
1816
1822
|
* <p>This object contains the information for one metric that is to be streamed with
|
|
1817
|
-
*
|
|
1823
|
+
* additional statistics.</p>
|
|
1818
1824
|
*/
|
|
1819
1825
|
export interface MetricStreamStatisticsMetric {
|
|
1820
1826
|
/**
|
|
@@ -1837,15 +1843,15 @@ export interface MetricStreamStatisticsMetric {
|
|
|
1837
1843
|
export interface MetricStreamStatisticsConfiguration {
|
|
1838
1844
|
/**
|
|
1839
1845
|
* <p>An array of metric name and namespace pairs that stream the additional statistics listed
|
|
1840
|
-
*
|
|
1841
|
-
*
|
|
1846
|
+
* in the value of the <code>AdditionalStatistics</code> parameter. There can be as many as
|
|
1847
|
+
* 100 pairs in the array.</p>
|
|
1842
1848
|
* <p>All metrics that match the combination of metric name and namespace will be streamed
|
|
1843
|
-
*
|
|
1849
|
+
* with the additional statistics, no matter their dimensions.</p>
|
|
1844
1850
|
*/
|
|
1845
1851
|
IncludeMetrics: MetricStreamStatisticsMetric[] | undefined;
|
|
1846
1852
|
/**
|
|
1847
1853
|
* <p>The list of additional statistics that are to be streamed for the metrics listed
|
|
1848
|
-
*
|
|
1854
|
+
* in the <code>IncludeMetrics</code> array in this structure. This list can include as many as 20 statistics.</p>
|
|
1849
1855
|
* <p>If the <code>OutputFormat</code> for the stream is <code>opentelemetry0.7</code>, the only
|
|
1850
1856
|
* valid values are <code>p<i>??</i>
|
|
1851
1857
|
* </code> percentile statistics such as <code>p90</code>, <code>p99</code> and so on.</p>
|
|
@@ -1853,7 +1859,7 @@ export interface MetricStreamStatisticsConfiguration {
|
|
|
1853
1859
|
* the valid values include the abbreviations for all of the statistics listed in
|
|
1854
1860
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html">
|
|
1855
1861
|
* CloudWatch statistics definitions</a>. For example, this includes
|
|
1856
|
-
*
|
|
1862
|
+
* <code>tm98, </code>
|
|
1857
1863
|
* <code>wm90</code>, <code>PR(:300)</code>, and so on.</p>
|
|
1858
1864
|
*/
|
|
1859
1865
|
AdditionalStatistics: string[] | undefined;
|
|
@@ -1902,11 +1908,10 @@ export interface GetMetricStreamOutput {
|
|
|
1902
1908
|
*/
|
|
1903
1909
|
LastUpdateDate?: Date;
|
|
1904
1910
|
/**
|
|
1905
|
-
* <p>The output format for the stream.
|
|
1906
|
-
* and <code>opentelemetry0.7</code>.
|
|
1907
|
-
* output formats,
|
|
1908
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html">
|
|
1909
|
-
* Metric streams output formats</a>.</p>
|
|
1911
|
+
* <p>The output format for the stream.
|
|
1912
|
+
* Valid values are <code>json</code> and <code>opentelemetry0.7</code>.
|
|
1913
|
+
* For more information about metric stream output formats,
|
|
1914
|
+
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html">Metric streams output formats</a>.</p>
|
|
1910
1915
|
*/
|
|
1911
1916
|
OutputFormat?: MetricStreamOutputFormat | string;
|
|
1912
1917
|
/**
|
|
@@ -2005,6 +2010,123 @@ export interface ListDashboardsOutput {
|
|
|
2005
2010
|
*/
|
|
2006
2011
|
NextToken?: string;
|
|
2007
2012
|
}
|
|
2013
|
+
export interface ListManagedInsightRulesInput {
|
|
2014
|
+
/**
|
|
2015
|
+
* <p>
|
|
2016
|
+
* The ARN
|
|
2017
|
+
* of an Amazon Web Services resource
|
|
2018
|
+
* that has managed Contributor Insights rules.
|
|
2019
|
+
* </p>
|
|
2020
|
+
*/
|
|
2021
|
+
ResourceARN: string | undefined;
|
|
2022
|
+
/**
|
|
2023
|
+
* <p>
|
|
2024
|
+
* Include this value
|
|
2025
|
+
* to get
|
|
2026
|
+
* the next set
|
|
2027
|
+
* of rules
|
|
2028
|
+
* if the value was returned
|
|
2029
|
+
* by the previous operation.
|
|
2030
|
+
* </p>
|
|
2031
|
+
*/
|
|
2032
|
+
NextToken?: string;
|
|
2033
|
+
/**
|
|
2034
|
+
* <p>
|
|
2035
|
+
* The maximum number
|
|
2036
|
+
* of results
|
|
2037
|
+
* to return
|
|
2038
|
+
* in one operation.
|
|
2039
|
+
* If you omit this parameter,
|
|
2040
|
+
* the default number is used.
|
|
2041
|
+
* The default number is <code>100</code>.
|
|
2042
|
+
* </p>
|
|
2043
|
+
*/
|
|
2044
|
+
MaxResults?: number;
|
|
2045
|
+
}
|
|
2046
|
+
/**
|
|
2047
|
+
* <p>
|
|
2048
|
+
* The status
|
|
2049
|
+
* of a managed Contributor Insights rule.
|
|
2050
|
+
* </p>
|
|
2051
|
+
*/
|
|
2052
|
+
export interface ManagedRuleState {
|
|
2053
|
+
/**
|
|
2054
|
+
* <p>
|
|
2055
|
+
* The name
|
|
2056
|
+
* of the Contributor Insights rule
|
|
2057
|
+
* that contains data
|
|
2058
|
+
* for the specified Amazon Web Services resource.
|
|
2059
|
+
* </p>
|
|
2060
|
+
*/
|
|
2061
|
+
RuleName: string | undefined;
|
|
2062
|
+
/**
|
|
2063
|
+
* <p>
|
|
2064
|
+
* Indicates whether the rule is enabled or disabled.
|
|
2065
|
+
* </p>
|
|
2066
|
+
*/
|
|
2067
|
+
State: string | undefined;
|
|
2068
|
+
}
|
|
2069
|
+
/**
|
|
2070
|
+
* <p>
|
|
2071
|
+
* Contains information
|
|
2072
|
+
* about managed Contributor Insights rules,
|
|
2073
|
+
* as returned
|
|
2074
|
+
* by <code>ListManagedInsightRules</code>.
|
|
2075
|
+
*
|
|
2076
|
+
* </p>
|
|
2077
|
+
*/
|
|
2078
|
+
export interface ManagedRuleDescription {
|
|
2079
|
+
/**
|
|
2080
|
+
* <p>
|
|
2081
|
+
* The template name
|
|
2082
|
+
* for the managed rule.
|
|
2083
|
+
* Used
|
|
2084
|
+
* to enable managed rules using <code>PutManagedInsightRules</code>.
|
|
2085
|
+
* </p>
|
|
2086
|
+
*/
|
|
2087
|
+
TemplateName?: string;
|
|
2088
|
+
/**
|
|
2089
|
+
* <p>
|
|
2090
|
+
* If a managed rule is enabled,
|
|
2091
|
+
* this is the ARN
|
|
2092
|
+
* for the related Amazon Web Services resource.
|
|
2093
|
+
* </p>
|
|
2094
|
+
*/
|
|
2095
|
+
ResourceARN?: string;
|
|
2096
|
+
/**
|
|
2097
|
+
* <p>
|
|
2098
|
+
* Describes the state
|
|
2099
|
+
* of a managed rule.
|
|
2100
|
+
* If present,
|
|
2101
|
+
* it contains information
|
|
2102
|
+
* about the Contributor Insights rule
|
|
2103
|
+
* that contains information
|
|
2104
|
+
* about the related Amazon Web Services resource.
|
|
2105
|
+
* </p>
|
|
2106
|
+
*/
|
|
2107
|
+
RuleState?: ManagedRuleState;
|
|
2108
|
+
}
|
|
2109
|
+
export interface ListManagedInsightRulesOutput {
|
|
2110
|
+
/**
|
|
2111
|
+
* <p>
|
|
2112
|
+
* The managed rules
|
|
2113
|
+
* that are available
|
|
2114
|
+
* for the specified Amazon Web Services resource.
|
|
2115
|
+
* </p>
|
|
2116
|
+
*/
|
|
2117
|
+
ManagedRules?: ManagedRuleDescription[];
|
|
2118
|
+
/**
|
|
2119
|
+
* <p>
|
|
2120
|
+
* Include this value
|
|
2121
|
+
* to get
|
|
2122
|
+
* the next set
|
|
2123
|
+
* of rules
|
|
2124
|
+
* if the value was returned
|
|
2125
|
+
* by the previous operation.
|
|
2126
|
+
* </p>
|
|
2127
|
+
*/
|
|
2128
|
+
NextToken?: string;
|
|
2129
|
+
}
|
|
2008
2130
|
export declare enum RecentlyActive {
|
|
2009
2131
|
PT3H = "PT3H"
|
|
2010
2132
|
}
|
|
@@ -2487,6 +2609,84 @@ export interface PutInsightRuleInput {
|
|
|
2487
2609
|
}
|
|
2488
2610
|
export interface PutInsightRuleOutput {
|
|
2489
2611
|
}
|
|
2612
|
+
/**
|
|
2613
|
+
* <p>
|
|
2614
|
+
* Contains the information
|
|
2615
|
+
* that's required
|
|
2616
|
+
* to enable a managed Contributor Insights rule
|
|
2617
|
+
* for an Amazon Web Services resource.
|
|
2618
|
+
*
|
|
2619
|
+
* </p>
|
|
2620
|
+
*/
|
|
2621
|
+
export interface ManagedRule {
|
|
2622
|
+
/**
|
|
2623
|
+
* <p>
|
|
2624
|
+
* The template name
|
|
2625
|
+
* for the managed Contributor Insights rule,
|
|
2626
|
+
* as returned
|
|
2627
|
+
* by <code>ListManagedInsightRules</code>.
|
|
2628
|
+
* </p>
|
|
2629
|
+
*/
|
|
2630
|
+
TemplateName: string | undefined;
|
|
2631
|
+
/**
|
|
2632
|
+
* <p>
|
|
2633
|
+
* The ARN
|
|
2634
|
+
* of an Amazon Web Services resource
|
|
2635
|
+
* that has managed Contributor Insights rules.
|
|
2636
|
+
* </p>
|
|
2637
|
+
*/
|
|
2638
|
+
ResourceARN: string | undefined;
|
|
2639
|
+
/**
|
|
2640
|
+
* <p>
|
|
2641
|
+
* A list
|
|
2642
|
+
* of key-value pairs
|
|
2643
|
+
* that you can associate
|
|
2644
|
+
* with a managed Contributor Insights rule.
|
|
2645
|
+
* You can associate as many as 50 tags
|
|
2646
|
+
* with a rule.
|
|
2647
|
+
* Tags can help you organize and categorize your resources.
|
|
2648
|
+
* You also can use them
|
|
2649
|
+
* to scope user permissions
|
|
2650
|
+
* by granting a user permission
|
|
2651
|
+
* to access or change only the resources
|
|
2652
|
+
* that have certain tag values.
|
|
2653
|
+
* To associate tags
|
|
2654
|
+
* with a rule,
|
|
2655
|
+
* you must have the <code>cloudwatch:TagResource</code> permission
|
|
2656
|
+
* in addition
|
|
2657
|
+
* to the <code>cloudwatch:PutInsightRule</code> permission.
|
|
2658
|
+
* If you are using this operation
|
|
2659
|
+
* to update an existing Contributor Insights rule,
|
|
2660
|
+
* any tags
|
|
2661
|
+
* that you specify
|
|
2662
|
+
* in this parameter are ignored.
|
|
2663
|
+
* To change the tags
|
|
2664
|
+
* of an existing rule,
|
|
2665
|
+
* use <code>TagResource</code>.
|
|
2666
|
+
* </p>
|
|
2667
|
+
*/
|
|
2668
|
+
Tags?: Tag[];
|
|
2669
|
+
}
|
|
2670
|
+
export interface PutManagedInsightRulesInput {
|
|
2671
|
+
/**
|
|
2672
|
+
* <p>
|
|
2673
|
+
* A list
|
|
2674
|
+
* of <code>ManagedRules</code>
|
|
2675
|
+
* to enable.
|
|
2676
|
+
* </p>
|
|
2677
|
+
*/
|
|
2678
|
+
ManagedRules: ManagedRule[] | undefined;
|
|
2679
|
+
}
|
|
2680
|
+
export interface PutManagedInsightRulesOutput {
|
|
2681
|
+
/**
|
|
2682
|
+
* <p>
|
|
2683
|
+
* An array
|
|
2684
|
+
* that lists the rules
|
|
2685
|
+
* that could not be enabled.
|
|
2686
|
+
* </p>
|
|
2687
|
+
*/
|
|
2688
|
+
Failures?: PartialFailure[];
|
|
2689
|
+
}
|
|
2490
2690
|
export interface PutMetricAlarmInput {
|
|
2491
2691
|
/**
|
|
2492
2692
|
* <p>The name for the alarm. This name must be unique within the Region.</p>
|
|
@@ -2775,7 +2975,7 @@ export interface MetricDatum {
|
|
|
2775
2975
|
/**
|
|
2776
2976
|
* <p>Array of numbers representing the values for the metric during the period. Each unique value is listed just once
|
|
2777
2977
|
* in this array, and the corresponding number in the <code>Counts</code> array specifies the number of times that value occurred during the period.
|
|
2778
|
-
* You can include up to
|
|
2978
|
+
* You can include up to 150 unique values in each <code>PutMetricData</code> action that specifies a <code>Values</code> array.</p>
|
|
2779
2979
|
* <p>Although the <code>Values</code> array accepts numbers of type
|
|
2780
2980
|
* <code>Double</code>, CloudWatch rejects values that are either too small
|
|
2781
2981
|
* or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,
|
|
@@ -3266,6 +3466,22 @@ export declare const ListDashboardsInputFilterSensitiveLog: (obj: ListDashboards
|
|
|
3266
3466
|
* @internal
|
|
3267
3467
|
*/
|
|
3268
3468
|
export declare const ListDashboardsOutputFilterSensitiveLog: (obj: ListDashboardsOutput) => any;
|
|
3469
|
+
/**
|
|
3470
|
+
* @internal
|
|
3471
|
+
*/
|
|
3472
|
+
export declare const ListManagedInsightRulesInputFilterSensitiveLog: (obj: ListManagedInsightRulesInput) => any;
|
|
3473
|
+
/**
|
|
3474
|
+
* @internal
|
|
3475
|
+
*/
|
|
3476
|
+
export declare const ManagedRuleStateFilterSensitiveLog: (obj: ManagedRuleState) => any;
|
|
3477
|
+
/**
|
|
3478
|
+
* @internal
|
|
3479
|
+
*/
|
|
3480
|
+
export declare const ManagedRuleDescriptionFilterSensitiveLog: (obj: ManagedRuleDescription) => any;
|
|
3481
|
+
/**
|
|
3482
|
+
* @internal
|
|
3483
|
+
*/
|
|
3484
|
+
export declare const ListManagedInsightRulesOutputFilterSensitiveLog: (obj: ListManagedInsightRulesOutput) => any;
|
|
3269
3485
|
/**
|
|
3270
3486
|
* @internal
|
|
3271
3487
|
*/
|
|
@@ -3326,6 +3542,18 @@ export declare const PutInsightRuleInputFilterSensitiveLog: (obj: PutInsightRule
|
|
|
3326
3542
|
* @internal
|
|
3327
3543
|
*/
|
|
3328
3544
|
export declare const PutInsightRuleOutputFilterSensitiveLog: (obj: PutInsightRuleOutput) => any;
|
|
3545
|
+
/**
|
|
3546
|
+
* @internal
|
|
3547
|
+
*/
|
|
3548
|
+
export declare const ManagedRuleFilterSensitiveLog: (obj: ManagedRule) => any;
|
|
3549
|
+
/**
|
|
3550
|
+
* @internal
|
|
3551
|
+
*/
|
|
3552
|
+
export declare const PutManagedInsightRulesInputFilterSensitiveLog: (obj: PutManagedInsightRulesInput) => any;
|
|
3553
|
+
/**
|
|
3554
|
+
* @internal
|
|
3555
|
+
*/
|
|
3556
|
+
export declare const PutManagedInsightRulesOutputFilterSensitiveLog: (obj: PutManagedInsightRulesOutput) => any;
|
|
3329
3557
|
/**
|
|
3330
3558
|
* @internal
|
|
3331
3559
|
*/
|
|
@@ -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>;
|
|
@@ -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;
|