@aws-sdk/client-forecast 3.154.0 → 3.155.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/Forecast.js +180 -0
- package/dist-cjs/commands/CreateWhatIfAnalysisCommand.js +36 -0
- package/dist-cjs/commands/CreateWhatIfForecastCommand.js +36 -0
- package/dist-cjs/commands/CreateWhatIfForecastExportCommand.js +36 -0
- package/dist-cjs/commands/DeleteWhatIfAnalysisCommand.js +36 -0
- package/dist-cjs/commands/DeleteWhatIfForecastCommand.js +36 -0
- package/dist-cjs/commands/DeleteWhatIfForecastExportCommand.js +36 -0
- package/dist-cjs/commands/DescribeWhatIfAnalysisCommand.js +36 -0
- package/dist-cjs/commands/DescribeWhatIfForecastCommand.js +36 -0
- package/dist-cjs/commands/DescribeWhatIfForecastExportCommand.js +36 -0
- package/dist-cjs/commands/ListWhatIfAnalysesCommand.js +36 -0
- package/dist-cjs/commands/ListWhatIfForecastExportsCommand.js +36 -0
- package/dist-cjs/commands/ListWhatIfForecastsCommand.js +36 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/models/models_0.js +133 -4
- package/dist-cjs/pagination/ListWhatIfAnalysesPaginator.js +36 -0
- package/dist-cjs/pagination/ListWhatIfForecastExportsPaginator.js +36 -0
- package/dist-cjs/pagination/ListWhatIfForecastsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1007 -26
- package/dist-es/Forecast.js +180 -0
- package/dist-es/commands/CreateWhatIfAnalysisCommand.js +39 -0
- package/dist-es/commands/CreateWhatIfForecastCommand.js +39 -0
- package/dist-es/commands/CreateWhatIfForecastExportCommand.js +39 -0
- package/dist-es/commands/DeleteWhatIfAnalysisCommand.js +39 -0
- package/dist-es/commands/DeleteWhatIfForecastCommand.js +39 -0
- package/dist-es/commands/DeleteWhatIfForecastExportCommand.js +39 -0
- package/dist-es/commands/DescribeWhatIfAnalysisCommand.js +39 -0
- package/dist-es/commands/DescribeWhatIfForecastCommand.js +39 -0
- package/dist-es/commands/DescribeWhatIfForecastExportCommand.js +39 -0
- package/dist-es/commands/ListWhatIfAnalysesCommand.js +39 -0
- package/dist-es/commands/ListWhatIfForecastExportsCommand.js +39 -0
- package/dist-es/commands/ListWhatIfForecastsCommand.js +39 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/models_0.js +42 -0
- package/dist-es/pagination/ListWhatIfAnalysesPaginator.js +75 -0
- package/dist-es/pagination/ListWhatIfForecastExportsPaginator.js +75 -0
- package/dist-es/pagination/ListWhatIfForecastsPaginator.js +75 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +1318 -145
- package/dist-types/Forecast.d.ts +183 -0
- package/dist-types/ForecastClient.d.ts +14 -2
- package/dist-types/commands/CreateWhatIfAnalysisCommand.d.ts +46 -0
- package/dist-types/commands/CreateWhatIfForecastCommand.d.ts +36 -0
- package/dist-types/commands/CreateWhatIfForecastExportCommand.d.ts +51 -0
- package/dist-types/commands/DeleteWhatIfAnalysisCommand.d.ts +37 -0
- package/dist-types/commands/DeleteWhatIfForecastCommand.d.ts +37 -0
- package/dist-types/commands/DeleteWhatIfForecastExportCommand.d.ts +36 -0
- package/dist-types/commands/DescribeWhatIfAnalysisCommand.d.ts +57 -0
- package/dist-types/commands/DescribeWhatIfForecastCommand.d.ts +57 -0
- package/dist-types/commands/DescribeWhatIfForecastExportCommand.d.ts +57 -0
- package/dist-types/commands/ListWhatIfAnalysesCommand.d.ts +35 -0
- package/dist-types/commands/ListWhatIfForecastExportsCommand.d.ts +35 -0
- package/dist-types/commands/ListWhatIfForecastsCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +1918 -840
- package/dist-types/pagination/ListWhatIfAnalysesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListWhatIfForecastExportsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListWhatIfForecastsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/Forecast.d.ts +60 -0
- package/dist-types/ts3.4/ForecastClient.d.ts +14 -2
- package/dist-types/ts3.4/commands/CreateWhatIfAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateWhatIfForecastCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateWhatIfForecastExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWhatIfAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWhatIfForecastCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWhatIfForecastExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeWhatIfAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeWhatIfForecastCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeWhatIfForecastExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWhatIfAnalysesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWhatIfForecastExportsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWhatIfForecastsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +335 -0
- package/dist-types/ts3.4/pagination/ListWhatIfAnalysesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListWhatIfForecastExportsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListWhatIfForecastsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +1 -1
package/dist-es/Forecast.js
CHANGED
|
@@ -10,6 +10,9 @@ import { CreateForecastExportJobCommand, } from "./commands/CreateForecastExport
|
|
|
10
10
|
import { CreateMonitorCommand, } from "./commands/CreateMonitorCommand";
|
|
11
11
|
import { CreatePredictorBacktestExportJobCommand, } from "./commands/CreatePredictorBacktestExportJobCommand";
|
|
12
12
|
import { CreatePredictorCommand, } from "./commands/CreatePredictorCommand";
|
|
13
|
+
import { CreateWhatIfAnalysisCommand, } from "./commands/CreateWhatIfAnalysisCommand";
|
|
14
|
+
import { CreateWhatIfForecastCommand, } from "./commands/CreateWhatIfForecastCommand";
|
|
15
|
+
import { CreateWhatIfForecastExportCommand, } from "./commands/CreateWhatIfForecastExportCommand";
|
|
13
16
|
import { DeleteDatasetCommand, } from "./commands/DeleteDatasetCommand";
|
|
14
17
|
import { DeleteDatasetGroupCommand, } from "./commands/DeleteDatasetGroupCommand";
|
|
15
18
|
import { DeleteDatasetImportJobCommand, } from "./commands/DeleteDatasetImportJobCommand";
|
|
@@ -21,6 +24,9 @@ import { DeleteMonitorCommand, } from "./commands/DeleteMonitorCommand";
|
|
|
21
24
|
import { DeletePredictorBacktestExportJobCommand, } from "./commands/DeletePredictorBacktestExportJobCommand";
|
|
22
25
|
import { DeletePredictorCommand, } from "./commands/DeletePredictorCommand";
|
|
23
26
|
import { DeleteResourceTreeCommand, } from "./commands/DeleteResourceTreeCommand";
|
|
27
|
+
import { DeleteWhatIfAnalysisCommand, } from "./commands/DeleteWhatIfAnalysisCommand";
|
|
28
|
+
import { DeleteWhatIfForecastCommand, } from "./commands/DeleteWhatIfForecastCommand";
|
|
29
|
+
import { DeleteWhatIfForecastExportCommand, } from "./commands/DeleteWhatIfForecastExportCommand";
|
|
24
30
|
import { DescribeAutoPredictorCommand, } from "./commands/DescribeAutoPredictorCommand";
|
|
25
31
|
import { DescribeDatasetCommand, } from "./commands/DescribeDatasetCommand";
|
|
26
32
|
import { DescribeDatasetGroupCommand, } from "./commands/DescribeDatasetGroupCommand";
|
|
@@ -32,6 +38,9 @@ import { DescribeForecastExportJobCommand, } from "./commands/DescribeForecastEx
|
|
|
32
38
|
import { DescribeMonitorCommand, } from "./commands/DescribeMonitorCommand";
|
|
33
39
|
import { DescribePredictorBacktestExportJobCommand, } from "./commands/DescribePredictorBacktestExportJobCommand";
|
|
34
40
|
import { DescribePredictorCommand, } from "./commands/DescribePredictorCommand";
|
|
41
|
+
import { DescribeWhatIfAnalysisCommand, } from "./commands/DescribeWhatIfAnalysisCommand";
|
|
42
|
+
import { DescribeWhatIfForecastCommand, } from "./commands/DescribeWhatIfForecastCommand";
|
|
43
|
+
import { DescribeWhatIfForecastExportCommand, } from "./commands/DescribeWhatIfForecastExportCommand";
|
|
35
44
|
import { GetAccuracyMetricsCommand, } from "./commands/GetAccuracyMetricsCommand";
|
|
36
45
|
import { ListDatasetGroupsCommand, } from "./commands/ListDatasetGroupsCommand";
|
|
37
46
|
import { ListDatasetImportJobsCommand, } from "./commands/ListDatasetImportJobsCommand";
|
|
@@ -45,6 +54,9 @@ import { ListMonitorsCommand, } from "./commands/ListMonitorsCommand";
|
|
|
45
54
|
import { ListPredictorBacktestExportJobsCommand, } from "./commands/ListPredictorBacktestExportJobsCommand";
|
|
46
55
|
import { ListPredictorsCommand, } from "./commands/ListPredictorsCommand";
|
|
47
56
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
57
|
+
import { ListWhatIfAnalysesCommand, } from "./commands/ListWhatIfAnalysesCommand";
|
|
58
|
+
import { ListWhatIfForecastExportsCommand, } from "./commands/ListWhatIfForecastExportsCommand";
|
|
59
|
+
import { ListWhatIfForecastsCommand, } from "./commands/ListWhatIfForecastsCommand";
|
|
48
60
|
import { ResumeResourceCommand, } from "./commands/ResumeResourceCommand";
|
|
49
61
|
import { StopResourceCommand, } from "./commands/StopResourceCommand";
|
|
50
62
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -210,6 +222,48 @@ var Forecast = (function (_super) {
|
|
|
210
222
|
return this.send(command, optionsOrCb);
|
|
211
223
|
}
|
|
212
224
|
};
|
|
225
|
+
Forecast.prototype.createWhatIfAnalysis = function (args, optionsOrCb, cb) {
|
|
226
|
+
var command = new CreateWhatIfAnalysisCommand(args);
|
|
227
|
+
if (typeof optionsOrCb === "function") {
|
|
228
|
+
this.send(command, optionsOrCb);
|
|
229
|
+
}
|
|
230
|
+
else if (typeof cb === "function") {
|
|
231
|
+
if (typeof optionsOrCb !== "object")
|
|
232
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
233
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
234
|
+
}
|
|
235
|
+
else {
|
|
236
|
+
return this.send(command, optionsOrCb);
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
Forecast.prototype.createWhatIfForecast = function (args, optionsOrCb, cb) {
|
|
240
|
+
var command = new CreateWhatIfForecastCommand(args);
|
|
241
|
+
if (typeof optionsOrCb === "function") {
|
|
242
|
+
this.send(command, optionsOrCb);
|
|
243
|
+
}
|
|
244
|
+
else if (typeof cb === "function") {
|
|
245
|
+
if (typeof optionsOrCb !== "object")
|
|
246
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
247
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
248
|
+
}
|
|
249
|
+
else {
|
|
250
|
+
return this.send(command, optionsOrCb);
|
|
251
|
+
}
|
|
252
|
+
};
|
|
253
|
+
Forecast.prototype.createWhatIfForecastExport = function (args, optionsOrCb, cb) {
|
|
254
|
+
var command = new CreateWhatIfForecastExportCommand(args);
|
|
255
|
+
if (typeof optionsOrCb === "function") {
|
|
256
|
+
this.send(command, optionsOrCb);
|
|
257
|
+
}
|
|
258
|
+
else if (typeof cb === "function") {
|
|
259
|
+
if (typeof optionsOrCb !== "object")
|
|
260
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
261
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
262
|
+
}
|
|
263
|
+
else {
|
|
264
|
+
return this.send(command, optionsOrCb);
|
|
265
|
+
}
|
|
266
|
+
};
|
|
213
267
|
Forecast.prototype.deleteDataset = function (args, optionsOrCb, cb) {
|
|
214
268
|
var command = new DeleteDatasetCommand(args);
|
|
215
269
|
if (typeof optionsOrCb === "function") {
|
|
@@ -364,6 +418,48 @@ var Forecast = (function (_super) {
|
|
|
364
418
|
return this.send(command, optionsOrCb);
|
|
365
419
|
}
|
|
366
420
|
};
|
|
421
|
+
Forecast.prototype.deleteWhatIfAnalysis = function (args, optionsOrCb, cb) {
|
|
422
|
+
var command = new DeleteWhatIfAnalysisCommand(args);
|
|
423
|
+
if (typeof optionsOrCb === "function") {
|
|
424
|
+
this.send(command, optionsOrCb);
|
|
425
|
+
}
|
|
426
|
+
else if (typeof cb === "function") {
|
|
427
|
+
if (typeof optionsOrCb !== "object")
|
|
428
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
429
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
430
|
+
}
|
|
431
|
+
else {
|
|
432
|
+
return this.send(command, optionsOrCb);
|
|
433
|
+
}
|
|
434
|
+
};
|
|
435
|
+
Forecast.prototype.deleteWhatIfForecast = function (args, optionsOrCb, cb) {
|
|
436
|
+
var command = new DeleteWhatIfForecastCommand(args);
|
|
437
|
+
if (typeof optionsOrCb === "function") {
|
|
438
|
+
this.send(command, optionsOrCb);
|
|
439
|
+
}
|
|
440
|
+
else if (typeof cb === "function") {
|
|
441
|
+
if (typeof optionsOrCb !== "object")
|
|
442
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
443
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
444
|
+
}
|
|
445
|
+
else {
|
|
446
|
+
return this.send(command, optionsOrCb);
|
|
447
|
+
}
|
|
448
|
+
};
|
|
449
|
+
Forecast.prototype.deleteWhatIfForecastExport = function (args, optionsOrCb, cb) {
|
|
450
|
+
var command = new DeleteWhatIfForecastExportCommand(args);
|
|
451
|
+
if (typeof optionsOrCb === "function") {
|
|
452
|
+
this.send(command, optionsOrCb);
|
|
453
|
+
}
|
|
454
|
+
else if (typeof cb === "function") {
|
|
455
|
+
if (typeof optionsOrCb !== "object")
|
|
456
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
457
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
458
|
+
}
|
|
459
|
+
else {
|
|
460
|
+
return this.send(command, optionsOrCb);
|
|
461
|
+
}
|
|
462
|
+
};
|
|
367
463
|
Forecast.prototype.describeAutoPredictor = function (args, optionsOrCb, cb) {
|
|
368
464
|
var command = new DescribeAutoPredictorCommand(args);
|
|
369
465
|
if (typeof optionsOrCb === "function") {
|
|
@@ -518,6 +614,48 @@ var Forecast = (function (_super) {
|
|
|
518
614
|
return this.send(command, optionsOrCb);
|
|
519
615
|
}
|
|
520
616
|
};
|
|
617
|
+
Forecast.prototype.describeWhatIfAnalysis = function (args, optionsOrCb, cb) {
|
|
618
|
+
var command = new DescribeWhatIfAnalysisCommand(args);
|
|
619
|
+
if (typeof optionsOrCb === "function") {
|
|
620
|
+
this.send(command, optionsOrCb);
|
|
621
|
+
}
|
|
622
|
+
else if (typeof cb === "function") {
|
|
623
|
+
if (typeof optionsOrCb !== "object")
|
|
624
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
625
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
626
|
+
}
|
|
627
|
+
else {
|
|
628
|
+
return this.send(command, optionsOrCb);
|
|
629
|
+
}
|
|
630
|
+
};
|
|
631
|
+
Forecast.prototype.describeWhatIfForecast = function (args, optionsOrCb, cb) {
|
|
632
|
+
var command = new DescribeWhatIfForecastCommand(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 ".concat(typeof optionsOrCb));
|
|
639
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
640
|
+
}
|
|
641
|
+
else {
|
|
642
|
+
return this.send(command, optionsOrCb);
|
|
643
|
+
}
|
|
644
|
+
};
|
|
645
|
+
Forecast.prototype.describeWhatIfForecastExport = function (args, optionsOrCb, cb) {
|
|
646
|
+
var command = new DescribeWhatIfForecastExportCommand(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 ".concat(typeof optionsOrCb));
|
|
653
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
654
|
+
}
|
|
655
|
+
else {
|
|
656
|
+
return this.send(command, optionsOrCb);
|
|
657
|
+
}
|
|
658
|
+
};
|
|
521
659
|
Forecast.prototype.getAccuracyMetrics = function (args, optionsOrCb, cb) {
|
|
522
660
|
var command = new GetAccuracyMetricsCommand(args);
|
|
523
661
|
if (typeof optionsOrCb === "function") {
|
|
@@ -700,6 +838,48 @@ var Forecast = (function (_super) {
|
|
|
700
838
|
return this.send(command, optionsOrCb);
|
|
701
839
|
}
|
|
702
840
|
};
|
|
841
|
+
Forecast.prototype.listWhatIfAnalyses = function (args, optionsOrCb, cb) {
|
|
842
|
+
var command = new ListWhatIfAnalysesCommand(args);
|
|
843
|
+
if (typeof optionsOrCb === "function") {
|
|
844
|
+
this.send(command, optionsOrCb);
|
|
845
|
+
}
|
|
846
|
+
else if (typeof cb === "function") {
|
|
847
|
+
if (typeof optionsOrCb !== "object")
|
|
848
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
849
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
850
|
+
}
|
|
851
|
+
else {
|
|
852
|
+
return this.send(command, optionsOrCb);
|
|
853
|
+
}
|
|
854
|
+
};
|
|
855
|
+
Forecast.prototype.listWhatIfForecastExports = function (args, optionsOrCb, cb) {
|
|
856
|
+
var command = new ListWhatIfForecastExportsCommand(args);
|
|
857
|
+
if (typeof optionsOrCb === "function") {
|
|
858
|
+
this.send(command, optionsOrCb);
|
|
859
|
+
}
|
|
860
|
+
else if (typeof cb === "function") {
|
|
861
|
+
if (typeof optionsOrCb !== "object")
|
|
862
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
863
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
864
|
+
}
|
|
865
|
+
else {
|
|
866
|
+
return this.send(command, optionsOrCb);
|
|
867
|
+
}
|
|
868
|
+
};
|
|
869
|
+
Forecast.prototype.listWhatIfForecasts = function (args, optionsOrCb, cb) {
|
|
870
|
+
var command = new ListWhatIfForecastsCommand(args);
|
|
871
|
+
if (typeof optionsOrCb === "function") {
|
|
872
|
+
this.send(command, optionsOrCb);
|
|
873
|
+
}
|
|
874
|
+
else if (typeof cb === "function") {
|
|
875
|
+
if (typeof optionsOrCb !== "object")
|
|
876
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
877
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
878
|
+
}
|
|
879
|
+
else {
|
|
880
|
+
return this.send(command, optionsOrCb);
|
|
881
|
+
}
|
|
882
|
+
};
|
|
703
883
|
Forecast.prototype.resumeResource = function (args, optionsOrCb, cb) {
|
|
704
884
|
var command = new ResumeResourceCommand(args);
|
|
705
885
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateWhatIfAnalysisRequestFilterSensitiveLog, CreateWhatIfAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateWhatIfAnalysisCommand, serializeAws_json1_1CreateWhatIfAnalysisCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateWhatIfAnalysisCommand = (function (_super) {
|
|
7
|
+
__extends(CreateWhatIfAnalysisCommand, _super);
|
|
8
|
+
function CreateWhatIfAnalysisCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateWhatIfAnalysisCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ForecastClient";
|
|
18
|
+
var commandName = "CreateWhatIfAnalysisCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateWhatIfAnalysisRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateWhatIfAnalysisResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateWhatIfAnalysisCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateWhatIfAnalysisCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateWhatIfAnalysisCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateWhatIfAnalysisCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateWhatIfAnalysisCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateWhatIfAnalysisCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateWhatIfForecastRequestFilterSensitiveLog, CreateWhatIfForecastResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateWhatIfForecastCommand, serializeAws_json1_1CreateWhatIfForecastCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateWhatIfForecastCommand = (function (_super) {
|
|
7
|
+
__extends(CreateWhatIfForecastCommand, _super);
|
|
8
|
+
function CreateWhatIfForecastCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateWhatIfForecastCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ForecastClient";
|
|
18
|
+
var commandName = "CreateWhatIfForecastCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateWhatIfForecastRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateWhatIfForecastResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateWhatIfForecastCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateWhatIfForecastCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateWhatIfForecastCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateWhatIfForecastCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateWhatIfForecastCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateWhatIfForecastCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateWhatIfForecastExportRequestFilterSensitiveLog, CreateWhatIfForecastExportResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateWhatIfForecastExportCommand, serializeAws_json1_1CreateWhatIfForecastExportCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateWhatIfForecastExportCommand = (function (_super) {
|
|
7
|
+
__extends(CreateWhatIfForecastExportCommand, _super);
|
|
8
|
+
function CreateWhatIfForecastExportCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateWhatIfForecastExportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ForecastClient";
|
|
18
|
+
var commandName = "CreateWhatIfForecastExportCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateWhatIfForecastExportRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateWhatIfForecastExportResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateWhatIfForecastExportCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateWhatIfForecastExportCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateWhatIfForecastExportCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateWhatIfForecastExportCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateWhatIfForecastExportCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateWhatIfForecastExportCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteWhatIfAnalysisRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteWhatIfAnalysisCommand, serializeAws_json1_1DeleteWhatIfAnalysisCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DeleteWhatIfAnalysisCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteWhatIfAnalysisCommand, _super);
|
|
8
|
+
function DeleteWhatIfAnalysisCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteWhatIfAnalysisCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ForecastClient";
|
|
18
|
+
var commandName = "DeleteWhatIfAnalysisCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteWhatIfAnalysisRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteWhatIfAnalysisCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DeleteWhatIfAnalysisCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteWhatIfAnalysisCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DeleteWhatIfAnalysisCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteWhatIfAnalysisCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteWhatIfAnalysisCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteWhatIfForecastRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteWhatIfForecastCommand, serializeAws_json1_1DeleteWhatIfForecastCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DeleteWhatIfForecastCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteWhatIfForecastCommand, _super);
|
|
8
|
+
function DeleteWhatIfForecastCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteWhatIfForecastCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ForecastClient";
|
|
18
|
+
var commandName = "DeleteWhatIfForecastCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteWhatIfForecastRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteWhatIfForecastCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DeleteWhatIfForecastCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteWhatIfForecastCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DeleteWhatIfForecastCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteWhatIfForecastCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteWhatIfForecastCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteWhatIfForecastExportRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteWhatIfForecastExportCommand, serializeAws_json1_1DeleteWhatIfForecastExportCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DeleteWhatIfForecastExportCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteWhatIfForecastExportCommand, _super);
|
|
8
|
+
function DeleteWhatIfForecastExportCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteWhatIfForecastExportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ForecastClient";
|
|
18
|
+
var commandName = "DeleteWhatIfForecastExportCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteWhatIfForecastExportRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteWhatIfForecastExportCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DeleteWhatIfForecastExportCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteWhatIfForecastExportCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DeleteWhatIfForecastExportCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteWhatIfForecastExportCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteWhatIfForecastExportCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeWhatIfAnalysisRequestFilterSensitiveLog, DescribeWhatIfAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeWhatIfAnalysisCommand, serializeAws_json1_1DescribeWhatIfAnalysisCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DescribeWhatIfAnalysisCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeWhatIfAnalysisCommand, _super);
|
|
8
|
+
function DescribeWhatIfAnalysisCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeWhatIfAnalysisCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ForecastClient";
|
|
18
|
+
var commandName = "DescribeWhatIfAnalysisCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeWhatIfAnalysisRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeWhatIfAnalysisResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeWhatIfAnalysisCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DescribeWhatIfAnalysisCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeWhatIfAnalysisCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DescribeWhatIfAnalysisCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeWhatIfAnalysisCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeWhatIfAnalysisCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeWhatIfForecastRequestFilterSensitiveLog, DescribeWhatIfForecastResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeWhatIfForecastCommand, serializeAws_json1_1DescribeWhatIfForecastCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DescribeWhatIfForecastCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeWhatIfForecastCommand, _super);
|
|
8
|
+
function DescribeWhatIfForecastCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeWhatIfForecastCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ForecastClient";
|
|
18
|
+
var commandName = "DescribeWhatIfForecastCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeWhatIfForecastRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeWhatIfForecastResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeWhatIfForecastCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DescribeWhatIfForecastCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeWhatIfForecastCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DescribeWhatIfForecastCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeWhatIfForecastCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeWhatIfForecastCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeWhatIfForecastExportRequestFilterSensitiveLog, DescribeWhatIfForecastExportResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeWhatIfForecastExportCommand, serializeAws_json1_1DescribeWhatIfForecastExportCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DescribeWhatIfForecastExportCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeWhatIfForecastExportCommand, _super);
|
|
8
|
+
function DescribeWhatIfForecastExportCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeWhatIfForecastExportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ForecastClient";
|
|
18
|
+
var commandName = "DescribeWhatIfForecastExportCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeWhatIfForecastExportRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeWhatIfForecastExportResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeWhatIfForecastExportCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DescribeWhatIfForecastExportCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeWhatIfForecastExportCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DescribeWhatIfForecastExportCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeWhatIfForecastExportCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeWhatIfForecastExportCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListWhatIfAnalysesRequestFilterSensitiveLog, ListWhatIfAnalysesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListWhatIfAnalysesCommand, serializeAws_json1_1ListWhatIfAnalysesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ListWhatIfAnalysesCommand = (function (_super) {
|
|
7
|
+
__extends(ListWhatIfAnalysesCommand, _super);
|
|
8
|
+
function ListWhatIfAnalysesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListWhatIfAnalysesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ForecastClient";
|
|
18
|
+
var commandName = "ListWhatIfAnalysesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListWhatIfAnalysesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListWhatIfAnalysesResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListWhatIfAnalysesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ListWhatIfAnalysesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListWhatIfAnalysesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ListWhatIfAnalysesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListWhatIfAnalysesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListWhatIfAnalysesCommand };
|