@aws-sdk/client-cloudwatch 3.50.0 → 3.53.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/index.js +3 -0
- package/dist-cjs/models/CloudWatchServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +180 -2
- package/dist-cjs/protocols/Aws_query.js +275 -965
- package/dist-es/index.js +1 -0
- package/dist-es/models/CloudWatchServiceException.js +12 -0
- package/dist-es/models/models_0.js +165 -1
- package/dist-es/protocols/Aws_query.js +638 -1056
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CloudWatchServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +79 -56
- package/dist-types/ts3.4/CloudWatch.d.ts +185 -0
- package/dist-types/ts3.4/CloudWatchClient.d.ts +109 -0
- package/dist-types/ts3.4/commands/DeleteAlarmsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDashboardsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteInsightRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMetricStreamCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAlarmHistoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAlarmsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAlarmsForMetricCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAnomalyDetectorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeInsightRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableAlarmActionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableInsightRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableAlarmActionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableInsightRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetInsightRuleReportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMetricStatisticsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMetricStreamCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMetricWidgetImageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMetricStreamsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutCompositeAlarmCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutDashboardCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutInsightRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutMetricAlarmCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutMetricDataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutMetricStreamCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetAlarmStateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartMetricStreamsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopMetricStreamsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +36 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +7 -0
- package/dist-types/ts3.4/models/CloudWatchServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1403 -0
- package/dist-types/ts3.4/pagination/DescribeAlarmHistoryPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeAlarmsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeInsightRulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetMetricDataPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDashboardsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMetricStreamsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +110 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForAlarmExists.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForCompositeAlarmExists.d.ts +7 -0
- package/package.json +34 -34
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from CloudWatch service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class CloudWatchServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { CloudWatchServiceException as __BaseException } from "./CloudWatchServiceException";
|
|
2
3
|
export declare type AlarmType = "CompositeAlarm" | "MetricAlarm";
|
|
3
4
|
export declare type HistoryItemType = "Action" | "ConfigurationUpdate" | "StateUpdate";
|
|
4
5
|
/**
|
|
@@ -484,10 +485,14 @@ export declare namespace CompositeAlarm {
|
|
|
484
485
|
/**
|
|
485
486
|
* <p>More than one process tried to modify a resource at the same time.</p>
|
|
486
487
|
*/
|
|
487
|
-
export
|
|
488
|
-
name: "ConcurrentModificationException";
|
|
489
|
-
$fault: "client";
|
|
488
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
489
|
+
readonly name: "ConcurrentModificationException";
|
|
490
|
+
readonly $fault: "client";
|
|
490
491
|
Message?: string;
|
|
492
|
+
/**
|
|
493
|
+
* @internal
|
|
494
|
+
*/
|
|
495
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
491
496
|
}
|
|
492
497
|
/**
|
|
493
498
|
* <p>Represents a specific dashboard.</p>
|
|
@@ -539,19 +544,25 @@ export declare namespace DashboardValidationMessage {
|
|
|
539
544
|
/**
|
|
540
545
|
* <p>Some part of the dashboard data is invalid.</p>
|
|
541
546
|
*/
|
|
542
|
-
export
|
|
543
|
-
name: "DashboardInvalidInputError";
|
|
544
|
-
$fault: "client";
|
|
545
|
-
message?: string;
|
|
547
|
+
export declare class DashboardInvalidInputError extends __BaseException {
|
|
548
|
+
readonly name: "DashboardInvalidInputError";
|
|
549
|
+
readonly $fault: "client";
|
|
546
550
|
dashboardValidationMessages?: DashboardValidationMessage[];
|
|
551
|
+
/**
|
|
552
|
+
* @internal
|
|
553
|
+
*/
|
|
554
|
+
constructor(opts: __ExceptionOptionType<DashboardInvalidInputError, __BaseException>);
|
|
547
555
|
}
|
|
548
556
|
/**
|
|
549
557
|
* <p>The specified dashboard does not exist.</p>
|
|
550
558
|
*/
|
|
551
|
-
export
|
|
552
|
-
name: "DashboardNotFoundError";
|
|
553
|
-
$fault: "client";
|
|
554
|
-
|
|
559
|
+
export declare class DashboardNotFoundError extends __BaseException {
|
|
560
|
+
readonly name: "DashboardNotFoundError";
|
|
561
|
+
readonly $fault: "client";
|
|
562
|
+
/**
|
|
563
|
+
* @internal
|
|
564
|
+
*/
|
|
565
|
+
constructor(opts: __ExceptionOptionType<DashboardNotFoundError, __BaseException>);
|
|
555
566
|
}
|
|
556
567
|
/**
|
|
557
568
|
* <p>Encapsulates the statistical data that CloudWatch computes from metric data.</p>
|
|
@@ -614,13 +625,13 @@ export declare namespace DeleteAlarmsInput {
|
|
|
614
625
|
/**
|
|
615
626
|
* <p>The named resource does not exist.</p>
|
|
616
627
|
*/
|
|
617
|
-
export
|
|
618
|
-
name: "ResourceNotFound";
|
|
619
|
-
$fault: "client";
|
|
628
|
+
export declare class ResourceNotFound extends __BaseException {
|
|
629
|
+
readonly name: "ResourceNotFound";
|
|
630
|
+
readonly $fault: "client";
|
|
620
631
|
/**
|
|
621
|
-
*
|
|
632
|
+
* @internal
|
|
622
633
|
*/
|
|
623
|
-
|
|
634
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
|
|
624
635
|
}
|
|
625
636
|
export interface DeleteAnomalyDetectorInput {
|
|
626
637
|
/**
|
|
@@ -734,56 +745,64 @@ export declare namespace DeleteAnomalyDetectorOutput {
|
|
|
734
745
|
/**
|
|
735
746
|
* <p>Request processing has failed due to some unknown error, exception, or failure.</p>
|
|
736
747
|
*/
|
|
737
|
-
export
|
|
738
|
-
name: "InternalServiceFault";
|
|
739
|
-
$fault: "server";
|
|
748
|
+
export declare class InternalServiceFault extends __BaseException {
|
|
749
|
+
readonly name: "InternalServiceFault";
|
|
750
|
+
readonly $fault: "server";
|
|
740
751
|
/**
|
|
741
752
|
* <p></p>
|
|
742
753
|
*/
|
|
743
754
|
Message?: string;
|
|
755
|
+
/**
|
|
756
|
+
* @internal
|
|
757
|
+
*/
|
|
758
|
+
constructor(opts: __ExceptionOptionType<InternalServiceFault, __BaseException>);
|
|
744
759
|
}
|
|
745
760
|
/**
|
|
746
761
|
* <p>Parameters were used together that cannot be used together.</p>
|
|
747
762
|
*/
|
|
748
|
-
export
|
|
749
|
-
name: "InvalidParameterCombinationException";
|
|
750
|
-
$fault: "client";
|
|
763
|
+
export declare class InvalidParameterCombinationException extends __BaseException {
|
|
764
|
+
readonly name: "InvalidParameterCombinationException";
|
|
765
|
+
readonly $fault: "client";
|
|
751
766
|
/**
|
|
752
|
-
*
|
|
767
|
+
* @internal
|
|
753
768
|
*/
|
|
754
|
-
|
|
769
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
|
|
755
770
|
}
|
|
756
771
|
/**
|
|
757
772
|
* <p>The value of an input parameter is bad or out-of-range.</p>
|
|
758
773
|
*/
|
|
759
|
-
export
|
|
760
|
-
name: "InvalidParameterValueException";
|
|
761
|
-
$fault: "client";
|
|
774
|
+
export declare class InvalidParameterValueException extends __BaseException {
|
|
775
|
+
readonly name: "InvalidParameterValueException";
|
|
776
|
+
readonly $fault: "client";
|
|
762
777
|
/**
|
|
763
|
-
*
|
|
778
|
+
* @internal
|
|
764
779
|
*/
|
|
765
|
-
|
|
780
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
766
781
|
}
|
|
767
782
|
/**
|
|
768
783
|
* <p>An input parameter that is required is missing.</p>
|
|
769
784
|
*/
|
|
770
|
-
export
|
|
771
|
-
name: "MissingRequiredParameterException";
|
|
772
|
-
$fault: "client";
|
|
785
|
+
export declare class MissingRequiredParameterException extends __BaseException {
|
|
786
|
+
readonly name: "MissingRequiredParameterException";
|
|
787
|
+
readonly $fault: "client";
|
|
773
788
|
/**
|
|
774
|
-
*
|
|
789
|
+
* @internal
|
|
775
790
|
*/
|
|
776
|
-
|
|
791
|
+
constructor(opts: __ExceptionOptionType<MissingRequiredParameterException, __BaseException>);
|
|
777
792
|
}
|
|
778
793
|
/**
|
|
779
794
|
* <p>The named resource does not exist.</p>
|
|
780
795
|
*/
|
|
781
|
-
export
|
|
782
|
-
name: "ResourceNotFoundException";
|
|
783
|
-
$fault: "client";
|
|
796
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
797
|
+
readonly name: "ResourceNotFoundException";
|
|
798
|
+
readonly $fault: "client";
|
|
784
799
|
ResourceType?: string;
|
|
785
800
|
ResourceId?: string;
|
|
786
801
|
Message?: string;
|
|
802
|
+
/**
|
|
803
|
+
* @internal
|
|
804
|
+
*/
|
|
805
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
787
806
|
}
|
|
788
807
|
export interface DeleteDashboardsInput {
|
|
789
808
|
/**
|
|
@@ -915,13 +934,13 @@ export declare namespace DescribeAlarmHistoryOutput {
|
|
|
915
934
|
/**
|
|
916
935
|
* <p>The next token specified is invalid.</p>
|
|
917
936
|
*/
|
|
918
|
-
export
|
|
919
|
-
name: "InvalidNextToken";
|
|
920
|
-
$fault: "client";
|
|
937
|
+
export declare class InvalidNextToken extends __BaseException {
|
|
938
|
+
readonly name: "InvalidNextToken";
|
|
939
|
+
readonly $fault: "client";
|
|
921
940
|
/**
|
|
922
|
-
*
|
|
941
|
+
* @internal
|
|
923
942
|
*/
|
|
924
|
-
|
|
943
|
+
constructor(opts: __ExceptionOptionType<InvalidNextToken, __BaseException>);
|
|
925
944
|
}
|
|
926
945
|
export interface DescribeAlarmsInput {
|
|
927
946
|
/**
|
|
@@ -1434,10 +1453,14 @@ export declare namespace EnableInsightRulesOutput {
|
|
|
1434
1453
|
/**
|
|
1435
1454
|
* <p>The operation exceeded one or more limits.</p>
|
|
1436
1455
|
*/
|
|
1437
|
-
export
|
|
1438
|
-
name: "LimitExceededException";
|
|
1439
|
-
$fault: "client";
|
|
1456
|
+
export declare class LimitExceededException extends __BaseException {
|
|
1457
|
+
readonly name: "LimitExceededException";
|
|
1458
|
+
readonly $fault: "client";
|
|
1440
1459
|
Message?: string;
|
|
1460
|
+
/**
|
|
1461
|
+
* @internal
|
|
1462
|
+
*/
|
|
1463
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
1441
1464
|
}
|
|
1442
1465
|
export interface GetDashboardInput {
|
|
1443
1466
|
/**
|
|
@@ -2508,13 +2531,13 @@ export declare namespace PutAnomalyDetectorOutput {
|
|
|
2508
2531
|
/**
|
|
2509
2532
|
* <p>The quota for alarms for this customer has already been reached.</p>
|
|
2510
2533
|
*/
|
|
2511
|
-
export
|
|
2512
|
-
name: "LimitExceededFault";
|
|
2513
|
-
$fault: "client";
|
|
2534
|
+
export declare class LimitExceededFault extends __BaseException {
|
|
2535
|
+
readonly name: "LimitExceededFault";
|
|
2536
|
+
readonly $fault: "client";
|
|
2514
2537
|
/**
|
|
2515
|
-
*
|
|
2538
|
+
* @internal
|
|
2516
2539
|
*/
|
|
2517
|
-
|
|
2540
|
+
constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
|
|
2518
2541
|
}
|
|
2519
2542
|
export interface PutCompositeAlarmInput {
|
|
2520
2543
|
/**
|
|
@@ -3157,13 +3180,13 @@ export declare namespace PutMetricStreamOutput {
|
|
|
3157
3180
|
/**
|
|
3158
3181
|
* <p>Data was not syntactically valid JSON.</p>
|
|
3159
3182
|
*/
|
|
3160
|
-
export
|
|
3161
|
-
name: "InvalidFormatFault";
|
|
3162
|
-
$fault: "client";
|
|
3183
|
+
export declare class InvalidFormatFault extends __BaseException {
|
|
3184
|
+
readonly name: "InvalidFormatFault";
|
|
3185
|
+
readonly $fault: "client";
|
|
3163
3186
|
/**
|
|
3164
|
-
*
|
|
3187
|
+
* @internal
|
|
3165
3188
|
*/
|
|
3166
|
-
|
|
3189
|
+
constructor(opts: __ExceptionOptionType<InvalidFormatFault, __BaseException>);
|
|
3167
3190
|
}
|
|
3168
3191
|
export interface SetAlarmStateInput {
|
|
3169
3192
|
/**
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CloudWatchClient } from "./CloudWatchClient";
|
|
3
|
+
import { DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
|
|
4
|
+
import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
|
|
5
|
+
import { DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput } from "./commands/DeleteDashboardsCommand";
|
|
6
|
+
import { DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput } from "./commands/DeleteInsightRulesCommand";
|
|
7
|
+
import { DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput } from "./commands/DeleteMetricStreamCommand";
|
|
8
|
+
import { DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput } from "./commands/DescribeAlarmHistoryCommand";
|
|
9
|
+
import { DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput } from "./commands/DescribeAlarmsCommand";
|
|
10
|
+
import { DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput } from "./commands/DescribeAlarmsForMetricCommand";
|
|
11
|
+
import { DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput } from "./commands/DescribeAnomalyDetectorsCommand";
|
|
12
|
+
import { DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput } from "./commands/DescribeInsightRulesCommand";
|
|
13
|
+
import { DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput } from "./commands/DisableAlarmActionsCommand";
|
|
14
|
+
import { DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput } from "./commands/DisableInsightRulesCommand";
|
|
15
|
+
import { EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput } from "./commands/EnableAlarmActionsCommand";
|
|
16
|
+
import { EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput } from "./commands/EnableInsightRulesCommand";
|
|
17
|
+
import { GetDashboardCommandInput, GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
|
|
18
|
+
import { GetInsightRuleReportCommandInput, GetInsightRuleReportCommandOutput } from "./commands/GetInsightRuleReportCommand";
|
|
19
|
+
import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "./commands/GetMetricDataCommand";
|
|
20
|
+
import { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput } from "./commands/GetMetricStatisticsCommand";
|
|
21
|
+
import { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
|
|
22
|
+
import { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
|
|
23
|
+
import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
|
|
24
|
+
import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
|
|
25
|
+
import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "./commands/ListMetricStreamsCommand";
|
|
26
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
27
|
+
import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from "./commands/PutAnomalyDetectorCommand";
|
|
28
|
+
import { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput } from "./commands/PutCompositeAlarmCommand";
|
|
29
|
+
import { PutDashboardCommandInput, PutDashboardCommandOutput } from "./commands/PutDashboardCommand";
|
|
30
|
+
import { PutInsightRuleCommandInput, PutInsightRuleCommandOutput } from "./commands/PutInsightRuleCommand";
|
|
31
|
+
import { PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput } from "./commands/PutMetricAlarmCommand";
|
|
32
|
+
import { PutMetricDataCommandInput, PutMetricDataCommandOutput } from "./commands/PutMetricDataCommand";
|
|
33
|
+
import { PutMetricStreamCommandInput, PutMetricStreamCommandOutput } from "./commands/PutMetricStreamCommand";
|
|
34
|
+
import { SetAlarmStateCommandInput, SetAlarmStateCommandOutput } from "./commands/SetAlarmStateCommand";
|
|
35
|
+
import { StartMetricStreamsCommandInput, StartMetricStreamsCommandOutput } from "./commands/StartMetricStreamsCommand";
|
|
36
|
+
import { StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput } from "./commands/StopMetricStreamsCommand";
|
|
37
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
38
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
39
|
+
|
|
40
|
+
export declare class CloudWatch extends CloudWatchClient {
|
|
41
|
+
|
|
42
|
+
deleteAlarms(args: DeleteAlarmsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlarmsCommandOutput>;
|
|
43
|
+
deleteAlarms(args: DeleteAlarmsCommandInput, cb: (err: any, data?: DeleteAlarmsCommandOutput) => void): void;
|
|
44
|
+
deleteAlarms(args: DeleteAlarmsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlarmsCommandOutput) => void): void;
|
|
45
|
+
|
|
46
|
+
deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAnomalyDetectorCommandOutput>;
|
|
47
|
+
deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void;
|
|
48
|
+
deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void;
|
|
49
|
+
|
|
50
|
+
deleteDashboards(args: DeleteDashboardsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDashboardsCommandOutput>;
|
|
51
|
+
deleteDashboards(args: DeleteDashboardsCommandInput, cb: (err: any, data?: DeleteDashboardsCommandOutput) => void): void;
|
|
52
|
+
deleteDashboards(args: DeleteDashboardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDashboardsCommandOutput) => void): void;
|
|
53
|
+
|
|
54
|
+
deleteInsightRules(args: DeleteInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInsightRulesCommandOutput>;
|
|
55
|
+
deleteInsightRules(args: DeleteInsightRulesCommandInput, cb: (err: any, data?: DeleteInsightRulesCommandOutput) => void): void;
|
|
56
|
+
deleteInsightRules(args: DeleteInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInsightRulesCommandOutput) => void): void;
|
|
57
|
+
|
|
58
|
+
deleteMetricStream(args: DeleteMetricStreamCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMetricStreamCommandOutput>;
|
|
59
|
+
deleteMetricStream(args: DeleteMetricStreamCommandInput, cb: (err: any, data?: DeleteMetricStreamCommandOutput) => void): void;
|
|
60
|
+
deleteMetricStream(args: DeleteMetricStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMetricStreamCommandOutput) => void): void;
|
|
61
|
+
|
|
62
|
+
describeAlarmHistory(args: DescribeAlarmHistoryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlarmHistoryCommandOutput>;
|
|
63
|
+
describeAlarmHistory(args: DescribeAlarmHistoryCommandInput, cb: (err: any, data?: DescribeAlarmHistoryCommandOutput) => void): void;
|
|
64
|
+
describeAlarmHistory(args: DescribeAlarmHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlarmHistoryCommandOutput) => void): void;
|
|
65
|
+
|
|
66
|
+
describeAlarms(args: DescribeAlarmsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlarmsCommandOutput>;
|
|
67
|
+
describeAlarms(args: DescribeAlarmsCommandInput, cb: (err: any, data?: DescribeAlarmsCommandOutput) => void): void;
|
|
68
|
+
describeAlarms(args: DescribeAlarmsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlarmsCommandOutput) => void): void;
|
|
69
|
+
|
|
70
|
+
describeAlarmsForMetric(args: DescribeAlarmsForMetricCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlarmsForMetricCommandOutput>;
|
|
71
|
+
describeAlarmsForMetric(args: DescribeAlarmsForMetricCommandInput, cb: (err: any, data?: DescribeAlarmsForMetricCommandOutput) => void): void;
|
|
72
|
+
describeAlarmsForMetric(args: DescribeAlarmsForMetricCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlarmsForMetricCommandOutput) => void): void;
|
|
73
|
+
|
|
74
|
+
describeAnomalyDetectors(args: DescribeAnomalyDetectorsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAnomalyDetectorsCommandOutput>;
|
|
75
|
+
describeAnomalyDetectors(args: DescribeAnomalyDetectorsCommandInput, cb: (err: any, data?: DescribeAnomalyDetectorsCommandOutput) => void): void;
|
|
76
|
+
describeAnomalyDetectors(args: DescribeAnomalyDetectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAnomalyDetectorsCommandOutput) => void): void;
|
|
77
|
+
|
|
78
|
+
describeInsightRules(args: DescribeInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeInsightRulesCommandOutput>;
|
|
79
|
+
describeInsightRules(args: DescribeInsightRulesCommandInput, cb: (err: any, data?: DescribeInsightRulesCommandOutput) => void): void;
|
|
80
|
+
describeInsightRules(args: DescribeInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInsightRulesCommandOutput) => void): void;
|
|
81
|
+
|
|
82
|
+
disableAlarmActions(args: DisableAlarmActionsCommandInput, options?: __HttpHandlerOptions): Promise<DisableAlarmActionsCommandOutput>;
|
|
83
|
+
disableAlarmActions(args: DisableAlarmActionsCommandInput, cb: (err: any, data?: DisableAlarmActionsCommandOutput) => void): void;
|
|
84
|
+
disableAlarmActions(args: DisableAlarmActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableAlarmActionsCommandOutput) => void): void;
|
|
85
|
+
|
|
86
|
+
disableInsightRules(args: DisableInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<DisableInsightRulesCommandOutput>;
|
|
87
|
+
disableInsightRules(args: DisableInsightRulesCommandInput, cb: (err: any, data?: DisableInsightRulesCommandOutput) => void): void;
|
|
88
|
+
disableInsightRules(args: DisableInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableInsightRulesCommandOutput) => void): void;
|
|
89
|
+
|
|
90
|
+
enableAlarmActions(args: EnableAlarmActionsCommandInput, options?: __HttpHandlerOptions): Promise<EnableAlarmActionsCommandOutput>;
|
|
91
|
+
enableAlarmActions(args: EnableAlarmActionsCommandInput, cb: (err: any, data?: EnableAlarmActionsCommandOutput) => void): void;
|
|
92
|
+
enableAlarmActions(args: EnableAlarmActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableAlarmActionsCommandOutput) => void): void;
|
|
93
|
+
|
|
94
|
+
enableInsightRules(args: EnableInsightRulesCommandInput, options?: __HttpHandlerOptions): Promise<EnableInsightRulesCommandOutput>;
|
|
95
|
+
enableInsightRules(args: EnableInsightRulesCommandInput, cb: (err: any, data?: EnableInsightRulesCommandOutput) => void): void;
|
|
96
|
+
enableInsightRules(args: EnableInsightRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableInsightRulesCommandOutput) => void): void;
|
|
97
|
+
|
|
98
|
+
getDashboard(args: GetDashboardCommandInput, options?: __HttpHandlerOptions): Promise<GetDashboardCommandOutput>;
|
|
99
|
+
getDashboard(args: GetDashboardCommandInput, cb: (err: any, data?: GetDashboardCommandOutput) => void): void;
|
|
100
|
+
getDashboard(args: GetDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDashboardCommandOutput) => void): void;
|
|
101
|
+
|
|
102
|
+
getInsightRuleReport(args: GetInsightRuleReportCommandInput, options?: __HttpHandlerOptions): Promise<GetInsightRuleReportCommandOutput>;
|
|
103
|
+
getInsightRuleReport(args: GetInsightRuleReportCommandInput, cb: (err: any, data?: GetInsightRuleReportCommandOutput) => void): void;
|
|
104
|
+
getInsightRuleReport(args: GetInsightRuleReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightRuleReportCommandOutput) => void): void;
|
|
105
|
+
|
|
106
|
+
getMetricData(args: GetMetricDataCommandInput, options?: __HttpHandlerOptions): Promise<GetMetricDataCommandOutput>;
|
|
107
|
+
getMetricData(args: GetMetricDataCommandInput, cb: (err: any, data?: GetMetricDataCommandOutput) => void): void;
|
|
108
|
+
getMetricData(args: GetMetricDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMetricDataCommandOutput) => void): void;
|
|
109
|
+
|
|
110
|
+
getMetricStatistics(args: GetMetricStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<GetMetricStatisticsCommandOutput>;
|
|
111
|
+
getMetricStatistics(args: GetMetricStatisticsCommandInput, cb: (err: any, data?: GetMetricStatisticsCommandOutput) => void): void;
|
|
112
|
+
getMetricStatistics(args: GetMetricStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMetricStatisticsCommandOutput) => void): void;
|
|
113
|
+
|
|
114
|
+
getMetricStream(args: GetMetricStreamCommandInput, options?: __HttpHandlerOptions): Promise<GetMetricStreamCommandOutput>;
|
|
115
|
+
getMetricStream(args: GetMetricStreamCommandInput, cb: (err: any, data?: GetMetricStreamCommandOutput) => void): void;
|
|
116
|
+
getMetricStream(args: GetMetricStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMetricStreamCommandOutput) => void): void;
|
|
117
|
+
|
|
118
|
+
getMetricWidgetImage(args: GetMetricWidgetImageCommandInput, options?: __HttpHandlerOptions): Promise<GetMetricWidgetImageCommandOutput>;
|
|
119
|
+
getMetricWidgetImage(args: GetMetricWidgetImageCommandInput, cb: (err: any, data?: GetMetricWidgetImageCommandOutput) => void): void;
|
|
120
|
+
getMetricWidgetImage(args: GetMetricWidgetImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMetricWidgetImageCommandOutput) => void): void;
|
|
121
|
+
|
|
122
|
+
listDashboards(args: ListDashboardsCommandInput, options?: __HttpHandlerOptions): Promise<ListDashboardsCommandOutput>;
|
|
123
|
+
listDashboards(args: ListDashboardsCommandInput, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
|
|
124
|
+
listDashboards(args: ListDashboardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
|
|
125
|
+
|
|
126
|
+
listMetrics(args: ListMetricsCommandInput, options?: __HttpHandlerOptions): Promise<ListMetricsCommandOutput>;
|
|
127
|
+
listMetrics(args: ListMetricsCommandInput, cb: (err: any, data?: ListMetricsCommandOutput) => void): void;
|
|
128
|
+
listMetrics(args: ListMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMetricsCommandOutput) => void): void;
|
|
129
|
+
|
|
130
|
+
listMetricStreams(args: ListMetricStreamsCommandInput, options?: __HttpHandlerOptions): Promise<ListMetricStreamsCommandOutput>;
|
|
131
|
+
listMetricStreams(args: ListMetricStreamsCommandInput, cb: (err: any, data?: ListMetricStreamsCommandOutput) => void): void;
|
|
132
|
+
listMetricStreams(args: ListMetricStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMetricStreamsCommandOutput) => void): void;
|
|
133
|
+
|
|
134
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
135
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
136
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
137
|
+
|
|
138
|
+
putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<PutAnomalyDetectorCommandOutput>;
|
|
139
|
+
putAnomalyDetector(args: PutAnomalyDetectorCommandInput, cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void): void;
|
|
140
|
+
putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void): void;
|
|
141
|
+
|
|
142
|
+
putCompositeAlarm(args: PutCompositeAlarmCommandInput, options?: __HttpHandlerOptions): Promise<PutCompositeAlarmCommandOutput>;
|
|
143
|
+
putCompositeAlarm(args: PutCompositeAlarmCommandInput, cb: (err: any, data?: PutCompositeAlarmCommandOutput) => void): void;
|
|
144
|
+
putCompositeAlarm(args: PutCompositeAlarmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutCompositeAlarmCommandOutput) => void): void;
|
|
145
|
+
|
|
146
|
+
putDashboard(args: PutDashboardCommandInput, options?: __HttpHandlerOptions): Promise<PutDashboardCommandOutput>;
|
|
147
|
+
putDashboard(args: PutDashboardCommandInput, cb: (err: any, data?: PutDashboardCommandOutput) => void): void;
|
|
148
|
+
putDashboard(args: PutDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDashboardCommandOutput) => void): void;
|
|
149
|
+
|
|
150
|
+
putInsightRule(args: PutInsightRuleCommandInput, options?: __HttpHandlerOptions): Promise<PutInsightRuleCommandOutput>;
|
|
151
|
+
putInsightRule(args: PutInsightRuleCommandInput, cb: (err: any, data?: PutInsightRuleCommandOutput) => void): void;
|
|
152
|
+
putInsightRule(args: PutInsightRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutInsightRuleCommandOutput) => void): void;
|
|
153
|
+
|
|
154
|
+
putMetricAlarm(args: PutMetricAlarmCommandInput, options?: __HttpHandlerOptions): Promise<PutMetricAlarmCommandOutput>;
|
|
155
|
+
putMetricAlarm(args: PutMetricAlarmCommandInput, cb: (err: any, data?: PutMetricAlarmCommandOutput) => void): void;
|
|
156
|
+
putMetricAlarm(args: PutMetricAlarmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutMetricAlarmCommandOutput) => void): void;
|
|
157
|
+
|
|
158
|
+
putMetricData(args: PutMetricDataCommandInput, options?: __HttpHandlerOptions): Promise<PutMetricDataCommandOutput>;
|
|
159
|
+
putMetricData(args: PutMetricDataCommandInput, cb: (err: any, data?: PutMetricDataCommandOutput) => void): void;
|
|
160
|
+
putMetricData(args: PutMetricDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutMetricDataCommandOutput) => void): void;
|
|
161
|
+
|
|
162
|
+
putMetricStream(args: PutMetricStreamCommandInput, options?: __HttpHandlerOptions): Promise<PutMetricStreamCommandOutput>;
|
|
163
|
+
putMetricStream(args: PutMetricStreamCommandInput, cb: (err: any, data?: PutMetricStreamCommandOutput) => void): void;
|
|
164
|
+
putMetricStream(args: PutMetricStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutMetricStreamCommandOutput) => void): void;
|
|
165
|
+
|
|
166
|
+
setAlarmState(args: SetAlarmStateCommandInput, options?: __HttpHandlerOptions): Promise<SetAlarmStateCommandOutput>;
|
|
167
|
+
setAlarmState(args: SetAlarmStateCommandInput, cb: (err: any, data?: SetAlarmStateCommandOutput) => void): void;
|
|
168
|
+
setAlarmState(args: SetAlarmStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetAlarmStateCommandOutput) => void): void;
|
|
169
|
+
|
|
170
|
+
startMetricStreams(args: StartMetricStreamsCommandInput, options?: __HttpHandlerOptions): Promise<StartMetricStreamsCommandOutput>;
|
|
171
|
+
startMetricStreams(args: StartMetricStreamsCommandInput, cb: (err: any, data?: StartMetricStreamsCommandOutput) => void): void;
|
|
172
|
+
startMetricStreams(args: StartMetricStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMetricStreamsCommandOutput) => void): void;
|
|
173
|
+
|
|
174
|
+
stopMetricStreams(args: StopMetricStreamsCommandInput, options?: __HttpHandlerOptions): Promise<StopMetricStreamsCommandOutput>;
|
|
175
|
+
stopMetricStreams(args: StopMetricStreamsCommandInput, cb: (err: any, data?: StopMetricStreamsCommandOutput) => void): void;
|
|
176
|
+
stopMetricStreams(args: StopMetricStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopMetricStreamsCommandOutput) => void): void;
|
|
177
|
+
|
|
178
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
179
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
180
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
181
|
+
|
|
182
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
183
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
184
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
185
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
|
|
10
|
+
import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
|
|
11
|
+
import { DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput } from "./commands/DeleteDashboardsCommand";
|
|
12
|
+
import { DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput } from "./commands/DeleteInsightRulesCommand";
|
|
13
|
+
import { DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput } from "./commands/DeleteMetricStreamCommand";
|
|
14
|
+
import { DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput } from "./commands/DescribeAlarmHistoryCommand";
|
|
15
|
+
import { DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput } from "./commands/DescribeAlarmsCommand";
|
|
16
|
+
import { DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput } from "./commands/DescribeAlarmsForMetricCommand";
|
|
17
|
+
import { DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput } from "./commands/DescribeAnomalyDetectorsCommand";
|
|
18
|
+
import { DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput } from "./commands/DescribeInsightRulesCommand";
|
|
19
|
+
import { DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput } from "./commands/DisableAlarmActionsCommand";
|
|
20
|
+
import { DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput } from "./commands/DisableInsightRulesCommand";
|
|
21
|
+
import { EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput } from "./commands/EnableAlarmActionsCommand";
|
|
22
|
+
import { EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput } from "./commands/EnableInsightRulesCommand";
|
|
23
|
+
import { GetDashboardCommandInput, GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
|
|
24
|
+
import { GetInsightRuleReportCommandInput, GetInsightRuleReportCommandOutput } from "./commands/GetInsightRuleReportCommand";
|
|
25
|
+
import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "./commands/GetMetricDataCommand";
|
|
26
|
+
import { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput } from "./commands/GetMetricStatisticsCommand";
|
|
27
|
+
import { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
|
|
28
|
+
import { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
|
|
29
|
+
import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
|
|
30
|
+
import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
|
|
31
|
+
import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "./commands/ListMetricStreamsCommand";
|
|
32
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
33
|
+
import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from "./commands/PutAnomalyDetectorCommand";
|
|
34
|
+
import { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput } from "./commands/PutCompositeAlarmCommand";
|
|
35
|
+
import { PutDashboardCommandInput, PutDashboardCommandOutput } from "./commands/PutDashboardCommand";
|
|
36
|
+
import { PutInsightRuleCommandInput, PutInsightRuleCommandOutput } from "./commands/PutInsightRuleCommand";
|
|
37
|
+
import { PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput } from "./commands/PutMetricAlarmCommand";
|
|
38
|
+
import { PutMetricDataCommandInput, PutMetricDataCommandOutput } from "./commands/PutMetricDataCommand";
|
|
39
|
+
import { PutMetricStreamCommandInput, PutMetricStreamCommandOutput } from "./commands/PutMetricStreamCommand";
|
|
40
|
+
import { SetAlarmStateCommandInput, SetAlarmStateCommandOutput } from "./commands/SetAlarmStateCommand";
|
|
41
|
+
import { StartMetricStreamsCommandInput, StartMetricStreamsCommandOutput } from "./commands/StartMetricStreamsCommand";
|
|
42
|
+
import { StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput } from "./commands/StopMetricStreamsCommand";
|
|
43
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
44
|
+
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 interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
48
|
+
|
|
49
|
+
requestHandler?: __HttpHandler;
|
|
50
|
+
|
|
51
|
+
sha256?: __HashConstructor;
|
|
52
|
+
|
|
53
|
+
urlParser?: __UrlParser;
|
|
54
|
+
|
|
55
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
56
|
+
|
|
57
|
+
streamCollector?: __StreamCollector;
|
|
58
|
+
|
|
59
|
+
base64Decoder?: __Decoder;
|
|
60
|
+
|
|
61
|
+
base64Encoder?: __Encoder;
|
|
62
|
+
|
|
63
|
+
utf8Decoder?: __Decoder;
|
|
64
|
+
|
|
65
|
+
utf8Encoder?: __Encoder;
|
|
66
|
+
|
|
67
|
+
runtime?: string;
|
|
68
|
+
|
|
69
|
+
disableHostPrefix?: boolean;
|
|
70
|
+
|
|
71
|
+
maxAttempts?: number | __Provider<number>;
|
|
72
|
+
|
|
73
|
+
retryMode?: string | __Provider<string>;
|
|
74
|
+
|
|
75
|
+
logger?: __Logger;
|
|
76
|
+
|
|
77
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
78
|
+
|
|
79
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
80
|
+
|
|
81
|
+
serviceId?: string;
|
|
82
|
+
|
|
83
|
+
region?: string | __Provider<string>;
|
|
84
|
+
|
|
85
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
86
|
+
|
|
87
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
88
|
+
|
|
89
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
90
|
+
|
|
91
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
92
|
+
}
|
|
93
|
+
declare type CloudWatchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
94
|
+
|
|
95
|
+
export interface CloudWatchClientConfig extends CloudWatchClientConfigType {
|
|
96
|
+
}
|
|
97
|
+
declare type CloudWatchClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
98
|
+
|
|
99
|
+
export interface CloudWatchClientResolvedConfig extends CloudWatchClientResolvedConfigType {
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export declare class CloudWatchClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudWatchClientResolvedConfig> {
|
|
103
|
+
|
|
104
|
+
readonly config: CloudWatchClientResolvedConfig;
|
|
105
|
+
constructor(configuration: CloudWatchClientConfig);
|
|
106
|
+
|
|
107
|
+
destroy(): void;
|
|
108
|
+
}
|
|
109
|
+
export {};
|
|
@@ -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 { DeleteAlarmsInput } from "../models/models_0";
|
|
5
|
+
export interface DeleteAlarmsCommandInput extends DeleteAlarmsInput {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteAlarmsCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteAlarmsCommand extends $Command<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput, CloudWatchClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteAlarmsCommandInput;
|
|
12
|
+
constructor(input: DeleteAlarmsCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput>;
|
|
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 { DeleteAnomalyDetectorInput, DeleteAnomalyDetectorOutput } from "../models/models_0";
|
|
5
|
+
export interface DeleteAnomalyDetectorCommandInput extends DeleteAnomalyDetectorInput {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetectorOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteAnomalyDetectorCommand extends $Command<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, CloudWatchClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteAnomalyDetectorCommandInput;
|
|
12
|
+
constructor(input: DeleteAnomalyDetectorCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput>;
|
|
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 { DeleteDashboardsInput, DeleteDashboardsOutput } from "../models/models_0";
|
|
5
|
+
export interface DeleteDashboardsCommandInput extends DeleteDashboardsInput {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteDashboardsCommandOutput extends DeleteDashboardsOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteDashboardsCommand extends $Command<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput, CloudWatchClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteDashboardsCommandInput;
|
|
12
|
+
constructor(input: DeleteDashboardsCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput>;
|
|
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 { DeleteInsightRulesInput, DeleteInsightRulesOutput } from "../models/models_0";
|
|
5
|
+
export interface DeleteInsightRulesCommandInput extends DeleteInsightRulesInput {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteInsightRulesCommandOutput extends DeleteInsightRulesOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteInsightRulesCommand extends $Command<DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteInsightRulesCommandInput;
|
|
12
|
+
constructor(input: DeleteInsightRulesCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|