@aws-sdk/client-personalize 3.927.0 → 3.929.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/index.js +2082 -3052
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/PersonalizeClient.js +2 -0
- package/dist-es/commands/CreateBatchInferenceJobCommand.js +3 -10
- package/dist-es/commands/CreateBatchSegmentJobCommand.js +3 -10
- package/dist-es/commands/CreateCampaignCommand.js +3 -10
- package/dist-es/commands/CreateDataDeletionJobCommand.js +3 -10
- package/dist-es/commands/CreateDatasetCommand.js +3 -10
- package/dist-es/commands/CreateDatasetExportJobCommand.js +3 -10
- package/dist-es/commands/CreateDatasetGroupCommand.js +3 -10
- package/dist-es/commands/CreateDatasetImportJobCommand.js +3 -10
- package/dist-es/commands/CreateEventTrackerCommand.js +3 -10
- package/dist-es/commands/CreateFilterCommand.js +3 -10
- package/dist-es/commands/CreateMetricAttributionCommand.js +3 -9
- package/dist-es/commands/CreateRecommenderCommand.js +3 -10
- package/dist-es/commands/CreateSchemaCommand.js +3 -9
- package/dist-es/commands/CreateSolutionCommand.js +3 -10
- package/dist-es/commands/CreateSolutionVersionCommand.js +3 -10
- package/dist-es/commands/DeleteCampaignCommand.js +3 -9
- package/dist-es/commands/DeleteDatasetCommand.js +3 -9
- package/dist-es/commands/DeleteDatasetGroupCommand.js +3 -9
- package/dist-es/commands/DeleteEventTrackerCommand.js +3 -9
- package/dist-es/commands/DeleteFilterCommand.js +3 -9
- package/dist-es/commands/DeleteMetricAttributionCommand.js +3 -9
- package/dist-es/commands/DeleteRecommenderCommand.js +3 -9
- package/dist-es/commands/DeleteSchemaCommand.js +3 -9
- package/dist-es/commands/DeleteSolutionCommand.js +3 -9
- package/dist-es/commands/DescribeAlgorithmCommand.js +3 -9
- package/dist-es/commands/DescribeBatchInferenceJobCommand.js +3 -9
- package/dist-es/commands/DescribeBatchSegmentJobCommand.js +3 -9
- package/dist-es/commands/DescribeCampaignCommand.js +3 -9
- package/dist-es/commands/DescribeDataDeletionJobCommand.js +3 -9
- package/dist-es/commands/DescribeDatasetCommand.js +3 -9
- package/dist-es/commands/DescribeDatasetExportJobCommand.js +3 -9
- package/dist-es/commands/DescribeDatasetGroupCommand.js +3 -9
- package/dist-es/commands/DescribeDatasetImportJobCommand.js +3 -9
- package/dist-es/commands/DescribeEventTrackerCommand.js +3 -9
- package/dist-es/commands/DescribeFeatureTransformationCommand.js +3 -9
- package/dist-es/commands/DescribeFilterCommand.js +3 -10
- package/dist-es/commands/DescribeMetricAttributionCommand.js +3 -9
- package/dist-es/commands/DescribeRecipeCommand.js +3 -9
- package/dist-es/commands/DescribeRecommenderCommand.js +3 -9
- package/dist-es/commands/DescribeSchemaCommand.js +3 -9
- package/dist-es/commands/DescribeSolutionCommand.js +3 -9
- package/dist-es/commands/DescribeSolutionVersionCommand.js +3 -9
- package/dist-es/commands/GetSolutionMetricsCommand.js +3 -9
- package/dist-es/commands/ListBatchInferenceJobsCommand.js +3 -9
- package/dist-es/commands/ListBatchSegmentJobsCommand.js +3 -9
- package/dist-es/commands/ListCampaignsCommand.js +3 -9
- package/dist-es/commands/ListDataDeletionJobsCommand.js +3 -9
- package/dist-es/commands/ListDatasetExportJobsCommand.js +3 -9
- package/dist-es/commands/ListDatasetGroupsCommand.js +3 -9
- package/dist-es/commands/ListDatasetImportJobsCommand.js +3 -9
- package/dist-es/commands/ListDatasetsCommand.js +3 -9
- package/dist-es/commands/ListEventTrackersCommand.js +3 -9
- package/dist-es/commands/ListFiltersCommand.js +3 -9
- package/dist-es/commands/ListMetricAttributionMetricsCommand.js +3 -9
- package/dist-es/commands/ListMetricAttributionsCommand.js +3 -9
- package/dist-es/commands/ListRecipesCommand.js +3 -9
- package/dist-es/commands/ListRecommendersCommand.js +3 -9
- package/dist-es/commands/ListSchemasCommand.js +3 -9
- package/dist-es/commands/ListSolutionVersionsCommand.js +3 -9
- package/dist-es/commands/ListSolutionsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/StartRecommenderCommand.js +3 -9
- package/dist-es/commands/StopRecommenderCommand.js +3 -9
- package/dist-es/commands/StopSolutionVersionCreationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateCampaignCommand.js +3 -9
- package/dist-es/commands/UpdateDatasetCommand.js +3 -9
- package/dist-es/commands/UpdateMetricAttributionCommand.js +3 -9
- package/dist-es/commands/UpdateRecommenderCommand.js +3 -9
- package/dist-es/commands/UpdateSolutionCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -79
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1924 -0
- package/dist-types/PersonalizeClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -76
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +328 -0
- package/dist-types/ts3.4/PersonalizeClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -53
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +335 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -2438
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -641
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -857
|
@@ -1,2438 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, 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 "@smithy/smithy-client";
|
|
4
|
-
import { InvalidInputException, InvalidNextTokenException, LimitExceededException, ResourceAlreadyExistsException, ResourceInUseException, ResourceNotFoundException, TooManyTagKeysException, TooManyTagsException, } from "../models/models_0";
|
|
5
|
-
import { PersonalizeServiceException as __BaseException } from "../models/PersonalizeServiceException";
|
|
6
|
-
export const se_CreateBatchInferenceJobCommand = async (input, context) => {
|
|
7
|
-
const headers = sharedHeaders("CreateBatchInferenceJob");
|
|
8
|
-
let body;
|
|
9
|
-
body = JSON.stringify(_json(input));
|
|
10
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
|
-
};
|
|
12
|
-
export const se_CreateBatchSegmentJobCommand = async (input, context) => {
|
|
13
|
-
const headers = sharedHeaders("CreateBatchSegmentJob");
|
|
14
|
-
let body;
|
|
15
|
-
body = JSON.stringify(_json(input));
|
|
16
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
|
-
};
|
|
18
|
-
export const se_CreateCampaignCommand = async (input, context) => {
|
|
19
|
-
const headers = sharedHeaders("CreateCampaign");
|
|
20
|
-
let body;
|
|
21
|
-
body = JSON.stringify(_json(input));
|
|
22
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
|
-
};
|
|
24
|
-
export const se_CreateDataDeletionJobCommand = async (input, context) => {
|
|
25
|
-
const headers = sharedHeaders("CreateDataDeletionJob");
|
|
26
|
-
let body;
|
|
27
|
-
body = JSON.stringify(_json(input));
|
|
28
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
|
-
};
|
|
30
|
-
export const se_CreateDatasetCommand = async (input, context) => {
|
|
31
|
-
const headers = sharedHeaders("CreateDataset");
|
|
32
|
-
let body;
|
|
33
|
-
body = JSON.stringify(_json(input));
|
|
34
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
|
-
};
|
|
36
|
-
export const se_CreateDatasetExportJobCommand = async (input, context) => {
|
|
37
|
-
const headers = sharedHeaders("CreateDatasetExportJob");
|
|
38
|
-
let body;
|
|
39
|
-
body = JSON.stringify(_json(input));
|
|
40
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
|
-
};
|
|
42
|
-
export const se_CreateDatasetGroupCommand = async (input, context) => {
|
|
43
|
-
const headers = sharedHeaders("CreateDatasetGroup");
|
|
44
|
-
let body;
|
|
45
|
-
body = JSON.stringify(_json(input));
|
|
46
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
|
-
};
|
|
48
|
-
export const se_CreateDatasetImportJobCommand = async (input, context) => {
|
|
49
|
-
const headers = sharedHeaders("CreateDatasetImportJob");
|
|
50
|
-
let body;
|
|
51
|
-
body = JSON.stringify(_json(input));
|
|
52
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
|
-
};
|
|
54
|
-
export const se_CreateEventTrackerCommand = async (input, context) => {
|
|
55
|
-
const headers = sharedHeaders("CreateEventTracker");
|
|
56
|
-
let body;
|
|
57
|
-
body = JSON.stringify(_json(input));
|
|
58
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
|
-
};
|
|
60
|
-
export const se_CreateFilterCommand = async (input, context) => {
|
|
61
|
-
const headers = sharedHeaders("CreateFilter");
|
|
62
|
-
let body;
|
|
63
|
-
body = JSON.stringify(_json(input));
|
|
64
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
|
-
};
|
|
66
|
-
export const se_CreateMetricAttributionCommand = async (input, context) => {
|
|
67
|
-
const headers = sharedHeaders("CreateMetricAttribution");
|
|
68
|
-
let body;
|
|
69
|
-
body = JSON.stringify(_json(input));
|
|
70
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
|
-
};
|
|
72
|
-
export const se_CreateRecommenderCommand = async (input, context) => {
|
|
73
|
-
const headers = sharedHeaders("CreateRecommender");
|
|
74
|
-
let body;
|
|
75
|
-
body = JSON.stringify(_json(input));
|
|
76
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
|
-
};
|
|
78
|
-
export const se_CreateSchemaCommand = async (input, context) => {
|
|
79
|
-
const headers = sharedHeaders("CreateSchema");
|
|
80
|
-
let body;
|
|
81
|
-
body = JSON.stringify(_json(input));
|
|
82
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
|
-
};
|
|
84
|
-
export const se_CreateSolutionCommand = async (input, context) => {
|
|
85
|
-
const headers = sharedHeaders("CreateSolution");
|
|
86
|
-
let body;
|
|
87
|
-
body = JSON.stringify(se_CreateSolutionRequest(input, context));
|
|
88
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
|
-
};
|
|
90
|
-
export const se_CreateSolutionVersionCommand = async (input, context) => {
|
|
91
|
-
const headers = sharedHeaders("CreateSolutionVersion");
|
|
92
|
-
let body;
|
|
93
|
-
body = JSON.stringify(_json(input));
|
|
94
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
|
-
};
|
|
96
|
-
export const se_DeleteCampaignCommand = async (input, context) => {
|
|
97
|
-
const headers = sharedHeaders("DeleteCampaign");
|
|
98
|
-
let body;
|
|
99
|
-
body = JSON.stringify(_json(input));
|
|
100
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
|
-
};
|
|
102
|
-
export const se_DeleteDatasetCommand = async (input, context) => {
|
|
103
|
-
const headers = sharedHeaders("DeleteDataset");
|
|
104
|
-
let body;
|
|
105
|
-
body = JSON.stringify(_json(input));
|
|
106
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
|
-
};
|
|
108
|
-
export const se_DeleteDatasetGroupCommand = async (input, context) => {
|
|
109
|
-
const headers = sharedHeaders("DeleteDatasetGroup");
|
|
110
|
-
let body;
|
|
111
|
-
body = JSON.stringify(_json(input));
|
|
112
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
|
-
};
|
|
114
|
-
export const se_DeleteEventTrackerCommand = async (input, context) => {
|
|
115
|
-
const headers = sharedHeaders("DeleteEventTracker");
|
|
116
|
-
let body;
|
|
117
|
-
body = JSON.stringify(_json(input));
|
|
118
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
|
-
};
|
|
120
|
-
export const se_DeleteFilterCommand = async (input, context) => {
|
|
121
|
-
const headers = sharedHeaders("DeleteFilter");
|
|
122
|
-
let body;
|
|
123
|
-
body = JSON.stringify(_json(input));
|
|
124
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
|
-
};
|
|
126
|
-
export const se_DeleteMetricAttributionCommand = async (input, context) => {
|
|
127
|
-
const headers = sharedHeaders("DeleteMetricAttribution");
|
|
128
|
-
let body;
|
|
129
|
-
body = JSON.stringify(_json(input));
|
|
130
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
|
-
};
|
|
132
|
-
export const se_DeleteRecommenderCommand = async (input, context) => {
|
|
133
|
-
const headers = sharedHeaders("DeleteRecommender");
|
|
134
|
-
let body;
|
|
135
|
-
body = JSON.stringify(_json(input));
|
|
136
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
|
-
};
|
|
138
|
-
export const se_DeleteSchemaCommand = async (input, context) => {
|
|
139
|
-
const headers = sharedHeaders("DeleteSchema");
|
|
140
|
-
let body;
|
|
141
|
-
body = JSON.stringify(_json(input));
|
|
142
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
143
|
-
};
|
|
144
|
-
export const se_DeleteSolutionCommand = async (input, context) => {
|
|
145
|
-
const headers = sharedHeaders("DeleteSolution");
|
|
146
|
-
let body;
|
|
147
|
-
body = JSON.stringify(_json(input));
|
|
148
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
|
-
};
|
|
150
|
-
export const se_DescribeAlgorithmCommand = async (input, context) => {
|
|
151
|
-
const headers = sharedHeaders("DescribeAlgorithm");
|
|
152
|
-
let body;
|
|
153
|
-
body = JSON.stringify(_json(input));
|
|
154
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
|
-
};
|
|
156
|
-
export const se_DescribeBatchInferenceJobCommand = async (input, context) => {
|
|
157
|
-
const headers = sharedHeaders("DescribeBatchInferenceJob");
|
|
158
|
-
let body;
|
|
159
|
-
body = JSON.stringify(_json(input));
|
|
160
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
|
-
};
|
|
162
|
-
export const se_DescribeBatchSegmentJobCommand = async (input, context) => {
|
|
163
|
-
const headers = sharedHeaders("DescribeBatchSegmentJob");
|
|
164
|
-
let body;
|
|
165
|
-
body = JSON.stringify(_json(input));
|
|
166
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
|
-
};
|
|
168
|
-
export const se_DescribeCampaignCommand = async (input, context) => {
|
|
169
|
-
const headers = sharedHeaders("DescribeCampaign");
|
|
170
|
-
let body;
|
|
171
|
-
body = JSON.stringify(_json(input));
|
|
172
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
|
-
};
|
|
174
|
-
export const se_DescribeDataDeletionJobCommand = async (input, context) => {
|
|
175
|
-
const headers = sharedHeaders("DescribeDataDeletionJob");
|
|
176
|
-
let body;
|
|
177
|
-
body = JSON.stringify(_json(input));
|
|
178
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
179
|
-
};
|
|
180
|
-
export const se_DescribeDatasetCommand = async (input, context) => {
|
|
181
|
-
const headers = sharedHeaders("DescribeDataset");
|
|
182
|
-
let body;
|
|
183
|
-
body = JSON.stringify(_json(input));
|
|
184
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
|
-
};
|
|
186
|
-
export const se_DescribeDatasetExportJobCommand = async (input, context) => {
|
|
187
|
-
const headers = sharedHeaders("DescribeDatasetExportJob");
|
|
188
|
-
let body;
|
|
189
|
-
body = JSON.stringify(_json(input));
|
|
190
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
|
-
};
|
|
192
|
-
export const se_DescribeDatasetGroupCommand = async (input, context) => {
|
|
193
|
-
const headers = sharedHeaders("DescribeDatasetGroup");
|
|
194
|
-
let body;
|
|
195
|
-
body = JSON.stringify(_json(input));
|
|
196
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
|
-
};
|
|
198
|
-
export const se_DescribeDatasetImportJobCommand = async (input, context) => {
|
|
199
|
-
const headers = sharedHeaders("DescribeDatasetImportJob");
|
|
200
|
-
let body;
|
|
201
|
-
body = JSON.stringify(_json(input));
|
|
202
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
|
-
};
|
|
204
|
-
export const se_DescribeEventTrackerCommand = async (input, context) => {
|
|
205
|
-
const headers = sharedHeaders("DescribeEventTracker");
|
|
206
|
-
let body;
|
|
207
|
-
body = JSON.stringify(_json(input));
|
|
208
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
|
-
};
|
|
210
|
-
export const se_DescribeFeatureTransformationCommand = async (input, context) => {
|
|
211
|
-
const headers = sharedHeaders("DescribeFeatureTransformation");
|
|
212
|
-
let body;
|
|
213
|
-
body = JSON.stringify(_json(input));
|
|
214
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
|
-
};
|
|
216
|
-
export const se_DescribeFilterCommand = async (input, context) => {
|
|
217
|
-
const headers = sharedHeaders("DescribeFilter");
|
|
218
|
-
let body;
|
|
219
|
-
body = JSON.stringify(_json(input));
|
|
220
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
|
-
};
|
|
222
|
-
export const se_DescribeMetricAttributionCommand = async (input, context) => {
|
|
223
|
-
const headers = sharedHeaders("DescribeMetricAttribution");
|
|
224
|
-
let body;
|
|
225
|
-
body = JSON.stringify(_json(input));
|
|
226
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
|
-
};
|
|
228
|
-
export const se_DescribeRecipeCommand = async (input, context) => {
|
|
229
|
-
const headers = sharedHeaders("DescribeRecipe");
|
|
230
|
-
let body;
|
|
231
|
-
body = JSON.stringify(_json(input));
|
|
232
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
|
-
};
|
|
234
|
-
export const se_DescribeRecommenderCommand = async (input, context) => {
|
|
235
|
-
const headers = sharedHeaders("DescribeRecommender");
|
|
236
|
-
let body;
|
|
237
|
-
body = JSON.stringify(_json(input));
|
|
238
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
|
-
};
|
|
240
|
-
export const se_DescribeSchemaCommand = async (input, context) => {
|
|
241
|
-
const headers = sharedHeaders("DescribeSchema");
|
|
242
|
-
let body;
|
|
243
|
-
body = JSON.stringify(_json(input));
|
|
244
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
|
-
};
|
|
246
|
-
export const se_DescribeSolutionCommand = async (input, context) => {
|
|
247
|
-
const headers = sharedHeaders("DescribeSolution");
|
|
248
|
-
let body;
|
|
249
|
-
body = JSON.stringify(_json(input));
|
|
250
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
|
-
};
|
|
252
|
-
export const se_DescribeSolutionVersionCommand = async (input, context) => {
|
|
253
|
-
const headers = sharedHeaders("DescribeSolutionVersion");
|
|
254
|
-
let body;
|
|
255
|
-
body = JSON.stringify(_json(input));
|
|
256
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
|
-
};
|
|
258
|
-
export const se_GetSolutionMetricsCommand = async (input, context) => {
|
|
259
|
-
const headers = sharedHeaders("GetSolutionMetrics");
|
|
260
|
-
let body;
|
|
261
|
-
body = JSON.stringify(_json(input));
|
|
262
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
263
|
-
};
|
|
264
|
-
export const se_ListBatchInferenceJobsCommand = async (input, context) => {
|
|
265
|
-
const headers = sharedHeaders("ListBatchInferenceJobs");
|
|
266
|
-
let body;
|
|
267
|
-
body = JSON.stringify(_json(input));
|
|
268
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
|
-
};
|
|
270
|
-
export const se_ListBatchSegmentJobsCommand = async (input, context) => {
|
|
271
|
-
const headers = sharedHeaders("ListBatchSegmentJobs");
|
|
272
|
-
let body;
|
|
273
|
-
body = JSON.stringify(_json(input));
|
|
274
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
|
-
};
|
|
276
|
-
export const se_ListCampaignsCommand = async (input, context) => {
|
|
277
|
-
const headers = sharedHeaders("ListCampaigns");
|
|
278
|
-
let body;
|
|
279
|
-
body = JSON.stringify(_json(input));
|
|
280
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
|
-
};
|
|
282
|
-
export const se_ListDataDeletionJobsCommand = async (input, context) => {
|
|
283
|
-
const headers = sharedHeaders("ListDataDeletionJobs");
|
|
284
|
-
let body;
|
|
285
|
-
body = JSON.stringify(_json(input));
|
|
286
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
|
-
};
|
|
288
|
-
export const se_ListDatasetExportJobsCommand = async (input, context) => {
|
|
289
|
-
const headers = sharedHeaders("ListDatasetExportJobs");
|
|
290
|
-
let body;
|
|
291
|
-
body = JSON.stringify(_json(input));
|
|
292
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
|
-
};
|
|
294
|
-
export const se_ListDatasetGroupsCommand = async (input, context) => {
|
|
295
|
-
const headers = sharedHeaders("ListDatasetGroups");
|
|
296
|
-
let body;
|
|
297
|
-
body = JSON.stringify(_json(input));
|
|
298
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
299
|
-
};
|
|
300
|
-
export const se_ListDatasetImportJobsCommand = async (input, context) => {
|
|
301
|
-
const headers = sharedHeaders("ListDatasetImportJobs");
|
|
302
|
-
let body;
|
|
303
|
-
body = JSON.stringify(_json(input));
|
|
304
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
|
-
};
|
|
306
|
-
export const se_ListDatasetsCommand = async (input, context) => {
|
|
307
|
-
const headers = sharedHeaders("ListDatasets");
|
|
308
|
-
let body;
|
|
309
|
-
body = JSON.stringify(_json(input));
|
|
310
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
311
|
-
};
|
|
312
|
-
export const se_ListEventTrackersCommand = async (input, context) => {
|
|
313
|
-
const headers = sharedHeaders("ListEventTrackers");
|
|
314
|
-
let body;
|
|
315
|
-
body = JSON.stringify(_json(input));
|
|
316
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
|
-
};
|
|
318
|
-
export const se_ListFiltersCommand = async (input, context) => {
|
|
319
|
-
const headers = sharedHeaders("ListFilters");
|
|
320
|
-
let body;
|
|
321
|
-
body = JSON.stringify(_json(input));
|
|
322
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
|
-
};
|
|
324
|
-
export const se_ListMetricAttributionMetricsCommand = async (input, context) => {
|
|
325
|
-
const headers = sharedHeaders("ListMetricAttributionMetrics");
|
|
326
|
-
let body;
|
|
327
|
-
body = JSON.stringify(_json(input));
|
|
328
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
|
-
};
|
|
330
|
-
export const se_ListMetricAttributionsCommand = async (input, context) => {
|
|
331
|
-
const headers = sharedHeaders("ListMetricAttributions");
|
|
332
|
-
let body;
|
|
333
|
-
body = JSON.stringify(_json(input));
|
|
334
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
335
|
-
};
|
|
336
|
-
export const se_ListRecipesCommand = async (input, context) => {
|
|
337
|
-
const headers = sharedHeaders("ListRecipes");
|
|
338
|
-
let body;
|
|
339
|
-
body = JSON.stringify(_json(input));
|
|
340
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
|
-
};
|
|
342
|
-
export const se_ListRecommendersCommand = async (input, context) => {
|
|
343
|
-
const headers = sharedHeaders("ListRecommenders");
|
|
344
|
-
let body;
|
|
345
|
-
body = JSON.stringify(_json(input));
|
|
346
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
|
-
};
|
|
348
|
-
export const se_ListSchemasCommand = async (input, context) => {
|
|
349
|
-
const headers = sharedHeaders("ListSchemas");
|
|
350
|
-
let body;
|
|
351
|
-
body = JSON.stringify(_json(input));
|
|
352
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
353
|
-
};
|
|
354
|
-
export const se_ListSolutionsCommand = async (input, context) => {
|
|
355
|
-
const headers = sharedHeaders("ListSolutions");
|
|
356
|
-
let body;
|
|
357
|
-
body = JSON.stringify(_json(input));
|
|
358
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
|
-
};
|
|
360
|
-
export const se_ListSolutionVersionsCommand = async (input, context) => {
|
|
361
|
-
const headers = sharedHeaders("ListSolutionVersions");
|
|
362
|
-
let body;
|
|
363
|
-
body = JSON.stringify(_json(input));
|
|
364
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
|
-
};
|
|
366
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
367
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
368
|
-
let body;
|
|
369
|
-
body = JSON.stringify(_json(input));
|
|
370
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
371
|
-
};
|
|
372
|
-
export const se_StartRecommenderCommand = async (input, context) => {
|
|
373
|
-
const headers = sharedHeaders("StartRecommender");
|
|
374
|
-
let body;
|
|
375
|
-
body = JSON.stringify(_json(input));
|
|
376
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
377
|
-
};
|
|
378
|
-
export const se_StopRecommenderCommand = async (input, context) => {
|
|
379
|
-
const headers = sharedHeaders("StopRecommender");
|
|
380
|
-
let body;
|
|
381
|
-
body = JSON.stringify(_json(input));
|
|
382
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
383
|
-
};
|
|
384
|
-
export const se_StopSolutionVersionCreationCommand = async (input, context) => {
|
|
385
|
-
const headers = sharedHeaders("StopSolutionVersionCreation");
|
|
386
|
-
let body;
|
|
387
|
-
body = JSON.stringify(_json(input));
|
|
388
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
389
|
-
};
|
|
390
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
391
|
-
const headers = sharedHeaders("TagResource");
|
|
392
|
-
let body;
|
|
393
|
-
body = JSON.stringify(_json(input));
|
|
394
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
395
|
-
};
|
|
396
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
397
|
-
const headers = sharedHeaders("UntagResource");
|
|
398
|
-
let body;
|
|
399
|
-
body = JSON.stringify(_json(input));
|
|
400
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
|
-
};
|
|
402
|
-
export const se_UpdateCampaignCommand = async (input, context) => {
|
|
403
|
-
const headers = sharedHeaders("UpdateCampaign");
|
|
404
|
-
let body;
|
|
405
|
-
body = JSON.stringify(_json(input));
|
|
406
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
407
|
-
};
|
|
408
|
-
export const se_UpdateDatasetCommand = async (input, context) => {
|
|
409
|
-
const headers = sharedHeaders("UpdateDataset");
|
|
410
|
-
let body;
|
|
411
|
-
body = JSON.stringify(_json(input));
|
|
412
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
413
|
-
};
|
|
414
|
-
export const se_UpdateMetricAttributionCommand = async (input, context) => {
|
|
415
|
-
const headers = sharedHeaders("UpdateMetricAttribution");
|
|
416
|
-
let body;
|
|
417
|
-
body = JSON.stringify(_json(input));
|
|
418
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
419
|
-
};
|
|
420
|
-
export const se_UpdateRecommenderCommand = async (input, context) => {
|
|
421
|
-
const headers = sharedHeaders("UpdateRecommender");
|
|
422
|
-
let body;
|
|
423
|
-
body = JSON.stringify(_json(input));
|
|
424
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
425
|
-
};
|
|
426
|
-
export const se_UpdateSolutionCommand = async (input, context) => {
|
|
427
|
-
const headers = sharedHeaders("UpdateSolution");
|
|
428
|
-
let body;
|
|
429
|
-
body = JSON.stringify(se_UpdateSolutionRequest(input, context));
|
|
430
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
431
|
-
};
|
|
432
|
-
export const de_CreateBatchInferenceJobCommand = async (output, context) => {
|
|
433
|
-
if (output.statusCode >= 300) {
|
|
434
|
-
return de_CommandError(output, context);
|
|
435
|
-
}
|
|
436
|
-
const data = await parseBody(output.body, context);
|
|
437
|
-
let contents = {};
|
|
438
|
-
contents = _json(data);
|
|
439
|
-
const response = {
|
|
440
|
-
$metadata: deserializeMetadata(output),
|
|
441
|
-
...contents,
|
|
442
|
-
};
|
|
443
|
-
return response;
|
|
444
|
-
};
|
|
445
|
-
export const de_CreateBatchSegmentJobCommand = async (output, context) => {
|
|
446
|
-
if (output.statusCode >= 300) {
|
|
447
|
-
return de_CommandError(output, context);
|
|
448
|
-
}
|
|
449
|
-
const data = await parseBody(output.body, context);
|
|
450
|
-
let contents = {};
|
|
451
|
-
contents = _json(data);
|
|
452
|
-
const response = {
|
|
453
|
-
$metadata: deserializeMetadata(output),
|
|
454
|
-
...contents,
|
|
455
|
-
};
|
|
456
|
-
return response;
|
|
457
|
-
};
|
|
458
|
-
export const de_CreateCampaignCommand = async (output, context) => {
|
|
459
|
-
if (output.statusCode >= 300) {
|
|
460
|
-
return de_CommandError(output, context);
|
|
461
|
-
}
|
|
462
|
-
const data = await parseBody(output.body, context);
|
|
463
|
-
let contents = {};
|
|
464
|
-
contents = _json(data);
|
|
465
|
-
const response = {
|
|
466
|
-
$metadata: deserializeMetadata(output),
|
|
467
|
-
...contents,
|
|
468
|
-
};
|
|
469
|
-
return response;
|
|
470
|
-
};
|
|
471
|
-
export const de_CreateDataDeletionJobCommand = async (output, context) => {
|
|
472
|
-
if (output.statusCode >= 300) {
|
|
473
|
-
return de_CommandError(output, context);
|
|
474
|
-
}
|
|
475
|
-
const data = await parseBody(output.body, context);
|
|
476
|
-
let contents = {};
|
|
477
|
-
contents = _json(data);
|
|
478
|
-
const response = {
|
|
479
|
-
$metadata: deserializeMetadata(output),
|
|
480
|
-
...contents,
|
|
481
|
-
};
|
|
482
|
-
return response;
|
|
483
|
-
};
|
|
484
|
-
export const de_CreateDatasetCommand = async (output, context) => {
|
|
485
|
-
if (output.statusCode >= 300) {
|
|
486
|
-
return de_CommandError(output, context);
|
|
487
|
-
}
|
|
488
|
-
const data = await parseBody(output.body, context);
|
|
489
|
-
let contents = {};
|
|
490
|
-
contents = _json(data);
|
|
491
|
-
const response = {
|
|
492
|
-
$metadata: deserializeMetadata(output),
|
|
493
|
-
...contents,
|
|
494
|
-
};
|
|
495
|
-
return response;
|
|
496
|
-
};
|
|
497
|
-
export const de_CreateDatasetExportJobCommand = async (output, context) => {
|
|
498
|
-
if (output.statusCode >= 300) {
|
|
499
|
-
return de_CommandError(output, context);
|
|
500
|
-
}
|
|
501
|
-
const data = await parseBody(output.body, context);
|
|
502
|
-
let contents = {};
|
|
503
|
-
contents = _json(data);
|
|
504
|
-
const response = {
|
|
505
|
-
$metadata: deserializeMetadata(output),
|
|
506
|
-
...contents,
|
|
507
|
-
};
|
|
508
|
-
return response;
|
|
509
|
-
};
|
|
510
|
-
export const de_CreateDatasetGroupCommand = async (output, context) => {
|
|
511
|
-
if (output.statusCode >= 300) {
|
|
512
|
-
return de_CommandError(output, context);
|
|
513
|
-
}
|
|
514
|
-
const data = await parseBody(output.body, context);
|
|
515
|
-
let contents = {};
|
|
516
|
-
contents = _json(data);
|
|
517
|
-
const response = {
|
|
518
|
-
$metadata: deserializeMetadata(output),
|
|
519
|
-
...contents,
|
|
520
|
-
};
|
|
521
|
-
return response;
|
|
522
|
-
};
|
|
523
|
-
export const de_CreateDatasetImportJobCommand = async (output, context) => {
|
|
524
|
-
if (output.statusCode >= 300) {
|
|
525
|
-
return de_CommandError(output, context);
|
|
526
|
-
}
|
|
527
|
-
const data = await parseBody(output.body, context);
|
|
528
|
-
let contents = {};
|
|
529
|
-
contents = _json(data);
|
|
530
|
-
const response = {
|
|
531
|
-
$metadata: deserializeMetadata(output),
|
|
532
|
-
...contents,
|
|
533
|
-
};
|
|
534
|
-
return response;
|
|
535
|
-
};
|
|
536
|
-
export const de_CreateEventTrackerCommand = async (output, context) => {
|
|
537
|
-
if (output.statusCode >= 300) {
|
|
538
|
-
return de_CommandError(output, context);
|
|
539
|
-
}
|
|
540
|
-
const data = await parseBody(output.body, context);
|
|
541
|
-
let contents = {};
|
|
542
|
-
contents = _json(data);
|
|
543
|
-
const response = {
|
|
544
|
-
$metadata: deserializeMetadata(output),
|
|
545
|
-
...contents,
|
|
546
|
-
};
|
|
547
|
-
return response;
|
|
548
|
-
};
|
|
549
|
-
export const de_CreateFilterCommand = async (output, context) => {
|
|
550
|
-
if (output.statusCode >= 300) {
|
|
551
|
-
return de_CommandError(output, context);
|
|
552
|
-
}
|
|
553
|
-
const data = await parseBody(output.body, context);
|
|
554
|
-
let contents = {};
|
|
555
|
-
contents = _json(data);
|
|
556
|
-
const response = {
|
|
557
|
-
$metadata: deserializeMetadata(output),
|
|
558
|
-
...contents,
|
|
559
|
-
};
|
|
560
|
-
return response;
|
|
561
|
-
};
|
|
562
|
-
export const de_CreateMetricAttributionCommand = async (output, context) => {
|
|
563
|
-
if (output.statusCode >= 300) {
|
|
564
|
-
return de_CommandError(output, context);
|
|
565
|
-
}
|
|
566
|
-
const data = await parseBody(output.body, context);
|
|
567
|
-
let contents = {};
|
|
568
|
-
contents = _json(data);
|
|
569
|
-
const response = {
|
|
570
|
-
$metadata: deserializeMetadata(output),
|
|
571
|
-
...contents,
|
|
572
|
-
};
|
|
573
|
-
return response;
|
|
574
|
-
};
|
|
575
|
-
export const de_CreateRecommenderCommand = async (output, context) => {
|
|
576
|
-
if (output.statusCode >= 300) {
|
|
577
|
-
return de_CommandError(output, context);
|
|
578
|
-
}
|
|
579
|
-
const data = await parseBody(output.body, context);
|
|
580
|
-
let contents = {};
|
|
581
|
-
contents = _json(data);
|
|
582
|
-
const response = {
|
|
583
|
-
$metadata: deserializeMetadata(output),
|
|
584
|
-
...contents,
|
|
585
|
-
};
|
|
586
|
-
return response;
|
|
587
|
-
};
|
|
588
|
-
export const de_CreateSchemaCommand = async (output, context) => {
|
|
589
|
-
if (output.statusCode >= 300) {
|
|
590
|
-
return de_CommandError(output, context);
|
|
591
|
-
}
|
|
592
|
-
const data = await parseBody(output.body, context);
|
|
593
|
-
let contents = {};
|
|
594
|
-
contents = _json(data);
|
|
595
|
-
const response = {
|
|
596
|
-
$metadata: deserializeMetadata(output),
|
|
597
|
-
...contents,
|
|
598
|
-
};
|
|
599
|
-
return response;
|
|
600
|
-
};
|
|
601
|
-
export const de_CreateSolutionCommand = async (output, context) => {
|
|
602
|
-
if (output.statusCode >= 300) {
|
|
603
|
-
return de_CommandError(output, context);
|
|
604
|
-
}
|
|
605
|
-
const data = await parseBody(output.body, context);
|
|
606
|
-
let contents = {};
|
|
607
|
-
contents = _json(data);
|
|
608
|
-
const response = {
|
|
609
|
-
$metadata: deserializeMetadata(output),
|
|
610
|
-
...contents,
|
|
611
|
-
};
|
|
612
|
-
return response;
|
|
613
|
-
};
|
|
614
|
-
export const de_CreateSolutionVersionCommand = async (output, context) => {
|
|
615
|
-
if (output.statusCode >= 300) {
|
|
616
|
-
return de_CommandError(output, context);
|
|
617
|
-
}
|
|
618
|
-
const data = await parseBody(output.body, context);
|
|
619
|
-
let contents = {};
|
|
620
|
-
contents = _json(data);
|
|
621
|
-
const response = {
|
|
622
|
-
$metadata: deserializeMetadata(output),
|
|
623
|
-
...contents,
|
|
624
|
-
};
|
|
625
|
-
return response;
|
|
626
|
-
};
|
|
627
|
-
export const de_DeleteCampaignCommand = async (output, context) => {
|
|
628
|
-
if (output.statusCode >= 300) {
|
|
629
|
-
return de_CommandError(output, context);
|
|
630
|
-
}
|
|
631
|
-
await collectBody(output.body, context);
|
|
632
|
-
const response = {
|
|
633
|
-
$metadata: deserializeMetadata(output),
|
|
634
|
-
};
|
|
635
|
-
return response;
|
|
636
|
-
};
|
|
637
|
-
export const de_DeleteDatasetCommand = async (output, context) => {
|
|
638
|
-
if (output.statusCode >= 300) {
|
|
639
|
-
return de_CommandError(output, context);
|
|
640
|
-
}
|
|
641
|
-
await collectBody(output.body, context);
|
|
642
|
-
const response = {
|
|
643
|
-
$metadata: deserializeMetadata(output),
|
|
644
|
-
};
|
|
645
|
-
return response;
|
|
646
|
-
};
|
|
647
|
-
export const de_DeleteDatasetGroupCommand = async (output, context) => {
|
|
648
|
-
if (output.statusCode >= 300) {
|
|
649
|
-
return de_CommandError(output, context);
|
|
650
|
-
}
|
|
651
|
-
await collectBody(output.body, context);
|
|
652
|
-
const response = {
|
|
653
|
-
$metadata: deserializeMetadata(output),
|
|
654
|
-
};
|
|
655
|
-
return response;
|
|
656
|
-
};
|
|
657
|
-
export const de_DeleteEventTrackerCommand = async (output, context) => {
|
|
658
|
-
if (output.statusCode >= 300) {
|
|
659
|
-
return de_CommandError(output, context);
|
|
660
|
-
}
|
|
661
|
-
await collectBody(output.body, context);
|
|
662
|
-
const response = {
|
|
663
|
-
$metadata: deserializeMetadata(output),
|
|
664
|
-
};
|
|
665
|
-
return response;
|
|
666
|
-
};
|
|
667
|
-
export const de_DeleteFilterCommand = async (output, context) => {
|
|
668
|
-
if (output.statusCode >= 300) {
|
|
669
|
-
return de_CommandError(output, context);
|
|
670
|
-
}
|
|
671
|
-
await collectBody(output.body, context);
|
|
672
|
-
const response = {
|
|
673
|
-
$metadata: deserializeMetadata(output),
|
|
674
|
-
};
|
|
675
|
-
return response;
|
|
676
|
-
};
|
|
677
|
-
export const de_DeleteMetricAttributionCommand = async (output, context) => {
|
|
678
|
-
if (output.statusCode >= 300) {
|
|
679
|
-
return de_CommandError(output, context);
|
|
680
|
-
}
|
|
681
|
-
await collectBody(output.body, context);
|
|
682
|
-
const response = {
|
|
683
|
-
$metadata: deserializeMetadata(output),
|
|
684
|
-
};
|
|
685
|
-
return response;
|
|
686
|
-
};
|
|
687
|
-
export const de_DeleteRecommenderCommand = async (output, context) => {
|
|
688
|
-
if (output.statusCode >= 300) {
|
|
689
|
-
return de_CommandError(output, context);
|
|
690
|
-
}
|
|
691
|
-
await collectBody(output.body, context);
|
|
692
|
-
const response = {
|
|
693
|
-
$metadata: deserializeMetadata(output),
|
|
694
|
-
};
|
|
695
|
-
return response;
|
|
696
|
-
};
|
|
697
|
-
export const de_DeleteSchemaCommand = async (output, context) => {
|
|
698
|
-
if (output.statusCode >= 300) {
|
|
699
|
-
return de_CommandError(output, context);
|
|
700
|
-
}
|
|
701
|
-
await collectBody(output.body, context);
|
|
702
|
-
const response = {
|
|
703
|
-
$metadata: deserializeMetadata(output),
|
|
704
|
-
};
|
|
705
|
-
return response;
|
|
706
|
-
};
|
|
707
|
-
export const de_DeleteSolutionCommand = async (output, context) => {
|
|
708
|
-
if (output.statusCode >= 300) {
|
|
709
|
-
return de_CommandError(output, context);
|
|
710
|
-
}
|
|
711
|
-
await collectBody(output.body, context);
|
|
712
|
-
const response = {
|
|
713
|
-
$metadata: deserializeMetadata(output),
|
|
714
|
-
};
|
|
715
|
-
return response;
|
|
716
|
-
};
|
|
717
|
-
export const de_DescribeAlgorithmCommand = async (output, context) => {
|
|
718
|
-
if (output.statusCode >= 300) {
|
|
719
|
-
return de_CommandError(output, context);
|
|
720
|
-
}
|
|
721
|
-
const data = await parseBody(output.body, context);
|
|
722
|
-
let contents = {};
|
|
723
|
-
contents = de_DescribeAlgorithmResponse(data, context);
|
|
724
|
-
const response = {
|
|
725
|
-
$metadata: deserializeMetadata(output),
|
|
726
|
-
...contents,
|
|
727
|
-
};
|
|
728
|
-
return response;
|
|
729
|
-
};
|
|
730
|
-
export const de_DescribeBatchInferenceJobCommand = async (output, context) => {
|
|
731
|
-
if (output.statusCode >= 300) {
|
|
732
|
-
return de_CommandError(output, context);
|
|
733
|
-
}
|
|
734
|
-
const data = await parseBody(output.body, context);
|
|
735
|
-
let contents = {};
|
|
736
|
-
contents = de_DescribeBatchInferenceJobResponse(data, context);
|
|
737
|
-
const response = {
|
|
738
|
-
$metadata: deserializeMetadata(output),
|
|
739
|
-
...contents,
|
|
740
|
-
};
|
|
741
|
-
return response;
|
|
742
|
-
};
|
|
743
|
-
export const de_DescribeBatchSegmentJobCommand = async (output, context) => {
|
|
744
|
-
if (output.statusCode >= 300) {
|
|
745
|
-
return de_CommandError(output, context);
|
|
746
|
-
}
|
|
747
|
-
const data = await parseBody(output.body, context);
|
|
748
|
-
let contents = {};
|
|
749
|
-
contents = de_DescribeBatchSegmentJobResponse(data, context);
|
|
750
|
-
const response = {
|
|
751
|
-
$metadata: deserializeMetadata(output),
|
|
752
|
-
...contents,
|
|
753
|
-
};
|
|
754
|
-
return response;
|
|
755
|
-
};
|
|
756
|
-
export const de_DescribeCampaignCommand = async (output, context) => {
|
|
757
|
-
if (output.statusCode >= 300) {
|
|
758
|
-
return de_CommandError(output, context);
|
|
759
|
-
}
|
|
760
|
-
const data = await parseBody(output.body, context);
|
|
761
|
-
let contents = {};
|
|
762
|
-
contents = de_DescribeCampaignResponse(data, context);
|
|
763
|
-
const response = {
|
|
764
|
-
$metadata: deserializeMetadata(output),
|
|
765
|
-
...contents,
|
|
766
|
-
};
|
|
767
|
-
return response;
|
|
768
|
-
};
|
|
769
|
-
export const de_DescribeDataDeletionJobCommand = async (output, context) => {
|
|
770
|
-
if (output.statusCode >= 300) {
|
|
771
|
-
return de_CommandError(output, context);
|
|
772
|
-
}
|
|
773
|
-
const data = await parseBody(output.body, context);
|
|
774
|
-
let contents = {};
|
|
775
|
-
contents = de_DescribeDataDeletionJobResponse(data, context);
|
|
776
|
-
const response = {
|
|
777
|
-
$metadata: deserializeMetadata(output),
|
|
778
|
-
...contents,
|
|
779
|
-
};
|
|
780
|
-
return response;
|
|
781
|
-
};
|
|
782
|
-
export const de_DescribeDatasetCommand = async (output, context) => {
|
|
783
|
-
if (output.statusCode >= 300) {
|
|
784
|
-
return de_CommandError(output, context);
|
|
785
|
-
}
|
|
786
|
-
const data = await parseBody(output.body, context);
|
|
787
|
-
let contents = {};
|
|
788
|
-
contents = de_DescribeDatasetResponse(data, context);
|
|
789
|
-
const response = {
|
|
790
|
-
$metadata: deserializeMetadata(output),
|
|
791
|
-
...contents,
|
|
792
|
-
};
|
|
793
|
-
return response;
|
|
794
|
-
};
|
|
795
|
-
export const de_DescribeDatasetExportJobCommand = async (output, context) => {
|
|
796
|
-
if (output.statusCode >= 300) {
|
|
797
|
-
return de_CommandError(output, context);
|
|
798
|
-
}
|
|
799
|
-
const data = await parseBody(output.body, context);
|
|
800
|
-
let contents = {};
|
|
801
|
-
contents = de_DescribeDatasetExportJobResponse(data, context);
|
|
802
|
-
const response = {
|
|
803
|
-
$metadata: deserializeMetadata(output),
|
|
804
|
-
...contents,
|
|
805
|
-
};
|
|
806
|
-
return response;
|
|
807
|
-
};
|
|
808
|
-
export const de_DescribeDatasetGroupCommand = async (output, context) => {
|
|
809
|
-
if (output.statusCode >= 300) {
|
|
810
|
-
return de_CommandError(output, context);
|
|
811
|
-
}
|
|
812
|
-
const data = await parseBody(output.body, context);
|
|
813
|
-
let contents = {};
|
|
814
|
-
contents = de_DescribeDatasetGroupResponse(data, context);
|
|
815
|
-
const response = {
|
|
816
|
-
$metadata: deserializeMetadata(output),
|
|
817
|
-
...contents,
|
|
818
|
-
};
|
|
819
|
-
return response;
|
|
820
|
-
};
|
|
821
|
-
export const de_DescribeDatasetImportJobCommand = async (output, context) => {
|
|
822
|
-
if (output.statusCode >= 300) {
|
|
823
|
-
return de_CommandError(output, context);
|
|
824
|
-
}
|
|
825
|
-
const data = await parseBody(output.body, context);
|
|
826
|
-
let contents = {};
|
|
827
|
-
contents = de_DescribeDatasetImportJobResponse(data, context);
|
|
828
|
-
const response = {
|
|
829
|
-
$metadata: deserializeMetadata(output),
|
|
830
|
-
...contents,
|
|
831
|
-
};
|
|
832
|
-
return response;
|
|
833
|
-
};
|
|
834
|
-
export const de_DescribeEventTrackerCommand = async (output, context) => {
|
|
835
|
-
if (output.statusCode >= 300) {
|
|
836
|
-
return de_CommandError(output, context);
|
|
837
|
-
}
|
|
838
|
-
const data = await parseBody(output.body, context);
|
|
839
|
-
let contents = {};
|
|
840
|
-
contents = de_DescribeEventTrackerResponse(data, context);
|
|
841
|
-
const response = {
|
|
842
|
-
$metadata: deserializeMetadata(output),
|
|
843
|
-
...contents,
|
|
844
|
-
};
|
|
845
|
-
return response;
|
|
846
|
-
};
|
|
847
|
-
export const de_DescribeFeatureTransformationCommand = async (output, context) => {
|
|
848
|
-
if (output.statusCode >= 300) {
|
|
849
|
-
return de_CommandError(output, context);
|
|
850
|
-
}
|
|
851
|
-
const data = await parseBody(output.body, context);
|
|
852
|
-
let contents = {};
|
|
853
|
-
contents = de_DescribeFeatureTransformationResponse(data, context);
|
|
854
|
-
const response = {
|
|
855
|
-
$metadata: deserializeMetadata(output),
|
|
856
|
-
...contents,
|
|
857
|
-
};
|
|
858
|
-
return response;
|
|
859
|
-
};
|
|
860
|
-
export const de_DescribeFilterCommand = async (output, context) => {
|
|
861
|
-
if (output.statusCode >= 300) {
|
|
862
|
-
return de_CommandError(output, context);
|
|
863
|
-
}
|
|
864
|
-
const data = await parseBody(output.body, context);
|
|
865
|
-
let contents = {};
|
|
866
|
-
contents = de_DescribeFilterResponse(data, context);
|
|
867
|
-
const response = {
|
|
868
|
-
$metadata: deserializeMetadata(output),
|
|
869
|
-
...contents,
|
|
870
|
-
};
|
|
871
|
-
return response;
|
|
872
|
-
};
|
|
873
|
-
export const de_DescribeMetricAttributionCommand = async (output, context) => {
|
|
874
|
-
if (output.statusCode >= 300) {
|
|
875
|
-
return de_CommandError(output, context);
|
|
876
|
-
}
|
|
877
|
-
const data = await parseBody(output.body, context);
|
|
878
|
-
let contents = {};
|
|
879
|
-
contents = de_DescribeMetricAttributionResponse(data, context);
|
|
880
|
-
const response = {
|
|
881
|
-
$metadata: deserializeMetadata(output),
|
|
882
|
-
...contents,
|
|
883
|
-
};
|
|
884
|
-
return response;
|
|
885
|
-
};
|
|
886
|
-
export const de_DescribeRecipeCommand = async (output, context) => {
|
|
887
|
-
if (output.statusCode >= 300) {
|
|
888
|
-
return de_CommandError(output, context);
|
|
889
|
-
}
|
|
890
|
-
const data = await parseBody(output.body, context);
|
|
891
|
-
let contents = {};
|
|
892
|
-
contents = de_DescribeRecipeResponse(data, context);
|
|
893
|
-
const response = {
|
|
894
|
-
$metadata: deserializeMetadata(output),
|
|
895
|
-
...contents,
|
|
896
|
-
};
|
|
897
|
-
return response;
|
|
898
|
-
};
|
|
899
|
-
export const de_DescribeRecommenderCommand = async (output, context) => {
|
|
900
|
-
if (output.statusCode >= 300) {
|
|
901
|
-
return de_CommandError(output, context);
|
|
902
|
-
}
|
|
903
|
-
const data = await parseBody(output.body, context);
|
|
904
|
-
let contents = {};
|
|
905
|
-
contents = de_DescribeRecommenderResponse(data, context);
|
|
906
|
-
const response = {
|
|
907
|
-
$metadata: deserializeMetadata(output),
|
|
908
|
-
...contents,
|
|
909
|
-
};
|
|
910
|
-
return response;
|
|
911
|
-
};
|
|
912
|
-
export const de_DescribeSchemaCommand = async (output, context) => {
|
|
913
|
-
if (output.statusCode >= 300) {
|
|
914
|
-
return de_CommandError(output, context);
|
|
915
|
-
}
|
|
916
|
-
const data = await parseBody(output.body, context);
|
|
917
|
-
let contents = {};
|
|
918
|
-
contents = de_DescribeSchemaResponse(data, context);
|
|
919
|
-
const response = {
|
|
920
|
-
$metadata: deserializeMetadata(output),
|
|
921
|
-
...contents,
|
|
922
|
-
};
|
|
923
|
-
return response;
|
|
924
|
-
};
|
|
925
|
-
export const de_DescribeSolutionCommand = async (output, context) => {
|
|
926
|
-
if (output.statusCode >= 300) {
|
|
927
|
-
return de_CommandError(output, context);
|
|
928
|
-
}
|
|
929
|
-
const data = await parseBody(output.body, context);
|
|
930
|
-
let contents = {};
|
|
931
|
-
contents = de_DescribeSolutionResponse(data, context);
|
|
932
|
-
const response = {
|
|
933
|
-
$metadata: deserializeMetadata(output),
|
|
934
|
-
...contents,
|
|
935
|
-
};
|
|
936
|
-
return response;
|
|
937
|
-
};
|
|
938
|
-
export const de_DescribeSolutionVersionCommand = async (output, context) => {
|
|
939
|
-
if (output.statusCode >= 300) {
|
|
940
|
-
return de_CommandError(output, context);
|
|
941
|
-
}
|
|
942
|
-
const data = await parseBody(output.body, context);
|
|
943
|
-
let contents = {};
|
|
944
|
-
contents = de_DescribeSolutionVersionResponse(data, context);
|
|
945
|
-
const response = {
|
|
946
|
-
$metadata: deserializeMetadata(output),
|
|
947
|
-
...contents,
|
|
948
|
-
};
|
|
949
|
-
return response;
|
|
950
|
-
};
|
|
951
|
-
export const de_GetSolutionMetricsCommand = async (output, context) => {
|
|
952
|
-
if (output.statusCode >= 300) {
|
|
953
|
-
return de_CommandError(output, context);
|
|
954
|
-
}
|
|
955
|
-
const data = await parseBody(output.body, context);
|
|
956
|
-
let contents = {};
|
|
957
|
-
contents = de_GetSolutionMetricsResponse(data, context);
|
|
958
|
-
const response = {
|
|
959
|
-
$metadata: deserializeMetadata(output),
|
|
960
|
-
...contents,
|
|
961
|
-
};
|
|
962
|
-
return response;
|
|
963
|
-
};
|
|
964
|
-
export const de_ListBatchInferenceJobsCommand = async (output, context) => {
|
|
965
|
-
if (output.statusCode >= 300) {
|
|
966
|
-
return de_CommandError(output, context);
|
|
967
|
-
}
|
|
968
|
-
const data = await parseBody(output.body, context);
|
|
969
|
-
let contents = {};
|
|
970
|
-
contents = de_ListBatchInferenceJobsResponse(data, context);
|
|
971
|
-
const response = {
|
|
972
|
-
$metadata: deserializeMetadata(output),
|
|
973
|
-
...contents,
|
|
974
|
-
};
|
|
975
|
-
return response;
|
|
976
|
-
};
|
|
977
|
-
export const de_ListBatchSegmentJobsCommand = async (output, context) => {
|
|
978
|
-
if (output.statusCode >= 300) {
|
|
979
|
-
return de_CommandError(output, context);
|
|
980
|
-
}
|
|
981
|
-
const data = await parseBody(output.body, context);
|
|
982
|
-
let contents = {};
|
|
983
|
-
contents = de_ListBatchSegmentJobsResponse(data, context);
|
|
984
|
-
const response = {
|
|
985
|
-
$metadata: deserializeMetadata(output),
|
|
986
|
-
...contents,
|
|
987
|
-
};
|
|
988
|
-
return response;
|
|
989
|
-
};
|
|
990
|
-
export const de_ListCampaignsCommand = async (output, context) => {
|
|
991
|
-
if (output.statusCode >= 300) {
|
|
992
|
-
return de_CommandError(output, context);
|
|
993
|
-
}
|
|
994
|
-
const data = await parseBody(output.body, context);
|
|
995
|
-
let contents = {};
|
|
996
|
-
contents = de_ListCampaignsResponse(data, context);
|
|
997
|
-
const response = {
|
|
998
|
-
$metadata: deserializeMetadata(output),
|
|
999
|
-
...contents,
|
|
1000
|
-
};
|
|
1001
|
-
return response;
|
|
1002
|
-
};
|
|
1003
|
-
export const de_ListDataDeletionJobsCommand = async (output, context) => {
|
|
1004
|
-
if (output.statusCode >= 300) {
|
|
1005
|
-
return de_CommandError(output, context);
|
|
1006
|
-
}
|
|
1007
|
-
const data = await parseBody(output.body, context);
|
|
1008
|
-
let contents = {};
|
|
1009
|
-
contents = de_ListDataDeletionJobsResponse(data, context);
|
|
1010
|
-
const response = {
|
|
1011
|
-
$metadata: deserializeMetadata(output),
|
|
1012
|
-
...contents,
|
|
1013
|
-
};
|
|
1014
|
-
return response;
|
|
1015
|
-
};
|
|
1016
|
-
export const de_ListDatasetExportJobsCommand = async (output, context) => {
|
|
1017
|
-
if (output.statusCode >= 300) {
|
|
1018
|
-
return de_CommandError(output, context);
|
|
1019
|
-
}
|
|
1020
|
-
const data = await parseBody(output.body, context);
|
|
1021
|
-
let contents = {};
|
|
1022
|
-
contents = de_ListDatasetExportJobsResponse(data, context);
|
|
1023
|
-
const response = {
|
|
1024
|
-
$metadata: deserializeMetadata(output),
|
|
1025
|
-
...contents,
|
|
1026
|
-
};
|
|
1027
|
-
return response;
|
|
1028
|
-
};
|
|
1029
|
-
export const de_ListDatasetGroupsCommand = async (output, context) => {
|
|
1030
|
-
if (output.statusCode >= 300) {
|
|
1031
|
-
return de_CommandError(output, context);
|
|
1032
|
-
}
|
|
1033
|
-
const data = await parseBody(output.body, context);
|
|
1034
|
-
let contents = {};
|
|
1035
|
-
contents = de_ListDatasetGroupsResponse(data, context);
|
|
1036
|
-
const response = {
|
|
1037
|
-
$metadata: deserializeMetadata(output),
|
|
1038
|
-
...contents,
|
|
1039
|
-
};
|
|
1040
|
-
return response;
|
|
1041
|
-
};
|
|
1042
|
-
export const de_ListDatasetImportJobsCommand = async (output, context) => {
|
|
1043
|
-
if (output.statusCode >= 300) {
|
|
1044
|
-
return de_CommandError(output, context);
|
|
1045
|
-
}
|
|
1046
|
-
const data = await parseBody(output.body, context);
|
|
1047
|
-
let contents = {};
|
|
1048
|
-
contents = de_ListDatasetImportJobsResponse(data, context);
|
|
1049
|
-
const response = {
|
|
1050
|
-
$metadata: deserializeMetadata(output),
|
|
1051
|
-
...contents,
|
|
1052
|
-
};
|
|
1053
|
-
return response;
|
|
1054
|
-
};
|
|
1055
|
-
export const de_ListDatasetsCommand = async (output, context) => {
|
|
1056
|
-
if (output.statusCode >= 300) {
|
|
1057
|
-
return de_CommandError(output, context);
|
|
1058
|
-
}
|
|
1059
|
-
const data = await parseBody(output.body, context);
|
|
1060
|
-
let contents = {};
|
|
1061
|
-
contents = de_ListDatasetsResponse(data, context);
|
|
1062
|
-
const response = {
|
|
1063
|
-
$metadata: deserializeMetadata(output),
|
|
1064
|
-
...contents,
|
|
1065
|
-
};
|
|
1066
|
-
return response;
|
|
1067
|
-
};
|
|
1068
|
-
export const de_ListEventTrackersCommand = async (output, context) => {
|
|
1069
|
-
if (output.statusCode >= 300) {
|
|
1070
|
-
return de_CommandError(output, context);
|
|
1071
|
-
}
|
|
1072
|
-
const data = await parseBody(output.body, context);
|
|
1073
|
-
let contents = {};
|
|
1074
|
-
contents = de_ListEventTrackersResponse(data, context);
|
|
1075
|
-
const response = {
|
|
1076
|
-
$metadata: deserializeMetadata(output),
|
|
1077
|
-
...contents,
|
|
1078
|
-
};
|
|
1079
|
-
return response;
|
|
1080
|
-
};
|
|
1081
|
-
export const de_ListFiltersCommand = async (output, context) => {
|
|
1082
|
-
if (output.statusCode >= 300) {
|
|
1083
|
-
return de_CommandError(output, context);
|
|
1084
|
-
}
|
|
1085
|
-
const data = await parseBody(output.body, context);
|
|
1086
|
-
let contents = {};
|
|
1087
|
-
contents = de_ListFiltersResponse(data, context);
|
|
1088
|
-
const response = {
|
|
1089
|
-
$metadata: deserializeMetadata(output),
|
|
1090
|
-
...contents,
|
|
1091
|
-
};
|
|
1092
|
-
return response;
|
|
1093
|
-
};
|
|
1094
|
-
export const de_ListMetricAttributionMetricsCommand = async (output, context) => {
|
|
1095
|
-
if (output.statusCode >= 300) {
|
|
1096
|
-
return de_CommandError(output, context);
|
|
1097
|
-
}
|
|
1098
|
-
const data = await parseBody(output.body, context);
|
|
1099
|
-
let contents = {};
|
|
1100
|
-
contents = _json(data);
|
|
1101
|
-
const response = {
|
|
1102
|
-
$metadata: deserializeMetadata(output),
|
|
1103
|
-
...contents,
|
|
1104
|
-
};
|
|
1105
|
-
return response;
|
|
1106
|
-
};
|
|
1107
|
-
export const de_ListMetricAttributionsCommand = async (output, context) => {
|
|
1108
|
-
if (output.statusCode >= 300) {
|
|
1109
|
-
return de_CommandError(output, context);
|
|
1110
|
-
}
|
|
1111
|
-
const data = await parseBody(output.body, context);
|
|
1112
|
-
let contents = {};
|
|
1113
|
-
contents = de_ListMetricAttributionsResponse(data, context);
|
|
1114
|
-
const response = {
|
|
1115
|
-
$metadata: deserializeMetadata(output),
|
|
1116
|
-
...contents,
|
|
1117
|
-
};
|
|
1118
|
-
return response;
|
|
1119
|
-
};
|
|
1120
|
-
export const de_ListRecipesCommand = async (output, context) => {
|
|
1121
|
-
if (output.statusCode >= 300) {
|
|
1122
|
-
return de_CommandError(output, context);
|
|
1123
|
-
}
|
|
1124
|
-
const data = await parseBody(output.body, context);
|
|
1125
|
-
let contents = {};
|
|
1126
|
-
contents = de_ListRecipesResponse(data, context);
|
|
1127
|
-
const response = {
|
|
1128
|
-
$metadata: deserializeMetadata(output),
|
|
1129
|
-
...contents,
|
|
1130
|
-
};
|
|
1131
|
-
return response;
|
|
1132
|
-
};
|
|
1133
|
-
export const de_ListRecommendersCommand = async (output, context) => {
|
|
1134
|
-
if (output.statusCode >= 300) {
|
|
1135
|
-
return de_CommandError(output, context);
|
|
1136
|
-
}
|
|
1137
|
-
const data = await parseBody(output.body, context);
|
|
1138
|
-
let contents = {};
|
|
1139
|
-
contents = de_ListRecommendersResponse(data, context);
|
|
1140
|
-
const response = {
|
|
1141
|
-
$metadata: deserializeMetadata(output),
|
|
1142
|
-
...contents,
|
|
1143
|
-
};
|
|
1144
|
-
return response;
|
|
1145
|
-
};
|
|
1146
|
-
export const de_ListSchemasCommand = async (output, context) => {
|
|
1147
|
-
if (output.statusCode >= 300) {
|
|
1148
|
-
return de_CommandError(output, context);
|
|
1149
|
-
}
|
|
1150
|
-
const data = await parseBody(output.body, context);
|
|
1151
|
-
let contents = {};
|
|
1152
|
-
contents = de_ListSchemasResponse(data, context);
|
|
1153
|
-
const response = {
|
|
1154
|
-
$metadata: deserializeMetadata(output),
|
|
1155
|
-
...contents,
|
|
1156
|
-
};
|
|
1157
|
-
return response;
|
|
1158
|
-
};
|
|
1159
|
-
export const de_ListSolutionsCommand = async (output, context) => {
|
|
1160
|
-
if (output.statusCode >= 300) {
|
|
1161
|
-
return de_CommandError(output, context);
|
|
1162
|
-
}
|
|
1163
|
-
const data = await parseBody(output.body, context);
|
|
1164
|
-
let contents = {};
|
|
1165
|
-
contents = de_ListSolutionsResponse(data, context);
|
|
1166
|
-
const response = {
|
|
1167
|
-
$metadata: deserializeMetadata(output),
|
|
1168
|
-
...contents,
|
|
1169
|
-
};
|
|
1170
|
-
return response;
|
|
1171
|
-
};
|
|
1172
|
-
export const de_ListSolutionVersionsCommand = async (output, context) => {
|
|
1173
|
-
if (output.statusCode >= 300) {
|
|
1174
|
-
return de_CommandError(output, context);
|
|
1175
|
-
}
|
|
1176
|
-
const data = await parseBody(output.body, context);
|
|
1177
|
-
let contents = {};
|
|
1178
|
-
contents = de_ListSolutionVersionsResponse(data, context);
|
|
1179
|
-
const response = {
|
|
1180
|
-
$metadata: deserializeMetadata(output),
|
|
1181
|
-
...contents,
|
|
1182
|
-
};
|
|
1183
|
-
return response;
|
|
1184
|
-
};
|
|
1185
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1186
|
-
if (output.statusCode >= 300) {
|
|
1187
|
-
return de_CommandError(output, context);
|
|
1188
|
-
}
|
|
1189
|
-
const data = await parseBody(output.body, context);
|
|
1190
|
-
let contents = {};
|
|
1191
|
-
contents = _json(data);
|
|
1192
|
-
const response = {
|
|
1193
|
-
$metadata: deserializeMetadata(output),
|
|
1194
|
-
...contents,
|
|
1195
|
-
};
|
|
1196
|
-
return response;
|
|
1197
|
-
};
|
|
1198
|
-
export const de_StartRecommenderCommand = async (output, context) => {
|
|
1199
|
-
if (output.statusCode >= 300) {
|
|
1200
|
-
return de_CommandError(output, context);
|
|
1201
|
-
}
|
|
1202
|
-
const data = await parseBody(output.body, context);
|
|
1203
|
-
let contents = {};
|
|
1204
|
-
contents = _json(data);
|
|
1205
|
-
const response = {
|
|
1206
|
-
$metadata: deserializeMetadata(output),
|
|
1207
|
-
...contents,
|
|
1208
|
-
};
|
|
1209
|
-
return response;
|
|
1210
|
-
};
|
|
1211
|
-
export const de_StopRecommenderCommand = async (output, context) => {
|
|
1212
|
-
if (output.statusCode >= 300) {
|
|
1213
|
-
return de_CommandError(output, context);
|
|
1214
|
-
}
|
|
1215
|
-
const data = await parseBody(output.body, context);
|
|
1216
|
-
let contents = {};
|
|
1217
|
-
contents = _json(data);
|
|
1218
|
-
const response = {
|
|
1219
|
-
$metadata: deserializeMetadata(output),
|
|
1220
|
-
...contents,
|
|
1221
|
-
};
|
|
1222
|
-
return response;
|
|
1223
|
-
};
|
|
1224
|
-
export const de_StopSolutionVersionCreationCommand = async (output, context) => {
|
|
1225
|
-
if (output.statusCode >= 300) {
|
|
1226
|
-
return de_CommandError(output, context);
|
|
1227
|
-
}
|
|
1228
|
-
await collectBody(output.body, context);
|
|
1229
|
-
const response = {
|
|
1230
|
-
$metadata: deserializeMetadata(output),
|
|
1231
|
-
};
|
|
1232
|
-
return response;
|
|
1233
|
-
};
|
|
1234
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
1235
|
-
if (output.statusCode >= 300) {
|
|
1236
|
-
return de_CommandError(output, context);
|
|
1237
|
-
}
|
|
1238
|
-
const data = await parseBody(output.body, context);
|
|
1239
|
-
let contents = {};
|
|
1240
|
-
contents = _json(data);
|
|
1241
|
-
const response = {
|
|
1242
|
-
$metadata: deserializeMetadata(output),
|
|
1243
|
-
...contents,
|
|
1244
|
-
};
|
|
1245
|
-
return response;
|
|
1246
|
-
};
|
|
1247
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
1248
|
-
if (output.statusCode >= 300) {
|
|
1249
|
-
return de_CommandError(output, context);
|
|
1250
|
-
}
|
|
1251
|
-
const data = await parseBody(output.body, context);
|
|
1252
|
-
let contents = {};
|
|
1253
|
-
contents = _json(data);
|
|
1254
|
-
const response = {
|
|
1255
|
-
$metadata: deserializeMetadata(output),
|
|
1256
|
-
...contents,
|
|
1257
|
-
};
|
|
1258
|
-
return response;
|
|
1259
|
-
};
|
|
1260
|
-
export const de_UpdateCampaignCommand = async (output, context) => {
|
|
1261
|
-
if (output.statusCode >= 300) {
|
|
1262
|
-
return de_CommandError(output, context);
|
|
1263
|
-
}
|
|
1264
|
-
const data = await parseBody(output.body, context);
|
|
1265
|
-
let contents = {};
|
|
1266
|
-
contents = _json(data);
|
|
1267
|
-
const response = {
|
|
1268
|
-
$metadata: deserializeMetadata(output),
|
|
1269
|
-
...contents,
|
|
1270
|
-
};
|
|
1271
|
-
return response;
|
|
1272
|
-
};
|
|
1273
|
-
export const de_UpdateDatasetCommand = async (output, context) => {
|
|
1274
|
-
if (output.statusCode >= 300) {
|
|
1275
|
-
return de_CommandError(output, context);
|
|
1276
|
-
}
|
|
1277
|
-
const data = await parseBody(output.body, context);
|
|
1278
|
-
let contents = {};
|
|
1279
|
-
contents = _json(data);
|
|
1280
|
-
const response = {
|
|
1281
|
-
$metadata: deserializeMetadata(output),
|
|
1282
|
-
...contents,
|
|
1283
|
-
};
|
|
1284
|
-
return response;
|
|
1285
|
-
};
|
|
1286
|
-
export const de_UpdateMetricAttributionCommand = async (output, context) => {
|
|
1287
|
-
if (output.statusCode >= 300) {
|
|
1288
|
-
return de_CommandError(output, context);
|
|
1289
|
-
}
|
|
1290
|
-
const data = await parseBody(output.body, context);
|
|
1291
|
-
let contents = {};
|
|
1292
|
-
contents = _json(data);
|
|
1293
|
-
const response = {
|
|
1294
|
-
$metadata: deserializeMetadata(output),
|
|
1295
|
-
...contents,
|
|
1296
|
-
};
|
|
1297
|
-
return response;
|
|
1298
|
-
};
|
|
1299
|
-
export const de_UpdateRecommenderCommand = async (output, context) => {
|
|
1300
|
-
if (output.statusCode >= 300) {
|
|
1301
|
-
return de_CommandError(output, context);
|
|
1302
|
-
}
|
|
1303
|
-
const data = await parseBody(output.body, context);
|
|
1304
|
-
let contents = {};
|
|
1305
|
-
contents = _json(data);
|
|
1306
|
-
const response = {
|
|
1307
|
-
$metadata: deserializeMetadata(output),
|
|
1308
|
-
...contents,
|
|
1309
|
-
};
|
|
1310
|
-
return response;
|
|
1311
|
-
};
|
|
1312
|
-
export const de_UpdateSolutionCommand = async (output, context) => {
|
|
1313
|
-
if (output.statusCode >= 300) {
|
|
1314
|
-
return de_CommandError(output, context);
|
|
1315
|
-
}
|
|
1316
|
-
const data = await parseBody(output.body, context);
|
|
1317
|
-
let contents = {};
|
|
1318
|
-
contents = _json(data);
|
|
1319
|
-
const response = {
|
|
1320
|
-
$metadata: deserializeMetadata(output),
|
|
1321
|
-
...contents,
|
|
1322
|
-
};
|
|
1323
|
-
return response;
|
|
1324
|
-
};
|
|
1325
|
-
const de_CommandError = async (output, context) => {
|
|
1326
|
-
const parsedOutput = {
|
|
1327
|
-
...output,
|
|
1328
|
-
body: await parseErrorBody(output.body, context),
|
|
1329
|
-
};
|
|
1330
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1331
|
-
switch (errorCode) {
|
|
1332
|
-
case "InvalidInputException":
|
|
1333
|
-
case "com.amazonaws.personalize#InvalidInputException":
|
|
1334
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1335
|
-
case "LimitExceededException":
|
|
1336
|
-
case "com.amazonaws.personalize#LimitExceededException":
|
|
1337
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1338
|
-
case "ResourceAlreadyExistsException":
|
|
1339
|
-
case "com.amazonaws.personalize#ResourceAlreadyExistsException":
|
|
1340
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1341
|
-
case "ResourceInUseException":
|
|
1342
|
-
case "com.amazonaws.personalize#ResourceInUseException":
|
|
1343
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1344
|
-
case "ResourceNotFoundException":
|
|
1345
|
-
case "com.amazonaws.personalize#ResourceNotFoundException":
|
|
1346
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1347
|
-
case "TooManyTagsException":
|
|
1348
|
-
case "com.amazonaws.personalize#TooManyTagsException":
|
|
1349
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1350
|
-
case "InvalidNextTokenException":
|
|
1351
|
-
case "com.amazonaws.personalize#InvalidNextTokenException":
|
|
1352
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1353
|
-
case "TooManyTagKeysException":
|
|
1354
|
-
case "com.amazonaws.personalize#TooManyTagKeysException":
|
|
1355
|
-
throw await de_TooManyTagKeysExceptionRes(parsedOutput, context);
|
|
1356
|
-
default:
|
|
1357
|
-
const parsedBody = parsedOutput.body;
|
|
1358
|
-
return throwDefaultError({
|
|
1359
|
-
output,
|
|
1360
|
-
parsedBody,
|
|
1361
|
-
errorCode,
|
|
1362
|
-
});
|
|
1363
|
-
}
|
|
1364
|
-
};
|
|
1365
|
-
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
1366
|
-
const body = parsedOutput.body;
|
|
1367
|
-
const deserialized = _json(body);
|
|
1368
|
-
const exception = new InvalidInputException({
|
|
1369
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1370
|
-
...deserialized,
|
|
1371
|
-
});
|
|
1372
|
-
return __decorateServiceException(exception, body);
|
|
1373
|
-
};
|
|
1374
|
-
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
1375
|
-
const body = parsedOutput.body;
|
|
1376
|
-
const deserialized = _json(body);
|
|
1377
|
-
const exception = new InvalidNextTokenException({
|
|
1378
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1379
|
-
...deserialized,
|
|
1380
|
-
});
|
|
1381
|
-
return __decorateServiceException(exception, body);
|
|
1382
|
-
};
|
|
1383
|
-
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1384
|
-
const body = parsedOutput.body;
|
|
1385
|
-
const deserialized = _json(body);
|
|
1386
|
-
const exception = new LimitExceededException({
|
|
1387
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1388
|
-
...deserialized,
|
|
1389
|
-
});
|
|
1390
|
-
return __decorateServiceException(exception, body);
|
|
1391
|
-
};
|
|
1392
|
-
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1393
|
-
const body = parsedOutput.body;
|
|
1394
|
-
const deserialized = _json(body);
|
|
1395
|
-
const exception = new ResourceAlreadyExistsException({
|
|
1396
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1397
|
-
...deserialized,
|
|
1398
|
-
});
|
|
1399
|
-
return __decorateServiceException(exception, body);
|
|
1400
|
-
};
|
|
1401
|
-
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1402
|
-
const body = parsedOutput.body;
|
|
1403
|
-
const deserialized = _json(body);
|
|
1404
|
-
const exception = new ResourceInUseException({
|
|
1405
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1406
|
-
...deserialized,
|
|
1407
|
-
});
|
|
1408
|
-
return __decorateServiceException(exception, body);
|
|
1409
|
-
};
|
|
1410
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1411
|
-
const body = parsedOutput.body;
|
|
1412
|
-
const deserialized = _json(body);
|
|
1413
|
-
const exception = new ResourceNotFoundException({
|
|
1414
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1415
|
-
...deserialized,
|
|
1416
|
-
});
|
|
1417
|
-
return __decorateServiceException(exception, body);
|
|
1418
|
-
};
|
|
1419
|
-
const de_TooManyTagKeysExceptionRes = async (parsedOutput, context) => {
|
|
1420
|
-
const body = parsedOutput.body;
|
|
1421
|
-
const deserialized = _json(body);
|
|
1422
|
-
const exception = new TooManyTagKeysException({
|
|
1423
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1424
|
-
...deserialized,
|
|
1425
|
-
});
|
|
1426
|
-
return __decorateServiceException(exception, body);
|
|
1427
|
-
};
|
|
1428
|
-
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1429
|
-
const body = parsedOutput.body;
|
|
1430
|
-
const deserialized = _json(body);
|
|
1431
|
-
const exception = new TooManyTagsException({
|
|
1432
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1433
|
-
...deserialized,
|
|
1434
|
-
});
|
|
1435
|
-
return __decorateServiceException(exception, body);
|
|
1436
|
-
};
|
|
1437
|
-
const se_ContinuousHyperParameterRange = (input, context) => {
|
|
1438
|
-
return take(input, {
|
|
1439
|
-
maxValue: __serializeFloat,
|
|
1440
|
-
minValue: __serializeFloat,
|
|
1441
|
-
name: [],
|
|
1442
|
-
});
|
|
1443
|
-
};
|
|
1444
|
-
const se_ContinuousHyperParameterRanges = (input, context) => {
|
|
1445
|
-
return input
|
|
1446
|
-
.filter((e) => e != null)
|
|
1447
|
-
.map((entry) => {
|
|
1448
|
-
return se_ContinuousHyperParameterRange(entry, context);
|
|
1449
|
-
});
|
|
1450
|
-
};
|
|
1451
|
-
const se_CreateSolutionRequest = (input, context) => {
|
|
1452
|
-
return take(input, {
|
|
1453
|
-
datasetGroupArn: [],
|
|
1454
|
-
eventType: [],
|
|
1455
|
-
name: [],
|
|
1456
|
-
performAutoML: [],
|
|
1457
|
-
performAutoTraining: [],
|
|
1458
|
-
performHPO: [],
|
|
1459
|
-
recipeArn: [],
|
|
1460
|
-
solutionConfig: (_) => se_SolutionConfig(_, context),
|
|
1461
|
-
tags: _json,
|
|
1462
|
-
});
|
|
1463
|
-
};
|
|
1464
|
-
const se_EventParameters = (input, context) => {
|
|
1465
|
-
return take(input, {
|
|
1466
|
-
eventType: [],
|
|
1467
|
-
eventValueThreshold: __serializeFloat,
|
|
1468
|
-
weight: __serializeFloat,
|
|
1469
|
-
});
|
|
1470
|
-
};
|
|
1471
|
-
const se_EventParametersList = (input, context) => {
|
|
1472
|
-
return input
|
|
1473
|
-
.filter((e) => e != null)
|
|
1474
|
-
.map((entry) => {
|
|
1475
|
-
return se_EventParameters(entry, context);
|
|
1476
|
-
});
|
|
1477
|
-
};
|
|
1478
|
-
const se_EventsConfig = (input, context) => {
|
|
1479
|
-
return take(input, {
|
|
1480
|
-
eventParametersList: (_) => se_EventParametersList(_, context),
|
|
1481
|
-
});
|
|
1482
|
-
};
|
|
1483
|
-
const se_HPOConfig = (input, context) => {
|
|
1484
|
-
return take(input, {
|
|
1485
|
-
algorithmHyperParameterRanges: (_) => se_HyperParameterRanges(_, context),
|
|
1486
|
-
hpoObjective: _json,
|
|
1487
|
-
hpoResourceConfig: _json,
|
|
1488
|
-
});
|
|
1489
|
-
};
|
|
1490
|
-
const se_HyperParameterRanges = (input, context) => {
|
|
1491
|
-
return take(input, {
|
|
1492
|
-
categoricalHyperParameterRanges: _json,
|
|
1493
|
-
continuousHyperParameterRanges: (_) => se_ContinuousHyperParameterRanges(_, context),
|
|
1494
|
-
integerHyperParameterRanges: _json,
|
|
1495
|
-
});
|
|
1496
|
-
};
|
|
1497
|
-
const se_SolutionConfig = (input, context) => {
|
|
1498
|
-
return take(input, {
|
|
1499
|
-
algorithmHyperParameters: _json,
|
|
1500
|
-
autoMLConfig: _json,
|
|
1501
|
-
autoTrainingConfig: _json,
|
|
1502
|
-
eventValueThreshold: [],
|
|
1503
|
-
eventsConfig: (_) => se_EventsConfig(_, context),
|
|
1504
|
-
featureTransformationParameters: _json,
|
|
1505
|
-
hpoConfig: (_) => se_HPOConfig(_, context),
|
|
1506
|
-
optimizationObjective: _json,
|
|
1507
|
-
trainingDataConfig: _json,
|
|
1508
|
-
});
|
|
1509
|
-
};
|
|
1510
|
-
const se_SolutionUpdateConfig = (input, context) => {
|
|
1511
|
-
return take(input, {
|
|
1512
|
-
autoTrainingConfig: _json,
|
|
1513
|
-
eventsConfig: (_) => se_EventsConfig(_, context),
|
|
1514
|
-
});
|
|
1515
|
-
};
|
|
1516
|
-
const se_UpdateSolutionRequest = (input, context) => {
|
|
1517
|
-
return take(input, {
|
|
1518
|
-
performAutoTraining: [],
|
|
1519
|
-
solutionArn: [],
|
|
1520
|
-
solutionUpdateConfig: (_) => se_SolutionUpdateConfig(_, context),
|
|
1521
|
-
});
|
|
1522
|
-
};
|
|
1523
|
-
const de_Algorithm = (output, context) => {
|
|
1524
|
-
return take(output, {
|
|
1525
|
-
algorithmArn: __expectString,
|
|
1526
|
-
algorithmImage: _json,
|
|
1527
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1528
|
-
defaultHyperParameterRanges: (_) => de_DefaultHyperParameterRanges(_, context),
|
|
1529
|
-
defaultHyperParameters: _json,
|
|
1530
|
-
defaultResourceConfig: _json,
|
|
1531
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1532
|
-
name: __expectString,
|
|
1533
|
-
roleArn: __expectString,
|
|
1534
|
-
trainingInputMode: __expectString,
|
|
1535
|
-
});
|
|
1536
|
-
};
|
|
1537
|
-
const de_BatchInferenceJob = (output, context) => {
|
|
1538
|
-
return take(output, {
|
|
1539
|
-
batchInferenceJobArn: __expectString,
|
|
1540
|
-
batchInferenceJobConfig: _json,
|
|
1541
|
-
batchInferenceJobMode: __expectString,
|
|
1542
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1543
|
-
failureReason: __expectString,
|
|
1544
|
-
filterArn: __expectString,
|
|
1545
|
-
jobInput: _json,
|
|
1546
|
-
jobName: __expectString,
|
|
1547
|
-
jobOutput: _json,
|
|
1548
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1549
|
-
numResults: __expectInt32,
|
|
1550
|
-
roleArn: __expectString,
|
|
1551
|
-
solutionVersionArn: __expectString,
|
|
1552
|
-
status: __expectString,
|
|
1553
|
-
themeGenerationConfig: _json,
|
|
1554
|
-
});
|
|
1555
|
-
};
|
|
1556
|
-
const de_BatchInferenceJobs = (output, context) => {
|
|
1557
|
-
const retVal = (output || [])
|
|
1558
|
-
.filter((e) => e != null)
|
|
1559
|
-
.map((entry) => {
|
|
1560
|
-
return de_BatchInferenceJobSummary(entry, context);
|
|
1561
|
-
});
|
|
1562
|
-
return retVal;
|
|
1563
|
-
};
|
|
1564
|
-
const de_BatchInferenceJobSummary = (output, context) => {
|
|
1565
|
-
return take(output, {
|
|
1566
|
-
batchInferenceJobArn: __expectString,
|
|
1567
|
-
batchInferenceJobMode: __expectString,
|
|
1568
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1569
|
-
failureReason: __expectString,
|
|
1570
|
-
jobName: __expectString,
|
|
1571
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1572
|
-
solutionVersionArn: __expectString,
|
|
1573
|
-
status: __expectString,
|
|
1574
|
-
});
|
|
1575
|
-
};
|
|
1576
|
-
const de_BatchSegmentJob = (output, context) => {
|
|
1577
|
-
return take(output, {
|
|
1578
|
-
batchSegmentJobArn: __expectString,
|
|
1579
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1580
|
-
failureReason: __expectString,
|
|
1581
|
-
filterArn: __expectString,
|
|
1582
|
-
jobInput: _json,
|
|
1583
|
-
jobName: __expectString,
|
|
1584
|
-
jobOutput: _json,
|
|
1585
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1586
|
-
numResults: __expectInt32,
|
|
1587
|
-
roleArn: __expectString,
|
|
1588
|
-
solutionVersionArn: __expectString,
|
|
1589
|
-
status: __expectString,
|
|
1590
|
-
});
|
|
1591
|
-
};
|
|
1592
|
-
const de_BatchSegmentJobs = (output, context) => {
|
|
1593
|
-
const retVal = (output || [])
|
|
1594
|
-
.filter((e) => e != null)
|
|
1595
|
-
.map((entry) => {
|
|
1596
|
-
return de_BatchSegmentJobSummary(entry, context);
|
|
1597
|
-
});
|
|
1598
|
-
return retVal;
|
|
1599
|
-
};
|
|
1600
|
-
const de_BatchSegmentJobSummary = (output, context) => {
|
|
1601
|
-
return take(output, {
|
|
1602
|
-
batchSegmentJobArn: __expectString,
|
|
1603
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1604
|
-
failureReason: __expectString,
|
|
1605
|
-
jobName: __expectString,
|
|
1606
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1607
|
-
solutionVersionArn: __expectString,
|
|
1608
|
-
status: __expectString,
|
|
1609
|
-
});
|
|
1610
|
-
};
|
|
1611
|
-
const de_Campaign = (output, context) => {
|
|
1612
|
-
return take(output, {
|
|
1613
|
-
campaignArn: __expectString,
|
|
1614
|
-
campaignConfig: _json,
|
|
1615
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1616
|
-
failureReason: __expectString,
|
|
1617
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1618
|
-
latestCampaignUpdate: (_) => de_CampaignUpdateSummary(_, context),
|
|
1619
|
-
minProvisionedTPS: __expectInt32,
|
|
1620
|
-
name: __expectString,
|
|
1621
|
-
solutionVersionArn: __expectString,
|
|
1622
|
-
status: __expectString,
|
|
1623
|
-
});
|
|
1624
|
-
};
|
|
1625
|
-
const de_Campaigns = (output, context) => {
|
|
1626
|
-
const retVal = (output || [])
|
|
1627
|
-
.filter((e) => e != null)
|
|
1628
|
-
.map((entry) => {
|
|
1629
|
-
return de_CampaignSummary(entry, context);
|
|
1630
|
-
});
|
|
1631
|
-
return retVal;
|
|
1632
|
-
};
|
|
1633
|
-
const de_CampaignSummary = (output, context) => {
|
|
1634
|
-
return take(output, {
|
|
1635
|
-
campaignArn: __expectString,
|
|
1636
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1637
|
-
failureReason: __expectString,
|
|
1638
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1639
|
-
name: __expectString,
|
|
1640
|
-
status: __expectString,
|
|
1641
|
-
});
|
|
1642
|
-
};
|
|
1643
|
-
const de_CampaignUpdateSummary = (output, context) => {
|
|
1644
|
-
return take(output, {
|
|
1645
|
-
campaignConfig: _json,
|
|
1646
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1647
|
-
failureReason: __expectString,
|
|
1648
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1649
|
-
minProvisionedTPS: __expectInt32,
|
|
1650
|
-
solutionVersionArn: __expectString,
|
|
1651
|
-
status: __expectString,
|
|
1652
|
-
});
|
|
1653
|
-
};
|
|
1654
|
-
const de_ContinuousHyperParameterRange = (output, context) => {
|
|
1655
|
-
return take(output, {
|
|
1656
|
-
maxValue: __limitedParseDouble,
|
|
1657
|
-
minValue: __limitedParseDouble,
|
|
1658
|
-
name: __expectString,
|
|
1659
|
-
});
|
|
1660
|
-
};
|
|
1661
|
-
const de_ContinuousHyperParameterRanges = (output, context) => {
|
|
1662
|
-
const retVal = (output || [])
|
|
1663
|
-
.filter((e) => e != null)
|
|
1664
|
-
.map((entry) => {
|
|
1665
|
-
return de_ContinuousHyperParameterRange(entry, context);
|
|
1666
|
-
});
|
|
1667
|
-
return retVal;
|
|
1668
|
-
};
|
|
1669
|
-
const de_DataDeletionJob = (output, context) => {
|
|
1670
|
-
return take(output, {
|
|
1671
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1672
|
-
dataDeletionJobArn: __expectString,
|
|
1673
|
-
dataSource: _json,
|
|
1674
|
-
datasetGroupArn: __expectString,
|
|
1675
|
-
failureReason: __expectString,
|
|
1676
|
-
jobName: __expectString,
|
|
1677
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1678
|
-
numDeleted: __expectInt32,
|
|
1679
|
-
roleArn: __expectString,
|
|
1680
|
-
status: __expectString,
|
|
1681
|
-
});
|
|
1682
|
-
};
|
|
1683
|
-
const de_DataDeletionJobs = (output, context) => {
|
|
1684
|
-
const retVal = (output || [])
|
|
1685
|
-
.filter((e) => e != null)
|
|
1686
|
-
.map((entry) => {
|
|
1687
|
-
return de_DataDeletionJobSummary(entry, context);
|
|
1688
|
-
});
|
|
1689
|
-
return retVal;
|
|
1690
|
-
};
|
|
1691
|
-
const de_DataDeletionJobSummary = (output, context) => {
|
|
1692
|
-
return take(output, {
|
|
1693
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1694
|
-
dataDeletionJobArn: __expectString,
|
|
1695
|
-
datasetGroupArn: __expectString,
|
|
1696
|
-
failureReason: __expectString,
|
|
1697
|
-
jobName: __expectString,
|
|
1698
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1699
|
-
status: __expectString,
|
|
1700
|
-
});
|
|
1701
|
-
};
|
|
1702
|
-
const de_Dataset = (output, context) => {
|
|
1703
|
-
return take(output, {
|
|
1704
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1705
|
-
datasetArn: __expectString,
|
|
1706
|
-
datasetGroupArn: __expectString,
|
|
1707
|
-
datasetType: __expectString,
|
|
1708
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1709
|
-
latestDatasetUpdate: (_) => de_DatasetUpdateSummary(_, context),
|
|
1710
|
-
name: __expectString,
|
|
1711
|
-
schemaArn: __expectString,
|
|
1712
|
-
status: __expectString,
|
|
1713
|
-
trackingId: __expectString,
|
|
1714
|
-
});
|
|
1715
|
-
};
|
|
1716
|
-
const de_DatasetExportJob = (output, context) => {
|
|
1717
|
-
return take(output, {
|
|
1718
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1719
|
-
datasetArn: __expectString,
|
|
1720
|
-
datasetExportJobArn: __expectString,
|
|
1721
|
-
failureReason: __expectString,
|
|
1722
|
-
ingestionMode: __expectString,
|
|
1723
|
-
jobName: __expectString,
|
|
1724
|
-
jobOutput: _json,
|
|
1725
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1726
|
-
roleArn: __expectString,
|
|
1727
|
-
status: __expectString,
|
|
1728
|
-
});
|
|
1729
|
-
};
|
|
1730
|
-
const de_DatasetExportJobs = (output, context) => {
|
|
1731
|
-
const retVal = (output || [])
|
|
1732
|
-
.filter((e) => e != null)
|
|
1733
|
-
.map((entry) => {
|
|
1734
|
-
return de_DatasetExportJobSummary(entry, context);
|
|
1735
|
-
});
|
|
1736
|
-
return retVal;
|
|
1737
|
-
};
|
|
1738
|
-
const de_DatasetExportJobSummary = (output, context) => {
|
|
1739
|
-
return take(output, {
|
|
1740
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1741
|
-
datasetExportJobArn: __expectString,
|
|
1742
|
-
failureReason: __expectString,
|
|
1743
|
-
jobName: __expectString,
|
|
1744
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1745
|
-
status: __expectString,
|
|
1746
|
-
});
|
|
1747
|
-
};
|
|
1748
|
-
const de_DatasetGroup = (output, context) => {
|
|
1749
|
-
return take(output, {
|
|
1750
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1751
|
-
datasetGroupArn: __expectString,
|
|
1752
|
-
domain: __expectString,
|
|
1753
|
-
failureReason: __expectString,
|
|
1754
|
-
kmsKeyArn: __expectString,
|
|
1755
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1756
|
-
name: __expectString,
|
|
1757
|
-
roleArn: __expectString,
|
|
1758
|
-
status: __expectString,
|
|
1759
|
-
});
|
|
1760
|
-
};
|
|
1761
|
-
const de_DatasetGroups = (output, context) => {
|
|
1762
|
-
const retVal = (output || [])
|
|
1763
|
-
.filter((e) => e != null)
|
|
1764
|
-
.map((entry) => {
|
|
1765
|
-
return de_DatasetGroupSummary(entry, context);
|
|
1766
|
-
});
|
|
1767
|
-
return retVal;
|
|
1768
|
-
};
|
|
1769
|
-
const de_DatasetGroupSummary = (output, context) => {
|
|
1770
|
-
return take(output, {
|
|
1771
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1772
|
-
datasetGroupArn: __expectString,
|
|
1773
|
-
domain: __expectString,
|
|
1774
|
-
failureReason: __expectString,
|
|
1775
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1776
|
-
name: __expectString,
|
|
1777
|
-
status: __expectString,
|
|
1778
|
-
});
|
|
1779
|
-
};
|
|
1780
|
-
const de_DatasetImportJob = (output, context) => {
|
|
1781
|
-
return take(output, {
|
|
1782
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1783
|
-
dataSource: _json,
|
|
1784
|
-
datasetArn: __expectString,
|
|
1785
|
-
datasetImportJobArn: __expectString,
|
|
1786
|
-
failureReason: __expectString,
|
|
1787
|
-
importMode: __expectString,
|
|
1788
|
-
jobName: __expectString,
|
|
1789
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1790
|
-
publishAttributionMetricsToS3: __expectBoolean,
|
|
1791
|
-
roleArn: __expectString,
|
|
1792
|
-
status: __expectString,
|
|
1793
|
-
});
|
|
1794
|
-
};
|
|
1795
|
-
const de_DatasetImportJobs = (output, context) => {
|
|
1796
|
-
const retVal = (output || [])
|
|
1797
|
-
.filter((e) => e != null)
|
|
1798
|
-
.map((entry) => {
|
|
1799
|
-
return de_DatasetImportJobSummary(entry, context);
|
|
1800
|
-
});
|
|
1801
|
-
return retVal;
|
|
1802
|
-
};
|
|
1803
|
-
const de_DatasetImportJobSummary = (output, context) => {
|
|
1804
|
-
return take(output, {
|
|
1805
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1806
|
-
datasetImportJobArn: __expectString,
|
|
1807
|
-
failureReason: __expectString,
|
|
1808
|
-
importMode: __expectString,
|
|
1809
|
-
jobName: __expectString,
|
|
1810
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1811
|
-
status: __expectString,
|
|
1812
|
-
});
|
|
1813
|
-
};
|
|
1814
|
-
const de_Datasets = (output, context) => {
|
|
1815
|
-
const retVal = (output || [])
|
|
1816
|
-
.filter((e) => e != null)
|
|
1817
|
-
.map((entry) => {
|
|
1818
|
-
return de_DatasetSummary(entry, context);
|
|
1819
|
-
});
|
|
1820
|
-
return retVal;
|
|
1821
|
-
};
|
|
1822
|
-
const de_DatasetSchema = (output, context) => {
|
|
1823
|
-
return take(output, {
|
|
1824
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1825
|
-
domain: __expectString,
|
|
1826
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1827
|
-
name: __expectString,
|
|
1828
|
-
schema: __expectString,
|
|
1829
|
-
schemaArn: __expectString,
|
|
1830
|
-
});
|
|
1831
|
-
};
|
|
1832
|
-
const de_DatasetSchemaSummary = (output, context) => {
|
|
1833
|
-
return take(output, {
|
|
1834
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1835
|
-
domain: __expectString,
|
|
1836
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1837
|
-
name: __expectString,
|
|
1838
|
-
schemaArn: __expectString,
|
|
1839
|
-
});
|
|
1840
|
-
};
|
|
1841
|
-
const de_DatasetSummary = (output, context) => {
|
|
1842
|
-
return take(output, {
|
|
1843
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1844
|
-
datasetArn: __expectString,
|
|
1845
|
-
datasetType: __expectString,
|
|
1846
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1847
|
-
name: __expectString,
|
|
1848
|
-
status: __expectString,
|
|
1849
|
-
});
|
|
1850
|
-
};
|
|
1851
|
-
const de_DatasetUpdateSummary = (output, context) => {
|
|
1852
|
-
return take(output, {
|
|
1853
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1854
|
-
failureReason: __expectString,
|
|
1855
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1856
|
-
schemaArn: __expectString,
|
|
1857
|
-
status: __expectString,
|
|
1858
|
-
});
|
|
1859
|
-
};
|
|
1860
|
-
const de_DefaultContinuousHyperParameterRange = (output, context) => {
|
|
1861
|
-
return take(output, {
|
|
1862
|
-
isTunable: __expectBoolean,
|
|
1863
|
-
maxValue: __limitedParseDouble,
|
|
1864
|
-
minValue: __limitedParseDouble,
|
|
1865
|
-
name: __expectString,
|
|
1866
|
-
});
|
|
1867
|
-
};
|
|
1868
|
-
const de_DefaultContinuousHyperParameterRanges = (output, context) => {
|
|
1869
|
-
const retVal = (output || [])
|
|
1870
|
-
.filter((e) => e != null)
|
|
1871
|
-
.map((entry) => {
|
|
1872
|
-
return de_DefaultContinuousHyperParameterRange(entry, context);
|
|
1873
|
-
});
|
|
1874
|
-
return retVal;
|
|
1875
|
-
};
|
|
1876
|
-
const de_DefaultHyperParameterRanges = (output, context) => {
|
|
1877
|
-
return take(output, {
|
|
1878
|
-
categoricalHyperParameterRanges: _json,
|
|
1879
|
-
continuousHyperParameterRanges: (_) => de_DefaultContinuousHyperParameterRanges(_, context),
|
|
1880
|
-
integerHyperParameterRanges: _json,
|
|
1881
|
-
});
|
|
1882
|
-
};
|
|
1883
|
-
const de_DescribeAlgorithmResponse = (output, context) => {
|
|
1884
|
-
return take(output, {
|
|
1885
|
-
algorithm: (_) => de_Algorithm(_, context),
|
|
1886
|
-
});
|
|
1887
|
-
};
|
|
1888
|
-
const de_DescribeBatchInferenceJobResponse = (output, context) => {
|
|
1889
|
-
return take(output, {
|
|
1890
|
-
batchInferenceJob: (_) => de_BatchInferenceJob(_, context),
|
|
1891
|
-
});
|
|
1892
|
-
};
|
|
1893
|
-
const de_DescribeBatchSegmentJobResponse = (output, context) => {
|
|
1894
|
-
return take(output, {
|
|
1895
|
-
batchSegmentJob: (_) => de_BatchSegmentJob(_, context),
|
|
1896
|
-
});
|
|
1897
|
-
};
|
|
1898
|
-
const de_DescribeCampaignResponse = (output, context) => {
|
|
1899
|
-
return take(output, {
|
|
1900
|
-
campaign: (_) => de_Campaign(_, context),
|
|
1901
|
-
});
|
|
1902
|
-
};
|
|
1903
|
-
const de_DescribeDataDeletionJobResponse = (output, context) => {
|
|
1904
|
-
return take(output, {
|
|
1905
|
-
dataDeletionJob: (_) => de_DataDeletionJob(_, context),
|
|
1906
|
-
});
|
|
1907
|
-
};
|
|
1908
|
-
const de_DescribeDatasetExportJobResponse = (output, context) => {
|
|
1909
|
-
return take(output, {
|
|
1910
|
-
datasetExportJob: (_) => de_DatasetExportJob(_, context),
|
|
1911
|
-
});
|
|
1912
|
-
};
|
|
1913
|
-
const de_DescribeDatasetGroupResponse = (output, context) => {
|
|
1914
|
-
return take(output, {
|
|
1915
|
-
datasetGroup: (_) => de_DatasetGroup(_, context),
|
|
1916
|
-
});
|
|
1917
|
-
};
|
|
1918
|
-
const de_DescribeDatasetImportJobResponse = (output, context) => {
|
|
1919
|
-
return take(output, {
|
|
1920
|
-
datasetImportJob: (_) => de_DatasetImportJob(_, context),
|
|
1921
|
-
});
|
|
1922
|
-
};
|
|
1923
|
-
const de_DescribeDatasetResponse = (output, context) => {
|
|
1924
|
-
return take(output, {
|
|
1925
|
-
dataset: (_) => de_Dataset(_, context),
|
|
1926
|
-
});
|
|
1927
|
-
};
|
|
1928
|
-
const de_DescribeEventTrackerResponse = (output, context) => {
|
|
1929
|
-
return take(output, {
|
|
1930
|
-
eventTracker: (_) => de_EventTracker(_, context),
|
|
1931
|
-
});
|
|
1932
|
-
};
|
|
1933
|
-
const de_DescribeFeatureTransformationResponse = (output, context) => {
|
|
1934
|
-
return take(output, {
|
|
1935
|
-
featureTransformation: (_) => de_FeatureTransformation(_, context),
|
|
1936
|
-
});
|
|
1937
|
-
};
|
|
1938
|
-
const de_DescribeFilterResponse = (output, context) => {
|
|
1939
|
-
return take(output, {
|
|
1940
|
-
filter: (_) => de_Filter(_, context),
|
|
1941
|
-
});
|
|
1942
|
-
};
|
|
1943
|
-
const de_DescribeMetricAttributionResponse = (output, context) => {
|
|
1944
|
-
return take(output, {
|
|
1945
|
-
metricAttribution: (_) => de_MetricAttribution(_, context),
|
|
1946
|
-
});
|
|
1947
|
-
};
|
|
1948
|
-
const de_DescribeRecipeResponse = (output, context) => {
|
|
1949
|
-
return take(output, {
|
|
1950
|
-
recipe: (_) => de_Recipe(_, context),
|
|
1951
|
-
});
|
|
1952
|
-
};
|
|
1953
|
-
const de_DescribeRecommenderResponse = (output, context) => {
|
|
1954
|
-
return take(output, {
|
|
1955
|
-
recommender: (_) => de_Recommender(_, context),
|
|
1956
|
-
});
|
|
1957
|
-
};
|
|
1958
|
-
const de_DescribeSchemaResponse = (output, context) => {
|
|
1959
|
-
return take(output, {
|
|
1960
|
-
schema: (_) => de_DatasetSchema(_, context),
|
|
1961
|
-
});
|
|
1962
|
-
};
|
|
1963
|
-
const de_DescribeSolutionResponse = (output, context) => {
|
|
1964
|
-
return take(output, {
|
|
1965
|
-
solution: (_) => de_Solution(_, context),
|
|
1966
|
-
});
|
|
1967
|
-
};
|
|
1968
|
-
const de_DescribeSolutionVersionResponse = (output, context) => {
|
|
1969
|
-
return take(output, {
|
|
1970
|
-
solutionVersion: (_) => de_SolutionVersion(_, context),
|
|
1971
|
-
});
|
|
1972
|
-
};
|
|
1973
|
-
const de_EventParameters = (output, context) => {
|
|
1974
|
-
return take(output, {
|
|
1975
|
-
eventType: __expectString,
|
|
1976
|
-
eventValueThreshold: __limitedParseDouble,
|
|
1977
|
-
weight: __limitedParseDouble,
|
|
1978
|
-
});
|
|
1979
|
-
};
|
|
1980
|
-
const de_EventParametersList = (output, context) => {
|
|
1981
|
-
const retVal = (output || [])
|
|
1982
|
-
.filter((e) => e != null)
|
|
1983
|
-
.map((entry) => {
|
|
1984
|
-
return de_EventParameters(entry, context);
|
|
1985
|
-
});
|
|
1986
|
-
return retVal;
|
|
1987
|
-
};
|
|
1988
|
-
const de_EventsConfig = (output, context) => {
|
|
1989
|
-
return take(output, {
|
|
1990
|
-
eventParametersList: (_) => de_EventParametersList(_, context),
|
|
1991
|
-
});
|
|
1992
|
-
};
|
|
1993
|
-
const de_EventTracker = (output, context) => {
|
|
1994
|
-
return take(output, {
|
|
1995
|
-
accountId: __expectString,
|
|
1996
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1997
|
-
datasetGroupArn: __expectString,
|
|
1998
|
-
eventTrackerArn: __expectString,
|
|
1999
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2000
|
-
name: __expectString,
|
|
2001
|
-
status: __expectString,
|
|
2002
|
-
trackingId: __expectString,
|
|
2003
|
-
});
|
|
2004
|
-
};
|
|
2005
|
-
const de_EventTrackers = (output, context) => {
|
|
2006
|
-
const retVal = (output || [])
|
|
2007
|
-
.filter((e) => e != null)
|
|
2008
|
-
.map((entry) => {
|
|
2009
|
-
return de_EventTrackerSummary(entry, context);
|
|
2010
|
-
});
|
|
2011
|
-
return retVal;
|
|
2012
|
-
};
|
|
2013
|
-
const de_EventTrackerSummary = (output, context) => {
|
|
2014
|
-
return take(output, {
|
|
2015
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2016
|
-
eventTrackerArn: __expectString,
|
|
2017
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2018
|
-
name: __expectString,
|
|
2019
|
-
status: __expectString,
|
|
2020
|
-
});
|
|
2021
|
-
};
|
|
2022
|
-
const de_FeatureTransformation = (output, context) => {
|
|
2023
|
-
return take(output, {
|
|
2024
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2025
|
-
defaultParameters: _json,
|
|
2026
|
-
featureTransformationArn: __expectString,
|
|
2027
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2028
|
-
name: __expectString,
|
|
2029
|
-
status: __expectString,
|
|
2030
|
-
});
|
|
2031
|
-
};
|
|
2032
|
-
const de_Filter = (output, context) => {
|
|
2033
|
-
return take(output, {
|
|
2034
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2035
|
-
datasetGroupArn: __expectString,
|
|
2036
|
-
failureReason: __expectString,
|
|
2037
|
-
filterArn: __expectString,
|
|
2038
|
-
filterExpression: __expectString,
|
|
2039
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2040
|
-
name: __expectString,
|
|
2041
|
-
status: __expectString,
|
|
2042
|
-
});
|
|
2043
|
-
};
|
|
2044
|
-
const de_Filters = (output, context) => {
|
|
2045
|
-
const retVal = (output || [])
|
|
2046
|
-
.filter((e) => e != null)
|
|
2047
|
-
.map((entry) => {
|
|
2048
|
-
return de_FilterSummary(entry, context);
|
|
2049
|
-
});
|
|
2050
|
-
return retVal;
|
|
2051
|
-
};
|
|
2052
|
-
const de_FilterSummary = (output, context) => {
|
|
2053
|
-
return take(output, {
|
|
2054
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2055
|
-
datasetGroupArn: __expectString,
|
|
2056
|
-
failureReason: __expectString,
|
|
2057
|
-
filterArn: __expectString,
|
|
2058
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2059
|
-
name: __expectString,
|
|
2060
|
-
status: __expectString,
|
|
2061
|
-
});
|
|
2062
|
-
};
|
|
2063
|
-
const de_GetSolutionMetricsResponse = (output, context) => {
|
|
2064
|
-
return take(output, {
|
|
2065
|
-
metrics: (_) => de_Metrics(_, context),
|
|
2066
|
-
solutionVersionArn: __expectString,
|
|
2067
|
-
});
|
|
2068
|
-
};
|
|
2069
|
-
const de_HPOConfig = (output, context) => {
|
|
2070
|
-
return take(output, {
|
|
2071
|
-
algorithmHyperParameterRanges: (_) => de_HyperParameterRanges(_, context),
|
|
2072
|
-
hpoObjective: _json,
|
|
2073
|
-
hpoResourceConfig: _json,
|
|
2074
|
-
});
|
|
2075
|
-
};
|
|
2076
|
-
const de_HyperParameterRanges = (output, context) => {
|
|
2077
|
-
return take(output, {
|
|
2078
|
-
categoricalHyperParameterRanges: _json,
|
|
2079
|
-
continuousHyperParameterRanges: (_) => de_ContinuousHyperParameterRanges(_, context),
|
|
2080
|
-
integerHyperParameterRanges: _json,
|
|
2081
|
-
});
|
|
2082
|
-
};
|
|
2083
|
-
const de_ListBatchInferenceJobsResponse = (output, context) => {
|
|
2084
|
-
return take(output, {
|
|
2085
|
-
batchInferenceJobs: (_) => de_BatchInferenceJobs(_, context),
|
|
2086
|
-
nextToken: __expectString,
|
|
2087
|
-
});
|
|
2088
|
-
};
|
|
2089
|
-
const de_ListBatchSegmentJobsResponse = (output, context) => {
|
|
2090
|
-
return take(output, {
|
|
2091
|
-
batchSegmentJobs: (_) => de_BatchSegmentJobs(_, context),
|
|
2092
|
-
nextToken: __expectString,
|
|
2093
|
-
});
|
|
2094
|
-
};
|
|
2095
|
-
const de_ListCampaignsResponse = (output, context) => {
|
|
2096
|
-
return take(output, {
|
|
2097
|
-
campaigns: (_) => de_Campaigns(_, context),
|
|
2098
|
-
nextToken: __expectString,
|
|
2099
|
-
});
|
|
2100
|
-
};
|
|
2101
|
-
const de_ListDataDeletionJobsResponse = (output, context) => {
|
|
2102
|
-
return take(output, {
|
|
2103
|
-
dataDeletionJobs: (_) => de_DataDeletionJobs(_, context),
|
|
2104
|
-
nextToken: __expectString,
|
|
2105
|
-
});
|
|
2106
|
-
};
|
|
2107
|
-
const de_ListDatasetExportJobsResponse = (output, context) => {
|
|
2108
|
-
return take(output, {
|
|
2109
|
-
datasetExportJobs: (_) => de_DatasetExportJobs(_, context),
|
|
2110
|
-
nextToken: __expectString,
|
|
2111
|
-
});
|
|
2112
|
-
};
|
|
2113
|
-
const de_ListDatasetGroupsResponse = (output, context) => {
|
|
2114
|
-
return take(output, {
|
|
2115
|
-
datasetGroups: (_) => de_DatasetGroups(_, context),
|
|
2116
|
-
nextToken: __expectString,
|
|
2117
|
-
});
|
|
2118
|
-
};
|
|
2119
|
-
const de_ListDatasetImportJobsResponse = (output, context) => {
|
|
2120
|
-
return take(output, {
|
|
2121
|
-
datasetImportJobs: (_) => de_DatasetImportJobs(_, context),
|
|
2122
|
-
nextToken: __expectString,
|
|
2123
|
-
});
|
|
2124
|
-
};
|
|
2125
|
-
const de_ListDatasetsResponse = (output, context) => {
|
|
2126
|
-
return take(output, {
|
|
2127
|
-
datasets: (_) => de_Datasets(_, context),
|
|
2128
|
-
nextToken: __expectString,
|
|
2129
|
-
});
|
|
2130
|
-
};
|
|
2131
|
-
const de_ListEventTrackersResponse = (output, context) => {
|
|
2132
|
-
return take(output, {
|
|
2133
|
-
eventTrackers: (_) => de_EventTrackers(_, context),
|
|
2134
|
-
nextToken: __expectString,
|
|
2135
|
-
});
|
|
2136
|
-
};
|
|
2137
|
-
const de_ListFiltersResponse = (output, context) => {
|
|
2138
|
-
return take(output, {
|
|
2139
|
-
Filters: (_) => de_Filters(_, context),
|
|
2140
|
-
nextToken: __expectString,
|
|
2141
|
-
});
|
|
2142
|
-
};
|
|
2143
|
-
const de_ListMetricAttributionsResponse = (output, context) => {
|
|
2144
|
-
return take(output, {
|
|
2145
|
-
metricAttributions: (_) => de_MetricAttributions(_, context),
|
|
2146
|
-
nextToken: __expectString,
|
|
2147
|
-
});
|
|
2148
|
-
};
|
|
2149
|
-
const de_ListRecipesResponse = (output, context) => {
|
|
2150
|
-
return take(output, {
|
|
2151
|
-
nextToken: __expectString,
|
|
2152
|
-
recipes: (_) => de_Recipes(_, context),
|
|
2153
|
-
});
|
|
2154
|
-
};
|
|
2155
|
-
const de_ListRecommendersResponse = (output, context) => {
|
|
2156
|
-
return take(output, {
|
|
2157
|
-
nextToken: __expectString,
|
|
2158
|
-
recommenders: (_) => de_Recommenders(_, context),
|
|
2159
|
-
});
|
|
2160
|
-
};
|
|
2161
|
-
const de_ListSchemasResponse = (output, context) => {
|
|
2162
|
-
return take(output, {
|
|
2163
|
-
nextToken: __expectString,
|
|
2164
|
-
schemas: (_) => de_Schemas(_, context),
|
|
2165
|
-
});
|
|
2166
|
-
};
|
|
2167
|
-
const de_ListSolutionsResponse = (output, context) => {
|
|
2168
|
-
return take(output, {
|
|
2169
|
-
nextToken: __expectString,
|
|
2170
|
-
solutions: (_) => de_Solutions(_, context),
|
|
2171
|
-
});
|
|
2172
|
-
};
|
|
2173
|
-
const de_ListSolutionVersionsResponse = (output, context) => {
|
|
2174
|
-
return take(output, {
|
|
2175
|
-
nextToken: __expectString,
|
|
2176
|
-
solutionVersions: (_) => de_SolutionVersions(_, context),
|
|
2177
|
-
});
|
|
2178
|
-
};
|
|
2179
|
-
const de_MetricAttribution = (output, context) => {
|
|
2180
|
-
return take(output, {
|
|
2181
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2182
|
-
datasetGroupArn: __expectString,
|
|
2183
|
-
failureReason: __expectString,
|
|
2184
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2185
|
-
metricAttributionArn: __expectString,
|
|
2186
|
-
metricsOutputConfig: _json,
|
|
2187
|
-
name: __expectString,
|
|
2188
|
-
status: __expectString,
|
|
2189
|
-
});
|
|
2190
|
-
};
|
|
2191
|
-
const de_MetricAttributions = (output, context) => {
|
|
2192
|
-
const retVal = (output || [])
|
|
2193
|
-
.filter((e) => e != null)
|
|
2194
|
-
.map((entry) => {
|
|
2195
|
-
return de_MetricAttributionSummary(entry, context);
|
|
2196
|
-
});
|
|
2197
|
-
return retVal;
|
|
2198
|
-
};
|
|
2199
|
-
const de_MetricAttributionSummary = (output, context) => {
|
|
2200
|
-
return take(output, {
|
|
2201
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2202
|
-
failureReason: __expectString,
|
|
2203
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2204
|
-
metricAttributionArn: __expectString,
|
|
2205
|
-
name: __expectString,
|
|
2206
|
-
status: __expectString,
|
|
2207
|
-
});
|
|
2208
|
-
};
|
|
2209
|
-
const de_Metrics = (output, context) => {
|
|
2210
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2211
|
-
if (value === null) {
|
|
2212
|
-
return acc;
|
|
2213
|
-
}
|
|
2214
|
-
acc[key] = __limitedParseDouble(value);
|
|
2215
|
-
return acc;
|
|
2216
|
-
}, {});
|
|
2217
|
-
};
|
|
2218
|
-
const de_Recipe = (output, context) => {
|
|
2219
|
-
return take(output, {
|
|
2220
|
-
algorithmArn: __expectString,
|
|
2221
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2222
|
-
description: __expectString,
|
|
2223
|
-
featureTransformationArn: __expectString,
|
|
2224
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2225
|
-
name: __expectString,
|
|
2226
|
-
recipeArn: __expectString,
|
|
2227
|
-
recipeType: __expectString,
|
|
2228
|
-
status: __expectString,
|
|
2229
|
-
});
|
|
2230
|
-
};
|
|
2231
|
-
const de_Recipes = (output, context) => {
|
|
2232
|
-
const retVal = (output || [])
|
|
2233
|
-
.filter((e) => e != null)
|
|
2234
|
-
.map((entry) => {
|
|
2235
|
-
return de_RecipeSummary(entry, context);
|
|
2236
|
-
});
|
|
2237
|
-
return retVal;
|
|
2238
|
-
};
|
|
2239
|
-
const de_RecipeSummary = (output, context) => {
|
|
2240
|
-
return take(output, {
|
|
2241
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2242
|
-
domain: __expectString,
|
|
2243
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2244
|
-
name: __expectString,
|
|
2245
|
-
recipeArn: __expectString,
|
|
2246
|
-
status: __expectString,
|
|
2247
|
-
});
|
|
2248
|
-
};
|
|
2249
|
-
const de_Recommender = (output, context) => {
|
|
2250
|
-
return take(output, {
|
|
2251
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2252
|
-
datasetGroupArn: __expectString,
|
|
2253
|
-
failureReason: __expectString,
|
|
2254
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2255
|
-
latestRecommenderUpdate: (_) => de_RecommenderUpdateSummary(_, context),
|
|
2256
|
-
modelMetrics: (_) => de_Metrics(_, context),
|
|
2257
|
-
name: __expectString,
|
|
2258
|
-
recipeArn: __expectString,
|
|
2259
|
-
recommenderArn: __expectString,
|
|
2260
|
-
recommenderConfig: _json,
|
|
2261
|
-
status: __expectString,
|
|
2262
|
-
});
|
|
2263
|
-
};
|
|
2264
|
-
const de_Recommenders = (output, context) => {
|
|
2265
|
-
const retVal = (output || [])
|
|
2266
|
-
.filter((e) => e != null)
|
|
2267
|
-
.map((entry) => {
|
|
2268
|
-
return de_RecommenderSummary(entry, context);
|
|
2269
|
-
});
|
|
2270
|
-
return retVal;
|
|
2271
|
-
};
|
|
2272
|
-
const de_RecommenderSummary = (output, context) => {
|
|
2273
|
-
return take(output, {
|
|
2274
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2275
|
-
datasetGroupArn: __expectString,
|
|
2276
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2277
|
-
name: __expectString,
|
|
2278
|
-
recipeArn: __expectString,
|
|
2279
|
-
recommenderArn: __expectString,
|
|
2280
|
-
recommenderConfig: _json,
|
|
2281
|
-
status: __expectString,
|
|
2282
|
-
});
|
|
2283
|
-
};
|
|
2284
|
-
const de_RecommenderUpdateSummary = (output, context) => {
|
|
2285
|
-
return take(output, {
|
|
2286
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2287
|
-
failureReason: __expectString,
|
|
2288
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2289
|
-
recommenderConfig: _json,
|
|
2290
|
-
status: __expectString,
|
|
2291
|
-
});
|
|
2292
|
-
};
|
|
2293
|
-
const de_Schemas = (output, context) => {
|
|
2294
|
-
const retVal = (output || [])
|
|
2295
|
-
.filter((e) => e != null)
|
|
2296
|
-
.map((entry) => {
|
|
2297
|
-
return de_DatasetSchemaSummary(entry, context);
|
|
2298
|
-
});
|
|
2299
|
-
return retVal;
|
|
2300
|
-
};
|
|
2301
|
-
const de_Solution = (output, context) => {
|
|
2302
|
-
return take(output, {
|
|
2303
|
-
autoMLResult: _json,
|
|
2304
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2305
|
-
datasetGroupArn: __expectString,
|
|
2306
|
-
eventType: __expectString,
|
|
2307
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2308
|
-
latestSolutionUpdate: (_) => de_SolutionUpdateSummary(_, context),
|
|
2309
|
-
latestSolutionVersion: (_) => de_SolutionVersionSummary(_, context),
|
|
2310
|
-
name: __expectString,
|
|
2311
|
-
performAutoML: __expectBoolean,
|
|
2312
|
-
performAutoTraining: __expectBoolean,
|
|
2313
|
-
performHPO: __expectBoolean,
|
|
2314
|
-
recipeArn: __expectString,
|
|
2315
|
-
solutionArn: __expectString,
|
|
2316
|
-
solutionConfig: (_) => de_SolutionConfig(_, context),
|
|
2317
|
-
status: __expectString,
|
|
2318
|
-
});
|
|
2319
|
-
};
|
|
2320
|
-
const de_SolutionConfig = (output, context) => {
|
|
2321
|
-
return take(output, {
|
|
2322
|
-
algorithmHyperParameters: _json,
|
|
2323
|
-
autoMLConfig: _json,
|
|
2324
|
-
autoTrainingConfig: _json,
|
|
2325
|
-
eventValueThreshold: __expectString,
|
|
2326
|
-
eventsConfig: (_) => de_EventsConfig(_, context),
|
|
2327
|
-
featureTransformationParameters: _json,
|
|
2328
|
-
hpoConfig: (_) => de_HPOConfig(_, context),
|
|
2329
|
-
optimizationObjective: _json,
|
|
2330
|
-
trainingDataConfig: _json,
|
|
2331
|
-
});
|
|
2332
|
-
};
|
|
2333
|
-
const de_Solutions = (output, context) => {
|
|
2334
|
-
const retVal = (output || [])
|
|
2335
|
-
.filter((e) => e != null)
|
|
2336
|
-
.map((entry) => {
|
|
2337
|
-
return de_SolutionSummary(entry, context);
|
|
2338
|
-
});
|
|
2339
|
-
return retVal;
|
|
2340
|
-
};
|
|
2341
|
-
const de_SolutionSummary = (output, context) => {
|
|
2342
|
-
return take(output, {
|
|
2343
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2344
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2345
|
-
name: __expectString,
|
|
2346
|
-
recipeArn: __expectString,
|
|
2347
|
-
solutionArn: __expectString,
|
|
2348
|
-
status: __expectString,
|
|
2349
|
-
});
|
|
2350
|
-
};
|
|
2351
|
-
const de_SolutionUpdateConfig = (output, context) => {
|
|
2352
|
-
return take(output, {
|
|
2353
|
-
autoTrainingConfig: _json,
|
|
2354
|
-
eventsConfig: (_) => de_EventsConfig(_, context),
|
|
2355
|
-
});
|
|
2356
|
-
};
|
|
2357
|
-
const de_SolutionUpdateSummary = (output, context) => {
|
|
2358
|
-
return take(output, {
|
|
2359
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2360
|
-
failureReason: __expectString,
|
|
2361
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2362
|
-
performAutoTraining: __expectBoolean,
|
|
2363
|
-
solutionUpdateConfig: (_) => de_SolutionUpdateConfig(_, context),
|
|
2364
|
-
status: __expectString,
|
|
2365
|
-
});
|
|
2366
|
-
};
|
|
2367
|
-
const de_SolutionVersion = (output, context) => {
|
|
2368
|
-
return take(output, {
|
|
2369
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2370
|
-
datasetGroupArn: __expectString,
|
|
2371
|
-
eventType: __expectString,
|
|
2372
|
-
failureReason: __expectString,
|
|
2373
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2374
|
-
name: __expectString,
|
|
2375
|
-
performAutoML: __expectBoolean,
|
|
2376
|
-
performHPO: __expectBoolean,
|
|
2377
|
-
recipeArn: __expectString,
|
|
2378
|
-
solutionArn: __expectString,
|
|
2379
|
-
solutionConfig: (_) => de_SolutionConfig(_, context),
|
|
2380
|
-
solutionVersionArn: __expectString,
|
|
2381
|
-
status: __expectString,
|
|
2382
|
-
trainingHours: __limitedParseDouble,
|
|
2383
|
-
trainingMode: __expectString,
|
|
2384
|
-
trainingType: __expectString,
|
|
2385
|
-
tunedHPOParams: _json,
|
|
2386
|
-
});
|
|
2387
|
-
};
|
|
2388
|
-
const de_SolutionVersions = (output, context) => {
|
|
2389
|
-
const retVal = (output || [])
|
|
2390
|
-
.filter((e) => e != null)
|
|
2391
|
-
.map((entry) => {
|
|
2392
|
-
return de_SolutionVersionSummary(entry, context);
|
|
2393
|
-
});
|
|
2394
|
-
return retVal;
|
|
2395
|
-
};
|
|
2396
|
-
const de_SolutionVersionSummary = (output, context) => {
|
|
2397
|
-
return take(output, {
|
|
2398
|
-
creationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2399
|
-
failureReason: __expectString,
|
|
2400
|
-
lastUpdatedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2401
|
-
solutionVersionArn: __expectString,
|
|
2402
|
-
status: __expectString,
|
|
2403
|
-
trainingMode: __expectString,
|
|
2404
|
-
trainingType: __expectString,
|
|
2405
|
-
});
|
|
2406
|
-
};
|
|
2407
|
-
const deserializeMetadata = (output) => ({
|
|
2408
|
-
httpStatusCode: output.statusCode,
|
|
2409
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2410
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2411
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2412
|
-
});
|
|
2413
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2414
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
2415
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2416
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2417
|
-
const contents = {
|
|
2418
|
-
protocol,
|
|
2419
|
-
hostname,
|
|
2420
|
-
port,
|
|
2421
|
-
method: "POST",
|
|
2422
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
2423
|
-
headers,
|
|
2424
|
-
};
|
|
2425
|
-
if (resolvedHostname !== undefined) {
|
|
2426
|
-
contents.hostname = resolvedHostname;
|
|
2427
|
-
}
|
|
2428
|
-
if (body !== undefined) {
|
|
2429
|
-
contents.body = body;
|
|
2430
|
-
}
|
|
2431
|
-
return new __HttpRequest(contents);
|
|
2432
|
-
};
|
|
2433
|
-
function sharedHeaders(operation) {
|
|
2434
|
-
return {
|
|
2435
|
-
"content-type": "application/x-amz-json-1.1",
|
|
2436
|
-
"x-amz-target": `AmazonPersonalize.${operation}`,
|
|
2437
|
-
};
|
|
2438
|
-
}
|