@aws-sdk/client-cloudwatch 3.1022.0 → 3.1023.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/README.md +21 -0
- package/dist-cjs/index.js +47 -0
- package/dist-cjs/schemas/schemas_0.js +73 -8
- package/dist-es/CloudWatch.js +6 -0
- package/dist-es/commands/GetOTelEnrichmentCommand.js +16 -0
- package/dist-es/commands/StartOTelEnrichmentCommand.js +16 -0
- package/dist-es/commands/StopOTelEnrichmentCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +69 -4
- package/dist-types/CloudWatch.d.ts +24 -0
- package/dist-types/CloudWatchClient.d.ts +5 -2
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +8 -0
- package/dist-types/commands/GetOTelEnrichmentCommand.d.ts +75 -0
- package/dist-types/commands/PutAlarmMuteRuleCommand.d.ts +1 -1
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +13 -4
- package/dist-types/commands/StartOTelEnrichmentCommand.d.ts +77 -0
- package/dist-types/commands/StopOTelEnrichmentCommand.d.ts +73 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +150 -10
- package/dist-types/schemas/schemas_0.d.ts +12 -1
- package/dist-types/ts3.4/CloudWatch.d.ts +54 -0
- package/dist-types/ts3.4/CloudWatchClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetOTelEnrichmentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StartOTelEnrichmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopOTelEnrichmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionsSuppressedBy, AlarmMuteRuleStatus, AlarmType, AnomalyDetectorStateValue, AnomalyDetectorType, ComparisonOperator, EvaluationState, HistoryItemType, MetricStreamOutputFormat, RecentlyActive, ScanBy, StandardUnit, StateValue, Statistic, StatusCode } from "./enums";
|
|
1
|
+
import type { ActionsSuppressedBy, AlarmMuteRuleStatus, AlarmType, AnomalyDetectorStateValue, AnomalyDetectorType, ComparisonOperator, EvaluationState, HistoryItemType, MetricStreamOutputFormat, OTelEnrichmentStatus, RecentlyActive, ScanBy, StandardUnit, StateValue, Statistic, StatusCode } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Represents an individual contributor to a multi-timeseries alarm, containing information about a specific time series and its contribution to the alarm's state.</p>
|
|
4
4
|
* @public
|
|
@@ -102,6 +102,32 @@ export interface AlarmMuteRuleSummary {
|
|
|
102
102
|
*/
|
|
103
103
|
LastUpdatedTimestamp?: Date | undefined;
|
|
104
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* <p>Contains the configuration that determines how a PromQL alarm evaluates its
|
|
107
|
+
* contributors, including the query to run and the durations that define when contributors
|
|
108
|
+
* transition between states.</p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export interface AlarmPromQLCriteria {
|
|
112
|
+
/**
|
|
113
|
+
* <p>The PromQL query that the alarm evaluates. The query must return a result of vector
|
|
114
|
+
* type. Each entry in the vector result represents an alarm contributor.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
Query: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* <p>The duration, in seconds, that a contributor must be continuously breaching before
|
|
120
|
+
* it transitions to the <code>ALARM</code> state.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
PendingPeriod?: number | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* <p>The duration, in seconds, that a contributor must continuously not be breaching
|
|
126
|
+
* before it transitions back to the <code>OK</code> state.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
RecoveryPeriod?: number | undefined;
|
|
130
|
+
}
|
|
105
131
|
/**
|
|
106
132
|
* <p>Specifies one range of days or times to exclude from use for training an anomaly
|
|
107
133
|
* detection model.</p>
|
|
@@ -1119,6 +1145,40 @@ export interface DescribeAlarmsInput {
|
|
|
1119
1145
|
*/
|
|
1120
1146
|
NextToken?: string | undefined;
|
|
1121
1147
|
}
|
|
1148
|
+
/**
|
|
1149
|
+
* <p>The evaluation criteria for an alarm. This is a union type that currently
|
|
1150
|
+
* supports <code>PromQLCriteria</code>.</p>
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
export type EvaluationCriteria = EvaluationCriteria.PromQLCriteriaMember | EvaluationCriteria.$UnknownMember;
|
|
1154
|
+
/**
|
|
1155
|
+
* @public
|
|
1156
|
+
*/
|
|
1157
|
+
export declare namespace EvaluationCriteria {
|
|
1158
|
+
/**
|
|
1159
|
+
* <p>The PromQL criteria for the alarm evaluation.</p>
|
|
1160
|
+
* @public
|
|
1161
|
+
*/
|
|
1162
|
+
interface PromQLCriteriaMember {
|
|
1163
|
+
PromQLCriteria: AlarmPromQLCriteria;
|
|
1164
|
+
$unknown?: never;
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* @public
|
|
1168
|
+
*/
|
|
1169
|
+
interface $UnknownMember {
|
|
1170
|
+
PromQLCriteria?: never;
|
|
1171
|
+
$unknown: [string, any];
|
|
1172
|
+
}
|
|
1173
|
+
/**
|
|
1174
|
+
* @deprecated unused in schema-serde mode.
|
|
1175
|
+
*
|
|
1176
|
+
*/
|
|
1177
|
+
interface Visitor<T> {
|
|
1178
|
+
PromQLCriteria: (value: AlarmPromQLCriteria) => T;
|
|
1179
|
+
_: (name: string, value: any) => T;
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1122
1182
|
/**
|
|
1123
1183
|
* <p>The details about a metric alarm.</p>
|
|
1124
1184
|
* @public
|
|
@@ -1258,6 +1318,9 @@ export interface MetricAlarm {
|
|
|
1258
1318
|
* <code>missing</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data">Configuring how CloudWatch alarms treat missing data</a>.</p>
|
|
1259
1319
|
* <p>If this parameter is omitted, the default behavior of <code>missing</code> is
|
|
1260
1320
|
* used.</p>
|
|
1321
|
+
* <note>
|
|
1322
|
+
* <p>This parameter is not applicable to PromQL alarms.</p>
|
|
1323
|
+
* </note>
|
|
1261
1324
|
* @public
|
|
1262
1325
|
*/
|
|
1263
1326
|
TreatMissingData?: string | undefined;
|
|
@@ -1298,6 +1361,16 @@ export interface MetricAlarm {
|
|
|
1298
1361
|
* @public
|
|
1299
1362
|
*/
|
|
1300
1363
|
StateTransitionedTimestamp?: Date | undefined;
|
|
1364
|
+
/**
|
|
1365
|
+
* <p>The evaluation criteria for the alarm.</p>
|
|
1366
|
+
* @public
|
|
1367
|
+
*/
|
|
1368
|
+
EvaluationCriteria?: EvaluationCriteria | undefined;
|
|
1369
|
+
/**
|
|
1370
|
+
* <p>The frequency, in seconds, at which the alarm is evaluated.</p>
|
|
1371
|
+
* @public
|
|
1372
|
+
*/
|
|
1373
|
+
EvaluationInterval?: number | undefined;
|
|
1301
1374
|
}
|
|
1302
1375
|
/**
|
|
1303
1376
|
* @public
|
|
@@ -2814,6 +2887,23 @@ export interface GetMetricWidgetImageOutput {
|
|
|
2814
2887
|
*/
|
|
2815
2888
|
MetricWidgetImage?: Uint8Array | undefined;
|
|
2816
2889
|
}
|
|
2890
|
+
/**
|
|
2891
|
+
* @public
|
|
2892
|
+
*/
|
|
2893
|
+
export interface GetOTelEnrichmentInput {
|
|
2894
|
+
}
|
|
2895
|
+
/**
|
|
2896
|
+
* @public
|
|
2897
|
+
*/
|
|
2898
|
+
export interface GetOTelEnrichmentOutput {
|
|
2899
|
+
/**
|
|
2900
|
+
* <p>The status of OTel enrichment for the account. Valid values are
|
|
2901
|
+
* <code>Running</code> (enrichment is enabled) and <code>Stopped</code>
|
|
2902
|
+
* (enrichment is disabled).</p>
|
|
2903
|
+
* @public
|
|
2904
|
+
*/
|
|
2905
|
+
Status: OTelEnrichmentStatus | undefined;
|
|
2906
|
+
}
|
|
2817
2907
|
/**
|
|
2818
2908
|
* @public
|
|
2819
2909
|
*/
|
|
@@ -4122,7 +4212,8 @@ export interface PutMetricAlarmInput {
|
|
|
4122
4212
|
/**
|
|
4123
4213
|
* <p>The name for the metric associated with the alarm. For each
|
|
4124
4214
|
* <code>PutMetricAlarm</code> operation, you must specify either
|
|
4125
|
-
* <code>MetricName</code
|
|
4215
|
+
* <code>MetricName</code>, a <code>Metrics</code> array, or an
|
|
4216
|
+
* <code>EvaluationCriteria</code>.</p>
|
|
4126
4217
|
* <p>If you are creating an alarm based on a math expression, you cannot specify this
|
|
4127
4218
|
* parameter, or any of the <code>Namespace</code>, <code>Dimensions</code>,
|
|
4128
4219
|
* <code>Period</code>, <code>Unit</code>, <code>Statistic</code>, or
|
|
@@ -4267,7 +4358,7 @@ export interface PutMetricAlarmInput {
|
|
|
4267
4358
|
* "M out of N" alarm, this value is the N.</p>
|
|
4268
4359
|
* @public
|
|
4269
4360
|
*/
|
|
4270
|
-
EvaluationPeriods
|
|
4361
|
+
EvaluationPeriods?: number | undefined;
|
|
4271
4362
|
/**
|
|
4272
4363
|
* <p>The number of data points that must be breaching to trigger the alarm. This is used
|
|
4273
4364
|
* only if you are setting an "M out of N" alarm. In that case, this value is the M. For
|
|
@@ -4291,7 +4382,7 @@ export interface PutMetricAlarmInput {
|
|
|
4291
4382
|
* used only for alarms based on anomaly detection models.</p>
|
|
4292
4383
|
* @public
|
|
4293
4384
|
*/
|
|
4294
|
-
ComparisonOperator
|
|
4385
|
+
ComparisonOperator?: ComparisonOperator | undefined;
|
|
4295
4386
|
/**
|
|
4296
4387
|
* <p> Sets how this alarm is to handle missing data points. If
|
|
4297
4388
|
* <code>TreatMissingData</code> is omitted, the default behavior of
|
|
@@ -4304,6 +4395,9 @@ export interface PutMetricAlarmInput {
|
|
|
4304
4395
|
* <code>TreatMissingData</code>. When an <code>AWS/DynamoDB</code> metric has
|
|
4305
4396
|
* missing data, alarms that evaluate that metric remain in their current state.</p>
|
|
4306
4397
|
* </note>
|
|
4398
|
+
* <note>
|
|
4399
|
+
* <p>This parameter is not applicable to PromQL alarms.</p>
|
|
4400
|
+
* </note>
|
|
4307
4401
|
* @public
|
|
4308
4402
|
*/
|
|
4309
4403
|
TreatMissingData?: string | undefined;
|
|
@@ -4321,8 +4415,8 @@ export interface PutMetricAlarmInput {
|
|
|
4321
4415
|
/**
|
|
4322
4416
|
* <p>An array of <code>MetricDataQuery</code> structures that enable you to create an alarm
|
|
4323
4417
|
* based on the result of a metric math expression. For each <code>PutMetricAlarm</code>
|
|
4324
|
-
* operation, you must specify either <code>MetricName</code
|
|
4325
|
-
* array
|
|
4418
|
+
* operation, you must specify either <code>MetricName</code>, a <code>Metrics</code>
|
|
4419
|
+
* array, or an <code>EvaluationCriteria</code>.</p>
|
|
4326
4420
|
* <p>Each item in the <code>Metrics</code> array either retrieves a metric or performs a
|
|
4327
4421
|
* math expression.</p>
|
|
4328
4422
|
* <p>One item in the <code>Metrics</code> array is the expression that the alarm watches.
|
|
@@ -4330,10 +4424,10 @@ export interface PutMetricAlarmInput {
|
|
|
4330
4424
|
* in the array. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDataQuery.html">MetricDataQuery</a>.</p>
|
|
4331
4425
|
* <p>If you use the <code>Metrics</code> parameter, you cannot include the
|
|
4332
4426
|
* <code>Namespace</code>, <code>MetricName</code>, <code>Dimensions</code>,
|
|
4333
|
-
* <code>Period</code>, <code>Unit</code>, <code>Statistic</code>,
|
|
4334
|
-
* <code>ExtendedStatistic</code> parameters of <code>PutMetricAlarm</code>
|
|
4335
|
-
* operation. Instead, you retrieve the metrics you are using in your
|
|
4336
|
-
* part of the <code>Metrics</code> array.</p>
|
|
4427
|
+
* <code>Period</code>, <code>Unit</code>, <code>Statistic</code>,
|
|
4428
|
+
* or <code>ExtendedStatistic</code> parameters of <code>PutMetricAlarm</code>
|
|
4429
|
+
* in the same operation. Instead, you retrieve the metrics you are using in your
|
|
4430
|
+
* math expression as part of the <code>Metrics</code> array.</p>
|
|
4337
4431
|
* @public
|
|
4338
4432
|
*/
|
|
4339
4433
|
Metrics?: MetricDataQuery[] | undefined;
|
|
@@ -4361,6 +4455,32 @@ export interface PutMetricAlarmInput {
|
|
|
4361
4455
|
* @public
|
|
4362
4456
|
*/
|
|
4363
4457
|
ThresholdMetricId?: string | undefined;
|
|
4458
|
+
/**
|
|
4459
|
+
* <p>The evaluation criteria for the alarm. For each <code>PutMetricAlarm</code>
|
|
4460
|
+
* operation, you must specify either <code>MetricName</code>, a <code>Metrics</code>
|
|
4461
|
+
* array, or an <code>EvaluationCriteria</code>.</p>
|
|
4462
|
+
* <p>If you use the <code>EvaluationCriteria</code> parameter, you cannot include the
|
|
4463
|
+
* <code>Namespace</code>, <code>MetricName</code>, <code>Dimensions</code>,
|
|
4464
|
+
* <code>Period</code>, <code>Unit</code>, <code>Statistic</code>,
|
|
4465
|
+
* <code>ExtendedStatistic</code>, <code>Metrics</code>, <code>Threshold</code>,
|
|
4466
|
+
* <code>ComparisonOperator</code>, <code>ThresholdMetricId</code>,
|
|
4467
|
+
* <code>EvaluationPeriods</code>, or <code>DatapointsToAlarm</code> parameters of
|
|
4468
|
+
* <code>PutMetricAlarm</code> in the same operation. Instead, all evaluation parameters
|
|
4469
|
+
* are defined within this structure.</p>
|
|
4470
|
+
* <p>For an example of how to use this parameter, see the <b>PromQL
|
|
4471
|
+
* alarm</b> example on this page.</p>
|
|
4472
|
+
* @public
|
|
4473
|
+
*/
|
|
4474
|
+
EvaluationCriteria?: EvaluationCriteria | undefined;
|
|
4475
|
+
/**
|
|
4476
|
+
* <p>The frequency, in seconds, at which the alarm is evaluated. Valid values are 10,
|
|
4477
|
+
* 20, 30, and any multiple of 60.</p>
|
|
4478
|
+
* <p>This parameter is required for alarms that use <code>EvaluationCriteria</code>, and
|
|
4479
|
+
* cannot be specified for alarms configured with <code>MetricName</code> or
|
|
4480
|
+
* <code>Metrics</code>.</p>
|
|
4481
|
+
* @public
|
|
4482
|
+
*/
|
|
4483
|
+
EvaluationInterval?: number | undefined;
|
|
4364
4484
|
}
|
|
4365
4485
|
/**
|
|
4366
4486
|
* @public
|
|
@@ -4604,6 +4724,16 @@ export interface StartMetricStreamsInput {
|
|
|
4604
4724
|
*/
|
|
4605
4725
|
export interface StartMetricStreamsOutput {
|
|
4606
4726
|
}
|
|
4727
|
+
/**
|
|
4728
|
+
* @public
|
|
4729
|
+
*/
|
|
4730
|
+
export interface StartOTelEnrichmentInput {
|
|
4731
|
+
}
|
|
4732
|
+
/**
|
|
4733
|
+
* @public
|
|
4734
|
+
*/
|
|
4735
|
+
export interface StartOTelEnrichmentOutput {
|
|
4736
|
+
}
|
|
4607
4737
|
/**
|
|
4608
4738
|
* @public
|
|
4609
4739
|
*/
|
|
@@ -4622,6 +4752,16 @@ export interface StopMetricStreamsInput {
|
|
|
4622
4752
|
*/
|
|
4623
4753
|
export interface StopMetricStreamsOutput {
|
|
4624
4754
|
}
|
|
4755
|
+
/**
|
|
4756
|
+
* @public
|
|
4757
|
+
*/
|
|
4758
|
+
export interface StopOTelEnrichmentInput {
|
|
4759
|
+
}
|
|
4760
|
+
/**
|
|
4761
|
+
* @public
|
|
4762
|
+
*/
|
|
4763
|
+
export interface StopOTelEnrichmentOutput {
|
|
4764
|
+
}
|
|
4625
4765
|
/**
|
|
4626
4766
|
* @public
|
|
4627
4767
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
3
|
export declare var CloudWatchServiceException$: StaticErrorSchema;
|
|
4
4
|
export declare var ConcurrentModificationException$: StaticErrorSchema;
|
|
5
5
|
export declare var ConflictException$: StaticErrorSchema;
|
|
@@ -24,6 +24,7 @@ export declare const errorTypeRegistries: TypeRegistry[];
|
|
|
24
24
|
export declare var AlarmContributor$: StaticStructureSchema;
|
|
25
25
|
export declare var AlarmHistoryItem$: StaticStructureSchema;
|
|
26
26
|
export declare var AlarmMuteRuleSummary$: StaticStructureSchema;
|
|
27
|
+
export declare var AlarmPromQLCriteria$: StaticStructureSchema;
|
|
27
28
|
export declare var AnomalyDetector$: StaticStructureSchema;
|
|
28
29
|
export declare var AnomalyDetectorConfiguration$: StaticStructureSchema;
|
|
29
30
|
export declare var CompositeAlarm$: StaticStructureSchema;
|
|
@@ -76,6 +77,8 @@ export declare var GetMetricStreamInput$: StaticStructureSchema;
|
|
|
76
77
|
export declare var GetMetricStreamOutput$: StaticStructureSchema;
|
|
77
78
|
export declare var GetMetricWidgetImageInput$: StaticStructureSchema;
|
|
78
79
|
export declare var GetMetricWidgetImageOutput$: StaticStructureSchema;
|
|
80
|
+
export declare var GetOTelEnrichmentInput$: StaticStructureSchema;
|
|
81
|
+
export declare var GetOTelEnrichmentOutput$: StaticStructureSchema;
|
|
79
82
|
export declare var InsightRule$: StaticStructureSchema;
|
|
80
83
|
export declare var InsightRuleContributor$: StaticStructureSchema;
|
|
81
84
|
export declare var InsightRuleContributorDatapoint$: StaticStructureSchema;
|
|
@@ -132,14 +135,19 @@ export declare var SetAlarmStateInput$: StaticStructureSchema;
|
|
|
132
135
|
export declare var SingleMetricAnomalyDetector$: StaticStructureSchema;
|
|
133
136
|
export declare var StartMetricStreamsInput$: StaticStructureSchema;
|
|
134
137
|
export declare var StartMetricStreamsOutput$: StaticStructureSchema;
|
|
138
|
+
export declare var StartOTelEnrichmentInput$: StaticStructureSchema;
|
|
139
|
+
export declare var StartOTelEnrichmentOutput$: StaticStructureSchema;
|
|
135
140
|
export declare var StatisticSet$: StaticStructureSchema;
|
|
136
141
|
export declare var StopMetricStreamsInput$: StaticStructureSchema;
|
|
137
142
|
export declare var StopMetricStreamsOutput$: StaticStructureSchema;
|
|
143
|
+
export declare var StopOTelEnrichmentInput$: StaticStructureSchema;
|
|
144
|
+
export declare var StopOTelEnrichmentOutput$: StaticStructureSchema;
|
|
138
145
|
export declare var Tag$: StaticStructureSchema;
|
|
139
146
|
export declare var TagResourceInput$: StaticStructureSchema;
|
|
140
147
|
export declare var TagResourceOutput$: StaticStructureSchema;
|
|
141
148
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
142
149
|
export declare var UntagResourceOutput$: StaticStructureSchema;
|
|
150
|
+
export declare var EvaluationCriteria$: StaticUnionSchema;
|
|
143
151
|
export declare var DeleteAlarmMuteRule$: StaticOperationSchema;
|
|
144
152
|
export declare var DeleteAlarms$: StaticOperationSchema;
|
|
145
153
|
export declare var DeleteAnomalyDetector$: StaticOperationSchema;
|
|
@@ -163,6 +171,7 @@ export declare var GetMetricData$: StaticOperationSchema;
|
|
|
163
171
|
export declare var GetMetricStatistics$: StaticOperationSchema;
|
|
164
172
|
export declare var GetMetricStream$: StaticOperationSchema;
|
|
165
173
|
export declare var GetMetricWidgetImage$: StaticOperationSchema;
|
|
174
|
+
export declare var GetOTelEnrichment$: StaticOperationSchema;
|
|
166
175
|
export declare var ListAlarmMuteRules$: StaticOperationSchema;
|
|
167
176
|
export declare var ListDashboards$: StaticOperationSchema;
|
|
168
177
|
export declare var ListManagedInsightRules$: StaticOperationSchema;
|
|
@@ -180,6 +189,8 @@ export declare var PutMetricData$: StaticOperationSchema;
|
|
|
180
189
|
export declare var PutMetricStream$: StaticOperationSchema;
|
|
181
190
|
export declare var SetAlarmState$: StaticOperationSchema;
|
|
182
191
|
export declare var StartMetricStreams$: StaticOperationSchema;
|
|
192
|
+
export declare var StartOTelEnrichment$: StaticOperationSchema;
|
|
183
193
|
export declare var StopMetricStreams$: StaticOperationSchema;
|
|
194
|
+
export declare var StopOTelEnrichment$: StaticOperationSchema;
|
|
184
195
|
export declare var TagResource$: StaticOperationSchema;
|
|
185
196
|
export declare var UntagResource$: StaticOperationSchema;
|
|
@@ -98,6 +98,10 @@ import {
|
|
|
98
98
|
GetMetricWidgetImageCommandInput,
|
|
99
99
|
GetMetricWidgetImageCommandOutput,
|
|
100
100
|
} from "./commands/GetMetricWidgetImageCommand";
|
|
101
|
+
import {
|
|
102
|
+
GetOTelEnrichmentCommandInput,
|
|
103
|
+
GetOTelEnrichmentCommandOutput,
|
|
104
|
+
} from "./commands/GetOTelEnrichmentCommand";
|
|
101
105
|
import {
|
|
102
106
|
ListAlarmMuteRulesCommandInput,
|
|
103
107
|
ListAlarmMuteRulesCommandOutput,
|
|
@@ -166,10 +170,18 @@ import {
|
|
|
166
170
|
StartMetricStreamsCommandInput,
|
|
167
171
|
StartMetricStreamsCommandOutput,
|
|
168
172
|
} from "./commands/StartMetricStreamsCommand";
|
|
173
|
+
import {
|
|
174
|
+
StartOTelEnrichmentCommandInput,
|
|
175
|
+
StartOTelEnrichmentCommandOutput,
|
|
176
|
+
} from "./commands/StartOTelEnrichmentCommand";
|
|
169
177
|
import {
|
|
170
178
|
StopMetricStreamsCommandInput,
|
|
171
179
|
StopMetricStreamsCommandOutput,
|
|
172
180
|
} from "./commands/StopMetricStreamsCommand";
|
|
181
|
+
import {
|
|
182
|
+
StopOTelEnrichmentCommandInput,
|
|
183
|
+
StopOTelEnrichmentCommandOutput,
|
|
184
|
+
} from "./commands/StopOTelEnrichmentCommand";
|
|
173
185
|
import {
|
|
174
186
|
TagResourceCommandInput,
|
|
175
187
|
TagResourceCommandOutput,
|
|
@@ -483,6 +495,20 @@ export interface CloudWatch {
|
|
|
483
495
|
options: __HttpHandlerOptions,
|
|
484
496
|
cb: (err: any, data?: GetMetricWidgetImageCommandOutput) => void
|
|
485
497
|
): void;
|
|
498
|
+
getOTelEnrichment(): Promise<GetOTelEnrichmentCommandOutput>;
|
|
499
|
+
getOTelEnrichment(
|
|
500
|
+
args: GetOTelEnrichmentCommandInput,
|
|
501
|
+
options?: __HttpHandlerOptions
|
|
502
|
+
): Promise<GetOTelEnrichmentCommandOutput>;
|
|
503
|
+
getOTelEnrichment(
|
|
504
|
+
args: GetOTelEnrichmentCommandInput,
|
|
505
|
+
cb: (err: any, data?: GetOTelEnrichmentCommandOutput) => void
|
|
506
|
+
): void;
|
|
507
|
+
getOTelEnrichment(
|
|
508
|
+
args: GetOTelEnrichmentCommandInput,
|
|
509
|
+
options: __HttpHandlerOptions,
|
|
510
|
+
cb: (err: any, data?: GetOTelEnrichmentCommandOutput) => void
|
|
511
|
+
): void;
|
|
486
512
|
listAlarmMuteRules(): Promise<ListAlarmMuteRulesCommandOutput>;
|
|
487
513
|
listAlarmMuteRules(
|
|
488
514
|
args: ListAlarmMuteRulesCommandInput,
|
|
@@ -709,6 +735,20 @@ export interface CloudWatch {
|
|
|
709
735
|
options: __HttpHandlerOptions,
|
|
710
736
|
cb: (err: any, data?: StartMetricStreamsCommandOutput) => void
|
|
711
737
|
): void;
|
|
738
|
+
startOTelEnrichment(): Promise<StartOTelEnrichmentCommandOutput>;
|
|
739
|
+
startOTelEnrichment(
|
|
740
|
+
args: StartOTelEnrichmentCommandInput,
|
|
741
|
+
options?: __HttpHandlerOptions
|
|
742
|
+
): Promise<StartOTelEnrichmentCommandOutput>;
|
|
743
|
+
startOTelEnrichment(
|
|
744
|
+
args: StartOTelEnrichmentCommandInput,
|
|
745
|
+
cb: (err: any, data?: StartOTelEnrichmentCommandOutput) => void
|
|
746
|
+
): void;
|
|
747
|
+
startOTelEnrichment(
|
|
748
|
+
args: StartOTelEnrichmentCommandInput,
|
|
749
|
+
options: __HttpHandlerOptions,
|
|
750
|
+
cb: (err: any, data?: StartOTelEnrichmentCommandOutput) => void
|
|
751
|
+
): void;
|
|
712
752
|
stopMetricStreams(
|
|
713
753
|
args: StopMetricStreamsCommandInput,
|
|
714
754
|
options?: __HttpHandlerOptions
|
|
@@ -722,6 +762,20 @@ export interface CloudWatch {
|
|
|
722
762
|
options: __HttpHandlerOptions,
|
|
723
763
|
cb: (err: any, data?: StopMetricStreamsCommandOutput) => void
|
|
724
764
|
): void;
|
|
765
|
+
stopOTelEnrichment(): Promise<StopOTelEnrichmentCommandOutput>;
|
|
766
|
+
stopOTelEnrichment(
|
|
767
|
+
args: StopOTelEnrichmentCommandInput,
|
|
768
|
+
options?: __HttpHandlerOptions
|
|
769
|
+
): Promise<StopOTelEnrichmentCommandOutput>;
|
|
770
|
+
stopOTelEnrichment(
|
|
771
|
+
args: StopOTelEnrichmentCommandInput,
|
|
772
|
+
cb: (err: any, data?: StopOTelEnrichmentCommandOutput) => void
|
|
773
|
+
): void;
|
|
774
|
+
stopOTelEnrichment(
|
|
775
|
+
args: StopOTelEnrichmentCommandInput,
|
|
776
|
+
options: __HttpHandlerOptions,
|
|
777
|
+
cb: (err: any, data?: StopOTelEnrichmentCommandOutput) => void
|
|
778
|
+
): void;
|
|
725
779
|
tagResource(
|
|
726
780
|
args: TagResourceCommandInput,
|
|
727
781
|
options?: __HttpHandlerOptions
|
|
@@ -140,6 +140,10 @@ import {
|
|
|
140
140
|
GetMetricWidgetImageCommandInput,
|
|
141
141
|
GetMetricWidgetImageCommandOutput,
|
|
142
142
|
} from "./commands/GetMetricWidgetImageCommand";
|
|
143
|
+
import {
|
|
144
|
+
GetOTelEnrichmentCommandInput,
|
|
145
|
+
GetOTelEnrichmentCommandOutput,
|
|
146
|
+
} from "./commands/GetOTelEnrichmentCommand";
|
|
143
147
|
import {
|
|
144
148
|
ListAlarmMuteRulesCommandInput,
|
|
145
149
|
ListAlarmMuteRulesCommandOutput,
|
|
@@ -208,10 +212,18 @@ import {
|
|
|
208
212
|
StartMetricStreamsCommandInput,
|
|
209
213
|
StartMetricStreamsCommandOutput,
|
|
210
214
|
} from "./commands/StartMetricStreamsCommand";
|
|
215
|
+
import {
|
|
216
|
+
StartOTelEnrichmentCommandInput,
|
|
217
|
+
StartOTelEnrichmentCommandOutput,
|
|
218
|
+
} from "./commands/StartOTelEnrichmentCommand";
|
|
211
219
|
import {
|
|
212
220
|
StopMetricStreamsCommandInput,
|
|
213
221
|
StopMetricStreamsCommandOutput,
|
|
214
222
|
} from "./commands/StopMetricStreamsCommand";
|
|
223
|
+
import {
|
|
224
|
+
StopOTelEnrichmentCommandInput,
|
|
225
|
+
StopOTelEnrichmentCommandOutput,
|
|
226
|
+
} from "./commands/StopOTelEnrichmentCommand";
|
|
215
227
|
import {
|
|
216
228
|
TagResourceCommandInput,
|
|
217
229
|
TagResourceCommandOutput,
|
|
@@ -251,6 +263,7 @@ export type ServiceInputTypes =
|
|
|
251
263
|
| GetMetricStatisticsCommandInput
|
|
252
264
|
| GetMetricStreamCommandInput
|
|
253
265
|
| GetMetricWidgetImageCommandInput
|
|
266
|
+
| GetOTelEnrichmentCommandInput
|
|
254
267
|
| ListAlarmMuteRulesCommandInput
|
|
255
268
|
| ListDashboardsCommandInput
|
|
256
269
|
| ListManagedInsightRulesCommandInput
|
|
@@ -268,7 +281,9 @@ export type ServiceInputTypes =
|
|
|
268
281
|
| PutMetricStreamCommandInput
|
|
269
282
|
| SetAlarmStateCommandInput
|
|
270
283
|
| StartMetricStreamsCommandInput
|
|
284
|
+
| StartOTelEnrichmentCommandInput
|
|
271
285
|
| StopMetricStreamsCommandInput
|
|
286
|
+
| StopOTelEnrichmentCommandInput
|
|
272
287
|
| TagResourceCommandInput
|
|
273
288
|
| UntagResourceCommandInput;
|
|
274
289
|
export type ServiceOutputTypes =
|
|
@@ -295,6 +310,7 @@ export type ServiceOutputTypes =
|
|
|
295
310
|
| GetMetricStatisticsCommandOutput
|
|
296
311
|
| GetMetricStreamCommandOutput
|
|
297
312
|
| GetMetricWidgetImageCommandOutput
|
|
313
|
+
| GetOTelEnrichmentCommandOutput
|
|
298
314
|
| ListAlarmMuteRulesCommandOutput
|
|
299
315
|
| ListDashboardsCommandOutput
|
|
300
316
|
| ListManagedInsightRulesCommandOutput
|
|
@@ -312,7 +328,9 @@ export type ServiceOutputTypes =
|
|
|
312
328
|
| PutMetricStreamCommandOutput
|
|
313
329
|
| SetAlarmStateCommandOutput
|
|
314
330
|
| StartMetricStreamsCommandOutput
|
|
331
|
+
| StartOTelEnrichmentCommandOutput
|
|
315
332
|
| StopMetricStreamsCommandOutput
|
|
333
|
+
| StopOTelEnrichmentCommandOutput
|
|
316
334
|
| TagResourceCommandOutput
|
|
317
335
|
| UntagResourceCommandOutput;
|
|
318
336
|
export interface ClientDefaults
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CloudWatchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CloudWatchClient";
|
|
8
|
+
import {
|
|
9
|
+
GetOTelEnrichmentInput,
|
|
10
|
+
GetOTelEnrichmentOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetOTelEnrichmentCommandInput extends GetOTelEnrichmentInput {}
|
|
15
|
+
export interface GetOTelEnrichmentCommandOutput
|
|
16
|
+
extends GetOTelEnrichmentOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const GetOTelEnrichmentCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetOTelEnrichmentCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetOTelEnrichmentCommandInput,
|
|
23
|
+
GetOTelEnrichmentCommandOutput,
|
|
24
|
+
CloudWatchClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [GetOTelEnrichmentCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetOTelEnrichmentCommandInput,
|
|
32
|
+
GetOTelEnrichmentCommandOutput,
|
|
33
|
+
CloudWatchClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class GetOTelEnrichmentCommand extends GetOTelEnrichmentCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: {};
|
|
43
|
+
output: GetOTelEnrichmentOutput;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: GetOTelEnrichmentCommandInput;
|
|
47
|
+
output: GetOTelEnrichmentCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CloudWatchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CloudWatchClient";
|
|
8
|
+
import {
|
|
9
|
+
StartOTelEnrichmentInput,
|
|
10
|
+
StartOTelEnrichmentOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface StartOTelEnrichmentCommandInput
|
|
15
|
+
extends StartOTelEnrichmentInput {}
|
|
16
|
+
export interface StartOTelEnrichmentCommandOutput
|
|
17
|
+
extends StartOTelEnrichmentOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const StartOTelEnrichmentCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: StartOTelEnrichmentCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
StartOTelEnrichmentCommandInput,
|
|
24
|
+
StartOTelEnrichmentCommandOutput,
|
|
25
|
+
CloudWatchClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [StartOTelEnrichmentCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
StartOTelEnrichmentCommandInput,
|
|
33
|
+
StartOTelEnrichmentCommandOutput,
|
|
34
|
+
CloudWatchClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class StartOTelEnrichmentCommand extends StartOTelEnrichmentCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: {};
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: StartOTelEnrichmentCommandInput;
|
|
48
|
+
output: StartOTelEnrichmentCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CloudWatchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CloudWatchClient";
|
|
8
|
+
import {
|
|
9
|
+
StopOTelEnrichmentInput,
|
|
10
|
+
StopOTelEnrichmentOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface StopOTelEnrichmentCommandInput
|
|
15
|
+
extends StopOTelEnrichmentInput {}
|
|
16
|
+
export interface StopOTelEnrichmentCommandOutput
|
|
17
|
+
extends StopOTelEnrichmentOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const StopOTelEnrichmentCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: StopOTelEnrichmentCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
StopOTelEnrichmentCommandInput,
|
|
24
|
+
StopOTelEnrichmentCommandOutput,
|
|
25
|
+
CloudWatchClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [StopOTelEnrichmentCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
StopOTelEnrichmentCommandInput,
|
|
33
|
+
StopOTelEnrichmentCommandOutput,
|
|
34
|
+
CloudWatchClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class StopOTelEnrichmentCommand extends StopOTelEnrichmentCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: {};
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: StopOTelEnrichmentCommandInput;
|
|
48
|
+
output: StopOTelEnrichmentCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -21,6 +21,7 @@ export * from "./GetMetricDataCommand";
|
|
|
21
21
|
export * from "./GetMetricStatisticsCommand";
|
|
22
22
|
export * from "./GetMetricStreamCommand";
|
|
23
23
|
export * from "./GetMetricWidgetImageCommand";
|
|
24
|
+
export * from "./GetOTelEnrichmentCommand";
|
|
24
25
|
export * from "./ListAlarmMuteRulesCommand";
|
|
25
26
|
export * from "./ListDashboardsCommand";
|
|
26
27
|
export * from "./ListManagedInsightRulesCommand";
|
|
@@ -38,6 +39,8 @@ export * from "./PutMetricDataCommand";
|
|
|
38
39
|
export * from "./PutMetricStreamCommand";
|
|
39
40
|
export * from "./SetAlarmStateCommand";
|
|
40
41
|
export * from "./StartMetricStreamsCommand";
|
|
42
|
+
export * from "./StartOTelEnrichmentCommand";
|
|
41
43
|
export * from "./StopMetricStreamsCommand";
|
|
44
|
+
export * from "./StopOTelEnrichmentCommand";
|
|
42
45
|
export * from "./TagResourceCommand";
|
|
43
46
|
export * from "./UntagResourceCommand";
|
|
@@ -120,6 +120,12 @@ export declare const MetricStreamOutputFormat: {
|
|
|
120
120
|
};
|
|
121
121
|
export type MetricStreamOutputFormat =
|
|
122
122
|
(typeof MetricStreamOutputFormat)[keyof typeof MetricStreamOutputFormat];
|
|
123
|
+
export declare const OTelEnrichmentStatus: {
|
|
124
|
+
readonly RUNNING: "Running";
|
|
125
|
+
readonly STOPPED: "Stopped";
|
|
126
|
+
};
|
|
127
|
+
export type OTelEnrichmentStatus =
|
|
128
|
+
(typeof OTelEnrichmentStatus)[keyof typeof OTelEnrichmentStatus];
|
|
123
129
|
export declare const RecentlyActive: {
|
|
124
130
|
readonly PT3H: "PT3H";
|
|
125
131
|
};
|