@aws-sdk/client-tnb 3.476.0 → 3.477.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/protocols/Aws_restJson1.js +192 -434
- package/dist-es/protocols/Aws_restJson1.js +193 -435
- package/package.json +5 -4
|
@@ -2,55 +2,40 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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
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
|
-
const
|
|
5
|
+
const core_1 = require("@smithy/core");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const TnbServiceException_1 = require("../models/TnbServiceException");
|
|
9
9
|
const se_CancelSolNetworkOperationCommand = async (input, context) => {
|
|
10
|
-
const
|
|
10
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
11
11
|
const headers = {};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nsLcmOpOccId", () => input.nsLcmOpOccId, "{nsLcmOpOccId}", false);
|
|
12
|
+
b.bp("/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel");
|
|
13
|
+
b.p("nsLcmOpOccId", () => input.nsLcmOpOccId, "{nsLcmOpOccId}", false);
|
|
15
14
|
let body;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
hostname,
|
|
19
|
-
port,
|
|
20
|
-
method: "POST",
|
|
21
|
-
headers,
|
|
22
|
-
path: resolvedPath,
|
|
23
|
-
body,
|
|
24
|
-
});
|
|
15
|
+
b.m("POST").h(headers).b(body);
|
|
16
|
+
return b.build();
|
|
25
17
|
};
|
|
26
18
|
exports.se_CancelSolNetworkOperationCommand = se_CancelSolNetworkOperationCommand;
|
|
27
19
|
const se_CreateSolFunctionPackageCommand = async (input, context) => {
|
|
28
|
-
const
|
|
20
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
29
21
|
const headers = {
|
|
30
22
|
"content-type": "application/json",
|
|
31
23
|
};
|
|
32
|
-
|
|
24
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages");
|
|
33
25
|
let body;
|
|
34
26
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
35
27
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
36
28
|
}));
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
hostname,
|
|
40
|
-
port,
|
|
41
|
-
method: "POST",
|
|
42
|
-
headers,
|
|
43
|
-
path: resolvedPath,
|
|
44
|
-
body,
|
|
45
|
-
});
|
|
29
|
+
b.m("POST").h(headers).b(body);
|
|
30
|
+
return b.build();
|
|
46
31
|
};
|
|
47
32
|
exports.se_CreateSolFunctionPackageCommand = se_CreateSolFunctionPackageCommand;
|
|
48
33
|
const se_CreateSolNetworkInstanceCommand = async (input, context) => {
|
|
49
|
-
const
|
|
34
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
50
35
|
const headers = {
|
|
51
36
|
"content-type": "application/json",
|
|
52
37
|
};
|
|
53
|
-
|
|
38
|
+
b.bp("/sol/nslcm/v1/ns_instances");
|
|
54
39
|
let body;
|
|
55
40
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
56
41
|
nsDescription: [],
|
|
@@ -58,632 +43,395 @@ const se_CreateSolNetworkInstanceCommand = async (input, context) => {
|
|
|
58
43
|
nsdInfoId: [],
|
|
59
44
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
60
45
|
}));
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
hostname,
|
|
64
|
-
port,
|
|
65
|
-
method: "POST",
|
|
66
|
-
headers,
|
|
67
|
-
path: resolvedPath,
|
|
68
|
-
body,
|
|
69
|
-
});
|
|
46
|
+
b.m("POST").h(headers).b(body);
|
|
47
|
+
return b.build();
|
|
70
48
|
};
|
|
71
49
|
exports.se_CreateSolNetworkInstanceCommand = se_CreateSolNetworkInstanceCommand;
|
|
72
50
|
const se_CreateSolNetworkPackageCommand = async (input, context) => {
|
|
73
|
-
const
|
|
51
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
74
52
|
const headers = {
|
|
75
53
|
"content-type": "application/json",
|
|
76
54
|
};
|
|
77
|
-
|
|
55
|
+
b.bp("/sol/nsd/v1/ns_descriptors");
|
|
78
56
|
let body;
|
|
79
57
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
80
58
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
81
59
|
}));
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
hostname,
|
|
85
|
-
port,
|
|
86
|
-
method: "POST",
|
|
87
|
-
headers,
|
|
88
|
-
path: resolvedPath,
|
|
89
|
-
body,
|
|
90
|
-
});
|
|
60
|
+
b.m("POST").h(headers).b(body);
|
|
61
|
+
return b.build();
|
|
91
62
|
};
|
|
92
63
|
exports.se_CreateSolNetworkPackageCommand = se_CreateSolNetworkPackageCommand;
|
|
93
64
|
const se_DeleteSolFunctionPackageCommand = async (input, context) => {
|
|
94
|
-
const
|
|
65
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
95
66
|
const headers = {};
|
|
96
|
-
|
|
97
|
-
|
|
67
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}");
|
|
68
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
98
69
|
let body;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
hostname,
|
|
102
|
-
port,
|
|
103
|
-
method: "DELETE",
|
|
104
|
-
headers,
|
|
105
|
-
path: resolvedPath,
|
|
106
|
-
body,
|
|
107
|
-
});
|
|
70
|
+
b.m("DELETE").h(headers).b(body);
|
|
71
|
+
return b.build();
|
|
108
72
|
};
|
|
109
73
|
exports.se_DeleteSolFunctionPackageCommand = se_DeleteSolFunctionPackageCommand;
|
|
110
74
|
const se_DeleteSolNetworkInstanceCommand = async (input, context) => {
|
|
111
|
-
const
|
|
75
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
112
76
|
const headers = {};
|
|
113
|
-
|
|
114
|
-
|
|
77
|
+
b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}");
|
|
78
|
+
b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
115
79
|
let body;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
hostname,
|
|
119
|
-
port,
|
|
120
|
-
method: "DELETE",
|
|
121
|
-
headers,
|
|
122
|
-
path: resolvedPath,
|
|
123
|
-
body,
|
|
124
|
-
});
|
|
80
|
+
b.m("DELETE").h(headers).b(body);
|
|
81
|
+
return b.build();
|
|
125
82
|
};
|
|
126
83
|
exports.se_DeleteSolNetworkInstanceCommand = se_DeleteSolNetworkInstanceCommand;
|
|
127
84
|
const se_DeleteSolNetworkPackageCommand = async (input, context) => {
|
|
128
|
-
const
|
|
85
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
129
86
|
const headers = {};
|
|
130
|
-
|
|
131
|
-
|
|
87
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}");
|
|
88
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
132
89
|
let body;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
hostname,
|
|
136
|
-
port,
|
|
137
|
-
method: "DELETE",
|
|
138
|
-
headers,
|
|
139
|
-
path: resolvedPath,
|
|
140
|
-
body,
|
|
141
|
-
});
|
|
90
|
+
b.m("DELETE").h(headers).b(body);
|
|
91
|
+
return b.build();
|
|
142
92
|
};
|
|
143
93
|
exports.se_DeleteSolNetworkPackageCommand = se_DeleteSolNetworkPackageCommand;
|
|
144
94
|
const se_GetSolFunctionInstanceCommand = async (input, context) => {
|
|
145
|
-
const
|
|
95
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
146
96
|
const headers = {};
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "vnfInstanceId", () => input.vnfInstanceId, "{vnfInstanceId}", false);
|
|
97
|
+
b.bp("/sol/vnflcm/v1/vnf_instances/{vnfInstanceId}");
|
|
98
|
+
b.p("vnfInstanceId", () => input.vnfInstanceId, "{vnfInstanceId}", false);
|
|
150
99
|
let body;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
hostname,
|
|
154
|
-
port,
|
|
155
|
-
method: "GET",
|
|
156
|
-
headers,
|
|
157
|
-
path: resolvedPath,
|
|
158
|
-
body,
|
|
159
|
-
});
|
|
100
|
+
b.m("GET").h(headers).b(body);
|
|
101
|
+
return b.build();
|
|
160
102
|
};
|
|
161
103
|
exports.se_GetSolFunctionInstanceCommand = se_GetSolFunctionInstanceCommand;
|
|
162
104
|
const se_GetSolFunctionPackageCommand = async (input, context) => {
|
|
163
|
-
const
|
|
105
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
164
106
|
const headers = {};
|
|
165
|
-
|
|
166
|
-
|
|
107
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}");
|
|
108
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
167
109
|
let body;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
hostname,
|
|
171
|
-
port,
|
|
172
|
-
method: "GET",
|
|
173
|
-
headers,
|
|
174
|
-
path: resolvedPath,
|
|
175
|
-
body,
|
|
176
|
-
});
|
|
110
|
+
b.m("GET").h(headers).b(body);
|
|
111
|
+
return b.build();
|
|
177
112
|
};
|
|
178
113
|
exports.se_GetSolFunctionPackageCommand = se_GetSolFunctionPackageCommand;
|
|
179
114
|
const se_GetSolFunctionPackageContentCommand = async (input, context) => {
|
|
180
|
-
const
|
|
115
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
181
116
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
182
|
-
|
|
117
|
+
[_a]: input[_a],
|
|
183
118
|
});
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
119
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content");
|
|
120
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
187
121
|
let body;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
hostname,
|
|
191
|
-
port,
|
|
192
|
-
method: "GET",
|
|
193
|
-
headers,
|
|
194
|
-
path: resolvedPath,
|
|
195
|
-
body,
|
|
196
|
-
});
|
|
122
|
+
b.m("GET").h(headers).b(body);
|
|
123
|
+
return b.build();
|
|
197
124
|
};
|
|
198
125
|
exports.se_GetSolFunctionPackageContentCommand = se_GetSolFunctionPackageContentCommand;
|
|
199
126
|
const se_GetSolFunctionPackageDescriptorCommand = async (input, context) => {
|
|
200
|
-
const
|
|
127
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
201
128
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
202
|
-
|
|
129
|
+
[_a]: input[_a],
|
|
203
130
|
});
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
131
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/vnfd");
|
|
132
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
207
133
|
let body;
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
hostname,
|
|
211
|
-
port,
|
|
212
|
-
method: "GET",
|
|
213
|
-
headers,
|
|
214
|
-
path: resolvedPath,
|
|
215
|
-
body,
|
|
216
|
-
});
|
|
134
|
+
b.m("GET").h(headers).b(body);
|
|
135
|
+
return b.build();
|
|
217
136
|
};
|
|
218
137
|
exports.se_GetSolFunctionPackageDescriptorCommand = se_GetSolFunctionPackageDescriptorCommand;
|
|
219
138
|
const se_GetSolNetworkInstanceCommand = async (input, context) => {
|
|
220
|
-
const
|
|
139
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
221
140
|
const headers = {};
|
|
222
|
-
|
|
223
|
-
|
|
141
|
+
b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}");
|
|
142
|
+
b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
224
143
|
let body;
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
hostname,
|
|
228
|
-
port,
|
|
229
|
-
method: "GET",
|
|
230
|
-
headers,
|
|
231
|
-
path: resolvedPath,
|
|
232
|
-
body,
|
|
233
|
-
});
|
|
144
|
+
b.m("GET").h(headers).b(body);
|
|
145
|
+
return b.build();
|
|
234
146
|
};
|
|
235
147
|
exports.se_GetSolNetworkInstanceCommand = se_GetSolNetworkInstanceCommand;
|
|
236
148
|
const se_GetSolNetworkOperationCommand = async (input, context) => {
|
|
237
|
-
const
|
|
149
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
238
150
|
const headers = {};
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nsLcmOpOccId", () => input.nsLcmOpOccId, "{nsLcmOpOccId}", false);
|
|
151
|
+
b.bp("/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}");
|
|
152
|
+
b.p("nsLcmOpOccId", () => input.nsLcmOpOccId, "{nsLcmOpOccId}", false);
|
|
242
153
|
let body;
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
hostname,
|
|
246
|
-
port,
|
|
247
|
-
method: "GET",
|
|
248
|
-
headers,
|
|
249
|
-
path: resolvedPath,
|
|
250
|
-
body,
|
|
251
|
-
});
|
|
154
|
+
b.m("GET").h(headers).b(body);
|
|
155
|
+
return b.build();
|
|
252
156
|
};
|
|
253
157
|
exports.se_GetSolNetworkOperationCommand = se_GetSolNetworkOperationCommand;
|
|
254
158
|
const se_GetSolNetworkPackageCommand = async (input, context) => {
|
|
255
|
-
const
|
|
159
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
256
160
|
const headers = {};
|
|
257
|
-
|
|
258
|
-
|
|
161
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}");
|
|
162
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
259
163
|
let body;
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
hostname,
|
|
263
|
-
port,
|
|
264
|
-
method: "GET",
|
|
265
|
-
headers,
|
|
266
|
-
path: resolvedPath,
|
|
267
|
-
body,
|
|
268
|
-
});
|
|
164
|
+
b.m("GET").h(headers).b(body);
|
|
165
|
+
return b.build();
|
|
269
166
|
};
|
|
270
167
|
exports.se_GetSolNetworkPackageCommand = se_GetSolNetworkPackageCommand;
|
|
271
168
|
const se_GetSolNetworkPackageContentCommand = async (input, context) => {
|
|
272
|
-
const
|
|
169
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
273
170
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
274
|
-
|
|
171
|
+
[_a]: input[_a],
|
|
275
172
|
});
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
173
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content");
|
|
174
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
279
175
|
let body;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
hostname,
|
|
283
|
-
port,
|
|
284
|
-
method: "GET",
|
|
285
|
-
headers,
|
|
286
|
-
path: resolvedPath,
|
|
287
|
-
body,
|
|
288
|
-
});
|
|
176
|
+
b.m("GET").h(headers).b(body);
|
|
177
|
+
return b.build();
|
|
289
178
|
};
|
|
290
179
|
exports.se_GetSolNetworkPackageContentCommand = se_GetSolNetworkPackageContentCommand;
|
|
291
180
|
const se_GetSolNetworkPackageDescriptorCommand = async (input, context) => {
|
|
292
|
-
const
|
|
181
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
293
182
|
const headers = {};
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
183
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd");
|
|
184
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
297
185
|
let body;
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
hostname,
|
|
301
|
-
port,
|
|
302
|
-
method: "GET",
|
|
303
|
-
headers,
|
|
304
|
-
path: resolvedPath,
|
|
305
|
-
body,
|
|
306
|
-
});
|
|
186
|
+
b.m("GET").h(headers).b(body);
|
|
187
|
+
return b.build();
|
|
307
188
|
};
|
|
308
189
|
exports.se_GetSolNetworkPackageDescriptorCommand = se_GetSolNetworkPackageDescriptorCommand;
|
|
309
190
|
const se_InstantiateSolNetworkInstanceCommand = async (input, context) => {
|
|
310
|
-
const
|
|
191
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
311
192
|
const headers = {
|
|
312
193
|
"content-type": "application/json",
|
|
313
194
|
};
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
195
|
+
b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}/instantiate");
|
|
196
|
+
b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
317
197
|
const query = (0, smithy_client_1.map)({
|
|
318
|
-
|
|
198
|
+
[_dr]: [() => input.dryRun !== void 0, () => input[_dR].toString()],
|
|
319
199
|
});
|
|
320
200
|
let body;
|
|
321
201
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
322
202
|
additionalParamsForNs: (_) => se_Document(_, context),
|
|
323
203
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
324
204
|
}));
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
hostname,
|
|
328
|
-
port,
|
|
329
|
-
method: "POST",
|
|
330
|
-
headers,
|
|
331
|
-
path: resolvedPath,
|
|
332
|
-
query,
|
|
333
|
-
body,
|
|
334
|
-
});
|
|
205
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
206
|
+
return b.build();
|
|
335
207
|
};
|
|
336
208
|
exports.se_InstantiateSolNetworkInstanceCommand = se_InstantiateSolNetworkInstanceCommand;
|
|
337
209
|
const se_ListSolFunctionInstancesCommand = async (input, context) => {
|
|
338
|
-
const
|
|
210
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
339
211
|
const headers = {};
|
|
340
|
-
|
|
212
|
+
b.bp("/sol/vnflcm/v1/vnf_instances");
|
|
341
213
|
const query = (0, smithy_client_1.map)({
|
|
342
|
-
|
|
343
|
-
|
|
214
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
215
|
+
[_nom]: [, input[_nT]],
|
|
344
216
|
});
|
|
345
217
|
let body;
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
hostname,
|
|
349
|
-
port,
|
|
350
|
-
method: "GET",
|
|
351
|
-
headers,
|
|
352
|
-
path: resolvedPath,
|
|
353
|
-
query,
|
|
354
|
-
body,
|
|
355
|
-
});
|
|
218
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
219
|
+
return b.build();
|
|
356
220
|
};
|
|
357
221
|
exports.se_ListSolFunctionInstancesCommand = se_ListSolFunctionInstancesCommand;
|
|
358
222
|
const se_ListSolFunctionPackagesCommand = async (input, context) => {
|
|
359
|
-
const
|
|
223
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
360
224
|
const headers = {};
|
|
361
|
-
|
|
225
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages");
|
|
362
226
|
const query = (0, smithy_client_1.map)({
|
|
363
|
-
|
|
364
|
-
|
|
227
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
228
|
+
[_nom]: [, input[_nT]],
|
|
365
229
|
});
|
|
366
230
|
let body;
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
hostname,
|
|
370
|
-
port,
|
|
371
|
-
method: "GET",
|
|
372
|
-
headers,
|
|
373
|
-
path: resolvedPath,
|
|
374
|
-
query,
|
|
375
|
-
body,
|
|
376
|
-
});
|
|
231
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
232
|
+
return b.build();
|
|
377
233
|
};
|
|
378
234
|
exports.se_ListSolFunctionPackagesCommand = se_ListSolFunctionPackagesCommand;
|
|
379
235
|
const se_ListSolNetworkInstancesCommand = async (input, context) => {
|
|
380
|
-
const
|
|
236
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
381
237
|
const headers = {};
|
|
382
|
-
|
|
238
|
+
b.bp("/sol/nslcm/v1/ns_instances");
|
|
383
239
|
const query = (0, smithy_client_1.map)({
|
|
384
|
-
|
|
385
|
-
|
|
240
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
241
|
+
[_nom]: [, input[_nT]],
|
|
386
242
|
});
|
|
387
243
|
let body;
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
hostname,
|
|
391
|
-
port,
|
|
392
|
-
method: "GET",
|
|
393
|
-
headers,
|
|
394
|
-
path: resolvedPath,
|
|
395
|
-
query,
|
|
396
|
-
body,
|
|
397
|
-
});
|
|
244
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
245
|
+
return b.build();
|
|
398
246
|
};
|
|
399
247
|
exports.se_ListSolNetworkInstancesCommand = se_ListSolNetworkInstancesCommand;
|
|
400
248
|
const se_ListSolNetworkOperationsCommand = async (input, context) => {
|
|
401
|
-
const
|
|
249
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
402
250
|
const headers = {};
|
|
403
|
-
|
|
251
|
+
b.bp("/sol/nslcm/v1/ns_lcm_op_occs");
|
|
404
252
|
const query = (0, smithy_client_1.map)({
|
|
405
|
-
|
|
406
|
-
|
|
253
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
254
|
+
[_nom]: [, input[_nT]],
|
|
407
255
|
});
|
|
408
256
|
let body;
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
hostname,
|
|
412
|
-
port,
|
|
413
|
-
method: "GET",
|
|
414
|
-
headers,
|
|
415
|
-
path: resolvedPath,
|
|
416
|
-
query,
|
|
417
|
-
body,
|
|
418
|
-
});
|
|
257
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
258
|
+
return b.build();
|
|
419
259
|
};
|
|
420
260
|
exports.se_ListSolNetworkOperationsCommand = se_ListSolNetworkOperationsCommand;
|
|
421
261
|
const se_ListSolNetworkPackagesCommand = async (input, context) => {
|
|
422
|
-
const
|
|
262
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
423
263
|
const headers = {};
|
|
424
|
-
|
|
264
|
+
b.bp("/sol/nsd/v1/ns_descriptors");
|
|
425
265
|
const query = (0, smithy_client_1.map)({
|
|
426
|
-
|
|
427
|
-
|
|
266
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
267
|
+
[_nom]: [, input[_nT]],
|
|
428
268
|
});
|
|
429
269
|
let body;
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
hostname,
|
|
433
|
-
port,
|
|
434
|
-
method: "GET",
|
|
435
|
-
headers,
|
|
436
|
-
path: resolvedPath,
|
|
437
|
-
query,
|
|
438
|
-
body,
|
|
439
|
-
});
|
|
270
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
271
|
+
return b.build();
|
|
440
272
|
};
|
|
441
273
|
exports.se_ListSolNetworkPackagesCommand = se_ListSolNetworkPackagesCommand;
|
|
442
274
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
443
|
-
const
|
|
275
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
444
276
|
const headers = {};
|
|
445
|
-
|
|
446
|
-
|
|
277
|
+
b.bp("/tags/{resourceArn}");
|
|
278
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
447
279
|
let body;
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
hostname,
|
|
451
|
-
port,
|
|
452
|
-
method: "GET",
|
|
453
|
-
headers,
|
|
454
|
-
path: resolvedPath,
|
|
455
|
-
body,
|
|
456
|
-
});
|
|
280
|
+
b.m("GET").h(headers).b(body);
|
|
281
|
+
return b.build();
|
|
457
282
|
};
|
|
458
283
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
459
284
|
const se_PutSolFunctionPackageContentCommand = async (input, context) => {
|
|
460
|
-
const
|
|
285
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
461
286
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
462
|
-
|
|
287
|
+
[_ct]: input[_cT] || "application/octet-stream",
|
|
463
288
|
});
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
289
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content");
|
|
290
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
467
291
|
let body;
|
|
468
292
|
if (input.file !== undefined) {
|
|
469
293
|
body = input.file;
|
|
470
294
|
}
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
hostname,
|
|
474
|
-
port,
|
|
475
|
-
method: "PUT",
|
|
476
|
-
headers,
|
|
477
|
-
path: resolvedPath,
|
|
478
|
-
body,
|
|
479
|
-
});
|
|
295
|
+
b.m("PUT").h(headers).b(body);
|
|
296
|
+
return b.build();
|
|
480
297
|
};
|
|
481
298
|
exports.se_PutSolFunctionPackageContentCommand = se_PutSolFunctionPackageContentCommand;
|
|
482
299
|
const se_PutSolNetworkPackageContentCommand = async (input, context) => {
|
|
483
|
-
const
|
|
300
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
484
301
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
485
|
-
|
|
302
|
+
[_ct]: input[_cT] || "application/octet-stream",
|
|
486
303
|
});
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
304
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content");
|
|
305
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
490
306
|
let body;
|
|
491
307
|
if (input.file !== undefined) {
|
|
492
308
|
body = input.file;
|
|
493
309
|
}
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
hostname,
|
|
497
|
-
port,
|
|
498
|
-
method: "PUT",
|
|
499
|
-
headers,
|
|
500
|
-
path: resolvedPath,
|
|
501
|
-
body,
|
|
502
|
-
});
|
|
310
|
+
b.m("PUT").h(headers).b(body);
|
|
311
|
+
return b.build();
|
|
503
312
|
};
|
|
504
313
|
exports.se_PutSolNetworkPackageContentCommand = se_PutSolNetworkPackageContentCommand;
|
|
505
314
|
const se_TagResourceCommand = async (input, context) => {
|
|
506
|
-
const
|
|
315
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
507
316
|
const headers = {
|
|
508
317
|
"content-type": "application/json",
|
|
509
318
|
};
|
|
510
|
-
|
|
511
|
-
|
|
319
|
+
b.bp("/tags/{resourceArn}");
|
|
320
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
512
321
|
let body;
|
|
513
322
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
514
323
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
515
324
|
}));
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
hostname,
|
|
519
|
-
port,
|
|
520
|
-
method: "POST",
|
|
521
|
-
headers,
|
|
522
|
-
path: resolvedPath,
|
|
523
|
-
body,
|
|
524
|
-
});
|
|
325
|
+
b.m("POST").h(headers).b(body);
|
|
326
|
+
return b.build();
|
|
525
327
|
};
|
|
526
328
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
527
329
|
const se_TerminateSolNetworkInstanceCommand = async (input, context) => {
|
|
528
|
-
const
|
|
330
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
529
331
|
const headers = {
|
|
530
332
|
"content-type": "application/json",
|
|
531
333
|
};
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
334
|
+
b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}/terminate");
|
|
335
|
+
b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
535
336
|
let body;
|
|
536
337
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
537
338
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
538
339
|
}));
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
hostname,
|
|
542
|
-
port,
|
|
543
|
-
method: "POST",
|
|
544
|
-
headers,
|
|
545
|
-
path: resolvedPath,
|
|
546
|
-
body,
|
|
547
|
-
});
|
|
340
|
+
b.m("POST").h(headers).b(body);
|
|
341
|
+
return b.build();
|
|
548
342
|
};
|
|
549
343
|
exports.se_TerminateSolNetworkInstanceCommand = se_TerminateSolNetworkInstanceCommand;
|
|
550
344
|
const se_UntagResourceCommand = async (input, context) => {
|
|
551
|
-
const
|
|
345
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
552
346
|
const headers = {};
|
|
553
|
-
|
|
554
|
-
|
|
347
|
+
b.bp("/tags/{resourceArn}");
|
|
348
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
555
349
|
const query = (0, smithy_client_1.map)({
|
|
556
|
-
|
|
350
|
+
[_tK]: [
|
|
557
351
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
558
|
-
() => (input
|
|
352
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
559
353
|
],
|
|
560
354
|
});
|
|
561
355
|
let body;
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
hostname,
|
|
565
|
-
port,
|
|
566
|
-
method: "DELETE",
|
|
567
|
-
headers,
|
|
568
|
-
path: resolvedPath,
|
|
569
|
-
query,
|
|
570
|
-
body,
|
|
571
|
-
});
|
|
356
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
357
|
+
return b.build();
|
|
572
358
|
};
|
|
573
359
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
574
360
|
const se_UpdateSolFunctionPackageCommand = async (input, context) => {
|
|
575
|
-
const
|
|
361
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
576
362
|
const headers = {
|
|
577
363
|
"content-type": "application/json",
|
|
578
364
|
};
|
|
579
|
-
|
|
580
|
-
|
|
365
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}");
|
|
366
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
581
367
|
let body;
|
|
582
368
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
583
369
|
operationalState: [],
|
|
584
370
|
}));
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
hostname,
|
|
588
|
-
port,
|
|
589
|
-
method: "PATCH",
|
|
590
|
-
headers,
|
|
591
|
-
path: resolvedPath,
|
|
592
|
-
body,
|
|
593
|
-
});
|
|
371
|
+
b.m("PATCH").h(headers).b(body);
|
|
372
|
+
return b.build();
|
|
594
373
|
};
|
|
595
374
|
exports.se_UpdateSolFunctionPackageCommand = se_UpdateSolFunctionPackageCommand;
|
|
596
375
|
const se_UpdateSolNetworkInstanceCommand = async (input, context) => {
|
|
597
|
-
const
|
|
376
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
598
377
|
const headers = {
|
|
599
378
|
"content-type": "application/json",
|
|
600
379
|
};
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
380
|
+
b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}/update");
|
|
381
|
+
b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
604
382
|
let body;
|
|
605
383
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
606
384
|
modifyVnfInfoData: (_) => se_UpdateSolNetworkModify(_, context),
|
|
607
385
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
608
386
|
updateType: [],
|
|
609
387
|
}));
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
hostname,
|
|
613
|
-
port,
|
|
614
|
-
method: "POST",
|
|
615
|
-
headers,
|
|
616
|
-
path: resolvedPath,
|
|
617
|
-
body,
|
|
618
|
-
});
|
|
388
|
+
b.m("POST").h(headers).b(body);
|
|
389
|
+
return b.build();
|
|
619
390
|
};
|
|
620
391
|
exports.se_UpdateSolNetworkInstanceCommand = se_UpdateSolNetworkInstanceCommand;
|
|
621
392
|
const se_UpdateSolNetworkPackageCommand = async (input, context) => {
|
|
622
|
-
const
|
|
393
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
623
394
|
const headers = {
|
|
624
395
|
"content-type": "application/json",
|
|
625
396
|
};
|
|
626
|
-
|
|
627
|
-
|
|
397
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}");
|
|
398
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
628
399
|
let body;
|
|
629
400
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
630
401
|
nsdOperationalState: [],
|
|
631
402
|
}));
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
hostname,
|
|
635
|
-
port,
|
|
636
|
-
method: "PATCH",
|
|
637
|
-
headers,
|
|
638
|
-
path: resolvedPath,
|
|
639
|
-
body,
|
|
640
|
-
});
|
|
403
|
+
b.m("PATCH").h(headers).b(body);
|
|
404
|
+
return b.build();
|
|
641
405
|
};
|
|
642
406
|
exports.se_UpdateSolNetworkPackageCommand = se_UpdateSolNetworkPackageCommand;
|
|
643
407
|
const se_ValidateSolFunctionPackageContentCommand = async (input, context) => {
|
|
644
|
-
const
|
|
408
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
645
409
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
646
|
-
|
|
410
|
+
[_ct]: input[_cT] || "application/octet-stream",
|
|
647
411
|
});
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
412
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content/validate");
|
|
413
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
651
414
|
let body;
|
|
652
415
|
if (input.file !== undefined) {
|
|
653
416
|
body = input.file;
|
|
654
417
|
}
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
hostname,
|
|
658
|
-
port,
|
|
659
|
-
method: "PUT",
|
|
660
|
-
headers,
|
|
661
|
-
path: resolvedPath,
|
|
662
|
-
body,
|
|
663
|
-
});
|
|
418
|
+
b.m("PUT").h(headers).b(body);
|
|
419
|
+
return b.build();
|
|
664
420
|
};
|
|
665
421
|
exports.se_ValidateSolFunctionPackageContentCommand = se_ValidateSolFunctionPackageContentCommand;
|
|
666
422
|
const se_ValidateSolNetworkPackageContentCommand = async (input, context) => {
|
|
667
|
-
const
|
|
423
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
668
424
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
669
|
-
|
|
425
|
+
[_ct]: input[_cT] || "application/octet-stream",
|
|
670
426
|
});
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
427
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content/validate");
|
|
428
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
674
429
|
let body;
|
|
675
430
|
if (input.file !== undefined) {
|
|
676
431
|
body = input.file;
|
|
677
432
|
}
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
hostname,
|
|
681
|
-
port,
|
|
682
|
-
method: "PUT",
|
|
683
|
-
headers,
|
|
684
|
-
path: resolvedPath,
|
|
685
|
-
body,
|
|
686
|
-
});
|
|
433
|
+
b.m("PUT").h(headers).b(body);
|
|
434
|
+
return b.build();
|
|
687
435
|
};
|
|
688
436
|
exports.se_ValidateSolNetworkPackageContentCommand = se_ValidateSolNetworkPackageContentCommand;
|
|
689
437
|
const de_CancelSolNetworkOperationCommand = async (output, context) => {
|
|
@@ -1128,7 +876,7 @@ const de_GetSolFunctionPackageContentCommand = async (output, context) => {
|
|
|
1128
876
|
}
|
|
1129
877
|
const contents = (0, smithy_client_1.map)({
|
|
1130
878
|
$metadata: deserializeMetadata(output),
|
|
1131
|
-
|
|
879
|
+
[_cT]: [, output.headers[_ct]],
|
|
1132
880
|
});
|
|
1133
881
|
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1134
882
|
contents.packageContent = data;
|
|
@@ -1172,7 +920,7 @@ const de_GetSolFunctionPackageDescriptorCommand = async (output, context) => {
|
|
|
1172
920
|
}
|
|
1173
921
|
const contents = (0, smithy_client_1.map)({
|
|
1174
922
|
$metadata: deserializeMetadata(output),
|
|
1175
|
-
|
|
923
|
+
[_cT]: [, output.headers[_ct]],
|
|
1176
924
|
});
|
|
1177
925
|
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1178
926
|
contents.vnfd = data;
|
|
@@ -1381,7 +1129,7 @@ const de_GetSolNetworkPackageContentCommand = async (output, context) => {
|
|
|
1381
1129
|
}
|
|
1382
1130
|
const contents = (0, smithy_client_1.map)({
|
|
1383
1131
|
$metadata: deserializeMetadata(output),
|
|
1384
|
-
|
|
1132
|
+
[_cT]: [, output.headers[_ct]],
|
|
1385
1133
|
});
|
|
1386
1134
|
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1387
1135
|
contents.nsdContent = data;
|
|
@@ -1425,7 +1173,7 @@ const de_GetSolNetworkPackageDescriptorCommand = async (output, context) => {
|
|
|
1425
1173
|
}
|
|
1426
1174
|
const contents = (0, smithy_client_1.map)({
|
|
1427
1175
|
$metadata: deserializeMetadata(output),
|
|
1428
|
-
|
|
1176
|
+
[_cT]: [, output.headers[_ct]],
|
|
1429
1177
|
});
|
|
1430
1178
|
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1431
1179
|
contents.nsd = data;
|
|
@@ -2546,6 +2294,16 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
2546
2294
|
value !== "" &&
|
|
2547
2295
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
2548
2296
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
2297
|
+
const _a = "accept";
|
|
2298
|
+
const _cT = "contentType";
|
|
2299
|
+
const _ct = "content-type";
|
|
2300
|
+
const _dR = "dryRun";
|
|
2301
|
+
const _dr = "dry_run";
|
|
2302
|
+
const _mR = "maxResults";
|
|
2303
|
+
const _mr = "max_results";
|
|
2304
|
+
const _nT = "nextToken";
|
|
2305
|
+
const _nom = "nextpage_opaque_marker";
|
|
2306
|
+
const _tK = "tagKeys";
|
|
2549
2307
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2550
2308
|
if (encoded.length) {
|
|
2551
2309
|
return JSON.parse(encoded);
|