@aws-sdk/client-forecast 3.100.0 → 3.109.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/ForecastClient.js +2 -0
- package/dist-cjs/models/models_0.js +16 -4
- package/dist-cjs/protocols/Aws_json1_1.js +50 -0
- package/dist-es/ForecastClient.js +2 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_json1_1.js +49 -10
- package/dist-types/Forecast.d.ts +5 -7
- 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/models/models_0.d.ts +123 -20
- package/dist-types/ts3.4/models/models_0.d.ts +48 -18
- package/package.json +29 -28
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.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-forecast
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.103.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.102.0...v3.103.0) (2022-06-01)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **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))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
37
|
|
|
8
38
|
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class ForecastClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -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 = exports.ListPredictorsResponse = exports.PredictorSummary = exports.ListPredictorsRequest = 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;
|
|
@@ -301,6 +301,18 @@ var CreateExplainabilityExportResponse;
|
|
|
301
301
|
...obj,
|
|
302
302
|
});
|
|
303
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 = {}));
|
|
304
316
|
var CreateForecastRequest;
|
|
305
317
|
(function (CreateForecastRequest) {
|
|
306
318
|
CreateForecastRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -2811,6 +2811,7 @@ const serializeAws_json1_1CreateDatasetImportJobRequest = (input, context) => {
|
|
|
2811
2811
|
...(input.DatasetArn !== undefined && input.DatasetArn !== null && { DatasetArn: input.DatasetArn }),
|
|
2812
2812
|
...(input.DatasetImportJobName !== undefined &&
|
|
2813
2813
|
input.DatasetImportJobName !== null && { DatasetImportJobName: input.DatasetImportJobName }),
|
|
2814
|
+
...(input.Format !== undefined && input.Format !== null && { Format: input.Format }),
|
|
2814
2815
|
...(input.GeolocationFormat !== undefined &&
|
|
2815
2816
|
input.GeolocationFormat !== null && { GeolocationFormat: input.GeolocationFormat }),
|
|
2816
2817
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
@@ -2844,6 +2845,7 @@ const serializeAws_json1_1CreateExplainabilityExportRequest = (input, context) =
|
|
|
2844
2845
|
input.ExplainabilityArn !== null && { ExplainabilityArn: input.ExplainabilityArn }),
|
|
2845
2846
|
...(input.ExplainabilityExportName !== undefined &&
|
|
2846
2847
|
input.ExplainabilityExportName !== null && { ExplainabilityExportName: input.ExplainabilityExportName }),
|
|
2848
|
+
...(input.Format !== undefined && input.Format !== null && { Format: input.Format }),
|
|
2847
2849
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
2848
2850
|
};
|
|
2849
2851
|
};
|
|
@@ -2874,6 +2876,7 @@ const serializeAws_json1_1CreateForecastExportJobRequest = (input, context) => {
|
|
|
2874
2876
|
...(input.ForecastArn !== undefined && input.ForecastArn !== null && { ForecastArn: input.ForecastArn }),
|
|
2875
2877
|
...(input.ForecastExportJobName !== undefined &&
|
|
2876
2878
|
input.ForecastExportJobName !== null && { ForecastExportJobName: input.ForecastExportJobName }),
|
|
2879
|
+
...(input.Format !== undefined && input.Format !== null && { Format: input.Format }),
|
|
2877
2880
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
2878
2881
|
};
|
|
2879
2882
|
};
|
|
@@ -2886,6 +2889,10 @@ const serializeAws_json1_1CreateForecastRequest = (input, context) => {
|
|
|
2886
2889
|
}),
|
|
2887
2890
|
...(input.PredictorArn !== undefined && input.PredictorArn !== null && { PredictorArn: input.PredictorArn }),
|
|
2888
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
|
+
}),
|
|
2889
2896
|
};
|
|
2890
2897
|
};
|
|
2891
2898
|
const serializeAws_json1_1CreateMonitorRequest = (input, context) => {
|
|
@@ -2899,6 +2906,7 @@ const serializeAws_json1_1CreatePredictorBacktestExportJobRequest = (input, cont
|
|
|
2899
2906
|
return {
|
|
2900
2907
|
...(input.Destination !== undefined &&
|
|
2901
2908
|
input.Destination !== null && { Destination: serializeAws_json1_1DataDestination(input.Destination, context) }),
|
|
2909
|
+
...(input.Format !== undefined && input.Format !== null && { Format: input.Format }),
|
|
2902
2910
|
...(input.PredictorArn !== undefined && input.PredictorArn !== null && { PredictorArn: input.PredictorArn }),
|
|
2903
2911
|
...(input.PredictorBacktestExportJobName !== undefined &&
|
|
2904
2912
|
input.PredictorBacktestExportJobName !== null && {
|
|
@@ -3472,6 +3480,23 @@ const serializeAws_json1_1TimeAlignmentBoundary = (input, context) => {
|
|
|
3472
3480
|
...(input.Month !== undefined && input.Month !== null && { Month: input.Month }),
|
|
3473
3481
|
};
|
|
3474
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
|
+
};
|
|
3475
3500
|
const serializeAws_json1_1TrainingParameters = (input, context) => {
|
|
3476
3501
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3477
3502
|
if (value === null) {
|
|
@@ -3875,6 +3900,7 @@ const deserializeAws_json1_1DescribeDatasetImportJobResponse = (output, context)
|
|
|
3875
3900
|
FieldStatistics: output.FieldStatistics !== undefined && output.FieldStatistics !== null
|
|
3876
3901
|
? deserializeAws_json1_1FieldStatistics(output.FieldStatistics, context)
|
|
3877
3902
|
: undefined,
|
|
3903
|
+
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
3878
3904
|
GeolocationFormat: (0, smithy_client_1.expectString)(output.GeolocationFormat),
|
|
3879
3905
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3880
3906
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
@@ -3919,6 +3945,7 @@ const deserializeAws_json1_1DescribeExplainabilityExportResponse = (output, cont
|
|
|
3919
3945
|
ExplainabilityArn: (0, smithy_client_1.expectString)(output.ExplainabilityArn),
|
|
3920
3946
|
ExplainabilityExportArn: (0, smithy_client_1.expectString)(output.ExplainabilityExportArn),
|
|
3921
3947
|
ExplainabilityExportName: (0, smithy_client_1.expectString)(output.ExplainabilityExportName),
|
|
3948
|
+
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
3922
3949
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3923
3950
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
3924
3951
|
: undefined,
|
|
@@ -3965,6 +3992,7 @@ const deserializeAws_json1_1DescribeForecastExportJobResponse = (output, context
|
|
|
3965
3992
|
ForecastArn: (0, smithy_client_1.expectString)(output.ForecastArn),
|
|
3966
3993
|
ForecastExportJobArn: (0, smithy_client_1.expectString)(output.ForecastExportJobArn),
|
|
3967
3994
|
ForecastExportJobName: (0, smithy_client_1.expectString)(output.ForecastExportJobName),
|
|
3995
|
+
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
3968
3996
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3969
3997
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
3970
3998
|
: undefined,
|
|
@@ -3990,6 +4018,9 @@ const deserializeAws_json1_1DescribeForecastResponse = (output, context) => {
|
|
|
3990
4018
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3991
4019
|
PredictorArn: (0, smithy_client_1.expectString)(output.PredictorArn),
|
|
3992
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,
|
|
3993
4024
|
};
|
|
3994
4025
|
};
|
|
3995
4026
|
const deserializeAws_json1_1DescribeMonitorResponse = (output, context) => {
|
|
@@ -4023,6 +4054,7 @@ const deserializeAws_json1_1DescribePredictorBacktestExportJobResponse = (output
|
|
|
4023
4054
|
Destination: output.Destination !== undefined && output.Destination !== null
|
|
4024
4055
|
? deserializeAws_json1_1DataDestination(output.Destination, context)
|
|
4025
4056
|
: undefined,
|
|
4057
|
+
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
4026
4058
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4027
4059
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
4028
4060
|
: undefined,
|
|
@@ -4870,6 +4902,24 @@ const deserializeAws_json1_1TimeAlignmentBoundary = (output, context) => {
|
|
|
4870
4902
|
Month: (0, smithy_client_1.expectString)(output.Month),
|
|
4871
4903
|
};
|
|
4872
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
|
+
};
|
|
4873
4923
|
const deserializeAws_json1_1TrainingParameters = (output, context) => {
|
|
4874
4924
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4875
4925
|
if (value === null) {
|
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var ForecastClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -233,6 +233,14 @@ export var CreateExplainabilityExportResponse;
|
|
|
233
233
|
(function (CreateExplainabilityExportResponse) {
|
|
234
234
|
CreateExplainabilityExportResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
235
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 = {}));
|
|
236
244
|
export var CreateForecastRequest;
|
|
237
245
|
(function (CreateForecastRequest) {
|
|
238
246
|
CreateForecastRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: obj.Tags.map(function (item) { return Tag.filterSensitiveLog(item); }) }))); };
|
|
@@ -3669,9 +3669,9 @@ var serializeAws_json1_1CreateDatasetGroupRequest = function (input, context) {
|
|
|
3669
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) }));
|
|
3670
3670
|
};
|
|
3671
3671
|
var serializeAws_json1_1CreateDatasetImportJobRequest = function (input, context) {
|
|
3672
|
-
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 &&
|
|
3673
3673
|
input.DataSource !== null && { DataSource: serializeAws_json1_1DataSource(input.DataSource, context) })), (input.DatasetArn !== undefined && input.DatasetArn !== null && { DatasetArn: input.DatasetArn })), (input.DatasetImportJobName !== undefined &&
|
|
3674
|
-
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 &&
|
|
3675
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 &&
|
|
3676
3676
|
input.TimestampFormat !== null && { TimestampFormat: input.TimestampFormat })), (input.UseGeolocationForTimeZone !== undefined &&
|
|
3677
3677
|
input.UseGeolocationForTimeZone !== null && { UseGeolocationForTimeZone: input.UseGeolocationForTimeZone }));
|
|
@@ -3684,10 +3684,10 @@ var serializeAws_json1_1CreateDatasetRequest = function (input, context) {
|
|
|
3684
3684
|
input.Schema !== null && { Schema: serializeAws_json1_1Schema(input.Schema, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3685
3685
|
};
|
|
3686
3686
|
var serializeAws_json1_1CreateExplainabilityExportRequest = function (input, context) {
|
|
3687
|
-
return __assign(__assign(__assign(__assign({}, (input.Destination !== undefined &&
|
|
3687
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Destination !== undefined &&
|
|
3688
3688
|
input.Destination !== null && { Destination: serializeAws_json1_1DataDestination(input.Destination, context) })), (input.ExplainabilityArn !== undefined &&
|
|
3689
3689
|
input.ExplainabilityArn !== null && { ExplainabilityArn: input.ExplainabilityArn })), (input.ExplainabilityExportName !== undefined &&
|
|
3690
|
-
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) }));
|
|
3691
3691
|
};
|
|
3692
3692
|
var serializeAws_json1_1CreateExplainabilityRequest = function (input, context) {
|
|
3693
3693
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataSource !== undefined &&
|
|
@@ -3700,22 +3700,25 @@ var serializeAws_json1_1CreateExplainabilityRequest = function (input, context)
|
|
|
3700
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) }));
|
|
3701
3701
|
};
|
|
3702
3702
|
var serializeAws_json1_1CreateForecastExportJobRequest = function (input, context) {
|
|
3703
|
-
return __assign(__assign(__assign(__assign({}, (input.Destination !== undefined &&
|
|
3703
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Destination !== undefined &&
|
|
3704
3704
|
input.Destination !== null && { Destination: serializeAws_json1_1DataDestination(input.Destination, context) })), (input.ForecastArn !== undefined && input.ForecastArn !== null && { ForecastArn: input.ForecastArn })), (input.ForecastExportJobName !== undefined &&
|
|
3705
|
-
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) }));
|
|
3706
3706
|
};
|
|
3707
3707
|
var serializeAws_json1_1CreateForecastRequest = function (input, context) {
|
|
3708
|
-
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 &&
|
|
3709
3709
|
input.ForecastTypes !== null && {
|
|
3710
3710
|
ForecastTypes: serializeAws_json1_1ForecastTypes(input.ForecastTypes, context),
|
|
3711
|
-
})), (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
|
+
}));
|
|
3712
3715
|
};
|
|
3713
3716
|
var serializeAws_json1_1CreateMonitorRequest = function (input, context) {
|
|
3714
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) }));
|
|
3715
3718
|
};
|
|
3716
3719
|
var serializeAws_json1_1CreatePredictorBacktestExportJobRequest = function (input, context) {
|
|
3717
|
-
return __assign(__assign(__assign(__assign({}, (input.Destination !== undefined &&
|
|
3718
|
-
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 &&
|
|
3719
3722
|
input.PredictorBacktestExportJobName !== null && {
|
|
3720
3723
|
PredictorBacktestExportJobName: input.PredictorBacktestExportJobName,
|
|
3721
3724
|
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
@@ -4103,6 +4106,17 @@ var serializeAws_json1_1Tags = function (input, context) {
|
|
|
4103
4106
|
var serializeAws_json1_1TimeAlignmentBoundary = function (input, context) {
|
|
4104
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 }));
|
|
4105
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
|
+
};
|
|
4106
4120
|
var serializeAws_json1_1TrainingParameters = function (input, context) {
|
|
4107
4121
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
4108
4122
|
var _b;
|
|
@@ -4497,6 +4511,7 @@ var deserializeAws_json1_1DescribeDatasetImportJobResponse = function (output, c
|
|
|
4497
4511
|
FieldStatistics: output.FieldStatistics !== undefined && output.FieldStatistics !== null
|
|
4498
4512
|
? deserializeAws_json1_1FieldStatistics(output.FieldStatistics, context)
|
|
4499
4513
|
: undefined,
|
|
4514
|
+
Format: __expectString(output.Format),
|
|
4500
4515
|
GeolocationFormat: __expectString(output.GeolocationFormat),
|
|
4501
4516
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4502
4517
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
@@ -4541,6 +4556,7 @@ var deserializeAws_json1_1DescribeExplainabilityExportResponse = function (outpu
|
|
|
4541
4556
|
ExplainabilityArn: __expectString(output.ExplainabilityArn),
|
|
4542
4557
|
ExplainabilityExportArn: __expectString(output.ExplainabilityExportArn),
|
|
4543
4558
|
ExplainabilityExportName: __expectString(output.ExplainabilityExportName),
|
|
4559
|
+
Format: __expectString(output.Format),
|
|
4544
4560
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4545
4561
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4546
4562
|
: undefined,
|
|
@@ -4587,6 +4603,7 @@ var deserializeAws_json1_1DescribeForecastExportJobResponse = function (output,
|
|
|
4587
4603
|
ForecastArn: __expectString(output.ForecastArn),
|
|
4588
4604
|
ForecastExportJobArn: __expectString(output.ForecastExportJobArn),
|
|
4589
4605
|
ForecastExportJobName: __expectString(output.ForecastExportJobName),
|
|
4606
|
+
Format: __expectString(output.Format),
|
|
4590
4607
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4591
4608
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4592
4609
|
: undefined,
|
|
@@ -4612,6 +4629,9 @@ var deserializeAws_json1_1DescribeForecastResponse = function (output, context)
|
|
|
4612
4629
|
Message: __expectString(output.Message),
|
|
4613
4630
|
PredictorArn: __expectString(output.PredictorArn),
|
|
4614
4631
|
Status: __expectString(output.Status),
|
|
4632
|
+
TimeSeriesSelector: output.TimeSeriesSelector !== undefined && output.TimeSeriesSelector !== null
|
|
4633
|
+
? deserializeAws_json1_1TimeSeriesSelector(output.TimeSeriesSelector, context)
|
|
4634
|
+
: undefined,
|
|
4615
4635
|
};
|
|
4616
4636
|
};
|
|
4617
4637
|
var deserializeAws_json1_1DescribeMonitorResponse = function (output, context) {
|
|
@@ -4645,6 +4665,7 @@ var deserializeAws_json1_1DescribePredictorBacktestExportJobResponse = function
|
|
|
4645
4665
|
Destination: output.Destination !== undefined && output.Destination !== null
|
|
4646
4666
|
? deserializeAws_json1_1DataDestination(output.Destination, context)
|
|
4647
4667
|
: undefined,
|
|
4668
|
+
Format: __expectString(output.Format),
|
|
4648
4669
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4649
4670
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4650
4671
|
: undefined,
|
|
@@ -5490,6 +5511,24 @@ var deserializeAws_json1_1TimeAlignmentBoundary = function (output, context) {
|
|
|
5490
5511
|
Month: __expectString(output.Month),
|
|
5491
5512
|
};
|
|
5492
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
|
+
};
|
|
5493
5532
|
var deserializeAws_json1_1TrainingParameters = function (output, context) {
|
|
5494
5533
|
return Object.entries(output).reduce(function (acc, _a) {
|
|
5495
5534
|
var _b;
|
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>
|
|
@@ -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>
|
|
@@ -241,9 +241,7 @@ export interface AdditionalDataset {
|
|
|
241
241
|
* </li>
|
|
242
242
|
* </ul>
|
|
243
243
|
*/
|
|
244
|
-
Configuration?:
|
|
245
|
-
[key: string]: string[];
|
|
246
|
-
};
|
|
244
|
+
Configuration?: Record<string, string[]>;
|
|
247
245
|
}
|
|
248
246
|
export declare namespace AdditionalDataset {
|
|
249
247
|
/**
|
|
@@ -341,9 +339,7 @@ export interface AttributeConfig {
|
|
|
341
339
|
* parameter. For example, to set backfilling to a value of 2, include the following:
|
|
342
340
|
* <code>"backfill": "value"</code> and <code>"backfill_value":"2"</code>. </p>
|
|
343
341
|
*/
|
|
344
|
-
Transformations:
|
|
345
|
-
[key: string]: string;
|
|
346
|
-
} | undefined;
|
|
342
|
+
Transformations: Record<string, string> | undefined;
|
|
347
343
|
}
|
|
348
344
|
export declare namespace AttributeConfig {
|
|
349
345
|
/**
|
|
@@ -1121,6 +1117,10 @@ export interface CreateDatasetImportJobRequest {
|
|
|
1121
1117
|
* </ul>
|
|
1122
1118
|
*/
|
|
1123
1119
|
Tags?: Tag[];
|
|
1120
|
+
/**
|
|
1121
|
+
* <p>The format of the imported data, CSV or PARQUET. The default value is CSV.</p>
|
|
1122
|
+
*/
|
|
1123
|
+
Format?: string;
|
|
1124
1124
|
}
|
|
1125
1125
|
export declare namespace CreateDatasetImportJobRequest {
|
|
1126
1126
|
/**
|
|
@@ -1164,7 +1164,7 @@ export interface ExplainabilityConfig {
|
|
|
1164
1164
|
* <p>To create an Explainability for all time series in your datasets, use
|
|
1165
1165
|
* <code>ALL</code>. To create an Explainability for specific time series in your datasets,
|
|
1166
1166
|
* use <code>SPECIFIC</code>.</p>
|
|
1167
|
-
* <p>Specify time series by uploading a CSV file to an Amazon S3 bucket and set the location
|
|
1167
|
+
* <p>Specify time series by uploading a CSV or Parquet file to an Amazon S3 bucket and set the location
|
|
1168
1168
|
* within the <a>DataDestination</a> data type.</p>
|
|
1169
1169
|
*/
|
|
1170
1170
|
TimeSeriesGranularity: TimeSeriesGranularity | string | undefined;
|
|
@@ -1345,6 +1345,10 @@ export interface CreateExplainabilityExportRequest {
|
|
|
1345
1345
|
* </ul>
|
|
1346
1346
|
*/
|
|
1347
1347
|
Tags?: Tag[];
|
|
1348
|
+
/**
|
|
1349
|
+
* <p>The format of the exported data, CSV or PARQUET.</p>
|
|
1350
|
+
*/
|
|
1351
|
+
Format?: string;
|
|
1348
1352
|
}
|
|
1349
1353
|
export declare namespace CreateExplainabilityExportRequest {
|
|
1350
1354
|
/**
|
|
@@ -1364,6 +1368,63 @@ export declare namespace CreateExplainabilityExportResponse {
|
|
|
1364
1368
|
*/
|
|
1365
1369
|
const filterSensitiveLog: (obj: CreateExplainabilityExportResponse) => any;
|
|
1366
1370
|
}
|
|
1371
|
+
/**
|
|
1372
|
+
* <p>Details about the import file that contains the time series for which you want to create forecasts.</p>
|
|
1373
|
+
*/
|
|
1374
|
+
export interface TimeSeriesIdentifiers {
|
|
1375
|
+
/**
|
|
1376
|
+
* <p>The source of your data, an AWS Identity and Access Management (IAM) role that allows Amazon Forecast to
|
|
1377
|
+
* access the data and, optionally, an AWS Key Management Service (KMS) key.</p>
|
|
1378
|
+
*/
|
|
1379
|
+
DataSource?: DataSource;
|
|
1380
|
+
/**
|
|
1381
|
+
* <p>Defines the fields of a dataset.</p>
|
|
1382
|
+
*/
|
|
1383
|
+
Schema?: Schema;
|
|
1384
|
+
/**
|
|
1385
|
+
* <p>The format of the data, either CSV or PARQUET.</p>
|
|
1386
|
+
*/
|
|
1387
|
+
Format?: string;
|
|
1388
|
+
}
|
|
1389
|
+
export declare namespace TimeSeriesIdentifiers {
|
|
1390
|
+
/**
|
|
1391
|
+
* @internal
|
|
1392
|
+
*/
|
|
1393
|
+
const filterSensitiveLog: (obj: TimeSeriesIdentifiers) => any;
|
|
1394
|
+
}
|
|
1395
|
+
/**
|
|
1396
|
+
* <p>Defines the set of time series that are used to create the forecasts in a <code>TimeSeriesIdentifiers</code> object.</p>
|
|
1397
|
+
* <p>The <code>TimeSeriesIdentifiers</code> object needs the following information:</p>
|
|
1398
|
+
* <ul>
|
|
1399
|
+
* <li>
|
|
1400
|
+
* <p>
|
|
1401
|
+
* <code>DataSource</code>
|
|
1402
|
+
* </p>
|
|
1403
|
+
* </li>
|
|
1404
|
+
* <li>
|
|
1405
|
+
* <p>
|
|
1406
|
+
* <code>Format</code>
|
|
1407
|
+
* </p>
|
|
1408
|
+
* </li>
|
|
1409
|
+
* <li>
|
|
1410
|
+
* <p>
|
|
1411
|
+
* <code>Schema</code>
|
|
1412
|
+
* </p>
|
|
1413
|
+
* </li>
|
|
1414
|
+
* </ul>
|
|
1415
|
+
*/
|
|
1416
|
+
export interface TimeSeriesSelector {
|
|
1417
|
+
/**
|
|
1418
|
+
* <p>Details about the import file that contains the time series for which you want to create forecasts.</p>
|
|
1419
|
+
*/
|
|
1420
|
+
TimeSeriesIdentifiers?: TimeSeriesIdentifiers;
|
|
1421
|
+
}
|
|
1422
|
+
export declare namespace TimeSeriesSelector {
|
|
1423
|
+
/**
|
|
1424
|
+
* @internal
|
|
1425
|
+
*/
|
|
1426
|
+
const filterSensitiveLog: (obj: TimeSeriesSelector) => any;
|
|
1427
|
+
}
|
|
1367
1428
|
export interface CreateForecastRequest {
|
|
1368
1429
|
/**
|
|
1369
1430
|
* <p>A name for the forecast.</p>
|
|
@@ -1423,6 +1484,28 @@ export interface CreateForecastRequest {
|
|
|
1423
1484
|
* </ul>
|
|
1424
1485
|
*/
|
|
1425
1486
|
Tags?: Tag[];
|
|
1487
|
+
/**
|
|
1488
|
+
* <p>Defines the set of time series that are used to create the forecasts in a <code>TimeSeriesIdentifiers</code> object.</p>
|
|
1489
|
+
* <p>The <code>TimeSeriesIdentifiers</code> object needs the following information:</p>
|
|
1490
|
+
* <ul>
|
|
1491
|
+
* <li>
|
|
1492
|
+
* <p>
|
|
1493
|
+
* <code>DataSource</code>
|
|
1494
|
+
* </p>
|
|
1495
|
+
* </li>
|
|
1496
|
+
* <li>
|
|
1497
|
+
* <p>
|
|
1498
|
+
* <code>Format</code>
|
|
1499
|
+
* </p>
|
|
1500
|
+
* </li>
|
|
1501
|
+
* <li>
|
|
1502
|
+
* <p>
|
|
1503
|
+
* <code>Schema</code>
|
|
1504
|
+
* </p>
|
|
1505
|
+
* </li>
|
|
1506
|
+
* </ul>
|
|
1507
|
+
*/
|
|
1508
|
+
TimeSeriesSelector?: TimeSeriesSelector;
|
|
1426
1509
|
}
|
|
1427
1510
|
export declare namespace CreateForecastRequest {
|
|
1428
1511
|
/**
|
|
@@ -1498,6 +1581,10 @@ export interface CreateForecastExportJobRequest {
|
|
|
1498
1581
|
* </ul>
|
|
1499
1582
|
*/
|
|
1500
1583
|
Tags?: Tag[];
|
|
1584
|
+
/**
|
|
1585
|
+
* <p>The format of the exported data, CSV or PARQUET. The default value is CSV.</p>
|
|
1586
|
+
*/
|
|
1587
|
+
Format?: string;
|
|
1501
1588
|
}
|
|
1502
1589
|
export declare namespace CreateForecastExportJobRequest {
|
|
1503
1590
|
/**
|
|
@@ -1670,9 +1757,7 @@ export interface FeaturizationMethod {
|
|
|
1670
1757
|
* backfilling to a value of 2, include the following: <code>"backfill": "value"</code> and
|
|
1671
1758
|
* <code>"backfill_value":"2"</code>. </p>
|
|
1672
1759
|
*/
|
|
1673
|
-
FeaturizationMethodParameters?:
|
|
1674
|
-
[key: string]: string;
|
|
1675
|
-
};
|
|
1760
|
+
FeaturizationMethodParameters?: Record<string, string>;
|
|
1676
1761
|
}
|
|
1677
1762
|
export declare namespace FeaturizationMethod {
|
|
1678
1763
|
/**
|
|
@@ -2359,9 +2444,7 @@ export interface CreatePredictorRequest {
|
|
|
2359
2444
|
* override are listed in the individual algorithms. For the list of supported algorithms, see
|
|
2360
2445
|
* <a>aws-forecast-choosing-recipes</a>.</p>
|
|
2361
2446
|
*/
|
|
2362
|
-
TrainingParameters?:
|
|
2363
|
-
[key: string]: string;
|
|
2364
|
-
};
|
|
2447
|
+
TrainingParameters?: Record<string, string>;
|
|
2365
2448
|
/**
|
|
2366
2449
|
* <p>Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast
|
|
2367
2450
|
* evaluates a predictor by splitting a dataset into training data and testing data. The
|
|
@@ -2499,6 +2582,10 @@ export interface CreatePredictorBacktestExportJobRequest {
|
|
|
2499
2582
|
* </ul>
|
|
2500
2583
|
*/
|
|
2501
2584
|
Tags?: Tag[];
|
|
2585
|
+
/**
|
|
2586
|
+
* <p>The format of the exported data, CSV or PARQUET. The default value is CSV.</p>
|
|
2587
|
+
*/
|
|
2588
|
+
Format?: string;
|
|
2502
2589
|
}
|
|
2503
2590
|
export declare namespace CreatePredictorBacktestExportJobRequest {
|
|
2504
2591
|
/**
|
|
@@ -3243,9 +3330,7 @@ export interface DescribeDatasetImportJobResponse {
|
|
|
3243
3330
|
/**
|
|
3244
3331
|
* <p>Statistical information about each field in the input data.</p>
|
|
3245
3332
|
*/
|
|
3246
|
-
FieldStatistics?:
|
|
3247
|
-
[key: string]: Statistics;
|
|
3248
|
-
};
|
|
3333
|
+
FieldStatistics?: Record<string, Statistics>;
|
|
3249
3334
|
/**
|
|
3250
3335
|
* <p>The size of the dataset in gigabytes (GB) after the import job has finished.</p>
|
|
3251
3336
|
*/
|
|
@@ -3314,6 +3399,10 @@ export interface DescribeDatasetImportJobResponse {
|
|
|
3314
3399
|
* </ul>
|
|
3315
3400
|
*/
|
|
3316
3401
|
LastModificationTime?: Date;
|
|
3402
|
+
/**
|
|
3403
|
+
* <p>The format of the imported data, CSV or PARQUET.</p>
|
|
3404
|
+
*/
|
|
3405
|
+
Format?: string;
|
|
3317
3406
|
}
|
|
3318
3407
|
export declare namespace DescribeDatasetImportJobResponse {
|
|
3319
3408
|
/**
|
|
@@ -3473,7 +3562,7 @@ export interface DescribeExplainabilityExportResponse {
|
|
|
3473
3562
|
*/
|
|
3474
3563
|
ExplainabilityExportName?: string;
|
|
3475
3564
|
/**
|
|
3476
|
-
* <p>The Amazon Resource Name (ARN) of the Explainability.</p>
|
|
3565
|
+
* <p>The Amazon Resource Name (ARN) of the Explainability export.</p>
|
|
3477
3566
|
*/
|
|
3478
3567
|
ExplainabilityArn?: string;
|
|
3479
3568
|
/**
|
|
@@ -3545,6 +3634,10 @@ export interface DescribeExplainabilityExportResponse {
|
|
|
3545
3634
|
* </ul>
|
|
3546
3635
|
*/
|
|
3547
3636
|
LastModificationTime?: Date;
|
|
3637
|
+
/**
|
|
3638
|
+
* <p>The format of the exported data, CSV or PARQUET.</p>
|
|
3639
|
+
*/
|
|
3640
|
+
Format?: string;
|
|
3548
3641
|
}
|
|
3549
3642
|
export declare namespace DescribeExplainabilityExportResponse {
|
|
3550
3643
|
/**
|
|
@@ -3656,6 +3749,10 @@ export interface DescribeForecastResponse {
|
|
|
3656
3749
|
* </ul>
|
|
3657
3750
|
*/
|
|
3658
3751
|
LastModificationTime?: Date;
|
|
3752
|
+
/**
|
|
3753
|
+
* <p>The time series to include in the forecast.</p>
|
|
3754
|
+
*/
|
|
3755
|
+
TimeSeriesSelector?: TimeSeriesSelector;
|
|
3659
3756
|
}
|
|
3660
3757
|
export declare namespace DescribeForecastResponse {
|
|
3661
3758
|
/**
|
|
@@ -3759,6 +3856,10 @@ export interface DescribeForecastExportJobResponse {
|
|
|
3759
3856
|
* </ul>
|
|
3760
3857
|
*/
|
|
3761
3858
|
LastModificationTime?: Date;
|
|
3859
|
+
/**
|
|
3860
|
+
* <p>The format of the exported data, CSV or PARQUET.</p>
|
|
3861
|
+
*/
|
|
3862
|
+
Format?: string;
|
|
3762
3863
|
}
|
|
3763
3864
|
export declare namespace DescribeForecastExportJobResponse {
|
|
3764
3865
|
/**
|
|
@@ -4030,9 +4131,7 @@ export interface DescribePredictorResponse {
|
|
|
4030
4131
|
* AutoML or choosing HPO with CNN-QR or DeepAR+, the optimized values for the chosen
|
|
4031
4132
|
* hyperparameters are returned. For more information, see <a>aws-forecast-choosing-recipes</a>.</p>
|
|
4032
4133
|
*/
|
|
4033
|
-
TrainingParameters?:
|
|
4034
|
-
[key: string]: string;
|
|
4035
|
-
};
|
|
4134
|
+
TrainingParameters?: Record<string, string>;
|
|
4036
4135
|
/**
|
|
4037
4136
|
* <p>Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast
|
|
4038
4137
|
* evaluates a predictor by splitting a dataset into training data and testing data. The
|
|
@@ -4247,6 +4346,10 @@ export interface DescribePredictorBacktestExportJobResponse {
|
|
|
4247
4346
|
* </ul>
|
|
4248
4347
|
*/
|
|
4249
4348
|
LastModificationTime?: Date;
|
|
4349
|
+
/**
|
|
4350
|
+
* <p>The format of the exported data, CSV or PARQUET.</p>
|
|
4351
|
+
*/
|
|
4352
|
+
Format?: string;
|
|
4250
4353
|
}
|
|
4251
4354
|
export declare namespace DescribePredictorBacktestExportJobResponse {
|
|
4252
4355
|
/**
|
|
@@ -5,9 +5,7 @@ export interface AdditionalDataset {
|
|
|
5
5
|
|
|
6
6
|
Name: string | undefined;
|
|
7
7
|
|
|
8
|
-
Configuration?:
|
|
9
|
-
[key: string]: string[];
|
|
10
|
-
};
|
|
8
|
+
Configuration?: Record<string, string[]>;
|
|
11
9
|
}
|
|
12
10
|
export declare namespace AdditionalDataset {
|
|
13
11
|
|
|
@@ -18,9 +16,7 @@ export interface AttributeConfig {
|
|
|
18
16
|
|
|
19
17
|
AttributeName: string | undefined;
|
|
20
18
|
|
|
21
|
-
Transformations:
|
|
22
|
-
[key: string]: string;
|
|
23
|
-
} | undefined;
|
|
19
|
+
Transformations: Record<string, string> | undefined;
|
|
24
20
|
}
|
|
25
21
|
export declare namespace AttributeConfig {
|
|
26
22
|
|
|
@@ -325,6 +321,8 @@ export interface CreateDatasetImportJobRequest {
|
|
|
325
321
|
GeolocationFormat?: string;
|
|
326
322
|
|
|
327
323
|
Tags?: Tag[];
|
|
324
|
+
|
|
325
|
+
Format?: string;
|
|
328
326
|
}
|
|
329
327
|
export declare namespace CreateDatasetImportJobRequest {
|
|
330
328
|
|
|
@@ -407,6 +405,8 @@ export interface CreateExplainabilityExportRequest {
|
|
|
407
405
|
Destination: DataDestination | undefined;
|
|
408
406
|
|
|
409
407
|
Tags?: Tag[];
|
|
408
|
+
|
|
409
|
+
Format?: string;
|
|
410
410
|
}
|
|
411
411
|
export declare namespace CreateExplainabilityExportRequest {
|
|
412
412
|
|
|
@@ -420,6 +420,28 @@ export declare namespace CreateExplainabilityExportResponse {
|
|
|
420
420
|
|
|
421
421
|
const filterSensitiveLog: (obj: CreateExplainabilityExportResponse) => any;
|
|
422
422
|
}
|
|
423
|
+
|
|
424
|
+
export interface TimeSeriesIdentifiers {
|
|
425
|
+
|
|
426
|
+
DataSource?: DataSource;
|
|
427
|
+
|
|
428
|
+
Schema?: Schema;
|
|
429
|
+
|
|
430
|
+
Format?: string;
|
|
431
|
+
}
|
|
432
|
+
export declare namespace TimeSeriesIdentifiers {
|
|
433
|
+
|
|
434
|
+
const filterSensitiveLog: (obj: TimeSeriesIdentifiers) => any;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export interface TimeSeriesSelector {
|
|
438
|
+
|
|
439
|
+
TimeSeriesIdentifiers?: TimeSeriesIdentifiers;
|
|
440
|
+
}
|
|
441
|
+
export declare namespace TimeSeriesSelector {
|
|
442
|
+
|
|
443
|
+
const filterSensitiveLog: (obj: TimeSeriesSelector) => any;
|
|
444
|
+
}
|
|
423
445
|
export interface CreateForecastRequest {
|
|
424
446
|
|
|
425
447
|
ForecastName: string | undefined;
|
|
@@ -429,6 +451,8 @@ export interface CreateForecastRequest {
|
|
|
429
451
|
ForecastTypes?: string[];
|
|
430
452
|
|
|
431
453
|
Tags?: Tag[];
|
|
454
|
+
|
|
455
|
+
TimeSeriesSelector?: TimeSeriesSelector;
|
|
432
456
|
}
|
|
433
457
|
export declare namespace CreateForecastRequest {
|
|
434
458
|
|
|
@@ -451,6 +475,8 @@ export interface CreateForecastExportJobRequest {
|
|
|
451
475
|
Destination: DataDestination | undefined;
|
|
452
476
|
|
|
453
477
|
Tags?: Tag[];
|
|
478
|
+
|
|
479
|
+
Format?: string;
|
|
454
480
|
}
|
|
455
481
|
export declare namespace CreateForecastExportJobRequest {
|
|
456
482
|
|
|
@@ -507,9 +533,7 @@ export interface FeaturizationMethod {
|
|
|
507
533
|
|
|
508
534
|
FeaturizationMethodName: FeaturizationMethodName | string | undefined;
|
|
509
535
|
|
|
510
|
-
FeaturizationMethodParameters?:
|
|
511
|
-
[key: string]: string;
|
|
512
|
-
};
|
|
536
|
+
FeaturizationMethodParameters?: Record<string, string>;
|
|
513
537
|
}
|
|
514
538
|
export declare namespace FeaturizationMethod {
|
|
515
539
|
|
|
@@ -646,9 +670,7 @@ export interface CreatePredictorRequest {
|
|
|
646
670
|
|
|
647
671
|
PerformHPO?: boolean;
|
|
648
672
|
|
|
649
|
-
TrainingParameters?:
|
|
650
|
-
[key: string]: string;
|
|
651
|
-
};
|
|
673
|
+
TrainingParameters?: Record<string, string>;
|
|
652
674
|
|
|
653
675
|
EvaluationParameters?: EvaluationParameters;
|
|
654
676
|
|
|
@@ -685,6 +707,8 @@ export interface CreatePredictorBacktestExportJobRequest {
|
|
|
685
707
|
Destination: DataDestination | undefined;
|
|
686
708
|
|
|
687
709
|
Tags?: Tag[];
|
|
710
|
+
|
|
711
|
+
Format?: string;
|
|
688
712
|
}
|
|
689
713
|
export declare namespace CreatePredictorBacktestExportJobRequest {
|
|
690
714
|
|
|
@@ -996,9 +1020,7 @@ export interface DescribeDatasetImportJobResponse {
|
|
|
996
1020
|
|
|
997
1021
|
EstimatedTimeRemainingInMinutes?: number;
|
|
998
1022
|
|
|
999
|
-
FieldStatistics?:
|
|
1000
|
-
[key: string]: Statistics;
|
|
1001
|
-
};
|
|
1023
|
+
FieldStatistics?: Record<string, Statistics>;
|
|
1002
1024
|
|
|
1003
1025
|
DataSize?: number;
|
|
1004
1026
|
|
|
@@ -1009,6 +1031,8 @@ export interface DescribeDatasetImportJobResponse {
|
|
|
1009
1031
|
CreationTime?: Date;
|
|
1010
1032
|
|
|
1011
1033
|
LastModificationTime?: Date;
|
|
1034
|
+
|
|
1035
|
+
Format?: string;
|
|
1012
1036
|
}
|
|
1013
1037
|
export declare namespace DescribeDatasetImportJobResponse {
|
|
1014
1038
|
|
|
@@ -1081,6 +1105,8 @@ export interface DescribeExplainabilityExportResponse {
|
|
|
1081
1105
|
CreationTime?: Date;
|
|
1082
1106
|
|
|
1083
1107
|
LastModificationTime?: Date;
|
|
1108
|
+
|
|
1109
|
+
Format?: string;
|
|
1084
1110
|
}
|
|
1085
1111
|
export declare namespace DescribeExplainabilityExportResponse {
|
|
1086
1112
|
|
|
@@ -1115,6 +1141,8 @@ export interface DescribeForecastResponse {
|
|
|
1115
1141
|
CreationTime?: Date;
|
|
1116
1142
|
|
|
1117
1143
|
LastModificationTime?: Date;
|
|
1144
|
+
|
|
1145
|
+
TimeSeriesSelector?: TimeSeriesSelector;
|
|
1118
1146
|
}
|
|
1119
1147
|
export declare namespace DescribeForecastResponse {
|
|
1120
1148
|
|
|
@@ -1145,6 +1173,8 @@ export interface DescribeForecastExportJobResponse {
|
|
|
1145
1173
|
CreationTime?: Date;
|
|
1146
1174
|
|
|
1147
1175
|
LastModificationTime?: Date;
|
|
1176
|
+
|
|
1177
|
+
Format?: string;
|
|
1148
1178
|
}
|
|
1149
1179
|
export declare namespace DescribeForecastExportJobResponse {
|
|
1150
1180
|
|
|
@@ -1278,9 +1308,7 @@ export interface DescribePredictorResponse {
|
|
|
1278
1308
|
|
|
1279
1309
|
PerformHPO?: boolean;
|
|
1280
1310
|
|
|
1281
|
-
TrainingParameters?:
|
|
1282
|
-
[key: string]: string;
|
|
1283
|
-
};
|
|
1311
|
+
TrainingParameters?: Record<string, string>;
|
|
1284
1312
|
|
|
1285
1313
|
EvaluationParameters?: EvaluationParameters;
|
|
1286
1314
|
|
|
@@ -1339,6 +1367,8 @@ export interface DescribePredictorBacktestExportJobResponse {
|
|
|
1339
1367
|
CreationTime?: Date;
|
|
1340
1368
|
|
|
1341
1369
|
LastModificationTime?: Date;
|
|
1370
|
+
|
|
1371
|
+
Format?: string;
|
|
1342
1372
|
}
|
|
1343
1373
|
export declare namespace DescribePredictorBacktestExportJobResponse {
|
|
1344
1374
|
|
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.109.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,36 +18,37 @@
|
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-
|
|
31
|
-
"@aws-sdk/middleware-
|
|
32
|
-
"@aws-sdk/middleware-
|
|
33
|
-
"@aws-sdk/middleware-
|
|
34
|
-
"@aws-sdk/middleware-
|
|
35
|
-
"@aws-sdk/
|
|
36
|
-
"@aws-sdk/node-
|
|
37
|
-
"@aws-sdk/
|
|
38
|
-
"@aws-sdk/
|
|
39
|
-
"@aws-sdk/
|
|
40
|
-
"@aws-sdk/
|
|
41
|
-
"@aws-sdk/
|
|
21
|
+
"@aws-sdk/client-sts": "3.109.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.109.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.109.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.109.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.109.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.109.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.109.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.109.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.109.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.109.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.109.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.109.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.109.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.109.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.109.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.109.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.109.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.109.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.109.0",
|
|
40
|
+
"@aws-sdk/types": "3.109.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.109.0",
|
|
42
|
+
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
42
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
45
|
"@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.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.109.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.109.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.109.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.109.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
51
52
|
"tslib": "^2.3.1"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|