@aws-sdk/client-forecast 3.181.0 → 3.183.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 +8 -0
- package/dist-es/Forecast.js +254 -261
- package/dist-es/ForecastClient.js +22 -28
- package/dist-es/commands/CreateAutoPredictorCommand.js +21 -28
- package/dist-es/commands/CreateDatasetCommand.js +21 -28
- package/dist-es/commands/CreateDatasetGroupCommand.js +21 -28
- package/dist-es/commands/CreateDatasetImportJobCommand.js +21 -28
- package/dist-es/commands/CreateExplainabilityCommand.js +21 -28
- package/dist-es/commands/CreateExplainabilityExportCommand.js +21 -28
- package/dist-es/commands/CreateForecastCommand.js +21 -28
- package/dist-es/commands/CreateForecastExportJobCommand.js +21 -28
- package/dist-es/commands/CreateMonitorCommand.js +21 -28
- package/dist-es/commands/CreatePredictorBacktestExportJobCommand.js +21 -28
- package/dist-es/commands/CreatePredictorCommand.js +21 -28
- package/dist-es/commands/CreateWhatIfAnalysisCommand.js +21 -28
- package/dist-es/commands/CreateWhatIfForecastCommand.js +21 -28
- package/dist-es/commands/CreateWhatIfForecastExportCommand.js +21 -28
- package/dist-es/commands/DeleteDatasetCommand.js +22 -29
- package/dist-es/commands/DeleteDatasetGroupCommand.js +22 -29
- package/dist-es/commands/DeleteDatasetImportJobCommand.js +22 -29
- package/dist-es/commands/DeleteExplainabilityCommand.js +22 -29
- package/dist-es/commands/DeleteExplainabilityExportCommand.js +22 -29
- package/dist-es/commands/DeleteForecastCommand.js +22 -29
- package/dist-es/commands/DeleteForecastExportJobCommand.js +22 -29
- package/dist-es/commands/DeleteMonitorCommand.js +22 -29
- package/dist-es/commands/DeletePredictorBacktestExportJobCommand.js +22 -29
- package/dist-es/commands/DeletePredictorCommand.js +22 -29
- package/dist-es/commands/DeleteResourceTreeCommand.js +22 -29
- package/dist-es/commands/DeleteWhatIfAnalysisCommand.js +22 -29
- package/dist-es/commands/DeleteWhatIfForecastCommand.js +22 -29
- package/dist-es/commands/DeleteWhatIfForecastExportCommand.js +22 -29
- package/dist-es/commands/DescribeAutoPredictorCommand.js +21 -28
- package/dist-es/commands/DescribeDatasetCommand.js +21 -28
- package/dist-es/commands/DescribeDatasetGroupCommand.js +21 -28
- package/dist-es/commands/DescribeDatasetImportJobCommand.js +21 -28
- package/dist-es/commands/DescribeExplainabilityCommand.js +21 -28
- package/dist-es/commands/DescribeExplainabilityExportCommand.js +21 -28
- package/dist-es/commands/DescribeForecastCommand.js +21 -28
- package/dist-es/commands/DescribeForecastExportJobCommand.js +21 -28
- package/dist-es/commands/DescribeMonitorCommand.js +21 -28
- package/dist-es/commands/DescribePredictorBacktestExportJobCommand.js +21 -28
- package/dist-es/commands/DescribePredictorCommand.js +21 -28
- package/dist-es/commands/DescribeWhatIfAnalysisCommand.js +21 -28
- package/dist-es/commands/DescribeWhatIfForecastCommand.js +21 -28
- package/dist-es/commands/DescribeWhatIfForecastExportCommand.js +21 -28
- package/dist-es/commands/GetAccuracyMetricsCommand.js +21 -28
- package/dist-es/commands/ListDatasetGroupsCommand.js +21 -28
- package/dist-es/commands/ListDatasetImportJobsCommand.js +21 -28
- package/dist-es/commands/ListDatasetsCommand.js +21 -28
- package/dist-es/commands/ListExplainabilitiesCommand.js +21 -28
- package/dist-es/commands/ListExplainabilityExportsCommand.js +21 -28
- package/dist-es/commands/ListForecastExportJobsCommand.js +21 -28
- package/dist-es/commands/ListForecastsCommand.js +21 -28
- package/dist-es/commands/ListMonitorEvaluationsCommand.js +21 -28
- package/dist-es/commands/ListMonitorsCommand.js +21 -28
- package/dist-es/commands/ListPredictorBacktestExportJobsCommand.js +21 -28
- package/dist-es/commands/ListPredictorsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListWhatIfAnalysesCommand.js +21 -28
- package/dist-es/commands/ListWhatIfForecastExportsCommand.js +21 -28
- package/dist-es/commands/ListWhatIfForecastsCommand.js +21 -28
- package/dist-es/commands/ResumeResourceCommand.js +22 -29
- package/dist-es/commands/StopResourceCommand.js +22 -29
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateDatasetGroupCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ForecastServiceException.js +5 -10
- package/dist-es/models/models_0.js +610 -246
- package/dist-es/pagination/ListDatasetGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListDatasetImportJobsPaginator.js +25 -68
- package/dist-es/pagination/ListDatasetsPaginator.js +25 -68
- package/dist-es/pagination/ListExplainabilitiesPaginator.js +25 -68
- package/dist-es/pagination/ListExplainabilityExportsPaginator.js +25 -68
- package/dist-es/pagination/ListForecastExportJobsPaginator.js +25 -68
- package/dist-es/pagination/ListForecastsPaginator.js +25 -68
- package/dist-es/pagination/ListMonitorEvaluationsPaginator.js +25 -68
- package/dist-es/pagination/ListMonitorsPaginator.js +25 -68
- package/dist-es/pagination/ListPredictorBacktestExportJobsPaginator.js +25 -68
- package/dist-es/pagination/ListPredictorsPaginator.js +25 -68
- package/dist-es/pagination/ListWhatIfAnalysesPaginator.js +25 -68
- package/dist-es/pagination/ListWhatIfForecastExportsPaginator.js +25 -68
- package/dist-es/pagination/ListWhatIfForecastsPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +4062 -5168
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { StopResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1StopResourceCommand, serializeAws_json1_1StopResourceCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class StopResourceCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ForecastClient";
|
|
15
|
+
const commandName = "StopResourceCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: StopResourceRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
StopResourceCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1StopResourceCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1StopResourceCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { StopResourceCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class TagResourceCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ForecastClient";
|
|
15
|
+
const commandName = "TagResourceCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
TagResourceCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1TagResourceCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1TagResourceCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { TagResourceCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UntagResourceCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ForecastClient";
|
|
15
|
+
const commandName = "UntagResourceCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UntagResourceCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1UntagResourceCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UntagResourceCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UntagResourceCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateDatasetGroupRequestFilterSensitiveLog, UpdateDatasetGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UpdateDatasetGroupCommand, serializeAws_json1_1UpdateDatasetGroupCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateDatasetGroupCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ForecastClient";
|
|
15
|
+
const commandName = "UpdateDatasetGroupCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateDatasetGroupRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateDatasetGroupResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateDatasetGroupCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1UpdateDatasetGroupCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UpdateDatasetGroupCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateDatasetGroupCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
2
|
+
const regionHash = {
|
|
4
3
|
"us-east-1": {
|
|
5
4
|
variants: [
|
|
6
5
|
{
|
|
@@ -26,7 +25,7 @@ var regionHash = {
|
|
|
26
25
|
],
|
|
27
26
|
},
|
|
28
27
|
};
|
|
29
|
-
|
|
28
|
+
const partitionHash = {
|
|
30
29
|
aws: {
|
|
31
30
|
regions: [
|
|
32
31
|
"af-south-1",
|
|
@@ -149,8 +148,9 @@ var partitionHash = {
|
|
|
149
148
|
],
|
|
150
149
|
},
|
|
151
150
|
};
|
|
152
|
-
export
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
151
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
152
|
+
...options,
|
|
153
|
+
signingService: "forecast",
|
|
154
|
+
regionHash,
|
|
155
|
+
partitionHash,
|
|
156
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, ForecastServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class ForecastServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, ForecastServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { ForecastServiceException };
|
|
7
|
+
}
|