@aws-sdk/client-forecast 3.100.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 CHANGED
@@ -3,6 +3,17 @@
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
+
6
17
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
18
 
8
19
 
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FeaturizationConfig = exports.Featurization = exports.FeaturizationMethod = exports.FeaturizationMethodName = exports.EvaluationParameters = exports.AutoMLOverrideStrategy = exports.CreateMonitorResponse = exports.CreateMonitorRequest = exports.CreateForecastExportJobResponse = exports.CreateForecastExportJobRequest = exports.CreateForecastResponse = exports.CreateForecastRequest = 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.DescribePredictorRequest = exports.DescribeMonitorResponse = 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 = void 0;
5
- exports.ListPredictorBacktestExportJobsResponse = exports.PredictorBacktestExportJobSummary = 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 = 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 = 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) {
@@ -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;
@@ -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 CSV file, the S3 bucket, or to a folder in the S3
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 CSV file, the S3 bucket, or to a folder in the S3
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>
@@ -1121,6 +1121,10 @@ export interface CreateDatasetImportJobRequest {
1121
1121
  * </ul>
1122
1122
  */
1123
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;
1124
1128
  }
1125
1129
  export declare namespace CreateDatasetImportJobRequest {
1126
1130
  /**
@@ -1164,7 +1168,7 @@ export interface ExplainabilityConfig {
1164
1168
  * <p>To create an Explainability for all time series in your datasets, use
1165
1169
  * <code>ALL</code>. To create an Explainability for specific time series in your datasets,
1166
1170
  * use <code>SPECIFIC</code>.</p>
1167
- * <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
1168
1172
  * within the <a>DataDestination</a> data type.</p>
1169
1173
  */
1170
1174
  TimeSeriesGranularity: TimeSeriesGranularity | string | undefined;
@@ -1345,6 +1349,10 @@ export interface CreateExplainabilityExportRequest {
1345
1349
  * </ul>
1346
1350
  */
1347
1351
  Tags?: Tag[];
1352
+ /**
1353
+ * <p>The format of the exported data, CSV or PARQUET.</p>
1354
+ */
1355
+ Format?: string;
1348
1356
  }
1349
1357
  export declare namespace CreateExplainabilityExportRequest {
1350
1358
  /**
@@ -1364,6 +1372,63 @@ export declare namespace CreateExplainabilityExportResponse {
1364
1372
  */
1365
1373
  const filterSensitiveLog: (obj: CreateExplainabilityExportResponse) => any;
1366
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
+ }
1367
1432
  export interface CreateForecastRequest {
1368
1433
  /**
1369
1434
  * <p>A name for the forecast.</p>
@@ -1423,6 +1488,28 @@ export interface CreateForecastRequest {
1423
1488
  * </ul>
1424
1489
  */
1425
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;
1426
1513
  }
1427
1514
  export declare namespace CreateForecastRequest {
1428
1515
  /**
@@ -1498,6 +1585,10 @@ export interface CreateForecastExportJobRequest {
1498
1585
  * </ul>
1499
1586
  */
1500
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;
1501
1592
  }
1502
1593
  export declare namespace CreateForecastExportJobRequest {
1503
1594
  /**
@@ -2499,6 +2590,10 @@ export interface CreatePredictorBacktestExportJobRequest {
2499
2590
  * </ul>
2500
2591
  */
2501
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;
2502
2597
  }
2503
2598
  export declare namespace CreatePredictorBacktestExportJobRequest {
2504
2599
  /**
@@ -3314,6 +3409,10 @@ export interface DescribeDatasetImportJobResponse {
3314
3409
  * </ul>
3315
3410
  */
3316
3411
  LastModificationTime?: Date;
3412
+ /**
3413
+ * <p>The format of the imported data, CSV or PARQUET.</p>
3414
+ */
3415
+ Format?: string;
3317
3416
  }
3318
3417
  export declare namespace DescribeDatasetImportJobResponse {
3319
3418
  /**
@@ -3473,7 +3572,7 @@ export interface DescribeExplainabilityExportResponse {
3473
3572
  */
3474
3573
  ExplainabilityExportName?: string;
3475
3574
  /**
3476
- * <p>The Amazon Resource Name (ARN) of the Explainability.</p>
3575
+ * <p>The Amazon Resource Name (ARN) of the Explainability export.</p>
3477
3576
  */
3478
3577
  ExplainabilityArn?: string;
3479
3578
  /**
@@ -3545,6 +3644,10 @@ export interface DescribeExplainabilityExportResponse {
3545
3644
  * </ul>
3546
3645
  */
3547
3646
  LastModificationTime?: Date;
3647
+ /**
3648
+ * <p>The format of the exported data, CSV or PARQUET.</p>
3649
+ */
3650
+ Format?: string;
3548
3651
  }
3549
3652
  export declare namespace DescribeExplainabilityExportResponse {
3550
3653
  /**
@@ -3656,6 +3759,10 @@ export interface DescribeForecastResponse {
3656
3759
  * </ul>
3657
3760
  */
3658
3761
  LastModificationTime?: Date;
3762
+ /**
3763
+ * <p>The time series to include in the forecast.</p>
3764
+ */
3765
+ TimeSeriesSelector?: TimeSeriesSelector;
3659
3766
  }
3660
3767
  export declare namespace DescribeForecastResponse {
3661
3768
  /**
@@ -3759,6 +3866,10 @@ export interface DescribeForecastExportJobResponse {
3759
3866
  * </ul>
3760
3867
  */
3761
3868
  LastModificationTime?: Date;
3869
+ /**
3870
+ * <p>The format of the exported data, CSV or PARQUET.</p>
3871
+ */
3872
+ Format?: string;
3762
3873
  }
3763
3874
  export declare namespace DescribeForecastExportJobResponse {
3764
3875
  /**
@@ -4247,6 +4358,10 @@ export interface DescribePredictorBacktestExportJobResponse {
4247
4358
  * </ul>
4248
4359
  */
4249
4360
  LastModificationTime?: Date;
4361
+ /**
4362
+ * <p>The format of the exported data, CSV or PARQUET.</p>
4363
+ */
4364
+ Format?: string;
4250
4365
  }
4251
4366
  export declare namespace DescribePredictorBacktestExportJobResponse {
4252
4367
  /**
@@ -325,6 +325,8 @@ export interface CreateDatasetImportJobRequest {
325
325
  GeolocationFormat?: string;
326
326
 
327
327
  Tags?: Tag[];
328
+
329
+ Format?: string;
328
330
  }
329
331
  export declare namespace CreateDatasetImportJobRequest {
330
332
 
@@ -407,6 +409,8 @@ export interface CreateExplainabilityExportRequest {
407
409
  Destination: DataDestination | undefined;
408
410
 
409
411
  Tags?: Tag[];
412
+
413
+ Format?: string;
410
414
  }
411
415
  export declare namespace CreateExplainabilityExportRequest {
412
416
 
@@ -420,6 +424,28 @@ export declare namespace CreateExplainabilityExportResponse {
420
424
 
421
425
  const filterSensitiveLog: (obj: CreateExplainabilityExportResponse) => any;
422
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
+ }
423
449
  export interface CreateForecastRequest {
424
450
 
425
451
  ForecastName: string | undefined;
@@ -429,6 +455,8 @@ export interface CreateForecastRequest {
429
455
  ForecastTypes?: string[];
430
456
 
431
457
  Tags?: Tag[];
458
+
459
+ TimeSeriesSelector?: TimeSeriesSelector;
432
460
  }
433
461
  export declare namespace CreateForecastRequest {
434
462
 
@@ -451,6 +479,8 @@ export interface CreateForecastExportJobRequest {
451
479
  Destination: DataDestination | undefined;
452
480
 
453
481
  Tags?: Tag[];
482
+
483
+ Format?: string;
454
484
  }
455
485
  export declare namespace CreateForecastExportJobRequest {
456
486
 
@@ -685,6 +715,8 @@ export interface CreatePredictorBacktestExportJobRequest {
685
715
  Destination: DataDestination | undefined;
686
716
 
687
717
  Tags?: Tag[];
718
+
719
+ Format?: string;
688
720
  }
689
721
  export declare namespace CreatePredictorBacktestExportJobRequest {
690
722
 
@@ -1009,6 +1041,8 @@ export interface DescribeDatasetImportJobResponse {
1009
1041
  CreationTime?: Date;
1010
1042
 
1011
1043
  LastModificationTime?: Date;
1044
+
1045
+ Format?: string;
1012
1046
  }
1013
1047
  export declare namespace DescribeDatasetImportJobResponse {
1014
1048
 
@@ -1081,6 +1115,8 @@ export interface DescribeExplainabilityExportResponse {
1081
1115
  CreationTime?: Date;
1082
1116
 
1083
1117
  LastModificationTime?: Date;
1118
+
1119
+ Format?: string;
1084
1120
  }
1085
1121
  export declare namespace DescribeExplainabilityExportResponse {
1086
1122
 
@@ -1115,6 +1151,8 @@ export interface DescribeForecastResponse {
1115
1151
  CreationTime?: Date;
1116
1152
 
1117
1153
  LastModificationTime?: Date;
1154
+
1155
+ TimeSeriesSelector?: TimeSeriesSelector;
1118
1156
  }
1119
1157
  export declare namespace DescribeForecastResponse {
1120
1158
 
@@ -1145,6 +1183,8 @@ export interface DescribeForecastExportJobResponse {
1145
1183
  CreationTime?: Date;
1146
1184
 
1147
1185
  LastModificationTime?: Date;
1186
+
1187
+ Format?: string;
1148
1188
  }
1149
1189
  export declare namespace DescribeForecastExportJobResponse {
1150
1190
 
@@ -1339,6 +1379,8 @@ export interface DescribePredictorBacktestExportJobResponse {
1339
1379
  CreationTime?: Date;
1340
1380
 
1341
1381
  LastModificationTime?: Date;
1382
+
1383
+ Format?: string;
1342
1384
  }
1343
1385
  export declare namespace DescribePredictorBacktestExportJobResponse {
1344
1386
 
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.100.0",
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",