@aws-sdk/client-iotthingsgraph 3.312.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/IoTThingsGraph.js +39 -490
- package/dist-cjs/protocols/Aws_json1_1.js +269 -839
- package/dist-es/IoTThingsGraph.js +39 -490
- package/dist-es/protocols/Aws_json1_1.js +270 -840
- package/dist-types/IoTThingsGraph.d.ts +48 -227
- package/dist-types/ts3.4/IoTThingsGraph.d.ts +4 -1
- package/package.json +6 -6
|
@@ -9,168 +9,168 @@ const models_0_1 = require("../models/models_0");
|
|
|
9
9
|
const se_AssociateEntityToThingCommand = async (input, context) => {
|
|
10
10
|
const headers = sharedHeaders("AssociateEntityToThing");
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
13
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
14
|
};
|
|
15
15
|
exports.se_AssociateEntityToThingCommand = se_AssociateEntityToThingCommand;
|
|
16
16
|
const se_CreateFlowTemplateCommand = async (input, context) => {
|
|
17
17
|
const headers = sharedHeaders("CreateFlowTemplate");
|
|
18
18
|
let body;
|
|
19
|
-
body = JSON.stringify(
|
|
19
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
20
20
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
21
21
|
};
|
|
22
22
|
exports.se_CreateFlowTemplateCommand = se_CreateFlowTemplateCommand;
|
|
23
23
|
const se_CreateSystemInstanceCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CreateSystemInstance");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
exports.se_CreateSystemInstanceCommand = se_CreateSystemInstanceCommand;
|
|
30
30
|
const se_CreateSystemTemplateCommand = async (input, context) => {
|
|
31
31
|
const headers = sharedHeaders("CreateSystemTemplate");
|
|
32
32
|
let body;
|
|
33
|
-
body = JSON.stringify(
|
|
33
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
34
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
35
|
};
|
|
36
36
|
exports.se_CreateSystemTemplateCommand = se_CreateSystemTemplateCommand;
|
|
37
37
|
const se_DeleteFlowTemplateCommand = async (input, context) => {
|
|
38
38
|
const headers = sharedHeaders("DeleteFlowTemplate");
|
|
39
39
|
let body;
|
|
40
|
-
body = JSON.stringify(
|
|
40
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
41
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
42
|
};
|
|
43
43
|
exports.se_DeleteFlowTemplateCommand = se_DeleteFlowTemplateCommand;
|
|
44
44
|
const se_DeleteNamespaceCommand = async (input, context) => {
|
|
45
45
|
const headers = sharedHeaders("DeleteNamespace");
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
50
|
exports.se_DeleteNamespaceCommand = se_DeleteNamespaceCommand;
|
|
51
51
|
const se_DeleteSystemInstanceCommand = async (input, context) => {
|
|
52
52
|
const headers = sharedHeaders("DeleteSystemInstance");
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
55
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
56
|
};
|
|
57
57
|
exports.se_DeleteSystemInstanceCommand = se_DeleteSystemInstanceCommand;
|
|
58
58
|
const se_DeleteSystemTemplateCommand = async (input, context) => {
|
|
59
59
|
const headers = sharedHeaders("DeleteSystemTemplate");
|
|
60
60
|
let body;
|
|
61
|
-
body = JSON.stringify(
|
|
61
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
62
62
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
63
63
|
};
|
|
64
64
|
exports.se_DeleteSystemTemplateCommand = se_DeleteSystemTemplateCommand;
|
|
65
65
|
const se_DeploySystemInstanceCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("DeploySystemInstance");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
exports.se_DeploySystemInstanceCommand = se_DeploySystemInstanceCommand;
|
|
72
72
|
const se_DeprecateFlowTemplateCommand = async (input, context) => {
|
|
73
73
|
const headers = sharedHeaders("DeprecateFlowTemplate");
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
78
|
exports.se_DeprecateFlowTemplateCommand = se_DeprecateFlowTemplateCommand;
|
|
79
79
|
const se_DeprecateSystemTemplateCommand = async (input, context) => {
|
|
80
80
|
const headers = sharedHeaders("DeprecateSystemTemplate");
|
|
81
81
|
let body;
|
|
82
|
-
body = JSON.stringify(
|
|
82
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
83
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
84
|
};
|
|
85
85
|
exports.se_DeprecateSystemTemplateCommand = se_DeprecateSystemTemplateCommand;
|
|
86
86
|
const se_DescribeNamespaceCommand = async (input, context) => {
|
|
87
87
|
const headers = sharedHeaders("DescribeNamespace");
|
|
88
88
|
let body;
|
|
89
|
-
body = JSON.stringify(
|
|
89
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
90
90
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
91
91
|
};
|
|
92
92
|
exports.se_DescribeNamespaceCommand = se_DescribeNamespaceCommand;
|
|
93
93
|
const se_DissociateEntityFromThingCommand = async (input, context) => {
|
|
94
94
|
const headers = sharedHeaders("DissociateEntityFromThing");
|
|
95
95
|
let body;
|
|
96
|
-
body = JSON.stringify(
|
|
96
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
97
97
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
98
|
};
|
|
99
99
|
exports.se_DissociateEntityFromThingCommand = se_DissociateEntityFromThingCommand;
|
|
100
100
|
const se_GetEntitiesCommand = async (input, context) => {
|
|
101
101
|
const headers = sharedHeaders("GetEntities");
|
|
102
102
|
let body;
|
|
103
|
-
body = JSON.stringify(
|
|
103
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
104
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
105
105
|
};
|
|
106
106
|
exports.se_GetEntitiesCommand = se_GetEntitiesCommand;
|
|
107
107
|
const se_GetFlowTemplateCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("GetFlowTemplate");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
exports.se_GetFlowTemplateCommand = se_GetFlowTemplateCommand;
|
|
114
114
|
const se_GetFlowTemplateRevisionsCommand = async (input, context) => {
|
|
115
115
|
const headers = sharedHeaders("GetFlowTemplateRevisions");
|
|
116
116
|
let body;
|
|
117
|
-
body = JSON.stringify(
|
|
117
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
118
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
119
|
};
|
|
120
120
|
exports.se_GetFlowTemplateRevisionsCommand = se_GetFlowTemplateRevisionsCommand;
|
|
121
121
|
const se_GetNamespaceDeletionStatusCommand = async (input, context) => {
|
|
122
122
|
const headers = sharedHeaders("GetNamespaceDeletionStatus");
|
|
123
123
|
let body;
|
|
124
|
-
body = JSON.stringify(
|
|
124
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
125
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
126
|
};
|
|
127
127
|
exports.se_GetNamespaceDeletionStatusCommand = se_GetNamespaceDeletionStatusCommand;
|
|
128
128
|
const se_GetSystemInstanceCommand = async (input, context) => {
|
|
129
129
|
const headers = sharedHeaders("GetSystemInstance");
|
|
130
130
|
let body;
|
|
131
|
-
body = JSON.stringify(
|
|
131
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
132
132
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
133
133
|
};
|
|
134
134
|
exports.se_GetSystemInstanceCommand = se_GetSystemInstanceCommand;
|
|
135
135
|
const se_GetSystemTemplateCommand = async (input, context) => {
|
|
136
136
|
const headers = sharedHeaders("GetSystemTemplate");
|
|
137
137
|
let body;
|
|
138
|
-
body = JSON.stringify(
|
|
138
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
139
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
140
|
};
|
|
141
141
|
exports.se_GetSystemTemplateCommand = se_GetSystemTemplateCommand;
|
|
142
142
|
const se_GetSystemTemplateRevisionsCommand = async (input, context) => {
|
|
143
143
|
const headers = sharedHeaders("GetSystemTemplateRevisions");
|
|
144
144
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
146
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
147
|
};
|
|
148
148
|
exports.se_GetSystemTemplateRevisionsCommand = se_GetSystemTemplateRevisionsCommand;
|
|
149
149
|
const se_GetUploadStatusCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("GetUploadStatus");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
exports.se_GetUploadStatusCommand = se_GetUploadStatusCommand;
|
|
156
156
|
const se_ListFlowExecutionMessagesCommand = async (input, context) => {
|
|
157
157
|
const headers = sharedHeaders("ListFlowExecutionMessages");
|
|
158
158
|
let body;
|
|
159
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
160
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
161
|
};
|
|
162
162
|
exports.se_ListFlowExecutionMessagesCommand = se_ListFlowExecutionMessagesCommand;
|
|
163
163
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
164
164
|
const headers = sharedHeaders("ListTagsForResource");
|
|
165
165
|
let body;
|
|
166
|
-
body = JSON.stringify(
|
|
166
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
167
167
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
168
|
};
|
|
169
169
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
170
170
|
const se_SearchEntitiesCommand = async (input, context) => {
|
|
171
171
|
const headers = sharedHeaders("SearchEntities");
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
176
|
exports.se_SearchEntitiesCommand = se_SearchEntitiesCommand;
|
|
@@ -184,70 +184,70 @@ exports.se_SearchFlowExecutionsCommand = se_SearchFlowExecutionsCommand;
|
|
|
184
184
|
const se_SearchFlowTemplatesCommand = async (input, context) => {
|
|
185
185
|
const headers = sharedHeaders("SearchFlowTemplates");
|
|
186
186
|
let body;
|
|
187
|
-
body = JSON.stringify(
|
|
187
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
188
188
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
189
189
|
};
|
|
190
190
|
exports.se_SearchFlowTemplatesCommand = se_SearchFlowTemplatesCommand;
|
|
191
191
|
const se_SearchSystemInstancesCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("SearchSystemInstances");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
exports.se_SearchSystemInstancesCommand = se_SearchSystemInstancesCommand;
|
|
198
198
|
const se_SearchSystemTemplatesCommand = async (input, context) => {
|
|
199
199
|
const headers = sharedHeaders("SearchSystemTemplates");
|
|
200
200
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
204
|
exports.se_SearchSystemTemplatesCommand = se_SearchSystemTemplatesCommand;
|
|
205
205
|
const se_SearchThingsCommand = async (input, context) => {
|
|
206
206
|
const headers = sharedHeaders("SearchThings");
|
|
207
207
|
let body;
|
|
208
|
-
body = JSON.stringify(
|
|
208
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
209
209
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
210
|
};
|
|
211
211
|
exports.se_SearchThingsCommand = se_SearchThingsCommand;
|
|
212
212
|
const se_TagResourceCommand = async (input, context) => {
|
|
213
213
|
const headers = sharedHeaders("TagResource");
|
|
214
214
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
218
218
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
219
219
|
const se_UndeploySystemInstanceCommand = async (input, context) => {
|
|
220
220
|
const headers = sharedHeaders("UndeploySystemInstance");
|
|
221
221
|
let body;
|
|
222
|
-
body = JSON.stringify(
|
|
222
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
223
223
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
224
224
|
};
|
|
225
225
|
exports.se_UndeploySystemInstanceCommand = se_UndeploySystemInstanceCommand;
|
|
226
226
|
const se_UntagResourceCommand = async (input, context) => {
|
|
227
227
|
const headers = sharedHeaders("UntagResource");
|
|
228
228
|
let body;
|
|
229
|
-
body = JSON.stringify(
|
|
229
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
230
230
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
231
231
|
};
|
|
232
232
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
233
233
|
const se_UpdateFlowTemplateCommand = async (input, context) => {
|
|
234
234
|
const headers = sharedHeaders("UpdateFlowTemplate");
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
239
|
exports.se_UpdateFlowTemplateCommand = se_UpdateFlowTemplateCommand;
|
|
240
240
|
const se_UpdateSystemTemplateCommand = async (input, context) => {
|
|
241
241
|
const headers = sharedHeaders("UpdateSystemTemplate");
|
|
242
242
|
let body;
|
|
243
|
-
body = JSON.stringify(
|
|
243
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
244
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
245
|
};
|
|
246
246
|
exports.se_UpdateSystemTemplateCommand = se_UpdateSystemTemplateCommand;
|
|
247
247
|
const se_UploadEntityDefinitionsCommand = async (input, context) => {
|
|
248
248
|
const headers = sharedHeaders("UploadEntityDefinitions");
|
|
249
249
|
let body;
|
|
250
|
-
body = JSON.stringify(
|
|
250
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
251
251
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
252
|
};
|
|
253
253
|
exports.se_UploadEntityDefinitionsCommand = se_UploadEntityDefinitionsCommand;
|
|
@@ -257,12 +257,12 @@ const de_AssociateEntityToThingCommand = async (output, context) => {
|
|
|
257
257
|
}
|
|
258
258
|
const data = await parseBody(output.body, context);
|
|
259
259
|
let contents = {};
|
|
260
|
-
contents =
|
|
260
|
+
contents = (0, smithy_client_1._json)(data);
|
|
261
261
|
const response = {
|
|
262
262
|
$metadata: deserializeMetadata(output),
|
|
263
263
|
...contents,
|
|
264
264
|
};
|
|
265
|
-
return
|
|
265
|
+
return response;
|
|
266
266
|
};
|
|
267
267
|
exports.de_AssociateEntityToThingCommand = de_AssociateEntityToThingCommand;
|
|
268
268
|
const de_AssociateEntityToThingCommandError = async (output, context) => {
|
|
@@ -286,10 +286,9 @@ const de_AssociateEntityToThingCommandError = async (output, context) => {
|
|
|
286
286
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
287
287
|
default:
|
|
288
288
|
const parsedBody = parsedOutput.body;
|
|
289
|
-
|
|
289
|
+
return throwDefaultError({
|
|
290
290
|
output,
|
|
291
291
|
parsedBody,
|
|
292
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
293
292
|
errorCode,
|
|
294
293
|
});
|
|
295
294
|
}
|
|
@@ -305,7 +304,7 @@ const de_CreateFlowTemplateCommand = async (output, context) => {
|
|
|
305
304
|
$metadata: deserializeMetadata(output),
|
|
306
305
|
...contents,
|
|
307
306
|
};
|
|
308
|
-
return
|
|
307
|
+
return response;
|
|
309
308
|
};
|
|
310
309
|
exports.de_CreateFlowTemplateCommand = de_CreateFlowTemplateCommand;
|
|
311
310
|
const de_CreateFlowTemplateCommandError = async (output, context) => {
|
|
@@ -332,10 +331,9 @@ const de_CreateFlowTemplateCommandError = async (output, context) => {
|
|
|
332
331
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
333
332
|
default:
|
|
334
333
|
const parsedBody = parsedOutput.body;
|
|
335
|
-
|
|
334
|
+
return throwDefaultError({
|
|
336
335
|
output,
|
|
337
336
|
parsedBody,
|
|
338
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
339
337
|
errorCode,
|
|
340
338
|
});
|
|
341
339
|
}
|
|
@@ -351,7 +349,7 @@ const de_CreateSystemInstanceCommand = async (output, context) => {
|
|
|
351
349
|
$metadata: deserializeMetadata(output),
|
|
352
350
|
...contents,
|
|
353
351
|
};
|
|
354
|
-
return
|
|
352
|
+
return response;
|
|
355
353
|
};
|
|
356
354
|
exports.de_CreateSystemInstanceCommand = de_CreateSystemInstanceCommand;
|
|
357
355
|
const de_CreateSystemInstanceCommandError = async (output, context) => {
|
|
@@ -378,10 +376,9 @@ const de_CreateSystemInstanceCommandError = async (output, context) => {
|
|
|
378
376
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
379
377
|
default:
|
|
380
378
|
const parsedBody = parsedOutput.body;
|
|
381
|
-
|
|
379
|
+
return throwDefaultError({
|
|
382
380
|
output,
|
|
383
381
|
parsedBody,
|
|
384
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
385
382
|
errorCode,
|
|
386
383
|
});
|
|
387
384
|
}
|
|
@@ -397,7 +394,7 @@ const de_CreateSystemTemplateCommand = async (output, context) => {
|
|
|
397
394
|
$metadata: deserializeMetadata(output),
|
|
398
395
|
...contents,
|
|
399
396
|
};
|
|
400
|
-
return
|
|
397
|
+
return response;
|
|
401
398
|
};
|
|
402
399
|
exports.de_CreateSystemTemplateCommand = de_CreateSystemTemplateCommand;
|
|
403
400
|
const de_CreateSystemTemplateCommandError = async (output, context) => {
|
|
@@ -421,10 +418,9 @@ const de_CreateSystemTemplateCommandError = async (output, context) => {
|
|
|
421
418
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
422
419
|
default:
|
|
423
420
|
const parsedBody = parsedOutput.body;
|
|
424
|
-
|
|
421
|
+
return throwDefaultError({
|
|
425
422
|
output,
|
|
426
423
|
parsedBody,
|
|
427
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
428
424
|
errorCode,
|
|
429
425
|
});
|
|
430
426
|
}
|
|
@@ -435,12 +431,12 @@ const de_DeleteFlowTemplateCommand = async (output, context) => {
|
|
|
435
431
|
}
|
|
436
432
|
const data = await parseBody(output.body, context);
|
|
437
433
|
let contents = {};
|
|
438
|
-
contents =
|
|
434
|
+
contents = (0, smithy_client_1._json)(data);
|
|
439
435
|
const response = {
|
|
440
436
|
$metadata: deserializeMetadata(output),
|
|
441
437
|
...contents,
|
|
442
438
|
};
|
|
443
|
-
return
|
|
439
|
+
return response;
|
|
444
440
|
};
|
|
445
441
|
exports.de_DeleteFlowTemplateCommand = de_DeleteFlowTemplateCommand;
|
|
446
442
|
const de_DeleteFlowTemplateCommandError = async (output, context) => {
|
|
@@ -464,10 +460,9 @@ const de_DeleteFlowTemplateCommandError = async (output, context) => {
|
|
|
464
460
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
465
461
|
default:
|
|
466
462
|
const parsedBody = parsedOutput.body;
|
|
467
|
-
|
|
463
|
+
return throwDefaultError({
|
|
468
464
|
output,
|
|
469
465
|
parsedBody,
|
|
470
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
471
466
|
errorCode,
|
|
472
467
|
});
|
|
473
468
|
}
|
|
@@ -478,12 +473,12 @@ const de_DeleteNamespaceCommand = async (output, context) => {
|
|
|
478
473
|
}
|
|
479
474
|
const data = await parseBody(output.body, context);
|
|
480
475
|
let contents = {};
|
|
481
|
-
contents =
|
|
476
|
+
contents = (0, smithy_client_1._json)(data);
|
|
482
477
|
const response = {
|
|
483
478
|
$metadata: deserializeMetadata(output),
|
|
484
479
|
...contents,
|
|
485
480
|
};
|
|
486
|
-
return
|
|
481
|
+
return response;
|
|
487
482
|
};
|
|
488
483
|
exports.de_DeleteNamespaceCommand = de_DeleteNamespaceCommand;
|
|
489
484
|
const de_DeleteNamespaceCommandError = async (output, context) => {
|
|
@@ -501,10 +496,9 @@ const de_DeleteNamespaceCommandError = async (output, context) => {
|
|
|
501
496
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
502
497
|
default:
|
|
503
498
|
const parsedBody = parsedOutput.body;
|
|
504
|
-
|
|
499
|
+
return throwDefaultError({
|
|
505
500
|
output,
|
|
506
501
|
parsedBody,
|
|
507
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
508
502
|
errorCode,
|
|
509
503
|
});
|
|
510
504
|
}
|
|
@@ -515,12 +509,12 @@ const de_DeleteSystemInstanceCommand = async (output, context) => {
|
|
|
515
509
|
}
|
|
516
510
|
const data = await parseBody(output.body, context);
|
|
517
511
|
let contents = {};
|
|
518
|
-
contents =
|
|
512
|
+
contents = (0, smithy_client_1._json)(data);
|
|
519
513
|
const response = {
|
|
520
514
|
$metadata: deserializeMetadata(output),
|
|
521
515
|
...contents,
|
|
522
516
|
};
|
|
523
|
-
return
|
|
517
|
+
return response;
|
|
524
518
|
};
|
|
525
519
|
exports.de_DeleteSystemInstanceCommand = de_DeleteSystemInstanceCommand;
|
|
526
520
|
const de_DeleteSystemInstanceCommandError = async (output, context) => {
|
|
@@ -544,10 +538,9 @@ const de_DeleteSystemInstanceCommandError = async (output, context) => {
|
|
|
544
538
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
545
539
|
default:
|
|
546
540
|
const parsedBody = parsedOutput.body;
|
|
547
|
-
|
|
541
|
+
return throwDefaultError({
|
|
548
542
|
output,
|
|
549
543
|
parsedBody,
|
|
550
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
551
544
|
errorCode,
|
|
552
545
|
});
|
|
553
546
|
}
|
|
@@ -558,12 +551,12 @@ const de_DeleteSystemTemplateCommand = async (output, context) => {
|
|
|
558
551
|
}
|
|
559
552
|
const data = await parseBody(output.body, context);
|
|
560
553
|
let contents = {};
|
|
561
|
-
contents =
|
|
554
|
+
contents = (0, smithy_client_1._json)(data);
|
|
562
555
|
const response = {
|
|
563
556
|
$metadata: deserializeMetadata(output),
|
|
564
557
|
...contents,
|
|
565
558
|
};
|
|
566
|
-
return
|
|
559
|
+
return response;
|
|
567
560
|
};
|
|
568
561
|
exports.de_DeleteSystemTemplateCommand = de_DeleteSystemTemplateCommand;
|
|
569
562
|
const de_DeleteSystemTemplateCommandError = async (output, context) => {
|
|
@@ -587,10 +580,9 @@ const de_DeleteSystemTemplateCommandError = async (output, context) => {
|
|
|
587
580
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
588
581
|
default:
|
|
589
582
|
const parsedBody = parsedOutput.body;
|
|
590
|
-
|
|
583
|
+
return throwDefaultError({
|
|
591
584
|
output,
|
|
592
585
|
parsedBody,
|
|
593
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
594
586
|
errorCode,
|
|
595
587
|
});
|
|
596
588
|
}
|
|
@@ -606,7 +598,7 @@ const de_DeploySystemInstanceCommand = async (output, context) => {
|
|
|
606
598
|
$metadata: deserializeMetadata(output),
|
|
607
599
|
...contents,
|
|
608
600
|
};
|
|
609
|
-
return
|
|
601
|
+
return response;
|
|
610
602
|
};
|
|
611
603
|
exports.de_DeploySystemInstanceCommand = de_DeploySystemInstanceCommand;
|
|
612
604
|
const de_DeploySystemInstanceCommandError = async (output, context) => {
|
|
@@ -633,10 +625,9 @@ const de_DeploySystemInstanceCommandError = async (output, context) => {
|
|
|
633
625
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
634
626
|
default:
|
|
635
627
|
const parsedBody = parsedOutput.body;
|
|
636
|
-
|
|
628
|
+
return throwDefaultError({
|
|
637
629
|
output,
|
|
638
630
|
parsedBody,
|
|
639
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
640
631
|
errorCode,
|
|
641
632
|
});
|
|
642
633
|
}
|
|
@@ -647,12 +638,12 @@ const de_DeprecateFlowTemplateCommand = async (output, context) => {
|
|
|
647
638
|
}
|
|
648
639
|
const data = await parseBody(output.body, context);
|
|
649
640
|
let contents = {};
|
|
650
|
-
contents =
|
|
641
|
+
contents = (0, smithy_client_1._json)(data);
|
|
651
642
|
const response = {
|
|
652
643
|
$metadata: deserializeMetadata(output),
|
|
653
644
|
...contents,
|
|
654
645
|
};
|
|
655
|
-
return
|
|
646
|
+
return response;
|
|
656
647
|
};
|
|
657
648
|
exports.de_DeprecateFlowTemplateCommand = de_DeprecateFlowTemplateCommand;
|
|
658
649
|
const de_DeprecateFlowTemplateCommandError = async (output, context) => {
|
|
@@ -676,10 +667,9 @@ const de_DeprecateFlowTemplateCommandError = async (output, context) => {
|
|
|
676
667
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
677
668
|
default:
|
|
678
669
|
const parsedBody = parsedOutput.body;
|
|
679
|
-
|
|
670
|
+
return throwDefaultError({
|
|
680
671
|
output,
|
|
681
672
|
parsedBody,
|
|
682
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
683
673
|
errorCode,
|
|
684
674
|
});
|
|
685
675
|
}
|
|
@@ -690,12 +680,12 @@ const de_DeprecateSystemTemplateCommand = async (output, context) => {
|
|
|
690
680
|
}
|
|
691
681
|
const data = await parseBody(output.body, context);
|
|
692
682
|
let contents = {};
|
|
693
|
-
contents =
|
|
683
|
+
contents = (0, smithy_client_1._json)(data);
|
|
694
684
|
const response = {
|
|
695
685
|
$metadata: deserializeMetadata(output),
|
|
696
686
|
...contents,
|
|
697
687
|
};
|
|
698
|
-
return
|
|
688
|
+
return response;
|
|
699
689
|
};
|
|
700
690
|
exports.de_DeprecateSystemTemplateCommand = de_DeprecateSystemTemplateCommand;
|
|
701
691
|
const de_DeprecateSystemTemplateCommandError = async (output, context) => {
|
|
@@ -719,10 +709,9 @@ const de_DeprecateSystemTemplateCommandError = async (output, context) => {
|
|
|
719
709
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
720
710
|
default:
|
|
721
711
|
const parsedBody = parsedOutput.body;
|
|
722
|
-
|
|
712
|
+
return throwDefaultError({
|
|
723
713
|
output,
|
|
724
714
|
parsedBody,
|
|
725
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
726
715
|
errorCode,
|
|
727
716
|
});
|
|
728
717
|
}
|
|
@@ -733,12 +722,12 @@ const de_DescribeNamespaceCommand = async (output, context) => {
|
|
|
733
722
|
}
|
|
734
723
|
const data = await parseBody(output.body, context);
|
|
735
724
|
let contents = {};
|
|
736
|
-
contents =
|
|
725
|
+
contents = (0, smithy_client_1._json)(data);
|
|
737
726
|
const response = {
|
|
738
727
|
$metadata: deserializeMetadata(output),
|
|
739
728
|
...contents,
|
|
740
729
|
};
|
|
741
|
-
return
|
|
730
|
+
return response;
|
|
742
731
|
};
|
|
743
732
|
exports.de_DescribeNamespaceCommand = de_DescribeNamespaceCommand;
|
|
744
733
|
const de_DescribeNamespaceCommandError = async (output, context) => {
|
|
@@ -762,10 +751,9 @@ const de_DescribeNamespaceCommandError = async (output, context) => {
|
|
|
762
751
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
763
752
|
default:
|
|
764
753
|
const parsedBody = parsedOutput.body;
|
|
765
|
-
|
|
754
|
+
return throwDefaultError({
|
|
766
755
|
output,
|
|
767
756
|
parsedBody,
|
|
768
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
769
757
|
errorCode,
|
|
770
758
|
});
|
|
771
759
|
}
|
|
@@ -776,12 +764,12 @@ const de_DissociateEntityFromThingCommand = async (output, context) => {
|
|
|
776
764
|
}
|
|
777
765
|
const data = await parseBody(output.body, context);
|
|
778
766
|
let contents = {};
|
|
779
|
-
contents =
|
|
767
|
+
contents = (0, smithy_client_1._json)(data);
|
|
780
768
|
const response = {
|
|
781
769
|
$metadata: deserializeMetadata(output),
|
|
782
770
|
...contents,
|
|
783
771
|
};
|
|
784
|
-
return
|
|
772
|
+
return response;
|
|
785
773
|
};
|
|
786
774
|
exports.de_DissociateEntityFromThingCommand = de_DissociateEntityFromThingCommand;
|
|
787
775
|
const de_DissociateEntityFromThingCommandError = async (output, context) => {
|
|
@@ -805,10 +793,9 @@ const de_DissociateEntityFromThingCommandError = async (output, context) => {
|
|
|
805
793
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
806
794
|
default:
|
|
807
795
|
const parsedBody = parsedOutput.body;
|
|
808
|
-
|
|
796
|
+
return throwDefaultError({
|
|
809
797
|
output,
|
|
810
798
|
parsedBody,
|
|
811
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
812
799
|
errorCode,
|
|
813
800
|
});
|
|
814
801
|
}
|
|
@@ -824,7 +811,7 @@ const de_GetEntitiesCommand = async (output, context) => {
|
|
|
824
811
|
$metadata: deserializeMetadata(output),
|
|
825
812
|
...contents,
|
|
826
813
|
};
|
|
827
|
-
return
|
|
814
|
+
return response;
|
|
828
815
|
};
|
|
829
816
|
exports.de_GetEntitiesCommand = de_GetEntitiesCommand;
|
|
830
817
|
const de_GetEntitiesCommandError = async (output, context) => {
|
|
@@ -848,10 +835,9 @@ const de_GetEntitiesCommandError = async (output, context) => {
|
|
|
848
835
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
849
836
|
default:
|
|
850
837
|
const parsedBody = parsedOutput.body;
|
|
851
|
-
|
|
838
|
+
return throwDefaultError({
|
|
852
839
|
output,
|
|
853
840
|
parsedBody,
|
|
854
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
855
841
|
errorCode,
|
|
856
842
|
});
|
|
857
843
|
}
|
|
@@ -867,7 +853,7 @@ const de_GetFlowTemplateCommand = async (output, context) => {
|
|
|
867
853
|
$metadata: deserializeMetadata(output),
|
|
868
854
|
...contents,
|
|
869
855
|
};
|
|
870
|
-
return
|
|
856
|
+
return response;
|
|
871
857
|
};
|
|
872
858
|
exports.de_GetFlowTemplateCommand = de_GetFlowTemplateCommand;
|
|
873
859
|
const de_GetFlowTemplateCommandError = async (output, context) => {
|
|
@@ -891,10 +877,9 @@ const de_GetFlowTemplateCommandError = async (output, context) => {
|
|
|
891
877
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
892
878
|
default:
|
|
893
879
|
const parsedBody = parsedOutput.body;
|
|
894
|
-
|
|
880
|
+
return throwDefaultError({
|
|
895
881
|
output,
|
|
896
882
|
parsedBody,
|
|
897
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
898
883
|
errorCode,
|
|
899
884
|
});
|
|
900
885
|
}
|
|
@@ -910,7 +895,7 @@ const de_GetFlowTemplateRevisionsCommand = async (output, context) => {
|
|
|
910
895
|
$metadata: deserializeMetadata(output),
|
|
911
896
|
...contents,
|
|
912
897
|
};
|
|
913
|
-
return
|
|
898
|
+
return response;
|
|
914
899
|
};
|
|
915
900
|
exports.de_GetFlowTemplateRevisionsCommand = de_GetFlowTemplateRevisionsCommand;
|
|
916
901
|
const de_GetFlowTemplateRevisionsCommandError = async (output, context) => {
|
|
@@ -934,10 +919,9 @@ const de_GetFlowTemplateRevisionsCommandError = async (output, context) => {
|
|
|
934
919
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
935
920
|
default:
|
|
936
921
|
const parsedBody = parsedOutput.body;
|
|
937
|
-
|
|
922
|
+
return throwDefaultError({
|
|
938
923
|
output,
|
|
939
924
|
parsedBody,
|
|
940
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
941
925
|
errorCode,
|
|
942
926
|
});
|
|
943
927
|
}
|
|
@@ -948,12 +932,12 @@ const de_GetNamespaceDeletionStatusCommand = async (output, context) => {
|
|
|
948
932
|
}
|
|
949
933
|
const data = await parseBody(output.body, context);
|
|
950
934
|
let contents = {};
|
|
951
|
-
contents =
|
|
935
|
+
contents = (0, smithy_client_1._json)(data);
|
|
952
936
|
const response = {
|
|
953
937
|
$metadata: deserializeMetadata(output),
|
|
954
938
|
...contents,
|
|
955
939
|
};
|
|
956
|
-
return
|
|
940
|
+
return response;
|
|
957
941
|
};
|
|
958
942
|
exports.de_GetNamespaceDeletionStatusCommand = de_GetNamespaceDeletionStatusCommand;
|
|
959
943
|
const de_GetNamespaceDeletionStatusCommandError = async (output, context) => {
|
|
@@ -974,10 +958,9 @@ const de_GetNamespaceDeletionStatusCommandError = async (output, context) => {
|
|
|
974
958
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
975
959
|
default:
|
|
976
960
|
const parsedBody = parsedOutput.body;
|
|
977
|
-
|
|
961
|
+
return throwDefaultError({
|
|
978
962
|
output,
|
|
979
963
|
parsedBody,
|
|
980
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
981
964
|
errorCode,
|
|
982
965
|
});
|
|
983
966
|
}
|
|
@@ -993,7 +976,7 @@ const de_GetSystemInstanceCommand = async (output, context) => {
|
|
|
993
976
|
$metadata: deserializeMetadata(output),
|
|
994
977
|
...contents,
|
|
995
978
|
};
|
|
996
|
-
return
|
|
979
|
+
return response;
|
|
997
980
|
};
|
|
998
981
|
exports.de_GetSystemInstanceCommand = de_GetSystemInstanceCommand;
|
|
999
982
|
const de_GetSystemInstanceCommandError = async (output, context) => {
|
|
@@ -1017,10 +1000,9 @@ const de_GetSystemInstanceCommandError = async (output, context) => {
|
|
|
1017
1000
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1018
1001
|
default:
|
|
1019
1002
|
const parsedBody = parsedOutput.body;
|
|
1020
|
-
|
|
1003
|
+
return throwDefaultError({
|
|
1021
1004
|
output,
|
|
1022
1005
|
parsedBody,
|
|
1023
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1024
1006
|
errorCode,
|
|
1025
1007
|
});
|
|
1026
1008
|
}
|
|
@@ -1036,7 +1018,7 @@ const de_GetSystemTemplateCommand = async (output, context) => {
|
|
|
1036
1018
|
$metadata: deserializeMetadata(output),
|
|
1037
1019
|
...contents,
|
|
1038
1020
|
};
|
|
1039
|
-
return
|
|
1021
|
+
return response;
|
|
1040
1022
|
};
|
|
1041
1023
|
exports.de_GetSystemTemplateCommand = de_GetSystemTemplateCommand;
|
|
1042
1024
|
const de_GetSystemTemplateCommandError = async (output, context) => {
|
|
@@ -1060,10 +1042,9 @@ const de_GetSystemTemplateCommandError = async (output, context) => {
|
|
|
1060
1042
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1061
1043
|
default:
|
|
1062
1044
|
const parsedBody = parsedOutput.body;
|
|
1063
|
-
|
|
1045
|
+
return throwDefaultError({
|
|
1064
1046
|
output,
|
|
1065
1047
|
parsedBody,
|
|
1066
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1067
1048
|
errorCode,
|
|
1068
1049
|
});
|
|
1069
1050
|
}
|
|
@@ -1079,7 +1060,7 @@ const de_GetSystemTemplateRevisionsCommand = async (output, context) => {
|
|
|
1079
1060
|
$metadata: deserializeMetadata(output),
|
|
1080
1061
|
...contents,
|
|
1081
1062
|
};
|
|
1082
|
-
return
|
|
1063
|
+
return response;
|
|
1083
1064
|
};
|
|
1084
1065
|
exports.de_GetSystemTemplateRevisionsCommand = de_GetSystemTemplateRevisionsCommand;
|
|
1085
1066
|
const de_GetSystemTemplateRevisionsCommandError = async (output, context) => {
|
|
@@ -1103,10 +1084,9 @@ const de_GetSystemTemplateRevisionsCommandError = async (output, context) => {
|
|
|
1103
1084
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1104
1085
|
default:
|
|
1105
1086
|
const parsedBody = parsedOutput.body;
|
|
1106
|
-
|
|
1087
|
+
return throwDefaultError({
|
|
1107
1088
|
output,
|
|
1108
1089
|
parsedBody,
|
|
1109
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1110
1090
|
errorCode,
|
|
1111
1091
|
});
|
|
1112
1092
|
}
|
|
@@ -1122,7 +1102,7 @@ const de_GetUploadStatusCommand = async (output, context) => {
|
|
|
1122
1102
|
$metadata: deserializeMetadata(output),
|
|
1123
1103
|
...contents,
|
|
1124
1104
|
};
|
|
1125
|
-
return
|
|
1105
|
+
return response;
|
|
1126
1106
|
};
|
|
1127
1107
|
exports.de_GetUploadStatusCommand = de_GetUploadStatusCommand;
|
|
1128
1108
|
const de_GetUploadStatusCommandError = async (output, context) => {
|
|
@@ -1146,10 +1126,9 @@ const de_GetUploadStatusCommandError = async (output, context) => {
|
|
|
1146
1126
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1147
1127
|
default:
|
|
1148
1128
|
const parsedBody = parsedOutput.body;
|
|
1149
|
-
|
|
1129
|
+
return throwDefaultError({
|
|
1150
1130
|
output,
|
|
1151
1131
|
parsedBody,
|
|
1152
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1153
1132
|
errorCode,
|
|
1154
1133
|
});
|
|
1155
1134
|
}
|
|
@@ -1165,7 +1144,7 @@ const de_ListFlowExecutionMessagesCommand = async (output, context) => {
|
|
|
1165
1144
|
$metadata: deserializeMetadata(output),
|
|
1166
1145
|
...contents,
|
|
1167
1146
|
};
|
|
1168
|
-
return
|
|
1147
|
+
return response;
|
|
1169
1148
|
};
|
|
1170
1149
|
exports.de_ListFlowExecutionMessagesCommand = de_ListFlowExecutionMessagesCommand;
|
|
1171
1150
|
const de_ListFlowExecutionMessagesCommandError = async (output, context) => {
|
|
@@ -1189,10 +1168,9 @@ const de_ListFlowExecutionMessagesCommandError = async (output, context) => {
|
|
|
1189
1168
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1190
1169
|
default:
|
|
1191
1170
|
const parsedBody = parsedOutput.body;
|
|
1192
|
-
|
|
1171
|
+
return throwDefaultError({
|
|
1193
1172
|
output,
|
|
1194
1173
|
parsedBody,
|
|
1195
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1196
1174
|
errorCode,
|
|
1197
1175
|
});
|
|
1198
1176
|
}
|
|
@@ -1203,12 +1181,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1203
1181
|
}
|
|
1204
1182
|
const data = await parseBody(output.body, context);
|
|
1205
1183
|
let contents = {};
|
|
1206
|
-
contents =
|
|
1184
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1207
1185
|
const response = {
|
|
1208
1186
|
$metadata: deserializeMetadata(output),
|
|
1209
1187
|
...contents,
|
|
1210
1188
|
};
|
|
1211
|
-
return
|
|
1189
|
+
return response;
|
|
1212
1190
|
};
|
|
1213
1191
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1214
1192
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -1232,10 +1210,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1232
1210
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1233
1211
|
default:
|
|
1234
1212
|
const parsedBody = parsedOutput.body;
|
|
1235
|
-
|
|
1213
|
+
return throwDefaultError({
|
|
1236
1214
|
output,
|
|
1237
1215
|
parsedBody,
|
|
1238
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1239
1216
|
errorCode,
|
|
1240
1217
|
});
|
|
1241
1218
|
}
|
|
@@ -1251,7 +1228,7 @@ const de_SearchEntitiesCommand = async (output, context) => {
|
|
|
1251
1228
|
$metadata: deserializeMetadata(output),
|
|
1252
1229
|
...contents,
|
|
1253
1230
|
};
|
|
1254
|
-
return
|
|
1231
|
+
return response;
|
|
1255
1232
|
};
|
|
1256
1233
|
exports.de_SearchEntitiesCommand = de_SearchEntitiesCommand;
|
|
1257
1234
|
const de_SearchEntitiesCommandError = async (output, context) => {
|
|
@@ -1272,10 +1249,9 @@ const de_SearchEntitiesCommandError = async (output, context) => {
|
|
|
1272
1249
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1273
1250
|
default:
|
|
1274
1251
|
const parsedBody = parsedOutput.body;
|
|
1275
|
-
|
|
1252
|
+
return throwDefaultError({
|
|
1276
1253
|
output,
|
|
1277
1254
|
parsedBody,
|
|
1278
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1279
1255
|
errorCode,
|
|
1280
1256
|
});
|
|
1281
1257
|
}
|
|
@@ -1291,7 +1267,7 @@ const de_SearchFlowExecutionsCommand = async (output, context) => {
|
|
|
1291
1267
|
$metadata: deserializeMetadata(output),
|
|
1292
1268
|
...contents,
|
|
1293
1269
|
};
|
|
1294
|
-
return
|
|
1270
|
+
return response;
|
|
1295
1271
|
};
|
|
1296
1272
|
exports.de_SearchFlowExecutionsCommand = de_SearchFlowExecutionsCommand;
|
|
1297
1273
|
const de_SearchFlowExecutionsCommandError = async (output, context) => {
|
|
@@ -1315,10 +1291,9 @@ const de_SearchFlowExecutionsCommandError = async (output, context) => {
|
|
|
1315
1291
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1316
1292
|
default:
|
|
1317
1293
|
const parsedBody = parsedOutput.body;
|
|
1318
|
-
|
|
1294
|
+
return throwDefaultError({
|
|
1319
1295
|
output,
|
|
1320
1296
|
parsedBody,
|
|
1321
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1322
1297
|
errorCode,
|
|
1323
1298
|
});
|
|
1324
1299
|
}
|
|
@@ -1334,7 +1309,7 @@ const de_SearchFlowTemplatesCommand = async (output, context) => {
|
|
|
1334
1309
|
$metadata: deserializeMetadata(output),
|
|
1335
1310
|
...contents,
|
|
1336
1311
|
};
|
|
1337
|
-
return
|
|
1312
|
+
return response;
|
|
1338
1313
|
};
|
|
1339
1314
|
exports.de_SearchFlowTemplatesCommand = de_SearchFlowTemplatesCommand;
|
|
1340
1315
|
const de_SearchFlowTemplatesCommandError = async (output, context) => {
|
|
@@ -1355,10 +1330,9 @@ const de_SearchFlowTemplatesCommandError = async (output, context) => {
|
|
|
1355
1330
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1356
1331
|
default:
|
|
1357
1332
|
const parsedBody = parsedOutput.body;
|
|
1358
|
-
|
|
1333
|
+
return throwDefaultError({
|
|
1359
1334
|
output,
|
|
1360
1335
|
parsedBody,
|
|
1361
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1362
1336
|
errorCode,
|
|
1363
1337
|
});
|
|
1364
1338
|
}
|
|
@@ -1374,7 +1348,7 @@ const de_SearchSystemInstancesCommand = async (output, context) => {
|
|
|
1374
1348
|
$metadata: deserializeMetadata(output),
|
|
1375
1349
|
...contents,
|
|
1376
1350
|
};
|
|
1377
|
-
return
|
|
1351
|
+
return response;
|
|
1378
1352
|
};
|
|
1379
1353
|
exports.de_SearchSystemInstancesCommand = de_SearchSystemInstancesCommand;
|
|
1380
1354
|
const de_SearchSystemInstancesCommandError = async (output, context) => {
|
|
@@ -1395,10 +1369,9 @@ const de_SearchSystemInstancesCommandError = async (output, context) => {
|
|
|
1395
1369
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1396
1370
|
default:
|
|
1397
1371
|
const parsedBody = parsedOutput.body;
|
|
1398
|
-
|
|
1372
|
+
return throwDefaultError({
|
|
1399
1373
|
output,
|
|
1400
1374
|
parsedBody,
|
|
1401
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1402
1375
|
errorCode,
|
|
1403
1376
|
});
|
|
1404
1377
|
}
|
|
@@ -1414,7 +1387,7 @@ const de_SearchSystemTemplatesCommand = async (output, context) => {
|
|
|
1414
1387
|
$metadata: deserializeMetadata(output),
|
|
1415
1388
|
...contents,
|
|
1416
1389
|
};
|
|
1417
|
-
return
|
|
1390
|
+
return response;
|
|
1418
1391
|
};
|
|
1419
1392
|
exports.de_SearchSystemTemplatesCommand = de_SearchSystemTemplatesCommand;
|
|
1420
1393
|
const de_SearchSystemTemplatesCommandError = async (output, context) => {
|
|
@@ -1435,10 +1408,9 @@ const de_SearchSystemTemplatesCommandError = async (output, context) => {
|
|
|
1435
1408
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1436
1409
|
default:
|
|
1437
1410
|
const parsedBody = parsedOutput.body;
|
|
1438
|
-
|
|
1411
|
+
return throwDefaultError({
|
|
1439
1412
|
output,
|
|
1440
1413
|
parsedBody,
|
|
1441
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1442
1414
|
errorCode,
|
|
1443
1415
|
});
|
|
1444
1416
|
}
|
|
@@ -1449,12 +1421,12 @@ const de_SearchThingsCommand = async (output, context) => {
|
|
|
1449
1421
|
}
|
|
1450
1422
|
const data = await parseBody(output.body, context);
|
|
1451
1423
|
let contents = {};
|
|
1452
|
-
contents =
|
|
1424
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1453
1425
|
const response = {
|
|
1454
1426
|
$metadata: deserializeMetadata(output),
|
|
1455
1427
|
...contents,
|
|
1456
1428
|
};
|
|
1457
|
-
return
|
|
1429
|
+
return response;
|
|
1458
1430
|
};
|
|
1459
1431
|
exports.de_SearchThingsCommand = de_SearchThingsCommand;
|
|
1460
1432
|
const de_SearchThingsCommandError = async (output, context) => {
|
|
@@ -1478,10 +1450,9 @@ const de_SearchThingsCommandError = async (output, context) => {
|
|
|
1478
1450
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1479
1451
|
default:
|
|
1480
1452
|
const parsedBody = parsedOutput.body;
|
|
1481
|
-
|
|
1453
|
+
return throwDefaultError({
|
|
1482
1454
|
output,
|
|
1483
1455
|
parsedBody,
|
|
1484
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1485
1456
|
errorCode,
|
|
1486
1457
|
});
|
|
1487
1458
|
}
|
|
@@ -1492,12 +1463,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1492
1463
|
}
|
|
1493
1464
|
const data = await parseBody(output.body, context);
|
|
1494
1465
|
let contents = {};
|
|
1495
|
-
contents =
|
|
1466
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1496
1467
|
const response = {
|
|
1497
1468
|
$metadata: deserializeMetadata(output),
|
|
1498
1469
|
...contents,
|
|
1499
1470
|
};
|
|
1500
|
-
return
|
|
1471
|
+
return response;
|
|
1501
1472
|
};
|
|
1502
1473
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1503
1474
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -1521,10 +1492,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1521
1492
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1522
1493
|
default:
|
|
1523
1494
|
const parsedBody = parsedOutput.body;
|
|
1524
|
-
|
|
1495
|
+
return throwDefaultError({
|
|
1525
1496
|
output,
|
|
1526
1497
|
parsedBody,
|
|
1527
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1528
1498
|
errorCode,
|
|
1529
1499
|
});
|
|
1530
1500
|
}
|
|
@@ -1540,7 +1510,7 @@ const de_UndeploySystemInstanceCommand = async (output, context) => {
|
|
|
1540
1510
|
$metadata: deserializeMetadata(output),
|
|
1541
1511
|
...contents,
|
|
1542
1512
|
};
|
|
1543
|
-
return
|
|
1513
|
+
return response;
|
|
1544
1514
|
};
|
|
1545
1515
|
exports.de_UndeploySystemInstanceCommand = de_UndeploySystemInstanceCommand;
|
|
1546
1516
|
const de_UndeploySystemInstanceCommandError = async (output, context) => {
|
|
@@ -1567,10 +1537,9 @@ const de_UndeploySystemInstanceCommandError = async (output, context) => {
|
|
|
1567
1537
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1568
1538
|
default:
|
|
1569
1539
|
const parsedBody = parsedOutput.body;
|
|
1570
|
-
|
|
1540
|
+
return throwDefaultError({
|
|
1571
1541
|
output,
|
|
1572
1542
|
parsedBody,
|
|
1573
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1574
1543
|
errorCode,
|
|
1575
1544
|
});
|
|
1576
1545
|
}
|
|
@@ -1581,12 +1550,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1581
1550
|
}
|
|
1582
1551
|
const data = await parseBody(output.body, context);
|
|
1583
1552
|
let contents = {};
|
|
1584
|
-
contents =
|
|
1553
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1585
1554
|
const response = {
|
|
1586
1555
|
$metadata: deserializeMetadata(output),
|
|
1587
1556
|
...contents,
|
|
1588
1557
|
};
|
|
1589
|
-
return
|
|
1558
|
+
return response;
|
|
1590
1559
|
};
|
|
1591
1560
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1592
1561
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -1610,10 +1579,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1610
1579
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1611
1580
|
default:
|
|
1612
1581
|
const parsedBody = parsedOutput.body;
|
|
1613
|
-
|
|
1582
|
+
return throwDefaultError({
|
|
1614
1583
|
output,
|
|
1615
1584
|
parsedBody,
|
|
1616
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1617
1585
|
errorCode,
|
|
1618
1586
|
});
|
|
1619
1587
|
}
|
|
@@ -1629,7 +1597,7 @@ const de_UpdateFlowTemplateCommand = async (output, context) => {
|
|
|
1629
1597
|
$metadata: deserializeMetadata(output),
|
|
1630
1598
|
...contents,
|
|
1631
1599
|
};
|
|
1632
|
-
return
|
|
1600
|
+
return response;
|
|
1633
1601
|
};
|
|
1634
1602
|
exports.de_UpdateFlowTemplateCommand = de_UpdateFlowTemplateCommand;
|
|
1635
1603
|
const de_UpdateFlowTemplateCommandError = async (output, context) => {
|
|
@@ -1653,10 +1621,9 @@ const de_UpdateFlowTemplateCommandError = async (output, context) => {
|
|
|
1653
1621
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1654
1622
|
default:
|
|
1655
1623
|
const parsedBody = parsedOutput.body;
|
|
1656
|
-
|
|
1624
|
+
return throwDefaultError({
|
|
1657
1625
|
output,
|
|
1658
1626
|
parsedBody,
|
|
1659
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1660
1627
|
errorCode,
|
|
1661
1628
|
});
|
|
1662
1629
|
}
|
|
@@ -1672,7 +1639,7 @@ const de_UpdateSystemTemplateCommand = async (output, context) => {
|
|
|
1672
1639
|
$metadata: deserializeMetadata(output),
|
|
1673
1640
|
...contents,
|
|
1674
1641
|
};
|
|
1675
|
-
return
|
|
1642
|
+
return response;
|
|
1676
1643
|
};
|
|
1677
1644
|
exports.de_UpdateSystemTemplateCommand = de_UpdateSystemTemplateCommand;
|
|
1678
1645
|
const de_UpdateSystemTemplateCommandError = async (output, context) => {
|
|
@@ -1696,10 +1663,9 @@ const de_UpdateSystemTemplateCommandError = async (output, context) => {
|
|
|
1696
1663
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1697
1664
|
default:
|
|
1698
1665
|
const parsedBody = parsedOutput.body;
|
|
1699
|
-
|
|
1666
|
+
return throwDefaultError({
|
|
1700
1667
|
output,
|
|
1701
1668
|
parsedBody,
|
|
1702
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1703
1669
|
errorCode,
|
|
1704
1670
|
});
|
|
1705
1671
|
}
|
|
@@ -1710,12 +1676,12 @@ const de_UploadEntityDefinitionsCommand = async (output, context) => {
|
|
|
1710
1676
|
}
|
|
1711
1677
|
const data = await parseBody(output.body, context);
|
|
1712
1678
|
let contents = {};
|
|
1713
|
-
contents =
|
|
1679
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1714
1680
|
const response = {
|
|
1715
1681
|
$metadata: deserializeMetadata(output),
|
|
1716
1682
|
...contents,
|
|
1717
1683
|
};
|
|
1718
|
-
return
|
|
1684
|
+
return response;
|
|
1719
1685
|
};
|
|
1720
1686
|
exports.de_UploadEntityDefinitionsCommand = de_UploadEntityDefinitionsCommand;
|
|
1721
1687
|
const de_UploadEntityDefinitionsCommandError = async (output, context) => {
|
|
@@ -1736,17 +1702,16 @@ const de_UploadEntityDefinitionsCommandError = async (output, context) => {
|
|
|
1736
1702
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1737
1703
|
default:
|
|
1738
1704
|
const parsedBody = parsedOutput.body;
|
|
1739
|
-
|
|
1705
|
+
return throwDefaultError({
|
|
1740
1706
|
output,
|
|
1741
1707
|
parsedBody,
|
|
1742
|
-
exceptionCtor: IoTThingsGraphServiceException_1.IoTThingsGraphServiceException,
|
|
1743
1708
|
errorCode,
|
|
1744
1709
|
});
|
|
1745
1710
|
}
|
|
1746
1711
|
};
|
|
1747
1712
|
const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
|
|
1748
1713
|
const body = parsedOutput.body;
|
|
1749
|
-
const deserialized =
|
|
1714
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1750
1715
|
const exception = new models_0_1.InternalFailureException({
|
|
1751
1716
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1752
1717
|
...deserialized,
|
|
@@ -1755,7 +1720,7 @@ const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
|
|
|
1755
1720
|
};
|
|
1756
1721
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1757
1722
|
const body = parsedOutput.body;
|
|
1758
|
-
const deserialized =
|
|
1723
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1759
1724
|
const exception = new models_0_1.InvalidRequestException({
|
|
1760
1725
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1761
1726
|
...deserialized,
|
|
@@ -1764,7 +1729,7 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
1764
1729
|
};
|
|
1765
1730
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1766
1731
|
const body = parsedOutput.body;
|
|
1767
|
-
const deserialized =
|
|
1732
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1768
1733
|
const exception = new models_0_1.LimitExceededException({
|
|
1769
1734
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1770
1735
|
...deserialized,
|
|
@@ -1773,7 +1738,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1773
1738
|
};
|
|
1774
1739
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1775
1740
|
const body = parsedOutput.body;
|
|
1776
|
-
const deserialized =
|
|
1741
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1777
1742
|
const exception = new models_0_1.ResourceAlreadyExistsException({
|
|
1778
1743
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1779
1744
|
...deserialized,
|
|
@@ -1782,7 +1747,7 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
1782
1747
|
};
|
|
1783
1748
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1784
1749
|
const body = parsedOutput.body;
|
|
1785
|
-
const deserialized =
|
|
1750
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1786
1751
|
const exception = new models_0_1.ResourceInUseException({
|
|
1787
1752
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1788
1753
|
...deserialized,
|
|
@@ -1791,7 +1756,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
1791
1756
|
};
|
|
1792
1757
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1793
1758
|
const body = parsedOutput.body;
|
|
1794
|
-
const deserialized =
|
|
1759
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1795
1760
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1796
1761
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1797
1762
|
...deserialized,
|
|
@@ -1800,475 +1765,73 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1800
1765
|
};
|
|
1801
1766
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1802
1767
|
const body = parsedOutput.body;
|
|
1803
|
-
const deserialized =
|
|
1768
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1804
1769
|
const exception = new models_0_1.ThrottlingException({
|
|
1805
1770
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1806
1771
|
...deserialized,
|
|
1807
1772
|
});
|
|
1808
1773
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1809
1774
|
};
|
|
1810
|
-
const se_AssociateEntityToThingRequest = (input, context) => {
|
|
1811
|
-
return {
|
|
1812
|
-
...(input.entityId != null && { entityId: input.entityId }),
|
|
1813
|
-
...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
|
|
1814
|
-
...(input.thingName != null && { thingName: input.thingName }),
|
|
1815
|
-
};
|
|
1816
|
-
};
|
|
1817
|
-
const se_CreateFlowTemplateRequest = (input, context) => {
|
|
1818
|
-
return {
|
|
1819
|
-
...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
|
|
1820
|
-
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
1821
|
-
};
|
|
1822
|
-
};
|
|
1823
|
-
const se_CreateSystemInstanceRequest = (input, context) => {
|
|
1824
|
-
return {
|
|
1825
|
-
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
1826
|
-
...(input.flowActionsRoleArn != null && { flowActionsRoleArn: input.flowActionsRoleArn }),
|
|
1827
|
-
...(input.greengrassGroupName != null && { greengrassGroupName: input.greengrassGroupName }),
|
|
1828
|
-
...(input.metricsConfiguration != null && {
|
|
1829
|
-
metricsConfiguration: se_MetricsConfiguration(input.metricsConfiguration, context),
|
|
1830
|
-
}),
|
|
1831
|
-
...(input.s3BucketName != null && { s3BucketName: input.s3BucketName }),
|
|
1832
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
1833
|
-
...(input.target != null && { target: input.target }),
|
|
1834
|
-
};
|
|
1835
|
-
};
|
|
1836
|
-
const se_CreateSystemTemplateRequest = (input, context) => {
|
|
1837
|
-
return {
|
|
1838
|
-
...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
|
|
1839
|
-
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
1840
|
-
};
|
|
1841
|
-
};
|
|
1842
|
-
const se_DefinitionDocument = (input, context) => {
|
|
1843
|
-
return {
|
|
1844
|
-
...(input.language != null && { language: input.language }),
|
|
1845
|
-
...(input.text != null && { text: input.text }),
|
|
1846
|
-
};
|
|
1847
|
-
};
|
|
1848
|
-
const se_DeleteFlowTemplateRequest = (input, context) => {
|
|
1849
|
-
return {
|
|
1850
|
-
...(input.id != null && { id: input.id }),
|
|
1851
|
-
};
|
|
1852
|
-
};
|
|
1853
|
-
const se_DeleteNamespaceRequest = (input, context) => {
|
|
1854
|
-
return {};
|
|
1855
|
-
};
|
|
1856
|
-
const se_DeleteSystemInstanceRequest = (input, context) => {
|
|
1857
|
-
return {
|
|
1858
|
-
...(input.id != null && { id: input.id }),
|
|
1859
|
-
};
|
|
1860
|
-
};
|
|
1861
|
-
const se_DeleteSystemTemplateRequest = (input, context) => {
|
|
1862
|
-
return {
|
|
1863
|
-
...(input.id != null && { id: input.id }),
|
|
1864
|
-
};
|
|
1865
|
-
};
|
|
1866
|
-
const se_DeploySystemInstanceRequest = (input, context) => {
|
|
1867
|
-
return {
|
|
1868
|
-
...(input.id != null && { id: input.id }),
|
|
1869
|
-
};
|
|
1870
|
-
};
|
|
1871
|
-
const se_DeprecateFlowTemplateRequest = (input, context) => {
|
|
1872
|
-
return {
|
|
1873
|
-
...(input.id != null && { id: input.id }),
|
|
1874
|
-
};
|
|
1875
|
-
};
|
|
1876
|
-
const se_DeprecateSystemTemplateRequest = (input, context) => {
|
|
1877
|
-
return {
|
|
1878
|
-
...(input.id != null && { id: input.id }),
|
|
1879
|
-
};
|
|
1880
|
-
};
|
|
1881
|
-
const se_DescribeNamespaceRequest = (input, context) => {
|
|
1882
|
-
return {
|
|
1883
|
-
...(input.namespaceName != null && { namespaceName: input.namespaceName }),
|
|
1884
|
-
};
|
|
1885
|
-
};
|
|
1886
|
-
const se_DissociateEntityFromThingRequest = (input, context) => {
|
|
1887
|
-
return {
|
|
1888
|
-
...(input.entityType != null && { entityType: input.entityType }),
|
|
1889
|
-
...(input.thingName != null && { thingName: input.thingName }),
|
|
1890
|
-
};
|
|
1891
|
-
};
|
|
1892
|
-
const se_EntityFilter = (input, context) => {
|
|
1893
|
-
return {
|
|
1894
|
-
...(input.name != null && { name: input.name }),
|
|
1895
|
-
...(input.value != null && { value: se_EntityFilterValues(input.value, context) }),
|
|
1896
|
-
};
|
|
1897
|
-
};
|
|
1898
|
-
const se_EntityFilters = (input, context) => {
|
|
1899
|
-
return input
|
|
1900
|
-
.filter((e) => e != null)
|
|
1901
|
-
.map((entry) => {
|
|
1902
|
-
return se_EntityFilter(entry, context);
|
|
1903
|
-
});
|
|
1904
|
-
};
|
|
1905
|
-
const se_EntityFilterValues = (input, context) => {
|
|
1906
|
-
return input
|
|
1907
|
-
.filter((e) => e != null)
|
|
1908
|
-
.map((entry) => {
|
|
1909
|
-
return entry;
|
|
1910
|
-
});
|
|
1911
|
-
};
|
|
1912
|
-
const se_EntityTypes = (input, context) => {
|
|
1913
|
-
return input
|
|
1914
|
-
.filter((e) => e != null)
|
|
1915
|
-
.map((entry) => {
|
|
1916
|
-
return entry;
|
|
1917
|
-
});
|
|
1918
|
-
};
|
|
1919
|
-
const se_FlowTemplateFilter = (input, context) => {
|
|
1920
|
-
return {
|
|
1921
|
-
...(input.name != null && { name: input.name }),
|
|
1922
|
-
...(input.value != null && { value: se_FlowTemplateFilterValues(input.value, context) }),
|
|
1923
|
-
};
|
|
1924
|
-
};
|
|
1925
|
-
const se_FlowTemplateFilters = (input, context) => {
|
|
1926
|
-
return input
|
|
1927
|
-
.filter((e) => e != null)
|
|
1928
|
-
.map((entry) => {
|
|
1929
|
-
return se_FlowTemplateFilter(entry, context);
|
|
1930
|
-
});
|
|
1931
|
-
};
|
|
1932
|
-
const se_FlowTemplateFilterValues = (input, context) => {
|
|
1933
|
-
return input
|
|
1934
|
-
.filter((e) => e != null)
|
|
1935
|
-
.map((entry) => {
|
|
1936
|
-
return entry;
|
|
1937
|
-
});
|
|
1938
|
-
};
|
|
1939
|
-
const se_GetEntitiesRequest = (input, context) => {
|
|
1940
|
-
return {
|
|
1941
|
-
...(input.ids != null && { ids: se_Urns(input.ids, context) }),
|
|
1942
|
-
...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
|
|
1943
|
-
};
|
|
1944
|
-
};
|
|
1945
|
-
const se_GetFlowTemplateRequest = (input, context) => {
|
|
1946
|
-
return {
|
|
1947
|
-
...(input.id != null && { id: input.id }),
|
|
1948
|
-
...(input.revisionNumber != null && { revisionNumber: input.revisionNumber }),
|
|
1949
|
-
};
|
|
1950
|
-
};
|
|
1951
|
-
const se_GetFlowTemplateRevisionsRequest = (input, context) => {
|
|
1952
|
-
return {
|
|
1953
|
-
...(input.id != null && { id: input.id }),
|
|
1954
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1955
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1956
|
-
};
|
|
1957
|
-
};
|
|
1958
|
-
const se_GetNamespaceDeletionStatusRequest = (input, context) => {
|
|
1959
|
-
return {};
|
|
1960
|
-
};
|
|
1961
|
-
const se_GetSystemInstanceRequest = (input, context) => {
|
|
1962
|
-
return {
|
|
1963
|
-
...(input.id != null && { id: input.id }),
|
|
1964
|
-
};
|
|
1965
|
-
};
|
|
1966
|
-
const se_GetSystemTemplateRequest = (input, context) => {
|
|
1967
|
-
return {
|
|
1968
|
-
...(input.id != null && { id: input.id }),
|
|
1969
|
-
...(input.revisionNumber != null && { revisionNumber: input.revisionNumber }),
|
|
1970
|
-
};
|
|
1971
|
-
};
|
|
1972
|
-
const se_GetSystemTemplateRevisionsRequest = (input, context) => {
|
|
1973
|
-
return {
|
|
1974
|
-
...(input.id != null && { id: input.id }),
|
|
1975
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1976
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1977
|
-
};
|
|
1978
|
-
};
|
|
1979
|
-
const se_GetUploadStatusRequest = (input, context) => {
|
|
1980
|
-
return {
|
|
1981
|
-
...(input.uploadId != null && { uploadId: input.uploadId }),
|
|
1982
|
-
};
|
|
1983
|
-
};
|
|
1984
|
-
const se_ListFlowExecutionMessagesRequest = (input, context) => {
|
|
1985
|
-
return {
|
|
1986
|
-
...(input.flowExecutionId != null && { flowExecutionId: input.flowExecutionId }),
|
|
1987
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1988
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1989
|
-
};
|
|
1990
|
-
};
|
|
1991
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
1992
|
-
return {
|
|
1993
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1994
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1995
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1996
|
-
};
|
|
1997
|
-
};
|
|
1998
|
-
const se_MetricsConfiguration = (input, context) => {
|
|
1999
|
-
return {
|
|
2000
|
-
...(input.cloudMetricEnabled != null && { cloudMetricEnabled: input.cloudMetricEnabled }),
|
|
2001
|
-
...(input.metricRuleRoleArn != null && { metricRuleRoleArn: input.metricRuleRoleArn }),
|
|
2002
|
-
};
|
|
2003
|
-
};
|
|
2004
|
-
const se_SearchEntitiesRequest = (input, context) => {
|
|
2005
|
-
return {
|
|
2006
|
-
...(input.entityTypes != null && { entityTypes: se_EntityTypes(input.entityTypes, context) }),
|
|
2007
|
-
...(input.filters != null && { filters: se_EntityFilters(input.filters, context) }),
|
|
2008
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2009
|
-
...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
|
|
2010
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2011
|
-
};
|
|
2012
|
-
};
|
|
2013
1775
|
const se_SearchFlowExecutionsRequest = (input, context) => {
|
|
2014
|
-
return {
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
};
|
|
2022
|
-
};
|
|
2023
|
-
const se_SearchFlowTemplatesRequest = (input, context) => {
|
|
2024
|
-
return {
|
|
2025
|
-
...(input.filters != null && { filters: se_FlowTemplateFilters(input.filters, context) }),
|
|
2026
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2027
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2028
|
-
};
|
|
2029
|
-
};
|
|
2030
|
-
const se_SearchSystemInstancesRequest = (input, context) => {
|
|
2031
|
-
return {
|
|
2032
|
-
...(input.filters != null && { filters: se_SystemInstanceFilters(input.filters, context) }),
|
|
2033
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2034
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2035
|
-
};
|
|
2036
|
-
};
|
|
2037
|
-
const se_SearchSystemTemplatesRequest = (input, context) => {
|
|
2038
|
-
return {
|
|
2039
|
-
...(input.filters != null && { filters: se_SystemTemplateFilters(input.filters, context) }),
|
|
2040
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2041
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2042
|
-
};
|
|
2043
|
-
};
|
|
2044
|
-
const se_SearchThingsRequest = (input, context) => {
|
|
2045
|
-
return {
|
|
2046
|
-
...(input.entityId != null && { entityId: input.entityId }),
|
|
2047
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2048
|
-
...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
|
|
2049
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2050
|
-
};
|
|
2051
|
-
};
|
|
2052
|
-
const se_SystemInstanceFilter = (input, context) => {
|
|
2053
|
-
return {
|
|
2054
|
-
...(input.name != null && { name: input.name }),
|
|
2055
|
-
...(input.value != null && { value: se_SystemInstanceFilterValues(input.value, context) }),
|
|
2056
|
-
};
|
|
2057
|
-
};
|
|
2058
|
-
const se_SystemInstanceFilters = (input, context) => {
|
|
2059
|
-
return input
|
|
2060
|
-
.filter((e) => e != null)
|
|
2061
|
-
.map((entry) => {
|
|
2062
|
-
return se_SystemInstanceFilter(entry, context);
|
|
2063
|
-
});
|
|
2064
|
-
};
|
|
2065
|
-
const se_SystemInstanceFilterValues = (input, context) => {
|
|
2066
|
-
return input
|
|
2067
|
-
.filter((e) => e != null)
|
|
2068
|
-
.map((entry) => {
|
|
2069
|
-
return entry;
|
|
2070
|
-
});
|
|
2071
|
-
};
|
|
2072
|
-
const se_SystemTemplateFilter = (input, context) => {
|
|
2073
|
-
return {
|
|
2074
|
-
...(input.name != null && { name: input.name }),
|
|
2075
|
-
...(input.value != null && { value: se_SystemTemplateFilterValues(input.value, context) }),
|
|
2076
|
-
};
|
|
2077
|
-
};
|
|
2078
|
-
const se_SystemTemplateFilters = (input, context) => {
|
|
2079
|
-
return input
|
|
2080
|
-
.filter((e) => e != null)
|
|
2081
|
-
.map((entry) => {
|
|
2082
|
-
return se_SystemTemplateFilter(entry, context);
|
|
2083
|
-
});
|
|
2084
|
-
};
|
|
2085
|
-
const se_SystemTemplateFilterValues = (input, context) => {
|
|
2086
|
-
return input
|
|
2087
|
-
.filter((e) => e != null)
|
|
2088
|
-
.map((entry) => {
|
|
2089
|
-
return entry;
|
|
2090
|
-
});
|
|
2091
|
-
};
|
|
2092
|
-
const se_Tag = (input, context) => {
|
|
2093
|
-
return {
|
|
2094
|
-
...(input.key != null && { key: input.key }),
|
|
2095
|
-
...(input.value != null && { value: input.value }),
|
|
2096
|
-
};
|
|
2097
|
-
};
|
|
2098
|
-
const se_TagKeyList = (input, context) => {
|
|
2099
|
-
return input
|
|
2100
|
-
.filter((e) => e != null)
|
|
2101
|
-
.map((entry) => {
|
|
2102
|
-
return entry;
|
|
2103
|
-
});
|
|
2104
|
-
};
|
|
2105
|
-
const se_TagList = (input, context) => {
|
|
2106
|
-
return input
|
|
2107
|
-
.filter((e) => e != null)
|
|
2108
|
-
.map((entry) => {
|
|
2109
|
-
return se_Tag(entry, context);
|
|
2110
|
-
});
|
|
2111
|
-
};
|
|
2112
|
-
const se_TagResourceRequest = (input, context) => {
|
|
2113
|
-
return {
|
|
2114
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2115
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2116
|
-
};
|
|
2117
|
-
};
|
|
2118
|
-
const se_UndeploySystemInstanceRequest = (input, context) => {
|
|
2119
|
-
return {
|
|
2120
|
-
...(input.id != null && { id: input.id }),
|
|
2121
|
-
};
|
|
2122
|
-
};
|
|
2123
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
2124
|
-
return {
|
|
2125
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2126
|
-
...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
|
|
2127
|
-
};
|
|
2128
|
-
};
|
|
2129
|
-
const se_UpdateFlowTemplateRequest = (input, context) => {
|
|
2130
|
-
return {
|
|
2131
|
-
...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
|
|
2132
|
-
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
2133
|
-
...(input.id != null && { id: input.id }),
|
|
2134
|
-
};
|
|
2135
|
-
};
|
|
2136
|
-
const se_UpdateSystemTemplateRequest = (input, context) => {
|
|
2137
|
-
return {
|
|
2138
|
-
...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
|
|
2139
|
-
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
2140
|
-
...(input.id != null && { id: input.id }),
|
|
2141
|
-
};
|
|
2142
|
-
};
|
|
2143
|
-
const se_UploadEntityDefinitionsRequest = (input, context) => {
|
|
2144
|
-
return {
|
|
2145
|
-
...(input.deprecateExistingEntities != null && { deprecateExistingEntities: input.deprecateExistingEntities }),
|
|
2146
|
-
...(input.document != null && { document: se_DefinitionDocument(input.document, context) }),
|
|
2147
|
-
...(input.syncWithPublicNamespace != null && { syncWithPublicNamespace: input.syncWithPublicNamespace }),
|
|
2148
|
-
};
|
|
2149
|
-
};
|
|
2150
|
-
const se_Urns = (input, context) => {
|
|
2151
|
-
return input
|
|
2152
|
-
.filter((e) => e != null)
|
|
2153
|
-
.map((entry) => {
|
|
2154
|
-
return entry;
|
|
1776
|
+
return (0, smithy_client_1.take)(input, {
|
|
1777
|
+
endTime: (_) => Math.round(_.getTime() / 1000),
|
|
1778
|
+
flowExecutionId: [],
|
|
1779
|
+
maxResults: [],
|
|
1780
|
+
nextToken: [],
|
|
1781
|
+
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
1782
|
+
systemInstanceId: [],
|
|
2155
1783
|
});
|
|
2156
1784
|
};
|
|
2157
|
-
const de_AssociateEntityToThingResponse = (output, context) => {
|
|
2158
|
-
return {};
|
|
2159
|
-
};
|
|
2160
1785
|
const de_CreateFlowTemplateResponse = (output, context) => {
|
|
2161
|
-
return {
|
|
2162
|
-
summary:
|
|
2163
|
-
};
|
|
1786
|
+
return (0, smithy_client_1.take)(output, {
|
|
1787
|
+
summary: (_) => de_FlowTemplateSummary(_, context),
|
|
1788
|
+
});
|
|
2164
1789
|
};
|
|
2165
1790
|
const de_CreateSystemInstanceResponse = (output, context) => {
|
|
2166
|
-
return {
|
|
2167
|
-
summary:
|
|
2168
|
-
};
|
|
1791
|
+
return (0, smithy_client_1.take)(output, {
|
|
1792
|
+
summary: (_) => de_SystemInstanceSummary(_, context),
|
|
1793
|
+
});
|
|
2169
1794
|
};
|
|
2170
1795
|
const de_CreateSystemTemplateResponse = (output, context) => {
|
|
2171
|
-
return {
|
|
2172
|
-
summary:
|
|
2173
|
-
};
|
|
2174
|
-
};
|
|
2175
|
-
const de_DefinitionDocument = (output, context) => {
|
|
2176
|
-
return {
|
|
2177
|
-
language: (0, smithy_client_1.expectString)(output.language),
|
|
2178
|
-
text: (0, smithy_client_1.expectString)(output.text),
|
|
2179
|
-
};
|
|
2180
|
-
};
|
|
2181
|
-
const de_DeleteFlowTemplateResponse = (output, context) => {
|
|
2182
|
-
return {};
|
|
2183
|
-
};
|
|
2184
|
-
const de_DeleteNamespaceResponse = (output, context) => {
|
|
2185
|
-
return {
|
|
2186
|
-
namespaceArn: (0, smithy_client_1.expectString)(output.namespaceArn),
|
|
2187
|
-
namespaceName: (0, smithy_client_1.expectString)(output.namespaceName),
|
|
2188
|
-
};
|
|
2189
|
-
};
|
|
2190
|
-
const de_DeleteSystemInstanceResponse = (output, context) => {
|
|
2191
|
-
return {};
|
|
2192
|
-
};
|
|
2193
|
-
const de_DeleteSystemTemplateResponse = (output, context) => {
|
|
2194
|
-
return {};
|
|
2195
|
-
};
|
|
2196
|
-
const de_DependencyRevision = (output, context) => {
|
|
2197
|
-
return {
|
|
2198
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
2199
|
-
revisionNumber: (0, smithy_client_1.expectLong)(output.revisionNumber),
|
|
2200
|
-
};
|
|
2201
|
-
};
|
|
2202
|
-
const de_DependencyRevisions = (output, context) => {
|
|
2203
|
-
const retVal = (output || [])
|
|
2204
|
-
.filter((e) => e != null)
|
|
2205
|
-
.map((entry) => {
|
|
2206
|
-
if (entry === null) {
|
|
2207
|
-
return null;
|
|
2208
|
-
}
|
|
2209
|
-
return de_DependencyRevision(entry, context);
|
|
1796
|
+
return (0, smithy_client_1.take)(output, {
|
|
1797
|
+
summary: (_) => de_SystemTemplateSummary(_, context),
|
|
2210
1798
|
});
|
|
2211
|
-
return retVal;
|
|
2212
1799
|
};
|
|
2213
1800
|
const de_DeploySystemInstanceResponse = (output, context) => {
|
|
2214
|
-
return {
|
|
2215
|
-
greengrassDeploymentId:
|
|
2216
|
-
summary:
|
|
2217
|
-
};
|
|
2218
|
-
};
|
|
2219
|
-
const de_DeprecateFlowTemplateResponse = (output, context) => {
|
|
2220
|
-
return {};
|
|
2221
|
-
};
|
|
2222
|
-
const de_DeprecateSystemTemplateResponse = (output, context) => {
|
|
2223
|
-
return {};
|
|
2224
|
-
};
|
|
2225
|
-
const de_DescribeNamespaceResponse = (output, context) => {
|
|
2226
|
-
return {
|
|
2227
|
-
namespaceArn: (0, smithy_client_1.expectString)(output.namespaceArn),
|
|
2228
|
-
namespaceName: (0, smithy_client_1.expectString)(output.namespaceName),
|
|
2229
|
-
namespaceVersion: (0, smithy_client_1.expectLong)(output.namespaceVersion),
|
|
2230
|
-
trackingNamespaceName: (0, smithy_client_1.expectString)(output.trackingNamespaceName),
|
|
2231
|
-
trackingNamespaceVersion: (0, smithy_client_1.expectLong)(output.trackingNamespaceVersion),
|
|
2232
|
-
};
|
|
2233
|
-
};
|
|
2234
|
-
const de_DissociateEntityFromThingResponse = (output, context) => {
|
|
2235
|
-
return {};
|
|
1801
|
+
return (0, smithy_client_1.take)(output, {
|
|
1802
|
+
greengrassDeploymentId: smithy_client_1.expectString,
|
|
1803
|
+
summary: (_) => de_SystemInstanceSummary(_, context),
|
|
1804
|
+
});
|
|
2236
1805
|
};
|
|
2237
1806
|
const de_EntityDescription = (output, context) => {
|
|
2238
|
-
return {
|
|
2239
|
-
arn:
|
|
2240
|
-
createdAt:
|
|
2241
|
-
definition:
|
|
2242
|
-
id:
|
|
2243
|
-
type:
|
|
2244
|
-
};
|
|
1807
|
+
return (0, smithy_client_1.take)(output, {
|
|
1808
|
+
arn: smithy_client_1.expectString,
|
|
1809
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1810
|
+
definition: smithy_client_1._json,
|
|
1811
|
+
id: smithy_client_1.expectString,
|
|
1812
|
+
type: smithy_client_1.expectString,
|
|
1813
|
+
});
|
|
2245
1814
|
};
|
|
2246
1815
|
const de_EntityDescriptions = (output, context) => {
|
|
2247
1816
|
const retVal = (output || [])
|
|
2248
1817
|
.filter((e) => e != null)
|
|
2249
1818
|
.map((entry) => {
|
|
2250
|
-
if (entry === null) {
|
|
2251
|
-
return null;
|
|
2252
|
-
}
|
|
2253
1819
|
return de_EntityDescription(entry, context);
|
|
2254
1820
|
});
|
|
2255
1821
|
return retVal;
|
|
2256
1822
|
};
|
|
2257
1823
|
const de_FlowExecutionMessage = (output, context) => {
|
|
2258
|
-
return {
|
|
2259
|
-
eventType:
|
|
2260
|
-
messageId:
|
|
2261
|
-
payload:
|
|
2262
|
-
timestamp:
|
|
2263
|
-
};
|
|
1824
|
+
return (0, smithy_client_1.take)(output, {
|
|
1825
|
+
eventType: smithy_client_1.expectString,
|
|
1826
|
+
messageId: smithy_client_1.expectString,
|
|
1827
|
+
payload: smithy_client_1.expectString,
|
|
1828
|
+
timestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1829
|
+
});
|
|
2264
1830
|
};
|
|
2265
1831
|
const de_FlowExecutionMessages = (output, context) => {
|
|
2266
1832
|
const retVal = (output || [])
|
|
2267
1833
|
.filter((e) => e != null)
|
|
2268
1834
|
.map((entry) => {
|
|
2269
|
-
if (entry === null) {
|
|
2270
|
-
return null;
|
|
2271
|
-
}
|
|
2272
1835
|
return de_FlowExecutionMessage(entry, context);
|
|
2273
1836
|
});
|
|
2274
1837
|
return retVal;
|
|
@@ -2277,325 +1840,191 @@ const de_FlowExecutionSummaries = (output, context) => {
|
|
|
2277
1840
|
const retVal = (output || [])
|
|
2278
1841
|
.filter((e) => e != null)
|
|
2279
1842
|
.map((entry) => {
|
|
2280
|
-
if (entry === null) {
|
|
2281
|
-
return null;
|
|
2282
|
-
}
|
|
2283
1843
|
return de_FlowExecutionSummary(entry, context);
|
|
2284
1844
|
});
|
|
2285
1845
|
return retVal;
|
|
2286
1846
|
};
|
|
2287
1847
|
const de_FlowExecutionSummary = (output, context) => {
|
|
2288
|
-
return {
|
|
2289
|
-
createdAt:
|
|
2290
|
-
flowExecutionId:
|
|
2291
|
-
flowTemplateId:
|
|
2292
|
-
status:
|
|
2293
|
-
systemInstanceId:
|
|
2294
|
-
updatedAt:
|
|
2295
|
-
};
|
|
1848
|
+
return (0, smithy_client_1.take)(output, {
|
|
1849
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1850
|
+
flowExecutionId: smithy_client_1.expectString,
|
|
1851
|
+
flowTemplateId: smithy_client_1.expectString,
|
|
1852
|
+
status: smithy_client_1.expectString,
|
|
1853
|
+
systemInstanceId: smithy_client_1.expectString,
|
|
1854
|
+
updatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1855
|
+
});
|
|
2296
1856
|
};
|
|
2297
1857
|
const de_FlowTemplateDescription = (output, context) => {
|
|
2298
|
-
return {
|
|
2299
|
-
definition:
|
|
2300
|
-
summary:
|
|
2301
|
-
validatedNamespaceVersion:
|
|
2302
|
-
};
|
|
1858
|
+
return (0, smithy_client_1.take)(output, {
|
|
1859
|
+
definition: smithy_client_1._json,
|
|
1860
|
+
summary: (_) => de_FlowTemplateSummary(_, context),
|
|
1861
|
+
validatedNamespaceVersion: smithy_client_1.expectLong,
|
|
1862
|
+
});
|
|
2303
1863
|
};
|
|
2304
1864
|
const de_FlowTemplateSummaries = (output, context) => {
|
|
2305
1865
|
const retVal = (output || [])
|
|
2306
1866
|
.filter((e) => e != null)
|
|
2307
1867
|
.map((entry) => {
|
|
2308
|
-
if (entry === null) {
|
|
2309
|
-
return null;
|
|
2310
|
-
}
|
|
2311
1868
|
return de_FlowTemplateSummary(entry, context);
|
|
2312
1869
|
});
|
|
2313
1870
|
return retVal;
|
|
2314
1871
|
};
|
|
2315
1872
|
const de_FlowTemplateSummary = (output, context) => {
|
|
2316
|
-
return {
|
|
2317
|
-
arn:
|
|
2318
|
-
createdAt:
|
|
2319
|
-
id:
|
|
2320
|
-
revisionNumber:
|
|
2321
|
-
};
|
|
1873
|
+
return (0, smithy_client_1.take)(output, {
|
|
1874
|
+
arn: smithy_client_1.expectString,
|
|
1875
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1876
|
+
id: smithy_client_1.expectString,
|
|
1877
|
+
revisionNumber: smithy_client_1.expectLong,
|
|
1878
|
+
});
|
|
2322
1879
|
};
|
|
2323
1880
|
const de_GetEntitiesResponse = (output, context) => {
|
|
2324
|
-
return {
|
|
2325
|
-
descriptions:
|
|
2326
|
-
};
|
|
1881
|
+
return (0, smithy_client_1.take)(output, {
|
|
1882
|
+
descriptions: (_) => de_EntityDescriptions(_, context),
|
|
1883
|
+
});
|
|
2327
1884
|
};
|
|
2328
1885
|
const de_GetFlowTemplateResponse = (output, context) => {
|
|
2329
|
-
return {
|
|
2330
|
-
description:
|
|
2331
|
-
};
|
|
1886
|
+
return (0, smithy_client_1.take)(output, {
|
|
1887
|
+
description: (_) => de_FlowTemplateDescription(_, context),
|
|
1888
|
+
});
|
|
2332
1889
|
};
|
|
2333
1890
|
const de_GetFlowTemplateRevisionsResponse = (output, context) => {
|
|
2334
|
-
return {
|
|
2335
|
-
nextToken:
|
|
2336
|
-
summaries:
|
|
2337
|
-
};
|
|
2338
|
-
};
|
|
2339
|
-
const de_GetNamespaceDeletionStatusResponse = (output, context) => {
|
|
2340
|
-
return {
|
|
2341
|
-
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
2342
|
-
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
2343
|
-
namespaceArn: (0, smithy_client_1.expectString)(output.namespaceArn),
|
|
2344
|
-
namespaceName: (0, smithy_client_1.expectString)(output.namespaceName),
|
|
2345
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
2346
|
-
};
|
|
1891
|
+
return (0, smithy_client_1.take)(output, {
|
|
1892
|
+
nextToken: smithy_client_1.expectString,
|
|
1893
|
+
summaries: (_) => de_FlowTemplateSummaries(_, context),
|
|
1894
|
+
});
|
|
2347
1895
|
};
|
|
2348
1896
|
const de_GetSystemInstanceResponse = (output, context) => {
|
|
2349
|
-
return {
|
|
2350
|
-
description:
|
|
2351
|
-
};
|
|
1897
|
+
return (0, smithy_client_1.take)(output, {
|
|
1898
|
+
description: (_) => de_SystemInstanceDescription(_, context),
|
|
1899
|
+
});
|
|
2352
1900
|
};
|
|
2353
1901
|
const de_GetSystemTemplateResponse = (output, context) => {
|
|
2354
|
-
return {
|
|
2355
|
-
description:
|
|
2356
|
-
};
|
|
1902
|
+
return (0, smithy_client_1.take)(output, {
|
|
1903
|
+
description: (_) => de_SystemTemplateDescription(_, context),
|
|
1904
|
+
});
|
|
2357
1905
|
};
|
|
2358
1906
|
const de_GetSystemTemplateRevisionsResponse = (output, context) => {
|
|
2359
|
-
return {
|
|
2360
|
-
nextToken:
|
|
2361
|
-
summaries:
|
|
2362
|
-
};
|
|
1907
|
+
return (0, smithy_client_1.take)(output, {
|
|
1908
|
+
nextToken: smithy_client_1.expectString,
|
|
1909
|
+
summaries: (_) => de_SystemTemplateSummaries(_, context),
|
|
1910
|
+
});
|
|
2363
1911
|
};
|
|
2364
1912
|
const de_GetUploadStatusResponse = (output, context) => {
|
|
2365
|
-
return {
|
|
2366
|
-
createdDate:
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
uploadStatus: (0, smithy_client_1.expectString)(output.uploadStatus),
|
|
2375
|
-
};
|
|
2376
|
-
};
|
|
2377
|
-
const de_InternalFailureException = (output, context) => {
|
|
2378
|
-
return {
|
|
2379
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2380
|
-
};
|
|
2381
|
-
};
|
|
2382
|
-
const de_InvalidRequestException = (output, context) => {
|
|
2383
|
-
return {
|
|
2384
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2385
|
-
};
|
|
2386
|
-
};
|
|
2387
|
-
const de_LimitExceededException = (output, context) => {
|
|
2388
|
-
return {
|
|
2389
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2390
|
-
};
|
|
1913
|
+
return (0, smithy_client_1.take)(output, {
|
|
1914
|
+
createdDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1915
|
+
failureReason: smithy_client_1._json,
|
|
1916
|
+
namespaceArn: smithy_client_1.expectString,
|
|
1917
|
+
namespaceName: smithy_client_1.expectString,
|
|
1918
|
+
namespaceVersion: smithy_client_1.expectLong,
|
|
1919
|
+
uploadId: smithy_client_1.expectString,
|
|
1920
|
+
uploadStatus: smithy_client_1.expectString,
|
|
1921
|
+
});
|
|
2391
1922
|
};
|
|
2392
1923
|
const de_ListFlowExecutionMessagesResponse = (output, context) => {
|
|
2393
|
-
return {
|
|
2394
|
-
messages:
|
|
2395
|
-
nextToken:
|
|
2396
|
-
};
|
|
2397
|
-
};
|
|
2398
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2399
|
-
return {
|
|
2400
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
2401
|
-
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
2402
|
-
};
|
|
2403
|
-
};
|
|
2404
|
-
const de_MetricsConfiguration = (output, context) => {
|
|
2405
|
-
return {
|
|
2406
|
-
cloudMetricEnabled: (0, smithy_client_1.expectBoolean)(output.cloudMetricEnabled),
|
|
2407
|
-
metricRuleRoleArn: (0, smithy_client_1.expectString)(output.metricRuleRoleArn),
|
|
2408
|
-
};
|
|
2409
|
-
};
|
|
2410
|
-
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
2411
|
-
return {
|
|
2412
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2413
|
-
};
|
|
2414
|
-
};
|
|
2415
|
-
const de_ResourceInUseException = (output, context) => {
|
|
2416
|
-
return {
|
|
2417
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2418
|
-
};
|
|
2419
|
-
};
|
|
2420
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
2421
|
-
return {
|
|
2422
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2423
|
-
};
|
|
1924
|
+
return (0, smithy_client_1.take)(output, {
|
|
1925
|
+
messages: (_) => de_FlowExecutionMessages(_, context),
|
|
1926
|
+
nextToken: smithy_client_1.expectString,
|
|
1927
|
+
});
|
|
2424
1928
|
};
|
|
2425
1929
|
const de_SearchEntitiesResponse = (output, context) => {
|
|
2426
|
-
return {
|
|
2427
|
-
descriptions:
|
|
2428
|
-
nextToken:
|
|
2429
|
-
};
|
|
1930
|
+
return (0, smithy_client_1.take)(output, {
|
|
1931
|
+
descriptions: (_) => de_EntityDescriptions(_, context),
|
|
1932
|
+
nextToken: smithy_client_1.expectString,
|
|
1933
|
+
});
|
|
2430
1934
|
};
|
|
2431
1935
|
const de_SearchFlowExecutionsResponse = (output, context) => {
|
|
2432
|
-
return {
|
|
2433
|
-
nextToken:
|
|
2434
|
-
summaries:
|
|
2435
|
-
};
|
|
1936
|
+
return (0, smithy_client_1.take)(output, {
|
|
1937
|
+
nextToken: smithy_client_1.expectString,
|
|
1938
|
+
summaries: (_) => de_FlowExecutionSummaries(_, context),
|
|
1939
|
+
});
|
|
2436
1940
|
};
|
|
2437
1941
|
const de_SearchFlowTemplatesResponse = (output, context) => {
|
|
2438
|
-
return {
|
|
2439
|
-
nextToken:
|
|
2440
|
-
summaries:
|
|
2441
|
-
};
|
|
1942
|
+
return (0, smithy_client_1.take)(output, {
|
|
1943
|
+
nextToken: smithy_client_1.expectString,
|
|
1944
|
+
summaries: (_) => de_FlowTemplateSummaries(_, context),
|
|
1945
|
+
});
|
|
2442
1946
|
};
|
|
2443
1947
|
const de_SearchSystemInstancesResponse = (output, context) => {
|
|
2444
|
-
return {
|
|
2445
|
-
nextToken:
|
|
2446
|
-
summaries:
|
|
2447
|
-
};
|
|
1948
|
+
return (0, smithy_client_1.take)(output, {
|
|
1949
|
+
nextToken: smithy_client_1.expectString,
|
|
1950
|
+
summaries: (_) => de_SystemInstanceSummaries(_, context),
|
|
1951
|
+
});
|
|
2448
1952
|
};
|
|
2449
1953
|
const de_SearchSystemTemplatesResponse = (output, context) => {
|
|
2450
|
-
return {
|
|
2451
|
-
nextToken:
|
|
2452
|
-
summaries:
|
|
2453
|
-
};
|
|
2454
|
-
};
|
|
2455
|
-
const de_SearchThingsResponse = (output, context) => {
|
|
2456
|
-
return {
|
|
2457
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
2458
|
-
things: output.things != null ? de_Things(output.things, context) : undefined,
|
|
2459
|
-
};
|
|
2460
|
-
};
|
|
2461
|
-
const de_StringList = (output, context) => {
|
|
2462
|
-
const retVal = (output || [])
|
|
2463
|
-
.filter((e) => e != null)
|
|
2464
|
-
.map((entry) => {
|
|
2465
|
-
if (entry === null) {
|
|
2466
|
-
return null;
|
|
2467
|
-
}
|
|
2468
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1954
|
+
return (0, smithy_client_1.take)(output, {
|
|
1955
|
+
nextToken: smithy_client_1.expectString,
|
|
1956
|
+
summaries: (_) => de_SystemTemplateSummaries(_, context),
|
|
2469
1957
|
});
|
|
2470
|
-
return retVal;
|
|
2471
1958
|
};
|
|
2472
1959
|
const de_SystemInstanceDescription = (output, context) => {
|
|
2473
|
-
return {
|
|
2474
|
-
definition:
|
|
2475
|
-
flowActionsRoleArn:
|
|
2476
|
-
metricsConfiguration:
|
|
2477
|
-
s3BucketName:
|
|
2478
|
-
summary:
|
|
2479
|
-
validatedDependencyRevisions:
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
validatedNamespaceVersion: (0, smithy_client_1.expectLong)(output.validatedNamespaceVersion),
|
|
2483
|
-
};
|
|
1960
|
+
return (0, smithy_client_1.take)(output, {
|
|
1961
|
+
definition: smithy_client_1._json,
|
|
1962
|
+
flowActionsRoleArn: smithy_client_1.expectString,
|
|
1963
|
+
metricsConfiguration: smithy_client_1._json,
|
|
1964
|
+
s3BucketName: smithy_client_1.expectString,
|
|
1965
|
+
summary: (_) => de_SystemInstanceSummary(_, context),
|
|
1966
|
+
validatedDependencyRevisions: smithy_client_1._json,
|
|
1967
|
+
validatedNamespaceVersion: smithy_client_1.expectLong,
|
|
1968
|
+
});
|
|
2484
1969
|
};
|
|
2485
1970
|
const de_SystemInstanceSummaries = (output, context) => {
|
|
2486
1971
|
const retVal = (output || [])
|
|
2487
1972
|
.filter((e) => e != null)
|
|
2488
1973
|
.map((entry) => {
|
|
2489
|
-
if (entry === null) {
|
|
2490
|
-
return null;
|
|
2491
|
-
}
|
|
2492
1974
|
return de_SystemInstanceSummary(entry, context);
|
|
2493
1975
|
});
|
|
2494
1976
|
return retVal;
|
|
2495
1977
|
};
|
|
2496
1978
|
const de_SystemInstanceSummary = (output, context) => {
|
|
2497
|
-
return {
|
|
2498
|
-
arn:
|
|
2499
|
-
createdAt:
|
|
2500
|
-
greengrassGroupId:
|
|
2501
|
-
greengrassGroupName:
|
|
2502
|
-
greengrassGroupVersionId:
|
|
2503
|
-
id:
|
|
2504
|
-
status:
|
|
2505
|
-
target:
|
|
2506
|
-
updatedAt:
|
|
2507
|
-
};
|
|
1979
|
+
return (0, smithy_client_1.take)(output, {
|
|
1980
|
+
arn: smithy_client_1.expectString,
|
|
1981
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1982
|
+
greengrassGroupId: smithy_client_1.expectString,
|
|
1983
|
+
greengrassGroupName: smithy_client_1.expectString,
|
|
1984
|
+
greengrassGroupVersionId: smithy_client_1.expectString,
|
|
1985
|
+
id: smithy_client_1.expectString,
|
|
1986
|
+
status: smithy_client_1.expectString,
|
|
1987
|
+
target: smithy_client_1.expectString,
|
|
1988
|
+
updatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1989
|
+
});
|
|
2508
1990
|
};
|
|
2509
1991
|
const de_SystemTemplateDescription = (output, context) => {
|
|
2510
|
-
return {
|
|
2511
|
-
definition:
|
|
2512
|
-
summary:
|
|
2513
|
-
validatedNamespaceVersion:
|
|
2514
|
-
};
|
|
1992
|
+
return (0, smithy_client_1.take)(output, {
|
|
1993
|
+
definition: smithy_client_1._json,
|
|
1994
|
+
summary: (_) => de_SystemTemplateSummary(_, context),
|
|
1995
|
+
validatedNamespaceVersion: smithy_client_1.expectLong,
|
|
1996
|
+
});
|
|
2515
1997
|
};
|
|
2516
1998
|
const de_SystemTemplateSummaries = (output, context) => {
|
|
2517
1999
|
const retVal = (output || [])
|
|
2518
2000
|
.filter((e) => e != null)
|
|
2519
2001
|
.map((entry) => {
|
|
2520
|
-
if (entry === null) {
|
|
2521
|
-
return null;
|
|
2522
|
-
}
|
|
2523
2002
|
return de_SystemTemplateSummary(entry, context);
|
|
2524
2003
|
});
|
|
2525
2004
|
return retVal;
|
|
2526
2005
|
};
|
|
2527
2006
|
const de_SystemTemplateSummary = (output, context) => {
|
|
2528
|
-
return {
|
|
2529
|
-
arn:
|
|
2530
|
-
createdAt:
|
|
2531
|
-
id:
|
|
2532
|
-
revisionNumber:
|
|
2533
|
-
};
|
|
2534
|
-
};
|
|
2535
|
-
const de_Tag = (output, context) => {
|
|
2536
|
-
return {
|
|
2537
|
-
key: (0, smithy_client_1.expectString)(output.key),
|
|
2538
|
-
value: (0, smithy_client_1.expectString)(output.value),
|
|
2539
|
-
};
|
|
2540
|
-
};
|
|
2541
|
-
const de_TagList = (output, context) => {
|
|
2542
|
-
const retVal = (output || [])
|
|
2543
|
-
.filter((e) => e != null)
|
|
2544
|
-
.map((entry) => {
|
|
2545
|
-
if (entry === null) {
|
|
2546
|
-
return null;
|
|
2547
|
-
}
|
|
2548
|
-
return de_Tag(entry, context);
|
|
2549
|
-
});
|
|
2550
|
-
return retVal;
|
|
2551
|
-
};
|
|
2552
|
-
const de_TagResourceResponse = (output, context) => {
|
|
2553
|
-
return {};
|
|
2554
|
-
};
|
|
2555
|
-
const de_Thing = (output, context) => {
|
|
2556
|
-
return {
|
|
2557
|
-
thingArn: (0, smithy_client_1.expectString)(output.thingArn),
|
|
2558
|
-
thingName: (0, smithy_client_1.expectString)(output.thingName),
|
|
2559
|
-
};
|
|
2560
|
-
};
|
|
2561
|
-
const de_Things = (output, context) => {
|
|
2562
|
-
const retVal = (output || [])
|
|
2563
|
-
.filter((e) => e != null)
|
|
2564
|
-
.map((entry) => {
|
|
2565
|
-
if (entry === null) {
|
|
2566
|
-
return null;
|
|
2567
|
-
}
|
|
2568
|
-
return de_Thing(entry, context);
|
|
2007
|
+
return (0, smithy_client_1.take)(output, {
|
|
2008
|
+
arn: smithy_client_1.expectString,
|
|
2009
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2010
|
+
id: smithy_client_1.expectString,
|
|
2011
|
+
revisionNumber: smithy_client_1.expectLong,
|
|
2569
2012
|
});
|
|
2570
|
-
return retVal;
|
|
2571
|
-
};
|
|
2572
|
-
const de_ThrottlingException = (output, context) => {
|
|
2573
|
-
return {
|
|
2574
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2575
|
-
};
|
|
2576
2013
|
};
|
|
2577
2014
|
const de_UndeploySystemInstanceResponse = (output, context) => {
|
|
2578
|
-
return {
|
|
2579
|
-
summary:
|
|
2580
|
-
};
|
|
2581
|
-
};
|
|
2582
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
2583
|
-
return {};
|
|
2015
|
+
return (0, smithy_client_1.take)(output, {
|
|
2016
|
+
summary: (_) => de_SystemInstanceSummary(_, context),
|
|
2017
|
+
});
|
|
2584
2018
|
};
|
|
2585
2019
|
const de_UpdateFlowTemplateResponse = (output, context) => {
|
|
2586
|
-
return {
|
|
2587
|
-
summary:
|
|
2588
|
-
};
|
|
2020
|
+
return (0, smithy_client_1.take)(output, {
|
|
2021
|
+
summary: (_) => de_FlowTemplateSummary(_, context),
|
|
2022
|
+
});
|
|
2589
2023
|
};
|
|
2590
2024
|
const de_UpdateSystemTemplateResponse = (output, context) => {
|
|
2591
|
-
return {
|
|
2592
|
-
summary:
|
|
2593
|
-
};
|
|
2594
|
-
};
|
|
2595
|
-
const de_UploadEntityDefinitionsResponse = (output, context) => {
|
|
2596
|
-
return {
|
|
2597
|
-
uploadId: (0, smithy_client_1.expectString)(output.uploadId),
|
|
2598
|
-
};
|
|
2025
|
+
return (0, smithy_client_1.take)(output, {
|
|
2026
|
+
summary: (_) => de_SystemTemplateSummary(_, context),
|
|
2027
|
+
});
|
|
2599
2028
|
};
|
|
2600
2029
|
const deserializeMetadata = (output) => ({
|
|
2601
2030
|
httpStatusCode: output.statusCode,
|
|
@@ -2610,6 +2039,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2610
2039
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2611
2040
|
};
|
|
2612
2041
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2042
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(IoTThingsGraphServiceException_1.IoTThingsGraphServiceException);
|
|
2613
2043
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2614
2044
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2615
2045
|
const contents = {
|