@aws-sdk/client-cloudwatch 3.1178.0 → 3.1180.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 +12 -11
- package/dist-es/schemas/schemas_0.js +11 -10
- package/dist-types/commands/GetOTelEnrichmentCommand.d.ts +1 -0
- package/dist-types/commands/StartOTelEnrichmentCommand.d.ts +15 -8
- package/dist-types/commands/UpdateOTelEnrichmentCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +53 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- 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.1179.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -577,6 +577,7 @@ const _ES = "ExtendedStatistics";
|
|
|
577
577
|
const _ESv = "EvaluationState";
|
|
578
578
|
const _ESx = "ExtendedStatistic";
|
|
579
579
|
const _ET = "EndTime";
|
|
580
|
+
const _ETE = "EnableTagEnrichment";
|
|
580
581
|
const _ETK = "ExcludedTagKeys";
|
|
581
582
|
const _ETO = "EndTimeOffset";
|
|
582
583
|
const _ETR = "ExcludedTimeRanges";
|
|
@@ -1387,8 +1388,8 @@ var GetOTelEnrichmentInput$ = [3, n0, _GOTEI,
|
|
|
1387
1388
|
];
|
|
1388
1389
|
var GetOTelEnrichmentOutput$ = [3, n0, _GOTEO,
|
|
1389
1390
|
0,
|
|
1390
|
-
[_S, _IF, _EF, _CAr, _UA],
|
|
1391
|
-
[0, () => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4], 1
|
|
1391
|
+
[_S, _IF, _EF, _CAr, _UA, _ETE],
|
|
1392
|
+
[0, () => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4, 2], 1
|
|
1392
1393
|
];
|
|
1393
1394
|
var GetResourceMetricsConfigurationInput$ = [3, n0, _GRMCI,
|
|
1394
1395
|
0,
|
|
@@ -1747,13 +1748,13 @@ var StartMetricStreamsOutput$ = [3, n0, _SMSO,
|
|
|
1747
1748
|
];
|
|
1748
1749
|
var StartOTelEnrichmentInput$ = [3, n0, _SOTEI,
|
|
1749
1750
|
0,
|
|
1750
|
-
[_IF, _EF],
|
|
1751
|
-
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList]
|
|
1751
|
+
[_IF, _EF, _ETE],
|
|
1752
|
+
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 2]
|
|
1752
1753
|
];
|
|
1753
1754
|
var StartOTelEnrichmentOutput$ = [3, n0, _SOTEO,
|
|
1754
1755
|
0,
|
|
1755
|
-
[_IF, _EF, _CAr, _UA],
|
|
1756
|
-
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4]
|
|
1756
|
+
[_IF, _EF, _CAr, _UA, _ETE],
|
|
1757
|
+
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4, 2]
|
|
1757
1758
|
];
|
|
1758
1759
|
var StatisticSet$ = [3, n0, _SS,
|
|
1759
1760
|
0,
|
|
@@ -1807,13 +1808,13 @@ var UntagResourceOutput$ = [3, n0, _URO,
|
|
|
1807
1808
|
];
|
|
1808
1809
|
var UpdateOTelEnrichmentInput$ = [3, n0, _UOTEI,
|
|
1809
1810
|
0,
|
|
1810
|
-
[_IF, _EF],
|
|
1811
|
-
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList]
|
|
1811
|
+
[_IF, _EF, _ETE],
|
|
1812
|
+
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 2]
|
|
1812
1813
|
];
|
|
1813
1814
|
var UpdateOTelEnrichmentOutput$ = [3, n0, _UOTEO,
|
|
1814
1815
|
0,
|
|
1815
|
-
[_IF, _EF, _CAr, _UA],
|
|
1816
|
-
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4]
|
|
1816
|
+
[_IF, _EF, _CAr, _UA, _ETE],
|
|
1817
|
+
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4, 2]
|
|
1817
1818
|
];
|
|
1818
1819
|
var UpdateResourceMetricsConfigurationInput$ = [3, n0, _URMCI,
|
|
1819
1820
|
0,
|
|
@@ -162,6 +162,7 @@ const _ES = "ExtendedStatistics";
|
|
|
162
162
|
const _ESv = "EvaluationState";
|
|
163
163
|
const _ESx = "ExtendedStatistic";
|
|
164
164
|
const _ET = "EndTime";
|
|
165
|
+
const _ETE = "EnableTagEnrichment";
|
|
165
166
|
const _ETK = "ExcludedTagKeys";
|
|
166
167
|
const _ETO = "EndTimeOffset";
|
|
167
168
|
const _ETR = "ExcludedTimeRanges";
|
|
@@ -975,8 +976,8 @@ export var GetOTelEnrichmentInput$ = [3, n0, _GOTEI,
|
|
|
975
976
|
];
|
|
976
977
|
export var GetOTelEnrichmentOutput$ = [3, n0, _GOTEO,
|
|
977
978
|
0,
|
|
978
|
-
[_S, _IF, _EF, _CAr, _UA],
|
|
979
|
-
[0, () => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4], 1
|
|
979
|
+
[_S, _IF, _EF, _CAr, _UA, _ETE],
|
|
980
|
+
[0, () => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4, 2], 1
|
|
980
981
|
];
|
|
981
982
|
export var GetResourceMetricsConfigurationInput$ = [3, n0, _GRMCI,
|
|
982
983
|
0,
|
|
@@ -1335,13 +1336,13 @@ export var StartMetricStreamsOutput$ = [3, n0, _SMSO,
|
|
|
1335
1336
|
];
|
|
1336
1337
|
export var StartOTelEnrichmentInput$ = [3, n0, _SOTEI,
|
|
1337
1338
|
0,
|
|
1338
|
-
[_IF, _EF],
|
|
1339
|
-
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList]
|
|
1339
|
+
[_IF, _EF, _ETE],
|
|
1340
|
+
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 2]
|
|
1340
1341
|
];
|
|
1341
1342
|
export var StartOTelEnrichmentOutput$ = [3, n0, _SOTEO,
|
|
1342
1343
|
0,
|
|
1343
|
-
[_IF, _EF, _CAr, _UA],
|
|
1344
|
-
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4]
|
|
1344
|
+
[_IF, _EF, _CAr, _UA, _ETE],
|
|
1345
|
+
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4, 2]
|
|
1345
1346
|
];
|
|
1346
1347
|
export var StatisticSet$ = [3, n0, _SS,
|
|
1347
1348
|
0,
|
|
@@ -1395,13 +1396,13 @@ export var UntagResourceOutput$ = [3, n0, _URO,
|
|
|
1395
1396
|
];
|
|
1396
1397
|
export var UpdateOTelEnrichmentInput$ = [3, n0, _UOTEI,
|
|
1397
1398
|
0,
|
|
1398
|
-
[_IF, _EF],
|
|
1399
|
-
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList]
|
|
1399
|
+
[_IF, _EF, _ETE],
|
|
1400
|
+
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 2]
|
|
1400
1401
|
];
|
|
1401
1402
|
export var UpdateOTelEnrichmentOutput$ = [3, n0, _UOTEO,
|
|
1402
1403
|
0,
|
|
1403
|
-
[_IF, _EF, _CAr, _UA],
|
|
1404
|
-
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4]
|
|
1404
|
+
[_IF, _EF, _CAr, _UA, _ETE],
|
|
1405
|
+
[() => OTelEnrichmentMetricSelectorList, () => OTelEnrichmentMetricSelectorList, 4, 4, 2]
|
|
1405
1406
|
];
|
|
1406
1407
|
export var UpdateResourceMetricsConfigurationInput$ = [3, n0, _URMCI,
|
|
1407
1408
|
0,
|
|
@@ -27,15 +27,20 @@ declare const StartOTelEnrichmentCommand_base: {
|
|
|
27
27
|
* <p>Enables enrichment and PromQL access for CloudWatch vended metrics for <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/UsingResourceTagsForTelemetry.html">supported Amazon Web Services resources</a> in the account. Once enabled,
|
|
28
28
|
* metrics that contain a resource identifier dimension (for example, EC2
|
|
29
29
|
* <code>CPUUtilization</code> with an <code>InstanceId</code> dimension) are enriched
|
|
30
|
-
* with resource ARN and resource tag labels and become queryable
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* with resource ARN labels and, optionally, resource tag labels, and become queryable
|
|
31
|
+
* using PromQL.</p>
|
|
32
|
+
* <p>To include resource tag labels, you must also enable resource tags on telemetry for
|
|
33
|
+
* the account. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/EnableResourceTagsOnTelemetry.html">Enable
|
|
34
|
+
* resource tags on telemetry</a>. If <code>EnableTagEnrichment</code> is
|
|
35
|
+
* <code>false</code>, enrichment reads no resource tags, so it does not require
|
|
36
|
+
* resource tags on telemetry.</p>
|
|
34
37
|
* <p>Optionally, <code>IncludeFilters</code> and <code>ExcludeFilters</code> limit
|
|
35
|
-
* enrichment to a subset of the account's metrics
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
38
|
+
* enrichment to a subset of the account's metrics, and <code>EnableTagEnrichment</code>
|
|
39
|
+
* controls whether enriched metrics include resource tag labels. These settings are
|
|
40
|
+
* stored only when this operation starts enrichment. Calling
|
|
41
|
+
* <code>StartOTelEnrichment</code> for an account where enrichment is already running
|
|
42
|
+
* has no effect and does not modify the filters or the tag enrichment setting that are
|
|
43
|
+
* applied. To change them, use <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UpdateOTelEnrichment.html">UpdateOTelEnrichment</a>.</p>
|
|
39
44
|
* @example
|
|
40
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
46
|
* ```javascript
|
|
@@ -61,6 +66,7 @@ declare const StartOTelEnrichmentCommand_base: {
|
|
|
61
66
|
* ],
|
|
62
67
|
* },
|
|
63
68
|
* ],
|
|
69
|
+
* EnableTagEnrichment: true || false,
|
|
64
70
|
* };
|
|
65
71
|
* const command = new StartOTelEnrichmentCommand(input);
|
|
66
72
|
* const response = await client.send(command);
|
|
@@ -83,6 +89,7 @@ declare const StartOTelEnrichmentCommand_base: {
|
|
|
83
89
|
* // ],
|
|
84
90
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
85
91
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
92
|
+
* // EnableTagEnrichment: true || false,
|
|
86
93
|
* // };
|
|
87
94
|
*
|
|
88
95
|
* ```
|
|
@@ -58,6 +58,7 @@ declare const UpdateOTelEnrichmentCommand_base: {
|
|
|
58
58
|
* ],
|
|
59
59
|
* },
|
|
60
60
|
* ],
|
|
61
|
+
* EnableTagEnrichment: true || false,
|
|
61
62
|
* };
|
|
62
63
|
* const command = new UpdateOTelEnrichmentCommand(input);
|
|
63
64
|
* const response = await client.send(command);
|
|
@@ -80,6 +81,7 @@ declare const UpdateOTelEnrichmentCommand_base: {
|
|
|
80
81
|
* // ],
|
|
81
82
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
82
83
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
84
|
+
* // EnableTagEnrichment: true || false,
|
|
83
85
|
* // };
|
|
84
86
|
*
|
|
85
87
|
* ```
|
|
@@ -3775,6 +3775,12 @@ export interface GetOTelEnrichmentOutput {
|
|
|
3775
3775
|
* @public
|
|
3776
3776
|
*/
|
|
3777
3777
|
UpdatedAt?: Date | undefined;
|
|
3778
|
+
/**
|
|
3779
|
+
* <p>Specifies whether enriched metrics include resource tag labels for the account.
|
|
3780
|
+
* This parameter is omitted when enrichment is stopped.</p>
|
|
3781
|
+
* @public
|
|
3782
|
+
*/
|
|
3783
|
+
EnableTagEnrichment?: boolean | undefined;
|
|
3778
3784
|
}
|
|
3779
3785
|
/**
|
|
3780
3786
|
* <p>Specifies the resource ARN for a <code>GetResourceMetricsConfiguration</code>
|
|
@@ -4073,6 +4079,13 @@ export interface ListMetricsInput {
|
|
|
4073
4079
|
* <p>The results that are returned are an approximation of the value you specify. There is
|
|
4074
4080
|
* a low probability that the returned results include metrics with last published data as
|
|
4075
4081
|
* much as 50 minutes more than the specified time interval.</p>
|
|
4082
|
+
* <p>A namespace can contain many metrics that published data in the past two weeks but not
|
|
4083
|
+
* in the past three hours. In this case, a page of results can contain few or no
|
|
4084
|
+
* metrics and still include a <code>NextToken</code>. You need to continue making calls
|
|
4085
|
+
* with the returned <code>NextToken</code> until no token is returned. If you need a
|
|
4086
|
+
* continuous feed of active metrics across namespaces, use metric streams. For more
|
|
4087
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html">Use metric
|
|
4088
|
+
* streams</a>.</p>
|
|
4076
4089
|
* @public
|
|
4077
4090
|
*/
|
|
4078
4091
|
RecentlyActive?: RecentlyActive | undefined;
|
|
@@ -6088,6 +6101,18 @@ export interface StartOTelEnrichmentInput {
|
|
|
6088
6101
|
* @public
|
|
6089
6102
|
*/
|
|
6090
6103
|
ExcludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
|
|
6104
|
+
/**
|
|
6105
|
+
* <p>Specifies whether enriched metrics include resource tag labels. If
|
|
6106
|
+
* <code>true</code>, enriched metrics include resource tag labels. If
|
|
6107
|
+
* <code>false</code>, they include resource ARN labels but no resource tag labels. If
|
|
6108
|
+
* you omit this parameter, the default is <code>true</code>.</p>
|
|
6109
|
+
* <p>When <code>EnableTagEnrichment</code> is <code>true</code>, enriched metrics that
|
|
6110
|
+
* carry resource tag labels are charged at the OTel enrichment rate. For more information,
|
|
6111
|
+
* see <a href="https://aws.amazon.com/cloudwatch/pricing/">Amazon CloudWatch
|
|
6112
|
+
* Pricing</a>.</p>
|
|
6113
|
+
* @public
|
|
6114
|
+
*/
|
|
6115
|
+
EnableTagEnrichment?: boolean | undefined;
|
|
6091
6116
|
}
|
|
6092
6117
|
/**
|
|
6093
6118
|
* @public
|
|
@@ -6114,6 +6139,12 @@ export interface StartOTelEnrichmentOutput {
|
|
|
6114
6139
|
* @public
|
|
6115
6140
|
*/
|
|
6116
6141
|
UpdatedAt?: Date | undefined;
|
|
6142
|
+
/**
|
|
6143
|
+
* <p>Specifies whether enriched metrics include resource tag labels for the
|
|
6144
|
+
* account.</p>
|
|
6145
|
+
* @public
|
|
6146
|
+
*/
|
|
6147
|
+
EnableTagEnrichment?: boolean | undefined;
|
|
6117
6148
|
}
|
|
6118
6149
|
/**
|
|
6119
6150
|
* @public
|
|
@@ -6243,6 +6274,21 @@ export interface UpdateOTelEnrichmentInput {
|
|
|
6243
6274
|
* @public
|
|
6244
6275
|
*/
|
|
6245
6276
|
ExcludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
|
|
6277
|
+
/**
|
|
6278
|
+
* <p>Specifies whether enriched metrics include resource tag labels. If
|
|
6279
|
+
* <code>true</code>, enriched metrics include resource tag labels. If
|
|
6280
|
+
* <code>false</code>, they include resource ARN labels but no resource tag labels. If
|
|
6281
|
+
* you omit this parameter, the stored value is not changed. The operation also replaces
|
|
6282
|
+
* the stored filters, so to change only this setting, specify the current
|
|
6283
|
+
* <code>IncludeFilters</code> and <code>ExcludeFilters</code> in the same
|
|
6284
|
+
* request.</p>
|
|
6285
|
+
* <p>When <code>EnableTagEnrichment</code> is <code>true</code>, enriched metrics that
|
|
6286
|
+
* carry resource tag labels are charged at the OTel enrichment rate. For more information,
|
|
6287
|
+
* see <a href="https://aws.amazon.com/cloudwatch/pricing/">Amazon CloudWatch
|
|
6288
|
+
* Pricing</a>.</p>
|
|
6289
|
+
* @public
|
|
6290
|
+
*/
|
|
6291
|
+
EnableTagEnrichment?: boolean | undefined;
|
|
6246
6292
|
}
|
|
6247
6293
|
/**
|
|
6248
6294
|
* @public
|
|
@@ -6273,6 +6319,13 @@ export interface UpdateOTelEnrichmentOutput {
|
|
|
6273
6319
|
* @public
|
|
6274
6320
|
*/
|
|
6275
6321
|
UpdatedAt?: Date | undefined;
|
|
6322
|
+
/**
|
|
6323
|
+
* <p>Specifies whether enriched metrics include resource tag labels for the account
|
|
6324
|
+
* after the update. If the request omits <code>EnableTagEnrichment</code>, this is the
|
|
6325
|
+
* value that was already stored.</p>
|
|
6326
|
+
* @public
|
|
6327
|
+
*/
|
|
6328
|
+
EnableTagEnrichment?: boolean | undefined;
|
|
6276
6329
|
}
|
|
6277
6330
|
/**
|
|
6278
6331
|
* <p>Specifies the resource ARN and optional replacement metric selections for an
|
|
@@ -665,6 +665,7 @@ export interface GetOTelEnrichmentOutput {
|
|
|
665
665
|
ExcludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
|
|
666
666
|
CreatedAt?: Date | undefined;
|
|
667
667
|
UpdatedAt?: Date | undefined;
|
|
668
|
+
EnableTagEnrichment?: boolean | undefined;
|
|
668
669
|
}
|
|
669
670
|
export interface GetResourceMetricsConfigurationInput {
|
|
670
671
|
ResourceArn: string | undefined;
|
|
@@ -919,12 +920,14 @@ export interface StartMetricStreamsOutput {}
|
|
|
919
920
|
export interface StartOTelEnrichmentInput {
|
|
920
921
|
IncludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
|
|
921
922
|
ExcludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
|
|
923
|
+
EnableTagEnrichment?: boolean | undefined;
|
|
922
924
|
}
|
|
923
925
|
export interface StartOTelEnrichmentOutput {
|
|
924
926
|
IncludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
|
|
925
927
|
ExcludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
|
|
926
928
|
CreatedAt?: Date | undefined;
|
|
927
929
|
UpdatedAt?: Date | undefined;
|
|
930
|
+
EnableTagEnrichment?: boolean | undefined;
|
|
928
931
|
}
|
|
929
932
|
export interface StopMetricStreamsInput {
|
|
930
933
|
Names: string[] | undefined;
|
|
@@ -945,12 +948,14 @@ export interface UntagResourceOutput {}
|
|
|
945
948
|
export interface UpdateOTelEnrichmentInput {
|
|
946
949
|
IncludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
|
|
947
950
|
ExcludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
|
|
951
|
+
EnableTagEnrichment?: boolean | undefined;
|
|
948
952
|
}
|
|
949
953
|
export interface UpdateOTelEnrichmentOutput {
|
|
950
954
|
IncludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
|
|
951
955
|
ExcludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
|
|
952
956
|
CreatedAt?: Date | undefined;
|
|
953
957
|
UpdatedAt?: Date | undefined;
|
|
958
|
+
EnableTagEnrichment?: boolean | undefined;
|
|
954
959
|
}
|
|
955
960
|
export interface UpdateResourceMetricsConfigurationInput {
|
|
956
961
|
ResourceArn: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1180.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudwatch",
|
|
6
6
|
"license": "Apache-2.0",
|