@aws-sdk/client-cloudwatch 3.428.0 → 3.430.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.
@@ -52,7 +52,7 @@ export interface AlarmHistoryItem {
52
52
  * @public
53
53
  * <p>The type of alarm, either metric alarm or composite alarm.</p>
54
54
  */
55
- AlarmType?: AlarmType | string;
55
+ AlarmType?: AlarmType;
56
56
  /**
57
57
  * @public
58
58
  * <p>The time stamp for the alarm history item.</p>
@@ -62,7 +62,7 @@ export interface AlarmHistoryItem {
62
62
  * @public
63
63
  * <p>The type of alarm history item.</p>
64
64
  */
65
- HistoryItemType?: HistoryItemType | string;
65
+ HistoryItemType?: HistoryItemType;
66
66
  /**
67
67
  * @public
68
68
  * <p>A summary of the alarm history, in text format.</p>
@@ -244,7 +244,7 @@ export interface MetricStat {
244
244
  * when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified.
245
245
  * If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.</p>
246
246
  */
247
- Unit?: StandardUnit | string;
247
+ Unit?: StandardUnit;
248
248
  }
249
249
  /**
250
250
  * @public
@@ -456,7 +456,7 @@ export interface AnomalyDetector {
456
456
  * <p>The current status of the anomaly detector's training. The possible values are <code>TRAINED | PENDING_TRAINING | TRAINED_INSUFFICIENT_DATA</code>
457
457
  * </p>
458
458
  */
459
- StateValue?: AnomalyDetectorStateValue | string;
459
+ StateValue?: AnomalyDetectorStateValue;
460
460
  /**
461
461
  * @public
462
462
  * <p>The CloudWatch metric and statistic for this anomaly detector.</p>
@@ -606,7 +606,7 @@ export interface CompositeAlarm {
606
606
  * @public
607
607
  * <p>The state value for the alarm.</p>
608
608
  */
609
- StateValue?: StateValue | string;
609
+ StateValue?: StateValue;
610
610
  /**
611
611
  * @public
612
612
  * <p>
@@ -648,7 +648,7 @@ export interface CompositeAlarm {
648
648
  * the composite alarm performs its actions.
649
649
  * </p>
650
650
  */
651
- ActionsSuppressedBy?: ActionsSuppressedBy | string;
651
+ ActionsSuppressedBy?: ActionsSuppressedBy;
652
652
  /**
653
653
  * @public
654
654
  * <p>
@@ -830,7 +830,7 @@ export interface Datapoint {
830
830
  * @public
831
831
  * <p>The standard unit for the data point.</p>
832
832
  */
833
- Unit?: StandardUnit | string;
833
+ Unit?: StandardUnit;
834
834
  /**
835
835
  * @public
836
836
  * <p>The percentile statistic for the data point.</p>
@@ -1108,12 +1108,12 @@ export interface DescribeAlarmHistoryInput {
1108
1108
  * <p>Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter,
1109
1109
  * only metric alarms are returned.</p>
1110
1110
  */
1111
- AlarmTypes?: (AlarmType | string)[];
1111
+ AlarmTypes?: AlarmType[];
1112
1112
  /**
1113
1113
  * @public
1114
1114
  * <p>The type of alarm histories to retrieve.</p>
1115
1115
  */
1116
- HistoryItemType?: HistoryItemType | string;
1116
+ HistoryItemType?: HistoryItemType;
1117
1117
  /**
1118
1118
  * @public
1119
1119
  * <p>The starting date to retrieve alarm history.</p>
@@ -1140,7 +1140,7 @@ export interface DescribeAlarmHistoryInput {
1140
1140
  * <p>Specified whether to return the newest or oldest alarm history first. Specify <code>TimestampDescending</code> to have the newest
1141
1141
  * event history returned first, and specify <code>TimestampAscending</code> to have the oldest history returned first.</p>
1142
1142
  */
1143
- ScanBy?: ScanBy | string;
1143
+ ScanBy?: ScanBy;
1144
1144
  }
1145
1145
  /**
1146
1146
  * @public
@@ -1196,7 +1196,7 @@ export interface DescribeAlarmsInput {
1196
1196
  * <p>If you specify <code>CompositeAlarms</code>, the operation returns only a list of composite
1197
1197
  * alarms, and does not return any metric alarms.</p>
1198
1198
  */
1199
- AlarmTypes?: (AlarmType | string)[];
1199
+ AlarmTypes?: AlarmType[];
1200
1200
  /**
1201
1201
  * @public
1202
1202
  * <p>If you use this parameter and specify the name of a composite alarm, the operation returns
@@ -1240,7 +1240,7 @@ export interface DescribeAlarmsInput {
1240
1240
  * @public
1241
1241
  * <p>Specify this parameter to receive information only about alarms that are currently in the state that you specify.</p>
1242
1242
  */
1243
- StateValue?: StateValue | string;
1243
+ StateValue?: StateValue;
1244
1244
  /**
1245
1245
  * @public
1246
1246
  * <p>Use this parameter to filter the results of the operation to only those alarms that
@@ -1338,7 +1338,7 @@ export interface MetricAlarm {
1338
1338
  * @public
1339
1339
  * <p>The state value for the alarm.</p>
1340
1340
  */
1341
- StateValue?: StateValue | string;
1341
+ StateValue?: StateValue;
1342
1342
  /**
1343
1343
  * @public
1344
1344
  * <p>An explanation for the alarm state, in text format.</p>
@@ -1371,7 +1371,7 @@ export interface MetricAlarm {
1371
1371
  * <p>The statistic for the metric associated with the alarm, other than percentile.
1372
1372
  * For percentile statistics, use <code>ExtendedStatistic</code>.</p>
1373
1373
  */
1374
- Statistic?: Statistic | string;
1374
+ Statistic?: Statistic;
1375
1375
  /**
1376
1376
  * @public
1377
1377
  * <p>The percentile statistic for the metric associated with the alarm. Specify a value between
@@ -1392,7 +1392,7 @@ export interface MetricAlarm {
1392
1392
  * @public
1393
1393
  * <p>The unit of the metric associated with the alarm.</p>
1394
1394
  */
1395
- Unit?: StandardUnit | string;
1395
+ Unit?: StandardUnit;
1396
1396
  /**
1397
1397
  * @public
1398
1398
  * <p>The number of periods over which data is compared to the specified threshold.</p>
@@ -1413,7 +1413,7 @@ export interface MetricAlarm {
1413
1413
  * <p>The arithmetic operation to use when comparing the specified
1414
1414
  * statistic and threshold. The specified statistic value is used as the first operand.</p>
1415
1415
  */
1416
- ComparisonOperator?: ComparisonOperator | string;
1416
+ ComparisonOperator?: ComparisonOperator;
1417
1417
  /**
1418
1418
  * @public
1419
1419
  * <p>Sets how this alarm is to handle missing data points. The valid values
@@ -1458,7 +1458,7 @@ export interface MetricAlarm {
1458
1458
  * more information, see
1459
1459
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Metrics_Insights_Alarm.html">Create alarms on Metrics Insights queries</a>.</p>
1460
1460
  */
1461
- EvaluationState?: EvaluationState | string;
1461
+ EvaluationState?: EvaluationState;
1462
1462
  /**
1463
1463
  * @public
1464
1464
  * <p>The date and time that the alarm's <code>StateValue</code> most recently changed.</p>
@@ -1504,7 +1504,7 @@ export interface DescribeAlarmsForMetricInput {
1504
1504
  * <p>The statistic for the metric, other than percentiles.
1505
1505
  * For percentile statistics, use <code>ExtendedStatistics</code>.</p>
1506
1506
  */
1507
- Statistic?: Statistic | string;
1507
+ Statistic?: Statistic;
1508
1508
  /**
1509
1509
  * @public
1510
1510
  * <p>The percentile statistic for the metric. Specify a value between
@@ -1526,7 +1526,7 @@ export interface DescribeAlarmsForMetricInput {
1526
1526
  * @public
1527
1527
  * <p>The unit for the metric.</p>
1528
1528
  */
1529
- Unit?: StandardUnit | string;
1529
+ Unit?: StandardUnit;
1530
1530
  }
1531
1531
  /**
1532
1532
  * @public
@@ -1580,7 +1580,7 @@ export interface DescribeAnomalyDetectorsInput {
1580
1580
  * <p>The anomaly detector types to request when using <code>DescribeAnomalyDetectorsInput</code>.
1581
1581
  * If empty, defaults to <code>SINGLE_METRIC</code>.</p>
1582
1582
  */
1583
- AnomalyDetectorTypes?: (AnomalyDetectorType | string)[];
1583
+ AnomalyDetectorTypes?: AnomalyDetectorType[];
1584
1584
  }
1585
1585
  /**
1586
1586
  * @public
@@ -2097,7 +2097,7 @@ export interface GetMetricDataInput {
2097
2097
  * when the <code>MaxDatapoints</code> limit is reached. <code>TimestampAscending</code> returns the oldest data first and paginates
2098
2098
  * when the <code>MaxDatapoints</code> limit is reached.</p>
2099
2099
  */
2100
- ScanBy?: ScanBy | string;
2100
+ ScanBy?: ScanBy;
2101
2101
  /**
2102
2102
  * @public
2103
2103
  * <p>The maximum number of data points the request should return before paginating. If you omit
@@ -2186,7 +2186,7 @@ export interface MetricDataResult {
2186
2186
  * <code>NextToken</code> is not returned if you are performing a math expression. <code>InternalError</code>
2187
2187
  * indicates that an error occurred. Retry your request using <code>NextToken</code>, if present.</p>
2188
2188
  */
2189
- StatusCode?: StatusCode | string;
2189
+ StatusCode?: StatusCode;
2190
2190
  /**
2191
2191
  * @public
2192
2192
  * <p>A list of messages with additional information about the data returned.</p>
@@ -2307,7 +2307,7 @@ export interface GetMetricStatisticsInput {
2307
2307
  * use <code>ExtendedStatistics</code>. When calling <code>GetMetricStatistics</code>, you must
2308
2308
  * specify either <code>Statistics</code> or <code>ExtendedStatistics</code>, but not both.</p>
2309
2309
  */
2310
- Statistics?: (Statistic | string)[];
2310
+ Statistics?: Statistic[];
2311
2311
  /**
2312
2312
  * @public
2313
2313
  * <p>The percentile statistics. Specify values between p0.0 and p100. When calling <code>GetMetricStatistics</code>, you must
@@ -2322,7 +2322,7 @@ export interface GetMetricStatisticsInput {
2322
2322
  * when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified.
2323
2323
  * If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.</p>
2324
2324
  */
2325
- Unit?: StandardUnit | string;
2325
+ Unit?: StandardUnit;
2326
2326
  }
2327
2327
  /**
2328
2328
  * @public
@@ -2503,7 +2503,7 @@ export interface GetMetricStreamOutput {
2503
2503
  * For more information about metric stream output formats,
2504
2504
  * see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html">Metric streams output formats</a>.</p>
2505
2505
  */
2506
- OutputFormat?: MetricStreamOutputFormat | string;
2506
+ OutputFormat?: MetricStreamOutputFormat;
2507
2507
  /**
2508
2508
  * @public
2509
2509
  * <p>Each entry in this array displays information about one or more metrics that include additional statistics
@@ -2806,7 +2806,7 @@ export interface ListMetricsInput {
2806
2806
  * is a low probability that the returned results include metrics with last published
2807
2807
  * data as much as 40 minutes more than the specified time interval.</p>
2808
2808
  */
2809
- RecentlyActive?: RecentlyActive | string;
2809
+ RecentlyActive?: RecentlyActive;
2810
2810
  /**
2811
2811
  * @public
2812
2812
  * <p>If you are using this operation in a monitoring account,
@@ -2901,7 +2901,7 @@ export interface MetricStreamEntry {
2901
2901
  * <code>json</code>
2902
2902
  * and <code>opentelemetry0.7</code>.</p>
2903
2903
  */
2904
- OutputFormat?: MetricStreamOutputFormat | string;
2904
+ OutputFormat?: MetricStreamOutputFormat;
2905
2905
  }
2906
2906
  /**
2907
2907
  * @public
@@ -3753,7 +3753,7 @@ export interface PutMetricAlarmInput {
3753
3753
  * a <code>MetricName</code>, you must
3754
3754
  * specify either <code>Statistic</code> or <code>ExtendedStatistic,</code> but not both.</p>
3755
3755
  */
3756
- Statistic?: Statistic | string;
3756
+ Statistic?: Statistic;
3757
3757
  /**
3758
3758
  * @public
3759
3759
  * <p>The extended statistic for the metric specified in <code>MetricName</code>. When you
@@ -3864,7 +3864,7 @@ export interface PutMetricAlarmInput {
3864
3864
  * specify an incorrect unit that is not published for this metric. Doing so
3865
3865
  * causes the alarm to be stuck in the <code>INSUFFICIENT DATA</code> state.</p>
3866
3866
  */
3867
- Unit?: StandardUnit | string;
3867
+ Unit?: StandardUnit;
3868
3868
  /**
3869
3869
  * @public
3870
3870
  * <p>The number of periods over which data is compared to the specified threshold. If you are
@@ -3898,7 +3898,7 @@ export interface PutMetricAlarmInput {
3898
3898
  * <code>LessThanLowerThreshold</code>, and <code>GreaterThanUpperThreshold</code>
3899
3899
  * are used only for alarms based on anomaly detection models.</p>
3900
3900
  */
3901
- ComparisonOperator: ComparisonOperator | string | undefined;
3901
+ ComparisonOperator: ComparisonOperator | undefined;
3902
3902
  /**
3903
3903
  * @public
3904
3904
  * <p> Sets how this alarm is to handle missing data points. If <code>TreatMissingData</code> is omitted, the default behavior of <code>missing</code> is used.
@@ -4047,7 +4047,7 @@ export interface MetricDatum {
4047
4047
  * <p>In
4048
4048
  * a <code>Get</code> operation, this displays the unit that is used for the metric.</p>
4049
4049
  */
4050
- Unit?: StandardUnit | string;
4050
+ Unit?: StandardUnit;
4051
4051
  /**
4052
4052
  * @public
4053
4053
  * <p>Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with
@@ -4138,7 +4138,7 @@ export interface PutMetricStreamInput {
4138
4138
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html">
4139
4139
  * Metric streams output formats</a>.</p>
4140
4140
  */
4141
- OutputFormat: MetricStreamOutputFormat | string | undefined;
4141
+ OutputFormat: MetricStreamOutputFormat | undefined;
4142
4142
  /**
4143
4143
  * @public
4144
4144
  * <p>A list of key-value pairs to associate with the metric stream. You can associate as
@@ -4210,7 +4210,7 @@ export interface SetAlarmStateInput {
4210
4210
  * @public
4211
4211
  * <p>The value of the state.</p>
4212
4212
  */
4213
- StateValue: StateValue | string | undefined;
4213
+ StateValue: StateValue | undefined;
4214
4214
  /**
4215
4215
  * @public
4216
4216
  * <p>The reason that this alarm is set to this specific state, in text format.</p>
@@ -21,9 +21,9 @@ export type HistoryItemType =
21
21
  (typeof HistoryItemType)[keyof typeof HistoryItemType];
22
22
  export interface AlarmHistoryItem {
23
23
  AlarmName?: string;
24
- AlarmType?: AlarmType | string;
24
+ AlarmType?: AlarmType;
25
25
  Timestamp?: Date;
26
- HistoryItemType?: HistoryItemType | string;
26
+ HistoryItemType?: HistoryItemType;
27
27
  HistorySummary?: string;
28
28
  HistoryData?: string;
29
29
  }
@@ -78,7 +78,7 @@ export interface MetricStat {
78
78
  Metric: Metric | undefined;
79
79
  Period: number | undefined;
80
80
  Stat: string | undefined;
81
- Unit?: StandardUnit | string;
81
+ Unit?: StandardUnit;
82
82
  }
83
83
  export interface MetricDataQuery {
84
84
  Id: string | undefined;
@@ -111,7 +111,7 @@ export interface AnomalyDetector {
111
111
  Dimensions?: Dimension[];
112
112
  Stat?: string;
113
113
  Configuration?: AnomalyDetectorConfiguration;
114
- StateValue?: AnomalyDetectorStateValue | string;
114
+ StateValue?: AnomalyDetectorStateValue;
115
115
  SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector;
116
116
  MetricMathAnomalyDetector?: MetricMathAnomalyDetector;
117
117
  }
@@ -157,9 +157,9 @@ export interface CompositeAlarm {
157
157
  StateReason?: string;
158
158
  StateReasonData?: string;
159
159
  StateUpdatedTimestamp?: Date;
160
- StateValue?: StateValue | string;
160
+ StateValue?: StateValue;
161
161
  StateTransitionedTimestamp?: Date;
162
- ActionsSuppressedBy?: ActionsSuppressedBy | string;
162
+ ActionsSuppressedBy?: ActionsSuppressedBy;
163
163
  ActionsSuppressedReason?: string;
164
164
  ActionsSuppressor?: string;
165
165
  ActionsSuppressorWaitPeriod?: number;
@@ -208,7 +208,7 @@ export interface Datapoint {
208
208
  Sum?: number;
209
209
  Minimum?: number;
210
210
  Maximum?: number;
211
- Unit?: StandardUnit | string;
211
+ Unit?: StandardUnit;
212
212
  ExtendedStatistics?: Record<string, number>;
213
213
  }
214
214
  export interface DeleteAlarmsInput {
@@ -294,13 +294,13 @@ export declare const ScanBy: {
294
294
  export type ScanBy = (typeof ScanBy)[keyof typeof ScanBy];
295
295
  export interface DescribeAlarmHistoryInput {
296
296
  AlarmName?: string;
297
- AlarmTypes?: (AlarmType | string)[];
298
- HistoryItemType?: HistoryItemType | string;
297
+ AlarmTypes?: AlarmType[];
298
+ HistoryItemType?: HistoryItemType;
299
299
  StartDate?: Date;
300
300
  EndDate?: Date;
301
301
  MaxRecords?: number;
302
302
  NextToken?: string;
303
- ScanBy?: ScanBy | string;
303
+ ScanBy?: ScanBy;
304
304
  }
305
305
  export interface DescribeAlarmHistoryOutput {
306
306
  AlarmHistoryItems?: AlarmHistoryItem[];
@@ -314,10 +314,10 @@ export declare class InvalidNextToken extends __BaseException {
314
314
  export interface DescribeAlarmsInput {
315
315
  AlarmNames?: string[];
316
316
  AlarmNamePrefix?: string;
317
- AlarmTypes?: (AlarmType | string)[];
317
+ AlarmTypes?: AlarmType[];
318
318
  ChildrenOfAlarmName?: string;
319
319
  ParentsOfAlarmName?: string;
320
- StateValue?: StateValue | string;
320
+ StateValue?: StateValue;
321
321
  ActionPrefix?: string;
322
322
  MaxRecords?: number;
323
323
  NextToken?: string;
@@ -344,26 +344,26 @@ export interface MetricAlarm {
344
344
  OKActions?: string[];
345
345
  AlarmActions?: string[];
346
346
  InsufficientDataActions?: string[];
347
- StateValue?: StateValue | string;
347
+ StateValue?: StateValue;
348
348
  StateReason?: string;
349
349
  StateReasonData?: string;
350
350
  StateUpdatedTimestamp?: Date;
351
351
  MetricName?: string;
352
352
  Namespace?: string;
353
- Statistic?: Statistic | string;
353
+ Statistic?: Statistic;
354
354
  ExtendedStatistic?: string;
355
355
  Dimensions?: Dimension[];
356
356
  Period?: number;
357
- Unit?: StandardUnit | string;
357
+ Unit?: StandardUnit;
358
358
  EvaluationPeriods?: number;
359
359
  DatapointsToAlarm?: number;
360
360
  Threshold?: number;
361
- ComparisonOperator?: ComparisonOperator | string;
361
+ ComparisonOperator?: ComparisonOperator;
362
362
  TreatMissingData?: string;
363
363
  EvaluateLowSampleCountPercentile?: string;
364
364
  Metrics?: MetricDataQuery[];
365
365
  ThresholdMetricId?: string;
366
- EvaluationState?: EvaluationState | string;
366
+ EvaluationState?: EvaluationState;
367
367
  StateTransitionedTimestamp?: Date;
368
368
  }
369
369
  export interface DescribeAlarmsOutput {
@@ -374,11 +374,11 @@ export interface DescribeAlarmsOutput {
374
374
  export interface DescribeAlarmsForMetricInput {
375
375
  MetricName: string | undefined;
376
376
  Namespace: string | undefined;
377
- Statistic?: Statistic | string;
377
+ Statistic?: Statistic;
378
378
  ExtendedStatistic?: string;
379
379
  Dimensions?: Dimension[];
380
380
  Period?: number;
381
- Unit?: StandardUnit | string;
381
+ Unit?: StandardUnit;
382
382
  }
383
383
  export interface DescribeAlarmsForMetricOutput {
384
384
  MetricAlarms?: MetricAlarm[];
@@ -389,7 +389,7 @@ export interface DescribeAnomalyDetectorsInput {
389
389
  Namespace?: string;
390
390
  MetricName?: string;
391
391
  Dimensions?: Dimension[];
392
- AnomalyDetectorTypes?: (AnomalyDetectorType | string)[];
392
+ AnomalyDetectorTypes?: AnomalyDetectorType[];
393
393
  }
394
394
  export interface DescribeAnomalyDetectorsOutput {
395
395
  AnomalyDetectors?: AnomalyDetector[];
@@ -492,7 +492,7 @@ export interface GetMetricDataInput {
492
492
  StartTime: Date | undefined;
493
493
  EndTime: Date | undefined;
494
494
  NextToken?: string;
495
- ScanBy?: ScanBy | string;
495
+ ScanBy?: ScanBy;
496
496
  MaxDatapoints?: number;
497
497
  LabelOptions?: LabelOptions;
498
498
  }
@@ -512,7 +512,7 @@ export interface MetricDataResult {
512
512
  Label?: string;
513
513
  Timestamps?: Date[];
514
514
  Values?: number[];
515
- StatusCode?: StatusCode | string;
515
+ StatusCode?: StatusCode;
516
516
  Messages?: MessageData[];
517
517
  }
518
518
  export interface GetMetricDataOutput {
@@ -527,9 +527,9 @@ export interface GetMetricStatisticsInput {
527
527
  StartTime: Date | undefined;
528
528
  EndTime: Date | undefined;
529
529
  Period: number | undefined;
530
- Statistics?: (Statistic | string)[];
530
+ Statistics?: Statistic[];
531
531
  ExtendedStatistics?: string[];
532
- Unit?: StandardUnit | string;
532
+ Unit?: StandardUnit;
533
533
  }
534
534
  export interface GetMetricStatisticsOutput {
535
535
  Label?: string;
@@ -566,7 +566,7 @@ export interface GetMetricStreamOutput {
566
566
  State?: string;
567
567
  CreationDate?: Date;
568
568
  LastUpdateDate?: Date;
569
- OutputFormat?: MetricStreamOutputFormat | string;
569
+ OutputFormat?: MetricStreamOutputFormat;
570
570
  StatisticsConfigurations?: MetricStreamStatisticsConfiguration[];
571
571
  IncludeLinkedAccountsMetrics?: boolean;
572
572
  }
@@ -613,7 +613,7 @@ export interface ListMetricsInput {
613
613
  MetricName?: string;
614
614
  Dimensions?: DimensionFilter[];
615
615
  NextToken?: string;
616
- RecentlyActive?: RecentlyActive | string;
616
+ RecentlyActive?: RecentlyActive;
617
617
  IncludeLinkedAccounts?: boolean;
618
618
  OwningAccount?: string;
619
619
  }
@@ -633,7 +633,7 @@ export interface MetricStreamEntry {
633
633
  Name?: string;
634
634
  FirehoseArn?: string;
635
635
  State?: string;
636
- OutputFormat?: MetricStreamOutputFormat | string;
636
+ OutputFormat?: MetricStreamOutputFormat;
637
637
  }
638
638
  export interface ListMetricStreamsOutput {
639
639
  NextToken?: string;
@@ -711,15 +711,15 @@ export interface PutMetricAlarmInput {
711
711
  InsufficientDataActions?: string[];
712
712
  MetricName?: string;
713
713
  Namespace?: string;
714
- Statistic?: Statistic | string;
714
+ Statistic?: Statistic;
715
715
  ExtendedStatistic?: string;
716
716
  Dimensions?: Dimension[];
717
717
  Period?: number;
718
- Unit?: StandardUnit | string;
718
+ Unit?: StandardUnit;
719
719
  EvaluationPeriods: number | undefined;
720
720
  DatapointsToAlarm?: number;
721
721
  Threshold?: number;
722
- ComparisonOperator: ComparisonOperator | string | undefined;
722
+ ComparisonOperator: ComparisonOperator | undefined;
723
723
  TreatMissingData?: string;
724
724
  EvaluateLowSampleCountPercentile?: string;
725
725
  Metrics?: MetricDataQuery[];
@@ -740,7 +740,7 @@ export interface MetricDatum {
740
740
  StatisticValues?: StatisticSet;
741
741
  Values?: number[];
742
742
  Counts?: number[];
743
- Unit?: StandardUnit | string;
743
+ Unit?: StandardUnit;
744
744
  StorageResolution?: number;
745
745
  }
746
746
  export interface PutMetricDataInput {
@@ -753,7 +753,7 @@ export interface PutMetricStreamInput {
753
753
  ExcludeFilters?: MetricStreamFilter[];
754
754
  FirehoseArn: string | undefined;
755
755
  RoleArn: string | undefined;
756
- OutputFormat: MetricStreamOutputFormat | string | undefined;
756
+ OutputFormat: MetricStreamOutputFormat | undefined;
757
757
  Tags?: Tag[];
758
758
  StatisticsConfigurations?: MetricStreamStatisticsConfiguration[];
759
759
  IncludeLinkedAccountsMetrics?: boolean;
@@ -768,7 +768,7 @@ export declare class InvalidFormatFault extends __BaseException {
768
768
  }
769
769
  export interface SetAlarmStateInput {
770
770
  AlarmName: string | undefined;
771
- StateValue: StateValue | string | undefined;
771
+ StateValue: StateValue | undefined;
772
772
  StateReason: string | undefined;
773
773
  StateReasonData?: string;
774
774
  }
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.428.0",
4
+ "version": "3.430.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,28 +21,28 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "@smithy/util-waiter": "^2.0.11",