@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.
- package/dist-cjs/models/models_0.js +100 -117
- package/dist-es/models/models_0.js +100 -117
- package/dist-types/models/models_0.d.ts +185 -100
- package/dist-types/ts3.4/models/models_0.d.ts +124 -100
- 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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
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
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}
|
|
137
|
-
export
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
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
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
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
|
|
7
|
-
ADD
|
|
8
|
-
DIVIDE
|
|
9
|
-
MULTIPLY
|
|
10
|
-
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
|
|
433
|
-
AverageWeightedQuantileLoss
|
|
434
|
-
MAPE
|
|
435
|
-
MASE
|
|
436
|
-
RMSE
|
|
437
|
-
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
|
|
493
|
-
FRIDAY
|
|
494
|
-
MONDAY
|
|
495
|
-
SATURDAY
|
|
496
|
-
SUNDAY
|
|
497
|
-
THURSDAY
|
|
498
|
-
TUESDAY
|
|
499
|
-
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
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
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
|
|
769
|
-
ITEM_METADATA
|
|
770
|
-
RELATED_TIME_SERIES
|
|
771
|
-
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
|
|
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
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
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
|
|
1048
|
-
FULL
|
|
1049
|
-
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
|
|
1184
|
-
ALL
|
|
1185
|
-
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
|
|
1191
|
-
|
|
1192
|
-
|
|
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
|
|
1636
|
-
AccuracyOptimized
|
|
1637
|
-
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
|
|
1667
|
-
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
|
|
1891
|
-
Auto
|
|
1892
|
-
Linear
|
|
1893
|
-
Logarithmic
|
|
1894
|
-
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
|
|
2643
|
-
EQUALS
|
|
2644
|
-
GREATER_THAN
|
|
2645
|
-
LESS_THAN
|
|
2646
|
-
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
|
|
2980
|
-
Active
|
|
2981
|
-
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
|
|
4747
|
-
COMPUTED
|
|
4748
|
-
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
|
|
4977
|
-
IS
|
|
4978
|
-
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
|
|
4
|
-
ADD
|
|
5
|
-
DIVIDE
|
|
6
|
-
MULTIPLY
|
|
7
|
-
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
|
|
35
|
-
AverageWeightedQuantileLoss
|
|
36
|
-
MAPE
|
|
37
|
-
MASE
|
|
38
|
-
RMSE
|
|
39
|
-
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
|
|
46
|
-
FRIDAY
|
|
47
|
-
MONDAY
|
|
48
|
-
SATURDAY
|
|
49
|
-
SUNDAY
|
|
50
|
-
THURSDAY
|
|
51
|
-
TUESDAY
|
|
52
|
-
WEDNESDAY
|
|
53
|
-
}
|
|
54
|
-
export
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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
|
|
133
|
-
ITEM_METADATA
|
|
134
|
-
RELATED_TIME_SERIES
|
|
135
|
-
TARGET_TIME_SERIES
|
|
136
|
-
}
|
|
137
|
-
export
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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
|
|
190
|
-
FULL
|
|
191
|
-
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
|
|
209
|
-
ALL
|
|
210
|
-
SPECIFIC
|
|
211
|
-
}
|
|
212
|
-
export
|
|
213
|
-
|
|
214
|
-
|
|
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
|
|
284
|
-
AccuracyOptimized
|
|
285
|
-
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
|
|
292
|
-
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
|
|
312
|
-
Auto
|
|
313
|
-
Linear
|
|
314
|
-
Logarithmic
|
|
315
|
-
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
|
|
391
|
-
EQUALS
|
|
392
|
-
GREATER_THAN
|
|
393
|
-
LESS_THAN
|
|
394
|
-
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
|
|
479
|
-
Active
|
|
480
|
-
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
|
|
764
|
-
COMPUTED
|
|
765
|
-
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
|
|
824
|
-
IS
|
|
825
|
-
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.
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
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.
|
|
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",
|