@aws-sdk/client-tnb 3.306.0 → 3.310.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/dist-cjs/commands/CancelSolNetworkOperationCommand.js +2 -2
- package/dist-cjs/commands/CreateSolFunctionPackageCommand.js +2 -2
- package/dist-cjs/commands/CreateSolNetworkInstanceCommand.js +2 -2
- package/dist-cjs/commands/CreateSolNetworkPackageCommand.js +2 -2
- package/dist-cjs/commands/DeleteSolFunctionPackageCommand.js +2 -2
- package/dist-cjs/commands/DeleteSolNetworkInstanceCommand.js +2 -2
- package/dist-cjs/commands/DeleteSolNetworkPackageCommand.js +2 -2
- package/dist-cjs/commands/GetSolFunctionInstanceCommand.js +2 -2
- package/dist-cjs/commands/GetSolFunctionPackageCommand.js +2 -2
- package/dist-cjs/commands/GetSolFunctionPackageContentCommand.js +2 -2
- package/dist-cjs/commands/GetSolFunctionPackageDescriptorCommand.js +2 -2
- package/dist-cjs/commands/GetSolNetworkInstanceCommand.js +2 -2
- package/dist-cjs/commands/GetSolNetworkOperationCommand.js +2 -2
- package/dist-cjs/commands/GetSolNetworkPackageCommand.js +2 -2
- package/dist-cjs/commands/GetSolNetworkPackageContentCommand.js +2 -2
- package/dist-cjs/commands/GetSolNetworkPackageDescriptorCommand.js +2 -2
- package/dist-cjs/commands/InstantiateSolNetworkInstanceCommand.js +2 -2
- package/dist-cjs/commands/ListSolFunctionInstancesCommand.js +2 -2
- package/dist-cjs/commands/ListSolFunctionPackagesCommand.js +2 -2
- package/dist-cjs/commands/ListSolNetworkInstancesCommand.js +2 -2
- package/dist-cjs/commands/ListSolNetworkOperationsCommand.js +2 -2
- package/dist-cjs/commands/ListSolNetworkPackagesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/PutSolFunctionPackageContentCommand.js +2 -2
- package/dist-cjs/commands/PutSolNetworkPackageContentCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/TerminateSolNetworkInstanceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateSolFunctionPackageCommand.js +2 -2
- package/dist-cjs/commands/UpdateSolNetworkInstanceCommand.js +2 -2
- package/dist-cjs/commands/UpdateSolNetworkPackageCommand.js +2 -2
- package/dist-cjs/commands/ValidateSolFunctionPackageContentCommand.js +2 -2
- package/dist-cjs/commands/ValidateSolNetworkPackageContentCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +485 -499
- package/dist-es/commands/CancelSolNetworkOperationCommand.js +3 -3
- package/dist-es/commands/CreateSolFunctionPackageCommand.js +3 -3
- package/dist-es/commands/CreateSolNetworkInstanceCommand.js +3 -3
- package/dist-es/commands/CreateSolNetworkPackageCommand.js +3 -3
- package/dist-es/commands/DeleteSolFunctionPackageCommand.js +3 -3
- package/dist-es/commands/DeleteSolNetworkInstanceCommand.js +3 -3
- package/dist-es/commands/DeleteSolNetworkPackageCommand.js +3 -3
- package/dist-es/commands/GetSolFunctionInstanceCommand.js +3 -3
- package/dist-es/commands/GetSolFunctionPackageCommand.js +3 -3
- package/dist-es/commands/GetSolFunctionPackageContentCommand.js +3 -3
- package/dist-es/commands/GetSolFunctionPackageDescriptorCommand.js +3 -3
- package/dist-es/commands/GetSolNetworkInstanceCommand.js +3 -3
- package/dist-es/commands/GetSolNetworkOperationCommand.js +3 -3
- package/dist-es/commands/GetSolNetworkPackageCommand.js +3 -3
- package/dist-es/commands/GetSolNetworkPackageContentCommand.js +3 -3
- package/dist-es/commands/GetSolNetworkPackageDescriptorCommand.js +3 -3
- package/dist-es/commands/InstantiateSolNetworkInstanceCommand.js +3 -3
- package/dist-es/commands/ListSolFunctionInstancesCommand.js +3 -3
- package/dist-es/commands/ListSolFunctionPackagesCommand.js +3 -3
- package/dist-es/commands/ListSolNetworkInstancesCommand.js +3 -3
- package/dist-es/commands/ListSolNetworkOperationsCommand.js +3 -3
- package/dist-es/commands/ListSolNetworkPackagesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/PutSolFunctionPackageContentCommand.js +3 -3
- package/dist-es/commands/PutSolNetworkPackageContentCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/TerminateSolNetworkInstanceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateSolFunctionPackageCommand.js +3 -3
- package/dist-es/commands/UpdateSolNetworkInstanceCommand.js +3 -3
- package/dist-es/commands/UpdateSolNetworkPackageCommand.js +3 -3
- package/dist-es/commands/ValidateSolFunctionPackageContentCommand.js +3 -3
- package/dist-es/commands/ValidateSolNetworkPackageContentCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +417 -431
- package/dist-types/protocols/Aws_restJson1.d.ts +264 -66
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +66 -66
- package/package.json +35 -35
|
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
4
4
|
import { TnbServiceException as __BaseException } from "../models/TnbServiceException";
|
|
5
|
-
export const
|
|
5
|
+
export const se_CancelSolNetworkOperationCommand = async (input, context) => {
|
|
6
6
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
7
7
|
const headers = {};
|
|
8
8
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -19,7 +19,7 @@ export const serializeAws_restJson1CancelSolNetworkOperationCommand = async (inp
|
|
|
19
19
|
body,
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
|
-
export const
|
|
22
|
+
export const se_CreateSolFunctionPackageCommand = async (input, context) => {
|
|
23
23
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/json",
|
|
@@ -27,7 +27,7 @@ export const serializeAws_restJson1CreateSolFunctionPackageCommand = async (inpu
|
|
|
27
27
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/vnfpkgm/v1/vnf_packages";
|
|
28
28
|
let body;
|
|
29
29
|
body = JSON.stringify({
|
|
30
|
-
...(input.tags != null && { tags:
|
|
30
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
31
31
|
});
|
|
32
32
|
return new __HttpRequest({
|
|
33
33
|
protocol,
|
|
@@ -39,7 +39,7 @@ export const serializeAws_restJson1CreateSolFunctionPackageCommand = async (inpu
|
|
|
39
39
|
body,
|
|
40
40
|
});
|
|
41
41
|
};
|
|
42
|
-
export const
|
|
42
|
+
export const se_CreateSolNetworkInstanceCommand = async (input, context) => {
|
|
43
43
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
44
44
|
const headers = {
|
|
45
45
|
"content-type": "application/json",
|
|
@@ -50,7 +50,7 @@ export const serializeAws_restJson1CreateSolNetworkInstanceCommand = async (inpu
|
|
|
50
50
|
...(input.nsDescription != null && { nsDescription: input.nsDescription }),
|
|
51
51
|
...(input.nsName != null && { nsName: input.nsName }),
|
|
52
52
|
...(input.nsdInfoId != null && { nsdInfoId: input.nsdInfoId }),
|
|
53
|
-
...(input.tags != null && { tags:
|
|
53
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
54
54
|
});
|
|
55
55
|
return new __HttpRequest({
|
|
56
56
|
protocol,
|
|
@@ -62,7 +62,7 @@ export const serializeAws_restJson1CreateSolNetworkInstanceCommand = async (inpu
|
|
|
62
62
|
body,
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
|
-
export const
|
|
65
|
+
export const se_CreateSolNetworkPackageCommand = async (input, context) => {
|
|
66
66
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
67
67
|
const headers = {
|
|
68
68
|
"content-type": "application/json",
|
|
@@ -70,7 +70,7 @@ export const serializeAws_restJson1CreateSolNetworkPackageCommand = async (input
|
|
|
70
70
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nsd/v1/ns_descriptors";
|
|
71
71
|
let body;
|
|
72
72
|
body = JSON.stringify({
|
|
73
|
-
...(input.tags != null && { tags:
|
|
73
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
74
74
|
});
|
|
75
75
|
return new __HttpRequest({
|
|
76
76
|
protocol,
|
|
@@ -82,7 +82,7 @@ export const serializeAws_restJson1CreateSolNetworkPackageCommand = async (input
|
|
|
82
82
|
body,
|
|
83
83
|
});
|
|
84
84
|
};
|
|
85
|
-
export const
|
|
85
|
+
export const se_DeleteSolFunctionPackageCommand = async (input, context) => {
|
|
86
86
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
87
87
|
const headers = {};
|
|
88
88
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}";
|
|
@@ -98,7 +98,7 @@ export const serializeAws_restJson1DeleteSolFunctionPackageCommand = async (inpu
|
|
|
98
98
|
body,
|
|
99
99
|
});
|
|
100
100
|
};
|
|
101
|
-
export const
|
|
101
|
+
export const se_DeleteSolNetworkInstanceCommand = async (input, context) => {
|
|
102
102
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
103
103
|
const headers = {};
|
|
104
104
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nslcm/v1/ns_instances/{nsInstanceId}";
|
|
@@ -114,7 +114,7 @@ export const serializeAws_restJson1DeleteSolNetworkInstanceCommand = async (inpu
|
|
|
114
114
|
body,
|
|
115
115
|
});
|
|
116
116
|
};
|
|
117
|
-
export const
|
|
117
|
+
export const se_DeleteSolNetworkPackageCommand = async (input, context) => {
|
|
118
118
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
119
119
|
const headers = {};
|
|
120
120
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nsd/v1/ns_descriptors/{nsdInfoId}";
|
|
@@ -130,7 +130,7 @@ export const serializeAws_restJson1DeleteSolNetworkPackageCommand = async (input
|
|
|
130
130
|
body,
|
|
131
131
|
});
|
|
132
132
|
};
|
|
133
|
-
export const
|
|
133
|
+
export const se_GetSolFunctionInstanceCommand = async (input, context) => {
|
|
134
134
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
135
135
|
const headers = {};
|
|
136
136
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -147,7 +147,7 @@ export const serializeAws_restJson1GetSolFunctionInstanceCommand = async (input,
|
|
|
147
147
|
body,
|
|
148
148
|
});
|
|
149
149
|
};
|
|
150
|
-
export const
|
|
150
|
+
export const se_GetSolFunctionPackageCommand = async (input, context) => {
|
|
151
151
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
152
152
|
const headers = {};
|
|
153
153
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}";
|
|
@@ -163,7 +163,7 @@ export const serializeAws_restJson1GetSolFunctionPackageCommand = async (input,
|
|
|
163
163
|
body,
|
|
164
164
|
});
|
|
165
165
|
};
|
|
166
|
-
export const
|
|
166
|
+
export const se_GetSolFunctionPackageContentCommand = async (input, context) => {
|
|
167
167
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
168
168
|
const headers = map({}, isSerializableHeaderValue, {
|
|
169
169
|
accept: input.accept,
|
|
@@ -182,7 +182,7 @@ export const serializeAws_restJson1GetSolFunctionPackageContentCommand = async (
|
|
|
182
182
|
body,
|
|
183
183
|
});
|
|
184
184
|
};
|
|
185
|
-
export const
|
|
185
|
+
export const se_GetSolFunctionPackageDescriptorCommand = async (input, context) => {
|
|
186
186
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
187
187
|
const headers = map({}, isSerializableHeaderValue, {
|
|
188
188
|
accept: input.accept,
|
|
@@ -201,7 +201,7 @@ export const serializeAws_restJson1GetSolFunctionPackageDescriptorCommand = asyn
|
|
|
201
201
|
body,
|
|
202
202
|
});
|
|
203
203
|
};
|
|
204
|
-
export const
|
|
204
|
+
export const se_GetSolNetworkInstanceCommand = async (input, context) => {
|
|
205
205
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
206
206
|
const headers = {};
|
|
207
207
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nslcm/v1/ns_instances/{nsInstanceId}";
|
|
@@ -217,7 +217,7 @@ export const serializeAws_restJson1GetSolNetworkInstanceCommand = async (input,
|
|
|
217
217
|
body,
|
|
218
218
|
});
|
|
219
219
|
};
|
|
220
|
-
export const
|
|
220
|
+
export const se_GetSolNetworkOperationCommand = async (input, context) => {
|
|
221
221
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
222
222
|
const headers = {};
|
|
223
223
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -234,7 +234,7 @@ export const serializeAws_restJson1GetSolNetworkOperationCommand = async (input,
|
|
|
234
234
|
body,
|
|
235
235
|
});
|
|
236
236
|
};
|
|
237
|
-
export const
|
|
237
|
+
export const se_GetSolNetworkPackageCommand = async (input, context) => {
|
|
238
238
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
239
239
|
const headers = {};
|
|
240
240
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nsd/v1/ns_descriptors/{nsdInfoId}";
|
|
@@ -250,7 +250,7 @@ export const serializeAws_restJson1GetSolNetworkPackageCommand = async (input, c
|
|
|
250
250
|
body,
|
|
251
251
|
});
|
|
252
252
|
};
|
|
253
|
-
export const
|
|
253
|
+
export const se_GetSolNetworkPackageContentCommand = async (input, context) => {
|
|
254
254
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
255
255
|
const headers = map({}, isSerializableHeaderValue, {
|
|
256
256
|
accept: input.accept,
|
|
@@ -269,7 +269,7 @@ export const serializeAws_restJson1GetSolNetworkPackageContentCommand = async (i
|
|
|
269
269
|
body,
|
|
270
270
|
});
|
|
271
271
|
};
|
|
272
|
-
export const
|
|
272
|
+
export const se_GetSolNetworkPackageDescriptorCommand = async (input, context) => {
|
|
273
273
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
274
274
|
const headers = {};
|
|
275
275
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -286,7 +286,7 @@ export const serializeAws_restJson1GetSolNetworkPackageDescriptorCommand = async
|
|
|
286
286
|
body,
|
|
287
287
|
});
|
|
288
288
|
};
|
|
289
|
-
export const
|
|
289
|
+
export const se_InstantiateSolNetworkInstanceCommand = async (input, context) => {
|
|
290
290
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
291
291
|
const headers = {
|
|
292
292
|
"content-type": "application/json",
|
|
@@ -300,9 +300,9 @@ export const serializeAws_restJson1InstantiateSolNetworkInstanceCommand = async
|
|
|
300
300
|
let body;
|
|
301
301
|
body = JSON.stringify({
|
|
302
302
|
...(input.additionalParamsForNs != null && {
|
|
303
|
-
additionalParamsForNs:
|
|
303
|
+
additionalParamsForNs: se_Document(input.additionalParamsForNs, context),
|
|
304
304
|
}),
|
|
305
|
-
...(input.tags != null && { tags:
|
|
305
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
306
306
|
});
|
|
307
307
|
return new __HttpRequest({
|
|
308
308
|
protocol,
|
|
@@ -315,7 +315,7 @@ export const serializeAws_restJson1InstantiateSolNetworkInstanceCommand = async
|
|
|
315
315
|
body,
|
|
316
316
|
});
|
|
317
317
|
};
|
|
318
|
-
export const
|
|
318
|
+
export const se_ListSolFunctionInstancesCommand = async (input, context) => {
|
|
319
319
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
320
320
|
const headers = {};
|
|
321
321
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/vnflcm/v1/vnf_instances";
|
|
@@ -335,7 +335,7 @@ export const serializeAws_restJson1ListSolFunctionInstancesCommand = async (inpu
|
|
|
335
335
|
body,
|
|
336
336
|
});
|
|
337
337
|
};
|
|
338
|
-
export const
|
|
338
|
+
export const se_ListSolFunctionPackagesCommand = async (input, context) => {
|
|
339
339
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
340
340
|
const headers = {};
|
|
341
341
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/vnfpkgm/v1/vnf_packages";
|
|
@@ -355,7 +355,7 @@ export const serializeAws_restJson1ListSolFunctionPackagesCommand = async (input
|
|
|
355
355
|
body,
|
|
356
356
|
});
|
|
357
357
|
};
|
|
358
|
-
export const
|
|
358
|
+
export const se_ListSolNetworkInstancesCommand = async (input, context) => {
|
|
359
359
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
360
360
|
const headers = {};
|
|
361
361
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nslcm/v1/ns_instances";
|
|
@@ -375,7 +375,7 @@ export const serializeAws_restJson1ListSolNetworkInstancesCommand = async (input
|
|
|
375
375
|
body,
|
|
376
376
|
});
|
|
377
377
|
};
|
|
378
|
-
export const
|
|
378
|
+
export const se_ListSolNetworkOperationsCommand = async (input, context) => {
|
|
379
379
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
380
380
|
const headers = {};
|
|
381
381
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nslcm/v1/ns_lcm_op_occs";
|
|
@@ -395,7 +395,7 @@ export const serializeAws_restJson1ListSolNetworkOperationsCommand = async (inpu
|
|
|
395
395
|
body,
|
|
396
396
|
});
|
|
397
397
|
};
|
|
398
|
-
export const
|
|
398
|
+
export const se_ListSolNetworkPackagesCommand = async (input, context) => {
|
|
399
399
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
400
400
|
const headers = {};
|
|
401
401
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nsd/v1/ns_descriptors";
|
|
@@ -415,7 +415,7 @@ export const serializeAws_restJson1ListSolNetworkPackagesCommand = async (input,
|
|
|
415
415
|
body,
|
|
416
416
|
});
|
|
417
417
|
};
|
|
418
|
-
export const
|
|
418
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
419
419
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
420
420
|
const headers = {};
|
|
421
421
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -431,7 +431,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
431
431
|
body,
|
|
432
432
|
});
|
|
433
433
|
};
|
|
434
|
-
export const
|
|
434
|
+
export const se_PutSolFunctionPackageContentCommand = async (input, context) => {
|
|
435
435
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
436
436
|
const headers = map({}, isSerializableHeaderValue, {
|
|
437
437
|
"content-type": input.contentType || "application/octet-stream",
|
|
@@ -453,7 +453,7 @@ export const serializeAws_restJson1PutSolFunctionPackageContentCommand = async (
|
|
|
453
453
|
body,
|
|
454
454
|
});
|
|
455
455
|
};
|
|
456
|
-
export const
|
|
456
|
+
export const se_PutSolNetworkPackageContentCommand = async (input, context) => {
|
|
457
457
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
458
458
|
const headers = map({}, isSerializableHeaderValue, {
|
|
459
459
|
"content-type": input.contentType || "application/octet-stream",
|
|
@@ -475,7 +475,7 @@ export const serializeAws_restJson1PutSolNetworkPackageContentCommand = async (i
|
|
|
475
475
|
body,
|
|
476
476
|
});
|
|
477
477
|
};
|
|
478
|
-
export const
|
|
478
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
479
479
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
480
480
|
const headers = {
|
|
481
481
|
"content-type": "application/json",
|
|
@@ -484,7 +484,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
484
484
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
485
485
|
let body;
|
|
486
486
|
body = JSON.stringify({
|
|
487
|
-
...(input.tags != null && { tags:
|
|
487
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
488
488
|
});
|
|
489
489
|
return new __HttpRequest({
|
|
490
490
|
protocol,
|
|
@@ -496,7 +496,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
496
496
|
body,
|
|
497
497
|
});
|
|
498
498
|
};
|
|
499
|
-
export const
|
|
499
|
+
export const se_TerminateSolNetworkInstanceCommand = async (input, context) => {
|
|
500
500
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
501
501
|
const headers = {
|
|
502
502
|
"content-type": "application/json",
|
|
@@ -506,7 +506,7 @@ export const serializeAws_restJson1TerminateSolNetworkInstanceCommand = async (i
|
|
|
506
506
|
resolvedPath = __resolvedPath(resolvedPath, input, "nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
507
507
|
let body;
|
|
508
508
|
body = JSON.stringify({
|
|
509
|
-
...(input.tags != null && { tags:
|
|
509
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
510
510
|
});
|
|
511
511
|
return new __HttpRequest({
|
|
512
512
|
protocol,
|
|
@@ -518,7 +518,7 @@ export const serializeAws_restJson1TerminateSolNetworkInstanceCommand = async (i
|
|
|
518
518
|
body,
|
|
519
519
|
});
|
|
520
520
|
};
|
|
521
|
-
export const
|
|
521
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
522
522
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
523
523
|
const headers = {};
|
|
524
524
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -541,7 +541,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
541
541
|
body,
|
|
542
542
|
});
|
|
543
543
|
};
|
|
544
|
-
export const
|
|
544
|
+
export const se_UpdateSolFunctionPackageCommand = async (input, context) => {
|
|
545
545
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
546
546
|
const headers = {
|
|
547
547
|
"content-type": "application/json",
|
|
@@ -562,7 +562,7 @@ export const serializeAws_restJson1UpdateSolFunctionPackageCommand = async (inpu
|
|
|
562
562
|
body,
|
|
563
563
|
});
|
|
564
564
|
};
|
|
565
|
-
export const
|
|
565
|
+
export const se_UpdateSolNetworkInstanceCommand = async (input, context) => {
|
|
566
566
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
567
567
|
const headers = {
|
|
568
568
|
"content-type": "application/json",
|
|
@@ -573,9 +573,9 @@ export const serializeAws_restJson1UpdateSolNetworkInstanceCommand = async (inpu
|
|
|
573
573
|
let body;
|
|
574
574
|
body = JSON.stringify({
|
|
575
575
|
...(input.modifyVnfInfoData != null && {
|
|
576
|
-
modifyVnfInfoData:
|
|
576
|
+
modifyVnfInfoData: se_UpdateSolNetworkModify(input.modifyVnfInfoData, context),
|
|
577
577
|
}),
|
|
578
|
-
...(input.tags != null && { tags:
|
|
578
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
579
579
|
...(input.updateType != null && { updateType: input.updateType }),
|
|
580
580
|
});
|
|
581
581
|
return new __HttpRequest({
|
|
@@ -588,7 +588,7 @@ export const serializeAws_restJson1UpdateSolNetworkInstanceCommand = async (inpu
|
|
|
588
588
|
body,
|
|
589
589
|
});
|
|
590
590
|
};
|
|
591
|
-
export const
|
|
591
|
+
export const se_UpdateSolNetworkPackageCommand = async (input, context) => {
|
|
592
592
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
593
593
|
const headers = {
|
|
594
594
|
"content-type": "application/json",
|
|
@@ -609,7 +609,7 @@ export const serializeAws_restJson1UpdateSolNetworkPackageCommand = async (input
|
|
|
609
609
|
body,
|
|
610
610
|
});
|
|
611
611
|
};
|
|
612
|
-
export const
|
|
612
|
+
export const se_ValidateSolFunctionPackageContentCommand = async (input, context) => {
|
|
613
613
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
614
614
|
const headers = map({}, isSerializableHeaderValue, {
|
|
615
615
|
"content-type": input.contentType || "application/octet-stream",
|
|
@@ -631,7 +631,7 @@ export const serializeAws_restJson1ValidateSolFunctionPackageContentCommand = as
|
|
|
631
631
|
body,
|
|
632
632
|
});
|
|
633
633
|
};
|
|
634
|
-
export const
|
|
634
|
+
export const se_ValidateSolNetworkPackageContentCommand = async (input, context) => {
|
|
635
635
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
636
636
|
const headers = map({}, isSerializableHeaderValue, {
|
|
637
637
|
"content-type": input.contentType || "application/octet-stream",
|
|
@@ -653,9 +653,9 @@ export const serializeAws_restJson1ValidateSolNetworkPackageContentCommand = asy
|
|
|
653
653
|
body,
|
|
654
654
|
});
|
|
655
655
|
};
|
|
656
|
-
export const
|
|
656
|
+
export const de_CancelSolNetworkOperationCommand = async (output, context) => {
|
|
657
657
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
658
|
-
return
|
|
658
|
+
return de_CancelSolNetworkOperationCommandError(output, context);
|
|
659
659
|
}
|
|
660
660
|
const contents = map({
|
|
661
661
|
$metadata: deserializeMetadata(output),
|
|
@@ -663,7 +663,7 @@ export const deserializeAws_restJson1CancelSolNetworkOperationCommand = async (o
|
|
|
663
663
|
await collectBody(output.body, context);
|
|
664
664
|
return contents;
|
|
665
665
|
};
|
|
666
|
-
const
|
|
666
|
+
const de_CancelSolNetworkOperationCommandError = async (output, context) => {
|
|
667
667
|
const parsedOutput = {
|
|
668
668
|
...output,
|
|
669
669
|
body: await parseErrorBody(output.body, context),
|
|
@@ -672,19 +672,19 @@ const deserializeAws_restJson1CancelSolNetworkOperationCommandError = async (out
|
|
|
672
672
|
switch (errorCode) {
|
|
673
673
|
case "AccessDeniedException":
|
|
674
674
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
675
|
-
throw await
|
|
675
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
676
676
|
case "InternalServerException":
|
|
677
677
|
case "com.amazonaws.tnb#InternalServerException":
|
|
678
|
-
throw await
|
|
678
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
679
679
|
case "ResourceNotFoundException":
|
|
680
680
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
681
|
-
throw await
|
|
681
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
682
682
|
case "ThrottlingException":
|
|
683
683
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
684
|
-
throw await
|
|
684
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
685
685
|
case "ValidationException":
|
|
686
686
|
case "com.amazonaws.tnb#ValidationException":
|
|
687
|
-
throw await
|
|
687
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
688
688
|
default:
|
|
689
689
|
const parsedBody = parsedOutput.body;
|
|
690
690
|
throwDefaultError({
|
|
@@ -695,9 +695,9 @@ const deserializeAws_restJson1CancelSolNetworkOperationCommandError = async (out
|
|
|
695
695
|
});
|
|
696
696
|
}
|
|
697
697
|
};
|
|
698
|
-
export const
|
|
698
|
+
export const de_CreateSolFunctionPackageCommand = async (output, context) => {
|
|
699
699
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
700
|
-
return
|
|
700
|
+
return de_CreateSolFunctionPackageCommandError(output, context);
|
|
701
701
|
}
|
|
702
702
|
const contents = map({
|
|
703
703
|
$metadata: deserializeMetadata(output),
|
|
@@ -716,14 +716,14 @@ export const deserializeAws_restJson1CreateSolFunctionPackageCommand = async (ou
|
|
|
716
716
|
contents.operationalState = __expectString(data.operationalState);
|
|
717
717
|
}
|
|
718
718
|
if (data.tags != null) {
|
|
719
|
-
contents.tags =
|
|
719
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
720
720
|
}
|
|
721
721
|
if (data.usageState != null) {
|
|
722
722
|
contents.usageState = __expectString(data.usageState);
|
|
723
723
|
}
|
|
724
724
|
return contents;
|
|
725
725
|
};
|
|
726
|
-
const
|
|
726
|
+
const de_CreateSolFunctionPackageCommandError = async (output, context) => {
|
|
727
727
|
const parsedOutput = {
|
|
728
728
|
...output,
|
|
729
729
|
body: await parseErrorBody(output.body, context),
|
|
@@ -732,19 +732,19 @@ const deserializeAws_restJson1CreateSolFunctionPackageCommandError = async (outp
|
|
|
732
732
|
switch (errorCode) {
|
|
733
733
|
case "AccessDeniedException":
|
|
734
734
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
735
|
-
throw await
|
|
735
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
736
736
|
case "InternalServerException":
|
|
737
737
|
case "com.amazonaws.tnb#InternalServerException":
|
|
738
|
-
throw await
|
|
738
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
739
739
|
case "ServiceQuotaExceededException":
|
|
740
740
|
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
741
|
-
throw await
|
|
741
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
742
742
|
case "ThrottlingException":
|
|
743
743
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
744
|
-
throw await
|
|
744
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
745
745
|
case "ValidationException":
|
|
746
746
|
case "com.amazonaws.tnb#ValidationException":
|
|
747
|
-
throw await
|
|
747
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
748
748
|
default:
|
|
749
749
|
const parsedBody = parsedOutput.body;
|
|
750
750
|
throwDefaultError({
|
|
@@ -755,9 +755,9 @@ const deserializeAws_restJson1CreateSolFunctionPackageCommandError = async (outp
|
|
|
755
755
|
});
|
|
756
756
|
}
|
|
757
757
|
};
|
|
758
|
-
export const
|
|
758
|
+
export const de_CreateSolNetworkInstanceCommand = async (output, context) => {
|
|
759
759
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
760
|
-
return
|
|
760
|
+
return de_CreateSolNetworkInstanceCommandError(output, context);
|
|
761
761
|
}
|
|
762
762
|
const contents = map({
|
|
763
763
|
$metadata: deserializeMetadata(output),
|
|
@@ -776,11 +776,11 @@ export const deserializeAws_restJson1CreateSolNetworkInstanceCommand = async (ou
|
|
|
776
776
|
contents.nsdInfoId = __expectString(data.nsdInfoId);
|
|
777
777
|
}
|
|
778
778
|
if (data.tags != null) {
|
|
779
|
-
contents.tags =
|
|
779
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
780
780
|
}
|
|
781
781
|
return contents;
|
|
782
782
|
};
|
|
783
|
-
const
|
|
783
|
+
const de_CreateSolNetworkInstanceCommandError = async (output, context) => {
|
|
784
784
|
const parsedOutput = {
|
|
785
785
|
...output,
|
|
786
786
|
body: await parseErrorBody(output.body, context),
|
|
@@ -789,22 +789,22 @@ const deserializeAws_restJson1CreateSolNetworkInstanceCommandError = async (outp
|
|
|
789
789
|
switch (errorCode) {
|
|
790
790
|
case "AccessDeniedException":
|
|
791
791
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
792
|
-
throw await
|
|
792
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
793
793
|
case "InternalServerException":
|
|
794
794
|
case "com.amazonaws.tnb#InternalServerException":
|
|
795
|
-
throw await
|
|
795
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
796
796
|
case "ResourceNotFoundException":
|
|
797
797
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
798
|
-
throw await
|
|
798
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
799
799
|
case "ServiceQuotaExceededException":
|
|
800
800
|
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
801
|
-
throw await
|
|
801
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
802
802
|
case "ThrottlingException":
|
|
803
803
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
804
|
-
throw await
|
|
804
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
805
805
|
case "ValidationException":
|
|
806
806
|
case "com.amazonaws.tnb#ValidationException":
|
|
807
|
-
throw await
|
|
807
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
808
808
|
default:
|
|
809
809
|
const parsedBody = parsedOutput.body;
|
|
810
810
|
throwDefaultError({
|
|
@@ -815,9 +815,9 @@ const deserializeAws_restJson1CreateSolNetworkInstanceCommandError = async (outp
|
|
|
815
815
|
});
|
|
816
816
|
}
|
|
817
817
|
};
|
|
818
|
-
export const
|
|
818
|
+
export const de_CreateSolNetworkPackageCommand = async (output, context) => {
|
|
819
819
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
820
|
-
return
|
|
820
|
+
return de_CreateSolNetworkPackageCommandError(output, context);
|
|
821
821
|
}
|
|
822
822
|
const contents = map({
|
|
823
823
|
$metadata: deserializeMetadata(output),
|
|
@@ -839,11 +839,11 @@ export const deserializeAws_restJson1CreateSolNetworkPackageCommand = async (out
|
|
|
839
839
|
contents.nsdUsageState = __expectString(data.nsdUsageState);
|
|
840
840
|
}
|
|
841
841
|
if (data.tags != null) {
|
|
842
|
-
contents.tags =
|
|
842
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
843
843
|
}
|
|
844
844
|
return contents;
|
|
845
845
|
};
|
|
846
|
-
const
|
|
846
|
+
const de_CreateSolNetworkPackageCommandError = async (output, context) => {
|
|
847
847
|
const parsedOutput = {
|
|
848
848
|
...output,
|
|
849
849
|
body: await parseErrorBody(output.body, context),
|
|
@@ -852,19 +852,19 @@ const deserializeAws_restJson1CreateSolNetworkPackageCommandError = async (outpu
|
|
|
852
852
|
switch (errorCode) {
|
|
853
853
|
case "AccessDeniedException":
|
|
854
854
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
855
|
-
throw await
|
|
855
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
856
856
|
case "InternalServerException":
|
|
857
857
|
case "com.amazonaws.tnb#InternalServerException":
|
|
858
|
-
throw await
|
|
858
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
859
859
|
case "ServiceQuotaExceededException":
|
|
860
860
|
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
861
|
-
throw await
|
|
861
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
862
862
|
case "ThrottlingException":
|
|
863
863
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
864
|
-
throw await
|
|
864
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
865
865
|
case "ValidationException":
|
|
866
866
|
case "com.amazonaws.tnb#ValidationException":
|
|
867
|
-
throw await
|
|
867
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
868
868
|
default:
|
|
869
869
|
const parsedBody = parsedOutput.body;
|
|
870
870
|
throwDefaultError({
|
|
@@ -875,9 +875,9 @@ const deserializeAws_restJson1CreateSolNetworkPackageCommandError = async (outpu
|
|
|
875
875
|
});
|
|
876
876
|
}
|
|
877
877
|
};
|
|
878
|
-
export const
|
|
878
|
+
export const de_DeleteSolFunctionPackageCommand = async (output, context) => {
|
|
879
879
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
880
|
-
return
|
|
880
|
+
return de_DeleteSolFunctionPackageCommandError(output, context);
|
|
881
881
|
}
|
|
882
882
|
const contents = map({
|
|
883
883
|
$metadata: deserializeMetadata(output),
|
|
@@ -885,7 +885,7 @@ export const deserializeAws_restJson1DeleteSolFunctionPackageCommand = async (ou
|
|
|
885
885
|
await collectBody(output.body, context);
|
|
886
886
|
return contents;
|
|
887
887
|
};
|
|
888
|
-
const
|
|
888
|
+
const de_DeleteSolFunctionPackageCommandError = async (output, context) => {
|
|
889
889
|
const parsedOutput = {
|
|
890
890
|
...output,
|
|
891
891
|
body: await parseErrorBody(output.body, context),
|
|
@@ -894,19 +894,19 @@ const deserializeAws_restJson1DeleteSolFunctionPackageCommandError = async (outp
|
|
|
894
894
|
switch (errorCode) {
|
|
895
895
|
case "AccessDeniedException":
|
|
896
896
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
897
|
-
throw await
|
|
897
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
898
898
|
case "InternalServerException":
|
|
899
899
|
case "com.amazonaws.tnb#InternalServerException":
|
|
900
|
-
throw await
|
|
900
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
901
901
|
case "ResourceNotFoundException":
|
|
902
902
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
903
|
-
throw await
|
|
903
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
904
904
|
case "ThrottlingException":
|
|
905
905
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
906
|
-
throw await
|
|
906
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
907
907
|
case "ValidationException":
|
|
908
908
|
case "com.amazonaws.tnb#ValidationException":
|
|
909
|
-
throw await
|
|
909
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
910
910
|
default:
|
|
911
911
|
const parsedBody = parsedOutput.body;
|
|
912
912
|
throwDefaultError({
|
|
@@ -917,9 +917,9 @@ const deserializeAws_restJson1DeleteSolFunctionPackageCommandError = async (outp
|
|
|
917
917
|
});
|
|
918
918
|
}
|
|
919
919
|
};
|
|
920
|
-
export const
|
|
920
|
+
export const de_DeleteSolNetworkInstanceCommand = async (output, context) => {
|
|
921
921
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
922
|
-
return
|
|
922
|
+
return de_DeleteSolNetworkInstanceCommandError(output, context);
|
|
923
923
|
}
|
|
924
924
|
const contents = map({
|
|
925
925
|
$metadata: deserializeMetadata(output),
|
|
@@ -927,7 +927,7 @@ export const deserializeAws_restJson1DeleteSolNetworkInstanceCommand = async (ou
|
|
|
927
927
|
await collectBody(output.body, context);
|
|
928
928
|
return contents;
|
|
929
929
|
};
|
|
930
|
-
const
|
|
930
|
+
const de_DeleteSolNetworkInstanceCommandError = async (output, context) => {
|
|
931
931
|
const parsedOutput = {
|
|
932
932
|
...output,
|
|
933
933
|
body: await parseErrorBody(output.body, context),
|
|
@@ -936,19 +936,19 @@ const deserializeAws_restJson1DeleteSolNetworkInstanceCommandError = async (outp
|
|
|
936
936
|
switch (errorCode) {
|
|
937
937
|
case "AccessDeniedException":
|
|
938
938
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
939
|
-
throw await
|
|
939
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
940
940
|
case "InternalServerException":
|
|
941
941
|
case "com.amazonaws.tnb#InternalServerException":
|
|
942
|
-
throw await
|
|
942
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
943
943
|
case "ResourceNotFoundException":
|
|
944
944
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
945
|
-
throw await
|
|
945
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
946
946
|
case "ThrottlingException":
|
|
947
947
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
948
|
-
throw await
|
|
948
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
949
949
|
case "ValidationException":
|
|
950
950
|
case "com.amazonaws.tnb#ValidationException":
|
|
951
|
-
throw await
|
|
951
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
952
952
|
default:
|
|
953
953
|
const parsedBody = parsedOutput.body;
|
|
954
954
|
throwDefaultError({
|
|
@@ -959,9 +959,9 @@ const deserializeAws_restJson1DeleteSolNetworkInstanceCommandError = async (outp
|
|
|
959
959
|
});
|
|
960
960
|
}
|
|
961
961
|
};
|
|
962
|
-
export const
|
|
962
|
+
export const de_DeleteSolNetworkPackageCommand = async (output, context) => {
|
|
963
963
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
964
|
-
return
|
|
964
|
+
return de_DeleteSolNetworkPackageCommandError(output, context);
|
|
965
965
|
}
|
|
966
966
|
const contents = map({
|
|
967
967
|
$metadata: deserializeMetadata(output),
|
|
@@ -969,7 +969,7 @@ export const deserializeAws_restJson1DeleteSolNetworkPackageCommand = async (out
|
|
|
969
969
|
await collectBody(output.body, context);
|
|
970
970
|
return contents;
|
|
971
971
|
};
|
|
972
|
-
const
|
|
972
|
+
const de_DeleteSolNetworkPackageCommandError = async (output, context) => {
|
|
973
973
|
const parsedOutput = {
|
|
974
974
|
...output,
|
|
975
975
|
body: await parseErrorBody(output.body, context),
|
|
@@ -978,19 +978,19 @@ const deserializeAws_restJson1DeleteSolNetworkPackageCommandError = async (outpu
|
|
|
978
978
|
switch (errorCode) {
|
|
979
979
|
case "AccessDeniedException":
|
|
980
980
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
981
|
-
throw await
|
|
981
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
982
982
|
case "InternalServerException":
|
|
983
983
|
case "com.amazonaws.tnb#InternalServerException":
|
|
984
|
-
throw await
|
|
984
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
985
985
|
case "ResourceNotFoundException":
|
|
986
986
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
987
|
-
throw await
|
|
987
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
988
988
|
case "ThrottlingException":
|
|
989
989
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
990
|
-
throw await
|
|
990
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
991
991
|
case "ValidationException":
|
|
992
992
|
case "com.amazonaws.tnb#ValidationException":
|
|
993
|
-
throw await
|
|
993
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
994
994
|
default:
|
|
995
995
|
const parsedBody = parsedOutput.body;
|
|
996
996
|
throwDefaultError({
|
|
@@ -1001,9 +1001,9 @@ const deserializeAws_restJson1DeleteSolNetworkPackageCommandError = async (outpu
|
|
|
1001
1001
|
});
|
|
1002
1002
|
}
|
|
1003
1003
|
};
|
|
1004
|
-
export const
|
|
1004
|
+
export const de_GetSolFunctionInstanceCommand = async (output, context) => {
|
|
1005
1005
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1006
|
-
return
|
|
1006
|
+
return de_GetSolFunctionInstanceCommandError(output, context);
|
|
1007
1007
|
}
|
|
1008
1008
|
const contents = map({
|
|
1009
1009
|
$metadata: deserializeMetadata(output),
|
|
@@ -1016,19 +1016,19 @@ export const deserializeAws_restJson1GetSolFunctionInstanceCommand = async (outp
|
|
|
1016
1016
|
contents.id = __expectString(data.id);
|
|
1017
1017
|
}
|
|
1018
1018
|
if (data.instantiatedVnfInfo != null) {
|
|
1019
|
-
contents.instantiatedVnfInfo =
|
|
1019
|
+
contents.instantiatedVnfInfo = de_GetSolVnfInfo(data.instantiatedVnfInfo, context);
|
|
1020
1020
|
}
|
|
1021
1021
|
if (data.instantiationState != null) {
|
|
1022
1022
|
contents.instantiationState = __expectString(data.instantiationState);
|
|
1023
1023
|
}
|
|
1024
1024
|
if (data.metadata != null) {
|
|
1025
|
-
contents.metadata =
|
|
1025
|
+
contents.metadata = de_GetSolFunctionInstanceMetadata(data.metadata, context);
|
|
1026
1026
|
}
|
|
1027
1027
|
if (data.nsInstanceId != null) {
|
|
1028
1028
|
contents.nsInstanceId = __expectString(data.nsInstanceId);
|
|
1029
1029
|
}
|
|
1030
1030
|
if (data.tags != null) {
|
|
1031
|
-
contents.tags =
|
|
1031
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1032
1032
|
}
|
|
1033
1033
|
if (data.vnfPkgId != null) {
|
|
1034
1034
|
contents.vnfPkgId = __expectString(data.vnfPkgId);
|
|
@@ -1047,7 +1047,7 @@ export const deserializeAws_restJson1GetSolFunctionInstanceCommand = async (outp
|
|
|
1047
1047
|
}
|
|
1048
1048
|
return contents;
|
|
1049
1049
|
};
|
|
1050
|
-
const
|
|
1050
|
+
const de_GetSolFunctionInstanceCommandError = async (output, context) => {
|
|
1051
1051
|
const parsedOutput = {
|
|
1052
1052
|
...output,
|
|
1053
1053
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1056,19 +1056,19 @@ const deserializeAws_restJson1GetSolFunctionInstanceCommandError = async (output
|
|
|
1056
1056
|
switch (errorCode) {
|
|
1057
1057
|
case "AccessDeniedException":
|
|
1058
1058
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1059
|
-
throw await
|
|
1059
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1060
1060
|
case "InternalServerException":
|
|
1061
1061
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1062
|
-
throw await
|
|
1062
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1063
1063
|
case "ResourceNotFoundException":
|
|
1064
1064
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1065
|
-
throw await
|
|
1065
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1066
1066
|
case "ThrottlingException":
|
|
1067
1067
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1068
|
-
throw await
|
|
1068
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1069
1069
|
case "ValidationException":
|
|
1070
1070
|
case "com.amazonaws.tnb#ValidationException":
|
|
1071
|
-
throw await
|
|
1071
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1072
1072
|
default:
|
|
1073
1073
|
const parsedBody = parsedOutput.body;
|
|
1074
1074
|
throwDefaultError({
|
|
@@ -1079,9 +1079,9 @@ const deserializeAws_restJson1GetSolFunctionInstanceCommandError = async (output
|
|
|
1079
1079
|
});
|
|
1080
1080
|
}
|
|
1081
1081
|
};
|
|
1082
|
-
export const
|
|
1082
|
+
export const de_GetSolFunctionPackageCommand = async (output, context) => {
|
|
1083
1083
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1084
|
-
return
|
|
1084
|
+
return de_GetSolFunctionPackageCommandError(output, context);
|
|
1085
1085
|
}
|
|
1086
1086
|
const contents = map({
|
|
1087
1087
|
$metadata: deserializeMetadata(output),
|
|
@@ -1094,7 +1094,7 @@ export const deserializeAws_restJson1GetSolFunctionPackageCommand = async (outpu
|
|
|
1094
1094
|
contents.id = __expectString(data.id);
|
|
1095
1095
|
}
|
|
1096
1096
|
if (data.metadata != null) {
|
|
1097
|
-
contents.metadata =
|
|
1097
|
+
contents.metadata = de_GetSolFunctionPackageMetadata(data.metadata, context);
|
|
1098
1098
|
}
|
|
1099
1099
|
if (data.onboardingState != null) {
|
|
1100
1100
|
contents.onboardingState = __expectString(data.onboardingState);
|
|
@@ -1103,7 +1103,7 @@ export const deserializeAws_restJson1GetSolFunctionPackageCommand = async (outpu
|
|
|
1103
1103
|
contents.operationalState = __expectString(data.operationalState);
|
|
1104
1104
|
}
|
|
1105
1105
|
if (data.tags != null) {
|
|
1106
|
-
contents.tags =
|
|
1106
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1107
1107
|
}
|
|
1108
1108
|
if (data.usageState != null) {
|
|
1109
1109
|
contents.usageState = __expectString(data.usageState);
|
|
@@ -1122,7 +1122,7 @@ export const deserializeAws_restJson1GetSolFunctionPackageCommand = async (outpu
|
|
|
1122
1122
|
}
|
|
1123
1123
|
return contents;
|
|
1124
1124
|
};
|
|
1125
|
-
const
|
|
1125
|
+
const de_GetSolFunctionPackageCommandError = async (output, context) => {
|
|
1126
1126
|
const parsedOutput = {
|
|
1127
1127
|
...output,
|
|
1128
1128
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1131,19 +1131,19 @@ const deserializeAws_restJson1GetSolFunctionPackageCommandError = async (output,
|
|
|
1131
1131
|
switch (errorCode) {
|
|
1132
1132
|
case "AccessDeniedException":
|
|
1133
1133
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1134
|
-
throw await
|
|
1134
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1135
1135
|
case "InternalServerException":
|
|
1136
1136
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1137
|
-
throw await
|
|
1137
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1138
1138
|
case "ResourceNotFoundException":
|
|
1139
1139
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1140
|
-
throw await
|
|
1140
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1141
1141
|
case "ThrottlingException":
|
|
1142
1142
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1143
|
-
throw await
|
|
1143
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1144
1144
|
case "ValidationException":
|
|
1145
1145
|
case "com.amazonaws.tnb#ValidationException":
|
|
1146
|
-
throw await
|
|
1146
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1147
1147
|
default:
|
|
1148
1148
|
const parsedBody = parsedOutput.body;
|
|
1149
1149
|
throwDefaultError({
|
|
@@ -1154,9 +1154,9 @@ const deserializeAws_restJson1GetSolFunctionPackageCommandError = async (output,
|
|
|
1154
1154
|
});
|
|
1155
1155
|
}
|
|
1156
1156
|
};
|
|
1157
|
-
export const
|
|
1157
|
+
export const de_GetSolFunctionPackageContentCommand = async (output, context) => {
|
|
1158
1158
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1159
|
-
return
|
|
1159
|
+
return de_GetSolFunctionPackageContentCommandError(output, context);
|
|
1160
1160
|
}
|
|
1161
1161
|
const contents = map({
|
|
1162
1162
|
$metadata: deserializeMetadata(output),
|
|
@@ -1166,7 +1166,7 @@ export const deserializeAws_restJson1GetSolFunctionPackageContentCommand = async
|
|
|
1166
1166
|
contents.packageContent = data;
|
|
1167
1167
|
return contents;
|
|
1168
1168
|
};
|
|
1169
|
-
const
|
|
1169
|
+
const de_GetSolFunctionPackageContentCommandError = async (output, context) => {
|
|
1170
1170
|
const parsedOutput = {
|
|
1171
1171
|
...output,
|
|
1172
1172
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1175,19 +1175,19 @@ const deserializeAws_restJson1GetSolFunctionPackageContentCommandError = async (
|
|
|
1175
1175
|
switch (errorCode) {
|
|
1176
1176
|
case "AccessDeniedException":
|
|
1177
1177
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1178
|
-
throw await
|
|
1178
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1179
1179
|
case "InternalServerException":
|
|
1180
1180
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1181
|
-
throw await
|
|
1181
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1182
1182
|
case "ResourceNotFoundException":
|
|
1183
1183
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1184
|
-
throw await
|
|
1184
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1185
1185
|
case "ThrottlingException":
|
|
1186
1186
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1187
|
-
throw await
|
|
1187
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1188
1188
|
case "ValidationException":
|
|
1189
1189
|
case "com.amazonaws.tnb#ValidationException":
|
|
1190
|
-
throw await
|
|
1190
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1191
1191
|
default:
|
|
1192
1192
|
const parsedBody = parsedOutput.body;
|
|
1193
1193
|
throwDefaultError({
|
|
@@ -1198,9 +1198,9 @@ const deserializeAws_restJson1GetSolFunctionPackageContentCommandError = async (
|
|
|
1198
1198
|
});
|
|
1199
1199
|
}
|
|
1200
1200
|
};
|
|
1201
|
-
export const
|
|
1201
|
+
export const de_GetSolFunctionPackageDescriptorCommand = async (output, context) => {
|
|
1202
1202
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1203
|
-
return
|
|
1203
|
+
return de_GetSolFunctionPackageDescriptorCommandError(output, context);
|
|
1204
1204
|
}
|
|
1205
1205
|
const contents = map({
|
|
1206
1206
|
$metadata: deserializeMetadata(output),
|
|
@@ -1210,7 +1210,7 @@ export const deserializeAws_restJson1GetSolFunctionPackageDescriptorCommand = as
|
|
|
1210
1210
|
contents.vnfd = data;
|
|
1211
1211
|
return contents;
|
|
1212
1212
|
};
|
|
1213
|
-
const
|
|
1213
|
+
const de_GetSolFunctionPackageDescriptorCommandError = async (output, context) => {
|
|
1214
1214
|
const parsedOutput = {
|
|
1215
1215
|
...output,
|
|
1216
1216
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1219,19 +1219,19 @@ const deserializeAws_restJson1GetSolFunctionPackageDescriptorCommandError = asyn
|
|
|
1219
1219
|
switch (errorCode) {
|
|
1220
1220
|
case "AccessDeniedException":
|
|
1221
1221
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1222
|
-
throw await
|
|
1222
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1223
1223
|
case "InternalServerException":
|
|
1224
1224
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1225
|
-
throw await
|
|
1225
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1226
1226
|
case "ResourceNotFoundException":
|
|
1227
1227
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1228
|
-
throw await
|
|
1228
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1229
1229
|
case "ThrottlingException":
|
|
1230
1230
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1231
|
-
throw await
|
|
1231
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1232
1232
|
case "ValidationException":
|
|
1233
1233
|
case "com.amazonaws.tnb#ValidationException":
|
|
1234
|
-
throw await
|
|
1234
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1235
1235
|
default:
|
|
1236
1236
|
const parsedBody = parsedOutput.body;
|
|
1237
1237
|
throwDefaultError({
|
|
@@ -1242,9 +1242,9 @@ const deserializeAws_restJson1GetSolFunctionPackageDescriptorCommandError = asyn
|
|
|
1242
1242
|
});
|
|
1243
1243
|
}
|
|
1244
1244
|
};
|
|
1245
|
-
export const
|
|
1245
|
+
export const de_GetSolNetworkInstanceCommand = async (output, context) => {
|
|
1246
1246
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1247
|
-
return
|
|
1247
|
+
return de_GetSolNetworkInstanceCommandError(output, context);
|
|
1248
1248
|
}
|
|
1249
1249
|
const contents = map({
|
|
1250
1250
|
$metadata: deserializeMetadata(output),
|
|
@@ -1257,10 +1257,10 @@ export const deserializeAws_restJson1GetSolNetworkInstanceCommand = async (outpu
|
|
|
1257
1257
|
contents.id = __expectString(data.id);
|
|
1258
1258
|
}
|
|
1259
1259
|
if (data.lcmOpInfo != null) {
|
|
1260
|
-
contents.lcmOpInfo =
|
|
1260
|
+
contents.lcmOpInfo = de_LcmOperationInfo(data.lcmOpInfo, context);
|
|
1261
1261
|
}
|
|
1262
1262
|
if (data.metadata != null) {
|
|
1263
|
-
contents.metadata =
|
|
1263
|
+
contents.metadata = de_GetSolNetworkInstanceMetadata(data.metadata, context);
|
|
1264
1264
|
}
|
|
1265
1265
|
if (data.nsInstanceDescription != null) {
|
|
1266
1266
|
contents.nsInstanceDescription = __expectString(data.nsInstanceDescription);
|
|
@@ -1278,11 +1278,11 @@ export const deserializeAws_restJson1GetSolNetworkInstanceCommand = async (outpu
|
|
|
1278
1278
|
contents.nsdInfoId = __expectString(data.nsdInfoId);
|
|
1279
1279
|
}
|
|
1280
1280
|
if (data.tags != null) {
|
|
1281
|
-
contents.tags =
|
|
1281
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1282
1282
|
}
|
|
1283
1283
|
return contents;
|
|
1284
1284
|
};
|
|
1285
|
-
const
|
|
1285
|
+
const de_GetSolNetworkInstanceCommandError = async (output, context) => {
|
|
1286
1286
|
const parsedOutput = {
|
|
1287
1287
|
...output,
|
|
1288
1288
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1291,19 +1291,19 @@ const deserializeAws_restJson1GetSolNetworkInstanceCommandError = async (output,
|
|
|
1291
1291
|
switch (errorCode) {
|
|
1292
1292
|
case "AccessDeniedException":
|
|
1293
1293
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1294
|
-
throw await
|
|
1294
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1295
1295
|
case "InternalServerException":
|
|
1296
1296
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1297
|
-
throw await
|
|
1297
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1298
1298
|
case "ResourceNotFoundException":
|
|
1299
1299
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1300
|
-
throw await
|
|
1300
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1301
1301
|
case "ThrottlingException":
|
|
1302
1302
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1303
|
-
throw await
|
|
1303
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1304
1304
|
case "ValidationException":
|
|
1305
1305
|
case "com.amazonaws.tnb#ValidationException":
|
|
1306
|
-
throw await
|
|
1306
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1307
1307
|
default:
|
|
1308
1308
|
const parsedBody = parsedOutput.body;
|
|
1309
1309
|
throwDefaultError({
|
|
@@ -1314,9 +1314,9 @@ const deserializeAws_restJson1GetSolNetworkInstanceCommandError = async (output,
|
|
|
1314
1314
|
});
|
|
1315
1315
|
}
|
|
1316
1316
|
};
|
|
1317
|
-
export const
|
|
1317
|
+
export const de_GetSolNetworkOperationCommand = async (output, context) => {
|
|
1318
1318
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1319
|
-
return
|
|
1319
|
+
return de_GetSolNetworkOperationCommandError(output, context);
|
|
1320
1320
|
}
|
|
1321
1321
|
const contents = map({
|
|
1322
1322
|
$metadata: deserializeMetadata(output),
|
|
@@ -1326,7 +1326,7 @@ export const deserializeAws_restJson1GetSolNetworkOperationCommand = async (outp
|
|
|
1326
1326
|
contents.arn = __expectString(data.arn);
|
|
1327
1327
|
}
|
|
1328
1328
|
if (data.error != null) {
|
|
1329
|
-
contents.error =
|
|
1329
|
+
contents.error = de_ProblemDetails(data.error, context);
|
|
1330
1330
|
}
|
|
1331
1331
|
if (data.id != null) {
|
|
1332
1332
|
contents.id = __expectString(data.id);
|
|
@@ -1335,7 +1335,7 @@ export const deserializeAws_restJson1GetSolNetworkOperationCommand = async (outp
|
|
|
1335
1335
|
contents.lcmOperationType = __expectString(data.lcmOperationType);
|
|
1336
1336
|
}
|
|
1337
1337
|
if (data.metadata != null) {
|
|
1338
|
-
contents.metadata =
|
|
1338
|
+
contents.metadata = de_GetSolNetworkOperationMetadata(data.metadata, context);
|
|
1339
1339
|
}
|
|
1340
1340
|
if (data.nsInstanceId != null) {
|
|
1341
1341
|
contents.nsInstanceId = __expectString(data.nsInstanceId);
|
|
@@ -1344,14 +1344,14 @@ export const deserializeAws_restJson1GetSolNetworkOperationCommand = async (outp
|
|
|
1344
1344
|
contents.operationState = __expectString(data.operationState);
|
|
1345
1345
|
}
|
|
1346
1346
|
if (data.tags != null) {
|
|
1347
|
-
contents.tags =
|
|
1347
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1348
1348
|
}
|
|
1349
1349
|
if (data.tasks != null) {
|
|
1350
|
-
contents.tasks =
|
|
1350
|
+
contents.tasks = de_GetSolNetworkOperationTasksList(data.tasks, context);
|
|
1351
1351
|
}
|
|
1352
1352
|
return contents;
|
|
1353
1353
|
};
|
|
1354
|
-
const
|
|
1354
|
+
const de_GetSolNetworkOperationCommandError = async (output, context) => {
|
|
1355
1355
|
const parsedOutput = {
|
|
1356
1356
|
...output,
|
|
1357
1357
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1360,19 +1360,19 @@ const deserializeAws_restJson1GetSolNetworkOperationCommandError = async (output
|
|
|
1360
1360
|
switch (errorCode) {
|
|
1361
1361
|
case "AccessDeniedException":
|
|
1362
1362
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1363
|
-
throw await
|
|
1363
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1364
1364
|
case "InternalServerException":
|
|
1365
1365
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1366
|
-
throw await
|
|
1366
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1367
1367
|
case "ResourceNotFoundException":
|
|
1368
1368
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1369
|
-
throw await
|
|
1369
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1370
1370
|
case "ThrottlingException":
|
|
1371
1371
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1372
|
-
throw await
|
|
1372
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1373
1373
|
case "ValidationException":
|
|
1374
1374
|
case "com.amazonaws.tnb#ValidationException":
|
|
1375
|
-
throw await
|
|
1375
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1376
1376
|
default:
|
|
1377
1377
|
const parsedBody = parsedOutput.body;
|
|
1378
1378
|
throwDefaultError({
|
|
@@ -1383,9 +1383,9 @@ const deserializeAws_restJson1GetSolNetworkOperationCommandError = async (output
|
|
|
1383
1383
|
});
|
|
1384
1384
|
}
|
|
1385
1385
|
};
|
|
1386
|
-
export const
|
|
1386
|
+
export const de_GetSolNetworkPackageCommand = async (output, context) => {
|
|
1387
1387
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1388
|
-
return
|
|
1388
|
+
return de_GetSolNetworkPackageCommandError(output, context);
|
|
1389
1389
|
}
|
|
1390
1390
|
const contents = map({
|
|
1391
1391
|
$metadata: deserializeMetadata(output),
|
|
@@ -1398,7 +1398,7 @@ export const deserializeAws_restJson1GetSolNetworkPackageCommand = async (output
|
|
|
1398
1398
|
contents.id = __expectString(data.id);
|
|
1399
1399
|
}
|
|
1400
1400
|
if (data.metadata != null) {
|
|
1401
|
-
contents.metadata =
|
|
1401
|
+
contents.metadata = de_GetSolNetworkPackageMetadata(data.metadata, context);
|
|
1402
1402
|
}
|
|
1403
1403
|
if (data.nsdId != null) {
|
|
1404
1404
|
contents.nsdId = __expectString(data.nsdId);
|
|
@@ -1419,14 +1419,14 @@ export const deserializeAws_restJson1GetSolNetworkPackageCommand = async (output
|
|
|
1419
1419
|
contents.nsdVersion = __expectString(data.nsdVersion);
|
|
1420
1420
|
}
|
|
1421
1421
|
if (data.tags != null) {
|
|
1422
|
-
contents.tags =
|
|
1422
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1423
1423
|
}
|
|
1424
1424
|
if (data.vnfPkgIds != null) {
|
|
1425
|
-
contents.vnfPkgIds =
|
|
1425
|
+
contents.vnfPkgIds = de_VnfPkgIdList(data.vnfPkgIds, context);
|
|
1426
1426
|
}
|
|
1427
1427
|
return contents;
|
|
1428
1428
|
};
|
|
1429
|
-
const
|
|
1429
|
+
const de_GetSolNetworkPackageCommandError = async (output, context) => {
|
|
1430
1430
|
const parsedOutput = {
|
|
1431
1431
|
...output,
|
|
1432
1432
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1435,19 +1435,19 @@ const deserializeAws_restJson1GetSolNetworkPackageCommandError = async (output,
|
|
|
1435
1435
|
switch (errorCode) {
|
|
1436
1436
|
case "AccessDeniedException":
|
|
1437
1437
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1438
|
-
throw await
|
|
1438
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1439
1439
|
case "InternalServerException":
|
|
1440
1440
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1441
|
-
throw await
|
|
1441
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1442
1442
|
case "ResourceNotFoundException":
|
|
1443
1443
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1444
|
-
throw await
|
|
1444
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1445
1445
|
case "ThrottlingException":
|
|
1446
1446
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1447
|
-
throw await
|
|
1447
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1448
1448
|
case "ValidationException":
|
|
1449
1449
|
case "com.amazonaws.tnb#ValidationException":
|
|
1450
|
-
throw await
|
|
1450
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1451
1451
|
default:
|
|
1452
1452
|
const parsedBody = parsedOutput.body;
|
|
1453
1453
|
throwDefaultError({
|
|
@@ -1458,9 +1458,9 @@ const deserializeAws_restJson1GetSolNetworkPackageCommandError = async (output,
|
|
|
1458
1458
|
});
|
|
1459
1459
|
}
|
|
1460
1460
|
};
|
|
1461
|
-
export const
|
|
1461
|
+
export const de_GetSolNetworkPackageContentCommand = async (output, context) => {
|
|
1462
1462
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1463
|
-
return
|
|
1463
|
+
return de_GetSolNetworkPackageContentCommandError(output, context);
|
|
1464
1464
|
}
|
|
1465
1465
|
const contents = map({
|
|
1466
1466
|
$metadata: deserializeMetadata(output),
|
|
@@ -1470,7 +1470,7 @@ export const deserializeAws_restJson1GetSolNetworkPackageContentCommand = async
|
|
|
1470
1470
|
contents.nsdContent = data;
|
|
1471
1471
|
return contents;
|
|
1472
1472
|
};
|
|
1473
|
-
const
|
|
1473
|
+
const de_GetSolNetworkPackageContentCommandError = async (output, context) => {
|
|
1474
1474
|
const parsedOutput = {
|
|
1475
1475
|
...output,
|
|
1476
1476
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1479,19 +1479,19 @@ const deserializeAws_restJson1GetSolNetworkPackageContentCommandError = async (o
|
|
|
1479
1479
|
switch (errorCode) {
|
|
1480
1480
|
case "AccessDeniedException":
|
|
1481
1481
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1482
|
-
throw await
|
|
1482
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1483
1483
|
case "InternalServerException":
|
|
1484
1484
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1485
|
-
throw await
|
|
1485
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1486
1486
|
case "ResourceNotFoundException":
|
|
1487
1487
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1488
|
-
throw await
|
|
1488
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1489
1489
|
case "ThrottlingException":
|
|
1490
1490
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1491
|
-
throw await
|
|
1491
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1492
1492
|
case "ValidationException":
|
|
1493
1493
|
case "com.amazonaws.tnb#ValidationException":
|
|
1494
|
-
throw await
|
|
1494
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1495
1495
|
default:
|
|
1496
1496
|
const parsedBody = parsedOutput.body;
|
|
1497
1497
|
throwDefaultError({
|
|
@@ -1502,9 +1502,9 @@ const deserializeAws_restJson1GetSolNetworkPackageContentCommandError = async (o
|
|
|
1502
1502
|
});
|
|
1503
1503
|
}
|
|
1504
1504
|
};
|
|
1505
|
-
export const
|
|
1505
|
+
export const de_GetSolNetworkPackageDescriptorCommand = async (output, context) => {
|
|
1506
1506
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1507
|
-
return
|
|
1507
|
+
return de_GetSolNetworkPackageDescriptorCommandError(output, context);
|
|
1508
1508
|
}
|
|
1509
1509
|
const contents = map({
|
|
1510
1510
|
$metadata: deserializeMetadata(output),
|
|
@@ -1514,7 +1514,7 @@ export const deserializeAws_restJson1GetSolNetworkPackageDescriptorCommand = asy
|
|
|
1514
1514
|
contents.nsd = data;
|
|
1515
1515
|
return contents;
|
|
1516
1516
|
};
|
|
1517
|
-
const
|
|
1517
|
+
const de_GetSolNetworkPackageDescriptorCommandError = async (output, context) => {
|
|
1518
1518
|
const parsedOutput = {
|
|
1519
1519
|
...output,
|
|
1520
1520
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1523,19 +1523,19 @@ const deserializeAws_restJson1GetSolNetworkPackageDescriptorCommandError = async
|
|
|
1523
1523
|
switch (errorCode) {
|
|
1524
1524
|
case "AccessDeniedException":
|
|
1525
1525
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1526
|
-
throw await
|
|
1526
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1527
1527
|
case "InternalServerException":
|
|
1528
1528
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1529
|
-
throw await
|
|
1529
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1530
1530
|
case "ResourceNotFoundException":
|
|
1531
1531
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1532
|
-
throw await
|
|
1532
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1533
1533
|
case "ThrottlingException":
|
|
1534
1534
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1535
|
-
throw await
|
|
1535
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1536
1536
|
case "ValidationException":
|
|
1537
1537
|
case "com.amazonaws.tnb#ValidationException":
|
|
1538
|
-
throw await
|
|
1538
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1539
1539
|
default:
|
|
1540
1540
|
const parsedBody = parsedOutput.body;
|
|
1541
1541
|
throwDefaultError({
|
|
@@ -1546,9 +1546,9 @@ const deserializeAws_restJson1GetSolNetworkPackageDescriptorCommandError = async
|
|
|
1546
1546
|
});
|
|
1547
1547
|
}
|
|
1548
1548
|
};
|
|
1549
|
-
export const
|
|
1549
|
+
export const de_InstantiateSolNetworkInstanceCommand = async (output, context) => {
|
|
1550
1550
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1551
|
-
return
|
|
1551
|
+
return de_InstantiateSolNetworkInstanceCommandError(output, context);
|
|
1552
1552
|
}
|
|
1553
1553
|
const contents = map({
|
|
1554
1554
|
$metadata: deserializeMetadata(output),
|
|
@@ -1558,11 +1558,11 @@ export const deserializeAws_restJson1InstantiateSolNetworkInstanceCommand = asyn
|
|
|
1558
1558
|
contents.nsLcmOpOccId = __expectString(data.nsLcmOpOccId);
|
|
1559
1559
|
}
|
|
1560
1560
|
if (data.tags != null) {
|
|
1561
|
-
contents.tags =
|
|
1561
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1562
1562
|
}
|
|
1563
1563
|
return contents;
|
|
1564
1564
|
};
|
|
1565
|
-
const
|
|
1565
|
+
const de_InstantiateSolNetworkInstanceCommandError = async (output, context) => {
|
|
1566
1566
|
const parsedOutput = {
|
|
1567
1567
|
...output,
|
|
1568
1568
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1571,22 +1571,22 @@ const deserializeAws_restJson1InstantiateSolNetworkInstanceCommandError = async
|
|
|
1571
1571
|
switch (errorCode) {
|
|
1572
1572
|
case "AccessDeniedException":
|
|
1573
1573
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1574
|
-
throw await
|
|
1574
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1575
1575
|
case "InternalServerException":
|
|
1576
1576
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1577
|
-
throw await
|
|
1577
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1578
1578
|
case "ResourceNotFoundException":
|
|
1579
1579
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1580
|
-
throw await
|
|
1580
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1581
1581
|
case "ServiceQuotaExceededException":
|
|
1582
1582
|
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
1583
|
-
throw await
|
|
1583
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1584
1584
|
case "ThrottlingException":
|
|
1585
1585
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1586
|
-
throw await
|
|
1586
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1587
1587
|
case "ValidationException":
|
|
1588
1588
|
case "com.amazonaws.tnb#ValidationException":
|
|
1589
|
-
throw await
|
|
1589
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1590
1590
|
default:
|
|
1591
1591
|
const parsedBody = parsedOutput.body;
|
|
1592
1592
|
throwDefaultError({
|
|
@@ -1597,23 +1597,23 @@ const deserializeAws_restJson1InstantiateSolNetworkInstanceCommandError = async
|
|
|
1597
1597
|
});
|
|
1598
1598
|
}
|
|
1599
1599
|
};
|
|
1600
|
-
export const
|
|
1600
|
+
export const de_ListSolFunctionInstancesCommand = async (output, context) => {
|
|
1601
1601
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1602
|
-
return
|
|
1602
|
+
return de_ListSolFunctionInstancesCommandError(output, context);
|
|
1603
1603
|
}
|
|
1604
1604
|
const contents = map({
|
|
1605
1605
|
$metadata: deserializeMetadata(output),
|
|
1606
1606
|
});
|
|
1607
1607
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1608
1608
|
if (data.functionInstances != null) {
|
|
1609
|
-
contents.functionInstances =
|
|
1609
|
+
contents.functionInstances = de_ListSolFunctionInstanceResources(data.functionInstances, context);
|
|
1610
1610
|
}
|
|
1611
1611
|
if (data.nextToken != null) {
|
|
1612
1612
|
contents.nextToken = __expectString(data.nextToken);
|
|
1613
1613
|
}
|
|
1614
1614
|
return contents;
|
|
1615
1615
|
};
|
|
1616
|
-
const
|
|
1616
|
+
const de_ListSolFunctionInstancesCommandError = async (output, context) => {
|
|
1617
1617
|
const parsedOutput = {
|
|
1618
1618
|
...output,
|
|
1619
1619
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1622,16 +1622,16 @@ const deserializeAws_restJson1ListSolFunctionInstancesCommandError = async (outp
|
|
|
1622
1622
|
switch (errorCode) {
|
|
1623
1623
|
case "AccessDeniedException":
|
|
1624
1624
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1625
|
-
throw await
|
|
1625
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1626
1626
|
case "InternalServerException":
|
|
1627
1627
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1628
|
-
throw await
|
|
1628
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1629
1629
|
case "ThrottlingException":
|
|
1630
1630
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1631
|
-
throw await
|
|
1631
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1632
1632
|
case "ValidationException":
|
|
1633
1633
|
case "com.amazonaws.tnb#ValidationException":
|
|
1634
|
-
throw await
|
|
1634
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1635
1635
|
default:
|
|
1636
1636
|
const parsedBody = parsedOutput.body;
|
|
1637
1637
|
throwDefaultError({
|
|
@@ -1642,23 +1642,23 @@ const deserializeAws_restJson1ListSolFunctionInstancesCommandError = async (outp
|
|
|
1642
1642
|
});
|
|
1643
1643
|
}
|
|
1644
1644
|
};
|
|
1645
|
-
export const
|
|
1645
|
+
export const de_ListSolFunctionPackagesCommand = async (output, context) => {
|
|
1646
1646
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1647
|
-
return
|
|
1647
|
+
return de_ListSolFunctionPackagesCommandError(output, context);
|
|
1648
1648
|
}
|
|
1649
1649
|
const contents = map({
|
|
1650
1650
|
$metadata: deserializeMetadata(output),
|
|
1651
1651
|
});
|
|
1652
1652
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1653
1653
|
if (data.functionPackages != null) {
|
|
1654
|
-
contents.functionPackages =
|
|
1654
|
+
contents.functionPackages = de_ListSolFunctionPackageResources(data.functionPackages, context);
|
|
1655
1655
|
}
|
|
1656
1656
|
if (data.nextToken != null) {
|
|
1657
1657
|
contents.nextToken = __expectString(data.nextToken);
|
|
1658
1658
|
}
|
|
1659
1659
|
return contents;
|
|
1660
1660
|
};
|
|
1661
|
-
const
|
|
1661
|
+
const de_ListSolFunctionPackagesCommandError = async (output, context) => {
|
|
1662
1662
|
const parsedOutput = {
|
|
1663
1663
|
...output,
|
|
1664
1664
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1667,16 +1667,16 @@ const deserializeAws_restJson1ListSolFunctionPackagesCommandError = async (outpu
|
|
|
1667
1667
|
switch (errorCode) {
|
|
1668
1668
|
case "AccessDeniedException":
|
|
1669
1669
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1670
|
-
throw await
|
|
1670
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1671
1671
|
case "InternalServerException":
|
|
1672
1672
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1673
|
-
throw await
|
|
1673
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1674
1674
|
case "ThrottlingException":
|
|
1675
1675
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1676
|
-
throw await
|
|
1676
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1677
1677
|
case "ValidationException":
|
|
1678
1678
|
case "com.amazonaws.tnb#ValidationException":
|
|
1679
|
-
throw await
|
|
1679
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1680
1680
|
default:
|
|
1681
1681
|
const parsedBody = parsedOutput.body;
|
|
1682
1682
|
throwDefaultError({
|
|
@@ -1687,23 +1687,23 @@ const deserializeAws_restJson1ListSolFunctionPackagesCommandError = async (outpu
|
|
|
1687
1687
|
});
|
|
1688
1688
|
}
|
|
1689
1689
|
};
|
|
1690
|
-
export const
|
|
1690
|
+
export const de_ListSolNetworkInstancesCommand = async (output, context) => {
|
|
1691
1691
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1692
|
-
return
|
|
1692
|
+
return de_ListSolNetworkInstancesCommandError(output, context);
|
|
1693
1693
|
}
|
|
1694
1694
|
const contents = map({
|
|
1695
1695
|
$metadata: deserializeMetadata(output),
|
|
1696
1696
|
});
|
|
1697
1697
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1698
1698
|
if (data.networkInstances != null) {
|
|
1699
|
-
contents.networkInstances =
|
|
1699
|
+
contents.networkInstances = de_ListSolNetworkInstanceResources(data.networkInstances, context);
|
|
1700
1700
|
}
|
|
1701
1701
|
if (data.nextToken != null) {
|
|
1702
1702
|
contents.nextToken = __expectString(data.nextToken);
|
|
1703
1703
|
}
|
|
1704
1704
|
return contents;
|
|
1705
1705
|
};
|
|
1706
|
-
const
|
|
1706
|
+
const de_ListSolNetworkInstancesCommandError = async (output, context) => {
|
|
1707
1707
|
const parsedOutput = {
|
|
1708
1708
|
...output,
|
|
1709
1709
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1712,16 +1712,16 @@ const deserializeAws_restJson1ListSolNetworkInstancesCommandError = async (outpu
|
|
|
1712
1712
|
switch (errorCode) {
|
|
1713
1713
|
case "AccessDeniedException":
|
|
1714
1714
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1715
|
-
throw await
|
|
1715
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1716
1716
|
case "InternalServerException":
|
|
1717
1717
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1718
|
-
throw await
|
|
1718
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1719
1719
|
case "ThrottlingException":
|
|
1720
1720
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1721
|
-
throw await
|
|
1721
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1722
1722
|
case "ValidationException":
|
|
1723
1723
|
case "com.amazonaws.tnb#ValidationException":
|
|
1724
|
-
throw await
|
|
1724
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1725
1725
|
default:
|
|
1726
1726
|
const parsedBody = parsedOutput.body;
|
|
1727
1727
|
throwDefaultError({
|
|
@@ -1732,23 +1732,23 @@ const deserializeAws_restJson1ListSolNetworkInstancesCommandError = async (outpu
|
|
|
1732
1732
|
});
|
|
1733
1733
|
}
|
|
1734
1734
|
};
|
|
1735
|
-
export const
|
|
1735
|
+
export const de_ListSolNetworkOperationsCommand = async (output, context) => {
|
|
1736
1736
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1737
|
-
return
|
|
1737
|
+
return de_ListSolNetworkOperationsCommandError(output, context);
|
|
1738
1738
|
}
|
|
1739
1739
|
const contents = map({
|
|
1740
1740
|
$metadata: deserializeMetadata(output),
|
|
1741
1741
|
});
|
|
1742
1742
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1743
1743
|
if (data.networkOperations != null) {
|
|
1744
|
-
contents.networkOperations =
|
|
1744
|
+
contents.networkOperations = de_ListSolNetworkOperationsResources(data.networkOperations, context);
|
|
1745
1745
|
}
|
|
1746
1746
|
if (data.nextToken != null) {
|
|
1747
1747
|
contents.nextToken = __expectString(data.nextToken);
|
|
1748
1748
|
}
|
|
1749
1749
|
return contents;
|
|
1750
1750
|
};
|
|
1751
|
-
const
|
|
1751
|
+
const de_ListSolNetworkOperationsCommandError = async (output, context) => {
|
|
1752
1752
|
const parsedOutput = {
|
|
1753
1753
|
...output,
|
|
1754
1754
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1757,16 +1757,16 @@ const deserializeAws_restJson1ListSolNetworkOperationsCommandError = async (outp
|
|
|
1757
1757
|
switch (errorCode) {
|
|
1758
1758
|
case "AccessDeniedException":
|
|
1759
1759
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1760
|
-
throw await
|
|
1760
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1761
1761
|
case "InternalServerException":
|
|
1762
1762
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1763
|
-
throw await
|
|
1763
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1764
1764
|
case "ThrottlingException":
|
|
1765
1765
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1766
|
-
throw await
|
|
1766
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1767
1767
|
case "ValidationException":
|
|
1768
1768
|
case "com.amazonaws.tnb#ValidationException":
|
|
1769
|
-
throw await
|
|
1769
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1770
1770
|
default:
|
|
1771
1771
|
const parsedBody = parsedOutput.body;
|
|
1772
1772
|
throwDefaultError({
|
|
@@ -1777,23 +1777,23 @@ const deserializeAws_restJson1ListSolNetworkOperationsCommandError = async (outp
|
|
|
1777
1777
|
});
|
|
1778
1778
|
}
|
|
1779
1779
|
};
|
|
1780
|
-
export const
|
|
1780
|
+
export const de_ListSolNetworkPackagesCommand = async (output, context) => {
|
|
1781
1781
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1782
|
-
return
|
|
1782
|
+
return de_ListSolNetworkPackagesCommandError(output, context);
|
|
1783
1783
|
}
|
|
1784
1784
|
const contents = map({
|
|
1785
1785
|
$metadata: deserializeMetadata(output),
|
|
1786
1786
|
});
|
|
1787
1787
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1788
1788
|
if (data.networkPackages != null) {
|
|
1789
|
-
contents.networkPackages =
|
|
1789
|
+
contents.networkPackages = de_ListSolNetworkPackageResources(data.networkPackages, context);
|
|
1790
1790
|
}
|
|
1791
1791
|
if (data.nextToken != null) {
|
|
1792
1792
|
contents.nextToken = __expectString(data.nextToken);
|
|
1793
1793
|
}
|
|
1794
1794
|
return contents;
|
|
1795
1795
|
};
|
|
1796
|
-
const
|
|
1796
|
+
const de_ListSolNetworkPackagesCommandError = async (output, context) => {
|
|
1797
1797
|
const parsedOutput = {
|
|
1798
1798
|
...output,
|
|
1799
1799
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1802,16 +1802,16 @@ const deserializeAws_restJson1ListSolNetworkPackagesCommandError = async (output
|
|
|
1802
1802
|
switch (errorCode) {
|
|
1803
1803
|
case "AccessDeniedException":
|
|
1804
1804
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1805
|
-
throw await
|
|
1805
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1806
1806
|
case "InternalServerException":
|
|
1807
1807
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1808
|
-
throw await
|
|
1808
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1809
1809
|
case "ThrottlingException":
|
|
1810
1810
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1811
|
-
throw await
|
|
1811
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1812
1812
|
case "ValidationException":
|
|
1813
1813
|
case "com.amazonaws.tnb#ValidationException":
|
|
1814
|
-
throw await
|
|
1814
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1815
1815
|
default:
|
|
1816
1816
|
const parsedBody = parsedOutput.body;
|
|
1817
1817
|
throwDefaultError({
|
|
@@ -1822,20 +1822,20 @@ const deserializeAws_restJson1ListSolNetworkPackagesCommandError = async (output
|
|
|
1822
1822
|
});
|
|
1823
1823
|
}
|
|
1824
1824
|
};
|
|
1825
|
-
export const
|
|
1825
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1826
1826
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1827
|
-
return
|
|
1827
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1828
1828
|
}
|
|
1829
1829
|
const contents = map({
|
|
1830
1830
|
$metadata: deserializeMetadata(output),
|
|
1831
1831
|
});
|
|
1832
1832
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1833
1833
|
if (data.tags != null) {
|
|
1834
|
-
contents.tags =
|
|
1834
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1835
1835
|
}
|
|
1836
1836
|
return contents;
|
|
1837
1837
|
};
|
|
1838
|
-
const
|
|
1838
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1839
1839
|
const parsedOutput = {
|
|
1840
1840
|
...output,
|
|
1841
1841
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1844,19 +1844,19 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1844
1844
|
switch (errorCode) {
|
|
1845
1845
|
case "AccessDeniedException":
|
|
1846
1846
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1847
|
-
throw await
|
|
1847
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1848
1848
|
case "InternalServerException":
|
|
1849
1849
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1850
|
-
throw await
|
|
1850
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1851
1851
|
case "ResourceNotFoundException":
|
|
1852
1852
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1853
|
-
throw await
|
|
1853
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1854
1854
|
case "ThrottlingException":
|
|
1855
1855
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1856
|
-
throw await
|
|
1856
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1857
1857
|
case "ValidationException":
|
|
1858
1858
|
case "com.amazonaws.tnb#ValidationException":
|
|
1859
|
-
throw await
|
|
1859
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1860
1860
|
default:
|
|
1861
1861
|
const parsedBody = parsedOutput.body;
|
|
1862
1862
|
throwDefaultError({
|
|
@@ -1867,9 +1867,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1867
1867
|
});
|
|
1868
1868
|
}
|
|
1869
1869
|
};
|
|
1870
|
-
export const
|
|
1870
|
+
export const de_PutSolFunctionPackageContentCommand = async (output, context) => {
|
|
1871
1871
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1872
|
-
return
|
|
1872
|
+
return de_PutSolFunctionPackageContentCommandError(output, context);
|
|
1873
1873
|
}
|
|
1874
1874
|
const contents = map({
|
|
1875
1875
|
$metadata: deserializeMetadata(output),
|
|
@@ -1879,7 +1879,7 @@ export const deserializeAws_restJson1PutSolFunctionPackageContentCommand = async
|
|
|
1879
1879
|
contents.id = __expectString(data.id);
|
|
1880
1880
|
}
|
|
1881
1881
|
if (data.metadata != null) {
|
|
1882
|
-
contents.metadata =
|
|
1882
|
+
contents.metadata = de_PutSolFunctionPackageContentMetadata(data.metadata, context);
|
|
1883
1883
|
}
|
|
1884
1884
|
if (data.vnfProductName != null) {
|
|
1885
1885
|
contents.vnfProductName = __expectString(data.vnfProductName);
|
|
@@ -1895,7 +1895,7 @@ export const deserializeAws_restJson1PutSolFunctionPackageContentCommand = async
|
|
|
1895
1895
|
}
|
|
1896
1896
|
return contents;
|
|
1897
1897
|
};
|
|
1898
|
-
const
|
|
1898
|
+
const de_PutSolFunctionPackageContentCommandError = async (output, context) => {
|
|
1899
1899
|
const parsedOutput = {
|
|
1900
1900
|
...output,
|
|
1901
1901
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1904,19 +1904,19 @@ const deserializeAws_restJson1PutSolFunctionPackageContentCommandError = async (
|
|
|
1904
1904
|
switch (errorCode) {
|
|
1905
1905
|
case "AccessDeniedException":
|
|
1906
1906
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1907
|
-
throw await
|
|
1907
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1908
1908
|
case "InternalServerException":
|
|
1909
1909
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1910
|
-
throw await
|
|
1910
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1911
1911
|
case "ResourceNotFoundException":
|
|
1912
1912
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1913
|
-
throw await
|
|
1913
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1914
1914
|
case "ThrottlingException":
|
|
1915
1915
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1916
|
-
throw await
|
|
1916
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1917
1917
|
case "ValidationException":
|
|
1918
1918
|
case "com.amazonaws.tnb#ValidationException":
|
|
1919
|
-
throw await
|
|
1919
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1920
1920
|
default:
|
|
1921
1921
|
const parsedBody = parsedOutput.body;
|
|
1922
1922
|
throwDefaultError({
|
|
@@ -1927,9 +1927,9 @@ const deserializeAws_restJson1PutSolFunctionPackageContentCommandError = async (
|
|
|
1927
1927
|
});
|
|
1928
1928
|
}
|
|
1929
1929
|
};
|
|
1930
|
-
export const
|
|
1930
|
+
export const de_PutSolNetworkPackageContentCommand = async (output, context) => {
|
|
1931
1931
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1932
|
-
return
|
|
1932
|
+
return de_PutSolNetworkPackageContentCommandError(output, context);
|
|
1933
1933
|
}
|
|
1934
1934
|
const contents = map({
|
|
1935
1935
|
$metadata: deserializeMetadata(output),
|
|
@@ -1942,7 +1942,7 @@ export const deserializeAws_restJson1PutSolNetworkPackageContentCommand = async
|
|
|
1942
1942
|
contents.id = __expectString(data.id);
|
|
1943
1943
|
}
|
|
1944
1944
|
if (data.metadata != null) {
|
|
1945
|
-
contents.metadata =
|
|
1945
|
+
contents.metadata = de_PutSolNetworkPackageContentMetadata(data.metadata, context);
|
|
1946
1946
|
}
|
|
1947
1947
|
if (data.nsdId != null) {
|
|
1948
1948
|
contents.nsdId = __expectString(data.nsdId);
|
|
@@ -1954,11 +1954,11 @@ export const deserializeAws_restJson1PutSolNetworkPackageContentCommand = async
|
|
|
1954
1954
|
contents.nsdVersion = __expectString(data.nsdVersion);
|
|
1955
1955
|
}
|
|
1956
1956
|
if (data.vnfPkgIds != null) {
|
|
1957
|
-
contents.vnfPkgIds =
|
|
1957
|
+
contents.vnfPkgIds = de_VnfPkgIdList(data.vnfPkgIds, context);
|
|
1958
1958
|
}
|
|
1959
1959
|
return contents;
|
|
1960
1960
|
};
|
|
1961
|
-
const
|
|
1961
|
+
const de_PutSolNetworkPackageContentCommandError = async (output, context) => {
|
|
1962
1962
|
const parsedOutput = {
|
|
1963
1963
|
...output,
|
|
1964
1964
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1967,19 +1967,19 @@ const deserializeAws_restJson1PutSolNetworkPackageContentCommandError = async (o
|
|
|
1967
1967
|
switch (errorCode) {
|
|
1968
1968
|
case "AccessDeniedException":
|
|
1969
1969
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1970
|
-
throw await
|
|
1970
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1971
1971
|
case "InternalServerException":
|
|
1972
1972
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1973
|
-
throw await
|
|
1973
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1974
1974
|
case "ResourceNotFoundException":
|
|
1975
1975
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1976
|
-
throw await
|
|
1976
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1977
1977
|
case "ThrottlingException":
|
|
1978
1978
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1979
|
-
throw await
|
|
1979
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1980
1980
|
case "ValidationException":
|
|
1981
1981
|
case "com.amazonaws.tnb#ValidationException":
|
|
1982
|
-
throw await
|
|
1982
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1983
1983
|
default:
|
|
1984
1984
|
const parsedBody = parsedOutput.body;
|
|
1985
1985
|
throwDefaultError({
|
|
@@ -1990,9 +1990,9 @@ const deserializeAws_restJson1PutSolNetworkPackageContentCommandError = async (o
|
|
|
1990
1990
|
});
|
|
1991
1991
|
}
|
|
1992
1992
|
};
|
|
1993
|
-
export const
|
|
1993
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1994
1994
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1995
|
-
return
|
|
1995
|
+
return de_TagResourceCommandError(output, context);
|
|
1996
1996
|
}
|
|
1997
1997
|
const contents = map({
|
|
1998
1998
|
$metadata: deserializeMetadata(output),
|
|
@@ -2000,7 +2000,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
|
|
|
2000
2000
|
await collectBody(output.body, context);
|
|
2001
2001
|
return contents;
|
|
2002
2002
|
};
|
|
2003
|
-
const
|
|
2003
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
2004
2004
|
const parsedOutput = {
|
|
2005
2005
|
...output,
|
|
2006
2006
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2009,19 +2009,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2009
2009
|
switch (errorCode) {
|
|
2010
2010
|
case "AccessDeniedException":
|
|
2011
2011
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2012
|
-
throw await
|
|
2012
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2013
2013
|
case "InternalServerException":
|
|
2014
2014
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2015
|
-
throw await
|
|
2015
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2016
2016
|
case "ResourceNotFoundException":
|
|
2017
2017
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2018
|
-
throw await
|
|
2018
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2019
2019
|
case "ThrottlingException":
|
|
2020
2020
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2021
|
-
throw await
|
|
2021
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2022
2022
|
case "ValidationException":
|
|
2023
2023
|
case "com.amazonaws.tnb#ValidationException":
|
|
2024
|
-
throw await
|
|
2024
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2025
2025
|
default:
|
|
2026
2026
|
const parsedBody = parsedOutput.body;
|
|
2027
2027
|
throwDefaultError({
|
|
@@ -2032,9 +2032,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2032
2032
|
});
|
|
2033
2033
|
}
|
|
2034
2034
|
};
|
|
2035
|
-
export const
|
|
2035
|
+
export const de_TerminateSolNetworkInstanceCommand = async (output, context) => {
|
|
2036
2036
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2037
|
-
return
|
|
2037
|
+
return de_TerminateSolNetworkInstanceCommandError(output, context);
|
|
2038
2038
|
}
|
|
2039
2039
|
const contents = map({
|
|
2040
2040
|
$metadata: deserializeMetadata(output),
|
|
@@ -2044,11 +2044,11 @@ export const deserializeAws_restJson1TerminateSolNetworkInstanceCommand = async
|
|
|
2044
2044
|
contents.nsLcmOpOccId = __expectString(data.nsLcmOpOccId);
|
|
2045
2045
|
}
|
|
2046
2046
|
if (data.tags != null) {
|
|
2047
|
-
contents.tags =
|
|
2047
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
2048
2048
|
}
|
|
2049
2049
|
return contents;
|
|
2050
2050
|
};
|
|
2051
|
-
const
|
|
2051
|
+
const de_TerminateSolNetworkInstanceCommandError = async (output, context) => {
|
|
2052
2052
|
const parsedOutput = {
|
|
2053
2053
|
...output,
|
|
2054
2054
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2057,22 +2057,22 @@ const deserializeAws_restJson1TerminateSolNetworkInstanceCommandError = async (o
|
|
|
2057
2057
|
switch (errorCode) {
|
|
2058
2058
|
case "AccessDeniedException":
|
|
2059
2059
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2060
|
-
throw await
|
|
2060
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2061
2061
|
case "InternalServerException":
|
|
2062
2062
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2063
|
-
throw await
|
|
2063
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2064
2064
|
case "ResourceNotFoundException":
|
|
2065
2065
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2066
|
-
throw await
|
|
2066
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2067
2067
|
case "ServiceQuotaExceededException":
|
|
2068
2068
|
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
2069
|
-
throw await
|
|
2069
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2070
2070
|
case "ThrottlingException":
|
|
2071
2071
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2072
|
-
throw await
|
|
2072
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2073
2073
|
case "ValidationException":
|
|
2074
2074
|
case "com.amazonaws.tnb#ValidationException":
|
|
2075
|
-
throw await
|
|
2075
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2076
2076
|
default:
|
|
2077
2077
|
const parsedBody = parsedOutput.body;
|
|
2078
2078
|
throwDefaultError({
|
|
@@ -2083,9 +2083,9 @@ const deserializeAws_restJson1TerminateSolNetworkInstanceCommandError = async (o
|
|
|
2083
2083
|
});
|
|
2084
2084
|
}
|
|
2085
2085
|
};
|
|
2086
|
-
export const
|
|
2086
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
2087
2087
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2088
|
-
return
|
|
2088
|
+
return de_UntagResourceCommandError(output, context);
|
|
2089
2089
|
}
|
|
2090
2090
|
const contents = map({
|
|
2091
2091
|
$metadata: deserializeMetadata(output),
|
|
@@ -2093,7 +2093,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
|
|
|
2093
2093
|
await collectBody(output.body, context);
|
|
2094
2094
|
return contents;
|
|
2095
2095
|
};
|
|
2096
|
-
const
|
|
2096
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
2097
2097
|
const parsedOutput = {
|
|
2098
2098
|
...output,
|
|
2099
2099
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2102,19 +2102,19 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2102
2102
|
switch (errorCode) {
|
|
2103
2103
|
case "AccessDeniedException":
|
|
2104
2104
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2105
|
-
throw await
|
|
2105
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2106
2106
|
case "InternalServerException":
|
|
2107
2107
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2108
|
-
throw await
|
|
2108
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2109
2109
|
case "ResourceNotFoundException":
|
|
2110
2110
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2111
|
-
throw await
|
|
2111
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2112
2112
|
case "ThrottlingException":
|
|
2113
2113
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2114
|
-
throw await
|
|
2114
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2115
2115
|
case "ValidationException":
|
|
2116
2116
|
case "com.amazonaws.tnb#ValidationException":
|
|
2117
|
-
throw await
|
|
2117
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2118
2118
|
default:
|
|
2119
2119
|
const parsedBody = parsedOutput.body;
|
|
2120
2120
|
throwDefaultError({
|
|
@@ -2125,9 +2125,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2125
2125
|
});
|
|
2126
2126
|
}
|
|
2127
2127
|
};
|
|
2128
|
-
export const
|
|
2128
|
+
export const de_UpdateSolFunctionPackageCommand = async (output, context) => {
|
|
2129
2129
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2130
|
-
return
|
|
2130
|
+
return de_UpdateSolFunctionPackageCommandError(output, context);
|
|
2131
2131
|
}
|
|
2132
2132
|
const contents = map({
|
|
2133
2133
|
$metadata: deserializeMetadata(output),
|
|
@@ -2138,7 +2138,7 @@ export const deserializeAws_restJson1UpdateSolFunctionPackageCommand = async (ou
|
|
|
2138
2138
|
}
|
|
2139
2139
|
return contents;
|
|
2140
2140
|
};
|
|
2141
|
-
const
|
|
2141
|
+
const de_UpdateSolFunctionPackageCommandError = async (output, context) => {
|
|
2142
2142
|
const parsedOutput = {
|
|
2143
2143
|
...output,
|
|
2144
2144
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2147,19 +2147,19 @@ const deserializeAws_restJson1UpdateSolFunctionPackageCommandError = async (outp
|
|
|
2147
2147
|
switch (errorCode) {
|
|
2148
2148
|
case "AccessDeniedException":
|
|
2149
2149
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2150
|
-
throw await
|
|
2150
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2151
2151
|
case "InternalServerException":
|
|
2152
2152
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2153
|
-
throw await
|
|
2153
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2154
2154
|
case "ResourceNotFoundException":
|
|
2155
2155
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2156
|
-
throw await
|
|
2156
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2157
2157
|
case "ThrottlingException":
|
|
2158
2158
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2159
|
-
throw await
|
|
2159
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2160
2160
|
case "ValidationException":
|
|
2161
2161
|
case "com.amazonaws.tnb#ValidationException":
|
|
2162
|
-
throw await
|
|
2162
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2163
2163
|
default:
|
|
2164
2164
|
const parsedBody = parsedOutput.body;
|
|
2165
2165
|
throwDefaultError({
|
|
@@ -2170,9 +2170,9 @@ const deserializeAws_restJson1UpdateSolFunctionPackageCommandError = async (outp
|
|
|
2170
2170
|
});
|
|
2171
2171
|
}
|
|
2172
2172
|
};
|
|
2173
|
-
export const
|
|
2173
|
+
export const de_UpdateSolNetworkInstanceCommand = async (output, context) => {
|
|
2174
2174
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2175
|
-
return
|
|
2175
|
+
return de_UpdateSolNetworkInstanceCommandError(output, context);
|
|
2176
2176
|
}
|
|
2177
2177
|
const contents = map({
|
|
2178
2178
|
$metadata: deserializeMetadata(output),
|
|
@@ -2182,11 +2182,11 @@ export const deserializeAws_restJson1UpdateSolNetworkInstanceCommand = async (ou
|
|
|
2182
2182
|
contents.nsLcmOpOccId = __expectString(data.nsLcmOpOccId);
|
|
2183
2183
|
}
|
|
2184
2184
|
if (data.tags != null) {
|
|
2185
|
-
contents.tags =
|
|
2185
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
2186
2186
|
}
|
|
2187
2187
|
return contents;
|
|
2188
2188
|
};
|
|
2189
|
-
const
|
|
2189
|
+
const de_UpdateSolNetworkInstanceCommandError = async (output, context) => {
|
|
2190
2190
|
const parsedOutput = {
|
|
2191
2191
|
...output,
|
|
2192
2192
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2195,22 +2195,22 @@ const deserializeAws_restJson1UpdateSolNetworkInstanceCommandError = async (outp
|
|
|
2195
2195
|
switch (errorCode) {
|
|
2196
2196
|
case "AccessDeniedException":
|
|
2197
2197
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2198
|
-
throw await
|
|
2198
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2199
2199
|
case "InternalServerException":
|
|
2200
2200
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2201
|
-
throw await
|
|
2201
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2202
2202
|
case "ResourceNotFoundException":
|
|
2203
2203
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2204
|
-
throw await
|
|
2204
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2205
2205
|
case "ServiceQuotaExceededException":
|
|
2206
2206
|
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
2207
|
-
throw await
|
|
2207
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2208
2208
|
case "ThrottlingException":
|
|
2209
2209
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2210
|
-
throw await
|
|
2210
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2211
2211
|
case "ValidationException":
|
|
2212
2212
|
case "com.amazonaws.tnb#ValidationException":
|
|
2213
|
-
throw await
|
|
2213
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2214
2214
|
default:
|
|
2215
2215
|
const parsedBody = parsedOutput.body;
|
|
2216
2216
|
throwDefaultError({
|
|
@@ -2221,9 +2221,9 @@ const deserializeAws_restJson1UpdateSolNetworkInstanceCommandError = async (outp
|
|
|
2221
2221
|
});
|
|
2222
2222
|
}
|
|
2223
2223
|
};
|
|
2224
|
-
export const
|
|
2224
|
+
export const de_UpdateSolNetworkPackageCommand = async (output, context) => {
|
|
2225
2225
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2226
|
-
return
|
|
2226
|
+
return de_UpdateSolNetworkPackageCommandError(output, context);
|
|
2227
2227
|
}
|
|
2228
2228
|
const contents = map({
|
|
2229
2229
|
$metadata: deserializeMetadata(output),
|
|
@@ -2234,7 +2234,7 @@ export const deserializeAws_restJson1UpdateSolNetworkPackageCommand = async (out
|
|
|
2234
2234
|
}
|
|
2235
2235
|
return contents;
|
|
2236
2236
|
};
|
|
2237
|
-
const
|
|
2237
|
+
const de_UpdateSolNetworkPackageCommandError = async (output, context) => {
|
|
2238
2238
|
const parsedOutput = {
|
|
2239
2239
|
...output,
|
|
2240
2240
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2243,19 +2243,19 @@ const deserializeAws_restJson1UpdateSolNetworkPackageCommandError = async (outpu
|
|
|
2243
2243
|
switch (errorCode) {
|
|
2244
2244
|
case "AccessDeniedException":
|
|
2245
2245
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2246
|
-
throw await
|
|
2246
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2247
2247
|
case "InternalServerException":
|
|
2248
2248
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2249
|
-
throw await
|
|
2249
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2250
2250
|
case "ResourceNotFoundException":
|
|
2251
2251
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2252
|
-
throw await
|
|
2252
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2253
2253
|
case "ThrottlingException":
|
|
2254
2254
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2255
|
-
throw await
|
|
2255
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2256
2256
|
case "ValidationException":
|
|
2257
2257
|
case "com.amazonaws.tnb#ValidationException":
|
|
2258
|
-
throw await
|
|
2258
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2259
2259
|
default:
|
|
2260
2260
|
const parsedBody = parsedOutput.body;
|
|
2261
2261
|
throwDefaultError({
|
|
@@ -2266,9 +2266,9 @@ const deserializeAws_restJson1UpdateSolNetworkPackageCommandError = async (outpu
|
|
|
2266
2266
|
});
|
|
2267
2267
|
}
|
|
2268
2268
|
};
|
|
2269
|
-
export const
|
|
2269
|
+
export const de_ValidateSolFunctionPackageContentCommand = async (output, context) => {
|
|
2270
2270
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2271
|
-
return
|
|
2271
|
+
return de_ValidateSolFunctionPackageContentCommandError(output, context);
|
|
2272
2272
|
}
|
|
2273
2273
|
const contents = map({
|
|
2274
2274
|
$metadata: deserializeMetadata(output),
|
|
@@ -2278,7 +2278,7 @@ export const deserializeAws_restJson1ValidateSolFunctionPackageContentCommand =
|
|
|
2278
2278
|
contents.id = __expectString(data.id);
|
|
2279
2279
|
}
|
|
2280
2280
|
if (data.metadata != null) {
|
|
2281
|
-
contents.metadata =
|
|
2281
|
+
contents.metadata = de_ValidateSolFunctionPackageContentMetadata(data.metadata, context);
|
|
2282
2282
|
}
|
|
2283
2283
|
if (data.vnfProductName != null) {
|
|
2284
2284
|
contents.vnfProductName = __expectString(data.vnfProductName);
|
|
@@ -2294,7 +2294,7 @@ export const deserializeAws_restJson1ValidateSolFunctionPackageContentCommand =
|
|
|
2294
2294
|
}
|
|
2295
2295
|
return contents;
|
|
2296
2296
|
};
|
|
2297
|
-
const
|
|
2297
|
+
const de_ValidateSolFunctionPackageContentCommandError = async (output, context) => {
|
|
2298
2298
|
const parsedOutput = {
|
|
2299
2299
|
...output,
|
|
2300
2300
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2303,19 +2303,19 @@ const deserializeAws_restJson1ValidateSolFunctionPackageContentCommandError = as
|
|
|
2303
2303
|
switch (errorCode) {
|
|
2304
2304
|
case "AccessDeniedException":
|
|
2305
2305
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2306
|
-
throw await
|
|
2306
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2307
2307
|
case "InternalServerException":
|
|
2308
2308
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2309
|
-
throw await
|
|
2309
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2310
2310
|
case "ResourceNotFoundException":
|
|
2311
2311
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2312
|
-
throw await
|
|
2312
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2313
2313
|
case "ThrottlingException":
|
|
2314
2314
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2315
|
-
throw await
|
|
2315
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2316
2316
|
case "ValidationException":
|
|
2317
2317
|
case "com.amazonaws.tnb#ValidationException":
|
|
2318
|
-
throw await
|
|
2318
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2319
2319
|
default:
|
|
2320
2320
|
const parsedBody = parsedOutput.body;
|
|
2321
2321
|
throwDefaultError({
|
|
@@ -2326,9 +2326,9 @@ const deserializeAws_restJson1ValidateSolFunctionPackageContentCommandError = as
|
|
|
2326
2326
|
});
|
|
2327
2327
|
}
|
|
2328
2328
|
};
|
|
2329
|
-
export const
|
|
2329
|
+
export const de_ValidateSolNetworkPackageContentCommand = async (output, context) => {
|
|
2330
2330
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2331
|
-
return
|
|
2331
|
+
return de_ValidateSolNetworkPackageContentCommandError(output, context);
|
|
2332
2332
|
}
|
|
2333
2333
|
const contents = map({
|
|
2334
2334
|
$metadata: deserializeMetadata(output),
|
|
@@ -2341,7 +2341,7 @@ export const deserializeAws_restJson1ValidateSolNetworkPackageContentCommand = a
|
|
|
2341
2341
|
contents.id = __expectString(data.id);
|
|
2342
2342
|
}
|
|
2343
2343
|
if (data.metadata != null) {
|
|
2344
|
-
contents.metadata =
|
|
2344
|
+
contents.metadata = de_ValidateSolNetworkPackageContentMetadata(data.metadata, context);
|
|
2345
2345
|
}
|
|
2346
2346
|
if (data.nsdId != null) {
|
|
2347
2347
|
contents.nsdId = __expectString(data.nsdId);
|
|
@@ -2353,11 +2353,11 @@ export const deserializeAws_restJson1ValidateSolNetworkPackageContentCommand = a
|
|
|
2353
2353
|
contents.nsdVersion = __expectString(data.nsdVersion);
|
|
2354
2354
|
}
|
|
2355
2355
|
if (data.vnfPkgIds != null) {
|
|
2356
|
-
contents.vnfPkgIds =
|
|
2356
|
+
contents.vnfPkgIds = de_VnfPkgIdList(data.vnfPkgIds, context);
|
|
2357
2357
|
}
|
|
2358
2358
|
return contents;
|
|
2359
2359
|
};
|
|
2360
|
-
const
|
|
2360
|
+
const de_ValidateSolNetworkPackageContentCommandError = async (output, context) => {
|
|
2361
2361
|
const parsedOutput = {
|
|
2362
2362
|
...output,
|
|
2363
2363
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2366,19 +2366,19 @@ const deserializeAws_restJson1ValidateSolNetworkPackageContentCommandError = asy
|
|
|
2366
2366
|
switch (errorCode) {
|
|
2367
2367
|
case "AccessDeniedException":
|
|
2368
2368
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2369
|
-
throw await
|
|
2369
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2370
2370
|
case "InternalServerException":
|
|
2371
2371
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2372
|
-
throw await
|
|
2372
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2373
2373
|
case "ResourceNotFoundException":
|
|
2374
2374
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2375
|
-
throw await
|
|
2375
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2376
2376
|
case "ThrottlingException":
|
|
2377
2377
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2378
|
-
throw await
|
|
2378
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2379
2379
|
case "ValidationException":
|
|
2380
2380
|
case "com.amazonaws.tnb#ValidationException":
|
|
2381
|
-
throw await
|
|
2381
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2382
2382
|
default:
|
|
2383
2383
|
const parsedBody = parsedOutput.body;
|
|
2384
2384
|
throwDefaultError({
|
|
@@ -2390,7 +2390,7 @@ const deserializeAws_restJson1ValidateSolNetworkPackageContentCommandError = asy
|
|
|
2390
2390
|
}
|
|
2391
2391
|
};
|
|
2392
2392
|
const map = __map;
|
|
2393
|
-
const
|
|
2393
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2394
2394
|
const contents = map({});
|
|
2395
2395
|
const data = parsedOutput.body;
|
|
2396
2396
|
if (data.message != null) {
|
|
@@ -2402,7 +2402,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
|
|
|
2402
2402
|
});
|
|
2403
2403
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2404
2404
|
};
|
|
2405
|
-
const
|
|
2405
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2406
2406
|
const contents = map({});
|
|
2407
2407
|
const data = parsedOutput.body;
|
|
2408
2408
|
if (data.message != null) {
|
|
@@ -2414,7 +2414,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
2414
2414
|
});
|
|
2415
2415
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2416
2416
|
};
|
|
2417
|
-
const
|
|
2417
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2418
2418
|
const contents = map({});
|
|
2419
2419
|
const data = parsedOutput.body;
|
|
2420
2420
|
if (data.message != null) {
|
|
@@ -2426,7 +2426,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
2426
2426
|
});
|
|
2427
2427
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2428
2428
|
};
|
|
2429
|
-
const
|
|
2429
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
2430
2430
|
const contents = map({});
|
|
2431
2431
|
const data = parsedOutput.body;
|
|
2432
2432
|
if (data.message != null) {
|
|
@@ -2438,7 +2438,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
2438
2438
|
});
|
|
2439
2439
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2440
2440
|
};
|
|
2441
|
-
const
|
|
2441
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2442
2442
|
const contents = map({});
|
|
2443
2443
|
const data = parsedOutput.body;
|
|
2444
2444
|
if (data.message != null) {
|
|
@@ -2450,7 +2450,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
2450
2450
|
});
|
|
2451
2451
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2452
2452
|
};
|
|
2453
|
-
const
|
|
2453
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2454
2454
|
const contents = map({});
|
|
2455
2455
|
const data = parsedOutput.body;
|
|
2456
2456
|
if (data.message != null) {
|
|
@@ -2462,7 +2462,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
2462
2462
|
});
|
|
2463
2463
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2464
2464
|
};
|
|
2465
|
-
const
|
|
2465
|
+
const se_TagMap = (input, context) => {
|
|
2466
2466
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2467
2467
|
if (value === null) {
|
|
2468
2468
|
return acc;
|
|
@@ -2471,63 +2471,63 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
2471
2471
|
return acc;
|
|
2472
2472
|
}, {});
|
|
2473
2473
|
};
|
|
2474
|
-
const
|
|
2474
|
+
const se_UpdateSolNetworkModify = (input, context) => {
|
|
2475
2475
|
return {
|
|
2476
2476
|
...(input.vnfConfigurableProperties != null && {
|
|
2477
|
-
vnfConfigurableProperties:
|
|
2477
|
+
vnfConfigurableProperties: se_Document(input.vnfConfigurableProperties, context),
|
|
2478
2478
|
}),
|
|
2479
2479
|
...(input.vnfInstanceId != null && { vnfInstanceId: input.vnfInstanceId }),
|
|
2480
2480
|
};
|
|
2481
2481
|
};
|
|
2482
|
-
const
|
|
2482
|
+
const se_Document = (input, context) => {
|
|
2483
2483
|
return input;
|
|
2484
2484
|
};
|
|
2485
|
-
const
|
|
2485
|
+
const de_ErrorInfo = (output, context) => {
|
|
2486
2486
|
return {
|
|
2487
2487
|
cause: __expectString(output.cause),
|
|
2488
2488
|
details: __expectString(output.details),
|
|
2489
2489
|
};
|
|
2490
2490
|
};
|
|
2491
|
-
const
|
|
2491
|
+
const de_FunctionArtifactMeta = (output, context) => {
|
|
2492
2492
|
return {
|
|
2493
|
-
overrides: output.overrides != null ?
|
|
2493
|
+
overrides: output.overrides != null ? de_OverrideList(output.overrides, context) : undefined,
|
|
2494
2494
|
};
|
|
2495
2495
|
};
|
|
2496
|
-
const
|
|
2496
|
+
const de_GetSolFunctionInstanceMetadata = (output, context) => {
|
|
2497
2497
|
return {
|
|
2498
2498
|
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2499
2499
|
lastModified: output.lastModified != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastModified)) : undefined,
|
|
2500
2500
|
};
|
|
2501
2501
|
};
|
|
2502
|
-
const
|
|
2502
|
+
const de_GetSolFunctionPackageMetadata = (output, context) => {
|
|
2503
2503
|
return {
|
|
2504
2504
|
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2505
2505
|
lastModified: output.lastModified != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastModified)) : undefined,
|
|
2506
|
-
vnfd: output.vnfd != null ?
|
|
2506
|
+
vnfd: output.vnfd != null ? de_FunctionArtifactMeta(output.vnfd, context) : undefined,
|
|
2507
2507
|
};
|
|
2508
2508
|
};
|
|
2509
|
-
const
|
|
2509
|
+
const de_GetSolInstantiatedVnfInfo = (output, context) => {
|
|
2510
2510
|
return {
|
|
2511
2511
|
vnfState: __expectString(output.vnfState),
|
|
2512
2512
|
};
|
|
2513
2513
|
};
|
|
2514
|
-
const
|
|
2514
|
+
const de_GetSolNetworkInstanceMetadata = (output, context) => {
|
|
2515
2515
|
return {
|
|
2516
2516
|
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2517
2517
|
lastModified: output.lastModified != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastModified)) : undefined,
|
|
2518
2518
|
};
|
|
2519
2519
|
};
|
|
2520
|
-
const
|
|
2520
|
+
const de_GetSolNetworkOperationMetadata = (output, context) => {
|
|
2521
2521
|
return {
|
|
2522
2522
|
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2523
2523
|
lastModified: output.lastModified != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastModified)) : undefined,
|
|
2524
2524
|
};
|
|
2525
2525
|
};
|
|
2526
|
-
const
|
|
2526
|
+
const de_GetSolNetworkOperationTaskDetails = (output, context) => {
|
|
2527
2527
|
return {
|
|
2528
|
-
taskContext: output.taskContext != null ?
|
|
2528
|
+
taskContext: output.taskContext != null ? de_StringMap(output.taskContext, context) : undefined,
|
|
2529
2529
|
taskEndTime: output.taskEndTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.taskEndTime)) : undefined,
|
|
2530
|
-
taskErrorDetails: output.taskErrorDetails != null ?
|
|
2530
|
+
taskErrorDetails: output.taskErrorDetails != null ? de_ErrorInfo(output.taskErrorDetails, context) : undefined,
|
|
2531
2531
|
taskName: __expectString(output.taskName),
|
|
2532
2532
|
taskStartTime: output.taskStartTime != null
|
|
2533
2533
|
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.taskStartTime))
|
|
@@ -2535,102 +2535,94 @@ const deserializeAws_restJson1GetSolNetworkOperationTaskDetails = (output, conte
|
|
|
2535
2535
|
taskStatus: __expectString(output.taskStatus),
|
|
2536
2536
|
};
|
|
2537
2537
|
};
|
|
2538
|
-
const
|
|
2538
|
+
const de_GetSolNetworkOperationTasksList = (output, context) => {
|
|
2539
2539
|
const retVal = (output || [])
|
|
2540
2540
|
.filter((e) => e != null)
|
|
2541
2541
|
.map((entry) => {
|
|
2542
2542
|
if (entry === null) {
|
|
2543
2543
|
return null;
|
|
2544
2544
|
}
|
|
2545
|
-
return
|
|
2545
|
+
return de_GetSolNetworkOperationTaskDetails(entry, context);
|
|
2546
2546
|
});
|
|
2547
2547
|
return retVal;
|
|
2548
2548
|
};
|
|
2549
|
-
const
|
|
2549
|
+
const de_GetSolNetworkPackageMetadata = (output, context) => {
|
|
2550
2550
|
return {
|
|
2551
2551
|
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2552
2552
|
lastModified: output.lastModified != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastModified)) : undefined,
|
|
2553
|
-
nsd: output.nsd != null ?
|
|
2553
|
+
nsd: output.nsd != null ? de_NetworkArtifactMeta(output.nsd, context) : undefined,
|
|
2554
2554
|
};
|
|
2555
2555
|
};
|
|
2556
|
-
const
|
|
2556
|
+
const de_GetSolVnfcResourceInfo = (output, context) => {
|
|
2557
2557
|
return {
|
|
2558
|
-
metadata: output.metadata != null
|
|
2559
|
-
? deserializeAws_restJson1GetSolVnfcResourceInfoMetadata(output.metadata, context)
|
|
2560
|
-
: undefined,
|
|
2558
|
+
metadata: output.metadata != null ? de_GetSolVnfcResourceInfoMetadata(output.metadata, context) : undefined,
|
|
2561
2559
|
};
|
|
2562
2560
|
};
|
|
2563
|
-
const
|
|
2561
|
+
const de_GetSolVnfcResourceInfoList = (output, context) => {
|
|
2564
2562
|
const retVal = (output || [])
|
|
2565
2563
|
.filter((e) => e != null)
|
|
2566
2564
|
.map((entry) => {
|
|
2567
2565
|
if (entry === null) {
|
|
2568
2566
|
return null;
|
|
2569
2567
|
}
|
|
2570
|
-
return
|
|
2568
|
+
return de_GetSolVnfcResourceInfo(entry, context);
|
|
2571
2569
|
});
|
|
2572
2570
|
return retVal;
|
|
2573
2571
|
};
|
|
2574
|
-
const
|
|
2572
|
+
const de_GetSolVnfcResourceInfoMetadata = (output, context) => {
|
|
2575
2573
|
return {
|
|
2576
2574
|
cluster: __expectString(output.cluster),
|
|
2577
2575
|
helmChart: __expectString(output.helmChart),
|
|
2578
2576
|
nodeGroup: __expectString(output.nodeGroup),
|
|
2579
2577
|
};
|
|
2580
2578
|
};
|
|
2581
|
-
const
|
|
2579
|
+
const de_GetSolVnfInfo = (output, context) => {
|
|
2582
2580
|
return {
|
|
2583
2581
|
vnfState: __expectString(output.vnfState),
|
|
2584
|
-
vnfcResourceInfo: output.vnfcResourceInfo != null
|
|
2585
|
-
? deserializeAws_restJson1GetSolVnfcResourceInfoList(output.vnfcResourceInfo, context)
|
|
2586
|
-
: undefined,
|
|
2582
|
+
vnfcResourceInfo: output.vnfcResourceInfo != null ? de_GetSolVnfcResourceInfoList(output.vnfcResourceInfo, context) : undefined,
|
|
2587
2583
|
};
|
|
2588
2584
|
};
|
|
2589
|
-
const
|
|
2585
|
+
const de_LcmOperationInfo = (output, context) => {
|
|
2590
2586
|
return {
|
|
2591
2587
|
nsLcmOpOccId: __expectString(output.nsLcmOpOccId),
|
|
2592
2588
|
};
|
|
2593
2589
|
};
|
|
2594
|
-
const
|
|
2590
|
+
const de_ListSolFunctionInstanceInfo = (output, context) => {
|
|
2595
2591
|
return {
|
|
2596
2592
|
arn: __expectString(output.arn),
|
|
2597
2593
|
id: __expectString(output.id),
|
|
2598
2594
|
instantiatedVnfInfo: output.instantiatedVnfInfo != null
|
|
2599
|
-
?
|
|
2595
|
+
? de_GetSolInstantiatedVnfInfo(output.instantiatedVnfInfo, context)
|
|
2600
2596
|
: undefined,
|
|
2601
2597
|
instantiationState: __expectString(output.instantiationState),
|
|
2602
|
-
metadata: output.metadata != null
|
|
2603
|
-
? deserializeAws_restJson1ListSolFunctionInstanceMetadata(output.metadata, context)
|
|
2604
|
-
: undefined,
|
|
2598
|
+
metadata: output.metadata != null ? de_ListSolFunctionInstanceMetadata(output.metadata, context) : undefined,
|
|
2605
2599
|
nsInstanceId: __expectString(output.nsInstanceId),
|
|
2606
2600
|
vnfPkgId: __expectString(output.vnfPkgId),
|
|
2607
2601
|
vnfPkgName: __expectString(output.vnfPkgName),
|
|
2608
2602
|
};
|
|
2609
2603
|
};
|
|
2610
|
-
const
|
|
2604
|
+
const de_ListSolFunctionInstanceMetadata = (output, context) => {
|
|
2611
2605
|
return {
|
|
2612
2606
|
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2613
2607
|
lastModified: output.lastModified != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastModified)) : undefined,
|
|
2614
2608
|
};
|
|
2615
2609
|
};
|
|
2616
|
-
const
|
|
2610
|
+
const de_ListSolFunctionInstanceResources = (output, context) => {
|
|
2617
2611
|
const retVal = (output || [])
|
|
2618
2612
|
.filter((e) => e != null)
|
|
2619
2613
|
.map((entry) => {
|
|
2620
2614
|
if (entry === null) {
|
|
2621
2615
|
return null;
|
|
2622
2616
|
}
|
|
2623
|
-
return
|
|
2617
|
+
return de_ListSolFunctionInstanceInfo(entry, context);
|
|
2624
2618
|
});
|
|
2625
2619
|
return retVal;
|
|
2626
2620
|
};
|
|
2627
|
-
const
|
|
2621
|
+
const de_ListSolFunctionPackageInfo = (output, context) => {
|
|
2628
2622
|
return {
|
|
2629
2623
|
arn: __expectString(output.arn),
|
|
2630
2624
|
id: __expectString(output.id),
|
|
2631
|
-
metadata: output.metadata != null
|
|
2632
|
-
? deserializeAws_restJson1ListSolFunctionPackageMetadata(output.metadata, context)
|
|
2633
|
-
: undefined,
|
|
2625
|
+
metadata: output.metadata != null ? de_ListSolFunctionPackageMetadata(output.metadata, context) : undefined,
|
|
2634
2626
|
onboardingState: __expectString(output.onboardingState),
|
|
2635
2627
|
operationalState: __expectString(output.operationalState),
|
|
2636
2628
|
usageState: __expectString(output.usageState),
|
|
@@ -2640,30 +2632,28 @@ const deserializeAws_restJson1ListSolFunctionPackageInfo = (output, context) =>
|
|
|
2640
2632
|
vnfdVersion: __expectString(output.vnfdVersion),
|
|
2641
2633
|
};
|
|
2642
2634
|
};
|
|
2643
|
-
const
|
|
2635
|
+
const de_ListSolFunctionPackageMetadata = (output, context) => {
|
|
2644
2636
|
return {
|
|
2645
2637
|
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2646
2638
|
lastModified: output.lastModified != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastModified)) : undefined,
|
|
2647
2639
|
};
|
|
2648
2640
|
};
|
|
2649
|
-
const
|
|
2641
|
+
const de_ListSolFunctionPackageResources = (output, context) => {
|
|
2650
2642
|
const retVal = (output || [])
|
|
2651
2643
|
.filter((e) => e != null)
|
|
2652
2644
|
.map((entry) => {
|
|
2653
2645
|
if (entry === null) {
|
|
2654
2646
|
return null;
|
|
2655
2647
|
}
|
|
2656
|
-
return
|
|
2648
|
+
return de_ListSolFunctionPackageInfo(entry, context);
|
|
2657
2649
|
});
|
|
2658
2650
|
return retVal;
|
|
2659
2651
|
};
|
|
2660
|
-
const
|
|
2652
|
+
const de_ListSolNetworkInstanceInfo = (output, context) => {
|
|
2661
2653
|
return {
|
|
2662
2654
|
arn: __expectString(output.arn),
|
|
2663
2655
|
id: __expectString(output.id),
|
|
2664
|
-
metadata: output.metadata != null
|
|
2665
|
-
? deserializeAws_restJson1ListSolNetworkInstanceMetadata(output.metadata, context)
|
|
2666
|
-
: undefined,
|
|
2656
|
+
metadata: output.metadata != null ? de_ListSolNetworkInstanceMetadata(output.metadata, context) : undefined,
|
|
2667
2657
|
nsInstanceDescription: __expectString(output.nsInstanceDescription),
|
|
2668
2658
|
nsInstanceName: __expectString(output.nsInstanceName),
|
|
2669
2659
|
nsState: __expectString(output.nsState),
|
|
@@ -2671,60 +2661,56 @@ const deserializeAws_restJson1ListSolNetworkInstanceInfo = (output, context) =>
|
|
|
2671
2661
|
nsdInfoId: __expectString(output.nsdInfoId),
|
|
2672
2662
|
};
|
|
2673
2663
|
};
|
|
2674
|
-
const
|
|
2664
|
+
const de_ListSolNetworkInstanceMetadata = (output, context) => {
|
|
2675
2665
|
return {
|
|
2676
2666
|
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2677
2667
|
lastModified: output.lastModified != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastModified)) : undefined,
|
|
2678
2668
|
};
|
|
2679
2669
|
};
|
|
2680
|
-
const
|
|
2670
|
+
const de_ListSolNetworkInstanceResources = (output, context) => {
|
|
2681
2671
|
const retVal = (output || [])
|
|
2682
2672
|
.filter((e) => e != null)
|
|
2683
2673
|
.map((entry) => {
|
|
2684
2674
|
if (entry === null) {
|
|
2685
2675
|
return null;
|
|
2686
2676
|
}
|
|
2687
|
-
return
|
|
2677
|
+
return de_ListSolNetworkInstanceInfo(entry, context);
|
|
2688
2678
|
});
|
|
2689
2679
|
return retVal;
|
|
2690
2680
|
};
|
|
2691
|
-
const
|
|
2681
|
+
const de_ListSolNetworkOperationsInfo = (output, context) => {
|
|
2692
2682
|
return {
|
|
2693
2683
|
arn: __expectString(output.arn),
|
|
2694
|
-
error: output.error != null ?
|
|
2684
|
+
error: output.error != null ? de_ProblemDetails(output.error, context) : undefined,
|
|
2695
2685
|
id: __expectString(output.id),
|
|
2696
2686
|
lcmOperationType: __expectString(output.lcmOperationType),
|
|
2697
|
-
metadata: output.metadata != null
|
|
2698
|
-
? deserializeAws_restJson1ListSolNetworkOperationsMetadata(output.metadata, context)
|
|
2699
|
-
: undefined,
|
|
2687
|
+
metadata: output.metadata != null ? de_ListSolNetworkOperationsMetadata(output.metadata, context) : undefined,
|
|
2700
2688
|
nsInstanceId: __expectString(output.nsInstanceId),
|
|
2701
2689
|
operationState: __expectString(output.operationState),
|
|
2702
2690
|
};
|
|
2703
2691
|
};
|
|
2704
|
-
const
|
|
2692
|
+
const de_ListSolNetworkOperationsMetadata = (output, context) => {
|
|
2705
2693
|
return {
|
|
2706
2694
|
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2707
2695
|
lastModified: output.lastModified != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastModified)) : undefined,
|
|
2708
2696
|
};
|
|
2709
2697
|
};
|
|
2710
|
-
const
|
|
2698
|
+
const de_ListSolNetworkOperationsResources = (output, context) => {
|
|
2711
2699
|
const retVal = (output || [])
|
|
2712
2700
|
.filter((e) => e != null)
|
|
2713
2701
|
.map((entry) => {
|
|
2714
2702
|
if (entry === null) {
|
|
2715
2703
|
return null;
|
|
2716
2704
|
}
|
|
2717
|
-
return
|
|
2705
|
+
return de_ListSolNetworkOperationsInfo(entry, context);
|
|
2718
2706
|
});
|
|
2719
2707
|
return retVal;
|
|
2720
2708
|
};
|
|
2721
|
-
const
|
|
2709
|
+
const de_ListSolNetworkPackageInfo = (output, context) => {
|
|
2722
2710
|
return {
|
|
2723
2711
|
arn: __expectString(output.arn),
|
|
2724
2712
|
id: __expectString(output.id),
|
|
2725
|
-
metadata: output.metadata != null
|
|
2726
|
-
? deserializeAws_restJson1ListSolNetworkPackageMetadata(output.metadata, context)
|
|
2727
|
-
: undefined,
|
|
2713
|
+
metadata: output.metadata != null ? de_ListSolNetworkPackageMetadata(output.metadata, context) : undefined,
|
|
2728
2714
|
nsdDesigner: __expectString(output.nsdDesigner),
|
|
2729
2715
|
nsdId: __expectString(output.nsdId),
|
|
2730
2716
|
nsdInvariantId: __expectString(output.nsdInvariantId),
|
|
@@ -2733,59 +2719,59 @@ const deserializeAws_restJson1ListSolNetworkPackageInfo = (output, context) => {
|
|
|
2733
2719
|
nsdOperationalState: __expectString(output.nsdOperationalState),
|
|
2734
2720
|
nsdUsageState: __expectString(output.nsdUsageState),
|
|
2735
2721
|
nsdVersion: __expectString(output.nsdVersion),
|
|
2736
|
-
vnfPkgIds: output.vnfPkgIds != null ?
|
|
2722
|
+
vnfPkgIds: output.vnfPkgIds != null ? de_VnfPkgIdList(output.vnfPkgIds, context) : undefined,
|
|
2737
2723
|
};
|
|
2738
2724
|
};
|
|
2739
|
-
const
|
|
2725
|
+
const de_ListSolNetworkPackageMetadata = (output, context) => {
|
|
2740
2726
|
return {
|
|
2741
2727
|
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2742
2728
|
lastModified: output.lastModified != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastModified)) : undefined,
|
|
2743
2729
|
};
|
|
2744
2730
|
};
|
|
2745
|
-
const
|
|
2731
|
+
const de_ListSolNetworkPackageResources = (output, context) => {
|
|
2746
2732
|
const retVal = (output || [])
|
|
2747
2733
|
.filter((e) => e != null)
|
|
2748
2734
|
.map((entry) => {
|
|
2749
2735
|
if (entry === null) {
|
|
2750
2736
|
return null;
|
|
2751
2737
|
}
|
|
2752
|
-
return
|
|
2738
|
+
return de_ListSolNetworkPackageInfo(entry, context);
|
|
2753
2739
|
});
|
|
2754
2740
|
return retVal;
|
|
2755
2741
|
};
|
|
2756
|
-
const
|
|
2742
|
+
const de_NetworkArtifactMeta = (output, context) => {
|
|
2757
2743
|
return {
|
|
2758
|
-
overrides: output.overrides != null ?
|
|
2744
|
+
overrides: output.overrides != null ? de_OverrideList(output.overrides, context) : undefined,
|
|
2759
2745
|
};
|
|
2760
2746
|
};
|
|
2761
|
-
const
|
|
2747
|
+
const de_OverrideList = (output, context) => {
|
|
2762
2748
|
const retVal = (output || [])
|
|
2763
2749
|
.filter((e) => e != null)
|
|
2764
2750
|
.map((entry) => {
|
|
2765
2751
|
if (entry === null) {
|
|
2766
2752
|
return null;
|
|
2767
2753
|
}
|
|
2768
|
-
return
|
|
2754
|
+
return de_ToscaOverride(entry, context);
|
|
2769
2755
|
});
|
|
2770
2756
|
return retVal;
|
|
2771
2757
|
};
|
|
2772
|
-
const
|
|
2758
|
+
const de_ProblemDetails = (output, context) => {
|
|
2773
2759
|
return {
|
|
2774
2760
|
detail: __expectString(output.detail),
|
|
2775
2761
|
title: __expectString(output.title),
|
|
2776
2762
|
};
|
|
2777
2763
|
};
|
|
2778
|
-
const
|
|
2764
|
+
const de_PutSolFunctionPackageContentMetadata = (output, context) => {
|
|
2779
2765
|
return {
|
|
2780
|
-
vnfd: output.vnfd != null ?
|
|
2766
|
+
vnfd: output.vnfd != null ? de_FunctionArtifactMeta(output.vnfd, context) : undefined,
|
|
2781
2767
|
};
|
|
2782
2768
|
};
|
|
2783
|
-
const
|
|
2769
|
+
const de_PutSolNetworkPackageContentMetadata = (output, context) => {
|
|
2784
2770
|
return {
|
|
2785
|
-
nsd: output.nsd != null ?
|
|
2771
|
+
nsd: output.nsd != null ? de_NetworkArtifactMeta(output.nsd, context) : undefined,
|
|
2786
2772
|
};
|
|
2787
2773
|
};
|
|
2788
|
-
const
|
|
2774
|
+
const de_StringMap = (output, context) => {
|
|
2789
2775
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2790
2776
|
if (value === null) {
|
|
2791
2777
|
return acc;
|
|
@@ -2794,7 +2780,7 @@ const deserializeAws_restJson1StringMap = (output, context) => {
|
|
|
2794
2780
|
return acc;
|
|
2795
2781
|
}, {});
|
|
2796
2782
|
};
|
|
2797
|
-
const
|
|
2783
|
+
const de_TagMap = (output, context) => {
|
|
2798
2784
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2799
2785
|
if (value === null) {
|
|
2800
2786
|
return acc;
|
|
@@ -2803,23 +2789,23 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
2803
2789
|
return acc;
|
|
2804
2790
|
}, {});
|
|
2805
2791
|
};
|
|
2806
|
-
const
|
|
2792
|
+
const de_ToscaOverride = (output, context) => {
|
|
2807
2793
|
return {
|
|
2808
2794
|
defaultValue: __expectString(output.defaultValue),
|
|
2809
2795
|
name: __expectString(output.name),
|
|
2810
2796
|
};
|
|
2811
2797
|
};
|
|
2812
|
-
const
|
|
2798
|
+
const de_ValidateSolFunctionPackageContentMetadata = (output, context) => {
|
|
2813
2799
|
return {
|
|
2814
|
-
vnfd: output.vnfd != null ?
|
|
2800
|
+
vnfd: output.vnfd != null ? de_FunctionArtifactMeta(output.vnfd, context) : undefined,
|
|
2815
2801
|
};
|
|
2816
2802
|
};
|
|
2817
|
-
const
|
|
2803
|
+
const de_ValidateSolNetworkPackageContentMetadata = (output, context) => {
|
|
2818
2804
|
return {
|
|
2819
|
-
nsd: output.nsd != null ?
|
|
2805
|
+
nsd: output.nsd != null ? de_NetworkArtifactMeta(output.nsd, context) : undefined,
|
|
2820
2806
|
};
|
|
2821
2807
|
};
|
|
2822
|
-
const
|
|
2808
|
+
const de_VnfPkgIdList = (output, context) => {
|
|
2823
2809
|
const retVal = (output || [])
|
|
2824
2810
|
.filter((e) => e != null)
|
|
2825
2811
|
.map((entry) => {
|