@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
|
@@ -1,12 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import {
|
|
2
|
+
AttributeType,
|
|
3
|
+
AutoMLOverrideStrategy,
|
|
4
|
+
Condition,
|
|
5
|
+
DatasetType,
|
|
6
|
+
DayOfWeek,
|
|
7
|
+
Domain,
|
|
8
|
+
EvaluationType,
|
|
9
|
+
FeaturizationMethodName,
|
|
10
|
+
FilterConditionString,
|
|
11
|
+
ImportMode,
|
|
12
|
+
Month,
|
|
13
|
+
Operation,
|
|
14
|
+
OptimizationMetric,
|
|
15
|
+
ScalingType,
|
|
16
|
+
State,
|
|
17
|
+
TimePointGranularity,
|
|
18
|
+
TimeSeriesGranularity,
|
|
19
|
+
} from "./enums";
|
|
10
20
|
export interface Action {
|
|
11
21
|
AttributeName: string | undefined;
|
|
12
22
|
Operation: Operation | undefined;
|
|
@@ -32,44 +42,10 @@ export interface EncryptionConfig {
|
|
|
32
42
|
export interface MonitorConfig {
|
|
33
43
|
MonitorName: string | undefined;
|
|
34
44
|
}
|
|
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];
|
|
44
45
|
export interface Tag {
|
|
45
46
|
Key: string | undefined;
|
|
46
47
|
Value: string | undefined;
|
|
47
48
|
}
|
|
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];
|
|
73
49
|
export interface TimeAlignmentBoundary {
|
|
74
50
|
Month?: Month | undefined;
|
|
75
51
|
DayOfMonth?: number | undefined;
|
|
@@ -94,70 +70,6 @@ export interface CreateAutoPredictorRequest {
|
|
|
94
70
|
export interface CreateAutoPredictorResponse {
|
|
95
71
|
PredictorArn?: string | undefined;
|
|
96
72
|
}
|
|
97
|
-
export declare class InvalidInputException extends __BaseException {
|
|
98
|
-
readonly name: "InvalidInputException";
|
|
99
|
-
readonly $fault: "client";
|
|
100
|
-
Message?: string | undefined;
|
|
101
|
-
constructor(
|
|
102
|
-
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
export declare class LimitExceededException extends __BaseException {
|
|
106
|
-
readonly name: "LimitExceededException";
|
|
107
|
-
readonly $fault: "client";
|
|
108
|
-
Message?: string | undefined;
|
|
109
|
-
constructor(
|
|
110
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
114
|
-
readonly name: "ResourceAlreadyExistsException";
|
|
115
|
-
readonly $fault: "client";
|
|
116
|
-
Message?: string | undefined;
|
|
117
|
-
constructor(
|
|
118
|
-
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
119
|
-
);
|
|
120
|
-
}
|
|
121
|
-
export declare class ResourceInUseException extends __BaseException {
|
|
122
|
-
readonly name: "ResourceInUseException";
|
|
123
|
-
readonly $fault: "client";
|
|
124
|
-
Message?: string | undefined;
|
|
125
|
-
constructor(
|
|
126
|
-
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
127
|
-
);
|
|
128
|
-
}
|
|
129
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
130
|
-
readonly name: "ResourceNotFoundException";
|
|
131
|
-
readonly $fault: "client";
|
|
132
|
-
Message?: string | undefined;
|
|
133
|
-
constructor(
|
|
134
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
135
|
-
);
|
|
136
|
-
}
|
|
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];
|
|
161
73
|
export interface SchemaAttribute {
|
|
162
74
|
AttributeName?: string | undefined;
|
|
163
75
|
AttributeType?: AttributeType | undefined;
|
|
@@ -194,11 +106,6 @@ export interface S3Config {
|
|
|
194
106
|
export interface DataSource {
|
|
195
107
|
S3Config: S3Config | undefined;
|
|
196
108
|
}
|
|
197
|
-
export declare const ImportMode: {
|
|
198
|
-
readonly FULL: "FULL";
|
|
199
|
-
readonly INCREMENTAL: "INCREMENTAL";
|
|
200
|
-
};
|
|
201
|
-
export type ImportMode = (typeof ImportMode)[keyof typeof ImportMode];
|
|
202
109
|
export interface CreateDatasetImportJobRequest {
|
|
203
110
|
DatasetImportJobName: string | undefined;
|
|
204
111
|
DatasetArn: string | undefined;
|
|
@@ -214,18 +121,6 @@ export interface CreateDatasetImportJobRequest {
|
|
|
214
121
|
export interface CreateDatasetImportJobResponse {
|
|
215
122
|
DatasetImportJobArn?: string | undefined;
|
|
216
123
|
}
|
|
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];
|
|
229
124
|
export interface ExplainabilityConfig {
|
|
230
125
|
TimeSeriesGranularity: TimeSeriesGranularity | undefined;
|
|
231
126
|
TimePointGranularity: TimePointGranularity | undefined;
|
|
@@ -293,21 +188,10 @@ export interface CreateMonitorRequest {
|
|
|
293
188
|
export interface CreateMonitorResponse {
|
|
294
189
|
MonitorArn?: string | undefined;
|
|
295
190
|
}
|
|
296
|
-
export declare const AutoMLOverrideStrategy: {
|
|
297
|
-
readonly AccuracyOptimized: "AccuracyOptimized";
|
|
298
|
-
readonly LatencyOptimized: "LatencyOptimized";
|
|
299
|
-
};
|
|
300
|
-
export type AutoMLOverrideStrategy =
|
|
301
|
-
(typeof AutoMLOverrideStrategy)[keyof typeof AutoMLOverrideStrategy];
|
|
302
191
|
export interface EvaluationParameters {
|
|
303
192
|
NumberOfBacktestWindows?: number | undefined;
|
|
304
193
|
BackTestWindowOffset?: number | undefined;
|
|
305
194
|
}
|
|
306
|
-
export declare const FeaturizationMethodName: {
|
|
307
|
-
readonly filling: "filling";
|
|
308
|
-
};
|
|
309
|
-
export type FeaturizationMethodName =
|
|
310
|
-
(typeof FeaturizationMethodName)[keyof typeof FeaturizationMethodName];
|
|
311
195
|
export interface FeaturizationMethod {
|
|
312
196
|
FeaturizationMethodName: FeaturizationMethodName | undefined;
|
|
313
197
|
FeaturizationMethodParameters?: Record<string, string> | undefined;
|
|
@@ -325,13 +209,6 @@ export interface CategoricalParameterRange {
|
|
|
325
209
|
Name: string | undefined;
|
|
326
210
|
Values: string[] | undefined;
|
|
327
211
|
}
|
|
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];
|
|
335
212
|
export interface ContinuousParameterRange {
|
|
336
213
|
Name: string | undefined;
|
|
337
214
|
MaxValue: number | undefined;
|
|
@@ -405,13 +282,6 @@ export interface TimeSeriesReplacementsDataSource {
|
|
|
405
282
|
Format?: string | undefined;
|
|
406
283
|
TimestampFormat?: string | undefined;
|
|
407
284
|
}
|
|
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];
|
|
415
285
|
export interface TimeSeriesCondition {
|
|
416
286
|
AttributeName: string | undefined;
|
|
417
287
|
AttributeValue: string | undefined;
|
|
@@ -496,11 +366,6 @@ export interface MonitorInfo {
|
|
|
496
366
|
MonitorArn?: string | undefined;
|
|
497
367
|
Status?: string | undefined;
|
|
498
368
|
}
|
|
499
|
-
export declare const State: {
|
|
500
|
-
readonly Active: "Active";
|
|
501
|
-
readonly Deleted: "Deleted";
|
|
502
|
-
};
|
|
503
|
-
export type State = (typeof State)[keyof typeof State];
|
|
504
369
|
export interface ReferencePredictorSummary {
|
|
505
370
|
Arn?: string | undefined;
|
|
506
371
|
State?: State | undefined;
|
|
@@ -784,12 +649,6 @@ export interface DescribeWhatIfForecastExportResponse {
|
|
|
784
649
|
export interface GetAccuracyMetricsRequest {
|
|
785
650
|
PredictorArn: string | undefined;
|
|
786
651
|
}
|
|
787
|
-
export declare const EvaluationType: {
|
|
788
|
-
readonly COMPUTED: "COMPUTED";
|
|
789
|
-
readonly SUMMARY: "SUMMARY";
|
|
790
|
-
};
|
|
791
|
-
export type EvaluationType =
|
|
792
|
-
(typeof EvaluationType)[keyof typeof EvaluationType];
|
|
793
652
|
export interface ErrorMetric {
|
|
794
653
|
ForecastType?: string | undefined;
|
|
795
654
|
WAPE?: number | undefined;
|
|
@@ -824,14 +683,6 @@ export interface GetAccuracyMetricsResponse {
|
|
|
824
683
|
AutoMLOverrideStrategy?: AutoMLOverrideStrategy | undefined;
|
|
825
684
|
OptimizationMetric?: OptimizationMetric | undefined;
|
|
826
685
|
}
|
|
827
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
828
|
-
readonly name: "InvalidNextTokenException";
|
|
829
|
-
readonly $fault: "client";
|
|
830
|
-
Message?: string | undefined;
|
|
831
|
-
constructor(
|
|
832
|
-
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
833
|
-
);
|
|
834
|
-
}
|
|
835
686
|
export interface ListDatasetGroupsRequest {
|
|
836
687
|
NextToken?: string | undefined;
|
|
837
688
|
MaxResults?: number | undefined;
|
|
@@ -846,12 +697,6 @@ export interface ListDatasetGroupsResponse {
|
|
|
846
697
|
DatasetGroups?: DatasetGroupSummary[] | undefined;
|
|
847
698
|
NextToken?: string | undefined;
|
|
848
699
|
}
|
|
849
|
-
export declare const FilterConditionString: {
|
|
850
|
-
readonly IS: "IS";
|
|
851
|
-
readonly IS_NOT: "IS_NOT";
|
|
852
|
-
};
|
|
853
|
-
export type FilterConditionString =
|
|
854
|
-
(typeof FilterConditionString)[keyof typeof FilterConditionString];
|
|
855
700
|
export interface Filter {
|
|
856
701
|
Key: string | undefined;
|
|
857
702
|
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.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-forecast",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|