@aws-sdk/client-forecast 3.312.0 → 3.315.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/dist-cjs/protocols/Aws_json1_1.js +749 -2313
- package/dist-es/protocols/Aws_json1_1.js +750 -2314
- package/package.json +6 -6
|
@@ -10,63 +10,63 @@ const models_0_1 = require("../models/models_0");
|
|
|
10
10
|
const se_CreateAutoPredictorCommand = async (input, context) => {
|
|
11
11
|
const headers = sharedHeaders("CreateAutoPredictor");
|
|
12
12
|
let body;
|
|
13
|
-
body = JSON.stringify(
|
|
13
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
14
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
15
15
|
};
|
|
16
16
|
exports.se_CreateAutoPredictorCommand = se_CreateAutoPredictorCommand;
|
|
17
17
|
const se_CreateDatasetCommand = async (input, context) => {
|
|
18
18
|
const headers = sharedHeaders("CreateDataset");
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
23
|
exports.se_CreateDatasetCommand = se_CreateDatasetCommand;
|
|
24
24
|
const se_CreateDatasetGroupCommand = async (input, context) => {
|
|
25
25
|
const headers = sharedHeaders("CreateDatasetGroup");
|
|
26
26
|
let body;
|
|
27
|
-
body = JSON.stringify(
|
|
27
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
28
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
29
|
};
|
|
30
30
|
exports.se_CreateDatasetGroupCommand = se_CreateDatasetGroupCommand;
|
|
31
31
|
const se_CreateDatasetImportJobCommand = async (input, context) => {
|
|
32
32
|
const headers = sharedHeaders("CreateDatasetImportJob");
|
|
33
33
|
let body;
|
|
34
|
-
body = JSON.stringify(
|
|
34
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
35
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
36
|
};
|
|
37
37
|
exports.se_CreateDatasetImportJobCommand = se_CreateDatasetImportJobCommand;
|
|
38
38
|
const se_CreateExplainabilityCommand = async (input, context) => {
|
|
39
39
|
const headers = sharedHeaders("CreateExplainability");
|
|
40
40
|
let body;
|
|
41
|
-
body = JSON.stringify(
|
|
41
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
42
42
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
43
43
|
};
|
|
44
44
|
exports.se_CreateExplainabilityCommand = se_CreateExplainabilityCommand;
|
|
45
45
|
const se_CreateExplainabilityExportCommand = async (input, context) => {
|
|
46
46
|
const headers = sharedHeaders("CreateExplainabilityExport");
|
|
47
47
|
let body;
|
|
48
|
-
body = JSON.stringify(
|
|
48
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
49
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
50
|
};
|
|
51
51
|
exports.se_CreateExplainabilityExportCommand = se_CreateExplainabilityExportCommand;
|
|
52
52
|
const se_CreateForecastCommand = async (input, context) => {
|
|
53
53
|
const headers = sharedHeaders("CreateForecast");
|
|
54
54
|
let body;
|
|
55
|
-
body = JSON.stringify(
|
|
55
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
56
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
57
57
|
};
|
|
58
58
|
exports.se_CreateForecastCommand = se_CreateForecastCommand;
|
|
59
59
|
const se_CreateForecastExportJobCommand = async (input, context) => {
|
|
60
60
|
const headers = sharedHeaders("CreateForecastExportJob");
|
|
61
61
|
let body;
|
|
62
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
63
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
64
64
|
};
|
|
65
65
|
exports.se_CreateForecastExportJobCommand = se_CreateForecastExportJobCommand;
|
|
66
66
|
const se_CreateMonitorCommand = async (input, context) => {
|
|
67
67
|
const headers = sharedHeaders("CreateMonitor");
|
|
68
68
|
let body;
|
|
69
|
-
body = JSON.stringify(
|
|
69
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
70
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
71
|
};
|
|
72
72
|
exports.se_CreateMonitorCommand = se_CreateMonitorCommand;
|
|
@@ -80,14 +80,14 @@ exports.se_CreatePredictorCommand = se_CreatePredictorCommand;
|
|
|
80
80
|
const se_CreatePredictorBacktestExportJobCommand = async (input, context) => {
|
|
81
81
|
const headers = sharedHeaders("CreatePredictorBacktestExportJob");
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
86
|
exports.se_CreatePredictorBacktestExportJobCommand = se_CreatePredictorBacktestExportJobCommand;
|
|
87
87
|
const se_CreateWhatIfAnalysisCommand = async (input, context) => {
|
|
88
88
|
const headers = sharedHeaders("CreateWhatIfAnalysis");
|
|
89
89
|
let body;
|
|
90
|
-
body = JSON.stringify(
|
|
90
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
91
91
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
92
92
|
};
|
|
93
93
|
exports.se_CreateWhatIfAnalysisCommand = se_CreateWhatIfAnalysisCommand;
|
|
@@ -101,350 +101,350 @@ exports.se_CreateWhatIfForecastCommand = se_CreateWhatIfForecastCommand;
|
|
|
101
101
|
const se_CreateWhatIfForecastExportCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("CreateWhatIfForecastExport");
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
107
|
exports.se_CreateWhatIfForecastExportCommand = se_CreateWhatIfForecastExportCommand;
|
|
108
108
|
const se_DeleteDatasetCommand = async (input, context) => {
|
|
109
109
|
const headers = sharedHeaders("DeleteDataset");
|
|
110
110
|
let body;
|
|
111
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
112
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
113
|
};
|
|
114
114
|
exports.se_DeleteDatasetCommand = se_DeleteDatasetCommand;
|
|
115
115
|
const se_DeleteDatasetGroupCommand = async (input, context) => {
|
|
116
116
|
const headers = sharedHeaders("DeleteDatasetGroup");
|
|
117
117
|
let body;
|
|
118
|
-
body = JSON.stringify(
|
|
118
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
119
119
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
120
120
|
};
|
|
121
121
|
exports.se_DeleteDatasetGroupCommand = se_DeleteDatasetGroupCommand;
|
|
122
122
|
const se_DeleteDatasetImportJobCommand = async (input, context) => {
|
|
123
123
|
const headers = sharedHeaders("DeleteDatasetImportJob");
|
|
124
124
|
let body;
|
|
125
|
-
body = JSON.stringify(
|
|
125
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
126
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
127
127
|
};
|
|
128
128
|
exports.se_DeleteDatasetImportJobCommand = se_DeleteDatasetImportJobCommand;
|
|
129
129
|
const se_DeleteExplainabilityCommand = async (input, context) => {
|
|
130
130
|
const headers = sharedHeaders("DeleteExplainability");
|
|
131
131
|
let body;
|
|
132
|
-
body = JSON.stringify(
|
|
132
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
133
133
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
134
134
|
};
|
|
135
135
|
exports.se_DeleteExplainabilityCommand = se_DeleteExplainabilityCommand;
|
|
136
136
|
const se_DeleteExplainabilityExportCommand = async (input, context) => {
|
|
137
137
|
const headers = sharedHeaders("DeleteExplainabilityExport");
|
|
138
138
|
let body;
|
|
139
|
-
body = JSON.stringify(
|
|
139
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
140
140
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
141
141
|
};
|
|
142
142
|
exports.se_DeleteExplainabilityExportCommand = se_DeleteExplainabilityExportCommand;
|
|
143
143
|
const se_DeleteForecastCommand = async (input, context) => {
|
|
144
144
|
const headers = sharedHeaders("DeleteForecast");
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
149
|
exports.se_DeleteForecastCommand = se_DeleteForecastCommand;
|
|
150
150
|
const se_DeleteForecastExportJobCommand = async (input, context) => {
|
|
151
151
|
const headers = sharedHeaders("DeleteForecastExportJob");
|
|
152
152
|
let body;
|
|
153
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
154
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
155
|
};
|
|
156
156
|
exports.se_DeleteForecastExportJobCommand = se_DeleteForecastExportJobCommand;
|
|
157
157
|
const se_DeleteMonitorCommand = async (input, context) => {
|
|
158
158
|
const headers = sharedHeaders("DeleteMonitor");
|
|
159
159
|
let body;
|
|
160
|
-
body = JSON.stringify(
|
|
160
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
161
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
162
|
};
|
|
163
163
|
exports.se_DeleteMonitorCommand = se_DeleteMonitorCommand;
|
|
164
164
|
const se_DeletePredictorCommand = async (input, context) => {
|
|
165
165
|
const headers = sharedHeaders("DeletePredictor");
|
|
166
166
|
let body;
|
|
167
|
-
body = JSON.stringify(
|
|
167
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
168
168
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
169
169
|
};
|
|
170
170
|
exports.se_DeletePredictorCommand = se_DeletePredictorCommand;
|
|
171
171
|
const se_DeletePredictorBacktestExportJobCommand = async (input, context) => {
|
|
172
172
|
const headers = sharedHeaders("DeletePredictorBacktestExportJob");
|
|
173
173
|
let body;
|
|
174
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
175
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
176
|
};
|
|
177
177
|
exports.se_DeletePredictorBacktestExportJobCommand = se_DeletePredictorBacktestExportJobCommand;
|
|
178
178
|
const se_DeleteResourceTreeCommand = async (input, context) => {
|
|
179
179
|
const headers = sharedHeaders("DeleteResourceTree");
|
|
180
180
|
let body;
|
|
181
|
-
body = JSON.stringify(
|
|
181
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
182
182
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
183
183
|
};
|
|
184
184
|
exports.se_DeleteResourceTreeCommand = se_DeleteResourceTreeCommand;
|
|
185
185
|
const se_DeleteWhatIfAnalysisCommand = async (input, context) => {
|
|
186
186
|
const headers = sharedHeaders("DeleteWhatIfAnalysis");
|
|
187
187
|
let body;
|
|
188
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
191
|
exports.se_DeleteWhatIfAnalysisCommand = se_DeleteWhatIfAnalysisCommand;
|
|
192
192
|
const se_DeleteWhatIfForecastCommand = async (input, context) => {
|
|
193
193
|
const headers = sharedHeaders("DeleteWhatIfForecast");
|
|
194
194
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
198
|
exports.se_DeleteWhatIfForecastCommand = se_DeleteWhatIfForecastCommand;
|
|
199
199
|
const se_DeleteWhatIfForecastExportCommand = async (input, context) => {
|
|
200
200
|
const headers = sharedHeaders("DeleteWhatIfForecastExport");
|
|
201
201
|
let body;
|
|
202
|
-
body = JSON.stringify(
|
|
202
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
203
203
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
204
|
};
|
|
205
205
|
exports.se_DeleteWhatIfForecastExportCommand = se_DeleteWhatIfForecastExportCommand;
|
|
206
206
|
const se_DescribeAutoPredictorCommand = async (input, context) => {
|
|
207
207
|
const headers = sharedHeaders("DescribeAutoPredictor");
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
212
|
exports.se_DescribeAutoPredictorCommand = se_DescribeAutoPredictorCommand;
|
|
213
213
|
const se_DescribeDatasetCommand = async (input, context) => {
|
|
214
214
|
const headers = sharedHeaders("DescribeDataset");
|
|
215
215
|
let body;
|
|
216
|
-
body = JSON.stringify(
|
|
216
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
217
217
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
218
218
|
};
|
|
219
219
|
exports.se_DescribeDatasetCommand = se_DescribeDatasetCommand;
|
|
220
220
|
const se_DescribeDatasetGroupCommand = async (input, context) => {
|
|
221
221
|
const headers = sharedHeaders("DescribeDatasetGroup");
|
|
222
222
|
let body;
|
|
223
|
-
body = JSON.stringify(
|
|
223
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
224
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
225
225
|
};
|
|
226
226
|
exports.se_DescribeDatasetGroupCommand = se_DescribeDatasetGroupCommand;
|
|
227
227
|
const se_DescribeDatasetImportJobCommand = async (input, context) => {
|
|
228
228
|
const headers = sharedHeaders("DescribeDatasetImportJob");
|
|
229
229
|
let body;
|
|
230
|
-
body = JSON.stringify(
|
|
230
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
231
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
232
232
|
};
|
|
233
233
|
exports.se_DescribeDatasetImportJobCommand = se_DescribeDatasetImportJobCommand;
|
|
234
234
|
const se_DescribeExplainabilityCommand = async (input, context) => {
|
|
235
235
|
const headers = sharedHeaders("DescribeExplainability");
|
|
236
236
|
let body;
|
|
237
|
-
body = JSON.stringify(
|
|
237
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
238
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
239
|
};
|
|
240
240
|
exports.se_DescribeExplainabilityCommand = se_DescribeExplainabilityCommand;
|
|
241
241
|
const se_DescribeExplainabilityExportCommand = async (input, context) => {
|
|
242
242
|
const headers = sharedHeaders("DescribeExplainabilityExport");
|
|
243
243
|
let body;
|
|
244
|
-
body = JSON.stringify(
|
|
244
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
245
245
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
246
|
};
|
|
247
247
|
exports.se_DescribeExplainabilityExportCommand = se_DescribeExplainabilityExportCommand;
|
|
248
248
|
const se_DescribeForecastCommand = async (input, context) => {
|
|
249
249
|
const headers = sharedHeaders("DescribeForecast");
|
|
250
250
|
let body;
|
|
251
|
-
body = JSON.stringify(
|
|
251
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
252
252
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
253
253
|
};
|
|
254
254
|
exports.se_DescribeForecastCommand = se_DescribeForecastCommand;
|
|
255
255
|
const se_DescribeForecastExportJobCommand = async (input, context) => {
|
|
256
256
|
const headers = sharedHeaders("DescribeForecastExportJob");
|
|
257
257
|
let body;
|
|
258
|
-
body = JSON.stringify(
|
|
258
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
259
259
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
260
260
|
};
|
|
261
261
|
exports.se_DescribeForecastExportJobCommand = se_DescribeForecastExportJobCommand;
|
|
262
262
|
const se_DescribeMonitorCommand = async (input, context) => {
|
|
263
263
|
const headers = sharedHeaders("DescribeMonitor");
|
|
264
264
|
let body;
|
|
265
|
-
body = JSON.stringify(
|
|
265
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
266
266
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
267
|
};
|
|
268
268
|
exports.se_DescribeMonitorCommand = se_DescribeMonitorCommand;
|
|
269
269
|
const se_DescribePredictorCommand = async (input, context) => {
|
|
270
270
|
const headers = sharedHeaders("DescribePredictor");
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
275
|
exports.se_DescribePredictorCommand = se_DescribePredictorCommand;
|
|
276
276
|
const se_DescribePredictorBacktestExportJobCommand = async (input, context) => {
|
|
277
277
|
const headers = sharedHeaders("DescribePredictorBacktestExportJob");
|
|
278
278
|
let body;
|
|
279
|
-
body = JSON.stringify(
|
|
279
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
280
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
281
|
};
|
|
282
282
|
exports.se_DescribePredictorBacktestExportJobCommand = se_DescribePredictorBacktestExportJobCommand;
|
|
283
283
|
const se_DescribeWhatIfAnalysisCommand = async (input, context) => {
|
|
284
284
|
const headers = sharedHeaders("DescribeWhatIfAnalysis");
|
|
285
285
|
let body;
|
|
286
|
-
body = JSON.stringify(
|
|
286
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
287
287
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
288
|
};
|
|
289
289
|
exports.se_DescribeWhatIfAnalysisCommand = se_DescribeWhatIfAnalysisCommand;
|
|
290
290
|
const se_DescribeWhatIfForecastCommand = async (input, context) => {
|
|
291
291
|
const headers = sharedHeaders("DescribeWhatIfForecast");
|
|
292
292
|
let body;
|
|
293
|
-
body = JSON.stringify(
|
|
293
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
294
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
295
295
|
};
|
|
296
296
|
exports.se_DescribeWhatIfForecastCommand = se_DescribeWhatIfForecastCommand;
|
|
297
297
|
const se_DescribeWhatIfForecastExportCommand = async (input, context) => {
|
|
298
298
|
const headers = sharedHeaders("DescribeWhatIfForecastExport");
|
|
299
299
|
let body;
|
|
300
|
-
body = JSON.stringify(
|
|
300
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
301
301
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
302
302
|
};
|
|
303
303
|
exports.se_DescribeWhatIfForecastExportCommand = se_DescribeWhatIfForecastExportCommand;
|
|
304
304
|
const se_GetAccuracyMetricsCommand = async (input, context) => {
|
|
305
305
|
const headers = sharedHeaders("GetAccuracyMetrics");
|
|
306
306
|
let body;
|
|
307
|
-
body = JSON.stringify(
|
|
307
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
308
308
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
309
309
|
};
|
|
310
310
|
exports.se_GetAccuracyMetricsCommand = se_GetAccuracyMetricsCommand;
|
|
311
311
|
const se_ListDatasetGroupsCommand = async (input, context) => {
|
|
312
312
|
const headers = sharedHeaders("ListDatasetGroups");
|
|
313
313
|
let body;
|
|
314
|
-
body = JSON.stringify(
|
|
314
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
315
315
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
316
316
|
};
|
|
317
317
|
exports.se_ListDatasetGroupsCommand = se_ListDatasetGroupsCommand;
|
|
318
318
|
const se_ListDatasetImportJobsCommand = async (input, context) => {
|
|
319
319
|
const headers = sharedHeaders("ListDatasetImportJobs");
|
|
320
320
|
let body;
|
|
321
|
-
body = JSON.stringify(
|
|
321
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
322
322
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
323
|
};
|
|
324
324
|
exports.se_ListDatasetImportJobsCommand = se_ListDatasetImportJobsCommand;
|
|
325
325
|
const se_ListDatasetsCommand = async (input, context) => {
|
|
326
326
|
const headers = sharedHeaders("ListDatasets");
|
|
327
327
|
let body;
|
|
328
|
-
body = JSON.stringify(
|
|
328
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
329
329
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
330
330
|
};
|
|
331
331
|
exports.se_ListDatasetsCommand = se_ListDatasetsCommand;
|
|
332
332
|
const se_ListExplainabilitiesCommand = async (input, context) => {
|
|
333
333
|
const headers = sharedHeaders("ListExplainabilities");
|
|
334
334
|
let body;
|
|
335
|
-
body = JSON.stringify(
|
|
335
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
336
336
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
337
|
};
|
|
338
338
|
exports.se_ListExplainabilitiesCommand = se_ListExplainabilitiesCommand;
|
|
339
339
|
const se_ListExplainabilityExportsCommand = async (input, context) => {
|
|
340
340
|
const headers = sharedHeaders("ListExplainabilityExports");
|
|
341
341
|
let body;
|
|
342
|
-
body = JSON.stringify(
|
|
342
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
343
343
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
344
344
|
};
|
|
345
345
|
exports.se_ListExplainabilityExportsCommand = se_ListExplainabilityExportsCommand;
|
|
346
346
|
const se_ListForecastExportJobsCommand = async (input, context) => {
|
|
347
347
|
const headers = sharedHeaders("ListForecastExportJobs");
|
|
348
348
|
let body;
|
|
349
|
-
body = JSON.stringify(
|
|
349
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
350
350
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
351
351
|
};
|
|
352
352
|
exports.se_ListForecastExportJobsCommand = se_ListForecastExportJobsCommand;
|
|
353
353
|
const se_ListForecastsCommand = async (input, context) => {
|
|
354
354
|
const headers = sharedHeaders("ListForecasts");
|
|
355
355
|
let body;
|
|
356
|
-
body = JSON.stringify(
|
|
356
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
357
357
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
358
358
|
};
|
|
359
359
|
exports.se_ListForecastsCommand = se_ListForecastsCommand;
|
|
360
360
|
const se_ListMonitorEvaluationsCommand = async (input, context) => {
|
|
361
361
|
const headers = sharedHeaders("ListMonitorEvaluations");
|
|
362
362
|
let body;
|
|
363
|
-
body = JSON.stringify(
|
|
363
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
364
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
365
|
};
|
|
366
366
|
exports.se_ListMonitorEvaluationsCommand = se_ListMonitorEvaluationsCommand;
|
|
367
367
|
const se_ListMonitorsCommand = async (input, context) => {
|
|
368
368
|
const headers = sharedHeaders("ListMonitors");
|
|
369
369
|
let body;
|
|
370
|
-
body = JSON.stringify(
|
|
370
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
371
371
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
372
372
|
};
|
|
373
373
|
exports.se_ListMonitorsCommand = se_ListMonitorsCommand;
|
|
374
374
|
const se_ListPredictorBacktestExportJobsCommand = async (input, context) => {
|
|
375
375
|
const headers = sharedHeaders("ListPredictorBacktestExportJobs");
|
|
376
376
|
let body;
|
|
377
|
-
body = JSON.stringify(
|
|
377
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
378
378
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
379
379
|
};
|
|
380
380
|
exports.se_ListPredictorBacktestExportJobsCommand = se_ListPredictorBacktestExportJobsCommand;
|
|
381
381
|
const se_ListPredictorsCommand = async (input, context) => {
|
|
382
382
|
const headers = sharedHeaders("ListPredictors");
|
|
383
383
|
let body;
|
|
384
|
-
body = JSON.stringify(
|
|
384
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
385
385
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
386
386
|
};
|
|
387
387
|
exports.se_ListPredictorsCommand = se_ListPredictorsCommand;
|
|
388
388
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
389
389
|
const headers = sharedHeaders("ListTagsForResource");
|
|
390
390
|
let body;
|
|
391
|
-
body = JSON.stringify(
|
|
391
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
392
392
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
393
393
|
};
|
|
394
394
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
395
395
|
const se_ListWhatIfAnalysesCommand = async (input, context) => {
|
|
396
396
|
const headers = sharedHeaders("ListWhatIfAnalyses");
|
|
397
397
|
let body;
|
|
398
|
-
body = JSON.stringify(
|
|
398
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
399
399
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
400
400
|
};
|
|
401
401
|
exports.se_ListWhatIfAnalysesCommand = se_ListWhatIfAnalysesCommand;
|
|
402
402
|
const se_ListWhatIfForecastExportsCommand = async (input, context) => {
|
|
403
403
|
const headers = sharedHeaders("ListWhatIfForecastExports");
|
|
404
404
|
let body;
|
|
405
|
-
body = JSON.stringify(
|
|
405
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
406
406
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
407
407
|
};
|
|
408
408
|
exports.se_ListWhatIfForecastExportsCommand = se_ListWhatIfForecastExportsCommand;
|
|
409
409
|
const se_ListWhatIfForecastsCommand = async (input, context) => {
|
|
410
410
|
const headers = sharedHeaders("ListWhatIfForecasts");
|
|
411
411
|
let body;
|
|
412
|
-
body = JSON.stringify(
|
|
412
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
413
413
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
414
414
|
};
|
|
415
415
|
exports.se_ListWhatIfForecastsCommand = se_ListWhatIfForecastsCommand;
|
|
416
416
|
const se_ResumeResourceCommand = async (input, context) => {
|
|
417
417
|
const headers = sharedHeaders("ResumeResource");
|
|
418
418
|
let body;
|
|
419
|
-
body = JSON.stringify(
|
|
419
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
420
420
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
421
421
|
};
|
|
422
422
|
exports.se_ResumeResourceCommand = se_ResumeResourceCommand;
|
|
423
423
|
const se_StopResourceCommand = async (input, context) => {
|
|
424
424
|
const headers = sharedHeaders("StopResource");
|
|
425
425
|
let body;
|
|
426
|
-
body = JSON.stringify(
|
|
426
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
427
427
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
428
428
|
};
|
|
429
429
|
exports.se_StopResourceCommand = se_StopResourceCommand;
|
|
430
430
|
const se_TagResourceCommand = async (input, context) => {
|
|
431
431
|
const headers = sharedHeaders("TagResource");
|
|
432
432
|
let body;
|
|
433
|
-
body = JSON.stringify(
|
|
433
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
434
434
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
435
435
|
};
|
|
436
436
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
437
437
|
const se_UntagResourceCommand = async (input, context) => {
|
|
438
438
|
const headers = sharedHeaders("UntagResource");
|
|
439
439
|
let body;
|
|
440
|
-
body = JSON.stringify(
|
|
440
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
441
441
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
442
442
|
};
|
|
443
443
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
444
444
|
const se_UpdateDatasetGroupCommand = async (input, context) => {
|
|
445
445
|
const headers = sharedHeaders("UpdateDatasetGroup");
|
|
446
446
|
let body;
|
|
447
|
-
body = JSON.stringify(
|
|
447
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
448
448
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
449
449
|
};
|
|
450
450
|
exports.se_UpdateDatasetGroupCommand = se_UpdateDatasetGroupCommand;
|
|
@@ -454,12 +454,12 @@ const de_CreateAutoPredictorCommand = async (output, context) => {
|
|
|
454
454
|
}
|
|
455
455
|
const data = await parseBody(output.body, context);
|
|
456
456
|
let contents = {};
|
|
457
|
-
contents =
|
|
457
|
+
contents = (0, smithy_client_1._json)(data);
|
|
458
458
|
const response = {
|
|
459
459
|
$metadata: deserializeMetadata(output),
|
|
460
460
|
...contents,
|
|
461
461
|
};
|
|
462
|
-
return
|
|
462
|
+
return response;
|
|
463
463
|
};
|
|
464
464
|
exports.de_CreateAutoPredictorCommand = de_CreateAutoPredictorCommand;
|
|
465
465
|
const de_CreateAutoPredictorCommandError = async (output, context) => {
|
|
@@ -486,10 +486,9 @@ const de_CreateAutoPredictorCommandError = async (output, context) => {
|
|
|
486
486
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
487
487
|
default:
|
|
488
488
|
const parsedBody = parsedOutput.body;
|
|
489
|
-
|
|
489
|
+
return throwDefaultError({
|
|
490
490
|
output,
|
|
491
491
|
parsedBody,
|
|
492
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
493
492
|
errorCode,
|
|
494
493
|
});
|
|
495
494
|
}
|
|
@@ -500,12 +499,12 @@ const de_CreateDatasetCommand = async (output, context) => {
|
|
|
500
499
|
}
|
|
501
500
|
const data = await parseBody(output.body, context);
|
|
502
501
|
let contents = {};
|
|
503
|
-
contents =
|
|
502
|
+
contents = (0, smithy_client_1._json)(data);
|
|
504
503
|
const response = {
|
|
505
504
|
$metadata: deserializeMetadata(output),
|
|
506
505
|
...contents,
|
|
507
506
|
};
|
|
508
|
-
return
|
|
507
|
+
return response;
|
|
509
508
|
};
|
|
510
509
|
exports.de_CreateDatasetCommand = de_CreateDatasetCommand;
|
|
511
510
|
const de_CreateDatasetCommandError = async (output, context) => {
|
|
@@ -526,10 +525,9 @@ const de_CreateDatasetCommandError = async (output, context) => {
|
|
|
526
525
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
527
526
|
default:
|
|
528
527
|
const parsedBody = parsedOutput.body;
|
|
529
|
-
|
|
528
|
+
return throwDefaultError({
|
|
530
529
|
output,
|
|
531
530
|
parsedBody,
|
|
532
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
533
531
|
errorCode,
|
|
534
532
|
});
|
|
535
533
|
}
|
|
@@ -540,12 +538,12 @@ const de_CreateDatasetGroupCommand = async (output, context) => {
|
|
|
540
538
|
}
|
|
541
539
|
const data = await parseBody(output.body, context);
|
|
542
540
|
let contents = {};
|
|
543
|
-
contents =
|
|
541
|
+
contents = (0, smithy_client_1._json)(data);
|
|
544
542
|
const response = {
|
|
545
543
|
$metadata: deserializeMetadata(output),
|
|
546
544
|
...contents,
|
|
547
545
|
};
|
|
548
|
-
return
|
|
546
|
+
return response;
|
|
549
547
|
};
|
|
550
548
|
exports.de_CreateDatasetGroupCommand = de_CreateDatasetGroupCommand;
|
|
551
549
|
const de_CreateDatasetGroupCommandError = async (output, context) => {
|
|
@@ -572,10 +570,9 @@ const de_CreateDatasetGroupCommandError = async (output, context) => {
|
|
|
572
570
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
573
571
|
default:
|
|
574
572
|
const parsedBody = parsedOutput.body;
|
|
575
|
-
|
|
573
|
+
return throwDefaultError({
|
|
576
574
|
output,
|
|
577
575
|
parsedBody,
|
|
578
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
579
576
|
errorCode,
|
|
580
577
|
});
|
|
581
578
|
}
|
|
@@ -586,12 +583,12 @@ const de_CreateDatasetImportJobCommand = async (output, context) => {
|
|
|
586
583
|
}
|
|
587
584
|
const data = await parseBody(output.body, context);
|
|
588
585
|
let contents = {};
|
|
589
|
-
contents =
|
|
586
|
+
contents = (0, smithy_client_1._json)(data);
|
|
590
587
|
const response = {
|
|
591
588
|
$metadata: deserializeMetadata(output),
|
|
592
589
|
...contents,
|
|
593
590
|
};
|
|
594
|
-
return
|
|
591
|
+
return response;
|
|
595
592
|
};
|
|
596
593
|
exports.de_CreateDatasetImportJobCommand = de_CreateDatasetImportJobCommand;
|
|
597
594
|
const de_CreateDatasetImportJobCommandError = async (output, context) => {
|
|
@@ -618,10 +615,9 @@ const de_CreateDatasetImportJobCommandError = async (output, context) => {
|
|
|
618
615
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
619
616
|
default:
|
|
620
617
|
const parsedBody = parsedOutput.body;
|
|
621
|
-
|
|
618
|
+
return throwDefaultError({
|
|
622
619
|
output,
|
|
623
620
|
parsedBody,
|
|
624
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
625
621
|
errorCode,
|
|
626
622
|
});
|
|
627
623
|
}
|
|
@@ -632,12 +628,12 @@ const de_CreateExplainabilityCommand = async (output, context) => {
|
|
|
632
628
|
}
|
|
633
629
|
const data = await parseBody(output.body, context);
|
|
634
630
|
let contents = {};
|
|
635
|
-
contents =
|
|
631
|
+
contents = (0, smithy_client_1._json)(data);
|
|
636
632
|
const response = {
|
|
637
633
|
$metadata: deserializeMetadata(output),
|
|
638
634
|
...contents,
|
|
639
635
|
};
|
|
640
|
-
return
|
|
636
|
+
return response;
|
|
641
637
|
};
|
|
642
638
|
exports.de_CreateExplainabilityCommand = de_CreateExplainabilityCommand;
|
|
643
639
|
const de_CreateExplainabilityCommandError = async (output, context) => {
|
|
@@ -664,10 +660,9 @@ const de_CreateExplainabilityCommandError = async (output, context) => {
|
|
|
664
660
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
665
661
|
default:
|
|
666
662
|
const parsedBody = parsedOutput.body;
|
|
667
|
-
|
|
663
|
+
return throwDefaultError({
|
|
668
664
|
output,
|
|
669
665
|
parsedBody,
|
|
670
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
671
666
|
errorCode,
|
|
672
667
|
});
|
|
673
668
|
}
|
|
@@ -678,12 +673,12 @@ const de_CreateExplainabilityExportCommand = async (output, context) => {
|
|
|
678
673
|
}
|
|
679
674
|
const data = await parseBody(output.body, context);
|
|
680
675
|
let contents = {};
|
|
681
|
-
contents =
|
|
676
|
+
contents = (0, smithy_client_1._json)(data);
|
|
682
677
|
const response = {
|
|
683
678
|
$metadata: deserializeMetadata(output),
|
|
684
679
|
...contents,
|
|
685
680
|
};
|
|
686
|
-
return
|
|
681
|
+
return response;
|
|
687
682
|
};
|
|
688
683
|
exports.de_CreateExplainabilityExportCommand = de_CreateExplainabilityExportCommand;
|
|
689
684
|
const de_CreateExplainabilityExportCommandError = async (output, context) => {
|
|
@@ -710,10 +705,9 @@ const de_CreateExplainabilityExportCommandError = async (output, context) => {
|
|
|
710
705
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
711
706
|
default:
|
|
712
707
|
const parsedBody = parsedOutput.body;
|
|
713
|
-
|
|
708
|
+
return throwDefaultError({
|
|
714
709
|
output,
|
|
715
710
|
parsedBody,
|
|
716
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
717
711
|
errorCode,
|
|
718
712
|
});
|
|
719
713
|
}
|
|
@@ -724,12 +718,12 @@ const de_CreateForecastCommand = async (output, context) => {
|
|
|
724
718
|
}
|
|
725
719
|
const data = await parseBody(output.body, context);
|
|
726
720
|
let contents = {};
|
|
727
|
-
contents =
|
|
721
|
+
contents = (0, smithy_client_1._json)(data);
|
|
728
722
|
const response = {
|
|
729
723
|
$metadata: deserializeMetadata(output),
|
|
730
724
|
...contents,
|
|
731
725
|
};
|
|
732
|
-
return
|
|
726
|
+
return response;
|
|
733
727
|
};
|
|
734
728
|
exports.de_CreateForecastCommand = de_CreateForecastCommand;
|
|
735
729
|
const de_CreateForecastCommandError = async (output, context) => {
|
|
@@ -756,10 +750,9 @@ const de_CreateForecastCommandError = async (output, context) => {
|
|
|
756
750
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
757
751
|
default:
|
|
758
752
|
const parsedBody = parsedOutput.body;
|
|
759
|
-
|
|
753
|
+
return throwDefaultError({
|
|
760
754
|
output,
|
|
761
755
|
parsedBody,
|
|
762
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
763
756
|
errorCode,
|
|
764
757
|
});
|
|
765
758
|
}
|
|
@@ -770,12 +763,12 @@ const de_CreateForecastExportJobCommand = async (output, context) => {
|
|
|
770
763
|
}
|
|
771
764
|
const data = await parseBody(output.body, context);
|
|
772
765
|
let contents = {};
|
|
773
|
-
contents =
|
|
766
|
+
contents = (0, smithy_client_1._json)(data);
|
|
774
767
|
const response = {
|
|
775
768
|
$metadata: deserializeMetadata(output),
|
|
776
769
|
...contents,
|
|
777
770
|
};
|
|
778
|
-
return
|
|
771
|
+
return response;
|
|
779
772
|
};
|
|
780
773
|
exports.de_CreateForecastExportJobCommand = de_CreateForecastExportJobCommand;
|
|
781
774
|
const de_CreateForecastExportJobCommandError = async (output, context) => {
|
|
@@ -802,10 +795,9 @@ const de_CreateForecastExportJobCommandError = async (output, context) => {
|
|
|
802
795
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
803
796
|
default:
|
|
804
797
|
const parsedBody = parsedOutput.body;
|
|
805
|
-
|
|
798
|
+
return throwDefaultError({
|
|
806
799
|
output,
|
|
807
800
|
parsedBody,
|
|
808
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
809
801
|
errorCode,
|
|
810
802
|
});
|
|
811
803
|
}
|
|
@@ -816,12 +808,12 @@ const de_CreateMonitorCommand = async (output, context) => {
|
|
|
816
808
|
}
|
|
817
809
|
const data = await parseBody(output.body, context);
|
|
818
810
|
let contents = {};
|
|
819
|
-
contents =
|
|
811
|
+
contents = (0, smithy_client_1._json)(data);
|
|
820
812
|
const response = {
|
|
821
813
|
$metadata: deserializeMetadata(output),
|
|
822
814
|
...contents,
|
|
823
815
|
};
|
|
824
|
-
return
|
|
816
|
+
return response;
|
|
825
817
|
};
|
|
826
818
|
exports.de_CreateMonitorCommand = de_CreateMonitorCommand;
|
|
827
819
|
const de_CreateMonitorCommandError = async (output, context) => {
|
|
@@ -848,10 +840,9 @@ const de_CreateMonitorCommandError = async (output, context) => {
|
|
|
848
840
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
849
841
|
default:
|
|
850
842
|
const parsedBody = parsedOutput.body;
|
|
851
|
-
|
|
843
|
+
return throwDefaultError({
|
|
852
844
|
output,
|
|
853
845
|
parsedBody,
|
|
854
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
855
846
|
errorCode,
|
|
856
847
|
});
|
|
857
848
|
}
|
|
@@ -862,12 +853,12 @@ const de_CreatePredictorCommand = async (output, context) => {
|
|
|
862
853
|
}
|
|
863
854
|
const data = await parseBody(output.body, context);
|
|
864
855
|
let contents = {};
|
|
865
|
-
contents =
|
|
856
|
+
contents = (0, smithy_client_1._json)(data);
|
|
866
857
|
const response = {
|
|
867
858
|
$metadata: deserializeMetadata(output),
|
|
868
859
|
...contents,
|
|
869
860
|
};
|
|
870
|
-
return
|
|
861
|
+
return response;
|
|
871
862
|
};
|
|
872
863
|
exports.de_CreatePredictorCommand = de_CreatePredictorCommand;
|
|
873
864
|
const de_CreatePredictorCommandError = async (output, context) => {
|
|
@@ -894,10 +885,9 @@ const de_CreatePredictorCommandError = async (output, context) => {
|
|
|
894
885
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
895
886
|
default:
|
|
896
887
|
const parsedBody = parsedOutput.body;
|
|
897
|
-
|
|
888
|
+
return throwDefaultError({
|
|
898
889
|
output,
|
|
899
890
|
parsedBody,
|
|
900
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
901
891
|
errorCode,
|
|
902
892
|
});
|
|
903
893
|
}
|
|
@@ -908,12 +898,12 @@ const de_CreatePredictorBacktestExportJobCommand = async (output, context) => {
|
|
|
908
898
|
}
|
|
909
899
|
const data = await parseBody(output.body, context);
|
|
910
900
|
let contents = {};
|
|
911
|
-
contents =
|
|
901
|
+
contents = (0, smithy_client_1._json)(data);
|
|
912
902
|
const response = {
|
|
913
903
|
$metadata: deserializeMetadata(output),
|
|
914
904
|
...contents,
|
|
915
905
|
};
|
|
916
|
-
return
|
|
906
|
+
return response;
|
|
917
907
|
};
|
|
918
908
|
exports.de_CreatePredictorBacktestExportJobCommand = de_CreatePredictorBacktestExportJobCommand;
|
|
919
909
|
const de_CreatePredictorBacktestExportJobCommandError = async (output, context) => {
|
|
@@ -940,10 +930,9 @@ const de_CreatePredictorBacktestExportJobCommandError = async (output, context)
|
|
|
940
930
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
941
931
|
default:
|
|
942
932
|
const parsedBody = parsedOutput.body;
|
|
943
|
-
|
|
933
|
+
return throwDefaultError({
|
|
944
934
|
output,
|
|
945
935
|
parsedBody,
|
|
946
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
947
936
|
errorCode,
|
|
948
937
|
});
|
|
949
938
|
}
|
|
@@ -954,12 +943,12 @@ const de_CreateWhatIfAnalysisCommand = async (output, context) => {
|
|
|
954
943
|
}
|
|
955
944
|
const data = await parseBody(output.body, context);
|
|
956
945
|
let contents = {};
|
|
957
|
-
contents =
|
|
946
|
+
contents = (0, smithy_client_1._json)(data);
|
|
958
947
|
const response = {
|
|
959
948
|
$metadata: deserializeMetadata(output),
|
|
960
949
|
...contents,
|
|
961
950
|
};
|
|
962
|
-
return
|
|
951
|
+
return response;
|
|
963
952
|
};
|
|
964
953
|
exports.de_CreateWhatIfAnalysisCommand = de_CreateWhatIfAnalysisCommand;
|
|
965
954
|
const de_CreateWhatIfAnalysisCommandError = async (output, context) => {
|
|
@@ -986,10 +975,9 @@ const de_CreateWhatIfAnalysisCommandError = async (output, context) => {
|
|
|
986
975
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
987
976
|
default:
|
|
988
977
|
const parsedBody = parsedOutput.body;
|
|
989
|
-
|
|
978
|
+
return throwDefaultError({
|
|
990
979
|
output,
|
|
991
980
|
parsedBody,
|
|
992
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
993
981
|
errorCode,
|
|
994
982
|
});
|
|
995
983
|
}
|
|
@@ -1000,12 +988,12 @@ const de_CreateWhatIfForecastCommand = async (output, context) => {
|
|
|
1000
988
|
}
|
|
1001
989
|
const data = await parseBody(output.body, context);
|
|
1002
990
|
let contents = {};
|
|
1003
|
-
contents =
|
|
991
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1004
992
|
const response = {
|
|
1005
993
|
$metadata: deserializeMetadata(output),
|
|
1006
994
|
...contents,
|
|
1007
995
|
};
|
|
1008
|
-
return
|
|
996
|
+
return response;
|
|
1009
997
|
};
|
|
1010
998
|
exports.de_CreateWhatIfForecastCommand = de_CreateWhatIfForecastCommand;
|
|
1011
999
|
const de_CreateWhatIfForecastCommandError = async (output, context) => {
|
|
@@ -1032,10 +1020,9 @@ const de_CreateWhatIfForecastCommandError = async (output, context) => {
|
|
|
1032
1020
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1033
1021
|
default:
|
|
1034
1022
|
const parsedBody = parsedOutput.body;
|
|
1035
|
-
|
|
1023
|
+
return throwDefaultError({
|
|
1036
1024
|
output,
|
|
1037
1025
|
parsedBody,
|
|
1038
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1039
1026
|
errorCode,
|
|
1040
1027
|
});
|
|
1041
1028
|
}
|
|
@@ -1046,12 +1033,12 @@ const de_CreateWhatIfForecastExportCommand = async (output, context) => {
|
|
|
1046
1033
|
}
|
|
1047
1034
|
const data = await parseBody(output.body, context);
|
|
1048
1035
|
let contents = {};
|
|
1049
|
-
contents =
|
|
1036
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1050
1037
|
const response = {
|
|
1051
1038
|
$metadata: deserializeMetadata(output),
|
|
1052
1039
|
...contents,
|
|
1053
1040
|
};
|
|
1054
|
-
return
|
|
1041
|
+
return response;
|
|
1055
1042
|
};
|
|
1056
1043
|
exports.de_CreateWhatIfForecastExportCommand = de_CreateWhatIfForecastExportCommand;
|
|
1057
1044
|
const de_CreateWhatIfForecastExportCommandError = async (output, context) => {
|
|
@@ -1078,10 +1065,9 @@ const de_CreateWhatIfForecastExportCommandError = async (output, context) => {
|
|
|
1078
1065
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1079
1066
|
default:
|
|
1080
1067
|
const parsedBody = parsedOutput.body;
|
|
1081
|
-
|
|
1068
|
+
return throwDefaultError({
|
|
1082
1069
|
output,
|
|
1083
1070
|
parsedBody,
|
|
1084
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1085
1071
|
errorCode,
|
|
1086
1072
|
});
|
|
1087
1073
|
}
|
|
@@ -1094,7 +1080,7 @@ const de_DeleteDatasetCommand = async (output, context) => {
|
|
|
1094
1080
|
const response = {
|
|
1095
1081
|
$metadata: deserializeMetadata(output),
|
|
1096
1082
|
};
|
|
1097
|
-
return
|
|
1083
|
+
return response;
|
|
1098
1084
|
};
|
|
1099
1085
|
exports.de_DeleteDatasetCommand = de_DeleteDatasetCommand;
|
|
1100
1086
|
const de_DeleteDatasetCommandError = async (output, context) => {
|
|
@@ -1115,10 +1101,9 @@ const de_DeleteDatasetCommandError = async (output, context) => {
|
|
|
1115
1101
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1116
1102
|
default:
|
|
1117
1103
|
const parsedBody = parsedOutput.body;
|
|
1118
|
-
|
|
1104
|
+
return throwDefaultError({
|
|
1119
1105
|
output,
|
|
1120
1106
|
parsedBody,
|
|
1121
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1122
1107
|
errorCode,
|
|
1123
1108
|
});
|
|
1124
1109
|
}
|
|
@@ -1131,7 +1116,7 @@ const de_DeleteDatasetGroupCommand = async (output, context) => {
|
|
|
1131
1116
|
const response = {
|
|
1132
1117
|
$metadata: deserializeMetadata(output),
|
|
1133
1118
|
};
|
|
1134
|
-
return
|
|
1119
|
+
return response;
|
|
1135
1120
|
};
|
|
1136
1121
|
exports.de_DeleteDatasetGroupCommand = de_DeleteDatasetGroupCommand;
|
|
1137
1122
|
const de_DeleteDatasetGroupCommandError = async (output, context) => {
|
|
@@ -1152,10 +1137,9 @@ const de_DeleteDatasetGroupCommandError = async (output, context) => {
|
|
|
1152
1137
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1153
1138
|
default:
|
|
1154
1139
|
const parsedBody = parsedOutput.body;
|
|
1155
|
-
|
|
1140
|
+
return throwDefaultError({
|
|
1156
1141
|
output,
|
|
1157
1142
|
parsedBody,
|
|
1158
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1159
1143
|
errorCode,
|
|
1160
1144
|
});
|
|
1161
1145
|
}
|
|
@@ -1168,7 +1152,7 @@ const de_DeleteDatasetImportJobCommand = async (output, context) => {
|
|
|
1168
1152
|
const response = {
|
|
1169
1153
|
$metadata: deserializeMetadata(output),
|
|
1170
1154
|
};
|
|
1171
|
-
return
|
|
1155
|
+
return response;
|
|
1172
1156
|
};
|
|
1173
1157
|
exports.de_DeleteDatasetImportJobCommand = de_DeleteDatasetImportJobCommand;
|
|
1174
1158
|
const de_DeleteDatasetImportJobCommandError = async (output, context) => {
|
|
@@ -1189,10 +1173,9 @@ const de_DeleteDatasetImportJobCommandError = async (output, context) => {
|
|
|
1189
1173
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1190
1174
|
default:
|
|
1191
1175
|
const parsedBody = parsedOutput.body;
|
|
1192
|
-
|
|
1176
|
+
return throwDefaultError({
|
|
1193
1177
|
output,
|
|
1194
1178
|
parsedBody,
|
|
1195
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1196
1179
|
errorCode,
|
|
1197
1180
|
});
|
|
1198
1181
|
}
|
|
@@ -1205,7 +1188,7 @@ const de_DeleteExplainabilityCommand = async (output, context) => {
|
|
|
1205
1188
|
const response = {
|
|
1206
1189
|
$metadata: deserializeMetadata(output),
|
|
1207
1190
|
};
|
|
1208
|
-
return
|
|
1191
|
+
return response;
|
|
1209
1192
|
};
|
|
1210
1193
|
exports.de_DeleteExplainabilityCommand = de_DeleteExplainabilityCommand;
|
|
1211
1194
|
const de_DeleteExplainabilityCommandError = async (output, context) => {
|
|
@@ -1226,10 +1209,9 @@ const de_DeleteExplainabilityCommandError = async (output, context) => {
|
|
|
1226
1209
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1227
1210
|
default:
|
|
1228
1211
|
const parsedBody = parsedOutput.body;
|
|
1229
|
-
|
|
1212
|
+
return throwDefaultError({
|
|
1230
1213
|
output,
|
|
1231
1214
|
parsedBody,
|
|
1232
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1233
1215
|
errorCode,
|
|
1234
1216
|
});
|
|
1235
1217
|
}
|
|
@@ -1242,7 +1224,7 @@ const de_DeleteExplainabilityExportCommand = async (output, context) => {
|
|
|
1242
1224
|
const response = {
|
|
1243
1225
|
$metadata: deserializeMetadata(output),
|
|
1244
1226
|
};
|
|
1245
|
-
return
|
|
1227
|
+
return response;
|
|
1246
1228
|
};
|
|
1247
1229
|
exports.de_DeleteExplainabilityExportCommand = de_DeleteExplainabilityExportCommand;
|
|
1248
1230
|
const de_DeleteExplainabilityExportCommandError = async (output, context) => {
|
|
@@ -1263,10 +1245,9 @@ const de_DeleteExplainabilityExportCommandError = async (output, context) => {
|
|
|
1263
1245
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1264
1246
|
default:
|
|
1265
1247
|
const parsedBody = parsedOutput.body;
|
|
1266
|
-
|
|
1248
|
+
return throwDefaultError({
|
|
1267
1249
|
output,
|
|
1268
1250
|
parsedBody,
|
|
1269
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1270
1251
|
errorCode,
|
|
1271
1252
|
});
|
|
1272
1253
|
}
|
|
@@ -1279,7 +1260,7 @@ const de_DeleteForecastCommand = async (output, context) => {
|
|
|
1279
1260
|
const response = {
|
|
1280
1261
|
$metadata: deserializeMetadata(output),
|
|
1281
1262
|
};
|
|
1282
|
-
return
|
|
1263
|
+
return response;
|
|
1283
1264
|
};
|
|
1284
1265
|
exports.de_DeleteForecastCommand = de_DeleteForecastCommand;
|
|
1285
1266
|
const de_DeleteForecastCommandError = async (output, context) => {
|
|
@@ -1300,10 +1281,9 @@ const de_DeleteForecastCommandError = async (output, context) => {
|
|
|
1300
1281
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1301
1282
|
default:
|
|
1302
1283
|
const parsedBody = parsedOutput.body;
|
|
1303
|
-
|
|
1284
|
+
return throwDefaultError({
|
|
1304
1285
|
output,
|
|
1305
1286
|
parsedBody,
|
|
1306
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1307
1287
|
errorCode,
|
|
1308
1288
|
});
|
|
1309
1289
|
}
|
|
@@ -1316,7 +1296,7 @@ const de_DeleteForecastExportJobCommand = async (output, context) => {
|
|
|
1316
1296
|
const response = {
|
|
1317
1297
|
$metadata: deserializeMetadata(output),
|
|
1318
1298
|
};
|
|
1319
|
-
return
|
|
1299
|
+
return response;
|
|
1320
1300
|
};
|
|
1321
1301
|
exports.de_DeleteForecastExportJobCommand = de_DeleteForecastExportJobCommand;
|
|
1322
1302
|
const de_DeleteForecastExportJobCommandError = async (output, context) => {
|
|
@@ -1337,10 +1317,9 @@ const de_DeleteForecastExportJobCommandError = async (output, context) => {
|
|
|
1337
1317
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1338
1318
|
default:
|
|
1339
1319
|
const parsedBody = parsedOutput.body;
|
|
1340
|
-
|
|
1320
|
+
return throwDefaultError({
|
|
1341
1321
|
output,
|
|
1342
1322
|
parsedBody,
|
|
1343
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1344
1323
|
errorCode,
|
|
1345
1324
|
});
|
|
1346
1325
|
}
|
|
@@ -1353,7 +1332,7 @@ const de_DeleteMonitorCommand = async (output, context) => {
|
|
|
1353
1332
|
const response = {
|
|
1354
1333
|
$metadata: deserializeMetadata(output),
|
|
1355
1334
|
};
|
|
1356
|
-
return
|
|
1335
|
+
return response;
|
|
1357
1336
|
};
|
|
1358
1337
|
exports.de_DeleteMonitorCommand = de_DeleteMonitorCommand;
|
|
1359
1338
|
const de_DeleteMonitorCommandError = async (output, context) => {
|
|
@@ -1374,10 +1353,9 @@ const de_DeleteMonitorCommandError = async (output, context) => {
|
|
|
1374
1353
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1375
1354
|
default:
|
|
1376
1355
|
const parsedBody = parsedOutput.body;
|
|
1377
|
-
|
|
1356
|
+
return throwDefaultError({
|
|
1378
1357
|
output,
|
|
1379
1358
|
parsedBody,
|
|
1380
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1381
1359
|
errorCode,
|
|
1382
1360
|
});
|
|
1383
1361
|
}
|
|
@@ -1390,7 +1368,7 @@ const de_DeletePredictorCommand = async (output, context) => {
|
|
|
1390
1368
|
const response = {
|
|
1391
1369
|
$metadata: deserializeMetadata(output),
|
|
1392
1370
|
};
|
|
1393
|
-
return
|
|
1371
|
+
return response;
|
|
1394
1372
|
};
|
|
1395
1373
|
exports.de_DeletePredictorCommand = de_DeletePredictorCommand;
|
|
1396
1374
|
const de_DeletePredictorCommandError = async (output, context) => {
|
|
@@ -1411,10 +1389,9 @@ const de_DeletePredictorCommandError = async (output, context) => {
|
|
|
1411
1389
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1412
1390
|
default:
|
|
1413
1391
|
const parsedBody = parsedOutput.body;
|
|
1414
|
-
|
|
1392
|
+
return throwDefaultError({
|
|
1415
1393
|
output,
|
|
1416
1394
|
parsedBody,
|
|
1417
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1418
1395
|
errorCode,
|
|
1419
1396
|
});
|
|
1420
1397
|
}
|
|
@@ -1427,7 +1404,7 @@ const de_DeletePredictorBacktestExportJobCommand = async (output, context) => {
|
|
|
1427
1404
|
const response = {
|
|
1428
1405
|
$metadata: deserializeMetadata(output),
|
|
1429
1406
|
};
|
|
1430
|
-
return
|
|
1407
|
+
return response;
|
|
1431
1408
|
};
|
|
1432
1409
|
exports.de_DeletePredictorBacktestExportJobCommand = de_DeletePredictorBacktestExportJobCommand;
|
|
1433
1410
|
const de_DeletePredictorBacktestExportJobCommandError = async (output, context) => {
|
|
@@ -1448,10 +1425,9 @@ const de_DeletePredictorBacktestExportJobCommandError = async (output, context)
|
|
|
1448
1425
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1449
1426
|
default:
|
|
1450
1427
|
const parsedBody = parsedOutput.body;
|
|
1451
|
-
|
|
1428
|
+
return throwDefaultError({
|
|
1452
1429
|
output,
|
|
1453
1430
|
parsedBody,
|
|
1454
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1455
1431
|
errorCode,
|
|
1456
1432
|
});
|
|
1457
1433
|
}
|
|
@@ -1464,7 +1440,7 @@ const de_DeleteResourceTreeCommand = async (output, context) => {
|
|
|
1464
1440
|
const response = {
|
|
1465
1441
|
$metadata: deserializeMetadata(output),
|
|
1466
1442
|
};
|
|
1467
|
-
return
|
|
1443
|
+
return response;
|
|
1468
1444
|
};
|
|
1469
1445
|
exports.de_DeleteResourceTreeCommand = de_DeleteResourceTreeCommand;
|
|
1470
1446
|
const de_DeleteResourceTreeCommandError = async (output, context) => {
|
|
@@ -1485,10 +1461,9 @@ const de_DeleteResourceTreeCommandError = async (output, context) => {
|
|
|
1485
1461
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1486
1462
|
default:
|
|
1487
1463
|
const parsedBody = parsedOutput.body;
|
|
1488
|
-
|
|
1464
|
+
return throwDefaultError({
|
|
1489
1465
|
output,
|
|
1490
1466
|
parsedBody,
|
|
1491
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1492
1467
|
errorCode,
|
|
1493
1468
|
});
|
|
1494
1469
|
}
|
|
@@ -1501,7 +1476,7 @@ const de_DeleteWhatIfAnalysisCommand = async (output, context) => {
|
|
|
1501
1476
|
const response = {
|
|
1502
1477
|
$metadata: deserializeMetadata(output),
|
|
1503
1478
|
};
|
|
1504
|
-
return
|
|
1479
|
+
return response;
|
|
1505
1480
|
};
|
|
1506
1481
|
exports.de_DeleteWhatIfAnalysisCommand = de_DeleteWhatIfAnalysisCommand;
|
|
1507
1482
|
const de_DeleteWhatIfAnalysisCommandError = async (output, context) => {
|
|
@@ -1522,10 +1497,9 @@ const de_DeleteWhatIfAnalysisCommandError = async (output, context) => {
|
|
|
1522
1497
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1523
1498
|
default:
|
|
1524
1499
|
const parsedBody = parsedOutput.body;
|
|
1525
|
-
|
|
1500
|
+
return throwDefaultError({
|
|
1526
1501
|
output,
|
|
1527
1502
|
parsedBody,
|
|
1528
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1529
1503
|
errorCode,
|
|
1530
1504
|
});
|
|
1531
1505
|
}
|
|
@@ -1538,7 +1512,7 @@ const de_DeleteWhatIfForecastCommand = async (output, context) => {
|
|
|
1538
1512
|
const response = {
|
|
1539
1513
|
$metadata: deserializeMetadata(output),
|
|
1540
1514
|
};
|
|
1541
|
-
return
|
|
1515
|
+
return response;
|
|
1542
1516
|
};
|
|
1543
1517
|
exports.de_DeleteWhatIfForecastCommand = de_DeleteWhatIfForecastCommand;
|
|
1544
1518
|
const de_DeleteWhatIfForecastCommandError = async (output, context) => {
|
|
@@ -1559,10 +1533,9 @@ const de_DeleteWhatIfForecastCommandError = async (output, context) => {
|
|
|
1559
1533
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1560
1534
|
default:
|
|
1561
1535
|
const parsedBody = parsedOutput.body;
|
|
1562
|
-
|
|
1536
|
+
return throwDefaultError({
|
|
1563
1537
|
output,
|
|
1564
1538
|
parsedBody,
|
|
1565
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1566
1539
|
errorCode,
|
|
1567
1540
|
});
|
|
1568
1541
|
}
|
|
@@ -1575,7 +1548,7 @@ const de_DeleteWhatIfForecastExportCommand = async (output, context) => {
|
|
|
1575
1548
|
const response = {
|
|
1576
1549
|
$metadata: deserializeMetadata(output),
|
|
1577
1550
|
};
|
|
1578
|
-
return
|
|
1551
|
+
return response;
|
|
1579
1552
|
};
|
|
1580
1553
|
exports.de_DeleteWhatIfForecastExportCommand = de_DeleteWhatIfForecastExportCommand;
|
|
1581
1554
|
const de_DeleteWhatIfForecastExportCommandError = async (output, context) => {
|
|
@@ -1596,10 +1569,9 @@ const de_DeleteWhatIfForecastExportCommandError = async (output, context) => {
|
|
|
1596
1569
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1597
1570
|
default:
|
|
1598
1571
|
const parsedBody = parsedOutput.body;
|
|
1599
|
-
|
|
1572
|
+
return throwDefaultError({
|
|
1600
1573
|
output,
|
|
1601
1574
|
parsedBody,
|
|
1602
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1603
1575
|
errorCode,
|
|
1604
1576
|
});
|
|
1605
1577
|
}
|
|
@@ -1615,7 +1587,7 @@ const de_DescribeAutoPredictorCommand = async (output, context) => {
|
|
|
1615
1587
|
$metadata: deserializeMetadata(output),
|
|
1616
1588
|
...contents,
|
|
1617
1589
|
};
|
|
1618
|
-
return
|
|
1590
|
+
return response;
|
|
1619
1591
|
};
|
|
1620
1592
|
exports.de_DescribeAutoPredictorCommand = de_DescribeAutoPredictorCommand;
|
|
1621
1593
|
const de_DescribeAutoPredictorCommandError = async (output, context) => {
|
|
@@ -1633,10 +1605,9 @@ const de_DescribeAutoPredictorCommandError = async (output, context) => {
|
|
|
1633
1605
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1634
1606
|
default:
|
|
1635
1607
|
const parsedBody = parsedOutput.body;
|
|
1636
|
-
|
|
1608
|
+
return throwDefaultError({
|
|
1637
1609
|
output,
|
|
1638
1610
|
parsedBody,
|
|
1639
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1640
1611
|
errorCode,
|
|
1641
1612
|
});
|
|
1642
1613
|
}
|
|
@@ -1652,7 +1623,7 @@ const de_DescribeDatasetCommand = async (output, context) => {
|
|
|
1652
1623
|
$metadata: deserializeMetadata(output),
|
|
1653
1624
|
...contents,
|
|
1654
1625
|
};
|
|
1655
|
-
return
|
|
1626
|
+
return response;
|
|
1656
1627
|
};
|
|
1657
1628
|
exports.de_DescribeDatasetCommand = de_DescribeDatasetCommand;
|
|
1658
1629
|
const de_DescribeDatasetCommandError = async (output, context) => {
|
|
@@ -1670,10 +1641,9 @@ const de_DescribeDatasetCommandError = async (output, context) => {
|
|
|
1670
1641
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1671
1642
|
default:
|
|
1672
1643
|
const parsedBody = parsedOutput.body;
|
|
1673
|
-
|
|
1644
|
+
return throwDefaultError({
|
|
1674
1645
|
output,
|
|
1675
1646
|
parsedBody,
|
|
1676
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1677
1647
|
errorCode,
|
|
1678
1648
|
});
|
|
1679
1649
|
}
|
|
@@ -1689,7 +1659,7 @@ const de_DescribeDatasetGroupCommand = async (output, context) => {
|
|
|
1689
1659
|
$metadata: deserializeMetadata(output),
|
|
1690
1660
|
...contents,
|
|
1691
1661
|
};
|
|
1692
|
-
return
|
|
1662
|
+
return response;
|
|
1693
1663
|
};
|
|
1694
1664
|
exports.de_DescribeDatasetGroupCommand = de_DescribeDatasetGroupCommand;
|
|
1695
1665
|
const de_DescribeDatasetGroupCommandError = async (output, context) => {
|
|
@@ -1707,10 +1677,9 @@ const de_DescribeDatasetGroupCommandError = async (output, context) => {
|
|
|
1707
1677
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1708
1678
|
default:
|
|
1709
1679
|
const parsedBody = parsedOutput.body;
|
|
1710
|
-
|
|
1680
|
+
return throwDefaultError({
|
|
1711
1681
|
output,
|
|
1712
1682
|
parsedBody,
|
|
1713
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1714
1683
|
errorCode,
|
|
1715
1684
|
});
|
|
1716
1685
|
}
|
|
@@ -1726,7 +1695,7 @@ const de_DescribeDatasetImportJobCommand = async (output, context) => {
|
|
|
1726
1695
|
$metadata: deserializeMetadata(output),
|
|
1727
1696
|
...contents,
|
|
1728
1697
|
};
|
|
1729
|
-
return
|
|
1698
|
+
return response;
|
|
1730
1699
|
};
|
|
1731
1700
|
exports.de_DescribeDatasetImportJobCommand = de_DescribeDatasetImportJobCommand;
|
|
1732
1701
|
const de_DescribeDatasetImportJobCommandError = async (output, context) => {
|
|
@@ -1744,10 +1713,9 @@ const de_DescribeDatasetImportJobCommandError = async (output, context) => {
|
|
|
1744
1713
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1745
1714
|
default:
|
|
1746
1715
|
const parsedBody = parsedOutput.body;
|
|
1747
|
-
|
|
1716
|
+
return throwDefaultError({
|
|
1748
1717
|
output,
|
|
1749
1718
|
parsedBody,
|
|
1750
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1751
1719
|
errorCode,
|
|
1752
1720
|
});
|
|
1753
1721
|
}
|
|
@@ -1763,7 +1731,7 @@ const de_DescribeExplainabilityCommand = async (output, context) => {
|
|
|
1763
1731
|
$metadata: deserializeMetadata(output),
|
|
1764
1732
|
...contents,
|
|
1765
1733
|
};
|
|
1766
|
-
return
|
|
1734
|
+
return response;
|
|
1767
1735
|
};
|
|
1768
1736
|
exports.de_DescribeExplainabilityCommand = de_DescribeExplainabilityCommand;
|
|
1769
1737
|
const de_DescribeExplainabilityCommandError = async (output, context) => {
|
|
@@ -1781,10 +1749,9 @@ const de_DescribeExplainabilityCommandError = async (output, context) => {
|
|
|
1781
1749
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1782
1750
|
default:
|
|
1783
1751
|
const parsedBody = parsedOutput.body;
|
|
1784
|
-
|
|
1752
|
+
return throwDefaultError({
|
|
1785
1753
|
output,
|
|
1786
1754
|
parsedBody,
|
|
1787
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1788
1755
|
errorCode,
|
|
1789
1756
|
});
|
|
1790
1757
|
}
|
|
@@ -1800,7 +1767,7 @@ const de_DescribeExplainabilityExportCommand = async (output, context) => {
|
|
|
1800
1767
|
$metadata: deserializeMetadata(output),
|
|
1801
1768
|
...contents,
|
|
1802
1769
|
};
|
|
1803
|
-
return
|
|
1770
|
+
return response;
|
|
1804
1771
|
};
|
|
1805
1772
|
exports.de_DescribeExplainabilityExportCommand = de_DescribeExplainabilityExportCommand;
|
|
1806
1773
|
const de_DescribeExplainabilityExportCommandError = async (output, context) => {
|
|
@@ -1818,10 +1785,9 @@ const de_DescribeExplainabilityExportCommandError = async (output, context) => {
|
|
|
1818
1785
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1819
1786
|
default:
|
|
1820
1787
|
const parsedBody = parsedOutput.body;
|
|
1821
|
-
|
|
1788
|
+
return throwDefaultError({
|
|
1822
1789
|
output,
|
|
1823
1790
|
parsedBody,
|
|
1824
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1825
1791
|
errorCode,
|
|
1826
1792
|
});
|
|
1827
1793
|
}
|
|
@@ -1837,7 +1803,7 @@ const de_DescribeForecastCommand = async (output, context) => {
|
|
|
1837
1803
|
$metadata: deserializeMetadata(output),
|
|
1838
1804
|
...contents,
|
|
1839
1805
|
};
|
|
1840
|
-
return
|
|
1806
|
+
return response;
|
|
1841
1807
|
};
|
|
1842
1808
|
exports.de_DescribeForecastCommand = de_DescribeForecastCommand;
|
|
1843
1809
|
const de_DescribeForecastCommandError = async (output, context) => {
|
|
@@ -1855,10 +1821,9 @@ const de_DescribeForecastCommandError = async (output, context) => {
|
|
|
1855
1821
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1856
1822
|
default:
|
|
1857
1823
|
const parsedBody = parsedOutput.body;
|
|
1858
|
-
|
|
1824
|
+
return throwDefaultError({
|
|
1859
1825
|
output,
|
|
1860
1826
|
parsedBody,
|
|
1861
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1862
1827
|
errorCode,
|
|
1863
1828
|
});
|
|
1864
1829
|
}
|
|
@@ -1874,7 +1839,7 @@ const de_DescribeForecastExportJobCommand = async (output, context) => {
|
|
|
1874
1839
|
$metadata: deserializeMetadata(output),
|
|
1875
1840
|
...contents,
|
|
1876
1841
|
};
|
|
1877
|
-
return
|
|
1842
|
+
return response;
|
|
1878
1843
|
};
|
|
1879
1844
|
exports.de_DescribeForecastExportJobCommand = de_DescribeForecastExportJobCommand;
|
|
1880
1845
|
const de_DescribeForecastExportJobCommandError = async (output, context) => {
|
|
@@ -1892,10 +1857,9 @@ const de_DescribeForecastExportJobCommandError = async (output, context) => {
|
|
|
1892
1857
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1893
1858
|
default:
|
|
1894
1859
|
const parsedBody = parsedOutput.body;
|
|
1895
|
-
|
|
1860
|
+
return throwDefaultError({
|
|
1896
1861
|
output,
|
|
1897
1862
|
parsedBody,
|
|
1898
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1899
1863
|
errorCode,
|
|
1900
1864
|
});
|
|
1901
1865
|
}
|
|
@@ -1911,7 +1875,7 @@ const de_DescribeMonitorCommand = async (output, context) => {
|
|
|
1911
1875
|
$metadata: deserializeMetadata(output),
|
|
1912
1876
|
...contents,
|
|
1913
1877
|
};
|
|
1914
|
-
return
|
|
1878
|
+
return response;
|
|
1915
1879
|
};
|
|
1916
1880
|
exports.de_DescribeMonitorCommand = de_DescribeMonitorCommand;
|
|
1917
1881
|
const de_DescribeMonitorCommandError = async (output, context) => {
|
|
@@ -1929,10 +1893,9 @@ const de_DescribeMonitorCommandError = async (output, context) => {
|
|
|
1929
1893
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1930
1894
|
default:
|
|
1931
1895
|
const parsedBody = parsedOutput.body;
|
|
1932
|
-
|
|
1896
|
+
return throwDefaultError({
|
|
1933
1897
|
output,
|
|
1934
1898
|
parsedBody,
|
|
1935
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1936
1899
|
errorCode,
|
|
1937
1900
|
});
|
|
1938
1901
|
}
|
|
@@ -1948,7 +1911,7 @@ const de_DescribePredictorCommand = async (output, context) => {
|
|
|
1948
1911
|
$metadata: deserializeMetadata(output),
|
|
1949
1912
|
...contents,
|
|
1950
1913
|
};
|
|
1951
|
-
return
|
|
1914
|
+
return response;
|
|
1952
1915
|
};
|
|
1953
1916
|
exports.de_DescribePredictorCommand = de_DescribePredictorCommand;
|
|
1954
1917
|
const de_DescribePredictorCommandError = async (output, context) => {
|
|
@@ -1966,10 +1929,9 @@ const de_DescribePredictorCommandError = async (output, context) => {
|
|
|
1966
1929
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1967
1930
|
default:
|
|
1968
1931
|
const parsedBody = parsedOutput.body;
|
|
1969
|
-
|
|
1932
|
+
return throwDefaultError({
|
|
1970
1933
|
output,
|
|
1971
1934
|
parsedBody,
|
|
1972
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
1973
1935
|
errorCode,
|
|
1974
1936
|
});
|
|
1975
1937
|
}
|
|
@@ -1985,7 +1947,7 @@ const de_DescribePredictorBacktestExportJobCommand = async (output, context) =>
|
|
|
1985
1947
|
$metadata: deserializeMetadata(output),
|
|
1986
1948
|
...contents,
|
|
1987
1949
|
};
|
|
1988
|
-
return
|
|
1950
|
+
return response;
|
|
1989
1951
|
};
|
|
1990
1952
|
exports.de_DescribePredictorBacktestExportJobCommand = de_DescribePredictorBacktestExportJobCommand;
|
|
1991
1953
|
const de_DescribePredictorBacktestExportJobCommandError = async (output, context) => {
|
|
@@ -2003,10 +1965,9 @@ const de_DescribePredictorBacktestExportJobCommandError = async (output, context
|
|
|
2003
1965
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2004
1966
|
default:
|
|
2005
1967
|
const parsedBody = parsedOutput.body;
|
|
2006
|
-
|
|
1968
|
+
return throwDefaultError({
|
|
2007
1969
|
output,
|
|
2008
1970
|
parsedBody,
|
|
2009
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2010
1971
|
errorCode,
|
|
2011
1972
|
});
|
|
2012
1973
|
}
|
|
@@ -2022,7 +1983,7 @@ const de_DescribeWhatIfAnalysisCommand = async (output, context) => {
|
|
|
2022
1983
|
$metadata: deserializeMetadata(output),
|
|
2023
1984
|
...contents,
|
|
2024
1985
|
};
|
|
2025
|
-
return
|
|
1986
|
+
return response;
|
|
2026
1987
|
};
|
|
2027
1988
|
exports.de_DescribeWhatIfAnalysisCommand = de_DescribeWhatIfAnalysisCommand;
|
|
2028
1989
|
const de_DescribeWhatIfAnalysisCommandError = async (output, context) => {
|
|
@@ -2040,10 +2001,9 @@ const de_DescribeWhatIfAnalysisCommandError = async (output, context) => {
|
|
|
2040
2001
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2041
2002
|
default:
|
|
2042
2003
|
const parsedBody = parsedOutput.body;
|
|
2043
|
-
|
|
2004
|
+
return throwDefaultError({
|
|
2044
2005
|
output,
|
|
2045
2006
|
parsedBody,
|
|
2046
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2047
2007
|
errorCode,
|
|
2048
2008
|
});
|
|
2049
2009
|
}
|
|
@@ -2059,7 +2019,7 @@ const de_DescribeWhatIfForecastCommand = async (output, context) => {
|
|
|
2059
2019
|
$metadata: deserializeMetadata(output),
|
|
2060
2020
|
...contents,
|
|
2061
2021
|
};
|
|
2062
|
-
return
|
|
2022
|
+
return response;
|
|
2063
2023
|
};
|
|
2064
2024
|
exports.de_DescribeWhatIfForecastCommand = de_DescribeWhatIfForecastCommand;
|
|
2065
2025
|
const de_DescribeWhatIfForecastCommandError = async (output, context) => {
|
|
@@ -2077,10 +2037,9 @@ const de_DescribeWhatIfForecastCommandError = async (output, context) => {
|
|
|
2077
2037
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2078
2038
|
default:
|
|
2079
2039
|
const parsedBody = parsedOutput.body;
|
|
2080
|
-
|
|
2040
|
+
return throwDefaultError({
|
|
2081
2041
|
output,
|
|
2082
2042
|
parsedBody,
|
|
2083
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2084
2043
|
errorCode,
|
|
2085
2044
|
});
|
|
2086
2045
|
}
|
|
@@ -2096,7 +2055,7 @@ const de_DescribeWhatIfForecastExportCommand = async (output, context) => {
|
|
|
2096
2055
|
$metadata: deserializeMetadata(output),
|
|
2097
2056
|
...contents,
|
|
2098
2057
|
};
|
|
2099
|
-
return
|
|
2058
|
+
return response;
|
|
2100
2059
|
};
|
|
2101
2060
|
exports.de_DescribeWhatIfForecastExportCommand = de_DescribeWhatIfForecastExportCommand;
|
|
2102
2061
|
const de_DescribeWhatIfForecastExportCommandError = async (output, context) => {
|
|
@@ -2114,10 +2073,9 @@ const de_DescribeWhatIfForecastExportCommandError = async (output, context) => {
|
|
|
2114
2073
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2115
2074
|
default:
|
|
2116
2075
|
const parsedBody = parsedOutput.body;
|
|
2117
|
-
|
|
2076
|
+
return throwDefaultError({
|
|
2118
2077
|
output,
|
|
2119
2078
|
parsedBody,
|
|
2120
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2121
2079
|
errorCode,
|
|
2122
2080
|
});
|
|
2123
2081
|
}
|
|
@@ -2133,7 +2091,7 @@ const de_GetAccuracyMetricsCommand = async (output, context) => {
|
|
|
2133
2091
|
$metadata: deserializeMetadata(output),
|
|
2134
2092
|
...contents,
|
|
2135
2093
|
};
|
|
2136
|
-
return
|
|
2094
|
+
return response;
|
|
2137
2095
|
};
|
|
2138
2096
|
exports.de_GetAccuracyMetricsCommand = de_GetAccuracyMetricsCommand;
|
|
2139
2097
|
const de_GetAccuracyMetricsCommandError = async (output, context) => {
|
|
@@ -2154,10 +2112,9 @@ const de_GetAccuracyMetricsCommandError = async (output, context) => {
|
|
|
2154
2112
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2155
2113
|
default:
|
|
2156
2114
|
const parsedBody = parsedOutput.body;
|
|
2157
|
-
|
|
2115
|
+
return throwDefaultError({
|
|
2158
2116
|
output,
|
|
2159
2117
|
parsedBody,
|
|
2160
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2161
2118
|
errorCode,
|
|
2162
2119
|
});
|
|
2163
2120
|
}
|
|
@@ -2173,7 +2130,7 @@ const de_ListDatasetGroupsCommand = async (output, context) => {
|
|
|
2173
2130
|
$metadata: deserializeMetadata(output),
|
|
2174
2131
|
...contents,
|
|
2175
2132
|
};
|
|
2176
|
-
return
|
|
2133
|
+
return response;
|
|
2177
2134
|
};
|
|
2178
2135
|
exports.de_ListDatasetGroupsCommand = de_ListDatasetGroupsCommand;
|
|
2179
2136
|
const de_ListDatasetGroupsCommandError = async (output, context) => {
|
|
@@ -2188,10 +2145,9 @@ const de_ListDatasetGroupsCommandError = async (output, context) => {
|
|
|
2188
2145
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2189
2146
|
default:
|
|
2190
2147
|
const parsedBody = parsedOutput.body;
|
|
2191
|
-
|
|
2148
|
+
return throwDefaultError({
|
|
2192
2149
|
output,
|
|
2193
2150
|
parsedBody,
|
|
2194
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2195
2151
|
errorCode,
|
|
2196
2152
|
});
|
|
2197
2153
|
}
|
|
@@ -2207,7 +2163,7 @@ const de_ListDatasetImportJobsCommand = async (output, context) => {
|
|
|
2207
2163
|
$metadata: deserializeMetadata(output),
|
|
2208
2164
|
...contents,
|
|
2209
2165
|
};
|
|
2210
|
-
return
|
|
2166
|
+
return response;
|
|
2211
2167
|
};
|
|
2212
2168
|
exports.de_ListDatasetImportJobsCommand = de_ListDatasetImportJobsCommand;
|
|
2213
2169
|
const de_ListDatasetImportJobsCommandError = async (output, context) => {
|
|
@@ -2225,10 +2181,9 @@ const de_ListDatasetImportJobsCommandError = async (output, context) => {
|
|
|
2225
2181
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2226
2182
|
default:
|
|
2227
2183
|
const parsedBody = parsedOutput.body;
|
|
2228
|
-
|
|
2184
|
+
return throwDefaultError({
|
|
2229
2185
|
output,
|
|
2230
2186
|
parsedBody,
|
|
2231
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2232
2187
|
errorCode,
|
|
2233
2188
|
});
|
|
2234
2189
|
}
|
|
@@ -2244,7 +2199,7 @@ const de_ListDatasetsCommand = async (output, context) => {
|
|
|
2244
2199
|
$metadata: deserializeMetadata(output),
|
|
2245
2200
|
...contents,
|
|
2246
2201
|
};
|
|
2247
|
-
return
|
|
2202
|
+
return response;
|
|
2248
2203
|
};
|
|
2249
2204
|
exports.de_ListDatasetsCommand = de_ListDatasetsCommand;
|
|
2250
2205
|
const de_ListDatasetsCommandError = async (output, context) => {
|
|
@@ -2259,10 +2214,9 @@ const de_ListDatasetsCommandError = async (output, context) => {
|
|
|
2259
2214
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2260
2215
|
default:
|
|
2261
2216
|
const parsedBody = parsedOutput.body;
|
|
2262
|
-
|
|
2217
|
+
return throwDefaultError({
|
|
2263
2218
|
output,
|
|
2264
2219
|
parsedBody,
|
|
2265
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2266
2220
|
errorCode,
|
|
2267
2221
|
});
|
|
2268
2222
|
}
|
|
@@ -2278,7 +2232,7 @@ const de_ListExplainabilitiesCommand = async (output, context) => {
|
|
|
2278
2232
|
$metadata: deserializeMetadata(output),
|
|
2279
2233
|
...contents,
|
|
2280
2234
|
};
|
|
2281
|
-
return
|
|
2235
|
+
return response;
|
|
2282
2236
|
};
|
|
2283
2237
|
exports.de_ListExplainabilitiesCommand = de_ListExplainabilitiesCommand;
|
|
2284
2238
|
const de_ListExplainabilitiesCommandError = async (output, context) => {
|
|
@@ -2296,10 +2250,9 @@ const de_ListExplainabilitiesCommandError = async (output, context) => {
|
|
|
2296
2250
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2297
2251
|
default:
|
|
2298
2252
|
const parsedBody = parsedOutput.body;
|
|
2299
|
-
|
|
2253
|
+
return throwDefaultError({
|
|
2300
2254
|
output,
|
|
2301
2255
|
parsedBody,
|
|
2302
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2303
2256
|
errorCode,
|
|
2304
2257
|
});
|
|
2305
2258
|
}
|
|
@@ -2315,7 +2268,7 @@ const de_ListExplainabilityExportsCommand = async (output, context) => {
|
|
|
2315
2268
|
$metadata: deserializeMetadata(output),
|
|
2316
2269
|
...contents,
|
|
2317
2270
|
};
|
|
2318
|
-
return
|
|
2271
|
+
return response;
|
|
2319
2272
|
};
|
|
2320
2273
|
exports.de_ListExplainabilityExportsCommand = de_ListExplainabilityExportsCommand;
|
|
2321
2274
|
const de_ListExplainabilityExportsCommandError = async (output, context) => {
|
|
@@ -2333,10 +2286,9 @@ const de_ListExplainabilityExportsCommandError = async (output, context) => {
|
|
|
2333
2286
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2334
2287
|
default:
|
|
2335
2288
|
const parsedBody = parsedOutput.body;
|
|
2336
|
-
|
|
2289
|
+
return throwDefaultError({
|
|
2337
2290
|
output,
|
|
2338
2291
|
parsedBody,
|
|
2339
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2340
2292
|
errorCode,
|
|
2341
2293
|
});
|
|
2342
2294
|
}
|
|
@@ -2352,7 +2304,7 @@ const de_ListForecastExportJobsCommand = async (output, context) => {
|
|
|
2352
2304
|
$metadata: deserializeMetadata(output),
|
|
2353
2305
|
...contents,
|
|
2354
2306
|
};
|
|
2355
|
-
return
|
|
2307
|
+
return response;
|
|
2356
2308
|
};
|
|
2357
2309
|
exports.de_ListForecastExportJobsCommand = de_ListForecastExportJobsCommand;
|
|
2358
2310
|
const de_ListForecastExportJobsCommandError = async (output, context) => {
|
|
@@ -2370,10 +2322,9 @@ const de_ListForecastExportJobsCommandError = async (output, context) => {
|
|
|
2370
2322
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2371
2323
|
default:
|
|
2372
2324
|
const parsedBody = parsedOutput.body;
|
|
2373
|
-
|
|
2325
|
+
return throwDefaultError({
|
|
2374
2326
|
output,
|
|
2375
2327
|
parsedBody,
|
|
2376
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2377
2328
|
errorCode,
|
|
2378
2329
|
});
|
|
2379
2330
|
}
|
|
@@ -2389,7 +2340,7 @@ const de_ListForecastsCommand = async (output, context) => {
|
|
|
2389
2340
|
$metadata: deserializeMetadata(output),
|
|
2390
2341
|
...contents,
|
|
2391
2342
|
};
|
|
2392
|
-
return
|
|
2343
|
+
return response;
|
|
2393
2344
|
};
|
|
2394
2345
|
exports.de_ListForecastsCommand = de_ListForecastsCommand;
|
|
2395
2346
|
const de_ListForecastsCommandError = async (output, context) => {
|
|
@@ -2407,10 +2358,9 @@ const de_ListForecastsCommandError = async (output, context) => {
|
|
|
2407
2358
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2408
2359
|
default:
|
|
2409
2360
|
const parsedBody = parsedOutput.body;
|
|
2410
|
-
|
|
2361
|
+
return throwDefaultError({
|
|
2411
2362
|
output,
|
|
2412
2363
|
parsedBody,
|
|
2413
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2414
2364
|
errorCode,
|
|
2415
2365
|
});
|
|
2416
2366
|
}
|
|
@@ -2426,7 +2376,7 @@ const de_ListMonitorEvaluationsCommand = async (output, context) => {
|
|
|
2426
2376
|
$metadata: deserializeMetadata(output),
|
|
2427
2377
|
...contents,
|
|
2428
2378
|
};
|
|
2429
|
-
return
|
|
2379
|
+
return response;
|
|
2430
2380
|
};
|
|
2431
2381
|
exports.de_ListMonitorEvaluationsCommand = de_ListMonitorEvaluationsCommand;
|
|
2432
2382
|
const de_ListMonitorEvaluationsCommandError = async (output, context) => {
|
|
@@ -2447,10 +2397,9 @@ const de_ListMonitorEvaluationsCommandError = async (output, context) => {
|
|
|
2447
2397
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2448
2398
|
default:
|
|
2449
2399
|
const parsedBody = parsedOutput.body;
|
|
2450
|
-
|
|
2400
|
+
return throwDefaultError({
|
|
2451
2401
|
output,
|
|
2452
2402
|
parsedBody,
|
|
2453
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2454
2403
|
errorCode,
|
|
2455
2404
|
});
|
|
2456
2405
|
}
|
|
@@ -2466,7 +2415,7 @@ const de_ListMonitorsCommand = async (output, context) => {
|
|
|
2466
2415
|
$metadata: deserializeMetadata(output),
|
|
2467
2416
|
...contents,
|
|
2468
2417
|
};
|
|
2469
|
-
return
|
|
2418
|
+
return response;
|
|
2470
2419
|
};
|
|
2471
2420
|
exports.de_ListMonitorsCommand = de_ListMonitorsCommand;
|
|
2472
2421
|
const de_ListMonitorsCommandError = async (output, context) => {
|
|
@@ -2484,10 +2433,9 @@ const de_ListMonitorsCommandError = async (output, context) => {
|
|
|
2484
2433
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2485
2434
|
default:
|
|
2486
2435
|
const parsedBody = parsedOutput.body;
|
|
2487
|
-
|
|
2436
|
+
return throwDefaultError({
|
|
2488
2437
|
output,
|
|
2489
2438
|
parsedBody,
|
|
2490
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2491
2439
|
errorCode,
|
|
2492
2440
|
});
|
|
2493
2441
|
}
|
|
@@ -2503,7 +2451,7 @@ const de_ListPredictorBacktestExportJobsCommand = async (output, context) => {
|
|
|
2503
2451
|
$metadata: deserializeMetadata(output),
|
|
2504
2452
|
...contents,
|
|
2505
2453
|
};
|
|
2506
|
-
return
|
|
2454
|
+
return response;
|
|
2507
2455
|
};
|
|
2508
2456
|
exports.de_ListPredictorBacktestExportJobsCommand = de_ListPredictorBacktestExportJobsCommand;
|
|
2509
2457
|
const de_ListPredictorBacktestExportJobsCommandError = async (output, context) => {
|
|
@@ -2521,10 +2469,9 @@ const de_ListPredictorBacktestExportJobsCommandError = async (output, context) =
|
|
|
2521
2469
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2522
2470
|
default:
|
|
2523
2471
|
const parsedBody = parsedOutput.body;
|
|
2524
|
-
|
|
2472
|
+
return throwDefaultError({
|
|
2525
2473
|
output,
|
|
2526
2474
|
parsedBody,
|
|
2527
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2528
2475
|
errorCode,
|
|
2529
2476
|
});
|
|
2530
2477
|
}
|
|
@@ -2540,7 +2487,7 @@ const de_ListPredictorsCommand = async (output, context) => {
|
|
|
2540
2487
|
$metadata: deserializeMetadata(output),
|
|
2541
2488
|
...contents,
|
|
2542
2489
|
};
|
|
2543
|
-
return
|
|
2490
|
+
return response;
|
|
2544
2491
|
};
|
|
2545
2492
|
exports.de_ListPredictorsCommand = de_ListPredictorsCommand;
|
|
2546
2493
|
const de_ListPredictorsCommandError = async (output, context) => {
|
|
@@ -2558,10 +2505,9 @@ const de_ListPredictorsCommandError = async (output, context) => {
|
|
|
2558
2505
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2559
2506
|
default:
|
|
2560
2507
|
const parsedBody = parsedOutput.body;
|
|
2561
|
-
|
|
2508
|
+
return throwDefaultError({
|
|
2562
2509
|
output,
|
|
2563
2510
|
parsedBody,
|
|
2564
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2565
2511
|
errorCode,
|
|
2566
2512
|
});
|
|
2567
2513
|
}
|
|
@@ -2572,12 +2518,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2572
2518
|
}
|
|
2573
2519
|
const data = await parseBody(output.body, context);
|
|
2574
2520
|
let contents = {};
|
|
2575
|
-
contents =
|
|
2521
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2576
2522
|
const response = {
|
|
2577
2523
|
$metadata: deserializeMetadata(output),
|
|
2578
2524
|
...contents,
|
|
2579
2525
|
};
|
|
2580
|
-
return
|
|
2526
|
+
return response;
|
|
2581
2527
|
};
|
|
2582
2528
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2583
2529
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2595,10 +2541,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2595
2541
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2596
2542
|
default:
|
|
2597
2543
|
const parsedBody = parsedOutput.body;
|
|
2598
|
-
|
|
2544
|
+
return throwDefaultError({
|
|
2599
2545
|
output,
|
|
2600
2546
|
parsedBody,
|
|
2601
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2602
2547
|
errorCode,
|
|
2603
2548
|
});
|
|
2604
2549
|
}
|
|
@@ -2614,7 +2559,7 @@ const de_ListWhatIfAnalysesCommand = async (output, context) => {
|
|
|
2614
2559
|
$metadata: deserializeMetadata(output),
|
|
2615
2560
|
...contents,
|
|
2616
2561
|
};
|
|
2617
|
-
return
|
|
2562
|
+
return response;
|
|
2618
2563
|
};
|
|
2619
2564
|
exports.de_ListWhatIfAnalysesCommand = de_ListWhatIfAnalysesCommand;
|
|
2620
2565
|
const de_ListWhatIfAnalysesCommandError = async (output, context) => {
|
|
@@ -2632,10 +2577,9 @@ const de_ListWhatIfAnalysesCommandError = async (output, context) => {
|
|
|
2632
2577
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2633
2578
|
default:
|
|
2634
2579
|
const parsedBody = parsedOutput.body;
|
|
2635
|
-
|
|
2580
|
+
return throwDefaultError({
|
|
2636
2581
|
output,
|
|
2637
2582
|
parsedBody,
|
|
2638
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2639
2583
|
errorCode,
|
|
2640
2584
|
});
|
|
2641
2585
|
}
|
|
@@ -2651,7 +2595,7 @@ const de_ListWhatIfForecastExportsCommand = async (output, context) => {
|
|
|
2651
2595
|
$metadata: deserializeMetadata(output),
|
|
2652
2596
|
...contents,
|
|
2653
2597
|
};
|
|
2654
|
-
return
|
|
2598
|
+
return response;
|
|
2655
2599
|
};
|
|
2656
2600
|
exports.de_ListWhatIfForecastExportsCommand = de_ListWhatIfForecastExportsCommand;
|
|
2657
2601
|
const de_ListWhatIfForecastExportsCommandError = async (output, context) => {
|
|
@@ -2669,10 +2613,9 @@ const de_ListWhatIfForecastExportsCommandError = async (output, context) => {
|
|
|
2669
2613
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2670
2614
|
default:
|
|
2671
2615
|
const parsedBody = parsedOutput.body;
|
|
2672
|
-
|
|
2616
|
+
return throwDefaultError({
|
|
2673
2617
|
output,
|
|
2674
2618
|
parsedBody,
|
|
2675
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2676
2619
|
errorCode,
|
|
2677
2620
|
});
|
|
2678
2621
|
}
|
|
@@ -2688,7 +2631,7 @@ const de_ListWhatIfForecastsCommand = async (output, context) => {
|
|
|
2688
2631
|
$metadata: deserializeMetadata(output),
|
|
2689
2632
|
...contents,
|
|
2690
2633
|
};
|
|
2691
|
-
return
|
|
2634
|
+
return response;
|
|
2692
2635
|
};
|
|
2693
2636
|
exports.de_ListWhatIfForecastsCommand = de_ListWhatIfForecastsCommand;
|
|
2694
2637
|
const de_ListWhatIfForecastsCommandError = async (output, context) => {
|
|
@@ -2706,10 +2649,9 @@ const de_ListWhatIfForecastsCommandError = async (output, context) => {
|
|
|
2706
2649
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2707
2650
|
default:
|
|
2708
2651
|
const parsedBody = parsedOutput.body;
|
|
2709
|
-
|
|
2652
|
+
return throwDefaultError({
|
|
2710
2653
|
output,
|
|
2711
2654
|
parsedBody,
|
|
2712
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2713
2655
|
errorCode,
|
|
2714
2656
|
});
|
|
2715
2657
|
}
|
|
@@ -2722,7 +2664,7 @@ const de_ResumeResourceCommand = async (output, context) => {
|
|
|
2722
2664
|
const response = {
|
|
2723
2665
|
$metadata: deserializeMetadata(output),
|
|
2724
2666
|
};
|
|
2725
|
-
return
|
|
2667
|
+
return response;
|
|
2726
2668
|
};
|
|
2727
2669
|
exports.de_ResumeResourceCommand = de_ResumeResourceCommand;
|
|
2728
2670
|
const de_ResumeResourceCommandError = async (output, context) => {
|
|
@@ -2746,10 +2688,9 @@ const de_ResumeResourceCommandError = async (output, context) => {
|
|
|
2746
2688
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2747
2689
|
default:
|
|
2748
2690
|
const parsedBody = parsedOutput.body;
|
|
2749
|
-
|
|
2691
|
+
return throwDefaultError({
|
|
2750
2692
|
output,
|
|
2751
2693
|
parsedBody,
|
|
2752
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2753
2694
|
errorCode,
|
|
2754
2695
|
});
|
|
2755
2696
|
}
|
|
@@ -2762,7 +2703,7 @@ const de_StopResourceCommand = async (output, context) => {
|
|
|
2762
2703
|
const response = {
|
|
2763
2704
|
$metadata: deserializeMetadata(output),
|
|
2764
2705
|
};
|
|
2765
|
-
return
|
|
2706
|
+
return response;
|
|
2766
2707
|
};
|
|
2767
2708
|
exports.de_StopResourceCommand = de_StopResourceCommand;
|
|
2768
2709
|
const de_StopResourceCommandError = async (output, context) => {
|
|
@@ -2783,10 +2724,9 @@ const de_StopResourceCommandError = async (output, context) => {
|
|
|
2783
2724
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2784
2725
|
default:
|
|
2785
2726
|
const parsedBody = parsedOutput.body;
|
|
2786
|
-
|
|
2727
|
+
return throwDefaultError({
|
|
2787
2728
|
output,
|
|
2788
2729
|
parsedBody,
|
|
2789
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2790
2730
|
errorCode,
|
|
2791
2731
|
});
|
|
2792
2732
|
}
|
|
@@ -2797,12 +2737,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
2797
2737
|
}
|
|
2798
2738
|
const data = await parseBody(output.body, context);
|
|
2799
2739
|
let contents = {};
|
|
2800
|
-
contents =
|
|
2740
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2801
2741
|
const response = {
|
|
2802
2742
|
$metadata: deserializeMetadata(output),
|
|
2803
2743
|
...contents,
|
|
2804
2744
|
};
|
|
2805
|
-
return
|
|
2745
|
+
return response;
|
|
2806
2746
|
};
|
|
2807
2747
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2808
2748
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -2823,10 +2763,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2823
2763
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2824
2764
|
default:
|
|
2825
2765
|
const parsedBody = parsedOutput.body;
|
|
2826
|
-
|
|
2766
|
+
return throwDefaultError({
|
|
2827
2767
|
output,
|
|
2828
2768
|
parsedBody,
|
|
2829
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2830
2769
|
errorCode,
|
|
2831
2770
|
});
|
|
2832
2771
|
}
|
|
@@ -2837,12 +2776,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
2837
2776
|
}
|
|
2838
2777
|
const data = await parseBody(output.body, context);
|
|
2839
2778
|
let contents = {};
|
|
2840
|
-
contents =
|
|
2779
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2841
2780
|
const response = {
|
|
2842
2781
|
$metadata: deserializeMetadata(output),
|
|
2843
2782
|
...contents,
|
|
2844
2783
|
};
|
|
2845
|
-
return
|
|
2784
|
+
return response;
|
|
2846
2785
|
};
|
|
2847
2786
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2848
2787
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -2860,10 +2799,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2860
2799
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2861
2800
|
default:
|
|
2862
2801
|
const parsedBody = parsedOutput.body;
|
|
2863
|
-
|
|
2802
|
+
return throwDefaultError({
|
|
2864
2803
|
output,
|
|
2865
2804
|
parsedBody,
|
|
2866
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2867
2805
|
errorCode,
|
|
2868
2806
|
});
|
|
2869
2807
|
}
|
|
@@ -2874,12 +2812,12 @@ const de_UpdateDatasetGroupCommand = async (output, context) => {
|
|
|
2874
2812
|
}
|
|
2875
2813
|
const data = await parseBody(output.body, context);
|
|
2876
2814
|
let contents = {};
|
|
2877
|
-
contents =
|
|
2815
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2878
2816
|
const response = {
|
|
2879
2817
|
$metadata: deserializeMetadata(output),
|
|
2880
2818
|
...contents,
|
|
2881
2819
|
};
|
|
2882
|
-
return
|
|
2820
|
+
return response;
|
|
2883
2821
|
};
|
|
2884
2822
|
exports.de_UpdateDatasetGroupCommand = de_UpdateDatasetGroupCommand;
|
|
2885
2823
|
const de_UpdateDatasetGroupCommandError = async (output, context) => {
|
|
@@ -2900,17 +2838,16 @@ const de_UpdateDatasetGroupCommandError = async (output, context) => {
|
|
|
2900
2838
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2901
2839
|
default:
|
|
2902
2840
|
const parsedBody = parsedOutput.body;
|
|
2903
|
-
|
|
2841
|
+
return throwDefaultError({
|
|
2904
2842
|
output,
|
|
2905
2843
|
parsedBody,
|
|
2906
|
-
exceptionCtor: ForecastServiceException_1.ForecastServiceException,
|
|
2907
2844
|
errorCode,
|
|
2908
2845
|
});
|
|
2909
2846
|
}
|
|
2910
2847
|
};
|
|
2911
2848
|
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
2912
2849
|
const body = parsedOutput.body;
|
|
2913
|
-
const deserialized =
|
|
2850
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2914
2851
|
const exception = new models_0_1.InvalidInputException({
|
|
2915
2852
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2916
2853
|
...deserialized,
|
|
@@ -2919,7 +2856,7 @@ const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
|
2919
2856
|
};
|
|
2920
2857
|
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
2921
2858
|
const body = parsedOutput.body;
|
|
2922
|
-
const deserialized =
|
|
2859
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2923
2860
|
const exception = new models_0_1.InvalidNextTokenException({
|
|
2924
2861
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2925
2862
|
...deserialized,
|
|
@@ -2928,7 +2865,7 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
2928
2865
|
};
|
|
2929
2866
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2930
2867
|
const body = parsedOutput.body;
|
|
2931
|
-
const deserialized =
|
|
2868
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2932
2869
|
const exception = new models_0_1.LimitExceededException({
|
|
2933
2870
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2934
2871
|
...deserialized,
|
|
@@ -2937,7 +2874,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2937
2874
|
};
|
|
2938
2875
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2939
2876
|
const body = parsedOutput.body;
|
|
2940
|
-
const deserialized =
|
|
2877
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2941
2878
|
const exception = new models_0_1.ResourceAlreadyExistsException({
|
|
2942
2879
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2943
2880
|
...deserialized,
|
|
@@ -2946,7 +2883,7 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
2946
2883
|
};
|
|
2947
2884
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
2948
2885
|
const body = parsedOutput.body;
|
|
2949
|
-
const deserialized =
|
|
2886
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2950
2887
|
const exception = new models_0_1.ResourceInUseException({
|
|
2951
2888
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2952
2889
|
...deserialized,
|
|
@@ -2955,7 +2892,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
2955
2892
|
};
|
|
2956
2893
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2957
2894
|
const body = parsedOutput.body;
|
|
2958
|
-
const deserialized =
|
|
2895
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2959
2896
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2960
2897
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2961
2898
|
...deserialized,
|
|
@@ -2963,1575 +2900,463 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2963
2900
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2964
2901
|
};
|
|
2965
2902
|
const se_Action = (input, context) => {
|
|
2966
|
-
return {
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
};
|
|
2971
|
-
};
|
|
2972
|
-
const se_AdditionalDataset = (input, context) => {
|
|
2973
|
-
return {
|
|
2974
|
-
...(input.Configuration != null && { Configuration: se_Configuration(input.Configuration, context) }),
|
|
2975
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2976
|
-
};
|
|
2977
|
-
};
|
|
2978
|
-
const se_AdditionalDatasets = (input, context) => {
|
|
2979
|
-
return input
|
|
2980
|
-
.filter((e) => e != null)
|
|
2981
|
-
.map((entry) => {
|
|
2982
|
-
return se_AdditionalDataset(entry, context);
|
|
2983
|
-
});
|
|
2984
|
-
};
|
|
2985
|
-
const se_ArnList = (input, context) => {
|
|
2986
|
-
return input
|
|
2987
|
-
.filter((e) => e != null)
|
|
2988
|
-
.map((entry) => {
|
|
2989
|
-
return entry;
|
|
2990
|
-
});
|
|
2991
|
-
};
|
|
2992
|
-
const se_AttributeConfig = (input, context) => {
|
|
2993
|
-
return {
|
|
2994
|
-
...(input.AttributeName != null && { AttributeName: input.AttributeName }),
|
|
2995
|
-
...(input.Transformations != null && { Transformations: se_Transformations(input.Transformations, context) }),
|
|
2996
|
-
};
|
|
2997
|
-
};
|
|
2998
|
-
const se_AttributeConfigs = (input, context) => {
|
|
2999
|
-
return input
|
|
3000
|
-
.filter((e) => e != null)
|
|
3001
|
-
.map((entry) => {
|
|
3002
|
-
return se_AttributeConfig(entry, context);
|
|
3003
|
-
});
|
|
3004
|
-
};
|
|
3005
|
-
const se_CategoricalParameterRange = (input, context) => {
|
|
3006
|
-
return {
|
|
3007
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3008
|
-
...(input.Values != null && { Values: se_Values(input.Values, context) }),
|
|
3009
|
-
};
|
|
3010
|
-
};
|
|
3011
|
-
const se_CategoricalParameterRanges = (input, context) => {
|
|
3012
|
-
return input
|
|
3013
|
-
.filter((e) => e != null)
|
|
3014
|
-
.map((entry) => {
|
|
3015
|
-
return se_CategoricalParameterRange(entry, context);
|
|
3016
|
-
});
|
|
3017
|
-
};
|
|
3018
|
-
const se_Configuration = (input, context) => {
|
|
3019
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3020
|
-
if (value === null) {
|
|
3021
|
-
return acc;
|
|
3022
|
-
}
|
|
3023
|
-
acc[key] = se_Values(value, context);
|
|
3024
|
-
return acc;
|
|
3025
|
-
}, {});
|
|
3026
|
-
};
|
|
3027
|
-
const se_ContinuousParameterRange = (input, context) => {
|
|
3028
|
-
return {
|
|
3029
|
-
...(input.MaxValue != null && { MaxValue: (0, smithy_client_1.serializeFloat)(input.MaxValue) }),
|
|
3030
|
-
...(input.MinValue != null && { MinValue: (0, smithy_client_1.serializeFloat)(input.MinValue) }),
|
|
3031
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3032
|
-
...(input.ScalingType != null && { ScalingType: input.ScalingType }),
|
|
3033
|
-
};
|
|
3034
|
-
};
|
|
3035
|
-
const se_ContinuousParameterRanges = (input, context) => {
|
|
3036
|
-
return input
|
|
3037
|
-
.filter((e) => e != null)
|
|
3038
|
-
.map((entry) => {
|
|
3039
|
-
return se_ContinuousParameterRange(entry, context);
|
|
3040
|
-
});
|
|
3041
|
-
};
|
|
3042
|
-
const se_CreateAutoPredictorRequest = (input, context) => {
|
|
3043
|
-
return {
|
|
3044
|
-
...(input.DataConfig != null && { DataConfig: se_DataConfig(input.DataConfig, context) }),
|
|
3045
|
-
...(input.EncryptionConfig != null && { EncryptionConfig: se_EncryptionConfig(input.EncryptionConfig, context) }),
|
|
3046
|
-
...(input.ExplainPredictor != null && { ExplainPredictor: input.ExplainPredictor }),
|
|
3047
|
-
...(input.ForecastDimensions != null && {
|
|
3048
|
-
ForecastDimensions: se_ForecastDimensions(input.ForecastDimensions, context),
|
|
3049
|
-
}),
|
|
3050
|
-
...(input.ForecastFrequency != null && { ForecastFrequency: input.ForecastFrequency }),
|
|
3051
|
-
...(input.ForecastHorizon != null && { ForecastHorizon: input.ForecastHorizon }),
|
|
3052
|
-
...(input.ForecastTypes != null && { ForecastTypes: se_ForecastTypes(input.ForecastTypes, context) }),
|
|
3053
|
-
...(input.MonitorConfig != null && { MonitorConfig: se_MonitorConfig(input.MonitorConfig, context) }),
|
|
3054
|
-
...(input.OptimizationMetric != null && { OptimizationMetric: input.OptimizationMetric }),
|
|
3055
|
-
...(input.PredictorName != null && { PredictorName: input.PredictorName }),
|
|
3056
|
-
...(input.ReferencePredictorArn != null && { ReferencePredictorArn: input.ReferencePredictorArn }),
|
|
3057
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3058
|
-
...(input.TimeAlignmentBoundary != null && {
|
|
3059
|
-
TimeAlignmentBoundary: se_TimeAlignmentBoundary(input.TimeAlignmentBoundary, context),
|
|
3060
|
-
}),
|
|
3061
|
-
};
|
|
3062
|
-
};
|
|
3063
|
-
const se_CreateDatasetGroupRequest = (input, context) => {
|
|
3064
|
-
return {
|
|
3065
|
-
...(input.DatasetArns != null && { DatasetArns: se_ArnList(input.DatasetArns, context) }),
|
|
3066
|
-
...(input.DatasetGroupName != null && { DatasetGroupName: input.DatasetGroupName }),
|
|
3067
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
3068
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3069
|
-
};
|
|
3070
|
-
};
|
|
3071
|
-
const se_CreateDatasetImportJobRequest = (input, context) => {
|
|
3072
|
-
return {
|
|
3073
|
-
...(input.DataSource != null && { DataSource: se_DataSource(input.DataSource, context) }),
|
|
3074
|
-
...(input.DatasetArn != null && { DatasetArn: input.DatasetArn }),
|
|
3075
|
-
...(input.DatasetImportJobName != null && { DatasetImportJobName: input.DatasetImportJobName }),
|
|
3076
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3077
|
-
...(input.GeolocationFormat != null && { GeolocationFormat: input.GeolocationFormat }),
|
|
3078
|
-
...(input.ImportMode != null && { ImportMode: input.ImportMode }),
|
|
3079
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3080
|
-
...(input.TimeZone != null && { TimeZone: input.TimeZone }),
|
|
3081
|
-
...(input.TimestampFormat != null && { TimestampFormat: input.TimestampFormat }),
|
|
3082
|
-
...(input.UseGeolocationForTimeZone != null && { UseGeolocationForTimeZone: input.UseGeolocationForTimeZone }),
|
|
3083
|
-
};
|
|
3084
|
-
};
|
|
3085
|
-
const se_CreateDatasetRequest = (input, context) => {
|
|
3086
|
-
return {
|
|
3087
|
-
...(input.DataFrequency != null && { DataFrequency: input.DataFrequency }),
|
|
3088
|
-
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
3089
|
-
...(input.DatasetType != null && { DatasetType: input.DatasetType }),
|
|
3090
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
3091
|
-
...(input.EncryptionConfig != null && { EncryptionConfig: se_EncryptionConfig(input.EncryptionConfig, context) }),
|
|
3092
|
-
...(input.Schema != null && { Schema: se_Schema(input.Schema, context) }),
|
|
3093
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3094
|
-
};
|
|
3095
|
-
};
|
|
3096
|
-
const se_CreateExplainabilityExportRequest = (input, context) => {
|
|
3097
|
-
return {
|
|
3098
|
-
...(input.Destination != null && { Destination: se_DataDestination(input.Destination, context) }),
|
|
3099
|
-
...(input.ExplainabilityArn != null && { ExplainabilityArn: input.ExplainabilityArn }),
|
|
3100
|
-
...(input.ExplainabilityExportName != null && { ExplainabilityExportName: input.ExplainabilityExportName }),
|
|
3101
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3102
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3103
|
-
};
|
|
3104
|
-
};
|
|
3105
|
-
const se_CreateExplainabilityRequest = (input, context) => {
|
|
3106
|
-
return {
|
|
3107
|
-
...(input.DataSource != null && { DataSource: se_DataSource(input.DataSource, context) }),
|
|
3108
|
-
...(input.EnableVisualization != null && { EnableVisualization: input.EnableVisualization }),
|
|
3109
|
-
...(input.EndDateTime != null && { EndDateTime: input.EndDateTime }),
|
|
3110
|
-
...(input.ExplainabilityConfig != null && {
|
|
3111
|
-
ExplainabilityConfig: se_ExplainabilityConfig(input.ExplainabilityConfig, context),
|
|
3112
|
-
}),
|
|
3113
|
-
...(input.ExplainabilityName != null && { ExplainabilityName: input.ExplainabilityName }),
|
|
3114
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3115
|
-
...(input.Schema != null && { Schema: se_Schema(input.Schema, context) }),
|
|
3116
|
-
...(input.StartDateTime != null && { StartDateTime: input.StartDateTime }),
|
|
3117
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3118
|
-
};
|
|
3119
|
-
};
|
|
3120
|
-
const se_CreateForecastExportJobRequest = (input, context) => {
|
|
3121
|
-
return {
|
|
3122
|
-
...(input.Destination != null && { Destination: se_DataDestination(input.Destination, context) }),
|
|
3123
|
-
...(input.ForecastArn != null && { ForecastArn: input.ForecastArn }),
|
|
3124
|
-
...(input.ForecastExportJobName != null && { ForecastExportJobName: input.ForecastExportJobName }),
|
|
3125
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3126
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3127
|
-
};
|
|
3128
|
-
};
|
|
3129
|
-
const se_CreateForecastRequest = (input, context) => {
|
|
3130
|
-
return {
|
|
3131
|
-
...(input.ForecastName != null && { ForecastName: input.ForecastName }),
|
|
3132
|
-
...(input.ForecastTypes != null && { ForecastTypes: se_ForecastTypes(input.ForecastTypes, context) }),
|
|
3133
|
-
...(input.PredictorArn != null && { PredictorArn: input.PredictorArn }),
|
|
3134
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3135
|
-
...(input.TimeSeriesSelector != null && {
|
|
3136
|
-
TimeSeriesSelector: se_TimeSeriesSelector(input.TimeSeriesSelector, context),
|
|
3137
|
-
}),
|
|
3138
|
-
};
|
|
3139
|
-
};
|
|
3140
|
-
const se_CreateMonitorRequest = (input, context) => {
|
|
3141
|
-
return {
|
|
3142
|
-
...(input.MonitorName != null && { MonitorName: input.MonitorName }),
|
|
3143
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3144
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3145
|
-
};
|
|
3146
|
-
};
|
|
3147
|
-
const se_CreatePredictorBacktestExportJobRequest = (input, context) => {
|
|
3148
|
-
return {
|
|
3149
|
-
...(input.Destination != null && { Destination: se_DataDestination(input.Destination, context) }),
|
|
3150
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3151
|
-
...(input.PredictorArn != null && { PredictorArn: input.PredictorArn }),
|
|
3152
|
-
...(input.PredictorBacktestExportJobName != null && {
|
|
3153
|
-
PredictorBacktestExportJobName: input.PredictorBacktestExportJobName,
|
|
3154
|
-
}),
|
|
3155
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3156
|
-
};
|
|
3157
|
-
};
|
|
3158
|
-
const se_CreatePredictorRequest = (input, context) => {
|
|
3159
|
-
return {
|
|
3160
|
-
...(input.AlgorithmArn != null && { AlgorithmArn: input.AlgorithmArn }),
|
|
3161
|
-
...(input.AutoMLOverrideStrategy != null && { AutoMLOverrideStrategy: input.AutoMLOverrideStrategy }),
|
|
3162
|
-
...(input.EncryptionConfig != null && { EncryptionConfig: se_EncryptionConfig(input.EncryptionConfig, context) }),
|
|
3163
|
-
...(input.EvaluationParameters != null && {
|
|
3164
|
-
EvaluationParameters: se_EvaluationParameters(input.EvaluationParameters, context),
|
|
3165
|
-
}),
|
|
3166
|
-
...(input.FeaturizationConfig != null && {
|
|
3167
|
-
FeaturizationConfig: se_FeaturizationConfig(input.FeaturizationConfig, context),
|
|
3168
|
-
}),
|
|
3169
|
-
...(input.ForecastHorizon != null && { ForecastHorizon: input.ForecastHorizon }),
|
|
3170
|
-
...(input.ForecastTypes != null && { ForecastTypes: se_ForecastTypes(input.ForecastTypes, context) }),
|
|
3171
|
-
...(input.HPOConfig != null && { HPOConfig: se_HyperParameterTuningJobConfig(input.HPOConfig, context) }),
|
|
3172
|
-
...(input.InputDataConfig != null && { InputDataConfig: se_InputDataConfig(input.InputDataConfig, context) }),
|
|
3173
|
-
...(input.OptimizationMetric != null && { OptimizationMetric: input.OptimizationMetric }),
|
|
3174
|
-
...(input.PerformAutoML != null && { PerformAutoML: input.PerformAutoML }),
|
|
3175
|
-
...(input.PerformHPO != null && { PerformHPO: input.PerformHPO }),
|
|
3176
|
-
...(input.PredictorName != null && { PredictorName: input.PredictorName }),
|
|
3177
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3178
|
-
...(input.TrainingParameters != null && {
|
|
3179
|
-
TrainingParameters: se_TrainingParameters(input.TrainingParameters, context),
|
|
3180
|
-
}),
|
|
3181
|
-
};
|
|
3182
|
-
};
|
|
3183
|
-
const se_CreateWhatIfAnalysisRequest = (input, context) => {
|
|
3184
|
-
return {
|
|
3185
|
-
...(input.ForecastArn != null && { ForecastArn: input.ForecastArn }),
|
|
3186
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3187
|
-
...(input.TimeSeriesSelector != null && {
|
|
3188
|
-
TimeSeriesSelector: se_TimeSeriesSelector(input.TimeSeriesSelector, context),
|
|
3189
|
-
}),
|
|
3190
|
-
...(input.WhatIfAnalysisName != null && { WhatIfAnalysisName: input.WhatIfAnalysisName }),
|
|
3191
|
-
};
|
|
3192
|
-
};
|
|
3193
|
-
const se_CreateWhatIfForecastExportRequest = (input, context) => {
|
|
3194
|
-
return {
|
|
3195
|
-
...(input.Destination != null && { Destination: se_DataDestination(input.Destination, context) }),
|
|
3196
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3197
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3198
|
-
...(input.WhatIfForecastArns != null && {
|
|
3199
|
-
WhatIfForecastArns: se_WhatIfForecastArnListForExport(input.WhatIfForecastArns, context),
|
|
3200
|
-
}),
|
|
3201
|
-
...(input.WhatIfForecastExportName != null && { WhatIfForecastExportName: input.WhatIfForecastExportName }),
|
|
3202
|
-
};
|
|
3203
|
-
};
|
|
3204
|
-
const se_CreateWhatIfForecastRequest = (input, context) => {
|
|
3205
|
-
return {
|
|
3206
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3207
|
-
...(input.TimeSeriesReplacementsDataSource != null && {
|
|
3208
|
-
TimeSeriesReplacementsDataSource: se_TimeSeriesReplacementsDataSource(input.TimeSeriesReplacementsDataSource, context),
|
|
3209
|
-
}),
|
|
3210
|
-
...(input.TimeSeriesTransformations != null && {
|
|
3211
|
-
TimeSeriesTransformations: se_TimeSeriesTransformations(input.TimeSeriesTransformations, context),
|
|
3212
|
-
}),
|
|
3213
|
-
...(input.WhatIfAnalysisArn != null && { WhatIfAnalysisArn: input.WhatIfAnalysisArn }),
|
|
3214
|
-
...(input.WhatIfForecastName != null && { WhatIfForecastName: input.WhatIfForecastName }),
|
|
3215
|
-
};
|
|
3216
|
-
};
|
|
3217
|
-
const se_DataConfig = (input, context) => {
|
|
3218
|
-
return {
|
|
3219
|
-
...(input.AdditionalDatasets != null && {
|
|
3220
|
-
AdditionalDatasets: se_AdditionalDatasets(input.AdditionalDatasets, context),
|
|
3221
|
-
}),
|
|
3222
|
-
...(input.AttributeConfigs != null && { AttributeConfigs: se_AttributeConfigs(input.AttributeConfigs, context) }),
|
|
3223
|
-
...(input.DatasetGroupArn != null && { DatasetGroupArn: input.DatasetGroupArn }),
|
|
3224
|
-
};
|
|
3225
|
-
};
|
|
3226
|
-
const se_DataDestination = (input, context) => {
|
|
3227
|
-
return {
|
|
3228
|
-
...(input.S3Config != null && { S3Config: se_S3Config(input.S3Config, context) }),
|
|
3229
|
-
};
|
|
3230
|
-
};
|
|
3231
|
-
const se_DataSource = (input, context) => {
|
|
3232
|
-
return {
|
|
3233
|
-
...(input.S3Config != null && { S3Config: se_S3Config(input.S3Config, context) }),
|
|
3234
|
-
};
|
|
3235
|
-
};
|
|
3236
|
-
const se_DeleteDatasetGroupRequest = (input, context) => {
|
|
3237
|
-
return {
|
|
3238
|
-
...(input.DatasetGroupArn != null && { DatasetGroupArn: input.DatasetGroupArn }),
|
|
3239
|
-
};
|
|
3240
|
-
};
|
|
3241
|
-
const se_DeleteDatasetImportJobRequest = (input, context) => {
|
|
3242
|
-
return {
|
|
3243
|
-
...(input.DatasetImportJobArn != null && { DatasetImportJobArn: input.DatasetImportJobArn }),
|
|
3244
|
-
};
|
|
3245
|
-
};
|
|
3246
|
-
const se_DeleteDatasetRequest = (input, context) => {
|
|
3247
|
-
return {
|
|
3248
|
-
...(input.DatasetArn != null && { DatasetArn: input.DatasetArn }),
|
|
3249
|
-
};
|
|
3250
|
-
};
|
|
3251
|
-
const se_DeleteExplainabilityExportRequest = (input, context) => {
|
|
3252
|
-
return {
|
|
3253
|
-
...(input.ExplainabilityExportArn != null && { ExplainabilityExportArn: input.ExplainabilityExportArn }),
|
|
3254
|
-
};
|
|
3255
|
-
};
|
|
3256
|
-
const se_DeleteExplainabilityRequest = (input, context) => {
|
|
3257
|
-
return {
|
|
3258
|
-
...(input.ExplainabilityArn != null && { ExplainabilityArn: input.ExplainabilityArn }),
|
|
3259
|
-
};
|
|
3260
|
-
};
|
|
3261
|
-
const se_DeleteForecastExportJobRequest = (input, context) => {
|
|
3262
|
-
return {
|
|
3263
|
-
...(input.ForecastExportJobArn != null && { ForecastExportJobArn: input.ForecastExportJobArn }),
|
|
3264
|
-
};
|
|
3265
|
-
};
|
|
3266
|
-
const se_DeleteForecastRequest = (input, context) => {
|
|
3267
|
-
return {
|
|
3268
|
-
...(input.ForecastArn != null && { ForecastArn: input.ForecastArn }),
|
|
3269
|
-
};
|
|
3270
|
-
};
|
|
3271
|
-
const se_DeleteMonitorRequest = (input, context) => {
|
|
3272
|
-
return {
|
|
3273
|
-
...(input.MonitorArn != null && { MonitorArn: input.MonitorArn }),
|
|
3274
|
-
};
|
|
3275
|
-
};
|
|
3276
|
-
const se_DeletePredictorBacktestExportJobRequest = (input, context) => {
|
|
3277
|
-
return {
|
|
3278
|
-
...(input.PredictorBacktestExportJobArn != null && {
|
|
3279
|
-
PredictorBacktestExportJobArn: input.PredictorBacktestExportJobArn,
|
|
3280
|
-
}),
|
|
3281
|
-
};
|
|
3282
|
-
};
|
|
3283
|
-
const se_DeletePredictorRequest = (input, context) => {
|
|
3284
|
-
return {
|
|
3285
|
-
...(input.PredictorArn != null && { PredictorArn: input.PredictorArn }),
|
|
3286
|
-
};
|
|
3287
|
-
};
|
|
3288
|
-
const se_DeleteResourceTreeRequest = (input, context) => {
|
|
3289
|
-
return {
|
|
3290
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3291
|
-
};
|
|
3292
|
-
};
|
|
3293
|
-
const se_DeleteWhatIfAnalysisRequest = (input, context) => {
|
|
3294
|
-
return {
|
|
3295
|
-
...(input.WhatIfAnalysisArn != null && { WhatIfAnalysisArn: input.WhatIfAnalysisArn }),
|
|
3296
|
-
};
|
|
3297
|
-
};
|
|
3298
|
-
const se_DeleteWhatIfForecastExportRequest = (input, context) => {
|
|
3299
|
-
return {
|
|
3300
|
-
...(input.WhatIfForecastExportArn != null && { WhatIfForecastExportArn: input.WhatIfForecastExportArn }),
|
|
3301
|
-
};
|
|
3302
|
-
};
|
|
3303
|
-
const se_DeleteWhatIfForecastRequest = (input, context) => {
|
|
3304
|
-
return {
|
|
3305
|
-
...(input.WhatIfForecastArn != null && { WhatIfForecastArn: input.WhatIfForecastArn }),
|
|
3306
|
-
};
|
|
3307
|
-
};
|
|
3308
|
-
const se_DescribeAutoPredictorRequest = (input, context) => {
|
|
3309
|
-
return {
|
|
3310
|
-
...(input.PredictorArn != null && { PredictorArn: input.PredictorArn }),
|
|
3311
|
-
};
|
|
3312
|
-
};
|
|
3313
|
-
const se_DescribeDatasetGroupRequest = (input, context) => {
|
|
3314
|
-
return {
|
|
3315
|
-
...(input.DatasetGroupArn != null && { DatasetGroupArn: input.DatasetGroupArn }),
|
|
3316
|
-
};
|
|
3317
|
-
};
|
|
3318
|
-
const se_DescribeDatasetImportJobRequest = (input, context) => {
|
|
3319
|
-
return {
|
|
3320
|
-
...(input.DatasetImportJobArn != null && { DatasetImportJobArn: input.DatasetImportJobArn }),
|
|
3321
|
-
};
|
|
3322
|
-
};
|
|
3323
|
-
const se_DescribeDatasetRequest = (input, context) => {
|
|
3324
|
-
return {
|
|
3325
|
-
...(input.DatasetArn != null && { DatasetArn: input.DatasetArn }),
|
|
3326
|
-
};
|
|
3327
|
-
};
|
|
3328
|
-
const se_DescribeExplainabilityExportRequest = (input, context) => {
|
|
3329
|
-
return {
|
|
3330
|
-
...(input.ExplainabilityExportArn != null && { ExplainabilityExportArn: input.ExplainabilityExportArn }),
|
|
3331
|
-
};
|
|
3332
|
-
};
|
|
3333
|
-
const se_DescribeExplainabilityRequest = (input, context) => {
|
|
3334
|
-
return {
|
|
3335
|
-
...(input.ExplainabilityArn != null && { ExplainabilityArn: input.ExplainabilityArn }),
|
|
3336
|
-
};
|
|
3337
|
-
};
|
|
3338
|
-
const se_DescribeForecastExportJobRequest = (input, context) => {
|
|
3339
|
-
return {
|
|
3340
|
-
...(input.ForecastExportJobArn != null && { ForecastExportJobArn: input.ForecastExportJobArn }),
|
|
3341
|
-
};
|
|
3342
|
-
};
|
|
3343
|
-
const se_DescribeForecastRequest = (input, context) => {
|
|
3344
|
-
return {
|
|
3345
|
-
...(input.ForecastArn != null && { ForecastArn: input.ForecastArn }),
|
|
3346
|
-
};
|
|
3347
|
-
};
|
|
3348
|
-
const se_DescribeMonitorRequest = (input, context) => {
|
|
3349
|
-
return {
|
|
3350
|
-
...(input.MonitorArn != null && { MonitorArn: input.MonitorArn }),
|
|
3351
|
-
};
|
|
3352
|
-
};
|
|
3353
|
-
const se_DescribePredictorBacktestExportJobRequest = (input, context) => {
|
|
3354
|
-
return {
|
|
3355
|
-
...(input.PredictorBacktestExportJobArn != null && {
|
|
3356
|
-
PredictorBacktestExportJobArn: input.PredictorBacktestExportJobArn,
|
|
3357
|
-
}),
|
|
3358
|
-
};
|
|
3359
|
-
};
|
|
3360
|
-
const se_DescribePredictorRequest = (input, context) => {
|
|
3361
|
-
return {
|
|
3362
|
-
...(input.PredictorArn != null && { PredictorArn: input.PredictorArn }),
|
|
3363
|
-
};
|
|
3364
|
-
};
|
|
3365
|
-
const se_DescribeWhatIfAnalysisRequest = (input, context) => {
|
|
3366
|
-
return {
|
|
3367
|
-
...(input.WhatIfAnalysisArn != null && { WhatIfAnalysisArn: input.WhatIfAnalysisArn }),
|
|
3368
|
-
};
|
|
3369
|
-
};
|
|
3370
|
-
const se_DescribeWhatIfForecastExportRequest = (input, context) => {
|
|
3371
|
-
return {
|
|
3372
|
-
...(input.WhatIfForecastExportArn != null && { WhatIfForecastExportArn: input.WhatIfForecastExportArn }),
|
|
3373
|
-
};
|
|
3374
|
-
};
|
|
3375
|
-
const se_DescribeWhatIfForecastRequest = (input, context) => {
|
|
3376
|
-
return {
|
|
3377
|
-
...(input.WhatIfForecastArn != null && { WhatIfForecastArn: input.WhatIfForecastArn }),
|
|
3378
|
-
};
|
|
3379
|
-
};
|
|
3380
|
-
const se_EncryptionConfig = (input, context) => {
|
|
3381
|
-
return {
|
|
3382
|
-
...(input.KMSKeyArn != null && { KMSKeyArn: input.KMSKeyArn }),
|
|
3383
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
3384
|
-
};
|
|
3385
|
-
};
|
|
3386
|
-
const se_EvaluationParameters = (input, context) => {
|
|
3387
|
-
return {
|
|
3388
|
-
...(input.BackTestWindowOffset != null && { BackTestWindowOffset: input.BackTestWindowOffset }),
|
|
3389
|
-
...(input.NumberOfBacktestWindows != null && { NumberOfBacktestWindows: input.NumberOfBacktestWindows }),
|
|
3390
|
-
};
|
|
3391
|
-
};
|
|
3392
|
-
const se_ExplainabilityConfig = (input, context) => {
|
|
3393
|
-
return {
|
|
3394
|
-
...(input.TimePointGranularity != null && { TimePointGranularity: input.TimePointGranularity }),
|
|
3395
|
-
...(input.TimeSeriesGranularity != null && { TimeSeriesGranularity: input.TimeSeriesGranularity }),
|
|
3396
|
-
};
|
|
3397
|
-
};
|
|
3398
|
-
const se_Featurization = (input, context) => {
|
|
3399
|
-
return {
|
|
3400
|
-
...(input.AttributeName != null && { AttributeName: input.AttributeName }),
|
|
3401
|
-
...(input.FeaturizationPipeline != null && {
|
|
3402
|
-
FeaturizationPipeline: se_FeaturizationPipeline(input.FeaturizationPipeline, context),
|
|
3403
|
-
}),
|
|
3404
|
-
};
|
|
3405
|
-
};
|
|
3406
|
-
const se_FeaturizationConfig = (input, context) => {
|
|
3407
|
-
return {
|
|
3408
|
-
...(input.Featurizations != null && { Featurizations: se_Featurizations(input.Featurizations, context) }),
|
|
3409
|
-
...(input.ForecastDimensions != null && {
|
|
3410
|
-
ForecastDimensions: se_ForecastDimensions(input.ForecastDimensions, context),
|
|
3411
|
-
}),
|
|
3412
|
-
...(input.ForecastFrequency != null && { ForecastFrequency: input.ForecastFrequency }),
|
|
3413
|
-
};
|
|
3414
|
-
};
|
|
3415
|
-
const se_FeaturizationMethod = (input, context) => {
|
|
3416
|
-
return {
|
|
3417
|
-
...(input.FeaturizationMethodName != null && { FeaturizationMethodName: input.FeaturizationMethodName }),
|
|
3418
|
-
...(input.FeaturizationMethodParameters != null && {
|
|
3419
|
-
FeaturizationMethodParameters: se_FeaturizationMethodParameters(input.FeaturizationMethodParameters, context),
|
|
3420
|
-
}),
|
|
3421
|
-
};
|
|
3422
|
-
};
|
|
3423
|
-
const se_FeaturizationMethodParameters = (input, context) => {
|
|
3424
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3425
|
-
if (value === null) {
|
|
3426
|
-
return acc;
|
|
3427
|
-
}
|
|
3428
|
-
acc[key] = value;
|
|
3429
|
-
return acc;
|
|
3430
|
-
}, {});
|
|
3431
|
-
};
|
|
3432
|
-
const se_FeaturizationPipeline = (input, context) => {
|
|
3433
|
-
return input
|
|
3434
|
-
.filter((e) => e != null)
|
|
3435
|
-
.map((entry) => {
|
|
3436
|
-
return se_FeaturizationMethod(entry, context);
|
|
3437
|
-
});
|
|
3438
|
-
};
|
|
3439
|
-
const se_Featurizations = (input, context) => {
|
|
3440
|
-
return input
|
|
3441
|
-
.filter((e) => e != null)
|
|
3442
|
-
.map((entry) => {
|
|
3443
|
-
return se_Featurization(entry, context);
|
|
3444
|
-
});
|
|
3445
|
-
};
|
|
3446
|
-
const se_Filter = (input, context) => {
|
|
3447
|
-
return {
|
|
3448
|
-
...(input.Condition != null && { Condition: input.Condition }),
|
|
3449
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3450
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3451
|
-
};
|
|
3452
|
-
};
|
|
3453
|
-
const se_Filters = (input, context) => {
|
|
3454
|
-
return input
|
|
3455
|
-
.filter((e) => e != null)
|
|
3456
|
-
.map((entry) => {
|
|
3457
|
-
return se_Filter(entry, context);
|
|
3458
|
-
});
|
|
3459
|
-
};
|
|
3460
|
-
const se_ForecastDimensions = (input, context) => {
|
|
3461
|
-
return input
|
|
3462
|
-
.filter((e) => e != null)
|
|
3463
|
-
.map((entry) => {
|
|
3464
|
-
return entry;
|
|
3465
|
-
});
|
|
3466
|
-
};
|
|
3467
|
-
const se_ForecastTypes = (input, context) => {
|
|
3468
|
-
return input
|
|
3469
|
-
.filter((e) => e != null)
|
|
3470
|
-
.map((entry) => {
|
|
3471
|
-
return entry;
|
|
3472
|
-
});
|
|
3473
|
-
};
|
|
3474
|
-
const se_GetAccuracyMetricsRequest = (input, context) => {
|
|
3475
|
-
return {
|
|
3476
|
-
...(input.PredictorArn != null && { PredictorArn: input.PredictorArn }),
|
|
3477
|
-
};
|
|
3478
|
-
};
|
|
3479
|
-
const se_HyperParameterTuningJobConfig = (input, context) => {
|
|
3480
|
-
return {
|
|
3481
|
-
...(input.ParameterRanges != null && { ParameterRanges: se_ParameterRanges(input.ParameterRanges, context) }),
|
|
3482
|
-
};
|
|
3483
|
-
};
|
|
3484
|
-
const se_InputDataConfig = (input, context) => {
|
|
3485
|
-
return {
|
|
3486
|
-
...(input.DatasetGroupArn != null && { DatasetGroupArn: input.DatasetGroupArn }),
|
|
3487
|
-
...(input.SupplementaryFeatures != null && {
|
|
3488
|
-
SupplementaryFeatures: se_SupplementaryFeatures(input.SupplementaryFeatures, context),
|
|
3489
|
-
}),
|
|
3490
|
-
};
|
|
3491
|
-
};
|
|
3492
|
-
const se_IntegerParameterRange = (input, context) => {
|
|
3493
|
-
return {
|
|
3494
|
-
...(input.MaxValue != null && { MaxValue: input.MaxValue }),
|
|
3495
|
-
...(input.MinValue != null && { MinValue: input.MinValue }),
|
|
3496
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3497
|
-
...(input.ScalingType != null && { ScalingType: input.ScalingType }),
|
|
3498
|
-
};
|
|
3499
|
-
};
|
|
3500
|
-
const se_IntegerParameterRanges = (input, context) => {
|
|
3501
|
-
return input
|
|
3502
|
-
.filter((e) => e != null)
|
|
3503
|
-
.map((entry) => {
|
|
3504
|
-
return se_IntegerParameterRange(entry, context);
|
|
3505
|
-
});
|
|
3506
|
-
};
|
|
3507
|
-
const se_ListDatasetGroupsRequest = (input, context) => {
|
|
3508
|
-
return {
|
|
3509
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3510
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3511
|
-
};
|
|
3512
|
-
};
|
|
3513
|
-
const se_ListDatasetImportJobsRequest = (input, context) => {
|
|
3514
|
-
return {
|
|
3515
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3516
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3517
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3518
|
-
};
|
|
3519
|
-
};
|
|
3520
|
-
const se_ListDatasetsRequest = (input, context) => {
|
|
3521
|
-
return {
|
|
3522
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3523
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3524
|
-
};
|
|
3525
|
-
};
|
|
3526
|
-
const se_ListExplainabilitiesRequest = (input, context) => {
|
|
3527
|
-
return {
|
|
3528
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3529
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3530
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3531
|
-
};
|
|
3532
|
-
};
|
|
3533
|
-
const se_ListExplainabilityExportsRequest = (input, context) => {
|
|
3534
|
-
return {
|
|
3535
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3536
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3537
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3538
|
-
};
|
|
3539
|
-
};
|
|
3540
|
-
const se_ListForecastExportJobsRequest = (input, context) => {
|
|
3541
|
-
return {
|
|
3542
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3543
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3544
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3545
|
-
};
|
|
3546
|
-
};
|
|
3547
|
-
const se_ListForecastsRequest = (input, context) => {
|
|
3548
|
-
return {
|
|
3549
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3550
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3551
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3552
|
-
};
|
|
3553
|
-
};
|
|
3554
|
-
const se_ListMonitorEvaluationsRequest = (input, context) => {
|
|
3555
|
-
return {
|
|
3556
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3557
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3558
|
-
...(input.MonitorArn != null && { MonitorArn: input.MonitorArn }),
|
|
3559
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3560
|
-
};
|
|
3561
|
-
};
|
|
3562
|
-
const se_ListMonitorsRequest = (input, context) => {
|
|
3563
|
-
return {
|
|
3564
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3565
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3566
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3567
|
-
};
|
|
3568
|
-
};
|
|
3569
|
-
const se_ListPredictorBacktestExportJobsRequest = (input, context) => {
|
|
3570
|
-
return {
|
|
3571
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3572
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3573
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3574
|
-
};
|
|
3575
|
-
};
|
|
3576
|
-
const se_ListPredictorsRequest = (input, context) => {
|
|
3577
|
-
return {
|
|
3578
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3579
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3580
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3581
|
-
};
|
|
3582
|
-
};
|
|
3583
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
3584
|
-
return {
|
|
3585
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3586
|
-
};
|
|
3587
|
-
};
|
|
3588
|
-
const se_ListWhatIfAnalysesRequest = (input, context) => {
|
|
3589
|
-
return {
|
|
3590
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3591
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3592
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3593
|
-
};
|
|
3594
|
-
};
|
|
3595
|
-
const se_ListWhatIfForecastExportsRequest = (input, context) => {
|
|
3596
|
-
return {
|
|
3597
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3598
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3599
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3600
|
-
};
|
|
3601
|
-
};
|
|
3602
|
-
const se_ListWhatIfForecastsRequest = (input, context) => {
|
|
3603
|
-
return {
|
|
3604
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3605
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3606
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3607
|
-
};
|
|
3608
|
-
};
|
|
3609
|
-
const se_MonitorConfig = (input, context) => {
|
|
3610
|
-
return {
|
|
3611
|
-
...(input.MonitorName != null && { MonitorName: input.MonitorName }),
|
|
3612
|
-
};
|
|
3613
|
-
};
|
|
3614
|
-
const se_ParameterRanges = (input, context) => {
|
|
3615
|
-
return {
|
|
3616
|
-
...(input.CategoricalParameterRanges != null && {
|
|
3617
|
-
CategoricalParameterRanges: se_CategoricalParameterRanges(input.CategoricalParameterRanges, context),
|
|
3618
|
-
}),
|
|
3619
|
-
...(input.ContinuousParameterRanges != null && {
|
|
3620
|
-
ContinuousParameterRanges: se_ContinuousParameterRanges(input.ContinuousParameterRanges, context),
|
|
3621
|
-
}),
|
|
3622
|
-
...(input.IntegerParameterRanges != null && {
|
|
3623
|
-
IntegerParameterRanges: se_IntegerParameterRanges(input.IntegerParameterRanges, context),
|
|
3624
|
-
}),
|
|
3625
|
-
};
|
|
3626
|
-
};
|
|
3627
|
-
const se_ResumeResourceRequest = (input, context) => {
|
|
3628
|
-
return {
|
|
3629
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3630
|
-
};
|
|
3631
|
-
};
|
|
3632
|
-
const se_S3Config = (input, context) => {
|
|
3633
|
-
return {
|
|
3634
|
-
...(input.KMSKeyArn != null && { KMSKeyArn: input.KMSKeyArn }),
|
|
3635
|
-
...(input.Path != null && { Path: input.Path }),
|
|
3636
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
3637
|
-
};
|
|
3638
|
-
};
|
|
3639
|
-
const se_Schema = (input, context) => {
|
|
3640
|
-
return {
|
|
3641
|
-
...(input.Attributes != null && { Attributes: se_SchemaAttributes(input.Attributes, context) }),
|
|
3642
|
-
};
|
|
3643
|
-
};
|
|
3644
|
-
const se_SchemaAttribute = (input, context) => {
|
|
3645
|
-
return {
|
|
3646
|
-
...(input.AttributeName != null && { AttributeName: input.AttributeName }),
|
|
3647
|
-
...(input.AttributeType != null && { AttributeType: input.AttributeType }),
|
|
3648
|
-
};
|
|
3649
|
-
};
|
|
3650
|
-
const se_SchemaAttributes = (input, context) => {
|
|
3651
|
-
return input
|
|
3652
|
-
.filter((e) => e != null)
|
|
3653
|
-
.map((entry) => {
|
|
3654
|
-
return se_SchemaAttribute(entry, context);
|
|
3655
|
-
});
|
|
3656
|
-
};
|
|
3657
|
-
const se_StopResourceRequest = (input, context) => {
|
|
3658
|
-
return {
|
|
3659
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3660
|
-
};
|
|
3661
|
-
};
|
|
3662
|
-
const se_SupplementaryFeature = (input, context) => {
|
|
3663
|
-
return {
|
|
3664
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3665
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3666
|
-
};
|
|
3667
|
-
};
|
|
3668
|
-
const se_SupplementaryFeatures = (input, context) => {
|
|
3669
|
-
return input
|
|
3670
|
-
.filter((e) => e != null)
|
|
3671
|
-
.map((entry) => {
|
|
3672
|
-
return se_SupplementaryFeature(entry, context);
|
|
3673
|
-
});
|
|
3674
|
-
};
|
|
3675
|
-
const se_Tag = (input, context) => {
|
|
3676
|
-
return {
|
|
3677
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3678
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3679
|
-
};
|
|
3680
|
-
};
|
|
3681
|
-
const se_TagKeys = (input, context) => {
|
|
3682
|
-
return input
|
|
3683
|
-
.filter((e) => e != null)
|
|
3684
|
-
.map((entry) => {
|
|
3685
|
-
return entry;
|
|
3686
|
-
});
|
|
3687
|
-
};
|
|
3688
|
-
const se_TagResourceRequest = (input, context) => {
|
|
3689
|
-
return {
|
|
3690
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3691
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3692
|
-
};
|
|
3693
|
-
};
|
|
3694
|
-
const se_Tags = (input, context) => {
|
|
3695
|
-
return input
|
|
3696
|
-
.filter((e) => e != null)
|
|
3697
|
-
.map((entry) => {
|
|
3698
|
-
return se_Tag(entry, context);
|
|
3699
|
-
});
|
|
3700
|
-
};
|
|
3701
|
-
const se_TimeAlignmentBoundary = (input, context) => {
|
|
3702
|
-
return {
|
|
3703
|
-
...(input.DayOfMonth != null && { DayOfMonth: input.DayOfMonth }),
|
|
3704
|
-
...(input.DayOfWeek != null && { DayOfWeek: input.DayOfWeek }),
|
|
3705
|
-
...(input.Hour != null && { Hour: input.Hour }),
|
|
3706
|
-
...(input.Month != null && { Month: input.Month }),
|
|
3707
|
-
};
|
|
3708
|
-
};
|
|
3709
|
-
const se_TimeSeriesCondition = (input, context) => {
|
|
3710
|
-
return {
|
|
3711
|
-
...(input.AttributeName != null && { AttributeName: input.AttributeName }),
|
|
3712
|
-
...(input.AttributeValue != null && { AttributeValue: input.AttributeValue }),
|
|
3713
|
-
...(input.Condition != null && { Condition: input.Condition }),
|
|
3714
|
-
};
|
|
3715
|
-
};
|
|
3716
|
-
const se_TimeSeriesConditions = (input, context) => {
|
|
3717
|
-
return input
|
|
3718
|
-
.filter((e) => e != null)
|
|
3719
|
-
.map((entry) => {
|
|
3720
|
-
return se_TimeSeriesCondition(entry, context);
|
|
3721
|
-
});
|
|
3722
|
-
};
|
|
3723
|
-
const se_TimeSeriesIdentifiers = (input, context) => {
|
|
3724
|
-
return {
|
|
3725
|
-
...(input.DataSource != null && { DataSource: se_DataSource(input.DataSource, context) }),
|
|
3726
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3727
|
-
...(input.Schema != null && { Schema: se_Schema(input.Schema, context) }),
|
|
3728
|
-
};
|
|
3729
|
-
};
|
|
3730
|
-
const se_TimeSeriesReplacementsDataSource = (input, context) => {
|
|
3731
|
-
return {
|
|
3732
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3733
|
-
...(input.S3Config != null && { S3Config: se_S3Config(input.S3Config, context) }),
|
|
3734
|
-
...(input.Schema != null && { Schema: se_Schema(input.Schema, context) }),
|
|
3735
|
-
...(input.TimestampFormat != null && { TimestampFormat: input.TimestampFormat }),
|
|
3736
|
-
};
|
|
3737
|
-
};
|
|
3738
|
-
const se_TimeSeriesSelector = (input, context) => {
|
|
3739
|
-
return {
|
|
3740
|
-
...(input.TimeSeriesIdentifiers != null && {
|
|
3741
|
-
TimeSeriesIdentifiers: se_TimeSeriesIdentifiers(input.TimeSeriesIdentifiers, context),
|
|
3742
|
-
}),
|
|
3743
|
-
};
|
|
2903
|
+
return (0, smithy_client_1.take)(input, {
|
|
2904
|
+
AttributeName: [],
|
|
2905
|
+
Operation: [],
|
|
2906
|
+
Value: smithy_client_1.serializeFloat,
|
|
2907
|
+
});
|
|
3744
2908
|
};
|
|
3745
|
-
const
|
|
3746
|
-
return {
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
};
|
|
2909
|
+
const se_ContinuousParameterRange = (input, context) => {
|
|
2910
|
+
return (0, smithy_client_1.take)(input, {
|
|
2911
|
+
MaxValue: smithy_client_1.serializeFloat,
|
|
2912
|
+
MinValue: smithy_client_1.serializeFloat,
|
|
2913
|
+
Name: [],
|
|
2914
|
+
ScalingType: [],
|
|
2915
|
+
});
|
|
3752
2916
|
};
|
|
3753
|
-
const
|
|
2917
|
+
const se_ContinuousParameterRanges = (input, context) => {
|
|
3754
2918
|
return input
|
|
3755
2919
|
.filter((e) => e != null)
|
|
3756
2920
|
.map((entry) => {
|
|
3757
|
-
return
|
|
2921
|
+
return se_ContinuousParameterRange(entry, context);
|
|
3758
2922
|
});
|
|
3759
2923
|
};
|
|
3760
|
-
const
|
|
3761
|
-
return
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
};
|
|
3778
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
3779
|
-
return {
|
|
3780
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3781
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeys(input.TagKeys, context) }),
|
|
3782
|
-
};
|
|
3783
|
-
};
|
|
3784
|
-
const se_UpdateDatasetGroupRequest = (input, context) => {
|
|
3785
|
-
return {
|
|
3786
|
-
...(input.DatasetArns != null && { DatasetArns: se_ArnList(input.DatasetArns, context) }),
|
|
3787
|
-
...(input.DatasetGroupArn != null && { DatasetGroupArn: input.DatasetGroupArn }),
|
|
3788
|
-
};
|
|
3789
|
-
};
|
|
3790
|
-
const se_Values = (input, context) => {
|
|
3791
|
-
return input
|
|
3792
|
-
.filter((e) => e != null)
|
|
3793
|
-
.map((entry) => {
|
|
3794
|
-
return entry;
|
|
2924
|
+
const se_CreatePredictorRequest = (input, context) => {
|
|
2925
|
+
return (0, smithy_client_1.take)(input, {
|
|
2926
|
+
AlgorithmArn: [],
|
|
2927
|
+
AutoMLOverrideStrategy: [],
|
|
2928
|
+
EncryptionConfig: smithy_client_1._json,
|
|
2929
|
+
EvaluationParameters: smithy_client_1._json,
|
|
2930
|
+
FeaturizationConfig: smithy_client_1._json,
|
|
2931
|
+
ForecastHorizon: [],
|
|
2932
|
+
ForecastTypes: smithy_client_1._json,
|
|
2933
|
+
HPOConfig: (_) => se_HyperParameterTuningJobConfig(_, context),
|
|
2934
|
+
InputDataConfig: smithy_client_1._json,
|
|
2935
|
+
OptimizationMetric: [],
|
|
2936
|
+
PerformAutoML: [],
|
|
2937
|
+
PerformHPO: [],
|
|
2938
|
+
PredictorName: [],
|
|
2939
|
+
Tags: smithy_client_1._json,
|
|
2940
|
+
TrainingParameters: smithy_client_1._json,
|
|
3795
2941
|
});
|
|
3796
2942
|
};
|
|
3797
|
-
const
|
|
3798
|
-
return input
|
|
3799
|
-
.
|
|
3800
|
-
.
|
|
3801
|
-
|
|
2943
|
+
const se_CreateWhatIfForecastRequest = (input, context) => {
|
|
2944
|
+
return (0, smithy_client_1.take)(input, {
|
|
2945
|
+
Tags: smithy_client_1._json,
|
|
2946
|
+
TimeSeriesReplacementsDataSource: smithy_client_1._json,
|
|
2947
|
+
TimeSeriesTransformations: (_) => se_TimeSeriesTransformations(_, context),
|
|
2948
|
+
WhatIfAnalysisArn: [],
|
|
2949
|
+
WhatIfForecastName: [],
|
|
3802
2950
|
});
|
|
3803
2951
|
};
|
|
3804
|
-
const
|
|
3805
|
-
return {
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
|
|
3809
|
-
};
|
|
2952
|
+
const se_HyperParameterTuningJobConfig = (input, context) => {
|
|
2953
|
+
return (0, smithy_client_1.take)(input, {
|
|
2954
|
+
ParameterRanges: (_) => se_ParameterRanges(_, context),
|
|
2955
|
+
});
|
|
3810
2956
|
};
|
|
3811
|
-
const
|
|
3812
|
-
return {
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
2957
|
+
const se_ParameterRanges = (input, context) => {
|
|
2958
|
+
return (0, smithy_client_1.take)(input, {
|
|
2959
|
+
CategoricalParameterRanges: smithy_client_1._json,
|
|
2960
|
+
ContinuousParameterRanges: (_) => se_ContinuousParameterRanges(_, context),
|
|
2961
|
+
IntegerParameterRanges: smithy_client_1._json,
|
|
2962
|
+
});
|
|
3816
2963
|
};
|
|
3817
|
-
const
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
.
|
|
3821
|
-
if (entry === null) {
|
|
3822
|
-
return null;
|
|
3823
|
-
}
|
|
3824
|
-
return de_AdditionalDataset(entry, context);
|
|
2964
|
+
const se_TimeSeriesTransformation = (input, context) => {
|
|
2965
|
+
return (0, smithy_client_1.take)(input, {
|
|
2966
|
+
Action: (_) => se_Action(_, context),
|
|
2967
|
+
TimeSeriesConditions: smithy_client_1._json,
|
|
3825
2968
|
});
|
|
3826
|
-
return retVal;
|
|
3827
2969
|
};
|
|
3828
|
-
const
|
|
3829
|
-
|
|
2970
|
+
const se_TimeSeriesTransformations = (input, context) => {
|
|
2971
|
+
return input
|
|
3830
2972
|
.filter((e) => e != null)
|
|
3831
2973
|
.map((entry) => {
|
|
3832
|
-
|
|
3833
|
-
return null;
|
|
3834
|
-
}
|
|
3835
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2974
|
+
return se_TimeSeriesTransformation(entry, context);
|
|
3836
2975
|
});
|
|
3837
|
-
return retVal;
|
|
3838
|
-
};
|
|
3839
|
-
const de_AttributeConfig = (output, context) => {
|
|
3840
|
-
return {
|
|
3841
|
-
AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
|
|
3842
|
-
Transformations: output.Transformations != null ? de_Transformations(output.Transformations, context) : undefined,
|
|
3843
|
-
};
|
|
3844
2976
|
};
|
|
3845
|
-
const
|
|
3846
|
-
|
|
3847
|
-
.
|
|
3848
|
-
.
|
|
3849
|
-
|
|
3850
|
-
return null;
|
|
3851
|
-
}
|
|
3852
|
-
return de_AttributeConfig(entry, context);
|
|
2977
|
+
const de_Action = (output, context) => {
|
|
2978
|
+
return (0, smithy_client_1.take)(output, {
|
|
2979
|
+
AttributeName: smithy_client_1.expectString,
|
|
2980
|
+
Operation: smithy_client_1.expectString,
|
|
2981
|
+
Value: smithy_client_1.limitedParseDouble,
|
|
3853
2982
|
});
|
|
3854
|
-
return retVal;
|
|
3855
2983
|
};
|
|
3856
2984
|
const de_Baseline = (output, context) => {
|
|
3857
|
-
return {
|
|
3858
|
-
PredictorBaseline:
|
|
3859
|
-
};
|
|
2985
|
+
return (0, smithy_client_1.take)(output, {
|
|
2986
|
+
PredictorBaseline: (_) => de_PredictorBaseline(_, context),
|
|
2987
|
+
});
|
|
3860
2988
|
};
|
|
3861
2989
|
const de_BaselineMetric = (output, context) => {
|
|
3862
|
-
return {
|
|
3863
|
-
Name:
|
|
3864
|
-
Value:
|
|
3865
|
-
};
|
|
2990
|
+
return (0, smithy_client_1.take)(output, {
|
|
2991
|
+
Name: smithy_client_1.expectString,
|
|
2992
|
+
Value: smithy_client_1.limitedParseDouble,
|
|
2993
|
+
});
|
|
3866
2994
|
};
|
|
3867
2995
|
const de_BaselineMetrics = (output, context) => {
|
|
3868
2996
|
const retVal = (output || [])
|
|
3869
2997
|
.filter((e) => e != null)
|
|
3870
2998
|
.map((entry) => {
|
|
3871
|
-
if (entry === null) {
|
|
3872
|
-
return null;
|
|
3873
|
-
}
|
|
3874
2999
|
return de_BaselineMetric(entry, context);
|
|
3875
3000
|
});
|
|
3876
3001
|
return retVal;
|
|
3877
3002
|
};
|
|
3878
|
-
const de_CategoricalParameterRange = (output, context) => {
|
|
3879
|
-
return {
|
|
3880
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3881
|
-
Values: output.Values != null ? de_Values(output.Values, context) : undefined,
|
|
3882
|
-
};
|
|
3883
|
-
};
|
|
3884
|
-
const de_CategoricalParameterRanges = (output, context) => {
|
|
3885
|
-
const retVal = (output || [])
|
|
3886
|
-
.filter((e) => e != null)
|
|
3887
|
-
.map((entry) => {
|
|
3888
|
-
if (entry === null) {
|
|
3889
|
-
return null;
|
|
3890
|
-
}
|
|
3891
|
-
return de_CategoricalParameterRange(entry, context);
|
|
3892
|
-
});
|
|
3893
|
-
return retVal;
|
|
3894
|
-
};
|
|
3895
|
-
const de_Configuration = (output, context) => {
|
|
3896
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3897
|
-
if (value === null) {
|
|
3898
|
-
return acc;
|
|
3899
|
-
}
|
|
3900
|
-
acc[key] = de_Values(value, context);
|
|
3901
|
-
return acc;
|
|
3902
|
-
}, {});
|
|
3903
|
-
};
|
|
3904
3003
|
const de_ContinuousParameterRange = (output, context) => {
|
|
3905
|
-
return {
|
|
3906
|
-
MaxValue:
|
|
3907
|
-
MinValue:
|
|
3908
|
-
Name:
|
|
3909
|
-
ScalingType:
|
|
3910
|
-
};
|
|
3004
|
+
return (0, smithy_client_1.take)(output, {
|
|
3005
|
+
MaxValue: smithy_client_1.limitedParseDouble,
|
|
3006
|
+
MinValue: smithy_client_1.limitedParseDouble,
|
|
3007
|
+
Name: smithy_client_1.expectString,
|
|
3008
|
+
ScalingType: smithy_client_1.expectString,
|
|
3009
|
+
});
|
|
3911
3010
|
};
|
|
3912
3011
|
const de_ContinuousParameterRanges = (output, context) => {
|
|
3913
3012
|
const retVal = (output || [])
|
|
3914
3013
|
.filter((e) => e != null)
|
|
3915
3014
|
.map((entry) => {
|
|
3916
|
-
if (entry === null) {
|
|
3917
|
-
return null;
|
|
3918
|
-
}
|
|
3919
3015
|
return de_ContinuousParameterRange(entry, context);
|
|
3920
3016
|
});
|
|
3921
3017
|
return retVal;
|
|
3922
3018
|
};
|
|
3923
|
-
const de_CreateAutoPredictorResponse = (output, context) => {
|
|
3924
|
-
return {
|
|
3925
|
-
PredictorArn: (0, smithy_client_1.expectString)(output.PredictorArn),
|
|
3926
|
-
};
|
|
3927
|
-
};
|
|
3928
|
-
const de_CreateDatasetGroupResponse = (output, context) => {
|
|
3929
|
-
return {
|
|
3930
|
-
DatasetGroupArn: (0, smithy_client_1.expectString)(output.DatasetGroupArn),
|
|
3931
|
-
};
|
|
3932
|
-
};
|
|
3933
|
-
const de_CreateDatasetImportJobResponse = (output, context) => {
|
|
3934
|
-
return {
|
|
3935
|
-
DatasetImportJobArn: (0, smithy_client_1.expectString)(output.DatasetImportJobArn),
|
|
3936
|
-
};
|
|
3937
|
-
};
|
|
3938
|
-
const de_CreateDatasetResponse = (output, context) => {
|
|
3939
|
-
return {
|
|
3940
|
-
DatasetArn: (0, smithy_client_1.expectString)(output.DatasetArn),
|
|
3941
|
-
};
|
|
3942
|
-
};
|
|
3943
|
-
const de_CreateExplainabilityExportResponse = (output, context) => {
|
|
3944
|
-
return {
|
|
3945
|
-
ExplainabilityExportArn: (0, smithy_client_1.expectString)(output.ExplainabilityExportArn),
|
|
3946
|
-
};
|
|
3947
|
-
};
|
|
3948
|
-
const de_CreateExplainabilityResponse = (output, context) => {
|
|
3949
|
-
return {
|
|
3950
|
-
ExplainabilityArn: (0, smithy_client_1.expectString)(output.ExplainabilityArn),
|
|
3951
|
-
};
|
|
3952
|
-
};
|
|
3953
|
-
const de_CreateForecastExportJobResponse = (output, context) => {
|
|
3954
|
-
return {
|
|
3955
|
-
ForecastExportJobArn: (0, smithy_client_1.expectString)(output.ForecastExportJobArn),
|
|
3956
|
-
};
|
|
3957
|
-
};
|
|
3958
|
-
const de_CreateForecastResponse = (output, context) => {
|
|
3959
|
-
return {
|
|
3960
|
-
ForecastArn: (0, smithy_client_1.expectString)(output.ForecastArn),
|
|
3961
|
-
};
|
|
3962
|
-
};
|
|
3963
|
-
const de_CreateMonitorResponse = (output, context) => {
|
|
3964
|
-
return {
|
|
3965
|
-
MonitorArn: (0, smithy_client_1.expectString)(output.MonitorArn),
|
|
3966
|
-
};
|
|
3967
|
-
};
|
|
3968
|
-
const de_CreatePredictorBacktestExportJobResponse = (output, context) => {
|
|
3969
|
-
return {
|
|
3970
|
-
PredictorBacktestExportJobArn: (0, smithy_client_1.expectString)(output.PredictorBacktestExportJobArn),
|
|
3971
|
-
};
|
|
3972
|
-
};
|
|
3973
|
-
const de_CreatePredictorResponse = (output, context) => {
|
|
3974
|
-
return {
|
|
3975
|
-
PredictorArn: (0, smithy_client_1.expectString)(output.PredictorArn),
|
|
3976
|
-
};
|
|
3977
|
-
};
|
|
3978
|
-
const de_CreateWhatIfAnalysisResponse = (output, context) => {
|
|
3979
|
-
return {
|
|
3980
|
-
WhatIfAnalysisArn: (0, smithy_client_1.expectString)(output.WhatIfAnalysisArn),
|
|
3981
|
-
};
|
|
3982
|
-
};
|
|
3983
|
-
const de_CreateWhatIfForecastExportResponse = (output, context) => {
|
|
3984
|
-
return {
|
|
3985
|
-
WhatIfForecastExportArn: (0, smithy_client_1.expectString)(output.WhatIfForecastExportArn),
|
|
3986
|
-
};
|
|
3987
|
-
};
|
|
3988
|
-
const de_CreateWhatIfForecastResponse = (output, context) => {
|
|
3989
|
-
return {
|
|
3990
|
-
WhatIfForecastArn: (0, smithy_client_1.expectString)(output.WhatIfForecastArn),
|
|
3991
|
-
};
|
|
3992
|
-
};
|
|
3993
|
-
const de_DataConfig = (output, context) => {
|
|
3994
|
-
return {
|
|
3995
|
-
AdditionalDatasets: output.AdditionalDatasets != null ? de_AdditionalDatasets(output.AdditionalDatasets, context) : undefined,
|
|
3996
|
-
AttributeConfigs: output.AttributeConfigs != null ? de_AttributeConfigs(output.AttributeConfigs, context) : undefined,
|
|
3997
|
-
DatasetGroupArn: (0, smithy_client_1.expectString)(output.DatasetGroupArn),
|
|
3998
|
-
};
|
|
3999
|
-
};
|
|
4000
|
-
const de_DataDestination = (output, context) => {
|
|
4001
|
-
return {
|
|
4002
|
-
S3Config: output.S3Config != null ? de_S3Config(output.S3Config, context) : undefined,
|
|
4003
|
-
};
|
|
4004
|
-
};
|
|
4005
3019
|
const de_DatasetGroups = (output, context) => {
|
|
4006
3020
|
const retVal = (output || [])
|
|
4007
3021
|
.filter((e) => e != null)
|
|
4008
3022
|
.map((entry) => {
|
|
4009
|
-
if (entry === null) {
|
|
4010
|
-
return null;
|
|
4011
|
-
}
|
|
4012
3023
|
return de_DatasetGroupSummary(entry, context);
|
|
4013
3024
|
});
|
|
4014
3025
|
return retVal;
|
|
4015
3026
|
};
|
|
4016
3027
|
const de_DatasetGroupSummary = (output, context) => {
|
|
4017
|
-
return {
|
|
4018
|
-
CreationTime:
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
LastModificationTime: output.LastModificationTime != null
|
|
4024
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
4025
|
-
: undefined,
|
|
4026
|
-
};
|
|
3028
|
+
return (0, smithy_client_1.take)(output, {
|
|
3029
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3030
|
+
DatasetGroupArn: smithy_client_1.expectString,
|
|
3031
|
+
DatasetGroupName: smithy_client_1.expectString,
|
|
3032
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3033
|
+
});
|
|
4027
3034
|
};
|
|
4028
3035
|
const de_DatasetImportJobs = (output, context) => {
|
|
4029
3036
|
const retVal = (output || [])
|
|
4030
3037
|
.filter((e) => e != null)
|
|
4031
3038
|
.map((entry) => {
|
|
4032
|
-
if (entry === null) {
|
|
4033
|
-
return null;
|
|
4034
|
-
}
|
|
4035
3039
|
return de_DatasetImportJobSummary(entry, context);
|
|
4036
3040
|
});
|
|
4037
3041
|
return retVal;
|
|
4038
3042
|
};
|
|
4039
3043
|
const de_DatasetImportJobSummary = (output, context) => {
|
|
4040
|
-
return {
|
|
4041
|
-
CreationTime:
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
: undefined,
|
|
4051
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4052
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4053
|
-
};
|
|
3044
|
+
return (0, smithy_client_1.take)(output, {
|
|
3045
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3046
|
+
DataSource: smithy_client_1._json,
|
|
3047
|
+
DatasetImportJobArn: smithy_client_1.expectString,
|
|
3048
|
+
DatasetImportJobName: smithy_client_1.expectString,
|
|
3049
|
+
ImportMode: smithy_client_1.expectString,
|
|
3050
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3051
|
+
Message: smithy_client_1.expectString,
|
|
3052
|
+
Status: smithy_client_1.expectString,
|
|
3053
|
+
});
|
|
4054
3054
|
};
|
|
4055
3055
|
const de_Datasets = (output, context) => {
|
|
4056
3056
|
const retVal = (output || [])
|
|
4057
3057
|
.filter((e) => e != null)
|
|
4058
3058
|
.map((entry) => {
|
|
4059
|
-
if (entry === null) {
|
|
4060
|
-
return null;
|
|
4061
|
-
}
|
|
4062
3059
|
return de_DatasetSummary(entry, context);
|
|
4063
3060
|
});
|
|
4064
3061
|
return retVal;
|
|
4065
3062
|
};
|
|
4066
3063
|
const de_DatasetSummary = (output, context) => {
|
|
4067
|
-
return {
|
|
4068
|
-
CreationTime:
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
LastModificationTime: output.LastModificationTime != null
|
|
4076
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
4077
|
-
: undefined,
|
|
4078
|
-
};
|
|
4079
|
-
};
|
|
4080
|
-
const de_DataSource = (output, context) => {
|
|
4081
|
-
return {
|
|
4082
|
-
S3Config: output.S3Config != null ? de_S3Config(output.S3Config, context) : undefined,
|
|
4083
|
-
};
|
|
3064
|
+
return (0, smithy_client_1.take)(output, {
|
|
3065
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3066
|
+
DatasetArn: smithy_client_1.expectString,
|
|
3067
|
+
DatasetName: smithy_client_1.expectString,
|
|
3068
|
+
DatasetType: smithy_client_1.expectString,
|
|
3069
|
+
Domain: smithy_client_1.expectString,
|
|
3070
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3071
|
+
});
|
|
4084
3072
|
};
|
|
4085
3073
|
const de_DescribeAutoPredictorResponse = (output, context) => {
|
|
4086
|
-
return {
|
|
4087
|
-
CreationTime:
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
ReferencePredictorSummary: output.ReferencePredictorSummary != null
|
|
4108
|
-
? de_ReferencePredictorSummary(output.ReferencePredictorSummary, context)
|
|
4109
|
-
: undefined,
|
|
4110
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4111
|
-
TimeAlignmentBoundary: output.TimeAlignmentBoundary != null
|
|
4112
|
-
? de_TimeAlignmentBoundary(output.TimeAlignmentBoundary, context)
|
|
4113
|
-
: undefined,
|
|
4114
|
-
};
|
|
3074
|
+
return (0, smithy_client_1.take)(output, {
|
|
3075
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3076
|
+
DataConfig: smithy_client_1._json,
|
|
3077
|
+
DatasetImportJobArns: smithy_client_1._json,
|
|
3078
|
+
EncryptionConfig: smithy_client_1._json,
|
|
3079
|
+
EstimatedTimeRemainingInMinutes: smithy_client_1.expectLong,
|
|
3080
|
+
ExplainabilityInfo: smithy_client_1._json,
|
|
3081
|
+
ForecastDimensions: smithy_client_1._json,
|
|
3082
|
+
ForecastFrequency: smithy_client_1.expectString,
|
|
3083
|
+
ForecastHorizon: smithy_client_1.expectInt32,
|
|
3084
|
+
ForecastTypes: smithy_client_1._json,
|
|
3085
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3086
|
+
Message: smithy_client_1.expectString,
|
|
3087
|
+
MonitorInfo: smithy_client_1._json,
|
|
3088
|
+
OptimizationMetric: smithy_client_1.expectString,
|
|
3089
|
+
PredictorArn: smithy_client_1.expectString,
|
|
3090
|
+
PredictorName: smithy_client_1.expectString,
|
|
3091
|
+
ReferencePredictorSummary: smithy_client_1._json,
|
|
3092
|
+
Status: smithy_client_1.expectString,
|
|
3093
|
+
TimeAlignmentBoundary: smithy_client_1._json,
|
|
3094
|
+
});
|
|
4115
3095
|
};
|
|
4116
3096
|
const de_DescribeDatasetGroupResponse = (output, context) => {
|
|
4117
|
-
return {
|
|
4118
|
-
CreationTime:
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
4127
|
-
: undefined,
|
|
4128
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4129
|
-
};
|
|
3097
|
+
return (0, smithy_client_1.take)(output, {
|
|
3098
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3099
|
+
DatasetArns: smithy_client_1._json,
|
|
3100
|
+
DatasetGroupArn: smithy_client_1.expectString,
|
|
3101
|
+
DatasetGroupName: smithy_client_1.expectString,
|
|
3102
|
+
Domain: smithy_client_1.expectString,
|
|
3103
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3104
|
+
Status: smithy_client_1.expectString,
|
|
3105
|
+
});
|
|
4130
3106
|
};
|
|
4131
3107
|
const de_DescribeDatasetImportJobResponse = (output, context) => {
|
|
4132
|
-
return {
|
|
4133
|
-
CreationTime:
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
TimeZone: (0, smithy_client_1.expectString)(output.TimeZone),
|
|
4152
|
-
TimestampFormat: (0, smithy_client_1.expectString)(output.TimestampFormat),
|
|
4153
|
-
UseGeolocationForTimeZone: (0, smithy_client_1.expectBoolean)(output.UseGeolocationForTimeZone),
|
|
4154
|
-
};
|
|
3108
|
+
return (0, smithy_client_1.take)(output, {
|
|
3109
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3110
|
+
DataSize: smithy_client_1.limitedParseDouble,
|
|
3111
|
+
DataSource: smithy_client_1._json,
|
|
3112
|
+
DatasetArn: smithy_client_1.expectString,
|
|
3113
|
+
DatasetImportJobArn: smithy_client_1.expectString,
|
|
3114
|
+
DatasetImportJobName: smithy_client_1.expectString,
|
|
3115
|
+
EstimatedTimeRemainingInMinutes: smithy_client_1.expectLong,
|
|
3116
|
+
FieldStatistics: (_) => de_FieldStatistics(_, context),
|
|
3117
|
+
Format: smithy_client_1.expectString,
|
|
3118
|
+
GeolocationFormat: smithy_client_1.expectString,
|
|
3119
|
+
ImportMode: smithy_client_1.expectString,
|
|
3120
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3121
|
+
Message: smithy_client_1.expectString,
|
|
3122
|
+
Status: smithy_client_1.expectString,
|
|
3123
|
+
TimeZone: smithy_client_1.expectString,
|
|
3124
|
+
TimestampFormat: smithy_client_1.expectString,
|
|
3125
|
+
UseGeolocationForTimeZone: smithy_client_1.expectBoolean,
|
|
3126
|
+
});
|
|
4155
3127
|
};
|
|
4156
3128
|
const de_DescribeDatasetResponse = (output, context) => {
|
|
4157
|
-
return {
|
|
4158
|
-
CreationTime:
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
: undefined,
|
|
4170
|
-
Schema: output.Schema != null ? de_Schema(output.Schema, context) : undefined,
|
|
4171
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4172
|
-
};
|
|
3129
|
+
return (0, smithy_client_1.take)(output, {
|
|
3130
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3131
|
+
DataFrequency: smithy_client_1.expectString,
|
|
3132
|
+
DatasetArn: smithy_client_1.expectString,
|
|
3133
|
+
DatasetName: smithy_client_1.expectString,
|
|
3134
|
+
DatasetType: smithy_client_1.expectString,
|
|
3135
|
+
Domain: smithy_client_1.expectString,
|
|
3136
|
+
EncryptionConfig: smithy_client_1._json,
|
|
3137
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3138
|
+
Schema: smithy_client_1._json,
|
|
3139
|
+
Status: smithy_client_1.expectString,
|
|
3140
|
+
});
|
|
4173
3141
|
};
|
|
4174
3142
|
const de_DescribeExplainabilityExportResponse = (output, context) => {
|
|
4175
|
-
return {
|
|
4176
|
-
CreationTime:
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
: undefined,
|
|
4187
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4188
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4189
|
-
};
|
|
3143
|
+
return (0, smithy_client_1.take)(output, {
|
|
3144
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3145
|
+
Destination: smithy_client_1._json,
|
|
3146
|
+
ExplainabilityArn: smithy_client_1.expectString,
|
|
3147
|
+
ExplainabilityExportArn: smithy_client_1.expectString,
|
|
3148
|
+
ExplainabilityExportName: smithy_client_1.expectString,
|
|
3149
|
+
Format: smithy_client_1.expectString,
|
|
3150
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3151
|
+
Message: smithy_client_1.expectString,
|
|
3152
|
+
Status: smithy_client_1.expectString,
|
|
3153
|
+
});
|
|
4190
3154
|
};
|
|
4191
3155
|
const de_DescribeExplainabilityResponse = (output, context) => {
|
|
4192
|
-
return {
|
|
4193
|
-
CreationTime:
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
Schema: output.Schema != null ? de_Schema(output.Schema, context) : undefined,
|
|
4209
|
-
StartDateTime: (0, smithy_client_1.expectString)(output.StartDateTime),
|
|
4210
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4211
|
-
};
|
|
3156
|
+
return (0, smithy_client_1.take)(output, {
|
|
3157
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3158
|
+
DataSource: smithy_client_1._json,
|
|
3159
|
+
EnableVisualization: smithy_client_1.expectBoolean,
|
|
3160
|
+
EndDateTime: smithy_client_1.expectString,
|
|
3161
|
+
EstimatedTimeRemainingInMinutes: smithy_client_1.expectLong,
|
|
3162
|
+
ExplainabilityArn: smithy_client_1.expectString,
|
|
3163
|
+
ExplainabilityConfig: smithy_client_1._json,
|
|
3164
|
+
ExplainabilityName: smithy_client_1.expectString,
|
|
3165
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3166
|
+
Message: smithy_client_1.expectString,
|
|
3167
|
+
ResourceArn: smithy_client_1.expectString,
|
|
3168
|
+
Schema: smithy_client_1._json,
|
|
3169
|
+
StartDateTime: smithy_client_1.expectString,
|
|
3170
|
+
Status: smithy_client_1.expectString,
|
|
3171
|
+
});
|
|
4212
3172
|
};
|
|
4213
3173
|
const de_DescribeForecastExportJobResponse = (output, context) => {
|
|
4214
|
-
return {
|
|
4215
|
-
CreationTime:
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
: undefined,
|
|
4226
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4227
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4228
|
-
};
|
|
3174
|
+
return (0, smithy_client_1.take)(output, {
|
|
3175
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3176
|
+
Destination: smithy_client_1._json,
|
|
3177
|
+
ForecastArn: smithy_client_1.expectString,
|
|
3178
|
+
ForecastExportJobArn: smithy_client_1.expectString,
|
|
3179
|
+
ForecastExportJobName: smithy_client_1.expectString,
|
|
3180
|
+
Format: smithy_client_1.expectString,
|
|
3181
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3182
|
+
Message: smithy_client_1.expectString,
|
|
3183
|
+
Status: smithy_client_1.expectString,
|
|
3184
|
+
});
|
|
4229
3185
|
};
|
|
4230
3186
|
const de_DescribeForecastResponse = (output, context) => {
|
|
4231
|
-
return {
|
|
4232
|
-
CreationTime:
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
PredictorArn: (0, smithy_client_1.expectString)(output.PredictorArn),
|
|
4245
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4246
|
-
TimeSeriesSelector: output.TimeSeriesSelector != null ? de_TimeSeriesSelector(output.TimeSeriesSelector, context) : undefined,
|
|
4247
|
-
};
|
|
3187
|
+
return (0, smithy_client_1.take)(output, {
|
|
3188
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3189
|
+
DatasetGroupArn: smithy_client_1.expectString,
|
|
3190
|
+
EstimatedTimeRemainingInMinutes: smithy_client_1.expectLong,
|
|
3191
|
+
ForecastArn: smithy_client_1.expectString,
|
|
3192
|
+
ForecastName: smithy_client_1.expectString,
|
|
3193
|
+
ForecastTypes: smithy_client_1._json,
|
|
3194
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3195
|
+
Message: smithy_client_1.expectString,
|
|
3196
|
+
PredictorArn: smithy_client_1.expectString,
|
|
3197
|
+
Status: smithy_client_1.expectString,
|
|
3198
|
+
TimeSeriesSelector: smithy_client_1._json,
|
|
3199
|
+
});
|
|
4248
3200
|
};
|
|
4249
3201
|
const de_DescribeMonitorResponse = (output, context) => {
|
|
4250
|
-
return {
|
|
4251
|
-
Baseline:
|
|
4252
|
-
CreationTime:
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4264
|
-
MonitorArn: (0, smithy_client_1.expectString)(output.MonitorArn),
|
|
4265
|
-
MonitorName: (0, smithy_client_1.expectString)(output.MonitorName),
|
|
4266
|
-
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
4267
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4268
|
-
};
|
|
3202
|
+
return (0, smithy_client_1.take)(output, {
|
|
3203
|
+
Baseline: (_) => de_Baseline(_, context),
|
|
3204
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3205
|
+
EstimatedEvaluationTimeRemainingInMinutes: smithy_client_1.expectLong,
|
|
3206
|
+
LastEvaluationState: smithy_client_1.expectString,
|
|
3207
|
+
LastEvaluationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3208
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3209
|
+
Message: smithy_client_1.expectString,
|
|
3210
|
+
MonitorArn: smithy_client_1.expectString,
|
|
3211
|
+
MonitorName: smithy_client_1.expectString,
|
|
3212
|
+
ResourceArn: smithy_client_1.expectString,
|
|
3213
|
+
Status: smithy_client_1.expectString,
|
|
3214
|
+
});
|
|
4269
3215
|
};
|
|
4270
3216
|
const de_DescribePredictorBacktestExportJobResponse = (output, context) => {
|
|
4271
|
-
return {
|
|
4272
|
-
CreationTime:
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
PredictorBacktestExportJobArn: (0, smithy_client_1.expectString)(output.PredictorBacktestExportJobArn),
|
|
4283
|
-
PredictorBacktestExportJobName: (0, smithy_client_1.expectString)(output.PredictorBacktestExportJobName),
|
|
4284
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4285
|
-
};
|
|
3217
|
+
return (0, smithy_client_1.take)(output, {
|
|
3218
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3219
|
+
Destination: smithy_client_1._json,
|
|
3220
|
+
Format: smithy_client_1.expectString,
|
|
3221
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3222
|
+
Message: smithy_client_1.expectString,
|
|
3223
|
+
PredictorArn: smithy_client_1.expectString,
|
|
3224
|
+
PredictorBacktestExportJobArn: smithy_client_1.expectString,
|
|
3225
|
+
PredictorBacktestExportJobName: smithy_client_1.expectString,
|
|
3226
|
+
Status: smithy_client_1.expectString,
|
|
3227
|
+
});
|
|
4286
3228
|
};
|
|
4287
3229
|
const de_DescribePredictorResponse = (output, context) => {
|
|
4288
|
-
return {
|
|
4289
|
-
AlgorithmArn:
|
|
4290
|
-
AutoMLAlgorithmArns:
|
|
4291
|
-
AutoMLOverrideStrategy:
|
|
4292
|
-
CreationTime:
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
? de_PredictorExecutionDetails(output.PredictorExecutionDetails, context)
|
|
4315
|
-
: undefined,
|
|
4316
|
-
PredictorName: (0, smithy_client_1.expectString)(output.PredictorName),
|
|
4317
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4318
|
-
TrainingParameters: output.TrainingParameters != null ? de_TrainingParameters(output.TrainingParameters, context) : undefined,
|
|
4319
|
-
};
|
|
3230
|
+
return (0, smithy_client_1.take)(output, {
|
|
3231
|
+
AlgorithmArn: smithy_client_1.expectString,
|
|
3232
|
+
AutoMLAlgorithmArns: smithy_client_1._json,
|
|
3233
|
+
AutoMLOverrideStrategy: smithy_client_1.expectString,
|
|
3234
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3235
|
+
DatasetImportJobArns: smithy_client_1._json,
|
|
3236
|
+
EncryptionConfig: smithy_client_1._json,
|
|
3237
|
+
EstimatedTimeRemainingInMinutes: smithy_client_1.expectLong,
|
|
3238
|
+
EvaluationParameters: smithy_client_1._json,
|
|
3239
|
+
FeaturizationConfig: smithy_client_1._json,
|
|
3240
|
+
ForecastHorizon: smithy_client_1.expectInt32,
|
|
3241
|
+
ForecastTypes: smithy_client_1._json,
|
|
3242
|
+
HPOConfig: (_) => de_HyperParameterTuningJobConfig(_, context),
|
|
3243
|
+
InputDataConfig: smithy_client_1._json,
|
|
3244
|
+
IsAutoPredictor: smithy_client_1.expectBoolean,
|
|
3245
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3246
|
+
Message: smithy_client_1.expectString,
|
|
3247
|
+
OptimizationMetric: smithy_client_1.expectString,
|
|
3248
|
+
PerformAutoML: smithy_client_1.expectBoolean,
|
|
3249
|
+
PerformHPO: smithy_client_1.expectBoolean,
|
|
3250
|
+
PredictorArn: smithy_client_1.expectString,
|
|
3251
|
+
PredictorExecutionDetails: (_) => de_PredictorExecutionDetails(_, context),
|
|
3252
|
+
PredictorName: smithy_client_1.expectString,
|
|
3253
|
+
Status: smithy_client_1.expectString,
|
|
3254
|
+
TrainingParameters: smithy_client_1._json,
|
|
3255
|
+
});
|
|
4320
3256
|
};
|
|
4321
3257
|
const de_DescribeWhatIfAnalysisResponse = (output, context) => {
|
|
4322
|
-
return {
|
|
4323
|
-
CreationTime:
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
TimeSeriesSelector: output.TimeSeriesSelector != null ? de_TimeSeriesSelector(output.TimeSeriesSelector, context) : undefined,
|
|
4334
|
-
WhatIfAnalysisArn: (0, smithy_client_1.expectString)(output.WhatIfAnalysisArn),
|
|
4335
|
-
WhatIfAnalysisName: (0, smithy_client_1.expectString)(output.WhatIfAnalysisName),
|
|
4336
|
-
};
|
|
3258
|
+
return (0, smithy_client_1.take)(output, {
|
|
3259
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3260
|
+
EstimatedTimeRemainingInMinutes: smithy_client_1.expectLong,
|
|
3261
|
+
ForecastArn: smithy_client_1.expectString,
|
|
3262
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3263
|
+
Message: smithy_client_1.expectString,
|
|
3264
|
+
Status: smithy_client_1.expectString,
|
|
3265
|
+
TimeSeriesSelector: smithy_client_1._json,
|
|
3266
|
+
WhatIfAnalysisArn: smithy_client_1.expectString,
|
|
3267
|
+
WhatIfAnalysisName: smithy_client_1.expectString,
|
|
3268
|
+
});
|
|
4337
3269
|
};
|
|
4338
3270
|
const de_DescribeWhatIfForecastExportResponse = (output, context) => {
|
|
4339
|
-
return {
|
|
4340
|
-
CreationTime:
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
WhatIfForecastArns: output.WhatIfForecastArns != null ? de_LongArnList(output.WhatIfForecastArns, context) : undefined,
|
|
4352
|
-
WhatIfForecastExportArn: (0, smithy_client_1.expectString)(output.WhatIfForecastExportArn),
|
|
4353
|
-
WhatIfForecastExportName: (0, smithy_client_1.expectString)(output.WhatIfForecastExportName),
|
|
4354
|
-
};
|
|
3271
|
+
return (0, smithy_client_1.take)(output, {
|
|
3272
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3273
|
+
Destination: smithy_client_1._json,
|
|
3274
|
+
EstimatedTimeRemainingInMinutes: smithy_client_1.expectLong,
|
|
3275
|
+
Format: smithy_client_1.expectString,
|
|
3276
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3277
|
+
Message: smithy_client_1.expectString,
|
|
3278
|
+
Status: smithy_client_1.expectString,
|
|
3279
|
+
WhatIfForecastArns: smithy_client_1._json,
|
|
3280
|
+
WhatIfForecastExportArn: smithy_client_1.expectString,
|
|
3281
|
+
WhatIfForecastExportName: smithy_client_1.expectString,
|
|
3282
|
+
});
|
|
4355
3283
|
};
|
|
4356
3284
|
const de_DescribeWhatIfForecastResponse = (output, context) => {
|
|
4357
|
-
return {
|
|
4358
|
-
CreationTime:
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
: undefined,
|
|
4371
|
-
TimeSeriesTransformations: output.TimeSeriesTransformations != null
|
|
4372
|
-
? de_TimeSeriesTransformations(output.TimeSeriesTransformations, context)
|
|
4373
|
-
: undefined,
|
|
4374
|
-
WhatIfAnalysisArn: (0, smithy_client_1.expectString)(output.WhatIfAnalysisArn),
|
|
4375
|
-
WhatIfForecastArn: (0, smithy_client_1.expectString)(output.WhatIfForecastArn),
|
|
4376
|
-
WhatIfForecastName: (0, smithy_client_1.expectString)(output.WhatIfForecastName),
|
|
4377
|
-
};
|
|
4378
|
-
};
|
|
4379
|
-
const de_EncryptionConfig = (output, context) => {
|
|
4380
|
-
return {
|
|
4381
|
-
KMSKeyArn: (0, smithy_client_1.expectString)(output.KMSKeyArn),
|
|
4382
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
4383
|
-
};
|
|
3285
|
+
return (0, smithy_client_1.take)(output, {
|
|
3286
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3287
|
+
EstimatedTimeRemainingInMinutes: smithy_client_1.expectLong,
|
|
3288
|
+
ForecastTypes: smithy_client_1._json,
|
|
3289
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3290
|
+
Message: smithy_client_1.expectString,
|
|
3291
|
+
Status: smithy_client_1.expectString,
|
|
3292
|
+
TimeSeriesReplacementsDataSource: smithy_client_1._json,
|
|
3293
|
+
TimeSeriesTransformations: (_) => de_TimeSeriesTransformations(_, context),
|
|
3294
|
+
WhatIfAnalysisArn: smithy_client_1.expectString,
|
|
3295
|
+
WhatIfForecastArn: smithy_client_1.expectString,
|
|
3296
|
+
WhatIfForecastName: smithy_client_1.expectString,
|
|
3297
|
+
});
|
|
4384
3298
|
};
|
|
4385
3299
|
const de_ErrorMetric = (output, context) => {
|
|
4386
|
-
return {
|
|
4387
|
-
ForecastType:
|
|
4388
|
-
MAPE:
|
|
4389
|
-
MASE:
|
|
4390
|
-
RMSE:
|
|
4391
|
-
WAPE:
|
|
4392
|
-
};
|
|
3300
|
+
return (0, smithy_client_1.take)(output, {
|
|
3301
|
+
ForecastType: smithy_client_1.expectString,
|
|
3302
|
+
MAPE: smithy_client_1.limitedParseDouble,
|
|
3303
|
+
MASE: smithy_client_1.limitedParseDouble,
|
|
3304
|
+
RMSE: smithy_client_1.limitedParseDouble,
|
|
3305
|
+
WAPE: smithy_client_1.limitedParseDouble,
|
|
3306
|
+
});
|
|
4393
3307
|
};
|
|
4394
3308
|
const de_ErrorMetrics = (output, context) => {
|
|
4395
3309
|
const retVal = (output || [])
|
|
4396
3310
|
.filter((e) => e != null)
|
|
4397
3311
|
.map((entry) => {
|
|
4398
|
-
if (entry === null) {
|
|
4399
|
-
return null;
|
|
4400
|
-
}
|
|
4401
3312
|
return de_ErrorMetric(entry, context);
|
|
4402
3313
|
});
|
|
4403
3314
|
return retVal;
|
|
4404
3315
|
};
|
|
4405
|
-
const de_EvaluationParameters = (output, context) => {
|
|
4406
|
-
return {
|
|
4407
|
-
BackTestWindowOffset: (0, smithy_client_1.expectInt32)(output.BackTestWindowOffset),
|
|
4408
|
-
NumberOfBacktestWindows: (0, smithy_client_1.expectInt32)(output.NumberOfBacktestWindows),
|
|
4409
|
-
};
|
|
4410
|
-
};
|
|
4411
3316
|
const de_EvaluationResult = (output, context) => {
|
|
4412
|
-
return {
|
|
4413
|
-
AlgorithmArn:
|
|
4414
|
-
TestWindows:
|
|
4415
|
-
};
|
|
3317
|
+
return (0, smithy_client_1.take)(output, {
|
|
3318
|
+
AlgorithmArn: smithy_client_1.expectString,
|
|
3319
|
+
TestWindows: (_) => de_TestWindows(_, context),
|
|
3320
|
+
});
|
|
4416
3321
|
};
|
|
4417
3322
|
const de_Explainabilities = (output, context) => {
|
|
4418
3323
|
const retVal = (output || [])
|
|
4419
3324
|
.filter((e) => e != null)
|
|
4420
3325
|
.map((entry) => {
|
|
4421
|
-
if (entry === null) {
|
|
4422
|
-
return null;
|
|
4423
|
-
}
|
|
4424
3326
|
return de_ExplainabilitySummary(entry, context);
|
|
4425
3327
|
});
|
|
4426
3328
|
return retVal;
|
|
4427
3329
|
};
|
|
4428
|
-
const de_ExplainabilityConfig = (output, context) => {
|
|
4429
|
-
return {
|
|
4430
|
-
TimePointGranularity: (0, smithy_client_1.expectString)(output.TimePointGranularity),
|
|
4431
|
-
TimeSeriesGranularity: (0, smithy_client_1.expectString)(output.TimeSeriesGranularity),
|
|
4432
|
-
};
|
|
4433
|
-
};
|
|
4434
3330
|
const de_ExplainabilityExports = (output, context) => {
|
|
4435
3331
|
const retVal = (output || [])
|
|
4436
3332
|
.filter((e) => e != null)
|
|
4437
3333
|
.map((entry) => {
|
|
4438
|
-
if (entry === null) {
|
|
4439
|
-
return null;
|
|
4440
|
-
}
|
|
4441
3334
|
return de_ExplainabilityExportSummary(entry, context);
|
|
4442
3335
|
});
|
|
4443
3336
|
return retVal;
|
|
4444
3337
|
};
|
|
4445
3338
|
const de_ExplainabilityExportSummary = (output, context) => {
|
|
4446
|
-
return {
|
|
4447
|
-
CreationTime:
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
4455
|
-
: undefined,
|
|
4456
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4457
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4458
|
-
};
|
|
4459
|
-
};
|
|
4460
|
-
const de_ExplainabilityInfo = (output, context) => {
|
|
4461
|
-
return {
|
|
4462
|
-
ExplainabilityArn: (0, smithy_client_1.expectString)(output.ExplainabilityArn),
|
|
4463
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4464
|
-
};
|
|
4465
|
-
};
|
|
4466
|
-
const de_ExplainabilitySummary = (output, context) => {
|
|
4467
|
-
return {
|
|
4468
|
-
CreationTime: output.CreationTime != null
|
|
4469
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4470
|
-
: undefined,
|
|
4471
|
-
ExplainabilityArn: (0, smithy_client_1.expectString)(output.ExplainabilityArn),
|
|
4472
|
-
ExplainabilityConfig: output.ExplainabilityConfig != null ? de_ExplainabilityConfig(output.ExplainabilityConfig, context) : undefined,
|
|
4473
|
-
ExplainabilityName: (0, smithy_client_1.expectString)(output.ExplainabilityName),
|
|
4474
|
-
LastModificationTime: output.LastModificationTime != null
|
|
4475
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModificationTime)))
|
|
4476
|
-
: undefined,
|
|
4477
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4478
|
-
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
4479
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4480
|
-
};
|
|
4481
|
-
};
|
|
4482
|
-
const de_Featurization = (output, context) => {
|
|
4483
|
-
return {
|
|
4484
|
-
AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
|
|
4485
|
-
FeaturizationPipeline: output.FeaturizationPipeline != null
|
|
4486
|
-
? de_FeaturizationPipeline(output.FeaturizationPipeline, context)
|
|
4487
|
-
: undefined,
|
|
4488
|
-
};
|
|
4489
|
-
};
|
|
4490
|
-
const de_FeaturizationConfig = (output, context) => {
|
|
4491
|
-
return {
|
|
4492
|
-
Featurizations: output.Featurizations != null ? de_Featurizations(output.Featurizations, context) : undefined,
|
|
4493
|
-
ForecastDimensions: output.ForecastDimensions != null ? de_ForecastDimensions(output.ForecastDimensions, context) : undefined,
|
|
4494
|
-
ForecastFrequency: (0, smithy_client_1.expectString)(output.ForecastFrequency),
|
|
4495
|
-
};
|
|
4496
|
-
};
|
|
4497
|
-
const de_FeaturizationMethod = (output, context) => {
|
|
4498
|
-
return {
|
|
4499
|
-
FeaturizationMethodName: (0, smithy_client_1.expectString)(output.FeaturizationMethodName),
|
|
4500
|
-
FeaturizationMethodParameters: output.FeaturizationMethodParameters != null
|
|
4501
|
-
? de_FeaturizationMethodParameters(output.FeaturizationMethodParameters, context)
|
|
4502
|
-
: undefined,
|
|
4503
|
-
};
|
|
4504
|
-
};
|
|
4505
|
-
const de_FeaturizationMethodParameters = (output, context) => {
|
|
4506
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4507
|
-
if (value === null) {
|
|
4508
|
-
return acc;
|
|
4509
|
-
}
|
|
4510
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
4511
|
-
return acc;
|
|
4512
|
-
}, {});
|
|
4513
|
-
};
|
|
4514
|
-
const de_FeaturizationPipeline = (output, context) => {
|
|
4515
|
-
const retVal = (output || [])
|
|
4516
|
-
.filter((e) => e != null)
|
|
4517
|
-
.map((entry) => {
|
|
4518
|
-
if (entry === null) {
|
|
4519
|
-
return null;
|
|
4520
|
-
}
|
|
4521
|
-
return de_FeaturizationMethod(entry, context);
|
|
3339
|
+
return (0, smithy_client_1.take)(output, {
|
|
3340
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3341
|
+
Destination: smithy_client_1._json,
|
|
3342
|
+
ExplainabilityExportArn: smithy_client_1.expectString,
|
|
3343
|
+
ExplainabilityExportName: smithy_client_1.expectString,
|
|
3344
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3345
|
+
Message: smithy_client_1.expectString,
|
|
3346
|
+
Status: smithy_client_1.expectString,
|
|
4522
3347
|
});
|
|
4523
|
-
return retVal;
|
|
4524
3348
|
};
|
|
4525
|
-
const
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
.
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
3349
|
+
const de_ExplainabilitySummary = (output, context) => {
|
|
3350
|
+
return (0, smithy_client_1.take)(output, {
|
|
3351
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3352
|
+
ExplainabilityArn: smithy_client_1.expectString,
|
|
3353
|
+
ExplainabilityConfig: smithy_client_1._json,
|
|
3354
|
+
ExplainabilityName: smithy_client_1.expectString,
|
|
3355
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3356
|
+
Message: smithy_client_1.expectString,
|
|
3357
|
+
ResourceArn: smithy_client_1.expectString,
|
|
3358
|
+
Status: smithy_client_1.expectString,
|
|
4533
3359
|
});
|
|
4534
|
-
return retVal;
|
|
4535
3360
|
};
|
|
4536
3361
|
const de_FieldStatistics = (output, context) => {
|
|
4537
3362
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
@@ -4539,426 +3364,269 @@ const de_FieldStatistics = (output, context) => {
|
|
|
4539
3364
|
return acc;
|
|
4540
3365
|
}
|
|
4541
3366
|
acc[key] = de_Statistics(value, context);
|
|
4542
|
-
return acc;
|
|
4543
|
-
}, {});
|
|
4544
|
-
};
|
|
4545
|
-
const de_ForecastDimensions = (output, context) => {
|
|
4546
|
-
const retVal = (output || [])
|
|
4547
|
-
.filter((e) => e != null)
|
|
4548
|
-
.map((entry) => {
|
|
4549
|
-
if (entry === null) {
|
|
4550
|
-
return null;
|
|
4551
|
-
}
|
|
4552
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4553
|
-
});
|
|
4554
|
-
return retVal;
|
|
3367
|
+
return acc;
|
|
3368
|
+
}, {});
|
|
4555
3369
|
};
|
|
4556
3370
|
const de_ForecastExportJobs = (output, context) => {
|
|
4557
3371
|
const retVal = (output || [])
|
|
4558
3372
|
.filter((e) => e != null)
|
|
4559
3373
|
.map((entry) => {
|
|
4560
|
-
if (entry === null) {
|
|
4561
|
-
return null;
|
|
4562
|
-
}
|
|
4563
3374
|
return de_ForecastExportJobSummary(entry, context);
|
|
4564
3375
|
});
|
|
4565
3376
|
return retVal;
|
|
4566
3377
|
};
|
|
4567
3378
|
const de_ForecastExportJobSummary = (output, context) => {
|
|
4568
|
-
return {
|
|
4569
|
-
CreationTime:
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
: undefined,
|
|
4578
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4579
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4580
|
-
};
|
|
3379
|
+
return (0, smithy_client_1.take)(output, {
|
|
3380
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3381
|
+
Destination: smithy_client_1._json,
|
|
3382
|
+
ForecastExportJobArn: smithy_client_1.expectString,
|
|
3383
|
+
ForecastExportJobName: smithy_client_1.expectString,
|
|
3384
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3385
|
+
Message: smithy_client_1.expectString,
|
|
3386
|
+
Status: smithy_client_1.expectString,
|
|
3387
|
+
});
|
|
4581
3388
|
};
|
|
4582
3389
|
const de_Forecasts = (output, context) => {
|
|
4583
3390
|
const retVal = (output || [])
|
|
4584
3391
|
.filter((e) => e != null)
|
|
4585
3392
|
.map((entry) => {
|
|
4586
|
-
if (entry === null) {
|
|
4587
|
-
return null;
|
|
4588
|
-
}
|
|
4589
3393
|
return de_ForecastSummary(entry, context);
|
|
4590
3394
|
});
|
|
4591
3395
|
return retVal;
|
|
4592
3396
|
};
|
|
4593
3397
|
const de_ForecastSummary = (output, context) => {
|
|
4594
|
-
return {
|
|
4595
|
-
CreatedUsingAutoPredictor:
|
|
4596
|
-
CreationTime:
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
: undefined,
|
|
4605
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4606
|
-
PredictorArn: (0, smithy_client_1.expectString)(output.PredictorArn),
|
|
4607
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4608
|
-
};
|
|
4609
|
-
};
|
|
4610
|
-
const de_ForecastTypes = (output, context) => {
|
|
4611
|
-
const retVal = (output || [])
|
|
4612
|
-
.filter((e) => e != null)
|
|
4613
|
-
.map((entry) => {
|
|
4614
|
-
if (entry === null) {
|
|
4615
|
-
return null;
|
|
4616
|
-
}
|
|
4617
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3398
|
+
return (0, smithy_client_1.take)(output, {
|
|
3399
|
+
CreatedUsingAutoPredictor: smithy_client_1.expectBoolean,
|
|
3400
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3401
|
+
DatasetGroupArn: smithy_client_1.expectString,
|
|
3402
|
+
ForecastArn: smithy_client_1.expectString,
|
|
3403
|
+
ForecastName: smithy_client_1.expectString,
|
|
3404
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3405
|
+
Message: smithy_client_1.expectString,
|
|
3406
|
+
PredictorArn: smithy_client_1.expectString,
|
|
3407
|
+
Status: smithy_client_1.expectString,
|
|
4618
3408
|
});
|
|
4619
|
-
return retVal;
|
|
4620
3409
|
};
|
|
4621
3410
|
const de_GetAccuracyMetricsResponse = (output, context) => {
|
|
4622
|
-
return {
|
|
4623
|
-
AutoMLOverrideStrategy:
|
|
4624
|
-
IsAutoPredictor:
|
|
4625
|
-
OptimizationMetric:
|
|
4626
|
-
PredictorEvaluationResults:
|
|
4627
|
-
|
|
4628
|
-
: undefined,
|
|
4629
|
-
};
|
|
3411
|
+
return (0, smithy_client_1.take)(output, {
|
|
3412
|
+
AutoMLOverrideStrategy: smithy_client_1.expectString,
|
|
3413
|
+
IsAutoPredictor: smithy_client_1.expectBoolean,
|
|
3414
|
+
OptimizationMetric: smithy_client_1.expectString,
|
|
3415
|
+
PredictorEvaluationResults: (_) => de_PredictorEvaluationResults(_, context),
|
|
3416
|
+
});
|
|
4630
3417
|
};
|
|
4631
3418
|
const de_HyperParameterTuningJobConfig = (output, context) => {
|
|
4632
|
-
return {
|
|
4633
|
-
ParameterRanges:
|
|
4634
|
-
};
|
|
4635
|
-
};
|
|
4636
|
-
const de_InputDataConfig = (output, context) => {
|
|
4637
|
-
return {
|
|
4638
|
-
DatasetGroupArn: (0, smithy_client_1.expectString)(output.DatasetGroupArn),
|
|
4639
|
-
SupplementaryFeatures: output.SupplementaryFeatures != null
|
|
4640
|
-
? de_SupplementaryFeatures(output.SupplementaryFeatures, context)
|
|
4641
|
-
: undefined,
|
|
4642
|
-
};
|
|
4643
|
-
};
|
|
4644
|
-
const de_IntegerParameterRange = (output, context) => {
|
|
4645
|
-
return {
|
|
4646
|
-
MaxValue: (0, smithy_client_1.expectInt32)(output.MaxValue),
|
|
4647
|
-
MinValue: (0, smithy_client_1.expectInt32)(output.MinValue),
|
|
4648
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4649
|
-
ScalingType: (0, smithy_client_1.expectString)(output.ScalingType),
|
|
4650
|
-
};
|
|
4651
|
-
};
|
|
4652
|
-
const de_IntegerParameterRanges = (output, context) => {
|
|
4653
|
-
const retVal = (output || [])
|
|
4654
|
-
.filter((e) => e != null)
|
|
4655
|
-
.map((entry) => {
|
|
4656
|
-
if (entry === null) {
|
|
4657
|
-
return null;
|
|
4658
|
-
}
|
|
4659
|
-
return de_IntegerParameterRange(entry, context);
|
|
3419
|
+
return (0, smithy_client_1.take)(output, {
|
|
3420
|
+
ParameterRanges: (_) => de_ParameterRanges(_, context),
|
|
4660
3421
|
});
|
|
4661
|
-
return retVal;
|
|
4662
|
-
};
|
|
4663
|
-
const de_InvalidInputException = (output, context) => {
|
|
4664
|
-
return {
|
|
4665
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4666
|
-
};
|
|
4667
|
-
};
|
|
4668
|
-
const de_InvalidNextTokenException = (output, context) => {
|
|
4669
|
-
return {
|
|
4670
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4671
|
-
};
|
|
4672
|
-
};
|
|
4673
|
-
const de_LimitExceededException = (output, context) => {
|
|
4674
|
-
return {
|
|
4675
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4676
|
-
};
|
|
4677
3422
|
};
|
|
4678
3423
|
const de_ListDatasetGroupsResponse = (output, context) => {
|
|
4679
|
-
return {
|
|
4680
|
-
DatasetGroups:
|
|
4681
|
-
NextToken:
|
|
4682
|
-
};
|
|
3424
|
+
return (0, smithy_client_1.take)(output, {
|
|
3425
|
+
DatasetGroups: (_) => de_DatasetGroups(_, context),
|
|
3426
|
+
NextToken: smithy_client_1.expectString,
|
|
3427
|
+
});
|
|
4683
3428
|
};
|
|
4684
3429
|
const de_ListDatasetImportJobsResponse = (output, context) => {
|
|
4685
|
-
return {
|
|
4686
|
-
DatasetImportJobs:
|
|
4687
|
-
NextToken:
|
|
4688
|
-
};
|
|
3430
|
+
return (0, smithy_client_1.take)(output, {
|
|
3431
|
+
DatasetImportJobs: (_) => de_DatasetImportJobs(_, context),
|
|
3432
|
+
NextToken: smithy_client_1.expectString,
|
|
3433
|
+
});
|
|
4689
3434
|
};
|
|
4690
3435
|
const de_ListDatasetsResponse = (output, context) => {
|
|
4691
|
-
return {
|
|
4692
|
-
Datasets:
|
|
4693
|
-
NextToken:
|
|
4694
|
-
};
|
|
3436
|
+
return (0, smithy_client_1.take)(output, {
|
|
3437
|
+
Datasets: (_) => de_Datasets(_, context),
|
|
3438
|
+
NextToken: smithy_client_1.expectString,
|
|
3439
|
+
});
|
|
4695
3440
|
};
|
|
4696
3441
|
const de_ListExplainabilitiesResponse = (output, context) => {
|
|
4697
|
-
return {
|
|
4698
|
-
Explainabilities:
|
|
4699
|
-
NextToken:
|
|
4700
|
-
};
|
|
3442
|
+
return (0, smithy_client_1.take)(output, {
|
|
3443
|
+
Explainabilities: (_) => de_Explainabilities(_, context),
|
|
3444
|
+
NextToken: smithy_client_1.expectString,
|
|
3445
|
+
});
|
|
4701
3446
|
};
|
|
4702
3447
|
const de_ListExplainabilityExportsResponse = (output, context) => {
|
|
4703
|
-
return {
|
|
4704
|
-
ExplainabilityExports:
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4708
|
-
};
|
|
3448
|
+
return (0, smithy_client_1.take)(output, {
|
|
3449
|
+
ExplainabilityExports: (_) => de_ExplainabilityExports(_, context),
|
|
3450
|
+
NextToken: smithy_client_1.expectString,
|
|
3451
|
+
});
|
|
4709
3452
|
};
|
|
4710
3453
|
const de_ListForecastExportJobsResponse = (output, context) => {
|
|
4711
|
-
return {
|
|
4712
|
-
ForecastExportJobs:
|
|
4713
|
-
NextToken:
|
|
4714
|
-
};
|
|
3454
|
+
return (0, smithy_client_1.take)(output, {
|
|
3455
|
+
ForecastExportJobs: (_) => de_ForecastExportJobs(_, context),
|
|
3456
|
+
NextToken: smithy_client_1.expectString,
|
|
3457
|
+
});
|
|
4715
3458
|
};
|
|
4716
3459
|
const de_ListForecastsResponse = (output, context) => {
|
|
4717
|
-
return {
|
|
4718
|
-
Forecasts:
|
|
4719
|
-
NextToken:
|
|
4720
|
-
};
|
|
3460
|
+
return (0, smithy_client_1.take)(output, {
|
|
3461
|
+
Forecasts: (_) => de_Forecasts(_, context),
|
|
3462
|
+
NextToken: smithy_client_1.expectString,
|
|
3463
|
+
});
|
|
4721
3464
|
};
|
|
4722
3465
|
const de_ListMonitorEvaluationsResponse = (output, context) => {
|
|
4723
|
-
return {
|
|
4724
|
-
NextToken:
|
|
4725
|
-
PredictorMonitorEvaluations:
|
|
4726
|
-
|
|
4727
|
-
: undefined,
|
|
4728
|
-
};
|
|
3466
|
+
return (0, smithy_client_1.take)(output, {
|
|
3467
|
+
NextToken: smithy_client_1.expectString,
|
|
3468
|
+
PredictorMonitorEvaluations: (_) => de_PredictorMonitorEvaluations(_, context),
|
|
3469
|
+
});
|
|
4729
3470
|
};
|
|
4730
3471
|
const de_ListMonitorsResponse = (output, context) => {
|
|
4731
|
-
return {
|
|
4732
|
-
Monitors:
|
|
4733
|
-
NextToken:
|
|
4734
|
-
};
|
|
3472
|
+
return (0, smithy_client_1.take)(output, {
|
|
3473
|
+
Monitors: (_) => de_Monitors(_, context),
|
|
3474
|
+
NextToken: smithy_client_1.expectString,
|
|
3475
|
+
});
|
|
4735
3476
|
};
|
|
4736
3477
|
const de_ListPredictorBacktestExportJobsResponse = (output, context) => {
|
|
4737
|
-
return {
|
|
4738
|
-
NextToken:
|
|
4739
|
-
PredictorBacktestExportJobs:
|
|
4740
|
-
|
|
4741
|
-
: undefined,
|
|
4742
|
-
};
|
|
3478
|
+
return (0, smithy_client_1.take)(output, {
|
|
3479
|
+
NextToken: smithy_client_1.expectString,
|
|
3480
|
+
PredictorBacktestExportJobs: (_) => de_PredictorBacktestExportJobs(_, context),
|
|
3481
|
+
});
|
|
4743
3482
|
};
|
|
4744
3483
|
const de_ListPredictorsResponse = (output, context) => {
|
|
4745
|
-
return {
|
|
4746
|
-
NextToken:
|
|
4747
|
-
Predictors:
|
|
4748
|
-
};
|
|
4749
|
-
};
|
|
4750
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
4751
|
-
return {
|
|
4752
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
4753
|
-
};
|
|
3484
|
+
return (0, smithy_client_1.take)(output, {
|
|
3485
|
+
NextToken: smithy_client_1.expectString,
|
|
3486
|
+
Predictors: (_) => de_Predictors(_, context),
|
|
3487
|
+
});
|
|
4754
3488
|
};
|
|
4755
3489
|
const de_ListWhatIfAnalysesResponse = (output, context) => {
|
|
4756
|
-
return {
|
|
4757
|
-
NextToken:
|
|
4758
|
-
WhatIfAnalyses:
|
|
4759
|
-
};
|
|
3490
|
+
return (0, smithy_client_1.take)(output, {
|
|
3491
|
+
NextToken: smithy_client_1.expectString,
|
|
3492
|
+
WhatIfAnalyses: (_) => de_WhatIfAnalyses(_, context),
|
|
3493
|
+
});
|
|
4760
3494
|
};
|
|
4761
3495
|
const de_ListWhatIfForecastExportsResponse = (output, context) => {
|
|
4762
|
-
return {
|
|
4763
|
-
NextToken:
|
|
4764
|
-
WhatIfForecastExports:
|
|
4765
|
-
|
|
4766
|
-
: undefined,
|
|
4767
|
-
};
|
|
3496
|
+
return (0, smithy_client_1.take)(output, {
|
|
3497
|
+
NextToken: smithy_client_1.expectString,
|
|
3498
|
+
WhatIfForecastExports: (_) => de_WhatIfForecastExports(_, context),
|
|
3499
|
+
});
|
|
4768
3500
|
};
|
|
4769
3501
|
const de_ListWhatIfForecastsResponse = (output, context) => {
|
|
4770
|
-
return {
|
|
4771
|
-
NextToken:
|
|
4772
|
-
WhatIfForecasts:
|
|
4773
|
-
};
|
|
4774
|
-
};
|
|
4775
|
-
const de_LongArnList = (output, context) => {
|
|
4776
|
-
const retVal = (output || [])
|
|
4777
|
-
.filter((e) => e != null)
|
|
4778
|
-
.map((entry) => {
|
|
4779
|
-
if (entry === null) {
|
|
4780
|
-
return null;
|
|
4781
|
-
}
|
|
4782
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3502
|
+
return (0, smithy_client_1.take)(output, {
|
|
3503
|
+
NextToken: smithy_client_1.expectString,
|
|
3504
|
+
WhatIfForecasts: (_) => de_WhatIfForecasts(_, context),
|
|
4783
3505
|
});
|
|
4784
|
-
return retVal;
|
|
4785
3506
|
};
|
|
4786
3507
|
const de_MetricResult = (output, context) => {
|
|
4787
|
-
return {
|
|
4788
|
-
MetricName:
|
|
4789
|
-
MetricValue:
|
|
4790
|
-
};
|
|
3508
|
+
return (0, smithy_client_1.take)(output, {
|
|
3509
|
+
MetricName: smithy_client_1.expectString,
|
|
3510
|
+
MetricValue: smithy_client_1.limitedParseDouble,
|
|
3511
|
+
});
|
|
4791
3512
|
};
|
|
4792
3513
|
const de_MetricResults = (output, context) => {
|
|
4793
3514
|
const retVal = (output || [])
|
|
4794
3515
|
.filter((e) => e != null)
|
|
4795
3516
|
.map((entry) => {
|
|
4796
|
-
if (entry === null) {
|
|
4797
|
-
return null;
|
|
4798
|
-
}
|
|
4799
3517
|
return de_MetricResult(entry, context);
|
|
4800
3518
|
});
|
|
4801
3519
|
return retVal;
|
|
4802
3520
|
};
|
|
4803
3521
|
const de_Metrics = (output, context) => {
|
|
4804
|
-
return {
|
|
4805
|
-
AverageWeightedQuantileLoss:
|
|
4806
|
-
ErrorMetrics:
|
|
4807
|
-
RMSE:
|
|
4808
|
-
WeightedQuantileLosses:
|
|
4809
|
-
|
|
4810
|
-
: undefined,
|
|
4811
|
-
};
|
|
4812
|
-
};
|
|
4813
|
-
const de_MonitorDataSource = (output, context) => {
|
|
4814
|
-
return {
|
|
4815
|
-
DatasetImportJobArn: (0, smithy_client_1.expectString)(output.DatasetImportJobArn),
|
|
4816
|
-
ForecastArn: (0, smithy_client_1.expectString)(output.ForecastArn),
|
|
4817
|
-
PredictorArn: (0, smithy_client_1.expectString)(output.PredictorArn),
|
|
4818
|
-
};
|
|
4819
|
-
};
|
|
4820
|
-
const de_MonitorInfo = (output, context) => {
|
|
4821
|
-
return {
|
|
4822
|
-
MonitorArn: (0, smithy_client_1.expectString)(output.MonitorArn),
|
|
4823
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4824
|
-
};
|
|
3522
|
+
return (0, smithy_client_1.take)(output, {
|
|
3523
|
+
AverageWeightedQuantileLoss: smithy_client_1.limitedParseDouble,
|
|
3524
|
+
ErrorMetrics: (_) => de_ErrorMetrics(_, context),
|
|
3525
|
+
RMSE: smithy_client_1.limitedParseDouble,
|
|
3526
|
+
WeightedQuantileLosses: (_) => de_WeightedQuantileLosses(_, context),
|
|
3527
|
+
});
|
|
4825
3528
|
};
|
|
4826
3529
|
const de_Monitors = (output, context) => {
|
|
4827
3530
|
const retVal = (output || [])
|
|
4828
3531
|
.filter((e) => e != null)
|
|
4829
3532
|
.map((entry) => {
|
|
4830
|
-
if (entry === null) {
|
|
4831
|
-
return null;
|
|
4832
|
-
}
|
|
4833
3533
|
return de_MonitorSummary(entry, context);
|
|
4834
3534
|
});
|
|
4835
3535
|
return retVal;
|
|
4836
3536
|
};
|
|
4837
3537
|
const de_MonitorSummary = (output, context) => {
|
|
4838
|
-
return {
|
|
4839
|
-
CreationTime:
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
MonitorName: (0, smithy_client_1.expectString)(output.MonitorName),
|
|
4847
|
-
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
4848
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4849
|
-
};
|
|
3538
|
+
return (0, smithy_client_1.take)(output, {
|
|
3539
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3540
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3541
|
+
MonitorArn: smithy_client_1.expectString,
|
|
3542
|
+
MonitorName: smithy_client_1.expectString,
|
|
3543
|
+
ResourceArn: smithy_client_1.expectString,
|
|
3544
|
+
Status: smithy_client_1.expectString,
|
|
3545
|
+
});
|
|
4850
3546
|
};
|
|
4851
3547
|
const de_ParameterRanges = (output, context) => {
|
|
4852
|
-
return {
|
|
4853
|
-
CategoricalParameterRanges:
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
? de_ContinuousParameterRanges(output.ContinuousParameterRanges, context)
|
|
4858
|
-
: undefined,
|
|
4859
|
-
IntegerParameterRanges: output.IntegerParameterRanges != null
|
|
4860
|
-
? de_IntegerParameterRanges(output.IntegerParameterRanges, context)
|
|
4861
|
-
: undefined,
|
|
4862
|
-
};
|
|
3548
|
+
return (0, smithy_client_1.take)(output, {
|
|
3549
|
+
CategoricalParameterRanges: smithy_client_1._json,
|
|
3550
|
+
ContinuousParameterRanges: (_) => de_ContinuousParameterRanges(_, context),
|
|
3551
|
+
IntegerParameterRanges: smithy_client_1._json,
|
|
3552
|
+
});
|
|
4863
3553
|
};
|
|
4864
3554
|
const de_PredictorBacktestExportJobs = (output, context) => {
|
|
4865
3555
|
const retVal = (output || [])
|
|
4866
3556
|
.filter((e) => e != null)
|
|
4867
3557
|
.map((entry) => {
|
|
4868
|
-
if (entry === null) {
|
|
4869
|
-
return null;
|
|
4870
|
-
}
|
|
4871
3558
|
return de_PredictorBacktestExportJobSummary(entry, context);
|
|
4872
3559
|
});
|
|
4873
3560
|
return retVal;
|
|
4874
3561
|
};
|
|
4875
3562
|
const de_PredictorBacktestExportJobSummary = (output, context) => {
|
|
4876
|
-
return {
|
|
4877
|
-
CreationTime:
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
PredictorBacktestExportJobArn: (0, smithy_client_1.expectString)(output.PredictorBacktestExportJobArn),
|
|
4886
|
-
PredictorBacktestExportJobName: (0, smithy_client_1.expectString)(output.PredictorBacktestExportJobName),
|
|
4887
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4888
|
-
};
|
|
3563
|
+
return (0, smithy_client_1.take)(output, {
|
|
3564
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3565
|
+
Destination: smithy_client_1._json,
|
|
3566
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3567
|
+
Message: smithy_client_1.expectString,
|
|
3568
|
+
PredictorBacktestExportJobArn: smithy_client_1.expectString,
|
|
3569
|
+
PredictorBacktestExportJobName: smithy_client_1.expectString,
|
|
3570
|
+
Status: smithy_client_1.expectString,
|
|
3571
|
+
});
|
|
4889
3572
|
};
|
|
4890
3573
|
const de_PredictorBaseline = (output, context) => {
|
|
4891
|
-
return {
|
|
4892
|
-
BaselineMetrics:
|
|
4893
|
-
};
|
|
3574
|
+
return (0, smithy_client_1.take)(output, {
|
|
3575
|
+
BaselineMetrics: (_) => de_BaselineMetrics(_, context),
|
|
3576
|
+
});
|
|
4894
3577
|
};
|
|
4895
3578
|
const de_PredictorEvaluationResults = (output, context) => {
|
|
4896
3579
|
const retVal = (output || [])
|
|
4897
3580
|
.filter((e) => e != null)
|
|
4898
3581
|
.map((entry) => {
|
|
4899
|
-
if (entry === null) {
|
|
4900
|
-
return null;
|
|
4901
|
-
}
|
|
4902
3582
|
return de_EvaluationResult(entry, context);
|
|
4903
3583
|
});
|
|
4904
3584
|
return retVal;
|
|
4905
3585
|
};
|
|
4906
3586
|
const de_PredictorEvent = (output, context) => {
|
|
4907
|
-
return {
|
|
4908
|
-
Datetime:
|
|
4909
|
-
Detail:
|
|
4910
|
-
};
|
|
3587
|
+
return (0, smithy_client_1.take)(output, {
|
|
3588
|
+
Datetime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3589
|
+
Detail: smithy_client_1.expectString,
|
|
3590
|
+
});
|
|
4911
3591
|
};
|
|
4912
3592
|
const de_PredictorExecution = (output, context) => {
|
|
4913
|
-
return {
|
|
4914
|
-
AlgorithmArn:
|
|
4915
|
-
TestWindows:
|
|
4916
|
-
};
|
|
3593
|
+
return (0, smithy_client_1.take)(output, {
|
|
3594
|
+
AlgorithmArn: smithy_client_1.expectString,
|
|
3595
|
+
TestWindows: (_) => de_TestWindowDetails(_, context),
|
|
3596
|
+
});
|
|
4917
3597
|
};
|
|
4918
3598
|
const de_PredictorExecutionDetails = (output, context) => {
|
|
4919
|
-
return {
|
|
4920
|
-
PredictorExecutions:
|
|
4921
|
-
};
|
|
3599
|
+
return (0, smithy_client_1.take)(output, {
|
|
3600
|
+
PredictorExecutions: (_) => de_PredictorExecutions(_, context),
|
|
3601
|
+
});
|
|
4922
3602
|
};
|
|
4923
3603
|
const de_PredictorExecutions = (output, context) => {
|
|
4924
3604
|
const retVal = (output || [])
|
|
4925
3605
|
.filter((e) => e != null)
|
|
4926
3606
|
.map((entry) => {
|
|
4927
|
-
if (entry === null) {
|
|
4928
|
-
return null;
|
|
4929
|
-
}
|
|
4930
3607
|
return de_PredictorExecution(entry, context);
|
|
4931
3608
|
});
|
|
4932
3609
|
return retVal;
|
|
4933
3610
|
};
|
|
4934
3611
|
const de_PredictorMonitorEvaluation = (output, context) => {
|
|
4935
|
-
return {
|
|
4936
|
-
EvaluationState:
|
|
4937
|
-
EvaluationTime:
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.WindowEndDatetime)))
|
|
4949
|
-
: undefined,
|
|
4950
|
-
WindowStartDatetime: output.WindowStartDatetime != null
|
|
4951
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.WindowStartDatetime)))
|
|
4952
|
-
: undefined,
|
|
4953
|
-
};
|
|
3612
|
+
return (0, smithy_client_1.take)(output, {
|
|
3613
|
+
EvaluationState: smithy_client_1.expectString,
|
|
3614
|
+
EvaluationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3615
|
+
Message: smithy_client_1.expectString,
|
|
3616
|
+
MetricResults: (_) => de_MetricResults(_, context),
|
|
3617
|
+
MonitorArn: smithy_client_1.expectString,
|
|
3618
|
+
MonitorDataSource: smithy_client_1._json,
|
|
3619
|
+
NumItemsEvaluated: smithy_client_1.expectLong,
|
|
3620
|
+
PredictorEvent: (_) => de_PredictorEvent(_, context),
|
|
3621
|
+
ResourceArn: smithy_client_1.expectString,
|
|
3622
|
+
WindowEndDatetime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3623
|
+
WindowStartDatetime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3624
|
+
});
|
|
4954
3625
|
};
|
|
4955
3626
|
const de_PredictorMonitorEvaluations = (output, context) => {
|
|
4956
3627
|
const retVal = (output || [])
|
|
4957
3628
|
.filter((e) => e != null)
|
|
4958
3629
|
.map((entry) => {
|
|
4959
|
-
if (entry === null) {
|
|
4960
|
-
return null;
|
|
4961
|
-
}
|
|
4962
3630
|
return de_PredictorMonitorEvaluation(entry, context);
|
|
4963
3631
|
});
|
|
4964
3632
|
return retVal;
|
|
@@ -4967,142 +3635,43 @@ const de_Predictors = (output, context) => {
|
|
|
4967
3635
|
const retVal = (output || [])
|
|
4968
3636
|
.filter((e) => e != null)
|
|
4969
3637
|
.map((entry) => {
|
|
4970
|
-
if (entry === null) {
|
|
4971
|
-
return null;
|
|
4972
|
-
}
|
|
4973
3638
|
return de_PredictorSummary(entry, context);
|
|
4974
3639
|
});
|
|
4975
3640
|
return retVal;
|
|
4976
3641
|
};
|
|
4977
3642
|
const de_PredictorSummary = (output, context) => {
|
|
4978
|
-
return {
|
|
4979
|
-
CreationTime:
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
PredictorArn: (0, smithy_client_1.expectString)(output.PredictorArn),
|
|
4989
|
-
PredictorName: (0, smithy_client_1.expectString)(output.PredictorName),
|
|
4990
|
-
ReferencePredictorSummary: output.ReferencePredictorSummary != null
|
|
4991
|
-
? de_ReferencePredictorSummary(output.ReferencePredictorSummary, context)
|
|
4992
|
-
: undefined,
|
|
4993
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4994
|
-
};
|
|
4995
|
-
};
|
|
4996
|
-
const de_ReferencePredictorSummary = (output, context) => {
|
|
4997
|
-
return {
|
|
4998
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4999
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
5000
|
-
};
|
|
5001
|
-
};
|
|
5002
|
-
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
5003
|
-
return {
|
|
5004
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5005
|
-
};
|
|
5006
|
-
};
|
|
5007
|
-
const de_ResourceInUseException = (output, context) => {
|
|
5008
|
-
return {
|
|
5009
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5010
|
-
};
|
|
5011
|
-
};
|
|
5012
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
5013
|
-
return {
|
|
5014
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5015
|
-
};
|
|
5016
|
-
};
|
|
5017
|
-
const de_S3Config = (output, context) => {
|
|
5018
|
-
return {
|
|
5019
|
-
KMSKeyArn: (0, smithy_client_1.expectString)(output.KMSKeyArn),
|
|
5020
|
-
Path: (0, smithy_client_1.expectString)(output.Path),
|
|
5021
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
5022
|
-
};
|
|
5023
|
-
};
|
|
5024
|
-
const de_Schema = (output, context) => {
|
|
5025
|
-
return {
|
|
5026
|
-
Attributes: output.Attributes != null ? de_SchemaAttributes(output.Attributes, context) : undefined,
|
|
5027
|
-
};
|
|
5028
|
-
};
|
|
5029
|
-
const de_SchemaAttribute = (output, context) => {
|
|
5030
|
-
return {
|
|
5031
|
-
AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
|
|
5032
|
-
AttributeType: (0, smithy_client_1.expectString)(output.AttributeType),
|
|
5033
|
-
};
|
|
5034
|
-
};
|
|
5035
|
-
const de_SchemaAttributes = (output, context) => {
|
|
5036
|
-
const retVal = (output || [])
|
|
5037
|
-
.filter((e) => e != null)
|
|
5038
|
-
.map((entry) => {
|
|
5039
|
-
if (entry === null) {
|
|
5040
|
-
return null;
|
|
5041
|
-
}
|
|
5042
|
-
return de_SchemaAttribute(entry, context);
|
|
3643
|
+
return (0, smithy_client_1.take)(output, {
|
|
3644
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3645
|
+
DatasetGroupArn: smithy_client_1.expectString,
|
|
3646
|
+
IsAutoPredictor: smithy_client_1.expectBoolean,
|
|
3647
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3648
|
+
Message: smithy_client_1.expectString,
|
|
3649
|
+
PredictorArn: smithy_client_1.expectString,
|
|
3650
|
+
PredictorName: smithy_client_1.expectString,
|
|
3651
|
+
ReferencePredictorSummary: smithy_client_1._json,
|
|
3652
|
+
Status: smithy_client_1.expectString,
|
|
5043
3653
|
});
|
|
5044
|
-
return retVal;
|
|
5045
3654
|
};
|
|
5046
3655
|
const de_Statistics = (output, context) => {
|
|
5047
|
-
return {
|
|
5048
|
-
Avg:
|
|
5049
|
-
Count:
|
|
5050
|
-
CountDistinct:
|
|
5051
|
-
CountDistinctLong:
|
|
5052
|
-
CountLong:
|
|
5053
|
-
CountNan:
|
|
5054
|
-
CountNanLong:
|
|
5055
|
-
CountNull:
|
|
5056
|
-
CountNullLong:
|
|
5057
|
-
Max:
|
|
5058
|
-
Min:
|
|
5059
|
-
Stddev:
|
|
5060
|
-
};
|
|
5061
|
-
};
|
|
5062
|
-
const de_SupplementaryFeature = (output, context) => {
|
|
5063
|
-
return {
|
|
5064
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5065
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
5066
|
-
};
|
|
5067
|
-
};
|
|
5068
|
-
const de_SupplementaryFeatures = (output, context) => {
|
|
5069
|
-
const retVal = (output || [])
|
|
5070
|
-
.filter((e) => e != null)
|
|
5071
|
-
.map((entry) => {
|
|
5072
|
-
if (entry === null) {
|
|
5073
|
-
return null;
|
|
5074
|
-
}
|
|
5075
|
-
return de_SupplementaryFeature(entry, context);
|
|
5076
|
-
});
|
|
5077
|
-
return retVal;
|
|
5078
|
-
};
|
|
5079
|
-
const de_Tag = (output, context) => {
|
|
5080
|
-
return {
|
|
5081
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
5082
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
5083
|
-
};
|
|
5084
|
-
};
|
|
5085
|
-
const de_TagResourceResponse = (output, context) => {
|
|
5086
|
-
return {};
|
|
5087
|
-
};
|
|
5088
|
-
const de_Tags = (output, context) => {
|
|
5089
|
-
const retVal = (output || [])
|
|
5090
|
-
.filter((e) => e != null)
|
|
5091
|
-
.map((entry) => {
|
|
5092
|
-
if (entry === null) {
|
|
5093
|
-
return null;
|
|
5094
|
-
}
|
|
5095
|
-
return de_Tag(entry, context);
|
|
3656
|
+
return (0, smithy_client_1.take)(output, {
|
|
3657
|
+
Avg: smithy_client_1.limitedParseDouble,
|
|
3658
|
+
Count: smithy_client_1.expectInt32,
|
|
3659
|
+
CountDistinct: smithy_client_1.expectInt32,
|
|
3660
|
+
CountDistinctLong: smithy_client_1.expectLong,
|
|
3661
|
+
CountLong: smithy_client_1.expectLong,
|
|
3662
|
+
CountNan: smithy_client_1.expectInt32,
|
|
3663
|
+
CountNanLong: smithy_client_1.expectLong,
|
|
3664
|
+
CountNull: smithy_client_1.expectInt32,
|
|
3665
|
+
CountNullLong: smithy_client_1.expectLong,
|
|
3666
|
+
Max: smithy_client_1.expectString,
|
|
3667
|
+
Min: smithy_client_1.expectString,
|
|
3668
|
+
Stddev: smithy_client_1.limitedParseDouble,
|
|
5096
3669
|
});
|
|
5097
|
-
return retVal;
|
|
5098
3670
|
};
|
|
5099
3671
|
const de_TestWindowDetails = (output, context) => {
|
|
5100
3672
|
const retVal = (output || [])
|
|
5101
3673
|
.filter((e) => e != null)
|
|
5102
3674
|
.map((entry) => {
|
|
5103
|
-
if (entry === null) {
|
|
5104
|
-
return null;
|
|
5105
|
-
}
|
|
5106
3675
|
return de_TestWindowSummary(entry, context);
|
|
5107
3676
|
});
|
|
5108
3677
|
return retVal;
|
|
@@ -5111,138 +3680,42 @@ const de_TestWindows = (output, context) => {
|
|
|
5111
3680
|
const retVal = (output || [])
|
|
5112
3681
|
.filter((e) => e != null)
|
|
5113
3682
|
.map((entry) => {
|
|
5114
|
-
if (entry === null) {
|
|
5115
|
-
return null;
|
|
5116
|
-
}
|
|
5117
3683
|
return de_WindowSummary(entry, context);
|
|
5118
3684
|
});
|
|
5119
3685
|
return retVal;
|
|
5120
3686
|
};
|
|
5121
3687
|
const de_TestWindowSummary = (output, context) => {
|
|
5122
|
-
return {
|
|
5123
|
-
Message:
|
|
5124
|
-
Status:
|
|
5125
|
-
TestWindowEnd:
|
|
5126
|
-
|
|
5127
|
-
: undefined,
|
|
5128
|
-
TestWindowStart: output.TestWindowStart != null
|
|
5129
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TestWindowStart)))
|
|
5130
|
-
: undefined,
|
|
5131
|
-
};
|
|
5132
|
-
};
|
|
5133
|
-
const de_TimeAlignmentBoundary = (output, context) => {
|
|
5134
|
-
return {
|
|
5135
|
-
DayOfMonth: (0, smithy_client_1.expectInt32)(output.DayOfMonth),
|
|
5136
|
-
DayOfWeek: (0, smithy_client_1.expectString)(output.DayOfWeek),
|
|
5137
|
-
Hour: (0, smithy_client_1.expectInt32)(output.Hour),
|
|
5138
|
-
Month: (0, smithy_client_1.expectString)(output.Month),
|
|
5139
|
-
};
|
|
5140
|
-
};
|
|
5141
|
-
const de_TimeSeriesCondition = (output, context) => {
|
|
5142
|
-
return {
|
|
5143
|
-
AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
|
|
5144
|
-
AttributeValue: (0, smithy_client_1.expectString)(output.AttributeValue),
|
|
5145
|
-
Condition: (0, smithy_client_1.expectString)(output.Condition),
|
|
5146
|
-
};
|
|
5147
|
-
};
|
|
5148
|
-
const de_TimeSeriesConditions = (output, context) => {
|
|
5149
|
-
const retVal = (output || [])
|
|
5150
|
-
.filter((e) => e != null)
|
|
5151
|
-
.map((entry) => {
|
|
5152
|
-
if (entry === null) {
|
|
5153
|
-
return null;
|
|
5154
|
-
}
|
|
5155
|
-
return de_TimeSeriesCondition(entry, context);
|
|
3688
|
+
return (0, smithy_client_1.take)(output, {
|
|
3689
|
+
Message: smithy_client_1.expectString,
|
|
3690
|
+
Status: smithy_client_1.expectString,
|
|
3691
|
+
TestWindowEnd: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3692
|
+
TestWindowStart: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
5156
3693
|
});
|
|
5157
|
-
return retVal;
|
|
5158
|
-
};
|
|
5159
|
-
const de_TimeSeriesIdentifiers = (output, context) => {
|
|
5160
|
-
return {
|
|
5161
|
-
DataSource: output.DataSource != null ? de_DataSource(output.DataSource, context) : undefined,
|
|
5162
|
-
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
5163
|
-
Schema: output.Schema != null ? de_Schema(output.Schema, context) : undefined,
|
|
5164
|
-
};
|
|
5165
|
-
};
|
|
5166
|
-
const de_TimeSeriesReplacementsDataSource = (output, context) => {
|
|
5167
|
-
return {
|
|
5168
|
-
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
5169
|
-
S3Config: output.S3Config != null ? de_S3Config(output.S3Config, context) : undefined,
|
|
5170
|
-
Schema: output.Schema != null ? de_Schema(output.Schema, context) : undefined,
|
|
5171
|
-
TimestampFormat: (0, smithy_client_1.expectString)(output.TimestampFormat),
|
|
5172
|
-
};
|
|
5173
|
-
};
|
|
5174
|
-
const de_TimeSeriesSelector = (output, context) => {
|
|
5175
|
-
return {
|
|
5176
|
-
TimeSeriesIdentifiers: output.TimeSeriesIdentifiers != null
|
|
5177
|
-
? de_TimeSeriesIdentifiers(output.TimeSeriesIdentifiers, context)
|
|
5178
|
-
: undefined,
|
|
5179
|
-
};
|
|
5180
3694
|
};
|
|
5181
3695
|
const de_TimeSeriesTransformation = (output, context) => {
|
|
5182
|
-
return {
|
|
5183
|
-
Action:
|
|
5184
|
-
TimeSeriesConditions:
|
|
5185
|
-
};
|
|
3696
|
+
return (0, smithy_client_1.take)(output, {
|
|
3697
|
+
Action: (_) => de_Action(_, context),
|
|
3698
|
+
TimeSeriesConditions: smithy_client_1._json,
|
|
3699
|
+
});
|
|
5186
3700
|
};
|
|
5187
3701
|
const de_TimeSeriesTransformations = (output, context) => {
|
|
5188
3702
|
const retVal = (output || [])
|
|
5189
3703
|
.filter((e) => e != null)
|
|
5190
3704
|
.map((entry) => {
|
|
5191
|
-
if (entry === null) {
|
|
5192
|
-
return null;
|
|
5193
|
-
}
|
|
5194
3705
|
return de_TimeSeriesTransformation(entry, context);
|
|
5195
3706
|
});
|
|
5196
3707
|
return retVal;
|
|
5197
3708
|
};
|
|
5198
|
-
const de_TrainingParameters = (output, context) => {
|
|
5199
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
5200
|
-
if (value === null) {
|
|
5201
|
-
return acc;
|
|
5202
|
-
}
|
|
5203
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
5204
|
-
return acc;
|
|
5205
|
-
}, {});
|
|
5206
|
-
};
|
|
5207
|
-
const de_Transformations = (output, context) => {
|
|
5208
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
5209
|
-
if (value === null) {
|
|
5210
|
-
return acc;
|
|
5211
|
-
}
|
|
5212
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
5213
|
-
return acc;
|
|
5214
|
-
}, {});
|
|
5215
|
-
};
|
|
5216
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
5217
|
-
return {};
|
|
5218
|
-
};
|
|
5219
|
-
const de_UpdateDatasetGroupResponse = (output, context) => {
|
|
5220
|
-
return {};
|
|
5221
|
-
};
|
|
5222
|
-
const de_Values = (output, context) => {
|
|
5223
|
-
const retVal = (output || [])
|
|
5224
|
-
.filter((e) => e != null)
|
|
5225
|
-
.map((entry) => {
|
|
5226
|
-
if (entry === null) {
|
|
5227
|
-
return null;
|
|
5228
|
-
}
|
|
5229
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5230
|
-
});
|
|
5231
|
-
return retVal;
|
|
5232
|
-
};
|
|
5233
3709
|
const de_WeightedQuantileLoss = (output, context) => {
|
|
5234
|
-
return {
|
|
5235
|
-
LossValue:
|
|
5236
|
-
Quantile:
|
|
5237
|
-
};
|
|
3710
|
+
return (0, smithy_client_1.take)(output, {
|
|
3711
|
+
LossValue: smithy_client_1.limitedParseDouble,
|
|
3712
|
+
Quantile: smithy_client_1.limitedParseDouble,
|
|
3713
|
+
});
|
|
5238
3714
|
};
|
|
5239
3715
|
const de_WeightedQuantileLosses = (output, context) => {
|
|
5240
3716
|
const retVal = (output || [])
|
|
5241
3717
|
.filter((e) => e != null)
|
|
5242
3718
|
.map((entry) => {
|
|
5243
|
-
if (entry === null) {
|
|
5244
|
-
return null;
|
|
5245
|
-
}
|
|
5246
3719
|
return de_WeightedQuantileLoss(entry, context);
|
|
5247
3720
|
});
|
|
5248
3721
|
return retVal;
|
|
@@ -5251,106 +3724,68 @@ const de_WhatIfAnalyses = (output, context) => {
|
|
|
5251
3724
|
const retVal = (output || [])
|
|
5252
3725
|
.filter((e) => e != null)
|
|
5253
3726
|
.map((entry) => {
|
|
5254
|
-
if (entry === null) {
|
|
5255
|
-
return null;
|
|
5256
|
-
}
|
|
5257
3727
|
return de_WhatIfAnalysisSummary(entry, context);
|
|
5258
3728
|
});
|
|
5259
3729
|
return retVal;
|
|
5260
3730
|
};
|
|
5261
3731
|
const de_WhatIfAnalysisSummary = (output, context) => {
|
|
5262
|
-
return {
|
|
5263
|
-
CreationTime:
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5271
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5272
|
-
WhatIfAnalysisArn: (0, smithy_client_1.expectString)(output.WhatIfAnalysisArn),
|
|
5273
|
-
WhatIfAnalysisName: (0, smithy_client_1.expectString)(output.WhatIfAnalysisName),
|
|
5274
|
-
};
|
|
5275
|
-
};
|
|
5276
|
-
const de_WhatIfForecastArnListForExport = (output, context) => {
|
|
5277
|
-
const retVal = (output || [])
|
|
5278
|
-
.filter((e) => e != null)
|
|
5279
|
-
.map((entry) => {
|
|
5280
|
-
if (entry === null) {
|
|
5281
|
-
return null;
|
|
5282
|
-
}
|
|
5283
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3732
|
+
return (0, smithy_client_1.take)(output, {
|
|
3733
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3734
|
+
ForecastArn: smithy_client_1.expectString,
|
|
3735
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3736
|
+
Message: smithy_client_1.expectString,
|
|
3737
|
+
Status: smithy_client_1.expectString,
|
|
3738
|
+
WhatIfAnalysisArn: smithy_client_1.expectString,
|
|
3739
|
+
WhatIfAnalysisName: smithy_client_1.expectString,
|
|
5284
3740
|
});
|
|
5285
|
-
return retVal;
|
|
5286
3741
|
};
|
|
5287
3742
|
const de_WhatIfForecastExports = (output, context) => {
|
|
5288
3743
|
const retVal = (output || [])
|
|
5289
3744
|
.filter((e) => e != null)
|
|
5290
3745
|
.map((entry) => {
|
|
5291
|
-
if (entry === null) {
|
|
5292
|
-
return null;
|
|
5293
|
-
}
|
|
5294
3746
|
return de_WhatIfForecastExportSummary(entry, context);
|
|
5295
3747
|
});
|
|
5296
3748
|
return retVal;
|
|
5297
3749
|
};
|
|
5298
3750
|
const de_WhatIfForecastExportSummary = (output, context) => {
|
|
5299
|
-
return {
|
|
5300
|
-
CreationTime:
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
WhatIfForecastArns: output.WhatIfForecastArns != null
|
|
5310
|
-
? de_WhatIfForecastArnListForExport(output.WhatIfForecastArns, context)
|
|
5311
|
-
: undefined,
|
|
5312
|
-
WhatIfForecastExportArn: (0, smithy_client_1.expectString)(output.WhatIfForecastExportArn),
|
|
5313
|
-
WhatIfForecastExportName: (0, smithy_client_1.expectString)(output.WhatIfForecastExportName),
|
|
5314
|
-
};
|
|
3751
|
+
return (0, smithy_client_1.take)(output, {
|
|
3752
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3753
|
+
Destination: smithy_client_1._json,
|
|
3754
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3755
|
+
Message: smithy_client_1.expectString,
|
|
3756
|
+
Status: smithy_client_1.expectString,
|
|
3757
|
+
WhatIfForecastArns: smithy_client_1._json,
|
|
3758
|
+
WhatIfForecastExportArn: smithy_client_1.expectString,
|
|
3759
|
+
WhatIfForecastExportName: smithy_client_1.expectString,
|
|
3760
|
+
});
|
|
5315
3761
|
};
|
|
5316
3762
|
const de_WhatIfForecasts = (output, context) => {
|
|
5317
3763
|
const retVal = (output || [])
|
|
5318
3764
|
.filter((e) => e != null)
|
|
5319
3765
|
.map((entry) => {
|
|
5320
|
-
if (entry === null) {
|
|
5321
|
-
return null;
|
|
5322
|
-
}
|
|
5323
3766
|
return de_WhatIfForecastSummary(entry, context);
|
|
5324
3767
|
});
|
|
5325
3768
|
return retVal;
|
|
5326
3769
|
};
|
|
5327
3770
|
const de_WhatIfForecastSummary = (output, context) => {
|
|
5328
|
-
return {
|
|
5329
|
-
CreationTime:
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
WhatIfAnalysisArn: (0, smithy_client_1.expectString)(output.WhatIfAnalysisArn),
|
|
5338
|
-
WhatIfForecastArn: (0, smithy_client_1.expectString)(output.WhatIfForecastArn),
|
|
5339
|
-
WhatIfForecastName: (0, smithy_client_1.expectString)(output.WhatIfForecastName),
|
|
5340
|
-
};
|
|
3771
|
+
return (0, smithy_client_1.take)(output, {
|
|
3772
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3773
|
+
LastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3774
|
+
Message: smithy_client_1.expectString,
|
|
3775
|
+
Status: smithy_client_1.expectString,
|
|
3776
|
+
WhatIfAnalysisArn: smithy_client_1.expectString,
|
|
3777
|
+
WhatIfForecastArn: smithy_client_1.expectString,
|
|
3778
|
+
WhatIfForecastName: smithy_client_1.expectString,
|
|
3779
|
+
});
|
|
5341
3780
|
};
|
|
5342
3781
|
const de_WindowSummary = (output, context) => {
|
|
5343
|
-
return {
|
|
5344
|
-
EvaluationType:
|
|
5345
|
-
ItemCount:
|
|
5346
|
-
Metrics:
|
|
5347
|
-
TestWindowEnd:
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
TestWindowStart: output.TestWindowStart != null
|
|
5351
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TestWindowStart)))
|
|
5352
|
-
: undefined,
|
|
5353
|
-
};
|
|
3782
|
+
return (0, smithy_client_1.take)(output, {
|
|
3783
|
+
EvaluationType: smithy_client_1.expectString,
|
|
3784
|
+
ItemCount: smithy_client_1.expectInt32,
|
|
3785
|
+
Metrics: (_) => de_Metrics(_, context),
|
|
3786
|
+
TestWindowEnd: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3787
|
+
TestWindowStart: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3788
|
+
});
|
|
5354
3789
|
};
|
|
5355
3790
|
const deserializeMetadata = (output) => ({
|
|
5356
3791
|
httpStatusCode: output.statusCode,
|
|
@@ -5365,6 +3800,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5365
3800
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5366
3801
|
};
|
|
5367
3802
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3803
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(ForecastServiceException_1.ForecastServiceException);
|
|
5368
3804
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5369
3805
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5370
3806
|
const contents = {
|