@aws-sdk/client-managedblockchain 3.303.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 +29 -29
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1RejectInvitationCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListProposalVotesCommand = exports.deserializeAws_restJson1ListProposalsCommand = exports.deserializeAws_restJson1ListNodesCommand = exports.deserializeAws_restJson1ListNetworksCommand = exports.deserializeAws_restJson1ListMembersCommand = exports.deserializeAws_restJson1ListInvitationsCommand = exports.deserializeAws_restJson1ListAccessorsCommand = exports.deserializeAws_restJson1GetProposalCommand = exports.deserializeAws_restJson1GetNodeCommand = exports.deserializeAws_restJson1GetNetworkCommand = exports.deserializeAws_restJson1GetMemberCommand = exports.deserializeAws_restJson1GetAccessorCommand = exports.deserializeAws_restJson1DeleteNodeCommand = exports.deserializeAws_restJson1DeleteMemberCommand = exports.deserializeAws_restJson1DeleteAccessorCommand = exports.deserializeAws_restJson1CreateProposalCommand = exports.deserializeAws_restJson1CreateNodeCommand = exports.deserializeAws_restJson1CreateNetworkCommand = exports.deserializeAws_restJson1CreateMemberCommand = exports.deserializeAws_restJson1CreateAccessorCommand = exports.serializeAws_restJson1VoteOnProposalCommand = exports.serializeAws_restJson1UpdateNodeCommand = exports.serializeAws_restJson1UpdateMemberCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1RejectInvitationCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListProposalVotesCommand = exports.serializeAws_restJson1ListProposalsCommand = exports.serializeAws_restJson1ListNodesCommand = exports.serializeAws_restJson1ListNetworksCommand = exports.serializeAws_restJson1ListMembersCommand = exports.serializeAws_restJson1ListInvitationsCommand = exports.serializeAws_restJson1ListAccessorsCommand = exports.serializeAws_restJson1GetProposalCommand = exports.serializeAws_restJson1GetNodeCommand = exports.serializeAws_restJson1GetNetworkCommand = exports.serializeAws_restJson1GetMemberCommand = exports.serializeAws_restJson1GetAccessorCommand = exports.serializeAws_restJson1DeleteNodeCommand = exports.serializeAws_restJson1DeleteMemberCommand = exports.serializeAws_restJson1DeleteAccessorCommand = exports.serializeAws_restJson1CreateProposalCommand = exports.serializeAws_restJson1CreateNodeCommand = exports.serializeAws_restJson1CreateNetworkCommand = exports.serializeAws_restJson1CreateMemberCommand = exports.serializeAws_restJson1CreateAccessorCommand = void 0;
4
- exports.deserializeAws_restJson1VoteOnProposalCommand = exports.deserializeAws_restJson1UpdateNodeCommand = exports.deserializeAws_restJson1UpdateMemberCommand = exports.deserializeAws_restJson1UntagResourceCommand = void 0;
3
+ exports.de_TagResourceCommand = exports.de_RejectInvitationCommand = exports.de_ListTagsForResourceCommand = exports.de_ListProposalVotesCommand = exports.de_ListProposalsCommand = exports.de_ListNodesCommand = exports.de_ListNetworksCommand = exports.de_ListMembersCommand = exports.de_ListInvitationsCommand = exports.de_ListAccessorsCommand = exports.de_GetProposalCommand = exports.de_GetNodeCommand = exports.de_GetNetworkCommand = exports.de_GetMemberCommand = exports.de_GetAccessorCommand = exports.de_DeleteNodeCommand = exports.de_DeleteMemberCommand = exports.de_DeleteAccessorCommand = exports.de_CreateProposalCommand = exports.de_CreateNodeCommand = exports.de_CreateNetworkCommand = exports.de_CreateMemberCommand = exports.de_CreateAccessorCommand = exports.se_VoteOnProposalCommand = exports.se_UpdateNodeCommand = exports.se_UpdateMemberCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RejectInvitationCommand = exports.se_ListTagsForResourceCommand = exports.se_ListProposalVotesCommand = exports.se_ListProposalsCommand = exports.se_ListNodesCommand = exports.se_ListNetworksCommand = exports.se_ListMembersCommand = exports.se_ListInvitationsCommand = exports.se_ListAccessorsCommand = exports.se_GetProposalCommand = exports.se_GetNodeCommand = exports.se_GetNetworkCommand = exports.se_GetMemberCommand = exports.se_GetAccessorCommand = exports.se_DeleteNodeCommand = exports.se_DeleteMemberCommand = exports.se_DeleteAccessorCommand = exports.se_CreateProposalCommand = exports.se_CreateNodeCommand = exports.se_CreateNetworkCommand = exports.se_CreateMemberCommand = exports.se_CreateAccessorCommand = void 0;
4
+ exports.de_VoteOnProposalCommand = exports.de_UpdateNodeCommand = exports.de_UpdateMemberCommand = exports.de_UntagResourceCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const uuid_1 = require("uuid");
8
8
  const ManagedBlockchainServiceException_1 = require("../models/ManagedBlockchainServiceException");
9
9
  const models_0_1 = require("../models/models_0");
10
- const serializeAws_restJson1CreateAccessorCommand = async (input, context) => {
10
+ const se_CreateAccessorCommand = async (input, context) => {
11
11
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
12
12
  const headers = {
13
13
  "content-type": "application/json",
@@ -17,7 +17,7 @@ const serializeAws_restJson1CreateAccessorCommand = async (input, context) => {
17
17
  body = JSON.stringify({
18
18
  ...(input.AccessorType != null && { AccessorType: input.AccessorType }),
19
19
  ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
20
- ...(input.Tags != null && { Tags: serializeAws_restJson1InputTagMap(input.Tags, context) }),
20
+ ...(input.Tags != null && { Tags: se_InputTagMap(input.Tags, context) }),
21
21
  });
22
22
  return new protocol_http_1.HttpRequest({
23
23
  protocol,
@@ -29,8 +29,8 @@ const serializeAws_restJson1CreateAccessorCommand = async (input, context) => {
29
29
  body,
30
30
  });
31
31
  };
32
- exports.serializeAws_restJson1CreateAccessorCommand = serializeAws_restJson1CreateAccessorCommand;
33
- const serializeAws_restJson1CreateMemberCommand = async (input, context) => {
32
+ exports.se_CreateAccessorCommand = se_CreateAccessorCommand;
33
+ const se_CreateMemberCommand = async (input, context) => {
34
34
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
35
35
  const headers = {
36
36
  "content-type": "application/json",
@@ -42,7 +42,7 @@ const serializeAws_restJson1CreateMemberCommand = async (input, context) => {
42
42
  ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
43
43
  ...(input.InvitationId != null && { InvitationId: input.InvitationId }),
44
44
  ...(input.MemberConfiguration != null && {
45
- MemberConfiguration: serializeAws_restJson1MemberConfiguration(input.MemberConfiguration, context),
45
+ MemberConfiguration: se_MemberConfiguration(input.MemberConfiguration, context),
46
46
  }),
47
47
  });
48
48
  return new protocol_http_1.HttpRequest({
@@ -55,8 +55,8 @@ const serializeAws_restJson1CreateMemberCommand = async (input, context) => {
55
55
  body,
56
56
  });
57
57
  };
58
- exports.serializeAws_restJson1CreateMemberCommand = serializeAws_restJson1CreateMemberCommand;
59
- const serializeAws_restJson1CreateNetworkCommand = async (input, context) => {
58
+ exports.se_CreateMemberCommand = se_CreateMemberCommand;
59
+ const se_CreateNetworkCommand = async (input, context) => {
60
60
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
61
61
  const headers = {
62
62
  "content-type": "application/json",
@@ -68,17 +68,15 @@ const serializeAws_restJson1CreateNetworkCommand = async (input, context) => {
68
68
  ...(input.Description != null && { Description: input.Description }),
69
69
  ...(input.Framework != null && { Framework: input.Framework }),
70
70
  ...(input.FrameworkConfiguration != null && {
71
- FrameworkConfiguration: serializeAws_restJson1NetworkFrameworkConfiguration(input.FrameworkConfiguration, context),
71
+ FrameworkConfiguration: se_NetworkFrameworkConfiguration(input.FrameworkConfiguration, context),
72
72
  }),
73
73
  ...(input.FrameworkVersion != null && { FrameworkVersion: input.FrameworkVersion }),
74
74
  ...(input.MemberConfiguration != null && {
75
- MemberConfiguration: serializeAws_restJson1MemberConfiguration(input.MemberConfiguration, context),
75
+ MemberConfiguration: se_MemberConfiguration(input.MemberConfiguration, context),
76
76
  }),
77
77
  ...(input.Name != null && { Name: input.Name }),
78
- ...(input.Tags != null && { Tags: serializeAws_restJson1InputTagMap(input.Tags, context) }),
79
- ...(input.VotingPolicy != null && {
80
- VotingPolicy: serializeAws_restJson1VotingPolicy(input.VotingPolicy, context),
81
- }),
78
+ ...(input.Tags != null && { Tags: se_InputTagMap(input.Tags, context) }),
79
+ ...(input.VotingPolicy != null && { VotingPolicy: se_VotingPolicy(input.VotingPolicy, context) }),
82
80
  });
83
81
  return new protocol_http_1.HttpRequest({
84
82
  protocol,
@@ -90,8 +88,8 @@ const serializeAws_restJson1CreateNetworkCommand = async (input, context) => {
90
88
  body,
91
89
  });
92
90
  };
93
- exports.serializeAws_restJson1CreateNetworkCommand = serializeAws_restJson1CreateNetworkCommand;
94
- const serializeAws_restJson1CreateNodeCommand = async (input, context) => {
91
+ exports.se_CreateNetworkCommand = se_CreateNetworkCommand;
92
+ const se_CreateNodeCommand = async (input, context) => {
95
93
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
96
94
  const headers = {
97
95
  "content-type": "application/json",
@@ -103,9 +101,9 @@ const serializeAws_restJson1CreateNodeCommand = async (input, context) => {
103
101
  ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
104
102
  ...(input.MemberId != null && { MemberId: input.MemberId }),
105
103
  ...(input.NodeConfiguration != null && {
106
- NodeConfiguration: serializeAws_restJson1NodeConfiguration(input.NodeConfiguration, context),
104
+ NodeConfiguration: se_NodeConfiguration(input.NodeConfiguration, context),
107
105
  }),
108
- ...(input.Tags != null && { Tags: serializeAws_restJson1InputTagMap(input.Tags, context) }),
106
+ ...(input.Tags != null && { Tags: se_InputTagMap(input.Tags, context) }),
109
107
  });
110
108
  return new protocol_http_1.HttpRequest({
111
109
  protocol,
@@ -117,8 +115,8 @@ const serializeAws_restJson1CreateNodeCommand = async (input, context) => {
117
115
  body,
118
116
  });
119
117
  };
120
- exports.serializeAws_restJson1CreateNodeCommand = serializeAws_restJson1CreateNodeCommand;
121
- const serializeAws_restJson1CreateProposalCommand = async (input, context) => {
118
+ exports.se_CreateNodeCommand = se_CreateNodeCommand;
119
+ const se_CreateProposalCommand = async (input, context) => {
122
120
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
123
121
  const headers = {
124
122
  "content-type": "application/json",
@@ -127,11 +125,11 @@ const serializeAws_restJson1CreateProposalCommand = async (input, context) => {
127
125
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "NetworkId", () => input.NetworkId, "{NetworkId}", false);
128
126
  let body;
129
127
  body = JSON.stringify({
130
- ...(input.Actions != null && { Actions: serializeAws_restJson1ProposalActions(input.Actions, context) }),
128
+ ...(input.Actions != null && { Actions: se_ProposalActions(input.Actions, context) }),
131
129
  ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
132
130
  ...(input.Description != null && { Description: input.Description }),
133
131
  ...(input.MemberId != null && { MemberId: input.MemberId }),
134
- ...(input.Tags != null && { Tags: serializeAws_restJson1InputTagMap(input.Tags, context) }),
132
+ ...(input.Tags != null && { Tags: se_InputTagMap(input.Tags, context) }),
135
133
  });
136
134
  return new protocol_http_1.HttpRequest({
137
135
  protocol,
@@ -143,8 +141,8 @@ const serializeAws_restJson1CreateProposalCommand = async (input, context) => {
143
141
  body,
144
142
  });
145
143
  };
146
- exports.serializeAws_restJson1CreateProposalCommand = serializeAws_restJson1CreateProposalCommand;
147
- const serializeAws_restJson1DeleteAccessorCommand = async (input, context) => {
144
+ exports.se_CreateProposalCommand = se_CreateProposalCommand;
145
+ const se_DeleteAccessorCommand = async (input, context) => {
148
146
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
149
147
  const headers = {};
150
148
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accessors/{AccessorId}";
@@ -160,8 +158,8 @@ const serializeAws_restJson1DeleteAccessorCommand = async (input, context) => {
160
158
  body,
161
159
  });
162
160
  };
163
- exports.serializeAws_restJson1DeleteAccessorCommand = serializeAws_restJson1DeleteAccessorCommand;
164
- const serializeAws_restJson1DeleteMemberCommand = async (input, context) => {
161
+ exports.se_DeleteAccessorCommand = se_DeleteAccessorCommand;
162
+ const se_DeleteMemberCommand = async (input, context) => {
165
163
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
166
164
  const headers = {};
167
165
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/members/{MemberId}";
@@ -178,8 +176,8 @@ const serializeAws_restJson1DeleteMemberCommand = async (input, context) => {
178
176
  body,
179
177
  });
180
178
  };
181
- exports.serializeAws_restJson1DeleteMemberCommand = serializeAws_restJson1DeleteMemberCommand;
182
- const serializeAws_restJson1DeleteNodeCommand = async (input, context) => {
179
+ exports.se_DeleteMemberCommand = se_DeleteMemberCommand;
180
+ const se_DeleteNodeCommand = async (input, context) => {
183
181
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
184
182
  const headers = {};
185
183
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/nodes/{NodeId}";
@@ -200,8 +198,8 @@ const serializeAws_restJson1DeleteNodeCommand = async (input, context) => {
200
198
  body,
201
199
  });
202
200
  };
203
- exports.serializeAws_restJson1DeleteNodeCommand = serializeAws_restJson1DeleteNodeCommand;
204
- const serializeAws_restJson1GetAccessorCommand = async (input, context) => {
201
+ exports.se_DeleteNodeCommand = se_DeleteNodeCommand;
202
+ const se_GetAccessorCommand = async (input, context) => {
205
203
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
206
204
  const headers = {};
207
205
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accessors/{AccessorId}";
@@ -217,8 +215,8 @@ const serializeAws_restJson1GetAccessorCommand = async (input, context) => {
217
215
  body,
218
216
  });
219
217
  };
220
- exports.serializeAws_restJson1GetAccessorCommand = serializeAws_restJson1GetAccessorCommand;
221
- const serializeAws_restJson1GetMemberCommand = async (input, context) => {
218
+ exports.se_GetAccessorCommand = se_GetAccessorCommand;
219
+ const se_GetMemberCommand = async (input, context) => {
222
220
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
223
221
  const headers = {};
224
222
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/members/{MemberId}";
@@ -235,8 +233,8 @@ const serializeAws_restJson1GetMemberCommand = async (input, context) => {
235
233
  body,
236
234
  });
237
235
  };
238
- exports.serializeAws_restJson1GetMemberCommand = serializeAws_restJson1GetMemberCommand;
239
- const serializeAws_restJson1GetNetworkCommand = async (input, context) => {
236
+ exports.se_GetMemberCommand = se_GetMemberCommand;
237
+ const se_GetNetworkCommand = async (input, context) => {
240
238
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
241
239
  const headers = {};
242
240
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}";
@@ -252,8 +250,8 @@ const serializeAws_restJson1GetNetworkCommand = async (input, context) => {
252
250
  body,
253
251
  });
254
252
  };
255
- exports.serializeAws_restJson1GetNetworkCommand = serializeAws_restJson1GetNetworkCommand;
256
- const serializeAws_restJson1GetNodeCommand = async (input, context) => {
253
+ exports.se_GetNetworkCommand = se_GetNetworkCommand;
254
+ const se_GetNodeCommand = async (input, context) => {
257
255
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
258
256
  const headers = {};
259
257
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/nodes/{NodeId}";
@@ -274,8 +272,8 @@ const serializeAws_restJson1GetNodeCommand = async (input, context) => {
274
272
  body,
275
273
  });
276
274
  };
277
- exports.serializeAws_restJson1GetNodeCommand = serializeAws_restJson1GetNodeCommand;
278
- const serializeAws_restJson1GetProposalCommand = async (input, context) => {
275
+ exports.se_GetNodeCommand = se_GetNodeCommand;
276
+ const se_GetProposalCommand = async (input, context) => {
279
277
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
280
278
  const headers = {};
281
279
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -293,8 +291,8 @@ const serializeAws_restJson1GetProposalCommand = async (input, context) => {
293
291
  body,
294
292
  });
295
293
  };
296
- exports.serializeAws_restJson1GetProposalCommand = serializeAws_restJson1GetProposalCommand;
297
- const serializeAws_restJson1ListAccessorsCommand = async (input, context) => {
294
+ exports.se_GetProposalCommand = se_GetProposalCommand;
295
+ const se_ListAccessorsCommand = async (input, context) => {
298
296
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
299
297
  const headers = {};
300
298
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accessors";
@@ -314,8 +312,8 @@ const serializeAws_restJson1ListAccessorsCommand = async (input, context) => {
314
312
  body,
315
313
  });
316
314
  };
317
- exports.serializeAws_restJson1ListAccessorsCommand = serializeAws_restJson1ListAccessorsCommand;
318
- const serializeAws_restJson1ListInvitationsCommand = async (input, context) => {
315
+ exports.se_ListAccessorsCommand = se_ListAccessorsCommand;
316
+ const se_ListInvitationsCommand = async (input, context) => {
319
317
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
320
318
  const headers = {};
321
319
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/invitations";
@@ -335,8 +333,8 @@ const serializeAws_restJson1ListInvitationsCommand = async (input, context) => {
335
333
  body,
336
334
  });
337
335
  };
338
- exports.serializeAws_restJson1ListInvitationsCommand = serializeAws_restJson1ListInvitationsCommand;
339
- const serializeAws_restJson1ListMembersCommand = async (input, context) => {
336
+ exports.se_ListInvitationsCommand = se_ListInvitationsCommand;
337
+ const se_ListMembersCommand = async (input, context) => {
340
338
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
341
339
  const headers = {};
342
340
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/members";
@@ -360,8 +358,8 @@ const serializeAws_restJson1ListMembersCommand = async (input, context) => {
360
358
  body,
361
359
  });
362
360
  };
363
- exports.serializeAws_restJson1ListMembersCommand = serializeAws_restJson1ListMembersCommand;
364
- const serializeAws_restJson1ListNetworksCommand = async (input, context) => {
361
+ exports.se_ListMembersCommand = se_ListMembersCommand;
362
+ const se_ListNetworksCommand = async (input, context) => {
365
363
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
366
364
  const headers = {};
367
365
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks";
@@ -384,8 +382,8 @@ const serializeAws_restJson1ListNetworksCommand = async (input, context) => {
384
382
  body,
385
383
  });
386
384
  };
387
- exports.serializeAws_restJson1ListNetworksCommand = serializeAws_restJson1ListNetworksCommand;
388
- const serializeAws_restJson1ListNodesCommand = async (input, context) => {
385
+ exports.se_ListNetworksCommand = se_ListNetworksCommand;
386
+ const se_ListNodesCommand = async (input, context) => {
389
387
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
390
388
  const headers = {};
391
389
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/nodes";
@@ -408,8 +406,8 @@ const serializeAws_restJson1ListNodesCommand = async (input, context) => {
408
406
  body,
409
407
  });
410
408
  };
411
- exports.serializeAws_restJson1ListNodesCommand = serializeAws_restJson1ListNodesCommand;
412
- const serializeAws_restJson1ListProposalsCommand = async (input, context) => {
409
+ exports.se_ListNodesCommand = se_ListNodesCommand;
410
+ const se_ListProposalsCommand = async (input, context) => {
413
411
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
414
412
  const headers = {};
415
413
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networks/{NetworkId}/proposals";
@@ -430,8 +428,8 @@ const serializeAws_restJson1ListProposalsCommand = async (input, context) => {
430
428
  body,
431
429
  });
432
430
  };
433
- exports.serializeAws_restJson1ListProposalsCommand = serializeAws_restJson1ListProposalsCommand;
434
- const serializeAws_restJson1ListProposalVotesCommand = async (input, context) => {
431
+ exports.se_ListProposalsCommand = se_ListProposalsCommand;
432
+ const se_ListProposalVotesCommand = 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 || ""}` +
@@ -454,8 +452,8 @@ const serializeAws_restJson1ListProposalVotesCommand = async (input, context) =>
454
452
  body,
455
453
  });
456
454
  };
457
- exports.serializeAws_restJson1ListProposalVotesCommand = serializeAws_restJson1ListProposalVotesCommand;
458
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
455
+ exports.se_ListProposalVotesCommand = se_ListProposalVotesCommand;
456
+ const se_ListTagsForResourceCommand = async (input, context) => {
459
457
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
460
458
  const headers = {};
461
459
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -471,8 +469,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
471
469
  body,
472
470
  });
473
471
  };
474
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
475
- const serializeAws_restJson1RejectInvitationCommand = async (input, context) => {
472
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
473
+ const se_RejectInvitationCommand = async (input, context) => {
476
474
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
477
475
  const headers = {};
478
476
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/invitations/{InvitationId}";
@@ -488,8 +486,8 @@ const serializeAws_restJson1RejectInvitationCommand = async (input, context) =>
488
486
  body,
489
487
  });
490
488
  };
491
- exports.serializeAws_restJson1RejectInvitationCommand = serializeAws_restJson1RejectInvitationCommand;
492
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
489
+ exports.se_RejectInvitationCommand = se_RejectInvitationCommand;
490
+ const se_TagResourceCommand = async (input, context) => {
493
491
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
494
492
  const headers = {
495
493
  "content-type": "application/json",
@@ -498,7 +496,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
498
496
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
499
497
  let body;
500
498
  body = JSON.stringify({
501
- ...(input.Tags != null && { Tags: serializeAws_restJson1InputTagMap(input.Tags, context) }),
499
+ ...(input.Tags != null && { Tags: se_InputTagMap(input.Tags, context) }),
502
500
  });
503
501
  return new protocol_http_1.HttpRequest({
504
502
  protocol,
@@ -510,8 +508,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
510
508
  body,
511
509
  });
512
510
  };
513
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
514
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
511
+ exports.se_TagResourceCommand = se_TagResourceCommand;
512
+ const se_UntagResourceCommand = async (input, context) => {
515
513
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
516
514
  const headers = {};
517
515
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -534,8 +532,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
534
532
  body,
535
533
  });
536
534
  };
537
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
538
- const serializeAws_restJson1UpdateMemberCommand = async (input, context) => {
535
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
536
+ const se_UpdateMemberCommand = async (input, context) => {
539
537
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
540
538
  const headers = {
541
539
  "content-type": "application/json",
@@ -546,7 +544,7 @@ const serializeAws_restJson1UpdateMemberCommand = async (input, context) => {
546
544
  let body;
547
545
  body = JSON.stringify({
548
546
  ...(input.LogPublishingConfiguration != null && {
549
- LogPublishingConfiguration: serializeAws_restJson1MemberLogPublishingConfiguration(input.LogPublishingConfiguration, context),
547
+ LogPublishingConfiguration: se_MemberLogPublishingConfiguration(input.LogPublishingConfiguration, context),
550
548
  }),
551
549
  });
552
550
  return new protocol_http_1.HttpRequest({
@@ -559,8 +557,8 @@ const serializeAws_restJson1UpdateMemberCommand = async (input, context) => {
559
557
  body,
560
558
  });
561
559
  };
562
- exports.serializeAws_restJson1UpdateMemberCommand = serializeAws_restJson1UpdateMemberCommand;
563
- const serializeAws_restJson1UpdateNodeCommand = async (input, context) => {
560
+ exports.se_UpdateMemberCommand = se_UpdateMemberCommand;
561
+ const se_UpdateNodeCommand = async (input, context) => {
564
562
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
565
563
  const headers = {
566
564
  "content-type": "application/json",
@@ -571,7 +569,7 @@ const serializeAws_restJson1UpdateNodeCommand = async (input, context) => {
571
569
  let body;
572
570
  body = JSON.stringify({
573
571
  ...(input.LogPublishingConfiguration != null && {
574
- LogPublishingConfiguration: serializeAws_restJson1NodeLogPublishingConfiguration(input.LogPublishingConfiguration, context),
572
+ LogPublishingConfiguration: se_NodeLogPublishingConfiguration(input.LogPublishingConfiguration, context),
575
573
  }),
576
574
  ...(input.MemberId != null && { MemberId: input.MemberId }),
577
575
  });
@@ -585,8 +583,8 @@ const serializeAws_restJson1UpdateNodeCommand = async (input, context) => {
585
583
  body,
586
584
  });
587
585
  };
588
- exports.serializeAws_restJson1UpdateNodeCommand = serializeAws_restJson1UpdateNodeCommand;
589
- const serializeAws_restJson1VoteOnProposalCommand = async (input, context) => {
586
+ exports.se_UpdateNodeCommand = se_UpdateNodeCommand;
587
+ const se_VoteOnProposalCommand = async (input, context) => {
590
588
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
591
589
  const headers = {
592
590
  "content-type": "application/json",
@@ -610,10 +608,10 @@ const serializeAws_restJson1VoteOnProposalCommand = async (input, context) => {
610
608
  body,
611
609
  });
612
610
  };
613
- exports.serializeAws_restJson1VoteOnProposalCommand = serializeAws_restJson1VoteOnProposalCommand;
614
- const deserializeAws_restJson1CreateAccessorCommand = async (output, context) => {
611
+ exports.se_VoteOnProposalCommand = se_VoteOnProposalCommand;
612
+ const de_CreateAccessorCommand = async (output, context) => {
615
613
  if (output.statusCode !== 200 && output.statusCode >= 300) {
616
- return deserializeAws_restJson1CreateAccessorCommandError(output, context);
614
+ return de_CreateAccessorCommandError(output, context);
617
615
  }
618
616
  const contents = map({
619
617
  $metadata: deserializeMetadata(output),
@@ -627,8 +625,8 @@ const deserializeAws_restJson1CreateAccessorCommand = async (output, context) =>
627
625
  }
628
626
  return contents;
629
627
  };
630
- exports.deserializeAws_restJson1CreateAccessorCommand = deserializeAws_restJson1CreateAccessorCommand;
631
- const deserializeAws_restJson1CreateAccessorCommandError = async (output, context) => {
628
+ exports.de_CreateAccessorCommand = de_CreateAccessorCommand;
629
+ const de_CreateAccessorCommandError = async (output, context) => {
632
630
  const parsedOutput = {
633
631
  ...output,
634
632
  body: await parseErrorBody(output.body, context),
@@ -637,25 +635,25 @@ const deserializeAws_restJson1CreateAccessorCommandError = async (output, contex
637
635
  switch (errorCode) {
638
636
  case "AccessDeniedException":
639
637
  case "com.amazonaws.managedblockchain#AccessDeniedException":
640
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
638
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
641
639
  case "InternalServiceErrorException":
642
640
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
643
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
641
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
644
642
  case "InvalidRequestException":
645
643
  case "com.amazonaws.managedblockchain#InvalidRequestException":
646
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
644
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
647
645
  case "ResourceAlreadyExistsException":
648
646
  case "com.amazonaws.managedblockchain#ResourceAlreadyExistsException":
649
- throw await deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
647
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
650
648
  case "ResourceLimitExceededException":
651
649
  case "com.amazonaws.managedblockchain#ResourceLimitExceededException":
652
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
650
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
653
651
  case "ThrottlingException":
654
652
  case "com.amazonaws.managedblockchain#ThrottlingException":
655
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
653
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
656
654
  case "TooManyTagsException":
657
655
  case "com.amazonaws.managedblockchain#TooManyTagsException":
658
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
656
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
659
657
  default:
660
658
  const parsedBody = parsedOutput.body;
661
659
  (0, smithy_client_1.throwDefaultError)({
@@ -666,9 +664,9 @@ const deserializeAws_restJson1CreateAccessorCommandError = async (output, contex
666
664
  });
667
665
  }
668
666
  };
669
- const deserializeAws_restJson1CreateMemberCommand = async (output, context) => {
667
+ const de_CreateMemberCommand = async (output, context) => {
670
668
  if (output.statusCode !== 200 && output.statusCode >= 300) {
671
- return deserializeAws_restJson1CreateMemberCommandError(output, context);
669
+ return de_CreateMemberCommandError(output, context);
672
670
  }
673
671
  const contents = map({
674
672
  $metadata: deserializeMetadata(output),
@@ -679,8 +677,8 @@ const deserializeAws_restJson1CreateMemberCommand = async (output, context) => {
679
677
  }
680
678
  return contents;
681
679
  };
682
- exports.deserializeAws_restJson1CreateMemberCommand = deserializeAws_restJson1CreateMemberCommand;
683
- const deserializeAws_restJson1CreateMemberCommandError = async (output, context) => {
680
+ exports.de_CreateMemberCommand = de_CreateMemberCommand;
681
+ const de_CreateMemberCommandError = async (output, context) => {
684
682
  const parsedOutput = {
685
683
  ...output,
686
684
  body: await parseErrorBody(output.body, context),
@@ -689,31 +687,31 @@ const deserializeAws_restJson1CreateMemberCommandError = async (output, context)
689
687
  switch (errorCode) {
690
688
  case "AccessDeniedException":
691
689
  case "com.amazonaws.managedblockchain#AccessDeniedException":
692
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
690
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
693
691
  case "InternalServiceErrorException":
694
692
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
695
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
693
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
696
694
  case "InvalidRequestException":
697
695
  case "com.amazonaws.managedblockchain#InvalidRequestException":
698
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
696
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
699
697
  case "ResourceAlreadyExistsException":
700
698
  case "com.amazonaws.managedblockchain#ResourceAlreadyExistsException":
701
- throw await deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
699
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
702
700
  case "ResourceLimitExceededException":
703
701
  case "com.amazonaws.managedblockchain#ResourceLimitExceededException":
704
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
702
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
705
703
  case "ResourceNotFoundException":
706
704
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
707
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
705
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
708
706
  case "ResourceNotReadyException":
709
707
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
710
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
708
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
711
709
  case "ThrottlingException":
712
710
  case "com.amazonaws.managedblockchain#ThrottlingException":
713
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
711
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
714
712
  case "TooManyTagsException":
715
713
  case "com.amazonaws.managedblockchain#TooManyTagsException":
716
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
714
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
717
715
  default:
718
716
  const parsedBody = parsedOutput.body;
719
717
  (0, smithy_client_1.throwDefaultError)({
@@ -724,9 +722,9 @@ const deserializeAws_restJson1CreateMemberCommandError = async (output, context)
724
722
  });
725
723
  }
726
724
  };
727
- const deserializeAws_restJson1CreateNetworkCommand = async (output, context) => {
725
+ const de_CreateNetworkCommand = async (output, context) => {
728
726
  if (output.statusCode !== 200 && output.statusCode >= 300) {
729
- return deserializeAws_restJson1CreateNetworkCommandError(output, context);
727
+ return de_CreateNetworkCommandError(output, context);
730
728
  }
731
729
  const contents = map({
732
730
  $metadata: deserializeMetadata(output),
@@ -740,8 +738,8 @@ const deserializeAws_restJson1CreateNetworkCommand = async (output, context) =>
740
738
  }
741
739
  return contents;
742
740
  };
743
- exports.deserializeAws_restJson1CreateNetworkCommand = deserializeAws_restJson1CreateNetworkCommand;
744
- const deserializeAws_restJson1CreateNetworkCommandError = async (output, context) => {
741
+ exports.de_CreateNetworkCommand = de_CreateNetworkCommand;
742
+ const de_CreateNetworkCommandError = async (output, context) => {
745
743
  const parsedOutput = {
746
744
  ...output,
747
745
  body: await parseErrorBody(output.body, context),
@@ -750,25 +748,25 @@ const deserializeAws_restJson1CreateNetworkCommandError = async (output, context
750
748
  switch (errorCode) {
751
749
  case "AccessDeniedException":
752
750
  case "com.amazonaws.managedblockchain#AccessDeniedException":
753
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
751
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
754
752
  case "InternalServiceErrorException":
755
753
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
756
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
754
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
757
755
  case "InvalidRequestException":
758
756
  case "com.amazonaws.managedblockchain#InvalidRequestException":
759
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
757
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
760
758
  case "ResourceAlreadyExistsException":
761
759
  case "com.amazonaws.managedblockchain#ResourceAlreadyExistsException":
762
- throw await deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
760
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
763
761
  case "ResourceLimitExceededException":
764
762
  case "com.amazonaws.managedblockchain#ResourceLimitExceededException":
765
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
763
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
766
764
  case "ThrottlingException":
767
765
  case "com.amazonaws.managedblockchain#ThrottlingException":
768
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
766
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
769
767
  case "TooManyTagsException":
770
768
  case "com.amazonaws.managedblockchain#TooManyTagsException":
771
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
769
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
772
770
  default:
773
771
  const parsedBody = parsedOutput.body;
774
772
  (0, smithy_client_1.throwDefaultError)({
@@ -779,9 +777,9 @@ const deserializeAws_restJson1CreateNetworkCommandError = async (output, context
779
777
  });
780
778
  }
781
779
  };
782
- const deserializeAws_restJson1CreateNodeCommand = async (output, context) => {
780
+ const de_CreateNodeCommand = async (output, context) => {
783
781
  if (output.statusCode !== 200 && output.statusCode >= 300) {
784
- return deserializeAws_restJson1CreateNodeCommandError(output, context);
782
+ return de_CreateNodeCommandError(output, context);
785
783
  }
786
784
  const contents = map({
787
785
  $metadata: deserializeMetadata(output),
@@ -792,8 +790,8 @@ const deserializeAws_restJson1CreateNodeCommand = async (output, context) => {
792
790
  }
793
791
  return contents;
794
792
  };
795
- exports.deserializeAws_restJson1CreateNodeCommand = deserializeAws_restJson1CreateNodeCommand;
796
- const deserializeAws_restJson1CreateNodeCommandError = async (output, context) => {
793
+ exports.de_CreateNodeCommand = de_CreateNodeCommand;
794
+ const de_CreateNodeCommandError = async (output, context) => {
797
795
  const parsedOutput = {
798
796
  ...output,
799
797
  body: await parseErrorBody(output.body, context),
@@ -802,31 +800,31 @@ const deserializeAws_restJson1CreateNodeCommandError = async (output, context) =
802
800
  switch (errorCode) {
803
801
  case "AccessDeniedException":
804
802
  case "com.amazonaws.managedblockchain#AccessDeniedException":
805
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
803
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
806
804
  case "InternalServiceErrorException":
807
805
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
808
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
806
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
809
807
  case "InvalidRequestException":
810
808
  case "com.amazonaws.managedblockchain#InvalidRequestException":
811
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
809
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
812
810
  case "ResourceAlreadyExistsException":
813
811
  case "com.amazonaws.managedblockchain#ResourceAlreadyExistsException":
814
- throw await deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
812
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
815
813
  case "ResourceLimitExceededException":
816
814
  case "com.amazonaws.managedblockchain#ResourceLimitExceededException":
817
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
815
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
818
816
  case "ResourceNotFoundException":
819
817
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
820
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
818
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
821
819
  case "ResourceNotReadyException":
822
820
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
823
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
821
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
824
822
  case "ThrottlingException":
825
823
  case "com.amazonaws.managedblockchain#ThrottlingException":
826
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
824
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
827
825
  case "TooManyTagsException":
828
826
  case "com.amazonaws.managedblockchain#TooManyTagsException":
829
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
827
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
830
828
  default:
831
829
  const parsedBody = parsedOutput.body;
832
830
  (0, smithy_client_1.throwDefaultError)({
@@ -837,9 +835,9 @@ const deserializeAws_restJson1CreateNodeCommandError = async (output, context) =
837
835
  });
838
836
  }
839
837
  };
840
- const deserializeAws_restJson1CreateProposalCommand = async (output, context) => {
838
+ const de_CreateProposalCommand = async (output, context) => {
841
839
  if (output.statusCode !== 200 && output.statusCode >= 300) {
842
- return deserializeAws_restJson1CreateProposalCommandError(output, context);
840
+ return de_CreateProposalCommandError(output, context);
843
841
  }
844
842
  const contents = map({
845
843
  $metadata: deserializeMetadata(output),
@@ -850,8 +848,8 @@ const deserializeAws_restJson1CreateProposalCommand = async (output, context) =>
850
848
  }
851
849
  return contents;
852
850
  };
853
- exports.deserializeAws_restJson1CreateProposalCommand = deserializeAws_restJson1CreateProposalCommand;
854
- const deserializeAws_restJson1CreateProposalCommandError = async (output, context) => {
851
+ exports.de_CreateProposalCommand = de_CreateProposalCommand;
852
+ const de_CreateProposalCommandError = async (output, context) => {
855
853
  const parsedOutput = {
856
854
  ...output,
857
855
  body: await parseErrorBody(output.body, context),
@@ -860,25 +858,25 @@ const deserializeAws_restJson1CreateProposalCommandError = async (output, contex
860
858
  switch (errorCode) {
861
859
  case "AccessDeniedException":
862
860
  case "com.amazonaws.managedblockchain#AccessDeniedException":
863
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
861
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
864
862
  case "InternalServiceErrorException":
865
863
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
866
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
864
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
867
865
  case "InvalidRequestException":
868
866
  case "com.amazonaws.managedblockchain#InvalidRequestException":
869
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
867
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
870
868
  case "ResourceNotFoundException":
871
869
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
872
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
870
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
873
871
  case "ResourceNotReadyException":
874
872
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
875
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
873
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
876
874
  case "ThrottlingException":
877
875
  case "com.amazonaws.managedblockchain#ThrottlingException":
878
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
876
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
879
877
  case "TooManyTagsException":
880
878
  case "com.amazonaws.managedblockchain#TooManyTagsException":
881
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
879
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
882
880
  default:
883
881
  const parsedBody = parsedOutput.body;
884
882
  (0, smithy_client_1.throwDefaultError)({
@@ -889,9 +887,9 @@ const deserializeAws_restJson1CreateProposalCommandError = async (output, contex
889
887
  });
890
888
  }
891
889
  };
892
- const deserializeAws_restJson1DeleteAccessorCommand = async (output, context) => {
890
+ const de_DeleteAccessorCommand = async (output, context) => {
893
891
  if (output.statusCode !== 200 && output.statusCode >= 300) {
894
- return deserializeAws_restJson1DeleteAccessorCommandError(output, context);
892
+ return de_DeleteAccessorCommandError(output, context);
895
893
  }
896
894
  const contents = map({
897
895
  $metadata: deserializeMetadata(output),
@@ -899,8 +897,8 @@ const deserializeAws_restJson1DeleteAccessorCommand = async (output, context) =>
899
897
  await collectBody(output.body, context);
900
898
  return contents;
901
899
  };
902
- exports.deserializeAws_restJson1DeleteAccessorCommand = deserializeAws_restJson1DeleteAccessorCommand;
903
- const deserializeAws_restJson1DeleteAccessorCommandError = async (output, context) => {
900
+ exports.de_DeleteAccessorCommand = de_DeleteAccessorCommand;
901
+ const de_DeleteAccessorCommandError = async (output, context) => {
904
902
  const parsedOutput = {
905
903
  ...output,
906
904
  body: await parseErrorBody(output.body, context),
@@ -909,19 +907,19 @@ const deserializeAws_restJson1DeleteAccessorCommandError = async (output, contex
909
907
  switch (errorCode) {
910
908
  case "AccessDeniedException":
911
909
  case "com.amazonaws.managedblockchain#AccessDeniedException":
912
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
910
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
913
911
  case "InternalServiceErrorException":
914
912
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
915
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
913
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
916
914
  case "InvalidRequestException":
917
915
  case "com.amazonaws.managedblockchain#InvalidRequestException":
918
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
916
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
919
917
  case "ResourceNotFoundException":
920
918
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
921
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
919
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
922
920
  case "ThrottlingException":
923
921
  case "com.amazonaws.managedblockchain#ThrottlingException":
924
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
922
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
925
923
  default:
926
924
  const parsedBody = parsedOutput.body;
927
925
  (0, smithy_client_1.throwDefaultError)({
@@ -932,9 +930,9 @@ const deserializeAws_restJson1DeleteAccessorCommandError = async (output, contex
932
930
  });
933
931
  }
934
932
  };
935
- const deserializeAws_restJson1DeleteMemberCommand = async (output, context) => {
933
+ const de_DeleteMemberCommand = async (output, context) => {
936
934
  if (output.statusCode !== 200 && output.statusCode >= 300) {
937
- return deserializeAws_restJson1DeleteMemberCommandError(output, context);
935
+ return de_DeleteMemberCommandError(output, context);
938
936
  }
939
937
  const contents = map({
940
938
  $metadata: deserializeMetadata(output),
@@ -942,8 +940,8 @@ const deserializeAws_restJson1DeleteMemberCommand = async (output, context) => {
942
940
  await collectBody(output.body, context);
943
941
  return contents;
944
942
  };
945
- exports.deserializeAws_restJson1DeleteMemberCommand = deserializeAws_restJson1DeleteMemberCommand;
946
- const deserializeAws_restJson1DeleteMemberCommandError = async (output, context) => {
943
+ exports.de_DeleteMemberCommand = de_DeleteMemberCommand;
944
+ const de_DeleteMemberCommandError = async (output, context) => {
947
945
  const parsedOutput = {
948
946
  ...output,
949
947
  body: await parseErrorBody(output.body, context),
@@ -952,22 +950,22 @@ const deserializeAws_restJson1DeleteMemberCommandError = async (output, context)
952
950
  switch (errorCode) {
953
951
  case "AccessDeniedException":
954
952
  case "com.amazonaws.managedblockchain#AccessDeniedException":
955
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
953
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
956
954
  case "InternalServiceErrorException":
957
955
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
958
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
956
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
959
957
  case "InvalidRequestException":
960
958
  case "com.amazonaws.managedblockchain#InvalidRequestException":
961
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
959
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
962
960
  case "ResourceNotFoundException":
963
961
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
964
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
962
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
965
963
  case "ResourceNotReadyException":
966
964
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
967
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
965
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
968
966
  case "ThrottlingException":
969
967
  case "com.amazonaws.managedblockchain#ThrottlingException":
970
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
968
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
971
969
  default:
972
970
  const parsedBody = parsedOutput.body;
973
971
  (0, smithy_client_1.throwDefaultError)({
@@ -978,9 +976,9 @@ const deserializeAws_restJson1DeleteMemberCommandError = async (output, context)
978
976
  });
979
977
  }
980
978
  };
981
- const deserializeAws_restJson1DeleteNodeCommand = async (output, context) => {
979
+ const de_DeleteNodeCommand = async (output, context) => {
982
980
  if (output.statusCode !== 200 && output.statusCode >= 300) {
983
- return deserializeAws_restJson1DeleteNodeCommandError(output, context);
981
+ return de_DeleteNodeCommandError(output, context);
984
982
  }
985
983
  const contents = map({
986
984
  $metadata: deserializeMetadata(output),
@@ -988,8 +986,8 @@ const deserializeAws_restJson1DeleteNodeCommand = async (output, context) => {
988
986
  await collectBody(output.body, context);
989
987
  return contents;
990
988
  };
991
- exports.deserializeAws_restJson1DeleteNodeCommand = deserializeAws_restJson1DeleteNodeCommand;
992
- const deserializeAws_restJson1DeleteNodeCommandError = async (output, context) => {
989
+ exports.de_DeleteNodeCommand = de_DeleteNodeCommand;
990
+ const de_DeleteNodeCommandError = async (output, context) => {
993
991
  const parsedOutput = {
994
992
  ...output,
995
993
  body: await parseErrorBody(output.body, context),
@@ -998,22 +996,22 @@ const deserializeAws_restJson1DeleteNodeCommandError = async (output, context) =
998
996
  switch (errorCode) {
999
997
  case "AccessDeniedException":
1000
998
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1001
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
999
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1002
1000
  case "InternalServiceErrorException":
1003
1001
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1004
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1002
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1005
1003
  case "InvalidRequestException":
1006
1004
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1007
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1005
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1008
1006
  case "ResourceNotFoundException":
1009
1007
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1010
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1008
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1011
1009
  case "ResourceNotReadyException":
1012
1010
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
1013
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
1011
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
1014
1012
  case "ThrottlingException":
1015
1013
  case "com.amazonaws.managedblockchain#ThrottlingException":
1016
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1014
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1017
1015
  default:
1018
1016
  const parsedBody = parsedOutput.body;
1019
1017
  (0, smithy_client_1.throwDefaultError)({
@@ -1024,21 +1022,21 @@ const deserializeAws_restJson1DeleteNodeCommandError = async (output, context) =
1024
1022
  });
1025
1023
  }
1026
1024
  };
1027
- const deserializeAws_restJson1GetAccessorCommand = async (output, context) => {
1025
+ const de_GetAccessorCommand = async (output, context) => {
1028
1026
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1029
- return deserializeAws_restJson1GetAccessorCommandError(output, context);
1027
+ return de_GetAccessorCommandError(output, context);
1030
1028
  }
1031
1029
  const contents = map({
1032
1030
  $metadata: deserializeMetadata(output),
1033
1031
  });
1034
1032
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1035
1033
  if (data.Accessor != null) {
1036
- contents.Accessor = deserializeAws_restJson1Accessor(data.Accessor, context);
1034
+ contents.Accessor = de_Accessor(data.Accessor, context);
1037
1035
  }
1038
1036
  return contents;
1039
1037
  };
1040
- exports.deserializeAws_restJson1GetAccessorCommand = deserializeAws_restJson1GetAccessorCommand;
1041
- const deserializeAws_restJson1GetAccessorCommandError = async (output, context) => {
1038
+ exports.de_GetAccessorCommand = de_GetAccessorCommand;
1039
+ const de_GetAccessorCommandError = async (output, context) => {
1042
1040
  const parsedOutput = {
1043
1041
  ...output,
1044
1042
  body: await parseErrorBody(output.body, context),
@@ -1047,19 +1045,19 @@ const deserializeAws_restJson1GetAccessorCommandError = async (output, context)
1047
1045
  switch (errorCode) {
1048
1046
  case "AccessDeniedException":
1049
1047
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1050
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1048
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1051
1049
  case "InternalServiceErrorException":
1052
1050
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1053
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1051
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1054
1052
  case "InvalidRequestException":
1055
1053
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1056
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1054
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1057
1055
  case "ResourceNotFoundException":
1058
1056
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1059
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1057
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1060
1058
  case "ThrottlingException":
1061
1059
  case "com.amazonaws.managedblockchain#ThrottlingException":
1062
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1060
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1063
1061
  default:
1064
1062
  const parsedBody = parsedOutput.body;
1065
1063
  (0, smithy_client_1.throwDefaultError)({
@@ -1070,21 +1068,21 @@ const deserializeAws_restJson1GetAccessorCommandError = async (output, context)
1070
1068
  });
1071
1069
  }
1072
1070
  };
1073
- const deserializeAws_restJson1GetMemberCommand = async (output, context) => {
1071
+ const de_GetMemberCommand = async (output, context) => {
1074
1072
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1075
- return deserializeAws_restJson1GetMemberCommandError(output, context);
1073
+ return de_GetMemberCommandError(output, context);
1076
1074
  }
1077
1075
  const contents = map({
1078
1076
  $metadata: deserializeMetadata(output),
1079
1077
  });
1080
1078
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1081
1079
  if (data.Member != null) {
1082
- contents.Member = deserializeAws_restJson1Member(data.Member, context);
1080
+ contents.Member = de_Member(data.Member, context);
1083
1081
  }
1084
1082
  return contents;
1085
1083
  };
1086
- exports.deserializeAws_restJson1GetMemberCommand = deserializeAws_restJson1GetMemberCommand;
1087
- const deserializeAws_restJson1GetMemberCommandError = async (output, context) => {
1084
+ exports.de_GetMemberCommand = de_GetMemberCommand;
1085
+ const de_GetMemberCommandError = async (output, context) => {
1088
1086
  const parsedOutput = {
1089
1087
  ...output,
1090
1088
  body: await parseErrorBody(output.body, context),
@@ -1093,19 +1091,19 @@ const deserializeAws_restJson1GetMemberCommandError = async (output, context) =>
1093
1091
  switch (errorCode) {
1094
1092
  case "AccessDeniedException":
1095
1093
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1096
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1094
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1097
1095
  case "InternalServiceErrorException":
1098
1096
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1099
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1097
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1100
1098
  case "InvalidRequestException":
1101
1099
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1102
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1100
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1103
1101
  case "ResourceNotFoundException":
1104
1102
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1105
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1103
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1106
1104
  case "ThrottlingException":
1107
1105
  case "com.amazonaws.managedblockchain#ThrottlingException":
1108
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1106
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1109
1107
  default:
1110
1108
  const parsedBody = parsedOutput.body;
1111
1109
  (0, smithy_client_1.throwDefaultError)({
@@ -1116,21 +1114,21 @@ const deserializeAws_restJson1GetMemberCommandError = async (output, context) =>
1116
1114
  });
1117
1115
  }
1118
1116
  };
1119
- const deserializeAws_restJson1GetNetworkCommand = async (output, context) => {
1117
+ const de_GetNetworkCommand = async (output, context) => {
1120
1118
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1121
- return deserializeAws_restJson1GetNetworkCommandError(output, context);
1119
+ return de_GetNetworkCommandError(output, context);
1122
1120
  }
1123
1121
  const contents = map({
1124
1122
  $metadata: deserializeMetadata(output),
1125
1123
  });
1126
1124
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1127
1125
  if (data.Network != null) {
1128
- contents.Network = deserializeAws_restJson1Network(data.Network, context);
1126
+ contents.Network = de_Network(data.Network, context);
1129
1127
  }
1130
1128
  return contents;
1131
1129
  };
1132
- exports.deserializeAws_restJson1GetNetworkCommand = deserializeAws_restJson1GetNetworkCommand;
1133
- const deserializeAws_restJson1GetNetworkCommandError = async (output, context) => {
1130
+ exports.de_GetNetworkCommand = de_GetNetworkCommand;
1131
+ const de_GetNetworkCommandError = async (output, context) => {
1134
1132
  const parsedOutput = {
1135
1133
  ...output,
1136
1134
  body: await parseErrorBody(output.body, context),
@@ -1139,19 +1137,19 @@ const deserializeAws_restJson1GetNetworkCommandError = async (output, context) =
1139
1137
  switch (errorCode) {
1140
1138
  case "AccessDeniedException":
1141
1139
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1142
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1140
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1143
1141
  case "InternalServiceErrorException":
1144
1142
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1145
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1143
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1146
1144
  case "InvalidRequestException":
1147
1145
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1148
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1146
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1149
1147
  case "ResourceNotFoundException":
1150
1148
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1151
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1149
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1152
1150
  case "ThrottlingException":
1153
1151
  case "com.amazonaws.managedblockchain#ThrottlingException":
1154
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1152
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1155
1153
  default:
1156
1154
  const parsedBody = parsedOutput.body;
1157
1155
  (0, smithy_client_1.throwDefaultError)({
@@ -1162,21 +1160,21 @@ const deserializeAws_restJson1GetNetworkCommandError = async (output, context) =
1162
1160
  });
1163
1161
  }
1164
1162
  };
1165
- const deserializeAws_restJson1GetNodeCommand = async (output, context) => {
1163
+ const de_GetNodeCommand = async (output, context) => {
1166
1164
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1167
- return deserializeAws_restJson1GetNodeCommandError(output, context);
1165
+ return de_GetNodeCommandError(output, context);
1168
1166
  }
1169
1167
  const contents = map({
1170
1168
  $metadata: deserializeMetadata(output),
1171
1169
  });
1172
1170
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1173
1171
  if (data.Node != null) {
1174
- contents.Node = deserializeAws_restJson1Node(data.Node, context);
1172
+ contents.Node = de_Node(data.Node, context);
1175
1173
  }
1176
1174
  return contents;
1177
1175
  };
1178
- exports.deserializeAws_restJson1GetNodeCommand = deserializeAws_restJson1GetNodeCommand;
1179
- const deserializeAws_restJson1GetNodeCommandError = async (output, context) => {
1176
+ exports.de_GetNodeCommand = de_GetNodeCommand;
1177
+ const de_GetNodeCommandError = async (output, context) => {
1180
1178
  const parsedOutput = {
1181
1179
  ...output,
1182
1180
  body: await parseErrorBody(output.body, context),
@@ -1185,19 +1183,19 @@ const deserializeAws_restJson1GetNodeCommandError = async (output, context) => {
1185
1183
  switch (errorCode) {
1186
1184
  case "AccessDeniedException":
1187
1185
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1188
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1186
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1189
1187
  case "InternalServiceErrorException":
1190
1188
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1191
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1189
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1192
1190
  case "InvalidRequestException":
1193
1191
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1194
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1192
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1195
1193
  case "ResourceNotFoundException":
1196
1194
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1197
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1195
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1198
1196
  case "ThrottlingException":
1199
1197
  case "com.amazonaws.managedblockchain#ThrottlingException":
1200
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1198
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1201
1199
  default:
1202
1200
  const parsedBody = parsedOutput.body;
1203
1201
  (0, smithy_client_1.throwDefaultError)({
@@ -1208,21 +1206,21 @@ const deserializeAws_restJson1GetNodeCommandError = async (output, context) => {
1208
1206
  });
1209
1207
  }
1210
1208
  };
1211
- const deserializeAws_restJson1GetProposalCommand = async (output, context) => {
1209
+ const de_GetProposalCommand = async (output, context) => {
1212
1210
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1213
- return deserializeAws_restJson1GetProposalCommandError(output, context);
1211
+ return de_GetProposalCommandError(output, context);
1214
1212
  }
1215
1213
  const contents = map({
1216
1214
  $metadata: deserializeMetadata(output),
1217
1215
  });
1218
1216
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1219
1217
  if (data.Proposal != null) {
1220
- contents.Proposal = deserializeAws_restJson1Proposal(data.Proposal, context);
1218
+ contents.Proposal = de_Proposal(data.Proposal, context);
1221
1219
  }
1222
1220
  return contents;
1223
1221
  };
1224
- exports.deserializeAws_restJson1GetProposalCommand = deserializeAws_restJson1GetProposalCommand;
1225
- const deserializeAws_restJson1GetProposalCommandError = async (output, context) => {
1222
+ exports.de_GetProposalCommand = de_GetProposalCommand;
1223
+ const de_GetProposalCommandError = async (output, context) => {
1226
1224
  const parsedOutput = {
1227
1225
  ...output,
1228
1226
  body: await parseErrorBody(output.body, context),
@@ -1231,19 +1229,19 @@ const deserializeAws_restJson1GetProposalCommandError = async (output, context)
1231
1229
  switch (errorCode) {
1232
1230
  case "AccessDeniedException":
1233
1231
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1234
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1232
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1235
1233
  case "InternalServiceErrorException":
1236
1234
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1237
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1235
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1238
1236
  case "InvalidRequestException":
1239
1237
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1240
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1238
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1241
1239
  case "ResourceNotFoundException":
1242
1240
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1243
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1241
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1244
1242
  case "ThrottlingException":
1245
1243
  case "com.amazonaws.managedblockchain#ThrottlingException":
1246
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1244
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1247
1245
  default:
1248
1246
  const parsedBody = parsedOutput.body;
1249
1247
  (0, smithy_client_1.throwDefaultError)({
@@ -1254,24 +1252,24 @@ const deserializeAws_restJson1GetProposalCommandError = async (output, context)
1254
1252
  });
1255
1253
  }
1256
1254
  };
1257
- const deserializeAws_restJson1ListAccessorsCommand = async (output, context) => {
1255
+ const de_ListAccessorsCommand = async (output, context) => {
1258
1256
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1259
- return deserializeAws_restJson1ListAccessorsCommandError(output, context);
1257
+ return de_ListAccessorsCommandError(output, context);
1260
1258
  }
1261
1259
  const contents = map({
1262
1260
  $metadata: deserializeMetadata(output),
1263
1261
  });
1264
1262
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1265
1263
  if (data.Accessors != null) {
1266
- contents.Accessors = deserializeAws_restJson1AccessorSummaryList(data.Accessors, context);
1264
+ contents.Accessors = de_AccessorSummaryList(data.Accessors, context);
1267
1265
  }
1268
1266
  if (data.NextToken != null) {
1269
1267
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1270
1268
  }
1271
1269
  return contents;
1272
1270
  };
1273
- exports.deserializeAws_restJson1ListAccessorsCommand = deserializeAws_restJson1ListAccessorsCommand;
1274
- const deserializeAws_restJson1ListAccessorsCommandError = async (output, context) => {
1271
+ exports.de_ListAccessorsCommand = de_ListAccessorsCommand;
1272
+ const de_ListAccessorsCommandError = async (output, context) => {
1275
1273
  const parsedOutput = {
1276
1274
  ...output,
1277
1275
  body: await parseErrorBody(output.body, context),
@@ -1280,16 +1278,16 @@ const deserializeAws_restJson1ListAccessorsCommandError = async (output, context
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 "ThrottlingException":
1291
1289
  case "com.amazonaws.managedblockchain#ThrottlingException":
1292
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1290
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1293
1291
  default:
1294
1292
  const parsedBody = parsedOutput.body;
1295
1293
  (0, smithy_client_1.throwDefaultError)({
@@ -1300,24 +1298,24 @@ const deserializeAws_restJson1ListAccessorsCommandError = async (output, context
1300
1298
  });
1301
1299
  }
1302
1300
  };
1303
- const deserializeAws_restJson1ListInvitationsCommand = async (output, context) => {
1301
+ const de_ListInvitationsCommand = async (output, context) => {
1304
1302
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1305
- return deserializeAws_restJson1ListInvitationsCommandError(output, context);
1303
+ return de_ListInvitationsCommandError(output, context);
1306
1304
  }
1307
1305
  const contents = map({
1308
1306
  $metadata: deserializeMetadata(output),
1309
1307
  });
1310
1308
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1311
1309
  if (data.Invitations != null) {
1312
- contents.Invitations = deserializeAws_restJson1InvitationList(data.Invitations, context);
1310
+ contents.Invitations = de_InvitationList(data.Invitations, context);
1313
1311
  }
1314
1312
  if (data.NextToken != null) {
1315
1313
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1316
1314
  }
1317
1315
  return contents;
1318
1316
  };
1319
- exports.deserializeAws_restJson1ListInvitationsCommand = deserializeAws_restJson1ListInvitationsCommand;
1320
- const deserializeAws_restJson1ListInvitationsCommandError = async (output, context) => {
1317
+ exports.de_ListInvitationsCommand = de_ListInvitationsCommand;
1318
+ const de_ListInvitationsCommandError = async (output, context) => {
1321
1319
  const parsedOutput = {
1322
1320
  ...output,
1323
1321
  body: await parseErrorBody(output.body, context),
@@ -1326,22 +1324,22 @@ const deserializeAws_restJson1ListInvitationsCommandError = async (output, conte
1326
1324
  switch (errorCode) {
1327
1325
  case "AccessDeniedException":
1328
1326
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1329
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1327
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1330
1328
  case "InternalServiceErrorException":
1331
1329
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1332
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1330
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1333
1331
  case "InvalidRequestException":
1334
1332
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1335
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1333
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1336
1334
  case "ResourceLimitExceededException":
1337
1335
  case "com.amazonaws.managedblockchain#ResourceLimitExceededException":
1338
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
1336
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1339
1337
  case "ResourceNotFoundException":
1340
1338
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1341
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1339
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1342
1340
  case "ThrottlingException":
1343
1341
  case "com.amazonaws.managedblockchain#ThrottlingException":
1344
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1342
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1345
1343
  default:
1346
1344
  const parsedBody = parsedOutput.body;
1347
1345
  (0, smithy_client_1.throwDefaultError)({
@@ -1352,24 +1350,24 @@ const deserializeAws_restJson1ListInvitationsCommandError = async (output, conte
1352
1350
  });
1353
1351
  }
1354
1352
  };
1355
- const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
1353
+ const de_ListMembersCommand = async (output, context) => {
1356
1354
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1357
- return deserializeAws_restJson1ListMembersCommandError(output, context);
1355
+ return de_ListMembersCommandError(output, context);
1358
1356
  }
1359
1357
  const contents = map({
1360
1358
  $metadata: deserializeMetadata(output),
1361
1359
  });
1362
1360
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1363
1361
  if (data.Members != null) {
1364
- contents.Members = deserializeAws_restJson1MemberSummaryList(data.Members, context);
1362
+ contents.Members = de_MemberSummaryList(data.Members, context);
1365
1363
  }
1366
1364
  if (data.NextToken != null) {
1367
1365
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1368
1366
  }
1369
1367
  return contents;
1370
1368
  };
1371
- exports.deserializeAws_restJson1ListMembersCommand = deserializeAws_restJson1ListMembersCommand;
1372
- const deserializeAws_restJson1ListMembersCommandError = async (output, context) => {
1369
+ exports.de_ListMembersCommand = de_ListMembersCommand;
1370
+ const de_ListMembersCommandError = async (output, context) => {
1373
1371
  const parsedOutput = {
1374
1372
  ...output,
1375
1373
  body: await parseErrorBody(output.body, context),
@@ -1378,16 +1376,16 @@ const deserializeAws_restJson1ListMembersCommandError = async (output, context)
1378
1376
  switch (errorCode) {
1379
1377
  case "AccessDeniedException":
1380
1378
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1381
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1379
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1382
1380
  case "InternalServiceErrorException":
1383
1381
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1384
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1382
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1385
1383
  case "InvalidRequestException":
1386
1384
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1387
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1385
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1388
1386
  case "ThrottlingException":
1389
1387
  case "com.amazonaws.managedblockchain#ThrottlingException":
1390
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1388
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1391
1389
  default:
1392
1390
  const parsedBody = parsedOutput.body;
1393
1391
  (0, smithy_client_1.throwDefaultError)({
@@ -1398,24 +1396,24 @@ const deserializeAws_restJson1ListMembersCommandError = async (output, context)
1398
1396
  });
1399
1397
  }
1400
1398
  };
1401
- const deserializeAws_restJson1ListNetworksCommand = async (output, context) => {
1399
+ const de_ListNetworksCommand = async (output, context) => {
1402
1400
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1403
- return deserializeAws_restJson1ListNetworksCommandError(output, context);
1401
+ return de_ListNetworksCommandError(output, context);
1404
1402
  }
1405
1403
  const contents = map({
1406
1404
  $metadata: deserializeMetadata(output),
1407
1405
  });
1408
1406
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1409
1407
  if (data.Networks != null) {
1410
- contents.Networks = deserializeAws_restJson1NetworkSummaryList(data.Networks, context);
1408
+ contents.Networks = de_NetworkSummaryList(data.Networks, context);
1411
1409
  }
1412
1410
  if (data.NextToken != null) {
1413
1411
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1414
1412
  }
1415
1413
  return contents;
1416
1414
  };
1417
- exports.deserializeAws_restJson1ListNetworksCommand = deserializeAws_restJson1ListNetworksCommand;
1418
- const deserializeAws_restJson1ListNetworksCommandError = async (output, context) => {
1415
+ exports.de_ListNetworksCommand = de_ListNetworksCommand;
1416
+ const de_ListNetworksCommandError = async (output, context) => {
1419
1417
  const parsedOutput = {
1420
1418
  ...output,
1421
1419
  body: await parseErrorBody(output.body, context),
@@ -1424,16 +1422,16 @@ const deserializeAws_restJson1ListNetworksCommandError = async (output, context)
1424
1422
  switch (errorCode) {
1425
1423
  case "AccessDeniedException":
1426
1424
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1427
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1425
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1428
1426
  case "InternalServiceErrorException":
1429
1427
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1430
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1428
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1431
1429
  case "InvalidRequestException":
1432
1430
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1433
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1431
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1434
1432
  case "ThrottlingException":
1435
1433
  case "com.amazonaws.managedblockchain#ThrottlingException":
1436
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1434
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1437
1435
  default:
1438
1436
  const parsedBody = parsedOutput.body;
1439
1437
  (0, smithy_client_1.throwDefaultError)({
@@ -1444,9 +1442,9 @@ const deserializeAws_restJson1ListNetworksCommandError = async (output, context)
1444
1442
  });
1445
1443
  }
1446
1444
  };
1447
- const deserializeAws_restJson1ListNodesCommand = async (output, context) => {
1445
+ const de_ListNodesCommand = async (output, context) => {
1448
1446
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1449
- return deserializeAws_restJson1ListNodesCommandError(output, context);
1447
+ return de_ListNodesCommandError(output, context);
1450
1448
  }
1451
1449
  const contents = map({
1452
1450
  $metadata: deserializeMetadata(output),
@@ -1456,12 +1454,12 @@ const deserializeAws_restJson1ListNodesCommand = async (output, context) => {
1456
1454
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1457
1455
  }
1458
1456
  if (data.Nodes != null) {
1459
- contents.Nodes = deserializeAws_restJson1NodeSummaryList(data.Nodes, context);
1457
+ contents.Nodes = de_NodeSummaryList(data.Nodes, context);
1460
1458
  }
1461
1459
  return contents;
1462
1460
  };
1463
- exports.deserializeAws_restJson1ListNodesCommand = deserializeAws_restJson1ListNodesCommand;
1464
- const deserializeAws_restJson1ListNodesCommandError = async (output, context) => {
1461
+ exports.de_ListNodesCommand = de_ListNodesCommand;
1462
+ const de_ListNodesCommandError = async (output, context) => {
1465
1463
  const parsedOutput = {
1466
1464
  ...output,
1467
1465
  body: await parseErrorBody(output.body, context),
@@ -1470,16 +1468,16 @@ const deserializeAws_restJson1ListNodesCommandError = async (output, context) =>
1470
1468
  switch (errorCode) {
1471
1469
  case "AccessDeniedException":
1472
1470
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1473
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1471
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1474
1472
  case "InternalServiceErrorException":
1475
1473
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1476
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1474
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1477
1475
  case "InvalidRequestException":
1478
1476
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1479
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1477
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1480
1478
  case "ThrottlingException":
1481
1479
  case "com.amazonaws.managedblockchain#ThrottlingException":
1482
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1480
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1483
1481
  default:
1484
1482
  const parsedBody = parsedOutput.body;
1485
1483
  (0, smithy_client_1.throwDefaultError)({
@@ -1490,9 +1488,9 @@ const deserializeAws_restJson1ListNodesCommandError = async (output, context) =>
1490
1488
  });
1491
1489
  }
1492
1490
  };
1493
- const deserializeAws_restJson1ListProposalsCommand = async (output, context) => {
1491
+ const de_ListProposalsCommand = async (output, context) => {
1494
1492
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1495
- return deserializeAws_restJson1ListProposalsCommandError(output, context);
1493
+ return de_ListProposalsCommandError(output, context);
1496
1494
  }
1497
1495
  const contents = map({
1498
1496
  $metadata: deserializeMetadata(output),
@@ -1502,12 +1500,12 @@ const deserializeAws_restJson1ListProposalsCommand = async (output, context) =>
1502
1500
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1503
1501
  }
1504
1502
  if (data.Proposals != null) {
1505
- contents.Proposals = deserializeAws_restJson1ProposalSummaryList(data.Proposals, context);
1503
+ contents.Proposals = de_ProposalSummaryList(data.Proposals, context);
1506
1504
  }
1507
1505
  return contents;
1508
1506
  };
1509
- exports.deserializeAws_restJson1ListProposalsCommand = deserializeAws_restJson1ListProposalsCommand;
1510
- const deserializeAws_restJson1ListProposalsCommandError = async (output, context) => {
1507
+ exports.de_ListProposalsCommand = de_ListProposalsCommand;
1508
+ const de_ListProposalsCommandError = async (output, context) => {
1511
1509
  const parsedOutput = {
1512
1510
  ...output,
1513
1511
  body: await parseErrorBody(output.body, context),
@@ -1516,19 +1514,19 @@ const deserializeAws_restJson1ListProposalsCommandError = async (output, context
1516
1514
  switch (errorCode) {
1517
1515
  case "AccessDeniedException":
1518
1516
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1519
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1517
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1520
1518
  case "InternalServiceErrorException":
1521
1519
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1522
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1520
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1523
1521
  case "InvalidRequestException":
1524
1522
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1525
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1523
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1526
1524
  case "ResourceNotFoundException":
1527
1525
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1528
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1526
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1529
1527
  case "ThrottlingException":
1530
1528
  case "com.amazonaws.managedblockchain#ThrottlingException":
1531
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1529
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1532
1530
  default:
1533
1531
  const parsedBody = parsedOutput.body;
1534
1532
  (0, smithy_client_1.throwDefaultError)({
@@ -1539,9 +1537,9 @@ const deserializeAws_restJson1ListProposalsCommandError = async (output, context
1539
1537
  });
1540
1538
  }
1541
1539
  };
1542
- const deserializeAws_restJson1ListProposalVotesCommand = async (output, context) => {
1540
+ const de_ListProposalVotesCommand = async (output, context) => {
1543
1541
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1544
- return deserializeAws_restJson1ListProposalVotesCommandError(output, context);
1542
+ return de_ListProposalVotesCommandError(output, context);
1545
1543
  }
1546
1544
  const contents = map({
1547
1545
  $metadata: deserializeMetadata(output),
@@ -1551,12 +1549,12 @@ const deserializeAws_restJson1ListProposalVotesCommand = async (output, context)
1551
1549
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1552
1550
  }
1553
1551
  if (data.ProposalVotes != null) {
1554
- contents.ProposalVotes = deserializeAws_restJson1ProposalVoteList(data.ProposalVotes, context);
1552
+ contents.ProposalVotes = de_ProposalVoteList(data.ProposalVotes, context);
1555
1553
  }
1556
1554
  return contents;
1557
1555
  };
1558
- exports.deserializeAws_restJson1ListProposalVotesCommand = deserializeAws_restJson1ListProposalVotesCommand;
1559
- const deserializeAws_restJson1ListProposalVotesCommandError = async (output, context) => {
1556
+ exports.de_ListProposalVotesCommand = de_ListProposalVotesCommand;
1557
+ const de_ListProposalVotesCommandError = async (output, context) => {
1560
1558
  const parsedOutput = {
1561
1559
  ...output,
1562
1560
  body: await parseErrorBody(output.body, context),
@@ -1565,16 +1563,16 @@ const deserializeAws_restJson1ListProposalVotesCommandError = async (output, con
1565
1563
  switch (errorCode) {
1566
1564
  case "AccessDeniedException":
1567
1565
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1568
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1566
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1569
1567
  case "InternalServiceErrorException":
1570
1568
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1571
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1569
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1572
1570
  case "InvalidRequestException":
1573
1571
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1574
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1572
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1575
1573
  case "ThrottlingException":
1576
1574
  case "com.amazonaws.managedblockchain#ThrottlingException":
1577
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1575
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1578
1576
  default:
1579
1577
  const parsedBody = parsedOutput.body;
1580
1578
  (0, smithy_client_1.throwDefaultError)({
@@ -1585,21 +1583,21 @@ const deserializeAws_restJson1ListProposalVotesCommandError = async (output, con
1585
1583
  });
1586
1584
  }
1587
1585
  };
1588
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1586
+ const de_ListTagsForResourceCommand = async (output, context) => {
1589
1587
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1590
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1588
+ return de_ListTagsForResourceCommandError(output, context);
1591
1589
  }
1592
1590
  const contents = map({
1593
1591
  $metadata: deserializeMetadata(output),
1594
1592
  });
1595
1593
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1596
1594
  if (data.Tags != null) {
1597
- contents.Tags = deserializeAws_restJson1OutputTagMap(data.Tags, context);
1595
+ contents.Tags = de_OutputTagMap(data.Tags, context);
1598
1596
  }
1599
1597
  return contents;
1600
1598
  };
1601
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1602
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1599
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1600
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1603
1601
  const parsedOutput = {
1604
1602
  ...output,
1605
1603
  body: await parseErrorBody(output.body, context),
@@ -1608,16 +1606,16 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1608
1606
  switch (errorCode) {
1609
1607
  case "InternalServiceErrorException":
1610
1608
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1611
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1609
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1612
1610
  case "InvalidRequestException":
1613
1611
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1614
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1612
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1615
1613
  case "ResourceNotFoundException":
1616
1614
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1617
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1615
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1618
1616
  case "ResourceNotReadyException":
1619
1617
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
1620
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
1618
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
1621
1619
  default:
1622
1620
  const parsedBody = parsedOutput.body;
1623
1621
  (0, smithy_client_1.throwDefaultError)({
@@ -1628,9 +1626,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1628
1626
  });
1629
1627
  }
1630
1628
  };
1631
- const deserializeAws_restJson1RejectInvitationCommand = async (output, context) => {
1629
+ const de_RejectInvitationCommand = async (output, context) => {
1632
1630
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1633
- return deserializeAws_restJson1RejectInvitationCommandError(output, context);
1631
+ return de_RejectInvitationCommandError(output, context);
1634
1632
  }
1635
1633
  const contents = map({
1636
1634
  $metadata: deserializeMetadata(output),
@@ -1638,8 +1636,8 @@ const deserializeAws_restJson1RejectInvitationCommand = async (output, context)
1638
1636
  await collectBody(output.body, context);
1639
1637
  return contents;
1640
1638
  };
1641
- exports.deserializeAws_restJson1RejectInvitationCommand = deserializeAws_restJson1RejectInvitationCommand;
1642
- const deserializeAws_restJson1RejectInvitationCommandError = async (output, context) => {
1639
+ exports.de_RejectInvitationCommand = de_RejectInvitationCommand;
1640
+ const de_RejectInvitationCommandError = async (output, context) => {
1643
1641
  const parsedOutput = {
1644
1642
  ...output,
1645
1643
  body: await parseErrorBody(output.body, context),
@@ -1648,22 +1646,22 @@ const deserializeAws_restJson1RejectInvitationCommandError = async (output, cont
1648
1646
  switch (errorCode) {
1649
1647
  case "AccessDeniedException":
1650
1648
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1651
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1649
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1652
1650
  case "IllegalActionException":
1653
1651
  case "com.amazonaws.managedblockchain#IllegalActionException":
1654
- throw await deserializeAws_restJson1IllegalActionExceptionResponse(parsedOutput, context);
1652
+ throw await de_IllegalActionExceptionRes(parsedOutput, context);
1655
1653
  case "InternalServiceErrorException":
1656
1654
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1657
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1655
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1658
1656
  case "InvalidRequestException":
1659
1657
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1660
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1658
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1661
1659
  case "ResourceNotFoundException":
1662
1660
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1663
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1661
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1664
1662
  case "ThrottlingException":
1665
1663
  case "com.amazonaws.managedblockchain#ThrottlingException":
1666
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1664
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1667
1665
  default:
1668
1666
  const parsedBody = parsedOutput.body;
1669
1667
  (0, smithy_client_1.throwDefaultError)({
@@ -1674,9 +1672,9 @@ const deserializeAws_restJson1RejectInvitationCommandError = async (output, cont
1674
1672
  });
1675
1673
  }
1676
1674
  };
1677
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1675
+ const de_TagResourceCommand = async (output, context) => {
1678
1676
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1679
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1677
+ return de_TagResourceCommandError(output, context);
1680
1678
  }
1681
1679
  const contents = map({
1682
1680
  $metadata: deserializeMetadata(output),
@@ -1684,8 +1682,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1684
1682
  await collectBody(output.body, context);
1685
1683
  return contents;
1686
1684
  };
1687
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
1688
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1685
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1686
+ const de_TagResourceCommandError = async (output, context) => {
1689
1687
  const parsedOutput = {
1690
1688
  ...output,
1691
1689
  body: await parseErrorBody(output.body, context),
@@ -1694,19 +1692,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1694
1692
  switch (errorCode) {
1695
1693
  case "InternalServiceErrorException":
1696
1694
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1697
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1695
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1698
1696
  case "InvalidRequestException":
1699
1697
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1700
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1698
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1701
1699
  case "ResourceNotFoundException":
1702
1700
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1703
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1701
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1704
1702
  case "ResourceNotReadyException":
1705
1703
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
1706
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
1704
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
1707
1705
  case "TooManyTagsException":
1708
1706
  case "com.amazonaws.managedblockchain#TooManyTagsException":
1709
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
1707
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1710
1708
  default:
1711
1709
  const parsedBody = parsedOutput.body;
1712
1710
  (0, smithy_client_1.throwDefaultError)({
@@ -1717,9 +1715,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1717
1715
  });
1718
1716
  }
1719
1717
  };
1720
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1718
+ const de_UntagResourceCommand = async (output, context) => {
1721
1719
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1722
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1720
+ return de_UntagResourceCommandError(output, context);
1723
1721
  }
1724
1722
  const contents = map({
1725
1723
  $metadata: deserializeMetadata(output),
@@ -1727,8 +1725,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
1727
1725
  await collectBody(output.body, context);
1728
1726
  return contents;
1729
1727
  };
1730
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
1731
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1728
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1729
+ const de_UntagResourceCommandError = async (output, context) => {
1732
1730
  const parsedOutput = {
1733
1731
  ...output,
1734
1732
  body: await parseErrorBody(output.body, context),
@@ -1737,16 +1735,16 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1737
1735
  switch (errorCode) {
1738
1736
  case "InternalServiceErrorException":
1739
1737
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1740
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1738
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1741
1739
  case "InvalidRequestException":
1742
1740
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1743
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1741
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1744
1742
  case "ResourceNotFoundException":
1745
1743
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1746
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1744
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1747
1745
  case "ResourceNotReadyException":
1748
1746
  case "com.amazonaws.managedblockchain#ResourceNotReadyException":
1749
- throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
1747
+ throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
1750
1748
  default:
1751
1749
  const parsedBody = parsedOutput.body;
1752
1750
  (0, smithy_client_1.throwDefaultError)({
@@ -1757,9 +1755,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1757
1755
  });
1758
1756
  }
1759
1757
  };
1760
- const deserializeAws_restJson1UpdateMemberCommand = async (output, context) => {
1758
+ const de_UpdateMemberCommand = async (output, context) => {
1761
1759
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1762
- return deserializeAws_restJson1UpdateMemberCommandError(output, context);
1760
+ return de_UpdateMemberCommandError(output, context);
1763
1761
  }
1764
1762
  const contents = map({
1765
1763
  $metadata: deserializeMetadata(output),
@@ -1767,8 +1765,8 @@ const deserializeAws_restJson1UpdateMemberCommand = async (output, context) => {
1767
1765
  await collectBody(output.body, context);
1768
1766
  return contents;
1769
1767
  };
1770
- exports.deserializeAws_restJson1UpdateMemberCommand = deserializeAws_restJson1UpdateMemberCommand;
1771
- const deserializeAws_restJson1UpdateMemberCommandError = async (output, context) => {
1768
+ exports.de_UpdateMemberCommand = de_UpdateMemberCommand;
1769
+ const de_UpdateMemberCommandError = async (output, context) => {
1772
1770
  const parsedOutput = {
1773
1771
  ...output,
1774
1772
  body: await parseErrorBody(output.body, context),
@@ -1777,19 +1775,19 @@ const deserializeAws_restJson1UpdateMemberCommandError = async (output, context)
1777
1775
  switch (errorCode) {
1778
1776
  case "AccessDeniedException":
1779
1777
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1780
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1778
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1781
1779
  case "InternalServiceErrorException":
1782
1780
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1783
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1781
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1784
1782
  case "InvalidRequestException":
1785
1783
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1786
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1784
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1787
1785
  case "ResourceNotFoundException":
1788
1786
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1789
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1787
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1790
1788
  case "ThrottlingException":
1791
1789
  case "com.amazonaws.managedblockchain#ThrottlingException":
1792
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1790
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1793
1791
  default:
1794
1792
  const parsedBody = parsedOutput.body;
1795
1793
  (0, smithy_client_1.throwDefaultError)({
@@ -1800,9 +1798,9 @@ const deserializeAws_restJson1UpdateMemberCommandError = async (output, context)
1800
1798
  });
1801
1799
  }
1802
1800
  };
1803
- const deserializeAws_restJson1UpdateNodeCommand = async (output, context) => {
1801
+ const de_UpdateNodeCommand = async (output, context) => {
1804
1802
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1805
- return deserializeAws_restJson1UpdateNodeCommandError(output, context);
1803
+ return de_UpdateNodeCommandError(output, context);
1806
1804
  }
1807
1805
  const contents = map({
1808
1806
  $metadata: deserializeMetadata(output),
@@ -1810,8 +1808,8 @@ const deserializeAws_restJson1UpdateNodeCommand = async (output, context) => {
1810
1808
  await collectBody(output.body, context);
1811
1809
  return contents;
1812
1810
  };
1813
- exports.deserializeAws_restJson1UpdateNodeCommand = deserializeAws_restJson1UpdateNodeCommand;
1814
- const deserializeAws_restJson1UpdateNodeCommandError = async (output, context) => {
1811
+ exports.de_UpdateNodeCommand = de_UpdateNodeCommand;
1812
+ const de_UpdateNodeCommandError = async (output, context) => {
1815
1813
  const parsedOutput = {
1816
1814
  ...output,
1817
1815
  body: await parseErrorBody(output.body, context),
@@ -1820,19 +1818,19 @@ const deserializeAws_restJson1UpdateNodeCommandError = async (output, context) =
1820
1818
  switch (errorCode) {
1821
1819
  case "AccessDeniedException":
1822
1820
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1823
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1821
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1824
1822
  case "InternalServiceErrorException":
1825
1823
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1826
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1824
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1827
1825
  case "InvalidRequestException":
1828
1826
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1829
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1827
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1830
1828
  case "ResourceNotFoundException":
1831
1829
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1832
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1830
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1833
1831
  case "ThrottlingException":
1834
1832
  case "com.amazonaws.managedblockchain#ThrottlingException":
1835
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1833
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1836
1834
  default:
1837
1835
  const parsedBody = parsedOutput.body;
1838
1836
  (0, smithy_client_1.throwDefaultError)({
@@ -1843,9 +1841,9 @@ const deserializeAws_restJson1UpdateNodeCommandError = async (output, context) =
1843
1841
  });
1844
1842
  }
1845
1843
  };
1846
- const deserializeAws_restJson1VoteOnProposalCommand = async (output, context) => {
1844
+ const de_VoteOnProposalCommand = async (output, context) => {
1847
1845
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1848
- return deserializeAws_restJson1VoteOnProposalCommandError(output, context);
1846
+ return de_VoteOnProposalCommandError(output, context);
1849
1847
  }
1850
1848
  const contents = map({
1851
1849
  $metadata: deserializeMetadata(output),
@@ -1853,8 +1851,8 @@ const deserializeAws_restJson1VoteOnProposalCommand = async (output, context) =>
1853
1851
  await collectBody(output.body, context);
1854
1852
  return contents;
1855
1853
  };
1856
- exports.deserializeAws_restJson1VoteOnProposalCommand = deserializeAws_restJson1VoteOnProposalCommand;
1857
- const deserializeAws_restJson1VoteOnProposalCommandError = async (output, context) => {
1854
+ exports.de_VoteOnProposalCommand = de_VoteOnProposalCommand;
1855
+ const de_VoteOnProposalCommandError = async (output, context) => {
1858
1856
  const parsedOutput = {
1859
1857
  ...output,
1860
1858
  body: await parseErrorBody(output.body, context),
@@ -1863,22 +1861,22 @@ const deserializeAws_restJson1VoteOnProposalCommandError = async (output, contex
1863
1861
  switch (errorCode) {
1864
1862
  case "AccessDeniedException":
1865
1863
  case "com.amazonaws.managedblockchain#AccessDeniedException":
1866
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1864
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1867
1865
  case "IllegalActionException":
1868
1866
  case "com.amazonaws.managedblockchain#IllegalActionException":
1869
- throw await deserializeAws_restJson1IllegalActionExceptionResponse(parsedOutput, context);
1867
+ throw await de_IllegalActionExceptionRes(parsedOutput, context);
1870
1868
  case "InternalServiceErrorException":
1871
1869
  case "com.amazonaws.managedblockchain#InternalServiceErrorException":
1872
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1870
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1873
1871
  case "InvalidRequestException":
1874
1872
  case "com.amazonaws.managedblockchain#InvalidRequestException":
1875
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1873
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1876
1874
  case "ResourceNotFoundException":
1877
1875
  case "com.amazonaws.managedblockchain#ResourceNotFoundException":
1878
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1876
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1879
1877
  case "ThrottlingException":
1880
1878
  case "com.amazonaws.managedblockchain#ThrottlingException":
1881
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1879
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1882
1880
  default:
1883
1881
  const parsedBody = parsedOutput.body;
1884
1882
  (0, smithy_client_1.throwDefaultError)({
@@ -1890,7 +1888,7 @@ const deserializeAws_restJson1VoteOnProposalCommandError = async (output, contex
1890
1888
  }
1891
1889
  };
1892
1890
  const map = smithy_client_1.map;
1893
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1891
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1894
1892
  const contents = map({});
1895
1893
  const data = parsedOutput.body;
1896
1894
  if (data.Message != null) {
@@ -1902,7 +1900,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
1902
1900
  });
1903
1901
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1904
1902
  };
1905
- const deserializeAws_restJson1IllegalActionExceptionResponse = async (parsedOutput, context) => {
1903
+ const de_IllegalActionExceptionRes = async (parsedOutput, context) => {
1906
1904
  const contents = map({});
1907
1905
  const data = parsedOutput.body;
1908
1906
  if (data.Message != null) {
@@ -1914,7 +1912,7 @@ const deserializeAws_restJson1IllegalActionExceptionResponse = async (parsedOutp
1914
1912
  });
1915
1913
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1916
1914
  };
1917
- const deserializeAws_restJson1InternalServiceErrorExceptionResponse = async (parsedOutput, context) => {
1915
+ const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
1918
1916
  const contents = map({});
1919
1917
  const data = parsedOutput.body;
1920
1918
  const exception = new models_0_1.InternalServiceErrorException({
@@ -1923,7 +1921,7 @@ const deserializeAws_restJson1InternalServiceErrorExceptionResponse = async (par
1923
1921
  });
1924
1922
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1925
1923
  };
1926
- const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
1924
+ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
1927
1925
  const contents = map({});
1928
1926
  const data = parsedOutput.body;
1929
1927
  if (data.Message != null) {
@@ -1935,7 +1933,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
1935
1933
  });
1936
1934
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1937
1935
  };
1938
- const deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
1936
+ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1939
1937
  const contents = map({});
1940
1938
  const data = parsedOutput.body;
1941
1939
  if (data.Message != null) {
@@ -1947,7 +1945,7 @@ const deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse = async (pa
1947
1945
  });
1948
1946
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1949
1947
  };
1950
- const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (parsedOutput, context) => {
1948
+ const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
1951
1949
  const contents = map({});
1952
1950
  const data = parsedOutput.body;
1953
1951
  if (data.Message != null) {
@@ -1959,7 +1957,7 @@ const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (pa
1959
1957
  });
1960
1958
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1961
1959
  };
1962
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1960
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1963
1961
  const contents = map({});
1964
1962
  const data = parsedOutput.body;
1965
1963
  if (data.Message != null) {
@@ -1974,7 +1972,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1974
1972
  });
1975
1973
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1976
1974
  };
1977
- const deserializeAws_restJson1ResourceNotReadyExceptionResponse = async (parsedOutput, context) => {
1975
+ const de_ResourceNotReadyExceptionRes = async (parsedOutput, context) => {
1978
1976
  const contents = map({});
1979
1977
  const data = parsedOutput.body;
1980
1978
  if (data.Message != null) {
@@ -1986,7 +1984,7 @@ const deserializeAws_restJson1ResourceNotReadyExceptionResponse = async (parsedO
1986
1984
  });
1987
1985
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1988
1986
  };
1989
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1987
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1990
1988
  const contents = map({});
1991
1989
  const data = parsedOutput.body;
1992
1990
  const exception = new models_0_1.ThrottlingException({
@@ -1995,7 +1993,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1995
1993
  });
1996
1994
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1997
1995
  };
1998
- const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
1996
+ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1999
1997
  const contents = map({});
2000
1998
  const data = parsedOutput.body;
2001
1999
  if (data.Message != null) {
@@ -2010,14 +2008,14 @@ const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput
2010
2008
  });
2011
2009
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2012
2010
  };
2013
- const serializeAws_restJson1ApprovalThresholdPolicy = (input, context) => {
2011
+ const se_ApprovalThresholdPolicy = (input, context) => {
2014
2012
  return {
2015
2013
  ...(input.ProposalDurationInHours != null && { ProposalDurationInHours: input.ProposalDurationInHours }),
2016
2014
  ...(input.ThresholdComparator != null && { ThresholdComparator: input.ThresholdComparator }),
2017
2015
  ...(input.ThresholdPercentage != null && { ThresholdPercentage: input.ThresholdPercentage }),
2018
2016
  };
2019
2017
  };
2020
- const serializeAws_restJson1InputTagMap = (input, context) => {
2018
+ const se_InputTagMap = (input, context) => {
2021
2019
  return Object.entries(input).reduce((acc, [key, value]) => {
2022
2020
  if (value === null) {
2023
2021
  return acc;
@@ -2026,139 +2024,131 @@ const serializeAws_restJson1InputTagMap = (input, context) => {
2026
2024
  return acc;
2027
2025
  }, {});
2028
2026
  };
2029
- const serializeAws_restJson1InviteAction = (input, context) => {
2027
+ const se_InviteAction = (input, context) => {
2030
2028
  return {
2031
2029
  ...(input.Principal != null && { Principal: input.Principal }),
2032
2030
  };
2033
2031
  };
2034
- const serializeAws_restJson1InviteActionList = (input, context) => {
2032
+ const se_InviteActionList = (input, context) => {
2035
2033
  return input
2036
2034
  .filter((e) => e != null)
2037
2035
  .map((entry) => {
2038
- return serializeAws_restJson1InviteAction(entry, context);
2036
+ return se_InviteAction(entry, context);
2039
2037
  });
2040
2038
  };
2041
- const serializeAws_restJson1LogConfiguration = (input, context) => {
2039
+ const se_LogConfiguration = (input, context) => {
2042
2040
  return {
2043
2041
  ...(input.Enabled != null && { Enabled: input.Enabled }),
2044
2042
  };
2045
2043
  };
2046
- const serializeAws_restJson1LogConfigurations = (input, context) => {
2044
+ const se_LogConfigurations = (input, context) => {
2047
2045
  return {
2048
- ...(input.Cloudwatch != null && { Cloudwatch: serializeAws_restJson1LogConfiguration(input.Cloudwatch, context) }),
2046
+ ...(input.Cloudwatch != null && { Cloudwatch: se_LogConfiguration(input.Cloudwatch, context) }),
2049
2047
  };
2050
2048
  };
2051
- const serializeAws_restJson1MemberConfiguration = (input, context) => {
2049
+ const se_MemberConfiguration = (input, context) => {
2052
2050
  return {
2053
2051
  ...(input.Description != null && { Description: input.Description }),
2054
2052
  ...(input.FrameworkConfiguration != null && {
2055
- FrameworkConfiguration: serializeAws_restJson1MemberFrameworkConfiguration(input.FrameworkConfiguration, context),
2053
+ FrameworkConfiguration: se_MemberFrameworkConfiguration(input.FrameworkConfiguration, context),
2056
2054
  }),
2057
2055
  ...(input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn }),
2058
2056
  ...(input.LogPublishingConfiguration != null && {
2059
- LogPublishingConfiguration: serializeAws_restJson1MemberLogPublishingConfiguration(input.LogPublishingConfiguration, context),
2057
+ LogPublishingConfiguration: se_MemberLogPublishingConfiguration(input.LogPublishingConfiguration, context),
2060
2058
  }),
2061
2059
  ...(input.Name != null && { Name: input.Name }),
2062
- ...(input.Tags != null && { Tags: serializeAws_restJson1InputTagMap(input.Tags, context) }),
2060
+ ...(input.Tags != null && { Tags: se_InputTagMap(input.Tags, context) }),
2063
2061
  };
2064
2062
  };
2065
- const serializeAws_restJson1MemberFabricConfiguration = (input, context) => {
2063
+ const se_MemberFabricConfiguration = (input, context) => {
2066
2064
  return {
2067
2065
  ...(input.AdminPassword != null && { AdminPassword: input.AdminPassword }),
2068
2066
  ...(input.AdminUsername != null && { AdminUsername: input.AdminUsername }),
2069
2067
  };
2070
2068
  };
2071
- const serializeAws_restJson1MemberFabricLogPublishingConfiguration = (input, context) => {
2069
+ const se_MemberFabricLogPublishingConfiguration = (input, context) => {
2072
2070
  return {
2073
- ...(input.CaLogs != null && { CaLogs: serializeAws_restJson1LogConfigurations(input.CaLogs, context) }),
2071
+ ...(input.CaLogs != null && { CaLogs: se_LogConfigurations(input.CaLogs, context) }),
2074
2072
  };
2075
2073
  };
2076
- const serializeAws_restJson1MemberFrameworkConfiguration = (input, context) => {
2074
+ const se_MemberFrameworkConfiguration = (input, context) => {
2077
2075
  return {
2078
- ...(input.Fabric != null && { Fabric: serializeAws_restJson1MemberFabricConfiguration(input.Fabric, context) }),
2076
+ ...(input.Fabric != null && { Fabric: se_MemberFabricConfiguration(input.Fabric, context) }),
2079
2077
  };
2080
2078
  };
2081
- const serializeAws_restJson1MemberLogPublishingConfiguration = (input, context) => {
2079
+ const se_MemberLogPublishingConfiguration = (input, context) => {
2082
2080
  return {
2083
- ...(input.Fabric != null && {
2084
- Fabric: serializeAws_restJson1MemberFabricLogPublishingConfiguration(input.Fabric, context),
2085
- }),
2081
+ ...(input.Fabric != null && { Fabric: se_MemberFabricLogPublishingConfiguration(input.Fabric, context) }),
2086
2082
  };
2087
2083
  };
2088
- const serializeAws_restJson1NetworkFabricConfiguration = (input, context) => {
2084
+ const se_NetworkFabricConfiguration = (input, context) => {
2089
2085
  return {
2090
2086
  ...(input.Edition != null && { Edition: input.Edition }),
2091
2087
  };
2092
2088
  };
2093
- const serializeAws_restJson1NetworkFrameworkConfiguration = (input, context) => {
2089
+ const se_NetworkFrameworkConfiguration = (input, context) => {
2094
2090
  return {
2095
- ...(input.Fabric != null && { Fabric: serializeAws_restJson1NetworkFabricConfiguration(input.Fabric, context) }),
2091
+ ...(input.Fabric != null && { Fabric: se_NetworkFabricConfiguration(input.Fabric, context) }),
2096
2092
  };
2097
2093
  };
2098
- const serializeAws_restJson1NodeConfiguration = (input, context) => {
2094
+ const se_NodeConfiguration = (input, context) => {
2099
2095
  return {
2100
2096
  ...(input.AvailabilityZone != null && { AvailabilityZone: input.AvailabilityZone }),
2101
2097
  ...(input.InstanceType != null && { InstanceType: input.InstanceType }),
2102
2098
  ...(input.LogPublishingConfiguration != null && {
2103
- LogPublishingConfiguration: serializeAws_restJson1NodeLogPublishingConfiguration(input.LogPublishingConfiguration, context),
2099
+ LogPublishingConfiguration: se_NodeLogPublishingConfiguration(input.LogPublishingConfiguration, context),
2104
2100
  }),
2105
2101
  ...(input.StateDB != null && { StateDB: input.StateDB }),
2106
2102
  };
2107
2103
  };
2108
- const serializeAws_restJson1NodeFabricLogPublishingConfiguration = (input, context) => {
2104
+ const se_NodeFabricLogPublishingConfiguration = (input, context) => {
2109
2105
  return {
2110
- ...(input.ChaincodeLogs != null && {
2111
- ChaincodeLogs: serializeAws_restJson1LogConfigurations(input.ChaincodeLogs, context),
2112
- }),
2113
- ...(input.PeerLogs != null && { PeerLogs: serializeAws_restJson1LogConfigurations(input.PeerLogs, context) }),
2106
+ ...(input.ChaincodeLogs != null && { ChaincodeLogs: se_LogConfigurations(input.ChaincodeLogs, context) }),
2107
+ ...(input.PeerLogs != null && { PeerLogs: se_LogConfigurations(input.PeerLogs, context) }),
2114
2108
  };
2115
2109
  };
2116
- const serializeAws_restJson1NodeLogPublishingConfiguration = (input, context) => {
2110
+ const se_NodeLogPublishingConfiguration = (input, context) => {
2117
2111
  return {
2118
- ...(input.Fabric != null && {
2119
- Fabric: serializeAws_restJson1NodeFabricLogPublishingConfiguration(input.Fabric, context),
2120
- }),
2112
+ ...(input.Fabric != null && { Fabric: se_NodeFabricLogPublishingConfiguration(input.Fabric, context) }),
2121
2113
  };
2122
2114
  };
2123
- const serializeAws_restJson1ProposalActions = (input, context) => {
2115
+ const se_ProposalActions = (input, context) => {
2124
2116
  return {
2125
- ...(input.Invitations != null && {
2126
- Invitations: serializeAws_restJson1InviteActionList(input.Invitations, context),
2127
- }),
2128
- ...(input.Removals != null && { Removals: serializeAws_restJson1RemoveActionList(input.Removals, context) }),
2117
+ ...(input.Invitations != null && { Invitations: se_InviteActionList(input.Invitations, context) }),
2118
+ ...(input.Removals != null && { Removals: se_RemoveActionList(input.Removals, context) }),
2129
2119
  };
2130
2120
  };
2131
- const serializeAws_restJson1RemoveAction = (input, context) => {
2121
+ const se_RemoveAction = (input, context) => {
2132
2122
  return {
2133
2123
  ...(input.MemberId != null && { MemberId: input.MemberId }),
2134
2124
  };
2135
2125
  };
2136
- const serializeAws_restJson1RemoveActionList = (input, context) => {
2126
+ const se_RemoveActionList = (input, context) => {
2137
2127
  return input
2138
2128
  .filter((e) => e != null)
2139
2129
  .map((entry) => {
2140
- return serializeAws_restJson1RemoveAction(entry, context);
2130
+ return se_RemoveAction(entry, context);
2141
2131
  });
2142
2132
  };
2143
- const serializeAws_restJson1VotingPolicy = (input, context) => {
2133
+ const se_VotingPolicy = (input, context) => {
2144
2134
  return {
2145
2135
  ...(input.ApprovalThresholdPolicy != null && {
2146
- ApprovalThresholdPolicy: serializeAws_restJson1ApprovalThresholdPolicy(input.ApprovalThresholdPolicy, context),
2136
+ ApprovalThresholdPolicy: se_ApprovalThresholdPolicy(input.ApprovalThresholdPolicy, context),
2147
2137
  }),
2148
2138
  };
2149
2139
  };
2150
- const deserializeAws_restJson1Accessor = (output, context) => {
2140
+ const de_Accessor = (output, context) => {
2151
2141
  return {
2152
2142
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2153
2143
  BillingToken: (0, smithy_client_1.expectString)(output.BillingToken),
2154
2144
  CreationDate: output.CreationDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationDate)) : undefined,
2155
2145
  Id: (0, smithy_client_1.expectString)(output.Id),
2156
2146
  Status: (0, smithy_client_1.expectString)(output.Status),
2157
- Tags: output.Tags != null ? deserializeAws_restJson1OutputTagMap(output.Tags, context) : undefined,
2147
+ Tags: output.Tags != null ? de_OutputTagMap(output.Tags, context) : undefined,
2158
2148
  Type: (0, smithy_client_1.expectString)(output.Type),
2159
2149
  };
2160
2150
  };
2161
- const deserializeAws_restJson1AccessorSummary = (output, context) => {
2151
+ const de_AccessorSummary = (output, context) => {
2162
2152
  return {
2163
2153
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2164
2154
  CreationDate: output.CreationDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationDate)) : undefined,
@@ -2167,25 +2157,25 @@ const deserializeAws_restJson1AccessorSummary = (output, context) => {
2167
2157
  Type: (0, smithy_client_1.expectString)(output.Type),
2168
2158
  };
2169
2159
  };
2170
- const deserializeAws_restJson1AccessorSummaryList = (output, context) => {
2160
+ const de_AccessorSummaryList = (output, context) => {
2171
2161
  const retVal = (output || [])
2172
2162
  .filter((e) => e != null)
2173
2163
  .map((entry) => {
2174
2164
  if (entry === null) {
2175
2165
  return null;
2176
2166
  }
2177
- return deserializeAws_restJson1AccessorSummary(entry, context);
2167
+ return de_AccessorSummary(entry, context);
2178
2168
  });
2179
2169
  return retVal;
2180
2170
  };
2181
- const deserializeAws_restJson1ApprovalThresholdPolicy = (output, context) => {
2171
+ const de_ApprovalThresholdPolicy = (output, context) => {
2182
2172
  return {
2183
2173
  ProposalDurationInHours: (0, smithy_client_1.expectInt32)(output.ProposalDurationInHours),
2184
2174
  ThresholdComparator: (0, smithy_client_1.expectString)(output.ThresholdComparator),
2185
2175
  ThresholdPercentage: (0, smithy_client_1.expectInt32)(output.ThresholdPercentage),
2186
2176
  };
2187
2177
  };
2188
- const deserializeAws_restJson1Invitation = (output, context) => {
2178
+ const de_Invitation = (output, context) => {
2189
2179
  return {
2190
2180
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2191
2181
  CreationDate: output.CreationDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationDate)) : undefined,
@@ -2193,92 +2183,88 @@ const deserializeAws_restJson1Invitation = (output, context) => {
2193
2183
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.ExpirationDate))
2194
2184
  : undefined,
2195
2185
  InvitationId: (0, smithy_client_1.expectString)(output.InvitationId),
2196
- NetworkSummary: output.NetworkSummary != null
2197
- ? deserializeAws_restJson1NetworkSummary(output.NetworkSummary, context)
2198
- : undefined,
2186
+ NetworkSummary: output.NetworkSummary != null ? de_NetworkSummary(output.NetworkSummary, context) : undefined,
2199
2187
  Status: (0, smithy_client_1.expectString)(output.Status),
2200
2188
  };
2201
2189
  };
2202
- const deserializeAws_restJson1InvitationList = (output, context) => {
2190
+ const de_InvitationList = (output, context) => {
2203
2191
  const retVal = (output || [])
2204
2192
  .filter((e) => e != null)
2205
2193
  .map((entry) => {
2206
2194
  if (entry === null) {
2207
2195
  return null;
2208
2196
  }
2209
- return deserializeAws_restJson1Invitation(entry, context);
2197
+ return de_Invitation(entry, context);
2210
2198
  });
2211
2199
  return retVal;
2212
2200
  };
2213
- const deserializeAws_restJson1InviteAction = (output, context) => {
2201
+ const de_InviteAction = (output, context) => {
2214
2202
  return {
2215
2203
  Principal: (0, smithy_client_1.expectString)(output.Principal),
2216
2204
  };
2217
2205
  };
2218
- const deserializeAws_restJson1InviteActionList = (output, context) => {
2206
+ const de_InviteActionList = (output, context) => {
2219
2207
  const retVal = (output || [])
2220
2208
  .filter((e) => e != null)
2221
2209
  .map((entry) => {
2222
2210
  if (entry === null) {
2223
2211
  return null;
2224
2212
  }
2225
- return deserializeAws_restJson1InviteAction(entry, context);
2213
+ return de_InviteAction(entry, context);
2226
2214
  });
2227
2215
  return retVal;
2228
2216
  };
2229
- const deserializeAws_restJson1LogConfiguration = (output, context) => {
2217
+ const de_LogConfiguration = (output, context) => {
2230
2218
  return {
2231
2219
  Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
2232
2220
  };
2233
2221
  };
2234
- const deserializeAws_restJson1LogConfigurations = (output, context) => {
2222
+ const de_LogConfigurations = (output, context) => {
2235
2223
  return {
2236
- Cloudwatch: output.Cloudwatch != null ? deserializeAws_restJson1LogConfiguration(output.Cloudwatch, context) : undefined,
2224
+ Cloudwatch: output.Cloudwatch != null ? de_LogConfiguration(output.Cloudwatch, context) : undefined,
2237
2225
  };
2238
2226
  };
2239
- const deserializeAws_restJson1Member = (output, context) => {
2227
+ const de_Member = (output, context) => {
2240
2228
  return {
2241
2229
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2242
2230
  CreationDate: output.CreationDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationDate)) : undefined,
2243
2231
  Description: (0, smithy_client_1.expectString)(output.Description),
2244
2232
  FrameworkAttributes: output.FrameworkAttributes != null
2245
- ? deserializeAws_restJson1MemberFrameworkAttributes(output.FrameworkAttributes, context)
2233
+ ? de_MemberFrameworkAttributes(output.FrameworkAttributes, context)
2246
2234
  : undefined,
2247
2235
  Id: (0, smithy_client_1.expectString)(output.Id),
2248
2236
  KmsKeyArn: (0, smithy_client_1.expectString)(output.KmsKeyArn),
2249
2237
  LogPublishingConfiguration: output.LogPublishingConfiguration != null
2250
- ? deserializeAws_restJson1MemberLogPublishingConfiguration(output.LogPublishingConfiguration, context)
2238
+ ? de_MemberLogPublishingConfiguration(output.LogPublishingConfiguration, context)
2251
2239
  : undefined,
2252
2240
  Name: (0, smithy_client_1.expectString)(output.Name),
2253
2241
  NetworkId: (0, smithy_client_1.expectString)(output.NetworkId),
2254
2242
  Status: (0, smithy_client_1.expectString)(output.Status),
2255
- Tags: output.Tags != null ? deserializeAws_restJson1OutputTagMap(output.Tags, context) : undefined,
2243
+ Tags: output.Tags != null ? de_OutputTagMap(output.Tags, context) : undefined,
2256
2244
  };
2257
2245
  };
2258
- const deserializeAws_restJson1MemberFabricAttributes = (output, context) => {
2246
+ const de_MemberFabricAttributes = (output, context) => {
2259
2247
  return {
2260
2248
  AdminUsername: (0, smithy_client_1.expectString)(output.AdminUsername),
2261
2249
  CaEndpoint: (0, smithy_client_1.expectString)(output.CaEndpoint),
2262
2250
  };
2263
2251
  };
2264
- const deserializeAws_restJson1MemberFabricLogPublishingConfiguration = (output, context) => {
2252
+ const de_MemberFabricLogPublishingConfiguration = (output, context) => {
2265
2253
  return {
2266
- CaLogs: output.CaLogs != null ? deserializeAws_restJson1LogConfigurations(output.CaLogs, context) : undefined,
2254
+ CaLogs: output.CaLogs != null ? de_LogConfigurations(output.CaLogs, context) : undefined,
2267
2255
  };
2268
2256
  };
2269
- const deserializeAws_restJson1MemberFrameworkAttributes = (output, context) => {
2257
+ const de_MemberFrameworkAttributes = (output, context) => {
2270
2258
  return {
2271
- Fabric: output.Fabric != null ? deserializeAws_restJson1MemberFabricAttributes(output.Fabric, context) : undefined,
2259
+ Fabric: output.Fabric != null ? de_MemberFabricAttributes(output.Fabric, context) : undefined,
2272
2260
  };
2273
2261
  };
2274
- const deserializeAws_restJson1MemberLogPublishingConfiguration = (output, context) => {
2262
+ const de_MemberLogPublishingConfiguration = (output, context) => {
2275
2263
  return {
2276
- Fabric: output.Fabric != null
2277
- ? deserializeAws_restJson1MemberFabricLogPublishingConfiguration(output.Fabric, context)
2278
- : undefined,
2264
+ Fabric: output.Fabric != null ? de_MemberFabricLogPublishingConfiguration(output.Fabric, context) : undefined,
2279
2265
  };
2280
2266
  };
2281
- const deserializeAws_restJson1MemberSummary = (output, context) => {
2267
+ const de_MemberSummary = (output, context) => {
2282
2268
  return {
2283
2269
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2284
2270
  CreationDate: output.CreationDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationDate)) : undefined,
@@ -2289,53 +2275,53 @@ const deserializeAws_restJson1MemberSummary = (output, context) => {
2289
2275
  Status: (0, smithy_client_1.expectString)(output.Status),
2290
2276
  };
2291
2277
  };
2292
- const deserializeAws_restJson1MemberSummaryList = (output, context) => {
2278
+ const de_MemberSummaryList = (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_restJson1MemberSummary(entry, context);
2285
+ return de_MemberSummary(entry, context);
2300
2286
  });
2301
2287
  return retVal;
2302
2288
  };
2303
- const deserializeAws_restJson1Network = (output, context) => {
2289
+ const de_Network = (output, context) => {
2304
2290
  return {
2305
2291
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2306
2292
  CreationDate: output.CreationDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationDate)) : undefined,
2307
2293
  Description: (0, smithy_client_1.expectString)(output.Description),
2308
2294
  Framework: (0, smithy_client_1.expectString)(output.Framework),
2309
2295
  FrameworkAttributes: output.FrameworkAttributes != null
2310
- ? deserializeAws_restJson1NetworkFrameworkAttributes(output.FrameworkAttributes, context)
2296
+ ? de_NetworkFrameworkAttributes(output.FrameworkAttributes, context)
2311
2297
  : undefined,
2312
2298
  FrameworkVersion: (0, smithy_client_1.expectString)(output.FrameworkVersion),
2313
2299
  Id: (0, smithy_client_1.expectString)(output.Id),
2314
2300
  Name: (0, smithy_client_1.expectString)(output.Name),
2315
2301
  Status: (0, smithy_client_1.expectString)(output.Status),
2316
- Tags: output.Tags != null ? deserializeAws_restJson1OutputTagMap(output.Tags, context) : undefined,
2317
- VotingPolicy: output.VotingPolicy != null ? deserializeAws_restJson1VotingPolicy(output.VotingPolicy, context) : undefined,
2302
+ Tags: output.Tags != null ? de_OutputTagMap(output.Tags, context) : undefined,
2303
+ VotingPolicy: output.VotingPolicy != null ? de_VotingPolicy(output.VotingPolicy, context) : undefined,
2318
2304
  VpcEndpointServiceName: (0, smithy_client_1.expectString)(output.VpcEndpointServiceName),
2319
2305
  };
2320
2306
  };
2321
- const deserializeAws_restJson1NetworkEthereumAttributes = (output, context) => {
2307
+ const de_NetworkEthereumAttributes = (output, context) => {
2322
2308
  return {
2323
2309
  ChainId: (0, smithy_client_1.expectString)(output.ChainId),
2324
2310
  };
2325
2311
  };
2326
- const deserializeAws_restJson1NetworkFabricAttributes = (output, context) => {
2312
+ const de_NetworkFabricAttributes = (output, context) => {
2327
2313
  return {
2328
2314
  Edition: (0, smithy_client_1.expectString)(output.Edition),
2329
2315
  OrderingServiceEndpoint: (0, smithy_client_1.expectString)(output.OrderingServiceEndpoint),
2330
2316
  };
2331
2317
  };
2332
- const deserializeAws_restJson1NetworkFrameworkAttributes = (output, context) => {
2318
+ const de_NetworkFrameworkAttributes = (output, context) => {
2333
2319
  return {
2334
- Ethereum: output.Ethereum != null ? deserializeAws_restJson1NetworkEthereumAttributes(output.Ethereum, context) : undefined,
2335
- Fabric: output.Fabric != null ? deserializeAws_restJson1NetworkFabricAttributes(output.Fabric, context) : undefined,
2320
+ Ethereum: output.Ethereum != null ? de_NetworkEthereumAttributes(output.Ethereum, context) : undefined,
2321
+ Fabric: output.Fabric != null ? de_NetworkFabricAttributes(output.Fabric, context) : undefined,
2336
2322
  };
2337
2323
  };
2338
- const deserializeAws_restJson1NetworkSummary = (output, context) => {
2324
+ const de_NetworkSummary = (output, context) => {
2339
2325
  return {
2340
2326
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2341
2327
  CreationDate: output.CreationDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationDate)) : undefined,
@@ -2347,72 +2333,66 @@ const deserializeAws_restJson1NetworkSummary = (output, context) => {
2347
2333
  Status: (0, smithy_client_1.expectString)(output.Status),
2348
2334
  };
2349
2335
  };
2350
- const deserializeAws_restJson1NetworkSummaryList = (output, context) => {
2336
+ const de_NetworkSummaryList = (output, context) => {
2351
2337
  const retVal = (output || [])
2352
2338
  .filter((e) => e != null)
2353
2339
  .map((entry) => {
2354
2340
  if (entry === null) {
2355
2341
  return null;
2356
2342
  }
2357
- return deserializeAws_restJson1NetworkSummary(entry, context);
2343
+ return de_NetworkSummary(entry, context);
2358
2344
  });
2359
2345
  return retVal;
2360
2346
  };
2361
- const deserializeAws_restJson1Node = (output, context) => {
2347
+ const de_Node = (output, context) => {
2362
2348
  return {
2363
2349
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2364
2350
  AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
2365
2351
  CreationDate: output.CreationDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationDate)) : undefined,
2366
- FrameworkAttributes: output.FrameworkAttributes != null
2367
- ? deserializeAws_restJson1NodeFrameworkAttributes(output.FrameworkAttributes, context)
2368
- : undefined,
2352
+ FrameworkAttributes: output.FrameworkAttributes != null ? de_NodeFrameworkAttributes(output.FrameworkAttributes, context) : undefined,
2369
2353
  Id: (0, smithy_client_1.expectString)(output.Id),
2370
2354
  InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
2371
2355
  KmsKeyArn: (0, smithy_client_1.expectString)(output.KmsKeyArn),
2372
2356
  LogPublishingConfiguration: output.LogPublishingConfiguration != null
2373
- ? deserializeAws_restJson1NodeLogPublishingConfiguration(output.LogPublishingConfiguration, context)
2357
+ ? de_NodeLogPublishingConfiguration(output.LogPublishingConfiguration, context)
2374
2358
  : undefined,
2375
2359
  MemberId: (0, smithy_client_1.expectString)(output.MemberId),
2376
2360
  NetworkId: (0, smithy_client_1.expectString)(output.NetworkId),
2377
2361
  StateDB: (0, smithy_client_1.expectString)(output.StateDB),
2378
2362
  Status: (0, smithy_client_1.expectString)(output.Status),
2379
- Tags: output.Tags != null ? deserializeAws_restJson1OutputTagMap(output.Tags, context) : undefined,
2363
+ Tags: output.Tags != null ? de_OutputTagMap(output.Tags, context) : undefined,
2380
2364
  };
2381
2365
  };
2382
- const deserializeAws_restJson1NodeEthereumAttributes = (output, context) => {
2366
+ const de_NodeEthereumAttributes = (output, context) => {
2383
2367
  return {
2384
2368
  HttpEndpoint: (0, smithy_client_1.expectString)(output.HttpEndpoint),
2385
2369
  WebSocketEndpoint: (0, smithy_client_1.expectString)(output.WebSocketEndpoint),
2386
2370
  };
2387
2371
  };
2388
- const deserializeAws_restJson1NodeFabricAttributes = (output, context) => {
2372
+ const de_NodeFabricAttributes = (output, context) => {
2389
2373
  return {
2390
2374
  PeerEndpoint: (0, smithy_client_1.expectString)(output.PeerEndpoint),
2391
2375
  PeerEventEndpoint: (0, smithy_client_1.expectString)(output.PeerEventEndpoint),
2392
2376
  };
2393
2377
  };
2394
- const deserializeAws_restJson1NodeFabricLogPublishingConfiguration = (output, context) => {
2378
+ const de_NodeFabricLogPublishingConfiguration = (output, context) => {
2395
2379
  return {
2396
- ChaincodeLogs: output.ChaincodeLogs != null
2397
- ? deserializeAws_restJson1LogConfigurations(output.ChaincodeLogs, context)
2398
- : undefined,
2399
- PeerLogs: output.PeerLogs != null ? deserializeAws_restJson1LogConfigurations(output.PeerLogs, context) : undefined,
2380
+ ChaincodeLogs: output.ChaincodeLogs != null ? de_LogConfigurations(output.ChaincodeLogs, context) : undefined,
2381
+ PeerLogs: output.PeerLogs != null ? de_LogConfigurations(output.PeerLogs, context) : undefined,
2400
2382
  };
2401
2383
  };
2402
- const deserializeAws_restJson1NodeFrameworkAttributes = (output, context) => {
2384
+ const de_NodeFrameworkAttributes = (output, context) => {
2403
2385
  return {
2404
- Ethereum: output.Ethereum != null ? deserializeAws_restJson1NodeEthereumAttributes(output.Ethereum, context) : undefined,
2405
- Fabric: output.Fabric != null ? deserializeAws_restJson1NodeFabricAttributes(output.Fabric, context) : undefined,
2386
+ Ethereum: output.Ethereum != null ? de_NodeEthereumAttributes(output.Ethereum, context) : undefined,
2387
+ Fabric: output.Fabric != null ? de_NodeFabricAttributes(output.Fabric, context) : undefined,
2406
2388
  };
2407
2389
  };
2408
- const deserializeAws_restJson1NodeLogPublishingConfiguration = (output, context) => {
2390
+ const de_NodeLogPublishingConfiguration = (output, context) => {
2409
2391
  return {
2410
- Fabric: output.Fabric != null
2411
- ? deserializeAws_restJson1NodeFabricLogPublishingConfiguration(output.Fabric, context)
2412
- : undefined,
2392
+ Fabric: output.Fabric != null ? de_NodeFabricLogPublishingConfiguration(output.Fabric, context) : undefined,
2413
2393
  };
2414
2394
  };
2415
- const deserializeAws_restJson1NodeSummary = (output, context) => {
2395
+ const de_NodeSummary = (output, context) => {
2416
2396
  return {
2417
2397
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2418
2398
  AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
@@ -2422,18 +2402,18 @@ const deserializeAws_restJson1NodeSummary = (output, context) => {
2422
2402
  Status: (0, smithy_client_1.expectString)(output.Status),
2423
2403
  };
2424
2404
  };
2425
- const deserializeAws_restJson1NodeSummaryList = (output, context) => {
2405
+ const de_NodeSummaryList = (output, context) => {
2426
2406
  const retVal = (output || [])
2427
2407
  .filter((e) => e != null)
2428
2408
  .map((entry) => {
2429
2409
  if (entry === null) {
2430
2410
  return null;
2431
2411
  }
2432
- return deserializeAws_restJson1NodeSummary(entry, context);
2412
+ return de_NodeSummary(entry, context);
2433
2413
  });
2434
2414
  return retVal;
2435
2415
  };
2436
- const deserializeAws_restJson1OutputTagMap = (output, context) => {
2416
+ const de_OutputTagMap = (output, context) => {
2437
2417
  return Object.entries(output).reduce((acc, [key, value]) => {
2438
2418
  if (value === null) {
2439
2419
  return acc;
@@ -2442,9 +2422,9 @@ const deserializeAws_restJson1OutputTagMap = (output, context) => {
2442
2422
  return acc;
2443
2423
  }, {});
2444
2424
  };
2445
- const deserializeAws_restJson1Proposal = (output, context) => {
2425
+ const de_Proposal = (output, context) => {
2446
2426
  return {
2447
- Actions: output.Actions != null ? deserializeAws_restJson1ProposalActions(output.Actions, context) : undefined,
2427
+ Actions: output.Actions != null ? de_ProposalActions(output.Actions, context) : undefined,
2448
2428
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2449
2429
  CreationDate: output.CreationDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationDate)) : undefined,
2450
2430
  Description: (0, smithy_client_1.expectString)(output.Description),
@@ -2458,17 +2438,17 @@ const deserializeAws_restJson1Proposal = (output, context) => {
2458
2438
  ProposedByMemberId: (0, smithy_client_1.expectString)(output.ProposedByMemberId),
2459
2439
  ProposedByMemberName: (0, smithy_client_1.expectString)(output.ProposedByMemberName),
2460
2440
  Status: (0, smithy_client_1.expectString)(output.Status),
2461
- Tags: output.Tags != null ? deserializeAws_restJson1OutputTagMap(output.Tags, context) : undefined,
2441
+ Tags: output.Tags != null ? de_OutputTagMap(output.Tags, context) : undefined,
2462
2442
  YesVoteCount: (0, smithy_client_1.expectInt32)(output.YesVoteCount),
2463
2443
  };
2464
2444
  };
2465
- const deserializeAws_restJson1ProposalActions = (output, context) => {
2445
+ const de_ProposalActions = (output, context) => {
2466
2446
  return {
2467
- Invitations: output.Invitations != null ? deserializeAws_restJson1InviteActionList(output.Invitations, context) : undefined,
2468
- Removals: output.Removals != null ? deserializeAws_restJson1RemoveActionList(output.Removals, context) : undefined,
2447
+ Invitations: output.Invitations != null ? de_InviteActionList(output.Invitations, context) : undefined,
2448
+ Removals: output.Removals != null ? de_RemoveActionList(output.Removals, context) : undefined,
2469
2449
  };
2470
2450
  };
2471
- const deserializeAws_restJson1ProposalSummary = (output, context) => {
2451
+ const de_ProposalSummary = (output, context) => {
2472
2452
  return {
2473
2453
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2474
2454
  CreationDate: output.CreationDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationDate)) : undefined,
@@ -2482,55 +2462,55 @@ const deserializeAws_restJson1ProposalSummary = (output, context) => {
2482
2462
  Status: (0, smithy_client_1.expectString)(output.Status),
2483
2463
  };
2484
2464
  };
2485
- const deserializeAws_restJson1ProposalSummaryList = (output, context) => {
2465
+ const de_ProposalSummaryList = (output, context) => {
2486
2466
  const retVal = (output || [])
2487
2467
  .filter((e) => e != null)
2488
2468
  .map((entry) => {
2489
2469
  if (entry === null) {
2490
2470
  return null;
2491
2471
  }
2492
- return deserializeAws_restJson1ProposalSummary(entry, context);
2472
+ return de_ProposalSummary(entry, context);
2493
2473
  });
2494
2474
  return retVal;
2495
2475
  };
2496
- const deserializeAws_restJson1ProposalVoteList = (output, context) => {
2476
+ const de_ProposalVoteList = (output, context) => {
2497
2477
  const retVal = (output || [])
2498
2478
  .filter((e) => e != null)
2499
2479
  .map((entry) => {
2500
2480
  if (entry === null) {
2501
2481
  return null;
2502
2482
  }
2503
- return deserializeAws_restJson1VoteSummary(entry, context);
2483
+ return de_VoteSummary(entry, context);
2504
2484
  });
2505
2485
  return retVal;
2506
2486
  };
2507
- const deserializeAws_restJson1RemoveAction = (output, context) => {
2487
+ const de_RemoveAction = (output, context) => {
2508
2488
  return {
2509
2489
  MemberId: (0, smithy_client_1.expectString)(output.MemberId),
2510
2490
  };
2511
2491
  };
2512
- const deserializeAws_restJson1RemoveActionList = (output, context) => {
2492
+ const de_RemoveActionList = (output, context) => {
2513
2493
  const retVal = (output || [])
2514
2494
  .filter((e) => e != null)
2515
2495
  .map((entry) => {
2516
2496
  if (entry === null) {
2517
2497
  return null;
2518
2498
  }
2519
- return deserializeAws_restJson1RemoveAction(entry, context);
2499
+ return de_RemoveAction(entry, context);
2520
2500
  });
2521
2501
  return retVal;
2522
2502
  };
2523
- const deserializeAws_restJson1VoteSummary = (output, context) => {
2503
+ const de_VoteSummary = (output, context) => {
2524
2504
  return {
2525
2505
  MemberId: (0, smithy_client_1.expectString)(output.MemberId),
2526
2506
  MemberName: (0, smithy_client_1.expectString)(output.MemberName),
2527
2507
  Vote: (0, smithy_client_1.expectString)(output.Vote),
2528
2508
  };
2529
2509
  };
2530
- const deserializeAws_restJson1VotingPolicy = (output, context) => {
2510
+ const de_VotingPolicy = (output, context) => {
2531
2511
  return {
2532
2512
  ApprovalThresholdPolicy: output.ApprovalThresholdPolicy != null
2533
- ? deserializeAws_restJson1ApprovalThresholdPolicy(output.ApprovalThresholdPolicy, context)
2513
+ ? de_ApprovalThresholdPolicy(output.ApprovalThresholdPolicy, context)
2534
2514
  : undefined,
2535
2515
  };
2536
2516
  };