@aws-sdk/client-managedblockchain 3.306.0 → 3.309.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 (59) hide show
  1. package/dist-cjs/commands/CreateAccessorCommand.js +2 -2
  2. package/dist-cjs/commands/CreateMemberCommand.js +2 -2
  3. package/dist-cjs/commands/CreateNetworkCommand.js +2 -2
  4. package/dist-cjs/commands/CreateNodeCommand.js +2 -2
  5. package/dist-cjs/commands/CreateProposalCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteAccessorCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteMemberCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteNodeCommand.js +2 -2
  9. package/dist-cjs/commands/GetAccessorCommand.js +2 -2
  10. package/dist-cjs/commands/GetMemberCommand.js +2 -2
  11. package/dist-cjs/commands/GetNetworkCommand.js +2 -2
  12. package/dist-cjs/commands/GetNodeCommand.js +2 -2
  13. package/dist-cjs/commands/GetProposalCommand.js +2 -2
  14. package/dist-cjs/commands/ListAccessorsCommand.js +2 -2
  15. package/dist-cjs/commands/ListInvitationsCommand.js +2 -2
  16. package/dist-cjs/commands/ListMembersCommand.js +2 -2
  17. package/dist-cjs/commands/ListNetworksCommand.js +2 -2
  18. package/dist-cjs/commands/ListNodesCommand.js +2 -2
  19. package/dist-cjs/commands/ListProposalVotesCommand.js +2 -2
  20. package/dist-cjs/commands/ListProposalsCommand.js +2 -2
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  22. package/dist-cjs/commands/RejectInvitationCommand.js +2 -2
  23. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  24. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  25. package/dist-cjs/commands/UpdateMemberCommand.js +2 -2
  26. package/dist-cjs/commands/UpdateNodeCommand.js +2 -2
  27. package/dist-cjs/commands/VoteOnProposalCommand.js +2 -2
  28. package/dist-cjs/protocols/Aws_restJson1.js +461 -481
  29. package/dist-es/commands/CreateAccessorCommand.js +3 -3
  30. package/dist-es/commands/CreateMemberCommand.js +3 -3
  31. package/dist-es/commands/CreateNetworkCommand.js +3 -3
  32. package/dist-es/commands/CreateNodeCommand.js +3 -3
  33. package/dist-es/commands/CreateProposalCommand.js +3 -3
  34. package/dist-es/commands/DeleteAccessorCommand.js +3 -3
  35. package/dist-es/commands/DeleteMemberCommand.js +3 -3
  36. package/dist-es/commands/DeleteNodeCommand.js +3 -3
  37. package/dist-es/commands/GetAccessorCommand.js +3 -3
  38. package/dist-es/commands/GetMemberCommand.js +3 -3
  39. package/dist-es/commands/GetNetworkCommand.js +3 -3
  40. package/dist-es/commands/GetNodeCommand.js +3 -3
  41. package/dist-es/commands/GetProposalCommand.js +3 -3
  42. package/dist-es/commands/ListAccessorsCommand.js +3 -3
  43. package/dist-es/commands/ListInvitationsCommand.js +3 -3
  44. package/dist-es/commands/ListMembersCommand.js +3 -3
  45. package/dist-es/commands/ListNetworksCommand.js +3 -3
  46. package/dist-es/commands/ListNodesCommand.js +3 -3
  47. package/dist-es/commands/ListProposalVotesCommand.js +3 -3
  48. package/dist-es/commands/ListProposalsCommand.js +3 -3
  49. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  50. package/dist-es/commands/RejectInvitationCommand.js +3 -3
  51. package/dist-es/commands/TagResourceCommand.js +3 -3
  52. package/dist-es/commands/UntagResourceCommand.js +3 -3
  53. package/dist-es/commands/UpdateMemberCommand.js +3 -3
  54. package/dist-es/commands/UpdateNodeCommand.js +3 -3
  55. package/dist-es/commands/VoteOnProposalCommand.js +3 -3
  56. package/dist-es/protocols/Aws_restJson1.js +405 -425
  57. package/dist-types/protocols/Aws_restJson1.d.ts +216 -54
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +54 -54
  59. package/package.json +6 -6
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { ManagedBlockchainServiceException as __BaseException } from "../models/ManagedBlockchainServiceException";
5
5
  import { AccessDeniedException, IllegalActionException, InternalServiceErrorException, InvalidRequestException, ResourceAlreadyExistsException, ResourceLimitExceededException, ResourceNotFoundException, ResourceNotReadyException, ThrottlingException, TooManyTagsException, } from "../models/models_0";
6
- export const serializeAws_restJson1CreateAccessorCommand = async (input, context) => {
6
+ export const se_CreateAccessorCommand = async (input, context) => {
7
7
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
8
8
  const headers = {
9
9
  "content-type": "application/json",
@@ -13,7 +13,7 @@ export const serializeAws_restJson1CreateAccessorCommand = async (input, context
13
13
  body = JSON.stringify({
14
14
  ...(input.AccessorType != null && { AccessorType: input.AccessorType }),
15
15
  ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(),
16
- ...(input.Tags != null && { Tags: serializeAws_restJson1InputTagMap(input.Tags, context) }),
16
+ ...(input.Tags != null && { Tags: se_InputTagMap(input.Tags, context) }),
17
17
  });
18
18
  return new __HttpRequest({
19
19
  protocol,
@@ -25,7 +25,7 @@ export const serializeAws_restJson1CreateAccessorCommand = async (input, context
25
25
  body,
26
26
  });
27
27
  };
28
- export const serializeAws_restJson1CreateMemberCommand = async (input, context) => {
28
+ export const se_CreateMemberCommand = async (input, context) => {
29
29
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
30
30
  const headers = {
31
31
  "content-type": "application/json",
@@ -37,7 +37,7 @@ export const serializeAws_restJson1CreateMemberCommand = async (input, context)
37
37
  ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(),
38
38
  ...(input.InvitationId != null && { InvitationId: input.InvitationId }),
39
39
  ...(input.MemberConfiguration != null && {
40
- MemberConfiguration: serializeAws_restJson1MemberConfiguration(input.MemberConfiguration, context),
40
+ MemberConfiguration: se_MemberConfiguration(input.MemberConfiguration, context),
41
41
  }),
42
42
  });
43
43
  return new __HttpRequest({
@@ -50,7 +50,7 @@ export const serializeAws_restJson1CreateMemberCommand = async (input, context)
50
50
  body,
51
51
  });
52
52
  };
53
- export const serializeAws_restJson1CreateNetworkCommand = async (input, context) => {
53
+ export const se_CreateNetworkCommand = async (input, context) => {
54
54
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
55
55
  const headers = {
56
56
  "content-type": "application/json",
@@ -62,17 +62,15 @@ export const serializeAws_restJson1CreateNetworkCommand = async (input, context)
62
62
  ...(input.Description != null && { Description: input.Description }),
63
63
  ...(input.Framework != null && { Framework: input.Framework }),
64
64
  ...(input.FrameworkConfiguration != null && {
65
- FrameworkConfiguration: serializeAws_restJson1NetworkFrameworkConfiguration(input.FrameworkConfiguration, context),
65
+ FrameworkConfiguration: se_NetworkFrameworkConfiguration(input.FrameworkConfiguration, context),
66
66
  }),
67
67
  ...(input.FrameworkVersion != null && { FrameworkVersion: input.FrameworkVersion }),
68
68
  ...(input.MemberConfiguration != null && {
69
- MemberConfiguration: serializeAws_restJson1MemberConfiguration(input.MemberConfiguration, context),
69
+ MemberConfiguration: se_MemberConfiguration(input.MemberConfiguration, context),
70
70
  }),
71
71
  ...(input.Name != null && { Name: input.Name }),
72
- ...(input.Tags != null && { Tags: serializeAws_restJson1InputTagMap(input.Tags, context) }),
73
- ...(input.VotingPolicy != null && {
74
- VotingPolicy: serializeAws_restJson1VotingPolicy(input.VotingPolicy, context),
75
- }),
72
+ ...(input.Tags != null && { Tags: se_InputTagMap(input.Tags, context) }),
73
+ ...(input.VotingPolicy != null && { VotingPolicy: se_VotingPolicy(input.VotingPolicy, context) }),
76
74
  });
77
75
  return new __HttpRequest({
78
76
  protocol,
@@ -84,7 +82,7 @@ export const serializeAws_restJson1CreateNetworkCommand = async (input, context)
84
82
  body,
85
83
  });
86
84
  };
87
- export const serializeAws_restJson1CreateNodeCommand = async (input, context) => {
85
+ export const se_CreateNodeCommand = async (input, context) => {
88
86
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
89
87
  const headers = {
90
88
  "content-type": "application/json",
@@ -96,9 +94,9 @@ export const serializeAws_restJson1CreateNodeCommand = async (input, context) =>
96
94
  ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(),
97
95
  ...(input.MemberId != null && { MemberId: input.MemberId }),
98
96
  ...(input.NodeConfiguration != null && {
99
- NodeConfiguration: serializeAws_restJson1NodeConfiguration(input.NodeConfiguration, context),
97
+ NodeConfiguration: se_NodeConfiguration(input.NodeConfiguration, context),
100
98
  }),
101
- ...(input.Tags != null && { Tags: serializeAws_restJson1InputTagMap(input.Tags, context) }),
99
+ ...(input.Tags != null && { Tags: se_InputTagMap(input.Tags, context) }),
102
100
  });
103
101
  return new __HttpRequest({
104
102
  protocol,
@@ -110,7 +108,7 @@ export const serializeAws_restJson1CreateNodeCommand = async (input, context) =>
110
108
  body,
111
109
  });
112
110
  };
113
- export const serializeAws_restJson1CreateProposalCommand = async (input, context) => {
111
+ export const se_CreateProposalCommand = async (input, context) => {
114
112
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
115
113
  const headers = {
116
114
  "content-type": "application/json",
@@ -119,11 +117,11 @@ export const serializeAws_restJson1CreateProposalCommand = async (input, context
119
117
  resolvedPath = __resolvedPath(resolvedPath, input, "NetworkId", () => input.NetworkId, "{NetworkId}", false);
120
118
  let body;
121
119
  body = JSON.stringify({
122
- ...(input.Actions != null && { Actions: serializeAws_restJson1ProposalActions(input.Actions, context) }),
120
+ ...(input.Actions != null && { Actions: se_ProposalActions(input.Actions, context) }),
123
121
  ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(),
124
122
  ...(input.Description != null && { Description: input.Description }),
125
123
  ...(input.MemberId != null && { MemberId: input.MemberId }),
126
- ...(input.Tags != null && { Tags: serializeAws_restJson1InputTagMap(input.Tags, context) }),
124
+ ...(input.Tags != null && { Tags: se_InputTagMap(input.Tags, context) }),
127
125
  });
128
126
  return new __HttpRequest({
129
127
  protocol,
@@ -135,7 +133,7 @@ export const serializeAws_restJson1CreateProposalCommand = async (input, context
135
133
  body,
136
134
  });
137
135
  };
138
- export const serializeAws_restJson1DeleteAccessorCommand = async (input, context) => {
136
+ export const se_DeleteAccessorCommand = async (input, context) => {
139
137
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
140
138
  const headers = {};
141
139
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accessors/{AccessorId}";
@@ -151,7 +149,7 @@ export const serializeAws_restJson1DeleteAccessorCommand = async (input, context
151
149
  body,
152
150
  });
153
151
  };
154
- export const serializeAws_restJson1DeleteMemberCommand = async (input, context) => {
152
+ export const se_DeleteMemberCommand = async (input, context) => {
155
153
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
156
154
  const headers = {};
157
155
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/members/{MemberId}";
@@ -168,7 +166,7 @@ export const serializeAws_restJson1DeleteMemberCommand = async (input, context)
168
166
  body,
169
167
  });
170
168
  };
171
- export const serializeAws_restJson1DeleteNodeCommand = async (input, context) => {
169
+ export const se_DeleteNodeCommand = async (input, context) => {
172
170
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
173
171
  const headers = {};
174
172
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/nodes/{NodeId}";
@@ -189,7 +187,7 @@ export const serializeAws_restJson1DeleteNodeCommand = async (input, context) =>
189
187
  body,
190
188
  });
191
189
  };
192
- export const serializeAws_restJson1GetAccessorCommand = async (input, context) => {
190
+ export const se_GetAccessorCommand = async (input, context) => {
193
191
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
194
192
  const headers = {};
195
193
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accessors/{AccessorId}";
@@ -205,7 +203,7 @@ export const serializeAws_restJson1GetAccessorCommand = async (input, context) =
205
203
  body,
206
204
  });
207
205
  };
208
- export const serializeAws_restJson1GetMemberCommand = async (input, context) => {
206
+ export const se_GetMemberCommand = async (input, context) => {
209
207
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
210
208
  const headers = {};
211
209
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/members/{MemberId}";
@@ -222,7 +220,7 @@ export const serializeAws_restJson1GetMemberCommand = async (input, context) =>
222
220
  body,
223
221
  });
224
222
  };
225
- export const serializeAws_restJson1GetNetworkCommand = async (input, context) => {
223
+ export const se_GetNetworkCommand = async (input, context) => {
226
224
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
227
225
  const headers = {};
228
226
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}";
@@ -238,7 +236,7 @@ export const serializeAws_restJson1GetNetworkCommand = async (input, context) =>
238
236
  body,
239
237
  });
240
238
  };
241
- export const serializeAws_restJson1GetNodeCommand = async (input, context) => {
239
+ export const se_GetNodeCommand = async (input, context) => {
242
240
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
243
241
  const headers = {};
244
242
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/nodes/{NodeId}";
@@ -259,7 +257,7 @@ export const serializeAws_restJson1GetNodeCommand = async (input, context) => {
259
257
  body,
260
258
  });
261
259
  };
262
- export const serializeAws_restJson1GetProposalCommand = async (input, context) => {
260
+ export const se_GetProposalCommand = async (input, context) => {
263
261
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
264
262
  const headers = {};
265
263
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -277,7 +275,7 @@ export const serializeAws_restJson1GetProposalCommand = async (input, context) =
277
275
  body,
278
276
  });
279
277
  };
280
- export const serializeAws_restJson1ListAccessorsCommand = async (input, context) => {
278
+ export const se_ListAccessorsCommand = async (input, context) => {
281
279
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
282
280
  const headers = {};
283
281
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accessors";
@@ -297,7 +295,7 @@ export const serializeAws_restJson1ListAccessorsCommand = async (input, context)
297
295
  body,
298
296
  });
299
297
  };
300
- export const serializeAws_restJson1ListInvitationsCommand = async (input, context) => {
298
+ export const se_ListInvitationsCommand = async (input, context) => {
301
299
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
302
300
  const headers = {};
303
301
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/invitations";
@@ -317,7 +315,7 @@ export const serializeAws_restJson1ListInvitationsCommand = async (input, contex
317
315
  body,
318
316
  });
319
317
  };
320
- export const serializeAws_restJson1ListMembersCommand = async (input, context) => {
318
+ export const se_ListMembersCommand = async (input, context) => {
321
319
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
322
320
  const headers = {};
323
321
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/members";
@@ -341,7 +339,7 @@ export const serializeAws_restJson1ListMembersCommand = async (input, context) =
341
339
  body,
342
340
  });
343
341
  };
344
- export const serializeAws_restJson1ListNetworksCommand = async (input, context) => {
342
+ export const se_ListNetworksCommand = async (input, context) => {
345
343
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
346
344
  const headers = {};
347
345
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks";
@@ -364,7 +362,7 @@ export const serializeAws_restJson1ListNetworksCommand = async (input, context)
364
362
  body,
365
363
  });
366
364
  };
367
- export const serializeAws_restJson1ListNodesCommand = async (input, context) => {
365
+ export const se_ListNodesCommand = async (input, context) => {
368
366
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
369
367
  const headers = {};
370
368
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/nodes";
@@ -387,7 +385,7 @@ export const serializeAws_restJson1ListNodesCommand = async (input, context) =>
387
385
  body,
388
386
  });
389
387
  };
390
- export const serializeAws_restJson1ListProposalsCommand = async (input, context) => {
388
+ export const se_ListProposalsCommand = async (input, context) => {
391
389
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
392
390
  const headers = {};
393
391
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/proposals";
@@ -408,7 +406,7 @@ export const serializeAws_restJson1ListProposalsCommand = async (input, context)
408
406
  body,
409
407
  });
410
408
  };
411
- export const serializeAws_restJson1ListProposalVotesCommand = async (input, context) => {
409
+ export const se_ListProposalVotesCommand = async (input, context) => {
412
410
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
413
411
  const headers = {};
414
412
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -431,7 +429,7 @@ export const serializeAws_restJson1ListProposalVotesCommand = async (input, cont
431
429
  body,
432
430
  });
433
431
  };
434
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
432
+ export const se_ListTagsForResourceCommand = async (input, context) => {
435
433
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
436
434
  const headers = {};
437
435
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -447,7 +445,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
447
445
  body,
448
446
  });
449
447
  };
450
- export const serializeAws_restJson1RejectInvitationCommand = async (input, context) => {
448
+ export const se_RejectInvitationCommand = async (input, context) => {
451
449
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
452
450
  const headers = {};
453
451
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/invitations/{InvitationId}";
@@ -463,7 +461,7 @@ export const serializeAws_restJson1RejectInvitationCommand = async (input, conte
463
461
  body,
464
462
  });
465
463
  };
466
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
464
+ export const se_TagResourceCommand = async (input, context) => {
467
465
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
468
466
  const headers = {
469
467
  "content-type": "application/json",
@@ -472,7 +470,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
472
470
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
473
471
  let body;
474
472
  body = JSON.stringify({
475
- ...(input.Tags != null && { Tags: serializeAws_restJson1InputTagMap(input.Tags, context) }),
473
+ ...(input.Tags != null && { Tags: se_InputTagMap(input.Tags, context) }),
476
474
  });
477
475
  return new __HttpRequest({
478
476
  protocol,
@@ -484,7 +482,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
484
482
  body,
485
483
  });
486
484
  };
487
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
485
+ export const se_UntagResourceCommand = async (input, context) => {
488
486
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
489
487
  const headers = {};
490
488
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -507,7 +505,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
507
505
  body,
508
506
  });
509
507
  };
510
- export const serializeAws_restJson1UpdateMemberCommand = async (input, context) => {
508
+ export const se_UpdateMemberCommand = async (input, context) => {
511
509
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
512
510
  const headers = {
513
511
  "content-type": "application/json",
@@ -518,7 +516,7 @@ export const serializeAws_restJson1UpdateMemberCommand = async (input, context)
518
516
  let body;
519
517
  body = JSON.stringify({
520
518
  ...(input.LogPublishingConfiguration != null && {
521
- LogPublishingConfiguration: serializeAws_restJson1MemberLogPublishingConfiguration(input.LogPublishingConfiguration, context),
519
+ LogPublishingConfiguration: se_MemberLogPublishingConfiguration(input.LogPublishingConfiguration, context),
522
520
  }),
523
521
  });
524
522
  return new __HttpRequest({
@@ -531,7 +529,7 @@ export const serializeAws_restJson1UpdateMemberCommand = async (input, context)
531
529
  body,
532
530
  });
533
531
  };
534
- export const serializeAws_restJson1UpdateNodeCommand = async (input, context) => {
532
+ export const se_UpdateNodeCommand = async (input, context) => {
535
533
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
536
534
  const headers = {
537
535
  "content-type": "application/json",
@@ -542,7 +540,7 @@ export const serializeAws_restJson1UpdateNodeCommand = async (input, context) =>
542
540
  let body;
543
541
  body = JSON.stringify({
544
542
  ...(input.LogPublishingConfiguration != null && {
545
- LogPublishingConfiguration: serializeAws_restJson1NodeLogPublishingConfiguration(input.LogPublishingConfiguration, context),
543
+ LogPublishingConfiguration: se_NodeLogPublishingConfiguration(input.LogPublishingConfiguration, context),
546
544
  }),
547
545
  ...(input.MemberId != null && { MemberId: input.MemberId }),
548
546
  });
@@ -556,7 +554,7 @@ export const serializeAws_restJson1UpdateNodeCommand = async (input, context) =>
556
554
  body,
557
555
  });
558
556
  };
559
- export const serializeAws_restJson1VoteOnProposalCommand = async (input, context) => {
557
+ export const se_VoteOnProposalCommand = async (input, context) => {
560
558
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
561
559
  const headers = {
562
560
  "content-type": "application/json",
@@ -580,9 +578,9 @@ export const serializeAws_restJson1VoteOnProposalCommand = async (input, context
580
578
  body,
581
579
  });
582
580
  };
583
- export const deserializeAws_restJson1CreateAccessorCommand = async (output, context) => {
581
+ export const de_CreateAccessorCommand = async (output, context) => {
584
582
  if (output.statusCode !== 200 && output.statusCode >= 300) {
585
- return deserializeAws_restJson1CreateAccessorCommandError(output, context);
583
+ return de_CreateAccessorCommandError(output, context);
586
584
  }
587
585
  const contents = map({
588
586
  $metadata: deserializeMetadata(output),
@@ -596,7 +594,7 @@ export const deserializeAws_restJson1CreateAccessorCommand = async (output, cont
596
594
  }
597
595
  return contents;
598
596
  };
599
- const deserializeAws_restJson1CreateAccessorCommandError = async (output, context) => {
597
+ const de_CreateAccessorCommandError = async (output, context) => {
600
598
  const parsedOutput = {
601
599
  ...output,
602
600
  body: await parseErrorBody(output.body, context),
@@ -605,25 +603,25 @@ const deserializeAws_restJson1CreateAccessorCommandError = async (output, contex
605
603
  switch (errorCode) {
606
604
  case "AccessDeniedException":
607
605
  case "com.amazonaws.managedblockchain#AccessDeniedException":
608
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
606
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
609
607
  case "InternalServiceErrorException":
610
608
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
611
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
609
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
612
610
  case "InvalidRequestException":
613
611
  case "com.amazonaws.managedblockchain#InvalidRequestException":
614
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
612
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
615
613
  case "ResourceAlreadyExistsException":
616
614
  case "com.amazonaws.managedblockchain#ResourceAlreadyExistsException":
617
- throw await deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
615
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
618
616
  case "ResourceLimitExceededException":
619
617
  case "com.amazonaws.managedblockchain#ResourceLimitExceededException":
620
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
618
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
621
619
  case "ThrottlingException":
622
620
  case "com.amazonaws.managedblockchain#ThrottlingException":
623
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
621
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
624
622
  case "TooManyTagsException":
625
623
  case "com.amazonaws.managedblockchain#TooManyTagsException":
626
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
624
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
627
625
  default:
628
626
  const parsedBody = parsedOutput.body;
629
627
  throwDefaultError({
@@ -634,9 +632,9 @@ const deserializeAws_restJson1CreateAccessorCommandError = async (output, contex
634
632
  });
635
633
  }
636
634
  };
637
- export const deserializeAws_restJson1CreateMemberCommand = async (output, context) => {
635
+ export const de_CreateMemberCommand = async (output, context) => {
638
636
  if (output.statusCode !== 200 && output.statusCode >= 300) {
639
- return deserializeAws_restJson1CreateMemberCommandError(output, context);
637
+ return de_CreateMemberCommandError(output, context);
640
638
  }
641
639
  const contents = map({
642
640
  $metadata: deserializeMetadata(output),
@@ -647,7 +645,7 @@ export const deserializeAws_restJson1CreateMemberCommand = async (output, contex
647
645
  }
648
646
  return contents;
649
647
  };
650
- const deserializeAws_restJson1CreateMemberCommandError = async (output, context) => {
648
+ const de_CreateMemberCommandError = async (output, context) => {
651
649
  const parsedOutput = {
652
650
  ...output,
653
651
  body: await parseErrorBody(output.body, context),
@@ -656,31 +654,31 @@ const deserializeAws_restJson1CreateMemberCommandError = async (output, context)
656
654
  switch (errorCode) {
657
655
  case "AccessDeniedException":
658
656
  case "com.amazonaws.managedblockchain#AccessDeniedException":
659
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
657
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
660
658
  case "InternalServiceErrorException":
661
659
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
662
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
660
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
663
661
  case "InvalidRequestException":
664
662
  case "com.amazonaws.managedblockchain#InvalidRequestException":
665
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
663
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
666
664
  case "ResourceAlreadyExistsException":
667
665
  case "com.amazonaws.managedblockchain#ResourceAlreadyExistsException":
668
- throw await deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
666
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
669
667
  case "ResourceLimitExceededException":
670
668
  case "com.amazonaws.managedblockchain#ResourceLimitExceededException":
671
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
669
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
672
670
  case "ResourceNotFoundException":
673
671
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
674
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
672
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
675
673
  case "ResourceNotReadyException":
676
674
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
677
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
675
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
678
676
  case "ThrottlingException":
679
677
  case "com.amazonaws.managedblockchain#ThrottlingException":
680
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
678
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
681
679
  case "TooManyTagsException":
682
680
  case "com.amazonaws.managedblockchain#TooManyTagsException":
683
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
681
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
684
682
  default:
685
683
  const parsedBody = parsedOutput.body;
686
684
  throwDefaultError({
@@ -691,9 +689,9 @@ const deserializeAws_restJson1CreateMemberCommandError = async (output, context)
691
689
  });
692
690
  }
693
691
  };
694
- export const deserializeAws_restJson1CreateNetworkCommand = async (output, context) => {
692
+ export const de_CreateNetworkCommand = async (output, context) => {
695
693
  if (output.statusCode !== 200 && output.statusCode >= 300) {
696
- return deserializeAws_restJson1CreateNetworkCommandError(output, context);
694
+ return de_CreateNetworkCommandError(output, context);
697
695
  }
698
696
  const contents = map({
699
697
  $metadata: deserializeMetadata(output),
@@ -707,7 +705,7 @@ export const deserializeAws_restJson1CreateNetworkCommand = async (output, conte
707
705
  }
708
706
  return contents;
709
707
  };
710
- const deserializeAws_restJson1CreateNetworkCommandError = async (output, context) => {
708
+ const de_CreateNetworkCommandError = async (output, context) => {
711
709
  const parsedOutput = {
712
710
  ...output,
713
711
  body: await parseErrorBody(output.body, context),
@@ -716,25 +714,25 @@ const deserializeAws_restJson1CreateNetworkCommandError = async (output, context
716
714
  switch (errorCode) {
717
715
  case "AccessDeniedException":
718
716
  case "com.amazonaws.managedblockchain#AccessDeniedException":
719
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
717
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
720
718
  case "InternalServiceErrorException":
721
719
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
722
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
720
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
723
721
  case "InvalidRequestException":
724
722
  case "com.amazonaws.managedblockchain#InvalidRequestException":
725
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
723
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
726
724
  case "ResourceAlreadyExistsException":
727
725
  case "com.amazonaws.managedblockchain#ResourceAlreadyExistsException":
728
- throw await deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
726
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
729
727
  case "ResourceLimitExceededException":
730
728
  case "com.amazonaws.managedblockchain#ResourceLimitExceededException":
731
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
729
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
732
730
  case "ThrottlingException":
733
731
  case "com.amazonaws.managedblockchain#ThrottlingException":
734
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
732
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
735
733
  case "TooManyTagsException":
736
734
  case "com.amazonaws.managedblockchain#TooManyTagsException":
737
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
735
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
738
736
  default:
739
737
  const parsedBody = parsedOutput.body;
740
738
  throwDefaultError({
@@ -745,9 +743,9 @@ const deserializeAws_restJson1CreateNetworkCommandError = async (output, context
745
743
  });
746
744
  }
747
745
  };
748
- export const deserializeAws_restJson1CreateNodeCommand = async (output, context) => {
746
+ export const de_CreateNodeCommand = async (output, context) => {
749
747
  if (output.statusCode !== 200 && output.statusCode >= 300) {
750
- return deserializeAws_restJson1CreateNodeCommandError(output, context);
748
+ return de_CreateNodeCommandError(output, context);
751
749
  }
752
750
  const contents = map({
753
751
  $metadata: deserializeMetadata(output),
@@ -758,7 +756,7 @@ export const deserializeAws_restJson1CreateNodeCommand = async (output, context)
758
756
  }
759
757
  return contents;
760
758
  };
761
- const deserializeAws_restJson1CreateNodeCommandError = async (output, context) => {
759
+ const de_CreateNodeCommandError = async (output, context) => {
762
760
  const parsedOutput = {
763
761
  ...output,
764
762
  body: await parseErrorBody(output.body, context),
@@ -767,31 +765,31 @@ const deserializeAws_restJson1CreateNodeCommandError = async (output, context) =
767
765
  switch (errorCode) {
768
766
  case "AccessDeniedException":
769
767
  case "com.amazonaws.managedblockchain#AccessDeniedException":
770
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
768
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
771
769
  case "InternalServiceErrorException":
772
770
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
773
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
771
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
774
772
  case "InvalidRequestException":
775
773
  case "com.amazonaws.managedblockchain#InvalidRequestException":
776
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
774
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
777
775
  case "ResourceAlreadyExistsException":
778
776
  case "com.amazonaws.managedblockchain#ResourceAlreadyExistsException":
779
- throw await deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
777
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
780
778
  case "ResourceLimitExceededException":
781
779
  case "com.amazonaws.managedblockchain#ResourceLimitExceededException":
782
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
780
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
783
781
  case "ResourceNotFoundException":
784
782
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
785
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
783
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
786
784
  case "ResourceNotReadyException":
787
785
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
788
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
786
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
789
787
  case "ThrottlingException":
790
788
  case "com.amazonaws.managedblockchain#ThrottlingException":
791
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
789
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
792
790
  case "TooManyTagsException":
793
791
  case "com.amazonaws.managedblockchain#TooManyTagsException":
794
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
792
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
795
793
  default:
796
794
  const parsedBody = parsedOutput.body;
797
795
  throwDefaultError({
@@ -802,9 +800,9 @@ const deserializeAws_restJson1CreateNodeCommandError = async (output, context) =
802
800
  });
803
801
  }
804
802
  };
805
- export const deserializeAws_restJson1CreateProposalCommand = async (output, context) => {
803
+ export const de_CreateProposalCommand = async (output, context) => {
806
804
  if (output.statusCode !== 200 && output.statusCode >= 300) {
807
- return deserializeAws_restJson1CreateProposalCommandError(output, context);
805
+ return de_CreateProposalCommandError(output, context);
808
806
  }
809
807
  const contents = map({
810
808
  $metadata: deserializeMetadata(output),
@@ -815,7 +813,7 @@ export const deserializeAws_restJson1CreateProposalCommand = async (output, cont
815
813
  }
816
814
  return contents;
817
815
  };
818
- const deserializeAws_restJson1CreateProposalCommandError = async (output, context) => {
816
+ const de_CreateProposalCommandError = async (output, context) => {
819
817
  const parsedOutput = {
820
818
  ...output,
821
819
  body: await parseErrorBody(output.body, context),
@@ -824,25 +822,25 @@ const deserializeAws_restJson1CreateProposalCommandError = async (output, contex
824
822
  switch (errorCode) {
825
823
  case "AccessDeniedException":
826
824
  case "com.amazonaws.managedblockchain#AccessDeniedException":
827
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
825
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
828
826
  case "InternalServiceErrorException":
829
827
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
830
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
828
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
831
829
  case "InvalidRequestException":
832
830
  case "com.amazonaws.managedblockchain#InvalidRequestException":
833
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
831
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
834
832
  case "ResourceNotFoundException":
835
833
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
836
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
834
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
837
835
  case "ResourceNotReadyException":
838
836
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
839
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
837
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
840
838
  case "ThrottlingException":
841
839
  case "com.amazonaws.managedblockchain#ThrottlingException":
842
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
840
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
843
841
  case "TooManyTagsException":
844
842
  case "com.amazonaws.managedblockchain#TooManyTagsException":
845
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
843
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
846
844
  default:
847
845
  const parsedBody = parsedOutput.body;
848
846
  throwDefaultError({
@@ -853,9 +851,9 @@ const deserializeAws_restJson1CreateProposalCommandError = async (output, contex
853
851
  });
854
852
  }
855
853
  };
856
- export const deserializeAws_restJson1DeleteAccessorCommand = async (output, context) => {
854
+ export const de_DeleteAccessorCommand = async (output, context) => {
857
855
  if (output.statusCode !== 200 && output.statusCode >= 300) {
858
- return deserializeAws_restJson1DeleteAccessorCommandError(output, context);
856
+ return de_DeleteAccessorCommandError(output, context);
859
857
  }
860
858
  const contents = map({
861
859
  $metadata: deserializeMetadata(output),
@@ -863,7 +861,7 @@ export const deserializeAws_restJson1DeleteAccessorCommand = async (output, cont
863
861
  await collectBody(output.body, context);
864
862
  return contents;
865
863
  };
866
- const deserializeAws_restJson1DeleteAccessorCommandError = async (output, context) => {
864
+ const de_DeleteAccessorCommandError = async (output, context) => {
867
865
  const parsedOutput = {
868
866
  ...output,
869
867
  body: await parseErrorBody(output.body, context),
@@ -872,19 +870,19 @@ const deserializeAws_restJson1DeleteAccessorCommandError = async (output, contex
872
870
  switch (errorCode) {
873
871
  case "AccessDeniedException":
874
872
  case "com.amazonaws.managedblockchain#AccessDeniedException":
875
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
873
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
876
874
  case "InternalServiceErrorException":
877
875
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
878
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
876
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
879
877
  case "InvalidRequestException":
880
878
  case "com.amazonaws.managedblockchain#InvalidRequestException":
881
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
879
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
882
880
  case "ResourceNotFoundException":
883
881
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
884
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
882
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
885
883
  case "ThrottlingException":
886
884
  case "com.amazonaws.managedblockchain#ThrottlingException":
887
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
885
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
888
886
  default:
889
887
  const parsedBody = parsedOutput.body;
890
888
  throwDefaultError({
@@ -895,9 +893,9 @@ const deserializeAws_restJson1DeleteAccessorCommandError = async (output, contex
895
893
  });
896
894
  }
897
895
  };
898
- export const deserializeAws_restJson1DeleteMemberCommand = async (output, context) => {
896
+ export const de_DeleteMemberCommand = async (output, context) => {
899
897
  if (output.statusCode !== 200 && output.statusCode >= 300) {
900
- return deserializeAws_restJson1DeleteMemberCommandError(output, context);
898
+ return de_DeleteMemberCommandError(output, context);
901
899
  }
902
900
  const contents = map({
903
901
  $metadata: deserializeMetadata(output),
@@ -905,7 +903,7 @@ export const deserializeAws_restJson1DeleteMemberCommand = async (output, contex
905
903
  await collectBody(output.body, context);
906
904
  return contents;
907
905
  };
908
- const deserializeAws_restJson1DeleteMemberCommandError = async (output, context) => {
906
+ const de_DeleteMemberCommandError = async (output, context) => {
909
907
  const parsedOutput = {
910
908
  ...output,
911
909
  body: await parseErrorBody(output.body, context),
@@ -914,22 +912,22 @@ const deserializeAws_restJson1DeleteMemberCommandError = async (output, context)
914
912
  switch (errorCode) {
915
913
  case "AccessDeniedException":
916
914
  case "com.amazonaws.managedblockchain#AccessDeniedException":
917
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
915
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
918
916
  case "InternalServiceErrorException":
919
917
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
920
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
918
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
921
919
  case "InvalidRequestException":
922
920
  case "com.amazonaws.managedblockchain#InvalidRequestException":
923
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
921
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
924
922
  case "ResourceNotFoundException":
925
923
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
926
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
924
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
927
925
  case "ResourceNotReadyException":
928
926
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
929
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
927
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
930
928
  case "ThrottlingException":
931
929
  case "com.amazonaws.managedblockchain#ThrottlingException":
932
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
930
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
933
931
  default:
934
932
  const parsedBody = parsedOutput.body;
935
933
  throwDefaultError({
@@ -940,9 +938,9 @@ const deserializeAws_restJson1DeleteMemberCommandError = async (output, context)
940
938
  });
941
939
  }
942
940
  };
943
- export const deserializeAws_restJson1DeleteNodeCommand = async (output, context) => {
941
+ export const de_DeleteNodeCommand = async (output, context) => {
944
942
  if (output.statusCode !== 200 && output.statusCode >= 300) {
945
- return deserializeAws_restJson1DeleteNodeCommandError(output, context);
943
+ return de_DeleteNodeCommandError(output, context);
946
944
  }
947
945
  const contents = map({
948
946
  $metadata: deserializeMetadata(output),
@@ -950,7 +948,7 @@ export const deserializeAws_restJson1DeleteNodeCommand = async (output, context)
950
948
  await collectBody(output.body, context);
951
949
  return contents;
952
950
  };
953
- const deserializeAws_restJson1DeleteNodeCommandError = async (output, context) => {
951
+ const de_DeleteNodeCommandError = async (output, context) => {
954
952
  const parsedOutput = {
955
953
  ...output,
956
954
  body: await parseErrorBody(output.body, context),
@@ -959,22 +957,22 @@ const deserializeAws_restJson1DeleteNodeCommandError = async (output, context) =
959
957
  switch (errorCode) {
960
958
  case "AccessDeniedException":
961
959
  case "com.amazonaws.managedblockchain#AccessDeniedException":
962
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
960
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
963
961
  case "InternalServiceErrorException":
964
962
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
965
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
963
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
966
964
  case "InvalidRequestException":
967
965
  case "com.amazonaws.managedblockchain#InvalidRequestException":
968
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
966
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
969
967
  case "ResourceNotFoundException":
970
968
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
971
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
969
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
972
970
  case "ResourceNotReadyException":
973
971
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
974
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
972
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
975
973
  case "ThrottlingException":
976
974
  case "com.amazonaws.managedblockchain#ThrottlingException":
977
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
975
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
978
976
  default:
979
977
  const parsedBody = parsedOutput.body;
980
978
  throwDefaultError({
@@ -985,20 +983,20 @@ const deserializeAws_restJson1DeleteNodeCommandError = async (output, context) =
985
983
  });
986
984
  }
987
985
  };
988
- export const deserializeAws_restJson1GetAccessorCommand = async (output, context) => {
986
+ export const de_GetAccessorCommand = async (output, context) => {
989
987
  if (output.statusCode !== 200 && output.statusCode >= 300) {
990
- return deserializeAws_restJson1GetAccessorCommandError(output, context);
988
+ return de_GetAccessorCommandError(output, context);
991
989
  }
992
990
  const contents = map({
993
991
  $metadata: deserializeMetadata(output),
994
992
  });
995
993
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
996
994
  if (data.Accessor != null) {
997
- contents.Accessor = deserializeAws_restJson1Accessor(data.Accessor, context);
995
+ contents.Accessor = de_Accessor(data.Accessor, context);
998
996
  }
999
997
  return contents;
1000
998
  };
1001
- const deserializeAws_restJson1GetAccessorCommandError = async (output, context) => {
999
+ const de_GetAccessorCommandError = async (output, context) => {
1002
1000
  const parsedOutput = {
1003
1001
  ...output,
1004
1002
  body: await parseErrorBody(output.body, context),
@@ -1007,19 +1005,19 @@ const deserializeAws_restJson1GetAccessorCommandError = async (output, context)
1007
1005
  switch (errorCode) {
1008
1006
  case "AccessDeniedException":
1009
1007
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1010
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1008
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1011
1009
  case "InternalServiceErrorException":
1012
1010
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1013
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1011
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1014
1012
  case "InvalidRequestException":
1015
1013
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1016
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1014
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1017
1015
  case "ResourceNotFoundException":
1018
1016
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1019
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1017
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1020
1018
  case "ThrottlingException":
1021
1019
  case "com.amazonaws.managedblockchain#ThrottlingException":
1022
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1020
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1023
1021
  default:
1024
1022
  const parsedBody = parsedOutput.body;
1025
1023
  throwDefaultError({
@@ -1030,20 +1028,20 @@ const deserializeAws_restJson1GetAccessorCommandError = async (output, context)
1030
1028
  });
1031
1029
  }
1032
1030
  };
1033
- export const deserializeAws_restJson1GetMemberCommand = async (output, context) => {
1031
+ export const de_GetMemberCommand = async (output, context) => {
1034
1032
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1035
- return deserializeAws_restJson1GetMemberCommandError(output, context);
1033
+ return de_GetMemberCommandError(output, context);
1036
1034
  }
1037
1035
  const contents = map({
1038
1036
  $metadata: deserializeMetadata(output),
1039
1037
  });
1040
1038
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1041
1039
  if (data.Member != null) {
1042
- contents.Member = deserializeAws_restJson1Member(data.Member, context);
1040
+ contents.Member = de_Member(data.Member, context);
1043
1041
  }
1044
1042
  return contents;
1045
1043
  };
1046
- const deserializeAws_restJson1GetMemberCommandError = async (output, context) => {
1044
+ const de_GetMemberCommandError = async (output, context) => {
1047
1045
  const parsedOutput = {
1048
1046
  ...output,
1049
1047
  body: await parseErrorBody(output.body, context),
@@ -1052,19 +1050,19 @@ const deserializeAws_restJson1GetMemberCommandError = async (output, context) =>
1052
1050
  switch (errorCode) {
1053
1051
  case "AccessDeniedException":
1054
1052
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1055
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1053
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1056
1054
  case "InternalServiceErrorException":
1057
1055
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1058
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1056
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1059
1057
  case "InvalidRequestException":
1060
1058
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1061
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1059
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1062
1060
  case "ResourceNotFoundException":
1063
1061
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1064
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1062
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1065
1063
  case "ThrottlingException":
1066
1064
  case "com.amazonaws.managedblockchain#ThrottlingException":
1067
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1065
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1068
1066
  default:
1069
1067
  const parsedBody = parsedOutput.body;
1070
1068
  throwDefaultError({
@@ -1075,20 +1073,20 @@ const deserializeAws_restJson1GetMemberCommandError = async (output, context) =>
1075
1073
  });
1076
1074
  }
1077
1075
  };
1078
- export const deserializeAws_restJson1GetNetworkCommand = async (output, context) => {
1076
+ export const de_GetNetworkCommand = async (output, context) => {
1079
1077
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1080
- return deserializeAws_restJson1GetNetworkCommandError(output, context);
1078
+ return de_GetNetworkCommandError(output, context);
1081
1079
  }
1082
1080
  const contents = map({
1083
1081
  $metadata: deserializeMetadata(output),
1084
1082
  });
1085
1083
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1086
1084
  if (data.Network != null) {
1087
- contents.Network = deserializeAws_restJson1Network(data.Network, context);
1085
+ contents.Network = de_Network(data.Network, context);
1088
1086
  }
1089
1087
  return contents;
1090
1088
  };
1091
- const deserializeAws_restJson1GetNetworkCommandError = async (output, context) => {
1089
+ const de_GetNetworkCommandError = async (output, context) => {
1092
1090
  const parsedOutput = {
1093
1091
  ...output,
1094
1092
  body: await parseErrorBody(output.body, context),
@@ -1097,19 +1095,19 @@ const deserializeAws_restJson1GetNetworkCommandError = async (output, context) =
1097
1095
  switch (errorCode) {
1098
1096
  case "AccessDeniedException":
1099
1097
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1100
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1098
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1101
1099
  case "InternalServiceErrorException":
1102
1100
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1103
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1101
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1104
1102
  case "InvalidRequestException":
1105
1103
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1106
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1104
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1107
1105
  case "ResourceNotFoundException":
1108
1106
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1109
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1107
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1110
1108
  case "ThrottlingException":
1111
1109
  case "com.amazonaws.managedblockchain#ThrottlingException":
1112
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1110
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1113
1111
  default:
1114
1112
  const parsedBody = parsedOutput.body;
1115
1113
  throwDefaultError({
@@ -1120,20 +1118,20 @@ const deserializeAws_restJson1GetNetworkCommandError = async (output, context) =
1120
1118
  });
1121
1119
  }
1122
1120
  };
1123
- export const deserializeAws_restJson1GetNodeCommand = async (output, context) => {
1121
+ export const de_GetNodeCommand = async (output, context) => {
1124
1122
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1125
- return deserializeAws_restJson1GetNodeCommandError(output, context);
1123
+ return de_GetNodeCommandError(output, context);
1126
1124
  }
1127
1125
  const contents = map({
1128
1126
  $metadata: deserializeMetadata(output),
1129
1127
  });
1130
1128
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1131
1129
  if (data.Node != null) {
1132
- contents.Node = deserializeAws_restJson1Node(data.Node, context);
1130
+ contents.Node = de_Node(data.Node, context);
1133
1131
  }
1134
1132
  return contents;
1135
1133
  };
1136
- const deserializeAws_restJson1GetNodeCommandError = async (output, context) => {
1134
+ const de_GetNodeCommandError = async (output, context) => {
1137
1135
  const parsedOutput = {
1138
1136
  ...output,
1139
1137
  body: await parseErrorBody(output.body, context),
@@ -1142,19 +1140,19 @@ const deserializeAws_restJson1GetNodeCommandError = async (output, context) => {
1142
1140
  switch (errorCode) {
1143
1141
  case "AccessDeniedException":
1144
1142
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1145
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1143
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1146
1144
  case "InternalServiceErrorException":
1147
1145
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1148
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1146
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1149
1147
  case "InvalidRequestException":
1150
1148
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1151
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1149
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1152
1150
  case "ResourceNotFoundException":
1153
1151
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1154
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1152
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1155
1153
  case "ThrottlingException":
1156
1154
  case "com.amazonaws.managedblockchain#ThrottlingException":
1157
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1155
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1158
1156
  default:
1159
1157
  const parsedBody = parsedOutput.body;
1160
1158
  throwDefaultError({
@@ -1165,20 +1163,20 @@ const deserializeAws_restJson1GetNodeCommandError = async (output, context) => {
1165
1163
  });
1166
1164
  }
1167
1165
  };
1168
- export const deserializeAws_restJson1GetProposalCommand = async (output, context) => {
1166
+ export const de_GetProposalCommand = async (output, context) => {
1169
1167
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1170
- return deserializeAws_restJson1GetProposalCommandError(output, context);
1168
+ return de_GetProposalCommandError(output, context);
1171
1169
  }
1172
1170
  const contents = map({
1173
1171
  $metadata: deserializeMetadata(output),
1174
1172
  });
1175
1173
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1176
1174
  if (data.Proposal != null) {
1177
- contents.Proposal = deserializeAws_restJson1Proposal(data.Proposal, context);
1175
+ contents.Proposal = de_Proposal(data.Proposal, context);
1178
1176
  }
1179
1177
  return contents;
1180
1178
  };
1181
- const deserializeAws_restJson1GetProposalCommandError = async (output, context) => {
1179
+ const de_GetProposalCommandError = async (output, context) => {
1182
1180
  const parsedOutput = {
1183
1181
  ...output,
1184
1182
  body: await parseErrorBody(output.body, context),
@@ -1187,19 +1185,19 @@ const deserializeAws_restJson1GetProposalCommandError = async (output, context)
1187
1185
  switch (errorCode) {
1188
1186
  case "AccessDeniedException":
1189
1187
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1190
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1188
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1191
1189
  case "InternalServiceErrorException":
1192
1190
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1193
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1191
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1194
1192
  case "InvalidRequestException":
1195
1193
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1196
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1194
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1197
1195
  case "ResourceNotFoundException":
1198
1196
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1199
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1197
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1200
1198
  case "ThrottlingException":
1201
1199
  case "com.amazonaws.managedblockchain#ThrottlingException":
1202
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1200
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1203
1201
  default:
1204
1202
  const parsedBody = parsedOutput.body;
1205
1203
  throwDefaultError({
@@ -1210,23 +1208,23 @@ const deserializeAws_restJson1GetProposalCommandError = async (output, context)
1210
1208
  });
1211
1209
  }
1212
1210
  };
1213
- export const deserializeAws_restJson1ListAccessorsCommand = async (output, context) => {
1211
+ export const de_ListAccessorsCommand = async (output, context) => {
1214
1212
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1215
- return deserializeAws_restJson1ListAccessorsCommandError(output, context);
1213
+ return de_ListAccessorsCommandError(output, context);
1216
1214
  }
1217
1215
  const contents = map({
1218
1216
  $metadata: deserializeMetadata(output),
1219
1217
  });
1220
1218
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1221
1219
  if (data.Accessors != null) {
1222
- contents.Accessors = deserializeAws_restJson1AccessorSummaryList(data.Accessors, context);
1220
+ contents.Accessors = de_AccessorSummaryList(data.Accessors, context);
1223
1221
  }
1224
1222
  if (data.NextToken != null) {
1225
1223
  contents.NextToken = __expectString(data.NextToken);
1226
1224
  }
1227
1225
  return contents;
1228
1226
  };
1229
- const deserializeAws_restJson1ListAccessorsCommandError = async (output, context) => {
1227
+ const de_ListAccessorsCommandError = async (output, context) => {
1230
1228
  const parsedOutput = {
1231
1229
  ...output,
1232
1230
  body: await parseErrorBody(output.body, context),
@@ -1235,16 +1233,16 @@ const deserializeAws_restJson1ListAccessorsCommandError = async (output, context
1235
1233
  switch (errorCode) {
1236
1234
  case "AccessDeniedException":
1237
1235
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1238
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1236
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1239
1237
  case "InternalServiceErrorException":
1240
1238
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1241
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1239
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1242
1240
  case "InvalidRequestException":
1243
1241
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1244
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1242
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1245
1243
  case "ThrottlingException":
1246
1244
  case "com.amazonaws.managedblockchain#ThrottlingException":
1247
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1245
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1248
1246
  default:
1249
1247
  const parsedBody = parsedOutput.body;
1250
1248
  throwDefaultError({
@@ -1255,23 +1253,23 @@ const deserializeAws_restJson1ListAccessorsCommandError = async (output, context
1255
1253
  });
1256
1254
  }
1257
1255
  };
1258
- export const deserializeAws_restJson1ListInvitationsCommand = async (output, context) => {
1256
+ export const de_ListInvitationsCommand = async (output, context) => {
1259
1257
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1260
- return deserializeAws_restJson1ListInvitationsCommandError(output, context);
1258
+ return de_ListInvitationsCommandError(output, context);
1261
1259
  }
1262
1260
  const contents = map({
1263
1261
  $metadata: deserializeMetadata(output),
1264
1262
  });
1265
1263
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1266
1264
  if (data.Invitations != null) {
1267
- contents.Invitations = deserializeAws_restJson1InvitationList(data.Invitations, context);
1265
+ contents.Invitations = de_InvitationList(data.Invitations, context);
1268
1266
  }
1269
1267
  if (data.NextToken != null) {
1270
1268
  contents.NextToken = __expectString(data.NextToken);
1271
1269
  }
1272
1270
  return contents;
1273
1271
  };
1274
- const deserializeAws_restJson1ListInvitationsCommandError = async (output, context) => {
1272
+ const de_ListInvitationsCommandError = async (output, context) => {
1275
1273
  const parsedOutput = {
1276
1274
  ...output,
1277
1275
  body: await parseErrorBody(output.body, context),
@@ -1280,22 +1278,22 @@ const deserializeAws_restJson1ListInvitationsCommandError = async (output, conte
1280
1278
  switch (errorCode) {
1281
1279
  case "AccessDeniedException":
1282
1280
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1283
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1281
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1284
1282
  case "InternalServiceErrorException":
1285
1283
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1286
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1284
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1287
1285
  case "InvalidRequestException":
1288
1286
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1289
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1287
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1290
1288
  case "ResourceLimitExceededException":
1291
1289
  case "com.amazonaws.managedblockchain#ResourceLimitExceededException":
1292
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
1290
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1293
1291
  case "ResourceNotFoundException":
1294
1292
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1295
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1293
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1296
1294
  case "ThrottlingException":
1297
1295
  case "com.amazonaws.managedblockchain#ThrottlingException":
1298
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1296
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1299
1297
  default:
1300
1298
  const parsedBody = parsedOutput.body;
1301
1299
  throwDefaultError({
@@ -1306,23 +1304,23 @@ const deserializeAws_restJson1ListInvitationsCommandError = async (output, conte
1306
1304
  });
1307
1305
  }
1308
1306
  };
1309
- export const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
1307
+ export const de_ListMembersCommand = async (output, context) => {
1310
1308
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1311
- return deserializeAws_restJson1ListMembersCommandError(output, context);
1309
+ return de_ListMembersCommandError(output, context);
1312
1310
  }
1313
1311
  const contents = map({
1314
1312
  $metadata: deserializeMetadata(output),
1315
1313
  });
1316
1314
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1317
1315
  if (data.Members != null) {
1318
- contents.Members = deserializeAws_restJson1MemberSummaryList(data.Members, context);
1316
+ contents.Members = de_MemberSummaryList(data.Members, context);
1319
1317
  }
1320
1318
  if (data.NextToken != null) {
1321
1319
  contents.NextToken = __expectString(data.NextToken);
1322
1320
  }
1323
1321
  return contents;
1324
1322
  };
1325
- const deserializeAws_restJson1ListMembersCommandError = async (output, context) => {
1323
+ const de_ListMembersCommandError = async (output, context) => {
1326
1324
  const parsedOutput = {
1327
1325
  ...output,
1328
1326
  body: await parseErrorBody(output.body, context),
@@ -1331,16 +1329,16 @@ const deserializeAws_restJson1ListMembersCommandError = async (output, context)
1331
1329
  switch (errorCode) {
1332
1330
  case "AccessDeniedException":
1333
1331
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1334
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1332
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1335
1333
  case "InternalServiceErrorException":
1336
1334
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1337
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1335
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1338
1336
  case "InvalidRequestException":
1339
1337
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1340
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1338
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1341
1339
  case "ThrottlingException":
1342
1340
  case "com.amazonaws.managedblockchain#ThrottlingException":
1343
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1341
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1344
1342
  default:
1345
1343
  const parsedBody = parsedOutput.body;
1346
1344
  throwDefaultError({
@@ -1351,23 +1349,23 @@ const deserializeAws_restJson1ListMembersCommandError = async (output, context)
1351
1349
  });
1352
1350
  }
1353
1351
  };
1354
- export const deserializeAws_restJson1ListNetworksCommand = async (output, context) => {
1352
+ export const de_ListNetworksCommand = async (output, context) => {
1355
1353
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1356
- return deserializeAws_restJson1ListNetworksCommandError(output, context);
1354
+ return de_ListNetworksCommandError(output, context);
1357
1355
  }
1358
1356
  const contents = map({
1359
1357
  $metadata: deserializeMetadata(output),
1360
1358
  });
1361
1359
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1362
1360
  if (data.Networks != null) {
1363
- contents.Networks = deserializeAws_restJson1NetworkSummaryList(data.Networks, context);
1361
+ contents.Networks = de_NetworkSummaryList(data.Networks, context);
1364
1362
  }
1365
1363
  if (data.NextToken != null) {
1366
1364
  contents.NextToken = __expectString(data.NextToken);
1367
1365
  }
1368
1366
  return contents;
1369
1367
  };
1370
- const deserializeAws_restJson1ListNetworksCommandError = async (output, context) => {
1368
+ const de_ListNetworksCommandError = async (output, context) => {
1371
1369
  const parsedOutput = {
1372
1370
  ...output,
1373
1371
  body: await parseErrorBody(output.body, context),
@@ -1376,16 +1374,16 @@ const deserializeAws_restJson1ListNetworksCommandError = async (output, context)
1376
1374
  switch (errorCode) {
1377
1375
  case "AccessDeniedException":
1378
1376
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1379
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1377
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1380
1378
  case "InternalServiceErrorException":
1381
1379
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1382
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1380
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1383
1381
  case "InvalidRequestException":
1384
1382
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1385
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1383
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1386
1384
  case "ThrottlingException":
1387
1385
  case "com.amazonaws.managedblockchain#ThrottlingException":
1388
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1386
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1389
1387
  default:
1390
1388
  const parsedBody = parsedOutput.body;
1391
1389
  throwDefaultError({
@@ -1396,9 +1394,9 @@ const deserializeAws_restJson1ListNetworksCommandError = async (output, context)
1396
1394
  });
1397
1395
  }
1398
1396
  };
1399
- export const deserializeAws_restJson1ListNodesCommand = async (output, context) => {
1397
+ export const de_ListNodesCommand = async (output, context) => {
1400
1398
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1401
- return deserializeAws_restJson1ListNodesCommandError(output, context);
1399
+ return de_ListNodesCommandError(output, context);
1402
1400
  }
1403
1401
  const contents = map({
1404
1402
  $metadata: deserializeMetadata(output),
@@ -1408,11 +1406,11 @@ export const deserializeAws_restJson1ListNodesCommand = async (output, context)
1408
1406
  contents.NextToken = __expectString(data.NextToken);
1409
1407
  }
1410
1408
  if (data.Nodes != null) {
1411
- contents.Nodes = deserializeAws_restJson1NodeSummaryList(data.Nodes, context);
1409
+ contents.Nodes = de_NodeSummaryList(data.Nodes, context);
1412
1410
  }
1413
1411
  return contents;
1414
1412
  };
1415
- const deserializeAws_restJson1ListNodesCommandError = async (output, context) => {
1413
+ const de_ListNodesCommandError = async (output, context) => {
1416
1414
  const parsedOutput = {
1417
1415
  ...output,
1418
1416
  body: await parseErrorBody(output.body, context),
@@ -1421,16 +1419,16 @@ const deserializeAws_restJson1ListNodesCommandError = async (output, context) =>
1421
1419
  switch (errorCode) {
1422
1420
  case "AccessDeniedException":
1423
1421
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1424
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1422
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1425
1423
  case "InternalServiceErrorException":
1426
1424
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1427
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1425
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1428
1426
  case "InvalidRequestException":
1429
1427
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1430
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1428
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1431
1429
  case "ThrottlingException":
1432
1430
  case "com.amazonaws.managedblockchain#ThrottlingException":
1433
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1431
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1434
1432
  default:
1435
1433
  const parsedBody = parsedOutput.body;
1436
1434
  throwDefaultError({
@@ -1441,9 +1439,9 @@ const deserializeAws_restJson1ListNodesCommandError = async (output, context) =>
1441
1439
  });
1442
1440
  }
1443
1441
  };
1444
- export const deserializeAws_restJson1ListProposalsCommand = async (output, context) => {
1442
+ export const de_ListProposalsCommand = async (output, context) => {
1445
1443
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1446
- return deserializeAws_restJson1ListProposalsCommandError(output, context);
1444
+ return de_ListProposalsCommandError(output, context);
1447
1445
  }
1448
1446
  const contents = map({
1449
1447
  $metadata: deserializeMetadata(output),
@@ -1453,11 +1451,11 @@ export const deserializeAws_restJson1ListProposalsCommand = async (output, conte
1453
1451
  contents.NextToken = __expectString(data.NextToken);
1454
1452
  }
1455
1453
  if (data.Proposals != null) {
1456
- contents.Proposals = deserializeAws_restJson1ProposalSummaryList(data.Proposals, context);
1454
+ contents.Proposals = de_ProposalSummaryList(data.Proposals, context);
1457
1455
  }
1458
1456
  return contents;
1459
1457
  };
1460
- const deserializeAws_restJson1ListProposalsCommandError = async (output, context) => {
1458
+ const de_ListProposalsCommandError = async (output, context) => {
1461
1459
  const parsedOutput = {
1462
1460
  ...output,
1463
1461
  body: await parseErrorBody(output.body, context),
@@ -1466,19 +1464,19 @@ const deserializeAws_restJson1ListProposalsCommandError = async (output, context
1466
1464
  switch (errorCode) {
1467
1465
  case "AccessDeniedException":
1468
1466
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1469
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1467
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1470
1468
  case "InternalServiceErrorException":
1471
1469
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1472
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1470
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1473
1471
  case "InvalidRequestException":
1474
1472
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1475
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1473
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1476
1474
  case "ResourceNotFoundException":
1477
1475
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1478
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1476
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1479
1477
  case "ThrottlingException":
1480
1478
  case "com.amazonaws.managedblockchain#ThrottlingException":
1481
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1479
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1482
1480
  default:
1483
1481
  const parsedBody = parsedOutput.body;
1484
1482
  throwDefaultError({
@@ -1489,9 +1487,9 @@ const deserializeAws_restJson1ListProposalsCommandError = async (output, context
1489
1487
  });
1490
1488
  }
1491
1489
  };
1492
- export const deserializeAws_restJson1ListProposalVotesCommand = async (output, context) => {
1490
+ export const de_ListProposalVotesCommand = async (output, context) => {
1493
1491
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1494
- return deserializeAws_restJson1ListProposalVotesCommandError(output, context);
1492
+ return de_ListProposalVotesCommandError(output, context);
1495
1493
  }
1496
1494
  const contents = map({
1497
1495
  $metadata: deserializeMetadata(output),
@@ -1501,11 +1499,11 @@ export const deserializeAws_restJson1ListProposalVotesCommand = async (output, c
1501
1499
  contents.NextToken = __expectString(data.NextToken);
1502
1500
  }
1503
1501
  if (data.ProposalVotes != null) {
1504
- contents.ProposalVotes = deserializeAws_restJson1ProposalVoteList(data.ProposalVotes, context);
1502
+ contents.ProposalVotes = de_ProposalVoteList(data.ProposalVotes, context);
1505
1503
  }
1506
1504
  return contents;
1507
1505
  };
1508
- const deserializeAws_restJson1ListProposalVotesCommandError = async (output, context) => {
1506
+ const de_ListProposalVotesCommandError = async (output, context) => {
1509
1507
  const parsedOutput = {
1510
1508
  ...output,
1511
1509
  body: await parseErrorBody(output.body, context),
@@ -1514,16 +1512,16 @@ const deserializeAws_restJson1ListProposalVotesCommandError = async (output, con
1514
1512
  switch (errorCode) {
1515
1513
  case "AccessDeniedException":
1516
1514
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1517
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1515
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1518
1516
  case "InternalServiceErrorException":
1519
1517
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1520
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1518
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1521
1519
  case "InvalidRequestException":
1522
1520
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1523
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1521
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1524
1522
  case "ThrottlingException":
1525
1523
  case "com.amazonaws.managedblockchain#ThrottlingException":
1526
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1524
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1527
1525
  default:
1528
1526
  const parsedBody = parsedOutput.body;
1529
1527
  throwDefaultError({
@@ -1534,20 +1532,20 @@ const deserializeAws_restJson1ListProposalVotesCommandError = async (output, con
1534
1532
  });
1535
1533
  }
1536
1534
  };
1537
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1535
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1538
1536
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1539
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1537
+ return de_ListTagsForResourceCommandError(output, context);
1540
1538
  }
1541
1539
  const contents = map({
1542
1540
  $metadata: deserializeMetadata(output),
1543
1541
  });
1544
1542
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1545
1543
  if (data.Tags != null) {
1546
- contents.Tags = deserializeAws_restJson1OutputTagMap(data.Tags, context);
1544
+ contents.Tags = de_OutputTagMap(data.Tags, context);
1547
1545
  }
1548
1546
  return contents;
1549
1547
  };
1550
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1548
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1551
1549
  const parsedOutput = {
1552
1550
  ...output,
1553
1551
  body: await parseErrorBody(output.body, context),
@@ -1556,16 +1554,16 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1556
1554
  switch (errorCode) {
1557
1555
  case "InternalServiceErrorException":
1558
1556
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1559
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1557
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1560
1558
  case "InvalidRequestException":
1561
1559
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1562
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1560
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1563
1561
  case "ResourceNotFoundException":
1564
1562
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1565
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1563
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1566
1564
  case "ResourceNotReadyException":
1567
1565
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
1568
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
1566
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
1569
1567
  default:
1570
1568
  const parsedBody = parsedOutput.body;
1571
1569
  throwDefaultError({
@@ -1576,9 +1574,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1576
1574
  });
1577
1575
  }
1578
1576
  };
1579
- export const deserializeAws_restJson1RejectInvitationCommand = async (output, context) => {
1577
+ export const de_RejectInvitationCommand = async (output, context) => {
1580
1578
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1581
- return deserializeAws_restJson1RejectInvitationCommandError(output, context);
1579
+ return de_RejectInvitationCommandError(output, context);
1582
1580
  }
1583
1581
  const contents = map({
1584
1582
  $metadata: deserializeMetadata(output),
@@ -1586,7 +1584,7 @@ export const deserializeAws_restJson1RejectInvitationCommand = async (output, co
1586
1584
  await collectBody(output.body, context);
1587
1585
  return contents;
1588
1586
  };
1589
- const deserializeAws_restJson1RejectInvitationCommandError = async (output, context) => {
1587
+ const de_RejectInvitationCommandError = async (output, context) => {
1590
1588
  const parsedOutput = {
1591
1589
  ...output,
1592
1590
  body: await parseErrorBody(output.body, context),
@@ -1595,22 +1593,22 @@ const deserializeAws_restJson1RejectInvitationCommandError = async (output, cont
1595
1593
  switch (errorCode) {
1596
1594
  case "AccessDeniedException":
1597
1595
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1598
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1596
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1599
1597
  case "IllegalActionException":
1600
1598
  case "com.amazonaws.managedblockchain#IllegalActionException":
1601
- throw await deserializeAws_restJson1IllegalActionExceptionResponse(parsedOutput, context);
1599
+ throw await de_IllegalActionExceptionRes(parsedOutput, context);
1602
1600
  case "InternalServiceErrorException":
1603
1601
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1604
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1602
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1605
1603
  case "InvalidRequestException":
1606
1604
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1607
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1605
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1608
1606
  case "ResourceNotFoundException":
1609
1607
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1610
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1608
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1611
1609
  case "ThrottlingException":
1612
1610
  case "com.amazonaws.managedblockchain#ThrottlingException":
1613
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1611
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1614
1612
  default:
1615
1613
  const parsedBody = parsedOutput.body;
1616
1614
  throwDefaultError({
@@ -1621,9 +1619,9 @@ const deserializeAws_restJson1RejectInvitationCommandError = async (output, cont
1621
1619
  });
1622
1620
  }
1623
1621
  };
1624
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1622
+ export const de_TagResourceCommand = async (output, context) => {
1625
1623
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1626
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1624
+ return de_TagResourceCommandError(output, context);
1627
1625
  }
1628
1626
  const contents = map({
1629
1627
  $metadata: deserializeMetadata(output),
@@ -1631,7 +1629,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
1631
1629
  await collectBody(output.body, context);
1632
1630
  return contents;
1633
1631
  };
1634
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1632
+ const de_TagResourceCommandError = async (output, context) => {
1635
1633
  const parsedOutput = {
1636
1634
  ...output,
1637
1635
  body: await parseErrorBody(output.body, context),
@@ -1640,19 +1638,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1640
1638
  switch (errorCode) {
1641
1639
  case "InternalServiceErrorException":
1642
1640
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1643
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1641
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1644
1642
  case "InvalidRequestException":
1645
1643
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1646
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1644
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1647
1645
  case "ResourceNotFoundException":
1648
1646
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1649
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1647
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1650
1648
  case "ResourceNotReadyException":
1651
1649
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
1652
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
1650
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
1653
1651
  case "TooManyTagsException":
1654
1652
  case "com.amazonaws.managedblockchain#TooManyTagsException":
1655
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
1653
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1656
1654
  default:
1657
1655
  const parsedBody = parsedOutput.body;
1658
1656
  throwDefaultError({
@@ -1663,9 +1661,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1663
1661
  });
1664
1662
  }
1665
1663
  };
1666
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1664
+ export const de_UntagResourceCommand = async (output, context) => {
1667
1665
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1668
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1666
+ return de_UntagResourceCommandError(output, context);
1669
1667
  }
1670
1668
  const contents = map({
1671
1669
  $metadata: deserializeMetadata(output),
@@ -1673,7 +1671,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
1673
1671
  await collectBody(output.body, context);
1674
1672
  return contents;
1675
1673
  };
1676
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1674
+ const de_UntagResourceCommandError = async (output, context) => {
1677
1675
  const parsedOutput = {
1678
1676
  ...output,
1679
1677
  body: await parseErrorBody(output.body, context),
@@ -1682,16 +1680,16 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1682
1680
  switch (errorCode) {
1683
1681
  case "InternalServiceErrorException":
1684
1682
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1685
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1683
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1686
1684
  case "InvalidRequestException":
1687
1685
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1688
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1686
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1689
1687
  case "ResourceNotFoundException":
1690
1688
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1691
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1689
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1692
1690
  case "ResourceNotReadyException":
1693
1691
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
1694
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
1692
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
1695
1693
  default:
1696
1694
  const parsedBody = parsedOutput.body;
1697
1695
  throwDefaultError({
@@ -1702,9 +1700,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1702
1700
  });
1703
1701
  }
1704
1702
  };
1705
- export const deserializeAws_restJson1UpdateMemberCommand = async (output, context) => {
1703
+ export const de_UpdateMemberCommand = async (output, context) => {
1706
1704
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1707
- return deserializeAws_restJson1UpdateMemberCommandError(output, context);
1705
+ return de_UpdateMemberCommandError(output, context);
1708
1706
  }
1709
1707
  const contents = map({
1710
1708
  $metadata: deserializeMetadata(output),
@@ -1712,7 +1710,7 @@ export const deserializeAws_restJson1UpdateMemberCommand = async (output, contex
1712
1710
  await collectBody(output.body, context);
1713
1711
  return contents;
1714
1712
  };
1715
- const deserializeAws_restJson1UpdateMemberCommandError = async (output, context) => {
1713
+ const de_UpdateMemberCommandError = async (output, context) => {
1716
1714
  const parsedOutput = {
1717
1715
  ...output,
1718
1716
  body: await parseErrorBody(output.body, context),
@@ -1721,19 +1719,19 @@ const deserializeAws_restJson1UpdateMemberCommandError = async (output, context)
1721
1719
  switch (errorCode) {
1722
1720
  case "AccessDeniedException":
1723
1721
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1724
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1722
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1725
1723
  case "InternalServiceErrorException":
1726
1724
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1727
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1725
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1728
1726
  case "InvalidRequestException":
1729
1727
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1730
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1728
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1731
1729
  case "ResourceNotFoundException":
1732
1730
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1733
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1731
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1734
1732
  case "ThrottlingException":
1735
1733
  case "com.amazonaws.managedblockchain#ThrottlingException":
1736
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1734
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1737
1735
  default:
1738
1736
  const parsedBody = parsedOutput.body;
1739
1737
  throwDefaultError({
@@ -1744,9 +1742,9 @@ const deserializeAws_restJson1UpdateMemberCommandError = async (output, context)
1744
1742
  });
1745
1743
  }
1746
1744
  };
1747
- export const deserializeAws_restJson1UpdateNodeCommand = async (output, context) => {
1745
+ export const de_UpdateNodeCommand = async (output, context) => {
1748
1746
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1749
- return deserializeAws_restJson1UpdateNodeCommandError(output, context);
1747
+ return de_UpdateNodeCommandError(output, context);
1750
1748
  }
1751
1749
  const contents = map({
1752
1750
  $metadata: deserializeMetadata(output),
@@ -1754,7 +1752,7 @@ export const deserializeAws_restJson1UpdateNodeCommand = async (output, context)
1754
1752
  await collectBody(output.body, context);
1755
1753
  return contents;
1756
1754
  };
1757
- const deserializeAws_restJson1UpdateNodeCommandError = async (output, context) => {
1755
+ const de_UpdateNodeCommandError = async (output, context) => {
1758
1756
  const parsedOutput = {
1759
1757
  ...output,
1760
1758
  body: await parseErrorBody(output.body, context),
@@ -1763,19 +1761,19 @@ const deserializeAws_restJson1UpdateNodeCommandError = async (output, context) =
1763
1761
  switch (errorCode) {
1764
1762
  case "AccessDeniedException":
1765
1763
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1766
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1764
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1767
1765
  case "InternalServiceErrorException":
1768
1766
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1769
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1767
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1770
1768
  case "InvalidRequestException":
1771
1769
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1772
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1770
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1773
1771
  case "ResourceNotFoundException":
1774
1772
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1775
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1773
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1776
1774
  case "ThrottlingException":
1777
1775
  case "com.amazonaws.managedblockchain#ThrottlingException":
1778
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1776
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1779
1777
  default:
1780
1778
  const parsedBody = parsedOutput.body;
1781
1779
  throwDefaultError({
@@ -1786,9 +1784,9 @@ const deserializeAws_restJson1UpdateNodeCommandError = async (output, context) =
1786
1784
  });
1787
1785
  }
1788
1786
  };
1789
- export const deserializeAws_restJson1VoteOnProposalCommand = async (output, context) => {
1787
+ export const de_VoteOnProposalCommand = async (output, context) => {
1790
1788
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1791
- return deserializeAws_restJson1VoteOnProposalCommandError(output, context);
1789
+ return de_VoteOnProposalCommandError(output, context);
1792
1790
  }
1793
1791
  const contents = map({
1794
1792
  $metadata: deserializeMetadata(output),
@@ -1796,7 +1794,7 @@ export const deserializeAws_restJson1VoteOnProposalCommand = async (output, cont
1796
1794
  await collectBody(output.body, context);
1797
1795
  return contents;
1798
1796
  };
1799
- const deserializeAws_restJson1VoteOnProposalCommandError = async (output, context) => {
1797
+ const de_VoteOnProposalCommandError = async (output, context) => {
1800
1798
  const parsedOutput = {
1801
1799
  ...output,
1802
1800
  body: await parseErrorBody(output.body, context),
@@ -1805,22 +1803,22 @@ const deserializeAws_restJson1VoteOnProposalCommandError = async (output, contex
1805
1803
  switch (errorCode) {
1806
1804
  case "AccessDeniedException":
1807
1805
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1808
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1806
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1809
1807
  case "IllegalActionException":
1810
1808
  case "com.amazonaws.managedblockchain#IllegalActionException":
1811
- throw await deserializeAws_restJson1IllegalActionExceptionResponse(parsedOutput, context);
1809
+ throw await de_IllegalActionExceptionRes(parsedOutput, context);
1812
1810
  case "InternalServiceErrorException":
1813
1811
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1814
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1812
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1815
1813
  case "InvalidRequestException":
1816
1814
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1817
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1815
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1818
1816
  case "ResourceNotFoundException":
1819
1817
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1820
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1818
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1821
1819
  case "ThrottlingException":
1822
1820
  case "com.amazonaws.managedblockchain#ThrottlingException":
1823
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1821
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1824
1822
  default:
1825
1823
  const parsedBody = parsedOutput.body;
1826
1824
  throwDefaultError({
@@ -1832,7 +1830,7 @@ const deserializeAws_restJson1VoteOnProposalCommandError = async (output, contex
1832
1830
  }
1833
1831
  };
1834
1832
  const map = __map;
1835
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1833
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1836
1834
  const contents = map({});
1837
1835
  const data = parsedOutput.body;
1838
1836
  if (data.Message != null) {
@@ -1844,7 +1842,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
1844
1842
  });
1845
1843
  return __decorateServiceException(exception, parsedOutput.body);
1846
1844
  };
1847
- const deserializeAws_restJson1IllegalActionExceptionResponse = async (parsedOutput, context) => {
1845
+ const de_IllegalActionExceptionRes = async (parsedOutput, context) => {
1848
1846
  const contents = map({});
1849
1847
  const data = parsedOutput.body;
1850
1848
  if (data.Message != null) {
@@ -1856,7 +1854,7 @@ const deserializeAws_restJson1IllegalActionExceptionResponse = async (parsedOutp
1856
1854
  });
1857
1855
  return __decorateServiceException(exception, parsedOutput.body);
1858
1856
  };
1859
- const deserializeAws_restJson1InternalServiceErrorExceptionResponse = async (parsedOutput, context) => {
1857
+ const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
1860
1858
  const contents = map({});
1861
1859
  const data = parsedOutput.body;
1862
1860
  const exception = new InternalServiceErrorException({
@@ -1865,7 +1863,7 @@ const deserializeAws_restJson1InternalServiceErrorExceptionResponse = async (par
1865
1863
  });
1866
1864
  return __decorateServiceException(exception, parsedOutput.body);
1867
1865
  };
1868
- const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
1866
+ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
1869
1867
  const contents = map({});
1870
1868
  const data = parsedOutput.body;
1871
1869
  if (data.Message != null) {
@@ -1877,7 +1875,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
1877
1875
  });
1878
1876
  return __decorateServiceException(exception, parsedOutput.body);
1879
1877
  };
1880
- const deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
1878
+ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1881
1879
  const contents = map({});
1882
1880
  const data = parsedOutput.body;
1883
1881
  if (data.Message != null) {
@@ -1889,7 +1887,7 @@ const deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse = async (pa
1889
1887
  });
1890
1888
  return __decorateServiceException(exception, parsedOutput.body);
1891
1889
  };
1892
- const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (parsedOutput, context) => {
1890
+ const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
1893
1891
  const contents = map({});
1894
1892
  const data = parsedOutput.body;
1895
1893
  if (data.Message != null) {
@@ -1901,7 +1899,7 @@ const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (pa
1901
1899
  });
1902
1900
  return __decorateServiceException(exception, parsedOutput.body);
1903
1901
  };
1904
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1902
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1905
1903
  const contents = map({});
1906
1904
  const data = parsedOutput.body;
1907
1905
  if (data.Message != null) {
@@ -1916,7 +1914,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1916
1914
  });
1917
1915
  return __decorateServiceException(exception, parsedOutput.body);
1918
1916
  };
1919
- const deserializeAws_restJson1ResourceNotReadyExceptionResponse = async (parsedOutput, context) => {
1917
+ const de_ResourceNotReadyExceptionRes = async (parsedOutput, context) => {
1920
1918
  const contents = map({});
1921
1919
  const data = parsedOutput.body;
1922
1920
  if (data.Message != null) {
@@ -1928,7 +1926,7 @@ const deserializeAws_restJson1ResourceNotReadyExceptionResponse = async (parsedO
1928
1926
  });
1929
1927
  return __decorateServiceException(exception, parsedOutput.body);
1930
1928
  };
1931
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1929
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1932
1930
  const contents = map({});
1933
1931
  const data = parsedOutput.body;
1934
1932
  const exception = new ThrottlingException({
@@ -1937,7 +1935,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1937
1935
  });
1938
1936
  return __decorateServiceException(exception, parsedOutput.body);
1939
1937
  };
1940
- const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
1938
+ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1941
1939
  const contents = map({});
1942
1940
  const data = parsedOutput.body;
1943
1941
  if (data.Message != null) {
@@ -1952,14 +1950,14 @@ const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput
1952
1950
  });
1953
1951
  return __decorateServiceException(exception, parsedOutput.body);
1954
1952
  };
1955
- const serializeAws_restJson1ApprovalThresholdPolicy = (input, context) => {
1953
+ const se_ApprovalThresholdPolicy = (input, context) => {
1956
1954
  return {
1957
1955
  ...(input.ProposalDurationInHours != null && { ProposalDurationInHours: input.ProposalDurationInHours }),
1958
1956
  ...(input.ThresholdComparator != null && { ThresholdComparator: input.ThresholdComparator }),
1959
1957
  ...(input.ThresholdPercentage != null && { ThresholdPercentage: input.ThresholdPercentage }),
1960
1958
  };
1961
1959
  };
1962
- const serializeAws_restJson1InputTagMap = (input, context) => {
1960
+ const se_InputTagMap = (input, context) => {
1963
1961
  return Object.entries(input).reduce((acc, [key, value]) => {
1964
1962
  if (value === null) {
1965
1963
  return acc;
@@ -1968,139 +1966,131 @@ const serializeAws_restJson1InputTagMap = (input, context) => {
1968
1966
  return acc;
1969
1967
  }, {});
1970
1968
  };
1971
- const serializeAws_restJson1InviteAction = (input, context) => {
1969
+ const se_InviteAction = (input, context) => {
1972
1970
  return {
1973
1971
  ...(input.Principal != null && { Principal: input.Principal }),
1974
1972
  };
1975
1973
  };
1976
- const serializeAws_restJson1InviteActionList = (input, context) => {
1974
+ const se_InviteActionList = (input, context) => {
1977
1975
  return input
1978
1976
  .filter((e) => e != null)
1979
1977
  .map((entry) => {
1980
- return serializeAws_restJson1InviteAction(entry, context);
1978
+ return se_InviteAction(entry, context);
1981
1979
  });
1982
1980
  };
1983
- const serializeAws_restJson1LogConfiguration = (input, context) => {
1981
+ const se_LogConfiguration = (input, context) => {
1984
1982
  return {
1985
1983
  ...(input.Enabled != null && { Enabled: input.Enabled }),
1986
1984
  };
1987
1985
  };
1988
- const serializeAws_restJson1LogConfigurations = (input, context) => {
1986
+ const se_LogConfigurations = (input, context) => {
1989
1987
  return {
1990
- ...(input.Cloudwatch != null && { Cloudwatch: serializeAws_restJson1LogConfiguration(input.Cloudwatch, context) }),
1988
+ ...(input.Cloudwatch != null && { Cloudwatch: se_LogConfiguration(input.Cloudwatch, context) }),
1991
1989
  };
1992
1990
  };
1993
- const serializeAws_restJson1MemberConfiguration = (input, context) => {
1991
+ const se_MemberConfiguration = (input, context) => {
1994
1992
  return {
1995
1993
  ...(input.Description != null && { Description: input.Description }),
1996
1994
  ...(input.FrameworkConfiguration != null && {
1997
- FrameworkConfiguration: serializeAws_restJson1MemberFrameworkConfiguration(input.FrameworkConfiguration, context),
1995
+ FrameworkConfiguration: se_MemberFrameworkConfiguration(input.FrameworkConfiguration, context),
1998
1996
  }),
1999
1997
  ...(input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn }),
2000
1998
  ...(input.LogPublishingConfiguration != null && {
2001
- LogPublishingConfiguration: serializeAws_restJson1MemberLogPublishingConfiguration(input.LogPublishingConfiguration, context),
1999
+ LogPublishingConfiguration: se_MemberLogPublishingConfiguration(input.LogPublishingConfiguration, context),
2002
2000
  }),
2003
2001
  ...(input.Name != null && { Name: input.Name }),
2004
- ...(input.Tags != null && { Tags: serializeAws_restJson1InputTagMap(input.Tags, context) }),
2002
+ ...(input.Tags != null && { Tags: se_InputTagMap(input.Tags, context) }),
2005
2003
  };
2006
2004
  };
2007
- const serializeAws_restJson1MemberFabricConfiguration = (input, context) => {
2005
+ const se_MemberFabricConfiguration = (input, context) => {
2008
2006
  return {
2009
2007
  ...(input.AdminPassword != null && { AdminPassword: input.AdminPassword }),
2010
2008
  ...(input.AdminUsername != null && { AdminUsername: input.AdminUsername }),
2011
2009
  };
2012
2010
  };
2013
- const serializeAws_restJson1MemberFabricLogPublishingConfiguration = (input, context) => {
2011
+ const se_MemberFabricLogPublishingConfiguration = (input, context) => {
2014
2012
  return {
2015
- ...(input.CaLogs != null && { CaLogs: serializeAws_restJson1LogConfigurations(input.CaLogs, context) }),
2013
+ ...(input.CaLogs != null && { CaLogs: se_LogConfigurations(input.CaLogs, context) }),
2016
2014
  };
2017
2015
  };
2018
- const serializeAws_restJson1MemberFrameworkConfiguration = (input, context) => {
2016
+ const se_MemberFrameworkConfiguration = (input, context) => {
2019
2017
  return {
2020
- ...(input.Fabric != null && { Fabric: serializeAws_restJson1MemberFabricConfiguration(input.Fabric, context) }),
2018
+ ...(input.Fabric != null && { Fabric: se_MemberFabricConfiguration(input.Fabric, context) }),
2021
2019
  };
2022
2020
  };
2023
- const serializeAws_restJson1MemberLogPublishingConfiguration = (input, context) => {
2021
+ const se_MemberLogPublishingConfiguration = (input, context) => {
2024
2022
  return {
2025
- ...(input.Fabric != null && {
2026
- Fabric: serializeAws_restJson1MemberFabricLogPublishingConfiguration(input.Fabric, context),
2027
- }),
2023
+ ...(input.Fabric != null && { Fabric: se_MemberFabricLogPublishingConfiguration(input.Fabric, context) }),
2028
2024
  };
2029
2025
  };
2030
- const serializeAws_restJson1NetworkFabricConfiguration = (input, context) => {
2026
+ const se_NetworkFabricConfiguration = (input, context) => {
2031
2027
  return {
2032
2028
  ...(input.Edition != null && { Edition: input.Edition }),
2033
2029
  };
2034
2030
  };
2035
- const serializeAws_restJson1NetworkFrameworkConfiguration = (input, context) => {
2031
+ const se_NetworkFrameworkConfiguration = (input, context) => {
2036
2032
  return {
2037
- ...(input.Fabric != null && { Fabric: serializeAws_restJson1NetworkFabricConfiguration(input.Fabric, context) }),
2033
+ ...(input.Fabric != null && { Fabric: se_NetworkFabricConfiguration(input.Fabric, context) }),
2038
2034
  };
2039
2035
  };
2040
- const serializeAws_restJson1NodeConfiguration = (input, context) => {
2036
+ const se_NodeConfiguration = (input, context) => {
2041
2037
  return {
2042
2038
  ...(input.AvailabilityZone != null && { AvailabilityZone: input.AvailabilityZone }),
2043
2039
  ...(input.InstanceType != null && { InstanceType: input.InstanceType }),
2044
2040
  ...(input.LogPublishingConfiguration != null && {
2045
- LogPublishingConfiguration: serializeAws_restJson1NodeLogPublishingConfiguration(input.LogPublishingConfiguration, context),
2041
+ LogPublishingConfiguration: se_NodeLogPublishingConfiguration(input.LogPublishingConfiguration, context),
2046
2042
  }),
2047
2043
  ...(input.StateDB != null && { StateDB: input.StateDB }),
2048
2044
  };
2049
2045
  };
2050
- const serializeAws_restJson1NodeFabricLogPublishingConfiguration = (input, context) => {
2046
+ const se_NodeFabricLogPublishingConfiguration = (input, context) => {
2051
2047
  return {
2052
- ...(input.ChaincodeLogs != null && {
2053
- ChaincodeLogs: serializeAws_restJson1LogConfigurations(input.ChaincodeLogs, context),
2054
- }),
2055
- ...(input.PeerLogs != null && { PeerLogs: serializeAws_restJson1LogConfigurations(input.PeerLogs, context) }),
2048
+ ...(input.ChaincodeLogs != null && { ChaincodeLogs: se_LogConfigurations(input.ChaincodeLogs, context) }),
2049
+ ...(input.PeerLogs != null && { PeerLogs: se_LogConfigurations(input.PeerLogs, context) }),
2056
2050
  };
2057
2051
  };
2058
- const serializeAws_restJson1NodeLogPublishingConfiguration = (input, context) => {
2052
+ const se_NodeLogPublishingConfiguration = (input, context) => {
2059
2053
  return {
2060
- ...(input.Fabric != null && {
2061
- Fabric: serializeAws_restJson1NodeFabricLogPublishingConfiguration(input.Fabric, context),
2062
- }),
2054
+ ...(input.Fabric != null && { Fabric: se_NodeFabricLogPublishingConfiguration(input.Fabric, context) }),
2063
2055
  };
2064
2056
  };
2065
- const serializeAws_restJson1ProposalActions = (input, context) => {
2057
+ const se_ProposalActions = (input, context) => {
2066
2058
  return {
2067
- ...(input.Invitations != null && {
2068
- Invitations: serializeAws_restJson1InviteActionList(input.Invitations, context),
2069
- }),
2070
- ...(input.Removals != null && { Removals: serializeAws_restJson1RemoveActionList(input.Removals, context) }),
2059
+ ...(input.Invitations != null && { Invitations: se_InviteActionList(input.Invitations, context) }),
2060
+ ...(input.Removals != null && { Removals: se_RemoveActionList(input.Removals, context) }),
2071
2061
  };
2072
2062
  };
2073
- const serializeAws_restJson1RemoveAction = (input, context) => {
2063
+ const se_RemoveAction = (input, context) => {
2074
2064
  return {
2075
2065
  ...(input.MemberId != null && { MemberId: input.MemberId }),
2076
2066
  };
2077
2067
  };
2078
- const serializeAws_restJson1RemoveActionList = (input, context) => {
2068
+ const se_RemoveActionList = (input, context) => {
2079
2069
  return input
2080
2070
  .filter((e) => e != null)
2081
2071
  .map((entry) => {
2082
- return serializeAws_restJson1RemoveAction(entry, context);
2072
+ return se_RemoveAction(entry, context);
2083
2073
  });
2084
2074
  };
2085
- const serializeAws_restJson1VotingPolicy = (input, context) => {
2075
+ const se_VotingPolicy = (input, context) => {
2086
2076
  return {
2087
2077
  ...(input.ApprovalThresholdPolicy != null && {
2088
- ApprovalThresholdPolicy: serializeAws_restJson1ApprovalThresholdPolicy(input.ApprovalThresholdPolicy, context),
2078
+ ApprovalThresholdPolicy: se_ApprovalThresholdPolicy(input.ApprovalThresholdPolicy, context),
2089
2079
  }),
2090
2080
  };
2091
2081
  };
2092
- const deserializeAws_restJson1Accessor = (output, context) => {
2082
+ const de_Accessor = (output, context) => {
2093
2083
  return {
2094
2084
  Arn: __expectString(output.Arn),
2095
2085
  BillingToken: __expectString(output.BillingToken),
2096
2086
  CreationDate: output.CreationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationDate)) : undefined,
2097
2087
  Id: __expectString(output.Id),
2098
2088
  Status: __expectString(output.Status),
2099
- Tags: output.Tags != null ? deserializeAws_restJson1OutputTagMap(output.Tags, context) : undefined,
2089
+ Tags: output.Tags != null ? de_OutputTagMap(output.Tags, context) : undefined,
2100
2090
  Type: __expectString(output.Type),
2101
2091
  };
2102
2092
  };
2103
- const deserializeAws_restJson1AccessorSummary = (output, context) => {
2093
+ const de_AccessorSummary = (output, context) => {
2104
2094
  return {
2105
2095
  Arn: __expectString(output.Arn),
2106
2096
  CreationDate: output.CreationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationDate)) : undefined,
@@ -2109,25 +2099,25 @@ const deserializeAws_restJson1AccessorSummary = (output, context) => {
2109
2099
  Type: __expectString(output.Type),
2110
2100
  };
2111
2101
  };
2112
- const deserializeAws_restJson1AccessorSummaryList = (output, context) => {
2102
+ const de_AccessorSummaryList = (output, context) => {
2113
2103
  const retVal = (output || [])
2114
2104
  .filter((e) => e != null)
2115
2105
  .map((entry) => {
2116
2106
  if (entry === null) {
2117
2107
  return null;
2118
2108
  }
2119
- return deserializeAws_restJson1AccessorSummary(entry, context);
2109
+ return de_AccessorSummary(entry, context);
2120
2110
  });
2121
2111
  return retVal;
2122
2112
  };
2123
- const deserializeAws_restJson1ApprovalThresholdPolicy = (output, context) => {
2113
+ const de_ApprovalThresholdPolicy = (output, context) => {
2124
2114
  return {
2125
2115
  ProposalDurationInHours: __expectInt32(output.ProposalDurationInHours),
2126
2116
  ThresholdComparator: __expectString(output.ThresholdComparator),
2127
2117
  ThresholdPercentage: __expectInt32(output.ThresholdPercentage),
2128
2118
  };
2129
2119
  };
2130
- const deserializeAws_restJson1Invitation = (output, context) => {
2120
+ const de_Invitation = (output, context) => {
2131
2121
  return {
2132
2122
  Arn: __expectString(output.Arn),
2133
2123
  CreationDate: output.CreationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationDate)) : undefined,
@@ -2135,92 +2125,88 @@ const deserializeAws_restJson1Invitation = (output, context) => {
2135
2125
  ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.ExpirationDate))
2136
2126
  : undefined,
2137
2127
  InvitationId: __expectString(output.InvitationId),
2138
- NetworkSummary: output.NetworkSummary != null
2139
- ? deserializeAws_restJson1NetworkSummary(output.NetworkSummary, context)
2140
- : undefined,
2128
+ NetworkSummary: output.NetworkSummary != null ? de_NetworkSummary(output.NetworkSummary, context) : undefined,
2141
2129
  Status: __expectString(output.Status),
2142
2130
  };
2143
2131
  };
2144
- const deserializeAws_restJson1InvitationList = (output, context) => {
2132
+ const de_InvitationList = (output, context) => {
2145
2133
  const retVal = (output || [])
2146
2134
  .filter((e) => e != null)
2147
2135
  .map((entry) => {
2148
2136
  if (entry === null) {
2149
2137
  return null;
2150
2138
  }
2151
- return deserializeAws_restJson1Invitation(entry, context);
2139
+ return de_Invitation(entry, context);
2152
2140
  });
2153
2141
  return retVal;
2154
2142
  };
2155
- const deserializeAws_restJson1InviteAction = (output, context) => {
2143
+ const de_InviteAction = (output, context) => {
2156
2144
  return {
2157
2145
  Principal: __expectString(output.Principal),
2158
2146
  };
2159
2147
  };
2160
- const deserializeAws_restJson1InviteActionList = (output, context) => {
2148
+ const de_InviteActionList = (output, context) => {
2161
2149
  const retVal = (output || [])
2162
2150
  .filter((e) => e != null)
2163
2151
  .map((entry) => {
2164
2152
  if (entry === null) {
2165
2153
  return null;
2166
2154
  }
2167
- return deserializeAws_restJson1InviteAction(entry, context);
2155
+ return de_InviteAction(entry, context);
2168
2156
  });
2169
2157
  return retVal;
2170
2158
  };
2171
- const deserializeAws_restJson1LogConfiguration = (output, context) => {
2159
+ const de_LogConfiguration = (output, context) => {
2172
2160
  return {
2173
2161
  Enabled: __expectBoolean(output.Enabled),
2174
2162
  };
2175
2163
  };
2176
- const deserializeAws_restJson1LogConfigurations = (output, context) => {
2164
+ const de_LogConfigurations = (output, context) => {
2177
2165
  return {
2178
- Cloudwatch: output.Cloudwatch != null ? deserializeAws_restJson1LogConfiguration(output.Cloudwatch, context) : undefined,
2166
+ Cloudwatch: output.Cloudwatch != null ? de_LogConfiguration(output.Cloudwatch, context) : undefined,
2179
2167
  };
2180
2168
  };
2181
- const deserializeAws_restJson1Member = (output, context) => {
2169
+ const de_Member = (output, context) => {
2182
2170
  return {
2183
2171
  Arn: __expectString(output.Arn),
2184
2172
  CreationDate: output.CreationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationDate)) : undefined,
2185
2173
  Description: __expectString(output.Description),
2186
2174
  FrameworkAttributes: output.FrameworkAttributes != null
2187
- ? deserializeAws_restJson1MemberFrameworkAttributes(output.FrameworkAttributes, context)
2175
+ ? de_MemberFrameworkAttributes(output.FrameworkAttributes, context)
2188
2176
  : undefined,
2189
2177
  Id: __expectString(output.Id),
2190
2178
  KmsKeyArn: __expectString(output.KmsKeyArn),
2191
2179
  LogPublishingConfiguration: output.LogPublishingConfiguration != null
2192
- ? deserializeAws_restJson1MemberLogPublishingConfiguration(output.LogPublishingConfiguration, context)
2180
+ ? de_MemberLogPublishingConfiguration(output.LogPublishingConfiguration, context)
2193
2181
  : undefined,
2194
2182
  Name: __expectString(output.Name),
2195
2183
  NetworkId: __expectString(output.NetworkId),
2196
2184
  Status: __expectString(output.Status),
2197
- Tags: output.Tags != null ? deserializeAws_restJson1OutputTagMap(output.Tags, context) : undefined,
2185
+ Tags: output.Tags != null ? de_OutputTagMap(output.Tags, context) : undefined,
2198
2186
  };
2199
2187
  };
2200
- const deserializeAws_restJson1MemberFabricAttributes = (output, context) => {
2188
+ const de_MemberFabricAttributes = (output, context) => {
2201
2189
  return {
2202
2190
  AdminUsername: __expectString(output.AdminUsername),
2203
2191
  CaEndpoint: __expectString(output.CaEndpoint),
2204
2192
  };
2205
2193
  };
2206
- const deserializeAws_restJson1MemberFabricLogPublishingConfiguration = (output, context) => {
2194
+ const de_MemberFabricLogPublishingConfiguration = (output, context) => {
2207
2195
  return {
2208
- CaLogs: output.CaLogs != null ? deserializeAws_restJson1LogConfigurations(output.CaLogs, context) : undefined,
2196
+ CaLogs: output.CaLogs != null ? de_LogConfigurations(output.CaLogs, context) : undefined,
2209
2197
  };
2210
2198
  };
2211
- const deserializeAws_restJson1MemberFrameworkAttributes = (output, context) => {
2199
+ const de_MemberFrameworkAttributes = (output, context) => {
2212
2200
  return {
2213
- Fabric: output.Fabric != null ? deserializeAws_restJson1MemberFabricAttributes(output.Fabric, context) : undefined,
2201
+ Fabric: output.Fabric != null ? de_MemberFabricAttributes(output.Fabric, context) : undefined,
2214
2202
  };
2215
2203
  };
2216
- const deserializeAws_restJson1MemberLogPublishingConfiguration = (output, context) => {
2204
+ const de_MemberLogPublishingConfiguration = (output, context) => {
2217
2205
  return {
2218
- Fabric: output.Fabric != null
2219
- ? deserializeAws_restJson1MemberFabricLogPublishingConfiguration(output.Fabric, context)
2220
- : undefined,
2206
+ Fabric: output.Fabric != null ? de_MemberFabricLogPublishingConfiguration(output.Fabric, context) : undefined,
2221
2207
  };
2222
2208
  };
2223
- const deserializeAws_restJson1MemberSummary = (output, context) => {
2209
+ const de_MemberSummary = (output, context) => {
2224
2210
  return {
2225
2211
  Arn: __expectString(output.Arn),
2226
2212
  CreationDate: output.CreationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationDate)) : undefined,
@@ -2231,53 +2217,53 @@ const deserializeAws_restJson1MemberSummary = (output, context) => {
2231
2217
  Status: __expectString(output.Status),
2232
2218
  };
2233
2219
  };
2234
- const deserializeAws_restJson1MemberSummaryList = (output, context) => {
2220
+ const de_MemberSummaryList = (output, context) => {
2235
2221
  const retVal = (output || [])
2236
2222
  .filter((e) => e != null)
2237
2223
  .map((entry) => {
2238
2224
  if (entry === null) {
2239
2225
  return null;
2240
2226
  }
2241
- return deserializeAws_restJson1MemberSummary(entry, context);
2227
+ return de_MemberSummary(entry, context);
2242
2228
  });
2243
2229
  return retVal;
2244
2230
  };
2245
- const deserializeAws_restJson1Network = (output, context) => {
2231
+ const de_Network = (output, context) => {
2246
2232
  return {
2247
2233
  Arn: __expectString(output.Arn),
2248
2234
  CreationDate: output.CreationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationDate)) : undefined,
2249
2235
  Description: __expectString(output.Description),
2250
2236
  Framework: __expectString(output.Framework),
2251
2237
  FrameworkAttributes: output.FrameworkAttributes != null
2252
- ? deserializeAws_restJson1NetworkFrameworkAttributes(output.FrameworkAttributes, context)
2238
+ ? de_NetworkFrameworkAttributes(output.FrameworkAttributes, context)
2253
2239
  : undefined,
2254
2240
  FrameworkVersion: __expectString(output.FrameworkVersion),
2255
2241
  Id: __expectString(output.Id),
2256
2242
  Name: __expectString(output.Name),
2257
2243
  Status: __expectString(output.Status),
2258
- Tags: output.Tags != null ? deserializeAws_restJson1OutputTagMap(output.Tags, context) : undefined,
2259
- VotingPolicy: output.VotingPolicy != null ? deserializeAws_restJson1VotingPolicy(output.VotingPolicy, context) : undefined,
2244
+ Tags: output.Tags != null ? de_OutputTagMap(output.Tags, context) : undefined,
2245
+ VotingPolicy: output.VotingPolicy != null ? de_VotingPolicy(output.VotingPolicy, context) : undefined,
2260
2246
  VpcEndpointServiceName: __expectString(output.VpcEndpointServiceName),
2261
2247
  };
2262
2248
  };
2263
- const deserializeAws_restJson1NetworkEthereumAttributes = (output, context) => {
2249
+ const de_NetworkEthereumAttributes = (output, context) => {
2264
2250
  return {
2265
2251
  ChainId: __expectString(output.ChainId),
2266
2252
  };
2267
2253
  };
2268
- const deserializeAws_restJson1NetworkFabricAttributes = (output, context) => {
2254
+ const de_NetworkFabricAttributes = (output, context) => {
2269
2255
  return {
2270
2256
  Edition: __expectString(output.Edition),
2271
2257
  OrderingServiceEndpoint: __expectString(output.OrderingServiceEndpoint),
2272
2258
  };
2273
2259
  };
2274
- const deserializeAws_restJson1NetworkFrameworkAttributes = (output, context) => {
2260
+ const de_NetworkFrameworkAttributes = (output, context) => {
2275
2261
  return {
2276
- Ethereum: output.Ethereum != null ? deserializeAws_restJson1NetworkEthereumAttributes(output.Ethereum, context) : undefined,
2277
- Fabric: output.Fabric != null ? deserializeAws_restJson1NetworkFabricAttributes(output.Fabric, context) : undefined,
2262
+ Ethereum: output.Ethereum != null ? de_NetworkEthereumAttributes(output.Ethereum, context) : undefined,
2263
+ Fabric: output.Fabric != null ? de_NetworkFabricAttributes(output.Fabric, context) : undefined,
2278
2264
  };
2279
2265
  };
2280
- const deserializeAws_restJson1NetworkSummary = (output, context) => {
2266
+ const de_NetworkSummary = (output, context) => {
2281
2267
  return {
2282
2268
  Arn: __expectString(output.Arn),
2283
2269
  CreationDate: output.CreationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationDate)) : undefined,
@@ -2289,72 +2275,66 @@ const deserializeAws_restJson1NetworkSummary = (output, context) => {
2289
2275
  Status: __expectString(output.Status),
2290
2276
  };
2291
2277
  };
2292
- const deserializeAws_restJson1NetworkSummaryList = (output, context) => {
2278
+ const de_NetworkSummaryList = (output, context) => {
2293
2279
  const retVal = (output || [])
2294
2280
  .filter((e) => e != null)
2295
2281
  .map((entry) => {
2296
2282
  if (entry === null) {
2297
2283
  return null;
2298
2284
  }
2299
- return deserializeAws_restJson1NetworkSummary(entry, context);
2285
+ return de_NetworkSummary(entry, context);
2300
2286
  });
2301
2287
  return retVal;
2302
2288
  };
2303
- const deserializeAws_restJson1Node = (output, context) => {
2289
+ const de_Node = (output, context) => {
2304
2290
  return {
2305
2291
  Arn: __expectString(output.Arn),
2306
2292
  AvailabilityZone: __expectString(output.AvailabilityZone),
2307
2293
  CreationDate: output.CreationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationDate)) : undefined,
2308
- FrameworkAttributes: output.FrameworkAttributes != null
2309
- ? deserializeAws_restJson1NodeFrameworkAttributes(output.FrameworkAttributes, context)
2310
- : undefined,
2294
+ FrameworkAttributes: output.FrameworkAttributes != null ? de_NodeFrameworkAttributes(output.FrameworkAttributes, context) : undefined,
2311
2295
  Id: __expectString(output.Id),
2312
2296
  InstanceType: __expectString(output.InstanceType),
2313
2297
  KmsKeyArn: __expectString(output.KmsKeyArn),
2314
2298
  LogPublishingConfiguration: output.LogPublishingConfiguration != null
2315
- ? deserializeAws_restJson1NodeLogPublishingConfiguration(output.LogPublishingConfiguration, context)
2299
+ ? de_NodeLogPublishingConfiguration(output.LogPublishingConfiguration, context)
2316
2300
  : undefined,
2317
2301
  MemberId: __expectString(output.MemberId),
2318
2302
  NetworkId: __expectString(output.NetworkId),
2319
2303
  StateDB: __expectString(output.StateDB),
2320
2304
  Status: __expectString(output.Status),
2321
- Tags: output.Tags != null ? deserializeAws_restJson1OutputTagMap(output.Tags, context) : undefined,
2305
+ Tags: output.Tags != null ? de_OutputTagMap(output.Tags, context) : undefined,
2322
2306
  };
2323
2307
  };
2324
- const deserializeAws_restJson1NodeEthereumAttributes = (output, context) => {
2308
+ const de_NodeEthereumAttributes = (output, context) => {
2325
2309
  return {
2326
2310
  HttpEndpoint: __expectString(output.HttpEndpoint),
2327
2311
  WebSocketEndpoint: __expectString(output.WebSocketEndpoint),
2328
2312
  };
2329
2313
  };
2330
- const deserializeAws_restJson1NodeFabricAttributes = (output, context) => {
2314
+ const de_NodeFabricAttributes = (output, context) => {
2331
2315
  return {
2332
2316
  PeerEndpoint: __expectString(output.PeerEndpoint),
2333
2317
  PeerEventEndpoint: __expectString(output.PeerEventEndpoint),
2334
2318
  };
2335
2319
  };
2336
- const deserializeAws_restJson1NodeFabricLogPublishingConfiguration = (output, context) => {
2320
+ const de_NodeFabricLogPublishingConfiguration = (output, context) => {
2337
2321
  return {
2338
- ChaincodeLogs: output.ChaincodeLogs != null
2339
- ? deserializeAws_restJson1LogConfigurations(output.ChaincodeLogs, context)
2340
- : undefined,
2341
- PeerLogs: output.PeerLogs != null ? deserializeAws_restJson1LogConfigurations(output.PeerLogs, context) : undefined,
2322
+ ChaincodeLogs: output.ChaincodeLogs != null ? de_LogConfigurations(output.ChaincodeLogs, context) : undefined,
2323
+ PeerLogs: output.PeerLogs != null ? de_LogConfigurations(output.PeerLogs, context) : undefined,
2342
2324
  };
2343
2325
  };
2344
- const deserializeAws_restJson1NodeFrameworkAttributes = (output, context) => {
2326
+ const de_NodeFrameworkAttributes = (output, context) => {
2345
2327
  return {
2346
- Ethereum: output.Ethereum != null ? deserializeAws_restJson1NodeEthereumAttributes(output.Ethereum, context) : undefined,
2347
- Fabric: output.Fabric != null ? deserializeAws_restJson1NodeFabricAttributes(output.Fabric, context) : undefined,
2328
+ Ethereum: output.Ethereum != null ? de_NodeEthereumAttributes(output.Ethereum, context) : undefined,
2329
+ Fabric: output.Fabric != null ? de_NodeFabricAttributes(output.Fabric, context) : undefined,
2348
2330
  };
2349
2331
  };
2350
- const deserializeAws_restJson1NodeLogPublishingConfiguration = (output, context) => {
2332
+ const de_NodeLogPublishingConfiguration = (output, context) => {
2351
2333
  return {
2352
- Fabric: output.Fabric != null
2353
- ? deserializeAws_restJson1NodeFabricLogPublishingConfiguration(output.Fabric, context)
2354
- : undefined,
2334
+ Fabric: output.Fabric != null ? de_NodeFabricLogPublishingConfiguration(output.Fabric, context) : undefined,
2355
2335
  };
2356
2336
  };
2357
- const deserializeAws_restJson1NodeSummary = (output, context) => {
2337
+ const de_NodeSummary = (output, context) => {
2358
2338
  return {
2359
2339
  Arn: __expectString(output.Arn),
2360
2340
  AvailabilityZone: __expectString(output.AvailabilityZone),
@@ -2364,18 +2344,18 @@ const deserializeAws_restJson1NodeSummary = (output, context) => {
2364
2344
  Status: __expectString(output.Status),
2365
2345
  };
2366
2346
  };
2367
- const deserializeAws_restJson1NodeSummaryList = (output, context) => {
2347
+ const de_NodeSummaryList = (output, context) => {
2368
2348
  const retVal = (output || [])
2369
2349
  .filter((e) => e != null)
2370
2350
  .map((entry) => {
2371
2351
  if (entry === null) {
2372
2352
  return null;
2373
2353
  }
2374
- return deserializeAws_restJson1NodeSummary(entry, context);
2354
+ return de_NodeSummary(entry, context);
2375
2355
  });
2376
2356
  return retVal;
2377
2357
  };
2378
- const deserializeAws_restJson1OutputTagMap = (output, context) => {
2358
+ const de_OutputTagMap = (output, context) => {
2379
2359
  return Object.entries(output).reduce((acc, [key, value]) => {
2380
2360
  if (value === null) {
2381
2361
  return acc;
@@ -2384,9 +2364,9 @@ const deserializeAws_restJson1OutputTagMap = (output, context) => {
2384
2364
  return acc;
2385
2365
  }, {});
2386
2366
  };
2387
- const deserializeAws_restJson1Proposal = (output, context) => {
2367
+ const de_Proposal = (output, context) => {
2388
2368
  return {
2389
- Actions: output.Actions != null ? deserializeAws_restJson1ProposalActions(output.Actions, context) : undefined,
2369
+ Actions: output.Actions != null ? de_ProposalActions(output.Actions, context) : undefined,
2390
2370
  Arn: __expectString(output.Arn),
2391
2371
  CreationDate: output.CreationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationDate)) : undefined,
2392
2372
  Description: __expectString(output.Description),
@@ -2400,17 +2380,17 @@ const deserializeAws_restJson1Proposal = (output, context) => {
2400
2380
  ProposedByMemberId: __expectString(output.ProposedByMemberId),
2401
2381
  ProposedByMemberName: __expectString(output.ProposedByMemberName),
2402
2382
  Status: __expectString(output.Status),
2403
- Tags: output.Tags != null ? deserializeAws_restJson1OutputTagMap(output.Tags, context) : undefined,
2383
+ Tags: output.Tags != null ? de_OutputTagMap(output.Tags, context) : undefined,
2404
2384
  YesVoteCount: __expectInt32(output.YesVoteCount),
2405
2385
  };
2406
2386
  };
2407
- const deserializeAws_restJson1ProposalActions = (output, context) => {
2387
+ const de_ProposalActions = (output, context) => {
2408
2388
  return {
2409
- Invitations: output.Invitations != null ? deserializeAws_restJson1InviteActionList(output.Invitations, context) : undefined,
2410
- Removals: output.Removals != null ? deserializeAws_restJson1RemoveActionList(output.Removals, context) : undefined,
2389
+ Invitations: output.Invitations != null ? de_InviteActionList(output.Invitations, context) : undefined,
2390
+ Removals: output.Removals != null ? de_RemoveActionList(output.Removals, context) : undefined,
2411
2391
  };
2412
2392
  };
2413
- const deserializeAws_restJson1ProposalSummary = (output, context) => {
2393
+ const de_ProposalSummary = (output, context) => {
2414
2394
  return {
2415
2395
  Arn: __expectString(output.Arn),
2416
2396
  CreationDate: output.CreationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationDate)) : undefined,
@@ -2424,55 +2404,55 @@ const deserializeAws_restJson1ProposalSummary = (output, context) => {
2424
2404
  Status: __expectString(output.Status),
2425
2405
  };
2426
2406
  };
2427
- const deserializeAws_restJson1ProposalSummaryList = (output, context) => {
2407
+ const de_ProposalSummaryList = (output, context) => {
2428
2408
  const retVal = (output || [])
2429
2409
  .filter((e) => e != null)
2430
2410
  .map((entry) => {
2431
2411
  if (entry === null) {
2432
2412
  return null;
2433
2413
  }
2434
- return deserializeAws_restJson1ProposalSummary(entry, context);
2414
+ return de_ProposalSummary(entry, context);
2435
2415
  });
2436
2416
  return retVal;
2437
2417
  };
2438
- const deserializeAws_restJson1ProposalVoteList = (output, context) => {
2418
+ const de_ProposalVoteList = (output, context) => {
2439
2419
  const retVal = (output || [])
2440
2420
  .filter((e) => e != null)
2441
2421
  .map((entry) => {
2442
2422
  if (entry === null) {
2443
2423
  return null;
2444
2424
  }
2445
- return deserializeAws_restJson1VoteSummary(entry, context);
2425
+ return de_VoteSummary(entry, context);
2446
2426
  });
2447
2427
  return retVal;
2448
2428
  };
2449
- const deserializeAws_restJson1RemoveAction = (output, context) => {
2429
+ const de_RemoveAction = (output, context) => {
2450
2430
  return {
2451
2431
  MemberId: __expectString(output.MemberId),
2452
2432
  };
2453
2433
  };
2454
- const deserializeAws_restJson1RemoveActionList = (output, context) => {
2434
+ const de_RemoveActionList = (output, context) => {
2455
2435
  const retVal = (output || [])
2456
2436
  .filter((e) => e != null)
2457
2437
  .map((entry) => {
2458
2438
  if (entry === null) {
2459
2439
  return null;
2460
2440
  }
2461
- return deserializeAws_restJson1RemoveAction(entry, context);
2441
+ return de_RemoveAction(entry, context);
2462
2442
  });
2463
2443
  return retVal;
2464
2444
  };
2465
- const deserializeAws_restJson1VoteSummary = (output, context) => {
2445
+ const de_VoteSummary = (output, context) => {
2466
2446
  return {
2467
2447
  MemberId: __expectString(output.MemberId),
2468
2448
  MemberName: __expectString(output.MemberName),
2469
2449
  Vote: __expectString(output.Vote),
2470
2450
  };
2471
2451
  };
2472
- const deserializeAws_restJson1VotingPolicy = (output, context) => {
2452
+ const de_VotingPolicy = (output, context) => {
2473
2453
  return {
2474
2454
  ApprovalThresholdPolicy: output.ApprovalThresholdPolicy != null
2475
- ? deserializeAws_restJson1ApprovalThresholdPolicy(output.ApprovalThresholdPolicy, context)
2455
+ ? de_ApprovalThresholdPolicy(output.ApprovalThresholdPolicy, context)
2476
2456
  : undefined,
2477
2457
  };
2478
2458
  };