@aws-sdk/client-iotfleetwise 3.312.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/IoTFleetWise.js +54 -700
- package/dist-cjs/protocols/Aws_json1_0.js +555 -1800
- package/dist-es/IoTFleetWise.js +54 -700
- package/dist-es/protocols/Aws_json1_0.js +557 -1802
- package/dist-types/IoTFleetWise.d.ts +63 -256
- package/dist-types/ts3.4/IoTFleetWise.d.ts +4 -1
- package/package.json +6 -6
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { IoTFleetWiseServiceException as __BaseException } from "../models/IoTFleetWiseServiceException";
|
|
4
|
-
import { AccessDeniedException,
|
|
4
|
+
import { AccessDeniedException, ConflictException, DecoderManifestValidationException, InternalServerException, InvalidNodeException, InvalidSignalsException, LimitExceededException, NetworkFileDefinition, Node, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const se_AssociateVehicleFleetCommand = async (input, context) => {
|
|
6
6
|
const headers = sharedHeaders("AssociateVehicleFleet");
|
|
7
7
|
let body;
|
|
8
|
-
body = JSON.stringify(
|
|
8
|
+
body = JSON.stringify(_json(input));
|
|
9
9
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
10
10
|
};
|
|
11
11
|
export const se_BatchCreateVehicleCommand = async (input, context) => {
|
|
12
12
|
const headers = sharedHeaders("BatchCreateVehicle");
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(_json(input));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
17
|
export const se_BatchUpdateVehicleCommand = async (input, context) => {
|
|
18
18
|
const headers = sharedHeaders("BatchUpdateVehicle");
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(_json(input));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
23
|
export const se_CreateCampaignCommand = async (input, context) => {
|
|
@@ -35,13 +35,13 @@ export const se_CreateDecoderManifestCommand = async (input, context) => {
|
|
|
35
35
|
export const se_CreateFleetCommand = async (input, context) => {
|
|
36
36
|
const headers = sharedHeaders("CreateFleet");
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(_json(input));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
41
|
export const se_CreateModelManifestCommand = async (input, context) => {
|
|
42
42
|
const headers = sharedHeaders("CreateModelManifest");
|
|
43
43
|
let body;
|
|
44
|
-
body = JSON.stringify(
|
|
44
|
+
body = JSON.stringify(_json(input));
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
47
|
export const se_CreateSignalCatalogCommand = async (input, context) => {
|
|
@@ -53,103 +53,103 @@ export const se_CreateSignalCatalogCommand = async (input, context) => {
|
|
|
53
53
|
export const se_CreateVehicleCommand = async (input, context) => {
|
|
54
54
|
const headers = sharedHeaders("CreateVehicle");
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(_json(input));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
59
|
export const se_DeleteCampaignCommand = async (input, context) => {
|
|
60
60
|
const headers = sharedHeaders("DeleteCampaign");
|
|
61
61
|
let body;
|
|
62
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify(_json(input));
|
|
63
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
64
64
|
};
|
|
65
65
|
export const se_DeleteDecoderManifestCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("DeleteDecoderManifest");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify(_json(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
export const se_DeleteFleetCommand = async (input, context) => {
|
|
72
72
|
const headers = sharedHeaders("DeleteFleet");
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(_json(input));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
77
|
export const se_DeleteModelManifestCommand = async (input, context) => {
|
|
78
78
|
const headers = sharedHeaders("DeleteModelManifest");
|
|
79
79
|
let body;
|
|
80
|
-
body = JSON.stringify(
|
|
80
|
+
body = JSON.stringify(_json(input));
|
|
81
81
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
82
82
|
};
|
|
83
83
|
export const se_DeleteSignalCatalogCommand = async (input, context) => {
|
|
84
84
|
const headers = sharedHeaders("DeleteSignalCatalog");
|
|
85
85
|
let body;
|
|
86
|
-
body = JSON.stringify(
|
|
86
|
+
body = JSON.stringify(_json(input));
|
|
87
87
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
88
|
};
|
|
89
89
|
export const se_DeleteVehicleCommand = async (input, context) => {
|
|
90
90
|
const headers = sharedHeaders("DeleteVehicle");
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(_json(input));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
95
|
export const se_DisassociateVehicleFleetCommand = async (input, context) => {
|
|
96
96
|
const headers = sharedHeaders("DisassociateVehicleFleet");
|
|
97
97
|
let body;
|
|
98
|
-
body = JSON.stringify(
|
|
98
|
+
body = JSON.stringify(_json(input));
|
|
99
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
100
|
};
|
|
101
101
|
export const se_GetCampaignCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("GetCampaign");
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify(_json(input));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
107
|
export const se_GetDecoderManifestCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("GetDecoderManifest");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(_json(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
export const se_GetFleetCommand = async (input, context) => {
|
|
114
114
|
const headers = sharedHeaders("GetFleet");
|
|
115
115
|
let body;
|
|
116
|
-
body = JSON.stringify(
|
|
116
|
+
body = JSON.stringify(_json(input));
|
|
117
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
118
|
};
|
|
119
119
|
export const se_GetLoggingOptionsCommand = async (input, context) => {
|
|
120
120
|
const headers = sharedHeaders("GetLoggingOptions");
|
|
121
121
|
let body;
|
|
122
|
-
body = JSON.stringify(
|
|
122
|
+
body = JSON.stringify(_json(input));
|
|
123
123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
124
124
|
};
|
|
125
125
|
export const se_GetModelManifestCommand = async (input, context) => {
|
|
126
126
|
const headers = sharedHeaders("GetModelManifest");
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(_json(input));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
131
|
export const se_GetRegisterAccountStatusCommand = async (input, context) => {
|
|
132
132
|
const headers = sharedHeaders("GetRegisterAccountStatus");
|
|
133
133
|
let body;
|
|
134
|
-
body = JSON.stringify(
|
|
134
|
+
body = JSON.stringify(_json(input));
|
|
135
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
136
136
|
};
|
|
137
137
|
export const se_GetSignalCatalogCommand = async (input, context) => {
|
|
138
138
|
const headers = sharedHeaders("GetSignalCatalog");
|
|
139
139
|
let body;
|
|
140
|
-
body = JSON.stringify(
|
|
140
|
+
body = JSON.stringify(_json(input));
|
|
141
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
142
|
};
|
|
143
143
|
export const se_GetVehicleCommand = async (input, context) => {
|
|
144
144
|
const headers = sharedHeaders("GetVehicle");
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(_json(input));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
149
|
export const se_GetVehicleStatusCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("GetVehicleStatus");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify(_json(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
export const se_ImportDecoderManifestCommand = async (input, context) => {
|
|
@@ -161,115 +161,115 @@ export const se_ImportDecoderManifestCommand = async (input, context) => {
|
|
|
161
161
|
export const se_ImportSignalCatalogCommand = async (input, context) => {
|
|
162
162
|
const headers = sharedHeaders("ImportSignalCatalog");
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(_json(input));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
167
|
export const se_ListCampaignsCommand = async (input, context) => {
|
|
168
168
|
const headers = sharedHeaders("ListCampaigns");
|
|
169
169
|
let body;
|
|
170
|
-
body = JSON.stringify(
|
|
170
|
+
body = JSON.stringify(_json(input));
|
|
171
171
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
172
172
|
};
|
|
173
173
|
export const se_ListDecoderManifestNetworkInterfacesCommand = async (input, context) => {
|
|
174
174
|
const headers = sharedHeaders("ListDecoderManifestNetworkInterfaces");
|
|
175
175
|
let body;
|
|
176
|
-
body = JSON.stringify(
|
|
176
|
+
body = JSON.stringify(_json(input));
|
|
177
177
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
178
|
};
|
|
179
179
|
export const se_ListDecoderManifestsCommand = async (input, context) => {
|
|
180
180
|
const headers = sharedHeaders("ListDecoderManifests");
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(_json(input));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
185
|
export const se_ListDecoderManifestSignalsCommand = async (input, context) => {
|
|
186
186
|
const headers = sharedHeaders("ListDecoderManifestSignals");
|
|
187
187
|
let body;
|
|
188
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify(_json(input));
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
191
|
export const se_ListFleetsCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("ListFleets");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify(_json(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
export const se_ListFleetsForVehicleCommand = async (input, context) => {
|
|
198
198
|
const headers = sharedHeaders("ListFleetsForVehicle");
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(_json(input));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
203
|
export const se_ListModelManifestNodesCommand = async (input, context) => {
|
|
204
204
|
const headers = sharedHeaders("ListModelManifestNodes");
|
|
205
205
|
let body;
|
|
206
|
-
body = JSON.stringify(
|
|
206
|
+
body = JSON.stringify(_json(input));
|
|
207
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
208
208
|
};
|
|
209
209
|
export const se_ListModelManifestsCommand = async (input, context) => {
|
|
210
210
|
const headers = sharedHeaders("ListModelManifests");
|
|
211
211
|
let body;
|
|
212
|
-
body = JSON.stringify(
|
|
212
|
+
body = JSON.stringify(_json(input));
|
|
213
213
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
214
214
|
};
|
|
215
215
|
export const se_ListSignalCatalogNodesCommand = async (input, context) => {
|
|
216
216
|
const headers = sharedHeaders("ListSignalCatalogNodes");
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(_json(input));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
221
|
export const se_ListSignalCatalogsCommand = async (input, context) => {
|
|
222
222
|
const headers = sharedHeaders("ListSignalCatalogs");
|
|
223
223
|
let body;
|
|
224
|
-
body = JSON.stringify(
|
|
224
|
+
body = JSON.stringify(_json(input));
|
|
225
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
226
226
|
};
|
|
227
227
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
228
228
|
const headers = sharedHeaders("ListTagsForResource");
|
|
229
229
|
let body;
|
|
230
|
-
body = JSON.stringify(
|
|
230
|
+
body = JSON.stringify(_json(input));
|
|
231
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
232
232
|
};
|
|
233
233
|
export const se_ListVehiclesCommand = async (input, context) => {
|
|
234
234
|
const headers = sharedHeaders("ListVehicles");
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify(_json(input));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
239
|
export const se_ListVehiclesInFleetCommand = async (input, context) => {
|
|
240
240
|
const headers = sharedHeaders("ListVehiclesInFleet");
|
|
241
241
|
let body;
|
|
242
|
-
body = JSON.stringify(
|
|
242
|
+
body = JSON.stringify(_json(input));
|
|
243
243
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
244
244
|
};
|
|
245
245
|
export const se_PutLoggingOptionsCommand = async (input, context) => {
|
|
246
246
|
const headers = sharedHeaders("PutLoggingOptions");
|
|
247
247
|
let body;
|
|
248
|
-
body = JSON.stringify(
|
|
248
|
+
body = JSON.stringify(_json(input));
|
|
249
249
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
250
250
|
};
|
|
251
251
|
export const se_RegisterAccountCommand = async (input, context) => {
|
|
252
252
|
const headers = sharedHeaders("RegisterAccount");
|
|
253
253
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
254
|
+
body = JSON.stringify(_json(input));
|
|
255
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
256
|
};
|
|
257
257
|
export const se_TagResourceCommand = async (input, context) => {
|
|
258
258
|
const headers = sharedHeaders("TagResource");
|
|
259
259
|
let body;
|
|
260
|
-
body = JSON.stringify(
|
|
260
|
+
body = JSON.stringify(_json(input));
|
|
261
261
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
262
262
|
};
|
|
263
263
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
264
264
|
const headers = sharedHeaders("UntagResource");
|
|
265
265
|
let body;
|
|
266
|
-
body = JSON.stringify(
|
|
266
|
+
body = JSON.stringify(_json(input));
|
|
267
267
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
268
|
};
|
|
269
269
|
export const se_UpdateCampaignCommand = async (input, context) => {
|
|
270
270
|
const headers = sharedHeaders("UpdateCampaign");
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify(_json(input));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
275
|
export const se_UpdateDecoderManifestCommand = async (input, context) => {
|
|
@@ -281,13 +281,13 @@ export const se_UpdateDecoderManifestCommand = async (input, context) => {
|
|
|
281
281
|
export const se_UpdateFleetCommand = async (input, context) => {
|
|
282
282
|
const headers = sharedHeaders("UpdateFleet");
|
|
283
283
|
let body;
|
|
284
|
-
body = JSON.stringify(
|
|
284
|
+
body = JSON.stringify(_json(input));
|
|
285
285
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
286
286
|
};
|
|
287
287
|
export const se_UpdateModelManifestCommand = async (input, context) => {
|
|
288
288
|
const headers = sharedHeaders("UpdateModelManifest");
|
|
289
289
|
let body;
|
|
290
|
-
body = JSON.stringify(
|
|
290
|
+
body = JSON.stringify(_json(input));
|
|
291
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
292
|
};
|
|
293
293
|
export const se_UpdateSignalCatalogCommand = async (input, context) => {
|
|
@@ -299,7 +299,7 @@ export const se_UpdateSignalCatalogCommand = async (input, context) => {
|
|
|
299
299
|
export const se_UpdateVehicleCommand = async (input, context) => {
|
|
300
300
|
const headers = sharedHeaders("UpdateVehicle");
|
|
301
301
|
let body;
|
|
302
|
-
body = JSON.stringify(
|
|
302
|
+
body = JSON.stringify(_json(input));
|
|
303
303
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
304
304
|
};
|
|
305
305
|
export const de_AssociateVehicleFleetCommand = async (output, context) => {
|
|
@@ -308,12 +308,12 @@ export const de_AssociateVehicleFleetCommand = async (output, context) => {
|
|
|
308
308
|
}
|
|
309
309
|
const data = await parseBody(output.body, context);
|
|
310
310
|
let contents = {};
|
|
311
|
-
contents =
|
|
311
|
+
contents = _json(data);
|
|
312
312
|
const response = {
|
|
313
313
|
$metadata: deserializeMetadata(output),
|
|
314
314
|
...contents,
|
|
315
315
|
};
|
|
316
|
-
return
|
|
316
|
+
return response;
|
|
317
317
|
};
|
|
318
318
|
const de_AssociateVehicleFleetCommandError = async (output, context) => {
|
|
319
319
|
const parsedOutput = {
|
|
@@ -339,10 +339,9 @@ const de_AssociateVehicleFleetCommandError = async (output, context) => {
|
|
|
339
339
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
340
340
|
default:
|
|
341
341
|
const parsedBody = parsedOutput.body;
|
|
342
|
-
throwDefaultError({
|
|
342
|
+
return throwDefaultError({
|
|
343
343
|
output,
|
|
344
344
|
parsedBody,
|
|
345
|
-
exceptionCtor: __BaseException,
|
|
346
345
|
errorCode,
|
|
347
346
|
});
|
|
348
347
|
}
|
|
@@ -353,12 +352,12 @@ export const de_BatchCreateVehicleCommand = async (output, context) => {
|
|
|
353
352
|
}
|
|
354
353
|
const data = await parseBody(output.body, context);
|
|
355
354
|
let contents = {};
|
|
356
|
-
contents =
|
|
355
|
+
contents = _json(data);
|
|
357
356
|
const response = {
|
|
358
357
|
$metadata: deserializeMetadata(output),
|
|
359
358
|
...contents,
|
|
360
359
|
};
|
|
361
|
-
return
|
|
360
|
+
return response;
|
|
362
361
|
};
|
|
363
362
|
const de_BatchCreateVehicleCommandError = async (output, context) => {
|
|
364
363
|
const parsedOutput = {
|
|
@@ -384,10 +383,9 @@ const de_BatchCreateVehicleCommandError = async (output, context) => {
|
|
|
384
383
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
385
384
|
default:
|
|
386
385
|
const parsedBody = parsedOutput.body;
|
|
387
|
-
throwDefaultError({
|
|
386
|
+
return throwDefaultError({
|
|
388
387
|
output,
|
|
389
388
|
parsedBody,
|
|
390
|
-
exceptionCtor: __BaseException,
|
|
391
389
|
errorCode,
|
|
392
390
|
});
|
|
393
391
|
}
|
|
@@ -398,12 +396,12 @@ export const de_BatchUpdateVehicleCommand = async (output, context) => {
|
|
|
398
396
|
}
|
|
399
397
|
const data = await parseBody(output.body, context);
|
|
400
398
|
let contents = {};
|
|
401
|
-
contents =
|
|
399
|
+
contents = _json(data);
|
|
402
400
|
const response = {
|
|
403
401
|
$metadata: deserializeMetadata(output),
|
|
404
402
|
...contents,
|
|
405
403
|
};
|
|
406
|
-
return
|
|
404
|
+
return response;
|
|
407
405
|
};
|
|
408
406
|
const de_BatchUpdateVehicleCommandError = async (output, context) => {
|
|
409
407
|
const parsedOutput = {
|
|
@@ -426,10 +424,9 @@ const de_BatchUpdateVehicleCommandError = async (output, context) => {
|
|
|
426
424
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
427
425
|
default:
|
|
428
426
|
const parsedBody = parsedOutput.body;
|
|
429
|
-
throwDefaultError({
|
|
427
|
+
return throwDefaultError({
|
|
430
428
|
output,
|
|
431
429
|
parsedBody,
|
|
432
|
-
exceptionCtor: __BaseException,
|
|
433
430
|
errorCode,
|
|
434
431
|
});
|
|
435
432
|
}
|
|
@@ -440,12 +437,12 @@ export const de_CreateCampaignCommand = async (output, context) => {
|
|
|
440
437
|
}
|
|
441
438
|
const data = await parseBody(output.body, context);
|
|
442
439
|
let contents = {};
|
|
443
|
-
contents =
|
|
440
|
+
contents = _json(data);
|
|
444
441
|
const response = {
|
|
445
442
|
$metadata: deserializeMetadata(output),
|
|
446
443
|
...contents,
|
|
447
444
|
};
|
|
448
|
-
return
|
|
445
|
+
return response;
|
|
449
446
|
};
|
|
450
447
|
const de_CreateCampaignCommandError = async (output, context) => {
|
|
451
448
|
const parsedOutput = {
|
|
@@ -477,10 +474,9 @@ const de_CreateCampaignCommandError = async (output, context) => {
|
|
|
477
474
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
478
475
|
default:
|
|
479
476
|
const parsedBody = parsedOutput.body;
|
|
480
|
-
throwDefaultError({
|
|
477
|
+
return throwDefaultError({
|
|
481
478
|
output,
|
|
482
479
|
parsedBody,
|
|
483
|
-
exceptionCtor: __BaseException,
|
|
484
480
|
errorCode,
|
|
485
481
|
});
|
|
486
482
|
}
|
|
@@ -491,12 +487,12 @@ export const de_CreateDecoderManifestCommand = async (output, context) => {
|
|
|
491
487
|
}
|
|
492
488
|
const data = await parseBody(output.body, context);
|
|
493
489
|
let contents = {};
|
|
494
|
-
contents =
|
|
490
|
+
contents = _json(data);
|
|
495
491
|
const response = {
|
|
496
492
|
$metadata: deserializeMetadata(output),
|
|
497
493
|
...contents,
|
|
498
494
|
};
|
|
499
|
-
return
|
|
495
|
+
return response;
|
|
500
496
|
};
|
|
501
497
|
const de_CreateDecoderManifestCommandError = async (output, context) => {
|
|
502
498
|
const parsedOutput = {
|
|
@@ -531,10 +527,9 @@ const de_CreateDecoderManifestCommandError = async (output, context) => {
|
|
|
531
527
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
532
528
|
default:
|
|
533
529
|
const parsedBody = parsedOutput.body;
|
|
534
|
-
throwDefaultError({
|
|
530
|
+
return throwDefaultError({
|
|
535
531
|
output,
|
|
536
532
|
parsedBody,
|
|
537
|
-
exceptionCtor: __BaseException,
|
|
538
533
|
errorCode,
|
|
539
534
|
});
|
|
540
535
|
}
|
|
@@ -545,12 +540,12 @@ export const de_CreateFleetCommand = async (output, context) => {
|
|
|
545
540
|
}
|
|
546
541
|
const data = await parseBody(output.body, context);
|
|
547
542
|
let contents = {};
|
|
548
|
-
contents =
|
|
543
|
+
contents = _json(data);
|
|
549
544
|
const response = {
|
|
550
545
|
$metadata: deserializeMetadata(output),
|
|
551
546
|
...contents,
|
|
552
547
|
};
|
|
553
|
-
return
|
|
548
|
+
return response;
|
|
554
549
|
};
|
|
555
550
|
const de_CreateFleetCommandError = async (output, context) => {
|
|
556
551
|
const parsedOutput = {
|
|
@@ -582,10 +577,9 @@ const de_CreateFleetCommandError = async (output, context) => {
|
|
|
582
577
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
583
578
|
default:
|
|
584
579
|
const parsedBody = parsedOutput.body;
|
|
585
|
-
throwDefaultError({
|
|
580
|
+
return throwDefaultError({
|
|
586
581
|
output,
|
|
587
582
|
parsedBody,
|
|
588
|
-
exceptionCtor: __BaseException,
|
|
589
583
|
errorCode,
|
|
590
584
|
});
|
|
591
585
|
}
|
|
@@ -596,12 +590,12 @@ export const de_CreateModelManifestCommand = async (output, context) => {
|
|
|
596
590
|
}
|
|
597
591
|
const data = await parseBody(output.body, context);
|
|
598
592
|
let contents = {};
|
|
599
|
-
contents =
|
|
593
|
+
contents = _json(data);
|
|
600
594
|
const response = {
|
|
601
595
|
$metadata: deserializeMetadata(output),
|
|
602
596
|
...contents,
|
|
603
597
|
};
|
|
604
|
-
return
|
|
598
|
+
return response;
|
|
605
599
|
};
|
|
606
600
|
const de_CreateModelManifestCommandError = async (output, context) => {
|
|
607
601
|
const parsedOutput = {
|
|
@@ -636,10 +630,9 @@ const de_CreateModelManifestCommandError = async (output, context) => {
|
|
|
636
630
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
637
631
|
default:
|
|
638
632
|
const parsedBody = parsedOutput.body;
|
|
639
|
-
throwDefaultError({
|
|
633
|
+
return throwDefaultError({
|
|
640
634
|
output,
|
|
641
635
|
parsedBody,
|
|
642
|
-
exceptionCtor: __BaseException,
|
|
643
636
|
errorCode,
|
|
644
637
|
});
|
|
645
638
|
}
|
|
@@ -650,12 +643,12 @@ export const de_CreateSignalCatalogCommand = async (output, context) => {
|
|
|
650
643
|
}
|
|
651
644
|
const data = await parseBody(output.body, context);
|
|
652
645
|
let contents = {};
|
|
653
|
-
contents =
|
|
646
|
+
contents = _json(data);
|
|
654
647
|
const response = {
|
|
655
648
|
$metadata: deserializeMetadata(output),
|
|
656
649
|
...contents,
|
|
657
650
|
};
|
|
658
|
-
return
|
|
651
|
+
return response;
|
|
659
652
|
};
|
|
660
653
|
const de_CreateSignalCatalogCommandError = async (output, context) => {
|
|
661
654
|
const parsedOutput = {
|
|
@@ -690,10 +683,9 @@ const de_CreateSignalCatalogCommandError = async (output, context) => {
|
|
|
690
683
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
691
684
|
default:
|
|
692
685
|
const parsedBody = parsedOutput.body;
|
|
693
|
-
throwDefaultError({
|
|
686
|
+
return throwDefaultError({
|
|
694
687
|
output,
|
|
695
688
|
parsedBody,
|
|
696
|
-
exceptionCtor: __BaseException,
|
|
697
689
|
errorCode,
|
|
698
690
|
});
|
|
699
691
|
}
|
|
@@ -704,12 +696,12 @@ export const de_CreateVehicleCommand = async (output, context) => {
|
|
|
704
696
|
}
|
|
705
697
|
const data = await parseBody(output.body, context);
|
|
706
698
|
let contents = {};
|
|
707
|
-
contents =
|
|
699
|
+
contents = _json(data);
|
|
708
700
|
const response = {
|
|
709
701
|
$metadata: deserializeMetadata(output),
|
|
710
702
|
...contents,
|
|
711
703
|
};
|
|
712
|
-
return
|
|
704
|
+
return response;
|
|
713
705
|
};
|
|
714
706
|
const de_CreateVehicleCommandError = async (output, context) => {
|
|
715
707
|
const parsedOutput = {
|
|
@@ -741,10 +733,9 @@ const de_CreateVehicleCommandError = async (output, context) => {
|
|
|
741
733
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
742
734
|
default:
|
|
743
735
|
const parsedBody = parsedOutput.body;
|
|
744
|
-
throwDefaultError({
|
|
736
|
+
return throwDefaultError({
|
|
745
737
|
output,
|
|
746
738
|
parsedBody,
|
|
747
|
-
exceptionCtor: __BaseException,
|
|
748
739
|
errorCode,
|
|
749
740
|
});
|
|
750
741
|
}
|
|
@@ -755,12 +746,12 @@ export const de_DeleteCampaignCommand = async (output, context) => {
|
|
|
755
746
|
}
|
|
756
747
|
const data = await parseBody(output.body, context);
|
|
757
748
|
let contents = {};
|
|
758
|
-
contents =
|
|
749
|
+
contents = _json(data);
|
|
759
750
|
const response = {
|
|
760
751
|
$metadata: deserializeMetadata(output),
|
|
761
752
|
...contents,
|
|
762
753
|
};
|
|
763
|
-
return
|
|
754
|
+
return response;
|
|
764
755
|
};
|
|
765
756
|
const de_DeleteCampaignCommandError = async (output, context) => {
|
|
766
757
|
const parsedOutput = {
|
|
@@ -786,10 +777,9 @@ const de_DeleteCampaignCommandError = async (output, context) => {
|
|
|
786
777
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
787
778
|
default:
|
|
788
779
|
const parsedBody = parsedOutput.body;
|
|
789
|
-
throwDefaultError({
|
|
780
|
+
return throwDefaultError({
|
|
790
781
|
output,
|
|
791
782
|
parsedBody,
|
|
792
|
-
exceptionCtor: __BaseException,
|
|
793
783
|
errorCode,
|
|
794
784
|
});
|
|
795
785
|
}
|
|
@@ -800,12 +790,12 @@ export const de_DeleteDecoderManifestCommand = async (output, context) => {
|
|
|
800
790
|
}
|
|
801
791
|
const data = await parseBody(output.body, context);
|
|
802
792
|
let contents = {};
|
|
803
|
-
contents =
|
|
793
|
+
contents = _json(data);
|
|
804
794
|
const response = {
|
|
805
795
|
$metadata: deserializeMetadata(output),
|
|
806
796
|
...contents,
|
|
807
797
|
};
|
|
808
|
-
return
|
|
798
|
+
return response;
|
|
809
799
|
};
|
|
810
800
|
const de_DeleteDecoderManifestCommandError = async (output, context) => {
|
|
811
801
|
const parsedOutput = {
|
|
@@ -831,10 +821,9 @@ const de_DeleteDecoderManifestCommandError = async (output, context) => {
|
|
|
831
821
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
832
822
|
default:
|
|
833
823
|
const parsedBody = parsedOutput.body;
|
|
834
|
-
throwDefaultError({
|
|
824
|
+
return throwDefaultError({
|
|
835
825
|
output,
|
|
836
826
|
parsedBody,
|
|
837
|
-
exceptionCtor: __BaseException,
|
|
838
827
|
errorCode,
|
|
839
828
|
});
|
|
840
829
|
}
|
|
@@ -845,12 +834,12 @@ export const de_DeleteFleetCommand = async (output, context) => {
|
|
|
845
834
|
}
|
|
846
835
|
const data = await parseBody(output.body, context);
|
|
847
836
|
let contents = {};
|
|
848
|
-
contents =
|
|
837
|
+
contents = _json(data);
|
|
849
838
|
const response = {
|
|
850
839
|
$metadata: deserializeMetadata(output),
|
|
851
840
|
...contents,
|
|
852
841
|
};
|
|
853
|
-
return
|
|
842
|
+
return response;
|
|
854
843
|
};
|
|
855
844
|
const de_DeleteFleetCommandError = async (output, context) => {
|
|
856
845
|
const parsedOutput = {
|
|
@@ -873,10 +862,9 @@ const de_DeleteFleetCommandError = async (output, context) => {
|
|
|
873
862
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
874
863
|
default:
|
|
875
864
|
const parsedBody = parsedOutput.body;
|
|
876
|
-
throwDefaultError({
|
|
865
|
+
return throwDefaultError({
|
|
877
866
|
output,
|
|
878
867
|
parsedBody,
|
|
879
|
-
exceptionCtor: __BaseException,
|
|
880
868
|
errorCode,
|
|
881
869
|
});
|
|
882
870
|
}
|
|
@@ -887,12 +875,12 @@ export const de_DeleteModelManifestCommand = async (output, context) => {
|
|
|
887
875
|
}
|
|
888
876
|
const data = await parseBody(output.body, context);
|
|
889
877
|
let contents = {};
|
|
890
|
-
contents =
|
|
878
|
+
contents = _json(data);
|
|
891
879
|
const response = {
|
|
892
880
|
$metadata: deserializeMetadata(output),
|
|
893
881
|
...contents,
|
|
894
882
|
};
|
|
895
|
-
return
|
|
883
|
+
return response;
|
|
896
884
|
};
|
|
897
885
|
const de_DeleteModelManifestCommandError = async (output, context) => {
|
|
898
886
|
const parsedOutput = {
|
|
@@ -918,10 +906,9 @@ const de_DeleteModelManifestCommandError = async (output, context) => {
|
|
|
918
906
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
919
907
|
default:
|
|
920
908
|
const parsedBody = parsedOutput.body;
|
|
921
|
-
throwDefaultError({
|
|
909
|
+
return throwDefaultError({
|
|
922
910
|
output,
|
|
923
911
|
parsedBody,
|
|
924
|
-
exceptionCtor: __BaseException,
|
|
925
912
|
errorCode,
|
|
926
913
|
});
|
|
927
914
|
}
|
|
@@ -932,12 +919,12 @@ export const de_DeleteSignalCatalogCommand = async (output, context) => {
|
|
|
932
919
|
}
|
|
933
920
|
const data = await parseBody(output.body, context);
|
|
934
921
|
let contents = {};
|
|
935
|
-
contents =
|
|
922
|
+
contents = _json(data);
|
|
936
923
|
const response = {
|
|
937
924
|
$metadata: deserializeMetadata(output),
|
|
938
925
|
...contents,
|
|
939
926
|
};
|
|
940
|
-
return
|
|
927
|
+
return response;
|
|
941
928
|
};
|
|
942
929
|
const de_DeleteSignalCatalogCommandError = async (output, context) => {
|
|
943
930
|
const parsedOutput = {
|
|
@@ -963,10 +950,9 @@ const de_DeleteSignalCatalogCommandError = async (output, context) => {
|
|
|
963
950
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
964
951
|
default:
|
|
965
952
|
const parsedBody = parsedOutput.body;
|
|
966
|
-
throwDefaultError({
|
|
953
|
+
return throwDefaultError({
|
|
967
954
|
output,
|
|
968
955
|
parsedBody,
|
|
969
|
-
exceptionCtor: __BaseException,
|
|
970
956
|
errorCode,
|
|
971
957
|
});
|
|
972
958
|
}
|
|
@@ -977,12 +963,12 @@ export const de_DeleteVehicleCommand = async (output, context) => {
|
|
|
977
963
|
}
|
|
978
964
|
const data = await parseBody(output.body, context);
|
|
979
965
|
let contents = {};
|
|
980
|
-
contents =
|
|
966
|
+
contents = _json(data);
|
|
981
967
|
const response = {
|
|
982
968
|
$metadata: deserializeMetadata(output),
|
|
983
969
|
...contents,
|
|
984
970
|
};
|
|
985
|
-
return
|
|
971
|
+
return response;
|
|
986
972
|
};
|
|
987
973
|
const de_DeleteVehicleCommandError = async (output, context) => {
|
|
988
974
|
const parsedOutput = {
|
|
@@ -1005,10 +991,9 @@ const de_DeleteVehicleCommandError = async (output, context) => {
|
|
|
1005
991
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1006
992
|
default:
|
|
1007
993
|
const parsedBody = parsedOutput.body;
|
|
1008
|
-
throwDefaultError({
|
|
994
|
+
return throwDefaultError({
|
|
1009
995
|
output,
|
|
1010
996
|
parsedBody,
|
|
1011
|
-
exceptionCtor: __BaseException,
|
|
1012
997
|
errorCode,
|
|
1013
998
|
});
|
|
1014
999
|
}
|
|
@@ -1019,12 +1004,12 @@ export const de_DisassociateVehicleFleetCommand = async (output, context) => {
|
|
|
1019
1004
|
}
|
|
1020
1005
|
const data = await parseBody(output.body, context);
|
|
1021
1006
|
let contents = {};
|
|
1022
|
-
contents =
|
|
1007
|
+
contents = _json(data);
|
|
1023
1008
|
const response = {
|
|
1024
1009
|
$metadata: deserializeMetadata(output),
|
|
1025
1010
|
...contents,
|
|
1026
1011
|
};
|
|
1027
|
-
return
|
|
1012
|
+
return response;
|
|
1028
1013
|
};
|
|
1029
1014
|
const de_DisassociateVehicleFleetCommandError = async (output, context) => {
|
|
1030
1015
|
const parsedOutput = {
|
|
@@ -1050,10 +1035,9 @@ const de_DisassociateVehicleFleetCommandError = async (output, context) => {
|
|
|
1050
1035
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1051
1036
|
default:
|
|
1052
1037
|
const parsedBody = parsedOutput.body;
|
|
1053
|
-
throwDefaultError({
|
|
1038
|
+
return throwDefaultError({
|
|
1054
1039
|
output,
|
|
1055
1040
|
parsedBody,
|
|
1056
|
-
exceptionCtor: __BaseException,
|
|
1057
1041
|
errorCode,
|
|
1058
1042
|
});
|
|
1059
1043
|
}
|
|
@@ -1069,7 +1053,7 @@ export const de_GetCampaignCommand = async (output, context) => {
|
|
|
1069
1053
|
$metadata: deserializeMetadata(output),
|
|
1070
1054
|
...contents,
|
|
1071
1055
|
};
|
|
1072
|
-
return
|
|
1056
|
+
return response;
|
|
1073
1057
|
};
|
|
1074
1058
|
const de_GetCampaignCommandError = async (output, context) => {
|
|
1075
1059
|
const parsedOutput = {
|
|
@@ -1095,10 +1079,9 @@ const de_GetCampaignCommandError = async (output, context) => {
|
|
|
1095
1079
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1096
1080
|
default:
|
|
1097
1081
|
const parsedBody = parsedOutput.body;
|
|
1098
|
-
throwDefaultError({
|
|
1082
|
+
return throwDefaultError({
|
|
1099
1083
|
output,
|
|
1100
1084
|
parsedBody,
|
|
1101
|
-
exceptionCtor: __BaseException,
|
|
1102
1085
|
errorCode,
|
|
1103
1086
|
});
|
|
1104
1087
|
}
|
|
@@ -1114,7 +1097,7 @@ export const de_GetDecoderManifestCommand = async (output, context) => {
|
|
|
1114
1097
|
$metadata: deserializeMetadata(output),
|
|
1115
1098
|
...contents,
|
|
1116
1099
|
};
|
|
1117
|
-
return
|
|
1100
|
+
return response;
|
|
1118
1101
|
};
|
|
1119
1102
|
const de_GetDecoderManifestCommandError = async (output, context) => {
|
|
1120
1103
|
const parsedOutput = {
|
|
@@ -1140,10 +1123,9 @@ const de_GetDecoderManifestCommandError = async (output, context) => {
|
|
|
1140
1123
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1141
1124
|
default:
|
|
1142
1125
|
const parsedBody = parsedOutput.body;
|
|
1143
|
-
throwDefaultError({
|
|
1126
|
+
return throwDefaultError({
|
|
1144
1127
|
output,
|
|
1145
1128
|
parsedBody,
|
|
1146
|
-
exceptionCtor: __BaseException,
|
|
1147
1129
|
errorCode,
|
|
1148
1130
|
});
|
|
1149
1131
|
}
|
|
@@ -1159,7 +1141,7 @@ export const de_GetFleetCommand = async (output, context) => {
|
|
|
1159
1141
|
$metadata: deserializeMetadata(output),
|
|
1160
1142
|
...contents,
|
|
1161
1143
|
};
|
|
1162
|
-
return
|
|
1144
|
+
return response;
|
|
1163
1145
|
};
|
|
1164
1146
|
const de_GetFleetCommandError = async (output, context) => {
|
|
1165
1147
|
const parsedOutput = {
|
|
@@ -1185,10 +1167,9 @@ const de_GetFleetCommandError = async (output, context) => {
|
|
|
1185
1167
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1186
1168
|
default:
|
|
1187
1169
|
const parsedBody = parsedOutput.body;
|
|
1188
|
-
throwDefaultError({
|
|
1170
|
+
return throwDefaultError({
|
|
1189
1171
|
output,
|
|
1190
1172
|
parsedBody,
|
|
1191
|
-
exceptionCtor: __BaseException,
|
|
1192
1173
|
errorCode,
|
|
1193
1174
|
});
|
|
1194
1175
|
}
|
|
@@ -1199,12 +1180,12 @@ export const de_GetLoggingOptionsCommand = async (output, context) => {
|
|
|
1199
1180
|
}
|
|
1200
1181
|
const data = await parseBody(output.body, context);
|
|
1201
1182
|
let contents = {};
|
|
1202
|
-
contents =
|
|
1183
|
+
contents = _json(data);
|
|
1203
1184
|
const response = {
|
|
1204
1185
|
$metadata: deserializeMetadata(output),
|
|
1205
1186
|
...contents,
|
|
1206
1187
|
};
|
|
1207
|
-
return
|
|
1188
|
+
return response;
|
|
1208
1189
|
};
|
|
1209
1190
|
const de_GetLoggingOptionsCommandError = async (output, context) => {
|
|
1210
1191
|
const parsedOutput = {
|
|
@@ -1224,10 +1205,9 @@ const de_GetLoggingOptionsCommandError = async (output, context) => {
|
|
|
1224
1205
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1225
1206
|
default:
|
|
1226
1207
|
const parsedBody = parsedOutput.body;
|
|
1227
|
-
throwDefaultError({
|
|
1208
|
+
return throwDefaultError({
|
|
1228
1209
|
output,
|
|
1229
1210
|
parsedBody,
|
|
1230
|
-
exceptionCtor: __BaseException,
|
|
1231
1211
|
errorCode,
|
|
1232
1212
|
});
|
|
1233
1213
|
}
|
|
@@ -1243,7 +1223,7 @@ export const de_GetModelManifestCommand = async (output, context) => {
|
|
|
1243
1223
|
$metadata: deserializeMetadata(output),
|
|
1244
1224
|
...contents,
|
|
1245
1225
|
};
|
|
1246
|
-
return
|
|
1226
|
+
return response;
|
|
1247
1227
|
};
|
|
1248
1228
|
const de_GetModelManifestCommandError = async (output, context) => {
|
|
1249
1229
|
const parsedOutput = {
|
|
@@ -1269,10 +1249,9 @@ const de_GetModelManifestCommandError = async (output, context) => {
|
|
|
1269
1249
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1270
1250
|
default:
|
|
1271
1251
|
const parsedBody = parsedOutput.body;
|
|
1272
|
-
throwDefaultError({
|
|
1252
|
+
return throwDefaultError({
|
|
1273
1253
|
output,
|
|
1274
1254
|
parsedBody,
|
|
1275
|
-
exceptionCtor: __BaseException,
|
|
1276
1255
|
errorCode,
|
|
1277
1256
|
});
|
|
1278
1257
|
}
|
|
@@ -1288,7 +1267,7 @@ export const de_GetRegisterAccountStatusCommand = async (output, context) => {
|
|
|
1288
1267
|
$metadata: deserializeMetadata(output),
|
|
1289
1268
|
...contents,
|
|
1290
1269
|
};
|
|
1291
|
-
return
|
|
1270
|
+
return response;
|
|
1292
1271
|
};
|
|
1293
1272
|
const de_GetRegisterAccountStatusCommandError = async (output, context) => {
|
|
1294
1273
|
const parsedOutput = {
|
|
@@ -1314,10 +1293,9 @@ const de_GetRegisterAccountStatusCommandError = async (output, context) => {
|
|
|
1314
1293
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1315
1294
|
default:
|
|
1316
1295
|
const parsedBody = parsedOutput.body;
|
|
1317
|
-
throwDefaultError({
|
|
1296
|
+
return throwDefaultError({
|
|
1318
1297
|
output,
|
|
1319
1298
|
parsedBody,
|
|
1320
|
-
exceptionCtor: __BaseException,
|
|
1321
1299
|
errorCode,
|
|
1322
1300
|
});
|
|
1323
1301
|
}
|
|
@@ -1333,7 +1311,7 @@ export const de_GetSignalCatalogCommand = async (output, context) => {
|
|
|
1333
1311
|
$metadata: deserializeMetadata(output),
|
|
1334
1312
|
...contents,
|
|
1335
1313
|
};
|
|
1336
|
-
return
|
|
1314
|
+
return response;
|
|
1337
1315
|
};
|
|
1338
1316
|
const de_GetSignalCatalogCommandError = async (output, context) => {
|
|
1339
1317
|
const parsedOutput = {
|
|
@@ -1359,10 +1337,9 @@ const de_GetSignalCatalogCommandError = async (output, context) => {
|
|
|
1359
1337
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1360
1338
|
default:
|
|
1361
1339
|
const parsedBody = parsedOutput.body;
|
|
1362
|
-
throwDefaultError({
|
|
1340
|
+
return throwDefaultError({
|
|
1363
1341
|
output,
|
|
1364
1342
|
parsedBody,
|
|
1365
|
-
exceptionCtor: __BaseException,
|
|
1366
1343
|
errorCode,
|
|
1367
1344
|
});
|
|
1368
1345
|
}
|
|
@@ -1378,7 +1355,7 @@ export const de_GetVehicleCommand = async (output, context) => {
|
|
|
1378
1355
|
$metadata: deserializeMetadata(output),
|
|
1379
1356
|
...contents,
|
|
1380
1357
|
};
|
|
1381
|
-
return
|
|
1358
|
+
return response;
|
|
1382
1359
|
};
|
|
1383
1360
|
const de_GetVehicleCommandError = async (output, context) => {
|
|
1384
1361
|
const parsedOutput = {
|
|
@@ -1404,10 +1381,9 @@ const de_GetVehicleCommandError = async (output, context) => {
|
|
|
1404
1381
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1405
1382
|
default:
|
|
1406
1383
|
const parsedBody = parsedOutput.body;
|
|
1407
|
-
throwDefaultError({
|
|
1384
|
+
return throwDefaultError({
|
|
1408
1385
|
output,
|
|
1409
1386
|
parsedBody,
|
|
1410
|
-
exceptionCtor: __BaseException,
|
|
1411
1387
|
errorCode,
|
|
1412
1388
|
});
|
|
1413
1389
|
}
|
|
@@ -1418,12 +1394,12 @@ export const de_GetVehicleStatusCommand = async (output, context) => {
|
|
|
1418
1394
|
}
|
|
1419
1395
|
const data = await parseBody(output.body, context);
|
|
1420
1396
|
let contents = {};
|
|
1421
|
-
contents =
|
|
1397
|
+
contents = _json(data);
|
|
1422
1398
|
const response = {
|
|
1423
1399
|
$metadata: deserializeMetadata(output),
|
|
1424
1400
|
...contents,
|
|
1425
1401
|
};
|
|
1426
|
-
return
|
|
1402
|
+
return response;
|
|
1427
1403
|
};
|
|
1428
1404
|
const de_GetVehicleStatusCommandError = async (output, context) => {
|
|
1429
1405
|
const parsedOutput = {
|
|
@@ -1449,10 +1425,9 @@ const de_GetVehicleStatusCommandError = async (output, context) => {
|
|
|
1449
1425
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1450
1426
|
default:
|
|
1451
1427
|
const parsedBody = parsedOutput.body;
|
|
1452
|
-
throwDefaultError({
|
|
1428
|
+
return throwDefaultError({
|
|
1453
1429
|
output,
|
|
1454
1430
|
parsedBody,
|
|
1455
|
-
exceptionCtor: __BaseException,
|
|
1456
1431
|
errorCode,
|
|
1457
1432
|
});
|
|
1458
1433
|
}
|
|
@@ -1463,12 +1438,12 @@ export const de_ImportDecoderManifestCommand = async (output, context) => {
|
|
|
1463
1438
|
}
|
|
1464
1439
|
const data = await parseBody(output.body, context);
|
|
1465
1440
|
let contents = {};
|
|
1466
|
-
contents =
|
|
1441
|
+
contents = _json(data);
|
|
1467
1442
|
const response = {
|
|
1468
1443
|
$metadata: deserializeMetadata(output),
|
|
1469
1444
|
...contents,
|
|
1470
1445
|
};
|
|
1471
|
-
return
|
|
1446
|
+
return response;
|
|
1472
1447
|
};
|
|
1473
1448
|
const de_ImportDecoderManifestCommandError = async (output, context) => {
|
|
1474
1449
|
const parsedOutput = {
|
|
@@ -1503,10 +1478,9 @@ const de_ImportDecoderManifestCommandError = async (output, context) => {
|
|
|
1503
1478
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1504
1479
|
default:
|
|
1505
1480
|
const parsedBody = parsedOutput.body;
|
|
1506
|
-
throwDefaultError({
|
|
1481
|
+
return throwDefaultError({
|
|
1507
1482
|
output,
|
|
1508
1483
|
parsedBody,
|
|
1509
|
-
exceptionCtor: __BaseException,
|
|
1510
1484
|
errorCode,
|
|
1511
1485
|
});
|
|
1512
1486
|
}
|
|
@@ -1517,12 +1491,12 @@ export const de_ImportSignalCatalogCommand = async (output, context) => {
|
|
|
1517
1491
|
}
|
|
1518
1492
|
const data = await parseBody(output.body, context);
|
|
1519
1493
|
let contents = {};
|
|
1520
|
-
contents =
|
|
1494
|
+
contents = _json(data);
|
|
1521
1495
|
const response = {
|
|
1522
1496
|
$metadata: deserializeMetadata(output),
|
|
1523
1497
|
...contents,
|
|
1524
1498
|
};
|
|
1525
|
-
return
|
|
1499
|
+
return response;
|
|
1526
1500
|
};
|
|
1527
1501
|
const de_ImportSignalCatalogCommandError = async (output, context) => {
|
|
1528
1502
|
const parsedOutput = {
|
|
@@ -1557,10 +1531,9 @@ const de_ImportSignalCatalogCommandError = async (output, context) => {
|
|
|
1557
1531
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1558
1532
|
default:
|
|
1559
1533
|
const parsedBody = parsedOutput.body;
|
|
1560
|
-
throwDefaultError({
|
|
1534
|
+
return throwDefaultError({
|
|
1561
1535
|
output,
|
|
1562
1536
|
parsedBody,
|
|
1563
|
-
exceptionCtor: __BaseException,
|
|
1564
1537
|
errorCode,
|
|
1565
1538
|
});
|
|
1566
1539
|
}
|
|
@@ -1576,7 +1549,7 @@ export const de_ListCampaignsCommand = async (output, context) => {
|
|
|
1576
1549
|
$metadata: deserializeMetadata(output),
|
|
1577
1550
|
...contents,
|
|
1578
1551
|
};
|
|
1579
|
-
return
|
|
1552
|
+
return response;
|
|
1580
1553
|
};
|
|
1581
1554
|
const de_ListCampaignsCommandError = async (output, context) => {
|
|
1582
1555
|
const parsedOutput = {
|
|
@@ -1599,10 +1572,9 @@ const de_ListCampaignsCommandError = async (output, context) => {
|
|
|
1599
1572
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1600
1573
|
default:
|
|
1601
1574
|
const parsedBody = parsedOutput.body;
|
|
1602
|
-
throwDefaultError({
|
|
1575
|
+
return throwDefaultError({
|
|
1603
1576
|
output,
|
|
1604
1577
|
parsedBody,
|
|
1605
|
-
exceptionCtor: __BaseException,
|
|
1606
1578
|
errorCode,
|
|
1607
1579
|
});
|
|
1608
1580
|
}
|
|
@@ -1613,12 +1585,12 @@ export const de_ListDecoderManifestNetworkInterfacesCommand = async (output, con
|
|
|
1613
1585
|
}
|
|
1614
1586
|
const data = await parseBody(output.body, context);
|
|
1615
1587
|
let contents = {};
|
|
1616
|
-
contents =
|
|
1588
|
+
contents = _json(data);
|
|
1617
1589
|
const response = {
|
|
1618
1590
|
$metadata: deserializeMetadata(output),
|
|
1619
1591
|
...contents,
|
|
1620
1592
|
};
|
|
1621
|
-
return
|
|
1593
|
+
return response;
|
|
1622
1594
|
};
|
|
1623
1595
|
const de_ListDecoderManifestNetworkInterfacesCommandError = async (output, context) => {
|
|
1624
1596
|
const parsedOutput = {
|
|
@@ -1644,10 +1616,9 @@ const de_ListDecoderManifestNetworkInterfacesCommandError = async (output, conte
|
|
|
1644
1616
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1645
1617
|
default:
|
|
1646
1618
|
const parsedBody = parsedOutput.body;
|
|
1647
|
-
throwDefaultError({
|
|
1619
|
+
return throwDefaultError({
|
|
1648
1620
|
output,
|
|
1649
1621
|
parsedBody,
|
|
1650
|
-
exceptionCtor: __BaseException,
|
|
1651
1622
|
errorCode,
|
|
1652
1623
|
});
|
|
1653
1624
|
}
|
|
@@ -1663,7 +1634,7 @@ export const de_ListDecoderManifestsCommand = async (output, context) => {
|
|
|
1663
1634
|
$metadata: deserializeMetadata(output),
|
|
1664
1635
|
...contents,
|
|
1665
1636
|
};
|
|
1666
|
-
return
|
|
1637
|
+
return response;
|
|
1667
1638
|
};
|
|
1668
1639
|
const de_ListDecoderManifestsCommandError = async (output, context) => {
|
|
1669
1640
|
const parsedOutput = {
|
|
@@ -1686,10 +1657,9 @@ const de_ListDecoderManifestsCommandError = async (output, context) => {
|
|
|
1686
1657
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1687
1658
|
default:
|
|
1688
1659
|
const parsedBody = parsedOutput.body;
|
|
1689
|
-
throwDefaultError({
|
|
1660
|
+
return throwDefaultError({
|
|
1690
1661
|
output,
|
|
1691
1662
|
parsedBody,
|
|
1692
|
-
exceptionCtor: __BaseException,
|
|
1693
1663
|
errorCode,
|
|
1694
1664
|
});
|
|
1695
1665
|
}
|
|
@@ -1705,7 +1675,7 @@ export const de_ListDecoderManifestSignalsCommand = async (output, context) => {
|
|
|
1705
1675
|
$metadata: deserializeMetadata(output),
|
|
1706
1676
|
...contents,
|
|
1707
1677
|
};
|
|
1708
|
-
return
|
|
1678
|
+
return response;
|
|
1709
1679
|
};
|
|
1710
1680
|
const de_ListDecoderManifestSignalsCommandError = async (output, context) => {
|
|
1711
1681
|
const parsedOutput = {
|
|
@@ -1731,10 +1701,9 @@ const de_ListDecoderManifestSignalsCommandError = async (output, context) => {
|
|
|
1731
1701
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1732
1702
|
default:
|
|
1733
1703
|
const parsedBody = parsedOutput.body;
|
|
1734
|
-
throwDefaultError({
|
|
1704
|
+
return throwDefaultError({
|
|
1735
1705
|
output,
|
|
1736
1706
|
parsedBody,
|
|
1737
|
-
exceptionCtor: __BaseException,
|
|
1738
1707
|
errorCode,
|
|
1739
1708
|
});
|
|
1740
1709
|
}
|
|
@@ -1750,7 +1719,7 @@ export const de_ListFleetsCommand = async (output, context) => {
|
|
|
1750
1719
|
$metadata: deserializeMetadata(output),
|
|
1751
1720
|
...contents,
|
|
1752
1721
|
};
|
|
1753
|
-
return
|
|
1722
|
+
return response;
|
|
1754
1723
|
};
|
|
1755
1724
|
const de_ListFleetsCommandError = async (output, context) => {
|
|
1756
1725
|
const parsedOutput = {
|
|
@@ -1776,10 +1745,9 @@ const de_ListFleetsCommandError = async (output, context) => {
|
|
|
1776
1745
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1777
1746
|
default:
|
|
1778
1747
|
const parsedBody = parsedOutput.body;
|
|
1779
|
-
throwDefaultError({
|
|
1748
|
+
return throwDefaultError({
|
|
1780
1749
|
output,
|
|
1781
1750
|
parsedBody,
|
|
1782
|
-
exceptionCtor: __BaseException,
|
|
1783
1751
|
errorCode,
|
|
1784
1752
|
});
|
|
1785
1753
|
}
|
|
@@ -1790,12 +1758,12 @@ export const de_ListFleetsForVehicleCommand = async (output, context) => {
|
|
|
1790
1758
|
}
|
|
1791
1759
|
const data = await parseBody(output.body, context);
|
|
1792
1760
|
let contents = {};
|
|
1793
|
-
contents =
|
|
1761
|
+
contents = _json(data);
|
|
1794
1762
|
const response = {
|
|
1795
1763
|
$metadata: deserializeMetadata(output),
|
|
1796
1764
|
...contents,
|
|
1797
1765
|
};
|
|
1798
|
-
return
|
|
1766
|
+
return response;
|
|
1799
1767
|
};
|
|
1800
1768
|
const de_ListFleetsForVehicleCommandError = async (output, context) => {
|
|
1801
1769
|
const parsedOutput = {
|
|
@@ -1821,10 +1789,9 @@ const de_ListFleetsForVehicleCommandError = async (output, context) => {
|
|
|
1821
1789
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1822
1790
|
default:
|
|
1823
1791
|
const parsedBody = parsedOutput.body;
|
|
1824
|
-
throwDefaultError({
|
|
1792
|
+
return throwDefaultError({
|
|
1825
1793
|
output,
|
|
1826
1794
|
parsedBody,
|
|
1827
|
-
exceptionCtor: __BaseException,
|
|
1828
1795
|
errorCode,
|
|
1829
1796
|
});
|
|
1830
1797
|
}
|
|
@@ -1840,7 +1807,7 @@ export const de_ListModelManifestNodesCommand = async (output, context) => {
|
|
|
1840
1807
|
$metadata: deserializeMetadata(output),
|
|
1841
1808
|
...contents,
|
|
1842
1809
|
};
|
|
1843
|
-
return
|
|
1810
|
+
return response;
|
|
1844
1811
|
};
|
|
1845
1812
|
const de_ListModelManifestNodesCommandError = async (output, context) => {
|
|
1846
1813
|
const parsedOutput = {
|
|
@@ -1869,10 +1836,9 @@ const de_ListModelManifestNodesCommandError = async (output, context) => {
|
|
|
1869
1836
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1870
1837
|
default:
|
|
1871
1838
|
const parsedBody = parsedOutput.body;
|
|
1872
|
-
throwDefaultError({
|
|
1839
|
+
return throwDefaultError({
|
|
1873
1840
|
output,
|
|
1874
1841
|
parsedBody,
|
|
1875
|
-
exceptionCtor: __BaseException,
|
|
1876
1842
|
errorCode,
|
|
1877
1843
|
});
|
|
1878
1844
|
}
|
|
@@ -1888,7 +1854,7 @@ export const de_ListModelManifestsCommand = async (output, context) => {
|
|
|
1888
1854
|
$metadata: deserializeMetadata(output),
|
|
1889
1855
|
...contents,
|
|
1890
1856
|
};
|
|
1891
|
-
return
|
|
1857
|
+
return response;
|
|
1892
1858
|
};
|
|
1893
1859
|
const de_ListModelManifestsCommandError = async (output, context) => {
|
|
1894
1860
|
const parsedOutput = {
|
|
@@ -1911,10 +1877,9 @@ const de_ListModelManifestsCommandError = async (output, context) => {
|
|
|
1911
1877
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1912
1878
|
default:
|
|
1913
1879
|
const parsedBody = parsedOutput.body;
|
|
1914
|
-
throwDefaultError({
|
|
1880
|
+
return throwDefaultError({
|
|
1915
1881
|
output,
|
|
1916
1882
|
parsedBody,
|
|
1917
|
-
exceptionCtor: __BaseException,
|
|
1918
1883
|
errorCode,
|
|
1919
1884
|
});
|
|
1920
1885
|
}
|
|
@@ -1930,7 +1895,7 @@ export const de_ListSignalCatalogNodesCommand = async (output, context) => {
|
|
|
1930
1895
|
$metadata: deserializeMetadata(output),
|
|
1931
1896
|
...contents,
|
|
1932
1897
|
};
|
|
1933
|
-
return
|
|
1898
|
+
return response;
|
|
1934
1899
|
};
|
|
1935
1900
|
const de_ListSignalCatalogNodesCommandError = async (output, context) => {
|
|
1936
1901
|
const parsedOutput = {
|
|
@@ -1959,10 +1924,9 @@ const de_ListSignalCatalogNodesCommandError = async (output, context) => {
|
|
|
1959
1924
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1960
1925
|
default:
|
|
1961
1926
|
const parsedBody = parsedOutput.body;
|
|
1962
|
-
throwDefaultError({
|
|
1927
|
+
return throwDefaultError({
|
|
1963
1928
|
output,
|
|
1964
1929
|
parsedBody,
|
|
1965
|
-
exceptionCtor: __BaseException,
|
|
1966
1930
|
errorCode,
|
|
1967
1931
|
});
|
|
1968
1932
|
}
|
|
@@ -1978,7 +1942,7 @@ export const de_ListSignalCatalogsCommand = async (output, context) => {
|
|
|
1978
1942
|
$metadata: deserializeMetadata(output),
|
|
1979
1943
|
...contents,
|
|
1980
1944
|
};
|
|
1981
|
-
return
|
|
1945
|
+
return response;
|
|
1982
1946
|
};
|
|
1983
1947
|
const de_ListSignalCatalogsCommandError = async (output, context) => {
|
|
1984
1948
|
const parsedOutput = {
|
|
@@ -2001,10 +1965,9 @@ const de_ListSignalCatalogsCommandError = async (output, context) => {
|
|
|
2001
1965
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2002
1966
|
default:
|
|
2003
1967
|
const parsedBody = parsedOutput.body;
|
|
2004
|
-
throwDefaultError({
|
|
1968
|
+
return throwDefaultError({
|
|
2005
1969
|
output,
|
|
2006
1970
|
parsedBody,
|
|
2007
|
-
exceptionCtor: __BaseException,
|
|
2008
1971
|
errorCode,
|
|
2009
1972
|
});
|
|
2010
1973
|
}
|
|
@@ -2015,12 +1978,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2015
1978
|
}
|
|
2016
1979
|
const data = await parseBody(output.body, context);
|
|
2017
1980
|
let contents = {};
|
|
2018
|
-
contents =
|
|
1981
|
+
contents = _json(data);
|
|
2019
1982
|
const response = {
|
|
2020
1983
|
$metadata: deserializeMetadata(output),
|
|
2021
1984
|
...contents,
|
|
2022
1985
|
};
|
|
2023
|
-
return
|
|
1986
|
+
return response;
|
|
2024
1987
|
};
|
|
2025
1988
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2026
1989
|
const parsedOutput = {
|
|
@@ -2046,10 +2009,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2046
2009
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2047
2010
|
default:
|
|
2048
2011
|
const parsedBody = parsedOutput.body;
|
|
2049
|
-
throwDefaultError({
|
|
2012
|
+
return throwDefaultError({
|
|
2050
2013
|
output,
|
|
2051
2014
|
parsedBody,
|
|
2052
|
-
exceptionCtor: __BaseException,
|
|
2053
2015
|
errorCode,
|
|
2054
2016
|
});
|
|
2055
2017
|
}
|
|
@@ -2065,7 +2027,7 @@ export const de_ListVehiclesCommand = async (output, context) => {
|
|
|
2065
2027
|
$metadata: deserializeMetadata(output),
|
|
2066
2028
|
...contents,
|
|
2067
2029
|
};
|
|
2068
|
-
return
|
|
2030
|
+
return response;
|
|
2069
2031
|
};
|
|
2070
2032
|
const de_ListVehiclesCommandError = async (output, context) => {
|
|
2071
2033
|
const parsedOutput = {
|
|
@@ -2088,10 +2050,9 @@ const de_ListVehiclesCommandError = async (output, context) => {
|
|
|
2088
2050
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2089
2051
|
default:
|
|
2090
2052
|
const parsedBody = parsedOutput.body;
|
|
2091
|
-
throwDefaultError({
|
|
2053
|
+
return throwDefaultError({
|
|
2092
2054
|
output,
|
|
2093
2055
|
parsedBody,
|
|
2094
|
-
exceptionCtor: __BaseException,
|
|
2095
2056
|
errorCode,
|
|
2096
2057
|
});
|
|
2097
2058
|
}
|
|
@@ -2102,12 +2063,12 @@ export const de_ListVehiclesInFleetCommand = async (output, context) => {
|
|
|
2102
2063
|
}
|
|
2103
2064
|
const data = await parseBody(output.body, context);
|
|
2104
2065
|
let contents = {};
|
|
2105
|
-
contents =
|
|
2066
|
+
contents = _json(data);
|
|
2106
2067
|
const response = {
|
|
2107
2068
|
$metadata: deserializeMetadata(output),
|
|
2108
2069
|
...contents,
|
|
2109
2070
|
};
|
|
2110
|
-
return
|
|
2071
|
+
return response;
|
|
2111
2072
|
};
|
|
2112
2073
|
const de_ListVehiclesInFleetCommandError = async (output, context) => {
|
|
2113
2074
|
const parsedOutput = {
|
|
@@ -2133,10 +2094,9 @@ const de_ListVehiclesInFleetCommandError = async (output, context) => {
|
|
|
2133
2094
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2134
2095
|
default:
|
|
2135
2096
|
const parsedBody = parsedOutput.body;
|
|
2136
|
-
throwDefaultError({
|
|
2097
|
+
return throwDefaultError({
|
|
2137
2098
|
output,
|
|
2138
2099
|
parsedBody,
|
|
2139
|
-
exceptionCtor: __BaseException,
|
|
2140
2100
|
errorCode,
|
|
2141
2101
|
});
|
|
2142
2102
|
}
|
|
@@ -2147,12 +2107,12 @@ export const de_PutLoggingOptionsCommand = async (output, context) => {
|
|
|
2147
2107
|
}
|
|
2148
2108
|
const data = await parseBody(output.body, context);
|
|
2149
2109
|
let contents = {};
|
|
2150
|
-
contents =
|
|
2110
|
+
contents = _json(data);
|
|
2151
2111
|
const response = {
|
|
2152
2112
|
$metadata: deserializeMetadata(output),
|
|
2153
2113
|
...contents,
|
|
2154
2114
|
};
|
|
2155
|
-
return
|
|
2115
|
+
return response;
|
|
2156
2116
|
};
|
|
2157
2117
|
const de_PutLoggingOptionsCommandError = async (output, context) => {
|
|
2158
2118
|
const parsedOutput = {
|
|
@@ -2181,10 +2141,9 @@ const de_PutLoggingOptionsCommandError = async (output, context) => {
|
|
|
2181
2141
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2182
2142
|
default:
|
|
2183
2143
|
const parsedBody = parsedOutput.body;
|
|
2184
|
-
throwDefaultError({
|
|
2144
|
+
return throwDefaultError({
|
|
2185
2145
|
output,
|
|
2186
2146
|
parsedBody,
|
|
2187
|
-
exceptionCtor: __BaseException,
|
|
2188
2147
|
errorCode,
|
|
2189
2148
|
});
|
|
2190
2149
|
}
|
|
@@ -2200,7 +2159,7 @@ export const de_RegisterAccountCommand = async (output, context) => {
|
|
|
2200
2159
|
$metadata: deserializeMetadata(output),
|
|
2201
2160
|
...contents,
|
|
2202
2161
|
};
|
|
2203
|
-
return
|
|
2162
|
+
return response;
|
|
2204
2163
|
};
|
|
2205
2164
|
const de_RegisterAccountCommandError = async (output, context) => {
|
|
2206
2165
|
const parsedOutput = {
|
|
@@ -2229,10 +2188,9 @@ const de_RegisterAccountCommandError = async (output, context) => {
|
|
|
2229
2188
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2230
2189
|
default:
|
|
2231
2190
|
const parsedBody = parsedOutput.body;
|
|
2232
|
-
throwDefaultError({
|
|
2191
|
+
return throwDefaultError({
|
|
2233
2192
|
output,
|
|
2234
2193
|
parsedBody,
|
|
2235
|
-
exceptionCtor: __BaseException,
|
|
2236
2194
|
errorCode,
|
|
2237
2195
|
});
|
|
2238
2196
|
}
|
|
@@ -2243,12 +2201,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
2243
2201
|
}
|
|
2244
2202
|
const data = await parseBody(output.body, context);
|
|
2245
2203
|
let contents = {};
|
|
2246
|
-
contents =
|
|
2204
|
+
contents = _json(data);
|
|
2247
2205
|
const response = {
|
|
2248
2206
|
$metadata: deserializeMetadata(output),
|
|
2249
2207
|
...contents,
|
|
2250
2208
|
};
|
|
2251
|
-
return
|
|
2209
|
+
return response;
|
|
2252
2210
|
};
|
|
2253
2211
|
const de_TagResourceCommandError = async (output, context) => {
|
|
2254
2212
|
const parsedOutput = {
|
|
@@ -2274,10 +2232,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2274
2232
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2275
2233
|
default:
|
|
2276
2234
|
const parsedBody = parsedOutput.body;
|
|
2277
|
-
throwDefaultError({
|
|
2235
|
+
return throwDefaultError({
|
|
2278
2236
|
output,
|
|
2279
2237
|
parsedBody,
|
|
2280
|
-
exceptionCtor: __BaseException,
|
|
2281
2238
|
errorCode,
|
|
2282
2239
|
});
|
|
2283
2240
|
}
|
|
@@ -2288,12 +2245,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
2288
2245
|
}
|
|
2289
2246
|
const data = await parseBody(output.body, context);
|
|
2290
2247
|
let contents = {};
|
|
2291
|
-
contents =
|
|
2248
|
+
contents = _json(data);
|
|
2292
2249
|
const response = {
|
|
2293
2250
|
$metadata: deserializeMetadata(output),
|
|
2294
2251
|
...contents,
|
|
2295
2252
|
};
|
|
2296
|
-
return
|
|
2253
|
+
return response;
|
|
2297
2254
|
};
|
|
2298
2255
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
2299
2256
|
const parsedOutput = {
|
|
@@ -2319,10 +2276,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2319
2276
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2320
2277
|
default:
|
|
2321
2278
|
const parsedBody = parsedOutput.body;
|
|
2322
|
-
throwDefaultError({
|
|
2279
|
+
return throwDefaultError({
|
|
2323
2280
|
output,
|
|
2324
2281
|
parsedBody,
|
|
2325
|
-
exceptionCtor: __BaseException,
|
|
2326
2282
|
errorCode,
|
|
2327
2283
|
});
|
|
2328
2284
|
}
|
|
@@ -2333,12 +2289,12 @@ export const de_UpdateCampaignCommand = async (output, context) => {
|
|
|
2333
2289
|
}
|
|
2334
2290
|
const data = await parseBody(output.body, context);
|
|
2335
2291
|
let contents = {};
|
|
2336
|
-
contents =
|
|
2292
|
+
contents = _json(data);
|
|
2337
2293
|
const response = {
|
|
2338
2294
|
$metadata: deserializeMetadata(output),
|
|
2339
2295
|
...contents,
|
|
2340
2296
|
};
|
|
2341
|
-
return
|
|
2297
|
+
return response;
|
|
2342
2298
|
};
|
|
2343
2299
|
const de_UpdateCampaignCommandError = async (output, context) => {
|
|
2344
2300
|
const parsedOutput = {
|
|
@@ -2367,10 +2323,9 @@ const de_UpdateCampaignCommandError = async (output, context) => {
|
|
|
2367
2323
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2368
2324
|
default:
|
|
2369
2325
|
const parsedBody = parsedOutput.body;
|
|
2370
|
-
throwDefaultError({
|
|
2326
|
+
return throwDefaultError({
|
|
2371
2327
|
output,
|
|
2372
2328
|
parsedBody,
|
|
2373
|
-
exceptionCtor: __BaseException,
|
|
2374
2329
|
errorCode,
|
|
2375
2330
|
});
|
|
2376
2331
|
}
|
|
@@ -2381,12 +2336,12 @@ export const de_UpdateDecoderManifestCommand = async (output, context) => {
|
|
|
2381
2336
|
}
|
|
2382
2337
|
const data = await parseBody(output.body, context);
|
|
2383
2338
|
let contents = {};
|
|
2384
|
-
contents =
|
|
2339
|
+
contents = _json(data);
|
|
2385
2340
|
const response = {
|
|
2386
2341
|
$metadata: deserializeMetadata(output),
|
|
2387
2342
|
...contents,
|
|
2388
2343
|
};
|
|
2389
|
-
return
|
|
2344
|
+
return response;
|
|
2390
2345
|
};
|
|
2391
2346
|
const de_UpdateDecoderManifestCommandError = async (output, context) => {
|
|
2392
2347
|
const parsedOutput = {
|
|
@@ -2421,10 +2376,9 @@ const de_UpdateDecoderManifestCommandError = async (output, context) => {
|
|
|
2421
2376
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2422
2377
|
default:
|
|
2423
2378
|
const parsedBody = parsedOutput.body;
|
|
2424
|
-
throwDefaultError({
|
|
2379
|
+
return throwDefaultError({
|
|
2425
2380
|
output,
|
|
2426
2381
|
parsedBody,
|
|
2427
|
-
exceptionCtor: __BaseException,
|
|
2428
2382
|
errorCode,
|
|
2429
2383
|
});
|
|
2430
2384
|
}
|
|
@@ -2435,12 +2389,12 @@ export const de_UpdateFleetCommand = async (output, context) => {
|
|
|
2435
2389
|
}
|
|
2436
2390
|
const data = await parseBody(output.body, context);
|
|
2437
2391
|
let contents = {};
|
|
2438
|
-
contents =
|
|
2392
|
+
contents = _json(data);
|
|
2439
2393
|
const response = {
|
|
2440
2394
|
$metadata: deserializeMetadata(output),
|
|
2441
2395
|
...contents,
|
|
2442
2396
|
};
|
|
2443
|
-
return
|
|
2397
|
+
return response;
|
|
2444
2398
|
};
|
|
2445
2399
|
const de_UpdateFleetCommandError = async (output, context) => {
|
|
2446
2400
|
const parsedOutput = {
|
|
@@ -2469,10 +2423,9 @@ const de_UpdateFleetCommandError = async (output, context) => {
|
|
|
2469
2423
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2470
2424
|
default:
|
|
2471
2425
|
const parsedBody = parsedOutput.body;
|
|
2472
|
-
throwDefaultError({
|
|
2426
|
+
return throwDefaultError({
|
|
2473
2427
|
output,
|
|
2474
2428
|
parsedBody,
|
|
2475
|
-
exceptionCtor: __BaseException,
|
|
2476
2429
|
errorCode,
|
|
2477
2430
|
});
|
|
2478
2431
|
}
|
|
@@ -2483,12 +2436,12 @@ export const de_UpdateModelManifestCommand = async (output, context) => {
|
|
|
2483
2436
|
}
|
|
2484
2437
|
const data = await parseBody(output.body, context);
|
|
2485
2438
|
let contents = {};
|
|
2486
|
-
contents =
|
|
2439
|
+
contents = _json(data);
|
|
2487
2440
|
const response = {
|
|
2488
2441
|
$metadata: deserializeMetadata(output),
|
|
2489
2442
|
...contents,
|
|
2490
2443
|
};
|
|
2491
|
-
return
|
|
2444
|
+
return response;
|
|
2492
2445
|
};
|
|
2493
2446
|
const de_UpdateModelManifestCommandError = async (output, context) => {
|
|
2494
2447
|
const parsedOutput = {
|
|
@@ -2520,10 +2473,9 @@ const de_UpdateModelManifestCommandError = async (output, context) => {
|
|
|
2520
2473
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2521
2474
|
default:
|
|
2522
2475
|
const parsedBody = parsedOutput.body;
|
|
2523
|
-
throwDefaultError({
|
|
2476
|
+
return throwDefaultError({
|
|
2524
2477
|
output,
|
|
2525
2478
|
parsedBody,
|
|
2526
|
-
exceptionCtor: __BaseException,
|
|
2527
2479
|
errorCode,
|
|
2528
2480
|
});
|
|
2529
2481
|
}
|
|
@@ -2534,12 +2486,12 @@ export const de_UpdateSignalCatalogCommand = async (output, context) => {
|
|
|
2534
2486
|
}
|
|
2535
2487
|
const data = await parseBody(output.body, context);
|
|
2536
2488
|
let contents = {};
|
|
2537
|
-
contents =
|
|
2489
|
+
contents = _json(data);
|
|
2538
2490
|
const response = {
|
|
2539
2491
|
$metadata: deserializeMetadata(output),
|
|
2540
2492
|
...contents,
|
|
2541
2493
|
};
|
|
2542
|
-
return
|
|
2494
|
+
return response;
|
|
2543
2495
|
};
|
|
2544
2496
|
const de_UpdateSignalCatalogCommandError = async (output, context) => {
|
|
2545
2497
|
const parsedOutput = {
|
|
@@ -2577,10 +2529,9 @@ const de_UpdateSignalCatalogCommandError = async (output, context) => {
|
|
|
2577
2529
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2578
2530
|
default:
|
|
2579
2531
|
const parsedBody = parsedOutput.body;
|
|
2580
|
-
throwDefaultError({
|
|
2532
|
+
return throwDefaultError({
|
|
2581
2533
|
output,
|
|
2582
2534
|
parsedBody,
|
|
2583
|
-
exceptionCtor: __BaseException,
|
|
2584
2535
|
errorCode,
|
|
2585
2536
|
});
|
|
2586
2537
|
}
|
|
@@ -2591,12 +2542,12 @@ export const de_UpdateVehicleCommand = async (output, context) => {
|
|
|
2591
2542
|
}
|
|
2592
2543
|
const data = await parseBody(output.body, context);
|
|
2593
2544
|
let contents = {};
|
|
2594
|
-
contents =
|
|
2545
|
+
contents = _json(data);
|
|
2595
2546
|
const response = {
|
|
2596
2547
|
$metadata: deserializeMetadata(output),
|
|
2597
2548
|
...contents,
|
|
2598
2549
|
};
|
|
2599
|
-
return
|
|
2550
|
+
return response;
|
|
2600
2551
|
};
|
|
2601
2552
|
const de_UpdateVehicleCommandError = async (output, context) => {
|
|
2602
2553
|
const parsedOutput = {
|
|
@@ -2625,17 +2576,16 @@ const de_UpdateVehicleCommandError = async (output, context) => {
|
|
|
2625
2576
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2626
2577
|
default:
|
|
2627
2578
|
const parsedBody = parsedOutput.body;
|
|
2628
|
-
throwDefaultError({
|
|
2579
|
+
return throwDefaultError({
|
|
2629
2580
|
output,
|
|
2630
2581
|
parsedBody,
|
|
2631
|
-
exceptionCtor: __BaseException,
|
|
2632
2582
|
errorCode,
|
|
2633
2583
|
});
|
|
2634
2584
|
}
|
|
2635
2585
|
};
|
|
2636
2586
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2637
2587
|
const body = parsedOutput.body;
|
|
2638
|
-
const deserialized =
|
|
2588
|
+
const deserialized = _json(body);
|
|
2639
2589
|
const exception = new AccessDeniedException({
|
|
2640
2590
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2641
2591
|
...deserialized,
|
|
@@ -2644,7 +2594,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
2644
2594
|
};
|
|
2645
2595
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2646
2596
|
const body = parsedOutput.body;
|
|
2647
|
-
const deserialized =
|
|
2597
|
+
const deserialized = _json(body);
|
|
2648
2598
|
const exception = new ConflictException({
|
|
2649
2599
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2650
2600
|
...deserialized,
|
|
@@ -2653,7 +2603,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
2653
2603
|
};
|
|
2654
2604
|
const de_DecoderManifestValidationExceptionRes = async (parsedOutput, context) => {
|
|
2655
2605
|
const body = parsedOutput.body;
|
|
2656
|
-
const deserialized =
|
|
2606
|
+
const deserialized = _json(body);
|
|
2657
2607
|
const exception = new DecoderManifestValidationException({
|
|
2658
2608
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2659
2609
|
...deserialized,
|
|
@@ -2662,7 +2612,7 @@ const de_DecoderManifestValidationExceptionRes = async (parsedOutput, context) =
|
|
|
2662
2612
|
};
|
|
2663
2613
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2664
2614
|
const body = parsedOutput.body;
|
|
2665
|
-
const deserialized =
|
|
2615
|
+
const deserialized = _json(body);
|
|
2666
2616
|
const exception = new InternalServerException({
|
|
2667
2617
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2668
2618
|
...deserialized,
|
|
@@ -2680,7 +2630,7 @@ const de_InvalidNodeExceptionRes = async (parsedOutput, context) => {
|
|
|
2680
2630
|
};
|
|
2681
2631
|
const de_InvalidSignalsExceptionRes = async (parsedOutput, context) => {
|
|
2682
2632
|
const body = parsedOutput.body;
|
|
2683
|
-
const deserialized =
|
|
2633
|
+
const deserialized = _json(body);
|
|
2684
2634
|
const exception = new InvalidSignalsException({
|
|
2685
2635
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2686
2636
|
...deserialized,
|
|
@@ -2689,7 +2639,7 @@ const de_InvalidSignalsExceptionRes = async (parsedOutput, context) => {
|
|
|
2689
2639
|
};
|
|
2690
2640
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2691
2641
|
const body = parsedOutput.body;
|
|
2692
|
-
const deserialized =
|
|
2642
|
+
const deserialized = _json(body);
|
|
2693
2643
|
const exception = new LimitExceededException({
|
|
2694
2644
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2695
2645
|
...deserialized,
|
|
@@ -2698,7 +2648,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2698
2648
|
};
|
|
2699
2649
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2700
2650
|
const body = parsedOutput.body;
|
|
2701
|
-
const deserialized =
|
|
2651
|
+
const deserialized = _json(body);
|
|
2702
2652
|
const exception = new ResourceNotFoundException({
|
|
2703
2653
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2704
2654
|
...deserialized,
|
|
@@ -2707,7 +2657,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2707
2657
|
};
|
|
2708
2658
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2709
2659
|
const body = parsedOutput.body;
|
|
2710
|
-
const deserialized =
|
|
2660
|
+
const deserialized = _json(body);
|
|
2711
2661
|
const exception = new ThrottlingException({
|
|
2712
2662
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2713
2663
|
...deserialized,
|
|
@@ -2716,7 +2666,7 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
2716
2666
|
};
|
|
2717
2667
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2718
2668
|
const body = parsedOutput.body;
|
|
2719
|
-
const deserialized =
|
|
2669
|
+
const deserialized = _json(body);
|
|
2720
2670
|
const exception = new ValidationException({
|
|
2721
2671
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2722
2672
|
...deserialized,
|
|
@@ -2724,429 +2674,92 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
2724
2674
|
return __decorateServiceException(exception, body);
|
|
2725
2675
|
};
|
|
2726
2676
|
const se_Actuator = (input, context) => {
|
|
2727
|
-
return {
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
};
|
|
2737
|
-
};
|
|
2738
|
-
const se_AssociateVehicleFleetRequest = (input, context) => {
|
|
2739
|
-
return {
|
|
2740
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
2741
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
2742
|
-
};
|
|
2677
|
+
return take(input, {
|
|
2678
|
+
allowedValues: _json,
|
|
2679
|
+
assignedValue: [],
|
|
2680
|
+
dataType: [],
|
|
2681
|
+
description: [],
|
|
2682
|
+
fullyQualifiedName: [],
|
|
2683
|
+
max: __serializeFloat,
|
|
2684
|
+
min: __serializeFloat,
|
|
2685
|
+
unit: [],
|
|
2686
|
+
});
|
|
2743
2687
|
};
|
|
2744
2688
|
const se_Attribute = (input, context) => {
|
|
2745
|
-
return {
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
};
|
|
2756
|
-
};
|
|
2757
|
-
const se_attributesMap = (input, context) => {
|
|
2758
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2759
|
-
if (value === null) {
|
|
2760
|
-
return acc;
|
|
2761
|
-
}
|
|
2762
|
-
acc[key] = value;
|
|
2763
|
-
return acc;
|
|
2764
|
-
}, {});
|
|
2765
|
-
};
|
|
2766
|
-
const se_BatchCreateVehicleRequest = (input, context) => {
|
|
2767
|
-
return {
|
|
2768
|
-
...(input.vehicles != null && { vehicles: se_createVehicleRequestItems(input.vehicles, context) }),
|
|
2769
|
-
};
|
|
2770
|
-
};
|
|
2771
|
-
const se_BatchUpdateVehicleRequest = (input, context) => {
|
|
2772
|
-
return {
|
|
2773
|
-
...(input.vehicles != null && { vehicles: se_updateVehicleRequestItems(input.vehicles, context) }),
|
|
2774
|
-
};
|
|
2775
|
-
};
|
|
2776
|
-
const se_Branch = (input, context) => {
|
|
2777
|
-
return {
|
|
2778
|
-
...(input.description != null && { description: input.description }),
|
|
2779
|
-
...(input.fullyQualifiedName != null && { fullyQualifiedName: input.fullyQualifiedName }),
|
|
2780
|
-
};
|
|
2689
|
+
return take(input, {
|
|
2690
|
+
allowedValues: _json,
|
|
2691
|
+
assignedValue: [],
|
|
2692
|
+
dataType: [],
|
|
2693
|
+
defaultValue: [],
|
|
2694
|
+
description: [],
|
|
2695
|
+
fullyQualifiedName: [],
|
|
2696
|
+
max: __serializeFloat,
|
|
2697
|
+
min: __serializeFloat,
|
|
2698
|
+
unit: [],
|
|
2699
|
+
});
|
|
2781
2700
|
};
|
|
2782
2701
|
const se_CanDbcDefinition = (input, context) => {
|
|
2783
|
-
return {
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
};
|
|
2788
|
-
};
|
|
2789
|
-
const se_CanInterface = (input, context) => {
|
|
2790
|
-
return {
|
|
2791
|
-
...(input.name != null && { name: input.name }),
|
|
2792
|
-
...(input.protocolName != null && { protocolName: input.protocolName }),
|
|
2793
|
-
...(input.protocolVersion != null && { protocolVersion: input.protocolVersion }),
|
|
2794
|
-
};
|
|
2702
|
+
return take(input, {
|
|
2703
|
+
canDbcFiles: (_) => se_NetworkFilesList(_, context),
|
|
2704
|
+
networkInterface: [],
|
|
2705
|
+
signalsMap: _json,
|
|
2706
|
+
});
|
|
2795
2707
|
};
|
|
2796
2708
|
const se_CanSignal = (input, context) => {
|
|
2797
|
-
return {
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
};
|
|
2807
|
-
};
|
|
2808
|
-
const se_CloudWatchLogDeliveryOptions = (input, context) => {
|
|
2809
|
-
return {
|
|
2810
|
-
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2811
|
-
...(input.logType != null && { logType: input.logType }),
|
|
2812
|
-
};
|
|
2813
|
-
};
|
|
2814
|
-
const se_CollectionScheme = (input, context) => {
|
|
2815
|
-
return CollectionScheme.visit(input, {
|
|
2816
|
-
conditionBasedCollectionScheme: (value) => ({
|
|
2817
|
-
conditionBasedCollectionScheme: se_ConditionBasedCollectionScheme(value, context),
|
|
2818
|
-
}),
|
|
2819
|
-
timeBasedCollectionScheme: (value) => ({ timeBasedCollectionScheme: se_TimeBasedCollectionScheme(value, context) }),
|
|
2820
|
-
_: (name, value) => ({ name: value }),
|
|
2709
|
+
return take(input, {
|
|
2710
|
+
factor: __serializeFloat,
|
|
2711
|
+
isBigEndian: [],
|
|
2712
|
+
isSigned: [],
|
|
2713
|
+
length: [],
|
|
2714
|
+
messageId: [],
|
|
2715
|
+
name: [],
|
|
2716
|
+
offset: __serializeFloat,
|
|
2717
|
+
startBit: [],
|
|
2821
2718
|
});
|
|
2822
2719
|
};
|
|
2823
|
-
const se_ConditionBasedCollectionScheme = (input, context) => {
|
|
2824
|
-
return {
|
|
2825
|
-
...(input.conditionLanguageVersion != null && { conditionLanguageVersion: input.conditionLanguageVersion }),
|
|
2826
|
-
...(input.expression != null && { expression: input.expression }),
|
|
2827
|
-
...(input.minimumTriggerIntervalMs != null && { minimumTriggerIntervalMs: input.minimumTriggerIntervalMs }),
|
|
2828
|
-
...(input.triggerMode != null && { triggerMode: input.triggerMode }),
|
|
2829
|
-
};
|
|
2830
|
-
};
|
|
2831
2720
|
const se_CreateCampaignRequest = (input, context) => {
|
|
2832
|
-
return {
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
signalsToCollect: se_SignalInformationList(input.signalsToCollect, context),
|
|
2849
|
-
}),
|
|
2850
|
-
...(input.spoolingMode != null && { spoolingMode: input.spoolingMode }),
|
|
2851
|
-
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
2852
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2853
|
-
...(input.targetArn != null && { targetArn: input.targetArn }),
|
|
2854
|
-
};
|
|
2855
|
-
};
|
|
2856
|
-
const se_CreateDecoderManifestRequest = (input, context) => {
|
|
2857
|
-
return {
|
|
2858
|
-
...(input.description != null && { description: input.description }),
|
|
2859
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
2860
|
-
...(input.name != null && { name: input.name }),
|
|
2861
|
-
...(input.networkInterfaces != null && {
|
|
2862
|
-
networkInterfaces: se_NetworkInterfaces(input.networkInterfaces, context),
|
|
2863
|
-
}),
|
|
2864
|
-
...(input.signalDecoders != null && { signalDecoders: se_SignalDecoders(input.signalDecoders, context) }),
|
|
2865
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2866
|
-
};
|
|
2867
|
-
};
|
|
2868
|
-
const se_CreateFleetRequest = (input, context) => {
|
|
2869
|
-
return {
|
|
2870
|
-
...(input.description != null && { description: input.description }),
|
|
2871
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
2872
|
-
...(input.signalCatalogArn != null && { signalCatalogArn: input.signalCatalogArn }),
|
|
2873
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2874
|
-
};
|
|
2875
|
-
};
|
|
2876
|
-
const se_CreateModelManifestRequest = (input, context) => {
|
|
2877
|
-
return {
|
|
2878
|
-
...(input.description != null && { description: input.description }),
|
|
2879
|
-
...(input.name != null && { name: input.name }),
|
|
2880
|
-
...(input.nodes != null && { nodes: se_listOfStrings(input.nodes, context) }),
|
|
2881
|
-
...(input.signalCatalogArn != null && { signalCatalogArn: input.signalCatalogArn }),
|
|
2882
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2883
|
-
};
|
|
2884
|
-
};
|
|
2885
|
-
const se_CreateSignalCatalogRequest = (input, context) => {
|
|
2886
|
-
return {
|
|
2887
|
-
...(input.description != null && { description: input.description }),
|
|
2888
|
-
...(input.name != null && { name: input.name }),
|
|
2889
|
-
...(input.nodes != null && { nodes: se_Nodes(input.nodes, context) }),
|
|
2890
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2891
|
-
};
|
|
2892
|
-
};
|
|
2893
|
-
const se_CreateVehicleRequest = (input, context) => {
|
|
2894
|
-
return {
|
|
2895
|
-
...(input.associationBehavior != null && { associationBehavior: input.associationBehavior }),
|
|
2896
|
-
...(input.attributes != null && { attributes: se_attributesMap(input.attributes, context) }),
|
|
2897
|
-
...(input.decoderManifestArn != null && { decoderManifestArn: input.decoderManifestArn }),
|
|
2898
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
2899
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2900
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
2901
|
-
};
|
|
2902
|
-
};
|
|
2903
|
-
const se_CreateVehicleRequestItem = (input, context) => {
|
|
2904
|
-
return {
|
|
2905
|
-
...(input.associationBehavior != null && { associationBehavior: input.associationBehavior }),
|
|
2906
|
-
...(input.attributes != null && { attributes: se_attributesMap(input.attributes, context) }),
|
|
2907
|
-
...(input.decoderManifestArn != null && { decoderManifestArn: input.decoderManifestArn }),
|
|
2908
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
2909
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2910
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
2911
|
-
};
|
|
2912
|
-
};
|
|
2913
|
-
const se_createVehicleRequestItems = (input, context) => {
|
|
2914
|
-
return input
|
|
2915
|
-
.filter((e) => e != null)
|
|
2916
|
-
.map((entry) => {
|
|
2917
|
-
return se_CreateVehicleRequestItem(entry, context);
|
|
2918
|
-
});
|
|
2919
|
-
};
|
|
2920
|
-
const se_DataExtraDimensionNodePathList = (input, context) => {
|
|
2921
|
-
return input
|
|
2922
|
-
.filter((e) => e != null)
|
|
2923
|
-
.map((entry) => {
|
|
2924
|
-
return entry;
|
|
2721
|
+
return take(input, {
|
|
2722
|
+
collectionScheme: _json,
|
|
2723
|
+
compression: [],
|
|
2724
|
+
dataExtraDimensions: _json,
|
|
2725
|
+
description: [],
|
|
2726
|
+
diagnosticsMode: [],
|
|
2727
|
+
expiryTime: (_) => Math.round(_.getTime() / 1000),
|
|
2728
|
+
name: [],
|
|
2729
|
+
postTriggerCollectionDuration: [],
|
|
2730
|
+
priority: [],
|
|
2731
|
+
signalCatalogArn: [],
|
|
2732
|
+
signalsToCollect: _json,
|
|
2733
|
+
spoolingMode: [],
|
|
2734
|
+
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
2735
|
+
tags: _json,
|
|
2736
|
+
targetArn: [],
|
|
2925
2737
|
});
|
|
2926
2738
|
};
|
|
2927
|
-
const
|
|
2928
|
-
return {
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
};
|
|
2936
|
-
};
|
|
2937
|
-
const se_DeleteFleetRequest = (input, context) => {
|
|
2938
|
-
return {
|
|
2939
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
2940
|
-
};
|
|
2941
|
-
};
|
|
2942
|
-
const se_DeleteModelManifestRequest = (input, context) => {
|
|
2943
|
-
return {
|
|
2944
|
-
...(input.name != null && { name: input.name }),
|
|
2945
|
-
};
|
|
2946
|
-
};
|
|
2947
|
-
const se_DeleteSignalCatalogRequest = (input, context) => {
|
|
2948
|
-
return {
|
|
2949
|
-
...(input.name != null && { name: input.name }),
|
|
2950
|
-
};
|
|
2951
|
-
};
|
|
2952
|
-
const se_DeleteVehicleRequest = (input, context) => {
|
|
2953
|
-
return {
|
|
2954
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
2955
|
-
};
|
|
2956
|
-
};
|
|
2957
|
-
const se_DisassociateVehicleFleetRequest = (input, context) => {
|
|
2958
|
-
return {
|
|
2959
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
2960
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
2961
|
-
};
|
|
2962
|
-
};
|
|
2963
|
-
const se_FormattedVss = (input, context) => {
|
|
2964
|
-
return FormattedVss.visit(input, {
|
|
2965
|
-
vssJson: (value) => ({ vssJson: value }),
|
|
2966
|
-
_: (name, value) => ({ name: value }),
|
|
2739
|
+
const se_CreateDecoderManifestRequest = (input, context) => {
|
|
2740
|
+
return take(input, {
|
|
2741
|
+
description: [],
|
|
2742
|
+
modelManifestArn: [],
|
|
2743
|
+
name: [],
|
|
2744
|
+
networkInterfaces: _json,
|
|
2745
|
+
signalDecoders: (_) => se_SignalDecoders(_, context),
|
|
2746
|
+
tags: _json,
|
|
2967
2747
|
});
|
|
2968
2748
|
};
|
|
2969
|
-
const
|
|
2970
|
-
return input
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2749
|
+
const se_CreateSignalCatalogRequest = (input, context) => {
|
|
2750
|
+
return take(input, {
|
|
2751
|
+
description: [],
|
|
2752
|
+
name: [],
|
|
2753
|
+
nodes: (_) => se_Nodes(_, context),
|
|
2754
|
+
tags: _json,
|
|
2974
2755
|
});
|
|
2975
2756
|
};
|
|
2976
|
-
const se_GetCampaignRequest = (input, context) => {
|
|
2977
|
-
return {
|
|
2978
|
-
...(input.name != null && { name: input.name }),
|
|
2979
|
-
};
|
|
2980
|
-
};
|
|
2981
|
-
const se_GetDecoderManifestRequest = (input, context) => {
|
|
2982
|
-
return {
|
|
2983
|
-
...(input.name != null && { name: input.name }),
|
|
2984
|
-
};
|
|
2985
|
-
};
|
|
2986
|
-
const se_GetFleetRequest = (input, context) => {
|
|
2987
|
-
return {
|
|
2988
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
2989
|
-
};
|
|
2990
|
-
};
|
|
2991
|
-
const se_GetLoggingOptionsRequest = (input, context) => {
|
|
2992
|
-
return {};
|
|
2993
|
-
};
|
|
2994
|
-
const se_GetModelManifestRequest = (input, context) => {
|
|
2995
|
-
return {
|
|
2996
|
-
...(input.name != null && { name: input.name }),
|
|
2997
|
-
};
|
|
2998
|
-
};
|
|
2999
|
-
const se_GetRegisterAccountStatusRequest = (input, context) => {
|
|
3000
|
-
return {};
|
|
3001
|
-
};
|
|
3002
|
-
const se_GetSignalCatalogRequest = (input, context) => {
|
|
3003
|
-
return {
|
|
3004
|
-
...(input.name != null && { name: input.name }),
|
|
3005
|
-
};
|
|
3006
|
-
};
|
|
3007
|
-
const se_GetVehicleRequest = (input, context) => {
|
|
3008
|
-
return {
|
|
3009
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
3010
|
-
};
|
|
3011
|
-
};
|
|
3012
|
-
const se_GetVehicleStatusRequest = (input, context) => {
|
|
3013
|
-
return {
|
|
3014
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3015
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3016
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
3017
|
-
};
|
|
3018
|
-
};
|
|
3019
|
-
const se_IamResources = (input, context) => {
|
|
3020
|
-
return {
|
|
3021
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
3022
|
-
};
|
|
3023
|
-
};
|
|
3024
2757
|
const se_ImportDecoderManifestRequest = (input, context) => {
|
|
3025
|
-
return {
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
networkFileDefinitions: se_NetworkFileDefinitions(input.networkFileDefinitions, context),
|
|
3029
|
-
}),
|
|
3030
|
-
};
|
|
3031
|
-
};
|
|
3032
|
-
const se_ImportSignalCatalogRequest = (input, context) => {
|
|
3033
|
-
return {
|
|
3034
|
-
...(input.description != null && { description: input.description }),
|
|
3035
|
-
...(input.name != null && { name: input.name }),
|
|
3036
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3037
|
-
...(input.vss != null && { vss: se_FormattedVss(input.vss, context) }),
|
|
3038
|
-
};
|
|
3039
|
-
};
|
|
3040
|
-
const se_InterfaceIds = (input, context) => {
|
|
3041
|
-
return input
|
|
3042
|
-
.filter((e) => e != null)
|
|
3043
|
-
.map((entry) => {
|
|
3044
|
-
return entry;
|
|
2758
|
+
return take(input, {
|
|
2759
|
+
name: [],
|
|
2760
|
+
networkFileDefinitions: (_) => se_NetworkFileDefinitions(_, context),
|
|
3045
2761
|
});
|
|
3046
2762
|
};
|
|
3047
|
-
const se_ListCampaignsRequest = (input, context) => {
|
|
3048
|
-
return {
|
|
3049
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3050
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3051
|
-
...(input.status != null && { status: input.status }),
|
|
3052
|
-
};
|
|
3053
|
-
};
|
|
3054
|
-
const se_ListDecoderManifestNetworkInterfacesRequest = (input, context) => {
|
|
3055
|
-
return {
|
|
3056
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3057
|
-
...(input.name != null && { name: input.name }),
|
|
3058
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3059
|
-
};
|
|
3060
|
-
};
|
|
3061
|
-
const se_ListDecoderManifestSignalsRequest = (input, context) => {
|
|
3062
|
-
return {
|
|
3063
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3064
|
-
...(input.name != null && { name: input.name }),
|
|
3065
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3066
|
-
};
|
|
3067
|
-
};
|
|
3068
|
-
const se_ListDecoderManifestsRequest = (input, context) => {
|
|
3069
|
-
return {
|
|
3070
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3071
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
3072
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3073
|
-
};
|
|
3074
|
-
};
|
|
3075
|
-
const se_ListFleetsForVehicleRequest = (input, context) => {
|
|
3076
|
-
return {
|
|
3077
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3078
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3079
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
3080
|
-
};
|
|
3081
|
-
};
|
|
3082
|
-
const se_ListFleetsRequest = (input, context) => {
|
|
3083
|
-
return {
|
|
3084
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3085
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3086
|
-
};
|
|
3087
|
-
};
|
|
3088
|
-
const se_ListModelManifestNodesRequest = (input, context) => {
|
|
3089
|
-
return {
|
|
3090
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3091
|
-
...(input.name != null && { name: input.name }),
|
|
3092
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3093
|
-
};
|
|
3094
|
-
};
|
|
3095
|
-
const se_ListModelManifestsRequest = (input, context) => {
|
|
3096
|
-
return {
|
|
3097
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3098
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3099
|
-
...(input.signalCatalogArn != null && { signalCatalogArn: input.signalCatalogArn }),
|
|
3100
|
-
};
|
|
3101
|
-
};
|
|
3102
|
-
const se_listOfStrings = (input, context) => {
|
|
3103
|
-
return input
|
|
3104
|
-
.filter((e) => e != null)
|
|
3105
|
-
.map((entry) => {
|
|
3106
|
-
return entry;
|
|
3107
|
-
});
|
|
3108
|
-
};
|
|
3109
|
-
const se_ListSignalCatalogNodesRequest = (input, context) => {
|
|
3110
|
-
return {
|
|
3111
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3112
|
-
...(input.name != null && { name: input.name }),
|
|
3113
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3114
|
-
};
|
|
3115
|
-
};
|
|
3116
|
-
const se_ListSignalCatalogsRequest = (input, context) => {
|
|
3117
|
-
return {
|
|
3118
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3119
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3120
|
-
};
|
|
3121
|
-
};
|
|
3122
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
3123
|
-
return {
|
|
3124
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3125
|
-
};
|
|
3126
|
-
};
|
|
3127
|
-
const se_ListVehiclesInFleetRequest = (input, context) => {
|
|
3128
|
-
return {
|
|
3129
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
3130
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3131
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3132
|
-
};
|
|
3133
|
-
};
|
|
3134
|
-
const se_ListVehiclesRequest = (input, context) => {
|
|
3135
|
-
return {
|
|
3136
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3137
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
3138
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3139
|
-
};
|
|
3140
|
-
};
|
|
3141
|
-
const se_ModelSignalsMap = (input, context) => {
|
|
3142
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3143
|
-
if (value === null) {
|
|
3144
|
-
return acc;
|
|
3145
|
-
}
|
|
3146
|
-
acc[key] = value;
|
|
3147
|
-
return acc;
|
|
3148
|
-
}, {});
|
|
3149
|
-
};
|
|
3150
2763
|
const se_NetworkFileDefinition = (input, context) => {
|
|
3151
2764
|
return NetworkFileDefinition.visit(input, {
|
|
3152
2765
|
canDbc: (value) => ({ canDbc: se_CanDbcDefinition(value, context) }),
|
|
@@ -3167,37 +2780,15 @@ const se_NetworkFilesList = (input, context) => {
|
|
|
3167
2780
|
return context.base64Encoder(entry);
|
|
3168
2781
|
});
|
|
3169
2782
|
};
|
|
3170
|
-
const se_NetworkInterface = (input, context) => {
|
|
3171
|
-
return {
|
|
3172
|
-
...(input.canInterface != null && { canInterface: se_CanInterface(input.canInterface, context) }),
|
|
3173
|
-
...(input.interfaceId != null && { interfaceId: input.interfaceId }),
|
|
3174
|
-
...(input.obdInterface != null && { obdInterface: se_ObdInterface(input.obdInterface, context) }),
|
|
3175
|
-
...(input.type != null && { type: input.type }),
|
|
3176
|
-
};
|
|
3177
|
-
};
|
|
3178
|
-
const se_NetworkInterfaces = (input, context) => {
|
|
3179
|
-
return input
|
|
3180
|
-
.filter((e) => e != null)
|
|
3181
|
-
.map((entry) => {
|
|
3182
|
-
return se_NetworkInterface(entry, context);
|
|
3183
|
-
});
|
|
3184
|
-
};
|
|
3185
2783
|
const se_Node = (input, context) => {
|
|
3186
2784
|
return Node.visit(input, {
|
|
3187
2785
|
actuator: (value) => ({ actuator: se_Actuator(value, context) }),
|
|
3188
2786
|
attribute: (value) => ({ attribute: se_Attribute(value, context) }),
|
|
3189
|
-
branch: (value) => ({ branch:
|
|
2787
|
+
branch: (value) => ({ branch: _json(value) }),
|
|
3190
2788
|
sensor: (value) => ({ sensor: se_Sensor(value, context) }),
|
|
3191
2789
|
_: (name, value) => ({ name: value }),
|
|
3192
2790
|
});
|
|
3193
2791
|
};
|
|
3194
|
-
const se_NodePaths = (input, context) => {
|
|
3195
|
-
return input
|
|
3196
|
-
.filter((e) => e != null)
|
|
3197
|
-
.map((entry) => {
|
|
3198
|
-
return entry;
|
|
3199
|
-
});
|
|
3200
|
-
};
|
|
3201
2792
|
const se_Nodes = (input, context) => {
|
|
3202
2793
|
return input
|
|
3203
2794
|
.filter((e) => e != null)
|
|
@@ -3205,64 +2796,38 @@ const se_Nodes = (input, context) => {
|
|
|
3205
2796
|
return se_Node(entry, context);
|
|
3206
2797
|
});
|
|
3207
2798
|
};
|
|
3208
|
-
const se_ObdInterface = (input, context) => {
|
|
3209
|
-
return {
|
|
3210
|
-
...(input.dtcRequestIntervalSeconds != null && { dtcRequestIntervalSeconds: input.dtcRequestIntervalSeconds }),
|
|
3211
|
-
...(input.hasTransmissionEcu != null && { hasTransmissionEcu: input.hasTransmissionEcu }),
|
|
3212
|
-
...(input.name != null && { name: input.name }),
|
|
3213
|
-
...(input.obdStandard != null && { obdStandard: input.obdStandard }),
|
|
3214
|
-
...(input.pidRequestIntervalSeconds != null && { pidRequestIntervalSeconds: input.pidRequestIntervalSeconds }),
|
|
3215
|
-
...(input.requestMessageId != null && { requestMessageId: input.requestMessageId }),
|
|
3216
|
-
...(input.useExtendedIds != null && { useExtendedIds: input.useExtendedIds }),
|
|
3217
|
-
};
|
|
3218
|
-
};
|
|
3219
2799
|
const se_ObdSignal = (input, context) => {
|
|
3220
|
-
return {
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
};
|
|
3231
|
-
};
|
|
3232
|
-
const se_PutLoggingOptionsRequest = (input, context) => {
|
|
3233
|
-
return {
|
|
3234
|
-
...(input.cloudWatchLogDelivery != null && {
|
|
3235
|
-
cloudWatchLogDelivery: se_CloudWatchLogDeliveryOptions(input.cloudWatchLogDelivery, context),
|
|
3236
|
-
}),
|
|
3237
|
-
};
|
|
3238
|
-
};
|
|
3239
|
-
const se_RegisterAccountRequest = (input, context) => {
|
|
3240
|
-
return {
|
|
3241
|
-
...(input.iamResources != null && { iamResources: se_IamResources(input.iamResources, context) }),
|
|
3242
|
-
...(input.timestreamResources != null && {
|
|
3243
|
-
timestreamResources: se_TimestreamResources(input.timestreamResources, context),
|
|
3244
|
-
}),
|
|
3245
|
-
};
|
|
2800
|
+
return take(input, {
|
|
2801
|
+
bitMaskLength: [],
|
|
2802
|
+
bitRightShift: [],
|
|
2803
|
+
byteLength: [],
|
|
2804
|
+
offset: __serializeFloat,
|
|
2805
|
+
pid: [],
|
|
2806
|
+
pidResponseLength: [],
|
|
2807
|
+
scaling: __serializeFloat,
|
|
2808
|
+
serviceMode: [],
|
|
2809
|
+
startByte: [],
|
|
2810
|
+
});
|
|
3246
2811
|
};
|
|
3247
2812
|
const se_Sensor = (input, context) => {
|
|
3248
|
-
return {
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
};
|
|
2813
|
+
return take(input, {
|
|
2814
|
+
allowedValues: _json,
|
|
2815
|
+
dataType: [],
|
|
2816
|
+
description: [],
|
|
2817
|
+
fullyQualifiedName: [],
|
|
2818
|
+
max: __serializeFloat,
|
|
2819
|
+
min: __serializeFloat,
|
|
2820
|
+
unit: [],
|
|
2821
|
+
});
|
|
3257
2822
|
};
|
|
3258
2823
|
const se_SignalDecoder = (input, context) => {
|
|
3259
|
-
return {
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
};
|
|
2824
|
+
return take(input, {
|
|
2825
|
+
canSignal: (_) => se_CanSignal(_, context),
|
|
2826
|
+
fullyQualifiedName: [],
|
|
2827
|
+
interfaceId: [],
|
|
2828
|
+
obdSignal: (_) => se_ObdSignal(_, context),
|
|
2829
|
+
type: [],
|
|
2830
|
+
});
|
|
3266
2831
|
};
|
|
3267
2832
|
const se_SignalDecoders = (input, context) => {
|
|
3268
2833
|
return input
|
|
@@ -3271,848 +2836,286 @@ const se_SignalDecoders = (input, context) => {
|
|
|
3271
2836
|
return se_SignalDecoder(entry, context);
|
|
3272
2837
|
});
|
|
3273
2838
|
};
|
|
3274
|
-
const se_SignalInformation = (input, context) => {
|
|
3275
|
-
return {
|
|
3276
|
-
...(input.maxSampleCount != null && { maxSampleCount: input.maxSampleCount }),
|
|
3277
|
-
...(input.minimumSamplingIntervalMs != null && { minimumSamplingIntervalMs: input.minimumSamplingIntervalMs }),
|
|
3278
|
-
...(input.name != null && { name: input.name }),
|
|
3279
|
-
};
|
|
3280
|
-
};
|
|
3281
|
-
const se_SignalInformationList = (input, context) => {
|
|
3282
|
-
return input
|
|
3283
|
-
.filter((e) => e != null)
|
|
3284
|
-
.map((entry) => {
|
|
3285
|
-
return se_SignalInformation(entry, context);
|
|
3286
|
-
});
|
|
3287
|
-
};
|
|
3288
|
-
const se_Tag = (input, context) => {
|
|
3289
|
-
return {
|
|
3290
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3291
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3292
|
-
};
|
|
3293
|
-
};
|
|
3294
|
-
const se_TagKeyList = (input, context) => {
|
|
3295
|
-
return input
|
|
3296
|
-
.filter((e) => e != null)
|
|
3297
|
-
.map((entry) => {
|
|
3298
|
-
return entry;
|
|
3299
|
-
});
|
|
3300
|
-
};
|
|
3301
|
-
const se_TagList = (input, context) => {
|
|
3302
|
-
return input
|
|
3303
|
-
.filter((e) => e != null)
|
|
3304
|
-
.map((entry) => {
|
|
3305
|
-
return se_Tag(entry, context);
|
|
3306
|
-
});
|
|
3307
|
-
};
|
|
3308
|
-
const se_TagResourceRequest = (input, context) => {
|
|
3309
|
-
return {
|
|
3310
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3311
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3312
|
-
};
|
|
3313
|
-
};
|
|
3314
|
-
const se_TimeBasedCollectionScheme = (input, context) => {
|
|
3315
|
-
return {
|
|
3316
|
-
...(input.periodMs != null && { periodMs: input.periodMs }),
|
|
3317
|
-
};
|
|
3318
|
-
};
|
|
3319
|
-
const se_TimestreamResources = (input, context) => {
|
|
3320
|
-
return {
|
|
3321
|
-
...(input.timestreamDatabaseName != null && { timestreamDatabaseName: input.timestreamDatabaseName }),
|
|
3322
|
-
...(input.timestreamTableName != null && { timestreamTableName: input.timestreamTableName }),
|
|
3323
|
-
};
|
|
3324
|
-
};
|
|
3325
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
3326
|
-
return {
|
|
3327
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3328
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
3329
|
-
};
|
|
3330
|
-
};
|
|
3331
|
-
const se_UpdateCampaignRequest = (input, context) => {
|
|
3332
|
-
return {
|
|
3333
|
-
...(input.action != null && { action: input.action }),
|
|
3334
|
-
...(input.dataExtraDimensions != null && {
|
|
3335
|
-
dataExtraDimensions: se_DataExtraDimensionNodePathList(input.dataExtraDimensions, context),
|
|
3336
|
-
}),
|
|
3337
|
-
...(input.description != null && { description: input.description }),
|
|
3338
|
-
...(input.name != null && { name: input.name }),
|
|
3339
|
-
};
|
|
3340
|
-
};
|
|
3341
2839
|
const se_UpdateDecoderManifestRequest = (input, context) => {
|
|
3342
|
-
return {
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
networkInterfacesToUpdate: se_NetworkInterfaces(input.networkInterfacesToUpdate, context),
|
|
3353
|
-
}),
|
|
3354
|
-
...(input.signalDecodersToAdd != null && {
|
|
3355
|
-
signalDecodersToAdd: se_SignalDecoders(input.signalDecodersToAdd, context),
|
|
3356
|
-
}),
|
|
3357
|
-
...(input.signalDecodersToRemove != null && {
|
|
3358
|
-
signalDecodersToRemove: se_Fqns(input.signalDecodersToRemove, context),
|
|
3359
|
-
}),
|
|
3360
|
-
...(input.signalDecodersToUpdate != null && {
|
|
3361
|
-
signalDecodersToUpdate: se_SignalDecoders(input.signalDecodersToUpdate, context),
|
|
3362
|
-
}),
|
|
3363
|
-
...(input.status != null && { status: input.status }),
|
|
3364
|
-
};
|
|
3365
|
-
};
|
|
3366
|
-
const se_UpdateFleetRequest = (input, context) => {
|
|
3367
|
-
return {
|
|
3368
|
-
...(input.description != null && { description: input.description }),
|
|
3369
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
3370
|
-
};
|
|
3371
|
-
};
|
|
3372
|
-
const se_UpdateModelManifestRequest = (input, context) => {
|
|
3373
|
-
return {
|
|
3374
|
-
...(input.description != null && { description: input.description }),
|
|
3375
|
-
...(input.name != null && { name: input.name }),
|
|
3376
|
-
...(input.nodesToAdd != null && { nodesToAdd: se_NodePaths(input.nodesToAdd, context) }),
|
|
3377
|
-
...(input.nodesToRemove != null && { nodesToRemove: se_NodePaths(input.nodesToRemove, context) }),
|
|
3378
|
-
...(input.status != null && { status: input.status }),
|
|
3379
|
-
};
|
|
3380
|
-
};
|
|
3381
|
-
const se_UpdateSignalCatalogRequest = (input, context) => {
|
|
3382
|
-
return {
|
|
3383
|
-
...(input.description != null && { description: input.description }),
|
|
3384
|
-
...(input.name != null && { name: input.name }),
|
|
3385
|
-
...(input.nodesToAdd != null && { nodesToAdd: se_Nodes(input.nodesToAdd, context) }),
|
|
3386
|
-
...(input.nodesToRemove != null && { nodesToRemove: se_NodePaths(input.nodesToRemove, context) }),
|
|
3387
|
-
...(input.nodesToUpdate != null && { nodesToUpdate: se_Nodes(input.nodesToUpdate, context) }),
|
|
3388
|
-
};
|
|
3389
|
-
};
|
|
3390
|
-
const se_UpdateVehicleRequest = (input, context) => {
|
|
3391
|
-
return {
|
|
3392
|
-
...(input.attributeUpdateMode != null && { attributeUpdateMode: input.attributeUpdateMode }),
|
|
3393
|
-
...(input.attributes != null && { attributes: se_attributesMap(input.attributes, context) }),
|
|
3394
|
-
...(input.decoderManifestArn != null && { decoderManifestArn: input.decoderManifestArn }),
|
|
3395
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
3396
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
3397
|
-
};
|
|
3398
|
-
};
|
|
3399
|
-
const se_UpdateVehicleRequestItem = (input, context) => {
|
|
3400
|
-
return {
|
|
3401
|
-
...(input.attributeUpdateMode != null && { attributeUpdateMode: input.attributeUpdateMode }),
|
|
3402
|
-
...(input.attributes != null && { attributes: se_attributesMap(input.attributes, context) }),
|
|
3403
|
-
...(input.decoderManifestArn != null && { decoderManifestArn: input.decoderManifestArn }),
|
|
3404
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
3405
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
3406
|
-
};
|
|
3407
|
-
};
|
|
3408
|
-
const se_updateVehicleRequestItems = (input, context) => {
|
|
3409
|
-
return input
|
|
3410
|
-
.filter((e) => e != null)
|
|
3411
|
-
.map((entry) => {
|
|
3412
|
-
return se_UpdateVehicleRequestItem(entry, context);
|
|
3413
|
-
});
|
|
3414
|
-
};
|
|
3415
|
-
const de_AccessDeniedException = (output, context) => {
|
|
3416
|
-
return {
|
|
3417
|
-
message: __expectString(output.message),
|
|
3418
|
-
};
|
|
3419
|
-
};
|
|
3420
|
-
const de_Actuator = (output, context) => {
|
|
3421
|
-
return {
|
|
3422
|
-
allowedValues: output.allowedValues != null ? de_listOfStrings(output.allowedValues, context) : undefined,
|
|
3423
|
-
assignedValue: __expectString(output.assignedValue),
|
|
3424
|
-
dataType: __expectString(output.dataType),
|
|
3425
|
-
description: __expectString(output.description),
|
|
3426
|
-
fullyQualifiedName: __expectString(output.fullyQualifiedName),
|
|
3427
|
-
max: __limitedParseDouble(output.max),
|
|
3428
|
-
min: __limitedParseDouble(output.min),
|
|
3429
|
-
unit: __expectString(output.unit),
|
|
3430
|
-
};
|
|
3431
|
-
};
|
|
3432
|
-
const de_AssociateVehicleFleetResponse = (output, context) => {
|
|
3433
|
-
return {};
|
|
3434
|
-
};
|
|
3435
|
-
const de_Attribute = (output, context) => {
|
|
3436
|
-
return {
|
|
3437
|
-
allowedValues: output.allowedValues != null ? de_listOfStrings(output.allowedValues, context) : undefined,
|
|
3438
|
-
assignedValue: __expectString(output.assignedValue),
|
|
3439
|
-
dataType: __expectString(output.dataType),
|
|
3440
|
-
defaultValue: __expectString(output.defaultValue),
|
|
3441
|
-
description: __expectString(output.description),
|
|
3442
|
-
fullyQualifiedName: __expectString(output.fullyQualifiedName),
|
|
3443
|
-
max: __limitedParseDouble(output.max),
|
|
3444
|
-
min: __limitedParseDouble(output.min),
|
|
3445
|
-
unit: __expectString(output.unit),
|
|
3446
|
-
};
|
|
3447
|
-
};
|
|
3448
|
-
const de_attributesMap = (output, context) => {
|
|
3449
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3450
|
-
if (value === null) {
|
|
3451
|
-
return acc;
|
|
3452
|
-
}
|
|
3453
|
-
acc[key] = __expectString(value);
|
|
3454
|
-
return acc;
|
|
3455
|
-
}, {});
|
|
3456
|
-
};
|
|
3457
|
-
const de_BatchCreateVehicleResponse = (output, context) => {
|
|
3458
|
-
return {
|
|
3459
|
-
errors: output.errors != null ? de_createVehicleErrors(output.errors, context) : undefined,
|
|
3460
|
-
vehicles: output.vehicles != null ? de_createVehicleResponses(output.vehicles, context) : undefined,
|
|
3461
|
-
};
|
|
3462
|
-
};
|
|
3463
|
-
const de_BatchUpdateVehicleResponse = (output, context) => {
|
|
3464
|
-
return {
|
|
3465
|
-
errors: output.errors != null ? de_updateVehicleErrors(output.errors, context) : undefined,
|
|
3466
|
-
vehicles: output.vehicles != null ? de_updateVehicleResponseItems(output.vehicles, context) : undefined,
|
|
3467
|
-
};
|
|
3468
|
-
};
|
|
3469
|
-
const de_Branch = (output, context) => {
|
|
3470
|
-
return {
|
|
3471
|
-
description: __expectString(output.description),
|
|
3472
|
-
fullyQualifiedName: __expectString(output.fullyQualifiedName),
|
|
3473
|
-
};
|
|
3474
|
-
};
|
|
3475
|
-
const de_campaignSummaries = (output, context) => {
|
|
3476
|
-
const retVal = (output || [])
|
|
3477
|
-
.filter((e) => e != null)
|
|
3478
|
-
.map((entry) => {
|
|
3479
|
-
if (entry === null) {
|
|
3480
|
-
return null;
|
|
3481
|
-
}
|
|
3482
|
-
return de_CampaignSummary(entry, context);
|
|
3483
|
-
});
|
|
3484
|
-
return retVal;
|
|
3485
|
-
};
|
|
3486
|
-
const de_CampaignSummary = (output, context) => {
|
|
3487
|
-
return {
|
|
3488
|
-
arn: __expectString(output.arn),
|
|
3489
|
-
creationTime: output.creationTime != null
|
|
3490
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
3491
|
-
: undefined,
|
|
3492
|
-
description: __expectString(output.description),
|
|
3493
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3494
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModificationTime)))
|
|
3495
|
-
: undefined,
|
|
3496
|
-
name: __expectString(output.name),
|
|
3497
|
-
signalCatalogArn: __expectString(output.signalCatalogArn),
|
|
3498
|
-
status: __expectString(output.status),
|
|
3499
|
-
targetArn: __expectString(output.targetArn),
|
|
3500
|
-
};
|
|
3501
|
-
};
|
|
3502
|
-
const de_CanInterface = (output, context) => {
|
|
3503
|
-
return {
|
|
3504
|
-
name: __expectString(output.name),
|
|
3505
|
-
protocolName: __expectString(output.protocolName),
|
|
3506
|
-
protocolVersion: __expectString(output.protocolVersion),
|
|
3507
|
-
};
|
|
3508
|
-
};
|
|
3509
|
-
const de_CanSignal = (output, context) => {
|
|
3510
|
-
return {
|
|
3511
|
-
factor: __limitedParseDouble(output.factor),
|
|
3512
|
-
isBigEndian: __expectBoolean(output.isBigEndian),
|
|
3513
|
-
isSigned: __expectBoolean(output.isSigned),
|
|
3514
|
-
length: __expectInt32(output.length),
|
|
3515
|
-
messageId: __expectInt32(output.messageId),
|
|
3516
|
-
name: __expectString(output.name),
|
|
3517
|
-
offset: __limitedParseDouble(output.offset),
|
|
3518
|
-
startBit: __expectInt32(output.startBit),
|
|
3519
|
-
};
|
|
3520
|
-
};
|
|
3521
|
-
const de_CloudWatchLogDeliveryOptions = (output, context) => {
|
|
3522
|
-
return {
|
|
3523
|
-
logGroupName: __expectString(output.logGroupName),
|
|
3524
|
-
logType: __expectString(output.logType),
|
|
3525
|
-
};
|
|
3526
|
-
};
|
|
3527
|
-
const de_CollectionScheme = (output, context) => {
|
|
3528
|
-
if (output.conditionBasedCollectionScheme != null) {
|
|
3529
|
-
return {
|
|
3530
|
-
conditionBasedCollectionScheme: de_ConditionBasedCollectionScheme(output.conditionBasedCollectionScheme, context),
|
|
3531
|
-
};
|
|
3532
|
-
}
|
|
3533
|
-
if (output.timeBasedCollectionScheme != null) {
|
|
3534
|
-
return {
|
|
3535
|
-
timeBasedCollectionScheme: de_TimeBasedCollectionScheme(output.timeBasedCollectionScheme, context),
|
|
3536
|
-
};
|
|
3537
|
-
}
|
|
3538
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3539
|
-
};
|
|
3540
|
-
const de_ConditionBasedCollectionScheme = (output, context) => {
|
|
3541
|
-
return {
|
|
3542
|
-
conditionLanguageVersion: __expectInt32(output.conditionLanguageVersion),
|
|
3543
|
-
expression: __expectString(output.expression),
|
|
3544
|
-
minimumTriggerIntervalMs: __expectLong(output.minimumTriggerIntervalMs),
|
|
3545
|
-
triggerMode: __expectString(output.triggerMode),
|
|
3546
|
-
};
|
|
3547
|
-
};
|
|
3548
|
-
const de_ConflictException = (output, context) => {
|
|
3549
|
-
return {
|
|
3550
|
-
message: __expectString(output.message),
|
|
3551
|
-
resource: __expectString(output.resource),
|
|
3552
|
-
resourceType: __expectString(output.resourceType),
|
|
3553
|
-
};
|
|
3554
|
-
};
|
|
3555
|
-
const de_CreateCampaignResponse = (output, context) => {
|
|
3556
|
-
return {
|
|
3557
|
-
arn: __expectString(output.arn),
|
|
3558
|
-
name: __expectString(output.name),
|
|
3559
|
-
};
|
|
3560
|
-
};
|
|
3561
|
-
const de_CreateDecoderManifestResponse = (output, context) => {
|
|
3562
|
-
return {
|
|
3563
|
-
arn: __expectString(output.arn),
|
|
3564
|
-
name: __expectString(output.name),
|
|
3565
|
-
};
|
|
3566
|
-
};
|
|
3567
|
-
const de_CreateFleetResponse = (output, context) => {
|
|
3568
|
-
return {
|
|
3569
|
-
arn: __expectString(output.arn),
|
|
3570
|
-
id: __expectString(output.id),
|
|
3571
|
-
};
|
|
3572
|
-
};
|
|
3573
|
-
const de_CreateModelManifestResponse = (output, context) => {
|
|
3574
|
-
return {
|
|
3575
|
-
arn: __expectString(output.arn),
|
|
3576
|
-
name: __expectString(output.name),
|
|
3577
|
-
};
|
|
3578
|
-
};
|
|
3579
|
-
const de_CreateSignalCatalogResponse = (output, context) => {
|
|
3580
|
-
return {
|
|
3581
|
-
arn: __expectString(output.arn),
|
|
3582
|
-
name: __expectString(output.name),
|
|
3583
|
-
};
|
|
3584
|
-
};
|
|
3585
|
-
const de_CreateVehicleError = (output, context) => {
|
|
3586
|
-
return {
|
|
3587
|
-
code: __expectString(output.code),
|
|
3588
|
-
message: __expectString(output.message),
|
|
3589
|
-
vehicleName: __expectString(output.vehicleName),
|
|
3590
|
-
};
|
|
3591
|
-
};
|
|
3592
|
-
const de_createVehicleErrors = (output, context) => {
|
|
3593
|
-
const retVal = (output || [])
|
|
3594
|
-
.filter((e) => e != null)
|
|
3595
|
-
.map((entry) => {
|
|
3596
|
-
if (entry === null) {
|
|
3597
|
-
return null;
|
|
3598
|
-
}
|
|
3599
|
-
return de_CreateVehicleError(entry, context);
|
|
3600
|
-
});
|
|
3601
|
-
return retVal;
|
|
3602
|
-
};
|
|
3603
|
-
const de_CreateVehicleResponse = (output, context) => {
|
|
3604
|
-
return {
|
|
3605
|
-
arn: __expectString(output.arn),
|
|
3606
|
-
thingArn: __expectString(output.thingArn),
|
|
3607
|
-
vehicleName: __expectString(output.vehicleName),
|
|
3608
|
-
};
|
|
3609
|
-
};
|
|
3610
|
-
const de_CreateVehicleResponseItem = (output, context) => {
|
|
3611
|
-
return {
|
|
3612
|
-
arn: __expectString(output.arn),
|
|
3613
|
-
thingArn: __expectString(output.thingArn),
|
|
3614
|
-
vehicleName: __expectString(output.vehicleName),
|
|
3615
|
-
};
|
|
3616
|
-
};
|
|
3617
|
-
const de_createVehicleResponses = (output, context) => {
|
|
3618
|
-
const retVal = (output || [])
|
|
3619
|
-
.filter((e) => e != null)
|
|
3620
|
-
.map((entry) => {
|
|
3621
|
-
if (entry === null) {
|
|
3622
|
-
return null;
|
|
3623
|
-
}
|
|
3624
|
-
return de_CreateVehicleResponseItem(entry, context);
|
|
3625
|
-
});
|
|
3626
|
-
return retVal;
|
|
3627
|
-
};
|
|
3628
|
-
const de_DataExtraDimensionNodePathList = (output, context) => {
|
|
3629
|
-
const retVal = (output || [])
|
|
3630
|
-
.filter((e) => e != null)
|
|
3631
|
-
.map((entry) => {
|
|
3632
|
-
if (entry === null) {
|
|
3633
|
-
return null;
|
|
3634
|
-
}
|
|
3635
|
-
return __expectString(entry);
|
|
3636
|
-
});
|
|
3637
|
-
return retVal;
|
|
3638
|
-
};
|
|
3639
|
-
const de_decoderManifestSummaries = (output, context) => {
|
|
3640
|
-
const retVal = (output || [])
|
|
3641
|
-
.filter((e) => e != null)
|
|
3642
|
-
.map((entry) => {
|
|
3643
|
-
if (entry === null) {
|
|
3644
|
-
return null;
|
|
3645
|
-
}
|
|
3646
|
-
return de_DecoderManifestSummary(entry, context);
|
|
3647
|
-
});
|
|
3648
|
-
return retVal;
|
|
3649
|
-
};
|
|
3650
|
-
const de_DecoderManifestSummary = (output, context) => {
|
|
3651
|
-
return {
|
|
3652
|
-
arn: __expectString(output.arn),
|
|
3653
|
-
creationTime: output.creationTime != null
|
|
3654
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
3655
|
-
: undefined,
|
|
3656
|
-
description: __expectString(output.description),
|
|
3657
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3658
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModificationTime)))
|
|
3659
|
-
: undefined,
|
|
3660
|
-
modelManifestArn: __expectString(output.modelManifestArn),
|
|
3661
|
-
name: __expectString(output.name),
|
|
3662
|
-
status: __expectString(output.status),
|
|
3663
|
-
};
|
|
3664
|
-
};
|
|
3665
|
-
const de_DecoderManifestValidationException = (output, context) => {
|
|
3666
|
-
return {
|
|
3667
|
-
invalidNetworkInterfaces: output.invalidNetworkInterfaces != null
|
|
3668
|
-
? de_InvalidNetworkInterfaces(output.invalidNetworkInterfaces, context)
|
|
3669
|
-
: undefined,
|
|
3670
|
-
invalidSignals: output.invalidSignals != null ? de_InvalidSignalDecoders(output.invalidSignals, context) : undefined,
|
|
3671
|
-
message: __expectString(output.message),
|
|
3672
|
-
};
|
|
3673
|
-
};
|
|
3674
|
-
const de_DeleteCampaignResponse = (output, context) => {
|
|
3675
|
-
return {
|
|
3676
|
-
arn: __expectString(output.arn),
|
|
3677
|
-
name: __expectString(output.name),
|
|
3678
|
-
};
|
|
3679
|
-
};
|
|
3680
|
-
const de_DeleteDecoderManifestResponse = (output, context) => {
|
|
3681
|
-
return {
|
|
3682
|
-
arn: __expectString(output.arn),
|
|
3683
|
-
name: __expectString(output.name),
|
|
3684
|
-
};
|
|
3685
|
-
};
|
|
3686
|
-
const de_DeleteFleetResponse = (output, context) => {
|
|
3687
|
-
return {
|
|
3688
|
-
arn: __expectString(output.arn),
|
|
3689
|
-
id: __expectString(output.id),
|
|
3690
|
-
};
|
|
3691
|
-
};
|
|
3692
|
-
const de_DeleteModelManifestResponse = (output, context) => {
|
|
3693
|
-
return {
|
|
3694
|
-
arn: __expectString(output.arn),
|
|
3695
|
-
name: __expectString(output.name),
|
|
3696
|
-
};
|
|
3697
|
-
};
|
|
3698
|
-
const de_DeleteSignalCatalogResponse = (output, context) => {
|
|
3699
|
-
return {
|
|
3700
|
-
arn: __expectString(output.arn),
|
|
3701
|
-
name: __expectString(output.name),
|
|
3702
|
-
};
|
|
3703
|
-
};
|
|
3704
|
-
const de_DeleteVehicleResponse = (output, context) => {
|
|
3705
|
-
return {
|
|
3706
|
-
arn: __expectString(output.arn),
|
|
3707
|
-
vehicleName: __expectString(output.vehicleName),
|
|
3708
|
-
};
|
|
3709
|
-
};
|
|
3710
|
-
const de_DisassociateVehicleFleetResponse = (output, context) => {
|
|
3711
|
-
return {};
|
|
3712
|
-
};
|
|
3713
|
-
const de_fleets = (output, context) => {
|
|
3714
|
-
const retVal = (output || [])
|
|
3715
|
-
.filter((e) => e != null)
|
|
3716
|
-
.map((entry) => {
|
|
3717
|
-
if (entry === null) {
|
|
3718
|
-
return null;
|
|
3719
|
-
}
|
|
3720
|
-
return __expectString(entry);
|
|
2840
|
+
return take(input, {
|
|
2841
|
+
description: [],
|
|
2842
|
+
name: [],
|
|
2843
|
+
networkInterfacesToAdd: _json,
|
|
2844
|
+
networkInterfacesToRemove: _json,
|
|
2845
|
+
networkInterfacesToUpdate: _json,
|
|
2846
|
+
signalDecodersToAdd: (_) => se_SignalDecoders(_, context),
|
|
2847
|
+
signalDecodersToRemove: _json,
|
|
2848
|
+
signalDecodersToUpdate: (_) => se_SignalDecoders(_, context),
|
|
2849
|
+
status: [],
|
|
3721
2850
|
});
|
|
3722
|
-
return retVal;
|
|
3723
|
-
};
|
|
3724
|
-
const de_fleetSummaries = (output, context) => {
|
|
3725
|
-
const retVal = (output || [])
|
|
3726
|
-
.filter((e) => e != null)
|
|
3727
|
-
.map((entry) => {
|
|
3728
|
-
if (entry === null) {
|
|
3729
|
-
return null;
|
|
3730
|
-
}
|
|
3731
|
-
return de_FleetSummary(entry, context);
|
|
3732
|
-
});
|
|
3733
|
-
return retVal;
|
|
3734
|
-
};
|
|
3735
|
-
const de_FleetSummary = (output, context) => {
|
|
3736
|
-
return {
|
|
3737
|
-
arn: __expectString(output.arn),
|
|
3738
|
-
creationTime: output.creationTime != null
|
|
3739
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
3740
|
-
: undefined,
|
|
3741
|
-
description: __expectString(output.description),
|
|
3742
|
-
id: __expectString(output.id),
|
|
3743
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3744
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModificationTime)))
|
|
3745
|
-
: undefined,
|
|
3746
|
-
signalCatalogArn: __expectString(output.signalCatalogArn),
|
|
3747
|
-
};
|
|
3748
|
-
};
|
|
3749
|
-
const de_GetCampaignResponse = (output, context) => {
|
|
3750
|
-
return {
|
|
3751
|
-
arn: __expectString(output.arn),
|
|
3752
|
-
collectionScheme: output.collectionScheme != null
|
|
3753
|
-
? de_CollectionScheme(__expectUnion(output.collectionScheme), context)
|
|
3754
|
-
: undefined,
|
|
3755
|
-
compression: __expectString(output.compression),
|
|
3756
|
-
creationTime: output.creationTime != null
|
|
3757
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
3758
|
-
: undefined,
|
|
3759
|
-
dataExtraDimensions: output.dataExtraDimensions != null
|
|
3760
|
-
? de_DataExtraDimensionNodePathList(output.dataExtraDimensions, context)
|
|
3761
|
-
: undefined,
|
|
3762
|
-
description: __expectString(output.description),
|
|
3763
|
-
diagnosticsMode: __expectString(output.diagnosticsMode),
|
|
3764
|
-
expiryTime: output.expiryTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expiryTime))) : undefined,
|
|
3765
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3766
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModificationTime)))
|
|
3767
|
-
: undefined,
|
|
3768
|
-
name: __expectString(output.name),
|
|
3769
|
-
postTriggerCollectionDuration: __expectLong(output.postTriggerCollectionDuration),
|
|
3770
|
-
priority: __expectInt32(output.priority),
|
|
3771
|
-
signalCatalogArn: __expectString(output.signalCatalogArn),
|
|
3772
|
-
signalsToCollect: output.signalsToCollect != null ? de_SignalInformationList(output.signalsToCollect, context) : undefined,
|
|
3773
|
-
spoolingMode: __expectString(output.spoolingMode),
|
|
3774
|
-
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
3775
|
-
status: __expectString(output.status),
|
|
3776
|
-
targetArn: __expectString(output.targetArn),
|
|
3777
|
-
};
|
|
3778
|
-
};
|
|
3779
|
-
const de_GetDecoderManifestResponse = (output, context) => {
|
|
3780
|
-
return {
|
|
3781
|
-
arn: __expectString(output.arn),
|
|
3782
|
-
creationTime: output.creationTime != null
|
|
3783
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
3784
|
-
: undefined,
|
|
3785
|
-
description: __expectString(output.description),
|
|
3786
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3787
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModificationTime)))
|
|
3788
|
-
: undefined,
|
|
3789
|
-
modelManifestArn: __expectString(output.modelManifestArn),
|
|
3790
|
-
name: __expectString(output.name),
|
|
3791
|
-
status: __expectString(output.status),
|
|
3792
|
-
};
|
|
3793
2851
|
};
|
|
3794
|
-
const
|
|
3795
|
-
return {
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3803
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModificationTime)))
|
|
3804
|
-
: undefined,
|
|
3805
|
-
signalCatalogArn: __expectString(output.signalCatalogArn),
|
|
3806
|
-
};
|
|
3807
|
-
};
|
|
3808
|
-
const de_GetLoggingOptionsResponse = (output, context) => {
|
|
3809
|
-
return {
|
|
3810
|
-
cloudWatchLogDelivery: output.cloudWatchLogDelivery != null
|
|
3811
|
-
? de_CloudWatchLogDeliveryOptions(output.cloudWatchLogDelivery, context)
|
|
3812
|
-
: undefined,
|
|
3813
|
-
};
|
|
3814
|
-
};
|
|
3815
|
-
const de_GetModelManifestResponse = (output, context) => {
|
|
3816
|
-
return {
|
|
3817
|
-
arn: __expectString(output.arn),
|
|
3818
|
-
creationTime: output.creationTime != null
|
|
3819
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
3820
|
-
: undefined,
|
|
3821
|
-
description: __expectString(output.description),
|
|
3822
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3823
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModificationTime)))
|
|
3824
|
-
: undefined,
|
|
3825
|
-
name: __expectString(output.name),
|
|
3826
|
-
signalCatalogArn: __expectString(output.signalCatalogArn),
|
|
3827
|
-
status: __expectString(output.status),
|
|
3828
|
-
};
|
|
3829
|
-
};
|
|
3830
|
-
const de_GetRegisterAccountStatusResponse = (output, context) => {
|
|
3831
|
-
return {
|
|
3832
|
-
accountStatus: __expectString(output.accountStatus),
|
|
3833
|
-
creationTime: output.creationTime != null
|
|
3834
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
3835
|
-
: undefined,
|
|
3836
|
-
customerAccountId: __expectString(output.customerAccountId),
|
|
3837
|
-
iamRegistrationResponse: output.iamRegistrationResponse != null
|
|
3838
|
-
? de_IamRegistrationResponse(output.iamRegistrationResponse, context)
|
|
3839
|
-
: undefined,
|
|
3840
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3841
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModificationTime)))
|
|
3842
|
-
: undefined,
|
|
3843
|
-
timestreamRegistrationResponse: output.timestreamRegistrationResponse != null
|
|
3844
|
-
? de_TimestreamRegistrationResponse(output.timestreamRegistrationResponse, context)
|
|
3845
|
-
: undefined,
|
|
3846
|
-
};
|
|
3847
|
-
};
|
|
3848
|
-
const de_GetSignalCatalogResponse = (output, context) => {
|
|
3849
|
-
return {
|
|
3850
|
-
arn: __expectString(output.arn),
|
|
3851
|
-
creationTime: output.creationTime != null
|
|
3852
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
3853
|
-
: undefined,
|
|
3854
|
-
description: __expectString(output.description),
|
|
3855
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3856
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModificationTime)))
|
|
3857
|
-
: undefined,
|
|
3858
|
-
name: __expectString(output.name),
|
|
3859
|
-
nodeCounts: output.nodeCounts != null ? de_NodeCounts(output.nodeCounts, context) : undefined,
|
|
3860
|
-
};
|
|
3861
|
-
};
|
|
3862
|
-
const de_GetVehicleResponse = (output, context) => {
|
|
3863
|
-
return {
|
|
3864
|
-
arn: __expectString(output.arn),
|
|
3865
|
-
attributes: output.attributes != null ? de_attributesMap(output.attributes, context) : undefined,
|
|
3866
|
-
creationTime: output.creationTime != null
|
|
3867
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
3868
|
-
: undefined,
|
|
3869
|
-
decoderManifestArn: __expectString(output.decoderManifestArn),
|
|
3870
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3871
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModificationTime)))
|
|
3872
|
-
: undefined,
|
|
3873
|
-
modelManifestArn: __expectString(output.modelManifestArn),
|
|
3874
|
-
vehicleName: __expectString(output.vehicleName),
|
|
3875
|
-
};
|
|
3876
|
-
};
|
|
3877
|
-
const de_GetVehicleStatusResponse = (output, context) => {
|
|
3878
|
-
return {
|
|
3879
|
-
campaigns: output.campaigns != null ? de_VehicleStatusList(output.campaigns, context) : undefined,
|
|
3880
|
-
nextToken: __expectString(output.nextToken),
|
|
3881
|
-
};
|
|
3882
|
-
};
|
|
3883
|
-
const de_IamRegistrationResponse = (output, context) => {
|
|
3884
|
-
return {
|
|
3885
|
-
errorMessage: __expectString(output.errorMessage),
|
|
3886
|
-
registrationStatus: __expectString(output.registrationStatus),
|
|
3887
|
-
roleArn: __expectString(output.roleArn),
|
|
3888
|
-
};
|
|
3889
|
-
};
|
|
3890
|
-
const de_IamResources = (output, context) => {
|
|
3891
|
-
return {
|
|
3892
|
-
roleArn: __expectString(output.roleArn),
|
|
3893
|
-
};
|
|
3894
|
-
};
|
|
3895
|
-
const de_ImportDecoderManifestResponse = (output, context) => {
|
|
3896
|
-
return {
|
|
3897
|
-
arn: __expectString(output.arn),
|
|
3898
|
-
name: __expectString(output.name),
|
|
3899
|
-
};
|
|
3900
|
-
};
|
|
3901
|
-
const de_ImportSignalCatalogResponse = (output, context) => {
|
|
3902
|
-
return {
|
|
3903
|
-
arn: __expectString(output.arn),
|
|
3904
|
-
name: __expectString(output.name),
|
|
3905
|
-
};
|
|
2852
|
+
const se_UpdateSignalCatalogRequest = (input, context) => {
|
|
2853
|
+
return take(input, {
|
|
2854
|
+
description: [],
|
|
2855
|
+
name: [],
|
|
2856
|
+
nodesToAdd: (_) => se_Nodes(_, context),
|
|
2857
|
+
nodesToRemove: _json,
|
|
2858
|
+
nodesToUpdate: (_) => se_Nodes(_, context),
|
|
2859
|
+
});
|
|
3906
2860
|
};
|
|
3907
|
-
const
|
|
3908
|
-
return {
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
2861
|
+
const de_Actuator = (output, context) => {
|
|
2862
|
+
return take(output, {
|
|
2863
|
+
allowedValues: _json,
|
|
2864
|
+
assignedValue: __expectString,
|
|
2865
|
+
dataType: __expectString,
|
|
2866
|
+
description: __expectString,
|
|
2867
|
+
fullyQualifiedName: __expectString,
|
|
2868
|
+
max: __limitedParseDouble,
|
|
2869
|
+
min: __limitedParseDouble,
|
|
2870
|
+
unit: __expectString,
|
|
2871
|
+
});
|
|
3912
2872
|
};
|
|
3913
|
-
const
|
|
3914
|
-
return {
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
2873
|
+
const de_Attribute = (output, context) => {
|
|
2874
|
+
return take(output, {
|
|
2875
|
+
allowedValues: _json,
|
|
2876
|
+
assignedValue: __expectString,
|
|
2877
|
+
dataType: __expectString,
|
|
2878
|
+
defaultValue: __expectString,
|
|
2879
|
+
description: __expectString,
|
|
2880
|
+
fullyQualifiedName: __expectString,
|
|
2881
|
+
max: __limitedParseDouble,
|
|
2882
|
+
min: __limitedParseDouble,
|
|
2883
|
+
unit: __expectString,
|
|
2884
|
+
});
|
|
3918
2885
|
};
|
|
3919
|
-
const
|
|
2886
|
+
const de_campaignSummaries = (output, context) => {
|
|
3920
2887
|
const retVal = (output || [])
|
|
3921
2888
|
.filter((e) => e != null)
|
|
3922
2889
|
.map((entry) => {
|
|
3923
|
-
|
|
3924
|
-
return null;
|
|
3925
|
-
}
|
|
3926
|
-
return de_InvalidNetworkInterface(entry, context);
|
|
2890
|
+
return de_CampaignSummary(entry, context);
|
|
3927
2891
|
});
|
|
3928
2892
|
return retVal;
|
|
3929
2893
|
};
|
|
3930
|
-
const
|
|
3931
|
-
return {
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
};
|
|
2894
|
+
const de_CampaignSummary = (output, context) => {
|
|
2895
|
+
return take(output, {
|
|
2896
|
+
arn: __expectString,
|
|
2897
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2898
|
+
description: __expectString,
|
|
2899
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2900
|
+
name: __expectString,
|
|
2901
|
+
signalCatalogArn: __expectString,
|
|
2902
|
+
status: __expectString,
|
|
2903
|
+
targetArn: __expectString,
|
|
2904
|
+
});
|
|
3942
2905
|
};
|
|
3943
|
-
const
|
|
3944
|
-
return {
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
2906
|
+
const de_CanSignal = (output, context) => {
|
|
2907
|
+
return take(output, {
|
|
2908
|
+
factor: __limitedParseDouble,
|
|
2909
|
+
isBigEndian: __expectBoolean,
|
|
2910
|
+
isSigned: __expectBoolean,
|
|
2911
|
+
length: __expectInt32,
|
|
2912
|
+
messageId: __expectInt32,
|
|
2913
|
+
name: __expectString,
|
|
2914
|
+
offset: __limitedParseDouble,
|
|
2915
|
+
startBit: __expectInt32,
|
|
2916
|
+
});
|
|
3948
2917
|
};
|
|
3949
|
-
const
|
|
2918
|
+
const de_decoderManifestSummaries = (output, context) => {
|
|
3950
2919
|
const retVal = (output || [])
|
|
3951
2920
|
.filter((e) => e != null)
|
|
3952
2921
|
.map((entry) => {
|
|
3953
|
-
|
|
3954
|
-
return null;
|
|
3955
|
-
}
|
|
3956
|
-
return de_InvalidSignalDecoder(entry, context);
|
|
2922
|
+
return de_DecoderManifestSummary(entry, context);
|
|
3957
2923
|
});
|
|
3958
2924
|
return retVal;
|
|
3959
2925
|
};
|
|
3960
|
-
const
|
|
2926
|
+
const de_DecoderManifestSummary = (output, context) => {
|
|
2927
|
+
return take(output, {
|
|
2928
|
+
arn: __expectString,
|
|
2929
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2930
|
+
description: __expectString,
|
|
2931
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2932
|
+
modelManifestArn: __expectString,
|
|
2933
|
+
name: __expectString,
|
|
2934
|
+
status: __expectString,
|
|
2935
|
+
});
|
|
2936
|
+
};
|
|
2937
|
+
const de_fleetSummaries = (output, context) => {
|
|
3961
2938
|
const retVal = (output || [])
|
|
3962
2939
|
.filter((e) => e != null)
|
|
3963
2940
|
.map((entry) => {
|
|
3964
|
-
|
|
3965
|
-
return null;
|
|
3966
|
-
}
|
|
3967
|
-
return de_InvalidSignal(entry, context);
|
|
2941
|
+
return de_FleetSummary(entry, context);
|
|
3968
2942
|
});
|
|
3969
2943
|
return retVal;
|
|
3970
2944
|
};
|
|
3971
|
-
const
|
|
3972
|
-
return {
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
2945
|
+
const de_FleetSummary = (output, context) => {
|
|
2946
|
+
return take(output, {
|
|
2947
|
+
arn: __expectString,
|
|
2948
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2949
|
+
description: __expectString,
|
|
2950
|
+
id: __expectString,
|
|
2951
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2952
|
+
signalCatalogArn: __expectString,
|
|
2953
|
+
});
|
|
3976
2954
|
};
|
|
3977
|
-
const
|
|
3978
|
-
return {
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
2955
|
+
const de_GetCampaignResponse = (output, context) => {
|
|
2956
|
+
return take(output, {
|
|
2957
|
+
arn: __expectString,
|
|
2958
|
+
collectionScheme: (_) => _json(__expectUnion(_)),
|
|
2959
|
+
compression: __expectString,
|
|
2960
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2961
|
+
dataExtraDimensions: _json,
|
|
2962
|
+
description: __expectString,
|
|
2963
|
+
diagnosticsMode: __expectString,
|
|
2964
|
+
expiryTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2965
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2966
|
+
name: __expectString,
|
|
2967
|
+
postTriggerCollectionDuration: __expectLong,
|
|
2968
|
+
priority: __expectInt32,
|
|
2969
|
+
signalCatalogArn: __expectString,
|
|
2970
|
+
signalsToCollect: _json,
|
|
2971
|
+
spoolingMode: __expectString,
|
|
2972
|
+
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2973
|
+
status: __expectString,
|
|
2974
|
+
targetArn: __expectString,
|
|
2975
|
+
});
|
|
3983
2976
|
};
|
|
3984
|
-
const
|
|
3985
|
-
return {
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
2977
|
+
const de_GetDecoderManifestResponse = (output, context) => {
|
|
2978
|
+
return take(output, {
|
|
2979
|
+
arn: __expectString,
|
|
2980
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2981
|
+
description: __expectString,
|
|
2982
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2983
|
+
modelManifestArn: __expectString,
|
|
2984
|
+
name: __expectString,
|
|
2985
|
+
status: __expectString,
|
|
2986
|
+
});
|
|
3989
2987
|
};
|
|
3990
|
-
const
|
|
3991
|
-
return {
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
2988
|
+
const de_GetFleetResponse = (output, context) => {
|
|
2989
|
+
return take(output, {
|
|
2990
|
+
arn: __expectString,
|
|
2991
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2992
|
+
description: __expectString,
|
|
2993
|
+
id: __expectString,
|
|
2994
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2995
|
+
signalCatalogArn: __expectString,
|
|
2996
|
+
});
|
|
2997
|
+
};
|
|
2998
|
+
const de_GetModelManifestResponse = (output, context) => {
|
|
2999
|
+
return take(output, {
|
|
3000
|
+
arn: __expectString,
|
|
3001
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3002
|
+
description: __expectString,
|
|
3003
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3004
|
+
name: __expectString,
|
|
3005
|
+
signalCatalogArn: __expectString,
|
|
3006
|
+
status: __expectString,
|
|
3007
|
+
});
|
|
3008
|
+
};
|
|
3009
|
+
const de_GetRegisterAccountStatusResponse = (output, context) => {
|
|
3010
|
+
return take(output, {
|
|
3011
|
+
accountStatus: __expectString,
|
|
3012
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3013
|
+
customerAccountId: __expectString,
|
|
3014
|
+
iamRegistrationResponse: _json,
|
|
3015
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3016
|
+
timestreamRegistrationResponse: _json,
|
|
3017
|
+
});
|
|
3018
|
+
};
|
|
3019
|
+
const de_GetSignalCatalogResponse = (output, context) => {
|
|
3020
|
+
return take(output, {
|
|
3021
|
+
arn: __expectString,
|
|
3022
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3023
|
+
description: __expectString,
|
|
3024
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3025
|
+
name: __expectString,
|
|
3026
|
+
nodeCounts: _json,
|
|
3027
|
+
});
|
|
3028
|
+
};
|
|
3029
|
+
const de_GetVehicleResponse = (output, context) => {
|
|
3030
|
+
return take(output, {
|
|
3031
|
+
arn: __expectString,
|
|
3032
|
+
attributes: _json,
|
|
3033
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3034
|
+
decoderManifestArn: __expectString,
|
|
3035
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3036
|
+
modelManifestArn: __expectString,
|
|
3037
|
+
vehicleName: __expectString,
|
|
3038
|
+
});
|
|
3039
|
+
};
|
|
3040
|
+
const de_InvalidNodeException = (output, context) => {
|
|
3041
|
+
return take(output, {
|
|
3042
|
+
invalidNodes: (_) => de_Nodes(_, context),
|
|
3043
|
+
message: __expectString,
|
|
3044
|
+
reason: __expectString,
|
|
3045
|
+
});
|
|
3046
|
+
};
|
|
3047
|
+
const de_ListCampaignsResponse = (output, context) => {
|
|
3048
|
+
return take(output, {
|
|
3049
|
+
campaignSummaries: (_) => de_campaignSummaries(_, context),
|
|
3050
|
+
nextToken: __expectString,
|
|
3051
|
+
});
|
|
3995
3052
|
};
|
|
3996
3053
|
const de_ListDecoderManifestSignalsResponse = (output, context) => {
|
|
3997
|
-
return {
|
|
3998
|
-
nextToken: __expectString
|
|
3999
|
-
signalDecoders:
|
|
4000
|
-
};
|
|
3054
|
+
return take(output, {
|
|
3055
|
+
nextToken: __expectString,
|
|
3056
|
+
signalDecoders: (_) => de_SignalDecoders(_, context),
|
|
3057
|
+
});
|
|
4001
3058
|
};
|
|
4002
3059
|
const de_ListDecoderManifestsResponse = (output, context) => {
|
|
4003
|
-
return {
|
|
4004
|
-
nextToken: __expectString
|
|
4005
|
-
summaries:
|
|
4006
|
-
};
|
|
4007
|
-
};
|
|
4008
|
-
const de_ListFleetsForVehicleResponse = (output, context) => {
|
|
4009
|
-
return {
|
|
4010
|
-
fleets: output.fleets != null ? de_fleets(output.fleets, context) : undefined,
|
|
4011
|
-
nextToken: __expectString(output.nextToken),
|
|
4012
|
-
};
|
|
3060
|
+
return take(output, {
|
|
3061
|
+
nextToken: __expectString,
|
|
3062
|
+
summaries: (_) => de_decoderManifestSummaries(_, context),
|
|
3063
|
+
});
|
|
4013
3064
|
};
|
|
4014
3065
|
const de_ListFleetsResponse = (output, context) => {
|
|
4015
|
-
return {
|
|
4016
|
-
fleetSummaries:
|
|
4017
|
-
nextToken: __expectString
|
|
4018
|
-
};
|
|
3066
|
+
return take(output, {
|
|
3067
|
+
fleetSummaries: (_) => de_fleetSummaries(_, context),
|
|
3068
|
+
nextToken: __expectString,
|
|
3069
|
+
});
|
|
4019
3070
|
};
|
|
4020
3071
|
const de_ListModelManifestNodesResponse = (output, context) => {
|
|
4021
|
-
return {
|
|
4022
|
-
nextToken: __expectString
|
|
4023
|
-
nodes:
|
|
4024
|
-
};
|
|
3072
|
+
return take(output, {
|
|
3073
|
+
nextToken: __expectString,
|
|
3074
|
+
nodes: (_) => de_Nodes(_, context),
|
|
3075
|
+
});
|
|
4025
3076
|
};
|
|
4026
3077
|
const de_ListModelManifestsResponse = (output, context) => {
|
|
4027
|
-
return {
|
|
4028
|
-
nextToken: __expectString
|
|
4029
|
-
summaries:
|
|
4030
|
-
};
|
|
4031
|
-
};
|
|
4032
|
-
const de_listOfStrings = (output, context) => {
|
|
4033
|
-
const retVal = (output || [])
|
|
4034
|
-
.filter((e) => e != null)
|
|
4035
|
-
.map((entry) => {
|
|
4036
|
-
if (entry === null) {
|
|
4037
|
-
return null;
|
|
4038
|
-
}
|
|
4039
|
-
return __expectString(entry);
|
|
3078
|
+
return take(output, {
|
|
3079
|
+
nextToken: __expectString,
|
|
3080
|
+
summaries: (_) => de_modelManifestSummaries(_, context),
|
|
4040
3081
|
});
|
|
4041
|
-
return retVal;
|
|
4042
3082
|
};
|
|
4043
3083
|
const de_ListSignalCatalogNodesResponse = (output, context) => {
|
|
4044
|
-
return {
|
|
4045
|
-
nextToken: __expectString
|
|
4046
|
-
nodes:
|
|
4047
|
-
};
|
|
3084
|
+
return take(output, {
|
|
3085
|
+
nextToken: __expectString,
|
|
3086
|
+
nodes: (_) => de_Nodes(_, context),
|
|
3087
|
+
});
|
|
4048
3088
|
};
|
|
4049
3089
|
const de_ListSignalCatalogsResponse = (output, context) => {
|
|
4050
|
-
return {
|
|
4051
|
-
nextToken: __expectString
|
|
4052
|
-
summaries:
|
|
4053
|
-
};
|
|
4054
|
-
};
|
|
4055
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
4056
|
-
return {
|
|
4057
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
4058
|
-
};
|
|
4059
|
-
};
|
|
4060
|
-
const de_ListVehiclesInFleetResponse = (output, context) => {
|
|
4061
|
-
return {
|
|
4062
|
-
nextToken: __expectString(output.nextToken),
|
|
4063
|
-
vehicles: output.vehicles != null ? de_vehicles(output.vehicles, context) : undefined,
|
|
4064
|
-
};
|
|
3090
|
+
return take(output, {
|
|
3091
|
+
nextToken: __expectString,
|
|
3092
|
+
summaries: (_) => de_signalCatalogSummaries(_, context),
|
|
3093
|
+
});
|
|
4065
3094
|
};
|
|
4066
3095
|
const de_ListVehiclesResponse = (output, context) => {
|
|
4067
|
-
return {
|
|
4068
|
-
nextToken: __expectString
|
|
4069
|
-
vehicleSummaries:
|
|
4070
|
-
};
|
|
3096
|
+
return take(output, {
|
|
3097
|
+
nextToken: __expectString,
|
|
3098
|
+
vehicleSummaries: (_) => de_vehicleSummaries(_, context),
|
|
3099
|
+
});
|
|
4071
3100
|
};
|
|
4072
3101
|
const de_modelManifestSummaries = (output, context) => {
|
|
4073
3102
|
const retVal = (output || [])
|
|
4074
3103
|
.filter((e) => e != null)
|
|
4075
3104
|
.map((entry) => {
|
|
4076
|
-
if (entry === null) {
|
|
4077
|
-
return null;
|
|
4078
|
-
}
|
|
4079
3105
|
return de_ModelManifestSummary(entry, context);
|
|
4080
3106
|
});
|
|
4081
3107
|
return retVal;
|
|
4082
3108
|
};
|
|
4083
3109
|
const de_ModelManifestSummary = (output, context) => {
|
|
4084
|
-
return {
|
|
4085
|
-
arn: __expectString
|
|
4086
|
-
creationTime:
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
: undefined,
|
|
4093
|
-
name: __expectString(output.name),
|
|
4094
|
-
signalCatalogArn: __expectString(output.signalCatalogArn),
|
|
4095
|
-
status: __expectString(output.status),
|
|
4096
|
-
};
|
|
4097
|
-
};
|
|
4098
|
-
const de_NetworkInterface = (output, context) => {
|
|
4099
|
-
return {
|
|
4100
|
-
canInterface: output.canInterface != null ? de_CanInterface(output.canInterface, context) : undefined,
|
|
4101
|
-
interfaceId: __expectString(output.interfaceId),
|
|
4102
|
-
obdInterface: output.obdInterface != null ? de_ObdInterface(output.obdInterface, context) : undefined,
|
|
4103
|
-
type: __expectString(output.type),
|
|
4104
|
-
};
|
|
4105
|
-
};
|
|
4106
|
-
const de_NetworkInterfaces = (output, context) => {
|
|
4107
|
-
const retVal = (output || [])
|
|
4108
|
-
.filter((e) => e != null)
|
|
4109
|
-
.map((entry) => {
|
|
4110
|
-
if (entry === null) {
|
|
4111
|
-
return null;
|
|
4112
|
-
}
|
|
4113
|
-
return de_NetworkInterface(entry, context);
|
|
3110
|
+
return take(output, {
|
|
3111
|
+
arn: __expectString,
|
|
3112
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3113
|
+
description: __expectString,
|
|
3114
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3115
|
+
name: __expectString,
|
|
3116
|
+
signalCatalogArn: __expectString,
|
|
3117
|
+
status: __expectString,
|
|
4114
3118
|
});
|
|
4115
|
-
return retVal;
|
|
4116
3119
|
};
|
|
4117
3120
|
const de_Node = (output, context) => {
|
|
4118
3121
|
if (output.actuator != null) {
|
|
@@ -4127,7 +3130,7 @@ const de_Node = (output, context) => {
|
|
|
4127
3130
|
}
|
|
4128
3131
|
if (output.branch != null) {
|
|
4129
3132
|
return {
|
|
4130
|
-
branch:
|
|
3133
|
+
branch: _json(output.branch),
|
|
4131
3134
|
};
|
|
4132
3135
|
}
|
|
4133
3136
|
if (output.sensor != null) {
|
|
@@ -4137,346 +3140,97 @@ const de_Node = (output, context) => {
|
|
|
4137
3140
|
}
|
|
4138
3141
|
return { $unknown: Object.entries(output)[0] };
|
|
4139
3142
|
};
|
|
4140
|
-
const de_NodeCounts = (output, context) => {
|
|
4141
|
-
return {
|
|
4142
|
-
totalActuators: __expectInt32(output.totalActuators),
|
|
4143
|
-
totalAttributes: __expectInt32(output.totalAttributes),
|
|
4144
|
-
totalBranches: __expectInt32(output.totalBranches),
|
|
4145
|
-
totalNodes: __expectInt32(output.totalNodes),
|
|
4146
|
-
totalSensors: __expectInt32(output.totalSensors),
|
|
4147
|
-
};
|
|
4148
|
-
};
|
|
4149
3143
|
const de_Nodes = (output, context) => {
|
|
4150
3144
|
const retVal = (output || [])
|
|
4151
3145
|
.filter((e) => e != null)
|
|
4152
3146
|
.map((entry) => {
|
|
4153
|
-
if (entry === null) {
|
|
4154
|
-
return null;
|
|
4155
|
-
}
|
|
4156
3147
|
return de_Node(__expectUnion(entry), context);
|
|
4157
3148
|
});
|
|
4158
3149
|
return retVal;
|
|
4159
3150
|
};
|
|
4160
|
-
const de_ObdInterface = (output, context) => {
|
|
4161
|
-
return {
|
|
4162
|
-
dtcRequestIntervalSeconds: __expectInt32(output.dtcRequestIntervalSeconds),
|
|
4163
|
-
hasTransmissionEcu: __expectBoolean(output.hasTransmissionEcu),
|
|
4164
|
-
name: __expectString(output.name),
|
|
4165
|
-
obdStandard: __expectString(output.obdStandard),
|
|
4166
|
-
pidRequestIntervalSeconds: __expectInt32(output.pidRequestIntervalSeconds),
|
|
4167
|
-
requestMessageId: __expectInt32(output.requestMessageId),
|
|
4168
|
-
useExtendedIds: __expectBoolean(output.useExtendedIds),
|
|
4169
|
-
};
|
|
4170
|
-
};
|
|
4171
3151
|
const de_ObdSignal = (output, context) => {
|
|
4172
|
-
return {
|
|
4173
|
-
bitMaskLength: __expectInt32
|
|
4174
|
-
bitRightShift: __expectInt32
|
|
4175
|
-
byteLength: __expectInt32
|
|
4176
|
-
offset: __limitedParseDouble
|
|
4177
|
-
pid: __expectInt32
|
|
4178
|
-
pidResponseLength: __expectInt32
|
|
4179
|
-
scaling: __limitedParseDouble
|
|
4180
|
-
serviceMode: __expectInt32
|
|
4181
|
-
startByte: __expectInt32
|
|
4182
|
-
};
|
|
4183
|
-
};
|
|
4184
|
-
const de_PutLoggingOptionsResponse = (output, context) => {
|
|
4185
|
-
return {};
|
|
3152
|
+
return take(output, {
|
|
3153
|
+
bitMaskLength: __expectInt32,
|
|
3154
|
+
bitRightShift: __expectInt32,
|
|
3155
|
+
byteLength: __expectInt32,
|
|
3156
|
+
offset: __limitedParseDouble,
|
|
3157
|
+
pid: __expectInt32,
|
|
3158
|
+
pidResponseLength: __expectInt32,
|
|
3159
|
+
scaling: __limitedParseDouble,
|
|
3160
|
+
serviceMode: __expectInt32,
|
|
3161
|
+
startByte: __expectInt32,
|
|
3162
|
+
});
|
|
4186
3163
|
};
|
|
4187
3164
|
const de_RegisterAccountResponse = (output, context) => {
|
|
4188
|
-
return {
|
|
4189
|
-
creationTime:
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
: undefined,
|
|
4196
|
-
registerAccountStatus: __expectString(output.registerAccountStatus),
|
|
4197
|
-
timestreamResources: output.timestreamResources != null ? de_TimestreamResources(output.timestreamResources, context) : undefined,
|
|
4198
|
-
};
|
|
4199
|
-
};
|
|
4200
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
4201
|
-
return {
|
|
4202
|
-
message: __expectString(output.message),
|
|
4203
|
-
resourceId: __expectString(output.resourceId),
|
|
4204
|
-
resourceType: __expectString(output.resourceType),
|
|
4205
|
-
};
|
|
3165
|
+
return take(output, {
|
|
3166
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3167
|
+
iamResources: _json,
|
|
3168
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3169
|
+
registerAccountStatus: __expectString,
|
|
3170
|
+
timestreamResources: _json,
|
|
3171
|
+
});
|
|
4206
3172
|
};
|
|
4207
3173
|
const de_Sensor = (output, context) => {
|
|
4208
|
-
return {
|
|
4209
|
-
allowedValues:
|
|
4210
|
-
dataType: __expectString
|
|
4211
|
-
description: __expectString
|
|
4212
|
-
fullyQualifiedName: __expectString
|
|
4213
|
-
max: __limitedParseDouble
|
|
4214
|
-
min: __limitedParseDouble
|
|
4215
|
-
unit: __expectString
|
|
4216
|
-
};
|
|
3174
|
+
return take(output, {
|
|
3175
|
+
allowedValues: _json,
|
|
3176
|
+
dataType: __expectString,
|
|
3177
|
+
description: __expectString,
|
|
3178
|
+
fullyQualifiedName: __expectString,
|
|
3179
|
+
max: __limitedParseDouble,
|
|
3180
|
+
min: __limitedParseDouble,
|
|
3181
|
+
unit: __expectString,
|
|
3182
|
+
});
|
|
4217
3183
|
};
|
|
4218
3184
|
const de_signalCatalogSummaries = (output, context) => {
|
|
4219
3185
|
const retVal = (output || [])
|
|
4220
3186
|
.filter((e) => e != null)
|
|
4221
3187
|
.map((entry) => {
|
|
4222
|
-
if (entry === null) {
|
|
4223
|
-
return null;
|
|
4224
|
-
}
|
|
4225
3188
|
return de_SignalCatalogSummary(entry, context);
|
|
4226
3189
|
});
|
|
4227
3190
|
return retVal;
|
|
4228
3191
|
};
|
|
4229
3192
|
const de_SignalCatalogSummary = (output, context) => {
|
|
4230
|
-
return {
|
|
4231
|
-
arn: __expectString
|
|
4232
|
-
creationTime:
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModificationTime)))
|
|
4237
|
-
: undefined,
|
|
4238
|
-
name: __expectString(output.name),
|
|
4239
|
-
};
|
|
3193
|
+
return take(output, {
|
|
3194
|
+
arn: __expectString,
|
|
3195
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3196
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3197
|
+
name: __expectString,
|
|
3198
|
+
});
|
|
4240
3199
|
};
|
|
4241
3200
|
const de_SignalDecoder = (output, context) => {
|
|
4242
|
-
return {
|
|
4243
|
-
canSignal:
|
|
4244
|
-
fullyQualifiedName: __expectString
|
|
4245
|
-
interfaceId: __expectString
|
|
4246
|
-
obdSignal:
|
|
4247
|
-
type: __expectString
|
|
4248
|
-
};
|
|
3201
|
+
return take(output, {
|
|
3202
|
+
canSignal: (_) => de_CanSignal(_, context),
|
|
3203
|
+
fullyQualifiedName: __expectString,
|
|
3204
|
+
interfaceId: __expectString,
|
|
3205
|
+
obdSignal: (_) => de_ObdSignal(_, context),
|
|
3206
|
+
type: __expectString,
|
|
3207
|
+
});
|
|
4249
3208
|
};
|
|
4250
3209
|
const de_SignalDecoders = (output, context) => {
|
|
4251
3210
|
const retVal = (output || [])
|
|
4252
3211
|
.filter((e) => e != null)
|
|
4253
3212
|
.map((entry) => {
|
|
4254
|
-
if (entry === null) {
|
|
4255
|
-
return null;
|
|
4256
|
-
}
|
|
4257
3213
|
return de_SignalDecoder(entry, context);
|
|
4258
3214
|
});
|
|
4259
3215
|
return retVal;
|
|
4260
3216
|
};
|
|
4261
|
-
const de_SignalInformation = (output, context) => {
|
|
4262
|
-
return {
|
|
4263
|
-
maxSampleCount: __expectLong(output.maxSampleCount),
|
|
4264
|
-
minimumSamplingIntervalMs: __expectLong(output.minimumSamplingIntervalMs),
|
|
4265
|
-
name: __expectString(output.name),
|
|
4266
|
-
};
|
|
4267
|
-
};
|
|
4268
|
-
const de_SignalInformationList = (output, context) => {
|
|
4269
|
-
const retVal = (output || [])
|
|
4270
|
-
.filter((e) => e != null)
|
|
4271
|
-
.map((entry) => {
|
|
4272
|
-
if (entry === null) {
|
|
4273
|
-
return null;
|
|
4274
|
-
}
|
|
4275
|
-
return de_SignalInformation(entry, context);
|
|
4276
|
-
});
|
|
4277
|
-
return retVal;
|
|
4278
|
-
};
|
|
4279
|
-
const de_Tag = (output, context) => {
|
|
4280
|
-
return {
|
|
4281
|
-
Key: __expectString(output.Key),
|
|
4282
|
-
Value: __expectString(output.Value),
|
|
4283
|
-
};
|
|
4284
|
-
};
|
|
4285
|
-
const de_TagList = (output, context) => {
|
|
4286
|
-
const retVal = (output || [])
|
|
4287
|
-
.filter((e) => e != null)
|
|
4288
|
-
.map((entry) => {
|
|
4289
|
-
if (entry === null) {
|
|
4290
|
-
return null;
|
|
4291
|
-
}
|
|
4292
|
-
return de_Tag(entry, context);
|
|
4293
|
-
});
|
|
4294
|
-
return retVal;
|
|
4295
|
-
};
|
|
4296
|
-
const de_TagResourceResponse = (output, context) => {
|
|
4297
|
-
return {};
|
|
4298
|
-
};
|
|
4299
|
-
const de_ThrottlingException = (output, context) => {
|
|
4300
|
-
return {
|
|
4301
|
-
message: __expectString(output.message),
|
|
4302
|
-
quotaCode: __expectString(output.quotaCode),
|
|
4303
|
-
retryAfterSeconds: __expectInt32(output.retryAfterSeconds),
|
|
4304
|
-
serviceCode: __expectString(output.serviceCode),
|
|
4305
|
-
};
|
|
4306
|
-
};
|
|
4307
|
-
const de_TimeBasedCollectionScheme = (output, context) => {
|
|
4308
|
-
return {
|
|
4309
|
-
periodMs: __expectLong(output.periodMs),
|
|
4310
|
-
};
|
|
4311
|
-
};
|
|
4312
|
-
const de_TimestreamRegistrationResponse = (output, context) => {
|
|
4313
|
-
return {
|
|
4314
|
-
errorMessage: __expectString(output.errorMessage),
|
|
4315
|
-
registrationStatus: __expectString(output.registrationStatus),
|
|
4316
|
-
timestreamDatabaseArn: __expectString(output.timestreamDatabaseArn),
|
|
4317
|
-
timestreamDatabaseName: __expectString(output.timestreamDatabaseName),
|
|
4318
|
-
timestreamTableArn: __expectString(output.timestreamTableArn),
|
|
4319
|
-
timestreamTableName: __expectString(output.timestreamTableName),
|
|
4320
|
-
};
|
|
4321
|
-
};
|
|
4322
|
-
const de_TimestreamResources = (output, context) => {
|
|
4323
|
-
return {
|
|
4324
|
-
timestreamDatabaseName: __expectString(output.timestreamDatabaseName),
|
|
4325
|
-
timestreamTableName: __expectString(output.timestreamTableName),
|
|
4326
|
-
};
|
|
4327
|
-
};
|
|
4328
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
4329
|
-
return {};
|
|
4330
|
-
};
|
|
4331
|
-
const de_UpdateCampaignResponse = (output, context) => {
|
|
4332
|
-
return {
|
|
4333
|
-
arn: __expectString(output.arn),
|
|
4334
|
-
name: __expectString(output.name),
|
|
4335
|
-
status: __expectString(output.status),
|
|
4336
|
-
};
|
|
4337
|
-
};
|
|
4338
|
-
const de_UpdateDecoderManifestResponse = (output, context) => {
|
|
4339
|
-
return {
|
|
4340
|
-
arn: __expectString(output.arn),
|
|
4341
|
-
name: __expectString(output.name),
|
|
4342
|
-
};
|
|
4343
|
-
};
|
|
4344
|
-
const de_UpdateFleetResponse = (output, context) => {
|
|
4345
|
-
return {
|
|
4346
|
-
arn: __expectString(output.arn),
|
|
4347
|
-
id: __expectString(output.id),
|
|
4348
|
-
};
|
|
4349
|
-
};
|
|
4350
|
-
const de_UpdateModelManifestResponse = (output, context) => {
|
|
4351
|
-
return {
|
|
4352
|
-
arn: __expectString(output.arn),
|
|
4353
|
-
name: __expectString(output.name),
|
|
4354
|
-
};
|
|
4355
|
-
};
|
|
4356
|
-
const de_UpdateSignalCatalogResponse = (output, context) => {
|
|
4357
|
-
return {
|
|
4358
|
-
arn: __expectString(output.arn),
|
|
4359
|
-
name: __expectString(output.name),
|
|
4360
|
-
};
|
|
4361
|
-
};
|
|
4362
|
-
const de_UpdateVehicleError = (output, context) => {
|
|
4363
|
-
return {
|
|
4364
|
-
code: __expectInt32(output.code),
|
|
4365
|
-
message: __expectString(output.message),
|
|
4366
|
-
vehicleName: __expectString(output.vehicleName),
|
|
4367
|
-
};
|
|
4368
|
-
};
|
|
4369
|
-
const de_updateVehicleErrors = (output, context) => {
|
|
4370
|
-
const retVal = (output || [])
|
|
4371
|
-
.filter((e) => e != null)
|
|
4372
|
-
.map((entry) => {
|
|
4373
|
-
if (entry === null) {
|
|
4374
|
-
return null;
|
|
4375
|
-
}
|
|
4376
|
-
return de_UpdateVehicleError(entry, context);
|
|
4377
|
-
});
|
|
4378
|
-
return retVal;
|
|
4379
|
-
};
|
|
4380
|
-
const de_UpdateVehicleResponse = (output, context) => {
|
|
4381
|
-
return {
|
|
4382
|
-
arn: __expectString(output.arn),
|
|
4383
|
-
vehicleName: __expectString(output.vehicleName),
|
|
4384
|
-
};
|
|
4385
|
-
};
|
|
4386
|
-
const de_UpdateVehicleResponseItem = (output, context) => {
|
|
4387
|
-
return {
|
|
4388
|
-
arn: __expectString(output.arn),
|
|
4389
|
-
vehicleName: __expectString(output.vehicleName),
|
|
4390
|
-
};
|
|
4391
|
-
};
|
|
4392
|
-
const de_updateVehicleResponseItems = (output, context) => {
|
|
4393
|
-
const retVal = (output || [])
|
|
4394
|
-
.filter((e) => e != null)
|
|
4395
|
-
.map((entry) => {
|
|
4396
|
-
if (entry === null) {
|
|
4397
|
-
return null;
|
|
4398
|
-
}
|
|
4399
|
-
return de_UpdateVehicleResponseItem(entry, context);
|
|
4400
|
-
});
|
|
4401
|
-
return retVal;
|
|
4402
|
-
};
|
|
4403
|
-
const de_ValidationException = (output, context) => {
|
|
4404
|
-
return {
|
|
4405
|
-
fieldList: output.fieldList != null ? de_ValidationExceptionFieldList(output.fieldList, context) : undefined,
|
|
4406
|
-
message: __expectString(output.message),
|
|
4407
|
-
reason: __expectString(output.reason),
|
|
4408
|
-
};
|
|
4409
|
-
};
|
|
4410
|
-
const de_ValidationExceptionField = (output, context) => {
|
|
4411
|
-
return {
|
|
4412
|
-
message: __expectString(output.message),
|
|
4413
|
-
name: __expectString(output.name),
|
|
4414
|
-
};
|
|
4415
|
-
};
|
|
4416
|
-
const de_ValidationExceptionFieldList = (output, context) => {
|
|
4417
|
-
const retVal = (output || [])
|
|
4418
|
-
.filter((e) => e != null)
|
|
4419
|
-
.map((entry) => {
|
|
4420
|
-
if (entry === null) {
|
|
4421
|
-
return null;
|
|
4422
|
-
}
|
|
4423
|
-
return de_ValidationExceptionField(entry, context);
|
|
4424
|
-
});
|
|
4425
|
-
return retVal;
|
|
4426
|
-
};
|
|
4427
|
-
const de_vehicles = (output, context) => {
|
|
4428
|
-
const retVal = (output || [])
|
|
4429
|
-
.filter((e) => e != null)
|
|
4430
|
-
.map((entry) => {
|
|
4431
|
-
if (entry === null) {
|
|
4432
|
-
return null;
|
|
4433
|
-
}
|
|
4434
|
-
return __expectString(entry);
|
|
4435
|
-
});
|
|
4436
|
-
return retVal;
|
|
4437
|
-
};
|
|
4438
|
-
const de_VehicleStatus = (output, context) => {
|
|
4439
|
-
return {
|
|
4440
|
-
campaignName: __expectString(output.campaignName),
|
|
4441
|
-
status: __expectString(output.status),
|
|
4442
|
-
vehicleName: __expectString(output.vehicleName),
|
|
4443
|
-
};
|
|
4444
|
-
};
|
|
4445
|
-
const de_VehicleStatusList = (output, context) => {
|
|
4446
|
-
const retVal = (output || [])
|
|
4447
|
-
.filter((e) => e != null)
|
|
4448
|
-
.map((entry) => {
|
|
4449
|
-
if (entry === null) {
|
|
4450
|
-
return null;
|
|
4451
|
-
}
|
|
4452
|
-
return de_VehicleStatus(entry, context);
|
|
4453
|
-
});
|
|
4454
|
-
return retVal;
|
|
4455
|
-
};
|
|
4456
3217
|
const de_vehicleSummaries = (output, context) => {
|
|
4457
3218
|
const retVal = (output || [])
|
|
4458
3219
|
.filter((e) => e != null)
|
|
4459
3220
|
.map((entry) => {
|
|
4460
|
-
if (entry === null) {
|
|
4461
|
-
return null;
|
|
4462
|
-
}
|
|
4463
3221
|
return de_VehicleSummary(entry, context);
|
|
4464
3222
|
});
|
|
4465
3223
|
return retVal;
|
|
4466
3224
|
};
|
|
4467
3225
|
const de_VehicleSummary = (output, context) => {
|
|
4468
|
-
return {
|
|
4469
|
-
arn: __expectString
|
|
4470
|
-
creationTime:
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
: undefined,
|
|
4477
|
-
modelManifestArn: __expectString(output.modelManifestArn),
|
|
4478
|
-
vehicleName: __expectString(output.vehicleName),
|
|
4479
|
-
};
|
|
3226
|
+
return take(output, {
|
|
3227
|
+
arn: __expectString,
|
|
3228
|
+
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3229
|
+
decoderManifestArn: __expectString,
|
|
3230
|
+
lastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3231
|
+
modelManifestArn: __expectString,
|
|
3232
|
+
vehicleName: __expectString,
|
|
3233
|
+
});
|
|
4480
3234
|
};
|
|
4481
3235
|
const deserializeMetadata = (output) => ({
|
|
4482
3236
|
httpStatusCode: output.statusCode,
|
|
@@ -4491,6 +3245,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
4491
3245
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4492
3246
|
};
|
|
4493
3247
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3248
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
4494
3249
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
4495
3250
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4496
3251
|
const contents = {
|