@aws-sdk/client-personalize 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_1.js +869 -2402
- package/dist-es/protocols/Aws_json1_1.js +870 -2403
- package/package.json +6 -6
|
@@ -1,599 +1,401 @@
|
|
|
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
|
-
const headers =
|
|
7
|
-
"content-type": "application/x-amz-json-1.1",
|
|
8
|
-
"x-amz-target": "AmazonPersonalize.CreateBatchInferenceJob",
|
|
9
|
-
};
|
|
6
|
+
const headers = sharedHeaders("CreateBatchInferenceJob");
|
|
10
7
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
8
|
+
body = JSON.stringify(_json(input));
|
|
12
9
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
10
|
};
|
|
14
11
|
export const se_CreateBatchSegmentJobCommand = async (input, context) => {
|
|
15
|
-
const headers =
|
|
16
|
-
"content-type": "application/x-amz-json-1.1",
|
|
17
|
-
"x-amz-target": "AmazonPersonalize.CreateBatchSegmentJob",
|
|
18
|
-
};
|
|
12
|
+
const headers = sharedHeaders("CreateBatchSegmentJob");
|
|
19
13
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(_json(input));
|
|
21
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
16
|
};
|
|
23
17
|
export const se_CreateCampaignCommand = async (input, context) => {
|
|
24
|
-
const headers =
|
|
25
|
-
"content-type": "application/x-amz-json-1.1",
|
|
26
|
-
"x-amz-target": "AmazonPersonalize.CreateCampaign",
|
|
27
|
-
};
|
|
18
|
+
const headers = sharedHeaders("CreateCampaign");
|
|
28
19
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(_json(input));
|
|
30
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
22
|
};
|
|
32
23
|
export const se_CreateDatasetCommand = async (input, context) => {
|
|
33
|
-
const headers =
|
|
34
|
-
"content-type": "application/x-amz-json-1.1",
|
|
35
|
-
"x-amz-target": "AmazonPersonalize.CreateDataset",
|
|
36
|
-
};
|
|
24
|
+
const headers = sharedHeaders("CreateDataset");
|
|
37
25
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify(_json(input));
|
|
39
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
28
|
};
|
|
41
29
|
export const se_CreateDatasetExportJobCommand = async (input, context) => {
|
|
42
|
-
const headers =
|
|
43
|
-
"content-type": "application/x-amz-json-1.1",
|
|
44
|
-
"x-amz-target": "AmazonPersonalize.CreateDatasetExportJob",
|
|
45
|
-
};
|
|
30
|
+
const headers = sharedHeaders("CreateDatasetExportJob");
|
|
46
31
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
32
|
+
body = JSON.stringify(_json(input));
|
|
48
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
34
|
};
|
|
50
35
|
export const se_CreateDatasetGroupCommand = async (input, context) => {
|
|
51
|
-
const headers =
|
|
52
|
-
"content-type": "application/x-amz-json-1.1",
|
|
53
|
-
"x-amz-target": "AmazonPersonalize.CreateDatasetGroup",
|
|
54
|
-
};
|
|
36
|
+
const headers = sharedHeaders("CreateDatasetGroup");
|
|
55
37
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(_json(input));
|
|
57
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
40
|
};
|
|
59
41
|
export const se_CreateDatasetImportJobCommand = async (input, context) => {
|
|
60
|
-
const headers =
|
|
61
|
-
"content-type": "application/x-amz-json-1.1",
|
|
62
|
-
"x-amz-target": "AmazonPersonalize.CreateDatasetImportJob",
|
|
63
|
-
};
|
|
42
|
+
const headers = sharedHeaders("CreateDatasetImportJob");
|
|
64
43
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
44
|
+
body = JSON.stringify(_json(input));
|
|
66
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
46
|
};
|
|
68
47
|
export const se_CreateEventTrackerCommand = async (input, context) => {
|
|
69
|
-
const headers =
|
|
70
|
-
"content-type": "application/x-amz-json-1.1",
|
|
71
|
-
"x-amz-target": "AmazonPersonalize.CreateEventTracker",
|
|
72
|
-
};
|
|
48
|
+
const headers = sharedHeaders("CreateEventTracker");
|
|
73
49
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
50
|
+
body = JSON.stringify(_json(input));
|
|
75
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
52
|
};
|
|
77
53
|
export const se_CreateFilterCommand = async (input, context) => {
|
|
78
|
-
const headers =
|
|
79
|
-
"content-type": "application/x-amz-json-1.1",
|
|
80
|
-
"x-amz-target": "AmazonPersonalize.CreateFilter",
|
|
81
|
-
};
|
|
54
|
+
const headers = sharedHeaders("CreateFilter");
|
|
82
55
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(_json(input));
|
|
84
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
58
|
};
|
|
86
59
|
export const se_CreateMetricAttributionCommand = async (input, context) => {
|
|
87
|
-
const headers =
|
|
88
|
-
"content-type": "application/x-amz-json-1.1",
|
|
89
|
-
"x-amz-target": "AmazonPersonalize.CreateMetricAttribution",
|
|
90
|
-
};
|
|
60
|
+
const headers = sharedHeaders("CreateMetricAttribution");
|
|
91
61
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify(_json(input));
|
|
93
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
64
|
};
|
|
95
65
|
export const se_CreateRecommenderCommand = async (input, context) => {
|
|
96
|
-
const headers =
|
|
97
|
-
"content-type": "application/x-amz-json-1.1",
|
|
98
|
-
"x-amz-target": "AmazonPersonalize.CreateRecommender",
|
|
99
|
-
};
|
|
66
|
+
const headers = sharedHeaders("CreateRecommender");
|
|
100
67
|
let body;
|
|
101
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify(_json(input));
|
|
102
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
70
|
};
|
|
104
71
|
export const se_CreateSchemaCommand = async (input, context) => {
|
|
105
|
-
const headers =
|
|
106
|
-
"content-type": "application/x-amz-json-1.1",
|
|
107
|
-
"x-amz-target": "AmazonPersonalize.CreateSchema",
|
|
108
|
-
};
|
|
72
|
+
const headers = sharedHeaders("CreateSchema");
|
|
109
73
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(_json(input));
|
|
111
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
76
|
};
|
|
113
77
|
export const se_CreateSolutionCommand = async (input, context) => {
|
|
114
|
-
const headers =
|
|
115
|
-
"content-type": "application/x-amz-json-1.1",
|
|
116
|
-
"x-amz-target": "AmazonPersonalize.CreateSolution",
|
|
117
|
-
};
|
|
78
|
+
const headers = sharedHeaders("CreateSolution");
|
|
118
79
|
let body;
|
|
119
80
|
body = JSON.stringify(se_CreateSolutionRequest(input, context));
|
|
120
81
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
82
|
};
|
|
122
83
|
export const se_CreateSolutionVersionCommand = async (input, context) => {
|
|
123
|
-
const headers =
|
|
124
|
-
"content-type": "application/x-amz-json-1.1",
|
|
125
|
-
"x-amz-target": "AmazonPersonalize.CreateSolutionVersion",
|
|
126
|
-
};
|
|
84
|
+
const headers = sharedHeaders("CreateSolutionVersion");
|
|
127
85
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
86
|
+
body = JSON.stringify(_json(input));
|
|
129
87
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
88
|
};
|
|
131
89
|
export const se_DeleteCampaignCommand = async (input, context) => {
|
|
132
|
-
const headers =
|
|
133
|
-
"content-type": "application/x-amz-json-1.1",
|
|
134
|
-
"x-amz-target": "AmazonPersonalize.DeleteCampaign",
|
|
135
|
-
};
|
|
90
|
+
const headers = sharedHeaders("DeleteCampaign");
|
|
136
91
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(_json(input));
|
|
138
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
94
|
};
|
|
140
95
|
export const se_DeleteDatasetCommand = async (input, context) => {
|
|
141
|
-
const headers =
|
|
142
|
-
"content-type": "application/x-amz-json-1.1",
|
|
143
|
-
"x-amz-target": "AmazonPersonalize.DeleteDataset",
|
|
144
|
-
};
|
|
96
|
+
const headers = sharedHeaders("DeleteDataset");
|
|
145
97
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
98
|
+
body = JSON.stringify(_json(input));
|
|
147
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
100
|
};
|
|
149
101
|
export const se_DeleteDatasetGroupCommand = async (input, context) => {
|
|
150
|
-
const headers =
|
|
151
|
-
"content-type": "application/x-amz-json-1.1",
|
|
152
|
-
"x-amz-target": "AmazonPersonalize.DeleteDatasetGroup",
|
|
153
|
-
};
|
|
102
|
+
const headers = sharedHeaders("DeleteDatasetGroup");
|
|
154
103
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify(_json(input));
|
|
156
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
106
|
};
|
|
158
107
|
export const se_DeleteEventTrackerCommand = async (input, context) => {
|
|
159
|
-
const headers =
|
|
160
|
-
"content-type": "application/x-amz-json-1.1",
|
|
161
|
-
"x-amz-target": "AmazonPersonalize.DeleteEventTracker",
|
|
162
|
-
};
|
|
108
|
+
const headers = sharedHeaders("DeleteEventTracker");
|
|
163
109
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(_json(input));
|
|
165
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
112
|
};
|
|
167
113
|
export const se_DeleteFilterCommand = async (input, context) => {
|
|
168
|
-
const headers =
|
|
169
|
-
"content-type": "application/x-amz-json-1.1",
|
|
170
|
-
"x-amz-target": "AmazonPersonalize.DeleteFilter",
|
|
171
|
-
};
|
|
114
|
+
const headers = sharedHeaders("DeleteFilter");
|
|
172
115
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
116
|
+
body = JSON.stringify(_json(input));
|
|
174
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
118
|
};
|
|
176
119
|
export const se_DeleteMetricAttributionCommand = async (input, context) => {
|
|
177
|
-
const headers =
|
|
178
|
-
"content-type": "application/x-amz-json-1.1",
|
|
179
|
-
"x-amz-target": "AmazonPersonalize.DeleteMetricAttribution",
|
|
180
|
-
};
|
|
120
|
+
const headers = sharedHeaders("DeleteMetricAttribution");
|
|
181
121
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
122
|
+
body = JSON.stringify(_json(input));
|
|
183
123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
124
|
};
|
|
185
125
|
export const se_DeleteRecommenderCommand = async (input, context) => {
|
|
186
|
-
const headers =
|
|
187
|
-
"content-type": "application/x-amz-json-1.1",
|
|
188
|
-
"x-amz-target": "AmazonPersonalize.DeleteRecommender",
|
|
189
|
-
};
|
|
126
|
+
const headers = sharedHeaders("DeleteRecommender");
|
|
190
127
|
let body;
|
|
191
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(_json(input));
|
|
192
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
130
|
};
|
|
194
131
|
export const se_DeleteSchemaCommand = async (input, context) => {
|
|
195
|
-
const headers =
|
|
196
|
-
"content-type": "application/x-amz-json-1.1",
|
|
197
|
-
"x-amz-target": "AmazonPersonalize.DeleteSchema",
|
|
198
|
-
};
|
|
132
|
+
const headers = sharedHeaders("DeleteSchema");
|
|
199
133
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
134
|
+
body = JSON.stringify(_json(input));
|
|
201
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
136
|
};
|
|
203
137
|
export const se_DeleteSolutionCommand = async (input, context) => {
|
|
204
|
-
const headers =
|
|
205
|
-
"content-type": "application/x-amz-json-1.1",
|
|
206
|
-
"x-amz-target": "AmazonPersonalize.DeleteSolution",
|
|
207
|
-
};
|
|
138
|
+
const headers = sharedHeaders("DeleteSolution");
|
|
208
139
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
140
|
+
body = JSON.stringify(_json(input));
|
|
210
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
142
|
};
|
|
212
143
|
export const se_DescribeAlgorithmCommand = async (input, context) => {
|
|
213
|
-
const headers =
|
|
214
|
-
"content-type": "application/x-amz-json-1.1",
|
|
215
|
-
"x-amz-target": "AmazonPersonalize.DescribeAlgorithm",
|
|
216
|
-
};
|
|
144
|
+
const headers = sharedHeaders("DescribeAlgorithm");
|
|
217
145
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(_json(input));
|
|
219
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
148
|
};
|
|
221
149
|
export const se_DescribeBatchInferenceJobCommand = async (input, context) => {
|
|
222
|
-
const headers =
|
|
223
|
-
"content-type": "application/x-amz-json-1.1",
|
|
224
|
-
"x-amz-target": "AmazonPersonalize.DescribeBatchInferenceJob",
|
|
225
|
-
};
|
|
150
|
+
const headers = sharedHeaders("DescribeBatchInferenceJob");
|
|
226
151
|
let body;
|
|
227
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify(_json(input));
|
|
228
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
154
|
};
|
|
230
155
|
export const se_DescribeBatchSegmentJobCommand = async (input, context) => {
|
|
231
|
-
const headers =
|
|
232
|
-
"content-type": "application/x-amz-json-1.1",
|
|
233
|
-
"x-amz-target": "AmazonPersonalize.DescribeBatchSegmentJob",
|
|
234
|
-
};
|
|
156
|
+
const headers = sharedHeaders("DescribeBatchSegmentJob");
|
|
235
157
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
158
|
+
body = JSON.stringify(_json(input));
|
|
237
159
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
160
|
};
|
|
239
161
|
export const se_DescribeCampaignCommand = async (input, context) => {
|
|
240
|
-
const headers =
|
|
241
|
-
"content-type": "application/x-amz-json-1.1",
|
|
242
|
-
"x-amz-target": "AmazonPersonalize.DescribeCampaign",
|
|
243
|
-
};
|
|
162
|
+
const headers = sharedHeaders("DescribeCampaign");
|
|
244
163
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(_json(input));
|
|
246
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
166
|
};
|
|
248
167
|
export const se_DescribeDatasetCommand = async (input, context) => {
|
|
249
|
-
const headers =
|
|
250
|
-
"content-type": "application/x-amz-json-1.1",
|
|
251
|
-
"x-amz-target": "AmazonPersonalize.DescribeDataset",
|
|
252
|
-
};
|
|
168
|
+
const headers = sharedHeaders("DescribeDataset");
|
|
253
169
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
170
|
+
body = JSON.stringify(_json(input));
|
|
255
171
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
172
|
};
|
|
257
173
|
export const se_DescribeDatasetExportJobCommand = async (input, context) => {
|
|
258
|
-
const headers =
|
|
259
|
-
"content-type": "application/x-amz-json-1.1",
|
|
260
|
-
"x-amz-target": "AmazonPersonalize.DescribeDatasetExportJob",
|
|
261
|
-
};
|
|
174
|
+
const headers = sharedHeaders("DescribeDatasetExportJob");
|
|
262
175
|
let body;
|
|
263
|
-
body = JSON.stringify(
|
|
176
|
+
body = JSON.stringify(_json(input));
|
|
264
177
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
178
|
};
|
|
266
179
|
export const se_DescribeDatasetGroupCommand = async (input, context) => {
|
|
267
|
-
const headers =
|
|
268
|
-
"content-type": "application/x-amz-json-1.1",
|
|
269
|
-
"x-amz-target": "AmazonPersonalize.DescribeDatasetGroup",
|
|
270
|
-
};
|
|
180
|
+
const headers = sharedHeaders("DescribeDatasetGroup");
|
|
271
181
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(_json(input));
|
|
273
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
184
|
};
|
|
275
185
|
export const se_DescribeDatasetImportJobCommand = async (input, context) => {
|
|
276
|
-
const headers =
|
|
277
|
-
"content-type": "application/x-amz-json-1.1",
|
|
278
|
-
"x-amz-target": "AmazonPersonalize.DescribeDatasetImportJob",
|
|
279
|
-
};
|
|
186
|
+
const headers = sharedHeaders("DescribeDatasetImportJob");
|
|
280
187
|
let body;
|
|
281
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify(_json(input));
|
|
282
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
190
|
};
|
|
284
191
|
export const se_DescribeEventTrackerCommand = async (input, context) => {
|
|
285
|
-
const headers =
|
|
286
|
-
"content-type": "application/x-amz-json-1.1",
|
|
287
|
-
"x-amz-target": "AmazonPersonalize.DescribeEventTracker",
|
|
288
|
-
};
|
|
192
|
+
const headers = sharedHeaders("DescribeEventTracker");
|
|
289
193
|
let body;
|
|
290
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify(_json(input));
|
|
291
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
196
|
};
|
|
293
197
|
export const se_DescribeFeatureTransformationCommand = async (input, context) => {
|
|
294
|
-
const headers =
|
|
295
|
-
"content-type": "application/x-amz-json-1.1",
|
|
296
|
-
"x-amz-target": "AmazonPersonalize.DescribeFeatureTransformation",
|
|
297
|
-
};
|
|
198
|
+
const headers = sharedHeaders("DescribeFeatureTransformation");
|
|
298
199
|
let body;
|
|
299
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(_json(input));
|
|
300
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
202
|
};
|
|
302
203
|
export const se_DescribeFilterCommand = async (input, context) => {
|
|
303
|
-
const headers =
|
|
304
|
-
"content-type": "application/x-amz-json-1.1",
|
|
305
|
-
"x-amz-target": "AmazonPersonalize.DescribeFilter",
|
|
306
|
-
};
|
|
204
|
+
const headers = sharedHeaders("DescribeFilter");
|
|
307
205
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
206
|
+
body = JSON.stringify(_json(input));
|
|
309
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
208
|
};
|
|
311
209
|
export const se_DescribeMetricAttributionCommand = async (input, context) => {
|
|
312
|
-
const headers =
|
|
313
|
-
"content-type": "application/x-amz-json-1.1",
|
|
314
|
-
"x-amz-target": "AmazonPersonalize.DescribeMetricAttribution",
|
|
315
|
-
};
|
|
210
|
+
const headers = sharedHeaders("DescribeMetricAttribution");
|
|
316
211
|
let body;
|
|
317
|
-
body = JSON.stringify(
|
|
212
|
+
body = JSON.stringify(_json(input));
|
|
318
213
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
214
|
};
|
|
320
215
|
export const se_DescribeRecipeCommand = async (input, context) => {
|
|
321
|
-
const headers =
|
|
322
|
-
"content-type": "application/x-amz-json-1.1",
|
|
323
|
-
"x-amz-target": "AmazonPersonalize.DescribeRecipe",
|
|
324
|
-
};
|
|
216
|
+
const headers = sharedHeaders("DescribeRecipe");
|
|
325
217
|
let body;
|
|
326
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(_json(input));
|
|
327
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
220
|
};
|
|
329
221
|
export const se_DescribeRecommenderCommand = async (input, context) => {
|
|
330
|
-
const headers =
|
|
331
|
-
"content-type": "application/x-amz-json-1.1",
|
|
332
|
-
"x-amz-target": "AmazonPersonalize.DescribeRecommender",
|
|
333
|
-
};
|
|
222
|
+
const headers = sharedHeaders("DescribeRecommender");
|
|
334
223
|
let body;
|
|
335
|
-
body = JSON.stringify(
|
|
224
|
+
body = JSON.stringify(_json(input));
|
|
336
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
226
|
};
|
|
338
227
|
export const se_DescribeSchemaCommand = async (input, context) => {
|
|
339
|
-
const headers =
|
|
340
|
-
"content-type": "application/x-amz-json-1.1",
|
|
341
|
-
"x-amz-target": "AmazonPersonalize.DescribeSchema",
|
|
342
|
-
};
|
|
228
|
+
const headers = sharedHeaders("DescribeSchema");
|
|
343
229
|
let body;
|
|
344
|
-
body = JSON.stringify(
|
|
230
|
+
body = JSON.stringify(_json(input));
|
|
345
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
346
232
|
};
|
|
347
233
|
export const se_DescribeSolutionCommand = async (input, context) => {
|
|
348
|
-
const headers =
|
|
349
|
-
"content-type": "application/x-amz-json-1.1",
|
|
350
|
-
"x-amz-target": "AmazonPersonalize.DescribeSolution",
|
|
351
|
-
};
|
|
234
|
+
const headers = sharedHeaders("DescribeSolution");
|
|
352
235
|
let body;
|
|
353
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify(_json(input));
|
|
354
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
355
238
|
};
|
|
356
239
|
export const se_DescribeSolutionVersionCommand = async (input, context) => {
|
|
357
|
-
const headers =
|
|
358
|
-
"content-type": "application/x-amz-json-1.1",
|
|
359
|
-
"x-amz-target": "AmazonPersonalize.DescribeSolutionVersion",
|
|
360
|
-
};
|
|
240
|
+
const headers = sharedHeaders("DescribeSolutionVersion");
|
|
361
241
|
let body;
|
|
362
|
-
body = JSON.stringify(
|
|
242
|
+
body = JSON.stringify(_json(input));
|
|
363
243
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
364
244
|
};
|
|
365
245
|
export const se_GetSolutionMetricsCommand = async (input, context) => {
|
|
366
|
-
const headers =
|
|
367
|
-
"content-type": "application/x-amz-json-1.1",
|
|
368
|
-
"x-amz-target": "AmazonPersonalize.GetSolutionMetrics",
|
|
369
|
-
};
|
|
246
|
+
const headers = sharedHeaders("GetSolutionMetrics");
|
|
370
247
|
let body;
|
|
371
|
-
body = JSON.stringify(
|
|
248
|
+
body = JSON.stringify(_json(input));
|
|
372
249
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
373
250
|
};
|
|
374
251
|
export const se_ListBatchInferenceJobsCommand = async (input, context) => {
|
|
375
|
-
const headers =
|
|
376
|
-
"content-type": "application/x-amz-json-1.1",
|
|
377
|
-
"x-amz-target": "AmazonPersonalize.ListBatchInferenceJobs",
|
|
378
|
-
};
|
|
252
|
+
const headers = sharedHeaders("ListBatchInferenceJobs");
|
|
379
253
|
let body;
|
|
380
|
-
body = JSON.stringify(
|
|
254
|
+
body = JSON.stringify(_json(input));
|
|
381
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
382
256
|
};
|
|
383
257
|
export const se_ListBatchSegmentJobsCommand = async (input, context) => {
|
|
384
|
-
const headers =
|
|
385
|
-
"content-type": "application/x-amz-json-1.1",
|
|
386
|
-
"x-amz-target": "AmazonPersonalize.ListBatchSegmentJobs",
|
|
387
|
-
};
|
|
258
|
+
const headers = sharedHeaders("ListBatchSegmentJobs");
|
|
388
259
|
let body;
|
|
389
|
-
body = JSON.stringify(
|
|
260
|
+
body = JSON.stringify(_json(input));
|
|
390
261
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
391
262
|
};
|
|
392
263
|
export const se_ListCampaignsCommand = async (input, context) => {
|
|
393
|
-
const headers =
|
|
394
|
-
"content-type": "application/x-amz-json-1.1",
|
|
395
|
-
"x-amz-target": "AmazonPersonalize.ListCampaigns",
|
|
396
|
-
};
|
|
264
|
+
const headers = sharedHeaders("ListCampaigns");
|
|
397
265
|
let body;
|
|
398
|
-
body = JSON.stringify(
|
|
266
|
+
body = JSON.stringify(_json(input));
|
|
399
267
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
400
268
|
};
|
|
401
269
|
export const se_ListDatasetExportJobsCommand = async (input, context) => {
|
|
402
|
-
const headers =
|
|
403
|
-
"content-type": "application/x-amz-json-1.1",
|
|
404
|
-
"x-amz-target": "AmazonPersonalize.ListDatasetExportJobs",
|
|
405
|
-
};
|
|
270
|
+
const headers = sharedHeaders("ListDatasetExportJobs");
|
|
406
271
|
let body;
|
|
407
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify(_json(input));
|
|
408
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
409
274
|
};
|
|
410
275
|
export const se_ListDatasetGroupsCommand = async (input, context) => {
|
|
411
|
-
const headers =
|
|
412
|
-
"content-type": "application/x-amz-json-1.1",
|
|
413
|
-
"x-amz-target": "AmazonPersonalize.ListDatasetGroups",
|
|
414
|
-
};
|
|
276
|
+
const headers = sharedHeaders("ListDatasetGroups");
|
|
415
277
|
let body;
|
|
416
|
-
body = JSON.stringify(
|
|
278
|
+
body = JSON.stringify(_json(input));
|
|
417
279
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
418
280
|
};
|
|
419
281
|
export const se_ListDatasetImportJobsCommand = async (input, context) => {
|
|
420
|
-
const headers =
|
|
421
|
-
"content-type": "application/x-amz-json-1.1",
|
|
422
|
-
"x-amz-target": "AmazonPersonalize.ListDatasetImportJobs",
|
|
423
|
-
};
|
|
282
|
+
const headers = sharedHeaders("ListDatasetImportJobs");
|
|
424
283
|
let body;
|
|
425
|
-
body = JSON.stringify(
|
|
284
|
+
body = JSON.stringify(_json(input));
|
|
426
285
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
427
286
|
};
|
|
428
287
|
export const se_ListDatasetsCommand = async (input, context) => {
|
|
429
|
-
const headers =
|
|
430
|
-
"content-type": "application/x-amz-json-1.1",
|
|
431
|
-
"x-amz-target": "AmazonPersonalize.ListDatasets",
|
|
432
|
-
};
|
|
288
|
+
const headers = sharedHeaders("ListDatasets");
|
|
433
289
|
let body;
|
|
434
|
-
body = JSON.stringify(
|
|
290
|
+
body = JSON.stringify(_json(input));
|
|
435
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
436
292
|
};
|
|
437
293
|
export const se_ListEventTrackersCommand = async (input, context) => {
|
|
438
|
-
const headers =
|
|
439
|
-
"content-type": "application/x-amz-json-1.1",
|
|
440
|
-
"x-amz-target": "AmazonPersonalize.ListEventTrackers",
|
|
441
|
-
};
|
|
294
|
+
const headers = sharedHeaders("ListEventTrackers");
|
|
442
295
|
let body;
|
|
443
|
-
body = JSON.stringify(
|
|
296
|
+
body = JSON.stringify(_json(input));
|
|
444
297
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
445
298
|
};
|
|
446
299
|
export const se_ListFiltersCommand = async (input, context) => {
|
|
447
|
-
const headers =
|
|
448
|
-
"content-type": "application/x-amz-json-1.1",
|
|
449
|
-
"x-amz-target": "AmazonPersonalize.ListFilters",
|
|
450
|
-
};
|
|
300
|
+
const headers = sharedHeaders("ListFilters");
|
|
451
301
|
let body;
|
|
452
|
-
body = JSON.stringify(
|
|
302
|
+
body = JSON.stringify(_json(input));
|
|
453
303
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
454
304
|
};
|
|
455
305
|
export const se_ListMetricAttributionMetricsCommand = async (input, context) => {
|
|
456
|
-
const headers =
|
|
457
|
-
"content-type": "application/x-amz-json-1.1",
|
|
458
|
-
"x-amz-target": "AmazonPersonalize.ListMetricAttributionMetrics",
|
|
459
|
-
};
|
|
306
|
+
const headers = sharedHeaders("ListMetricAttributionMetrics");
|
|
460
307
|
let body;
|
|
461
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify(_json(input));
|
|
462
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
463
310
|
};
|
|
464
311
|
export const se_ListMetricAttributionsCommand = async (input, context) => {
|
|
465
|
-
const headers =
|
|
466
|
-
"content-type": "application/x-amz-json-1.1",
|
|
467
|
-
"x-amz-target": "AmazonPersonalize.ListMetricAttributions",
|
|
468
|
-
};
|
|
312
|
+
const headers = sharedHeaders("ListMetricAttributions");
|
|
469
313
|
let body;
|
|
470
|
-
body = JSON.stringify(
|
|
314
|
+
body = JSON.stringify(_json(input));
|
|
471
315
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
472
316
|
};
|
|
473
317
|
export const se_ListRecipesCommand = async (input, context) => {
|
|
474
|
-
const headers =
|
|
475
|
-
"content-type": "application/x-amz-json-1.1",
|
|
476
|
-
"x-amz-target": "AmazonPersonalize.ListRecipes",
|
|
477
|
-
};
|
|
318
|
+
const headers = sharedHeaders("ListRecipes");
|
|
478
319
|
let body;
|
|
479
|
-
body = JSON.stringify(
|
|
320
|
+
body = JSON.stringify(_json(input));
|
|
480
321
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
481
322
|
};
|
|
482
323
|
export const se_ListRecommendersCommand = async (input, context) => {
|
|
483
|
-
const headers =
|
|
484
|
-
"content-type": "application/x-amz-json-1.1",
|
|
485
|
-
"x-amz-target": "AmazonPersonalize.ListRecommenders",
|
|
486
|
-
};
|
|
324
|
+
const headers = sharedHeaders("ListRecommenders");
|
|
487
325
|
let body;
|
|
488
|
-
body = JSON.stringify(
|
|
326
|
+
body = JSON.stringify(_json(input));
|
|
489
327
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
490
328
|
};
|
|
491
329
|
export const se_ListSchemasCommand = async (input, context) => {
|
|
492
|
-
const headers =
|
|
493
|
-
"content-type": "application/x-amz-json-1.1",
|
|
494
|
-
"x-amz-target": "AmazonPersonalize.ListSchemas",
|
|
495
|
-
};
|
|
330
|
+
const headers = sharedHeaders("ListSchemas");
|
|
496
331
|
let body;
|
|
497
|
-
body = JSON.stringify(
|
|
332
|
+
body = JSON.stringify(_json(input));
|
|
498
333
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
499
334
|
};
|
|
500
335
|
export const se_ListSolutionsCommand = async (input, context) => {
|
|
501
|
-
const headers =
|
|
502
|
-
"content-type": "application/x-amz-json-1.1",
|
|
503
|
-
"x-amz-target": "AmazonPersonalize.ListSolutions",
|
|
504
|
-
};
|
|
336
|
+
const headers = sharedHeaders("ListSolutions");
|
|
505
337
|
let body;
|
|
506
|
-
body = JSON.stringify(
|
|
338
|
+
body = JSON.stringify(_json(input));
|
|
507
339
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
508
340
|
};
|
|
509
341
|
export const se_ListSolutionVersionsCommand = async (input, context) => {
|
|
510
|
-
const headers =
|
|
511
|
-
"content-type": "application/x-amz-json-1.1",
|
|
512
|
-
"x-amz-target": "AmazonPersonalize.ListSolutionVersions",
|
|
513
|
-
};
|
|
342
|
+
const headers = sharedHeaders("ListSolutionVersions");
|
|
514
343
|
let body;
|
|
515
|
-
body = JSON.stringify(
|
|
344
|
+
body = JSON.stringify(_json(input));
|
|
516
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
517
346
|
};
|
|
518
347
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
519
|
-
const headers =
|
|
520
|
-
"content-type": "application/x-amz-json-1.1",
|
|
521
|
-
"x-amz-target": "AmazonPersonalize.ListTagsForResource",
|
|
522
|
-
};
|
|
348
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
523
349
|
let body;
|
|
524
|
-
body = JSON.stringify(
|
|
350
|
+
body = JSON.stringify(_json(input));
|
|
525
351
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
526
352
|
};
|
|
527
353
|
export const se_StartRecommenderCommand = async (input, context) => {
|
|
528
|
-
const headers =
|
|
529
|
-
"content-type": "application/x-amz-json-1.1",
|
|
530
|
-
"x-amz-target": "AmazonPersonalize.StartRecommender",
|
|
531
|
-
};
|
|
354
|
+
const headers = sharedHeaders("StartRecommender");
|
|
532
355
|
let body;
|
|
533
|
-
body = JSON.stringify(
|
|
356
|
+
body = JSON.stringify(_json(input));
|
|
534
357
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
535
358
|
};
|
|
536
359
|
export const se_StopRecommenderCommand = async (input, context) => {
|
|
537
|
-
const headers =
|
|
538
|
-
"content-type": "application/x-amz-json-1.1",
|
|
539
|
-
"x-amz-target": "AmazonPersonalize.StopRecommender",
|
|
540
|
-
};
|
|
360
|
+
const headers = sharedHeaders("StopRecommender");
|
|
541
361
|
let body;
|
|
542
|
-
body = JSON.stringify(
|
|
362
|
+
body = JSON.stringify(_json(input));
|
|
543
363
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
544
364
|
};
|
|
545
365
|
export const se_StopSolutionVersionCreationCommand = async (input, context) => {
|
|
546
|
-
const headers =
|
|
547
|
-
"content-type": "application/x-amz-json-1.1",
|
|
548
|
-
"x-amz-target": "AmazonPersonalize.StopSolutionVersionCreation",
|
|
549
|
-
};
|
|
366
|
+
const headers = sharedHeaders("StopSolutionVersionCreation");
|
|
550
367
|
let body;
|
|
551
|
-
body = JSON.stringify(
|
|
368
|
+
body = JSON.stringify(_json(input));
|
|
552
369
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
553
370
|
};
|
|
554
371
|
export const se_TagResourceCommand = async (input, context) => {
|
|
555
|
-
const headers =
|
|
556
|
-
"content-type": "application/x-amz-json-1.1",
|
|
557
|
-
"x-amz-target": "AmazonPersonalize.TagResource",
|
|
558
|
-
};
|
|
372
|
+
const headers = sharedHeaders("TagResource");
|
|
559
373
|
let body;
|
|
560
|
-
body = JSON.stringify(
|
|
374
|
+
body = JSON.stringify(_json(input));
|
|
561
375
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
562
376
|
};
|
|
563
377
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
564
|
-
const headers =
|
|
565
|
-
"content-type": "application/x-amz-json-1.1",
|
|
566
|
-
"x-amz-target": "AmazonPersonalize.UntagResource",
|
|
567
|
-
};
|
|
378
|
+
const headers = sharedHeaders("UntagResource");
|
|
568
379
|
let body;
|
|
569
|
-
body = JSON.stringify(
|
|
380
|
+
body = JSON.stringify(_json(input));
|
|
570
381
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
571
382
|
};
|
|
572
383
|
export const se_UpdateCampaignCommand = async (input, context) => {
|
|
573
|
-
const headers =
|
|
574
|
-
"content-type": "application/x-amz-json-1.1",
|
|
575
|
-
"x-amz-target": "AmazonPersonalize.UpdateCampaign",
|
|
576
|
-
};
|
|
384
|
+
const headers = sharedHeaders("UpdateCampaign");
|
|
577
385
|
let body;
|
|
578
|
-
body = JSON.stringify(
|
|
386
|
+
body = JSON.stringify(_json(input));
|
|
579
387
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
580
388
|
};
|
|
581
389
|
export const se_UpdateMetricAttributionCommand = async (input, context) => {
|
|
582
|
-
const headers =
|
|
583
|
-
"content-type": "application/x-amz-json-1.1",
|
|
584
|
-
"x-amz-target": "AmazonPersonalize.UpdateMetricAttribution",
|
|
585
|
-
};
|
|
390
|
+
const headers = sharedHeaders("UpdateMetricAttribution");
|
|
586
391
|
let body;
|
|
587
|
-
body = JSON.stringify(
|
|
392
|
+
body = JSON.stringify(_json(input));
|
|
588
393
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
589
394
|
};
|
|
590
395
|
export const se_UpdateRecommenderCommand = async (input, context) => {
|
|
591
|
-
const headers =
|
|
592
|
-
"content-type": "application/x-amz-json-1.1",
|
|
593
|
-
"x-amz-target": "AmazonPersonalize.UpdateRecommender",
|
|
594
|
-
};
|
|
396
|
+
const headers = sharedHeaders("UpdateRecommender");
|
|
595
397
|
let body;
|
|
596
|
-
body = JSON.stringify(
|
|
398
|
+
body = JSON.stringify(_json(input));
|
|
597
399
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
598
400
|
};
|
|
599
401
|
export const de_CreateBatchInferenceJobCommand = async (output, context) => {
|
|
@@ -602,12 +404,12 @@ export const de_CreateBatchInferenceJobCommand = async (output, context) => {
|
|
|
602
404
|
}
|
|
603
405
|
const data = await parseBody(output.body, context);
|
|
604
406
|
let contents = {};
|
|
605
|
-
contents =
|
|
407
|
+
contents = _json(data);
|
|
606
408
|
const response = {
|
|
607
409
|
$metadata: deserializeMetadata(output),
|
|
608
410
|
...contents,
|
|
609
411
|
};
|
|
610
|
-
return
|
|
412
|
+
return response;
|
|
611
413
|
};
|
|
612
414
|
const de_CreateBatchInferenceJobCommandError = async (output, context) => {
|
|
613
415
|
const parsedOutput = {
|
|
@@ -636,10 +438,9 @@ const de_CreateBatchInferenceJobCommandError = async (output, context) => {
|
|
|
636
438
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
637
439
|
default:
|
|
638
440
|
const parsedBody = parsedOutput.body;
|
|
639
|
-
throwDefaultError({
|
|
441
|
+
return throwDefaultError({
|
|
640
442
|
output,
|
|
641
443
|
parsedBody,
|
|
642
|
-
exceptionCtor: __BaseException,
|
|
643
444
|
errorCode,
|
|
644
445
|
});
|
|
645
446
|
}
|
|
@@ -650,12 +451,12 @@ export const de_CreateBatchSegmentJobCommand = async (output, context) => {
|
|
|
650
451
|
}
|
|
651
452
|
const data = await parseBody(output.body, context);
|
|
652
453
|
let contents = {};
|
|
653
|
-
contents =
|
|
454
|
+
contents = _json(data);
|
|
654
455
|
const response = {
|
|
655
456
|
$metadata: deserializeMetadata(output),
|
|
656
457
|
...contents,
|
|
657
458
|
};
|
|
658
|
-
return
|
|
459
|
+
return response;
|
|
659
460
|
};
|
|
660
461
|
const de_CreateBatchSegmentJobCommandError = async (output, context) => {
|
|
661
462
|
const parsedOutput = {
|
|
@@ -684,10 +485,9 @@ const de_CreateBatchSegmentJobCommandError = async (output, context) => {
|
|
|
684
485
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
685
486
|
default:
|
|
686
487
|
const parsedBody = parsedOutput.body;
|
|
687
|
-
throwDefaultError({
|
|
488
|
+
return throwDefaultError({
|
|
688
489
|
output,
|
|
689
490
|
parsedBody,
|
|
690
|
-
exceptionCtor: __BaseException,
|
|
691
491
|
errorCode,
|
|
692
492
|
});
|
|
693
493
|
}
|
|
@@ -698,12 +498,12 @@ export const de_CreateCampaignCommand = async (output, context) => {
|
|
|
698
498
|
}
|
|
699
499
|
const data = await parseBody(output.body, context);
|
|
700
500
|
let contents = {};
|
|
701
|
-
contents =
|
|
501
|
+
contents = _json(data);
|
|
702
502
|
const response = {
|
|
703
503
|
$metadata: deserializeMetadata(output),
|
|
704
504
|
...contents,
|
|
705
505
|
};
|
|
706
|
-
return
|
|
506
|
+
return response;
|
|
707
507
|
};
|
|
708
508
|
const de_CreateCampaignCommandError = async (output, context) => {
|
|
709
509
|
const parsedOutput = {
|
|
@@ -732,10 +532,9 @@ const de_CreateCampaignCommandError = async (output, context) => {
|
|
|
732
532
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
733
533
|
default:
|
|
734
534
|
const parsedBody = parsedOutput.body;
|
|
735
|
-
throwDefaultError({
|
|
535
|
+
return throwDefaultError({
|
|
736
536
|
output,
|
|
737
537
|
parsedBody,
|
|
738
|
-
exceptionCtor: __BaseException,
|
|
739
538
|
errorCode,
|
|
740
539
|
});
|
|
741
540
|
}
|
|
@@ -746,12 +545,12 @@ export const de_CreateDatasetCommand = async (output, context) => {
|
|
|
746
545
|
}
|
|
747
546
|
const data = await parseBody(output.body, context);
|
|
748
547
|
let contents = {};
|
|
749
|
-
contents =
|
|
548
|
+
contents = _json(data);
|
|
750
549
|
const response = {
|
|
751
550
|
$metadata: deserializeMetadata(output),
|
|
752
551
|
...contents,
|
|
753
552
|
};
|
|
754
|
-
return
|
|
553
|
+
return response;
|
|
755
554
|
};
|
|
756
555
|
const de_CreateDatasetCommandError = async (output, context) => {
|
|
757
556
|
const parsedOutput = {
|
|
@@ -780,10 +579,9 @@ const de_CreateDatasetCommandError = async (output, context) => {
|
|
|
780
579
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
781
580
|
default:
|
|
782
581
|
const parsedBody = parsedOutput.body;
|
|
783
|
-
throwDefaultError({
|
|
582
|
+
return throwDefaultError({
|
|
784
583
|
output,
|
|
785
584
|
parsedBody,
|
|
786
|
-
exceptionCtor: __BaseException,
|
|
787
585
|
errorCode,
|
|
788
586
|
});
|
|
789
587
|
}
|
|
@@ -794,12 +592,12 @@ export const de_CreateDatasetExportJobCommand = async (output, context) => {
|
|
|
794
592
|
}
|
|
795
593
|
const data = await parseBody(output.body, context);
|
|
796
594
|
let contents = {};
|
|
797
|
-
contents =
|
|
595
|
+
contents = _json(data);
|
|
798
596
|
const response = {
|
|
799
597
|
$metadata: deserializeMetadata(output),
|
|
800
598
|
...contents,
|
|
801
599
|
};
|
|
802
|
-
return
|
|
600
|
+
return response;
|
|
803
601
|
};
|
|
804
602
|
const de_CreateDatasetExportJobCommandError = async (output, context) => {
|
|
805
603
|
const parsedOutput = {
|
|
@@ -828,10 +626,9 @@ const de_CreateDatasetExportJobCommandError = async (output, context) => {
|
|
|
828
626
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
829
627
|
default:
|
|
830
628
|
const parsedBody = parsedOutput.body;
|
|
831
|
-
throwDefaultError({
|
|
629
|
+
return throwDefaultError({
|
|
832
630
|
output,
|
|
833
631
|
parsedBody,
|
|
834
|
-
exceptionCtor: __BaseException,
|
|
835
632
|
errorCode,
|
|
836
633
|
});
|
|
837
634
|
}
|
|
@@ -842,12 +639,12 @@ export const de_CreateDatasetGroupCommand = async (output, context) => {
|
|
|
842
639
|
}
|
|
843
640
|
const data = await parseBody(output.body, context);
|
|
844
641
|
let contents = {};
|
|
845
|
-
contents =
|
|
642
|
+
contents = _json(data);
|
|
846
643
|
const response = {
|
|
847
644
|
$metadata: deserializeMetadata(output),
|
|
848
645
|
...contents,
|
|
849
646
|
};
|
|
850
|
-
return
|
|
647
|
+
return response;
|
|
851
648
|
};
|
|
852
649
|
const de_CreateDatasetGroupCommandError = async (output, context) => {
|
|
853
650
|
const parsedOutput = {
|
|
@@ -870,10 +667,9 @@ const de_CreateDatasetGroupCommandError = async (output, context) => {
|
|
|
870
667
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
871
668
|
default:
|
|
872
669
|
const parsedBody = parsedOutput.body;
|
|
873
|
-
throwDefaultError({
|
|
670
|
+
return throwDefaultError({
|
|
874
671
|
output,
|
|
875
672
|
parsedBody,
|
|
876
|
-
exceptionCtor: __BaseException,
|
|
877
673
|
errorCode,
|
|
878
674
|
});
|
|
879
675
|
}
|
|
@@ -884,12 +680,12 @@ export const de_CreateDatasetImportJobCommand = async (output, context) => {
|
|
|
884
680
|
}
|
|
885
681
|
const data = await parseBody(output.body, context);
|
|
886
682
|
let contents = {};
|
|
887
|
-
contents =
|
|
683
|
+
contents = _json(data);
|
|
888
684
|
const response = {
|
|
889
685
|
$metadata: deserializeMetadata(output),
|
|
890
686
|
...contents,
|
|
891
687
|
};
|
|
892
|
-
return
|
|
688
|
+
return response;
|
|
893
689
|
};
|
|
894
690
|
const de_CreateDatasetImportJobCommandError = async (output, context) => {
|
|
895
691
|
const parsedOutput = {
|
|
@@ -918,10 +714,9 @@ const de_CreateDatasetImportJobCommandError = async (output, context) => {
|
|
|
918
714
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
919
715
|
default:
|
|
920
716
|
const parsedBody = parsedOutput.body;
|
|
921
|
-
throwDefaultError({
|
|
717
|
+
return throwDefaultError({
|
|
922
718
|
output,
|
|
923
719
|
parsedBody,
|
|
924
|
-
exceptionCtor: __BaseException,
|
|
925
720
|
errorCode,
|
|
926
721
|
});
|
|
927
722
|
}
|
|
@@ -932,12 +727,12 @@ export const de_CreateEventTrackerCommand = async (output, context) => {
|
|
|
932
727
|
}
|
|
933
728
|
const data = await parseBody(output.body, context);
|
|
934
729
|
let contents = {};
|
|
935
|
-
contents =
|
|
730
|
+
contents = _json(data);
|
|
936
731
|
const response = {
|
|
937
732
|
$metadata: deserializeMetadata(output),
|
|
938
733
|
...contents,
|
|
939
734
|
};
|
|
940
|
-
return
|
|
735
|
+
return response;
|
|
941
736
|
};
|
|
942
737
|
const de_CreateEventTrackerCommandError = async (output, context) => {
|
|
943
738
|
const parsedOutput = {
|
|
@@ -966,10 +761,9 @@ const de_CreateEventTrackerCommandError = async (output, context) => {
|
|
|
966
761
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
967
762
|
default:
|
|
968
763
|
const parsedBody = parsedOutput.body;
|
|
969
|
-
throwDefaultError({
|
|
764
|
+
return throwDefaultError({
|
|
970
765
|
output,
|
|
971
766
|
parsedBody,
|
|
972
|
-
exceptionCtor: __BaseException,
|
|
973
767
|
errorCode,
|
|
974
768
|
});
|
|
975
769
|
}
|
|
@@ -980,12 +774,12 @@ export const de_CreateFilterCommand = async (output, context) => {
|
|
|
980
774
|
}
|
|
981
775
|
const data = await parseBody(output.body, context);
|
|
982
776
|
let contents = {};
|
|
983
|
-
contents =
|
|
777
|
+
contents = _json(data);
|
|
984
778
|
const response = {
|
|
985
779
|
$metadata: deserializeMetadata(output),
|
|
986
780
|
...contents,
|
|
987
781
|
};
|
|
988
|
-
return
|
|
782
|
+
return response;
|
|
989
783
|
};
|
|
990
784
|
const de_CreateFilterCommandError = async (output, context) => {
|
|
991
785
|
const parsedOutput = {
|
|
@@ -1011,10 +805,9 @@ const de_CreateFilterCommandError = async (output, context) => {
|
|
|
1011
805
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1012
806
|
default:
|
|
1013
807
|
const parsedBody = parsedOutput.body;
|
|
1014
|
-
throwDefaultError({
|
|
808
|
+
return throwDefaultError({
|
|
1015
809
|
output,
|
|
1016
810
|
parsedBody,
|
|
1017
|
-
exceptionCtor: __BaseException,
|
|
1018
811
|
errorCode,
|
|
1019
812
|
});
|
|
1020
813
|
}
|
|
@@ -1025,12 +818,12 @@ export const de_CreateMetricAttributionCommand = async (output, context) => {
|
|
|
1025
818
|
}
|
|
1026
819
|
const data = await parseBody(output.body, context);
|
|
1027
820
|
let contents = {};
|
|
1028
|
-
contents =
|
|
821
|
+
contents = _json(data);
|
|
1029
822
|
const response = {
|
|
1030
823
|
$metadata: deserializeMetadata(output),
|
|
1031
824
|
...contents,
|
|
1032
825
|
};
|
|
1033
|
-
return
|
|
826
|
+
return response;
|
|
1034
827
|
};
|
|
1035
828
|
const de_CreateMetricAttributionCommandError = async (output, context) => {
|
|
1036
829
|
const parsedOutput = {
|
|
@@ -1056,10 +849,9 @@ const de_CreateMetricAttributionCommandError = async (output, context) => {
|
|
|
1056
849
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1057
850
|
default:
|
|
1058
851
|
const parsedBody = parsedOutput.body;
|
|
1059
|
-
throwDefaultError({
|
|
852
|
+
return throwDefaultError({
|
|
1060
853
|
output,
|
|
1061
854
|
parsedBody,
|
|
1062
|
-
exceptionCtor: __BaseException,
|
|
1063
855
|
errorCode,
|
|
1064
856
|
});
|
|
1065
857
|
}
|
|
@@ -1070,12 +862,12 @@ export const de_CreateRecommenderCommand = async (output, context) => {
|
|
|
1070
862
|
}
|
|
1071
863
|
const data = await parseBody(output.body, context);
|
|
1072
864
|
let contents = {};
|
|
1073
|
-
contents =
|
|
865
|
+
contents = _json(data);
|
|
1074
866
|
const response = {
|
|
1075
867
|
$metadata: deserializeMetadata(output),
|
|
1076
868
|
...contents,
|
|
1077
869
|
};
|
|
1078
|
-
return
|
|
870
|
+
return response;
|
|
1079
871
|
};
|
|
1080
872
|
const de_CreateRecommenderCommandError = async (output, context) => {
|
|
1081
873
|
const parsedOutput = {
|
|
@@ -1104,10 +896,9 @@ const de_CreateRecommenderCommandError = async (output, context) => {
|
|
|
1104
896
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1105
897
|
default:
|
|
1106
898
|
const parsedBody = parsedOutput.body;
|
|
1107
|
-
throwDefaultError({
|
|
899
|
+
return throwDefaultError({
|
|
1108
900
|
output,
|
|
1109
901
|
parsedBody,
|
|
1110
|
-
exceptionCtor: __BaseException,
|
|
1111
902
|
errorCode,
|
|
1112
903
|
});
|
|
1113
904
|
}
|
|
@@ -1118,12 +909,12 @@ export const de_CreateSchemaCommand = async (output, context) => {
|
|
|
1118
909
|
}
|
|
1119
910
|
const data = await parseBody(output.body, context);
|
|
1120
911
|
let contents = {};
|
|
1121
|
-
contents =
|
|
912
|
+
contents = _json(data);
|
|
1122
913
|
const response = {
|
|
1123
914
|
$metadata: deserializeMetadata(output),
|
|
1124
915
|
...contents,
|
|
1125
916
|
};
|
|
1126
|
-
return
|
|
917
|
+
return response;
|
|
1127
918
|
};
|
|
1128
919
|
const de_CreateSchemaCommandError = async (output, context) => {
|
|
1129
920
|
const parsedOutput = {
|
|
@@ -1143,10 +934,9 @@ const de_CreateSchemaCommandError = async (output, context) => {
|
|
|
1143
934
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1144
935
|
default:
|
|
1145
936
|
const parsedBody = parsedOutput.body;
|
|
1146
|
-
throwDefaultError({
|
|
937
|
+
return throwDefaultError({
|
|
1147
938
|
output,
|
|
1148
939
|
parsedBody,
|
|
1149
|
-
exceptionCtor: __BaseException,
|
|
1150
940
|
errorCode,
|
|
1151
941
|
});
|
|
1152
942
|
}
|
|
@@ -1157,12 +947,12 @@ export const de_CreateSolutionCommand = async (output, context) => {
|
|
|
1157
947
|
}
|
|
1158
948
|
const data = await parseBody(output.body, context);
|
|
1159
949
|
let contents = {};
|
|
1160
|
-
contents =
|
|
950
|
+
contents = _json(data);
|
|
1161
951
|
const response = {
|
|
1162
952
|
$metadata: deserializeMetadata(output),
|
|
1163
953
|
...contents,
|
|
1164
954
|
};
|
|
1165
|
-
return
|
|
955
|
+
return response;
|
|
1166
956
|
};
|
|
1167
957
|
const de_CreateSolutionCommandError = async (output, context) => {
|
|
1168
958
|
const parsedOutput = {
|
|
@@ -1191,10 +981,9 @@ const de_CreateSolutionCommandError = async (output, context) => {
|
|
|
1191
981
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1192
982
|
default:
|
|
1193
983
|
const parsedBody = parsedOutput.body;
|
|
1194
|
-
throwDefaultError({
|
|
984
|
+
return throwDefaultError({
|
|
1195
985
|
output,
|
|
1196
986
|
parsedBody,
|
|
1197
|
-
exceptionCtor: __BaseException,
|
|
1198
987
|
errorCode,
|
|
1199
988
|
});
|
|
1200
989
|
}
|
|
@@ -1205,12 +994,12 @@ export const de_CreateSolutionVersionCommand = async (output, context) => {
|
|
|
1205
994
|
}
|
|
1206
995
|
const data = await parseBody(output.body, context);
|
|
1207
996
|
let contents = {};
|
|
1208
|
-
contents =
|
|
997
|
+
contents = _json(data);
|
|
1209
998
|
const response = {
|
|
1210
999
|
$metadata: deserializeMetadata(output),
|
|
1211
1000
|
...contents,
|
|
1212
1001
|
};
|
|
1213
|
-
return
|
|
1002
|
+
return response;
|
|
1214
1003
|
};
|
|
1215
1004
|
const de_CreateSolutionVersionCommandError = async (output, context) => {
|
|
1216
1005
|
const parsedOutput = {
|
|
@@ -1239,10 +1028,9 @@ const de_CreateSolutionVersionCommandError = async (output, context) => {
|
|
|
1239
1028
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1240
1029
|
default:
|
|
1241
1030
|
const parsedBody = parsedOutput.body;
|
|
1242
|
-
throwDefaultError({
|
|
1031
|
+
return throwDefaultError({
|
|
1243
1032
|
output,
|
|
1244
1033
|
parsedBody,
|
|
1245
|
-
exceptionCtor: __BaseException,
|
|
1246
1034
|
errorCode,
|
|
1247
1035
|
});
|
|
1248
1036
|
}
|
|
@@ -1255,7 +1043,7 @@ export const de_DeleteCampaignCommand = async (output, context) => {
|
|
|
1255
1043
|
const response = {
|
|
1256
1044
|
$metadata: deserializeMetadata(output),
|
|
1257
1045
|
};
|
|
1258
|
-
return
|
|
1046
|
+
return response;
|
|
1259
1047
|
};
|
|
1260
1048
|
const de_DeleteCampaignCommandError = async (output, context) => {
|
|
1261
1049
|
const parsedOutput = {
|
|
@@ -1275,10 +1063,9 @@ const de_DeleteCampaignCommandError = async (output, context) => {
|
|
|
1275
1063
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1276
1064
|
default:
|
|
1277
1065
|
const parsedBody = parsedOutput.body;
|
|
1278
|
-
throwDefaultError({
|
|
1066
|
+
return throwDefaultError({
|
|
1279
1067
|
output,
|
|
1280
1068
|
parsedBody,
|
|
1281
|
-
exceptionCtor: __BaseException,
|
|
1282
1069
|
errorCode,
|
|
1283
1070
|
});
|
|
1284
1071
|
}
|
|
@@ -1291,7 +1078,7 @@ export const de_DeleteDatasetCommand = async (output, context) => {
|
|
|
1291
1078
|
const response = {
|
|
1292
1079
|
$metadata: deserializeMetadata(output),
|
|
1293
1080
|
};
|
|
1294
|
-
return
|
|
1081
|
+
return response;
|
|
1295
1082
|
};
|
|
1296
1083
|
const de_DeleteDatasetCommandError = async (output, context) => {
|
|
1297
1084
|
const parsedOutput = {
|
|
@@ -1311,10 +1098,9 @@ const de_DeleteDatasetCommandError = async (output, context) => {
|
|
|
1311
1098
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1312
1099
|
default:
|
|
1313
1100
|
const parsedBody = parsedOutput.body;
|
|
1314
|
-
throwDefaultError({
|
|
1101
|
+
return throwDefaultError({
|
|
1315
1102
|
output,
|
|
1316
1103
|
parsedBody,
|
|
1317
|
-
exceptionCtor: __BaseException,
|
|
1318
1104
|
errorCode,
|
|
1319
1105
|
});
|
|
1320
1106
|
}
|
|
@@ -1327,7 +1113,7 @@ export const de_DeleteDatasetGroupCommand = async (output, context) => {
|
|
|
1327
1113
|
const response = {
|
|
1328
1114
|
$metadata: deserializeMetadata(output),
|
|
1329
1115
|
};
|
|
1330
|
-
return
|
|
1116
|
+
return response;
|
|
1331
1117
|
};
|
|
1332
1118
|
const de_DeleteDatasetGroupCommandError = async (output, context) => {
|
|
1333
1119
|
const parsedOutput = {
|
|
@@ -1347,10 +1133,9 @@ const de_DeleteDatasetGroupCommandError = async (output, context) => {
|
|
|
1347
1133
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1348
1134
|
default:
|
|
1349
1135
|
const parsedBody = parsedOutput.body;
|
|
1350
|
-
throwDefaultError({
|
|
1136
|
+
return throwDefaultError({
|
|
1351
1137
|
output,
|
|
1352
1138
|
parsedBody,
|
|
1353
|
-
exceptionCtor: __BaseException,
|
|
1354
1139
|
errorCode,
|
|
1355
1140
|
});
|
|
1356
1141
|
}
|
|
@@ -1363,7 +1148,7 @@ export const de_DeleteEventTrackerCommand = async (output, context) => {
|
|
|
1363
1148
|
const response = {
|
|
1364
1149
|
$metadata: deserializeMetadata(output),
|
|
1365
1150
|
};
|
|
1366
|
-
return
|
|
1151
|
+
return response;
|
|
1367
1152
|
};
|
|
1368
1153
|
const de_DeleteEventTrackerCommandError = async (output, context) => {
|
|
1369
1154
|
const parsedOutput = {
|
|
@@ -1383,10 +1168,9 @@ const de_DeleteEventTrackerCommandError = async (output, context) => {
|
|
|
1383
1168
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1384
1169
|
default:
|
|
1385
1170
|
const parsedBody = parsedOutput.body;
|
|
1386
|
-
throwDefaultError({
|
|
1171
|
+
return throwDefaultError({
|
|
1387
1172
|
output,
|
|
1388
1173
|
parsedBody,
|
|
1389
|
-
exceptionCtor: __BaseException,
|
|
1390
1174
|
errorCode,
|
|
1391
1175
|
});
|
|
1392
1176
|
}
|
|
@@ -1399,7 +1183,7 @@ export const de_DeleteFilterCommand = async (output, context) => {
|
|
|
1399
1183
|
const response = {
|
|
1400
1184
|
$metadata: deserializeMetadata(output),
|
|
1401
1185
|
};
|
|
1402
|
-
return
|
|
1186
|
+
return response;
|
|
1403
1187
|
};
|
|
1404
1188
|
const de_DeleteFilterCommandError = async (output, context) => {
|
|
1405
1189
|
const parsedOutput = {
|
|
@@ -1419,10 +1203,9 @@ const de_DeleteFilterCommandError = async (output, context) => {
|
|
|
1419
1203
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1420
1204
|
default:
|
|
1421
1205
|
const parsedBody = parsedOutput.body;
|
|
1422
|
-
throwDefaultError({
|
|
1206
|
+
return throwDefaultError({
|
|
1423
1207
|
output,
|
|
1424
1208
|
parsedBody,
|
|
1425
|
-
exceptionCtor: __BaseException,
|
|
1426
1209
|
errorCode,
|
|
1427
1210
|
});
|
|
1428
1211
|
}
|
|
@@ -1435,7 +1218,7 @@ export const de_DeleteMetricAttributionCommand = async (output, context) => {
|
|
|
1435
1218
|
const response = {
|
|
1436
1219
|
$metadata: deserializeMetadata(output),
|
|
1437
1220
|
};
|
|
1438
|
-
return
|
|
1221
|
+
return response;
|
|
1439
1222
|
};
|
|
1440
1223
|
const de_DeleteMetricAttributionCommandError = async (output, context) => {
|
|
1441
1224
|
const parsedOutput = {
|
|
@@ -1455,10 +1238,9 @@ const de_DeleteMetricAttributionCommandError = async (output, context) => {
|
|
|
1455
1238
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1456
1239
|
default:
|
|
1457
1240
|
const parsedBody = parsedOutput.body;
|
|
1458
|
-
throwDefaultError({
|
|
1241
|
+
return throwDefaultError({
|
|
1459
1242
|
output,
|
|
1460
1243
|
parsedBody,
|
|
1461
|
-
exceptionCtor: __BaseException,
|
|
1462
1244
|
errorCode,
|
|
1463
1245
|
});
|
|
1464
1246
|
}
|
|
@@ -1471,7 +1253,7 @@ export const de_DeleteRecommenderCommand = async (output, context) => {
|
|
|
1471
1253
|
const response = {
|
|
1472
1254
|
$metadata: deserializeMetadata(output),
|
|
1473
1255
|
};
|
|
1474
|
-
return
|
|
1256
|
+
return response;
|
|
1475
1257
|
};
|
|
1476
1258
|
const de_DeleteRecommenderCommandError = async (output, context) => {
|
|
1477
1259
|
const parsedOutput = {
|
|
@@ -1491,10 +1273,9 @@ const de_DeleteRecommenderCommandError = async (output, context) => {
|
|
|
1491
1273
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1492
1274
|
default:
|
|
1493
1275
|
const parsedBody = parsedOutput.body;
|
|
1494
|
-
throwDefaultError({
|
|
1276
|
+
return throwDefaultError({
|
|
1495
1277
|
output,
|
|
1496
1278
|
parsedBody,
|
|
1497
|
-
exceptionCtor: __BaseException,
|
|
1498
1279
|
errorCode,
|
|
1499
1280
|
});
|
|
1500
1281
|
}
|
|
@@ -1507,7 +1288,7 @@ export const de_DeleteSchemaCommand = async (output, context) => {
|
|
|
1507
1288
|
const response = {
|
|
1508
1289
|
$metadata: deserializeMetadata(output),
|
|
1509
1290
|
};
|
|
1510
|
-
return
|
|
1291
|
+
return response;
|
|
1511
1292
|
};
|
|
1512
1293
|
const de_DeleteSchemaCommandError = async (output, context) => {
|
|
1513
1294
|
const parsedOutput = {
|
|
@@ -1527,10 +1308,9 @@ const de_DeleteSchemaCommandError = async (output, context) => {
|
|
|
1527
1308
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1528
1309
|
default:
|
|
1529
1310
|
const parsedBody = parsedOutput.body;
|
|
1530
|
-
throwDefaultError({
|
|
1311
|
+
return throwDefaultError({
|
|
1531
1312
|
output,
|
|
1532
1313
|
parsedBody,
|
|
1533
|
-
exceptionCtor: __BaseException,
|
|
1534
1314
|
errorCode,
|
|
1535
1315
|
});
|
|
1536
1316
|
}
|
|
@@ -1543,7 +1323,7 @@ export const de_DeleteSolutionCommand = async (output, context) => {
|
|
|
1543
1323
|
const response = {
|
|
1544
1324
|
$metadata: deserializeMetadata(output),
|
|
1545
1325
|
};
|
|
1546
|
-
return
|
|
1326
|
+
return response;
|
|
1547
1327
|
};
|
|
1548
1328
|
const de_DeleteSolutionCommandError = async (output, context) => {
|
|
1549
1329
|
const parsedOutput = {
|
|
@@ -1563,10 +1343,9 @@ const de_DeleteSolutionCommandError = async (output, context) => {
|
|
|
1563
1343
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1564
1344
|
default:
|
|
1565
1345
|
const parsedBody = parsedOutput.body;
|
|
1566
|
-
throwDefaultError({
|
|
1346
|
+
return throwDefaultError({
|
|
1567
1347
|
output,
|
|
1568
1348
|
parsedBody,
|
|
1569
|
-
exceptionCtor: __BaseException,
|
|
1570
1349
|
errorCode,
|
|
1571
1350
|
});
|
|
1572
1351
|
}
|
|
@@ -1582,7 +1361,7 @@ export const de_DescribeAlgorithmCommand = async (output, context) => {
|
|
|
1582
1361
|
$metadata: deserializeMetadata(output),
|
|
1583
1362
|
...contents,
|
|
1584
1363
|
};
|
|
1585
|
-
return
|
|
1364
|
+
return response;
|
|
1586
1365
|
};
|
|
1587
1366
|
const de_DescribeAlgorithmCommandError = async (output, context) => {
|
|
1588
1367
|
const parsedOutput = {
|
|
@@ -1599,10 +1378,9 @@ const de_DescribeAlgorithmCommandError = async (output, context) => {
|
|
|
1599
1378
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1600
1379
|
default:
|
|
1601
1380
|
const parsedBody = parsedOutput.body;
|
|
1602
|
-
throwDefaultError({
|
|
1381
|
+
return throwDefaultError({
|
|
1603
1382
|
output,
|
|
1604
1383
|
parsedBody,
|
|
1605
|
-
exceptionCtor: __BaseException,
|
|
1606
1384
|
errorCode,
|
|
1607
1385
|
});
|
|
1608
1386
|
}
|
|
@@ -1618,7 +1396,7 @@ export const de_DescribeBatchInferenceJobCommand = async (output, context) => {
|
|
|
1618
1396
|
$metadata: deserializeMetadata(output),
|
|
1619
1397
|
...contents,
|
|
1620
1398
|
};
|
|
1621
|
-
return
|
|
1399
|
+
return response;
|
|
1622
1400
|
};
|
|
1623
1401
|
const de_DescribeBatchInferenceJobCommandError = async (output, context) => {
|
|
1624
1402
|
const parsedOutput = {
|
|
@@ -1635,10 +1413,9 @@ const de_DescribeBatchInferenceJobCommandError = async (output, context) => {
|
|
|
1635
1413
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1636
1414
|
default:
|
|
1637
1415
|
const parsedBody = parsedOutput.body;
|
|
1638
|
-
throwDefaultError({
|
|
1416
|
+
return throwDefaultError({
|
|
1639
1417
|
output,
|
|
1640
1418
|
parsedBody,
|
|
1641
|
-
exceptionCtor: __BaseException,
|
|
1642
1419
|
errorCode,
|
|
1643
1420
|
});
|
|
1644
1421
|
}
|
|
@@ -1654,7 +1431,7 @@ export const de_DescribeBatchSegmentJobCommand = async (output, context) => {
|
|
|
1654
1431
|
$metadata: deserializeMetadata(output),
|
|
1655
1432
|
...contents,
|
|
1656
1433
|
};
|
|
1657
|
-
return
|
|
1434
|
+
return response;
|
|
1658
1435
|
};
|
|
1659
1436
|
const de_DescribeBatchSegmentJobCommandError = async (output, context) => {
|
|
1660
1437
|
const parsedOutput = {
|
|
@@ -1671,10 +1448,9 @@ const de_DescribeBatchSegmentJobCommandError = async (output, context) => {
|
|
|
1671
1448
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1672
1449
|
default:
|
|
1673
1450
|
const parsedBody = parsedOutput.body;
|
|
1674
|
-
throwDefaultError({
|
|
1451
|
+
return throwDefaultError({
|
|
1675
1452
|
output,
|
|
1676
1453
|
parsedBody,
|
|
1677
|
-
exceptionCtor: __BaseException,
|
|
1678
1454
|
errorCode,
|
|
1679
1455
|
});
|
|
1680
1456
|
}
|
|
@@ -1690,7 +1466,7 @@ export const de_DescribeCampaignCommand = async (output, context) => {
|
|
|
1690
1466
|
$metadata: deserializeMetadata(output),
|
|
1691
1467
|
...contents,
|
|
1692
1468
|
};
|
|
1693
|
-
return
|
|
1469
|
+
return response;
|
|
1694
1470
|
};
|
|
1695
1471
|
const de_DescribeCampaignCommandError = async (output, context) => {
|
|
1696
1472
|
const parsedOutput = {
|
|
@@ -1707,10 +1483,9 @@ const de_DescribeCampaignCommandError = async (output, context) => {
|
|
|
1707
1483
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1708
1484
|
default:
|
|
1709
1485
|
const parsedBody = parsedOutput.body;
|
|
1710
|
-
throwDefaultError({
|
|
1486
|
+
return throwDefaultError({
|
|
1711
1487
|
output,
|
|
1712
1488
|
parsedBody,
|
|
1713
|
-
exceptionCtor: __BaseException,
|
|
1714
1489
|
errorCode,
|
|
1715
1490
|
});
|
|
1716
1491
|
}
|
|
@@ -1726,7 +1501,7 @@ export const de_DescribeDatasetCommand = async (output, context) => {
|
|
|
1726
1501
|
$metadata: deserializeMetadata(output),
|
|
1727
1502
|
...contents,
|
|
1728
1503
|
};
|
|
1729
|
-
return
|
|
1504
|
+
return response;
|
|
1730
1505
|
};
|
|
1731
1506
|
const de_DescribeDatasetCommandError = async (output, context) => {
|
|
1732
1507
|
const parsedOutput = {
|
|
@@ -1743,10 +1518,9 @@ const de_DescribeDatasetCommandError = async (output, context) => {
|
|
|
1743
1518
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1744
1519
|
default:
|
|
1745
1520
|
const parsedBody = parsedOutput.body;
|
|
1746
|
-
throwDefaultError({
|
|
1521
|
+
return throwDefaultError({
|
|
1747
1522
|
output,
|
|
1748
1523
|
parsedBody,
|
|
1749
|
-
exceptionCtor: __BaseException,
|
|
1750
1524
|
errorCode,
|
|
1751
1525
|
});
|
|
1752
1526
|
}
|
|
@@ -1762,7 +1536,7 @@ export const de_DescribeDatasetExportJobCommand = async (output, context) => {
|
|
|
1762
1536
|
$metadata: deserializeMetadata(output),
|
|
1763
1537
|
...contents,
|
|
1764
1538
|
};
|
|
1765
|
-
return
|
|
1539
|
+
return response;
|
|
1766
1540
|
};
|
|
1767
1541
|
const de_DescribeDatasetExportJobCommandError = async (output, context) => {
|
|
1768
1542
|
const parsedOutput = {
|
|
@@ -1779,10 +1553,9 @@ const de_DescribeDatasetExportJobCommandError = async (output, context) => {
|
|
|
1779
1553
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1780
1554
|
default:
|
|
1781
1555
|
const parsedBody = parsedOutput.body;
|
|
1782
|
-
throwDefaultError({
|
|
1556
|
+
return throwDefaultError({
|
|
1783
1557
|
output,
|
|
1784
1558
|
parsedBody,
|
|
1785
|
-
exceptionCtor: __BaseException,
|
|
1786
1559
|
errorCode,
|
|
1787
1560
|
});
|
|
1788
1561
|
}
|
|
@@ -1798,7 +1571,7 @@ export const de_DescribeDatasetGroupCommand = async (output, context) => {
|
|
|
1798
1571
|
$metadata: deserializeMetadata(output),
|
|
1799
1572
|
...contents,
|
|
1800
1573
|
};
|
|
1801
|
-
return
|
|
1574
|
+
return response;
|
|
1802
1575
|
};
|
|
1803
1576
|
const de_DescribeDatasetGroupCommandError = async (output, context) => {
|
|
1804
1577
|
const parsedOutput = {
|
|
@@ -1815,10 +1588,9 @@ const de_DescribeDatasetGroupCommandError = async (output, context) => {
|
|
|
1815
1588
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1816
1589
|
default:
|
|
1817
1590
|
const parsedBody = parsedOutput.body;
|
|
1818
|
-
throwDefaultError({
|
|
1591
|
+
return throwDefaultError({
|
|
1819
1592
|
output,
|
|
1820
1593
|
parsedBody,
|
|
1821
|
-
exceptionCtor: __BaseException,
|
|
1822
1594
|
errorCode,
|
|
1823
1595
|
});
|
|
1824
1596
|
}
|
|
@@ -1834,7 +1606,7 @@ export const de_DescribeDatasetImportJobCommand = async (output, context) => {
|
|
|
1834
1606
|
$metadata: deserializeMetadata(output),
|
|
1835
1607
|
...contents,
|
|
1836
1608
|
};
|
|
1837
|
-
return
|
|
1609
|
+
return response;
|
|
1838
1610
|
};
|
|
1839
1611
|
const de_DescribeDatasetImportJobCommandError = async (output, context) => {
|
|
1840
1612
|
const parsedOutput = {
|
|
@@ -1851,10 +1623,9 @@ const de_DescribeDatasetImportJobCommandError = async (output, context) => {
|
|
|
1851
1623
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1852
1624
|
default:
|
|
1853
1625
|
const parsedBody = parsedOutput.body;
|
|
1854
|
-
throwDefaultError({
|
|
1626
|
+
return throwDefaultError({
|
|
1855
1627
|
output,
|
|
1856
1628
|
parsedBody,
|
|
1857
|
-
exceptionCtor: __BaseException,
|
|
1858
1629
|
errorCode,
|
|
1859
1630
|
});
|
|
1860
1631
|
}
|
|
@@ -1870,7 +1641,7 @@ export const de_DescribeEventTrackerCommand = async (output, context) => {
|
|
|
1870
1641
|
$metadata: deserializeMetadata(output),
|
|
1871
1642
|
...contents,
|
|
1872
1643
|
};
|
|
1873
|
-
return
|
|
1644
|
+
return response;
|
|
1874
1645
|
};
|
|
1875
1646
|
const de_DescribeEventTrackerCommandError = async (output, context) => {
|
|
1876
1647
|
const parsedOutput = {
|
|
@@ -1887,10 +1658,9 @@ const de_DescribeEventTrackerCommandError = async (output, context) => {
|
|
|
1887
1658
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1888
1659
|
default:
|
|
1889
1660
|
const parsedBody = parsedOutput.body;
|
|
1890
|
-
throwDefaultError({
|
|
1661
|
+
return throwDefaultError({
|
|
1891
1662
|
output,
|
|
1892
1663
|
parsedBody,
|
|
1893
|
-
exceptionCtor: __BaseException,
|
|
1894
1664
|
errorCode,
|
|
1895
1665
|
});
|
|
1896
1666
|
}
|
|
@@ -1906,7 +1676,7 @@ export const de_DescribeFeatureTransformationCommand = async (output, context) =
|
|
|
1906
1676
|
$metadata: deserializeMetadata(output),
|
|
1907
1677
|
...contents,
|
|
1908
1678
|
};
|
|
1909
|
-
return
|
|
1679
|
+
return response;
|
|
1910
1680
|
};
|
|
1911
1681
|
const de_DescribeFeatureTransformationCommandError = async (output, context) => {
|
|
1912
1682
|
const parsedOutput = {
|
|
@@ -1923,10 +1693,9 @@ const de_DescribeFeatureTransformationCommandError = async (output, context) =>
|
|
|
1923
1693
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1924
1694
|
default:
|
|
1925
1695
|
const parsedBody = parsedOutput.body;
|
|
1926
|
-
throwDefaultError({
|
|
1696
|
+
return throwDefaultError({
|
|
1927
1697
|
output,
|
|
1928
1698
|
parsedBody,
|
|
1929
|
-
exceptionCtor: __BaseException,
|
|
1930
1699
|
errorCode,
|
|
1931
1700
|
});
|
|
1932
1701
|
}
|
|
@@ -1942,7 +1711,7 @@ export const de_DescribeFilterCommand = async (output, context) => {
|
|
|
1942
1711
|
$metadata: deserializeMetadata(output),
|
|
1943
1712
|
...contents,
|
|
1944
1713
|
};
|
|
1945
|
-
return
|
|
1714
|
+
return response;
|
|
1946
1715
|
};
|
|
1947
1716
|
const de_DescribeFilterCommandError = async (output, context) => {
|
|
1948
1717
|
const parsedOutput = {
|
|
@@ -1959,10 +1728,9 @@ const de_DescribeFilterCommandError = async (output, context) => {
|
|
|
1959
1728
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1960
1729
|
default:
|
|
1961
1730
|
const parsedBody = parsedOutput.body;
|
|
1962
|
-
throwDefaultError({
|
|
1731
|
+
return throwDefaultError({
|
|
1963
1732
|
output,
|
|
1964
1733
|
parsedBody,
|
|
1965
|
-
exceptionCtor: __BaseException,
|
|
1966
1734
|
errorCode,
|
|
1967
1735
|
});
|
|
1968
1736
|
}
|
|
@@ -1978,7 +1746,7 @@ export const de_DescribeMetricAttributionCommand = async (output, context) => {
|
|
|
1978
1746
|
$metadata: deserializeMetadata(output),
|
|
1979
1747
|
...contents,
|
|
1980
1748
|
};
|
|
1981
|
-
return
|
|
1749
|
+
return response;
|
|
1982
1750
|
};
|
|
1983
1751
|
const de_DescribeMetricAttributionCommandError = async (output, context) => {
|
|
1984
1752
|
const parsedOutput = {
|
|
@@ -1995,10 +1763,9 @@ const de_DescribeMetricAttributionCommandError = async (output, context) => {
|
|
|
1995
1763
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1996
1764
|
default:
|
|
1997
1765
|
const parsedBody = parsedOutput.body;
|
|
1998
|
-
throwDefaultError({
|
|
1766
|
+
return throwDefaultError({
|
|
1999
1767
|
output,
|
|
2000
1768
|
parsedBody,
|
|
2001
|
-
exceptionCtor: __BaseException,
|
|
2002
1769
|
errorCode,
|
|
2003
1770
|
});
|
|
2004
1771
|
}
|
|
@@ -2014,7 +1781,7 @@ export const de_DescribeRecipeCommand = async (output, context) => {
|
|
|
2014
1781
|
$metadata: deserializeMetadata(output),
|
|
2015
1782
|
...contents,
|
|
2016
1783
|
};
|
|
2017
|
-
return
|
|
1784
|
+
return response;
|
|
2018
1785
|
};
|
|
2019
1786
|
const de_DescribeRecipeCommandError = async (output, context) => {
|
|
2020
1787
|
const parsedOutput = {
|
|
@@ -2031,10 +1798,9 @@ const de_DescribeRecipeCommandError = async (output, context) => {
|
|
|
2031
1798
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2032
1799
|
default:
|
|
2033
1800
|
const parsedBody = parsedOutput.body;
|
|
2034
|
-
throwDefaultError({
|
|
1801
|
+
return throwDefaultError({
|
|
2035
1802
|
output,
|
|
2036
1803
|
parsedBody,
|
|
2037
|
-
exceptionCtor: __BaseException,
|
|
2038
1804
|
errorCode,
|
|
2039
1805
|
});
|
|
2040
1806
|
}
|
|
@@ -2050,7 +1816,7 @@ export const de_DescribeRecommenderCommand = async (output, context) => {
|
|
|
2050
1816
|
$metadata: deserializeMetadata(output),
|
|
2051
1817
|
...contents,
|
|
2052
1818
|
};
|
|
2053
|
-
return
|
|
1819
|
+
return response;
|
|
2054
1820
|
};
|
|
2055
1821
|
const de_DescribeRecommenderCommandError = async (output, context) => {
|
|
2056
1822
|
const parsedOutput = {
|
|
@@ -2067,10 +1833,9 @@ const de_DescribeRecommenderCommandError = async (output, context) => {
|
|
|
2067
1833
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2068
1834
|
default:
|
|
2069
1835
|
const parsedBody = parsedOutput.body;
|
|
2070
|
-
throwDefaultError({
|
|
1836
|
+
return throwDefaultError({
|
|
2071
1837
|
output,
|
|
2072
1838
|
parsedBody,
|
|
2073
|
-
exceptionCtor: __BaseException,
|
|
2074
1839
|
errorCode,
|
|
2075
1840
|
});
|
|
2076
1841
|
}
|
|
@@ -2086,7 +1851,7 @@ export const de_DescribeSchemaCommand = async (output, context) => {
|
|
|
2086
1851
|
$metadata: deserializeMetadata(output),
|
|
2087
1852
|
...contents,
|
|
2088
1853
|
};
|
|
2089
|
-
return
|
|
1854
|
+
return response;
|
|
2090
1855
|
};
|
|
2091
1856
|
const de_DescribeSchemaCommandError = async (output, context) => {
|
|
2092
1857
|
const parsedOutput = {
|
|
@@ -2103,10 +1868,9 @@ const de_DescribeSchemaCommandError = async (output, context) => {
|
|
|
2103
1868
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2104
1869
|
default:
|
|
2105
1870
|
const parsedBody = parsedOutput.body;
|
|
2106
|
-
throwDefaultError({
|
|
1871
|
+
return throwDefaultError({
|
|
2107
1872
|
output,
|
|
2108
1873
|
parsedBody,
|
|
2109
|
-
exceptionCtor: __BaseException,
|
|
2110
1874
|
errorCode,
|
|
2111
1875
|
});
|
|
2112
1876
|
}
|
|
@@ -2122,7 +1886,7 @@ export const de_DescribeSolutionCommand = async (output, context) => {
|
|
|
2122
1886
|
$metadata: deserializeMetadata(output),
|
|
2123
1887
|
...contents,
|
|
2124
1888
|
};
|
|
2125
|
-
return
|
|
1889
|
+
return response;
|
|
2126
1890
|
};
|
|
2127
1891
|
const de_DescribeSolutionCommandError = async (output, context) => {
|
|
2128
1892
|
const parsedOutput = {
|
|
@@ -2139,10 +1903,9 @@ const de_DescribeSolutionCommandError = async (output, context) => {
|
|
|
2139
1903
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2140
1904
|
default:
|
|
2141
1905
|
const parsedBody = parsedOutput.body;
|
|
2142
|
-
throwDefaultError({
|
|
1906
|
+
return throwDefaultError({
|
|
2143
1907
|
output,
|
|
2144
1908
|
parsedBody,
|
|
2145
|
-
exceptionCtor: __BaseException,
|
|
2146
1909
|
errorCode,
|
|
2147
1910
|
});
|
|
2148
1911
|
}
|
|
@@ -2158,7 +1921,7 @@ export const de_DescribeSolutionVersionCommand = async (output, context) => {
|
|
|
2158
1921
|
$metadata: deserializeMetadata(output),
|
|
2159
1922
|
...contents,
|
|
2160
1923
|
};
|
|
2161
|
-
return
|
|
1924
|
+
return response;
|
|
2162
1925
|
};
|
|
2163
1926
|
const de_DescribeSolutionVersionCommandError = async (output, context) => {
|
|
2164
1927
|
const parsedOutput = {
|
|
@@ -2175,10 +1938,9 @@ const de_DescribeSolutionVersionCommandError = async (output, context) => {
|
|
|
2175
1938
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2176
1939
|
default:
|
|
2177
1940
|
const parsedBody = parsedOutput.body;
|
|
2178
|
-
throwDefaultError({
|
|
1941
|
+
return throwDefaultError({
|
|
2179
1942
|
output,
|
|
2180
1943
|
parsedBody,
|
|
2181
|
-
exceptionCtor: __BaseException,
|
|
2182
1944
|
errorCode,
|
|
2183
1945
|
});
|
|
2184
1946
|
}
|
|
@@ -2194,7 +1956,7 @@ export const de_GetSolutionMetricsCommand = async (output, context) => {
|
|
|
2194
1956
|
$metadata: deserializeMetadata(output),
|
|
2195
1957
|
...contents,
|
|
2196
1958
|
};
|
|
2197
|
-
return
|
|
1959
|
+
return response;
|
|
2198
1960
|
};
|
|
2199
1961
|
const de_GetSolutionMetricsCommandError = async (output, context) => {
|
|
2200
1962
|
const parsedOutput = {
|
|
@@ -2214,10 +1976,9 @@ const de_GetSolutionMetricsCommandError = async (output, context) => {
|
|
|
2214
1976
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2215
1977
|
default:
|
|
2216
1978
|
const parsedBody = parsedOutput.body;
|
|
2217
|
-
throwDefaultError({
|
|
1979
|
+
return throwDefaultError({
|
|
2218
1980
|
output,
|
|
2219
1981
|
parsedBody,
|
|
2220
|
-
exceptionCtor: __BaseException,
|
|
2221
1982
|
errorCode,
|
|
2222
1983
|
});
|
|
2223
1984
|
}
|
|
@@ -2233,7 +1994,7 @@ export const de_ListBatchInferenceJobsCommand = async (output, context) => {
|
|
|
2233
1994
|
$metadata: deserializeMetadata(output),
|
|
2234
1995
|
...contents,
|
|
2235
1996
|
};
|
|
2236
|
-
return
|
|
1997
|
+
return response;
|
|
2237
1998
|
};
|
|
2238
1999
|
const de_ListBatchInferenceJobsCommandError = async (output, context) => {
|
|
2239
2000
|
const parsedOutput = {
|
|
@@ -2250,10 +2011,9 @@ const de_ListBatchInferenceJobsCommandError = async (output, context) => {
|
|
|
2250
2011
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2251
2012
|
default:
|
|
2252
2013
|
const parsedBody = parsedOutput.body;
|
|
2253
|
-
throwDefaultError({
|
|
2014
|
+
return throwDefaultError({
|
|
2254
2015
|
output,
|
|
2255
2016
|
parsedBody,
|
|
2256
|
-
exceptionCtor: __BaseException,
|
|
2257
2017
|
errorCode,
|
|
2258
2018
|
});
|
|
2259
2019
|
}
|
|
@@ -2269,7 +2029,7 @@ export const de_ListBatchSegmentJobsCommand = async (output, context) => {
|
|
|
2269
2029
|
$metadata: deserializeMetadata(output),
|
|
2270
2030
|
...contents,
|
|
2271
2031
|
};
|
|
2272
|
-
return
|
|
2032
|
+
return response;
|
|
2273
2033
|
};
|
|
2274
2034
|
const de_ListBatchSegmentJobsCommandError = async (output, context) => {
|
|
2275
2035
|
const parsedOutput = {
|
|
@@ -2286,10 +2046,9 @@ const de_ListBatchSegmentJobsCommandError = async (output, context) => {
|
|
|
2286
2046
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2287
2047
|
default:
|
|
2288
2048
|
const parsedBody = parsedOutput.body;
|
|
2289
|
-
throwDefaultError({
|
|
2049
|
+
return throwDefaultError({
|
|
2290
2050
|
output,
|
|
2291
2051
|
parsedBody,
|
|
2292
|
-
exceptionCtor: __BaseException,
|
|
2293
2052
|
errorCode,
|
|
2294
2053
|
});
|
|
2295
2054
|
}
|
|
@@ -2305,7 +2064,7 @@ export const de_ListCampaignsCommand = async (output, context) => {
|
|
|
2305
2064
|
$metadata: deserializeMetadata(output),
|
|
2306
2065
|
...contents,
|
|
2307
2066
|
};
|
|
2308
|
-
return
|
|
2067
|
+
return response;
|
|
2309
2068
|
};
|
|
2310
2069
|
const de_ListCampaignsCommandError = async (output, context) => {
|
|
2311
2070
|
const parsedOutput = {
|
|
@@ -2322,10 +2081,9 @@ const de_ListCampaignsCommandError = async (output, context) => {
|
|
|
2322
2081
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2323
2082
|
default:
|
|
2324
2083
|
const parsedBody = parsedOutput.body;
|
|
2325
|
-
throwDefaultError({
|
|
2084
|
+
return throwDefaultError({
|
|
2326
2085
|
output,
|
|
2327
2086
|
parsedBody,
|
|
2328
|
-
exceptionCtor: __BaseException,
|
|
2329
2087
|
errorCode,
|
|
2330
2088
|
});
|
|
2331
2089
|
}
|
|
@@ -2341,7 +2099,7 @@ export const de_ListDatasetExportJobsCommand = async (output, context) => {
|
|
|
2341
2099
|
$metadata: deserializeMetadata(output),
|
|
2342
2100
|
...contents,
|
|
2343
2101
|
};
|
|
2344
|
-
return
|
|
2102
|
+
return response;
|
|
2345
2103
|
};
|
|
2346
2104
|
const de_ListDatasetExportJobsCommandError = async (output, context) => {
|
|
2347
2105
|
const parsedOutput = {
|
|
@@ -2358,10 +2116,9 @@ const de_ListDatasetExportJobsCommandError = async (output, context) => {
|
|
|
2358
2116
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2359
2117
|
default:
|
|
2360
2118
|
const parsedBody = parsedOutput.body;
|
|
2361
|
-
throwDefaultError({
|
|
2119
|
+
return throwDefaultError({
|
|
2362
2120
|
output,
|
|
2363
2121
|
parsedBody,
|
|
2364
|
-
exceptionCtor: __BaseException,
|
|
2365
2122
|
errorCode,
|
|
2366
2123
|
});
|
|
2367
2124
|
}
|
|
@@ -2377,7 +2134,7 @@ export const de_ListDatasetGroupsCommand = async (output, context) => {
|
|
|
2377
2134
|
$metadata: deserializeMetadata(output),
|
|
2378
2135
|
...contents,
|
|
2379
2136
|
};
|
|
2380
|
-
return
|
|
2137
|
+
return response;
|
|
2381
2138
|
};
|
|
2382
2139
|
const de_ListDatasetGroupsCommandError = async (output, context) => {
|
|
2383
2140
|
const parsedOutput = {
|
|
@@ -2391,10 +2148,9 @@ const de_ListDatasetGroupsCommandError = async (output, context) => {
|
|
|
2391
2148
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2392
2149
|
default:
|
|
2393
2150
|
const parsedBody = parsedOutput.body;
|
|
2394
|
-
throwDefaultError({
|
|
2151
|
+
return throwDefaultError({
|
|
2395
2152
|
output,
|
|
2396
2153
|
parsedBody,
|
|
2397
|
-
exceptionCtor: __BaseException,
|
|
2398
2154
|
errorCode,
|
|
2399
2155
|
});
|
|
2400
2156
|
}
|
|
@@ -2410,7 +2166,7 @@ export const de_ListDatasetImportJobsCommand = async (output, context) => {
|
|
|
2410
2166
|
$metadata: deserializeMetadata(output),
|
|
2411
2167
|
...contents,
|
|
2412
2168
|
};
|
|
2413
|
-
return
|
|
2169
|
+
return response;
|
|
2414
2170
|
};
|
|
2415
2171
|
const de_ListDatasetImportJobsCommandError = async (output, context) => {
|
|
2416
2172
|
const parsedOutput = {
|
|
@@ -2427,10 +2183,9 @@ const de_ListDatasetImportJobsCommandError = async (output, context) => {
|
|
|
2427
2183
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2428
2184
|
default:
|
|
2429
2185
|
const parsedBody = parsedOutput.body;
|
|
2430
|
-
throwDefaultError({
|
|
2186
|
+
return throwDefaultError({
|
|
2431
2187
|
output,
|
|
2432
2188
|
parsedBody,
|
|
2433
|
-
exceptionCtor: __BaseException,
|
|
2434
2189
|
errorCode,
|
|
2435
2190
|
});
|
|
2436
2191
|
}
|
|
@@ -2446,7 +2201,7 @@ export const de_ListDatasetsCommand = async (output, context) => {
|
|
|
2446
2201
|
$metadata: deserializeMetadata(output),
|
|
2447
2202
|
...contents,
|
|
2448
2203
|
};
|
|
2449
|
-
return
|
|
2204
|
+
return response;
|
|
2450
2205
|
};
|
|
2451
2206
|
const de_ListDatasetsCommandError = async (output, context) => {
|
|
2452
2207
|
const parsedOutput = {
|
|
@@ -2463,10 +2218,9 @@ const de_ListDatasetsCommandError = async (output, context) => {
|
|
|
2463
2218
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2464
2219
|
default:
|
|
2465
2220
|
const parsedBody = parsedOutput.body;
|
|
2466
|
-
throwDefaultError({
|
|
2221
|
+
return throwDefaultError({
|
|
2467
2222
|
output,
|
|
2468
2223
|
parsedBody,
|
|
2469
|
-
exceptionCtor: __BaseException,
|
|
2470
2224
|
errorCode,
|
|
2471
2225
|
});
|
|
2472
2226
|
}
|
|
@@ -2482,7 +2236,7 @@ export const de_ListEventTrackersCommand = async (output, context) => {
|
|
|
2482
2236
|
$metadata: deserializeMetadata(output),
|
|
2483
2237
|
...contents,
|
|
2484
2238
|
};
|
|
2485
|
-
return
|
|
2239
|
+
return response;
|
|
2486
2240
|
};
|
|
2487
2241
|
const de_ListEventTrackersCommandError = async (output, context) => {
|
|
2488
2242
|
const parsedOutput = {
|
|
@@ -2499,10 +2253,9 @@ const de_ListEventTrackersCommandError = async (output, context) => {
|
|
|
2499
2253
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2500
2254
|
default:
|
|
2501
2255
|
const parsedBody = parsedOutput.body;
|
|
2502
|
-
throwDefaultError({
|
|
2256
|
+
return throwDefaultError({
|
|
2503
2257
|
output,
|
|
2504
2258
|
parsedBody,
|
|
2505
|
-
exceptionCtor: __BaseException,
|
|
2506
2259
|
errorCode,
|
|
2507
2260
|
});
|
|
2508
2261
|
}
|
|
@@ -2518,7 +2271,7 @@ export const de_ListFiltersCommand = async (output, context) => {
|
|
|
2518
2271
|
$metadata: deserializeMetadata(output),
|
|
2519
2272
|
...contents,
|
|
2520
2273
|
};
|
|
2521
|
-
return
|
|
2274
|
+
return response;
|
|
2522
2275
|
};
|
|
2523
2276
|
const de_ListFiltersCommandError = async (output, context) => {
|
|
2524
2277
|
const parsedOutput = {
|
|
@@ -2535,10 +2288,9 @@ const de_ListFiltersCommandError = async (output, context) => {
|
|
|
2535
2288
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2536
2289
|
default:
|
|
2537
2290
|
const parsedBody = parsedOutput.body;
|
|
2538
|
-
throwDefaultError({
|
|
2291
|
+
return throwDefaultError({
|
|
2539
2292
|
output,
|
|
2540
2293
|
parsedBody,
|
|
2541
|
-
exceptionCtor: __BaseException,
|
|
2542
2294
|
errorCode,
|
|
2543
2295
|
});
|
|
2544
2296
|
}
|
|
@@ -2549,12 +2301,12 @@ export const de_ListMetricAttributionMetricsCommand = async (output, context) =>
|
|
|
2549
2301
|
}
|
|
2550
2302
|
const data = await parseBody(output.body, context);
|
|
2551
2303
|
let contents = {};
|
|
2552
|
-
contents =
|
|
2304
|
+
contents = _json(data);
|
|
2553
2305
|
const response = {
|
|
2554
2306
|
$metadata: deserializeMetadata(output),
|
|
2555
2307
|
...contents,
|
|
2556
2308
|
};
|
|
2557
|
-
return
|
|
2309
|
+
return response;
|
|
2558
2310
|
};
|
|
2559
2311
|
const de_ListMetricAttributionMetricsCommandError = async (output, context) => {
|
|
2560
2312
|
const parsedOutput = {
|
|
@@ -2571,10 +2323,9 @@ const de_ListMetricAttributionMetricsCommandError = async (output, context) => {
|
|
|
2571
2323
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2572
2324
|
default:
|
|
2573
2325
|
const parsedBody = parsedOutput.body;
|
|
2574
|
-
throwDefaultError({
|
|
2326
|
+
return throwDefaultError({
|
|
2575
2327
|
output,
|
|
2576
2328
|
parsedBody,
|
|
2577
|
-
exceptionCtor: __BaseException,
|
|
2578
2329
|
errorCode,
|
|
2579
2330
|
});
|
|
2580
2331
|
}
|
|
@@ -2590,7 +2341,7 @@ export const de_ListMetricAttributionsCommand = async (output, context) => {
|
|
|
2590
2341
|
$metadata: deserializeMetadata(output),
|
|
2591
2342
|
...contents,
|
|
2592
2343
|
};
|
|
2593
|
-
return
|
|
2344
|
+
return response;
|
|
2594
2345
|
};
|
|
2595
2346
|
const de_ListMetricAttributionsCommandError = async (output, context) => {
|
|
2596
2347
|
const parsedOutput = {
|
|
@@ -2607,10 +2358,9 @@ const de_ListMetricAttributionsCommandError = async (output, context) => {
|
|
|
2607
2358
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2608
2359
|
default:
|
|
2609
2360
|
const parsedBody = parsedOutput.body;
|
|
2610
|
-
throwDefaultError({
|
|
2361
|
+
return throwDefaultError({
|
|
2611
2362
|
output,
|
|
2612
2363
|
parsedBody,
|
|
2613
|
-
exceptionCtor: __BaseException,
|
|
2614
2364
|
errorCode,
|
|
2615
2365
|
});
|
|
2616
2366
|
}
|
|
@@ -2626,7 +2376,7 @@ export const de_ListRecipesCommand = async (output, context) => {
|
|
|
2626
2376
|
$metadata: deserializeMetadata(output),
|
|
2627
2377
|
...contents,
|
|
2628
2378
|
};
|
|
2629
|
-
return
|
|
2379
|
+
return response;
|
|
2630
2380
|
};
|
|
2631
2381
|
const de_ListRecipesCommandError = async (output, context) => {
|
|
2632
2382
|
const parsedOutput = {
|
|
@@ -2643,10 +2393,9 @@ const de_ListRecipesCommandError = async (output, context) => {
|
|
|
2643
2393
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2644
2394
|
default:
|
|
2645
2395
|
const parsedBody = parsedOutput.body;
|
|
2646
|
-
throwDefaultError({
|
|
2396
|
+
return throwDefaultError({
|
|
2647
2397
|
output,
|
|
2648
2398
|
parsedBody,
|
|
2649
|
-
exceptionCtor: __BaseException,
|
|
2650
2399
|
errorCode,
|
|
2651
2400
|
});
|
|
2652
2401
|
}
|
|
@@ -2662,7 +2411,7 @@ export const de_ListRecommendersCommand = async (output, context) => {
|
|
|
2662
2411
|
$metadata: deserializeMetadata(output),
|
|
2663
2412
|
...contents,
|
|
2664
2413
|
};
|
|
2665
|
-
return
|
|
2414
|
+
return response;
|
|
2666
2415
|
};
|
|
2667
2416
|
const de_ListRecommendersCommandError = async (output, context) => {
|
|
2668
2417
|
const parsedOutput = {
|
|
@@ -2679,10 +2428,9 @@ const de_ListRecommendersCommandError = async (output, context) => {
|
|
|
2679
2428
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2680
2429
|
default:
|
|
2681
2430
|
const parsedBody = parsedOutput.body;
|
|
2682
|
-
throwDefaultError({
|
|
2431
|
+
return throwDefaultError({
|
|
2683
2432
|
output,
|
|
2684
2433
|
parsedBody,
|
|
2685
|
-
exceptionCtor: __BaseException,
|
|
2686
2434
|
errorCode,
|
|
2687
2435
|
});
|
|
2688
2436
|
}
|
|
@@ -2698,7 +2446,7 @@ export const de_ListSchemasCommand = async (output, context) => {
|
|
|
2698
2446
|
$metadata: deserializeMetadata(output),
|
|
2699
2447
|
...contents,
|
|
2700
2448
|
};
|
|
2701
|
-
return
|
|
2449
|
+
return response;
|
|
2702
2450
|
};
|
|
2703
2451
|
const de_ListSchemasCommandError = async (output, context) => {
|
|
2704
2452
|
const parsedOutput = {
|
|
@@ -2712,10 +2460,9 @@ const de_ListSchemasCommandError = async (output, context) => {
|
|
|
2712
2460
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2713
2461
|
default:
|
|
2714
2462
|
const parsedBody = parsedOutput.body;
|
|
2715
|
-
throwDefaultError({
|
|
2463
|
+
return throwDefaultError({
|
|
2716
2464
|
output,
|
|
2717
2465
|
parsedBody,
|
|
2718
|
-
exceptionCtor: __BaseException,
|
|
2719
2466
|
errorCode,
|
|
2720
2467
|
});
|
|
2721
2468
|
}
|
|
@@ -2731,7 +2478,7 @@ export const de_ListSolutionsCommand = async (output, context) => {
|
|
|
2731
2478
|
$metadata: deserializeMetadata(output),
|
|
2732
2479
|
...contents,
|
|
2733
2480
|
};
|
|
2734
|
-
return
|
|
2481
|
+
return response;
|
|
2735
2482
|
};
|
|
2736
2483
|
const de_ListSolutionsCommandError = async (output, context) => {
|
|
2737
2484
|
const parsedOutput = {
|
|
@@ -2748,10 +2495,9 @@ const de_ListSolutionsCommandError = async (output, context) => {
|
|
|
2748
2495
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2749
2496
|
default:
|
|
2750
2497
|
const parsedBody = parsedOutput.body;
|
|
2751
|
-
throwDefaultError({
|
|
2498
|
+
return throwDefaultError({
|
|
2752
2499
|
output,
|
|
2753
2500
|
parsedBody,
|
|
2754
|
-
exceptionCtor: __BaseException,
|
|
2755
2501
|
errorCode,
|
|
2756
2502
|
});
|
|
2757
2503
|
}
|
|
@@ -2767,7 +2513,7 @@ export const de_ListSolutionVersionsCommand = async (output, context) => {
|
|
|
2767
2513
|
$metadata: deserializeMetadata(output),
|
|
2768
2514
|
...contents,
|
|
2769
2515
|
};
|
|
2770
|
-
return
|
|
2516
|
+
return response;
|
|
2771
2517
|
};
|
|
2772
2518
|
const de_ListSolutionVersionsCommandError = async (output, context) => {
|
|
2773
2519
|
const parsedOutput = {
|
|
@@ -2787,10 +2533,9 @@ const de_ListSolutionVersionsCommandError = async (output, context) => {
|
|
|
2787
2533
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2788
2534
|
default:
|
|
2789
2535
|
const parsedBody = parsedOutput.body;
|
|
2790
|
-
throwDefaultError({
|
|
2536
|
+
return throwDefaultError({
|
|
2791
2537
|
output,
|
|
2792
2538
|
parsedBody,
|
|
2793
|
-
exceptionCtor: __BaseException,
|
|
2794
2539
|
errorCode,
|
|
2795
2540
|
});
|
|
2796
2541
|
}
|
|
@@ -2801,12 +2546,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2801
2546
|
}
|
|
2802
2547
|
const data = await parseBody(output.body, context);
|
|
2803
2548
|
let contents = {};
|
|
2804
|
-
contents =
|
|
2549
|
+
contents = _json(data);
|
|
2805
2550
|
const response = {
|
|
2806
2551
|
$metadata: deserializeMetadata(output),
|
|
2807
2552
|
...contents,
|
|
2808
2553
|
};
|
|
2809
|
-
return
|
|
2554
|
+
return response;
|
|
2810
2555
|
};
|
|
2811
2556
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2812
2557
|
const parsedOutput = {
|
|
@@ -2826,10 +2571,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2826
2571
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2827
2572
|
default:
|
|
2828
2573
|
const parsedBody = parsedOutput.body;
|
|
2829
|
-
throwDefaultError({
|
|
2574
|
+
return throwDefaultError({
|
|
2830
2575
|
output,
|
|
2831
2576
|
parsedBody,
|
|
2832
|
-
exceptionCtor: __BaseException,
|
|
2833
2577
|
errorCode,
|
|
2834
2578
|
});
|
|
2835
2579
|
}
|
|
@@ -2840,12 +2584,12 @@ export const de_StartRecommenderCommand = async (output, context) => {
|
|
|
2840
2584
|
}
|
|
2841
2585
|
const data = await parseBody(output.body, context);
|
|
2842
2586
|
let contents = {};
|
|
2843
|
-
contents =
|
|
2587
|
+
contents = _json(data);
|
|
2844
2588
|
const response = {
|
|
2845
2589
|
$metadata: deserializeMetadata(output),
|
|
2846
2590
|
...contents,
|
|
2847
2591
|
};
|
|
2848
|
-
return
|
|
2592
|
+
return response;
|
|
2849
2593
|
};
|
|
2850
2594
|
const de_StartRecommenderCommandError = async (output, context) => {
|
|
2851
2595
|
const parsedOutput = {
|
|
@@ -2865,10 +2609,9 @@ const de_StartRecommenderCommandError = async (output, context) => {
|
|
|
2865
2609
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2866
2610
|
default:
|
|
2867
2611
|
const parsedBody = parsedOutput.body;
|
|
2868
|
-
throwDefaultError({
|
|
2612
|
+
return throwDefaultError({
|
|
2869
2613
|
output,
|
|
2870
2614
|
parsedBody,
|
|
2871
|
-
exceptionCtor: __BaseException,
|
|
2872
2615
|
errorCode,
|
|
2873
2616
|
});
|
|
2874
2617
|
}
|
|
@@ -2879,12 +2622,12 @@ export const de_StopRecommenderCommand = async (output, context) => {
|
|
|
2879
2622
|
}
|
|
2880
2623
|
const data = await parseBody(output.body, context);
|
|
2881
2624
|
let contents = {};
|
|
2882
|
-
contents =
|
|
2625
|
+
contents = _json(data);
|
|
2883
2626
|
const response = {
|
|
2884
2627
|
$metadata: deserializeMetadata(output),
|
|
2885
2628
|
...contents,
|
|
2886
2629
|
};
|
|
2887
|
-
return
|
|
2630
|
+
return response;
|
|
2888
2631
|
};
|
|
2889
2632
|
const de_StopRecommenderCommandError = async (output, context) => {
|
|
2890
2633
|
const parsedOutput = {
|
|
@@ -2904,10 +2647,9 @@ const de_StopRecommenderCommandError = async (output, context) => {
|
|
|
2904
2647
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2905
2648
|
default:
|
|
2906
2649
|
const parsedBody = parsedOutput.body;
|
|
2907
|
-
throwDefaultError({
|
|
2650
|
+
return throwDefaultError({
|
|
2908
2651
|
output,
|
|
2909
2652
|
parsedBody,
|
|
2910
|
-
exceptionCtor: __BaseException,
|
|
2911
2653
|
errorCode,
|
|
2912
2654
|
});
|
|
2913
2655
|
}
|
|
@@ -2920,7 +2662,7 @@ export const de_StopSolutionVersionCreationCommand = async (output, context) =>
|
|
|
2920
2662
|
const response = {
|
|
2921
2663
|
$metadata: deserializeMetadata(output),
|
|
2922
2664
|
};
|
|
2923
|
-
return
|
|
2665
|
+
return response;
|
|
2924
2666
|
};
|
|
2925
2667
|
const de_StopSolutionVersionCreationCommandError = async (output, context) => {
|
|
2926
2668
|
const parsedOutput = {
|
|
@@ -2940,10 +2682,9 @@ const de_StopSolutionVersionCreationCommandError = async (output, context) => {
|
|
|
2940
2682
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2941
2683
|
default:
|
|
2942
2684
|
const parsedBody = parsedOutput.body;
|
|
2943
|
-
throwDefaultError({
|
|
2685
|
+
return throwDefaultError({
|
|
2944
2686
|
output,
|
|
2945
2687
|
parsedBody,
|
|
2946
|
-
exceptionCtor: __BaseException,
|
|
2947
2688
|
errorCode,
|
|
2948
2689
|
});
|
|
2949
2690
|
}
|
|
@@ -2954,12 +2695,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
2954
2695
|
}
|
|
2955
2696
|
const data = await parseBody(output.body, context);
|
|
2956
2697
|
let contents = {};
|
|
2957
|
-
contents =
|
|
2698
|
+
contents = _json(data);
|
|
2958
2699
|
const response = {
|
|
2959
2700
|
$metadata: deserializeMetadata(output),
|
|
2960
2701
|
...contents,
|
|
2961
2702
|
};
|
|
2962
|
-
return
|
|
2703
|
+
return response;
|
|
2963
2704
|
};
|
|
2964
2705
|
const de_TagResourceCommandError = async (output, context) => {
|
|
2965
2706
|
const parsedOutput = {
|
|
@@ -2985,10 +2726,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2985
2726
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2986
2727
|
default:
|
|
2987
2728
|
const parsedBody = parsedOutput.body;
|
|
2988
|
-
throwDefaultError({
|
|
2729
|
+
return throwDefaultError({
|
|
2989
2730
|
output,
|
|
2990
2731
|
parsedBody,
|
|
2991
|
-
exceptionCtor: __BaseException,
|
|
2992
2732
|
errorCode,
|
|
2993
2733
|
});
|
|
2994
2734
|
}
|
|
@@ -2999,12 +2739,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
2999
2739
|
}
|
|
3000
2740
|
const data = await parseBody(output.body, context);
|
|
3001
2741
|
let contents = {};
|
|
3002
|
-
contents =
|
|
2742
|
+
contents = _json(data);
|
|
3003
2743
|
const response = {
|
|
3004
2744
|
$metadata: deserializeMetadata(output),
|
|
3005
2745
|
...contents,
|
|
3006
2746
|
};
|
|
3007
|
-
return
|
|
2747
|
+
return response;
|
|
3008
2748
|
};
|
|
3009
2749
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
3010
2750
|
const parsedOutput = {
|
|
@@ -3027,10 +2767,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
3027
2767
|
throw await de_TooManyTagKeysExceptionRes(parsedOutput, context);
|
|
3028
2768
|
default:
|
|
3029
2769
|
const parsedBody = parsedOutput.body;
|
|
3030
|
-
throwDefaultError({
|
|
2770
|
+
return throwDefaultError({
|
|
3031
2771
|
output,
|
|
3032
2772
|
parsedBody,
|
|
3033
|
-
exceptionCtor: __BaseException,
|
|
3034
2773
|
errorCode,
|
|
3035
2774
|
});
|
|
3036
2775
|
}
|
|
@@ -3041,12 +2780,12 @@ export const de_UpdateCampaignCommand = async (output, context) => {
|
|
|
3041
2780
|
}
|
|
3042
2781
|
const data = await parseBody(output.body, context);
|
|
3043
2782
|
let contents = {};
|
|
3044
|
-
contents =
|
|
2783
|
+
contents = _json(data);
|
|
3045
2784
|
const response = {
|
|
3046
2785
|
$metadata: deserializeMetadata(output),
|
|
3047
2786
|
...contents,
|
|
3048
2787
|
};
|
|
3049
|
-
return
|
|
2788
|
+
return response;
|
|
3050
2789
|
};
|
|
3051
2790
|
const de_UpdateCampaignCommandError = async (output, context) => {
|
|
3052
2791
|
const parsedOutput = {
|
|
@@ -3066,10 +2805,9 @@ const de_UpdateCampaignCommandError = async (output, context) => {
|
|
|
3066
2805
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3067
2806
|
default:
|
|
3068
2807
|
const parsedBody = parsedOutput.body;
|
|
3069
|
-
throwDefaultError({
|
|
2808
|
+
return throwDefaultError({
|
|
3070
2809
|
output,
|
|
3071
2810
|
parsedBody,
|
|
3072
|
-
exceptionCtor: __BaseException,
|
|
3073
2811
|
errorCode,
|
|
3074
2812
|
});
|
|
3075
2813
|
}
|
|
@@ -3080,12 +2818,12 @@ export const de_UpdateMetricAttributionCommand = async (output, context) => {
|
|
|
3080
2818
|
}
|
|
3081
2819
|
const data = await parseBody(output.body, context);
|
|
3082
2820
|
let contents = {};
|
|
3083
|
-
contents =
|
|
2821
|
+
contents = _json(data);
|
|
3084
2822
|
const response = {
|
|
3085
2823
|
$metadata: deserializeMetadata(output),
|
|
3086
2824
|
...contents,
|
|
3087
2825
|
};
|
|
3088
|
-
return
|
|
2826
|
+
return response;
|
|
3089
2827
|
};
|
|
3090
2828
|
const de_UpdateMetricAttributionCommandError = async (output, context) => {
|
|
3091
2829
|
const parsedOutput = {
|
|
@@ -3108,10 +2846,9 @@ const de_UpdateMetricAttributionCommandError = async (output, context) => {
|
|
|
3108
2846
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3109
2847
|
default:
|
|
3110
2848
|
const parsedBody = parsedOutput.body;
|
|
3111
|
-
throwDefaultError({
|
|
2849
|
+
return throwDefaultError({
|
|
3112
2850
|
output,
|
|
3113
2851
|
parsedBody,
|
|
3114
|
-
exceptionCtor: __BaseException,
|
|
3115
2852
|
errorCode,
|
|
3116
2853
|
});
|
|
3117
2854
|
}
|
|
@@ -3122,12 +2859,12 @@ export const de_UpdateRecommenderCommand = async (output, context) => {
|
|
|
3122
2859
|
}
|
|
3123
2860
|
const data = await parseBody(output.body, context);
|
|
3124
2861
|
let contents = {};
|
|
3125
|
-
contents =
|
|
2862
|
+
contents = _json(data);
|
|
3126
2863
|
const response = {
|
|
3127
2864
|
$metadata: deserializeMetadata(output),
|
|
3128
2865
|
...contents,
|
|
3129
2866
|
};
|
|
3130
|
-
return
|
|
2867
|
+
return response;
|
|
3131
2868
|
};
|
|
3132
2869
|
const de_UpdateRecommenderCommandError = async (output, context) => {
|
|
3133
2870
|
const parsedOutput = {
|
|
@@ -3147,17 +2884,16 @@ const de_UpdateRecommenderCommandError = async (output, context) => {
|
|
|
3147
2884
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3148
2885
|
default:
|
|
3149
2886
|
const parsedBody = parsedOutput.body;
|
|
3150
|
-
throwDefaultError({
|
|
2887
|
+
return throwDefaultError({
|
|
3151
2888
|
output,
|
|
3152
2889
|
parsedBody,
|
|
3153
|
-
exceptionCtor: __BaseException,
|
|
3154
2890
|
errorCode,
|
|
3155
2891
|
});
|
|
3156
2892
|
}
|
|
3157
2893
|
};
|
|
3158
2894
|
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
3159
2895
|
const body = parsedOutput.body;
|
|
3160
|
-
const deserialized =
|
|
2896
|
+
const deserialized = _json(body);
|
|
3161
2897
|
const exception = new InvalidInputException({
|
|
3162
2898
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3163
2899
|
...deserialized,
|
|
@@ -3166,7 +2902,7 @@ const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
|
3166
2902
|
};
|
|
3167
2903
|
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
3168
2904
|
const body = parsedOutput.body;
|
|
3169
|
-
const deserialized =
|
|
2905
|
+
const deserialized = _json(body);
|
|
3170
2906
|
const exception = new InvalidNextTokenException({
|
|
3171
2907
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3172
2908
|
...deserialized,
|
|
@@ -3175,7 +2911,7 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
3175
2911
|
};
|
|
3176
2912
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3177
2913
|
const body = parsedOutput.body;
|
|
3178
|
-
const deserialized =
|
|
2914
|
+
const deserialized = _json(body);
|
|
3179
2915
|
const exception = new LimitExceededException({
|
|
3180
2916
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3181
2917
|
...deserialized,
|
|
@@ -3184,7 +2920,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3184
2920
|
};
|
|
3185
2921
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
3186
2922
|
const body = parsedOutput.body;
|
|
3187
|
-
const deserialized =
|
|
2923
|
+
const deserialized = _json(body);
|
|
3188
2924
|
const exception = new ResourceAlreadyExistsException({
|
|
3189
2925
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3190
2926
|
...deserialized,
|
|
@@ -3193,7 +2929,7 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
3193
2929
|
};
|
|
3194
2930
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
3195
2931
|
const body = parsedOutput.body;
|
|
3196
|
-
const deserialized =
|
|
2932
|
+
const deserialized = _json(body);
|
|
3197
2933
|
const exception = new ResourceInUseException({
|
|
3198
2934
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3199
2935
|
...deserialized,
|
|
@@ -3202,7 +2938,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
3202
2938
|
};
|
|
3203
2939
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3204
2940
|
const body = parsedOutput.body;
|
|
3205
|
-
const deserialized =
|
|
2941
|
+
const deserialized = _json(body);
|
|
3206
2942
|
const exception = new ResourceNotFoundException({
|
|
3207
2943
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3208
2944
|
...deserialized,
|
|
@@ -3211,7 +2947,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3211
2947
|
};
|
|
3212
2948
|
const de_TooManyTagKeysExceptionRes = async (parsedOutput, context) => {
|
|
3213
2949
|
const body = parsedOutput.body;
|
|
3214
|
-
const deserialized =
|
|
2950
|
+
const deserialized = _json(body);
|
|
3215
2951
|
const exception = new TooManyTagKeysException({
|
|
3216
2952
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3217
2953
|
...deserialized,
|
|
@@ -3220,1778 +2956,670 @@ const de_TooManyTagKeysExceptionRes = async (parsedOutput, context) => {
|
|
|
3220
2956
|
};
|
|
3221
2957
|
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
3222
2958
|
const body = parsedOutput.body;
|
|
3223
|
-
const deserialized =
|
|
2959
|
+
const deserialized = _json(body);
|
|
3224
2960
|
const exception = new TooManyTagsException({
|
|
3225
2961
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3226
2962
|
...deserialized,
|
|
3227
2963
|
});
|
|
3228
2964
|
return __decorateServiceException(exception, body);
|
|
3229
2965
|
};
|
|
3230
|
-
const
|
|
2966
|
+
const se_ContinuousHyperParameterRange = (input, context) => {
|
|
2967
|
+
return take(input, {
|
|
2968
|
+
maxValue: __serializeFloat,
|
|
2969
|
+
minValue: __serializeFloat,
|
|
2970
|
+
name: [],
|
|
2971
|
+
});
|
|
2972
|
+
};
|
|
2973
|
+
const se_ContinuousHyperParameterRanges = (input, context) => {
|
|
3231
2974
|
return input
|
|
3232
2975
|
.filter((e) => e != null)
|
|
3233
2976
|
.map((entry) => {
|
|
3234
|
-
return entry;
|
|
2977
|
+
return se_ContinuousHyperParameterRange(entry, context);
|
|
3235
2978
|
});
|
|
3236
2979
|
};
|
|
3237
|
-
const
|
|
3238
|
-
return {
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
};
|
|
3249
|
-
};
|
|
3250
|
-
const se_BatchInferenceJobInput = (input, context) => {
|
|
3251
|
-
return {
|
|
3252
|
-
...(input.s3DataSource != null && { s3DataSource: se_S3DataConfig(input.s3DataSource, context) }),
|
|
3253
|
-
};
|
|
2980
|
+
const se_CreateSolutionRequest = (input, 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,
|
|
2990
|
+
});
|
|
3254
2991
|
};
|
|
3255
|
-
const
|
|
3256
|
-
return {
|
|
3257
|
-
|
|
3258
|
-
|
|
2992
|
+
const se_HPOConfig = (input, context) => {
|
|
2993
|
+
return take(input, {
|
|
2994
|
+
algorithmHyperParameterRanges: (_) => se_HyperParameterRanges(_, context),
|
|
2995
|
+
hpoObjective: _json,
|
|
2996
|
+
hpoResourceConfig: _json,
|
|
2997
|
+
});
|
|
3259
2998
|
};
|
|
3260
|
-
const
|
|
3261
|
-
return {
|
|
3262
|
-
|
|
3263
|
-
|
|
2999
|
+
const se_HyperParameterRanges = (input, context) => {
|
|
3000
|
+
return take(input, {
|
|
3001
|
+
categoricalHyperParameterRanges: _json,
|
|
3002
|
+
continuousHyperParameterRanges: (_) => se_ContinuousHyperParameterRanges(_, context),
|
|
3003
|
+
integerHyperParameterRanges: _json,
|
|
3004
|
+
});
|
|
3264
3005
|
};
|
|
3265
|
-
const
|
|
3266
|
-
return {
|
|
3267
|
-
|
|
3268
|
-
|
|
3006
|
+
const se_SolutionConfig = (input, context) => {
|
|
3007
|
+
return take(input, {
|
|
3008
|
+
algorithmHyperParameters: _json,
|
|
3009
|
+
autoMLConfig: _json,
|
|
3010
|
+
eventValueThreshold: [],
|
|
3011
|
+
featureTransformationParameters: _json,
|
|
3012
|
+
hpoConfig: (_) => se_HPOConfig(_, context),
|
|
3013
|
+
optimizationObjective: _json,
|
|
3014
|
+
});
|
|
3269
3015
|
};
|
|
3270
|
-
const
|
|
3271
|
-
return {
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3016
|
+
const de_Algorithm = (output, context) => {
|
|
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,
|
|
3028
|
+
});
|
|
3276
3029
|
};
|
|
3277
|
-
const
|
|
3278
|
-
return {
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3030
|
+
const de_BatchInferenceJob = (output, context) => {
|
|
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
|
+
});
|
|
3282
3046
|
};
|
|
3283
|
-
const
|
|
3284
|
-
|
|
3047
|
+
const de_BatchInferenceJobs = (output, context) => {
|
|
3048
|
+
const retVal = (output || [])
|
|
3285
3049
|
.filter((e) => e != null)
|
|
3286
3050
|
.map((entry) => {
|
|
3287
|
-
return
|
|
3051
|
+
return de_BatchInferenceJobSummary(entry, context);
|
|
3288
3052
|
});
|
|
3053
|
+
return retVal;
|
|
3289
3054
|
};
|
|
3290
|
-
const
|
|
3291
|
-
return
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3055
|
+
const de_BatchInferenceJobSummary = (output, context) => {
|
|
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,
|
|
3295
3064
|
});
|
|
3296
3065
|
};
|
|
3297
|
-
const
|
|
3298
|
-
return {
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3066
|
+
const de_BatchSegmentJob = (output, context) => {
|
|
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
|
+
});
|
|
3303
3081
|
};
|
|
3304
|
-
const
|
|
3305
|
-
|
|
3082
|
+
const de_BatchSegmentJobs = (output, context) => {
|
|
3083
|
+
const retVal = (output || [])
|
|
3306
3084
|
.filter((e) => e != null)
|
|
3307
3085
|
.map((entry) => {
|
|
3308
|
-
return
|
|
3086
|
+
return de_BatchSegmentJobSummary(entry, context);
|
|
3309
3087
|
});
|
|
3088
|
+
return retVal;
|
|
3310
3089
|
};
|
|
3311
|
-
const
|
|
3312
|
-
return {
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
3322
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3323
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3324
|
-
};
|
|
3325
|
-
};
|
|
3326
|
-
const se_CreateBatchSegmentJobRequest = (input, context) => {
|
|
3327
|
-
return {
|
|
3328
|
-
...(input.filterArn != null && { filterArn: input.filterArn }),
|
|
3329
|
-
...(input.jobInput != null && { jobInput: se_BatchSegmentJobInput(input.jobInput, context) }),
|
|
3330
|
-
...(input.jobName != null && { jobName: input.jobName }),
|
|
3331
|
-
...(input.jobOutput != null && { jobOutput: se_BatchSegmentJobOutput(input.jobOutput, context) }),
|
|
3332
|
-
...(input.numResults != null && { numResults: input.numResults }),
|
|
3333
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
3334
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3335
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3336
|
-
};
|
|
3090
|
+
const de_BatchSegmentJobSummary = (output, context) => {
|
|
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
|
+
});
|
|
3337
3100
|
};
|
|
3338
|
-
const
|
|
3339
|
-
return {
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3101
|
+
const de_Campaign = (output, context) => {
|
|
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
|
+
});
|
|
3346
3114
|
};
|
|
3347
|
-
const
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3355
|
-
};
|
|
3115
|
+
const de_Campaigns = (output, context) => {
|
|
3116
|
+
const retVal = (output || [])
|
|
3117
|
+
.filter((e) => e != null)
|
|
3118
|
+
.map((entry) => {
|
|
3119
|
+
return de_CampaignSummary(entry, context);
|
|
3120
|
+
});
|
|
3121
|
+
return retVal;
|
|
3356
3122
|
};
|
|
3357
|
-
const
|
|
3358
|
-
return {
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3123
|
+
const de_CampaignSummary = (output, 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,
|
|
3131
|
+
});
|
|
3365
3132
|
};
|
|
3366
|
-
const
|
|
3367
|
-
return {
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3377
|
-
};
|
|
3378
|
-
};
|
|
3379
|
-
const se_CreateDatasetRequest = (input, context) => {
|
|
3380
|
-
return {
|
|
3381
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3382
|
-
...(input.datasetType != null && { datasetType: input.datasetType }),
|
|
3383
|
-
...(input.name != null && { name: input.name }),
|
|
3384
|
-
...(input.schemaArn != null && { schemaArn: input.schemaArn }),
|
|
3385
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3386
|
-
};
|
|
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,
|
|
3142
|
+
});
|
|
3387
3143
|
};
|
|
3388
|
-
const
|
|
3389
|
-
return {
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
};
|
|
3144
|
+
const de_ContinuousHyperParameterRange = (output, context) => {
|
|
3145
|
+
return take(output, {
|
|
3146
|
+
maxValue: __limitedParseDouble,
|
|
3147
|
+
minValue: __limitedParseDouble,
|
|
3148
|
+
name: __expectString,
|
|
3149
|
+
});
|
|
3394
3150
|
};
|
|
3395
|
-
const
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3151
|
+
const de_ContinuousHyperParameterRanges = (output, context) => {
|
|
3152
|
+
const retVal = (output || [])
|
|
3153
|
+
.filter((e) => e != null)
|
|
3154
|
+
.map((entry) => {
|
|
3155
|
+
return de_ContinuousHyperParameterRange(entry, context);
|
|
3156
|
+
});
|
|
3157
|
+
return retVal;
|
|
3402
3158
|
};
|
|
3403
|
-
const
|
|
3404
|
-
return {
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3159
|
+
const de_Dataset = (output, context) => {
|
|
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
|
+
});
|
|
3412
3170
|
};
|
|
3413
|
-
const
|
|
3414
|
-
return {
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3171
|
+
const de_DatasetExportJob = (output, context) => {
|
|
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
|
+
});
|
|
3423
3184
|
};
|
|
3424
|
-
const
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
};
|
|
3185
|
+
const de_DatasetExportJobs = (output, context) => {
|
|
3186
|
+
const retVal = (output || [])
|
|
3187
|
+
.filter((e) => e != null)
|
|
3188
|
+
.map((entry) => {
|
|
3189
|
+
return de_DatasetExportJobSummary(entry, context);
|
|
3190
|
+
});
|
|
3191
|
+
return retVal;
|
|
3430
3192
|
};
|
|
3431
|
-
const
|
|
3432
|
-
return {
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3441
|
-
};
|
|
3193
|
+
const de_DatasetExportJobSummary = (output, context) => {
|
|
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
|
+
});
|
|
3442
3202
|
};
|
|
3443
|
-
const
|
|
3444
|
-
return {
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
};
|
|
3455
|
-
};
|
|
3456
|
-
const se_DataSource = (input, context) => {
|
|
3457
|
-
return {
|
|
3458
|
-
...(input.dataLocation != null && { dataLocation: input.dataLocation }),
|
|
3459
|
-
};
|
|
3460
|
-
};
|
|
3461
|
-
const se_DeleteCampaignRequest = (input, context) => {
|
|
3462
|
-
return {
|
|
3463
|
-
...(input.campaignArn != null && { campaignArn: input.campaignArn }),
|
|
3464
|
-
};
|
|
3465
|
-
};
|
|
3466
|
-
const se_DeleteDatasetGroupRequest = (input, context) => {
|
|
3467
|
-
return {
|
|
3468
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3469
|
-
};
|
|
3470
|
-
};
|
|
3471
|
-
const se_DeleteDatasetRequest = (input, context) => {
|
|
3472
|
-
return {
|
|
3473
|
-
...(input.datasetArn != null && { datasetArn: input.datasetArn }),
|
|
3474
|
-
};
|
|
3475
|
-
};
|
|
3476
|
-
const se_DeleteEventTrackerRequest = (input, context) => {
|
|
3477
|
-
return {
|
|
3478
|
-
...(input.eventTrackerArn != null && { eventTrackerArn: input.eventTrackerArn }),
|
|
3479
|
-
};
|
|
3480
|
-
};
|
|
3481
|
-
const se_DeleteFilterRequest = (input, context) => {
|
|
3482
|
-
return {
|
|
3483
|
-
...(input.filterArn != null && { filterArn: input.filterArn }),
|
|
3484
|
-
};
|
|
3485
|
-
};
|
|
3486
|
-
const se_DeleteMetricAttributionRequest = (input, context) => {
|
|
3487
|
-
return {
|
|
3488
|
-
...(input.metricAttributionArn != null && { metricAttributionArn: input.metricAttributionArn }),
|
|
3489
|
-
};
|
|
3490
|
-
};
|
|
3491
|
-
const se_DeleteRecommenderRequest = (input, context) => {
|
|
3492
|
-
return {
|
|
3493
|
-
...(input.recommenderArn != null && { recommenderArn: input.recommenderArn }),
|
|
3494
|
-
};
|
|
3495
|
-
};
|
|
3496
|
-
const se_DeleteSchemaRequest = (input, context) => {
|
|
3497
|
-
return {
|
|
3498
|
-
...(input.schemaArn != null && { schemaArn: input.schemaArn }),
|
|
3499
|
-
};
|
|
3500
|
-
};
|
|
3501
|
-
const se_DeleteSolutionRequest = (input, context) => {
|
|
3502
|
-
return {
|
|
3503
|
-
...(input.solutionArn != null && { solutionArn: input.solutionArn }),
|
|
3504
|
-
};
|
|
3505
|
-
};
|
|
3506
|
-
const se_DescribeAlgorithmRequest = (input, context) => {
|
|
3507
|
-
return {
|
|
3508
|
-
...(input.algorithmArn != null && { algorithmArn: input.algorithmArn }),
|
|
3509
|
-
};
|
|
3510
|
-
};
|
|
3511
|
-
const se_DescribeBatchInferenceJobRequest = (input, context) => {
|
|
3512
|
-
return {
|
|
3513
|
-
...(input.batchInferenceJobArn != null && { batchInferenceJobArn: input.batchInferenceJobArn }),
|
|
3514
|
-
};
|
|
3515
|
-
};
|
|
3516
|
-
const se_DescribeBatchSegmentJobRequest = (input, context) => {
|
|
3517
|
-
return {
|
|
3518
|
-
...(input.batchSegmentJobArn != null && { batchSegmentJobArn: input.batchSegmentJobArn }),
|
|
3519
|
-
};
|
|
3520
|
-
};
|
|
3521
|
-
const se_DescribeCampaignRequest = (input, context) => {
|
|
3522
|
-
return {
|
|
3523
|
-
...(input.campaignArn != null && { campaignArn: input.campaignArn }),
|
|
3524
|
-
};
|
|
3525
|
-
};
|
|
3526
|
-
const se_DescribeDatasetExportJobRequest = (input, context) => {
|
|
3527
|
-
return {
|
|
3528
|
-
...(input.datasetExportJobArn != null && { datasetExportJobArn: input.datasetExportJobArn }),
|
|
3529
|
-
};
|
|
3530
|
-
};
|
|
3531
|
-
const se_DescribeDatasetGroupRequest = (input, context) => {
|
|
3532
|
-
return {
|
|
3533
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3534
|
-
};
|
|
3535
|
-
};
|
|
3536
|
-
const se_DescribeDatasetImportJobRequest = (input, context) => {
|
|
3537
|
-
return {
|
|
3538
|
-
...(input.datasetImportJobArn != null && { datasetImportJobArn: input.datasetImportJobArn }),
|
|
3539
|
-
};
|
|
3540
|
-
};
|
|
3541
|
-
const se_DescribeDatasetRequest = (input, context) => {
|
|
3542
|
-
return {
|
|
3543
|
-
...(input.datasetArn != null && { datasetArn: input.datasetArn }),
|
|
3544
|
-
};
|
|
3545
|
-
};
|
|
3546
|
-
const se_DescribeEventTrackerRequest = (input, context) => {
|
|
3547
|
-
return {
|
|
3548
|
-
...(input.eventTrackerArn != null && { eventTrackerArn: input.eventTrackerArn }),
|
|
3549
|
-
};
|
|
3550
|
-
};
|
|
3551
|
-
const se_DescribeFeatureTransformationRequest = (input, context) => {
|
|
3552
|
-
return {
|
|
3553
|
-
...(input.featureTransformationArn != null && { featureTransformationArn: input.featureTransformationArn }),
|
|
3554
|
-
};
|
|
3555
|
-
};
|
|
3556
|
-
const se_DescribeFilterRequest = (input, context) => {
|
|
3557
|
-
return {
|
|
3558
|
-
...(input.filterArn != null && { filterArn: input.filterArn }),
|
|
3559
|
-
};
|
|
3560
|
-
};
|
|
3561
|
-
const se_DescribeMetricAttributionRequest = (input, context) => {
|
|
3562
|
-
return {
|
|
3563
|
-
...(input.metricAttributionArn != null && { metricAttributionArn: input.metricAttributionArn }),
|
|
3564
|
-
};
|
|
3565
|
-
};
|
|
3566
|
-
const se_DescribeRecipeRequest = (input, context) => {
|
|
3567
|
-
return {
|
|
3568
|
-
...(input.recipeArn != null && { recipeArn: input.recipeArn }),
|
|
3569
|
-
};
|
|
3570
|
-
};
|
|
3571
|
-
const se_DescribeRecommenderRequest = (input, context) => {
|
|
3572
|
-
return {
|
|
3573
|
-
...(input.recommenderArn != null && { recommenderArn: input.recommenderArn }),
|
|
3574
|
-
};
|
|
3575
|
-
};
|
|
3576
|
-
const se_DescribeSchemaRequest = (input, context) => {
|
|
3577
|
-
return {
|
|
3578
|
-
...(input.schemaArn != null && { schemaArn: input.schemaArn }),
|
|
3579
|
-
};
|
|
3580
|
-
};
|
|
3581
|
-
const se_DescribeSolutionRequest = (input, context) => {
|
|
3582
|
-
return {
|
|
3583
|
-
...(input.solutionArn != null && { solutionArn: input.solutionArn }),
|
|
3584
|
-
};
|
|
3585
|
-
};
|
|
3586
|
-
const se_DescribeSolutionVersionRequest = (input, context) => {
|
|
3587
|
-
return {
|
|
3588
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3589
|
-
};
|
|
3590
|
-
};
|
|
3591
|
-
const se_FeatureTransformationParameters = (input, context) => {
|
|
3592
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3593
|
-
if (value === null) {
|
|
3594
|
-
return acc;
|
|
3595
|
-
}
|
|
3596
|
-
acc[key] = value;
|
|
3597
|
-
return acc;
|
|
3598
|
-
}, {});
|
|
3599
|
-
};
|
|
3600
|
-
const se_GetSolutionMetricsRequest = (input, context) => {
|
|
3601
|
-
return {
|
|
3602
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3603
|
-
};
|
|
3604
|
-
};
|
|
3605
|
-
const se_HPOConfig = (input, context) => {
|
|
3606
|
-
return {
|
|
3607
|
-
...(input.algorithmHyperParameterRanges != null && {
|
|
3608
|
-
algorithmHyperParameterRanges: se_HyperParameterRanges(input.algorithmHyperParameterRanges, context),
|
|
3609
|
-
}),
|
|
3610
|
-
...(input.hpoObjective != null && { hpoObjective: se_HPOObjective(input.hpoObjective, context) }),
|
|
3611
|
-
...(input.hpoResourceConfig != null && {
|
|
3612
|
-
hpoResourceConfig: se_HPOResourceConfig(input.hpoResourceConfig, context),
|
|
3613
|
-
}),
|
|
3614
|
-
};
|
|
3615
|
-
};
|
|
3616
|
-
const se_HPOObjective = (input, context) => {
|
|
3617
|
-
return {
|
|
3618
|
-
...(input.metricName != null && { metricName: input.metricName }),
|
|
3619
|
-
...(input.metricRegex != null && { metricRegex: input.metricRegex }),
|
|
3620
|
-
...(input.type != null && { type: input.type }),
|
|
3621
|
-
};
|
|
3622
|
-
};
|
|
3623
|
-
const se_HPOResourceConfig = (input, context) => {
|
|
3624
|
-
return {
|
|
3625
|
-
...(input.maxNumberOfTrainingJobs != null && { maxNumberOfTrainingJobs: input.maxNumberOfTrainingJobs }),
|
|
3626
|
-
...(input.maxParallelTrainingJobs != null && { maxParallelTrainingJobs: input.maxParallelTrainingJobs }),
|
|
3627
|
-
};
|
|
3628
|
-
};
|
|
3629
|
-
const se_HyperParameterRanges = (input, context) => {
|
|
3630
|
-
return {
|
|
3631
|
-
...(input.categoricalHyperParameterRanges != null && {
|
|
3632
|
-
categoricalHyperParameterRanges: se_CategoricalHyperParameterRanges(input.categoricalHyperParameterRanges, context),
|
|
3633
|
-
}),
|
|
3634
|
-
...(input.continuousHyperParameterRanges != null && {
|
|
3635
|
-
continuousHyperParameterRanges: se_ContinuousHyperParameterRanges(input.continuousHyperParameterRanges, context),
|
|
3636
|
-
}),
|
|
3637
|
-
...(input.integerHyperParameterRanges != null && {
|
|
3638
|
-
integerHyperParameterRanges: se_IntegerHyperParameterRanges(input.integerHyperParameterRanges, context),
|
|
3639
|
-
}),
|
|
3640
|
-
};
|
|
3641
|
-
};
|
|
3642
|
-
const se_HyperParameters = (input, context) => {
|
|
3643
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3644
|
-
if (value === null) {
|
|
3645
|
-
return acc;
|
|
3646
|
-
}
|
|
3647
|
-
acc[key] = value;
|
|
3648
|
-
return acc;
|
|
3649
|
-
}, {});
|
|
3650
|
-
};
|
|
3651
|
-
const se_IntegerHyperParameterRange = (input, context) => {
|
|
3652
|
-
return {
|
|
3653
|
-
...(input.maxValue != null && { maxValue: input.maxValue }),
|
|
3654
|
-
...(input.minValue != null && { minValue: input.minValue }),
|
|
3655
|
-
...(input.name != null && { name: input.name }),
|
|
3656
|
-
};
|
|
3657
|
-
};
|
|
3658
|
-
const se_IntegerHyperParameterRanges = (input, context) => {
|
|
3659
|
-
return input
|
|
3660
|
-
.filter((e) => e != null)
|
|
3661
|
-
.map((entry) => {
|
|
3662
|
-
return se_IntegerHyperParameterRange(entry, context);
|
|
3663
|
-
});
|
|
3664
|
-
};
|
|
3665
|
-
const se_ListBatchInferenceJobsRequest = (input, context) => {
|
|
3666
|
-
return {
|
|
3667
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3668
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3669
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3670
|
-
};
|
|
3671
|
-
};
|
|
3672
|
-
const se_ListBatchSegmentJobsRequest = (input, context) => {
|
|
3673
|
-
return {
|
|
3674
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3675
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3676
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3677
|
-
};
|
|
3678
|
-
};
|
|
3679
|
-
const se_ListCampaignsRequest = (input, context) => {
|
|
3680
|
-
return {
|
|
3681
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3682
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3683
|
-
...(input.solutionArn != null && { solutionArn: input.solutionArn }),
|
|
3684
|
-
};
|
|
3685
|
-
};
|
|
3686
|
-
const se_ListDatasetExportJobsRequest = (input, context) => {
|
|
3687
|
-
return {
|
|
3688
|
-
...(input.datasetArn != null && { datasetArn: input.datasetArn }),
|
|
3689
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3690
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3691
|
-
};
|
|
3692
|
-
};
|
|
3693
|
-
const se_ListDatasetGroupsRequest = (input, context) => {
|
|
3694
|
-
return {
|
|
3695
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3696
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3697
|
-
};
|
|
3698
|
-
};
|
|
3699
|
-
const se_ListDatasetImportJobsRequest = (input, context) => {
|
|
3700
|
-
return {
|
|
3701
|
-
...(input.datasetArn != null && { datasetArn: input.datasetArn }),
|
|
3702
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3703
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3704
|
-
};
|
|
3705
|
-
};
|
|
3706
|
-
const se_ListDatasetsRequest = (input, context) => {
|
|
3707
|
-
return {
|
|
3708
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3709
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3710
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3711
|
-
};
|
|
3712
|
-
};
|
|
3713
|
-
const se_ListEventTrackersRequest = (input, context) => {
|
|
3714
|
-
return {
|
|
3715
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3716
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3717
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3718
|
-
};
|
|
3719
|
-
};
|
|
3720
|
-
const se_ListFiltersRequest = (input, context) => {
|
|
3721
|
-
return {
|
|
3722
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3723
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3724
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3725
|
-
};
|
|
3726
|
-
};
|
|
3727
|
-
const se_ListMetricAttributionMetricsRequest = (input, context) => {
|
|
3728
|
-
return {
|
|
3729
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3730
|
-
...(input.metricAttributionArn != null && { metricAttributionArn: input.metricAttributionArn }),
|
|
3731
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3732
|
-
};
|
|
3733
|
-
};
|
|
3734
|
-
const se_ListMetricAttributionsRequest = (input, context) => {
|
|
3735
|
-
return {
|
|
3736
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3737
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3738
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3739
|
-
};
|
|
3740
|
-
};
|
|
3741
|
-
const se_ListRecipesRequest = (input, context) => {
|
|
3742
|
-
return {
|
|
3743
|
-
...(input.domain != null && { domain: input.domain }),
|
|
3744
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3745
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3746
|
-
...(input.recipeProvider != null && { recipeProvider: input.recipeProvider }),
|
|
3747
|
-
};
|
|
3748
|
-
};
|
|
3749
|
-
const se_ListRecommendersRequest = (input, context) => {
|
|
3750
|
-
return {
|
|
3751
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3752
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3753
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3754
|
-
};
|
|
3755
|
-
};
|
|
3756
|
-
const se_ListSchemasRequest = (input, context) => {
|
|
3757
|
-
return {
|
|
3758
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3759
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3760
|
-
};
|
|
3761
|
-
};
|
|
3762
|
-
const se_ListSolutionsRequest = (input, context) => {
|
|
3763
|
-
return {
|
|
3764
|
-
...(input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }),
|
|
3765
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3766
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3767
|
-
};
|
|
3768
|
-
};
|
|
3769
|
-
const se_ListSolutionVersionsRequest = (input, context) => {
|
|
3770
|
-
return {
|
|
3771
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3772
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3773
|
-
...(input.solutionArn != null && { solutionArn: input.solutionArn }),
|
|
3774
|
-
};
|
|
3775
|
-
};
|
|
3776
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
3777
|
-
return {
|
|
3778
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
3779
|
-
};
|
|
3780
|
-
};
|
|
3781
|
-
const se_MetricAttribute = (input, context) => {
|
|
3782
|
-
return {
|
|
3783
|
-
...(input.eventType != null && { eventType: input.eventType }),
|
|
3784
|
-
...(input.expression != null && { expression: input.expression }),
|
|
3785
|
-
...(input.metricName != null && { metricName: input.metricName }),
|
|
3786
|
-
};
|
|
3787
|
-
};
|
|
3788
|
-
const se_MetricAttributes = (input, context) => {
|
|
3789
|
-
return input
|
|
3790
|
-
.filter((e) => e != null)
|
|
3791
|
-
.map((entry) => {
|
|
3792
|
-
return se_MetricAttribute(entry, context);
|
|
3793
|
-
});
|
|
3794
|
-
};
|
|
3795
|
-
const se_MetricAttributesNamesList = (input, context) => {
|
|
3796
|
-
return input
|
|
3797
|
-
.filter((e) => e != null)
|
|
3798
|
-
.map((entry) => {
|
|
3799
|
-
return entry;
|
|
3800
|
-
});
|
|
3801
|
-
};
|
|
3802
|
-
const se_MetricAttributionOutput = (input, context) => {
|
|
3803
|
-
return {
|
|
3804
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
3805
|
-
...(input.s3DataDestination != null && { s3DataDestination: se_S3DataConfig(input.s3DataDestination, context) }),
|
|
3806
|
-
};
|
|
3807
|
-
};
|
|
3808
|
-
const se_OptimizationObjective = (input, context) => {
|
|
3809
|
-
return {
|
|
3810
|
-
...(input.itemAttribute != null && { itemAttribute: input.itemAttribute }),
|
|
3811
|
-
...(input.objectiveSensitivity != null && { objectiveSensitivity: input.objectiveSensitivity }),
|
|
3812
|
-
};
|
|
3813
|
-
};
|
|
3814
|
-
const se_RecommenderConfig = (input, context) => {
|
|
3815
|
-
return {
|
|
3816
|
-
...(input.itemExplorationConfig != null && {
|
|
3817
|
-
itemExplorationConfig: se_HyperParameters(input.itemExplorationConfig, context),
|
|
3818
|
-
}),
|
|
3819
|
-
...(input.minRecommendationRequestsPerSecond != null && {
|
|
3820
|
-
minRecommendationRequestsPerSecond: input.minRecommendationRequestsPerSecond,
|
|
3821
|
-
}),
|
|
3822
|
-
};
|
|
3823
|
-
};
|
|
3824
|
-
const se_S3DataConfig = (input, context) => {
|
|
3825
|
-
return {
|
|
3826
|
-
...(input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn }),
|
|
3827
|
-
...(input.path != null && { path: input.path }),
|
|
3828
|
-
};
|
|
3829
|
-
};
|
|
3830
|
-
const se_SolutionConfig = (input, context) => {
|
|
3831
|
-
return {
|
|
3832
|
-
...(input.algorithmHyperParameters != null && {
|
|
3833
|
-
algorithmHyperParameters: se_HyperParameters(input.algorithmHyperParameters, context),
|
|
3834
|
-
}),
|
|
3835
|
-
...(input.autoMLConfig != null && { autoMLConfig: se_AutoMLConfig(input.autoMLConfig, context) }),
|
|
3836
|
-
...(input.eventValueThreshold != null && { eventValueThreshold: input.eventValueThreshold }),
|
|
3837
|
-
...(input.featureTransformationParameters != null && {
|
|
3838
|
-
featureTransformationParameters: se_FeatureTransformationParameters(input.featureTransformationParameters, context),
|
|
3839
|
-
}),
|
|
3840
|
-
...(input.hpoConfig != null && { hpoConfig: se_HPOConfig(input.hpoConfig, context) }),
|
|
3841
|
-
...(input.optimizationObjective != null && {
|
|
3842
|
-
optimizationObjective: se_OptimizationObjective(input.optimizationObjective, context),
|
|
3843
|
-
}),
|
|
3844
|
-
};
|
|
3845
|
-
};
|
|
3846
|
-
const se_StartRecommenderRequest = (input, context) => {
|
|
3847
|
-
return {
|
|
3848
|
-
...(input.recommenderArn != null && { recommenderArn: input.recommenderArn }),
|
|
3849
|
-
};
|
|
3850
|
-
};
|
|
3851
|
-
const se_StopRecommenderRequest = (input, context) => {
|
|
3852
|
-
return {
|
|
3853
|
-
...(input.recommenderArn != null && { recommenderArn: input.recommenderArn }),
|
|
3854
|
-
};
|
|
3855
|
-
};
|
|
3856
|
-
const se_StopSolutionVersionCreationRequest = (input, context) => {
|
|
3857
|
-
return {
|
|
3858
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3859
|
-
};
|
|
3860
|
-
};
|
|
3861
|
-
const se_Tag = (input, context) => {
|
|
3862
|
-
return {
|
|
3863
|
-
...(input.tagKey != null && { tagKey: input.tagKey }),
|
|
3864
|
-
...(input.tagValue != null && { tagValue: input.tagValue }),
|
|
3865
|
-
};
|
|
3866
|
-
};
|
|
3867
|
-
const se_TagKeys = (input, context) => {
|
|
3868
|
-
return input
|
|
3869
|
-
.filter((e) => e != null)
|
|
3870
|
-
.map((entry) => {
|
|
3871
|
-
return entry;
|
|
3872
|
-
});
|
|
3873
|
-
};
|
|
3874
|
-
const se_TagResourceRequest = (input, context) => {
|
|
3875
|
-
return {
|
|
3876
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
3877
|
-
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
3878
|
-
};
|
|
3879
|
-
};
|
|
3880
|
-
const se_Tags = (input, context) => {
|
|
3881
|
-
return input
|
|
3882
|
-
.filter((e) => e != null)
|
|
3883
|
-
.map((entry) => {
|
|
3884
|
-
return se_Tag(entry, context);
|
|
3885
|
-
});
|
|
3886
|
-
};
|
|
3887
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
3888
|
-
return {
|
|
3889
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
3890
|
-
...(input.tagKeys != null && { tagKeys: se_TagKeys(input.tagKeys, context) }),
|
|
3891
|
-
};
|
|
3892
|
-
};
|
|
3893
|
-
const se_UpdateCampaignRequest = (input, context) => {
|
|
3894
|
-
return {
|
|
3895
|
-
...(input.campaignArn != null && { campaignArn: input.campaignArn }),
|
|
3896
|
-
...(input.campaignConfig != null && { campaignConfig: se_CampaignConfig(input.campaignConfig, context) }),
|
|
3897
|
-
...(input.minProvisionedTPS != null && { minProvisionedTPS: input.minProvisionedTPS }),
|
|
3898
|
-
...(input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }),
|
|
3899
|
-
};
|
|
3900
|
-
};
|
|
3901
|
-
const se_UpdateMetricAttributionRequest = (input, context) => {
|
|
3902
|
-
return {
|
|
3903
|
-
...(input.addMetrics != null && { addMetrics: se_MetricAttributes(input.addMetrics, context) }),
|
|
3904
|
-
...(input.metricAttributionArn != null && { metricAttributionArn: input.metricAttributionArn }),
|
|
3905
|
-
...(input.metricsOutputConfig != null && {
|
|
3906
|
-
metricsOutputConfig: se_MetricAttributionOutput(input.metricsOutputConfig, context),
|
|
3907
|
-
}),
|
|
3908
|
-
...(input.removeMetrics != null && { removeMetrics: se_MetricAttributesNamesList(input.removeMetrics, context) }),
|
|
3909
|
-
};
|
|
3910
|
-
};
|
|
3911
|
-
const se_UpdateRecommenderRequest = (input, context) => {
|
|
3912
|
-
return {
|
|
3913
|
-
...(input.recommenderArn != null && { recommenderArn: input.recommenderArn }),
|
|
3914
|
-
...(input.recommenderConfig != null && {
|
|
3915
|
-
recommenderConfig: se_RecommenderConfig(input.recommenderConfig, context),
|
|
3916
|
-
}),
|
|
3917
|
-
};
|
|
3918
|
-
};
|
|
3919
|
-
const de_Algorithm = (output, context) => {
|
|
3920
|
-
return {
|
|
3921
|
-
algorithmArn: __expectString(output.algorithmArn),
|
|
3922
|
-
algorithmImage: output.algorithmImage != null ? de_AlgorithmImage(output.algorithmImage, context) : undefined,
|
|
3923
|
-
creationDateTime: output.creationDateTime != null
|
|
3924
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
3925
|
-
: undefined,
|
|
3926
|
-
defaultHyperParameterRanges: output.defaultHyperParameterRanges != null
|
|
3927
|
-
? de_DefaultHyperParameterRanges(output.defaultHyperParameterRanges, context)
|
|
3928
|
-
: undefined,
|
|
3929
|
-
defaultHyperParameters: output.defaultHyperParameters != null ? de_HyperParameters(output.defaultHyperParameters, context) : undefined,
|
|
3930
|
-
defaultResourceConfig: output.defaultResourceConfig != null ? de_ResourceConfig(output.defaultResourceConfig, context) : undefined,
|
|
3931
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
3932
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
3933
|
-
: undefined,
|
|
3934
|
-
name: __expectString(output.name),
|
|
3935
|
-
roleArn: __expectString(output.roleArn),
|
|
3936
|
-
trainingInputMode: __expectString(output.trainingInputMode),
|
|
3937
|
-
};
|
|
3938
|
-
};
|
|
3939
|
-
const de_AlgorithmImage = (output, context) => {
|
|
3940
|
-
return {
|
|
3941
|
-
dockerURI: __expectString(output.dockerURI),
|
|
3942
|
-
name: __expectString(output.name),
|
|
3943
|
-
};
|
|
3944
|
-
};
|
|
3945
|
-
const de_ArnList = (output, context) => {
|
|
3946
|
-
const retVal = (output || [])
|
|
3947
|
-
.filter((e) => e != null)
|
|
3948
|
-
.map((entry) => {
|
|
3949
|
-
if (entry === null) {
|
|
3950
|
-
return null;
|
|
3951
|
-
}
|
|
3952
|
-
return __expectString(entry);
|
|
3953
|
-
});
|
|
3954
|
-
return retVal;
|
|
3955
|
-
};
|
|
3956
|
-
const de_AutoMLConfig = (output, context) => {
|
|
3957
|
-
return {
|
|
3958
|
-
metricName: __expectString(output.metricName),
|
|
3959
|
-
recipeList: output.recipeList != null ? de_ArnList(output.recipeList, context) : undefined,
|
|
3960
|
-
};
|
|
3961
|
-
};
|
|
3962
|
-
const de_AutoMLResult = (output, context) => {
|
|
3963
|
-
return {
|
|
3964
|
-
bestRecipeArn: __expectString(output.bestRecipeArn),
|
|
3965
|
-
};
|
|
3966
|
-
};
|
|
3967
|
-
const de_BatchInferenceJob = (output, context) => {
|
|
3968
|
-
return {
|
|
3969
|
-
batchInferenceJobArn: __expectString(output.batchInferenceJobArn),
|
|
3970
|
-
batchInferenceJobConfig: output.batchInferenceJobConfig != null
|
|
3971
|
-
? de_BatchInferenceJobConfig(output.batchInferenceJobConfig, context)
|
|
3972
|
-
: undefined,
|
|
3973
|
-
creationDateTime: output.creationDateTime != null
|
|
3974
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
3975
|
-
: undefined,
|
|
3976
|
-
failureReason: __expectString(output.failureReason),
|
|
3977
|
-
filterArn: __expectString(output.filterArn),
|
|
3978
|
-
jobInput: output.jobInput != null ? de_BatchInferenceJobInput(output.jobInput, context) : undefined,
|
|
3979
|
-
jobName: __expectString(output.jobName),
|
|
3980
|
-
jobOutput: output.jobOutput != null ? de_BatchInferenceJobOutput(output.jobOutput, context) : undefined,
|
|
3981
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
3982
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
3983
|
-
: undefined,
|
|
3984
|
-
numResults: __expectInt32(output.numResults),
|
|
3985
|
-
roleArn: __expectString(output.roleArn),
|
|
3986
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
3987
|
-
status: __expectString(output.status),
|
|
3988
|
-
};
|
|
3989
|
-
};
|
|
3990
|
-
const de_BatchInferenceJobConfig = (output, context) => {
|
|
3991
|
-
return {
|
|
3992
|
-
itemExplorationConfig: output.itemExplorationConfig != null ? de_HyperParameters(output.itemExplorationConfig, context) : undefined,
|
|
3993
|
-
};
|
|
3994
|
-
};
|
|
3995
|
-
const de_BatchInferenceJobInput = (output, context) => {
|
|
3996
|
-
return {
|
|
3997
|
-
s3DataSource: output.s3DataSource != null ? de_S3DataConfig(output.s3DataSource, context) : undefined,
|
|
3998
|
-
};
|
|
3999
|
-
};
|
|
4000
|
-
const de_BatchInferenceJobOutput = (output, context) => {
|
|
4001
|
-
return {
|
|
4002
|
-
s3DataDestination: output.s3DataDestination != null ? de_S3DataConfig(output.s3DataDestination, context) : undefined,
|
|
4003
|
-
};
|
|
4004
|
-
};
|
|
4005
|
-
const de_BatchInferenceJobs = (output, context) => {
|
|
4006
|
-
const retVal = (output || [])
|
|
4007
|
-
.filter((e) => e != null)
|
|
4008
|
-
.map((entry) => {
|
|
4009
|
-
if (entry === null) {
|
|
4010
|
-
return null;
|
|
4011
|
-
}
|
|
4012
|
-
return de_BatchInferenceJobSummary(entry, context);
|
|
4013
|
-
});
|
|
4014
|
-
return retVal;
|
|
4015
|
-
};
|
|
4016
|
-
const de_BatchInferenceJobSummary = (output, context) => {
|
|
4017
|
-
return {
|
|
4018
|
-
batchInferenceJobArn: __expectString(output.batchInferenceJobArn),
|
|
4019
|
-
creationDateTime: output.creationDateTime != null
|
|
4020
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4021
|
-
: undefined,
|
|
4022
|
-
failureReason: __expectString(output.failureReason),
|
|
4023
|
-
jobName: __expectString(output.jobName),
|
|
4024
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4025
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4026
|
-
: undefined,
|
|
4027
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
4028
|
-
status: __expectString(output.status),
|
|
4029
|
-
};
|
|
4030
|
-
};
|
|
4031
|
-
const de_BatchSegmentJob = (output, context) => {
|
|
4032
|
-
return {
|
|
4033
|
-
batchSegmentJobArn: __expectString(output.batchSegmentJobArn),
|
|
4034
|
-
creationDateTime: output.creationDateTime != null
|
|
4035
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4036
|
-
: undefined,
|
|
4037
|
-
failureReason: __expectString(output.failureReason),
|
|
4038
|
-
filterArn: __expectString(output.filterArn),
|
|
4039
|
-
jobInput: output.jobInput != null ? de_BatchSegmentJobInput(output.jobInput, context) : undefined,
|
|
4040
|
-
jobName: __expectString(output.jobName),
|
|
4041
|
-
jobOutput: output.jobOutput != null ? de_BatchSegmentJobOutput(output.jobOutput, context) : undefined,
|
|
4042
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4043
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4044
|
-
: undefined,
|
|
4045
|
-
numResults: __expectInt32(output.numResults),
|
|
4046
|
-
roleArn: __expectString(output.roleArn),
|
|
4047
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
4048
|
-
status: __expectString(output.status),
|
|
4049
|
-
};
|
|
4050
|
-
};
|
|
4051
|
-
const de_BatchSegmentJobInput = (output, context) => {
|
|
4052
|
-
return {
|
|
4053
|
-
s3DataSource: output.s3DataSource != null ? de_S3DataConfig(output.s3DataSource, context) : undefined,
|
|
4054
|
-
};
|
|
4055
|
-
};
|
|
4056
|
-
const de_BatchSegmentJobOutput = (output, context) => {
|
|
4057
|
-
return {
|
|
4058
|
-
s3DataDestination: output.s3DataDestination != null ? de_S3DataConfig(output.s3DataDestination, context) : undefined,
|
|
4059
|
-
};
|
|
4060
|
-
};
|
|
4061
|
-
const de_BatchSegmentJobs = (output, context) => {
|
|
4062
|
-
const retVal = (output || [])
|
|
4063
|
-
.filter((e) => e != null)
|
|
4064
|
-
.map((entry) => {
|
|
4065
|
-
if (entry === null) {
|
|
4066
|
-
return null;
|
|
4067
|
-
}
|
|
4068
|
-
return de_BatchSegmentJobSummary(entry, context);
|
|
4069
|
-
});
|
|
4070
|
-
return retVal;
|
|
4071
|
-
};
|
|
4072
|
-
const de_BatchSegmentJobSummary = (output, context) => {
|
|
4073
|
-
return {
|
|
4074
|
-
batchSegmentJobArn: __expectString(output.batchSegmentJobArn),
|
|
4075
|
-
creationDateTime: output.creationDateTime != null
|
|
4076
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4077
|
-
: undefined,
|
|
4078
|
-
failureReason: __expectString(output.failureReason),
|
|
4079
|
-
jobName: __expectString(output.jobName),
|
|
4080
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4081
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4082
|
-
: undefined,
|
|
4083
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
4084
|
-
status: __expectString(output.status),
|
|
4085
|
-
};
|
|
4086
|
-
};
|
|
4087
|
-
const de_Campaign = (output, context) => {
|
|
4088
|
-
return {
|
|
4089
|
-
campaignArn: __expectString(output.campaignArn),
|
|
4090
|
-
campaignConfig: output.campaignConfig != null ? de_CampaignConfig(output.campaignConfig, context) : undefined,
|
|
4091
|
-
creationDateTime: output.creationDateTime != null
|
|
4092
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4093
|
-
: undefined,
|
|
4094
|
-
failureReason: __expectString(output.failureReason),
|
|
4095
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4096
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4097
|
-
: undefined,
|
|
4098
|
-
latestCampaignUpdate: output.latestCampaignUpdate != null ? de_CampaignUpdateSummary(output.latestCampaignUpdate, context) : undefined,
|
|
4099
|
-
minProvisionedTPS: __expectInt32(output.minProvisionedTPS),
|
|
4100
|
-
name: __expectString(output.name),
|
|
4101
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
4102
|
-
status: __expectString(output.status),
|
|
4103
|
-
};
|
|
4104
|
-
};
|
|
4105
|
-
const de_CampaignConfig = (output, context) => {
|
|
4106
|
-
return {
|
|
4107
|
-
itemExplorationConfig: output.itemExplorationConfig != null ? de_HyperParameters(output.itemExplorationConfig, context) : undefined,
|
|
4108
|
-
};
|
|
4109
|
-
};
|
|
4110
|
-
const de_Campaigns = (output, context) => {
|
|
4111
|
-
const retVal = (output || [])
|
|
4112
|
-
.filter((e) => e != null)
|
|
4113
|
-
.map((entry) => {
|
|
4114
|
-
if (entry === null) {
|
|
4115
|
-
return null;
|
|
4116
|
-
}
|
|
4117
|
-
return de_CampaignSummary(entry, context);
|
|
4118
|
-
});
|
|
4119
|
-
return retVal;
|
|
4120
|
-
};
|
|
4121
|
-
const de_CampaignSummary = (output, context) => {
|
|
4122
|
-
return {
|
|
4123
|
-
campaignArn: __expectString(output.campaignArn),
|
|
4124
|
-
creationDateTime: output.creationDateTime != null
|
|
4125
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4126
|
-
: undefined,
|
|
4127
|
-
failureReason: __expectString(output.failureReason),
|
|
4128
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4129
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4130
|
-
: undefined,
|
|
4131
|
-
name: __expectString(output.name),
|
|
4132
|
-
status: __expectString(output.status),
|
|
4133
|
-
};
|
|
4134
|
-
};
|
|
4135
|
-
const de_CampaignUpdateSummary = (output, context) => {
|
|
4136
|
-
return {
|
|
4137
|
-
campaignConfig: output.campaignConfig != null ? de_CampaignConfig(output.campaignConfig, context) : undefined,
|
|
4138
|
-
creationDateTime: output.creationDateTime != null
|
|
4139
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4140
|
-
: undefined,
|
|
4141
|
-
failureReason: __expectString(output.failureReason),
|
|
4142
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4143
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4144
|
-
: undefined,
|
|
4145
|
-
minProvisionedTPS: __expectInt32(output.minProvisionedTPS),
|
|
4146
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
4147
|
-
status: __expectString(output.status),
|
|
4148
|
-
};
|
|
4149
|
-
};
|
|
4150
|
-
const de_CategoricalHyperParameterRange = (output, context) => {
|
|
4151
|
-
return {
|
|
4152
|
-
name: __expectString(output.name),
|
|
4153
|
-
values: output.values != null ? de_CategoricalValues(output.values, context) : undefined,
|
|
4154
|
-
};
|
|
4155
|
-
};
|
|
4156
|
-
const de_CategoricalHyperParameterRanges = (output, context) => {
|
|
4157
|
-
const retVal = (output || [])
|
|
4158
|
-
.filter((e) => e != null)
|
|
4159
|
-
.map((entry) => {
|
|
4160
|
-
if (entry === null) {
|
|
4161
|
-
return null;
|
|
4162
|
-
}
|
|
4163
|
-
return de_CategoricalHyperParameterRange(entry, context);
|
|
4164
|
-
});
|
|
4165
|
-
return retVal;
|
|
4166
|
-
};
|
|
4167
|
-
const de_CategoricalValues = (output, context) => {
|
|
4168
|
-
const retVal = (output || [])
|
|
4169
|
-
.filter((e) => e != null)
|
|
4170
|
-
.map((entry) => {
|
|
4171
|
-
if (entry === null) {
|
|
4172
|
-
return null;
|
|
4173
|
-
}
|
|
4174
|
-
return __expectString(entry);
|
|
4175
|
-
});
|
|
4176
|
-
return retVal;
|
|
4177
|
-
};
|
|
4178
|
-
const de_ContinuousHyperParameterRange = (output, context) => {
|
|
4179
|
-
return {
|
|
4180
|
-
maxValue: __limitedParseDouble(output.maxValue),
|
|
4181
|
-
minValue: __limitedParseDouble(output.minValue),
|
|
4182
|
-
name: __expectString(output.name),
|
|
4183
|
-
};
|
|
4184
|
-
};
|
|
4185
|
-
const de_ContinuousHyperParameterRanges = (output, context) => {
|
|
4186
|
-
const retVal = (output || [])
|
|
4187
|
-
.filter((e) => e != null)
|
|
4188
|
-
.map((entry) => {
|
|
4189
|
-
if (entry === null) {
|
|
4190
|
-
return null;
|
|
4191
|
-
}
|
|
4192
|
-
return de_ContinuousHyperParameterRange(entry, context);
|
|
4193
|
-
});
|
|
4194
|
-
return retVal;
|
|
4195
|
-
};
|
|
4196
|
-
const de_CreateBatchInferenceJobResponse = (output, context) => {
|
|
4197
|
-
return {
|
|
4198
|
-
batchInferenceJobArn: __expectString(output.batchInferenceJobArn),
|
|
4199
|
-
};
|
|
4200
|
-
};
|
|
4201
|
-
const de_CreateBatchSegmentJobResponse = (output, context) => {
|
|
4202
|
-
return {
|
|
4203
|
-
batchSegmentJobArn: __expectString(output.batchSegmentJobArn),
|
|
4204
|
-
};
|
|
4205
|
-
};
|
|
4206
|
-
const de_CreateCampaignResponse = (output, context) => {
|
|
4207
|
-
return {
|
|
4208
|
-
campaignArn: __expectString(output.campaignArn),
|
|
4209
|
-
};
|
|
4210
|
-
};
|
|
4211
|
-
const de_CreateDatasetExportJobResponse = (output, context) => {
|
|
4212
|
-
return {
|
|
4213
|
-
datasetExportJobArn: __expectString(output.datasetExportJobArn),
|
|
4214
|
-
};
|
|
4215
|
-
};
|
|
4216
|
-
const de_CreateDatasetGroupResponse = (output, context) => {
|
|
4217
|
-
return {
|
|
4218
|
-
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
4219
|
-
domain: __expectString(output.domain),
|
|
4220
|
-
};
|
|
4221
|
-
};
|
|
4222
|
-
const de_CreateDatasetImportJobResponse = (output, context) => {
|
|
4223
|
-
return {
|
|
4224
|
-
datasetImportJobArn: __expectString(output.datasetImportJobArn),
|
|
4225
|
-
};
|
|
4226
|
-
};
|
|
4227
|
-
const de_CreateDatasetResponse = (output, context) => {
|
|
4228
|
-
return {
|
|
4229
|
-
datasetArn: __expectString(output.datasetArn),
|
|
4230
|
-
};
|
|
4231
|
-
};
|
|
4232
|
-
const de_CreateEventTrackerResponse = (output, context) => {
|
|
4233
|
-
return {
|
|
4234
|
-
eventTrackerArn: __expectString(output.eventTrackerArn),
|
|
4235
|
-
trackingId: __expectString(output.trackingId),
|
|
4236
|
-
};
|
|
4237
|
-
};
|
|
4238
|
-
const de_CreateFilterResponse = (output, context) => {
|
|
4239
|
-
return {
|
|
4240
|
-
filterArn: __expectString(output.filterArn),
|
|
4241
|
-
};
|
|
4242
|
-
};
|
|
4243
|
-
const de_CreateMetricAttributionResponse = (output, context) => {
|
|
4244
|
-
return {
|
|
4245
|
-
metricAttributionArn: __expectString(output.metricAttributionArn),
|
|
4246
|
-
};
|
|
4247
|
-
};
|
|
4248
|
-
const de_CreateRecommenderResponse = (output, context) => {
|
|
4249
|
-
return {
|
|
4250
|
-
recommenderArn: __expectString(output.recommenderArn),
|
|
4251
|
-
};
|
|
4252
|
-
};
|
|
4253
|
-
const de_CreateSchemaResponse = (output, context) => {
|
|
4254
|
-
return {
|
|
4255
|
-
schemaArn: __expectString(output.schemaArn),
|
|
4256
|
-
};
|
|
4257
|
-
};
|
|
4258
|
-
const de_CreateSolutionResponse = (output, context) => {
|
|
4259
|
-
return {
|
|
4260
|
-
solutionArn: __expectString(output.solutionArn),
|
|
4261
|
-
};
|
|
4262
|
-
};
|
|
4263
|
-
const de_CreateSolutionVersionResponse = (output, context) => {
|
|
4264
|
-
return {
|
|
4265
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
4266
|
-
};
|
|
4267
|
-
};
|
|
4268
|
-
const de_Dataset = (output, context) => {
|
|
4269
|
-
return {
|
|
4270
|
-
creationDateTime: output.creationDateTime != null
|
|
4271
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4272
|
-
: undefined,
|
|
4273
|
-
datasetArn: __expectString(output.datasetArn),
|
|
4274
|
-
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
4275
|
-
datasetType: __expectString(output.datasetType),
|
|
4276
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4277
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4278
|
-
: undefined,
|
|
4279
|
-
name: __expectString(output.name),
|
|
4280
|
-
schemaArn: __expectString(output.schemaArn),
|
|
4281
|
-
status: __expectString(output.status),
|
|
4282
|
-
};
|
|
4283
|
-
};
|
|
4284
|
-
const de_DatasetExportJob = (output, context) => {
|
|
4285
|
-
return {
|
|
4286
|
-
creationDateTime: output.creationDateTime != null
|
|
4287
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4288
|
-
: undefined,
|
|
4289
|
-
datasetArn: __expectString(output.datasetArn),
|
|
4290
|
-
datasetExportJobArn: __expectString(output.datasetExportJobArn),
|
|
4291
|
-
failureReason: __expectString(output.failureReason),
|
|
4292
|
-
ingestionMode: __expectString(output.ingestionMode),
|
|
4293
|
-
jobName: __expectString(output.jobName),
|
|
4294
|
-
jobOutput: output.jobOutput != null ? de_DatasetExportJobOutput(output.jobOutput, context) : undefined,
|
|
4295
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4296
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4297
|
-
: undefined,
|
|
4298
|
-
roleArn: __expectString(output.roleArn),
|
|
4299
|
-
status: __expectString(output.status),
|
|
4300
|
-
};
|
|
4301
|
-
};
|
|
4302
|
-
const de_DatasetExportJobOutput = (output, context) => {
|
|
4303
|
-
return {
|
|
4304
|
-
s3DataDestination: output.s3DataDestination != null ? de_S3DataConfig(output.s3DataDestination, context) : undefined,
|
|
4305
|
-
};
|
|
4306
|
-
};
|
|
4307
|
-
const de_DatasetExportJobs = (output, context) => {
|
|
4308
|
-
const retVal = (output || [])
|
|
4309
|
-
.filter((e) => e != null)
|
|
4310
|
-
.map((entry) => {
|
|
4311
|
-
if (entry === null) {
|
|
4312
|
-
return null;
|
|
4313
|
-
}
|
|
4314
|
-
return de_DatasetExportJobSummary(entry, context);
|
|
4315
|
-
});
|
|
4316
|
-
return retVal;
|
|
4317
|
-
};
|
|
4318
|
-
const de_DatasetExportJobSummary = (output, context) => {
|
|
4319
|
-
return {
|
|
4320
|
-
creationDateTime: output.creationDateTime != null
|
|
4321
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4322
|
-
: undefined,
|
|
4323
|
-
datasetExportJobArn: __expectString(output.datasetExportJobArn),
|
|
4324
|
-
failureReason: __expectString(output.failureReason),
|
|
4325
|
-
jobName: __expectString(output.jobName),
|
|
4326
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4327
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4328
|
-
: undefined,
|
|
4329
|
-
status: __expectString(output.status),
|
|
4330
|
-
};
|
|
4331
|
-
};
|
|
4332
|
-
const de_DatasetGroup = (output, context) => {
|
|
4333
|
-
return {
|
|
4334
|
-
creationDateTime: output.creationDateTime != null
|
|
4335
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4336
|
-
: undefined,
|
|
4337
|
-
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
4338
|
-
domain: __expectString(output.domain),
|
|
4339
|
-
failureReason: __expectString(output.failureReason),
|
|
4340
|
-
kmsKeyArn: __expectString(output.kmsKeyArn),
|
|
4341
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4342
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4343
|
-
: undefined,
|
|
4344
|
-
name: __expectString(output.name),
|
|
4345
|
-
roleArn: __expectString(output.roleArn),
|
|
4346
|
-
status: __expectString(output.status),
|
|
4347
|
-
};
|
|
3203
|
+
const de_DatasetGroup = (output, context) => {
|
|
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
|
+
});
|
|
4348
3215
|
};
|
|
4349
3216
|
const de_DatasetGroups = (output, context) => {
|
|
4350
3217
|
const retVal = (output || [])
|
|
4351
3218
|
.filter((e) => e != null)
|
|
4352
3219
|
.map((entry) => {
|
|
4353
|
-
if (entry === null) {
|
|
4354
|
-
return null;
|
|
4355
|
-
}
|
|
4356
3220
|
return de_DatasetGroupSummary(entry, context);
|
|
4357
3221
|
});
|
|
4358
3222
|
return retVal;
|
|
4359
3223
|
};
|
|
4360
3224
|
const de_DatasetGroupSummary = (output, context) => {
|
|
4361
|
-
return {
|
|
4362
|
-
creationDateTime:
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
: undefined,
|
|
4371
|
-
name: __expectString(output.name),
|
|
4372
|
-
status: __expectString(output.status),
|
|
4373
|
-
};
|
|
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
|
+
});
|
|
4374
3234
|
};
|
|
4375
3235
|
const de_DatasetImportJob = (output, context) => {
|
|
4376
|
-
return {
|
|
4377
|
-
creationDateTime:
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
publishAttributionMetricsToS3: __expectBoolean(output.publishAttributionMetricsToS3),
|
|
4390
|
-
roleArn: __expectString(output.roleArn),
|
|
4391
|
-
status: __expectString(output.status),
|
|
4392
|
-
};
|
|
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
|
+
});
|
|
4393
3249
|
};
|
|
4394
3250
|
const de_DatasetImportJobs = (output, context) => {
|
|
4395
3251
|
const retVal = (output || [])
|
|
4396
3252
|
.filter((e) => e != null)
|
|
4397
3253
|
.map((entry) => {
|
|
4398
|
-
if (entry === null) {
|
|
4399
|
-
return null;
|
|
4400
|
-
}
|
|
4401
3254
|
return de_DatasetImportJobSummary(entry, context);
|
|
4402
3255
|
});
|
|
4403
3256
|
return retVal;
|
|
4404
3257
|
};
|
|
4405
3258
|
const de_DatasetImportJobSummary = (output, context) => {
|
|
4406
|
-
return {
|
|
4407
|
-
creationDateTime:
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4416
|
-
: undefined,
|
|
4417
|
-
status: __expectString(output.status),
|
|
4418
|
-
};
|
|
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
|
+
});
|
|
4419
3268
|
};
|
|
4420
3269
|
const de_Datasets = (output, context) => {
|
|
4421
3270
|
const retVal = (output || [])
|
|
4422
3271
|
.filter((e) => e != null)
|
|
4423
3272
|
.map((entry) => {
|
|
4424
|
-
if (entry === null) {
|
|
4425
|
-
return null;
|
|
4426
|
-
}
|
|
4427
3273
|
return de_DatasetSummary(entry, context);
|
|
4428
3274
|
});
|
|
4429
3275
|
return retVal;
|
|
4430
3276
|
};
|
|
4431
3277
|
const de_DatasetSchema = (output, context) => {
|
|
4432
|
-
return {
|
|
4433
|
-
creationDateTime:
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
name: __expectString(output.name),
|
|
4441
|
-
schema: __expectString(output.schema),
|
|
4442
|
-
schemaArn: __expectString(output.schemaArn),
|
|
4443
|
-
};
|
|
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
|
+
});
|
|
4444
3286
|
};
|
|
4445
3287
|
const de_DatasetSchemaSummary = (output, context) => {
|
|
4446
|
-
return {
|
|
4447
|
-
creationDateTime:
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
: undefined,
|
|
4454
|
-
name: __expectString(output.name),
|
|
4455
|
-
schemaArn: __expectString(output.schemaArn),
|
|
4456
|
-
};
|
|
3288
|
+
return take(output, {
|
|
3289
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3290
|
+
domain: __expectString,
|
|
3291
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3292
|
+
name: __expectString,
|
|
3293
|
+
schemaArn: __expectString,
|
|
3294
|
+
});
|
|
4457
3295
|
};
|
|
4458
3296
|
const de_DatasetSummary = (output, context) => {
|
|
4459
|
-
return {
|
|
4460
|
-
creationDateTime:
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4467
|
-
: undefined,
|
|
4468
|
-
name: __expectString(output.name),
|
|
4469
|
-
status: __expectString(output.status),
|
|
4470
|
-
};
|
|
4471
|
-
};
|
|
4472
|
-
const de_DataSource = (output, context) => {
|
|
4473
|
-
return {
|
|
4474
|
-
dataLocation: __expectString(output.dataLocation),
|
|
4475
|
-
};
|
|
4476
|
-
};
|
|
4477
|
-
const de_DefaultCategoricalHyperParameterRange = (output, context) => {
|
|
4478
|
-
return {
|
|
4479
|
-
isTunable: __expectBoolean(output.isTunable),
|
|
4480
|
-
name: __expectString(output.name),
|
|
4481
|
-
values: output.values != null ? de_CategoricalValues(output.values, context) : undefined,
|
|
4482
|
-
};
|
|
4483
|
-
};
|
|
4484
|
-
const de_DefaultCategoricalHyperParameterRanges = (output, context) => {
|
|
4485
|
-
const retVal = (output || [])
|
|
4486
|
-
.filter((e) => e != null)
|
|
4487
|
-
.map((entry) => {
|
|
4488
|
-
if (entry === null) {
|
|
4489
|
-
return null;
|
|
4490
|
-
}
|
|
4491
|
-
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,
|
|
4492
3304
|
});
|
|
4493
|
-
return retVal;
|
|
4494
3305
|
};
|
|
4495
3306
|
const de_DefaultContinuousHyperParameterRange = (output, context) => {
|
|
4496
|
-
return {
|
|
4497
|
-
isTunable: __expectBoolean
|
|
4498
|
-
maxValue: __limitedParseDouble
|
|
4499
|
-
minValue: __limitedParseDouble
|
|
4500
|
-
name: __expectString
|
|
4501
|
-
};
|
|
3307
|
+
return take(output, {
|
|
3308
|
+
isTunable: __expectBoolean,
|
|
3309
|
+
maxValue: __limitedParseDouble,
|
|
3310
|
+
minValue: __limitedParseDouble,
|
|
3311
|
+
name: __expectString,
|
|
3312
|
+
});
|
|
4502
3313
|
};
|
|
4503
3314
|
const de_DefaultContinuousHyperParameterRanges = (output, context) => {
|
|
4504
3315
|
const retVal = (output || [])
|
|
4505
3316
|
.filter((e) => e != null)
|
|
4506
3317
|
.map((entry) => {
|
|
4507
|
-
if (entry === null) {
|
|
4508
|
-
return null;
|
|
4509
|
-
}
|
|
4510
3318
|
return de_DefaultContinuousHyperParameterRange(entry, context);
|
|
4511
3319
|
});
|
|
4512
3320
|
return retVal;
|
|
4513
3321
|
};
|
|
4514
3322
|
const de_DefaultHyperParameterRanges = (output, context) => {
|
|
4515
|
-
return {
|
|
4516
|
-
categoricalHyperParameterRanges:
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
continuousHyperParameterRanges: output.continuousHyperParameterRanges != null
|
|
4520
|
-
? de_DefaultContinuousHyperParameterRanges(output.continuousHyperParameterRanges, context)
|
|
4521
|
-
: undefined,
|
|
4522
|
-
integerHyperParameterRanges: output.integerHyperParameterRanges != null
|
|
4523
|
-
? de_DefaultIntegerHyperParameterRanges(output.integerHyperParameterRanges, context)
|
|
4524
|
-
: undefined,
|
|
4525
|
-
};
|
|
4526
|
-
};
|
|
4527
|
-
const de_DefaultIntegerHyperParameterRange = (output, context) => {
|
|
4528
|
-
return {
|
|
4529
|
-
isTunable: __expectBoolean(output.isTunable),
|
|
4530
|
-
maxValue: __expectInt32(output.maxValue),
|
|
4531
|
-
minValue: __expectInt32(output.minValue),
|
|
4532
|
-
name: __expectString(output.name),
|
|
4533
|
-
};
|
|
4534
|
-
};
|
|
4535
|
-
const de_DefaultIntegerHyperParameterRanges = (output, context) => {
|
|
4536
|
-
const retVal = (output || [])
|
|
4537
|
-
.filter((e) => e != null)
|
|
4538
|
-
.map((entry) => {
|
|
4539
|
-
if (entry === null) {
|
|
4540
|
-
return null;
|
|
4541
|
-
}
|
|
4542
|
-
return de_DefaultIntegerHyperParameterRange(entry, context);
|
|
3323
|
+
return take(output, {
|
|
3324
|
+
categoricalHyperParameterRanges: _json,
|
|
3325
|
+
continuousHyperParameterRanges: (_) => de_DefaultContinuousHyperParameterRanges(_, context),
|
|
3326
|
+
integerHyperParameterRanges: _json,
|
|
4543
3327
|
});
|
|
4544
|
-
return retVal;
|
|
4545
3328
|
};
|
|
4546
3329
|
const de_DescribeAlgorithmResponse = (output, context) => {
|
|
4547
|
-
return {
|
|
4548
|
-
algorithm:
|
|
4549
|
-
};
|
|
3330
|
+
return take(output, {
|
|
3331
|
+
algorithm: (_) => de_Algorithm(_, context),
|
|
3332
|
+
});
|
|
4550
3333
|
};
|
|
4551
3334
|
const de_DescribeBatchInferenceJobResponse = (output, context) => {
|
|
4552
|
-
return {
|
|
4553
|
-
batchInferenceJob:
|
|
4554
|
-
};
|
|
3335
|
+
return take(output, {
|
|
3336
|
+
batchInferenceJob: (_) => de_BatchInferenceJob(_, context),
|
|
3337
|
+
});
|
|
4555
3338
|
};
|
|
4556
3339
|
const de_DescribeBatchSegmentJobResponse = (output, context) => {
|
|
4557
|
-
return {
|
|
4558
|
-
batchSegmentJob:
|
|
4559
|
-
};
|
|
3340
|
+
return take(output, {
|
|
3341
|
+
batchSegmentJob: (_) => de_BatchSegmentJob(_, context),
|
|
3342
|
+
});
|
|
4560
3343
|
};
|
|
4561
3344
|
const de_DescribeCampaignResponse = (output, context) => {
|
|
4562
|
-
return {
|
|
4563
|
-
campaign:
|
|
4564
|
-
};
|
|
3345
|
+
return take(output, {
|
|
3346
|
+
campaign: (_) => de_Campaign(_, context),
|
|
3347
|
+
});
|
|
4565
3348
|
};
|
|
4566
3349
|
const de_DescribeDatasetExportJobResponse = (output, context) => {
|
|
4567
|
-
return {
|
|
4568
|
-
datasetExportJob:
|
|
4569
|
-
};
|
|
3350
|
+
return take(output, {
|
|
3351
|
+
datasetExportJob: (_) => de_DatasetExportJob(_, context),
|
|
3352
|
+
});
|
|
4570
3353
|
};
|
|
4571
3354
|
const de_DescribeDatasetGroupResponse = (output, context) => {
|
|
4572
|
-
return {
|
|
4573
|
-
datasetGroup:
|
|
4574
|
-
};
|
|
3355
|
+
return take(output, {
|
|
3356
|
+
datasetGroup: (_) => de_DatasetGroup(_, context),
|
|
3357
|
+
});
|
|
4575
3358
|
};
|
|
4576
3359
|
const de_DescribeDatasetImportJobResponse = (output, context) => {
|
|
4577
|
-
return {
|
|
4578
|
-
datasetImportJob:
|
|
4579
|
-
};
|
|
3360
|
+
return take(output, {
|
|
3361
|
+
datasetImportJob: (_) => de_DatasetImportJob(_, context),
|
|
3362
|
+
});
|
|
4580
3363
|
};
|
|
4581
3364
|
const de_DescribeDatasetResponse = (output, context) => {
|
|
4582
|
-
return {
|
|
4583
|
-
dataset:
|
|
4584
|
-
};
|
|
3365
|
+
return take(output, {
|
|
3366
|
+
dataset: (_) => de_Dataset(_, context),
|
|
3367
|
+
});
|
|
4585
3368
|
};
|
|
4586
3369
|
const de_DescribeEventTrackerResponse = (output, context) => {
|
|
4587
|
-
return {
|
|
4588
|
-
eventTracker:
|
|
4589
|
-
};
|
|
3370
|
+
return take(output, {
|
|
3371
|
+
eventTracker: (_) => de_EventTracker(_, context),
|
|
3372
|
+
});
|
|
4590
3373
|
};
|
|
4591
3374
|
const de_DescribeFeatureTransformationResponse = (output, context) => {
|
|
4592
|
-
return {
|
|
4593
|
-
featureTransformation:
|
|
4594
|
-
|
|
4595
|
-
: undefined,
|
|
4596
|
-
};
|
|
3375
|
+
return take(output, {
|
|
3376
|
+
featureTransformation: (_) => de_FeatureTransformation(_, context),
|
|
3377
|
+
});
|
|
4597
3378
|
};
|
|
4598
3379
|
const de_DescribeFilterResponse = (output, context) => {
|
|
4599
|
-
return {
|
|
4600
|
-
filter:
|
|
4601
|
-
};
|
|
3380
|
+
return take(output, {
|
|
3381
|
+
filter: (_) => de_Filter(_, context),
|
|
3382
|
+
});
|
|
4602
3383
|
};
|
|
4603
3384
|
const de_DescribeMetricAttributionResponse = (output, context) => {
|
|
4604
|
-
return {
|
|
4605
|
-
metricAttribution:
|
|
4606
|
-
};
|
|
3385
|
+
return take(output, {
|
|
3386
|
+
metricAttribution: (_) => de_MetricAttribution(_, context),
|
|
3387
|
+
});
|
|
4607
3388
|
};
|
|
4608
3389
|
const de_DescribeRecipeResponse = (output, context) => {
|
|
4609
|
-
return {
|
|
4610
|
-
recipe:
|
|
4611
|
-
};
|
|
3390
|
+
return take(output, {
|
|
3391
|
+
recipe: (_) => de_Recipe(_, context),
|
|
3392
|
+
});
|
|
4612
3393
|
};
|
|
4613
3394
|
const de_DescribeRecommenderResponse = (output, context) => {
|
|
4614
|
-
return {
|
|
4615
|
-
recommender:
|
|
4616
|
-
};
|
|
3395
|
+
return take(output, {
|
|
3396
|
+
recommender: (_) => de_Recommender(_, context),
|
|
3397
|
+
});
|
|
4617
3398
|
};
|
|
4618
3399
|
const de_DescribeSchemaResponse = (output, context) => {
|
|
4619
|
-
return {
|
|
4620
|
-
schema:
|
|
4621
|
-
};
|
|
3400
|
+
return take(output, {
|
|
3401
|
+
schema: (_) => de_DatasetSchema(_, context),
|
|
3402
|
+
});
|
|
4622
3403
|
};
|
|
4623
3404
|
const de_DescribeSolutionResponse = (output, context) => {
|
|
4624
|
-
return {
|
|
4625
|
-
solution:
|
|
4626
|
-
};
|
|
3405
|
+
return take(output, {
|
|
3406
|
+
solution: (_) => de_Solution(_, context),
|
|
3407
|
+
});
|
|
4627
3408
|
};
|
|
4628
3409
|
const de_DescribeSolutionVersionResponse = (output, context) => {
|
|
4629
|
-
return {
|
|
4630
|
-
solutionVersion:
|
|
4631
|
-
};
|
|
3410
|
+
return take(output, {
|
|
3411
|
+
solutionVersion: (_) => de_SolutionVersion(_, context),
|
|
3412
|
+
});
|
|
4632
3413
|
};
|
|
4633
3414
|
const de_EventTracker = (output, context) => {
|
|
4634
|
-
return {
|
|
4635
|
-
accountId: __expectString
|
|
4636
|
-
creationDateTime:
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
name: __expectString(output.name),
|
|
4645
|
-
status: __expectString(output.status),
|
|
4646
|
-
trackingId: __expectString(output.trackingId),
|
|
4647
|
-
};
|
|
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
|
+
});
|
|
4648
3425
|
};
|
|
4649
3426
|
const de_EventTrackers = (output, context) => {
|
|
4650
3427
|
const retVal = (output || [])
|
|
4651
3428
|
.filter((e) => e != null)
|
|
4652
3429
|
.map((entry) => {
|
|
4653
|
-
if (entry === null) {
|
|
4654
|
-
return null;
|
|
4655
|
-
}
|
|
4656
3430
|
return de_EventTrackerSummary(entry, context);
|
|
4657
3431
|
});
|
|
4658
3432
|
return retVal;
|
|
4659
3433
|
};
|
|
4660
3434
|
const de_EventTrackerSummary = (output, context) => {
|
|
4661
|
-
return {
|
|
4662
|
-
creationDateTime:
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
: undefined,
|
|
4669
|
-
name: __expectString(output.name),
|
|
4670
|
-
status: __expectString(output.status),
|
|
4671
|
-
};
|
|
3435
|
+
return take(output, {
|
|
3436
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3437
|
+
eventTrackerArn: __expectString,
|
|
3438
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3439
|
+
name: __expectString,
|
|
3440
|
+
status: __expectString,
|
|
3441
|
+
});
|
|
4672
3442
|
};
|
|
4673
3443
|
const de_FeatureTransformation = (output, context) => {
|
|
4674
|
-
return {
|
|
4675
|
-
creationDateTime:
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
: undefined,
|
|
4683
|
-
name: __expectString(output.name),
|
|
4684
|
-
status: __expectString(output.status),
|
|
4685
|
-
};
|
|
4686
|
-
};
|
|
4687
|
-
const de_FeatureTransformationParameters = (output, context) => {
|
|
4688
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4689
|
-
if (value === null) {
|
|
4690
|
-
return acc;
|
|
4691
|
-
}
|
|
4692
|
-
acc[key] = __expectString(value);
|
|
4693
|
-
return acc;
|
|
4694
|
-
}, {});
|
|
4695
|
-
};
|
|
4696
|
-
const de_FeaturizationParameters = (output, context) => {
|
|
4697
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4698
|
-
if (value === null) {
|
|
4699
|
-
return acc;
|
|
4700
|
-
}
|
|
4701
|
-
acc[key] = __expectString(value);
|
|
4702
|
-
return acc;
|
|
4703
|
-
}, {});
|
|
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
|
+
});
|
|
4704
3452
|
};
|
|
4705
3453
|
const de_Filter = (output, context) => {
|
|
4706
|
-
return {
|
|
4707
|
-
creationDateTime:
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
: undefined,
|
|
4717
|
-
name: __expectString(output.name),
|
|
4718
|
-
status: __expectString(output.status),
|
|
4719
|
-
};
|
|
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
|
+
});
|
|
4720
3464
|
};
|
|
4721
3465
|
const de_Filters = (output, context) => {
|
|
4722
3466
|
const retVal = (output || [])
|
|
4723
3467
|
.filter((e) => e != null)
|
|
4724
3468
|
.map((entry) => {
|
|
4725
|
-
if (entry === null) {
|
|
4726
|
-
return null;
|
|
4727
|
-
}
|
|
4728
3469
|
return de_FilterSummary(entry, context);
|
|
4729
3470
|
});
|
|
4730
3471
|
return retVal;
|
|
4731
3472
|
};
|
|
4732
3473
|
const de_FilterSummary = (output, context) => {
|
|
4733
|
-
return {
|
|
4734
|
-
creationDateTime:
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
: undefined,
|
|
4743
|
-
name: __expectString(output.name),
|
|
4744
|
-
status: __expectString(output.status),
|
|
4745
|
-
};
|
|
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
|
+
});
|
|
4746
3483
|
};
|
|
4747
3484
|
const de_GetSolutionMetricsResponse = (output, context) => {
|
|
4748
|
-
return {
|
|
4749
|
-
metrics:
|
|
4750
|
-
solutionVersionArn: __expectString
|
|
4751
|
-
};
|
|
3485
|
+
return take(output, {
|
|
3486
|
+
metrics: (_) => de_Metrics(_, context),
|
|
3487
|
+
solutionVersionArn: __expectString,
|
|
3488
|
+
});
|
|
4752
3489
|
};
|
|
4753
3490
|
const de_HPOConfig = (output, context) => {
|
|
4754
|
-
return {
|
|
4755
|
-
algorithmHyperParameterRanges:
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
hpoResourceConfig: output.hpoResourceConfig != null ? de_HPOResourceConfig(output.hpoResourceConfig, context) : undefined,
|
|
4760
|
-
};
|
|
4761
|
-
};
|
|
4762
|
-
const de_HPOObjective = (output, context) => {
|
|
4763
|
-
return {
|
|
4764
|
-
metricName: __expectString(output.metricName),
|
|
4765
|
-
metricRegex: __expectString(output.metricRegex),
|
|
4766
|
-
type: __expectString(output.type),
|
|
4767
|
-
};
|
|
4768
|
-
};
|
|
4769
|
-
const de_HPOResourceConfig = (output, context) => {
|
|
4770
|
-
return {
|
|
4771
|
-
maxNumberOfTrainingJobs: __expectString(output.maxNumberOfTrainingJobs),
|
|
4772
|
-
maxParallelTrainingJobs: __expectString(output.maxParallelTrainingJobs),
|
|
4773
|
-
};
|
|
3491
|
+
return take(output, {
|
|
3492
|
+
algorithmHyperParameterRanges: (_) => de_HyperParameterRanges(_, context),
|
|
3493
|
+
hpoObjective: _json,
|
|
3494
|
+
hpoResourceConfig: _json,
|
|
3495
|
+
});
|
|
4774
3496
|
};
|
|
4775
3497
|
const de_HyperParameterRanges = (output, context) => {
|
|
4776
|
-
return {
|
|
4777
|
-
categoricalHyperParameterRanges:
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
continuousHyperParameterRanges: output.continuousHyperParameterRanges != null
|
|
4781
|
-
? de_ContinuousHyperParameterRanges(output.continuousHyperParameterRanges, context)
|
|
4782
|
-
: undefined,
|
|
4783
|
-
integerHyperParameterRanges: output.integerHyperParameterRanges != null
|
|
4784
|
-
? de_IntegerHyperParameterRanges(output.integerHyperParameterRanges, context)
|
|
4785
|
-
: undefined,
|
|
4786
|
-
};
|
|
4787
|
-
};
|
|
4788
|
-
const de_HyperParameters = (output, context) => {
|
|
4789
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4790
|
-
if (value === null) {
|
|
4791
|
-
return acc;
|
|
4792
|
-
}
|
|
4793
|
-
acc[key] = __expectString(value);
|
|
4794
|
-
return acc;
|
|
4795
|
-
}, {});
|
|
4796
|
-
};
|
|
4797
|
-
const de_IntegerHyperParameterRange = (output, context) => {
|
|
4798
|
-
return {
|
|
4799
|
-
maxValue: __expectInt32(output.maxValue),
|
|
4800
|
-
minValue: __expectInt32(output.minValue),
|
|
4801
|
-
name: __expectString(output.name),
|
|
4802
|
-
};
|
|
4803
|
-
};
|
|
4804
|
-
const de_IntegerHyperParameterRanges = (output, context) => {
|
|
4805
|
-
const retVal = (output || [])
|
|
4806
|
-
.filter((e) => e != null)
|
|
4807
|
-
.map((entry) => {
|
|
4808
|
-
if (entry === null) {
|
|
4809
|
-
return null;
|
|
4810
|
-
}
|
|
4811
|
-
return de_IntegerHyperParameterRange(entry, context);
|
|
3498
|
+
return take(output, {
|
|
3499
|
+
categoricalHyperParameterRanges: _json,
|
|
3500
|
+
continuousHyperParameterRanges: (_) => de_ContinuousHyperParameterRanges(_, context),
|
|
3501
|
+
integerHyperParameterRanges: _json,
|
|
4812
3502
|
});
|
|
4813
|
-
return retVal;
|
|
4814
|
-
};
|
|
4815
|
-
const de_InvalidInputException = (output, context) => {
|
|
4816
|
-
return {
|
|
4817
|
-
message: __expectString(output.message),
|
|
4818
|
-
};
|
|
4819
|
-
};
|
|
4820
|
-
const de_InvalidNextTokenException = (output, context) => {
|
|
4821
|
-
return {
|
|
4822
|
-
message: __expectString(output.message),
|
|
4823
|
-
};
|
|
4824
|
-
};
|
|
4825
|
-
const de_LimitExceededException = (output, context) => {
|
|
4826
|
-
return {
|
|
4827
|
-
message: __expectString(output.message),
|
|
4828
|
-
};
|
|
4829
3503
|
};
|
|
4830
3504
|
const de_ListBatchInferenceJobsResponse = (output, context) => {
|
|
4831
|
-
return {
|
|
4832
|
-
batchInferenceJobs:
|
|
4833
|
-
nextToken: __expectString
|
|
4834
|
-
};
|
|
3505
|
+
return take(output, {
|
|
3506
|
+
batchInferenceJobs: (_) => de_BatchInferenceJobs(_, context),
|
|
3507
|
+
nextToken: __expectString,
|
|
3508
|
+
});
|
|
4835
3509
|
};
|
|
4836
3510
|
const de_ListBatchSegmentJobsResponse = (output, context) => {
|
|
4837
|
-
return {
|
|
4838
|
-
batchSegmentJobs:
|
|
4839
|
-
nextToken: __expectString
|
|
4840
|
-
};
|
|
3511
|
+
return take(output, {
|
|
3512
|
+
batchSegmentJobs: (_) => de_BatchSegmentJobs(_, context),
|
|
3513
|
+
nextToken: __expectString,
|
|
3514
|
+
});
|
|
4841
3515
|
};
|
|
4842
3516
|
const de_ListCampaignsResponse = (output, context) => {
|
|
4843
|
-
return {
|
|
4844
|
-
campaigns:
|
|
4845
|
-
nextToken: __expectString
|
|
4846
|
-
};
|
|
3517
|
+
return take(output, {
|
|
3518
|
+
campaigns: (_) => de_Campaigns(_, context),
|
|
3519
|
+
nextToken: __expectString,
|
|
3520
|
+
});
|
|
4847
3521
|
};
|
|
4848
3522
|
const de_ListDatasetExportJobsResponse = (output, context) => {
|
|
4849
|
-
return {
|
|
4850
|
-
datasetExportJobs:
|
|
4851
|
-
nextToken: __expectString
|
|
4852
|
-
};
|
|
3523
|
+
return take(output, {
|
|
3524
|
+
datasetExportJobs: (_) => de_DatasetExportJobs(_, context),
|
|
3525
|
+
nextToken: __expectString,
|
|
3526
|
+
});
|
|
4853
3527
|
};
|
|
4854
3528
|
const de_ListDatasetGroupsResponse = (output, context) => {
|
|
4855
|
-
return {
|
|
4856
|
-
datasetGroups:
|
|
4857
|
-
nextToken: __expectString
|
|
4858
|
-
};
|
|
3529
|
+
return take(output, {
|
|
3530
|
+
datasetGroups: (_) => de_DatasetGroups(_, context),
|
|
3531
|
+
nextToken: __expectString,
|
|
3532
|
+
});
|
|
4859
3533
|
};
|
|
4860
3534
|
const de_ListDatasetImportJobsResponse = (output, context) => {
|
|
4861
|
-
return {
|
|
4862
|
-
datasetImportJobs:
|
|
4863
|
-
nextToken: __expectString
|
|
4864
|
-
};
|
|
3535
|
+
return take(output, {
|
|
3536
|
+
datasetImportJobs: (_) => de_DatasetImportJobs(_, context),
|
|
3537
|
+
nextToken: __expectString,
|
|
3538
|
+
});
|
|
4865
3539
|
};
|
|
4866
3540
|
const de_ListDatasetsResponse = (output, context) => {
|
|
4867
|
-
return {
|
|
4868
|
-
datasets:
|
|
4869
|
-
nextToken: __expectString
|
|
4870
|
-
};
|
|
3541
|
+
return take(output, {
|
|
3542
|
+
datasets: (_) => de_Datasets(_, context),
|
|
3543
|
+
nextToken: __expectString,
|
|
3544
|
+
});
|
|
4871
3545
|
};
|
|
4872
3546
|
const de_ListEventTrackersResponse = (output, context) => {
|
|
4873
|
-
return {
|
|
4874
|
-
eventTrackers:
|
|
4875
|
-
nextToken: __expectString
|
|
4876
|
-
};
|
|
3547
|
+
return take(output, {
|
|
3548
|
+
eventTrackers: (_) => de_EventTrackers(_, context),
|
|
3549
|
+
nextToken: __expectString,
|
|
3550
|
+
});
|
|
4877
3551
|
};
|
|
4878
3552
|
const de_ListFiltersResponse = (output, context) => {
|
|
4879
|
-
return {
|
|
4880
|
-
Filters:
|
|
4881
|
-
nextToken: __expectString
|
|
4882
|
-
};
|
|
4883
|
-
};
|
|
4884
|
-
const de_ListMetricAttributionMetricsResponse = (output, context) => {
|
|
4885
|
-
return {
|
|
4886
|
-
metrics: output.metrics != null ? de_MetricAttributes(output.metrics, context) : undefined,
|
|
4887
|
-
nextToken: __expectString(output.nextToken),
|
|
4888
|
-
};
|
|
3553
|
+
return take(output, {
|
|
3554
|
+
Filters: (_) => de_Filters(_, context),
|
|
3555
|
+
nextToken: __expectString,
|
|
3556
|
+
});
|
|
4889
3557
|
};
|
|
4890
3558
|
const de_ListMetricAttributionsResponse = (output, context) => {
|
|
4891
|
-
return {
|
|
4892
|
-
metricAttributions:
|
|
4893
|
-
nextToken: __expectString
|
|
4894
|
-
};
|
|
3559
|
+
return take(output, {
|
|
3560
|
+
metricAttributions: (_) => de_MetricAttributions(_, context),
|
|
3561
|
+
nextToken: __expectString,
|
|
3562
|
+
});
|
|
4895
3563
|
};
|
|
4896
3564
|
const de_ListRecipesResponse = (output, context) => {
|
|
4897
|
-
return {
|
|
4898
|
-
nextToken: __expectString
|
|
4899
|
-
recipes:
|
|
4900
|
-
};
|
|
3565
|
+
return take(output, {
|
|
3566
|
+
nextToken: __expectString,
|
|
3567
|
+
recipes: (_) => de_Recipes(_, context),
|
|
3568
|
+
});
|
|
4901
3569
|
};
|
|
4902
3570
|
const de_ListRecommendersResponse = (output, context) => {
|
|
4903
|
-
return {
|
|
4904
|
-
nextToken: __expectString
|
|
4905
|
-
recommenders:
|
|
4906
|
-
};
|
|
3571
|
+
return take(output, {
|
|
3572
|
+
nextToken: __expectString,
|
|
3573
|
+
recommenders: (_) => de_Recommenders(_, context),
|
|
3574
|
+
});
|
|
4907
3575
|
};
|
|
4908
3576
|
const de_ListSchemasResponse = (output, context) => {
|
|
4909
|
-
return {
|
|
4910
|
-
nextToken: __expectString
|
|
4911
|
-
schemas:
|
|
4912
|
-
};
|
|
3577
|
+
return take(output, {
|
|
3578
|
+
nextToken: __expectString,
|
|
3579
|
+
schemas: (_) => de_Schemas(_, context),
|
|
3580
|
+
});
|
|
4913
3581
|
};
|
|
4914
3582
|
const de_ListSolutionsResponse = (output, context) => {
|
|
4915
|
-
return {
|
|
4916
|
-
nextToken: __expectString
|
|
4917
|
-
solutions:
|
|
4918
|
-
};
|
|
3583
|
+
return take(output, {
|
|
3584
|
+
nextToken: __expectString,
|
|
3585
|
+
solutions: (_) => de_Solutions(_, context),
|
|
3586
|
+
});
|
|
4919
3587
|
};
|
|
4920
3588
|
const de_ListSolutionVersionsResponse = (output, context) => {
|
|
4921
|
-
return {
|
|
4922
|
-
nextToken: __expectString
|
|
4923
|
-
solutionVersions:
|
|
4924
|
-
};
|
|
4925
|
-
};
|
|
4926
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
4927
|
-
return {
|
|
4928
|
-
tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
|
|
4929
|
-
};
|
|
4930
|
-
};
|
|
4931
|
-
const de_MetricAttribute = (output, context) => {
|
|
4932
|
-
return {
|
|
4933
|
-
eventType: __expectString(output.eventType),
|
|
4934
|
-
expression: __expectString(output.expression),
|
|
4935
|
-
metricName: __expectString(output.metricName),
|
|
4936
|
-
};
|
|
4937
|
-
};
|
|
4938
|
-
const de_MetricAttributes = (output, context) => {
|
|
4939
|
-
const retVal = (output || [])
|
|
4940
|
-
.filter((e) => e != null)
|
|
4941
|
-
.map((entry) => {
|
|
4942
|
-
if (entry === null) {
|
|
4943
|
-
return null;
|
|
4944
|
-
}
|
|
4945
|
-
return de_MetricAttribute(entry, context);
|
|
3589
|
+
return take(output, {
|
|
3590
|
+
nextToken: __expectString,
|
|
3591
|
+
solutionVersions: (_) => de_SolutionVersions(_, context),
|
|
4946
3592
|
});
|
|
4947
|
-
return retVal;
|
|
4948
3593
|
};
|
|
4949
3594
|
const de_MetricAttribution = (output, context) => {
|
|
4950
|
-
return {
|
|
4951
|
-
creationDateTime:
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
metricsOutputConfig: output.metricsOutputConfig != null ? de_MetricAttributionOutput(output.metricsOutputConfig, context) : undefined,
|
|
4961
|
-
name: __expectString(output.name),
|
|
4962
|
-
status: __expectString(output.status),
|
|
4963
|
-
};
|
|
4964
|
-
};
|
|
4965
|
-
const de_MetricAttributionOutput = (output, context) => {
|
|
4966
|
-
return {
|
|
4967
|
-
roleArn: __expectString(output.roleArn),
|
|
4968
|
-
s3DataDestination: output.s3DataDestination != null ? de_S3DataConfig(output.s3DataDestination, context) : undefined,
|
|
4969
|
-
};
|
|
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
|
+
});
|
|
4970
3605
|
};
|
|
4971
3606
|
const de_MetricAttributions = (output, context) => {
|
|
4972
3607
|
const retVal = (output || [])
|
|
4973
3608
|
.filter((e) => e != null)
|
|
4974
3609
|
.map((entry) => {
|
|
4975
|
-
if (entry === null) {
|
|
4976
|
-
return null;
|
|
4977
|
-
}
|
|
4978
3610
|
return de_MetricAttributionSummary(entry, context);
|
|
4979
3611
|
});
|
|
4980
3612
|
return retVal;
|
|
4981
3613
|
};
|
|
4982
3614
|
const de_MetricAttributionSummary = (output, context) => {
|
|
4983
|
-
return {
|
|
4984
|
-
creationDateTime:
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
metricAttributionArn: __expectString(output.metricAttributionArn),
|
|
4992
|
-
name: __expectString(output.name),
|
|
4993
|
-
status: __expectString(output.status),
|
|
4994
|
-
};
|
|
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
|
+
});
|
|
4995
3623
|
};
|
|
4996
3624
|
const de_Metrics = (output, context) => {
|
|
4997
3625
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
@@ -5002,338 +3630,170 @@ const de_Metrics = (output, context) => {
|
|
|
5002
3630
|
return acc;
|
|
5003
3631
|
}, {});
|
|
5004
3632
|
};
|
|
5005
|
-
const de_OptimizationObjective = (output, context) => {
|
|
5006
|
-
return {
|
|
5007
|
-
itemAttribute: __expectString(output.itemAttribute),
|
|
5008
|
-
objectiveSensitivity: __expectString(output.objectiveSensitivity),
|
|
5009
|
-
};
|
|
5010
|
-
};
|
|
5011
3633
|
const de_Recipe = (output, context) => {
|
|
5012
|
-
return {
|
|
5013
|
-
algorithmArn: __expectString
|
|
5014
|
-
creationDateTime:
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
recipeArn: __expectString(output.recipeArn),
|
|
5024
|
-
recipeType: __expectString(output.recipeType),
|
|
5025
|
-
status: __expectString(output.status),
|
|
5026
|
-
};
|
|
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
|
+
});
|
|
5027
3645
|
};
|
|
5028
3646
|
const de_Recipes = (output, context) => {
|
|
5029
3647
|
const retVal = (output || [])
|
|
5030
3648
|
.filter((e) => e != null)
|
|
5031
3649
|
.map((entry) => {
|
|
5032
|
-
if (entry === null) {
|
|
5033
|
-
return null;
|
|
5034
|
-
}
|
|
5035
3650
|
return de_RecipeSummary(entry, context);
|
|
5036
3651
|
});
|
|
5037
3652
|
return retVal;
|
|
5038
3653
|
};
|
|
5039
3654
|
const de_RecipeSummary = (output, context) => {
|
|
5040
|
-
return {
|
|
5041
|
-
creationDateTime:
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
name: __expectString(output.name),
|
|
5049
|
-
recipeArn: __expectString(output.recipeArn),
|
|
5050
|
-
status: __expectString(output.status),
|
|
5051
|
-
};
|
|
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
|
+
});
|
|
5052
3663
|
};
|
|
5053
3664
|
const de_Recommender = (output, context) => {
|
|
5054
|
-
return {
|
|
5055
|
-
creationDateTime:
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
name: __expectString(output.name),
|
|
5068
|
-
recipeArn: __expectString(output.recipeArn),
|
|
5069
|
-
recommenderArn: __expectString(output.recommenderArn),
|
|
5070
|
-
recommenderConfig: output.recommenderConfig != null ? de_RecommenderConfig(output.recommenderConfig, context) : undefined,
|
|
5071
|
-
status: __expectString(output.status),
|
|
5072
|
-
};
|
|
5073
|
-
};
|
|
5074
|
-
const de_RecommenderConfig = (output, context) => {
|
|
5075
|
-
return {
|
|
5076
|
-
itemExplorationConfig: output.itemExplorationConfig != null ? de_HyperParameters(output.itemExplorationConfig, context) : undefined,
|
|
5077
|
-
minRecommendationRequestsPerSecond: __expectInt32(output.minRecommendationRequestsPerSecond),
|
|
5078
|
-
};
|
|
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
|
+
});
|
|
5079
3678
|
};
|
|
5080
3679
|
const de_Recommenders = (output, context) => {
|
|
5081
3680
|
const retVal = (output || [])
|
|
5082
3681
|
.filter((e) => e != null)
|
|
5083
3682
|
.map((entry) => {
|
|
5084
|
-
if (entry === null) {
|
|
5085
|
-
return null;
|
|
5086
|
-
}
|
|
5087
3683
|
return de_RecommenderSummary(entry, context);
|
|
5088
3684
|
});
|
|
5089
3685
|
return retVal;
|
|
5090
3686
|
};
|
|
5091
3687
|
const de_RecommenderSummary = (output, context) => {
|
|
5092
|
-
return {
|
|
5093
|
-
creationDateTime:
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
recommenderArn: __expectString(output.recommenderArn),
|
|
5103
|
-
recommenderConfig: output.recommenderConfig != null ? de_RecommenderConfig(output.recommenderConfig, context) : undefined,
|
|
5104
|
-
status: __expectString(output.status),
|
|
5105
|
-
};
|
|
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
|
+
});
|
|
5106
3698
|
};
|
|
5107
3699
|
const de_RecommenderUpdateSummary = (output, context) => {
|
|
5108
|
-
return {
|
|
5109
|
-
creationDateTime:
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
: undefined,
|
|
5116
|
-
recommenderConfig: output.recommenderConfig != null ? de_RecommenderConfig(output.recommenderConfig, context) : undefined,
|
|
5117
|
-
status: __expectString(output.status),
|
|
5118
|
-
};
|
|
5119
|
-
};
|
|
5120
|
-
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
5121
|
-
return {
|
|
5122
|
-
message: __expectString(output.message),
|
|
5123
|
-
};
|
|
5124
|
-
};
|
|
5125
|
-
const de_ResourceConfig = (output, context) => {
|
|
5126
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
5127
|
-
if (value === null) {
|
|
5128
|
-
return acc;
|
|
5129
|
-
}
|
|
5130
|
-
acc[key] = __expectString(value);
|
|
5131
|
-
return acc;
|
|
5132
|
-
}, {});
|
|
5133
|
-
};
|
|
5134
|
-
const de_ResourceInUseException = (output, context) => {
|
|
5135
|
-
return {
|
|
5136
|
-
message: __expectString(output.message),
|
|
5137
|
-
};
|
|
5138
|
-
};
|
|
5139
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
5140
|
-
return {
|
|
5141
|
-
message: __expectString(output.message),
|
|
5142
|
-
};
|
|
5143
|
-
};
|
|
5144
|
-
const de_S3DataConfig = (output, context) => {
|
|
5145
|
-
return {
|
|
5146
|
-
kmsKeyArn: __expectString(output.kmsKeyArn),
|
|
5147
|
-
path: __expectString(output.path),
|
|
5148
|
-
};
|
|
3700
|
+
return take(output, {
|
|
3701
|
+
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3702
|
+
failureReason: __expectString,
|
|
3703
|
+
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3704
|
+
recommenderConfig: _json,
|
|
3705
|
+
status: __expectString,
|
|
3706
|
+
});
|
|
5149
3707
|
};
|
|
5150
3708
|
const de_Schemas = (output, context) => {
|
|
5151
3709
|
const retVal = (output || [])
|
|
5152
3710
|
.filter((e) => e != null)
|
|
5153
3711
|
.map((entry) => {
|
|
5154
|
-
if (entry === null) {
|
|
5155
|
-
return null;
|
|
5156
|
-
}
|
|
5157
3712
|
return de_DatasetSchemaSummary(entry, context);
|
|
5158
3713
|
});
|
|
5159
3714
|
return retVal;
|
|
5160
3715
|
};
|
|
5161
3716
|
const de_Solution = (output, context) => {
|
|
5162
|
-
return {
|
|
5163
|
-
autoMLResult:
|
|
5164
|
-
creationDateTime:
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
performHPO: __expectBoolean(output.performHPO),
|
|
5178
|
-
recipeArn: __expectString(output.recipeArn),
|
|
5179
|
-
solutionArn: __expectString(output.solutionArn),
|
|
5180
|
-
solutionConfig: output.solutionConfig != null ? de_SolutionConfig(output.solutionConfig, context) : undefined,
|
|
5181
|
-
status: __expectString(output.status),
|
|
5182
|
-
};
|
|
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
|
+
});
|
|
5183
3732
|
};
|
|
5184
3733
|
const de_SolutionConfig = (output, context) => {
|
|
5185
|
-
return {
|
|
5186
|
-
algorithmHyperParameters:
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
: undefined,
|
|
5194
|
-
hpoConfig: output.hpoConfig != null ? de_HPOConfig(output.hpoConfig, context) : undefined,
|
|
5195
|
-
optimizationObjective: output.optimizationObjective != null
|
|
5196
|
-
? de_OptimizationObjective(output.optimizationObjective, context)
|
|
5197
|
-
: undefined,
|
|
5198
|
-
};
|
|
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
|
+
});
|
|
5199
3742
|
};
|
|
5200
3743
|
const de_Solutions = (output, context) => {
|
|
5201
3744
|
const retVal = (output || [])
|
|
5202
3745
|
.filter((e) => e != null)
|
|
5203
3746
|
.map((entry) => {
|
|
5204
|
-
if (entry === null) {
|
|
5205
|
-
return null;
|
|
5206
|
-
}
|
|
5207
3747
|
return de_SolutionSummary(entry, context);
|
|
5208
3748
|
});
|
|
5209
3749
|
return retVal;
|
|
5210
3750
|
};
|
|
5211
3751
|
const de_SolutionSummary = (output, context) => {
|
|
5212
|
-
return {
|
|
5213
|
-
creationDateTime:
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
recipeArn: __expectString(output.recipeArn),
|
|
5221
|
-
solutionArn: __expectString(output.solutionArn),
|
|
5222
|
-
status: __expectString(output.status),
|
|
5223
|
-
};
|
|
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
|
+
});
|
|
5224
3760
|
};
|
|
5225
3761
|
const de_SolutionVersion = (output, context) => {
|
|
5226
|
-
return {
|
|
5227
|
-
creationDateTime:
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
trainingHours: __limitedParseDouble(output.trainingHours),
|
|
5245
|
-
trainingMode: __expectString(output.trainingMode),
|
|
5246
|
-
tunedHPOParams: output.tunedHPOParams != null ? de_TunedHPOParams(output.tunedHPOParams, context) : undefined,
|
|
5247
|
-
};
|
|
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
|
+
});
|
|
5248
3780
|
};
|
|
5249
3781
|
const de_SolutionVersions = (output, context) => {
|
|
5250
3782
|
const retVal = (output || [])
|
|
5251
3783
|
.filter((e) => e != null)
|
|
5252
3784
|
.map((entry) => {
|
|
5253
|
-
if (entry === null) {
|
|
5254
|
-
return null;
|
|
5255
|
-
}
|
|
5256
3785
|
return de_SolutionVersionSummary(entry, context);
|
|
5257
3786
|
});
|
|
5258
3787
|
return retVal;
|
|
5259
3788
|
};
|
|
5260
3789
|
const de_SolutionVersionSummary = (output, context) => {
|
|
5261
|
-
return {
|
|
5262
|
-
creationDateTime:
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5268
|
-
: undefined,
|
|
5269
|
-
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
5270
|
-
status: __expectString(output.status),
|
|
5271
|
-
};
|
|
5272
|
-
};
|
|
5273
|
-
const de_StartRecommenderResponse = (output, context) => {
|
|
5274
|
-
return {
|
|
5275
|
-
recommenderArn: __expectString(output.recommenderArn),
|
|
5276
|
-
};
|
|
5277
|
-
};
|
|
5278
|
-
const de_StopRecommenderResponse = (output, context) => {
|
|
5279
|
-
return {
|
|
5280
|
-
recommenderArn: __expectString(output.recommenderArn),
|
|
5281
|
-
};
|
|
5282
|
-
};
|
|
5283
|
-
const de_Tag = (output, context) => {
|
|
5284
|
-
return {
|
|
5285
|
-
tagKey: __expectString(output.tagKey),
|
|
5286
|
-
tagValue: __expectString(output.tagValue),
|
|
5287
|
-
};
|
|
5288
|
-
};
|
|
5289
|
-
const de_TagResourceResponse = (output, context) => {
|
|
5290
|
-
return {};
|
|
5291
|
-
};
|
|
5292
|
-
const de_Tags = (output, context) => {
|
|
5293
|
-
const retVal = (output || [])
|
|
5294
|
-
.filter((e) => e != null)
|
|
5295
|
-
.map((entry) => {
|
|
5296
|
-
if (entry === null) {
|
|
5297
|
-
return null;
|
|
5298
|
-
}
|
|
5299
|
-
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,
|
|
5300
3796
|
});
|
|
5301
|
-
return retVal;
|
|
5302
|
-
};
|
|
5303
|
-
const de_TooManyTagKeysException = (output, context) => {
|
|
5304
|
-
return {
|
|
5305
|
-
message: __expectString(output.message),
|
|
5306
|
-
};
|
|
5307
|
-
};
|
|
5308
|
-
const de_TooManyTagsException = (output, context) => {
|
|
5309
|
-
return {
|
|
5310
|
-
message: __expectString(output.message),
|
|
5311
|
-
};
|
|
5312
|
-
};
|
|
5313
|
-
const de_TunedHPOParams = (output, context) => {
|
|
5314
|
-
return {
|
|
5315
|
-
algorithmHyperParameters: output.algorithmHyperParameters != null
|
|
5316
|
-
? de_HyperParameters(output.algorithmHyperParameters, context)
|
|
5317
|
-
: undefined,
|
|
5318
|
-
};
|
|
5319
|
-
};
|
|
5320
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
5321
|
-
return {};
|
|
5322
|
-
};
|
|
5323
|
-
const de_UpdateCampaignResponse = (output, context) => {
|
|
5324
|
-
return {
|
|
5325
|
-
campaignArn: __expectString(output.campaignArn),
|
|
5326
|
-
};
|
|
5327
|
-
};
|
|
5328
|
-
const de_UpdateMetricAttributionResponse = (output, context) => {
|
|
5329
|
-
return {
|
|
5330
|
-
metricAttributionArn: __expectString(output.metricAttributionArn),
|
|
5331
|
-
};
|
|
5332
|
-
};
|
|
5333
|
-
const de_UpdateRecommenderResponse = (output, context) => {
|
|
5334
|
-
return {
|
|
5335
|
-
recommenderArn: __expectString(output.recommenderArn),
|
|
5336
|
-
};
|
|
5337
3797
|
};
|
|
5338
3798
|
const deserializeMetadata = (output) => ({
|
|
5339
3799
|
httpStatusCode: output.statusCode,
|
|
@@ -5348,6 +3808,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5348
3808
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5349
3809
|
};
|
|
5350
3810
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3811
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
5351
3812
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5352
3813
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5353
3814
|
const contents = {
|
|
@@ -5366,6 +3827,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
5366
3827
|
}
|
|
5367
3828
|
return new __HttpRequest(contents);
|
|
5368
3829
|
};
|
|
3830
|
+
function sharedHeaders(operation) {
|
|
3831
|
+
return {
|
|
3832
|
+
"content-type": "application/x-amz-json-1.1",
|
|
3833
|
+
"x-amz-target": `AmazonPersonalize.${operation}`,
|
|
3834
|
+
};
|
|
3835
|
+
}
|
|
5369
3836
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5370
3837
|
if (encoded.length) {
|
|
5371
3838
|
return JSON.parse(encoded);
|