@aws-sdk/client-managedblockchain 3.927.0 → 3.929.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 (51) hide show
  1. package/dist-cjs/index.js +1285 -1343
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ManagedBlockchainClient.js +2 -0
  4. package/dist-es/commands/CreateAccessorCommand.js +3 -9
  5. package/dist-es/commands/CreateMemberCommand.js +3 -10
  6. package/dist-es/commands/CreateNetworkCommand.js +3 -10
  7. package/dist-es/commands/CreateNodeCommand.js +3 -9
  8. package/dist-es/commands/CreateProposalCommand.js +3 -9
  9. package/dist-es/commands/DeleteAccessorCommand.js +3 -9
  10. package/dist-es/commands/DeleteMemberCommand.js +3 -9
  11. package/dist-es/commands/DeleteNodeCommand.js +3 -9
  12. package/dist-es/commands/GetAccessorCommand.js +3 -9
  13. package/dist-es/commands/GetMemberCommand.js +3 -9
  14. package/dist-es/commands/GetNetworkCommand.js +3 -9
  15. package/dist-es/commands/GetNodeCommand.js +3 -9
  16. package/dist-es/commands/GetProposalCommand.js +3 -9
  17. package/dist-es/commands/ListAccessorsCommand.js +3 -9
  18. package/dist-es/commands/ListInvitationsCommand.js +3 -9
  19. package/dist-es/commands/ListMembersCommand.js +3 -9
  20. package/dist-es/commands/ListNetworksCommand.js +3 -9
  21. package/dist-es/commands/ListNodesCommand.js +3 -9
  22. package/dist-es/commands/ListProposalVotesCommand.js +3 -9
  23. package/dist-es/commands/ListProposalsCommand.js +3 -9
  24. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  25. package/dist-es/commands/RejectInvitationCommand.js +3 -9
  26. package/dist-es/commands/TagResourceCommand.js +3 -9
  27. package/dist-es/commands/UntagResourceCommand.js +3 -9
  28. package/dist-es/commands/UpdateMemberCommand.js +3 -9
  29. package/dist-es/commands/UpdateNodeCommand.js +3 -9
  30. package/dist-es/commands/VoteOnProposalCommand.js +3 -9
  31. package/dist-es/models/models_0.js +0 -27
  32. package/dist-es/runtimeConfig.shared.js +2 -0
  33. package/dist-es/schemas/schemas_0.js +1218 -0
  34. package/dist-types/ManagedBlockchainClient.d.ts +10 -1
  35. package/dist-types/models/models_0.d.ts +0 -20
  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 +144 -0
  41. package/dist-types/ts3.4/ManagedBlockchainClient.d.ts +4 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +0 -15
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  47. package/dist-types/ts3.4/schemas/schemas_0.d.ts +150 -0
  48. package/package.json +5 -6
  49. package/dist-es/protocols/Aws_restJson1.js +0 -1109
  50. package/dist-types/protocols/Aws_restJson1.d.ts +0 -245
  51. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -329
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 ManagedBlockchainClient 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 ManagedBlockchainClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class ManagedBlockchainServiceException extends smithyClient.ServiceException {
113
+ let ManagedBlockchainServiceException$1 = class ManagedBlockchainServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, ManagedBlockchainServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class AccessDeniedException extends ManagedBlockchainServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends ManagedBlockchainServiceException$1 {
122
121
  name = "AccessDeniedException";
123
122
  $fault = "client";
124
123
  Message;
@@ -131,7 +130,7 @@ class AccessDeniedException extends ManagedBlockchainServiceException {
131
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
132
131
  this.Message = opts.Message;
133
132
  }
134
- }
133
+ };
135
134
  const AccessorNetworkType = {
136
135
  ETHEREUM_GOERLI: "ETHEREUM_GOERLI",
137
136
  ETHEREUM_MAINNET: "ETHEREUM_MAINNET",
@@ -151,7 +150,7 @@ const ThresholdComparator = {
151
150
  GREATER_THAN: "GREATER_THAN",
152
151
  GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
153
152
  };
154
- class InternalServiceErrorException extends ManagedBlockchainServiceException {
153
+ let InternalServiceErrorException$1 = class InternalServiceErrorException extends ManagedBlockchainServiceException$1 {
155
154
  name = "InternalServiceErrorException";
156
155
  $fault = "server";
157
156
  constructor(opts) {
@@ -162,8 +161,8 @@ class InternalServiceErrorException extends ManagedBlockchainServiceException {
162
161
  });
163
162
  Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
164
163
  }
165
- }
166
- class InvalidRequestException extends ManagedBlockchainServiceException {
164
+ };
165
+ let InvalidRequestException$1 = class InvalidRequestException extends ManagedBlockchainServiceException$1 {
167
166
  name = "InvalidRequestException";
168
167
  $fault = "client";
169
168
  Message;
@@ -176,8 +175,8 @@ class InvalidRequestException extends ManagedBlockchainServiceException {
176
175
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
177
176
  this.Message = opts.Message;
178
177
  }
179
- }
180
- class ResourceAlreadyExistsException extends ManagedBlockchainServiceException {
178
+ };
179
+ let ResourceAlreadyExistsException$1 = class ResourceAlreadyExistsException extends ManagedBlockchainServiceException$1 {
181
180
  name = "ResourceAlreadyExistsException";
182
181
  $fault = "client";
183
182
  Message;
@@ -190,8 +189,8 @@ class ResourceAlreadyExistsException extends ManagedBlockchainServiceException {
190
189
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
191
190
  this.Message = opts.Message;
192
191
  }
193
- }
194
- class ResourceLimitExceededException extends ManagedBlockchainServiceException {
192
+ };
193
+ let ResourceLimitExceededException$1 = class ResourceLimitExceededException extends ManagedBlockchainServiceException$1 {
195
194
  name = "ResourceLimitExceededException";
196
195
  $fault = "client";
197
196
  Message;
@@ -204,8 +203,8 @@ class ResourceLimitExceededException extends ManagedBlockchainServiceException {
204
203
  Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
205
204
  this.Message = opts.Message;
206
205
  }
207
- }
208
- class ThrottlingException extends ManagedBlockchainServiceException {
206
+ };
207
+ let ThrottlingException$1 = class ThrottlingException extends ManagedBlockchainServiceException$1 {
209
208
  name = "ThrottlingException";
210
209
  $fault = "client";
211
210
  constructor(opts) {
@@ -216,8 +215,8 @@ class ThrottlingException extends ManagedBlockchainServiceException {
216
215
  });
217
216
  Object.setPrototypeOf(this, ThrottlingException.prototype);
218
217
  }
219
- }
220
- class TooManyTagsException extends ManagedBlockchainServiceException {
218
+ };
219
+ let TooManyTagsException$1 = class TooManyTagsException extends ManagedBlockchainServiceException$1 {
221
220
  name = "TooManyTagsException";
222
221
  $fault = "client";
223
222
  Message;
@@ -232,8 +231,8 @@ class TooManyTagsException extends ManagedBlockchainServiceException {
232
231
  this.Message = opts.Message;
233
232
  this.ResourceName = opts.ResourceName;
234
233
  }
235
- }
236
- class ResourceNotFoundException extends ManagedBlockchainServiceException {
234
+ };
235
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends ManagedBlockchainServiceException$1 {
237
236
  name = "ResourceNotFoundException";
238
237
  $fault = "client";
239
238
  Message;
@@ -248,8 +247,8 @@ class ResourceNotFoundException extends ManagedBlockchainServiceException {
248
247
  this.Message = opts.Message;
249
248
  this.ResourceName = opts.ResourceName;
250
249
  }
251
- }
252
- class ResourceNotReadyException extends ManagedBlockchainServiceException {
250
+ };
251
+ let ResourceNotReadyException$1 = class ResourceNotReadyException extends ManagedBlockchainServiceException$1 {
253
252
  name = "ResourceNotReadyException";
254
253
  $fault = "client";
255
254
  Message;
@@ -262,7 +261,7 @@ class ResourceNotReadyException extends ManagedBlockchainServiceException {
262
261
  Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
263
262
  this.Message = opts.Message;
264
263
  }
265
- }
264
+ };
266
265
  const Framework = {
267
266
  ETHEREUM: "ETHEREUM",
268
267
  HYPERLEDGER_FABRIC: "HYPERLEDGER_FABRIC",
@@ -309,7 +308,7 @@ const ProposalStatus = {
309
308
  IN_PROGRESS: "IN_PROGRESS",
310
309
  REJECTED: "REJECTED",
311
310
  };
312
- class IllegalActionException extends ManagedBlockchainServiceException {
311
+ let IllegalActionException$1 = class IllegalActionException extends ManagedBlockchainServiceException$1 {
313
312
  name = "IllegalActionException";
314
313
  $fault = "client";
315
314
  Message;
@@ -322,7 +321,7 @@ class IllegalActionException extends ManagedBlockchainServiceException {
322
321
  Object.setPrototypeOf(this, IllegalActionException.prototype);
323
322
  this.Message = opts.Message;
324
323
  }
325
- }
324
+ };
326
325
  const InvitationStatus = {
327
326
  ACCEPTED: "ACCEPTED",
328
327
  ACCEPTING: "ACCEPTING",
@@ -334,1150 +333,1228 @@ const VoteValue = {
334
333
  NO: "NO",
335
334
  YES: "YES",
336
335
  };
337
- const MemberFabricConfigurationFilterSensitiveLog = (obj) => ({
338
- ...obj,
339
- ...(obj.AdminPassword && { AdminPassword: smithyClient.SENSITIVE_STRING }),
340
- });
341
- const MemberFrameworkConfigurationFilterSensitiveLog = (obj) => ({
342
- ...obj,
343
- ...(obj.Fabric && { Fabric: MemberFabricConfigurationFilterSensitiveLog(obj.Fabric) }),
344
- });
345
- const MemberConfigurationFilterSensitiveLog = (obj) => ({
346
- ...obj,
347
- ...(obj.FrameworkConfiguration && {
348
- FrameworkConfiguration: MemberFrameworkConfigurationFilterSensitiveLog(obj.FrameworkConfiguration),
349
- }),
350
- });
351
- const CreateMemberInputFilterSensitiveLog = (obj) => ({
352
- ...obj,
353
- ...(obj.MemberConfiguration && {
354
- MemberConfiguration: MemberConfigurationFilterSensitiveLog(obj.MemberConfiguration),
355
- }),
356
- });
357
- const CreateNetworkInputFilterSensitiveLog = (obj) => ({
358
- ...obj,
359
- ...(obj.MemberConfiguration && {
360
- MemberConfiguration: MemberConfigurationFilterSensitiveLog(obj.MemberConfiguration),
361
- }),
362
- });
363
336
 
364
- const se_CreateAccessorCommand = async (input, context) => {
365
- const b = core.requestBuilder(input, context);
366
- const headers = {
367
- "content-type": "application/json",
368
- };
369
- b.bp("/accessors");
370
- let body;
371
- body = JSON.stringify(smithyClient.take(input, {
372
- AccessorType: [],
373
- ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
374
- NetworkType: [],
375
- Tags: (_) => smithyClient._json(_),
376
- }));
377
- b.m("POST").h(headers).b(body);
378
- return b.build();
379
- };
380
- const se_CreateMemberCommand = async (input, context) => {
381
- const b = core.requestBuilder(input, context);
382
- const headers = {
383
- "content-type": "application/json",
384
- };
385
- b.bp("/networks/{NetworkId}/members");
386
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
387
- let body;
388
- body = JSON.stringify(smithyClient.take(input, {
389
- ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
390
- InvitationId: [],
391
- MemberConfiguration: (_) => smithyClient._json(_),
392
- }));
393
- b.m("POST").h(headers).b(body);
394
- return b.build();
395
- };
396
- const se_CreateNetworkCommand = async (input, context) => {
397
- const b = core.requestBuilder(input, context);
398
- const headers = {
399
- "content-type": "application/json",
400
- };
401
- b.bp("/networks");
402
- let body;
403
- body = JSON.stringify(smithyClient.take(input, {
404
- ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
405
- Description: [],
406
- Framework: [],
407
- FrameworkConfiguration: (_) => smithyClient._json(_),
408
- FrameworkVersion: [],
409
- MemberConfiguration: (_) => smithyClient._json(_),
410
- Name: [],
411
- Tags: (_) => smithyClient._json(_),
412
- VotingPolicy: (_) => smithyClient._json(_),
413
- }));
414
- b.m("POST").h(headers).b(body);
415
- return b.build();
416
- };
417
- const se_CreateNodeCommand = async (input, context) => {
418
- const b = core.requestBuilder(input, context);
419
- const headers = {
420
- "content-type": "application/json",
421
- };
422
- b.bp("/networks/{NetworkId}/nodes");
423
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
424
- let body;
425
- body = JSON.stringify(smithyClient.take(input, {
426
- ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
427
- MemberId: [],
428
- NodeConfiguration: (_) => smithyClient._json(_),
429
- Tags: (_) => smithyClient._json(_),
430
- }));
431
- b.m("POST").h(headers).b(body);
432
- return b.build();
433
- };
434
- const se_CreateProposalCommand = async (input, context) => {
435
- const b = core.requestBuilder(input, context);
436
- const headers = {
437
- "content-type": "application/json",
438
- };
439
- b.bp("/networks/{NetworkId}/proposals");
440
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
441
- let body;
442
- body = JSON.stringify(smithyClient.take(input, {
443
- Actions: (_) => smithyClient._json(_),
444
- ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
445
- Description: [],
446
- MemberId: [],
447
- Tags: (_) => smithyClient._json(_),
448
- }));
449
- b.m("POST").h(headers).b(body);
450
- return b.build();
451
- };
452
- const se_DeleteAccessorCommand = async (input, context) => {
453
- const b = core.requestBuilder(input, context);
454
- const headers = {};
455
- b.bp("/accessors/{AccessorId}");
456
- b.p("AccessorId", () => input.AccessorId, "{AccessorId}", false);
457
- let body;
458
- b.m("DELETE").h(headers).b(body);
459
- return b.build();
460
- };
461
- const se_DeleteMemberCommand = async (input, context) => {
462
- const b = core.requestBuilder(input, context);
463
- const headers = {};
464
- b.bp("/networks/{NetworkId}/members/{MemberId}");
465
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
466
- b.p("MemberId", () => input.MemberId, "{MemberId}", false);
467
- let body;
468
- b.m("DELETE").h(headers).b(body);
469
- return b.build();
470
- };
471
- const se_DeleteNodeCommand = async (input, context) => {
472
- const b = core.requestBuilder(input, context);
473
- const headers = {};
474
- b.bp("/networks/{NetworkId}/nodes/{NodeId}");
475
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
476
- b.p("NodeId", () => input.NodeId, "{NodeId}", false);
477
- const query = smithyClient.map({
478
- [_mI]: [, input[_MI]],
479
- });
480
- let body;
481
- b.m("DELETE").h(headers).q(query).b(body);
482
- return b.build();
483
- };
484
- const se_GetAccessorCommand = async (input, context) => {
485
- const b = core.requestBuilder(input, context);
486
- const headers = {};
487
- b.bp("/accessors/{AccessorId}");
488
- b.p("AccessorId", () => input.AccessorId, "{AccessorId}", false);
489
- let body;
490
- b.m("GET").h(headers).b(body);
491
- return b.build();
492
- };
493
- const se_GetMemberCommand = async (input, context) => {
494
- const b = core.requestBuilder(input, context);
495
- const headers = {};
496
- b.bp("/networks/{NetworkId}/members/{MemberId}");
497
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
498
- b.p("MemberId", () => input.MemberId, "{MemberId}", false);
499
- let body;
500
- b.m("GET").h(headers).b(body);
501
- return b.build();
502
- };
503
- const se_GetNetworkCommand = async (input, context) => {
504
- const b = core.requestBuilder(input, context);
505
- const headers = {};
506
- b.bp("/networks/{NetworkId}");
507
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
508
- let body;
509
- b.m("GET").h(headers).b(body);
510
- return b.build();
511
- };
512
- const se_GetNodeCommand = async (input, context) => {
513
- const b = core.requestBuilder(input, context);
514
- const headers = {};
515
- b.bp("/networks/{NetworkId}/nodes/{NodeId}");
516
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
517
- b.p("NodeId", () => input.NodeId, "{NodeId}", false);
518
- const query = smithyClient.map({
519
- [_mI]: [, input[_MI]],
520
- });
521
- let body;
522
- b.m("GET").h(headers).q(query).b(body);
523
- return b.build();
524
- };
525
- const se_GetProposalCommand = async (input, context) => {
526
- const b = core.requestBuilder(input, context);
527
- const headers = {};
528
- b.bp("/networks/{NetworkId}/proposals/{ProposalId}");
529
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
530
- b.p("ProposalId", () => input.ProposalId, "{ProposalId}", false);
531
- let body;
532
- b.m("GET").h(headers).b(body);
533
- return b.build();
534
- };
535
- const se_ListAccessorsCommand = async (input, context) => {
536
- const b = core.requestBuilder(input, context);
537
- const headers = {};
538
- b.bp("/accessors");
539
- const query = smithyClient.map({
540
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
541
- [_nT]: [, input[_NT]],
542
- [_nTe]: [, input[_NTe]],
543
- });
544
- let body;
545
- b.m("GET").h(headers).q(query).b(body);
546
- return b.build();
547
- };
548
- const se_ListInvitationsCommand = async (input, context) => {
549
- const b = core.requestBuilder(input, context);
550
- const headers = {};
551
- b.bp("/invitations");
552
- const query = smithyClient.map({
553
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
554
- [_nT]: [, input[_NT]],
555
- });
556
- let body;
557
- b.m("GET").h(headers).q(query).b(body);
558
- return b.build();
559
- };
560
- const se_ListMembersCommand = async (input, context) => {
561
- const b = core.requestBuilder(input, context);
562
- const headers = {};
563
- b.bp("/networks/{NetworkId}/members");
564
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
565
- const query = smithyClient.map({
566
- [_n]: [, input[_N]],
567
- [_s]: [, input[_S]],
568
- [_iO]: [() => input.IsOwned !== void 0, () => input[_IO].toString()],
569
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
570
- [_nT]: [, input[_NT]],
571
- });
572
- let body;
573
- b.m("GET").h(headers).q(query).b(body);
574
- return b.build();
575
- };
576
- const se_ListNetworksCommand = async (input, context) => {
577
- const b = core.requestBuilder(input, context);
578
- const headers = {};
579
- b.bp("/networks");
580
- const query = smithyClient.map({
581
- [_n]: [, input[_N]],
582
- [_f]: [, input[_F]],
583
- [_s]: [, input[_S]],
584
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
585
- [_nT]: [, input[_NT]],
586
- });
587
- let body;
588
- b.m("GET").h(headers).q(query).b(body);
589
- return b.build();
590
- };
591
- const se_ListNodesCommand = async (input, context) => {
592
- const b = core.requestBuilder(input, context);
593
- const headers = {};
594
- b.bp("/networks/{NetworkId}/nodes");
595
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
596
- const query = smithyClient.map({
597
- [_mI]: [, input[_MI]],
598
- [_s]: [, input[_S]],
599
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
600
- [_nT]: [, input[_NT]],
601
- });
602
- let body;
603
- b.m("GET").h(headers).q(query).b(body);
604
- return b.build();
605
- };
606
- const se_ListProposalsCommand = async (input, context) => {
607
- const b = core.requestBuilder(input, context);
608
- const headers = {};
609
- b.bp("/networks/{NetworkId}/proposals");
610
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
611
- const query = smithyClient.map({
612
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
613
- [_nT]: [, input[_NT]],
614
- });
615
- let body;
616
- b.m("GET").h(headers).q(query).b(body);
617
- return b.build();
618
- };
619
- const se_ListProposalVotesCommand = async (input, context) => {
620
- const b = core.requestBuilder(input, context);
621
- const headers = {};
622
- b.bp("/networks/{NetworkId}/proposals/{ProposalId}/votes");
623
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
624
- b.p("ProposalId", () => input.ProposalId, "{ProposalId}", false);
625
- const query = smithyClient.map({
626
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
627
- [_nT]: [, input[_NT]],
628
- });
629
- let body;
630
- b.m("GET").h(headers).q(query).b(body);
631
- return b.build();
632
- };
633
- const se_ListTagsForResourceCommand = async (input, context) => {
634
- const b = core.requestBuilder(input, context);
635
- const headers = {};
636
- b.bp("/tags/{ResourceArn}");
637
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
638
- let body;
639
- b.m("GET").h(headers).b(body);
640
- return b.build();
641
- };
642
- const se_RejectInvitationCommand = async (input, context) => {
643
- const b = core.requestBuilder(input, context);
644
- const headers = {};
645
- b.bp("/invitations/{InvitationId}");
646
- b.p("InvitationId", () => input.InvitationId, "{InvitationId}", false);
647
- let body;
648
- b.m("DELETE").h(headers).b(body);
649
- return b.build();
650
- };
651
- const se_TagResourceCommand = async (input, context) => {
652
- const b = core.requestBuilder(input, context);
653
- const headers = {
654
- "content-type": "application/json",
655
- };
656
- b.bp("/tags/{ResourceArn}");
657
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
658
- let body;
659
- body = JSON.stringify(smithyClient.take(input, {
660
- Tags: (_) => smithyClient._json(_),
661
- }));
662
- b.m("POST").h(headers).b(body);
663
- return b.build();
664
- };
665
- const se_UntagResourceCommand = async (input, context) => {
666
- const b = core.requestBuilder(input, context);
667
- const headers = {};
668
- b.bp("/tags/{ResourceArn}");
669
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
670
- const query = smithyClient.map({
671
- [_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
672
- });
673
- let body;
674
- b.m("DELETE").h(headers).q(query).b(body);
675
- return b.build();
676
- };
677
- const se_UpdateMemberCommand = async (input, context) => {
678
- const b = core.requestBuilder(input, context);
679
- const headers = {
680
- "content-type": "application/json",
681
- };
682
- b.bp("/networks/{NetworkId}/members/{MemberId}");
683
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
684
- b.p("MemberId", () => input.MemberId, "{MemberId}", false);
685
- let body;
686
- body = JSON.stringify(smithyClient.take(input, {
687
- LogPublishingConfiguration: (_) => smithyClient._json(_),
688
- }));
689
- b.m("PATCH").h(headers).b(body);
690
- return b.build();
691
- };
692
- const se_UpdateNodeCommand = async (input, context) => {
693
- const b = core.requestBuilder(input, context);
694
- const headers = {
695
- "content-type": "application/json",
696
- };
697
- b.bp("/networks/{NetworkId}/nodes/{NodeId}");
698
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
699
- b.p("NodeId", () => input.NodeId, "{NodeId}", false);
700
- let body;
701
- body = JSON.stringify(smithyClient.take(input, {
702
- LogPublishingConfiguration: (_) => smithyClient._json(_),
703
- MemberId: [],
704
- }));
705
- b.m("PATCH").h(headers).b(body);
706
- return b.build();
707
- };
708
- const se_VoteOnProposalCommand = async (input, context) => {
709
- const b = core.requestBuilder(input, context);
710
- const headers = {
711
- "content-type": "application/json",
712
- };
713
- b.bp("/networks/{NetworkId}/proposals/{ProposalId}/votes");
714
- b.p("NetworkId", () => input.NetworkId, "{NetworkId}", false);
715
- b.p("ProposalId", () => input.ProposalId, "{ProposalId}", false);
716
- let body;
717
- body = JSON.stringify(smithyClient.take(input, {
718
- Vote: [],
719
- VoterMemberId: [],
720
- }));
721
- b.m("POST").h(headers).b(body);
722
- return b.build();
723
- };
724
- const de_CreateAccessorCommand = async (output, context) => {
725
- if (output.statusCode !== 200 && output.statusCode >= 300) {
726
- return de_CommandError(output, context);
727
- }
728
- const contents = smithyClient.map({
729
- $metadata: deserializeMetadata(output),
730
- });
731
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
732
- const doc = smithyClient.take(data, {
733
- AccessorId: smithyClient.expectString,
734
- BillingToken: smithyClient.expectString,
735
- NetworkType: smithyClient.expectString,
736
- });
737
- Object.assign(contents, doc);
738
- return contents;
739
- };
740
- const de_CreateMemberCommand = async (output, context) => {
741
- if (output.statusCode !== 200 && output.statusCode >= 300) {
742
- return de_CommandError(output, context);
743
- }
744
- const contents = smithyClient.map({
745
- $metadata: deserializeMetadata(output),
746
- });
747
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
748
- const doc = smithyClient.take(data, {
749
- MemberId: smithyClient.expectString,
750
- });
751
- Object.assign(contents, doc);
752
- return contents;
753
- };
754
- const de_CreateNetworkCommand = async (output, context) => {
755
- if (output.statusCode !== 200 && output.statusCode >= 300) {
756
- return de_CommandError(output, context);
757
- }
758
- const contents = smithyClient.map({
759
- $metadata: deserializeMetadata(output),
760
- });
761
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
762
- const doc = smithyClient.take(data, {
763
- MemberId: smithyClient.expectString,
764
- NetworkId: smithyClient.expectString,
765
- });
766
- Object.assign(contents, doc);
767
- return contents;
768
- };
769
- const de_CreateNodeCommand = async (output, context) => {
770
- if (output.statusCode !== 200 && output.statusCode >= 300) {
771
- return de_CommandError(output, context);
772
- }
773
- const contents = smithyClient.map({
774
- $metadata: deserializeMetadata(output),
775
- });
776
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
777
- const doc = smithyClient.take(data, {
778
- NodeId: smithyClient.expectString,
779
- });
780
- Object.assign(contents, doc);
781
- return contents;
782
- };
783
- const de_CreateProposalCommand = async (output, context) => {
784
- if (output.statusCode !== 200 && output.statusCode >= 300) {
785
- return de_CommandError(output, context);
786
- }
787
- const contents = smithyClient.map({
788
- $metadata: deserializeMetadata(output),
789
- });
790
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
791
- const doc = smithyClient.take(data, {
792
- ProposalId: smithyClient.expectString,
793
- });
794
- Object.assign(contents, doc);
795
- return contents;
796
- };
797
- const de_DeleteAccessorCommand = async (output, context) => {
798
- if (output.statusCode !== 200 && 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_DeleteMemberCommand = async (output, context) => {
808
- if (output.statusCode !== 200 && 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_DeleteNodeCommand = async (output, context) => {
818
- if (output.statusCode !== 200 && 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_GetAccessorCommand = 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
- Accessor: (_) => de_Accessor(_),
837
- });
838
- Object.assign(contents, doc);
839
- return contents;
840
- };
841
- const de_GetMemberCommand = async (output, context) => {
842
- if (output.statusCode !== 200 && output.statusCode >= 300) {
843
- return de_CommandError(output, context);
844
- }
845
- const contents = smithyClient.map({
846
- $metadata: deserializeMetadata(output),
847
- });
848
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
849
- const doc = smithyClient.take(data, {
850
- Member: (_) => de_Member(_),
851
- });
852
- Object.assign(contents, doc);
853
- return contents;
854
- };
855
- const de_GetNetworkCommand = async (output, context) => {
856
- if (output.statusCode !== 200 && output.statusCode >= 300) {
857
- return de_CommandError(output, context);
858
- }
859
- const contents = smithyClient.map({
860
- $metadata: deserializeMetadata(output),
861
- });
862
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
863
- const doc = smithyClient.take(data, {
864
- Network: (_) => de_Network(_),
865
- });
866
- Object.assign(contents, doc);
867
- return contents;
868
- };
869
- const de_GetNodeCommand = async (output, context) => {
870
- if (output.statusCode !== 200 && output.statusCode >= 300) {
871
- return de_CommandError(output, context);
872
- }
873
- const contents = smithyClient.map({
874
- $metadata: deserializeMetadata(output),
875
- });
876
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
877
- const doc = smithyClient.take(data, {
878
- Node: (_) => de_Node(_),
879
- });
880
- Object.assign(contents, doc);
881
- return contents;
882
- };
883
- const de_GetProposalCommand = async (output, context) => {
884
- if (output.statusCode !== 200 && output.statusCode >= 300) {
885
- return de_CommandError(output, context);
886
- }
887
- const contents = smithyClient.map({
888
- $metadata: deserializeMetadata(output),
889
- });
890
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
891
- const doc = smithyClient.take(data, {
892
- Proposal: (_) => de_Proposal(_),
893
- });
894
- Object.assign(contents, doc);
895
- return contents;
896
- };
897
- const de_ListAccessorsCommand = async (output, context) => {
898
- if (output.statusCode !== 200 && output.statusCode >= 300) {
899
- return de_CommandError(output, context);
900
- }
901
- const contents = smithyClient.map({
902
- $metadata: deserializeMetadata(output),
903
- });
904
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
905
- const doc = smithyClient.take(data, {
906
- Accessors: (_) => de_AccessorSummaryList(_),
907
- NextToken: smithyClient.expectString,
908
- });
909
- Object.assign(contents, doc);
910
- return contents;
911
- };
912
- const de_ListInvitationsCommand = async (output, context) => {
913
- if (output.statusCode !== 200 && output.statusCode >= 300) {
914
- return de_CommandError(output, context);
915
- }
916
- const contents = smithyClient.map({
917
- $metadata: deserializeMetadata(output),
918
- });
919
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
920
- const doc = smithyClient.take(data, {
921
- Invitations: (_) => de_InvitationList(_),
922
- NextToken: smithyClient.expectString,
923
- });
924
- Object.assign(contents, doc);
925
- return contents;
926
- };
927
- const de_ListMembersCommand = async (output, context) => {
928
- if (output.statusCode !== 200 && output.statusCode >= 300) {
929
- return de_CommandError(output, context);
930
- }
931
- const contents = smithyClient.map({
932
- $metadata: deserializeMetadata(output),
933
- });
934
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
935
- const doc = smithyClient.take(data, {
936
- Members: (_) => de_MemberSummaryList(_),
937
- NextToken: smithyClient.expectString,
938
- });
939
- Object.assign(contents, doc);
940
- return contents;
941
- };
942
- const de_ListNetworksCommand = async (output, context) => {
943
- if (output.statusCode !== 200 && output.statusCode >= 300) {
944
- return de_CommandError(output, context);
945
- }
946
- const contents = smithyClient.map({
947
- $metadata: deserializeMetadata(output),
948
- });
949
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
950
- const doc = smithyClient.take(data, {
951
- Networks: (_) => de_NetworkSummaryList(_),
952
- NextToken: smithyClient.expectString,
953
- });
954
- Object.assign(contents, doc);
955
- return contents;
956
- };
957
- const de_ListNodesCommand = async (output, context) => {
958
- if (output.statusCode !== 200 && output.statusCode >= 300) {
959
- return de_CommandError(output, context);
960
- }
961
- const contents = smithyClient.map({
962
- $metadata: deserializeMetadata(output),
963
- });
964
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
965
- const doc = smithyClient.take(data, {
966
- NextToken: smithyClient.expectString,
967
- Nodes: (_) => de_NodeSummaryList(_),
968
- });
969
- Object.assign(contents, doc);
970
- return contents;
971
- };
972
- const de_ListProposalsCommand = async (output, context) => {
973
- if (output.statusCode !== 200 && output.statusCode >= 300) {
974
- return de_CommandError(output, context);
975
- }
976
- const contents = smithyClient.map({
977
- $metadata: deserializeMetadata(output),
978
- });
979
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
980
- const doc = smithyClient.take(data, {
981
- NextToken: smithyClient.expectString,
982
- Proposals: (_) => de_ProposalSummaryList(_),
983
- });
984
- Object.assign(contents, doc);
985
- return contents;
986
- };
987
- const de_ListProposalVotesCommand = async (output, context) => {
988
- if (output.statusCode !== 200 && output.statusCode >= 300) {
989
- return de_CommandError(output, context);
990
- }
991
- const contents = smithyClient.map({
992
- $metadata: deserializeMetadata(output),
993
- });
994
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
995
- const doc = smithyClient.take(data, {
996
- NextToken: smithyClient.expectString,
997
- ProposalVotes: smithyClient._json,
998
- });
999
- Object.assign(contents, doc);
1000
- return contents;
1001
- };
1002
- const de_ListTagsForResourceCommand = async (output, context) => {
1003
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1004
- return de_CommandError(output, context);
1005
- }
1006
- const contents = smithyClient.map({
1007
- $metadata: deserializeMetadata(output),
1008
- });
1009
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1010
- const doc = smithyClient.take(data, {
1011
- Tags: smithyClient._json,
1012
- });
1013
- Object.assign(contents, doc);
1014
- return contents;
1015
- };
1016
- const de_RejectInvitationCommand = 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
- await smithyClient.collectBody(output.body, context);
1024
- return contents;
1025
- };
1026
- const de_TagResourceCommand = async (output, context) => {
1027
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1028
- return de_CommandError(output, context);
1029
- }
1030
- const contents = smithyClient.map({
1031
- $metadata: deserializeMetadata(output),
1032
- });
1033
- await smithyClient.collectBody(output.body, context);
1034
- return contents;
1035
- };
1036
- const de_UntagResourceCommand = async (output, context) => {
1037
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1038
- return de_CommandError(output, context);
1039
- }
1040
- const contents = smithyClient.map({
1041
- $metadata: deserializeMetadata(output),
1042
- });
1043
- await smithyClient.collectBody(output.body, context);
1044
- return contents;
1045
- };
1046
- const de_UpdateMemberCommand = 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
- await smithyClient.collectBody(output.body, context);
1054
- return contents;
1055
- };
1056
- const de_UpdateNodeCommand = async (output, context) => {
1057
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1058
- return de_CommandError(output, context);
1059
- }
1060
- const contents = smithyClient.map({
1061
- $metadata: deserializeMetadata(output),
1062
- });
1063
- await smithyClient.collectBody(output.body, context);
1064
- return contents;
1065
- };
1066
- const de_VoteOnProposalCommand = async (output, context) => {
1067
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1068
- return de_CommandError(output, context);
1069
- }
1070
- const contents = smithyClient.map({
1071
- $metadata: deserializeMetadata(output),
1072
- });
1073
- await smithyClient.collectBody(output.body, context);
1074
- return contents;
1075
- };
1076
- const de_CommandError = async (output, context) => {
1077
- const parsedOutput = {
1078
- ...output,
1079
- body: await core$1.parseJsonErrorBody(output.body, context),
1080
- };
1081
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1082
- switch (errorCode) {
1083
- case "AccessDeniedException":
1084
- case "com.amazonaws.managedblockchain#AccessDeniedException":
1085
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1086
- case "InternalServiceErrorException":
1087
- case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1088
- throw await de_InternalServiceErrorExceptionRes(parsedOutput);
1089
- case "InvalidRequestException":
1090
- case "com.amazonaws.managedblockchain#InvalidRequestException":
1091
- throw await de_InvalidRequestExceptionRes(parsedOutput);
1092
- case "ResourceAlreadyExistsException":
1093
- case "com.amazonaws.managedblockchain#ResourceAlreadyExistsException":
1094
- throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput);
1095
- case "ResourceLimitExceededException":
1096
- case "com.amazonaws.managedblockchain#ResourceLimitExceededException":
1097
- throw await de_ResourceLimitExceededExceptionRes(parsedOutput);
1098
- case "ThrottlingException":
1099
- case "com.amazonaws.managedblockchain#ThrottlingException":
1100
- throw await de_ThrottlingExceptionRes(parsedOutput);
1101
- case "TooManyTagsException":
1102
- case "com.amazonaws.managedblockchain#TooManyTagsException":
1103
- throw await de_TooManyTagsExceptionRes(parsedOutput);
1104
- case "ResourceNotFoundException":
1105
- case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1106
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1107
- case "ResourceNotReadyException":
1108
- case "com.amazonaws.managedblockchain#ResourceNotReadyException":
1109
- throw await de_ResourceNotReadyExceptionRes(parsedOutput);
1110
- case "IllegalActionException":
1111
- case "com.amazonaws.managedblockchain#IllegalActionException":
1112
- throw await de_IllegalActionExceptionRes(parsedOutput);
1113
- default:
1114
- const parsedBody = parsedOutput.body;
1115
- return throwDefaultError({
1116
- output,
1117
- parsedBody,
1118
- errorCode,
1119
- });
1120
- }
1121
- };
1122
- const throwDefaultError = smithyClient.withBaseException(ManagedBlockchainServiceException);
1123
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1124
- const contents = smithyClient.map({});
1125
- const data = parsedOutput.body;
1126
- const doc = smithyClient.take(data, {
1127
- Message: smithyClient.expectString,
1128
- });
1129
- Object.assign(contents, doc);
1130
- const exception = new AccessDeniedException({
1131
- $metadata: deserializeMetadata(parsedOutput),
1132
- ...contents,
1133
- });
1134
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1135
- };
1136
- const de_IllegalActionExceptionRes = async (parsedOutput, context) => {
1137
- const contents = smithyClient.map({});
1138
- const data = parsedOutput.body;
1139
- const doc = smithyClient.take(data, {
1140
- Message: smithyClient.expectString,
1141
- });
1142
- Object.assign(contents, doc);
1143
- const exception = new IllegalActionException({
1144
- $metadata: deserializeMetadata(parsedOutput),
1145
- ...contents,
1146
- });
1147
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1148
- };
1149
- const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
1150
- const contents = smithyClient.map({});
1151
- const data = parsedOutput.body;
1152
- const doc = smithyClient.take(data, {});
1153
- Object.assign(contents, doc);
1154
- const exception = new InternalServiceErrorException({
1155
- $metadata: deserializeMetadata(parsedOutput),
1156
- ...contents,
1157
- });
1158
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1159
- };
1160
- const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
1161
- const contents = smithyClient.map({});
1162
- const data = parsedOutput.body;
1163
- const doc = smithyClient.take(data, {
1164
- Message: smithyClient.expectString,
1165
- });
1166
- Object.assign(contents, doc);
1167
- const exception = new InvalidRequestException({
1168
- $metadata: deserializeMetadata(parsedOutput),
1169
- ...contents,
1170
- });
1171
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1172
- };
1173
- const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1174
- const contents = smithyClient.map({});
1175
- const data = parsedOutput.body;
1176
- const doc = smithyClient.take(data, {
1177
- Message: smithyClient.expectString,
1178
- });
1179
- Object.assign(contents, doc);
1180
- const exception = new ResourceAlreadyExistsException({
1181
- $metadata: deserializeMetadata(parsedOutput),
1182
- ...contents,
1183
- });
1184
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1185
- };
1186
- const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
1187
- const contents = smithyClient.map({});
1188
- const data = parsedOutput.body;
1189
- const doc = smithyClient.take(data, {
1190
- Message: smithyClient.expectString,
1191
- });
1192
- Object.assign(contents, doc);
1193
- const exception = new ResourceLimitExceededException({
1194
- $metadata: deserializeMetadata(parsedOutput),
1195
- ...contents,
1196
- });
1197
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1198
- };
1199
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1200
- const contents = smithyClient.map({});
1201
- const data = parsedOutput.body;
1202
- const doc = smithyClient.take(data, {
1203
- Message: smithyClient.expectString,
1204
- ResourceName: smithyClient.expectString,
1205
- });
1206
- Object.assign(contents, doc);
1207
- const exception = new ResourceNotFoundException({
1208
- $metadata: deserializeMetadata(parsedOutput),
1209
- ...contents,
1210
- });
1211
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1212
- };
1213
- const de_ResourceNotReadyExceptionRes = async (parsedOutput, context) => {
1214
- const contents = smithyClient.map({});
1215
- const data = parsedOutput.body;
1216
- const doc = smithyClient.take(data, {
1217
- Message: smithyClient.expectString,
1218
- });
1219
- Object.assign(contents, doc);
1220
- const exception = new ResourceNotReadyException({
1221
- $metadata: deserializeMetadata(parsedOutput),
1222
- ...contents,
1223
- });
1224
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1225
- };
1226
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1227
- const contents = smithyClient.map({});
1228
- const data = parsedOutput.body;
1229
- const doc = smithyClient.take(data, {});
1230
- Object.assign(contents, doc);
1231
- const exception = new ThrottlingException({
1232
- $metadata: deserializeMetadata(parsedOutput),
1233
- ...contents,
1234
- });
1235
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1236
- };
1237
- const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1238
- const contents = smithyClient.map({});
1239
- const data = parsedOutput.body;
1240
- const doc = smithyClient.take(data, {
1241
- Message: smithyClient.expectString,
1242
- ResourceName: smithyClient.expectString,
1243
- });
1244
- Object.assign(contents, doc);
1245
- const exception = new TooManyTagsException({
1246
- $metadata: deserializeMetadata(parsedOutput),
1247
- ...contents,
1248
- });
1249
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1250
- };
1251
- const de_Accessor = (output, context) => {
1252
- return smithyClient.take(output, {
1253
- Arn: smithyClient.expectString,
1254
- BillingToken: smithyClient.expectString,
1255
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1256
- Id: smithyClient.expectString,
1257
- NetworkType: smithyClient.expectString,
1258
- Status: smithyClient.expectString,
1259
- Tags: smithyClient._json,
1260
- Type: smithyClient.expectString,
1261
- });
1262
- };
1263
- const de_AccessorSummary = (output, context) => {
1264
- return smithyClient.take(output, {
1265
- Arn: smithyClient.expectString,
1266
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1267
- Id: smithyClient.expectString,
1268
- NetworkType: smithyClient.expectString,
1269
- Status: smithyClient.expectString,
1270
- Type: smithyClient.expectString,
1271
- });
1272
- };
1273
- const de_AccessorSummaryList = (output, context) => {
1274
- const retVal = (output || [])
1275
- .filter((e) => e != null)
1276
- .map((entry) => {
1277
- return de_AccessorSummary(entry);
1278
- });
1279
- return retVal;
1280
- };
1281
- const de_Invitation = (output, context) => {
1282
- return smithyClient.take(output, {
1283
- Arn: smithyClient.expectString,
1284
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1285
- ExpirationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1286
- InvitationId: smithyClient.expectString,
1287
- NetworkSummary: (_) => de_NetworkSummary(_),
1288
- Status: smithyClient.expectString,
1289
- });
1290
- };
1291
- const de_InvitationList = (output, context) => {
1292
- const retVal = (output || [])
1293
- .filter((e) => e != null)
1294
- .map((entry) => {
1295
- return de_Invitation(entry);
1296
- });
1297
- return retVal;
1298
- };
1299
- const de_Member = (output, context) => {
1300
- return smithyClient.take(output, {
1301
- Arn: smithyClient.expectString,
1302
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1303
- Description: smithyClient.expectString,
1304
- FrameworkAttributes: smithyClient._json,
1305
- Id: smithyClient.expectString,
1306
- KmsKeyArn: smithyClient.expectString,
1307
- LogPublishingConfiguration: smithyClient._json,
1308
- Name: smithyClient.expectString,
1309
- NetworkId: smithyClient.expectString,
1310
- Status: smithyClient.expectString,
1311
- Tags: smithyClient._json,
1312
- });
1313
- };
1314
- const de_MemberSummary = (output, context) => {
1315
- return smithyClient.take(output, {
1316
- Arn: smithyClient.expectString,
1317
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1318
- Description: smithyClient.expectString,
1319
- Id: smithyClient.expectString,
1320
- IsOwned: smithyClient.expectBoolean,
1321
- Name: smithyClient.expectString,
1322
- Status: smithyClient.expectString,
1323
- });
1324
- };
1325
- const de_MemberSummaryList = (output, context) => {
1326
- const retVal = (output || [])
1327
- .filter((e) => e != null)
1328
- .map((entry) => {
1329
- return de_MemberSummary(entry);
1330
- });
1331
- return retVal;
1332
- };
1333
- const de_Network = (output, context) => {
1334
- return smithyClient.take(output, {
1335
- Arn: smithyClient.expectString,
1336
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1337
- Description: smithyClient.expectString,
1338
- Framework: smithyClient.expectString,
1339
- FrameworkAttributes: smithyClient._json,
1340
- FrameworkVersion: smithyClient.expectString,
1341
- Id: smithyClient.expectString,
1342
- Name: smithyClient.expectString,
1343
- Status: smithyClient.expectString,
1344
- Tags: smithyClient._json,
1345
- VotingPolicy: smithyClient._json,
1346
- VpcEndpointServiceName: smithyClient.expectString,
1347
- });
1348
- };
1349
- const de_NetworkSummary = (output, context) => {
1350
- return smithyClient.take(output, {
1351
- Arn: smithyClient.expectString,
1352
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1353
- Description: smithyClient.expectString,
1354
- Framework: smithyClient.expectString,
1355
- FrameworkVersion: smithyClient.expectString,
1356
- Id: smithyClient.expectString,
1357
- Name: smithyClient.expectString,
1358
- Status: smithyClient.expectString,
1359
- });
1360
- };
1361
- const de_NetworkSummaryList = (output, context) => {
1362
- const retVal = (output || [])
1363
- .filter((e) => e != null)
1364
- .map((entry) => {
1365
- return de_NetworkSummary(entry);
1366
- });
1367
- return retVal;
1368
- };
1369
- const de_Node = (output, context) => {
1370
- return smithyClient.take(output, {
1371
- Arn: smithyClient.expectString,
1372
- AvailabilityZone: smithyClient.expectString,
1373
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1374
- FrameworkAttributes: smithyClient._json,
1375
- Id: smithyClient.expectString,
1376
- InstanceType: smithyClient.expectString,
1377
- KmsKeyArn: smithyClient.expectString,
1378
- LogPublishingConfiguration: smithyClient._json,
1379
- MemberId: smithyClient.expectString,
1380
- NetworkId: smithyClient.expectString,
1381
- StateDB: smithyClient.expectString,
1382
- Status: smithyClient.expectString,
1383
- Tags: smithyClient._json,
1384
- });
1385
- };
1386
- const de_NodeSummary = (output, context) => {
1387
- return smithyClient.take(output, {
1388
- Arn: smithyClient.expectString,
1389
- AvailabilityZone: smithyClient.expectString,
1390
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1391
- Id: smithyClient.expectString,
1392
- InstanceType: smithyClient.expectString,
1393
- Status: smithyClient.expectString,
1394
- });
1395
- };
1396
- const de_NodeSummaryList = (output, context) => {
1397
- const retVal = (output || [])
1398
- .filter((e) => e != null)
1399
- .map((entry) => {
1400
- return de_NodeSummary(entry);
1401
- });
1402
- return retVal;
1403
- };
1404
- const de_Proposal = (output, context) => {
1405
- return smithyClient.take(output, {
1406
- Actions: smithyClient._json,
1407
- Arn: smithyClient.expectString,
1408
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1409
- Description: smithyClient.expectString,
1410
- ExpirationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1411
- NetworkId: smithyClient.expectString,
1412
- NoVoteCount: smithyClient.expectInt32,
1413
- OutstandingVoteCount: smithyClient.expectInt32,
1414
- ProposalId: smithyClient.expectString,
1415
- ProposedByMemberId: smithyClient.expectString,
1416
- ProposedByMemberName: smithyClient.expectString,
1417
- Status: smithyClient.expectString,
1418
- Tags: smithyClient._json,
1419
- YesVoteCount: smithyClient.expectInt32,
1420
- });
1421
- };
1422
- const de_ProposalSummary = (output, context) => {
1423
- return smithyClient.take(output, {
1424
- Arn: smithyClient.expectString,
1425
- CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1426
- Description: smithyClient.expectString,
1427
- ExpirationDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1428
- ProposalId: smithyClient.expectString,
1429
- ProposedByMemberId: smithyClient.expectString,
1430
- ProposedByMemberName: smithyClient.expectString,
1431
- Status: smithyClient.expectString,
1432
- });
1433
- };
1434
- const de_ProposalSummaryList = (output, context) => {
1435
- const retVal = (output || [])
1436
- .filter((e) => e != null)
1437
- .map((entry) => {
1438
- return de_ProposalSummary(entry);
1439
- });
1440
- return retVal;
1441
- };
1442
- const deserializeMetadata = (output) => ({
1443
- httpStatusCode: output.statusCode,
1444
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1445
- extendedRequestId: output.headers["x-amz-id-2"],
1446
- cfId: output.headers["x-amz-cf-id"],
1447
- });
337
+ const _A = "Accessor";
338
+ const _ADE = "AccessDeniedException";
339
+ const _AI = "AccessorId";
340
+ const _AP = "AdminPassword";
341
+ const _AS = "AccessorSummary";
342
+ const _ASL = "AccessorSummaryList";
343
+ const _AT = "AccessorType";
344
+ const _ATP = "ApprovalThresholdPolicy";
345
+ const _AU = "AdminUsername";
346
+ const _AZ = "AvailabilityZone";
347
+ const _Ac = "Actions";
348
+ const _Acc = "Accessors";
349
+ const _Ar = "Arn";
350
+ const _BT = "BillingToken";
351
+ const _C = "Cloudwatch";
352
+ const _CA = "CreateAccessor";
353
+ const _CAI = "CreateAccessorInput";
354
+ const _CAO = "CreateAccessorOutput";
355
+ const _CD = "CreationDate";
356
+ const _CE = "CaEndpoint";
357
+ const _CI = "ChainId";
358
+ const _CL = "CaLogs";
359
+ const _CLh = "ChaincodeLogs";
360
+ const _CM = "CreateMember";
361
+ const _CMI = "CreateMemberInput";
362
+ const _CMO = "CreateMemberOutput";
363
+ const _CN = "CreateNetwork";
364
+ const _CNI = "CreateNetworkInput";
365
+ const _CNIr = "CreateNodeInput";
366
+ const _CNO = "CreateNetworkOutput";
367
+ const _CNOr = "CreateNodeOutput";
368
+ const _CNr = "CreateNode";
369
+ const _CP = "CreateProposal";
370
+ const _CPI = "CreateProposalInput";
371
+ const _CPO = "CreateProposalOutput";
372
+ const _CRT = "ClientRequestToken";
373
+ const _D = "Description";
374
+ const _DA = "DeleteAccessor";
375
+ const _DAI = "DeleteAccessorInput";
376
+ const _DAO = "DeleteAccessorOutput";
377
+ const _DM = "DeleteMember";
378
+ const _DMI = "DeleteMemberInput";
379
+ const _DMO = "DeleteMemberOutput";
380
+ const _DN = "DeleteNode";
381
+ const _DNI = "DeleteNodeInput";
382
+ const _DNO = "DeleteNodeOutput";
383
+ const _E = "Enabled";
384
+ const _ED = "ExpirationDate";
385
+ const _Ed = "Edition";
386
+ const _Et = "Ethereum";
1448
387
  const _F = "Framework";
388
+ const _FA = "FrameworkAttributes";
389
+ const _FC = "FrameworkConfiguration";
390
+ const _FV = "FrameworkVersion";
391
+ const _Fa = "Fabric";
392
+ const _GA = "GetAccessor";
393
+ const _GAI = "GetAccessorInput";
394
+ const _GAO = "GetAccessorOutput";
395
+ const _GM = "GetMember";
396
+ const _GMI = "GetMemberInput";
397
+ const _GMO = "GetMemberOutput";
398
+ const _GN = "GetNetwork";
399
+ const _GNI = "GetNetworkInput";
400
+ const _GNIe = "GetNodeInput";
401
+ const _GNO = "GetNetworkOutput";
402
+ const _GNOe = "GetNodeOutput";
403
+ const _GNe = "GetNode";
404
+ const _GP = "GetProposal";
405
+ const _GPI = "GetProposalInput";
406
+ const _GPO = "GetProposalOutput";
407
+ const _HE = "HttpEndpoint";
408
+ const _I = "Id";
409
+ const _IA = "InviteAction";
410
+ const _IAE = "IllegalActionException";
411
+ const _IAL = "InviteActionList";
412
+ const _II = "InvitationId";
413
+ const _IL = "InvitationList";
1449
414
  const _IO = "IsOwned";
415
+ const _IRE = "InvalidRequestException";
416
+ const _ISEE = "InternalServiceErrorException";
417
+ const _IT = "InstanceType";
418
+ const _In = "Invitation";
419
+ const _Inv = "Invitations";
420
+ const _KKA = "KmsKeyArn";
421
+ const _LA = "ListAccessors";
422
+ const _LAI = "ListAccessorsInput";
423
+ const _LAO = "ListAccessorsOutput";
424
+ const _LC = "LogConfiguration";
425
+ const _LCo = "LogConfigurations";
426
+ const _LI = "ListInvitations";
427
+ const _LII = "ListInvitationsInput";
428
+ const _LIO = "ListInvitationsOutput";
429
+ const _LM = "ListMembers";
430
+ const _LMI = "ListMembersInput";
431
+ const _LMO = "ListMembersOutput";
432
+ const _LN = "ListNetworks";
433
+ const _LNI = "ListNetworksInput";
434
+ const _LNIi = "ListNodesInput";
435
+ const _LNO = "ListNetworksOutput";
436
+ const _LNOi = "ListNodesOutput";
437
+ const _LNi = "ListNodes";
438
+ const _LP = "ListProposals";
439
+ const _LPC = "LogPublishingConfiguration";
440
+ const _LPI = "ListProposalsInput";
441
+ const _LPO = "ListProposalsOutput";
442
+ const _LPV = "ListProposalVotes";
443
+ const _LPVI = "ListProposalVotesInput";
444
+ const _LPVO = "ListProposalVotesOutput";
445
+ const _LTFR = "ListTagsForResource";
446
+ const _LTFRR = "ListTagsForResourceRequest";
447
+ const _LTFRRi = "ListTagsForResourceResponse";
448
+ const _M = "Message";
449
+ const _MC = "MemberConfiguration";
450
+ const _MFA = "MemberFabricAttributes";
451
+ const _MFAe = "MemberFrameworkAttributes";
452
+ const _MFC = "MemberFabricConfiguration";
453
+ const _MFCe = "MemberFrameworkConfiguration";
454
+ const _MFLPC = "MemberFabricLogPublishingConfiguration";
1450
455
  const _MI = "MemberId";
456
+ const _MLPC = "MemberLogPublishingConfiguration";
457
+ const _MN = "MemberName";
1451
458
  const _MR = "MaxResults";
459
+ const _MS = "MemberSummary";
460
+ const _MSL = "MemberSummaryList";
461
+ const _Me = "Member";
462
+ const _Mem = "Members";
1452
463
  const _N = "Name";
1453
- const _NT = "NextToken";
1454
- const _NTe = "NetworkType";
464
+ const _NC = "NodeConfiguration";
465
+ const _NEA = "NetworkEthereumAttributes";
466
+ const _NEAo = "NodeEthereumAttributes";
467
+ const _NFA = "NetworkFabricAttributes";
468
+ const _NFAe = "NetworkFrameworkAttributes";
469
+ const _NFAo = "NodeFabricAttributes";
470
+ const _NFAod = "NodeFrameworkAttributes";
471
+ const _NFC = "NetworkFabricConfiguration";
472
+ const _NFCe = "NetworkFrameworkConfiguration";
473
+ const _NFLPC = "NodeFabricLogPublishingConfiguration";
474
+ const _NI = "NetworkId";
475
+ const _NIo = "NodeId";
476
+ const _NLPC = "NodeLogPublishingConfiguration";
477
+ const _NS = "NetworkSummary";
478
+ const _NSL = "NetworkSummaryList";
479
+ const _NSLo = "NodeSummaryList";
480
+ const _NSo = "NodeSummary";
481
+ const _NT = "NetworkType";
482
+ const _NTe = "NextToken";
483
+ const _NVC = "NoVoteCount";
484
+ const _Ne = "Network";
485
+ const _Net = "Networks";
486
+ const _No = "Node";
487
+ const _Nod = "Nodes";
488
+ const _OSE = "OrderingServiceEndpoint";
489
+ const _OVC = "OutstandingVoteCount";
490
+ const _P = "Proposal";
491
+ const _PA = "ProposalActions";
492
+ const _PBMI = "ProposedByMemberId";
493
+ const _PBMN = "ProposedByMemberName";
494
+ const _PDIH = "ProposalDurationInHours";
495
+ const _PE = "PeerEndpoint";
496
+ const _PEE = "PeerEventEndpoint";
497
+ const _PI = "ProposalId";
498
+ const _PL = "PeerLogs";
499
+ const _PS = "PasswordString";
500
+ const _PSL = "ProposalSummaryList";
501
+ const _PSr = "ProposalSummary";
502
+ const _PV = "ProposalVotes";
503
+ const _PVL = "ProposalVoteList";
504
+ const _Pr = "Principal";
505
+ const _Pro = "Proposals";
506
+ const _R = "Removals";
507
+ const _RA = "ResourceArn";
508
+ const _RAEE = "ResourceAlreadyExistsException";
509
+ const _RAL = "RemoveActionList";
510
+ const _RAe = "RemoveAction";
511
+ const _RI = "RejectInvitation";
512
+ const _RII = "RejectInvitationInput";
513
+ const _RIO = "RejectInvitationOutput";
514
+ const _RLEE = "ResourceLimitExceededException";
515
+ const _RN = "ResourceName";
516
+ const _RNFE = "ResourceNotFoundException";
517
+ const _RNRE = "ResourceNotReadyException";
1455
518
  const _S = "Status";
519
+ const _SDB = "StateDB";
520
+ const _T = "Type";
521
+ const _TC = "ThresholdComparator";
522
+ const _TE = "ThrottlingException";
1456
523
  const _TK = "TagKeys";
524
+ const _TMTE = "TooManyTagsException";
525
+ const _TP = "ThresholdPercentage";
526
+ const _TR = "TagResource";
527
+ const _TRR = "TagResourceRequest";
528
+ const _TRRa = "TagResourceResponse";
529
+ const _Ta = "Tags";
530
+ const _UM = "UpdateMember";
531
+ const _UMI = "UpdateMemberInput";
532
+ const _UMO = "UpdateMemberOutput";
533
+ const _UN = "UpdateNode";
534
+ const _UNI = "UpdateNodeInput";
535
+ const _UNO = "UpdateNodeOutput";
536
+ const _UR = "UntagResource";
537
+ const _URR = "UntagResourceRequest";
538
+ const _URRn = "UntagResourceResponse";
539
+ const _V = "Vote";
540
+ const _VESN = "VpcEndpointServiceName";
541
+ const _VMI = "VoterMemberId";
542
+ const _VOP = "VoteOnProposal";
543
+ const _VOPI = "VoteOnProposalInput";
544
+ const _VOPO = "VoteOnProposalOutput";
545
+ const _VP = "VotingPolicy";
546
+ const _VS = "VoteSummary";
547
+ const _WSE = "WebSocketEndpoint";
548
+ const _YVC = "YesVoteCount";
549
+ const _c = "client";
550
+ const _e = "error";
1457
551
  const _f = "framework";
552
+ const _h = "http";
553
+ const _hE = "httpError";
554
+ const _hQ = "httpQuery";
1458
555
  const _iO = "isOwned";
1459
556
  const _mI = "memberId";
1460
557
  const _mR = "maxResults";
1461
558
  const _n = "name";
1462
559
  const _nT = "nextToken";
1463
560
  const _nTe = "networkType";
1464
- const _s = "status";
561
+ const _s = "server";
562
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.managedblockchain";
563
+ const _st = "status";
1465
564
  const _tK = "tagKeys";
565
+ const n0 = "com.amazonaws.managedblockchain";
566
+ var PasswordString = [0, n0, _PS, 8, 0];
567
+ var AccessDeniedException = [
568
+ -3,
569
+ n0,
570
+ _ADE,
571
+ {
572
+ [_e]: _c,
573
+ [_hE]: 403,
574
+ },
575
+ [_M],
576
+ [0],
577
+ ];
578
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
579
+ var Accessor = [
580
+ 3,
581
+ n0,
582
+ _A,
583
+ 0,
584
+ [_I, _T, _BT, _S, _CD, _Ar, _Ta, _NT],
585
+ [0, 0, 0, 0, 5, 0, 128 | 0, 0],
586
+ ];
587
+ var AccessorSummary = [3, n0, _AS, 0, [_I, _T, _S, _CD, _Ar, _NT], [0, 0, 0, 5, 0, 0]];
588
+ var ApprovalThresholdPolicy = [3, n0, _ATP, 0, [_TP, _PDIH, _TC], [1, 1, 0]];
589
+ var CreateAccessorInput = [
590
+ 3,
591
+ n0,
592
+ _CAI,
593
+ 0,
594
+ [_CRT, _AT, _Ta, _NT],
595
+ [[0, 4], 0, 128 | 0, 0],
596
+ ];
597
+ var CreateAccessorOutput = [3, n0, _CAO, 0, [_AI, _BT, _NT], [0, 0, 0]];
598
+ var CreateMemberInput = [
599
+ 3,
600
+ n0,
601
+ _CMI,
602
+ 0,
603
+ [_CRT, _II, _NI, _MC],
604
+ [[0, 4], 0, [0, 1], [() => MemberConfiguration, 0]],
605
+ ];
606
+ var CreateMemberOutput = [3, n0, _CMO, 0, [_MI], [0]];
607
+ var CreateNetworkInput = [
608
+ 3,
609
+ n0,
610
+ _CNI,
611
+ 0,
612
+ [_CRT, _N, _D, _F, _FV, _FC, _VP, _MC, _Ta],
613
+ [
614
+ [0, 4],
615
+ 0,
616
+ 0,
617
+ 0,
618
+ 0,
619
+ () => NetworkFrameworkConfiguration,
620
+ () => VotingPolicy,
621
+ [() => MemberConfiguration, 0],
622
+ 128 | 0,
623
+ ],
624
+ ];
625
+ var CreateNetworkOutput = [3, n0, _CNO, 0, [_NI, _MI], [0, 0]];
626
+ var CreateNodeInput = [
627
+ 3,
628
+ n0,
629
+ _CNIr,
630
+ 0,
631
+ [_CRT, _NI, _MI, _NC, _Ta],
632
+ [[0, 4], [0, 1], 0, () => NodeConfiguration, 128 | 0],
633
+ ];
634
+ var CreateNodeOutput = [3, n0, _CNOr, 0, [_NIo], [0]];
635
+ var CreateProposalInput = [
636
+ 3,
637
+ n0,
638
+ _CPI,
639
+ 0,
640
+ [_CRT, _NI, _MI, _Ac, _D, _Ta],
641
+ [[0, 4], [0, 1], 0, () => ProposalActions, 0, 128 | 0],
642
+ ];
643
+ var CreateProposalOutput = [3, n0, _CPO, 0, [_PI], [0]];
644
+ var DeleteAccessorInput = [3, n0, _DAI, 0, [_AI], [[0, 1]]];
645
+ var DeleteAccessorOutput = [3, n0, _DAO, 0, [], []];
646
+ var DeleteMemberInput = [
647
+ 3,
648
+ n0,
649
+ _DMI,
650
+ 0,
651
+ [_NI, _MI],
652
+ [
653
+ [0, 1],
654
+ [0, 1],
655
+ ],
656
+ ];
657
+ var DeleteMemberOutput = [3, n0, _DMO, 0, [], []];
658
+ var DeleteNodeInput = [
659
+ 3,
660
+ n0,
661
+ _DNI,
662
+ 0,
663
+ [_NI, _MI, _NIo],
664
+ [
665
+ [0, 1],
666
+ [
667
+ 0,
668
+ {
669
+ [_hQ]: _mI,
670
+ },
671
+ ],
672
+ [0, 1],
673
+ ],
674
+ ];
675
+ var DeleteNodeOutput = [3, n0, _DNO, 0, [], []];
676
+ var GetAccessorInput = [3, n0, _GAI, 0, [_AI], [[0, 1]]];
677
+ var GetAccessorOutput = [3, n0, _GAO, 0, [_A], [() => Accessor]];
678
+ var GetMemberInput = [
679
+ 3,
680
+ n0,
681
+ _GMI,
682
+ 0,
683
+ [_NI, _MI],
684
+ [
685
+ [0, 1],
686
+ [0, 1],
687
+ ],
688
+ ];
689
+ var GetMemberOutput = [3, n0, _GMO, 0, [_Me], [() => Member]];
690
+ var GetNetworkInput = [3, n0, _GNI, 0, [_NI], [[0, 1]]];
691
+ var GetNetworkOutput = [3, n0, _GNO, 0, [_Ne], [() => Network]];
692
+ var GetNodeInput = [
693
+ 3,
694
+ n0,
695
+ _GNIe,
696
+ 0,
697
+ [_NI, _MI, _NIo],
698
+ [
699
+ [0, 1],
700
+ [
701
+ 0,
702
+ {
703
+ [_hQ]: _mI,
704
+ },
705
+ ],
706
+ [0, 1],
707
+ ],
708
+ ];
709
+ var GetNodeOutput = [3, n0, _GNOe, 0, [_No], [() => Node]];
710
+ var GetProposalInput = [
711
+ 3,
712
+ n0,
713
+ _GPI,
714
+ 0,
715
+ [_NI, _PI],
716
+ [
717
+ [0, 1],
718
+ [0, 1],
719
+ ],
720
+ ];
721
+ var GetProposalOutput = [3, n0, _GPO, 0, [_P], [() => Proposal]];
722
+ var IllegalActionException = [
723
+ -3,
724
+ n0,
725
+ _IAE,
726
+ {
727
+ [_e]: _c,
728
+ [_hE]: 400,
729
+ },
730
+ [_M],
731
+ [0],
732
+ ];
733
+ schema.TypeRegistry.for(n0).registerError(IllegalActionException, IllegalActionException$1);
734
+ var InternalServiceErrorException = [
735
+ -3,
736
+ n0,
737
+ _ISEE,
738
+ {
739
+ [_e]: _s,
740
+ [_hE]: 500,
741
+ },
742
+ [],
743
+ [],
744
+ ];
745
+ schema.TypeRegistry.for(n0).registerError(InternalServiceErrorException, InternalServiceErrorException$1);
746
+ var InvalidRequestException = [
747
+ -3,
748
+ n0,
749
+ _IRE,
750
+ {
751
+ [_e]: _c,
752
+ [_hE]: 400,
753
+ },
754
+ [_M],
755
+ [0],
756
+ ];
757
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
758
+ var Invitation = [
759
+ 3,
760
+ n0,
761
+ _In,
762
+ 0,
763
+ [_II, _CD, _ED, _S, _NS, _Ar],
764
+ [0, 5, 5, 0, () => NetworkSummary, 0],
765
+ ];
766
+ var InviteAction = [3, n0, _IA, 0, [_Pr], [0]];
767
+ var ListAccessorsInput = [
768
+ 3,
769
+ n0,
770
+ _LAI,
771
+ 0,
772
+ [_MR, _NTe, _NT],
773
+ [
774
+ [
775
+ 1,
776
+ {
777
+ [_hQ]: _mR,
778
+ },
779
+ ],
780
+ [
781
+ 0,
782
+ {
783
+ [_hQ]: _nT,
784
+ },
785
+ ],
786
+ [
787
+ 0,
788
+ {
789
+ [_hQ]: _nTe,
790
+ },
791
+ ],
792
+ ],
793
+ ];
794
+ var ListAccessorsOutput = [3, n0, _LAO, 0, [_Acc, _NTe], [() => AccessorSummaryList, 0]];
795
+ var ListInvitationsInput = [
796
+ 3,
797
+ n0,
798
+ _LII,
799
+ 0,
800
+ [_MR, _NTe],
801
+ [
802
+ [
803
+ 1,
804
+ {
805
+ [_hQ]: _mR,
806
+ },
807
+ ],
808
+ [
809
+ 0,
810
+ {
811
+ [_hQ]: _nT,
812
+ },
813
+ ],
814
+ ],
815
+ ];
816
+ var ListInvitationsOutput = [3, n0, _LIO, 0, [_Inv, _NTe], [() => InvitationList, 0]];
817
+ var ListMembersInput = [
818
+ 3,
819
+ n0,
820
+ _LMI,
821
+ 0,
822
+ [_NI, _N, _S, _IO, _MR, _NTe],
823
+ [
824
+ [0, 1],
825
+ [
826
+ 0,
827
+ {
828
+ [_hQ]: _n,
829
+ },
830
+ ],
831
+ [
832
+ 0,
833
+ {
834
+ [_hQ]: _st,
835
+ },
836
+ ],
837
+ [
838
+ 2,
839
+ {
840
+ [_hQ]: _iO,
841
+ },
842
+ ],
843
+ [
844
+ 1,
845
+ {
846
+ [_hQ]: _mR,
847
+ },
848
+ ],
849
+ [
850
+ 0,
851
+ {
852
+ [_hQ]: _nT,
853
+ },
854
+ ],
855
+ ],
856
+ ];
857
+ var ListMembersOutput = [3, n0, _LMO, 0, [_Mem, _NTe], [() => MemberSummaryList, 0]];
858
+ var ListNetworksInput = [
859
+ 3,
860
+ n0,
861
+ _LNI,
862
+ 0,
863
+ [_N, _F, _S, _MR, _NTe],
864
+ [
865
+ [
866
+ 0,
867
+ {
868
+ [_hQ]: _n,
869
+ },
870
+ ],
871
+ [
872
+ 0,
873
+ {
874
+ [_hQ]: _f,
875
+ },
876
+ ],
877
+ [
878
+ 0,
879
+ {
880
+ [_hQ]: _st,
881
+ },
882
+ ],
883
+ [
884
+ 1,
885
+ {
886
+ [_hQ]: _mR,
887
+ },
888
+ ],
889
+ [
890
+ 0,
891
+ {
892
+ [_hQ]: _nT,
893
+ },
894
+ ],
895
+ ],
896
+ ];
897
+ var ListNetworksOutput = [3, n0, _LNO, 0, [_Net, _NTe], [() => NetworkSummaryList, 0]];
898
+ var ListNodesInput = [
899
+ 3,
900
+ n0,
901
+ _LNIi,
902
+ 0,
903
+ [_NI, _MI, _S, _MR, _NTe],
904
+ [
905
+ [0, 1],
906
+ [
907
+ 0,
908
+ {
909
+ [_hQ]: _mI,
910
+ },
911
+ ],
912
+ [
913
+ 0,
914
+ {
915
+ [_hQ]: _st,
916
+ },
917
+ ],
918
+ [
919
+ 1,
920
+ {
921
+ [_hQ]: _mR,
922
+ },
923
+ ],
924
+ [
925
+ 0,
926
+ {
927
+ [_hQ]: _nT,
928
+ },
929
+ ],
930
+ ],
931
+ ];
932
+ var ListNodesOutput = [3, n0, _LNOi, 0, [_Nod, _NTe], [() => NodeSummaryList, 0]];
933
+ var ListProposalsInput = [
934
+ 3,
935
+ n0,
936
+ _LPI,
937
+ 0,
938
+ [_NI, _MR, _NTe],
939
+ [
940
+ [0, 1],
941
+ [
942
+ 1,
943
+ {
944
+ [_hQ]: _mR,
945
+ },
946
+ ],
947
+ [
948
+ 0,
949
+ {
950
+ [_hQ]: _nT,
951
+ },
952
+ ],
953
+ ],
954
+ ];
955
+ var ListProposalsOutput = [3, n0, _LPO, 0, [_Pro, _NTe], [() => ProposalSummaryList, 0]];
956
+ var ListProposalVotesInput = [
957
+ 3,
958
+ n0,
959
+ _LPVI,
960
+ 0,
961
+ [_NI, _PI, _MR, _NTe],
962
+ [
963
+ [0, 1],
964
+ [0, 1],
965
+ [
966
+ 1,
967
+ {
968
+ [_hQ]: _mR,
969
+ },
970
+ ],
971
+ [
972
+ 0,
973
+ {
974
+ [_hQ]: _nT,
975
+ },
976
+ ],
977
+ ],
978
+ ];
979
+ var ListProposalVotesOutput = [3, n0, _LPVO, 0, [_PV, _NTe], [() => ProposalVoteList, 0]];
980
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [[0, 1]]];
981
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_Ta], [128 | 0]];
982
+ var LogConfiguration = [3, n0, _LC, 0, [_E], [2]];
983
+ var LogConfigurations = [3, n0, _LCo, 0, [_C], [() => LogConfiguration]];
984
+ var Member = [
985
+ 3,
986
+ n0,
987
+ _Me,
988
+ 0,
989
+ [_NI, _I, _N, _D, _FA, _LPC, _S, _CD, _Ta, _Ar, _KKA],
990
+ [0, 0, 0, 0, () => MemberFrameworkAttributes, () => MemberLogPublishingConfiguration, 0, 5, 128 | 0, 0, 0],
991
+ ];
992
+ var MemberConfiguration = [
993
+ 3,
994
+ n0,
995
+ _MC,
996
+ 0,
997
+ [_N, _D, _FC, _LPC, _Ta, _KKA],
998
+ [0, 0, [() => MemberFrameworkConfiguration, 0], () => MemberLogPublishingConfiguration, 128 | 0, 0],
999
+ ];
1000
+ var MemberFabricAttributes = [3, n0, _MFA, 0, [_AU, _CE], [0, 0]];
1001
+ var MemberFabricConfiguration = [
1002
+ 3,
1003
+ n0,
1004
+ _MFC,
1005
+ 0,
1006
+ [_AU, _AP],
1007
+ [0, [() => PasswordString, 0]],
1008
+ ];
1009
+ var MemberFabricLogPublishingConfiguration = [
1010
+ 3,
1011
+ n0,
1012
+ _MFLPC,
1013
+ 0,
1014
+ [_CL],
1015
+ [() => LogConfigurations],
1016
+ ];
1017
+ var MemberFrameworkAttributes = [3, n0, _MFAe, 0, [_Fa], [() => MemberFabricAttributes]];
1018
+ var MemberFrameworkConfiguration = [
1019
+ 3,
1020
+ n0,
1021
+ _MFCe,
1022
+ 0,
1023
+ [_Fa],
1024
+ [[() => MemberFabricConfiguration, 0]],
1025
+ ];
1026
+ var MemberLogPublishingConfiguration = [
1027
+ 3,
1028
+ n0,
1029
+ _MLPC,
1030
+ 0,
1031
+ [_Fa],
1032
+ [() => MemberFabricLogPublishingConfiguration],
1033
+ ];
1034
+ var MemberSummary = [
1035
+ 3,
1036
+ n0,
1037
+ _MS,
1038
+ 0,
1039
+ [_I, _N, _D, _S, _CD, _IO, _Ar],
1040
+ [0, 0, 0, 0, 5, 2, 0],
1041
+ ];
1042
+ var Network = [
1043
+ 3,
1044
+ n0,
1045
+ _Ne,
1046
+ 0,
1047
+ [_I, _N, _D, _F, _FV, _FA, _VESN, _VP, _S, _CD, _Ta, _Ar],
1048
+ [0, 0, 0, 0, 0, () => NetworkFrameworkAttributes, 0, () => VotingPolicy, 0, 5, 128 | 0, 0],
1049
+ ];
1050
+ var NetworkEthereumAttributes = [3, n0, _NEA, 0, [_CI], [0]];
1051
+ var NetworkFabricAttributes = [3, n0, _NFA, 0, [_OSE, _Ed], [0, 0]];
1052
+ var NetworkFabricConfiguration = [3, n0, _NFC, 0, [_Ed], [0]];
1053
+ var NetworkFrameworkAttributes = [
1054
+ 3,
1055
+ n0,
1056
+ _NFAe,
1057
+ 0,
1058
+ [_Fa, _Et],
1059
+ [() => NetworkFabricAttributes, () => NetworkEthereumAttributes],
1060
+ ];
1061
+ var NetworkFrameworkConfiguration = [
1062
+ 3,
1063
+ n0,
1064
+ _NFCe,
1065
+ 0,
1066
+ [_Fa],
1067
+ [() => NetworkFabricConfiguration],
1068
+ ];
1069
+ var NetworkSummary = [
1070
+ 3,
1071
+ n0,
1072
+ _NS,
1073
+ 0,
1074
+ [_I, _N, _D, _F, _FV, _S, _CD, _Ar],
1075
+ [0, 0, 0, 0, 0, 0, 5, 0],
1076
+ ];
1077
+ var Node = [
1078
+ 3,
1079
+ n0,
1080
+ _No,
1081
+ 0,
1082
+ [_NI, _MI, _I, _IT, _AZ, _FA, _LPC, _SDB, _S, _CD, _Ta, _Ar, _KKA],
1083
+ [0, 0, 0, 0, 0, () => NodeFrameworkAttributes, () => NodeLogPublishingConfiguration, 0, 0, 5, 128 | 0, 0, 0],
1084
+ ];
1085
+ var NodeConfiguration = [
1086
+ 3,
1087
+ n0,
1088
+ _NC,
1089
+ 0,
1090
+ [_IT, _AZ, _LPC, _SDB],
1091
+ [0, 0, () => NodeLogPublishingConfiguration, 0],
1092
+ ];
1093
+ var NodeEthereumAttributes = [3, n0, _NEAo, 0, [_HE, _WSE], [0, 0]];
1094
+ var NodeFabricAttributes = [3, n0, _NFAo, 0, [_PE, _PEE], [0, 0]];
1095
+ var NodeFabricLogPublishingConfiguration = [
1096
+ 3,
1097
+ n0,
1098
+ _NFLPC,
1099
+ 0,
1100
+ [_CLh, _PL],
1101
+ [() => LogConfigurations, () => LogConfigurations],
1102
+ ];
1103
+ var NodeFrameworkAttributes = [
1104
+ 3,
1105
+ n0,
1106
+ _NFAod,
1107
+ 0,
1108
+ [_Fa, _Et],
1109
+ [() => NodeFabricAttributes, () => NodeEthereumAttributes],
1110
+ ];
1111
+ var NodeLogPublishingConfiguration = [
1112
+ 3,
1113
+ n0,
1114
+ _NLPC,
1115
+ 0,
1116
+ [_Fa],
1117
+ [() => NodeFabricLogPublishingConfiguration],
1118
+ ];
1119
+ var NodeSummary = [3, n0, _NSo, 0, [_I, _S, _CD, _AZ, _IT, _Ar], [0, 0, 5, 0, 0, 0]];
1120
+ var Proposal = [
1121
+ 3,
1122
+ n0,
1123
+ _P,
1124
+ 0,
1125
+ [_PI, _NI, _D, _Ac, _PBMI, _PBMN, _S, _CD, _ED, _YVC, _NVC, _OVC, _Ta, _Ar],
1126
+ [0, 0, 0, () => ProposalActions, 0, 0, 0, 5, 5, 1, 1, 1, 128 | 0, 0],
1127
+ ];
1128
+ var ProposalActions = [
1129
+ 3,
1130
+ n0,
1131
+ _PA,
1132
+ 0,
1133
+ [_Inv, _R],
1134
+ [() => InviteActionList, () => RemoveActionList],
1135
+ ];
1136
+ var ProposalSummary = [
1137
+ 3,
1138
+ n0,
1139
+ _PSr,
1140
+ 0,
1141
+ [_PI, _D, _PBMI, _PBMN, _S, _CD, _ED, _Ar],
1142
+ [0, 0, 0, 0, 0, 5, 5, 0],
1143
+ ];
1144
+ var RejectInvitationInput = [3, n0, _RII, 0, [_II], [[0, 1]]];
1145
+ var RejectInvitationOutput = [3, n0, _RIO, 0, [], []];
1146
+ var RemoveAction = [3, n0, _RAe, 0, [_MI], [0]];
1147
+ var ResourceAlreadyExistsException = [
1148
+ -3,
1149
+ n0,
1150
+ _RAEE,
1151
+ {
1152
+ [_e]: _c,
1153
+ [_hE]: 409,
1154
+ },
1155
+ [_M],
1156
+ [0],
1157
+ ];
1158
+ schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException, ResourceAlreadyExistsException$1);
1159
+ var ResourceLimitExceededException = [
1160
+ -3,
1161
+ n0,
1162
+ _RLEE,
1163
+ {
1164
+ [_e]: _c,
1165
+ [_hE]: 429,
1166
+ },
1167
+ [_M],
1168
+ [0],
1169
+ ];
1170
+ schema.TypeRegistry.for(n0).registerError(ResourceLimitExceededException, ResourceLimitExceededException$1);
1171
+ var ResourceNotFoundException = [
1172
+ -3,
1173
+ n0,
1174
+ _RNFE,
1175
+ {
1176
+ [_e]: _c,
1177
+ [_hE]: 404,
1178
+ },
1179
+ [_M, _RN],
1180
+ [0, 0],
1181
+ ];
1182
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1183
+ var ResourceNotReadyException = [
1184
+ -3,
1185
+ n0,
1186
+ _RNRE,
1187
+ {
1188
+ [_e]: _c,
1189
+ [_hE]: 409,
1190
+ },
1191
+ [_M],
1192
+ [0],
1193
+ ];
1194
+ schema.TypeRegistry.for(n0).registerError(ResourceNotReadyException, ResourceNotReadyException$1);
1195
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RA, _Ta], [[0, 1], 128 | 0]];
1196
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1197
+ var ThrottlingException = [
1198
+ -3,
1199
+ n0,
1200
+ _TE,
1201
+ {
1202
+ [_e]: _c,
1203
+ [_hE]: 429,
1204
+ },
1205
+ [],
1206
+ [],
1207
+ ];
1208
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1209
+ var TooManyTagsException = [
1210
+ -3,
1211
+ n0,
1212
+ _TMTE,
1213
+ {
1214
+ [_e]: _c,
1215
+ [_hE]: 400,
1216
+ },
1217
+ [_M, _RN],
1218
+ [0, 0],
1219
+ ];
1220
+ schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
1221
+ var UntagResourceRequest = [
1222
+ 3,
1223
+ n0,
1224
+ _URR,
1225
+ 0,
1226
+ [_RA, _TK],
1227
+ [
1228
+ [0, 1],
1229
+ [
1230
+ 64 | 0,
1231
+ {
1232
+ [_hQ]: _tK,
1233
+ },
1234
+ ],
1235
+ ],
1236
+ ];
1237
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1238
+ var UpdateMemberInput = [
1239
+ 3,
1240
+ n0,
1241
+ _UMI,
1242
+ 0,
1243
+ [_NI, _MI, _LPC],
1244
+ [[0, 1], [0, 1], () => MemberLogPublishingConfiguration],
1245
+ ];
1246
+ var UpdateMemberOutput = [3, n0, _UMO, 0, [], []];
1247
+ var UpdateNodeInput = [
1248
+ 3,
1249
+ n0,
1250
+ _UNI,
1251
+ 0,
1252
+ [_NI, _MI, _NIo, _LPC],
1253
+ [[0, 1], 0, [0, 1], () => NodeLogPublishingConfiguration],
1254
+ ];
1255
+ var UpdateNodeOutput = [3, n0, _UNO, 0, [], []];
1256
+ var VoteOnProposalInput = [3, n0, _VOPI, 0, [_NI, _PI, _VMI, _V], [[0, 1], [0, 1], 0, 0]];
1257
+ var VoteOnProposalOutput = [3, n0, _VOPO, 0, [], []];
1258
+ var VoteSummary = [3, n0, _VS, 0, [_V, _MN, _MI], [0, 0, 0]];
1259
+ var VotingPolicy = [3, n0, _VP, 0, [_ATP], [() => ApprovalThresholdPolicy]];
1260
+ var ManagedBlockchainServiceException = [
1261
+ -3,
1262
+ _sm,
1263
+ "ManagedBlockchainServiceException",
1264
+ 0,
1265
+ [],
1266
+ [],
1267
+ ];
1268
+ schema.TypeRegistry.for(_sm).registerError(ManagedBlockchainServiceException, ManagedBlockchainServiceException$1);
1269
+ var AccessorSummaryList = [1, n0, _ASL, 0, () => AccessorSummary];
1270
+ var InvitationList = [1, n0, _IL, 0, () => Invitation];
1271
+ var InviteActionList = [1, n0, _IAL, 0, () => InviteAction];
1272
+ var MemberSummaryList = [1, n0, _MSL, 0, () => MemberSummary];
1273
+ var NetworkSummaryList = [1, n0, _NSL, 0, () => NetworkSummary];
1274
+ var NodeSummaryList = [1, n0, _NSLo, 0, () => NodeSummary];
1275
+ var ProposalSummaryList = [1, n0, _PSL, 0, () => ProposalSummary];
1276
+ var ProposalVoteList = [1, n0, _PVL, 0, () => VoteSummary];
1277
+ var RemoveActionList = [1, n0, _RAL, 0, () => RemoveAction];
1278
+ var CreateAccessor = [
1279
+ 9,
1280
+ n0,
1281
+ _CA,
1282
+ {
1283
+ [_h]: ["POST", "/accessors", 200],
1284
+ },
1285
+ () => CreateAccessorInput,
1286
+ () => CreateAccessorOutput,
1287
+ ];
1288
+ var CreateMember = [
1289
+ 9,
1290
+ n0,
1291
+ _CM,
1292
+ {
1293
+ [_h]: ["POST", "/networks/{NetworkId}/members", 200],
1294
+ },
1295
+ () => CreateMemberInput,
1296
+ () => CreateMemberOutput,
1297
+ ];
1298
+ var CreateNetwork = [
1299
+ 9,
1300
+ n0,
1301
+ _CN,
1302
+ {
1303
+ [_h]: ["POST", "/networks", 200],
1304
+ },
1305
+ () => CreateNetworkInput,
1306
+ () => CreateNetworkOutput,
1307
+ ];
1308
+ var CreateNode = [
1309
+ 9,
1310
+ n0,
1311
+ _CNr,
1312
+ {
1313
+ [_h]: ["POST", "/networks/{NetworkId}/nodes", 200],
1314
+ },
1315
+ () => CreateNodeInput,
1316
+ () => CreateNodeOutput,
1317
+ ];
1318
+ var CreateProposal = [
1319
+ 9,
1320
+ n0,
1321
+ _CP,
1322
+ {
1323
+ [_h]: ["POST", "/networks/{NetworkId}/proposals", 200],
1324
+ },
1325
+ () => CreateProposalInput,
1326
+ () => CreateProposalOutput,
1327
+ ];
1328
+ var DeleteAccessor = [
1329
+ 9,
1330
+ n0,
1331
+ _DA,
1332
+ {
1333
+ [_h]: ["DELETE", "/accessors/{AccessorId}", 200],
1334
+ },
1335
+ () => DeleteAccessorInput,
1336
+ () => DeleteAccessorOutput,
1337
+ ];
1338
+ var DeleteMember = [
1339
+ 9,
1340
+ n0,
1341
+ _DM,
1342
+ {
1343
+ [_h]: ["DELETE", "/networks/{NetworkId}/members/{MemberId}", 200],
1344
+ },
1345
+ () => DeleteMemberInput,
1346
+ () => DeleteMemberOutput,
1347
+ ];
1348
+ var DeleteNode = [
1349
+ 9,
1350
+ n0,
1351
+ _DN,
1352
+ {
1353
+ [_h]: ["DELETE", "/networks/{NetworkId}/nodes/{NodeId}", 200],
1354
+ },
1355
+ () => DeleteNodeInput,
1356
+ () => DeleteNodeOutput,
1357
+ ];
1358
+ var GetAccessor = [
1359
+ 9,
1360
+ n0,
1361
+ _GA,
1362
+ {
1363
+ [_h]: ["GET", "/accessors/{AccessorId}", 200],
1364
+ },
1365
+ () => GetAccessorInput,
1366
+ () => GetAccessorOutput,
1367
+ ];
1368
+ var GetMember = [
1369
+ 9,
1370
+ n0,
1371
+ _GM,
1372
+ {
1373
+ [_h]: ["GET", "/networks/{NetworkId}/members/{MemberId}", 200],
1374
+ },
1375
+ () => GetMemberInput,
1376
+ () => GetMemberOutput,
1377
+ ];
1378
+ var GetNetwork = [
1379
+ 9,
1380
+ n0,
1381
+ _GN,
1382
+ {
1383
+ [_h]: ["GET", "/networks/{NetworkId}", 200],
1384
+ },
1385
+ () => GetNetworkInput,
1386
+ () => GetNetworkOutput,
1387
+ ];
1388
+ var GetNode = [
1389
+ 9,
1390
+ n0,
1391
+ _GNe,
1392
+ {
1393
+ [_h]: ["GET", "/networks/{NetworkId}/nodes/{NodeId}", 200],
1394
+ },
1395
+ () => GetNodeInput,
1396
+ () => GetNodeOutput,
1397
+ ];
1398
+ var GetProposal = [
1399
+ 9,
1400
+ n0,
1401
+ _GP,
1402
+ {
1403
+ [_h]: ["GET", "/networks/{NetworkId}/proposals/{ProposalId}", 200],
1404
+ },
1405
+ () => GetProposalInput,
1406
+ () => GetProposalOutput,
1407
+ ];
1408
+ var ListAccessors = [
1409
+ 9,
1410
+ n0,
1411
+ _LA,
1412
+ {
1413
+ [_h]: ["GET", "/accessors", 200],
1414
+ },
1415
+ () => ListAccessorsInput,
1416
+ () => ListAccessorsOutput,
1417
+ ];
1418
+ var ListInvitations = [
1419
+ 9,
1420
+ n0,
1421
+ _LI,
1422
+ {
1423
+ [_h]: ["GET", "/invitations", 200],
1424
+ },
1425
+ () => ListInvitationsInput,
1426
+ () => ListInvitationsOutput,
1427
+ ];
1428
+ var ListMembers = [
1429
+ 9,
1430
+ n0,
1431
+ _LM,
1432
+ {
1433
+ [_h]: ["GET", "/networks/{NetworkId}/members", 200],
1434
+ },
1435
+ () => ListMembersInput,
1436
+ () => ListMembersOutput,
1437
+ ];
1438
+ var ListNetworks = [
1439
+ 9,
1440
+ n0,
1441
+ _LN,
1442
+ {
1443
+ [_h]: ["GET", "/networks", 200],
1444
+ },
1445
+ () => ListNetworksInput,
1446
+ () => ListNetworksOutput,
1447
+ ];
1448
+ var ListNodes = [
1449
+ 9,
1450
+ n0,
1451
+ _LNi,
1452
+ {
1453
+ [_h]: ["GET", "/networks/{NetworkId}/nodes", 200],
1454
+ },
1455
+ () => ListNodesInput,
1456
+ () => ListNodesOutput,
1457
+ ];
1458
+ var ListProposals = [
1459
+ 9,
1460
+ n0,
1461
+ _LP,
1462
+ {
1463
+ [_h]: ["GET", "/networks/{NetworkId}/proposals", 200],
1464
+ },
1465
+ () => ListProposalsInput,
1466
+ () => ListProposalsOutput,
1467
+ ];
1468
+ var ListProposalVotes = [
1469
+ 9,
1470
+ n0,
1471
+ _LPV,
1472
+ {
1473
+ [_h]: ["GET", "/networks/{NetworkId}/proposals/{ProposalId}/votes", 200],
1474
+ },
1475
+ () => ListProposalVotesInput,
1476
+ () => ListProposalVotesOutput,
1477
+ ];
1478
+ var ListTagsForResource = [
1479
+ 9,
1480
+ n0,
1481
+ _LTFR,
1482
+ {
1483
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
1484
+ },
1485
+ () => ListTagsForResourceRequest,
1486
+ () => ListTagsForResourceResponse,
1487
+ ];
1488
+ var RejectInvitation = [
1489
+ 9,
1490
+ n0,
1491
+ _RI,
1492
+ {
1493
+ [_h]: ["DELETE", "/invitations/{InvitationId}", 200],
1494
+ },
1495
+ () => RejectInvitationInput,
1496
+ () => RejectInvitationOutput,
1497
+ ];
1498
+ var TagResource = [
1499
+ 9,
1500
+ n0,
1501
+ _TR,
1502
+ {
1503
+ [_h]: ["POST", "/tags/{ResourceArn}", 200],
1504
+ },
1505
+ () => TagResourceRequest,
1506
+ () => TagResourceResponse,
1507
+ ];
1508
+ var UntagResource = [
1509
+ 9,
1510
+ n0,
1511
+ _UR,
1512
+ {
1513
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 200],
1514
+ },
1515
+ () => UntagResourceRequest,
1516
+ () => UntagResourceResponse,
1517
+ ];
1518
+ var UpdateMember = [
1519
+ 9,
1520
+ n0,
1521
+ _UM,
1522
+ {
1523
+ [_h]: ["PATCH", "/networks/{NetworkId}/members/{MemberId}", 200],
1524
+ },
1525
+ () => UpdateMemberInput,
1526
+ () => UpdateMemberOutput,
1527
+ ];
1528
+ var UpdateNode = [
1529
+ 9,
1530
+ n0,
1531
+ _UN,
1532
+ {
1533
+ [_h]: ["PATCH", "/networks/{NetworkId}/nodes/{NodeId}", 200],
1534
+ },
1535
+ () => UpdateNodeInput,
1536
+ () => UpdateNodeOutput,
1537
+ ];
1538
+ var VoteOnProposal = [
1539
+ 9,
1540
+ n0,
1541
+ _VOP,
1542
+ {
1543
+ [_h]: ["POST", "/networks/{NetworkId}/proposals/{ProposalId}/votes", 200],
1544
+ },
1545
+ () => VoteOnProposalInput,
1546
+ () => VoteOnProposalOutput,
1547
+ ];
1466
1548
 
1467
1549
  class CreateAccessorCommand extends smithyClient.Command
1468
1550
  .classBuilder()
1469
1551
  .ep(commonParams)
1470
1552
  .m(function (Command, cs, config, o) {
1471
- return [
1472
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1473
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1474
- ];
1553
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1475
1554
  })
1476
1555
  .s("TaigaWebService", "CreateAccessor", {})
1477
1556
  .n("ManagedBlockchainClient", "CreateAccessorCommand")
1478
- .f(void 0, void 0)
1479
- .ser(se_CreateAccessorCommand)
1480
- .de(de_CreateAccessorCommand)
1557
+ .sc(CreateAccessor)
1481
1558
  .build() {
1482
1559
  }
1483
1560
 
@@ -1485,16 +1562,11 @@ class CreateMemberCommand extends smithyClient.Command
1485
1562
  .classBuilder()
1486
1563
  .ep(commonParams)
1487
1564
  .m(function (Command, cs, config, o) {
1488
- return [
1489
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1490
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1491
- ];
1565
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1492
1566
  })
1493
1567
  .s("TaigaWebService", "CreateMember", {})
1494
1568
  .n("ManagedBlockchainClient", "CreateMemberCommand")
1495
- .f(CreateMemberInputFilterSensitiveLog, void 0)
1496
- .ser(se_CreateMemberCommand)
1497
- .de(de_CreateMemberCommand)
1569
+ .sc(CreateMember)
1498
1570
  .build() {
1499
1571
  }
1500
1572
 
@@ -1502,16 +1574,11 @@ class CreateNetworkCommand extends smithyClient.Command
1502
1574
  .classBuilder()
1503
1575
  .ep(commonParams)
1504
1576
  .m(function (Command, cs, config, o) {
1505
- return [
1506
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1507
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1508
- ];
1577
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1509
1578
  })
1510
1579
  .s("TaigaWebService", "CreateNetwork", {})
1511
1580
  .n("ManagedBlockchainClient", "CreateNetworkCommand")
1512
- .f(CreateNetworkInputFilterSensitiveLog, void 0)
1513
- .ser(se_CreateNetworkCommand)
1514
- .de(de_CreateNetworkCommand)
1581
+ .sc(CreateNetwork)
1515
1582
  .build() {
1516
1583
  }
1517
1584
 
@@ -1519,16 +1586,11 @@ class CreateNodeCommand extends smithyClient.Command
1519
1586
  .classBuilder()
1520
1587
  .ep(commonParams)
1521
1588
  .m(function (Command, cs, config, o) {
1522
- return [
1523
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1524
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1525
- ];
1589
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1526
1590
  })
1527
1591
  .s("TaigaWebService", "CreateNode", {})
1528
1592
  .n("ManagedBlockchainClient", "CreateNodeCommand")
1529
- .f(void 0, void 0)
1530
- .ser(se_CreateNodeCommand)
1531
- .de(de_CreateNodeCommand)
1593
+ .sc(CreateNode)
1532
1594
  .build() {
1533
1595
  }
1534
1596
 
@@ -1536,16 +1598,11 @@ class CreateProposalCommand extends smithyClient.Command
1536
1598
  .classBuilder()
1537
1599
  .ep(commonParams)
1538
1600
  .m(function (Command, cs, config, o) {
1539
- return [
1540
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1541
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1542
- ];
1601
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1543
1602
  })
1544
1603
  .s("TaigaWebService", "CreateProposal", {})
1545
1604
  .n("ManagedBlockchainClient", "CreateProposalCommand")
1546
- .f(void 0, void 0)
1547
- .ser(se_CreateProposalCommand)
1548
- .de(de_CreateProposalCommand)
1605
+ .sc(CreateProposal)
1549
1606
  .build() {
1550
1607
  }
1551
1608
 
@@ -1553,16 +1610,11 @@ class DeleteAccessorCommand extends smithyClient.Command
1553
1610
  .classBuilder()
1554
1611
  .ep(commonParams)
1555
1612
  .m(function (Command, cs, config, o) {
1556
- return [
1557
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1558
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1559
- ];
1613
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1560
1614
  })
1561
1615
  .s("TaigaWebService", "DeleteAccessor", {})
1562
1616
  .n("ManagedBlockchainClient", "DeleteAccessorCommand")
1563
- .f(void 0, void 0)
1564
- .ser(se_DeleteAccessorCommand)
1565
- .de(de_DeleteAccessorCommand)
1617
+ .sc(DeleteAccessor)
1566
1618
  .build() {
1567
1619
  }
1568
1620
 
@@ -1570,16 +1622,11 @@ class DeleteMemberCommand extends smithyClient.Command
1570
1622
  .classBuilder()
1571
1623
  .ep(commonParams)
1572
1624
  .m(function (Command, cs, config, o) {
1573
- return [
1574
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1575
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1576
- ];
1625
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1577
1626
  })
1578
1627
  .s("TaigaWebService", "DeleteMember", {})
1579
1628
  .n("ManagedBlockchainClient", "DeleteMemberCommand")
1580
- .f(void 0, void 0)
1581
- .ser(se_DeleteMemberCommand)
1582
- .de(de_DeleteMemberCommand)
1629
+ .sc(DeleteMember)
1583
1630
  .build() {
1584
1631
  }
1585
1632
 
@@ -1587,16 +1634,11 @@ class DeleteNodeCommand extends smithyClient.Command
1587
1634
  .classBuilder()
1588
1635
  .ep(commonParams)
1589
1636
  .m(function (Command, cs, config, o) {
1590
- return [
1591
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1592
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1593
- ];
1637
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1594
1638
  })
1595
1639
  .s("TaigaWebService", "DeleteNode", {})
1596
1640
  .n("ManagedBlockchainClient", "DeleteNodeCommand")
1597
- .f(void 0, void 0)
1598
- .ser(se_DeleteNodeCommand)
1599
- .de(de_DeleteNodeCommand)
1641
+ .sc(DeleteNode)
1600
1642
  .build() {
1601
1643
  }
1602
1644
 
@@ -1604,16 +1646,11 @@ class GetAccessorCommand extends smithyClient.Command
1604
1646
  .classBuilder()
1605
1647
  .ep(commonParams)
1606
1648
  .m(function (Command, cs, config, o) {
1607
- return [
1608
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1609
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1610
- ];
1649
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1611
1650
  })
1612
1651
  .s("TaigaWebService", "GetAccessor", {})
1613
1652
  .n("ManagedBlockchainClient", "GetAccessorCommand")
1614
- .f(void 0, void 0)
1615
- .ser(se_GetAccessorCommand)
1616
- .de(de_GetAccessorCommand)
1653
+ .sc(GetAccessor)
1617
1654
  .build() {
1618
1655
  }
1619
1656
 
@@ -1621,16 +1658,11 @@ class GetMemberCommand extends smithyClient.Command
1621
1658
  .classBuilder()
1622
1659
  .ep(commonParams)
1623
1660
  .m(function (Command, cs, config, o) {
1624
- return [
1625
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1626
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1627
- ];
1661
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1628
1662
  })
1629
1663
  .s("TaigaWebService", "GetMember", {})
1630
1664
  .n("ManagedBlockchainClient", "GetMemberCommand")
1631
- .f(void 0, void 0)
1632
- .ser(se_GetMemberCommand)
1633
- .de(de_GetMemberCommand)
1665
+ .sc(GetMember)
1634
1666
  .build() {
1635
1667
  }
1636
1668
 
@@ -1638,16 +1670,11 @@ class GetNetworkCommand extends smithyClient.Command
1638
1670
  .classBuilder()
1639
1671
  .ep(commonParams)
1640
1672
  .m(function (Command, cs, config, o) {
1641
- return [
1642
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1643
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1644
- ];
1673
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1645
1674
  })
1646
1675
  .s("TaigaWebService", "GetNetwork", {})
1647
1676
  .n("ManagedBlockchainClient", "GetNetworkCommand")
1648
- .f(void 0, void 0)
1649
- .ser(se_GetNetworkCommand)
1650
- .de(de_GetNetworkCommand)
1677
+ .sc(GetNetwork)
1651
1678
  .build() {
1652
1679
  }
1653
1680
 
@@ -1655,16 +1682,11 @@ class GetNodeCommand extends smithyClient.Command
1655
1682
  .classBuilder()
1656
1683
  .ep(commonParams)
1657
1684
  .m(function (Command, cs, config, o) {
1658
- return [
1659
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1660
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1661
- ];
1685
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1662
1686
  })
1663
1687
  .s("TaigaWebService", "GetNode", {})
1664
1688
  .n("ManagedBlockchainClient", "GetNodeCommand")
1665
- .f(void 0, void 0)
1666
- .ser(se_GetNodeCommand)
1667
- .de(de_GetNodeCommand)
1689
+ .sc(GetNode)
1668
1690
  .build() {
1669
1691
  }
1670
1692
 
@@ -1672,16 +1694,11 @@ class GetProposalCommand extends smithyClient.Command
1672
1694
  .classBuilder()
1673
1695
  .ep(commonParams)
1674
1696
  .m(function (Command, cs, config, o) {
1675
- return [
1676
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1677
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1678
- ];
1697
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1679
1698
  })
1680
1699
  .s("TaigaWebService", "GetProposal", {})
1681
1700
  .n("ManagedBlockchainClient", "GetProposalCommand")
1682
- .f(void 0, void 0)
1683
- .ser(se_GetProposalCommand)
1684
- .de(de_GetProposalCommand)
1701
+ .sc(GetProposal)
1685
1702
  .build() {
1686
1703
  }
1687
1704
 
@@ -1689,16 +1706,11 @@ class ListAccessorsCommand extends smithyClient.Command
1689
1706
  .classBuilder()
1690
1707
  .ep(commonParams)
1691
1708
  .m(function (Command, cs, config, o) {
1692
- return [
1693
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1694
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1695
- ];
1709
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1696
1710
  })
1697
1711
  .s("TaigaWebService", "ListAccessors", {})
1698
1712
  .n("ManagedBlockchainClient", "ListAccessorsCommand")
1699
- .f(void 0, void 0)
1700
- .ser(se_ListAccessorsCommand)
1701
- .de(de_ListAccessorsCommand)
1713
+ .sc(ListAccessors)
1702
1714
  .build() {
1703
1715
  }
1704
1716
 
@@ -1706,16 +1718,11 @@ class ListInvitationsCommand extends smithyClient.Command
1706
1718
  .classBuilder()
1707
1719
  .ep(commonParams)
1708
1720
  .m(function (Command, cs, config, o) {
1709
- return [
1710
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1711
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1712
- ];
1721
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1713
1722
  })
1714
1723
  .s("TaigaWebService", "ListInvitations", {})
1715
1724
  .n("ManagedBlockchainClient", "ListInvitationsCommand")
1716
- .f(void 0, void 0)
1717
- .ser(se_ListInvitationsCommand)
1718
- .de(de_ListInvitationsCommand)
1725
+ .sc(ListInvitations)
1719
1726
  .build() {
1720
1727
  }
1721
1728
 
@@ -1723,16 +1730,11 @@ class ListMembersCommand extends smithyClient.Command
1723
1730
  .classBuilder()
1724
1731
  .ep(commonParams)
1725
1732
  .m(function (Command, cs, config, o) {
1726
- return [
1727
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1728
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1729
- ];
1733
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1730
1734
  })
1731
1735
  .s("TaigaWebService", "ListMembers", {})
1732
1736
  .n("ManagedBlockchainClient", "ListMembersCommand")
1733
- .f(void 0, void 0)
1734
- .ser(se_ListMembersCommand)
1735
- .de(de_ListMembersCommand)
1737
+ .sc(ListMembers)
1736
1738
  .build() {
1737
1739
  }
1738
1740
 
@@ -1740,16 +1742,11 @@ class ListNetworksCommand extends smithyClient.Command
1740
1742
  .classBuilder()
1741
1743
  .ep(commonParams)
1742
1744
  .m(function (Command, cs, config, o) {
1743
- return [
1744
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1745
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1746
- ];
1745
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1747
1746
  })
1748
1747
  .s("TaigaWebService", "ListNetworks", {})
1749
1748
  .n("ManagedBlockchainClient", "ListNetworksCommand")
1750
- .f(void 0, void 0)
1751
- .ser(se_ListNetworksCommand)
1752
- .de(de_ListNetworksCommand)
1749
+ .sc(ListNetworks)
1753
1750
  .build() {
1754
1751
  }
1755
1752
 
@@ -1757,16 +1754,11 @@ class ListNodesCommand extends smithyClient.Command
1757
1754
  .classBuilder()
1758
1755
  .ep(commonParams)
1759
1756
  .m(function (Command, cs, config, o) {
1760
- return [
1761
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1762
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1763
- ];
1757
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1764
1758
  })
1765
1759
  .s("TaigaWebService", "ListNodes", {})
1766
1760
  .n("ManagedBlockchainClient", "ListNodesCommand")
1767
- .f(void 0, void 0)
1768
- .ser(se_ListNodesCommand)
1769
- .de(de_ListNodesCommand)
1761
+ .sc(ListNodes)
1770
1762
  .build() {
1771
1763
  }
1772
1764
 
@@ -1774,16 +1766,11 @@ class ListProposalsCommand extends smithyClient.Command
1774
1766
  .classBuilder()
1775
1767
  .ep(commonParams)
1776
1768
  .m(function (Command, cs, config, o) {
1777
- return [
1778
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1779
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1780
- ];
1769
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1781
1770
  })
1782
1771
  .s("TaigaWebService", "ListProposals", {})
1783
1772
  .n("ManagedBlockchainClient", "ListProposalsCommand")
1784
- .f(void 0, void 0)
1785
- .ser(se_ListProposalsCommand)
1786
- .de(de_ListProposalsCommand)
1773
+ .sc(ListProposals)
1787
1774
  .build() {
1788
1775
  }
1789
1776
 
@@ -1791,16 +1778,11 @@ class ListProposalVotesCommand extends smithyClient.Command
1791
1778
  .classBuilder()
1792
1779
  .ep(commonParams)
1793
1780
  .m(function (Command, cs, config, o) {
1794
- return [
1795
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1796
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1797
- ];
1781
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1798
1782
  })
1799
1783
  .s("TaigaWebService", "ListProposalVotes", {})
1800
1784
  .n("ManagedBlockchainClient", "ListProposalVotesCommand")
1801
- .f(void 0, void 0)
1802
- .ser(se_ListProposalVotesCommand)
1803
- .de(de_ListProposalVotesCommand)
1785
+ .sc(ListProposalVotes)
1804
1786
  .build() {
1805
1787
  }
1806
1788
 
@@ -1808,16 +1790,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1808
1790
  .classBuilder()
1809
1791
  .ep(commonParams)
1810
1792
  .m(function (Command, cs, config, o) {
1811
- return [
1812
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1813
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1814
- ];
1793
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1815
1794
  })
1816
1795
  .s("TaigaWebService", "ListTagsForResource", {})
1817
1796
  .n("ManagedBlockchainClient", "ListTagsForResourceCommand")
1818
- .f(void 0, void 0)
1819
- .ser(se_ListTagsForResourceCommand)
1820
- .de(de_ListTagsForResourceCommand)
1797
+ .sc(ListTagsForResource)
1821
1798
  .build() {
1822
1799
  }
1823
1800
 
@@ -1825,16 +1802,11 @@ class RejectInvitationCommand extends smithyClient.Command
1825
1802
  .classBuilder()
1826
1803
  .ep(commonParams)
1827
1804
  .m(function (Command, cs, config, o) {
1828
- return [
1829
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1830
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1831
- ];
1805
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1832
1806
  })
1833
1807
  .s("TaigaWebService", "RejectInvitation", {})
1834
1808
  .n("ManagedBlockchainClient", "RejectInvitationCommand")
1835
- .f(void 0, void 0)
1836
- .ser(se_RejectInvitationCommand)
1837
- .de(de_RejectInvitationCommand)
1809
+ .sc(RejectInvitation)
1838
1810
  .build() {
1839
1811
  }
1840
1812
 
@@ -1842,16 +1814,11 @@ class TagResourceCommand extends smithyClient.Command
1842
1814
  .classBuilder()
1843
1815
  .ep(commonParams)
1844
1816
  .m(function (Command, cs, config, o) {
1845
- return [
1846
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1847
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1848
- ];
1817
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1849
1818
  })
1850
1819
  .s("TaigaWebService", "TagResource", {})
1851
1820
  .n("ManagedBlockchainClient", "TagResourceCommand")
1852
- .f(void 0, void 0)
1853
- .ser(se_TagResourceCommand)
1854
- .de(de_TagResourceCommand)
1821
+ .sc(TagResource)
1855
1822
  .build() {
1856
1823
  }
1857
1824
 
@@ -1859,16 +1826,11 @@ class UntagResourceCommand extends smithyClient.Command
1859
1826
  .classBuilder()
1860
1827
  .ep(commonParams)
1861
1828
  .m(function (Command, cs, config, o) {
1862
- return [
1863
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1864
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1865
- ];
1829
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1866
1830
  })
1867
1831
  .s("TaigaWebService", "UntagResource", {})
1868
1832
  .n("ManagedBlockchainClient", "UntagResourceCommand")
1869
- .f(void 0, void 0)
1870
- .ser(se_UntagResourceCommand)
1871
- .de(de_UntagResourceCommand)
1833
+ .sc(UntagResource)
1872
1834
  .build() {
1873
1835
  }
1874
1836
 
@@ -1876,16 +1838,11 @@ class UpdateMemberCommand extends smithyClient.Command
1876
1838
  .classBuilder()
1877
1839
  .ep(commonParams)
1878
1840
  .m(function (Command, cs, config, o) {
1879
- return [
1880
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1881
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1882
- ];
1841
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1883
1842
  })
1884
1843
  .s("TaigaWebService", "UpdateMember", {})
1885
1844
  .n("ManagedBlockchainClient", "UpdateMemberCommand")
1886
- .f(void 0, void 0)
1887
- .ser(se_UpdateMemberCommand)
1888
- .de(de_UpdateMemberCommand)
1845
+ .sc(UpdateMember)
1889
1846
  .build() {
1890
1847
  }
1891
1848
 
@@ -1893,16 +1850,11 @@ class UpdateNodeCommand extends smithyClient.Command
1893
1850
  .classBuilder()
1894
1851
  .ep(commonParams)
1895
1852
  .m(function (Command, cs, config, o) {
1896
- return [
1897
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1898
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1899
- ];
1853
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1900
1854
  })
1901
1855
  .s("TaigaWebService", "UpdateNode", {})
1902
1856
  .n("ManagedBlockchainClient", "UpdateNodeCommand")
1903
- .f(void 0, void 0)
1904
- .ser(se_UpdateNodeCommand)
1905
- .de(de_UpdateNodeCommand)
1857
+ .sc(UpdateNode)
1906
1858
  .build() {
1907
1859
  }
1908
1860
 
@@ -1910,16 +1862,11 @@ class VoteOnProposalCommand extends smithyClient.Command
1910
1862
  .classBuilder()
1911
1863
  .ep(commonParams)
1912
1864
  .m(function (Command, cs, config, o) {
1913
- return [
1914
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1915
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1916
- ];
1865
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1917
1866
  })
1918
1867
  .s("TaigaWebService", "VoteOnProposal", {})
1919
1868
  .n("ManagedBlockchainClient", "VoteOnProposalCommand")
1920
- .f(void 0, void 0)
1921
- .ser(se_VoteOnProposalCommand)
1922
- .de(de_VoteOnProposalCommand)
1869
+ .sc(VoteOnProposal)
1923
1870
  .build() {
1924
1871
  }
1925
1872
 
@@ -1978,15 +1925,13 @@ Object.defineProperty(exports, "__Client", {
1978
1925
  enumerable: true,
1979
1926
  get: function () { return smithyClient.Client; }
1980
1927
  });
1981
- exports.AccessDeniedException = AccessDeniedException;
1928
+ exports.AccessDeniedException = AccessDeniedException$1;
1982
1929
  exports.AccessorNetworkType = AccessorNetworkType;
1983
1930
  exports.AccessorStatus = AccessorStatus;
1984
1931
  exports.AccessorType = AccessorType;
1985
1932
  exports.CreateAccessorCommand = CreateAccessorCommand;
1986
1933
  exports.CreateMemberCommand = CreateMemberCommand;
1987
- exports.CreateMemberInputFilterSensitiveLog = CreateMemberInputFilterSensitiveLog;
1988
1934
  exports.CreateNetworkCommand = CreateNetworkCommand;
1989
- exports.CreateNetworkInputFilterSensitiveLog = CreateNetworkInputFilterSensitiveLog;
1990
1935
  exports.CreateNodeCommand = CreateNodeCommand;
1991
1936
  exports.CreateProposalCommand = CreateProposalCommand;
1992
1937
  exports.DeleteAccessorCommand = DeleteAccessorCommand;
@@ -1999,9 +1944,9 @@ exports.GetMemberCommand = GetMemberCommand;
1999
1944
  exports.GetNetworkCommand = GetNetworkCommand;
2000
1945
  exports.GetNodeCommand = GetNodeCommand;
2001
1946
  exports.GetProposalCommand = GetProposalCommand;
2002
- exports.IllegalActionException = IllegalActionException;
2003
- exports.InternalServiceErrorException = InternalServiceErrorException;
2004
- exports.InvalidRequestException = InvalidRequestException;
1947
+ exports.IllegalActionException = IllegalActionException$1;
1948
+ exports.InternalServiceErrorException = InternalServiceErrorException$1;
1949
+ exports.InvalidRequestException = InvalidRequestException$1;
2005
1950
  exports.InvitationStatus = InvitationStatus;
2006
1951
  exports.ListAccessorsCommand = ListAccessorsCommand;
2007
1952
  exports.ListInvitationsCommand = ListInvitationsCommand;
@@ -2013,24 +1958,21 @@ exports.ListProposalsCommand = ListProposalsCommand;
2013
1958
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2014
1959
  exports.ManagedBlockchain = ManagedBlockchain;
2015
1960
  exports.ManagedBlockchainClient = ManagedBlockchainClient;
2016
- exports.ManagedBlockchainServiceException = ManagedBlockchainServiceException;
2017
- exports.MemberConfigurationFilterSensitiveLog = MemberConfigurationFilterSensitiveLog;
2018
- exports.MemberFabricConfigurationFilterSensitiveLog = MemberFabricConfigurationFilterSensitiveLog;
2019
- exports.MemberFrameworkConfigurationFilterSensitiveLog = MemberFrameworkConfigurationFilterSensitiveLog;
1961
+ exports.ManagedBlockchainServiceException = ManagedBlockchainServiceException$1;
2020
1962
  exports.MemberStatus = MemberStatus;
2021
1963
  exports.NetworkStatus = NetworkStatus;
2022
1964
  exports.NodeStatus = NodeStatus;
2023
1965
  exports.ProposalStatus = ProposalStatus;
2024
1966
  exports.RejectInvitationCommand = RejectInvitationCommand;
2025
- exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
2026
- exports.ResourceLimitExceededException = ResourceLimitExceededException;
2027
- exports.ResourceNotFoundException = ResourceNotFoundException;
2028
- exports.ResourceNotReadyException = ResourceNotReadyException;
1967
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException$1;
1968
+ exports.ResourceLimitExceededException = ResourceLimitExceededException$1;
1969
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1970
+ exports.ResourceNotReadyException = ResourceNotReadyException$1;
2029
1971
  exports.StateDBType = StateDBType;
2030
1972
  exports.TagResourceCommand = TagResourceCommand;
2031
1973
  exports.ThresholdComparator = ThresholdComparator;
2032
- exports.ThrottlingException = ThrottlingException;
2033
- exports.TooManyTagsException = TooManyTagsException;
1974
+ exports.ThrottlingException = ThrottlingException$1;
1975
+ exports.TooManyTagsException = TooManyTagsException$1;
2034
1976
  exports.UntagResourceCommand = UntagResourceCommand;
2035
1977
  exports.UpdateMemberCommand = UpdateMemberCommand;
2036
1978
  exports.UpdateNodeCommand = UpdateNodeCommand;