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