@aws-sdk/client-forecast 3.934.0 → 3.936.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/index.js +101 -100
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +100 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -185
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +236 -0
- package/dist-types/models/errors.d.ts +82 -0
- package/dist-types/models/models_0.d.ts +1 -318
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +124 -0
- package/dist-types/ts3.4/models/errors.d.ts +50 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -174
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const Operation: {
|
|
6
|
+
readonly ADD: "ADD";
|
|
7
|
+
readonly DIVIDE: "DIVIDE";
|
|
8
|
+
readonly MULTIPLY: "MULTIPLY";
|
|
9
|
+
readonly SUBTRACT: "SUBTRACT";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const OptimizationMetric: {
|
|
20
|
+
readonly AverageWeightedQuantileLoss: "AverageWeightedQuantileLoss";
|
|
21
|
+
readonly MAPE: "MAPE";
|
|
22
|
+
readonly MASE: "MASE";
|
|
23
|
+
readonly RMSE: "RMSE";
|
|
24
|
+
readonly WAPE: "WAPE";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type OptimizationMetric = (typeof OptimizationMetric)[keyof typeof OptimizationMetric];
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* @enum
|
|
33
|
+
*/
|
|
34
|
+
export declare const DayOfWeek: {
|
|
35
|
+
readonly FRIDAY: "FRIDAY";
|
|
36
|
+
readonly MONDAY: "MONDAY";
|
|
37
|
+
readonly SATURDAY: "SATURDAY";
|
|
38
|
+
readonly SUNDAY: "SUNDAY";
|
|
39
|
+
readonly THURSDAY: "THURSDAY";
|
|
40
|
+
readonly TUESDAY: "TUESDAY";
|
|
41
|
+
readonly WEDNESDAY: "WEDNESDAY";
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
* @enum
|
|
50
|
+
*/
|
|
51
|
+
export declare const Month: {
|
|
52
|
+
readonly APRIL: "APRIL";
|
|
53
|
+
readonly AUGUST: "AUGUST";
|
|
54
|
+
readonly DECEMBER: "DECEMBER";
|
|
55
|
+
readonly FEBRUARY: "FEBRUARY";
|
|
56
|
+
readonly JANUARY: "JANUARY";
|
|
57
|
+
readonly JULY: "JULY";
|
|
58
|
+
readonly JUNE: "JUNE";
|
|
59
|
+
readonly MARCH: "MARCH";
|
|
60
|
+
readonly MAY: "MAY";
|
|
61
|
+
readonly NOVEMBER: "NOVEMBER";
|
|
62
|
+
readonly OCTOBER: "OCTOBER";
|
|
63
|
+
readonly SEPTEMBER: "SEPTEMBER";
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export type Month = (typeof Month)[keyof typeof Month];
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
* @enum
|
|
72
|
+
*/
|
|
73
|
+
export declare const DatasetType: {
|
|
74
|
+
readonly ITEM_METADATA: "ITEM_METADATA";
|
|
75
|
+
readonly RELATED_TIME_SERIES: "RELATED_TIME_SERIES";
|
|
76
|
+
readonly TARGET_TIME_SERIES: "TARGET_TIME_SERIES";
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
* @enum
|
|
85
|
+
*/
|
|
86
|
+
export declare const Domain: {
|
|
87
|
+
readonly CUSTOM: "CUSTOM";
|
|
88
|
+
readonly EC2_CAPACITY: "EC2_CAPACITY";
|
|
89
|
+
readonly INVENTORY_PLANNING: "INVENTORY_PLANNING";
|
|
90
|
+
readonly METRICS: "METRICS";
|
|
91
|
+
readonly RETAIL: "RETAIL";
|
|
92
|
+
readonly WEB_TRAFFIC: "WEB_TRAFFIC";
|
|
93
|
+
readonly WORK_FORCE: "WORK_FORCE";
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export type Domain = (typeof Domain)[keyof typeof Domain];
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
* @enum
|
|
102
|
+
*/
|
|
103
|
+
export declare const AttributeType: {
|
|
104
|
+
readonly FLOAT: "float";
|
|
105
|
+
readonly GEOLOCATION: "geolocation";
|
|
106
|
+
readonly INTEGER: "integer";
|
|
107
|
+
readonly STRING: "string";
|
|
108
|
+
readonly TIMESTAMP: "timestamp";
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
* @enum
|
|
117
|
+
*/
|
|
118
|
+
export declare const ImportMode: {
|
|
119
|
+
readonly FULL: "FULL";
|
|
120
|
+
readonly INCREMENTAL: "INCREMENTAL";
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export type ImportMode = (typeof ImportMode)[keyof typeof ImportMode];
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
* @enum
|
|
129
|
+
*/
|
|
130
|
+
export declare const TimePointGranularity: {
|
|
131
|
+
readonly ALL: "ALL";
|
|
132
|
+
readonly SPECIFIC: "SPECIFIC";
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export type TimePointGranularity = (typeof TimePointGranularity)[keyof typeof TimePointGranularity];
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* @enum
|
|
141
|
+
*/
|
|
142
|
+
export declare const TimeSeriesGranularity: {
|
|
143
|
+
readonly ALL: "ALL";
|
|
144
|
+
readonly SPECIFIC: "SPECIFIC";
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export type TimeSeriesGranularity = (typeof TimeSeriesGranularity)[keyof typeof TimeSeriesGranularity];
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
* @enum
|
|
153
|
+
*/
|
|
154
|
+
export declare const AutoMLOverrideStrategy: {
|
|
155
|
+
readonly AccuracyOptimized: "AccuracyOptimized";
|
|
156
|
+
readonly LatencyOptimized: "LatencyOptimized";
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export type AutoMLOverrideStrategy = (typeof AutoMLOverrideStrategy)[keyof typeof AutoMLOverrideStrategy];
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* @enum
|
|
165
|
+
*/
|
|
166
|
+
export declare const FeaturizationMethodName: {
|
|
167
|
+
readonly filling: "filling";
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
export type FeaturizationMethodName = (typeof FeaturizationMethodName)[keyof typeof FeaturizationMethodName];
|
|
173
|
+
/**
|
|
174
|
+
* @public
|
|
175
|
+
* @enum
|
|
176
|
+
*/
|
|
177
|
+
export declare const ScalingType: {
|
|
178
|
+
readonly Auto: "Auto";
|
|
179
|
+
readonly Linear: "Linear";
|
|
180
|
+
readonly Logarithmic: "Logarithmic";
|
|
181
|
+
readonly ReverseLogarithmic: "ReverseLogarithmic";
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export type ScalingType = (typeof ScalingType)[keyof typeof ScalingType];
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
* @enum
|
|
190
|
+
*/
|
|
191
|
+
export declare const Condition: {
|
|
192
|
+
readonly EQUALS: "EQUALS";
|
|
193
|
+
readonly GREATER_THAN: "GREATER_THAN";
|
|
194
|
+
readonly LESS_THAN: "LESS_THAN";
|
|
195
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
export type Condition = (typeof Condition)[keyof typeof Condition];
|
|
201
|
+
/**
|
|
202
|
+
* @public
|
|
203
|
+
* @enum
|
|
204
|
+
*/
|
|
205
|
+
export declare const State: {
|
|
206
|
+
readonly Active: "Active";
|
|
207
|
+
readonly Deleted: "Deleted";
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
export type State = (typeof State)[keyof typeof State];
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
* @enum
|
|
216
|
+
*/
|
|
217
|
+
export declare const EvaluationType: {
|
|
218
|
+
readonly COMPUTED: "COMPUTED";
|
|
219
|
+
readonly SUMMARY: "SUMMARY";
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
export type EvaluationType = (typeof EvaluationType)[keyof typeof EvaluationType];
|
|
225
|
+
/**
|
|
226
|
+
* @public
|
|
227
|
+
* @enum
|
|
228
|
+
*/
|
|
229
|
+
export declare const FilterConditionString: {
|
|
230
|
+
readonly IS: "IS";
|
|
231
|
+
readonly IS_NOT: "IS_NOT";
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
export type FilterConditionString = (typeof FilterConditionString)[keyof typeof FilterConditionString];
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ForecastServiceException as __BaseException } from "./ForecastServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>We can't process the request because it includes an invalid value or a value that exceeds
|
|
5
|
+
* the valid range.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class InvalidInputException extends __BaseException {
|
|
9
|
+
readonly name: "InvalidInputException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>The limit on the number of resources per account has been exceeded.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class LimitExceededException extends __BaseException {
|
|
22
|
+
readonly name: "LimitExceededException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
Message?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>There is already a resource with this name. Try again with a different name.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
35
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
Message?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* <p>The specified resource is in use.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
48
|
+
readonly name: "ResourceInUseException";
|
|
49
|
+
readonly $fault: "client";
|
|
50
|
+
Message?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* <p>We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
|
|
58
|
+
* again.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
62
|
+
readonly name: "ResourceNotFoundException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
Message?: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* <p>The token is not valid. Tokens expire after 24 hours.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
75
|
+
readonly name: "InvalidNextTokenException";
|
|
76
|
+
readonly $fault: "client";
|
|
77
|
+
Message?: string | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
82
|
+
}
|