@aws-sdk/client-forecast 3.97.0 → 3.103.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/CHANGELOG.md +30 -0
- package/dist-cjs/models/models_0.js +47 -4
- package/dist-cjs/protocols/Aws_json1_1.js +73 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/models/models_0.js +37 -0
- package/dist-es/protocols/Aws_json1_1.js +68 -12
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/Forecast.d.ts +7 -8
- package/dist-types/commands/CreateDatasetImportJobCommand.d.ts +2 -6
- package/dist-types/commands/CreateForecastCommand.d.ts +2 -0
- package/dist-types/commands/CreatePredictorBacktestExportJobCommand.d.ts +1 -1
- package/dist-types/commands/ListMonitorEvaluationsCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +193 -2
- package/dist-types/ts3.4/models/models_0.d.ts +86 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.103.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.102.0...v3.103.0) (2022-06-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-forecast:** Added Format field to Import and Export APIs in Amazon Forecast. Added TimeSeriesSelector to Create Forecast API. ([ae5629e](https://github.com/aws/aws-sdk-js-v3/commit/ae5629ecace193ebc198db07681b158be48dbefa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **client-forecast:** Introduced a new field in Auto Predictor as Time Alignment Boundary. It helps in aligning the timestamps generated during Forecast exports ([4ce40b0](https://github.com/aws/aws-sdk-js-v3/commit/4ce40b0ec779ed829df6e9bfb5d269b1ec36c754))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-forecast
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.97.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.96.0...v3.97.0) (2022-05-23)
|
|
7
37
|
|
|
8
38
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateDatasetGroupResponse = exports.UpdateDatasetGroupRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopResourceRequest = exports.ResumeResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = void 0;
|
|
3
|
+
exports.FeaturizationMethod = exports.FeaturizationMethodName = exports.EvaluationParameters = exports.AutoMLOverrideStrategy = exports.CreateMonitorResponse = exports.CreateMonitorRequest = exports.CreateForecastExportJobResponse = exports.CreateForecastExportJobRequest = exports.CreateForecastResponse = exports.CreateForecastRequest = exports.TimeSeriesSelector = exports.TimeSeriesIdentifiers = exports.CreateExplainabilityExportResponse = exports.CreateExplainabilityExportRequest = exports.DataDestination = exports.CreateExplainabilityResponse = exports.CreateExplainabilityRequest = exports.ExplainabilityConfig = exports.TimeSeriesGranularity = exports.TimePointGranularity = exports.CreateDatasetImportJobResponse = exports.CreateDatasetImportJobRequest = exports.DataSource = exports.S3Config = exports.CreateDatasetGroupResponse = exports.CreateDatasetGroupRequest = exports.CreateDatasetResponse = exports.CreateDatasetRequest = exports.Schema = exports.SchemaAttribute = exports.AttributeType = exports.Domain = exports.DatasetType = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.InvalidInputException = exports.CreateAutoPredictorResponse = exports.CreateAutoPredictorRequest = exports.TimeAlignmentBoundary = exports.Month = exports.DayOfWeek = exports.Tag = exports.OptimizationMetric = exports.MonitorConfig = exports.EncryptionConfig = exports.DataConfig = exports.AttributeConfig = exports.AdditionalDataset = void 0;
|
|
4
|
+
exports.Baseline = exports.PredictorBaseline = exports.BaselineMetric = exports.DescribeMonitorRequest = exports.DescribeForecastExportJobResponse = exports.DescribeForecastExportJobRequest = exports.DescribeForecastResponse = exports.DescribeForecastRequest = exports.DescribeExplainabilityExportResponse = exports.DescribeExplainabilityExportRequest = exports.DescribeExplainabilityResponse = exports.DescribeExplainabilityRequest = exports.DescribeDatasetImportJobResponse = exports.Statistics = exports.DescribeDatasetImportJobRequest = exports.DescribeDatasetGroupResponse = exports.DescribeDatasetGroupRequest = exports.DescribeDatasetResponse = exports.DescribeDatasetRequest = exports.DescribeAutoPredictorResponse = exports.ReferencePredictorSummary = exports.State = exports.MonitorInfo = exports.ExplainabilityInfo = exports.DescribeAutoPredictorRequest = exports.DeleteResourceTreeRequest = exports.DeletePredictorBacktestExportJobRequest = exports.DeletePredictorRequest = exports.DeleteMonitorRequest = exports.DeleteForecastExportJobRequest = exports.DeleteForecastRequest = exports.DeleteExplainabilityExportRequest = exports.DeleteExplainabilityRequest = exports.DeleteDatasetImportJobRequest = exports.DeleteDatasetGroupRequest = exports.DeleteDatasetRequest = exports.CreatePredictorBacktestExportJobResponse = exports.CreatePredictorBacktestExportJobRequest = exports.CreatePredictorResponse = exports.CreatePredictorRequest = exports.InputDataConfig = exports.SupplementaryFeature = exports.HyperParameterTuningJobConfig = exports.ParameterRanges = exports.IntegerParameterRange = exports.ContinuousParameterRange = exports.ScalingType = exports.CategoricalParameterRange = exports.FeaturizationConfig = exports.Featurization = void 0;
|
|
5
|
+
exports.ListPredictorBacktestExportJobsRequest = exports.ListMonitorsResponse = exports.MonitorSummary = exports.ListMonitorsRequest = exports.ListMonitorEvaluationsResponse = exports.PredictorMonitorEvaluation = exports.PredictorEvent = exports.MonitorDataSource = exports.MetricResult = exports.ListMonitorEvaluationsRequest = exports.ListForecastsResponse = exports.ForecastSummary = exports.ListForecastsRequest = exports.ListForecastExportJobsResponse = exports.ForecastExportJobSummary = exports.ListForecastExportJobsRequest = exports.ListExplainabilityExportsResponse = exports.ExplainabilityExportSummary = exports.ListExplainabilityExportsRequest = exports.ListExplainabilitiesResponse = exports.ExplainabilitySummary = exports.ListExplainabilitiesRequest = exports.ListDatasetsResponse = exports.DatasetSummary = exports.ListDatasetsRequest = exports.ListDatasetImportJobsResponse = exports.DatasetImportJobSummary = exports.ListDatasetImportJobsRequest = exports.Filter = exports.FilterConditionString = exports.ListDatasetGroupsResponse = exports.DatasetGroupSummary = exports.ListDatasetGroupsRequest = exports.InvalidNextTokenException = exports.GetAccuracyMetricsResponse = exports.EvaluationResult = exports.WindowSummary = exports.Metrics = exports.WeightedQuantileLoss = exports.ErrorMetric = exports.EvaluationType = exports.GetAccuracyMetricsRequest = exports.DescribePredictorBacktestExportJobResponse = exports.DescribePredictorBacktestExportJobRequest = exports.DescribePredictorResponse = exports.PredictorExecutionDetails = exports.PredictorExecution = exports.TestWindowSummary = exports.DescribePredictorRequest = exports.DescribeMonitorResponse = void 0;
|
|
6
|
+
exports.UpdateDatasetGroupResponse = exports.UpdateDatasetGroupRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopResourceRequest = exports.ResumeResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListPredictorsResponse = exports.PredictorSummary = exports.ListPredictorsRequest = exports.ListPredictorBacktestExportJobsResponse = exports.PredictorBacktestExportJobSummary = void 0;
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const ForecastServiceException_1 = require("./ForecastServiceException");
|
|
9
9
|
var AdditionalDataset;
|
|
@@ -52,6 +52,37 @@ var Tag;
|
|
|
52
52
|
...(obj.Value && { Value: smithy_client_1.SENSITIVE_STRING }),
|
|
53
53
|
});
|
|
54
54
|
})(Tag = exports.Tag || (exports.Tag = {}));
|
|
55
|
+
var DayOfWeek;
|
|
56
|
+
(function (DayOfWeek) {
|
|
57
|
+
DayOfWeek["FRIDAY"] = "FRIDAY";
|
|
58
|
+
DayOfWeek["MONDAY"] = "MONDAY";
|
|
59
|
+
DayOfWeek["SATURDAY"] = "SATURDAY";
|
|
60
|
+
DayOfWeek["SUNDAY"] = "SUNDAY";
|
|
61
|
+
DayOfWeek["THURSDAY"] = "THURSDAY";
|
|
62
|
+
DayOfWeek["TUESDAY"] = "TUESDAY";
|
|
63
|
+
DayOfWeek["WEDNESDAY"] = "WEDNESDAY";
|
|
64
|
+
})(DayOfWeek = exports.DayOfWeek || (exports.DayOfWeek = {}));
|
|
65
|
+
var Month;
|
|
66
|
+
(function (Month) {
|
|
67
|
+
Month["APRIL"] = "APRIL";
|
|
68
|
+
Month["AUGUST"] = "AUGUST";
|
|
69
|
+
Month["DECEMBER"] = "DECEMBER";
|
|
70
|
+
Month["FEBRUARY"] = "FEBRUARY";
|
|
71
|
+
Month["JANUARY"] = "JANUARY";
|
|
72
|
+
Month["JULY"] = "JULY";
|
|
73
|
+
Month["JUNE"] = "JUNE";
|
|
74
|
+
Month["MARCH"] = "MARCH";
|
|
75
|
+
Month["MAY"] = "MAY";
|
|
76
|
+
Month["NOVEMBER"] = "NOVEMBER";
|
|
77
|
+
Month["OCTOBER"] = "OCTOBER";
|
|
78
|
+
Month["SEPTEMBER"] = "SEPTEMBER";
|
|
79
|
+
})(Month = exports.Month || (exports.Month = {}));
|
|
80
|
+
var TimeAlignmentBoundary;
|
|
81
|
+
(function (TimeAlignmentBoundary) {
|
|
82
|
+
TimeAlignmentBoundary.filterSensitiveLog = (obj) => ({
|
|
83
|
+
...obj,
|
|
84
|
+
});
|
|
85
|
+
})(TimeAlignmentBoundary = exports.TimeAlignmentBoundary || (exports.TimeAlignmentBoundary = {}));
|
|
55
86
|
var CreateAutoPredictorRequest;
|
|
56
87
|
(function (CreateAutoPredictorRequest) {
|
|
57
88
|
CreateAutoPredictorRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -270,6 +301,18 @@ var CreateExplainabilityExportResponse;
|
|
|
270
301
|
...obj,
|
|
271
302
|
});
|
|
272
303
|
})(CreateExplainabilityExportResponse = exports.CreateExplainabilityExportResponse || (exports.CreateExplainabilityExportResponse = {}));
|
|
304
|
+
var TimeSeriesIdentifiers;
|
|
305
|
+
(function (TimeSeriesIdentifiers) {
|
|
306
|
+
TimeSeriesIdentifiers.filterSensitiveLog = (obj) => ({
|
|
307
|
+
...obj,
|
|
308
|
+
});
|
|
309
|
+
})(TimeSeriesIdentifiers = exports.TimeSeriesIdentifiers || (exports.TimeSeriesIdentifiers = {}));
|
|
310
|
+
var TimeSeriesSelector;
|
|
311
|
+
(function (TimeSeriesSelector) {
|
|
312
|
+
TimeSeriesSelector.filterSensitiveLog = (obj) => ({
|
|
313
|
+
...obj,
|
|
314
|
+
});
|
|
315
|
+
})(TimeSeriesSelector = exports.TimeSeriesSelector || (exports.TimeSeriesSelector = {}));
|
|
273
316
|
var CreateForecastRequest;
|
|
274
317
|
(function (CreateForecastRequest) {
|
|
275
318
|
CreateForecastRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -2788,6 +2788,10 @@ const serializeAws_json1_1CreateAutoPredictorRequest = (input, context) => {
|
|
|
2788
2788
|
...(input.ReferencePredictorArn !== undefined &&
|
|
2789
2789
|
input.ReferencePredictorArn !== null && { ReferencePredictorArn: input.ReferencePredictorArn }),
|
|
2790
2790
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
2791
|
+
...(input.TimeAlignmentBoundary !== undefined &&
|
|
2792
|
+
input.TimeAlignmentBoundary !== null && {
|
|
2793
|
+
TimeAlignmentBoundary: serializeAws_json1_1TimeAlignmentBoundary(input.TimeAlignmentBoundary, context),
|
|
2794
|
+
}),
|
|
2791
2795
|
};
|
|
2792
2796
|
};
|
|
2793
2797
|
const serializeAws_json1_1CreateDatasetGroupRequest = (input, context) => {
|
|
@@ -2807,6 +2811,7 @@ const serializeAws_json1_1CreateDatasetImportJobRequest = (input, context) => {
|
|
|
2807
2811
|
...(input.DatasetArn !== undefined && input.DatasetArn !== null && { DatasetArn: input.DatasetArn }),
|
|
2808
2812
|
...(input.DatasetImportJobName !== undefined &&
|
|
2809
2813
|
input.DatasetImportJobName !== null && { DatasetImportJobName: input.DatasetImportJobName }),
|
|
2814
|
+
...(input.Format !== undefined && input.Format !== null && { Format: input.Format }),
|
|
2810
2815
|
...(input.GeolocationFormat !== undefined &&
|
|
2811
2816
|
input.GeolocationFormat !== null && { GeolocationFormat: input.GeolocationFormat }),
|
|
2812
2817
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
@@ -2840,6 +2845,7 @@ const serializeAws_json1_1CreateExplainabilityExportRequest = (input, context) =
|
|
|
2840
2845
|
input.ExplainabilityArn !== null && { ExplainabilityArn: input.ExplainabilityArn }),
|
|
2841
2846
|
...(input.ExplainabilityExportName !== undefined &&
|
|
2842
2847
|
input.ExplainabilityExportName !== null && { ExplainabilityExportName: input.ExplainabilityExportName }),
|
|
2848
|
+
...(input.Format !== undefined && input.Format !== null && { Format: input.Format }),
|
|
2843
2849
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
2844
2850
|
};
|
|
2845
2851
|
};
|
|
@@ -2870,6 +2876,7 @@ const serializeAws_json1_1CreateForecastExportJobRequest = (input, context) => {
|
|
|
2870
2876
|
...(input.ForecastArn !== undefined && input.ForecastArn !== null && { ForecastArn: input.ForecastArn }),
|
|
2871
2877
|
...(input.ForecastExportJobName !== undefined &&
|
|
2872
2878
|
input.ForecastExportJobName !== null && { ForecastExportJobName: input.ForecastExportJobName }),
|
|
2879
|
+
...(input.Format !== undefined && input.Format !== null && { Format: input.Format }),
|
|
2873
2880
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
2874
2881
|
};
|
|
2875
2882
|
};
|
|
@@ -2882,6 +2889,10 @@ const serializeAws_json1_1CreateForecastRequest = (input, context) => {
|
|
|
2882
2889
|
}),
|
|
2883
2890
|
...(input.PredictorArn !== undefined && input.PredictorArn !== null && { PredictorArn: input.PredictorArn }),
|
|
2884
2891
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
2892
|
+
...(input.TimeSeriesSelector !== undefined &&
|
|
2893
|
+
input.TimeSeriesSelector !== null && {
|
|
2894
|
+
TimeSeriesSelector: serializeAws_json1_1TimeSeriesSelector(input.TimeSeriesSelector, context),
|
|
2895
|
+
}),
|
|
2885
2896
|
};
|
|
2886
2897
|
};
|
|
2887
2898
|
const serializeAws_json1_1CreateMonitorRequest = (input, context) => {
|
|
@@ -2895,6 +2906,7 @@ const serializeAws_json1_1CreatePredictorBacktestExportJobRequest = (input, cont
|
|
|
2895
2906
|
return {
|
|
2896
2907
|
...(input.Destination !== undefined &&
|
|
2897
2908
|
input.Destination !== null && { Destination: serializeAws_json1_1DataDestination(input.Destination, context) }),
|
|
2909
|
+
...(input.Format !== undefined && input.Format !== null && { Format: input.Format }),
|
|
2898
2910
|
...(input.PredictorArn !== undefined && input.PredictorArn !== null && { PredictorArn: input.PredictorArn }),
|
|
2899
2911
|
...(input.PredictorBacktestExportJobName !== undefined &&
|
|
2900
2912
|
input.PredictorBacktestExportJobName !== null && {
|
|
@@ -3460,6 +3472,31 @@ const serializeAws_json1_1Tags = (input, context) => {
|
|
|
3460
3472
|
return serializeAws_json1_1Tag(entry, context);
|
|
3461
3473
|
});
|
|
3462
3474
|
};
|
|
3475
|
+
const serializeAws_json1_1TimeAlignmentBoundary = (input, context) => {
|
|
3476
|
+
return {
|
|
3477
|
+
...(input.DayOfMonth !== undefined && input.DayOfMonth !== null && { DayOfMonth: input.DayOfMonth }),
|
|
3478
|
+
...(input.DayOfWeek !== undefined && input.DayOfWeek !== null && { DayOfWeek: input.DayOfWeek }),
|
|
3479
|
+
...(input.Hour !== undefined && input.Hour !== null && { Hour: input.Hour }),
|
|
3480
|
+
...(input.Month !== undefined && input.Month !== null && { Month: input.Month }),
|
|
3481
|
+
};
|
|
3482
|
+
};
|
|
3483
|
+
const serializeAws_json1_1TimeSeriesIdentifiers = (input, context) => {
|
|
3484
|
+
return {
|
|
3485
|
+
...(input.DataSource !== undefined &&
|
|
3486
|
+
input.DataSource !== null && { DataSource: serializeAws_json1_1DataSource(input.DataSource, context) }),
|
|
3487
|
+
...(input.Format !== undefined && input.Format !== null && { Format: input.Format }),
|
|
3488
|
+
...(input.Schema !== undefined &&
|
|
3489
|
+
input.Schema !== null && { Schema: serializeAws_json1_1Schema(input.Schema, context) }),
|
|
3490
|
+
};
|
|
3491
|
+
};
|
|
3492
|
+
const serializeAws_json1_1TimeSeriesSelector = (input, context) => {
|
|
3493
|
+
return {
|
|
3494
|
+
...(input.TimeSeriesIdentifiers !== undefined &&
|
|
3495
|
+
input.TimeSeriesIdentifiers !== null && {
|
|
3496
|
+
TimeSeriesIdentifiers: serializeAws_json1_1TimeSeriesIdentifiers(input.TimeSeriesIdentifiers, context),
|
|
3497
|
+
}),
|
|
3498
|
+
};
|
|
3499
|
+
};
|
|
3463
3500
|
const serializeAws_json1_1TrainingParameters = (input, context) => {
|
|
3464
3501
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3465
3502
|
if (value === null) {
|
|
@@ -3825,6 +3862,9 @@ const deserializeAws_json1_1DescribeAutoPredictorResponse = (output, context) =>
|
|
|
3825
3862
|
? deserializeAws_json1_1ReferencePredictorSummary(output.ReferencePredictorSummary, context)
|
|
3826
3863
|
: undefined,
|
|
3827
3864
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3865
|
+
TimeAlignmentBoundary: output.TimeAlignmentBoundary !== undefined && output.TimeAlignmentBoundary !== null
|
|
3866
|
+
? deserializeAws_json1_1TimeAlignmentBoundary(output.TimeAlignmentBoundary, context)
|
|
3867
|
+
: undefined,
|
|
3828
3868
|
};
|
|
3829
3869
|
};
|
|
3830
3870
|
const deserializeAws_json1_1DescribeDatasetGroupResponse = (output, context) => {
|
|
@@ -3860,6 +3900,7 @@ const deserializeAws_json1_1DescribeDatasetImportJobResponse = (output, context)
|
|
|
3860
3900
|
FieldStatistics: output.FieldStatistics !== undefined && output.FieldStatistics !== null
|
|
3861
3901
|
? deserializeAws_json1_1FieldStatistics(output.FieldStatistics, context)
|
|
3862
3902
|
: undefined,
|
|
3903
|
+
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
3863
3904
|
GeolocationFormat: (0, smithy_client_1.expectString)(output.GeolocationFormat),
|
|
3864
3905
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3865
3906
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
@@ -3904,6 +3945,7 @@ const deserializeAws_json1_1DescribeExplainabilityExportResponse = (output, cont
|
|
|
3904
3945
|
ExplainabilityArn: (0, smithy_client_1.expectString)(output.ExplainabilityArn),
|
|
3905
3946
|
ExplainabilityExportArn: (0, smithy_client_1.expectString)(output.ExplainabilityExportArn),
|
|
3906
3947
|
ExplainabilityExportName: (0, smithy_client_1.expectString)(output.ExplainabilityExportName),
|
|
3948
|
+
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
3907
3949
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3908
3950
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
3909
3951
|
: undefined,
|
|
@@ -3950,6 +3992,7 @@ const deserializeAws_json1_1DescribeForecastExportJobResponse = (output, context
|
|
|
3950
3992
|
ForecastArn: (0, smithy_client_1.expectString)(output.ForecastArn),
|
|
3951
3993
|
ForecastExportJobArn: (0, smithy_client_1.expectString)(output.ForecastExportJobArn),
|
|
3952
3994
|
ForecastExportJobName: (0, smithy_client_1.expectString)(output.ForecastExportJobName),
|
|
3995
|
+
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
3953
3996
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3954
3997
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
3955
3998
|
: undefined,
|
|
@@ -3975,6 +4018,9 @@ const deserializeAws_json1_1DescribeForecastResponse = (output, context) => {
|
|
|
3975
4018
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3976
4019
|
PredictorArn: (0, smithy_client_1.expectString)(output.PredictorArn),
|
|
3977
4020
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4021
|
+
TimeSeriesSelector: output.TimeSeriesSelector !== undefined && output.TimeSeriesSelector !== null
|
|
4022
|
+
? deserializeAws_json1_1TimeSeriesSelector(output.TimeSeriesSelector, context)
|
|
4023
|
+
: undefined,
|
|
3978
4024
|
};
|
|
3979
4025
|
};
|
|
3980
4026
|
const deserializeAws_json1_1DescribeMonitorResponse = (output, context) => {
|
|
@@ -4008,6 +4054,7 @@ const deserializeAws_json1_1DescribePredictorBacktestExportJobResponse = (output
|
|
|
4008
4054
|
Destination: output.Destination !== undefined && output.Destination !== null
|
|
4009
4055
|
? deserializeAws_json1_1DataDestination(output.Destination, context)
|
|
4010
4056
|
: undefined,
|
|
4057
|
+
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
4011
4058
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4012
4059
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
4013
4060
|
: undefined,
|
|
@@ -4847,6 +4894,32 @@ const deserializeAws_json1_1TestWindowSummary = (output, context) => {
|
|
|
4847
4894
|
: undefined,
|
|
4848
4895
|
};
|
|
4849
4896
|
};
|
|
4897
|
+
const deserializeAws_json1_1TimeAlignmentBoundary = (output, context) => {
|
|
4898
|
+
return {
|
|
4899
|
+
DayOfMonth: (0, smithy_client_1.expectInt32)(output.DayOfMonth),
|
|
4900
|
+
DayOfWeek: (0, smithy_client_1.expectString)(output.DayOfWeek),
|
|
4901
|
+
Hour: (0, smithy_client_1.expectInt32)(output.Hour),
|
|
4902
|
+
Month: (0, smithy_client_1.expectString)(output.Month),
|
|
4903
|
+
};
|
|
4904
|
+
};
|
|
4905
|
+
const deserializeAws_json1_1TimeSeriesIdentifiers = (output, context) => {
|
|
4906
|
+
return {
|
|
4907
|
+
DataSource: output.DataSource !== undefined && output.DataSource !== null
|
|
4908
|
+
? deserializeAws_json1_1DataSource(output.DataSource, context)
|
|
4909
|
+
: undefined,
|
|
4910
|
+
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
4911
|
+
Schema: output.Schema !== undefined && output.Schema !== null
|
|
4912
|
+
? deserializeAws_json1_1Schema(output.Schema, context)
|
|
4913
|
+
: undefined,
|
|
4914
|
+
};
|
|
4915
|
+
};
|
|
4916
|
+
const deserializeAws_json1_1TimeSeriesSelector = (output, context) => {
|
|
4917
|
+
return {
|
|
4918
|
+
TimeSeriesIdentifiers: output.TimeSeriesIdentifiers !== undefined && output.TimeSeriesIdentifiers !== null
|
|
4919
|
+
? deserializeAws_json1_1TimeSeriesIdentifiers(output.TimeSeriesIdentifiers, context)
|
|
4920
|
+
: undefined,
|
|
4921
|
+
};
|
|
4922
|
+
};
|
|
4850
4923
|
const deserializeAws_json1_1TrainingParameters = (output, context) => {
|
|
4851
4924
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4852
4925
|
if (value === null) {
|
|
@@ -17,8 +17,10 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
|
+
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
20
21
|
const getRuntimeConfig = (config) => {
|
|
21
22
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
|
+
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
24
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
25
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
26
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -33,6 +33,35 @@ export var Tag;
|
|
|
33
33
|
(function (Tag) {
|
|
34
34
|
Tag.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Key && { Key: SENSITIVE_STRING })), (obj.Value && { Value: SENSITIVE_STRING }))); };
|
|
35
35
|
})(Tag || (Tag = {}));
|
|
36
|
+
export var DayOfWeek;
|
|
37
|
+
(function (DayOfWeek) {
|
|
38
|
+
DayOfWeek["FRIDAY"] = "FRIDAY";
|
|
39
|
+
DayOfWeek["MONDAY"] = "MONDAY";
|
|
40
|
+
DayOfWeek["SATURDAY"] = "SATURDAY";
|
|
41
|
+
DayOfWeek["SUNDAY"] = "SUNDAY";
|
|
42
|
+
DayOfWeek["THURSDAY"] = "THURSDAY";
|
|
43
|
+
DayOfWeek["TUESDAY"] = "TUESDAY";
|
|
44
|
+
DayOfWeek["WEDNESDAY"] = "WEDNESDAY";
|
|
45
|
+
})(DayOfWeek || (DayOfWeek = {}));
|
|
46
|
+
export var Month;
|
|
47
|
+
(function (Month) {
|
|
48
|
+
Month["APRIL"] = "APRIL";
|
|
49
|
+
Month["AUGUST"] = "AUGUST";
|
|
50
|
+
Month["DECEMBER"] = "DECEMBER";
|
|
51
|
+
Month["FEBRUARY"] = "FEBRUARY";
|
|
52
|
+
Month["JANUARY"] = "JANUARY";
|
|
53
|
+
Month["JULY"] = "JULY";
|
|
54
|
+
Month["JUNE"] = "JUNE";
|
|
55
|
+
Month["MARCH"] = "MARCH";
|
|
56
|
+
Month["MAY"] = "MAY";
|
|
57
|
+
Month["NOVEMBER"] = "NOVEMBER";
|
|
58
|
+
Month["OCTOBER"] = "OCTOBER";
|
|
59
|
+
Month["SEPTEMBER"] = "SEPTEMBER";
|
|
60
|
+
})(Month || (Month = {}));
|
|
61
|
+
export var TimeAlignmentBoundary;
|
|
62
|
+
(function (TimeAlignmentBoundary) {
|
|
63
|
+
TimeAlignmentBoundary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
64
|
+
})(TimeAlignmentBoundary || (TimeAlignmentBoundary = {}));
|
|
36
65
|
export var CreateAutoPredictorRequest;
|
|
37
66
|
(function (CreateAutoPredictorRequest) {
|
|
38
67
|
CreateAutoPredictorRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: obj.Tags.map(function (item) { return Tag.filterSensitiveLog(item); }) }))); };
|
|
@@ -204,6 +233,14 @@ export var CreateExplainabilityExportResponse;
|
|
|
204
233
|
(function (CreateExplainabilityExportResponse) {
|
|
205
234
|
CreateExplainabilityExportResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
206
235
|
})(CreateExplainabilityExportResponse || (CreateExplainabilityExportResponse = {}));
|
|
236
|
+
export var TimeSeriesIdentifiers;
|
|
237
|
+
(function (TimeSeriesIdentifiers) {
|
|
238
|
+
TimeSeriesIdentifiers.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
239
|
+
})(TimeSeriesIdentifiers || (TimeSeriesIdentifiers = {}));
|
|
240
|
+
export var TimeSeriesSelector;
|
|
241
|
+
(function (TimeSeriesSelector) {
|
|
242
|
+
TimeSeriesSelector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
243
|
+
})(TimeSeriesSelector || (TimeSeriesSelector = {}));
|
|
207
244
|
export var CreateForecastRequest;
|
|
208
245
|
(function (CreateForecastRequest) {
|
|
209
246
|
CreateForecastRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: obj.Tags.map(function (item) { return Tag.filterSensitiveLog(item); }) }))); };
|
|
@@ -3640,7 +3640,7 @@ var serializeAws_json1_1ContinuousParameterRanges = function (input, context) {
|
|
|
3640
3640
|
});
|
|
3641
3641
|
};
|
|
3642
3642
|
var serializeAws_json1_1CreateAutoPredictorRequest = function (input, context) {
|
|
3643
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataConfig !== undefined &&
|
|
3643
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataConfig !== undefined &&
|
|
3644
3644
|
input.DataConfig !== null && { DataConfig: serializeAws_json1_1DataConfig(input.DataConfig, context) })), (input.EncryptionConfig !== undefined &&
|
|
3645
3645
|
input.EncryptionConfig !== null && {
|
|
3646
3646
|
EncryptionConfig: serializeAws_json1_1EncryptionConfig(input.EncryptionConfig, context),
|
|
@@ -3658,7 +3658,10 @@ var serializeAws_json1_1CreateAutoPredictorRequest = function (input, context) {
|
|
|
3658
3658
|
MonitorConfig: serializeAws_json1_1MonitorConfig(input.MonitorConfig, context),
|
|
3659
3659
|
})), (input.OptimizationMetric !== undefined &&
|
|
3660
3660
|
input.OptimizationMetric !== null && { OptimizationMetric: input.OptimizationMetric })), (input.PredictorName !== undefined && input.PredictorName !== null && { PredictorName: input.PredictorName })), (input.ReferencePredictorArn !== undefined &&
|
|
3661
|
-
input.ReferencePredictorArn !== null && { ReferencePredictorArn: input.ReferencePredictorArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }))
|
|
3661
|
+
input.ReferencePredictorArn !== null && { ReferencePredictorArn: input.ReferencePredictorArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.TimeAlignmentBoundary !== undefined &&
|
|
3662
|
+
input.TimeAlignmentBoundary !== null && {
|
|
3663
|
+
TimeAlignmentBoundary: serializeAws_json1_1TimeAlignmentBoundary(input.TimeAlignmentBoundary, context),
|
|
3664
|
+
}));
|
|
3662
3665
|
};
|
|
3663
3666
|
var serializeAws_json1_1CreateDatasetGroupRequest = function (input, context) {
|
|
3664
3667
|
return __assign(__assign(__assign(__assign({}, (input.DatasetArns !== undefined &&
|
|
@@ -3666,9 +3669,9 @@ var serializeAws_json1_1CreateDatasetGroupRequest = function (input, context) {
|
|
|
3666
3669
|
input.DatasetGroupName !== null && { DatasetGroupName: input.DatasetGroupName })), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3667
3670
|
};
|
|
3668
3671
|
var serializeAws_json1_1CreateDatasetImportJobRequest = function (input, context) {
|
|
3669
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataSource !== undefined &&
|
|
3672
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataSource !== undefined &&
|
|
3670
3673
|
input.DataSource !== null && { DataSource: serializeAws_json1_1DataSource(input.DataSource, context) })), (input.DatasetArn !== undefined && input.DatasetArn !== null && { DatasetArn: input.DatasetArn })), (input.DatasetImportJobName !== undefined &&
|
|
3671
|
-
input.DatasetImportJobName !== null && { DatasetImportJobName: input.DatasetImportJobName })), (input.GeolocationFormat !== undefined &&
|
|
3674
|
+
input.DatasetImportJobName !== null && { DatasetImportJobName: input.DatasetImportJobName })), (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.GeolocationFormat !== undefined &&
|
|
3672
3675
|
input.GeolocationFormat !== null && { GeolocationFormat: input.GeolocationFormat })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.TimeZone !== undefined && input.TimeZone !== null && { TimeZone: input.TimeZone })), (input.TimestampFormat !== undefined &&
|
|
3673
3676
|
input.TimestampFormat !== null && { TimestampFormat: input.TimestampFormat })), (input.UseGeolocationForTimeZone !== undefined &&
|
|
3674
3677
|
input.UseGeolocationForTimeZone !== null && { UseGeolocationForTimeZone: input.UseGeolocationForTimeZone }));
|
|
@@ -3681,10 +3684,10 @@ var serializeAws_json1_1CreateDatasetRequest = function (input, context) {
|
|
|
3681
3684
|
input.Schema !== null && { Schema: serializeAws_json1_1Schema(input.Schema, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3682
3685
|
};
|
|
3683
3686
|
var serializeAws_json1_1CreateExplainabilityExportRequest = function (input, context) {
|
|
3684
|
-
return __assign(__assign(__assign(__assign({}, (input.Destination !== undefined &&
|
|
3687
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Destination !== undefined &&
|
|
3685
3688
|
input.Destination !== null && { Destination: serializeAws_json1_1DataDestination(input.Destination, context) })), (input.ExplainabilityArn !== undefined &&
|
|
3686
3689
|
input.ExplainabilityArn !== null && { ExplainabilityArn: input.ExplainabilityArn })), (input.ExplainabilityExportName !== undefined &&
|
|
3687
|
-
input.ExplainabilityExportName !== null && { ExplainabilityExportName: input.ExplainabilityExportName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3690
|
+
input.ExplainabilityExportName !== null && { ExplainabilityExportName: input.ExplainabilityExportName })), (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3688
3691
|
};
|
|
3689
3692
|
var serializeAws_json1_1CreateExplainabilityRequest = function (input, context) {
|
|
3690
3693
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataSource !== undefined &&
|
|
@@ -3697,22 +3700,25 @@ var serializeAws_json1_1CreateExplainabilityRequest = function (input, context)
|
|
|
3697
3700
|
input.Schema !== null && { Schema: serializeAws_json1_1Schema(input.Schema, context) })), (input.StartDateTime !== undefined && input.StartDateTime !== null && { StartDateTime: input.StartDateTime })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3698
3701
|
};
|
|
3699
3702
|
var serializeAws_json1_1CreateForecastExportJobRequest = function (input, context) {
|
|
3700
|
-
return __assign(__assign(__assign(__assign({}, (input.Destination !== undefined &&
|
|
3703
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Destination !== undefined &&
|
|
3701
3704
|
input.Destination !== null && { Destination: serializeAws_json1_1DataDestination(input.Destination, context) })), (input.ForecastArn !== undefined && input.ForecastArn !== null && { ForecastArn: input.ForecastArn })), (input.ForecastExportJobName !== undefined &&
|
|
3702
|
-
input.ForecastExportJobName !== null && { ForecastExportJobName: input.ForecastExportJobName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3705
|
+
input.ForecastExportJobName !== null && { ForecastExportJobName: input.ForecastExportJobName })), (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3703
3706
|
};
|
|
3704
3707
|
var serializeAws_json1_1CreateForecastRequest = function (input, context) {
|
|
3705
|
-
return __assign(__assign(__assign(__assign({}, (input.ForecastName !== undefined && input.ForecastName !== null && { ForecastName: input.ForecastName })), (input.ForecastTypes !== undefined &&
|
|
3708
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ForecastName !== undefined && input.ForecastName !== null && { ForecastName: input.ForecastName })), (input.ForecastTypes !== undefined &&
|
|
3706
3709
|
input.ForecastTypes !== null && {
|
|
3707
3710
|
ForecastTypes: serializeAws_json1_1ForecastTypes(input.ForecastTypes, context),
|
|
3708
|
-
})), (input.PredictorArn !== undefined && input.PredictorArn !== null && { PredictorArn: input.PredictorArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }))
|
|
3711
|
+
})), (input.PredictorArn !== undefined && input.PredictorArn !== null && { PredictorArn: input.PredictorArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.TimeSeriesSelector !== undefined &&
|
|
3712
|
+
input.TimeSeriesSelector !== null && {
|
|
3713
|
+
TimeSeriesSelector: serializeAws_json1_1TimeSeriesSelector(input.TimeSeriesSelector, context),
|
|
3714
|
+
}));
|
|
3709
3715
|
};
|
|
3710
3716
|
var serializeAws_json1_1CreateMonitorRequest = function (input, context) {
|
|
3711
3717
|
return __assign(__assign(__assign({}, (input.MonitorName !== undefined && input.MonitorName !== null && { MonitorName: input.MonitorName })), (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3712
3718
|
};
|
|
3713
3719
|
var serializeAws_json1_1CreatePredictorBacktestExportJobRequest = function (input, context) {
|
|
3714
|
-
return __assign(__assign(__assign(__assign({}, (input.Destination !== undefined &&
|
|
3715
|
-
input.Destination !== null && { Destination: serializeAws_json1_1DataDestination(input.Destination, context) })), (input.PredictorArn !== undefined && input.PredictorArn !== null && { PredictorArn: input.PredictorArn })), (input.PredictorBacktestExportJobName !== undefined &&
|
|
3720
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Destination !== undefined &&
|
|
3721
|
+
input.Destination !== null && { Destination: serializeAws_json1_1DataDestination(input.Destination, context) })), (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.PredictorArn !== undefined && input.PredictorArn !== null && { PredictorArn: input.PredictorArn })), (input.PredictorBacktestExportJobName !== undefined &&
|
|
3716
3722
|
input.PredictorBacktestExportJobName !== null && {
|
|
3717
3723
|
PredictorBacktestExportJobName: input.PredictorBacktestExportJobName,
|
|
3718
3724
|
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
@@ -4097,6 +4103,20 @@ var serializeAws_json1_1Tags = function (input, context) {
|
|
|
4097
4103
|
return serializeAws_json1_1Tag(entry, context);
|
|
4098
4104
|
});
|
|
4099
4105
|
};
|
|
4106
|
+
var serializeAws_json1_1TimeAlignmentBoundary = function (input, context) {
|
|
4107
|
+
return __assign(__assign(__assign(__assign({}, (input.DayOfMonth !== undefined && input.DayOfMonth !== null && { DayOfMonth: input.DayOfMonth })), (input.DayOfWeek !== undefined && input.DayOfWeek !== null && { DayOfWeek: input.DayOfWeek })), (input.Hour !== undefined && input.Hour !== null && { Hour: input.Hour })), (input.Month !== undefined && input.Month !== null && { Month: input.Month }));
|
|
4108
|
+
};
|
|
4109
|
+
var serializeAws_json1_1TimeSeriesIdentifiers = function (input, context) {
|
|
4110
|
+
return __assign(__assign(__assign({}, (input.DataSource !== undefined &&
|
|
4111
|
+
input.DataSource !== null && { DataSource: serializeAws_json1_1DataSource(input.DataSource, context) })), (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.Schema !== undefined &&
|
|
4112
|
+
input.Schema !== null && { Schema: serializeAws_json1_1Schema(input.Schema, context) }));
|
|
4113
|
+
};
|
|
4114
|
+
var serializeAws_json1_1TimeSeriesSelector = function (input, context) {
|
|
4115
|
+
return __assign({}, (input.TimeSeriesIdentifiers !== undefined &&
|
|
4116
|
+
input.TimeSeriesIdentifiers !== null && {
|
|
4117
|
+
TimeSeriesIdentifiers: serializeAws_json1_1TimeSeriesIdentifiers(input.TimeSeriesIdentifiers, context),
|
|
4118
|
+
}));
|
|
4119
|
+
};
|
|
4100
4120
|
var serializeAws_json1_1TrainingParameters = function (input, context) {
|
|
4101
4121
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
4102
4122
|
var _b;
|
|
@@ -4453,6 +4473,9 @@ var deserializeAws_json1_1DescribeAutoPredictorResponse = function (output, cont
|
|
|
4453
4473
|
? deserializeAws_json1_1ReferencePredictorSummary(output.ReferencePredictorSummary, context)
|
|
4454
4474
|
: undefined,
|
|
4455
4475
|
Status: __expectString(output.Status),
|
|
4476
|
+
TimeAlignmentBoundary: output.TimeAlignmentBoundary !== undefined && output.TimeAlignmentBoundary !== null
|
|
4477
|
+
? deserializeAws_json1_1TimeAlignmentBoundary(output.TimeAlignmentBoundary, context)
|
|
4478
|
+
: undefined,
|
|
4456
4479
|
};
|
|
4457
4480
|
};
|
|
4458
4481
|
var deserializeAws_json1_1DescribeDatasetGroupResponse = function (output, context) {
|
|
@@ -4488,6 +4511,7 @@ var deserializeAws_json1_1DescribeDatasetImportJobResponse = function (output, c
|
|
|
4488
4511
|
FieldStatistics: output.FieldStatistics !== undefined && output.FieldStatistics !== null
|
|
4489
4512
|
? deserializeAws_json1_1FieldStatistics(output.FieldStatistics, context)
|
|
4490
4513
|
: undefined,
|
|
4514
|
+
Format: __expectString(output.Format),
|
|
4491
4515
|
GeolocationFormat: __expectString(output.GeolocationFormat),
|
|
4492
4516
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4493
4517
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
@@ -4532,6 +4556,7 @@ var deserializeAws_json1_1DescribeExplainabilityExportResponse = function (outpu
|
|
|
4532
4556
|
ExplainabilityArn: __expectString(output.ExplainabilityArn),
|
|
4533
4557
|
ExplainabilityExportArn: __expectString(output.ExplainabilityExportArn),
|
|
4534
4558
|
ExplainabilityExportName: __expectString(output.ExplainabilityExportName),
|
|
4559
|
+
Format: __expectString(output.Format),
|
|
4535
4560
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4536
4561
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4537
4562
|
: undefined,
|
|
@@ -4578,6 +4603,7 @@ var deserializeAws_json1_1DescribeForecastExportJobResponse = function (output,
|
|
|
4578
4603
|
ForecastArn: __expectString(output.ForecastArn),
|
|
4579
4604
|
ForecastExportJobArn: __expectString(output.ForecastExportJobArn),
|
|
4580
4605
|
ForecastExportJobName: __expectString(output.ForecastExportJobName),
|
|
4606
|
+
Format: __expectString(output.Format),
|
|
4581
4607
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4582
4608
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4583
4609
|
: undefined,
|
|
@@ -4603,6 +4629,9 @@ var deserializeAws_json1_1DescribeForecastResponse = function (output, context)
|
|
|
4603
4629
|
Message: __expectString(output.Message),
|
|
4604
4630
|
PredictorArn: __expectString(output.PredictorArn),
|
|
4605
4631
|
Status: __expectString(output.Status),
|
|
4632
|
+
TimeSeriesSelector: output.TimeSeriesSelector !== undefined && output.TimeSeriesSelector !== null
|
|
4633
|
+
? deserializeAws_json1_1TimeSeriesSelector(output.TimeSeriesSelector, context)
|
|
4634
|
+
: undefined,
|
|
4606
4635
|
};
|
|
4607
4636
|
};
|
|
4608
4637
|
var deserializeAws_json1_1DescribeMonitorResponse = function (output, context) {
|
|
@@ -4636,6 +4665,7 @@ var deserializeAws_json1_1DescribePredictorBacktestExportJobResponse = function
|
|
|
4636
4665
|
Destination: output.Destination !== undefined && output.Destination !== null
|
|
4637
4666
|
? deserializeAws_json1_1DataDestination(output.Destination, context)
|
|
4638
4667
|
: undefined,
|
|
4668
|
+
Format: __expectString(output.Format),
|
|
4639
4669
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4640
4670
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4641
4671
|
: undefined,
|
|
@@ -5473,6 +5503,32 @@ var deserializeAws_json1_1TestWindowSummary = function (output, context) {
|
|
|
5473
5503
|
: undefined,
|
|
5474
5504
|
};
|
|
5475
5505
|
};
|
|
5506
|
+
var deserializeAws_json1_1TimeAlignmentBoundary = function (output, context) {
|
|
5507
|
+
return {
|
|
5508
|
+
DayOfMonth: __expectInt32(output.DayOfMonth),
|
|
5509
|
+
DayOfWeek: __expectString(output.DayOfWeek),
|
|
5510
|
+
Hour: __expectInt32(output.Hour),
|
|
5511
|
+
Month: __expectString(output.Month),
|
|
5512
|
+
};
|
|
5513
|
+
};
|
|
5514
|
+
var deserializeAws_json1_1TimeSeriesIdentifiers = function (output, context) {
|
|
5515
|
+
return {
|
|
5516
|
+
DataSource: output.DataSource !== undefined && output.DataSource !== null
|
|
5517
|
+
? deserializeAws_json1_1DataSource(output.DataSource, context)
|
|
5518
|
+
: undefined,
|
|
5519
|
+
Format: __expectString(output.Format),
|
|
5520
|
+
Schema: output.Schema !== undefined && output.Schema !== null
|
|
5521
|
+
? deserializeAws_json1_1Schema(output.Schema, context)
|
|
5522
|
+
: undefined,
|
|
5523
|
+
};
|
|
5524
|
+
};
|
|
5525
|
+
var deserializeAws_json1_1TimeSeriesSelector = function (output, context) {
|
|
5526
|
+
return {
|
|
5527
|
+
TimeSeriesIdentifiers: output.TimeSeriesIdentifiers !== undefined && output.TimeSeriesIdentifiers !== null
|
|
5528
|
+
? deserializeAws_json1_1TimeSeriesIdentifiers(output.TimeSeriesIdentifiers, context)
|
|
5529
|
+
: undefined,
|
|
5530
|
+
};
|
|
5531
|
+
};
|
|
5476
5532
|
var deserializeAws_json1_1TrainingParameters = function (output, context) {
|
|
5477
5533
|
return Object.entries(output).reduce(function (acc, _a) {
|
|
5478
5534
|
var _b;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
16
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
18
|
export var getRuntimeConfig = function (config) {
|
|
18
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
19
21
|
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
22
|
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
21
23
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
package/dist-types/Forecast.d.ts
CHANGED
|
@@ -181,18 +181,14 @@ export declare class Forecast extends ForecastClient {
|
|
|
181
181
|
* AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data, as Amazon Forecast makes a copy
|
|
182
182
|
* of your data and processes it in an internal AWS system. For more information, see <a href="https://docs.aws.amazon.com/forecast/latest/dg/aws-forecast-iam-roles.html">Set up
|
|
183
183
|
* permissions</a>.</p>
|
|
184
|
-
* <p>The training data must be in CSV format. The delimiter must be a comma (,).</p>
|
|
185
|
-
* <p>You can specify the path to a specific
|
|
184
|
+
* <p>The training data must be in CSV or Parquet format. The delimiter must be a comma (,).</p>
|
|
185
|
+
* <p>You can specify the path to a specific file, the S3 bucket, or to a folder in the S3
|
|
186
186
|
* bucket. For the latter two cases, Amazon Forecast imports all files up to the limit of 10,000
|
|
187
187
|
* files.</p>
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
188
|
* <p>Because dataset imports are not aggregated, your most recent dataset import is the one
|
|
191
189
|
* that is used when training a predictor or generating a forecast. Make sure that your most
|
|
192
190
|
* recent dataset import contains all of the data you want to model off of, and not just the new
|
|
193
191
|
* data collected since the previous import.</p>
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
192
|
* <p>To get a list of all your dataset import jobs, filtered by specified criteria, use the
|
|
197
193
|
* <a href="https://docs.aws.amazon.com/forecast/latest/dg/API_ListDatasetImportJobs.html">ListDatasetImportJobs</a> operation.</p>
|
|
198
194
|
*/
|
|
@@ -357,6 +353,8 @@ export declare class Forecast extends ForecastClient {
|
|
|
357
353
|
* or export the forecast. Use the <a>DescribeForecast</a> operation to get the
|
|
358
354
|
* status.</p>
|
|
359
355
|
* </note>
|
|
356
|
+
* <p>By default, a forecast includes predictions for every item (<code>item_id</code>) in the dataset group that was used to train the predictor.
|
|
357
|
+
* However, you can use the <code>TimeSeriesSelector</code> object to generate a forecast on a subset of time series. Forecast creation is skipped for any time series that you specify that are not in the input dataset. The forecast export file will not contain these time series or their forecasted values.</p>
|
|
360
358
|
*/
|
|
361
359
|
createForecast(args: CreateForecastCommandInput, options?: __HttpHandlerOptions): Promise<CreateForecastCommandOutput>;
|
|
362
360
|
createForecast(args: CreateForecastCommandInput, cb: (err: any, data?: CreateForecastCommandOutput) => void): void;
|
|
@@ -458,7 +456,7 @@ export declare class Forecast extends ForecastClient {
|
|
|
458
456
|
createPredictor(args: CreatePredictorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePredictorCommandOutput) => void): void;
|
|
459
457
|
/**
|
|
460
458
|
* <p>Exports backtest forecasts and accuracy metrics generated by the <a>CreateAutoPredictor</a> or <a>CreatePredictor</a> operations. Two
|
|
461
|
-
* folders containing CSV files are exported to your specified S3 bucket.</p>
|
|
459
|
+
* folders containing CSV or Parquet files are exported to your specified S3 bucket.</p>
|
|
462
460
|
* <p> The export file names will match the following conventions:</p>
|
|
463
461
|
* <p>
|
|
464
462
|
* <code><ExportJobName>_<ExportTimestamp>_<PartNumber>.csv</code>
|
|
@@ -981,7 +979,8 @@ export declare class Forecast extends ForecastClient {
|
|
|
981
979
|
/**
|
|
982
980
|
* <p>Returns a list of the monitoring evaluation results and predictor events collected by
|
|
983
981
|
* the monitor resource during different windows of time.</p>
|
|
984
|
-
* <p>For information about monitoring see <a
|
|
982
|
+
* <p>For information about monitoring see <a>predictor-monitoring</a>. For
|
|
983
|
+
* more information about retrieving monitoring results see <a href="https://docs.aws.amazon.com/forecast/latest/dg/predictor-monitoring-results.html">Viewing Monitoring Results</a>.</p>
|
|
985
984
|
*/
|
|
986
985
|
listMonitorEvaluations(args: ListMonitorEvaluationsCommandInput, options?: __HttpHandlerOptions): Promise<ListMonitorEvaluationsCommandOutput>;
|
|
987
986
|
listMonitorEvaluations(args: ListMonitorEvaluationsCommandInput, cb: (err: any, data?: ListMonitorEvaluationsCommandOutput) => void): void;
|
|
@@ -14,18 +14,14 @@ export interface CreateDatasetImportJobCommandOutput extends CreateDatasetImport
|
|
|
14
14
|
* AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data, as Amazon Forecast makes a copy
|
|
15
15
|
* of your data and processes it in an internal AWS system. For more information, see <a href="https://docs.aws.amazon.com/forecast/latest/dg/aws-forecast-iam-roles.html">Set up
|
|
16
16
|
* permissions</a>.</p>
|
|
17
|
-
* <p>The training data must be in CSV format. The delimiter must be a comma (,).</p>
|
|
18
|
-
* <p>You can specify the path to a specific
|
|
17
|
+
* <p>The training data must be in CSV or Parquet format. The delimiter must be a comma (,).</p>
|
|
18
|
+
* <p>You can specify the path to a specific file, the S3 bucket, or to a folder in the S3
|
|
19
19
|
* bucket. For the latter two cases, Amazon Forecast imports all files up to the limit of 10,000
|
|
20
20
|
* files.</p>
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
21
|
* <p>Because dataset imports are not aggregated, your most recent dataset import is the one
|
|
24
22
|
* that is used when training a predictor or generating a forecast. Make sure that your most
|
|
25
23
|
* recent dataset import contains all of the data you want to model off of, and not just the new
|
|
26
24
|
* data collected since the previous import.</p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
25
|
* <p>To get a list of all your dataset import jobs, filtered by specified criteria, use the
|
|
30
26
|
* <a href="https://docs.aws.amazon.com/forecast/latest/dg/API_ListDatasetImportJobs.html">ListDatasetImportJobs</a> operation.</p>
|
|
31
27
|
* @example
|
|
@@ -26,6 +26,8 @@ export interface CreateForecastCommandOutput extends CreateForecastResponse, __M
|
|
|
26
26
|
* or export the forecast. Use the <a>DescribeForecast</a> operation to get the
|
|
27
27
|
* status.</p>
|
|
28
28
|
* </note>
|
|
29
|
+
* <p>By default, a forecast includes predictions for every item (<code>item_id</code>) in the dataset group that was used to train the predictor.
|
|
30
|
+
* However, you can use the <code>TimeSeriesSelector</code> object to generate a forecast on a subset of time series. Forecast creation is skipped for any time series that you specify that are not in the input dataset. The forecast export file will not contain these time series or their forecasted values.</p>
|
|
29
31
|
* @example
|
|
30
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
33
|
* ```javascript
|
|
@@ -8,7 +8,7 @@ export interface CreatePredictorBacktestExportJobCommandOutput extends CreatePre
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Exports backtest forecasts and accuracy metrics generated by the <a>CreateAutoPredictor</a> or <a>CreatePredictor</a> operations. Two
|
|
11
|
-
* folders containing CSV files are exported to your specified S3 bucket.</p>
|
|
11
|
+
* folders containing CSV or Parquet files are exported to your specified S3 bucket.</p>
|
|
12
12
|
* <p> The export file names will match the following conventions:</p>
|
|
13
13
|
* <p>
|
|
14
14
|
* <code><ExportJobName>_<ExportTimestamp>_<PartNumber>.csv</code>
|
|
@@ -9,7 +9,8 @@ export interface ListMonitorEvaluationsCommandOutput extends ListMonitorEvaluati
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Returns a list of the monitoring evaluation results and predictor events collected by
|
|
11
11
|
* the monitor resource during different windows of time.</p>
|
|
12
|
-
* <p>For information about monitoring see <a
|
|
12
|
+
* <p>For information about monitoring see <a>predictor-monitoring</a>. For
|
|
13
|
+
* more information about retrieving monitoring results see <a href="https://docs.aws.amazon.com/forecast/latest/dg/predictor-monitoring-results.html">Viewing Monitoring Results</a>.</p>
|
|
13
14
|
* @example
|
|
14
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
16
|
* ```javascript
|
|
@@ -474,6 +474,65 @@ export declare namespace Tag {
|
|
|
474
474
|
*/
|
|
475
475
|
const filterSensitiveLog: (obj: Tag) => any;
|
|
476
476
|
}
|
|
477
|
+
export declare enum DayOfWeek {
|
|
478
|
+
FRIDAY = "FRIDAY",
|
|
479
|
+
MONDAY = "MONDAY",
|
|
480
|
+
SATURDAY = "SATURDAY",
|
|
481
|
+
SUNDAY = "SUNDAY",
|
|
482
|
+
THURSDAY = "THURSDAY",
|
|
483
|
+
TUESDAY = "TUESDAY",
|
|
484
|
+
WEDNESDAY = "WEDNESDAY"
|
|
485
|
+
}
|
|
486
|
+
export declare enum Month {
|
|
487
|
+
APRIL = "APRIL",
|
|
488
|
+
AUGUST = "AUGUST",
|
|
489
|
+
DECEMBER = "DECEMBER",
|
|
490
|
+
FEBRUARY = "FEBRUARY",
|
|
491
|
+
JANUARY = "JANUARY",
|
|
492
|
+
JULY = "JULY",
|
|
493
|
+
JUNE = "JUNE",
|
|
494
|
+
MARCH = "MARCH",
|
|
495
|
+
MAY = "MAY",
|
|
496
|
+
NOVEMBER = "NOVEMBER",
|
|
497
|
+
OCTOBER = "OCTOBER",
|
|
498
|
+
SEPTEMBER = "SEPTEMBER"
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* <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
|
|
502
|
+
* 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>.
|
|
503
|
+
* </p>
|
|
504
|
+
*
|
|
505
|
+
* <p>For more information about aggregation,
|
|
506
|
+
* see <a href="https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html">Data Aggregation for Different Forecast Frequencies</a>.
|
|
507
|
+
* For more information setting a custom time boundary,
|
|
508
|
+
* see <a href="https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html#specifying-time-boundary">Specifying a Time Boundary</a>.
|
|
509
|
+
*
|
|
510
|
+
* </p>
|
|
511
|
+
*/
|
|
512
|
+
export interface TimeAlignmentBoundary {
|
|
513
|
+
/**
|
|
514
|
+
* <p>The month to use for time alignment during aggregation. The month must be in uppercase.</p>
|
|
515
|
+
*/
|
|
516
|
+
Month?: Month | string;
|
|
517
|
+
/**
|
|
518
|
+
* <p>The day of the month to use for time alignment during aggregation.</p>
|
|
519
|
+
*/
|
|
520
|
+
DayOfMonth?: number;
|
|
521
|
+
/**
|
|
522
|
+
* <p>The day of week to use for time alignment during aggregation. The day must be in uppercase.</p>
|
|
523
|
+
*/
|
|
524
|
+
DayOfWeek?: DayOfWeek | string;
|
|
525
|
+
/**
|
|
526
|
+
* <p>The hour of day to use for time alignment during aggregation.</p>
|
|
527
|
+
*/
|
|
528
|
+
Hour?: number;
|
|
529
|
+
}
|
|
530
|
+
export declare namespace TimeAlignmentBoundary {
|
|
531
|
+
/**
|
|
532
|
+
* @internal
|
|
533
|
+
*/
|
|
534
|
+
const filterSensitiveLog: (obj: TimeAlignmentBoundary) => any;
|
|
535
|
+
}
|
|
477
536
|
export interface CreateAutoPredictorRequest {
|
|
478
537
|
/**
|
|
479
538
|
* <p>A unique name for the predictor</p>
|
|
@@ -584,6 +643,13 @@ export interface CreateAutoPredictorRequest {
|
|
|
584
643
|
* For more information, see <a href="https://docs.aws.amazon.com/forecast/latest/dg/predictor-monitoring.html">Predictor Monitoring</a>.</p>
|
|
585
644
|
*/
|
|
586
645
|
MonitorConfig?: MonitorConfig;
|
|
646
|
+
/**
|
|
647
|
+
* <p>The time boundary Forecast uses to align and aggregate any data that doesn't align with your forecast frequency. Provide the unit of time and the time boundary as a key value pair.
|
|
648
|
+
* For more information on specifying a time boundary, see <a href="https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html#specifying-time-boundary">Specifying a Time Boundary</a>.
|
|
649
|
+
* If you
|
|
650
|
+
* 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>.</p>
|
|
651
|
+
*/
|
|
652
|
+
TimeAlignmentBoundary?: TimeAlignmentBoundary;
|
|
587
653
|
}
|
|
588
654
|
export declare namespace CreateAutoPredictorRequest {
|
|
589
655
|
/**
|
|
@@ -1055,6 +1121,10 @@ export interface CreateDatasetImportJobRequest {
|
|
|
1055
1121
|
* </ul>
|
|
1056
1122
|
*/
|
|
1057
1123
|
Tags?: Tag[];
|
|
1124
|
+
/**
|
|
1125
|
+
* <p>The format of the imported data, CSV or PARQUET. The default value is CSV.</p>
|
|
1126
|
+
*/
|
|
1127
|
+
Format?: string;
|
|
1058
1128
|
}
|
|
1059
1129
|
export declare namespace CreateDatasetImportJobRequest {
|
|
1060
1130
|
/**
|
|
@@ -1098,7 +1168,7 @@ export interface ExplainabilityConfig {
|
|
|
1098
1168
|
* <p>To create an Explainability for all time series in your datasets, use
|
|
1099
1169
|
* <code>ALL</code>. To create an Explainability for specific time series in your datasets,
|
|
1100
1170
|
* use <code>SPECIFIC</code>.</p>
|
|
1101
|
-
* <p>Specify time series by uploading a CSV file to an Amazon S3 bucket and set the location
|
|
1171
|
+
* <p>Specify time series by uploading a CSV or Parquet file to an Amazon S3 bucket and set the location
|
|
1102
1172
|
* within the <a>DataDestination</a> data type.</p>
|
|
1103
1173
|
*/
|
|
1104
1174
|
TimeSeriesGranularity: TimeSeriesGranularity | string | undefined;
|
|
@@ -1279,6 +1349,10 @@ export interface CreateExplainabilityExportRequest {
|
|
|
1279
1349
|
* </ul>
|
|
1280
1350
|
*/
|
|
1281
1351
|
Tags?: Tag[];
|
|
1352
|
+
/**
|
|
1353
|
+
* <p>The format of the exported data, CSV or PARQUET.</p>
|
|
1354
|
+
*/
|
|
1355
|
+
Format?: string;
|
|
1282
1356
|
}
|
|
1283
1357
|
export declare namespace CreateExplainabilityExportRequest {
|
|
1284
1358
|
/**
|
|
@@ -1298,6 +1372,63 @@ export declare namespace CreateExplainabilityExportResponse {
|
|
|
1298
1372
|
*/
|
|
1299
1373
|
const filterSensitiveLog: (obj: CreateExplainabilityExportResponse) => any;
|
|
1300
1374
|
}
|
|
1375
|
+
/**
|
|
1376
|
+
* <p>Details about the import file that contains the time series for which you want to create forecasts.</p>
|
|
1377
|
+
*/
|
|
1378
|
+
export interface TimeSeriesIdentifiers {
|
|
1379
|
+
/**
|
|
1380
|
+
* <p>The source of your data, an AWS Identity and Access Management (IAM) role that allows Amazon Forecast to
|
|
1381
|
+
* access the data and, optionally, an AWS Key Management Service (KMS) key.</p>
|
|
1382
|
+
*/
|
|
1383
|
+
DataSource?: DataSource;
|
|
1384
|
+
/**
|
|
1385
|
+
* <p>Defines the fields of a dataset.</p>
|
|
1386
|
+
*/
|
|
1387
|
+
Schema?: Schema;
|
|
1388
|
+
/**
|
|
1389
|
+
* <p>The format of the data, either CSV or PARQUET.</p>
|
|
1390
|
+
*/
|
|
1391
|
+
Format?: string;
|
|
1392
|
+
}
|
|
1393
|
+
export declare namespace TimeSeriesIdentifiers {
|
|
1394
|
+
/**
|
|
1395
|
+
* @internal
|
|
1396
|
+
*/
|
|
1397
|
+
const filterSensitiveLog: (obj: TimeSeriesIdentifiers) => any;
|
|
1398
|
+
}
|
|
1399
|
+
/**
|
|
1400
|
+
* <p>Defines the set of time series that are used to create the forecasts in a <code>TimeSeriesIdentifiers</code> object.</p>
|
|
1401
|
+
* <p>The <code>TimeSeriesIdentifiers</code> object needs the following information:</p>
|
|
1402
|
+
* <ul>
|
|
1403
|
+
* <li>
|
|
1404
|
+
* <p>
|
|
1405
|
+
* <code>DataSource</code>
|
|
1406
|
+
* </p>
|
|
1407
|
+
* </li>
|
|
1408
|
+
* <li>
|
|
1409
|
+
* <p>
|
|
1410
|
+
* <code>Format</code>
|
|
1411
|
+
* </p>
|
|
1412
|
+
* </li>
|
|
1413
|
+
* <li>
|
|
1414
|
+
* <p>
|
|
1415
|
+
* <code>Schema</code>
|
|
1416
|
+
* </p>
|
|
1417
|
+
* </li>
|
|
1418
|
+
* </ul>
|
|
1419
|
+
*/
|
|
1420
|
+
export interface TimeSeriesSelector {
|
|
1421
|
+
/**
|
|
1422
|
+
* <p>Details about the import file that contains the time series for which you want to create forecasts.</p>
|
|
1423
|
+
*/
|
|
1424
|
+
TimeSeriesIdentifiers?: TimeSeriesIdentifiers;
|
|
1425
|
+
}
|
|
1426
|
+
export declare namespace TimeSeriesSelector {
|
|
1427
|
+
/**
|
|
1428
|
+
* @internal
|
|
1429
|
+
*/
|
|
1430
|
+
const filterSensitiveLog: (obj: TimeSeriesSelector) => any;
|
|
1431
|
+
}
|
|
1301
1432
|
export interface CreateForecastRequest {
|
|
1302
1433
|
/**
|
|
1303
1434
|
* <p>A name for the forecast.</p>
|
|
@@ -1357,6 +1488,28 @@ export interface CreateForecastRequest {
|
|
|
1357
1488
|
* </ul>
|
|
1358
1489
|
*/
|
|
1359
1490
|
Tags?: Tag[];
|
|
1491
|
+
/**
|
|
1492
|
+
* <p>Defines the set of time series that are used to create the forecasts in a <code>TimeSeriesIdentifiers</code> object.</p>
|
|
1493
|
+
* <p>The <code>TimeSeriesIdentifiers</code> object needs the following information:</p>
|
|
1494
|
+
* <ul>
|
|
1495
|
+
* <li>
|
|
1496
|
+
* <p>
|
|
1497
|
+
* <code>DataSource</code>
|
|
1498
|
+
* </p>
|
|
1499
|
+
* </li>
|
|
1500
|
+
* <li>
|
|
1501
|
+
* <p>
|
|
1502
|
+
* <code>Format</code>
|
|
1503
|
+
* </p>
|
|
1504
|
+
* </li>
|
|
1505
|
+
* <li>
|
|
1506
|
+
* <p>
|
|
1507
|
+
* <code>Schema</code>
|
|
1508
|
+
* </p>
|
|
1509
|
+
* </li>
|
|
1510
|
+
* </ul>
|
|
1511
|
+
*/
|
|
1512
|
+
TimeSeriesSelector?: TimeSeriesSelector;
|
|
1360
1513
|
}
|
|
1361
1514
|
export declare namespace CreateForecastRequest {
|
|
1362
1515
|
/**
|
|
@@ -1432,6 +1585,10 @@ export interface CreateForecastExportJobRequest {
|
|
|
1432
1585
|
* </ul>
|
|
1433
1586
|
*/
|
|
1434
1587
|
Tags?: Tag[];
|
|
1588
|
+
/**
|
|
1589
|
+
* <p>The format of the exported data, CSV or PARQUET. The default value is CSV.</p>
|
|
1590
|
+
*/
|
|
1591
|
+
Format?: string;
|
|
1435
1592
|
}
|
|
1436
1593
|
export declare namespace CreateForecastExportJobRequest {
|
|
1437
1594
|
/**
|
|
@@ -2433,6 +2590,10 @@ export interface CreatePredictorBacktestExportJobRequest {
|
|
|
2433
2590
|
* </ul>
|
|
2434
2591
|
*/
|
|
2435
2592
|
Tags?: Tag[];
|
|
2593
|
+
/**
|
|
2594
|
+
* <p>The format of the exported data, CSV or PARQUET. The default value is CSV.</p>
|
|
2595
|
+
*/
|
|
2596
|
+
Format?: string;
|
|
2436
2597
|
}
|
|
2437
2598
|
export declare namespace CreatePredictorBacktestExportJobRequest {
|
|
2438
2599
|
/**
|
|
@@ -2843,6 +3004,10 @@ export interface DescribeAutoPredictorResponse {
|
|
|
2843
3004
|
* <p>A object with the Amazon Resource Name (ARN) and status of the monitor resource.</p>
|
|
2844
3005
|
*/
|
|
2845
3006
|
MonitorInfo?: MonitorInfo;
|
|
3007
|
+
/**
|
|
3008
|
+
* <p>The time boundary Forecast uses when aggregating data.</p>
|
|
3009
|
+
*/
|
|
3010
|
+
TimeAlignmentBoundary?: TimeAlignmentBoundary;
|
|
2846
3011
|
}
|
|
2847
3012
|
export declare namespace DescribeAutoPredictorResponse {
|
|
2848
3013
|
/**
|
|
@@ -3244,6 +3409,10 @@ export interface DescribeDatasetImportJobResponse {
|
|
|
3244
3409
|
* </ul>
|
|
3245
3410
|
*/
|
|
3246
3411
|
LastModificationTime?: Date;
|
|
3412
|
+
/**
|
|
3413
|
+
* <p>The format of the imported data, CSV or PARQUET.</p>
|
|
3414
|
+
*/
|
|
3415
|
+
Format?: string;
|
|
3247
3416
|
}
|
|
3248
3417
|
export declare namespace DescribeDatasetImportJobResponse {
|
|
3249
3418
|
/**
|
|
@@ -3403,7 +3572,7 @@ export interface DescribeExplainabilityExportResponse {
|
|
|
3403
3572
|
*/
|
|
3404
3573
|
ExplainabilityExportName?: string;
|
|
3405
3574
|
/**
|
|
3406
|
-
* <p>The Amazon Resource Name (ARN) of the Explainability.</p>
|
|
3575
|
+
* <p>The Amazon Resource Name (ARN) of the Explainability export.</p>
|
|
3407
3576
|
*/
|
|
3408
3577
|
ExplainabilityArn?: string;
|
|
3409
3578
|
/**
|
|
@@ -3475,6 +3644,10 @@ export interface DescribeExplainabilityExportResponse {
|
|
|
3475
3644
|
* </ul>
|
|
3476
3645
|
*/
|
|
3477
3646
|
LastModificationTime?: Date;
|
|
3647
|
+
/**
|
|
3648
|
+
* <p>The format of the exported data, CSV or PARQUET.</p>
|
|
3649
|
+
*/
|
|
3650
|
+
Format?: string;
|
|
3478
3651
|
}
|
|
3479
3652
|
export declare namespace DescribeExplainabilityExportResponse {
|
|
3480
3653
|
/**
|
|
@@ -3586,6 +3759,10 @@ export interface DescribeForecastResponse {
|
|
|
3586
3759
|
* </ul>
|
|
3587
3760
|
*/
|
|
3588
3761
|
LastModificationTime?: Date;
|
|
3762
|
+
/**
|
|
3763
|
+
* <p>The time series to include in the forecast.</p>
|
|
3764
|
+
*/
|
|
3765
|
+
TimeSeriesSelector?: TimeSeriesSelector;
|
|
3589
3766
|
}
|
|
3590
3767
|
export declare namespace DescribeForecastResponse {
|
|
3591
3768
|
/**
|
|
@@ -3689,6 +3866,10 @@ export interface DescribeForecastExportJobResponse {
|
|
|
3689
3866
|
* </ul>
|
|
3690
3867
|
*/
|
|
3691
3868
|
LastModificationTime?: Date;
|
|
3869
|
+
/**
|
|
3870
|
+
* <p>The format of the exported data, CSV or PARQUET.</p>
|
|
3871
|
+
*/
|
|
3872
|
+
Format?: string;
|
|
3692
3873
|
}
|
|
3693
3874
|
export declare namespace DescribeForecastExportJobResponse {
|
|
3694
3875
|
/**
|
|
@@ -4177,6 +4358,10 @@ export interface DescribePredictorBacktestExportJobResponse {
|
|
|
4177
4358
|
* </ul>
|
|
4178
4359
|
*/
|
|
4179
4360
|
LastModificationTime?: Date;
|
|
4361
|
+
/**
|
|
4362
|
+
* <p>The format of the exported data, CSV or PARQUET.</p>
|
|
4363
|
+
*/
|
|
4364
|
+
Format?: string;
|
|
4180
4365
|
}
|
|
4181
4366
|
export declare namespace DescribePredictorBacktestExportJobResponse {
|
|
4182
4367
|
/**
|
|
@@ -5486,7 +5671,13 @@ export declare namespace PredictorEvent {
|
|
|
5486
5671
|
* <p>Describes the results of a monitor evaluation.</p>
|
|
5487
5672
|
*/
|
|
5488
5673
|
export interface PredictorMonitorEvaluation {
|
|
5674
|
+
/**
|
|
5675
|
+
* <p>The Amazon Resource Name (ARN) of the resource to monitor.</p>
|
|
5676
|
+
*/
|
|
5489
5677
|
ResourceArn?: string;
|
|
5678
|
+
/**
|
|
5679
|
+
* <p>The Amazon Resource Name (ARN) of the monitor resource.</p>
|
|
5680
|
+
*/
|
|
5490
5681
|
MonitorArn?: string;
|
|
5491
5682
|
/**
|
|
5492
5683
|
* <p>The timestamp that indicates when the monitor evaluation was started. </p>
|
|
@@ -77,6 +77,44 @@ export declare namespace Tag {
|
|
|
77
77
|
|
|
78
78
|
const filterSensitiveLog: (obj: Tag) => any;
|
|
79
79
|
}
|
|
80
|
+
export declare enum DayOfWeek {
|
|
81
|
+
FRIDAY = "FRIDAY",
|
|
82
|
+
MONDAY = "MONDAY",
|
|
83
|
+
SATURDAY = "SATURDAY",
|
|
84
|
+
SUNDAY = "SUNDAY",
|
|
85
|
+
THURSDAY = "THURSDAY",
|
|
86
|
+
TUESDAY = "TUESDAY",
|
|
87
|
+
WEDNESDAY = "WEDNESDAY"
|
|
88
|
+
}
|
|
89
|
+
export declare enum Month {
|
|
90
|
+
APRIL = "APRIL",
|
|
91
|
+
AUGUST = "AUGUST",
|
|
92
|
+
DECEMBER = "DECEMBER",
|
|
93
|
+
FEBRUARY = "FEBRUARY",
|
|
94
|
+
JANUARY = "JANUARY",
|
|
95
|
+
JULY = "JULY",
|
|
96
|
+
JUNE = "JUNE",
|
|
97
|
+
MARCH = "MARCH",
|
|
98
|
+
MAY = "MAY",
|
|
99
|
+
NOVEMBER = "NOVEMBER",
|
|
100
|
+
OCTOBER = "OCTOBER",
|
|
101
|
+
SEPTEMBER = "SEPTEMBER"
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface TimeAlignmentBoundary {
|
|
105
|
+
|
|
106
|
+
Month?: Month | string;
|
|
107
|
+
|
|
108
|
+
DayOfMonth?: number;
|
|
109
|
+
|
|
110
|
+
DayOfWeek?: DayOfWeek | string;
|
|
111
|
+
|
|
112
|
+
Hour?: number;
|
|
113
|
+
}
|
|
114
|
+
export declare namespace TimeAlignmentBoundary {
|
|
115
|
+
|
|
116
|
+
const filterSensitiveLog: (obj: TimeAlignmentBoundary) => any;
|
|
117
|
+
}
|
|
80
118
|
export interface CreateAutoPredictorRequest {
|
|
81
119
|
|
|
82
120
|
PredictorName: string | undefined;
|
|
@@ -102,6 +140,8 @@ export interface CreateAutoPredictorRequest {
|
|
|
102
140
|
Tags?: Tag[];
|
|
103
141
|
|
|
104
142
|
MonitorConfig?: MonitorConfig;
|
|
143
|
+
|
|
144
|
+
TimeAlignmentBoundary?: TimeAlignmentBoundary;
|
|
105
145
|
}
|
|
106
146
|
export declare namespace CreateAutoPredictorRequest {
|
|
107
147
|
|
|
@@ -285,6 +325,8 @@ export interface CreateDatasetImportJobRequest {
|
|
|
285
325
|
GeolocationFormat?: string;
|
|
286
326
|
|
|
287
327
|
Tags?: Tag[];
|
|
328
|
+
|
|
329
|
+
Format?: string;
|
|
288
330
|
}
|
|
289
331
|
export declare namespace CreateDatasetImportJobRequest {
|
|
290
332
|
|
|
@@ -367,6 +409,8 @@ export interface CreateExplainabilityExportRequest {
|
|
|
367
409
|
Destination: DataDestination | undefined;
|
|
368
410
|
|
|
369
411
|
Tags?: Tag[];
|
|
412
|
+
|
|
413
|
+
Format?: string;
|
|
370
414
|
}
|
|
371
415
|
export declare namespace CreateExplainabilityExportRequest {
|
|
372
416
|
|
|
@@ -380,6 +424,28 @@ export declare namespace CreateExplainabilityExportResponse {
|
|
|
380
424
|
|
|
381
425
|
const filterSensitiveLog: (obj: CreateExplainabilityExportResponse) => any;
|
|
382
426
|
}
|
|
427
|
+
|
|
428
|
+
export interface TimeSeriesIdentifiers {
|
|
429
|
+
|
|
430
|
+
DataSource?: DataSource;
|
|
431
|
+
|
|
432
|
+
Schema?: Schema;
|
|
433
|
+
|
|
434
|
+
Format?: string;
|
|
435
|
+
}
|
|
436
|
+
export declare namespace TimeSeriesIdentifiers {
|
|
437
|
+
|
|
438
|
+
const filterSensitiveLog: (obj: TimeSeriesIdentifiers) => any;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export interface TimeSeriesSelector {
|
|
442
|
+
|
|
443
|
+
TimeSeriesIdentifiers?: TimeSeriesIdentifiers;
|
|
444
|
+
}
|
|
445
|
+
export declare namespace TimeSeriesSelector {
|
|
446
|
+
|
|
447
|
+
const filterSensitiveLog: (obj: TimeSeriesSelector) => any;
|
|
448
|
+
}
|
|
383
449
|
export interface CreateForecastRequest {
|
|
384
450
|
|
|
385
451
|
ForecastName: string | undefined;
|
|
@@ -389,6 +455,8 @@ export interface CreateForecastRequest {
|
|
|
389
455
|
ForecastTypes?: string[];
|
|
390
456
|
|
|
391
457
|
Tags?: Tag[];
|
|
458
|
+
|
|
459
|
+
TimeSeriesSelector?: TimeSeriesSelector;
|
|
392
460
|
}
|
|
393
461
|
export declare namespace CreateForecastRequest {
|
|
394
462
|
|
|
@@ -411,6 +479,8 @@ export interface CreateForecastExportJobRequest {
|
|
|
411
479
|
Destination: DataDestination | undefined;
|
|
412
480
|
|
|
413
481
|
Tags?: Tag[];
|
|
482
|
+
|
|
483
|
+
Format?: string;
|
|
414
484
|
}
|
|
415
485
|
export declare namespace CreateForecastExportJobRequest {
|
|
416
486
|
|
|
@@ -645,6 +715,8 @@ export interface CreatePredictorBacktestExportJobRequest {
|
|
|
645
715
|
Destination: DataDestination | undefined;
|
|
646
716
|
|
|
647
717
|
Tags?: Tag[];
|
|
718
|
+
|
|
719
|
+
Format?: string;
|
|
648
720
|
}
|
|
649
721
|
export declare namespace CreatePredictorBacktestExportJobRequest {
|
|
650
722
|
|
|
@@ -828,6 +900,8 @@ export interface DescribeAutoPredictorResponse {
|
|
|
828
900
|
ExplainabilityInfo?: ExplainabilityInfo;
|
|
829
901
|
|
|
830
902
|
MonitorInfo?: MonitorInfo;
|
|
903
|
+
|
|
904
|
+
TimeAlignmentBoundary?: TimeAlignmentBoundary;
|
|
831
905
|
}
|
|
832
906
|
export declare namespace DescribeAutoPredictorResponse {
|
|
833
907
|
|
|
@@ -967,6 +1041,8 @@ export interface DescribeDatasetImportJobResponse {
|
|
|
967
1041
|
CreationTime?: Date;
|
|
968
1042
|
|
|
969
1043
|
LastModificationTime?: Date;
|
|
1044
|
+
|
|
1045
|
+
Format?: string;
|
|
970
1046
|
}
|
|
971
1047
|
export declare namespace DescribeDatasetImportJobResponse {
|
|
972
1048
|
|
|
@@ -1039,6 +1115,8 @@ export interface DescribeExplainabilityExportResponse {
|
|
|
1039
1115
|
CreationTime?: Date;
|
|
1040
1116
|
|
|
1041
1117
|
LastModificationTime?: Date;
|
|
1118
|
+
|
|
1119
|
+
Format?: string;
|
|
1042
1120
|
}
|
|
1043
1121
|
export declare namespace DescribeExplainabilityExportResponse {
|
|
1044
1122
|
|
|
@@ -1073,6 +1151,8 @@ export interface DescribeForecastResponse {
|
|
|
1073
1151
|
CreationTime?: Date;
|
|
1074
1152
|
|
|
1075
1153
|
LastModificationTime?: Date;
|
|
1154
|
+
|
|
1155
|
+
TimeSeriesSelector?: TimeSeriesSelector;
|
|
1076
1156
|
}
|
|
1077
1157
|
export declare namespace DescribeForecastResponse {
|
|
1078
1158
|
|
|
@@ -1103,6 +1183,8 @@ export interface DescribeForecastExportJobResponse {
|
|
|
1103
1183
|
CreationTime?: Date;
|
|
1104
1184
|
|
|
1105
1185
|
LastModificationTime?: Date;
|
|
1186
|
+
|
|
1187
|
+
Format?: string;
|
|
1106
1188
|
}
|
|
1107
1189
|
export declare namespace DescribeForecastExportJobResponse {
|
|
1108
1190
|
|
|
@@ -1297,6 +1379,8 @@ export interface DescribePredictorBacktestExportJobResponse {
|
|
|
1297
1379
|
CreationTime?: Date;
|
|
1298
1380
|
|
|
1299
1381
|
LastModificationTime?: Date;
|
|
1382
|
+
|
|
1383
|
+
Format?: string;
|
|
1300
1384
|
}
|
|
1301
1385
|
export declare namespace DescribePredictorBacktestExportJobResponse {
|
|
1302
1386
|
|
|
@@ -1770,7 +1854,9 @@ export declare namespace PredictorEvent {
|
|
|
1770
1854
|
}
|
|
1771
1855
|
|
|
1772
1856
|
export interface PredictorMonitorEvaluation {
|
|
1857
|
+
|
|
1773
1858
|
ResourceArn?: string;
|
|
1859
|
+
|
|
1774
1860
|
MonitorArn?: string;
|
|
1775
1861
|
|
|
1776
1862
|
EvaluationTime?: Date;
|
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.103.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.100.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.100.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
36
|
"@aws-sdk/node-http-handler": "3.94.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
38
|
+
"@aws-sdk/smithy-client": "3.99.0",
|
|
39
39
|
"@aws-sdk/types": "3.78.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.78.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.99.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.99.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-node": "3.80.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|