@aws-sdk/client-lookoutequipment 3.927.0 → 3.928.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 +1679 -1993
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/LookoutEquipmentClient.js +2 -0
- package/dist-es/commands/CreateDatasetCommand.js +3 -9
- package/dist-es/commands/CreateInferenceSchedulerCommand.js +3 -9
- package/dist-es/commands/CreateLabelCommand.js +3 -9
- package/dist-es/commands/CreateLabelGroupCommand.js +3 -9
- package/dist-es/commands/CreateModelCommand.js +3 -9
- package/dist-es/commands/CreateRetrainingSchedulerCommand.js +3 -9
- package/dist-es/commands/DeleteDatasetCommand.js +3 -9
- package/dist-es/commands/DeleteInferenceSchedulerCommand.js +3 -9
- package/dist-es/commands/DeleteLabelCommand.js +3 -9
- package/dist-es/commands/DeleteLabelGroupCommand.js +3 -9
- package/dist-es/commands/DeleteModelCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteRetrainingSchedulerCommand.js +3 -9
- package/dist-es/commands/DescribeDataIngestionJobCommand.js +3 -9
- package/dist-es/commands/DescribeDatasetCommand.js +3 -9
- package/dist-es/commands/DescribeInferenceSchedulerCommand.js +3 -9
- package/dist-es/commands/DescribeLabelCommand.js +3 -9
- package/dist-es/commands/DescribeLabelGroupCommand.js +3 -9
- package/dist-es/commands/DescribeModelCommand.js +3 -9
- package/dist-es/commands/DescribeModelVersionCommand.js +3 -9
- package/dist-es/commands/DescribeResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DescribeRetrainingSchedulerCommand.js +3 -9
- package/dist-es/commands/ImportDatasetCommand.js +3 -9
- package/dist-es/commands/ImportModelVersionCommand.js +3 -9
- package/dist-es/commands/ListDataIngestionJobsCommand.js +3 -9
- package/dist-es/commands/ListDatasetsCommand.js +3 -9
- package/dist-es/commands/ListInferenceEventsCommand.js +3 -9
- package/dist-es/commands/ListInferenceExecutionsCommand.js +3 -9
- package/dist-es/commands/ListInferenceSchedulersCommand.js +3 -9
- package/dist-es/commands/ListLabelGroupsCommand.js +3 -9
- package/dist-es/commands/ListLabelsCommand.js +3 -9
- package/dist-es/commands/ListModelVersionsCommand.js +3 -9
- package/dist-es/commands/ListModelsCommand.js +3 -9
- package/dist-es/commands/ListRetrainingSchedulersCommand.js +3 -9
- package/dist-es/commands/ListSensorStatisticsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/StartDataIngestionJobCommand.js +3 -9
- package/dist-es/commands/StartInferenceSchedulerCommand.js +3 -9
- package/dist-es/commands/StartRetrainingSchedulerCommand.js +3 -9
- package/dist-es/commands/StopInferenceSchedulerCommand.js +3 -9
- package/dist-es/commands/StopRetrainingSchedulerCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateActiveModelVersionCommand.js +3 -9
- package/dist-es/commands/UpdateInferenceSchedulerCommand.js +3 -9
- package/dist-es/commands/UpdateLabelGroupCommand.js +3 -9
- package/dist-es/commands/UpdateModelCommand.js +3 -9
- package/dist-es/commands/UpdateRetrainingSchedulerCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1560 -0
- package/dist-types/LookoutEquipmentClient.d.ts +10 -1
- 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 +203 -0
- package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +4 -0
- 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 +209 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_0.js +0 -1633
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -443
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -593
|
@@ -1,1633 +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, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, LazyJsonString as __LazyJsonString, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { v4 as generateIdempotencyToken } from "@smithy/uuid";
|
|
5
|
-
import { LookoutEquipmentServiceException as __BaseException } from "../models/LookoutEquipmentServiceException";
|
|
6
|
-
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
7
|
-
export const se_CreateDatasetCommand = async (input, context) => {
|
|
8
|
-
const headers = sharedHeaders("CreateDataset");
|
|
9
|
-
let body;
|
|
10
|
-
body = JSON.stringify(se_CreateDatasetRequest(input, context));
|
|
11
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
12
|
-
};
|
|
13
|
-
export const se_CreateInferenceSchedulerCommand = async (input, context) => {
|
|
14
|
-
const headers = sharedHeaders("CreateInferenceScheduler");
|
|
15
|
-
let body;
|
|
16
|
-
body = JSON.stringify(se_CreateInferenceSchedulerRequest(input, context));
|
|
17
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
|
-
};
|
|
19
|
-
export const se_CreateLabelCommand = async (input, context) => {
|
|
20
|
-
const headers = sharedHeaders("CreateLabel");
|
|
21
|
-
let body;
|
|
22
|
-
body = JSON.stringify(se_CreateLabelRequest(input, context));
|
|
23
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
24
|
-
};
|
|
25
|
-
export const se_CreateLabelGroupCommand = async (input, context) => {
|
|
26
|
-
const headers = sharedHeaders("CreateLabelGroup");
|
|
27
|
-
let body;
|
|
28
|
-
body = JSON.stringify(se_CreateLabelGroupRequest(input, context));
|
|
29
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
|
-
};
|
|
31
|
-
export const se_CreateModelCommand = async (input, context) => {
|
|
32
|
-
const headers = sharedHeaders("CreateModel");
|
|
33
|
-
let body;
|
|
34
|
-
body = JSON.stringify(se_CreateModelRequest(input, context));
|
|
35
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
|
-
};
|
|
37
|
-
export const se_CreateRetrainingSchedulerCommand = async (input, context) => {
|
|
38
|
-
const headers = sharedHeaders("CreateRetrainingScheduler");
|
|
39
|
-
let body;
|
|
40
|
-
body = JSON.stringify(se_CreateRetrainingSchedulerRequest(input, context));
|
|
41
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
|
-
};
|
|
43
|
-
export const se_DeleteDatasetCommand = async (input, context) => {
|
|
44
|
-
const headers = sharedHeaders("DeleteDataset");
|
|
45
|
-
let body;
|
|
46
|
-
body = JSON.stringify(_json(input));
|
|
47
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
|
-
};
|
|
49
|
-
export const se_DeleteInferenceSchedulerCommand = async (input, context) => {
|
|
50
|
-
const headers = sharedHeaders("DeleteInferenceScheduler");
|
|
51
|
-
let body;
|
|
52
|
-
body = JSON.stringify(_json(input));
|
|
53
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
54
|
-
};
|
|
55
|
-
export const se_DeleteLabelCommand = async (input, context) => {
|
|
56
|
-
const headers = sharedHeaders("DeleteLabel");
|
|
57
|
-
let body;
|
|
58
|
-
body = JSON.stringify(_json(input));
|
|
59
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
|
-
};
|
|
61
|
-
export const se_DeleteLabelGroupCommand = async (input, context) => {
|
|
62
|
-
const headers = sharedHeaders("DeleteLabelGroup");
|
|
63
|
-
let body;
|
|
64
|
-
body = JSON.stringify(_json(input));
|
|
65
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
|
-
};
|
|
67
|
-
export const se_DeleteModelCommand = async (input, context) => {
|
|
68
|
-
const headers = sharedHeaders("DeleteModel");
|
|
69
|
-
let body;
|
|
70
|
-
body = JSON.stringify(_json(input));
|
|
71
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
72
|
-
};
|
|
73
|
-
export const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
74
|
-
const headers = sharedHeaders("DeleteResourcePolicy");
|
|
75
|
-
let body;
|
|
76
|
-
body = JSON.stringify(_json(input));
|
|
77
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
|
-
};
|
|
79
|
-
export const se_DeleteRetrainingSchedulerCommand = async (input, context) => {
|
|
80
|
-
const headers = sharedHeaders("DeleteRetrainingScheduler");
|
|
81
|
-
let body;
|
|
82
|
-
body = JSON.stringify(_json(input));
|
|
83
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
|
-
};
|
|
85
|
-
export const se_DescribeDataIngestionJobCommand = async (input, context) => {
|
|
86
|
-
const headers = sharedHeaders("DescribeDataIngestionJob");
|
|
87
|
-
let body;
|
|
88
|
-
body = JSON.stringify(_json(input));
|
|
89
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
90
|
-
};
|
|
91
|
-
export const se_DescribeDatasetCommand = async (input, context) => {
|
|
92
|
-
const headers = sharedHeaders("DescribeDataset");
|
|
93
|
-
let body;
|
|
94
|
-
body = JSON.stringify(_json(input));
|
|
95
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
|
-
};
|
|
97
|
-
export const se_DescribeInferenceSchedulerCommand = async (input, context) => {
|
|
98
|
-
const headers = sharedHeaders("DescribeInferenceScheduler");
|
|
99
|
-
let body;
|
|
100
|
-
body = JSON.stringify(_json(input));
|
|
101
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
102
|
-
};
|
|
103
|
-
export const se_DescribeLabelCommand = async (input, context) => {
|
|
104
|
-
const headers = sharedHeaders("DescribeLabel");
|
|
105
|
-
let body;
|
|
106
|
-
body = JSON.stringify(_json(input));
|
|
107
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
|
-
};
|
|
109
|
-
export const se_DescribeLabelGroupCommand = async (input, context) => {
|
|
110
|
-
const headers = sharedHeaders("DescribeLabelGroup");
|
|
111
|
-
let body;
|
|
112
|
-
body = JSON.stringify(_json(input));
|
|
113
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
114
|
-
};
|
|
115
|
-
export const se_DescribeModelCommand = async (input, context) => {
|
|
116
|
-
const headers = sharedHeaders("DescribeModel");
|
|
117
|
-
let body;
|
|
118
|
-
body = JSON.stringify(_json(input));
|
|
119
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
120
|
-
};
|
|
121
|
-
export const se_DescribeModelVersionCommand = async (input, context) => {
|
|
122
|
-
const headers = sharedHeaders("DescribeModelVersion");
|
|
123
|
-
let body;
|
|
124
|
-
body = JSON.stringify(_json(input));
|
|
125
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
|
-
};
|
|
127
|
-
export const se_DescribeResourcePolicyCommand = async (input, context) => {
|
|
128
|
-
const headers = sharedHeaders("DescribeResourcePolicy");
|
|
129
|
-
let body;
|
|
130
|
-
body = JSON.stringify(_json(input));
|
|
131
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
132
|
-
};
|
|
133
|
-
export const se_DescribeRetrainingSchedulerCommand = async (input, context) => {
|
|
134
|
-
const headers = sharedHeaders("DescribeRetrainingScheduler");
|
|
135
|
-
let body;
|
|
136
|
-
body = JSON.stringify(_json(input));
|
|
137
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
|
-
};
|
|
139
|
-
export const se_ImportDatasetCommand = async (input, context) => {
|
|
140
|
-
const headers = sharedHeaders("ImportDataset");
|
|
141
|
-
let body;
|
|
142
|
-
body = JSON.stringify(se_ImportDatasetRequest(input, context));
|
|
143
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
144
|
-
};
|
|
145
|
-
export const se_ImportModelVersionCommand = async (input, context) => {
|
|
146
|
-
const headers = sharedHeaders("ImportModelVersion");
|
|
147
|
-
let body;
|
|
148
|
-
body = JSON.stringify(se_ImportModelVersionRequest(input, context));
|
|
149
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
150
|
-
};
|
|
151
|
-
export const se_ListDataIngestionJobsCommand = async (input, context) => {
|
|
152
|
-
const headers = sharedHeaders("ListDataIngestionJobs");
|
|
153
|
-
let body;
|
|
154
|
-
body = JSON.stringify(_json(input));
|
|
155
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
|
-
};
|
|
157
|
-
export const se_ListDatasetsCommand = async (input, context) => {
|
|
158
|
-
const headers = sharedHeaders("ListDatasets");
|
|
159
|
-
let body;
|
|
160
|
-
body = JSON.stringify(_json(input));
|
|
161
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
|
-
};
|
|
163
|
-
export const se_ListInferenceEventsCommand = async (input, context) => {
|
|
164
|
-
const headers = sharedHeaders("ListInferenceEvents");
|
|
165
|
-
let body;
|
|
166
|
-
body = JSON.stringify(se_ListInferenceEventsRequest(input, context));
|
|
167
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
|
-
};
|
|
169
|
-
export const se_ListInferenceExecutionsCommand = async (input, context) => {
|
|
170
|
-
const headers = sharedHeaders("ListInferenceExecutions");
|
|
171
|
-
let body;
|
|
172
|
-
body = JSON.stringify(se_ListInferenceExecutionsRequest(input, context));
|
|
173
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
174
|
-
};
|
|
175
|
-
export const se_ListInferenceSchedulersCommand = async (input, context) => {
|
|
176
|
-
const headers = sharedHeaders("ListInferenceSchedulers");
|
|
177
|
-
let body;
|
|
178
|
-
body = JSON.stringify(_json(input));
|
|
179
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
180
|
-
};
|
|
181
|
-
export const se_ListLabelGroupsCommand = async (input, context) => {
|
|
182
|
-
const headers = sharedHeaders("ListLabelGroups");
|
|
183
|
-
let body;
|
|
184
|
-
body = JSON.stringify(_json(input));
|
|
185
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
186
|
-
};
|
|
187
|
-
export const se_ListLabelsCommand = async (input, context) => {
|
|
188
|
-
const headers = sharedHeaders("ListLabels");
|
|
189
|
-
let body;
|
|
190
|
-
body = JSON.stringify(se_ListLabelsRequest(input, context));
|
|
191
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
192
|
-
};
|
|
193
|
-
export const se_ListModelsCommand = async (input, context) => {
|
|
194
|
-
const headers = sharedHeaders("ListModels");
|
|
195
|
-
let body;
|
|
196
|
-
body = JSON.stringify(_json(input));
|
|
197
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
|
-
};
|
|
199
|
-
export const se_ListModelVersionsCommand = async (input, context) => {
|
|
200
|
-
const headers = sharedHeaders("ListModelVersions");
|
|
201
|
-
let body;
|
|
202
|
-
body = JSON.stringify(se_ListModelVersionsRequest(input, context));
|
|
203
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
|
-
};
|
|
205
|
-
export const se_ListRetrainingSchedulersCommand = async (input, context) => {
|
|
206
|
-
const headers = sharedHeaders("ListRetrainingSchedulers");
|
|
207
|
-
let body;
|
|
208
|
-
body = JSON.stringify(_json(input));
|
|
209
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
|
-
};
|
|
211
|
-
export const se_ListSensorStatisticsCommand = async (input, context) => {
|
|
212
|
-
const headers = sharedHeaders("ListSensorStatistics");
|
|
213
|
-
let body;
|
|
214
|
-
body = JSON.stringify(_json(input));
|
|
215
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
216
|
-
};
|
|
217
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
218
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
219
|
-
let body;
|
|
220
|
-
body = JSON.stringify(_json(input));
|
|
221
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
222
|
-
};
|
|
223
|
-
export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
224
|
-
const headers = sharedHeaders("PutResourcePolicy");
|
|
225
|
-
let body;
|
|
226
|
-
body = JSON.stringify(se_PutResourcePolicyRequest(input, context));
|
|
227
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
|
-
};
|
|
229
|
-
export const se_StartDataIngestionJobCommand = async (input, context) => {
|
|
230
|
-
const headers = sharedHeaders("StartDataIngestionJob");
|
|
231
|
-
let body;
|
|
232
|
-
body = JSON.stringify(se_StartDataIngestionJobRequest(input, context));
|
|
233
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
234
|
-
};
|
|
235
|
-
export const se_StartInferenceSchedulerCommand = async (input, context) => {
|
|
236
|
-
const headers = sharedHeaders("StartInferenceScheduler");
|
|
237
|
-
let body;
|
|
238
|
-
body = JSON.stringify(_json(input));
|
|
239
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
|
-
};
|
|
241
|
-
export const se_StartRetrainingSchedulerCommand = async (input, context) => {
|
|
242
|
-
const headers = sharedHeaders("StartRetrainingScheduler");
|
|
243
|
-
let body;
|
|
244
|
-
body = JSON.stringify(_json(input));
|
|
245
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
|
-
};
|
|
247
|
-
export const se_StopInferenceSchedulerCommand = async (input, context) => {
|
|
248
|
-
const headers = sharedHeaders("StopInferenceScheduler");
|
|
249
|
-
let body;
|
|
250
|
-
body = JSON.stringify(_json(input));
|
|
251
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
|
-
};
|
|
253
|
-
export const se_StopRetrainingSchedulerCommand = async (input, context) => {
|
|
254
|
-
const headers = sharedHeaders("StopRetrainingScheduler");
|
|
255
|
-
let body;
|
|
256
|
-
body = JSON.stringify(_json(input));
|
|
257
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
|
-
};
|
|
259
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
260
|
-
const headers = sharedHeaders("TagResource");
|
|
261
|
-
let body;
|
|
262
|
-
body = JSON.stringify(_json(input));
|
|
263
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
264
|
-
};
|
|
265
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
266
|
-
const headers = sharedHeaders("UntagResource");
|
|
267
|
-
let body;
|
|
268
|
-
body = JSON.stringify(_json(input));
|
|
269
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
270
|
-
};
|
|
271
|
-
export const se_UpdateActiveModelVersionCommand = async (input, context) => {
|
|
272
|
-
const headers = sharedHeaders("UpdateActiveModelVersion");
|
|
273
|
-
let body;
|
|
274
|
-
body = JSON.stringify(_json(input));
|
|
275
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
276
|
-
};
|
|
277
|
-
export const se_UpdateInferenceSchedulerCommand = async (input, context) => {
|
|
278
|
-
const headers = sharedHeaders("UpdateInferenceScheduler");
|
|
279
|
-
let body;
|
|
280
|
-
body = JSON.stringify(_json(input));
|
|
281
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
282
|
-
};
|
|
283
|
-
export const se_UpdateLabelGroupCommand = async (input, context) => {
|
|
284
|
-
const headers = sharedHeaders("UpdateLabelGroup");
|
|
285
|
-
let body;
|
|
286
|
-
body = JSON.stringify(_json(input));
|
|
287
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
|
-
};
|
|
289
|
-
export const se_UpdateModelCommand = async (input, context) => {
|
|
290
|
-
const headers = sharedHeaders("UpdateModel");
|
|
291
|
-
let body;
|
|
292
|
-
body = JSON.stringify(_json(input));
|
|
293
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
|
-
};
|
|
295
|
-
export const se_UpdateRetrainingSchedulerCommand = async (input, context) => {
|
|
296
|
-
const headers = sharedHeaders("UpdateRetrainingScheduler");
|
|
297
|
-
let body;
|
|
298
|
-
body = JSON.stringify(se_UpdateRetrainingSchedulerRequest(input, context));
|
|
299
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
300
|
-
};
|
|
301
|
-
export const de_CreateDatasetCommand = async (output, context) => {
|
|
302
|
-
if (output.statusCode >= 300) {
|
|
303
|
-
return de_CommandError(output, context);
|
|
304
|
-
}
|
|
305
|
-
const data = await parseBody(output.body, context);
|
|
306
|
-
let contents = {};
|
|
307
|
-
contents = _json(data);
|
|
308
|
-
const response = {
|
|
309
|
-
$metadata: deserializeMetadata(output),
|
|
310
|
-
...contents,
|
|
311
|
-
};
|
|
312
|
-
return response;
|
|
313
|
-
};
|
|
314
|
-
export const de_CreateInferenceSchedulerCommand = async (output, context) => {
|
|
315
|
-
if (output.statusCode >= 300) {
|
|
316
|
-
return de_CommandError(output, context);
|
|
317
|
-
}
|
|
318
|
-
const data = await parseBody(output.body, context);
|
|
319
|
-
let contents = {};
|
|
320
|
-
contents = _json(data);
|
|
321
|
-
const response = {
|
|
322
|
-
$metadata: deserializeMetadata(output),
|
|
323
|
-
...contents,
|
|
324
|
-
};
|
|
325
|
-
return response;
|
|
326
|
-
};
|
|
327
|
-
export const de_CreateLabelCommand = async (output, context) => {
|
|
328
|
-
if (output.statusCode >= 300) {
|
|
329
|
-
return de_CommandError(output, context);
|
|
330
|
-
}
|
|
331
|
-
const data = await parseBody(output.body, context);
|
|
332
|
-
let contents = {};
|
|
333
|
-
contents = _json(data);
|
|
334
|
-
const response = {
|
|
335
|
-
$metadata: deserializeMetadata(output),
|
|
336
|
-
...contents,
|
|
337
|
-
};
|
|
338
|
-
return response;
|
|
339
|
-
};
|
|
340
|
-
export const de_CreateLabelGroupCommand = async (output, context) => {
|
|
341
|
-
if (output.statusCode >= 300) {
|
|
342
|
-
return de_CommandError(output, context);
|
|
343
|
-
}
|
|
344
|
-
const data = await parseBody(output.body, context);
|
|
345
|
-
let contents = {};
|
|
346
|
-
contents = _json(data);
|
|
347
|
-
const response = {
|
|
348
|
-
$metadata: deserializeMetadata(output),
|
|
349
|
-
...contents,
|
|
350
|
-
};
|
|
351
|
-
return response;
|
|
352
|
-
};
|
|
353
|
-
export const de_CreateModelCommand = async (output, context) => {
|
|
354
|
-
if (output.statusCode >= 300) {
|
|
355
|
-
return de_CommandError(output, context);
|
|
356
|
-
}
|
|
357
|
-
const data = await parseBody(output.body, context);
|
|
358
|
-
let contents = {};
|
|
359
|
-
contents = _json(data);
|
|
360
|
-
const response = {
|
|
361
|
-
$metadata: deserializeMetadata(output),
|
|
362
|
-
...contents,
|
|
363
|
-
};
|
|
364
|
-
return response;
|
|
365
|
-
};
|
|
366
|
-
export const de_CreateRetrainingSchedulerCommand = async (output, context) => {
|
|
367
|
-
if (output.statusCode >= 300) {
|
|
368
|
-
return de_CommandError(output, context);
|
|
369
|
-
}
|
|
370
|
-
const data = await parseBody(output.body, context);
|
|
371
|
-
let contents = {};
|
|
372
|
-
contents = _json(data);
|
|
373
|
-
const response = {
|
|
374
|
-
$metadata: deserializeMetadata(output),
|
|
375
|
-
...contents,
|
|
376
|
-
};
|
|
377
|
-
return response;
|
|
378
|
-
};
|
|
379
|
-
export const de_DeleteDatasetCommand = async (output, context) => {
|
|
380
|
-
if (output.statusCode >= 300) {
|
|
381
|
-
return de_CommandError(output, context);
|
|
382
|
-
}
|
|
383
|
-
await collectBody(output.body, context);
|
|
384
|
-
const response = {
|
|
385
|
-
$metadata: deserializeMetadata(output),
|
|
386
|
-
};
|
|
387
|
-
return response;
|
|
388
|
-
};
|
|
389
|
-
export const de_DeleteInferenceSchedulerCommand = async (output, context) => {
|
|
390
|
-
if (output.statusCode >= 300) {
|
|
391
|
-
return de_CommandError(output, context);
|
|
392
|
-
}
|
|
393
|
-
await collectBody(output.body, context);
|
|
394
|
-
const response = {
|
|
395
|
-
$metadata: deserializeMetadata(output),
|
|
396
|
-
};
|
|
397
|
-
return response;
|
|
398
|
-
};
|
|
399
|
-
export const de_DeleteLabelCommand = async (output, context) => {
|
|
400
|
-
if (output.statusCode >= 300) {
|
|
401
|
-
return de_CommandError(output, context);
|
|
402
|
-
}
|
|
403
|
-
await collectBody(output.body, context);
|
|
404
|
-
const response = {
|
|
405
|
-
$metadata: deserializeMetadata(output),
|
|
406
|
-
};
|
|
407
|
-
return response;
|
|
408
|
-
};
|
|
409
|
-
export const de_DeleteLabelGroupCommand = async (output, context) => {
|
|
410
|
-
if (output.statusCode >= 300) {
|
|
411
|
-
return de_CommandError(output, context);
|
|
412
|
-
}
|
|
413
|
-
await collectBody(output.body, context);
|
|
414
|
-
const response = {
|
|
415
|
-
$metadata: deserializeMetadata(output),
|
|
416
|
-
};
|
|
417
|
-
return response;
|
|
418
|
-
};
|
|
419
|
-
export const de_DeleteModelCommand = async (output, context) => {
|
|
420
|
-
if (output.statusCode >= 300) {
|
|
421
|
-
return de_CommandError(output, context);
|
|
422
|
-
}
|
|
423
|
-
await collectBody(output.body, context);
|
|
424
|
-
const response = {
|
|
425
|
-
$metadata: deserializeMetadata(output),
|
|
426
|
-
};
|
|
427
|
-
return response;
|
|
428
|
-
};
|
|
429
|
-
export const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
430
|
-
if (output.statusCode >= 300) {
|
|
431
|
-
return de_CommandError(output, context);
|
|
432
|
-
}
|
|
433
|
-
await collectBody(output.body, context);
|
|
434
|
-
const response = {
|
|
435
|
-
$metadata: deserializeMetadata(output),
|
|
436
|
-
};
|
|
437
|
-
return response;
|
|
438
|
-
};
|
|
439
|
-
export const de_DeleteRetrainingSchedulerCommand = async (output, context) => {
|
|
440
|
-
if (output.statusCode >= 300) {
|
|
441
|
-
return de_CommandError(output, context);
|
|
442
|
-
}
|
|
443
|
-
await collectBody(output.body, context);
|
|
444
|
-
const response = {
|
|
445
|
-
$metadata: deserializeMetadata(output),
|
|
446
|
-
};
|
|
447
|
-
return response;
|
|
448
|
-
};
|
|
449
|
-
export const de_DescribeDataIngestionJobCommand = async (output, context) => {
|
|
450
|
-
if (output.statusCode >= 300) {
|
|
451
|
-
return de_CommandError(output, context);
|
|
452
|
-
}
|
|
453
|
-
const data = await parseBody(output.body, context);
|
|
454
|
-
let contents = {};
|
|
455
|
-
contents = de_DescribeDataIngestionJobResponse(data, context);
|
|
456
|
-
const response = {
|
|
457
|
-
$metadata: deserializeMetadata(output),
|
|
458
|
-
...contents,
|
|
459
|
-
};
|
|
460
|
-
return response;
|
|
461
|
-
};
|
|
462
|
-
export const de_DescribeDatasetCommand = async (output, context) => {
|
|
463
|
-
if (output.statusCode >= 300) {
|
|
464
|
-
return de_CommandError(output, context);
|
|
465
|
-
}
|
|
466
|
-
const data = await parseBody(output.body, context);
|
|
467
|
-
let contents = {};
|
|
468
|
-
contents = de_DescribeDatasetResponse(data, context);
|
|
469
|
-
const response = {
|
|
470
|
-
$metadata: deserializeMetadata(output),
|
|
471
|
-
...contents,
|
|
472
|
-
};
|
|
473
|
-
return response;
|
|
474
|
-
};
|
|
475
|
-
export const de_DescribeInferenceSchedulerCommand = async (output, context) => {
|
|
476
|
-
if (output.statusCode >= 300) {
|
|
477
|
-
return de_CommandError(output, context);
|
|
478
|
-
}
|
|
479
|
-
const data = await parseBody(output.body, context);
|
|
480
|
-
let contents = {};
|
|
481
|
-
contents = de_DescribeInferenceSchedulerResponse(data, context);
|
|
482
|
-
const response = {
|
|
483
|
-
$metadata: deserializeMetadata(output),
|
|
484
|
-
...contents,
|
|
485
|
-
};
|
|
486
|
-
return response;
|
|
487
|
-
};
|
|
488
|
-
export const de_DescribeLabelCommand = async (output, context) => {
|
|
489
|
-
if (output.statusCode >= 300) {
|
|
490
|
-
return de_CommandError(output, context);
|
|
491
|
-
}
|
|
492
|
-
const data = await parseBody(output.body, context);
|
|
493
|
-
let contents = {};
|
|
494
|
-
contents = de_DescribeLabelResponse(data, context);
|
|
495
|
-
const response = {
|
|
496
|
-
$metadata: deserializeMetadata(output),
|
|
497
|
-
...contents,
|
|
498
|
-
};
|
|
499
|
-
return response;
|
|
500
|
-
};
|
|
501
|
-
export const de_DescribeLabelGroupCommand = async (output, context) => {
|
|
502
|
-
if (output.statusCode >= 300) {
|
|
503
|
-
return de_CommandError(output, context);
|
|
504
|
-
}
|
|
505
|
-
const data = await parseBody(output.body, context);
|
|
506
|
-
let contents = {};
|
|
507
|
-
contents = de_DescribeLabelGroupResponse(data, context);
|
|
508
|
-
const response = {
|
|
509
|
-
$metadata: deserializeMetadata(output),
|
|
510
|
-
...contents,
|
|
511
|
-
};
|
|
512
|
-
return response;
|
|
513
|
-
};
|
|
514
|
-
export const de_DescribeModelCommand = async (output, context) => {
|
|
515
|
-
if (output.statusCode >= 300) {
|
|
516
|
-
return de_CommandError(output, context);
|
|
517
|
-
}
|
|
518
|
-
const data = await parseBody(output.body, context);
|
|
519
|
-
let contents = {};
|
|
520
|
-
contents = de_DescribeModelResponse(data, context);
|
|
521
|
-
const response = {
|
|
522
|
-
$metadata: deserializeMetadata(output),
|
|
523
|
-
...contents,
|
|
524
|
-
};
|
|
525
|
-
return response;
|
|
526
|
-
};
|
|
527
|
-
export const de_DescribeModelVersionCommand = async (output, context) => {
|
|
528
|
-
if (output.statusCode >= 300) {
|
|
529
|
-
return de_CommandError(output, context);
|
|
530
|
-
}
|
|
531
|
-
const data = await parseBody(output.body, context);
|
|
532
|
-
let contents = {};
|
|
533
|
-
contents = de_DescribeModelVersionResponse(data, context);
|
|
534
|
-
const response = {
|
|
535
|
-
$metadata: deserializeMetadata(output),
|
|
536
|
-
...contents,
|
|
537
|
-
};
|
|
538
|
-
return response;
|
|
539
|
-
};
|
|
540
|
-
export const de_DescribeResourcePolicyCommand = async (output, context) => {
|
|
541
|
-
if (output.statusCode >= 300) {
|
|
542
|
-
return de_CommandError(output, context);
|
|
543
|
-
}
|
|
544
|
-
const data = await parseBody(output.body, context);
|
|
545
|
-
let contents = {};
|
|
546
|
-
contents = de_DescribeResourcePolicyResponse(data, context);
|
|
547
|
-
const response = {
|
|
548
|
-
$metadata: deserializeMetadata(output),
|
|
549
|
-
...contents,
|
|
550
|
-
};
|
|
551
|
-
return response;
|
|
552
|
-
};
|
|
553
|
-
export const de_DescribeRetrainingSchedulerCommand = async (output, context) => {
|
|
554
|
-
if (output.statusCode >= 300) {
|
|
555
|
-
return de_CommandError(output, context);
|
|
556
|
-
}
|
|
557
|
-
const data = await parseBody(output.body, context);
|
|
558
|
-
let contents = {};
|
|
559
|
-
contents = de_DescribeRetrainingSchedulerResponse(data, context);
|
|
560
|
-
const response = {
|
|
561
|
-
$metadata: deserializeMetadata(output),
|
|
562
|
-
...contents,
|
|
563
|
-
};
|
|
564
|
-
return response;
|
|
565
|
-
};
|
|
566
|
-
export const de_ImportDatasetCommand = async (output, context) => {
|
|
567
|
-
if (output.statusCode >= 300) {
|
|
568
|
-
return de_CommandError(output, context);
|
|
569
|
-
}
|
|
570
|
-
const data = await parseBody(output.body, context);
|
|
571
|
-
let contents = {};
|
|
572
|
-
contents = _json(data);
|
|
573
|
-
const response = {
|
|
574
|
-
$metadata: deserializeMetadata(output),
|
|
575
|
-
...contents,
|
|
576
|
-
};
|
|
577
|
-
return response;
|
|
578
|
-
};
|
|
579
|
-
export const de_ImportModelVersionCommand = async (output, context) => {
|
|
580
|
-
if (output.statusCode >= 300) {
|
|
581
|
-
return de_CommandError(output, context);
|
|
582
|
-
}
|
|
583
|
-
const data = await parseBody(output.body, context);
|
|
584
|
-
let contents = {};
|
|
585
|
-
contents = _json(data);
|
|
586
|
-
const response = {
|
|
587
|
-
$metadata: deserializeMetadata(output),
|
|
588
|
-
...contents,
|
|
589
|
-
};
|
|
590
|
-
return response;
|
|
591
|
-
};
|
|
592
|
-
export const de_ListDataIngestionJobsCommand = async (output, context) => {
|
|
593
|
-
if (output.statusCode >= 300) {
|
|
594
|
-
return de_CommandError(output, context);
|
|
595
|
-
}
|
|
596
|
-
const data = await parseBody(output.body, context);
|
|
597
|
-
let contents = {};
|
|
598
|
-
contents = _json(data);
|
|
599
|
-
const response = {
|
|
600
|
-
$metadata: deserializeMetadata(output),
|
|
601
|
-
...contents,
|
|
602
|
-
};
|
|
603
|
-
return response;
|
|
604
|
-
};
|
|
605
|
-
export const de_ListDatasetsCommand = async (output, context) => {
|
|
606
|
-
if (output.statusCode >= 300) {
|
|
607
|
-
return de_CommandError(output, context);
|
|
608
|
-
}
|
|
609
|
-
const data = await parseBody(output.body, context);
|
|
610
|
-
let contents = {};
|
|
611
|
-
contents = de_ListDatasetsResponse(data, context);
|
|
612
|
-
const response = {
|
|
613
|
-
$metadata: deserializeMetadata(output),
|
|
614
|
-
...contents,
|
|
615
|
-
};
|
|
616
|
-
return response;
|
|
617
|
-
};
|
|
618
|
-
export const de_ListInferenceEventsCommand = async (output, context) => {
|
|
619
|
-
if (output.statusCode >= 300) {
|
|
620
|
-
return de_CommandError(output, context);
|
|
621
|
-
}
|
|
622
|
-
const data = await parseBody(output.body, context);
|
|
623
|
-
let contents = {};
|
|
624
|
-
contents = de_ListInferenceEventsResponse(data, context);
|
|
625
|
-
const response = {
|
|
626
|
-
$metadata: deserializeMetadata(output),
|
|
627
|
-
...contents,
|
|
628
|
-
};
|
|
629
|
-
return response;
|
|
630
|
-
};
|
|
631
|
-
export const de_ListInferenceExecutionsCommand = async (output, context) => {
|
|
632
|
-
if (output.statusCode >= 300) {
|
|
633
|
-
return de_CommandError(output, context);
|
|
634
|
-
}
|
|
635
|
-
const data = await parseBody(output.body, context);
|
|
636
|
-
let contents = {};
|
|
637
|
-
contents = de_ListInferenceExecutionsResponse(data, context);
|
|
638
|
-
const response = {
|
|
639
|
-
$metadata: deserializeMetadata(output),
|
|
640
|
-
...contents,
|
|
641
|
-
};
|
|
642
|
-
return response;
|
|
643
|
-
};
|
|
644
|
-
export const de_ListInferenceSchedulersCommand = async (output, context) => {
|
|
645
|
-
if (output.statusCode >= 300) {
|
|
646
|
-
return de_CommandError(output, context);
|
|
647
|
-
}
|
|
648
|
-
const data = await parseBody(output.body, context);
|
|
649
|
-
let contents = {};
|
|
650
|
-
contents = _json(data);
|
|
651
|
-
const response = {
|
|
652
|
-
$metadata: deserializeMetadata(output),
|
|
653
|
-
...contents,
|
|
654
|
-
};
|
|
655
|
-
return response;
|
|
656
|
-
};
|
|
657
|
-
export const de_ListLabelGroupsCommand = async (output, context) => {
|
|
658
|
-
if (output.statusCode >= 300) {
|
|
659
|
-
return de_CommandError(output, context);
|
|
660
|
-
}
|
|
661
|
-
const data = await parseBody(output.body, context);
|
|
662
|
-
let contents = {};
|
|
663
|
-
contents = de_ListLabelGroupsResponse(data, context);
|
|
664
|
-
const response = {
|
|
665
|
-
$metadata: deserializeMetadata(output),
|
|
666
|
-
...contents,
|
|
667
|
-
};
|
|
668
|
-
return response;
|
|
669
|
-
};
|
|
670
|
-
export const de_ListLabelsCommand = async (output, context) => {
|
|
671
|
-
if (output.statusCode >= 300) {
|
|
672
|
-
return de_CommandError(output, context);
|
|
673
|
-
}
|
|
674
|
-
const data = await parseBody(output.body, context);
|
|
675
|
-
let contents = {};
|
|
676
|
-
contents = de_ListLabelsResponse(data, context);
|
|
677
|
-
const response = {
|
|
678
|
-
$metadata: deserializeMetadata(output),
|
|
679
|
-
...contents,
|
|
680
|
-
};
|
|
681
|
-
return response;
|
|
682
|
-
};
|
|
683
|
-
export const de_ListModelsCommand = async (output, context) => {
|
|
684
|
-
if (output.statusCode >= 300) {
|
|
685
|
-
return de_CommandError(output, context);
|
|
686
|
-
}
|
|
687
|
-
const data = await parseBody(output.body, context);
|
|
688
|
-
let contents = {};
|
|
689
|
-
contents = de_ListModelsResponse(data, context);
|
|
690
|
-
const response = {
|
|
691
|
-
$metadata: deserializeMetadata(output),
|
|
692
|
-
...contents,
|
|
693
|
-
};
|
|
694
|
-
return response;
|
|
695
|
-
};
|
|
696
|
-
export const de_ListModelVersionsCommand = async (output, context) => {
|
|
697
|
-
if (output.statusCode >= 300) {
|
|
698
|
-
return de_CommandError(output, context);
|
|
699
|
-
}
|
|
700
|
-
const data = await parseBody(output.body, context);
|
|
701
|
-
let contents = {};
|
|
702
|
-
contents = de_ListModelVersionsResponse(data, context);
|
|
703
|
-
const response = {
|
|
704
|
-
$metadata: deserializeMetadata(output),
|
|
705
|
-
...contents,
|
|
706
|
-
};
|
|
707
|
-
return response;
|
|
708
|
-
};
|
|
709
|
-
export const de_ListRetrainingSchedulersCommand = async (output, context) => {
|
|
710
|
-
if (output.statusCode >= 300) {
|
|
711
|
-
return de_CommandError(output, context);
|
|
712
|
-
}
|
|
713
|
-
const data = await parseBody(output.body, context);
|
|
714
|
-
let contents = {};
|
|
715
|
-
contents = de_ListRetrainingSchedulersResponse(data, context);
|
|
716
|
-
const response = {
|
|
717
|
-
$metadata: deserializeMetadata(output),
|
|
718
|
-
...contents,
|
|
719
|
-
};
|
|
720
|
-
return response;
|
|
721
|
-
};
|
|
722
|
-
export const de_ListSensorStatisticsCommand = async (output, context) => {
|
|
723
|
-
if (output.statusCode >= 300) {
|
|
724
|
-
return de_CommandError(output, context);
|
|
725
|
-
}
|
|
726
|
-
const data = await parseBody(output.body, context);
|
|
727
|
-
let contents = {};
|
|
728
|
-
contents = de_ListSensorStatisticsResponse(data, context);
|
|
729
|
-
const response = {
|
|
730
|
-
$metadata: deserializeMetadata(output),
|
|
731
|
-
...contents,
|
|
732
|
-
};
|
|
733
|
-
return response;
|
|
734
|
-
};
|
|
735
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
736
|
-
if (output.statusCode >= 300) {
|
|
737
|
-
return de_CommandError(output, context);
|
|
738
|
-
}
|
|
739
|
-
const data = await parseBody(output.body, context);
|
|
740
|
-
let contents = {};
|
|
741
|
-
contents = _json(data);
|
|
742
|
-
const response = {
|
|
743
|
-
$metadata: deserializeMetadata(output),
|
|
744
|
-
...contents,
|
|
745
|
-
};
|
|
746
|
-
return response;
|
|
747
|
-
};
|
|
748
|
-
export const de_PutResourcePolicyCommand = async (output, context) => {
|
|
749
|
-
if (output.statusCode >= 300) {
|
|
750
|
-
return de_CommandError(output, context);
|
|
751
|
-
}
|
|
752
|
-
const data = await parseBody(output.body, context);
|
|
753
|
-
let contents = {};
|
|
754
|
-
contents = _json(data);
|
|
755
|
-
const response = {
|
|
756
|
-
$metadata: deserializeMetadata(output),
|
|
757
|
-
...contents,
|
|
758
|
-
};
|
|
759
|
-
return response;
|
|
760
|
-
};
|
|
761
|
-
export const de_StartDataIngestionJobCommand = async (output, context) => {
|
|
762
|
-
if (output.statusCode >= 300) {
|
|
763
|
-
return de_CommandError(output, context);
|
|
764
|
-
}
|
|
765
|
-
const data = await parseBody(output.body, context);
|
|
766
|
-
let contents = {};
|
|
767
|
-
contents = _json(data);
|
|
768
|
-
const response = {
|
|
769
|
-
$metadata: deserializeMetadata(output),
|
|
770
|
-
...contents,
|
|
771
|
-
};
|
|
772
|
-
return response;
|
|
773
|
-
};
|
|
774
|
-
export const de_StartInferenceSchedulerCommand = async (output, context) => {
|
|
775
|
-
if (output.statusCode >= 300) {
|
|
776
|
-
return de_CommandError(output, context);
|
|
777
|
-
}
|
|
778
|
-
const data = await parseBody(output.body, context);
|
|
779
|
-
let contents = {};
|
|
780
|
-
contents = _json(data);
|
|
781
|
-
const response = {
|
|
782
|
-
$metadata: deserializeMetadata(output),
|
|
783
|
-
...contents,
|
|
784
|
-
};
|
|
785
|
-
return response;
|
|
786
|
-
};
|
|
787
|
-
export const de_StartRetrainingSchedulerCommand = async (output, context) => {
|
|
788
|
-
if (output.statusCode >= 300) {
|
|
789
|
-
return de_CommandError(output, context);
|
|
790
|
-
}
|
|
791
|
-
const data = await parseBody(output.body, context);
|
|
792
|
-
let contents = {};
|
|
793
|
-
contents = _json(data);
|
|
794
|
-
const response = {
|
|
795
|
-
$metadata: deserializeMetadata(output),
|
|
796
|
-
...contents,
|
|
797
|
-
};
|
|
798
|
-
return response;
|
|
799
|
-
};
|
|
800
|
-
export const de_StopInferenceSchedulerCommand = async (output, context) => {
|
|
801
|
-
if (output.statusCode >= 300) {
|
|
802
|
-
return de_CommandError(output, context);
|
|
803
|
-
}
|
|
804
|
-
const data = await parseBody(output.body, context);
|
|
805
|
-
let contents = {};
|
|
806
|
-
contents = _json(data);
|
|
807
|
-
const response = {
|
|
808
|
-
$metadata: deserializeMetadata(output),
|
|
809
|
-
...contents,
|
|
810
|
-
};
|
|
811
|
-
return response;
|
|
812
|
-
};
|
|
813
|
-
export const de_StopRetrainingSchedulerCommand = async (output, context) => {
|
|
814
|
-
if (output.statusCode >= 300) {
|
|
815
|
-
return de_CommandError(output, context);
|
|
816
|
-
}
|
|
817
|
-
const data = await parseBody(output.body, context);
|
|
818
|
-
let contents = {};
|
|
819
|
-
contents = _json(data);
|
|
820
|
-
const response = {
|
|
821
|
-
$metadata: deserializeMetadata(output),
|
|
822
|
-
...contents,
|
|
823
|
-
};
|
|
824
|
-
return response;
|
|
825
|
-
};
|
|
826
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
827
|
-
if (output.statusCode >= 300) {
|
|
828
|
-
return de_CommandError(output, context);
|
|
829
|
-
}
|
|
830
|
-
const data = await parseBody(output.body, context);
|
|
831
|
-
let contents = {};
|
|
832
|
-
contents = _json(data);
|
|
833
|
-
const response = {
|
|
834
|
-
$metadata: deserializeMetadata(output),
|
|
835
|
-
...contents,
|
|
836
|
-
};
|
|
837
|
-
return response;
|
|
838
|
-
};
|
|
839
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
840
|
-
if (output.statusCode >= 300) {
|
|
841
|
-
return de_CommandError(output, context);
|
|
842
|
-
}
|
|
843
|
-
const data = await parseBody(output.body, context);
|
|
844
|
-
let contents = {};
|
|
845
|
-
contents = _json(data);
|
|
846
|
-
const response = {
|
|
847
|
-
$metadata: deserializeMetadata(output),
|
|
848
|
-
...contents,
|
|
849
|
-
};
|
|
850
|
-
return response;
|
|
851
|
-
};
|
|
852
|
-
export const de_UpdateActiveModelVersionCommand = async (output, context) => {
|
|
853
|
-
if (output.statusCode >= 300) {
|
|
854
|
-
return de_CommandError(output, context);
|
|
855
|
-
}
|
|
856
|
-
const data = await parseBody(output.body, context);
|
|
857
|
-
let contents = {};
|
|
858
|
-
contents = _json(data);
|
|
859
|
-
const response = {
|
|
860
|
-
$metadata: deserializeMetadata(output),
|
|
861
|
-
...contents,
|
|
862
|
-
};
|
|
863
|
-
return response;
|
|
864
|
-
};
|
|
865
|
-
export const de_UpdateInferenceSchedulerCommand = async (output, context) => {
|
|
866
|
-
if (output.statusCode >= 300) {
|
|
867
|
-
return de_CommandError(output, context);
|
|
868
|
-
}
|
|
869
|
-
await collectBody(output.body, context);
|
|
870
|
-
const response = {
|
|
871
|
-
$metadata: deserializeMetadata(output),
|
|
872
|
-
};
|
|
873
|
-
return response;
|
|
874
|
-
};
|
|
875
|
-
export const de_UpdateLabelGroupCommand = async (output, context) => {
|
|
876
|
-
if (output.statusCode >= 300) {
|
|
877
|
-
return de_CommandError(output, context);
|
|
878
|
-
}
|
|
879
|
-
await collectBody(output.body, context);
|
|
880
|
-
const response = {
|
|
881
|
-
$metadata: deserializeMetadata(output),
|
|
882
|
-
};
|
|
883
|
-
return response;
|
|
884
|
-
};
|
|
885
|
-
export const de_UpdateModelCommand = async (output, context) => {
|
|
886
|
-
if (output.statusCode >= 300) {
|
|
887
|
-
return de_CommandError(output, context);
|
|
888
|
-
}
|
|
889
|
-
await collectBody(output.body, context);
|
|
890
|
-
const response = {
|
|
891
|
-
$metadata: deserializeMetadata(output),
|
|
892
|
-
};
|
|
893
|
-
return response;
|
|
894
|
-
};
|
|
895
|
-
export const de_UpdateRetrainingSchedulerCommand = async (output, context) => {
|
|
896
|
-
if (output.statusCode >= 300) {
|
|
897
|
-
return de_CommandError(output, context);
|
|
898
|
-
}
|
|
899
|
-
await collectBody(output.body, context);
|
|
900
|
-
const response = {
|
|
901
|
-
$metadata: deserializeMetadata(output),
|
|
902
|
-
};
|
|
903
|
-
return response;
|
|
904
|
-
};
|
|
905
|
-
const de_CommandError = async (output, context) => {
|
|
906
|
-
const parsedOutput = {
|
|
907
|
-
...output,
|
|
908
|
-
body: await parseErrorBody(output.body, context),
|
|
909
|
-
};
|
|
910
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
911
|
-
switch (errorCode) {
|
|
912
|
-
case "AccessDeniedException":
|
|
913
|
-
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
914
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
915
|
-
case "ConflictException":
|
|
916
|
-
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
917
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
918
|
-
case "InternalServerException":
|
|
919
|
-
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
920
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
921
|
-
case "ServiceQuotaExceededException":
|
|
922
|
-
case "com.amazonaws.lookoutequipment#ServiceQuotaExceededException":
|
|
923
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
924
|
-
case "ThrottlingException":
|
|
925
|
-
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
926
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
927
|
-
case "ValidationException":
|
|
928
|
-
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
929
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
930
|
-
case "ResourceNotFoundException":
|
|
931
|
-
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
932
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
933
|
-
default:
|
|
934
|
-
const parsedBody = parsedOutput.body;
|
|
935
|
-
return throwDefaultError({
|
|
936
|
-
output,
|
|
937
|
-
parsedBody,
|
|
938
|
-
errorCode,
|
|
939
|
-
});
|
|
940
|
-
}
|
|
941
|
-
};
|
|
942
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
943
|
-
const body = parsedOutput.body;
|
|
944
|
-
const deserialized = _json(body);
|
|
945
|
-
const exception = new AccessDeniedException({
|
|
946
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
947
|
-
...deserialized,
|
|
948
|
-
});
|
|
949
|
-
return __decorateServiceException(exception, body);
|
|
950
|
-
};
|
|
951
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
952
|
-
const body = parsedOutput.body;
|
|
953
|
-
const deserialized = _json(body);
|
|
954
|
-
const exception = new ConflictException({
|
|
955
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
956
|
-
...deserialized,
|
|
957
|
-
});
|
|
958
|
-
return __decorateServiceException(exception, body);
|
|
959
|
-
};
|
|
960
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
961
|
-
const body = parsedOutput.body;
|
|
962
|
-
const deserialized = _json(body);
|
|
963
|
-
const exception = new InternalServerException({
|
|
964
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
965
|
-
...deserialized,
|
|
966
|
-
});
|
|
967
|
-
return __decorateServiceException(exception, body);
|
|
968
|
-
};
|
|
969
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
970
|
-
const body = parsedOutput.body;
|
|
971
|
-
const deserialized = _json(body);
|
|
972
|
-
const exception = new ResourceNotFoundException({
|
|
973
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
974
|
-
...deserialized,
|
|
975
|
-
});
|
|
976
|
-
return __decorateServiceException(exception, body);
|
|
977
|
-
};
|
|
978
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
979
|
-
const body = parsedOutput.body;
|
|
980
|
-
const deserialized = _json(body);
|
|
981
|
-
const exception = new ServiceQuotaExceededException({
|
|
982
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
983
|
-
...deserialized,
|
|
984
|
-
});
|
|
985
|
-
return __decorateServiceException(exception, body);
|
|
986
|
-
};
|
|
987
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
988
|
-
const body = parsedOutput.body;
|
|
989
|
-
const deserialized = _json(body);
|
|
990
|
-
const exception = new ThrottlingException({
|
|
991
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
992
|
-
...deserialized,
|
|
993
|
-
});
|
|
994
|
-
return __decorateServiceException(exception, body);
|
|
995
|
-
};
|
|
996
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
997
|
-
const body = parsedOutput.body;
|
|
998
|
-
const deserialized = _json(body);
|
|
999
|
-
const exception = new ValidationException({
|
|
1000
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1001
|
-
...deserialized,
|
|
1002
|
-
});
|
|
1003
|
-
return __decorateServiceException(exception, body);
|
|
1004
|
-
};
|
|
1005
|
-
const se_CreateDatasetRequest = (input, context) => {
|
|
1006
|
-
return take(input, {
|
|
1007
|
-
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1008
|
-
DatasetName: [],
|
|
1009
|
-
DatasetSchema: (_) => se_DatasetSchema(_, context),
|
|
1010
|
-
ServerSideKmsKeyId: [],
|
|
1011
|
-
Tags: _json,
|
|
1012
|
-
});
|
|
1013
|
-
};
|
|
1014
|
-
const se_CreateInferenceSchedulerRequest = (input, context) => {
|
|
1015
|
-
return take(input, {
|
|
1016
|
-
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1017
|
-
DataDelayOffsetInMinutes: [],
|
|
1018
|
-
DataInputConfiguration: _json,
|
|
1019
|
-
DataOutputConfiguration: _json,
|
|
1020
|
-
DataUploadFrequency: [],
|
|
1021
|
-
InferenceSchedulerName: [],
|
|
1022
|
-
ModelName: [],
|
|
1023
|
-
RoleArn: [],
|
|
1024
|
-
ServerSideKmsKeyId: [],
|
|
1025
|
-
Tags: _json,
|
|
1026
|
-
});
|
|
1027
|
-
};
|
|
1028
|
-
const se_CreateLabelGroupRequest = (input, context) => {
|
|
1029
|
-
return take(input, {
|
|
1030
|
-
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1031
|
-
FaultCodes: _json,
|
|
1032
|
-
LabelGroupName: [],
|
|
1033
|
-
Tags: _json,
|
|
1034
|
-
});
|
|
1035
|
-
};
|
|
1036
|
-
const se_CreateLabelRequest = (input, context) => {
|
|
1037
|
-
return take(input, {
|
|
1038
|
-
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1039
|
-
EndTime: (_) => _.getTime() / 1_000,
|
|
1040
|
-
Equipment: [],
|
|
1041
|
-
FaultCode: [],
|
|
1042
|
-
LabelGroupName: [],
|
|
1043
|
-
Notes: [],
|
|
1044
|
-
Rating: [],
|
|
1045
|
-
StartTime: (_) => _.getTime() / 1_000,
|
|
1046
|
-
});
|
|
1047
|
-
};
|
|
1048
|
-
const se_CreateModelRequest = (input, context) => {
|
|
1049
|
-
return take(input, {
|
|
1050
|
-
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1051
|
-
DataPreProcessingConfiguration: _json,
|
|
1052
|
-
DatasetName: [],
|
|
1053
|
-
DatasetSchema: (_) => se_DatasetSchema(_, context),
|
|
1054
|
-
EvaluationDataEndTime: (_) => _.getTime() / 1_000,
|
|
1055
|
-
EvaluationDataStartTime: (_) => _.getTime() / 1_000,
|
|
1056
|
-
LabelsInputConfiguration: _json,
|
|
1057
|
-
ModelDiagnosticsOutputConfiguration: _json,
|
|
1058
|
-
ModelName: [],
|
|
1059
|
-
OffCondition: [],
|
|
1060
|
-
RoleArn: [],
|
|
1061
|
-
ServerSideKmsKeyId: [],
|
|
1062
|
-
Tags: _json,
|
|
1063
|
-
TrainingDataEndTime: (_) => _.getTime() / 1_000,
|
|
1064
|
-
TrainingDataStartTime: (_) => _.getTime() / 1_000,
|
|
1065
|
-
});
|
|
1066
|
-
};
|
|
1067
|
-
const se_CreateRetrainingSchedulerRequest = (input, context) => {
|
|
1068
|
-
return take(input, {
|
|
1069
|
-
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1070
|
-
LookbackWindow: [],
|
|
1071
|
-
ModelName: [],
|
|
1072
|
-
PromoteMode: [],
|
|
1073
|
-
RetrainingFrequency: [],
|
|
1074
|
-
RetrainingStartDate: (_) => _.getTime() / 1_000,
|
|
1075
|
-
});
|
|
1076
|
-
};
|
|
1077
|
-
const se_DatasetSchema = (input, context) => {
|
|
1078
|
-
return take(input, {
|
|
1079
|
-
InlineDataSchema: __LazyJsonString.from,
|
|
1080
|
-
});
|
|
1081
|
-
};
|
|
1082
|
-
const se_ImportDatasetRequest = (input, context) => {
|
|
1083
|
-
return take(input, {
|
|
1084
|
-
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1085
|
-
DatasetName: [],
|
|
1086
|
-
ServerSideKmsKeyId: [],
|
|
1087
|
-
SourceDatasetArn: [],
|
|
1088
|
-
Tags: _json,
|
|
1089
|
-
});
|
|
1090
|
-
};
|
|
1091
|
-
const se_ImportModelVersionRequest = (input, context) => {
|
|
1092
|
-
return take(input, {
|
|
1093
|
-
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1094
|
-
DatasetName: [],
|
|
1095
|
-
InferenceDataImportStrategy: [],
|
|
1096
|
-
LabelsInputConfiguration: _json,
|
|
1097
|
-
ModelName: [],
|
|
1098
|
-
RoleArn: [],
|
|
1099
|
-
ServerSideKmsKeyId: [],
|
|
1100
|
-
SourceModelVersionArn: [],
|
|
1101
|
-
Tags: _json,
|
|
1102
|
-
});
|
|
1103
|
-
};
|
|
1104
|
-
const se_ListInferenceEventsRequest = (input, context) => {
|
|
1105
|
-
return take(input, {
|
|
1106
|
-
InferenceSchedulerName: [],
|
|
1107
|
-
IntervalEndTime: (_) => _.getTime() / 1_000,
|
|
1108
|
-
IntervalStartTime: (_) => _.getTime() / 1_000,
|
|
1109
|
-
MaxResults: [],
|
|
1110
|
-
NextToken: [],
|
|
1111
|
-
});
|
|
1112
|
-
};
|
|
1113
|
-
const se_ListInferenceExecutionsRequest = (input, context) => {
|
|
1114
|
-
return take(input, {
|
|
1115
|
-
DataEndTimeBefore: (_) => _.getTime() / 1_000,
|
|
1116
|
-
DataStartTimeAfter: (_) => _.getTime() / 1_000,
|
|
1117
|
-
InferenceSchedulerName: [],
|
|
1118
|
-
MaxResults: [],
|
|
1119
|
-
NextToken: [],
|
|
1120
|
-
Status: [],
|
|
1121
|
-
});
|
|
1122
|
-
};
|
|
1123
|
-
const se_ListLabelsRequest = (input, context) => {
|
|
1124
|
-
return take(input, {
|
|
1125
|
-
Equipment: [],
|
|
1126
|
-
FaultCode: [],
|
|
1127
|
-
IntervalEndTime: (_) => _.getTime() / 1_000,
|
|
1128
|
-
IntervalStartTime: (_) => _.getTime() / 1_000,
|
|
1129
|
-
LabelGroupName: [],
|
|
1130
|
-
MaxResults: [],
|
|
1131
|
-
NextToken: [],
|
|
1132
|
-
});
|
|
1133
|
-
};
|
|
1134
|
-
const se_ListModelVersionsRequest = (input, context) => {
|
|
1135
|
-
return take(input, {
|
|
1136
|
-
CreatedAtEndTime: (_) => _.getTime() / 1_000,
|
|
1137
|
-
CreatedAtStartTime: (_) => _.getTime() / 1_000,
|
|
1138
|
-
MaxModelVersion: [],
|
|
1139
|
-
MaxResults: [],
|
|
1140
|
-
MinModelVersion: [],
|
|
1141
|
-
ModelName: [],
|
|
1142
|
-
NextToken: [],
|
|
1143
|
-
SourceType: [],
|
|
1144
|
-
Status: [],
|
|
1145
|
-
});
|
|
1146
|
-
};
|
|
1147
|
-
const se_PutResourcePolicyRequest = (input, context) => {
|
|
1148
|
-
return take(input, {
|
|
1149
|
-
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1150
|
-
PolicyRevisionId: [],
|
|
1151
|
-
ResourceArn: [],
|
|
1152
|
-
ResourcePolicy: [],
|
|
1153
|
-
});
|
|
1154
|
-
};
|
|
1155
|
-
const se_StartDataIngestionJobRequest = (input, context) => {
|
|
1156
|
-
return take(input, {
|
|
1157
|
-
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1158
|
-
DatasetName: [],
|
|
1159
|
-
IngestionInputConfiguration: _json,
|
|
1160
|
-
RoleArn: [],
|
|
1161
|
-
});
|
|
1162
|
-
};
|
|
1163
|
-
const se_UpdateRetrainingSchedulerRequest = (input, context) => {
|
|
1164
|
-
return take(input, {
|
|
1165
|
-
LookbackWindow: [],
|
|
1166
|
-
ModelName: [],
|
|
1167
|
-
PromoteMode: [],
|
|
1168
|
-
RetrainingFrequency: [],
|
|
1169
|
-
RetrainingStartDate: (_) => _.getTime() / 1_000,
|
|
1170
|
-
});
|
|
1171
|
-
};
|
|
1172
|
-
const de_CountPercent = (output, context) => {
|
|
1173
|
-
return take(output, {
|
|
1174
|
-
Count: __expectInt32,
|
|
1175
|
-
Percentage: __limitedParseFloat32,
|
|
1176
|
-
});
|
|
1177
|
-
};
|
|
1178
|
-
const de_DatasetSummaries = (output, context) => {
|
|
1179
|
-
const retVal = (output || [])
|
|
1180
|
-
.filter((e) => e != null)
|
|
1181
|
-
.map((entry) => {
|
|
1182
|
-
return de_DatasetSummary(entry, context);
|
|
1183
|
-
});
|
|
1184
|
-
return retVal;
|
|
1185
|
-
};
|
|
1186
|
-
const de_DatasetSummary = (output, context) => {
|
|
1187
|
-
return take(output, {
|
|
1188
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1189
|
-
DatasetArn: __expectString,
|
|
1190
|
-
DatasetName: __expectString,
|
|
1191
|
-
Status: __expectString,
|
|
1192
|
-
});
|
|
1193
|
-
};
|
|
1194
|
-
const de_DescribeDataIngestionJobResponse = (output, context) => {
|
|
1195
|
-
return take(output, {
|
|
1196
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1197
|
-
DataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1198
|
-
DataQualitySummary: _json,
|
|
1199
|
-
DataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1200
|
-
DatasetArn: __expectString,
|
|
1201
|
-
FailedReason: __expectString,
|
|
1202
|
-
IngestedDataSize: __expectLong,
|
|
1203
|
-
IngestedFilesSummary: _json,
|
|
1204
|
-
IngestionInputConfiguration: _json,
|
|
1205
|
-
JobId: __expectString,
|
|
1206
|
-
RoleArn: __expectString,
|
|
1207
|
-
SourceDatasetArn: __expectString,
|
|
1208
|
-
Status: __expectString,
|
|
1209
|
-
StatusDetail: __expectString,
|
|
1210
|
-
});
|
|
1211
|
-
};
|
|
1212
|
-
const de_DescribeDatasetResponse = (output, context) => {
|
|
1213
|
-
return take(output, {
|
|
1214
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1215
|
-
DataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1216
|
-
DataQualitySummary: _json,
|
|
1217
|
-
DataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1218
|
-
DatasetArn: __expectString,
|
|
1219
|
-
DatasetName: __expectString,
|
|
1220
|
-
IngestedFilesSummary: _json,
|
|
1221
|
-
IngestionInputConfiguration: _json,
|
|
1222
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1223
|
-
RoleArn: __expectString,
|
|
1224
|
-
Schema: __LazyJsonString.from,
|
|
1225
|
-
ServerSideKmsKeyId: __expectString,
|
|
1226
|
-
SourceDatasetArn: __expectString,
|
|
1227
|
-
Status: __expectString,
|
|
1228
|
-
});
|
|
1229
|
-
};
|
|
1230
|
-
const de_DescribeInferenceSchedulerResponse = (output, context) => {
|
|
1231
|
-
return take(output, {
|
|
1232
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1233
|
-
DataDelayOffsetInMinutes: __expectLong,
|
|
1234
|
-
DataInputConfiguration: _json,
|
|
1235
|
-
DataOutputConfiguration: _json,
|
|
1236
|
-
DataUploadFrequency: __expectString,
|
|
1237
|
-
InferenceSchedulerArn: __expectString,
|
|
1238
|
-
InferenceSchedulerName: __expectString,
|
|
1239
|
-
LatestInferenceResult: __expectString,
|
|
1240
|
-
ModelArn: __expectString,
|
|
1241
|
-
ModelName: __expectString,
|
|
1242
|
-
RoleArn: __expectString,
|
|
1243
|
-
ServerSideKmsKeyId: __expectString,
|
|
1244
|
-
Status: __expectString,
|
|
1245
|
-
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1246
|
-
});
|
|
1247
|
-
};
|
|
1248
|
-
const de_DescribeLabelGroupResponse = (output, context) => {
|
|
1249
|
-
return take(output, {
|
|
1250
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1251
|
-
FaultCodes: _json,
|
|
1252
|
-
LabelGroupArn: __expectString,
|
|
1253
|
-
LabelGroupName: __expectString,
|
|
1254
|
-
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1255
|
-
});
|
|
1256
|
-
};
|
|
1257
|
-
const de_DescribeLabelResponse = (output, context) => {
|
|
1258
|
-
return take(output, {
|
|
1259
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1260
|
-
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1261
|
-
Equipment: __expectString,
|
|
1262
|
-
FaultCode: __expectString,
|
|
1263
|
-
LabelGroupArn: __expectString,
|
|
1264
|
-
LabelGroupName: __expectString,
|
|
1265
|
-
LabelId: __expectString,
|
|
1266
|
-
Notes: __expectString,
|
|
1267
|
-
Rating: __expectString,
|
|
1268
|
-
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1269
|
-
});
|
|
1270
|
-
};
|
|
1271
|
-
const de_DescribeModelResponse = (output, context) => {
|
|
1272
|
-
return take(output, {
|
|
1273
|
-
AccumulatedInferenceDataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1274
|
-
AccumulatedInferenceDataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1275
|
-
ActiveModelVersion: __expectLong,
|
|
1276
|
-
ActiveModelVersionArn: __expectString,
|
|
1277
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1278
|
-
DataPreProcessingConfiguration: _json,
|
|
1279
|
-
DatasetArn: __expectString,
|
|
1280
|
-
DatasetName: __expectString,
|
|
1281
|
-
EvaluationDataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1282
|
-
EvaluationDataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1283
|
-
FailedReason: __expectString,
|
|
1284
|
-
ImportJobEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1285
|
-
ImportJobStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1286
|
-
LabelsInputConfiguration: _json,
|
|
1287
|
-
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1288
|
-
LatestScheduledRetrainingAvailableDataInDays: __expectInt32,
|
|
1289
|
-
LatestScheduledRetrainingFailedReason: __expectString,
|
|
1290
|
-
LatestScheduledRetrainingModelVersion: __expectLong,
|
|
1291
|
-
LatestScheduledRetrainingStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1292
|
-
LatestScheduledRetrainingStatus: __expectString,
|
|
1293
|
-
ModelArn: __expectString,
|
|
1294
|
-
ModelDiagnosticsOutputConfiguration: _json,
|
|
1295
|
-
ModelMetrics: __LazyJsonString.from,
|
|
1296
|
-
ModelName: __expectString,
|
|
1297
|
-
ModelQuality: __expectString,
|
|
1298
|
-
ModelVersionActivatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1299
|
-
NextScheduledRetrainingStartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1300
|
-
OffCondition: __expectString,
|
|
1301
|
-
PreviousActiveModelVersion: __expectLong,
|
|
1302
|
-
PreviousActiveModelVersionArn: __expectString,
|
|
1303
|
-
PreviousModelVersionActivatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1304
|
-
PriorModelMetrics: __LazyJsonString.from,
|
|
1305
|
-
RetrainingSchedulerStatus: __expectString,
|
|
1306
|
-
RoleArn: __expectString,
|
|
1307
|
-
Schema: __LazyJsonString.from,
|
|
1308
|
-
ServerSideKmsKeyId: __expectString,
|
|
1309
|
-
SourceModelVersionArn: __expectString,
|
|
1310
|
-
Status: __expectString,
|
|
1311
|
-
TrainingDataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1312
|
-
TrainingDataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1313
|
-
TrainingExecutionEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1314
|
-
TrainingExecutionStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1315
|
-
});
|
|
1316
|
-
};
|
|
1317
|
-
const de_DescribeModelVersionResponse = (output, context) => {
|
|
1318
|
-
return take(output, {
|
|
1319
|
-
AutoPromotionResult: __expectString,
|
|
1320
|
-
AutoPromotionResultReason: __expectString,
|
|
1321
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1322
|
-
DataPreProcessingConfiguration: _json,
|
|
1323
|
-
DatasetArn: __expectString,
|
|
1324
|
-
DatasetName: __expectString,
|
|
1325
|
-
EvaluationDataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1326
|
-
EvaluationDataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1327
|
-
FailedReason: __expectString,
|
|
1328
|
-
ImportJobEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1329
|
-
ImportJobStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1330
|
-
ImportedDataSizeInBytes: __expectLong,
|
|
1331
|
-
LabelsInputConfiguration: _json,
|
|
1332
|
-
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1333
|
-
ModelArn: __expectString,
|
|
1334
|
-
ModelDiagnosticsOutputConfiguration: _json,
|
|
1335
|
-
ModelDiagnosticsResultsObject: _json,
|
|
1336
|
-
ModelMetrics: __expectString,
|
|
1337
|
-
ModelName: __expectString,
|
|
1338
|
-
ModelQuality: __expectString,
|
|
1339
|
-
ModelVersion: __expectLong,
|
|
1340
|
-
ModelVersionArn: __expectString,
|
|
1341
|
-
OffCondition: __expectString,
|
|
1342
|
-
PriorModelMetrics: __expectString,
|
|
1343
|
-
RetrainingAvailableDataInDays: __expectInt32,
|
|
1344
|
-
RoleArn: __expectString,
|
|
1345
|
-
Schema: __expectString,
|
|
1346
|
-
ServerSideKmsKeyId: __expectString,
|
|
1347
|
-
SourceModelVersionArn: __expectString,
|
|
1348
|
-
SourceType: __expectString,
|
|
1349
|
-
Status: __expectString,
|
|
1350
|
-
TrainingDataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1351
|
-
TrainingDataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1352
|
-
TrainingExecutionEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1353
|
-
TrainingExecutionStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1354
|
-
});
|
|
1355
|
-
};
|
|
1356
|
-
const de_DescribeResourcePolicyResponse = (output, context) => {
|
|
1357
|
-
return take(output, {
|
|
1358
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1359
|
-
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1360
|
-
PolicyRevisionId: __expectString,
|
|
1361
|
-
ResourcePolicy: __expectString,
|
|
1362
|
-
});
|
|
1363
|
-
};
|
|
1364
|
-
const de_DescribeRetrainingSchedulerResponse = (output, context) => {
|
|
1365
|
-
return take(output, {
|
|
1366
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1367
|
-
LookbackWindow: __expectString,
|
|
1368
|
-
ModelArn: __expectString,
|
|
1369
|
-
ModelName: __expectString,
|
|
1370
|
-
PromoteMode: __expectString,
|
|
1371
|
-
RetrainingFrequency: __expectString,
|
|
1372
|
-
RetrainingStartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1373
|
-
Status: __expectString,
|
|
1374
|
-
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1375
|
-
});
|
|
1376
|
-
};
|
|
1377
|
-
const de_InferenceEventSummaries = (output, context) => {
|
|
1378
|
-
const retVal = (output || [])
|
|
1379
|
-
.filter((e) => e != null)
|
|
1380
|
-
.map((entry) => {
|
|
1381
|
-
return de_InferenceEventSummary(entry, context);
|
|
1382
|
-
});
|
|
1383
|
-
return retVal;
|
|
1384
|
-
};
|
|
1385
|
-
const de_InferenceEventSummary = (output, context) => {
|
|
1386
|
-
return take(output, {
|
|
1387
|
-
Diagnostics: __expectString,
|
|
1388
|
-
EventDurationInSeconds: __expectLong,
|
|
1389
|
-
EventEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1390
|
-
EventStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1391
|
-
InferenceSchedulerArn: __expectString,
|
|
1392
|
-
InferenceSchedulerName: __expectString,
|
|
1393
|
-
});
|
|
1394
|
-
};
|
|
1395
|
-
const de_InferenceExecutionSummaries = (output, context) => {
|
|
1396
|
-
const retVal = (output || [])
|
|
1397
|
-
.filter((e) => e != null)
|
|
1398
|
-
.map((entry) => {
|
|
1399
|
-
return de_InferenceExecutionSummary(entry, context);
|
|
1400
|
-
});
|
|
1401
|
-
return retVal;
|
|
1402
|
-
};
|
|
1403
|
-
const de_InferenceExecutionSummary = (output, context) => {
|
|
1404
|
-
return take(output, {
|
|
1405
|
-
CustomerResultObject: _json,
|
|
1406
|
-
DataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1407
|
-
DataInputConfiguration: _json,
|
|
1408
|
-
DataOutputConfiguration: _json,
|
|
1409
|
-
DataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1410
|
-
FailedReason: __expectString,
|
|
1411
|
-
InferenceSchedulerArn: __expectString,
|
|
1412
|
-
InferenceSchedulerName: __expectString,
|
|
1413
|
-
ModelArn: __expectString,
|
|
1414
|
-
ModelName: __expectString,
|
|
1415
|
-
ModelVersion: __expectLong,
|
|
1416
|
-
ModelVersionArn: __expectString,
|
|
1417
|
-
ScheduledStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1418
|
-
Status: __expectString,
|
|
1419
|
-
});
|
|
1420
|
-
};
|
|
1421
|
-
const de_LabelGroupSummaries = (output, context) => {
|
|
1422
|
-
const retVal = (output || [])
|
|
1423
|
-
.filter((e) => e != null)
|
|
1424
|
-
.map((entry) => {
|
|
1425
|
-
return de_LabelGroupSummary(entry, context);
|
|
1426
|
-
});
|
|
1427
|
-
return retVal;
|
|
1428
|
-
};
|
|
1429
|
-
const de_LabelGroupSummary = (output, context) => {
|
|
1430
|
-
return take(output, {
|
|
1431
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1432
|
-
LabelGroupArn: __expectString,
|
|
1433
|
-
LabelGroupName: __expectString,
|
|
1434
|
-
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1435
|
-
});
|
|
1436
|
-
};
|
|
1437
|
-
const de_LabelSummaries = (output, context) => {
|
|
1438
|
-
const retVal = (output || [])
|
|
1439
|
-
.filter((e) => e != null)
|
|
1440
|
-
.map((entry) => {
|
|
1441
|
-
return de_LabelSummary(entry, context);
|
|
1442
|
-
});
|
|
1443
|
-
return retVal;
|
|
1444
|
-
};
|
|
1445
|
-
const de_LabelSummary = (output, context) => {
|
|
1446
|
-
return take(output, {
|
|
1447
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1448
|
-
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1449
|
-
Equipment: __expectString,
|
|
1450
|
-
FaultCode: __expectString,
|
|
1451
|
-
LabelGroupArn: __expectString,
|
|
1452
|
-
LabelGroupName: __expectString,
|
|
1453
|
-
LabelId: __expectString,
|
|
1454
|
-
Rating: __expectString,
|
|
1455
|
-
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1456
|
-
});
|
|
1457
|
-
};
|
|
1458
|
-
const de_ListDatasetsResponse = (output, context) => {
|
|
1459
|
-
return take(output, {
|
|
1460
|
-
DatasetSummaries: (_) => de_DatasetSummaries(_, context),
|
|
1461
|
-
NextToken: __expectString,
|
|
1462
|
-
});
|
|
1463
|
-
};
|
|
1464
|
-
const de_ListInferenceEventsResponse = (output, context) => {
|
|
1465
|
-
return take(output, {
|
|
1466
|
-
InferenceEventSummaries: (_) => de_InferenceEventSummaries(_, context),
|
|
1467
|
-
NextToken: __expectString,
|
|
1468
|
-
});
|
|
1469
|
-
};
|
|
1470
|
-
const de_ListInferenceExecutionsResponse = (output, context) => {
|
|
1471
|
-
return take(output, {
|
|
1472
|
-
InferenceExecutionSummaries: (_) => de_InferenceExecutionSummaries(_, context),
|
|
1473
|
-
NextToken: __expectString,
|
|
1474
|
-
});
|
|
1475
|
-
};
|
|
1476
|
-
const de_ListLabelGroupsResponse = (output, context) => {
|
|
1477
|
-
return take(output, {
|
|
1478
|
-
LabelGroupSummaries: (_) => de_LabelGroupSummaries(_, context),
|
|
1479
|
-
NextToken: __expectString,
|
|
1480
|
-
});
|
|
1481
|
-
};
|
|
1482
|
-
const de_ListLabelsResponse = (output, context) => {
|
|
1483
|
-
return take(output, {
|
|
1484
|
-
LabelSummaries: (_) => de_LabelSummaries(_, context),
|
|
1485
|
-
NextToken: __expectString,
|
|
1486
|
-
});
|
|
1487
|
-
};
|
|
1488
|
-
const de_ListModelsResponse = (output, context) => {
|
|
1489
|
-
return take(output, {
|
|
1490
|
-
ModelSummaries: (_) => de_ModelSummaries(_, context),
|
|
1491
|
-
NextToken: __expectString,
|
|
1492
|
-
});
|
|
1493
|
-
};
|
|
1494
|
-
const de_ListModelVersionsResponse = (output, context) => {
|
|
1495
|
-
return take(output, {
|
|
1496
|
-
ModelVersionSummaries: (_) => de_ModelVersionSummaries(_, context),
|
|
1497
|
-
NextToken: __expectString,
|
|
1498
|
-
});
|
|
1499
|
-
};
|
|
1500
|
-
const de_ListRetrainingSchedulersResponse = (output, context) => {
|
|
1501
|
-
return take(output, {
|
|
1502
|
-
NextToken: __expectString,
|
|
1503
|
-
RetrainingSchedulerSummaries: (_) => de_RetrainingSchedulerSummaries(_, context),
|
|
1504
|
-
});
|
|
1505
|
-
};
|
|
1506
|
-
const de_ListSensorStatisticsResponse = (output, context) => {
|
|
1507
|
-
return take(output, {
|
|
1508
|
-
NextToken: __expectString,
|
|
1509
|
-
SensorStatisticsSummaries: (_) => de_SensorStatisticsSummaries(_, context),
|
|
1510
|
-
});
|
|
1511
|
-
};
|
|
1512
|
-
const de_ModelSummaries = (output, context) => {
|
|
1513
|
-
const retVal = (output || [])
|
|
1514
|
-
.filter((e) => e != null)
|
|
1515
|
-
.map((entry) => {
|
|
1516
|
-
return de_ModelSummary(entry, context);
|
|
1517
|
-
});
|
|
1518
|
-
return retVal;
|
|
1519
|
-
};
|
|
1520
|
-
const de_ModelSummary = (output, context) => {
|
|
1521
|
-
return take(output, {
|
|
1522
|
-
ActiveModelVersion: __expectLong,
|
|
1523
|
-
ActiveModelVersionArn: __expectString,
|
|
1524
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1525
|
-
DatasetArn: __expectString,
|
|
1526
|
-
DatasetName: __expectString,
|
|
1527
|
-
LatestScheduledRetrainingModelVersion: __expectLong,
|
|
1528
|
-
LatestScheduledRetrainingStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1529
|
-
LatestScheduledRetrainingStatus: __expectString,
|
|
1530
|
-
ModelArn: __expectString,
|
|
1531
|
-
ModelDiagnosticsOutputConfiguration: _json,
|
|
1532
|
-
ModelName: __expectString,
|
|
1533
|
-
ModelQuality: __expectString,
|
|
1534
|
-
NextScheduledRetrainingStartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1535
|
-
RetrainingSchedulerStatus: __expectString,
|
|
1536
|
-
Status: __expectString,
|
|
1537
|
-
});
|
|
1538
|
-
};
|
|
1539
|
-
const de_ModelVersionSummaries = (output, context) => {
|
|
1540
|
-
const retVal = (output || [])
|
|
1541
|
-
.filter((e) => e != null)
|
|
1542
|
-
.map((entry) => {
|
|
1543
|
-
return de_ModelVersionSummary(entry, context);
|
|
1544
|
-
});
|
|
1545
|
-
return retVal;
|
|
1546
|
-
};
|
|
1547
|
-
const de_ModelVersionSummary = (output, context) => {
|
|
1548
|
-
return take(output, {
|
|
1549
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1550
|
-
ModelArn: __expectString,
|
|
1551
|
-
ModelName: __expectString,
|
|
1552
|
-
ModelQuality: __expectString,
|
|
1553
|
-
ModelVersion: __expectLong,
|
|
1554
|
-
ModelVersionArn: __expectString,
|
|
1555
|
-
SourceType: __expectString,
|
|
1556
|
-
Status: __expectString,
|
|
1557
|
-
});
|
|
1558
|
-
};
|
|
1559
|
-
const de_RetrainingSchedulerSummaries = (output, context) => {
|
|
1560
|
-
const retVal = (output || [])
|
|
1561
|
-
.filter((e) => e != null)
|
|
1562
|
-
.map((entry) => {
|
|
1563
|
-
return de_RetrainingSchedulerSummary(entry, context);
|
|
1564
|
-
});
|
|
1565
|
-
return retVal;
|
|
1566
|
-
};
|
|
1567
|
-
const de_RetrainingSchedulerSummary = (output, context) => {
|
|
1568
|
-
return take(output, {
|
|
1569
|
-
LookbackWindow: __expectString,
|
|
1570
|
-
ModelArn: __expectString,
|
|
1571
|
-
ModelName: __expectString,
|
|
1572
|
-
RetrainingFrequency: __expectString,
|
|
1573
|
-
RetrainingStartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1574
|
-
Status: __expectString,
|
|
1575
|
-
});
|
|
1576
|
-
};
|
|
1577
|
-
const de_SensorStatisticsSummaries = (output, context) => {
|
|
1578
|
-
const retVal = (output || [])
|
|
1579
|
-
.filter((e) => e != null)
|
|
1580
|
-
.map((entry) => {
|
|
1581
|
-
return de_SensorStatisticsSummary(entry, context);
|
|
1582
|
-
});
|
|
1583
|
-
return retVal;
|
|
1584
|
-
};
|
|
1585
|
-
const de_SensorStatisticsSummary = (output, context) => {
|
|
1586
|
-
return take(output, {
|
|
1587
|
-
CategoricalValues: _json,
|
|
1588
|
-
ComponentName: __expectString,
|
|
1589
|
-
DataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1590
|
-
DataExists: __expectBoolean,
|
|
1591
|
-
DataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1592
|
-
DuplicateTimestamps: (_) => de_CountPercent(_, context),
|
|
1593
|
-
InvalidDateEntries: (_) => de_CountPercent(_, context),
|
|
1594
|
-
InvalidValues: (_) => de_CountPercent(_, context),
|
|
1595
|
-
LargeTimestampGaps: _json,
|
|
1596
|
-
MissingValues: (_) => de_CountPercent(_, context),
|
|
1597
|
-
MonotonicValues: _json,
|
|
1598
|
-
MultipleOperatingModes: _json,
|
|
1599
|
-
SensorName: __expectString,
|
|
1600
|
-
});
|
|
1601
|
-
};
|
|
1602
|
-
const deserializeMetadata = (output) => ({
|
|
1603
|
-
httpStatusCode: output.statusCode,
|
|
1604
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1605
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1606
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1607
|
-
});
|
|
1608
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1609
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1610
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1611
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1612
|
-
const contents = {
|
|
1613
|
-
protocol,
|
|
1614
|
-
hostname,
|
|
1615
|
-
port,
|
|
1616
|
-
method: "POST",
|
|
1617
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1618
|
-
headers,
|
|
1619
|
-
};
|
|
1620
|
-
if (resolvedHostname !== undefined) {
|
|
1621
|
-
contents.hostname = resolvedHostname;
|
|
1622
|
-
}
|
|
1623
|
-
if (body !== undefined) {
|
|
1624
|
-
contents.body = body;
|
|
1625
|
-
}
|
|
1626
|
-
return new __HttpRequest(contents);
|
|
1627
|
-
};
|
|
1628
|
-
function sharedHeaders(operation) {
|
|
1629
|
-
return {
|
|
1630
|
-
"content-type": "application/x-amz-json-1.0",
|
|
1631
|
-
"x-amz-target": `AWSLookoutEquipmentFrontendService.${operation}`,
|
|
1632
|
-
};
|
|
1633
|
-
}
|