@aws-sdk/client-greengrassv2 3.928.0 → 3.930.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 (50) hide show
  1. package/dist-cjs/index.js +1621 -1496
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/GreengrassV2Client.js +2 -0
  4. package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +3 -9
  5. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +3 -9
  6. package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +3 -9
  7. package/dist-es/commands/CancelDeploymentCommand.js +3 -9
  8. package/dist-es/commands/CreateComponentVersionCommand.js +3 -9
  9. package/dist-es/commands/CreateDeploymentCommand.js +3 -9
  10. package/dist-es/commands/DeleteComponentCommand.js +3 -9
  11. package/dist-es/commands/DeleteCoreDeviceCommand.js +3 -9
  12. package/dist-es/commands/DeleteDeploymentCommand.js +3 -9
  13. package/dist-es/commands/DescribeComponentCommand.js +3 -9
  14. package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +3 -9
  15. package/dist-es/commands/GetComponentCommand.js +3 -9
  16. package/dist-es/commands/GetComponentVersionArtifactCommand.js +3 -9
  17. package/dist-es/commands/GetConnectivityInfoCommand.js +3 -9
  18. package/dist-es/commands/GetCoreDeviceCommand.js +3 -9
  19. package/dist-es/commands/GetDeploymentCommand.js +3 -9
  20. package/dist-es/commands/GetServiceRoleForAccountCommand.js +3 -9
  21. package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +3 -9
  22. package/dist-es/commands/ListComponentVersionsCommand.js +3 -9
  23. package/dist-es/commands/ListComponentsCommand.js +3 -9
  24. package/dist-es/commands/ListCoreDevicesCommand.js +3 -9
  25. package/dist-es/commands/ListDeploymentsCommand.js +3 -9
  26. package/dist-es/commands/ListEffectiveDeploymentsCommand.js +3 -9
  27. package/dist-es/commands/ListInstalledComponentsCommand.js +3 -9
  28. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  29. package/dist-es/commands/ResolveComponentCandidatesCommand.js +3 -9
  30. package/dist-es/commands/TagResourceCommand.js +3 -9
  31. package/dist-es/commands/UntagResourceCommand.js +3 -9
  32. package/dist-es/commands/UpdateConnectivityInfoCommand.js +3 -9
  33. package/dist-es/runtimeConfig.shared.js +2 -0
  34. package/dist-es/schemas/schemas_0.js +1561 -0
  35. package/dist-types/GreengrassV2Client.d.ts +10 -1
  36. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  37. package/dist-types/runtimeConfig.d.ts +1 -0
  38. package/dist-types/runtimeConfig.native.d.ts +1 -0
  39. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  40. package/dist-types/schemas/schemas_0.d.ts +169 -0
  41. package/dist-types/ts3.4/GreengrassV2Client.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +175 -0
  47. package/package.json +33 -34
  48. package/dist-es/protocols/Aws_restJson1.js +0 -1283
  49. package/dist-types/protocols/Aws_restJson1.d.ts +0 -263
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -353
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,9 +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
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class GreengrassV2Client extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +110,14 @@ class GreengrassV2Client extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class GreengrassV2ServiceException extends smithyClient.ServiceException {
113
+ let GreengrassV2ServiceException$1 = class GreengrassV2ServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, GreengrassV2ServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class AccessDeniedException extends GreengrassV2ServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends GreengrassV2ServiceException$1 {
122
121
  name = "AccessDeniedException";
123
122
  $fault = "client";
124
123
  constructor(opts) {
@@ -129,8 +128,8 @@ class AccessDeniedException extends GreengrassV2ServiceException {
129
128
  });
130
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
130
  }
132
- }
133
- class InternalServerException extends GreengrassV2ServiceException {
131
+ };
132
+ let InternalServerException$1 = class InternalServerException extends GreengrassV2ServiceException$1 {
134
133
  name = "InternalServerException";
135
134
  $fault = "server";
136
135
  retryAfterSeconds;
@@ -143,14 +142,14 @@ class InternalServerException extends GreengrassV2ServiceException {
143
142
  Object.setPrototypeOf(this, InternalServerException.prototype);
144
143
  this.retryAfterSeconds = opts.retryAfterSeconds;
145
144
  }
146
- }
145
+ };
147
146
  const ValidationExceptionReason = {
148
147
  CANNOT_PARSE: "CANNOT_PARSE",
149
148
  FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
150
149
  OTHER: "OTHER",
151
150
  UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
152
151
  };
153
- class ValidationException extends GreengrassV2ServiceException {
152
+ let ValidationException$1 = class ValidationException extends GreengrassV2ServiceException$1 {
154
153
  name = "ValidationException";
155
154
  $fault = "client";
156
155
  reason;
@@ -165,8 +164,8 @@ class ValidationException extends GreengrassV2ServiceException {
165
164
  this.reason = opts.reason;
166
165
  this.fields = opts.fields;
167
166
  }
168
- }
169
- class ResourceNotFoundException extends GreengrassV2ServiceException {
167
+ };
168
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends GreengrassV2ServiceException$1 {
170
169
  name = "ResourceNotFoundException";
171
170
  $fault = "client";
172
171
  resourceId;
@@ -181,8 +180,8 @@ class ResourceNotFoundException extends GreengrassV2ServiceException {
181
180
  this.resourceId = opts.resourceId;
182
181
  this.resourceType = opts.resourceType;
183
182
  }
184
- }
185
- class ThrottlingException extends GreengrassV2ServiceException {
183
+ };
184
+ let ThrottlingException$1 = class ThrottlingException extends GreengrassV2ServiceException$1 {
186
185
  name = "ThrottlingException";
187
186
  $fault = "client";
188
187
  quotaCode;
@@ -199,8 +198,8 @@ class ThrottlingException extends GreengrassV2ServiceException {
199
198
  this.serviceCode = opts.serviceCode;
200
199
  this.retryAfterSeconds = opts.retryAfterSeconds;
201
200
  }
202
- }
203
- class ConflictException extends GreengrassV2ServiceException {
201
+ };
202
+ let ConflictException$1 = class ConflictException extends GreengrassV2ServiceException$1 {
204
203
  name = "ConflictException";
205
204
  $fault = "client";
206
205
  resourceId;
@@ -215,7 +214,7 @@ class ConflictException extends GreengrassV2ServiceException {
215
214
  this.resourceId = opts.resourceId;
216
215
  this.resourceType = opts.resourceType;
217
216
  }
218
- }
217
+ };
219
218
  const CloudComponentState = {
220
219
  DEPLOYABLE: "DEPLOYABLE",
221
220
  DEPRECATED: "DEPRECATED",
@@ -256,7 +255,7 @@ const LambdaIsolationMode = {
256
255
  GREENGRASS_CONTAINER: "GreengrassContainer",
257
256
  NO_CONTAINER: "NoContainer",
258
257
  };
259
- class RequestAlreadyInProgressException extends GreengrassV2ServiceException {
258
+ let RequestAlreadyInProgressException$1 = class RequestAlreadyInProgressException extends GreengrassV2ServiceException$1 {
260
259
  name = "RequestAlreadyInProgressException";
261
260
  $fault = "client";
262
261
  constructor(opts) {
@@ -267,8 +266,8 @@ class RequestAlreadyInProgressException extends GreengrassV2ServiceException {
267
266
  });
268
267
  Object.setPrototypeOf(this, RequestAlreadyInProgressException.prototype);
269
268
  }
270
- }
271
- class ServiceQuotaExceededException extends GreengrassV2ServiceException {
269
+ };
270
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends GreengrassV2ServiceException$1 {
272
271
  name = "ServiceQuotaExceededException";
273
272
  $fault = "client";
274
273
  resourceId;
@@ -287,7 +286,7 @@ class ServiceQuotaExceededException extends GreengrassV2ServiceException {
287
286
  this.quotaCode = opts.quotaCode;
288
287
  this.serviceCode = opts.serviceCode;
289
288
  }
290
- }
289
+ };
291
290
  const DeploymentComponentUpdatePolicyAction = {
292
291
  NOTIFY_COMPONENTS: "NOTIFY_COMPONENTS",
293
292
  SKIP_NOTIFY_COMPONENTS: "SKIP_NOTIFY_COMPONENTS",
@@ -353,1297 +352,1563 @@ const InstalledComponentLifecycleState = {
353
352
  STOPPING: "STOPPING",
354
353
  };
355
354
 
356
- const se_AssociateServiceRoleToAccountCommand = async (input, context) => {
357
- const b = core.requestBuilder(input, context);
358
- const headers = {
359
- "content-type": "application/json",
360
- };
361
- b.bp("/greengrass/servicerole");
362
- let body;
363
- body = JSON.stringify(smithyClient.take(input, {
364
- RoleArn: [, , `roleArn`],
365
- }));
366
- b.m("PUT").h(headers).b(body);
367
- return b.build();
368
- };
369
- const se_BatchAssociateClientDeviceWithCoreDeviceCommand = async (input, context) => {
370
- const b = core.requestBuilder(input, context);
371
- const headers = {
372
- "content-type": "application/json",
373
- };
374
- b.bp("/greengrass/v2/coreDevices/{coreDeviceThingName}/associateClientDevices");
375
- b.p("coreDeviceThingName", () => input.coreDeviceThingName, "{coreDeviceThingName}", false);
376
- let body;
377
- body = JSON.stringify(smithyClient.take(input, {
378
- entries: (_) => smithyClient._json(_),
379
- }));
380
- b.m("POST").h(headers).b(body);
381
- return b.build();
382
- };
383
- const se_BatchDisassociateClientDeviceFromCoreDeviceCommand = async (input, context) => {
384
- const b = core.requestBuilder(input, context);
385
- const headers = {
386
- "content-type": "application/json",
387
- };
388
- b.bp("/greengrass/v2/coreDevices/{coreDeviceThingName}/disassociateClientDevices");
389
- b.p("coreDeviceThingName", () => input.coreDeviceThingName, "{coreDeviceThingName}", false);
390
- let body;
391
- body = JSON.stringify(smithyClient.take(input, {
392
- entries: (_) => smithyClient._json(_),
393
- }));
394
- b.m("POST").h(headers).b(body);
395
- return b.build();
396
- };
397
- const se_CancelDeploymentCommand = async (input, context) => {
398
- const b = core.requestBuilder(input, context);
399
- const headers = {};
400
- b.bp("/greengrass/v2/deployments/{deploymentId}/cancel");
401
- b.p("deploymentId", () => input.deploymentId, "{deploymentId}", false);
402
- let body;
403
- b.m("POST").h(headers).b(body);
404
- return b.build();
405
- };
406
- const se_CreateComponentVersionCommand = async (input, context) => {
407
- const b = core.requestBuilder(input, context);
408
- const headers = {
409
- "content-type": "application/json",
410
- };
411
- b.bp("/greengrass/v2/createComponentVersion");
412
- let body;
413
- body = JSON.stringify(smithyClient.take(input, {
414
- clientToken: [true, (_) => _ ?? uuid.v4()],
415
- inlineRecipe: (_) => context.base64Encoder(_),
416
- lambdaFunction: (_) => smithyClient._json(_),
417
- tags: (_) => smithyClient._json(_),
418
- }));
419
- b.m("POST").h(headers).b(body);
420
- return b.build();
421
- };
422
- const se_CreateDeploymentCommand = async (input, context) => {
423
- const b = core.requestBuilder(input, context);
424
- const headers = {
425
- "content-type": "application/json",
426
- };
427
- b.bp("/greengrass/v2/deployments");
428
- let body;
429
- body = JSON.stringify(smithyClient.take(input, {
430
- clientToken: [true, (_) => _ ?? uuid.v4()],
431
- components: (_) => se_ComponentDeploymentSpecifications(_),
432
- deploymentName: [],
433
- deploymentPolicies: (_) => smithyClient._json(_),
434
- iotJobConfiguration: (_) => se_DeploymentIoTJobConfiguration(_),
435
- parentTargetArn: [],
436
- tags: (_) => smithyClient._json(_),
437
- targetArn: [],
438
- }));
439
- b.m("POST").h(headers).b(body);
440
- return b.build();
441
- };
442
- const se_DeleteComponentCommand = async (input, context) => {
443
- const b = core.requestBuilder(input, context);
444
- const headers = {};
445
- b.bp("/greengrass/v2/components/{arn}");
446
- b.p("arn", () => input.arn, "{arn}", false);
447
- let body;
448
- b.m("DELETE").h(headers).b(body);
449
- return b.build();
450
- };
451
- const se_DeleteCoreDeviceCommand = async (input, context) => {
452
- const b = core.requestBuilder(input, context);
453
- const headers = {};
454
- b.bp("/greengrass/v2/coreDevices/{coreDeviceThingName}");
455
- b.p("coreDeviceThingName", () => input.coreDeviceThingName, "{coreDeviceThingName}", false);
456
- let body;
457
- b.m("DELETE").h(headers).b(body);
458
- return b.build();
459
- };
460
- const se_DeleteDeploymentCommand = async (input, context) => {
461
- const b = core.requestBuilder(input, context);
462
- const headers = {};
463
- b.bp("/greengrass/v2/deployments/{deploymentId}");
464
- b.p("deploymentId", () => input.deploymentId, "{deploymentId}", false);
465
- let body;
466
- b.m("DELETE").h(headers).b(body);
467
- return b.build();
468
- };
469
- const se_DescribeComponentCommand = async (input, context) => {
470
- const b = core.requestBuilder(input, context);
471
- const headers = {};
472
- b.bp("/greengrass/v2/components/{arn}/metadata");
473
- b.p("arn", () => input.arn, "{arn}", false);
474
- let body;
475
- b.m("GET").h(headers).b(body);
476
- return b.build();
477
- };
478
- const se_DisassociateServiceRoleFromAccountCommand = async (input, context) => {
479
- const b = core.requestBuilder(input, context);
480
- const headers = {};
481
- b.bp("/greengrass/servicerole");
482
- let body;
483
- b.m("DELETE").h(headers).b(body);
484
- return b.build();
485
- };
486
- const se_GetComponentCommand = async (input, context) => {
487
- const b = core.requestBuilder(input, context);
488
- const headers = {};
489
- b.bp("/greengrass/v2/components/{arn}");
490
- b.p("arn", () => input.arn, "{arn}", false);
491
- const query = smithyClient.map({
492
- [_rOF]: [, input[_rOF]],
493
- });
494
- let body;
495
- b.m("GET").h(headers).q(query).b(body);
496
- return b.build();
497
- };
498
- const se_GetComponentVersionArtifactCommand = async (input, context) => {
499
- const b = core.requestBuilder(input, context);
500
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
501
- [_xaiet]: input[_iET],
502
- });
503
- b.bp("/greengrass/v2/components/{arn}/artifacts/{artifactName+}");
504
- b.p("arn", () => input.arn, "{arn}", false);
505
- b.p("artifactName", () => input.artifactName, "{artifactName+}", true);
506
- const query = smithyClient.map({
507
- [_sET]: [, input[_sET]],
508
- });
509
- let body;
510
- b.m("GET").h(headers).q(query).b(body);
511
- return b.build();
512
- };
513
- const se_GetConnectivityInfoCommand = async (input, context) => {
514
- const b = core.requestBuilder(input, context);
515
- const headers = {};
516
- b.bp("/greengrass/things/{thingName}/connectivityInfo");
517
- b.p("thingName", () => input.thingName, "{thingName}", false);
518
- let body;
519
- b.m("GET").h(headers).b(body);
520
- return b.build();
521
- };
522
- const se_GetCoreDeviceCommand = async (input, context) => {
523
- const b = core.requestBuilder(input, context);
524
- const headers = {};
525
- b.bp("/greengrass/v2/coreDevices/{coreDeviceThingName}");
526
- b.p("coreDeviceThingName", () => input.coreDeviceThingName, "{coreDeviceThingName}", false);
527
- let body;
528
- b.m("GET").h(headers).b(body);
529
- return b.build();
530
- };
531
- const se_GetDeploymentCommand = async (input, context) => {
532
- const b = core.requestBuilder(input, context);
533
- const headers = {};
534
- b.bp("/greengrass/v2/deployments/{deploymentId}");
535
- b.p("deploymentId", () => input.deploymentId, "{deploymentId}", false);
536
- let body;
537
- b.m("GET").h(headers).b(body);
538
- return b.build();
539
- };
540
- const se_GetServiceRoleForAccountCommand = async (input, context) => {
541
- const b = core.requestBuilder(input, context);
542
- const headers = {};
543
- b.bp("/greengrass/servicerole");
544
- let body;
545
- b.m("GET").h(headers).b(body);
546
- return b.build();
547
- };
548
- const se_ListClientDevicesAssociatedWithCoreDeviceCommand = async (input, context) => {
549
- const b = core.requestBuilder(input, context);
550
- const headers = {};
551
- b.bp("/greengrass/v2/coreDevices/{coreDeviceThingName}/associatedClientDevices");
552
- b.p("coreDeviceThingName", () => input.coreDeviceThingName, "{coreDeviceThingName}", false);
553
- const query = smithyClient.map({
554
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
555
- [_nT]: [, input[_nT]],
556
- });
557
- let body;
558
- b.m("GET").h(headers).q(query).b(body);
559
- return b.build();
560
- };
561
- const se_ListComponentsCommand = async (input, context) => {
562
- const b = core.requestBuilder(input, context);
563
- const headers = {};
564
- b.bp("/greengrass/v2/components");
565
- const query = smithyClient.map({
566
- [_s]: [, input[_s]],
567
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
568
- [_nT]: [, input[_nT]],
569
- });
570
- let body;
571
- b.m("GET").h(headers).q(query).b(body);
572
- return b.build();
573
- };
574
- const se_ListComponentVersionsCommand = async (input, context) => {
575
- const b = core.requestBuilder(input, context);
576
- const headers = {};
577
- b.bp("/greengrass/v2/components/{arn}/versions");
578
- b.p("arn", () => input.arn, "{arn}", false);
579
- const query = smithyClient.map({
580
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
581
- [_nT]: [, input[_nT]],
582
- });
583
- let body;
584
- b.m("GET").h(headers).q(query).b(body);
585
- return b.build();
586
- };
587
- const se_ListCoreDevicesCommand = async (input, context) => {
588
- const b = core.requestBuilder(input, context);
589
- const headers = {};
590
- b.bp("/greengrass/v2/coreDevices");
591
- const query = smithyClient.map({
592
- [_tGA]: [, input[_tGA]],
593
- [_st]: [, input[_st]],
594
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
595
- [_nT]: [, input[_nT]],
596
- [_r]: [, input[_r]],
597
- });
598
- let body;
599
- b.m("GET").h(headers).q(query).b(body);
600
- return b.build();
601
- };
602
- const se_ListDeploymentsCommand = async (input, context) => {
603
- const b = core.requestBuilder(input, context);
604
- const headers = {};
605
- b.bp("/greengrass/v2/deployments");
606
- const query = smithyClient.map({
607
- [_tA]: [, input[_tA]],
608
- [_hF]: [, input[_hF]],
609
- [_pTA]: [, input[_pTA]],
610
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
611
- [_nT]: [, input[_nT]],
612
- });
613
- let body;
614
- b.m("GET").h(headers).q(query).b(body);
615
- return b.build();
616
- };
617
- const se_ListEffectiveDeploymentsCommand = async (input, context) => {
618
- const b = core.requestBuilder(input, context);
619
- const headers = {};
620
- b.bp("/greengrass/v2/coreDevices/{coreDeviceThingName}/effectiveDeployments");
621
- b.p("coreDeviceThingName", () => input.coreDeviceThingName, "{coreDeviceThingName}", false);
622
- const query = smithyClient.map({
623
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
624
- [_nT]: [, input[_nT]],
625
- });
626
- let body;
627
- b.m("GET").h(headers).q(query).b(body);
628
- return b.build();
629
- };
630
- const se_ListInstalledComponentsCommand = async (input, context) => {
631
- const b = core.requestBuilder(input, context);
632
- const headers = {};
633
- b.bp("/greengrass/v2/coreDevices/{coreDeviceThingName}/installedComponents");
634
- b.p("coreDeviceThingName", () => input.coreDeviceThingName, "{coreDeviceThingName}", false);
635
- const query = smithyClient.map({
636
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
637
- [_nT]: [, input[_nT]],
638
- [_tF]: [, input[_tF]],
639
- });
640
- let body;
641
- b.m("GET").h(headers).q(query).b(body);
642
- return b.build();
643
- };
644
- const se_ListTagsForResourceCommand = async (input, context) => {
645
- const b = core.requestBuilder(input, context);
646
- const headers = {};
647
- b.bp("/tags/{resourceArn}");
648
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
649
- let body;
650
- b.m("GET").h(headers).b(body);
651
- return b.build();
652
- };
653
- const se_ResolveComponentCandidatesCommand = async (input, context) => {
654
- const b = core.requestBuilder(input, context);
655
- const headers = {
656
- "content-type": "application/json",
657
- };
658
- b.bp("/greengrass/v2/resolveComponentCandidates");
659
- let body;
660
- body = JSON.stringify(smithyClient.take(input, {
661
- componentCandidates: (_) => smithyClient._json(_),
662
- platform: (_) => smithyClient._json(_),
663
- }));
664
- b.m("POST").h(headers).b(body);
665
- return b.build();
666
- };
667
- const se_TagResourceCommand = async (input, context) => {
668
- const b = core.requestBuilder(input, context);
669
- const headers = {
670
- "content-type": "application/json",
671
- };
672
- b.bp("/tags/{resourceArn}");
673
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
674
- let body;
675
- body = JSON.stringify(smithyClient.take(input, {
676
- tags: (_) => smithyClient._json(_),
677
- }));
678
- b.m("POST").h(headers).b(body);
679
- return b.build();
680
- };
681
- const se_UntagResourceCommand = async (input, context) => {
682
- const b = core.requestBuilder(input, context);
683
- const headers = {};
684
- b.bp("/tags/{resourceArn}");
685
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
686
- const query = smithyClient.map({
687
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
688
- });
689
- let body;
690
- b.m("DELETE").h(headers).q(query).b(body);
691
- return b.build();
692
- };
693
- const se_UpdateConnectivityInfoCommand = async (input, context) => {
694
- const b = core.requestBuilder(input, context);
695
- const headers = {
696
- "content-type": "application/json",
697
- };
698
- b.bp("/greengrass/things/{thingName}/connectivityInfo");
699
- b.p("thingName", () => input.thingName, "{thingName}", false);
700
- let body;
701
- body = JSON.stringify(smithyClient.take(input, {
702
- ConnectivityInfo: [, (_) => se_connectivityInfoList(_), `connectivityInfo`],
703
- }));
704
- b.m("PUT").h(headers).b(body);
705
- return b.build();
706
- };
707
- const de_AssociateServiceRoleToAccountCommand = async (output, context) => {
708
- if (output.statusCode !== 200 && output.statusCode >= 300) {
709
- return de_CommandError(output, context);
710
- }
711
- const contents = smithyClient.map({
712
- $metadata: deserializeMetadata(output),
713
- });
714
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
715
- const doc = smithyClient.take(data, {
716
- associatedAt: [, smithyClient.expectString, `AssociatedAt`],
717
- });
718
- Object.assign(contents, doc);
719
- return contents;
720
- };
721
- const de_BatchAssociateClientDeviceWithCoreDeviceCommand = async (output, context) => {
722
- if (output.statusCode !== 200 && output.statusCode >= 300) {
723
- return de_CommandError(output, context);
724
- }
725
- const contents = smithyClient.map({
726
- $metadata: deserializeMetadata(output),
727
- });
728
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
729
- const doc = smithyClient.take(data, {
730
- errorEntries: smithyClient._json,
731
- });
732
- Object.assign(contents, doc);
733
- return contents;
734
- };
735
- const de_BatchDisassociateClientDeviceFromCoreDeviceCommand = async (output, context) => {
736
- if (output.statusCode !== 200 && output.statusCode >= 300) {
737
- return de_CommandError(output, context);
738
- }
739
- const contents = smithyClient.map({
740
- $metadata: deserializeMetadata(output),
741
- });
742
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
743
- const doc = smithyClient.take(data, {
744
- errorEntries: smithyClient._json,
745
- });
746
- Object.assign(contents, doc);
747
- return contents;
748
- };
749
- const de_CancelDeploymentCommand = async (output, context) => {
750
- if (output.statusCode !== 200 && output.statusCode >= 300) {
751
- return de_CommandError(output, context);
752
- }
753
- const contents = smithyClient.map({
754
- $metadata: deserializeMetadata(output),
755
- });
756
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
757
- const doc = smithyClient.take(data, {
758
- message: smithyClient.expectString,
759
- });
760
- Object.assign(contents, doc);
761
- return contents;
762
- };
763
- const de_CreateComponentVersionCommand = async (output, context) => {
764
- if (output.statusCode !== 201 && output.statusCode >= 300) {
765
- return de_CommandError(output, context);
766
- }
767
- const contents = smithyClient.map({
768
- $metadata: deserializeMetadata(output),
769
- });
770
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
771
- const doc = smithyClient.take(data, {
772
- arn: smithyClient.expectString,
773
- componentName: smithyClient.expectString,
774
- componentVersion: smithyClient.expectString,
775
- creationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
776
- status: smithyClient._json,
777
- });
778
- Object.assign(contents, doc);
779
- return contents;
780
- };
781
- const de_CreateDeploymentCommand = async (output, context) => {
782
- if (output.statusCode !== 201 && output.statusCode >= 300) {
783
- return de_CommandError(output, context);
784
- }
785
- const contents = smithyClient.map({
786
- $metadata: deserializeMetadata(output),
787
- });
788
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
789
- const doc = smithyClient.take(data, {
790
- deploymentId: smithyClient.expectString,
791
- iotJobArn: smithyClient.expectString,
792
- iotJobId: smithyClient.expectString,
793
- });
794
- Object.assign(contents, doc);
795
- return contents;
796
- };
797
- const de_DeleteComponentCommand = async (output, context) => {
798
- if (output.statusCode !== 204 && output.statusCode >= 300) {
799
- return de_CommandError(output, context);
800
- }
801
- const contents = smithyClient.map({
802
- $metadata: deserializeMetadata(output),
803
- });
804
- await smithyClient.collectBody(output.body, context);
805
- return contents;
806
- };
807
- const de_DeleteCoreDeviceCommand = async (output, context) => {
808
- if (output.statusCode !== 204 && output.statusCode >= 300) {
809
- return de_CommandError(output, context);
810
- }
811
- const contents = smithyClient.map({
812
- $metadata: deserializeMetadata(output),
813
- });
814
- await smithyClient.collectBody(output.body, context);
815
- return contents;
816
- };
817
- const de_DeleteDeploymentCommand = async (output, context) => {
818
- if (output.statusCode !== 204 && output.statusCode >= 300) {
819
- return de_CommandError(output, context);
820
- }
821
- const contents = smithyClient.map({
822
- $metadata: deserializeMetadata(output),
823
- });
824
- await smithyClient.collectBody(output.body, context);
825
- return contents;
826
- };
827
- const de_DescribeComponentCommand = async (output, context) => {
828
- if (output.statusCode !== 200 && output.statusCode >= 300) {
829
- return de_CommandError(output, context);
830
- }
831
- const contents = smithyClient.map({
832
- $metadata: deserializeMetadata(output),
833
- });
834
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
835
- const doc = smithyClient.take(data, {
836
- arn: smithyClient.expectString,
837
- componentName: smithyClient.expectString,
838
- componentVersion: smithyClient.expectString,
839
- creationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
840
- description: smithyClient.expectString,
841
- platforms: smithyClient._json,
842
- publisher: smithyClient.expectString,
843
- status: smithyClient._json,
844
- tags: smithyClient._json,
845
- });
846
- Object.assign(contents, doc);
847
- return contents;
848
- };
849
- const de_DisassociateServiceRoleFromAccountCommand = async (output, context) => {
850
- if (output.statusCode !== 200 && output.statusCode >= 300) {
851
- return de_CommandError(output, context);
852
- }
853
- const contents = smithyClient.map({
854
- $metadata: deserializeMetadata(output),
855
- });
856
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
857
- const doc = smithyClient.take(data, {
858
- disassociatedAt: [, smithyClient.expectString, `DisassociatedAt`],
859
- });
860
- Object.assign(contents, doc);
861
- return contents;
862
- };
863
- const de_GetComponentCommand = async (output, context) => {
864
- if (output.statusCode !== 200 && output.statusCode >= 300) {
865
- return de_CommandError(output, context);
866
- }
867
- const contents = smithyClient.map({
868
- $metadata: deserializeMetadata(output),
869
- });
870
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
871
- const doc = smithyClient.take(data, {
872
- recipe: context.base64Decoder,
873
- recipeOutputFormat: smithyClient.expectString,
874
- tags: smithyClient._json,
875
- });
876
- Object.assign(contents, doc);
877
- return contents;
878
- };
879
- const de_GetComponentVersionArtifactCommand = async (output, context) => {
880
- if (output.statusCode !== 200 && output.statusCode >= 300) {
881
- return de_CommandError(output, context);
882
- }
883
- const contents = smithyClient.map({
884
- $metadata: deserializeMetadata(output),
885
- });
886
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
887
- const doc = smithyClient.take(data, {
888
- preSignedUrl: smithyClient.expectString,
889
- });
890
- Object.assign(contents, doc);
891
- return contents;
892
- };
893
- const de_GetConnectivityInfoCommand = async (output, context) => {
894
- if (output.statusCode !== 200 && output.statusCode >= 300) {
895
- return de_CommandError(output, context);
896
- }
897
- const contents = smithyClient.map({
898
- $metadata: deserializeMetadata(output),
899
- });
900
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
901
- const doc = smithyClient.take(data, {
902
- connectivityInfo: [, (_) => de_connectivityInfoList(_), `ConnectivityInfo`],
903
- message: [, smithyClient.expectString, `Message`],
904
- });
905
- Object.assign(contents, doc);
906
- return contents;
907
- };
908
- const de_GetCoreDeviceCommand = async (output, context) => {
909
- if (output.statusCode !== 200 && output.statusCode >= 300) {
910
- return de_CommandError(output, context);
911
- }
912
- const contents = smithyClient.map({
913
- $metadata: deserializeMetadata(output),
914
- });
915
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
916
- const doc = smithyClient.take(data, {
917
- architecture: smithyClient.expectString,
918
- coreDeviceThingName: smithyClient.expectString,
919
- coreVersion: smithyClient.expectString,
920
- lastStatusUpdateTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
921
- platform: smithyClient.expectString,
922
- runtime: smithyClient.expectString,
923
- status: smithyClient.expectString,
924
- tags: smithyClient._json,
925
- });
926
- Object.assign(contents, doc);
927
- return contents;
928
- };
929
- const de_GetDeploymentCommand = async (output, context) => {
930
- if (output.statusCode !== 200 && output.statusCode >= 300) {
931
- return de_CommandError(output, context);
932
- }
933
- const contents = smithyClient.map({
934
- $metadata: deserializeMetadata(output),
935
- });
936
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
937
- const doc = smithyClient.take(data, {
938
- components: (_) => de_ComponentDeploymentSpecifications(_),
939
- creationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
940
- deploymentId: smithyClient.expectString,
941
- deploymentName: smithyClient.expectString,
942
- deploymentPolicies: smithyClient._json,
943
- deploymentStatus: smithyClient.expectString,
944
- iotJobArn: smithyClient.expectString,
945
- iotJobConfiguration: (_) => de_DeploymentIoTJobConfiguration(_),
946
- iotJobId: smithyClient.expectString,
947
- isLatestForTarget: smithyClient.expectBoolean,
948
- parentTargetArn: smithyClient.expectString,
949
- revisionId: smithyClient.expectString,
950
- tags: smithyClient._json,
951
- targetArn: smithyClient.expectString,
952
- });
953
- Object.assign(contents, doc);
954
- return contents;
955
- };
956
- const de_GetServiceRoleForAccountCommand = async (output, context) => {
957
- if (output.statusCode !== 200 && output.statusCode >= 300) {
958
- return de_CommandError(output, context);
959
- }
960
- const contents = smithyClient.map({
961
- $metadata: deserializeMetadata(output),
962
- });
963
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
964
- const doc = smithyClient.take(data, {
965
- associatedAt: [, smithyClient.expectString, `AssociatedAt`],
966
- roleArn: [, smithyClient.expectString, `RoleArn`],
967
- });
968
- Object.assign(contents, doc);
969
- return contents;
970
- };
971
- const de_ListClientDevicesAssociatedWithCoreDeviceCommand = async (output, context) => {
972
- if (output.statusCode !== 200 && output.statusCode >= 300) {
973
- return de_CommandError(output, context);
974
- }
975
- const contents = smithyClient.map({
976
- $metadata: deserializeMetadata(output),
977
- });
978
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
979
- const doc = smithyClient.take(data, {
980
- associatedClientDevices: (_) => de_AssociatedClientDeviceList(_),
981
- nextToken: smithyClient.expectString,
982
- });
983
- Object.assign(contents, doc);
984
- return contents;
985
- };
986
- const de_ListComponentsCommand = async (output, context) => {
987
- if (output.statusCode !== 200 && output.statusCode >= 300) {
988
- return de_CommandError(output, context);
989
- }
990
- const contents = smithyClient.map({
991
- $metadata: deserializeMetadata(output),
992
- });
993
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
994
- const doc = smithyClient.take(data, {
995
- components: (_) => de_ComponentList(_),
996
- nextToken: smithyClient.expectString,
997
- });
998
- Object.assign(contents, doc);
999
- return contents;
1000
- };
1001
- const de_ListComponentVersionsCommand = async (output, context) => {
1002
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1003
- return de_CommandError(output, context);
1004
- }
1005
- const contents = smithyClient.map({
1006
- $metadata: deserializeMetadata(output),
1007
- });
1008
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1009
- const doc = smithyClient.take(data, {
1010
- componentVersions: smithyClient._json,
1011
- nextToken: smithyClient.expectString,
1012
- });
1013
- Object.assign(contents, doc);
1014
- return contents;
1015
- };
1016
- const de_ListCoreDevicesCommand = async (output, context) => {
1017
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1018
- return de_CommandError(output, context);
1019
- }
1020
- const contents = smithyClient.map({
1021
- $metadata: deserializeMetadata(output),
1022
- });
1023
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1024
- const doc = smithyClient.take(data, {
1025
- coreDevices: (_) => de_CoreDevicesList(_),
1026
- nextToken: smithyClient.expectString,
1027
- });
1028
- Object.assign(contents, doc);
1029
- return contents;
1030
- };
1031
- const de_ListDeploymentsCommand = async (output, context) => {
1032
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1033
- return de_CommandError(output, context);
1034
- }
1035
- const contents = smithyClient.map({
1036
- $metadata: deserializeMetadata(output),
1037
- });
1038
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1039
- const doc = smithyClient.take(data, {
1040
- deployments: (_) => de_DeploymentList(_),
1041
- nextToken: smithyClient.expectString,
1042
- });
1043
- Object.assign(contents, doc);
1044
- return contents;
1045
- };
1046
- const de_ListEffectiveDeploymentsCommand = async (output, context) => {
1047
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1048
- return de_CommandError(output, context);
1049
- }
1050
- const contents = smithyClient.map({
1051
- $metadata: deserializeMetadata(output),
1052
- });
1053
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1054
- const doc = smithyClient.take(data, {
1055
- effectiveDeployments: (_) => de_EffectiveDeploymentsList(_),
1056
- nextToken: smithyClient.expectString,
1057
- });
1058
- Object.assign(contents, doc);
1059
- return contents;
1060
- };
1061
- const de_ListInstalledComponentsCommand = async (output, context) => {
1062
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1063
- return de_CommandError(output, context);
1064
- }
1065
- const contents = smithyClient.map({
1066
- $metadata: deserializeMetadata(output),
1067
- });
1068
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1069
- const doc = smithyClient.take(data, {
1070
- installedComponents: (_) => de_InstalledComponentList(_),
1071
- nextToken: smithyClient.expectString,
1072
- });
1073
- Object.assign(contents, doc);
1074
- return contents;
1075
- };
1076
- const de_ListTagsForResourceCommand = async (output, context) => {
1077
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1078
- return de_CommandError(output, context);
1079
- }
1080
- const contents = smithyClient.map({
1081
- $metadata: deserializeMetadata(output),
1082
- });
1083
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1084
- const doc = smithyClient.take(data, {
1085
- tags: smithyClient._json,
1086
- });
1087
- Object.assign(contents, doc);
1088
- return contents;
1089
- };
1090
- const de_ResolveComponentCandidatesCommand = async (output, context) => {
1091
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1092
- return de_CommandError(output, context);
1093
- }
1094
- const contents = smithyClient.map({
1095
- $metadata: deserializeMetadata(output),
1096
- });
1097
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1098
- const doc = smithyClient.take(data, {
1099
- resolvedComponentVersions: (_) => de_ResolvedComponentVersionsList(_, context),
1100
- });
1101
- Object.assign(contents, doc);
1102
- return contents;
1103
- };
1104
- const de_TagResourceCommand = async (output, context) => {
1105
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1106
- return de_CommandError(output, context);
1107
- }
1108
- const contents = smithyClient.map({
1109
- $metadata: deserializeMetadata(output),
1110
- });
1111
- await smithyClient.collectBody(output.body, context);
1112
- return contents;
1113
- };
1114
- const de_UntagResourceCommand = async (output, context) => {
1115
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1116
- return de_CommandError(output, context);
1117
- }
1118
- const contents = smithyClient.map({
1119
- $metadata: deserializeMetadata(output),
1120
- });
1121
- await smithyClient.collectBody(output.body, context);
1122
- return contents;
1123
- };
1124
- const de_UpdateConnectivityInfoCommand = async (output, context) => {
1125
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1126
- return de_CommandError(output, context);
1127
- }
1128
- const contents = smithyClient.map({
1129
- $metadata: deserializeMetadata(output),
1130
- });
1131
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1132
- const doc = smithyClient.take(data, {
1133
- message: [, smithyClient.expectString, `Message`],
1134
- version: [, smithyClient.expectString, `Version`],
1135
- });
1136
- Object.assign(contents, doc);
1137
- return contents;
1138
- };
1139
- const de_CommandError = async (output, context) => {
1140
- const parsedOutput = {
1141
- ...output,
1142
- body: await core$1.parseJsonErrorBody(output.body, context),
1143
- };
1144
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1145
- switch (errorCode) {
1146
- case "InternalServerException":
1147
- case "com.amazonaws.greengrassv2#InternalServerException":
1148
- throw await de_InternalServerExceptionRes(parsedOutput);
1149
- case "ValidationException":
1150
- case "com.amazonaws.greengrassv2#ValidationException":
1151
- throw await de_ValidationExceptionRes(parsedOutput);
1152
- case "AccessDeniedException":
1153
- case "com.amazonaws.greengrassv2#AccessDeniedException":
1154
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1155
- case "ResourceNotFoundException":
1156
- case "com.amazonaws.greengrassv2#ResourceNotFoundException":
1157
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1158
- case "ThrottlingException":
1159
- case "com.amazonaws.greengrassv2#ThrottlingException":
1160
- throw await de_ThrottlingExceptionRes(parsedOutput);
1161
- case "ConflictException":
1162
- case "com.amazonaws.greengrassv2#ConflictException":
1163
- throw await de_ConflictExceptionRes(parsedOutput);
1164
- case "RequestAlreadyInProgressException":
1165
- case "com.amazonaws.greengrassv2#RequestAlreadyInProgressException":
1166
- throw await de_RequestAlreadyInProgressExceptionRes(parsedOutput);
1167
- case "ServiceQuotaExceededException":
1168
- case "com.amazonaws.greengrassv2#ServiceQuotaExceededException":
1169
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1170
- default:
1171
- const parsedBody = parsedOutput.body;
1172
- return throwDefaultError({
1173
- output,
1174
- parsedBody,
1175
- errorCode,
1176
- });
1177
- }
1178
- };
1179
- const throwDefaultError = smithyClient.withBaseException(GreengrassV2ServiceException);
1180
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1181
- const contents = smithyClient.map({});
1182
- const data = parsedOutput.body;
1183
- const doc = smithyClient.take(data, {
1184
- message: smithyClient.expectString,
1185
- });
1186
- Object.assign(contents, doc);
1187
- const exception = new AccessDeniedException({
1188
- $metadata: deserializeMetadata(parsedOutput),
1189
- ...contents,
1190
- });
1191
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1192
- };
1193
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1194
- const contents = smithyClient.map({});
1195
- const data = parsedOutput.body;
1196
- const doc = smithyClient.take(data, {
1197
- message: smithyClient.expectString,
1198
- resourceId: smithyClient.expectString,
1199
- resourceType: smithyClient.expectString,
1200
- });
1201
- Object.assign(contents, doc);
1202
- const exception = new ConflictException({
1203
- $metadata: deserializeMetadata(parsedOutput),
1204
- ...contents,
1205
- });
1206
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1207
- };
1208
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1209
- const contents = smithyClient.map({
1210
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1211
- });
1212
- const data = parsedOutput.body;
1213
- const doc = smithyClient.take(data, {
1214
- message: smithyClient.expectString,
1215
- });
1216
- Object.assign(contents, doc);
1217
- const exception = new InternalServerException({
1218
- $metadata: deserializeMetadata(parsedOutput),
1219
- ...contents,
1220
- });
1221
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1222
- };
1223
- const de_RequestAlreadyInProgressExceptionRes = async (parsedOutput, context) => {
1224
- const contents = smithyClient.map({});
1225
- const data = parsedOutput.body;
1226
- const doc = smithyClient.take(data, {
1227
- message: smithyClient.expectString,
1228
- });
1229
- Object.assign(contents, doc);
1230
- const exception = new RequestAlreadyInProgressException({
1231
- $metadata: deserializeMetadata(parsedOutput),
1232
- ...contents,
1233
- });
1234
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1235
- };
1236
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1237
- const contents = smithyClient.map({});
1238
- const data = parsedOutput.body;
1239
- const doc = smithyClient.take(data, {
1240
- message: smithyClient.expectString,
1241
- resourceId: smithyClient.expectString,
1242
- resourceType: smithyClient.expectString,
1243
- });
1244
- Object.assign(contents, doc);
1245
- const exception = new ResourceNotFoundException({
1246
- $metadata: deserializeMetadata(parsedOutput),
1247
- ...contents,
1248
- });
1249
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1250
- };
1251
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1252
- const contents = smithyClient.map({});
1253
- const data = parsedOutput.body;
1254
- const doc = smithyClient.take(data, {
1255
- message: smithyClient.expectString,
1256
- quotaCode: smithyClient.expectString,
1257
- resourceId: smithyClient.expectString,
1258
- resourceType: smithyClient.expectString,
1259
- serviceCode: smithyClient.expectString,
1260
- });
1261
- Object.assign(contents, doc);
1262
- const exception = new ServiceQuotaExceededException({
1263
- $metadata: deserializeMetadata(parsedOutput),
1264
- ...contents,
1265
- });
1266
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1267
- };
1268
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1269
- const contents = smithyClient.map({
1270
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1271
- });
1272
- const data = parsedOutput.body;
1273
- const doc = smithyClient.take(data, {
1274
- message: smithyClient.expectString,
1275
- quotaCode: smithyClient.expectString,
1276
- serviceCode: smithyClient.expectString,
1277
- });
1278
- Object.assign(contents, doc);
1279
- const exception = new ThrottlingException({
1280
- $metadata: deserializeMetadata(parsedOutput),
1281
- ...contents,
1282
- });
1283
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1284
- };
1285
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1286
- const contents = smithyClient.map({});
1287
- const data = parsedOutput.body;
1288
- const doc = smithyClient.take(data, {
1289
- fields: smithyClient._json,
1290
- message: smithyClient.expectString,
1291
- reason: smithyClient.expectString,
1292
- });
1293
- Object.assign(contents, doc);
1294
- const exception = new ValidationException({
1295
- $metadata: deserializeMetadata(parsedOutput),
1296
- ...contents,
1297
- });
1298
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1299
- };
1300
- const se_ComponentDeploymentSpecification = (input, context) => {
1301
- return smithyClient.take(input, {
1302
- componentVersion: [],
1303
- configurationUpdate: smithyClient._json,
1304
- runWith: (_) => se_ComponentRunWith(_),
1305
- });
1306
- };
1307
- const se_ComponentDeploymentSpecifications = (input, context) => {
1308
- return Object.entries(input).reduce((acc, [key, value]) => {
1309
- if (value === null) {
1310
- return acc;
1311
- }
1312
- acc[key] = se_ComponentDeploymentSpecification(value);
1313
- return acc;
1314
- }, {});
1315
- };
1316
- const se_ComponentRunWith = (input, context) => {
1317
- return smithyClient.take(input, {
1318
- posixUser: [],
1319
- systemResourceLimits: (_) => se_SystemResourceLimits(_),
1320
- windowsUser: [],
1321
- });
1322
- };
1323
- const se_ConnectivityInfo = (input, context) => {
1324
- return smithyClient.take(input, {
1325
- HostAddress: [, , `hostAddress`],
1326
- Id: [, , `id`],
1327
- Metadata: [, , `metadata`],
1328
- PortNumber: [, , `portNumber`],
1329
- });
1330
- };
1331
- const se_connectivityInfoList = (input, context) => {
1332
- return input
1333
- .filter((e) => e != null)
1334
- .map((entry) => {
1335
- return se_ConnectivityInfo(entry);
1336
- });
1337
- };
1338
- const se_DeploymentIoTJobConfiguration = (input, context) => {
1339
- return smithyClient.take(input, {
1340
- abortConfig: (_) => se_IoTJobAbortConfig(_),
1341
- jobExecutionsRolloutConfig: (_) => se_IoTJobExecutionsRolloutConfig(_),
1342
- timeoutConfig: smithyClient._json,
1343
- });
1344
- };
1345
- const se_IoTJobAbortConfig = (input, context) => {
1346
- return smithyClient.take(input, {
1347
- criteriaList: (_) => se_IoTJobAbortCriteriaList(_),
1348
- });
1349
- };
1350
- const se_IoTJobAbortCriteria = (input, context) => {
1351
- return smithyClient.take(input, {
1352
- action: [],
1353
- failureType: [],
1354
- minNumberOfExecutedThings: [],
1355
- thresholdPercentage: smithyClient.serializeFloat,
1356
- });
1357
- };
1358
- const se_IoTJobAbortCriteriaList = (input, context) => {
1359
- return input
1360
- .filter((e) => e != null)
1361
- .map((entry) => {
1362
- return se_IoTJobAbortCriteria(entry);
1363
- });
1364
- };
1365
- const se_IoTJobExecutionsRolloutConfig = (input, context) => {
1366
- return smithyClient.take(input, {
1367
- exponentialRate: (_) => se_IoTJobExponentialRolloutRate(_),
1368
- maximumPerMinute: [],
1369
- });
1370
- };
1371
- const se_IoTJobExponentialRolloutRate = (input, context) => {
1372
- return smithyClient.take(input, {
1373
- baseRatePerMinute: [],
1374
- incrementFactor: smithyClient.serializeFloat,
1375
- rateIncreaseCriteria: smithyClient._json,
1376
- });
1377
- };
1378
- const se_SystemResourceLimits = (input, context) => {
1379
- return smithyClient.take(input, {
1380
- cpus: smithyClient.serializeFloat,
1381
- memory: [],
1382
- });
1383
- };
1384
- const de_AssociatedClientDevice = (output, context) => {
1385
- return smithyClient.take(output, {
1386
- associationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1387
- thingName: smithyClient.expectString,
1388
- });
1389
- };
1390
- const de_AssociatedClientDeviceList = (output, context) => {
1391
- const retVal = (output || [])
1392
- .filter((e) => e != null)
1393
- .map((entry) => {
1394
- return de_AssociatedClientDevice(entry);
1395
- });
1396
- return retVal;
1397
- };
1398
- const de_Component = (output, context) => {
1399
- return smithyClient.take(output, {
1400
- arn: smithyClient.expectString,
1401
- componentName: smithyClient.expectString,
1402
- latestVersion: (_) => de_ComponentLatestVersion(_),
1403
- });
1404
- };
1405
- const de_ComponentDeploymentSpecification = (output, context) => {
1406
- return smithyClient.take(output, {
1407
- componentVersion: smithyClient.expectString,
1408
- configurationUpdate: smithyClient._json,
1409
- runWith: (_) => de_ComponentRunWith(_),
1410
- });
1411
- };
1412
- const de_ComponentDeploymentSpecifications = (output, context) => {
1413
- return Object.entries(output).reduce((acc, [key, value]) => {
1414
- if (value === null) {
1415
- return acc;
1416
- }
1417
- acc[key] = de_ComponentDeploymentSpecification(value);
1418
- return acc;
1419
- }, {});
1420
- };
1421
- const de_ComponentLatestVersion = (output, context) => {
1422
- return smithyClient.take(output, {
1423
- arn: smithyClient.expectString,
1424
- componentVersion: smithyClient.expectString,
1425
- creationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1426
- description: smithyClient.expectString,
1427
- platforms: smithyClient._json,
1428
- publisher: smithyClient.expectString,
1429
- });
1430
- };
1431
- const de_ComponentList = (output, context) => {
1432
- const retVal = (output || [])
1433
- .filter((e) => e != null)
1434
- .map((entry) => {
1435
- return de_Component(entry);
1436
- });
1437
- return retVal;
1438
- };
1439
- const de_ComponentRunWith = (output, context) => {
1440
- return smithyClient.take(output, {
1441
- posixUser: smithyClient.expectString,
1442
- systemResourceLimits: (_) => de_SystemResourceLimits(_),
1443
- windowsUser: smithyClient.expectString,
1444
- });
1445
- };
1446
- const de_ConnectivityInfo = (output, context) => {
1447
- return smithyClient.take(output, {
1448
- hostAddress: [, smithyClient.expectString, `HostAddress`],
1449
- id: [, smithyClient.expectString, `Id`],
1450
- metadata: [, smithyClient.expectString, `Metadata`],
1451
- portNumber: [, smithyClient.expectInt32, `PortNumber`],
1452
- });
1453
- };
1454
- const de_connectivityInfoList = (output, context) => {
1455
- const retVal = (output || [])
1456
- .filter((e) => e != null)
1457
- .map((entry) => {
1458
- return de_ConnectivityInfo(entry);
1459
- });
1460
- return retVal;
1461
- };
1462
- const de_CoreDevice = (output, context) => {
1463
- return smithyClient.take(output, {
1464
- architecture: smithyClient.expectString,
1465
- coreDeviceThingName: smithyClient.expectString,
1466
- lastStatusUpdateTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1467
- platform: smithyClient.expectString,
1468
- runtime: smithyClient.expectString,
1469
- status: smithyClient.expectString,
1470
- });
1471
- };
1472
- const de_CoreDevicesList = (output, context) => {
1473
- const retVal = (output || [])
1474
- .filter((e) => e != null)
1475
- .map((entry) => {
1476
- return de_CoreDevice(entry);
1477
- });
1478
- return retVal;
1479
- };
1480
- const de_Deployment = (output, context) => {
1481
- return smithyClient.take(output, {
1482
- creationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1483
- deploymentId: smithyClient.expectString,
1484
- deploymentName: smithyClient.expectString,
1485
- deploymentStatus: smithyClient.expectString,
1486
- isLatestForTarget: smithyClient.expectBoolean,
1487
- parentTargetArn: smithyClient.expectString,
1488
- revisionId: smithyClient.expectString,
1489
- targetArn: smithyClient.expectString,
1490
- });
1491
- };
1492
- const de_DeploymentIoTJobConfiguration = (output, context) => {
1493
- return smithyClient.take(output, {
1494
- abortConfig: (_) => de_IoTJobAbortConfig(_),
1495
- jobExecutionsRolloutConfig: (_) => de_IoTJobExecutionsRolloutConfig(_),
1496
- timeoutConfig: smithyClient._json,
1497
- });
1498
- };
1499
- const de_DeploymentList = (output, context) => {
1500
- const retVal = (output || [])
1501
- .filter((e) => e != null)
1502
- .map((entry) => {
1503
- return de_Deployment(entry);
1504
- });
1505
- return retVal;
1506
- };
1507
- const de_EffectiveDeployment = (output, context) => {
1508
- return smithyClient.take(output, {
1509
- coreDeviceExecutionStatus: smithyClient.expectString,
1510
- creationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1511
- deploymentId: smithyClient.expectString,
1512
- deploymentName: smithyClient.expectString,
1513
- description: smithyClient.expectString,
1514
- iotJobArn: smithyClient.expectString,
1515
- iotJobId: smithyClient.expectString,
1516
- modifiedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1517
- reason: smithyClient.expectString,
1518
- statusDetails: smithyClient._json,
1519
- targetArn: smithyClient.expectString,
1520
- });
1521
- };
1522
- const de_EffectiveDeploymentsList = (output, context) => {
1523
- const retVal = (output || [])
1524
- .filter((e) => e != null)
1525
- .map((entry) => {
1526
- return de_EffectiveDeployment(entry);
1527
- });
1528
- return retVal;
1529
- };
1530
- const de_InstalledComponent = (output, context) => {
1531
- return smithyClient.take(output, {
1532
- componentName: smithyClient.expectString,
1533
- componentVersion: smithyClient.expectString,
1534
- isRoot: smithyClient.expectBoolean,
1535
- lastInstallationSource: smithyClient.expectString,
1536
- lastReportedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1537
- lastStatusChangeTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1538
- lifecycleState: smithyClient.expectString,
1539
- lifecycleStateDetails: smithyClient.expectString,
1540
- lifecycleStatusCodes: smithyClient._json,
1541
- });
1542
- };
1543
- const de_InstalledComponentList = (output, context) => {
1544
- const retVal = (output || [])
1545
- .filter((e) => e != null)
1546
- .map((entry) => {
1547
- return de_InstalledComponent(entry);
1548
- });
1549
- return retVal;
1550
- };
1551
- const de_IoTJobAbortConfig = (output, context) => {
1552
- return smithyClient.take(output, {
1553
- criteriaList: (_) => de_IoTJobAbortCriteriaList(_),
1554
- });
1555
- };
1556
- const de_IoTJobAbortCriteria = (output, context) => {
1557
- return smithyClient.take(output, {
1558
- action: smithyClient.expectString,
1559
- failureType: smithyClient.expectString,
1560
- minNumberOfExecutedThings: smithyClient.expectInt32,
1561
- thresholdPercentage: smithyClient.limitedParseDouble,
1562
- });
1563
- };
1564
- const de_IoTJobAbortCriteriaList = (output, context) => {
1565
- const retVal = (output || [])
1566
- .filter((e) => e != null)
1567
- .map((entry) => {
1568
- return de_IoTJobAbortCriteria(entry);
1569
- });
1570
- return retVal;
1571
- };
1572
- const de_IoTJobExecutionsRolloutConfig = (output, context) => {
1573
- return smithyClient.take(output, {
1574
- exponentialRate: (_) => de_IoTJobExponentialRolloutRate(_),
1575
- maximumPerMinute: smithyClient.expectInt32,
1576
- });
1577
- };
1578
- const de_IoTJobExponentialRolloutRate = (output, context) => {
1579
- return smithyClient.take(output, {
1580
- baseRatePerMinute: smithyClient.expectInt32,
1581
- incrementFactor: smithyClient.limitedParseDouble,
1582
- rateIncreaseCriteria: smithyClient._json,
1583
- });
1584
- };
1585
- const de_ResolvedComponentVersion = (output, context) => {
1586
- return smithyClient.take(output, {
1587
- arn: smithyClient.expectString,
1588
- componentName: smithyClient.expectString,
1589
- componentVersion: smithyClient.expectString,
1590
- message: smithyClient.expectString,
1591
- recipe: context.base64Decoder,
1592
- vendorGuidance: smithyClient.expectString,
1593
- });
1594
- };
1595
- const de_ResolvedComponentVersionsList = (output, context) => {
1596
- const retVal = (output || [])
1597
- .filter((e) => e != null)
1598
- .map((entry) => {
1599
- return de_ResolvedComponentVersion(entry, context);
1600
- });
1601
- return retVal;
1602
- };
1603
- const de_SystemResourceLimits = (output, context) => {
1604
- return smithyClient.take(output, {
1605
- cpus: smithyClient.limitedParseDouble,
1606
- memory: smithyClient.expectLong,
1607
- });
1608
- };
1609
- const deserializeMetadata = (output) => ({
1610
- httpStatusCode: output.statusCode,
1611
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1612
- extendedRequestId: output.headers["x-amz-id-2"],
1613
- cfId: output.headers["x-amz-cf-id"],
1614
- });
355
+ const _AA = "AssociatedAt";
356
+ const _ACD = "AssociatedClientDevice";
357
+ const _ACDL = "AssociatedClientDeviceList";
358
+ const _ACDWCDE = "AssociateClientDeviceWithCoreDeviceEntry";
359
+ const _ACDWCDEE = "AssociateClientDeviceWithCoreDeviceErrorEntry";
360
+ const _ACDWCDEL = "AssociateClientDeviceWithCoreDeviceEntryList";
361
+ const _ACDWCDELs = "AssociateClientDeviceWithCoreDeviceErrorList";
362
+ const _ADE = "AccessDeniedException";
363
+ const _ASRTA = "AssociateServiceRoleToAccount";
364
+ const _ASRTAR = "AssociateServiceRoleToAccountRequest";
365
+ const _ASRTARs = "AssociateServiceRoleToAccountResponse";
366
+ const _BACDWCD = "BatchAssociateClientDeviceWithCoreDevice";
367
+ const _BACDWCDR = "BatchAssociateClientDeviceWithCoreDeviceRequest";
368
+ const _BACDWCDRa = "BatchAssociateClientDeviceWithCoreDeviceResponse";
369
+ const _BDCDFCD = "BatchDisassociateClientDeviceFromCoreDevice";
370
+ const _BDCDFCDR = "BatchDisassociateClientDeviceFromCoreDeviceRequest";
371
+ const _BDCDFCDRa = "BatchDisassociateClientDeviceFromCoreDeviceResponse";
372
+ const _C = "Component";
373
+ const _CC = "ComponentCandidate";
374
+ const _CCL = "ComponentCandidateList";
375
+ const _CCS = "CloudComponentStatus";
376
+ const _CCU = "ComponentConfigurationUpdate";
377
+ const _CCV = "CreateComponentVersion";
378
+ const _CCVR = "CreateComponentVersionRequest";
379
+ const _CCVRr = "CreateComponentVersionResponse";
380
+ const _CD = "CoreDevice";
381
+ const _CDL = "CoreDevicesList";
382
+ const _CDM = "ComponentDependencyMap";
383
+ const _CDR = "CancelDeploymentRequest";
384
+ const _CDRa = "CancelDeploymentResponse";
385
+ const _CDRo = "ComponentDependencyRequirement";
386
+ const _CDRr = "CreateDeploymentRequest";
387
+ const _CDRre = "CreateDeploymentResponse";
388
+ const _CDS = "ComponentDeploymentSpecification";
389
+ const _CDSo = "ComponentDeploymentSpecifications";
390
+ const _CDa = "CancelDeployment";
391
+ const _CDr = "CreateDeployment";
392
+ const _CE = "ConflictException";
393
+ const _CI = "ConnectivityInfo";
394
+ const _CL = "ComponentList";
395
+ const _CLV = "ComponentLatestVersion";
396
+ const _CP = "ComponentPlatform";
397
+ const _CPL = "ComponentPlatformList";
398
+ const _CRW = "ComponentRunWith";
399
+ const _CVL = "ComponentVersionList";
400
+ const _CVLI = "ComponentVersionListItem";
401
+ const _D = "Deployment";
402
+ const _DA = "DisassociatedAt";
403
+ const _DC = "DeleteComponent";
404
+ const _DCD = "DeleteCoreDevice";
405
+ const _DCDFCDE = "DisassociateClientDeviceFromCoreDeviceEntry";
406
+ const _DCDFCDEE = "DisassociateClientDeviceFromCoreDeviceErrorEntry";
407
+ const _DCDFCDEL = "DisassociateClientDeviceFromCoreDeviceEntryList";
408
+ const _DCDFCDELi = "DisassociateClientDeviceFromCoreDeviceErrorList";
409
+ const _DCDR = "DeleteCoreDeviceRequest";
410
+ const _DCR = "DeleteComponentRequest";
411
+ const _DCRe = "DescribeComponentRequest";
412
+ const _DCRes = "DescribeComponentResponse";
413
+ const _DCUP = "DeploymentComponentUpdatePolicy";
414
+ const _DCVP = "DeploymentConfigurationValidationPolicy";
415
+ const _DCe = "DescribeComponent";
416
+ const _DD = "DeleteDeployment";
417
+ const _DDR = "DeleteDeploymentRequest";
418
+ const _DITJC = "DeploymentIoTJobConfiguration";
419
+ const _DL = "DeploymentList";
420
+ const _DP = "DeploymentPolicies";
421
+ const _DSRFA = "DisassociateServiceRoleFromAccount";
422
+ const _DSRFAR = "DisassociateServiceRoleFromAccountRequest";
423
+ const _DSRFARi = "DisassociateServiceRoleFromAccountResponse";
424
+ const _ED = "EffectiveDeployment";
425
+ const _EDL = "EffectiveDeploymentsList";
426
+ const _EDSD = "EffectiveDeploymentStatusDetails";
427
+ const _GC = "GetComponent";
428
+ const _GCD = "GetCoreDevice";
429
+ const _GCDR = "GetCoreDeviceRequest";
430
+ const _GCDRe = "GetCoreDeviceResponse";
431
+ const _GCI = "GetConnectivityInfo";
432
+ const _GCIR = "GetConnectivityInfoRequest";
433
+ const _GCIRe = "GetConnectivityInfoResponse";
434
+ const _GCR = "GetComponentRequest";
435
+ const _GCRe = "GetComponentResponse";
436
+ const _GCVA = "GetComponentVersionArtifact";
437
+ const _GCVAR = "GetComponentVersionArtifactRequest";
438
+ const _GCVARe = "GetComponentVersionArtifactResponse";
439
+ const _GD = "GetDeployment";
440
+ const _GDR = "GetDeploymentRequest";
441
+ const _GDRe = "GetDeploymentResponse";
442
+ const _GSRFA = "GetServiceRoleForAccount";
443
+ const _GSRFAR = "GetServiceRoleForAccountRequest";
444
+ const _GSRFARe = "GetServiceRoleForAccountResponse";
445
+ const _HA = "HostAddress";
446
+ const _I = "Id";
447
+ const _IC = "InstalledComponent";
448
+ const _ICL = "InstalledComponentList";
449
+ const _ISE = "InternalServerException";
450
+ const _ITJAC = "IoTJobAbortConfig";
451
+ const _ITJACL = "IoTJobAbortCriteriaList";
452
+ const _ITJACo = "IoTJobAbortCriteria";
453
+ const _ITJERC = "IoTJobExecutionsRolloutConfig";
454
+ const _ITJERR = "IoTJobExponentialRolloutRate";
455
+ const _ITJRIC = "IoTJobRateIncreaseCriteria";
456
+ const _ITJTC = "IoTJobTimeoutConfig";
457
+ const _LC = "ListComponents";
458
+ const _LCD = "ListCoreDevices";
459
+ const _LCDAWCD = "ListClientDevicesAssociatedWithCoreDevice";
460
+ const _LCDAWCDR = "ListClientDevicesAssociatedWithCoreDeviceRequest";
461
+ const _LCDAWCDRi = "ListClientDevicesAssociatedWithCoreDeviceResponse";
462
+ const _LCDR = "ListCoreDevicesRequest";
463
+ const _LCDRi = "ListCoreDevicesResponse";
464
+ const _LCP = "LambdaContainerParams";
465
+ const _LCR = "ListComponentsRequest";
466
+ const _LCRi = "ListComponentsResponse";
467
+ const _LCV = "ListComponentVersions";
468
+ const _LCVR = "ListComponentVersionsRequest";
469
+ const _LCVRi = "ListComponentVersionsResponse";
470
+ const _LD = "ListDeployments";
471
+ const _LDL = "LambdaDeviceList";
472
+ const _LDM = "LambdaDeviceMount";
473
+ const _LDR = "ListDeploymentsRequest";
474
+ const _LDRi = "ListDeploymentsResponse";
475
+ const _LED = "ListEffectiveDeployments";
476
+ const _LEDR = "ListEffectiveDeploymentsRequest";
477
+ const _LEDRi = "ListEffectiveDeploymentsResponse";
478
+ const _LEP = "LambdaExecutionParameters";
479
+ const _LES = "LambdaEventSource";
480
+ const _LESL = "LambdaEventSourceList";
481
+ const _LFRS = "LambdaFunctionRecipeSource";
482
+ const _LIC = "ListInstalledComponents";
483
+ const _LICR = "ListInstalledComponentsRequest";
484
+ const _LICRi = "ListInstalledComponentsResponse";
485
+ const _LLPP = "LambdaLinuxProcessParams";
486
+ const _LTFR = "ListTagsForResource";
487
+ const _LTFRR = "ListTagsForResourceRequest";
488
+ const _LTFRRi = "ListTagsForResourceResponse";
489
+ const _LVL = "LambdaVolumeList";
490
+ const _LVM = "LambdaVolumeMount";
491
+ const _M = "Metadata";
492
+ const _Me = "Message";
493
+ const _PN = "PortNumber";
494
+ const _RA = "RoleArn";
495
+ const _RAIPE = "RequestAlreadyInProgressException";
496
+ const _RA_ = "Retry-After";
497
+ const _RCC = "ResolveComponentCandidates";
498
+ const _RCCR = "ResolveComponentCandidatesRequest";
499
+ const _RCCRe = "ResolveComponentCandidatesResponse";
500
+ const _RCV = "ResolvedComponentVersion";
501
+ const _RCVL = "ResolvedComponentVersionsList";
502
+ const _RNFE = "ResourceNotFoundException";
503
+ const _SQEE = "ServiceQuotaExceededException";
504
+ const _SRL = "SystemResourceLimits";
505
+ const _TE = "ThrottlingException";
506
+ const _TN = "ThingName";
507
+ const _TR = "TagResource";
508
+ const _TRR = "TagResourceRequest";
509
+ const _TRRa = "TagResourceResponse";
510
+ const _UCI = "UpdateConnectivityInfo";
511
+ const _UCIR = "UpdateConnectivityInfoRequest";
512
+ const _UCIRp = "UpdateConnectivityInfoResponse";
513
+ const _UR = "UntagResource";
514
+ const _URR = "UntagResourceRequest";
515
+ const _URRn = "UntagResourceResponse";
516
+ const _V = "Version";
517
+ const _VE = "ValidationException";
518
+ const _VEF = "ValidationExceptionField";
519
+ const _VEFL = "ValidationExceptionFieldList";
520
+ const _a = "arn";
521
+ const _aA = "associatedAt";
522
+ const _aC = "abortConfig";
523
+ const _aCD = "associatedClientDevices";
524
+ const _aGO = "addGroupOwner";
525
+ const _aN = "artifactName";
526
+ const _aT = "associationTimestamp";
527
+ const _ac = "action";
528
+ const _ar = "architecture";
529
+ const _at = "attributes";
530
+ const _bRPM = "baseRatePerMinute";
531
+ const _c = "client";
532
+ const _cC = "componentCandidates";
533
+ const _cD = "componentDependencies";
534
+ const _cDES = "coreDeviceExecutionStatus";
535
+ const _cDTN = "coreDeviceThingName";
536
+ const _cDo = "coreDevices";
537
+ const _cI = "connectivityInfo";
538
+ const _cIL = "connectivityInfoList";
539
+ const _cL = "criteriaList";
540
+ const _cLP = "componentLambdaParameters";
541
+ const _cN = "componentName";
542
+ const _cP = "componentPlatforms";
543
+ const _cPo = "containerParams";
544
+ const _cS = "componentState";
545
+ const _cT = "creationTimestamp";
546
+ const _cTl = "clientToken";
547
+ const _cU = "configurationUpdate";
548
+ const _cUP = "componentUpdatePolicy";
549
+ const _cV = "componentVersion";
550
+ const _cVP = "configurationValidationPolicy";
551
+ const _cVo = "coreVersion";
552
+ const _cVom = "componentVersions";
553
+ const _co = "code";
554
+ const _com = "components";
555
+ const _cp = "cpus";
556
+ const _d = "description";
557
+ const _dA = "disassociatedAt";
558
+ const _dI = "deploymentId";
559
+ const _dN = "deploymentName";
560
+ const _dP = "deploymentPolicies";
561
+ const _dPe = "destinationPath";
562
+ const _dS = "deploymentStatus";
563
+ const _dT = "dependencyType";
564
+ const _de = "devices";
565
+ const _dep = "deployments";
566
+ const _e = "error";
567
+ const _eA = "execArgs";
568
+ const _eD = "effectiveDeployments";
569
+ const _eE = "errorEntries";
570
+ const _eR = "exponentialRate";
571
+ const _eS = "errorStack";
572
+ const _eSv = "eventSources";
573
+ const _eT = "errorTypes";
574
+ const _eV = "environmentVariables";
575
+ const _en = "entries";
576
+ const _er = "errors";
577
+ const _f = "fields";
578
+ const _fHP = "failureHandlingPolicy";
579
+ const _fT = "failureType";
580
+ const _h = "http";
581
+ const _hA = "hostAddress";
582
+ const _hE = "httpError";
1615
583
  const _hF = "historyFilter";
584
+ const _hH = "httpHeader";
585
+ const _hL = "httpLabel";
586
+ const _hQ = "httpQuery";
587
+ const _i = "id";
588
+ const _iC = "installedComponents";
1616
589
  const _iET = "iotEndpointType";
590
+ const _iF = "incrementFactor";
591
+ const _iJA = "iotJobArn";
592
+ const _iJC = "iotJobConfiguration";
593
+ const _iJI = "iotJobId";
594
+ const _iLFT = "isLatestForTarget";
595
+ const _iM = "isolationMode";
596
+ const _iPET = "inputPayloadEncodingType";
597
+ const _iPTIM = "inProgressTimeoutInMinutes";
598
+ const _iR = "inlineRecipe";
599
+ const _iRs = "isRoot";
600
+ const _jERC = "jobExecutionsRolloutConfig";
601
+ const _jN = "jsonName";
602
+ const _lA = "lambdaArn";
603
+ const _lF = "lambdaFunction";
604
+ const _lIS = "lastInstallationSource";
605
+ const _lPP = "linuxProcessParams";
606
+ const _lRT = "lastReportedTimestamp";
607
+ const _lS = "lifecycleState";
608
+ const _lSC = "lifecycleStatusCodes";
609
+ const _lSCT = "lastStatusChangeTimestamp";
610
+ const _lSD = "lifecycleStateDetails";
611
+ const _lSUT = "lastStatusUpdateTimestamp";
612
+ const _lV = "latestVersion";
613
+ const _m = "message";
614
+ const _mIC = "maxInstancesCount";
615
+ const _mITIS = "maxIdleTimeInSeconds";
616
+ const _mNOET = "minNumberOfExecutedThings";
617
+ const _mPM = "maximumPerMinute";
618
+ const _mQS = "maxQueueSize";
1617
619
  const _mR = "maxResults";
620
+ const _mROS = "mountROSysfs";
621
+ const _mSIKB = "memorySizeInKB";
622
+ const _mT = "modifiedTimestamp";
623
+ const _me = "merge";
624
+ const _mem = "memory";
625
+ const _met = "metadata";
626
+ const _n = "name";
627
+ const _nONT = "numberOfNotifiedThings";
628
+ const _nOST = "numberOfSucceededThings";
1618
629
  const _nT = "nextToken";
630
+ const _p = "publisher";
631
+ const _pN = "portNumber";
632
+ const _pSU = "preSignedUrl";
1619
633
  const _pTA = "parentTargetArn";
1620
- const _r = "runtime";
634
+ const _pU = "posixUser";
635
+ const _pa = "path";
636
+ const _pe = "permission";
637
+ const _pi = "pinned";
638
+ const _pl = "platforms";
639
+ const _pla = "platform";
640
+ const _qC = "quotaCode";
641
+ const _r = "reset";
642
+ const _rA = "roleArn";
1621
643
  const _rAS = "retryAfterSeconds";
644
+ const _rAe = "resourceArn";
645
+ const _rCV = "resolvedComponentVersions";
646
+ const _rI = "resourceId";
647
+ const _rIC = "rateIncreaseCriteria";
648
+ const _rIe = "revisionId";
1622
649
  const _rOF = "recipeOutputFormat";
1623
- const _ra = "retry-after";
1624
- const _s = "scope";
650
+ const _rT = "resourceType";
651
+ const _rW = "runWith";
652
+ const _re = "reason";
653
+ const _rec = "recipe";
654
+ const _ru = "runtime";
655
+ const _s = "status";
656
+ const _sC = "serviceCode";
657
+ const _sD = "statusDetails";
1625
658
  const _sET = "s3EndpointType";
1626
- const _st = "status";
659
+ const _sP = "sourcePath";
660
+ const _sRL = "systemResourceLimits";
661
+ const _sTIS = "statusTimeoutInSeconds";
662
+ const _sc = "scope";
663
+ const _se = "server";
664
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.greengrassv2";
665
+ const _t = "tags";
1627
666
  const _tA = "targetArn";
667
+ const _tC = "timeoutConfig";
1628
668
  const _tF = "topologyFilter";
1629
669
  const _tGA = "thingGroupArn";
670
+ const _tIS = "timeoutInSeconds";
1630
671
  const _tK = "tagKeys";
672
+ const _tN = "thingName";
673
+ const _tP = "thresholdPercentage";
674
+ const _to = "topic";
675
+ const _ty = "type";
676
+ const _v = "volumes";
677
+ const _vG = "vendorGuidance";
678
+ const _vGM = "vendorGuidanceMessage";
679
+ const _vR = "versionRequirements";
680
+ const _vRe = "versionRequirement";
681
+ const _ve = "version";
682
+ const _wU = "windowsUser";
1631
683
  const _xaiet = "x-amz-iot-endpoint-type";
684
+ const n0 = "com.amazonaws.greengrassv2";
685
+ var AccessDeniedException = [
686
+ -3,
687
+ n0,
688
+ _ADE,
689
+ {
690
+ [_e]: _c,
691
+ [_hE]: 403,
692
+ },
693
+ [_m],
694
+ [0],
695
+ ];
696
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
697
+ var AssociateClientDeviceWithCoreDeviceEntry = [3, n0, _ACDWCDE, 0, [_tN], [0]];
698
+ var AssociateClientDeviceWithCoreDeviceErrorEntry = [
699
+ 3,
700
+ n0,
701
+ _ACDWCDEE,
702
+ 0,
703
+ [_tN, _co, _m],
704
+ [0, 0, 0],
705
+ ];
706
+ var AssociatedClientDevice = [3, n0, _ACD, 0, [_tN, _aT], [0, 4]];
707
+ var AssociateServiceRoleToAccountRequest = [
708
+ 3,
709
+ n0,
710
+ _ASRTAR,
711
+ 0,
712
+ [_rA],
713
+ [
714
+ [
715
+ 0,
716
+ {
717
+ [_jN]: _RA,
718
+ },
719
+ ],
720
+ ],
721
+ ];
722
+ var AssociateServiceRoleToAccountResponse = [
723
+ 3,
724
+ n0,
725
+ _ASRTARs,
726
+ 0,
727
+ [_aA],
728
+ [
729
+ [
730
+ 0,
731
+ {
732
+ [_jN]: _AA,
733
+ },
734
+ ],
735
+ ],
736
+ ];
737
+ var BatchAssociateClientDeviceWithCoreDeviceRequest = [
738
+ 3,
739
+ n0,
740
+ _BACDWCDR,
741
+ 0,
742
+ [_en, _cDTN],
743
+ [() => AssociateClientDeviceWithCoreDeviceEntryList, [0, 1]],
744
+ ];
745
+ var BatchAssociateClientDeviceWithCoreDeviceResponse = [
746
+ 3,
747
+ n0,
748
+ _BACDWCDRa,
749
+ 0,
750
+ [_eE],
751
+ [() => AssociateClientDeviceWithCoreDeviceErrorList],
752
+ ];
753
+ var BatchDisassociateClientDeviceFromCoreDeviceRequest = [
754
+ 3,
755
+ n0,
756
+ _BDCDFCDR,
757
+ 0,
758
+ [_en, _cDTN],
759
+ [() => DisassociateClientDeviceFromCoreDeviceEntryList, [0, 1]],
760
+ ];
761
+ var BatchDisassociateClientDeviceFromCoreDeviceResponse = [
762
+ 3,
763
+ n0,
764
+ _BDCDFCDRa,
765
+ 0,
766
+ [_eE],
767
+ [() => DisassociateClientDeviceFromCoreDeviceErrorList],
768
+ ];
769
+ var CancelDeploymentRequest = [3, n0, _CDR, 0, [_dI], [[0, 1]]];
770
+ var CancelDeploymentResponse = [3, n0, _CDRa, 0, [_m], [0]];
771
+ var CloudComponentStatus = [
772
+ 3,
773
+ n0,
774
+ _CCS,
775
+ 0,
776
+ [_cS, _m, _er, _vG, _vGM],
777
+ [0, 0, 128 | 0, 0, 0],
778
+ ];
779
+ var Component = [3, n0, _C, 0, [_a, _cN, _lV], [0, 0, () => ComponentLatestVersion]];
780
+ var ComponentCandidate = [3, n0, _CC, 0, [_cN, _cV, _vR], [0, 0, 128 | 0]];
781
+ var ComponentConfigurationUpdate = [3, n0, _CCU, 0, [_me, _r], [0, 64 | 0]];
782
+ var ComponentDependencyRequirement = [3, n0, _CDRo, 0, [_vRe, _dT], [0, 0]];
783
+ var ComponentDeploymentSpecification = [
784
+ 3,
785
+ n0,
786
+ _CDS,
787
+ 0,
788
+ [_cV, _cU, _rW],
789
+ [0, () => ComponentConfigurationUpdate, () => ComponentRunWith],
790
+ ];
791
+ var ComponentLatestVersion = [
792
+ 3,
793
+ n0,
794
+ _CLV,
795
+ 0,
796
+ [_a, _cV, _cT, _d, _p, _pl],
797
+ [0, 0, 4, 0, 0, () => ComponentPlatformList],
798
+ ];
799
+ var ComponentPlatform = [3, n0, _CP, 0, [_n, _at], [0, 128 | 0]];
800
+ var ComponentRunWith = [
801
+ 3,
802
+ n0,
803
+ _CRW,
804
+ 0,
805
+ [_pU, _sRL, _wU],
806
+ [0, () => SystemResourceLimits, 0],
807
+ ];
808
+ var ComponentVersionListItem = [3, n0, _CVLI, 0, [_cN, _cV, _a], [0, 0, 0]];
809
+ var ConflictException = [
810
+ -3,
811
+ n0,
812
+ _CE,
813
+ {
814
+ [_e]: _c,
815
+ [_hE]: 409,
816
+ },
817
+ [_m, _rI, _rT],
818
+ [0, 0, 0],
819
+ ];
820
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
821
+ var ConnectivityInfo = [
822
+ 3,
823
+ n0,
824
+ _CI,
825
+ 0,
826
+ [_i, _hA, _pN, _met],
827
+ [
828
+ [
829
+ 0,
830
+ {
831
+ [_jN]: _I,
832
+ },
833
+ ],
834
+ [
835
+ 0,
836
+ {
837
+ [_jN]: _HA,
838
+ },
839
+ ],
840
+ [
841
+ 1,
842
+ {
843
+ [_jN]: _PN,
844
+ },
845
+ ],
846
+ [
847
+ 0,
848
+ {
849
+ [_jN]: _M,
850
+ },
851
+ ],
852
+ ],
853
+ ];
854
+ var CoreDevice = [3, n0, _CD, 0, [_cDTN, _s, _lSUT, _pla, _ar, _ru], [0, 0, 4, 0, 0, 0]];
855
+ var CreateComponentVersionRequest = [
856
+ 3,
857
+ n0,
858
+ _CCVR,
859
+ 0,
860
+ [_iR, _lF, _t, _cTl],
861
+ [21, () => LambdaFunctionRecipeSource, 128 | 0, [0, 4]],
862
+ ];
863
+ var CreateComponentVersionResponse = [
864
+ 3,
865
+ n0,
866
+ _CCVRr,
867
+ 0,
868
+ [_a, _cN, _cV, _cT, _s],
869
+ [0, 0, 0, 4, () => CloudComponentStatus],
870
+ ];
871
+ var CreateDeploymentRequest = [
872
+ 3,
873
+ n0,
874
+ _CDRr,
875
+ 0,
876
+ [_tA, _dN, _com, _iJC, _dP, _pTA, _t, _cTl],
877
+ [
878
+ 0,
879
+ 0,
880
+ () => ComponentDeploymentSpecifications,
881
+ () => DeploymentIoTJobConfiguration,
882
+ () => DeploymentPolicies,
883
+ 0,
884
+ 128 | 0,
885
+ [0, 4],
886
+ ],
887
+ ];
888
+ var CreateDeploymentResponse = [3, n0, _CDRre, 0, [_dI, _iJI, _iJA], [0, 0, 0]];
889
+ var DeleteComponentRequest = [3, n0, _DCR, 0, [_a], [[0, 1]]];
890
+ var DeleteCoreDeviceRequest = [3, n0, _DCDR, 0, [_cDTN], [[0, 1]]];
891
+ var DeleteDeploymentRequest = [3, n0, _DDR, 0, [_dI], [[0, 1]]];
892
+ var Deployment = [
893
+ 3,
894
+ n0,
895
+ _D,
896
+ 0,
897
+ [_tA, _rIe, _dI, _dN, _cT, _dS, _iLFT, _pTA],
898
+ [0, 0, 0, 0, 4, 0, 2, 0],
899
+ ];
900
+ var DeploymentComponentUpdatePolicy = [3, n0, _DCUP, 0, [_tIS, _ac], [1, 0]];
901
+ var DeploymentConfigurationValidationPolicy = [3, n0, _DCVP, 0, [_tIS], [1]];
902
+ var DeploymentIoTJobConfiguration = [
903
+ 3,
904
+ n0,
905
+ _DITJC,
906
+ 0,
907
+ [_jERC, _aC, _tC],
908
+ [() => IoTJobExecutionsRolloutConfig, () => IoTJobAbortConfig, () => IoTJobTimeoutConfig],
909
+ ];
910
+ var DeploymentPolicies = [
911
+ 3,
912
+ n0,
913
+ _DP,
914
+ 0,
915
+ [_fHP, _cUP, _cVP],
916
+ [0, () => DeploymentComponentUpdatePolicy, () => DeploymentConfigurationValidationPolicy],
917
+ ];
918
+ var DescribeComponentRequest = [3, n0, _DCRe, 0, [_a], [[0, 1]]];
919
+ var DescribeComponentResponse = [
920
+ 3,
921
+ n0,
922
+ _DCRes,
923
+ 0,
924
+ [_a, _cN, _cV, _cT, _p, _d, _s, _pl, _t],
925
+ [0, 0, 0, 4, 0, 0, () => CloudComponentStatus, () => ComponentPlatformList, 128 | 0],
926
+ ];
927
+ var DisassociateClientDeviceFromCoreDeviceEntry = [3, n0, _DCDFCDE, 0, [_tN], [0]];
928
+ var DisassociateClientDeviceFromCoreDeviceErrorEntry = [
929
+ 3,
930
+ n0,
931
+ _DCDFCDEE,
932
+ 0,
933
+ [_tN, _co, _m],
934
+ [0, 0, 0],
935
+ ];
936
+ var DisassociateServiceRoleFromAccountRequest = [3, n0, _DSRFAR, 0, [], []];
937
+ var DisassociateServiceRoleFromAccountResponse = [
938
+ 3,
939
+ n0,
940
+ _DSRFARi,
941
+ 0,
942
+ [_dA],
943
+ [
944
+ [
945
+ 0,
946
+ {
947
+ [_jN]: _DA,
948
+ },
949
+ ],
950
+ ],
951
+ ];
952
+ var EffectiveDeployment = [
953
+ 3,
954
+ n0,
955
+ _ED,
956
+ 0,
957
+ [_dI, _dN, _iJI, _iJA, _d, _tA, _cDES, _re, _cT, _mT, _sD],
958
+ [0, 0, 0, 0, 0, 0, 0, 0, 4, 4, () => EffectiveDeploymentStatusDetails],
959
+ ];
960
+ var EffectiveDeploymentStatusDetails = [3, n0, _EDSD, 0, [_eS, _eT], [64 | 0, 64 | 0]];
961
+ var GetComponentRequest = [
962
+ 3,
963
+ n0,
964
+ _GCR,
965
+ 0,
966
+ [_rOF, _a],
967
+ [
968
+ [
969
+ 0,
970
+ {
971
+ [_hQ]: _rOF,
972
+ },
973
+ ],
974
+ [0, 1],
975
+ ],
976
+ ];
977
+ var GetComponentResponse = [3, n0, _GCRe, 0, [_rOF, _rec, _t], [0, 21, 128 | 0]];
978
+ var GetComponentVersionArtifactRequest = [
979
+ 3,
980
+ n0,
981
+ _GCVAR,
982
+ 0,
983
+ [_a, _aN, _sET, _iET],
984
+ [
985
+ [0, 1],
986
+ [0, 1],
987
+ [
988
+ 0,
989
+ {
990
+ [_hQ]: _sET,
991
+ },
992
+ ],
993
+ [
994
+ 0,
995
+ {
996
+ [_hH]: _xaiet,
997
+ },
998
+ ],
999
+ ],
1000
+ ];
1001
+ var GetComponentVersionArtifactResponse = [3, n0, _GCVARe, 0, [_pSU], [0]];
1002
+ var GetConnectivityInfoRequest = [3, n0, _GCIR, 0, [_tN], [[0, 1]]];
1003
+ var GetConnectivityInfoResponse = [
1004
+ 3,
1005
+ n0,
1006
+ _GCIRe,
1007
+ 0,
1008
+ [_cI, _m],
1009
+ [
1010
+ [
1011
+ () => connectivityInfoList,
1012
+ {
1013
+ [_jN]: _CI,
1014
+ },
1015
+ ],
1016
+ [
1017
+ 0,
1018
+ {
1019
+ [_jN]: _Me,
1020
+ },
1021
+ ],
1022
+ ],
1023
+ ];
1024
+ var GetCoreDeviceRequest = [3, n0, _GCDR, 0, [_cDTN], [[0, 1]]];
1025
+ var GetCoreDeviceResponse = [
1026
+ 3,
1027
+ n0,
1028
+ _GCDRe,
1029
+ 0,
1030
+ [_cDTN, _cVo, _pla, _ar, _ru, _s, _lSUT, _t],
1031
+ [0, 0, 0, 0, 0, 0, 4, 128 | 0],
1032
+ ];
1033
+ var GetDeploymentRequest = [3, n0, _GDR, 0, [_dI], [[0, 1]]];
1034
+ var GetDeploymentResponse = [
1035
+ 3,
1036
+ n0,
1037
+ _GDRe,
1038
+ 0,
1039
+ [_tA, _rIe, _dI, _dN, _dS, _iJI, _iJA, _com, _dP, _iJC, _cT, _iLFT, _pTA, _t],
1040
+ [
1041
+ 0,
1042
+ 0,
1043
+ 0,
1044
+ 0,
1045
+ 0,
1046
+ 0,
1047
+ 0,
1048
+ () => ComponentDeploymentSpecifications,
1049
+ () => DeploymentPolicies,
1050
+ () => DeploymentIoTJobConfiguration,
1051
+ 4,
1052
+ 2,
1053
+ 0,
1054
+ 128 | 0,
1055
+ ],
1056
+ ];
1057
+ var GetServiceRoleForAccountRequest = [3, n0, _GSRFAR, 0, [], []];
1058
+ var GetServiceRoleForAccountResponse = [
1059
+ 3,
1060
+ n0,
1061
+ _GSRFARe,
1062
+ 0,
1063
+ [_aA, _rA],
1064
+ [
1065
+ [
1066
+ 0,
1067
+ {
1068
+ [_jN]: _AA,
1069
+ },
1070
+ ],
1071
+ [
1072
+ 0,
1073
+ {
1074
+ [_jN]: _RA,
1075
+ },
1076
+ ],
1077
+ ],
1078
+ ];
1079
+ var InstalledComponent = [
1080
+ 3,
1081
+ n0,
1082
+ _IC,
1083
+ 0,
1084
+ [_cN, _cV, _lS, _lSD, _iRs, _lSCT, _lRT, _lIS, _lSC],
1085
+ [0, 0, 0, 0, 2, 4, 4, 0, 64 | 0],
1086
+ ];
1087
+ var InternalServerException = [
1088
+ -3,
1089
+ n0,
1090
+ _ISE,
1091
+ {
1092
+ [_e]: _se,
1093
+ [_hE]: 500,
1094
+ },
1095
+ [_m, _rAS],
1096
+ [
1097
+ 0,
1098
+ [
1099
+ 1,
1100
+ {
1101
+ [_hH]: _RA_,
1102
+ },
1103
+ ],
1104
+ ],
1105
+ ];
1106
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1107
+ var IoTJobAbortConfig = [3, n0, _ITJAC, 0, [_cL], [() => IoTJobAbortCriteriaList]];
1108
+ var IoTJobAbortCriteria = [3, n0, _ITJACo, 0, [_fT, _ac, _tP, _mNOET], [0, 0, 1, 1]];
1109
+ var IoTJobExecutionsRolloutConfig = [
1110
+ 3,
1111
+ n0,
1112
+ _ITJERC,
1113
+ 0,
1114
+ [_eR, _mPM],
1115
+ [() => IoTJobExponentialRolloutRate, 1],
1116
+ ];
1117
+ var IoTJobExponentialRolloutRate = [
1118
+ 3,
1119
+ n0,
1120
+ _ITJERR,
1121
+ 0,
1122
+ [_bRPM, _iF, _rIC],
1123
+ [1, 1, () => IoTJobRateIncreaseCriteria],
1124
+ ];
1125
+ var IoTJobRateIncreaseCriteria = [3, n0, _ITJRIC, 0, [_nONT, _nOST], [1, 1]];
1126
+ var IoTJobTimeoutConfig = [3, n0, _ITJTC, 0, [_iPTIM], [1]];
1127
+ var LambdaContainerParams = [
1128
+ 3,
1129
+ n0,
1130
+ _LCP,
1131
+ 0,
1132
+ [_mSIKB, _mROS, _v, _de],
1133
+ [1, 2, () => LambdaVolumeList, () => LambdaDeviceList],
1134
+ ];
1135
+ var LambdaDeviceMount = [3, n0, _LDM, 0, [_pa, _pe, _aGO], [0, 0, 2]];
1136
+ var LambdaEventSource = [3, n0, _LES, 0, [_to, _ty], [0, 0]];
1137
+ var LambdaExecutionParameters = [
1138
+ 3,
1139
+ n0,
1140
+ _LEP,
1141
+ 0,
1142
+ [_eSv, _mQS, _mIC, _mITIS, _tIS, _sTIS, _pi, _iPET, _eA, _eV, _lPP],
1143
+ [() => LambdaEventSourceList, 1, 1, 1, 1, 1, 2, 0, 64 | 0, 128 | 0, () => LambdaLinuxProcessParams],
1144
+ ];
1145
+ var LambdaFunctionRecipeSource = [
1146
+ 3,
1147
+ n0,
1148
+ _LFRS,
1149
+ 0,
1150
+ [_lA, _cN, _cV, _cP, _cD, _cLP],
1151
+ [0, 0, 0, () => ComponentPlatformList, () => ComponentDependencyMap, () => LambdaExecutionParameters],
1152
+ ];
1153
+ var LambdaLinuxProcessParams = [
1154
+ 3,
1155
+ n0,
1156
+ _LLPP,
1157
+ 0,
1158
+ [_iM, _cPo],
1159
+ [0, () => LambdaContainerParams],
1160
+ ];
1161
+ var LambdaVolumeMount = [3, n0, _LVM, 0, [_sP, _dPe, _pe, _aGO], [0, 0, 0, 2]];
1162
+ var ListClientDevicesAssociatedWithCoreDeviceRequest = [
1163
+ 3,
1164
+ n0,
1165
+ _LCDAWCDR,
1166
+ 0,
1167
+ [_cDTN, _mR, _nT],
1168
+ [
1169
+ [0, 1],
1170
+ [
1171
+ 1,
1172
+ {
1173
+ [_hQ]: _mR,
1174
+ },
1175
+ ],
1176
+ [
1177
+ 0,
1178
+ {
1179
+ [_hQ]: _nT,
1180
+ },
1181
+ ],
1182
+ ],
1183
+ ];
1184
+ var ListClientDevicesAssociatedWithCoreDeviceResponse = [
1185
+ 3,
1186
+ n0,
1187
+ _LCDAWCDRi,
1188
+ 0,
1189
+ [_aCD, _nT],
1190
+ [() => AssociatedClientDeviceList, 0],
1191
+ ];
1192
+ var ListComponentsRequest = [
1193
+ 3,
1194
+ n0,
1195
+ _LCR,
1196
+ 0,
1197
+ [_sc, _mR, _nT],
1198
+ [
1199
+ [
1200
+ 0,
1201
+ {
1202
+ [_hQ]: _sc,
1203
+ },
1204
+ ],
1205
+ [
1206
+ 1,
1207
+ {
1208
+ [_hQ]: _mR,
1209
+ },
1210
+ ],
1211
+ [
1212
+ 0,
1213
+ {
1214
+ [_hQ]: _nT,
1215
+ },
1216
+ ],
1217
+ ],
1218
+ ];
1219
+ var ListComponentsResponse = [3, n0, _LCRi, 0, [_com, _nT], [() => ComponentList, 0]];
1220
+ var ListComponentVersionsRequest = [
1221
+ 3,
1222
+ n0,
1223
+ _LCVR,
1224
+ 0,
1225
+ [_a, _mR, _nT],
1226
+ [
1227
+ [0, 1],
1228
+ [
1229
+ 1,
1230
+ {
1231
+ [_hQ]: _mR,
1232
+ },
1233
+ ],
1234
+ [
1235
+ 0,
1236
+ {
1237
+ [_hQ]: _nT,
1238
+ },
1239
+ ],
1240
+ ],
1241
+ ];
1242
+ var ListComponentVersionsResponse = [
1243
+ 3,
1244
+ n0,
1245
+ _LCVRi,
1246
+ 0,
1247
+ [_cVom, _nT],
1248
+ [() => ComponentVersionList, 0],
1249
+ ];
1250
+ var ListCoreDevicesRequest = [
1251
+ 3,
1252
+ n0,
1253
+ _LCDR,
1254
+ 0,
1255
+ [_tGA, _s, _mR, _nT, _ru],
1256
+ [
1257
+ [
1258
+ 0,
1259
+ {
1260
+ [_hQ]: _tGA,
1261
+ },
1262
+ ],
1263
+ [
1264
+ 0,
1265
+ {
1266
+ [_hQ]: _s,
1267
+ },
1268
+ ],
1269
+ [
1270
+ 1,
1271
+ {
1272
+ [_hQ]: _mR,
1273
+ },
1274
+ ],
1275
+ [
1276
+ 0,
1277
+ {
1278
+ [_hQ]: _nT,
1279
+ },
1280
+ ],
1281
+ [
1282
+ 0,
1283
+ {
1284
+ [_hQ]: _ru,
1285
+ },
1286
+ ],
1287
+ ],
1288
+ ];
1289
+ var ListCoreDevicesResponse = [3, n0, _LCDRi, 0, [_cDo, _nT], [() => CoreDevicesList, 0]];
1290
+ var ListDeploymentsRequest = [
1291
+ 3,
1292
+ n0,
1293
+ _LDR,
1294
+ 0,
1295
+ [_tA, _hF, _pTA, _mR, _nT],
1296
+ [
1297
+ [
1298
+ 0,
1299
+ {
1300
+ [_hQ]: _tA,
1301
+ },
1302
+ ],
1303
+ [
1304
+ 0,
1305
+ {
1306
+ [_hQ]: _hF,
1307
+ },
1308
+ ],
1309
+ [
1310
+ 0,
1311
+ {
1312
+ [_hQ]: _pTA,
1313
+ },
1314
+ ],
1315
+ [
1316
+ 1,
1317
+ {
1318
+ [_hQ]: _mR,
1319
+ },
1320
+ ],
1321
+ [
1322
+ 0,
1323
+ {
1324
+ [_hQ]: _nT,
1325
+ },
1326
+ ],
1327
+ ],
1328
+ ];
1329
+ var ListDeploymentsResponse = [3, n0, _LDRi, 0, [_dep, _nT], [() => DeploymentList, 0]];
1330
+ var ListEffectiveDeploymentsRequest = [
1331
+ 3,
1332
+ n0,
1333
+ _LEDR,
1334
+ 0,
1335
+ [_cDTN, _mR, _nT],
1336
+ [
1337
+ [0, 1],
1338
+ [
1339
+ 1,
1340
+ {
1341
+ [_hQ]: _mR,
1342
+ },
1343
+ ],
1344
+ [
1345
+ 0,
1346
+ {
1347
+ [_hQ]: _nT,
1348
+ },
1349
+ ],
1350
+ ],
1351
+ ];
1352
+ var ListEffectiveDeploymentsResponse = [
1353
+ 3,
1354
+ n0,
1355
+ _LEDRi,
1356
+ 0,
1357
+ [_eD, _nT],
1358
+ [() => EffectiveDeploymentsList, 0],
1359
+ ];
1360
+ var ListInstalledComponentsRequest = [
1361
+ 3,
1362
+ n0,
1363
+ _LICR,
1364
+ 0,
1365
+ [_cDTN, _mR, _nT, _tF],
1366
+ [
1367
+ [0, 1],
1368
+ [
1369
+ 1,
1370
+ {
1371
+ [_hQ]: _mR,
1372
+ },
1373
+ ],
1374
+ [
1375
+ 0,
1376
+ {
1377
+ [_hQ]: _nT,
1378
+ },
1379
+ ],
1380
+ [
1381
+ 0,
1382
+ {
1383
+ [_hQ]: _tF,
1384
+ },
1385
+ ],
1386
+ ],
1387
+ ];
1388
+ var ListInstalledComponentsResponse = [
1389
+ 3,
1390
+ n0,
1391
+ _LICRi,
1392
+ 0,
1393
+ [_iC, _nT],
1394
+ [() => InstalledComponentList, 0],
1395
+ ];
1396
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rAe], [[0, 1]]];
1397
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
1398
+ var RequestAlreadyInProgressException = [
1399
+ -3,
1400
+ n0,
1401
+ _RAIPE,
1402
+ {
1403
+ [_e]: _c,
1404
+ [_hE]: 400,
1405
+ },
1406
+ [_m],
1407
+ [0],
1408
+ ];
1409
+ schema.TypeRegistry.for(n0).registerError(RequestAlreadyInProgressException, RequestAlreadyInProgressException$1);
1410
+ var ResolveComponentCandidatesRequest = [
1411
+ 3,
1412
+ n0,
1413
+ _RCCR,
1414
+ 0,
1415
+ [_pla, _cC],
1416
+ [() => ComponentPlatform, () => ComponentCandidateList],
1417
+ ];
1418
+ var ResolveComponentCandidatesResponse = [
1419
+ 3,
1420
+ n0,
1421
+ _RCCRe,
1422
+ 0,
1423
+ [_rCV],
1424
+ [() => ResolvedComponentVersionsList],
1425
+ ];
1426
+ var ResolvedComponentVersion = [
1427
+ 3,
1428
+ n0,
1429
+ _RCV,
1430
+ 0,
1431
+ [_a, _cN, _cV, _rec, _vG, _m],
1432
+ [0, 0, 0, 21, 0, 0],
1433
+ ];
1434
+ var ResourceNotFoundException = [
1435
+ -3,
1436
+ n0,
1437
+ _RNFE,
1438
+ {
1439
+ [_e]: _c,
1440
+ [_hE]: 404,
1441
+ },
1442
+ [_m, _rI, _rT],
1443
+ [0, 0, 0],
1444
+ ];
1445
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1446
+ var ServiceQuotaExceededException = [
1447
+ -3,
1448
+ n0,
1449
+ _SQEE,
1450
+ {
1451
+ [_e]: _c,
1452
+ [_hE]: 402,
1453
+ },
1454
+ [_m, _rI, _rT, _qC, _sC],
1455
+ [0, 0, 0, 0, 0],
1456
+ ];
1457
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1458
+ var SystemResourceLimits = [3, n0, _SRL, 0, [_mem, _cp], [1, 1]];
1459
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rAe, _t], [[0, 1], 128 | 0]];
1460
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1461
+ var ThrottlingException = [
1462
+ -3,
1463
+ n0,
1464
+ _TE,
1465
+ {
1466
+ [_e]: _c,
1467
+ [_hE]: 429,
1468
+ },
1469
+ [_m, _qC, _sC, _rAS],
1470
+ [
1471
+ 0,
1472
+ 0,
1473
+ 0,
1474
+ [
1475
+ 1,
1476
+ {
1477
+ [_hH]: _RA_,
1478
+ },
1479
+ ],
1480
+ ],
1481
+ ];
1482
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1483
+ var UntagResourceRequest = [
1484
+ 3,
1485
+ n0,
1486
+ _URR,
1487
+ 0,
1488
+ [_rAe, _tK],
1489
+ [
1490
+ [0, 1],
1491
+ [
1492
+ 64 | 0,
1493
+ {
1494
+ [_hQ]: _tK,
1495
+ },
1496
+ ],
1497
+ ],
1498
+ ];
1499
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1500
+ var UpdateConnectivityInfoRequest = [
1501
+ 3,
1502
+ n0,
1503
+ _UCIR,
1504
+ 0,
1505
+ [_tN, _cI],
1506
+ [
1507
+ [
1508
+ 0,
1509
+ {
1510
+ [_jN]: _TN,
1511
+ [_hL]: 1,
1512
+ },
1513
+ ],
1514
+ [
1515
+ () => connectivityInfoList,
1516
+ {
1517
+ [_jN]: _CI,
1518
+ },
1519
+ ],
1520
+ ],
1521
+ ];
1522
+ var UpdateConnectivityInfoResponse = [
1523
+ 3,
1524
+ n0,
1525
+ _UCIRp,
1526
+ 0,
1527
+ [_ve, _m],
1528
+ [
1529
+ [
1530
+ 0,
1531
+ {
1532
+ [_jN]: _V,
1533
+ },
1534
+ ],
1535
+ [
1536
+ 0,
1537
+ {
1538
+ [_jN]: _Me,
1539
+ },
1540
+ ],
1541
+ ],
1542
+ ];
1543
+ var ValidationException = [
1544
+ -3,
1545
+ n0,
1546
+ _VE,
1547
+ {
1548
+ [_e]: _c,
1549
+ [_hE]: 400,
1550
+ },
1551
+ [_m, _re, _f],
1552
+ [0, 0, () => ValidationExceptionFieldList],
1553
+ ];
1554
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1555
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
1556
+ var __Unit = "unit";
1557
+ var GreengrassV2ServiceException = [-3, _sm, "GreengrassV2ServiceException", 0, [], []];
1558
+ schema.TypeRegistry.for(_sm).registerError(GreengrassV2ServiceException, GreengrassV2ServiceException$1);
1559
+ var AssociateClientDeviceWithCoreDeviceEntryList = [
1560
+ 1,
1561
+ n0,
1562
+ _ACDWCDEL,
1563
+ 0,
1564
+ () => AssociateClientDeviceWithCoreDeviceEntry,
1565
+ ];
1566
+ var AssociateClientDeviceWithCoreDeviceErrorList = [
1567
+ 1,
1568
+ n0,
1569
+ _ACDWCDELs,
1570
+ 0,
1571
+ () => AssociateClientDeviceWithCoreDeviceErrorEntry,
1572
+ ];
1573
+ var AssociatedClientDeviceList = [1, n0, _ACDL, 0, () => AssociatedClientDevice];
1574
+ var ComponentCandidateList = [1, n0, _CCL, 0, () => ComponentCandidate];
1575
+ var ComponentList = [1, n0, _CL, 0, () => Component];
1576
+ var ComponentPlatformList = [1, n0, _CPL, 0, () => ComponentPlatform];
1577
+ var ComponentVersionList = [1, n0, _CVL, 0, () => ComponentVersionListItem];
1578
+ var connectivityInfoList = [1, n0, _cIL, 0, [() => ConnectivityInfo, 0]];
1579
+ var CoreDevicesList = [1, n0, _CDL, 0, () => CoreDevice];
1580
+ var DeploymentList = [1, n0, _DL, 0, () => Deployment];
1581
+ var DisassociateClientDeviceFromCoreDeviceEntryList = [
1582
+ 1,
1583
+ n0,
1584
+ _DCDFCDEL,
1585
+ 0,
1586
+ () => DisassociateClientDeviceFromCoreDeviceEntry,
1587
+ ];
1588
+ var DisassociateClientDeviceFromCoreDeviceErrorList = [
1589
+ 1,
1590
+ n0,
1591
+ _DCDFCDELi,
1592
+ 0,
1593
+ () => DisassociateClientDeviceFromCoreDeviceErrorEntry,
1594
+ ];
1595
+ var EffectiveDeploymentsList = [1, n0, _EDL, 0, () => EffectiveDeployment];
1596
+ var InstalledComponentList = [1, n0, _ICL, 0, () => InstalledComponent];
1597
+ var IoTJobAbortCriteriaList = [1, n0, _ITJACL, 0, () => IoTJobAbortCriteria];
1598
+ var LambdaDeviceList = [1, n0, _LDL, 0, () => LambdaDeviceMount];
1599
+ var LambdaEventSourceList = [1, n0, _LESL, 0, () => LambdaEventSource];
1600
+ var LambdaVolumeList = [1, n0, _LVL, 0, () => LambdaVolumeMount];
1601
+ var ResolvedComponentVersionsList = [1, n0, _RCVL, 0, () => ResolvedComponentVersion];
1602
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
1603
+ var ComponentDependencyMap = [2, n0, _CDM, 0, 0, () => ComponentDependencyRequirement];
1604
+ var ComponentDeploymentSpecifications = [
1605
+ 2,
1606
+ n0,
1607
+ _CDSo,
1608
+ 0,
1609
+ 0,
1610
+ () => ComponentDeploymentSpecification,
1611
+ ];
1612
+ var AssociateServiceRoleToAccount = [
1613
+ 9,
1614
+ n0,
1615
+ _ASRTA,
1616
+ {
1617
+ [_h]: ["PUT", "/greengrass/servicerole", 200],
1618
+ },
1619
+ () => AssociateServiceRoleToAccountRequest,
1620
+ () => AssociateServiceRoleToAccountResponse,
1621
+ ];
1622
+ var BatchAssociateClientDeviceWithCoreDevice = [
1623
+ 9,
1624
+ n0,
1625
+ _BACDWCD,
1626
+ {
1627
+ [_h]: ["POST", "/greengrass/v2/coreDevices/{coreDeviceThingName}/associateClientDevices", 200],
1628
+ },
1629
+ () => BatchAssociateClientDeviceWithCoreDeviceRequest,
1630
+ () => BatchAssociateClientDeviceWithCoreDeviceResponse,
1631
+ ];
1632
+ var BatchDisassociateClientDeviceFromCoreDevice = [
1633
+ 9,
1634
+ n0,
1635
+ _BDCDFCD,
1636
+ {
1637
+ [_h]: ["POST", "/greengrass/v2/coreDevices/{coreDeviceThingName}/disassociateClientDevices", 200],
1638
+ },
1639
+ () => BatchDisassociateClientDeviceFromCoreDeviceRequest,
1640
+ () => BatchDisassociateClientDeviceFromCoreDeviceResponse,
1641
+ ];
1642
+ var CancelDeployment = [
1643
+ 9,
1644
+ n0,
1645
+ _CDa,
1646
+ {
1647
+ [_h]: ["POST", "/greengrass/v2/deployments/{deploymentId}/cancel", 200],
1648
+ },
1649
+ () => CancelDeploymentRequest,
1650
+ () => CancelDeploymentResponse,
1651
+ ];
1652
+ var CreateComponentVersion = [
1653
+ 9,
1654
+ n0,
1655
+ _CCV,
1656
+ {
1657
+ [_h]: ["POST", "/greengrass/v2/createComponentVersion", 201],
1658
+ },
1659
+ () => CreateComponentVersionRequest,
1660
+ () => CreateComponentVersionResponse,
1661
+ ];
1662
+ var CreateDeployment = [
1663
+ 9,
1664
+ n0,
1665
+ _CDr,
1666
+ {
1667
+ [_h]: ["POST", "/greengrass/v2/deployments", 201],
1668
+ },
1669
+ () => CreateDeploymentRequest,
1670
+ () => CreateDeploymentResponse,
1671
+ ];
1672
+ var DeleteComponent = [
1673
+ 9,
1674
+ n0,
1675
+ _DC,
1676
+ {
1677
+ [_h]: ["DELETE", "/greengrass/v2/components/{arn}", 204],
1678
+ },
1679
+ () => DeleteComponentRequest,
1680
+ () => __Unit,
1681
+ ];
1682
+ var DeleteCoreDevice = [
1683
+ 9,
1684
+ n0,
1685
+ _DCD,
1686
+ {
1687
+ [_h]: ["DELETE", "/greengrass/v2/coreDevices/{coreDeviceThingName}", 204],
1688
+ },
1689
+ () => DeleteCoreDeviceRequest,
1690
+ () => __Unit,
1691
+ ];
1692
+ var DeleteDeployment = [
1693
+ 9,
1694
+ n0,
1695
+ _DD,
1696
+ {
1697
+ [_h]: ["DELETE", "/greengrass/v2/deployments/{deploymentId}", 204],
1698
+ },
1699
+ () => DeleteDeploymentRequest,
1700
+ () => __Unit,
1701
+ ];
1702
+ var DescribeComponent = [
1703
+ 9,
1704
+ n0,
1705
+ _DCe,
1706
+ {
1707
+ [_h]: ["GET", "/greengrass/v2/components/{arn}/metadata", 200],
1708
+ },
1709
+ () => DescribeComponentRequest,
1710
+ () => DescribeComponentResponse,
1711
+ ];
1712
+ var DisassociateServiceRoleFromAccount = [
1713
+ 9,
1714
+ n0,
1715
+ _DSRFA,
1716
+ {
1717
+ [_h]: ["DELETE", "/greengrass/servicerole", 200],
1718
+ },
1719
+ () => DisassociateServiceRoleFromAccountRequest,
1720
+ () => DisassociateServiceRoleFromAccountResponse,
1721
+ ];
1722
+ var GetComponent = [
1723
+ 9,
1724
+ n0,
1725
+ _GC,
1726
+ {
1727
+ [_h]: ["GET", "/greengrass/v2/components/{arn}", 200],
1728
+ },
1729
+ () => GetComponentRequest,
1730
+ () => GetComponentResponse,
1731
+ ];
1732
+ var GetComponentVersionArtifact = [
1733
+ 9,
1734
+ n0,
1735
+ _GCVA,
1736
+ {
1737
+ [_h]: ["GET", "/greengrass/v2/components/{arn}/artifacts/{artifactName+}", 200],
1738
+ },
1739
+ () => GetComponentVersionArtifactRequest,
1740
+ () => GetComponentVersionArtifactResponse,
1741
+ ];
1742
+ var GetConnectivityInfo = [
1743
+ 9,
1744
+ n0,
1745
+ _GCI,
1746
+ {
1747
+ [_h]: ["GET", "/greengrass/things/{thingName}/connectivityInfo", 200],
1748
+ },
1749
+ () => GetConnectivityInfoRequest,
1750
+ () => GetConnectivityInfoResponse,
1751
+ ];
1752
+ var GetCoreDevice = [
1753
+ 9,
1754
+ n0,
1755
+ _GCD,
1756
+ {
1757
+ [_h]: ["GET", "/greengrass/v2/coreDevices/{coreDeviceThingName}", 200],
1758
+ },
1759
+ () => GetCoreDeviceRequest,
1760
+ () => GetCoreDeviceResponse,
1761
+ ];
1762
+ var GetDeployment = [
1763
+ 9,
1764
+ n0,
1765
+ _GD,
1766
+ {
1767
+ [_h]: ["GET", "/greengrass/v2/deployments/{deploymentId}", 200],
1768
+ },
1769
+ () => GetDeploymentRequest,
1770
+ () => GetDeploymentResponse,
1771
+ ];
1772
+ var GetServiceRoleForAccount = [
1773
+ 9,
1774
+ n0,
1775
+ _GSRFA,
1776
+ {
1777
+ [_h]: ["GET", "/greengrass/servicerole", 200],
1778
+ },
1779
+ () => GetServiceRoleForAccountRequest,
1780
+ () => GetServiceRoleForAccountResponse,
1781
+ ];
1782
+ var ListClientDevicesAssociatedWithCoreDevice = [
1783
+ 9,
1784
+ n0,
1785
+ _LCDAWCD,
1786
+ {
1787
+ [_h]: ["GET", "/greengrass/v2/coreDevices/{coreDeviceThingName}/associatedClientDevices", 200],
1788
+ },
1789
+ () => ListClientDevicesAssociatedWithCoreDeviceRequest,
1790
+ () => ListClientDevicesAssociatedWithCoreDeviceResponse,
1791
+ ];
1792
+ var ListComponents = [
1793
+ 9,
1794
+ n0,
1795
+ _LC,
1796
+ {
1797
+ [_h]: ["GET", "/greengrass/v2/components", 200],
1798
+ },
1799
+ () => ListComponentsRequest,
1800
+ () => ListComponentsResponse,
1801
+ ];
1802
+ var ListComponentVersions = [
1803
+ 9,
1804
+ n0,
1805
+ _LCV,
1806
+ {
1807
+ [_h]: ["GET", "/greengrass/v2/components/{arn}/versions", 200],
1808
+ },
1809
+ () => ListComponentVersionsRequest,
1810
+ () => ListComponentVersionsResponse,
1811
+ ];
1812
+ var ListCoreDevices = [
1813
+ 9,
1814
+ n0,
1815
+ _LCD,
1816
+ {
1817
+ [_h]: ["GET", "/greengrass/v2/coreDevices", 200],
1818
+ },
1819
+ () => ListCoreDevicesRequest,
1820
+ () => ListCoreDevicesResponse,
1821
+ ];
1822
+ var ListDeployments = [
1823
+ 9,
1824
+ n0,
1825
+ _LD,
1826
+ {
1827
+ [_h]: ["GET", "/greengrass/v2/deployments", 200],
1828
+ },
1829
+ () => ListDeploymentsRequest,
1830
+ () => ListDeploymentsResponse,
1831
+ ];
1832
+ var ListEffectiveDeployments = [
1833
+ 9,
1834
+ n0,
1835
+ _LED,
1836
+ {
1837
+ [_h]: ["GET", "/greengrass/v2/coreDevices/{coreDeviceThingName}/effectiveDeployments", 200],
1838
+ },
1839
+ () => ListEffectiveDeploymentsRequest,
1840
+ () => ListEffectiveDeploymentsResponse,
1841
+ ];
1842
+ var ListInstalledComponents = [
1843
+ 9,
1844
+ n0,
1845
+ _LIC,
1846
+ {
1847
+ [_h]: ["GET", "/greengrass/v2/coreDevices/{coreDeviceThingName}/installedComponents", 200],
1848
+ },
1849
+ () => ListInstalledComponentsRequest,
1850
+ () => ListInstalledComponentsResponse,
1851
+ ];
1852
+ var ListTagsForResource = [
1853
+ 9,
1854
+ n0,
1855
+ _LTFR,
1856
+ {
1857
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
1858
+ },
1859
+ () => ListTagsForResourceRequest,
1860
+ () => ListTagsForResourceResponse,
1861
+ ];
1862
+ var ResolveComponentCandidates = [
1863
+ 9,
1864
+ n0,
1865
+ _RCC,
1866
+ {
1867
+ [_h]: ["POST", "/greengrass/v2/resolveComponentCandidates", 200],
1868
+ },
1869
+ () => ResolveComponentCandidatesRequest,
1870
+ () => ResolveComponentCandidatesResponse,
1871
+ ];
1872
+ var TagResource = [
1873
+ 9,
1874
+ n0,
1875
+ _TR,
1876
+ {
1877
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
1878
+ },
1879
+ () => TagResourceRequest,
1880
+ () => TagResourceResponse,
1881
+ ];
1882
+ var UntagResource = [
1883
+ 9,
1884
+ n0,
1885
+ _UR,
1886
+ {
1887
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
1888
+ },
1889
+ () => UntagResourceRequest,
1890
+ () => UntagResourceResponse,
1891
+ ];
1892
+ var UpdateConnectivityInfo = [
1893
+ 9,
1894
+ n0,
1895
+ _UCI,
1896
+ {
1897
+ [_h]: ["PUT", "/greengrass/things/{thingName}/connectivityInfo", 200],
1898
+ },
1899
+ () => UpdateConnectivityInfoRequest,
1900
+ () => UpdateConnectivityInfoResponse,
1901
+ ];
1632
1902
 
1633
1903
  class AssociateServiceRoleToAccountCommand extends smithyClient.Command
1634
1904
  .classBuilder()
1635
1905
  .ep(commonParams)
1636
1906
  .m(function (Command, cs, config, o) {
1637
- return [
1638
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1639
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1640
- ];
1907
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1641
1908
  })
1642
1909
  .s("GreengrassV2", "AssociateServiceRoleToAccount", {})
1643
1910
  .n("GreengrassV2Client", "AssociateServiceRoleToAccountCommand")
1644
- .f(void 0, void 0)
1645
- .ser(se_AssociateServiceRoleToAccountCommand)
1646
- .de(de_AssociateServiceRoleToAccountCommand)
1911
+ .sc(AssociateServiceRoleToAccount)
1647
1912
  .build() {
1648
1913
  }
1649
1914
 
@@ -1651,16 +1916,11 @@ class BatchAssociateClientDeviceWithCoreDeviceCommand extends smithyClient.Comma
1651
1916
  .classBuilder()
1652
1917
  .ep(commonParams)
1653
1918
  .m(function (Command, cs, config, o) {
1654
- return [
1655
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1656
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1657
- ];
1919
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1658
1920
  })
1659
1921
  .s("GreengrassV2", "BatchAssociateClientDeviceWithCoreDevice", {})
1660
1922
  .n("GreengrassV2Client", "BatchAssociateClientDeviceWithCoreDeviceCommand")
1661
- .f(void 0, void 0)
1662
- .ser(se_BatchAssociateClientDeviceWithCoreDeviceCommand)
1663
- .de(de_BatchAssociateClientDeviceWithCoreDeviceCommand)
1923
+ .sc(BatchAssociateClientDeviceWithCoreDevice)
1664
1924
  .build() {
1665
1925
  }
1666
1926
 
@@ -1668,16 +1928,11 @@ class BatchDisassociateClientDeviceFromCoreDeviceCommand extends smithyClient.Co
1668
1928
  .classBuilder()
1669
1929
  .ep(commonParams)
1670
1930
  .m(function (Command, cs, config, o) {
1671
- return [
1672
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1673
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1674
- ];
1931
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1675
1932
  })
1676
1933
  .s("GreengrassV2", "BatchDisassociateClientDeviceFromCoreDevice", {})
1677
1934
  .n("GreengrassV2Client", "BatchDisassociateClientDeviceFromCoreDeviceCommand")
1678
- .f(void 0, void 0)
1679
- .ser(se_BatchDisassociateClientDeviceFromCoreDeviceCommand)
1680
- .de(de_BatchDisassociateClientDeviceFromCoreDeviceCommand)
1935
+ .sc(BatchDisassociateClientDeviceFromCoreDevice)
1681
1936
  .build() {
1682
1937
  }
1683
1938
 
@@ -1685,16 +1940,11 @@ class CancelDeploymentCommand extends smithyClient.Command
1685
1940
  .classBuilder()
1686
1941
  .ep(commonParams)
1687
1942
  .m(function (Command, cs, config, o) {
1688
- return [
1689
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1690
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1691
- ];
1943
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1692
1944
  })
1693
1945
  .s("GreengrassV2", "CancelDeployment", {})
1694
1946
  .n("GreengrassV2Client", "CancelDeploymentCommand")
1695
- .f(void 0, void 0)
1696
- .ser(se_CancelDeploymentCommand)
1697
- .de(de_CancelDeploymentCommand)
1947
+ .sc(CancelDeployment)
1698
1948
  .build() {
1699
1949
  }
1700
1950
 
@@ -1702,16 +1952,11 @@ class CreateComponentVersionCommand extends smithyClient.Command
1702
1952
  .classBuilder()
1703
1953
  .ep(commonParams)
1704
1954
  .m(function (Command, cs, config, o) {
1705
- return [
1706
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1707
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1708
- ];
1955
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1709
1956
  })
1710
1957
  .s("GreengrassV2", "CreateComponentVersion", {})
1711
1958
  .n("GreengrassV2Client", "CreateComponentVersionCommand")
1712
- .f(void 0, void 0)
1713
- .ser(se_CreateComponentVersionCommand)
1714
- .de(de_CreateComponentVersionCommand)
1959
+ .sc(CreateComponentVersion)
1715
1960
  .build() {
1716
1961
  }
1717
1962
 
@@ -1719,16 +1964,11 @@ class CreateDeploymentCommand extends smithyClient.Command
1719
1964
  .classBuilder()
1720
1965
  .ep(commonParams)
1721
1966
  .m(function (Command, cs, config, o) {
1722
- return [
1723
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1724
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1725
- ];
1967
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1726
1968
  })
1727
1969
  .s("GreengrassV2", "CreateDeployment", {})
1728
1970
  .n("GreengrassV2Client", "CreateDeploymentCommand")
1729
- .f(void 0, void 0)
1730
- .ser(se_CreateDeploymentCommand)
1731
- .de(de_CreateDeploymentCommand)
1971
+ .sc(CreateDeployment)
1732
1972
  .build() {
1733
1973
  }
1734
1974
 
@@ -1736,16 +1976,11 @@ class DeleteComponentCommand extends smithyClient.Command
1736
1976
  .classBuilder()
1737
1977
  .ep(commonParams)
1738
1978
  .m(function (Command, cs, config, o) {
1739
- return [
1740
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1741
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1742
- ];
1979
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1743
1980
  })
1744
1981
  .s("GreengrassV2", "DeleteComponent", {})
1745
1982
  .n("GreengrassV2Client", "DeleteComponentCommand")
1746
- .f(void 0, void 0)
1747
- .ser(se_DeleteComponentCommand)
1748
- .de(de_DeleteComponentCommand)
1983
+ .sc(DeleteComponent)
1749
1984
  .build() {
1750
1985
  }
1751
1986
 
@@ -1753,16 +1988,11 @@ class DeleteCoreDeviceCommand extends smithyClient.Command
1753
1988
  .classBuilder()
1754
1989
  .ep(commonParams)
1755
1990
  .m(function (Command, cs, config, o) {
1756
- return [
1757
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1758
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1759
- ];
1991
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1760
1992
  })
1761
1993
  .s("GreengrassV2", "DeleteCoreDevice", {})
1762
1994
  .n("GreengrassV2Client", "DeleteCoreDeviceCommand")
1763
- .f(void 0, void 0)
1764
- .ser(se_DeleteCoreDeviceCommand)
1765
- .de(de_DeleteCoreDeviceCommand)
1995
+ .sc(DeleteCoreDevice)
1766
1996
  .build() {
1767
1997
  }
1768
1998
 
@@ -1770,16 +2000,11 @@ class DeleteDeploymentCommand extends smithyClient.Command
1770
2000
  .classBuilder()
1771
2001
  .ep(commonParams)
1772
2002
  .m(function (Command, cs, config, o) {
1773
- return [
1774
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1775
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1776
- ];
2003
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1777
2004
  })
1778
2005
  .s("GreengrassV2", "DeleteDeployment", {})
1779
2006
  .n("GreengrassV2Client", "DeleteDeploymentCommand")
1780
- .f(void 0, void 0)
1781
- .ser(se_DeleteDeploymentCommand)
1782
- .de(de_DeleteDeploymentCommand)
2007
+ .sc(DeleteDeployment)
1783
2008
  .build() {
1784
2009
  }
1785
2010
 
@@ -1787,16 +2012,11 @@ class DescribeComponentCommand extends smithyClient.Command
1787
2012
  .classBuilder()
1788
2013
  .ep(commonParams)
1789
2014
  .m(function (Command, cs, config, o) {
1790
- return [
1791
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1792
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1793
- ];
2015
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1794
2016
  })
1795
2017
  .s("GreengrassV2", "DescribeComponent", {})
1796
2018
  .n("GreengrassV2Client", "DescribeComponentCommand")
1797
- .f(void 0, void 0)
1798
- .ser(se_DescribeComponentCommand)
1799
- .de(de_DescribeComponentCommand)
2019
+ .sc(DescribeComponent)
1800
2020
  .build() {
1801
2021
  }
1802
2022
 
@@ -1804,16 +2024,11 @@ class DisassociateServiceRoleFromAccountCommand extends smithyClient.Command
1804
2024
  .classBuilder()
1805
2025
  .ep(commonParams)
1806
2026
  .m(function (Command, cs, config, o) {
1807
- return [
1808
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1809
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1810
- ];
2027
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1811
2028
  })
1812
2029
  .s("GreengrassV2", "DisassociateServiceRoleFromAccount", {})
1813
2030
  .n("GreengrassV2Client", "DisassociateServiceRoleFromAccountCommand")
1814
- .f(void 0, void 0)
1815
- .ser(se_DisassociateServiceRoleFromAccountCommand)
1816
- .de(de_DisassociateServiceRoleFromAccountCommand)
2031
+ .sc(DisassociateServiceRoleFromAccount)
1817
2032
  .build() {
1818
2033
  }
1819
2034
 
@@ -1821,16 +2036,11 @@ class GetComponentCommand extends smithyClient.Command
1821
2036
  .classBuilder()
1822
2037
  .ep(commonParams)
1823
2038
  .m(function (Command, cs, config, o) {
1824
- return [
1825
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1826
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1827
- ];
2039
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1828
2040
  })
1829
2041
  .s("GreengrassV2", "GetComponent", {})
1830
2042
  .n("GreengrassV2Client", "GetComponentCommand")
1831
- .f(void 0, void 0)
1832
- .ser(se_GetComponentCommand)
1833
- .de(de_GetComponentCommand)
2043
+ .sc(GetComponent)
1834
2044
  .build() {
1835
2045
  }
1836
2046
 
@@ -1838,16 +2048,11 @@ class GetComponentVersionArtifactCommand extends smithyClient.Command
1838
2048
  .classBuilder()
1839
2049
  .ep(commonParams)
1840
2050
  .m(function (Command, cs, config, o) {
1841
- return [
1842
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1843
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1844
- ];
2051
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1845
2052
  })
1846
2053
  .s("GreengrassV2", "GetComponentVersionArtifact", {})
1847
2054
  .n("GreengrassV2Client", "GetComponentVersionArtifactCommand")
1848
- .f(void 0, void 0)
1849
- .ser(se_GetComponentVersionArtifactCommand)
1850
- .de(de_GetComponentVersionArtifactCommand)
2055
+ .sc(GetComponentVersionArtifact)
1851
2056
  .build() {
1852
2057
  }
1853
2058
 
@@ -1855,16 +2060,11 @@ class GetConnectivityInfoCommand extends smithyClient.Command
1855
2060
  .classBuilder()
1856
2061
  .ep(commonParams)
1857
2062
  .m(function (Command, cs, config, o) {
1858
- return [
1859
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1860
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1861
- ];
2063
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1862
2064
  })
1863
2065
  .s("GreengrassV2", "GetConnectivityInfo", {})
1864
2066
  .n("GreengrassV2Client", "GetConnectivityInfoCommand")
1865
- .f(void 0, void 0)
1866
- .ser(se_GetConnectivityInfoCommand)
1867
- .de(de_GetConnectivityInfoCommand)
2067
+ .sc(GetConnectivityInfo)
1868
2068
  .build() {
1869
2069
  }
1870
2070
 
@@ -1872,16 +2072,11 @@ class GetCoreDeviceCommand extends smithyClient.Command
1872
2072
  .classBuilder()
1873
2073
  .ep(commonParams)
1874
2074
  .m(function (Command, cs, config, o) {
1875
- return [
1876
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1877
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1878
- ];
2075
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1879
2076
  })
1880
2077
  .s("GreengrassV2", "GetCoreDevice", {})
1881
2078
  .n("GreengrassV2Client", "GetCoreDeviceCommand")
1882
- .f(void 0, void 0)
1883
- .ser(se_GetCoreDeviceCommand)
1884
- .de(de_GetCoreDeviceCommand)
2079
+ .sc(GetCoreDevice)
1885
2080
  .build() {
1886
2081
  }
1887
2082
 
@@ -1889,16 +2084,11 @@ class GetDeploymentCommand extends smithyClient.Command
1889
2084
  .classBuilder()
1890
2085
  .ep(commonParams)
1891
2086
  .m(function (Command, cs, config, o) {
1892
- return [
1893
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1894
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1895
- ];
2087
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1896
2088
  })
1897
2089
  .s("GreengrassV2", "GetDeployment", {})
1898
2090
  .n("GreengrassV2Client", "GetDeploymentCommand")
1899
- .f(void 0, void 0)
1900
- .ser(se_GetDeploymentCommand)
1901
- .de(de_GetDeploymentCommand)
2091
+ .sc(GetDeployment)
1902
2092
  .build() {
1903
2093
  }
1904
2094
 
@@ -1906,16 +2096,11 @@ class GetServiceRoleForAccountCommand extends smithyClient.Command
1906
2096
  .classBuilder()
1907
2097
  .ep(commonParams)
1908
2098
  .m(function (Command, cs, config, o) {
1909
- return [
1910
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1911
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1912
- ];
2099
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1913
2100
  })
1914
2101
  .s("GreengrassV2", "GetServiceRoleForAccount", {})
1915
2102
  .n("GreengrassV2Client", "GetServiceRoleForAccountCommand")
1916
- .f(void 0, void 0)
1917
- .ser(se_GetServiceRoleForAccountCommand)
1918
- .de(de_GetServiceRoleForAccountCommand)
2103
+ .sc(GetServiceRoleForAccount)
1919
2104
  .build() {
1920
2105
  }
1921
2106
 
@@ -1923,16 +2108,11 @@ class ListClientDevicesAssociatedWithCoreDeviceCommand extends smithyClient.Comm
1923
2108
  .classBuilder()
1924
2109
  .ep(commonParams)
1925
2110
  .m(function (Command, cs, config, o) {
1926
- return [
1927
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1928
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1929
- ];
2111
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1930
2112
  })
1931
2113
  .s("GreengrassV2", "ListClientDevicesAssociatedWithCoreDevice", {})
1932
2114
  .n("GreengrassV2Client", "ListClientDevicesAssociatedWithCoreDeviceCommand")
1933
- .f(void 0, void 0)
1934
- .ser(se_ListClientDevicesAssociatedWithCoreDeviceCommand)
1935
- .de(de_ListClientDevicesAssociatedWithCoreDeviceCommand)
2115
+ .sc(ListClientDevicesAssociatedWithCoreDevice)
1936
2116
  .build() {
1937
2117
  }
1938
2118
 
@@ -1940,16 +2120,11 @@ class ListComponentsCommand extends smithyClient.Command
1940
2120
  .classBuilder()
1941
2121
  .ep(commonParams)
1942
2122
  .m(function (Command, cs, config, o) {
1943
- return [
1944
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1945
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1946
- ];
2123
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1947
2124
  })
1948
2125
  .s("GreengrassV2", "ListComponents", {})
1949
2126
  .n("GreengrassV2Client", "ListComponentsCommand")
1950
- .f(void 0, void 0)
1951
- .ser(se_ListComponentsCommand)
1952
- .de(de_ListComponentsCommand)
2127
+ .sc(ListComponents)
1953
2128
  .build() {
1954
2129
  }
1955
2130
 
@@ -1957,16 +2132,11 @@ class ListComponentVersionsCommand extends smithyClient.Command
1957
2132
  .classBuilder()
1958
2133
  .ep(commonParams)
1959
2134
  .m(function (Command, cs, config, o) {
1960
- return [
1961
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1962
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1963
- ];
2135
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1964
2136
  })
1965
2137
  .s("GreengrassV2", "ListComponentVersions", {})
1966
2138
  .n("GreengrassV2Client", "ListComponentVersionsCommand")
1967
- .f(void 0, void 0)
1968
- .ser(se_ListComponentVersionsCommand)
1969
- .de(de_ListComponentVersionsCommand)
2139
+ .sc(ListComponentVersions)
1970
2140
  .build() {
1971
2141
  }
1972
2142
 
@@ -1974,16 +2144,11 @@ class ListCoreDevicesCommand extends smithyClient.Command
1974
2144
  .classBuilder()
1975
2145
  .ep(commonParams)
1976
2146
  .m(function (Command, cs, config, o) {
1977
- return [
1978
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1979
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1980
- ];
2147
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1981
2148
  })
1982
2149
  .s("GreengrassV2", "ListCoreDevices", {})
1983
2150
  .n("GreengrassV2Client", "ListCoreDevicesCommand")
1984
- .f(void 0, void 0)
1985
- .ser(se_ListCoreDevicesCommand)
1986
- .de(de_ListCoreDevicesCommand)
2151
+ .sc(ListCoreDevices)
1987
2152
  .build() {
1988
2153
  }
1989
2154
 
@@ -1991,16 +2156,11 @@ class ListDeploymentsCommand extends smithyClient.Command
1991
2156
  .classBuilder()
1992
2157
  .ep(commonParams)
1993
2158
  .m(function (Command, cs, config, o) {
1994
- return [
1995
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1996
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1997
- ];
2159
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1998
2160
  })
1999
2161
  .s("GreengrassV2", "ListDeployments", {})
2000
2162
  .n("GreengrassV2Client", "ListDeploymentsCommand")
2001
- .f(void 0, void 0)
2002
- .ser(se_ListDeploymentsCommand)
2003
- .de(de_ListDeploymentsCommand)
2163
+ .sc(ListDeployments)
2004
2164
  .build() {
2005
2165
  }
2006
2166
 
@@ -2008,16 +2168,11 @@ class ListEffectiveDeploymentsCommand extends smithyClient.Command
2008
2168
  .classBuilder()
2009
2169
  .ep(commonParams)
2010
2170
  .m(function (Command, cs, config, o) {
2011
- return [
2012
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2013
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2014
- ];
2171
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2015
2172
  })
2016
2173
  .s("GreengrassV2", "ListEffectiveDeployments", {})
2017
2174
  .n("GreengrassV2Client", "ListEffectiveDeploymentsCommand")
2018
- .f(void 0, void 0)
2019
- .ser(se_ListEffectiveDeploymentsCommand)
2020
- .de(de_ListEffectiveDeploymentsCommand)
2175
+ .sc(ListEffectiveDeployments)
2021
2176
  .build() {
2022
2177
  }
2023
2178
 
@@ -2025,16 +2180,11 @@ class ListInstalledComponentsCommand extends smithyClient.Command
2025
2180
  .classBuilder()
2026
2181
  .ep(commonParams)
2027
2182
  .m(function (Command, cs, config, o) {
2028
- return [
2029
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2030
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2031
- ];
2183
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2032
2184
  })
2033
2185
  .s("GreengrassV2", "ListInstalledComponents", {})
2034
2186
  .n("GreengrassV2Client", "ListInstalledComponentsCommand")
2035
- .f(void 0, void 0)
2036
- .ser(se_ListInstalledComponentsCommand)
2037
- .de(de_ListInstalledComponentsCommand)
2187
+ .sc(ListInstalledComponents)
2038
2188
  .build() {
2039
2189
  }
2040
2190
 
@@ -2042,16 +2192,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2042
2192
  .classBuilder()
2043
2193
  .ep(commonParams)
2044
2194
  .m(function (Command, cs, config, o) {
2045
- return [
2046
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2047
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2048
- ];
2195
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2049
2196
  })
2050
2197
  .s("GreengrassV2", "ListTagsForResource", {})
2051
2198
  .n("GreengrassV2Client", "ListTagsForResourceCommand")
2052
- .f(void 0, void 0)
2053
- .ser(se_ListTagsForResourceCommand)
2054
- .de(de_ListTagsForResourceCommand)
2199
+ .sc(ListTagsForResource)
2055
2200
  .build() {
2056
2201
  }
2057
2202
 
@@ -2059,16 +2204,11 @@ class ResolveComponentCandidatesCommand extends smithyClient.Command
2059
2204
  .classBuilder()
2060
2205
  .ep(commonParams)
2061
2206
  .m(function (Command, cs, config, o) {
2062
- return [
2063
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2064
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2065
- ];
2207
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2066
2208
  })
2067
2209
  .s("GreengrassV2", "ResolveComponentCandidates", {})
2068
2210
  .n("GreengrassV2Client", "ResolveComponentCandidatesCommand")
2069
- .f(void 0, void 0)
2070
- .ser(se_ResolveComponentCandidatesCommand)
2071
- .de(de_ResolveComponentCandidatesCommand)
2211
+ .sc(ResolveComponentCandidates)
2072
2212
  .build() {
2073
2213
  }
2074
2214
 
@@ -2076,16 +2216,11 @@ class TagResourceCommand extends smithyClient.Command
2076
2216
  .classBuilder()
2077
2217
  .ep(commonParams)
2078
2218
  .m(function (Command, cs, config, o) {
2079
- return [
2080
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2081
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2082
- ];
2219
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2083
2220
  })
2084
2221
  .s("GreengrassV2", "TagResource", {})
2085
2222
  .n("GreengrassV2Client", "TagResourceCommand")
2086
- .f(void 0, void 0)
2087
- .ser(se_TagResourceCommand)
2088
- .de(de_TagResourceCommand)
2223
+ .sc(TagResource)
2089
2224
  .build() {
2090
2225
  }
2091
2226
 
@@ -2093,16 +2228,11 @@ class UntagResourceCommand extends smithyClient.Command
2093
2228
  .classBuilder()
2094
2229
  .ep(commonParams)
2095
2230
  .m(function (Command, cs, config, o) {
2096
- return [
2097
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2098
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2099
- ];
2231
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2100
2232
  })
2101
2233
  .s("GreengrassV2", "UntagResource", {})
2102
2234
  .n("GreengrassV2Client", "UntagResourceCommand")
2103
- .f(void 0, void 0)
2104
- .ser(se_UntagResourceCommand)
2105
- .de(de_UntagResourceCommand)
2235
+ .sc(UntagResource)
2106
2236
  .build() {
2107
2237
  }
2108
2238
 
@@ -2110,16 +2240,11 @@ class UpdateConnectivityInfoCommand extends smithyClient.Command
2110
2240
  .classBuilder()
2111
2241
  .ep(commonParams)
2112
2242
  .m(function (Command, cs, config, o) {
2113
- return [
2114
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2115
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2116
- ];
2243
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2117
2244
  })
2118
2245
  .s("GreengrassV2", "UpdateConnectivityInfo", {})
2119
2246
  .n("GreengrassV2Client", "UpdateConnectivityInfoCommand")
2120
- .f(void 0, void 0)
2121
- .ser(se_UpdateConnectivityInfoCommand)
2122
- .de(de_UpdateConnectivityInfoCommand)
2247
+ .sc(UpdateConnectivityInfo)
2123
2248
  .build() {
2124
2249
  }
2125
2250
 
@@ -2180,7 +2305,7 @@ Object.defineProperty(exports, "__Client", {
2180
2305
  enumerable: true,
2181
2306
  get: function () { return smithyClient.Client; }
2182
2307
  });
2183
- exports.AccessDeniedException = AccessDeniedException;
2308
+ exports.AccessDeniedException = AccessDeniedException$1;
2184
2309
  exports.AssociateServiceRoleToAccountCommand = AssociateServiceRoleToAccountCommand;
2185
2310
  exports.BatchAssociateClientDeviceWithCoreDeviceCommand = BatchAssociateClientDeviceWithCoreDeviceCommand;
2186
2311
  exports.BatchDisassociateClientDeviceFromCoreDeviceCommand = BatchDisassociateClientDeviceFromCoreDeviceCommand;
@@ -2188,7 +2313,7 @@ exports.CancelDeploymentCommand = CancelDeploymentCommand;
2188
2313
  exports.CloudComponentState = CloudComponentState;
2189
2314
  exports.ComponentDependencyType = ComponentDependencyType;
2190
2315
  exports.ComponentVisibilityScope = ComponentVisibilityScope;
2191
- exports.ConflictException = ConflictException;
2316
+ exports.ConflictException = ConflictException$1;
2192
2317
  exports.CoreDeviceStatus = CoreDeviceStatus;
2193
2318
  exports.CreateComponentVersionCommand = CreateComponentVersionCommand;
2194
2319
  exports.CreateDeploymentCommand = CreateDeploymentCommand;
@@ -2210,10 +2335,10 @@ exports.GetDeploymentCommand = GetDeploymentCommand;
2210
2335
  exports.GetServiceRoleForAccountCommand = GetServiceRoleForAccountCommand;
2211
2336
  exports.GreengrassV2 = GreengrassV2;
2212
2337
  exports.GreengrassV2Client = GreengrassV2Client;
2213
- exports.GreengrassV2ServiceException = GreengrassV2ServiceException;
2338
+ exports.GreengrassV2ServiceException = GreengrassV2ServiceException$1;
2214
2339
  exports.InstalledComponentLifecycleState = InstalledComponentLifecycleState;
2215
2340
  exports.InstalledComponentTopologyFilter = InstalledComponentTopologyFilter;
2216
- exports.InternalServerException = InternalServerException;
2341
+ exports.InternalServerException = InternalServerException$1;
2217
2342
  exports.IoTJobAbortAction = IoTJobAbortAction;
2218
2343
  exports.IoTJobExecutionFailureType = IoTJobExecutionFailureType;
2219
2344
  exports.IotEndpointType = IotEndpointType;
@@ -2230,16 +2355,16 @@ exports.ListEffectiveDeploymentsCommand = ListEffectiveDeploymentsCommand;
2230
2355
  exports.ListInstalledComponentsCommand = ListInstalledComponentsCommand;
2231
2356
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2232
2357
  exports.RecipeOutputFormat = RecipeOutputFormat;
2233
- exports.RequestAlreadyInProgressException = RequestAlreadyInProgressException;
2358
+ exports.RequestAlreadyInProgressException = RequestAlreadyInProgressException$1;
2234
2359
  exports.ResolveComponentCandidatesCommand = ResolveComponentCandidatesCommand;
2235
- exports.ResourceNotFoundException = ResourceNotFoundException;
2360
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2236
2361
  exports.S3EndpointType = S3EndpointType;
2237
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2362
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2238
2363
  exports.TagResourceCommand = TagResourceCommand;
2239
- exports.ThrottlingException = ThrottlingException;
2364
+ exports.ThrottlingException = ThrottlingException$1;
2240
2365
  exports.UntagResourceCommand = UntagResourceCommand;
2241
2366
  exports.UpdateConnectivityInfoCommand = UpdateConnectivityInfoCommand;
2242
- exports.ValidationException = ValidationException;
2367
+ exports.ValidationException = ValidationException$1;
2243
2368
  exports.ValidationExceptionReason = ValidationExceptionReason;
2244
2369
  exports.VendorGuidance = VendorGuidance;
2245
2370
  exports.paginateListClientDevicesAssociatedWithCoreDevice = paginateListClientDevicesAssociatedWithCoreDevice;