@aws-sdk/client-forecast 3.301.0 → 3.303.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.
@@ -3,46 +3,42 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.CreateWhatIfForecastExportRequestFilterSensitiveLog = exports.CreateWhatIfForecastRequestFilterSensitiveLog = exports.CreateWhatIfAnalysisRequestFilterSensitiveLog = exports.CreatePredictorBacktestExportJobRequestFilterSensitiveLog = exports.CreatePredictorRequestFilterSensitiveLog = exports.CreateMonitorRequestFilterSensitiveLog = exports.CreateForecastExportJobRequestFilterSensitiveLog = exports.CreateForecastRequestFilterSensitiveLog = exports.CreateExplainabilityExportRequestFilterSensitiveLog = exports.CreateExplainabilityRequestFilterSensitiveLog = exports.CreateDatasetImportJobRequestFilterSensitiveLog = exports.CreateDatasetGroupRequestFilterSensitiveLog = exports.CreateDatasetRequestFilterSensitiveLog = exports.CreateAutoPredictorRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.FilterConditionString = exports.InvalidNextTokenException = exports.EvaluationType = exports.State = exports.Condition = exports.ScalingType = exports.FeaturizationMethodName = exports.AutoMLOverrideStrategy = exports.TimeSeriesGranularity = exports.TimePointGranularity = exports.ImportMode = exports.AttributeType = exports.Domain = exports.DatasetType = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.InvalidInputException = exports.Month = exports.DayOfWeek = exports.OptimizationMetric = exports.Operation = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const ForecastServiceException_1 = require("./ForecastServiceException");
6
- var Operation;
7
- (function (Operation) {
8
- Operation["ADD"] = "ADD";
9
- Operation["DIVIDE"] = "DIVIDE";
10
- Operation["MULTIPLY"] = "MULTIPLY";
11
- Operation["SUBTRACT"] = "SUBTRACT";
12
- })(Operation = exports.Operation || (exports.Operation = {}));
13
- var OptimizationMetric;
14
- (function (OptimizationMetric) {
15
- OptimizationMetric["AverageWeightedQuantileLoss"] = "AverageWeightedQuantileLoss";
16
- OptimizationMetric["MAPE"] = "MAPE";
17
- OptimizationMetric["MASE"] = "MASE";
18
- OptimizationMetric["RMSE"] = "RMSE";
19
- OptimizationMetric["WAPE"] = "WAPE";
20
- })(OptimizationMetric = exports.OptimizationMetric || (exports.OptimizationMetric = {}));
21
- var DayOfWeek;
22
- (function (DayOfWeek) {
23
- DayOfWeek["FRIDAY"] = "FRIDAY";
24
- DayOfWeek["MONDAY"] = "MONDAY";
25
- DayOfWeek["SATURDAY"] = "SATURDAY";
26
- DayOfWeek["SUNDAY"] = "SUNDAY";
27
- DayOfWeek["THURSDAY"] = "THURSDAY";
28
- DayOfWeek["TUESDAY"] = "TUESDAY";
29
- DayOfWeek["WEDNESDAY"] = "WEDNESDAY";
30
- })(DayOfWeek = exports.DayOfWeek || (exports.DayOfWeek = {}));
31
- var Month;
32
- (function (Month) {
33
- Month["APRIL"] = "APRIL";
34
- Month["AUGUST"] = "AUGUST";
35
- Month["DECEMBER"] = "DECEMBER";
36
- Month["FEBRUARY"] = "FEBRUARY";
37
- Month["JANUARY"] = "JANUARY";
38
- Month["JULY"] = "JULY";
39
- Month["JUNE"] = "JUNE";
40
- Month["MARCH"] = "MARCH";
41
- Month["MAY"] = "MAY";
42
- Month["NOVEMBER"] = "NOVEMBER";
43
- Month["OCTOBER"] = "OCTOBER";
44
- Month["SEPTEMBER"] = "SEPTEMBER";
45
- })(Month = exports.Month || (exports.Month = {}));
6
+ exports.Operation = {
7
+ ADD: "ADD",
8
+ DIVIDE: "DIVIDE",
9
+ MULTIPLY: "MULTIPLY",
10
+ SUBTRACT: "SUBTRACT",
11
+ };
12
+ exports.OptimizationMetric = {
13
+ AverageWeightedQuantileLoss: "AverageWeightedQuantileLoss",
14
+ MAPE: "MAPE",
15
+ MASE: "MASE",
16
+ RMSE: "RMSE",
17
+ WAPE: "WAPE",
18
+ };
19
+ exports.DayOfWeek = {
20
+ FRIDAY: "FRIDAY",
21
+ MONDAY: "MONDAY",
22
+ SATURDAY: "SATURDAY",
23
+ SUNDAY: "SUNDAY",
24
+ THURSDAY: "THURSDAY",
25
+ TUESDAY: "TUESDAY",
26
+ WEDNESDAY: "WEDNESDAY",
27
+ };
28
+ exports.Month = {
29
+ APRIL: "APRIL",
30
+ AUGUST: "AUGUST",
31
+ DECEMBER: "DECEMBER",
32
+ FEBRUARY: "FEBRUARY",
33
+ JANUARY: "JANUARY",
34
+ JULY: "JULY",
35
+ JUNE: "JUNE",
36
+ MARCH: "MARCH",
37
+ MAY: "MAY",
38
+ NOVEMBER: "NOVEMBER",
39
+ OCTOBER: "OCTOBER",
40
+ SEPTEMBER: "SEPTEMBER",
41
+ };
46
42
  class InvalidInputException extends ForecastServiceException_1.ForecastServiceException {
47
43
  constructor(opts) {
48
44
  super({
@@ -113,78 +109,66 @@ class ResourceNotFoundException extends ForecastServiceException_1.ForecastServi
113
109
  }
114
110
  }
115
111
  exports.ResourceNotFoundException = ResourceNotFoundException;
116
- var DatasetType;
117
- (function (DatasetType) {
118
- DatasetType["ITEM_METADATA"] = "ITEM_METADATA";
119
- DatasetType["RELATED_TIME_SERIES"] = "RELATED_TIME_SERIES";
120
- DatasetType["TARGET_TIME_SERIES"] = "TARGET_TIME_SERIES";
121
- })(DatasetType = exports.DatasetType || (exports.DatasetType = {}));
122
- var Domain;
123
- (function (Domain) {
124
- Domain["CUSTOM"] = "CUSTOM";
125
- Domain["EC2_CAPACITY"] = "EC2_CAPACITY";
126
- Domain["INVENTORY_PLANNING"] = "INVENTORY_PLANNING";
127
- Domain["METRICS"] = "METRICS";
128
- Domain["RETAIL"] = "RETAIL";
129
- Domain["WEB_TRAFFIC"] = "WEB_TRAFFIC";
130
- Domain["WORK_FORCE"] = "WORK_FORCE";
131
- })(Domain = exports.Domain || (exports.Domain = {}));
132
- var AttributeType;
133
- (function (AttributeType) {
134
- AttributeType["FLOAT"] = "float";
135
- AttributeType["GEOLOCATION"] = "geolocation";
136
- AttributeType["INTEGER"] = "integer";
137
- AttributeType["STRING"] = "string";
138
- AttributeType["TIMESTAMP"] = "timestamp";
139
- })(AttributeType = exports.AttributeType || (exports.AttributeType = {}));
140
- var ImportMode;
141
- (function (ImportMode) {
142
- ImportMode["FULL"] = "FULL";
143
- ImportMode["INCREMENTAL"] = "INCREMENTAL";
144
- })(ImportMode = exports.ImportMode || (exports.ImportMode = {}));
145
- var TimePointGranularity;
146
- (function (TimePointGranularity) {
147
- TimePointGranularity["ALL"] = "ALL";
148
- TimePointGranularity["SPECIFIC"] = "SPECIFIC";
149
- })(TimePointGranularity = exports.TimePointGranularity || (exports.TimePointGranularity = {}));
150
- var TimeSeriesGranularity;
151
- (function (TimeSeriesGranularity) {
152
- TimeSeriesGranularity["ALL"] = "ALL";
153
- TimeSeriesGranularity["SPECIFIC"] = "SPECIFIC";
154
- })(TimeSeriesGranularity = exports.TimeSeriesGranularity || (exports.TimeSeriesGranularity = {}));
155
- var AutoMLOverrideStrategy;
156
- (function (AutoMLOverrideStrategy) {
157
- AutoMLOverrideStrategy["AccuracyOptimized"] = "AccuracyOptimized";
158
- AutoMLOverrideStrategy["LatencyOptimized"] = "LatencyOptimized";
159
- })(AutoMLOverrideStrategy = exports.AutoMLOverrideStrategy || (exports.AutoMLOverrideStrategy = {}));
160
- var FeaturizationMethodName;
161
- (function (FeaturizationMethodName) {
162
- FeaturizationMethodName["filling"] = "filling";
163
- })(FeaturizationMethodName = exports.FeaturizationMethodName || (exports.FeaturizationMethodName = {}));
164
- var ScalingType;
165
- (function (ScalingType) {
166
- ScalingType["Auto"] = "Auto";
167
- ScalingType["Linear"] = "Linear";
168
- ScalingType["Logarithmic"] = "Logarithmic";
169
- ScalingType["ReverseLogarithmic"] = "ReverseLogarithmic";
170
- })(ScalingType = exports.ScalingType || (exports.ScalingType = {}));
171
- var Condition;
172
- (function (Condition) {
173
- Condition["EQUALS"] = "EQUALS";
174
- Condition["GREATER_THAN"] = "GREATER_THAN";
175
- Condition["LESS_THAN"] = "LESS_THAN";
176
- Condition["NOT_EQUALS"] = "NOT_EQUALS";
177
- })(Condition = exports.Condition || (exports.Condition = {}));
178
- var State;
179
- (function (State) {
180
- State["Active"] = "Active";
181
- State["Deleted"] = "Deleted";
182
- })(State = exports.State || (exports.State = {}));
183
- var EvaluationType;
184
- (function (EvaluationType) {
185
- EvaluationType["COMPUTED"] = "COMPUTED";
186
- EvaluationType["SUMMARY"] = "SUMMARY";
187
- })(EvaluationType = exports.EvaluationType || (exports.EvaluationType = {}));
112
+ exports.DatasetType = {
113
+ ITEM_METADATA: "ITEM_METADATA",
114
+ RELATED_TIME_SERIES: "RELATED_TIME_SERIES",
115
+ TARGET_TIME_SERIES: "TARGET_TIME_SERIES",
116
+ };
117
+ exports.Domain = {
118
+ CUSTOM: "CUSTOM",
119
+ EC2_CAPACITY: "EC2_CAPACITY",
120
+ INVENTORY_PLANNING: "INVENTORY_PLANNING",
121
+ METRICS: "METRICS",
122
+ RETAIL: "RETAIL",
123
+ WEB_TRAFFIC: "WEB_TRAFFIC",
124
+ WORK_FORCE: "WORK_FORCE",
125
+ };
126
+ exports.AttributeType = {
127
+ FLOAT: "float",
128
+ GEOLOCATION: "geolocation",
129
+ INTEGER: "integer",
130
+ STRING: "string",
131
+ TIMESTAMP: "timestamp",
132
+ };
133
+ exports.ImportMode = {
134
+ FULL: "FULL",
135
+ INCREMENTAL: "INCREMENTAL",
136
+ };
137
+ exports.TimePointGranularity = {
138
+ ALL: "ALL",
139
+ SPECIFIC: "SPECIFIC",
140
+ };
141
+ exports.TimeSeriesGranularity = {
142
+ ALL: "ALL",
143
+ SPECIFIC: "SPECIFIC",
144
+ };
145
+ exports.AutoMLOverrideStrategy = {
146
+ AccuracyOptimized: "AccuracyOptimized",
147
+ LatencyOptimized: "LatencyOptimized",
148
+ };
149
+ exports.FeaturizationMethodName = {
150
+ filling: "filling",
151
+ };
152
+ exports.ScalingType = {
153
+ Auto: "Auto",
154
+ Linear: "Linear",
155
+ Logarithmic: "Logarithmic",
156
+ ReverseLogarithmic: "ReverseLogarithmic",
157
+ };
158
+ exports.Condition = {
159
+ EQUALS: "EQUALS",
160
+ GREATER_THAN: "GREATER_THAN",
161
+ LESS_THAN: "LESS_THAN",
162
+ NOT_EQUALS: "NOT_EQUALS",
163
+ };
164
+ exports.State = {
165
+ Active: "Active",
166
+ Deleted: "Deleted",
167
+ };
168
+ exports.EvaluationType = {
169
+ COMPUTED: "COMPUTED",
170
+ SUMMARY: "SUMMARY",
171
+ };
188
172
  class InvalidNextTokenException extends ForecastServiceException_1.ForecastServiceException {
189
173
  constructor(opts) {
190
174
  super({
@@ -199,11 +183,10 @@ class InvalidNextTokenException extends ForecastServiceException_1.ForecastServi
199
183
  }
200
184
  }
201
185
  exports.InvalidNextTokenException = InvalidNextTokenException;
202
- var FilterConditionString;
203
- (function (FilterConditionString) {
204
- FilterConditionString["IS"] = "IS";
205
- FilterConditionString["IS_NOT"] = "IS_NOT";
206
- })(FilterConditionString = exports.FilterConditionString || (exports.FilterConditionString = {}));
186
+ exports.FilterConditionString = {
187
+ IS: "IS",
188
+ IS_NOT: "IS_NOT",
189
+ };
207
190
  const TagFilterSensitiveLog = (obj) => ({
208
191
  ...obj,
209
192
  ...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
@@ -1,45 +1,41 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { ForecastServiceException as __BaseException } from "./ForecastServiceException";
3
- export var Operation;
4
- (function (Operation) {
5
- Operation["ADD"] = "ADD";
6
- Operation["DIVIDE"] = "DIVIDE";
7
- Operation["MULTIPLY"] = "MULTIPLY";
8
- Operation["SUBTRACT"] = "SUBTRACT";
9
- })(Operation || (Operation = {}));
10
- export var OptimizationMetric;
11
- (function (OptimizationMetric) {
12
- OptimizationMetric["AverageWeightedQuantileLoss"] = "AverageWeightedQuantileLoss";
13
- OptimizationMetric["MAPE"] = "MAPE";
14
- OptimizationMetric["MASE"] = "MASE";
15
- OptimizationMetric["RMSE"] = "RMSE";
16
- OptimizationMetric["WAPE"] = "WAPE";
17
- })(OptimizationMetric || (OptimizationMetric = {}));
18
- export var DayOfWeek;
19
- (function (DayOfWeek) {
20
- DayOfWeek["FRIDAY"] = "FRIDAY";
21
- DayOfWeek["MONDAY"] = "MONDAY";
22
- DayOfWeek["SATURDAY"] = "SATURDAY";
23
- DayOfWeek["SUNDAY"] = "SUNDAY";
24
- DayOfWeek["THURSDAY"] = "THURSDAY";
25
- DayOfWeek["TUESDAY"] = "TUESDAY";
26
- DayOfWeek["WEDNESDAY"] = "WEDNESDAY";
27
- })(DayOfWeek || (DayOfWeek = {}));
28
- export var Month;
29
- (function (Month) {
30
- Month["APRIL"] = "APRIL";
31
- Month["AUGUST"] = "AUGUST";
32
- Month["DECEMBER"] = "DECEMBER";
33
- Month["FEBRUARY"] = "FEBRUARY";
34
- Month["JANUARY"] = "JANUARY";
35
- Month["JULY"] = "JULY";
36
- Month["JUNE"] = "JUNE";
37
- Month["MARCH"] = "MARCH";
38
- Month["MAY"] = "MAY";
39
- Month["NOVEMBER"] = "NOVEMBER";
40
- Month["OCTOBER"] = "OCTOBER";
41
- Month["SEPTEMBER"] = "SEPTEMBER";
42
- })(Month || (Month = {}));
3
+ export const Operation = {
4
+ ADD: "ADD",
5
+ DIVIDE: "DIVIDE",
6
+ MULTIPLY: "MULTIPLY",
7
+ SUBTRACT: "SUBTRACT",
8
+ };
9
+ export const OptimizationMetric = {
10
+ AverageWeightedQuantileLoss: "AverageWeightedQuantileLoss",
11
+ MAPE: "MAPE",
12
+ MASE: "MASE",
13
+ RMSE: "RMSE",
14
+ WAPE: "WAPE",
15
+ };
16
+ export const DayOfWeek = {
17
+ FRIDAY: "FRIDAY",
18
+ MONDAY: "MONDAY",
19
+ SATURDAY: "SATURDAY",
20
+ SUNDAY: "SUNDAY",
21
+ THURSDAY: "THURSDAY",
22
+ TUESDAY: "TUESDAY",
23
+ WEDNESDAY: "WEDNESDAY",
24
+ };
25
+ export const Month = {
26
+ APRIL: "APRIL",
27
+ AUGUST: "AUGUST",
28
+ DECEMBER: "DECEMBER",
29
+ FEBRUARY: "FEBRUARY",
30
+ JANUARY: "JANUARY",
31
+ JULY: "JULY",
32
+ JUNE: "JUNE",
33
+ MARCH: "MARCH",
34
+ MAY: "MAY",
35
+ NOVEMBER: "NOVEMBER",
36
+ OCTOBER: "OCTOBER",
37
+ SEPTEMBER: "SEPTEMBER",
38
+ };
43
39
  export class InvalidInputException extends __BaseException {
44
40
  constructor(opts) {
45
41
  super({
@@ -105,78 +101,66 @@ export class ResourceNotFoundException extends __BaseException {
105
101
  this.Message = opts.Message;
106
102
  }
107
103
  }
108
- export var DatasetType;
109
- (function (DatasetType) {
110
- DatasetType["ITEM_METADATA"] = "ITEM_METADATA";
111
- DatasetType["RELATED_TIME_SERIES"] = "RELATED_TIME_SERIES";
112
- DatasetType["TARGET_TIME_SERIES"] = "TARGET_TIME_SERIES";
113
- })(DatasetType || (DatasetType = {}));
114
- export var Domain;
115
- (function (Domain) {
116
- Domain["CUSTOM"] = "CUSTOM";
117
- Domain["EC2_CAPACITY"] = "EC2_CAPACITY";
118
- Domain["INVENTORY_PLANNING"] = "INVENTORY_PLANNING";
119
- Domain["METRICS"] = "METRICS";
120
- Domain["RETAIL"] = "RETAIL";
121
- Domain["WEB_TRAFFIC"] = "WEB_TRAFFIC";
122
- Domain["WORK_FORCE"] = "WORK_FORCE";
123
- })(Domain || (Domain = {}));
124
- export var AttributeType;
125
- (function (AttributeType) {
126
- AttributeType["FLOAT"] = "float";
127
- AttributeType["GEOLOCATION"] = "geolocation";
128
- AttributeType["INTEGER"] = "integer";
129
- AttributeType["STRING"] = "string";
130
- AttributeType["TIMESTAMP"] = "timestamp";
131
- })(AttributeType || (AttributeType = {}));
132
- export var ImportMode;
133
- (function (ImportMode) {
134
- ImportMode["FULL"] = "FULL";
135
- ImportMode["INCREMENTAL"] = "INCREMENTAL";
136
- })(ImportMode || (ImportMode = {}));
137
- export var TimePointGranularity;
138
- (function (TimePointGranularity) {
139
- TimePointGranularity["ALL"] = "ALL";
140
- TimePointGranularity["SPECIFIC"] = "SPECIFIC";
141
- })(TimePointGranularity || (TimePointGranularity = {}));
142
- export var TimeSeriesGranularity;
143
- (function (TimeSeriesGranularity) {
144
- TimeSeriesGranularity["ALL"] = "ALL";
145
- TimeSeriesGranularity["SPECIFIC"] = "SPECIFIC";
146
- })(TimeSeriesGranularity || (TimeSeriesGranularity = {}));
147
- export var AutoMLOverrideStrategy;
148
- (function (AutoMLOverrideStrategy) {
149
- AutoMLOverrideStrategy["AccuracyOptimized"] = "AccuracyOptimized";
150
- AutoMLOverrideStrategy["LatencyOptimized"] = "LatencyOptimized";
151
- })(AutoMLOverrideStrategy || (AutoMLOverrideStrategy = {}));
152
- export var FeaturizationMethodName;
153
- (function (FeaturizationMethodName) {
154
- FeaturizationMethodName["filling"] = "filling";
155
- })(FeaturizationMethodName || (FeaturizationMethodName = {}));
156
- export var ScalingType;
157
- (function (ScalingType) {
158
- ScalingType["Auto"] = "Auto";
159
- ScalingType["Linear"] = "Linear";
160
- ScalingType["Logarithmic"] = "Logarithmic";
161
- ScalingType["ReverseLogarithmic"] = "ReverseLogarithmic";
162
- })(ScalingType || (ScalingType = {}));
163
- export var Condition;
164
- (function (Condition) {
165
- Condition["EQUALS"] = "EQUALS";
166
- Condition["GREATER_THAN"] = "GREATER_THAN";
167
- Condition["LESS_THAN"] = "LESS_THAN";
168
- Condition["NOT_EQUALS"] = "NOT_EQUALS";
169
- })(Condition || (Condition = {}));
170
- export var State;
171
- (function (State) {
172
- State["Active"] = "Active";
173
- State["Deleted"] = "Deleted";
174
- })(State || (State = {}));
175
- export var EvaluationType;
176
- (function (EvaluationType) {
177
- EvaluationType["COMPUTED"] = "COMPUTED";
178
- EvaluationType["SUMMARY"] = "SUMMARY";
179
- })(EvaluationType || (EvaluationType = {}));
104
+ export const DatasetType = {
105
+ ITEM_METADATA: "ITEM_METADATA",
106
+ RELATED_TIME_SERIES: "RELATED_TIME_SERIES",
107
+ TARGET_TIME_SERIES: "TARGET_TIME_SERIES",
108
+ };
109
+ export const Domain = {
110
+ CUSTOM: "CUSTOM",
111
+ EC2_CAPACITY: "EC2_CAPACITY",
112
+ INVENTORY_PLANNING: "INVENTORY_PLANNING",
113
+ METRICS: "METRICS",
114
+ RETAIL: "RETAIL",
115
+ WEB_TRAFFIC: "WEB_TRAFFIC",
116
+ WORK_FORCE: "WORK_FORCE",
117
+ };
118
+ export const AttributeType = {
119
+ FLOAT: "float",
120
+ GEOLOCATION: "geolocation",
121
+ INTEGER: "integer",
122
+ STRING: "string",
123
+ TIMESTAMP: "timestamp",
124
+ };
125
+ export const ImportMode = {
126
+ FULL: "FULL",
127
+ INCREMENTAL: "INCREMENTAL",
128
+ };
129
+ export const TimePointGranularity = {
130
+ ALL: "ALL",
131
+ SPECIFIC: "SPECIFIC",
132
+ };
133
+ export const TimeSeriesGranularity = {
134
+ ALL: "ALL",
135
+ SPECIFIC: "SPECIFIC",
136
+ };
137
+ export const AutoMLOverrideStrategy = {
138
+ AccuracyOptimized: "AccuracyOptimized",
139
+ LatencyOptimized: "LatencyOptimized",
140
+ };
141
+ export const FeaturizationMethodName = {
142
+ filling: "filling",
143
+ };
144
+ export const ScalingType = {
145
+ Auto: "Auto",
146
+ Linear: "Linear",
147
+ Logarithmic: "Logarithmic",
148
+ ReverseLogarithmic: "ReverseLogarithmic",
149
+ };
150
+ export const Condition = {
151
+ EQUALS: "EQUALS",
152
+ GREATER_THAN: "GREATER_THAN",
153
+ LESS_THAN: "LESS_THAN",
154
+ NOT_EQUALS: "NOT_EQUALS",
155
+ };
156
+ export const State = {
157
+ Active: "Active",
158
+ Deleted: "Deleted",
159
+ };
160
+ export const EvaluationType = {
161
+ COMPUTED: "COMPUTED",
162
+ SUMMARY: "SUMMARY",
163
+ };
180
164
  export class InvalidNextTokenException extends __BaseException {
181
165
  constructor(opts) {
182
166
  super({
@@ -190,11 +174,10 @@ export class InvalidNextTokenException extends __BaseException {
190
174
  this.Message = opts.Message;
191
175
  }
192
176
  }
193
- export var FilterConditionString;
194
- (function (FilterConditionString) {
195
- FilterConditionString["IS"] = "IS";
196
- FilterConditionString["IS_NOT"] = "IS_NOT";
197
- })(FilterConditionString || (FilterConditionString = {}));
177
+ export const FilterConditionString = {
178
+ IS: "IS",
179
+ IS_NOT: "IS_NOT",
180
+ };
198
181
  export const TagFilterSensitiveLog = (obj) => ({
199
182
  ...obj,
200
183
  ...(obj.Key && { Key: SENSITIVE_STRING }),
@@ -2,13 +2,18 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { ForecastServiceException as __BaseException } from "./ForecastServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum Operation {
7
- ADD = "ADD",
8
- DIVIDE = "DIVIDE",
9
- MULTIPLY = "MULTIPLY",
10
- SUBTRACT = "SUBTRACT"
11
- }
7
+ export declare const Operation: {
8
+ readonly ADD: "ADD";
9
+ readonly DIVIDE: "DIVIDE";
10
+ readonly MULTIPLY: "MULTIPLY";
11
+ readonly SUBTRACT: "SUBTRACT";
12
+ };
13
+ /**
14
+ * @public
15
+ */
16
+ export type Operation = (typeof Operation)[keyof typeof Operation];
12
17
  /**
13
18
  * @public
14
19
  * <p>Defines the modifications that you are making to an attribute for a what-if forecast. For example, you can use this operation to create a what-if forecast that investigates a 10% off sale on all shoes. To do this, you specify <code>"AttributeName": "shoes"</code>, <code>"Operation": "MULTIPLY"</code>, and <code>"Value": "0.90"</code>. Pair this operation with the <a>TimeSeriesCondition</a> operation within the <a>CreateWhatIfForecastRequest$TimeSeriesTransformations</a> operation to define a subset of attribute items that are modified.</p>
@@ -428,14 +433,19 @@ export interface MonitorConfig {
428
433
  }
429
434
  /**
430
435
  * @public
436
+ * @enum
431
437
  */
432
- export declare enum OptimizationMetric {
433
- AverageWeightedQuantileLoss = "AverageWeightedQuantileLoss",
434
- MAPE = "MAPE",
435
- MASE = "MASE",
436
- RMSE = "RMSE",
437
- WAPE = "WAPE"
438
- }
438
+ export declare const OptimizationMetric: {
439
+ readonly AverageWeightedQuantileLoss: "AverageWeightedQuantileLoss";
440
+ readonly MAPE: "MAPE";
441
+ readonly MASE: "MASE";
442
+ readonly RMSE: "RMSE";
443
+ readonly WAPE: "WAPE";
444
+ };
445
+ /**
446
+ * @public
447
+ */
448
+ export type OptimizationMetric = (typeof OptimizationMetric)[keyof typeof OptimizationMetric];
439
449
  /**
440
450
  * @public
441
451
  * <p>The optional metadata that you apply to a resource to help you categorize and organize
@@ -488,33 +498,43 @@ export interface Tag {
488
498
  }
489
499
  /**
490
500
  * @public
501
+ * @enum
491
502
  */
492
- export declare enum DayOfWeek {
493
- FRIDAY = "FRIDAY",
494
- MONDAY = "MONDAY",
495
- SATURDAY = "SATURDAY",
496
- SUNDAY = "SUNDAY",
497
- THURSDAY = "THURSDAY",
498
- TUESDAY = "TUESDAY",
499
- WEDNESDAY = "WEDNESDAY"
500
- }
503
+ export declare const DayOfWeek: {
504
+ readonly FRIDAY: "FRIDAY";
505
+ readonly MONDAY: "MONDAY";
506
+ readonly SATURDAY: "SATURDAY";
507
+ readonly SUNDAY: "SUNDAY";
508
+ readonly THURSDAY: "THURSDAY";
509
+ readonly TUESDAY: "TUESDAY";
510
+ readonly WEDNESDAY: "WEDNESDAY";
511
+ };
501
512
  /**
502
513
  * @public
503
514
  */
504
- export declare enum Month {
505
- APRIL = "APRIL",
506
- AUGUST = "AUGUST",
507
- DECEMBER = "DECEMBER",
508
- FEBRUARY = "FEBRUARY",
509
- JANUARY = "JANUARY",
510
- JULY = "JULY",
511
- JUNE = "JUNE",
512
- MARCH = "MARCH",
513
- MAY = "MAY",
514
- NOVEMBER = "NOVEMBER",
515
- OCTOBER = "OCTOBER",
516
- SEPTEMBER = "SEPTEMBER"
517
- }
515
+ export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
516
+ /**
517
+ * @public
518
+ * @enum
519
+ */
520
+ export declare const Month: {
521
+ readonly APRIL: "APRIL";
522
+ readonly AUGUST: "AUGUST";
523
+ readonly DECEMBER: "DECEMBER";
524
+ readonly FEBRUARY: "FEBRUARY";
525
+ readonly JANUARY: "JANUARY";
526
+ readonly JULY: "JULY";
527
+ readonly JUNE: "JUNE";
528
+ readonly MARCH: "MARCH";
529
+ readonly MAY: "MAY";
530
+ readonly NOVEMBER: "NOVEMBER";
531
+ readonly OCTOBER: "OCTOBER";
532
+ readonly SEPTEMBER: "SEPTEMBER";
533
+ };
534
+ /**
535
+ * @public
536
+ */
537
+ export type Month = (typeof Month)[keyof typeof Month];
518
538
  /**
519
539
  * @public
520
540
  * <p>The time boundary Forecast uses to align and aggregate your data to match your forecast frequency. Provide the unit of time and the time boundary as a key value pair. If you
@@ -764,34 +784,49 @@ export declare class ResourceNotFoundException extends __BaseException {
764
784
  }
765
785
  /**
766
786
  * @public
787
+ * @enum
767
788
  */
768
- export declare enum DatasetType {
769
- ITEM_METADATA = "ITEM_METADATA",
770
- RELATED_TIME_SERIES = "RELATED_TIME_SERIES",
771
- TARGET_TIME_SERIES = "TARGET_TIME_SERIES"
772
- }
789
+ export declare const DatasetType: {
790
+ readonly ITEM_METADATA: "ITEM_METADATA";
791
+ readonly RELATED_TIME_SERIES: "RELATED_TIME_SERIES";
792
+ readonly TARGET_TIME_SERIES: "TARGET_TIME_SERIES";
793
+ };
773
794
  /**
774
795
  * @public
775
796
  */
776
- export declare enum Domain {
777
- CUSTOM = "CUSTOM",
778
- EC2_CAPACITY = "EC2_CAPACITY",
779
- INVENTORY_PLANNING = "INVENTORY_PLANNING",
780
- METRICS = "METRICS",
781
- RETAIL = "RETAIL",
782
- WEB_TRAFFIC = "WEB_TRAFFIC",
783
- WORK_FORCE = "WORK_FORCE"
784
- }
797
+ export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
785
798
  /**
786
799
  * @public
800
+ * @enum
787
801
  */
788
- export declare enum AttributeType {
789
- FLOAT = "float",
790
- GEOLOCATION = "geolocation",
791
- INTEGER = "integer",
792
- STRING = "string",
793
- TIMESTAMP = "timestamp"
794
- }
802
+ export declare const Domain: {
803
+ readonly CUSTOM: "CUSTOM";
804
+ readonly EC2_CAPACITY: "EC2_CAPACITY";
805
+ readonly INVENTORY_PLANNING: "INVENTORY_PLANNING";
806
+ readonly METRICS: "METRICS";
807
+ readonly RETAIL: "RETAIL";
808
+ readonly WEB_TRAFFIC: "WEB_TRAFFIC";
809
+ readonly WORK_FORCE: "WORK_FORCE";
810
+ };
811
+ /**
812
+ * @public
813
+ */
814
+ export type Domain = (typeof Domain)[keyof typeof Domain];
815
+ /**
816
+ * @public
817
+ * @enum
818
+ */
819
+ export declare const AttributeType: {
820
+ readonly FLOAT: "float";
821
+ readonly GEOLOCATION: "geolocation";
822
+ readonly INTEGER: "integer";
823
+ readonly STRING: "string";
824
+ readonly TIMESTAMP: "timestamp";
825
+ };
826
+ /**
827
+ * @public
828
+ */
829
+ export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
795
830
  /**
796
831
  * @public
797
832
  * <p>An attribute of a schema, which defines a dataset field. A schema attribute is required
@@ -1043,11 +1078,16 @@ export interface DataSource {
1043
1078
  }
1044
1079
  /**
1045
1080
  * @public
1081
+ * @enum
1046
1082
  */
1047
- export declare enum ImportMode {
1048
- FULL = "FULL",
1049
- INCREMENTAL = "INCREMENTAL"
1050
- }
1083
+ export declare const ImportMode: {
1084
+ readonly FULL: "FULL";
1085
+ readonly INCREMENTAL: "INCREMENTAL";
1086
+ };
1087
+ /**
1088
+ * @public
1089
+ */
1090
+ export type ImportMode = (typeof ImportMode)[keyof typeof ImportMode];
1051
1091
  /**
1052
1092
  * @public
1053
1093
  */
@@ -1179,18 +1219,28 @@ export interface CreateDatasetImportJobResponse {
1179
1219
  }
1180
1220
  /**
1181
1221
  * @public
1222
+ * @enum
1182
1223
  */
1183
- export declare enum TimePointGranularity {
1184
- ALL = "ALL",
1185
- SPECIFIC = "SPECIFIC"
1186
- }
1224
+ export declare const TimePointGranularity: {
1225
+ readonly ALL: "ALL";
1226
+ readonly SPECIFIC: "SPECIFIC";
1227
+ };
1187
1228
  /**
1188
1229
  * @public
1189
1230
  */
1190
- export declare enum TimeSeriesGranularity {
1191
- ALL = "ALL",
1192
- SPECIFIC = "SPECIFIC"
1193
- }
1231
+ export type TimePointGranularity = (typeof TimePointGranularity)[keyof typeof TimePointGranularity];
1232
+ /**
1233
+ * @public
1234
+ * @enum
1235
+ */
1236
+ export declare const TimeSeriesGranularity: {
1237
+ readonly ALL: "ALL";
1238
+ readonly SPECIFIC: "SPECIFIC";
1239
+ };
1240
+ /**
1241
+ * @public
1242
+ */
1243
+ export type TimeSeriesGranularity = (typeof TimeSeriesGranularity)[keyof typeof TimeSeriesGranularity];
1194
1244
  /**
1195
1245
  * @public
1196
1246
  * <p>The ExplainabilityConfig data type defines the number of time series and time points
@@ -1631,11 +1681,16 @@ export interface CreateMonitorResponse {
1631
1681
  }
1632
1682
  /**
1633
1683
  * @public
1684
+ * @enum
1634
1685
  */
1635
- export declare enum AutoMLOverrideStrategy {
1636
- AccuracyOptimized = "AccuracyOptimized",
1637
- LatencyOptimized = "LatencyOptimized"
1638
- }
1686
+ export declare const AutoMLOverrideStrategy: {
1687
+ readonly AccuracyOptimized: "AccuracyOptimized";
1688
+ readonly LatencyOptimized: "LatencyOptimized";
1689
+ };
1690
+ /**
1691
+ * @public
1692
+ */
1693
+ export type AutoMLOverrideStrategy = (typeof AutoMLOverrideStrategy)[keyof typeof AutoMLOverrideStrategy];
1639
1694
  /**
1640
1695
  * @public
1641
1696
  * <p>Parameters that define how to split a dataset into training data and testing data, and the
@@ -1662,10 +1717,15 @@ export interface EvaluationParameters {
1662
1717
  }
1663
1718
  /**
1664
1719
  * @public
1720
+ * @enum
1665
1721
  */
1666
- export declare enum FeaturizationMethodName {
1667
- filling = "filling"
1668
- }
1722
+ export declare const FeaturizationMethodName: {
1723
+ readonly filling: "filling";
1724
+ };
1725
+ /**
1726
+ * @public
1727
+ */
1728
+ export type FeaturizationMethodName = (typeof FeaturizationMethodName)[keyof typeof FeaturizationMethodName];
1669
1729
  /**
1670
1730
  * @public
1671
1731
  * <p>Provides information about the method that featurizes (transforms) a dataset field. The
@@ -1886,13 +1946,18 @@ export interface CategoricalParameterRange {
1886
1946
  }
1887
1947
  /**
1888
1948
  * @public
1949
+ * @enum
1889
1950
  */
1890
- export declare enum ScalingType {
1891
- Auto = "Auto",
1892
- Linear = "Linear",
1893
- Logarithmic = "Logarithmic",
1894
- ReverseLogarithmic = "ReverseLogarithmic"
1895
- }
1951
+ export declare const ScalingType: {
1952
+ readonly Auto: "Auto";
1953
+ readonly Linear: "Linear";
1954
+ readonly Logarithmic: "Logarithmic";
1955
+ readonly ReverseLogarithmic: "ReverseLogarithmic";
1956
+ };
1957
+ /**
1958
+ * @public
1959
+ */
1960
+ export type ScalingType = (typeof ScalingType)[keyof typeof ScalingType];
1896
1961
  /**
1897
1962
  * @public
1898
1963
  * <p>Specifies a continuous hyperparameter and it's range of tunable values.
@@ -2638,13 +2703,18 @@ export interface TimeSeriesReplacementsDataSource {
2638
2703
  }
2639
2704
  /**
2640
2705
  * @public
2706
+ * @enum
2641
2707
  */
2642
- export declare enum Condition {
2643
- EQUALS = "EQUALS",
2644
- GREATER_THAN = "GREATER_THAN",
2645
- LESS_THAN = "LESS_THAN",
2646
- NOT_EQUALS = "NOT_EQUALS"
2647
- }
2708
+ export declare const Condition: {
2709
+ readonly EQUALS: "EQUALS";
2710
+ readonly GREATER_THAN: "GREATER_THAN";
2711
+ readonly LESS_THAN: "LESS_THAN";
2712
+ readonly NOT_EQUALS: "NOT_EQUALS";
2713
+ };
2714
+ /**
2715
+ * @public
2716
+ */
2717
+ export type Condition = (typeof Condition)[keyof typeof Condition];
2648
2718
  /**
2649
2719
  * @public
2650
2720
  * <p>Creates a subset of items within an attribute that are modified. For example, you can use this operation to create a subset of items that cost $5 or less. To do this, you specify <code>"AttributeName": "price"</code>, <code>"AttributeValue": "5"</code>, and <code>"Condition": "LESS_THAN"</code>. Pair this operation with the <a>Action</a> operation within the <a>CreateWhatIfForecastRequest$TimeSeriesTransformations</a> operation to define how the attribute is modified.</p>
@@ -2975,11 +3045,16 @@ export interface MonitorInfo {
2975
3045
  }
2976
3046
  /**
2977
3047
  * @public
3048
+ * @enum
2978
3049
  */
2979
- export declare enum State {
2980
- Active = "Active",
2981
- Deleted = "Deleted"
2982
- }
3050
+ export declare const State: {
3051
+ readonly Active: "Active";
3052
+ readonly Deleted: "Deleted";
3053
+ };
3054
+ /**
3055
+ * @public
3056
+ */
3057
+ export type State = (typeof State)[keyof typeof State];
2983
3058
  /**
2984
3059
  * @public
2985
3060
  * <p>Provides a summary of the reference predictor used when retraining or upgrading a
@@ -4742,11 +4817,16 @@ export interface GetAccuracyMetricsRequest {
4742
4817
  }
4743
4818
  /**
4744
4819
  * @public
4820
+ * @enum
4745
4821
  */
4746
- export declare enum EvaluationType {
4747
- COMPUTED = "COMPUTED",
4748
- SUMMARY = "SUMMARY"
4749
- }
4822
+ export declare const EvaluationType: {
4823
+ readonly COMPUTED: "COMPUTED";
4824
+ readonly SUMMARY: "SUMMARY";
4825
+ };
4826
+ /**
4827
+ * @public
4828
+ */
4829
+ export type EvaluationType = (typeof EvaluationType)[keyof typeof EvaluationType];
4750
4830
  /**
4751
4831
  * @public
4752
4832
  * <p> Provides detailed error metrics to evaluate the performance of a predictor. This object
@@ -4972,11 +5052,16 @@ export interface ListDatasetGroupsResponse {
4972
5052
  }
4973
5053
  /**
4974
5054
  * @public
5055
+ * @enum
4975
5056
  */
4976
- export declare enum FilterConditionString {
4977
- IS = "IS",
4978
- IS_NOT = "IS_NOT"
4979
- }
5057
+ export declare const FilterConditionString: {
5058
+ readonly IS: "IS";
5059
+ readonly IS_NOT: "IS_NOT";
5060
+ };
5061
+ /**
5062
+ * @public
5063
+ */
5064
+ export type FilterConditionString = (typeof FilterConditionString)[keyof typeof FilterConditionString];
4980
5065
  /**
4981
5066
  * @public
4982
5067
  * <p>Describes a filter for choosing a subset of objects. Each filter consists of a
@@ -1,11 +1,12 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ForecastServiceException as __BaseException } from "./ForecastServiceException";
3
- export declare enum Operation {
4
- ADD = "ADD",
5
- DIVIDE = "DIVIDE",
6
- MULTIPLY = "MULTIPLY",
7
- SUBTRACT = "SUBTRACT",
8
- }
3
+ export declare const Operation: {
4
+ readonly ADD: "ADD";
5
+ readonly DIVIDE: "DIVIDE";
6
+ readonly MULTIPLY: "MULTIPLY";
7
+ readonly SUBTRACT: "SUBTRACT";
8
+ };
9
+ export type Operation = (typeof Operation)[keyof typeof Operation];
9
10
  export interface Action {
10
11
  AttributeName: string | undefined;
11
12
  Operation: Operation | string | undefined;
@@ -31,40 +32,44 @@ export interface EncryptionConfig {
31
32
  export interface MonitorConfig {
32
33
  MonitorName: string | undefined;
33
34
  }
34
- export declare enum OptimizationMetric {
35
- AverageWeightedQuantileLoss = "AverageWeightedQuantileLoss",
36
- MAPE = "MAPE",
37
- MASE = "MASE",
38
- RMSE = "RMSE",
39
- WAPE = "WAPE",
40
- }
35
+ export declare const OptimizationMetric: {
36
+ readonly AverageWeightedQuantileLoss: "AverageWeightedQuantileLoss";
37
+ readonly MAPE: "MAPE";
38
+ readonly MASE: "MASE";
39
+ readonly RMSE: "RMSE";
40
+ readonly WAPE: "WAPE";
41
+ };
42
+ export type OptimizationMetric =
43
+ (typeof OptimizationMetric)[keyof typeof OptimizationMetric];
41
44
  export interface Tag {
42
45
  Key: string | undefined;
43
46
  Value: string | undefined;
44
47
  }
45
- export declare enum DayOfWeek {
46
- FRIDAY = "FRIDAY",
47
- MONDAY = "MONDAY",
48
- SATURDAY = "SATURDAY",
49
- SUNDAY = "SUNDAY",
50
- THURSDAY = "THURSDAY",
51
- TUESDAY = "TUESDAY",
52
- WEDNESDAY = "WEDNESDAY",
53
- }
54
- export declare enum Month {
55
- APRIL = "APRIL",
56
- AUGUST = "AUGUST",
57
- DECEMBER = "DECEMBER",
58
- FEBRUARY = "FEBRUARY",
59
- JANUARY = "JANUARY",
60
- JULY = "JULY",
61
- JUNE = "JUNE",
62
- MARCH = "MARCH",
63
- MAY = "MAY",
64
- NOVEMBER = "NOVEMBER",
65
- OCTOBER = "OCTOBER",
66
- SEPTEMBER = "SEPTEMBER",
67
- }
48
+ export declare const DayOfWeek: {
49
+ readonly FRIDAY: "FRIDAY";
50
+ readonly MONDAY: "MONDAY";
51
+ readonly SATURDAY: "SATURDAY";
52
+ readonly SUNDAY: "SUNDAY";
53
+ readonly THURSDAY: "THURSDAY";
54
+ readonly TUESDAY: "TUESDAY";
55
+ readonly WEDNESDAY: "WEDNESDAY";
56
+ };
57
+ export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
58
+ export declare const Month: {
59
+ readonly APRIL: "APRIL";
60
+ readonly AUGUST: "AUGUST";
61
+ readonly DECEMBER: "DECEMBER";
62
+ readonly FEBRUARY: "FEBRUARY";
63
+ readonly JANUARY: "JANUARY";
64
+ readonly JULY: "JULY";
65
+ readonly JUNE: "JUNE";
66
+ readonly MARCH: "MARCH";
67
+ readonly MAY: "MAY";
68
+ readonly NOVEMBER: "NOVEMBER";
69
+ readonly OCTOBER: "OCTOBER";
70
+ readonly SEPTEMBER: "SEPTEMBER";
71
+ };
72
+ export type Month = (typeof Month)[keyof typeof Month];
68
73
  export interface TimeAlignmentBoundary {
69
74
  Month?: Month | string;
70
75
  DayOfMonth?: number;
@@ -129,27 +134,30 @@ export declare class ResourceNotFoundException extends __BaseException {
129
134
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
130
135
  );
131
136
  }
132
- export declare enum DatasetType {
133
- ITEM_METADATA = "ITEM_METADATA",
134
- RELATED_TIME_SERIES = "RELATED_TIME_SERIES",
135
- TARGET_TIME_SERIES = "TARGET_TIME_SERIES",
136
- }
137
- export declare enum Domain {
138
- CUSTOM = "CUSTOM",
139
- EC2_CAPACITY = "EC2_CAPACITY",
140
- INVENTORY_PLANNING = "INVENTORY_PLANNING",
141
- METRICS = "METRICS",
142
- RETAIL = "RETAIL",
143
- WEB_TRAFFIC = "WEB_TRAFFIC",
144
- WORK_FORCE = "WORK_FORCE",
145
- }
146
- export declare enum AttributeType {
147
- FLOAT = "float",
148
- GEOLOCATION = "geolocation",
149
- INTEGER = "integer",
150
- STRING = "string",
151
- TIMESTAMP = "timestamp",
152
- }
137
+ export declare const DatasetType: {
138
+ readonly ITEM_METADATA: "ITEM_METADATA";
139
+ readonly RELATED_TIME_SERIES: "RELATED_TIME_SERIES";
140
+ readonly TARGET_TIME_SERIES: "TARGET_TIME_SERIES";
141
+ };
142
+ export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
143
+ export declare const Domain: {
144
+ readonly CUSTOM: "CUSTOM";
145
+ readonly EC2_CAPACITY: "EC2_CAPACITY";
146
+ readonly INVENTORY_PLANNING: "INVENTORY_PLANNING";
147
+ readonly METRICS: "METRICS";
148
+ readonly RETAIL: "RETAIL";
149
+ readonly WEB_TRAFFIC: "WEB_TRAFFIC";
150
+ readonly WORK_FORCE: "WORK_FORCE";
151
+ };
152
+ export type Domain = (typeof Domain)[keyof typeof Domain];
153
+ export declare const AttributeType: {
154
+ readonly FLOAT: "float";
155
+ readonly GEOLOCATION: "geolocation";
156
+ readonly INTEGER: "integer";
157
+ readonly STRING: "string";
158
+ readonly TIMESTAMP: "timestamp";
159
+ };
160
+ export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
153
161
  export interface SchemaAttribute {
154
162
  AttributeName?: string;
155
163
  AttributeType?: AttributeType | string;
@@ -186,10 +194,11 @@ export interface S3Config {
186
194
  export interface DataSource {
187
195
  S3Config: S3Config | undefined;
188
196
  }
189
- export declare enum ImportMode {
190
- FULL = "FULL",
191
- INCREMENTAL = "INCREMENTAL",
192
- }
197
+ export declare const ImportMode: {
198
+ readonly FULL: "FULL";
199
+ readonly INCREMENTAL: "INCREMENTAL";
200
+ };
201
+ export type ImportMode = (typeof ImportMode)[keyof typeof ImportMode];
193
202
  export interface CreateDatasetImportJobRequest {
194
203
  DatasetImportJobName: string | undefined;
195
204
  DatasetArn: string | undefined;
@@ -205,14 +214,18 @@ export interface CreateDatasetImportJobRequest {
205
214
  export interface CreateDatasetImportJobResponse {
206
215
  DatasetImportJobArn?: string;
207
216
  }
208
- export declare enum TimePointGranularity {
209
- ALL = "ALL",
210
- SPECIFIC = "SPECIFIC",
211
- }
212
- export declare enum TimeSeriesGranularity {
213
- ALL = "ALL",
214
- SPECIFIC = "SPECIFIC",
215
- }
217
+ export declare const TimePointGranularity: {
218
+ readonly ALL: "ALL";
219
+ readonly SPECIFIC: "SPECIFIC";
220
+ };
221
+ export type TimePointGranularity =
222
+ (typeof TimePointGranularity)[keyof typeof TimePointGranularity];
223
+ export declare const TimeSeriesGranularity: {
224
+ readonly ALL: "ALL";
225
+ readonly SPECIFIC: "SPECIFIC";
226
+ };
227
+ export type TimeSeriesGranularity =
228
+ (typeof TimeSeriesGranularity)[keyof typeof TimeSeriesGranularity];
216
229
  export interface ExplainabilityConfig {
217
230
  TimeSeriesGranularity: TimeSeriesGranularity | string | undefined;
218
231
  TimePointGranularity: TimePointGranularity | string | undefined;
@@ -280,17 +293,21 @@ export interface CreateMonitorRequest {
280
293
  export interface CreateMonitorResponse {
281
294
  MonitorArn?: string;
282
295
  }
283
- export declare enum AutoMLOverrideStrategy {
284
- AccuracyOptimized = "AccuracyOptimized",
285
- LatencyOptimized = "LatencyOptimized",
286
- }
296
+ export declare const AutoMLOverrideStrategy: {
297
+ readonly AccuracyOptimized: "AccuracyOptimized";
298
+ readonly LatencyOptimized: "LatencyOptimized";
299
+ };
300
+ export type AutoMLOverrideStrategy =
301
+ (typeof AutoMLOverrideStrategy)[keyof typeof AutoMLOverrideStrategy];
287
302
  export interface EvaluationParameters {
288
303
  NumberOfBacktestWindows?: number;
289
304
  BackTestWindowOffset?: number;
290
305
  }
291
- export declare enum FeaturizationMethodName {
292
- filling = "filling",
293
- }
306
+ export declare const FeaturizationMethodName: {
307
+ readonly filling: "filling";
308
+ };
309
+ export type FeaturizationMethodName =
310
+ (typeof FeaturizationMethodName)[keyof typeof FeaturizationMethodName];
294
311
  export interface FeaturizationMethod {
295
312
  FeaturizationMethodName: FeaturizationMethodName | string | undefined;
296
313
  FeaturizationMethodParameters?: Record<string, string>;
@@ -308,12 +325,13 @@ export interface CategoricalParameterRange {
308
325
  Name: string | undefined;
309
326
  Values: string[] | undefined;
310
327
  }
311
- export declare enum ScalingType {
312
- Auto = "Auto",
313
- Linear = "Linear",
314
- Logarithmic = "Logarithmic",
315
- ReverseLogarithmic = "ReverseLogarithmic",
316
- }
328
+ export declare const ScalingType: {
329
+ readonly Auto: "Auto";
330
+ readonly Linear: "Linear";
331
+ readonly Logarithmic: "Logarithmic";
332
+ readonly ReverseLogarithmic: "ReverseLogarithmic";
333
+ };
334
+ export type ScalingType = (typeof ScalingType)[keyof typeof ScalingType];
317
335
  export interface ContinuousParameterRange {
318
336
  Name: string | undefined;
319
337
  MaxValue: number | undefined;
@@ -387,12 +405,13 @@ export interface TimeSeriesReplacementsDataSource {
387
405
  Format?: string;
388
406
  TimestampFormat?: string;
389
407
  }
390
- export declare enum Condition {
391
- EQUALS = "EQUALS",
392
- GREATER_THAN = "GREATER_THAN",
393
- LESS_THAN = "LESS_THAN",
394
- NOT_EQUALS = "NOT_EQUALS",
395
- }
408
+ export declare const Condition: {
409
+ readonly EQUALS: "EQUALS";
410
+ readonly GREATER_THAN: "GREATER_THAN";
411
+ readonly LESS_THAN: "LESS_THAN";
412
+ readonly NOT_EQUALS: "NOT_EQUALS";
413
+ };
414
+ export type Condition = (typeof Condition)[keyof typeof Condition];
396
415
  export interface TimeSeriesCondition {
397
416
  AttributeName: string | undefined;
398
417
  AttributeValue: string | undefined;
@@ -475,10 +494,11 @@ export interface MonitorInfo {
475
494
  MonitorArn?: string;
476
495
  Status?: string;
477
496
  }
478
- export declare enum State {
479
- Active = "Active",
480
- Deleted = "Deleted",
481
- }
497
+ export declare const State: {
498
+ readonly Active: "Active";
499
+ readonly Deleted: "Deleted";
500
+ };
501
+ export type State = (typeof State)[keyof typeof State];
482
502
  export interface ReferencePredictorSummary {
483
503
  Arn?: string;
484
504
  State?: State | string;
@@ -760,10 +780,12 @@ export interface DescribeWhatIfForecastExportResponse {
760
780
  export interface GetAccuracyMetricsRequest {
761
781
  PredictorArn: string | undefined;
762
782
  }
763
- export declare enum EvaluationType {
764
- COMPUTED = "COMPUTED",
765
- SUMMARY = "SUMMARY",
766
- }
783
+ export declare const EvaluationType: {
784
+ readonly COMPUTED: "COMPUTED";
785
+ readonly SUMMARY: "SUMMARY";
786
+ };
787
+ export type EvaluationType =
788
+ (typeof EvaluationType)[keyof typeof EvaluationType];
767
789
  export interface ErrorMetric {
768
790
  ForecastType?: string;
769
791
  WAPE?: number;
@@ -820,10 +842,12 @@ export interface ListDatasetGroupsResponse {
820
842
  DatasetGroups?: DatasetGroupSummary[];
821
843
  NextToken?: string;
822
844
  }
823
- export declare enum FilterConditionString {
824
- IS = "IS",
825
- IS_NOT = "IS_NOT",
826
- }
845
+ export declare const FilterConditionString: {
846
+ readonly IS: "IS";
847
+ readonly IS_NOT: "IS_NOT";
848
+ };
849
+ export type FilterConditionString =
850
+ (typeof FilterConditionString)[keyof typeof FilterConditionString];
827
851
  export interface Filter {
828
852
  Key: string | undefined;
829
853
  Value: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-forecast",
3
3
  "description": "AWS SDK for JavaScript Forecast Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.303.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,42 +21,42 @@
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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",