@aws-sdk/client-managedblockchain 3.30.0 → 3.34.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.
- package/CHANGELOG.md +35 -0
- package/dist/cjs/ManagedBlockchainClient.js +13 -13
- package/dist/cjs/ManagedBlockchainClient.js.map +1 -1
- package/dist/cjs/commands/CreateMemberCommand.js +3 -3
- package/dist/cjs/commands/CreateMemberCommand.js.map +1 -1
- package/dist/cjs/commands/CreateNetworkCommand.js +3 -3
- package/dist/cjs/commands/CreateNetworkCommand.js.map +1 -1
- package/dist/cjs/commands/CreateNodeCommand.js +3 -3
- package/dist/cjs/commands/CreateNodeCommand.js.map +1 -1
- package/dist/cjs/commands/CreateProposalCommand.js +3 -3
- package/dist/cjs/commands/CreateProposalCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMemberCommand.js +3 -3
- package/dist/cjs/commands/DeleteMemberCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteNodeCommand.js +3 -3
- package/dist/cjs/commands/DeleteNodeCommand.js.map +1 -1
- package/dist/cjs/commands/GetMemberCommand.js +3 -3
- package/dist/cjs/commands/GetMemberCommand.js.map +1 -1
- package/dist/cjs/commands/GetNetworkCommand.js +3 -3
- package/dist/cjs/commands/GetNetworkCommand.js.map +1 -1
- package/dist/cjs/commands/GetNodeCommand.js +3 -3
- package/dist/cjs/commands/GetNodeCommand.js.map +1 -1
- package/dist/cjs/commands/GetProposalCommand.js +3 -3
- package/dist/cjs/commands/GetProposalCommand.js.map +1 -1
- package/dist/cjs/commands/ListInvitationsCommand.js +3 -3
- package/dist/cjs/commands/ListInvitationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListMembersCommand.js +3 -3
- package/dist/cjs/commands/ListMembersCommand.js.map +1 -1
- package/dist/cjs/commands/ListNetworksCommand.js +3 -3
- package/dist/cjs/commands/ListNetworksCommand.js.map +1 -1
- package/dist/cjs/commands/ListNodesCommand.js +3 -3
- package/dist/cjs/commands/ListNodesCommand.js.map +1 -1
- package/dist/cjs/commands/ListProposalVotesCommand.js +3 -3
- package/dist/cjs/commands/ListProposalVotesCommand.js.map +1 -1
- package/dist/cjs/commands/ListProposalsCommand.js +3 -3
- package/dist/cjs/commands/ListProposalsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/RejectInvitationCommand.js +3 -3
- package/dist/cjs/commands/RejectInvitationCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMemberCommand.js +3 -3
- package/dist/cjs/commands/UpdateMemberCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateNodeCommand.js +3 -3
- package/dist/cjs/commands/UpdateNodeCommand.js.map +1 -1
- package/dist/cjs/commands/VoteOnProposalCommand.js +3 -3
- package/dist/cjs/commands/VoteOnProposalCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +33 -33
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_restJson1.js +179 -161
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/ManagedBlockchain.js +1 -7
- package/dist/es/ManagedBlockchain.js.map +1 -1
- package/dist/es/ManagedBlockchainClient.js +1 -12
- package/dist/es/ManagedBlockchainClient.js.map +1 -1
- package/dist/es/commands/CreateMemberCommand.js +2 -28
- package/dist/es/commands/CreateMemberCommand.js.map +1 -1
- package/dist/es/commands/CreateNetworkCommand.js +2 -28
- package/dist/es/commands/CreateNetworkCommand.js.map +1 -1
- package/dist/es/commands/CreateNodeCommand.js +2 -28
- package/dist/es/commands/CreateNodeCommand.js.map +1 -1
- package/dist/es/commands/CreateProposalCommand.js +2 -28
- package/dist/es/commands/CreateProposalCommand.js.map +1 -1
- package/dist/es/commands/DeleteMemberCommand.js +2 -28
- package/dist/es/commands/DeleteMemberCommand.js.map +1 -1
- package/dist/es/commands/DeleteNodeCommand.js +2 -28
- package/dist/es/commands/DeleteNodeCommand.js.map +1 -1
- package/dist/es/commands/GetMemberCommand.js +2 -28
- package/dist/es/commands/GetMemberCommand.js.map +1 -1
- package/dist/es/commands/GetNetworkCommand.js +2 -28
- package/dist/es/commands/GetNetworkCommand.js.map +1 -1
- package/dist/es/commands/GetNodeCommand.js +2 -28
- package/dist/es/commands/GetNodeCommand.js.map +1 -1
- package/dist/es/commands/GetProposalCommand.js +2 -28
- package/dist/es/commands/GetProposalCommand.js.map +1 -1
- package/dist/es/commands/ListInvitationsCommand.js +2 -28
- package/dist/es/commands/ListInvitationsCommand.js.map +1 -1
- package/dist/es/commands/ListMembersCommand.js +2 -28
- package/dist/es/commands/ListMembersCommand.js.map +1 -1
- package/dist/es/commands/ListNetworksCommand.js +2 -28
- package/dist/es/commands/ListNetworksCommand.js.map +1 -1
- package/dist/es/commands/ListNodesCommand.js +2 -28
- package/dist/es/commands/ListNodesCommand.js.map +1 -1
- package/dist/es/commands/ListProposalVotesCommand.js +2 -28
- package/dist/es/commands/ListProposalVotesCommand.js.map +1 -1
- package/dist/es/commands/ListProposalsCommand.js +2 -28
- package/dist/es/commands/ListProposalsCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -28
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/RejectInvitationCommand.js +2 -28
- package/dist/es/commands/RejectInvitationCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -30
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -28
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateMemberCommand.js +2 -28
- package/dist/es/commands/UpdateMemberCommand.js.map +1 -1
- package/dist/es/commands/UpdateNodeCommand.js +2 -28
- package/dist/es/commands/UpdateNodeCommand.js.map +1 -1
- package/dist/es/commands/VoteOnProposalCommand.js +2 -28
- package/dist/es/commands/VoteOnProposalCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -273
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/ListInvitationsPaginator.js +16 -28
- package/dist/es/pagination/ListInvitationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListMembersPaginator.js +16 -28
- package/dist/es/pagination/ListMembersPaginator.js.map +1 -1
- package/dist/es/pagination/ListNetworksPaginator.js +16 -28
- package/dist/es/pagination/ListNetworksPaginator.js.map +1 -1
- package/dist/es/pagination/ListNodesPaginator.js +16 -28
- package/dist/es/pagination/ListNodesPaginator.js.map +1 -1
- package/dist/es/pagination/ListProposalVotesPaginator.js +16 -28
- package/dist/es/pagination/ListProposalVotesPaginator.js.map +1 -1
- package/dist/es/pagination/ListProposalsPaginator.js +16 -28
- package/dist/es/pagination/ListProposalsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +752 -739
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/protocols/Aws_restJson1.ts +31 -12
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -16,14 +16,14 @@ const serializeAws_restJson1CreateMemberCommand = async (input, context) => {
|
|
|
16
16
|
if (labelValue.length <= 0) {
|
|
17
17
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
18
18
|
}
|
|
19
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
19
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
20
20
|
}
|
|
21
21
|
else {
|
|
22
22
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
23
23
|
}
|
|
24
24
|
let body;
|
|
25
25
|
body = JSON.stringify({
|
|
26
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a :
|
|
26
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
27
27
|
...(input.InvitationId !== undefined && input.InvitationId !== null && { InvitationId: input.InvitationId }),
|
|
28
28
|
...(input.MemberConfiguration !== undefined &&
|
|
29
29
|
input.MemberConfiguration !== null && {
|
|
@@ -50,7 +50,7 @@ const serializeAws_restJson1CreateNetworkCommand = async (input, context) => {
|
|
|
50
50
|
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/networks";
|
|
51
51
|
let body;
|
|
52
52
|
body = JSON.stringify({
|
|
53
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a :
|
|
53
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
54
54
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
55
55
|
...(input.Framework !== undefined && input.Framework !== null && { Framework: input.Framework }),
|
|
56
56
|
...(input.FrameworkConfiguration !== undefined &&
|
|
@@ -92,14 +92,14 @@ const serializeAws_restJson1CreateNodeCommand = async (input, context) => {
|
|
|
92
92
|
if (labelValue.length <= 0) {
|
|
93
93
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
94
94
|
}
|
|
95
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
95
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
98
98
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
99
99
|
}
|
|
100
100
|
let body;
|
|
101
101
|
body = JSON.stringify({
|
|
102
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a :
|
|
102
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
103
103
|
...(input.MemberId !== undefined && input.MemberId !== null && { MemberId: input.MemberId }),
|
|
104
104
|
...(input.NodeConfiguration !== undefined &&
|
|
105
105
|
input.NodeConfiguration !== null && {
|
|
@@ -131,7 +131,7 @@ const serializeAws_restJson1CreateProposalCommand = async (input, context) => {
|
|
|
131
131
|
if (labelValue.length <= 0) {
|
|
132
132
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
133
133
|
}
|
|
134
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
134
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
135
135
|
}
|
|
136
136
|
else {
|
|
137
137
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -140,7 +140,7 @@ const serializeAws_restJson1CreateProposalCommand = async (input, context) => {
|
|
|
140
140
|
body = JSON.stringify({
|
|
141
141
|
...(input.Actions !== undefined &&
|
|
142
142
|
input.Actions !== null && { Actions: serializeAws_restJson1ProposalActions(input.Actions, context) }),
|
|
143
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a :
|
|
143
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
144
144
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
145
145
|
...(input.MemberId !== undefined && input.MemberId !== null && { MemberId: input.MemberId }),
|
|
146
146
|
...(input.Tags !== undefined &&
|
|
@@ -166,7 +166,7 @@ const serializeAws_restJson1DeleteMemberCommand = async (input, context) => {
|
|
|
166
166
|
if (labelValue.length <= 0) {
|
|
167
167
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
168
168
|
}
|
|
169
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
169
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
170
170
|
}
|
|
171
171
|
else {
|
|
172
172
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -176,7 +176,7 @@ const serializeAws_restJson1DeleteMemberCommand = async (input, context) => {
|
|
|
176
176
|
if (labelValue.length <= 0) {
|
|
177
177
|
throw new Error("Empty value provided for input HTTP label: MemberId.");
|
|
178
178
|
}
|
|
179
|
-
resolvedPath = resolvedPath.replace("{MemberId}",
|
|
179
|
+
resolvedPath = resolvedPath.replace("{MemberId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
182
182
|
throw new Error("No value provided for input HTTP label: MemberId.");
|
|
@@ -202,7 +202,7 @@ const serializeAws_restJson1DeleteNodeCommand = async (input, context) => {
|
|
|
202
202
|
if (labelValue.length <= 0) {
|
|
203
203
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
204
204
|
}
|
|
205
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
205
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
206
206
|
}
|
|
207
207
|
else {
|
|
208
208
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -212,7 +212,7 @@ const serializeAws_restJson1DeleteNodeCommand = async (input, context) => {
|
|
|
212
212
|
if (labelValue.length <= 0) {
|
|
213
213
|
throw new Error("Empty value provided for input HTTP label: NodeId.");
|
|
214
214
|
}
|
|
215
|
-
resolvedPath = resolvedPath.replace("{NodeId}",
|
|
215
|
+
resolvedPath = resolvedPath.replace("{NodeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
216
216
|
}
|
|
217
217
|
else {
|
|
218
218
|
throw new Error("No value provided for input HTTP label: NodeId.");
|
|
@@ -242,7 +242,7 @@ const serializeAws_restJson1GetMemberCommand = async (input, context) => {
|
|
|
242
242
|
if (labelValue.length <= 0) {
|
|
243
243
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
244
244
|
}
|
|
245
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
245
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
246
246
|
}
|
|
247
247
|
else {
|
|
248
248
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -252,7 +252,7 @@ const serializeAws_restJson1GetMemberCommand = async (input, context) => {
|
|
|
252
252
|
if (labelValue.length <= 0) {
|
|
253
253
|
throw new Error("Empty value provided for input HTTP label: MemberId.");
|
|
254
254
|
}
|
|
255
|
-
resolvedPath = resolvedPath.replace("{MemberId}",
|
|
255
|
+
resolvedPath = resolvedPath.replace("{MemberId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
256
256
|
}
|
|
257
257
|
else {
|
|
258
258
|
throw new Error("No value provided for input HTTP label: MemberId.");
|
|
@@ -278,7 +278,7 @@ const serializeAws_restJson1GetNetworkCommand = async (input, context) => {
|
|
|
278
278
|
if (labelValue.length <= 0) {
|
|
279
279
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
280
280
|
}
|
|
281
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
281
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
282
282
|
}
|
|
283
283
|
else {
|
|
284
284
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -304,7 +304,7 @@ const serializeAws_restJson1GetNodeCommand = async (input, context) => {
|
|
|
304
304
|
if (labelValue.length <= 0) {
|
|
305
305
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
306
306
|
}
|
|
307
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
307
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
308
308
|
}
|
|
309
309
|
else {
|
|
310
310
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -314,7 +314,7 @@ const serializeAws_restJson1GetNodeCommand = async (input, context) => {
|
|
|
314
314
|
if (labelValue.length <= 0) {
|
|
315
315
|
throw new Error("Empty value provided for input HTTP label: NodeId.");
|
|
316
316
|
}
|
|
317
|
-
resolvedPath = resolvedPath.replace("{NodeId}",
|
|
317
|
+
resolvedPath = resolvedPath.replace("{NodeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
318
318
|
}
|
|
319
319
|
else {
|
|
320
320
|
throw new Error("No value provided for input HTTP label: NodeId.");
|
|
@@ -345,7 +345,7 @@ const serializeAws_restJson1GetProposalCommand = async (input, context) => {
|
|
|
345
345
|
if (labelValue.length <= 0) {
|
|
346
346
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
347
347
|
}
|
|
348
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
348
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
349
349
|
}
|
|
350
350
|
else {
|
|
351
351
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -355,7 +355,7 @@ const serializeAws_restJson1GetProposalCommand = async (input, context) => {
|
|
|
355
355
|
if (labelValue.length <= 0) {
|
|
356
356
|
throw new Error("Empty value provided for input HTTP label: ProposalId.");
|
|
357
357
|
}
|
|
358
|
-
resolvedPath = resolvedPath.replace("{ProposalId}",
|
|
358
|
+
resolvedPath = resolvedPath.replace("{ProposalId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
359
359
|
}
|
|
360
360
|
else {
|
|
361
361
|
throw new Error("No value provided for input HTTP label: ProposalId.");
|
|
@@ -402,7 +402,7 @@ const serializeAws_restJson1ListMembersCommand = async (input, context) => {
|
|
|
402
402
|
if (labelValue.length <= 0) {
|
|
403
403
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
404
404
|
}
|
|
405
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
405
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
406
406
|
}
|
|
407
407
|
else {
|
|
408
408
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -460,7 +460,7 @@ const serializeAws_restJson1ListNodesCommand = async (input, context) => {
|
|
|
460
460
|
if (labelValue.length <= 0) {
|
|
461
461
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
462
462
|
}
|
|
463
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
463
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
464
464
|
}
|
|
465
465
|
else {
|
|
466
466
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -493,7 +493,7 @@ const serializeAws_restJson1ListProposalsCommand = async (input, context) => {
|
|
|
493
493
|
if (labelValue.length <= 0) {
|
|
494
494
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
495
495
|
}
|
|
496
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
496
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
497
497
|
}
|
|
498
498
|
else {
|
|
499
499
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -525,7 +525,7 @@ const serializeAws_restJson1ListProposalVotesCommand = async (input, context) =>
|
|
|
525
525
|
if (labelValue.length <= 0) {
|
|
526
526
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
527
527
|
}
|
|
528
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
528
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
529
529
|
}
|
|
530
530
|
else {
|
|
531
531
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -535,7 +535,7 @@ const serializeAws_restJson1ListProposalVotesCommand = async (input, context) =>
|
|
|
535
535
|
if (labelValue.length <= 0) {
|
|
536
536
|
throw new Error("Empty value provided for input HTTP label: ProposalId.");
|
|
537
537
|
}
|
|
538
|
-
resolvedPath = resolvedPath.replace("{ProposalId}",
|
|
538
|
+
resolvedPath = resolvedPath.replace("{ProposalId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
539
539
|
}
|
|
540
540
|
else {
|
|
541
541
|
throw new Error("No value provided for input HTTP label: ProposalId.");
|
|
@@ -566,7 +566,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
566
566
|
if (labelValue.length <= 0) {
|
|
567
567
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
568
568
|
}
|
|
569
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
569
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
570
570
|
}
|
|
571
571
|
else {
|
|
572
572
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -592,7 +592,7 @@ const serializeAws_restJson1RejectInvitationCommand = async (input, context) =>
|
|
|
592
592
|
if (labelValue.length <= 0) {
|
|
593
593
|
throw new Error("Empty value provided for input HTTP label: InvitationId.");
|
|
594
594
|
}
|
|
595
|
-
resolvedPath = resolvedPath.replace("{InvitationId}",
|
|
595
|
+
resolvedPath = resolvedPath.replace("{InvitationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
596
596
|
}
|
|
597
597
|
else {
|
|
598
598
|
throw new Error("No value provided for input HTTP label: InvitationId.");
|
|
@@ -620,7 +620,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
620
620
|
if (labelValue.length <= 0) {
|
|
621
621
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
622
622
|
}
|
|
623
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
623
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
624
624
|
}
|
|
625
625
|
else {
|
|
626
626
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -650,7 +650,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
650
650
|
if (labelValue.length <= 0) {
|
|
651
651
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
652
652
|
}
|
|
653
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
653
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
654
654
|
}
|
|
655
655
|
else {
|
|
656
656
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -682,7 +682,7 @@ const serializeAws_restJson1UpdateMemberCommand = async (input, context) => {
|
|
|
682
682
|
if (labelValue.length <= 0) {
|
|
683
683
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
684
684
|
}
|
|
685
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
685
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
686
686
|
}
|
|
687
687
|
else {
|
|
688
688
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -692,7 +692,7 @@ const serializeAws_restJson1UpdateMemberCommand = async (input, context) => {
|
|
|
692
692
|
if (labelValue.length <= 0) {
|
|
693
693
|
throw new Error("Empty value provided for input HTTP label: MemberId.");
|
|
694
694
|
}
|
|
695
|
-
resolvedPath = resolvedPath.replace("{MemberId}",
|
|
695
|
+
resolvedPath = resolvedPath.replace("{MemberId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
696
696
|
}
|
|
697
697
|
else {
|
|
698
698
|
throw new Error("No value provided for input HTTP label: MemberId.");
|
|
@@ -726,7 +726,7 @@ const serializeAws_restJson1UpdateNodeCommand = async (input, context) => {
|
|
|
726
726
|
if (labelValue.length <= 0) {
|
|
727
727
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
728
728
|
}
|
|
729
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
729
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
730
730
|
}
|
|
731
731
|
else {
|
|
732
732
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -736,7 +736,7 @@ const serializeAws_restJson1UpdateNodeCommand = async (input, context) => {
|
|
|
736
736
|
if (labelValue.length <= 0) {
|
|
737
737
|
throw new Error("Empty value provided for input HTTP label: NodeId.");
|
|
738
738
|
}
|
|
739
|
-
resolvedPath = resolvedPath.replace("{NodeId}",
|
|
739
|
+
resolvedPath = resolvedPath.replace("{NodeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
740
740
|
}
|
|
741
741
|
else {
|
|
742
742
|
throw new Error("No value provided for input HTTP label: NodeId.");
|
|
@@ -772,7 +772,7 @@ const serializeAws_restJson1VoteOnProposalCommand = async (input, context) => {
|
|
|
772
772
|
if (labelValue.length <= 0) {
|
|
773
773
|
throw new Error("Empty value provided for input HTTP label: NetworkId.");
|
|
774
774
|
}
|
|
775
|
-
resolvedPath = resolvedPath.replace("{NetworkId}",
|
|
775
|
+
resolvedPath = resolvedPath.replace("{NetworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
776
776
|
}
|
|
777
777
|
else {
|
|
778
778
|
throw new Error("No value provided for input HTTP label: NetworkId.");
|
|
@@ -782,7 +782,7 @@ const serializeAws_restJson1VoteOnProposalCommand = async (input, context) => {
|
|
|
782
782
|
if (labelValue.length <= 0) {
|
|
783
783
|
throw new Error("Empty value provided for input HTTP label: ProposalId.");
|
|
784
784
|
}
|
|
785
|
-
resolvedPath = resolvedPath.replace("{ProposalId}",
|
|
785
|
+
resolvedPath = resolvedPath.replace("{ProposalId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
786
786
|
}
|
|
787
787
|
else {
|
|
788
788
|
throw new Error("No value provided for input HTTP label: ProposalId.");
|
|
@@ -811,9 +811,9 @@ const deserializeAws_restJson1CreateMemberCommand = async (output, context) => {
|
|
|
811
811
|
$metadata: deserializeMetadata(output),
|
|
812
812
|
MemberId: undefined,
|
|
813
813
|
};
|
|
814
|
-
const data =
|
|
814
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
815
815
|
if (data.MemberId !== undefined && data.MemberId !== null) {
|
|
816
|
-
contents.MemberId =
|
|
816
|
+
contents.MemberId = smithy_client_1.expectString(data.MemberId);
|
|
817
817
|
}
|
|
818
818
|
return Promise.resolve(contents);
|
|
819
819
|
};
|
|
@@ -924,12 +924,12 @@ const deserializeAws_restJson1CreateNetworkCommand = async (output, context) =>
|
|
|
924
924
|
MemberId: undefined,
|
|
925
925
|
NetworkId: undefined,
|
|
926
926
|
};
|
|
927
|
-
const data =
|
|
927
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
928
928
|
if (data.MemberId !== undefined && data.MemberId !== null) {
|
|
929
|
-
contents.MemberId =
|
|
929
|
+
contents.MemberId = smithy_client_1.expectString(data.MemberId);
|
|
930
930
|
}
|
|
931
931
|
if (data.NetworkId !== undefined && data.NetworkId !== null) {
|
|
932
|
-
contents.NetworkId =
|
|
932
|
+
contents.NetworkId = smithy_client_1.expectString(data.NetworkId);
|
|
933
933
|
}
|
|
934
934
|
return Promise.resolve(contents);
|
|
935
935
|
};
|
|
@@ -1023,9 +1023,9 @@ const deserializeAws_restJson1CreateNodeCommand = async (output, context) => {
|
|
|
1023
1023
|
$metadata: deserializeMetadata(output),
|
|
1024
1024
|
NodeId: undefined,
|
|
1025
1025
|
};
|
|
1026
|
-
const data =
|
|
1026
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1027
1027
|
if (data.NodeId !== undefined && data.NodeId !== null) {
|
|
1028
|
-
contents.NodeId =
|
|
1028
|
+
contents.NodeId = smithy_client_1.expectString(data.NodeId);
|
|
1029
1029
|
}
|
|
1030
1030
|
return Promise.resolve(contents);
|
|
1031
1031
|
};
|
|
@@ -1135,9 +1135,9 @@ const deserializeAws_restJson1CreateProposalCommand = async (output, context) =>
|
|
|
1135
1135
|
$metadata: deserializeMetadata(output),
|
|
1136
1136
|
ProposalId: undefined,
|
|
1137
1137
|
};
|
|
1138
|
-
const data =
|
|
1138
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1139
1139
|
if (data.ProposalId !== undefined && data.ProposalId !== null) {
|
|
1140
|
-
contents.ProposalId =
|
|
1140
|
+
contents.ProposalId = smithy_client_1.expectString(data.ProposalId);
|
|
1141
1141
|
}
|
|
1142
1142
|
return Promise.resolve(contents);
|
|
1143
1143
|
};
|
|
@@ -1399,7 +1399,7 @@ const deserializeAws_restJson1GetMemberCommand = async (output, context) => {
|
|
|
1399
1399
|
$metadata: deserializeMetadata(output),
|
|
1400
1400
|
Member: undefined,
|
|
1401
1401
|
};
|
|
1402
|
-
const data =
|
|
1402
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1403
1403
|
if (data.Member !== undefined && data.Member !== null) {
|
|
1404
1404
|
contents.Member = deserializeAws_restJson1Member(data.Member, context);
|
|
1405
1405
|
}
|
|
@@ -1479,7 +1479,7 @@ const deserializeAws_restJson1GetNetworkCommand = async (output, context) => {
|
|
|
1479
1479
|
$metadata: deserializeMetadata(output),
|
|
1480
1480
|
Network: undefined,
|
|
1481
1481
|
};
|
|
1482
|
-
const data =
|
|
1482
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1483
1483
|
if (data.Network !== undefined && data.Network !== null) {
|
|
1484
1484
|
contents.Network = deserializeAws_restJson1Network(data.Network, context);
|
|
1485
1485
|
}
|
|
@@ -1559,7 +1559,7 @@ const deserializeAws_restJson1GetNodeCommand = async (output, context) => {
|
|
|
1559
1559
|
$metadata: deserializeMetadata(output),
|
|
1560
1560
|
Node: undefined,
|
|
1561
1561
|
};
|
|
1562
|
-
const data =
|
|
1562
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1563
1563
|
if (data.Node !== undefined && data.Node !== null) {
|
|
1564
1564
|
contents.Node = deserializeAws_restJson1Node(data.Node, context);
|
|
1565
1565
|
}
|
|
@@ -1639,7 +1639,7 @@ const deserializeAws_restJson1GetProposalCommand = async (output, context) => {
|
|
|
1639
1639
|
$metadata: deserializeMetadata(output),
|
|
1640
1640
|
Proposal: undefined,
|
|
1641
1641
|
};
|
|
1642
|
-
const data =
|
|
1642
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1643
1643
|
if (data.Proposal !== undefined && data.Proposal !== null) {
|
|
1644
1644
|
contents.Proposal = deserializeAws_restJson1Proposal(data.Proposal, context);
|
|
1645
1645
|
}
|
|
@@ -1720,12 +1720,12 @@ const deserializeAws_restJson1ListInvitationsCommand = async (output, context) =
|
|
|
1720
1720
|
Invitations: undefined,
|
|
1721
1721
|
NextToken: undefined,
|
|
1722
1722
|
};
|
|
1723
|
-
const data =
|
|
1723
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1724
1724
|
if (data.Invitations !== undefined && data.Invitations !== null) {
|
|
1725
1725
|
contents.Invitations = deserializeAws_restJson1InvitationList(data.Invitations, context);
|
|
1726
1726
|
}
|
|
1727
1727
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1728
|
-
contents.NextToken =
|
|
1728
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1729
1729
|
}
|
|
1730
1730
|
return Promise.resolve(contents);
|
|
1731
1731
|
};
|
|
@@ -1812,12 +1812,12 @@ const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
|
|
|
1812
1812
|
Members: undefined,
|
|
1813
1813
|
NextToken: undefined,
|
|
1814
1814
|
};
|
|
1815
|
-
const data =
|
|
1815
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1816
1816
|
if (data.Members !== undefined && data.Members !== null) {
|
|
1817
1817
|
contents.Members = deserializeAws_restJson1MemberSummaryList(data.Members, context);
|
|
1818
1818
|
}
|
|
1819
1819
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1820
|
-
contents.NextToken =
|
|
1820
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1821
1821
|
}
|
|
1822
1822
|
return Promise.resolve(contents);
|
|
1823
1823
|
};
|
|
@@ -1888,12 +1888,12 @@ const deserializeAws_restJson1ListNetworksCommand = async (output, context) => {
|
|
|
1888
1888
|
Networks: undefined,
|
|
1889
1889
|
NextToken: undefined,
|
|
1890
1890
|
};
|
|
1891
|
-
const data =
|
|
1891
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1892
1892
|
if (data.Networks !== undefined && data.Networks !== null) {
|
|
1893
1893
|
contents.Networks = deserializeAws_restJson1NetworkSummaryList(data.Networks, context);
|
|
1894
1894
|
}
|
|
1895
1895
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1896
|
-
contents.NextToken =
|
|
1896
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1897
1897
|
}
|
|
1898
1898
|
return Promise.resolve(contents);
|
|
1899
1899
|
};
|
|
@@ -1964,9 +1964,9 @@ const deserializeAws_restJson1ListNodesCommand = async (output, context) => {
|
|
|
1964
1964
|
NextToken: undefined,
|
|
1965
1965
|
Nodes: undefined,
|
|
1966
1966
|
};
|
|
1967
|
-
const data =
|
|
1967
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1968
1968
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1969
|
-
contents.NextToken =
|
|
1969
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1970
1970
|
}
|
|
1971
1971
|
if (data.Nodes !== undefined && data.Nodes !== null) {
|
|
1972
1972
|
contents.Nodes = deserializeAws_restJson1NodeSummaryList(data.Nodes, context);
|
|
@@ -2040,9 +2040,9 @@ const deserializeAws_restJson1ListProposalsCommand = async (output, context) =>
|
|
|
2040
2040
|
NextToken: undefined,
|
|
2041
2041
|
Proposals: undefined,
|
|
2042
2042
|
};
|
|
2043
|
-
const data =
|
|
2043
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2044
2044
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2045
|
-
contents.NextToken =
|
|
2045
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2046
2046
|
}
|
|
2047
2047
|
if (data.Proposals !== undefined && data.Proposals !== null) {
|
|
2048
2048
|
contents.Proposals = deserializeAws_restJson1ProposalSummaryList(data.Proposals, context);
|
|
@@ -2124,9 +2124,9 @@ const deserializeAws_restJson1ListProposalVotesCommand = async (output, context)
|
|
|
2124
2124
|
NextToken: undefined,
|
|
2125
2125
|
ProposalVotes: undefined,
|
|
2126
2126
|
};
|
|
2127
|
-
const data =
|
|
2127
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2128
2128
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2129
|
-
contents.NextToken =
|
|
2129
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2130
2130
|
}
|
|
2131
2131
|
if (data.ProposalVotes !== undefined && data.ProposalVotes !== null) {
|
|
2132
2132
|
contents.ProposalVotes = deserializeAws_restJson1ProposalVoteList(data.ProposalVotes, context);
|
|
@@ -2199,7 +2199,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
2199
2199
|
$metadata: deserializeMetadata(output),
|
|
2200
2200
|
Tags: undefined,
|
|
2201
2201
|
};
|
|
2202
|
-
const data =
|
|
2202
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2203
2203
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
2204
2204
|
contents.Tags = deserializeAws_restJson1OutputTagMap(data.Tags, context);
|
|
2205
2205
|
}
|
|
@@ -2736,7 +2736,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
|
|
|
2736
2736
|
};
|
|
2737
2737
|
const data = parsedOutput.body;
|
|
2738
2738
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2739
|
-
contents.Message =
|
|
2739
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2740
2740
|
}
|
|
2741
2741
|
return contents;
|
|
2742
2742
|
};
|
|
@@ -2749,7 +2749,7 @@ const deserializeAws_restJson1IllegalActionExceptionResponse = async (parsedOutp
|
|
|
2749
2749
|
};
|
|
2750
2750
|
const data = parsedOutput.body;
|
|
2751
2751
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2752
|
-
contents.Message =
|
|
2752
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2753
2753
|
}
|
|
2754
2754
|
return contents;
|
|
2755
2755
|
};
|
|
@@ -2771,7 +2771,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
|
|
|
2771
2771
|
};
|
|
2772
2772
|
const data = parsedOutput.body;
|
|
2773
2773
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2774
|
-
contents.Message =
|
|
2774
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2775
2775
|
}
|
|
2776
2776
|
return contents;
|
|
2777
2777
|
};
|
|
@@ -2784,7 +2784,7 @@ const deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse = async (pa
|
|
|
2784
2784
|
};
|
|
2785
2785
|
const data = parsedOutput.body;
|
|
2786
2786
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2787
|
-
contents.Message =
|
|
2787
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2788
2788
|
}
|
|
2789
2789
|
return contents;
|
|
2790
2790
|
};
|
|
@@ -2797,7 +2797,7 @@ const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (pa
|
|
|
2797
2797
|
};
|
|
2798
2798
|
const data = parsedOutput.body;
|
|
2799
2799
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2800
|
-
contents.Message =
|
|
2800
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2801
2801
|
}
|
|
2802
2802
|
return contents;
|
|
2803
2803
|
};
|
|
@@ -2811,10 +2811,10 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
2811
2811
|
};
|
|
2812
2812
|
const data = parsedOutput.body;
|
|
2813
2813
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2814
|
-
contents.Message =
|
|
2814
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2815
2815
|
}
|
|
2816
2816
|
if (data.ResourceName !== undefined && data.ResourceName !== null) {
|
|
2817
|
-
contents.ResourceName =
|
|
2817
|
+
contents.ResourceName = smithy_client_1.expectString(data.ResourceName);
|
|
2818
2818
|
}
|
|
2819
2819
|
return contents;
|
|
2820
2820
|
};
|
|
@@ -2827,7 +2827,7 @@ const deserializeAws_restJson1ResourceNotReadyExceptionResponse = async (parsedO
|
|
|
2827
2827
|
};
|
|
2828
2828
|
const data = parsedOutput.body;
|
|
2829
2829
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2830
|
-
contents.Message =
|
|
2830
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2831
2831
|
}
|
|
2832
2832
|
return contents;
|
|
2833
2833
|
};
|
|
@@ -2850,10 +2850,10 @@ const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput
|
|
|
2850
2850
|
};
|
|
2851
2851
|
const data = parsedOutput.body;
|
|
2852
2852
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2853
|
-
contents.Message =
|
|
2853
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2854
2854
|
}
|
|
2855
2855
|
if (data.ResourceName !== undefined && data.ResourceName !== null) {
|
|
2856
|
-
contents.ResourceName =
|
|
2856
|
+
contents.ResourceName = smithy_client_1.expectString(data.ResourceName);
|
|
2857
2857
|
}
|
|
2858
2858
|
return contents;
|
|
2859
2859
|
};
|
|
@@ -3023,23 +3023,25 @@ const serializeAws_restJson1VotingPolicy = (input, context) => {
|
|
|
3023
3023
|
};
|
|
3024
3024
|
const deserializeAws_restJson1ApprovalThresholdPolicy = (output, context) => {
|
|
3025
3025
|
return {
|
|
3026
|
-
ProposalDurationInHours:
|
|
3027
|
-
ThresholdComparator:
|
|
3028
|
-
ThresholdPercentage:
|
|
3026
|
+
ProposalDurationInHours: smithy_client_1.expectInt32(output.ProposalDurationInHours),
|
|
3027
|
+
ThresholdComparator: smithy_client_1.expectString(output.ThresholdComparator),
|
|
3028
|
+
ThresholdPercentage: smithy_client_1.expectInt32(output.ThresholdPercentage),
|
|
3029
3029
|
};
|
|
3030
3030
|
};
|
|
3031
3031
|
const deserializeAws_restJson1Invitation = (output, context) => {
|
|
3032
3032
|
return {
|
|
3033
|
-
Arn:
|
|
3034
|
-
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3033
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
3034
|
+
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3035
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
|
|
3036
|
+
: undefined,
|
|
3035
3037
|
ExpirationDate: output.ExpirationDate !== undefined && output.ExpirationDate !== null
|
|
3036
|
-
?
|
|
3038
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.ExpirationDate))
|
|
3037
3039
|
: undefined,
|
|
3038
|
-
InvitationId:
|
|
3040
|
+
InvitationId: smithy_client_1.expectString(output.InvitationId),
|
|
3039
3041
|
NetworkSummary: output.NetworkSummary !== undefined && output.NetworkSummary !== null
|
|
3040
3042
|
? deserializeAws_restJson1NetworkSummary(output.NetworkSummary, context)
|
|
3041
3043
|
: undefined,
|
|
3042
|
-
Status:
|
|
3044
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
3043
3045
|
};
|
|
3044
3046
|
};
|
|
3045
3047
|
const deserializeAws_restJson1InvitationList = (output, context) => {
|
|
@@ -3054,7 +3056,7 @@ const deserializeAws_restJson1InvitationList = (output, context) => {
|
|
|
3054
3056
|
};
|
|
3055
3057
|
const deserializeAws_restJson1InviteAction = (output, context) => {
|
|
3056
3058
|
return {
|
|
3057
|
-
Principal:
|
|
3059
|
+
Principal: smithy_client_1.expectString(output.Principal),
|
|
3058
3060
|
};
|
|
3059
3061
|
};
|
|
3060
3062
|
const deserializeAws_restJson1InviteActionList = (output, context) => {
|
|
@@ -3069,7 +3071,7 @@ const deserializeAws_restJson1InviteActionList = (output, context) => {
|
|
|
3069
3071
|
};
|
|
3070
3072
|
const deserializeAws_restJson1LogConfiguration = (output, context) => {
|
|
3071
3073
|
return {
|
|
3072
|
-
Enabled:
|
|
3074
|
+
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
3073
3075
|
};
|
|
3074
3076
|
};
|
|
3075
3077
|
const deserializeAws_restJson1LogConfigurations = (output, context) => {
|
|
@@ -3081,20 +3083,22 @@ const deserializeAws_restJson1LogConfigurations = (output, context) => {
|
|
|
3081
3083
|
};
|
|
3082
3084
|
const deserializeAws_restJson1Member = (output, context) => {
|
|
3083
3085
|
return {
|
|
3084
|
-
Arn:
|
|
3085
|
-
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3086
|
-
|
|
3086
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
3087
|
+
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3088
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
|
|
3089
|
+
: undefined,
|
|
3090
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
3087
3091
|
FrameworkAttributes: output.FrameworkAttributes !== undefined && output.FrameworkAttributes !== null
|
|
3088
3092
|
? deserializeAws_restJson1MemberFrameworkAttributes(output.FrameworkAttributes, context)
|
|
3089
3093
|
: undefined,
|
|
3090
|
-
Id:
|
|
3091
|
-
KmsKeyArn:
|
|
3094
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
3095
|
+
KmsKeyArn: smithy_client_1.expectString(output.KmsKeyArn),
|
|
3092
3096
|
LogPublishingConfiguration: output.LogPublishingConfiguration !== undefined && output.LogPublishingConfiguration !== null
|
|
3093
3097
|
? deserializeAws_restJson1MemberLogPublishingConfiguration(output.LogPublishingConfiguration, context)
|
|
3094
3098
|
: undefined,
|
|
3095
|
-
Name:
|
|
3096
|
-
NetworkId:
|
|
3097
|
-
Status:
|
|
3099
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
3100
|
+
NetworkId: smithy_client_1.expectString(output.NetworkId),
|
|
3101
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
3098
3102
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3099
3103
|
? deserializeAws_restJson1OutputTagMap(output.Tags, context)
|
|
3100
3104
|
: undefined,
|
|
@@ -3102,8 +3106,8 @@ const deserializeAws_restJson1Member = (output, context) => {
|
|
|
3102
3106
|
};
|
|
3103
3107
|
const deserializeAws_restJson1MemberFabricAttributes = (output, context) => {
|
|
3104
3108
|
return {
|
|
3105
|
-
AdminUsername:
|
|
3106
|
-
CaEndpoint:
|
|
3109
|
+
AdminUsername: smithy_client_1.expectString(output.AdminUsername),
|
|
3110
|
+
CaEndpoint: smithy_client_1.expectString(output.CaEndpoint),
|
|
3107
3111
|
};
|
|
3108
3112
|
};
|
|
3109
3113
|
const deserializeAws_restJson1MemberFabricLogPublishingConfiguration = (output, context) => {
|
|
@@ -3129,13 +3133,15 @@ const deserializeAws_restJson1MemberLogPublishingConfiguration = (output, contex
|
|
|
3129
3133
|
};
|
|
3130
3134
|
const deserializeAws_restJson1MemberSummary = (output, context) => {
|
|
3131
3135
|
return {
|
|
3132
|
-
Arn:
|
|
3133
|
-
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3136
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
3137
|
+
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3138
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
|
|
3139
|
+
: undefined,
|
|
3140
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
3141
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
3142
|
+
IsOwned: smithy_client_1.expectBoolean(output.IsOwned),
|
|
3143
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
3144
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
3139
3145
|
};
|
|
3140
3146
|
};
|
|
3141
3147
|
const deserializeAws_restJson1MemberSummaryList = (output, context) => {
|
|
@@ -3150,35 +3156,37 @@ const deserializeAws_restJson1MemberSummaryList = (output, context) => {
|
|
|
3150
3156
|
};
|
|
3151
3157
|
const deserializeAws_restJson1Network = (output, context) => {
|
|
3152
3158
|
return {
|
|
3153
|
-
Arn:
|
|
3154
|
-
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3155
|
-
|
|
3156
|
-
|
|
3159
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
3160
|
+
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3161
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
|
|
3162
|
+
: undefined,
|
|
3163
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
3164
|
+
Framework: smithy_client_1.expectString(output.Framework),
|
|
3157
3165
|
FrameworkAttributes: output.FrameworkAttributes !== undefined && output.FrameworkAttributes !== null
|
|
3158
3166
|
? deserializeAws_restJson1NetworkFrameworkAttributes(output.FrameworkAttributes, context)
|
|
3159
3167
|
: undefined,
|
|
3160
|
-
FrameworkVersion:
|
|
3161
|
-
Id:
|
|
3162
|
-
Name:
|
|
3163
|
-
Status:
|
|
3168
|
+
FrameworkVersion: smithy_client_1.expectString(output.FrameworkVersion),
|
|
3169
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
3170
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
3171
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
3164
3172
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3165
3173
|
? deserializeAws_restJson1OutputTagMap(output.Tags, context)
|
|
3166
3174
|
: undefined,
|
|
3167
3175
|
VotingPolicy: output.VotingPolicy !== undefined && output.VotingPolicy !== null
|
|
3168
3176
|
? deserializeAws_restJson1VotingPolicy(output.VotingPolicy, context)
|
|
3169
3177
|
: undefined,
|
|
3170
|
-
VpcEndpointServiceName:
|
|
3178
|
+
VpcEndpointServiceName: smithy_client_1.expectString(output.VpcEndpointServiceName),
|
|
3171
3179
|
};
|
|
3172
3180
|
};
|
|
3173
3181
|
const deserializeAws_restJson1NetworkEthereumAttributes = (output, context) => {
|
|
3174
3182
|
return {
|
|
3175
|
-
ChainId:
|
|
3183
|
+
ChainId: smithy_client_1.expectString(output.ChainId),
|
|
3176
3184
|
};
|
|
3177
3185
|
};
|
|
3178
3186
|
const deserializeAws_restJson1NetworkFabricAttributes = (output, context) => {
|
|
3179
3187
|
return {
|
|
3180
|
-
Edition:
|
|
3181
|
-
OrderingServiceEndpoint:
|
|
3188
|
+
Edition: smithy_client_1.expectString(output.Edition),
|
|
3189
|
+
OrderingServiceEndpoint: smithy_client_1.expectString(output.OrderingServiceEndpoint),
|
|
3182
3190
|
};
|
|
3183
3191
|
};
|
|
3184
3192
|
const deserializeAws_restJson1NetworkFrameworkAttributes = (output, context) => {
|
|
@@ -3193,14 +3201,16 @@ const deserializeAws_restJson1NetworkFrameworkAttributes = (output, context) =>
|
|
|
3193
3201
|
};
|
|
3194
3202
|
const deserializeAws_restJson1NetworkSummary = (output, context) => {
|
|
3195
3203
|
return {
|
|
3196
|
-
Arn:
|
|
3197
|
-
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
3205
|
+
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3206
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
|
|
3207
|
+
: undefined,
|
|
3208
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
3209
|
+
Framework: smithy_client_1.expectString(output.Framework),
|
|
3210
|
+
FrameworkVersion: smithy_client_1.expectString(output.FrameworkVersion),
|
|
3211
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
3212
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
3213
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
3204
3214
|
};
|
|
3205
3215
|
};
|
|
3206
3216
|
const deserializeAws_restJson1NetworkSummaryList = (output, context) => {
|
|
@@ -3215,22 +3225,24 @@ const deserializeAws_restJson1NetworkSummaryList = (output, context) => {
|
|
|
3215
3225
|
};
|
|
3216
3226
|
const deserializeAws_restJson1Node = (output, context) => {
|
|
3217
3227
|
return {
|
|
3218
|
-
Arn:
|
|
3219
|
-
AvailabilityZone:
|
|
3220
|
-
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3228
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
3229
|
+
AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
|
|
3230
|
+
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3231
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
|
|
3232
|
+
: undefined,
|
|
3221
3233
|
FrameworkAttributes: output.FrameworkAttributes !== undefined && output.FrameworkAttributes !== null
|
|
3222
3234
|
? deserializeAws_restJson1NodeFrameworkAttributes(output.FrameworkAttributes, context)
|
|
3223
3235
|
: undefined,
|
|
3224
|
-
Id:
|
|
3225
|
-
InstanceType:
|
|
3226
|
-
KmsKeyArn:
|
|
3236
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
3237
|
+
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
3238
|
+
KmsKeyArn: smithy_client_1.expectString(output.KmsKeyArn),
|
|
3227
3239
|
LogPublishingConfiguration: output.LogPublishingConfiguration !== undefined && output.LogPublishingConfiguration !== null
|
|
3228
3240
|
? deserializeAws_restJson1NodeLogPublishingConfiguration(output.LogPublishingConfiguration, context)
|
|
3229
3241
|
: undefined,
|
|
3230
|
-
MemberId:
|
|
3231
|
-
NetworkId:
|
|
3232
|
-
StateDB:
|
|
3233
|
-
Status:
|
|
3242
|
+
MemberId: smithy_client_1.expectString(output.MemberId),
|
|
3243
|
+
NetworkId: smithy_client_1.expectString(output.NetworkId),
|
|
3244
|
+
StateDB: smithy_client_1.expectString(output.StateDB),
|
|
3245
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
3234
3246
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3235
3247
|
? deserializeAws_restJson1OutputTagMap(output.Tags, context)
|
|
3236
3248
|
: undefined,
|
|
@@ -3238,14 +3250,14 @@ const deserializeAws_restJson1Node = (output, context) => {
|
|
|
3238
3250
|
};
|
|
3239
3251
|
const deserializeAws_restJson1NodeEthereumAttributes = (output, context) => {
|
|
3240
3252
|
return {
|
|
3241
|
-
HttpEndpoint:
|
|
3242
|
-
WebSocketEndpoint:
|
|
3253
|
+
HttpEndpoint: smithy_client_1.expectString(output.HttpEndpoint),
|
|
3254
|
+
WebSocketEndpoint: smithy_client_1.expectString(output.WebSocketEndpoint),
|
|
3243
3255
|
};
|
|
3244
3256
|
};
|
|
3245
3257
|
const deserializeAws_restJson1NodeFabricAttributes = (output, context) => {
|
|
3246
3258
|
return {
|
|
3247
|
-
PeerEndpoint:
|
|
3248
|
-
PeerEventEndpoint:
|
|
3259
|
+
PeerEndpoint: smithy_client_1.expectString(output.PeerEndpoint),
|
|
3260
|
+
PeerEventEndpoint: smithy_client_1.expectString(output.PeerEventEndpoint),
|
|
3249
3261
|
};
|
|
3250
3262
|
};
|
|
3251
3263
|
const deserializeAws_restJson1NodeFabricLogPublishingConfiguration = (output, context) => {
|
|
@@ -3277,12 +3289,14 @@ const deserializeAws_restJson1NodeLogPublishingConfiguration = (output, context)
|
|
|
3277
3289
|
};
|
|
3278
3290
|
const deserializeAws_restJson1NodeSummary = (output, context) => {
|
|
3279
3291
|
return {
|
|
3280
|
-
Arn:
|
|
3281
|
-
AvailabilityZone:
|
|
3282
|
-
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3292
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
3293
|
+
AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
|
|
3294
|
+
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3295
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
|
|
3296
|
+
: undefined,
|
|
3297
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
3298
|
+
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
3299
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
3286
3300
|
};
|
|
3287
3301
|
};
|
|
3288
3302
|
const deserializeAws_restJson1NodeSummaryList = (output, context) => {
|
|
@@ -3302,7 +3316,7 @@ const deserializeAws_restJson1OutputTagMap = (output, context) => {
|
|
|
3302
3316
|
}
|
|
3303
3317
|
return {
|
|
3304
3318
|
...acc,
|
|
3305
|
-
[key]:
|
|
3319
|
+
[key]: smithy_client_1.expectString(value),
|
|
3306
3320
|
};
|
|
3307
3321
|
}, {});
|
|
3308
3322
|
};
|
|
@@ -3311,23 +3325,25 @@ const deserializeAws_restJson1Proposal = (output, context) => {
|
|
|
3311
3325
|
Actions: output.Actions !== undefined && output.Actions !== null
|
|
3312
3326
|
? deserializeAws_restJson1ProposalActions(output.Actions, context)
|
|
3313
3327
|
: undefined,
|
|
3314
|
-
Arn:
|
|
3315
|
-
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3316
|
-
|
|
3328
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
3329
|
+
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3330
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
|
|
3331
|
+
: undefined,
|
|
3332
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
3317
3333
|
ExpirationDate: output.ExpirationDate !== undefined && output.ExpirationDate !== null
|
|
3318
|
-
?
|
|
3334
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.ExpirationDate))
|
|
3319
3335
|
: undefined,
|
|
3320
|
-
NetworkId:
|
|
3321
|
-
NoVoteCount:
|
|
3322
|
-
OutstandingVoteCount:
|
|
3323
|
-
ProposalId:
|
|
3324
|
-
ProposedByMemberId:
|
|
3325
|
-
ProposedByMemberName:
|
|
3326
|
-
Status:
|
|
3336
|
+
NetworkId: smithy_client_1.expectString(output.NetworkId),
|
|
3337
|
+
NoVoteCount: smithy_client_1.expectInt32(output.NoVoteCount),
|
|
3338
|
+
OutstandingVoteCount: smithy_client_1.expectInt32(output.OutstandingVoteCount),
|
|
3339
|
+
ProposalId: smithy_client_1.expectString(output.ProposalId),
|
|
3340
|
+
ProposedByMemberId: smithy_client_1.expectString(output.ProposedByMemberId),
|
|
3341
|
+
ProposedByMemberName: smithy_client_1.expectString(output.ProposedByMemberName),
|
|
3342
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
3327
3343
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3328
3344
|
? deserializeAws_restJson1OutputTagMap(output.Tags, context)
|
|
3329
3345
|
: undefined,
|
|
3330
|
-
YesVoteCount:
|
|
3346
|
+
YesVoteCount: smithy_client_1.expectInt32(output.YesVoteCount),
|
|
3331
3347
|
};
|
|
3332
3348
|
};
|
|
3333
3349
|
const deserializeAws_restJson1ProposalActions = (output, context) => {
|
|
@@ -3342,16 +3358,18 @@ const deserializeAws_restJson1ProposalActions = (output, context) => {
|
|
|
3342
3358
|
};
|
|
3343
3359
|
const deserializeAws_restJson1ProposalSummary = (output, context) => {
|
|
3344
3360
|
return {
|
|
3345
|
-
Arn:
|
|
3346
|
-
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3347
|
-
|
|
3361
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
3362
|
+
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3363
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CreationDate))
|
|
3364
|
+
: undefined,
|
|
3365
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
3348
3366
|
ExpirationDate: output.ExpirationDate !== undefined && output.ExpirationDate !== null
|
|
3349
|
-
?
|
|
3367
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.ExpirationDate))
|
|
3350
3368
|
: undefined,
|
|
3351
|
-
ProposalId:
|
|
3352
|
-
ProposedByMemberId:
|
|
3353
|
-
ProposedByMemberName:
|
|
3354
|
-
Status:
|
|
3369
|
+
ProposalId: smithy_client_1.expectString(output.ProposalId),
|
|
3370
|
+
ProposedByMemberId: smithy_client_1.expectString(output.ProposedByMemberId),
|
|
3371
|
+
ProposedByMemberName: smithy_client_1.expectString(output.ProposedByMemberName),
|
|
3372
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
3355
3373
|
};
|
|
3356
3374
|
};
|
|
3357
3375
|
const deserializeAws_restJson1ProposalSummaryList = (output, context) => {
|
|
@@ -3376,7 +3394,7 @@ const deserializeAws_restJson1ProposalVoteList = (output, context) => {
|
|
|
3376
3394
|
};
|
|
3377
3395
|
const deserializeAws_restJson1RemoveAction = (output, context) => {
|
|
3378
3396
|
return {
|
|
3379
|
-
MemberId:
|
|
3397
|
+
MemberId: smithy_client_1.expectString(output.MemberId),
|
|
3380
3398
|
};
|
|
3381
3399
|
};
|
|
3382
3400
|
const deserializeAws_restJson1RemoveActionList = (output, context) => {
|
|
@@ -3391,9 +3409,9 @@ const deserializeAws_restJson1RemoveActionList = (output, context) => {
|
|
|
3391
3409
|
};
|
|
3392
3410
|
const deserializeAws_restJson1VoteSummary = (output, context) => {
|
|
3393
3411
|
return {
|
|
3394
|
-
MemberId:
|
|
3395
|
-
MemberName:
|
|
3396
|
-
Vote:
|
|
3412
|
+
MemberId: smithy_client_1.expectString(output.MemberId),
|
|
3413
|
+
MemberName: smithy_client_1.expectString(output.MemberName),
|
|
3414
|
+
Vote: smithy_client_1.expectString(output.Vote),
|
|
3397
3415
|
};
|
|
3398
3416
|
};
|
|
3399
3417
|
const deserializeAws_restJson1VotingPolicy = (output, context) => {
|