@aws-sdk/client-forecast 3.99.0 → 3.100.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 +11 -0
- package/dist-cjs/models/models_0.js +35 -4
- package/dist-cjs/protocols/Aws_json1_1.js +23 -0
- package/dist-es/models/models_0.js +29 -0
- package/dist-es/protocols/Aws_json1_1.js +19 -2
- package/dist-types/Forecast.d.ts +2 -1
- package/dist-types/commands/ListMonitorEvaluationsCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +76 -0
- package/dist-types/ts3.4/models/models_0.d.ts +44 -0
- package/package.json +3 -3
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.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-forecast:** Introduced a new field in Auto Predictor as Time Alignment Boundary. It helps in aligning the timestamps generated during Forecast exports ([4ce40b0](https://github.com/aws/aws-sdk-js-v3/commit/4ce40b0ec779ed829df6e9bfb5d269b1ec36c754))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-forecast
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateDatasetGroupResponse = exports.UpdateDatasetGroupRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopResourceRequest = exports.ResumeResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = void 0;
|
|
3
|
+
exports.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;
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const ForecastServiceException_1 = require("./ForecastServiceException");
|
|
9
9
|
var AdditionalDataset;
|
|
@@ -52,6 +52,37 @@ var Tag;
|
|
|
52
52
|
...(obj.Value && { Value: smithy_client_1.SENSITIVE_STRING }),
|
|
53
53
|
});
|
|
54
54
|
})(Tag = exports.Tag || (exports.Tag = {}));
|
|
55
|
+
var DayOfWeek;
|
|
56
|
+
(function (DayOfWeek) {
|
|
57
|
+
DayOfWeek["FRIDAY"] = "FRIDAY";
|
|
58
|
+
DayOfWeek["MONDAY"] = "MONDAY";
|
|
59
|
+
DayOfWeek["SATURDAY"] = "SATURDAY";
|
|
60
|
+
DayOfWeek["SUNDAY"] = "SUNDAY";
|
|
61
|
+
DayOfWeek["THURSDAY"] = "THURSDAY";
|
|
62
|
+
DayOfWeek["TUESDAY"] = "TUESDAY";
|
|
63
|
+
DayOfWeek["WEDNESDAY"] = "WEDNESDAY";
|
|
64
|
+
})(DayOfWeek = exports.DayOfWeek || (exports.DayOfWeek = {}));
|
|
65
|
+
var Month;
|
|
66
|
+
(function (Month) {
|
|
67
|
+
Month["APRIL"] = "APRIL";
|
|
68
|
+
Month["AUGUST"] = "AUGUST";
|
|
69
|
+
Month["DECEMBER"] = "DECEMBER";
|
|
70
|
+
Month["FEBRUARY"] = "FEBRUARY";
|
|
71
|
+
Month["JANUARY"] = "JANUARY";
|
|
72
|
+
Month["JULY"] = "JULY";
|
|
73
|
+
Month["JUNE"] = "JUNE";
|
|
74
|
+
Month["MARCH"] = "MARCH";
|
|
75
|
+
Month["MAY"] = "MAY";
|
|
76
|
+
Month["NOVEMBER"] = "NOVEMBER";
|
|
77
|
+
Month["OCTOBER"] = "OCTOBER";
|
|
78
|
+
Month["SEPTEMBER"] = "SEPTEMBER";
|
|
79
|
+
})(Month = exports.Month || (exports.Month = {}));
|
|
80
|
+
var TimeAlignmentBoundary;
|
|
81
|
+
(function (TimeAlignmentBoundary) {
|
|
82
|
+
TimeAlignmentBoundary.filterSensitiveLog = (obj) => ({
|
|
83
|
+
...obj,
|
|
84
|
+
});
|
|
85
|
+
})(TimeAlignmentBoundary = exports.TimeAlignmentBoundary || (exports.TimeAlignmentBoundary = {}));
|
|
55
86
|
var CreateAutoPredictorRequest;
|
|
56
87
|
(function (CreateAutoPredictorRequest) {
|
|
57
88
|
CreateAutoPredictorRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -2788,6 +2788,10 @@ const serializeAws_json1_1CreateAutoPredictorRequest = (input, context) => {
|
|
|
2788
2788
|
...(input.ReferencePredictorArn !== undefined &&
|
|
2789
2789
|
input.ReferencePredictorArn !== null && { ReferencePredictorArn: input.ReferencePredictorArn }),
|
|
2790
2790
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
2791
|
+
...(input.TimeAlignmentBoundary !== undefined &&
|
|
2792
|
+
input.TimeAlignmentBoundary !== null && {
|
|
2793
|
+
TimeAlignmentBoundary: serializeAws_json1_1TimeAlignmentBoundary(input.TimeAlignmentBoundary, context),
|
|
2794
|
+
}),
|
|
2791
2795
|
};
|
|
2792
2796
|
};
|
|
2793
2797
|
const serializeAws_json1_1CreateDatasetGroupRequest = (input, context) => {
|
|
@@ -3460,6 +3464,14 @@ const serializeAws_json1_1Tags = (input, context) => {
|
|
|
3460
3464
|
return serializeAws_json1_1Tag(entry, context);
|
|
3461
3465
|
});
|
|
3462
3466
|
};
|
|
3467
|
+
const serializeAws_json1_1TimeAlignmentBoundary = (input, context) => {
|
|
3468
|
+
return {
|
|
3469
|
+
...(input.DayOfMonth !== undefined && input.DayOfMonth !== null && { DayOfMonth: input.DayOfMonth }),
|
|
3470
|
+
...(input.DayOfWeek !== undefined && input.DayOfWeek !== null && { DayOfWeek: input.DayOfWeek }),
|
|
3471
|
+
...(input.Hour !== undefined && input.Hour !== null && { Hour: input.Hour }),
|
|
3472
|
+
...(input.Month !== undefined && input.Month !== null && { Month: input.Month }),
|
|
3473
|
+
};
|
|
3474
|
+
};
|
|
3463
3475
|
const serializeAws_json1_1TrainingParameters = (input, context) => {
|
|
3464
3476
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3465
3477
|
if (value === null) {
|
|
@@ -3825,6 +3837,9 @@ const deserializeAws_json1_1DescribeAutoPredictorResponse = (output, context) =>
|
|
|
3825
3837
|
? deserializeAws_json1_1ReferencePredictorSummary(output.ReferencePredictorSummary, context)
|
|
3826
3838
|
: undefined,
|
|
3827
3839
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3840
|
+
TimeAlignmentBoundary: output.TimeAlignmentBoundary !== undefined && output.TimeAlignmentBoundary !== null
|
|
3841
|
+
? deserializeAws_json1_1TimeAlignmentBoundary(output.TimeAlignmentBoundary, context)
|
|
3842
|
+
: undefined,
|
|
3828
3843
|
};
|
|
3829
3844
|
};
|
|
3830
3845
|
const deserializeAws_json1_1DescribeDatasetGroupResponse = (output, context) => {
|
|
@@ -4847,6 +4862,14 @@ const deserializeAws_json1_1TestWindowSummary = (output, context) => {
|
|
|
4847
4862
|
: undefined,
|
|
4848
4863
|
};
|
|
4849
4864
|
};
|
|
4865
|
+
const deserializeAws_json1_1TimeAlignmentBoundary = (output, context) => {
|
|
4866
|
+
return {
|
|
4867
|
+
DayOfMonth: (0, smithy_client_1.expectInt32)(output.DayOfMonth),
|
|
4868
|
+
DayOfWeek: (0, smithy_client_1.expectString)(output.DayOfWeek),
|
|
4869
|
+
Hour: (0, smithy_client_1.expectInt32)(output.Hour),
|
|
4870
|
+
Month: (0, smithy_client_1.expectString)(output.Month),
|
|
4871
|
+
};
|
|
4872
|
+
};
|
|
4850
4873
|
const deserializeAws_json1_1TrainingParameters = (output, context) => {
|
|
4851
4874
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4852
4875
|
if (value === null) {
|
|
@@ -33,6 +33,35 @@ export var Tag;
|
|
|
33
33
|
(function (Tag) {
|
|
34
34
|
Tag.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Key && { Key: SENSITIVE_STRING })), (obj.Value && { Value: SENSITIVE_STRING }))); };
|
|
35
35
|
})(Tag || (Tag = {}));
|
|
36
|
+
export var DayOfWeek;
|
|
37
|
+
(function (DayOfWeek) {
|
|
38
|
+
DayOfWeek["FRIDAY"] = "FRIDAY";
|
|
39
|
+
DayOfWeek["MONDAY"] = "MONDAY";
|
|
40
|
+
DayOfWeek["SATURDAY"] = "SATURDAY";
|
|
41
|
+
DayOfWeek["SUNDAY"] = "SUNDAY";
|
|
42
|
+
DayOfWeek["THURSDAY"] = "THURSDAY";
|
|
43
|
+
DayOfWeek["TUESDAY"] = "TUESDAY";
|
|
44
|
+
DayOfWeek["WEDNESDAY"] = "WEDNESDAY";
|
|
45
|
+
})(DayOfWeek || (DayOfWeek = {}));
|
|
46
|
+
export var Month;
|
|
47
|
+
(function (Month) {
|
|
48
|
+
Month["APRIL"] = "APRIL";
|
|
49
|
+
Month["AUGUST"] = "AUGUST";
|
|
50
|
+
Month["DECEMBER"] = "DECEMBER";
|
|
51
|
+
Month["FEBRUARY"] = "FEBRUARY";
|
|
52
|
+
Month["JANUARY"] = "JANUARY";
|
|
53
|
+
Month["JULY"] = "JULY";
|
|
54
|
+
Month["JUNE"] = "JUNE";
|
|
55
|
+
Month["MARCH"] = "MARCH";
|
|
56
|
+
Month["MAY"] = "MAY";
|
|
57
|
+
Month["NOVEMBER"] = "NOVEMBER";
|
|
58
|
+
Month["OCTOBER"] = "OCTOBER";
|
|
59
|
+
Month["SEPTEMBER"] = "SEPTEMBER";
|
|
60
|
+
})(Month || (Month = {}));
|
|
61
|
+
export var TimeAlignmentBoundary;
|
|
62
|
+
(function (TimeAlignmentBoundary) {
|
|
63
|
+
TimeAlignmentBoundary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
64
|
+
})(TimeAlignmentBoundary || (TimeAlignmentBoundary = {}));
|
|
36
65
|
export var CreateAutoPredictorRequest;
|
|
37
66
|
(function (CreateAutoPredictorRequest) {
|
|
38
67
|
CreateAutoPredictorRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: obj.Tags.map(function (item) { return Tag.filterSensitiveLog(item); }) }))); };
|
|
@@ -3640,7 +3640,7 @@ var serializeAws_json1_1ContinuousParameterRanges = function (input, context) {
|
|
|
3640
3640
|
});
|
|
3641
3641
|
};
|
|
3642
3642
|
var serializeAws_json1_1CreateAutoPredictorRequest = function (input, context) {
|
|
3643
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataConfig !== undefined &&
|
|
3643
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataConfig !== undefined &&
|
|
3644
3644
|
input.DataConfig !== null && { DataConfig: serializeAws_json1_1DataConfig(input.DataConfig, context) })), (input.EncryptionConfig !== undefined &&
|
|
3645
3645
|
input.EncryptionConfig !== null && {
|
|
3646
3646
|
EncryptionConfig: serializeAws_json1_1EncryptionConfig(input.EncryptionConfig, context),
|
|
@@ -3658,7 +3658,10 @@ var serializeAws_json1_1CreateAutoPredictorRequest = function (input, context) {
|
|
|
3658
3658
|
MonitorConfig: serializeAws_json1_1MonitorConfig(input.MonitorConfig, context),
|
|
3659
3659
|
})), (input.OptimizationMetric !== undefined &&
|
|
3660
3660
|
input.OptimizationMetric !== null && { OptimizationMetric: input.OptimizationMetric })), (input.PredictorName !== undefined && input.PredictorName !== null && { PredictorName: input.PredictorName })), (input.ReferencePredictorArn !== undefined &&
|
|
3661
|
-
input.ReferencePredictorArn !== null && { ReferencePredictorArn: input.ReferencePredictorArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }))
|
|
3661
|
+
input.ReferencePredictorArn !== null && { ReferencePredictorArn: input.ReferencePredictorArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.TimeAlignmentBoundary !== undefined &&
|
|
3662
|
+
input.TimeAlignmentBoundary !== null && {
|
|
3663
|
+
TimeAlignmentBoundary: serializeAws_json1_1TimeAlignmentBoundary(input.TimeAlignmentBoundary, context),
|
|
3664
|
+
}));
|
|
3662
3665
|
};
|
|
3663
3666
|
var serializeAws_json1_1CreateDatasetGroupRequest = function (input, context) {
|
|
3664
3667
|
return __assign(__assign(__assign(__assign({}, (input.DatasetArns !== undefined &&
|
|
@@ -4097,6 +4100,9 @@ var serializeAws_json1_1Tags = function (input, context) {
|
|
|
4097
4100
|
return serializeAws_json1_1Tag(entry, context);
|
|
4098
4101
|
});
|
|
4099
4102
|
};
|
|
4103
|
+
var serializeAws_json1_1TimeAlignmentBoundary = function (input, context) {
|
|
4104
|
+
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
|
+
};
|
|
4100
4106
|
var serializeAws_json1_1TrainingParameters = function (input, context) {
|
|
4101
4107
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
4102
4108
|
var _b;
|
|
@@ -4453,6 +4459,9 @@ var deserializeAws_json1_1DescribeAutoPredictorResponse = function (output, cont
|
|
|
4453
4459
|
? deserializeAws_json1_1ReferencePredictorSummary(output.ReferencePredictorSummary, context)
|
|
4454
4460
|
: undefined,
|
|
4455
4461
|
Status: __expectString(output.Status),
|
|
4462
|
+
TimeAlignmentBoundary: output.TimeAlignmentBoundary !== undefined && output.TimeAlignmentBoundary !== null
|
|
4463
|
+
? deserializeAws_json1_1TimeAlignmentBoundary(output.TimeAlignmentBoundary, context)
|
|
4464
|
+
: undefined,
|
|
4456
4465
|
};
|
|
4457
4466
|
};
|
|
4458
4467
|
var deserializeAws_json1_1DescribeDatasetGroupResponse = function (output, context) {
|
|
@@ -5473,6 +5482,14 @@ var deserializeAws_json1_1TestWindowSummary = function (output, context) {
|
|
|
5473
5482
|
: undefined,
|
|
5474
5483
|
};
|
|
5475
5484
|
};
|
|
5485
|
+
var deserializeAws_json1_1TimeAlignmentBoundary = function (output, context) {
|
|
5486
|
+
return {
|
|
5487
|
+
DayOfMonth: __expectInt32(output.DayOfMonth),
|
|
5488
|
+
DayOfWeek: __expectString(output.DayOfWeek),
|
|
5489
|
+
Hour: __expectInt32(output.Hour),
|
|
5490
|
+
Month: __expectString(output.Month),
|
|
5491
|
+
};
|
|
5492
|
+
};
|
|
5476
5493
|
var deserializeAws_json1_1TrainingParameters = function (output, context) {
|
|
5477
5494
|
return Object.entries(output).reduce(function (acc, _a) {
|
|
5478
5495
|
var _b;
|
package/dist-types/Forecast.d.ts
CHANGED
|
@@ -981,7 +981,8 @@ export declare class Forecast extends ForecastClient {
|
|
|
981
981
|
/**
|
|
982
982
|
* <p>Returns a list of the monitoring evaluation results and predictor events collected by
|
|
983
983
|
* the monitor resource during different windows of time.</p>
|
|
984
|
-
* <p>For information about monitoring see <a
|
|
984
|
+
* <p>For information about monitoring see <a>predictor-monitoring</a>. For
|
|
985
|
+
* more information about retrieving monitoring results see <a href="https://docs.aws.amazon.com/forecast/latest/dg/predictor-monitoring-results.html">Viewing Monitoring Results</a>.</p>
|
|
985
986
|
*/
|
|
986
987
|
listMonitorEvaluations(args: ListMonitorEvaluationsCommandInput, options?: __HttpHandlerOptions): Promise<ListMonitorEvaluationsCommandOutput>;
|
|
987
988
|
listMonitorEvaluations(args: ListMonitorEvaluationsCommandInput, cb: (err: any, data?: ListMonitorEvaluationsCommandOutput) => void): void;
|
|
@@ -9,7 +9,8 @@ export interface ListMonitorEvaluationsCommandOutput extends ListMonitorEvaluati
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Returns a list of the monitoring evaluation results and predictor events collected by
|
|
11
11
|
* the monitor resource during different windows of time.</p>
|
|
12
|
-
* <p>For information about monitoring see <a
|
|
12
|
+
* <p>For information about monitoring see <a>predictor-monitoring</a>. For
|
|
13
|
+
* more information about retrieving monitoring results see <a href="https://docs.aws.amazon.com/forecast/latest/dg/predictor-monitoring-results.html">Viewing Monitoring Results</a>.</p>
|
|
13
14
|
* @example
|
|
14
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
16
|
* ```javascript
|
|
@@ -474,6 +474,65 @@ export declare namespace Tag {
|
|
|
474
474
|
*/
|
|
475
475
|
const filterSensitiveLog: (obj: Tag) => any;
|
|
476
476
|
}
|
|
477
|
+
export declare enum DayOfWeek {
|
|
478
|
+
FRIDAY = "FRIDAY",
|
|
479
|
+
MONDAY = "MONDAY",
|
|
480
|
+
SATURDAY = "SATURDAY",
|
|
481
|
+
SUNDAY = "SUNDAY",
|
|
482
|
+
THURSDAY = "THURSDAY",
|
|
483
|
+
TUESDAY = "TUESDAY",
|
|
484
|
+
WEDNESDAY = "WEDNESDAY"
|
|
485
|
+
}
|
|
486
|
+
export declare enum Month {
|
|
487
|
+
APRIL = "APRIL",
|
|
488
|
+
AUGUST = "AUGUST",
|
|
489
|
+
DECEMBER = "DECEMBER",
|
|
490
|
+
FEBRUARY = "FEBRUARY",
|
|
491
|
+
JANUARY = "JANUARY",
|
|
492
|
+
JULY = "JULY",
|
|
493
|
+
JUNE = "JUNE",
|
|
494
|
+
MARCH = "MARCH",
|
|
495
|
+
MAY = "MAY",
|
|
496
|
+
NOVEMBER = "NOVEMBER",
|
|
497
|
+
OCTOBER = "OCTOBER",
|
|
498
|
+
SEPTEMBER = "SEPTEMBER"
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* <p>The time boundary Forecast uses to align and aggregate your data to match your forecast frequency. Provide the unit of time and the time boundary as a key value pair. If you
|
|
502
|
+
* don't provide a time boundary, Forecast uses a set of <a href="https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html#default-time-boundaries">Default Time Boundaries</a>.
|
|
503
|
+
* </p>
|
|
504
|
+
*
|
|
505
|
+
* <p>For more information about aggregation,
|
|
506
|
+
* see <a href="https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html">Data Aggregation for Different Forecast Frequencies</a>.
|
|
507
|
+
* For more information setting a custom time boundary,
|
|
508
|
+
* see <a href="https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html#specifying-time-boundary">Specifying a Time Boundary</a>.
|
|
509
|
+
*
|
|
510
|
+
* </p>
|
|
511
|
+
*/
|
|
512
|
+
export interface TimeAlignmentBoundary {
|
|
513
|
+
/**
|
|
514
|
+
* <p>The month to use for time alignment during aggregation. The month must be in uppercase.</p>
|
|
515
|
+
*/
|
|
516
|
+
Month?: Month | string;
|
|
517
|
+
/**
|
|
518
|
+
* <p>The day of the month to use for time alignment during aggregation.</p>
|
|
519
|
+
*/
|
|
520
|
+
DayOfMonth?: number;
|
|
521
|
+
/**
|
|
522
|
+
* <p>The day of week to use for time alignment during aggregation. The day must be in uppercase.</p>
|
|
523
|
+
*/
|
|
524
|
+
DayOfWeek?: DayOfWeek | string;
|
|
525
|
+
/**
|
|
526
|
+
* <p>The hour of day to use for time alignment during aggregation.</p>
|
|
527
|
+
*/
|
|
528
|
+
Hour?: number;
|
|
529
|
+
}
|
|
530
|
+
export declare namespace TimeAlignmentBoundary {
|
|
531
|
+
/**
|
|
532
|
+
* @internal
|
|
533
|
+
*/
|
|
534
|
+
const filterSensitiveLog: (obj: TimeAlignmentBoundary) => any;
|
|
535
|
+
}
|
|
477
536
|
export interface CreateAutoPredictorRequest {
|
|
478
537
|
/**
|
|
479
538
|
* <p>A unique name for the predictor</p>
|
|
@@ -584,6 +643,13 @@ export interface CreateAutoPredictorRequest {
|
|
|
584
643
|
* For more information, see <a href="https://docs.aws.amazon.com/forecast/latest/dg/predictor-monitoring.html">Predictor Monitoring</a>.</p>
|
|
585
644
|
*/
|
|
586
645
|
MonitorConfig?: MonitorConfig;
|
|
646
|
+
/**
|
|
647
|
+
* <p>The time boundary Forecast uses to align and aggregate any data that doesn't align with your forecast frequency. Provide the unit of time and the time boundary as a key value pair.
|
|
648
|
+
* For more information on specifying a time boundary, see <a href="https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html#specifying-time-boundary">Specifying a Time Boundary</a>.
|
|
649
|
+
* If you
|
|
650
|
+
* don't provide a time boundary, Forecast uses a set of <a href="https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html#default-time-boundaries">Default Time Boundaries</a>.</p>
|
|
651
|
+
*/
|
|
652
|
+
TimeAlignmentBoundary?: TimeAlignmentBoundary;
|
|
587
653
|
}
|
|
588
654
|
export declare namespace CreateAutoPredictorRequest {
|
|
589
655
|
/**
|
|
@@ -2843,6 +2909,10 @@ export interface DescribeAutoPredictorResponse {
|
|
|
2843
2909
|
* <p>A object with the Amazon Resource Name (ARN) and status of the monitor resource.</p>
|
|
2844
2910
|
*/
|
|
2845
2911
|
MonitorInfo?: MonitorInfo;
|
|
2912
|
+
/**
|
|
2913
|
+
* <p>The time boundary Forecast uses when aggregating data.</p>
|
|
2914
|
+
*/
|
|
2915
|
+
TimeAlignmentBoundary?: TimeAlignmentBoundary;
|
|
2846
2916
|
}
|
|
2847
2917
|
export declare namespace DescribeAutoPredictorResponse {
|
|
2848
2918
|
/**
|
|
@@ -5486,7 +5556,13 @@ export declare namespace PredictorEvent {
|
|
|
5486
5556
|
* <p>Describes the results of a monitor evaluation.</p>
|
|
5487
5557
|
*/
|
|
5488
5558
|
export interface PredictorMonitorEvaluation {
|
|
5559
|
+
/**
|
|
5560
|
+
* <p>The Amazon Resource Name (ARN) of the resource to monitor.</p>
|
|
5561
|
+
*/
|
|
5489
5562
|
ResourceArn?: string;
|
|
5563
|
+
/**
|
|
5564
|
+
* <p>The Amazon Resource Name (ARN) of the monitor resource.</p>
|
|
5565
|
+
*/
|
|
5490
5566
|
MonitorArn?: string;
|
|
5491
5567
|
/**
|
|
5492
5568
|
* <p>The timestamp that indicates when the monitor evaluation was started. </p>
|
|
@@ -77,6 +77,44 @@ export declare namespace Tag {
|
|
|
77
77
|
|
|
78
78
|
const filterSensitiveLog: (obj: Tag) => any;
|
|
79
79
|
}
|
|
80
|
+
export declare enum DayOfWeek {
|
|
81
|
+
FRIDAY = "FRIDAY",
|
|
82
|
+
MONDAY = "MONDAY",
|
|
83
|
+
SATURDAY = "SATURDAY",
|
|
84
|
+
SUNDAY = "SUNDAY",
|
|
85
|
+
THURSDAY = "THURSDAY",
|
|
86
|
+
TUESDAY = "TUESDAY",
|
|
87
|
+
WEDNESDAY = "WEDNESDAY"
|
|
88
|
+
}
|
|
89
|
+
export declare enum Month {
|
|
90
|
+
APRIL = "APRIL",
|
|
91
|
+
AUGUST = "AUGUST",
|
|
92
|
+
DECEMBER = "DECEMBER",
|
|
93
|
+
FEBRUARY = "FEBRUARY",
|
|
94
|
+
JANUARY = "JANUARY",
|
|
95
|
+
JULY = "JULY",
|
|
96
|
+
JUNE = "JUNE",
|
|
97
|
+
MARCH = "MARCH",
|
|
98
|
+
MAY = "MAY",
|
|
99
|
+
NOVEMBER = "NOVEMBER",
|
|
100
|
+
OCTOBER = "OCTOBER",
|
|
101
|
+
SEPTEMBER = "SEPTEMBER"
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface TimeAlignmentBoundary {
|
|
105
|
+
|
|
106
|
+
Month?: Month | string;
|
|
107
|
+
|
|
108
|
+
DayOfMonth?: number;
|
|
109
|
+
|
|
110
|
+
DayOfWeek?: DayOfWeek | string;
|
|
111
|
+
|
|
112
|
+
Hour?: number;
|
|
113
|
+
}
|
|
114
|
+
export declare namespace TimeAlignmentBoundary {
|
|
115
|
+
|
|
116
|
+
const filterSensitiveLog: (obj: TimeAlignmentBoundary) => any;
|
|
117
|
+
}
|
|
80
118
|
export interface CreateAutoPredictorRequest {
|
|
81
119
|
|
|
82
120
|
PredictorName: string | undefined;
|
|
@@ -102,6 +140,8 @@ export interface CreateAutoPredictorRequest {
|
|
|
102
140
|
Tags?: Tag[];
|
|
103
141
|
|
|
104
142
|
MonitorConfig?: MonitorConfig;
|
|
143
|
+
|
|
144
|
+
TimeAlignmentBoundary?: TimeAlignmentBoundary;
|
|
105
145
|
}
|
|
106
146
|
export declare namespace CreateAutoPredictorRequest {
|
|
107
147
|
|
|
@@ -828,6 +868,8 @@ export interface DescribeAutoPredictorResponse {
|
|
|
828
868
|
ExplainabilityInfo?: ExplainabilityInfo;
|
|
829
869
|
|
|
830
870
|
MonitorInfo?: MonitorInfo;
|
|
871
|
+
|
|
872
|
+
TimeAlignmentBoundary?: TimeAlignmentBoundary;
|
|
831
873
|
}
|
|
832
874
|
export declare namespace DescribeAutoPredictorResponse {
|
|
833
875
|
|
|
@@ -1770,7 +1812,9 @@ export declare namespace PredictorEvent {
|
|
|
1770
1812
|
}
|
|
1771
1813
|
|
|
1772
1814
|
export interface PredictorMonitorEvaluation {
|
|
1815
|
+
|
|
1773
1816
|
ResourceArn?: string;
|
|
1817
|
+
|
|
1774
1818
|
MonitorArn?: string;
|
|
1775
1819
|
|
|
1776
1820
|
EvaluationTime?: Date;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-forecast",
|
|
3
3
|
"description": "AWS SDK for JavaScript Forecast Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.100.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.100.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.100.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|