@aws-sdk/client-iotthingsgraph 3.926.0 → 3.928.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist-cjs/index.js +1005 -1318
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/IoTThingsGraphClient.js +2 -0
  4. package/dist-es/commands/AssociateEntityToThingCommand.js +3 -9
  5. package/dist-es/commands/CreateFlowTemplateCommand.js +3 -9
  6. package/dist-es/commands/CreateSystemInstanceCommand.js +3 -9
  7. package/dist-es/commands/CreateSystemTemplateCommand.js +3 -9
  8. package/dist-es/commands/DeleteFlowTemplateCommand.js +3 -9
  9. package/dist-es/commands/DeleteNamespaceCommand.js +3 -9
  10. package/dist-es/commands/DeleteSystemInstanceCommand.js +3 -9
  11. package/dist-es/commands/DeleteSystemTemplateCommand.js +3 -9
  12. package/dist-es/commands/DeploySystemInstanceCommand.js +3 -9
  13. package/dist-es/commands/DeprecateFlowTemplateCommand.js +3 -9
  14. package/dist-es/commands/DeprecateSystemTemplateCommand.js +3 -9
  15. package/dist-es/commands/DescribeNamespaceCommand.js +3 -9
  16. package/dist-es/commands/DissociateEntityFromThingCommand.js +3 -9
  17. package/dist-es/commands/GetEntitiesCommand.js +3 -9
  18. package/dist-es/commands/GetFlowTemplateCommand.js +3 -9
  19. package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +3 -9
  20. package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +3 -9
  21. package/dist-es/commands/GetSystemInstanceCommand.js +3 -9
  22. package/dist-es/commands/GetSystemTemplateCommand.js +3 -9
  23. package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +3 -9
  24. package/dist-es/commands/GetUploadStatusCommand.js +3 -9
  25. package/dist-es/commands/ListFlowExecutionMessagesCommand.js +3 -9
  26. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  27. package/dist-es/commands/SearchEntitiesCommand.js +3 -9
  28. package/dist-es/commands/SearchFlowExecutionsCommand.js +3 -9
  29. package/dist-es/commands/SearchFlowTemplatesCommand.js +3 -9
  30. package/dist-es/commands/SearchSystemInstancesCommand.js +3 -9
  31. package/dist-es/commands/SearchSystemTemplatesCommand.js +3 -9
  32. package/dist-es/commands/SearchThingsCommand.js +3 -9
  33. package/dist-es/commands/TagResourceCommand.js +3 -9
  34. package/dist-es/commands/UndeploySystemInstanceCommand.js +3 -9
  35. package/dist-es/commands/UntagResourceCommand.js +3 -9
  36. package/dist-es/commands/UpdateFlowTemplateCommand.js +3 -9
  37. package/dist-es/commands/UpdateSystemTemplateCommand.js +3 -9
  38. package/dist-es/commands/UploadEntityDefinitionsCommand.js +3 -9
  39. package/dist-es/runtimeConfig.shared.js +7 -0
  40. package/dist-es/schemas/schemas_0.js +921 -0
  41. package/dist-types/IoTThingsGraphClient.d.ts +10 -1
  42. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  43. package/dist-types/runtimeConfig.d.ts +1 -0
  44. package/dist-types/runtimeConfig.native.d.ts +1 -0
  45. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  46. package/dist-types/schemas/schemas_0.d.ts +154 -0
  47. package/dist-types/ts3.4/IoTThingsGraphClient.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +159 -0
  53. package/package.json +5 -5
  54. package/dist-es/protocols/Aws_json1_1.js +0 -1056
  55. package/dist-types/protocols/Aws_json1_1.d.ts +0 -317
  56. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -425
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class IoTThingsGraphClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class IoTThingsGraphClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class IoTThingsGraphServiceException extends smithyClient.ServiceException {
113
+ let IoTThingsGraphServiceException$1 = class IoTThingsGraphServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, IoTThingsGraphServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class InternalFailureException extends IoTThingsGraphServiceException {
120
+ let InternalFailureException$1 = class InternalFailureException extends IoTThingsGraphServiceException$1 {
121
121
  name = "InternalFailureException";
122
122
  $fault = "server";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ class InternalFailureException extends IoTThingsGraphServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, InternalFailureException.prototype);
130
130
  }
131
- }
132
- class InvalidRequestException extends IoTThingsGraphServiceException {
131
+ };
132
+ let InvalidRequestException$1 = class InvalidRequestException extends IoTThingsGraphServiceException$1 {
133
133
  name = "InvalidRequestException";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ class InvalidRequestException extends IoTThingsGraphServiceException {
140
140
  });
141
141
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
142
142
  }
143
- }
144
- class ResourceNotFoundException extends IoTThingsGraphServiceException {
143
+ };
144
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends IoTThingsGraphServiceException$1 {
145
145
  name = "ResourceNotFoundException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ class ResourceNotFoundException extends IoTThingsGraphServiceException {
152
152
  });
153
153
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
154
154
  }
155
- }
156
- class ThrottlingException extends IoTThingsGraphServiceException {
155
+ };
156
+ let ThrottlingException$1 = class ThrottlingException extends IoTThingsGraphServiceException$1 {
157
157
  name = "ThrottlingException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,11 +164,11 @@ class ThrottlingException extends IoTThingsGraphServiceException {
164
164
  });
165
165
  Object.setPrototypeOf(this, ThrottlingException.prototype);
166
166
  }
167
- }
167
+ };
168
168
  const DefinitionLanguage = {
169
169
  GRAPHQL: "GRAPHQL",
170
170
  };
171
- class LimitExceededException extends IoTThingsGraphServiceException {
171
+ let LimitExceededException$1 = class LimitExceededException extends IoTThingsGraphServiceException$1 {
172
172
  name = "LimitExceededException";
173
173
  $fault = "client";
174
174
  constructor(opts) {
@@ -179,8 +179,8 @@ class LimitExceededException extends IoTThingsGraphServiceException {
179
179
  });
180
180
  Object.setPrototypeOf(this, LimitExceededException.prototype);
181
181
  }
182
- }
183
- class ResourceAlreadyExistsException extends IoTThingsGraphServiceException {
182
+ };
183
+ let ResourceAlreadyExistsException$1 = class ResourceAlreadyExistsException extends IoTThingsGraphServiceException$1 {
184
184
  name = "ResourceAlreadyExistsException";
185
185
  $fault = "client";
186
186
  constructor(opts) {
@@ -191,7 +191,7 @@ class ResourceAlreadyExistsException extends IoTThingsGraphServiceException {
191
191
  });
192
192
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
193
193
  }
194
- }
194
+ };
195
195
  const DeploymentTarget = {
196
196
  CLOUD: "CLOUD",
197
197
  GREENGRASS: "GREENGRASS",
@@ -206,7 +206,7 @@ const SystemInstanceDeploymentStatus = {
206
206
  PENDING_DELETE: "PENDING_DELETE",
207
207
  UNDEPLOY_IN_PROGRESS: "UNDEPLOY_IN_PROGRESS",
208
208
  };
209
- class ResourceInUseException extends IoTThingsGraphServiceException {
209
+ let ResourceInUseException$1 = class ResourceInUseException extends IoTThingsGraphServiceException$1 {
210
210
  name = "ResourceInUseException";
211
211
  $fault = "client";
212
212
  constructor(opts) {
@@ -217,7 +217,7 @@ class ResourceInUseException extends IoTThingsGraphServiceException {
217
217
  });
218
218
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
219
219
  }
220
- }
220
+ };
221
221
  const EntityType = {
222
222
  ACTION: "ACTION",
223
223
  CAPABILITY: "CAPABILITY",
@@ -286,1068 +286,925 @@ const SystemTemplateFilterName = {
286
286
  FLOW_TEMPLATE_ID: "FLOW_TEMPLATE_ID",
287
287
  };
288
288
 
289
- const se_AssociateEntityToThingCommand = async (input, context) => {
290
- const headers = sharedHeaders("AssociateEntityToThing");
291
- let body;
292
- body = JSON.stringify(smithyClient._json(input));
293
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
294
- };
295
- const se_CreateFlowTemplateCommand = async (input, context) => {
296
- const headers = sharedHeaders("CreateFlowTemplate");
297
- let body;
298
- body = JSON.stringify(smithyClient._json(input));
299
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
300
- };
301
- const se_CreateSystemInstanceCommand = async (input, context) => {
302
- const headers = sharedHeaders("CreateSystemInstance");
303
- let body;
304
- body = JSON.stringify(smithyClient._json(input));
305
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
306
- };
307
- const se_CreateSystemTemplateCommand = async (input, context) => {
308
- const headers = sharedHeaders("CreateSystemTemplate");
309
- let body;
310
- body = JSON.stringify(smithyClient._json(input));
311
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
312
- };
313
- const se_DeleteFlowTemplateCommand = async (input, context) => {
314
- const headers = sharedHeaders("DeleteFlowTemplate");
315
- let body;
316
- body = JSON.stringify(smithyClient._json(input));
317
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
318
- };
319
- const se_DeleteNamespaceCommand = async (input, context) => {
320
- const headers = sharedHeaders("DeleteNamespace");
321
- let body;
322
- body = JSON.stringify(smithyClient._json(input));
323
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
324
- };
325
- const se_DeleteSystemInstanceCommand = async (input, context) => {
326
- const headers = sharedHeaders("DeleteSystemInstance");
327
- let body;
328
- body = JSON.stringify(smithyClient._json(input));
329
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
330
- };
331
- const se_DeleteSystemTemplateCommand = async (input, context) => {
332
- const headers = sharedHeaders("DeleteSystemTemplate");
333
- let body;
334
- body = JSON.stringify(smithyClient._json(input));
335
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
336
- };
337
- const se_DeploySystemInstanceCommand = async (input, context) => {
338
- const headers = sharedHeaders("DeploySystemInstance");
339
- let body;
340
- body = JSON.stringify(smithyClient._json(input));
341
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
342
- };
343
- const se_DeprecateFlowTemplateCommand = async (input, context) => {
344
- const headers = sharedHeaders("DeprecateFlowTemplate");
345
- let body;
346
- body = JSON.stringify(smithyClient._json(input));
347
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
348
- };
349
- const se_DeprecateSystemTemplateCommand = async (input, context) => {
350
- const headers = sharedHeaders("DeprecateSystemTemplate");
351
- let body;
352
- body = JSON.stringify(smithyClient._json(input));
353
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
354
- };
355
- const se_DescribeNamespaceCommand = async (input, context) => {
356
- const headers = sharedHeaders("DescribeNamespace");
357
- let body;
358
- body = JSON.stringify(smithyClient._json(input));
359
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
360
- };
361
- const se_DissociateEntityFromThingCommand = async (input, context) => {
362
- const headers = sharedHeaders("DissociateEntityFromThing");
363
- let body;
364
- body = JSON.stringify(smithyClient._json(input));
365
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
366
- };
367
- const se_GetEntitiesCommand = async (input, context) => {
368
- const headers = sharedHeaders("GetEntities");
369
- let body;
370
- body = JSON.stringify(smithyClient._json(input));
371
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
372
- };
373
- const se_GetFlowTemplateCommand = async (input, context) => {
374
- const headers = sharedHeaders("GetFlowTemplate");
375
- let body;
376
- body = JSON.stringify(smithyClient._json(input));
377
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
378
- };
379
- const se_GetFlowTemplateRevisionsCommand = async (input, context) => {
380
- const headers = sharedHeaders("GetFlowTemplateRevisions");
381
- let body;
382
- body = JSON.stringify(smithyClient._json(input));
383
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
384
- };
385
- const se_GetNamespaceDeletionStatusCommand = async (input, context) => {
386
- const headers = sharedHeaders("GetNamespaceDeletionStatus");
387
- let body;
388
- body = JSON.stringify(smithyClient._json(input));
389
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
390
- };
391
- const se_GetSystemInstanceCommand = async (input, context) => {
392
- const headers = sharedHeaders("GetSystemInstance");
393
- let body;
394
- body = JSON.stringify(smithyClient._json(input));
395
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
396
- };
397
- const se_GetSystemTemplateCommand = async (input, context) => {
398
- const headers = sharedHeaders("GetSystemTemplate");
399
- let body;
400
- body = JSON.stringify(smithyClient._json(input));
401
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
402
- };
403
- const se_GetSystemTemplateRevisionsCommand = async (input, context) => {
404
- const headers = sharedHeaders("GetSystemTemplateRevisions");
405
- let body;
406
- body = JSON.stringify(smithyClient._json(input));
407
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
408
- };
409
- const se_GetUploadStatusCommand = async (input, context) => {
410
- const headers = sharedHeaders("GetUploadStatus");
411
- let body;
412
- body = JSON.stringify(smithyClient._json(input));
413
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
414
- };
415
- const se_ListFlowExecutionMessagesCommand = async (input, context) => {
416
- const headers = sharedHeaders("ListFlowExecutionMessages");
417
- let body;
418
- body = JSON.stringify(smithyClient._json(input));
419
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
420
- };
421
- const se_ListTagsForResourceCommand = async (input, context) => {
422
- const headers = sharedHeaders("ListTagsForResource");
423
- let body;
424
- body = JSON.stringify(smithyClient._json(input));
425
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
426
- };
427
- const se_SearchEntitiesCommand = async (input, context) => {
428
- const headers = sharedHeaders("SearchEntities");
429
- let body;
430
- body = JSON.stringify(smithyClient._json(input));
431
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
432
- };
433
- const se_SearchFlowExecutionsCommand = async (input, context) => {
434
- const headers = sharedHeaders("SearchFlowExecutions");
435
- let body;
436
- body = JSON.stringify(se_SearchFlowExecutionsRequest(input));
437
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
438
- };
439
- const se_SearchFlowTemplatesCommand = async (input, context) => {
440
- const headers = sharedHeaders("SearchFlowTemplates");
441
- let body;
442
- body = JSON.stringify(smithyClient._json(input));
443
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
444
- };
445
- const se_SearchSystemInstancesCommand = async (input, context) => {
446
- const headers = sharedHeaders("SearchSystemInstances");
447
- let body;
448
- body = JSON.stringify(smithyClient._json(input));
449
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
450
- };
451
- const se_SearchSystemTemplatesCommand = async (input, context) => {
452
- const headers = sharedHeaders("SearchSystemTemplates");
453
- let body;
454
- body = JSON.stringify(smithyClient._json(input));
455
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
456
- };
457
- const se_SearchThingsCommand = async (input, context) => {
458
- const headers = sharedHeaders("SearchThings");
459
- let body;
460
- body = JSON.stringify(smithyClient._json(input));
461
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
462
- };
463
- const se_TagResourceCommand = async (input, context) => {
464
- const headers = sharedHeaders("TagResource");
465
- let body;
466
- body = JSON.stringify(smithyClient._json(input));
467
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
468
- };
469
- const se_UndeploySystemInstanceCommand = async (input, context) => {
470
- const headers = sharedHeaders("UndeploySystemInstance");
471
- let body;
472
- body = JSON.stringify(smithyClient._json(input));
473
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
474
- };
475
- const se_UntagResourceCommand = async (input, context) => {
476
- const headers = sharedHeaders("UntagResource");
477
- let body;
478
- body = JSON.stringify(smithyClient._json(input));
479
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
480
- };
481
- const se_UpdateFlowTemplateCommand = async (input, context) => {
482
- const headers = sharedHeaders("UpdateFlowTemplate");
483
- let body;
484
- body = JSON.stringify(smithyClient._json(input));
485
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
486
- };
487
- const se_UpdateSystemTemplateCommand = async (input, context) => {
488
- const headers = sharedHeaders("UpdateSystemTemplate");
489
- let body;
490
- body = JSON.stringify(smithyClient._json(input));
491
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
492
- };
493
- const se_UploadEntityDefinitionsCommand = async (input, context) => {
494
- const headers = sharedHeaders("UploadEntityDefinitions");
495
- let body;
496
- body = JSON.stringify(smithyClient._json(input));
497
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
498
- };
499
- const de_AssociateEntityToThingCommand = async (output, context) => {
500
- if (output.statusCode >= 300) {
501
- return de_CommandError(output, context);
502
- }
503
- const data = await core$1.parseJsonBody(output.body, context);
504
- let contents = {};
505
- contents = smithyClient._json(data);
506
- const response = {
507
- $metadata: deserializeMetadata(output),
508
- ...contents,
509
- };
510
- return response;
511
- };
512
- const de_CreateFlowTemplateCommand = async (output, context) => {
513
- if (output.statusCode >= 300) {
514
- return de_CommandError(output, context);
515
- }
516
- const data = await core$1.parseJsonBody(output.body, context);
517
- let contents = {};
518
- contents = de_CreateFlowTemplateResponse(data);
519
- const response = {
520
- $metadata: deserializeMetadata(output),
521
- ...contents,
522
- };
523
- return response;
524
- };
525
- const de_CreateSystemInstanceCommand = async (output, context) => {
526
- if (output.statusCode >= 300) {
527
- return de_CommandError(output, context);
528
- }
529
- const data = await core$1.parseJsonBody(output.body, context);
530
- let contents = {};
531
- contents = de_CreateSystemInstanceResponse(data);
532
- const response = {
533
- $metadata: deserializeMetadata(output),
534
- ...contents,
535
- };
536
- return response;
537
- };
538
- const de_CreateSystemTemplateCommand = async (output, context) => {
539
- if (output.statusCode >= 300) {
540
- return de_CommandError(output, context);
541
- }
542
- const data = await core$1.parseJsonBody(output.body, context);
543
- let contents = {};
544
- contents = de_CreateSystemTemplateResponse(data);
545
- const response = {
546
- $metadata: deserializeMetadata(output),
547
- ...contents,
548
- };
549
- return response;
550
- };
551
- const de_DeleteFlowTemplateCommand = async (output, context) => {
552
- if (output.statusCode >= 300) {
553
- return de_CommandError(output, context);
554
- }
555
- const data = await core$1.parseJsonBody(output.body, context);
556
- let contents = {};
557
- contents = smithyClient._json(data);
558
- const response = {
559
- $metadata: deserializeMetadata(output),
560
- ...contents,
561
- };
562
- return response;
563
- };
564
- const de_DeleteNamespaceCommand = async (output, context) => {
565
- if (output.statusCode >= 300) {
566
- return de_CommandError(output, context);
567
- }
568
- const data = await core$1.parseJsonBody(output.body, context);
569
- let contents = {};
570
- contents = smithyClient._json(data);
571
- const response = {
572
- $metadata: deserializeMetadata(output),
573
- ...contents,
574
- };
575
- return response;
576
- };
577
- const de_DeleteSystemInstanceCommand = async (output, context) => {
578
- if (output.statusCode >= 300) {
579
- return de_CommandError(output, context);
580
- }
581
- const data = await core$1.parseJsonBody(output.body, context);
582
- let contents = {};
583
- contents = smithyClient._json(data);
584
- const response = {
585
- $metadata: deserializeMetadata(output),
586
- ...contents,
587
- };
588
- return response;
589
- };
590
- const de_DeleteSystemTemplateCommand = async (output, context) => {
591
- if (output.statusCode >= 300) {
592
- return de_CommandError(output, context);
593
- }
594
- const data = await core$1.parseJsonBody(output.body, context);
595
- let contents = {};
596
- contents = smithyClient._json(data);
597
- const response = {
598
- $metadata: deserializeMetadata(output),
599
- ...contents,
600
- };
601
- return response;
602
- };
603
- const de_DeploySystemInstanceCommand = async (output, context) => {
604
- if (output.statusCode >= 300) {
605
- return de_CommandError(output, context);
606
- }
607
- const data = await core$1.parseJsonBody(output.body, context);
608
- let contents = {};
609
- contents = de_DeploySystemInstanceResponse(data);
610
- const response = {
611
- $metadata: deserializeMetadata(output),
612
- ...contents,
613
- };
614
- return response;
615
- };
616
- const de_DeprecateFlowTemplateCommand = async (output, context) => {
617
- if (output.statusCode >= 300) {
618
- return de_CommandError(output, context);
619
- }
620
- const data = await core$1.parseJsonBody(output.body, context);
621
- let contents = {};
622
- contents = smithyClient._json(data);
623
- const response = {
624
- $metadata: deserializeMetadata(output),
625
- ...contents,
626
- };
627
- return response;
628
- };
629
- const de_DeprecateSystemTemplateCommand = async (output, context) => {
630
- if (output.statusCode >= 300) {
631
- return de_CommandError(output, context);
632
- }
633
- const data = await core$1.parseJsonBody(output.body, context);
634
- let contents = {};
635
- contents = smithyClient._json(data);
636
- const response = {
637
- $metadata: deserializeMetadata(output),
638
- ...contents,
639
- };
640
- return response;
641
- };
642
- const de_DescribeNamespaceCommand = async (output, context) => {
643
- if (output.statusCode >= 300) {
644
- return de_CommandError(output, context);
645
- }
646
- const data = await core$1.parseJsonBody(output.body, context);
647
- let contents = {};
648
- contents = smithyClient._json(data);
649
- const response = {
650
- $metadata: deserializeMetadata(output),
651
- ...contents,
652
- };
653
- return response;
654
- };
655
- const de_DissociateEntityFromThingCommand = async (output, context) => {
656
- if (output.statusCode >= 300) {
657
- return de_CommandError(output, context);
658
- }
659
- const data = await core$1.parseJsonBody(output.body, context);
660
- let contents = {};
661
- contents = smithyClient._json(data);
662
- const response = {
663
- $metadata: deserializeMetadata(output),
664
- ...contents,
665
- };
666
- return response;
667
- };
668
- const de_GetEntitiesCommand = async (output, context) => {
669
- if (output.statusCode >= 300) {
670
- return de_CommandError(output, context);
671
- }
672
- const data = await core$1.parseJsonBody(output.body, context);
673
- let contents = {};
674
- contents = de_GetEntitiesResponse(data);
675
- const response = {
676
- $metadata: deserializeMetadata(output),
677
- ...contents,
678
- };
679
- return response;
680
- };
681
- const de_GetFlowTemplateCommand = async (output, context) => {
682
- if (output.statusCode >= 300) {
683
- return de_CommandError(output, context);
684
- }
685
- const data = await core$1.parseJsonBody(output.body, context);
686
- let contents = {};
687
- contents = de_GetFlowTemplateResponse(data);
688
- const response = {
689
- $metadata: deserializeMetadata(output),
690
- ...contents,
691
- };
692
- return response;
693
- };
694
- const de_GetFlowTemplateRevisionsCommand = async (output, context) => {
695
- if (output.statusCode >= 300) {
696
- return de_CommandError(output, context);
697
- }
698
- const data = await core$1.parseJsonBody(output.body, context);
699
- let contents = {};
700
- contents = de_GetFlowTemplateRevisionsResponse(data);
701
- const response = {
702
- $metadata: deserializeMetadata(output),
703
- ...contents,
704
- };
705
- return response;
706
- };
707
- const de_GetNamespaceDeletionStatusCommand = async (output, context) => {
708
- if (output.statusCode >= 300) {
709
- return de_CommandError(output, context);
710
- }
711
- const data = await core$1.parseJsonBody(output.body, context);
712
- let contents = {};
713
- contents = smithyClient._json(data);
714
- const response = {
715
- $metadata: deserializeMetadata(output),
716
- ...contents,
717
- };
718
- return response;
719
- };
720
- const de_GetSystemInstanceCommand = async (output, context) => {
721
- if (output.statusCode >= 300) {
722
- return de_CommandError(output, context);
723
- }
724
- const data = await core$1.parseJsonBody(output.body, context);
725
- let contents = {};
726
- contents = de_GetSystemInstanceResponse(data);
727
- const response = {
728
- $metadata: deserializeMetadata(output),
729
- ...contents,
730
- };
731
- return response;
732
- };
733
- const de_GetSystemTemplateCommand = async (output, context) => {
734
- if (output.statusCode >= 300) {
735
- return de_CommandError(output, context);
736
- }
737
- const data = await core$1.parseJsonBody(output.body, context);
738
- let contents = {};
739
- contents = de_GetSystemTemplateResponse(data);
740
- const response = {
741
- $metadata: deserializeMetadata(output),
742
- ...contents,
743
- };
744
- return response;
745
- };
746
- const de_GetSystemTemplateRevisionsCommand = async (output, context) => {
747
- if (output.statusCode >= 300) {
748
- return de_CommandError(output, context);
749
- }
750
- const data = await core$1.parseJsonBody(output.body, context);
751
- let contents = {};
752
- contents = de_GetSystemTemplateRevisionsResponse(data);
753
- const response = {
754
- $metadata: deserializeMetadata(output),
755
- ...contents,
756
- };
757
- return response;
758
- };
759
- const de_GetUploadStatusCommand = async (output, context) => {
760
- if (output.statusCode >= 300) {
761
- return de_CommandError(output, context);
762
- }
763
- const data = await core$1.parseJsonBody(output.body, context);
764
- let contents = {};
765
- contents = de_GetUploadStatusResponse(data);
766
- const response = {
767
- $metadata: deserializeMetadata(output),
768
- ...contents,
769
- };
770
- return response;
771
- };
772
- const de_ListFlowExecutionMessagesCommand = async (output, context) => {
773
- if (output.statusCode >= 300) {
774
- return de_CommandError(output, context);
775
- }
776
- const data = await core$1.parseJsonBody(output.body, context);
777
- let contents = {};
778
- contents = de_ListFlowExecutionMessagesResponse(data);
779
- const response = {
780
- $metadata: deserializeMetadata(output),
781
- ...contents,
782
- };
783
- return response;
784
- };
785
- const de_ListTagsForResourceCommand = async (output, context) => {
786
- if (output.statusCode >= 300) {
787
- return de_CommandError(output, context);
788
- }
789
- const data = await core$1.parseJsonBody(output.body, context);
790
- let contents = {};
791
- contents = smithyClient._json(data);
792
- const response = {
793
- $metadata: deserializeMetadata(output),
794
- ...contents,
795
- };
796
- return response;
797
- };
798
- const de_SearchEntitiesCommand = async (output, context) => {
799
- if (output.statusCode >= 300) {
800
- return de_CommandError(output, context);
801
- }
802
- const data = await core$1.parseJsonBody(output.body, context);
803
- let contents = {};
804
- contents = de_SearchEntitiesResponse(data);
805
- const response = {
806
- $metadata: deserializeMetadata(output),
807
- ...contents,
808
- };
809
- return response;
810
- };
811
- const de_SearchFlowExecutionsCommand = async (output, context) => {
812
- if (output.statusCode >= 300) {
813
- return de_CommandError(output, context);
814
- }
815
- const data = await core$1.parseJsonBody(output.body, context);
816
- let contents = {};
817
- contents = de_SearchFlowExecutionsResponse(data);
818
- const response = {
819
- $metadata: deserializeMetadata(output),
820
- ...contents,
821
- };
822
- return response;
823
- };
824
- const de_SearchFlowTemplatesCommand = async (output, context) => {
825
- if (output.statusCode >= 300) {
826
- return de_CommandError(output, context);
827
- }
828
- const data = await core$1.parseJsonBody(output.body, context);
829
- let contents = {};
830
- contents = de_SearchFlowTemplatesResponse(data);
831
- const response = {
832
- $metadata: deserializeMetadata(output),
833
- ...contents,
834
- };
835
- return response;
836
- };
837
- const de_SearchSystemInstancesCommand = async (output, context) => {
838
- if (output.statusCode >= 300) {
839
- return de_CommandError(output, context);
840
- }
841
- const data = await core$1.parseJsonBody(output.body, context);
842
- let contents = {};
843
- contents = de_SearchSystemInstancesResponse(data);
844
- const response = {
845
- $metadata: deserializeMetadata(output),
846
- ...contents,
847
- };
848
- return response;
849
- };
850
- const de_SearchSystemTemplatesCommand = async (output, context) => {
851
- if (output.statusCode >= 300) {
852
- return de_CommandError(output, context);
853
- }
854
- const data = await core$1.parseJsonBody(output.body, context);
855
- let contents = {};
856
- contents = de_SearchSystemTemplatesResponse(data);
857
- const response = {
858
- $metadata: deserializeMetadata(output),
859
- ...contents,
860
- };
861
- return response;
862
- };
863
- const de_SearchThingsCommand = async (output, context) => {
864
- if (output.statusCode >= 300) {
865
- return de_CommandError(output, context);
866
- }
867
- const data = await core$1.parseJsonBody(output.body, context);
868
- let contents = {};
869
- contents = smithyClient._json(data);
870
- const response = {
871
- $metadata: deserializeMetadata(output),
872
- ...contents,
873
- };
874
- return response;
875
- };
876
- const de_TagResourceCommand = async (output, context) => {
877
- if (output.statusCode >= 300) {
878
- return de_CommandError(output, context);
879
- }
880
- const data = await core$1.parseJsonBody(output.body, context);
881
- let contents = {};
882
- contents = smithyClient._json(data);
883
- const response = {
884
- $metadata: deserializeMetadata(output),
885
- ...contents,
886
- };
887
- return response;
888
- };
889
- const de_UndeploySystemInstanceCommand = async (output, context) => {
890
- if (output.statusCode >= 300) {
891
- return de_CommandError(output, context);
892
- }
893
- const data = await core$1.parseJsonBody(output.body, context);
894
- let contents = {};
895
- contents = de_UndeploySystemInstanceResponse(data);
896
- const response = {
897
- $metadata: deserializeMetadata(output),
898
- ...contents,
899
- };
900
- return response;
901
- };
902
- const de_UntagResourceCommand = async (output, context) => {
903
- if (output.statusCode >= 300) {
904
- return de_CommandError(output, context);
905
- }
906
- const data = await core$1.parseJsonBody(output.body, context);
907
- let contents = {};
908
- contents = smithyClient._json(data);
909
- const response = {
910
- $metadata: deserializeMetadata(output),
911
- ...contents,
912
- };
913
- return response;
914
- };
915
- const de_UpdateFlowTemplateCommand = async (output, context) => {
916
- if (output.statusCode >= 300) {
917
- return de_CommandError(output, context);
918
- }
919
- const data = await core$1.parseJsonBody(output.body, context);
920
- let contents = {};
921
- contents = de_UpdateFlowTemplateResponse(data);
922
- const response = {
923
- $metadata: deserializeMetadata(output),
924
- ...contents,
925
- };
926
- return response;
927
- };
928
- const de_UpdateSystemTemplateCommand = async (output, context) => {
929
- if (output.statusCode >= 300) {
930
- return de_CommandError(output, context);
931
- }
932
- const data = await core$1.parseJsonBody(output.body, context);
933
- let contents = {};
934
- contents = de_UpdateSystemTemplateResponse(data);
935
- const response = {
936
- $metadata: deserializeMetadata(output),
937
- ...contents,
938
- };
939
- return response;
940
- };
941
- const de_UploadEntityDefinitionsCommand = async (output, context) => {
942
- if (output.statusCode >= 300) {
943
- return de_CommandError(output, context);
944
- }
945
- const data = await core$1.parseJsonBody(output.body, context);
946
- let contents = {};
947
- contents = smithyClient._json(data);
948
- const response = {
949
- $metadata: deserializeMetadata(output),
950
- ...contents,
951
- };
952
- return response;
953
- };
954
- const de_CommandError = async (output, context) => {
955
- const parsedOutput = {
956
- ...output,
957
- body: await core$1.parseJsonErrorBody(output.body, context),
958
- };
959
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
960
- switch (errorCode) {
961
- case "InternalFailureException":
962
- case "com.amazonaws.iotthingsgraph#InternalFailureException":
963
- throw await de_InternalFailureExceptionRes(parsedOutput);
964
- case "InvalidRequestException":
965
- case "com.amazonaws.iotthingsgraph#InvalidRequestException":
966
- throw await de_InvalidRequestExceptionRes(parsedOutput);
967
- case "ResourceNotFoundException":
968
- case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
969
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
970
- case "ThrottlingException":
971
- case "com.amazonaws.iotthingsgraph#ThrottlingException":
972
- throw await de_ThrottlingExceptionRes(parsedOutput);
973
- case "LimitExceededException":
974
- case "com.amazonaws.iotthingsgraph#LimitExceededException":
975
- throw await de_LimitExceededExceptionRes(parsedOutput);
976
- case "ResourceAlreadyExistsException":
977
- case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
978
- throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput);
979
- case "ResourceInUseException":
980
- case "com.amazonaws.iotthingsgraph#ResourceInUseException":
981
- throw await de_ResourceInUseExceptionRes(parsedOutput);
982
- default:
983
- const parsedBody = parsedOutput.body;
984
- return throwDefaultError({
985
- output,
986
- parsedBody,
987
- errorCode,
988
- });
989
- }
990
- };
991
- const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
992
- const body = parsedOutput.body;
993
- const deserialized = smithyClient._json(body);
994
- const exception = new InternalFailureException({
995
- $metadata: deserializeMetadata(parsedOutput),
996
- ...deserialized,
997
- });
998
- return smithyClient.decorateServiceException(exception, body);
999
- };
1000
- const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
1001
- const body = parsedOutput.body;
1002
- const deserialized = smithyClient._json(body);
1003
- const exception = new InvalidRequestException({
1004
- $metadata: deserializeMetadata(parsedOutput),
1005
- ...deserialized,
1006
- });
1007
- return smithyClient.decorateServiceException(exception, body);
1008
- };
1009
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1010
- const body = parsedOutput.body;
1011
- const deserialized = smithyClient._json(body);
1012
- const exception = new LimitExceededException({
1013
- $metadata: deserializeMetadata(parsedOutput),
1014
- ...deserialized,
1015
- });
1016
- return smithyClient.decorateServiceException(exception, body);
1017
- };
1018
- const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1019
- const body = parsedOutput.body;
1020
- const deserialized = smithyClient._json(body);
1021
- const exception = new ResourceAlreadyExistsException({
1022
- $metadata: deserializeMetadata(parsedOutput),
1023
- ...deserialized,
1024
- });
1025
- return smithyClient.decorateServiceException(exception, body);
1026
- };
1027
- const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
1028
- const body = parsedOutput.body;
1029
- const deserialized = smithyClient._json(body);
1030
- const exception = new ResourceInUseException({
1031
- $metadata: deserializeMetadata(parsedOutput),
1032
- ...deserialized,
1033
- });
1034
- return smithyClient.decorateServiceException(exception, body);
1035
- };
1036
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1037
- const body = parsedOutput.body;
1038
- const deserialized = smithyClient._json(body);
1039
- const exception = new ResourceNotFoundException({
1040
- $metadata: deserializeMetadata(parsedOutput),
1041
- ...deserialized,
1042
- });
1043
- return smithyClient.decorateServiceException(exception, body);
1044
- };
1045
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1046
- const body = parsedOutput.body;
1047
- const deserialized = smithyClient._json(body);
1048
- const exception = new ThrottlingException({
1049
- $metadata: deserializeMetadata(parsedOutput),
1050
- ...deserialized,
1051
- });
1052
- return smithyClient.decorateServiceException(exception, body);
1053
- };
1054
- const se_SearchFlowExecutionsRequest = (input, context) => {
1055
- return smithyClient.take(input, {
1056
- endTime: (_) => _.getTime() / 1_000,
1057
- flowExecutionId: [],
1058
- maxResults: [],
1059
- nextToken: [],
1060
- startTime: (_) => _.getTime() / 1_000,
1061
- systemInstanceId: [],
1062
- });
1063
- };
1064
- const de_CreateFlowTemplateResponse = (output, context) => {
1065
- return smithyClient.take(output, {
1066
- summary: (_) => de_FlowTemplateSummary(_),
1067
- });
1068
- };
1069
- const de_CreateSystemInstanceResponse = (output, context) => {
1070
- return smithyClient.take(output, {
1071
- summary: (_) => de_SystemInstanceSummary(_),
1072
- });
1073
- };
1074
- const de_CreateSystemTemplateResponse = (output, context) => {
1075
- return smithyClient.take(output, {
1076
- summary: (_) => de_SystemTemplateSummary(_),
1077
- });
1078
- };
1079
- const de_DeploySystemInstanceResponse = (output, context) => {
1080
- return smithyClient.take(output, {
1081
- greengrassDeploymentId: smithyClient.expectString,
1082
- summary: (_) => de_SystemInstanceSummary(_),
1083
- });
1084
- };
1085
- const de_EntityDescription = (output, context) => {
1086
- return smithyClient.take(output, {
1087
- arn: smithyClient.expectString,
1088
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1089
- definition: smithyClient._json,
1090
- id: smithyClient.expectString,
1091
- type: smithyClient.expectString,
1092
- });
1093
- };
1094
- const de_EntityDescriptions = (output, context) => {
1095
- const retVal = (output || [])
1096
- .filter((e) => e != null)
1097
- .map((entry) => {
1098
- return de_EntityDescription(entry);
1099
- });
1100
- return retVal;
1101
- };
1102
- const de_FlowExecutionMessage = (output, context) => {
1103
- return smithyClient.take(output, {
1104
- eventType: smithyClient.expectString,
1105
- messageId: smithyClient.expectString,
1106
- payload: smithyClient.expectString,
1107
- timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1108
- });
1109
- };
1110
- const de_FlowExecutionMessages = (output, context) => {
1111
- const retVal = (output || [])
1112
- .filter((e) => e != null)
1113
- .map((entry) => {
1114
- return de_FlowExecutionMessage(entry);
1115
- });
1116
- return retVal;
1117
- };
1118
- const de_FlowExecutionSummaries = (output, context) => {
1119
- const retVal = (output || [])
1120
- .filter((e) => e != null)
1121
- .map((entry) => {
1122
- return de_FlowExecutionSummary(entry);
1123
- });
1124
- return retVal;
1125
- };
1126
- const de_FlowExecutionSummary = (output, context) => {
1127
- return smithyClient.take(output, {
1128
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1129
- flowExecutionId: smithyClient.expectString,
1130
- flowTemplateId: smithyClient.expectString,
1131
- status: smithyClient.expectString,
1132
- systemInstanceId: smithyClient.expectString,
1133
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1134
- });
1135
- };
1136
- const de_FlowTemplateDescription = (output, context) => {
1137
- return smithyClient.take(output, {
1138
- definition: smithyClient._json,
1139
- summary: (_) => de_FlowTemplateSummary(_),
1140
- validatedNamespaceVersion: smithyClient.expectLong,
1141
- });
1142
- };
1143
- const de_FlowTemplateSummaries = (output, context) => {
1144
- const retVal = (output || [])
1145
- .filter((e) => e != null)
1146
- .map((entry) => {
1147
- return de_FlowTemplateSummary(entry);
1148
- });
1149
- return retVal;
1150
- };
1151
- const de_FlowTemplateSummary = (output, context) => {
1152
- return smithyClient.take(output, {
1153
- arn: smithyClient.expectString,
1154
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1155
- id: smithyClient.expectString,
1156
- revisionNumber: smithyClient.expectLong,
1157
- });
1158
- };
1159
- const de_GetEntitiesResponse = (output, context) => {
1160
- return smithyClient.take(output, {
1161
- descriptions: (_) => de_EntityDescriptions(_),
1162
- });
1163
- };
1164
- const de_GetFlowTemplateResponse = (output, context) => {
1165
- return smithyClient.take(output, {
1166
- description: (_) => de_FlowTemplateDescription(_),
1167
- });
1168
- };
1169
- const de_GetFlowTemplateRevisionsResponse = (output, context) => {
1170
- return smithyClient.take(output, {
1171
- nextToken: smithyClient.expectString,
1172
- summaries: (_) => de_FlowTemplateSummaries(_),
1173
- });
1174
- };
1175
- const de_GetSystemInstanceResponse = (output, context) => {
1176
- return smithyClient.take(output, {
1177
- description: (_) => de_SystemInstanceDescription(_),
1178
- });
1179
- };
1180
- const de_GetSystemTemplateResponse = (output, context) => {
1181
- return smithyClient.take(output, {
1182
- description: (_) => de_SystemTemplateDescription(_),
1183
- });
1184
- };
1185
- const de_GetSystemTemplateRevisionsResponse = (output, context) => {
1186
- return smithyClient.take(output, {
1187
- nextToken: smithyClient.expectString,
1188
- summaries: (_) => de_SystemTemplateSummaries(_),
1189
- });
1190
- };
1191
- const de_GetUploadStatusResponse = (output, context) => {
1192
- return smithyClient.take(output, {
1193
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1194
- failureReason: smithyClient._json,
1195
- namespaceArn: smithyClient.expectString,
1196
- namespaceName: smithyClient.expectString,
1197
- namespaceVersion: smithyClient.expectLong,
1198
- uploadId: smithyClient.expectString,
1199
- uploadStatus: smithyClient.expectString,
1200
- });
1201
- };
1202
- const de_ListFlowExecutionMessagesResponse = (output, context) => {
1203
- return smithyClient.take(output, {
1204
- messages: (_) => de_FlowExecutionMessages(_),
1205
- nextToken: smithyClient.expectString,
1206
- });
1207
- };
1208
- const de_SearchEntitiesResponse = (output, context) => {
1209
- return smithyClient.take(output, {
1210
- descriptions: (_) => de_EntityDescriptions(_),
1211
- nextToken: smithyClient.expectString,
1212
- });
1213
- };
1214
- const de_SearchFlowExecutionsResponse = (output, context) => {
1215
- return smithyClient.take(output, {
1216
- nextToken: smithyClient.expectString,
1217
- summaries: (_) => de_FlowExecutionSummaries(_),
1218
- });
1219
- };
1220
- const de_SearchFlowTemplatesResponse = (output, context) => {
1221
- return smithyClient.take(output, {
1222
- nextToken: smithyClient.expectString,
1223
- summaries: (_) => de_FlowTemplateSummaries(_),
1224
- });
1225
- };
1226
- const de_SearchSystemInstancesResponse = (output, context) => {
1227
- return smithyClient.take(output, {
1228
- nextToken: smithyClient.expectString,
1229
- summaries: (_) => de_SystemInstanceSummaries(_),
1230
- });
1231
- };
1232
- const de_SearchSystemTemplatesResponse = (output, context) => {
1233
- return smithyClient.take(output, {
1234
- nextToken: smithyClient.expectString,
1235
- summaries: (_) => de_SystemTemplateSummaries(_),
1236
- });
1237
- };
1238
- const de_SystemInstanceDescription = (output, context) => {
1239
- return smithyClient.take(output, {
1240
- definition: smithyClient._json,
1241
- flowActionsRoleArn: smithyClient.expectString,
1242
- metricsConfiguration: smithyClient._json,
1243
- s3BucketName: smithyClient.expectString,
1244
- summary: (_) => de_SystemInstanceSummary(_),
1245
- validatedDependencyRevisions: smithyClient._json,
1246
- validatedNamespaceVersion: smithyClient.expectLong,
1247
- });
1248
- };
1249
- const de_SystemInstanceSummaries = (output, context) => {
1250
- const retVal = (output || [])
1251
- .filter((e) => e != null)
1252
- .map((entry) => {
1253
- return de_SystemInstanceSummary(entry);
1254
- });
1255
- return retVal;
1256
- };
1257
- const de_SystemInstanceSummary = (output, context) => {
1258
- return smithyClient.take(output, {
1259
- arn: smithyClient.expectString,
1260
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1261
- greengrassGroupId: smithyClient.expectString,
1262
- greengrassGroupName: smithyClient.expectString,
1263
- greengrassGroupVersionId: smithyClient.expectString,
1264
- id: smithyClient.expectString,
1265
- status: smithyClient.expectString,
1266
- target: smithyClient.expectString,
1267
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1268
- });
1269
- };
1270
- const de_SystemTemplateDescription = (output, context) => {
1271
- return smithyClient.take(output, {
1272
- definition: smithyClient._json,
1273
- summary: (_) => de_SystemTemplateSummary(_),
1274
- validatedNamespaceVersion: smithyClient.expectLong,
1275
- });
1276
- };
1277
- const de_SystemTemplateSummaries = (output, context) => {
1278
- const retVal = (output || [])
1279
- .filter((e) => e != null)
1280
- .map((entry) => {
1281
- return de_SystemTemplateSummary(entry);
1282
- });
1283
- return retVal;
1284
- };
1285
- const de_SystemTemplateSummary = (output, context) => {
1286
- return smithyClient.take(output, {
1287
- arn: smithyClient.expectString,
1288
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1289
- id: smithyClient.expectString,
1290
- revisionNumber: smithyClient.expectLong,
1291
- });
1292
- };
1293
- const de_UndeploySystemInstanceResponse = (output, context) => {
1294
- return smithyClient.take(output, {
1295
- summary: (_) => de_SystemInstanceSummary(_),
1296
- });
1297
- };
1298
- const de_UpdateFlowTemplateResponse = (output, context) => {
1299
- return smithyClient.take(output, {
1300
- summary: (_) => de_FlowTemplateSummary(_),
1301
- });
1302
- };
1303
- const de_UpdateSystemTemplateResponse = (output, context) => {
1304
- return smithyClient.take(output, {
1305
- summary: (_) => de_SystemTemplateSummary(_),
1306
- });
1307
- };
1308
- const deserializeMetadata = (output) => ({
1309
- httpStatusCode: output.statusCode,
1310
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1311
- extendedRequestId: output.headers["x-amz-id-2"],
1312
- cfId: output.headers["x-amz-cf-id"],
1313
- });
1314
- const throwDefaultError = smithyClient.withBaseException(IoTThingsGraphServiceException);
1315
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1316
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1317
- const contents = {
1318
- protocol,
1319
- hostname,
1320
- port,
1321
- method: "POST",
1322
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1323
- headers,
1324
- };
1325
- if (body !== undefined) {
1326
- contents.body = body;
1327
- }
1328
- return new protocolHttp.HttpRequest(contents);
1329
- };
1330
- function sharedHeaders(operation) {
1331
- return {
1332
- "content-type": "application/x-amz-json-1.1",
1333
- "x-amz-target": `IotThingsGraphFrontEndService.${operation}`,
1334
- };
1335
- }
289
+ const _AETT = "AssociateEntityToThing";
290
+ const _AETTR = "AssociateEntityToThingRequest";
291
+ const _AETTRs = "AssociateEntityToThingResponse";
292
+ const _CFT = "CreateFlowTemplate";
293
+ const _CFTR = "CreateFlowTemplateRequest";
294
+ const _CFTRr = "CreateFlowTemplateResponse";
295
+ const _CSI = "CreateSystemInstance";
296
+ const _CSIR = "CreateSystemInstanceRequest";
297
+ const _CSIRr = "CreateSystemInstanceResponse";
298
+ const _CST = "CreateSystemTemplate";
299
+ const _CSTR = "CreateSystemTemplateRequest";
300
+ const _CSTRr = "CreateSystemTemplateResponse";
301
+ const _DD = "DefinitionDocument";
302
+ const _DEFT = "DissociateEntityFromThing";
303
+ const _DEFTR = "DissociateEntityFromThingRequest";
304
+ const _DEFTRi = "DissociateEntityFromThingResponse";
305
+ const _DFT = "DeleteFlowTemplate";
306
+ const _DFTR = "DeleteFlowTemplateRequest";
307
+ const _DFTRe = "DeleteFlowTemplateResponse";
308
+ const _DFTRep = "DeprecateFlowTemplateRequest";
309
+ const _DFTRepr = "DeprecateFlowTemplateResponse";
310
+ const _DFTe = "DeprecateFlowTemplate";
311
+ const _DN = "DeleteNamespace";
312
+ const _DNR = "DeleteNamespaceRequest";
313
+ const _DNRe = "DeleteNamespaceResponse";
314
+ const _DNRes = "DescribeNamespaceRequest";
315
+ const _DNResc = "DescribeNamespaceResponse";
316
+ const _DNe = "DescribeNamespace";
317
+ const _DR = "DependencyRevision";
318
+ const _DRe = "DependencyRevisions";
319
+ const _DSI = "DeleteSystemInstance";
320
+ const _DSIR = "DeleteSystemInstanceRequest";
321
+ const _DSIRe = "DeleteSystemInstanceResponse";
322
+ const _DSIRep = "DeploySystemInstanceRequest";
323
+ const _DSIRepl = "DeploySystemInstanceResponse";
324
+ const _DSIe = "DeploySystemInstance";
325
+ const _DST = "DeleteSystemTemplate";
326
+ const _DSTR = "DeleteSystemTemplateRequest";
327
+ const _DSTRe = "DeleteSystemTemplateResponse";
328
+ const _DSTRep = "DeprecateSystemTemplateRequest";
329
+ const _DSTRepr = "DeprecateSystemTemplateResponse";
330
+ const _DSTe = "DeprecateSystemTemplate";
331
+ const _ED = "EntityDescription";
332
+ const _EDn = "EntityDescriptions";
333
+ const _EF = "EntityFilter";
334
+ const _EFn = "EntityFilters";
335
+ const _FEM = "FlowExecutionMessage";
336
+ const _FEMl = "FlowExecutionMessages";
337
+ const _FES = "FlowExecutionSummary";
338
+ const _FESl = "FlowExecutionSummaries";
339
+ const _FTD = "FlowTemplateDescription";
340
+ const _FTF = "FlowTemplateFilter";
341
+ const _FTFl = "FlowTemplateFilters";
342
+ const _FTS = "FlowTemplateSummary";
343
+ const _FTSl = "FlowTemplateSummaries";
344
+ const _GE = "GetEntities";
345
+ const _GER = "GetEntitiesRequest";
346
+ const _GERe = "GetEntitiesResponse";
347
+ const _GFT = "GetFlowTemplate";
348
+ const _GFTR = "GetFlowTemplateRequest";
349
+ const _GFTRR = "GetFlowTemplateRevisionsRequest";
350
+ const _GFTRRe = "GetFlowTemplateRevisionsResponse";
351
+ const _GFTRe = "GetFlowTemplateResponse";
352
+ const _GFTRet = "GetFlowTemplateRevisions";
353
+ const _GNDS = "GetNamespaceDeletionStatus";
354
+ const _GNDSR = "GetNamespaceDeletionStatusRequest";
355
+ const _GNDSRe = "GetNamespaceDeletionStatusResponse";
356
+ const _GSI = "GetSystemInstance";
357
+ const _GSIR = "GetSystemInstanceRequest";
358
+ const _GSIRe = "GetSystemInstanceResponse";
359
+ const _GST = "GetSystemTemplate";
360
+ const _GSTR = "GetSystemTemplateRequest";
361
+ const _GSTRR = "GetSystemTemplateRevisionsRequest";
362
+ const _GSTRRe = "GetSystemTemplateRevisionsResponse";
363
+ const _GSTRe = "GetSystemTemplateResponse";
364
+ const _GSTRet = "GetSystemTemplateRevisions";
365
+ const _GUS = "GetUploadStatus";
366
+ const _GUSR = "GetUploadStatusRequest";
367
+ const _GUSRe = "GetUploadStatusResponse";
368
+ const _IFE = "InternalFailureException";
369
+ const _IRE = "InvalidRequestException";
370
+ const _LEE = "LimitExceededException";
371
+ const _LFEM = "ListFlowExecutionMessages";
372
+ const _LFEMR = "ListFlowExecutionMessagesRequest";
373
+ const _LFEMRi = "ListFlowExecutionMessagesResponse";
374
+ const _LTFR = "ListTagsForResource";
375
+ const _LTFRR = "ListTagsForResourceRequest";
376
+ const _LTFRRi = "ListTagsForResourceResponse";
377
+ const _MC = "MetricsConfiguration";
378
+ const _RAEE = "ResourceAlreadyExistsException";
379
+ const _RIUE = "ResourceInUseException";
380
+ const _RNFE = "ResourceNotFoundException";
381
+ const _SE = "SearchEntities";
382
+ const _SER = "SearchEntitiesRequest";
383
+ const _SERe = "SearchEntitiesResponse";
384
+ const _SFE = "SearchFlowExecutions";
385
+ const _SFER = "SearchFlowExecutionsRequest";
386
+ const _SFERe = "SearchFlowExecutionsResponse";
387
+ const _SFT = "SearchFlowTemplates";
388
+ const _SFTR = "SearchFlowTemplatesRequest";
389
+ const _SFTRe = "SearchFlowTemplatesResponse";
390
+ const _SID = "SystemInstanceDescription";
391
+ const _SIF = "SystemInstanceFilter";
392
+ const _SIFy = "SystemInstanceFilters";
393
+ const _SIS = "SystemInstanceSummary";
394
+ const _SISy = "SystemInstanceSummaries";
395
+ const _SSI = "SearchSystemInstances";
396
+ const _SSIR = "SearchSystemInstancesRequest";
397
+ const _SSIRe = "SearchSystemInstancesResponse";
398
+ const _SST = "SearchSystemTemplates";
399
+ const _SSTR = "SearchSystemTemplatesRequest";
400
+ const _SSTRe = "SearchSystemTemplatesResponse";
401
+ const _ST = "SearchThings";
402
+ const _STD = "SystemTemplateDescription";
403
+ const _STF = "SystemTemplateFilter";
404
+ const _STFy = "SystemTemplateFilters";
405
+ const _STR = "SearchThingsRequest";
406
+ const _STRe = "SearchThingsResponse";
407
+ const _STS = "SystemTemplateSummary";
408
+ const _STSy = "SystemTemplateSummaries";
409
+ const _T = "Tag";
410
+ const _TE = "ThrottlingException";
411
+ const _TL = "TagList";
412
+ const _TR = "TagResource";
413
+ const _TRR = "TagResourceRequest";
414
+ const _TRRa = "TagResourceResponse";
415
+ const _Th = "Thing";
416
+ const _Thi = "Things";
417
+ const _UED = "UploadEntityDefinitions";
418
+ const _UEDR = "UploadEntityDefinitionsRequest";
419
+ const _UEDRp = "UploadEntityDefinitionsResponse";
420
+ const _UFT = "UpdateFlowTemplate";
421
+ const _UFTR = "UpdateFlowTemplateRequest";
422
+ const _UFTRp = "UpdateFlowTemplateResponse";
423
+ const _UR = "UntagResource";
424
+ const _URR = "UntagResourceRequest";
425
+ const _URRn = "UntagResourceResponse";
426
+ const _USI = "UndeploySystemInstance";
427
+ const _USIR = "UndeploySystemInstanceRequest";
428
+ const _USIRn = "UndeploySystemInstanceResponse";
429
+ const _UST = "UpdateSystemTemplate";
430
+ const _USTR = "UpdateSystemTemplateRequest";
431
+ const _USTRp = "UpdateSystemTemplateResponse";
432
+ const _a = "arn";
433
+ const _c = "client";
434
+ const _cA = "createdAt";
435
+ const _cD = "createdDate";
436
+ const _cME = "cloudMetricEnabled";
437
+ const _cNV = "compatibleNamespaceVersion";
438
+ const _d = "definition";
439
+ const _dEE = "deprecateExistingEntities";
440
+ const _de = "descriptions";
441
+ const _des = "description";
442
+ const _do = "document";
443
+ const _e = "error";
444
+ const _eC = "errorCode";
445
+ const _eI = "entityId";
446
+ const _eM = "errorMessage";
447
+ const _eT = "entityType";
448
+ const _eTn = "entityTypes";
449
+ const _eTnd = "endTime";
450
+ const _eTv = "eventType";
451
+ const _f = "filters";
452
+ const _fARA = "flowActionsRoleArn";
453
+ const _fEI = "flowExecutionId";
454
+ const _fR = "failureReason";
455
+ const _fTI = "flowTemplateId";
456
+ const _gDI = "greengrassDeploymentId";
457
+ const _gGI = "greengrassGroupId";
458
+ const _gGN = "greengrassGroupName";
459
+ const _gGVI = "greengrassGroupVersionId";
460
+ const _hE = "httpError";
461
+ const _i = "id";
462
+ const _id = "ids";
463
+ const _k = "key";
464
+ const _l = "language";
465
+ const _m = "message";
466
+ const _mC = "metricsConfiguration";
467
+ const _mI = "messageId";
468
+ const _mR = "maxResults";
469
+ const _mRRA = "metricRuleRoleArn";
470
+ const _me = "messages";
471
+ const _n = "name";
472
+ const _nA = "namespaceArn";
473
+ const _nN = "namespaceName";
474
+ const _nT = "nextToken";
475
+ const _nV = "namespaceVersion";
476
+ const _p = "payload";
477
+ const _rA = "resourceArn";
478
+ const _rN = "revisionNumber";
479
+ const _s = "summary";
480
+ const _sBN = "s3BucketName";
481
+ const _sII = "systemInstanceId";
482
+ const _sT = "startTime";
483
+ const _sWPN = "syncWithPublicNamespace";
484
+ const _se = "server";
485
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.iotthingsgraph";
486
+ const _st = "status";
487
+ const _su = "summaries";
488
+ const _t = "tags";
489
+ const _tA = "thingArn";
490
+ const _tK = "tagKeys";
491
+ const _tN = "thingName";
492
+ const _tNN = "trackingNamespaceName";
493
+ const _tNV = "trackingNamespaceVersion";
494
+ const _ta = "target";
495
+ const _te = "text";
496
+ const _th = "things";
497
+ const _ti = "timestamp";
498
+ const _ty = "type";
499
+ const _uA = "updatedAt";
500
+ const _uI = "uploadId";
501
+ const _uS = "uploadStatus";
502
+ const _v = "value";
503
+ const _vDR = "validatedDependencyRevisions";
504
+ const _vNV = "validatedNamespaceVersion";
505
+ const n0 = "com.amazonaws.iotthingsgraph";
506
+ var AssociateEntityToThingRequest = [3, n0, _AETTR, 0, [_tN, _eI, _nV], [0, 0, 1]];
507
+ var AssociateEntityToThingResponse = [3, n0, _AETTRs, 0, [], []];
508
+ var CreateFlowTemplateRequest = [
509
+ 3,
510
+ n0,
511
+ _CFTR,
512
+ 0,
513
+ [_d, _cNV],
514
+ [() => DefinitionDocument, 1],
515
+ ];
516
+ var CreateFlowTemplateResponse = [3, n0, _CFTRr, 0, [_s], [() => FlowTemplateSummary]];
517
+ var CreateSystemInstanceRequest = [
518
+ 3,
519
+ n0,
520
+ _CSIR,
521
+ 0,
522
+ [_t, _d, _ta, _gGN, _sBN, _mC, _fARA],
523
+ [() => TagList, () => DefinitionDocument, 0, 0, 0, () => MetricsConfiguration, 0],
524
+ ];
525
+ var CreateSystemInstanceResponse = [
526
+ 3,
527
+ n0,
528
+ _CSIRr,
529
+ 0,
530
+ [_s],
531
+ [() => SystemInstanceSummary],
532
+ ];
533
+ var CreateSystemTemplateRequest = [
534
+ 3,
535
+ n0,
536
+ _CSTR,
537
+ 0,
538
+ [_d, _cNV],
539
+ [() => DefinitionDocument, 1],
540
+ ];
541
+ var CreateSystemTemplateResponse = [
542
+ 3,
543
+ n0,
544
+ _CSTRr,
545
+ 0,
546
+ [_s],
547
+ [() => SystemTemplateSummary],
548
+ ];
549
+ var DefinitionDocument = [3, n0, _DD, 0, [_l, _te], [0, 0]];
550
+ var DeleteFlowTemplateRequest = [3, n0, _DFTR, 0, [_i], [0]];
551
+ var DeleteFlowTemplateResponse = [3, n0, _DFTRe, 0, [], []];
552
+ var DeleteNamespaceRequest = [3, n0, _DNR, 0, [], []];
553
+ var DeleteNamespaceResponse = [3, n0, _DNRe, 0, [_nA, _nN], [0, 0]];
554
+ var DeleteSystemInstanceRequest = [3, n0, _DSIR, 0, [_i], [0]];
555
+ var DeleteSystemInstanceResponse = [3, n0, _DSIRe, 0, [], []];
556
+ var DeleteSystemTemplateRequest = [3, n0, _DSTR, 0, [_i], [0]];
557
+ var DeleteSystemTemplateResponse = [3, n0, _DSTRe, 0, [], []];
558
+ var DependencyRevision = [3, n0, _DR, 0, [_i, _rN], [0, 1]];
559
+ var DeploySystemInstanceRequest = [3, n0, _DSIRep, 0, [_i], [0]];
560
+ var DeploySystemInstanceResponse = [
561
+ 3,
562
+ n0,
563
+ _DSIRepl,
564
+ 0,
565
+ [_s, _gDI],
566
+ [() => SystemInstanceSummary, 0],
567
+ ];
568
+ var DeprecateFlowTemplateRequest = [3, n0, _DFTRep, 0, [_i], [0]];
569
+ var DeprecateFlowTemplateResponse = [3, n0, _DFTRepr, 0, [], []];
570
+ var DeprecateSystemTemplateRequest = [3, n0, _DSTRep, 0, [_i], [0]];
571
+ var DeprecateSystemTemplateResponse = [3, n0, _DSTRepr, 0, [], []];
572
+ var DescribeNamespaceRequest = [3, n0, _DNRes, 0, [_nN], [0]];
573
+ var DescribeNamespaceResponse = [
574
+ 3,
575
+ n0,
576
+ _DNResc,
577
+ 0,
578
+ [_nA, _nN, _tNN, _tNV, _nV],
579
+ [0, 0, 0, 1, 1],
580
+ ];
581
+ var DissociateEntityFromThingRequest = [3, n0, _DEFTR, 0, [_tN, _eT], [0, 0]];
582
+ var DissociateEntityFromThingResponse = [3, n0, _DEFTRi, 0, [], []];
583
+ var EntityDescription = [
584
+ 3,
585
+ n0,
586
+ _ED,
587
+ 0,
588
+ [_i, _a, _ty, _cA, _d],
589
+ [0, 0, 0, 4, () => DefinitionDocument],
590
+ ];
591
+ var EntityFilter = [3, n0, _EF, 0, [_n, _v], [0, 64 | 0]];
592
+ var FlowExecutionMessage = [3, n0, _FEM, 0, [_mI, _eTv, _ti, _p], [0, 0, 4, 0]];
593
+ var FlowExecutionSummary = [
594
+ 3,
595
+ n0,
596
+ _FES,
597
+ 0,
598
+ [_fEI, _st, _sII, _fTI, _cA, _uA],
599
+ [0, 0, 0, 0, 4, 4],
600
+ ];
601
+ var FlowTemplateDescription = [
602
+ 3,
603
+ n0,
604
+ _FTD,
605
+ 0,
606
+ [_s, _d, _vNV],
607
+ [() => FlowTemplateSummary, () => DefinitionDocument, 1],
608
+ ];
609
+ var FlowTemplateFilter = [3, n0, _FTF, 0, [_n, _v], [0, 64 | 0]];
610
+ var FlowTemplateSummary = [3, n0, _FTS, 0, [_i, _a, _rN, _cA], [0, 0, 1, 4]];
611
+ var GetEntitiesRequest = [3, n0, _GER, 0, [_id, _nV], [64 | 0, 1]];
612
+ var GetEntitiesResponse = [3, n0, _GERe, 0, [_de], [() => EntityDescriptions]];
613
+ var GetFlowTemplateRequest = [3, n0, _GFTR, 0, [_i, _rN], [0, 1]];
614
+ var GetFlowTemplateResponse = [3, n0, _GFTRe, 0, [_des], [() => FlowTemplateDescription]];
615
+ var GetFlowTemplateRevisionsRequest = [3, n0, _GFTRR, 0, [_i, _nT, _mR], [0, 0, 1]];
616
+ var GetFlowTemplateRevisionsResponse = [
617
+ 3,
618
+ n0,
619
+ _GFTRRe,
620
+ 0,
621
+ [_su, _nT],
622
+ [() => FlowTemplateSummaries, 0],
623
+ ];
624
+ var GetNamespaceDeletionStatusRequest = [3, n0, _GNDSR, 0, [], []];
625
+ var GetNamespaceDeletionStatusResponse = [
626
+ 3,
627
+ n0,
628
+ _GNDSRe,
629
+ 0,
630
+ [_nA, _nN, _st, _eC, _eM],
631
+ [0, 0, 0, 0, 0],
632
+ ];
633
+ var GetSystemInstanceRequest = [3, n0, _GSIR, 0, [_i], [0]];
634
+ var GetSystemInstanceResponse = [
635
+ 3,
636
+ n0,
637
+ _GSIRe,
638
+ 0,
639
+ [_des],
640
+ [() => SystemInstanceDescription],
641
+ ];
642
+ var GetSystemTemplateRequest = [3, n0, _GSTR, 0, [_i, _rN], [0, 1]];
643
+ var GetSystemTemplateResponse = [
644
+ 3,
645
+ n0,
646
+ _GSTRe,
647
+ 0,
648
+ [_des],
649
+ [() => SystemTemplateDescription],
650
+ ];
651
+ var GetSystemTemplateRevisionsRequest = [3, n0, _GSTRR, 0, [_i, _nT, _mR], [0, 0, 1]];
652
+ var GetSystemTemplateRevisionsResponse = [
653
+ 3,
654
+ n0,
655
+ _GSTRRe,
656
+ 0,
657
+ [_su, _nT],
658
+ [() => SystemTemplateSummaries, 0],
659
+ ];
660
+ var GetUploadStatusRequest = [3, n0, _GUSR, 0, [_uI], [0]];
661
+ var GetUploadStatusResponse = [
662
+ 3,
663
+ n0,
664
+ _GUSRe,
665
+ 0,
666
+ [_uI, _uS, _nA, _nN, _nV, _fR, _cD],
667
+ [0, 0, 0, 0, 1, 64 | 0, 4],
668
+ ];
669
+ var InternalFailureException = [
670
+ -3,
671
+ n0,
672
+ _IFE,
673
+ {
674
+ [_e]: _se,
675
+ [_hE]: 500,
676
+ },
677
+ [_m],
678
+ [0],
679
+ ];
680
+ schema.TypeRegistry.for(n0).registerError(InternalFailureException, InternalFailureException$1);
681
+ var InvalidRequestException = [
682
+ -3,
683
+ n0,
684
+ _IRE,
685
+ {
686
+ [_e]: _c,
687
+ [_hE]: 400,
688
+ },
689
+ [_m],
690
+ [0],
691
+ ];
692
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
693
+ var LimitExceededException = [
694
+ -3,
695
+ n0,
696
+ _LEE,
697
+ {
698
+ [_e]: _c,
699
+ [_hE]: 410,
700
+ },
701
+ [_m],
702
+ [0],
703
+ ];
704
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
705
+ var ListFlowExecutionMessagesRequest = [3, n0, _LFEMR, 0, [_fEI, _nT, _mR], [0, 0, 1]];
706
+ var ListFlowExecutionMessagesResponse = [
707
+ 3,
708
+ n0,
709
+ _LFEMRi,
710
+ 0,
711
+ [_me, _nT],
712
+ [() => FlowExecutionMessages, 0],
713
+ ];
714
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_mR, _rA, _nT], [1, 0, 0]];
715
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t, _nT], [() => TagList, 0]];
716
+ var MetricsConfiguration = [3, n0, _MC, 0, [_cME, _mRRA], [2, 0]];
717
+ var ResourceAlreadyExistsException = [
718
+ -3,
719
+ n0,
720
+ _RAEE,
721
+ {
722
+ [_e]: _c,
723
+ [_hE]: 409,
724
+ },
725
+ [_m],
726
+ [0],
727
+ ];
728
+ schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException, ResourceAlreadyExistsException$1);
729
+ var ResourceInUseException = [
730
+ -3,
731
+ n0,
732
+ _RIUE,
733
+ {
734
+ [_e]: _c,
735
+ [_hE]: 412,
736
+ },
737
+ [_m],
738
+ [0],
739
+ ];
740
+ schema.TypeRegistry.for(n0).registerError(ResourceInUseException, ResourceInUseException$1);
741
+ var ResourceNotFoundException = [
742
+ -3,
743
+ n0,
744
+ _RNFE,
745
+ {
746
+ [_e]: _c,
747
+ [_hE]: 404,
748
+ },
749
+ [_m],
750
+ [0],
751
+ ];
752
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
753
+ var SearchEntitiesRequest = [
754
+ 3,
755
+ n0,
756
+ _SER,
757
+ 0,
758
+ [_eTn, _f, _nT, _mR, _nV],
759
+ [64 | 0, () => EntityFilters, 0, 1, 1],
760
+ ];
761
+ var SearchEntitiesResponse = [3, n0, _SERe, 0, [_de, _nT], [() => EntityDescriptions, 0]];
762
+ var SearchFlowExecutionsRequest = [
763
+ 3,
764
+ n0,
765
+ _SFER,
766
+ 0,
767
+ [_sII, _fEI, _sT, _eTnd, _nT, _mR],
768
+ [0, 0, 4, 4, 0, 1],
769
+ ];
770
+ var SearchFlowExecutionsResponse = [
771
+ 3,
772
+ n0,
773
+ _SFERe,
774
+ 0,
775
+ [_su, _nT],
776
+ [() => FlowExecutionSummaries, 0],
777
+ ];
778
+ var SearchFlowTemplatesRequest = [
779
+ 3,
780
+ n0,
781
+ _SFTR,
782
+ 0,
783
+ [_f, _nT, _mR],
784
+ [() => FlowTemplateFilters, 0, 1],
785
+ ];
786
+ var SearchFlowTemplatesResponse = [
787
+ 3,
788
+ n0,
789
+ _SFTRe,
790
+ 0,
791
+ [_su, _nT],
792
+ [() => FlowTemplateSummaries, 0],
793
+ ];
794
+ var SearchSystemInstancesRequest = [
795
+ 3,
796
+ n0,
797
+ _SSIR,
798
+ 0,
799
+ [_f, _nT, _mR],
800
+ [() => SystemInstanceFilters, 0, 1],
801
+ ];
802
+ var SearchSystemInstancesResponse = [
803
+ 3,
804
+ n0,
805
+ _SSIRe,
806
+ 0,
807
+ [_su, _nT],
808
+ [() => SystemInstanceSummaries, 0],
809
+ ];
810
+ var SearchSystemTemplatesRequest = [
811
+ 3,
812
+ n0,
813
+ _SSTR,
814
+ 0,
815
+ [_f, _nT, _mR],
816
+ [() => SystemTemplateFilters, 0, 1],
817
+ ];
818
+ var SearchSystemTemplatesResponse = [
819
+ 3,
820
+ n0,
821
+ _SSTRe,
822
+ 0,
823
+ [_su, _nT],
824
+ [() => SystemTemplateSummaries, 0],
825
+ ];
826
+ var SearchThingsRequest = [3, n0, _STR, 0, [_eI, _nT, _mR, _nV], [0, 0, 1, 1]];
827
+ var SearchThingsResponse = [3, n0, _STRe, 0, [_th, _nT], [() => Things, 0]];
828
+ var SystemInstanceDescription = [
829
+ 3,
830
+ n0,
831
+ _SID,
832
+ 0,
833
+ [_s, _d, _sBN, _mC, _vNV, _vDR, _fARA],
834
+ [
835
+ () => SystemInstanceSummary,
836
+ () => DefinitionDocument,
837
+ 0,
838
+ () => MetricsConfiguration,
839
+ 1,
840
+ () => DependencyRevisions,
841
+ 0,
842
+ ],
843
+ ];
844
+ var SystemInstanceFilter = [3, n0, _SIF, 0, [_n, _v], [0, 64 | 0]];
845
+ var SystemInstanceSummary = [
846
+ 3,
847
+ n0,
848
+ _SIS,
849
+ 0,
850
+ [_i, _a, _st, _ta, _gGN, _cA, _uA, _gGI, _gGVI],
851
+ [0, 0, 0, 0, 0, 4, 4, 0, 0],
852
+ ];
853
+ var SystemTemplateDescription = [
854
+ 3,
855
+ n0,
856
+ _STD,
857
+ 0,
858
+ [_s, _d, _vNV],
859
+ [() => SystemTemplateSummary, () => DefinitionDocument, 1],
860
+ ];
861
+ var SystemTemplateFilter = [3, n0, _STF, 0, [_n, _v], [0, 64 | 0]];
862
+ var SystemTemplateSummary = [3, n0, _STS, 0, [_i, _a, _rN, _cA], [0, 0, 1, 4]];
863
+ var Tag = [3, n0, _T, 0, [_k, _v], [0, 0]];
864
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [0, () => TagList]];
865
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
866
+ var Thing = [3, n0, _Th, 0, [_tA, _tN], [0, 0]];
867
+ var ThrottlingException = [
868
+ -3,
869
+ n0,
870
+ _TE,
871
+ {
872
+ [_e]: _c,
873
+ [_hE]: 429,
874
+ },
875
+ [_m],
876
+ [0],
877
+ ];
878
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
879
+ var UndeploySystemInstanceRequest = [3, n0, _USIR, 0, [_i], [0]];
880
+ var UndeploySystemInstanceResponse = [
881
+ 3,
882
+ n0,
883
+ _USIRn,
884
+ 0,
885
+ [_s],
886
+ [() => SystemInstanceSummary],
887
+ ];
888
+ var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _tK], [0, 64 | 0]];
889
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
890
+ var UpdateFlowTemplateRequest = [
891
+ 3,
892
+ n0,
893
+ _UFTR,
894
+ 0,
895
+ [_i, _d, _cNV],
896
+ [0, () => DefinitionDocument, 1],
897
+ ];
898
+ var UpdateFlowTemplateResponse = [3, n0, _UFTRp, 0, [_s], [() => FlowTemplateSummary]];
899
+ var UpdateSystemTemplateRequest = [
900
+ 3,
901
+ n0,
902
+ _USTR,
903
+ 0,
904
+ [_i, _d, _cNV],
905
+ [0, () => DefinitionDocument, 1],
906
+ ];
907
+ var UpdateSystemTemplateResponse = [
908
+ 3,
909
+ n0,
910
+ _USTRp,
911
+ 0,
912
+ [_s],
913
+ [() => SystemTemplateSummary],
914
+ ];
915
+ var UploadEntityDefinitionsRequest = [
916
+ 3,
917
+ n0,
918
+ _UEDR,
919
+ 0,
920
+ [_do, _sWPN, _dEE],
921
+ [() => DefinitionDocument, 2, 2],
922
+ ];
923
+ var UploadEntityDefinitionsResponse = [3, n0, _UEDRp, 0, [_uI], [0]];
924
+ var IoTThingsGraphServiceException = [-3, _sm, "IoTThingsGraphServiceException", 0, [], []];
925
+ schema.TypeRegistry.for(_sm).registerError(IoTThingsGraphServiceException, IoTThingsGraphServiceException$1);
926
+ var DependencyRevisions = [1, n0, _DRe, 0, () => DependencyRevision];
927
+ var EntityDescriptions = [1, n0, _EDn, 0, () => EntityDescription];
928
+ var EntityFilters = [1, n0, _EFn, 0, () => EntityFilter];
929
+ var FlowExecutionMessages = [1, n0, _FEMl, 0, () => FlowExecutionMessage];
930
+ var FlowExecutionSummaries = [1, n0, _FESl, 0, () => FlowExecutionSummary];
931
+ var FlowTemplateFilters = [1, n0, _FTFl, 0, () => FlowTemplateFilter];
932
+ var FlowTemplateSummaries = [1, n0, _FTSl, 0, () => FlowTemplateSummary];
933
+ var SystemInstanceFilters = [1, n0, _SIFy, 0, () => SystemInstanceFilter];
934
+ var SystemInstanceSummaries = [1, n0, _SISy, 0, () => SystemInstanceSummary];
935
+ var SystemTemplateFilters = [1, n0, _STFy, 0, () => SystemTemplateFilter];
936
+ var SystemTemplateSummaries = [1, n0, _STSy, 0, () => SystemTemplateSummary];
937
+ var TagList = [1, n0, _TL, 0, () => Tag];
938
+ var Things = [1, n0, _Thi, 0, () => Thing];
939
+ var AssociateEntityToThing = [
940
+ 9,
941
+ n0,
942
+ _AETT,
943
+ 0,
944
+ () => AssociateEntityToThingRequest,
945
+ () => AssociateEntityToThingResponse,
946
+ ];
947
+ var CreateFlowTemplate = [
948
+ 9,
949
+ n0,
950
+ _CFT,
951
+ 0,
952
+ () => CreateFlowTemplateRequest,
953
+ () => CreateFlowTemplateResponse,
954
+ ];
955
+ var CreateSystemInstance = [
956
+ 9,
957
+ n0,
958
+ _CSI,
959
+ 0,
960
+ () => CreateSystemInstanceRequest,
961
+ () => CreateSystemInstanceResponse,
962
+ ];
963
+ var CreateSystemTemplate = [
964
+ 9,
965
+ n0,
966
+ _CST,
967
+ 0,
968
+ () => CreateSystemTemplateRequest,
969
+ () => CreateSystemTemplateResponse,
970
+ ];
971
+ var DeleteFlowTemplate = [
972
+ 9,
973
+ n0,
974
+ _DFT,
975
+ 0,
976
+ () => DeleteFlowTemplateRequest,
977
+ () => DeleteFlowTemplateResponse,
978
+ ];
979
+ var DeleteNamespace = [
980
+ 9,
981
+ n0,
982
+ _DN,
983
+ 0,
984
+ () => DeleteNamespaceRequest,
985
+ () => DeleteNamespaceResponse,
986
+ ];
987
+ var DeleteSystemInstance = [
988
+ 9,
989
+ n0,
990
+ _DSI,
991
+ 0,
992
+ () => DeleteSystemInstanceRequest,
993
+ () => DeleteSystemInstanceResponse,
994
+ ];
995
+ var DeleteSystemTemplate = [
996
+ 9,
997
+ n0,
998
+ _DST,
999
+ 0,
1000
+ () => DeleteSystemTemplateRequest,
1001
+ () => DeleteSystemTemplateResponse,
1002
+ ];
1003
+ var DeploySystemInstance = [
1004
+ 9,
1005
+ n0,
1006
+ _DSIe,
1007
+ 0,
1008
+ () => DeploySystemInstanceRequest,
1009
+ () => DeploySystemInstanceResponse,
1010
+ ];
1011
+ var DeprecateFlowTemplate = [
1012
+ 9,
1013
+ n0,
1014
+ _DFTe,
1015
+ 0,
1016
+ () => DeprecateFlowTemplateRequest,
1017
+ () => DeprecateFlowTemplateResponse,
1018
+ ];
1019
+ var DeprecateSystemTemplate = [
1020
+ 9,
1021
+ n0,
1022
+ _DSTe,
1023
+ 0,
1024
+ () => DeprecateSystemTemplateRequest,
1025
+ () => DeprecateSystemTemplateResponse,
1026
+ ];
1027
+ var DescribeNamespace = [
1028
+ 9,
1029
+ n0,
1030
+ _DNe,
1031
+ 0,
1032
+ () => DescribeNamespaceRequest,
1033
+ () => DescribeNamespaceResponse,
1034
+ ];
1035
+ var DissociateEntityFromThing = [
1036
+ 9,
1037
+ n0,
1038
+ _DEFT,
1039
+ 0,
1040
+ () => DissociateEntityFromThingRequest,
1041
+ () => DissociateEntityFromThingResponse,
1042
+ ];
1043
+ var GetEntities = [9, n0, _GE, 0, () => GetEntitiesRequest, () => GetEntitiesResponse];
1044
+ var GetFlowTemplate = [
1045
+ 9,
1046
+ n0,
1047
+ _GFT,
1048
+ 0,
1049
+ () => GetFlowTemplateRequest,
1050
+ () => GetFlowTemplateResponse,
1051
+ ];
1052
+ var GetFlowTemplateRevisions = [
1053
+ 9,
1054
+ n0,
1055
+ _GFTRet,
1056
+ 0,
1057
+ () => GetFlowTemplateRevisionsRequest,
1058
+ () => GetFlowTemplateRevisionsResponse,
1059
+ ];
1060
+ var GetNamespaceDeletionStatus = [
1061
+ 9,
1062
+ n0,
1063
+ _GNDS,
1064
+ 0,
1065
+ () => GetNamespaceDeletionStatusRequest,
1066
+ () => GetNamespaceDeletionStatusResponse,
1067
+ ];
1068
+ var GetSystemInstance = [
1069
+ 9,
1070
+ n0,
1071
+ _GSI,
1072
+ 0,
1073
+ () => GetSystemInstanceRequest,
1074
+ () => GetSystemInstanceResponse,
1075
+ ];
1076
+ var GetSystemTemplate = [
1077
+ 9,
1078
+ n0,
1079
+ _GST,
1080
+ 0,
1081
+ () => GetSystemTemplateRequest,
1082
+ () => GetSystemTemplateResponse,
1083
+ ];
1084
+ var GetSystemTemplateRevisions = [
1085
+ 9,
1086
+ n0,
1087
+ _GSTRet,
1088
+ 0,
1089
+ () => GetSystemTemplateRevisionsRequest,
1090
+ () => GetSystemTemplateRevisionsResponse,
1091
+ ];
1092
+ var GetUploadStatus = [
1093
+ 9,
1094
+ n0,
1095
+ _GUS,
1096
+ 0,
1097
+ () => GetUploadStatusRequest,
1098
+ () => GetUploadStatusResponse,
1099
+ ];
1100
+ var ListFlowExecutionMessages = [
1101
+ 9,
1102
+ n0,
1103
+ _LFEM,
1104
+ 0,
1105
+ () => ListFlowExecutionMessagesRequest,
1106
+ () => ListFlowExecutionMessagesResponse,
1107
+ ];
1108
+ var ListTagsForResource = [
1109
+ 9,
1110
+ n0,
1111
+ _LTFR,
1112
+ 0,
1113
+ () => ListTagsForResourceRequest,
1114
+ () => ListTagsForResourceResponse,
1115
+ ];
1116
+ var SearchEntities = [
1117
+ 9,
1118
+ n0,
1119
+ _SE,
1120
+ 0,
1121
+ () => SearchEntitiesRequest,
1122
+ () => SearchEntitiesResponse,
1123
+ ];
1124
+ var SearchFlowExecutions = [
1125
+ 9,
1126
+ n0,
1127
+ _SFE,
1128
+ 0,
1129
+ () => SearchFlowExecutionsRequest,
1130
+ () => SearchFlowExecutionsResponse,
1131
+ ];
1132
+ var SearchFlowTemplates = [
1133
+ 9,
1134
+ n0,
1135
+ _SFT,
1136
+ 0,
1137
+ () => SearchFlowTemplatesRequest,
1138
+ () => SearchFlowTemplatesResponse,
1139
+ ];
1140
+ var SearchSystemInstances = [
1141
+ 9,
1142
+ n0,
1143
+ _SSI,
1144
+ 0,
1145
+ () => SearchSystemInstancesRequest,
1146
+ () => SearchSystemInstancesResponse,
1147
+ ];
1148
+ var SearchSystemTemplates = [
1149
+ 9,
1150
+ n0,
1151
+ _SST,
1152
+ 0,
1153
+ () => SearchSystemTemplatesRequest,
1154
+ () => SearchSystemTemplatesResponse,
1155
+ ];
1156
+ var SearchThings = [9, n0, _ST, 0, () => SearchThingsRequest, () => SearchThingsResponse];
1157
+ var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
1158
+ var UndeploySystemInstance = [
1159
+ 9,
1160
+ n0,
1161
+ _USI,
1162
+ 0,
1163
+ () => UndeploySystemInstanceRequest,
1164
+ () => UndeploySystemInstanceResponse,
1165
+ ];
1166
+ var UntagResource = [
1167
+ 9,
1168
+ n0,
1169
+ _UR,
1170
+ 0,
1171
+ () => UntagResourceRequest,
1172
+ () => UntagResourceResponse,
1173
+ ];
1174
+ var UpdateFlowTemplate = [
1175
+ 9,
1176
+ n0,
1177
+ _UFT,
1178
+ 0,
1179
+ () => UpdateFlowTemplateRequest,
1180
+ () => UpdateFlowTemplateResponse,
1181
+ ];
1182
+ var UpdateSystemTemplate = [
1183
+ 9,
1184
+ n0,
1185
+ _UST,
1186
+ 0,
1187
+ () => UpdateSystemTemplateRequest,
1188
+ () => UpdateSystemTemplateResponse,
1189
+ ];
1190
+ var UploadEntityDefinitions = [
1191
+ 9,
1192
+ n0,
1193
+ _UED,
1194
+ 0,
1195
+ () => UploadEntityDefinitionsRequest,
1196
+ () => UploadEntityDefinitionsResponse,
1197
+ ];
1336
1198
 
1337
1199
  class AssociateEntityToThingCommand extends smithyClient.Command
1338
1200
  .classBuilder()
1339
1201
  .ep(commonParams)
1340
1202
  .m(function (Command, cs, config, o) {
1341
- return [
1342
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1343
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1344
- ];
1203
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1345
1204
  })
1346
1205
  .s("IotThingsGraphFrontEndService", "AssociateEntityToThing", {})
1347
1206
  .n("IoTThingsGraphClient", "AssociateEntityToThingCommand")
1348
- .f(void 0, void 0)
1349
- .ser(se_AssociateEntityToThingCommand)
1350
- .de(de_AssociateEntityToThingCommand)
1207
+ .sc(AssociateEntityToThing)
1351
1208
  .build() {
1352
1209
  }
1353
1210
 
@@ -1355,16 +1212,11 @@ class CreateFlowTemplateCommand extends smithyClient.Command
1355
1212
  .classBuilder()
1356
1213
  .ep(commonParams)
1357
1214
  .m(function (Command, cs, config, o) {
1358
- return [
1359
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1360
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1361
- ];
1215
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1362
1216
  })
1363
1217
  .s("IotThingsGraphFrontEndService", "CreateFlowTemplate", {})
1364
1218
  .n("IoTThingsGraphClient", "CreateFlowTemplateCommand")
1365
- .f(void 0, void 0)
1366
- .ser(se_CreateFlowTemplateCommand)
1367
- .de(de_CreateFlowTemplateCommand)
1219
+ .sc(CreateFlowTemplate)
1368
1220
  .build() {
1369
1221
  }
1370
1222
 
@@ -1372,16 +1224,11 @@ class CreateSystemInstanceCommand extends smithyClient.Command
1372
1224
  .classBuilder()
1373
1225
  .ep(commonParams)
1374
1226
  .m(function (Command, cs, config, o) {
1375
- return [
1376
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1377
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1378
- ];
1227
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1379
1228
  })
1380
1229
  .s("IotThingsGraphFrontEndService", "CreateSystemInstance", {})
1381
1230
  .n("IoTThingsGraphClient", "CreateSystemInstanceCommand")
1382
- .f(void 0, void 0)
1383
- .ser(se_CreateSystemInstanceCommand)
1384
- .de(de_CreateSystemInstanceCommand)
1231
+ .sc(CreateSystemInstance)
1385
1232
  .build() {
1386
1233
  }
1387
1234
 
@@ -1389,16 +1236,11 @@ class CreateSystemTemplateCommand extends smithyClient.Command
1389
1236
  .classBuilder()
1390
1237
  .ep(commonParams)
1391
1238
  .m(function (Command, cs, config, o) {
1392
- return [
1393
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1394
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1395
- ];
1239
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1396
1240
  })
1397
1241
  .s("IotThingsGraphFrontEndService", "CreateSystemTemplate", {})
1398
1242
  .n("IoTThingsGraphClient", "CreateSystemTemplateCommand")
1399
- .f(void 0, void 0)
1400
- .ser(se_CreateSystemTemplateCommand)
1401
- .de(de_CreateSystemTemplateCommand)
1243
+ .sc(CreateSystemTemplate)
1402
1244
  .build() {
1403
1245
  }
1404
1246
 
@@ -1406,16 +1248,11 @@ class DeleteFlowTemplateCommand extends smithyClient.Command
1406
1248
  .classBuilder()
1407
1249
  .ep(commonParams)
1408
1250
  .m(function (Command, cs, config, o) {
1409
- return [
1410
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1411
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1412
- ];
1251
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1413
1252
  })
1414
1253
  .s("IotThingsGraphFrontEndService", "DeleteFlowTemplate", {})
1415
1254
  .n("IoTThingsGraphClient", "DeleteFlowTemplateCommand")
1416
- .f(void 0, void 0)
1417
- .ser(se_DeleteFlowTemplateCommand)
1418
- .de(de_DeleteFlowTemplateCommand)
1255
+ .sc(DeleteFlowTemplate)
1419
1256
  .build() {
1420
1257
  }
1421
1258
 
@@ -1423,16 +1260,11 @@ class DeleteNamespaceCommand extends smithyClient.Command
1423
1260
  .classBuilder()
1424
1261
  .ep(commonParams)
1425
1262
  .m(function (Command, cs, config, o) {
1426
- return [
1427
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1428
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1429
- ];
1263
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1430
1264
  })
1431
1265
  .s("IotThingsGraphFrontEndService", "DeleteNamespace", {})
1432
1266
  .n("IoTThingsGraphClient", "DeleteNamespaceCommand")
1433
- .f(void 0, void 0)
1434
- .ser(se_DeleteNamespaceCommand)
1435
- .de(de_DeleteNamespaceCommand)
1267
+ .sc(DeleteNamespace)
1436
1268
  .build() {
1437
1269
  }
1438
1270
 
@@ -1440,16 +1272,11 @@ class DeleteSystemInstanceCommand extends smithyClient.Command
1440
1272
  .classBuilder()
1441
1273
  .ep(commonParams)
1442
1274
  .m(function (Command, cs, config, o) {
1443
- return [
1444
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1445
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1446
- ];
1275
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1447
1276
  })
1448
1277
  .s("IotThingsGraphFrontEndService", "DeleteSystemInstance", {})
1449
1278
  .n("IoTThingsGraphClient", "DeleteSystemInstanceCommand")
1450
- .f(void 0, void 0)
1451
- .ser(se_DeleteSystemInstanceCommand)
1452
- .de(de_DeleteSystemInstanceCommand)
1279
+ .sc(DeleteSystemInstance)
1453
1280
  .build() {
1454
1281
  }
1455
1282
 
@@ -1457,16 +1284,11 @@ class DeleteSystemTemplateCommand extends smithyClient.Command
1457
1284
  .classBuilder()
1458
1285
  .ep(commonParams)
1459
1286
  .m(function (Command, cs, config, o) {
1460
- return [
1461
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1462
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1463
- ];
1287
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1464
1288
  })
1465
1289
  .s("IotThingsGraphFrontEndService", "DeleteSystemTemplate", {})
1466
1290
  .n("IoTThingsGraphClient", "DeleteSystemTemplateCommand")
1467
- .f(void 0, void 0)
1468
- .ser(se_DeleteSystemTemplateCommand)
1469
- .de(de_DeleteSystemTemplateCommand)
1291
+ .sc(DeleteSystemTemplate)
1470
1292
  .build() {
1471
1293
  }
1472
1294
 
@@ -1474,16 +1296,11 @@ class DeploySystemInstanceCommand extends smithyClient.Command
1474
1296
  .classBuilder()
1475
1297
  .ep(commonParams)
1476
1298
  .m(function (Command, cs, config, o) {
1477
- return [
1478
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1479
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1480
- ];
1299
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1481
1300
  })
1482
1301
  .s("IotThingsGraphFrontEndService", "DeploySystemInstance", {})
1483
1302
  .n("IoTThingsGraphClient", "DeploySystemInstanceCommand")
1484
- .f(void 0, void 0)
1485
- .ser(se_DeploySystemInstanceCommand)
1486
- .de(de_DeploySystemInstanceCommand)
1303
+ .sc(DeploySystemInstance)
1487
1304
  .build() {
1488
1305
  }
1489
1306
 
@@ -1491,16 +1308,11 @@ class DeprecateFlowTemplateCommand extends smithyClient.Command
1491
1308
  .classBuilder()
1492
1309
  .ep(commonParams)
1493
1310
  .m(function (Command, cs, config, o) {
1494
- return [
1495
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1496
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1497
- ];
1311
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1498
1312
  })
1499
1313
  .s("IotThingsGraphFrontEndService", "DeprecateFlowTemplate", {})
1500
1314
  .n("IoTThingsGraphClient", "DeprecateFlowTemplateCommand")
1501
- .f(void 0, void 0)
1502
- .ser(se_DeprecateFlowTemplateCommand)
1503
- .de(de_DeprecateFlowTemplateCommand)
1315
+ .sc(DeprecateFlowTemplate)
1504
1316
  .build() {
1505
1317
  }
1506
1318
 
@@ -1508,16 +1320,11 @@ class DeprecateSystemTemplateCommand extends smithyClient.Command
1508
1320
  .classBuilder()
1509
1321
  .ep(commonParams)
1510
1322
  .m(function (Command, cs, config, o) {
1511
- return [
1512
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1513
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1514
- ];
1323
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1515
1324
  })
1516
1325
  .s("IotThingsGraphFrontEndService", "DeprecateSystemTemplate", {})
1517
1326
  .n("IoTThingsGraphClient", "DeprecateSystemTemplateCommand")
1518
- .f(void 0, void 0)
1519
- .ser(se_DeprecateSystemTemplateCommand)
1520
- .de(de_DeprecateSystemTemplateCommand)
1327
+ .sc(DeprecateSystemTemplate)
1521
1328
  .build() {
1522
1329
  }
1523
1330
 
@@ -1525,16 +1332,11 @@ class DescribeNamespaceCommand extends smithyClient.Command
1525
1332
  .classBuilder()
1526
1333
  .ep(commonParams)
1527
1334
  .m(function (Command, cs, config, o) {
1528
- return [
1529
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1530
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1531
- ];
1335
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1532
1336
  })
1533
1337
  .s("IotThingsGraphFrontEndService", "DescribeNamespace", {})
1534
1338
  .n("IoTThingsGraphClient", "DescribeNamespaceCommand")
1535
- .f(void 0, void 0)
1536
- .ser(se_DescribeNamespaceCommand)
1537
- .de(de_DescribeNamespaceCommand)
1339
+ .sc(DescribeNamespace)
1538
1340
  .build() {
1539
1341
  }
1540
1342
 
@@ -1542,16 +1344,11 @@ class DissociateEntityFromThingCommand extends smithyClient.Command
1542
1344
  .classBuilder()
1543
1345
  .ep(commonParams)
1544
1346
  .m(function (Command, cs, config, o) {
1545
- return [
1546
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1547
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1548
- ];
1347
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1549
1348
  })
1550
1349
  .s("IotThingsGraphFrontEndService", "DissociateEntityFromThing", {})
1551
1350
  .n("IoTThingsGraphClient", "DissociateEntityFromThingCommand")
1552
- .f(void 0, void 0)
1553
- .ser(se_DissociateEntityFromThingCommand)
1554
- .de(de_DissociateEntityFromThingCommand)
1351
+ .sc(DissociateEntityFromThing)
1555
1352
  .build() {
1556
1353
  }
1557
1354
 
@@ -1559,16 +1356,11 @@ class GetEntitiesCommand extends smithyClient.Command
1559
1356
  .classBuilder()
1560
1357
  .ep(commonParams)
1561
1358
  .m(function (Command, cs, config, o) {
1562
- return [
1563
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1564
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1565
- ];
1359
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1566
1360
  })
1567
1361
  .s("IotThingsGraphFrontEndService", "GetEntities", {})
1568
1362
  .n("IoTThingsGraphClient", "GetEntitiesCommand")
1569
- .f(void 0, void 0)
1570
- .ser(se_GetEntitiesCommand)
1571
- .de(de_GetEntitiesCommand)
1363
+ .sc(GetEntities)
1572
1364
  .build() {
1573
1365
  }
1574
1366
 
@@ -1576,16 +1368,11 @@ class GetFlowTemplateCommand extends smithyClient.Command
1576
1368
  .classBuilder()
1577
1369
  .ep(commonParams)
1578
1370
  .m(function (Command, cs, config, o) {
1579
- return [
1580
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1581
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1582
- ];
1371
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1583
1372
  })
1584
1373
  .s("IotThingsGraphFrontEndService", "GetFlowTemplate", {})
1585
1374
  .n("IoTThingsGraphClient", "GetFlowTemplateCommand")
1586
- .f(void 0, void 0)
1587
- .ser(se_GetFlowTemplateCommand)
1588
- .de(de_GetFlowTemplateCommand)
1375
+ .sc(GetFlowTemplate)
1589
1376
  .build() {
1590
1377
  }
1591
1378
 
@@ -1593,16 +1380,11 @@ class GetFlowTemplateRevisionsCommand extends smithyClient.Command
1593
1380
  .classBuilder()
1594
1381
  .ep(commonParams)
1595
1382
  .m(function (Command, cs, config, o) {
1596
- return [
1597
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1598
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1599
- ];
1383
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1600
1384
  })
1601
1385
  .s("IotThingsGraphFrontEndService", "GetFlowTemplateRevisions", {})
1602
1386
  .n("IoTThingsGraphClient", "GetFlowTemplateRevisionsCommand")
1603
- .f(void 0, void 0)
1604
- .ser(se_GetFlowTemplateRevisionsCommand)
1605
- .de(de_GetFlowTemplateRevisionsCommand)
1387
+ .sc(GetFlowTemplateRevisions)
1606
1388
  .build() {
1607
1389
  }
1608
1390
 
@@ -1610,16 +1392,11 @@ class GetNamespaceDeletionStatusCommand extends smithyClient.Command
1610
1392
  .classBuilder()
1611
1393
  .ep(commonParams)
1612
1394
  .m(function (Command, cs, config, o) {
1613
- return [
1614
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1615
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1616
- ];
1395
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1617
1396
  })
1618
1397
  .s("IotThingsGraphFrontEndService", "GetNamespaceDeletionStatus", {})
1619
1398
  .n("IoTThingsGraphClient", "GetNamespaceDeletionStatusCommand")
1620
- .f(void 0, void 0)
1621
- .ser(se_GetNamespaceDeletionStatusCommand)
1622
- .de(de_GetNamespaceDeletionStatusCommand)
1399
+ .sc(GetNamespaceDeletionStatus)
1623
1400
  .build() {
1624
1401
  }
1625
1402
 
@@ -1627,16 +1404,11 @@ class GetSystemInstanceCommand extends smithyClient.Command
1627
1404
  .classBuilder()
1628
1405
  .ep(commonParams)
1629
1406
  .m(function (Command, cs, config, o) {
1630
- return [
1631
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1632
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1633
- ];
1407
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1634
1408
  })
1635
1409
  .s("IotThingsGraphFrontEndService", "GetSystemInstance", {})
1636
1410
  .n("IoTThingsGraphClient", "GetSystemInstanceCommand")
1637
- .f(void 0, void 0)
1638
- .ser(se_GetSystemInstanceCommand)
1639
- .de(de_GetSystemInstanceCommand)
1411
+ .sc(GetSystemInstance)
1640
1412
  .build() {
1641
1413
  }
1642
1414
 
@@ -1644,16 +1416,11 @@ class GetSystemTemplateCommand extends smithyClient.Command
1644
1416
  .classBuilder()
1645
1417
  .ep(commonParams)
1646
1418
  .m(function (Command, cs, config, o) {
1647
- return [
1648
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1649
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1650
- ];
1419
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1651
1420
  })
1652
1421
  .s("IotThingsGraphFrontEndService", "GetSystemTemplate", {})
1653
1422
  .n("IoTThingsGraphClient", "GetSystemTemplateCommand")
1654
- .f(void 0, void 0)
1655
- .ser(se_GetSystemTemplateCommand)
1656
- .de(de_GetSystemTemplateCommand)
1423
+ .sc(GetSystemTemplate)
1657
1424
  .build() {
1658
1425
  }
1659
1426
 
@@ -1661,16 +1428,11 @@ class GetSystemTemplateRevisionsCommand extends smithyClient.Command
1661
1428
  .classBuilder()
1662
1429
  .ep(commonParams)
1663
1430
  .m(function (Command, cs, config, o) {
1664
- return [
1665
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1666
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1667
- ];
1431
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1668
1432
  })
1669
1433
  .s("IotThingsGraphFrontEndService", "GetSystemTemplateRevisions", {})
1670
1434
  .n("IoTThingsGraphClient", "GetSystemTemplateRevisionsCommand")
1671
- .f(void 0, void 0)
1672
- .ser(se_GetSystemTemplateRevisionsCommand)
1673
- .de(de_GetSystemTemplateRevisionsCommand)
1435
+ .sc(GetSystemTemplateRevisions)
1674
1436
  .build() {
1675
1437
  }
1676
1438
 
@@ -1678,16 +1440,11 @@ class GetUploadStatusCommand extends smithyClient.Command
1678
1440
  .classBuilder()
1679
1441
  .ep(commonParams)
1680
1442
  .m(function (Command, cs, config, o) {
1681
- return [
1682
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1683
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1684
- ];
1443
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1685
1444
  })
1686
1445
  .s("IotThingsGraphFrontEndService", "GetUploadStatus", {})
1687
1446
  .n("IoTThingsGraphClient", "GetUploadStatusCommand")
1688
- .f(void 0, void 0)
1689
- .ser(se_GetUploadStatusCommand)
1690
- .de(de_GetUploadStatusCommand)
1447
+ .sc(GetUploadStatus)
1691
1448
  .build() {
1692
1449
  }
1693
1450
 
@@ -1695,16 +1452,11 @@ class ListFlowExecutionMessagesCommand extends smithyClient.Command
1695
1452
  .classBuilder()
1696
1453
  .ep(commonParams)
1697
1454
  .m(function (Command, cs, config, o) {
1698
- return [
1699
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1700
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1701
- ];
1455
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1702
1456
  })
1703
1457
  .s("IotThingsGraphFrontEndService", "ListFlowExecutionMessages", {})
1704
1458
  .n("IoTThingsGraphClient", "ListFlowExecutionMessagesCommand")
1705
- .f(void 0, void 0)
1706
- .ser(se_ListFlowExecutionMessagesCommand)
1707
- .de(de_ListFlowExecutionMessagesCommand)
1459
+ .sc(ListFlowExecutionMessages)
1708
1460
  .build() {
1709
1461
  }
1710
1462
 
@@ -1712,16 +1464,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1712
1464
  .classBuilder()
1713
1465
  .ep(commonParams)
1714
1466
  .m(function (Command, cs, config, o) {
1715
- return [
1716
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1717
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1718
- ];
1467
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1719
1468
  })
1720
1469
  .s("IotThingsGraphFrontEndService", "ListTagsForResource", {})
1721
1470
  .n("IoTThingsGraphClient", "ListTagsForResourceCommand")
1722
- .f(void 0, void 0)
1723
- .ser(se_ListTagsForResourceCommand)
1724
- .de(de_ListTagsForResourceCommand)
1471
+ .sc(ListTagsForResource)
1725
1472
  .build() {
1726
1473
  }
1727
1474
 
@@ -1729,16 +1476,11 @@ class SearchEntitiesCommand extends smithyClient.Command
1729
1476
  .classBuilder()
1730
1477
  .ep(commonParams)
1731
1478
  .m(function (Command, cs, config, o) {
1732
- return [
1733
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1734
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1735
- ];
1479
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1736
1480
  })
1737
1481
  .s("IotThingsGraphFrontEndService", "SearchEntities", {})
1738
1482
  .n("IoTThingsGraphClient", "SearchEntitiesCommand")
1739
- .f(void 0, void 0)
1740
- .ser(se_SearchEntitiesCommand)
1741
- .de(de_SearchEntitiesCommand)
1483
+ .sc(SearchEntities)
1742
1484
  .build() {
1743
1485
  }
1744
1486
 
@@ -1746,16 +1488,11 @@ class SearchFlowExecutionsCommand extends smithyClient.Command
1746
1488
  .classBuilder()
1747
1489
  .ep(commonParams)
1748
1490
  .m(function (Command, cs, config, o) {
1749
- return [
1750
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1751
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1752
- ];
1491
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1753
1492
  })
1754
1493
  .s("IotThingsGraphFrontEndService", "SearchFlowExecutions", {})
1755
1494
  .n("IoTThingsGraphClient", "SearchFlowExecutionsCommand")
1756
- .f(void 0, void 0)
1757
- .ser(se_SearchFlowExecutionsCommand)
1758
- .de(de_SearchFlowExecutionsCommand)
1495
+ .sc(SearchFlowExecutions)
1759
1496
  .build() {
1760
1497
  }
1761
1498
 
@@ -1763,16 +1500,11 @@ class SearchFlowTemplatesCommand extends smithyClient.Command
1763
1500
  .classBuilder()
1764
1501
  .ep(commonParams)
1765
1502
  .m(function (Command, cs, config, o) {
1766
- return [
1767
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1768
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1769
- ];
1503
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1770
1504
  })
1771
1505
  .s("IotThingsGraphFrontEndService", "SearchFlowTemplates", {})
1772
1506
  .n("IoTThingsGraphClient", "SearchFlowTemplatesCommand")
1773
- .f(void 0, void 0)
1774
- .ser(se_SearchFlowTemplatesCommand)
1775
- .de(de_SearchFlowTemplatesCommand)
1507
+ .sc(SearchFlowTemplates)
1776
1508
  .build() {
1777
1509
  }
1778
1510
 
@@ -1780,16 +1512,11 @@ class SearchSystemInstancesCommand extends smithyClient.Command
1780
1512
  .classBuilder()
1781
1513
  .ep(commonParams)
1782
1514
  .m(function (Command, cs, config, o) {
1783
- return [
1784
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1785
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1786
- ];
1515
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1787
1516
  })
1788
1517
  .s("IotThingsGraphFrontEndService", "SearchSystemInstances", {})
1789
1518
  .n("IoTThingsGraphClient", "SearchSystemInstancesCommand")
1790
- .f(void 0, void 0)
1791
- .ser(se_SearchSystemInstancesCommand)
1792
- .de(de_SearchSystemInstancesCommand)
1519
+ .sc(SearchSystemInstances)
1793
1520
  .build() {
1794
1521
  }
1795
1522
 
@@ -1797,16 +1524,11 @@ class SearchSystemTemplatesCommand extends smithyClient.Command
1797
1524
  .classBuilder()
1798
1525
  .ep(commonParams)
1799
1526
  .m(function (Command, cs, config, o) {
1800
- return [
1801
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1802
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1803
- ];
1527
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1804
1528
  })
1805
1529
  .s("IotThingsGraphFrontEndService", "SearchSystemTemplates", {})
1806
1530
  .n("IoTThingsGraphClient", "SearchSystemTemplatesCommand")
1807
- .f(void 0, void 0)
1808
- .ser(se_SearchSystemTemplatesCommand)
1809
- .de(de_SearchSystemTemplatesCommand)
1531
+ .sc(SearchSystemTemplates)
1810
1532
  .build() {
1811
1533
  }
1812
1534
 
@@ -1814,16 +1536,11 @@ class SearchThingsCommand extends smithyClient.Command
1814
1536
  .classBuilder()
1815
1537
  .ep(commonParams)
1816
1538
  .m(function (Command, cs, config, o) {
1817
- return [
1818
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1819
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1820
- ];
1539
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1821
1540
  })
1822
1541
  .s("IotThingsGraphFrontEndService", "SearchThings", {})
1823
1542
  .n("IoTThingsGraphClient", "SearchThingsCommand")
1824
- .f(void 0, void 0)
1825
- .ser(se_SearchThingsCommand)
1826
- .de(de_SearchThingsCommand)
1543
+ .sc(SearchThings)
1827
1544
  .build() {
1828
1545
  }
1829
1546
 
@@ -1831,16 +1548,11 @@ class TagResourceCommand extends smithyClient.Command
1831
1548
  .classBuilder()
1832
1549
  .ep(commonParams)
1833
1550
  .m(function (Command, cs, config, o) {
1834
- return [
1835
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1836
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1837
- ];
1551
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1838
1552
  })
1839
1553
  .s("IotThingsGraphFrontEndService", "TagResource", {})
1840
1554
  .n("IoTThingsGraphClient", "TagResourceCommand")
1841
- .f(void 0, void 0)
1842
- .ser(se_TagResourceCommand)
1843
- .de(de_TagResourceCommand)
1555
+ .sc(TagResource)
1844
1556
  .build() {
1845
1557
  }
1846
1558
 
@@ -1848,16 +1560,11 @@ class UndeploySystemInstanceCommand extends smithyClient.Command
1848
1560
  .classBuilder()
1849
1561
  .ep(commonParams)
1850
1562
  .m(function (Command, cs, config, o) {
1851
- return [
1852
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1853
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1854
- ];
1563
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1855
1564
  })
1856
1565
  .s("IotThingsGraphFrontEndService", "UndeploySystemInstance", {})
1857
1566
  .n("IoTThingsGraphClient", "UndeploySystemInstanceCommand")
1858
- .f(void 0, void 0)
1859
- .ser(se_UndeploySystemInstanceCommand)
1860
- .de(de_UndeploySystemInstanceCommand)
1567
+ .sc(UndeploySystemInstance)
1861
1568
  .build() {
1862
1569
  }
1863
1570
 
@@ -1865,16 +1572,11 @@ class UntagResourceCommand extends smithyClient.Command
1865
1572
  .classBuilder()
1866
1573
  .ep(commonParams)
1867
1574
  .m(function (Command, cs, config, o) {
1868
- return [
1869
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1870
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1871
- ];
1575
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1872
1576
  })
1873
1577
  .s("IotThingsGraphFrontEndService", "UntagResource", {})
1874
1578
  .n("IoTThingsGraphClient", "UntagResourceCommand")
1875
- .f(void 0, void 0)
1876
- .ser(se_UntagResourceCommand)
1877
- .de(de_UntagResourceCommand)
1579
+ .sc(UntagResource)
1878
1580
  .build() {
1879
1581
  }
1880
1582
 
@@ -1882,16 +1584,11 @@ class UpdateFlowTemplateCommand extends smithyClient.Command
1882
1584
  .classBuilder()
1883
1585
  .ep(commonParams)
1884
1586
  .m(function (Command, cs, config, o) {
1885
- return [
1886
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1887
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1888
- ];
1587
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1889
1588
  })
1890
1589
  .s("IotThingsGraphFrontEndService", "UpdateFlowTemplate", {})
1891
1590
  .n("IoTThingsGraphClient", "UpdateFlowTemplateCommand")
1892
- .f(void 0, void 0)
1893
- .ser(se_UpdateFlowTemplateCommand)
1894
- .de(de_UpdateFlowTemplateCommand)
1591
+ .sc(UpdateFlowTemplate)
1895
1592
  .build() {
1896
1593
  }
1897
1594
 
@@ -1899,16 +1596,11 @@ class UpdateSystemTemplateCommand extends smithyClient.Command
1899
1596
  .classBuilder()
1900
1597
  .ep(commonParams)
1901
1598
  .m(function (Command, cs, config, o) {
1902
- return [
1903
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1904
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1905
- ];
1599
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1906
1600
  })
1907
1601
  .s("IotThingsGraphFrontEndService", "UpdateSystemTemplate", {})
1908
1602
  .n("IoTThingsGraphClient", "UpdateSystemTemplateCommand")
1909
- .f(void 0, void 0)
1910
- .ser(se_UpdateSystemTemplateCommand)
1911
- .de(de_UpdateSystemTemplateCommand)
1603
+ .sc(UpdateSystemTemplate)
1912
1604
  .build() {
1913
1605
  }
1914
1606
 
@@ -1916,16 +1608,11 @@ class UploadEntityDefinitionsCommand extends smithyClient.Command
1916
1608
  .classBuilder()
1917
1609
  .ep(commonParams)
1918
1610
  .m(function (Command, cs, config, o) {
1919
- return [
1920
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1921
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1922
- ];
1611
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1923
1612
  })
1924
1613
  .s("IotThingsGraphFrontEndService", "UploadEntityDefinitions", {})
1925
1614
  .n("IoTThingsGraphClient", "UploadEntityDefinitionsCommand")
1926
- .f(void 0, void 0)
1927
- .ser(se_UploadEntityDefinitionsCommand)
1928
- .de(de_UploadEntityDefinitionsCommand)
1615
+ .sc(UploadEntityDefinitions)
1929
1616
  .build() {
1930
1617
  }
1931
1618
 
@@ -2026,19 +1713,19 @@ exports.GetSystemInstanceCommand = GetSystemInstanceCommand;
2026
1713
  exports.GetSystemTemplateCommand = GetSystemTemplateCommand;
2027
1714
  exports.GetSystemTemplateRevisionsCommand = GetSystemTemplateRevisionsCommand;
2028
1715
  exports.GetUploadStatusCommand = GetUploadStatusCommand;
2029
- exports.InternalFailureException = InternalFailureException;
2030
- exports.InvalidRequestException = InvalidRequestException;
1716
+ exports.InternalFailureException = InternalFailureException$1;
1717
+ exports.InvalidRequestException = InvalidRequestException$1;
2031
1718
  exports.IoTThingsGraph = IoTThingsGraph;
2032
1719
  exports.IoTThingsGraphClient = IoTThingsGraphClient;
2033
- exports.IoTThingsGraphServiceException = IoTThingsGraphServiceException;
2034
- exports.LimitExceededException = LimitExceededException;
1720
+ exports.IoTThingsGraphServiceException = IoTThingsGraphServiceException$1;
1721
+ exports.LimitExceededException = LimitExceededException$1;
2035
1722
  exports.ListFlowExecutionMessagesCommand = ListFlowExecutionMessagesCommand;
2036
1723
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2037
1724
  exports.NamespaceDeletionStatus = NamespaceDeletionStatus;
2038
1725
  exports.NamespaceDeletionStatusErrorCodes = NamespaceDeletionStatusErrorCodes;
2039
- exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
2040
- exports.ResourceInUseException = ResourceInUseException;
2041
- exports.ResourceNotFoundException = ResourceNotFoundException;
1726
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException$1;
1727
+ exports.ResourceInUseException = ResourceInUseException$1;
1728
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2042
1729
  exports.SearchEntitiesCommand = SearchEntitiesCommand;
2043
1730
  exports.SearchFlowExecutionsCommand = SearchFlowExecutionsCommand;
2044
1731
  exports.SearchFlowTemplatesCommand = SearchFlowTemplatesCommand;
@@ -2049,7 +1736,7 @@ exports.SystemInstanceDeploymentStatus = SystemInstanceDeploymentStatus;
2049
1736
  exports.SystemInstanceFilterName = SystemInstanceFilterName;
2050
1737
  exports.SystemTemplateFilterName = SystemTemplateFilterName;
2051
1738
  exports.TagResourceCommand = TagResourceCommand;
2052
- exports.ThrottlingException = ThrottlingException;
1739
+ exports.ThrottlingException = ThrottlingException$1;
2053
1740
  exports.UndeploySystemInstanceCommand = UndeploySystemInstanceCommand;
2054
1741
  exports.UntagResourceCommand = UntagResourceCommand;
2055
1742
  exports.UpdateFlowTemplateCommand = UpdateFlowTemplateCommand;