@aws-sdk/client-managedblockchain 3.54.1 → 3.58.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 (41) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/ManagedBlockchainClient.js +13 -13
  3. package/dist-cjs/commands/CreateMemberCommand.js +3 -3
  4. package/dist-cjs/commands/CreateNetworkCommand.js +3 -3
  5. package/dist-cjs/commands/CreateNodeCommand.js +3 -3
  6. package/dist-cjs/commands/CreateProposalCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteMemberCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteNodeCommand.js +3 -3
  9. package/dist-cjs/commands/GetMemberCommand.js +3 -3
  10. package/dist-cjs/commands/GetNetworkCommand.js +3 -3
  11. package/dist-cjs/commands/GetNodeCommand.js +3 -3
  12. package/dist-cjs/commands/GetProposalCommand.js +3 -3
  13. package/dist-cjs/commands/ListInvitationsCommand.js +3 -3
  14. package/dist-cjs/commands/ListMembersCommand.js +3 -3
  15. package/dist-cjs/commands/ListNetworksCommand.js +3 -3
  16. package/dist-cjs/commands/ListNodesCommand.js +3 -3
  17. package/dist-cjs/commands/ListProposalVotesCommand.js +3 -3
  18. package/dist-cjs/commands/ListProposalsCommand.js +3 -3
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  20. package/dist-cjs/commands/RejectInvitationCommand.js +3 -3
  21. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  22. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  23. package/dist-cjs/commands/UpdateMemberCommand.js +3 -3
  24. package/dist-cjs/commands/UpdateNodeCommand.js +3 -3
  25. package/dist-cjs/commands/VoteOnProposalCommand.js +3 -3
  26. package/dist-cjs/endpoints.js +1 -1
  27. package/dist-cjs/protocols/Aws_restJson1.js +194 -194
  28. package/dist-cjs/runtimeConfig.browser.js +4 -4
  29. package/dist-cjs/runtimeConfig.js +9 -9
  30. package/dist-cjs/runtimeConfig.native.js +1 -1
  31. package/dist-es/ManagedBlockchain.js +23 -23
  32. package/dist-es/pagination/ListInvitationsPaginator.js +4 -4
  33. package/dist-es/pagination/ListMembersPaginator.js +4 -4
  34. package/dist-es/pagination/ListNetworksPaginator.js +4 -4
  35. package/dist-es/pagination/ListNodesPaginator.js +4 -4
  36. package/dist-es/pagination/ListProposalVotesPaginator.js +4 -4
  37. package/dist-es/pagination/ListProposalsPaginator.js +4 -4
  38. package/dist-es/protocols/Aws_restJson1.js +23 -23
  39. package/dist-types/runtimeConfig.native.d.ts +2 -2
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  41. package/package.json +34 -34
@@ -18,14 +18,14 @@ const serializeAws_restJson1CreateMemberCommand = async (input, context) => {
18
18
  if (labelValue.length <= 0) {
19
19
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
20
20
  }
21
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
21
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
22
22
  }
23
23
  else {
24
24
  throw new Error("No value provided for input HTTP label: NetworkId.");
25
25
  }
26
26
  let body;
27
27
  body = JSON.stringify({
28
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
28
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
29
29
  ...(input.InvitationId !== undefined && input.InvitationId !== null && { InvitationId: input.InvitationId }),
30
30
  ...(input.MemberConfiguration !== undefined &&
31
31
  input.MemberConfiguration !== null && {
@@ -52,7 +52,7 @@ const serializeAws_restJson1CreateNetworkCommand = async (input, context) => {
52
52
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/networks";
53
53
  let body;
54
54
  body = JSON.stringify({
55
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
55
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
56
56
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
57
57
  ...(input.Framework !== undefined && input.Framework !== null && { Framework: input.Framework }),
58
58
  ...(input.FrameworkConfiguration !== undefined &&
@@ -94,14 +94,14 @@ const serializeAws_restJson1CreateNodeCommand = async (input, context) => {
94
94
  if (labelValue.length <= 0) {
95
95
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
96
96
  }
97
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
97
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
98
98
  }
99
99
  else {
100
100
  throw new Error("No value provided for input HTTP label: NetworkId.");
101
101
  }
102
102
  let body;
103
103
  body = JSON.stringify({
104
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
104
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
105
105
  ...(input.MemberId !== undefined && input.MemberId !== null && { MemberId: input.MemberId }),
106
106
  ...(input.NodeConfiguration !== undefined &&
107
107
  input.NodeConfiguration !== null && {
@@ -133,7 +133,7 @@ const serializeAws_restJson1CreateProposalCommand = async (input, context) => {
133
133
  if (labelValue.length <= 0) {
134
134
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
135
135
  }
136
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
136
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
137
137
  }
138
138
  else {
139
139
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -142,7 +142,7 @@ const serializeAws_restJson1CreateProposalCommand = async (input, context) => {
142
142
  body = JSON.stringify({
143
143
  ...(input.Actions !== undefined &&
144
144
  input.Actions !== null && { Actions: serializeAws_restJson1ProposalActions(input.Actions, context) }),
145
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
145
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
146
146
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
147
147
  ...(input.MemberId !== undefined && input.MemberId !== null && { MemberId: input.MemberId }),
148
148
  ...(input.Tags !== undefined &&
@@ -168,7 +168,7 @@ const serializeAws_restJson1DeleteMemberCommand = async (input, context) => {
168
168
  if (labelValue.length <= 0) {
169
169
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
170
170
  }
171
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
171
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
172
172
  }
173
173
  else {
174
174
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -178,7 +178,7 @@ const serializeAws_restJson1DeleteMemberCommand = async (input, context) => {
178
178
  if (labelValue.length <= 0) {
179
179
  throw new Error("Empty value provided for input HTTP label: MemberId.");
180
180
  }
181
- resolvedPath = resolvedPath.replace("{MemberId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
181
+ resolvedPath = resolvedPath.replace("{MemberId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
182
182
  }
183
183
  else {
184
184
  throw new Error("No value provided for input HTTP label: MemberId.");
@@ -204,7 +204,7 @@ const serializeAws_restJson1DeleteNodeCommand = async (input, context) => {
204
204
  if (labelValue.length <= 0) {
205
205
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
206
206
  }
207
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
207
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
208
208
  }
209
209
  else {
210
210
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -214,7 +214,7 @@ const serializeAws_restJson1DeleteNodeCommand = async (input, context) => {
214
214
  if (labelValue.length <= 0) {
215
215
  throw new Error("Empty value provided for input HTTP label: NodeId.");
216
216
  }
217
- resolvedPath = resolvedPath.replace("{NodeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
217
+ resolvedPath = resolvedPath.replace("{NodeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
218
218
  }
219
219
  else {
220
220
  throw new Error("No value provided for input HTTP label: NodeId.");
@@ -244,7 +244,7 @@ const serializeAws_restJson1GetMemberCommand = async (input, context) => {
244
244
  if (labelValue.length <= 0) {
245
245
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
246
246
  }
247
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
247
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
248
248
  }
249
249
  else {
250
250
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -254,7 +254,7 @@ const serializeAws_restJson1GetMemberCommand = async (input, context) => {
254
254
  if (labelValue.length <= 0) {
255
255
  throw new Error("Empty value provided for input HTTP label: MemberId.");
256
256
  }
257
- resolvedPath = resolvedPath.replace("{MemberId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
257
+ resolvedPath = resolvedPath.replace("{MemberId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
258
258
  }
259
259
  else {
260
260
  throw new Error("No value provided for input HTTP label: MemberId.");
@@ -280,7 +280,7 @@ const serializeAws_restJson1GetNetworkCommand = async (input, context) => {
280
280
  if (labelValue.length <= 0) {
281
281
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
282
282
  }
283
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
283
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
284
284
  }
285
285
  else {
286
286
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -306,7 +306,7 @@ const serializeAws_restJson1GetNodeCommand = async (input, context) => {
306
306
  if (labelValue.length <= 0) {
307
307
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
308
308
  }
309
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
309
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
310
310
  }
311
311
  else {
312
312
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -316,7 +316,7 @@ const serializeAws_restJson1GetNodeCommand = async (input, context) => {
316
316
  if (labelValue.length <= 0) {
317
317
  throw new Error("Empty value provided for input HTTP label: NodeId.");
318
318
  }
319
- resolvedPath = resolvedPath.replace("{NodeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
319
+ resolvedPath = resolvedPath.replace("{NodeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
320
320
  }
321
321
  else {
322
322
  throw new Error("No value provided for input HTTP label: NodeId.");
@@ -347,7 +347,7 @@ const serializeAws_restJson1GetProposalCommand = async (input, context) => {
347
347
  if (labelValue.length <= 0) {
348
348
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
349
349
  }
350
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
350
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
351
351
  }
352
352
  else {
353
353
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -357,7 +357,7 @@ const serializeAws_restJson1GetProposalCommand = async (input, context) => {
357
357
  if (labelValue.length <= 0) {
358
358
  throw new Error("Empty value provided for input HTTP label: ProposalId.");
359
359
  }
360
- resolvedPath = resolvedPath.replace("{ProposalId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
360
+ resolvedPath = resolvedPath.replace("{ProposalId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
361
361
  }
362
362
  else {
363
363
  throw new Error("No value provided for input HTTP label: ProposalId.");
@@ -404,7 +404,7 @@ const serializeAws_restJson1ListMembersCommand = async (input, context) => {
404
404
  if (labelValue.length <= 0) {
405
405
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
406
406
  }
407
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
407
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
408
408
  }
409
409
  else {
410
410
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -462,7 +462,7 @@ const serializeAws_restJson1ListNodesCommand = async (input, context) => {
462
462
  if (labelValue.length <= 0) {
463
463
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
464
464
  }
465
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
465
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
466
466
  }
467
467
  else {
468
468
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -495,7 +495,7 @@ const serializeAws_restJson1ListProposalsCommand = async (input, context) => {
495
495
  if (labelValue.length <= 0) {
496
496
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
497
497
  }
498
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
498
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
499
499
  }
500
500
  else {
501
501
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -527,7 +527,7 @@ const serializeAws_restJson1ListProposalVotesCommand = async (input, context) =>
527
527
  if (labelValue.length <= 0) {
528
528
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
529
529
  }
530
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
530
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
531
531
  }
532
532
  else {
533
533
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -537,7 +537,7 @@ const serializeAws_restJson1ListProposalVotesCommand = async (input, context) =>
537
537
  if (labelValue.length <= 0) {
538
538
  throw new Error("Empty value provided for input HTTP label: ProposalId.");
539
539
  }
540
- resolvedPath = resolvedPath.replace("{ProposalId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
540
+ resolvedPath = resolvedPath.replace("{ProposalId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
541
541
  }
542
542
  else {
543
543
  throw new Error("No value provided for input HTTP label: ProposalId.");
@@ -568,7 +568,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
568
568
  if (labelValue.length <= 0) {
569
569
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
570
570
  }
571
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
571
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
572
572
  }
573
573
  else {
574
574
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -594,7 +594,7 @@ const serializeAws_restJson1RejectInvitationCommand = async (input, context) =>
594
594
  if (labelValue.length <= 0) {
595
595
  throw new Error("Empty value provided for input HTTP label: InvitationId.");
596
596
  }
597
- resolvedPath = resolvedPath.replace("{InvitationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
597
+ resolvedPath = resolvedPath.replace("{InvitationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
598
598
  }
599
599
  else {
600
600
  throw new Error("No value provided for input HTTP label: InvitationId.");
@@ -622,7 +622,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
622
622
  if (labelValue.length <= 0) {
623
623
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
624
624
  }
625
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
625
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
626
626
  }
627
627
  else {
628
628
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -652,7 +652,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
652
652
  if (labelValue.length <= 0) {
653
653
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
654
654
  }
655
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
655
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
656
656
  }
657
657
  else {
658
658
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -684,7 +684,7 @@ const serializeAws_restJson1UpdateMemberCommand = async (input, context) => {
684
684
  if (labelValue.length <= 0) {
685
685
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
686
686
  }
687
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
687
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
688
688
  }
689
689
  else {
690
690
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -694,7 +694,7 @@ const serializeAws_restJson1UpdateMemberCommand = async (input, context) => {
694
694
  if (labelValue.length <= 0) {
695
695
  throw new Error("Empty value provided for input HTTP label: MemberId.");
696
696
  }
697
- resolvedPath = resolvedPath.replace("{MemberId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
697
+ resolvedPath = resolvedPath.replace("{MemberId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
698
698
  }
699
699
  else {
700
700
  throw new Error("No value provided for input HTTP label: MemberId.");
@@ -728,7 +728,7 @@ const serializeAws_restJson1UpdateNodeCommand = async (input, context) => {
728
728
  if (labelValue.length <= 0) {
729
729
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
730
730
  }
731
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
731
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
732
732
  }
733
733
  else {
734
734
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -738,7 +738,7 @@ const serializeAws_restJson1UpdateNodeCommand = async (input, context) => {
738
738
  if (labelValue.length <= 0) {
739
739
  throw new Error("Empty value provided for input HTTP label: NodeId.");
740
740
  }
741
- resolvedPath = resolvedPath.replace("{NodeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
741
+ resolvedPath = resolvedPath.replace("{NodeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
742
742
  }
743
743
  else {
744
744
  throw new Error("No value provided for input HTTP label: NodeId.");
@@ -774,7 +774,7 @@ const serializeAws_restJson1VoteOnProposalCommand = async (input, context) => {
774
774
  if (labelValue.length <= 0) {
775
775
  throw new Error("Empty value provided for input HTTP label: NetworkId.");
776
776
  }
777
- resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
777
+ resolvedPath = resolvedPath.replace("{NetworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
778
778
  }
779
779
  else {
780
780
  throw new Error("No value provided for input HTTP label: NetworkId.");
@@ -784,7 +784,7 @@ const serializeAws_restJson1VoteOnProposalCommand = async (input, context) => {
784
784
  if (labelValue.length <= 0) {
785
785
  throw new Error("Empty value provided for input HTTP label: ProposalId.");
786
786
  }
787
- resolvedPath = resolvedPath.replace("{ProposalId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
787
+ resolvedPath = resolvedPath.replace("{ProposalId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
788
788
  }
789
789
  else {
790
790
  throw new Error("No value provided for input HTTP label: ProposalId.");
@@ -813,9 +813,9 @@ const deserializeAws_restJson1CreateMemberCommand = async (output, context) => {
813
813
  $metadata: deserializeMetadata(output),
814
814
  MemberId: undefined,
815
815
  };
816
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
816
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
817
817
  if (data.MemberId !== undefined && data.MemberId !== null) {
818
- contents.MemberId = smithy_client_1.expectString(data.MemberId);
818
+ contents.MemberId = (0, smithy_client_1.expectString)(data.MemberId);
819
819
  }
820
820
  return Promise.resolve(contents);
821
821
  };
@@ -863,7 +863,7 @@ const deserializeAws_restJson1CreateMemberCommandError = async (output, context)
863
863
  $fault: "client",
864
864
  $metadata: deserializeMetadata(output),
865
865
  });
866
- throw smithy_client_1.decorateServiceException(response, parsedBody);
866
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
867
867
  }
868
868
  };
869
869
  const deserializeAws_restJson1CreateNetworkCommand = async (output, context) => {
@@ -875,12 +875,12 @@ const deserializeAws_restJson1CreateNetworkCommand = async (output, context) =>
875
875
  MemberId: undefined,
876
876
  NetworkId: undefined,
877
877
  };
878
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
878
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
879
879
  if (data.MemberId !== undefined && data.MemberId !== null) {
880
- contents.MemberId = smithy_client_1.expectString(data.MemberId);
880
+ contents.MemberId = (0, smithy_client_1.expectString)(data.MemberId);
881
881
  }
882
882
  if (data.NetworkId !== undefined && data.NetworkId !== null) {
883
- contents.NetworkId = smithy_client_1.expectString(data.NetworkId);
883
+ contents.NetworkId = (0, smithy_client_1.expectString)(data.NetworkId);
884
884
  }
885
885
  return Promise.resolve(contents);
886
886
  };
@@ -922,7 +922,7 @@ const deserializeAws_restJson1CreateNetworkCommandError = async (output, context
922
922
  $fault: "client",
923
923
  $metadata: deserializeMetadata(output),
924
924
  });
925
- throw smithy_client_1.decorateServiceException(response, parsedBody);
925
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
926
926
  }
927
927
  };
928
928
  const deserializeAws_restJson1CreateNodeCommand = async (output, context) => {
@@ -933,9 +933,9 @@ const deserializeAws_restJson1CreateNodeCommand = async (output, context) => {
933
933
  $metadata: deserializeMetadata(output),
934
934
  NodeId: undefined,
935
935
  };
936
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
936
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
937
937
  if (data.NodeId !== undefined && data.NodeId !== null) {
938
- contents.NodeId = smithy_client_1.expectString(data.NodeId);
938
+ contents.NodeId = (0, smithy_client_1.expectString)(data.NodeId);
939
939
  }
940
940
  return Promise.resolve(contents);
941
941
  };
@@ -983,7 +983,7 @@ const deserializeAws_restJson1CreateNodeCommandError = async (output, context) =
983
983
  $fault: "client",
984
984
  $metadata: deserializeMetadata(output),
985
985
  });
986
- throw smithy_client_1.decorateServiceException(response, parsedBody);
986
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
987
987
  }
988
988
  };
989
989
  const deserializeAws_restJson1CreateProposalCommand = async (output, context) => {
@@ -994,9 +994,9 @@ const deserializeAws_restJson1CreateProposalCommand = async (output, context) =>
994
994
  $metadata: deserializeMetadata(output),
995
995
  ProposalId: undefined,
996
996
  };
997
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
997
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
998
998
  if (data.ProposalId !== undefined && data.ProposalId !== null) {
999
- contents.ProposalId = smithy_client_1.expectString(data.ProposalId);
999
+ contents.ProposalId = (0, smithy_client_1.expectString)(data.ProposalId);
1000
1000
  }
1001
1001
  return Promise.resolve(contents);
1002
1002
  };
@@ -1038,7 +1038,7 @@ const deserializeAws_restJson1CreateProposalCommandError = async (output, contex
1038
1038
  $fault: "client",
1039
1039
  $metadata: deserializeMetadata(output),
1040
1040
  });
1041
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1041
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1042
1042
  }
1043
1043
  };
1044
1044
  const deserializeAws_restJson1DeleteMemberCommand = async (output, context) => {
@@ -1086,7 +1086,7 @@ const deserializeAws_restJson1DeleteMemberCommandError = async (output, context)
1086
1086
  $fault: "client",
1087
1087
  $metadata: deserializeMetadata(output),
1088
1088
  });
1089
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1089
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1090
1090
  }
1091
1091
  };
1092
1092
  const deserializeAws_restJson1DeleteNodeCommand = async (output, context) => {
@@ -1134,7 +1134,7 @@ const deserializeAws_restJson1DeleteNodeCommandError = async (output, context) =
1134
1134
  $fault: "client",
1135
1135
  $metadata: deserializeMetadata(output),
1136
1136
  });
1137
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1137
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1138
1138
  }
1139
1139
  };
1140
1140
  const deserializeAws_restJson1GetMemberCommand = async (output, context) => {
@@ -1145,7 +1145,7 @@ const deserializeAws_restJson1GetMemberCommand = async (output, context) => {
1145
1145
  $metadata: deserializeMetadata(output),
1146
1146
  Member: undefined,
1147
1147
  };
1148
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1148
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1149
1149
  if (data.Member !== undefined && data.Member !== null) {
1150
1150
  contents.Member = deserializeAws_restJson1Member(data.Member, context);
1151
1151
  }
@@ -1183,7 +1183,7 @@ const deserializeAws_restJson1GetMemberCommandError = async (output, context) =>
1183
1183
  $fault: "client",
1184
1184
  $metadata: deserializeMetadata(output),
1185
1185
  });
1186
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1186
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1187
1187
  }
1188
1188
  };
1189
1189
  const deserializeAws_restJson1GetNetworkCommand = async (output, context) => {
@@ -1194,7 +1194,7 @@ const deserializeAws_restJson1GetNetworkCommand = async (output, context) => {
1194
1194
  $metadata: deserializeMetadata(output),
1195
1195
  Network: undefined,
1196
1196
  };
1197
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1197
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1198
1198
  if (data.Network !== undefined && data.Network !== null) {
1199
1199
  contents.Network = deserializeAws_restJson1Network(data.Network, context);
1200
1200
  }
@@ -1232,7 +1232,7 @@ const deserializeAws_restJson1GetNetworkCommandError = async (output, context) =
1232
1232
  $fault: "client",
1233
1233
  $metadata: deserializeMetadata(output),
1234
1234
  });
1235
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1235
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1236
1236
  }
1237
1237
  };
1238
1238
  const deserializeAws_restJson1GetNodeCommand = async (output, context) => {
@@ -1243,7 +1243,7 @@ const deserializeAws_restJson1GetNodeCommand = async (output, context) => {
1243
1243
  $metadata: deserializeMetadata(output),
1244
1244
  Node: undefined,
1245
1245
  };
1246
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1246
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1247
1247
  if (data.Node !== undefined && data.Node !== null) {
1248
1248
  contents.Node = deserializeAws_restJson1Node(data.Node, context);
1249
1249
  }
@@ -1281,7 +1281,7 @@ const deserializeAws_restJson1GetNodeCommandError = async (output, context) => {
1281
1281
  $fault: "client",
1282
1282
  $metadata: deserializeMetadata(output),
1283
1283
  });
1284
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1284
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1285
1285
  }
1286
1286
  };
1287
1287
  const deserializeAws_restJson1GetProposalCommand = async (output, context) => {
@@ -1292,7 +1292,7 @@ const deserializeAws_restJson1GetProposalCommand = async (output, context) => {
1292
1292
  $metadata: deserializeMetadata(output),
1293
1293
  Proposal: undefined,
1294
1294
  };
1295
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1295
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1296
1296
  if (data.Proposal !== undefined && data.Proposal !== null) {
1297
1297
  contents.Proposal = deserializeAws_restJson1Proposal(data.Proposal, context);
1298
1298
  }
@@ -1330,7 +1330,7 @@ const deserializeAws_restJson1GetProposalCommandError = async (output, context)
1330
1330
  $fault: "client",
1331
1331
  $metadata: deserializeMetadata(output),
1332
1332
  });
1333
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1333
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1334
1334
  }
1335
1335
  };
1336
1336
  const deserializeAws_restJson1ListInvitationsCommand = async (output, context) => {
@@ -1342,12 +1342,12 @@ const deserializeAws_restJson1ListInvitationsCommand = async (output, context) =
1342
1342
  Invitations: undefined,
1343
1343
  NextToken: undefined,
1344
1344
  };
1345
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1345
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1346
1346
  if (data.Invitations !== undefined && data.Invitations !== null) {
1347
1347
  contents.Invitations = deserializeAws_restJson1InvitationList(data.Invitations, context);
1348
1348
  }
1349
1349
  if (data.NextToken !== undefined && data.NextToken !== null) {
1350
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1350
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1351
1351
  }
1352
1352
  return Promise.resolve(contents);
1353
1353
  };
@@ -1386,7 +1386,7 @@ const deserializeAws_restJson1ListInvitationsCommandError = async (output, conte
1386
1386
  $fault: "client",
1387
1387
  $metadata: deserializeMetadata(output),
1388
1388
  });
1389
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1389
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1390
1390
  }
1391
1391
  };
1392
1392
  const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
@@ -1398,12 +1398,12 @@ const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
1398
1398
  Members: undefined,
1399
1399
  NextToken: undefined,
1400
1400
  };
1401
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1401
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1402
1402
  if (data.Members !== undefined && data.Members !== null) {
1403
1403
  contents.Members = deserializeAws_restJson1MemberSummaryList(data.Members, context);
1404
1404
  }
1405
1405
  if (data.NextToken !== undefined && data.NextToken !== null) {
1406
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1406
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1407
1407
  }
1408
1408
  return Promise.resolve(contents);
1409
1409
  };
@@ -1436,7 +1436,7 @@ const deserializeAws_restJson1ListMembersCommandError = async (output, context)
1436
1436
  $fault: "client",
1437
1437
  $metadata: deserializeMetadata(output),
1438
1438
  });
1439
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1439
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1440
1440
  }
1441
1441
  };
1442
1442
  const deserializeAws_restJson1ListNetworksCommand = async (output, context) => {
@@ -1448,12 +1448,12 @@ const deserializeAws_restJson1ListNetworksCommand = async (output, context) => {
1448
1448
  Networks: undefined,
1449
1449
  NextToken: undefined,
1450
1450
  };
1451
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1451
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1452
1452
  if (data.Networks !== undefined && data.Networks !== null) {
1453
1453
  contents.Networks = deserializeAws_restJson1NetworkSummaryList(data.Networks, context);
1454
1454
  }
1455
1455
  if (data.NextToken !== undefined && data.NextToken !== null) {
1456
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1456
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1457
1457
  }
1458
1458
  return Promise.resolve(contents);
1459
1459
  };
@@ -1486,7 +1486,7 @@ const deserializeAws_restJson1ListNetworksCommandError = async (output, context)
1486
1486
  $fault: "client",
1487
1487
  $metadata: deserializeMetadata(output),
1488
1488
  });
1489
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1489
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1490
1490
  }
1491
1491
  };
1492
1492
  const deserializeAws_restJson1ListNodesCommand = async (output, context) => {
@@ -1498,9 +1498,9 @@ const deserializeAws_restJson1ListNodesCommand = async (output, context) => {
1498
1498
  NextToken: undefined,
1499
1499
  Nodes: undefined,
1500
1500
  };
1501
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1501
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1502
1502
  if (data.NextToken !== undefined && data.NextToken !== null) {
1503
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1503
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1504
1504
  }
1505
1505
  if (data.Nodes !== undefined && data.Nodes !== null) {
1506
1506
  contents.Nodes = deserializeAws_restJson1NodeSummaryList(data.Nodes, context);
@@ -1536,7 +1536,7 @@ const deserializeAws_restJson1ListNodesCommandError = async (output, context) =>
1536
1536
  $fault: "client",
1537
1537
  $metadata: deserializeMetadata(output),
1538
1538
  });
1539
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1539
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1540
1540
  }
1541
1541
  };
1542
1542
  const deserializeAws_restJson1ListProposalsCommand = async (output, context) => {
@@ -1548,9 +1548,9 @@ const deserializeAws_restJson1ListProposalsCommand = async (output, context) =>
1548
1548
  NextToken: undefined,
1549
1549
  Proposals: undefined,
1550
1550
  };
1551
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1551
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1552
1552
  if (data.NextToken !== undefined && data.NextToken !== null) {
1553
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1553
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1554
1554
  }
1555
1555
  if (data.Proposals !== undefined && data.Proposals !== null) {
1556
1556
  contents.Proposals = deserializeAws_restJson1ProposalSummaryList(data.Proposals, context);
@@ -1589,7 +1589,7 @@ const deserializeAws_restJson1ListProposalsCommandError = async (output, context
1589
1589
  $fault: "client",
1590
1590
  $metadata: deserializeMetadata(output),
1591
1591
  });
1592
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1592
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1593
1593
  }
1594
1594
  };
1595
1595
  const deserializeAws_restJson1ListProposalVotesCommand = async (output, context) => {
@@ -1601,9 +1601,9 @@ const deserializeAws_restJson1ListProposalVotesCommand = async (output, context)
1601
1601
  NextToken: undefined,
1602
1602
  ProposalVotes: undefined,
1603
1603
  };
1604
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1604
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1605
1605
  if (data.NextToken !== undefined && data.NextToken !== null) {
1606
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1606
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1607
1607
  }
1608
1608
  if (data.ProposalVotes !== undefined && data.ProposalVotes !== null) {
1609
1609
  contents.ProposalVotes = deserializeAws_restJson1ProposalVoteList(data.ProposalVotes, context);
@@ -1639,7 +1639,7 @@ const deserializeAws_restJson1ListProposalVotesCommandError = async (output, con
1639
1639
  $fault: "client",
1640
1640
  $metadata: deserializeMetadata(output),
1641
1641
  });
1642
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1642
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1643
1643
  }
1644
1644
  };
1645
1645
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -1650,7 +1650,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
1650
1650
  $metadata: deserializeMetadata(output),
1651
1651
  Tags: undefined,
1652
1652
  };
1653
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1653
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1654
1654
  if (data.Tags !== undefined && data.Tags !== null) {
1655
1655
  contents.Tags = deserializeAws_restJson1OutputTagMap(data.Tags, context);
1656
1656
  }
@@ -1685,7 +1685,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1685
1685
  $fault: "client",
1686
1686
  $metadata: deserializeMetadata(output),
1687
1687
  });
1688
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1688
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1689
1689
  }
1690
1690
  };
1691
1691
  const deserializeAws_restJson1RejectInvitationCommand = async (output, context) => {
@@ -1733,7 +1733,7 @@ const deserializeAws_restJson1RejectInvitationCommandError = async (output, cont
1733
1733
  $fault: "client",
1734
1734
  $metadata: deserializeMetadata(output),
1735
1735
  });
1736
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1736
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1737
1737
  }
1738
1738
  };
1739
1739
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -1778,7 +1778,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1778
1778
  $fault: "client",
1779
1779
  $metadata: deserializeMetadata(output),
1780
1780
  });
1781
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1781
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1782
1782
  }
1783
1783
  };
1784
1784
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -1820,7 +1820,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1820
1820
  $fault: "client",
1821
1821
  $metadata: deserializeMetadata(output),
1822
1822
  });
1823
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1823
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1824
1824
  }
1825
1825
  };
1826
1826
  const deserializeAws_restJson1UpdateMemberCommand = async (output, context) => {
@@ -1865,7 +1865,7 @@ const deserializeAws_restJson1UpdateMemberCommandError = async (output, context)
1865
1865
  $fault: "client",
1866
1866
  $metadata: deserializeMetadata(output),
1867
1867
  });
1868
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1868
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1869
1869
  }
1870
1870
  };
1871
1871
  const deserializeAws_restJson1UpdateNodeCommand = async (output, context) => {
@@ -1910,7 +1910,7 @@ const deserializeAws_restJson1UpdateNodeCommandError = async (output, context) =
1910
1910
  $fault: "client",
1911
1911
  $metadata: deserializeMetadata(output),
1912
1912
  });
1913
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1913
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1914
1914
  }
1915
1915
  };
1916
1916
  const deserializeAws_restJson1VoteOnProposalCommand = async (output, context) => {
@@ -1958,32 +1958,32 @@ const deserializeAws_restJson1VoteOnProposalCommandError = async (output, contex
1958
1958
  $fault: "client",
1959
1959
  $metadata: deserializeMetadata(output),
1960
1960
  });
1961
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1961
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1962
1962
  }
1963
1963
  };
1964
1964
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1965
1965
  const contents = {};
1966
1966
  const data = parsedOutput.body;
1967
1967
  if (data.Message !== undefined && data.Message !== null) {
1968
- contents.Message = smithy_client_1.expectString(data.Message);
1968
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1969
1969
  }
1970
1970
  const exception = new models_0_1.AccessDeniedException({
1971
1971
  $metadata: deserializeMetadata(parsedOutput),
1972
1972
  ...contents,
1973
1973
  });
1974
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1974
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1975
1975
  };
1976
1976
  const deserializeAws_restJson1IllegalActionExceptionResponse = async (parsedOutput, context) => {
1977
1977
  const contents = {};
1978
1978
  const data = parsedOutput.body;
1979
1979
  if (data.Message !== undefined && data.Message !== null) {
1980
- contents.Message = smithy_client_1.expectString(data.Message);
1980
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1981
1981
  }
1982
1982
  const exception = new models_0_1.IllegalActionException({
1983
1983
  $metadata: deserializeMetadata(parsedOutput),
1984
1984
  ...contents,
1985
1985
  });
1986
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1986
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1987
1987
  };
1988
1988
  const deserializeAws_restJson1InternalServiceErrorExceptionResponse = async (parsedOutput, context) => {
1989
1989
  const contents = {};
@@ -1992,70 +1992,70 @@ const deserializeAws_restJson1InternalServiceErrorExceptionResponse = async (par
1992
1992
  $metadata: deserializeMetadata(parsedOutput),
1993
1993
  ...contents,
1994
1994
  });
1995
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1995
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1996
1996
  };
1997
1997
  const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
1998
1998
  const contents = {};
1999
1999
  const data = parsedOutput.body;
2000
2000
  if (data.Message !== undefined && data.Message !== null) {
2001
- contents.Message = smithy_client_1.expectString(data.Message);
2001
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2002
2002
  }
2003
2003
  const exception = new models_0_1.InvalidRequestException({
2004
2004
  $metadata: deserializeMetadata(parsedOutput),
2005
2005
  ...contents,
2006
2006
  });
2007
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2007
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2008
2008
  };
2009
2009
  const deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
2010
2010
  const contents = {};
2011
2011
  const data = parsedOutput.body;
2012
2012
  if (data.Message !== undefined && data.Message !== null) {
2013
- contents.Message = smithy_client_1.expectString(data.Message);
2013
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2014
2014
  }
2015
2015
  const exception = new models_0_1.ResourceAlreadyExistsException({
2016
2016
  $metadata: deserializeMetadata(parsedOutput),
2017
2017
  ...contents,
2018
2018
  });
2019
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2019
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2020
2020
  };
2021
2021
  const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (parsedOutput, context) => {
2022
2022
  const contents = {};
2023
2023
  const data = parsedOutput.body;
2024
2024
  if (data.Message !== undefined && data.Message !== null) {
2025
- contents.Message = smithy_client_1.expectString(data.Message);
2025
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2026
2026
  }
2027
2027
  const exception = new models_0_1.ResourceLimitExceededException({
2028
2028
  $metadata: deserializeMetadata(parsedOutput),
2029
2029
  ...contents,
2030
2030
  });
2031
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2031
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2032
2032
  };
2033
2033
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2034
2034
  const contents = {};
2035
2035
  const data = parsedOutput.body;
2036
2036
  if (data.Message !== undefined && data.Message !== null) {
2037
- contents.Message = smithy_client_1.expectString(data.Message);
2037
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2038
2038
  }
2039
2039
  if (data.ResourceName !== undefined && data.ResourceName !== null) {
2040
- contents.ResourceName = smithy_client_1.expectString(data.ResourceName);
2040
+ contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
2041
2041
  }
2042
2042
  const exception = new models_0_1.ResourceNotFoundException({
2043
2043
  $metadata: deserializeMetadata(parsedOutput),
2044
2044
  ...contents,
2045
2045
  });
2046
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2046
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2047
2047
  };
2048
2048
  const deserializeAws_restJson1ResourceNotReadyExceptionResponse = async (parsedOutput, context) => {
2049
2049
  const contents = {};
2050
2050
  const data = parsedOutput.body;
2051
2051
  if (data.Message !== undefined && data.Message !== null) {
2052
- contents.Message = smithy_client_1.expectString(data.Message);
2052
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2053
2053
  }
2054
2054
  const exception = new models_0_1.ResourceNotReadyException({
2055
2055
  $metadata: deserializeMetadata(parsedOutput),
2056
2056
  ...contents,
2057
2057
  });
2058
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2058
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2059
2059
  };
2060
2060
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2061
2061
  const contents = {};
@@ -2064,22 +2064,22 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2064
2064
  $metadata: deserializeMetadata(parsedOutput),
2065
2065
  ...contents,
2066
2066
  });
2067
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2067
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2068
2068
  };
2069
2069
  const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
2070
2070
  const contents = {};
2071
2071
  const data = parsedOutput.body;
2072
2072
  if (data.Message !== undefined && data.Message !== null) {
2073
- contents.Message = smithy_client_1.expectString(data.Message);
2073
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2074
2074
  }
2075
2075
  if (data.ResourceName !== undefined && data.ResourceName !== null) {
2076
- contents.ResourceName = smithy_client_1.expectString(data.ResourceName);
2076
+ contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
2077
2077
  }
2078
2078
  const exception = new models_0_1.TooManyTagsException({
2079
2079
  $metadata: deserializeMetadata(parsedOutput),
2080
2080
  ...contents,
2081
2081
  });
2082
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2082
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2083
2083
  };
2084
2084
  const serializeAws_restJson1ApprovalThresholdPolicy = (input, context) => {
2085
2085
  return {
@@ -2247,25 +2247,25 @@ const serializeAws_restJson1VotingPolicy = (input, context) => {
2247
2247
  };
2248
2248
  const deserializeAws_restJson1ApprovalThresholdPolicy = (output, context) => {
2249
2249
  return {
2250
- ProposalDurationInHours: smithy_client_1.expectInt32(output.ProposalDurationInHours),
2251
- ThresholdComparator: smithy_client_1.expectString(output.ThresholdComparator),
2252
- ThresholdPercentage: smithy_client_1.expectInt32(output.ThresholdPercentage),
2250
+ ProposalDurationInHours: (0, smithy_client_1.expectInt32)(output.ProposalDurationInHours),
2251
+ ThresholdComparator: (0, smithy_client_1.expectString)(output.ThresholdComparator),
2252
+ ThresholdPercentage: (0, smithy_client_1.expectInt32)(output.ThresholdPercentage),
2253
2253
  };
2254
2254
  };
2255
2255
  const deserializeAws_restJson1Invitation = (output, context) => {
2256
2256
  return {
2257
- Arn: smithy_client_1.expectString(output.Arn),
2257
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2258
2258
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
2259
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
2259
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreationDate))
2260
2260
  : undefined,
2261
2261
  ExpirationDate: output.ExpirationDate !== undefined && output.ExpirationDate !== null
2262
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.ExpirationDate))
2262
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.ExpirationDate))
2263
2263
  : undefined,
2264
- InvitationId: smithy_client_1.expectString(output.InvitationId),
2264
+ InvitationId: (0, smithy_client_1.expectString)(output.InvitationId),
2265
2265
  NetworkSummary: output.NetworkSummary !== undefined && output.NetworkSummary !== null
2266
2266
  ? deserializeAws_restJson1NetworkSummary(output.NetworkSummary, context)
2267
2267
  : undefined,
2268
- Status: smithy_client_1.expectString(output.Status),
2268
+ Status: (0, smithy_client_1.expectString)(output.Status),
2269
2269
  };
2270
2270
  };
2271
2271
  const deserializeAws_restJson1InvitationList = (output, context) => {
@@ -2281,7 +2281,7 @@ const deserializeAws_restJson1InvitationList = (output, context) => {
2281
2281
  };
2282
2282
  const deserializeAws_restJson1InviteAction = (output, context) => {
2283
2283
  return {
2284
- Principal: smithy_client_1.expectString(output.Principal),
2284
+ Principal: (0, smithy_client_1.expectString)(output.Principal),
2285
2285
  };
2286
2286
  };
2287
2287
  const deserializeAws_restJson1InviteActionList = (output, context) => {
@@ -2297,7 +2297,7 @@ const deserializeAws_restJson1InviteActionList = (output, context) => {
2297
2297
  };
2298
2298
  const deserializeAws_restJson1LogConfiguration = (output, context) => {
2299
2299
  return {
2300
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
2300
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
2301
2301
  };
2302
2302
  };
2303
2303
  const deserializeAws_restJson1LogConfigurations = (output, context) => {
@@ -2309,22 +2309,22 @@ const deserializeAws_restJson1LogConfigurations = (output, context) => {
2309
2309
  };
2310
2310
  const deserializeAws_restJson1Member = (output, context) => {
2311
2311
  return {
2312
- Arn: smithy_client_1.expectString(output.Arn),
2312
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2313
2313
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
2314
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
2314
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreationDate))
2315
2315
  : undefined,
2316
- Description: smithy_client_1.expectString(output.Description),
2316
+ Description: (0, smithy_client_1.expectString)(output.Description),
2317
2317
  FrameworkAttributes: output.FrameworkAttributes !== undefined && output.FrameworkAttributes !== null
2318
2318
  ? deserializeAws_restJson1MemberFrameworkAttributes(output.FrameworkAttributes, context)
2319
2319
  : undefined,
2320
- Id: smithy_client_1.expectString(output.Id),
2321
- KmsKeyArn: smithy_client_1.expectString(output.KmsKeyArn),
2320
+ Id: (0, smithy_client_1.expectString)(output.Id),
2321
+ KmsKeyArn: (0, smithy_client_1.expectString)(output.KmsKeyArn),
2322
2322
  LogPublishingConfiguration: output.LogPublishingConfiguration !== undefined && output.LogPublishingConfiguration !== null
2323
2323
  ? deserializeAws_restJson1MemberLogPublishingConfiguration(output.LogPublishingConfiguration, context)
2324
2324
  : undefined,
2325
- Name: smithy_client_1.expectString(output.Name),
2326
- NetworkId: smithy_client_1.expectString(output.NetworkId),
2327
- Status: smithy_client_1.expectString(output.Status),
2325
+ Name: (0, smithy_client_1.expectString)(output.Name),
2326
+ NetworkId: (0, smithy_client_1.expectString)(output.NetworkId),
2327
+ Status: (0, smithy_client_1.expectString)(output.Status),
2328
2328
  Tags: output.Tags !== undefined && output.Tags !== null
2329
2329
  ? deserializeAws_restJson1OutputTagMap(output.Tags, context)
2330
2330
  : undefined,
@@ -2332,8 +2332,8 @@ const deserializeAws_restJson1Member = (output, context) => {
2332
2332
  };
2333
2333
  const deserializeAws_restJson1MemberFabricAttributes = (output, context) => {
2334
2334
  return {
2335
- AdminUsername: smithy_client_1.expectString(output.AdminUsername),
2336
- CaEndpoint: smithy_client_1.expectString(output.CaEndpoint),
2335
+ AdminUsername: (0, smithy_client_1.expectString)(output.AdminUsername),
2336
+ CaEndpoint: (0, smithy_client_1.expectString)(output.CaEndpoint),
2337
2337
  };
2338
2338
  };
2339
2339
  const deserializeAws_restJson1MemberFabricLogPublishingConfiguration = (output, context) => {
@@ -2359,15 +2359,15 @@ const deserializeAws_restJson1MemberLogPublishingConfiguration = (output, contex
2359
2359
  };
2360
2360
  const deserializeAws_restJson1MemberSummary = (output, context) => {
2361
2361
  return {
2362
- Arn: smithy_client_1.expectString(output.Arn),
2362
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2363
2363
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
2364
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
2364
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreationDate))
2365
2365
  : undefined,
2366
- Description: smithy_client_1.expectString(output.Description),
2367
- Id: smithy_client_1.expectString(output.Id),
2368
- IsOwned: smithy_client_1.expectBoolean(output.IsOwned),
2369
- Name: smithy_client_1.expectString(output.Name),
2370
- Status: smithy_client_1.expectString(output.Status),
2366
+ Description: (0, smithy_client_1.expectString)(output.Description),
2367
+ Id: (0, smithy_client_1.expectString)(output.Id),
2368
+ IsOwned: (0, smithy_client_1.expectBoolean)(output.IsOwned),
2369
+ Name: (0, smithy_client_1.expectString)(output.Name),
2370
+ Status: (0, smithy_client_1.expectString)(output.Status),
2371
2371
  };
2372
2372
  };
2373
2373
  const deserializeAws_restJson1MemberSummaryList = (output, context) => {
@@ -2383,37 +2383,37 @@ const deserializeAws_restJson1MemberSummaryList = (output, context) => {
2383
2383
  };
2384
2384
  const deserializeAws_restJson1Network = (output, context) => {
2385
2385
  return {
2386
- Arn: smithy_client_1.expectString(output.Arn),
2386
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2387
2387
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
2388
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
2388
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreationDate))
2389
2389
  : undefined,
2390
- Description: smithy_client_1.expectString(output.Description),
2391
- Framework: smithy_client_1.expectString(output.Framework),
2390
+ Description: (0, smithy_client_1.expectString)(output.Description),
2391
+ Framework: (0, smithy_client_1.expectString)(output.Framework),
2392
2392
  FrameworkAttributes: output.FrameworkAttributes !== undefined && output.FrameworkAttributes !== null
2393
2393
  ? deserializeAws_restJson1NetworkFrameworkAttributes(output.FrameworkAttributes, context)
2394
2394
  : undefined,
2395
- FrameworkVersion: smithy_client_1.expectString(output.FrameworkVersion),
2396
- Id: smithy_client_1.expectString(output.Id),
2397
- Name: smithy_client_1.expectString(output.Name),
2398
- Status: smithy_client_1.expectString(output.Status),
2395
+ FrameworkVersion: (0, smithy_client_1.expectString)(output.FrameworkVersion),
2396
+ Id: (0, smithy_client_1.expectString)(output.Id),
2397
+ Name: (0, smithy_client_1.expectString)(output.Name),
2398
+ Status: (0, smithy_client_1.expectString)(output.Status),
2399
2399
  Tags: output.Tags !== undefined && output.Tags !== null
2400
2400
  ? deserializeAws_restJson1OutputTagMap(output.Tags, context)
2401
2401
  : undefined,
2402
2402
  VotingPolicy: output.VotingPolicy !== undefined && output.VotingPolicy !== null
2403
2403
  ? deserializeAws_restJson1VotingPolicy(output.VotingPolicy, context)
2404
2404
  : undefined,
2405
- VpcEndpointServiceName: smithy_client_1.expectString(output.VpcEndpointServiceName),
2405
+ VpcEndpointServiceName: (0, smithy_client_1.expectString)(output.VpcEndpointServiceName),
2406
2406
  };
2407
2407
  };
2408
2408
  const deserializeAws_restJson1NetworkEthereumAttributes = (output, context) => {
2409
2409
  return {
2410
- ChainId: smithy_client_1.expectString(output.ChainId),
2410
+ ChainId: (0, smithy_client_1.expectString)(output.ChainId),
2411
2411
  };
2412
2412
  };
2413
2413
  const deserializeAws_restJson1NetworkFabricAttributes = (output, context) => {
2414
2414
  return {
2415
- Edition: smithy_client_1.expectString(output.Edition),
2416
- OrderingServiceEndpoint: smithy_client_1.expectString(output.OrderingServiceEndpoint),
2415
+ Edition: (0, smithy_client_1.expectString)(output.Edition),
2416
+ OrderingServiceEndpoint: (0, smithy_client_1.expectString)(output.OrderingServiceEndpoint),
2417
2417
  };
2418
2418
  };
2419
2419
  const deserializeAws_restJson1NetworkFrameworkAttributes = (output, context) => {
@@ -2428,16 +2428,16 @@ const deserializeAws_restJson1NetworkFrameworkAttributes = (output, context) =>
2428
2428
  };
2429
2429
  const deserializeAws_restJson1NetworkSummary = (output, context) => {
2430
2430
  return {
2431
- Arn: smithy_client_1.expectString(output.Arn),
2431
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2432
2432
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
2433
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
2433
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreationDate))
2434
2434
  : undefined,
2435
- Description: smithy_client_1.expectString(output.Description),
2436
- Framework: smithy_client_1.expectString(output.Framework),
2437
- FrameworkVersion: smithy_client_1.expectString(output.FrameworkVersion),
2438
- Id: smithy_client_1.expectString(output.Id),
2439
- Name: smithy_client_1.expectString(output.Name),
2440
- Status: smithy_client_1.expectString(output.Status),
2435
+ Description: (0, smithy_client_1.expectString)(output.Description),
2436
+ Framework: (0, smithy_client_1.expectString)(output.Framework),
2437
+ FrameworkVersion: (0, smithy_client_1.expectString)(output.FrameworkVersion),
2438
+ Id: (0, smithy_client_1.expectString)(output.Id),
2439
+ Name: (0, smithy_client_1.expectString)(output.Name),
2440
+ Status: (0, smithy_client_1.expectString)(output.Status),
2441
2441
  };
2442
2442
  };
2443
2443
  const deserializeAws_restJson1NetworkSummaryList = (output, context) => {
@@ -2453,24 +2453,24 @@ const deserializeAws_restJson1NetworkSummaryList = (output, context) => {
2453
2453
  };
2454
2454
  const deserializeAws_restJson1Node = (output, context) => {
2455
2455
  return {
2456
- Arn: smithy_client_1.expectString(output.Arn),
2457
- AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
2456
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2457
+ AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
2458
2458
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
2459
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
2459
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreationDate))
2460
2460
  : undefined,
2461
2461
  FrameworkAttributes: output.FrameworkAttributes !== undefined && output.FrameworkAttributes !== null
2462
2462
  ? deserializeAws_restJson1NodeFrameworkAttributes(output.FrameworkAttributes, context)
2463
2463
  : undefined,
2464
- Id: smithy_client_1.expectString(output.Id),
2465
- InstanceType: smithy_client_1.expectString(output.InstanceType),
2466
- KmsKeyArn: smithy_client_1.expectString(output.KmsKeyArn),
2464
+ Id: (0, smithy_client_1.expectString)(output.Id),
2465
+ InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
2466
+ KmsKeyArn: (0, smithy_client_1.expectString)(output.KmsKeyArn),
2467
2467
  LogPublishingConfiguration: output.LogPublishingConfiguration !== undefined && output.LogPublishingConfiguration !== null
2468
2468
  ? deserializeAws_restJson1NodeLogPublishingConfiguration(output.LogPublishingConfiguration, context)
2469
2469
  : undefined,
2470
- MemberId: smithy_client_1.expectString(output.MemberId),
2471
- NetworkId: smithy_client_1.expectString(output.NetworkId),
2472
- StateDB: smithy_client_1.expectString(output.StateDB),
2473
- Status: smithy_client_1.expectString(output.Status),
2470
+ MemberId: (0, smithy_client_1.expectString)(output.MemberId),
2471
+ NetworkId: (0, smithy_client_1.expectString)(output.NetworkId),
2472
+ StateDB: (0, smithy_client_1.expectString)(output.StateDB),
2473
+ Status: (0, smithy_client_1.expectString)(output.Status),
2474
2474
  Tags: output.Tags !== undefined && output.Tags !== null
2475
2475
  ? deserializeAws_restJson1OutputTagMap(output.Tags, context)
2476
2476
  : undefined,
@@ -2478,14 +2478,14 @@ const deserializeAws_restJson1Node = (output, context) => {
2478
2478
  };
2479
2479
  const deserializeAws_restJson1NodeEthereumAttributes = (output, context) => {
2480
2480
  return {
2481
- HttpEndpoint: smithy_client_1.expectString(output.HttpEndpoint),
2482
- WebSocketEndpoint: smithy_client_1.expectString(output.WebSocketEndpoint),
2481
+ HttpEndpoint: (0, smithy_client_1.expectString)(output.HttpEndpoint),
2482
+ WebSocketEndpoint: (0, smithy_client_1.expectString)(output.WebSocketEndpoint),
2483
2483
  };
2484
2484
  };
2485
2485
  const deserializeAws_restJson1NodeFabricAttributes = (output, context) => {
2486
2486
  return {
2487
- PeerEndpoint: smithy_client_1.expectString(output.PeerEndpoint),
2488
- PeerEventEndpoint: smithy_client_1.expectString(output.PeerEventEndpoint),
2487
+ PeerEndpoint: (0, smithy_client_1.expectString)(output.PeerEndpoint),
2488
+ PeerEventEndpoint: (0, smithy_client_1.expectString)(output.PeerEventEndpoint),
2489
2489
  };
2490
2490
  };
2491
2491
  const deserializeAws_restJson1NodeFabricLogPublishingConfiguration = (output, context) => {
@@ -2517,14 +2517,14 @@ const deserializeAws_restJson1NodeLogPublishingConfiguration = (output, context)
2517
2517
  };
2518
2518
  const deserializeAws_restJson1NodeSummary = (output, context) => {
2519
2519
  return {
2520
- Arn: smithy_client_1.expectString(output.Arn),
2521
- AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
2520
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2521
+ AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
2522
2522
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
2523
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
2523
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreationDate))
2524
2524
  : undefined,
2525
- Id: smithy_client_1.expectString(output.Id),
2526
- InstanceType: smithy_client_1.expectString(output.InstanceType),
2527
- Status: smithy_client_1.expectString(output.Status),
2525
+ Id: (0, smithy_client_1.expectString)(output.Id),
2526
+ InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
2527
+ Status: (0, smithy_client_1.expectString)(output.Status),
2528
2528
  };
2529
2529
  };
2530
2530
  const deserializeAws_restJson1NodeSummaryList = (output, context) => {
@@ -2545,7 +2545,7 @@ const deserializeAws_restJson1OutputTagMap = (output, context) => {
2545
2545
  }
2546
2546
  return {
2547
2547
  ...acc,
2548
- [key]: smithy_client_1.expectString(value),
2548
+ [key]: (0, smithy_client_1.expectString)(value),
2549
2549
  };
2550
2550
  }, {});
2551
2551
  };
@@ -2554,25 +2554,25 @@ const deserializeAws_restJson1Proposal = (output, context) => {
2554
2554
  Actions: output.Actions !== undefined && output.Actions !== null
2555
2555
  ? deserializeAws_restJson1ProposalActions(output.Actions, context)
2556
2556
  : undefined,
2557
- Arn: smithy_client_1.expectString(output.Arn),
2557
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2558
2558
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
2559
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
2559
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreationDate))
2560
2560
  : undefined,
2561
- Description: smithy_client_1.expectString(output.Description),
2561
+ Description: (0, smithy_client_1.expectString)(output.Description),
2562
2562
  ExpirationDate: output.ExpirationDate !== undefined && output.ExpirationDate !== null
2563
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.ExpirationDate))
2563
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.ExpirationDate))
2564
2564
  : undefined,
2565
- NetworkId: smithy_client_1.expectString(output.NetworkId),
2566
- NoVoteCount: smithy_client_1.expectInt32(output.NoVoteCount),
2567
- OutstandingVoteCount: smithy_client_1.expectInt32(output.OutstandingVoteCount),
2568
- ProposalId: smithy_client_1.expectString(output.ProposalId),
2569
- ProposedByMemberId: smithy_client_1.expectString(output.ProposedByMemberId),
2570
- ProposedByMemberName: smithy_client_1.expectString(output.ProposedByMemberName),
2571
- Status: smithy_client_1.expectString(output.Status),
2565
+ NetworkId: (0, smithy_client_1.expectString)(output.NetworkId),
2566
+ NoVoteCount: (0, smithy_client_1.expectInt32)(output.NoVoteCount),
2567
+ OutstandingVoteCount: (0, smithy_client_1.expectInt32)(output.OutstandingVoteCount),
2568
+ ProposalId: (0, smithy_client_1.expectString)(output.ProposalId),
2569
+ ProposedByMemberId: (0, smithy_client_1.expectString)(output.ProposedByMemberId),
2570
+ ProposedByMemberName: (0, smithy_client_1.expectString)(output.ProposedByMemberName),
2571
+ Status: (0, smithy_client_1.expectString)(output.Status),
2572
2572
  Tags: output.Tags !== undefined && output.Tags !== null
2573
2573
  ? deserializeAws_restJson1OutputTagMap(output.Tags, context)
2574
2574
  : undefined,
2575
- YesVoteCount: smithy_client_1.expectInt32(output.YesVoteCount),
2575
+ YesVoteCount: (0, smithy_client_1.expectInt32)(output.YesVoteCount),
2576
2576
  };
2577
2577
  };
2578
2578
  const deserializeAws_restJson1ProposalActions = (output, context) => {
@@ -2587,18 +2587,18 @@ const deserializeAws_restJson1ProposalActions = (output, context) => {
2587
2587
  };
2588
2588
  const deserializeAws_restJson1ProposalSummary = (output, context) => {
2589
2589
  return {
2590
- Arn: smithy_client_1.expectString(output.Arn),
2590
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2591
2591
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
2592
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
2592
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreationDate))
2593
2593
  : undefined,
2594
- Description: smithy_client_1.expectString(output.Description),
2594
+ Description: (0, smithy_client_1.expectString)(output.Description),
2595
2595
  ExpirationDate: output.ExpirationDate !== undefined && output.ExpirationDate !== null
2596
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.ExpirationDate))
2596
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.ExpirationDate))
2597
2597
  : undefined,
2598
- ProposalId: smithy_client_1.expectString(output.ProposalId),
2599
- ProposedByMemberId: smithy_client_1.expectString(output.ProposedByMemberId),
2600
- ProposedByMemberName: smithy_client_1.expectString(output.ProposedByMemberName),
2601
- Status: smithy_client_1.expectString(output.Status),
2598
+ ProposalId: (0, smithy_client_1.expectString)(output.ProposalId),
2599
+ ProposedByMemberId: (0, smithy_client_1.expectString)(output.ProposedByMemberId),
2600
+ ProposedByMemberName: (0, smithy_client_1.expectString)(output.ProposedByMemberName),
2601
+ Status: (0, smithy_client_1.expectString)(output.Status),
2602
2602
  };
2603
2603
  };
2604
2604
  const deserializeAws_restJson1ProposalSummaryList = (output, context) => {
@@ -2625,7 +2625,7 @@ const deserializeAws_restJson1ProposalVoteList = (output, context) => {
2625
2625
  };
2626
2626
  const deserializeAws_restJson1RemoveAction = (output, context) => {
2627
2627
  return {
2628
- MemberId: smithy_client_1.expectString(output.MemberId),
2628
+ MemberId: (0, smithy_client_1.expectString)(output.MemberId),
2629
2629
  };
2630
2630
  };
2631
2631
  const deserializeAws_restJson1RemoveActionList = (output, context) => {
@@ -2641,9 +2641,9 @@ const deserializeAws_restJson1RemoveActionList = (output, context) => {
2641
2641
  };
2642
2642
  const deserializeAws_restJson1VoteSummary = (output, context) => {
2643
2643
  return {
2644
- MemberId: smithy_client_1.expectString(output.MemberId),
2645
- MemberName: smithy_client_1.expectString(output.MemberName),
2646
- Vote: smithy_client_1.expectString(output.Vote),
2644
+ MemberId: (0, smithy_client_1.expectString)(output.MemberId),
2645
+ MemberName: (0, smithy_client_1.expectString)(output.MemberName),
2646
+ Vote: (0, smithy_client_1.expectString)(output.Vote),
2647
2647
  };
2648
2648
  };
2649
2649
  const deserializeAws_restJson1VotingPolicy = (output, context) => {