@aws-sdk/client-forecast 3.95.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 +30 -0
- package/dist-cjs/Forecast.js +90 -0
- package/dist-cjs/commands/CreateMonitorCommand.js +36 -0
- package/dist-cjs/commands/DeleteMonitorCommand.js +36 -0
- package/dist-cjs/commands/DescribeMonitorCommand.js +36 -0
- package/dist-cjs/commands/ListMonitorEvaluationsCommand.js +36 -0
- package/dist-cjs/commands/ListMonitorsCommand.js +36 -0
- package/dist-cjs/commands/ResumeResourceCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +156 -3
- package/dist-cjs/pagination/ListExplainabilitiesPaginator.js +36 -0
- package/dist-cjs/pagination/ListExplainabilityExportsPaginator.js +36 -0
- package/dist-cjs/pagination/ListMonitorEvaluationsPaginator.js +36 -0
- package/dist-cjs/pagination/ListMonitorsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_json1_1.js +562 -2
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/Forecast.js +90 -0
- package/dist-es/commands/CreateMonitorCommand.js +39 -0
- package/dist-es/commands/DeleteMonitorCommand.js +39 -0
- package/dist-es/commands/DescribeMonitorCommand.js +39 -0
- package/dist-es/commands/ListMonitorEvaluationsCommand.js +39 -0
- package/dist-es/commands/ListMonitorsCommand.js +39 -0
- package/dist-es/commands/ResumeResourceCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +109 -0
- package/dist-es/pagination/ListExplainabilitiesPaginator.js +75 -0
- package/dist-es/pagination/ListExplainabilityExportsPaginator.js +75 -0
- package/dist-es/pagination/ListMonitorEvaluationsPaginator.js +75 -0
- package/dist-es/pagination/ListMonitorsPaginator.js +75 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +642 -2
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/Forecast.d.ts +134 -45
- package/dist-types/ForecastClient.d.ts +8 -2
- package/dist-types/commands/CreateAutoPredictorCommand.d.ts +7 -5
- package/dist-types/commands/CreateDatasetCommand.d.ts +4 -4
- package/dist-types/commands/CreateDatasetGroupCommand.d.ts +4 -4
- package/dist-types/commands/CreateDatasetImportJobCommand.d.ts +5 -4
- package/dist-types/commands/CreateExplainabilityCommand.d.ts +2 -2
- package/dist-types/commands/CreateMonitorCommand.d.ts +37 -0
- package/dist-types/commands/DeleteDatasetCommand.d.ts +5 -6
- package/dist-types/commands/DeleteDatasetGroupCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDatasetImportJobCommand.d.ts +3 -2
- package/dist-types/commands/DeleteMonitorCommand.d.ts +35 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +1 -2
- package/dist-types/commands/DescribeDatasetGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDatasetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMonitorCommand.d.ts +72 -0
- package/dist-types/commands/ListDatasetGroupsCommand.d.ts +5 -4
- package/dist-types/commands/ListDatasetImportJobsCommand.d.ts +5 -4
- package/dist-types/commands/ListDatasetsCommand.d.ts +3 -3
- package/dist-types/commands/ListMonitorEvaluationsCommand.d.ts +38 -0
- package/dist-types/commands/ListMonitorsCommand.d.ts +36 -0
- package/dist-types/commands/ResumeResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateDatasetGroupCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +736 -62
- package/dist-types/pagination/ListExplainabilitiesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListExplainabilityExportsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMonitorEvaluationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMonitorsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/Forecast.d.ts +30 -0
- package/dist-types/ts3.4/ForecastClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/CreateMonitorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMonitorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeMonitorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMonitorEvaluationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMonitorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ResumeResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +296 -0
- package/dist-types/ts3.4/pagination/ListExplainabilitiesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExplainabilityExportsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMonitorEvaluationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMonitorsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +18 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.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
|
+
|
|
17
|
+
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-forecast
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.97.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.96.0...v3.97.0) (2022-05-23)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **client-forecast:** New APIs for Monitor that help you understand how your predictors perform over time. ([74fa9b8](https://github.com/aws/aws-sdk-js-v3/commit/74fa9b8ae3ae68cc953ccfc018ac65c612bd601e))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-forecast
|
package/dist-cjs/Forecast.js
CHANGED
|
@@ -9,6 +9,7 @@ const CreateExplainabilityCommand_1 = require("./commands/CreateExplainabilityCo
|
|
|
9
9
|
const CreateExplainabilityExportCommand_1 = require("./commands/CreateExplainabilityExportCommand");
|
|
10
10
|
const CreateForecastCommand_1 = require("./commands/CreateForecastCommand");
|
|
11
11
|
const CreateForecastExportJobCommand_1 = require("./commands/CreateForecastExportJobCommand");
|
|
12
|
+
const CreateMonitorCommand_1 = require("./commands/CreateMonitorCommand");
|
|
12
13
|
const CreatePredictorBacktestExportJobCommand_1 = require("./commands/CreatePredictorBacktestExportJobCommand");
|
|
13
14
|
const CreatePredictorCommand_1 = require("./commands/CreatePredictorCommand");
|
|
14
15
|
const DeleteDatasetCommand_1 = require("./commands/DeleteDatasetCommand");
|
|
@@ -18,6 +19,7 @@ const DeleteExplainabilityCommand_1 = require("./commands/DeleteExplainabilityCo
|
|
|
18
19
|
const DeleteExplainabilityExportCommand_1 = require("./commands/DeleteExplainabilityExportCommand");
|
|
19
20
|
const DeleteForecastCommand_1 = require("./commands/DeleteForecastCommand");
|
|
20
21
|
const DeleteForecastExportJobCommand_1 = require("./commands/DeleteForecastExportJobCommand");
|
|
22
|
+
const DeleteMonitorCommand_1 = require("./commands/DeleteMonitorCommand");
|
|
21
23
|
const DeletePredictorBacktestExportJobCommand_1 = require("./commands/DeletePredictorBacktestExportJobCommand");
|
|
22
24
|
const DeletePredictorCommand_1 = require("./commands/DeletePredictorCommand");
|
|
23
25
|
const DeleteResourceTreeCommand_1 = require("./commands/DeleteResourceTreeCommand");
|
|
@@ -29,6 +31,7 @@ const DescribeExplainabilityCommand_1 = require("./commands/DescribeExplainabili
|
|
|
29
31
|
const DescribeExplainabilityExportCommand_1 = require("./commands/DescribeExplainabilityExportCommand");
|
|
30
32
|
const DescribeForecastCommand_1 = require("./commands/DescribeForecastCommand");
|
|
31
33
|
const DescribeForecastExportJobCommand_1 = require("./commands/DescribeForecastExportJobCommand");
|
|
34
|
+
const DescribeMonitorCommand_1 = require("./commands/DescribeMonitorCommand");
|
|
32
35
|
const DescribePredictorBacktestExportJobCommand_1 = require("./commands/DescribePredictorBacktestExportJobCommand");
|
|
33
36
|
const DescribePredictorCommand_1 = require("./commands/DescribePredictorCommand");
|
|
34
37
|
const GetAccuracyMetricsCommand_1 = require("./commands/GetAccuracyMetricsCommand");
|
|
@@ -39,9 +42,12 @@ const ListExplainabilitiesCommand_1 = require("./commands/ListExplainabilitiesCo
|
|
|
39
42
|
const ListExplainabilityExportsCommand_1 = require("./commands/ListExplainabilityExportsCommand");
|
|
40
43
|
const ListForecastExportJobsCommand_1 = require("./commands/ListForecastExportJobsCommand");
|
|
41
44
|
const ListForecastsCommand_1 = require("./commands/ListForecastsCommand");
|
|
45
|
+
const ListMonitorEvaluationsCommand_1 = require("./commands/ListMonitorEvaluationsCommand");
|
|
46
|
+
const ListMonitorsCommand_1 = require("./commands/ListMonitorsCommand");
|
|
42
47
|
const ListPredictorBacktestExportJobsCommand_1 = require("./commands/ListPredictorBacktestExportJobsCommand");
|
|
43
48
|
const ListPredictorsCommand_1 = require("./commands/ListPredictorsCommand");
|
|
44
49
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
50
|
+
const ResumeResourceCommand_1 = require("./commands/ResumeResourceCommand");
|
|
45
51
|
const StopResourceCommand_1 = require("./commands/StopResourceCommand");
|
|
46
52
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
47
53
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
@@ -160,6 +166,20 @@ class Forecast extends ForecastClient_1.ForecastClient {
|
|
|
160
166
|
return this.send(command, optionsOrCb);
|
|
161
167
|
}
|
|
162
168
|
}
|
|
169
|
+
createMonitor(args, optionsOrCb, cb) {
|
|
170
|
+
const command = new CreateMonitorCommand_1.CreateMonitorCommand(args);
|
|
171
|
+
if (typeof optionsOrCb === "function") {
|
|
172
|
+
this.send(command, optionsOrCb);
|
|
173
|
+
}
|
|
174
|
+
else if (typeof cb === "function") {
|
|
175
|
+
if (typeof optionsOrCb !== "object")
|
|
176
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
177
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
return this.send(command, optionsOrCb);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
163
183
|
createPredictor(args, optionsOrCb, cb) {
|
|
164
184
|
const command = new CreatePredictorCommand_1.CreatePredictorCommand(args);
|
|
165
185
|
if (typeof optionsOrCb === "function") {
|
|
@@ -286,6 +306,20 @@ class Forecast extends ForecastClient_1.ForecastClient {
|
|
|
286
306
|
return this.send(command, optionsOrCb);
|
|
287
307
|
}
|
|
288
308
|
}
|
|
309
|
+
deleteMonitor(args, optionsOrCb, cb) {
|
|
310
|
+
const command = new DeleteMonitorCommand_1.DeleteMonitorCommand(args);
|
|
311
|
+
if (typeof optionsOrCb === "function") {
|
|
312
|
+
this.send(command, optionsOrCb);
|
|
313
|
+
}
|
|
314
|
+
else if (typeof cb === "function") {
|
|
315
|
+
if (typeof optionsOrCb !== "object")
|
|
316
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
317
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
318
|
+
}
|
|
319
|
+
else {
|
|
320
|
+
return this.send(command, optionsOrCb);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
289
323
|
deletePredictor(args, optionsOrCb, cb) {
|
|
290
324
|
const command = new DeletePredictorCommand_1.DeletePredictorCommand(args);
|
|
291
325
|
if (typeof optionsOrCb === "function") {
|
|
@@ -440,6 +474,20 @@ class Forecast extends ForecastClient_1.ForecastClient {
|
|
|
440
474
|
return this.send(command, optionsOrCb);
|
|
441
475
|
}
|
|
442
476
|
}
|
|
477
|
+
describeMonitor(args, optionsOrCb, cb) {
|
|
478
|
+
const command = new DescribeMonitorCommand_1.DescribeMonitorCommand(args);
|
|
479
|
+
if (typeof optionsOrCb === "function") {
|
|
480
|
+
this.send(command, optionsOrCb);
|
|
481
|
+
}
|
|
482
|
+
else if (typeof cb === "function") {
|
|
483
|
+
if (typeof optionsOrCb !== "object")
|
|
484
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
485
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
486
|
+
}
|
|
487
|
+
else {
|
|
488
|
+
return this.send(command, optionsOrCb);
|
|
489
|
+
}
|
|
490
|
+
}
|
|
443
491
|
describePredictor(args, optionsOrCb, cb) {
|
|
444
492
|
const command = new DescribePredictorCommand_1.DescribePredictorCommand(args);
|
|
445
493
|
if (typeof optionsOrCb === "function") {
|
|
@@ -580,6 +628,34 @@ class Forecast extends ForecastClient_1.ForecastClient {
|
|
|
580
628
|
return this.send(command, optionsOrCb);
|
|
581
629
|
}
|
|
582
630
|
}
|
|
631
|
+
listMonitorEvaluations(args, optionsOrCb, cb) {
|
|
632
|
+
const command = new ListMonitorEvaluationsCommand_1.ListMonitorEvaluationsCommand(args);
|
|
633
|
+
if (typeof optionsOrCb === "function") {
|
|
634
|
+
this.send(command, optionsOrCb);
|
|
635
|
+
}
|
|
636
|
+
else if (typeof cb === "function") {
|
|
637
|
+
if (typeof optionsOrCb !== "object")
|
|
638
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
639
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
640
|
+
}
|
|
641
|
+
else {
|
|
642
|
+
return this.send(command, optionsOrCb);
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
listMonitors(args, optionsOrCb, cb) {
|
|
646
|
+
const command = new ListMonitorsCommand_1.ListMonitorsCommand(args);
|
|
647
|
+
if (typeof optionsOrCb === "function") {
|
|
648
|
+
this.send(command, optionsOrCb);
|
|
649
|
+
}
|
|
650
|
+
else if (typeof cb === "function") {
|
|
651
|
+
if (typeof optionsOrCb !== "object")
|
|
652
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
653
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
654
|
+
}
|
|
655
|
+
else {
|
|
656
|
+
return this.send(command, optionsOrCb);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
583
659
|
listPredictorBacktestExportJobs(args, optionsOrCb, cb) {
|
|
584
660
|
const command = new ListPredictorBacktestExportJobsCommand_1.ListPredictorBacktestExportJobsCommand(args);
|
|
585
661
|
if (typeof optionsOrCb === "function") {
|
|
@@ -622,6 +698,20 @@ class Forecast extends ForecastClient_1.ForecastClient {
|
|
|
622
698
|
return this.send(command, optionsOrCb);
|
|
623
699
|
}
|
|
624
700
|
}
|
|
701
|
+
resumeResource(args, optionsOrCb, cb) {
|
|
702
|
+
const command = new ResumeResourceCommand_1.ResumeResourceCommand(args);
|
|
703
|
+
if (typeof optionsOrCb === "function") {
|
|
704
|
+
this.send(command, optionsOrCb);
|
|
705
|
+
}
|
|
706
|
+
else if (typeof cb === "function") {
|
|
707
|
+
if (typeof optionsOrCb !== "object")
|
|
708
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
709
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
710
|
+
}
|
|
711
|
+
else {
|
|
712
|
+
return this.send(command, optionsOrCb);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
625
715
|
stopResource(args, optionsOrCb, cb) {
|
|
626
716
|
const command = new StopResourceCommand_1.StopResourceCommand(args);
|
|
627
717
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateMonitorCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateMonitorCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ForecastClient";
|
|
18
|
+
const commandName = "CreateMonitorCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateMonitorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateMonitorResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateMonitorCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateMonitorCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateMonitorCommand = CreateMonitorCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteMonitorCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DeleteMonitorCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ForecastClient";
|
|
18
|
+
const commandName = "DeleteMonitorCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteMonitorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteMonitorCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteMonitorCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteMonitorCommand = DeleteMonitorCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeMonitorCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DescribeMonitorCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ForecastClient";
|
|
18
|
+
const commandName = "DescribeMonitorCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeMonitorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeMonitorResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DescribeMonitorCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeMonitorCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeMonitorCommand = DescribeMonitorCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListMonitorEvaluationsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class ListMonitorEvaluationsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ForecastClient";
|
|
18
|
+
const commandName = "ListMonitorEvaluationsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListMonitorEvaluationsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListMonitorEvaluationsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListMonitorEvaluationsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListMonitorEvaluationsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListMonitorEvaluationsCommand = ListMonitorEvaluationsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListMonitorsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class ListMonitorsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ForecastClient";
|
|
18
|
+
const commandName = "ListMonitorsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListMonitorsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListMonitorsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListMonitorsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListMonitorsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListMonitorsCommand = ListMonitorsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResumeResourceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class ResumeResourceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ForecastClient";
|
|
18
|
+
const commandName = "ResumeResourceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ResumeResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ResumeResourceCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ResumeResourceCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ResumeResourceCommand = ResumeResourceCommand;
|
|
@@ -9,6 +9,7 @@ tslib_1.__exportStar(require("./CreateExplainabilityCommand"), exports);
|
|
|
9
9
|
tslib_1.__exportStar(require("./CreateExplainabilityExportCommand"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./CreateForecastCommand"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./CreateForecastExportJobCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./CreateMonitorCommand"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./CreatePredictorBacktestExportJobCommand"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./CreatePredictorCommand"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./DeleteDatasetCommand"), exports);
|
|
@@ -18,6 +19,7 @@ tslib_1.__exportStar(require("./DeleteExplainabilityCommand"), exports);
|
|
|
18
19
|
tslib_1.__exportStar(require("./DeleteExplainabilityExportCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./DeleteForecastCommand"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./DeleteForecastExportJobCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./DeleteMonitorCommand"), exports);
|
|
21
23
|
tslib_1.__exportStar(require("./DeletePredictorBacktestExportJobCommand"), exports);
|
|
22
24
|
tslib_1.__exportStar(require("./DeletePredictorCommand"), exports);
|
|
23
25
|
tslib_1.__exportStar(require("./DeleteResourceTreeCommand"), exports);
|
|
@@ -29,6 +31,7 @@ tslib_1.__exportStar(require("./DescribeExplainabilityCommand"), exports);
|
|
|
29
31
|
tslib_1.__exportStar(require("./DescribeExplainabilityExportCommand"), exports);
|
|
30
32
|
tslib_1.__exportStar(require("./DescribeForecastCommand"), exports);
|
|
31
33
|
tslib_1.__exportStar(require("./DescribeForecastExportJobCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./DescribeMonitorCommand"), exports);
|
|
32
35
|
tslib_1.__exportStar(require("./DescribePredictorBacktestExportJobCommand"), exports);
|
|
33
36
|
tslib_1.__exportStar(require("./DescribePredictorCommand"), exports);
|
|
34
37
|
tslib_1.__exportStar(require("./GetAccuracyMetricsCommand"), exports);
|
|
@@ -39,9 +42,12 @@ tslib_1.__exportStar(require("./ListExplainabilitiesCommand"), exports);
|
|
|
39
42
|
tslib_1.__exportStar(require("./ListExplainabilityExportsCommand"), exports);
|
|
40
43
|
tslib_1.__exportStar(require("./ListForecastExportJobsCommand"), exports);
|
|
41
44
|
tslib_1.__exportStar(require("./ListForecastsCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./ListMonitorEvaluationsCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./ListMonitorsCommand"), exports);
|
|
42
47
|
tslib_1.__exportStar(require("./ListPredictorBacktestExportJobsCommand"), exports);
|
|
43
48
|
tslib_1.__exportStar(require("./ListPredictorsCommand"), exports);
|
|
44
49
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./ResumeResourceCommand"), exports);
|
|
45
51
|
tslib_1.__exportStar(require("./StopResourceCommand"), exports);
|
|
46
52
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
47
53
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|