cdk-comprehend-s3olap 2.0.7 → 2.0.8

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.
@@ -774,7 +774,8 @@ declare namespace Budgets {
774
774
  */
775
775
  NextToken?: GenericString;
776
776
  }
777
- export type DimensionValues = GenericString[];
777
+ export type DimensionValue = string;
778
+ export type DimensionValues = DimensionValue[];
778
779
  export type EventType = "SYSTEM"|"CREATE_ACTION"|"DELETE_ACTION"|"UPDATE_ACTION"|"EXECUTE_ACTION"|string;
779
780
  export interface ExecuteBudgetActionRequest {
780
781
  AccountId: AccountId;
@@ -219,6 +219,14 @@ declare class LookoutMetrics extends Service {
219
219
  * Removes tags from a detector, dataset, or alert.
220
220
  */
221
221
  untagResource(callback?: (err: AWSError, data: LookoutMetrics.Types.UntagResourceResponse) => void): Request<LookoutMetrics.Types.UntagResourceResponse, AWSError>;
222
+ /**
223
+ * Make changes to an existing alert.
224
+ */
225
+ updateAlert(params: LookoutMetrics.Types.UpdateAlertRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.UpdateAlertResponse) => void): Request<LookoutMetrics.Types.UpdateAlertResponse, AWSError>;
226
+ /**
227
+ * Make changes to an existing alert.
228
+ */
229
+ updateAlert(callback?: (err: AWSError, data: LookoutMetrics.Types.UpdateAlertResponse) => void): Request<LookoutMetrics.Types.UpdateAlertResponse, AWSError>;
222
230
  /**
223
231
  * Updates a detector. After activation, you can only change a detector's ingestion delay and description.
224
232
  */
@@ -297,8 +305,22 @@ declare namespace LookoutMetrics {
297
305
  * The time at which the alert was created.
298
306
  */
299
307
  CreationTime?: Timestamp;
308
+ /**
309
+ * The configuration of the alert filters, containing MetricList and DimensionFilter.
310
+ */
311
+ AlertFilters?: AlertFilters;
300
312
  }
301
313
  export type AlertDescription = string;
314
+ export interface AlertFilters {
315
+ /**
316
+ * The list of measures that you want to get alerts for.
317
+ */
318
+ MetricList?: MetricNameList;
319
+ /**
320
+ * The list of DimensionFilter objects that are used for dimension-based filtering.
321
+ */
322
+ DimensionFilterList?: DimensionFilterList;
323
+ }
302
324
  export type AlertName = string;
303
325
  export type AlertStatus = "ACTIVE"|"INACTIVE"|string;
304
326
  export interface AlertSummary {
@@ -610,7 +632,7 @@ declare namespace LookoutMetrics {
610
632
  /**
611
633
  * An integer from 0 to 100 specifying the alert sensitivity threshold.
612
634
  */
613
- AlertSensitivityThreshold: SensitivityThreshold;
635
+ AlertSensitivityThreshold?: SensitivityThreshold;
614
636
  /**
615
637
  * A description of the alert.
616
638
  */
@@ -627,6 +649,10 @@ declare namespace LookoutMetrics {
627
649
  * A list of tags to apply to the alert.
628
650
  */
629
651
  Tags?: TagMap;
652
+ /**
653
+ * The configuration of the alert filters, containing MetricList and DimensionFilterList.
654
+ */
655
+ AlertFilters?: AlertFilters;
630
656
  }
631
657
  export interface CreateAlertResponse {
632
658
  /**
@@ -1030,6 +1056,17 @@ declare namespace LookoutMetrics {
1030
1056
  DimensionValueContributionList?: DimensionValueContributionList;
1031
1057
  }
1032
1058
  export type DimensionContributionList = DimensionContribution[];
1059
+ export interface DimensionFilter {
1060
+ /**
1061
+ * The name of the dimension to filter on.
1062
+ */
1063
+ DimensionName?: ColumnName;
1064
+ /**
1065
+ * The list of values for the dimension specified in DimensionName that you want to filter on.
1066
+ */
1067
+ DimensionValueList?: DimensionValueList;
1068
+ }
1069
+ export type DimensionFilterList = DimensionFilter[];
1033
1070
  export type DimensionList = ColumnName[];
1034
1071
  export interface DimensionNameValue {
1035
1072
  /**
@@ -1054,6 +1091,7 @@ declare namespace LookoutMetrics {
1054
1091
  ContributionScore?: Score;
1055
1092
  }
1056
1093
  export type DimensionValueContributionList = DimensionValueContribution[];
1094
+ export type DimensionValueList = DimensionValue[];
1057
1095
  export type ErrorMessage = string;
1058
1096
  export type ExecutionList = ExecutionStatus[];
1059
1097
  export interface ExecutionStatus {
@@ -1422,6 +1460,7 @@ declare namespace LookoutMetrics {
1422
1460
  export type MetricLevelImpactList = MetricLevelImpact[];
1423
1461
  export type MetricList = Metric[];
1424
1462
  export type MetricName = string;
1463
+ export type MetricNameList = MetricName[];
1425
1464
  export type MetricSetDescription = string;
1426
1465
  export type MetricSetName = string;
1427
1466
  export interface MetricSetSummary {
@@ -1600,7 +1639,7 @@ declare namespace LookoutMetrics {
1600
1639
  */
1601
1640
  SnsTopicArn: Arn;
1602
1641
  /**
1603
- * The format of the SNS topic.
1642
+ * The format of the SNS topic. JSON – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is the default. LONG_TEXT – Send human-readable alerts with information about the impacted timeseries and a link to the anomaly detail page. We recommend this for email. SHORT_TEXT – Send human-readable alerts with a link to the anomaly detail page. We recommend this for SMS.
1604
1643
  */
1605
1644
  SnsFormat?: SnsFormat;
1606
1645
  }
@@ -1703,6 +1742,34 @@ declare namespace LookoutMetrics {
1703
1742
  }
1704
1743
  export interface UntagResourceResponse {
1705
1744
  }
1745
+ export interface UpdateAlertRequest {
1746
+ /**
1747
+ * The ARN of the alert to update.
1748
+ */
1749
+ AlertArn: Arn;
1750
+ /**
1751
+ * A description of the alert.
1752
+ */
1753
+ AlertDescription?: AlertDescription;
1754
+ /**
1755
+ * An integer from 0 to 100 specifying the alert sensitivity threshold.
1756
+ */
1757
+ AlertSensitivityThreshold?: SensitivityThreshold;
1758
+ /**
1759
+ * Action that will be triggered when there is an alert.
1760
+ */
1761
+ Action?: Action;
1762
+ /**
1763
+ * The configuration of the alert filters, containing MetricList and DimensionFilterList.
1764
+ */
1765
+ AlertFilters?: AlertFilters;
1766
+ }
1767
+ export interface UpdateAlertResponse {
1768
+ /**
1769
+ * The ARN of the updated alert.
1770
+ */
1771
+ AlertArn?: Arn;
1772
+ }
1706
1773
  export interface UpdateAnomalyDetectorRequest {
1707
1774
  /**
1708
1775
  * The ARN of the detector to update.
@@ -495,6 +495,7 @@ declare namespace MediaConvert {
495
495
  */
496
496
  StreamName?: __stringPatternWS;
497
497
  }
498
+ export type AudioDurationCorrection = "DISABLED"|"AUTO"|"TRACK"|"FRAME"|string;
498
499
  export type AudioLanguageCodeControl = "FOLLOW_INPUT"|"USE_CONFIGURED"|string;
499
500
  export type AudioNormalizationAlgorithm = "ITU_BS_1770_1"|"ITU_BS_1770_2"|"ITU_BS_1770_3"|"ITU_BS_1770_4"|string;
500
501
  export type AudioNormalizationAlgorithmControl = "CORRECT_AUDIO"|"MEASURE_ONLY"|string;
@@ -527,6 +528,10 @@ declare namespace MediaConvert {
527
528
  TargetLkfs?: __doubleMinNegative59Max0;
528
529
  }
529
530
  export interface AudioSelector {
531
+ /**
532
+ * Apply audio timing corrections to help synchronize audio and video in your output. To apply timing corrections, your input must meet the following requirements: * Container: MP4, or MOV, with an accurate time-to-sample (STTS) table. * Audio track: AAC. Choose from the following audio timing correction settings: * Disabled (Default): Apply no correction. * Auto: Recommended for most inputs. MediaConvert analyzes the audio timing in your input and determines which correction setting to use, if needed. * Track: Adjust the duration of each audio frame by a constant amount to align the audio track length with STTS duration. Track-level correction does not affect pitch, and is recommended for tonal audio content such as music. * Frame: Adjust the duration of each audio frame by a variable amount to align audio frames with STTS timestamps. No corrections are made to already-aligned frames. Frame-level correction may affect the pitch of corrected frames, and is recommended for atonal audio content such as speech or percussion.
533
+ */
534
+ AudioDurationCorrection?: AudioDurationCorrection;
530
535
  /**
531
536
  * Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter language code
532
537
  */
@@ -3139,7 +3144,7 @@ Within your job settings, all of your DVB-Sub settings must be identical.
3139
3144
  */
3140
3145
  TimecodeStart?: __stringMin11Max11Pattern01D20305D205D;
3141
3146
  /**
3142
- * Use this setting if you do not have a video input or if you want to add black video frames before, or after, other inputs. When you include Video generator, MediaConvert creates a video input with black frames and without an audio track. You can specify a value for Video generator, or you can specify an Input file, but you cannot specify both.
3147
+ * When you include Video generator, MediaConvert creates a video input with black frames. Use this setting if you do not have a video input or if you want to add black video frames before, or after, other inputs. You can specify Video generator, or you can specify an Input file, but you cannot specify both. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/video-generator.html
3143
3148
  */
3144
3149
  VideoGenerator?: InputVideoGenerator;
3145
3150
  /**
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1153.0',
86
+ VERSION: '2.1154.0',
87
87
 
88
88
  /**
89
89
  * @api private
@@ -393,20 +393,28 @@ return /******/ (function(modules) { // webpackBootstrap
393
393
  parse: function string(ini) {
394
394
  var currentSection, map = {};
395
395
  util.arrayEach(ini.split(/\r?\n/), function(line) {
396
- line = line.split(/(^|\s)[;#]/)[0]; // remove comments
397
- var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/);
398
- if (section) {
399
- currentSection = section[1];
396
+ line = line.split(/(^|\s)[;#]/)[0].trim(); // remove comments and trim
397
+ var isSection = line[0] === '[' && line[line.length - 1] === ']';
398
+ if (isSection) {
399
+ currentSection = line.substring(1, line.length - 1);
400
400
  if (currentSection === '__proto__' || currentSection.split(/\s/)[1] === '__proto__') {
401
401
  throw util.error(
402
402
  new Error('Cannot load profile name \'' + currentSection + '\' from shared ini file.')
403
403
  );
404
404
  }
405
405
  } else if (currentSection) {
406
- var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/);
407
- if (item) {
406
+ var indexOfEqualsSign = line.indexOf('=');
407
+ var start = 0;
408
+ var end = line.length - 1;
409
+ var isAssignment =
410
+ indexOfEqualsSign !== -1 && indexOfEqualsSign !== start && indexOfEqualsSign !== end;
411
+
412
+ if (isAssignment) {
413
+ var name = line.substring(0, indexOfEqualsSign).trim();
414
+ var value = line.substring(indexOfEqualsSign + 1).trim();
415
+
408
416
  map[currentSection] = map[currentSection] || {};
409
- map[currentSection][item[1]] = item[2];
417
+ map[currentSection][name] = value;
410
418
  }
411
419
  }
412
420
  });