@aws-sdk/client-forecast 3.300.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.
Files changed (68) hide show
  1. package/dist-cjs/models/models_0.js +100 -117
  2. package/dist-es/models/models_0.js +100 -117
  3. package/dist-types/commands/CreateAutoPredictorCommand.d.ts +16 -16
  4. package/dist-types/commands/CreateDatasetCommand.d.ts +7 -7
  5. package/dist-types/commands/CreateDatasetGroupCommand.d.ts +4 -4
  6. package/dist-types/commands/CreateDatasetImportJobCommand.d.ts +5 -5
  7. package/dist-types/commands/CreateExplainabilityCommand.d.ts +9 -9
  8. package/dist-types/commands/CreateExplainabilityExportCommand.d.ts +5 -5
  9. package/dist-types/commands/CreateForecastCommand.d.ts +11 -11
  10. package/dist-types/commands/CreateForecastExportJobCommand.d.ts +5 -5
  11. package/dist-types/commands/CreateMonitorCommand.d.ts +3 -3
  12. package/dist-types/commands/CreatePredictorBacktestExportJobCommand.d.ts +5 -5
  13. package/dist-types/commands/CreatePredictorCommand.d.ts +26 -26
  14. package/dist-types/commands/CreateWhatIfAnalysisCommand.d.ts +10 -10
  15. package/dist-types/commands/CreateWhatIfForecastCommand.d.ts +13 -13
  16. package/dist-types/commands/CreateWhatIfForecastExportCommand.d.ts +6 -6
  17. package/dist-types/commands/DeleteDatasetCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteDatasetGroupCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteDatasetImportJobCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteExplainabilityCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteExplainabilityExportCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteForecastCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteForecastExportJobCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteMonitorCommand.d.ts +1 -1
  25. package/dist-types/commands/DeletePredictorBacktestExportJobCommand.d.ts +1 -1
  26. package/dist-types/commands/DeletePredictorCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteResourceTreeCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteWhatIfAnalysisCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteWhatIfForecastCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteWhatIfForecastExportCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeAutoPredictorCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeDatasetCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeDatasetGroupCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeDatasetImportJobCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeExplainabilityCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeExplainabilityExportCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeForecastCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeForecastExportJobCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeMonitorCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribePredictorBacktestExportJobCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribePredictorCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeWhatIfAnalysisCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeWhatIfForecastCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeWhatIfForecastExportCommand.d.ts +1 -1
  45. package/dist-types/commands/GetAccuracyMetricsCommand.d.ts +1 -1
  46. package/dist-types/commands/ListDatasetGroupsCommand.d.ts +1 -1
  47. package/dist-types/commands/ListDatasetImportJobsCommand.d.ts +3 -3
  48. package/dist-types/commands/ListDatasetsCommand.d.ts +1 -1
  49. package/dist-types/commands/ListExplainabilitiesCommand.d.ts +3 -3
  50. package/dist-types/commands/ListExplainabilityExportsCommand.d.ts +3 -3
  51. package/dist-types/commands/ListForecastExportJobsCommand.d.ts +3 -3
  52. package/dist-types/commands/ListForecastsCommand.d.ts +3 -3
  53. package/dist-types/commands/ListMonitorEvaluationsCommand.d.ts +3 -3
  54. package/dist-types/commands/ListMonitorsCommand.d.ts +3 -3
  55. package/dist-types/commands/ListPredictorBacktestExportJobsCommand.d.ts +3 -3
  56. package/dist-types/commands/ListPredictorsCommand.d.ts +3 -3
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  58. package/dist-types/commands/ListWhatIfAnalysesCommand.d.ts +3 -3
  59. package/dist-types/commands/ListWhatIfForecastExportsCommand.d.ts +3 -3
  60. package/dist-types/commands/ListWhatIfForecastsCommand.d.ts +3 -3
  61. package/dist-types/commands/ResumeResourceCommand.d.ts +1 -1
  62. package/dist-types/commands/StopResourceCommand.d.ts +1 -1
  63. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  64. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  65. package/dist-types/commands/UpdateDatasetGroupCommand.d.ts +2 -2
  66. package/dist-types/models/models_0.d.ts +185 -100
  67. package/dist-types/ts3.4/models/models_0.d.ts +124 -100
  68. package/package.json +34 -34
@@ -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 }),
@@ -74,54 +74,54 @@ export interface CreateAutoPredictorCommandOutput extends CreateAutoPredictorRes
74
74
  * import { ForecastClient, CreateAutoPredictorCommand } from "@aws-sdk/client-forecast"; // ES Modules import
75
75
  * // const { ForecastClient, CreateAutoPredictorCommand } = require("@aws-sdk/client-forecast"); // CommonJS import
76
76
  * const client = new ForecastClient(config);
77
- * const input = {
77
+ * const input = { // CreateAutoPredictorRequest
78
78
  * PredictorName: "STRING_VALUE", // required
79
79
  * ForecastHorizon: Number("int"),
80
- * ForecastTypes: [
80
+ * ForecastTypes: [ // ForecastTypes
81
81
  * "STRING_VALUE",
82
82
  * ],
83
- * ForecastDimensions: [
83
+ * ForecastDimensions: [ // ForecastDimensions
84
84
  * "STRING_VALUE",
85
85
  * ],
86
86
  * ForecastFrequency: "STRING_VALUE",
87
- * DataConfig: {
87
+ * DataConfig: { // DataConfig
88
88
  * DatasetGroupArn: "STRING_VALUE", // required
89
- * AttributeConfigs: [
90
- * {
89
+ * AttributeConfigs: [ // AttributeConfigs
90
+ * { // AttributeConfig
91
91
  * AttributeName: "STRING_VALUE", // required
92
- * Transformations: { // required
92
+ * Transformations: { // Transformations // required
93
93
  * "<keys>": "STRING_VALUE",
94
94
  * },
95
95
  * },
96
96
  * ],
97
- * AdditionalDatasets: [
98
- * {
97
+ * AdditionalDatasets: [ // AdditionalDatasets
98
+ * { // AdditionalDataset
99
99
  * Name: "STRING_VALUE", // required
100
- * Configuration: {
101
- * "<keys>": [
100
+ * Configuration: { // Configuration
101
+ * "<keys>": [ // Values
102
102
  * "STRING_VALUE",
103
103
  * ],
104
104
  * },
105
105
  * },
106
106
  * ],
107
107
  * },
108
- * EncryptionConfig: {
108
+ * EncryptionConfig: { // EncryptionConfig
109
109
  * RoleArn: "STRING_VALUE", // required
110
110
  * KMSKeyArn: "STRING_VALUE", // required
111
111
  * },
112
112
  * ReferencePredictorArn: "STRING_VALUE",
113
113
  * OptimizationMetric: "WAPE" || "RMSE" || "AverageWeightedQuantileLoss" || "MASE" || "MAPE",
114
114
  * ExplainPredictor: true || false,
115
- * Tags: [
116
- * {
115
+ * Tags: [ // Tags
116
+ * { // Tag
117
117
  * Key: "STRING_VALUE", // required
118
118
  * Value: "STRING_VALUE", // required
119
119
  * },
120
120
  * ],
121
- * MonitorConfig: {
121
+ * MonitorConfig: { // MonitorConfig
122
122
  * MonitorName: "STRING_VALUE", // required
123
123
  * },
124
- * TimeAlignmentBoundary: {
124
+ * TimeAlignmentBoundary: { // TimeAlignmentBoundary
125
125
  * Month: "JANUARY" || "FEBRUARY" || "MARCH" || "APRIL" || "MAY" || "JUNE" || "JULY" || "AUGUST" || "SEPTEMBER" || "OCTOBER" || "NOVEMBER" || "DECEMBER",
126
126
  * DayOfMonth: Number("int"),
127
127
  * DayOfWeek: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY",
@@ -67,25 +67,25 @@ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __Met
67
67
  * import { ForecastClient, CreateDatasetCommand } from "@aws-sdk/client-forecast"; // ES Modules import
68
68
  * // const { ForecastClient, CreateDatasetCommand } = require("@aws-sdk/client-forecast"); // CommonJS import
69
69
  * const client = new ForecastClient(config);
70
- * const input = {
70
+ * const input = { // CreateDatasetRequest
71
71
  * DatasetName: "STRING_VALUE", // required
72
72
  * Domain: "RETAIL" || "CUSTOM" || "INVENTORY_PLANNING" || "EC2_CAPACITY" || "WORK_FORCE" || "WEB_TRAFFIC" || "METRICS", // required
73
73
  * DatasetType: "TARGET_TIME_SERIES" || "RELATED_TIME_SERIES" || "ITEM_METADATA", // required
74
74
  * DataFrequency: "STRING_VALUE",
75
- * Schema: {
76
- * Attributes: [
77
- * {
75
+ * Schema: { // Schema
76
+ * Attributes: [ // SchemaAttributes
77
+ * { // SchemaAttribute
78
78
  * AttributeName: "STRING_VALUE",
79
79
  * AttributeType: "string" || "integer" || "float" || "timestamp" || "geolocation",
80
80
  * },
81
81
  * ],
82
82
  * },
83
- * EncryptionConfig: {
83
+ * EncryptionConfig: { // EncryptionConfig
84
84
  * RoleArn: "STRING_VALUE", // required
85
85
  * KMSKeyArn: "STRING_VALUE", // required
86
86
  * },
87
- * Tags: [
88
- * {
87
+ * Tags: [ // Tags
88
+ * { // Tag
89
89
  * Key: "STRING_VALUE", // required
90
90
  * Value: "STRING_VALUE", // required
91
91
  * },
@@ -35,14 +35,14 @@ export interface CreateDatasetGroupCommandOutput extends CreateDatasetGroupRespo
35
35
  * import { ForecastClient, CreateDatasetGroupCommand } from "@aws-sdk/client-forecast"; // ES Modules import
36
36
  * // const { ForecastClient, CreateDatasetGroupCommand } = require("@aws-sdk/client-forecast"); // CommonJS import
37
37
  * const client = new ForecastClient(config);
38
- * const input = {
38
+ * const input = { // CreateDatasetGroupRequest
39
39
  * DatasetGroupName: "STRING_VALUE", // required
40
40
  * Domain: "RETAIL" || "CUSTOM" || "INVENTORY_PLANNING" || "EC2_CAPACITY" || "WORK_FORCE" || "WEB_TRAFFIC" || "METRICS", // required
41
- * DatasetArns: [
41
+ * DatasetArns: [ // ArnList
42
42
  * "STRING_VALUE",
43
43
  * ],
44
- * Tags: [
45
- * {
44
+ * Tags: [ // Tags
45
+ * { // Tag
46
46
  * Key: "STRING_VALUE", // required
47
47
  * Value: "STRING_VALUE", // required
48
48
  * },
@@ -42,11 +42,11 @@ export interface CreateDatasetImportJobCommandOutput extends CreateDatasetImport
42
42
  * import { ForecastClient, CreateDatasetImportJobCommand } from "@aws-sdk/client-forecast"; // ES Modules import
43
43
  * // const { ForecastClient, CreateDatasetImportJobCommand } = require("@aws-sdk/client-forecast"); // CommonJS import
44
44
  * const client = new ForecastClient(config);
45
- * const input = {
45
+ * const input = { // CreateDatasetImportJobRequest
46
46
  * DatasetImportJobName: "STRING_VALUE", // required
47
47
  * DatasetArn: "STRING_VALUE", // required
48
- * DataSource: {
49
- * S3Config: {
48
+ * DataSource: { // DataSource
49
+ * S3Config: { // S3Config
50
50
  * Path: "STRING_VALUE", // required
51
51
  * RoleArn: "STRING_VALUE", // required
52
52
  * KMSKeyArn: "STRING_VALUE",
@@ -56,8 +56,8 @@ export interface CreateDatasetImportJobCommandOutput extends CreateDatasetImport
56
56
  * TimeZone: "STRING_VALUE",
57
57
  * UseGeolocationForTimeZone: true || false,
58
58
  * GeolocationFormat: "STRING_VALUE",
59
- * Tags: [
60
- * {
59
+ * Tags: [ // Tags
60
+ * { // Tag
61
61
  * Key: "STRING_VALUE", // required
62
62
  * Value: "STRING_VALUE", // required
63
63
  * },