@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 { ListForecastsRequestFilterSensitiveLog, ListForecastsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListForecastsCommand, serializeAws_json1_1ListForecastsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListForecastsCommand = (function (_super) {
|
|
7
|
+
__extends(ListForecastsCommand, _super);
|
|
8
|
+
function ListForecastsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListForecastsCommand.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 = "ListForecastsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListForecastsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListForecastsResponseFilterSensitiveLog,
|
|
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
|
+
ListForecastsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListForecastsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListForecastsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListForecastsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListForecastsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListForecastsCommand };
|
|
@@ -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 { ListMonitorEvaluationsRequestFilterSensitiveLog, ListMonitorEvaluationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListMonitorEvaluationsCommand, serializeAws_json1_1ListMonitorEvaluationsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListMonitorEvaluationsCommand = (function (_super) {
|
|
7
|
+
__extends(ListMonitorEvaluationsCommand, _super);
|
|
8
|
+
function ListMonitorEvaluationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListMonitorEvaluationsCommand.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 = "ListMonitorEvaluationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListMonitorEvaluationsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListMonitorEvaluationsResponseFilterSensitiveLog,
|
|
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
|
+
ListMonitorEvaluationsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListMonitorEvaluationsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListMonitorEvaluationsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListMonitorEvaluationsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListMonitorEvaluationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListMonitorEvaluationsCommand };
|
|
@@ -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 { ListMonitorsRequestFilterSensitiveLog, ListMonitorsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListMonitorsCommand, serializeAws_json1_1ListMonitorsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListMonitorsCommand = (function (_super) {
|
|
7
|
+
__extends(ListMonitorsCommand, _super);
|
|
8
|
+
function ListMonitorsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListMonitorsCommand.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 = "ListMonitorsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListMonitorsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListMonitorsResponseFilterSensitiveLog,
|
|
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
|
+
ListMonitorsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListMonitorsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListMonitorsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListMonitorsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListMonitorsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListMonitorsCommand };
|
|
@@ -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 { ListPredictorBacktestExportJobsRequestFilterSensitiveLog, ListPredictorBacktestExportJobsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListPredictorBacktestExportJobsCommand, serializeAws_json1_1ListPredictorBacktestExportJobsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListPredictorBacktestExportJobsCommand = (function (_super) {
|
|
7
|
+
__extends(ListPredictorBacktestExportJobsCommand, _super);
|
|
8
|
+
function ListPredictorBacktestExportJobsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListPredictorBacktestExportJobsCommand.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 = "ListPredictorBacktestExportJobsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListPredictorBacktestExportJobsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListPredictorBacktestExportJobsResponseFilterSensitiveLog,
|
|
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
|
+
ListPredictorBacktestExportJobsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListPredictorBacktestExportJobsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListPredictorBacktestExportJobsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListPredictorBacktestExportJobsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListPredictorBacktestExportJobsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListPredictorBacktestExportJobsCommand };
|
|
@@ -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 { ListPredictorsRequestFilterSensitiveLog, ListPredictorsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListPredictorsCommand, serializeAws_json1_1ListPredictorsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListPredictorsCommand = (function (_super) {
|
|
7
|
+
__extends(ListPredictorsCommand, _super);
|
|
8
|
+
function ListPredictorsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListPredictorsCommand.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 = "ListPredictorsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListPredictorsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListPredictorsResponseFilterSensitiveLog,
|
|
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
|
+
ListPredictorsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListPredictorsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListPredictorsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListPredictorsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListPredictorsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListPredictorsCommand };
|
|
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListTagsForResourceCommand = (function (_super) {
|
|
7
|
+
__extends(ListTagsForResourceCommand, _super);
|
|
8
|
+
function ListTagsForResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
|
|
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
|
+
ListTagsForResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListTagsForResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListTagsForResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTagsForResourceCommand };
|
|
@@ -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 { ListWhatIfAnalysesRequestFilterSensitiveLog, ListWhatIfAnalysesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListWhatIfAnalysesCommand, serializeAws_json1_1ListWhatIfAnalysesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListWhatIfAnalysesCommand.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 = "ListWhatIfAnalysesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListWhatIfAnalysesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListWhatIfAnalysesResponseFilterSensitiveLog,
|
|
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
|
+
ListWhatIfAnalysesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListWhatIfAnalysesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListWhatIfAnalysesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListWhatIfAnalysesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListWhatIfAnalysesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListWhatIfAnalysesCommand };
|
|
@@ -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 { ListWhatIfForecastExportsRequestFilterSensitiveLog, ListWhatIfForecastExportsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListWhatIfForecastExportsCommand, serializeAws_json1_1ListWhatIfForecastExportsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListWhatIfForecastExportsCommand = (function (_super) {
|
|
7
|
+
__extends(ListWhatIfForecastExportsCommand, _super);
|
|
8
|
+
function ListWhatIfForecastExportsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListWhatIfForecastExportsCommand.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 = "ListWhatIfForecastExportsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListWhatIfForecastExportsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListWhatIfForecastExportsResponseFilterSensitiveLog,
|
|
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
|
+
ListWhatIfForecastExportsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListWhatIfForecastExportsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListWhatIfForecastExportsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListWhatIfForecastExportsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListWhatIfForecastExportsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListWhatIfForecastExportsCommand };
|
|
@@ -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 { ListWhatIfForecastsRequestFilterSensitiveLog, ListWhatIfForecastsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListWhatIfForecastsCommand, serializeAws_json1_1ListWhatIfForecastsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListWhatIfForecastsCommand = (function (_super) {
|
|
7
|
+
__extends(ListWhatIfForecastsCommand, _super);
|
|
8
|
+
function ListWhatIfForecastsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListWhatIfForecastsCommand.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 = "ListWhatIfForecastsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListWhatIfForecastsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListWhatIfForecastsResponseFilterSensitiveLog,
|
|
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
|
+
ListWhatIfForecastsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListWhatIfForecastsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListWhatIfForecastsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListWhatIfForecastsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListWhatIfForecastsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListWhatIfForecastsCommand };
|
|
@@ -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 { ResumeResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ResumeResourceCommand, serializeAws_json1_1ResumeResourceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ResumeResourceCommand = (function (_super) {
|
|
7
|
+
__extends(ResumeResourceCommand, _super);
|
|
8
|
+
function ResumeResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ResumeResourceCommand.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 = "ResumeResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ResumeResourceRequestFilterSensitiveLog,
|
|
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
|
+
ResumeResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ResumeResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ResumeResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ResumeResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ResumeResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ResumeResourceCommand };
|