@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
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { ForecastServiceException as __BaseException } from "../models/ForecastServiceException";
|
|
4
4
|
import { InvalidInputException, InvalidNextTokenException, LimitExceededException, ResourceAlreadyExistsException, ResourceInUseException, ResourceNotFoundException, } from "../models/models_0";
|
|
5
5
|
export const se_CreateAutoPredictorCommand = async (input, context) => {
|
|
6
6
|
const headers = sharedHeaders("CreateAutoPredictor");
|
|
7
7
|
let body;
|
|
8
|
-
body = JSON.stringify(
|
|
8
|
+
body = JSON.stringify(_json(input));
|
|
9
9
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
10
10
|
};
|
|
11
11
|
export const se_CreateDatasetCommand = async (input, context) => {
|
|
12
12
|
const headers = sharedHeaders("CreateDataset");
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(_json(input));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
17
|
export const se_CreateDatasetGroupCommand = async (input, context) => {
|
|
18
18
|
const headers = sharedHeaders("CreateDatasetGroup");
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(_json(input));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
23
|
export const se_CreateDatasetImportJobCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CreateDatasetImportJob");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify(_json(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
export const se_CreateExplainabilityCommand = async (input, context) => {
|
|
30
30
|
const headers = sharedHeaders("CreateExplainability");
|
|
31
31
|
let body;
|
|
32
|
-
body = JSON.stringify(
|
|
32
|
+
body = JSON.stringify(_json(input));
|
|
33
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
34
34
|
};
|
|
35
35
|
export const se_CreateExplainabilityExportCommand = async (input, context) => {
|
|
36
36
|
const headers = sharedHeaders("CreateExplainabilityExport");
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(_json(input));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
41
|
export const se_CreateForecastCommand = async (input, context) => {
|
|
42
42
|
const headers = sharedHeaders("CreateForecast");
|
|
43
43
|
let body;
|
|
44
|
-
body = JSON.stringify(
|
|
44
|
+
body = JSON.stringify(_json(input));
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
47
|
export const se_CreateForecastExportJobCommand = async (input, context) => {
|
|
48
48
|
const headers = sharedHeaders("CreateForecastExportJob");
|
|
49
49
|
let body;
|
|
50
|
-
body = JSON.stringify(
|
|
50
|
+
body = JSON.stringify(_json(input));
|
|
51
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
52
|
};
|
|
53
53
|
export const se_CreateMonitorCommand = async (input, context) => {
|
|
54
54
|
const headers = sharedHeaders("CreateMonitor");
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(_json(input));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
59
|
export const se_CreatePredictorCommand = async (input, context) => {
|
|
@@ -65,13 +65,13 @@ export const se_CreatePredictorCommand = async (input, context) => {
|
|
|
65
65
|
export const se_CreatePredictorBacktestExportJobCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("CreatePredictorBacktestExportJob");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify(_json(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
export const se_CreateWhatIfAnalysisCommand = async (input, context) => {
|
|
72
72
|
const headers = sharedHeaders("CreateWhatIfAnalysis");
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(_json(input));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
77
|
export const se_CreateWhatIfForecastCommand = async (input, context) => {
|
|
@@ -83,301 +83,301 @@ export const se_CreateWhatIfForecastCommand = async (input, context) => {
|
|
|
83
83
|
export const se_CreateWhatIfForecastExportCommand = async (input, context) => {
|
|
84
84
|
const headers = sharedHeaders("CreateWhatIfForecastExport");
|
|
85
85
|
let body;
|
|
86
|
-
body = JSON.stringify(
|
|
86
|
+
body = JSON.stringify(_json(input));
|
|
87
87
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
88
|
};
|
|
89
89
|
export const se_DeleteDatasetCommand = async (input, context) => {
|
|
90
90
|
const headers = sharedHeaders("DeleteDataset");
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(_json(input));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
95
|
export const se_DeleteDatasetGroupCommand = async (input, context) => {
|
|
96
96
|
const headers = sharedHeaders("DeleteDatasetGroup");
|
|
97
97
|
let body;
|
|
98
|
-
body = JSON.stringify(
|
|
98
|
+
body = JSON.stringify(_json(input));
|
|
99
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
100
|
};
|
|
101
101
|
export const se_DeleteDatasetImportJobCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("DeleteDatasetImportJob");
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify(_json(input));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
107
|
export const se_DeleteExplainabilityCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("DeleteExplainability");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(_json(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
export const se_DeleteExplainabilityExportCommand = async (input, context) => {
|
|
114
114
|
const headers = sharedHeaders("DeleteExplainabilityExport");
|
|
115
115
|
let body;
|
|
116
|
-
body = JSON.stringify(
|
|
116
|
+
body = JSON.stringify(_json(input));
|
|
117
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
118
|
};
|
|
119
119
|
export const se_DeleteForecastCommand = async (input, context) => {
|
|
120
120
|
const headers = sharedHeaders("DeleteForecast");
|
|
121
121
|
let body;
|
|
122
|
-
body = JSON.stringify(
|
|
122
|
+
body = JSON.stringify(_json(input));
|
|
123
123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
124
124
|
};
|
|
125
125
|
export const se_DeleteForecastExportJobCommand = async (input, context) => {
|
|
126
126
|
const headers = sharedHeaders("DeleteForecastExportJob");
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(_json(input));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
131
|
export const se_DeleteMonitorCommand = async (input, context) => {
|
|
132
132
|
const headers = sharedHeaders("DeleteMonitor");
|
|
133
133
|
let body;
|
|
134
|
-
body = JSON.stringify(
|
|
134
|
+
body = JSON.stringify(_json(input));
|
|
135
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
136
136
|
};
|
|
137
137
|
export const se_DeletePredictorCommand = async (input, context) => {
|
|
138
138
|
const headers = sharedHeaders("DeletePredictor");
|
|
139
139
|
let body;
|
|
140
|
-
body = JSON.stringify(
|
|
140
|
+
body = JSON.stringify(_json(input));
|
|
141
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
142
|
};
|
|
143
143
|
export const se_DeletePredictorBacktestExportJobCommand = async (input, context) => {
|
|
144
144
|
const headers = sharedHeaders("DeletePredictorBacktestExportJob");
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(_json(input));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
149
|
export const se_DeleteResourceTreeCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("DeleteResourceTree");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify(_json(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
export const se_DeleteWhatIfAnalysisCommand = async (input, context) => {
|
|
156
156
|
const headers = sharedHeaders("DeleteWhatIfAnalysis");
|
|
157
157
|
let body;
|
|
158
|
-
body = JSON.stringify(
|
|
158
|
+
body = JSON.stringify(_json(input));
|
|
159
159
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
160
160
|
};
|
|
161
161
|
export const se_DeleteWhatIfForecastCommand = async (input, context) => {
|
|
162
162
|
const headers = sharedHeaders("DeleteWhatIfForecast");
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(_json(input));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
167
|
export const se_DeleteWhatIfForecastExportCommand = async (input, context) => {
|
|
168
168
|
const headers = sharedHeaders("DeleteWhatIfForecastExport");
|
|
169
169
|
let body;
|
|
170
|
-
body = JSON.stringify(
|
|
170
|
+
body = JSON.stringify(_json(input));
|
|
171
171
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
172
172
|
};
|
|
173
173
|
export const se_DescribeAutoPredictorCommand = async (input, context) => {
|
|
174
174
|
const headers = sharedHeaders("DescribeAutoPredictor");
|
|
175
175
|
let body;
|
|
176
|
-
body = JSON.stringify(
|
|
176
|
+
body = JSON.stringify(_json(input));
|
|
177
177
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
178
|
};
|
|
179
179
|
export const se_DescribeDatasetCommand = async (input, context) => {
|
|
180
180
|
const headers = sharedHeaders("DescribeDataset");
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(_json(input));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
185
|
export const se_DescribeDatasetGroupCommand = async (input, context) => {
|
|
186
186
|
const headers = sharedHeaders("DescribeDatasetGroup");
|
|
187
187
|
let body;
|
|
188
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify(_json(input));
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
191
|
export const se_DescribeDatasetImportJobCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("DescribeDatasetImportJob");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify(_json(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
export const se_DescribeExplainabilityCommand = async (input, context) => {
|
|
198
198
|
const headers = sharedHeaders("DescribeExplainability");
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(_json(input));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
203
|
export const se_DescribeExplainabilityExportCommand = async (input, context) => {
|
|
204
204
|
const headers = sharedHeaders("DescribeExplainabilityExport");
|
|
205
205
|
let body;
|
|
206
|
-
body = JSON.stringify(
|
|
206
|
+
body = JSON.stringify(_json(input));
|
|
207
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
208
208
|
};
|
|
209
209
|
export const se_DescribeForecastCommand = async (input, context) => {
|
|
210
210
|
const headers = sharedHeaders("DescribeForecast");
|
|
211
211
|
let body;
|
|
212
|
-
body = JSON.stringify(
|
|
212
|
+
body = JSON.stringify(_json(input));
|
|
213
213
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
214
214
|
};
|
|
215
215
|
export const se_DescribeForecastExportJobCommand = async (input, context) => {
|
|
216
216
|
const headers = sharedHeaders("DescribeForecastExportJob");
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(_json(input));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
221
|
export const se_DescribeMonitorCommand = async (input, context) => {
|
|
222
222
|
const headers = sharedHeaders("DescribeMonitor");
|
|
223
223
|
let body;
|
|
224
|
-
body = JSON.stringify(
|
|
224
|
+
body = JSON.stringify(_json(input));
|
|
225
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
226
226
|
};
|
|
227
227
|
export const se_DescribePredictorCommand = async (input, context) => {
|
|
228
228
|
const headers = sharedHeaders("DescribePredictor");
|
|
229
229
|
let body;
|
|
230
|
-
body = JSON.stringify(
|
|
230
|
+
body = JSON.stringify(_json(input));
|
|
231
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
232
232
|
};
|
|
233
233
|
export const se_DescribePredictorBacktestExportJobCommand = async (input, context) => {
|
|
234
234
|
const headers = sharedHeaders("DescribePredictorBacktestExportJob");
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify(_json(input));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
239
|
export const se_DescribeWhatIfAnalysisCommand = async (input, context) => {
|
|
240
240
|
const headers = sharedHeaders("DescribeWhatIfAnalysis");
|
|
241
241
|
let body;
|
|
242
|
-
body = JSON.stringify(
|
|
242
|
+
body = JSON.stringify(_json(input));
|
|
243
243
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
244
244
|
};
|
|
245
245
|
export const se_DescribeWhatIfForecastCommand = async (input, context) => {
|
|
246
246
|
const headers = sharedHeaders("DescribeWhatIfForecast");
|
|
247
247
|
let body;
|
|
248
|
-
body = JSON.stringify(
|
|
248
|
+
body = JSON.stringify(_json(input));
|
|
249
249
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
250
250
|
};
|
|
251
251
|
export const se_DescribeWhatIfForecastExportCommand = async (input, context) => {
|
|
252
252
|
const headers = sharedHeaders("DescribeWhatIfForecastExport");
|
|
253
253
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
254
|
+
body = JSON.stringify(_json(input));
|
|
255
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
256
|
};
|
|
257
257
|
export const se_GetAccuracyMetricsCommand = async (input, context) => {
|
|
258
258
|
const headers = sharedHeaders("GetAccuracyMetrics");
|
|
259
259
|
let body;
|
|
260
|
-
body = JSON.stringify(
|
|
260
|
+
body = JSON.stringify(_json(input));
|
|
261
261
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
262
262
|
};
|
|
263
263
|
export const se_ListDatasetGroupsCommand = async (input, context) => {
|
|
264
264
|
const headers = sharedHeaders("ListDatasetGroups");
|
|
265
265
|
let body;
|
|
266
|
-
body = JSON.stringify(
|
|
266
|
+
body = JSON.stringify(_json(input));
|
|
267
267
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
268
|
};
|
|
269
269
|
export const se_ListDatasetImportJobsCommand = async (input, context) => {
|
|
270
270
|
const headers = sharedHeaders("ListDatasetImportJobs");
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify(_json(input));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
275
|
export const se_ListDatasetsCommand = async (input, context) => {
|
|
276
276
|
const headers = sharedHeaders("ListDatasets");
|
|
277
277
|
let body;
|
|
278
|
-
body = JSON.stringify(
|
|
278
|
+
body = JSON.stringify(_json(input));
|
|
279
279
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
280
280
|
};
|
|
281
281
|
export const se_ListExplainabilitiesCommand = async (input, context) => {
|
|
282
282
|
const headers = sharedHeaders("ListExplainabilities");
|
|
283
283
|
let body;
|
|
284
|
-
body = JSON.stringify(
|
|
284
|
+
body = JSON.stringify(_json(input));
|
|
285
285
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
286
286
|
};
|
|
287
287
|
export const se_ListExplainabilityExportsCommand = async (input, context) => {
|
|
288
288
|
const headers = sharedHeaders("ListExplainabilityExports");
|
|
289
289
|
let body;
|
|
290
|
-
body = JSON.stringify(
|
|
290
|
+
body = JSON.stringify(_json(input));
|
|
291
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
292
|
};
|
|
293
293
|
export const se_ListForecastExportJobsCommand = async (input, context) => {
|
|
294
294
|
const headers = sharedHeaders("ListForecastExportJobs");
|
|
295
295
|
let body;
|
|
296
|
-
body = JSON.stringify(
|
|
296
|
+
body = JSON.stringify(_json(input));
|
|
297
297
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
298
298
|
};
|
|
299
299
|
export const se_ListForecastsCommand = async (input, context) => {
|
|
300
300
|
const headers = sharedHeaders("ListForecasts");
|
|
301
301
|
let body;
|
|
302
|
-
body = JSON.stringify(
|
|
302
|
+
body = JSON.stringify(_json(input));
|
|
303
303
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
304
304
|
};
|
|
305
305
|
export const se_ListMonitorEvaluationsCommand = async (input, context) => {
|
|
306
306
|
const headers = sharedHeaders("ListMonitorEvaluations");
|
|
307
307
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify(_json(input));
|
|
309
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
310
|
};
|
|
311
311
|
export const se_ListMonitorsCommand = async (input, context) => {
|
|
312
312
|
const headers = sharedHeaders("ListMonitors");
|
|
313
313
|
let body;
|
|
314
|
-
body = JSON.stringify(
|
|
314
|
+
body = JSON.stringify(_json(input));
|
|
315
315
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
316
316
|
};
|
|
317
317
|
export const se_ListPredictorBacktestExportJobsCommand = async (input, context) => {
|
|
318
318
|
const headers = sharedHeaders("ListPredictorBacktestExportJobs");
|
|
319
319
|
let body;
|
|
320
|
-
body = JSON.stringify(
|
|
320
|
+
body = JSON.stringify(_json(input));
|
|
321
321
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
322
322
|
};
|
|
323
323
|
export const se_ListPredictorsCommand = async (input, context) => {
|
|
324
324
|
const headers = sharedHeaders("ListPredictors");
|
|
325
325
|
let body;
|
|
326
|
-
body = JSON.stringify(
|
|
326
|
+
body = JSON.stringify(_json(input));
|
|
327
327
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
328
|
};
|
|
329
329
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
330
330
|
const headers = sharedHeaders("ListTagsForResource");
|
|
331
331
|
let body;
|
|
332
|
-
body = JSON.stringify(
|
|
332
|
+
body = JSON.stringify(_json(input));
|
|
333
333
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
334
334
|
};
|
|
335
335
|
export const se_ListWhatIfAnalysesCommand = async (input, context) => {
|
|
336
336
|
const headers = sharedHeaders("ListWhatIfAnalyses");
|
|
337
337
|
let body;
|
|
338
|
-
body = JSON.stringify(
|
|
338
|
+
body = JSON.stringify(_json(input));
|
|
339
339
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
340
340
|
};
|
|
341
341
|
export const se_ListWhatIfForecastExportsCommand = async (input, context) => {
|
|
342
342
|
const headers = sharedHeaders("ListWhatIfForecastExports");
|
|
343
343
|
let body;
|
|
344
|
-
body = JSON.stringify(
|
|
344
|
+
body = JSON.stringify(_json(input));
|
|
345
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
346
346
|
};
|
|
347
347
|
export const se_ListWhatIfForecastsCommand = async (input, context) => {
|
|
348
348
|
const headers = sharedHeaders("ListWhatIfForecasts");
|
|
349
349
|
let body;
|
|
350
|
-
body = JSON.stringify(
|
|
350
|
+
body = JSON.stringify(_json(input));
|
|
351
351
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
352
352
|
};
|
|
353
353
|
export const se_ResumeResourceCommand = async (input, context) => {
|
|
354
354
|
const headers = sharedHeaders("ResumeResource");
|
|
355
355
|
let body;
|
|
356
|
-
body = JSON.stringify(
|
|
356
|
+
body = JSON.stringify(_json(input));
|
|
357
357
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
358
358
|
};
|
|
359
359
|
export const se_StopResourceCommand = async (input, context) => {
|
|
360
360
|
const headers = sharedHeaders("StopResource");
|
|
361
361
|
let body;
|
|
362
|
-
body = JSON.stringify(
|
|
362
|
+
body = JSON.stringify(_json(input));
|
|
363
363
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
364
364
|
};
|
|
365
365
|
export const se_TagResourceCommand = async (input, context) => {
|
|
366
366
|
const headers = sharedHeaders("TagResource");
|
|
367
367
|
let body;
|
|
368
|
-
body = JSON.stringify(
|
|
368
|
+
body = JSON.stringify(_json(input));
|
|
369
369
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
370
370
|
};
|
|
371
371
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
372
372
|
const headers = sharedHeaders("UntagResource");
|
|
373
373
|
let body;
|
|
374
|
-
body = JSON.stringify(
|
|
374
|
+
body = JSON.stringify(_json(input));
|
|
375
375
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
376
376
|
};
|
|
377
377
|
export const se_UpdateDatasetGroupCommand = async (input, context) => {
|
|
378
378
|
const headers = sharedHeaders("UpdateDatasetGroup");
|
|
379
379
|
let body;
|
|
380
|
-
body = JSON.stringify(
|
|
380
|
+
body = JSON.stringify(_json(input));
|
|
381
381
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
382
382
|
};
|
|
383
383
|
export const de_CreateAutoPredictorCommand = async (output, context) => {
|
|
@@ -386,12 +386,12 @@ export const de_CreateAutoPredictorCommand = async (output, context) => {
|
|
|
386
386
|
}
|
|
387
387
|
const data = await parseBody(output.body, context);
|
|
388
388
|
let contents = {};
|
|
389
|
-
contents =
|
|
389
|
+
contents = _json(data);
|
|
390
390
|
const response = {
|
|
391
391
|
$metadata: deserializeMetadata(output),
|
|
392
392
|
...contents,
|
|
393
393
|
};
|
|
394
|
-
return
|
|
394
|
+
return response;
|
|
395
395
|
};
|
|
396
396
|
const de_CreateAutoPredictorCommandError = async (output, context) => {
|
|
397
397
|
const parsedOutput = {
|
|
@@ -417,10 +417,9 @@ const de_CreateAutoPredictorCommandError = async (output, context) => {
|
|
|
417
417
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
418
418
|
default:
|
|
419
419
|
const parsedBody = parsedOutput.body;
|
|
420
|
-
throwDefaultError({
|
|
420
|
+
return throwDefaultError({
|
|
421
421
|
output,
|
|
422
422
|
parsedBody,
|
|
423
|
-
exceptionCtor: __BaseException,
|
|
424
423
|
errorCode,
|
|
425
424
|
});
|
|
426
425
|
}
|
|
@@ -431,12 +430,12 @@ export const de_CreateDatasetCommand = async (output, context) => {
|
|
|
431
430
|
}
|
|
432
431
|
const data = await parseBody(output.body, context);
|
|
433
432
|
let contents = {};
|
|
434
|
-
contents =
|
|
433
|
+
contents = _json(data);
|
|
435
434
|
const response = {
|
|
436
435
|
$metadata: deserializeMetadata(output),
|
|
437
436
|
...contents,
|
|
438
437
|
};
|
|
439
|
-
return
|
|
438
|
+
return response;
|
|
440
439
|
};
|
|
441
440
|
const de_CreateDatasetCommandError = async (output, context) => {
|
|
442
441
|
const parsedOutput = {
|
|
@@ -456,10 +455,9 @@ const de_CreateDatasetCommandError = async (output, context) => {
|
|
|
456
455
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
457
456
|
default:
|
|
458
457
|
const parsedBody = parsedOutput.body;
|
|
459
|
-
throwDefaultError({
|
|
458
|
+
return throwDefaultError({
|
|
460
459
|
output,
|
|
461
460
|
parsedBody,
|
|
462
|
-
exceptionCtor: __BaseException,
|
|
463
461
|
errorCode,
|
|
464
462
|
});
|
|
465
463
|
}
|
|
@@ -470,12 +468,12 @@ export const de_CreateDatasetGroupCommand = async (output, context) => {
|
|
|
470
468
|
}
|
|
471
469
|
const data = await parseBody(output.body, context);
|
|
472
470
|
let contents = {};
|
|
473
|
-
contents =
|
|
471
|
+
contents = _json(data);
|
|
474
472
|
const response = {
|
|
475
473
|
$metadata: deserializeMetadata(output),
|
|
476
474
|
...contents,
|
|
477
475
|
};
|
|
478
|
-
return
|
|
476
|
+
return response;
|
|
479
477
|
};
|
|
480
478
|
const de_CreateDatasetGroupCommandError = async (output, context) => {
|
|
481
479
|
const parsedOutput = {
|
|
@@ -501,10 +499,9 @@ const de_CreateDatasetGroupCommandError = async (output, context) => {
|
|
|
501
499
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
502
500
|
default:
|
|
503
501
|
const parsedBody = parsedOutput.body;
|
|
504
|
-
throwDefaultError({
|
|
502
|
+
return throwDefaultError({
|
|
505
503
|
output,
|
|
506
504
|
parsedBody,
|
|
507
|
-
exceptionCtor: __BaseException,
|
|
508
505
|
errorCode,
|
|
509
506
|
});
|
|
510
507
|
}
|
|
@@ -515,12 +512,12 @@ export const de_CreateDatasetImportJobCommand = async (output, context) => {
|
|
|
515
512
|
}
|
|
516
513
|
const data = await parseBody(output.body, context);
|
|
517
514
|
let contents = {};
|
|
518
|
-
contents =
|
|
515
|
+
contents = _json(data);
|
|
519
516
|
const response = {
|
|
520
517
|
$metadata: deserializeMetadata(output),
|
|
521
518
|
...contents,
|
|
522
519
|
};
|
|
523
|
-
return
|
|
520
|
+
return response;
|
|
524
521
|
};
|
|
525
522
|
const de_CreateDatasetImportJobCommandError = async (output, context) => {
|
|
526
523
|
const parsedOutput = {
|
|
@@ -546,10 +543,9 @@ const de_CreateDatasetImportJobCommandError = async (output, context) => {
|
|
|
546
543
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
547
544
|
default:
|
|
548
545
|
const parsedBody = parsedOutput.body;
|
|
549
|
-
throwDefaultError({
|
|
546
|
+
return throwDefaultError({
|
|
550
547
|
output,
|
|
551
548
|
parsedBody,
|
|
552
|
-
exceptionCtor: __BaseException,
|
|
553
549
|
errorCode,
|
|
554
550
|
});
|
|
555
551
|
}
|
|
@@ -560,12 +556,12 @@ export const de_CreateExplainabilityCommand = async (output, context) => {
|
|
|
560
556
|
}
|
|
561
557
|
const data = await parseBody(output.body, context);
|
|
562
558
|
let contents = {};
|
|
563
|
-
contents =
|
|
559
|
+
contents = _json(data);
|
|
564
560
|
const response = {
|
|
565
561
|
$metadata: deserializeMetadata(output),
|
|
566
562
|
...contents,
|
|
567
563
|
};
|
|
568
|
-
return
|
|
564
|
+
return response;
|
|
569
565
|
};
|
|
570
566
|
const de_CreateExplainabilityCommandError = async (output, context) => {
|
|
571
567
|
const parsedOutput = {
|
|
@@ -591,10 +587,9 @@ const de_CreateExplainabilityCommandError = async (output, context) => {
|
|
|
591
587
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
592
588
|
default:
|
|
593
589
|
const parsedBody = parsedOutput.body;
|
|
594
|
-
throwDefaultError({
|
|
590
|
+
return throwDefaultError({
|
|
595
591
|
output,
|
|
596
592
|
parsedBody,
|
|
597
|
-
exceptionCtor: __BaseException,
|
|
598
593
|
errorCode,
|
|
599
594
|
});
|
|
600
595
|
}
|
|
@@ -605,12 +600,12 @@ export const de_CreateExplainabilityExportCommand = async (output, context) => {
|
|
|
605
600
|
}
|
|
606
601
|
const data = await parseBody(output.body, context);
|
|
607
602
|
let contents = {};
|
|
608
|
-
contents =
|
|
603
|
+
contents = _json(data);
|
|
609
604
|
const response = {
|
|
610
605
|
$metadata: deserializeMetadata(output),
|
|
611
606
|
...contents,
|
|
612
607
|
};
|
|
613
|
-
return
|
|
608
|
+
return response;
|
|
614
609
|
};
|
|
615
610
|
const de_CreateExplainabilityExportCommandError = async (output, context) => {
|
|
616
611
|
const parsedOutput = {
|
|
@@ -636,10 +631,9 @@ const de_CreateExplainabilityExportCommandError = async (output, context) => {
|
|
|
636
631
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
637
632
|
default:
|
|
638
633
|
const parsedBody = parsedOutput.body;
|
|
639
|
-
throwDefaultError({
|
|
634
|
+
return throwDefaultError({
|
|
640
635
|
output,
|
|
641
636
|
parsedBody,
|
|
642
|
-
exceptionCtor: __BaseException,
|
|
643
637
|
errorCode,
|
|
644
638
|
});
|
|
645
639
|
}
|
|
@@ -650,12 +644,12 @@ export const de_CreateForecastCommand = async (output, context) => {
|
|
|
650
644
|
}
|
|
651
645
|
const data = await parseBody(output.body, context);
|
|
652
646
|
let contents = {};
|
|
653
|
-
contents =
|
|
647
|
+
contents = _json(data);
|
|
654
648
|
const response = {
|
|
655
649
|
$metadata: deserializeMetadata(output),
|
|
656
650
|
...contents,
|
|
657
651
|
};
|
|
658
|
-
return
|
|
652
|
+
return response;
|
|
659
653
|
};
|
|
660
654
|
const de_CreateForecastCommandError = async (output, context) => {
|
|
661
655
|
const parsedOutput = {
|
|
@@ -681,10 +675,9 @@ const de_CreateForecastCommandError = async (output, context) => {
|
|
|
681
675
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
682
676
|
default:
|
|
683
677
|
const parsedBody = parsedOutput.body;
|
|
684
|
-
throwDefaultError({
|
|
678
|
+
return throwDefaultError({
|
|
685
679
|
output,
|
|
686
680
|
parsedBody,
|
|
687
|
-
exceptionCtor: __BaseException,
|
|
688
681
|
errorCode,
|
|
689
682
|
});
|
|
690
683
|
}
|
|
@@ -695,12 +688,12 @@ export const de_CreateForecastExportJobCommand = async (output, context) => {
|
|
|
695
688
|
}
|
|
696
689
|
const data = await parseBody(output.body, context);
|
|
697
690
|
let contents = {};
|
|
698
|
-
contents =
|
|
691
|
+
contents = _json(data);
|
|
699
692
|
const response = {
|
|
700
693
|
$metadata: deserializeMetadata(output),
|
|
701
694
|
...contents,
|
|
702
695
|
};
|
|
703
|
-
return
|
|
696
|
+
return response;
|
|
704
697
|
};
|
|
705
698
|
const de_CreateForecastExportJobCommandError = async (output, context) => {
|
|
706
699
|
const parsedOutput = {
|
|
@@ -726,10 +719,9 @@ const de_CreateForecastExportJobCommandError = async (output, context) => {
|
|
|
726
719
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
727
720
|
default:
|
|
728
721
|
const parsedBody = parsedOutput.body;
|
|
729
|
-
throwDefaultError({
|
|
722
|
+
return throwDefaultError({
|
|
730
723
|
output,
|
|
731
724
|
parsedBody,
|
|
732
|
-
exceptionCtor: __BaseException,
|
|
733
725
|
errorCode,
|
|
734
726
|
});
|
|
735
727
|
}
|
|
@@ -740,12 +732,12 @@ export const de_CreateMonitorCommand = async (output, context) => {
|
|
|
740
732
|
}
|
|
741
733
|
const data = await parseBody(output.body, context);
|
|
742
734
|
let contents = {};
|
|
743
|
-
contents =
|
|
735
|
+
contents = _json(data);
|
|
744
736
|
const response = {
|
|
745
737
|
$metadata: deserializeMetadata(output),
|
|
746
738
|
...contents,
|
|
747
739
|
};
|
|
748
|
-
return
|
|
740
|
+
return response;
|
|
749
741
|
};
|
|
750
742
|
const de_CreateMonitorCommandError = async (output, context) => {
|
|
751
743
|
const parsedOutput = {
|
|
@@ -771,10 +763,9 @@ const de_CreateMonitorCommandError = async (output, context) => {
|
|
|
771
763
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
772
764
|
default:
|
|
773
765
|
const parsedBody = parsedOutput.body;
|
|
774
|
-
throwDefaultError({
|
|
766
|
+
return throwDefaultError({
|
|
775
767
|
output,
|
|
776
768
|
parsedBody,
|
|
777
|
-
exceptionCtor: __BaseException,
|
|
778
769
|
errorCode,
|
|
779
770
|
});
|
|
780
771
|
}
|
|
@@ -785,12 +776,12 @@ export const de_CreatePredictorCommand = async (output, context) => {
|
|
|
785
776
|
}
|
|
786
777
|
const data = await parseBody(output.body, context);
|
|
787
778
|
let contents = {};
|
|
788
|
-
contents =
|
|
779
|
+
contents = _json(data);
|
|
789
780
|
const response = {
|
|
790
781
|
$metadata: deserializeMetadata(output),
|
|
791
782
|
...contents,
|
|
792
783
|
};
|
|
793
|
-
return
|
|
784
|
+
return response;
|
|
794
785
|
};
|
|
795
786
|
const de_CreatePredictorCommandError = async (output, context) => {
|
|
796
787
|
const parsedOutput = {
|
|
@@ -816,10 +807,9 @@ const de_CreatePredictorCommandError = async (output, context) => {
|
|
|
816
807
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
817
808
|
default:
|
|
818
809
|
const parsedBody = parsedOutput.body;
|
|
819
|
-
throwDefaultError({
|
|
810
|
+
return throwDefaultError({
|
|
820
811
|
output,
|
|
821
812
|
parsedBody,
|
|
822
|
-
exceptionCtor: __BaseException,
|
|
823
813
|
errorCode,
|
|
824
814
|
});
|
|
825
815
|
}
|
|
@@ -830,12 +820,12 @@ export const de_CreatePredictorBacktestExportJobCommand = async (output, context
|
|
|
830
820
|
}
|
|
831
821
|
const data = await parseBody(output.body, context);
|
|
832
822
|
let contents = {};
|
|
833
|
-
contents =
|
|
823
|
+
contents = _json(data);
|
|
834
824
|
const response = {
|
|
835
825
|
$metadata: deserializeMetadata(output),
|
|
836
826
|
...contents,
|
|
837
827
|
};
|
|
838
|
-
return
|
|
828
|
+
return response;
|
|
839
829
|
};
|
|
840
830
|
const de_CreatePredictorBacktestExportJobCommandError = async (output, context) => {
|
|
841
831
|
const parsedOutput = {
|
|
@@ -861,10 +851,9 @@ const de_CreatePredictorBacktestExportJobCommandError = async (output, context)
|
|
|
861
851
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
862
852
|
default:
|
|
863
853
|
const parsedBody = parsedOutput.body;
|
|
864
|
-
throwDefaultError({
|
|
854
|
+
return throwDefaultError({
|
|
865
855
|
output,
|
|
866
856
|
parsedBody,
|
|
867
|
-
exceptionCtor: __BaseException,
|
|
868
857
|
errorCode,
|
|
869
858
|
});
|
|
870
859
|
}
|
|
@@ -875,12 +864,12 @@ export const de_CreateWhatIfAnalysisCommand = async (output, context) => {
|
|
|
875
864
|
}
|
|
876
865
|
const data = await parseBody(output.body, context);
|
|
877
866
|
let contents = {};
|
|
878
|
-
contents =
|
|
867
|
+
contents = _json(data);
|
|
879
868
|
const response = {
|
|
880
869
|
$metadata: deserializeMetadata(output),
|
|
881
870
|
...contents,
|
|
882
871
|
};
|
|
883
|
-
return
|
|
872
|
+
return response;
|
|
884
873
|
};
|
|
885
874
|
const de_CreateWhatIfAnalysisCommandError = async (output, context) => {
|
|
886
875
|
const parsedOutput = {
|
|
@@ -906,10 +895,9 @@ const de_CreateWhatIfAnalysisCommandError = async (output, context) => {
|
|
|
906
895
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
907
896
|
default:
|
|
908
897
|
const parsedBody = parsedOutput.body;
|
|
909
|
-
throwDefaultError({
|
|
898
|
+
return throwDefaultError({
|
|
910
899
|
output,
|
|
911
900
|
parsedBody,
|
|
912
|
-
exceptionCtor: __BaseException,
|
|
913
901
|
errorCode,
|
|
914
902
|
});
|
|
915
903
|
}
|
|
@@ -920,12 +908,12 @@ export const de_CreateWhatIfForecastCommand = async (output, context) => {
|
|
|
920
908
|
}
|
|
921
909
|
const data = await parseBody(output.body, context);
|
|
922
910
|
let contents = {};
|
|
923
|
-
contents =
|
|
911
|
+
contents = _json(data);
|
|
924
912
|
const response = {
|
|
925
913
|
$metadata: deserializeMetadata(output),
|
|
926
914
|
...contents,
|
|
927
915
|
};
|
|
928
|
-
return
|
|
916
|
+
return response;
|
|
929
917
|
};
|
|
930
918
|
const de_CreateWhatIfForecastCommandError = async (output, context) => {
|
|
931
919
|
const parsedOutput = {
|
|
@@ -951,10 +939,9 @@ const de_CreateWhatIfForecastCommandError = async (output, context) => {
|
|
|
951
939
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
952
940
|
default:
|
|
953
941
|
const parsedBody = parsedOutput.body;
|
|
954
|
-
throwDefaultError({
|
|
942
|
+
return throwDefaultError({
|
|
955
943
|
output,
|
|
956
944
|
parsedBody,
|
|
957
|
-
exceptionCtor: __BaseException,
|
|
958
945
|
errorCode,
|
|
959
946
|
});
|
|
960
947
|
}
|
|
@@ -965,12 +952,12 @@ export const de_CreateWhatIfForecastExportCommand = async (output, context) => {
|
|
|
965
952
|
}
|
|
966
953
|
const data = await parseBody(output.body, context);
|
|
967
954
|
let contents = {};
|
|
968
|
-
contents =
|
|
955
|
+
contents = _json(data);
|
|
969
956
|
const response = {
|
|
970
957
|
$metadata: deserializeMetadata(output),
|
|
971
958
|
...contents,
|
|
972
959
|
};
|
|
973
|
-
return
|
|
960
|
+
return response;
|
|
974
961
|
};
|
|
975
962
|
const de_CreateWhatIfForecastExportCommandError = async (output, context) => {
|
|
976
963
|
const parsedOutput = {
|
|
@@ -996,10 +983,9 @@ const de_CreateWhatIfForecastExportCommandError = async (output, context) => {
|
|
|
996
983
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
997
984
|
default:
|
|
998
985
|
const parsedBody = parsedOutput.body;
|
|
999
|
-
throwDefaultError({
|
|
986
|
+
return throwDefaultError({
|
|
1000
987
|
output,
|
|
1001
988
|
parsedBody,
|
|
1002
|
-
exceptionCtor: __BaseException,
|
|
1003
989
|
errorCode,
|
|
1004
990
|
});
|
|
1005
991
|
}
|
|
@@ -1012,7 +998,7 @@ export const de_DeleteDatasetCommand = async (output, context) => {
|
|
|
1012
998
|
const response = {
|
|
1013
999
|
$metadata: deserializeMetadata(output),
|
|
1014
1000
|
};
|
|
1015
|
-
return
|
|
1001
|
+
return response;
|
|
1016
1002
|
};
|
|
1017
1003
|
const de_DeleteDatasetCommandError = async (output, context) => {
|
|
1018
1004
|
const parsedOutput = {
|
|
@@ -1032,10 +1018,9 @@ const de_DeleteDatasetCommandError = async (output, context) => {
|
|
|
1032
1018
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1033
1019
|
default:
|
|
1034
1020
|
const parsedBody = parsedOutput.body;
|
|
1035
|
-
throwDefaultError({
|
|
1021
|
+
return throwDefaultError({
|
|
1036
1022
|
output,
|
|
1037
1023
|
parsedBody,
|
|
1038
|
-
exceptionCtor: __BaseException,
|
|
1039
1024
|
errorCode,
|
|
1040
1025
|
});
|
|
1041
1026
|
}
|
|
@@ -1048,7 +1033,7 @@ export const de_DeleteDatasetGroupCommand = async (output, context) => {
|
|
|
1048
1033
|
const response = {
|
|
1049
1034
|
$metadata: deserializeMetadata(output),
|
|
1050
1035
|
};
|
|
1051
|
-
return
|
|
1036
|
+
return response;
|
|
1052
1037
|
};
|
|
1053
1038
|
const de_DeleteDatasetGroupCommandError = async (output, context) => {
|
|
1054
1039
|
const parsedOutput = {
|
|
@@ -1068,10 +1053,9 @@ const de_DeleteDatasetGroupCommandError = async (output, context) => {
|
|
|
1068
1053
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1069
1054
|
default:
|
|
1070
1055
|
const parsedBody = parsedOutput.body;
|
|
1071
|
-
throwDefaultError({
|
|
1056
|
+
return throwDefaultError({
|
|
1072
1057
|
output,
|
|
1073
1058
|
parsedBody,
|
|
1074
|
-
exceptionCtor: __BaseException,
|
|
1075
1059
|
errorCode,
|
|
1076
1060
|
});
|
|
1077
1061
|
}
|
|
@@ -1084,7 +1068,7 @@ export const de_DeleteDatasetImportJobCommand = async (output, context) => {
|
|
|
1084
1068
|
const response = {
|
|
1085
1069
|
$metadata: deserializeMetadata(output),
|
|
1086
1070
|
};
|
|
1087
|
-
return
|
|
1071
|
+
return response;
|
|
1088
1072
|
};
|
|
1089
1073
|
const de_DeleteDatasetImportJobCommandError = async (output, context) => {
|
|
1090
1074
|
const parsedOutput = {
|
|
@@ -1104,10 +1088,9 @@ const de_DeleteDatasetImportJobCommandError = async (output, context) => {
|
|
|
1104
1088
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1105
1089
|
default:
|
|
1106
1090
|
const parsedBody = parsedOutput.body;
|
|
1107
|
-
throwDefaultError({
|
|
1091
|
+
return throwDefaultError({
|
|
1108
1092
|
output,
|
|
1109
1093
|
parsedBody,
|
|
1110
|
-
exceptionCtor: __BaseException,
|
|
1111
1094
|
errorCode,
|
|
1112
1095
|
});
|
|
1113
1096
|
}
|
|
@@ -1120,7 +1103,7 @@ export const de_DeleteExplainabilityCommand = async (output, context) => {
|
|
|
1120
1103
|
const response = {
|
|
1121
1104
|
$metadata: deserializeMetadata(output),
|
|
1122
1105
|
};
|
|
1123
|
-
return
|
|
1106
|
+
return response;
|
|
1124
1107
|
};
|
|
1125
1108
|
const de_DeleteExplainabilityCommandError = async (output, context) => {
|
|
1126
1109
|
const parsedOutput = {
|
|
@@ -1140,10 +1123,9 @@ const de_DeleteExplainabilityCommandError = async (output, context) => {
|
|
|
1140
1123
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1141
1124
|
default:
|
|
1142
1125
|
const parsedBody = parsedOutput.body;
|
|
1143
|
-
throwDefaultError({
|
|
1126
|
+
return throwDefaultError({
|
|
1144
1127
|
output,
|
|
1145
1128
|
parsedBody,
|
|
1146
|
-
exceptionCtor: __BaseException,
|
|
1147
1129
|
errorCode,
|
|
1148
1130
|
});
|
|
1149
1131
|
}
|
|
@@ -1156,7 +1138,7 @@ export const de_DeleteExplainabilityExportCommand = async (output, context) => {
|
|
|
1156
1138
|
const response = {
|
|
1157
1139
|
$metadata: deserializeMetadata(output),
|
|
1158
1140
|
};
|
|
1159
|
-
return
|
|
1141
|
+
return response;
|
|
1160
1142
|
};
|
|
1161
1143
|
const de_DeleteExplainabilityExportCommandError = async (output, context) => {
|
|
1162
1144
|
const parsedOutput = {
|
|
@@ -1176,10 +1158,9 @@ const de_DeleteExplainabilityExportCommandError = async (output, context) => {
|
|
|
1176
1158
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1177
1159
|
default:
|
|
1178
1160
|
const parsedBody = parsedOutput.body;
|
|
1179
|
-
throwDefaultError({
|
|
1161
|
+
return throwDefaultError({
|
|
1180
1162
|
output,
|
|
1181
1163
|
parsedBody,
|
|
1182
|
-
exceptionCtor: __BaseException,
|
|
1183
1164
|
errorCode,
|
|
1184
1165
|
});
|
|
1185
1166
|
}
|
|
@@ -1192,7 +1173,7 @@ export const de_DeleteForecastCommand = async (output, context) => {
|
|
|
1192
1173
|
const response = {
|
|
1193
1174
|
$metadata: deserializeMetadata(output),
|
|
1194
1175
|
};
|
|
1195
|
-
return
|
|
1176
|
+
return response;
|
|
1196
1177
|
};
|
|
1197
1178
|
const de_DeleteForecastCommandError = async (output, context) => {
|
|
1198
1179
|
const parsedOutput = {
|
|
@@ -1212,10 +1193,9 @@ const de_DeleteForecastCommandError = async (output, context) => {
|
|
|
1212
1193
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1213
1194
|
default:
|
|
1214
1195
|
const parsedBody = parsedOutput.body;
|
|
1215
|
-
throwDefaultError({
|
|
1196
|
+
return throwDefaultError({
|
|
1216
1197
|
output,
|
|
1217
1198
|
parsedBody,
|
|
1218
|
-
exceptionCtor: __BaseException,
|
|
1219
1199
|
errorCode,
|
|
1220
1200
|
});
|
|
1221
1201
|
}
|
|
@@ -1228,7 +1208,7 @@ export const de_DeleteForecastExportJobCommand = async (output, context) => {
|
|
|
1228
1208
|
const response = {
|
|
1229
1209
|
$metadata: deserializeMetadata(output),
|
|
1230
1210
|
};
|
|
1231
|
-
return
|
|
1211
|
+
return response;
|
|
1232
1212
|
};
|
|
1233
1213
|
const de_DeleteForecastExportJobCommandError = async (output, context) => {
|
|
1234
1214
|
const parsedOutput = {
|
|
@@ -1248,10 +1228,9 @@ const de_DeleteForecastExportJobCommandError = async (output, context) => {
|
|
|
1248
1228
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1249
1229
|
default:
|
|
1250
1230
|
const parsedBody = parsedOutput.body;
|
|
1251
|
-
throwDefaultError({
|
|
1231
|
+
return throwDefaultError({
|
|
1252
1232
|
output,
|
|
1253
1233
|
parsedBody,
|
|
1254
|
-
exceptionCtor: __BaseException,
|
|
1255
1234
|
errorCode,
|
|
1256
1235
|
});
|
|
1257
1236
|
}
|
|
@@ -1264,7 +1243,7 @@ export const de_DeleteMonitorCommand = async (output, context) => {
|
|
|
1264
1243
|
const response = {
|
|
1265
1244
|
$metadata: deserializeMetadata(output),
|
|
1266
1245
|
};
|
|
1267
|
-
return
|
|
1246
|
+
return response;
|
|
1268
1247
|
};
|
|
1269
1248
|
const de_DeleteMonitorCommandError = async (output, context) => {
|
|
1270
1249
|
const parsedOutput = {
|
|
@@ -1284,10 +1263,9 @@ const de_DeleteMonitorCommandError = async (output, context) => {
|
|
|
1284
1263
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1285
1264
|
default:
|
|
1286
1265
|
const parsedBody = parsedOutput.body;
|
|
1287
|
-
throwDefaultError({
|
|
1266
|
+
return throwDefaultError({
|
|
1288
1267
|
output,
|
|
1289
1268
|
parsedBody,
|
|
1290
|
-
exceptionCtor: __BaseException,
|
|
1291
1269
|
errorCode,
|
|
1292
1270
|
});
|
|
1293
1271
|
}
|
|
@@ -1300,7 +1278,7 @@ export const de_DeletePredictorCommand = async (output, context) => {
|
|
|
1300
1278
|
const response = {
|
|
1301
1279
|
$metadata: deserializeMetadata(output),
|
|
1302
1280
|
};
|
|
1303
|
-
return
|
|
1281
|
+
return response;
|
|
1304
1282
|
};
|
|
1305
1283
|
const de_DeletePredictorCommandError = async (output, context) => {
|
|
1306
1284
|
const parsedOutput = {
|
|
@@ -1320,10 +1298,9 @@ const de_DeletePredictorCommandError = async (output, context) => {
|
|
|
1320
1298
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1321
1299
|
default:
|
|
1322
1300
|
const parsedBody = parsedOutput.body;
|
|
1323
|
-
throwDefaultError({
|
|
1301
|
+
return throwDefaultError({
|
|
1324
1302
|
output,
|
|
1325
1303
|
parsedBody,
|
|
1326
|
-
exceptionCtor: __BaseException,
|
|
1327
1304
|
errorCode,
|
|
1328
1305
|
});
|
|
1329
1306
|
}
|
|
@@ -1336,7 +1313,7 @@ export const de_DeletePredictorBacktestExportJobCommand = async (output, context
|
|
|
1336
1313
|
const response = {
|
|
1337
1314
|
$metadata: deserializeMetadata(output),
|
|
1338
1315
|
};
|
|
1339
|
-
return
|
|
1316
|
+
return response;
|
|
1340
1317
|
};
|
|
1341
1318
|
const de_DeletePredictorBacktestExportJobCommandError = async (output, context) => {
|
|
1342
1319
|
const parsedOutput = {
|
|
@@ -1356,10 +1333,9 @@ const de_DeletePredictorBacktestExportJobCommandError = async (output, context)
|
|
|
1356
1333
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1357
1334
|
default:
|
|
1358
1335
|
const parsedBody = parsedOutput.body;
|
|
1359
|
-
throwDefaultError({
|
|
1336
|
+
return throwDefaultError({
|
|
1360
1337
|
output,
|
|
1361
1338
|
parsedBody,
|
|
1362
|
-
exceptionCtor: __BaseException,
|
|
1363
1339
|
errorCode,
|
|
1364
1340
|
});
|
|
1365
1341
|
}
|
|
@@ -1372,7 +1348,7 @@ export const de_DeleteResourceTreeCommand = async (output, context) => {
|
|
|
1372
1348
|
const response = {
|
|
1373
1349
|
$metadata: deserializeMetadata(output),
|
|
1374
1350
|
};
|
|
1375
|
-
return
|
|
1351
|
+
return response;
|
|
1376
1352
|
};
|
|
1377
1353
|
const de_DeleteResourceTreeCommandError = async (output, context) => {
|
|
1378
1354
|
const parsedOutput = {
|
|
@@ -1392,10 +1368,9 @@ const de_DeleteResourceTreeCommandError = async (output, context) => {
|
|
|
1392
1368
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1393
1369
|
default:
|
|
1394
1370
|
const parsedBody = parsedOutput.body;
|
|
1395
|
-
throwDefaultError({
|
|
1371
|
+
return throwDefaultError({
|
|
1396
1372
|
output,
|
|
1397
1373
|
parsedBody,
|
|
1398
|
-
exceptionCtor: __BaseException,
|
|
1399
1374
|
errorCode,
|
|
1400
1375
|
});
|
|
1401
1376
|
}
|
|
@@ -1408,7 +1383,7 @@ export const de_DeleteWhatIfAnalysisCommand = async (output, context) => {
|
|
|
1408
1383
|
const response = {
|
|
1409
1384
|
$metadata: deserializeMetadata(output),
|
|
1410
1385
|
};
|
|
1411
|
-
return
|
|
1386
|
+
return response;
|
|
1412
1387
|
};
|
|
1413
1388
|
const de_DeleteWhatIfAnalysisCommandError = async (output, context) => {
|
|
1414
1389
|
const parsedOutput = {
|
|
@@ -1428,10 +1403,9 @@ const de_DeleteWhatIfAnalysisCommandError = async (output, context) => {
|
|
|
1428
1403
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1429
1404
|
default:
|
|
1430
1405
|
const parsedBody = parsedOutput.body;
|
|
1431
|
-
throwDefaultError({
|
|
1406
|
+
return throwDefaultError({
|
|
1432
1407
|
output,
|
|
1433
1408
|
parsedBody,
|
|
1434
|
-
exceptionCtor: __BaseException,
|
|
1435
1409
|
errorCode,
|
|
1436
1410
|
});
|
|
1437
1411
|
}
|
|
@@ -1444,7 +1418,7 @@ export const de_DeleteWhatIfForecastCommand = async (output, context) => {
|
|
|
1444
1418
|
const response = {
|
|
1445
1419
|
$metadata: deserializeMetadata(output),
|
|
1446
1420
|
};
|
|
1447
|
-
return
|
|
1421
|
+
return response;
|
|
1448
1422
|
};
|
|
1449
1423
|
const de_DeleteWhatIfForecastCommandError = async (output, context) => {
|
|
1450
1424
|
const parsedOutput = {
|
|
@@ -1464,10 +1438,9 @@ const de_DeleteWhatIfForecastCommandError = async (output, context) => {
|
|
|
1464
1438
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1465
1439
|
default:
|
|
1466
1440
|
const parsedBody = parsedOutput.body;
|
|
1467
|
-
throwDefaultError({
|
|
1441
|
+
return throwDefaultError({
|
|
1468
1442
|
output,
|
|
1469
1443
|
parsedBody,
|
|
1470
|
-
exceptionCtor: __BaseException,
|
|
1471
1444
|
errorCode,
|
|
1472
1445
|
});
|
|
1473
1446
|
}
|
|
@@ -1480,7 +1453,7 @@ export const de_DeleteWhatIfForecastExportCommand = async (output, context) => {
|
|
|
1480
1453
|
const response = {
|
|
1481
1454
|
$metadata: deserializeMetadata(output),
|
|
1482
1455
|
};
|
|
1483
|
-
return
|
|
1456
|
+
return response;
|
|
1484
1457
|
};
|
|
1485
1458
|
const de_DeleteWhatIfForecastExportCommandError = async (output, context) => {
|
|
1486
1459
|
const parsedOutput = {
|
|
@@ -1500,10 +1473,9 @@ const de_DeleteWhatIfForecastExportCommandError = async (output, context) => {
|
|
|
1500
1473
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1501
1474
|
default:
|
|
1502
1475
|
const parsedBody = parsedOutput.body;
|
|
1503
|
-
throwDefaultError({
|
|
1476
|
+
return throwDefaultError({
|
|
1504
1477
|
output,
|
|
1505
1478
|
parsedBody,
|
|
1506
|
-
exceptionCtor: __BaseException,
|
|
1507
1479
|
errorCode,
|
|
1508
1480
|
});
|
|
1509
1481
|
}
|
|
@@ -1519,7 +1491,7 @@ export const de_DescribeAutoPredictorCommand = async (output, context) => {
|
|
|
1519
1491
|
$metadata: deserializeMetadata(output),
|
|
1520
1492
|
...contents,
|
|
1521
1493
|
};
|
|
1522
|
-
return
|
|
1494
|
+
return response;
|
|
1523
1495
|
};
|
|
1524
1496
|
const de_DescribeAutoPredictorCommandError = async (output, context) => {
|
|
1525
1497
|
const parsedOutput = {
|
|
@@ -1536,10 +1508,9 @@ const de_DescribeAutoPredictorCommandError = async (output, context) => {
|
|
|
1536
1508
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1537
1509
|
default:
|
|
1538
1510
|
const parsedBody = parsedOutput.body;
|
|
1539
|
-
throwDefaultError({
|
|
1511
|
+
return throwDefaultError({
|
|
1540
1512
|
output,
|
|
1541
1513
|
parsedBody,
|
|
1542
|
-
exceptionCtor: __BaseException,
|
|
1543
1514
|
errorCode,
|
|
1544
1515
|
});
|
|
1545
1516
|
}
|
|
@@ -1555,7 +1526,7 @@ export const de_DescribeDatasetCommand = async (output, context) => {
|
|
|
1555
1526
|
$metadata: deserializeMetadata(output),
|
|
1556
1527
|
...contents,
|
|
1557
1528
|
};
|
|
1558
|
-
return
|
|
1529
|
+
return response;
|
|
1559
1530
|
};
|
|
1560
1531
|
const de_DescribeDatasetCommandError = async (output, context) => {
|
|
1561
1532
|
const parsedOutput = {
|
|
@@ -1572,10 +1543,9 @@ const de_DescribeDatasetCommandError = async (output, context) => {
|
|
|
1572
1543
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1573
1544
|
default:
|
|
1574
1545
|
const parsedBody = parsedOutput.body;
|
|
1575
|
-
throwDefaultError({
|
|
1546
|
+
return throwDefaultError({
|
|
1576
1547
|
output,
|
|
1577
1548
|
parsedBody,
|
|
1578
|
-
exceptionCtor: __BaseException,
|
|
1579
1549
|
errorCode,
|
|
1580
1550
|
});
|
|
1581
1551
|
}
|
|
@@ -1591,7 +1561,7 @@ export const de_DescribeDatasetGroupCommand = async (output, context) => {
|
|
|
1591
1561
|
$metadata: deserializeMetadata(output),
|
|
1592
1562
|
...contents,
|
|
1593
1563
|
};
|
|
1594
|
-
return
|
|
1564
|
+
return response;
|
|
1595
1565
|
};
|
|
1596
1566
|
const de_DescribeDatasetGroupCommandError = async (output, context) => {
|
|
1597
1567
|
const parsedOutput = {
|
|
@@ -1608,10 +1578,9 @@ const de_DescribeDatasetGroupCommandError = async (output, context) => {
|
|
|
1608
1578
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1609
1579
|
default:
|
|
1610
1580
|
const parsedBody = parsedOutput.body;
|
|
1611
|
-
throwDefaultError({
|
|
1581
|
+
return throwDefaultError({
|
|
1612
1582
|
output,
|
|
1613
1583
|
parsedBody,
|
|
1614
|
-
exceptionCtor: __BaseException,
|
|
1615
1584
|
errorCode,
|
|
1616
1585
|
});
|
|
1617
1586
|
}
|
|
@@ -1627,7 +1596,7 @@ export const de_DescribeDatasetImportJobCommand = async (output, context) => {
|
|
|
1627
1596
|
$metadata: deserializeMetadata(output),
|
|
1628
1597
|
...contents,
|
|
1629
1598
|
};
|
|
1630
|
-
return
|
|
1599
|
+
return response;
|
|
1631
1600
|
};
|
|
1632
1601
|
const de_DescribeDatasetImportJobCommandError = async (output, context) => {
|
|
1633
1602
|
const parsedOutput = {
|
|
@@ -1644,10 +1613,9 @@ const de_DescribeDatasetImportJobCommandError = async (output, context) => {
|
|
|
1644
1613
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1645
1614
|
default:
|
|
1646
1615
|
const parsedBody = parsedOutput.body;
|
|
1647
|
-
throwDefaultError({
|
|
1616
|
+
return throwDefaultError({
|
|
1648
1617
|
output,
|
|
1649
1618
|
parsedBody,
|
|
1650
|
-
exceptionCtor: __BaseException,
|
|
1651
1619
|
errorCode,
|
|
1652
1620
|
});
|
|
1653
1621
|
}
|
|
@@ -1663,7 +1631,7 @@ export const de_DescribeExplainabilityCommand = async (output, context) => {
|
|
|
1663
1631
|
$metadata: deserializeMetadata(output),
|
|
1664
1632
|
...contents,
|
|
1665
1633
|
};
|
|
1666
|
-
return
|
|
1634
|
+
return response;
|
|
1667
1635
|
};
|
|
1668
1636
|
const de_DescribeExplainabilityCommandError = async (output, context) => {
|
|
1669
1637
|
const parsedOutput = {
|
|
@@ -1680,10 +1648,9 @@ const de_DescribeExplainabilityCommandError = async (output, context) => {
|
|
|
1680
1648
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1681
1649
|
default:
|
|
1682
1650
|
const parsedBody = parsedOutput.body;
|
|
1683
|
-
throwDefaultError({
|
|
1651
|
+
return throwDefaultError({
|
|
1684
1652
|
output,
|
|
1685
1653
|
parsedBody,
|
|
1686
|
-
exceptionCtor: __BaseException,
|
|
1687
1654
|
errorCode,
|
|
1688
1655
|
});
|
|
1689
1656
|
}
|
|
@@ -1699,7 +1666,7 @@ export const de_DescribeExplainabilityExportCommand = async (output, context) =>
|
|
|
1699
1666
|
$metadata: deserializeMetadata(output),
|
|
1700
1667
|
...contents,
|
|
1701
1668
|
};
|
|
1702
|
-
return
|
|
1669
|
+
return response;
|
|
1703
1670
|
};
|
|
1704
1671
|
const de_DescribeExplainabilityExportCommandError = async (output, context) => {
|
|
1705
1672
|
const parsedOutput = {
|
|
@@ -1716,10 +1683,9 @@ const de_DescribeExplainabilityExportCommandError = async (output, context) => {
|
|
|
1716
1683
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1717
1684
|
default:
|
|
1718
1685
|
const parsedBody = parsedOutput.body;
|
|
1719
|
-
throwDefaultError({
|
|
1686
|
+
return throwDefaultError({
|
|
1720
1687
|
output,
|
|
1721
1688
|
parsedBody,
|
|
1722
|
-
exceptionCtor: __BaseException,
|
|
1723
1689
|
errorCode,
|
|
1724
1690
|
});
|
|
1725
1691
|
}
|
|
@@ -1735,7 +1701,7 @@ export const de_DescribeForecastCommand = async (output, context) => {
|
|
|
1735
1701
|
$metadata: deserializeMetadata(output),
|
|
1736
1702
|
...contents,
|
|
1737
1703
|
};
|
|
1738
|
-
return
|
|
1704
|
+
return response;
|
|
1739
1705
|
};
|
|
1740
1706
|
const de_DescribeForecastCommandError = async (output, context) => {
|
|
1741
1707
|
const parsedOutput = {
|
|
@@ -1752,10 +1718,9 @@ const de_DescribeForecastCommandError = async (output, context) => {
|
|
|
1752
1718
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1753
1719
|
default:
|
|
1754
1720
|
const parsedBody = parsedOutput.body;
|
|
1755
|
-
throwDefaultError({
|
|
1721
|
+
return throwDefaultError({
|
|
1756
1722
|
output,
|
|
1757
1723
|
parsedBody,
|
|
1758
|
-
exceptionCtor: __BaseException,
|
|
1759
1724
|
errorCode,
|
|
1760
1725
|
});
|
|
1761
1726
|
}
|
|
@@ -1771,7 +1736,7 @@ export const de_DescribeForecastExportJobCommand = async (output, context) => {
|
|
|
1771
1736
|
$metadata: deserializeMetadata(output),
|
|
1772
1737
|
...contents,
|
|
1773
1738
|
};
|
|
1774
|
-
return
|
|
1739
|
+
return response;
|
|
1775
1740
|
};
|
|
1776
1741
|
const de_DescribeForecastExportJobCommandError = async (output, context) => {
|
|
1777
1742
|
const parsedOutput = {
|
|
@@ -1788,10 +1753,9 @@ const de_DescribeForecastExportJobCommandError = async (output, context) => {
|
|
|
1788
1753
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1789
1754
|
default:
|
|
1790
1755
|
const parsedBody = parsedOutput.body;
|
|
1791
|
-
throwDefaultError({
|
|
1756
|
+
return throwDefaultError({
|
|
1792
1757
|
output,
|
|
1793
1758
|
parsedBody,
|
|
1794
|
-
exceptionCtor: __BaseException,
|
|
1795
1759
|
errorCode,
|
|
1796
1760
|
});
|
|
1797
1761
|
}
|
|
@@ -1807,7 +1771,7 @@ export const de_DescribeMonitorCommand = async (output, context) => {
|
|
|
1807
1771
|
$metadata: deserializeMetadata(output),
|
|
1808
1772
|
...contents,
|
|
1809
1773
|
};
|
|
1810
|
-
return
|
|
1774
|
+
return response;
|
|
1811
1775
|
};
|
|
1812
1776
|
const de_DescribeMonitorCommandError = async (output, context) => {
|
|
1813
1777
|
const parsedOutput = {
|
|
@@ -1824,10 +1788,9 @@ const de_DescribeMonitorCommandError = async (output, context) => {
|
|
|
1824
1788
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1825
1789
|
default:
|
|
1826
1790
|
const parsedBody = parsedOutput.body;
|
|
1827
|
-
throwDefaultError({
|
|
1791
|
+
return throwDefaultError({
|
|
1828
1792
|
output,
|
|
1829
1793
|
parsedBody,
|
|
1830
|
-
exceptionCtor: __BaseException,
|
|
1831
1794
|
errorCode,
|
|
1832
1795
|
});
|
|
1833
1796
|
}
|
|
@@ -1843,7 +1806,7 @@ export const de_DescribePredictorCommand = async (output, context) => {
|
|
|
1843
1806
|
$metadata: deserializeMetadata(output),
|
|
1844
1807
|
...contents,
|
|
1845
1808
|
};
|
|
1846
|
-
return
|
|
1809
|
+
return response;
|
|
1847
1810
|
};
|
|
1848
1811
|
const de_DescribePredictorCommandError = async (output, context) => {
|
|
1849
1812
|
const parsedOutput = {
|
|
@@ -1860,10 +1823,9 @@ const de_DescribePredictorCommandError = async (output, context) => {
|
|
|
1860
1823
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1861
1824
|
default:
|
|
1862
1825
|
const parsedBody = parsedOutput.body;
|
|
1863
|
-
throwDefaultError({
|
|
1826
|
+
return throwDefaultError({
|
|
1864
1827
|
output,
|
|
1865
1828
|
parsedBody,
|
|
1866
|
-
exceptionCtor: __BaseException,
|
|
1867
1829
|
errorCode,
|
|
1868
1830
|
});
|
|
1869
1831
|
}
|
|
@@ -1879,7 +1841,7 @@ export const de_DescribePredictorBacktestExportJobCommand = async (output, conte
|
|
|
1879
1841
|
$metadata: deserializeMetadata(output),
|
|
1880
1842
|
...contents,
|
|
1881
1843
|
};
|
|
1882
|
-
return
|
|
1844
|
+
return response;
|
|
1883
1845
|
};
|
|
1884
1846
|
const de_DescribePredictorBacktestExportJobCommandError = async (output, context) => {
|
|
1885
1847
|
const parsedOutput = {
|
|
@@ -1896,10 +1858,9 @@ const de_DescribePredictorBacktestExportJobCommandError = async (output, context
|
|
|
1896
1858
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1897
1859
|
default:
|
|
1898
1860
|
const parsedBody = parsedOutput.body;
|
|
1899
|
-
throwDefaultError({
|
|
1861
|
+
return throwDefaultError({
|
|
1900
1862
|
output,
|
|
1901
1863
|
parsedBody,
|
|
1902
|
-
exceptionCtor: __BaseException,
|
|
1903
1864
|
errorCode,
|
|
1904
1865
|
});
|
|
1905
1866
|
}
|
|
@@ -1915,7 +1876,7 @@ export const de_DescribeWhatIfAnalysisCommand = async (output, context) => {
|
|
|
1915
1876
|
$metadata: deserializeMetadata(output),
|
|
1916
1877
|
...contents,
|
|
1917
1878
|
};
|
|
1918
|
-
return
|
|
1879
|
+
return response;
|
|
1919
1880
|
};
|
|
1920
1881
|
const de_DescribeWhatIfAnalysisCommandError = async (output, context) => {
|
|
1921
1882
|
const parsedOutput = {
|
|
@@ -1932,10 +1893,9 @@ const de_DescribeWhatIfAnalysisCommandError = async (output, context) => {
|
|
|
1932
1893
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1933
1894
|
default:
|
|
1934
1895
|
const parsedBody = parsedOutput.body;
|
|
1935
|
-
throwDefaultError({
|
|
1896
|
+
return throwDefaultError({
|
|
1936
1897
|
output,
|
|
1937
1898
|
parsedBody,
|
|
1938
|
-
exceptionCtor: __BaseException,
|
|
1939
1899
|
errorCode,
|
|
1940
1900
|
});
|
|
1941
1901
|
}
|
|
@@ -1951,7 +1911,7 @@ export const de_DescribeWhatIfForecastCommand = async (output, context) => {
|
|
|
1951
1911
|
$metadata: deserializeMetadata(output),
|
|
1952
1912
|
...contents,
|
|
1953
1913
|
};
|
|
1954
|
-
return
|
|
1914
|
+
return response;
|
|
1955
1915
|
};
|
|
1956
1916
|
const de_DescribeWhatIfForecastCommandError = async (output, context) => {
|
|
1957
1917
|
const parsedOutput = {
|
|
@@ -1968,10 +1928,9 @@ const de_DescribeWhatIfForecastCommandError = async (output, context) => {
|
|
|
1968
1928
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1969
1929
|
default:
|
|
1970
1930
|
const parsedBody = parsedOutput.body;
|
|
1971
|
-
throwDefaultError({
|
|
1931
|
+
return throwDefaultError({
|
|
1972
1932
|
output,
|
|
1973
1933
|
parsedBody,
|
|
1974
|
-
exceptionCtor: __BaseException,
|
|
1975
1934
|
errorCode,
|
|
1976
1935
|
});
|
|
1977
1936
|
}
|
|
@@ -1987,7 +1946,7 @@ export const de_DescribeWhatIfForecastExportCommand = async (output, context) =>
|
|
|
1987
1946
|
$metadata: deserializeMetadata(output),
|
|
1988
1947
|
...contents,
|
|
1989
1948
|
};
|
|
1990
|
-
return
|
|
1949
|
+
return response;
|
|
1991
1950
|
};
|
|
1992
1951
|
const de_DescribeWhatIfForecastExportCommandError = async (output, context) => {
|
|
1993
1952
|
const parsedOutput = {
|
|
@@ -2004,10 +1963,9 @@ const de_DescribeWhatIfForecastExportCommandError = async (output, context) => {
|
|
|
2004
1963
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2005
1964
|
default:
|
|
2006
1965
|
const parsedBody = parsedOutput.body;
|
|
2007
|
-
throwDefaultError({
|
|
1966
|
+
return throwDefaultError({
|
|
2008
1967
|
output,
|
|
2009
1968
|
parsedBody,
|
|
2010
|
-
exceptionCtor: __BaseException,
|
|
2011
1969
|
errorCode,
|
|
2012
1970
|
});
|
|
2013
1971
|
}
|
|
@@ -2023,7 +1981,7 @@ export const de_GetAccuracyMetricsCommand = async (output, context) => {
|
|
|
2023
1981
|
$metadata: deserializeMetadata(output),
|
|
2024
1982
|
...contents,
|
|
2025
1983
|
};
|
|
2026
|
-
return
|
|
1984
|
+
return response;
|
|
2027
1985
|
};
|
|
2028
1986
|
const de_GetAccuracyMetricsCommandError = async (output, context) => {
|
|
2029
1987
|
const parsedOutput = {
|
|
@@ -2043,10 +2001,9 @@ const de_GetAccuracyMetricsCommandError = async (output, context) => {
|
|
|
2043
2001
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2044
2002
|
default:
|
|
2045
2003
|
const parsedBody = parsedOutput.body;
|
|
2046
|
-
throwDefaultError({
|
|
2004
|
+
return throwDefaultError({
|
|
2047
2005
|
output,
|
|
2048
2006
|
parsedBody,
|
|
2049
|
-
exceptionCtor: __BaseException,
|
|
2050
2007
|
errorCode,
|
|
2051
2008
|
});
|
|
2052
2009
|
}
|
|
@@ -2062,7 +2019,7 @@ export const de_ListDatasetGroupsCommand = async (output, context) => {
|
|
|
2062
2019
|
$metadata: deserializeMetadata(output),
|
|
2063
2020
|
...contents,
|
|
2064
2021
|
};
|
|
2065
|
-
return
|
|
2022
|
+
return response;
|
|
2066
2023
|
};
|
|
2067
2024
|
const de_ListDatasetGroupsCommandError = async (output, context) => {
|
|
2068
2025
|
const parsedOutput = {
|
|
@@ -2076,10 +2033,9 @@ const de_ListDatasetGroupsCommandError = async (output, context) => {
|
|
|
2076
2033
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2077
2034
|
default:
|
|
2078
2035
|
const parsedBody = parsedOutput.body;
|
|
2079
|
-
throwDefaultError({
|
|
2036
|
+
return throwDefaultError({
|
|
2080
2037
|
output,
|
|
2081
2038
|
parsedBody,
|
|
2082
|
-
exceptionCtor: __BaseException,
|
|
2083
2039
|
errorCode,
|
|
2084
2040
|
});
|
|
2085
2041
|
}
|
|
@@ -2095,7 +2051,7 @@ export const de_ListDatasetImportJobsCommand = async (output, context) => {
|
|
|
2095
2051
|
$metadata: deserializeMetadata(output),
|
|
2096
2052
|
...contents,
|
|
2097
2053
|
};
|
|
2098
|
-
return
|
|
2054
|
+
return response;
|
|
2099
2055
|
};
|
|
2100
2056
|
const de_ListDatasetImportJobsCommandError = async (output, context) => {
|
|
2101
2057
|
const parsedOutput = {
|
|
@@ -2112,10 +2068,9 @@ const de_ListDatasetImportJobsCommandError = async (output, context) => {
|
|
|
2112
2068
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2113
2069
|
default:
|
|
2114
2070
|
const parsedBody = parsedOutput.body;
|
|
2115
|
-
throwDefaultError({
|
|
2071
|
+
return throwDefaultError({
|
|
2116
2072
|
output,
|
|
2117
2073
|
parsedBody,
|
|
2118
|
-
exceptionCtor: __BaseException,
|
|
2119
2074
|
errorCode,
|
|
2120
2075
|
});
|
|
2121
2076
|
}
|
|
@@ -2131,7 +2086,7 @@ export const de_ListDatasetsCommand = async (output, context) => {
|
|
|
2131
2086
|
$metadata: deserializeMetadata(output),
|
|
2132
2087
|
...contents,
|
|
2133
2088
|
};
|
|
2134
|
-
return
|
|
2089
|
+
return response;
|
|
2135
2090
|
};
|
|
2136
2091
|
const de_ListDatasetsCommandError = async (output, context) => {
|
|
2137
2092
|
const parsedOutput = {
|
|
@@ -2145,10 +2100,9 @@ const de_ListDatasetsCommandError = async (output, context) => {
|
|
|
2145
2100
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2146
2101
|
default:
|
|
2147
2102
|
const parsedBody = parsedOutput.body;
|
|
2148
|
-
throwDefaultError({
|
|
2103
|
+
return throwDefaultError({
|
|
2149
2104
|
output,
|
|
2150
2105
|
parsedBody,
|
|
2151
|
-
exceptionCtor: __BaseException,
|
|
2152
2106
|
errorCode,
|
|
2153
2107
|
});
|
|
2154
2108
|
}
|
|
@@ -2164,7 +2118,7 @@ export const de_ListExplainabilitiesCommand = async (output, context) => {
|
|
|
2164
2118
|
$metadata: deserializeMetadata(output),
|
|
2165
2119
|
...contents,
|
|
2166
2120
|
};
|
|
2167
|
-
return
|
|
2121
|
+
return response;
|
|
2168
2122
|
};
|
|
2169
2123
|
const de_ListExplainabilitiesCommandError = async (output, context) => {
|
|
2170
2124
|
const parsedOutput = {
|
|
@@ -2181,10 +2135,9 @@ const de_ListExplainabilitiesCommandError = async (output, context) => {
|
|
|
2181
2135
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2182
2136
|
default:
|
|
2183
2137
|
const parsedBody = parsedOutput.body;
|
|
2184
|
-
throwDefaultError({
|
|
2138
|
+
return throwDefaultError({
|
|
2185
2139
|
output,
|
|
2186
2140
|
parsedBody,
|
|
2187
|
-
exceptionCtor: __BaseException,
|
|
2188
2141
|
errorCode,
|
|
2189
2142
|
});
|
|
2190
2143
|
}
|
|
@@ -2200,7 +2153,7 @@ export const de_ListExplainabilityExportsCommand = async (output, context) => {
|
|
|
2200
2153
|
$metadata: deserializeMetadata(output),
|
|
2201
2154
|
...contents,
|
|
2202
2155
|
};
|
|
2203
|
-
return
|
|
2156
|
+
return response;
|
|
2204
2157
|
};
|
|
2205
2158
|
const de_ListExplainabilityExportsCommandError = async (output, context) => {
|
|
2206
2159
|
const parsedOutput = {
|
|
@@ -2217,10 +2170,9 @@ const de_ListExplainabilityExportsCommandError = async (output, context) => {
|
|
|
2217
2170
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2218
2171
|
default:
|
|
2219
2172
|
const parsedBody = parsedOutput.body;
|
|
2220
|
-
throwDefaultError({
|
|
2173
|
+
return throwDefaultError({
|
|
2221
2174
|
output,
|
|
2222
2175
|
parsedBody,
|
|
2223
|
-
exceptionCtor: __BaseException,
|
|
2224
2176
|
errorCode,
|
|
2225
2177
|
});
|
|
2226
2178
|
}
|
|
@@ -2236,7 +2188,7 @@ export const de_ListForecastExportJobsCommand = async (output, context) => {
|
|
|
2236
2188
|
$metadata: deserializeMetadata(output),
|
|
2237
2189
|
...contents,
|
|
2238
2190
|
};
|
|
2239
|
-
return
|
|
2191
|
+
return response;
|
|
2240
2192
|
};
|
|
2241
2193
|
const de_ListForecastExportJobsCommandError = async (output, context) => {
|
|
2242
2194
|
const parsedOutput = {
|
|
@@ -2253,10 +2205,9 @@ const de_ListForecastExportJobsCommandError = async (output, context) => {
|
|
|
2253
2205
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2254
2206
|
default:
|
|
2255
2207
|
const parsedBody = parsedOutput.body;
|
|
2256
|
-
throwDefaultError({
|
|
2208
|
+
return throwDefaultError({
|
|
2257
2209
|
output,
|
|
2258
2210
|
parsedBody,
|
|
2259
|
-
exceptionCtor: __BaseException,
|
|
2260
2211
|
errorCode,
|
|
2261
2212
|
});
|
|
2262
2213
|
}
|
|
@@ -2272,7 +2223,7 @@ export const de_ListForecastsCommand = async (output, context) => {
|
|
|
2272
2223
|
$metadata: deserializeMetadata(output),
|
|
2273
2224
|
...contents,
|
|
2274
2225
|
};
|
|
2275
|
-
return
|
|
2226
|
+
return response;
|
|
2276
2227
|
};
|
|
2277
2228
|
const de_ListForecastsCommandError = async (output, context) => {
|
|
2278
2229
|
const parsedOutput = {
|
|
@@ -2289,10 +2240,9 @@ const de_ListForecastsCommandError = async (output, context) => {
|
|
|
2289
2240
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2290
2241
|
default:
|
|
2291
2242
|
const parsedBody = parsedOutput.body;
|
|
2292
|
-
throwDefaultError({
|
|
2243
|
+
return throwDefaultError({
|
|
2293
2244
|
output,
|
|
2294
2245
|
parsedBody,
|
|
2295
|
-
exceptionCtor: __BaseException,
|
|
2296
2246
|
errorCode,
|
|
2297
2247
|
});
|
|
2298
2248
|
}
|
|
@@ -2308,7 +2258,7 @@ export const de_ListMonitorEvaluationsCommand = async (output, context) => {
|
|
|
2308
2258
|
$metadata: deserializeMetadata(output),
|
|
2309
2259
|
...contents,
|
|
2310
2260
|
};
|
|
2311
|
-
return
|
|
2261
|
+
return response;
|
|
2312
2262
|
};
|
|
2313
2263
|
const de_ListMonitorEvaluationsCommandError = async (output, context) => {
|
|
2314
2264
|
const parsedOutput = {
|
|
@@ -2328,10 +2278,9 @@ const de_ListMonitorEvaluationsCommandError = async (output, context) => {
|
|
|
2328
2278
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2329
2279
|
default:
|
|
2330
2280
|
const parsedBody = parsedOutput.body;
|
|
2331
|
-
throwDefaultError({
|
|
2281
|
+
return throwDefaultError({
|
|
2332
2282
|
output,
|
|
2333
2283
|
parsedBody,
|
|
2334
|
-
exceptionCtor: __BaseException,
|
|
2335
2284
|
errorCode,
|
|
2336
2285
|
});
|
|
2337
2286
|
}
|
|
@@ -2347,7 +2296,7 @@ export const de_ListMonitorsCommand = async (output, context) => {
|
|
|
2347
2296
|
$metadata: deserializeMetadata(output),
|
|
2348
2297
|
...contents,
|
|
2349
2298
|
};
|
|
2350
|
-
return
|
|
2299
|
+
return response;
|
|
2351
2300
|
};
|
|
2352
2301
|
const de_ListMonitorsCommandError = async (output, context) => {
|
|
2353
2302
|
const parsedOutput = {
|
|
@@ -2364,10 +2313,9 @@ const de_ListMonitorsCommandError = async (output, context) => {
|
|
|
2364
2313
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2365
2314
|
default:
|
|
2366
2315
|
const parsedBody = parsedOutput.body;
|
|
2367
|
-
throwDefaultError({
|
|
2316
|
+
return throwDefaultError({
|
|
2368
2317
|
output,
|
|
2369
2318
|
parsedBody,
|
|
2370
|
-
exceptionCtor: __BaseException,
|
|
2371
2319
|
errorCode,
|
|
2372
2320
|
});
|
|
2373
2321
|
}
|
|
@@ -2383,7 +2331,7 @@ export const de_ListPredictorBacktestExportJobsCommand = async (output, context)
|
|
|
2383
2331
|
$metadata: deserializeMetadata(output),
|
|
2384
2332
|
...contents,
|
|
2385
2333
|
};
|
|
2386
|
-
return
|
|
2334
|
+
return response;
|
|
2387
2335
|
};
|
|
2388
2336
|
const de_ListPredictorBacktestExportJobsCommandError = async (output, context) => {
|
|
2389
2337
|
const parsedOutput = {
|
|
@@ -2400,10 +2348,9 @@ const de_ListPredictorBacktestExportJobsCommandError = async (output, context) =
|
|
|
2400
2348
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2401
2349
|
default:
|
|
2402
2350
|
const parsedBody = parsedOutput.body;
|
|
2403
|
-
throwDefaultError({
|
|
2351
|
+
return throwDefaultError({
|
|
2404
2352
|
output,
|
|
2405
2353
|
parsedBody,
|
|
2406
|
-
exceptionCtor: __BaseException,
|
|
2407
2354
|
errorCode,
|
|
2408
2355
|
});
|
|
2409
2356
|
}
|
|
@@ -2419,7 +2366,7 @@ export const de_ListPredictorsCommand = async (output, context) => {
|
|
|
2419
2366
|
$metadata: deserializeMetadata(output),
|
|
2420
2367
|
...contents,
|
|
2421
2368
|
};
|
|
2422
|
-
return
|
|
2369
|
+
return response;
|
|
2423
2370
|
};
|
|
2424
2371
|
const de_ListPredictorsCommandError = async (output, context) => {
|
|
2425
2372
|
const parsedOutput = {
|
|
@@ -2436,10 +2383,9 @@ const de_ListPredictorsCommandError = async (output, context) => {
|
|
|
2436
2383
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2437
2384
|
default:
|
|
2438
2385
|
const parsedBody = parsedOutput.body;
|
|
2439
|
-
throwDefaultError({
|
|
2386
|
+
return throwDefaultError({
|
|
2440
2387
|
output,
|
|
2441
2388
|
parsedBody,
|
|
2442
|
-
exceptionCtor: __BaseException,
|
|
2443
2389
|
errorCode,
|
|
2444
2390
|
});
|
|
2445
2391
|
}
|
|
@@ -2450,12 +2396,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2450
2396
|
}
|
|
2451
2397
|
const data = await parseBody(output.body, context);
|
|
2452
2398
|
let contents = {};
|
|
2453
|
-
contents =
|
|
2399
|
+
contents = _json(data);
|
|
2454
2400
|
const response = {
|
|
2455
2401
|
$metadata: deserializeMetadata(output),
|
|
2456
2402
|
...contents,
|
|
2457
2403
|
};
|
|
2458
|
-
return
|
|
2404
|
+
return response;
|
|
2459
2405
|
};
|
|
2460
2406
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2461
2407
|
const parsedOutput = {
|
|
@@ -2472,10 +2418,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2472
2418
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2473
2419
|
default:
|
|
2474
2420
|
const parsedBody = parsedOutput.body;
|
|
2475
|
-
throwDefaultError({
|
|
2421
|
+
return throwDefaultError({
|
|
2476
2422
|
output,
|
|
2477
2423
|
parsedBody,
|
|
2478
|
-
exceptionCtor: __BaseException,
|
|
2479
2424
|
errorCode,
|
|
2480
2425
|
});
|
|
2481
2426
|
}
|
|
@@ -2491,7 +2436,7 @@ export const de_ListWhatIfAnalysesCommand = async (output, context) => {
|
|
|
2491
2436
|
$metadata: deserializeMetadata(output),
|
|
2492
2437
|
...contents,
|
|
2493
2438
|
};
|
|
2494
|
-
return
|
|
2439
|
+
return response;
|
|
2495
2440
|
};
|
|
2496
2441
|
const de_ListWhatIfAnalysesCommandError = async (output, context) => {
|
|
2497
2442
|
const parsedOutput = {
|
|
@@ -2508,10 +2453,9 @@ const de_ListWhatIfAnalysesCommandError = async (output, context) => {
|
|
|
2508
2453
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2509
2454
|
default:
|
|
2510
2455
|
const parsedBody = parsedOutput.body;
|
|
2511
|
-
throwDefaultError({
|
|
2456
|
+
return throwDefaultError({
|
|
2512
2457
|
output,
|
|
2513
2458
|
parsedBody,
|
|
2514
|
-
exceptionCtor: __BaseException,
|
|
2515
2459
|
errorCode,
|
|
2516
2460
|
});
|
|
2517
2461
|
}
|
|
@@ -2527,7 +2471,7 @@ export const de_ListWhatIfForecastExportsCommand = async (output, context) => {
|
|
|
2527
2471
|
$metadata: deserializeMetadata(output),
|
|
2528
2472
|
...contents,
|
|
2529
2473
|
};
|
|
2530
|
-
return
|
|
2474
|
+
return response;
|
|
2531
2475
|
};
|
|
2532
2476
|
const de_ListWhatIfForecastExportsCommandError = async (output, context) => {
|
|
2533
2477
|
const parsedOutput = {
|
|
@@ -2544,10 +2488,9 @@ const de_ListWhatIfForecastExportsCommandError = async (output, context) => {
|
|
|
2544
2488
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2545
2489
|
default:
|
|
2546
2490
|
const parsedBody = parsedOutput.body;
|
|
2547
|
-
throwDefaultError({
|
|
2491
|
+
return throwDefaultError({
|
|
2548
2492
|
output,
|
|
2549
2493
|
parsedBody,
|
|
2550
|
-
exceptionCtor: __BaseException,
|
|
2551
2494
|
errorCode,
|
|
2552
2495
|
});
|
|
2553
2496
|
}
|
|
@@ -2563,7 +2506,7 @@ export const de_ListWhatIfForecastsCommand = async (output, context) => {
|
|
|
2563
2506
|
$metadata: deserializeMetadata(output),
|
|
2564
2507
|
...contents,
|
|
2565
2508
|
};
|
|
2566
|
-
return
|
|
2509
|
+
return response;
|
|
2567
2510
|
};
|
|
2568
2511
|
const de_ListWhatIfForecastsCommandError = async (output, context) => {
|
|
2569
2512
|
const parsedOutput = {
|
|
@@ -2580,10 +2523,9 @@ const de_ListWhatIfForecastsCommandError = async (output, context) => {
|
|
|
2580
2523
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2581
2524
|
default:
|
|
2582
2525
|
const parsedBody = parsedOutput.body;
|
|
2583
|
-
throwDefaultError({
|
|
2526
|
+
return throwDefaultError({
|
|
2584
2527
|
output,
|
|
2585
2528
|
parsedBody,
|
|
2586
|
-
exceptionCtor: __BaseException,
|
|
2587
2529
|
errorCode,
|
|
2588
2530
|
});
|
|
2589
2531
|
}
|
|
@@ -2596,7 +2538,7 @@ export const de_ResumeResourceCommand = async (output, context) => {
|
|
|
2596
2538
|
const response = {
|
|
2597
2539
|
$metadata: deserializeMetadata(output),
|
|
2598
2540
|
};
|
|
2599
|
-
return
|
|
2541
|
+
return response;
|
|
2600
2542
|
};
|
|
2601
2543
|
const de_ResumeResourceCommandError = async (output, context) => {
|
|
2602
2544
|
const parsedOutput = {
|
|
@@ -2619,10 +2561,9 @@ const de_ResumeResourceCommandError = async (output, context) => {
|
|
|
2619
2561
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2620
2562
|
default:
|
|
2621
2563
|
const parsedBody = parsedOutput.body;
|
|
2622
|
-
throwDefaultError({
|
|
2564
|
+
return throwDefaultError({
|
|
2623
2565
|
output,
|
|
2624
2566
|
parsedBody,
|
|
2625
|
-
exceptionCtor: __BaseException,
|
|
2626
2567
|
errorCode,
|
|
2627
2568
|
});
|
|
2628
2569
|
}
|
|
@@ -2635,7 +2576,7 @@ export const de_StopResourceCommand = async (output, context) => {
|
|
|
2635
2576
|
const response = {
|
|
2636
2577
|
$metadata: deserializeMetadata(output),
|
|
2637
2578
|
};
|
|
2638
|
-
return
|
|
2579
|
+
return response;
|
|
2639
2580
|
};
|
|
2640
2581
|
const de_StopResourceCommandError = async (output, context) => {
|
|
2641
2582
|
const parsedOutput = {
|
|
@@ -2655,10 +2596,9 @@ const de_StopResourceCommandError = async (output, context) => {
|
|
|
2655
2596
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2656
2597
|
default:
|
|
2657
2598
|
const parsedBody = parsedOutput.body;
|
|
2658
|
-
throwDefaultError({
|
|
2599
|
+
return throwDefaultError({
|
|
2659
2600
|
output,
|
|
2660
2601
|
parsedBody,
|
|
2661
|
-
exceptionCtor: __BaseException,
|
|
2662
2602
|
errorCode,
|
|
2663
2603
|
});
|
|
2664
2604
|
}
|
|
@@ -2669,12 +2609,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
2669
2609
|
}
|
|
2670
2610
|
const data = await parseBody(output.body, context);
|
|
2671
2611
|
let contents = {};
|
|
2672
|
-
contents =
|
|
2612
|
+
contents = _json(data);
|
|
2673
2613
|
const response = {
|
|
2674
2614
|
$metadata: deserializeMetadata(output),
|
|
2675
2615
|
...contents,
|
|
2676
2616
|
};
|
|
2677
|
-
return
|
|
2617
|
+
return response;
|
|
2678
2618
|
};
|
|
2679
2619
|
const de_TagResourceCommandError = async (output, context) => {
|
|
2680
2620
|
const parsedOutput = {
|
|
@@ -2694,10 +2634,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2694
2634
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2695
2635
|
default:
|
|
2696
2636
|
const parsedBody = parsedOutput.body;
|
|
2697
|
-
throwDefaultError({
|
|
2637
|
+
return throwDefaultError({
|
|
2698
2638
|
output,
|
|
2699
2639
|
parsedBody,
|
|
2700
|
-
exceptionCtor: __BaseException,
|
|
2701
2640
|
errorCode,
|
|
2702
2641
|
});
|
|
2703
2642
|
}
|
|
@@ -2708,12 +2647,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
2708
2647
|
}
|
|
2709
2648
|
const data = await parseBody(output.body, context);
|
|
2710
2649
|
let contents = {};
|
|
2711
|
-
contents =
|
|
2650
|
+
contents = _json(data);
|
|
2712
2651
|
const response = {
|
|
2713
2652
|
$metadata: deserializeMetadata(output),
|
|
2714
2653
|
...contents,
|
|
2715
2654
|
};
|
|
2716
|
-
return
|
|
2655
|
+
return response;
|
|
2717
2656
|
};
|
|
2718
2657
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
2719
2658
|
const parsedOutput = {
|
|
@@ -2730,10 +2669,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2730
2669
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2731
2670
|
default:
|
|
2732
2671
|
const parsedBody = parsedOutput.body;
|
|
2733
|
-
throwDefaultError({
|
|
2672
|
+
return throwDefaultError({
|
|
2734
2673
|
output,
|
|
2735
2674
|
parsedBody,
|
|
2736
|
-
exceptionCtor: __BaseException,
|
|
2737
2675
|
errorCode,
|
|
2738
2676
|
});
|
|
2739
2677
|
}
|
|
@@ -2744,12 +2682,12 @@ export const de_UpdateDatasetGroupCommand = async (output, context) => {
|
|
|
2744
2682
|
}
|
|
2745
2683
|
const data = await parseBody(output.body, context);
|
|
2746
2684
|
let contents = {};
|
|
2747
|
-
contents =
|
|
2685
|
+
contents = _json(data);
|
|
2748
2686
|
const response = {
|
|
2749
2687
|
$metadata: deserializeMetadata(output),
|
|
2750
2688
|
...contents,
|
|
2751
2689
|
};
|
|
2752
|
-
return
|
|
2690
|
+
return response;
|
|
2753
2691
|
};
|
|
2754
2692
|
const de_UpdateDatasetGroupCommandError = async (output, context) => {
|
|
2755
2693
|
const parsedOutput = {
|
|
@@ -2769,17 +2707,16 @@ const de_UpdateDatasetGroupCommandError = async (output, context) => {
|
|
|
2769
2707
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2770
2708
|
default:
|
|
2771
2709
|
const parsedBody = parsedOutput.body;
|
|
2772
|
-
throwDefaultError({
|
|
2710
|
+
return throwDefaultError({
|
|
2773
2711
|
output,
|
|
2774
2712
|
parsedBody,
|
|
2775
|
-
exceptionCtor: __BaseException,
|
|
2776
2713
|
errorCode,
|
|
2777
2714
|
});
|
|
2778
2715
|
}
|
|
2779
2716
|
};
|
|
2780
2717
|
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
2781
2718
|
const body = parsedOutput.body;
|
|
2782
|
-
const deserialized =
|
|
2719
|
+
const deserialized = _json(body);
|
|
2783
2720
|
const exception = new InvalidInputException({
|
|
2784
2721
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2785
2722
|
...deserialized,
|
|
@@ -2788,7 +2725,7 @@ const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
|
2788
2725
|
};
|
|
2789
2726
|
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
2790
2727
|
const body = parsedOutput.body;
|
|
2791
|
-
const deserialized =
|
|
2728
|
+
const deserialized = _json(body);
|
|
2792
2729
|
const exception = new InvalidNextTokenException({
|
|
2793
2730
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2794
2731
|
...deserialized,
|
|
@@ -2797,7 +2734,7 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
2797
2734
|
};
|
|
2798
2735
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2799
2736
|
const body = parsedOutput.body;
|
|
2800
|
-
const deserialized =
|
|
2737
|
+
const deserialized = _json(body);
|
|
2801
2738
|
const exception = new LimitExceededException({
|
|
2802
2739
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2803
2740
|
...deserialized,
|
|
@@ -2806,7 +2743,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2806
2743
|
};
|
|
2807
2744
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2808
2745
|
const body = parsedOutput.body;
|
|
2809
|
-
const deserialized =
|
|
2746
|
+
const deserialized = _json(body);
|
|
2810
2747
|
const exception = new ResourceAlreadyExistsException({
|
|
2811
2748
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2812
2749
|
...deserialized,
|
|
@@ -2815,7 +2752,7 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
2815
2752
|
};
|
|
2816
2753
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
2817
2754
|
const body = parsedOutput.body;
|
|
2818
|
-
const deserialized =
|
|
2755
|
+
const deserialized = _json(body);
|
|
2819
2756
|
const exception = new ResourceInUseException({
|
|
2820
2757
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2821
2758
|
...deserialized,
|
|
@@ -2824,7 +2761,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
2824
2761
|
};
|
|
2825
2762
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2826
2763
|
const body = parsedOutput.body;
|
|
2827
|
-
const deserialized =
|
|
2764
|
+
const deserialized = _json(body);
|
|
2828
2765
|
const exception = new ResourceNotFoundException({
|
|
2829
2766
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2830
2767
|
...deserialized,
|
|
@@ -2832,1575 +2769,463 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2832
2769
|
return __decorateServiceException(exception, body);
|
|
2833
2770
|
};
|
|
2834
2771
|
const se_Action = (input, context) => {
|
|
2835
|
-
return {
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
};
|
|
2840
|
-
};
|
|
2841
|
-
const se_AdditionalDataset = (input, context) => {
|
|
2842
|
-
return {
|
|
2843
|
-
...(input.Configuration != null && { Configuration: se_Configuration(input.Configuration, context) }),
|
|
2844
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2845
|
-
};
|
|
2846
|
-
};
|
|
2847
|
-
const se_AdditionalDatasets = (input, context) => {
|
|
2848
|
-
return input
|
|
2849
|
-
.filter((e) => e != null)
|
|
2850
|
-
.map((entry) => {
|
|
2851
|
-
return se_AdditionalDataset(entry, context);
|
|
2852
|
-
});
|
|
2853
|
-
};
|
|
2854
|
-
const se_ArnList = (input, context) => {
|
|
2855
|
-
return input
|
|
2856
|
-
.filter((e) => e != null)
|
|
2857
|
-
.map((entry) => {
|
|
2858
|
-
return entry;
|
|
2859
|
-
});
|
|
2860
|
-
};
|
|
2861
|
-
const se_AttributeConfig = (input, context) => {
|
|
2862
|
-
return {
|
|
2863
|
-
...(input.AttributeName != null && { AttributeName: input.AttributeName }),
|
|
2864
|
-
...(input.Transformations != null && { Transformations: se_Transformations(input.Transformations, context) }),
|
|
2865
|
-
};
|
|
2866
|
-
};
|
|
2867
|
-
const se_AttributeConfigs = (input, context) => {
|
|
2868
|
-
return input
|
|
2869
|
-
.filter((e) => e != null)
|
|
2870
|
-
.map((entry) => {
|
|
2871
|
-
return se_AttributeConfig(entry, context);
|
|
2872
|
-
});
|
|
2873
|
-
};
|
|
2874
|
-
const se_CategoricalParameterRange = (input, context) => {
|
|
2875
|
-
return {
|
|
2876
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2877
|
-
...(input.Values != null && { Values: se_Values(input.Values, context) }),
|
|
2878
|
-
};
|
|
2879
|
-
};
|
|
2880
|
-
const se_CategoricalParameterRanges = (input, context) => {
|
|
2881
|
-
return input
|
|
2882
|
-
.filter((e) => e != null)
|
|
2883
|
-
.map((entry) => {
|
|
2884
|
-
return se_CategoricalParameterRange(entry, context);
|
|
2885
|
-
});
|
|
2886
|
-
};
|
|
2887
|
-
const se_Configuration = (input, context) => {
|
|
2888
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2889
|
-
if (value === null) {
|
|
2890
|
-
return acc;
|
|
2891
|
-
}
|
|
2892
|
-
acc[key] = se_Values(value, context);
|
|
2893
|
-
return acc;
|
|
2894
|
-
}, {});
|
|
2895
|
-
};
|
|
2896
|
-
const se_ContinuousParameterRange = (input, context) => {
|
|
2897
|
-
return {
|
|
2898
|
-
...(input.MaxValue != null && { MaxValue: __serializeFloat(input.MaxValue) }),
|
|
2899
|
-
...(input.MinValue != null && { MinValue: __serializeFloat(input.MinValue) }),
|
|
2900
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2901
|
-
...(input.ScalingType != null && { ScalingType: input.ScalingType }),
|
|
2902
|
-
};
|
|
2903
|
-
};
|
|
2904
|
-
const se_ContinuousParameterRanges = (input, context) => {
|
|
2905
|
-
return input
|
|
2906
|
-
.filter((e) => e != null)
|
|
2907
|
-
.map((entry) => {
|
|
2908
|
-
return se_ContinuousParameterRange(entry, context);
|
|
2909
|
-
});
|
|
2910
|
-
};
|
|
2911
|
-
const se_CreateAutoPredictorRequest = (input, context) => {
|
|
2912
|
-
return {
|
|
2913
|
-
...(input.DataConfig != null && { DataConfig: se_DataConfig(input.DataConfig, context) }),
|
|
2914
|
-
...(input.EncryptionConfig != null && { EncryptionConfig: se_EncryptionConfig(input.EncryptionConfig, context) }),
|
|
2915
|
-
...(input.ExplainPredictor != null && { ExplainPredictor: input.ExplainPredictor }),
|
|
2916
|
-
...(input.ForecastDimensions != null && {
|
|
2917
|
-
ForecastDimensions: se_ForecastDimensions(input.ForecastDimensions, context),
|
|
2918
|
-
}),
|
|
2919
|
-
...(input.ForecastFrequency != null && { ForecastFrequency: input.ForecastFrequency }),
|
|
2920
|
-
...(input.ForecastHorizon != null && { ForecastHorizon: input.ForecastHorizon }),
|
|
2921
|
-
...(input.ForecastTypes != null && { ForecastTypes: se_ForecastTypes(input.ForecastTypes, context) }),
|
|
2922
|
-
...(input.MonitorConfig != null && { MonitorConfig: se_MonitorConfig(input.MonitorConfig, context) }),
|
|
2923
|
-
...(input.OptimizationMetric != null && { OptimizationMetric: input.OptimizationMetric }),
|
|
2924
|
-
...(input.PredictorName != null && { PredictorName: input.PredictorName }),
|
|
2925
|
-
...(input.ReferencePredictorArn != null && { ReferencePredictorArn: input.ReferencePredictorArn }),
|
|
2926
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2927
|
-
...(input.TimeAlignmentBoundary != null && {
|
|
2928
|
-
TimeAlignmentBoundary: se_TimeAlignmentBoundary(input.TimeAlignmentBoundary, context),
|
|
2929
|
-
}),
|
|
2930
|
-
};
|
|
2931
|
-
};
|
|
2932
|
-
const se_CreateDatasetGroupRequest = (input, context) => {
|
|
2933
|
-
return {
|
|
2934
|
-
...(input.DatasetArns != null && { DatasetArns: se_ArnList(input.DatasetArns, context) }),
|
|
2935
|
-
...(input.DatasetGroupName != null && { DatasetGroupName: input.DatasetGroupName }),
|
|
2936
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
2937
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2938
|
-
};
|
|
2939
|
-
};
|
|
2940
|
-
const se_CreateDatasetImportJobRequest = (input, context) => {
|
|
2941
|
-
return {
|
|
2942
|
-
...(input.DataSource != null && { DataSource: se_DataSource(input.DataSource, context) }),
|
|
2943
|
-
...(input.DatasetArn != null && { DatasetArn: input.DatasetArn }),
|
|
2944
|
-
...(input.DatasetImportJobName != null && { DatasetImportJobName: input.DatasetImportJobName }),
|
|
2945
|
-
...(input.Format != null && { Format: input.Format }),
|
|
2946
|
-
...(input.GeolocationFormat != null && { GeolocationFormat: input.GeolocationFormat }),
|
|
2947
|
-
...(input.ImportMode != null && { ImportMode: input.ImportMode }),
|
|
2948
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2949
|
-
...(input.TimeZone != null && { TimeZone: input.TimeZone }),
|
|
2950
|
-
...(input.TimestampFormat != null && { TimestampFormat: input.TimestampFormat }),
|
|
2951
|
-
...(input.UseGeolocationForTimeZone != null && { UseGeolocationForTimeZone: input.UseGeolocationForTimeZone }),
|
|
2952
|
-
};
|
|
2953
|
-
};
|
|
2954
|
-
const se_CreateDatasetRequest = (input, context) => {
|
|
2955
|
-
return {
|
|
2956
|
-
...(input.DataFrequency != null && { DataFrequency: input.DataFrequency }),
|
|
2957
|
-
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
2958
|
-
...(input.DatasetType != null && { DatasetType: input.DatasetType }),
|
|
2959
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
2960
|
-
...(input.EncryptionConfig != null && { EncryptionConfig: se_EncryptionConfig(input.EncryptionConfig, context) }),
|
|
2961
|
-
...(input.Schema != null && { Schema: se_Schema(input.Schema, context) }),
|
|
2962
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2963
|
-
};
|
|
2964
|
-
};
|
|
2965
|
-
const se_CreateExplainabilityExportRequest = (input, context) => {
|
|
2966
|
-
return {
|
|
2967
|
-
...(input.Destination != null && { Destination: se_DataDestination(input.Destination, context) }),
|
|
2968
|
-
...(input.ExplainabilityArn != null && { ExplainabilityArn: input.ExplainabilityArn }),
|
|
2969
|
-
...(input.ExplainabilityExportName != null && { ExplainabilityExportName: input.ExplainabilityExportName }),
|
|
2970
|
-
...(input.Format != null && { Format: input.Format }),
|
|
2971
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2972
|
-
};
|
|
2973
|
-
};
|
|
2974
|
-
const se_CreateExplainabilityRequest = (input, context) => {
|
|
2975
|
-
return {
|
|
2976
|
-
...(input.DataSource != null && { DataSource: se_DataSource(input.DataSource, context) }),
|
|
2977
|
-
...(input.EnableVisualization != null && { EnableVisualization: input.EnableVisualization }),
|
|
2978
|
-
...(input.EndDateTime != null && { EndDateTime: input.EndDateTime }),
|
|
2979
|
-
...(input.ExplainabilityConfig != null && {
|
|
2980
|
-
ExplainabilityConfig: se_ExplainabilityConfig(input.ExplainabilityConfig, context),
|
|
2981
|
-
}),
|
|
2982
|
-
...(input.ExplainabilityName != null && { ExplainabilityName: input.ExplainabilityName }),
|
|
2983
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2984
|
-
...(input.Schema != null && { Schema: se_Schema(input.Schema, context) }),
|
|
2985
|
-
...(input.StartDateTime != null && { StartDateTime: input.StartDateTime }),
|
|
2986
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2987
|
-
};
|
|
2988
|
-
};
|
|
2989
|
-
const se_CreateForecastExportJobRequest = (input, context) => {
|
|
2990
|
-
return {
|
|
2991
|
-
...(input.Destination != null && { Destination: se_DataDestination(input.Destination, context) }),
|
|
2992
|
-
...(input.ForecastArn != null && { ForecastArn: input.ForecastArn }),
|
|
2993
|
-
...(input.ForecastExportJobName != null && { ForecastExportJobName: input.ForecastExportJobName }),
|
|
2994
|
-
...(input.Format != null && { Format: input.Format }),
|
|
2995
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2996
|
-
};
|
|
2997
|
-
};
|
|
2998
|
-
const se_CreateForecastRequest = (input, context) => {
|
|
2999
|
-
return {
|
|
3000
|
-
...(input.ForecastName != null && { ForecastName: input.ForecastName }),
|
|
3001
|
-
...(input.ForecastTypes != null && { ForecastTypes: se_ForecastTypes(input.ForecastTypes, context) }),
|
|
3002
|
-
...(input.PredictorArn != null && { PredictorArn: input.PredictorArn }),
|
|
3003
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3004
|
-
...(input.TimeSeriesSelector != null && {
|
|
3005
|
-
TimeSeriesSelector: se_TimeSeriesSelector(input.TimeSeriesSelector, context),
|
|
3006
|
-
}),
|
|
3007
|
-
};
|
|
3008
|
-
};
|
|
3009
|
-
const se_CreateMonitorRequest = (input, context) => {
|
|
3010
|
-
return {
|
|
3011
|
-
...(input.MonitorName != null && { MonitorName: input.MonitorName }),
|
|
3012
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3013
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3014
|
-
};
|
|
3015
|
-
};
|
|
3016
|
-
const se_CreatePredictorBacktestExportJobRequest = (input, context) => {
|
|
3017
|
-
return {
|
|
3018
|
-
...(input.Destination != null && { Destination: se_DataDestination(input.Destination, context) }),
|
|
3019
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3020
|
-
...(input.PredictorArn != null && { PredictorArn: input.PredictorArn }),
|
|
3021
|
-
...(input.PredictorBacktestExportJobName != null && {
|
|
3022
|
-
PredictorBacktestExportJobName: input.PredictorBacktestExportJobName,
|
|
3023
|
-
}),
|
|
3024
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3025
|
-
};
|
|
3026
|
-
};
|
|
3027
|
-
const se_CreatePredictorRequest = (input, context) => {
|
|
3028
|
-
return {
|
|
3029
|
-
...(input.AlgorithmArn != null && { AlgorithmArn: input.AlgorithmArn }),
|
|
3030
|
-
...(input.AutoMLOverrideStrategy != null && { AutoMLOverrideStrategy: input.AutoMLOverrideStrategy }),
|
|
3031
|
-
...(input.EncryptionConfig != null && { EncryptionConfig: se_EncryptionConfig(input.EncryptionConfig, context) }),
|
|
3032
|
-
...(input.EvaluationParameters != null && {
|
|
3033
|
-
EvaluationParameters: se_EvaluationParameters(input.EvaluationParameters, context),
|
|
3034
|
-
}),
|
|
3035
|
-
...(input.FeaturizationConfig != null && {
|
|
3036
|
-
FeaturizationConfig: se_FeaturizationConfig(input.FeaturizationConfig, context),
|
|
3037
|
-
}),
|
|
3038
|
-
...(input.ForecastHorizon != null && { ForecastHorizon: input.ForecastHorizon }),
|
|
3039
|
-
...(input.ForecastTypes != null && { ForecastTypes: se_ForecastTypes(input.ForecastTypes, context) }),
|
|
3040
|
-
...(input.HPOConfig != null && { HPOConfig: se_HyperParameterTuningJobConfig(input.HPOConfig, context) }),
|
|
3041
|
-
...(input.InputDataConfig != null && { InputDataConfig: se_InputDataConfig(input.InputDataConfig, context) }),
|
|
3042
|
-
...(input.OptimizationMetric != null && { OptimizationMetric: input.OptimizationMetric }),
|
|
3043
|
-
...(input.PerformAutoML != null && { PerformAutoML: input.PerformAutoML }),
|
|
3044
|
-
...(input.PerformHPO != null && { PerformHPO: input.PerformHPO }),
|
|
3045
|
-
...(input.PredictorName != null && { PredictorName: input.PredictorName }),
|
|
3046
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3047
|
-
...(input.TrainingParameters != null && {
|
|
3048
|
-
TrainingParameters: se_TrainingParameters(input.TrainingParameters, context),
|
|
3049
|
-
}),
|
|
3050
|
-
};
|
|
3051
|
-
};
|
|
3052
|
-
const se_CreateWhatIfAnalysisRequest = (input, context) => {
|
|
3053
|
-
return {
|
|
3054
|
-
...(input.ForecastArn != null && { ForecastArn: input.ForecastArn }),
|
|
3055
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3056
|
-
...(input.TimeSeriesSelector != null && {
|
|
3057
|
-
TimeSeriesSelector: se_TimeSeriesSelector(input.TimeSeriesSelector, context),
|
|
3058
|
-
}),
|
|
3059
|
-
...(input.WhatIfAnalysisName != null && { WhatIfAnalysisName: input.WhatIfAnalysisName }),
|
|
3060
|
-
};
|
|
3061
|
-
};
|
|
3062
|
-
const se_CreateWhatIfForecastExportRequest = (input, context) => {
|
|
3063
|
-
return {
|
|
3064
|
-
...(input.Destination != null && { Destination: se_DataDestination(input.Destination, context) }),
|
|
3065
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3066
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3067
|
-
...(input.WhatIfForecastArns != null && {
|
|
3068
|
-
WhatIfForecastArns: se_WhatIfForecastArnListForExport(input.WhatIfForecastArns, context),
|
|
3069
|
-
}),
|
|
3070
|
-
...(input.WhatIfForecastExportName != null && { WhatIfForecastExportName: input.WhatIfForecastExportName }),
|
|
3071
|
-
};
|
|
3072
|
-
};
|
|
3073
|
-
const se_CreateWhatIfForecastRequest = (input, context) => {
|
|
3074
|
-
return {
|
|
3075
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3076
|
-
...(input.TimeSeriesReplacementsDataSource != null && {
|
|
3077
|
-
TimeSeriesReplacementsDataSource: se_TimeSeriesReplacementsDataSource(input.TimeSeriesReplacementsDataSource, context),
|
|
3078
|
-
}),
|
|
3079
|
-
...(input.TimeSeriesTransformations != null && {
|
|
3080
|
-
TimeSeriesTransformations: se_TimeSeriesTransformations(input.TimeSeriesTransformations, context),
|
|
3081
|
-
}),
|
|
3082
|
-
...(input.WhatIfAnalysisArn != null && { WhatIfAnalysisArn: input.WhatIfAnalysisArn }),
|
|
3083
|
-
...(input.WhatIfForecastName != null && { WhatIfForecastName: input.WhatIfForecastName }),
|
|
3084
|
-
};
|
|
3085
|
-
};
|
|
3086
|
-
const se_DataConfig = (input, context) => {
|
|
3087
|
-
return {
|
|
3088
|
-
...(input.AdditionalDatasets != null && {
|
|
3089
|
-
AdditionalDatasets: se_AdditionalDatasets(input.AdditionalDatasets, context),
|
|
3090
|
-
}),
|
|
3091
|
-
...(input.AttributeConfigs != null && { AttributeConfigs: se_AttributeConfigs(input.AttributeConfigs, context) }),
|
|
3092
|
-
...(input.DatasetGroupArn != null && { DatasetGroupArn: input.DatasetGroupArn }),
|
|
3093
|
-
};
|
|
3094
|
-
};
|
|
3095
|
-
const se_DataDestination = (input, context) => {
|
|
3096
|
-
return {
|
|
3097
|
-
...(input.S3Config != null && { S3Config: se_S3Config(input.S3Config, context) }),
|
|
3098
|
-
};
|
|
3099
|
-
};
|
|
3100
|
-
const se_DataSource = (input, context) => {
|
|
3101
|
-
return {
|
|
3102
|
-
...(input.S3Config != null && { S3Config: se_S3Config(input.S3Config, context) }),
|
|
3103
|
-
};
|
|
3104
|
-
};
|
|
3105
|
-
const se_DeleteDatasetGroupRequest = (input, context) => {
|
|
3106
|
-
return {
|
|
3107
|
-
...(input.DatasetGroupArn != null && { DatasetGroupArn: input.DatasetGroupArn }),
|
|
3108
|
-
};
|
|
3109
|
-
};
|
|
3110
|
-
const se_DeleteDatasetImportJobRequest = (input, context) => {
|
|
3111
|
-
return {
|
|
3112
|
-
...(input.DatasetImportJobArn != null && { DatasetImportJobArn: input.DatasetImportJobArn }),
|
|
3113
|
-
};
|
|
3114
|
-
};
|
|
3115
|
-
const se_DeleteDatasetRequest = (input, context) => {
|
|
3116
|
-
return {
|
|
3117
|
-
...(input.DatasetArn != null && { DatasetArn: input.DatasetArn }),
|
|
3118
|
-
};
|
|
3119
|
-
};
|
|
3120
|
-
const se_DeleteExplainabilityExportRequest = (input, context) => {
|
|
3121
|
-
return {
|
|
3122
|
-
...(input.ExplainabilityExportArn != null && { ExplainabilityExportArn: input.ExplainabilityExportArn }),
|
|
3123
|
-
};
|
|
3124
|
-
};
|
|
3125
|
-
const se_DeleteExplainabilityRequest = (input, context) => {
|
|
3126
|
-
return {
|
|
3127
|
-
...(input.ExplainabilityArn != null && { ExplainabilityArn: input.ExplainabilityArn }),
|
|
3128
|
-
};
|
|
3129
|
-
};
|
|
3130
|
-
const se_DeleteForecastExportJobRequest = (input, context) => {
|
|
3131
|
-
return {
|
|
3132
|
-
...(input.ForecastExportJobArn != null && { ForecastExportJobArn: input.ForecastExportJobArn }),
|
|
3133
|
-
};
|
|
3134
|
-
};
|
|
3135
|
-
const se_DeleteForecastRequest = (input, context) => {
|
|
3136
|
-
return {
|
|
3137
|
-
...(input.ForecastArn != null && { ForecastArn: input.ForecastArn }),
|
|
3138
|
-
};
|
|
3139
|
-
};
|
|
3140
|
-
const se_DeleteMonitorRequest = (input, context) => {
|
|
3141
|
-
return {
|
|
3142
|
-
...(input.MonitorArn != null && { MonitorArn: input.MonitorArn }),
|
|
3143
|
-
};
|
|
3144
|
-
};
|
|
3145
|
-
const se_DeletePredictorBacktestExportJobRequest = (input, context) => {
|
|
3146
|
-
return {
|
|
3147
|
-
...(input.PredictorBacktestExportJobArn != null && {
|
|
3148
|
-
PredictorBacktestExportJobArn: input.PredictorBacktestExportJobArn,
|
|
3149
|
-
}),
|
|
3150
|
-
};
|
|
3151
|
-
};
|
|
3152
|
-
const se_DeletePredictorRequest = (input, context) => {
|
|
3153
|
-
return {
|
|
3154
|
-
...(input.PredictorArn != null && { PredictorArn: input.PredictorArn }),
|
|
3155
|
-
};
|
|
3156
|
-
};
|
|
3157
|
-
const se_DeleteResourceTreeRequest = (input, context) => {
|
|
3158
|
-
return {
|
|
3159
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3160
|
-
};
|
|
3161
|
-
};
|
|
3162
|
-
const se_DeleteWhatIfAnalysisRequest = (input, context) => {
|
|
3163
|
-
return {
|
|
3164
|
-
...(input.WhatIfAnalysisArn != null && { WhatIfAnalysisArn: input.WhatIfAnalysisArn }),
|
|
3165
|
-
};
|
|
3166
|
-
};
|
|
3167
|
-
const se_DeleteWhatIfForecastExportRequest = (input, context) => {
|
|
3168
|
-
return {
|
|
3169
|
-
...(input.WhatIfForecastExportArn != null && { WhatIfForecastExportArn: input.WhatIfForecastExportArn }),
|
|
3170
|
-
};
|
|
3171
|
-
};
|
|
3172
|
-
const se_DeleteWhatIfForecastRequest = (input, context) => {
|
|
3173
|
-
return {
|
|
3174
|
-
...(input.WhatIfForecastArn != null && { WhatIfForecastArn: input.WhatIfForecastArn }),
|
|
3175
|
-
};
|
|
3176
|
-
};
|
|
3177
|
-
const se_DescribeAutoPredictorRequest = (input, context) => {
|
|
3178
|
-
return {
|
|
3179
|
-
...(input.PredictorArn != null && { PredictorArn: input.PredictorArn }),
|
|
3180
|
-
};
|
|
3181
|
-
};
|
|
3182
|
-
const se_DescribeDatasetGroupRequest = (input, context) => {
|
|
3183
|
-
return {
|
|
3184
|
-
...(input.DatasetGroupArn != null && { DatasetGroupArn: input.DatasetGroupArn }),
|
|
3185
|
-
};
|
|
3186
|
-
};
|
|
3187
|
-
const se_DescribeDatasetImportJobRequest = (input, context) => {
|
|
3188
|
-
return {
|
|
3189
|
-
...(input.DatasetImportJobArn != null && { DatasetImportJobArn: input.DatasetImportJobArn }),
|
|
3190
|
-
};
|
|
3191
|
-
};
|
|
3192
|
-
const se_DescribeDatasetRequest = (input, context) => {
|
|
3193
|
-
return {
|
|
3194
|
-
...(input.DatasetArn != null && { DatasetArn: input.DatasetArn }),
|
|
3195
|
-
};
|
|
3196
|
-
};
|
|
3197
|
-
const se_DescribeExplainabilityExportRequest = (input, context) => {
|
|
3198
|
-
return {
|
|
3199
|
-
...(input.ExplainabilityExportArn != null && { ExplainabilityExportArn: input.ExplainabilityExportArn }),
|
|
3200
|
-
};
|
|
3201
|
-
};
|
|
3202
|
-
const se_DescribeExplainabilityRequest = (input, context) => {
|
|
3203
|
-
return {
|
|
3204
|
-
...(input.ExplainabilityArn != null && { ExplainabilityArn: input.ExplainabilityArn }),
|
|
3205
|
-
};
|
|
3206
|
-
};
|
|
3207
|
-
const se_DescribeForecastExportJobRequest = (input, context) => {
|
|
3208
|
-
return {
|
|
3209
|
-
...(input.ForecastExportJobArn != null && { ForecastExportJobArn: input.ForecastExportJobArn }),
|
|
3210
|
-
};
|
|
3211
|
-
};
|
|
3212
|
-
const se_DescribeForecastRequest = (input, context) => {
|
|
3213
|
-
return {
|
|
3214
|
-
...(input.ForecastArn != null && { ForecastArn: input.ForecastArn }),
|
|
3215
|
-
};
|
|
3216
|
-
};
|
|
3217
|
-
const se_DescribeMonitorRequest = (input, context) => {
|
|
3218
|
-
return {
|
|
3219
|
-
...(input.MonitorArn != null && { MonitorArn: input.MonitorArn }),
|
|
3220
|
-
};
|
|
3221
|
-
};
|
|
3222
|
-
const se_DescribePredictorBacktestExportJobRequest = (input, context) => {
|
|
3223
|
-
return {
|
|
3224
|
-
...(input.PredictorBacktestExportJobArn != null && {
|
|
3225
|
-
PredictorBacktestExportJobArn: input.PredictorBacktestExportJobArn,
|
|
3226
|
-
}),
|
|
3227
|
-
};
|
|
3228
|
-
};
|
|
3229
|
-
const se_DescribePredictorRequest = (input, context) => {
|
|
3230
|
-
return {
|
|
3231
|
-
...(input.PredictorArn != null && { PredictorArn: input.PredictorArn }),
|
|
3232
|
-
};
|
|
3233
|
-
};
|
|
3234
|
-
const se_DescribeWhatIfAnalysisRequest = (input, context) => {
|
|
3235
|
-
return {
|
|
3236
|
-
...(input.WhatIfAnalysisArn != null && { WhatIfAnalysisArn: input.WhatIfAnalysisArn }),
|
|
3237
|
-
};
|
|
3238
|
-
};
|
|
3239
|
-
const se_DescribeWhatIfForecastExportRequest = (input, context) => {
|
|
3240
|
-
return {
|
|
3241
|
-
...(input.WhatIfForecastExportArn != null && { WhatIfForecastExportArn: input.WhatIfForecastExportArn }),
|
|
3242
|
-
};
|
|
3243
|
-
};
|
|
3244
|
-
const se_DescribeWhatIfForecastRequest = (input, context) => {
|
|
3245
|
-
return {
|
|
3246
|
-
...(input.WhatIfForecastArn != null && { WhatIfForecastArn: input.WhatIfForecastArn }),
|
|
3247
|
-
};
|
|
3248
|
-
};
|
|
3249
|
-
const se_EncryptionConfig = (input, context) => {
|
|
3250
|
-
return {
|
|
3251
|
-
...(input.KMSKeyArn != null && { KMSKeyArn: input.KMSKeyArn }),
|
|
3252
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
3253
|
-
};
|
|
3254
|
-
};
|
|
3255
|
-
const se_EvaluationParameters = (input, context) => {
|
|
3256
|
-
return {
|
|
3257
|
-
...(input.BackTestWindowOffset != null && { BackTestWindowOffset: input.BackTestWindowOffset }),
|
|
3258
|
-
...(input.NumberOfBacktestWindows != null && { NumberOfBacktestWindows: input.NumberOfBacktestWindows }),
|
|
3259
|
-
};
|
|
3260
|
-
};
|
|
3261
|
-
const se_ExplainabilityConfig = (input, context) => {
|
|
3262
|
-
return {
|
|
3263
|
-
...(input.TimePointGranularity != null && { TimePointGranularity: input.TimePointGranularity }),
|
|
3264
|
-
...(input.TimeSeriesGranularity != null && { TimeSeriesGranularity: input.TimeSeriesGranularity }),
|
|
3265
|
-
};
|
|
3266
|
-
};
|
|
3267
|
-
const se_Featurization = (input, context) => {
|
|
3268
|
-
return {
|
|
3269
|
-
...(input.AttributeName != null && { AttributeName: input.AttributeName }),
|
|
3270
|
-
...(input.FeaturizationPipeline != null && {
|
|
3271
|
-
FeaturizationPipeline: se_FeaturizationPipeline(input.FeaturizationPipeline, context),
|
|
3272
|
-
}),
|
|
3273
|
-
};
|
|
3274
|
-
};
|
|
3275
|
-
const se_FeaturizationConfig = (input, context) => {
|
|
3276
|
-
return {
|
|
3277
|
-
...(input.Featurizations != null && { Featurizations: se_Featurizations(input.Featurizations, context) }),
|
|
3278
|
-
...(input.ForecastDimensions != null && {
|
|
3279
|
-
ForecastDimensions: se_ForecastDimensions(input.ForecastDimensions, context),
|
|
3280
|
-
}),
|
|
3281
|
-
...(input.ForecastFrequency != null && { ForecastFrequency: input.ForecastFrequency }),
|
|
3282
|
-
};
|
|
3283
|
-
};
|
|
3284
|
-
const se_FeaturizationMethod = (input, context) => {
|
|
3285
|
-
return {
|
|
3286
|
-
...(input.FeaturizationMethodName != null && { FeaturizationMethodName: input.FeaturizationMethodName }),
|
|
3287
|
-
...(input.FeaturizationMethodParameters != null && {
|
|
3288
|
-
FeaturizationMethodParameters: se_FeaturizationMethodParameters(input.FeaturizationMethodParameters, context),
|
|
3289
|
-
}),
|
|
3290
|
-
};
|
|
3291
|
-
};
|
|
3292
|
-
const se_FeaturizationMethodParameters = (input, context) => {
|
|
3293
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3294
|
-
if (value === null) {
|
|
3295
|
-
return acc;
|
|
3296
|
-
}
|
|
3297
|
-
acc[key] = value;
|
|
3298
|
-
return acc;
|
|
3299
|
-
}, {});
|
|
3300
|
-
};
|
|
3301
|
-
const se_FeaturizationPipeline = (input, context) => {
|
|
3302
|
-
return input
|
|
3303
|
-
.filter((e) => e != null)
|
|
3304
|
-
.map((entry) => {
|
|
3305
|
-
return se_FeaturizationMethod(entry, context);
|
|
3306
|
-
});
|
|
3307
|
-
};
|
|
3308
|
-
const se_Featurizations = (input, context) => {
|
|
3309
|
-
return input
|
|
3310
|
-
.filter((e) => e != null)
|
|
3311
|
-
.map((entry) => {
|
|
3312
|
-
return se_Featurization(entry, context);
|
|
3313
|
-
});
|
|
3314
|
-
};
|
|
3315
|
-
const se_Filter = (input, context) => {
|
|
3316
|
-
return {
|
|
3317
|
-
...(input.Condition != null && { Condition: input.Condition }),
|
|
3318
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3319
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3320
|
-
};
|
|
3321
|
-
};
|
|
3322
|
-
const se_Filters = (input, context) => {
|
|
3323
|
-
return input
|
|
3324
|
-
.filter((e) => e != null)
|
|
3325
|
-
.map((entry) => {
|
|
3326
|
-
return se_Filter(entry, context);
|
|
3327
|
-
});
|
|
3328
|
-
};
|
|
3329
|
-
const se_ForecastDimensions = (input, context) => {
|
|
3330
|
-
return input
|
|
3331
|
-
.filter((e) => e != null)
|
|
3332
|
-
.map((entry) => {
|
|
3333
|
-
return entry;
|
|
3334
|
-
});
|
|
3335
|
-
};
|
|
3336
|
-
const se_ForecastTypes = (input, context) => {
|
|
3337
|
-
return input
|
|
3338
|
-
.filter((e) => e != null)
|
|
3339
|
-
.map((entry) => {
|
|
3340
|
-
return entry;
|
|
3341
|
-
});
|
|
3342
|
-
};
|
|
3343
|
-
const se_GetAccuracyMetricsRequest = (input, context) => {
|
|
3344
|
-
return {
|
|
3345
|
-
...(input.PredictorArn != null && { PredictorArn: input.PredictorArn }),
|
|
3346
|
-
};
|
|
3347
|
-
};
|
|
3348
|
-
const se_HyperParameterTuningJobConfig = (input, context) => {
|
|
3349
|
-
return {
|
|
3350
|
-
...(input.ParameterRanges != null && { ParameterRanges: se_ParameterRanges(input.ParameterRanges, context) }),
|
|
3351
|
-
};
|
|
3352
|
-
};
|
|
3353
|
-
const se_InputDataConfig = (input, context) => {
|
|
3354
|
-
return {
|
|
3355
|
-
...(input.DatasetGroupArn != null && { DatasetGroupArn: input.DatasetGroupArn }),
|
|
3356
|
-
...(input.SupplementaryFeatures != null && {
|
|
3357
|
-
SupplementaryFeatures: se_SupplementaryFeatures(input.SupplementaryFeatures, context),
|
|
3358
|
-
}),
|
|
3359
|
-
};
|
|
3360
|
-
};
|
|
3361
|
-
const se_IntegerParameterRange = (input, context) => {
|
|
3362
|
-
return {
|
|
3363
|
-
...(input.MaxValue != null && { MaxValue: input.MaxValue }),
|
|
3364
|
-
...(input.MinValue != null && { MinValue: input.MinValue }),
|
|
3365
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3366
|
-
...(input.ScalingType != null && { ScalingType: input.ScalingType }),
|
|
3367
|
-
};
|
|
3368
|
-
};
|
|
3369
|
-
const se_IntegerParameterRanges = (input, context) => {
|
|
3370
|
-
return input
|
|
3371
|
-
.filter((e) => e != null)
|
|
3372
|
-
.map((entry) => {
|
|
3373
|
-
return se_IntegerParameterRange(entry, context);
|
|
3374
|
-
});
|
|
3375
|
-
};
|
|
3376
|
-
const se_ListDatasetGroupsRequest = (input, context) => {
|
|
3377
|
-
return {
|
|
3378
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3379
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3380
|
-
};
|
|
3381
|
-
};
|
|
3382
|
-
const se_ListDatasetImportJobsRequest = (input, context) => {
|
|
3383
|
-
return {
|
|
3384
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3385
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3386
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3387
|
-
};
|
|
3388
|
-
};
|
|
3389
|
-
const se_ListDatasetsRequest = (input, context) => {
|
|
3390
|
-
return {
|
|
3391
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3392
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3393
|
-
};
|
|
3394
|
-
};
|
|
3395
|
-
const se_ListExplainabilitiesRequest = (input, context) => {
|
|
3396
|
-
return {
|
|
3397
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3398
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3399
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3400
|
-
};
|
|
3401
|
-
};
|
|
3402
|
-
const se_ListExplainabilityExportsRequest = (input, context) => {
|
|
3403
|
-
return {
|
|
3404
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3405
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3406
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3407
|
-
};
|
|
3408
|
-
};
|
|
3409
|
-
const se_ListForecastExportJobsRequest = (input, context) => {
|
|
3410
|
-
return {
|
|
3411
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3412
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3413
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3414
|
-
};
|
|
3415
|
-
};
|
|
3416
|
-
const se_ListForecastsRequest = (input, context) => {
|
|
3417
|
-
return {
|
|
3418
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3419
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3420
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3421
|
-
};
|
|
3422
|
-
};
|
|
3423
|
-
const se_ListMonitorEvaluationsRequest = (input, context) => {
|
|
3424
|
-
return {
|
|
3425
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3426
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3427
|
-
...(input.MonitorArn != null && { MonitorArn: input.MonitorArn }),
|
|
3428
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3429
|
-
};
|
|
3430
|
-
};
|
|
3431
|
-
const se_ListMonitorsRequest = (input, context) => {
|
|
3432
|
-
return {
|
|
3433
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3434
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3435
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3436
|
-
};
|
|
3437
|
-
};
|
|
3438
|
-
const se_ListPredictorBacktestExportJobsRequest = (input, context) => {
|
|
3439
|
-
return {
|
|
3440
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3441
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3442
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3443
|
-
};
|
|
3444
|
-
};
|
|
3445
|
-
const se_ListPredictorsRequest = (input, context) => {
|
|
3446
|
-
return {
|
|
3447
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3448
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3449
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3450
|
-
};
|
|
3451
|
-
};
|
|
3452
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
3453
|
-
return {
|
|
3454
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3455
|
-
};
|
|
3456
|
-
};
|
|
3457
|
-
const se_ListWhatIfAnalysesRequest = (input, context) => {
|
|
3458
|
-
return {
|
|
3459
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3460
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3461
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3462
|
-
};
|
|
3463
|
-
};
|
|
3464
|
-
const se_ListWhatIfForecastExportsRequest = (input, context) => {
|
|
3465
|
-
return {
|
|
3466
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3467
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3468
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3469
|
-
};
|
|
3470
|
-
};
|
|
3471
|
-
const se_ListWhatIfForecastsRequest = (input, context) => {
|
|
3472
|
-
return {
|
|
3473
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3474
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3475
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3476
|
-
};
|
|
3477
|
-
};
|
|
3478
|
-
const se_MonitorConfig = (input, context) => {
|
|
3479
|
-
return {
|
|
3480
|
-
...(input.MonitorName != null && { MonitorName: input.MonitorName }),
|
|
3481
|
-
};
|
|
3482
|
-
};
|
|
3483
|
-
const se_ParameterRanges = (input, context) => {
|
|
3484
|
-
return {
|
|
3485
|
-
...(input.CategoricalParameterRanges != null && {
|
|
3486
|
-
CategoricalParameterRanges: se_CategoricalParameterRanges(input.CategoricalParameterRanges, context),
|
|
3487
|
-
}),
|
|
3488
|
-
...(input.ContinuousParameterRanges != null && {
|
|
3489
|
-
ContinuousParameterRanges: se_ContinuousParameterRanges(input.ContinuousParameterRanges, context),
|
|
3490
|
-
}),
|
|
3491
|
-
...(input.IntegerParameterRanges != null && {
|
|
3492
|
-
IntegerParameterRanges: se_IntegerParameterRanges(input.IntegerParameterRanges, context),
|
|
3493
|
-
}),
|
|
3494
|
-
};
|
|
3495
|
-
};
|
|
3496
|
-
const se_ResumeResourceRequest = (input, context) => {
|
|
3497
|
-
return {
|
|
3498
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3499
|
-
};
|
|
3500
|
-
};
|
|
3501
|
-
const se_S3Config = (input, context) => {
|
|
3502
|
-
return {
|
|
3503
|
-
...(input.KMSKeyArn != null && { KMSKeyArn: input.KMSKeyArn }),
|
|
3504
|
-
...(input.Path != null && { Path: input.Path }),
|
|
3505
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
3506
|
-
};
|
|
3507
|
-
};
|
|
3508
|
-
const se_Schema = (input, context) => {
|
|
3509
|
-
return {
|
|
3510
|
-
...(input.Attributes != null && { Attributes: se_SchemaAttributes(input.Attributes, context) }),
|
|
3511
|
-
};
|
|
3512
|
-
};
|
|
3513
|
-
const se_SchemaAttribute = (input, context) => {
|
|
3514
|
-
return {
|
|
3515
|
-
...(input.AttributeName != null && { AttributeName: input.AttributeName }),
|
|
3516
|
-
...(input.AttributeType != null && { AttributeType: input.AttributeType }),
|
|
3517
|
-
};
|
|
3518
|
-
};
|
|
3519
|
-
const se_SchemaAttributes = (input, context) => {
|
|
3520
|
-
return input
|
|
3521
|
-
.filter((e) => e != null)
|
|
3522
|
-
.map((entry) => {
|
|
3523
|
-
return se_SchemaAttribute(entry, context);
|
|
3524
|
-
});
|
|
3525
|
-
};
|
|
3526
|
-
const se_StopResourceRequest = (input, context) => {
|
|
3527
|
-
return {
|
|
3528
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3529
|
-
};
|
|
3530
|
-
};
|
|
3531
|
-
const se_SupplementaryFeature = (input, context) => {
|
|
3532
|
-
return {
|
|
3533
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3534
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3535
|
-
};
|
|
3536
|
-
};
|
|
3537
|
-
const se_SupplementaryFeatures = (input, context) => {
|
|
3538
|
-
return input
|
|
3539
|
-
.filter((e) => e != null)
|
|
3540
|
-
.map((entry) => {
|
|
3541
|
-
return se_SupplementaryFeature(entry, context);
|
|
3542
|
-
});
|
|
3543
|
-
};
|
|
3544
|
-
const se_Tag = (input, context) => {
|
|
3545
|
-
return {
|
|
3546
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3547
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3548
|
-
};
|
|
3549
|
-
};
|
|
3550
|
-
const se_TagKeys = (input, context) => {
|
|
3551
|
-
return input
|
|
3552
|
-
.filter((e) => e != null)
|
|
3553
|
-
.map((entry) => {
|
|
3554
|
-
return entry;
|
|
3555
|
-
});
|
|
3556
|
-
};
|
|
3557
|
-
const se_TagResourceRequest = (input, context) => {
|
|
3558
|
-
return {
|
|
3559
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3560
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3561
|
-
};
|
|
3562
|
-
};
|
|
3563
|
-
const se_Tags = (input, context) => {
|
|
3564
|
-
return input
|
|
3565
|
-
.filter((e) => e != null)
|
|
3566
|
-
.map((entry) => {
|
|
3567
|
-
return se_Tag(entry, context);
|
|
3568
|
-
});
|
|
3569
|
-
};
|
|
3570
|
-
const se_TimeAlignmentBoundary = (input, context) => {
|
|
3571
|
-
return {
|
|
3572
|
-
...(input.DayOfMonth != null && { DayOfMonth: input.DayOfMonth }),
|
|
3573
|
-
...(input.DayOfWeek != null && { DayOfWeek: input.DayOfWeek }),
|
|
3574
|
-
...(input.Hour != null && { Hour: input.Hour }),
|
|
3575
|
-
...(input.Month != null && { Month: input.Month }),
|
|
3576
|
-
};
|
|
3577
|
-
};
|
|
3578
|
-
const se_TimeSeriesCondition = (input, context) => {
|
|
3579
|
-
return {
|
|
3580
|
-
...(input.AttributeName != null && { AttributeName: input.AttributeName }),
|
|
3581
|
-
...(input.AttributeValue != null && { AttributeValue: input.AttributeValue }),
|
|
3582
|
-
...(input.Condition != null && { Condition: input.Condition }),
|
|
3583
|
-
};
|
|
3584
|
-
};
|
|
3585
|
-
const se_TimeSeriesConditions = (input, context) => {
|
|
3586
|
-
return input
|
|
3587
|
-
.filter((e) => e != null)
|
|
3588
|
-
.map((entry) => {
|
|
3589
|
-
return se_TimeSeriesCondition(entry, context);
|
|
3590
|
-
});
|
|
3591
|
-
};
|
|
3592
|
-
const se_TimeSeriesIdentifiers = (input, context) => {
|
|
3593
|
-
return {
|
|
3594
|
-
...(input.DataSource != null && { DataSource: se_DataSource(input.DataSource, context) }),
|
|
3595
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3596
|
-
...(input.Schema != null && { Schema: se_Schema(input.Schema, context) }),
|
|
3597
|
-
};
|
|
3598
|
-
};
|
|
3599
|
-
const se_TimeSeriesReplacementsDataSource = (input, context) => {
|
|
3600
|
-
return {
|
|
3601
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3602
|
-
...(input.S3Config != null && { S3Config: se_S3Config(input.S3Config, context) }),
|
|
3603
|
-
...(input.Schema != null && { Schema: se_Schema(input.Schema, context) }),
|
|
3604
|
-
...(input.TimestampFormat != null && { TimestampFormat: input.TimestampFormat }),
|
|
3605
|
-
};
|
|
3606
|
-
};
|
|
3607
|
-
const se_TimeSeriesSelector = (input, context) => {
|
|
3608
|
-
return {
|
|
3609
|
-
...(input.TimeSeriesIdentifiers != null && {
|
|
3610
|
-
TimeSeriesIdentifiers: se_TimeSeriesIdentifiers(input.TimeSeriesIdentifiers, context),
|
|
3611
|
-
}),
|
|
3612
|
-
};
|
|
2772
|
+
return take(input, {
|
|
2773
|
+
AttributeName: [],
|
|
2774
|
+
Operation: [],
|
|
2775
|
+
Value: __serializeFloat,
|
|
2776
|
+
});
|
|
3613
2777
|
};
|
|
3614
|
-
const
|
|
3615
|
-
return {
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
};
|
|
2778
|
+
const se_ContinuousParameterRange = (input, context) => {
|
|
2779
|
+
return take(input, {
|
|
2780
|
+
MaxValue: __serializeFloat,
|
|
2781
|
+
MinValue: __serializeFloat,
|
|
2782
|
+
Name: [],
|
|
2783
|
+
ScalingType: [],
|
|
2784
|
+
});
|
|
3621
2785
|
};
|
|
3622
|
-
const
|
|
2786
|
+
const se_ContinuousParameterRanges = (input, context) => {
|
|
3623
2787
|
return input
|
|
3624
2788
|
.filter((e) => e != null)
|
|
3625
2789
|
.map((entry) => {
|
|
3626
|
-
return
|
|
2790
|
+
return se_ContinuousParameterRange(entry, context);
|
|
3627
2791
|
});
|
|
3628
2792
|
};
|
|
3629
|
-
const
|
|
3630
|
-
return
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
};
|
|
3647
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
3648
|
-
return {
|
|
3649
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3650
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeys(input.TagKeys, context) }),
|
|
3651
|
-
};
|
|
3652
|
-
};
|
|
3653
|
-
const se_UpdateDatasetGroupRequest = (input, context) => {
|
|
3654
|
-
return {
|
|
3655
|
-
...(input.DatasetArns != null && { DatasetArns: se_ArnList(input.DatasetArns, context) }),
|
|
3656
|
-
...(input.DatasetGroupArn != null && { DatasetGroupArn: input.DatasetGroupArn }),
|
|
3657
|
-
};
|
|
3658
|
-
};
|
|
3659
|
-
const se_Values = (input, context) => {
|
|
3660
|
-
return input
|
|
3661
|
-
.filter((e) => e != null)
|
|
3662
|
-
.map((entry) => {
|
|
3663
|
-
return entry;
|
|
2793
|
+
const se_CreatePredictorRequest = (input, context) => {
|
|
2794
|
+
return take(input, {
|
|
2795
|
+
AlgorithmArn: [],
|
|
2796
|
+
AutoMLOverrideStrategy: [],
|
|
2797
|
+
EncryptionConfig: _json,
|
|
2798
|
+
EvaluationParameters: _json,
|
|
2799
|
+
FeaturizationConfig: _json,
|
|
2800
|
+
ForecastHorizon: [],
|
|
2801
|
+
ForecastTypes: _json,
|
|
2802
|
+
HPOConfig: (_) => se_HyperParameterTuningJobConfig(_, context),
|
|
2803
|
+
InputDataConfig: _json,
|
|
2804
|
+
OptimizationMetric: [],
|
|
2805
|
+
PerformAutoML: [],
|
|
2806
|
+
PerformHPO: [],
|
|
2807
|
+
PredictorName: [],
|
|
2808
|
+
Tags: _json,
|
|
2809
|
+
TrainingParameters: _json,
|
|
3664
2810
|
});
|
|
3665
2811
|
};
|
|
3666
|
-
const
|
|
3667
|
-
return input
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
2812
|
+
const se_CreateWhatIfForecastRequest = (input, context) => {
|
|
2813
|
+
return take(input, {
|
|
2814
|
+
Tags: _json,
|
|
2815
|
+
TimeSeriesReplacementsDataSource: _json,
|
|
2816
|
+
TimeSeriesTransformations: (_) => se_TimeSeriesTransformations(_, context),
|
|
2817
|
+
WhatIfAnalysisArn: [],
|
|
2818
|
+
WhatIfForecastName: [],
|
|
3671
2819
|
});
|
|
3672
2820
|
};
|
|
3673
|
-
const
|
|
3674
|
-
return {
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
Value: __limitedParseDouble(output.Value),
|
|
3678
|
-
};
|
|
2821
|
+
const se_HyperParameterTuningJobConfig = (input, context) => {
|
|
2822
|
+
return take(input, {
|
|
2823
|
+
ParameterRanges: (_) => se_ParameterRanges(_, context),
|
|
2824
|
+
});
|
|
3679
2825
|
};
|
|
3680
|
-
const
|
|
3681
|
-
return {
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
2826
|
+
const se_ParameterRanges = (input, context) => {
|
|
2827
|
+
return take(input, {
|
|
2828
|
+
CategoricalParameterRanges: _json,
|
|
2829
|
+
ContinuousParameterRanges: (_) => se_ContinuousParameterRanges(_, context),
|
|
2830
|
+
IntegerParameterRanges: _json,
|
|
2831
|
+
});
|
|
3685
2832
|
};
|
|
3686
|
-
const
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
if (entry === null) {
|
|
3691
|
-
return null;
|
|
3692
|
-
}
|
|
3693
|
-
return de_AdditionalDataset(entry, context);
|
|
2833
|
+
const se_TimeSeriesTransformation = (input, context) => {
|
|
2834
|
+
return take(input, {
|
|
2835
|
+
Action: (_) => se_Action(_, context),
|
|
2836
|
+
TimeSeriesConditions: _json,
|
|
3694
2837
|
});
|
|
3695
|
-
return retVal;
|
|
3696
2838
|
};
|
|
3697
|
-
const
|
|
3698
|
-
|
|
2839
|
+
const se_TimeSeriesTransformations = (input, context) => {
|
|
2840
|
+
return input
|
|
3699
2841
|
.filter((e) => e != null)
|
|
3700
2842
|
.map((entry) => {
|
|
3701
|
-
|
|
3702
|
-
return null;
|
|
3703
|
-
}
|
|
3704
|
-
return __expectString(entry);
|
|
2843
|
+
return se_TimeSeriesTransformation(entry, context);
|
|
3705
2844
|
});
|
|
3706
|
-
return retVal;
|
|
3707
|
-
};
|
|
3708
|
-
const de_AttributeConfig = (output, context) => {
|
|
3709
|
-
return {
|
|
3710
|
-
AttributeName: __expectString(output.AttributeName),
|
|
3711
|
-
Transformations: output.Transformations != null ? de_Transformations(output.Transformations, context) : undefined,
|
|
3712
|
-
};
|
|
3713
2845
|
};
|
|
3714
|
-
const
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
return null;
|
|
3720
|
-
}
|
|
3721
|
-
return de_AttributeConfig(entry, context);
|
|
2846
|
+
const de_Action = (output, context) => {
|
|
2847
|
+
return take(output, {
|
|
2848
|
+
AttributeName: __expectString,
|
|
2849
|
+
Operation: __expectString,
|
|
2850
|
+
Value: __limitedParseDouble,
|
|
3722
2851
|
});
|
|
3723
|
-
return retVal;
|
|
3724
2852
|
};
|
|
3725
2853
|
const de_Baseline = (output, context) => {
|
|
3726
|
-
return {
|
|
3727
|
-
PredictorBaseline:
|
|
3728
|
-
};
|
|
2854
|
+
return take(output, {
|
|
2855
|
+
PredictorBaseline: (_) => de_PredictorBaseline(_, context),
|
|
2856
|
+
});
|
|
3729
2857
|
};
|
|
3730
2858
|
const de_BaselineMetric = (output, context) => {
|
|
3731
|
-
return {
|
|
3732
|
-
Name: __expectString
|
|
3733
|
-
Value: __limitedParseDouble
|
|
3734
|
-
};
|
|
2859
|
+
return take(output, {
|
|
2860
|
+
Name: __expectString,
|
|
2861
|
+
Value: __limitedParseDouble,
|
|
2862
|
+
});
|
|
3735
2863
|
};
|
|
3736
2864
|
const de_BaselineMetrics = (output, context) => {
|
|
3737
2865
|
const retVal = (output || [])
|
|
3738
2866
|
.filter((e) => e != null)
|
|
3739
2867
|
.map((entry) => {
|
|
3740
|
-
if (entry === null) {
|
|
3741
|
-
return null;
|
|
3742
|
-
}
|
|
3743
2868
|
return de_BaselineMetric(entry, context);
|
|
3744
2869
|
});
|
|
3745
2870
|
return retVal;
|
|
3746
2871
|
};
|
|
3747
|
-
const de_CategoricalParameterRange = (output, context) => {
|
|
3748
|
-
return {
|
|
3749
|
-
Name: __expectString(output.Name),
|
|
3750
|
-
Values: output.Values != null ? de_Values(output.Values, context) : undefined,
|
|
3751
|
-
};
|
|
3752
|
-
};
|
|
3753
|
-
const de_CategoricalParameterRanges = (output, context) => {
|
|
3754
|
-
const retVal = (output || [])
|
|
3755
|
-
.filter((e) => e != null)
|
|
3756
|
-
.map((entry) => {
|
|
3757
|
-
if (entry === null) {
|
|
3758
|
-
return null;
|
|
3759
|
-
}
|
|
3760
|
-
return de_CategoricalParameterRange(entry, context);
|
|
3761
|
-
});
|
|
3762
|
-
return retVal;
|
|
3763
|
-
};
|
|
3764
|
-
const de_Configuration = (output, context) => {
|
|
3765
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3766
|
-
if (value === null) {
|
|
3767
|
-
return acc;
|
|
3768
|
-
}
|
|
3769
|
-
acc[key] = de_Values(value, context);
|
|
3770
|
-
return acc;
|
|
3771
|
-
}, {});
|
|
3772
|
-
};
|
|
3773
2872
|
const de_ContinuousParameterRange = (output, context) => {
|
|
3774
|
-
return {
|
|
3775
|
-
MaxValue: __limitedParseDouble
|
|
3776
|
-
MinValue: __limitedParseDouble
|
|
3777
|
-
Name: __expectString
|
|
3778
|
-
ScalingType: __expectString
|
|
3779
|
-
};
|
|
2873
|
+
return take(output, {
|
|
2874
|
+
MaxValue: __limitedParseDouble,
|
|
2875
|
+
MinValue: __limitedParseDouble,
|
|
2876
|
+
Name: __expectString,
|
|
2877
|
+
ScalingType: __expectString,
|
|
2878
|
+
});
|
|
3780
2879
|
};
|
|
3781
2880
|
const de_ContinuousParameterRanges = (output, context) => {
|
|
3782
2881
|
const retVal = (output || [])
|
|
3783
2882
|
.filter((e) => e != null)
|
|
3784
2883
|
.map((entry) => {
|
|
3785
|
-
if (entry === null) {
|
|
3786
|
-
return null;
|
|
3787
|
-
}
|
|
3788
2884
|
return de_ContinuousParameterRange(entry, context);
|
|
3789
2885
|
});
|
|
3790
2886
|
return retVal;
|
|
3791
2887
|
};
|
|
3792
|
-
const de_CreateAutoPredictorResponse = (output, context) => {
|
|
3793
|
-
return {
|
|
3794
|
-
PredictorArn: __expectString(output.PredictorArn),
|
|
3795
|
-
};
|
|
3796
|
-
};
|
|
3797
|
-
const de_CreateDatasetGroupResponse = (output, context) => {
|
|
3798
|
-
return {
|
|
3799
|
-
DatasetGroupArn: __expectString(output.DatasetGroupArn),
|
|
3800
|
-
};
|
|
3801
|
-
};
|
|
3802
|
-
const de_CreateDatasetImportJobResponse = (output, context) => {
|
|
3803
|
-
return {
|
|
3804
|
-
DatasetImportJobArn: __expectString(output.DatasetImportJobArn),
|
|
3805
|
-
};
|
|
3806
|
-
};
|
|
3807
|
-
const de_CreateDatasetResponse = (output, context) => {
|
|
3808
|
-
return {
|
|
3809
|
-
DatasetArn: __expectString(output.DatasetArn),
|
|
3810
|
-
};
|
|
3811
|
-
};
|
|
3812
|
-
const de_CreateExplainabilityExportResponse = (output, context) => {
|
|
3813
|
-
return {
|
|
3814
|
-
ExplainabilityExportArn: __expectString(output.ExplainabilityExportArn),
|
|
3815
|
-
};
|
|
3816
|
-
};
|
|
3817
|
-
const de_CreateExplainabilityResponse = (output, context) => {
|
|
3818
|
-
return {
|
|
3819
|
-
ExplainabilityArn: __expectString(output.ExplainabilityArn),
|
|
3820
|
-
};
|
|
3821
|
-
};
|
|
3822
|
-
const de_CreateForecastExportJobResponse = (output, context) => {
|
|
3823
|
-
return {
|
|
3824
|
-
ForecastExportJobArn: __expectString(output.ForecastExportJobArn),
|
|
3825
|
-
};
|
|
3826
|
-
};
|
|
3827
|
-
const de_CreateForecastResponse = (output, context) => {
|
|
3828
|
-
return {
|
|
3829
|
-
ForecastArn: __expectString(output.ForecastArn),
|
|
3830
|
-
};
|
|
3831
|
-
};
|
|
3832
|
-
const de_CreateMonitorResponse = (output, context) => {
|
|
3833
|
-
return {
|
|
3834
|
-
MonitorArn: __expectString(output.MonitorArn),
|
|
3835
|
-
};
|
|
3836
|
-
};
|
|
3837
|
-
const de_CreatePredictorBacktestExportJobResponse = (output, context) => {
|
|
3838
|
-
return {
|
|
3839
|
-
PredictorBacktestExportJobArn: __expectString(output.PredictorBacktestExportJobArn),
|
|
3840
|
-
};
|
|
3841
|
-
};
|
|
3842
|
-
const de_CreatePredictorResponse = (output, context) => {
|
|
3843
|
-
return {
|
|
3844
|
-
PredictorArn: __expectString(output.PredictorArn),
|
|
3845
|
-
};
|
|
3846
|
-
};
|
|
3847
|
-
const de_CreateWhatIfAnalysisResponse = (output, context) => {
|
|
3848
|
-
return {
|
|
3849
|
-
WhatIfAnalysisArn: __expectString(output.WhatIfAnalysisArn),
|
|
3850
|
-
};
|
|
3851
|
-
};
|
|
3852
|
-
const de_CreateWhatIfForecastExportResponse = (output, context) => {
|
|
3853
|
-
return {
|
|
3854
|
-
WhatIfForecastExportArn: __expectString(output.WhatIfForecastExportArn),
|
|
3855
|
-
};
|
|
3856
|
-
};
|
|
3857
|
-
const de_CreateWhatIfForecastResponse = (output, context) => {
|
|
3858
|
-
return {
|
|
3859
|
-
WhatIfForecastArn: __expectString(output.WhatIfForecastArn),
|
|
3860
|
-
};
|
|
3861
|
-
};
|
|
3862
|
-
const de_DataConfig = (output, context) => {
|
|
3863
|
-
return {
|
|
3864
|
-
AdditionalDatasets: output.AdditionalDatasets != null ? de_AdditionalDatasets(output.AdditionalDatasets, context) : undefined,
|
|
3865
|
-
AttributeConfigs: output.AttributeConfigs != null ? de_AttributeConfigs(output.AttributeConfigs, context) : undefined,
|
|
3866
|
-
DatasetGroupArn: __expectString(output.DatasetGroupArn),
|
|
3867
|
-
};
|
|
3868
|
-
};
|
|
3869
|
-
const de_DataDestination = (output, context) => {
|
|
3870
|
-
return {
|
|
3871
|
-
S3Config: output.S3Config != null ? de_S3Config(output.S3Config, context) : undefined,
|
|
3872
|
-
};
|
|
3873
|
-
};
|
|
3874
2888
|
const de_DatasetGroups = (output, context) => {
|
|
3875
2889
|
const retVal = (output || [])
|
|
3876
2890
|
.filter((e) => e != null)
|
|
3877
2891
|
.map((entry) => {
|
|
3878
|
-
if (entry === null) {
|
|
3879
|
-
return null;
|
|
3880
|
-
}
|
|
3881
2892
|
return de_DatasetGroupSummary(entry, context);
|
|
3882
2893
|
});
|
|
3883
2894
|
return retVal;
|
|
3884
2895
|
};
|
|
3885
2896
|
const de_DatasetGroupSummary = (output, context) => {
|
|
3886
|
-
return {
|
|
3887
|
-
CreationTime:
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
LastModificationTime: output.LastModificationTime != null
|
|
3893
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3894
|
-
: undefined,
|
|
3895
|
-
};
|
|
2897
|
+
return take(output, {
|
|
2898
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2899
|
+
DatasetGroupArn: __expectString,
|
|
2900
|
+
DatasetGroupName: __expectString,
|
|
2901
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2902
|
+
});
|
|
3896
2903
|
};
|
|
3897
2904
|
const de_DatasetImportJobs = (output, context) => {
|
|
3898
2905
|
const retVal = (output || [])
|
|
3899
2906
|
.filter((e) => e != null)
|
|
3900
2907
|
.map((entry) => {
|
|
3901
|
-
if (entry === null) {
|
|
3902
|
-
return null;
|
|
3903
|
-
}
|
|
3904
2908
|
return de_DatasetImportJobSummary(entry, context);
|
|
3905
2909
|
});
|
|
3906
2910
|
return retVal;
|
|
3907
2911
|
};
|
|
3908
2912
|
const de_DatasetImportJobSummary = (output, context) => {
|
|
3909
|
-
return {
|
|
3910
|
-
CreationTime:
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
: undefined,
|
|
3920
|
-
Message: __expectString(output.Message),
|
|
3921
|
-
Status: __expectString(output.Status),
|
|
3922
|
-
};
|
|
2913
|
+
return take(output, {
|
|
2914
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2915
|
+
DataSource: _json,
|
|
2916
|
+
DatasetImportJobArn: __expectString,
|
|
2917
|
+
DatasetImportJobName: __expectString,
|
|
2918
|
+
ImportMode: __expectString,
|
|
2919
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2920
|
+
Message: __expectString,
|
|
2921
|
+
Status: __expectString,
|
|
2922
|
+
});
|
|
3923
2923
|
};
|
|
3924
2924
|
const de_Datasets = (output, context) => {
|
|
3925
2925
|
const retVal = (output || [])
|
|
3926
2926
|
.filter((e) => e != null)
|
|
3927
2927
|
.map((entry) => {
|
|
3928
|
-
if (entry === null) {
|
|
3929
|
-
return null;
|
|
3930
|
-
}
|
|
3931
2928
|
return de_DatasetSummary(entry, context);
|
|
3932
2929
|
});
|
|
3933
2930
|
return retVal;
|
|
3934
2931
|
};
|
|
3935
2932
|
const de_DatasetSummary = (output, context) => {
|
|
3936
|
-
return {
|
|
3937
|
-
CreationTime:
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
LastModificationTime: output.LastModificationTime != null
|
|
3945
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3946
|
-
: undefined,
|
|
3947
|
-
};
|
|
3948
|
-
};
|
|
3949
|
-
const de_DataSource = (output, context) => {
|
|
3950
|
-
return {
|
|
3951
|
-
S3Config: output.S3Config != null ? de_S3Config(output.S3Config, context) : undefined,
|
|
3952
|
-
};
|
|
2933
|
+
return take(output, {
|
|
2934
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2935
|
+
DatasetArn: __expectString,
|
|
2936
|
+
DatasetName: __expectString,
|
|
2937
|
+
DatasetType: __expectString,
|
|
2938
|
+
Domain: __expectString,
|
|
2939
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2940
|
+
});
|
|
3953
2941
|
};
|
|
3954
2942
|
const de_DescribeAutoPredictorResponse = (output, context) => {
|
|
3955
|
-
return {
|
|
3956
|
-
CreationTime:
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
ReferencePredictorSummary: output.ReferencePredictorSummary != null
|
|
3977
|
-
? de_ReferencePredictorSummary(output.ReferencePredictorSummary, context)
|
|
3978
|
-
: undefined,
|
|
3979
|
-
Status: __expectString(output.Status),
|
|
3980
|
-
TimeAlignmentBoundary: output.TimeAlignmentBoundary != null
|
|
3981
|
-
? de_TimeAlignmentBoundary(output.TimeAlignmentBoundary, context)
|
|
3982
|
-
: undefined,
|
|
3983
|
-
};
|
|
2943
|
+
return take(output, {
|
|
2944
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2945
|
+
DataConfig: _json,
|
|
2946
|
+
DatasetImportJobArns: _json,
|
|
2947
|
+
EncryptionConfig: _json,
|
|
2948
|
+
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
2949
|
+
ExplainabilityInfo: _json,
|
|
2950
|
+
ForecastDimensions: _json,
|
|
2951
|
+
ForecastFrequency: __expectString,
|
|
2952
|
+
ForecastHorizon: __expectInt32,
|
|
2953
|
+
ForecastTypes: _json,
|
|
2954
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2955
|
+
Message: __expectString,
|
|
2956
|
+
MonitorInfo: _json,
|
|
2957
|
+
OptimizationMetric: __expectString,
|
|
2958
|
+
PredictorArn: __expectString,
|
|
2959
|
+
PredictorName: __expectString,
|
|
2960
|
+
ReferencePredictorSummary: _json,
|
|
2961
|
+
Status: __expectString,
|
|
2962
|
+
TimeAlignmentBoundary: _json,
|
|
2963
|
+
});
|
|
3984
2964
|
};
|
|
3985
2965
|
const de_DescribeDatasetGroupResponse = (output, context) => {
|
|
3986
|
-
return {
|
|
3987
|
-
CreationTime:
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3996
|
-
: undefined,
|
|
3997
|
-
Status: __expectString(output.Status),
|
|
3998
|
-
};
|
|
2966
|
+
return take(output, {
|
|
2967
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2968
|
+
DatasetArns: _json,
|
|
2969
|
+
DatasetGroupArn: __expectString,
|
|
2970
|
+
DatasetGroupName: __expectString,
|
|
2971
|
+
Domain: __expectString,
|
|
2972
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2973
|
+
Status: __expectString,
|
|
2974
|
+
});
|
|
3999
2975
|
};
|
|
4000
2976
|
const de_DescribeDatasetImportJobResponse = (output, context) => {
|
|
4001
|
-
return {
|
|
4002
|
-
CreationTime:
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
TimeZone: __expectString(output.TimeZone),
|
|
4021
|
-
TimestampFormat: __expectString(output.TimestampFormat),
|
|
4022
|
-
UseGeolocationForTimeZone: __expectBoolean(output.UseGeolocationForTimeZone),
|
|
4023
|
-
};
|
|
2977
|
+
return take(output, {
|
|
2978
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2979
|
+
DataSize: __limitedParseDouble,
|
|
2980
|
+
DataSource: _json,
|
|
2981
|
+
DatasetArn: __expectString,
|
|
2982
|
+
DatasetImportJobArn: __expectString,
|
|
2983
|
+
DatasetImportJobName: __expectString,
|
|
2984
|
+
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
2985
|
+
FieldStatistics: (_) => de_FieldStatistics(_, context),
|
|
2986
|
+
Format: __expectString,
|
|
2987
|
+
GeolocationFormat: __expectString,
|
|
2988
|
+
ImportMode: __expectString,
|
|
2989
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2990
|
+
Message: __expectString,
|
|
2991
|
+
Status: __expectString,
|
|
2992
|
+
TimeZone: __expectString,
|
|
2993
|
+
TimestampFormat: __expectString,
|
|
2994
|
+
UseGeolocationForTimeZone: __expectBoolean,
|
|
2995
|
+
});
|
|
4024
2996
|
};
|
|
4025
2997
|
const de_DescribeDatasetResponse = (output, context) => {
|
|
4026
|
-
return {
|
|
4027
|
-
CreationTime:
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
: undefined,
|
|
4039
|
-
Schema: output.Schema != null ? de_Schema(output.Schema, context) : undefined,
|
|
4040
|
-
Status: __expectString(output.Status),
|
|
4041
|
-
};
|
|
2998
|
+
return take(output, {
|
|
2999
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3000
|
+
DataFrequency: __expectString,
|
|
3001
|
+
DatasetArn: __expectString,
|
|
3002
|
+
DatasetName: __expectString,
|
|
3003
|
+
DatasetType: __expectString,
|
|
3004
|
+
Domain: __expectString,
|
|
3005
|
+
EncryptionConfig: _json,
|
|
3006
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3007
|
+
Schema: _json,
|
|
3008
|
+
Status: __expectString,
|
|
3009
|
+
});
|
|
4042
3010
|
};
|
|
4043
3011
|
const de_DescribeExplainabilityExportResponse = (output, context) => {
|
|
4044
|
-
return {
|
|
4045
|
-
CreationTime:
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
: undefined,
|
|
4056
|
-
Message: __expectString(output.Message),
|
|
4057
|
-
Status: __expectString(output.Status),
|
|
4058
|
-
};
|
|
3012
|
+
return take(output, {
|
|
3013
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3014
|
+
Destination: _json,
|
|
3015
|
+
ExplainabilityArn: __expectString,
|
|
3016
|
+
ExplainabilityExportArn: __expectString,
|
|
3017
|
+
ExplainabilityExportName: __expectString,
|
|
3018
|
+
Format: __expectString,
|
|
3019
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3020
|
+
Message: __expectString,
|
|
3021
|
+
Status: __expectString,
|
|
3022
|
+
});
|
|
4059
3023
|
};
|
|
4060
3024
|
const de_DescribeExplainabilityResponse = (output, context) => {
|
|
4061
|
-
return {
|
|
4062
|
-
CreationTime:
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
Schema: output.Schema != null ? de_Schema(output.Schema, context) : undefined,
|
|
4078
|
-
StartDateTime: __expectString(output.StartDateTime),
|
|
4079
|
-
Status: __expectString(output.Status),
|
|
4080
|
-
};
|
|
3025
|
+
return take(output, {
|
|
3026
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3027
|
+
DataSource: _json,
|
|
3028
|
+
EnableVisualization: __expectBoolean,
|
|
3029
|
+
EndDateTime: __expectString,
|
|
3030
|
+
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
3031
|
+
ExplainabilityArn: __expectString,
|
|
3032
|
+
ExplainabilityConfig: _json,
|
|
3033
|
+
ExplainabilityName: __expectString,
|
|
3034
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3035
|
+
Message: __expectString,
|
|
3036
|
+
ResourceArn: __expectString,
|
|
3037
|
+
Schema: _json,
|
|
3038
|
+
StartDateTime: __expectString,
|
|
3039
|
+
Status: __expectString,
|
|
3040
|
+
});
|
|
4081
3041
|
};
|
|
4082
3042
|
const de_DescribeForecastExportJobResponse = (output, context) => {
|
|
4083
|
-
return {
|
|
4084
|
-
CreationTime:
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
: undefined,
|
|
4095
|
-
Message: __expectString(output.Message),
|
|
4096
|
-
Status: __expectString(output.Status),
|
|
4097
|
-
};
|
|
3043
|
+
return take(output, {
|
|
3044
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3045
|
+
Destination: _json,
|
|
3046
|
+
ForecastArn: __expectString,
|
|
3047
|
+
ForecastExportJobArn: __expectString,
|
|
3048
|
+
ForecastExportJobName: __expectString,
|
|
3049
|
+
Format: __expectString,
|
|
3050
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3051
|
+
Message: __expectString,
|
|
3052
|
+
Status: __expectString,
|
|
3053
|
+
});
|
|
4098
3054
|
};
|
|
4099
3055
|
const de_DescribeForecastResponse = (output, context) => {
|
|
4100
|
-
return {
|
|
4101
|
-
CreationTime:
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
PredictorArn: __expectString(output.PredictorArn),
|
|
4114
|
-
Status: __expectString(output.Status),
|
|
4115
|
-
TimeSeriesSelector: output.TimeSeriesSelector != null ? de_TimeSeriesSelector(output.TimeSeriesSelector, context) : undefined,
|
|
4116
|
-
};
|
|
3056
|
+
return take(output, {
|
|
3057
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3058
|
+
DatasetGroupArn: __expectString,
|
|
3059
|
+
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
3060
|
+
ForecastArn: __expectString,
|
|
3061
|
+
ForecastName: __expectString,
|
|
3062
|
+
ForecastTypes: _json,
|
|
3063
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3064
|
+
Message: __expectString,
|
|
3065
|
+
PredictorArn: __expectString,
|
|
3066
|
+
Status: __expectString,
|
|
3067
|
+
TimeSeriesSelector: _json,
|
|
3068
|
+
});
|
|
4117
3069
|
};
|
|
4118
3070
|
const de_DescribeMonitorResponse = (output, context) => {
|
|
4119
|
-
return {
|
|
4120
|
-
Baseline:
|
|
4121
|
-
CreationTime:
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
Message: __expectString(output.Message),
|
|
4133
|
-
MonitorArn: __expectString(output.MonitorArn),
|
|
4134
|
-
MonitorName: __expectString(output.MonitorName),
|
|
4135
|
-
ResourceArn: __expectString(output.ResourceArn),
|
|
4136
|
-
Status: __expectString(output.Status),
|
|
4137
|
-
};
|
|
3071
|
+
return take(output, {
|
|
3072
|
+
Baseline: (_) => de_Baseline(_, context),
|
|
3073
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3074
|
+
EstimatedEvaluationTimeRemainingInMinutes: __expectLong,
|
|
3075
|
+
LastEvaluationState: __expectString,
|
|
3076
|
+
LastEvaluationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3077
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3078
|
+
Message: __expectString,
|
|
3079
|
+
MonitorArn: __expectString,
|
|
3080
|
+
MonitorName: __expectString,
|
|
3081
|
+
ResourceArn: __expectString,
|
|
3082
|
+
Status: __expectString,
|
|
3083
|
+
});
|
|
4138
3084
|
};
|
|
4139
3085
|
const de_DescribePredictorBacktestExportJobResponse = (output, context) => {
|
|
4140
|
-
return {
|
|
4141
|
-
CreationTime:
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
PredictorBacktestExportJobArn: __expectString(output.PredictorBacktestExportJobArn),
|
|
4152
|
-
PredictorBacktestExportJobName: __expectString(output.PredictorBacktestExportJobName),
|
|
4153
|
-
Status: __expectString(output.Status),
|
|
4154
|
-
};
|
|
3086
|
+
return take(output, {
|
|
3087
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3088
|
+
Destination: _json,
|
|
3089
|
+
Format: __expectString,
|
|
3090
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3091
|
+
Message: __expectString,
|
|
3092
|
+
PredictorArn: __expectString,
|
|
3093
|
+
PredictorBacktestExportJobArn: __expectString,
|
|
3094
|
+
PredictorBacktestExportJobName: __expectString,
|
|
3095
|
+
Status: __expectString,
|
|
3096
|
+
});
|
|
4155
3097
|
};
|
|
4156
3098
|
const de_DescribePredictorResponse = (output, context) => {
|
|
4157
|
-
return {
|
|
4158
|
-
AlgorithmArn: __expectString
|
|
4159
|
-
AutoMLAlgorithmArns:
|
|
4160
|
-
AutoMLOverrideStrategy: __expectString
|
|
4161
|
-
CreationTime:
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
? de_PredictorExecutionDetails(output.PredictorExecutionDetails, context)
|
|
4184
|
-
: undefined,
|
|
4185
|
-
PredictorName: __expectString(output.PredictorName),
|
|
4186
|
-
Status: __expectString(output.Status),
|
|
4187
|
-
TrainingParameters: output.TrainingParameters != null ? de_TrainingParameters(output.TrainingParameters, context) : undefined,
|
|
4188
|
-
};
|
|
3099
|
+
return take(output, {
|
|
3100
|
+
AlgorithmArn: __expectString,
|
|
3101
|
+
AutoMLAlgorithmArns: _json,
|
|
3102
|
+
AutoMLOverrideStrategy: __expectString,
|
|
3103
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3104
|
+
DatasetImportJobArns: _json,
|
|
3105
|
+
EncryptionConfig: _json,
|
|
3106
|
+
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
3107
|
+
EvaluationParameters: _json,
|
|
3108
|
+
FeaturizationConfig: _json,
|
|
3109
|
+
ForecastHorizon: __expectInt32,
|
|
3110
|
+
ForecastTypes: _json,
|
|
3111
|
+
HPOConfig: (_) => de_HyperParameterTuningJobConfig(_, context),
|
|
3112
|
+
InputDataConfig: _json,
|
|
3113
|
+
IsAutoPredictor: __expectBoolean,
|
|
3114
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3115
|
+
Message: __expectString,
|
|
3116
|
+
OptimizationMetric: __expectString,
|
|
3117
|
+
PerformAutoML: __expectBoolean,
|
|
3118
|
+
PerformHPO: __expectBoolean,
|
|
3119
|
+
PredictorArn: __expectString,
|
|
3120
|
+
PredictorExecutionDetails: (_) => de_PredictorExecutionDetails(_, context),
|
|
3121
|
+
PredictorName: __expectString,
|
|
3122
|
+
Status: __expectString,
|
|
3123
|
+
TrainingParameters: _json,
|
|
3124
|
+
});
|
|
4189
3125
|
};
|
|
4190
3126
|
const de_DescribeWhatIfAnalysisResponse = (output, context) => {
|
|
4191
|
-
return {
|
|
4192
|
-
CreationTime:
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
TimeSeriesSelector: output.TimeSeriesSelector != null ? de_TimeSeriesSelector(output.TimeSeriesSelector, context) : undefined,
|
|
4203
|
-
WhatIfAnalysisArn: __expectString(output.WhatIfAnalysisArn),
|
|
4204
|
-
WhatIfAnalysisName: __expectString(output.WhatIfAnalysisName),
|
|
4205
|
-
};
|
|
3127
|
+
return take(output, {
|
|
3128
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3129
|
+
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
3130
|
+
ForecastArn: __expectString,
|
|
3131
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3132
|
+
Message: __expectString,
|
|
3133
|
+
Status: __expectString,
|
|
3134
|
+
TimeSeriesSelector: _json,
|
|
3135
|
+
WhatIfAnalysisArn: __expectString,
|
|
3136
|
+
WhatIfAnalysisName: __expectString,
|
|
3137
|
+
});
|
|
4206
3138
|
};
|
|
4207
3139
|
const de_DescribeWhatIfForecastExportResponse = (output, context) => {
|
|
4208
|
-
return {
|
|
4209
|
-
CreationTime:
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
WhatIfForecastArns: output.WhatIfForecastArns != null ? de_LongArnList(output.WhatIfForecastArns, context) : undefined,
|
|
4221
|
-
WhatIfForecastExportArn: __expectString(output.WhatIfForecastExportArn),
|
|
4222
|
-
WhatIfForecastExportName: __expectString(output.WhatIfForecastExportName),
|
|
4223
|
-
};
|
|
3140
|
+
return take(output, {
|
|
3141
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3142
|
+
Destination: _json,
|
|
3143
|
+
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
3144
|
+
Format: __expectString,
|
|
3145
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3146
|
+
Message: __expectString,
|
|
3147
|
+
Status: __expectString,
|
|
3148
|
+
WhatIfForecastArns: _json,
|
|
3149
|
+
WhatIfForecastExportArn: __expectString,
|
|
3150
|
+
WhatIfForecastExportName: __expectString,
|
|
3151
|
+
});
|
|
4224
3152
|
};
|
|
4225
3153
|
const de_DescribeWhatIfForecastResponse = (output, context) => {
|
|
4226
|
-
return {
|
|
4227
|
-
CreationTime:
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
: undefined,
|
|
4240
|
-
TimeSeriesTransformations: output.TimeSeriesTransformations != null
|
|
4241
|
-
? de_TimeSeriesTransformations(output.TimeSeriesTransformations, context)
|
|
4242
|
-
: undefined,
|
|
4243
|
-
WhatIfAnalysisArn: __expectString(output.WhatIfAnalysisArn),
|
|
4244
|
-
WhatIfForecastArn: __expectString(output.WhatIfForecastArn),
|
|
4245
|
-
WhatIfForecastName: __expectString(output.WhatIfForecastName),
|
|
4246
|
-
};
|
|
4247
|
-
};
|
|
4248
|
-
const de_EncryptionConfig = (output, context) => {
|
|
4249
|
-
return {
|
|
4250
|
-
KMSKeyArn: __expectString(output.KMSKeyArn),
|
|
4251
|
-
RoleArn: __expectString(output.RoleArn),
|
|
4252
|
-
};
|
|
3154
|
+
return take(output, {
|
|
3155
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3156
|
+
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
3157
|
+
ForecastTypes: _json,
|
|
3158
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3159
|
+
Message: __expectString,
|
|
3160
|
+
Status: __expectString,
|
|
3161
|
+
TimeSeriesReplacementsDataSource: _json,
|
|
3162
|
+
TimeSeriesTransformations: (_) => de_TimeSeriesTransformations(_, context),
|
|
3163
|
+
WhatIfAnalysisArn: __expectString,
|
|
3164
|
+
WhatIfForecastArn: __expectString,
|
|
3165
|
+
WhatIfForecastName: __expectString,
|
|
3166
|
+
});
|
|
4253
3167
|
};
|
|
4254
3168
|
const de_ErrorMetric = (output, context) => {
|
|
4255
|
-
return {
|
|
4256
|
-
ForecastType: __expectString
|
|
4257
|
-
MAPE: __limitedParseDouble
|
|
4258
|
-
MASE: __limitedParseDouble
|
|
4259
|
-
RMSE: __limitedParseDouble
|
|
4260
|
-
WAPE: __limitedParseDouble
|
|
4261
|
-
};
|
|
3169
|
+
return take(output, {
|
|
3170
|
+
ForecastType: __expectString,
|
|
3171
|
+
MAPE: __limitedParseDouble,
|
|
3172
|
+
MASE: __limitedParseDouble,
|
|
3173
|
+
RMSE: __limitedParseDouble,
|
|
3174
|
+
WAPE: __limitedParseDouble,
|
|
3175
|
+
});
|
|
4262
3176
|
};
|
|
4263
3177
|
const de_ErrorMetrics = (output, context) => {
|
|
4264
3178
|
const retVal = (output || [])
|
|
4265
3179
|
.filter((e) => e != null)
|
|
4266
3180
|
.map((entry) => {
|
|
4267
|
-
if (entry === null) {
|
|
4268
|
-
return null;
|
|
4269
|
-
}
|
|
4270
3181
|
return de_ErrorMetric(entry, context);
|
|
4271
3182
|
});
|
|
4272
3183
|
return retVal;
|
|
4273
3184
|
};
|
|
4274
|
-
const de_EvaluationParameters = (output, context) => {
|
|
4275
|
-
return {
|
|
4276
|
-
BackTestWindowOffset: __expectInt32(output.BackTestWindowOffset),
|
|
4277
|
-
NumberOfBacktestWindows: __expectInt32(output.NumberOfBacktestWindows),
|
|
4278
|
-
};
|
|
4279
|
-
};
|
|
4280
3185
|
const de_EvaluationResult = (output, context) => {
|
|
4281
|
-
return {
|
|
4282
|
-
AlgorithmArn: __expectString
|
|
4283
|
-
TestWindows:
|
|
4284
|
-
};
|
|
3186
|
+
return take(output, {
|
|
3187
|
+
AlgorithmArn: __expectString,
|
|
3188
|
+
TestWindows: (_) => de_TestWindows(_, context),
|
|
3189
|
+
});
|
|
4285
3190
|
};
|
|
4286
3191
|
const de_Explainabilities = (output, context) => {
|
|
4287
3192
|
const retVal = (output || [])
|
|
4288
3193
|
.filter((e) => e != null)
|
|
4289
3194
|
.map((entry) => {
|
|
4290
|
-
if (entry === null) {
|
|
4291
|
-
return null;
|
|
4292
|
-
}
|
|
4293
3195
|
return de_ExplainabilitySummary(entry, context);
|
|
4294
3196
|
});
|
|
4295
3197
|
return retVal;
|
|
4296
3198
|
};
|
|
4297
|
-
const de_ExplainabilityConfig = (output, context) => {
|
|
4298
|
-
return {
|
|
4299
|
-
TimePointGranularity: __expectString(output.TimePointGranularity),
|
|
4300
|
-
TimeSeriesGranularity: __expectString(output.TimeSeriesGranularity),
|
|
4301
|
-
};
|
|
4302
|
-
};
|
|
4303
3199
|
const de_ExplainabilityExports = (output, context) => {
|
|
4304
3200
|
const retVal = (output || [])
|
|
4305
3201
|
.filter((e) => e != null)
|
|
4306
3202
|
.map((entry) => {
|
|
4307
|
-
if (entry === null) {
|
|
4308
|
-
return null;
|
|
4309
|
-
}
|
|
4310
3203
|
return de_ExplainabilityExportSummary(entry, context);
|
|
4311
3204
|
});
|
|
4312
3205
|
return retVal;
|
|
4313
3206
|
};
|
|
4314
3207
|
const de_ExplainabilityExportSummary = (output, context) => {
|
|
4315
|
-
return {
|
|
4316
|
-
CreationTime:
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4324
|
-
: undefined,
|
|
4325
|
-
Message: __expectString(output.Message),
|
|
4326
|
-
Status: __expectString(output.Status),
|
|
4327
|
-
};
|
|
4328
|
-
};
|
|
4329
|
-
const de_ExplainabilityInfo = (output, context) => {
|
|
4330
|
-
return {
|
|
4331
|
-
ExplainabilityArn: __expectString(output.ExplainabilityArn),
|
|
4332
|
-
Status: __expectString(output.Status),
|
|
4333
|
-
};
|
|
4334
|
-
};
|
|
4335
|
-
const de_ExplainabilitySummary = (output, context) => {
|
|
4336
|
-
return {
|
|
4337
|
-
CreationTime: output.CreationTime != null
|
|
4338
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4339
|
-
: undefined,
|
|
4340
|
-
ExplainabilityArn: __expectString(output.ExplainabilityArn),
|
|
4341
|
-
ExplainabilityConfig: output.ExplainabilityConfig != null ? de_ExplainabilityConfig(output.ExplainabilityConfig, context) : undefined,
|
|
4342
|
-
ExplainabilityName: __expectString(output.ExplainabilityName),
|
|
4343
|
-
LastModificationTime: output.LastModificationTime != null
|
|
4344
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4345
|
-
: undefined,
|
|
4346
|
-
Message: __expectString(output.Message),
|
|
4347
|
-
ResourceArn: __expectString(output.ResourceArn),
|
|
4348
|
-
Status: __expectString(output.Status),
|
|
4349
|
-
};
|
|
4350
|
-
};
|
|
4351
|
-
const de_Featurization = (output, context) => {
|
|
4352
|
-
return {
|
|
4353
|
-
AttributeName: __expectString(output.AttributeName),
|
|
4354
|
-
FeaturizationPipeline: output.FeaturizationPipeline != null
|
|
4355
|
-
? de_FeaturizationPipeline(output.FeaturizationPipeline, context)
|
|
4356
|
-
: undefined,
|
|
4357
|
-
};
|
|
4358
|
-
};
|
|
4359
|
-
const de_FeaturizationConfig = (output, context) => {
|
|
4360
|
-
return {
|
|
4361
|
-
Featurizations: output.Featurizations != null ? de_Featurizations(output.Featurizations, context) : undefined,
|
|
4362
|
-
ForecastDimensions: output.ForecastDimensions != null ? de_ForecastDimensions(output.ForecastDimensions, context) : undefined,
|
|
4363
|
-
ForecastFrequency: __expectString(output.ForecastFrequency),
|
|
4364
|
-
};
|
|
4365
|
-
};
|
|
4366
|
-
const de_FeaturizationMethod = (output, context) => {
|
|
4367
|
-
return {
|
|
4368
|
-
FeaturizationMethodName: __expectString(output.FeaturizationMethodName),
|
|
4369
|
-
FeaturizationMethodParameters: output.FeaturizationMethodParameters != null
|
|
4370
|
-
? de_FeaturizationMethodParameters(output.FeaturizationMethodParameters, context)
|
|
4371
|
-
: undefined,
|
|
4372
|
-
};
|
|
4373
|
-
};
|
|
4374
|
-
const de_FeaturizationMethodParameters = (output, context) => {
|
|
4375
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4376
|
-
if (value === null) {
|
|
4377
|
-
return acc;
|
|
4378
|
-
}
|
|
4379
|
-
acc[key] = __expectString(value);
|
|
4380
|
-
return acc;
|
|
4381
|
-
}, {});
|
|
4382
|
-
};
|
|
4383
|
-
const de_FeaturizationPipeline = (output, context) => {
|
|
4384
|
-
const retVal = (output || [])
|
|
4385
|
-
.filter((e) => e != null)
|
|
4386
|
-
.map((entry) => {
|
|
4387
|
-
if (entry === null) {
|
|
4388
|
-
return null;
|
|
4389
|
-
}
|
|
4390
|
-
return de_FeaturizationMethod(entry, context);
|
|
3208
|
+
return take(output, {
|
|
3209
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3210
|
+
Destination: _json,
|
|
3211
|
+
ExplainabilityExportArn: __expectString,
|
|
3212
|
+
ExplainabilityExportName: __expectString,
|
|
3213
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3214
|
+
Message: __expectString,
|
|
3215
|
+
Status: __expectString,
|
|
4391
3216
|
});
|
|
4392
|
-
return retVal;
|
|
4393
3217
|
};
|
|
4394
|
-
const
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
3218
|
+
const de_ExplainabilitySummary = (output, context) => {
|
|
3219
|
+
return take(output, {
|
|
3220
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3221
|
+
ExplainabilityArn: __expectString,
|
|
3222
|
+
ExplainabilityConfig: _json,
|
|
3223
|
+
ExplainabilityName: __expectString,
|
|
3224
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3225
|
+
Message: __expectString,
|
|
3226
|
+
ResourceArn: __expectString,
|
|
3227
|
+
Status: __expectString,
|
|
4402
3228
|
});
|
|
4403
|
-
return retVal;
|
|
4404
3229
|
};
|
|
4405
3230
|
const de_FieldStatistics = (output, context) => {
|
|
4406
3231
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
@@ -4408,426 +3233,269 @@ const de_FieldStatistics = (output, context) => {
|
|
|
4408
3233
|
return acc;
|
|
4409
3234
|
}
|
|
4410
3235
|
acc[key] = de_Statistics(value, context);
|
|
4411
|
-
return acc;
|
|
4412
|
-
}, {});
|
|
4413
|
-
};
|
|
4414
|
-
const de_ForecastDimensions = (output, context) => {
|
|
4415
|
-
const retVal = (output || [])
|
|
4416
|
-
.filter((e) => e != null)
|
|
4417
|
-
.map((entry) => {
|
|
4418
|
-
if (entry === null) {
|
|
4419
|
-
return null;
|
|
4420
|
-
}
|
|
4421
|
-
return __expectString(entry);
|
|
4422
|
-
});
|
|
4423
|
-
return retVal;
|
|
3236
|
+
return acc;
|
|
3237
|
+
}, {});
|
|
4424
3238
|
};
|
|
4425
3239
|
const de_ForecastExportJobs = (output, context) => {
|
|
4426
3240
|
const retVal = (output || [])
|
|
4427
3241
|
.filter((e) => e != null)
|
|
4428
3242
|
.map((entry) => {
|
|
4429
|
-
if (entry === null) {
|
|
4430
|
-
return null;
|
|
4431
|
-
}
|
|
4432
3243
|
return de_ForecastExportJobSummary(entry, context);
|
|
4433
3244
|
});
|
|
4434
3245
|
return retVal;
|
|
4435
3246
|
};
|
|
4436
3247
|
const de_ForecastExportJobSummary = (output, context) => {
|
|
4437
|
-
return {
|
|
4438
|
-
CreationTime:
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
: undefined,
|
|
4447
|
-
Message: __expectString(output.Message),
|
|
4448
|
-
Status: __expectString(output.Status),
|
|
4449
|
-
};
|
|
3248
|
+
return take(output, {
|
|
3249
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3250
|
+
Destination: _json,
|
|
3251
|
+
ForecastExportJobArn: __expectString,
|
|
3252
|
+
ForecastExportJobName: __expectString,
|
|
3253
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3254
|
+
Message: __expectString,
|
|
3255
|
+
Status: __expectString,
|
|
3256
|
+
});
|
|
4450
3257
|
};
|
|
4451
3258
|
const de_Forecasts = (output, context) => {
|
|
4452
3259
|
const retVal = (output || [])
|
|
4453
3260
|
.filter((e) => e != null)
|
|
4454
3261
|
.map((entry) => {
|
|
4455
|
-
if (entry === null) {
|
|
4456
|
-
return null;
|
|
4457
|
-
}
|
|
4458
3262
|
return de_ForecastSummary(entry, context);
|
|
4459
3263
|
});
|
|
4460
3264
|
return retVal;
|
|
4461
3265
|
};
|
|
4462
3266
|
const de_ForecastSummary = (output, context) => {
|
|
4463
|
-
return {
|
|
4464
|
-
CreatedUsingAutoPredictor: __expectBoolean
|
|
4465
|
-
CreationTime:
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
: undefined,
|
|
4474
|
-
Message: __expectString(output.Message),
|
|
4475
|
-
PredictorArn: __expectString(output.PredictorArn),
|
|
4476
|
-
Status: __expectString(output.Status),
|
|
4477
|
-
};
|
|
4478
|
-
};
|
|
4479
|
-
const de_ForecastTypes = (output, context) => {
|
|
4480
|
-
const retVal = (output || [])
|
|
4481
|
-
.filter((e) => e != null)
|
|
4482
|
-
.map((entry) => {
|
|
4483
|
-
if (entry === null) {
|
|
4484
|
-
return null;
|
|
4485
|
-
}
|
|
4486
|
-
return __expectString(entry);
|
|
3267
|
+
return take(output, {
|
|
3268
|
+
CreatedUsingAutoPredictor: __expectBoolean,
|
|
3269
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3270
|
+
DatasetGroupArn: __expectString,
|
|
3271
|
+
ForecastArn: __expectString,
|
|
3272
|
+
ForecastName: __expectString,
|
|
3273
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3274
|
+
Message: __expectString,
|
|
3275
|
+
PredictorArn: __expectString,
|
|
3276
|
+
Status: __expectString,
|
|
4487
3277
|
});
|
|
4488
|
-
return retVal;
|
|
4489
3278
|
};
|
|
4490
3279
|
const de_GetAccuracyMetricsResponse = (output, context) => {
|
|
4491
|
-
return {
|
|
4492
|
-
AutoMLOverrideStrategy: __expectString
|
|
4493
|
-
IsAutoPredictor: __expectBoolean
|
|
4494
|
-
OptimizationMetric: __expectString
|
|
4495
|
-
PredictorEvaluationResults:
|
|
4496
|
-
|
|
4497
|
-
: undefined,
|
|
4498
|
-
};
|
|
3280
|
+
return take(output, {
|
|
3281
|
+
AutoMLOverrideStrategy: __expectString,
|
|
3282
|
+
IsAutoPredictor: __expectBoolean,
|
|
3283
|
+
OptimizationMetric: __expectString,
|
|
3284
|
+
PredictorEvaluationResults: (_) => de_PredictorEvaluationResults(_, context),
|
|
3285
|
+
});
|
|
4499
3286
|
};
|
|
4500
3287
|
const de_HyperParameterTuningJobConfig = (output, context) => {
|
|
4501
|
-
return {
|
|
4502
|
-
ParameterRanges:
|
|
4503
|
-
};
|
|
4504
|
-
};
|
|
4505
|
-
const de_InputDataConfig = (output, context) => {
|
|
4506
|
-
return {
|
|
4507
|
-
DatasetGroupArn: __expectString(output.DatasetGroupArn),
|
|
4508
|
-
SupplementaryFeatures: output.SupplementaryFeatures != null
|
|
4509
|
-
? de_SupplementaryFeatures(output.SupplementaryFeatures, context)
|
|
4510
|
-
: undefined,
|
|
4511
|
-
};
|
|
4512
|
-
};
|
|
4513
|
-
const de_IntegerParameterRange = (output, context) => {
|
|
4514
|
-
return {
|
|
4515
|
-
MaxValue: __expectInt32(output.MaxValue),
|
|
4516
|
-
MinValue: __expectInt32(output.MinValue),
|
|
4517
|
-
Name: __expectString(output.Name),
|
|
4518
|
-
ScalingType: __expectString(output.ScalingType),
|
|
4519
|
-
};
|
|
4520
|
-
};
|
|
4521
|
-
const de_IntegerParameterRanges = (output, context) => {
|
|
4522
|
-
const retVal = (output || [])
|
|
4523
|
-
.filter((e) => e != null)
|
|
4524
|
-
.map((entry) => {
|
|
4525
|
-
if (entry === null) {
|
|
4526
|
-
return null;
|
|
4527
|
-
}
|
|
4528
|
-
return de_IntegerParameterRange(entry, context);
|
|
3288
|
+
return take(output, {
|
|
3289
|
+
ParameterRanges: (_) => de_ParameterRanges(_, context),
|
|
4529
3290
|
});
|
|
4530
|
-
return retVal;
|
|
4531
|
-
};
|
|
4532
|
-
const de_InvalidInputException = (output, context) => {
|
|
4533
|
-
return {
|
|
4534
|
-
Message: __expectString(output.Message),
|
|
4535
|
-
};
|
|
4536
|
-
};
|
|
4537
|
-
const de_InvalidNextTokenException = (output, context) => {
|
|
4538
|
-
return {
|
|
4539
|
-
Message: __expectString(output.Message),
|
|
4540
|
-
};
|
|
4541
|
-
};
|
|
4542
|
-
const de_LimitExceededException = (output, context) => {
|
|
4543
|
-
return {
|
|
4544
|
-
Message: __expectString(output.Message),
|
|
4545
|
-
};
|
|
4546
3291
|
};
|
|
4547
3292
|
const de_ListDatasetGroupsResponse = (output, context) => {
|
|
4548
|
-
return {
|
|
4549
|
-
DatasetGroups:
|
|
4550
|
-
NextToken: __expectString
|
|
4551
|
-
};
|
|
3293
|
+
return take(output, {
|
|
3294
|
+
DatasetGroups: (_) => de_DatasetGroups(_, context),
|
|
3295
|
+
NextToken: __expectString,
|
|
3296
|
+
});
|
|
4552
3297
|
};
|
|
4553
3298
|
const de_ListDatasetImportJobsResponse = (output, context) => {
|
|
4554
|
-
return {
|
|
4555
|
-
DatasetImportJobs:
|
|
4556
|
-
NextToken: __expectString
|
|
4557
|
-
};
|
|
3299
|
+
return take(output, {
|
|
3300
|
+
DatasetImportJobs: (_) => de_DatasetImportJobs(_, context),
|
|
3301
|
+
NextToken: __expectString,
|
|
3302
|
+
});
|
|
4558
3303
|
};
|
|
4559
3304
|
const de_ListDatasetsResponse = (output, context) => {
|
|
4560
|
-
return {
|
|
4561
|
-
Datasets:
|
|
4562
|
-
NextToken: __expectString
|
|
4563
|
-
};
|
|
3305
|
+
return take(output, {
|
|
3306
|
+
Datasets: (_) => de_Datasets(_, context),
|
|
3307
|
+
NextToken: __expectString,
|
|
3308
|
+
});
|
|
4564
3309
|
};
|
|
4565
3310
|
const de_ListExplainabilitiesResponse = (output, context) => {
|
|
4566
|
-
return {
|
|
4567
|
-
Explainabilities:
|
|
4568
|
-
NextToken: __expectString
|
|
4569
|
-
};
|
|
3311
|
+
return take(output, {
|
|
3312
|
+
Explainabilities: (_) => de_Explainabilities(_, context),
|
|
3313
|
+
NextToken: __expectString,
|
|
3314
|
+
});
|
|
4570
3315
|
};
|
|
4571
3316
|
const de_ListExplainabilityExportsResponse = (output, context) => {
|
|
4572
|
-
return {
|
|
4573
|
-
ExplainabilityExports:
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
NextToken: __expectString(output.NextToken),
|
|
4577
|
-
};
|
|
3317
|
+
return take(output, {
|
|
3318
|
+
ExplainabilityExports: (_) => de_ExplainabilityExports(_, context),
|
|
3319
|
+
NextToken: __expectString,
|
|
3320
|
+
});
|
|
4578
3321
|
};
|
|
4579
3322
|
const de_ListForecastExportJobsResponse = (output, context) => {
|
|
4580
|
-
return {
|
|
4581
|
-
ForecastExportJobs:
|
|
4582
|
-
NextToken: __expectString
|
|
4583
|
-
};
|
|
3323
|
+
return take(output, {
|
|
3324
|
+
ForecastExportJobs: (_) => de_ForecastExportJobs(_, context),
|
|
3325
|
+
NextToken: __expectString,
|
|
3326
|
+
});
|
|
4584
3327
|
};
|
|
4585
3328
|
const de_ListForecastsResponse = (output, context) => {
|
|
4586
|
-
return {
|
|
4587
|
-
Forecasts:
|
|
4588
|
-
NextToken: __expectString
|
|
4589
|
-
};
|
|
3329
|
+
return take(output, {
|
|
3330
|
+
Forecasts: (_) => de_Forecasts(_, context),
|
|
3331
|
+
NextToken: __expectString,
|
|
3332
|
+
});
|
|
4590
3333
|
};
|
|
4591
3334
|
const de_ListMonitorEvaluationsResponse = (output, context) => {
|
|
4592
|
-
return {
|
|
4593
|
-
NextToken: __expectString
|
|
4594
|
-
PredictorMonitorEvaluations:
|
|
4595
|
-
|
|
4596
|
-
: undefined,
|
|
4597
|
-
};
|
|
3335
|
+
return take(output, {
|
|
3336
|
+
NextToken: __expectString,
|
|
3337
|
+
PredictorMonitorEvaluations: (_) => de_PredictorMonitorEvaluations(_, context),
|
|
3338
|
+
});
|
|
4598
3339
|
};
|
|
4599
3340
|
const de_ListMonitorsResponse = (output, context) => {
|
|
4600
|
-
return {
|
|
4601
|
-
Monitors:
|
|
4602
|
-
NextToken: __expectString
|
|
4603
|
-
};
|
|
3341
|
+
return take(output, {
|
|
3342
|
+
Monitors: (_) => de_Monitors(_, context),
|
|
3343
|
+
NextToken: __expectString,
|
|
3344
|
+
});
|
|
4604
3345
|
};
|
|
4605
3346
|
const de_ListPredictorBacktestExportJobsResponse = (output, context) => {
|
|
4606
|
-
return {
|
|
4607
|
-
NextToken: __expectString
|
|
4608
|
-
PredictorBacktestExportJobs:
|
|
4609
|
-
|
|
4610
|
-
: undefined,
|
|
4611
|
-
};
|
|
3347
|
+
return take(output, {
|
|
3348
|
+
NextToken: __expectString,
|
|
3349
|
+
PredictorBacktestExportJobs: (_) => de_PredictorBacktestExportJobs(_, context),
|
|
3350
|
+
});
|
|
4612
3351
|
};
|
|
4613
3352
|
const de_ListPredictorsResponse = (output, context) => {
|
|
4614
|
-
return {
|
|
4615
|
-
NextToken: __expectString
|
|
4616
|
-
Predictors:
|
|
4617
|
-
};
|
|
4618
|
-
};
|
|
4619
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
4620
|
-
return {
|
|
4621
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
4622
|
-
};
|
|
3353
|
+
return take(output, {
|
|
3354
|
+
NextToken: __expectString,
|
|
3355
|
+
Predictors: (_) => de_Predictors(_, context),
|
|
3356
|
+
});
|
|
4623
3357
|
};
|
|
4624
3358
|
const de_ListWhatIfAnalysesResponse = (output, context) => {
|
|
4625
|
-
return {
|
|
4626
|
-
NextToken: __expectString
|
|
4627
|
-
WhatIfAnalyses:
|
|
4628
|
-
};
|
|
3359
|
+
return take(output, {
|
|
3360
|
+
NextToken: __expectString,
|
|
3361
|
+
WhatIfAnalyses: (_) => de_WhatIfAnalyses(_, context),
|
|
3362
|
+
});
|
|
4629
3363
|
};
|
|
4630
3364
|
const de_ListWhatIfForecastExportsResponse = (output, context) => {
|
|
4631
|
-
return {
|
|
4632
|
-
NextToken: __expectString
|
|
4633
|
-
WhatIfForecastExports:
|
|
4634
|
-
|
|
4635
|
-
: undefined,
|
|
4636
|
-
};
|
|
3365
|
+
return take(output, {
|
|
3366
|
+
NextToken: __expectString,
|
|
3367
|
+
WhatIfForecastExports: (_) => de_WhatIfForecastExports(_, context),
|
|
3368
|
+
});
|
|
4637
3369
|
};
|
|
4638
3370
|
const de_ListWhatIfForecastsResponse = (output, context) => {
|
|
4639
|
-
return {
|
|
4640
|
-
NextToken: __expectString
|
|
4641
|
-
WhatIfForecasts:
|
|
4642
|
-
};
|
|
4643
|
-
};
|
|
4644
|
-
const de_LongArnList = (output, context) => {
|
|
4645
|
-
const retVal = (output || [])
|
|
4646
|
-
.filter((e) => e != null)
|
|
4647
|
-
.map((entry) => {
|
|
4648
|
-
if (entry === null) {
|
|
4649
|
-
return null;
|
|
4650
|
-
}
|
|
4651
|
-
return __expectString(entry);
|
|
3371
|
+
return take(output, {
|
|
3372
|
+
NextToken: __expectString,
|
|
3373
|
+
WhatIfForecasts: (_) => de_WhatIfForecasts(_, context),
|
|
4652
3374
|
});
|
|
4653
|
-
return retVal;
|
|
4654
3375
|
};
|
|
4655
3376
|
const de_MetricResult = (output, context) => {
|
|
4656
|
-
return {
|
|
4657
|
-
MetricName: __expectString
|
|
4658
|
-
MetricValue: __limitedParseDouble
|
|
4659
|
-
};
|
|
3377
|
+
return take(output, {
|
|
3378
|
+
MetricName: __expectString,
|
|
3379
|
+
MetricValue: __limitedParseDouble,
|
|
3380
|
+
});
|
|
4660
3381
|
};
|
|
4661
3382
|
const de_MetricResults = (output, context) => {
|
|
4662
3383
|
const retVal = (output || [])
|
|
4663
3384
|
.filter((e) => e != null)
|
|
4664
3385
|
.map((entry) => {
|
|
4665
|
-
if (entry === null) {
|
|
4666
|
-
return null;
|
|
4667
|
-
}
|
|
4668
3386
|
return de_MetricResult(entry, context);
|
|
4669
3387
|
});
|
|
4670
3388
|
return retVal;
|
|
4671
3389
|
};
|
|
4672
3390
|
const de_Metrics = (output, context) => {
|
|
4673
|
-
return {
|
|
4674
|
-
AverageWeightedQuantileLoss: __limitedParseDouble
|
|
4675
|
-
ErrorMetrics:
|
|
4676
|
-
RMSE: __limitedParseDouble
|
|
4677
|
-
WeightedQuantileLosses:
|
|
4678
|
-
|
|
4679
|
-
: undefined,
|
|
4680
|
-
};
|
|
4681
|
-
};
|
|
4682
|
-
const de_MonitorDataSource = (output, context) => {
|
|
4683
|
-
return {
|
|
4684
|
-
DatasetImportJobArn: __expectString(output.DatasetImportJobArn),
|
|
4685
|
-
ForecastArn: __expectString(output.ForecastArn),
|
|
4686
|
-
PredictorArn: __expectString(output.PredictorArn),
|
|
4687
|
-
};
|
|
4688
|
-
};
|
|
4689
|
-
const de_MonitorInfo = (output, context) => {
|
|
4690
|
-
return {
|
|
4691
|
-
MonitorArn: __expectString(output.MonitorArn),
|
|
4692
|
-
Status: __expectString(output.Status),
|
|
4693
|
-
};
|
|
3391
|
+
return take(output, {
|
|
3392
|
+
AverageWeightedQuantileLoss: __limitedParseDouble,
|
|
3393
|
+
ErrorMetrics: (_) => de_ErrorMetrics(_, context),
|
|
3394
|
+
RMSE: __limitedParseDouble,
|
|
3395
|
+
WeightedQuantileLosses: (_) => de_WeightedQuantileLosses(_, context),
|
|
3396
|
+
});
|
|
4694
3397
|
};
|
|
4695
3398
|
const de_Monitors = (output, context) => {
|
|
4696
3399
|
const retVal = (output || [])
|
|
4697
3400
|
.filter((e) => e != null)
|
|
4698
3401
|
.map((entry) => {
|
|
4699
|
-
if (entry === null) {
|
|
4700
|
-
return null;
|
|
4701
|
-
}
|
|
4702
3402
|
return de_MonitorSummary(entry, context);
|
|
4703
3403
|
});
|
|
4704
3404
|
return retVal;
|
|
4705
3405
|
};
|
|
4706
3406
|
const de_MonitorSummary = (output, context) => {
|
|
4707
|
-
return {
|
|
4708
|
-
CreationTime:
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
MonitorName: __expectString(output.MonitorName),
|
|
4716
|
-
ResourceArn: __expectString(output.ResourceArn),
|
|
4717
|
-
Status: __expectString(output.Status),
|
|
4718
|
-
};
|
|
3407
|
+
return take(output, {
|
|
3408
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3409
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3410
|
+
MonitorArn: __expectString,
|
|
3411
|
+
MonitorName: __expectString,
|
|
3412
|
+
ResourceArn: __expectString,
|
|
3413
|
+
Status: __expectString,
|
|
3414
|
+
});
|
|
4719
3415
|
};
|
|
4720
3416
|
const de_ParameterRanges = (output, context) => {
|
|
4721
|
-
return {
|
|
4722
|
-
CategoricalParameterRanges:
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
? de_ContinuousParameterRanges(output.ContinuousParameterRanges, context)
|
|
4727
|
-
: undefined,
|
|
4728
|
-
IntegerParameterRanges: output.IntegerParameterRanges != null
|
|
4729
|
-
? de_IntegerParameterRanges(output.IntegerParameterRanges, context)
|
|
4730
|
-
: undefined,
|
|
4731
|
-
};
|
|
3417
|
+
return take(output, {
|
|
3418
|
+
CategoricalParameterRanges: _json,
|
|
3419
|
+
ContinuousParameterRanges: (_) => de_ContinuousParameterRanges(_, context),
|
|
3420
|
+
IntegerParameterRanges: _json,
|
|
3421
|
+
});
|
|
4732
3422
|
};
|
|
4733
3423
|
const de_PredictorBacktestExportJobs = (output, context) => {
|
|
4734
3424
|
const retVal = (output || [])
|
|
4735
3425
|
.filter((e) => e != null)
|
|
4736
3426
|
.map((entry) => {
|
|
4737
|
-
if (entry === null) {
|
|
4738
|
-
return null;
|
|
4739
|
-
}
|
|
4740
3427
|
return de_PredictorBacktestExportJobSummary(entry, context);
|
|
4741
3428
|
});
|
|
4742
3429
|
return retVal;
|
|
4743
3430
|
};
|
|
4744
3431
|
const de_PredictorBacktestExportJobSummary = (output, context) => {
|
|
4745
|
-
return {
|
|
4746
|
-
CreationTime:
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
PredictorBacktestExportJobArn: __expectString(output.PredictorBacktestExportJobArn),
|
|
4755
|
-
PredictorBacktestExportJobName: __expectString(output.PredictorBacktestExportJobName),
|
|
4756
|
-
Status: __expectString(output.Status),
|
|
4757
|
-
};
|
|
3432
|
+
return take(output, {
|
|
3433
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3434
|
+
Destination: _json,
|
|
3435
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3436
|
+
Message: __expectString,
|
|
3437
|
+
PredictorBacktestExportJobArn: __expectString,
|
|
3438
|
+
PredictorBacktestExportJobName: __expectString,
|
|
3439
|
+
Status: __expectString,
|
|
3440
|
+
});
|
|
4758
3441
|
};
|
|
4759
3442
|
const de_PredictorBaseline = (output, context) => {
|
|
4760
|
-
return {
|
|
4761
|
-
BaselineMetrics:
|
|
4762
|
-
};
|
|
3443
|
+
return take(output, {
|
|
3444
|
+
BaselineMetrics: (_) => de_BaselineMetrics(_, context),
|
|
3445
|
+
});
|
|
4763
3446
|
};
|
|
4764
3447
|
const de_PredictorEvaluationResults = (output, context) => {
|
|
4765
3448
|
const retVal = (output || [])
|
|
4766
3449
|
.filter((e) => e != null)
|
|
4767
3450
|
.map((entry) => {
|
|
4768
|
-
if (entry === null) {
|
|
4769
|
-
return null;
|
|
4770
|
-
}
|
|
4771
3451
|
return de_EvaluationResult(entry, context);
|
|
4772
3452
|
});
|
|
4773
3453
|
return retVal;
|
|
4774
3454
|
};
|
|
4775
3455
|
const de_PredictorEvent = (output, context) => {
|
|
4776
|
-
return {
|
|
4777
|
-
Datetime:
|
|
4778
|
-
Detail: __expectString
|
|
4779
|
-
};
|
|
3456
|
+
return take(output, {
|
|
3457
|
+
Datetime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3458
|
+
Detail: __expectString,
|
|
3459
|
+
});
|
|
4780
3460
|
};
|
|
4781
3461
|
const de_PredictorExecution = (output, context) => {
|
|
4782
|
-
return {
|
|
4783
|
-
AlgorithmArn: __expectString
|
|
4784
|
-
TestWindows:
|
|
4785
|
-
};
|
|
3462
|
+
return take(output, {
|
|
3463
|
+
AlgorithmArn: __expectString,
|
|
3464
|
+
TestWindows: (_) => de_TestWindowDetails(_, context),
|
|
3465
|
+
});
|
|
4786
3466
|
};
|
|
4787
3467
|
const de_PredictorExecutionDetails = (output, context) => {
|
|
4788
|
-
return {
|
|
4789
|
-
PredictorExecutions:
|
|
4790
|
-
};
|
|
3468
|
+
return take(output, {
|
|
3469
|
+
PredictorExecutions: (_) => de_PredictorExecutions(_, context),
|
|
3470
|
+
});
|
|
4791
3471
|
};
|
|
4792
3472
|
const de_PredictorExecutions = (output, context) => {
|
|
4793
3473
|
const retVal = (output || [])
|
|
4794
3474
|
.filter((e) => e != null)
|
|
4795
3475
|
.map((entry) => {
|
|
4796
|
-
if (entry === null) {
|
|
4797
|
-
return null;
|
|
4798
|
-
}
|
|
4799
3476
|
return de_PredictorExecution(entry, context);
|
|
4800
3477
|
});
|
|
4801
3478
|
return retVal;
|
|
4802
3479
|
};
|
|
4803
3480
|
const de_PredictorMonitorEvaluation = (output, context) => {
|
|
4804
|
-
return {
|
|
4805
|
-
EvaluationState: __expectString
|
|
4806
|
-
EvaluationTime:
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.WindowEndDatetime)))
|
|
4818
|
-
: undefined,
|
|
4819
|
-
WindowStartDatetime: output.WindowStartDatetime != null
|
|
4820
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.WindowStartDatetime)))
|
|
4821
|
-
: undefined,
|
|
4822
|
-
};
|
|
3481
|
+
return take(output, {
|
|
3482
|
+
EvaluationState: __expectString,
|
|
3483
|
+
EvaluationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3484
|
+
Message: __expectString,
|
|
3485
|
+
MetricResults: (_) => de_MetricResults(_, context),
|
|
3486
|
+
MonitorArn: __expectString,
|
|
3487
|
+
MonitorDataSource: _json,
|
|
3488
|
+
NumItemsEvaluated: __expectLong,
|
|
3489
|
+
PredictorEvent: (_) => de_PredictorEvent(_, context),
|
|
3490
|
+
ResourceArn: __expectString,
|
|
3491
|
+
WindowEndDatetime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3492
|
+
WindowStartDatetime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3493
|
+
});
|
|
4823
3494
|
};
|
|
4824
3495
|
const de_PredictorMonitorEvaluations = (output, context) => {
|
|
4825
3496
|
const retVal = (output || [])
|
|
4826
3497
|
.filter((e) => e != null)
|
|
4827
3498
|
.map((entry) => {
|
|
4828
|
-
if (entry === null) {
|
|
4829
|
-
return null;
|
|
4830
|
-
}
|
|
4831
3499
|
return de_PredictorMonitorEvaluation(entry, context);
|
|
4832
3500
|
});
|
|
4833
3501
|
return retVal;
|
|
@@ -4836,142 +3504,43 @@ const de_Predictors = (output, context) => {
|
|
|
4836
3504
|
const retVal = (output || [])
|
|
4837
3505
|
.filter((e) => e != null)
|
|
4838
3506
|
.map((entry) => {
|
|
4839
|
-
if (entry === null) {
|
|
4840
|
-
return null;
|
|
4841
|
-
}
|
|
4842
3507
|
return de_PredictorSummary(entry, context);
|
|
4843
3508
|
});
|
|
4844
3509
|
return retVal;
|
|
4845
3510
|
};
|
|
4846
3511
|
const de_PredictorSummary = (output, context) => {
|
|
4847
|
-
return {
|
|
4848
|
-
CreationTime:
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
PredictorArn: __expectString(output.PredictorArn),
|
|
4858
|
-
PredictorName: __expectString(output.PredictorName),
|
|
4859
|
-
ReferencePredictorSummary: output.ReferencePredictorSummary != null
|
|
4860
|
-
? de_ReferencePredictorSummary(output.ReferencePredictorSummary, context)
|
|
4861
|
-
: undefined,
|
|
4862
|
-
Status: __expectString(output.Status),
|
|
4863
|
-
};
|
|
4864
|
-
};
|
|
4865
|
-
const de_ReferencePredictorSummary = (output, context) => {
|
|
4866
|
-
return {
|
|
4867
|
-
Arn: __expectString(output.Arn),
|
|
4868
|
-
State: __expectString(output.State),
|
|
4869
|
-
};
|
|
4870
|
-
};
|
|
4871
|
-
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
4872
|
-
return {
|
|
4873
|
-
Message: __expectString(output.Message),
|
|
4874
|
-
};
|
|
4875
|
-
};
|
|
4876
|
-
const de_ResourceInUseException = (output, context) => {
|
|
4877
|
-
return {
|
|
4878
|
-
Message: __expectString(output.Message),
|
|
4879
|
-
};
|
|
4880
|
-
};
|
|
4881
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
4882
|
-
return {
|
|
4883
|
-
Message: __expectString(output.Message),
|
|
4884
|
-
};
|
|
4885
|
-
};
|
|
4886
|
-
const de_S3Config = (output, context) => {
|
|
4887
|
-
return {
|
|
4888
|
-
KMSKeyArn: __expectString(output.KMSKeyArn),
|
|
4889
|
-
Path: __expectString(output.Path),
|
|
4890
|
-
RoleArn: __expectString(output.RoleArn),
|
|
4891
|
-
};
|
|
4892
|
-
};
|
|
4893
|
-
const de_Schema = (output, context) => {
|
|
4894
|
-
return {
|
|
4895
|
-
Attributes: output.Attributes != null ? de_SchemaAttributes(output.Attributes, context) : undefined,
|
|
4896
|
-
};
|
|
4897
|
-
};
|
|
4898
|
-
const de_SchemaAttribute = (output, context) => {
|
|
4899
|
-
return {
|
|
4900
|
-
AttributeName: __expectString(output.AttributeName),
|
|
4901
|
-
AttributeType: __expectString(output.AttributeType),
|
|
4902
|
-
};
|
|
4903
|
-
};
|
|
4904
|
-
const de_SchemaAttributes = (output, context) => {
|
|
4905
|
-
const retVal = (output || [])
|
|
4906
|
-
.filter((e) => e != null)
|
|
4907
|
-
.map((entry) => {
|
|
4908
|
-
if (entry === null) {
|
|
4909
|
-
return null;
|
|
4910
|
-
}
|
|
4911
|
-
return de_SchemaAttribute(entry, context);
|
|
3512
|
+
return take(output, {
|
|
3513
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3514
|
+
DatasetGroupArn: __expectString,
|
|
3515
|
+
IsAutoPredictor: __expectBoolean,
|
|
3516
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3517
|
+
Message: __expectString,
|
|
3518
|
+
PredictorArn: __expectString,
|
|
3519
|
+
PredictorName: __expectString,
|
|
3520
|
+
ReferencePredictorSummary: _json,
|
|
3521
|
+
Status: __expectString,
|
|
4912
3522
|
});
|
|
4913
|
-
return retVal;
|
|
4914
3523
|
};
|
|
4915
3524
|
const de_Statistics = (output, context) => {
|
|
4916
|
-
return {
|
|
4917
|
-
Avg: __limitedParseDouble
|
|
4918
|
-
Count: __expectInt32
|
|
4919
|
-
CountDistinct: __expectInt32
|
|
4920
|
-
CountDistinctLong: __expectLong
|
|
4921
|
-
CountLong: __expectLong
|
|
4922
|
-
CountNan: __expectInt32
|
|
4923
|
-
CountNanLong: __expectLong
|
|
4924
|
-
CountNull: __expectInt32
|
|
4925
|
-
CountNullLong: __expectLong
|
|
4926
|
-
Max: __expectString
|
|
4927
|
-
Min: __expectString
|
|
4928
|
-
Stddev: __limitedParseDouble
|
|
4929
|
-
};
|
|
4930
|
-
};
|
|
4931
|
-
const de_SupplementaryFeature = (output, context) => {
|
|
4932
|
-
return {
|
|
4933
|
-
Name: __expectString(output.Name),
|
|
4934
|
-
Value: __expectString(output.Value),
|
|
4935
|
-
};
|
|
4936
|
-
};
|
|
4937
|
-
const de_SupplementaryFeatures = (output, context) => {
|
|
4938
|
-
const retVal = (output || [])
|
|
4939
|
-
.filter((e) => e != null)
|
|
4940
|
-
.map((entry) => {
|
|
4941
|
-
if (entry === null) {
|
|
4942
|
-
return null;
|
|
4943
|
-
}
|
|
4944
|
-
return de_SupplementaryFeature(entry, context);
|
|
4945
|
-
});
|
|
4946
|
-
return retVal;
|
|
4947
|
-
};
|
|
4948
|
-
const de_Tag = (output, context) => {
|
|
4949
|
-
return {
|
|
4950
|
-
Key: __expectString(output.Key),
|
|
4951
|
-
Value: __expectString(output.Value),
|
|
4952
|
-
};
|
|
4953
|
-
};
|
|
4954
|
-
const de_TagResourceResponse = (output, context) => {
|
|
4955
|
-
return {};
|
|
4956
|
-
};
|
|
4957
|
-
const de_Tags = (output, context) => {
|
|
4958
|
-
const retVal = (output || [])
|
|
4959
|
-
.filter((e) => e != null)
|
|
4960
|
-
.map((entry) => {
|
|
4961
|
-
if (entry === null) {
|
|
4962
|
-
return null;
|
|
4963
|
-
}
|
|
4964
|
-
return de_Tag(entry, context);
|
|
3525
|
+
return take(output, {
|
|
3526
|
+
Avg: __limitedParseDouble,
|
|
3527
|
+
Count: __expectInt32,
|
|
3528
|
+
CountDistinct: __expectInt32,
|
|
3529
|
+
CountDistinctLong: __expectLong,
|
|
3530
|
+
CountLong: __expectLong,
|
|
3531
|
+
CountNan: __expectInt32,
|
|
3532
|
+
CountNanLong: __expectLong,
|
|
3533
|
+
CountNull: __expectInt32,
|
|
3534
|
+
CountNullLong: __expectLong,
|
|
3535
|
+
Max: __expectString,
|
|
3536
|
+
Min: __expectString,
|
|
3537
|
+
Stddev: __limitedParseDouble,
|
|
4965
3538
|
});
|
|
4966
|
-
return retVal;
|
|
4967
3539
|
};
|
|
4968
3540
|
const de_TestWindowDetails = (output, context) => {
|
|
4969
3541
|
const retVal = (output || [])
|
|
4970
3542
|
.filter((e) => e != null)
|
|
4971
3543
|
.map((entry) => {
|
|
4972
|
-
if (entry === null) {
|
|
4973
|
-
return null;
|
|
4974
|
-
}
|
|
4975
3544
|
return de_TestWindowSummary(entry, context);
|
|
4976
3545
|
});
|
|
4977
3546
|
return retVal;
|
|
@@ -4980,138 +3549,42 @@ const de_TestWindows = (output, context) => {
|
|
|
4980
3549
|
const retVal = (output || [])
|
|
4981
3550
|
.filter((e) => e != null)
|
|
4982
3551
|
.map((entry) => {
|
|
4983
|
-
if (entry === null) {
|
|
4984
|
-
return null;
|
|
4985
|
-
}
|
|
4986
3552
|
return de_WindowSummary(entry, context);
|
|
4987
3553
|
});
|
|
4988
3554
|
return retVal;
|
|
4989
3555
|
};
|
|
4990
3556
|
const de_TestWindowSummary = (output, context) => {
|
|
4991
|
-
return {
|
|
4992
|
-
Message: __expectString
|
|
4993
|
-
Status: __expectString
|
|
4994
|
-
TestWindowEnd:
|
|
4995
|
-
|
|
4996
|
-
: undefined,
|
|
4997
|
-
TestWindowStart: output.TestWindowStart != null
|
|
4998
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TestWindowStart)))
|
|
4999
|
-
: undefined,
|
|
5000
|
-
};
|
|
5001
|
-
};
|
|
5002
|
-
const de_TimeAlignmentBoundary = (output, context) => {
|
|
5003
|
-
return {
|
|
5004
|
-
DayOfMonth: __expectInt32(output.DayOfMonth),
|
|
5005
|
-
DayOfWeek: __expectString(output.DayOfWeek),
|
|
5006
|
-
Hour: __expectInt32(output.Hour),
|
|
5007
|
-
Month: __expectString(output.Month),
|
|
5008
|
-
};
|
|
5009
|
-
};
|
|
5010
|
-
const de_TimeSeriesCondition = (output, context) => {
|
|
5011
|
-
return {
|
|
5012
|
-
AttributeName: __expectString(output.AttributeName),
|
|
5013
|
-
AttributeValue: __expectString(output.AttributeValue),
|
|
5014
|
-
Condition: __expectString(output.Condition),
|
|
5015
|
-
};
|
|
5016
|
-
};
|
|
5017
|
-
const de_TimeSeriesConditions = (output, context) => {
|
|
5018
|
-
const retVal = (output || [])
|
|
5019
|
-
.filter((e) => e != null)
|
|
5020
|
-
.map((entry) => {
|
|
5021
|
-
if (entry === null) {
|
|
5022
|
-
return null;
|
|
5023
|
-
}
|
|
5024
|
-
return de_TimeSeriesCondition(entry, context);
|
|
3557
|
+
return take(output, {
|
|
3558
|
+
Message: __expectString,
|
|
3559
|
+
Status: __expectString,
|
|
3560
|
+
TestWindowEnd: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3561
|
+
TestWindowStart: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5025
3562
|
});
|
|
5026
|
-
return retVal;
|
|
5027
|
-
};
|
|
5028
|
-
const de_TimeSeriesIdentifiers = (output, context) => {
|
|
5029
|
-
return {
|
|
5030
|
-
DataSource: output.DataSource != null ? de_DataSource(output.DataSource, context) : undefined,
|
|
5031
|
-
Format: __expectString(output.Format),
|
|
5032
|
-
Schema: output.Schema != null ? de_Schema(output.Schema, context) : undefined,
|
|
5033
|
-
};
|
|
5034
|
-
};
|
|
5035
|
-
const de_TimeSeriesReplacementsDataSource = (output, context) => {
|
|
5036
|
-
return {
|
|
5037
|
-
Format: __expectString(output.Format),
|
|
5038
|
-
S3Config: output.S3Config != null ? de_S3Config(output.S3Config, context) : undefined,
|
|
5039
|
-
Schema: output.Schema != null ? de_Schema(output.Schema, context) : undefined,
|
|
5040
|
-
TimestampFormat: __expectString(output.TimestampFormat),
|
|
5041
|
-
};
|
|
5042
|
-
};
|
|
5043
|
-
const de_TimeSeriesSelector = (output, context) => {
|
|
5044
|
-
return {
|
|
5045
|
-
TimeSeriesIdentifiers: output.TimeSeriesIdentifiers != null
|
|
5046
|
-
? de_TimeSeriesIdentifiers(output.TimeSeriesIdentifiers, context)
|
|
5047
|
-
: undefined,
|
|
5048
|
-
};
|
|
5049
3563
|
};
|
|
5050
3564
|
const de_TimeSeriesTransformation = (output, context) => {
|
|
5051
|
-
return {
|
|
5052
|
-
Action:
|
|
5053
|
-
TimeSeriesConditions:
|
|
5054
|
-
};
|
|
3565
|
+
return take(output, {
|
|
3566
|
+
Action: (_) => de_Action(_, context),
|
|
3567
|
+
TimeSeriesConditions: _json,
|
|
3568
|
+
});
|
|
5055
3569
|
};
|
|
5056
3570
|
const de_TimeSeriesTransformations = (output, context) => {
|
|
5057
3571
|
const retVal = (output || [])
|
|
5058
3572
|
.filter((e) => e != null)
|
|
5059
3573
|
.map((entry) => {
|
|
5060
|
-
if (entry === null) {
|
|
5061
|
-
return null;
|
|
5062
|
-
}
|
|
5063
3574
|
return de_TimeSeriesTransformation(entry, context);
|
|
5064
3575
|
});
|
|
5065
3576
|
return retVal;
|
|
5066
3577
|
};
|
|
5067
|
-
const de_TrainingParameters = (output, context) => {
|
|
5068
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
5069
|
-
if (value === null) {
|
|
5070
|
-
return acc;
|
|
5071
|
-
}
|
|
5072
|
-
acc[key] = __expectString(value);
|
|
5073
|
-
return acc;
|
|
5074
|
-
}, {});
|
|
5075
|
-
};
|
|
5076
|
-
const de_Transformations = (output, context) => {
|
|
5077
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
5078
|
-
if (value === null) {
|
|
5079
|
-
return acc;
|
|
5080
|
-
}
|
|
5081
|
-
acc[key] = __expectString(value);
|
|
5082
|
-
return acc;
|
|
5083
|
-
}, {});
|
|
5084
|
-
};
|
|
5085
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
5086
|
-
return {};
|
|
5087
|
-
};
|
|
5088
|
-
const de_UpdateDatasetGroupResponse = (output, context) => {
|
|
5089
|
-
return {};
|
|
5090
|
-
};
|
|
5091
|
-
const de_Values = (output, context) => {
|
|
5092
|
-
const retVal = (output || [])
|
|
5093
|
-
.filter((e) => e != null)
|
|
5094
|
-
.map((entry) => {
|
|
5095
|
-
if (entry === null) {
|
|
5096
|
-
return null;
|
|
5097
|
-
}
|
|
5098
|
-
return __expectString(entry);
|
|
5099
|
-
});
|
|
5100
|
-
return retVal;
|
|
5101
|
-
};
|
|
5102
3578
|
const de_WeightedQuantileLoss = (output, context) => {
|
|
5103
|
-
return {
|
|
5104
|
-
LossValue: __limitedParseDouble
|
|
5105
|
-
Quantile: __limitedParseDouble
|
|
5106
|
-
};
|
|
3579
|
+
return take(output, {
|
|
3580
|
+
LossValue: __limitedParseDouble,
|
|
3581
|
+
Quantile: __limitedParseDouble,
|
|
3582
|
+
});
|
|
5107
3583
|
};
|
|
5108
3584
|
const de_WeightedQuantileLosses = (output, context) => {
|
|
5109
3585
|
const retVal = (output || [])
|
|
5110
3586
|
.filter((e) => e != null)
|
|
5111
3587
|
.map((entry) => {
|
|
5112
|
-
if (entry === null) {
|
|
5113
|
-
return null;
|
|
5114
|
-
}
|
|
5115
3588
|
return de_WeightedQuantileLoss(entry, context);
|
|
5116
3589
|
});
|
|
5117
3590
|
return retVal;
|
|
@@ -5120,106 +3593,68 @@ const de_WhatIfAnalyses = (output, context) => {
|
|
|
5120
3593
|
const retVal = (output || [])
|
|
5121
3594
|
.filter((e) => e != null)
|
|
5122
3595
|
.map((entry) => {
|
|
5123
|
-
if (entry === null) {
|
|
5124
|
-
return null;
|
|
5125
|
-
}
|
|
5126
3596
|
return de_WhatIfAnalysisSummary(entry, context);
|
|
5127
3597
|
});
|
|
5128
3598
|
return retVal;
|
|
5129
3599
|
};
|
|
5130
3600
|
const de_WhatIfAnalysisSummary = (output, context) => {
|
|
5131
|
-
return {
|
|
5132
|
-
CreationTime:
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
Message: __expectString(output.Message),
|
|
5140
|
-
Status: __expectString(output.Status),
|
|
5141
|
-
WhatIfAnalysisArn: __expectString(output.WhatIfAnalysisArn),
|
|
5142
|
-
WhatIfAnalysisName: __expectString(output.WhatIfAnalysisName),
|
|
5143
|
-
};
|
|
5144
|
-
};
|
|
5145
|
-
const de_WhatIfForecastArnListForExport = (output, context) => {
|
|
5146
|
-
const retVal = (output || [])
|
|
5147
|
-
.filter((e) => e != null)
|
|
5148
|
-
.map((entry) => {
|
|
5149
|
-
if (entry === null) {
|
|
5150
|
-
return null;
|
|
5151
|
-
}
|
|
5152
|
-
return __expectString(entry);
|
|
3601
|
+
return take(output, {
|
|
3602
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3603
|
+
ForecastArn: __expectString,
|
|
3604
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3605
|
+
Message: __expectString,
|
|
3606
|
+
Status: __expectString,
|
|
3607
|
+
WhatIfAnalysisArn: __expectString,
|
|
3608
|
+
WhatIfAnalysisName: __expectString,
|
|
5153
3609
|
});
|
|
5154
|
-
return retVal;
|
|
5155
3610
|
};
|
|
5156
3611
|
const de_WhatIfForecastExports = (output, context) => {
|
|
5157
3612
|
const retVal = (output || [])
|
|
5158
3613
|
.filter((e) => e != null)
|
|
5159
3614
|
.map((entry) => {
|
|
5160
|
-
if (entry === null) {
|
|
5161
|
-
return null;
|
|
5162
|
-
}
|
|
5163
3615
|
return de_WhatIfForecastExportSummary(entry, context);
|
|
5164
3616
|
});
|
|
5165
3617
|
return retVal;
|
|
5166
3618
|
};
|
|
5167
3619
|
const de_WhatIfForecastExportSummary = (output, context) => {
|
|
5168
|
-
return {
|
|
5169
|
-
CreationTime:
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
WhatIfForecastArns: output.WhatIfForecastArns != null
|
|
5179
|
-
? de_WhatIfForecastArnListForExport(output.WhatIfForecastArns, context)
|
|
5180
|
-
: undefined,
|
|
5181
|
-
WhatIfForecastExportArn: __expectString(output.WhatIfForecastExportArn),
|
|
5182
|
-
WhatIfForecastExportName: __expectString(output.WhatIfForecastExportName),
|
|
5183
|
-
};
|
|
3620
|
+
return take(output, {
|
|
3621
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3622
|
+
Destination: _json,
|
|
3623
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3624
|
+
Message: __expectString,
|
|
3625
|
+
Status: __expectString,
|
|
3626
|
+
WhatIfForecastArns: _json,
|
|
3627
|
+
WhatIfForecastExportArn: __expectString,
|
|
3628
|
+
WhatIfForecastExportName: __expectString,
|
|
3629
|
+
});
|
|
5184
3630
|
};
|
|
5185
3631
|
const de_WhatIfForecasts = (output, context) => {
|
|
5186
3632
|
const retVal = (output || [])
|
|
5187
3633
|
.filter((e) => e != null)
|
|
5188
3634
|
.map((entry) => {
|
|
5189
|
-
if (entry === null) {
|
|
5190
|
-
return null;
|
|
5191
|
-
}
|
|
5192
3635
|
return de_WhatIfForecastSummary(entry, context);
|
|
5193
3636
|
});
|
|
5194
3637
|
return retVal;
|
|
5195
3638
|
};
|
|
5196
3639
|
const de_WhatIfForecastSummary = (output, context) => {
|
|
5197
|
-
return {
|
|
5198
|
-
CreationTime:
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
WhatIfAnalysisArn: __expectString(output.WhatIfAnalysisArn),
|
|
5207
|
-
WhatIfForecastArn: __expectString(output.WhatIfForecastArn),
|
|
5208
|
-
WhatIfForecastName: __expectString(output.WhatIfForecastName),
|
|
5209
|
-
};
|
|
3640
|
+
return take(output, {
|
|
3641
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3642
|
+
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3643
|
+
Message: __expectString,
|
|
3644
|
+
Status: __expectString,
|
|
3645
|
+
WhatIfAnalysisArn: __expectString,
|
|
3646
|
+
WhatIfForecastArn: __expectString,
|
|
3647
|
+
WhatIfForecastName: __expectString,
|
|
3648
|
+
});
|
|
5210
3649
|
};
|
|
5211
3650
|
const de_WindowSummary = (output, context) => {
|
|
5212
|
-
return {
|
|
5213
|
-
EvaluationType: __expectString
|
|
5214
|
-
ItemCount: __expectInt32
|
|
5215
|
-
Metrics:
|
|
5216
|
-
TestWindowEnd:
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
TestWindowStart: output.TestWindowStart != null
|
|
5220
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TestWindowStart)))
|
|
5221
|
-
: undefined,
|
|
5222
|
-
};
|
|
3651
|
+
return take(output, {
|
|
3652
|
+
EvaluationType: __expectString,
|
|
3653
|
+
ItemCount: __expectInt32,
|
|
3654
|
+
Metrics: (_) => de_Metrics(_, context),
|
|
3655
|
+
TestWindowEnd: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3656
|
+
TestWindowStart: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3657
|
+
});
|
|
5223
3658
|
};
|
|
5224
3659
|
const deserializeMetadata = (output) => ({
|
|
5225
3660
|
httpStatusCode: output.statusCode,
|
|
@@ -5234,6 +3669,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5234
3669
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5235
3670
|
};
|
|
5236
3671
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3672
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
5237
3673
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5238
3674
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5239
3675
|
const contents = {
|