@aws-sdk/client-personalize 3.312.0 → 3.316.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/Personalize.js +70 -924
- package/dist-cjs/protocols/Aws_json1_1.js +744 -2085
- package/dist-es/Personalize.js +70 -924
- package/dist-es/protocols/Aws_json1_1.js +745 -2086
- package/dist-types/Personalize.d.ts +74 -844
- package/dist-types/ts3.4/Personalize.d.ts +4 -1
- package/package.json +6 -6
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, 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, 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 { InvalidInputException, InvalidNextTokenException, LimitExceededException, ResourceAlreadyExistsException, ResourceInUseException, ResourceNotFoundException, TooManyTagKeysException, TooManyTagsException, } from "../models/models_0";
|
|
4
4
|
import { PersonalizeServiceException as __BaseException } from "../models/PersonalizeServiceException";
|
|
5
5
|
export const se_CreateBatchInferenceJobCommand = async (input, context) => {
|
|
6
6
|
const headers = sharedHeaders("CreateBatchInferenceJob");
|
|
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_CreateBatchSegmentJobCommand = async (input, context) => {
|
|
12
12
|
const headers = sharedHeaders("CreateBatchSegmentJob");
|
|
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_CreateCampaignCommand = async (input, context) => {
|
|
18
18
|
const headers = sharedHeaders("CreateCampaign");
|
|
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_CreateDatasetCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CreateDataset");
|
|
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_CreateDatasetExportJobCommand = async (input, context) => {
|
|
30
30
|
const headers = sharedHeaders("CreateDatasetExportJob");
|
|
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_CreateDatasetGroupCommand = async (input, context) => {
|
|
36
36
|
const headers = sharedHeaders("CreateDatasetGroup");
|
|
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_CreateDatasetImportJobCommand = async (input, context) => {
|
|
42
42
|
const headers = sharedHeaders("CreateDatasetImportJob");
|
|
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_CreateEventTrackerCommand = async (input, context) => {
|
|
48
48
|
const headers = sharedHeaders("CreateEventTracker");
|
|
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_CreateFilterCommand = async (input, context) => {
|
|
54
54
|
const headers = sharedHeaders("CreateFilter");
|
|
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_CreateMetricAttributionCommand = async (input, context) => {
|
|
60
60
|
const headers = sharedHeaders("CreateMetricAttribution");
|
|
61
61
|
let body;
|
|
62
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify(_json(input));
|
|
63
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
64
64
|
};
|
|
65
65
|
export const se_CreateRecommenderCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("CreateRecommender");
|
|
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_CreateSchemaCommand = async (input, context) => {
|
|
72
72
|
const headers = sharedHeaders("CreateSchema");
|
|
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_CreateSolutionCommand = async (input, context) => {
|
|
@@ -83,319 +83,319 @@ export const se_CreateSolutionCommand = async (input, context) => {
|
|
|
83
83
|
export const se_CreateSolutionVersionCommand = async (input, context) => {
|
|
84
84
|
const headers = sharedHeaders("CreateSolutionVersion");
|
|
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_DeleteCampaignCommand = async (input, context) => {
|
|
90
90
|
const headers = sharedHeaders("DeleteCampaign");
|
|
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_DeleteDatasetCommand = async (input, context) => {
|
|
96
96
|
const headers = sharedHeaders("DeleteDataset");
|
|
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_DeleteDatasetGroupCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("DeleteDatasetGroup");
|
|
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_DeleteEventTrackerCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("DeleteEventTracker");
|
|
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_DeleteFilterCommand = async (input, context) => {
|
|
114
114
|
const headers = sharedHeaders("DeleteFilter");
|
|
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_DeleteMetricAttributionCommand = async (input, context) => {
|
|
120
120
|
const headers = sharedHeaders("DeleteMetricAttribution");
|
|
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_DeleteRecommenderCommand = async (input, context) => {
|
|
126
126
|
const headers = sharedHeaders("DeleteRecommender");
|
|
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_DeleteSchemaCommand = async (input, context) => {
|
|
132
132
|
const headers = sharedHeaders("DeleteSchema");
|
|
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_DeleteSolutionCommand = async (input, context) => {
|
|
138
138
|
const headers = sharedHeaders("DeleteSolution");
|
|
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_DescribeAlgorithmCommand = async (input, context) => {
|
|
144
144
|
const headers = sharedHeaders("DescribeAlgorithm");
|
|
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_DescribeBatchInferenceJobCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("DescribeBatchInferenceJob");
|
|
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_DescribeBatchSegmentJobCommand = async (input, context) => {
|
|
156
156
|
const headers = sharedHeaders("DescribeBatchSegmentJob");
|
|
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_DescribeCampaignCommand = async (input, context) => {
|
|
162
162
|
const headers = sharedHeaders("DescribeCampaign");
|
|
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_DescribeDatasetCommand = async (input, context) => {
|
|
168
168
|
const headers = sharedHeaders("DescribeDataset");
|
|
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_DescribeDatasetExportJobCommand = async (input, context) => {
|
|
174
174
|
const headers = sharedHeaders("DescribeDatasetExportJob");
|
|
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_DescribeDatasetGroupCommand = async (input, context) => {
|
|
180
180
|
const headers = sharedHeaders("DescribeDatasetGroup");
|
|
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_DescribeDatasetImportJobCommand = async (input, context) => {
|
|
186
186
|
const headers = sharedHeaders("DescribeDatasetImportJob");
|
|
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_DescribeEventTrackerCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("DescribeEventTracker");
|
|
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_DescribeFeatureTransformationCommand = async (input, context) => {
|
|
198
198
|
const headers = sharedHeaders("DescribeFeatureTransformation");
|
|
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_DescribeFilterCommand = async (input, context) => {
|
|
204
204
|
const headers = sharedHeaders("DescribeFilter");
|
|
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_DescribeMetricAttributionCommand = async (input, context) => {
|
|
210
210
|
const headers = sharedHeaders("DescribeMetricAttribution");
|
|
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_DescribeRecipeCommand = async (input, context) => {
|
|
216
216
|
const headers = sharedHeaders("DescribeRecipe");
|
|
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_DescribeRecommenderCommand = async (input, context) => {
|
|
222
222
|
const headers = sharedHeaders("DescribeRecommender");
|
|
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_DescribeSchemaCommand = async (input, context) => {
|
|
228
228
|
const headers = sharedHeaders("DescribeSchema");
|
|
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_DescribeSolutionCommand = async (input, context) => {
|
|
234
234
|
const headers = sharedHeaders("DescribeSolution");
|
|
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_DescribeSolutionVersionCommand = async (input, context) => {
|
|
240
240
|
const headers = sharedHeaders("DescribeSolutionVersion");
|
|
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_GetSolutionMetricsCommand = async (input, context) => {
|
|
246
246
|
const headers = sharedHeaders("GetSolutionMetrics");
|
|
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_ListBatchInferenceJobsCommand = async (input, context) => {
|
|
252
252
|
const headers = sharedHeaders("ListBatchInferenceJobs");
|
|
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_ListBatchSegmentJobsCommand = async (input, context) => {
|
|
258
258
|
const headers = sharedHeaders("ListBatchSegmentJobs");
|
|
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_ListCampaignsCommand = async (input, context) => {
|
|
264
264
|
const headers = sharedHeaders("ListCampaigns");
|
|
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_ListDatasetExportJobsCommand = async (input, context) => {
|
|
270
270
|
const headers = sharedHeaders("ListDatasetExportJobs");
|
|
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_ListDatasetGroupsCommand = async (input, context) => {
|
|
276
276
|
const headers = sharedHeaders("ListDatasetGroups");
|
|
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_ListDatasetImportJobsCommand = async (input, context) => {
|
|
282
282
|
const headers = sharedHeaders("ListDatasetImportJobs");
|
|
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_ListDatasetsCommand = async (input, context) => {
|
|
288
288
|
const headers = sharedHeaders("ListDatasets");
|
|
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_ListEventTrackersCommand = async (input, context) => {
|
|
294
294
|
const headers = sharedHeaders("ListEventTrackers");
|
|
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_ListFiltersCommand = async (input, context) => {
|
|
300
300
|
const headers = sharedHeaders("ListFilters");
|
|
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_ListMetricAttributionMetricsCommand = async (input, context) => {
|
|
306
306
|
const headers = sharedHeaders("ListMetricAttributionMetrics");
|
|
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_ListMetricAttributionsCommand = async (input, context) => {
|
|
312
312
|
const headers = sharedHeaders("ListMetricAttributions");
|
|
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_ListRecipesCommand = async (input, context) => {
|
|
318
318
|
const headers = sharedHeaders("ListRecipes");
|
|
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_ListRecommendersCommand = async (input, context) => {
|
|
324
324
|
const headers = sharedHeaders("ListRecommenders");
|
|
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_ListSchemasCommand = async (input, context) => {
|
|
330
330
|
const headers = sharedHeaders("ListSchemas");
|
|
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_ListSolutionsCommand = async (input, context) => {
|
|
336
336
|
const headers = sharedHeaders("ListSolutions");
|
|
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_ListSolutionVersionsCommand = async (input, context) => {
|
|
342
342
|
const headers = sharedHeaders("ListSolutionVersions");
|
|
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_ListTagsForResourceCommand = async (input, context) => {
|
|
348
348
|
const headers = sharedHeaders("ListTagsForResource");
|
|
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_StartRecommenderCommand = async (input, context) => {
|
|
354
354
|
const headers = sharedHeaders("StartRecommender");
|
|
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_StopRecommenderCommand = async (input, context) => {
|
|
360
360
|
const headers = sharedHeaders("StopRecommender");
|
|
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_StopSolutionVersionCreationCommand = async (input, context) => {
|
|
366
366
|
const headers = sharedHeaders("StopSolutionVersionCreation");
|
|
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_TagResourceCommand = async (input, context) => {
|
|
372
372
|
const headers = sharedHeaders("TagResource");
|
|
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_UntagResourceCommand = async (input, context) => {
|
|
378
378
|
const headers = sharedHeaders("UntagResource");
|
|
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 se_UpdateCampaignCommand = async (input, context) => {
|
|
384
384
|
const headers = sharedHeaders("UpdateCampaign");
|
|
385
385
|
let body;
|
|
386
|
-
body = JSON.stringify(
|
|
386
|
+
body = JSON.stringify(_json(input));
|
|
387
387
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
388
388
|
};
|
|
389
389
|
export const se_UpdateMetricAttributionCommand = async (input, context) => {
|
|
390
390
|
const headers = sharedHeaders("UpdateMetricAttribution");
|
|
391
391
|
let body;
|
|
392
|
-
body = JSON.stringify(
|
|
392
|
+
body = JSON.stringify(_json(input));
|
|
393
393
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
394
394
|
};
|
|
395
395
|
export const se_UpdateRecommenderCommand = async (input, context) => {
|
|
396
396
|
const headers = sharedHeaders("UpdateRecommender");
|
|
397
397
|
let body;
|
|
398
|
-
body = JSON.stringify(
|
|
398
|
+
body = JSON.stringify(_json(input));
|
|
399
399
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
400
400
|
};
|
|
401
401
|
export const de_CreateBatchInferenceJobCommand = async (output, context) => {
|
|
@@ -404,12 +404,12 @@ export const de_CreateBatchInferenceJobCommand = async (output, context) => {
|
|
|
404
404
|
}
|
|
405
405
|
const data = await parseBody(output.body, context);
|
|
406
406
|
let contents = {};
|
|
407
|
-
contents =
|
|
407
|
+
contents = _json(data);
|
|
408
408
|
const response = {
|
|
409
409
|
$metadata: deserializeMetadata(output),
|
|
410
410
|
...contents,
|
|
411
411
|
};
|
|
412
|
-
return
|
|
412
|
+
return response;
|
|
413
413
|
};
|
|
414
414
|
const de_CreateBatchInferenceJobCommandError = async (output, context) => {
|
|
415
415
|
const parsedOutput = {
|
|
@@ -438,10 +438,9 @@ const de_CreateBatchInferenceJobCommandError = async (output, context) => {
|
|
|
438
438
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
439
439
|
default:
|
|
440
440
|
const parsedBody = parsedOutput.body;
|
|
441
|
-
throwDefaultError({
|
|
441
|
+
return throwDefaultError({
|
|
442
442
|
output,
|
|
443
443
|
parsedBody,
|
|
444
|
-
exceptionCtor: __BaseException,
|
|
445
444
|
errorCode,
|
|
446
445
|
});
|
|
447
446
|
}
|
|
@@ -452,12 +451,12 @@ export const de_CreateBatchSegmentJobCommand = async (output, context) => {
|
|
|
452
451
|
}
|
|
453
452
|
const data = await parseBody(output.body, context);
|
|
454
453
|
let contents = {};
|
|
455
|
-
contents =
|
|
454
|
+
contents = _json(data);
|
|
456
455
|
const response = {
|
|
457
456
|
$metadata: deserializeMetadata(output),
|
|
458
457
|
...contents,
|
|
459
458
|
};
|
|
460
|
-
return
|
|
459
|
+
return response;
|
|
461
460
|
};
|
|
462
461
|
const de_CreateBatchSegmentJobCommandError = async (output, context) => {
|
|
463
462
|
const parsedOutput = {
|
|
@@ -486,10 +485,9 @@ const de_CreateBatchSegmentJobCommandError = async (output, context) => {
|
|
|
486
485
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
487
486
|
default:
|
|
488
487
|
const parsedBody = parsedOutput.body;
|
|
489
|
-
throwDefaultError({
|
|
488
|
+
return throwDefaultError({
|
|
490
489
|
output,
|
|
491
490
|
parsedBody,
|
|
492
|
-
exceptionCtor: __BaseException,
|
|
493
491
|
errorCode,
|
|
494
492
|
});
|
|
495
493
|
}
|
|
@@ -500,12 +498,12 @@ export const de_CreateCampaignCommand = async (output, context) => {
|
|
|
500
498
|
}
|
|
501
499
|
const data = await parseBody(output.body, context);
|
|
502
500
|
let contents = {};
|
|
503
|
-
contents =
|
|
501
|
+
contents = _json(data);
|
|
504
502
|
const response = {
|
|
505
503
|
$metadata: deserializeMetadata(output),
|
|
506
504
|
...contents,
|
|
507
505
|
};
|
|
508
|
-
return
|
|
506
|
+
return response;
|
|
509
507
|
};
|
|
510
508
|
const de_CreateCampaignCommandError = async (output, context) => {
|
|
511
509
|
const parsedOutput = {
|
|
@@ -534,10 +532,9 @@ const de_CreateCampaignCommandError = async (output, context) => {
|
|
|
534
532
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
535
533
|
default:
|
|
536
534
|
const parsedBody = parsedOutput.body;
|
|
537
|
-
throwDefaultError({
|
|
535
|
+
return throwDefaultError({
|
|
538
536
|
output,
|
|
539
537
|
parsedBody,
|
|
540
|
-
exceptionCtor: __BaseException,
|
|
541
538
|
errorCode,
|
|
542
539
|
});
|
|
543
540
|
}
|
|
@@ -548,12 +545,12 @@ export const de_CreateDatasetCommand = async (output, context) => {
|
|
|
548
545
|
}
|
|
549
546
|
const data = await parseBody(output.body, context);
|
|
550
547
|
let contents = {};
|
|
551
|
-
contents =
|
|
548
|
+
contents = _json(data);
|
|
552
549
|
const response = {
|
|
553
550
|
$metadata: deserializeMetadata(output),
|
|
554
551
|
...contents,
|
|
555
552
|
};
|
|
556
|
-
return
|
|
553
|
+
return response;
|
|
557
554
|
};
|
|
558
555
|
const de_CreateDatasetCommandError = async (output, context) => {
|
|
559
556
|
const parsedOutput = {
|
|
@@ -582,10 +579,9 @@ const de_CreateDatasetCommandError = async (output, context) => {
|
|
|
582
579
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
583
580
|
default:
|
|
584
581
|
const parsedBody = parsedOutput.body;
|
|
585
|
-
throwDefaultError({
|
|
582
|
+
return throwDefaultError({
|
|
586
583
|
output,
|
|
587
584
|
parsedBody,
|
|
588
|
-
exceptionCtor: __BaseException,
|
|
589
585
|
errorCode,
|
|
590
586
|
});
|
|
591
587
|
}
|
|
@@ -596,12 +592,12 @@ export const de_CreateDatasetExportJobCommand = async (output, context) => {
|
|
|
596
592
|
}
|
|
597
593
|
const data = await parseBody(output.body, context);
|
|
598
594
|
let contents = {};
|
|
599
|
-
contents =
|
|
595
|
+
contents = _json(data);
|
|
600
596
|
const response = {
|
|
601
597
|
$metadata: deserializeMetadata(output),
|
|
602
598
|
...contents,
|
|
603
599
|
};
|
|
604
|
-
return
|
|
600
|
+
return response;
|
|
605
601
|
};
|
|
606
602
|
const de_CreateDatasetExportJobCommandError = async (output, context) => {
|
|
607
603
|
const parsedOutput = {
|
|
@@ -630,10 +626,9 @@ const de_CreateDatasetExportJobCommandError = async (output, context) => {
|
|
|
630
626
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
631
627
|
default:
|
|
632
628
|
const parsedBody = parsedOutput.body;
|
|
633
|
-
throwDefaultError({
|
|
629
|
+
return throwDefaultError({
|
|
634
630
|
output,
|
|
635
631
|
parsedBody,
|
|
636
|
-
exceptionCtor: __BaseException,
|
|
637
632
|
errorCode,
|
|
638
633
|
});
|
|
639
634
|
}
|
|
@@ -644,12 +639,12 @@ export const de_CreateDatasetGroupCommand = async (output, context) => {
|
|
|
644
639
|
}
|
|
645
640
|
const data = await parseBody(output.body, context);
|
|
646
641
|
let contents = {};
|
|
647
|
-
contents =
|
|
642
|
+
contents = _json(data);
|
|
648
643
|
const response = {
|
|
649
644
|
$metadata: deserializeMetadata(output),
|
|
650
645
|
...contents,
|
|
651
646
|
};
|
|
652
|
-
return
|
|
647
|
+
return response;
|
|
653
648
|
};
|
|
654
649
|
const de_CreateDatasetGroupCommandError = async (output, context) => {
|
|
655
650
|
const parsedOutput = {
|
|
@@ -672,10 +667,9 @@ const de_CreateDatasetGroupCommandError = async (output, context) => {
|
|
|
672
667
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
673
668
|
default:
|
|
674
669
|
const parsedBody = parsedOutput.body;
|
|
675
|
-
throwDefaultError({
|
|
670
|
+
return throwDefaultError({
|
|
676
671
|
output,
|
|
677
672
|
parsedBody,
|
|
678
|
-
exceptionCtor: __BaseException,
|
|
679
673
|
errorCode,
|
|
680
674
|
});
|
|
681
675
|
}
|
|
@@ -686,12 +680,12 @@ export const de_CreateDatasetImportJobCommand = async (output, context) => {
|
|
|
686
680
|
}
|
|
687
681
|
const data = await parseBody(output.body, context);
|
|
688
682
|
let contents = {};
|
|
689
|
-
contents =
|
|
683
|
+
contents = _json(data);
|
|
690
684
|
const response = {
|
|
691
685
|
$metadata: deserializeMetadata(output),
|
|
692
686
|
...contents,
|
|
693
687
|
};
|
|
694
|
-
return
|
|
688
|
+
return response;
|
|
695
689
|
};
|
|
696
690
|
const de_CreateDatasetImportJobCommandError = async (output, context) => {
|
|
697
691
|
const parsedOutput = {
|
|
@@ -720,10 +714,9 @@ const de_CreateDatasetImportJobCommandError = async (output, context) => {
|
|
|
720
714
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
721
715
|
default:
|
|
722
716
|
const parsedBody = parsedOutput.body;
|
|
723
|
-
throwDefaultError({
|
|
717
|
+
return throwDefaultError({
|
|
724
718
|
output,
|
|
725
719
|
parsedBody,
|
|
726
|
-
exceptionCtor: __BaseException,
|
|
727
720
|
errorCode,
|
|
728
721
|
});
|
|
729
722
|
}
|
|
@@ -734,12 +727,12 @@ export const de_CreateEventTrackerCommand = async (output, context) => {
|
|
|
734
727
|
}
|
|
735
728
|
const data = await parseBody(output.body, context);
|
|
736
729
|
let contents = {};
|
|
737
|
-
contents =
|
|
730
|
+
contents = _json(data);
|
|
738
731
|
const response = {
|
|
739
732
|
$metadata: deserializeMetadata(output),
|
|
740
733
|
...contents,
|
|
741
734
|
};
|
|
742
|
-
return
|
|
735
|
+
return response;
|
|
743
736
|
};
|
|
744
737
|
const de_CreateEventTrackerCommandError = async (output, context) => {
|
|
745
738
|
const parsedOutput = {
|
|
@@ -768,10 +761,9 @@ const de_CreateEventTrackerCommandError = async (output, context) => {
|
|
|
768
761
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
769
762
|
default:
|
|
770
763
|
const parsedBody = parsedOutput.body;
|
|
771
|
-
throwDefaultError({
|
|
764
|
+
return throwDefaultError({
|
|
772
765
|
output,
|
|
773
766
|
parsedBody,
|
|
774
|
-
exceptionCtor: __BaseException,
|
|
775
767
|
errorCode,
|
|
776
768
|
});
|
|
777
769
|
}
|
|
@@ -782,12 +774,12 @@ export const de_CreateFilterCommand = async (output, context) => {
|
|
|
782
774
|
}
|
|
783
775
|
const data = await parseBody(output.body, context);
|
|
784
776
|
let contents = {};
|
|
785
|
-
contents =
|
|
777
|
+
contents = _json(data);
|
|
786
778
|
const response = {
|
|
787
779
|
$metadata: deserializeMetadata(output),
|
|
788
780
|
...contents,
|
|
789
781
|
};
|
|
790
|
-
return
|
|
782
|
+
return response;
|
|
791
783
|
};
|
|
792
784
|
const de_CreateFilterCommandError = async (output, context) => {
|
|
793
785
|
const parsedOutput = {
|
|
@@ -813,10 +805,9 @@ const de_CreateFilterCommandError = async (output, context) => {
|
|
|
813
805
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
814
806
|
default:
|
|
815
807
|
const parsedBody = parsedOutput.body;
|
|
816
|
-
throwDefaultError({
|
|
808
|
+
return throwDefaultError({
|
|
817
809
|
output,
|
|
818
810
|
parsedBody,
|
|
819
|
-
exceptionCtor: __BaseException,
|
|
820
811
|
errorCode,
|
|
821
812
|
});
|
|
822
813
|
}
|
|
@@ -827,12 +818,12 @@ export const de_CreateMetricAttributionCommand = async (output, context) => {
|
|
|
827
818
|
}
|
|
828
819
|
const data = await parseBody(output.body, context);
|
|
829
820
|
let contents = {};
|
|
830
|
-
contents =
|
|
821
|
+
contents = _json(data);
|
|
831
822
|
const response = {
|
|
832
823
|
$metadata: deserializeMetadata(output),
|
|
833
824
|
...contents,
|
|
834
825
|
};
|
|
835
|
-
return
|
|
826
|
+
return response;
|
|
836
827
|
};
|
|
837
828
|
const de_CreateMetricAttributionCommandError = async (output, context) => {
|
|
838
829
|
const parsedOutput = {
|
|
@@ -858,10 +849,9 @@ const de_CreateMetricAttributionCommandError = async (output, context) => {
|
|
|
858
849
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
859
850
|
default:
|
|
860
851
|
const parsedBody = parsedOutput.body;
|
|
861
|
-
throwDefaultError({
|
|
852
|
+
return throwDefaultError({
|
|
862
853
|
output,
|
|
863
854
|
parsedBody,
|
|
864
|
-
exceptionCtor: __BaseException,
|
|
865
855
|
errorCode,
|
|
866
856
|
});
|
|
867
857
|
}
|
|
@@ -872,12 +862,12 @@ export const de_CreateRecommenderCommand = async (output, context) => {
|
|
|
872
862
|
}
|
|
873
863
|
const data = await parseBody(output.body, context);
|
|
874
864
|
let contents = {};
|
|
875
|
-
contents =
|
|
865
|
+
contents = _json(data);
|
|
876
866
|
const response = {
|
|
877
867
|
$metadata: deserializeMetadata(output),
|
|
878
868
|
...contents,
|
|
879
869
|
};
|
|
880
|
-
return
|
|
870
|
+
return response;
|
|
881
871
|
};
|
|
882
872
|
const de_CreateRecommenderCommandError = async (output, context) => {
|
|
883
873
|
const parsedOutput = {
|
|
@@ -906,10 +896,9 @@ const de_CreateRecommenderCommandError = async (output, context) => {
|
|
|
906
896
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
907
897
|
default:
|
|
908
898
|
const parsedBody = parsedOutput.body;
|
|
909
|
-
throwDefaultError({
|
|
899
|
+
return throwDefaultError({
|
|
910
900
|
output,
|
|
911
901
|
parsedBody,
|
|
912
|
-
exceptionCtor: __BaseException,
|
|
913
902
|
errorCode,
|
|
914
903
|
});
|
|
915
904
|
}
|
|
@@ -920,12 +909,12 @@ export const de_CreateSchemaCommand = async (output, context) => {
|
|
|
920
909
|
}
|
|
921
910
|
const data = await parseBody(output.body, context);
|
|
922
911
|
let contents = {};
|
|
923
|
-
contents =
|
|
912
|
+
contents = _json(data);
|
|
924
913
|
const response = {
|
|
925
914
|
$metadata: deserializeMetadata(output),
|
|
926
915
|
...contents,
|
|
927
916
|
};
|
|
928
|
-
return
|
|
917
|
+
return response;
|
|
929
918
|
};
|
|
930
919
|
const de_CreateSchemaCommandError = async (output, context) => {
|
|
931
920
|
const parsedOutput = {
|
|
@@ -945,10 +934,9 @@ const de_CreateSchemaCommandError = async (output, context) => {
|
|
|
945
934
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
946
935
|
default:
|
|
947
936
|
const parsedBody = parsedOutput.body;
|
|
948
|
-
throwDefaultError({
|
|
937
|
+
return throwDefaultError({
|
|
949
938
|
output,
|
|
950
939
|
parsedBody,
|
|
951
|
-
exceptionCtor: __BaseException,
|
|
952
940
|
errorCode,
|
|
953
941
|
});
|
|
954
942
|
}
|
|
@@ -959,12 +947,12 @@ export const de_CreateSolutionCommand = async (output, context) => {
|
|
|
959
947
|
}
|
|
960
948
|
const data = await parseBody(output.body, context);
|
|
961
949
|
let contents = {};
|
|
962
|
-
contents =
|
|
950
|
+
contents = _json(data);
|
|
963
951
|
const response = {
|
|
964
952
|
$metadata: deserializeMetadata(output),
|
|
965
953
|
...contents,
|
|
966
954
|
};
|
|
967
|
-
return
|
|
955
|
+
return response;
|
|
968
956
|
};
|
|
969
957
|
const de_CreateSolutionCommandError = async (output, context) => {
|
|
970
958
|
const parsedOutput = {
|
|
@@ -993,10 +981,9 @@ const de_CreateSolutionCommandError = async (output, context) => {
|
|
|
993
981
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
994
982
|
default:
|
|
995
983
|
const parsedBody = parsedOutput.body;
|
|
996
|
-
throwDefaultError({
|
|
984
|
+
return throwDefaultError({
|
|
997
985
|
output,
|
|
998
986
|
parsedBody,
|
|
999
|
-
exceptionCtor: __BaseException,
|
|
1000
987
|
errorCode,
|
|
1001
988
|
});
|
|
1002
989
|
}
|
|
@@ -1007,12 +994,12 @@ export const de_CreateSolutionVersionCommand = async (output, context) => {
|
|
|
1007
994
|
}
|
|
1008
995
|
const data = await parseBody(output.body, context);
|
|
1009
996
|
let contents = {};
|
|
1010
|
-
contents =
|
|
997
|
+
contents = _json(data);
|
|
1011
998
|
const response = {
|
|
1012
999
|
$metadata: deserializeMetadata(output),
|
|
1013
1000
|
...contents,
|
|
1014
1001
|
};
|
|
1015
|
-
return
|
|
1002
|
+
return response;
|
|
1016
1003
|
};
|
|
1017
1004
|
const de_CreateSolutionVersionCommandError = async (output, context) => {
|
|
1018
1005
|
const parsedOutput = {
|
|
@@ -1041,10 +1028,9 @@ const de_CreateSolutionVersionCommandError = async (output, context) => {
|
|
|
1041
1028
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1042
1029
|
default:
|
|
1043
1030
|
const parsedBody = parsedOutput.body;
|
|
1044
|
-
throwDefaultError({
|
|
1031
|
+
return throwDefaultError({
|
|
1045
1032
|
output,
|
|
1046
1033
|
parsedBody,
|
|
1047
|
-
exceptionCtor: __BaseException,
|
|
1048
1034
|
errorCode,
|
|
1049
1035
|
});
|
|
1050
1036
|
}
|
|
@@ -1057,7 +1043,7 @@ export const de_DeleteCampaignCommand = async (output, context) => {
|
|
|
1057
1043
|
const response = {
|
|
1058
1044
|
$metadata: deserializeMetadata(output),
|
|
1059
1045
|
};
|
|
1060
|
-
return
|
|
1046
|
+
return response;
|
|
1061
1047
|
};
|
|
1062
1048
|
const de_DeleteCampaignCommandError = async (output, context) => {
|
|
1063
1049
|
const parsedOutput = {
|
|
@@ -1077,10 +1063,9 @@ const de_DeleteCampaignCommandError = async (output, context) => {
|
|
|
1077
1063
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1078
1064
|
default:
|
|
1079
1065
|
const parsedBody = parsedOutput.body;
|
|
1080
|
-
throwDefaultError({
|
|
1066
|
+
return throwDefaultError({
|
|
1081
1067
|
output,
|
|
1082
1068
|
parsedBody,
|
|
1083
|
-
exceptionCtor: __BaseException,
|
|
1084
1069
|
errorCode,
|
|
1085
1070
|
});
|
|
1086
1071
|
}
|
|
@@ -1093,7 +1078,7 @@ export const de_DeleteDatasetCommand = async (output, context) => {
|
|
|
1093
1078
|
const response = {
|
|
1094
1079
|
$metadata: deserializeMetadata(output),
|
|
1095
1080
|
};
|
|
1096
|
-
return
|
|
1081
|
+
return response;
|
|
1097
1082
|
};
|
|
1098
1083
|
const de_DeleteDatasetCommandError = async (output, context) => {
|
|
1099
1084
|
const parsedOutput = {
|
|
@@ -1113,10 +1098,9 @@ const de_DeleteDatasetCommandError = async (output, context) => {
|
|
|
1113
1098
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1114
1099
|
default:
|
|
1115
1100
|
const parsedBody = parsedOutput.body;
|
|
1116
|
-
throwDefaultError({
|
|
1101
|
+
return throwDefaultError({
|
|
1117
1102
|
output,
|
|
1118
1103
|
parsedBody,
|
|
1119
|
-
exceptionCtor: __BaseException,
|
|
1120
1104
|
errorCode,
|
|
1121
1105
|
});
|
|
1122
1106
|
}
|
|
@@ -1129,7 +1113,7 @@ export const de_DeleteDatasetGroupCommand = async (output, context) => {
|
|
|
1129
1113
|
const response = {
|
|
1130
1114
|
$metadata: deserializeMetadata(output),
|
|
1131
1115
|
};
|
|
1132
|
-
return
|
|
1116
|
+
return response;
|
|
1133
1117
|
};
|
|
1134
1118
|
const de_DeleteDatasetGroupCommandError = async (output, context) => {
|
|
1135
1119
|
const parsedOutput = {
|
|
@@ -1149,10 +1133,9 @@ const de_DeleteDatasetGroupCommandError = async (output, context) => {
|
|
|
1149
1133
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1150
1134
|
default:
|
|
1151
1135
|
const parsedBody = parsedOutput.body;
|
|
1152
|
-
throwDefaultError({
|
|
1136
|
+
return throwDefaultError({
|
|
1153
1137
|
output,
|
|
1154
1138
|
parsedBody,
|
|
1155
|
-
exceptionCtor: __BaseException,
|
|
1156
1139
|
errorCode,
|
|
1157
1140
|
});
|
|
1158
1141
|
}
|
|
@@ -1165,7 +1148,7 @@ export const de_DeleteEventTrackerCommand = async (output, context) => {
|
|
|
1165
1148
|
const response = {
|
|
1166
1149
|
$metadata: deserializeMetadata(output),
|
|
1167
1150
|
};
|
|
1168
|
-
return
|
|
1151
|
+
return response;
|
|
1169
1152
|
};
|
|
1170
1153
|
const de_DeleteEventTrackerCommandError = async (output, context) => {
|
|
1171
1154
|
const parsedOutput = {
|
|
@@ -1185,10 +1168,9 @@ const de_DeleteEventTrackerCommandError = async (output, context) => {
|
|
|
1185
1168
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1186
1169
|
default:
|
|
1187
1170
|
const parsedBody = parsedOutput.body;
|
|
1188
|
-
throwDefaultError({
|
|
1171
|
+
return throwDefaultError({
|
|
1189
1172
|
output,
|
|
1190
1173
|
parsedBody,
|
|
1191
|
-
exceptionCtor: __BaseException,
|
|
1192
1174
|
errorCode,
|
|
1193
1175
|
});
|
|
1194
1176
|
}
|
|
@@ -1201,7 +1183,7 @@ export const de_DeleteFilterCommand = async (output, context) => {
|
|
|
1201
1183
|
const response = {
|
|
1202
1184
|
$metadata: deserializeMetadata(output),
|
|
1203
1185
|
};
|
|
1204
|
-
return
|
|
1186
|
+
return response;
|
|
1205
1187
|
};
|
|
1206
1188
|
const de_DeleteFilterCommandError = async (output, context) => {
|
|
1207
1189
|
const parsedOutput = {
|
|
@@ -1221,10 +1203,9 @@ const de_DeleteFilterCommandError = async (output, context) => {
|
|
|
1221
1203
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1222
1204
|
default:
|
|
1223
1205
|
const parsedBody = parsedOutput.body;
|
|
1224
|
-
throwDefaultError({
|
|
1206
|
+
return throwDefaultError({
|
|
1225
1207
|
output,
|
|
1226
1208
|
parsedBody,
|
|
1227
|
-
exceptionCtor: __BaseException,
|
|
1228
1209
|
errorCode,
|
|
1229
1210
|
});
|
|
1230
1211
|
}
|
|
@@ -1237,7 +1218,7 @@ export const de_DeleteMetricAttributionCommand = async (output, context) => {
|
|
|
1237
1218
|
const response = {
|
|
1238
1219
|
$metadata: deserializeMetadata(output),
|
|
1239
1220
|
};
|
|
1240
|
-
return
|
|
1221
|
+
return response;
|
|
1241
1222
|
};
|
|
1242
1223
|
const de_DeleteMetricAttributionCommandError = async (output, context) => {
|
|
1243
1224
|
const parsedOutput = {
|
|
@@ -1257,10 +1238,9 @@ const de_DeleteMetricAttributionCommandError = async (output, context) => {
|
|
|
1257
1238
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1258
1239
|
default:
|
|
1259
1240
|
const parsedBody = parsedOutput.body;
|
|
1260
|
-
throwDefaultError({
|
|
1241
|
+
return throwDefaultError({
|
|
1261
1242
|
output,
|
|
1262
1243
|
parsedBody,
|
|
1263
|
-
exceptionCtor: __BaseException,
|
|
1264
1244
|
errorCode,
|
|
1265
1245
|
});
|
|
1266
1246
|
}
|
|
@@ -1273,7 +1253,7 @@ export const de_DeleteRecommenderCommand = async (output, context) => {
|
|
|
1273
1253
|
const response = {
|
|
1274
1254
|
$metadata: deserializeMetadata(output),
|
|
1275
1255
|
};
|
|
1276
|
-
return
|
|
1256
|
+
return response;
|
|
1277
1257
|
};
|
|
1278
1258
|
const de_DeleteRecommenderCommandError = async (output, context) => {
|
|
1279
1259
|
const parsedOutput = {
|
|
@@ -1293,10 +1273,9 @@ const de_DeleteRecommenderCommandError = async (output, context) => {
|
|
|
1293
1273
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1294
1274
|
default:
|
|
1295
1275
|
const parsedBody = parsedOutput.body;
|
|
1296
|
-
throwDefaultError({
|
|
1276
|
+
return throwDefaultError({
|
|
1297
1277
|
output,
|
|
1298
1278
|
parsedBody,
|
|
1299
|
-
exceptionCtor: __BaseException,
|
|
1300
1279
|
errorCode,
|
|
1301
1280
|
});
|
|
1302
1281
|
}
|
|
@@ -1309,7 +1288,7 @@ export const de_DeleteSchemaCommand = async (output, context) => {
|
|
|
1309
1288
|
const response = {
|
|
1310
1289
|
$metadata: deserializeMetadata(output),
|
|
1311
1290
|
};
|
|
1312
|
-
return
|
|
1291
|
+
return response;
|
|
1313
1292
|
};
|
|
1314
1293
|
const de_DeleteSchemaCommandError = async (output, context) => {
|
|
1315
1294
|
const parsedOutput = {
|
|
@@ -1329,10 +1308,9 @@ const de_DeleteSchemaCommandError = async (output, context) => {
|
|
|
1329
1308
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1330
1309
|
default:
|
|
1331
1310
|
const parsedBody = parsedOutput.body;
|
|
1332
|
-
throwDefaultError({
|
|
1311
|
+
return throwDefaultError({
|
|
1333
1312
|
output,
|
|
1334
1313
|
parsedBody,
|
|
1335
|
-
exceptionCtor: __BaseException,
|
|
1336
1314
|
errorCode,
|
|
1337
1315
|
});
|
|
1338
1316
|
}
|
|
@@ -1345,7 +1323,7 @@ export const de_DeleteSolutionCommand = async (output, context) => {
|
|
|
1345
1323
|
const response = {
|
|
1346
1324
|
$metadata: deserializeMetadata(output),
|
|
1347
1325
|
};
|
|
1348
|
-
return
|
|
1326
|
+
return response;
|
|
1349
1327
|
};
|
|
1350
1328
|
const de_DeleteSolutionCommandError = async (output, context) => {
|
|
1351
1329
|
const parsedOutput = {
|
|
@@ -1365,10 +1343,9 @@ const de_DeleteSolutionCommandError = async (output, context) => {
|
|
|
1365
1343
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1366
1344
|
default:
|
|
1367
1345
|
const parsedBody = parsedOutput.body;
|
|
1368
|
-
throwDefaultError({
|
|
1346
|
+
return throwDefaultError({
|
|
1369
1347
|
output,
|
|
1370
1348
|
parsedBody,
|
|
1371
|
-
exceptionCtor: __BaseException,
|
|
1372
1349
|
errorCode,
|
|
1373
1350
|
});
|
|
1374
1351
|
}
|
|
@@ -1384,7 +1361,7 @@ export const de_DescribeAlgorithmCommand = async (output, context) => {
|
|
|
1384
1361
|
$metadata: deserializeMetadata(output),
|
|
1385
1362
|
...contents,
|
|
1386
1363
|
};
|
|
1387
|
-
return
|
|
1364
|
+
return response;
|
|
1388
1365
|
};
|
|
1389
1366
|
const de_DescribeAlgorithmCommandError = async (output, context) => {
|
|
1390
1367
|
const parsedOutput = {
|
|
@@ -1401,10 +1378,9 @@ const de_DescribeAlgorithmCommandError = async (output, context) => {
|
|
|
1401
1378
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1402
1379
|
default:
|
|
1403
1380
|
const parsedBody = parsedOutput.body;
|
|
1404
|
-
throwDefaultError({
|
|
1381
|
+
return throwDefaultError({
|
|
1405
1382
|
output,
|
|
1406
1383
|
parsedBody,
|
|
1407
|
-
exceptionCtor: __BaseException,
|
|
1408
1384
|
errorCode,
|
|
1409
1385
|
});
|
|
1410
1386
|
}
|
|
@@ -1420,7 +1396,7 @@ export const de_DescribeBatchInferenceJobCommand = async (output, context) => {
|
|
|
1420
1396
|
$metadata: deserializeMetadata(output),
|
|
1421
1397
|
...contents,
|
|
1422
1398
|
};
|
|
1423
|
-
return
|
|
1399
|
+
return response;
|
|
1424
1400
|
};
|
|
1425
1401
|
const de_DescribeBatchInferenceJobCommandError = async (output, context) => {
|
|
1426
1402
|
const parsedOutput = {
|
|
@@ -1437,10 +1413,9 @@ const de_DescribeBatchInferenceJobCommandError = async (output, context) => {
|
|
|
1437
1413
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1438
1414
|
default:
|
|
1439
1415
|
const parsedBody = parsedOutput.body;
|
|
1440
|
-
throwDefaultError({
|
|
1416
|
+
return throwDefaultError({
|
|
1441
1417
|
output,
|
|
1442
1418
|
parsedBody,
|
|
1443
|
-
exceptionCtor: __BaseException,
|
|
1444
1419
|
errorCode,
|
|
1445
1420
|
});
|
|
1446
1421
|
}
|
|
@@ -1456,7 +1431,7 @@ export const de_DescribeBatchSegmentJobCommand = async (output, context) => {
|
|
|
1456
1431
|
$metadata: deserializeMetadata(output),
|
|
1457
1432
|
...contents,
|
|
1458
1433
|
};
|
|
1459
|
-
return
|
|
1434
|
+
return response;
|
|
1460
1435
|
};
|
|
1461
1436
|
const de_DescribeBatchSegmentJobCommandError = async (output, context) => {
|
|
1462
1437
|
const parsedOutput = {
|
|
@@ -1473,10 +1448,9 @@ const de_DescribeBatchSegmentJobCommandError = async (output, context) => {
|
|
|
1473
1448
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1474
1449
|
default:
|
|
1475
1450
|
const parsedBody = parsedOutput.body;
|
|
1476
|
-
throwDefaultError({
|
|
1451
|
+
return throwDefaultError({
|
|
1477
1452
|
output,
|
|
1478
1453
|
parsedBody,
|
|
1479
|
-
exceptionCtor: __BaseException,
|
|
1480
1454
|
errorCode,
|
|
1481
1455
|
});
|
|
1482
1456
|
}
|
|
@@ -1492,7 +1466,7 @@ export const de_DescribeCampaignCommand = async (output, context) => {
|
|
|
1492
1466
|
$metadata: deserializeMetadata(output),
|
|
1493
1467
|
...contents,
|
|
1494
1468
|
};
|
|
1495
|
-
return
|
|
1469
|
+
return response;
|
|
1496
1470
|
};
|
|
1497
1471
|
const de_DescribeCampaignCommandError = async (output, context) => {
|
|
1498
1472
|
const parsedOutput = {
|
|
@@ -1509,10 +1483,9 @@ const de_DescribeCampaignCommandError = async (output, context) => {
|
|
|
1509
1483
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1510
1484
|
default:
|
|
1511
1485
|
const parsedBody = parsedOutput.body;
|
|
1512
|
-
throwDefaultError({
|
|
1486
|
+
return throwDefaultError({
|
|
1513
1487
|
output,
|
|
1514
1488
|
parsedBody,
|
|
1515
|
-
exceptionCtor: __BaseException,
|
|
1516
1489
|
errorCode,
|
|
1517
1490
|
});
|
|
1518
1491
|
}
|
|
@@ -1528,7 +1501,7 @@ export const de_DescribeDatasetCommand = async (output, context) => {
|
|
|
1528
1501
|
$metadata: deserializeMetadata(output),
|
|
1529
1502
|
...contents,
|
|
1530
1503
|
};
|
|
1531
|
-
return
|
|
1504
|
+
return response;
|
|
1532
1505
|
};
|
|
1533
1506
|
const de_DescribeDatasetCommandError = async (output, context) => {
|
|
1534
1507
|
const parsedOutput = {
|
|
@@ -1545,10 +1518,9 @@ const de_DescribeDatasetCommandError = async (output, context) => {
|
|
|
1545
1518
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1546
1519
|
default:
|
|
1547
1520
|
const parsedBody = parsedOutput.body;
|
|
1548
|
-
throwDefaultError({
|
|
1521
|
+
return throwDefaultError({
|
|
1549
1522
|
output,
|
|
1550
1523
|
parsedBody,
|
|
1551
|
-
exceptionCtor: __BaseException,
|
|
1552
1524
|
errorCode,
|
|
1553
1525
|
});
|
|
1554
1526
|
}
|
|
@@ -1564,7 +1536,7 @@ export const de_DescribeDatasetExportJobCommand = async (output, context) => {
|
|
|
1564
1536
|
$metadata: deserializeMetadata(output),
|
|
1565
1537
|
...contents,
|
|
1566
1538
|
};
|
|
1567
|
-
return
|
|
1539
|
+
return response;
|
|
1568
1540
|
};
|
|
1569
1541
|
const de_DescribeDatasetExportJobCommandError = async (output, context) => {
|
|
1570
1542
|
const parsedOutput = {
|
|
@@ -1581,10 +1553,9 @@ const de_DescribeDatasetExportJobCommandError = async (output, context) => {
|
|
|
1581
1553
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1582
1554
|
default:
|
|
1583
1555
|
const parsedBody = parsedOutput.body;
|
|
1584
|
-
throwDefaultError({
|
|
1556
|
+
return throwDefaultError({
|
|
1585
1557
|
output,
|
|
1586
1558
|
parsedBody,
|
|
1587
|
-
exceptionCtor: __BaseException,
|
|
1588
1559
|
errorCode,
|
|
1589
1560
|
});
|
|
1590
1561
|
}
|
|
@@ -1600,7 +1571,7 @@ export const de_DescribeDatasetGroupCommand = async (output, context) => {
|
|
|
1600
1571
|
$metadata: deserializeMetadata(output),
|
|
1601
1572
|
...contents,
|
|
1602
1573
|
};
|
|
1603
|
-
return
|
|
1574
|
+
return response;
|
|
1604
1575
|
};
|
|
1605
1576
|
const de_DescribeDatasetGroupCommandError = async (output, context) => {
|
|
1606
1577
|
const parsedOutput = {
|
|
@@ -1617,10 +1588,9 @@ const de_DescribeDatasetGroupCommandError = async (output, context) => {
|
|
|
1617
1588
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1618
1589
|
default:
|
|
1619
1590
|
const parsedBody = parsedOutput.body;
|
|
1620
|
-
throwDefaultError({
|
|
1591
|
+
return throwDefaultError({
|
|
1621
1592
|
output,
|
|
1622
1593
|
parsedBody,
|
|
1623
|
-
exceptionCtor: __BaseException,
|
|
1624
1594
|
errorCode,
|
|
1625
1595
|
});
|
|
1626
1596
|
}
|
|
@@ -1636,7 +1606,7 @@ export const de_DescribeDatasetImportJobCommand = async (output, context) => {
|
|
|
1636
1606
|
$metadata: deserializeMetadata(output),
|
|
1637
1607
|
...contents,
|
|
1638
1608
|
};
|
|
1639
|
-
return
|
|
1609
|
+
return response;
|
|
1640
1610
|
};
|
|
1641
1611
|
const de_DescribeDatasetImportJobCommandError = async (output, context) => {
|
|
1642
1612
|
const parsedOutput = {
|
|
@@ -1653,10 +1623,9 @@ const de_DescribeDatasetImportJobCommandError = async (output, context) => {
|
|
|
1653
1623
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1654
1624
|
default:
|
|
1655
1625
|
const parsedBody = parsedOutput.body;
|
|
1656
|
-
throwDefaultError({
|
|
1626
|
+
return throwDefaultError({
|
|
1657
1627
|
output,
|
|
1658
1628
|
parsedBody,
|
|
1659
|
-
exceptionCtor: __BaseException,
|
|
1660
1629
|
errorCode,
|
|
1661
1630
|
});
|
|
1662
1631
|
}
|
|
@@ -1672,7 +1641,7 @@ export const de_DescribeEventTrackerCommand = async (output, context) => {
|
|
|
1672
1641
|
$metadata: deserializeMetadata(output),
|
|
1673
1642
|
...contents,
|
|
1674
1643
|
};
|
|
1675
|
-
return
|
|
1644
|
+
return response;
|
|
1676
1645
|
};
|
|
1677
1646
|
const de_DescribeEventTrackerCommandError = async (output, context) => {
|
|
1678
1647
|
const parsedOutput = {
|
|
@@ -1689,10 +1658,9 @@ const de_DescribeEventTrackerCommandError = async (output, context) => {
|
|
|
1689
1658
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1690
1659
|
default:
|
|
1691
1660
|
const parsedBody = parsedOutput.body;
|
|
1692
|
-
throwDefaultError({
|
|
1661
|
+
return throwDefaultError({
|
|
1693
1662
|
output,
|
|
1694
1663
|
parsedBody,
|
|
1695
|
-
exceptionCtor: __BaseException,
|
|
1696
1664
|
errorCode,
|
|
1697
1665
|
});
|
|
1698
1666
|
}
|
|
@@ -1708,7 +1676,7 @@ export const de_DescribeFeatureTransformationCommand = async (output, context) =
|
|
|
1708
1676
|
$metadata: deserializeMetadata(output),
|
|
1709
1677
|
...contents,
|
|
1710
1678
|
};
|
|
1711
|
-
return
|
|
1679
|
+
return response;
|
|
1712
1680
|
};
|
|
1713
1681
|
const de_DescribeFeatureTransformationCommandError = async (output, context) => {
|
|
1714
1682
|
const parsedOutput = {
|
|
@@ -1725,10 +1693,9 @@ const de_DescribeFeatureTransformationCommandError = async (output, context) =>
|
|
|
1725
1693
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1726
1694
|
default:
|
|
1727
1695
|
const parsedBody = parsedOutput.body;
|
|
1728
|
-
throwDefaultError({
|
|
1696
|
+
return throwDefaultError({
|
|
1729
1697
|
output,
|
|
1730
1698
|
parsedBody,
|
|
1731
|
-
exceptionCtor: __BaseException,
|
|
1732
1699
|
errorCode,
|
|
1733
1700
|
});
|
|
1734
1701
|
}
|
|
@@ -1744,7 +1711,7 @@ export const de_DescribeFilterCommand = async (output, context) => {
|
|
|
1744
1711
|
$metadata: deserializeMetadata(output),
|
|
1745
1712
|
...contents,
|
|
1746
1713
|
};
|
|
1747
|
-
return
|
|
1714
|
+
return response;
|
|
1748
1715
|
};
|
|
1749
1716
|
const de_DescribeFilterCommandError = async (output, context) => {
|
|
1750
1717
|
const parsedOutput = {
|
|
@@ -1761,10 +1728,9 @@ const de_DescribeFilterCommandError = async (output, context) => {
|
|
|
1761
1728
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1762
1729
|
default:
|
|
1763
1730
|
const parsedBody = parsedOutput.body;
|
|
1764
|
-
throwDefaultError({
|
|
1731
|
+
return throwDefaultError({
|
|
1765
1732
|
output,
|
|
1766
1733
|
parsedBody,
|
|
1767
|
-
exceptionCtor: __BaseException,
|
|
1768
1734
|
errorCode,
|
|
1769
1735
|
});
|
|
1770
1736
|
}
|
|
@@ -1780,7 +1746,7 @@ export const de_DescribeMetricAttributionCommand = async (output, context) => {
|
|
|
1780
1746
|
$metadata: deserializeMetadata(output),
|
|
1781
1747
|
...contents,
|
|
1782
1748
|
};
|
|
1783
|
-
return
|
|
1749
|
+
return response;
|
|
1784
1750
|
};
|
|
1785
1751
|
const de_DescribeMetricAttributionCommandError = async (output, context) => {
|
|
1786
1752
|
const parsedOutput = {
|
|
@@ -1797,10 +1763,9 @@ const de_DescribeMetricAttributionCommandError = async (output, context) => {
|
|
|
1797
1763
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1798
1764
|
default:
|
|
1799
1765
|
const parsedBody = parsedOutput.body;
|
|
1800
|
-
throwDefaultError({
|
|
1766
|
+
return throwDefaultError({
|
|
1801
1767
|
output,
|
|
1802
1768
|
parsedBody,
|
|
1803
|
-
exceptionCtor: __BaseException,
|
|
1804
1769
|
errorCode,
|
|
1805
1770
|
});
|
|
1806
1771
|
}
|
|
@@ -1816,7 +1781,7 @@ export const de_DescribeRecipeCommand = async (output, context) => {
|
|
|
1816
1781
|
$metadata: deserializeMetadata(output),
|
|
1817
1782
|
...contents,
|
|
1818
1783
|
};
|
|
1819
|
-
return
|
|
1784
|
+
return response;
|
|
1820
1785
|
};
|
|
1821
1786
|
const de_DescribeRecipeCommandError = async (output, context) => {
|
|
1822
1787
|
const parsedOutput = {
|
|
@@ -1833,10 +1798,9 @@ const de_DescribeRecipeCommandError = async (output, context) => {
|
|
|
1833
1798
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1834
1799
|
default:
|
|
1835
1800
|
const parsedBody = parsedOutput.body;
|
|
1836
|
-
throwDefaultError({
|
|
1801
|
+
return throwDefaultError({
|
|
1837
1802
|
output,
|
|
1838
1803
|
parsedBody,
|
|
1839
|
-
exceptionCtor: __BaseException,
|
|
1840
1804
|
errorCode,
|
|
1841
1805
|
});
|
|
1842
1806
|
}
|
|
@@ -1852,7 +1816,7 @@ export const de_DescribeRecommenderCommand = async (output, context) => {
|
|
|
1852
1816
|
$metadata: deserializeMetadata(output),
|
|
1853
1817
|
...contents,
|
|
1854
1818
|
};
|
|
1855
|
-
return
|
|
1819
|
+
return response;
|
|
1856
1820
|
};
|
|
1857
1821
|
const de_DescribeRecommenderCommandError = async (output, context) => {
|
|
1858
1822
|
const parsedOutput = {
|
|
@@ -1869,10 +1833,9 @@ const de_DescribeRecommenderCommandError = async (output, context) => {
|
|
|
1869
1833
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1870
1834
|
default:
|
|
1871
1835
|
const parsedBody = parsedOutput.body;
|
|
1872
|
-
throwDefaultError({
|
|
1836
|
+
return throwDefaultError({
|
|
1873
1837
|
output,
|
|
1874
1838
|
parsedBody,
|
|
1875
|
-
exceptionCtor: __BaseException,
|
|
1876
1839
|
errorCode,
|
|
1877
1840
|
});
|
|
1878
1841
|
}
|
|
@@ -1888,7 +1851,7 @@ export const de_DescribeSchemaCommand = async (output, context) => {
|
|
|
1888
1851
|
$metadata: deserializeMetadata(output),
|
|
1889
1852
|
...contents,
|
|
1890
1853
|
};
|
|
1891
|
-
return
|
|
1854
|
+
return response;
|
|
1892
1855
|
};
|
|
1893
1856
|
const de_DescribeSchemaCommandError = async (output, context) => {
|
|
1894
1857
|
const parsedOutput = {
|
|
@@ -1905,10 +1868,9 @@ const de_DescribeSchemaCommandError = async (output, context) => {
|
|
|
1905
1868
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1906
1869
|
default:
|
|
1907
1870
|
const parsedBody = parsedOutput.body;
|
|
1908
|
-
throwDefaultError({
|
|
1871
|
+
return throwDefaultError({
|
|
1909
1872
|
output,
|
|
1910
1873
|
parsedBody,
|
|
1911
|
-
exceptionCtor: __BaseException,
|
|
1912
1874
|
errorCode,
|
|
1913
1875
|
});
|
|
1914
1876
|
}
|
|
@@ -1924,7 +1886,7 @@ export const de_DescribeSolutionCommand = async (output, context) => {
|
|
|
1924
1886
|
$metadata: deserializeMetadata(output),
|
|
1925
1887
|
...contents,
|
|
1926
1888
|
};
|
|
1927
|
-
return
|
|
1889
|
+
return response;
|
|
1928
1890
|
};
|
|
1929
1891
|
const de_DescribeSolutionCommandError = async (output, context) => {
|
|
1930
1892
|
const parsedOutput = {
|
|
@@ -1941,10 +1903,9 @@ const de_DescribeSolutionCommandError = async (output, context) => {
|
|
|
1941
1903
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1942
1904
|
default:
|
|
1943
1905
|
const parsedBody = parsedOutput.body;
|
|
1944
|
-
throwDefaultError({
|
|
1906
|
+
return throwDefaultError({
|
|
1945
1907
|
output,
|
|
1946
1908
|
parsedBody,
|
|
1947
|
-
exceptionCtor: __BaseException,
|
|
1948
1909
|
errorCode,
|
|
1949
1910
|
});
|
|
1950
1911
|
}
|
|
@@ -1960,7 +1921,7 @@ export const de_DescribeSolutionVersionCommand = async (output, context) => {
|
|
|
1960
1921
|
$metadata: deserializeMetadata(output),
|
|
1961
1922
|
...contents,
|
|
1962
1923
|
};
|
|
1963
|
-
return
|
|
1924
|
+
return response;
|
|
1964
1925
|
};
|
|
1965
1926
|
const de_DescribeSolutionVersionCommandError = async (output, context) => {
|
|
1966
1927
|
const parsedOutput = {
|
|
@@ -1977,10 +1938,9 @@ const de_DescribeSolutionVersionCommandError = async (output, context) => {
|
|
|
1977
1938
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1978
1939
|
default:
|
|
1979
1940
|
const parsedBody = parsedOutput.body;
|
|
1980
|
-
throwDefaultError({
|
|
1941
|
+
return throwDefaultError({
|
|
1981
1942
|
output,
|
|
1982
1943
|
parsedBody,
|
|
1983
|
-
exceptionCtor: __BaseException,
|
|
1984
1944
|
errorCode,
|
|
1985
1945
|
});
|
|
1986
1946
|
}
|
|
@@ -1996,7 +1956,7 @@ export const de_GetSolutionMetricsCommand = async (output, context) => {
|
|
|
1996
1956
|
$metadata: deserializeMetadata(output),
|
|
1997
1957
|
...contents,
|
|
1998
1958
|
};
|
|
1999
|
-
return
|
|
1959
|
+
return response;
|
|
2000
1960
|
};
|
|
2001
1961
|
const de_GetSolutionMetricsCommandError = async (output, context) => {
|
|
2002
1962
|
const parsedOutput = {
|
|
@@ -2016,10 +1976,9 @@ const de_GetSolutionMetricsCommandError = async (output, context) => {
|
|
|
2016
1976
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2017
1977
|
default:
|
|
2018
1978
|
const parsedBody = parsedOutput.body;
|
|
2019
|
-
throwDefaultError({
|
|
1979
|
+
return throwDefaultError({
|
|
2020
1980
|
output,
|
|
2021
1981
|
parsedBody,
|
|
2022
|
-
exceptionCtor: __BaseException,
|
|
2023
1982
|
errorCode,
|
|
2024
1983
|
});
|
|
2025
1984
|
}
|
|
@@ -2035,7 +1994,7 @@ export const de_ListBatchInferenceJobsCommand = async (output, context) => {
|
|
|
2035
1994
|
$metadata: deserializeMetadata(output),
|
|
2036
1995
|
...contents,
|
|
2037
1996
|
};
|
|
2038
|
-
return
|
|
1997
|
+
return response;
|
|
2039
1998
|
};
|
|
2040
1999
|
const de_ListBatchInferenceJobsCommandError = async (output, context) => {
|
|
2041
2000
|
const parsedOutput = {
|
|
@@ -2052,10 +2011,9 @@ const de_ListBatchInferenceJobsCommandError = async (output, context) => {
|
|
|
2052
2011
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2053
2012
|
default:
|
|
2054
2013
|
const parsedBody = parsedOutput.body;
|
|
2055
|
-
throwDefaultError({
|
|
2014
|
+
return throwDefaultError({
|
|
2056
2015
|
output,
|
|
2057
2016
|
parsedBody,
|
|
2058
|
-
exceptionCtor: __BaseException,
|
|
2059
2017
|
errorCode,
|
|
2060
2018
|
});
|
|
2061
2019
|
}
|
|
@@ -2071,7 +2029,7 @@ export const de_ListBatchSegmentJobsCommand = async (output, context) => {
|
|
|
2071
2029
|
$metadata: deserializeMetadata(output),
|
|
2072
2030
|
...contents,
|
|
2073
2031
|
};
|
|
2074
|
-
return
|
|
2032
|
+
return response;
|
|
2075
2033
|
};
|
|
2076
2034
|
const de_ListBatchSegmentJobsCommandError = async (output, context) => {
|
|
2077
2035
|
const parsedOutput = {
|
|
@@ -2088,10 +2046,9 @@ const de_ListBatchSegmentJobsCommandError = async (output, context) => {
|
|
|
2088
2046
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2089
2047
|
default:
|
|
2090
2048
|
const parsedBody = parsedOutput.body;
|
|
2091
|
-
throwDefaultError({
|
|
2049
|
+
return throwDefaultError({
|
|
2092
2050
|
output,
|
|
2093
2051
|
parsedBody,
|
|
2094
|
-
exceptionCtor: __BaseException,
|
|
2095
2052
|
errorCode,
|
|
2096
2053
|
});
|
|
2097
2054
|
}
|
|
@@ -2107,7 +2064,7 @@ export const de_ListCampaignsCommand = async (output, context) => {
|
|
|
2107
2064
|
$metadata: deserializeMetadata(output),
|
|
2108
2065
|
...contents,
|
|
2109
2066
|
};
|
|
2110
|
-
return
|
|
2067
|
+
return response;
|
|
2111
2068
|
};
|
|
2112
2069
|
const de_ListCampaignsCommandError = async (output, context) => {
|
|
2113
2070
|
const parsedOutput = {
|
|
@@ -2124,10 +2081,9 @@ const de_ListCampaignsCommandError = async (output, context) => {
|
|
|
2124
2081
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2125
2082
|
default:
|
|
2126
2083
|
const parsedBody = parsedOutput.body;
|
|
2127
|
-
throwDefaultError({
|
|
2084
|
+
return throwDefaultError({
|
|
2128
2085
|
output,
|
|
2129
2086
|
parsedBody,
|
|
2130
|
-
exceptionCtor: __BaseException,
|
|
2131
2087
|
errorCode,
|
|
2132
2088
|
});
|
|
2133
2089
|
}
|
|
@@ -2143,7 +2099,7 @@ export const de_ListDatasetExportJobsCommand = async (output, context) => {
|
|
|
2143
2099
|
$metadata: deserializeMetadata(output),
|
|
2144
2100
|
...contents,
|
|
2145
2101
|
};
|
|
2146
|
-
return
|
|
2102
|
+
return response;
|
|
2147
2103
|
};
|
|
2148
2104
|
const de_ListDatasetExportJobsCommandError = async (output, context) => {
|
|
2149
2105
|
const parsedOutput = {
|
|
@@ -2160,10 +2116,9 @@ const de_ListDatasetExportJobsCommandError = async (output, context) => {
|
|
|
2160
2116
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2161
2117
|
default:
|
|
2162
2118
|
const parsedBody = parsedOutput.body;
|
|
2163
|
-
throwDefaultError({
|
|
2119
|
+
return throwDefaultError({
|
|
2164
2120
|
output,
|
|
2165
2121
|
parsedBody,
|
|
2166
|
-
exceptionCtor: __BaseException,
|
|
2167
2122
|
errorCode,
|
|
2168
2123
|
});
|
|
2169
2124
|
}
|
|
@@ -2179,7 +2134,7 @@ export const de_ListDatasetGroupsCommand = async (output, context) => {
|
|
|
2179
2134
|
$metadata: deserializeMetadata(output),
|
|
2180
2135
|
...contents,
|
|
2181
2136
|
};
|
|
2182
|
-
return
|
|
2137
|
+
return response;
|
|
2183
2138
|
};
|
|
2184
2139
|
const de_ListDatasetGroupsCommandError = async (output, context) => {
|
|
2185
2140
|
const parsedOutput = {
|
|
@@ -2193,10 +2148,9 @@ const de_ListDatasetGroupsCommandError = async (output, context) => {
|
|
|
2193
2148
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2194
2149
|
default:
|
|
2195
2150
|
const parsedBody = parsedOutput.body;
|
|
2196
|
-
throwDefaultError({
|
|
2151
|
+
return throwDefaultError({
|
|
2197
2152
|
output,
|
|
2198
2153
|
parsedBody,
|
|
2199
|
-
exceptionCtor: __BaseException,
|
|
2200
2154
|
errorCode,
|
|
2201
2155
|
});
|
|
2202
2156
|
}
|
|
@@ -2212,7 +2166,7 @@ export const de_ListDatasetImportJobsCommand = async (output, context) => {
|
|
|
2212
2166
|
$metadata: deserializeMetadata(output),
|
|
2213
2167
|
...contents,
|
|
2214
2168
|
};
|
|
2215
|
-
return
|
|
2169
|
+
return response;
|
|
2216
2170
|
};
|
|
2217
2171
|
const de_ListDatasetImportJobsCommandError = async (output, context) => {
|
|
2218
2172
|
const parsedOutput = {
|
|
@@ -2229,10 +2183,9 @@ const de_ListDatasetImportJobsCommandError = async (output, context) => {
|
|
|
2229
2183
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2230
2184
|
default:
|
|
2231
2185
|
const parsedBody = parsedOutput.body;
|
|
2232
|
-
throwDefaultError({
|
|
2186
|
+
return throwDefaultError({
|
|
2233
2187
|
output,
|
|
2234
2188
|
parsedBody,
|
|
2235
|
-
exceptionCtor: __BaseException,
|
|
2236
2189
|
errorCode,
|
|
2237
2190
|
});
|
|
2238
2191
|
}
|
|
@@ -2248,7 +2201,7 @@ export const de_ListDatasetsCommand = async (output, context) => {
|
|
|
2248
2201
|
$metadata: deserializeMetadata(output),
|
|
2249
2202
|
...contents,
|
|
2250
2203
|
};
|
|
2251
|
-
return
|
|
2204
|
+
return response;
|
|
2252
2205
|
};
|
|
2253
2206
|
const de_ListDatasetsCommandError = async (output, context) => {
|
|
2254
2207
|
const parsedOutput = {
|
|
@@ -2265,10 +2218,9 @@ const de_ListDatasetsCommandError = async (output, context) => {
|
|
|
2265
2218
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2266
2219
|
default:
|
|
2267
2220
|
const parsedBody = parsedOutput.body;
|
|
2268
|
-
throwDefaultError({
|
|
2221
|
+
return throwDefaultError({
|
|
2269
2222
|
output,
|
|
2270
2223
|
parsedBody,
|
|
2271
|
-
exceptionCtor: __BaseException,
|
|
2272
2224
|
errorCode,
|
|
2273
2225
|
});
|
|
2274
2226
|
}
|
|
@@ -2284,7 +2236,7 @@ export const de_ListEventTrackersCommand = async (output, context) => {
|
|
|
2284
2236
|
$metadata: deserializeMetadata(output),
|
|
2285
2237
|
...contents,
|
|
2286
2238
|
};
|
|
2287
|
-
return
|
|
2239
|
+
return response;
|
|
2288
2240
|
};
|
|
2289
2241
|
const de_ListEventTrackersCommandError = async (output, context) => {
|
|
2290
2242
|
const parsedOutput = {
|
|
@@ -2301,10 +2253,9 @@ const de_ListEventTrackersCommandError = async (output, context) => {
|
|
|
2301
2253
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2302
2254
|
default:
|
|
2303
2255
|
const parsedBody = parsedOutput.body;
|
|
2304
|
-
throwDefaultError({
|
|
2256
|
+
return throwDefaultError({
|
|
2305
2257
|
output,
|
|
2306
2258
|
parsedBody,
|
|
2307
|
-
exceptionCtor: __BaseException,
|
|
2308
2259
|
errorCode,
|
|
2309
2260
|
});
|
|
2310
2261
|
}
|
|
@@ -2320,7 +2271,7 @@ export const de_ListFiltersCommand = async (output, context) => {
|
|
|
2320
2271
|
$metadata: deserializeMetadata(output),
|
|
2321
2272
|
...contents,
|
|
2322
2273
|
};
|
|
2323
|
-
return
|
|
2274
|
+
return response;
|
|
2324
2275
|
};
|
|
2325
2276
|
const de_ListFiltersCommandError = async (output, context) => {
|
|
2326
2277
|
const parsedOutput = {
|
|
@@ -2337,10 +2288,9 @@ const de_ListFiltersCommandError = async (output, context) => {
|
|
|
2337
2288
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2338
2289
|
default:
|
|
2339
2290
|
const parsedBody = parsedOutput.body;
|
|
2340
|
-
throwDefaultError({
|
|
2291
|
+
return throwDefaultError({
|
|
2341
2292
|
output,
|
|
2342
2293
|
parsedBody,
|
|
2343
|
-
exceptionCtor: __BaseException,
|
|
2344
2294
|
errorCode,
|
|
2345
2295
|
});
|
|
2346
2296
|
}
|
|
@@ -2351,12 +2301,12 @@ export const de_ListMetricAttributionMetricsCommand = async (output, context) =>
|
|
|
2351
2301
|
}
|
|
2352
2302
|
const data = await parseBody(output.body, context);
|
|
2353
2303
|
let contents = {};
|
|
2354
|
-
contents =
|
|
2304
|
+
contents = _json(data);
|
|
2355
2305
|
const response = {
|
|
2356
2306
|
$metadata: deserializeMetadata(output),
|
|
2357
2307
|
...contents,
|
|
2358
2308
|
};
|
|
2359
|
-
return
|
|
2309
|
+
return response;
|
|
2360
2310
|
};
|
|
2361
2311
|
const de_ListMetricAttributionMetricsCommandError = async (output, context) => {
|
|
2362
2312
|
const parsedOutput = {
|
|
@@ -2373,10 +2323,9 @@ const de_ListMetricAttributionMetricsCommandError = async (output, context) => {
|
|
|
2373
2323
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2374
2324
|
default:
|
|
2375
2325
|
const parsedBody = parsedOutput.body;
|
|
2376
|
-
throwDefaultError({
|
|
2326
|
+
return throwDefaultError({
|
|
2377
2327
|
output,
|
|
2378
2328
|
parsedBody,
|
|
2379
|
-
exceptionCtor: __BaseException,
|
|
2380
2329
|
errorCode,
|
|
2381
2330
|
});
|
|
2382
2331
|
}
|
|
@@ -2392,7 +2341,7 @@ export const de_ListMetricAttributionsCommand = async (output, context) => {
|
|
|
2392
2341
|
$metadata: deserializeMetadata(output),
|
|
2393
2342
|
...contents,
|
|
2394
2343
|
};
|
|
2395
|
-
return
|
|
2344
|
+
return response;
|
|
2396
2345
|
};
|
|
2397
2346
|
const de_ListMetricAttributionsCommandError = async (output, context) => {
|
|
2398
2347
|
const parsedOutput = {
|
|
@@ -2409,10 +2358,9 @@ const de_ListMetricAttributionsCommandError = async (output, context) => {
|
|
|
2409
2358
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2410
2359
|
default:
|
|
2411
2360
|
const parsedBody = parsedOutput.body;
|
|
2412
|
-
throwDefaultError({
|
|
2361
|
+
return throwDefaultError({
|
|
2413
2362
|
output,
|
|
2414
2363
|
parsedBody,
|
|
2415
|
-
exceptionCtor: __BaseException,
|
|
2416
2364
|
errorCode,
|
|
2417
2365
|
});
|
|
2418
2366
|
}
|
|
@@ -2428,7 +2376,7 @@ export const de_ListRecipesCommand = async (output, context) => {
|
|
|
2428
2376
|
$metadata: deserializeMetadata(output),
|
|
2429
2377
|
...contents,
|
|
2430
2378
|
};
|
|
2431
|
-
return
|
|
2379
|
+
return response;
|
|
2432
2380
|
};
|
|
2433
2381
|
const de_ListRecipesCommandError = async (output, context) => {
|
|
2434
2382
|
const parsedOutput = {
|
|
@@ -2445,10 +2393,9 @@ const de_ListRecipesCommandError = async (output, context) => {
|
|
|
2445
2393
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2446
2394
|
default:
|
|
2447
2395
|
const parsedBody = parsedOutput.body;
|
|
2448
|
-
throwDefaultError({
|
|
2396
|
+
return throwDefaultError({
|
|
2449
2397
|
output,
|
|
2450
2398
|
parsedBody,
|
|
2451
|
-
exceptionCtor: __BaseException,
|
|
2452
2399
|
errorCode,
|
|
2453
2400
|
});
|
|
2454
2401
|
}
|
|
@@ -2464,7 +2411,7 @@ export const de_ListRecommendersCommand = async (output, context) => {
|
|
|
2464
2411
|
$metadata: deserializeMetadata(output),
|
|
2465
2412
|
...contents,
|
|
2466
2413
|
};
|
|
2467
|
-
return
|
|
2414
|
+
return response;
|
|
2468
2415
|
};
|
|
2469
2416
|
const de_ListRecommendersCommandError = async (output, context) => {
|
|
2470
2417
|
const parsedOutput = {
|
|
@@ -2481,10 +2428,9 @@ const de_ListRecommendersCommandError = async (output, context) => {
|
|
|
2481
2428
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2482
2429
|
default:
|
|
2483
2430
|
const parsedBody = parsedOutput.body;
|
|
2484
|
-
throwDefaultError({
|
|
2431
|
+
return throwDefaultError({
|
|
2485
2432
|
output,
|
|
2486
2433
|
parsedBody,
|
|
2487
|
-
exceptionCtor: __BaseException,
|
|
2488
2434
|
errorCode,
|
|
2489
2435
|
});
|
|
2490
2436
|
}
|
|
@@ -2500,7 +2446,7 @@ export const de_ListSchemasCommand = async (output, context) => {
|
|
|
2500
2446
|
$metadata: deserializeMetadata(output),
|
|
2501
2447
|
...contents,
|
|
2502
2448
|
};
|
|
2503
|
-
return
|
|
2449
|
+
return response;
|
|
2504
2450
|
};
|
|
2505
2451
|
const de_ListSchemasCommandError = async (output, context) => {
|
|
2506
2452
|
const parsedOutput = {
|
|
@@ -2514,10 +2460,9 @@ const de_ListSchemasCommandError = async (output, context) => {
|
|
|
2514
2460
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2515
2461
|
default:
|
|
2516
2462
|
const parsedBody = parsedOutput.body;
|
|
2517
|
-
throwDefaultError({
|
|
2463
|
+
return throwDefaultError({
|
|
2518
2464
|
output,
|
|
2519
2465
|
parsedBody,
|
|
2520
|
-
exceptionCtor: __BaseException,
|
|
2521
2466
|
errorCode,
|
|
2522
2467
|
});
|
|
2523
2468
|
}
|
|
@@ -2533,7 +2478,7 @@ export const de_ListSolutionsCommand = async (output, context) => {
|
|
|
2533
2478
|
$metadata: deserializeMetadata(output),
|
|
2534
2479
|
...contents,
|
|
2535
2480
|
};
|
|
2536
|
-
return
|
|
2481
|
+
return response;
|
|
2537
2482
|
};
|
|
2538
2483
|
const de_ListSolutionsCommandError = async (output, context) => {
|
|
2539
2484
|
const parsedOutput = {
|
|
@@ -2550,10 +2495,9 @@ const de_ListSolutionsCommandError = async (output, context) => {
|
|
|
2550
2495
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2551
2496
|
default:
|
|
2552
2497
|
const parsedBody = parsedOutput.body;
|
|
2553
|
-
throwDefaultError({
|
|
2498
|
+
return throwDefaultError({
|
|
2554
2499
|
output,
|
|
2555
2500
|
parsedBody,
|
|
2556
|
-
exceptionCtor: __BaseException,
|
|
2557
2501
|
errorCode,
|
|
2558
2502
|
});
|
|
2559
2503
|
}
|
|
@@ -2569,7 +2513,7 @@ export const de_ListSolutionVersionsCommand = async (output, context) => {
|
|
|
2569
2513
|
$metadata: deserializeMetadata(output),
|
|
2570
2514
|
...contents,
|
|
2571
2515
|
};
|
|
2572
|
-
return
|
|
2516
|
+
return response;
|
|
2573
2517
|
};
|
|
2574
2518
|
const de_ListSolutionVersionsCommandError = async (output, context) => {
|
|
2575
2519
|
const parsedOutput = {
|
|
@@ -2589,10 +2533,9 @@ const de_ListSolutionVersionsCommandError = async (output, context) => {
|
|
|
2589
2533
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2590
2534
|
default:
|
|
2591
2535
|
const parsedBody = parsedOutput.body;
|
|
2592
|
-
throwDefaultError({
|
|
2536
|
+
return throwDefaultError({
|
|
2593
2537
|
output,
|
|
2594
2538
|
parsedBody,
|
|
2595
|
-
exceptionCtor: __BaseException,
|
|
2596
2539
|
errorCode,
|
|
2597
2540
|
});
|
|
2598
2541
|
}
|
|
@@ -2603,12 +2546,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2603
2546
|
}
|
|
2604
2547
|
const data = await parseBody(output.body, context);
|
|
2605
2548
|
let contents = {};
|
|
2606
|
-
contents =
|
|
2549
|
+
contents = _json(data);
|
|
2607
2550
|
const response = {
|
|
2608
2551
|
$metadata: deserializeMetadata(output),
|
|
2609
2552
|
...contents,
|
|
2610
2553
|
};
|
|
2611
|
-
return
|
|
2554
|
+
return response;
|
|
2612
2555
|
};
|
|
2613
2556
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2614
2557
|
const parsedOutput = {
|
|
@@ -2628,10 +2571,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2628
2571
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2629
2572
|
default:
|
|
2630
2573
|
const parsedBody = parsedOutput.body;
|
|
2631
|
-
throwDefaultError({
|
|
2574
|
+
return throwDefaultError({
|
|
2632
2575
|
output,
|
|
2633
2576
|
parsedBody,
|
|
2634
|
-
exceptionCtor: __BaseException,
|
|
2635
2577
|
errorCode,
|
|
2636
2578
|
});
|
|
2637
2579
|
}
|
|
@@ -2642,12 +2584,12 @@ export const de_StartRecommenderCommand = async (output, context) => {
|
|
|
2642
2584
|
}
|
|
2643
2585
|
const data = await parseBody(output.body, context);
|
|
2644
2586
|
let contents = {};
|
|
2645
|
-
contents =
|
|
2587
|
+
contents = _json(data);
|
|
2646
2588
|
const response = {
|
|
2647
2589
|
$metadata: deserializeMetadata(output),
|
|
2648
2590
|
...contents,
|
|
2649
2591
|
};
|
|
2650
|
-
return
|
|
2592
|
+
return response;
|
|
2651
2593
|
};
|
|
2652
2594
|
const de_StartRecommenderCommandError = async (output, context) => {
|
|
2653
2595
|
const parsedOutput = {
|
|
@@ -2667,10 +2609,9 @@ const de_StartRecommenderCommandError = async (output, context) => {
|
|
|
2667
2609
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2668
2610
|
default:
|
|
2669
2611
|
const parsedBody = parsedOutput.body;
|
|
2670
|
-
throwDefaultError({
|
|
2612
|
+
return throwDefaultError({
|
|
2671
2613
|
output,
|
|
2672
2614
|
parsedBody,
|
|
2673
|
-
exceptionCtor: __BaseException,
|
|
2674
2615
|
errorCode,
|
|
2675
2616
|
});
|
|
2676
2617
|
}
|
|
@@ -2681,12 +2622,12 @@ export const de_StopRecommenderCommand = async (output, context) => {
|
|
|
2681
2622
|
}
|
|
2682
2623
|
const data = await parseBody(output.body, context);
|
|
2683
2624
|
let contents = {};
|
|
2684
|
-
contents =
|
|
2625
|
+
contents = _json(data);
|
|
2685
2626
|
const response = {
|
|
2686
2627
|
$metadata: deserializeMetadata(output),
|
|
2687
2628
|
...contents,
|
|
2688
2629
|
};
|
|
2689
|
-
return
|
|
2630
|
+
return response;
|
|
2690
2631
|
};
|
|
2691
2632
|
const de_StopRecommenderCommandError = async (output, context) => {
|
|
2692
2633
|
const parsedOutput = {
|
|
@@ -2706,10 +2647,9 @@ const de_StopRecommenderCommandError = async (output, context) => {
|
|
|
2706
2647
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2707
2648
|
default:
|
|
2708
2649
|
const parsedBody = parsedOutput.body;
|
|
2709
|
-
throwDefaultError({
|
|
2650
|
+
return throwDefaultError({
|
|
2710
2651
|
output,
|
|
2711
2652
|
parsedBody,
|
|
2712
|
-
exceptionCtor: __BaseException,
|
|
2713
2653
|
errorCode,
|
|
2714
2654
|
});
|
|
2715
2655
|
}
|
|
@@ -2722,7 +2662,7 @@ export const de_StopSolutionVersionCreationCommand = async (output, context) =>
|
|
|
2722
2662
|
const response = {
|
|
2723
2663
|
$metadata: deserializeMetadata(output),
|
|
2724
2664
|
};
|
|
2725
|
-
return
|
|
2665
|
+
return response;
|
|
2726
2666
|
};
|
|
2727
2667
|
const de_StopSolutionVersionCreationCommandError = async (output, context) => {
|
|
2728
2668
|
const parsedOutput = {
|
|
@@ -2742,10 +2682,9 @@ const de_StopSolutionVersionCreationCommandError = async (output, context) => {
|
|
|
2742
2682
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2743
2683
|
default:
|
|
2744
2684
|
const parsedBody = parsedOutput.body;
|
|
2745
|
-
throwDefaultError({
|
|
2685
|
+
return throwDefaultError({
|
|
2746
2686
|
output,
|
|
2747
2687
|
parsedBody,
|
|
2748
|
-
exceptionCtor: __BaseException,
|
|
2749
2688
|
errorCode,
|
|
2750
2689
|
});
|
|
2751
2690
|
}
|
|
@@ -2756,12 +2695,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
2756
2695
|
}
|
|
2757
2696
|
const data = await parseBody(output.body, context);
|
|
2758
2697
|
let contents = {};
|
|
2759
|
-
contents =
|
|
2698
|
+
contents = _json(data);
|
|
2760
2699
|
const response = {
|
|
2761
2700
|
$metadata: deserializeMetadata(output),
|
|
2762
2701
|
...contents,
|
|
2763
2702
|
};
|
|
2764
|
-
return
|
|
2703
|
+
return response;
|
|
2765
2704
|
};
|
|
2766
2705
|
const de_TagResourceCommandError = async (output, context) => {
|
|
2767
2706
|
const parsedOutput = {
|
|
@@ -2787,10 +2726,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2787
2726
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2788
2727
|
default:
|
|
2789
2728
|
const parsedBody = parsedOutput.body;
|
|
2790
|
-
throwDefaultError({
|
|
2729
|
+
return throwDefaultError({
|
|
2791
2730
|
output,
|
|
2792
2731
|
parsedBody,
|
|
2793
|
-
exceptionCtor: __BaseException,
|
|
2794
2732
|
errorCode,
|
|
2795
2733
|
});
|
|
2796
2734
|
}
|
|
@@ -2801,12 +2739,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
2801
2739
|
}
|
|
2802
2740
|
const data = await parseBody(output.body, context);
|
|
2803
2741
|
let contents = {};
|
|
2804
|
-
contents =
|
|
2742
|
+
contents = _json(data);
|
|
2805
2743
|
const response = {
|
|
2806
2744
|
$metadata: deserializeMetadata(output),
|
|
2807
2745
|
...contents,
|
|
2808
2746
|
};
|
|
2809
|
-
return
|
|
2747
|
+
return response;
|
|
2810
2748
|
};
|
|
2811
2749
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
2812
2750
|
const parsedOutput = {
|
|
@@ -2829,10 +2767,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2829
2767
|
throw await de_TooManyTagKeysExceptionRes(parsedOutput, context);
|
|
2830
2768
|
default:
|
|
2831
2769
|
const parsedBody = parsedOutput.body;
|
|
2832
|
-
throwDefaultError({
|
|
2770
|
+
return throwDefaultError({
|
|
2833
2771
|
output,
|
|
2834
2772
|
parsedBody,
|
|
2835
|
-
exceptionCtor: __BaseException,
|
|
2836
2773
|
errorCode,
|
|
2837
2774
|
});
|
|
2838
2775
|
}
|
|
@@ -2843,12 +2780,12 @@ export const de_UpdateCampaignCommand = async (output, context) => {
|
|
|
2843
2780
|
}
|
|
2844
2781
|
const data = await parseBody(output.body, context);
|
|
2845
2782
|
let contents = {};
|
|
2846
|
-
contents =
|
|
2783
|
+
contents = _json(data);
|
|
2847
2784
|
const response = {
|
|
2848
2785
|
$metadata: deserializeMetadata(output),
|
|
2849
2786
|
...contents,
|
|
2850
2787
|
};
|
|
2851
|
-
return
|
|
2788
|
+
return response;
|
|
2852
2789
|
};
|
|
2853
2790
|
const de_UpdateCampaignCommandError = async (output, context) => {
|
|
2854
2791
|
const parsedOutput = {
|
|
@@ -2868,10 +2805,9 @@ const de_UpdateCampaignCommandError = async (output, context) => {
|
|
|
2868
2805
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2869
2806
|
default:
|
|
2870
2807
|
const parsedBody = parsedOutput.body;
|
|
2871
|
-
throwDefaultError({
|
|
2808
|
+
return throwDefaultError({
|
|
2872
2809
|
output,
|
|
2873
2810
|
parsedBody,
|
|
2874
|
-
exceptionCtor: __BaseException,
|
|
2875
2811
|
errorCode,
|
|
2876
2812
|
});
|
|
2877
2813
|
}
|
|
@@ -2882,12 +2818,12 @@ export const de_UpdateMetricAttributionCommand = async (output, context) => {
|
|
|
2882
2818
|
}
|
|
2883
2819
|
const data = await parseBody(output.body, context);
|
|
2884
2820
|
let contents = {};
|
|
2885
|
-
contents =
|
|
2821
|
+
contents = _json(data);
|
|
2886
2822
|
const response = {
|
|
2887
2823
|
$metadata: deserializeMetadata(output),
|
|
2888
2824
|
...contents,
|
|
2889
2825
|
};
|
|
2890
|
-
return
|
|
2826
|
+
return response;
|
|
2891
2827
|
};
|
|
2892
2828
|
const de_UpdateMetricAttributionCommandError = async (output, context) => {
|
|
2893
2829
|
const parsedOutput = {
|
|
@@ -2910,10 +2846,9 @@ const de_UpdateMetricAttributionCommandError = async (output, context) => {
|
|
|
2910
2846
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2911
2847
|
default:
|
|
2912
2848
|
const parsedBody = parsedOutput.body;
|
|
2913
|
-
throwDefaultError({
|
|
2849
|
+
return throwDefaultError({
|
|
2914
2850
|
output,
|
|
2915
2851
|
parsedBody,
|
|
2916
|
-
exceptionCtor: __BaseException,
|
|
2917
2852
|
errorCode,
|
|
2918
2853
|
});
|
|
2919
2854
|
}
|
|
@@ -2924,12 +2859,12 @@ export const de_UpdateRecommenderCommand = async (output, context) => {
|
|
|
2924
2859
|
}
|
|
2925
2860
|
const data = await parseBody(output.body, context);
|
|
2926
2861
|
let contents = {};
|
|
2927
|
-
contents =
|
|
2862
|
+
contents = _json(data);
|
|
2928
2863
|
const response = {
|
|
2929
2864
|
$metadata: deserializeMetadata(output),
|
|
2930
2865
|
...contents,
|
|
2931
2866
|
};
|
|
2932
|
-
return
|
|
2867
|
+
return response;
|
|
2933
2868
|
};
|
|
2934
2869
|
const de_UpdateRecommenderCommandError = async (output, context) => {
|
|
2935
2870
|
const parsedOutput = {
|
|
@@ -2949,17 +2884,16 @@ const de_UpdateRecommenderCommandError = async (output, context) => {
|
|
|
2949
2884
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2950
2885
|
default:
|
|
2951
2886
|
const parsedBody = parsedOutput.body;
|
|
2952
|
-
throwDefaultError({
|
|
2887
|
+
return throwDefaultError({
|
|
2953
2888
|
output,
|
|
2954
2889
|
parsedBody,
|
|
2955
|
-
exceptionCtor: __BaseException,
|
|
2956
2890
|
errorCode,
|
|
2957
2891
|
});
|
|
2958
2892
|
}
|
|
2959
2893
|
};
|
|
2960
2894
|
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
2961
2895
|
const body = parsedOutput.body;
|
|
2962
|
-
const deserialized =
|
|
2896
|
+
const deserialized = _json(body);
|
|
2963
2897
|
const exception = new InvalidInputException({
|
|
2964
2898
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2965
2899
|
...deserialized,
|
|
@@ -2968,7 +2902,7 @@ const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
|
2968
2902
|
};
|
|
2969
2903
|
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
2970
2904
|
const body = parsedOutput.body;
|
|
2971
|
-
const deserialized =
|
|
2905
|
+
const deserialized = _json(body);
|
|
2972
2906
|
const exception = new InvalidNextTokenException({
|
|
2973
2907
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2974
2908
|
...deserialized,
|
|
@@ -2977,7 +2911,7 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
2977
2911
|
};
|
|
2978
2912
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2979
2913
|
const body = parsedOutput.body;
|
|
2980
|
-
const deserialized =
|
|
2914
|
+
const deserialized = _json(body);
|
|
2981
2915
|
const exception = new LimitExceededException({
|
|
2982
2916
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2983
2917
|
...deserialized,
|
|
@@ -2986,7 +2920,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2986
2920
|
};
|
|
2987
2921
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2988
2922
|
const body = parsedOutput.body;
|
|
2989
|
-
const deserialized =
|
|
2923
|
+
const deserialized = _json(body);
|
|
2990
2924
|
const exception = new ResourceAlreadyExistsException({
|
|
2991
2925
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2992
2926
|
...deserialized,
|
|
@@ -2995,7 +2929,7 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
2995
2929
|
};
|
|
2996
2930
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
2997
2931
|
const body = parsedOutput.body;
|
|
2998
|
-
const deserialized =
|
|
2932
|
+
const deserialized = _json(body);
|
|
2999
2933
|
const exception = new ResourceInUseException({
|
|
3000
2934
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3001
2935
|
...deserialized,
|
|
@@ -3004,7 +2938,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
3004
2938
|
};
|
|
3005
2939
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3006
2940
|
const body = parsedOutput.body;
|
|
3007
|
-
const deserialized =
|
|
2941
|
+
const deserialized = _json(body);
|
|
3008
2942
|
const exception = new ResourceNotFoundException({
|
|
3009
2943
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3010
2944
|
...deserialized,
|
|
@@ -3013,7 +2947,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3013
2947
|
};
|
|
3014
2948
|
const de_TooManyTagKeysExceptionRes = async (parsedOutput, context) => {
|
|
3015
2949
|
const body = parsedOutput.body;
|
|
3016
|
-
const deserialized =
|
|
2950
|
+
const deserialized = _json(body);
|
|
3017
2951
|
const exception = new TooManyTagKeysException({
|
|
3018
2952
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3019
2953
|
...deserialized,
|
|
@@ -3022,86 +2956,19 @@ const de_TooManyTagKeysExceptionRes = async (parsedOutput, context) => {
|
|
|
3022
2956
|
};
|
|
3023
2957
|
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
3024
2958
|
const body = parsedOutput.body;
|
|
3025
|
-
const deserialized =
|
|
2959
|
+
const deserialized = _json(body);
|
|
3026
2960
|
const exception = new TooManyTagsException({
|
|
3027
2961
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3028
2962
|
...deserialized,
|
|
3029
2963
|
});
|
|
3030
2964
|
return __decorateServiceException(exception, body);
|
|
3031
2965
|
};
|
|
3032
|
-
const se_ArnList = (input, context) => {
|
|
3033
|
-
return input
|
|
3034
|
-
.filter((e) => e != null)
|
|
3035
|
-
.map((entry) => {
|
|
3036
|
-
return entry;
|
|
3037
|
-
});
|
|
3038
|
-
};
|
|
3039
|
-
const se_AutoMLConfig = (input, context) => {
|
|
3040
|
-
return {
|
|
3041
|
-
...(input.metricName != null && { metricName: input.metricName }),
|
|
3042
|
-
...(input.recipeList != null && { recipeList: se_ArnList(input.recipeList, context) }),
|
|
3043
|
-
};
|
|
3044
|
-
};
|
|
3045
|
-
const se_BatchInferenceJobConfig = (input, context) => {
|
|
3046
|
-
return {
|
|
3047
|
-
...(input.itemExplorationConfig != null && {
|
|
3048
|
-
itemExplorationConfig: se_HyperParameters(input.itemExplorationConfig, context),
|
|
3049
|
-
}),
|
|
3050
|
-
};
|
|
3051
|
-
};
|
|
3052
|
-
const se_BatchInferenceJobInput = (input, context) => {
|
|
3053
|
-
return {
|
|
3054
|
-
...(input.s3DataSource != null && { s3DataSource: se_S3DataConfig(input.s3DataSource, context) }),
|
|
3055
|
-
};
|
|
3056
|
-
};
|
|
3057
|
-
const se_BatchInferenceJobOutput = (input, context) => {
|
|
3058
|
-
return {
|
|
3059
|
-
...(input.s3DataDestination != null && { s3DataDestination: se_S3DataConfig(input.s3DataDestination, context) }),
|
|
3060
|
-
};
|
|
3061
|
-
};
|
|
3062
|
-
const se_BatchSegmentJobInput = (input, context) => {
|
|
3063
|
-
return {
|
|
3064
|
-
...(input.s3DataSource != null && { s3DataSource: se_S3DataConfig(input.s3DataSource, context) }),
|
|
3065
|
-
};
|
|
3066
|
-
};
|
|
3067
|
-
const se_BatchSegmentJobOutput = (input, context) => {
|
|
3068
|
-
return {
|
|
3069
|
-
...(input.s3DataDestination != null && { s3DataDestination: se_S3DataConfig(input.s3DataDestination, context) }),
|
|
3070
|
-
};
|
|
3071
|
-
};
|
|
3072
|
-
const se_CampaignConfig = (input, context) => {
|
|
3073
|
-
return {
|
|
3074
|
-
...(input.itemExplorationConfig != null && {
|
|
3075
|
-
itemExplorationConfig: se_HyperParameters(input.itemExplorationConfig, context),
|
|
3076
|
-
}),
|
|
3077
|
-
};
|
|
3078
|
-
};
|
|
3079
|
-
const se_CategoricalHyperParameterRange = (input, context) => {
|
|
3080
|
-
return {
|
|
3081
|
-
...(input.name != null && { name: input.name }),
|
|
3082
|
-
...(input.values != null && { values: se_CategoricalValues(input.values, context) }),
|
|
3083
|
-
};
|
|
3084
|
-
};
|
|
3085
|
-
const se_CategoricalHyperParameterRanges = (input, context) => {
|
|
3086
|
-
return input
|
|
3087
|
-
.filter((e) => e != null)
|
|
3088
|
-
.map((entry) => {
|
|
3089
|
-
return se_CategoricalHyperParameterRange(entry, context);
|
|
3090
|
-
});
|
|
3091
|
-
};
|
|
3092
|
-
const se_CategoricalValues = (input, context) => {
|
|
3093
|
-
return input
|
|
3094
|
-
.filter((e) => e != null)
|
|
3095
|
-
.map((entry) => {
|
|
3096
|
-
return entry;
|
|
3097
|
-
});
|
|
3098
|
-
};
|
|
3099
2966
|
const se_ContinuousHyperParameterRange = (input, context) => {
|
|
3100
|
-
return {
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
};
|
|
2967
|
+
return take(input, {
|
|
2968
|
+
maxValue: __serializeFloat,
|
|
2969
|
+
minValue: __serializeFloat,
|
|
2970
|
+
name: [],
|
|
2971
|
+
});
|
|
3105
2972
|
};
|
|
3106
2973
|
const se_ContinuousHyperParameterRanges = (input, context) => {
|
|
3107
2974
|
return input
|
|
@@ -3110,1690 +2977,649 @@ const se_ContinuousHyperParameterRanges = (input, context) => {
|
|
|
3110
2977
|
return se_ContinuousHyperParameterRange(entry, context);
|
|
3111
2978
|
});
|
|
3112
2979
|
};
|
|
3113
|
-
const se_CreateBatchInferenceJobRequest = (input, context) => {
|
|
3114
|
-
return {
|
|
3115
|
-
...(input.batchInferenceJobConfig != null && {
|
|
3116
|
-
batchInferenceJobConfig: se_BatchInferenceJobConfig(input.batchInferenceJobConfig, context),
|
|
3117
|
-
}),
|
|
3118
|
-
...(input.filterArn != null && { filterArn: input.filterArn }),
|
|
3119
|
-
...(input.jobInput != null && { jobInput: se_BatchInferenceJobInput(input.jobInput, context) }),
|
|
3120
|
-
...(input.jobName != null && { jobName: input.jobName }),
|
|
3121
|
-
...(input.jobOutput != null && { jobOutput: se_BatchInferenceJobOutput(input.jobOutput, context) }),
|
|
3122
|
-
...(input.numResults != null && { numResults: input.numResults }),
|
|
3123
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
3124
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3125
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3126
|
-
};
|
|
3127
|
-
};
|
|
3128
|
-
const se_CreateBatchSegmentJobRequest = (input, context) => {
|
|
3129
|
-
return {
|
|
3130
|
-
...(input.filterArn != null && { filterArn: input.filterArn }),
|
|
3131
|
-
...(input.jobInput != null && { jobInput: se_BatchSegmentJobInput(input.jobInput, context) }),
|
|
3132
|
-
...(input.jobName != null && { jobName: input.jobName }),
|
|
3133
|
-
...(input.jobOutput != null && { jobOutput: se_BatchSegmentJobOutput(input.jobOutput, context) }),
|
|
3134
|
-
...(input.numResults != null && { numResults: input.numResults }),
|
|
3135
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
3136
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3137
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3138
|
-
};
|
|
3139
|
-
};
|
|
3140
|
-
const se_CreateCampaignRequest = (input, context) => {
|
|
3141
|
-
return {
|
|
3142
|
-
...(input.campaignConfig != null && { campaignConfig: se_CampaignConfig(input.campaignConfig, context) }),
|
|
3143
|
-
...(input.minProvisionedTPS != null && { minProvisionedTPS: input.minProvisionedTPS }),
|
|
3144
|
-
...(input.name != null && { name: input.name }),
|
|
3145
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3146
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3147
|
-
};
|
|
3148
|
-
};
|
|
3149
|
-
const se_CreateDatasetExportJobRequest = (input, context) => {
|
|
3150
|
-
return {
|
|
3151
|
-
...(input.datasetArn != null && { datasetArn: input.datasetArn }),
|
|
3152
|
-
...(input.ingestionMode != null && { ingestionMode: input.ingestionMode }),
|
|
3153
|
-
...(input.jobName != null && { jobName: input.jobName }),
|
|
3154
|
-
...(input.jobOutput != null && { jobOutput: se_DatasetExportJobOutput(input.jobOutput, context) }),
|
|
3155
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
3156
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3157
|
-
};
|
|
3158
|
-
};
|
|
3159
|
-
const se_CreateDatasetGroupRequest = (input, context) => {
|
|
3160
|
-
return {
|
|
3161
|
-
...(input.domain != null && { domain: input.domain }),
|
|
3162
|
-
...(input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn }),
|
|
3163
|
-
...(input.name != null && { name: input.name }),
|
|
3164
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
3165
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3166
|
-
};
|
|
3167
|
-
};
|
|
3168
|
-
const se_CreateDatasetImportJobRequest = (input, context) => {
|
|
3169
|
-
return {
|
|
3170
|
-
...(input.dataSource != null && { dataSource: se_DataSource(input.dataSource, context) }),
|
|
3171
|
-
...(input.datasetArn != null && { datasetArn: input.datasetArn }),
|
|
3172
|
-
...(input.importMode != null && { importMode: input.importMode }),
|
|
3173
|
-
...(input.jobName != null && { jobName: input.jobName }),
|
|
3174
|
-
...(input.publishAttributionMetricsToS3 != null && {
|
|
3175
|
-
publishAttributionMetricsToS3: input.publishAttributionMetricsToS3,
|
|
3176
|
-
}),
|
|
3177
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
3178
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3179
|
-
};
|
|
3180
|
-
};
|
|
3181
|
-
const se_CreateDatasetRequest = (input, context) => {
|
|
3182
|
-
return {
|
|
3183
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3184
|
-
...(input.datasetType != null && { datasetType: input.datasetType }),
|
|
3185
|
-
...(input.name != null && { name: input.name }),
|
|
3186
|
-
...(input.schemaArn != null && { schemaArn: input.schemaArn }),
|
|
3187
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3188
|
-
};
|
|
3189
|
-
};
|
|
3190
|
-
const se_CreateEventTrackerRequest = (input, context) => {
|
|
3191
|
-
return {
|
|
3192
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3193
|
-
...(input.name != null && { name: input.name }),
|
|
3194
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3195
|
-
};
|
|
3196
|
-
};
|
|
3197
|
-
const se_CreateFilterRequest = (input, context) => {
|
|
3198
|
-
return {
|
|
3199
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3200
|
-
...(input.filterExpression != null && { filterExpression: input.filterExpression }),
|
|
3201
|
-
...(input.name != null && { name: input.name }),
|
|
3202
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3203
|
-
};
|
|
3204
|
-
};
|
|
3205
|
-
const se_CreateMetricAttributionRequest = (input, context) => {
|
|
3206
|
-
return {
|
|
3207
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3208
|
-
...(input.metrics != null && { metrics: se_MetricAttributes(input.metrics, context) }),
|
|
3209
|
-
...(input.metricsOutputConfig != null && {
|
|
3210
|
-
metricsOutputConfig: se_MetricAttributionOutput(input.metricsOutputConfig, context),
|
|
3211
|
-
}),
|
|
3212
|
-
...(input.name != null && { name: input.name }),
|
|
3213
|
-
};
|
|
3214
|
-
};
|
|
3215
|
-
const se_CreateRecommenderRequest = (input, context) => {
|
|
3216
|
-
return {
|
|
3217
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3218
|
-
...(input.name != null && { name: input.name }),
|
|
3219
|
-
...(input.recipeArn != null && { recipeArn: input.recipeArn }),
|
|
3220
|
-
...(input.recommenderConfig != null && {
|
|
3221
|
-
recommenderConfig: se_RecommenderConfig(input.recommenderConfig, context),
|
|
3222
|
-
}),
|
|
3223
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3224
|
-
};
|
|
3225
|
-
};
|
|
3226
|
-
const se_CreateSchemaRequest = (input, context) => {
|
|
3227
|
-
return {
|
|
3228
|
-
...(input.domain != null && { domain: input.domain }),
|
|
3229
|
-
...(input.name != null && { name: input.name }),
|
|
3230
|
-
...(input.schema != null && { schema: input.schema }),
|
|
3231
|
-
};
|
|
3232
|
-
};
|
|
3233
2980
|
const se_CreateSolutionRequest = (input, context) => {
|
|
3234
|
-
return {
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
};
|
|
3244
|
-
};
|
|
3245
|
-
const se_CreateSolutionVersionRequest = (input, context) => {
|
|
3246
|
-
return {
|
|
3247
|
-
...(input.name != null && { name: input.name }),
|
|
3248
|
-
...(input.solutionArn != null && { solutionArn: input.solutionArn }),
|
|
3249
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3250
|
-
...(input.trainingMode != null && { trainingMode: input.trainingMode }),
|
|
3251
|
-
};
|
|
3252
|
-
};
|
|
3253
|
-
const se_DatasetExportJobOutput = (input, context) => {
|
|
3254
|
-
return {
|
|
3255
|
-
...(input.s3DataDestination != null && { s3DataDestination: se_S3DataConfig(input.s3DataDestination, context) }),
|
|
3256
|
-
};
|
|
3257
|
-
};
|
|
3258
|
-
const se_DataSource = (input, context) => {
|
|
3259
|
-
return {
|
|
3260
|
-
...(input.dataLocation != null && { dataLocation: input.dataLocation }),
|
|
3261
|
-
};
|
|
3262
|
-
};
|
|
3263
|
-
const se_DeleteCampaignRequest = (input, context) => {
|
|
3264
|
-
return {
|
|
3265
|
-
...(input.campaignArn != null && { campaignArn: input.campaignArn }),
|
|
3266
|
-
};
|
|
3267
|
-
};
|
|
3268
|
-
const se_DeleteDatasetGroupRequest = (input, context) => {
|
|
3269
|
-
return {
|
|
3270
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3271
|
-
};
|
|
3272
|
-
};
|
|
3273
|
-
const se_DeleteDatasetRequest = (input, context) => {
|
|
3274
|
-
return {
|
|
3275
|
-
...(input.datasetArn != null && { datasetArn: input.datasetArn }),
|
|
3276
|
-
};
|
|
3277
|
-
};
|
|
3278
|
-
const se_DeleteEventTrackerRequest = (input, context) => {
|
|
3279
|
-
return {
|
|
3280
|
-
...(input.eventTrackerArn != null && { eventTrackerArn: input.eventTrackerArn }),
|
|
3281
|
-
};
|
|
3282
|
-
};
|
|
3283
|
-
const se_DeleteFilterRequest = (input, context) => {
|
|
3284
|
-
return {
|
|
3285
|
-
...(input.filterArn != null && { filterArn: input.filterArn }),
|
|
3286
|
-
};
|
|
3287
|
-
};
|
|
3288
|
-
const se_DeleteMetricAttributionRequest = (input, context) => {
|
|
3289
|
-
return {
|
|
3290
|
-
...(input.metricAttributionArn != null && { metricAttributionArn: input.metricAttributionArn }),
|
|
3291
|
-
};
|
|
3292
|
-
};
|
|
3293
|
-
const se_DeleteRecommenderRequest = (input, context) => {
|
|
3294
|
-
return {
|
|
3295
|
-
...(input.recommenderArn != null && { recommenderArn: input.recommenderArn }),
|
|
3296
|
-
};
|
|
3297
|
-
};
|
|
3298
|
-
const se_DeleteSchemaRequest = (input, context) => {
|
|
3299
|
-
return {
|
|
3300
|
-
...(input.schemaArn != null && { schemaArn: input.schemaArn }),
|
|
3301
|
-
};
|
|
3302
|
-
};
|
|
3303
|
-
const se_DeleteSolutionRequest = (input, context) => {
|
|
3304
|
-
return {
|
|
3305
|
-
...(input.solutionArn != null && { solutionArn: input.solutionArn }),
|
|
3306
|
-
};
|
|
3307
|
-
};
|
|
3308
|
-
const se_DescribeAlgorithmRequest = (input, context) => {
|
|
3309
|
-
return {
|
|
3310
|
-
...(input.algorithmArn != null && { algorithmArn: input.algorithmArn }),
|
|
3311
|
-
};
|
|
3312
|
-
};
|
|
3313
|
-
const se_DescribeBatchInferenceJobRequest = (input, context) => {
|
|
3314
|
-
return {
|
|
3315
|
-
...(input.batchInferenceJobArn != null && { batchInferenceJobArn: input.batchInferenceJobArn }),
|
|
3316
|
-
};
|
|
3317
|
-
};
|
|
3318
|
-
const se_DescribeBatchSegmentJobRequest = (input, context) => {
|
|
3319
|
-
return {
|
|
3320
|
-
...(input.batchSegmentJobArn != null && { batchSegmentJobArn: input.batchSegmentJobArn }),
|
|
3321
|
-
};
|
|
3322
|
-
};
|
|
3323
|
-
const se_DescribeCampaignRequest = (input, context) => {
|
|
3324
|
-
return {
|
|
3325
|
-
...(input.campaignArn != null && { campaignArn: input.campaignArn }),
|
|
3326
|
-
};
|
|
3327
|
-
};
|
|
3328
|
-
const se_DescribeDatasetExportJobRequest = (input, context) => {
|
|
3329
|
-
return {
|
|
3330
|
-
...(input.datasetExportJobArn != null && { datasetExportJobArn: input.datasetExportJobArn }),
|
|
3331
|
-
};
|
|
3332
|
-
};
|
|
3333
|
-
const se_DescribeDatasetGroupRequest = (input, context) => {
|
|
3334
|
-
return {
|
|
3335
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3336
|
-
};
|
|
3337
|
-
};
|
|
3338
|
-
const se_DescribeDatasetImportJobRequest = (input, context) => {
|
|
3339
|
-
return {
|
|
3340
|
-
...(input.datasetImportJobArn != null && { datasetImportJobArn: input.datasetImportJobArn }),
|
|
3341
|
-
};
|
|
3342
|
-
};
|
|
3343
|
-
const se_DescribeDatasetRequest = (input, context) => {
|
|
3344
|
-
return {
|
|
3345
|
-
...(input.datasetArn != null && { datasetArn: input.datasetArn }),
|
|
3346
|
-
};
|
|
3347
|
-
};
|
|
3348
|
-
const se_DescribeEventTrackerRequest = (input, context) => {
|
|
3349
|
-
return {
|
|
3350
|
-
...(input.eventTrackerArn != null && { eventTrackerArn: input.eventTrackerArn }),
|
|
3351
|
-
};
|
|
3352
|
-
};
|
|
3353
|
-
const se_DescribeFeatureTransformationRequest = (input, context) => {
|
|
3354
|
-
return {
|
|
3355
|
-
...(input.featureTransformationArn != null && { featureTransformationArn: input.featureTransformationArn }),
|
|
3356
|
-
};
|
|
3357
|
-
};
|
|
3358
|
-
const se_DescribeFilterRequest = (input, context) => {
|
|
3359
|
-
return {
|
|
3360
|
-
...(input.filterArn != null && { filterArn: input.filterArn }),
|
|
3361
|
-
};
|
|
3362
|
-
};
|
|
3363
|
-
const se_DescribeMetricAttributionRequest = (input, context) => {
|
|
3364
|
-
return {
|
|
3365
|
-
...(input.metricAttributionArn != null && { metricAttributionArn: input.metricAttributionArn }),
|
|
3366
|
-
};
|
|
3367
|
-
};
|
|
3368
|
-
const se_DescribeRecipeRequest = (input, context) => {
|
|
3369
|
-
return {
|
|
3370
|
-
...(input.recipeArn != null && { recipeArn: input.recipeArn }),
|
|
3371
|
-
};
|
|
3372
|
-
};
|
|
3373
|
-
const se_DescribeRecommenderRequest = (input, context) => {
|
|
3374
|
-
return {
|
|
3375
|
-
...(input.recommenderArn != null && { recommenderArn: input.recommenderArn }),
|
|
3376
|
-
};
|
|
3377
|
-
};
|
|
3378
|
-
const se_DescribeSchemaRequest = (input, context) => {
|
|
3379
|
-
return {
|
|
3380
|
-
...(input.schemaArn != null && { schemaArn: input.schemaArn }),
|
|
3381
|
-
};
|
|
3382
|
-
};
|
|
3383
|
-
const se_DescribeSolutionRequest = (input, context) => {
|
|
3384
|
-
return {
|
|
3385
|
-
...(input.solutionArn != null && { solutionArn: input.solutionArn }),
|
|
3386
|
-
};
|
|
3387
|
-
};
|
|
3388
|
-
const se_DescribeSolutionVersionRequest = (input, context) => {
|
|
3389
|
-
return {
|
|
3390
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3391
|
-
};
|
|
3392
|
-
};
|
|
3393
|
-
const se_FeatureTransformationParameters = (input, context) => {
|
|
3394
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3395
|
-
if (value === null) {
|
|
3396
|
-
return acc;
|
|
3397
|
-
}
|
|
3398
|
-
acc[key] = value;
|
|
3399
|
-
return acc;
|
|
3400
|
-
}, {});
|
|
3401
|
-
};
|
|
3402
|
-
const se_GetSolutionMetricsRequest = (input, context) => {
|
|
3403
|
-
return {
|
|
3404
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3405
|
-
};
|
|
3406
|
-
};
|
|
3407
|
-
const se_HPOConfig = (input, context) => {
|
|
3408
|
-
return {
|
|
3409
|
-
...(input.algorithmHyperParameterRanges != null && {
|
|
3410
|
-
algorithmHyperParameterRanges: se_HyperParameterRanges(input.algorithmHyperParameterRanges, context),
|
|
3411
|
-
}),
|
|
3412
|
-
...(input.hpoObjective != null && { hpoObjective: se_HPOObjective(input.hpoObjective, context) }),
|
|
3413
|
-
...(input.hpoResourceConfig != null && {
|
|
3414
|
-
hpoResourceConfig: se_HPOResourceConfig(input.hpoResourceConfig, context),
|
|
3415
|
-
}),
|
|
3416
|
-
};
|
|
3417
|
-
};
|
|
3418
|
-
const se_HPOObjective = (input, context) => {
|
|
3419
|
-
return {
|
|
3420
|
-
...(input.metricName != null && { metricName: input.metricName }),
|
|
3421
|
-
...(input.metricRegex != null && { metricRegex: input.metricRegex }),
|
|
3422
|
-
...(input.type != null && { type: input.type }),
|
|
3423
|
-
};
|
|
3424
|
-
};
|
|
3425
|
-
const se_HPOResourceConfig = (input, context) => {
|
|
3426
|
-
return {
|
|
3427
|
-
...(input.maxNumberOfTrainingJobs != null && { maxNumberOfTrainingJobs: input.maxNumberOfTrainingJobs }),
|
|
3428
|
-
...(input.maxParallelTrainingJobs != null && { maxParallelTrainingJobs: input.maxParallelTrainingJobs }),
|
|
3429
|
-
};
|
|
3430
|
-
};
|
|
3431
|
-
const se_HyperParameterRanges = (input, context) => {
|
|
3432
|
-
return {
|
|
3433
|
-
...(input.categoricalHyperParameterRanges != null && {
|
|
3434
|
-
categoricalHyperParameterRanges: se_CategoricalHyperParameterRanges(input.categoricalHyperParameterRanges, context),
|
|
3435
|
-
}),
|
|
3436
|
-
...(input.continuousHyperParameterRanges != null && {
|
|
3437
|
-
continuousHyperParameterRanges: se_ContinuousHyperParameterRanges(input.continuousHyperParameterRanges, context),
|
|
3438
|
-
}),
|
|
3439
|
-
...(input.integerHyperParameterRanges != null && {
|
|
3440
|
-
integerHyperParameterRanges: se_IntegerHyperParameterRanges(input.integerHyperParameterRanges, context),
|
|
3441
|
-
}),
|
|
3442
|
-
};
|
|
3443
|
-
};
|
|
3444
|
-
const se_HyperParameters = (input, context) => {
|
|
3445
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3446
|
-
if (value === null) {
|
|
3447
|
-
return acc;
|
|
3448
|
-
}
|
|
3449
|
-
acc[key] = value;
|
|
3450
|
-
return acc;
|
|
3451
|
-
}, {});
|
|
3452
|
-
};
|
|
3453
|
-
const se_IntegerHyperParameterRange = (input, context) => {
|
|
3454
|
-
return {
|
|
3455
|
-
...(input.maxValue != null && { maxValue: input.maxValue }),
|
|
3456
|
-
...(input.minValue != null && { minValue: input.minValue }),
|
|
3457
|
-
...(input.name != null && { name: input.name }),
|
|
3458
|
-
};
|
|
3459
|
-
};
|
|
3460
|
-
const se_IntegerHyperParameterRanges = (input, context) => {
|
|
3461
|
-
return input
|
|
3462
|
-
.filter((e) => e != null)
|
|
3463
|
-
.map((entry) => {
|
|
3464
|
-
return se_IntegerHyperParameterRange(entry, context);
|
|
2981
|
+
return take(input, {
|
|
2982
|
+
datasetGroupArn: [],
|
|
2983
|
+
eventType: [],
|
|
2984
|
+
name: [],
|
|
2985
|
+
performAutoML: [],
|
|
2986
|
+
performHPO: [],
|
|
2987
|
+
recipeArn: [],
|
|
2988
|
+
solutionConfig: (_) => se_SolutionConfig(_, context),
|
|
2989
|
+
tags: _json,
|
|
3465
2990
|
});
|
|
3466
2991
|
};
|
|
3467
|
-
const
|
|
3468
|
-
return {
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
};
|
|
3473
|
-
};
|
|
3474
|
-
const se_ListBatchSegmentJobsRequest = (input, context) => {
|
|
3475
|
-
return {
|
|
3476
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3477
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3478
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3479
|
-
};
|
|
3480
|
-
};
|
|
3481
|
-
const se_ListCampaignsRequest = (input, context) => {
|
|
3482
|
-
return {
|
|
3483
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3484
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3485
|
-
...(input.solutionArn != null && { solutionArn: input.solutionArn }),
|
|
3486
|
-
};
|
|
3487
|
-
};
|
|
3488
|
-
const se_ListDatasetExportJobsRequest = (input, context) => {
|
|
3489
|
-
return {
|
|
3490
|
-
...(input.datasetArn != null && { datasetArn: input.datasetArn }),
|
|
3491
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3492
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3493
|
-
};
|
|
3494
|
-
};
|
|
3495
|
-
const se_ListDatasetGroupsRequest = (input, context) => {
|
|
3496
|
-
return {
|
|
3497
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3498
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3499
|
-
};
|
|
3500
|
-
};
|
|
3501
|
-
const se_ListDatasetImportJobsRequest = (input, context) => {
|
|
3502
|
-
return {
|
|
3503
|
-
...(input.datasetArn != null && { datasetArn: input.datasetArn }),
|
|
3504
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3505
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3506
|
-
};
|
|
3507
|
-
};
|
|
3508
|
-
const se_ListDatasetsRequest = (input, context) => {
|
|
3509
|
-
return {
|
|
3510
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3511
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3512
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3513
|
-
};
|
|
3514
|
-
};
|
|
3515
|
-
const se_ListEventTrackersRequest = (input, context) => {
|
|
3516
|
-
return {
|
|
3517
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3518
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3519
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3520
|
-
};
|
|
3521
|
-
};
|
|
3522
|
-
const se_ListFiltersRequest = (input, context) => {
|
|
3523
|
-
return {
|
|
3524
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3525
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3526
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3527
|
-
};
|
|
3528
|
-
};
|
|
3529
|
-
const se_ListMetricAttributionMetricsRequest = (input, context) => {
|
|
3530
|
-
return {
|
|
3531
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3532
|
-
...(input.metricAttributionArn != null && { metricAttributionArn: input.metricAttributionArn }),
|
|
3533
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3534
|
-
};
|
|
3535
|
-
};
|
|
3536
|
-
const se_ListMetricAttributionsRequest = (input, context) => {
|
|
3537
|
-
return {
|
|
3538
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3539
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3540
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3541
|
-
};
|
|
3542
|
-
};
|
|
3543
|
-
const se_ListRecipesRequest = (input, context) => {
|
|
3544
|
-
return {
|
|
3545
|
-
...(input.domain != null && { domain: input.domain }),
|
|
3546
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3547
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3548
|
-
...(input.recipeProvider != null && { recipeProvider: input.recipeProvider }),
|
|
3549
|
-
};
|
|
3550
|
-
};
|
|
3551
|
-
const se_ListRecommendersRequest = (input, context) => {
|
|
3552
|
-
return {
|
|
3553
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3554
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3555
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3556
|
-
};
|
|
3557
|
-
};
|
|
3558
|
-
const se_ListSchemasRequest = (input, context) => {
|
|
3559
|
-
return {
|
|
3560
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3561
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3562
|
-
};
|
|
3563
|
-
};
|
|
3564
|
-
const se_ListSolutionsRequest = (input, context) => {
|
|
3565
|
-
return {
|
|
3566
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3567
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3568
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3569
|
-
};
|
|
3570
|
-
};
|
|
3571
|
-
const se_ListSolutionVersionsRequest = (input, context) => {
|
|
3572
|
-
return {
|
|
3573
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3574
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3575
|
-
...(input.solutionArn != null && { solutionArn: input.solutionArn }),
|
|
3576
|
-
};
|
|
3577
|
-
};
|
|
3578
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
3579
|
-
return {
|
|
3580
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
3581
|
-
};
|
|
3582
|
-
};
|
|
3583
|
-
const se_MetricAttribute = (input, context) => {
|
|
3584
|
-
return {
|
|
3585
|
-
...(input.eventType != null && { eventType: input.eventType }),
|
|
3586
|
-
...(input.expression != null && { expression: input.expression }),
|
|
3587
|
-
...(input.metricName != null && { metricName: input.metricName }),
|
|
3588
|
-
};
|
|
3589
|
-
};
|
|
3590
|
-
const se_MetricAttributes = (input, context) => {
|
|
3591
|
-
return input
|
|
3592
|
-
.filter((e) => e != null)
|
|
3593
|
-
.map((entry) => {
|
|
3594
|
-
return se_MetricAttribute(entry, context);
|
|
2992
|
+
const se_HPOConfig = (input, context) => {
|
|
2993
|
+
return take(input, {
|
|
2994
|
+
algorithmHyperParameterRanges: (_) => se_HyperParameterRanges(_, context),
|
|
2995
|
+
hpoObjective: _json,
|
|
2996
|
+
hpoResourceConfig: _json,
|
|
3595
2997
|
});
|
|
3596
2998
|
};
|
|
3597
|
-
const
|
|
3598
|
-
return input
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
2999
|
+
const se_HyperParameterRanges = (input, context) => {
|
|
3000
|
+
return take(input, {
|
|
3001
|
+
categoricalHyperParameterRanges: _json,
|
|
3002
|
+
continuousHyperParameterRanges: (_) => se_ContinuousHyperParameterRanges(_, context),
|
|
3003
|
+
integerHyperParameterRanges: _json,
|
|
3602
3004
|
});
|
|
3603
3005
|
};
|
|
3604
|
-
const se_MetricAttributionOutput = (input, context) => {
|
|
3605
|
-
return {
|
|
3606
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
3607
|
-
...(input.s3DataDestination != null && { s3DataDestination: se_S3DataConfig(input.s3DataDestination, context) }),
|
|
3608
|
-
};
|
|
3609
|
-
};
|
|
3610
|
-
const se_OptimizationObjective = (input, context) => {
|
|
3611
|
-
return {
|
|
3612
|
-
...(input.itemAttribute != null && { itemAttribute: input.itemAttribute }),
|
|
3613
|
-
...(input.objectiveSensitivity != null && { objectiveSensitivity: input.objectiveSensitivity }),
|
|
3614
|
-
};
|
|
3615
|
-
};
|
|
3616
|
-
const se_RecommenderConfig = (input, context) => {
|
|
3617
|
-
return {
|
|
3618
|
-
...(input.itemExplorationConfig != null && {
|
|
3619
|
-
itemExplorationConfig: se_HyperParameters(input.itemExplorationConfig, context),
|
|
3620
|
-
}),
|
|
3621
|
-
...(input.minRecommendationRequestsPerSecond != null && {
|
|
3622
|
-
minRecommendationRequestsPerSecond: input.minRecommendationRequestsPerSecond,
|
|
3623
|
-
}),
|
|
3624
|
-
};
|
|
3625
|
-
};
|
|
3626
|
-
const se_S3DataConfig = (input, context) => {
|
|
3627
|
-
return {
|
|
3628
|
-
...(input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn }),
|
|
3629
|
-
...(input.path != null && { path: input.path }),
|
|
3630
|
-
};
|
|
3631
|
-
};
|
|
3632
3006
|
const se_SolutionConfig = (input, context) => {
|
|
3633
|
-
return {
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
featureTransformationParameters: se_FeatureTransformationParameters(input.featureTransformationParameters, context),
|
|
3641
|
-
}),
|
|
3642
|
-
...(input.hpoConfig != null && { hpoConfig: se_HPOConfig(input.hpoConfig, context) }),
|
|
3643
|
-
...(input.optimizationObjective != null && {
|
|
3644
|
-
optimizationObjective: se_OptimizationObjective(input.optimizationObjective, context),
|
|
3645
|
-
}),
|
|
3646
|
-
};
|
|
3647
|
-
};
|
|
3648
|
-
const se_StartRecommenderRequest = (input, context) => {
|
|
3649
|
-
return {
|
|
3650
|
-
...(input.recommenderArn != null && { recommenderArn: input.recommenderArn }),
|
|
3651
|
-
};
|
|
3652
|
-
};
|
|
3653
|
-
const se_StopRecommenderRequest = (input, context) => {
|
|
3654
|
-
return {
|
|
3655
|
-
...(input.recommenderArn != null && { recommenderArn: input.recommenderArn }),
|
|
3656
|
-
};
|
|
3657
|
-
};
|
|
3658
|
-
const se_StopSolutionVersionCreationRequest = (input, context) => {
|
|
3659
|
-
return {
|
|
3660
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3661
|
-
};
|
|
3662
|
-
};
|
|
3663
|
-
const se_Tag = (input, context) => {
|
|
3664
|
-
return {
|
|
3665
|
-
...(input.tagKey != null && { tagKey: input.tagKey }),
|
|
3666
|
-
...(input.tagValue != null && { tagValue: input.tagValue }),
|
|
3667
|
-
};
|
|
3668
|
-
};
|
|
3669
|
-
const se_TagKeys = (input, context) => {
|
|
3670
|
-
return input
|
|
3671
|
-
.filter((e) => e != null)
|
|
3672
|
-
.map((entry) => {
|
|
3673
|
-
return entry;
|
|
3007
|
+
return take(input, {
|
|
3008
|
+
algorithmHyperParameters: _json,
|
|
3009
|
+
autoMLConfig: _json,
|
|
3010
|
+
eventValueThreshold: [],
|
|
3011
|
+
featureTransformationParameters: _json,
|
|
3012
|
+
hpoConfig: (_) => se_HPOConfig(_, context),
|
|
3013
|
+
optimizationObjective: _json,
|
|
3674
3014
|
});
|
|
3675
3015
|
};
|
|
3676
|
-
const se_TagResourceRequest = (input, context) => {
|
|
3677
|
-
return {
|
|
3678
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
3679
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3680
|
-
};
|
|
3681
|
-
};
|
|
3682
|
-
const se_Tags = (input, context) => {
|
|
3683
|
-
return input
|
|
3684
|
-
.filter((e) => e != null)
|
|
3685
|
-
.map((entry) => {
|
|
3686
|
-
return se_Tag(entry, context);
|
|
3687
|
-
});
|
|
3688
|
-
};
|
|
3689
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
3690
|
-
return {
|
|
3691
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
3692
|
-
...(input.tagKeys != null && { tagKeys: se_TagKeys(input.tagKeys, context) }),
|
|
3693
|
-
};
|
|
3694
|
-
};
|
|
3695
|
-
const se_UpdateCampaignRequest = (input, context) => {
|
|
3696
|
-
return {
|
|
3697
|
-
...(input.campaignArn != null && { campaignArn: input.campaignArn }),
|
|
3698
|
-
...(input.campaignConfig != null && { campaignConfig: se_CampaignConfig(input.campaignConfig, context) }),
|
|
3699
|
-
...(input.minProvisionedTPS != null && { minProvisionedTPS: input.minProvisionedTPS }),
|
|
3700
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3701
|
-
};
|
|
3702
|
-
};
|
|
3703
|
-
const se_UpdateMetricAttributionRequest = (input, context) => {
|
|
3704
|
-
return {
|
|
3705
|
-
...(input.addMetrics != null && { addMetrics: se_MetricAttributes(input.addMetrics, context) }),
|
|
3706
|
-
...(input.metricAttributionArn != null && { metricAttributionArn: input.metricAttributionArn }),
|
|
3707
|
-
...(input.metricsOutputConfig != null && {
|
|
3708
|
-
metricsOutputConfig: se_MetricAttributionOutput(input.metricsOutputConfig, context),
|
|
3709
|
-
}),
|
|
3710
|
-
...(input.removeMetrics != null && { removeMetrics: se_MetricAttributesNamesList(input.removeMetrics, context) }),
|
|
3711
|
-
};
|
|
3712
|
-
};
|
|
3713
|
-
const se_UpdateRecommenderRequest = (input, context) => {
|
|
3714
|
-
return {
|
|
3715
|
-
...(input.recommenderArn != null && { recommenderArn: input.recommenderArn }),
|
|
3716
|
-
...(input.recommenderConfig != null && {
|
|
3717
|
-
recommenderConfig: se_RecommenderConfig(input.recommenderConfig, context),
|
|
3718
|
-
}),
|
|
3719
|
-
};
|
|
3720
|
-
};
|
|
3721
3016
|
const de_Algorithm = (output, context) => {
|
|
3722
|
-
return {
|
|
3723
|
-
algorithmArn: __expectString
|
|
3724
|
-
algorithmImage:
|
|
3725
|
-
creationDateTime:
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
3734
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
3735
|
-
: undefined,
|
|
3736
|
-
name: __expectString(output.name),
|
|
3737
|
-
roleArn: __expectString(output.roleArn),
|
|
3738
|
-
trainingInputMode: __expectString(output.trainingInputMode),
|
|
3739
|
-
};
|
|
3740
|
-
};
|
|
3741
|
-
const de_AlgorithmImage = (output, context) => {
|
|
3742
|
-
return {
|
|
3743
|
-
dockerURI: __expectString(output.dockerURI),
|
|
3744
|
-
name: __expectString(output.name),
|
|
3745
|
-
};
|
|
3746
|
-
};
|
|
3747
|
-
const de_ArnList = (output, context) => {
|
|
3748
|
-
const retVal = (output || [])
|
|
3749
|
-
.filter((e) => e != null)
|
|
3750
|
-
.map((entry) => {
|
|
3751
|
-
if (entry === null) {
|
|
3752
|
-
return null;
|
|
3753
|
-
}
|
|
3754
|
-
return __expectString(entry);
|
|
3017
|
+
return take(output, {
|
|
3018
|
+
algorithmArn: __expectString,
|
|
3019
|
+
algorithmImage: _json,
|
|
3020
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3021
|
+
defaultHyperParameterRanges: (_) => de_DefaultHyperParameterRanges(_, context),
|
|
3022
|
+
defaultHyperParameters: _json,
|
|
3023
|
+
defaultResourceConfig: _json,
|
|
3024
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3025
|
+
name: __expectString,
|
|
3026
|
+
roleArn: __expectString,
|
|
3027
|
+
trainingInputMode: __expectString,
|
|
3755
3028
|
});
|
|
3756
|
-
return retVal;
|
|
3757
|
-
};
|
|
3758
|
-
const de_AutoMLConfig = (output, context) => {
|
|
3759
|
-
return {
|
|
3760
|
-
metricName: __expectString(output.metricName),
|
|
3761
|
-
recipeList: output.recipeList != null ? de_ArnList(output.recipeList, context) : undefined,
|
|
3762
|
-
};
|
|
3763
|
-
};
|
|
3764
|
-
const de_AutoMLResult = (output, context) => {
|
|
3765
|
-
return {
|
|
3766
|
-
bestRecipeArn: __expectString(output.bestRecipeArn),
|
|
3767
|
-
};
|
|
3768
3029
|
};
|
|
3769
3030
|
const de_BatchInferenceJob = (output, context) => {
|
|
3770
|
-
return {
|
|
3771
|
-
batchInferenceJobArn: __expectString
|
|
3772
|
-
batchInferenceJobConfig:
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
: undefined,
|
|
3786
|
-
numResults: __expectInt32(output.numResults),
|
|
3787
|
-
roleArn: __expectString(output.roleArn),
|
|
3788
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
3789
|
-
status: __expectString(output.status),
|
|
3790
|
-
};
|
|
3791
|
-
};
|
|
3792
|
-
const de_BatchInferenceJobConfig = (output, context) => {
|
|
3793
|
-
return {
|
|
3794
|
-
itemExplorationConfig: output.itemExplorationConfig != null ? de_HyperParameters(output.itemExplorationConfig, context) : undefined,
|
|
3795
|
-
};
|
|
3796
|
-
};
|
|
3797
|
-
const de_BatchInferenceJobInput = (output, context) => {
|
|
3798
|
-
return {
|
|
3799
|
-
s3DataSource: output.s3DataSource != null ? de_S3DataConfig(output.s3DataSource, context) : undefined,
|
|
3800
|
-
};
|
|
3801
|
-
};
|
|
3802
|
-
const de_BatchInferenceJobOutput = (output, context) => {
|
|
3803
|
-
return {
|
|
3804
|
-
s3DataDestination: output.s3DataDestination != null ? de_S3DataConfig(output.s3DataDestination, context) : undefined,
|
|
3805
|
-
};
|
|
3031
|
+
return take(output, {
|
|
3032
|
+
batchInferenceJobArn: __expectString,
|
|
3033
|
+
batchInferenceJobConfig: _json,
|
|
3034
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3035
|
+
failureReason: __expectString,
|
|
3036
|
+
filterArn: __expectString,
|
|
3037
|
+
jobInput: _json,
|
|
3038
|
+
jobName: __expectString,
|
|
3039
|
+
jobOutput: _json,
|
|
3040
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3041
|
+
numResults: __expectInt32,
|
|
3042
|
+
roleArn: __expectString,
|
|
3043
|
+
solutionVersionArn: __expectString,
|
|
3044
|
+
status: __expectString,
|
|
3045
|
+
});
|
|
3806
3046
|
};
|
|
3807
3047
|
const de_BatchInferenceJobs = (output, context) => {
|
|
3808
3048
|
const retVal = (output || [])
|
|
3809
3049
|
.filter((e) => e != null)
|
|
3810
3050
|
.map((entry) => {
|
|
3811
|
-
if (entry === null) {
|
|
3812
|
-
return null;
|
|
3813
|
-
}
|
|
3814
3051
|
return de_BatchInferenceJobSummary(entry, context);
|
|
3815
3052
|
});
|
|
3816
3053
|
return retVal;
|
|
3817
3054
|
};
|
|
3818
3055
|
const de_BatchInferenceJobSummary = (output, context) => {
|
|
3819
|
-
return {
|
|
3820
|
-
batchInferenceJobArn: __expectString
|
|
3821
|
-
creationDateTime:
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
: undefined,
|
|
3829
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
3830
|
-
status: __expectString(output.status),
|
|
3831
|
-
};
|
|
3056
|
+
return take(output, {
|
|
3057
|
+
batchInferenceJobArn: __expectString,
|
|
3058
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3059
|
+
failureReason: __expectString,
|
|
3060
|
+
jobName: __expectString,
|
|
3061
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3062
|
+
solutionVersionArn: __expectString,
|
|
3063
|
+
status: __expectString,
|
|
3064
|
+
});
|
|
3832
3065
|
};
|
|
3833
3066
|
const de_BatchSegmentJob = (output, context) => {
|
|
3834
|
-
return {
|
|
3835
|
-
batchSegmentJobArn: __expectString
|
|
3836
|
-
creationDateTime:
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
roleArn: __expectString(output.roleArn),
|
|
3849
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
3850
|
-
status: __expectString(output.status),
|
|
3851
|
-
};
|
|
3852
|
-
};
|
|
3853
|
-
const de_BatchSegmentJobInput = (output, context) => {
|
|
3854
|
-
return {
|
|
3855
|
-
s3DataSource: output.s3DataSource != null ? de_S3DataConfig(output.s3DataSource, context) : undefined,
|
|
3856
|
-
};
|
|
3857
|
-
};
|
|
3858
|
-
const de_BatchSegmentJobOutput = (output, context) => {
|
|
3859
|
-
return {
|
|
3860
|
-
s3DataDestination: output.s3DataDestination != null ? de_S3DataConfig(output.s3DataDestination, context) : undefined,
|
|
3861
|
-
};
|
|
3067
|
+
return take(output, {
|
|
3068
|
+
batchSegmentJobArn: __expectString,
|
|
3069
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3070
|
+
failureReason: __expectString,
|
|
3071
|
+
filterArn: __expectString,
|
|
3072
|
+
jobInput: _json,
|
|
3073
|
+
jobName: __expectString,
|
|
3074
|
+
jobOutput: _json,
|
|
3075
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3076
|
+
numResults: __expectInt32,
|
|
3077
|
+
roleArn: __expectString,
|
|
3078
|
+
solutionVersionArn: __expectString,
|
|
3079
|
+
status: __expectString,
|
|
3080
|
+
});
|
|
3862
3081
|
};
|
|
3863
3082
|
const de_BatchSegmentJobs = (output, context) => {
|
|
3864
3083
|
const retVal = (output || [])
|
|
3865
3084
|
.filter((e) => e != null)
|
|
3866
3085
|
.map((entry) => {
|
|
3867
|
-
if (entry === null) {
|
|
3868
|
-
return null;
|
|
3869
|
-
}
|
|
3870
3086
|
return de_BatchSegmentJobSummary(entry, context);
|
|
3871
3087
|
});
|
|
3872
3088
|
return retVal;
|
|
3873
3089
|
};
|
|
3874
3090
|
const de_BatchSegmentJobSummary = (output, context) => {
|
|
3875
|
-
return {
|
|
3876
|
-
batchSegmentJobArn: __expectString
|
|
3877
|
-
creationDateTime:
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
: undefined,
|
|
3885
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
3886
|
-
status: __expectString(output.status),
|
|
3887
|
-
};
|
|
3091
|
+
return take(output, {
|
|
3092
|
+
batchSegmentJobArn: __expectString,
|
|
3093
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3094
|
+
failureReason: __expectString,
|
|
3095
|
+
jobName: __expectString,
|
|
3096
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3097
|
+
solutionVersionArn: __expectString,
|
|
3098
|
+
status: __expectString,
|
|
3099
|
+
});
|
|
3888
3100
|
};
|
|
3889
3101
|
const de_Campaign = (output, context) => {
|
|
3890
|
-
return {
|
|
3891
|
-
campaignArn: __expectString
|
|
3892
|
-
campaignConfig:
|
|
3893
|
-
creationDateTime:
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
name: __expectString(output.name),
|
|
3903
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
3904
|
-
status: __expectString(output.status),
|
|
3905
|
-
};
|
|
3906
|
-
};
|
|
3907
|
-
const de_CampaignConfig = (output, context) => {
|
|
3908
|
-
return {
|
|
3909
|
-
itemExplorationConfig: output.itemExplorationConfig != null ? de_HyperParameters(output.itemExplorationConfig, context) : undefined,
|
|
3910
|
-
};
|
|
3102
|
+
return take(output, {
|
|
3103
|
+
campaignArn: __expectString,
|
|
3104
|
+
campaignConfig: _json,
|
|
3105
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3106
|
+
failureReason: __expectString,
|
|
3107
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3108
|
+
latestCampaignUpdate: (_) => de_CampaignUpdateSummary(_, context),
|
|
3109
|
+
minProvisionedTPS: __expectInt32,
|
|
3110
|
+
name: __expectString,
|
|
3111
|
+
solutionVersionArn: __expectString,
|
|
3112
|
+
status: __expectString,
|
|
3113
|
+
});
|
|
3911
3114
|
};
|
|
3912
3115
|
const de_Campaigns = (output, context) => {
|
|
3913
3116
|
const retVal = (output || [])
|
|
3914
3117
|
.filter((e) => e != null)
|
|
3915
3118
|
.map((entry) => {
|
|
3916
|
-
if (entry === null) {
|
|
3917
|
-
return null;
|
|
3918
|
-
}
|
|
3919
3119
|
return de_CampaignSummary(entry, context);
|
|
3920
3120
|
});
|
|
3921
3121
|
return retVal;
|
|
3922
3122
|
};
|
|
3923
3123
|
const de_CampaignSummary = (output, context) => {
|
|
3924
|
-
return {
|
|
3925
|
-
campaignArn: __expectString
|
|
3926
|
-
creationDateTime:
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
3932
|
-
: undefined,
|
|
3933
|
-
name: __expectString(output.name),
|
|
3934
|
-
status: __expectString(output.status),
|
|
3935
|
-
};
|
|
3936
|
-
};
|
|
3937
|
-
const de_CampaignUpdateSummary = (output, context) => {
|
|
3938
|
-
return {
|
|
3939
|
-
campaignConfig: output.campaignConfig != null ? de_CampaignConfig(output.campaignConfig, context) : undefined,
|
|
3940
|
-
creationDateTime: output.creationDateTime != null
|
|
3941
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
3942
|
-
: undefined,
|
|
3943
|
-
failureReason: __expectString(output.failureReason),
|
|
3944
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
3945
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
3946
|
-
: undefined,
|
|
3947
|
-
minProvisionedTPS: __expectInt32(output.minProvisionedTPS),
|
|
3948
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
3949
|
-
status: __expectString(output.status),
|
|
3950
|
-
};
|
|
3951
|
-
};
|
|
3952
|
-
const de_CategoricalHyperParameterRange = (output, context) => {
|
|
3953
|
-
return {
|
|
3954
|
-
name: __expectString(output.name),
|
|
3955
|
-
values: output.values != null ? de_CategoricalValues(output.values, context) : undefined,
|
|
3956
|
-
};
|
|
3957
|
-
};
|
|
3958
|
-
const de_CategoricalHyperParameterRanges = (output, context) => {
|
|
3959
|
-
const retVal = (output || [])
|
|
3960
|
-
.filter((e) => e != null)
|
|
3961
|
-
.map((entry) => {
|
|
3962
|
-
if (entry === null) {
|
|
3963
|
-
return null;
|
|
3964
|
-
}
|
|
3965
|
-
return de_CategoricalHyperParameterRange(entry, context);
|
|
3124
|
+
return take(output, {
|
|
3125
|
+
campaignArn: __expectString,
|
|
3126
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3127
|
+
failureReason: __expectString,
|
|
3128
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3129
|
+
name: __expectString,
|
|
3130
|
+
status: __expectString,
|
|
3966
3131
|
});
|
|
3967
|
-
return retVal;
|
|
3968
3132
|
};
|
|
3969
|
-
const
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3133
|
+
const de_CampaignUpdateSummary = (output, context) => {
|
|
3134
|
+
return take(output, {
|
|
3135
|
+
campaignConfig: _json,
|
|
3136
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3137
|
+
failureReason: __expectString,
|
|
3138
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3139
|
+
minProvisionedTPS: __expectInt32,
|
|
3140
|
+
solutionVersionArn: __expectString,
|
|
3141
|
+
status: __expectString,
|
|
3977
3142
|
});
|
|
3978
|
-
return retVal;
|
|
3979
3143
|
};
|
|
3980
3144
|
const de_ContinuousHyperParameterRange = (output, context) => {
|
|
3981
|
-
return {
|
|
3982
|
-
maxValue: __limitedParseDouble
|
|
3983
|
-
minValue: __limitedParseDouble
|
|
3984
|
-
name: __expectString
|
|
3985
|
-
};
|
|
3145
|
+
return take(output, {
|
|
3146
|
+
maxValue: __limitedParseDouble,
|
|
3147
|
+
minValue: __limitedParseDouble,
|
|
3148
|
+
name: __expectString,
|
|
3149
|
+
});
|
|
3986
3150
|
};
|
|
3987
3151
|
const de_ContinuousHyperParameterRanges = (output, context) => {
|
|
3988
3152
|
const retVal = (output || [])
|
|
3989
3153
|
.filter((e) => e != null)
|
|
3990
3154
|
.map((entry) => {
|
|
3991
|
-
if (entry === null) {
|
|
3992
|
-
return null;
|
|
3993
|
-
}
|
|
3994
3155
|
return de_ContinuousHyperParameterRange(entry, context);
|
|
3995
3156
|
});
|
|
3996
3157
|
return retVal;
|
|
3997
3158
|
};
|
|
3998
|
-
const de_CreateBatchInferenceJobResponse = (output, context) => {
|
|
3999
|
-
return {
|
|
4000
|
-
batchInferenceJobArn: __expectString(output.batchInferenceJobArn),
|
|
4001
|
-
};
|
|
4002
|
-
};
|
|
4003
|
-
const de_CreateBatchSegmentJobResponse = (output, context) => {
|
|
4004
|
-
return {
|
|
4005
|
-
batchSegmentJobArn: __expectString(output.batchSegmentJobArn),
|
|
4006
|
-
};
|
|
4007
|
-
};
|
|
4008
|
-
const de_CreateCampaignResponse = (output, context) => {
|
|
4009
|
-
return {
|
|
4010
|
-
campaignArn: __expectString(output.campaignArn),
|
|
4011
|
-
};
|
|
4012
|
-
};
|
|
4013
|
-
const de_CreateDatasetExportJobResponse = (output, context) => {
|
|
4014
|
-
return {
|
|
4015
|
-
datasetExportJobArn: __expectString(output.datasetExportJobArn),
|
|
4016
|
-
};
|
|
4017
|
-
};
|
|
4018
|
-
const de_CreateDatasetGroupResponse = (output, context) => {
|
|
4019
|
-
return {
|
|
4020
|
-
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
4021
|
-
domain: __expectString(output.domain),
|
|
4022
|
-
};
|
|
4023
|
-
};
|
|
4024
|
-
const de_CreateDatasetImportJobResponse = (output, context) => {
|
|
4025
|
-
return {
|
|
4026
|
-
datasetImportJobArn: __expectString(output.datasetImportJobArn),
|
|
4027
|
-
};
|
|
4028
|
-
};
|
|
4029
|
-
const de_CreateDatasetResponse = (output, context) => {
|
|
4030
|
-
return {
|
|
4031
|
-
datasetArn: __expectString(output.datasetArn),
|
|
4032
|
-
};
|
|
4033
|
-
};
|
|
4034
|
-
const de_CreateEventTrackerResponse = (output, context) => {
|
|
4035
|
-
return {
|
|
4036
|
-
eventTrackerArn: __expectString(output.eventTrackerArn),
|
|
4037
|
-
trackingId: __expectString(output.trackingId),
|
|
4038
|
-
};
|
|
4039
|
-
};
|
|
4040
|
-
const de_CreateFilterResponse = (output, context) => {
|
|
4041
|
-
return {
|
|
4042
|
-
filterArn: __expectString(output.filterArn),
|
|
4043
|
-
};
|
|
4044
|
-
};
|
|
4045
|
-
const de_CreateMetricAttributionResponse = (output, context) => {
|
|
4046
|
-
return {
|
|
4047
|
-
metricAttributionArn: __expectString(output.metricAttributionArn),
|
|
4048
|
-
};
|
|
4049
|
-
};
|
|
4050
|
-
const de_CreateRecommenderResponse = (output, context) => {
|
|
4051
|
-
return {
|
|
4052
|
-
recommenderArn: __expectString(output.recommenderArn),
|
|
4053
|
-
};
|
|
4054
|
-
};
|
|
4055
|
-
const de_CreateSchemaResponse = (output, context) => {
|
|
4056
|
-
return {
|
|
4057
|
-
schemaArn: __expectString(output.schemaArn),
|
|
4058
|
-
};
|
|
4059
|
-
};
|
|
4060
|
-
const de_CreateSolutionResponse = (output, context) => {
|
|
4061
|
-
return {
|
|
4062
|
-
solutionArn: __expectString(output.solutionArn),
|
|
4063
|
-
};
|
|
4064
|
-
};
|
|
4065
|
-
const de_CreateSolutionVersionResponse = (output, context) => {
|
|
4066
|
-
return {
|
|
4067
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
4068
|
-
};
|
|
4069
|
-
};
|
|
4070
3159
|
const de_Dataset = (output, context) => {
|
|
4071
|
-
return {
|
|
4072
|
-
creationDateTime:
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
name: __expectString(output.name),
|
|
4082
|
-
schemaArn: __expectString(output.schemaArn),
|
|
4083
|
-
status: __expectString(output.status),
|
|
4084
|
-
};
|
|
3160
|
+
return take(output, {
|
|
3161
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3162
|
+
datasetArn: __expectString,
|
|
3163
|
+
datasetGroupArn: __expectString,
|
|
3164
|
+
datasetType: __expectString,
|
|
3165
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3166
|
+
name: __expectString,
|
|
3167
|
+
schemaArn: __expectString,
|
|
3168
|
+
status: __expectString,
|
|
3169
|
+
});
|
|
4085
3170
|
};
|
|
4086
3171
|
const de_DatasetExportJob = (output, context) => {
|
|
4087
|
-
return {
|
|
4088
|
-
creationDateTime:
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
: undefined,
|
|
4100
|
-
roleArn: __expectString(output.roleArn),
|
|
4101
|
-
status: __expectString(output.status),
|
|
4102
|
-
};
|
|
4103
|
-
};
|
|
4104
|
-
const de_DatasetExportJobOutput = (output, context) => {
|
|
4105
|
-
return {
|
|
4106
|
-
s3DataDestination: output.s3DataDestination != null ? de_S3DataConfig(output.s3DataDestination, context) : undefined,
|
|
4107
|
-
};
|
|
3172
|
+
return take(output, {
|
|
3173
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3174
|
+
datasetArn: __expectString,
|
|
3175
|
+
datasetExportJobArn: __expectString,
|
|
3176
|
+
failureReason: __expectString,
|
|
3177
|
+
ingestionMode: __expectString,
|
|
3178
|
+
jobName: __expectString,
|
|
3179
|
+
jobOutput: _json,
|
|
3180
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3181
|
+
roleArn: __expectString,
|
|
3182
|
+
status: __expectString,
|
|
3183
|
+
});
|
|
4108
3184
|
};
|
|
4109
3185
|
const de_DatasetExportJobs = (output, context) => {
|
|
4110
3186
|
const retVal = (output || [])
|
|
4111
3187
|
.filter((e) => e != null)
|
|
4112
3188
|
.map((entry) => {
|
|
4113
|
-
if (entry === null) {
|
|
4114
|
-
return null;
|
|
4115
|
-
}
|
|
4116
3189
|
return de_DatasetExportJobSummary(entry, context);
|
|
4117
3190
|
});
|
|
4118
3191
|
return retVal;
|
|
4119
3192
|
};
|
|
4120
3193
|
const de_DatasetExportJobSummary = (output, context) => {
|
|
4121
|
-
return {
|
|
4122
|
-
creationDateTime:
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4130
|
-
: undefined,
|
|
4131
|
-
status: __expectString(output.status),
|
|
4132
|
-
};
|
|
3194
|
+
return take(output, {
|
|
3195
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3196
|
+
datasetExportJobArn: __expectString,
|
|
3197
|
+
failureReason: __expectString,
|
|
3198
|
+
jobName: __expectString,
|
|
3199
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3200
|
+
status: __expectString,
|
|
3201
|
+
});
|
|
4133
3202
|
};
|
|
4134
3203
|
const de_DatasetGroup = (output, context) => {
|
|
4135
|
-
return {
|
|
4136
|
-
creationDateTime:
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
name: __expectString(output.name),
|
|
4147
|
-
roleArn: __expectString(output.roleArn),
|
|
4148
|
-
status: __expectString(output.status),
|
|
4149
|
-
};
|
|
3204
|
+
return take(output, {
|
|
3205
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3206
|
+
datasetGroupArn: __expectString,
|
|
3207
|
+
domain: __expectString,
|
|
3208
|
+
failureReason: __expectString,
|
|
3209
|
+
kmsKeyArn: __expectString,
|
|
3210
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3211
|
+
name: __expectString,
|
|
3212
|
+
roleArn: __expectString,
|
|
3213
|
+
status: __expectString,
|
|
3214
|
+
});
|
|
4150
3215
|
};
|
|
4151
3216
|
const de_DatasetGroups = (output, context) => {
|
|
4152
3217
|
const retVal = (output || [])
|
|
4153
3218
|
.filter((e) => e != null)
|
|
4154
3219
|
.map((entry) => {
|
|
4155
|
-
if (entry === null) {
|
|
4156
|
-
return null;
|
|
4157
|
-
}
|
|
4158
3220
|
return de_DatasetGroupSummary(entry, context);
|
|
4159
3221
|
});
|
|
4160
3222
|
return retVal;
|
|
4161
3223
|
};
|
|
4162
3224
|
const de_DatasetGroupSummary = (output, context) => {
|
|
4163
|
-
return {
|
|
4164
|
-
creationDateTime:
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
: undefined,
|
|
4173
|
-
name: __expectString(output.name),
|
|
4174
|
-
status: __expectString(output.status),
|
|
4175
|
-
};
|
|
3225
|
+
return take(output, {
|
|
3226
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3227
|
+
datasetGroupArn: __expectString,
|
|
3228
|
+
domain: __expectString,
|
|
3229
|
+
failureReason: __expectString,
|
|
3230
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3231
|
+
name: __expectString,
|
|
3232
|
+
status: __expectString,
|
|
3233
|
+
});
|
|
4176
3234
|
};
|
|
4177
3235
|
const de_DatasetImportJob = (output, context) => {
|
|
4178
|
-
return {
|
|
4179
|
-
creationDateTime:
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
publishAttributionMetricsToS3: __expectBoolean(output.publishAttributionMetricsToS3),
|
|
4192
|
-
roleArn: __expectString(output.roleArn),
|
|
4193
|
-
status: __expectString(output.status),
|
|
4194
|
-
};
|
|
3236
|
+
return take(output, {
|
|
3237
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3238
|
+
dataSource: _json,
|
|
3239
|
+
datasetArn: __expectString,
|
|
3240
|
+
datasetImportJobArn: __expectString,
|
|
3241
|
+
failureReason: __expectString,
|
|
3242
|
+
importMode: __expectString,
|
|
3243
|
+
jobName: __expectString,
|
|
3244
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3245
|
+
publishAttributionMetricsToS3: __expectBoolean,
|
|
3246
|
+
roleArn: __expectString,
|
|
3247
|
+
status: __expectString,
|
|
3248
|
+
});
|
|
4195
3249
|
};
|
|
4196
3250
|
const de_DatasetImportJobs = (output, context) => {
|
|
4197
3251
|
const retVal = (output || [])
|
|
4198
3252
|
.filter((e) => e != null)
|
|
4199
3253
|
.map((entry) => {
|
|
4200
|
-
if (entry === null) {
|
|
4201
|
-
return null;
|
|
4202
|
-
}
|
|
4203
3254
|
return de_DatasetImportJobSummary(entry, context);
|
|
4204
3255
|
});
|
|
4205
3256
|
return retVal;
|
|
4206
3257
|
};
|
|
4207
3258
|
const de_DatasetImportJobSummary = (output, context) => {
|
|
4208
|
-
return {
|
|
4209
|
-
creationDateTime:
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4218
|
-
: undefined,
|
|
4219
|
-
status: __expectString(output.status),
|
|
4220
|
-
};
|
|
3259
|
+
return take(output, {
|
|
3260
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3261
|
+
datasetImportJobArn: __expectString,
|
|
3262
|
+
failureReason: __expectString,
|
|
3263
|
+
importMode: __expectString,
|
|
3264
|
+
jobName: __expectString,
|
|
3265
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3266
|
+
status: __expectString,
|
|
3267
|
+
});
|
|
4221
3268
|
};
|
|
4222
3269
|
const de_Datasets = (output, context) => {
|
|
4223
3270
|
const retVal = (output || [])
|
|
4224
3271
|
.filter((e) => e != null)
|
|
4225
3272
|
.map((entry) => {
|
|
4226
|
-
if (entry === null) {
|
|
4227
|
-
return null;
|
|
4228
|
-
}
|
|
4229
3273
|
return de_DatasetSummary(entry, context);
|
|
4230
3274
|
});
|
|
4231
3275
|
return retVal;
|
|
4232
3276
|
};
|
|
4233
3277
|
const de_DatasetSchema = (output, context) => {
|
|
4234
|
-
return {
|
|
4235
|
-
creationDateTime:
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
name: __expectString(output.name),
|
|
4243
|
-
schema: __expectString(output.schema),
|
|
4244
|
-
schemaArn: __expectString(output.schemaArn),
|
|
4245
|
-
};
|
|
3278
|
+
return take(output, {
|
|
3279
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3280
|
+
domain: __expectString,
|
|
3281
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3282
|
+
name: __expectString,
|
|
3283
|
+
schema: __expectString,
|
|
3284
|
+
schemaArn: __expectString,
|
|
3285
|
+
});
|
|
4246
3286
|
};
|
|
4247
3287
|
const de_DatasetSchemaSummary = (output, context) => {
|
|
4248
|
-
return {
|
|
4249
|
-
creationDateTime:
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
: undefined,
|
|
4256
|
-
name: __expectString(output.name),
|
|
4257
|
-
schemaArn: __expectString(output.schemaArn),
|
|
4258
|
-
};
|
|
3288
|
+
return take(output, {
|
|
3289
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3290
|
+
domain: __expectString,
|
|
3291
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3292
|
+
name: __expectString,
|
|
3293
|
+
schemaArn: __expectString,
|
|
3294
|
+
});
|
|
4259
3295
|
};
|
|
4260
3296
|
const de_DatasetSummary = (output, context) => {
|
|
4261
|
-
return {
|
|
4262
|
-
creationDateTime:
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4269
|
-
: undefined,
|
|
4270
|
-
name: __expectString(output.name),
|
|
4271
|
-
status: __expectString(output.status),
|
|
4272
|
-
};
|
|
4273
|
-
};
|
|
4274
|
-
const de_DataSource = (output, context) => {
|
|
4275
|
-
return {
|
|
4276
|
-
dataLocation: __expectString(output.dataLocation),
|
|
4277
|
-
};
|
|
4278
|
-
};
|
|
4279
|
-
const de_DefaultCategoricalHyperParameterRange = (output, context) => {
|
|
4280
|
-
return {
|
|
4281
|
-
isTunable: __expectBoolean(output.isTunable),
|
|
4282
|
-
name: __expectString(output.name),
|
|
4283
|
-
values: output.values != null ? de_CategoricalValues(output.values, context) : undefined,
|
|
4284
|
-
};
|
|
4285
|
-
};
|
|
4286
|
-
const de_DefaultCategoricalHyperParameterRanges = (output, context) => {
|
|
4287
|
-
const retVal = (output || [])
|
|
4288
|
-
.filter((e) => e != null)
|
|
4289
|
-
.map((entry) => {
|
|
4290
|
-
if (entry === null) {
|
|
4291
|
-
return null;
|
|
4292
|
-
}
|
|
4293
|
-
return de_DefaultCategoricalHyperParameterRange(entry, context);
|
|
3297
|
+
return take(output, {
|
|
3298
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3299
|
+
datasetArn: __expectString,
|
|
3300
|
+
datasetType: __expectString,
|
|
3301
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3302
|
+
name: __expectString,
|
|
3303
|
+
status: __expectString,
|
|
4294
3304
|
});
|
|
4295
|
-
return retVal;
|
|
4296
3305
|
};
|
|
4297
3306
|
const de_DefaultContinuousHyperParameterRange = (output, context) => {
|
|
4298
|
-
return {
|
|
4299
|
-
isTunable: __expectBoolean
|
|
4300
|
-
maxValue: __limitedParseDouble
|
|
4301
|
-
minValue: __limitedParseDouble
|
|
4302
|
-
name: __expectString
|
|
4303
|
-
};
|
|
3307
|
+
return take(output, {
|
|
3308
|
+
isTunable: __expectBoolean,
|
|
3309
|
+
maxValue: __limitedParseDouble,
|
|
3310
|
+
minValue: __limitedParseDouble,
|
|
3311
|
+
name: __expectString,
|
|
3312
|
+
});
|
|
4304
3313
|
};
|
|
4305
3314
|
const de_DefaultContinuousHyperParameterRanges = (output, context) => {
|
|
4306
3315
|
const retVal = (output || [])
|
|
4307
3316
|
.filter((e) => e != null)
|
|
4308
3317
|
.map((entry) => {
|
|
4309
|
-
if (entry === null) {
|
|
4310
|
-
return null;
|
|
4311
|
-
}
|
|
4312
3318
|
return de_DefaultContinuousHyperParameterRange(entry, context);
|
|
4313
3319
|
});
|
|
4314
3320
|
return retVal;
|
|
4315
3321
|
};
|
|
4316
3322
|
const de_DefaultHyperParameterRanges = (output, context) => {
|
|
4317
|
-
return {
|
|
4318
|
-
categoricalHyperParameterRanges:
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
continuousHyperParameterRanges: output.continuousHyperParameterRanges != null
|
|
4322
|
-
? de_DefaultContinuousHyperParameterRanges(output.continuousHyperParameterRanges, context)
|
|
4323
|
-
: undefined,
|
|
4324
|
-
integerHyperParameterRanges: output.integerHyperParameterRanges != null
|
|
4325
|
-
? de_DefaultIntegerHyperParameterRanges(output.integerHyperParameterRanges, context)
|
|
4326
|
-
: undefined,
|
|
4327
|
-
};
|
|
4328
|
-
};
|
|
4329
|
-
const de_DefaultIntegerHyperParameterRange = (output, context) => {
|
|
4330
|
-
return {
|
|
4331
|
-
isTunable: __expectBoolean(output.isTunable),
|
|
4332
|
-
maxValue: __expectInt32(output.maxValue),
|
|
4333
|
-
minValue: __expectInt32(output.minValue),
|
|
4334
|
-
name: __expectString(output.name),
|
|
4335
|
-
};
|
|
4336
|
-
};
|
|
4337
|
-
const de_DefaultIntegerHyperParameterRanges = (output, context) => {
|
|
4338
|
-
const retVal = (output || [])
|
|
4339
|
-
.filter((e) => e != null)
|
|
4340
|
-
.map((entry) => {
|
|
4341
|
-
if (entry === null) {
|
|
4342
|
-
return null;
|
|
4343
|
-
}
|
|
4344
|
-
return de_DefaultIntegerHyperParameterRange(entry, context);
|
|
3323
|
+
return take(output, {
|
|
3324
|
+
categoricalHyperParameterRanges: _json,
|
|
3325
|
+
continuousHyperParameterRanges: (_) => de_DefaultContinuousHyperParameterRanges(_, context),
|
|
3326
|
+
integerHyperParameterRanges: _json,
|
|
4345
3327
|
});
|
|
4346
|
-
return retVal;
|
|
4347
3328
|
};
|
|
4348
3329
|
const de_DescribeAlgorithmResponse = (output, context) => {
|
|
4349
|
-
return {
|
|
4350
|
-
algorithm:
|
|
4351
|
-
};
|
|
3330
|
+
return take(output, {
|
|
3331
|
+
algorithm: (_) => de_Algorithm(_, context),
|
|
3332
|
+
});
|
|
4352
3333
|
};
|
|
4353
3334
|
const de_DescribeBatchInferenceJobResponse = (output, context) => {
|
|
4354
|
-
return {
|
|
4355
|
-
batchInferenceJob:
|
|
4356
|
-
};
|
|
3335
|
+
return take(output, {
|
|
3336
|
+
batchInferenceJob: (_) => de_BatchInferenceJob(_, context),
|
|
3337
|
+
});
|
|
4357
3338
|
};
|
|
4358
3339
|
const de_DescribeBatchSegmentJobResponse = (output, context) => {
|
|
4359
|
-
return {
|
|
4360
|
-
batchSegmentJob:
|
|
4361
|
-
};
|
|
3340
|
+
return take(output, {
|
|
3341
|
+
batchSegmentJob: (_) => de_BatchSegmentJob(_, context),
|
|
3342
|
+
});
|
|
4362
3343
|
};
|
|
4363
3344
|
const de_DescribeCampaignResponse = (output, context) => {
|
|
4364
|
-
return {
|
|
4365
|
-
campaign:
|
|
4366
|
-
};
|
|
3345
|
+
return take(output, {
|
|
3346
|
+
campaign: (_) => de_Campaign(_, context),
|
|
3347
|
+
});
|
|
4367
3348
|
};
|
|
4368
3349
|
const de_DescribeDatasetExportJobResponse = (output, context) => {
|
|
4369
|
-
return {
|
|
4370
|
-
datasetExportJob:
|
|
4371
|
-
};
|
|
3350
|
+
return take(output, {
|
|
3351
|
+
datasetExportJob: (_) => de_DatasetExportJob(_, context),
|
|
3352
|
+
});
|
|
4372
3353
|
};
|
|
4373
3354
|
const de_DescribeDatasetGroupResponse = (output, context) => {
|
|
4374
|
-
return {
|
|
4375
|
-
datasetGroup:
|
|
4376
|
-
};
|
|
3355
|
+
return take(output, {
|
|
3356
|
+
datasetGroup: (_) => de_DatasetGroup(_, context),
|
|
3357
|
+
});
|
|
4377
3358
|
};
|
|
4378
3359
|
const de_DescribeDatasetImportJobResponse = (output, context) => {
|
|
4379
|
-
return {
|
|
4380
|
-
datasetImportJob:
|
|
4381
|
-
};
|
|
3360
|
+
return take(output, {
|
|
3361
|
+
datasetImportJob: (_) => de_DatasetImportJob(_, context),
|
|
3362
|
+
});
|
|
4382
3363
|
};
|
|
4383
3364
|
const de_DescribeDatasetResponse = (output, context) => {
|
|
4384
|
-
return {
|
|
4385
|
-
dataset:
|
|
4386
|
-
};
|
|
3365
|
+
return take(output, {
|
|
3366
|
+
dataset: (_) => de_Dataset(_, context),
|
|
3367
|
+
});
|
|
4387
3368
|
};
|
|
4388
3369
|
const de_DescribeEventTrackerResponse = (output, context) => {
|
|
4389
|
-
return {
|
|
4390
|
-
eventTracker:
|
|
4391
|
-
};
|
|
3370
|
+
return take(output, {
|
|
3371
|
+
eventTracker: (_) => de_EventTracker(_, context),
|
|
3372
|
+
});
|
|
4392
3373
|
};
|
|
4393
3374
|
const de_DescribeFeatureTransformationResponse = (output, context) => {
|
|
4394
|
-
return {
|
|
4395
|
-
featureTransformation:
|
|
4396
|
-
|
|
4397
|
-
: undefined,
|
|
4398
|
-
};
|
|
3375
|
+
return take(output, {
|
|
3376
|
+
featureTransformation: (_) => de_FeatureTransformation(_, context),
|
|
3377
|
+
});
|
|
4399
3378
|
};
|
|
4400
3379
|
const de_DescribeFilterResponse = (output, context) => {
|
|
4401
|
-
return {
|
|
4402
|
-
filter:
|
|
4403
|
-
};
|
|
3380
|
+
return take(output, {
|
|
3381
|
+
filter: (_) => de_Filter(_, context),
|
|
3382
|
+
});
|
|
4404
3383
|
};
|
|
4405
3384
|
const de_DescribeMetricAttributionResponse = (output, context) => {
|
|
4406
|
-
return {
|
|
4407
|
-
metricAttribution:
|
|
4408
|
-
};
|
|
3385
|
+
return take(output, {
|
|
3386
|
+
metricAttribution: (_) => de_MetricAttribution(_, context),
|
|
3387
|
+
});
|
|
4409
3388
|
};
|
|
4410
3389
|
const de_DescribeRecipeResponse = (output, context) => {
|
|
4411
|
-
return {
|
|
4412
|
-
recipe:
|
|
4413
|
-
};
|
|
3390
|
+
return take(output, {
|
|
3391
|
+
recipe: (_) => de_Recipe(_, context),
|
|
3392
|
+
});
|
|
4414
3393
|
};
|
|
4415
3394
|
const de_DescribeRecommenderResponse = (output, context) => {
|
|
4416
|
-
return {
|
|
4417
|
-
recommender:
|
|
4418
|
-
};
|
|
3395
|
+
return take(output, {
|
|
3396
|
+
recommender: (_) => de_Recommender(_, context),
|
|
3397
|
+
});
|
|
4419
3398
|
};
|
|
4420
3399
|
const de_DescribeSchemaResponse = (output, context) => {
|
|
4421
|
-
return {
|
|
4422
|
-
schema:
|
|
4423
|
-
};
|
|
3400
|
+
return take(output, {
|
|
3401
|
+
schema: (_) => de_DatasetSchema(_, context),
|
|
3402
|
+
});
|
|
4424
3403
|
};
|
|
4425
3404
|
const de_DescribeSolutionResponse = (output, context) => {
|
|
4426
|
-
return {
|
|
4427
|
-
solution:
|
|
4428
|
-
};
|
|
3405
|
+
return take(output, {
|
|
3406
|
+
solution: (_) => de_Solution(_, context),
|
|
3407
|
+
});
|
|
4429
3408
|
};
|
|
4430
3409
|
const de_DescribeSolutionVersionResponse = (output, context) => {
|
|
4431
|
-
return {
|
|
4432
|
-
solutionVersion:
|
|
4433
|
-
};
|
|
3410
|
+
return take(output, {
|
|
3411
|
+
solutionVersion: (_) => de_SolutionVersion(_, context),
|
|
3412
|
+
});
|
|
4434
3413
|
};
|
|
4435
3414
|
const de_EventTracker = (output, context) => {
|
|
4436
|
-
return {
|
|
4437
|
-
accountId: __expectString
|
|
4438
|
-
creationDateTime:
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
name: __expectString(output.name),
|
|
4447
|
-
status: __expectString(output.status),
|
|
4448
|
-
trackingId: __expectString(output.trackingId),
|
|
4449
|
-
};
|
|
3415
|
+
return take(output, {
|
|
3416
|
+
accountId: __expectString,
|
|
3417
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3418
|
+
datasetGroupArn: __expectString,
|
|
3419
|
+
eventTrackerArn: __expectString,
|
|
3420
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3421
|
+
name: __expectString,
|
|
3422
|
+
status: __expectString,
|
|
3423
|
+
trackingId: __expectString,
|
|
3424
|
+
});
|
|
4450
3425
|
};
|
|
4451
3426
|
const de_EventTrackers = (output, context) => {
|
|
4452
3427
|
const retVal = (output || [])
|
|
4453
3428
|
.filter((e) => e != null)
|
|
4454
3429
|
.map((entry) => {
|
|
4455
|
-
if (entry === null) {
|
|
4456
|
-
return null;
|
|
4457
|
-
}
|
|
4458
3430
|
return de_EventTrackerSummary(entry, context);
|
|
4459
3431
|
});
|
|
4460
3432
|
return retVal;
|
|
4461
3433
|
};
|
|
4462
3434
|
const de_EventTrackerSummary = (output, context) => {
|
|
4463
|
-
return {
|
|
4464
|
-
creationDateTime:
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
: undefined,
|
|
4471
|
-
name: __expectString(output.name),
|
|
4472
|
-
status: __expectString(output.status),
|
|
4473
|
-
};
|
|
3435
|
+
return take(output, {
|
|
3436
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3437
|
+
eventTrackerArn: __expectString,
|
|
3438
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3439
|
+
name: __expectString,
|
|
3440
|
+
status: __expectString,
|
|
3441
|
+
});
|
|
4474
3442
|
};
|
|
4475
3443
|
const de_FeatureTransformation = (output, context) => {
|
|
4476
|
-
return {
|
|
4477
|
-
creationDateTime:
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
: undefined,
|
|
4485
|
-
name: __expectString(output.name),
|
|
4486
|
-
status: __expectString(output.status),
|
|
4487
|
-
};
|
|
4488
|
-
};
|
|
4489
|
-
const de_FeatureTransformationParameters = (output, context) => {
|
|
4490
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4491
|
-
if (value === null) {
|
|
4492
|
-
return acc;
|
|
4493
|
-
}
|
|
4494
|
-
acc[key] = __expectString(value);
|
|
4495
|
-
return acc;
|
|
4496
|
-
}, {});
|
|
4497
|
-
};
|
|
4498
|
-
const de_FeaturizationParameters = (output, context) => {
|
|
4499
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4500
|
-
if (value === null) {
|
|
4501
|
-
return acc;
|
|
4502
|
-
}
|
|
4503
|
-
acc[key] = __expectString(value);
|
|
4504
|
-
return acc;
|
|
4505
|
-
}, {});
|
|
3444
|
+
return take(output, {
|
|
3445
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3446
|
+
defaultParameters: _json,
|
|
3447
|
+
featureTransformationArn: __expectString,
|
|
3448
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3449
|
+
name: __expectString,
|
|
3450
|
+
status: __expectString,
|
|
3451
|
+
});
|
|
4506
3452
|
};
|
|
4507
3453
|
const de_Filter = (output, context) => {
|
|
4508
|
-
return {
|
|
4509
|
-
creationDateTime:
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
: undefined,
|
|
4519
|
-
name: __expectString(output.name),
|
|
4520
|
-
status: __expectString(output.status),
|
|
4521
|
-
};
|
|
3454
|
+
return take(output, {
|
|
3455
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3456
|
+
datasetGroupArn: __expectString,
|
|
3457
|
+
failureReason: __expectString,
|
|
3458
|
+
filterArn: __expectString,
|
|
3459
|
+
filterExpression: __expectString,
|
|
3460
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3461
|
+
name: __expectString,
|
|
3462
|
+
status: __expectString,
|
|
3463
|
+
});
|
|
4522
3464
|
};
|
|
4523
3465
|
const de_Filters = (output, context) => {
|
|
4524
3466
|
const retVal = (output || [])
|
|
4525
3467
|
.filter((e) => e != null)
|
|
4526
3468
|
.map((entry) => {
|
|
4527
|
-
if (entry === null) {
|
|
4528
|
-
return null;
|
|
4529
|
-
}
|
|
4530
3469
|
return de_FilterSummary(entry, context);
|
|
4531
3470
|
});
|
|
4532
3471
|
return retVal;
|
|
4533
3472
|
};
|
|
4534
3473
|
const de_FilterSummary = (output, context) => {
|
|
4535
|
-
return {
|
|
4536
|
-
creationDateTime:
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
: undefined,
|
|
4545
|
-
name: __expectString(output.name),
|
|
4546
|
-
status: __expectString(output.status),
|
|
4547
|
-
};
|
|
3474
|
+
return take(output, {
|
|
3475
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3476
|
+
datasetGroupArn: __expectString,
|
|
3477
|
+
failureReason: __expectString,
|
|
3478
|
+
filterArn: __expectString,
|
|
3479
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3480
|
+
name: __expectString,
|
|
3481
|
+
status: __expectString,
|
|
3482
|
+
});
|
|
4548
3483
|
};
|
|
4549
3484
|
const de_GetSolutionMetricsResponse = (output, context) => {
|
|
4550
|
-
return {
|
|
4551
|
-
metrics:
|
|
4552
|
-
solutionVersionArn: __expectString
|
|
4553
|
-
};
|
|
3485
|
+
return take(output, {
|
|
3486
|
+
metrics: (_) => de_Metrics(_, context),
|
|
3487
|
+
solutionVersionArn: __expectString,
|
|
3488
|
+
});
|
|
4554
3489
|
};
|
|
4555
3490
|
const de_HPOConfig = (output, context) => {
|
|
4556
|
-
return {
|
|
4557
|
-
algorithmHyperParameterRanges:
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
hpoResourceConfig: output.hpoResourceConfig != null ? de_HPOResourceConfig(output.hpoResourceConfig, context) : undefined,
|
|
4562
|
-
};
|
|
4563
|
-
};
|
|
4564
|
-
const de_HPOObjective = (output, context) => {
|
|
4565
|
-
return {
|
|
4566
|
-
metricName: __expectString(output.metricName),
|
|
4567
|
-
metricRegex: __expectString(output.metricRegex),
|
|
4568
|
-
type: __expectString(output.type),
|
|
4569
|
-
};
|
|
4570
|
-
};
|
|
4571
|
-
const de_HPOResourceConfig = (output, context) => {
|
|
4572
|
-
return {
|
|
4573
|
-
maxNumberOfTrainingJobs: __expectString(output.maxNumberOfTrainingJobs),
|
|
4574
|
-
maxParallelTrainingJobs: __expectString(output.maxParallelTrainingJobs),
|
|
4575
|
-
};
|
|
3491
|
+
return take(output, {
|
|
3492
|
+
algorithmHyperParameterRanges: (_) => de_HyperParameterRanges(_, context),
|
|
3493
|
+
hpoObjective: _json,
|
|
3494
|
+
hpoResourceConfig: _json,
|
|
3495
|
+
});
|
|
4576
3496
|
};
|
|
4577
3497
|
const de_HyperParameterRanges = (output, context) => {
|
|
4578
|
-
return {
|
|
4579
|
-
categoricalHyperParameterRanges:
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
continuousHyperParameterRanges: output.continuousHyperParameterRanges != null
|
|
4583
|
-
? de_ContinuousHyperParameterRanges(output.continuousHyperParameterRanges, context)
|
|
4584
|
-
: undefined,
|
|
4585
|
-
integerHyperParameterRanges: output.integerHyperParameterRanges != null
|
|
4586
|
-
? de_IntegerHyperParameterRanges(output.integerHyperParameterRanges, context)
|
|
4587
|
-
: undefined,
|
|
4588
|
-
};
|
|
4589
|
-
};
|
|
4590
|
-
const de_HyperParameters = (output, context) => {
|
|
4591
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4592
|
-
if (value === null) {
|
|
4593
|
-
return acc;
|
|
4594
|
-
}
|
|
4595
|
-
acc[key] = __expectString(value);
|
|
4596
|
-
return acc;
|
|
4597
|
-
}, {});
|
|
4598
|
-
};
|
|
4599
|
-
const de_IntegerHyperParameterRange = (output, context) => {
|
|
4600
|
-
return {
|
|
4601
|
-
maxValue: __expectInt32(output.maxValue),
|
|
4602
|
-
minValue: __expectInt32(output.minValue),
|
|
4603
|
-
name: __expectString(output.name),
|
|
4604
|
-
};
|
|
4605
|
-
};
|
|
4606
|
-
const de_IntegerHyperParameterRanges = (output, context) => {
|
|
4607
|
-
const retVal = (output || [])
|
|
4608
|
-
.filter((e) => e != null)
|
|
4609
|
-
.map((entry) => {
|
|
4610
|
-
if (entry === null) {
|
|
4611
|
-
return null;
|
|
4612
|
-
}
|
|
4613
|
-
return de_IntegerHyperParameterRange(entry, context);
|
|
3498
|
+
return take(output, {
|
|
3499
|
+
categoricalHyperParameterRanges: _json,
|
|
3500
|
+
continuousHyperParameterRanges: (_) => de_ContinuousHyperParameterRanges(_, context),
|
|
3501
|
+
integerHyperParameterRanges: _json,
|
|
4614
3502
|
});
|
|
4615
|
-
return retVal;
|
|
4616
|
-
};
|
|
4617
|
-
const de_InvalidInputException = (output, context) => {
|
|
4618
|
-
return {
|
|
4619
|
-
message: __expectString(output.message),
|
|
4620
|
-
};
|
|
4621
|
-
};
|
|
4622
|
-
const de_InvalidNextTokenException = (output, context) => {
|
|
4623
|
-
return {
|
|
4624
|
-
message: __expectString(output.message),
|
|
4625
|
-
};
|
|
4626
|
-
};
|
|
4627
|
-
const de_LimitExceededException = (output, context) => {
|
|
4628
|
-
return {
|
|
4629
|
-
message: __expectString(output.message),
|
|
4630
|
-
};
|
|
4631
3503
|
};
|
|
4632
3504
|
const de_ListBatchInferenceJobsResponse = (output, context) => {
|
|
4633
|
-
return {
|
|
4634
|
-
batchInferenceJobs:
|
|
4635
|
-
nextToken: __expectString
|
|
4636
|
-
};
|
|
3505
|
+
return take(output, {
|
|
3506
|
+
batchInferenceJobs: (_) => de_BatchInferenceJobs(_, context),
|
|
3507
|
+
nextToken: __expectString,
|
|
3508
|
+
});
|
|
4637
3509
|
};
|
|
4638
3510
|
const de_ListBatchSegmentJobsResponse = (output, context) => {
|
|
4639
|
-
return {
|
|
4640
|
-
batchSegmentJobs:
|
|
4641
|
-
nextToken: __expectString
|
|
4642
|
-
};
|
|
3511
|
+
return take(output, {
|
|
3512
|
+
batchSegmentJobs: (_) => de_BatchSegmentJobs(_, context),
|
|
3513
|
+
nextToken: __expectString,
|
|
3514
|
+
});
|
|
4643
3515
|
};
|
|
4644
3516
|
const de_ListCampaignsResponse = (output, context) => {
|
|
4645
|
-
return {
|
|
4646
|
-
campaigns:
|
|
4647
|
-
nextToken: __expectString
|
|
4648
|
-
};
|
|
3517
|
+
return take(output, {
|
|
3518
|
+
campaigns: (_) => de_Campaigns(_, context),
|
|
3519
|
+
nextToken: __expectString,
|
|
3520
|
+
});
|
|
4649
3521
|
};
|
|
4650
3522
|
const de_ListDatasetExportJobsResponse = (output, context) => {
|
|
4651
|
-
return {
|
|
4652
|
-
datasetExportJobs:
|
|
4653
|
-
nextToken: __expectString
|
|
4654
|
-
};
|
|
3523
|
+
return take(output, {
|
|
3524
|
+
datasetExportJobs: (_) => de_DatasetExportJobs(_, context),
|
|
3525
|
+
nextToken: __expectString,
|
|
3526
|
+
});
|
|
4655
3527
|
};
|
|
4656
3528
|
const de_ListDatasetGroupsResponse = (output, context) => {
|
|
4657
|
-
return {
|
|
4658
|
-
datasetGroups:
|
|
4659
|
-
nextToken: __expectString
|
|
4660
|
-
};
|
|
3529
|
+
return take(output, {
|
|
3530
|
+
datasetGroups: (_) => de_DatasetGroups(_, context),
|
|
3531
|
+
nextToken: __expectString,
|
|
3532
|
+
});
|
|
4661
3533
|
};
|
|
4662
3534
|
const de_ListDatasetImportJobsResponse = (output, context) => {
|
|
4663
|
-
return {
|
|
4664
|
-
datasetImportJobs:
|
|
4665
|
-
nextToken: __expectString
|
|
4666
|
-
};
|
|
3535
|
+
return take(output, {
|
|
3536
|
+
datasetImportJobs: (_) => de_DatasetImportJobs(_, context),
|
|
3537
|
+
nextToken: __expectString,
|
|
3538
|
+
});
|
|
4667
3539
|
};
|
|
4668
3540
|
const de_ListDatasetsResponse = (output, context) => {
|
|
4669
|
-
return {
|
|
4670
|
-
datasets:
|
|
4671
|
-
nextToken: __expectString
|
|
4672
|
-
};
|
|
3541
|
+
return take(output, {
|
|
3542
|
+
datasets: (_) => de_Datasets(_, context),
|
|
3543
|
+
nextToken: __expectString,
|
|
3544
|
+
});
|
|
4673
3545
|
};
|
|
4674
3546
|
const de_ListEventTrackersResponse = (output, context) => {
|
|
4675
|
-
return {
|
|
4676
|
-
eventTrackers:
|
|
4677
|
-
nextToken: __expectString
|
|
4678
|
-
};
|
|
3547
|
+
return take(output, {
|
|
3548
|
+
eventTrackers: (_) => de_EventTrackers(_, context),
|
|
3549
|
+
nextToken: __expectString,
|
|
3550
|
+
});
|
|
4679
3551
|
};
|
|
4680
3552
|
const de_ListFiltersResponse = (output, context) => {
|
|
4681
|
-
return {
|
|
4682
|
-
Filters:
|
|
4683
|
-
nextToken: __expectString
|
|
4684
|
-
};
|
|
4685
|
-
};
|
|
4686
|
-
const de_ListMetricAttributionMetricsResponse = (output, context) => {
|
|
4687
|
-
return {
|
|
4688
|
-
metrics: output.metrics != null ? de_MetricAttributes(output.metrics, context) : undefined,
|
|
4689
|
-
nextToken: __expectString(output.nextToken),
|
|
4690
|
-
};
|
|
3553
|
+
return take(output, {
|
|
3554
|
+
Filters: (_) => de_Filters(_, context),
|
|
3555
|
+
nextToken: __expectString,
|
|
3556
|
+
});
|
|
4691
3557
|
};
|
|
4692
3558
|
const de_ListMetricAttributionsResponse = (output, context) => {
|
|
4693
|
-
return {
|
|
4694
|
-
metricAttributions:
|
|
4695
|
-
nextToken: __expectString
|
|
4696
|
-
};
|
|
3559
|
+
return take(output, {
|
|
3560
|
+
metricAttributions: (_) => de_MetricAttributions(_, context),
|
|
3561
|
+
nextToken: __expectString,
|
|
3562
|
+
});
|
|
4697
3563
|
};
|
|
4698
3564
|
const de_ListRecipesResponse = (output, context) => {
|
|
4699
|
-
return {
|
|
4700
|
-
nextToken: __expectString
|
|
4701
|
-
recipes:
|
|
4702
|
-
};
|
|
3565
|
+
return take(output, {
|
|
3566
|
+
nextToken: __expectString,
|
|
3567
|
+
recipes: (_) => de_Recipes(_, context),
|
|
3568
|
+
});
|
|
4703
3569
|
};
|
|
4704
3570
|
const de_ListRecommendersResponse = (output, context) => {
|
|
4705
|
-
return {
|
|
4706
|
-
nextToken: __expectString
|
|
4707
|
-
recommenders:
|
|
4708
|
-
};
|
|
3571
|
+
return take(output, {
|
|
3572
|
+
nextToken: __expectString,
|
|
3573
|
+
recommenders: (_) => de_Recommenders(_, context),
|
|
3574
|
+
});
|
|
4709
3575
|
};
|
|
4710
3576
|
const de_ListSchemasResponse = (output, context) => {
|
|
4711
|
-
return {
|
|
4712
|
-
nextToken: __expectString
|
|
4713
|
-
schemas:
|
|
4714
|
-
};
|
|
3577
|
+
return take(output, {
|
|
3578
|
+
nextToken: __expectString,
|
|
3579
|
+
schemas: (_) => de_Schemas(_, context),
|
|
3580
|
+
});
|
|
4715
3581
|
};
|
|
4716
3582
|
const de_ListSolutionsResponse = (output, context) => {
|
|
4717
|
-
return {
|
|
4718
|
-
nextToken: __expectString
|
|
4719
|
-
solutions:
|
|
4720
|
-
};
|
|
3583
|
+
return take(output, {
|
|
3584
|
+
nextToken: __expectString,
|
|
3585
|
+
solutions: (_) => de_Solutions(_, context),
|
|
3586
|
+
});
|
|
4721
3587
|
};
|
|
4722
3588
|
const de_ListSolutionVersionsResponse = (output, context) => {
|
|
4723
|
-
return {
|
|
4724
|
-
nextToken: __expectString
|
|
4725
|
-
solutionVersions:
|
|
4726
|
-
};
|
|
4727
|
-
};
|
|
4728
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
4729
|
-
return {
|
|
4730
|
-
tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
|
|
4731
|
-
};
|
|
4732
|
-
};
|
|
4733
|
-
const de_MetricAttribute = (output, context) => {
|
|
4734
|
-
return {
|
|
4735
|
-
eventType: __expectString(output.eventType),
|
|
4736
|
-
expression: __expectString(output.expression),
|
|
4737
|
-
metricName: __expectString(output.metricName),
|
|
4738
|
-
};
|
|
4739
|
-
};
|
|
4740
|
-
const de_MetricAttributes = (output, context) => {
|
|
4741
|
-
const retVal = (output || [])
|
|
4742
|
-
.filter((e) => e != null)
|
|
4743
|
-
.map((entry) => {
|
|
4744
|
-
if (entry === null) {
|
|
4745
|
-
return null;
|
|
4746
|
-
}
|
|
4747
|
-
return de_MetricAttribute(entry, context);
|
|
3589
|
+
return take(output, {
|
|
3590
|
+
nextToken: __expectString,
|
|
3591
|
+
solutionVersions: (_) => de_SolutionVersions(_, context),
|
|
4748
3592
|
});
|
|
4749
|
-
return retVal;
|
|
4750
3593
|
};
|
|
4751
3594
|
const de_MetricAttribution = (output, context) => {
|
|
4752
|
-
return {
|
|
4753
|
-
creationDateTime:
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
metricsOutputConfig: output.metricsOutputConfig != null ? de_MetricAttributionOutput(output.metricsOutputConfig, context) : undefined,
|
|
4763
|
-
name: __expectString(output.name),
|
|
4764
|
-
status: __expectString(output.status),
|
|
4765
|
-
};
|
|
4766
|
-
};
|
|
4767
|
-
const de_MetricAttributionOutput = (output, context) => {
|
|
4768
|
-
return {
|
|
4769
|
-
roleArn: __expectString(output.roleArn),
|
|
4770
|
-
s3DataDestination: output.s3DataDestination != null ? de_S3DataConfig(output.s3DataDestination, context) : undefined,
|
|
4771
|
-
};
|
|
3595
|
+
return take(output, {
|
|
3596
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3597
|
+
datasetGroupArn: __expectString,
|
|
3598
|
+
failureReason: __expectString,
|
|
3599
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3600
|
+
metricAttributionArn: __expectString,
|
|
3601
|
+
metricsOutputConfig: _json,
|
|
3602
|
+
name: __expectString,
|
|
3603
|
+
status: __expectString,
|
|
3604
|
+
});
|
|
4772
3605
|
};
|
|
4773
3606
|
const de_MetricAttributions = (output, context) => {
|
|
4774
3607
|
const retVal = (output || [])
|
|
4775
3608
|
.filter((e) => e != null)
|
|
4776
3609
|
.map((entry) => {
|
|
4777
|
-
if (entry === null) {
|
|
4778
|
-
return null;
|
|
4779
|
-
}
|
|
4780
3610
|
return de_MetricAttributionSummary(entry, context);
|
|
4781
3611
|
});
|
|
4782
3612
|
return retVal;
|
|
4783
3613
|
};
|
|
4784
3614
|
const de_MetricAttributionSummary = (output, context) => {
|
|
4785
|
-
return {
|
|
4786
|
-
creationDateTime:
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
metricAttributionArn: __expectString(output.metricAttributionArn),
|
|
4794
|
-
name: __expectString(output.name),
|
|
4795
|
-
status: __expectString(output.status),
|
|
4796
|
-
};
|
|
3615
|
+
return take(output, {
|
|
3616
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3617
|
+
failureReason: __expectString,
|
|
3618
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3619
|
+
metricAttributionArn: __expectString,
|
|
3620
|
+
name: __expectString,
|
|
3621
|
+
status: __expectString,
|
|
3622
|
+
});
|
|
4797
3623
|
};
|
|
4798
3624
|
const de_Metrics = (output, context) => {
|
|
4799
3625
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
@@ -4804,338 +3630,170 @@ const de_Metrics = (output, context) => {
|
|
|
4804
3630
|
return acc;
|
|
4805
3631
|
}, {});
|
|
4806
3632
|
};
|
|
4807
|
-
const de_OptimizationObjective = (output, context) => {
|
|
4808
|
-
return {
|
|
4809
|
-
itemAttribute: __expectString(output.itemAttribute),
|
|
4810
|
-
objectiveSensitivity: __expectString(output.objectiveSensitivity),
|
|
4811
|
-
};
|
|
4812
|
-
};
|
|
4813
3633
|
const de_Recipe = (output, context) => {
|
|
4814
|
-
return {
|
|
4815
|
-
algorithmArn: __expectString
|
|
4816
|
-
creationDateTime:
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
recipeArn: __expectString(output.recipeArn),
|
|
4826
|
-
recipeType: __expectString(output.recipeType),
|
|
4827
|
-
status: __expectString(output.status),
|
|
4828
|
-
};
|
|
3634
|
+
return take(output, {
|
|
3635
|
+
algorithmArn: __expectString,
|
|
3636
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3637
|
+
description: __expectString,
|
|
3638
|
+
featureTransformationArn: __expectString,
|
|
3639
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3640
|
+
name: __expectString,
|
|
3641
|
+
recipeArn: __expectString,
|
|
3642
|
+
recipeType: __expectString,
|
|
3643
|
+
status: __expectString,
|
|
3644
|
+
});
|
|
4829
3645
|
};
|
|
4830
3646
|
const de_Recipes = (output, context) => {
|
|
4831
3647
|
const retVal = (output || [])
|
|
4832
3648
|
.filter((e) => e != null)
|
|
4833
3649
|
.map((entry) => {
|
|
4834
|
-
if (entry === null) {
|
|
4835
|
-
return null;
|
|
4836
|
-
}
|
|
4837
3650
|
return de_RecipeSummary(entry, context);
|
|
4838
3651
|
});
|
|
4839
3652
|
return retVal;
|
|
4840
3653
|
};
|
|
4841
3654
|
const de_RecipeSummary = (output, context) => {
|
|
4842
|
-
return {
|
|
4843
|
-
creationDateTime:
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
name: __expectString(output.name),
|
|
4851
|
-
recipeArn: __expectString(output.recipeArn),
|
|
4852
|
-
status: __expectString(output.status),
|
|
4853
|
-
};
|
|
3655
|
+
return take(output, {
|
|
3656
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3657
|
+
domain: __expectString,
|
|
3658
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3659
|
+
name: __expectString,
|
|
3660
|
+
recipeArn: __expectString,
|
|
3661
|
+
status: __expectString,
|
|
3662
|
+
});
|
|
4854
3663
|
};
|
|
4855
3664
|
const de_Recommender = (output, context) => {
|
|
4856
|
-
return {
|
|
4857
|
-
creationDateTime:
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
name: __expectString(output.name),
|
|
4870
|
-
recipeArn: __expectString(output.recipeArn),
|
|
4871
|
-
recommenderArn: __expectString(output.recommenderArn),
|
|
4872
|
-
recommenderConfig: output.recommenderConfig != null ? de_RecommenderConfig(output.recommenderConfig, context) : undefined,
|
|
4873
|
-
status: __expectString(output.status),
|
|
4874
|
-
};
|
|
4875
|
-
};
|
|
4876
|
-
const de_RecommenderConfig = (output, context) => {
|
|
4877
|
-
return {
|
|
4878
|
-
itemExplorationConfig: output.itemExplorationConfig != null ? de_HyperParameters(output.itemExplorationConfig, context) : undefined,
|
|
4879
|
-
minRecommendationRequestsPerSecond: __expectInt32(output.minRecommendationRequestsPerSecond),
|
|
4880
|
-
};
|
|
3665
|
+
return take(output, {
|
|
3666
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3667
|
+
datasetGroupArn: __expectString,
|
|
3668
|
+
failureReason: __expectString,
|
|
3669
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3670
|
+
latestRecommenderUpdate: (_) => de_RecommenderUpdateSummary(_, context),
|
|
3671
|
+
modelMetrics: (_) => de_Metrics(_, context),
|
|
3672
|
+
name: __expectString,
|
|
3673
|
+
recipeArn: __expectString,
|
|
3674
|
+
recommenderArn: __expectString,
|
|
3675
|
+
recommenderConfig: _json,
|
|
3676
|
+
status: __expectString,
|
|
3677
|
+
});
|
|
4881
3678
|
};
|
|
4882
3679
|
const de_Recommenders = (output, context) => {
|
|
4883
3680
|
const retVal = (output || [])
|
|
4884
3681
|
.filter((e) => e != null)
|
|
4885
3682
|
.map((entry) => {
|
|
4886
|
-
if (entry === null) {
|
|
4887
|
-
return null;
|
|
4888
|
-
}
|
|
4889
3683
|
return de_RecommenderSummary(entry, context);
|
|
4890
3684
|
});
|
|
4891
3685
|
return retVal;
|
|
4892
3686
|
};
|
|
4893
3687
|
const de_RecommenderSummary = (output, context) => {
|
|
4894
|
-
return {
|
|
4895
|
-
creationDateTime:
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
recommenderArn: __expectString(output.recommenderArn),
|
|
4905
|
-
recommenderConfig: output.recommenderConfig != null ? de_RecommenderConfig(output.recommenderConfig, context) : undefined,
|
|
4906
|
-
status: __expectString(output.status),
|
|
4907
|
-
};
|
|
3688
|
+
return take(output, {
|
|
3689
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3690
|
+
datasetGroupArn: __expectString,
|
|
3691
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3692
|
+
name: __expectString,
|
|
3693
|
+
recipeArn: __expectString,
|
|
3694
|
+
recommenderArn: __expectString,
|
|
3695
|
+
recommenderConfig: _json,
|
|
3696
|
+
status: __expectString,
|
|
3697
|
+
});
|
|
4908
3698
|
};
|
|
4909
3699
|
const de_RecommenderUpdateSummary = (output, context) => {
|
|
4910
|
-
return {
|
|
4911
|
-
creationDateTime:
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
: undefined,
|
|
4918
|
-
recommenderConfig: output.recommenderConfig != null ? de_RecommenderConfig(output.recommenderConfig, context) : undefined,
|
|
4919
|
-
status: __expectString(output.status),
|
|
4920
|
-
};
|
|
4921
|
-
};
|
|
4922
|
-
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
4923
|
-
return {
|
|
4924
|
-
message: __expectString(output.message),
|
|
4925
|
-
};
|
|
4926
|
-
};
|
|
4927
|
-
const de_ResourceConfig = (output, context) => {
|
|
4928
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4929
|
-
if (value === null) {
|
|
4930
|
-
return acc;
|
|
4931
|
-
}
|
|
4932
|
-
acc[key] = __expectString(value);
|
|
4933
|
-
return acc;
|
|
4934
|
-
}, {});
|
|
4935
|
-
};
|
|
4936
|
-
const de_ResourceInUseException = (output, context) => {
|
|
4937
|
-
return {
|
|
4938
|
-
message: __expectString(output.message),
|
|
4939
|
-
};
|
|
4940
|
-
};
|
|
4941
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
4942
|
-
return {
|
|
4943
|
-
message: __expectString(output.message),
|
|
4944
|
-
};
|
|
4945
|
-
};
|
|
4946
|
-
const de_S3DataConfig = (output, context) => {
|
|
4947
|
-
return {
|
|
4948
|
-
kmsKeyArn: __expectString(output.kmsKeyArn),
|
|
4949
|
-
path: __expectString(output.path),
|
|
4950
|
-
};
|
|
3700
|
+
return take(output, {
|
|
3701
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3702
|
+
failureReason: __expectString,
|
|
3703
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3704
|
+
recommenderConfig: _json,
|
|
3705
|
+
status: __expectString,
|
|
3706
|
+
});
|
|
4951
3707
|
};
|
|
4952
3708
|
const de_Schemas = (output, context) => {
|
|
4953
3709
|
const retVal = (output || [])
|
|
4954
3710
|
.filter((e) => e != null)
|
|
4955
3711
|
.map((entry) => {
|
|
4956
|
-
if (entry === null) {
|
|
4957
|
-
return null;
|
|
4958
|
-
}
|
|
4959
3712
|
return de_DatasetSchemaSummary(entry, context);
|
|
4960
3713
|
});
|
|
4961
3714
|
return retVal;
|
|
4962
3715
|
};
|
|
4963
3716
|
const de_Solution = (output, context) => {
|
|
4964
|
-
return {
|
|
4965
|
-
autoMLResult:
|
|
4966
|
-
creationDateTime:
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
performHPO: __expectBoolean(output.performHPO),
|
|
4980
|
-
recipeArn: __expectString(output.recipeArn),
|
|
4981
|
-
solutionArn: __expectString(output.solutionArn),
|
|
4982
|
-
solutionConfig: output.solutionConfig != null ? de_SolutionConfig(output.solutionConfig, context) : undefined,
|
|
4983
|
-
status: __expectString(output.status),
|
|
4984
|
-
};
|
|
3717
|
+
return take(output, {
|
|
3718
|
+
autoMLResult: _json,
|
|
3719
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3720
|
+
datasetGroupArn: __expectString,
|
|
3721
|
+
eventType: __expectString,
|
|
3722
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3723
|
+
latestSolutionVersion: (_) => de_SolutionVersionSummary(_, context),
|
|
3724
|
+
name: __expectString,
|
|
3725
|
+
performAutoML: __expectBoolean,
|
|
3726
|
+
performHPO: __expectBoolean,
|
|
3727
|
+
recipeArn: __expectString,
|
|
3728
|
+
solutionArn: __expectString,
|
|
3729
|
+
solutionConfig: (_) => de_SolutionConfig(_, context),
|
|
3730
|
+
status: __expectString,
|
|
3731
|
+
});
|
|
4985
3732
|
};
|
|
4986
3733
|
const de_SolutionConfig = (output, context) => {
|
|
4987
|
-
return {
|
|
4988
|
-
algorithmHyperParameters:
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
: undefined,
|
|
4996
|
-
hpoConfig: output.hpoConfig != null ? de_HPOConfig(output.hpoConfig, context) : undefined,
|
|
4997
|
-
optimizationObjective: output.optimizationObjective != null
|
|
4998
|
-
? de_OptimizationObjective(output.optimizationObjective, context)
|
|
4999
|
-
: undefined,
|
|
5000
|
-
};
|
|
3734
|
+
return take(output, {
|
|
3735
|
+
algorithmHyperParameters: _json,
|
|
3736
|
+
autoMLConfig: _json,
|
|
3737
|
+
eventValueThreshold: __expectString,
|
|
3738
|
+
featureTransformationParameters: _json,
|
|
3739
|
+
hpoConfig: (_) => de_HPOConfig(_, context),
|
|
3740
|
+
optimizationObjective: _json,
|
|
3741
|
+
});
|
|
5001
3742
|
};
|
|
5002
3743
|
const de_Solutions = (output, context) => {
|
|
5003
3744
|
const retVal = (output || [])
|
|
5004
3745
|
.filter((e) => e != null)
|
|
5005
3746
|
.map((entry) => {
|
|
5006
|
-
if (entry === null) {
|
|
5007
|
-
return null;
|
|
5008
|
-
}
|
|
5009
3747
|
return de_SolutionSummary(entry, context);
|
|
5010
3748
|
});
|
|
5011
3749
|
return retVal;
|
|
5012
3750
|
};
|
|
5013
3751
|
const de_SolutionSummary = (output, context) => {
|
|
5014
|
-
return {
|
|
5015
|
-
creationDateTime:
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
recipeArn: __expectString(output.recipeArn),
|
|
5023
|
-
solutionArn: __expectString(output.solutionArn),
|
|
5024
|
-
status: __expectString(output.status),
|
|
5025
|
-
};
|
|
3752
|
+
return take(output, {
|
|
3753
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3754
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3755
|
+
name: __expectString,
|
|
3756
|
+
recipeArn: __expectString,
|
|
3757
|
+
solutionArn: __expectString,
|
|
3758
|
+
status: __expectString,
|
|
3759
|
+
});
|
|
5026
3760
|
};
|
|
5027
3761
|
const de_SolutionVersion = (output, context) => {
|
|
5028
|
-
return {
|
|
5029
|
-
creationDateTime:
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
trainingHours: __limitedParseDouble(output.trainingHours),
|
|
5047
|
-
trainingMode: __expectString(output.trainingMode),
|
|
5048
|
-
tunedHPOParams: output.tunedHPOParams != null ? de_TunedHPOParams(output.tunedHPOParams, context) : undefined,
|
|
5049
|
-
};
|
|
3762
|
+
return take(output, {
|
|
3763
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3764
|
+
datasetGroupArn: __expectString,
|
|
3765
|
+
eventType: __expectString,
|
|
3766
|
+
failureReason: __expectString,
|
|
3767
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3768
|
+
name: __expectString,
|
|
3769
|
+
performAutoML: __expectBoolean,
|
|
3770
|
+
performHPO: __expectBoolean,
|
|
3771
|
+
recipeArn: __expectString,
|
|
3772
|
+
solutionArn: __expectString,
|
|
3773
|
+
solutionConfig: (_) => de_SolutionConfig(_, context),
|
|
3774
|
+
solutionVersionArn: __expectString,
|
|
3775
|
+
status: __expectString,
|
|
3776
|
+
trainingHours: __limitedParseDouble,
|
|
3777
|
+
trainingMode: __expectString,
|
|
3778
|
+
tunedHPOParams: _json,
|
|
3779
|
+
});
|
|
5050
3780
|
};
|
|
5051
3781
|
const de_SolutionVersions = (output, context) => {
|
|
5052
3782
|
const retVal = (output || [])
|
|
5053
3783
|
.filter((e) => e != null)
|
|
5054
3784
|
.map((entry) => {
|
|
5055
|
-
if (entry === null) {
|
|
5056
|
-
return null;
|
|
5057
|
-
}
|
|
5058
3785
|
return de_SolutionVersionSummary(entry, context);
|
|
5059
3786
|
});
|
|
5060
3787
|
return retVal;
|
|
5061
3788
|
};
|
|
5062
3789
|
const de_SolutionVersionSummary = (output, context) => {
|
|
5063
|
-
return {
|
|
5064
|
-
creationDateTime:
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5070
|
-
: undefined,
|
|
5071
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
5072
|
-
status: __expectString(output.status),
|
|
5073
|
-
};
|
|
5074
|
-
};
|
|
5075
|
-
const de_StartRecommenderResponse = (output, context) => {
|
|
5076
|
-
return {
|
|
5077
|
-
recommenderArn: __expectString(output.recommenderArn),
|
|
5078
|
-
};
|
|
5079
|
-
};
|
|
5080
|
-
const de_StopRecommenderResponse = (output, context) => {
|
|
5081
|
-
return {
|
|
5082
|
-
recommenderArn: __expectString(output.recommenderArn),
|
|
5083
|
-
};
|
|
5084
|
-
};
|
|
5085
|
-
const de_Tag = (output, context) => {
|
|
5086
|
-
return {
|
|
5087
|
-
tagKey: __expectString(output.tagKey),
|
|
5088
|
-
tagValue: __expectString(output.tagValue),
|
|
5089
|
-
};
|
|
5090
|
-
};
|
|
5091
|
-
const de_TagResourceResponse = (output, context) => {
|
|
5092
|
-
return {};
|
|
5093
|
-
};
|
|
5094
|
-
const de_Tags = (output, context) => {
|
|
5095
|
-
const retVal = (output || [])
|
|
5096
|
-
.filter((e) => e != null)
|
|
5097
|
-
.map((entry) => {
|
|
5098
|
-
if (entry === null) {
|
|
5099
|
-
return null;
|
|
5100
|
-
}
|
|
5101
|
-
return de_Tag(entry, context);
|
|
3790
|
+
return take(output, {
|
|
3791
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3792
|
+
failureReason: __expectString,
|
|
3793
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3794
|
+
solutionVersionArn: __expectString,
|
|
3795
|
+
status: __expectString,
|
|
5102
3796
|
});
|
|
5103
|
-
return retVal;
|
|
5104
|
-
};
|
|
5105
|
-
const de_TooManyTagKeysException = (output, context) => {
|
|
5106
|
-
return {
|
|
5107
|
-
message: __expectString(output.message),
|
|
5108
|
-
};
|
|
5109
|
-
};
|
|
5110
|
-
const de_TooManyTagsException = (output, context) => {
|
|
5111
|
-
return {
|
|
5112
|
-
message: __expectString(output.message),
|
|
5113
|
-
};
|
|
5114
|
-
};
|
|
5115
|
-
const de_TunedHPOParams = (output, context) => {
|
|
5116
|
-
return {
|
|
5117
|
-
algorithmHyperParameters: output.algorithmHyperParameters != null
|
|
5118
|
-
? de_HyperParameters(output.algorithmHyperParameters, context)
|
|
5119
|
-
: undefined,
|
|
5120
|
-
};
|
|
5121
|
-
};
|
|
5122
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
5123
|
-
return {};
|
|
5124
|
-
};
|
|
5125
|
-
const de_UpdateCampaignResponse = (output, context) => {
|
|
5126
|
-
return {
|
|
5127
|
-
campaignArn: __expectString(output.campaignArn),
|
|
5128
|
-
};
|
|
5129
|
-
};
|
|
5130
|
-
const de_UpdateMetricAttributionResponse = (output, context) => {
|
|
5131
|
-
return {
|
|
5132
|
-
metricAttributionArn: __expectString(output.metricAttributionArn),
|
|
5133
|
-
};
|
|
5134
|
-
};
|
|
5135
|
-
const de_UpdateRecommenderResponse = (output, context) => {
|
|
5136
|
-
return {
|
|
5137
|
-
recommenderArn: __expectString(output.recommenderArn),
|
|
5138
|
-
};
|
|
5139
3797
|
};
|
|
5140
3798
|
const deserializeMetadata = (output) => ({
|
|
5141
3799
|
httpStatusCode: output.statusCode,
|
|
@@ -5150,6 +3808,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5150
3808
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5151
3809
|
};
|
|
5152
3810
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3811
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
5153
3812
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5154
3813
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5155
3814
|
const contents = {
|