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