@aws-sdk/client-cloudwatch 3.1084.0 → 3.1085.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +11 -9
- package/dist-es/schemas/schemas_0.js +11 -8
- package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +4 -0
- package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +4 -2
- package/dist-types/models/models_0.d.ts +29 -0
- package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +6 -1
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1084.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -393,6 +393,8 @@ const _ACl = "AlarmContributors";
|
|
|
393
393
|
const _AD = "AnomalyDetector";
|
|
394
394
|
const _ADC = "AnomalyDetectorConfiguration";
|
|
395
395
|
const _ADETR = "AnomalyDetectorExcludedTimeRanges";
|
|
396
|
+
const _ADI = "AnomalyDetectorId";
|
|
397
|
+
const _ADIn = "AnomalyDetectorIds";
|
|
396
398
|
const _ADKK = "AssociateDatasetKmsKey";
|
|
397
399
|
const _ADKKI = "AssociateDatasetKmsKeyInput";
|
|
398
400
|
const _ADKKO = "AssociateDatasetKmsKeyOutput";
|
|
@@ -948,8 +950,8 @@ var AlarmPromQLCriteria$ = [3, n0, _APQLC,
|
|
|
948
950
|
];
|
|
949
951
|
var AnomalyDetector$ = [3, n0, _AD,
|
|
950
952
|
0,
|
|
951
|
-
[_N, _MN, _D, _St, _C, _SV, _MC, _SMAD, _MMAD],
|
|
952
|
-
[0, 0, () => Dimensions, 0, () => AnomalyDetectorConfiguration$, 0, () => MetricCharacteristics$, () => SingleMetricAnomalyDetector$, () => MetricMathAnomalyDetector$]
|
|
953
|
+
[_ADI, _N, _MN, _D, _St, _C, _SV, _MC, _SMAD, _MMAD],
|
|
954
|
+
[0, 0, 0, () => Dimensions, 0, () => AnomalyDetectorConfiguration$, 0, () => MetricCharacteristics$, () => SingleMetricAnomalyDetector$, () => MetricMathAnomalyDetector$]
|
|
953
955
|
];
|
|
954
956
|
var AnomalyDetectorConfiguration$ = [3, n0, _ADC,
|
|
955
957
|
0,
|
|
@@ -998,8 +1000,8 @@ var DeleteAlarmsInput$ = [3, n0, _DAI,
|
|
|
998
1000
|
];
|
|
999
1001
|
var DeleteAnomalyDetectorInput$ = [3, n0, _DADI,
|
|
1000
1002
|
0,
|
|
1001
|
-
[_N, _MN, _D, _St, _SMAD, _MMAD],
|
|
1002
|
-
[0, 0, () => Dimensions, 0, () => SingleMetricAnomalyDetector$, () => MetricMathAnomalyDetector$]
|
|
1003
|
+
[_ADI, _N, _MN, _D, _St, _SMAD, _MMAD],
|
|
1004
|
+
[0, 0, 0, () => Dimensions, 0, () => SingleMetricAnomalyDetector$, () => MetricMathAnomalyDetector$]
|
|
1003
1005
|
];
|
|
1004
1006
|
var DeleteAnomalyDetectorOutput$ = [3, n0, _DADO,
|
|
1005
1007
|
0,
|
|
@@ -1078,8 +1080,8 @@ var DescribeAlarmsOutput$ = [3, n0, _DAO,
|
|
|
1078
1080
|
];
|
|
1079
1081
|
var DescribeAnomalyDetectorsInput$ = [3, n0, _DADIe,
|
|
1080
1082
|
0,
|
|
1081
|
-
[_NT, _MRa, _N, _MN, _D, _ADT],
|
|
1082
|
-
[0, 1, 0, 0, () => Dimensions, 64 | 0]
|
|
1083
|
+
[_ADIn, _NT, _MRa, _N, _MN, _D, _ADT],
|
|
1084
|
+
[64 | 0, 0, 1, 0, 0, () => Dimensions, 64 | 0]
|
|
1083
1085
|
];
|
|
1084
1086
|
var DescribeAnomalyDetectorsOutput$ = [3, n0, _DADOe,
|
|
1085
1087
|
0,
|
|
@@ -1438,8 +1440,8 @@ var PutAnomalyDetectorInput$ = [3, n0, _PADI,
|
|
|
1438
1440
|
];
|
|
1439
1441
|
var PutAnomalyDetectorOutput$ = [3, n0, _PADO,
|
|
1440
1442
|
0,
|
|
1441
|
-
[],
|
|
1442
|
-
[]
|
|
1443
|
+
[_ADI],
|
|
1444
|
+
[0]
|
|
1443
1445
|
];
|
|
1444
1446
|
var PutCompositeAlarmInput$ = [3, n0, _PCAI,
|
|
1445
1447
|
0,
|
|
@@ -10,6 +10,8 @@ const _ACl = "AlarmContributors";
|
|
|
10
10
|
const _AD = "AnomalyDetector";
|
|
11
11
|
const _ADC = "AnomalyDetectorConfiguration";
|
|
12
12
|
const _ADETR = "AnomalyDetectorExcludedTimeRanges";
|
|
13
|
+
const _ADI = "AnomalyDetectorId";
|
|
14
|
+
const _ADIn = "AnomalyDetectorIds";
|
|
13
15
|
const _ADKK = "AssociateDatasetKmsKey";
|
|
14
16
|
const _ADKKI = "AssociateDatasetKmsKeyInput";
|
|
15
17
|
const _ADKKO = "AssociateDatasetKmsKeyOutput";
|
|
@@ -568,8 +570,8 @@ export var AlarmPromQLCriteria$ = [3, n0, _APQLC,
|
|
|
568
570
|
];
|
|
569
571
|
export var AnomalyDetector$ = [3, n0, _AD,
|
|
570
572
|
0,
|
|
571
|
-
[_N, _MN, _D, _St, _C, _SV, _MC, _SMAD, _MMAD],
|
|
572
|
-
[0, 0, () => Dimensions, 0, () => AnomalyDetectorConfiguration$, 0, () => MetricCharacteristics$, () => SingleMetricAnomalyDetector$, () => MetricMathAnomalyDetector$]
|
|
573
|
+
[_ADI, _N, _MN, _D, _St, _C, _SV, _MC, _SMAD, _MMAD],
|
|
574
|
+
[0, 0, 0, () => Dimensions, 0, () => AnomalyDetectorConfiguration$, 0, () => MetricCharacteristics$, () => SingleMetricAnomalyDetector$, () => MetricMathAnomalyDetector$]
|
|
573
575
|
];
|
|
574
576
|
export var AnomalyDetectorConfiguration$ = [3, n0, _ADC,
|
|
575
577
|
0,
|
|
@@ -618,8 +620,8 @@ export var DeleteAlarmsInput$ = [3, n0, _DAI,
|
|
|
618
620
|
];
|
|
619
621
|
export var DeleteAnomalyDetectorInput$ = [3, n0, _DADI,
|
|
620
622
|
0,
|
|
621
|
-
[_N, _MN, _D, _St, _SMAD, _MMAD],
|
|
622
|
-
[0, 0, () => Dimensions, 0, () => SingleMetricAnomalyDetector$, () => MetricMathAnomalyDetector$]
|
|
623
|
+
[_ADI, _N, _MN, _D, _St, _SMAD, _MMAD],
|
|
624
|
+
[0, 0, 0, () => Dimensions, 0, () => SingleMetricAnomalyDetector$, () => MetricMathAnomalyDetector$]
|
|
623
625
|
];
|
|
624
626
|
export var DeleteAnomalyDetectorOutput$ = [3, n0, _DADO,
|
|
625
627
|
0,
|
|
@@ -698,8 +700,8 @@ export var DescribeAlarmsOutput$ = [3, n0, _DAO,
|
|
|
698
700
|
];
|
|
699
701
|
export var DescribeAnomalyDetectorsInput$ = [3, n0, _DADIe,
|
|
700
702
|
0,
|
|
701
|
-
[_NT, _MRa, _N, _MN, _D, _ADT],
|
|
702
|
-
[0, 1, 0, 0, () => Dimensions, 64 | 0]
|
|
703
|
+
[_ADIn, _NT, _MRa, _N, _MN, _D, _ADT],
|
|
704
|
+
[64 | 0, 0, 1, 0, 0, () => Dimensions, 64 | 0]
|
|
703
705
|
];
|
|
704
706
|
export var DescribeAnomalyDetectorsOutput$ = [3, n0, _DADOe,
|
|
705
707
|
0,
|
|
@@ -1058,8 +1060,8 @@ export var PutAnomalyDetectorInput$ = [3, n0, _PADI,
|
|
|
1058
1060
|
];
|
|
1059
1061
|
export var PutAnomalyDetectorOutput$ = [3, n0, _PADO,
|
|
1060
1062
|
0,
|
|
1061
|
-
[],
|
|
1062
|
-
[]
|
|
1063
|
+
[_ADI],
|
|
1064
|
+
[0]
|
|
1063
1065
|
];
|
|
1064
1066
|
export var PutCompositeAlarmInput$ = [3, n0, _PCAI,
|
|
1065
1067
|
0,
|
|
@@ -1252,6 +1254,7 @@ var AlarmTypes = 64 | 0;
|
|
|
1252
1254
|
var AnomalyDetectorExcludedTimeRanges = [1, n0, _ADETR,
|
|
1253
1255
|
0, () => Range$
|
|
1254
1256
|
];
|
|
1257
|
+
var AnomalyDetectorIds = 64 | 0;
|
|
1255
1258
|
var AnomalyDetectors = [1, n0, _ADn,
|
|
1256
1259
|
0, () => AnomalyDetector$
|
|
1257
1260
|
];
|
|
@@ -36,6 +36,7 @@ declare const DeleteAnomalyDetectorCommand_base: {
|
|
|
36
36
|
* const config = {}; // type is CloudWatchClientConfig
|
|
37
37
|
* const client = new CloudWatchClient(config);
|
|
38
38
|
* const input = { // DeleteAnomalyDetectorInput
|
|
39
|
+
* AnomalyDetectorId: "STRING_VALUE",
|
|
39
40
|
* Namespace: "STRING_VALUE",
|
|
40
41
|
* MetricName: "STRING_VALUE",
|
|
41
42
|
* Dimensions: [ // Dimensions
|
|
@@ -39,6 +39,9 @@ declare const DescribeAnomalyDetectorsCommand_base: {
|
|
|
39
39
|
* const config = {}; // type is CloudWatchClientConfig
|
|
40
40
|
* const client = new CloudWatchClient(config);
|
|
41
41
|
* const input = { // DescribeAnomalyDetectorsInput
|
|
42
|
+
* AnomalyDetectorIds: [ // AnomalyDetectorIds
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
42
45
|
* NextToken: "STRING_VALUE",
|
|
43
46
|
* MaxResults: Number("int"),
|
|
44
47
|
* Namespace: "STRING_VALUE",
|
|
@@ -58,6 +61,7 @@ declare const DescribeAnomalyDetectorsCommand_base: {
|
|
|
58
61
|
* // { // DescribeAnomalyDetectorsOutput
|
|
59
62
|
* // AnomalyDetectors: [ // AnomalyDetectors
|
|
60
63
|
* // { // AnomalyDetector
|
|
64
|
+
* // AnomalyDetectorId: "STRING_VALUE",
|
|
61
65
|
* // Namespace: "STRING_VALUE",
|
|
62
66
|
* // MetricName: "STRING_VALUE",
|
|
63
67
|
* // Dimensions: [ // Dimensions
|
|
@@ -98,7 +98,9 @@ declare const PutAnomalyDetectorCommand_base: {
|
|
|
98
98
|
* };
|
|
99
99
|
* const command = new PutAnomalyDetectorCommand(input);
|
|
100
100
|
* const response = await client.send(command);
|
|
101
|
-
* // {
|
|
101
|
+
* // { // PutAnomalyDetectorOutput
|
|
102
|
+
* // AnomalyDetectorId: "STRING_VALUE",
|
|
103
|
+
* // };
|
|
102
104
|
*
|
|
103
105
|
* ```
|
|
104
106
|
*
|
|
@@ -135,7 +137,7 @@ export declare class PutAnomalyDetectorCommand extends PutAnomalyDetectorCommand
|
|
|
135
137
|
protected static __types: {
|
|
136
138
|
api: {
|
|
137
139
|
input: PutAnomalyDetectorInput;
|
|
138
|
-
output:
|
|
140
|
+
output: PutAnomalyDetectorOutput;
|
|
139
141
|
};
|
|
140
142
|
sdk: {
|
|
141
143
|
input: PutAnomalyDetectorCommandInput;
|
|
@@ -474,6 +474,16 @@ export interface SingleMetricAnomalyDetector {
|
|
|
474
474
|
* @public
|
|
475
475
|
*/
|
|
476
476
|
export interface AnomalyDetector {
|
|
477
|
+
/**
|
|
478
|
+
* <p>The unique identifier of the anomaly detector.</p>
|
|
479
|
+
* <note>
|
|
480
|
+
* <p>The identifier does not restrict access to a specific anomaly detector in an IAM
|
|
481
|
+
* policy. Permissions for anomaly detector operations apply to all anomaly detectors
|
|
482
|
+
* in the account.</p>
|
|
483
|
+
* </note>
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
AnomalyDetectorId?: string | undefined;
|
|
477
487
|
/**
|
|
478
488
|
* <p>The namespace of the metric associated with the anomaly detection model.</p>
|
|
479
489
|
*
|
|
@@ -841,6 +851,12 @@ export interface DeleteAlarmsInput {
|
|
|
841
851
|
* @public
|
|
842
852
|
*/
|
|
843
853
|
export interface DeleteAnomalyDetectorInput {
|
|
854
|
+
/**
|
|
855
|
+
* <p>Specifies the unique identifier of the anomaly detector to delete. If you specify
|
|
856
|
+
* this parameter, you do not need to specify a metric to identify the detector.</p>
|
|
857
|
+
* @public
|
|
858
|
+
*/
|
|
859
|
+
AnomalyDetectorId?: string | undefined;
|
|
844
860
|
/**
|
|
845
861
|
* <p>The namespace associated with the anomaly detection model to delete.</p>
|
|
846
862
|
*
|
|
@@ -1807,6 +1823,14 @@ export interface DescribeAlarmsForMetricOutput {
|
|
|
1807
1823
|
* @public
|
|
1808
1824
|
*/
|
|
1809
1825
|
export interface DescribeAnomalyDetectorsInput {
|
|
1826
|
+
/**
|
|
1827
|
+
* <p>Specifies the unique identifiers of the anomaly detectors to describe. You can specify
|
|
1828
|
+
* up to 50 identifiers. If you specify this parameter, you cannot also specify the
|
|
1829
|
+
* <code>Namespace</code>, <code>MetricName</code>, <code>Dimensions</code>, or
|
|
1830
|
+
* <code>AnomalyDetectorTypes</code> metric filters.</p>
|
|
1831
|
+
* @public
|
|
1832
|
+
*/
|
|
1833
|
+
AnomalyDetectorIds?: string[] | undefined;
|
|
1810
1834
|
/**
|
|
1811
1835
|
* <p>Use the token returned by the previous operation to request the next page of
|
|
1812
1836
|
* results.</p>
|
|
@@ -3879,6 +3903,11 @@ export interface PutAnomalyDetectorInput {
|
|
|
3879
3903
|
* @public
|
|
3880
3904
|
*/
|
|
3881
3905
|
export interface PutAnomalyDetectorOutput {
|
|
3906
|
+
/**
|
|
3907
|
+
* <p>The unique identifier of the anomaly detector that you created or updated.</p>
|
|
3908
|
+
* @public
|
|
3909
|
+
*/
|
|
3910
|
+
AnomalyDetectorId?: string | undefined;
|
|
3882
3911
|
}
|
|
3883
3912
|
/**
|
|
3884
3913
|
* @public
|
|
@@ -34,7 +34,7 @@ export declare class PutAnomalyDetectorCommand extends PutAnomalyDetectorCommand
|
|
|
34
34
|
protected static __types: {
|
|
35
35
|
api: {
|
|
36
36
|
input: PutAnomalyDetectorInput;
|
|
37
|
-
output:
|
|
37
|
+
output: PutAnomalyDetectorOutput;
|
|
38
38
|
};
|
|
39
39
|
sdk: {
|
|
40
40
|
input: PutAnomalyDetectorCommandInput;
|
|
@@ -90,6 +90,7 @@ export interface SingleMetricAnomalyDetector {
|
|
|
90
90
|
Stat?: string | undefined;
|
|
91
91
|
}
|
|
92
92
|
export interface AnomalyDetector {
|
|
93
|
+
AnomalyDetectorId?: string | undefined;
|
|
93
94
|
Namespace?: string | undefined;
|
|
94
95
|
MetricName?: string | undefined;
|
|
95
96
|
Dimensions?: Dimension[] | undefined;
|
|
@@ -159,6 +160,7 @@ export interface DeleteAlarmsInput {
|
|
|
159
160
|
AlarmNames: string[] | undefined;
|
|
160
161
|
}
|
|
161
162
|
export interface DeleteAnomalyDetectorInput {
|
|
163
|
+
AnomalyDetectorId?: string | undefined;
|
|
162
164
|
Namespace?: string | undefined;
|
|
163
165
|
MetricName?: string | undefined;
|
|
164
166
|
Dimensions?: Dimension[] | undefined;
|
|
@@ -357,6 +359,7 @@ export interface DescribeAlarmsForMetricOutput {
|
|
|
357
359
|
MetricAlarms?: MetricAlarm[] | undefined;
|
|
358
360
|
}
|
|
359
361
|
export interface DescribeAnomalyDetectorsInput {
|
|
362
|
+
AnomalyDetectorIds?: string[] | undefined;
|
|
360
363
|
NextToken?: string | undefined;
|
|
361
364
|
MaxResults?: number | undefined;
|
|
362
365
|
Namespace?: string | undefined;
|
|
@@ -689,7 +692,9 @@ export interface PutAnomalyDetectorInput {
|
|
|
689
692
|
SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector | undefined;
|
|
690
693
|
MetricMathAnomalyDetector?: MetricMathAnomalyDetector | undefined;
|
|
691
694
|
}
|
|
692
|
-
export interface PutAnomalyDetectorOutput {
|
|
695
|
+
export interface PutAnomalyDetectorOutput {
|
|
696
|
+
AnomalyDetectorId?: string | undefined;
|
|
697
|
+
}
|
|
693
698
|
export interface PutCompositeAlarmInput {
|
|
694
699
|
ActionsEnabled?: boolean | undefined;
|
|
695
700
|
AlarmActions?: string[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1085.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|