@aws-sdk/client-tnb 3.306.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +6 -6
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_InstantiateSolNetworkInstanceCommand = exports.de_GetSolNetworkPackageDescriptorCommand = exports.de_GetSolNetworkPackageContentCommand = exports.de_GetSolNetworkPackageCommand = exports.de_GetSolNetworkOperationCommand = exports.de_GetSolNetworkInstanceCommand = exports.de_GetSolFunctionPackageDescriptorCommand = exports.de_GetSolFunctionPackageContentCommand = exports.de_GetSolFunctionPackageCommand = exports.de_GetSolFunctionInstanceCommand = exports.de_DeleteSolNetworkPackageCommand = exports.de_DeleteSolNetworkInstanceCommand = exports.de_DeleteSolFunctionPackageCommand = exports.de_CreateSolNetworkPackageCommand = exports.de_CreateSolNetworkInstanceCommand = exports.de_CreateSolFunctionPackageCommand = exports.de_CancelSolNetworkOperationCommand = exports.se_ValidateSolNetworkPackageContentCommand = exports.se_ValidateSolFunctionPackageContentCommand = exports.se_UpdateSolNetworkPackageCommand = exports.se_UpdateSolNetworkInstanceCommand = exports.se_UpdateSolFunctionPackageCommand = exports.se_UntagResourceCommand = exports.se_TerminateSolNetworkInstanceCommand = exports.se_TagResourceCommand = exports.se_PutSolNetworkPackageContentCommand = exports.se_PutSolFunctionPackageContentCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSolNetworkPackagesCommand = exports.se_ListSolNetworkOperationsCommand = exports.se_ListSolNetworkInstancesCommand = exports.se_ListSolFunctionPackagesCommand = exports.se_ListSolFunctionInstancesCommand = exports.se_InstantiateSolNetworkInstanceCommand = exports.se_GetSolNetworkPackageDescriptorCommand = exports.se_GetSolNetworkPackageContentCommand = exports.se_GetSolNetworkPackageCommand = exports.se_GetSolNetworkOperationCommand = exports.se_GetSolNetworkInstanceCommand = exports.se_GetSolFunctionPackageDescriptorCommand = exports.se_GetSolFunctionPackageContentCommand = exports.se_GetSolFunctionPackageCommand = exports.se_GetSolFunctionInstanceCommand = exports.se_DeleteSolNetworkPackageCommand = exports.se_DeleteSolNetworkInstanceCommand = exports.se_DeleteSolFunctionPackageCommand = exports.se_CreateSolNetworkPackageCommand = exports.se_CreateSolNetworkInstanceCommand = exports.se_CreateSolFunctionPackageCommand = exports.se_CancelSolNetworkOperationCommand = void 0;
|
|
4
|
+
exports.de_ValidateSolNetworkPackageContentCommand = exports.de_ValidateSolFunctionPackageContentCommand = exports.de_UpdateSolNetworkPackageCommand = exports.de_UpdateSolNetworkInstanceCommand = exports.de_UpdateSolFunctionPackageCommand = exports.de_UntagResourceCommand = exports.de_TerminateSolNetworkInstanceCommand = exports.de_TagResourceCommand = exports.de_PutSolNetworkPackageContentCommand = exports.de_PutSolFunctionPackageContentCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSolNetworkPackagesCommand = exports.de_ListSolNetworkOperationsCommand = exports.de_ListSolNetworkInstancesCommand = exports.de_ListSolFunctionPackagesCommand = exports.de_ListSolFunctionInstancesCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const TnbServiceException_1 = require("../models/TnbServiceException");
|
|
9
|
-
const
|
|
9
|
+
const se_CancelSolNetworkOperationCommand = async (input, context) => {
|
|
10
10
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
11
11
|
const headers = {};
|
|
12
12
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -23,8 +23,8 @@ const serializeAws_restJson1CancelSolNetworkOperationCommand = async (input, con
|
|
|
23
23
|
body,
|
|
24
24
|
});
|
|
25
25
|
};
|
|
26
|
-
exports.
|
|
27
|
-
const
|
|
26
|
+
exports.se_CancelSolNetworkOperationCommand = se_CancelSolNetworkOperationCommand;
|
|
27
|
+
const se_CreateSolFunctionPackageCommand = async (input, context) => {
|
|
28
28
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
29
29
|
const headers = {
|
|
30
30
|
"content-type": "application/json",
|
|
@@ -32,7 +32,7 @@ const serializeAws_restJson1CreateSolFunctionPackageCommand = async (input, cont
|
|
|
32
32
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/vnfpkgm/v1/vnf_packages";
|
|
33
33
|
let body;
|
|
34
34
|
body = JSON.stringify({
|
|
35
|
-
...(input.tags != null && { tags:
|
|
35
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
36
36
|
});
|
|
37
37
|
return new protocol_http_1.HttpRequest({
|
|
38
38
|
protocol,
|
|
@@ -44,8 +44,8 @@ const serializeAws_restJson1CreateSolFunctionPackageCommand = async (input, cont
|
|
|
44
44
|
body,
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
exports.
|
|
48
|
-
const
|
|
47
|
+
exports.se_CreateSolFunctionPackageCommand = se_CreateSolFunctionPackageCommand;
|
|
48
|
+
const se_CreateSolNetworkInstanceCommand = async (input, context) => {
|
|
49
49
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
50
50
|
const headers = {
|
|
51
51
|
"content-type": "application/json",
|
|
@@ -56,7 +56,7 @@ const serializeAws_restJson1CreateSolNetworkInstanceCommand = async (input, cont
|
|
|
56
56
|
...(input.nsDescription != null && { nsDescription: input.nsDescription }),
|
|
57
57
|
...(input.nsName != null && { nsName: input.nsName }),
|
|
58
58
|
...(input.nsdInfoId != null && { nsdInfoId: input.nsdInfoId }),
|
|
59
|
-
...(input.tags != null && { tags:
|
|
59
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
60
60
|
});
|
|
61
61
|
return new protocol_http_1.HttpRequest({
|
|
62
62
|
protocol,
|
|
@@ -68,8 +68,8 @@ const serializeAws_restJson1CreateSolNetworkInstanceCommand = async (input, cont
|
|
|
68
68
|
body,
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
|
-
exports.
|
|
72
|
-
const
|
|
71
|
+
exports.se_CreateSolNetworkInstanceCommand = se_CreateSolNetworkInstanceCommand;
|
|
72
|
+
const se_CreateSolNetworkPackageCommand = async (input, context) => {
|
|
73
73
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
74
74
|
const headers = {
|
|
75
75
|
"content-type": "application/json",
|
|
@@ -77,7 +77,7 @@ const serializeAws_restJson1CreateSolNetworkPackageCommand = async (input, conte
|
|
|
77
77
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nsd/v1/ns_descriptors";
|
|
78
78
|
let body;
|
|
79
79
|
body = JSON.stringify({
|
|
80
|
-
...(input.tags != null && { tags:
|
|
80
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
81
81
|
});
|
|
82
82
|
return new protocol_http_1.HttpRequest({
|
|
83
83
|
protocol,
|
|
@@ -89,8 +89,8 @@ const serializeAws_restJson1CreateSolNetworkPackageCommand = async (input, conte
|
|
|
89
89
|
body,
|
|
90
90
|
});
|
|
91
91
|
};
|
|
92
|
-
exports.
|
|
93
|
-
const
|
|
92
|
+
exports.se_CreateSolNetworkPackageCommand = se_CreateSolNetworkPackageCommand;
|
|
93
|
+
const se_DeleteSolFunctionPackageCommand = async (input, context) => {
|
|
94
94
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
95
95
|
const headers = {};
|
|
96
96
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}";
|
|
@@ -106,8 +106,8 @@ const serializeAws_restJson1DeleteSolFunctionPackageCommand = async (input, cont
|
|
|
106
106
|
body,
|
|
107
107
|
});
|
|
108
108
|
};
|
|
109
|
-
exports.
|
|
110
|
-
const
|
|
109
|
+
exports.se_DeleteSolFunctionPackageCommand = se_DeleteSolFunctionPackageCommand;
|
|
110
|
+
const se_DeleteSolNetworkInstanceCommand = async (input, context) => {
|
|
111
111
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
112
112
|
const headers = {};
|
|
113
113
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nslcm/v1/ns_instances/{nsInstanceId}";
|
|
@@ -123,8 +123,8 @@ const serializeAws_restJson1DeleteSolNetworkInstanceCommand = async (input, cont
|
|
|
123
123
|
body,
|
|
124
124
|
});
|
|
125
125
|
};
|
|
126
|
-
exports.
|
|
127
|
-
const
|
|
126
|
+
exports.se_DeleteSolNetworkInstanceCommand = se_DeleteSolNetworkInstanceCommand;
|
|
127
|
+
const se_DeleteSolNetworkPackageCommand = async (input, context) => {
|
|
128
128
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
129
129
|
const headers = {};
|
|
130
130
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nsd/v1/ns_descriptors/{nsdInfoId}";
|
|
@@ -140,8 +140,8 @@ const serializeAws_restJson1DeleteSolNetworkPackageCommand = async (input, conte
|
|
|
140
140
|
body,
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
|
-
exports.
|
|
144
|
-
const
|
|
143
|
+
exports.se_DeleteSolNetworkPackageCommand = se_DeleteSolNetworkPackageCommand;
|
|
144
|
+
const se_GetSolFunctionInstanceCommand = async (input, context) => {
|
|
145
145
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
146
146
|
const headers = {};
|
|
147
147
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -158,8 +158,8 @@ const serializeAws_restJson1GetSolFunctionInstanceCommand = async (input, contex
|
|
|
158
158
|
body,
|
|
159
159
|
});
|
|
160
160
|
};
|
|
161
|
-
exports.
|
|
162
|
-
const
|
|
161
|
+
exports.se_GetSolFunctionInstanceCommand = se_GetSolFunctionInstanceCommand;
|
|
162
|
+
const se_GetSolFunctionPackageCommand = async (input, context) => {
|
|
163
163
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
164
164
|
const headers = {};
|
|
165
165
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}";
|
|
@@ -175,8 +175,8 @@ const serializeAws_restJson1GetSolFunctionPackageCommand = async (input, context
|
|
|
175
175
|
body,
|
|
176
176
|
});
|
|
177
177
|
};
|
|
178
|
-
exports.
|
|
179
|
-
const
|
|
178
|
+
exports.se_GetSolFunctionPackageCommand = se_GetSolFunctionPackageCommand;
|
|
179
|
+
const se_GetSolFunctionPackageContentCommand = async (input, context) => {
|
|
180
180
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
181
181
|
const headers = map({}, isSerializableHeaderValue, {
|
|
182
182
|
accept: input.accept,
|
|
@@ -195,8 +195,8 @@ const serializeAws_restJson1GetSolFunctionPackageContentCommand = async (input,
|
|
|
195
195
|
body,
|
|
196
196
|
});
|
|
197
197
|
};
|
|
198
|
-
exports.
|
|
199
|
-
const
|
|
198
|
+
exports.se_GetSolFunctionPackageContentCommand = se_GetSolFunctionPackageContentCommand;
|
|
199
|
+
const se_GetSolFunctionPackageDescriptorCommand = async (input, context) => {
|
|
200
200
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
201
201
|
const headers = map({}, isSerializableHeaderValue, {
|
|
202
202
|
accept: input.accept,
|
|
@@ -215,8 +215,8 @@ const serializeAws_restJson1GetSolFunctionPackageDescriptorCommand = async (inpu
|
|
|
215
215
|
body,
|
|
216
216
|
});
|
|
217
217
|
};
|
|
218
|
-
exports.
|
|
219
|
-
const
|
|
218
|
+
exports.se_GetSolFunctionPackageDescriptorCommand = se_GetSolFunctionPackageDescriptorCommand;
|
|
219
|
+
const se_GetSolNetworkInstanceCommand = async (input, context) => {
|
|
220
220
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
221
221
|
const headers = {};
|
|
222
222
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nslcm/v1/ns_instances/{nsInstanceId}";
|
|
@@ -232,8 +232,8 @@ const serializeAws_restJson1GetSolNetworkInstanceCommand = async (input, context
|
|
|
232
232
|
body,
|
|
233
233
|
});
|
|
234
234
|
};
|
|
235
|
-
exports.
|
|
236
|
-
const
|
|
235
|
+
exports.se_GetSolNetworkInstanceCommand = se_GetSolNetworkInstanceCommand;
|
|
236
|
+
const se_GetSolNetworkOperationCommand = async (input, context) => {
|
|
237
237
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
238
238
|
const headers = {};
|
|
239
239
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -250,8 +250,8 @@ const serializeAws_restJson1GetSolNetworkOperationCommand = async (input, contex
|
|
|
250
250
|
body,
|
|
251
251
|
});
|
|
252
252
|
};
|
|
253
|
-
exports.
|
|
254
|
-
const
|
|
253
|
+
exports.se_GetSolNetworkOperationCommand = se_GetSolNetworkOperationCommand;
|
|
254
|
+
const se_GetSolNetworkPackageCommand = async (input, context) => {
|
|
255
255
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
256
256
|
const headers = {};
|
|
257
257
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nsd/v1/ns_descriptors/{nsdInfoId}";
|
|
@@ -267,8 +267,8 @@ const serializeAws_restJson1GetSolNetworkPackageCommand = async (input, context)
|
|
|
267
267
|
body,
|
|
268
268
|
});
|
|
269
269
|
};
|
|
270
|
-
exports.
|
|
271
|
-
const
|
|
270
|
+
exports.se_GetSolNetworkPackageCommand = se_GetSolNetworkPackageCommand;
|
|
271
|
+
const se_GetSolNetworkPackageContentCommand = async (input, context) => {
|
|
272
272
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
273
273
|
const headers = map({}, isSerializableHeaderValue, {
|
|
274
274
|
accept: input.accept,
|
|
@@ -287,8 +287,8 @@ const serializeAws_restJson1GetSolNetworkPackageContentCommand = async (input, c
|
|
|
287
287
|
body,
|
|
288
288
|
});
|
|
289
289
|
};
|
|
290
|
-
exports.
|
|
291
|
-
const
|
|
290
|
+
exports.se_GetSolNetworkPackageContentCommand = se_GetSolNetworkPackageContentCommand;
|
|
291
|
+
const se_GetSolNetworkPackageDescriptorCommand = async (input, context) => {
|
|
292
292
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
293
293
|
const headers = {};
|
|
294
294
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -305,8 +305,8 @@ const serializeAws_restJson1GetSolNetworkPackageDescriptorCommand = async (input
|
|
|
305
305
|
body,
|
|
306
306
|
});
|
|
307
307
|
};
|
|
308
|
-
exports.
|
|
309
|
-
const
|
|
308
|
+
exports.se_GetSolNetworkPackageDescriptorCommand = se_GetSolNetworkPackageDescriptorCommand;
|
|
309
|
+
const se_InstantiateSolNetworkInstanceCommand = async (input, context) => {
|
|
310
310
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
311
311
|
const headers = {
|
|
312
312
|
"content-type": "application/json",
|
|
@@ -320,9 +320,9 @@ const serializeAws_restJson1InstantiateSolNetworkInstanceCommand = async (input,
|
|
|
320
320
|
let body;
|
|
321
321
|
body = JSON.stringify({
|
|
322
322
|
...(input.additionalParamsForNs != null && {
|
|
323
|
-
additionalParamsForNs:
|
|
323
|
+
additionalParamsForNs: se_Document(input.additionalParamsForNs, context),
|
|
324
324
|
}),
|
|
325
|
-
...(input.tags != null && { tags:
|
|
325
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
326
326
|
});
|
|
327
327
|
return new protocol_http_1.HttpRequest({
|
|
328
328
|
protocol,
|
|
@@ -335,8 +335,8 @@ const serializeAws_restJson1InstantiateSolNetworkInstanceCommand = async (input,
|
|
|
335
335
|
body,
|
|
336
336
|
});
|
|
337
337
|
};
|
|
338
|
-
exports.
|
|
339
|
-
const
|
|
338
|
+
exports.se_InstantiateSolNetworkInstanceCommand = se_InstantiateSolNetworkInstanceCommand;
|
|
339
|
+
const se_ListSolFunctionInstancesCommand = async (input, context) => {
|
|
340
340
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
341
341
|
const headers = {};
|
|
342
342
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/vnflcm/v1/vnf_instances";
|
|
@@ -356,8 +356,8 @@ const serializeAws_restJson1ListSolFunctionInstancesCommand = async (input, cont
|
|
|
356
356
|
body,
|
|
357
357
|
});
|
|
358
358
|
};
|
|
359
|
-
exports.
|
|
360
|
-
const
|
|
359
|
+
exports.se_ListSolFunctionInstancesCommand = se_ListSolFunctionInstancesCommand;
|
|
360
|
+
const se_ListSolFunctionPackagesCommand = async (input, context) => {
|
|
361
361
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
362
362
|
const headers = {};
|
|
363
363
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/vnfpkgm/v1/vnf_packages";
|
|
@@ -377,8 +377,8 @@ const serializeAws_restJson1ListSolFunctionPackagesCommand = async (input, conte
|
|
|
377
377
|
body,
|
|
378
378
|
});
|
|
379
379
|
};
|
|
380
|
-
exports.
|
|
381
|
-
const
|
|
380
|
+
exports.se_ListSolFunctionPackagesCommand = se_ListSolFunctionPackagesCommand;
|
|
381
|
+
const se_ListSolNetworkInstancesCommand = async (input, context) => {
|
|
382
382
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
383
383
|
const headers = {};
|
|
384
384
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nslcm/v1/ns_instances";
|
|
@@ -398,8 +398,8 @@ const serializeAws_restJson1ListSolNetworkInstancesCommand = async (input, conte
|
|
|
398
398
|
body,
|
|
399
399
|
});
|
|
400
400
|
};
|
|
401
|
-
exports.
|
|
402
|
-
const
|
|
401
|
+
exports.se_ListSolNetworkInstancesCommand = se_ListSolNetworkInstancesCommand;
|
|
402
|
+
const se_ListSolNetworkOperationsCommand = async (input, context) => {
|
|
403
403
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
404
404
|
const headers = {};
|
|
405
405
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nslcm/v1/ns_lcm_op_occs";
|
|
@@ -419,8 +419,8 @@ const serializeAws_restJson1ListSolNetworkOperationsCommand = async (input, cont
|
|
|
419
419
|
body,
|
|
420
420
|
});
|
|
421
421
|
};
|
|
422
|
-
exports.
|
|
423
|
-
const
|
|
422
|
+
exports.se_ListSolNetworkOperationsCommand = se_ListSolNetworkOperationsCommand;
|
|
423
|
+
const se_ListSolNetworkPackagesCommand = async (input, context) => {
|
|
424
424
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
425
425
|
const headers = {};
|
|
426
426
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sol/nsd/v1/ns_descriptors";
|
|
@@ -440,8 +440,8 @@ const serializeAws_restJson1ListSolNetworkPackagesCommand = async (input, contex
|
|
|
440
440
|
body,
|
|
441
441
|
});
|
|
442
442
|
};
|
|
443
|
-
exports.
|
|
444
|
-
const
|
|
443
|
+
exports.se_ListSolNetworkPackagesCommand = se_ListSolNetworkPackagesCommand;
|
|
444
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
445
445
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
446
446
|
const headers = {};
|
|
447
447
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -457,8 +457,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
457
457
|
body,
|
|
458
458
|
});
|
|
459
459
|
};
|
|
460
|
-
exports.
|
|
461
|
-
const
|
|
460
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
461
|
+
const se_PutSolFunctionPackageContentCommand = async (input, context) => {
|
|
462
462
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
463
463
|
const headers = map({}, isSerializableHeaderValue, {
|
|
464
464
|
"content-type": input.contentType || "application/octet-stream",
|
|
@@ -480,8 +480,8 @@ const serializeAws_restJson1PutSolFunctionPackageContentCommand = async (input,
|
|
|
480
480
|
body,
|
|
481
481
|
});
|
|
482
482
|
};
|
|
483
|
-
exports.
|
|
484
|
-
const
|
|
483
|
+
exports.se_PutSolFunctionPackageContentCommand = se_PutSolFunctionPackageContentCommand;
|
|
484
|
+
const se_PutSolNetworkPackageContentCommand = async (input, context) => {
|
|
485
485
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
486
486
|
const headers = map({}, isSerializableHeaderValue, {
|
|
487
487
|
"content-type": input.contentType || "application/octet-stream",
|
|
@@ -503,8 +503,8 @@ const serializeAws_restJson1PutSolNetworkPackageContentCommand = async (input, c
|
|
|
503
503
|
body,
|
|
504
504
|
});
|
|
505
505
|
};
|
|
506
|
-
exports.
|
|
507
|
-
const
|
|
506
|
+
exports.se_PutSolNetworkPackageContentCommand = se_PutSolNetworkPackageContentCommand;
|
|
507
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
508
508
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
509
509
|
const headers = {
|
|
510
510
|
"content-type": "application/json",
|
|
@@ -513,7 +513,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
513
513
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
514
514
|
let body;
|
|
515
515
|
body = JSON.stringify({
|
|
516
|
-
...(input.tags != null && { tags:
|
|
516
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
517
517
|
});
|
|
518
518
|
return new protocol_http_1.HttpRequest({
|
|
519
519
|
protocol,
|
|
@@ -525,8 +525,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
525
525
|
body,
|
|
526
526
|
});
|
|
527
527
|
};
|
|
528
|
-
exports.
|
|
529
|
-
const
|
|
528
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
529
|
+
const se_TerminateSolNetworkInstanceCommand = async (input, context) => {
|
|
530
530
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
531
531
|
const headers = {
|
|
532
532
|
"content-type": "application/json",
|
|
@@ -536,7 +536,7 @@ const serializeAws_restJson1TerminateSolNetworkInstanceCommand = async (input, c
|
|
|
536
536
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
537
537
|
let body;
|
|
538
538
|
body = JSON.stringify({
|
|
539
|
-
...(input.tags != null && { tags:
|
|
539
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
540
540
|
});
|
|
541
541
|
return new protocol_http_1.HttpRequest({
|
|
542
542
|
protocol,
|
|
@@ -548,8 +548,8 @@ const serializeAws_restJson1TerminateSolNetworkInstanceCommand = async (input, c
|
|
|
548
548
|
body,
|
|
549
549
|
});
|
|
550
550
|
};
|
|
551
|
-
exports.
|
|
552
|
-
const
|
|
551
|
+
exports.se_TerminateSolNetworkInstanceCommand = se_TerminateSolNetworkInstanceCommand;
|
|
552
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
553
553
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
554
554
|
const headers = {};
|
|
555
555
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -572,8 +572,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
572
572
|
body,
|
|
573
573
|
});
|
|
574
574
|
};
|
|
575
|
-
exports.
|
|
576
|
-
const
|
|
575
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
576
|
+
const se_UpdateSolFunctionPackageCommand = async (input, context) => {
|
|
577
577
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
578
578
|
const headers = {
|
|
579
579
|
"content-type": "application/json",
|
|
@@ -594,8 +594,8 @@ const serializeAws_restJson1UpdateSolFunctionPackageCommand = async (input, cont
|
|
|
594
594
|
body,
|
|
595
595
|
});
|
|
596
596
|
};
|
|
597
|
-
exports.
|
|
598
|
-
const
|
|
597
|
+
exports.se_UpdateSolFunctionPackageCommand = se_UpdateSolFunctionPackageCommand;
|
|
598
|
+
const se_UpdateSolNetworkInstanceCommand = async (input, context) => {
|
|
599
599
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
600
600
|
const headers = {
|
|
601
601
|
"content-type": "application/json",
|
|
@@ -606,9 +606,9 @@ const serializeAws_restJson1UpdateSolNetworkInstanceCommand = async (input, cont
|
|
|
606
606
|
let body;
|
|
607
607
|
body = JSON.stringify({
|
|
608
608
|
...(input.modifyVnfInfoData != null && {
|
|
609
|
-
modifyVnfInfoData:
|
|
609
|
+
modifyVnfInfoData: se_UpdateSolNetworkModify(input.modifyVnfInfoData, context),
|
|
610
610
|
}),
|
|
611
|
-
...(input.tags != null && { tags:
|
|
611
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
612
612
|
...(input.updateType != null && { updateType: input.updateType }),
|
|
613
613
|
});
|
|
614
614
|
return new protocol_http_1.HttpRequest({
|
|
@@ -621,8 +621,8 @@ const serializeAws_restJson1UpdateSolNetworkInstanceCommand = async (input, cont
|
|
|
621
621
|
body,
|
|
622
622
|
});
|
|
623
623
|
};
|
|
624
|
-
exports.
|
|
625
|
-
const
|
|
624
|
+
exports.se_UpdateSolNetworkInstanceCommand = se_UpdateSolNetworkInstanceCommand;
|
|
625
|
+
const se_UpdateSolNetworkPackageCommand = async (input, context) => {
|
|
626
626
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
627
627
|
const headers = {
|
|
628
628
|
"content-type": "application/json",
|
|
@@ -643,8 +643,8 @@ const serializeAws_restJson1UpdateSolNetworkPackageCommand = async (input, conte
|
|
|
643
643
|
body,
|
|
644
644
|
});
|
|
645
645
|
};
|
|
646
|
-
exports.
|
|
647
|
-
const
|
|
646
|
+
exports.se_UpdateSolNetworkPackageCommand = se_UpdateSolNetworkPackageCommand;
|
|
647
|
+
const se_ValidateSolFunctionPackageContentCommand = async (input, context) => {
|
|
648
648
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
649
649
|
const headers = map({}, isSerializableHeaderValue, {
|
|
650
650
|
"content-type": input.contentType || "application/octet-stream",
|
|
@@ -666,8 +666,8 @@ const serializeAws_restJson1ValidateSolFunctionPackageContentCommand = async (in
|
|
|
666
666
|
body,
|
|
667
667
|
});
|
|
668
668
|
};
|
|
669
|
-
exports.
|
|
670
|
-
const
|
|
669
|
+
exports.se_ValidateSolFunctionPackageContentCommand = se_ValidateSolFunctionPackageContentCommand;
|
|
670
|
+
const se_ValidateSolNetworkPackageContentCommand = async (input, context) => {
|
|
671
671
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
672
672
|
const headers = map({}, isSerializableHeaderValue, {
|
|
673
673
|
"content-type": input.contentType || "application/octet-stream",
|
|
@@ -689,10 +689,10 @@ const serializeAws_restJson1ValidateSolNetworkPackageContentCommand = async (inp
|
|
|
689
689
|
body,
|
|
690
690
|
});
|
|
691
691
|
};
|
|
692
|
-
exports.
|
|
693
|
-
const
|
|
692
|
+
exports.se_ValidateSolNetworkPackageContentCommand = se_ValidateSolNetworkPackageContentCommand;
|
|
693
|
+
const de_CancelSolNetworkOperationCommand = async (output, context) => {
|
|
694
694
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
695
|
-
return
|
|
695
|
+
return de_CancelSolNetworkOperationCommandError(output, context);
|
|
696
696
|
}
|
|
697
697
|
const contents = map({
|
|
698
698
|
$metadata: deserializeMetadata(output),
|
|
@@ -700,8 +700,8 @@ const deserializeAws_restJson1CancelSolNetworkOperationCommand = async (output,
|
|
|
700
700
|
await collectBody(output.body, context);
|
|
701
701
|
return contents;
|
|
702
702
|
};
|
|
703
|
-
exports.
|
|
704
|
-
const
|
|
703
|
+
exports.de_CancelSolNetworkOperationCommand = de_CancelSolNetworkOperationCommand;
|
|
704
|
+
const de_CancelSolNetworkOperationCommandError = async (output, context) => {
|
|
705
705
|
const parsedOutput = {
|
|
706
706
|
...output,
|
|
707
707
|
body: await parseErrorBody(output.body, context),
|
|
@@ -710,19 +710,19 @@ const deserializeAws_restJson1CancelSolNetworkOperationCommandError = async (out
|
|
|
710
710
|
switch (errorCode) {
|
|
711
711
|
case "AccessDeniedException":
|
|
712
712
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
713
|
-
throw await
|
|
713
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
714
714
|
case "InternalServerException":
|
|
715
715
|
case "com.amazonaws.tnb#InternalServerException":
|
|
716
|
-
throw await
|
|
716
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
717
717
|
case "ResourceNotFoundException":
|
|
718
718
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
719
|
-
throw await
|
|
719
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
720
720
|
case "ThrottlingException":
|
|
721
721
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
722
|
-
throw await
|
|
722
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
723
723
|
case "ValidationException":
|
|
724
724
|
case "com.amazonaws.tnb#ValidationException":
|
|
725
|
-
throw await
|
|
725
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
726
726
|
default:
|
|
727
727
|
const parsedBody = parsedOutput.body;
|
|
728
728
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -733,9 +733,9 @@ const deserializeAws_restJson1CancelSolNetworkOperationCommandError = async (out
|
|
|
733
733
|
});
|
|
734
734
|
}
|
|
735
735
|
};
|
|
736
|
-
const
|
|
736
|
+
const de_CreateSolFunctionPackageCommand = async (output, context) => {
|
|
737
737
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
738
|
-
return
|
|
738
|
+
return de_CreateSolFunctionPackageCommandError(output, context);
|
|
739
739
|
}
|
|
740
740
|
const contents = map({
|
|
741
741
|
$metadata: deserializeMetadata(output),
|
|
@@ -754,15 +754,15 @@ const deserializeAws_restJson1CreateSolFunctionPackageCommand = async (output, c
|
|
|
754
754
|
contents.operationalState = (0, smithy_client_1.expectString)(data.operationalState);
|
|
755
755
|
}
|
|
756
756
|
if (data.tags != null) {
|
|
757
|
-
contents.tags =
|
|
757
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
758
758
|
}
|
|
759
759
|
if (data.usageState != null) {
|
|
760
760
|
contents.usageState = (0, smithy_client_1.expectString)(data.usageState);
|
|
761
761
|
}
|
|
762
762
|
return contents;
|
|
763
763
|
};
|
|
764
|
-
exports.
|
|
765
|
-
const
|
|
764
|
+
exports.de_CreateSolFunctionPackageCommand = de_CreateSolFunctionPackageCommand;
|
|
765
|
+
const de_CreateSolFunctionPackageCommandError = async (output, context) => {
|
|
766
766
|
const parsedOutput = {
|
|
767
767
|
...output,
|
|
768
768
|
body: await parseErrorBody(output.body, context),
|
|
@@ -771,19 +771,19 @@ const deserializeAws_restJson1CreateSolFunctionPackageCommandError = async (outp
|
|
|
771
771
|
switch (errorCode) {
|
|
772
772
|
case "AccessDeniedException":
|
|
773
773
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
774
|
-
throw await
|
|
774
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
775
775
|
case "InternalServerException":
|
|
776
776
|
case "com.amazonaws.tnb#InternalServerException":
|
|
777
|
-
throw await
|
|
777
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
778
778
|
case "ServiceQuotaExceededException":
|
|
779
779
|
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
780
|
-
throw await
|
|
780
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
781
781
|
case "ThrottlingException":
|
|
782
782
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
783
|
-
throw await
|
|
783
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
784
784
|
case "ValidationException":
|
|
785
785
|
case "com.amazonaws.tnb#ValidationException":
|
|
786
|
-
throw await
|
|
786
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
787
787
|
default:
|
|
788
788
|
const parsedBody = parsedOutput.body;
|
|
789
789
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -794,9 +794,9 @@ const deserializeAws_restJson1CreateSolFunctionPackageCommandError = async (outp
|
|
|
794
794
|
});
|
|
795
795
|
}
|
|
796
796
|
};
|
|
797
|
-
const
|
|
797
|
+
const de_CreateSolNetworkInstanceCommand = async (output, context) => {
|
|
798
798
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
799
|
-
return
|
|
799
|
+
return de_CreateSolNetworkInstanceCommandError(output, context);
|
|
800
800
|
}
|
|
801
801
|
const contents = map({
|
|
802
802
|
$metadata: deserializeMetadata(output),
|
|
@@ -815,12 +815,12 @@ const deserializeAws_restJson1CreateSolNetworkInstanceCommand = async (output, c
|
|
|
815
815
|
contents.nsdInfoId = (0, smithy_client_1.expectString)(data.nsdInfoId);
|
|
816
816
|
}
|
|
817
817
|
if (data.tags != null) {
|
|
818
|
-
contents.tags =
|
|
818
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
819
819
|
}
|
|
820
820
|
return contents;
|
|
821
821
|
};
|
|
822
|
-
exports.
|
|
823
|
-
const
|
|
822
|
+
exports.de_CreateSolNetworkInstanceCommand = de_CreateSolNetworkInstanceCommand;
|
|
823
|
+
const de_CreateSolNetworkInstanceCommandError = async (output, context) => {
|
|
824
824
|
const parsedOutput = {
|
|
825
825
|
...output,
|
|
826
826
|
body: await parseErrorBody(output.body, context),
|
|
@@ -829,22 +829,22 @@ const deserializeAws_restJson1CreateSolNetworkInstanceCommandError = async (outp
|
|
|
829
829
|
switch (errorCode) {
|
|
830
830
|
case "AccessDeniedException":
|
|
831
831
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
832
|
-
throw await
|
|
832
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
833
833
|
case "InternalServerException":
|
|
834
834
|
case "com.amazonaws.tnb#InternalServerException":
|
|
835
|
-
throw await
|
|
835
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
836
836
|
case "ResourceNotFoundException":
|
|
837
837
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
838
|
-
throw await
|
|
838
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
839
839
|
case "ServiceQuotaExceededException":
|
|
840
840
|
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
841
|
-
throw await
|
|
841
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
842
842
|
case "ThrottlingException":
|
|
843
843
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
844
|
-
throw await
|
|
844
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
845
845
|
case "ValidationException":
|
|
846
846
|
case "com.amazonaws.tnb#ValidationException":
|
|
847
|
-
throw await
|
|
847
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
848
848
|
default:
|
|
849
849
|
const parsedBody = parsedOutput.body;
|
|
850
850
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -855,9 +855,9 @@ const deserializeAws_restJson1CreateSolNetworkInstanceCommandError = async (outp
|
|
|
855
855
|
});
|
|
856
856
|
}
|
|
857
857
|
};
|
|
858
|
-
const
|
|
858
|
+
const de_CreateSolNetworkPackageCommand = async (output, context) => {
|
|
859
859
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
860
|
-
return
|
|
860
|
+
return de_CreateSolNetworkPackageCommandError(output, context);
|
|
861
861
|
}
|
|
862
862
|
const contents = map({
|
|
863
863
|
$metadata: deserializeMetadata(output),
|
|
@@ -879,12 +879,12 @@ const deserializeAws_restJson1CreateSolNetworkPackageCommand = async (output, co
|
|
|
879
879
|
contents.nsdUsageState = (0, smithy_client_1.expectString)(data.nsdUsageState);
|
|
880
880
|
}
|
|
881
881
|
if (data.tags != null) {
|
|
882
|
-
contents.tags =
|
|
882
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
883
883
|
}
|
|
884
884
|
return contents;
|
|
885
885
|
};
|
|
886
|
-
exports.
|
|
887
|
-
const
|
|
886
|
+
exports.de_CreateSolNetworkPackageCommand = de_CreateSolNetworkPackageCommand;
|
|
887
|
+
const de_CreateSolNetworkPackageCommandError = async (output, context) => {
|
|
888
888
|
const parsedOutput = {
|
|
889
889
|
...output,
|
|
890
890
|
body: await parseErrorBody(output.body, context),
|
|
@@ -893,19 +893,19 @@ const deserializeAws_restJson1CreateSolNetworkPackageCommandError = async (outpu
|
|
|
893
893
|
switch (errorCode) {
|
|
894
894
|
case "AccessDeniedException":
|
|
895
895
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
896
|
-
throw await
|
|
896
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
897
897
|
case "InternalServerException":
|
|
898
898
|
case "com.amazonaws.tnb#InternalServerException":
|
|
899
|
-
throw await
|
|
899
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
900
900
|
case "ServiceQuotaExceededException":
|
|
901
901
|
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
902
|
-
throw await
|
|
902
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
903
903
|
case "ThrottlingException":
|
|
904
904
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
905
|
-
throw await
|
|
905
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
906
906
|
case "ValidationException":
|
|
907
907
|
case "com.amazonaws.tnb#ValidationException":
|
|
908
|
-
throw await
|
|
908
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
909
909
|
default:
|
|
910
910
|
const parsedBody = parsedOutput.body;
|
|
911
911
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -916,9 +916,9 @@ const deserializeAws_restJson1CreateSolNetworkPackageCommandError = async (outpu
|
|
|
916
916
|
});
|
|
917
917
|
}
|
|
918
918
|
};
|
|
919
|
-
const
|
|
919
|
+
const de_DeleteSolFunctionPackageCommand = async (output, context) => {
|
|
920
920
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
921
|
-
return
|
|
921
|
+
return de_DeleteSolFunctionPackageCommandError(output, context);
|
|
922
922
|
}
|
|
923
923
|
const contents = map({
|
|
924
924
|
$metadata: deserializeMetadata(output),
|
|
@@ -926,8 +926,8 @@ const deserializeAws_restJson1DeleteSolFunctionPackageCommand = async (output, c
|
|
|
926
926
|
await collectBody(output.body, context);
|
|
927
927
|
return contents;
|
|
928
928
|
};
|
|
929
|
-
exports.
|
|
930
|
-
const
|
|
929
|
+
exports.de_DeleteSolFunctionPackageCommand = de_DeleteSolFunctionPackageCommand;
|
|
930
|
+
const de_DeleteSolFunctionPackageCommandError = async (output, context) => {
|
|
931
931
|
const parsedOutput = {
|
|
932
932
|
...output,
|
|
933
933
|
body: await parseErrorBody(output.body, context),
|
|
@@ -936,19 +936,19 @@ const deserializeAws_restJson1DeleteSolFunctionPackageCommandError = 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
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -959,9 +959,9 @@ const deserializeAws_restJson1DeleteSolFunctionPackageCommandError = async (outp
|
|
|
959
959
|
});
|
|
960
960
|
}
|
|
961
961
|
};
|
|
962
|
-
const
|
|
962
|
+
const de_DeleteSolNetworkInstanceCommand = async (output, context) => {
|
|
963
963
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
964
|
-
return
|
|
964
|
+
return de_DeleteSolNetworkInstanceCommandError(output, context);
|
|
965
965
|
}
|
|
966
966
|
const contents = map({
|
|
967
967
|
$metadata: deserializeMetadata(output),
|
|
@@ -969,8 +969,8 @@ const deserializeAws_restJson1DeleteSolNetworkInstanceCommand = async (output, c
|
|
|
969
969
|
await collectBody(output.body, context);
|
|
970
970
|
return contents;
|
|
971
971
|
};
|
|
972
|
-
exports.
|
|
973
|
-
const
|
|
972
|
+
exports.de_DeleteSolNetworkInstanceCommand = de_DeleteSolNetworkInstanceCommand;
|
|
973
|
+
const de_DeleteSolNetworkInstanceCommandError = async (output, context) => {
|
|
974
974
|
const parsedOutput = {
|
|
975
975
|
...output,
|
|
976
976
|
body: await parseErrorBody(output.body, context),
|
|
@@ -979,19 +979,19 @@ const deserializeAws_restJson1DeleteSolNetworkInstanceCommandError = async (outp
|
|
|
979
979
|
switch (errorCode) {
|
|
980
980
|
case "AccessDeniedException":
|
|
981
981
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
982
|
-
throw await
|
|
982
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
983
983
|
case "InternalServerException":
|
|
984
984
|
case "com.amazonaws.tnb#InternalServerException":
|
|
985
|
-
throw await
|
|
985
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
986
986
|
case "ResourceNotFoundException":
|
|
987
987
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
988
|
-
throw await
|
|
988
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
989
989
|
case "ThrottlingException":
|
|
990
990
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
991
|
-
throw await
|
|
991
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
992
992
|
case "ValidationException":
|
|
993
993
|
case "com.amazonaws.tnb#ValidationException":
|
|
994
|
-
throw await
|
|
994
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
995
995
|
default:
|
|
996
996
|
const parsedBody = parsedOutput.body;
|
|
997
997
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1002,9 +1002,9 @@ const deserializeAws_restJson1DeleteSolNetworkInstanceCommandError = async (outp
|
|
|
1002
1002
|
});
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
|
-
const
|
|
1005
|
+
const de_DeleteSolNetworkPackageCommand = async (output, context) => {
|
|
1006
1006
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1007
|
-
return
|
|
1007
|
+
return de_DeleteSolNetworkPackageCommandError(output, context);
|
|
1008
1008
|
}
|
|
1009
1009
|
const contents = map({
|
|
1010
1010
|
$metadata: deserializeMetadata(output),
|
|
@@ -1012,8 +1012,8 @@ const deserializeAws_restJson1DeleteSolNetworkPackageCommand = async (output, co
|
|
|
1012
1012
|
await collectBody(output.body, context);
|
|
1013
1013
|
return contents;
|
|
1014
1014
|
};
|
|
1015
|
-
exports.
|
|
1016
|
-
const
|
|
1015
|
+
exports.de_DeleteSolNetworkPackageCommand = de_DeleteSolNetworkPackageCommand;
|
|
1016
|
+
const de_DeleteSolNetworkPackageCommandError = async (output, context) => {
|
|
1017
1017
|
const parsedOutput = {
|
|
1018
1018
|
...output,
|
|
1019
1019
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1022,19 +1022,19 @@ const deserializeAws_restJson1DeleteSolNetworkPackageCommandError = async (outpu
|
|
|
1022
1022
|
switch (errorCode) {
|
|
1023
1023
|
case "AccessDeniedException":
|
|
1024
1024
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1025
|
-
throw await
|
|
1025
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1026
1026
|
case "InternalServerException":
|
|
1027
1027
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1028
|
-
throw await
|
|
1028
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1029
1029
|
case "ResourceNotFoundException":
|
|
1030
1030
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1031
|
-
throw await
|
|
1031
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1032
1032
|
case "ThrottlingException":
|
|
1033
1033
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1034
|
-
throw await
|
|
1034
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1035
1035
|
case "ValidationException":
|
|
1036
1036
|
case "com.amazonaws.tnb#ValidationException":
|
|
1037
|
-
throw await
|
|
1037
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1038
1038
|
default:
|
|
1039
1039
|
const parsedBody = parsedOutput.body;
|
|
1040
1040
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1045,9 +1045,9 @@ const deserializeAws_restJson1DeleteSolNetworkPackageCommandError = async (outpu
|
|
|
1045
1045
|
});
|
|
1046
1046
|
}
|
|
1047
1047
|
};
|
|
1048
|
-
const
|
|
1048
|
+
const de_GetSolFunctionInstanceCommand = async (output, context) => {
|
|
1049
1049
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1050
|
-
return
|
|
1050
|
+
return de_GetSolFunctionInstanceCommandError(output, context);
|
|
1051
1051
|
}
|
|
1052
1052
|
const contents = map({
|
|
1053
1053
|
$metadata: deserializeMetadata(output),
|
|
@@ -1060,19 +1060,19 @@ const deserializeAws_restJson1GetSolFunctionInstanceCommand = async (output, con
|
|
|
1060
1060
|
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
1061
1061
|
}
|
|
1062
1062
|
if (data.instantiatedVnfInfo != null) {
|
|
1063
|
-
contents.instantiatedVnfInfo =
|
|
1063
|
+
contents.instantiatedVnfInfo = de_GetSolVnfInfo(data.instantiatedVnfInfo, context);
|
|
1064
1064
|
}
|
|
1065
1065
|
if (data.instantiationState != null) {
|
|
1066
1066
|
contents.instantiationState = (0, smithy_client_1.expectString)(data.instantiationState);
|
|
1067
1067
|
}
|
|
1068
1068
|
if (data.metadata != null) {
|
|
1069
|
-
contents.metadata =
|
|
1069
|
+
contents.metadata = de_GetSolFunctionInstanceMetadata(data.metadata, context);
|
|
1070
1070
|
}
|
|
1071
1071
|
if (data.nsInstanceId != null) {
|
|
1072
1072
|
contents.nsInstanceId = (0, smithy_client_1.expectString)(data.nsInstanceId);
|
|
1073
1073
|
}
|
|
1074
1074
|
if (data.tags != null) {
|
|
1075
|
-
contents.tags =
|
|
1075
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1076
1076
|
}
|
|
1077
1077
|
if (data.vnfPkgId != null) {
|
|
1078
1078
|
contents.vnfPkgId = (0, smithy_client_1.expectString)(data.vnfPkgId);
|
|
@@ -1091,8 +1091,8 @@ const deserializeAws_restJson1GetSolFunctionInstanceCommand = async (output, con
|
|
|
1091
1091
|
}
|
|
1092
1092
|
return contents;
|
|
1093
1093
|
};
|
|
1094
|
-
exports.
|
|
1095
|
-
const
|
|
1094
|
+
exports.de_GetSolFunctionInstanceCommand = de_GetSolFunctionInstanceCommand;
|
|
1095
|
+
const de_GetSolFunctionInstanceCommandError = async (output, context) => {
|
|
1096
1096
|
const parsedOutput = {
|
|
1097
1097
|
...output,
|
|
1098
1098
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1101,19 +1101,19 @@ const deserializeAws_restJson1GetSolFunctionInstanceCommandError = async (output
|
|
|
1101
1101
|
switch (errorCode) {
|
|
1102
1102
|
case "AccessDeniedException":
|
|
1103
1103
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1104
|
-
throw await
|
|
1104
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1105
1105
|
case "InternalServerException":
|
|
1106
1106
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1107
|
-
throw await
|
|
1107
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1108
1108
|
case "ResourceNotFoundException":
|
|
1109
1109
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1110
|
-
throw await
|
|
1110
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1111
1111
|
case "ThrottlingException":
|
|
1112
1112
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1113
|
-
throw await
|
|
1113
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1114
1114
|
case "ValidationException":
|
|
1115
1115
|
case "com.amazonaws.tnb#ValidationException":
|
|
1116
|
-
throw await
|
|
1116
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1117
1117
|
default:
|
|
1118
1118
|
const parsedBody = parsedOutput.body;
|
|
1119
1119
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1124,9 +1124,9 @@ const deserializeAws_restJson1GetSolFunctionInstanceCommandError = async (output
|
|
|
1124
1124
|
});
|
|
1125
1125
|
}
|
|
1126
1126
|
};
|
|
1127
|
-
const
|
|
1127
|
+
const de_GetSolFunctionPackageCommand = async (output, context) => {
|
|
1128
1128
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1129
|
-
return
|
|
1129
|
+
return de_GetSolFunctionPackageCommandError(output, context);
|
|
1130
1130
|
}
|
|
1131
1131
|
const contents = map({
|
|
1132
1132
|
$metadata: deserializeMetadata(output),
|
|
@@ -1139,7 +1139,7 @@ const deserializeAws_restJson1GetSolFunctionPackageCommand = async (output, cont
|
|
|
1139
1139
|
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
1140
1140
|
}
|
|
1141
1141
|
if (data.metadata != null) {
|
|
1142
|
-
contents.metadata =
|
|
1142
|
+
contents.metadata = de_GetSolFunctionPackageMetadata(data.metadata, context);
|
|
1143
1143
|
}
|
|
1144
1144
|
if (data.onboardingState != null) {
|
|
1145
1145
|
contents.onboardingState = (0, smithy_client_1.expectString)(data.onboardingState);
|
|
@@ -1148,7 +1148,7 @@ const deserializeAws_restJson1GetSolFunctionPackageCommand = async (output, cont
|
|
|
1148
1148
|
contents.operationalState = (0, smithy_client_1.expectString)(data.operationalState);
|
|
1149
1149
|
}
|
|
1150
1150
|
if (data.tags != null) {
|
|
1151
|
-
contents.tags =
|
|
1151
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1152
1152
|
}
|
|
1153
1153
|
if (data.usageState != null) {
|
|
1154
1154
|
contents.usageState = (0, smithy_client_1.expectString)(data.usageState);
|
|
@@ -1167,8 +1167,8 @@ const deserializeAws_restJson1GetSolFunctionPackageCommand = async (output, cont
|
|
|
1167
1167
|
}
|
|
1168
1168
|
return contents;
|
|
1169
1169
|
};
|
|
1170
|
-
exports.
|
|
1171
|
-
const
|
|
1170
|
+
exports.de_GetSolFunctionPackageCommand = de_GetSolFunctionPackageCommand;
|
|
1171
|
+
const de_GetSolFunctionPackageCommandError = async (output, context) => {
|
|
1172
1172
|
const parsedOutput = {
|
|
1173
1173
|
...output,
|
|
1174
1174
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1177,19 +1177,19 @@ const deserializeAws_restJson1GetSolFunctionPackageCommandError = async (output,
|
|
|
1177
1177
|
switch (errorCode) {
|
|
1178
1178
|
case "AccessDeniedException":
|
|
1179
1179
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1180
|
-
throw await
|
|
1180
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1181
1181
|
case "InternalServerException":
|
|
1182
1182
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1183
|
-
throw await
|
|
1183
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1184
1184
|
case "ResourceNotFoundException":
|
|
1185
1185
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1186
|
-
throw await
|
|
1186
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1187
1187
|
case "ThrottlingException":
|
|
1188
1188
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1189
|
-
throw await
|
|
1189
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1190
1190
|
case "ValidationException":
|
|
1191
1191
|
case "com.amazonaws.tnb#ValidationException":
|
|
1192
|
-
throw await
|
|
1192
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1193
1193
|
default:
|
|
1194
1194
|
const parsedBody = parsedOutput.body;
|
|
1195
1195
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1200,9 +1200,9 @@ const deserializeAws_restJson1GetSolFunctionPackageCommandError = async (output,
|
|
|
1200
1200
|
});
|
|
1201
1201
|
}
|
|
1202
1202
|
};
|
|
1203
|
-
const
|
|
1203
|
+
const de_GetSolFunctionPackageContentCommand = async (output, context) => {
|
|
1204
1204
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1205
|
-
return
|
|
1205
|
+
return de_GetSolFunctionPackageContentCommandError(output, context);
|
|
1206
1206
|
}
|
|
1207
1207
|
const contents = map({
|
|
1208
1208
|
$metadata: deserializeMetadata(output),
|
|
@@ -1212,8 +1212,8 @@ const deserializeAws_restJson1GetSolFunctionPackageContentCommand = async (outpu
|
|
|
1212
1212
|
contents.packageContent = data;
|
|
1213
1213
|
return contents;
|
|
1214
1214
|
};
|
|
1215
|
-
exports.
|
|
1216
|
-
const
|
|
1215
|
+
exports.de_GetSolFunctionPackageContentCommand = de_GetSolFunctionPackageContentCommand;
|
|
1216
|
+
const de_GetSolFunctionPackageContentCommandError = async (output, context) => {
|
|
1217
1217
|
const parsedOutput = {
|
|
1218
1218
|
...output,
|
|
1219
1219
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1222,19 +1222,19 @@ const deserializeAws_restJson1GetSolFunctionPackageContentCommandError = async (
|
|
|
1222
1222
|
switch (errorCode) {
|
|
1223
1223
|
case "AccessDeniedException":
|
|
1224
1224
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1225
|
-
throw await
|
|
1225
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1226
1226
|
case "InternalServerException":
|
|
1227
1227
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1228
|
-
throw await
|
|
1228
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1229
1229
|
case "ResourceNotFoundException":
|
|
1230
1230
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1231
|
-
throw await
|
|
1231
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1232
1232
|
case "ThrottlingException":
|
|
1233
1233
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1234
|
-
throw await
|
|
1234
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1235
1235
|
case "ValidationException":
|
|
1236
1236
|
case "com.amazonaws.tnb#ValidationException":
|
|
1237
|
-
throw await
|
|
1237
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1238
1238
|
default:
|
|
1239
1239
|
const parsedBody = parsedOutput.body;
|
|
1240
1240
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1245,9 +1245,9 @@ const deserializeAws_restJson1GetSolFunctionPackageContentCommandError = async (
|
|
|
1245
1245
|
});
|
|
1246
1246
|
}
|
|
1247
1247
|
};
|
|
1248
|
-
const
|
|
1248
|
+
const de_GetSolFunctionPackageDescriptorCommand = async (output, context) => {
|
|
1249
1249
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1250
|
-
return
|
|
1250
|
+
return de_GetSolFunctionPackageDescriptorCommandError(output, context);
|
|
1251
1251
|
}
|
|
1252
1252
|
const contents = map({
|
|
1253
1253
|
$metadata: deserializeMetadata(output),
|
|
@@ -1257,8 +1257,8 @@ const deserializeAws_restJson1GetSolFunctionPackageDescriptorCommand = async (ou
|
|
|
1257
1257
|
contents.vnfd = data;
|
|
1258
1258
|
return contents;
|
|
1259
1259
|
};
|
|
1260
|
-
exports.
|
|
1261
|
-
const
|
|
1260
|
+
exports.de_GetSolFunctionPackageDescriptorCommand = de_GetSolFunctionPackageDescriptorCommand;
|
|
1261
|
+
const de_GetSolFunctionPackageDescriptorCommandError = async (output, context) => {
|
|
1262
1262
|
const parsedOutput = {
|
|
1263
1263
|
...output,
|
|
1264
1264
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1267,19 +1267,19 @@ const deserializeAws_restJson1GetSolFunctionPackageDescriptorCommandError = asyn
|
|
|
1267
1267
|
switch (errorCode) {
|
|
1268
1268
|
case "AccessDeniedException":
|
|
1269
1269
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1270
|
-
throw await
|
|
1270
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1271
1271
|
case "InternalServerException":
|
|
1272
1272
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1273
|
-
throw await
|
|
1273
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1274
1274
|
case "ResourceNotFoundException":
|
|
1275
1275
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1276
|
-
throw await
|
|
1276
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1277
1277
|
case "ThrottlingException":
|
|
1278
1278
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1279
|
-
throw await
|
|
1279
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1280
1280
|
case "ValidationException":
|
|
1281
1281
|
case "com.amazonaws.tnb#ValidationException":
|
|
1282
|
-
throw await
|
|
1282
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1283
1283
|
default:
|
|
1284
1284
|
const parsedBody = parsedOutput.body;
|
|
1285
1285
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1290,9 +1290,9 @@ const deserializeAws_restJson1GetSolFunctionPackageDescriptorCommandError = asyn
|
|
|
1290
1290
|
});
|
|
1291
1291
|
}
|
|
1292
1292
|
};
|
|
1293
|
-
const
|
|
1293
|
+
const de_GetSolNetworkInstanceCommand = async (output, context) => {
|
|
1294
1294
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1295
|
-
return
|
|
1295
|
+
return de_GetSolNetworkInstanceCommandError(output, context);
|
|
1296
1296
|
}
|
|
1297
1297
|
const contents = map({
|
|
1298
1298
|
$metadata: deserializeMetadata(output),
|
|
@@ -1305,10 +1305,10 @@ const deserializeAws_restJson1GetSolNetworkInstanceCommand = async (output, cont
|
|
|
1305
1305
|
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
1306
1306
|
}
|
|
1307
1307
|
if (data.lcmOpInfo != null) {
|
|
1308
|
-
contents.lcmOpInfo =
|
|
1308
|
+
contents.lcmOpInfo = de_LcmOperationInfo(data.lcmOpInfo, context);
|
|
1309
1309
|
}
|
|
1310
1310
|
if (data.metadata != null) {
|
|
1311
|
-
contents.metadata =
|
|
1311
|
+
contents.metadata = de_GetSolNetworkInstanceMetadata(data.metadata, context);
|
|
1312
1312
|
}
|
|
1313
1313
|
if (data.nsInstanceDescription != null) {
|
|
1314
1314
|
contents.nsInstanceDescription = (0, smithy_client_1.expectString)(data.nsInstanceDescription);
|
|
@@ -1326,12 +1326,12 @@ const deserializeAws_restJson1GetSolNetworkInstanceCommand = async (output, cont
|
|
|
1326
1326
|
contents.nsdInfoId = (0, smithy_client_1.expectString)(data.nsdInfoId);
|
|
1327
1327
|
}
|
|
1328
1328
|
if (data.tags != null) {
|
|
1329
|
-
contents.tags =
|
|
1329
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1330
1330
|
}
|
|
1331
1331
|
return contents;
|
|
1332
1332
|
};
|
|
1333
|
-
exports.
|
|
1334
|
-
const
|
|
1333
|
+
exports.de_GetSolNetworkInstanceCommand = de_GetSolNetworkInstanceCommand;
|
|
1334
|
+
const de_GetSolNetworkInstanceCommandError = async (output, context) => {
|
|
1335
1335
|
const parsedOutput = {
|
|
1336
1336
|
...output,
|
|
1337
1337
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1340,19 +1340,19 @@ const deserializeAws_restJson1GetSolNetworkInstanceCommandError = async (output,
|
|
|
1340
1340
|
switch (errorCode) {
|
|
1341
1341
|
case "AccessDeniedException":
|
|
1342
1342
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1343
|
-
throw await
|
|
1343
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1344
1344
|
case "InternalServerException":
|
|
1345
1345
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1346
|
-
throw await
|
|
1346
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1347
1347
|
case "ResourceNotFoundException":
|
|
1348
1348
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1349
|
-
throw await
|
|
1349
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1350
1350
|
case "ThrottlingException":
|
|
1351
1351
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1352
|
-
throw await
|
|
1352
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1353
1353
|
case "ValidationException":
|
|
1354
1354
|
case "com.amazonaws.tnb#ValidationException":
|
|
1355
|
-
throw await
|
|
1355
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1356
1356
|
default:
|
|
1357
1357
|
const parsedBody = parsedOutput.body;
|
|
1358
1358
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1363,9 +1363,9 @@ const deserializeAws_restJson1GetSolNetworkInstanceCommandError = async (output,
|
|
|
1363
1363
|
});
|
|
1364
1364
|
}
|
|
1365
1365
|
};
|
|
1366
|
-
const
|
|
1366
|
+
const de_GetSolNetworkOperationCommand = async (output, context) => {
|
|
1367
1367
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1368
|
-
return
|
|
1368
|
+
return de_GetSolNetworkOperationCommandError(output, context);
|
|
1369
1369
|
}
|
|
1370
1370
|
const contents = map({
|
|
1371
1371
|
$metadata: deserializeMetadata(output),
|
|
@@ -1375,7 +1375,7 @@ const deserializeAws_restJson1GetSolNetworkOperationCommand = async (output, con
|
|
|
1375
1375
|
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1376
1376
|
}
|
|
1377
1377
|
if (data.error != null) {
|
|
1378
|
-
contents.error =
|
|
1378
|
+
contents.error = de_ProblemDetails(data.error, context);
|
|
1379
1379
|
}
|
|
1380
1380
|
if (data.id != null) {
|
|
1381
1381
|
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
@@ -1384,7 +1384,7 @@ const deserializeAws_restJson1GetSolNetworkOperationCommand = async (output, con
|
|
|
1384
1384
|
contents.lcmOperationType = (0, smithy_client_1.expectString)(data.lcmOperationType);
|
|
1385
1385
|
}
|
|
1386
1386
|
if (data.metadata != null) {
|
|
1387
|
-
contents.metadata =
|
|
1387
|
+
contents.metadata = de_GetSolNetworkOperationMetadata(data.metadata, context);
|
|
1388
1388
|
}
|
|
1389
1389
|
if (data.nsInstanceId != null) {
|
|
1390
1390
|
contents.nsInstanceId = (0, smithy_client_1.expectString)(data.nsInstanceId);
|
|
@@ -1393,15 +1393,15 @@ const deserializeAws_restJson1GetSolNetworkOperationCommand = async (output, con
|
|
|
1393
1393
|
contents.operationState = (0, smithy_client_1.expectString)(data.operationState);
|
|
1394
1394
|
}
|
|
1395
1395
|
if (data.tags != null) {
|
|
1396
|
-
contents.tags =
|
|
1396
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1397
1397
|
}
|
|
1398
1398
|
if (data.tasks != null) {
|
|
1399
|
-
contents.tasks =
|
|
1399
|
+
contents.tasks = de_GetSolNetworkOperationTasksList(data.tasks, context);
|
|
1400
1400
|
}
|
|
1401
1401
|
return contents;
|
|
1402
1402
|
};
|
|
1403
|
-
exports.
|
|
1404
|
-
const
|
|
1403
|
+
exports.de_GetSolNetworkOperationCommand = de_GetSolNetworkOperationCommand;
|
|
1404
|
+
const de_GetSolNetworkOperationCommandError = async (output, context) => {
|
|
1405
1405
|
const parsedOutput = {
|
|
1406
1406
|
...output,
|
|
1407
1407
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1410,19 +1410,19 @@ const deserializeAws_restJson1GetSolNetworkOperationCommandError = async (output
|
|
|
1410
1410
|
switch (errorCode) {
|
|
1411
1411
|
case "AccessDeniedException":
|
|
1412
1412
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1413
|
-
throw await
|
|
1413
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1414
1414
|
case "InternalServerException":
|
|
1415
1415
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1416
|
-
throw await
|
|
1416
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1417
1417
|
case "ResourceNotFoundException":
|
|
1418
1418
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1419
|
-
throw await
|
|
1419
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1420
1420
|
case "ThrottlingException":
|
|
1421
1421
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1422
|
-
throw await
|
|
1422
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1423
1423
|
case "ValidationException":
|
|
1424
1424
|
case "com.amazonaws.tnb#ValidationException":
|
|
1425
|
-
throw await
|
|
1425
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1426
1426
|
default:
|
|
1427
1427
|
const parsedBody = parsedOutput.body;
|
|
1428
1428
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1433,9 +1433,9 @@ const deserializeAws_restJson1GetSolNetworkOperationCommandError = async (output
|
|
|
1433
1433
|
});
|
|
1434
1434
|
}
|
|
1435
1435
|
};
|
|
1436
|
-
const
|
|
1436
|
+
const de_GetSolNetworkPackageCommand = async (output, context) => {
|
|
1437
1437
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1438
|
-
return
|
|
1438
|
+
return de_GetSolNetworkPackageCommandError(output, context);
|
|
1439
1439
|
}
|
|
1440
1440
|
const contents = map({
|
|
1441
1441
|
$metadata: deserializeMetadata(output),
|
|
@@ -1448,7 +1448,7 @@ const deserializeAws_restJson1GetSolNetworkPackageCommand = async (output, conte
|
|
|
1448
1448
|
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
1449
1449
|
}
|
|
1450
1450
|
if (data.metadata != null) {
|
|
1451
|
-
contents.metadata =
|
|
1451
|
+
contents.metadata = de_GetSolNetworkPackageMetadata(data.metadata, context);
|
|
1452
1452
|
}
|
|
1453
1453
|
if (data.nsdId != null) {
|
|
1454
1454
|
contents.nsdId = (0, smithy_client_1.expectString)(data.nsdId);
|
|
@@ -1469,15 +1469,15 @@ const deserializeAws_restJson1GetSolNetworkPackageCommand = async (output, conte
|
|
|
1469
1469
|
contents.nsdVersion = (0, smithy_client_1.expectString)(data.nsdVersion);
|
|
1470
1470
|
}
|
|
1471
1471
|
if (data.tags != null) {
|
|
1472
|
-
contents.tags =
|
|
1472
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1473
1473
|
}
|
|
1474
1474
|
if (data.vnfPkgIds != null) {
|
|
1475
|
-
contents.vnfPkgIds =
|
|
1475
|
+
contents.vnfPkgIds = de_VnfPkgIdList(data.vnfPkgIds, context);
|
|
1476
1476
|
}
|
|
1477
1477
|
return contents;
|
|
1478
1478
|
};
|
|
1479
|
-
exports.
|
|
1480
|
-
const
|
|
1479
|
+
exports.de_GetSolNetworkPackageCommand = de_GetSolNetworkPackageCommand;
|
|
1480
|
+
const de_GetSolNetworkPackageCommandError = async (output, context) => {
|
|
1481
1481
|
const parsedOutput = {
|
|
1482
1482
|
...output,
|
|
1483
1483
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1486,19 +1486,19 @@ const deserializeAws_restJson1GetSolNetworkPackageCommandError = async (output,
|
|
|
1486
1486
|
switch (errorCode) {
|
|
1487
1487
|
case "AccessDeniedException":
|
|
1488
1488
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1489
|
-
throw await
|
|
1489
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1490
1490
|
case "InternalServerException":
|
|
1491
1491
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1492
|
-
throw await
|
|
1492
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1493
1493
|
case "ResourceNotFoundException":
|
|
1494
1494
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1495
|
-
throw await
|
|
1495
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1496
1496
|
case "ThrottlingException":
|
|
1497
1497
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1498
|
-
throw await
|
|
1498
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1499
1499
|
case "ValidationException":
|
|
1500
1500
|
case "com.amazonaws.tnb#ValidationException":
|
|
1501
|
-
throw await
|
|
1501
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1502
1502
|
default:
|
|
1503
1503
|
const parsedBody = parsedOutput.body;
|
|
1504
1504
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1509,9 +1509,9 @@ const deserializeAws_restJson1GetSolNetworkPackageCommandError = async (output,
|
|
|
1509
1509
|
});
|
|
1510
1510
|
}
|
|
1511
1511
|
};
|
|
1512
|
-
const
|
|
1512
|
+
const de_GetSolNetworkPackageContentCommand = async (output, context) => {
|
|
1513
1513
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1514
|
-
return
|
|
1514
|
+
return de_GetSolNetworkPackageContentCommandError(output, context);
|
|
1515
1515
|
}
|
|
1516
1516
|
const contents = map({
|
|
1517
1517
|
$metadata: deserializeMetadata(output),
|
|
@@ -1521,8 +1521,8 @@ const deserializeAws_restJson1GetSolNetworkPackageContentCommand = async (output
|
|
|
1521
1521
|
contents.nsdContent = data;
|
|
1522
1522
|
return contents;
|
|
1523
1523
|
};
|
|
1524
|
-
exports.
|
|
1525
|
-
const
|
|
1524
|
+
exports.de_GetSolNetworkPackageContentCommand = de_GetSolNetworkPackageContentCommand;
|
|
1525
|
+
const de_GetSolNetworkPackageContentCommandError = async (output, context) => {
|
|
1526
1526
|
const parsedOutput = {
|
|
1527
1527
|
...output,
|
|
1528
1528
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1531,19 +1531,19 @@ const deserializeAws_restJson1GetSolNetworkPackageContentCommandError = async (o
|
|
|
1531
1531
|
switch (errorCode) {
|
|
1532
1532
|
case "AccessDeniedException":
|
|
1533
1533
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1534
|
-
throw await
|
|
1534
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1535
1535
|
case "InternalServerException":
|
|
1536
1536
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1537
|
-
throw await
|
|
1537
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1538
1538
|
case "ResourceNotFoundException":
|
|
1539
1539
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1540
|
-
throw await
|
|
1540
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1541
1541
|
case "ThrottlingException":
|
|
1542
1542
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1543
|
-
throw await
|
|
1543
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1544
1544
|
case "ValidationException":
|
|
1545
1545
|
case "com.amazonaws.tnb#ValidationException":
|
|
1546
|
-
throw await
|
|
1546
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1547
1547
|
default:
|
|
1548
1548
|
const parsedBody = parsedOutput.body;
|
|
1549
1549
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1554,9 +1554,9 @@ const deserializeAws_restJson1GetSolNetworkPackageContentCommandError = async (o
|
|
|
1554
1554
|
});
|
|
1555
1555
|
}
|
|
1556
1556
|
};
|
|
1557
|
-
const
|
|
1557
|
+
const de_GetSolNetworkPackageDescriptorCommand = async (output, context) => {
|
|
1558
1558
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1559
|
-
return
|
|
1559
|
+
return de_GetSolNetworkPackageDescriptorCommandError(output, context);
|
|
1560
1560
|
}
|
|
1561
1561
|
const contents = map({
|
|
1562
1562
|
$metadata: deserializeMetadata(output),
|
|
@@ -1566,8 +1566,8 @@ const deserializeAws_restJson1GetSolNetworkPackageDescriptorCommand = async (out
|
|
|
1566
1566
|
contents.nsd = data;
|
|
1567
1567
|
return contents;
|
|
1568
1568
|
};
|
|
1569
|
-
exports.
|
|
1570
|
-
const
|
|
1569
|
+
exports.de_GetSolNetworkPackageDescriptorCommand = de_GetSolNetworkPackageDescriptorCommand;
|
|
1570
|
+
const de_GetSolNetworkPackageDescriptorCommandError = async (output, context) => {
|
|
1571
1571
|
const parsedOutput = {
|
|
1572
1572
|
...output,
|
|
1573
1573
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1576,19 +1576,19 @@ const deserializeAws_restJson1GetSolNetworkPackageDescriptorCommandError = async
|
|
|
1576
1576
|
switch (errorCode) {
|
|
1577
1577
|
case "AccessDeniedException":
|
|
1578
1578
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1579
|
-
throw await
|
|
1579
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1580
1580
|
case "InternalServerException":
|
|
1581
1581
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1582
|
-
throw await
|
|
1582
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1583
1583
|
case "ResourceNotFoundException":
|
|
1584
1584
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1585
|
-
throw await
|
|
1585
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1586
1586
|
case "ThrottlingException":
|
|
1587
1587
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1588
|
-
throw await
|
|
1588
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1589
1589
|
case "ValidationException":
|
|
1590
1590
|
case "com.amazonaws.tnb#ValidationException":
|
|
1591
|
-
throw await
|
|
1591
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1592
1592
|
default:
|
|
1593
1593
|
const parsedBody = parsedOutput.body;
|
|
1594
1594
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1599,9 +1599,9 @@ const deserializeAws_restJson1GetSolNetworkPackageDescriptorCommandError = async
|
|
|
1599
1599
|
});
|
|
1600
1600
|
}
|
|
1601
1601
|
};
|
|
1602
|
-
const
|
|
1602
|
+
const de_InstantiateSolNetworkInstanceCommand = async (output, context) => {
|
|
1603
1603
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1604
|
-
return
|
|
1604
|
+
return de_InstantiateSolNetworkInstanceCommandError(output, context);
|
|
1605
1605
|
}
|
|
1606
1606
|
const contents = map({
|
|
1607
1607
|
$metadata: deserializeMetadata(output),
|
|
@@ -1611,12 +1611,12 @@ const deserializeAws_restJson1InstantiateSolNetworkInstanceCommand = async (outp
|
|
|
1611
1611
|
contents.nsLcmOpOccId = (0, smithy_client_1.expectString)(data.nsLcmOpOccId);
|
|
1612
1612
|
}
|
|
1613
1613
|
if (data.tags != null) {
|
|
1614
|
-
contents.tags =
|
|
1614
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1615
1615
|
}
|
|
1616
1616
|
return contents;
|
|
1617
1617
|
};
|
|
1618
|
-
exports.
|
|
1619
|
-
const
|
|
1618
|
+
exports.de_InstantiateSolNetworkInstanceCommand = de_InstantiateSolNetworkInstanceCommand;
|
|
1619
|
+
const de_InstantiateSolNetworkInstanceCommandError = async (output, context) => {
|
|
1620
1620
|
const parsedOutput = {
|
|
1621
1621
|
...output,
|
|
1622
1622
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1625,22 +1625,22 @@ const deserializeAws_restJson1InstantiateSolNetworkInstanceCommandError = async
|
|
|
1625
1625
|
switch (errorCode) {
|
|
1626
1626
|
case "AccessDeniedException":
|
|
1627
1627
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1628
|
-
throw await
|
|
1628
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1629
1629
|
case "InternalServerException":
|
|
1630
1630
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1631
|
-
throw await
|
|
1631
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1632
1632
|
case "ResourceNotFoundException":
|
|
1633
1633
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1634
|
-
throw await
|
|
1634
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1635
1635
|
case "ServiceQuotaExceededException":
|
|
1636
1636
|
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
1637
|
-
throw await
|
|
1637
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1638
1638
|
case "ThrottlingException":
|
|
1639
1639
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1640
|
-
throw await
|
|
1640
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1641
1641
|
case "ValidationException":
|
|
1642
1642
|
case "com.amazonaws.tnb#ValidationException":
|
|
1643
|
-
throw await
|
|
1643
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1644
1644
|
default:
|
|
1645
1645
|
const parsedBody = parsedOutput.body;
|
|
1646
1646
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1651,24 +1651,24 @@ const deserializeAws_restJson1InstantiateSolNetworkInstanceCommandError = async
|
|
|
1651
1651
|
});
|
|
1652
1652
|
}
|
|
1653
1653
|
};
|
|
1654
|
-
const
|
|
1654
|
+
const de_ListSolFunctionInstancesCommand = async (output, context) => {
|
|
1655
1655
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1656
|
-
return
|
|
1656
|
+
return de_ListSolFunctionInstancesCommandError(output, context);
|
|
1657
1657
|
}
|
|
1658
1658
|
const contents = map({
|
|
1659
1659
|
$metadata: deserializeMetadata(output),
|
|
1660
1660
|
});
|
|
1661
1661
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1662
1662
|
if (data.functionInstances != null) {
|
|
1663
|
-
contents.functionInstances =
|
|
1663
|
+
contents.functionInstances = de_ListSolFunctionInstanceResources(data.functionInstances, context);
|
|
1664
1664
|
}
|
|
1665
1665
|
if (data.nextToken != null) {
|
|
1666
1666
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1667
1667
|
}
|
|
1668
1668
|
return contents;
|
|
1669
1669
|
};
|
|
1670
|
-
exports.
|
|
1671
|
-
const
|
|
1670
|
+
exports.de_ListSolFunctionInstancesCommand = de_ListSolFunctionInstancesCommand;
|
|
1671
|
+
const de_ListSolFunctionInstancesCommandError = async (output, context) => {
|
|
1672
1672
|
const parsedOutput = {
|
|
1673
1673
|
...output,
|
|
1674
1674
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1677,16 +1677,16 @@ const deserializeAws_restJson1ListSolFunctionInstancesCommandError = async (outp
|
|
|
1677
1677
|
switch (errorCode) {
|
|
1678
1678
|
case "AccessDeniedException":
|
|
1679
1679
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1680
|
-
throw await
|
|
1680
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1681
1681
|
case "InternalServerException":
|
|
1682
1682
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1683
|
-
throw await
|
|
1683
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1684
1684
|
case "ThrottlingException":
|
|
1685
1685
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1686
|
-
throw await
|
|
1686
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1687
1687
|
case "ValidationException":
|
|
1688
1688
|
case "com.amazonaws.tnb#ValidationException":
|
|
1689
|
-
throw await
|
|
1689
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1690
1690
|
default:
|
|
1691
1691
|
const parsedBody = parsedOutput.body;
|
|
1692
1692
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1697,24 +1697,24 @@ const deserializeAws_restJson1ListSolFunctionInstancesCommandError = async (outp
|
|
|
1697
1697
|
});
|
|
1698
1698
|
}
|
|
1699
1699
|
};
|
|
1700
|
-
const
|
|
1700
|
+
const de_ListSolFunctionPackagesCommand = async (output, context) => {
|
|
1701
1701
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1702
|
-
return
|
|
1702
|
+
return de_ListSolFunctionPackagesCommandError(output, context);
|
|
1703
1703
|
}
|
|
1704
1704
|
const contents = map({
|
|
1705
1705
|
$metadata: deserializeMetadata(output),
|
|
1706
1706
|
});
|
|
1707
1707
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1708
1708
|
if (data.functionPackages != null) {
|
|
1709
|
-
contents.functionPackages =
|
|
1709
|
+
contents.functionPackages = de_ListSolFunctionPackageResources(data.functionPackages, context);
|
|
1710
1710
|
}
|
|
1711
1711
|
if (data.nextToken != null) {
|
|
1712
1712
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1713
1713
|
}
|
|
1714
1714
|
return contents;
|
|
1715
1715
|
};
|
|
1716
|
-
exports.
|
|
1717
|
-
const
|
|
1716
|
+
exports.de_ListSolFunctionPackagesCommand = de_ListSolFunctionPackagesCommand;
|
|
1717
|
+
const de_ListSolFunctionPackagesCommandError = async (output, context) => {
|
|
1718
1718
|
const parsedOutput = {
|
|
1719
1719
|
...output,
|
|
1720
1720
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1723,16 +1723,16 @@ const deserializeAws_restJson1ListSolFunctionPackagesCommandError = async (outpu
|
|
|
1723
1723
|
switch (errorCode) {
|
|
1724
1724
|
case "AccessDeniedException":
|
|
1725
1725
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1726
|
-
throw await
|
|
1726
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1727
1727
|
case "InternalServerException":
|
|
1728
1728
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1729
|
-
throw await
|
|
1729
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1730
1730
|
case "ThrottlingException":
|
|
1731
1731
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1732
|
-
throw await
|
|
1732
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1733
1733
|
case "ValidationException":
|
|
1734
1734
|
case "com.amazonaws.tnb#ValidationException":
|
|
1735
|
-
throw await
|
|
1735
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1736
1736
|
default:
|
|
1737
1737
|
const parsedBody = parsedOutput.body;
|
|
1738
1738
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1743,24 +1743,24 @@ const deserializeAws_restJson1ListSolFunctionPackagesCommandError = async (outpu
|
|
|
1743
1743
|
});
|
|
1744
1744
|
}
|
|
1745
1745
|
};
|
|
1746
|
-
const
|
|
1746
|
+
const de_ListSolNetworkInstancesCommand = async (output, context) => {
|
|
1747
1747
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1748
|
-
return
|
|
1748
|
+
return de_ListSolNetworkInstancesCommandError(output, context);
|
|
1749
1749
|
}
|
|
1750
1750
|
const contents = map({
|
|
1751
1751
|
$metadata: deserializeMetadata(output),
|
|
1752
1752
|
});
|
|
1753
1753
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1754
1754
|
if (data.networkInstances != null) {
|
|
1755
|
-
contents.networkInstances =
|
|
1755
|
+
contents.networkInstances = de_ListSolNetworkInstanceResources(data.networkInstances, context);
|
|
1756
1756
|
}
|
|
1757
1757
|
if (data.nextToken != null) {
|
|
1758
1758
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1759
1759
|
}
|
|
1760
1760
|
return contents;
|
|
1761
1761
|
};
|
|
1762
|
-
exports.
|
|
1763
|
-
const
|
|
1762
|
+
exports.de_ListSolNetworkInstancesCommand = de_ListSolNetworkInstancesCommand;
|
|
1763
|
+
const de_ListSolNetworkInstancesCommandError = async (output, context) => {
|
|
1764
1764
|
const parsedOutput = {
|
|
1765
1765
|
...output,
|
|
1766
1766
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1769,16 +1769,16 @@ const deserializeAws_restJson1ListSolNetworkInstancesCommandError = async (outpu
|
|
|
1769
1769
|
switch (errorCode) {
|
|
1770
1770
|
case "AccessDeniedException":
|
|
1771
1771
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1772
|
-
throw await
|
|
1772
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1773
1773
|
case "InternalServerException":
|
|
1774
1774
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1775
|
-
throw await
|
|
1775
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1776
1776
|
case "ThrottlingException":
|
|
1777
1777
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1778
|
-
throw await
|
|
1778
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1779
1779
|
case "ValidationException":
|
|
1780
1780
|
case "com.amazonaws.tnb#ValidationException":
|
|
1781
|
-
throw await
|
|
1781
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1782
1782
|
default:
|
|
1783
1783
|
const parsedBody = parsedOutput.body;
|
|
1784
1784
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1789,24 +1789,24 @@ const deserializeAws_restJson1ListSolNetworkInstancesCommandError = async (outpu
|
|
|
1789
1789
|
});
|
|
1790
1790
|
}
|
|
1791
1791
|
};
|
|
1792
|
-
const
|
|
1792
|
+
const de_ListSolNetworkOperationsCommand = async (output, context) => {
|
|
1793
1793
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1794
|
-
return
|
|
1794
|
+
return de_ListSolNetworkOperationsCommandError(output, context);
|
|
1795
1795
|
}
|
|
1796
1796
|
const contents = map({
|
|
1797
1797
|
$metadata: deserializeMetadata(output),
|
|
1798
1798
|
});
|
|
1799
1799
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1800
1800
|
if (data.networkOperations != null) {
|
|
1801
|
-
contents.networkOperations =
|
|
1801
|
+
contents.networkOperations = de_ListSolNetworkOperationsResources(data.networkOperations, context);
|
|
1802
1802
|
}
|
|
1803
1803
|
if (data.nextToken != null) {
|
|
1804
1804
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1805
1805
|
}
|
|
1806
1806
|
return contents;
|
|
1807
1807
|
};
|
|
1808
|
-
exports.
|
|
1809
|
-
const
|
|
1808
|
+
exports.de_ListSolNetworkOperationsCommand = de_ListSolNetworkOperationsCommand;
|
|
1809
|
+
const de_ListSolNetworkOperationsCommandError = async (output, context) => {
|
|
1810
1810
|
const parsedOutput = {
|
|
1811
1811
|
...output,
|
|
1812
1812
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1815,16 +1815,16 @@ const deserializeAws_restJson1ListSolNetworkOperationsCommandError = async (outp
|
|
|
1815
1815
|
switch (errorCode) {
|
|
1816
1816
|
case "AccessDeniedException":
|
|
1817
1817
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1818
|
-
throw await
|
|
1818
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1819
1819
|
case "InternalServerException":
|
|
1820
1820
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1821
|
-
throw await
|
|
1821
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1822
1822
|
case "ThrottlingException":
|
|
1823
1823
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1824
|
-
throw await
|
|
1824
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1825
1825
|
case "ValidationException":
|
|
1826
1826
|
case "com.amazonaws.tnb#ValidationException":
|
|
1827
|
-
throw await
|
|
1827
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1828
1828
|
default:
|
|
1829
1829
|
const parsedBody = parsedOutput.body;
|
|
1830
1830
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1835,24 +1835,24 @@ const deserializeAws_restJson1ListSolNetworkOperationsCommandError = async (outp
|
|
|
1835
1835
|
});
|
|
1836
1836
|
}
|
|
1837
1837
|
};
|
|
1838
|
-
const
|
|
1838
|
+
const de_ListSolNetworkPackagesCommand = async (output, context) => {
|
|
1839
1839
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1840
|
-
return
|
|
1840
|
+
return de_ListSolNetworkPackagesCommandError(output, context);
|
|
1841
1841
|
}
|
|
1842
1842
|
const contents = map({
|
|
1843
1843
|
$metadata: deserializeMetadata(output),
|
|
1844
1844
|
});
|
|
1845
1845
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1846
1846
|
if (data.networkPackages != null) {
|
|
1847
|
-
contents.networkPackages =
|
|
1847
|
+
contents.networkPackages = de_ListSolNetworkPackageResources(data.networkPackages, context);
|
|
1848
1848
|
}
|
|
1849
1849
|
if (data.nextToken != null) {
|
|
1850
1850
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1851
1851
|
}
|
|
1852
1852
|
return contents;
|
|
1853
1853
|
};
|
|
1854
|
-
exports.
|
|
1855
|
-
const
|
|
1854
|
+
exports.de_ListSolNetworkPackagesCommand = de_ListSolNetworkPackagesCommand;
|
|
1855
|
+
const de_ListSolNetworkPackagesCommandError = async (output, context) => {
|
|
1856
1856
|
const parsedOutput = {
|
|
1857
1857
|
...output,
|
|
1858
1858
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1861,16 +1861,16 @@ const deserializeAws_restJson1ListSolNetworkPackagesCommandError = async (output
|
|
|
1861
1861
|
switch (errorCode) {
|
|
1862
1862
|
case "AccessDeniedException":
|
|
1863
1863
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1864
|
-
throw await
|
|
1864
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1865
1865
|
case "InternalServerException":
|
|
1866
1866
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1867
|
-
throw await
|
|
1867
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1868
1868
|
case "ThrottlingException":
|
|
1869
1869
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1870
|
-
throw await
|
|
1870
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1871
1871
|
case "ValidationException":
|
|
1872
1872
|
case "com.amazonaws.tnb#ValidationException":
|
|
1873
|
-
throw await
|
|
1873
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1874
1874
|
default:
|
|
1875
1875
|
const parsedBody = parsedOutput.body;
|
|
1876
1876
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1881,21 +1881,21 @@ const deserializeAws_restJson1ListSolNetworkPackagesCommandError = async (output
|
|
|
1881
1881
|
});
|
|
1882
1882
|
}
|
|
1883
1883
|
};
|
|
1884
|
-
const
|
|
1884
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1885
1885
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1886
|
-
return
|
|
1886
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1887
1887
|
}
|
|
1888
1888
|
const contents = map({
|
|
1889
1889
|
$metadata: deserializeMetadata(output),
|
|
1890
1890
|
});
|
|
1891
1891
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1892
1892
|
if (data.tags != null) {
|
|
1893
|
-
contents.tags =
|
|
1893
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1894
1894
|
}
|
|
1895
1895
|
return contents;
|
|
1896
1896
|
};
|
|
1897
|
-
exports.
|
|
1898
|
-
const
|
|
1897
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1898
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1899
1899
|
const parsedOutput = {
|
|
1900
1900
|
...output,
|
|
1901
1901
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1904,19 +1904,19 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
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
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1927,9 +1927,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1927
1927
|
});
|
|
1928
1928
|
}
|
|
1929
1929
|
};
|
|
1930
|
-
const
|
|
1930
|
+
const de_PutSolFunctionPackageContentCommand = async (output, context) => {
|
|
1931
1931
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1932
|
-
return
|
|
1932
|
+
return de_PutSolFunctionPackageContentCommandError(output, context);
|
|
1933
1933
|
}
|
|
1934
1934
|
const contents = map({
|
|
1935
1935
|
$metadata: deserializeMetadata(output),
|
|
@@ -1939,7 +1939,7 @@ const deserializeAws_restJson1PutSolFunctionPackageContentCommand = async (outpu
|
|
|
1939
1939
|
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
1940
1940
|
}
|
|
1941
1941
|
if (data.metadata != null) {
|
|
1942
|
-
contents.metadata =
|
|
1942
|
+
contents.metadata = de_PutSolFunctionPackageContentMetadata(data.metadata, context);
|
|
1943
1943
|
}
|
|
1944
1944
|
if (data.vnfProductName != null) {
|
|
1945
1945
|
contents.vnfProductName = (0, smithy_client_1.expectString)(data.vnfProductName);
|
|
@@ -1955,8 +1955,8 @@ const deserializeAws_restJson1PutSolFunctionPackageContentCommand = async (outpu
|
|
|
1955
1955
|
}
|
|
1956
1956
|
return contents;
|
|
1957
1957
|
};
|
|
1958
|
-
exports.
|
|
1959
|
-
const
|
|
1958
|
+
exports.de_PutSolFunctionPackageContentCommand = de_PutSolFunctionPackageContentCommand;
|
|
1959
|
+
const de_PutSolFunctionPackageContentCommandError = async (output, context) => {
|
|
1960
1960
|
const parsedOutput = {
|
|
1961
1961
|
...output,
|
|
1962
1962
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1965,19 +1965,19 @@ const deserializeAws_restJson1PutSolFunctionPackageContentCommandError = async (
|
|
|
1965
1965
|
switch (errorCode) {
|
|
1966
1966
|
case "AccessDeniedException":
|
|
1967
1967
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1968
|
-
throw await
|
|
1968
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1969
1969
|
case "InternalServerException":
|
|
1970
1970
|
case "com.amazonaws.tnb#InternalServerException":
|
|
1971
|
-
throw await
|
|
1971
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1972
1972
|
case "ResourceNotFoundException":
|
|
1973
1973
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1974
|
-
throw await
|
|
1974
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1975
1975
|
case "ThrottlingException":
|
|
1976
1976
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
1977
|
-
throw await
|
|
1977
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1978
1978
|
case "ValidationException":
|
|
1979
1979
|
case "com.amazonaws.tnb#ValidationException":
|
|
1980
|
-
throw await
|
|
1980
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1981
1981
|
default:
|
|
1982
1982
|
const parsedBody = parsedOutput.body;
|
|
1983
1983
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1988,9 +1988,9 @@ const deserializeAws_restJson1PutSolFunctionPackageContentCommandError = async (
|
|
|
1988
1988
|
});
|
|
1989
1989
|
}
|
|
1990
1990
|
};
|
|
1991
|
-
const
|
|
1991
|
+
const de_PutSolNetworkPackageContentCommand = async (output, context) => {
|
|
1992
1992
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1993
|
-
return
|
|
1993
|
+
return de_PutSolNetworkPackageContentCommandError(output, context);
|
|
1994
1994
|
}
|
|
1995
1995
|
const contents = map({
|
|
1996
1996
|
$metadata: deserializeMetadata(output),
|
|
@@ -2003,7 +2003,7 @@ const deserializeAws_restJson1PutSolNetworkPackageContentCommand = async (output
|
|
|
2003
2003
|
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
2004
2004
|
}
|
|
2005
2005
|
if (data.metadata != null) {
|
|
2006
|
-
contents.metadata =
|
|
2006
|
+
contents.metadata = de_PutSolNetworkPackageContentMetadata(data.metadata, context);
|
|
2007
2007
|
}
|
|
2008
2008
|
if (data.nsdId != null) {
|
|
2009
2009
|
contents.nsdId = (0, smithy_client_1.expectString)(data.nsdId);
|
|
@@ -2015,12 +2015,12 @@ const deserializeAws_restJson1PutSolNetworkPackageContentCommand = async (output
|
|
|
2015
2015
|
contents.nsdVersion = (0, smithy_client_1.expectString)(data.nsdVersion);
|
|
2016
2016
|
}
|
|
2017
2017
|
if (data.vnfPkgIds != null) {
|
|
2018
|
-
contents.vnfPkgIds =
|
|
2018
|
+
contents.vnfPkgIds = de_VnfPkgIdList(data.vnfPkgIds, context);
|
|
2019
2019
|
}
|
|
2020
2020
|
return contents;
|
|
2021
2021
|
};
|
|
2022
|
-
exports.
|
|
2023
|
-
const
|
|
2022
|
+
exports.de_PutSolNetworkPackageContentCommand = de_PutSolNetworkPackageContentCommand;
|
|
2023
|
+
const de_PutSolNetworkPackageContentCommandError = async (output, context) => {
|
|
2024
2024
|
const parsedOutput = {
|
|
2025
2025
|
...output,
|
|
2026
2026
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2029,19 +2029,19 @@ const deserializeAws_restJson1PutSolNetworkPackageContentCommandError = async (o
|
|
|
2029
2029
|
switch (errorCode) {
|
|
2030
2030
|
case "AccessDeniedException":
|
|
2031
2031
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2032
|
-
throw await
|
|
2032
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2033
2033
|
case "InternalServerException":
|
|
2034
2034
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2035
|
-
throw await
|
|
2035
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2036
2036
|
case "ResourceNotFoundException":
|
|
2037
2037
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2038
|
-
throw await
|
|
2038
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2039
2039
|
case "ThrottlingException":
|
|
2040
2040
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2041
|
-
throw await
|
|
2041
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2042
2042
|
case "ValidationException":
|
|
2043
2043
|
case "com.amazonaws.tnb#ValidationException":
|
|
2044
|
-
throw await
|
|
2044
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2045
2045
|
default:
|
|
2046
2046
|
const parsedBody = parsedOutput.body;
|
|
2047
2047
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2052,9 +2052,9 @@ const deserializeAws_restJson1PutSolNetworkPackageContentCommandError = async (o
|
|
|
2052
2052
|
});
|
|
2053
2053
|
}
|
|
2054
2054
|
};
|
|
2055
|
-
const
|
|
2055
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
2056
2056
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2057
|
-
return
|
|
2057
|
+
return de_TagResourceCommandError(output, context);
|
|
2058
2058
|
}
|
|
2059
2059
|
const contents = map({
|
|
2060
2060
|
$metadata: deserializeMetadata(output),
|
|
@@ -2062,8 +2062,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
|
2062
2062
|
await collectBody(output.body, context);
|
|
2063
2063
|
return contents;
|
|
2064
2064
|
};
|
|
2065
|
-
exports.
|
|
2066
|
-
const
|
|
2065
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2066
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
2067
2067
|
const parsedOutput = {
|
|
2068
2068
|
...output,
|
|
2069
2069
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2072,19 +2072,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2072
2072
|
switch (errorCode) {
|
|
2073
2073
|
case "AccessDeniedException":
|
|
2074
2074
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2075
|
-
throw await
|
|
2075
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2076
2076
|
case "InternalServerException":
|
|
2077
2077
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2078
|
-
throw await
|
|
2078
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2079
2079
|
case "ResourceNotFoundException":
|
|
2080
2080
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2081
|
-
throw await
|
|
2081
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2082
2082
|
case "ThrottlingException":
|
|
2083
2083
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2084
|
-
throw await
|
|
2084
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2085
2085
|
case "ValidationException":
|
|
2086
2086
|
case "com.amazonaws.tnb#ValidationException":
|
|
2087
|
-
throw await
|
|
2087
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2088
2088
|
default:
|
|
2089
2089
|
const parsedBody = parsedOutput.body;
|
|
2090
2090
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2095,9 +2095,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2095
2095
|
});
|
|
2096
2096
|
}
|
|
2097
2097
|
};
|
|
2098
|
-
const
|
|
2098
|
+
const de_TerminateSolNetworkInstanceCommand = async (output, context) => {
|
|
2099
2099
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2100
|
-
return
|
|
2100
|
+
return de_TerminateSolNetworkInstanceCommandError(output, context);
|
|
2101
2101
|
}
|
|
2102
2102
|
const contents = map({
|
|
2103
2103
|
$metadata: deserializeMetadata(output),
|
|
@@ -2107,12 +2107,12 @@ const deserializeAws_restJson1TerminateSolNetworkInstanceCommand = async (output
|
|
|
2107
2107
|
contents.nsLcmOpOccId = (0, smithy_client_1.expectString)(data.nsLcmOpOccId);
|
|
2108
2108
|
}
|
|
2109
2109
|
if (data.tags != null) {
|
|
2110
|
-
contents.tags =
|
|
2110
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
2111
2111
|
}
|
|
2112
2112
|
return contents;
|
|
2113
2113
|
};
|
|
2114
|
-
exports.
|
|
2115
|
-
const
|
|
2114
|
+
exports.de_TerminateSolNetworkInstanceCommand = de_TerminateSolNetworkInstanceCommand;
|
|
2115
|
+
const de_TerminateSolNetworkInstanceCommandError = async (output, context) => {
|
|
2116
2116
|
const parsedOutput = {
|
|
2117
2117
|
...output,
|
|
2118
2118
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2121,22 +2121,22 @@ const deserializeAws_restJson1TerminateSolNetworkInstanceCommandError = async (o
|
|
|
2121
2121
|
switch (errorCode) {
|
|
2122
2122
|
case "AccessDeniedException":
|
|
2123
2123
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2124
|
-
throw await
|
|
2124
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2125
2125
|
case "InternalServerException":
|
|
2126
2126
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2127
|
-
throw await
|
|
2127
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2128
2128
|
case "ResourceNotFoundException":
|
|
2129
2129
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2130
|
-
throw await
|
|
2130
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2131
2131
|
case "ServiceQuotaExceededException":
|
|
2132
2132
|
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
2133
|
-
throw await
|
|
2133
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2134
2134
|
case "ThrottlingException":
|
|
2135
2135
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2136
|
-
throw await
|
|
2136
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2137
2137
|
case "ValidationException":
|
|
2138
2138
|
case "com.amazonaws.tnb#ValidationException":
|
|
2139
|
-
throw await
|
|
2139
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2140
2140
|
default:
|
|
2141
2141
|
const parsedBody = parsedOutput.body;
|
|
2142
2142
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2147,9 +2147,9 @@ const deserializeAws_restJson1TerminateSolNetworkInstanceCommandError = async (o
|
|
|
2147
2147
|
});
|
|
2148
2148
|
}
|
|
2149
2149
|
};
|
|
2150
|
-
const
|
|
2150
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
2151
2151
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2152
|
-
return
|
|
2152
|
+
return de_UntagResourceCommandError(output, context);
|
|
2153
2153
|
}
|
|
2154
2154
|
const contents = map({
|
|
2155
2155
|
$metadata: deserializeMetadata(output),
|
|
@@ -2157,8 +2157,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
|
|
|
2157
2157
|
await collectBody(output.body, context);
|
|
2158
2158
|
return contents;
|
|
2159
2159
|
};
|
|
2160
|
-
exports.
|
|
2161
|
-
const
|
|
2160
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2161
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
2162
2162
|
const parsedOutput = {
|
|
2163
2163
|
...output,
|
|
2164
2164
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2167,19 +2167,19 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2167
2167
|
switch (errorCode) {
|
|
2168
2168
|
case "AccessDeniedException":
|
|
2169
2169
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2170
|
-
throw await
|
|
2170
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2171
2171
|
case "InternalServerException":
|
|
2172
2172
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2173
|
-
throw await
|
|
2173
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2174
2174
|
case "ResourceNotFoundException":
|
|
2175
2175
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2176
|
-
throw await
|
|
2176
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2177
2177
|
case "ThrottlingException":
|
|
2178
2178
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2179
|
-
throw await
|
|
2179
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2180
2180
|
case "ValidationException":
|
|
2181
2181
|
case "com.amazonaws.tnb#ValidationException":
|
|
2182
|
-
throw await
|
|
2182
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2183
2183
|
default:
|
|
2184
2184
|
const parsedBody = parsedOutput.body;
|
|
2185
2185
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2190,9 +2190,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2190
2190
|
});
|
|
2191
2191
|
}
|
|
2192
2192
|
};
|
|
2193
|
-
const
|
|
2193
|
+
const de_UpdateSolFunctionPackageCommand = async (output, context) => {
|
|
2194
2194
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2195
|
-
return
|
|
2195
|
+
return de_UpdateSolFunctionPackageCommandError(output, context);
|
|
2196
2196
|
}
|
|
2197
2197
|
const contents = map({
|
|
2198
2198
|
$metadata: deserializeMetadata(output),
|
|
@@ -2203,8 +2203,8 @@ const deserializeAws_restJson1UpdateSolFunctionPackageCommand = async (output, c
|
|
|
2203
2203
|
}
|
|
2204
2204
|
return contents;
|
|
2205
2205
|
};
|
|
2206
|
-
exports.
|
|
2207
|
-
const
|
|
2206
|
+
exports.de_UpdateSolFunctionPackageCommand = de_UpdateSolFunctionPackageCommand;
|
|
2207
|
+
const de_UpdateSolFunctionPackageCommandError = async (output, context) => {
|
|
2208
2208
|
const parsedOutput = {
|
|
2209
2209
|
...output,
|
|
2210
2210
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2213,19 +2213,19 @@ const deserializeAws_restJson1UpdateSolFunctionPackageCommandError = async (outp
|
|
|
2213
2213
|
switch (errorCode) {
|
|
2214
2214
|
case "AccessDeniedException":
|
|
2215
2215
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2216
|
-
throw await
|
|
2216
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2217
2217
|
case "InternalServerException":
|
|
2218
2218
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2219
|
-
throw await
|
|
2219
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2220
2220
|
case "ResourceNotFoundException":
|
|
2221
2221
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2222
|
-
throw await
|
|
2222
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2223
2223
|
case "ThrottlingException":
|
|
2224
2224
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2225
|
-
throw await
|
|
2225
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2226
2226
|
case "ValidationException":
|
|
2227
2227
|
case "com.amazonaws.tnb#ValidationException":
|
|
2228
|
-
throw await
|
|
2228
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2229
2229
|
default:
|
|
2230
2230
|
const parsedBody = parsedOutput.body;
|
|
2231
2231
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2236,9 +2236,9 @@ const deserializeAws_restJson1UpdateSolFunctionPackageCommandError = async (outp
|
|
|
2236
2236
|
});
|
|
2237
2237
|
}
|
|
2238
2238
|
};
|
|
2239
|
-
const
|
|
2239
|
+
const de_UpdateSolNetworkInstanceCommand = async (output, context) => {
|
|
2240
2240
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2241
|
-
return
|
|
2241
|
+
return de_UpdateSolNetworkInstanceCommandError(output, context);
|
|
2242
2242
|
}
|
|
2243
2243
|
const contents = map({
|
|
2244
2244
|
$metadata: deserializeMetadata(output),
|
|
@@ -2248,12 +2248,12 @@ const deserializeAws_restJson1UpdateSolNetworkInstanceCommand = async (output, c
|
|
|
2248
2248
|
contents.nsLcmOpOccId = (0, smithy_client_1.expectString)(data.nsLcmOpOccId);
|
|
2249
2249
|
}
|
|
2250
2250
|
if (data.tags != null) {
|
|
2251
|
-
contents.tags =
|
|
2251
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
2252
2252
|
}
|
|
2253
2253
|
return contents;
|
|
2254
2254
|
};
|
|
2255
|
-
exports.
|
|
2256
|
-
const
|
|
2255
|
+
exports.de_UpdateSolNetworkInstanceCommand = de_UpdateSolNetworkInstanceCommand;
|
|
2256
|
+
const de_UpdateSolNetworkInstanceCommandError = async (output, context) => {
|
|
2257
2257
|
const parsedOutput = {
|
|
2258
2258
|
...output,
|
|
2259
2259
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2262,22 +2262,22 @@ const deserializeAws_restJson1UpdateSolNetworkInstanceCommandError = async (outp
|
|
|
2262
2262
|
switch (errorCode) {
|
|
2263
2263
|
case "AccessDeniedException":
|
|
2264
2264
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2265
|
-
throw await
|
|
2265
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2266
2266
|
case "InternalServerException":
|
|
2267
2267
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2268
|
-
throw await
|
|
2268
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2269
2269
|
case "ResourceNotFoundException":
|
|
2270
2270
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2271
|
-
throw await
|
|
2271
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2272
2272
|
case "ServiceQuotaExceededException":
|
|
2273
2273
|
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
2274
|
-
throw await
|
|
2274
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2275
2275
|
case "ThrottlingException":
|
|
2276
2276
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2277
|
-
throw await
|
|
2277
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2278
2278
|
case "ValidationException":
|
|
2279
2279
|
case "com.amazonaws.tnb#ValidationException":
|
|
2280
|
-
throw await
|
|
2280
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2281
2281
|
default:
|
|
2282
2282
|
const parsedBody = parsedOutput.body;
|
|
2283
2283
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2288,9 +2288,9 @@ const deserializeAws_restJson1UpdateSolNetworkInstanceCommandError = async (outp
|
|
|
2288
2288
|
});
|
|
2289
2289
|
}
|
|
2290
2290
|
};
|
|
2291
|
-
const
|
|
2291
|
+
const de_UpdateSolNetworkPackageCommand = async (output, context) => {
|
|
2292
2292
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2293
|
-
return
|
|
2293
|
+
return de_UpdateSolNetworkPackageCommandError(output, context);
|
|
2294
2294
|
}
|
|
2295
2295
|
const contents = map({
|
|
2296
2296
|
$metadata: deserializeMetadata(output),
|
|
@@ -2301,8 +2301,8 @@ const deserializeAws_restJson1UpdateSolNetworkPackageCommand = async (output, co
|
|
|
2301
2301
|
}
|
|
2302
2302
|
return contents;
|
|
2303
2303
|
};
|
|
2304
|
-
exports.
|
|
2305
|
-
const
|
|
2304
|
+
exports.de_UpdateSolNetworkPackageCommand = de_UpdateSolNetworkPackageCommand;
|
|
2305
|
+
const de_UpdateSolNetworkPackageCommandError = async (output, context) => {
|
|
2306
2306
|
const parsedOutput = {
|
|
2307
2307
|
...output,
|
|
2308
2308
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2311,19 +2311,19 @@ const deserializeAws_restJson1UpdateSolNetworkPackageCommandError = async (outpu
|
|
|
2311
2311
|
switch (errorCode) {
|
|
2312
2312
|
case "AccessDeniedException":
|
|
2313
2313
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2314
|
-
throw await
|
|
2314
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2315
2315
|
case "InternalServerException":
|
|
2316
2316
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2317
|
-
throw await
|
|
2317
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2318
2318
|
case "ResourceNotFoundException":
|
|
2319
2319
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2320
|
-
throw await
|
|
2320
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2321
2321
|
case "ThrottlingException":
|
|
2322
2322
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2323
|
-
throw await
|
|
2323
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2324
2324
|
case "ValidationException":
|
|
2325
2325
|
case "com.amazonaws.tnb#ValidationException":
|
|
2326
|
-
throw await
|
|
2326
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2327
2327
|
default:
|
|
2328
2328
|
const parsedBody = parsedOutput.body;
|
|
2329
2329
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2334,9 +2334,9 @@ const deserializeAws_restJson1UpdateSolNetworkPackageCommandError = async (outpu
|
|
|
2334
2334
|
});
|
|
2335
2335
|
}
|
|
2336
2336
|
};
|
|
2337
|
-
const
|
|
2337
|
+
const de_ValidateSolFunctionPackageContentCommand = async (output, context) => {
|
|
2338
2338
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2339
|
-
return
|
|
2339
|
+
return de_ValidateSolFunctionPackageContentCommandError(output, context);
|
|
2340
2340
|
}
|
|
2341
2341
|
const contents = map({
|
|
2342
2342
|
$metadata: deserializeMetadata(output),
|
|
@@ -2346,7 +2346,7 @@ const deserializeAws_restJson1ValidateSolFunctionPackageContentCommand = async (
|
|
|
2346
2346
|
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
2347
2347
|
}
|
|
2348
2348
|
if (data.metadata != null) {
|
|
2349
|
-
contents.metadata =
|
|
2349
|
+
contents.metadata = de_ValidateSolFunctionPackageContentMetadata(data.metadata, context);
|
|
2350
2350
|
}
|
|
2351
2351
|
if (data.vnfProductName != null) {
|
|
2352
2352
|
contents.vnfProductName = (0, smithy_client_1.expectString)(data.vnfProductName);
|
|
@@ -2362,8 +2362,8 @@ const deserializeAws_restJson1ValidateSolFunctionPackageContentCommand = async (
|
|
|
2362
2362
|
}
|
|
2363
2363
|
return contents;
|
|
2364
2364
|
};
|
|
2365
|
-
exports.
|
|
2366
|
-
const
|
|
2365
|
+
exports.de_ValidateSolFunctionPackageContentCommand = de_ValidateSolFunctionPackageContentCommand;
|
|
2366
|
+
const de_ValidateSolFunctionPackageContentCommandError = async (output, context) => {
|
|
2367
2367
|
const parsedOutput = {
|
|
2368
2368
|
...output,
|
|
2369
2369
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2372,19 +2372,19 @@ const deserializeAws_restJson1ValidateSolFunctionPackageContentCommandError = as
|
|
|
2372
2372
|
switch (errorCode) {
|
|
2373
2373
|
case "AccessDeniedException":
|
|
2374
2374
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2375
|
-
throw await
|
|
2375
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2376
2376
|
case "InternalServerException":
|
|
2377
2377
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2378
|
-
throw await
|
|
2378
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2379
2379
|
case "ResourceNotFoundException":
|
|
2380
2380
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2381
|
-
throw await
|
|
2381
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2382
2382
|
case "ThrottlingException":
|
|
2383
2383
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2384
|
-
throw await
|
|
2384
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2385
2385
|
case "ValidationException":
|
|
2386
2386
|
case "com.amazonaws.tnb#ValidationException":
|
|
2387
|
-
throw await
|
|
2387
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2388
2388
|
default:
|
|
2389
2389
|
const parsedBody = parsedOutput.body;
|
|
2390
2390
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2395,9 +2395,9 @@ const deserializeAws_restJson1ValidateSolFunctionPackageContentCommandError = as
|
|
|
2395
2395
|
});
|
|
2396
2396
|
}
|
|
2397
2397
|
};
|
|
2398
|
-
const
|
|
2398
|
+
const de_ValidateSolNetworkPackageContentCommand = async (output, context) => {
|
|
2399
2399
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2400
|
-
return
|
|
2400
|
+
return de_ValidateSolNetworkPackageContentCommandError(output, context);
|
|
2401
2401
|
}
|
|
2402
2402
|
const contents = map({
|
|
2403
2403
|
$metadata: deserializeMetadata(output),
|
|
@@ -2410,7 +2410,7 @@ const deserializeAws_restJson1ValidateSolNetworkPackageContentCommand = async (o
|
|
|
2410
2410
|
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
2411
2411
|
}
|
|
2412
2412
|
if (data.metadata != null) {
|
|
2413
|
-
contents.metadata =
|
|
2413
|
+
contents.metadata = de_ValidateSolNetworkPackageContentMetadata(data.metadata, context);
|
|
2414
2414
|
}
|
|
2415
2415
|
if (data.nsdId != null) {
|
|
2416
2416
|
contents.nsdId = (0, smithy_client_1.expectString)(data.nsdId);
|
|
@@ -2422,12 +2422,12 @@ const deserializeAws_restJson1ValidateSolNetworkPackageContentCommand = async (o
|
|
|
2422
2422
|
contents.nsdVersion = (0, smithy_client_1.expectString)(data.nsdVersion);
|
|
2423
2423
|
}
|
|
2424
2424
|
if (data.vnfPkgIds != null) {
|
|
2425
|
-
contents.vnfPkgIds =
|
|
2425
|
+
contents.vnfPkgIds = de_VnfPkgIdList(data.vnfPkgIds, context);
|
|
2426
2426
|
}
|
|
2427
2427
|
return contents;
|
|
2428
2428
|
};
|
|
2429
|
-
exports.
|
|
2430
|
-
const
|
|
2429
|
+
exports.de_ValidateSolNetworkPackageContentCommand = de_ValidateSolNetworkPackageContentCommand;
|
|
2430
|
+
const de_ValidateSolNetworkPackageContentCommandError = async (output, context) => {
|
|
2431
2431
|
const parsedOutput = {
|
|
2432
2432
|
...output,
|
|
2433
2433
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2436,19 +2436,19 @@ const deserializeAws_restJson1ValidateSolNetworkPackageContentCommandError = asy
|
|
|
2436
2436
|
switch (errorCode) {
|
|
2437
2437
|
case "AccessDeniedException":
|
|
2438
2438
|
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2439
|
-
throw await
|
|
2439
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2440
2440
|
case "InternalServerException":
|
|
2441
2441
|
case "com.amazonaws.tnb#InternalServerException":
|
|
2442
|
-
throw await
|
|
2442
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2443
2443
|
case "ResourceNotFoundException":
|
|
2444
2444
|
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2445
|
-
throw await
|
|
2445
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2446
2446
|
case "ThrottlingException":
|
|
2447
2447
|
case "com.amazonaws.tnb#ThrottlingException":
|
|
2448
|
-
throw await
|
|
2448
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2449
2449
|
case "ValidationException":
|
|
2450
2450
|
case "com.amazonaws.tnb#ValidationException":
|
|
2451
|
-
throw await
|
|
2451
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2452
2452
|
default:
|
|
2453
2453
|
const parsedBody = parsedOutput.body;
|
|
2454
2454
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2460,7 +2460,7 @@ const deserializeAws_restJson1ValidateSolNetworkPackageContentCommandError = asy
|
|
|
2460
2460
|
}
|
|
2461
2461
|
};
|
|
2462
2462
|
const map = smithy_client_1.map;
|
|
2463
|
-
const
|
|
2463
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2464
2464
|
const contents = map({});
|
|
2465
2465
|
const data = parsedOutput.body;
|
|
2466
2466
|
if (data.message != null) {
|
|
@@ -2472,7 +2472,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
|
|
|
2472
2472
|
});
|
|
2473
2473
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2474
2474
|
};
|
|
2475
|
-
const
|
|
2475
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2476
2476
|
const contents = map({});
|
|
2477
2477
|
const data = parsedOutput.body;
|
|
2478
2478
|
if (data.message != null) {
|
|
@@ -2484,7 +2484,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
2484
2484
|
});
|
|
2485
2485
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2486
2486
|
};
|
|
2487
|
-
const
|
|
2487
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2488
2488
|
const contents = map({});
|
|
2489
2489
|
const data = parsedOutput.body;
|
|
2490
2490
|
if (data.message != null) {
|
|
@@ -2496,7 +2496,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
2496
2496
|
});
|
|
2497
2497
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2498
2498
|
};
|
|
2499
|
-
const
|
|
2499
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
2500
2500
|
const contents = map({});
|
|
2501
2501
|
const data = parsedOutput.body;
|
|
2502
2502
|
if (data.message != null) {
|
|
@@ -2508,7 +2508,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
2508
2508
|
});
|
|
2509
2509
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2510
2510
|
};
|
|
2511
|
-
const
|
|
2511
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2512
2512
|
const contents = map({});
|
|
2513
2513
|
const data = parsedOutput.body;
|
|
2514
2514
|
if (data.message != null) {
|
|
@@ -2520,7 +2520,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
2520
2520
|
});
|
|
2521
2521
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2522
2522
|
};
|
|
2523
|
-
const
|
|
2523
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2524
2524
|
const contents = map({});
|
|
2525
2525
|
const data = parsedOutput.body;
|
|
2526
2526
|
if (data.message != null) {
|
|
@@ -2532,7 +2532,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
2532
2532
|
});
|
|
2533
2533
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2534
2534
|
};
|
|
2535
|
-
const
|
|
2535
|
+
const se_TagMap = (input, context) => {
|
|
2536
2536
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2537
2537
|
if (value === null) {
|
|
2538
2538
|
return acc;
|
|
@@ -2541,63 +2541,63 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
2541
2541
|
return acc;
|
|
2542
2542
|
}, {});
|
|
2543
2543
|
};
|
|
2544
|
-
const
|
|
2544
|
+
const se_UpdateSolNetworkModify = (input, context) => {
|
|
2545
2545
|
return {
|
|
2546
2546
|
...(input.vnfConfigurableProperties != null && {
|
|
2547
|
-
vnfConfigurableProperties:
|
|
2547
|
+
vnfConfigurableProperties: se_Document(input.vnfConfigurableProperties, context),
|
|
2548
2548
|
}),
|
|
2549
2549
|
...(input.vnfInstanceId != null && { vnfInstanceId: input.vnfInstanceId }),
|
|
2550
2550
|
};
|
|
2551
2551
|
};
|
|
2552
|
-
const
|
|
2552
|
+
const se_Document = (input, context) => {
|
|
2553
2553
|
return input;
|
|
2554
2554
|
};
|
|
2555
|
-
const
|
|
2555
|
+
const de_ErrorInfo = (output, context) => {
|
|
2556
2556
|
return {
|
|
2557
2557
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2558
2558
|
details: (0, smithy_client_1.expectString)(output.details),
|
|
2559
2559
|
};
|
|
2560
2560
|
};
|
|
2561
|
-
const
|
|
2561
|
+
const de_FunctionArtifactMeta = (output, context) => {
|
|
2562
2562
|
return {
|
|
2563
|
-
overrides: output.overrides != null ?
|
|
2563
|
+
overrides: output.overrides != null ? de_OverrideList(output.overrides, context) : undefined,
|
|
2564
2564
|
};
|
|
2565
2565
|
};
|
|
2566
|
-
const
|
|
2566
|
+
const de_GetSolFunctionInstanceMetadata = (output, context) => {
|
|
2567
2567
|
return {
|
|
2568
2568
|
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2569
2569
|
lastModified: output.lastModified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastModified)) : undefined,
|
|
2570
2570
|
};
|
|
2571
2571
|
};
|
|
2572
|
-
const
|
|
2572
|
+
const de_GetSolFunctionPackageMetadata = (output, context) => {
|
|
2573
2573
|
return {
|
|
2574
2574
|
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2575
2575
|
lastModified: output.lastModified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastModified)) : undefined,
|
|
2576
|
-
vnfd: output.vnfd != null ?
|
|
2576
|
+
vnfd: output.vnfd != null ? de_FunctionArtifactMeta(output.vnfd, context) : undefined,
|
|
2577
2577
|
};
|
|
2578
2578
|
};
|
|
2579
|
-
const
|
|
2579
|
+
const de_GetSolInstantiatedVnfInfo = (output, context) => {
|
|
2580
2580
|
return {
|
|
2581
2581
|
vnfState: (0, smithy_client_1.expectString)(output.vnfState),
|
|
2582
2582
|
};
|
|
2583
2583
|
};
|
|
2584
|
-
const
|
|
2584
|
+
const de_GetSolNetworkInstanceMetadata = (output, context) => {
|
|
2585
2585
|
return {
|
|
2586
2586
|
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2587
2587
|
lastModified: output.lastModified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastModified)) : undefined,
|
|
2588
2588
|
};
|
|
2589
2589
|
};
|
|
2590
|
-
const
|
|
2590
|
+
const de_GetSolNetworkOperationMetadata = (output, context) => {
|
|
2591
2591
|
return {
|
|
2592
2592
|
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2593
2593
|
lastModified: output.lastModified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastModified)) : undefined,
|
|
2594
2594
|
};
|
|
2595
2595
|
};
|
|
2596
|
-
const
|
|
2596
|
+
const de_GetSolNetworkOperationTaskDetails = (output, context) => {
|
|
2597
2597
|
return {
|
|
2598
|
-
taskContext: output.taskContext != null ?
|
|
2598
|
+
taskContext: output.taskContext != null ? de_StringMap(output.taskContext, context) : undefined,
|
|
2599
2599
|
taskEndTime: output.taskEndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.taskEndTime)) : undefined,
|
|
2600
|
-
taskErrorDetails: output.taskErrorDetails != null ?
|
|
2600
|
+
taskErrorDetails: output.taskErrorDetails != null ? de_ErrorInfo(output.taskErrorDetails, context) : undefined,
|
|
2601
2601
|
taskName: (0, smithy_client_1.expectString)(output.taskName),
|
|
2602
2602
|
taskStartTime: output.taskStartTime != null
|
|
2603
2603
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.taskStartTime))
|
|
@@ -2605,102 +2605,94 @@ const deserializeAws_restJson1GetSolNetworkOperationTaskDetails = (output, conte
|
|
|
2605
2605
|
taskStatus: (0, smithy_client_1.expectString)(output.taskStatus),
|
|
2606
2606
|
};
|
|
2607
2607
|
};
|
|
2608
|
-
const
|
|
2608
|
+
const de_GetSolNetworkOperationTasksList = (output, context) => {
|
|
2609
2609
|
const retVal = (output || [])
|
|
2610
2610
|
.filter((e) => e != null)
|
|
2611
2611
|
.map((entry) => {
|
|
2612
2612
|
if (entry === null) {
|
|
2613
2613
|
return null;
|
|
2614
2614
|
}
|
|
2615
|
-
return
|
|
2615
|
+
return de_GetSolNetworkOperationTaskDetails(entry, context);
|
|
2616
2616
|
});
|
|
2617
2617
|
return retVal;
|
|
2618
2618
|
};
|
|
2619
|
-
const
|
|
2619
|
+
const de_GetSolNetworkPackageMetadata = (output, context) => {
|
|
2620
2620
|
return {
|
|
2621
2621
|
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2622
2622
|
lastModified: output.lastModified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastModified)) : undefined,
|
|
2623
|
-
nsd: output.nsd != null ?
|
|
2623
|
+
nsd: output.nsd != null ? de_NetworkArtifactMeta(output.nsd, context) : undefined,
|
|
2624
2624
|
};
|
|
2625
2625
|
};
|
|
2626
|
-
const
|
|
2626
|
+
const de_GetSolVnfcResourceInfo = (output, context) => {
|
|
2627
2627
|
return {
|
|
2628
|
-
metadata: output.metadata != null
|
|
2629
|
-
? deserializeAws_restJson1GetSolVnfcResourceInfoMetadata(output.metadata, context)
|
|
2630
|
-
: undefined,
|
|
2628
|
+
metadata: output.metadata != null ? de_GetSolVnfcResourceInfoMetadata(output.metadata, context) : undefined,
|
|
2631
2629
|
};
|
|
2632
2630
|
};
|
|
2633
|
-
const
|
|
2631
|
+
const de_GetSolVnfcResourceInfoList = (output, context) => {
|
|
2634
2632
|
const retVal = (output || [])
|
|
2635
2633
|
.filter((e) => e != null)
|
|
2636
2634
|
.map((entry) => {
|
|
2637
2635
|
if (entry === null) {
|
|
2638
2636
|
return null;
|
|
2639
2637
|
}
|
|
2640
|
-
return
|
|
2638
|
+
return de_GetSolVnfcResourceInfo(entry, context);
|
|
2641
2639
|
});
|
|
2642
2640
|
return retVal;
|
|
2643
2641
|
};
|
|
2644
|
-
const
|
|
2642
|
+
const de_GetSolVnfcResourceInfoMetadata = (output, context) => {
|
|
2645
2643
|
return {
|
|
2646
2644
|
cluster: (0, smithy_client_1.expectString)(output.cluster),
|
|
2647
2645
|
helmChart: (0, smithy_client_1.expectString)(output.helmChart),
|
|
2648
2646
|
nodeGroup: (0, smithy_client_1.expectString)(output.nodeGroup),
|
|
2649
2647
|
};
|
|
2650
2648
|
};
|
|
2651
|
-
const
|
|
2649
|
+
const de_GetSolVnfInfo = (output, context) => {
|
|
2652
2650
|
return {
|
|
2653
2651
|
vnfState: (0, smithy_client_1.expectString)(output.vnfState),
|
|
2654
|
-
vnfcResourceInfo: output.vnfcResourceInfo != null
|
|
2655
|
-
? deserializeAws_restJson1GetSolVnfcResourceInfoList(output.vnfcResourceInfo, context)
|
|
2656
|
-
: undefined,
|
|
2652
|
+
vnfcResourceInfo: output.vnfcResourceInfo != null ? de_GetSolVnfcResourceInfoList(output.vnfcResourceInfo, context) : undefined,
|
|
2657
2653
|
};
|
|
2658
2654
|
};
|
|
2659
|
-
const
|
|
2655
|
+
const de_LcmOperationInfo = (output, context) => {
|
|
2660
2656
|
return {
|
|
2661
2657
|
nsLcmOpOccId: (0, smithy_client_1.expectString)(output.nsLcmOpOccId),
|
|
2662
2658
|
};
|
|
2663
2659
|
};
|
|
2664
|
-
const
|
|
2660
|
+
const de_ListSolFunctionInstanceInfo = (output, context) => {
|
|
2665
2661
|
return {
|
|
2666
2662
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2667
2663
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
2668
2664
|
instantiatedVnfInfo: output.instantiatedVnfInfo != null
|
|
2669
|
-
?
|
|
2665
|
+
? de_GetSolInstantiatedVnfInfo(output.instantiatedVnfInfo, context)
|
|
2670
2666
|
: undefined,
|
|
2671
2667
|
instantiationState: (0, smithy_client_1.expectString)(output.instantiationState),
|
|
2672
|
-
metadata: output.metadata != null
|
|
2673
|
-
? deserializeAws_restJson1ListSolFunctionInstanceMetadata(output.metadata, context)
|
|
2674
|
-
: undefined,
|
|
2668
|
+
metadata: output.metadata != null ? de_ListSolFunctionInstanceMetadata(output.metadata, context) : undefined,
|
|
2675
2669
|
nsInstanceId: (0, smithy_client_1.expectString)(output.nsInstanceId),
|
|
2676
2670
|
vnfPkgId: (0, smithy_client_1.expectString)(output.vnfPkgId),
|
|
2677
2671
|
vnfPkgName: (0, smithy_client_1.expectString)(output.vnfPkgName),
|
|
2678
2672
|
};
|
|
2679
2673
|
};
|
|
2680
|
-
const
|
|
2674
|
+
const de_ListSolFunctionInstanceMetadata = (output, context) => {
|
|
2681
2675
|
return {
|
|
2682
2676
|
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2683
2677
|
lastModified: output.lastModified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastModified)) : undefined,
|
|
2684
2678
|
};
|
|
2685
2679
|
};
|
|
2686
|
-
const
|
|
2680
|
+
const de_ListSolFunctionInstanceResources = (output, context) => {
|
|
2687
2681
|
const retVal = (output || [])
|
|
2688
2682
|
.filter((e) => e != null)
|
|
2689
2683
|
.map((entry) => {
|
|
2690
2684
|
if (entry === null) {
|
|
2691
2685
|
return null;
|
|
2692
2686
|
}
|
|
2693
|
-
return
|
|
2687
|
+
return de_ListSolFunctionInstanceInfo(entry, context);
|
|
2694
2688
|
});
|
|
2695
2689
|
return retVal;
|
|
2696
2690
|
};
|
|
2697
|
-
const
|
|
2691
|
+
const de_ListSolFunctionPackageInfo = (output, context) => {
|
|
2698
2692
|
return {
|
|
2699
2693
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2700
2694
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
2701
|
-
metadata: output.metadata != null
|
|
2702
|
-
? deserializeAws_restJson1ListSolFunctionPackageMetadata(output.metadata, context)
|
|
2703
|
-
: undefined,
|
|
2695
|
+
metadata: output.metadata != null ? de_ListSolFunctionPackageMetadata(output.metadata, context) : undefined,
|
|
2704
2696
|
onboardingState: (0, smithy_client_1.expectString)(output.onboardingState),
|
|
2705
2697
|
operationalState: (0, smithy_client_1.expectString)(output.operationalState),
|
|
2706
2698
|
usageState: (0, smithy_client_1.expectString)(output.usageState),
|
|
@@ -2710,30 +2702,28 @@ const deserializeAws_restJson1ListSolFunctionPackageInfo = (output, context) =>
|
|
|
2710
2702
|
vnfdVersion: (0, smithy_client_1.expectString)(output.vnfdVersion),
|
|
2711
2703
|
};
|
|
2712
2704
|
};
|
|
2713
|
-
const
|
|
2705
|
+
const de_ListSolFunctionPackageMetadata = (output, context) => {
|
|
2714
2706
|
return {
|
|
2715
2707
|
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2716
2708
|
lastModified: output.lastModified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastModified)) : undefined,
|
|
2717
2709
|
};
|
|
2718
2710
|
};
|
|
2719
|
-
const
|
|
2711
|
+
const de_ListSolFunctionPackageResources = (output, context) => {
|
|
2720
2712
|
const retVal = (output || [])
|
|
2721
2713
|
.filter((e) => e != null)
|
|
2722
2714
|
.map((entry) => {
|
|
2723
2715
|
if (entry === null) {
|
|
2724
2716
|
return null;
|
|
2725
2717
|
}
|
|
2726
|
-
return
|
|
2718
|
+
return de_ListSolFunctionPackageInfo(entry, context);
|
|
2727
2719
|
});
|
|
2728
2720
|
return retVal;
|
|
2729
2721
|
};
|
|
2730
|
-
const
|
|
2722
|
+
const de_ListSolNetworkInstanceInfo = (output, context) => {
|
|
2731
2723
|
return {
|
|
2732
2724
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2733
2725
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
2734
|
-
metadata: output.metadata != null
|
|
2735
|
-
? deserializeAws_restJson1ListSolNetworkInstanceMetadata(output.metadata, context)
|
|
2736
|
-
: undefined,
|
|
2726
|
+
metadata: output.metadata != null ? de_ListSolNetworkInstanceMetadata(output.metadata, context) : undefined,
|
|
2737
2727
|
nsInstanceDescription: (0, smithy_client_1.expectString)(output.nsInstanceDescription),
|
|
2738
2728
|
nsInstanceName: (0, smithy_client_1.expectString)(output.nsInstanceName),
|
|
2739
2729
|
nsState: (0, smithy_client_1.expectString)(output.nsState),
|
|
@@ -2741,60 +2731,56 @@ const deserializeAws_restJson1ListSolNetworkInstanceInfo = (output, context) =>
|
|
|
2741
2731
|
nsdInfoId: (0, smithy_client_1.expectString)(output.nsdInfoId),
|
|
2742
2732
|
};
|
|
2743
2733
|
};
|
|
2744
|
-
const
|
|
2734
|
+
const de_ListSolNetworkInstanceMetadata = (output, context) => {
|
|
2745
2735
|
return {
|
|
2746
2736
|
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2747
2737
|
lastModified: output.lastModified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastModified)) : undefined,
|
|
2748
2738
|
};
|
|
2749
2739
|
};
|
|
2750
|
-
const
|
|
2740
|
+
const de_ListSolNetworkInstanceResources = (output, context) => {
|
|
2751
2741
|
const retVal = (output || [])
|
|
2752
2742
|
.filter((e) => e != null)
|
|
2753
2743
|
.map((entry) => {
|
|
2754
2744
|
if (entry === null) {
|
|
2755
2745
|
return null;
|
|
2756
2746
|
}
|
|
2757
|
-
return
|
|
2747
|
+
return de_ListSolNetworkInstanceInfo(entry, context);
|
|
2758
2748
|
});
|
|
2759
2749
|
return retVal;
|
|
2760
2750
|
};
|
|
2761
|
-
const
|
|
2751
|
+
const de_ListSolNetworkOperationsInfo = (output, context) => {
|
|
2762
2752
|
return {
|
|
2763
2753
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2764
|
-
error: output.error != null ?
|
|
2754
|
+
error: output.error != null ? de_ProblemDetails(output.error, context) : undefined,
|
|
2765
2755
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
2766
2756
|
lcmOperationType: (0, smithy_client_1.expectString)(output.lcmOperationType),
|
|
2767
|
-
metadata: output.metadata != null
|
|
2768
|
-
? deserializeAws_restJson1ListSolNetworkOperationsMetadata(output.metadata, context)
|
|
2769
|
-
: undefined,
|
|
2757
|
+
metadata: output.metadata != null ? de_ListSolNetworkOperationsMetadata(output.metadata, context) : undefined,
|
|
2770
2758
|
nsInstanceId: (0, smithy_client_1.expectString)(output.nsInstanceId),
|
|
2771
2759
|
operationState: (0, smithy_client_1.expectString)(output.operationState),
|
|
2772
2760
|
};
|
|
2773
2761
|
};
|
|
2774
|
-
const
|
|
2762
|
+
const de_ListSolNetworkOperationsMetadata = (output, context) => {
|
|
2775
2763
|
return {
|
|
2776
2764
|
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2777
2765
|
lastModified: output.lastModified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastModified)) : undefined,
|
|
2778
2766
|
};
|
|
2779
2767
|
};
|
|
2780
|
-
const
|
|
2768
|
+
const de_ListSolNetworkOperationsResources = (output, context) => {
|
|
2781
2769
|
const retVal = (output || [])
|
|
2782
2770
|
.filter((e) => e != null)
|
|
2783
2771
|
.map((entry) => {
|
|
2784
2772
|
if (entry === null) {
|
|
2785
2773
|
return null;
|
|
2786
2774
|
}
|
|
2787
|
-
return
|
|
2775
|
+
return de_ListSolNetworkOperationsInfo(entry, context);
|
|
2788
2776
|
});
|
|
2789
2777
|
return retVal;
|
|
2790
2778
|
};
|
|
2791
|
-
const
|
|
2779
|
+
const de_ListSolNetworkPackageInfo = (output, context) => {
|
|
2792
2780
|
return {
|
|
2793
2781
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2794
2782
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
2795
|
-
metadata: output.metadata != null
|
|
2796
|
-
? deserializeAws_restJson1ListSolNetworkPackageMetadata(output.metadata, context)
|
|
2797
|
-
: undefined,
|
|
2783
|
+
metadata: output.metadata != null ? de_ListSolNetworkPackageMetadata(output.metadata, context) : undefined,
|
|
2798
2784
|
nsdDesigner: (0, smithy_client_1.expectString)(output.nsdDesigner),
|
|
2799
2785
|
nsdId: (0, smithy_client_1.expectString)(output.nsdId),
|
|
2800
2786
|
nsdInvariantId: (0, smithy_client_1.expectString)(output.nsdInvariantId),
|
|
@@ -2803,59 +2789,59 @@ const deserializeAws_restJson1ListSolNetworkPackageInfo = (output, context) => {
|
|
|
2803
2789
|
nsdOperationalState: (0, smithy_client_1.expectString)(output.nsdOperationalState),
|
|
2804
2790
|
nsdUsageState: (0, smithy_client_1.expectString)(output.nsdUsageState),
|
|
2805
2791
|
nsdVersion: (0, smithy_client_1.expectString)(output.nsdVersion),
|
|
2806
|
-
vnfPkgIds: output.vnfPkgIds != null ?
|
|
2792
|
+
vnfPkgIds: output.vnfPkgIds != null ? de_VnfPkgIdList(output.vnfPkgIds, context) : undefined,
|
|
2807
2793
|
};
|
|
2808
2794
|
};
|
|
2809
|
-
const
|
|
2795
|
+
const de_ListSolNetworkPackageMetadata = (output, context) => {
|
|
2810
2796
|
return {
|
|
2811
2797
|
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2812
2798
|
lastModified: output.lastModified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastModified)) : undefined,
|
|
2813
2799
|
};
|
|
2814
2800
|
};
|
|
2815
|
-
const
|
|
2801
|
+
const de_ListSolNetworkPackageResources = (output, context) => {
|
|
2816
2802
|
const retVal = (output || [])
|
|
2817
2803
|
.filter((e) => e != null)
|
|
2818
2804
|
.map((entry) => {
|
|
2819
2805
|
if (entry === null) {
|
|
2820
2806
|
return null;
|
|
2821
2807
|
}
|
|
2822
|
-
return
|
|
2808
|
+
return de_ListSolNetworkPackageInfo(entry, context);
|
|
2823
2809
|
});
|
|
2824
2810
|
return retVal;
|
|
2825
2811
|
};
|
|
2826
|
-
const
|
|
2812
|
+
const de_NetworkArtifactMeta = (output, context) => {
|
|
2827
2813
|
return {
|
|
2828
|
-
overrides: output.overrides != null ?
|
|
2814
|
+
overrides: output.overrides != null ? de_OverrideList(output.overrides, context) : undefined,
|
|
2829
2815
|
};
|
|
2830
2816
|
};
|
|
2831
|
-
const
|
|
2817
|
+
const de_OverrideList = (output, context) => {
|
|
2832
2818
|
const retVal = (output || [])
|
|
2833
2819
|
.filter((e) => e != null)
|
|
2834
2820
|
.map((entry) => {
|
|
2835
2821
|
if (entry === null) {
|
|
2836
2822
|
return null;
|
|
2837
2823
|
}
|
|
2838
|
-
return
|
|
2824
|
+
return de_ToscaOverride(entry, context);
|
|
2839
2825
|
});
|
|
2840
2826
|
return retVal;
|
|
2841
2827
|
};
|
|
2842
|
-
const
|
|
2828
|
+
const de_ProblemDetails = (output, context) => {
|
|
2843
2829
|
return {
|
|
2844
2830
|
detail: (0, smithy_client_1.expectString)(output.detail),
|
|
2845
2831
|
title: (0, smithy_client_1.expectString)(output.title),
|
|
2846
2832
|
};
|
|
2847
2833
|
};
|
|
2848
|
-
const
|
|
2834
|
+
const de_PutSolFunctionPackageContentMetadata = (output, context) => {
|
|
2849
2835
|
return {
|
|
2850
|
-
vnfd: output.vnfd != null ?
|
|
2836
|
+
vnfd: output.vnfd != null ? de_FunctionArtifactMeta(output.vnfd, context) : undefined,
|
|
2851
2837
|
};
|
|
2852
2838
|
};
|
|
2853
|
-
const
|
|
2839
|
+
const de_PutSolNetworkPackageContentMetadata = (output, context) => {
|
|
2854
2840
|
return {
|
|
2855
|
-
nsd: output.nsd != null ?
|
|
2841
|
+
nsd: output.nsd != null ? de_NetworkArtifactMeta(output.nsd, context) : undefined,
|
|
2856
2842
|
};
|
|
2857
2843
|
};
|
|
2858
|
-
const
|
|
2844
|
+
const de_StringMap = (output, context) => {
|
|
2859
2845
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2860
2846
|
if (value === null) {
|
|
2861
2847
|
return acc;
|
|
@@ -2864,7 +2850,7 @@ const deserializeAws_restJson1StringMap = (output, context) => {
|
|
|
2864
2850
|
return acc;
|
|
2865
2851
|
}, {});
|
|
2866
2852
|
};
|
|
2867
|
-
const
|
|
2853
|
+
const de_TagMap = (output, context) => {
|
|
2868
2854
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2869
2855
|
if (value === null) {
|
|
2870
2856
|
return acc;
|
|
@@ -2873,23 +2859,23 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
2873
2859
|
return acc;
|
|
2874
2860
|
}, {});
|
|
2875
2861
|
};
|
|
2876
|
-
const
|
|
2862
|
+
const de_ToscaOverride = (output, context) => {
|
|
2877
2863
|
return {
|
|
2878
2864
|
defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
|
|
2879
2865
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
2880
2866
|
};
|
|
2881
2867
|
};
|
|
2882
|
-
const
|
|
2868
|
+
const de_ValidateSolFunctionPackageContentMetadata = (output, context) => {
|
|
2883
2869
|
return {
|
|
2884
|
-
vnfd: output.vnfd != null ?
|
|
2870
|
+
vnfd: output.vnfd != null ? de_FunctionArtifactMeta(output.vnfd, context) : undefined,
|
|
2885
2871
|
};
|
|
2886
2872
|
};
|
|
2887
|
-
const
|
|
2873
|
+
const de_ValidateSolNetworkPackageContentMetadata = (output, context) => {
|
|
2888
2874
|
return {
|
|
2889
|
-
nsd: output.nsd != null ?
|
|
2875
|
+
nsd: output.nsd != null ? de_NetworkArtifactMeta(output.nsd, context) : undefined,
|
|
2890
2876
|
};
|
|
2891
2877
|
};
|
|
2892
|
-
const
|
|
2878
|
+
const de_VnfPkgIdList = (output, context) => {
|
|
2893
2879
|
const retVal = (output || [])
|
|
2894
2880
|
.filter((e) => e != null)
|
|
2895
2881
|
.map((entry) => {
|