@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,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ForecastServiceException as __BaseException } from "./ForecastServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
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];
|
|
1
|
+
import { AttributeType, AutoMLOverrideStrategy, Condition, DatasetType, DayOfWeek, Domain, EvaluationType, FeaturizationMethodName, FilterConditionString, ImportMode, Month, Operation, OptimizationMetric, ScalingType, State, TimePointGranularity, TimeSeriesGranularity } from "./enums";
|
|
17
2
|
/**
|
|
18
3
|
* <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>
|
|
19
4
|
* @public
|
|
@@ -444,21 +429,6 @@ export interface MonitorConfig {
|
|
|
444
429
|
*/
|
|
445
430
|
MonitorName: string | undefined;
|
|
446
431
|
}
|
|
447
|
-
/**
|
|
448
|
-
* @public
|
|
449
|
-
* @enum
|
|
450
|
-
*/
|
|
451
|
-
export declare const OptimizationMetric: {
|
|
452
|
-
readonly AverageWeightedQuantileLoss: "AverageWeightedQuantileLoss";
|
|
453
|
-
readonly MAPE: "MAPE";
|
|
454
|
-
readonly MASE: "MASE";
|
|
455
|
-
readonly RMSE: "RMSE";
|
|
456
|
-
readonly WAPE: "WAPE";
|
|
457
|
-
};
|
|
458
|
-
/**
|
|
459
|
-
* @public
|
|
460
|
-
*/
|
|
461
|
-
export type OptimizationMetric = (typeof OptimizationMetric)[keyof typeof OptimizationMetric];
|
|
462
432
|
/**
|
|
463
433
|
* <p>The optional metadata that you apply to a resource to help you categorize and organize
|
|
464
434
|
* them. Each tag consists of a key and an optional value, both of which you define.</p>
|
|
@@ -511,45 +481,6 @@ export interface Tag {
|
|
|
511
481
|
*/
|
|
512
482
|
Value: string | undefined;
|
|
513
483
|
}
|
|
514
|
-
/**
|
|
515
|
-
* @public
|
|
516
|
-
* @enum
|
|
517
|
-
*/
|
|
518
|
-
export declare const DayOfWeek: {
|
|
519
|
-
readonly FRIDAY: "FRIDAY";
|
|
520
|
-
readonly MONDAY: "MONDAY";
|
|
521
|
-
readonly SATURDAY: "SATURDAY";
|
|
522
|
-
readonly SUNDAY: "SUNDAY";
|
|
523
|
-
readonly THURSDAY: "THURSDAY";
|
|
524
|
-
readonly TUESDAY: "TUESDAY";
|
|
525
|
-
readonly WEDNESDAY: "WEDNESDAY";
|
|
526
|
-
};
|
|
527
|
-
/**
|
|
528
|
-
* @public
|
|
529
|
-
*/
|
|
530
|
-
export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
|
|
531
|
-
/**
|
|
532
|
-
* @public
|
|
533
|
-
* @enum
|
|
534
|
-
*/
|
|
535
|
-
export declare const Month: {
|
|
536
|
-
readonly APRIL: "APRIL";
|
|
537
|
-
readonly AUGUST: "AUGUST";
|
|
538
|
-
readonly DECEMBER: "DECEMBER";
|
|
539
|
-
readonly FEBRUARY: "FEBRUARY";
|
|
540
|
-
readonly JANUARY: "JANUARY";
|
|
541
|
-
readonly JULY: "JULY";
|
|
542
|
-
readonly JUNE: "JUNE";
|
|
543
|
-
readonly MARCH: "MARCH";
|
|
544
|
-
readonly MAY: "MAY";
|
|
545
|
-
readonly NOVEMBER: "NOVEMBER";
|
|
546
|
-
readonly OCTOBER: "OCTOBER";
|
|
547
|
-
readonly SEPTEMBER: "SEPTEMBER";
|
|
548
|
-
};
|
|
549
|
-
/**
|
|
550
|
-
* @public
|
|
551
|
-
*/
|
|
552
|
-
export type Month = (typeof Month)[keyof typeof Month];
|
|
553
484
|
/**
|
|
554
485
|
* <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
|
|
555
486
|
* don't provide a time boundary, Forecast uses a set of <a href="https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html#default-time-boundaries">Default Time Boundaries</a>.
|
|
@@ -748,118 +679,6 @@ export interface CreateAutoPredictorResponse {
|
|
|
748
679
|
*/
|
|
749
680
|
PredictorArn?: string | undefined;
|
|
750
681
|
}
|
|
751
|
-
/**
|
|
752
|
-
* <p>We can't process the request because it includes an invalid value or a value that exceeds
|
|
753
|
-
* the valid range.</p>
|
|
754
|
-
* @public
|
|
755
|
-
*/
|
|
756
|
-
export declare class InvalidInputException extends __BaseException {
|
|
757
|
-
readonly name: "InvalidInputException";
|
|
758
|
-
readonly $fault: "client";
|
|
759
|
-
Message?: string | undefined;
|
|
760
|
-
/**
|
|
761
|
-
* @internal
|
|
762
|
-
*/
|
|
763
|
-
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
764
|
-
}
|
|
765
|
-
/**
|
|
766
|
-
* <p>The limit on the number of resources per account has been exceeded.</p>
|
|
767
|
-
* @public
|
|
768
|
-
*/
|
|
769
|
-
export declare class LimitExceededException extends __BaseException {
|
|
770
|
-
readonly name: "LimitExceededException";
|
|
771
|
-
readonly $fault: "client";
|
|
772
|
-
Message?: string | undefined;
|
|
773
|
-
/**
|
|
774
|
-
* @internal
|
|
775
|
-
*/
|
|
776
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
777
|
-
}
|
|
778
|
-
/**
|
|
779
|
-
* <p>There is already a resource with this name. Try again with a different name.</p>
|
|
780
|
-
* @public
|
|
781
|
-
*/
|
|
782
|
-
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
783
|
-
readonly name: "ResourceAlreadyExistsException";
|
|
784
|
-
readonly $fault: "client";
|
|
785
|
-
Message?: string | undefined;
|
|
786
|
-
/**
|
|
787
|
-
* @internal
|
|
788
|
-
*/
|
|
789
|
-
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
790
|
-
}
|
|
791
|
-
/**
|
|
792
|
-
* <p>The specified resource is in use.</p>
|
|
793
|
-
* @public
|
|
794
|
-
*/
|
|
795
|
-
export declare class ResourceInUseException extends __BaseException {
|
|
796
|
-
readonly name: "ResourceInUseException";
|
|
797
|
-
readonly $fault: "client";
|
|
798
|
-
Message?: string | undefined;
|
|
799
|
-
/**
|
|
800
|
-
* @internal
|
|
801
|
-
*/
|
|
802
|
-
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
803
|
-
}
|
|
804
|
-
/**
|
|
805
|
-
* <p>We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
|
|
806
|
-
* again.</p>
|
|
807
|
-
* @public
|
|
808
|
-
*/
|
|
809
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
810
|
-
readonly name: "ResourceNotFoundException";
|
|
811
|
-
readonly $fault: "client";
|
|
812
|
-
Message?: string | undefined;
|
|
813
|
-
/**
|
|
814
|
-
* @internal
|
|
815
|
-
*/
|
|
816
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
817
|
-
}
|
|
818
|
-
/**
|
|
819
|
-
* @public
|
|
820
|
-
* @enum
|
|
821
|
-
*/
|
|
822
|
-
export declare const DatasetType: {
|
|
823
|
-
readonly ITEM_METADATA: "ITEM_METADATA";
|
|
824
|
-
readonly RELATED_TIME_SERIES: "RELATED_TIME_SERIES";
|
|
825
|
-
readonly TARGET_TIME_SERIES: "TARGET_TIME_SERIES";
|
|
826
|
-
};
|
|
827
|
-
/**
|
|
828
|
-
* @public
|
|
829
|
-
*/
|
|
830
|
-
export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
|
|
831
|
-
/**
|
|
832
|
-
* @public
|
|
833
|
-
* @enum
|
|
834
|
-
*/
|
|
835
|
-
export declare const Domain: {
|
|
836
|
-
readonly CUSTOM: "CUSTOM";
|
|
837
|
-
readonly EC2_CAPACITY: "EC2_CAPACITY";
|
|
838
|
-
readonly INVENTORY_PLANNING: "INVENTORY_PLANNING";
|
|
839
|
-
readonly METRICS: "METRICS";
|
|
840
|
-
readonly RETAIL: "RETAIL";
|
|
841
|
-
readonly WEB_TRAFFIC: "WEB_TRAFFIC";
|
|
842
|
-
readonly WORK_FORCE: "WORK_FORCE";
|
|
843
|
-
};
|
|
844
|
-
/**
|
|
845
|
-
* @public
|
|
846
|
-
*/
|
|
847
|
-
export type Domain = (typeof Domain)[keyof typeof Domain];
|
|
848
|
-
/**
|
|
849
|
-
* @public
|
|
850
|
-
* @enum
|
|
851
|
-
*/
|
|
852
|
-
export declare const AttributeType: {
|
|
853
|
-
readonly FLOAT: "float";
|
|
854
|
-
readonly GEOLOCATION: "geolocation";
|
|
855
|
-
readonly INTEGER: "integer";
|
|
856
|
-
readonly STRING: "string";
|
|
857
|
-
readonly TIMESTAMP: "timestamp";
|
|
858
|
-
};
|
|
859
|
-
/**
|
|
860
|
-
* @public
|
|
861
|
-
*/
|
|
862
|
-
export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
|
|
863
682
|
/**
|
|
864
683
|
* <p>An attribute of a schema, which defines a dataset field. A schema attribute is required
|
|
865
684
|
* for every field in a dataset. The <a href="https://docs.aws.amazon.com/forecast/latest/dg/API_Schema.html">Schema</a> object contains an array of
|
|
@@ -1129,18 +948,6 @@ export interface DataSource {
|
|
|
1129
948
|
*/
|
|
1130
949
|
S3Config: S3Config | undefined;
|
|
1131
950
|
}
|
|
1132
|
-
/**
|
|
1133
|
-
* @public
|
|
1134
|
-
* @enum
|
|
1135
|
-
*/
|
|
1136
|
-
export declare const ImportMode: {
|
|
1137
|
-
readonly FULL: "FULL";
|
|
1138
|
-
readonly INCREMENTAL: "INCREMENTAL";
|
|
1139
|
-
};
|
|
1140
|
-
/**
|
|
1141
|
-
* @public
|
|
1142
|
-
*/
|
|
1143
|
-
export type ImportMode = (typeof ImportMode)[keyof typeof ImportMode];
|
|
1144
951
|
/**
|
|
1145
952
|
* @public
|
|
1146
953
|
*/
|
|
@@ -1281,30 +1088,6 @@ export interface CreateDatasetImportJobResponse {
|
|
|
1281
1088
|
*/
|
|
1282
1089
|
DatasetImportJobArn?: string | undefined;
|
|
1283
1090
|
}
|
|
1284
|
-
/**
|
|
1285
|
-
* @public
|
|
1286
|
-
* @enum
|
|
1287
|
-
*/
|
|
1288
|
-
export declare const TimePointGranularity: {
|
|
1289
|
-
readonly ALL: "ALL";
|
|
1290
|
-
readonly SPECIFIC: "SPECIFIC";
|
|
1291
|
-
};
|
|
1292
|
-
/**
|
|
1293
|
-
* @public
|
|
1294
|
-
*/
|
|
1295
|
-
export type TimePointGranularity = (typeof TimePointGranularity)[keyof typeof TimePointGranularity];
|
|
1296
|
-
/**
|
|
1297
|
-
* @public
|
|
1298
|
-
* @enum
|
|
1299
|
-
*/
|
|
1300
|
-
export declare const TimeSeriesGranularity: {
|
|
1301
|
-
readonly ALL: "ALL";
|
|
1302
|
-
readonly SPECIFIC: "SPECIFIC";
|
|
1303
|
-
};
|
|
1304
|
-
/**
|
|
1305
|
-
* @public
|
|
1306
|
-
*/
|
|
1307
|
-
export type TimeSeriesGranularity = (typeof TimeSeriesGranularity)[keyof typeof TimeSeriesGranularity];
|
|
1308
1091
|
/**
|
|
1309
1092
|
* <p>The ExplainabilityConfig data type defines the number of time series and time points
|
|
1310
1093
|
* included in <a>CreateExplainability</a>.</p>
|
|
@@ -1782,18 +1565,6 @@ export interface CreateMonitorResponse {
|
|
|
1782
1565
|
*/
|
|
1783
1566
|
MonitorArn?: string | undefined;
|
|
1784
1567
|
}
|
|
1785
|
-
/**
|
|
1786
|
-
* @public
|
|
1787
|
-
* @enum
|
|
1788
|
-
*/
|
|
1789
|
-
export declare const AutoMLOverrideStrategy: {
|
|
1790
|
-
readonly AccuracyOptimized: "AccuracyOptimized";
|
|
1791
|
-
readonly LatencyOptimized: "LatencyOptimized";
|
|
1792
|
-
};
|
|
1793
|
-
/**
|
|
1794
|
-
* @public
|
|
1795
|
-
*/
|
|
1796
|
-
export type AutoMLOverrideStrategy = (typeof AutoMLOverrideStrategy)[keyof typeof AutoMLOverrideStrategy];
|
|
1797
1568
|
/**
|
|
1798
1569
|
* <p>Parameters that define how to split a dataset into training data and testing data, and the
|
|
1799
1570
|
* number of iterations to perform. These parameters are specified in the predefined algorithms
|
|
@@ -1820,17 +1591,6 @@ export interface EvaluationParameters {
|
|
|
1820
1591
|
*/
|
|
1821
1592
|
BackTestWindowOffset?: number | undefined;
|
|
1822
1593
|
}
|
|
1823
|
-
/**
|
|
1824
|
-
* @public
|
|
1825
|
-
* @enum
|
|
1826
|
-
*/
|
|
1827
|
-
export declare const FeaturizationMethodName: {
|
|
1828
|
-
readonly filling: "filling";
|
|
1829
|
-
};
|
|
1830
|
-
/**
|
|
1831
|
-
* @public
|
|
1832
|
-
*/
|
|
1833
|
-
export type FeaturizationMethodName = (typeof FeaturizationMethodName)[keyof typeof FeaturizationMethodName];
|
|
1834
1594
|
/**
|
|
1835
1595
|
* <p>Provides information about the method that featurizes (transforms) a dataset field. The
|
|
1836
1596
|
* method is part of the <code>FeaturizationPipeline</code> of the <a>Featurization</a> object. </p>
|
|
@@ -2058,20 +1818,6 @@ export interface CategoricalParameterRange {
|
|
|
2058
1818
|
*/
|
|
2059
1819
|
Values: string[] | undefined;
|
|
2060
1820
|
}
|
|
2061
|
-
/**
|
|
2062
|
-
* @public
|
|
2063
|
-
* @enum
|
|
2064
|
-
*/
|
|
2065
|
-
export declare const ScalingType: {
|
|
2066
|
-
readonly Auto: "Auto";
|
|
2067
|
-
readonly Linear: "Linear";
|
|
2068
|
-
readonly Logarithmic: "Logarithmic";
|
|
2069
|
-
readonly ReverseLogarithmic: "ReverseLogarithmic";
|
|
2070
|
-
};
|
|
2071
|
-
/**
|
|
2072
|
-
* @public
|
|
2073
|
-
*/
|
|
2074
|
-
export type ScalingType = (typeof ScalingType)[keyof typeof ScalingType];
|
|
2075
1821
|
/**
|
|
2076
1822
|
* <p>Specifies a continuous hyperparameter and it's range of tunable values.
|
|
2077
1823
|
* This object is part of the <a>ParameterRanges</a> object.</p>
|
|
@@ -2862,20 +2608,6 @@ export interface TimeSeriesReplacementsDataSource {
|
|
|
2862
2608
|
*/
|
|
2863
2609
|
TimestampFormat?: string | undefined;
|
|
2864
2610
|
}
|
|
2865
|
-
/**
|
|
2866
|
-
* @public
|
|
2867
|
-
* @enum
|
|
2868
|
-
*/
|
|
2869
|
-
export declare const Condition: {
|
|
2870
|
-
readonly EQUALS: "EQUALS";
|
|
2871
|
-
readonly GREATER_THAN: "GREATER_THAN";
|
|
2872
|
-
readonly LESS_THAN: "LESS_THAN";
|
|
2873
|
-
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
2874
|
-
};
|
|
2875
|
-
/**
|
|
2876
|
-
* @public
|
|
2877
|
-
*/
|
|
2878
|
-
export type Condition = (typeof Condition)[keyof typeof Condition];
|
|
2879
2611
|
/**
|
|
2880
2612
|
* <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>
|
|
2881
2613
|
* @public
|
|
@@ -3240,18 +2972,6 @@ export interface MonitorInfo {
|
|
|
3240
2972
|
*/
|
|
3241
2973
|
Status?: string | undefined;
|
|
3242
2974
|
}
|
|
3243
|
-
/**
|
|
3244
|
-
* @public
|
|
3245
|
-
* @enum
|
|
3246
|
-
*/
|
|
3247
|
-
export declare const State: {
|
|
3248
|
-
readonly Active: "Active";
|
|
3249
|
-
readonly Deleted: "Deleted";
|
|
3250
|
-
};
|
|
3251
|
-
/**
|
|
3252
|
-
* @public
|
|
3253
|
-
*/
|
|
3254
|
-
export type State = (typeof State)[keyof typeof State];
|
|
3255
2975
|
/**
|
|
3256
2976
|
* <p>Provides a summary of the reference predictor used when retraining or upgrading a
|
|
3257
2977
|
* predictor.</p>
|
|
@@ -5221,18 +4941,6 @@ export interface GetAccuracyMetricsRequest {
|
|
|
5221
4941
|
*/
|
|
5222
4942
|
PredictorArn: string | undefined;
|
|
5223
4943
|
}
|
|
5224
|
-
/**
|
|
5225
|
-
* @public
|
|
5226
|
-
* @enum
|
|
5227
|
-
*/
|
|
5228
|
-
export declare const EvaluationType: {
|
|
5229
|
-
readonly COMPUTED: "COMPUTED";
|
|
5230
|
-
readonly SUMMARY: "SUMMARY";
|
|
5231
|
-
};
|
|
5232
|
-
/**
|
|
5233
|
-
* @public
|
|
5234
|
-
*/
|
|
5235
|
-
export type EvaluationType = (typeof EvaluationType)[keyof typeof EvaluationType];
|
|
5236
4944
|
/**
|
|
5237
4945
|
* <p> Provides detailed error metrics to evaluate the performance of a predictor. This object
|
|
5238
4946
|
* is part of the <a>Metrics</a> object. </p>
|
|
@@ -5410,19 +5118,6 @@ export interface GetAccuracyMetricsResponse {
|
|
|
5410
5118
|
*/
|
|
5411
5119
|
OptimizationMetric?: OptimizationMetric | undefined;
|
|
5412
5120
|
}
|
|
5413
|
-
/**
|
|
5414
|
-
* <p>The token is not valid. Tokens expire after 24 hours.</p>
|
|
5415
|
-
* @public
|
|
5416
|
-
*/
|
|
5417
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
5418
|
-
readonly name: "InvalidNextTokenException";
|
|
5419
|
-
readonly $fault: "client";
|
|
5420
|
-
Message?: string | undefined;
|
|
5421
|
-
/**
|
|
5422
|
-
* @internal
|
|
5423
|
-
*/
|
|
5424
|
-
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
5425
|
-
}
|
|
5426
5121
|
/**
|
|
5427
5122
|
* @public
|
|
5428
5123
|
*/
|
|
@@ -5486,18 +5181,6 @@ export interface ListDatasetGroupsResponse {
|
|
|
5486
5181
|
*/
|
|
5487
5182
|
NextToken?: string | undefined;
|
|
5488
5183
|
}
|
|
5489
|
-
/**
|
|
5490
|
-
* @public
|
|
5491
|
-
* @enum
|
|
5492
|
-
*/
|
|
5493
|
-
export declare const FilterConditionString: {
|
|
5494
|
-
readonly IS: "IS";
|
|
5495
|
-
readonly IS_NOT: "IS_NOT";
|
|
5496
|
-
};
|
|
5497
|
-
/**
|
|
5498
|
-
* @public
|
|
5499
|
-
*/
|
|
5500
|
-
export type FilterConditionString = (typeof FilterConditionString)[keyof typeof FilterConditionString];
|
|
5501
5184
|
/**
|
|
5502
5185
|
* <p>Describes a filter for choosing a subset of objects. Each filter consists of a
|
|
5503
5186
|
* condition and a match statement. The condition is either <code>IS</code> or
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { ForecastExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { ForecastServiceException } from "./models/ForecastServiceException";
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
export declare const Operation: {
|
|
2
|
+
readonly ADD: "ADD";
|
|
3
|
+
readonly DIVIDE: "DIVIDE";
|
|
4
|
+
readonly MULTIPLY: "MULTIPLY";
|
|
5
|
+
readonly SUBTRACT: "SUBTRACT";
|
|
6
|
+
};
|
|
7
|
+
export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
8
|
+
export declare const OptimizationMetric: {
|
|
9
|
+
readonly AverageWeightedQuantileLoss: "AverageWeightedQuantileLoss";
|
|
10
|
+
readonly MAPE: "MAPE";
|
|
11
|
+
readonly MASE: "MASE";
|
|
12
|
+
readonly RMSE: "RMSE";
|
|
13
|
+
readonly WAPE: "WAPE";
|
|
14
|
+
};
|
|
15
|
+
export type OptimizationMetric =
|
|
16
|
+
(typeof OptimizationMetric)[keyof typeof OptimizationMetric];
|
|
17
|
+
export declare const DayOfWeek: {
|
|
18
|
+
readonly FRIDAY: "FRIDAY";
|
|
19
|
+
readonly MONDAY: "MONDAY";
|
|
20
|
+
readonly SATURDAY: "SATURDAY";
|
|
21
|
+
readonly SUNDAY: "SUNDAY";
|
|
22
|
+
readonly THURSDAY: "THURSDAY";
|
|
23
|
+
readonly TUESDAY: "TUESDAY";
|
|
24
|
+
readonly WEDNESDAY: "WEDNESDAY";
|
|
25
|
+
};
|
|
26
|
+
export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
|
|
27
|
+
export declare const Month: {
|
|
28
|
+
readonly APRIL: "APRIL";
|
|
29
|
+
readonly AUGUST: "AUGUST";
|
|
30
|
+
readonly DECEMBER: "DECEMBER";
|
|
31
|
+
readonly FEBRUARY: "FEBRUARY";
|
|
32
|
+
readonly JANUARY: "JANUARY";
|
|
33
|
+
readonly JULY: "JULY";
|
|
34
|
+
readonly JUNE: "JUNE";
|
|
35
|
+
readonly MARCH: "MARCH";
|
|
36
|
+
readonly MAY: "MAY";
|
|
37
|
+
readonly NOVEMBER: "NOVEMBER";
|
|
38
|
+
readonly OCTOBER: "OCTOBER";
|
|
39
|
+
readonly SEPTEMBER: "SEPTEMBER";
|
|
40
|
+
};
|
|
41
|
+
export type Month = (typeof Month)[keyof typeof Month];
|
|
42
|
+
export declare const DatasetType: {
|
|
43
|
+
readonly ITEM_METADATA: "ITEM_METADATA";
|
|
44
|
+
readonly RELATED_TIME_SERIES: "RELATED_TIME_SERIES";
|
|
45
|
+
readonly TARGET_TIME_SERIES: "TARGET_TIME_SERIES";
|
|
46
|
+
};
|
|
47
|
+
export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
|
|
48
|
+
export declare const Domain: {
|
|
49
|
+
readonly CUSTOM: "CUSTOM";
|
|
50
|
+
readonly EC2_CAPACITY: "EC2_CAPACITY";
|
|
51
|
+
readonly INVENTORY_PLANNING: "INVENTORY_PLANNING";
|
|
52
|
+
readonly METRICS: "METRICS";
|
|
53
|
+
readonly RETAIL: "RETAIL";
|
|
54
|
+
readonly WEB_TRAFFIC: "WEB_TRAFFIC";
|
|
55
|
+
readonly WORK_FORCE: "WORK_FORCE";
|
|
56
|
+
};
|
|
57
|
+
export type Domain = (typeof Domain)[keyof typeof Domain];
|
|
58
|
+
export declare const AttributeType: {
|
|
59
|
+
readonly FLOAT: "float";
|
|
60
|
+
readonly GEOLOCATION: "geolocation";
|
|
61
|
+
readonly INTEGER: "integer";
|
|
62
|
+
readonly STRING: "string";
|
|
63
|
+
readonly TIMESTAMP: "timestamp";
|
|
64
|
+
};
|
|
65
|
+
export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
|
|
66
|
+
export declare const ImportMode: {
|
|
67
|
+
readonly FULL: "FULL";
|
|
68
|
+
readonly INCREMENTAL: "INCREMENTAL";
|
|
69
|
+
};
|
|
70
|
+
export type ImportMode = (typeof ImportMode)[keyof typeof ImportMode];
|
|
71
|
+
export declare const TimePointGranularity: {
|
|
72
|
+
readonly ALL: "ALL";
|
|
73
|
+
readonly SPECIFIC: "SPECIFIC";
|
|
74
|
+
};
|
|
75
|
+
export type TimePointGranularity =
|
|
76
|
+
(typeof TimePointGranularity)[keyof typeof TimePointGranularity];
|
|
77
|
+
export declare const TimeSeriesGranularity: {
|
|
78
|
+
readonly ALL: "ALL";
|
|
79
|
+
readonly SPECIFIC: "SPECIFIC";
|
|
80
|
+
};
|
|
81
|
+
export type TimeSeriesGranularity =
|
|
82
|
+
(typeof TimeSeriesGranularity)[keyof typeof TimeSeriesGranularity];
|
|
83
|
+
export declare const AutoMLOverrideStrategy: {
|
|
84
|
+
readonly AccuracyOptimized: "AccuracyOptimized";
|
|
85
|
+
readonly LatencyOptimized: "LatencyOptimized";
|
|
86
|
+
};
|
|
87
|
+
export type AutoMLOverrideStrategy =
|
|
88
|
+
(typeof AutoMLOverrideStrategy)[keyof typeof AutoMLOverrideStrategy];
|
|
89
|
+
export declare const FeaturizationMethodName: {
|
|
90
|
+
readonly filling: "filling";
|
|
91
|
+
};
|
|
92
|
+
export type FeaturizationMethodName =
|
|
93
|
+
(typeof FeaturizationMethodName)[keyof typeof FeaturizationMethodName];
|
|
94
|
+
export declare const ScalingType: {
|
|
95
|
+
readonly Auto: "Auto";
|
|
96
|
+
readonly Linear: "Linear";
|
|
97
|
+
readonly Logarithmic: "Logarithmic";
|
|
98
|
+
readonly ReverseLogarithmic: "ReverseLogarithmic";
|
|
99
|
+
};
|
|
100
|
+
export type ScalingType = (typeof ScalingType)[keyof typeof ScalingType];
|
|
101
|
+
export declare const Condition: {
|
|
102
|
+
readonly EQUALS: "EQUALS";
|
|
103
|
+
readonly GREATER_THAN: "GREATER_THAN";
|
|
104
|
+
readonly LESS_THAN: "LESS_THAN";
|
|
105
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
106
|
+
};
|
|
107
|
+
export type Condition = (typeof Condition)[keyof typeof Condition];
|
|
108
|
+
export declare const State: {
|
|
109
|
+
readonly Active: "Active";
|
|
110
|
+
readonly Deleted: "Deleted";
|
|
111
|
+
};
|
|
112
|
+
export type State = (typeof State)[keyof typeof State];
|
|
113
|
+
export declare const EvaluationType: {
|
|
114
|
+
readonly COMPUTED: "COMPUTED";
|
|
115
|
+
readonly SUMMARY: "SUMMARY";
|
|
116
|
+
};
|
|
117
|
+
export type EvaluationType =
|
|
118
|
+
(typeof EvaluationType)[keyof typeof EvaluationType];
|
|
119
|
+
export declare const FilterConditionString: {
|
|
120
|
+
readonly IS: "IS";
|
|
121
|
+
readonly IS_NOT: "IS_NOT";
|
|
122
|
+
};
|
|
123
|
+
export type FilterConditionString =
|
|
124
|
+
(typeof FilterConditionString)[keyof typeof FilterConditionString];
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ForecastServiceException as __BaseException } from "./ForecastServiceException";
|
|
3
|
+
export declare class InvalidInputException extends __BaseException {
|
|
4
|
+
readonly name: "InvalidInputException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class LimitExceededException extends __BaseException {
|
|
12
|
+
readonly name: "LimitExceededException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
20
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
Message?: string | undefined;
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
28
|
+
readonly name: "ResourceInUseException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
Message?: string | undefined;
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
36
|
+
readonly name: "ResourceNotFoundException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
Message?: string | undefined;
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
44
|
+
readonly name: "InvalidNextTokenException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
Message?: string | undefined;
|
|
47
|
+
constructor(
|
|
48
|
+
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
49
|
+
);
|
|
50
|
+
}
|