@aws-sdk/client-forecast 3.39.0 → 3.43.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 +41 -0
- package/README.md +7 -7
- package/dist-cjs/Forecast.js +150 -0
- package/dist-cjs/commands/CreateAutoPredictorCommand.js +36 -0
- package/dist-cjs/commands/CreateExplainabilityCommand.js +36 -0
- package/dist-cjs/commands/CreateExplainabilityExportCommand.js +36 -0
- package/dist-cjs/commands/DeleteExplainabilityCommand.js +36 -0
- package/dist-cjs/commands/DeleteExplainabilityExportCommand.js +36 -0
- package/dist-cjs/commands/DescribeAutoPredictorCommand.js +36 -0
- package/dist-cjs/commands/DescribeExplainabilityCommand.js +36 -0
- package/dist-cjs/commands/DescribeExplainabilityExportCommand.js +36 -0
- package/dist-cjs/commands/ListExplainabilitiesCommand.js +36 -0
- package/dist-cjs/commands/ListExplainabilityExportsCommand.js +36 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/endpoints.js +107 -14
- package/dist-cjs/models/models_0.js +236 -61
- package/dist-cjs/protocols/Aws_json1_1.js +1280 -98
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/Forecast.js +150 -0
- package/dist-es/commands/CreateAutoPredictorCommand.js +39 -0
- package/dist-es/commands/CreateExplainabilityCommand.js +39 -0
- package/dist-es/commands/CreateExplainabilityExportCommand.js +39 -0
- package/dist-es/commands/DeleteExplainabilityCommand.js +39 -0
- package/dist-es/commands/DeleteExplainabilityExportCommand.js +39 -0
- package/dist-es/commands/DescribeAutoPredictorCommand.js +39 -0
- package/dist-es/commands/DescribeExplainabilityCommand.js +39 -0
- package/dist-es/commands/DescribeExplainabilityExportCommand.js +39 -0
- package/dist-es/commands/ListExplainabilitiesCommand.js +39 -0
- package/dist-es/commands/ListExplainabilityExportsCommand.js +39 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoints.js +107 -14
- package/dist-es/models/models_0.js +160 -40
- package/dist-es/protocols/Aws_json1_1.js +1364 -138
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Forecast.d.ts +278 -19
- package/dist-types/ForecastClient.d.ts +20 -2
- package/dist-types/commands/CreateAutoPredictorCommand.d.ts +83 -0
- package/dist-types/commands/CreateDatasetCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatasetGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatasetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateExplainabilityCommand.d.ts +153 -0
- package/dist-types/commands/CreateExplainabilityExportCommand.d.ts +43 -0
- package/dist-types/commands/CreateForecastCommand.d.ts +1 -1
- package/dist-types/commands/CreateForecastExportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreatePredictorBacktestExportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreatePredictorCommand.d.ts +20 -19
- package/dist-types/commands/DeleteDatasetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDatasetGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDatasetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteExplainabilityCommand.d.ts +37 -0
- package/dist-types/commands/DeleteExplainabilityExportCommand.d.ts +35 -0
- package/dist-types/commands/DeleteForecastCommand.d.ts +1 -1
- package/dist-types/commands/DeleteForecastExportJobCommand.d.ts +1 -1
- package/dist-types/commands/DeletePredictorBacktestExportJobCommand.d.ts +1 -1
- package/dist-types/commands/DeletePredictorCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourceTreeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutoPredictorCommand.d.ts +35 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDatasetGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDatasetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExplainabilityCommand.d.ts +35 -0
- package/dist-types/commands/DescribeExplainabilityExportCommand.d.ts +35 -0
- package/dist-types/commands/DescribeForecastCommand.d.ts +1 -1
- package/dist-types/commands/DescribeForecastExportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribePredictorBacktestExportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribePredictorCommand.d.ts +7 -2
- package/dist-types/commands/GetAccuracyMetricsCommand.d.ts +1 -1
- package/dist-types/commands/ListDatasetGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListDatasetImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListDatasetsCommand.d.ts +1 -1
- package/dist-types/commands/ListExplainabilitiesCommand.d.ts +39 -0
- package/dist-types/commands/ListExplainabilityExportsCommand.d.ts +38 -0
- package/dist-types/commands/ListForecastExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListForecastsCommand.d.ts +1 -1
- package/dist-types/commands/ListPredictorBacktestExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListPredictorsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StopResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDatasetGroupCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1720 -271
- package/dist-types/protocols/Aws_json1_1.d.ts +30 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/Forecast.d.ts +50 -0
- package/dist-types/ts3.4/ForecastClient.d.ts +16 -2
- package/dist-types/ts3.4/commands/CreateAutoPredictorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateExplainabilityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateExplainabilityExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteExplainabilityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteExplainabilityExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAutoPredictorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExplainabilityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExplainabilityExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExplainabilitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExplainabilityExportsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +484 -83
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +30 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,47 @@
|
|
|
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.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-forecast
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
48
|
|
|
8
49
|
**Note:** Version bump only for package @aws-sdk/client-forecast
|
package/README.md
CHANGED
|
@@ -24,16 +24,16 @@ using your favorite package manager:
|
|
|
24
24
|
|
|
25
25
|
The AWS SDK is modulized by clients and commands.
|
|
26
26
|
To send a request, you only need to import the `ForecastClient` and
|
|
27
|
-
the commands you need, for example `
|
|
27
|
+
the commands you need, for example `CreateAutoPredictorCommand`:
|
|
28
28
|
|
|
29
29
|
```js
|
|
30
30
|
// ES5 example
|
|
31
|
-
const { ForecastClient,
|
|
31
|
+
const { ForecastClient, CreateAutoPredictorCommand } = require("@aws-sdk/client-forecast");
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
```ts
|
|
35
35
|
// ES6+ example
|
|
36
|
-
import { ForecastClient,
|
|
36
|
+
import { ForecastClient, CreateAutoPredictorCommand } from "@aws-sdk/client-forecast";
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
### Usage
|
|
@@ -52,7 +52,7 @@ const client = new ForecastClient({ region: "REGION" });
|
|
|
52
52
|
const params = {
|
|
53
53
|
/** input parameters */
|
|
54
54
|
};
|
|
55
|
-
const command = new
|
|
55
|
+
const command = new CreateAutoPredictorCommand(params);
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
#### Async/await
|
|
@@ -131,7 +131,7 @@ const client = new AWS.Forecast({ region: "REGION" });
|
|
|
131
131
|
|
|
132
132
|
// async/await.
|
|
133
133
|
try {
|
|
134
|
-
const data = await client.
|
|
134
|
+
const data = await client.createAutoPredictor(params);
|
|
135
135
|
// process data.
|
|
136
136
|
} catch (error) {
|
|
137
137
|
// error handling.
|
|
@@ -139,7 +139,7 @@ try {
|
|
|
139
139
|
|
|
140
140
|
// Promises.
|
|
141
141
|
client
|
|
142
|
-
.
|
|
142
|
+
.createAutoPredictor(params)
|
|
143
143
|
.then((data) => {
|
|
144
144
|
// process data.
|
|
145
145
|
})
|
|
@@ -148,7 +148,7 @@ client
|
|
|
148
148
|
});
|
|
149
149
|
|
|
150
150
|
// callbacks.
|
|
151
|
-
client.
|
|
151
|
+
client.createAutoPredictor(params, (err, data) => {
|
|
152
152
|
// proccess err and data.
|
|
153
153
|
});
|
|
154
154
|
```
|
package/dist-cjs/Forecast.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Forecast = void 0;
|
|
4
|
+
const CreateAutoPredictorCommand_1 = require("./commands/CreateAutoPredictorCommand");
|
|
4
5
|
const CreateDatasetCommand_1 = require("./commands/CreateDatasetCommand");
|
|
5
6
|
const CreateDatasetGroupCommand_1 = require("./commands/CreateDatasetGroupCommand");
|
|
6
7
|
const CreateDatasetImportJobCommand_1 = require("./commands/CreateDatasetImportJobCommand");
|
|
8
|
+
const CreateExplainabilityCommand_1 = require("./commands/CreateExplainabilityCommand");
|
|
9
|
+
const CreateExplainabilityExportCommand_1 = require("./commands/CreateExplainabilityExportCommand");
|
|
7
10
|
const CreateForecastCommand_1 = require("./commands/CreateForecastCommand");
|
|
8
11
|
const CreateForecastExportJobCommand_1 = require("./commands/CreateForecastExportJobCommand");
|
|
9
12
|
const CreatePredictorBacktestExportJobCommand_1 = require("./commands/CreatePredictorBacktestExportJobCommand");
|
|
@@ -11,14 +14,19 @@ const CreatePredictorCommand_1 = require("./commands/CreatePredictorCommand");
|
|
|
11
14
|
const DeleteDatasetCommand_1 = require("./commands/DeleteDatasetCommand");
|
|
12
15
|
const DeleteDatasetGroupCommand_1 = require("./commands/DeleteDatasetGroupCommand");
|
|
13
16
|
const DeleteDatasetImportJobCommand_1 = require("./commands/DeleteDatasetImportJobCommand");
|
|
17
|
+
const DeleteExplainabilityCommand_1 = require("./commands/DeleteExplainabilityCommand");
|
|
18
|
+
const DeleteExplainabilityExportCommand_1 = require("./commands/DeleteExplainabilityExportCommand");
|
|
14
19
|
const DeleteForecastCommand_1 = require("./commands/DeleteForecastCommand");
|
|
15
20
|
const DeleteForecastExportJobCommand_1 = require("./commands/DeleteForecastExportJobCommand");
|
|
16
21
|
const DeletePredictorBacktestExportJobCommand_1 = require("./commands/DeletePredictorBacktestExportJobCommand");
|
|
17
22
|
const DeletePredictorCommand_1 = require("./commands/DeletePredictorCommand");
|
|
18
23
|
const DeleteResourceTreeCommand_1 = require("./commands/DeleteResourceTreeCommand");
|
|
24
|
+
const DescribeAutoPredictorCommand_1 = require("./commands/DescribeAutoPredictorCommand");
|
|
19
25
|
const DescribeDatasetCommand_1 = require("./commands/DescribeDatasetCommand");
|
|
20
26
|
const DescribeDatasetGroupCommand_1 = require("./commands/DescribeDatasetGroupCommand");
|
|
21
27
|
const DescribeDatasetImportJobCommand_1 = require("./commands/DescribeDatasetImportJobCommand");
|
|
28
|
+
const DescribeExplainabilityCommand_1 = require("./commands/DescribeExplainabilityCommand");
|
|
29
|
+
const DescribeExplainabilityExportCommand_1 = require("./commands/DescribeExplainabilityExportCommand");
|
|
22
30
|
const DescribeForecastCommand_1 = require("./commands/DescribeForecastCommand");
|
|
23
31
|
const DescribeForecastExportJobCommand_1 = require("./commands/DescribeForecastExportJobCommand");
|
|
24
32
|
const DescribePredictorBacktestExportJobCommand_1 = require("./commands/DescribePredictorBacktestExportJobCommand");
|
|
@@ -27,6 +35,8 @@ const GetAccuracyMetricsCommand_1 = require("./commands/GetAccuracyMetricsComman
|
|
|
27
35
|
const ListDatasetGroupsCommand_1 = require("./commands/ListDatasetGroupsCommand");
|
|
28
36
|
const ListDatasetImportJobsCommand_1 = require("./commands/ListDatasetImportJobsCommand");
|
|
29
37
|
const ListDatasetsCommand_1 = require("./commands/ListDatasetsCommand");
|
|
38
|
+
const ListExplainabilitiesCommand_1 = require("./commands/ListExplainabilitiesCommand");
|
|
39
|
+
const ListExplainabilityExportsCommand_1 = require("./commands/ListExplainabilityExportsCommand");
|
|
30
40
|
const ListForecastExportJobsCommand_1 = require("./commands/ListForecastExportJobsCommand");
|
|
31
41
|
const ListForecastsCommand_1 = require("./commands/ListForecastsCommand");
|
|
32
42
|
const ListPredictorBacktestExportJobsCommand_1 = require("./commands/ListPredictorBacktestExportJobsCommand");
|
|
@@ -38,6 +48,20 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
|
38
48
|
const UpdateDatasetGroupCommand_1 = require("./commands/UpdateDatasetGroupCommand");
|
|
39
49
|
const ForecastClient_1 = require("./ForecastClient");
|
|
40
50
|
class Forecast extends ForecastClient_1.ForecastClient {
|
|
51
|
+
createAutoPredictor(args, optionsOrCb, cb) {
|
|
52
|
+
const command = new CreateAutoPredictorCommand_1.CreateAutoPredictorCommand(args);
|
|
53
|
+
if (typeof optionsOrCb === "function") {
|
|
54
|
+
this.send(command, optionsOrCb);
|
|
55
|
+
}
|
|
56
|
+
else if (typeof cb === "function") {
|
|
57
|
+
if (typeof optionsOrCb !== "object")
|
|
58
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
59
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
return this.send(command, optionsOrCb);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
41
65
|
createDataset(args, optionsOrCb, cb) {
|
|
42
66
|
const command = new CreateDatasetCommand_1.CreateDatasetCommand(args);
|
|
43
67
|
if (typeof optionsOrCb === "function") {
|
|
@@ -80,6 +104,34 @@ class Forecast extends ForecastClient_1.ForecastClient {
|
|
|
80
104
|
return this.send(command, optionsOrCb);
|
|
81
105
|
}
|
|
82
106
|
}
|
|
107
|
+
createExplainability(args, optionsOrCb, cb) {
|
|
108
|
+
const command = new CreateExplainabilityCommand_1.CreateExplainabilityCommand(args);
|
|
109
|
+
if (typeof optionsOrCb === "function") {
|
|
110
|
+
this.send(command, optionsOrCb);
|
|
111
|
+
}
|
|
112
|
+
else if (typeof cb === "function") {
|
|
113
|
+
if (typeof optionsOrCb !== "object")
|
|
114
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
115
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
return this.send(command, optionsOrCb);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
createExplainabilityExport(args, optionsOrCb, cb) {
|
|
122
|
+
const command = new CreateExplainabilityExportCommand_1.CreateExplainabilityExportCommand(args);
|
|
123
|
+
if (typeof optionsOrCb === "function") {
|
|
124
|
+
this.send(command, optionsOrCb);
|
|
125
|
+
}
|
|
126
|
+
else if (typeof cb === "function") {
|
|
127
|
+
if (typeof optionsOrCb !== "object")
|
|
128
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
129
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
return this.send(command, optionsOrCb);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
83
135
|
createForecast(args, optionsOrCb, cb) {
|
|
84
136
|
const command = new CreateForecastCommand_1.CreateForecastCommand(args);
|
|
85
137
|
if (typeof optionsOrCb === "function") {
|
|
@@ -178,6 +230,34 @@ class Forecast extends ForecastClient_1.ForecastClient {
|
|
|
178
230
|
return this.send(command, optionsOrCb);
|
|
179
231
|
}
|
|
180
232
|
}
|
|
233
|
+
deleteExplainability(args, optionsOrCb, cb) {
|
|
234
|
+
const command = new DeleteExplainabilityCommand_1.DeleteExplainabilityCommand(args);
|
|
235
|
+
if (typeof optionsOrCb === "function") {
|
|
236
|
+
this.send(command, optionsOrCb);
|
|
237
|
+
}
|
|
238
|
+
else if (typeof cb === "function") {
|
|
239
|
+
if (typeof optionsOrCb !== "object")
|
|
240
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
241
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
return this.send(command, optionsOrCb);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
deleteExplainabilityExport(args, optionsOrCb, cb) {
|
|
248
|
+
const command = new DeleteExplainabilityExportCommand_1.DeleteExplainabilityExportCommand(args);
|
|
249
|
+
if (typeof optionsOrCb === "function") {
|
|
250
|
+
this.send(command, optionsOrCb);
|
|
251
|
+
}
|
|
252
|
+
else if (typeof cb === "function") {
|
|
253
|
+
if (typeof optionsOrCb !== "object")
|
|
254
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
255
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
256
|
+
}
|
|
257
|
+
else {
|
|
258
|
+
return this.send(command, optionsOrCb);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
181
261
|
deleteForecast(args, optionsOrCb, cb) {
|
|
182
262
|
const command = new DeleteForecastCommand_1.DeleteForecastCommand(args);
|
|
183
263
|
if (typeof optionsOrCb === "function") {
|
|
@@ -248,6 +328,20 @@ class Forecast extends ForecastClient_1.ForecastClient {
|
|
|
248
328
|
return this.send(command, optionsOrCb);
|
|
249
329
|
}
|
|
250
330
|
}
|
|
331
|
+
describeAutoPredictor(args, optionsOrCb, cb) {
|
|
332
|
+
const command = new DescribeAutoPredictorCommand_1.DescribeAutoPredictorCommand(args);
|
|
333
|
+
if (typeof optionsOrCb === "function") {
|
|
334
|
+
this.send(command, optionsOrCb);
|
|
335
|
+
}
|
|
336
|
+
else if (typeof cb === "function") {
|
|
337
|
+
if (typeof optionsOrCb !== "object")
|
|
338
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
339
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
340
|
+
}
|
|
341
|
+
else {
|
|
342
|
+
return this.send(command, optionsOrCb);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
251
345
|
describeDataset(args, optionsOrCb, cb) {
|
|
252
346
|
const command = new DescribeDatasetCommand_1.DescribeDatasetCommand(args);
|
|
253
347
|
if (typeof optionsOrCb === "function") {
|
|
@@ -290,6 +384,34 @@ class Forecast extends ForecastClient_1.ForecastClient {
|
|
|
290
384
|
return this.send(command, optionsOrCb);
|
|
291
385
|
}
|
|
292
386
|
}
|
|
387
|
+
describeExplainability(args, optionsOrCb, cb) {
|
|
388
|
+
const command = new DescribeExplainabilityCommand_1.DescribeExplainabilityCommand(args);
|
|
389
|
+
if (typeof optionsOrCb === "function") {
|
|
390
|
+
this.send(command, optionsOrCb);
|
|
391
|
+
}
|
|
392
|
+
else if (typeof cb === "function") {
|
|
393
|
+
if (typeof optionsOrCb !== "object")
|
|
394
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
395
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
396
|
+
}
|
|
397
|
+
else {
|
|
398
|
+
return this.send(command, optionsOrCb);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
describeExplainabilityExport(args, optionsOrCb, cb) {
|
|
402
|
+
const command = new DescribeExplainabilityExportCommand_1.DescribeExplainabilityExportCommand(args);
|
|
403
|
+
if (typeof optionsOrCb === "function") {
|
|
404
|
+
this.send(command, optionsOrCb);
|
|
405
|
+
}
|
|
406
|
+
else if (typeof cb === "function") {
|
|
407
|
+
if (typeof optionsOrCb !== "object")
|
|
408
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
409
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
410
|
+
}
|
|
411
|
+
else {
|
|
412
|
+
return this.send(command, optionsOrCb);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
293
415
|
describeForecast(args, optionsOrCb, cb) {
|
|
294
416
|
const command = new DescribeForecastCommand_1.DescribeForecastCommand(args);
|
|
295
417
|
if (typeof optionsOrCb === "function") {
|
|
@@ -402,6 +524,34 @@ class Forecast extends ForecastClient_1.ForecastClient {
|
|
|
402
524
|
return this.send(command, optionsOrCb);
|
|
403
525
|
}
|
|
404
526
|
}
|
|
527
|
+
listExplainabilities(args, optionsOrCb, cb) {
|
|
528
|
+
const command = new ListExplainabilitiesCommand_1.ListExplainabilitiesCommand(args);
|
|
529
|
+
if (typeof optionsOrCb === "function") {
|
|
530
|
+
this.send(command, optionsOrCb);
|
|
531
|
+
}
|
|
532
|
+
else if (typeof cb === "function") {
|
|
533
|
+
if (typeof optionsOrCb !== "object")
|
|
534
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
535
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
536
|
+
}
|
|
537
|
+
else {
|
|
538
|
+
return this.send(command, optionsOrCb);
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
listExplainabilityExports(args, optionsOrCb, cb) {
|
|
542
|
+
const command = new ListExplainabilityExportsCommand_1.ListExplainabilityExportsCommand(args);
|
|
543
|
+
if (typeof optionsOrCb === "function") {
|
|
544
|
+
this.send(command, optionsOrCb);
|
|
545
|
+
}
|
|
546
|
+
else if (typeof cb === "function") {
|
|
547
|
+
if (typeof optionsOrCb !== "object")
|
|
548
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
549
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
550
|
+
}
|
|
551
|
+
else {
|
|
552
|
+
return this.send(command, optionsOrCb);
|
|
553
|
+
}
|
|
554
|
+
}
|
|
405
555
|
listForecastExportJobs(args, optionsOrCb, cb) {
|
|
406
556
|
const command = new ListForecastExportJobsCommand_1.ListForecastExportJobsCommand(args);
|
|
407
557
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateAutoPredictorCommand = 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 CreateAutoPredictorCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(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 = "CreateAutoPredictorCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateAutoPredictorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateAutoPredictorResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1CreateAutoPredictorCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreateAutoPredictorCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateAutoPredictorCommand = CreateAutoPredictorCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateExplainabilityCommand = 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 CreateExplainabilityCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(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 = "CreateExplainabilityCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateExplainabilityRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateExplainabilityResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1CreateExplainabilityCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreateExplainabilityCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateExplainabilityCommand = CreateExplainabilityCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateExplainabilityExportCommand = 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 CreateExplainabilityExportCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(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 = "CreateExplainabilityExportCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateExplainabilityExportRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateExplainabilityExportResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1CreateExplainabilityExportCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreateExplainabilityExportCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateExplainabilityExportCommand = CreateExplainabilityExportCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteExplainabilityCommand = 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 DeleteExplainabilityCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(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 = "DeleteExplainabilityCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteExplainabilityRequest.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 Aws_json1_1_1.serializeAws_json1_1DeleteExplainabilityCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DeleteExplainabilityCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteExplainabilityCommand = DeleteExplainabilityCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteExplainabilityExportCommand = 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 DeleteExplainabilityExportCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(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 = "DeleteExplainabilityExportCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteExplainabilityExportRequest.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 Aws_json1_1_1.serializeAws_json1_1DeleteExplainabilityExportCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DeleteExplainabilityExportCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteExplainabilityExportCommand = DeleteExplainabilityExportCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeAutoPredictorCommand = 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 DescribeAutoPredictorCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(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 = "DescribeAutoPredictorCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeAutoPredictorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeAutoPredictorResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DescribeAutoPredictorCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DescribeAutoPredictorCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeAutoPredictorCommand = DescribeAutoPredictorCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeExplainabilityCommand = 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 DescribeExplainabilityCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(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 = "DescribeExplainabilityCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeExplainabilityRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeExplainabilityResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DescribeExplainabilityCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DescribeExplainabilityCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeExplainabilityCommand = DescribeExplainabilityCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeExplainabilityExportCommand = 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 DescribeExplainabilityExportCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(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 = "DescribeExplainabilityExportCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeExplainabilityExportRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeExplainabilityExportResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DescribeExplainabilityExportCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DescribeExplainabilityExportCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeExplainabilityExportCommand = DescribeExplainabilityExportCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListExplainabilitiesCommand = 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 ListExplainabilitiesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(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 = "ListExplainabilitiesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListExplainabilitiesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListExplainabilitiesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1ListExplainabilitiesCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1ListExplainabilitiesCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListExplainabilitiesCommand = ListExplainabilitiesCommand;
|