@aws-sdk/client-iotfleetwise 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_0.js +640 -2029
- package/dist-es/protocols/Aws_json1_0.js +642 -2031
- package/package.json +6 -6
|
@@ -7,502 +7,352 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const IoTFleetWiseServiceException_1 = require("../models/IoTFleetWiseServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
9
|
const se_AssociateVehicleFleetCommand = async (input, context) => {
|
|
10
|
-
const headers =
|
|
11
|
-
"content-type": "application/x-amz-json-1.0",
|
|
12
|
-
"x-amz-target": "IoTAutobahnControlPlane.AssociateVehicleFleet",
|
|
13
|
-
};
|
|
10
|
+
const headers = sharedHeaders("AssociateVehicleFleet");
|
|
14
11
|
let body;
|
|
15
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
16
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
14
|
};
|
|
18
15
|
exports.se_AssociateVehicleFleetCommand = se_AssociateVehicleFleetCommand;
|
|
19
16
|
const se_BatchCreateVehicleCommand = async (input, context) => {
|
|
20
|
-
const headers =
|
|
21
|
-
"content-type": "application/x-amz-json-1.0",
|
|
22
|
-
"x-amz-target": "IoTAutobahnControlPlane.BatchCreateVehicle",
|
|
23
|
-
};
|
|
17
|
+
const headers = sharedHeaders("BatchCreateVehicle");
|
|
24
18
|
let body;
|
|
25
|
-
body = JSON.stringify(
|
|
19
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
26
20
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
27
21
|
};
|
|
28
22
|
exports.se_BatchCreateVehicleCommand = se_BatchCreateVehicleCommand;
|
|
29
23
|
const se_BatchUpdateVehicleCommand = async (input, context) => {
|
|
30
|
-
const headers =
|
|
31
|
-
"content-type": "application/x-amz-json-1.0",
|
|
32
|
-
"x-amz-target": "IoTAutobahnControlPlane.BatchUpdateVehicle",
|
|
33
|
-
};
|
|
24
|
+
const headers = sharedHeaders("BatchUpdateVehicle");
|
|
34
25
|
let body;
|
|
35
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
36
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
37
28
|
};
|
|
38
29
|
exports.se_BatchUpdateVehicleCommand = se_BatchUpdateVehicleCommand;
|
|
39
30
|
const se_CreateCampaignCommand = async (input, context) => {
|
|
40
|
-
const headers =
|
|
41
|
-
"content-type": "application/x-amz-json-1.0",
|
|
42
|
-
"x-amz-target": "IoTAutobahnControlPlane.CreateCampaign",
|
|
43
|
-
};
|
|
31
|
+
const headers = sharedHeaders("CreateCampaign");
|
|
44
32
|
let body;
|
|
45
33
|
body = JSON.stringify(se_CreateCampaignRequest(input, context));
|
|
46
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
35
|
};
|
|
48
36
|
exports.se_CreateCampaignCommand = se_CreateCampaignCommand;
|
|
49
37
|
const se_CreateDecoderManifestCommand = async (input, context) => {
|
|
50
|
-
const headers =
|
|
51
|
-
"content-type": "application/x-amz-json-1.0",
|
|
52
|
-
"x-amz-target": "IoTAutobahnControlPlane.CreateDecoderManifest",
|
|
53
|
-
};
|
|
38
|
+
const headers = sharedHeaders("CreateDecoderManifest");
|
|
54
39
|
let body;
|
|
55
40
|
body = JSON.stringify(se_CreateDecoderManifestRequest(input, context));
|
|
56
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
57
42
|
};
|
|
58
43
|
exports.se_CreateDecoderManifestCommand = se_CreateDecoderManifestCommand;
|
|
59
44
|
const se_CreateFleetCommand = async (input, context) => {
|
|
60
|
-
const headers =
|
|
61
|
-
"content-type": "application/x-amz-json-1.0",
|
|
62
|
-
"x-amz-target": "IoTAutobahnControlPlane.CreateFleet",
|
|
63
|
-
};
|
|
45
|
+
const headers = sharedHeaders("CreateFleet");
|
|
64
46
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
66
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
49
|
};
|
|
68
50
|
exports.se_CreateFleetCommand = se_CreateFleetCommand;
|
|
69
51
|
const se_CreateModelManifestCommand = async (input, context) => {
|
|
70
|
-
const headers =
|
|
71
|
-
"content-type": "application/x-amz-json-1.0",
|
|
72
|
-
"x-amz-target": "IoTAutobahnControlPlane.CreateModelManifest",
|
|
73
|
-
};
|
|
52
|
+
const headers = sharedHeaders("CreateModelManifest");
|
|
74
53
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
76
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
56
|
};
|
|
78
57
|
exports.se_CreateModelManifestCommand = se_CreateModelManifestCommand;
|
|
79
58
|
const se_CreateSignalCatalogCommand = async (input, context) => {
|
|
80
|
-
const headers =
|
|
81
|
-
"content-type": "application/x-amz-json-1.0",
|
|
82
|
-
"x-amz-target": "IoTAutobahnControlPlane.CreateSignalCatalog",
|
|
83
|
-
};
|
|
59
|
+
const headers = sharedHeaders("CreateSignalCatalog");
|
|
84
60
|
let body;
|
|
85
61
|
body = JSON.stringify(se_CreateSignalCatalogRequest(input, context));
|
|
86
62
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
87
63
|
};
|
|
88
64
|
exports.se_CreateSignalCatalogCommand = se_CreateSignalCatalogCommand;
|
|
89
65
|
const se_CreateVehicleCommand = async (input, context) => {
|
|
90
|
-
const headers =
|
|
91
|
-
"content-type": "application/x-amz-json-1.0",
|
|
92
|
-
"x-amz-target": "IoTAutobahnControlPlane.CreateVehicle",
|
|
93
|
-
};
|
|
66
|
+
const headers = sharedHeaders("CreateVehicle");
|
|
94
67
|
let body;
|
|
95
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
96
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
97
70
|
};
|
|
98
71
|
exports.se_CreateVehicleCommand = se_CreateVehicleCommand;
|
|
99
72
|
const se_DeleteCampaignCommand = async (input, context) => {
|
|
100
|
-
const headers =
|
|
101
|
-
"content-type": "application/x-amz-json-1.0",
|
|
102
|
-
"x-amz-target": "IoTAutobahnControlPlane.DeleteCampaign",
|
|
103
|
-
};
|
|
73
|
+
const headers = sharedHeaders("DeleteCampaign");
|
|
104
74
|
let body;
|
|
105
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
106
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
77
|
};
|
|
108
78
|
exports.se_DeleteCampaignCommand = se_DeleteCampaignCommand;
|
|
109
79
|
const se_DeleteDecoderManifestCommand = async (input, context) => {
|
|
110
|
-
const headers =
|
|
111
|
-
"content-type": "application/x-amz-json-1.0",
|
|
112
|
-
"x-amz-target": "IoTAutobahnControlPlane.DeleteDecoderManifest",
|
|
113
|
-
};
|
|
80
|
+
const headers = sharedHeaders("DeleteDecoderManifest");
|
|
114
81
|
let body;
|
|
115
|
-
body = JSON.stringify(
|
|
82
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
116
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
117
84
|
};
|
|
118
85
|
exports.se_DeleteDecoderManifestCommand = se_DeleteDecoderManifestCommand;
|
|
119
86
|
const se_DeleteFleetCommand = async (input, context) => {
|
|
120
|
-
const headers =
|
|
121
|
-
"content-type": "application/x-amz-json-1.0",
|
|
122
|
-
"x-amz-target": "IoTAutobahnControlPlane.DeleteFleet",
|
|
123
|
-
};
|
|
87
|
+
const headers = sharedHeaders("DeleteFleet");
|
|
124
88
|
let body;
|
|
125
|
-
body = JSON.stringify(
|
|
89
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
126
90
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
127
91
|
};
|
|
128
92
|
exports.se_DeleteFleetCommand = se_DeleteFleetCommand;
|
|
129
93
|
const se_DeleteModelManifestCommand = async (input, context) => {
|
|
130
|
-
const headers =
|
|
131
|
-
"content-type": "application/x-amz-json-1.0",
|
|
132
|
-
"x-amz-target": "IoTAutobahnControlPlane.DeleteModelManifest",
|
|
133
|
-
};
|
|
94
|
+
const headers = sharedHeaders("DeleteModelManifest");
|
|
134
95
|
let body;
|
|
135
|
-
body = JSON.stringify(
|
|
96
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
136
97
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
98
|
};
|
|
138
99
|
exports.se_DeleteModelManifestCommand = se_DeleteModelManifestCommand;
|
|
139
100
|
const se_DeleteSignalCatalogCommand = async (input, context) => {
|
|
140
|
-
const headers =
|
|
141
|
-
"content-type": "application/x-amz-json-1.0",
|
|
142
|
-
"x-amz-target": "IoTAutobahnControlPlane.DeleteSignalCatalog",
|
|
143
|
-
};
|
|
101
|
+
const headers = sharedHeaders("DeleteSignalCatalog");
|
|
144
102
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
103
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
146
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
105
|
};
|
|
148
106
|
exports.se_DeleteSignalCatalogCommand = se_DeleteSignalCatalogCommand;
|
|
149
107
|
const se_DeleteVehicleCommand = async (input, context) => {
|
|
150
|
-
const headers =
|
|
151
|
-
"content-type": "application/x-amz-json-1.0",
|
|
152
|
-
"x-amz-target": "IoTAutobahnControlPlane.DeleteVehicle",
|
|
153
|
-
};
|
|
108
|
+
const headers = sharedHeaders("DeleteVehicle");
|
|
154
109
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
156
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
112
|
};
|
|
158
113
|
exports.se_DeleteVehicleCommand = se_DeleteVehicleCommand;
|
|
159
114
|
const se_DisassociateVehicleFleetCommand = async (input, context) => {
|
|
160
|
-
const headers =
|
|
161
|
-
"content-type": "application/x-amz-json-1.0",
|
|
162
|
-
"x-amz-target": "IoTAutobahnControlPlane.DisassociateVehicleFleet",
|
|
163
|
-
};
|
|
115
|
+
const headers = sharedHeaders("DisassociateVehicleFleet");
|
|
164
116
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
117
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
166
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
119
|
};
|
|
168
120
|
exports.se_DisassociateVehicleFleetCommand = se_DisassociateVehicleFleetCommand;
|
|
169
121
|
const se_GetCampaignCommand = async (input, context) => {
|
|
170
|
-
const headers =
|
|
171
|
-
"content-type": "application/x-amz-json-1.0",
|
|
172
|
-
"x-amz-target": "IoTAutobahnControlPlane.GetCampaign",
|
|
173
|
-
};
|
|
122
|
+
const headers = sharedHeaders("GetCampaign");
|
|
174
123
|
let body;
|
|
175
|
-
body = JSON.stringify(
|
|
124
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
176
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
126
|
};
|
|
178
127
|
exports.se_GetCampaignCommand = se_GetCampaignCommand;
|
|
179
128
|
const se_GetDecoderManifestCommand = async (input, context) => {
|
|
180
|
-
const headers =
|
|
181
|
-
"content-type": "application/x-amz-json-1.0",
|
|
182
|
-
"x-amz-target": "IoTAutobahnControlPlane.GetDecoderManifest",
|
|
183
|
-
};
|
|
129
|
+
const headers = sharedHeaders("GetDecoderManifest");
|
|
184
130
|
let body;
|
|
185
|
-
body = JSON.stringify(
|
|
131
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
186
132
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
187
133
|
};
|
|
188
134
|
exports.se_GetDecoderManifestCommand = se_GetDecoderManifestCommand;
|
|
189
135
|
const se_GetFleetCommand = async (input, context) => {
|
|
190
|
-
const headers =
|
|
191
|
-
"content-type": "application/x-amz-json-1.0",
|
|
192
|
-
"x-amz-target": "IoTAutobahnControlPlane.GetFleet",
|
|
193
|
-
};
|
|
136
|
+
const headers = sharedHeaders("GetFleet");
|
|
194
137
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
138
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
196
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
140
|
};
|
|
198
141
|
exports.se_GetFleetCommand = se_GetFleetCommand;
|
|
199
142
|
const se_GetLoggingOptionsCommand = async (input, context) => {
|
|
200
|
-
const headers =
|
|
201
|
-
"content-type": "application/x-amz-json-1.0",
|
|
202
|
-
"x-amz-target": "IoTAutobahnControlPlane.GetLoggingOptions",
|
|
203
|
-
};
|
|
143
|
+
const headers = sharedHeaders("GetLoggingOptions");
|
|
204
144
|
let body;
|
|
205
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
206
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
207
147
|
};
|
|
208
148
|
exports.se_GetLoggingOptionsCommand = se_GetLoggingOptionsCommand;
|
|
209
149
|
const se_GetModelManifestCommand = async (input, context) => {
|
|
210
|
-
const headers =
|
|
211
|
-
"content-type": "application/x-amz-json-1.0",
|
|
212
|
-
"x-amz-target": "IoTAutobahnControlPlane.GetModelManifest",
|
|
213
|
-
};
|
|
150
|
+
const headers = sharedHeaders("GetModelManifest");
|
|
214
151
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
216
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
154
|
};
|
|
218
155
|
exports.se_GetModelManifestCommand = se_GetModelManifestCommand;
|
|
219
156
|
const se_GetRegisterAccountStatusCommand = async (input, context) => {
|
|
220
|
-
const headers =
|
|
221
|
-
"content-type": "application/x-amz-json-1.0",
|
|
222
|
-
"x-amz-target": "IoTAutobahnControlPlane.GetRegisterAccountStatus",
|
|
223
|
-
};
|
|
157
|
+
const headers = sharedHeaders("GetRegisterAccountStatus");
|
|
224
158
|
let body;
|
|
225
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
226
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
161
|
};
|
|
228
162
|
exports.se_GetRegisterAccountStatusCommand = se_GetRegisterAccountStatusCommand;
|
|
229
163
|
const se_GetSignalCatalogCommand = async (input, context) => {
|
|
230
|
-
const headers =
|
|
231
|
-
"content-type": "application/x-amz-json-1.0",
|
|
232
|
-
"x-amz-target": "IoTAutobahnControlPlane.GetSignalCatalog",
|
|
233
|
-
};
|
|
164
|
+
const headers = sharedHeaders("GetSignalCatalog");
|
|
234
165
|
let body;
|
|
235
|
-
body = JSON.stringify(
|
|
166
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
236
167
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
237
168
|
};
|
|
238
169
|
exports.se_GetSignalCatalogCommand = se_GetSignalCatalogCommand;
|
|
239
170
|
const se_GetVehicleCommand = async (input, context) => {
|
|
240
|
-
const headers =
|
|
241
|
-
"content-type": "application/x-amz-json-1.0",
|
|
242
|
-
"x-amz-target": "IoTAutobahnControlPlane.GetVehicle",
|
|
243
|
-
};
|
|
171
|
+
const headers = sharedHeaders("GetVehicle");
|
|
244
172
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
246
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
175
|
};
|
|
248
176
|
exports.se_GetVehicleCommand = se_GetVehicleCommand;
|
|
249
177
|
const se_GetVehicleStatusCommand = async (input, context) => {
|
|
250
|
-
const headers =
|
|
251
|
-
"content-type": "application/x-amz-json-1.0",
|
|
252
|
-
"x-amz-target": "IoTAutobahnControlPlane.GetVehicleStatus",
|
|
253
|
-
};
|
|
178
|
+
const headers = sharedHeaders("GetVehicleStatus");
|
|
254
179
|
let body;
|
|
255
|
-
body = JSON.stringify(
|
|
180
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
256
181
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
182
|
};
|
|
258
183
|
exports.se_GetVehicleStatusCommand = se_GetVehicleStatusCommand;
|
|
259
184
|
const se_ImportDecoderManifestCommand = async (input, context) => {
|
|
260
|
-
const headers =
|
|
261
|
-
"content-type": "application/x-amz-json-1.0",
|
|
262
|
-
"x-amz-target": "IoTAutobahnControlPlane.ImportDecoderManifest",
|
|
263
|
-
};
|
|
185
|
+
const headers = sharedHeaders("ImportDecoderManifest");
|
|
264
186
|
let body;
|
|
265
187
|
body = JSON.stringify(se_ImportDecoderManifestRequest(input, context));
|
|
266
188
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
189
|
};
|
|
268
190
|
exports.se_ImportDecoderManifestCommand = se_ImportDecoderManifestCommand;
|
|
269
191
|
const se_ImportSignalCatalogCommand = async (input, context) => {
|
|
270
|
-
const headers =
|
|
271
|
-
"content-type": "application/x-amz-json-1.0",
|
|
272
|
-
"x-amz-target": "IoTAutobahnControlPlane.ImportSignalCatalog",
|
|
273
|
-
};
|
|
192
|
+
const headers = sharedHeaders("ImportSignalCatalog");
|
|
274
193
|
let body;
|
|
275
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
276
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
277
196
|
};
|
|
278
197
|
exports.se_ImportSignalCatalogCommand = se_ImportSignalCatalogCommand;
|
|
279
198
|
const se_ListCampaignsCommand = async (input, context) => {
|
|
280
|
-
const headers =
|
|
281
|
-
"content-type": "application/x-amz-json-1.0",
|
|
282
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListCampaigns",
|
|
283
|
-
};
|
|
199
|
+
const headers = sharedHeaders("ListCampaigns");
|
|
284
200
|
let body;
|
|
285
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
286
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
203
|
};
|
|
288
204
|
exports.se_ListCampaignsCommand = se_ListCampaignsCommand;
|
|
289
205
|
const se_ListDecoderManifestNetworkInterfacesCommand = async (input, context) => {
|
|
290
|
-
const headers =
|
|
291
|
-
"content-type": "application/x-amz-json-1.0",
|
|
292
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListDecoderManifestNetworkInterfaces",
|
|
293
|
-
};
|
|
206
|
+
const headers = sharedHeaders("ListDecoderManifestNetworkInterfaces");
|
|
294
207
|
let body;
|
|
295
|
-
body = JSON.stringify(
|
|
208
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
296
209
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
297
210
|
};
|
|
298
211
|
exports.se_ListDecoderManifestNetworkInterfacesCommand = se_ListDecoderManifestNetworkInterfacesCommand;
|
|
299
212
|
const se_ListDecoderManifestsCommand = async (input, context) => {
|
|
300
|
-
const headers =
|
|
301
|
-
"content-type": "application/x-amz-json-1.0",
|
|
302
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListDecoderManifests",
|
|
303
|
-
};
|
|
213
|
+
const headers = sharedHeaders("ListDecoderManifests");
|
|
304
214
|
let body;
|
|
305
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
306
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
307
217
|
};
|
|
308
218
|
exports.se_ListDecoderManifestsCommand = se_ListDecoderManifestsCommand;
|
|
309
219
|
const se_ListDecoderManifestSignalsCommand = async (input, context) => {
|
|
310
|
-
const headers =
|
|
311
|
-
"content-type": "application/x-amz-json-1.0",
|
|
312
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListDecoderManifestSignals",
|
|
313
|
-
};
|
|
220
|
+
const headers = sharedHeaders("ListDecoderManifestSignals");
|
|
314
221
|
let body;
|
|
315
|
-
body = JSON.stringify(
|
|
222
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
316
223
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
224
|
};
|
|
318
225
|
exports.se_ListDecoderManifestSignalsCommand = se_ListDecoderManifestSignalsCommand;
|
|
319
226
|
const se_ListFleetsCommand = async (input, context) => {
|
|
320
|
-
const headers =
|
|
321
|
-
"content-type": "application/x-amz-json-1.0",
|
|
322
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListFleets",
|
|
323
|
-
};
|
|
227
|
+
const headers = sharedHeaders("ListFleets");
|
|
324
228
|
let body;
|
|
325
|
-
body = JSON.stringify(
|
|
229
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
326
230
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
327
231
|
};
|
|
328
232
|
exports.se_ListFleetsCommand = se_ListFleetsCommand;
|
|
329
233
|
const se_ListFleetsForVehicleCommand = async (input, context) => {
|
|
330
|
-
const headers =
|
|
331
|
-
"content-type": "application/x-amz-json-1.0",
|
|
332
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListFleetsForVehicle",
|
|
333
|
-
};
|
|
234
|
+
const headers = sharedHeaders("ListFleetsForVehicle");
|
|
334
235
|
let body;
|
|
335
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
336
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
238
|
};
|
|
338
239
|
exports.se_ListFleetsForVehicleCommand = se_ListFleetsForVehicleCommand;
|
|
339
240
|
const se_ListModelManifestNodesCommand = async (input, context) => {
|
|
340
|
-
const headers =
|
|
341
|
-
"content-type": "application/x-amz-json-1.0",
|
|
342
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListModelManifestNodes",
|
|
343
|
-
};
|
|
241
|
+
const headers = sharedHeaders("ListModelManifestNodes");
|
|
344
242
|
let body;
|
|
345
|
-
body = JSON.stringify(
|
|
243
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
346
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
245
|
};
|
|
348
246
|
exports.se_ListModelManifestNodesCommand = se_ListModelManifestNodesCommand;
|
|
349
247
|
const se_ListModelManifestsCommand = async (input, context) => {
|
|
350
|
-
const headers =
|
|
351
|
-
"content-type": "application/x-amz-json-1.0",
|
|
352
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListModelManifests",
|
|
353
|
-
};
|
|
248
|
+
const headers = sharedHeaders("ListModelManifests");
|
|
354
249
|
let body;
|
|
355
|
-
body = JSON.stringify(
|
|
250
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
356
251
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
357
252
|
};
|
|
358
253
|
exports.se_ListModelManifestsCommand = se_ListModelManifestsCommand;
|
|
359
254
|
const se_ListSignalCatalogNodesCommand = async (input, context) => {
|
|
360
|
-
const headers =
|
|
361
|
-
"content-type": "application/x-amz-json-1.0",
|
|
362
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListSignalCatalogNodes",
|
|
363
|
-
};
|
|
255
|
+
const headers = sharedHeaders("ListSignalCatalogNodes");
|
|
364
256
|
let body;
|
|
365
|
-
body = JSON.stringify(
|
|
257
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
366
258
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
367
259
|
};
|
|
368
260
|
exports.se_ListSignalCatalogNodesCommand = se_ListSignalCatalogNodesCommand;
|
|
369
261
|
const se_ListSignalCatalogsCommand = async (input, context) => {
|
|
370
|
-
const headers =
|
|
371
|
-
"content-type": "application/x-amz-json-1.0",
|
|
372
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListSignalCatalogs",
|
|
373
|
-
};
|
|
262
|
+
const headers = sharedHeaders("ListSignalCatalogs");
|
|
374
263
|
let body;
|
|
375
|
-
body = JSON.stringify(
|
|
264
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
376
265
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
377
266
|
};
|
|
378
267
|
exports.se_ListSignalCatalogsCommand = se_ListSignalCatalogsCommand;
|
|
379
268
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
380
|
-
const headers =
|
|
381
|
-
"content-type": "application/x-amz-json-1.0",
|
|
382
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListTagsForResource",
|
|
383
|
-
};
|
|
269
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
384
270
|
let body;
|
|
385
|
-
body = JSON.stringify(
|
|
271
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
386
272
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
387
273
|
};
|
|
388
274
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
389
275
|
const se_ListVehiclesCommand = async (input, context) => {
|
|
390
|
-
const headers =
|
|
391
|
-
"content-type": "application/x-amz-json-1.0",
|
|
392
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListVehicles",
|
|
393
|
-
};
|
|
276
|
+
const headers = sharedHeaders("ListVehicles");
|
|
394
277
|
let body;
|
|
395
|
-
body = JSON.stringify(
|
|
278
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
396
279
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
397
280
|
};
|
|
398
281
|
exports.se_ListVehiclesCommand = se_ListVehiclesCommand;
|
|
399
282
|
const se_ListVehiclesInFleetCommand = async (input, context) => {
|
|
400
|
-
const headers =
|
|
401
|
-
"content-type": "application/x-amz-json-1.0",
|
|
402
|
-
"x-amz-target": "IoTAutobahnControlPlane.ListVehiclesInFleet",
|
|
403
|
-
};
|
|
283
|
+
const headers = sharedHeaders("ListVehiclesInFleet");
|
|
404
284
|
let body;
|
|
405
|
-
body = JSON.stringify(
|
|
285
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
406
286
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
407
287
|
};
|
|
408
288
|
exports.se_ListVehiclesInFleetCommand = se_ListVehiclesInFleetCommand;
|
|
409
289
|
const se_PutLoggingOptionsCommand = async (input, context) => {
|
|
410
|
-
const headers =
|
|
411
|
-
"content-type": "application/x-amz-json-1.0",
|
|
412
|
-
"x-amz-target": "IoTAutobahnControlPlane.PutLoggingOptions",
|
|
413
|
-
};
|
|
290
|
+
const headers = sharedHeaders("PutLoggingOptions");
|
|
414
291
|
let body;
|
|
415
|
-
body = JSON.stringify(
|
|
292
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
416
293
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
417
294
|
};
|
|
418
295
|
exports.se_PutLoggingOptionsCommand = se_PutLoggingOptionsCommand;
|
|
419
296
|
const se_RegisterAccountCommand = async (input, context) => {
|
|
420
|
-
const headers =
|
|
421
|
-
"content-type": "application/x-amz-json-1.0",
|
|
422
|
-
"x-amz-target": "IoTAutobahnControlPlane.RegisterAccount",
|
|
423
|
-
};
|
|
297
|
+
const headers = sharedHeaders("RegisterAccount");
|
|
424
298
|
let body;
|
|
425
|
-
body = JSON.stringify(
|
|
299
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
426
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
427
301
|
};
|
|
428
302
|
exports.se_RegisterAccountCommand = se_RegisterAccountCommand;
|
|
429
303
|
const se_TagResourceCommand = async (input, context) => {
|
|
430
|
-
const headers =
|
|
431
|
-
"content-type": "application/x-amz-json-1.0",
|
|
432
|
-
"x-amz-target": "IoTAutobahnControlPlane.TagResource",
|
|
433
|
-
};
|
|
304
|
+
const headers = sharedHeaders("TagResource");
|
|
434
305
|
let body;
|
|
435
|
-
body = JSON.stringify(
|
|
306
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
436
307
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
308
|
};
|
|
438
309
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
439
310
|
const se_UntagResourceCommand = async (input, context) => {
|
|
440
|
-
const headers =
|
|
441
|
-
"content-type": "application/x-amz-json-1.0",
|
|
442
|
-
"x-amz-target": "IoTAutobahnControlPlane.UntagResource",
|
|
443
|
-
};
|
|
311
|
+
const headers = sharedHeaders("UntagResource");
|
|
444
312
|
let body;
|
|
445
|
-
body = JSON.stringify(
|
|
313
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
446
314
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
447
315
|
};
|
|
448
316
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
449
317
|
const se_UpdateCampaignCommand = async (input, context) => {
|
|
450
|
-
const headers =
|
|
451
|
-
"content-type": "application/x-amz-json-1.0",
|
|
452
|
-
"x-amz-target": "IoTAutobahnControlPlane.UpdateCampaign",
|
|
453
|
-
};
|
|
318
|
+
const headers = sharedHeaders("UpdateCampaign");
|
|
454
319
|
let body;
|
|
455
|
-
body = JSON.stringify(
|
|
320
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
456
321
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
457
322
|
};
|
|
458
323
|
exports.se_UpdateCampaignCommand = se_UpdateCampaignCommand;
|
|
459
324
|
const se_UpdateDecoderManifestCommand = async (input, context) => {
|
|
460
|
-
const headers =
|
|
461
|
-
"content-type": "application/x-amz-json-1.0",
|
|
462
|
-
"x-amz-target": "IoTAutobahnControlPlane.UpdateDecoderManifest",
|
|
463
|
-
};
|
|
325
|
+
const headers = sharedHeaders("UpdateDecoderManifest");
|
|
464
326
|
let body;
|
|
465
327
|
body = JSON.stringify(se_UpdateDecoderManifestRequest(input, context));
|
|
466
328
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
467
329
|
};
|
|
468
330
|
exports.se_UpdateDecoderManifestCommand = se_UpdateDecoderManifestCommand;
|
|
469
331
|
const se_UpdateFleetCommand = async (input, context) => {
|
|
470
|
-
const headers =
|
|
471
|
-
"content-type": "application/x-amz-json-1.0",
|
|
472
|
-
"x-amz-target": "IoTAutobahnControlPlane.UpdateFleet",
|
|
473
|
-
};
|
|
332
|
+
const headers = sharedHeaders("UpdateFleet");
|
|
474
333
|
let body;
|
|
475
|
-
body = JSON.stringify(
|
|
334
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
476
335
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
477
336
|
};
|
|
478
337
|
exports.se_UpdateFleetCommand = se_UpdateFleetCommand;
|
|
479
338
|
const se_UpdateModelManifestCommand = async (input, context) => {
|
|
480
|
-
const headers =
|
|
481
|
-
"content-type": "application/x-amz-json-1.0",
|
|
482
|
-
"x-amz-target": "IoTAutobahnControlPlane.UpdateModelManifest",
|
|
483
|
-
};
|
|
339
|
+
const headers = sharedHeaders("UpdateModelManifest");
|
|
484
340
|
let body;
|
|
485
|
-
body = JSON.stringify(
|
|
341
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
486
342
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
487
343
|
};
|
|
488
344
|
exports.se_UpdateModelManifestCommand = se_UpdateModelManifestCommand;
|
|
489
345
|
const se_UpdateSignalCatalogCommand = async (input, context) => {
|
|
490
|
-
const headers =
|
|
491
|
-
"content-type": "application/x-amz-json-1.0",
|
|
492
|
-
"x-amz-target": "IoTAutobahnControlPlane.UpdateSignalCatalog",
|
|
493
|
-
};
|
|
346
|
+
const headers = sharedHeaders("UpdateSignalCatalog");
|
|
494
347
|
let body;
|
|
495
348
|
body = JSON.stringify(se_UpdateSignalCatalogRequest(input, context));
|
|
496
349
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
497
350
|
};
|
|
498
351
|
exports.se_UpdateSignalCatalogCommand = se_UpdateSignalCatalogCommand;
|
|
499
352
|
const se_UpdateVehicleCommand = async (input, context) => {
|
|
500
|
-
const headers =
|
|
501
|
-
"content-type": "application/x-amz-json-1.0",
|
|
502
|
-
"x-amz-target": "IoTAutobahnControlPlane.UpdateVehicle",
|
|
503
|
-
};
|
|
353
|
+
const headers = sharedHeaders("UpdateVehicle");
|
|
504
354
|
let body;
|
|
505
|
-
body = JSON.stringify(
|
|
355
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
506
356
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
507
357
|
};
|
|
508
358
|
exports.se_UpdateVehicleCommand = se_UpdateVehicleCommand;
|
|
@@ -512,12 +362,12 @@ const de_AssociateVehicleFleetCommand = async (output, context) => {
|
|
|
512
362
|
}
|
|
513
363
|
const data = await parseBody(output.body, context);
|
|
514
364
|
let contents = {};
|
|
515
|
-
contents =
|
|
365
|
+
contents = (0, smithy_client_1._json)(data);
|
|
516
366
|
const response = {
|
|
517
367
|
$metadata: deserializeMetadata(output),
|
|
518
368
|
...contents,
|
|
519
369
|
};
|
|
520
|
-
return
|
|
370
|
+
return response;
|
|
521
371
|
};
|
|
522
372
|
exports.de_AssociateVehicleFleetCommand = de_AssociateVehicleFleetCommand;
|
|
523
373
|
const de_AssociateVehicleFleetCommandError = async (output, context) => {
|
|
@@ -544,10 +394,9 @@ const de_AssociateVehicleFleetCommandError = async (output, context) => {
|
|
|
544
394
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
545
395
|
default:
|
|
546
396
|
const parsedBody = parsedOutput.body;
|
|
547
|
-
|
|
397
|
+
return throwDefaultError({
|
|
548
398
|
output,
|
|
549
399
|
parsedBody,
|
|
550
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
551
400
|
errorCode,
|
|
552
401
|
});
|
|
553
402
|
}
|
|
@@ -558,12 +407,12 @@ const de_BatchCreateVehicleCommand = async (output, context) => {
|
|
|
558
407
|
}
|
|
559
408
|
const data = await parseBody(output.body, context);
|
|
560
409
|
let contents = {};
|
|
561
|
-
contents =
|
|
410
|
+
contents = (0, smithy_client_1._json)(data);
|
|
562
411
|
const response = {
|
|
563
412
|
$metadata: deserializeMetadata(output),
|
|
564
413
|
...contents,
|
|
565
414
|
};
|
|
566
|
-
return
|
|
415
|
+
return response;
|
|
567
416
|
};
|
|
568
417
|
exports.de_BatchCreateVehicleCommand = de_BatchCreateVehicleCommand;
|
|
569
418
|
const de_BatchCreateVehicleCommandError = async (output, context) => {
|
|
@@ -590,10 +439,9 @@ const de_BatchCreateVehicleCommandError = async (output, context) => {
|
|
|
590
439
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
591
440
|
default:
|
|
592
441
|
const parsedBody = parsedOutput.body;
|
|
593
|
-
|
|
442
|
+
return throwDefaultError({
|
|
594
443
|
output,
|
|
595
444
|
parsedBody,
|
|
596
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
597
445
|
errorCode,
|
|
598
446
|
});
|
|
599
447
|
}
|
|
@@ -604,12 +452,12 @@ const de_BatchUpdateVehicleCommand = async (output, context) => {
|
|
|
604
452
|
}
|
|
605
453
|
const data = await parseBody(output.body, context);
|
|
606
454
|
let contents = {};
|
|
607
|
-
contents =
|
|
455
|
+
contents = (0, smithy_client_1._json)(data);
|
|
608
456
|
const response = {
|
|
609
457
|
$metadata: deserializeMetadata(output),
|
|
610
458
|
...contents,
|
|
611
459
|
};
|
|
612
|
-
return
|
|
460
|
+
return response;
|
|
613
461
|
};
|
|
614
462
|
exports.de_BatchUpdateVehicleCommand = de_BatchUpdateVehicleCommand;
|
|
615
463
|
const de_BatchUpdateVehicleCommandError = async (output, context) => {
|
|
@@ -633,10 +481,9 @@ const de_BatchUpdateVehicleCommandError = async (output, context) => {
|
|
|
633
481
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
634
482
|
default:
|
|
635
483
|
const parsedBody = parsedOutput.body;
|
|
636
|
-
|
|
484
|
+
return throwDefaultError({
|
|
637
485
|
output,
|
|
638
486
|
parsedBody,
|
|
639
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
640
487
|
errorCode,
|
|
641
488
|
});
|
|
642
489
|
}
|
|
@@ -647,12 +494,12 @@ const de_CreateCampaignCommand = async (output, context) => {
|
|
|
647
494
|
}
|
|
648
495
|
const data = await parseBody(output.body, context);
|
|
649
496
|
let contents = {};
|
|
650
|
-
contents =
|
|
497
|
+
contents = (0, smithy_client_1._json)(data);
|
|
651
498
|
const response = {
|
|
652
499
|
$metadata: deserializeMetadata(output),
|
|
653
500
|
...contents,
|
|
654
501
|
};
|
|
655
|
-
return
|
|
502
|
+
return response;
|
|
656
503
|
};
|
|
657
504
|
exports.de_CreateCampaignCommand = de_CreateCampaignCommand;
|
|
658
505
|
const de_CreateCampaignCommandError = async (output, context) => {
|
|
@@ -685,10 +532,9 @@ const de_CreateCampaignCommandError = async (output, context) => {
|
|
|
685
532
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
686
533
|
default:
|
|
687
534
|
const parsedBody = parsedOutput.body;
|
|
688
|
-
|
|
535
|
+
return throwDefaultError({
|
|
689
536
|
output,
|
|
690
537
|
parsedBody,
|
|
691
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
692
538
|
errorCode,
|
|
693
539
|
});
|
|
694
540
|
}
|
|
@@ -699,12 +545,12 @@ const de_CreateDecoderManifestCommand = async (output, context) => {
|
|
|
699
545
|
}
|
|
700
546
|
const data = await parseBody(output.body, context);
|
|
701
547
|
let contents = {};
|
|
702
|
-
contents =
|
|
548
|
+
contents = (0, smithy_client_1._json)(data);
|
|
703
549
|
const response = {
|
|
704
550
|
$metadata: deserializeMetadata(output),
|
|
705
551
|
...contents,
|
|
706
552
|
};
|
|
707
|
-
return
|
|
553
|
+
return response;
|
|
708
554
|
};
|
|
709
555
|
exports.de_CreateDecoderManifestCommand = de_CreateDecoderManifestCommand;
|
|
710
556
|
const de_CreateDecoderManifestCommandError = async (output, context) => {
|
|
@@ -740,10 +586,9 @@ const de_CreateDecoderManifestCommandError = async (output, context) => {
|
|
|
740
586
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
741
587
|
default:
|
|
742
588
|
const parsedBody = parsedOutput.body;
|
|
743
|
-
|
|
589
|
+
return throwDefaultError({
|
|
744
590
|
output,
|
|
745
591
|
parsedBody,
|
|
746
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
747
592
|
errorCode,
|
|
748
593
|
});
|
|
749
594
|
}
|
|
@@ -754,12 +599,12 @@ const de_CreateFleetCommand = async (output, context) => {
|
|
|
754
599
|
}
|
|
755
600
|
const data = await parseBody(output.body, context);
|
|
756
601
|
let contents = {};
|
|
757
|
-
contents =
|
|
602
|
+
contents = (0, smithy_client_1._json)(data);
|
|
758
603
|
const response = {
|
|
759
604
|
$metadata: deserializeMetadata(output),
|
|
760
605
|
...contents,
|
|
761
606
|
};
|
|
762
|
-
return
|
|
607
|
+
return response;
|
|
763
608
|
};
|
|
764
609
|
exports.de_CreateFleetCommand = de_CreateFleetCommand;
|
|
765
610
|
const de_CreateFleetCommandError = async (output, context) => {
|
|
@@ -792,10 +637,9 @@ const de_CreateFleetCommandError = async (output, context) => {
|
|
|
792
637
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
793
638
|
default:
|
|
794
639
|
const parsedBody = parsedOutput.body;
|
|
795
|
-
|
|
640
|
+
return throwDefaultError({
|
|
796
641
|
output,
|
|
797
642
|
parsedBody,
|
|
798
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
799
643
|
errorCode,
|
|
800
644
|
});
|
|
801
645
|
}
|
|
@@ -806,12 +650,12 @@ const de_CreateModelManifestCommand = async (output, context) => {
|
|
|
806
650
|
}
|
|
807
651
|
const data = await parseBody(output.body, context);
|
|
808
652
|
let contents = {};
|
|
809
|
-
contents =
|
|
653
|
+
contents = (0, smithy_client_1._json)(data);
|
|
810
654
|
const response = {
|
|
811
655
|
$metadata: deserializeMetadata(output),
|
|
812
656
|
...contents,
|
|
813
657
|
};
|
|
814
|
-
return
|
|
658
|
+
return response;
|
|
815
659
|
};
|
|
816
660
|
exports.de_CreateModelManifestCommand = de_CreateModelManifestCommand;
|
|
817
661
|
const de_CreateModelManifestCommandError = async (output, context) => {
|
|
@@ -847,10 +691,9 @@ const de_CreateModelManifestCommandError = async (output, context) => {
|
|
|
847
691
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
848
692
|
default:
|
|
849
693
|
const parsedBody = parsedOutput.body;
|
|
850
|
-
|
|
694
|
+
return throwDefaultError({
|
|
851
695
|
output,
|
|
852
696
|
parsedBody,
|
|
853
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
854
697
|
errorCode,
|
|
855
698
|
});
|
|
856
699
|
}
|
|
@@ -861,12 +704,12 @@ const de_CreateSignalCatalogCommand = async (output, context) => {
|
|
|
861
704
|
}
|
|
862
705
|
const data = await parseBody(output.body, context);
|
|
863
706
|
let contents = {};
|
|
864
|
-
contents =
|
|
707
|
+
contents = (0, smithy_client_1._json)(data);
|
|
865
708
|
const response = {
|
|
866
709
|
$metadata: deserializeMetadata(output),
|
|
867
710
|
...contents,
|
|
868
711
|
};
|
|
869
|
-
return
|
|
712
|
+
return response;
|
|
870
713
|
};
|
|
871
714
|
exports.de_CreateSignalCatalogCommand = de_CreateSignalCatalogCommand;
|
|
872
715
|
const de_CreateSignalCatalogCommandError = async (output, context) => {
|
|
@@ -902,10 +745,9 @@ const de_CreateSignalCatalogCommandError = async (output, context) => {
|
|
|
902
745
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
903
746
|
default:
|
|
904
747
|
const parsedBody = parsedOutput.body;
|
|
905
|
-
|
|
748
|
+
return throwDefaultError({
|
|
906
749
|
output,
|
|
907
750
|
parsedBody,
|
|
908
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
909
751
|
errorCode,
|
|
910
752
|
});
|
|
911
753
|
}
|
|
@@ -916,12 +758,12 @@ const de_CreateVehicleCommand = async (output, context) => {
|
|
|
916
758
|
}
|
|
917
759
|
const data = await parseBody(output.body, context);
|
|
918
760
|
let contents = {};
|
|
919
|
-
contents =
|
|
761
|
+
contents = (0, smithy_client_1._json)(data);
|
|
920
762
|
const response = {
|
|
921
763
|
$metadata: deserializeMetadata(output),
|
|
922
764
|
...contents,
|
|
923
765
|
};
|
|
924
|
-
return
|
|
766
|
+
return response;
|
|
925
767
|
};
|
|
926
768
|
exports.de_CreateVehicleCommand = de_CreateVehicleCommand;
|
|
927
769
|
const de_CreateVehicleCommandError = async (output, context) => {
|
|
@@ -954,10 +796,9 @@ const de_CreateVehicleCommandError = async (output, context) => {
|
|
|
954
796
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
955
797
|
default:
|
|
956
798
|
const parsedBody = parsedOutput.body;
|
|
957
|
-
|
|
799
|
+
return throwDefaultError({
|
|
958
800
|
output,
|
|
959
801
|
parsedBody,
|
|
960
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
961
802
|
errorCode,
|
|
962
803
|
});
|
|
963
804
|
}
|
|
@@ -968,12 +809,12 @@ const de_DeleteCampaignCommand = async (output, context) => {
|
|
|
968
809
|
}
|
|
969
810
|
const data = await parseBody(output.body, context);
|
|
970
811
|
let contents = {};
|
|
971
|
-
contents =
|
|
812
|
+
contents = (0, smithy_client_1._json)(data);
|
|
972
813
|
const response = {
|
|
973
814
|
$metadata: deserializeMetadata(output),
|
|
974
815
|
...contents,
|
|
975
816
|
};
|
|
976
|
-
return
|
|
817
|
+
return response;
|
|
977
818
|
};
|
|
978
819
|
exports.de_DeleteCampaignCommand = de_DeleteCampaignCommand;
|
|
979
820
|
const de_DeleteCampaignCommandError = async (output, context) => {
|
|
@@ -1000,10 +841,9 @@ const de_DeleteCampaignCommandError = async (output, context) => {
|
|
|
1000
841
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1001
842
|
default:
|
|
1002
843
|
const parsedBody = parsedOutput.body;
|
|
1003
|
-
|
|
844
|
+
return throwDefaultError({
|
|
1004
845
|
output,
|
|
1005
846
|
parsedBody,
|
|
1006
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1007
847
|
errorCode,
|
|
1008
848
|
});
|
|
1009
849
|
}
|
|
@@ -1014,12 +854,12 @@ const de_DeleteDecoderManifestCommand = async (output, context) => {
|
|
|
1014
854
|
}
|
|
1015
855
|
const data = await parseBody(output.body, context);
|
|
1016
856
|
let contents = {};
|
|
1017
|
-
contents =
|
|
857
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1018
858
|
const response = {
|
|
1019
859
|
$metadata: deserializeMetadata(output),
|
|
1020
860
|
...contents,
|
|
1021
861
|
};
|
|
1022
|
-
return
|
|
862
|
+
return response;
|
|
1023
863
|
};
|
|
1024
864
|
exports.de_DeleteDecoderManifestCommand = de_DeleteDecoderManifestCommand;
|
|
1025
865
|
const de_DeleteDecoderManifestCommandError = async (output, context) => {
|
|
@@ -1046,10 +886,9 @@ const de_DeleteDecoderManifestCommandError = async (output, context) => {
|
|
|
1046
886
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1047
887
|
default:
|
|
1048
888
|
const parsedBody = parsedOutput.body;
|
|
1049
|
-
|
|
889
|
+
return throwDefaultError({
|
|
1050
890
|
output,
|
|
1051
891
|
parsedBody,
|
|
1052
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1053
892
|
errorCode,
|
|
1054
893
|
});
|
|
1055
894
|
}
|
|
@@ -1060,12 +899,12 @@ const de_DeleteFleetCommand = async (output, context) => {
|
|
|
1060
899
|
}
|
|
1061
900
|
const data = await parseBody(output.body, context);
|
|
1062
901
|
let contents = {};
|
|
1063
|
-
contents =
|
|
902
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1064
903
|
const response = {
|
|
1065
904
|
$metadata: deserializeMetadata(output),
|
|
1066
905
|
...contents,
|
|
1067
906
|
};
|
|
1068
|
-
return
|
|
907
|
+
return response;
|
|
1069
908
|
};
|
|
1070
909
|
exports.de_DeleteFleetCommand = de_DeleteFleetCommand;
|
|
1071
910
|
const de_DeleteFleetCommandError = async (output, context) => {
|
|
@@ -1089,10 +928,9 @@ const de_DeleteFleetCommandError = async (output, context) => {
|
|
|
1089
928
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1090
929
|
default:
|
|
1091
930
|
const parsedBody = parsedOutput.body;
|
|
1092
|
-
|
|
931
|
+
return throwDefaultError({
|
|
1093
932
|
output,
|
|
1094
933
|
parsedBody,
|
|
1095
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1096
934
|
errorCode,
|
|
1097
935
|
});
|
|
1098
936
|
}
|
|
@@ -1103,12 +941,12 @@ const de_DeleteModelManifestCommand = async (output, context) => {
|
|
|
1103
941
|
}
|
|
1104
942
|
const data = await parseBody(output.body, context);
|
|
1105
943
|
let contents = {};
|
|
1106
|
-
contents =
|
|
944
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1107
945
|
const response = {
|
|
1108
946
|
$metadata: deserializeMetadata(output),
|
|
1109
947
|
...contents,
|
|
1110
948
|
};
|
|
1111
|
-
return
|
|
949
|
+
return response;
|
|
1112
950
|
};
|
|
1113
951
|
exports.de_DeleteModelManifestCommand = de_DeleteModelManifestCommand;
|
|
1114
952
|
const de_DeleteModelManifestCommandError = async (output, context) => {
|
|
@@ -1135,10 +973,9 @@ const de_DeleteModelManifestCommandError = async (output, context) => {
|
|
|
1135
973
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1136
974
|
default:
|
|
1137
975
|
const parsedBody = parsedOutput.body;
|
|
1138
|
-
|
|
976
|
+
return throwDefaultError({
|
|
1139
977
|
output,
|
|
1140
978
|
parsedBody,
|
|
1141
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1142
979
|
errorCode,
|
|
1143
980
|
});
|
|
1144
981
|
}
|
|
@@ -1149,12 +986,12 @@ const de_DeleteSignalCatalogCommand = async (output, context) => {
|
|
|
1149
986
|
}
|
|
1150
987
|
const data = await parseBody(output.body, context);
|
|
1151
988
|
let contents = {};
|
|
1152
|
-
contents =
|
|
989
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1153
990
|
const response = {
|
|
1154
991
|
$metadata: deserializeMetadata(output),
|
|
1155
992
|
...contents,
|
|
1156
993
|
};
|
|
1157
|
-
return
|
|
994
|
+
return response;
|
|
1158
995
|
};
|
|
1159
996
|
exports.de_DeleteSignalCatalogCommand = de_DeleteSignalCatalogCommand;
|
|
1160
997
|
const de_DeleteSignalCatalogCommandError = async (output, context) => {
|
|
@@ -1181,10 +1018,9 @@ const de_DeleteSignalCatalogCommandError = async (output, context) => {
|
|
|
1181
1018
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1182
1019
|
default:
|
|
1183
1020
|
const parsedBody = parsedOutput.body;
|
|
1184
|
-
|
|
1021
|
+
return throwDefaultError({
|
|
1185
1022
|
output,
|
|
1186
1023
|
parsedBody,
|
|
1187
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1188
1024
|
errorCode,
|
|
1189
1025
|
});
|
|
1190
1026
|
}
|
|
@@ -1195,12 +1031,12 @@ const de_DeleteVehicleCommand = async (output, context) => {
|
|
|
1195
1031
|
}
|
|
1196
1032
|
const data = await parseBody(output.body, context);
|
|
1197
1033
|
let contents = {};
|
|
1198
|
-
contents =
|
|
1034
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1199
1035
|
const response = {
|
|
1200
1036
|
$metadata: deserializeMetadata(output),
|
|
1201
1037
|
...contents,
|
|
1202
1038
|
};
|
|
1203
|
-
return
|
|
1039
|
+
return response;
|
|
1204
1040
|
};
|
|
1205
1041
|
exports.de_DeleteVehicleCommand = de_DeleteVehicleCommand;
|
|
1206
1042
|
const de_DeleteVehicleCommandError = async (output, context) => {
|
|
@@ -1224,10 +1060,9 @@ const de_DeleteVehicleCommandError = async (output, context) => {
|
|
|
1224
1060
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1225
1061
|
default:
|
|
1226
1062
|
const parsedBody = parsedOutput.body;
|
|
1227
|
-
|
|
1063
|
+
return throwDefaultError({
|
|
1228
1064
|
output,
|
|
1229
1065
|
parsedBody,
|
|
1230
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1231
1066
|
errorCode,
|
|
1232
1067
|
});
|
|
1233
1068
|
}
|
|
@@ -1238,12 +1073,12 @@ const de_DisassociateVehicleFleetCommand = async (output, context) => {
|
|
|
1238
1073
|
}
|
|
1239
1074
|
const data = await parseBody(output.body, context);
|
|
1240
1075
|
let contents = {};
|
|
1241
|
-
contents =
|
|
1076
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1242
1077
|
const response = {
|
|
1243
1078
|
$metadata: deserializeMetadata(output),
|
|
1244
1079
|
...contents,
|
|
1245
1080
|
};
|
|
1246
|
-
return
|
|
1081
|
+
return response;
|
|
1247
1082
|
};
|
|
1248
1083
|
exports.de_DisassociateVehicleFleetCommand = de_DisassociateVehicleFleetCommand;
|
|
1249
1084
|
const de_DisassociateVehicleFleetCommandError = async (output, context) => {
|
|
@@ -1270,10 +1105,9 @@ const de_DisassociateVehicleFleetCommandError = async (output, context) => {
|
|
|
1270
1105
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1271
1106
|
default:
|
|
1272
1107
|
const parsedBody = parsedOutput.body;
|
|
1273
|
-
|
|
1108
|
+
return throwDefaultError({
|
|
1274
1109
|
output,
|
|
1275
1110
|
parsedBody,
|
|
1276
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1277
1111
|
errorCode,
|
|
1278
1112
|
});
|
|
1279
1113
|
}
|
|
@@ -1289,7 +1123,7 @@ const de_GetCampaignCommand = async (output, context) => {
|
|
|
1289
1123
|
$metadata: deserializeMetadata(output),
|
|
1290
1124
|
...contents,
|
|
1291
1125
|
};
|
|
1292
|
-
return
|
|
1126
|
+
return response;
|
|
1293
1127
|
};
|
|
1294
1128
|
exports.de_GetCampaignCommand = de_GetCampaignCommand;
|
|
1295
1129
|
const de_GetCampaignCommandError = async (output, context) => {
|
|
@@ -1316,10 +1150,9 @@ const de_GetCampaignCommandError = async (output, context) => {
|
|
|
1316
1150
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1317
1151
|
default:
|
|
1318
1152
|
const parsedBody = parsedOutput.body;
|
|
1319
|
-
|
|
1153
|
+
return throwDefaultError({
|
|
1320
1154
|
output,
|
|
1321
1155
|
parsedBody,
|
|
1322
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1323
1156
|
errorCode,
|
|
1324
1157
|
});
|
|
1325
1158
|
}
|
|
@@ -1335,7 +1168,7 @@ const de_GetDecoderManifestCommand = async (output, context) => {
|
|
|
1335
1168
|
$metadata: deserializeMetadata(output),
|
|
1336
1169
|
...contents,
|
|
1337
1170
|
};
|
|
1338
|
-
return
|
|
1171
|
+
return response;
|
|
1339
1172
|
};
|
|
1340
1173
|
exports.de_GetDecoderManifestCommand = de_GetDecoderManifestCommand;
|
|
1341
1174
|
const de_GetDecoderManifestCommandError = async (output, context) => {
|
|
@@ -1362,10 +1195,9 @@ const de_GetDecoderManifestCommandError = async (output, context) => {
|
|
|
1362
1195
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1363
1196
|
default:
|
|
1364
1197
|
const parsedBody = parsedOutput.body;
|
|
1365
|
-
|
|
1198
|
+
return throwDefaultError({
|
|
1366
1199
|
output,
|
|
1367
1200
|
parsedBody,
|
|
1368
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1369
1201
|
errorCode,
|
|
1370
1202
|
});
|
|
1371
1203
|
}
|
|
@@ -1381,7 +1213,7 @@ const de_GetFleetCommand = async (output, context) => {
|
|
|
1381
1213
|
$metadata: deserializeMetadata(output),
|
|
1382
1214
|
...contents,
|
|
1383
1215
|
};
|
|
1384
|
-
return
|
|
1216
|
+
return response;
|
|
1385
1217
|
};
|
|
1386
1218
|
exports.de_GetFleetCommand = de_GetFleetCommand;
|
|
1387
1219
|
const de_GetFleetCommandError = async (output, context) => {
|
|
@@ -1408,10 +1240,9 @@ const de_GetFleetCommandError = async (output, context) => {
|
|
|
1408
1240
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1409
1241
|
default:
|
|
1410
1242
|
const parsedBody = parsedOutput.body;
|
|
1411
|
-
|
|
1243
|
+
return throwDefaultError({
|
|
1412
1244
|
output,
|
|
1413
1245
|
parsedBody,
|
|
1414
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1415
1246
|
errorCode,
|
|
1416
1247
|
});
|
|
1417
1248
|
}
|
|
@@ -1422,12 +1253,12 @@ const de_GetLoggingOptionsCommand = async (output, context) => {
|
|
|
1422
1253
|
}
|
|
1423
1254
|
const data = await parseBody(output.body, context);
|
|
1424
1255
|
let contents = {};
|
|
1425
|
-
contents =
|
|
1256
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1426
1257
|
const response = {
|
|
1427
1258
|
$metadata: deserializeMetadata(output),
|
|
1428
1259
|
...contents,
|
|
1429
1260
|
};
|
|
1430
|
-
return
|
|
1261
|
+
return response;
|
|
1431
1262
|
};
|
|
1432
1263
|
exports.de_GetLoggingOptionsCommand = de_GetLoggingOptionsCommand;
|
|
1433
1264
|
const de_GetLoggingOptionsCommandError = async (output, context) => {
|
|
@@ -1448,10 +1279,9 @@ const de_GetLoggingOptionsCommandError = async (output, context) => {
|
|
|
1448
1279
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1449
1280
|
default:
|
|
1450
1281
|
const parsedBody = parsedOutput.body;
|
|
1451
|
-
|
|
1282
|
+
return throwDefaultError({
|
|
1452
1283
|
output,
|
|
1453
1284
|
parsedBody,
|
|
1454
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1455
1285
|
errorCode,
|
|
1456
1286
|
});
|
|
1457
1287
|
}
|
|
@@ -1467,7 +1297,7 @@ const de_GetModelManifestCommand = async (output, context) => {
|
|
|
1467
1297
|
$metadata: deserializeMetadata(output),
|
|
1468
1298
|
...contents,
|
|
1469
1299
|
};
|
|
1470
|
-
return
|
|
1300
|
+
return response;
|
|
1471
1301
|
};
|
|
1472
1302
|
exports.de_GetModelManifestCommand = de_GetModelManifestCommand;
|
|
1473
1303
|
const de_GetModelManifestCommandError = async (output, context) => {
|
|
@@ -1494,10 +1324,9 @@ const de_GetModelManifestCommandError = async (output, context) => {
|
|
|
1494
1324
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1495
1325
|
default:
|
|
1496
1326
|
const parsedBody = parsedOutput.body;
|
|
1497
|
-
|
|
1327
|
+
return throwDefaultError({
|
|
1498
1328
|
output,
|
|
1499
1329
|
parsedBody,
|
|
1500
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1501
1330
|
errorCode,
|
|
1502
1331
|
});
|
|
1503
1332
|
}
|
|
@@ -1513,7 +1342,7 @@ const de_GetRegisterAccountStatusCommand = async (output, context) => {
|
|
|
1513
1342
|
$metadata: deserializeMetadata(output),
|
|
1514
1343
|
...contents,
|
|
1515
1344
|
};
|
|
1516
|
-
return
|
|
1345
|
+
return response;
|
|
1517
1346
|
};
|
|
1518
1347
|
exports.de_GetRegisterAccountStatusCommand = de_GetRegisterAccountStatusCommand;
|
|
1519
1348
|
const de_GetRegisterAccountStatusCommandError = async (output, context) => {
|
|
@@ -1540,10 +1369,9 @@ const de_GetRegisterAccountStatusCommandError = async (output, context) => {
|
|
|
1540
1369
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1541
1370
|
default:
|
|
1542
1371
|
const parsedBody = parsedOutput.body;
|
|
1543
|
-
|
|
1372
|
+
return throwDefaultError({
|
|
1544
1373
|
output,
|
|
1545
1374
|
parsedBody,
|
|
1546
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1547
1375
|
errorCode,
|
|
1548
1376
|
});
|
|
1549
1377
|
}
|
|
@@ -1559,7 +1387,7 @@ const de_GetSignalCatalogCommand = async (output, context) => {
|
|
|
1559
1387
|
$metadata: deserializeMetadata(output),
|
|
1560
1388
|
...contents,
|
|
1561
1389
|
};
|
|
1562
|
-
return
|
|
1390
|
+
return response;
|
|
1563
1391
|
};
|
|
1564
1392
|
exports.de_GetSignalCatalogCommand = de_GetSignalCatalogCommand;
|
|
1565
1393
|
const de_GetSignalCatalogCommandError = async (output, context) => {
|
|
@@ -1586,10 +1414,9 @@ const de_GetSignalCatalogCommandError = async (output, context) => {
|
|
|
1586
1414
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1587
1415
|
default:
|
|
1588
1416
|
const parsedBody = parsedOutput.body;
|
|
1589
|
-
|
|
1417
|
+
return throwDefaultError({
|
|
1590
1418
|
output,
|
|
1591
1419
|
parsedBody,
|
|
1592
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1593
1420
|
errorCode,
|
|
1594
1421
|
});
|
|
1595
1422
|
}
|
|
@@ -1605,7 +1432,7 @@ const de_GetVehicleCommand = async (output, context) => {
|
|
|
1605
1432
|
$metadata: deserializeMetadata(output),
|
|
1606
1433
|
...contents,
|
|
1607
1434
|
};
|
|
1608
|
-
return
|
|
1435
|
+
return response;
|
|
1609
1436
|
};
|
|
1610
1437
|
exports.de_GetVehicleCommand = de_GetVehicleCommand;
|
|
1611
1438
|
const de_GetVehicleCommandError = async (output, context) => {
|
|
@@ -1632,10 +1459,9 @@ const de_GetVehicleCommandError = async (output, context) => {
|
|
|
1632
1459
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1633
1460
|
default:
|
|
1634
1461
|
const parsedBody = parsedOutput.body;
|
|
1635
|
-
|
|
1462
|
+
return throwDefaultError({
|
|
1636
1463
|
output,
|
|
1637
1464
|
parsedBody,
|
|
1638
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1639
1465
|
errorCode,
|
|
1640
1466
|
});
|
|
1641
1467
|
}
|
|
@@ -1646,12 +1472,12 @@ const de_GetVehicleStatusCommand = async (output, context) => {
|
|
|
1646
1472
|
}
|
|
1647
1473
|
const data = await parseBody(output.body, context);
|
|
1648
1474
|
let contents = {};
|
|
1649
|
-
contents =
|
|
1475
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1650
1476
|
const response = {
|
|
1651
1477
|
$metadata: deserializeMetadata(output),
|
|
1652
1478
|
...contents,
|
|
1653
1479
|
};
|
|
1654
|
-
return
|
|
1480
|
+
return response;
|
|
1655
1481
|
};
|
|
1656
1482
|
exports.de_GetVehicleStatusCommand = de_GetVehicleStatusCommand;
|
|
1657
1483
|
const de_GetVehicleStatusCommandError = async (output, context) => {
|
|
@@ -1678,10 +1504,9 @@ const de_GetVehicleStatusCommandError = async (output, context) => {
|
|
|
1678
1504
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1679
1505
|
default:
|
|
1680
1506
|
const parsedBody = parsedOutput.body;
|
|
1681
|
-
|
|
1507
|
+
return throwDefaultError({
|
|
1682
1508
|
output,
|
|
1683
1509
|
parsedBody,
|
|
1684
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1685
1510
|
errorCode,
|
|
1686
1511
|
});
|
|
1687
1512
|
}
|
|
@@ -1692,12 +1517,12 @@ const de_ImportDecoderManifestCommand = async (output, context) => {
|
|
|
1692
1517
|
}
|
|
1693
1518
|
const data = await parseBody(output.body, context);
|
|
1694
1519
|
let contents = {};
|
|
1695
|
-
contents =
|
|
1520
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1696
1521
|
const response = {
|
|
1697
1522
|
$metadata: deserializeMetadata(output),
|
|
1698
1523
|
...contents,
|
|
1699
1524
|
};
|
|
1700
|
-
return
|
|
1525
|
+
return response;
|
|
1701
1526
|
};
|
|
1702
1527
|
exports.de_ImportDecoderManifestCommand = de_ImportDecoderManifestCommand;
|
|
1703
1528
|
const de_ImportDecoderManifestCommandError = async (output, context) => {
|
|
@@ -1733,10 +1558,9 @@ const de_ImportDecoderManifestCommandError = async (output, context) => {
|
|
|
1733
1558
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1734
1559
|
default:
|
|
1735
1560
|
const parsedBody = parsedOutput.body;
|
|
1736
|
-
|
|
1561
|
+
return throwDefaultError({
|
|
1737
1562
|
output,
|
|
1738
1563
|
parsedBody,
|
|
1739
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1740
1564
|
errorCode,
|
|
1741
1565
|
});
|
|
1742
1566
|
}
|
|
@@ -1747,12 +1571,12 @@ const de_ImportSignalCatalogCommand = async (output, context) => {
|
|
|
1747
1571
|
}
|
|
1748
1572
|
const data = await parseBody(output.body, context);
|
|
1749
1573
|
let contents = {};
|
|
1750
|
-
contents =
|
|
1574
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1751
1575
|
const response = {
|
|
1752
1576
|
$metadata: deserializeMetadata(output),
|
|
1753
1577
|
...contents,
|
|
1754
1578
|
};
|
|
1755
|
-
return
|
|
1579
|
+
return response;
|
|
1756
1580
|
};
|
|
1757
1581
|
exports.de_ImportSignalCatalogCommand = de_ImportSignalCatalogCommand;
|
|
1758
1582
|
const de_ImportSignalCatalogCommandError = async (output, context) => {
|
|
@@ -1788,10 +1612,9 @@ const de_ImportSignalCatalogCommandError = async (output, context) => {
|
|
|
1788
1612
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1789
1613
|
default:
|
|
1790
1614
|
const parsedBody = parsedOutput.body;
|
|
1791
|
-
|
|
1615
|
+
return throwDefaultError({
|
|
1792
1616
|
output,
|
|
1793
1617
|
parsedBody,
|
|
1794
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1795
1618
|
errorCode,
|
|
1796
1619
|
});
|
|
1797
1620
|
}
|
|
@@ -1807,7 +1630,7 @@ const de_ListCampaignsCommand = async (output, context) => {
|
|
|
1807
1630
|
$metadata: deserializeMetadata(output),
|
|
1808
1631
|
...contents,
|
|
1809
1632
|
};
|
|
1810
|
-
return
|
|
1633
|
+
return response;
|
|
1811
1634
|
};
|
|
1812
1635
|
exports.de_ListCampaignsCommand = de_ListCampaignsCommand;
|
|
1813
1636
|
const de_ListCampaignsCommandError = async (output, context) => {
|
|
@@ -1831,10 +1654,9 @@ const de_ListCampaignsCommandError = async (output, context) => {
|
|
|
1831
1654
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1832
1655
|
default:
|
|
1833
1656
|
const parsedBody = parsedOutput.body;
|
|
1834
|
-
|
|
1657
|
+
return throwDefaultError({
|
|
1835
1658
|
output,
|
|
1836
1659
|
parsedBody,
|
|
1837
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1838
1660
|
errorCode,
|
|
1839
1661
|
});
|
|
1840
1662
|
}
|
|
@@ -1845,12 +1667,12 @@ const de_ListDecoderManifestNetworkInterfacesCommand = async (output, context) =
|
|
|
1845
1667
|
}
|
|
1846
1668
|
const data = await parseBody(output.body, context);
|
|
1847
1669
|
let contents = {};
|
|
1848
|
-
contents =
|
|
1670
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1849
1671
|
const response = {
|
|
1850
1672
|
$metadata: deserializeMetadata(output),
|
|
1851
1673
|
...contents,
|
|
1852
1674
|
};
|
|
1853
|
-
return
|
|
1675
|
+
return response;
|
|
1854
1676
|
};
|
|
1855
1677
|
exports.de_ListDecoderManifestNetworkInterfacesCommand = de_ListDecoderManifestNetworkInterfacesCommand;
|
|
1856
1678
|
const de_ListDecoderManifestNetworkInterfacesCommandError = async (output, context) => {
|
|
@@ -1877,10 +1699,9 @@ const de_ListDecoderManifestNetworkInterfacesCommandError = async (output, conte
|
|
|
1877
1699
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1878
1700
|
default:
|
|
1879
1701
|
const parsedBody = parsedOutput.body;
|
|
1880
|
-
|
|
1702
|
+
return throwDefaultError({
|
|
1881
1703
|
output,
|
|
1882
1704
|
parsedBody,
|
|
1883
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1884
1705
|
errorCode,
|
|
1885
1706
|
});
|
|
1886
1707
|
}
|
|
@@ -1896,7 +1717,7 @@ const de_ListDecoderManifestsCommand = async (output, context) => {
|
|
|
1896
1717
|
$metadata: deserializeMetadata(output),
|
|
1897
1718
|
...contents,
|
|
1898
1719
|
};
|
|
1899
|
-
return
|
|
1720
|
+
return response;
|
|
1900
1721
|
};
|
|
1901
1722
|
exports.de_ListDecoderManifestsCommand = de_ListDecoderManifestsCommand;
|
|
1902
1723
|
const de_ListDecoderManifestsCommandError = async (output, context) => {
|
|
@@ -1920,10 +1741,9 @@ const de_ListDecoderManifestsCommandError = async (output, context) => {
|
|
|
1920
1741
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1921
1742
|
default:
|
|
1922
1743
|
const parsedBody = parsedOutput.body;
|
|
1923
|
-
|
|
1744
|
+
return throwDefaultError({
|
|
1924
1745
|
output,
|
|
1925
1746
|
parsedBody,
|
|
1926
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1927
1747
|
errorCode,
|
|
1928
1748
|
});
|
|
1929
1749
|
}
|
|
@@ -1939,7 +1759,7 @@ const de_ListDecoderManifestSignalsCommand = async (output, context) => {
|
|
|
1939
1759
|
$metadata: deserializeMetadata(output),
|
|
1940
1760
|
...contents,
|
|
1941
1761
|
};
|
|
1942
|
-
return
|
|
1762
|
+
return response;
|
|
1943
1763
|
};
|
|
1944
1764
|
exports.de_ListDecoderManifestSignalsCommand = de_ListDecoderManifestSignalsCommand;
|
|
1945
1765
|
const de_ListDecoderManifestSignalsCommandError = async (output, context) => {
|
|
@@ -1966,10 +1786,9 @@ const de_ListDecoderManifestSignalsCommandError = async (output, context) => {
|
|
|
1966
1786
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1967
1787
|
default:
|
|
1968
1788
|
const parsedBody = parsedOutput.body;
|
|
1969
|
-
|
|
1789
|
+
return throwDefaultError({
|
|
1970
1790
|
output,
|
|
1971
1791
|
parsedBody,
|
|
1972
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
1973
1792
|
errorCode,
|
|
1974
1793
|
});
|
|
1975
1794
|
}
|
|
@@ -1985,7 +1804,7 @@ const de_ListFleetsCommand = async (output, context) => {
|
|
|
1985
1804
|
$metadata: deserializeMetadata(output),
|
|
1986
1805
|
...contents,
|
|
1987
1806
|
};
|
|
1988
|
-
return
|
|
1807
|
+
return response;
|
|
1989
1808
|
};
|
|
1990
1809
|
exports.de_ListFleetsCommand = de_ListFleetsCommand;
|
|
1991
1810
|
const de_ListFleetsCommandError = async (output, context) => {
|
|
@@ -2012,10 +1831,9 @@ const de_ListFleetsCommandError = async (output, context) => {
|
|
|
2012
1831
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2013
1832
|
default:
|
|
2014
1833
|
const parsedBody = parsedOutput.body;
|
|
2015
|
-
|
|
1834
|
+
return throwDefaultError({
|
|
2016
1835
|
output,
|
|
2017
1836
|
parsedBody,
|
|
2018
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2019
1837
|
errorCode,
|
|
2020
1838
|
});
|
|
2021
1839
|
}
|
|
@@ -2026,12 +1844,12 @@ const de_ListFleetsForVehicleCommand = async (output, context) => {
|
|
|
2026
1844
|
}
|
|
2027
1845
|
const data = await parseBody(output.body, context);
|
|
2028
1846
|
let contents = {};
|
|
2029
|
-
contents =
|
|
1847
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2030
1848
|
const response = {
|
|
2031
1849
|
$metadata: deserializeMetadata(output),
|
|
2032
1850
|
...contents,
|
|
2033
1851
|
};
|
|
2034
|
-
return
|
|
1852
|
+
return response;
|
|
2035
1853
|
};
|
|
2036
1854
|
exports.de_ListFleetsForVehicleCommand = de_ListFleetsForVehicleCommand;
|
|
2037
1855
|
const de_ListFleetsForVehicleCommandError = async (output, context) => {
|
|
@@ -2058,10 +1876,9 @@ const de_ListFleetsForVehicleCommandError = async (output, context) => {
|
|
|
2058
1876
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2059
1877
|
default:
|
|
2060
1878
|
const parsedBody = parsedOutput.body;
|
|
2061
|
-
|
|
1879
|
+
return throwDefaultError({
|
|
2062
1880
|
output,
|
|
2063
1881
|
parsedBody,
|
|
2064
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2065
1882
|
errorCode,
|
|
2066
1883
|
});
|
|
2067
1884
|
}
|
|
@@ -2077,7 +1894,7 @@ const de_ListModelManifestNodesCommand = async (output, context) => {
|
|
|
2077
1894
|
$metadata: deserializeMetadata(output),
|
|
2078
1895
|
...contents,
|
|
2079
1896
|
};
|
|
2080
|
-
return
|
|
1897
|
+
return response;
|
|
2081
1898
|
};
|
|
2082
1899
|
exports.de_ListModelManifestNodesCommand = de_ListModelManifestNodesCommand;
|
|
2083
1900
|
const de_ListModelManifestNodesCommandError = async (output, context) => {
|
|
@@ -2107,10 +1924,9 @@ const de_ListModelManifestNodesCommandError = async (output, context) => {
|
|
|
2107
1924
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2108
1925
|
default:
|
|
2109
1926
|
const parsedBody = parsedOutput.body;
|
|
2110
|
-
|
|
1927
|
+
return throwDefaultError({
|
|
2111
1928
|
output,
|
|
2112
1929
|
parsedBody,
|
|
2113
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2114
1930
|
errorCode,
|
|
2115
1931
|
});
|
|
2116
1932
|
}
|
|
@@ -2126,7 +1942,7 @@ const de_ListModelManifestsCommand = async (output, context) => {
|
|
|
2126
1942
|
$metadata: deserializeMetadata(output),
|
|
2127
1943
|
...contents,
|
|
2128
1944
|
};
|
|
2129
|
-
return
|
|
1945
|
+
return response;
|
|
2130
1946
|
};
|
|
2131
1947
|
exports.de_ListModelManifestsCommand = de_ListModelManifestsCommand;
|
|
2132
1948
|
const de_ListModelManifestsCommandError = async (output, context) => {
|
|
@@ -2150,10 +1966,9 @@ const de_ListModelManifestsCommandError = async (output, context) => {
|
|
|
2150
1966
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2151
1967
|
default:
|
|
2152
1968
|
const parsedBody = parsedOutput.body;
|
|
2153
|
-
|
|
1969
|
+
return throwDefaultError({
|
|
2154
1970
|
output,
|
|
2155
1971
|
parsedBody,
|
|
2156
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2157
1972
|
errorCode,
|
|
2158
1973
|
});
|
|
2159
1974
|
}
|
|
@@ -2169,7 +1984,7 @@ const de_ListSignalCatalogNodesCommand = async (output, context) => {
|
|
|
2169
1984
|
$metadata: deserializeMetadata(output),
|
|
2170
1985
|
...contents,
|
|
2171
1986
|
};
|
|
2172
|
-
return
|
|
1987
|
+
return response;
|
|
2173
1988
|
};
|
|
2174
1989
|
exports.de_ListSignalCatalogNodesCommand = de_ListSignalCatalogNodesCommand;
|
|
2175
1990
|
const de_ListSignalCatalogNodesCommandError = async (output, context) => {
|
|
@@ -2199,10 +2014,9 @@ const de_ListSignalCatalogNodesCommandError = async (output, context) => {
|
|
|
2199
2014
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2200
2015
|
default:
|
|
2201
2016
|
const parsedBody = parsedOutput.body;
|
|
2202
|
-
|
|
2017
|
+
return throwDefaultError({
|
|
2203
2018
|
output,
|
|
2204
2019
|
parsedBody,
|
|
2205
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2206
2020
|
errorCode,
|
|
2207
2021
|
});
|
|
2208
2022
|
}
|
|
@@ -2218,7 +2032,7 @@ const de_ListSignalCatalogsCommand = async (output, context) => {
|
|
|
2218
2032
|
$metadata: deserializeMetadata(output),
|
|
2219
2033
|
...contents,
|
|
2220
2034
|
};
|
|
2221
|
-
return
|
|
2035
|
+
return response;
|
|
2222
2036
|
};
|
|
2223
2037
|
exports.de_ListSignalCatalogsCommand = de_ListSignalCatalogsCommand;
|
|
2224
2038
|
const de_ListSignalCatalogsCommandError = async (output, context) => {
|
|
@@ -2242,10 +2056,9 @@ const de_ListSignalCatalogsCommandError = async (output, context) => {
|
|
|
2242
2056
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2243
2057
|
default:
|
|
2244
2058
|
const parsedBody = parsedOutput.body;
|
|
2245
|
-
|
|
2059
|
+
return throwDefaultError({
|
|
2246
2060
|
output,
|
|
2247
2061
|
parsedBody,
|
|
2248
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2249
2062
|
errorCode,
|
|
2250
2063
|
});
|
|
2251
2064
|
}
|
|
@@ -2256,12 +2069,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2256
2069
|
}
|
|
2257
2070
|
const data = await parseBody(output.body, context);
|
|
2258
2071
|
let contents = {};
|
|
2259
|
-
contents =
|
|
2072
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2260
2073
|
const response = {
|
|
2261
2074
|
$metadata: deserializeMetadata(output),
|
|
2262
2075
|
...contents,
|
|
2263
2076
|
};
|
|
2264
|
-
return
|
|
2077
|
+
return response;
|
|
2265
2078
|
};
|
|
2266
2079
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2267
2080
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2288,10 +2101,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2288
2101
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2289
2102
|
default:
|
|
2290
2103
|
const parsedBody = parsedOutput.body;
|
|
2291
|
-
|
|
2104
|
+
return throwDefaultError({
|
|
2292
2105
|
output,
|
|
2293
2106
|
parsedBody,
|
|
2294
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2295
2107
|
errorCode,
|
|
2296
2108
|
});
|
|
2297
2109
|
}
|
|
@@ -2307,7 +2119,7 @@ const de_ListVehiclesCommand = async (output, context) => {
|
|
|
2307
2119
|
$metadata: deserializeMetadata(output),
|
|
2308
2120
|
...contents,
|
|
2309
2121
|
};
|
|
2310
|
-
return
|
|
2122
|
+
return response;
|
|
2311
2123
|
};
|
|
2312
2124
|
exports.de_ListVehiclesCommand = de_ListVehiclesCommand;
|
|
2313
2125
|
const de_ListVehiclesCommandError = async (output, context) => {
|
|
@@ -2331,10 +2143,9 @@ const de_ListVehiclesCommandError = async (output, context) => {
|
|
|
2331
2143
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2332
2144
|
default:
|
|
2333
2145
|
const parsedBody = parsedOutput.body;
|
|
2334
|
-
|
|
2146
|
+
return throwDefaultError({
|
|
2335
2147
|
output,
|
|
2336
2148
|
parsedBody,
|
|
2337
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2338
2149
|
errorCode,
|
|
2339
2150
|
});
|
|
2340
2151
|
}
|
|
@@ -2345,12 +2156,12 @@ const de_ListVehiclesInFleetCommand = async (output, context) => {
|
|
|
2345
2156
|
}
|
|
2346
2157
|
const data = await parseBody(output.body, context);
|
|
2347
2158
|
let contents = {};
|
|
2348
|
-
contents =
|
|
2159
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2349
2160
|
const response = {
|
|
2350
2161
|
$metadata: deserializeMetadata(output),
|
|
2351
2162
|
...contents,
|
|
2352
2163
|
};
|
|
2353
|
-
return
|
|
2164
|
+
return response;
|
|
2354
2165
|
};
|
|
2355
2166
|
exports.de_ListVehiclesInFleetCommand = de_ListVehiclesInFleetCommand;
|
|
2356
2167
|
const de_ListVehiclesInFleetCommandError = async (output, context) => {
|
|
@@ -2377,10 +2188,9 @@ const de_ListVehiclesInFleetCommandError = async (output, context) => {
|
|
|
2377
2188
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2378
2189
|
default:
|
|
2379
2190
|
const parsedBody = parsedOutput.body;
|
|
2380
|
-
|
|
2191
|
+
return throwDefaultError({
|
|
2381
2192
|
output,
|
|
2382
2193
|
parsedBody,
|
|
2383
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2384
2194
|
errorCode,
|
|
2385
2195
|
});
|
|
2386
2196
|
}
|
|
@@ -2391,12 +2201,12 @@ const de_PutLoggingOptionsCommand = async (output, context) => {
|
|
|
2391
2201
|
}
|
|
2392
2202
|
const data = await parseBody(output.body, context);
|
|
2393
2203
|
let contents = {};
|
|
2394
|
-
contents =
|
|
2204
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2395
2205
|
const response = {
|
|
2396
2206
|
$metadata: deserializeMetadata(output),
|
|
2397
2207
|
...contents,
|
|
2398
2208
|
};
|
|
2399
|
-
return
|
|
2209
|
+
return response;
|
|
2400
2210
|
};
|
|
2401
2211
|
exports.de_PutLoggingOptionsCommand = de_PutLoggingOptionsCommand;
|
|
2402
2212
|
const de_PutLoggingOptionsCommandError = async (output, context) => {
|
|
@@ -2426,10 +2236,9 @@ const de_PutLoggingOptionsCommandError = async (output, context) => {
|
|
|
2426
2236
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2427
2237
|
default:
|
|
2428
2238
|
const parsedBody = parsedOutput.body;
|
|
2429
|
-
|
|
2239
|
+
return throwDefaultError({
|
|
2430
2240
|
output,
|
|
2431
2241
|
parsedBody,
|
|
2432
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2433
2242
|
errorCode,
|
|
2434
2243
|
});
|
|
2435
2244
|
}
|
|
@@ -2445,7 +2254,7 @@ const de_RegisterAccountCommand = async (output, context) => {
|
|
|
2445
2254
|
$metadata: deserializeMetadata(output),
|
|
2446
2255
|
...contents,
|
|
2447
2256
|
};
|
|
2448
|
-
return
|
|
2257
|
+
return response;
|
|
2449
2258
|
};
|
|
2450
2259
|
exports.de_RegisterAccountCommand = de_RegisterAccountCommand;
|
|
2451
2260
|
const de_RegisterAccountCommandError = async (output, context) => {
|
|
@@ -2475,10 +2284,9 @@ const de_RegisterAccountCommandError = async (output, context) => {
|
|
|
2475
2284
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2476
2285
|
default:
|
|
2477
2286
|
const parsedBody = parsedOutput.body;
|
|
2478
|
-
|
|
2287
|
+
return throwDefaultError({
|
|
2479
2288
|
output,
|
|
2480
2289
|
parsedBody,
|
|
2481
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2482
2290
|
errorCode,
|
|
2483
2291
|
});
|
|
2484
2292
|
}
|
|
@@ -2489,12 +2297,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
2489
2297
|
}
|
|
2490
2298
|
const data = await parseBody(output.body, context);
|
|
2491
2299
|
let contents = {};
|
|
2492
|
-
contents =
|
|
2300
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2493
2301
|
const response = {
|
|
2494
2302
|
$metadata: deserializeMetadata(output),
|
|
2495
2303
|
...contents,
|
|
2496
2304
|
};
|
|
2497
|
-
return
|
|
2305
|
+
return response;
|
|
2498
2306
|
};
|
|
2499
2307
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2500
2308
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -2521,10 +2329,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2521
2329
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2522
2330
|
default:
|
|
2523
2331
|
const parsedBody = parsedOutput.body;
|
|
2524
|
-
|
|
2332
|
+
return throwDefaultError({
|
|
2525
2333
|
output,
|
|
2526
2334
|
parsedBody,
|
|
2527
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2528
2335
|
errorCode,
|
|
2529
2336
|
});
|
|
2530
2337
|
}
|
|
@@ -2535,12 +2342,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
2535
2342
|
}
|
|
2536
2343
|
const data = await parseBody(output.body, context);
|
|
2537
2344
|
let contents = {};
|
|
2538
|
-
contents =
|
|
2345
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2539
2346
|
const response = {
|
|
2540
2347
|
$metadata: deserializeMetadata(output),
|
|
2541
2348
|
...contents,
|
|
2542
2349
|
};
|
|
2543
|
-
return
|
|
2350
|
+
return response;
|
|
2544
2351
|
};
|
|
2545
2352
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2546
2353
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -2567,10 +2374,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2567
2374
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2568
2375
|
default:
|
|
2569
2376
|
const parsedBody = parsedOutput.body;
|
|
2570
|
-
|
|
2377
|
+
return throwDefaultError({
|
|
2571
2378
|
output,
|
|
2572
2379
|
parsedBody,
|
|
2573
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2574
2380
|
errorCode,
|
|
2575
2381
|
});
|
|
2576
2382
|
}
|
|
@@ -2581,12 +2387,12 @@ const de_UpdateCampaignCommand = async (output, context) => {
|
|
|
2581
2387
|
}
|
|
2582
2388
|
const data = await parseBody(output.body, context);
|
|
2583
2389
|
let contents = {};
|
|
2584
|
-
contents =
|
|
2390
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2585
2391
|
const response = {
|
|
2586
2392
|
$metadata: deserializeMetadata(output),
|
|
2587
2393
|
...contents,
|
|
2588
2394
|
};
|
|
2589
|
-
return
|
|
2395
|
+
return response;
|
|
2590
2396
|
};
|
|
2591
2397
|
exports.de_UpdateCampaignCommand = de_UpdateCampaignCommand;
|
|
2592
2398
|
const de_UpdateCampaignCommandError = async (output, context) => {
|
|
@@ -2616,10 +2422,9 @@ const de_UpdateCampaignCommandError = async (output, context) => {
|
|
|
2616
2422
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2617
2423
|
default:
|
|
2618
2424
|
const parsedBody = parsedOutput.body;
|
|
2619
|
-
|
|
2425
|
+
return throwDefaultError({
|
|
2620
2426
|
output,
|
|
2621
2427
|
parsedBody,
|
|
2622
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2623
2428
|
errorCode,
|
|
2624
2429
|
});
|
|
2625
2430
|
}
|
|
@@ -2630,12 +2435,12 @@ const de_UpdateDecoderManifestCommand = async (output, context) => {
|
|
|
2630
2435
|
}
|
|
2631
2436
|
const data = await parseBody(output.body, context);
|
|
2632
2437
|
let contents = {};
|
|
2633
|
-
contents =
|
|
2438
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2634
2439
|
const response = {
|
|
2635
2440
|
$metadata: deserializeMetadata(output),
|
|
2636
2441
|
...contents,
|
|
2637
2442
|
};
|
|
2638
|
-
return
|
|
2443
|
+
return response;
|
|
2639
2444
|
};
|
|
2640
2445
|
exports.de_UpdateDecoderManifestCommand = de_UpdateDecoderManifestCommand;
|
|
2641
2446
|
const de_UpdateDecoderManifestCommandError = async (output, context) => {
|
|
@@ -2671,10 +2476,9 @@ const de_UpdateDecoderManifestCommandError = async (output, context) => {
|
|
|
2671
2476
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2672
2477
|
default:
|
|
2673
2478
|
const parsedBody = parsedOutput.body;
|
|
2674
|
-
|
|
2479
|
+
return throwDefaultError({
|
|
2675
2480
|
output,
|
|
2676
2481
|
parsedBody,
|
|
2677
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2678
2482
|
errorCode,
|
|
2679
2483
|
});
|
|
2680
2484
|
}
|
|
@@ -2685,12 +2489,12 @@ const de_UpdateFleetCommand = async (output, context) => {
|
|
|
2685
2489
|
}
|
|
2686
2490
|
const data = await parseBody(output.body, context);
|
|
2687
2491
|
let contents = {};
|
|
2688
|
-
contents =
|
|
2492
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2689
2493
|
const response = {
|
|
2690
2494
|
$metadata: deserializeMetadata(output),
|
|
2691
2495
|
...contents,
|
|
2692
2496
|
};
|
|
2693
|
-
return
|
|
2497
|
+
return response;
|
|
2694
2498
|
};
|
|
2695
2499
|
exports.de_UpdateFleetCommand = de_UpdateFleetCommand;
|
|
2696
2500
|
const de_UpdateFleetCommandError = async (output, context) => {
|
|
@@ -2720,10 +2524,9 @@ const de_UpdateFleetCommandError = async (output, context) => {
|
|
|
2720
2524
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2721
2525
|
default:
|
|
2722
2526
|
const parsedBody = parsedOutput.body;
|
|
2723
|
-
|
|
2527
|
+
return throwDefaultError({
|
|
2724
2528
|
output,
|
|
2725
2529
|
parsedBody,
|
|
2726
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2727
2530
|
errorCode,
|
|
2728
2531
|
});
|
|
2729
2532
|
}
|
|
@@ -2734,12 +2537,12 @@ const de_UpdateModelManifestCommand = async (output, context) => {
|
|
|
2734
2537
|
}
|
|
2735
2538
|
const data = await parseBody(output.body, context);
|
|
2736
2539
|
let contents = {};
|
|
2737
|
-
contents =
|
|
2540
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2738
2541
|
const response = {
|
|
2739
2542
|
$metadata: deserializeMetadata(output),
|
|
2740
2543
|
...contents,
|
|
2741
2544
|
};
|
|
2742
|
-
return
|
|
2545
|
+
return response;
|
|
2743
2546
|
};
|
|
2744
2547
|
exports.de_UpdateModelManifestCommand = de_UpdateModelManifestCommand;
|
|
2745
2548
|
const de_UpdateModelManifestCommandError = async (output, context) => {
|
|
@@ -2772,10 +2575,9 @@ const de_UpdateModelManifestCommandError = async (output, context) => {
|
|
|
2772
2575
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2773
2576
|
default:
|
|
2774
2577
|
const parsedBody = parsedOutput.body;
|
|
2775
|
-
|
|
2578
|
+
return throwDefaultError({
|
|
2776
2579
|
output,
|
|
2777
2580
|
parsedBody,
|
|
2778
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2779
2581
|
errorCode,
|
|
2780
2582
|
});
|
|
2781
2583
|
}
|
|
@@ -2786,12 +2588,12 @@ const de_UpdateSignalCatalogCommand = async (output, context) => {
|
|
|
2786
2588
|
}
|
|
2787
2589
|
const data = await parseBody(output.body, context);
|
|
2788
2590
|
let contents = {};
|
|
2789
|
-
contents =
|
|
2591
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2790
2592
|
const response = {
|
|
2791
2593
|
$metadata: deserializeMetadata(output),
|
|
2792
2594
|
...contents,
|
|
2793
2595
|
};
|
|
2794
|
-
return
|
|
2596
|
+
return response;
|
|
2795
2597
|
};
|
|
2796
2598
|
exports.de_UpdateSignalCatalogCommand = de_UpdateSignalCatalogCommand;
|
|
2797
2599
|
const de_UpdateSignalCatalogCommandError = async (output, context) => {
|
|
@@ -2830,10 +2632,9 @@ const de_UpdateSignalCatalogCommandError = async (output, context) => {
|
|
|
2830
2632
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2831
2633
|
default:
|
|
2832
2634
|
const parsedBody = parsedOutput.body;
|
|
2833
|
-
|
|
2635
|
+
return throwDefaultError({
|
|
2834
2636
|
output,
|
|
2835
2637
|
parsedBody,
|
|
2836
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2837
2638
|
errorCode,
|
|
2838
2639
|
});
|
|
2839
2640
|
}
|
|
@@ -2844,12 +2645,12 @@ const de_UpdateVehicleCommand = async (output, context) => {
|
|
|
2844
2645
|
}
|
|
2845
2646
|
const data = await parseBody(output.body, context);
|
|
2846
2647
|
let contents = {};
|
|
2847
|
-
contents =
|
|
2648
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2848
2649
|
const response = {
|
|
2849
2650
|
$metadata: deserializeMetadata(output),
|
|
2850
2651
|
...contents,
|
|
2851
2652
|
};
|
|
2852
|
-
return
|
|
2653
|
+
return response;
|
|
2853
2654
|
};
|
|
2854
2655
|
exports.de_UpdateVehicleCommand = de_UpdateVehicleCommand;
|
|
2855
2656
|
const de_UpdateVehicleCommandError = async (output, context) => {
|
|
@@ -2879,17 +2680,16 @@ const de_UpdateVehicleCommandError = async (output, context) => {
|
|
|
2879
2680
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2880
2681
|
default:
|
|
2881
2682
|
const parsedBody = parsedOutput.body;
|
|
2882
|
-
|
|
2683
|
+
return throwDefaultError({
|
|
2883
2684
|
output,
|
|
2884
2685
|
parsedBody,
|
|
2885
|
-
exceptionCtor: IoTFleetWiseServiceException_1.IoTFleetWiseServiceException,
|
|
2886
2686
|
errorCode,
|
|
2887
2687
|
});
|
|
2888
2688
|
}
|
|
2889
2689
|
};
|
|
2890
2690
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2891
2691
|
const body = parsedOutput.body;
|
|
2892
|
-
const deserialized =
|
|
2692
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2893
2693
|
const exception = new models_0_1.AccessDeniedException({
|
|
2894
2694
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2895
2695
|
...deserialized,
|
|
@@ -2898,7 +2698,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
2898
2698
|
};
|
|
2899
2699
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2900
2700
|
const body = parsedOutput.body;
|
|
2901
|
-
const deserialized =
|
|
2701
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2902
2702
|
const exception = new models_0_1.ConflictException({
|
|
2903
2703
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2904
2704
|
...deserialized,
|
|
@@ -2907,7 +2707,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
2907
2707
|
};
|
|
2908
2708
|
const de_DecoderManifestValidationExceptionRes = async (parsedOutput, context) => {
|
|
2909
2709
|
const body = parsedOutput.body;
|
|
2910
|
-
const deserialized =
|
|
2710
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2911
2711
|
const exception = new models_0_1.DecoderManifestValidationException({
|
|
2912
2712
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2913
2713
|
...deserialized,
|
|
@@ -2916,7 +2716,7 @@ const de_DecoderManifestValidationExceptionRes = async (parsedOutput, context) =
|
|
|
2916
2716
|
};
|
|
2917
2717
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2918
2718
|
const body = parsedOutput.body;
|
|
2919
|
-
const deserialized =
|
|
2719
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2920
2720
|
const exception = new models_0_1.InternalServerException({
|
|
2921
2721
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2922
2722
|
...deserialized,
|
|
@@ -2934,7 +2734,7 @@ const de_InvalidNodeExceptionRes = async (parsedOutput, context) => {
|
|
|
2934
2734
|
};
|
|
2935
2735
|
const de_InvalidSignalsExceptionRes = async (parsedOutput, context) => {
|
|
2936
2736
|
const body = parsedOutput.body;
|
|
2937
|
-
const deserialized =
|
|
2737
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2938
2738
|
const exception = new models_0_1.InvalidSignalsException({
|
|
2939
2739
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2940
2740
|
...deserialized,
|
|
@@ -2943,7 +2743,7 @@ const de_InvalidSignalsExceptionRes = async (parsedOutput, context) => {
|
|
|
2943
2743
|
};
|
|
2944
2744
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2945
2745
|
const body = parsedOutput.body;
|
|
2946
|
-
const deserialized =
|
|
2746
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2947
2747
|
const exception = new models_0_1.LimitExceededException({
|
|
2948
2748
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2949
2749
|
...deserialized,
|
|
@@ -2952,7 +2752,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2952
2752
|
};
|
|
2953
2753
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2954
2754
|
const body = parsedOutput.body;
|
|
2955
|
-
const deserialized =
|
|
2755
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2956
2756
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2957
2757
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2958
2758
|
...deserialized,
|
|
@@ -2961,7 +2761,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2961
2761
|
};
|
|
2962
2762
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2963
2763
|
const body = parsedOutput.body;
|
|
2964
|
-
const deserialized =
|
|
2764
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2965
2765
|
const exception = new models_0_1.ThrottlingException({
|
|
2966
2766
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2967
2767
|
...deserialized,
|
|
@@ -2970,7 +2770,7 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
2970
2770
|
};
|
|
2971
2771
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2972
2772
|
const body = parsedOutput.body;
|
|
2973
|
-
const deserialized =
|
|
2773
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2974
2774
|
const exception = new models_0_1.ValidationException({
|
|
2975
2775
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2976
2776
|
...deserialized,
|
|
@@ -2978,1395 +2778,448 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
2978
2778
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2979
2779
|
};
|
|
2980
2780
|
const se_Actuator = (input, context) => {
|
|
2981
|
-
return {
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
};
|
|
2991
|
-
};
|
|
2992
|
-
const se_AssociateVehicleFleetRequest = (input, context) => {
|
|
2993
|
-
return {
|
|
2994
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
2995
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
2996
|
-
};
|
|
2781
|
+
return (0, smithy_client_1.take)(input, {
|
|
2782
|
+
allowedValues: smithy_client_1._json,
|
|
2783
|
+
assignedValue: [],
|
|
2784
|
+
dataType: [],
|
|
2785
|
+
description: [],
|
|
2786
|
+
fullyQualifiedName: [],
|
|
2787
|
+
max: smithy_client_1.serializeFloat,
|
|
2788
|
+
min: smithy_client_1.serializeFloat,
|
|
2789
|
+
unit: [],
|
|
2790
|
+
});
|
|
2997
2791
|
};
|
|
2998
2792
|
const se_Attribute = (input, context) => {
|
|
2999
|
-
return {
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
};
|
|
3010
|
-
};
|
|
3011
|
-
const se_attributesMap = (input, context) => {
|
|
3012
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3013
|
-
if (value === null) {
|
|
3014
|
-
return acc;
|
|
3015
|
-
}
|
|
3016
|
-
acc[key] = value;
|
|
3017
|
-
return acc;
|
|
3018
|
-
}, {});
|
|
3019
|
-
};
|
|
3020
|
-
const se_BatchCreateVehicleRequest = (input, context) => {
|
|
3021
|
-
return {
|
|
3022
|
-
...(input.vehicles != null && { vehicles: se_createVehicleRequestItems(input.vehicles, context) }),
|
|
3023
|
-
};
|
|
3024
|
-
};
|
|
3025
|
-
const se_BatchUpdateVehicleRequest = (input, context) => {
|
|
3026
|
-
return {
|
|
3027
|
-
...(input.vehicles != null && { vehicles: se_updateVehicleRequestItems(input.vehicles, context) }),
|
|
3028
|
-
};
|
|
3029
|
-
};
|
|
3030
|
-
const se_Branch = (input, context) => {
|
|
3031
|
-
return {
|
|
3032
|
-
...(input.description != null && { description: input.description }),
|
|
3033
|
-
...(input.fullyQualifiedName != null && { fullyQualifiedName: input.fullyQualifiedName }),
|
|
3034
|
-
};
|
|
2793
|
+
return (0, smithy_client_1.take)(input, {
|
|
2794
|
+
allowedValues: smithy_client_1._json,
|
|
2795
|
+
assignedValue: [],
|
|
2796
|
+
dataType: [],
|
|
2797
|
+
defaultValue: [],
|
|
2798
|
+
description: [],
|
|
2799
|
+
fullyQualifiedName: [],
|
|
2800
|
+
max: smithy_client_1.serializeFloat,
|
|
2801
|
+
min: smithy_client_1.serializeFloat,
|
|
2802
|
+
unit: [],
|
|
2803
|
+
});
|
|
3035
2804
|
};
|
|
3036
2805
|
const se_CanDbcDefinition = (input, context) => {
|
|
3037
|
-
return {
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
};
|
|
3042
|
-
};
|
|
3043
|
-
const se_CanInterface = (input, context) => {
|
|
3044
|
-
return {
|
|
3045
|
-
...(input.name != null && { name: input.name }),
|
|
3046
|
-
...(input.protocolName != null && { protocolName: input.protocolName }),
|
|
3047
|
-
...(input.protocolVersion != null && { protocolVersion: input.protocolVersion }),
|
|
3048
|
-
};
|
|
2806
|
+
return (0, smithy_client_1.take)(input, {
|
|
2807
|
+
canDbcFiles: (_) => se_NetworkFilesList(_, context),
|
|
2808
|
+
networkInterface: [],
|
|
2809
|
+
signalsMap: smithy_client_1._json,
|
|
2810
|
+
});
|
|
3049
2811
|
};
|
|
3050
2812
|
const se_CanSignal = (input, context) => {
|
|
3051
|
-
return {
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
};
|
|
3061
|
-
};
|
|
3062
|
-
const se_CloudWatchLogDeliveryOptions = (input, context) => {
|
|
3063
|
-
return {
|
|
3064
|
-
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
3065
|
-
...(input.logType != null && { logType: input.logType }),
|
|
3066
|
-
};
|
|
3067
|
-
};
|
|
3068
|
-
const se_CollectionScheme = (input, context) => {
|
|
3069
|
-
return models_0_1.CollectionScheme.visit(input, {
|
|
3070
|
-
conditionBasedCollectionScheme: (value) => ({
|
|
3071
|
-
conditionBasedCollectionScheme: se_ConditionBasedCollectionScheme(value, context),
|
|
3072
|
-
}),
|
|
3073
|
-
timeBasedCollectionScheme: (value) => ({ timeBasedCollectionScheme: se_TimeBasedCollectionScheme(value, context) }),
|
|
3074
|
-
_: (name, value) => ({ name: value }),
|
|
2813
|
+
return (0, smithy_client_1.take)(input, {
|
|
2814
|
+
factor: smithy_client_1.serializeFloat,
|
|
2815
|
+
isBigEndian: [],
|
|
2816
|
+
isSigned: [],
|
|
2817
|
+
length: [],
|
|
2818
|
+
messageId: [],
|
|
2819
|
+
name: [],
|
|
2820
|
+
offset: smithy_client_1.serializeFloat,
|
|
2821
|
+
startBit: [],
|
|
3075
2822
|
});
|
|
3076
2823
|
};
|
|
3077
|
-
const se_ConditionBasedCollectionScheme = (input, context) => {
|
|
3078
|
-
return {
|
|
3079
|
-
...(input.conditionLanguageVersion != null && { conditionLanguageVersion: input.conditionLanguageVersion }),
|
|
3080
|
-
...(input.expression != null && { expression: input.expression }),
|
|
3081
|
-
...(input.minimumTriggerIntervalMs != null && { minimumTriggerIntervalMs: input.minimumTriggerIntervalMs }),
|
|
3082
|
-
...(input.triggerMode != null && { triggerMode: input.triggerMode }),
|
|
3083
|
-
};
|
|
3084
|
-
};
|
|
3085
2824
|
const se_CreateCampaignRequest = (input, context) => {
|
|
3086
|
-
return {
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
}),
|
|
3104
|
-
...(input.spoolingMode != null && { spoolingMode: input.spoolingMode }),
|
|
3105
|
-
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
3106
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3107
|
-
...(input.targetArn != null && { targetArn: input.targetArn }),
|
|
3108
|
-
};
|
|
2825
|
+
return (0, smithy_client_1.take)(input, {
|
|
2826
|
+
collectionScheme: smithy_client_1._json,
|
|
2827
|
+
compression: [],
|
|
2828
|
+
dataExtraDimensions: smithy_client_1._json,
|
|
2829
|
+
description: [],
|
|
2830
|
+
diagnosticsMode: [],
|
|
2831
|
+
expiryTime: (_) => Math.round(_.getTime() / 1000),
|
|
2832
|
+
name: [],
|
|
2833
|
+
postTriggerCollectionDuration: [],
|
|
2834
|
+
priority: [],
|
|
2835
|
+
signalCatalogArn: [],
|
|
2836
|
+
signalsToCollect: smithy_client_1._json,
|
|
2837
|
+
spoolingMode: [],
|
|
2838
|
+
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
2839
|
+
tags: smithy_client_1._json,
|
|
2840
|
+
targetArn: [],
|
|
2841
|
+
});
|
|
3109
2842
|
};
|
|
3110
2843
|
const se_CreateDecoderManifestRequest = (input, context) => {
|
|
3111
|
-
return {
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3120
|
-
};
|
|
3121
|
-
};
|
|
3122
|
-
const se_CreateFleetRequest = (input, context) => {
|
|
3123
|
-
return {
|
|
3124
|
-
...(input.description != null && { description: input.description }),
|
|
3125
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
3126
|
-
...(input.signalCatalogArn != null && { signalCatalogArn: input.signalCatalogArn }),
|
|
3127
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3128
|
-
};
|
|
3129
|
-
};
|
|
3130
|
-
const se_CreateModelManifestRequest = (input, context) => {
|
|
3131
|
-
return {
|
|
3132
|
-
...(input.description != null && { description: input.description }),
|
|
3133
|
-
...(input.name != null && { name: input.name }),
|
|
3134
|
-
...(input.nodes != null && { nodes: se_listOfStrings(input.nodes, context) }),
|
|
3135
|
-
...(input.signalCatalogArn != null && { signalCatalogArn: input.signalCatalogArn }),
|
|
3136
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3137
|
-
};
|
|
2844
|
+
return (0, smithy_client_1.take)(input, {
|
|
2845
|
+
description: [],
|
|
2846
|
+
modelManifestArn: [],
|
|
2847
|
+
name: [],
|
|
2848
|
+
networkInterfaces: smithy_client_1._json,
|
|
2849
|
+
signalDecoders: (_) => se_SignalDecoders(_, context),
|
|
2850
|
+
tags: smithy_client_1._json,
|
|
2851
|
+
});
|
|
3138
2852
|
};
|
|
3139
2853
|
const se_CreateSignalCatalogRequest = (input, context) => {
|
|
3140
|
-
return {
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
};
|
|
2854
|
+
return (0, smithy_client_1.take)(input, {
|
|
2855
|
+
description: [],
|
|
2856
|
+
name: [],
|
|
2857
|
+
nodes: (_) => se_Nodes(_, context),
|
|
2858
|
+
tags: smithy_client_1._json,
|
|
2859
|
+
});
|
|
3146
2860
|
};
|
|
3147
|
-
const
|
|
3148
|
-
return {
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
3153
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3154
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
3155
|
-
};
|
|
2861
|
+
const se_ImportDecoderManifestRequest = (input, context) => {
|
|
2862
|
+
return (0, smithy_client_1.take)(input, {
|
|
2863
|
+
name: [],
|
|
2864
|
+
networkFileDefinitions: (_) => se_NetworkFileDefinitions(_, context),
|
|
2865
|
+
});
|
|
3156
2866
|
};
|
|
3157
|
-
const
|
|
3158
|
-
return {
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
3163
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3164
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
3165
|
-
};
|
|
2867
|
+
const se_NetworkFileDefinition = (input, context) => {
|
|
2868
|
+
return models_0_1.NetworkFileDefinition.visit(input, {
|
|
2869
|
+
canDbc: (value) => ({ canDbc: se_CanDbcDefinition(value, context) }),
|
|
2870
|
+
_: (name, value) => ({ name: value }),
|
|
2871
|
+
});
|
|
3166
2872
|
};
|
|
3167
|
-
const
|
|
2873
|
+
const se_NetworkFileDefinitions = (input, context) => {
|
|
3168
2874
|
return input
|
|
3169
2875
|
.filter((e) => e != null)
|
|
3170
2876
|
.map((entry) => {
|
|
3171
|
-
return
|
|
2877
|
+
return se_NetworkFileDefinition(entry, context);
|
|
3172
2878
|
});
|
|
3173
2879
|
};
|
|
3174
|
-
const
|
|
2880
|
+
const se_NetworkFilesList = (input, context) => {
|
|
3175
2881
|
return input
|
|
3176
2882
|
.filter((e) => e != null)
|
|
3177
2883
|
.map((entry) => {
|
|
3178
|
-
return entry;
|
|
2884
|
+
return context.base64Encoder(entry);
|
|
3179
2885
|
});
|
|
3180
2886
|
};
|
|
3181
|
-
const
|
|
3182
|
-
return {
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
}
|
|
3186
|
-
|
|
3187
|
-
return {
|
|
3188
|
-
...(input.name != null && { name: input.name }),
|
|
3189
|
-
};
|
|
3190
|
-
};
|
|
3191
|
-
const se_DeleteFleetRequest = (input, context) => {
|
|
3192
|
-
return {
|
|
3193
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
3194
|
-
};
|
|
3195
|
-
};
|
|
3196
|
-
const se_DeleteModelManifestRequest = (input, context) => {
|
|
3197
|
-
return {
|
|
3198
|
-
...(input.name != null && { name: input.name }),
|
|
3199
|
-
};
|
|
3200
|
-
};
|
|
3201
|
-
const se_DeleteSignalCatalogRequest = (input, context) => {
|
|
3202
|
-
return {
|
|
3203
|
-
...(input.name != null && { name: input.name }),
|
|
3204
|
-
};
|
|
3205
|
-
};
|
|
3206
|
-
const se_DeleteVehicleRequest = (input, context) => {
|
|
3207
|
-
return {
|
|
3208
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
3209
|
-
};
|
|
3210
|
-
};
|
|
3211
|
-
const se_DisassociateVehicleFleetRequest = (input, context) => {
|
|
3212
|
-
return {
|
|
3213
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
3214
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
3215
|
-
};
|
|
3216
|
-
};
|
|
3217
|
-
const se_FormattedVss = (input, context) => {
|
|
3218
|
-
return models_0_1.FormattedVss.visit(input, {
|
|
3219
|
-
vssJson: (value) => ({ vssJson: value }),
|
|
2887
|
+
const se_Node = (input, context) => {
|
|
2888
|
+
return models_0_1.Node.visit(input, {
|
|
2889
|
+
actuator: (value) => ({ actuator: se_Actuator(value, context) }),
|
|
2890
|
+
attribute: (value) => ({ attribute: se_Attribute(value, context) }),
|
|
2891
|
+
branch: (value) => ({ branch: (0, smithy_client_1._json)(value) }),
|
|
2892
|
+
sensor: (value) => ({ sensor: se_Sensor(value, context) }),
|
|
3220
2893
|
_: (name, value) => ({ name: value }),
|
|
3221
2894
|
});
|
|
3222
2895
|
};
|
|
3223
|
-
const
|
|
2896
|
+
const se_Nodes = (input, context) => {
|
|
3224
2897
|
return input
|
|
3225
2898
|
.filter((e) => e != null)
|
|
3226
2899
|
.map((entry) => {
|
|
3227
|
-
return entry;
|
|
2900
|
+
return se_Node(entry, context);
|
|
3228
2901
|
});
|
|
3229
2902
|
};
|
|
3230
|
-
const
|
|
3231
|
-
return {
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
2903
|
+
const se_ObdSignal = (input, context) => {
|
|
2904
|
+
return (0, smithy_client_1.take)(input, {
|
|
2905
|
+
bitMaskLength: [],
|
|
2906
|
+
bitRightShift: [],
|
|
2907
|
+
byteLength: [],
|
|
2908
|
+
offset: smithy_client_1.serializeFloat,
|
|
2909
|
+
pid: [],
|
|
2910
|
+
pidResponseLength: [],
|
|
2911
|
+
scaling: smithy_client_1.serializeFloat,
|
|
2912
|
+
serviceMode: [],
|
|
2913
|
+
startByte: [],
|
|
2914
|
+
});
|
|
3239
2915
|
};
|
|
3240
|
-
const
|
|
3241
|
-
return {
|
|
3242
|
-
|
|
3243
|
-
|
|
2916
|
+
const se_Sensor = (input, context) => {
|
|
2917
|
+
return (0, smithy_client_1.take)(input, {
|
|
2918
|
+
allowedValues: smithy_client_1._json,
|
|
2919
|
+
dataType: [],
|
|
2920
|
+
description: [],
|
|
2921
|
+
fullyQualifiedName: [],
|
|
2922
|
+
max: smithy_client_1.serializeFloat,
|
|
2923
|
+
min: smithy_client_1.serializeFloat,
|
|
2924
|
+
unit: [],
|
|
2925
|
+
});
|
|
3244
2926
|
};
|
|
3245
|
-
const
|
|
3246
|
-
return {
|
|
2927
|
+
const se_SignalDecoder = (input, context) => {
|
|
2928
|
+
return (0, smithy_client_1.take)(input, {
|
|
2929
|
+
canSignal: (_) => se_CanSignal(_, context),
|
|
2930
|
+
fullyQualifiedName: [],
|
|
2931
|
+
interfaceId: [],
|
|
2932
|
+
obdSignal: (_) => se_ObdSignal(_, context),
|
|
2933
|
+
type: [],
|
|
2934
|
+
});
|
|
3247
2935
|
};
|
|
3248
|
-
const
|
|
3249
|
-
return
|
|
3250
|
-
|
|
3251
|
-
|
|
2936
|
+
const se_SignalDecoders = (input, context) => {
|
|
2937
|
+
return input
|
|
2938
|
+
.filter((e) => e != null)
|
|
2939
|
+
.map((entry) => {
|
|
2940
|
+
return se_SignalDecoder(entry, context);
|
|
2941
|
+
});
|
|
3252
2942
|
};
|
|
3253
|
-
const
|
|
3254
|
-
return {
|
|
2943
|
+
const se_UpdateDecoderManifestRequest = (input, context) => {
|
|
2944
|
+
return (0, smithy_client_1.take)(input, {
|
|
2945
|
+
description: [],
|
|
2946
|
+
name: [],
|
|
2947
|
+
networkInterfacesToAdd: smithy_client_1._json,
|
|
2948
|
+
networkInterfacesToRemove: smithy_client_1._json,
|
|
2949
|
+
networkInterfacesToUpdate: smithy_client_1._json,
|
|
2950
|
+
signalDecodersToAdd: (_) => se_SignalDecoders(_, context),
|
|
2951
|
+
signalDecodersToRemove: smithy_client_1._json,
|
|
2952
|
+
signalDecodersToUpdate: (_) => se_SignalDecoders(_, context),
|
|
2953
|
+
status: [],
|
|
2954
|
+
});
|
|
3255
2955
|
};
|
|
3256
|
-
const
|
|
3257
|
-
return {
|
|
3258
|
-
|
|
3259
|
-
|
|
2956
|
+
const se_UpdateSignalCatalogRequest = (input, context) => {
|
|
2957
|
+
return (0, smithy_client_1.take)(input, {
|
|
2958
|
+
description: [],
|
|
2959
|
+
name: [],
|
|
2960
|
+
nodesToAdd: (_) => se_Nodes(_, context),
|
|
2961
|
+
nodesToRemove: smithy_client_1._json,
|
|
2962
|
+
nodesToUpdate: (_) => se_Nodes(_, context),
|
|
2963
|
+
});
|
|
3260
2964
|
};
|
|
3261
|
-
const
|
|
3262
|
-
return {
|
|
3263
|
-
|
|
3264
|
-
|
|
2965
|
+
const de_Actuator = (output, context) => {
|
|
2966
|
+
return (0, smithy_client_1.take)(output, {
|
|
2967
|
+
allowedValues: smithy_client_1._json,
|
|
2968
|
+
assignedValue: smithy_client_1.expectString,
|
|
2969
|
+
dataType: smithy_client_1.expectString,
|
|
2970
|
+
description: smithy_client_1.expectString,
|
|
2971
|
+
fullyQualifiedName: smithy_client_1.expectString,
|
|
2972
|
+
max: smithy_client_1.limitedParseDouble,
|
|
2973
|
+
min: smithy_client_1.limitedParseDouble,
|
|
2974
|
+
unit: smithy_client_1.expectString,
|
|
2975
|
+
});
|
|
3265
2976
|
};
|
|
3266
|
-
const
|
|
3267
|
-
return {
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
2977
|
+
const de_Attribute = (output, context) => {
|
|
2978
|
+
return (0, smithy_client_1.take)(output, {
|
|
2979
|
+
allowedValues: smithy_client_1._json,
|
|
2980
|
+
assignedValue: smithy_client_1.expectString,
|
|
2981
|
+
dataType: smithy_client_1.expectString,
|
|
2982
|
+
defaultValue: smithy_client_1.expectString,
|
|
2983
|
+
description: smithy_client_1.expectString,
|
|
2984
|
+
fullyQualifiedName: smithy_client_1.expectString,
|
|
2985
|
+
max: smithy_client_1.limitedParseDouble,
|
|
2986
|
+
min: smithy_client_1.limitedParseDouble,
|
|
2987
|
+
unit: smithy_client_1.expectString,
|
|
2988
|
+
});
|
|
3272
2989
|
};
|
|
3273
|
-
const
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
2990
|
+
const de_campaignSummaries = (output, context) => {
|
|
2991
|
+
const retVal = (output || [])
|
|
2992
|
+
.filter((e) => e != null)
|
|
2993
|
+
.map((entry) => {
|
|
2994
|
+
return de_CampaignSummary(entry, context);
|
|
2995
|
+
});
|
|
2996
|
+
return retVal;
|
|
3277
2997
|
};
|
|
3278
|
-
const
|
|
3279
|
-
return {
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
2998
|
+
const de_CampaignSummary = (output, context) => {
|
|
2999
|
+
return (0, smithy_client_1.take)(output, {
|
|
3000
|
+
arn: smithy_client_1.expectString,
|
|
3001
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3002
|
+
description: smithy_client_1.expectString,
|
|
3003
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3004
|
+
name: smithy_client_1.expectString,
|
|
3005
|
+
signalCatalogArn: smithy_client_1.expectString,
|
|
3006
|
+
status: smithy_client_1.expectString,
|
|
3007
|
+
targetArn: smithy_client_1.expectString,
|
|
3008
|
+
});
|
|
3285
3009
|
};
|
|
3286
|
-
const
|
|
3287
|
-
return {
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3010
|
+
const de_CanSignal = (output, context) => {
|
|
3011
|
+
return (0, smithy_client_1.take)(output, {
|
|
3012
|
+
factor: smithy_client_1.limitedParseDouble,
|
|
3013
|
+
isBigEndian: smithy_client_1.expectBoolean,
|
|
3014
|
+
isSigned: smithy_client_1.expectBoolean,
|
|
3015
|
+
length: smithy_client_1.expectInt32,
|
|
3016
|
+
messageId: smithy_client_1.expectInt32,
|
|
3017
|
+
name: smithy_client_1.expectString,
|
|
3018
|
+
offset: smithy_client_1.limitedParseDouble,
|
|
3019
|
+
startBit: smithy_client_1.expectInt32,
|
|
3020
|
+
});
|
|
3293
3021
|
};
|
|
3294
|
-
const
|
|
3295
|
-
|
|
3022
|
+
const de_decoderManifestSummaries = (output, context) => {
|
|
3023
|
+
const retVal = (output || [])
|
|
3296
3024
|
.filter((e) => e != null)
|
|
3297
3025
|
.map((entry) => {
|
|
3298
|
-
return entry;
|
|
3026
|
+
return de_DecoderManifestSummary(entry, context);
|
|
3299
3027
|
});
|
|
3028
|
+
return retVal;
|
|
3300
3029
|
};
|
|
3301
|
-
const
|
|
3302
|
-
return {
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
...(input.name != null && { name: input.name }),
|
|
3312
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3313
|
-
};
|
|
3314
|
-
};
|
|
3315
|
-
const se_ListDecoderManifestSignalsRequest = (input, context) => {
|
|
3316
|
-
return {
|
|
3317
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3318
|
-
...(input.name != null && { name: input.name }),
|
|
3319
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3320
|
-
};
|
|
3321
|
-
};
|
|
3322
|
-
const se_ListDecoderManifestsRequest = (input, context) => {
|
|
3323
|
-
return {
|
|
3324
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3325
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
3326
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3327
|
-
};
|
|
3328
|
-
};
|
|
3329
|
-
const se_ListFleetsForVehicleRequest = (input, context) => {
|
|
3330
|
-
return {
|
|
3331
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3332
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3333
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
3334
|
-
};
|
|
3335
|
-
};
|
|
3336
|
-
const se_ListFleetsRequest = (input, context) => {
|
|
3337
|
-
return {
|
|
3338
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3339
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3340
|
-
};
|
|
3341
|
-
};
|
|
3342
|
-
const se_ListModelManifestNodesRequest = (input, context) => {
|
|
3343
|
-
return {
|
|
3344
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3345
|
-
...(input.name != null && { name: input.name }),
|
|
3346
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3347
|
-
};
|
|
3348
|
-
};
|
|
3349
|
-
const se_ListModelManifestsRequest = (input, context) => {
|
|
3350
|
-
return {
|
|
3351
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3352
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3353
|
-
...(input.signalCatalogArn != null && { signalCatalogArn: input.signalCatalogArn }),
|
|
3354
|
-
};
|
|
3355
|
-
};
|
|
3356
|
-
const se_listOfStrings = (input, context) => {
|
|
3357
|
-
return input
|
|
3358
|
-
.filter((e) => e != null)
|
|
3359
|
-
.map((entry) => {
|
|
3360
|
-
return entry;
|
|
3361
|
-
});
|
|
3362
|
-
};
|
|
3363
|
-
const se_ListSignalCatalogNodesRequest = (input, context) => {
|
|
3364
|
-
return {
|
|
3365
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3366
|
-
...(input.name != null && { name: input.name }),
|
|
3367
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3368
|
-
};
|
|
3369
|
-
};
|
|
3370
|
-
const se_ListSignalCatalogsRequest = (input, context) => {
|
|
3371
|
-
return {
|
|
3372
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3373
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3374
|
-
};
|
|
3375
|
-
};
|
|
3376
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
3377
|
-
return {
|
|
3378
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3379
|
-
};
|
|
3380
|
-
};
|
|
3381
|
-
const se_ListVehiclesInFleetRequest = (input, context) => {
|
|
3382
|
-
return {
|
|
3383
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
3384
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3385
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3386
|
-
};
|
|
3387
|
-
};
|
|
3388
|
-
const se_ListVehiclesRequest = (input, context) => {
|
|
3389
|
-
return {
|
|
3390
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3391
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
3392
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3393
|
-
};
|
|
3394
|
-
};
|
|
3395
|
-
const se_ModelSignalsMap = (input, context) => {
|
|
3396
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3397
|
-
if (value === null) {
|
|
3398
|
-
return acc;
|
|
3399
|
-
}
|
|
3400
|
-
acc[key] = value;
|
|
3401
|
-
return acc;
|
|
3402
|
-
}, {});
|
|
3403
|
-
};
|
|
3404
|
-
const se_NetworkFileDefinition = (input, context) => {
|
|
3405
|
-
return models_0_1.NetworkFileDefinition.visit(input, {
|
|
3406
|
-
canDbc: (value) => ({ canDbc: se_CanDbcDefinition(value, context) }),
|
|
3407
|
-
_: (name, value) => ({ name: value }),
|
|
3408
|
-
});
|
|
3409
|
-
};
|
|
3410
|
-
const se_NetworkFileDefinitions = (input, context) => {
|
|
3411
|
-
return input
|
|
3412
|
-
.filter((e) => e != null)
|
|
3413
|
-
.map((entry) => {
|
|
3414
|
-
return se_NetworkFileDefinition(entry, context);
|
|
3415
|
-
});
|
|
3416
|
-
};
|
|
3417
|
-
const se_NetworkFilesList = (input, context) => {
|
|
3418
|
-
return input
|
|
3419
|
-
.filter((e) => e != null)
|
|
3420
|
-
.map((entry) => {
|
|
3421
|
-
return context.base64Encoder(entry);
|
|
3422
|
-
});
|
|
3423
|
-
};
|
|
3424
|
-
const se_NetworkInterface = (input, context) => {
|
|
3425
|
-
return {
|
|
3426
|
-
...(input.canInterface != null && { canInterface: se_CanInterface(input.canInterface, context) }),
|
|
3427
|
-
...(input.interfaceId != null && { interfaceId: input.interfaceId }),
|
|
3428
|
-
...(input.obdInterface != null && { obdInterface: se_ObdInterface(input.obdInterface, context) }),
|
|
3429
|
-
...(input.type != null && { type: input.type }),
|
|
3430
|
-
};
|
|
3431
|
-
};
|
|
3432
|
-
const se_NetworkInterfaces = (input, context) => {
|
|
3433
|
-
return input
|
|
3434
|
-
.filter((e) => e != null)
|
|
3435
|
-
.map((entry) => {
|
|
3436
|
-
return se_NetworkInterface(entry, context);
|
|
3437
|
-
});
|
|
3438
|
-
};
|
|
3439
|
-
const se_Node = (input, context) => {
|
|
3440
|
-
return models_0_1.Node.visit(input, {
|
|
3441
|
-
actuator: (value) => ({ actuator: se_Actuator(value, context) }),
|
|
3442
|
-
attribute: (value) => ({ attribute: se_Attribute(value, context) }),
|
|
3443
|
-
branch: (value) => ({ branch: se_Branch(value, context) }),
|
|
3444
|
-
sensor: (value) => ({ sensor: se_Sensor(value, context) }),
|
|
3445
|
-
_: (name, value) => ({ name: value }),
|
|
3446
|
-
});
|
|
3447
|
-
};
|
|
3448
|
-
const se_NodePaths = (input, context) => {
|
|
3449
|
-
return input
|
|
3450
|
-
.filter((e) => e != null)
|
|
3451
|
-
.map((entry) => {
|
|
3452
|
-
return entry;
|
|
3453
|
-
});
|
|
3454
|
-
};
|
|
3455
|
-
const se_Nodes = (input, context) => {
|
|
3456
|
-
return input
|
|
3457
|
-
.filter((e) => e != null)
|
|
3458
|
-
.map((entry) => {
|
|
3459
|
-
return se_Node(entry, context);
|
|
3460
|
-
});
|
|
3461
|
-
};
|
|
3462
|
-
const se_ObdInterface = (input, context) => {
|
|
3463
|
-
return {
|
|
3464
|
-
...(input.dtcRequestIntervalSeconds != null && { dtcRequestIntervalSeconds: input.dtcRequestIntervalSeconds }),
|
|
3465
|
-
...(input.hasTransmissionEcu != null && { hasTransmissionEcu: input.hasTransmissionEcu }),
|
|
3466
|
-
...(input.name != null && { name: input.name }),
|
|
3467
|
-
...(input.obdStandard != null && { obdStandard: input.obdStandard }),
|
|
3468
|
-
...(input.pidRequestIntervalSeconds != null && { pidRequestIntervalSeconds: input.pidRequestIntervalSeconds }),
|
|
3469
|
-
...(input.requestMessageId != null && { requestMessageId: input.requestMessageId }),
|
|
3470
|
-
...(input.useExtendedIds != null && { useExtendedIds: input.useExtendedIds }),
|
|
3471
|
-
};
|
|
3472
|
-
};
|
|
3473
|
-
const se_ObdSignal = (input, context) => {
|
|
3474
|
-
return {
|
|
3475
|
-
...(input.bitMaskLength != null && { bitMaskLength: input.bitMaskLength }),
|
|
3476
|
-
...(input.bitRightShift != null && { bitRightShift: input.bitRightShift }),
|
|
3477
|
-
...(input.byteLength != null && { byteLength: input.byteLength }),
|
|
3478
|
-
...(input.offset != null && { offset: (0, smithy_client_1.serializeFloat)(input.offset) }),
|
|
3479
|
-
...(input.pid != null && { pid: input.pid }),
|
|
3480
|
-
...(input.pidResponseLength != null && { pidResponseLength: input.pidResponseLength }),
|
|
3481
|
-
...(input.scaling != null && { scaling: (0, smithy_client_1.serializeFloat)(input.scaling) }),
|
|
3482
|
-
...(input.serviceMode != null && { serviceMode: input.serviceMode }),
|
|
3483
|
-
...(input.startByte != null && { startByte: input.startByte }),
|
|
3484
|
-
};
|
|
3485
|
-
};
|
|
3486
|
-
const se_PutLoggingOptionsRequest = (input, context) => {
|
|
3487
|
-
return {
|
|
3488
|
-
...(input.cloudWatchLogDelivery != null && {
|
|
3489
|
-
cloudWatchLogDelivery: se_CloudWatchLogDeliveryOptions(input.cloudWatchLogDelivery, context),
|
|
3490
|
-
}),
|
|
3491
|
-
};
|
|
3492
|
-
};
|
|
3493
|
-
const se_RegisterAccountRequest = (input, context) => {
|
|
3494
|
-
return {
|
|
3495
|
-
...(input.iamResources != null && { iamResources: se_IamResources(input.iamResources, context) }),
|
|
3496
|
-
...(input.timestreamResources != null && {
|
|
3497
|
-
timestreamResources: se_TimestreamResources(input.timestreamResources, context),
|
|
3498
|
-
}),
|
|
3499
|
-
};
|
|
3500
|
-
};
|
|
3501
|
-
const se_Sensor = (input, context) => {
|
|
3502
|
-
return {
|
|
3503
|
-
...(input.allowedValues != null && { allowedValues: se_listOfStrings(input.allowedValues, context) }),
|
|
3504
|
-
...(input.dataType != null && { dataType: input.dataType }),
|
|
3505
|
-
...(input.description != null && { description: input.description }),
|
|
3506
|
-
...(input.fullyQualifiedName != null && { fullyQualifiedName: input.fullyQualifiedName }),
|
|
3507
|
-
...(input.max != null && { max: (0, smithy_client_1.serializeFloat)(input.max) }),
|
|
3508
|
-
...(input.min != null && { min: (0, smithy_client_1.serializeFloat)(input.min) }),
|
|
3509
|
-
...(input.unit != null && { unit: input.unit }),
|
|
3510
|
-
};
|
|
3511
|
-
};
|
|
3512
|
-
const se_SignalDecoder = (input, context) => {
|
|
3513
|
-
return {
|
|
3514
|
-
...(input.canSignal != null && { canSignal: se_CanSignal(input.canSignal, context) }),
|
|
3515
|
-
...(input.fullyQualifiedName != null && { fullyQualifiedName: input.fullyQualifiedName }),
|
|
3516
|
-
...(input.interfaceId != null && { interfaceId: input.interfaceId }),
|
|
3517
|
-
...(input.obdSignal != null && { obdSignal: se_ObdSignal(input.obdSignal, context) }),
|
|
3518
|
-
...(input.type != null && { type: input.type }),
|
|
3519
|
-
};
|
|
3520
|
-
};
|
|
3521
|
-
const se_SignalDecoders = (input, context) => {
|
|
3522
|
-
return input
|
|
3523
|
-
.filter((e) => e != null)
|
|
3524
|
-
.map((entry) => {
|
|
3525
|
-
return se_SignalDecoder(entry, context);
|
|
3526
|
-
});
|
|
3527
|
-
};
|
|
3528
|
-
const se_SignalInformation = (input, context) => {
|
|
3529
|
-
return {
|
|
3530
|
-
...(input.maxSampleCount != null && { maxSampleCount: input.maxSampleCount }),
|
|
3531
|
-
...(input.minimumSamplingIntervalMs != null && { minimumSamplingIntervalMs: input.minimumSamplingIntervalMs }),
|
|
3532
|
-
...(input.name != null && { name: input.name }),
|
|
3533
|
-
};
|
|
3534
|
-
};
|
|
3535
|
-
const se_SignalInformationList = (input, context) => {
|
|
3536
|
-
return input
|
|
3537
|
-
.filter((e) => e != null)
|
|
3538
|
-
.map((entry) => {
|
|
3539
|
-
return se_SignalInformation(entry, context);
|
|
3540
|
-
});
|
|
3541
|
-
};
|
|
3542
|
-
const se_Tag = (input, context) => {
|
|
3543
|
-
return {
|
|
3544
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3545
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3546
|
-
};
|
|
3547
|
-
};
|
|
3548
|
-
const se_TagKeyList = (input, context) => {
|
|
3549
|
-
return input
|
|
3550
|
-
.filter((e) => e != null)
|
|
3551
|
-
.map((entry) => {
|
|
3552
|
-
return entry;
|
|
3553
|
-
});
|
|
3554
|
-
};
|
|
3555
|
-
const se_TagList = (input, context) => {
|
|
3556
|
-
return input
|
|
3557
|
-
.filter((e) => e != null)
|
|
3558
|
-
.map((entry) => {
|
|
3559
|
-
return se_Tag(entry, context);
|
|
3560
|
-
});
|
|
3561
|
-
};
|
|
3562
|
-
const se_TagResourceRequest = (input, context) => {
|
|
3563
|
-
return {
|
|
3564
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3565
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3566
|
-
};
|
|
3567
|
-
};
|
|
3568
|
-
const se_TimeBasedCollectionScheme = (input, context) => {
|
|
3569
|
-
return {
|
|
3570
|
-
...(input.periodMs != null && { periodMs: input.periodMs }),
|
|
3571
|
-
};
|
|
3572
|
-
};
|
|
3573
|
-
const se_TimestreamResources = (input, context) => {
|
|
3574
|
-
return {
|
|
3575
|
-
...(input.timestreamDatabaseName != null && { timestreamDatabaseName: input.timestreamDatabaseName }),
|
|
3576
|
-
...(input.timestreamTableName != null && { timestreamTableName: input.timestreamTableName }),
|
|
3577
|
-
};
|
|
3578
|
-
};
|
|
3579
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
3580
|
-
return {
|
|
3581
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3582
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
3583
|
-
};
|
|
3584
|
-
};
|
|
3585
|
-
const se_UpdateCampaignRequest = (input, context) => {
|
|
3586
|
-
return {
|
|
3587
|
-
...(input.action != null && { action: input.action }),
|
|
3588
|
-
...(input.dataExtraDimensions != null && {
|
|
3589
|
-
dataExtraDimensions: se_DataExtraDimensionNodePathList(input.dataExtraDimensions, context),
|
|
3590
|
-
}),
|
|
3591
|
-
...(input.description != null && { description: input.description }),
|
|
3592
|
-
...(input.name != null && { name: input.name }),
|
|
3593
|
-
};
|
|
3594
|
-
};
|
|
3595
|
-
const se_UpdateDecoderManifestRequest = (input, context) => {
|
|
3596
|
-
return {
|
|
3597
|
-
...(input.description != null && { description: input.description }),
|
|
3598
|
-
...(input.name != null && { name: input.name }),
|
|
3599
|
-
...(input.networkInterfacesToAdd != null && {
|
|
3600
|
-
networkInterfacesToAdd: se_NetworkInterfaces(input.networkInterfacesToAdd, context),
|
|
3601
|
-
}),
|
|
3602
|
-
...(input.networkInterfacesToRemove != null && {
|
|
3603
|
-
networkInterfacesToRemove: se_InterfaceIds(input.networkInterfacesToRemove, context),
|
|
3604
|
-
}),
|
|
3605
|
-
...(input.networkInterfacesToUpdate != null && {
|
|
3606
|
-
networkInterfacesToUpdate: se_NetworkInterfaces(input.networkInterfacesToUpdate, context),
|
|
3607
|
-
}),
|
|
3608
|
-
...(input.signalDecodersToAdd != null && {
|
|
3609
|
-
signalDecodersToAdd: se_SignalDecoders(input.signalDecodersToAdd, context),
|
|
3610
|
-
}),
|
|
3611
|
-
...(input.signalDecodersToRemove != null && {
|
|
3612
|
-
signalDecodersToRemove: se_Fqns(input.signalDecodersToRemove, context),
|
|
3613
|
-
}),
|
|
3614
|
-
...(input.signalDecodersToUpdate != null && {
|
|
3615
|
-
signalDecodersToUpdate: se_SignalDecoders(input.signalDecodersToUpdate, context),
|
|
3616
|
-
}),
|
|
3617
|
-
...(input.status != null && { status: input.status }),
|
|
3618
|
-
};
|
|
3619
|
-
};
|
|
3620
|
-
const se_UpdateFleetRequest = (input, context) => {
|
|
3621
|
-
return {
|
|
3622
|
-
...(input.description != null && { description: input.description }),
|
|
3623
|
-
...(input.fleetId != null && { fleetId: input.fleetId }),
|
|
3624
|
-
};
|
|
3625
|
-
};
|
|
3626
|
-
const se_UpdateModelManifestRequest = (input, context) => {
|
|
3627
|
-
return {
|
|
3628
|
-
...(input.description != null && { description: input.description }),
|
|
3629
|
-
...(input.name != null && { name: input.name }),
|
|
3630
|
-
...(input.nodesToAdd != null && { nodesToAdd: se_NodePaths(input.nodesToAdd, context) }),
|
|
3631
|
-
...(input.nodesToRemove != null && { nodesToRemove: se_NodePaths(input.nodesToRemove, context) }),
|
|
3632
|
-
...(input.status != null && { status: input.status }),
|
|
3633
|
-
};
|
|
3634
|
-
};
|
|
3635
|
-
const se_UpdateSignalCatalogRequest = (input, context) => {
|
|
3636
|
-
return {
|
|
3637
|
-
...(input.description != null && { description: input.description }),
|
|
3638
|
-
...(input.name != null && { name: input.name }),
|
|
3639
|
-
...(input.nodesToAdd != null && { nodesToAdd: se_Nodes(input.nodesToAdd, context) }),
|
|
3640
|
-
...(input.nodesToRemove != null && { nodesToRemove: se_NodePaths(input.nodesToRemove, context) }),
|
|
3641
|
-
...(input.nodesToUpdate != null && { nodesToUpdate: se_Nodes(input.nodesToUpdate, context) }),
|
|
3642
|
-
};
|
|
3643
|
-
};
|
|
3644
|
-
const se_UpdateVehicleRequest = (input, context) => {
|
|
3645
|
-
return {
|
|
3646
|
-
...(input.attributeUpdateMode != null && { attributeUpdateMode: input.attributeUpdateMode }),
|
|
3647
|
-
...(input.attributes != null && { attributes: se_attributesMap(input.attributes, context) }),
|
|
3648
|
-
...(input.decoderManifestArn != null && { decoderManifestArn: input.decoderManifestArn }),
|
|
3649
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
3650
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
3651
|
-
};
|
|
3652
|
-
};
|
|
3653
|
-
const se_UpdateVehicleRequestItem = (input, context) => {
|
|
3654
|
-
return {
|
|
3655
|
-
...(input.attributeUpdateMode != null && { attributeUpdateMode: input.attributeUpdateMode }),
|
|
3656
|
-
...(input.attributes != null && { attributes: se_attributesMap(input.attributes, context) }),
|
|
3657
|
-
...(input.decoderManifestArn != null && { decoderManifestArn: input.decoderManifestArn }),
|
|
3658
|
-
...(input.modelManifestArn != null && { modelManifestArn: input.modelManifestArn }),
|
|
3659
|
-
...(input.vehicleName != null && { vehicleName: input.vehicleName }),
|
|
3660
|
-
};
|
|
3661
|
-
};
|
|
3662
|
-
const se_updateVehicleRequestItems = (input, context) => {
|
|
3663
|
-
return input
|
|
3664
|
-
.filter((e) => e != null)
|
|
3665
|
-
.map((entry) => {
|
|
3666
|
-
return se_UpdateVehicleRequestItem(entry, context);
|
|
3667
|
-
});
|
|
3668
|
-
};
|
|
3669
|
-
const de_AccessDeniedException = (output, context) => {
|
|
3670
|
-
return {
|
|
3671
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3672
|
-
};
|
|
3673
|
-
};
|
|
3674
|
-
const de_Actuator = (output, context) => {
|
|
3675
|
-
return {
|
|
3676
|
-
allowedValues: output.allowedValues != null ? de_listOfStrings(output.allowedValues, context) : undefined,
|
|
3677
|
-
assignedValue: (0, smithy_client_1.expectString)(output.assignedValue),
|
|
3678
|
-
dataType: (0, smithy_client_1.expectString)(output.dataType),
|
|
3679
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
3680
|
-
fullyQualifiedName: (0, smithy_client_1.expectString)(output.fullyQualifiedName),
|
|
3681
|
-
max: (0, smithy_client_1.limitedParseDouble)(output.max),
|
|
3682
|
-
min: (0, smithy_client_1.limitedParseDouble)(output.min),
|
|
3683
|
-
unit: (0, smithy_client_1.expectString)(output.unit),
|
|
3684
|
-
};
|
|
3685
|
-
};
|
|
3686
|
-
const de_AssociateVehicleFleetResponse = (output, context) => {
|
|
3687
|
-
return {};
|
|
3688
|
-
};
|
|
3689
|
-
const de_Attribute = (output, context) => {
|
|
3690
|
-
return {
|
|
3691
|
-
allowedValues: output.allowedValues != null ? de_listOfStrings(output.allowedValues, context) : undefined,
|
|
3692
|
-
assignedValue: (0, smithy_client_1.expectString)(output.assignedValue),
|
|
3693
|
-
dataType: (0, smithy_client_1.expectString)(output.dataType),
|
|
3694
|
-
defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
|
|
3695
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
3696
|
-
fullyQualifiedName: (0, smithy_client_1.expectString)(output.fullyQualifiedName),
|
|
3697
|
-
max: (0, smithy_client_1.limitedParseDouble)(output.max),
|
|
3698
|
-
min: (0, smithy_client_1.limitedParseDouble)(output.min),
|
|
3699
|
-
unit: (0, smithy_client_1.expectString)(output.unit),
|
|
3700
|
-
};
|
|
3701
|
-
};
|
|
3702
|
-
const de_attributesMap = (output, context) => {
|
|
3703
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3704
|
-
if (value === null) {
|
|
3705
|
-
return acc;
|
|
3706
|
-
}
|
|
3707
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
3708
|
-
return acc;
|
|
3709
|
-
}, {});
|
|
3710
|
-
};
|
|
3711
|
-
const de_BatchCreateVehicleResponse = (output, context) => {
|
|
3712
|
-
return {
|
|
3713
|
-
errors: output.errors != null ? de_createVehicleErrors(output.errors, context) : undefined,
|
|
3714
|
-
vehicles: output.vehicles != null ? de_createVehicleResponses(output.vehicles, context) : undefined,
|
|
3715
|
-
};
|
|
3716
|
-
};
|
|
3717
|
-
const de_BatchUpdateVehicleResponse = (output, context) => {
|
|
3718
|
-
return {
|
|
3719
|
-
errors: output.errors != null ? de_updateVehicleErrors(output.errors, context) : undefined,
|
|
3720
|
-
vehicles: output.vehicles != null ? de_updateVehicleResponseItems(output.vehicles, context) : undefined,
|
|
3721
|
-
};
|
|
3722
|
-
};
|
|
3723
|
-
const de_Branch = (output, context) => {
|
|
3724
|
-
return {
|
|
3725
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
3726
|
-
fullyQualifiedName: (0, smithy_client_1.expectString)(output.fullyQualifiedName),
|
|
3727
|
-
};
|
|
3728
|
-
};
|
|
3729
|
-
const de_campaignSummaries = (output, context) => {
|
|
3730
|
-
const retVal = (output || [])
|
|
3731
|
-
.filter((e) => e != null)
|
|
3732
|
-
.map((entry) => {
|
|
3733
|
-
if (entry === null) {
|
|
3734
|
-
return null;
|
|
3735
|
-
}
|
|
3736
|
-
return de_CampaignSummary(entry, context);
|
|
3737
|
-
});
|
|
3738
|
-
return retVal;
|
|
3739
|
-
};
|
|
3740
|
-
const de_CampaignSummary = (output, context) => {
|
|
3741
|
-
return {
|
|
3742
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3743
|
-
creationTime: output.creationTime != null
|
|
3744
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
3745
|
-
: undefined,
|
|
3746
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
3747
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3748
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModificationTime)))
|
|
3749
|
-
: undefined,
|
|
3750
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3751
|
-
signalCatalogArn: (0, smithy_client_1.expectString)(output.signalCatalogArn),
|
|
3752
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3753
|
-
targetArn: (0, smithy_client_1.expectString)(output.targetArn),
|
|
3754
|
-
};
|
|
3755
|
-
};
|
|
3756
|
-
const de_CanInterface = (output, context) => {
|
|
3757
|
-
return {
|
|
3758
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3759
|
-
protocolName: (0, smithy_client_1.expectString)(output.protocolName),
|
|
3760
|
-
protocolVersion: (0, smithy_client_1.expectString)(output.protocolVersion),
|
|
3761
|
-
};
|
|
3762
|
-
};
|
|
3763
|
-
const de_CanSignal = (output, context) => {
|
|
3764
|
-
return {
|
|
3765
|
-
factor: (0, smithy_client_1.limitedParseDouble)(output.factor),
|
|
3766
|
-
isBigEndian: (0, smithy_client_1.expectBoolean)(output.isBigEndian),
|
|
3767
|
-
isSigned: (0, smithy_client_1.expectBoolean)(output.isSigned),
|
|
3768
|
-
length: (0, smithy_client_1.expectInt32)(output.length),
|
|
3769
|
-
messageId: (0, smithy_client_1.expectInt32)(output.messageId),
|
|
3770
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3771
|
-
offset: (0, smithy_client_1.limitedParseDouble)(output.offset),
|
|
3772
|
-
startBit: (0, smithy_client_1.expectInt32)(output.startBit),
|
|
3773
|
-
};
|
|
3774
|
-
};
|
|
3775
|
-
const de_CloudWatchLogDeliveryOptions = (output, context) => {
|
|
3776
|
-
return {
|
|
3777
|
-
logGroupName: (0, smithy_client_1.expectString)(output.logGroupName),
|
|
3778
|
-
logType: (0, smithy_client_1.expectString)(output.logType),
|
|
3779
|
-
};
|
|
3780
|
-
};
|
|
3781
|
-
const de_CollectionScheme = (output, context) => {
|
|
3782
|
-
if (output.conditionBasedCollectionScheme != null) {
|
|
3783
|
-
return {
|
|
3784
|
-
conditionBasedCollectionScheme: de_ConditionBasedCollectionScheme(output.conditionBasedCollectionScheme, context),
|
|
3785
|
-
};
|
|
3786
|
-
}
|
|
3787
|
-
if (output.timeBasedCollectionScheme != null) {
|
|
3788
|
-
return {
|
|
3789
|
-
timeBasedCollectionScheme: de_TimeBasedCollectionScheme(output.timeBasedCollectionScheme, context),
|
|
3790
|
-
};
|
|
3791
|
-
}
|
|
3792
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3793
|
-
};
|
|
3794
|
-
const de_ConditionBasedCollectionScheme = (output, context) => {
|
|
3795
|
-
return {
|
|
3796
|
-
conditionLanguageVersion: (0, smithy_client_1.expectInt32)(output.conditionLanguageVersion),
|
|
3797
|
-
expression: (0, smithy_client_1.expectString)(output.expression),
|
|
3798
|
-
minimumTriggerIntervalMs: (0, smithy_client_1.expectLong)(output.minimumTriggerIntervalMs),
|
|
3799
|
-
triggerMode: (0, smithy_client_1.expectString)(output.triggerMode),
|
|
3800
|
-
};
|
|
3801
|
-
};
|
|
3802
|
-
const de_ConflictException = (output, context) => {
|
|
3803
|
-
return {
|
|
3804
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3805
|
-
resource: (0, smithy_client_1.expectString)(output.resource),
|
|
3806
|
-
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
3807
|
-
};
|
|
3808
|
-
};
|
|
3809
|
-
const de_CreateCampaignResponse = (output, context) => {
|
|
3810
|
-
return {
|
|
3811
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3812
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3813
|
-
};
|
|
3814
|
-
};
|
|
3815
|
-
const de_CreateDecoderManifestResponse = (output, context) => {
|
|
3816
|
-
return {
|
|
3817
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3818
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3819
|
-
};
|
|
3820
|
-
};
|
|
3821
|
-
const de_CreateFleetResponse = (output, context) => {
|
|
3822
|
-
return {
|
|
3823
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3824
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
3825
|
-
};
|
|
3826
|
-
};
|
|
3827
|
-
const de_CreateModelManifestResponse = (output, context) => {
|
|
3828
|
-
return {
|
|
3829
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3830
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3831
|
-
};
|
|
3832
|
-
};
|
|
3833
|
-
const de_CreateSignalCatalogResponse = (output, context) => {
|
|
3834
|
-
return {
|
|
3835
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3836
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3837
|
-
};
|
|
3838
|
-
};
|
|
3839
|
-
const de_CreateVehicleError = (output, context) => {
|
|
3840
|
-
return {
|
|
3841
|
-
code: (0, smithy_client_1.expectString)(output.code),
|
|
3842
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3843
|
-
vehicleName: (0, smithy_client_1.expectString)(output.vehicleName),
|
|
3844
|
-
};
|
|
3845
|
-
};
|
|
3846
|
-
const de_createVehicleErrors = (output, context) => {
|
|
3847
|
-
const retVal = (output || [])
|
|
3848
|
-
.filter((e) => e != null)
|
|
3849
|
-
.map((entry) => {
|
|
3850
|
-
if (entry === null) {
|
|
3851
|
-
return null;
|
|
3852
|
-
}
|
|
3853
|
-
return de_CreateVehicleError(entry, context);
|
|
3854
|
-
});
|
|
3855
|
-
return retVal;
|
|
3856
|
-
};
|
|
3857
|
-
const de_CreateVehicleResponse = (output, context) => {
|
|
3858
|
-
return {
|
|
3859
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3860
|
-
thingArn: (0, smithy_client_1.expectString)(output.thingArn),
|
|
3861
|
-
vehicleName: (0, smithy_client_1.expectString)(output.vehicleName),
|
|
3862
|
-
};
|
|
3863
|
-
};
|
|
3864
|
-
const de_CreateVehicleResponseItem = (output, context) => {
|
|
3865
|
-
return {
|
|
3866
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3867
|
-
thingArn: (0, smithy_client_1.expectString)(output.thingArn),
|
|
3868
|
-
vehicleName: (0, smithy_client_1.expectString)(output.vehicleName),
|
|
3869
|
-
};
|
|
3870
|
-
};
|
|
3871
|
-
const de_createVehicleResponses = (output, context) => {
|
|
3872
|
-
const retVal = (output || [])
|
|
3873
|
-
.filter((e) => e != null)
|
|
3874
|
-
.map((entry) => {
|
|
3875
|
-
if (entry === null) {
|
|
3876
|
-
return null;
|
|
3877
|
-
}
|
|
3878
|
-
return de_CreateVehicleResponseItem(entry, context);
|
|
3879
|
-
});
|
|
3880
|
-
return retVal;
|
|
3881
|
-
};
|
|
3882
|
-
const de_DataExtraDimensionNodePathList = (output, context) => {
|
|
3883
|
-
const retVal = (output || [])
|
|
3884
|
-
.filter((e) => e != null)
|
|
3885
|
-
.map((entry) => {
|
|
3886
|
-
if (entry === null) {
|
|
3887
|
-
return null;
|
|
3888
|
-
}
|
|
3889
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3890
|
-
});
|
|
3891
|
-
return retVal;
|
|
3892
|
-
};
|
|
3893
|
-
const de_decoderManifestSummaries = (output, context) => {
|
|
3894
|
-
const retVal = (output || [])
|
|
3895
|
-
.filter((e) => e != null)
|
|
3896
|
-
.map((entry) => {
|
|
3897
|
-
if (entry === null) {
|
|
3898
|
-
return null;
|
|
3899
|
-
}
|
|
3900
|
-
return de_DecoderManifestSummary(entry, context);
|
|
3901
|
-
});
|
|
3902
|
-
return retVal;
|
|
3903
|
-
};
|
|
3904
|
-
const de_DecoderManifestSummary = (output, context) => {
|
|
3905
|
-
return {
|
|
3906
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3907
|
-
creationTime: output.creationTime != null
|
|
3908
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
3909
|
-
: undefined,
|
|
3910
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
3911
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3912
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModificationTime)))
|
|
3913
|
-
: undefined,
|
|
3914
|
-
modelManifestArn: (0, smithy_client_1.expectString)(output.modelManifestArn),
|
|
3915
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3916
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3917
|
-
};
|
|
3918
|
-
};
|
|
3919
|
-
const de_DecoderManifestValidationException = (output, context) => {
|
|
3920
|
-
return {
|
|
3921
|
-
invalidNetworkInterfaces: output.invalidNetworkInterfaces != null
|
|
3922
|
-
? de_InvalidNetworkInterfaces(output.invalidNetworkInterfaces, context)
|
|
3923
|
-
: undefined,
|
|
3924
|
-
invalidSignals: output.invalidSignals != null ? de_InvalidSignalDecoders(output.invalidSignals, context) : undefined,
|
|
3925
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3926
|
-
};
|
|
3927
|
-
};
|
|
3928
|
-
const de_DeleteCampaignResponse = (output, context) => {
|
|
3929
|
-
return {
|
|
3930
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3931
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3932
|
-
};
|
|
3933
|
-
};
|
|
3934
|
-
const de_DeleteDecoderManifestResponse = (output, context) => {
|
|
3935
|
-
return {
|
|
3936
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3937
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3938
|
-
};
|
|
3939
|
-
};
|
|
3940
|
-
const de_DeleteFleetResponse = (output, context) => {
|
|
3941
|
-
return {
|
|
3942
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3943
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
3944
|
-
};
|
|
3945
|
-
};
|
|
3946
|
-
const de_DeleteModelManifestResponse = (output, context) => {
|
|
3947
|
-
return {
|
|
3948
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3949
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3950
|
-
};
|
|
3951
|
-
};
|
|
3952
|
-
const de_DeleteSignalCatalogResponse = (output, context) => {
|
|
3953
|
-
return {
|
|
3954
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3955
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3956
|
-
};
|
|
3957
|
-
};
|
|
3958
|
-
const de_DeleteVehicleResponse = (output, context) => {
|
|
3959
|
-
return {
|
|
3960
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3961
|
-
vehicleName: (0, smithy_client_1.expectString)(output.vehicleName),
|
|
3962
|
-
};
|
|
3963
|
-
};
|
|
3964
|
-
const de_DisassociateVehicleFleetResponse = (output, context) => {
|
|
3965
|
-
return {};
|
|
3966
|
-
};
|
|
3967
|
-
const de_fleets = (output, context) => {
|
|
3968
|
-
const retVal = (output || [])
|
|
3969
|
-
.filter((e) => e != null)
|
|
3970
|
-
.map((entry) => {
|
|
3971
|
-
if (entry === null) {
|
|
3972
|
-
return null;
|
|
3973
|
-
}
|
|
3974
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3975
|
-
});
|
|
3976
|
-
return retVal;
|
|
3977
|
-
};
|
|
3978
|
-
const de_fleetSummaries = (output, context) => {
|
|
3979
|
-
const retVal = (output || [])
|
|
3980
|
-
.filter((e) => e != null)
|
|
3981
|
-
.map((entry) => {
|
|
3982
|
-
if (entry === null) {
|
|
3983
|
-
return null;
|
|
3984
|
-
}
|
|
3985
|
-
return de_FleetSummary(entry, context);
|
|
3986
|
-
});
|
|
3987
|
-
return retVal;
|
|
3988
|
-
};
|
|
3989
|
-
const de_FleetSummary = (output, context) => {
|
|
3990
|
-
return {
|
|
3991
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3992
|
-
creationTime: output.creationTime != null
|
|
3993
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
3994
|
-
: undefined,
|
|
3995
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
3996
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
3997
|
-
lastModificationTime: output.lastModificationTime != null
|
|
3998
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModificationTime)))
|
|
3999
|
-
: undefined,
|
|
4000
|
-
signalCatalogArn: (0, smithy_client_1.expectString)(output.signalCatalogArn),
|
|
4001
|
-
};
|
|
4002
|
-
};
|
|
4003
|
-
const de_GetCampaignResponse = (output, context) => {
|
|
4004
|
-
return {
|
|
4005
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4006
|
-
collectionScheme: output.collectionScheme != null
|
|
4007
|
-
? de_CollectionScheme((0, smithy_client_1.expectUnion)(output.collectionScheme), context)
|
|
4008
|
-
: undefined,
|
|
4009
|
-
compression: (0, smithy_client_1.expectString)(output.compression),
|
|
4010
|
-
creationTime: output.creationTime != null
|
|
4011
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
4012
|
-
: undefined,
|
|
4013
|
-
dataExtraDimensions: output.dataExtraDimensions != null
|
|
4014
|
-
? de_DataExtraDimensionNodePathList(output.dataExtraDimensions, context)
|
|
4015
|
-
: undefined,
|
|
4016
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
4017
|
-
diagnosticsMode: (0, smithy_client_1.expectString)(output.diagnosticsMode),
|
|
4018
|
-
expiryTime: output.expiryTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expiryTime))) : undefined,
|
|
4019
|
-
lastModificationTime: output.lastModificationTime != null
|
|
4020
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModificationTime)))
|
|
4021
|
-
: undefined,
|
|
4022
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4023
|
-
postTriggerCollectionDuration: (0, smithy_client_1.expectLong)(output.postTriggerCollectionDuration),
|
|
4024
|
-
priority: (0, smithy_client_1.expectInt32)(output.priority),
|
|
4025
|
-
signalCatalogArn: (0, smithy_client_1.expectString)(output.signalCatalogArn),
|
|
4026
|
-
signalsToCollect: output.signalsToCollect != null ? de_SignalInformationList(output.signalsToCollect, context) : undefined,
|
|
4027
|
-
spoolingMode: (0, smithy_client_1.expectString)(output.spoolingMode),
|
|
4028
|
-
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
4029
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
4030
|
-
targetArn: (0, smithy_client_1.expectString)(output.targetArn),
|
|
4031
|
-
};
|
|
4032
|
-
};
|
|
4033
|
-
const de_GetDecoderManifestResponse = (output, context) => {
|
|
4034
|
-
return {
|
|
4035
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4036
|
-
creationTime: output.creationTime != null
|
|
4037
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
4038
|
-
: undefined,
|
|
4039
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
4040
|
-
lastModificationTime: output.lastModificationTime != null
|
|
4041
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModificationTime)))
|
|
4042
|
-
: undefined,
|
|
4043
|
-
modelManifestArn: (0, smithy_client_1.expectString)(output.modelManifestArn),
|
|
4044
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4045
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
4046
|
-
};
|
|
4047
|
-
};
|
|
4048
|
-
const de_GetFleetResponse = (output, context) => {
|
|
4049
|
-
return {
|
|
4050
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4051
|
-
creationTime: output.creationTime != null
|
|
4052
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
4053
|
-
: undefined,
|
|
4054
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
4055
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
4056
|
-
lastModificationTime: output.lastModificationTime != null
|
|
4057
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModificationTime)))
|
|
4058
|
-
: undefined,
|
|
4059
|
-
signalCatalogArn: (0, smithy_client_1.expectString)(output.signalCatalogArn),
|
|
4060
|
-
};
|
|
4061
|
-
};
|
|
4062
|
-
const de_GetLoggingOptionsResponse = (output, context) => {
|
|
4063
|
-
return {
|
|
4064
|
-
cloudWatchLogDelivery: output.cloudWatchLogDelivery != null
|
|
4065
|
-
? de_CloudWatchLogDeliveryOptions(output.cloudWatchLogDelivery, context)
|
|
4066
|
-
: undefined,
|
|
4067
|
-
};
|
|
4068
|
-
};
|
|
4069
|
-
const de_GetModelManifestResponse = (output, context) => {
|
|
4070
|
-
return {
|
|
4071
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4072
|
-
creationTime: output.creationTime != null
|
|
4073
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
4074
|
-
: undefined,
|
|
4075
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
4076
|
-
lastModificationTime: output.lastModificationTime != null
|
|
4077
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModificationTime)))
|
|
4078
|
-
: undefined,
|
|
4079
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4080
|
-
signalCatalogArn: (0, smithy_client_1.expectString)(output.signalCatalogArn),
|
|
4081
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
4082
|
-
};
|
|
4083
|
-
};
|
|
4084
|
-
const de_GetRegisterAccountStatusResponse = (output, context) => {
|
|
4085
|
-
return {
|
|
4086
|
-
accountStatus: (0, smithy_client_1.expectString)(output.accountStatus),
|
|
4087
|
-
creationTime: output.creationTime != null
|
|
4088
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
4089
|
-
: undefined,
|
|
4090
|
-
customerAccountId: (0, smithy_client_1.expectString)(output.customerAccountId),
|
|
4091
|
-
iamRegistrationResponse: output.iamRegistrationResponse != null
|
|
4092
|
-
? de_IamRegistrationResponse(output.iamRegistrationResponse, context)
|
|
4093
|
-
: undefined,
|
|
4094
|
-
lastModificationTime: output.lastModificationTime != null
|
|
4095
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModificationTime)))
|
|
4096
|
-
: undefined,
|
|
4097
|
-
timestreamRegistrationResponse: output.timestreamRegistrationResponse != null
|
|
4098
|
-
? de_TimestreamRegistrationResponse(output.timestreamRegistrationResponse, context)
|
|
4099
|
-
: undefined,
|
|
4100
|
-
};
|
|
4101
|
-
};
|
|
4102
|
-
const de_GetSignalCatalogResponse = (output, context) => {
|
|
4103
|
-
return {
|
|
4104
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4105
|
-
creationTime: output.creationTime != null
|
|
4106
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
4107
|
-
: undefined,
|
|
4108
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
4109
|
-
lastModificationTime: output.lastModificationTime != null
|
|
4110
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModificationTime)))
|
|
4111
|
-
: undefined,
|
|
4112
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4113
|
-
nodeCounts: output.nodeCounts != null ? de_NodeCounts(output.nodeCounts, context) : undefined,
|
|
4114
|
-
};
|
|
4115
|
-
};
|
|
4116
|
-
const de_GetVehicleResponse = (output, context) => {
|
|
4117
|
-
return {
|
|
4118
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4119
|
-
attributes: output.attributes != null ? de_attributesMap(output.attributes, context) : undefined,
|
|
4120
|
-
creationTime: output.creationTime != null
|
|
4121
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
4122
|
-
: undefined,
|
|
4123
|
-
decoderManifestArn: (0, smithy_client_1.expectString)(output.decoderManifestArn),
|
|
4124
|
-
lastModificationTime: output.lastModificationTime != null
|
|
4125
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModificationTime)))
|
|
4126
|
-
: undefined,
|
|
4127
|
-
modelManifestArn: (0, smithy_client_1.expectString)(output.modelManifestArn),
|
|
4128
|
-
vehicleName: (0, smithy_client_1.expectString)(output.vehicleName),
|
|
4129
|
-
};
|
|
4130
|
-
};
|
|
4131
|
-
const de_GetVehicleStatusResponse = (output, context) => {
|
|
4132
|
-
return {
|
|
4133
|
-
campaigns: output.campaigns != null ? de_VehicleStatusList(output.campaigns, context) : undefined,
|
|
4134
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
4135
|
-
};
|
|
4136
|
-
};
|
|
4137
|
-
const de_IamRegistrationResponse = (output, context) => {
|
|
4138
|
-
return {
|
|
4139
|
-
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
4140
|
-
registrationStatus: (0, smithy_client_1.expectString)(output.registrationStatus),
|
|
4141
|
-
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
4142
|
-
};
|
|
4143
|
-
};
|
|
4144
|
-
const de_IamResources = (output, context) => {
|
|
4145
|
-
return {
|
|
4146
|
-
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
4147
|
-
};
|
|
4148
|
-
};
|
|
4149
|
-
const de_ImportDecoderManifestResponse = (output, context) => {
|
|
4150
|
-
return {
|
|
4151
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4152
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4153
|
-
};
|
|
4154
|
-
};
|
|
4155
|
-
const de_ImportSignalCatalogResponse = (output, context) => {
|
|
4156
|
-
return {
|
|
4157
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4158
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4159
|
-
};
|
|
4160
|
-
};
|
|
4161
|
-
const de_InternalServerException = (output, context) => {
|
|
4162
|
-
return {
|
|
4163
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4164
|
-
retryAfterSeconds: (0, smithy_client_1.expectInt32)(output.retryAfterSeconds),
|
|
4165
|
-
};
|
|
4166
|
-
};
|
|
4167
|
-
const de_InvalidNetworkInterface = (output, context) => {
|
|
4168
|
-
return {
|
|
4169
|
-
interfaceId: (0, smithy_client_1.expectString)(output.interfaceId),
|
|
4170
|
-
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
4171
|
-
};
|
|
3030
|
+
const de_DecoderManifestSummary = (output, context) => {
|
|
3031
|
+
return (0, smithy_client_1.take)(output, {
|
|
3032
|
+
arn: smithy_client_1.expectString,
|
|
3033
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3034
|
+
description: smithy_client_1.expectString,
|
|
3035
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3036
|
+
modelManifestArn: smithy_client_1.expectString,
|
|
3037
|
+
name: smithy_client_1.expectString,
|
|
3038
|
+
status: smithy_client_1.expectString,
|
|
3039
|
+
});
|
|
4172
3040
|
};
|
|
4173
|
-
const
|
|
3041
|
+
const de_fleetSummaries = (output, context) => {
|
|
4174
3042
|
const retVal = (output || [])
|
|
4175
3043
|
.filter((e) => e != null)
|
|
4176
3044
|
.map((entry) => {
|
|
4177
|
-
|
|
4178
|
-
return null;
|
|
4179
|
-
}
|
|
4180
|
-
return de_InvalidNetworkInterface(entry, context);
|
|
3045
|
+
return de_FleetSummary(entry, context);
|
|
4181
3046
|
});
|
|
4182
3047
|
return retVal;
|
|
4183
3048
|
};
|
|
4184
|
-
const
|
|
4185
|
-
return {
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
3049
|
+
const de_FleetSummary = (output, context) => {
|
|
3050
|
+
return (0, smithy_client_1.take)(output, {
|
|
3051
|
+
arn: smithy_client_1.expectString,
|
|
3052
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3053
|
+
description: smithy_client_1.expectString,
|
|
3054
|
+
id: smithy_client_1.expectString,
|
|
3055
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3056
|
+
signalCatalogArn: smithy_client_1.expectString,
|
|
3057
|
+
});
|
|
4190
3058
|
};
|
|
4191
|
-
const
|
|
4192
|
-
return {
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
3059
|
+
const de_GetCampaignResponse = (output, context) => {
|
|
3060
|
+
return (0, smithy_client_1.take)(output, {
|
|
3061
|
+
arn: smithy_client_1.expectString,
|
|
3062
|
+
collectionScheme: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
|
|
3063
|
+
compression: smithy_client_1.expectString,
|
|
3064
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3065
|
+
dataExtraDimensions: smithy_client_1._json,
|
|
3066
|
+
description: smithy_client_1.expectString,
|
|
3067
|
+
diagnosticsMode: smithy_client_1.expectString,
|
|
3068
|
+
expiryTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3069
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3070
|
+
name: smithy_client_1.expectString,
|
|
3071
|
+
postTriggerCollectionDuration: smithy_client_1.expectLong,
|
|
3072
|
+
priority: smithy_client_1.expectInt32,
|
|
3073
|
+
signalCatalogArn: smithy_client_1.expectString,
|
|
3074
|
+
signalsToCollect: smithy_client_1._json,
|
|
3075
|
+
spoolingMode: smithy_client_1.expectString,
|
|
3076
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3077
|
+
status: smithy_client_1.expectString,
|
|
3078
|
+
targetArn: smithy_client_1.expectString,
|
|
3079
|
+
});
|
|
4196
3080
|
};
|
|
4197
|
-
const
|
|
4198
|
-
return {
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
3081
|
+
const de_GetDecoderManifestResponse = (output, context) => {
|
|
3082
|
+
return (0, smithy_client_1.take)(output, {
|
|
3083
|
+
arn: smithy_client_1.expectString,
|
|
3084
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3085
|
+
description: smithy_client_1.expectString,
|
|
3086
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3087
|
+
modelManifestArn: smithy_client_1.expectString,
|
|
3088
|
+
name: smithy_client_1.expectString,
|
|
3089
|
+
status: smithy_client_1.expectString,
|
|
3090
|
+
});
|
|
4202
3091
|
};
|
|
4203
|
-
const
|
|
4204
|
-
|
|
4205
|
-
.
|
|
4206
|
-
.
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
3092
|
+
const de_GetFleetResponse = (output, context) => {
|
|
3093
|
+
return (0, smithy_client_1.take)(output, {
|
|
3094
|
+
arn: smithy_client_1.expectString,
|
|
3095
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3096
|
+
description: smithy_client_1.expectString,
|
|
3097
|
+
id: smithy_client_1.expectString,
|
|
3098
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3099
|
+
signalCatalogArn: smithy_client_1.expectString,
|
|
4211
3100
|
});
|
|
4212
|
-
return retVal;
|
|
4213
3101
|
};
|
|
4214
|
-
const
|
|
4215
|
-
|
|
4216
|
-
.
|
|
4217
|
-
.
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
3102
|
+
const de_GetModelManifestResponse = (output, context) => {
|
|
3103
|
+
return (0, smithy_client_1.take)(output, {
|
|
3104
|
+
arn: smithy_client_1.expectString,
|
|
3105
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3106
|
+
description: smithy_client_1.expectString,
|
|
3107
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3108
|
+
name: smithy_client_1.expectString,
|
|
3109
|
+
signalCatalogArn: smithy_client_1.expectString,
|
|
3110
|
+
status: smithy_client_1.expectString,
|
|
4222
3111
|
});
|
|
4223
|
-
return retVal;
|
|
4224
3112
|
};
|
|
4225
|
-
const
|
|
4226
|
-
return {
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
3113
|
+
const de_GetRegisterAccountStatusResponse = (output, context) => {
|
|
3114
|
+
return (0, smithy_client_1.take)(output, {
|
|
3115
|
+
accountStatus: smithy_client_1.expectString,
|
|
3116
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3117
|
+
customerAccountId: smithy_client_1.expectString,
|
|
3118
|
+
iamRegistrationResponse: smithy_client_1._json,
|
|
3119
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3120
|
+
timestreamRegistrationResponse: smithy_client_1._json,
|
|
3121
|
+
});
|
|
4230
3122
|
};
|
|
4231
|
-
const
|
|
4232
|
-
return {
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
3123
|
+
const de_GetSignalCatalogResponse = (output, context) => {
|
|
3124
|
+
return (0, smithy_client_1.take)(output, {
|
|
3125
|
+
arn: smithy_client_1.expectString,
|
|
3126
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3127
|
+
description: smithy_client_1.expectString,
|
|
3128
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3129
|
+
name: smithy_client_1.expectString,
|
|
3130
|
+
nodeCounts: smithy_client_1._json,
|
|
3131
|
+
});
|
|
4237
3132
|
};
|
|
4238
|
-
const
|
|
4239
|
-
return {
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
3133
|
+
const de_GetVehicleResponse = (output, context) => {
|
|
3134
|
+
return (0, smithy_client_1.take)(output, {
|
|
3135
|
+
arn: smithy_client_1.expectString,
|
|
3136
|
+
attributes: smithy_client_1._json,
|
|
3137
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3138
|
+
decoderManifestArn: smithy_client_1.expectString,
|
|
3139
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3140
|
+
modelManifestArn: smithy_client_1.expectString,
|
|
3141
|
+
vehicleName: smithy_client_1.expectString,
|
|
3142
|
+
});
|
|
4243
3143
|
};
|
|
4244
|
-
const
|
|
4245
|
-
return {
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
3144
|
+
const de_InvalidNodeException = (output, context) => {
|
|
3145
|
+
return (0, smithy_client_1.take)(output, {
|
|
3146
|
+
invalidNodes: (_) => de_Nodes(_, context),
|
|
3147
|
+
message: smithy_client_1.expectString,
|
|
3148
|
+
reason: smithy_client_1.expectString,
|
|
3149
|
+
});
|
|
3150
|
+
};
|
|
3151
|
+
const de_ListCampaignsResponse = (output, context) => {
|
|
3152
|
+
return (0, smithy_client_1.take)(output, {
|
|
3153
|
+
campaignSummaries: (_) => de_campaignSummaries(_, context),
|
|
3154
|
+
nextToken: smithy_client_1.expectString,
|
|
3155
|
+
});
|
|
4249
3156
|
};
|
|
4250
3157
|
const de_ListDecoderManifestSignalsResponse = (output, context) => {
|
|
4251
|
-
return {
|
|
4252
|
-
nextToken:
|
|
4253
|
-
signalDecoders:
|
|
4254
|
-
};
|
|
3158
|
+
return (0, smithy_client_1.take)(output, {
|
|
3159
|
+
nextToken: smithy_client_1.expectString,
|
|
3160
|
+
signalDecoders: (_) => de_SignalDecoders(_, context),
|
|
3161
|
+
});
|
|
4255
3162
|
};
|
|
4256
3163
|
const de_ListDecoderManifestsResponse = (output, context) => {
|
|
4257
|
-
return {
|
|
4258
|
-
nextToken:
|
|
4259
|
-
summaries:
|
|
4260
|
-
};
|
|
4261
|
-
};
|
|
4262
|
-
const de_ListFleetsForVehicleResponse = (output, context) => {
|
|
4263
|
-
return {
|
|
4264
|
-
fleets: output.fleets != null ? de_fleets(output.fleets, context) : undefined,
|
|
4265
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
4266
|
-
};
|
|
3164
|
+
return (0, smithy_client_1.take)(output, {
|
|
3165
|
+
nextToken: smithy_client_1.expectString,
|
|
3166
|
+
summaries: (_) => de_decoderManifestSummaries(_, context),
|
|
3167
|
+
});
|
|
4267
3168
|
};
|
|
4268
3169
|
const de_ListFleetsResponse = (output, context) => {
|
|
4269
|
-
return {
|
|
4270
|
-
fleetSummaries:
|
|
4271
|
-
nextToken:
|
|
4272
|
-
};
|
|
3170
|
+
return (0, smithy_client_1.take)(output, {
|
|
3171
|
+
fleetSummaries: (_) => de_fleetSummaries(_, context),
|
|
3172
|
+
nextToken: smithy_client_1.expectString,
|
|
3173
|
+
});
|
|
4273
3174
|
};
|
|
4274
3175
|
const de_ListModelManifestNodesResponse = (output, context) => {
|
|
4275
|
-
return {
|
|
4276
|
-
nextToken:
|
|
4277
|
-
nodes:
|
|
4278
|
-
};
|
|
3176
|
+
return (0, smithy_client_1.take)(output, {
|
|
3177
|
+
nextToken: smithy_client_1.expectString,
|
|
3178
|
+
nodes: (_) => de_Nodes(_, context),
|
|
3179
|
+
});
|
|
4279
3180
|
};
|
|
4280
3181
|
const de_ListModelManifestsResponse = (output, context) => {
|
|
4281
|
-
return {
|
|
4282
|
-
nextToken:
|
|
4283
|
-
summaries:
|
|
4284
|
-
};
|
|
4285
|
-
};
|
|
4286
|
-
const de_listOfStrings = (output, context) => {
|
|
4287
|
-
const retVal = (output || [])
|
|
4288
|
-
.filter((e) => e != null)
|
|
4289
|
-
.map((entry) => {
|
|
4290
|
-
if (entry === null) {
|
|
4291
|
-
return null;
|
|
4292
|
-
}
|
|
4293
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3182
|
+
return (0, smithy_client_1.take)(output, {
|
|
3183
|
+
nextToken: smithy_client_1.expectString,
|
|
3184
|
+
summaries: (_) => de_modelManifestSummaries(_, context),
|
|
4294
3185
|
});
|
|
4295
|
-
return retVal;
|
|
4296
3186
|
};
|
|
4297
3187
|
const de_ListSignalCatalogNodesResponse = (output, context) => {
|
|
4298
|
-
return {
|
|
4299
|
-
nextToken:
|
|
4300
|
-
nodes:
|
|
4301
|
-
};
|
|
3188
|
+
return (0, smithy_client_1.take)(output, {
|
|
3189
|
+
nextToken: smithy_client_1.expectString,
|
|
3190
|
+
nodes: (_) => de_Nodes(_, context),
|
|
3191
|
+
});
|
|
4302
3192
|
};
|
|
4303
3193
|
const de_ListSignalCatalogsResponse = (output, context) => {
|
|
4304
|
-
return {
|
|
4305
|
-
nextToken:
|
|
4306
|
-
summaries:
|
|
4307
|
-
};
|
|
4308
|
-
};
|
|
4309
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
4310
|
-
return {
|
|
4311
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
4312
|
-
};
|
|
4313
|
-
};
|
|
4314
|
-
const de_ListVehiclesInFleetResponse = (output, context) => {
|
|
4315
|
-
return {
|
|
4316
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
4317
|
-
vehicles: output.vehicles != null ? de_vehicles(output.vehicles, context) : undefined,
|
|
4318
|
-
};
|
|
3194
|
+
return (0, smithy_client_1.take)(output, {
|
|
3195
|
+
nextToken: smithy_client_1.expectString,
|
|
3196
|
+
summaries: (_) => de_signalCatalogSummaries(_, context),
|
|
3197
|
+
});
|
|
4319
3198
|
};
|
|
4320
3199
|
const de_ListVehiclesResponse = (output, context) => {
|
|
4321
|
-
return {
|
|
4322
|
-
nextToken:
|
|
4323
|
-
vehicleSummaries:
|
|
4324
|
-
};
|
|
3200
|
+
return (0, smithy_client_1.take)(output, {
|
|
3201
|
+
nextToken: smithy_client_1.expectString,
|
|
3202
|
+
vehicleSummaries: (_) => de_vehicleSummaries(_, context),
|
|
3203
|
+
});
|
|
4325
3204
|
};
|
|
4326
3205
|
const de_modelManifestSummaries = (output, context) => {
|
|
4327
3206
|
const retVal = (output || [])
|
|
4328
3207
|
.filter((e) => e != null)
|
|
4329
3208
|
.map((entry) => {
|
|
4330
|
-
if (entry === null) {
|
|
4331
|
-
return null;
|
|
4332
|
-
}
|
|
4333
3209
|
return de_ModelManifestSummary(entry, context);
|
|
4334
3210
|
});
|
|
4335
3211
|
return retVal;
|
|
4336
3212
|
};
|
|
4337
3213
|
const de_ModelManifestSummary = (output, context) => {
|
|
4338
|
-
return {
|
|
4339
|
-
arn:
|
|
4340
|
-
creationTime:
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
: undefined,
|
|
4347
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4348
|
-
signalCatalogArn: (0, smithy_client_1.expectString)(output.signalCatalogArn),
|
|
4349
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
4350
|
-
};
|
|
4351
|
-
};
|
|
4352
|
-
const de_NetworkInterface = (output, context) => {
|
|
4353
|
-
return {
|
|
4354
|
-
canInterface: output.canInterface != null ? de_CanInterface(output.canInterface, context) : undefined,
|
|
4355
|
-
interfaceId: (0, smithy_client_1.expectString)(output.interfaceId),
|
|
4356
|
-
obdInterface: output.obdInterface != null ? de_ObdInterface(output.obdInterface, context) : undefined,
|
|
4357
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
4358
|
-
};
|
|
4359
|
-
};
|
|
4360
|
-
const de_NetworkInterfaces = (output, context) => {
|
|
4361
|
-
const retVal = (output || [])
|
|
4362
|
-
.filter((e) => e != null)
|
|
4363
|
-
.map((entry) => {
|
|
4364
|
-
if (entry === null) {
|
|
4365
|
-
return null;
|
|
4366
|
-
}
|
|
4367
|
-
return de_NetworkInterface(entry, context);
|
|
3214
|
+
return (0, smithy_client_1.take)(output, {
|
|
3215
|
+
arn: smithy_client_1.expectString,
|
|
3216
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3217
|
+
description: smithy_client_1.expectString,
|
|
3218
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3219
|
+
name: smithy_client_1.expectString,
|
|
3220
|
+
signalCatalogArn: smithy_client_1.expectString,
|
|
3221
|
+
status: smithy_client_1.expectString,
|
|
4368
3222
|
});
|
|
4369
|
-
return retVal;
|
|
4370
3223
|
};
|
|
4371
3224
|
const de_Node = (output, context) => {
|
|
4372
3225
|
if (output.actuator != null) {
|
|
@@ -4381,7 +3234,7 @@ const de_Node = (output, context) => {
|
|
|
4381
3234
|
}
|
|
4382
3235
|
if (output.branch != null) {
|
|
4383
3236
|
return {
|
|
4384
|
-
branch:
|
|
3237
|
+
branch: (0, smithy_client_1._json)(output.branch),
|
|
4385
3238
|
};
|
|
4386
3239
|
}
|
|
4387
3240
|
if (output.sensor != null) {
|
|
@@ -4391,346 +3244,97 @@ const de_Node = (output, context) => {
|
|
|
4391
3244
|
}
|
|
4392
3245
|
return { $unknown: Object.entries(output)[0] };
|
|
4393
3246
|
};
|
|
4394
|
-
const de_NodeCounts = (output, context) => {
|
|
4395
|
-
return {
|
|
4396
|
-
totalActuators: (0, smithy_client_1.expectInt32)(output.totalActuators),
|
|
4397
|
-
totalAttributes: (0, smithy_client_1.expectInt32)(output.totalAttributes),
|
|
4398
|
-
totalBranches: (0, smithy_client_1.expectInt32)(output.totalBranches),
|
|
4399
|
-
totalNodes: (0, smithy_client_1.expectInt32)(output.totalNodes),
|
|
4400
|
-
totalSensors: (0, smithy_client_1.expectInt32)(output.totalSensors),
|
|
4401
|
-
};
|
|
4402
|
-
};
|
|
4403
3247
|
const de_Nodes = (output, context) => {
|
|
4404
3248
|
const retVal = (output || [])
|
|
4405
3249
|
.filter((e) => e != null)
|
|
4406
3250
|
.map((entry) => {
|
|
4407
|
-
if (entry === null) {
|
|
4408
|
-
return null;
|
|
4409
|
-
}
|
|
4410
3251
|
return de_Node((0, smithy_client_1.expectUnion)(entry), context);
|
|
4411
3252
|
});
|
|
4412
3253
|
return retVal;
|
|
4413
3254
|
};
|
|
4414
|
-
const de_ObdInterface = (output, context) => {
|
|
4415
|
-
return {
|
|
4416
|
-
dtcRequestIntervalSeconds: (0, smithy_client_1.expectInt32)(output.dtcRequestIntervalSeconds),
|
|
4417
|
-
hasTransmissionEcu: (0, smithy_client_1.expectBoolean)(output.hasTransmissionEcu),
|
|
4418
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4419
|
-
obdStandard: (0, smithy_client_1.expectString)(output.obdStandard),
|
|
4420
|
-
pidRequestIntervalSeconds: (0, smithy_client_1.expectInt32)(output.pidRequestIntervalSeconds),
|
|
4421
|
-
requestMessageId: (0, smithy_client_1.expectInt32)(output.requestMessageId),
|
|
4422
|
-
useExtendedIds: (0, smithy_client_1.expectBoolean)(output.useExtendedIds),
|
|
4423
|
-
};
|
|
4424
|
-
};
|
|
4425
3255
|
const de_ObdSignal = (output, context) => {
|
|
4426
|
-
return {
|
|
4427
|
-
bitMaskLength:
|
|
4428
|
-
bitRightShift:
|
|
4429
|
-
byteLength:
|
|
4430
|
-
offset:
|
|
4431
|
-
pid:
|
|
4432
|
-
pidResponseLength:
|
|
4433
|
-
scaling:
|
|
4434
|
-
serviceMode:
|
|
4435
|
-
startByte:
|
|
4436
|
-
};
|
|
4437
|
-
};
|
|
4438
|
-
const de_PutLoggingOptionsResponse = (output, context) => {
|
|
4439
|
-
return {};
|
|
3256
|
+
return (0, smithy_client_1.take)(output, {
|
|
3257
|
+
bitMaskLength: smithy_client_1.expectInt32,
|
|
3258
|
+
bitRightShift: smithy_client_1.expectInt32,
|
|
3259
|
+
byteLength: smithy_client_1.expectInt32,
|
|
3260
|
+
offset: smithy_client_1.limitedParseDouble,
|
|
3261
|
+
pid: smithy_client_1.expectInt32,
|
|
3262
|
+
pidResponseLength: smithy_client_1.expectInt32,
|
|
3263
|
+
scaling: smithy_client_1.limitedParseDouble,
|
|
3264
|
+
serviceMode: smithy_client_1.expectInt32,
|
|
3265
|
+
startByte: smithy_client_1.expectInt32,
|
|
3266
|
+
});
|
|
4440
3267
|
};
|
|
4441
3268
|
const de_RegisterAccountResponse = (output, context) => {
|
|
4442
|
-
return {
|
|
4443
|
-
creationTime:
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
: undefined,
|
|
4450
|
-
registerAccountStatus: (0, smithy_client_1.expectString)(output.registerAccountStatus),
|
|
4451
|
-
timestreamResources: output.timestreamResources != null ? de_TimestreamResources(output.timestreamResources, context) : undefined,
|
|
4452
|
-
};
|
|
4453
|
-
};
|
|
4454
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
4455
|
-
return {
|
|
4456
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4457
|
-
resourceId: (0, smithy_client_1.expectString)(output.resourceId),
|
|
4458
|
-
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
4459
|
-
};
|
|
3269
|
+
return (0, smithy_client_1.take)(output, {
|
|
3270
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3271
|
+
iamResources: smithy_client_1._json,
|
|
3272
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3273
|
+
registerAccountStatus: smithy_client_1.expectString,
|
|
3274
|
+
timestreamResources: smithy_client_1._json,
|
|
3275
|
+
});
|
|
4460
3276
|
};
|
|
4461
3277
|
const de_Sensor = (output, context) => {
|
|
4462
|
-
return {
|
|
4463
|
-
allowedValues:
|
|
4464
|
-
dataType:
|
|
4465
|
-
description:
|
|
4466
|
-
fullyQualifiedName:
|
|
4467
|
-
max:
|
|
4468
|
-
min:
|
|
4469
|
-
unit:
|
|
4470
|
-
};
|
|
3278
|
+
return (0, smithy_client_1.take)(output, {
|
|
3279
|
+
allowedValues: smithy_client_1._json,
|
|
3280
|
+
dataType: smithy_client_1.expectString,
|
|
3281
|
+
description: smithy_client_1.expectString,
|
|
3282
|
+
fullyQualifiedName: smithy_client_1.expectString,
|
|
3283
|
+
max: smithy_client_1.limitedParseDouble,
|
|
3284
|
+
min: smithy_client_1.limitedParseDouble,
|
|
3285
|
+
unit: smithy_client_1.expectString,
|
|
3286
|
+
});
|
|
4471
3287
|
};
|
|
4472
3288
|
const de_signalCatalogSummaries = (output, context) => {
|
|
4473
3289
|
const retVal = (output || [])
|
|
4474
3290
|
.filter((e) => e != null)
|
|
4475
3291
|
.map((entry) => {
|
|
4476
|
-
if (entry === null) {
|
|
4477
|
-
return null;
|
|
4478
|
-
}
|
|
4479
3292
|
return de_SignalCatalogSummary(entry, context);
|
|
4480
3293
|
});
|
|
4481
3294
|
return retVal;
|
|
4482
3295
|
};
|
|
4483
3296
|
const de_SignalCatalogSummary = (output, context) => {
|
|
4484
|
-
return {
|
|
4485
|
-
arn:
|
|
4486
|
-
creationTime:
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModificationTime)))
|
|
4491
|
-
: undefined,
|
|
4492
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4493
|
-
};
|
|
3297
|
+
return (0, smithy_client_1.take)(output, {
|
|
3298
|
+
arn: smithy_client_1.expectString,
|
|
3299
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3300
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3301
|
+
name: smithy_client_1.expectString,
|
|
3302
|
+
});
|
|
4494
3303
|
};
|
|
4495
3304
|
const de_SignalDecoder = (output, context) => {
|
|
4496
|
-
return {
|
|
4497
|
-
canSignal:
|
|
4498
|
-
fullyQualifiedName:
|
|
4499
|
-
interfaceId:
|
|
4500
|
-
obdSignal:
|
|
4501
|
-
type:
|
|
4502
|
-
};
|
|
3305
|
+
return (0, smithy_client_1.take)(output, {
|
|
3306
|
+
canSignal: (_) => de_CanSignal(_, context),
|
|
3307
|
+
fullyQualifiedName: smithy_client_1.expectString,
|
|
3308
|
+
interfaceId: smithy_client_1.expectString,
|
|
3309
|
+
obdSignal: (_) => de_ObdSignal(_, context),
|
|
3310
|
+
type: smithy_client_1.expectString,
|
|
3311
|
+
});
|
|
4503
3312
|
};
|
|
4504
3313
|
const de_SignalDecoders = (output, context) => {
|
|
4505
3314
|
const retVal = (output || [])
|
|
4506
3315
|
.filter((e) => e != null)
|
|
4507
3316
|
.map((entry) => {
|
|
4508
|
-
if (entry === null) {
|
|
4509
|
-
return null;
|
|
4510
|
-
}
|
|
4511
3317
|
return de_SignalDecoder(entry, context);
|
|
4512
3318
|
});
|
|
4513
3319
|
return retVal;
|
|
4514
3320
|
};
|
|
4515
|
-
const de_SignalInformation = (output, context) => {
|
|
4516
|
-
return {
|
|
4517
|
-
maxSampleCount: (0, smithy_client_1.expectLong)(output.maxSampleCount),
|
|
4518
|
-
minimumSamplingIntervalMs: (0, smithy_client_1.expectLong)(output.minimumSamplingIntervalMs),
|
|
4519
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4520
|
-
};
|
|
4521
|
-
};
|
|
4522
|
-
const de_SignalInformationList = (output, context) => {
|
|
4523
|
-
const retVal = (output || [])
|
|
4524
|
-
.filter((e) => e != null)
|
|
4525
|
-
.map((entry) => {
|
|
4526
|
-
if (entry === null) {
|
|
4527
|
-
return null;
|
|
4528
|
-
}
|
|
4529
|
-
return de_SignalInformation(entry, context);
|
|
4530
|
-
});
|
|
4531
|
-
return retVal;
|
|
4532
|
-
};
|
|
4533
|
-
const de_Tag = (output, context) => {
|
|
4534
|
-
return {
|
|
4535
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
4536
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
4537
|
-
};
|
|
4538
|
-
};
|
|
4539
|
-
const de_TagList = (output, context) => {
|
|
4540
|
-
const retVal = (output || [])
|
|
4541
|
-
.filter((e) => e != null)
|
|
4542
|
-
.map((entry) => {
|
|
4543
|
-
if (entry === null) {
|
|
4544
|
-
return null;
|
|
4545
|
-
}
|
|
4546
|
-
return de_Tag(entry, context);
|
|
4547
|
-
});
|
|
4548
|
-
return retVal;
|
|
4549
|
-
};
|
|
4550
|
-
const de_TagResourceResponse = (output, context) => {
|
|
4551
|
-
return {};
|
|
4552
|
-
};
|
|
4553
|
-
const de_ThrottlingException = (output, context) => {
|
|
4554
|
-
return {
|
|
4555
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4556
|
-
quotaCode: (0, smithy_client_1.expectString)(output.quotaCode),
|
|
4557
|
-
retryAfterSeconds: (0, smithy_client_1.expectInt32)(output.retryAfterSeconds),
|
|
4558
|
-
serviceCode: (0, smithy_client_1.expectString)(output.serviceCode),
|
|
4559
|
-
};
|
|
4560
|
-
};
|
|
4561
|
-
const de_TimeBasedCollectionScheme = (output, context) => {
|
|
4562
|
-
return {
|
|
4563
|
-
periodMs: (0, smithy_client_1.expectLong)(output.periodMs),
|
|
4564
|
-
};
|
|
4565
|
-
};
|
|
4566
|
-
const de_TimestreamRegistrationResponse = (output, context) => {
|
|
4567
|
-
return {
|
|
4568
|
-
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
4569
|
-
registrationStatus: (0, smithy_client_1.expectString)(output.registrationStatus),
|
|
4570
|
-
timestreamDatabaseArn: (0, smithy_client_1.expectString)(output.timestreamDatabaseArn),
|
|
4571
|
-
timestreamDatabaseName: (0, smithy_client_1.expectString)(output.timestreamDatabaseName),
|
|
4572
|
-
timestreamTableArn: (0, smithy_client_1.expectString)(output.timestreamTableArn),
|
|
4573
|
-
timestreamTableName: (0, smithy_client_1.expectString)(output.timestreamTableName),
|
|
4574
|
-
};
|
|
4575
|
-
};
|
|
4576
|
-
const de_TimestreamResources = (output, context) => {
|
|
4577
|
-
return {
|
|
4578
|
-
timestreamDatabaseName: (0, smithy_client_1.expectString)(output.timestreamDatabaseName),
|
|
4579
|
-
timestreamTableName: (0, smithy_client_1.expectString)(output.timestreamTableName),
|
|
4580
|
-
};
|
|
4581
|
-
};
|
|
4582
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
4583
|
-
return {};
|
|
4584
|
-
};
|
|
4585
|
-
const de_UpdateCampaignResponse = (output, context) => {
|
|
4586
|
-
return {
|
|
4587
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4588
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4589
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
4590
|
-
};
|
|
4591
|
-
};
|
|
4592
|
-
const de_UpdateDecoderManifestResponse = (output, context) => {
|
|
4593
|
-
return {
|
|
4594
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4595
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4596
|
-
};
|
|
4597
|
-
};
|
|
4598
|
-
const de_UpdateFleetResponse = (output, context) => {
|
|
4599
|
-
return {
|
|
4600
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4601
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
4602
|
-
};
|
|
4603
|
-
};
|
|
4604
|
-
const de_UpdateModelManifestResponse = (output, context) => {
|
|
4605
|
-
return {
|
|
4606
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4607
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4608
|
-
};
|
|
4609
|
-
};
|
|
4610
|
-
const de_UpdateSignalCatalogResponse = (output, context) => {
|
|
4611
|
-
return {
|
|
4612
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4613
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4614
|
-
};
|
|
4615
|
-
};
|
|
4616
|
-
const de_UpdateVehicleError = (output, context) => {
|
|
4617
|
-
return {
|
|
4618
|
-
code: (0, smithy_client_1.expectInt32)(output.code),
|
|
4619
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4620
|
-
vehicleName: (0, smithy_client_1.expectString)(output.vehicleName),
|
|
4621
|
-
};
|
|
4622
|
-
};
|
|
4623
|
-
const de_updateVehicleErrors = (output, context) => {
|
|
4624
|
-
const retVal = (output || [])
|
|
4625
|
-
.filter((e) => e != null)
|
|
4626
|
-
.map((entry) => {
|
|
4627
|
-
if (entry === null) {
|
|
4628
|
-
return null;
|
|
4629
|
-
}
|
|
4630
|
-
return de_UpdateVehicleError(entry, context);
|
|
4631
|
-
});
|
|
4632
|
-
return retVal;
|
|
4633
|
-
};
|
|
4634
|
-
const de_UpdateVehicleResponse = (output, context) => {
|
|
4635
|
-
return {
|
|
4636
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4637
|
-
vehicleName: (0, smithy_client_1.expectString)(output.vehicleName),
|
|
4638
|
-
};
|
|
4639
|
-
};
|
|
4640
|
-
const de_UpdateVehicleResponseItem = (output, context) => {
|
|
4641
|
-
return {
|
|
4642
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4643
|
-
vehicleName: (0, smithy_client_1.expectString)(output.vehicleName),
|
|
4644
|
-
};
|
|
4645
|
-
};
|
|
4646
|
-
const de_updateVehicleResponseItems = (output, context) => {
|
|
4647
|
-
const retVal = (output || [])
|
|
4648
|
-
.filter((e) => e != null)
|
|
4649
|
-
.map((entry) => {
|
|
4650
|
-
if (entry === null) {
|
|
4651
|
-
return null;
|
|
4652
|
-
}
|
|
4653
|
-
return de_UpdateVehicleResponseItem(entry, context);
|
|
4654
|
-
});
|
|
4655
|
-
return retVal;
|
|
4656
|
-
};
|
|
4657
|
-
const de_ValidationException = (output, context) => {
|
|
4658
|
-
return {
|
|
4659
|
-
fieldList: output.fieldList != null ? de_ValidationExceptionFieldList(output.fieldList, context) : undefined,
|
|
4660
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4661
|
-
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
4662
|
-
};
|
|
4663
|
-
};
|
|
4664
|
-
const de_ValidationExceptionField = (output, context) => {
|
|
4665
|
-
return {
|
|
4666
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4667
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4668
|
-
};
|
|
4669
|
-
};
|
|
4670
|
-
const de_ValidationExceptionFieldList = (output, context) => {
|
|
4671
|
-
const retVal = (output || [])
|
|
4672
|
-
.filter((e) => e != null)
|
|
4673
|
-
.map((entry) => {
|
|
4674
|
-
if (entry === null) {
|
|
4675
|
-
return null;
|
|
4676
|
-
}
|
|
4677
|
-
return de_ValidationExceptionField(entry, context);
|
|
4678
|
-
});
|
|
4679
|
-
return retVal;
|
|
4680
|
-
};
|
|
4681
|
-
const de_vehicles = (output, context) => {
|
|
4682
|
-
const retVal = (output || [])
|
|
4683
|
-
.filter((e) => e != null)
|
|
4684
|
-
.map((entry) => {
|
|
4685
|
-
if (entry === null) {
|
|
4686
|
-
return null;
|
|
4687
|
-
}
|
|
4688
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4689
|
-
});
|
|
4690
|
-
return retVal;
|
|
4691
|
-
};
|
|
4692
|
-
const de_VehicleStatus = (output, context) => {
|
|
4693
|
-
return {
|
|
4694
|
-
campaignName: (0, smithy_client_1.expectString)(output.campaignName),
|
|
4695
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
4696
|
-
vehicleName: (0, smithy_client_1.expectString)(output.vehicleName),
|
|
4697
|
-
};
|
|
4698
|
-
};
|
|
4699
|
-
const de_VehicleStatusList = (output, context) => {
|
|
4700
|
-
const retVal = (output || [])
|
|
4701
|
-
.filter((e) => e != null)
|
|
4702
|
-
.map((entry) => {
|
|
4703
|
-
if (entry === null) {
|
|
4704
|
-
return null;
|
|
4705
|
-
}
|
|
4706
|
-
return de_VehicleStatus(entry, context);
|
|
4707
|
-
});
|
|
4708
|
-
return retVal;
|
|
4709
|
-
};
|
|
4710
3321
|
const de_vehicleSummaries = (output, context) => {
|
|
4711
3322
|
const retVal = (output || [])
|
|
4712
3323
|
.filter((e) => e != null)
|
|
4713
3324
|
.map((entry) => {
|
|
4714
|
-
if (entry === null) {
|
|
4715
|
-
return null;
|
|
4716
|
-
}
|
|
4717
3325
|
return de_VehicleSummary(entry, context);
|
|
4718
3326
|
});
|
|
4719
3327
|
return retVal;
|
|
4720
3328
|
};
|
|
4721
3329
|
const de_VehicleSummary = (output, context) => {
|
|
4722
|
-
return {
|
|
4723
|
-
arn:
|
|
4724
|
-
creationTime:
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
: undefined,
|
|
4731
|
-
modelManifestArn: (0, smithy_client_1.expectString)(output.modelManifestArn),
|
|
4732
|
-
vehicleName: (0, smithy_client_1.expectString)(output.vehicleName),
|
|
4733
|
-
};
|
|
3330
|
+
return (0, smithy_client_1.take)(output, {
|
|
3331
|
+
arn: smithy_client_1.expectString,
|
|
3332
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3333
|
+
decoderManifestArn: smithy_client_1.expectString,
|
|
3334
|
+
lastModificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3335
|
+
modelManifestArn: smithy_client_1.expectString,
|
|
3336
|
+
vehicleName: smithy_client_1.expectString,
|
|
3337
|
+
});
|
|
4734
3338
|
};
|
|
4735
3339
|
const deserializeMetadata = (output) => ({
|
|
4736
3340
|
httpStatusCode: output.statusCode,
|
|
@@ -4745,6 +3349,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
4745
3349
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4746
3350
|
};
|
|
4747
3351
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3352
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(IoTFleetWiseServiceException_1.IoTFleetWiseServiceException);
|
|
4748
3353
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
4749
3354
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4750
3355
|
const contents = {
|
|
@@ -4763,6 +3368,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
4763
3368
|
}
|
|
4764
3369
|
return new protocol_http_1.HttpRequest(contents);
|
|
4765
3370
|
};
|
|
3371
|
+
function sharedHeaders(operation) {
|
|
3372
|
+
return {
|
|
3373
|
+
"content-type": "application/x-amz-json-1.0",
|
|
3374
|
+
"x-amz-target": `IoTAutobahnControlPlane.${operation}`,
|
|
3375
|
+
};
|
|
3376
|
+
}
|
|
4766
3377
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4767
3378
|
if (encoded.length) {
|
|
4768
3379
|
return JSON.parse(encoded);
|