@aws-sdk/client-tnb 3.901.0 → 3.906.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist-cjs/index.js +2291 -2443
  2. package/package.json +5 -5
package/dist-cjs/index.js CHANGED
@@ -1,2492 +1,2340 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- AccessDeniedException: () => AccessDeniedException,
25
- CancelSolNetworkOperationCommand: () => CancelSolNetworkOperationCommand,
26
- CreateSolFunctionPackageCommand: () => CreateSolFunctionPackageCommand,
27
- CreateSolFunctionPackageInputFilterSensitiveLog: () => CreateSolFunctionPackageInputFilterSensitiveLog,
28
- CreateSolFunctionPackageOutputFilterSensitiveLog: () => CreateSolFunctionPackageOutputFilterSensitiveLog,
29
- CreateSolNetworkInstanceCommand: () => CreateSolNetworkInstanceCommand,
30
- CreateSolNetworkInstanceInputFilterSensitiveLog: () => CreateSolNetworkInstanceInputFilterSensitiveLog,
31
- CreateSolNetworkInstanceOutputFilterSensitiveLog: () => CreateSolNetworkInstanceOutputFilterSensitiveLog,
32
- CreateSolNetworkPackageCommand: () => CreateSolNetworkPackageCommand,
33
- CreateSolNetworkPackageInputFilterSensitiveLog: () => CreateSolNetworkPackageInputFilterSensitiveLog,
34
- CreateSolNetworkPackageOutputFilterSensitiveLog: () => CreateSolNetworkPackageOutputFilterSensitiveLog,
35
- DeleteSolFunctionPackageCommand: () => DeleteSolFunctionPackageCommand,
36
- DeleteSolNetworkInstanceCommand: () => DeleteSolNetworkInstanceCommand,
37
- DeleteSolNetworkPackageCommand: () => DeleteSolNetworkPackageCommand,
38
- DescriptorContentType: () => DescriptorContentType,
39
- GetSolFunctionInstanceCommand: () => GetSolFunctionInstanceCommand,
40
- GetSolFunctionInstanceOutputFilterSensitiveLog: () => GetSolFunctionInstanceOutputFilterSensitiveLog,
41
- GetSolFunctionPackageCommand: () => GetSolFunctionPackageCommand,
42
- GetSolFunctionPackageContentCommand: () => GetSolFunctionPackageContentCommand,
43
- GetSolFunctionPackageDescriptorCommand: () => GetSolFunctionPackageDescriptorCommand,
44
- GetSolFunctionPackageOutputFilterSensitiveLog: () => GetSolFunctionPackageOutputFilterSensitiveLog,
45
- GetSolNetworkInstanceCommand: () => GetSolNetworkInstanceCommand,
46
- GetSolNetworkInstanceOutputFilterSensitiveLog: () => GetSolNetworkInstanceOutputFilterSensitiveLog,
47
- GetSolNetworkOperationCommand: () => GetSolNetworkOperationCommand,
48
- GetSolNetworkOperationOutputFilterSensitiveLog: () => GetSolNetworkOperationOutputFilterSensitiveLog,
49
- GetSolNetworkPackageCommand: () => GetSolNetworkPackageCommand,
50
- GetSolNetworkPackageContentCommand: () => GetSolNetworkPackageContentCommand,
51
- GetSolNetworkPackageDescriptorCommand: () => GetSolNetworkPackageDescriptorCommand,
52
- GetSolNetworkPackageOutputFilterSensitiveLog: () => GetSolNetworkPackageOutputFilterSensitiveLog,
53
- InstantiateSolNetworkInstanceCommand: () => InstantiateSolNetworkInstanceCommand,
54
- InstantiateSolNetworkInstanceInputFilterSensitiveLog: () => InstantiateSolNetworkInstanceInputFilterSensitiveLog,
55
- InstantiateSolNetworkInstanceOutputFilterSensitiveLog: () => InstantiateSolNetworkInstanceOutputFilterSensitiveLog,
56
- InternalServerException: () => InternalServerException,
57
- LcmOperationType: () => LcmOperationType,
58
- ListSolFunctionInstancesCommand: () => ListSolFunctionInstancesCommand,
59
- ListSolFunctionPackagesCommand: () => ListSolFunctionPackagesCommand,
60
- ListSolNetworkInstancesCommand: () => ListSolNetworkInstancesCommand,
61
- ListSolNetworkOperationsCommand: () => ListSolNetworkOperationsCommand,
62
- ListSolNetworkPackagesCommand: () => ListSolNetworkPackagesCommand,
63
- ListTagsForResourceCommand: () => ListTagsForResourceCommand,
64
- ListTagsForResourceOutputFilterSensitiveLog: () => ListTagsForResourceOutputFilterSensitiveLog,
65
- NsLcmOperationState: () => NsLcmOperationState,
66
- NsState: () => NsState,
67
- NsdOnboardingState: () => NsdOnboardingState,
68
- NsdOperationalState: () => NsdOperationalState,
69
- NsdUsageState: () => NsdUsageState,
70
- OnboardingState: () => OnboardingState,
71
- OperationalState: () => OperationalState,
72
- PackageContentType: () => PackageContentType,
73
- PutSolFunctionPackageContentCommand: () => PutSolFunctionPackageContentCommand,
74
- PutSolFunctionPackageContentInputFilterSensitiveLog: () => PutSolFunctionPackageContentInputFilterSensitiveLog,
75
- PutSolNetworkPackageContentCommand: () => PutSolNetworkPackageContentCommand,
76
- PutSolNetworkPackageContentInputFilterSensitiveLog: () => PutSolNetworkPackageContentInputFilterSensitiveLog,
77
- ResourceNotFoundException: () => ResourceNotFoundException,
78
- ServiceQuotaExceededException: () => ServiceQuotaExceededException,
79
- TagResourceCommand: () => TagResourceCommand,
80
- TagResourceInputFilterSensitiveLog: () => TagResourceInputFilterSensitiveLog,
81
- TaskStatus: () => TaskStatus,
82
- TerminateSolNetworkInstanceCommand: () => TerminateSolNetworkInstanceCommand,
83
- TerminateSolNetworkInstanceInputFilterSensitiveLog: () => TerminateSolNetworkInstanceInputFilterSensitiveLog,
84
- TerminateSolNetworkInstanceOutputFilterSensitiveLog: () => TerminateSolNetworkInstanceOutputFilterSensitiveLog,
85
- ThrottlingException: () => ThrottlingException,
86
- Tnb: () => Tnb,
87
- TnbClient: () => TnbClient,
88
- TnbServiceException: () => TnbServiceException,
89
- UntagResourceCommand: () => UntagResourceCommand,
90
- UpdateSolFunctionPackageCommand: () => UpdateSolFunctionPackageCommand,
91
- UpdateSolNetworkInstanceCommand: () => UpdateSolNetworkInstanceCommand,
92
- UpdateSolNetworkInstanceInputFilterSensitiveLog: () => UpdateSolNetworkInstanceInputFilterSensitiveLog,
93
- UpdateSolNetworkInstanceOutputFilterSensitiveLog: () => UpdateSolNetworkInstanceOutputFilterSensitiveLog,
94
- UpdateSolNetworkPackageCommand: () => UpdateSolNetworkPackageCommand,
95
- UpdateSolNetworkType: () => UpdateSolNetworkType,
96
- UsageState: () => UsageState,
97
- ValidateSolFunctionPackageContentCommand: () => ValidateSolFunctionPackageContentCommand,
98
- ValidateSolFunctionPackageContentInputFilterSensitiveLog: () => ValidateSolFunctionPackageContentInputFilterSensitiveLog,
99
- ValidateSolNetworkPackageContentCommand: () => ValidateSolNetworkPackageContentCommand,
100
- ValidateSolNetworkPackageContentInputFilterSensitiveLog: () => ValidateSolNetworkPackageContentInputFilterSensitiveLog,
101
- ValidationException: () => ValidationException,
102
- VnfInstantiationState: () => VnfInstantiationState,
103
- VnfOperationalState: () => VnfOperationalState,
104
- __Client: () => import_smithy_client.Client,
105
- paginateListSolFunctionInstances: () => paginateListSolFunctionInstances,
106
- paginateListSolFunctionPackages: () => paginateListSolFunctionPackages,
107
- paginateListSolNetworkInstances: () => paginateListSolNetworkInstances,
108
- paginateListSolNetworkOperations: () => paginateListSolNetworkOperations,
109
- paginateListSolNetworkPackages: () => paginateListSolNetworkPackages
110
- });
111
- module.exports = __toCommonJS(index_exports);
112
-
113
- // src/TnbClient.ts
114
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
115
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
116
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
117
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
118
- var import_config_resolver = require("@smithy/config-resolver");
119
- var import_core = require("@smithy/core");
120
- var import_middleware_content_length = require("@smithy/middleware-content-length");
121
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
122
- var import_middleware_retry = require("@smithy/middleware-retry");
123
-
124
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
125
-
126
- // src/endpoint/EndpointParameters.ts
127
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
128
- return Object.assign(options, {
129
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
130
- useFipsEndpoint: options.useFipsEndpoint ?? false,
131
- defaultSigningName: "tnb"
132
- });
133
- }, "resolveClientEndpointParameters");
134
- var commonParams = {
135
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
136
- Endpoint: { type: "builtInParams", name: "endpoint" },
137
- Region: { type: "builtInParams", name: "region" },
138
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
19
+
20
+ const resolveClientEndpointParameters = (options) => {
21
+ return Object.assign(options, {
22
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
23
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
24
+ defaultSigningName: "tnb",
25
+ });
26
+ };
27
+ const commonParams = {
28
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
29
+ Endpoint: { type: "builtInParams", name: "endpoint" },
30
+ Region: { type: "builtInParams", name: "region" },
31
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
139
32
  };
140
33
 
141
- // src/TnbClient.ts
142
- var import_runtimeConfig = require("././runtimeConfig");
34
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
37
+ let _credentials = runtimeConfig.credentials;
38
+ return {
39
+ setHttpAuthScheme(httpAuthScheme) {
40
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
41
+ if (index === -1) {
42
+ _httpAuthSchemes.push(httpAuthScheme);
43
+ }
44
+ else {
45
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
46
+ }
47
+ },
48
+ httpAuthSchemes() {
49
+ return _httpAuthSchemes;
50
+ },
51
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
52
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
53
+ },
54
+ httpAuthSchemeProvider() {
55
+ return _httpAuthSchemeProvider;
56
+ },
57
+ setCredentials(credentials) {
58
+ _credentials = credentials;
59
+ },
60
+ credentials() {
61
+ return _credentials;
62
+ },
63
+ };
64
+ };
65
+ const resolveHttpAuthRuntimeConfig = (config) => {
66
+ return {
67
+ httpAuthSchemes: config.httpAuthSchemes(),
68
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
69
+ credentials: config.credentials(),
70
+ };
71
+ };
143
72
 
144
- // src/runtimeExtensions.ts
145
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
146
- var import_protocol_http = require("@smithy/protocol-http");
147
- var import_smithy_client = require("@smithy/smithy-client");
73
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
74
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ };
148
78
 
149
- // src/auth/httpAuthExtensionConfiguration.ts
150
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
151
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
152
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
153
- let _credentials = runtimeConfig.credentials;
154
- return {
155
- setHttpAuthScheme(httpAuthScheme) {
156
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
157
- if (index === -1) {
158
- _httpAuthSchemes.push(httpAuthScheme);
159
- } else {
160
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
161
- }
162
- },
163
- httpAuthSchemes() {
164
- return _httpAuthSchemes;
165
- },
166
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
167
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
168
- },
169
- httpAuthSchemeProvider() {
170
- return _httpAuthSchemeProvider;
171
- },
172
- setCredentials(credentials) {
173
- _credentials = credentials;
174
- },
175
- credentials() {
176
- return _credentials;
79
+ class TnbClient extends smithyClient.Client {
80
+ config;
81
+ constructor(...[configuration]) {
82
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
83
+ super(_config_0);
84
+ this.initConfig = _config_0;
85
+ const _config_1 = resolveClientEndpointParameters(_config_0);
86
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
87
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
88
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
+ this.config = _config_8;
94
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
98
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
99
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
100
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
101
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultTnbHttpAuthSchemeParametersProvider,
102
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
103
+ "aws.auth#sigv4": config.credentials,
104
+ }),
105
+ }));
106
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
177
107
  }
178
- };
179
- }, "getHttpAuthExtensionConfiguration");
180
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
181
- return {
182
- httpAuthSchemes: config.httpAuthSchemes(),
183
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
184
- credentials: config.credentials()
185
- };
186
- }, "resolveHttpAuthRuntimeConfig");
187
-
188
- // src/runtimeExtensions.ts
189
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
190
- const extensionConfiguration = Object.assign(
191
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
192
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
193
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
194
- getHttpAuthExtensionConfiguration(runtimeConfig)
195
- );
196
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
197
- return Object.assign(
198
- runtimeConfig,
199
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
200
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
201
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
202
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
203
- );
204
- }, "resolveRuntimeExtensions");
108
+ destroy() {
109
+ super.destroy();
110
+ }
111
+ }
205
112
 
206
- // src/TnbClient.ts
207
- var TnbClient = class extends import_smithy_client.Client {
208
- static {
209
- __name(this, "TnbClient");
210
- }
211
- /**
212
- * The resolved configuration of TnbClient class. This is resolved and normalized from the {@link TnbClientConfig | constructor configuration interface}.
213
- */
214
- config;
215
- constructor(...[configuration]) {
216
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
217
- super(_config_0);
218
- this.initConfig = _config_0;
219
- const _config_1 = resolveClientEndpointParameters(_config_0);
220
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
221
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
222
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
223
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
224
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
225
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
226
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
227
- this.config = _config_8;
228
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
229
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
230
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
231
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
232
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
233
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
234
- this.middlewareStack.use(
235
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
236
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultTnbHttpAuthSchemeParametersProvider,
237
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
238
- "aws.auth#sigv4": config.credentials
239
- }), "identityProviderConfigProvider")
240
- })
241
- );
242
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
243
- }
244
- /**
245
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
246
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
247
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
248
- */
249
- destroy() {
250
- super.destroy();
251
- }
113
+ class TnbServiceException extends smithyClient.ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, TnbServiceException.prototype);
117
+ }
118
+ }
119
+
120
+ class AccessDeniedException extends TnbServiceException {
121
+ name = "AccessDeniedException";
122
+ $fault = "client";
123
+ constructor(opts) {
124
+ super({
125
+ name: "AccessDeniedException",
126
+ $fault: "client",
127
+ ...opts,
128
+ });
129
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
+ }
131
+ }
132
+ class InternalServerException extends TnbServiceException {
133
+ name = "InternalServerException";
134
+ $fault = "server";
135
+ constructor(opts) {
136
+ super({
137
+ name: "InternalServerException",
138
+ $fault: "server",
139
+ ...opts,
140
+ });
141
+ Object.setPrototypeOf(this, InternalServerException.prototype);
142
+ }
143
+ }
144
+ class ResourceNotFoundException extends TnbServiceException {
145
+ name = "ResourceNotFoundException";
146
+ $fault = "client";
147
+ constructor(opts) {
148
+ super({
149
+ name: "ResourceNotFoundException",
150
+ $fault: "client",
151
+ ...opts,
152
+ });
153
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
154
+ }
155
+ }
156
+ class ThrottlingException extends TnbServiceException {
157
+ name = "ThrottlingException";
158
+ $fault = "client";
159
+ constructor(opts) {
160
+ super({
161
+ name: "ThrottlingException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
166
+ }
167
+ }
168
+ class ValidationException extends TnbServiceException {
169
+ name = "ValidationException";
170
+ $fault = "client";
171
+ constructor(opts) {
172
+ super({
173
+ name: "ValidationException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, ValidationException.prototype);
178
+ }
179
+ }
180
+ const OnboardingState = {
181
+ CREATED: "CREATED",
182
+ ERROR: "ERROR",
183
+ ONBOARDED: "ONBOARDED",
252
184
  };
253
-
254
- // src/Tnb.ts
255
-
256
-
257
- // src/commands/CancelSolNetworkOperationCommand.ts
258
-
259
- var import_middleware_serde = require("@smithy/middleware-serde");
260
-
261
-
262
- // src/protocols/Aws_restJson1.ts
263
- var import_core2 = require("@aws-sdk/core");
264
-
265
-
266
-
267
- // src/models/models_0.ts
268
-
269
-
270
- // src/models/TnbServiceException.ts
271
-
272
- var TnbServiceException = class _TnbServiceException extends import_smithy_client.ServiceException {
273
- static {
274
- __name(this, "TnbServiceException");
275
- }
276
- /**
277
- * @internal
278
- */
279
- constructor(options) {
280
- super(options);
281
- Object.setPrototypeOf(this, _TnbServiceException.prototype);
282
- }
185
+ const OperationalState = {
186
+ DISABLED: "DISABLED",
187
+ ENABLED: "ENABLED",
283
188
  };
284
-
285
- // src/models/models_0.ts
286
- var AccessDeniedException = class _AccessDeniedException extends TnbServiceException {
287
- static {
288
- __name(this, "AccessDeniedException");
289
- }
290
- name = "AccessDeniedException";
291
- $fault = "client";
292
- /**
293
- * @internal
294
- */
295
- constructor(opts) {
296
- super({
297
- name: "AccessDeniedException",
298
- $fault: "client",
299
- ...opts
300
- });
301
- Object.setPrototypeOf(this, _AccessDeniedException.prototype);
302
- }
303
- };
304
- var InternalServerException = class _InternalServerException extends TnbServiceException {
305
- static {
306
- __name(this, "InternalServerException");
307
- }
308
- name = "InternalServerException";
309
- $fault = "server";
310
- /**
311
- * @internal
312
- */
313
- constructor(opts) {
314
- super({
315
- name: "InternalServerException",
316
- $fault: "server",
317
- ...opts
318
- });
319
- Object.setPrototypeOf(this, _InternalServerException.prototype);
320
- }
321
- };
322
- var ResourceNotFoundException = class _ResourceNotFoundException extends TnbServiceException {
323
- static {
324
- __name(this, "ResourceNotFoundException");
325
- }
326
- name = "ResourceNotFoundException";
327
- $fault = "client";
328
- /**
329
- * @internal
330
- */
331
- constructor(opts) {
332
- super({
333
- name: "ResourceNotFoundException",
334
- $fault: "client",
335
- ...opts
336
- });
337
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
338
- }
339
- };
340
- var ThrottlingException = class _ThrottlingException extends TnbServiceException {
341
- static {
342
- __name(this, "ThrottlingException");
343
- }
344
- name = "ThrottlingException";
345
- $fault = "client";
346
- /**
347
- * @internal
348
- */
349
- constructor(opts) {
350
- super({
351
- name: "ThrottlingException",
352
- $fault: "client",
353
- ...opts
354
- });
355
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
356
- }
357
- };
358
- var ValidationException = class _ValidationException extends TnbServiceException {
359
- static {
360
- __name(this, "ValidationException");
361
- }
362
- name = "ValidationException";
363
- $fault = "client";
364
- /**
365
- * @internal
366
- */
367
- constructor(opts) {
368
- super({
369
- name: "ValidationException",
370
- $fault: "client",
371
- ...opts
372
- });
373
- Object.setPrototypeOf(this, _ValidationException.prototype);
374
- }
375
- };
376
- var OnboardingState = {
377
- CREATED: "CREATED",
378
- ERROR: "ERROR",
379
- ONBOARDED: "ONBOARDED"
380
- };
381
- var OperationalState = {
382
- DISABLED: "DISABLED",
383
- ENABLED: "ENABLED"
384
- };
385
- var UsageState = {
386
- IN_USE: "IN_USE",
387
- NOT_IN_USE: "NOT_IN_USE"
388
- };
389
- var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends TnbServiceException {
390
- static {
391
- __name(this, "ServiceQuotaExceededException");
392
- }
393
- name = "ServiceQuotaExceededException";
394
- $fault = "client";
395
- /**
396
- * @internal
397
- */
398
- constructor(opts) {
399
- super({
400
- name: "ServiceQuotaExceededException",
401
- $fault: "client",
402
- ...opts
403
- });
404
- Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
405
- }
406
- };
407
- var NsdOnboardingState = {
408
- CREATED: "CREATED",
409
- ERROR: "ERROR",
410
- ONBOARDED: "ONBOARDED"
411
- };
412
- var NsdOperationalState = {
413
- DISABLED: "DISABLED",
414
- ENABLED: "ENABLED"
415
- };
416
- var NsdUsageState = {
417
- IN_USE: "IN_USE",
418
- NOT_IN_USE: "NOT_IN_USE"
419
- };
420
- var DescriptorContentType = {
421
- TEXT_PLAIN: "text/plain"
422
- };
423
- var VnfOperationalState = {
424
- STARTED: "STARTED",
425
- STOPPED: "STOPPED"
426
- };
427
- var VnfInstantiationState = {
428
- INSTANTIATED: "INSTANTIATED",
429
- NOT_INSTANTIATED: "NOT_INSTANTIATED"
430
- };
431
- var PackageContentType = {
432
- APPLICATION_ZIP: "application/zip"
433
- };
434
- var NsState = {
435
- DELETED: "DELETED",
436
- IMPAIRED: "IMPAIRED",
437
- INSTANTIATED: "INSTANTIATED",
438
- INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS",
439
- INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS",
440
- NOT_INSTANTIATED: "NOT_INSTANTIATED",
441
- STOPPED: "STOPPED",
442
- TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS",
443
- UPDATED: "UPDATED",
444
- UPDATE_FAILED: "UPDATE_FAILED",
445
- UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS"
446
- };
447
- var LcmOperationType = {
448
- INSTANTIATE: "INSTANTIATE",
449
- TERMINATE: "TERMINATE",
450
- UPDATE: "UPDATE"
451
- };
452
- var NsLcmOperationState = {
453
- CANCELLED: "CANCELLED",
454
- CANCELLING: "CANCELLING",
455
- COMPLETED: "COMPLETED",
456
- FAILED: "FAILED",
457
- PROCESSING: "PROCESSING"
458
- };
459
- var TaskStatus = {
460
- CANCELLED: "CANCELLED",
461
- COMPLETED: "COMPLETED",
462
- ERROR: "ERROR",
463
- IN_PROGRESS: "IN_PROGRESS",
464
- SCHEDULED: "SCHEDULED",
465
- SKIPPED: "SKIPPED",
466
- STARTED: "STARTED"
467
- };
468
- var UpdateSolNetworkType = {
469
- MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION",
470
- UPDATE_NS: "UPDATE_NS"
471
- };
472
- var CreateSolFunctionPackageInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
473
- ...obj,
474
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
475
- }), "CreateSolFunctionPackageInputFilterSensitiveLog");
476
- var CreateSolFunctionPackageOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
477
- ...obj,
478
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
479
- }), "CreateSolFunctionPackageOutputFilterSensitiveLog");
480
- var CreateSolNetworkInstanceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
481
- ...obj,
482
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
483
- }), "CreateSolNetworkInstanceInputFilterSensitiveLog");
484
- var CreateSolNetworkInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
485
- ...obj,
486
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
487
- }), "CreateSolNetworkInstanceOutputFilterSensitiveLog");
488
- var CreateSolNetworkPackageInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
489
- ...obj,
490
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
491
- }), "CreateSolNetworkPackageInputFilterSensitiveLog");
492
- var CreateSolNetworkPackageOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
493
- ...obj,
494
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
495
- }), "CreateSolNetworkPackageOutputFilterSensitiveLog");
496
- var GetSolFunctionInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
497
- ...obj,
498
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
499
- }), "GetSolFunctionInstanceOutputFilterSensitiveLog");
500
- var GetSolFunctionPackageOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
501
- ...obj,
502
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
503
- }), "GetSolFunctionPackageOutputFilterSensitiveLog");
504
- var GetSolNetworkInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
505
- ...obj,
506
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
507
- }), "GetSolNetworkInstanceOutputFilterSensitiveLog");
508
- var GetSolNetworkOperationOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
509
- ...obj,
510
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
511
- }), "GetSolNetworkOperationOutputFilterSensitiveLog");
512
- var GetSolNetworkPackageOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
513
- ...obj,
514
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
515
- }), "GetSolNetworkPackageOutputFilterSensitiveLog");
516
- var InstantiateSolNetworkInstanceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
517
- ...obj,
518
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
519
- }), "InstantiateSolNetworkInstanceInputFilterSensitiveLog");
520
- var InstantiateSolNetworkInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
521
- ...obj,
522
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
523
- }), "InstantiateSolNetworkInstanceOutputFilterSensitiveLog");
524
- var ListTagsForResourceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
525
- ...obj,
526
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
527
- }), "ListTagsForResourceOutputFilterSensitiveLog");
528
- var PutSolFunctionPackageContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
529
- ...obj,
530
- ...obj.file && { file: import_smithy_client.SENSITIVE_STRING }
531
- }), "PutSolFunctionPackageContentInputFilterSensitiveLog");
532
- var PutSolNetworkPackageContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
533
- ...obj,
534
- ...obj.file && { file: import_smithy_client.SENSITIVE_STRING }
535
- }), "PutSolNetworkPackageContentInputFilterSensitiveLog");
536
- var TagResourceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
537
- ...obj,
538
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
539
- }), "TagResourceInputFilterSensitiveLog");
540
- var TerminateSolNetworkInstanceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
541
- ...obj,
542
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
543
- }), "TerminateSolNetworkInstanceInputFilterSensitiveLog");
544
- var TerminateSolNetworkInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
545
- ...obj,
546
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
547
- }), "TerminateSolNetworkInstanceOutputFilterSensitiveLog");
548
- var UpdateSolNetworkInstanceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
549
- ...obj,
550
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
551
- }), "UpdateSolNetworkInstanceInputFilterSensitiveLog");
552
- var UpdateSolNetworkInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
553
- ...obj,
554
- ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
555
- }), "UpdateSolNetworkInstanceOutputFilterSensitiveLog");
556
- var ValidateSolFunctionPackageContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
557
- ...obj,
558
- ...obj.file && { file: import_smithy_client.SENSITIVE_STRING }
559
- }), "ValidateSolFunctionPackageContentInputFilterSensitiveLog");
560
- var ValidateSolNetworkPackageContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
561
- ...obj,
562
- ...obj.file && { file: import_smithy_client.SENSITIVE_STRING }
563
- }), "ValidateSolNetworkPackageContentInputFilterSensitiveLog");
564
-
565
- // src/protocols/Aws_restJson1.ts
566
- var se_CancelSolNetworkOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
567
- const b = (0, import_core.requestBuilder)(input, context);
568
- const headers = {};
569
- b.bp("/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel");
570
- b.p("nsLcmOpOccId", () => input.nsLcmOpOccId, "{nsLcmOpOccId}", false);
571
- let body;
572
- b.m("POST").h(headers).b(body);
573
- return b.build();
574
- }, "se_CancelSolNetworkOperationCommand");
575
- var se_CreateSolFunctionPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
576
- const b = (0, import_core.requestBuilder)(input, context);
577
- const headers = {
578
- "content-type": "application/json"
579
- };
580
- b.bp("/sol/vnfpkgm/v1/vnf_packages");
581
- let body;
582
- body = JSON.stringify(
583
- (0, import_smithy_client.take)(input, {
584
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
585
- })
586
- );
587
- b.m("POST").h(headers).b(body);
588
- return b.build();
589
- }, "se_CreateSolFunctionPackageCommand");
590
- var se_CreateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
591
- const b = (0, import_core.requestBuilder)(input, context);
592
- const headers = {
593
- "content-type": "application/json"
594
- };
595
- b.bp("/sol/nslcm/v1/ns_instances");
596
- let body;
597
- body = JSON.stringify(
598
- (0, import_smithy_client.take)(input, {
599
- nsDescription: [],
600
- nsName: [],
601
- nsdInfoId: [],
602
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
603
- })
604
- );
605
- b.m("POST").h(headers).b(body);
606
- return b.build();
607
- }, "se_CreateSolNetworkInstanceCommand");
608
- var se_CreateSolNetworkPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
609
- const b = (0, import_core.requestBuilder)(input, context);
610
- const headers = {
611
- "content-type": "application/json"
612
- };
613
- b.bp("/sol/nsd/v1/ns_descriptors");
614
- let body;
615
- body = JSON.stringify(
616
- (0, import_smithy_client.take)(input, {
617
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
618
- })
619
- );
620
- b.m("POST").h(headers).b(body);
621
- return b.build();
622
- }, "se_CreateSolNetworkPackageCommand");
623
- var se_DeleteSolFunctionPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
624
- const b = (0, import_core.requestBuilder)(input, context);
625
- const headers = {};
626
- b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}");
627
- b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
628
- let body;
629
- b.m("DELETE").h(headers).b(body);
630
- return b.build();
631
- }, "se_DeleteSolFunctionPackageCommand");
632
- var se_DeleteSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
633
- const b = (0, import_core.requestBuilder)(input, context);
634
- const headers = {};
635
- b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}");
636
- b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
637
- let body;
638
- b.m("DELETE").h(headers).b(body);
639
- return b.build();
640
- }, "se_DeleteSolNetworkInstanceCommand");
641
- var se_DeleteSolNetworkPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
642
- const b = (0, import_core.requestBuilder)(input, context);
643
- const headers = {};
644
- b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}");
645
- b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
646
- let body;
647
- b.m("DELETE").h(headers).b(body);
648
- return b.build();
649
- }, "se_DeleteSolNetworkPackageCommand");
650
- var se_GetSolFunctionInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
651
- const b = (0, import_core.requestBuilder)(input, context);
652
- const headers = {};
653
- b.bp("/sol/vnflcm/v1/vnf_instances/{vnfInstanceId}");
654
- b.p("vnfInstanceId", () => input.vnfInstanceId, "{vnfInstanceId}", false);
655
- let body;
656
- b.m("GET").h(headers).b(body);
657
- return b.build();
658
- }, "se_GetSolFunctionInstanceCommand");
659
- var se_GetSolFunctionPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
660
- const b = (0, import_core.requestBuilder)(input, context);
661
- const headers = {};
662
- b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}");
663
- b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
664
- let body;
665
- b.m("GET").h(headers).b(body);
666
- return b.build();
667
- }, "se_GetSolFunctionPackageCommand");
668
- var se_GetSolFunctionPackageContentCommand = /* @__PURE__ */ __name(async (input, context) => {
669
- const b = (0, import_core.requestBuilder)(input, context);
670
- const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
671
- [_a]: input[_a]
672
- });
673
- b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content");
674
- b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
675
- let body;
676
- b.m("GET").h(headers).b(body);
677
- return b.build();
678
- }, "se_GetSolFunctionPackageContentCommand");
679
- var se_GetSolFunctionPackageDescriptorCommand = /* @__PURE__ */ __name(async (input, context) => {
680
- const b = (0, import_core.requestBuilder)(input, context);
681
- const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
682
- [_a]: input[_a]
683
- });
684
- b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/vnfd");
685
- b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
686
- let body;
687
- b.m("GET").h(headers).b(body);
688
- return b.build();
689
- }, "se_GetSolFunctionPackageDescriptorCommand");
690
- var se_GetSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
691
- const b = (0, import_core.requestBuilder)(input, context);
692
- const headers = {};
693
- b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}");
694
- b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
695
- let body;
696
- b.m("GET").h(headers).b(body);
697
- return b.build();
698
- }, "se_GetSolNetworkInstanceCommand");
699
- var se_GetSolNetworkOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
700
- const b = (0, import_core.requestBuilder)(input, context);
701
- const headers = {};
702
- b.bp("/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}");
703
- b.p("nsLcmOpOccId", () => input.nsLcmOpOccId, "{nsLcmOpOccId}", false);
704
- let body;
705
- b.m("GET").h(headers).b(body);
706
- return b.build();
707
- }, "se_GetSolNetworkOperationCommand");
708
- var se_GetSolNetworkPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
709
- const b = (0, import_core.requestBuilder)(input, context);
710
- const headers = {};
711
- b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}");
712
- b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
713
- let body;
714
- b.m("GET").h(headers).b(body);
715
- return b.build();
716
- }, "se_GetSolNetworkPackageCommand");
717
- var se_GetSolNetworkPackageContentCommand = /* @__PURE__ */ __name(async (input, context) => {
718
- const b = (0, import_core.requestBuilder)(input, context);
719
- const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
720
- [_a]: input[_a]
721
- });
722
- b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content");
723
- b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
724
- let body;
725
- b.m("GET").h(headers).b(body);
726
- return b.build();
727
- }, "se_GetSolNetworkPackageContentCommand");
728
- var se_GetSolNetworkPackageDescriptorCommand = /* @__PURE__ */ __name(async (input, context) => {
729
- const b = (0, import_core.requestBuilder)(input, context);
730
- const headers = {};
731
- b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd");
732
- b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
733
- let body;
734
- b.m("GET").h(headers).b(body);
735
- return b.build();
736
- }, "se_GetSolNetworkPackageDescriptorCommand");
737
- var se_InstantiateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
738
- const b = (0, import_core.requestBuilder)(input, context);
739
- const headers = {
740
- "content-type": "application/json"
741
- };
742
- b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}/instantiate");
743
- b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
744
- const query = (0, import_smithy_client.map)({
745
- [_dr]: [() => input.dryRun !== void 0, () => input[_dR].toString()]
746
- });
747
- let body;
748
- body = JSON.stringify(
749
- (0, import_smithy_client.take)(input, {
750
- additionalParamsForNs: /* @__PURE__ */ __name((_) => se_Document(_, context), "additionalParamsForNs"),
751
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
752
- })
753
- );
754
- b.m("POST").h(headers).q(query).b(body);
755
- return b.build();
756
- }, "se_InstantiateSolNetworkInstanceCommand");
757
- var se_ListSolFunctionInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
758
- const b = (0, import_core.requestBuilder)(input, context);
759
- const headers = {};
760
- b.bp("/sol/vnflcm/v1/vnf_instances");
761
- const query = (0, import_smithy_client.map)({
762
- [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
763
- [_nom]: [, input[_nT]]
764
- });
765
- let body;
766
- b.m("GET").h(headers).q(query).b(body);
767
- return b.build();
768
- }, "se_ListSolFunctionInstancesCommand");
769
- var se_ListSolFunctionPackagesCommand = /* @__PURE__ */ __name(async (input, context) => {
770
- const b = (0, import_core.requestBuilder)(input, context);
771
- const headers = {};
772
- b.bp("/sol/vnfpkgm/v1/vnf_packages");
773
- const query = (0, import_smithy_client.map)({
774
- [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
775
- [_nom]: [, input[_nT]]
776
- });
777
- let body;
778
- b.m("GET").h(headers).q(query).b(body);
779
- return b.build();
780
- }, "se_ListSolFunctionPackagesCommand");
781
- var se_ListSolNetworkInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
782
- const b = (0, import_core.requestBuilder)(input, context);
783
- const headers = {};
784
- b.bp("/sol/nslcm/v1/ns_instances");
785
- const query = (0, import_smithy_client.map)({
786
- [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
787
- [_nom]: [, input[_nT]]
788
- });
789
- let body;
790
- b.m("GET").h(headers).q(query).b(body);
791
- return b.build();
792
- }, "se_ListSolNetworkInstancesCommand");
793
- var se_ListSolNetworkOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
794
- const b = (0, import_core.requestBuilder)(input, context);
795
- const headers = {};
796
- b.bp("/sol/nslcm/v1/ns_lcm_op_occs");
797
- const query = (0, import_smithy_client.map)({
798
- [_nII]: [, input[_nII]],
799
- [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
800
- [_nom]: [, input[_nT]]
801
- });
802
- let body;
803
- b.m("GET").h(headers).q(query).b(body);
804
- return b.build();
805
- }, "se_ListSolNetworkOperationsCommand");
806
- var se_ListSolNetworkPackagesCommand = /* @__PURE__ */ __name(async (input, context) => {
807
- const b = (0, import_core.requestBuilder)(input, context);
808
- const headers = {};
809
- b.bp("/sol/nsd/v1/ns_descriptors");
810
- const query = (0, import_smithy_client.map)({
811
- [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
812
- [_nom]: [, input[_nT]]
813
- });
814
- let body;
815
- b.m("GET").h(headers).q(query).b(body);
816
- return b.build();
817
- }, "se_ListSolNetworkPackagesCommand");
818
- var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
819
- const b = (0, import_core.requestBuilder)(input, context);
820
- const headers = {};
821
- b.bp("/tags/{resourceArn}");
822
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
823
- let body;
824
- b.m("GET").h(headers).b(body);
825
- return b.build();
826
- }, "se_ListTagsForResourceCommand");
827
- var se_PutSolFunctionPackageContentCommand = /* @__PURE__ */ __name(async (input, context) => {
828
- const b = (0, import_core.requestBuilder)(input, context);
829
- const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
830
- [_ct]: input[_cT] || "application/octet-stream"
831
- });
832
- b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content");
833
- b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
834
- let body;
835
- if (input.file !== void 0) {
836
- body = input.file;
837
- }
838
- b.m("PUT").h(headers).b(body);
839
- return b.build();
840
- }, "se_PutSolFunctionPackageContentCommand");
841
- var se_PutSolNetworkPackageContentCommand = /* @__PURE__ */ __name(async (input, context) => {
842
- const b = (0, import_core.requestBuilder)(input, context);
843
- const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
844
- [_ct]: input[_cT] || "application/octet-stream"
845
- });
846
- b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content");
847
- b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
848
- let body;
849
- if (input.file !== void 0) {
850
- body = input.file;
851
- }
852
- b.m("PUT").h(headers).b(body);
853
- return b.build();
854
- }, "se_PutSolNetworkPackageContentCommand");
855
- var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
856
- const b = (0, import_core.requestBuilder)(input, context);
857
- const headers = {
858
- "content-type": "application/json"
859
- };
860
- b.bp("/tags/{resourceArn}");
861
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
862
- let body;
863
- body = JSON.stringify(
864
- (0, import_smithy_client.take)(input, {
865
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
866
- })
867
- );
868
- b.m("POST").h(headers).b(body);
869
- return b.build();
870
- }, "se_TagResourceCommand");
871
- var se_TerminateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
872
- const b = (0, import_core.requestBuilder)(input, context);
873
- const headers = {
874
- "content-type": "application/json"
875
- };
876
- b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}/terminate");
877
- b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
878
- let body;
879
- body = JSON.stringify(
880
- (0, import_smithy_client.take)(input, {
881
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
882
- })
883
- );
884
- b.m("POST").h(headers).b(body);
885
- return b.build();
886
- }, "se_TerminateSolNetworkInstanceCommand");
887
- var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
888
- const b = (0, import_core.requestBuilder)(input, context);
889
- const headers = {};
890
- b.bp("/tags/{resourceArn}");
891
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
892
- const query = (0, import_smithy_client.map)({
893
- [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
894
- });
895
- let body;
896
- b.m("DELETE").h(headers).q(query).b(body);
897
- return b.build();
898
- }, "se_UntagResourceCommand");
899
- var se_UpdateSolFunctionPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
900
- const b = (0, import_core.requestBuilder)(input, context);
901
- const headers = {
902
- "content-type": "application/json"
903
- };
904
- b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}");
905
- b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
906
- let body;
907
- body = JSON.stringify(
908
- (0, import_smithy_client.take)(input, {
909
- operationalState: []
910
- })
911
- );
912
- b.m("PATCH").h(headers).b(body);
913
- return b.build();
914
- }, "se_UpdateSolFunctionPackageCommand");
915
- var se_UpdateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
916
- const b = (0, import_core.requestBuilder)(input, context);
917
- const headers = {
918
- "content-type": "application/json"
919
- };
920
- b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}/update");
921
- b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
922
- let body;
923
- body = JSON.stringify(
924
- (0, import_smithy_client.take)(input, {
925
- modifyVnfInfoData: /* @__PURE__ */ __name((_) => se_UpdateSolNetworkModify(_, context), "modifyVnfInfoData"),
926
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
927
- updateNs: /* @__PURE__ */ __name((_) => se_UpdateSolNetworkServiceData(_, context), "updateNs"),
928
- updateType: []
929
- })
930
- );
931
- b.m("POST").h(headers).b(body);
932
- return b.build();
933
- }, "se_UpdateSolNetworkInstanceCommand");
934
- var se_UpdateSolNetworkPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
935
- const b = (0, import_core.requestBuilder)(input, context);
936
- const headers = {
937
- "content-type": "application/json"
938
- };
939
- b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}");
940
- b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
941
- let body;
942
- body = JSON.stringify(
943
- (0, import_smithy_client.take)(input, {
944
- nsdOperationalState: []
945
- })
946
- );
947
- b.m("PATCH").h(headers).b(body);
948
- return b.build();
949
- }, "se_UpdateSolNetworkPackageCommand");
950
- var se_ValidateSolFunctionPackageContentCommand = /* @__PURE__ */ __name(async (input, context) => {
951
- const b = (0, import_core.requestBuilder)(input, context);
952
- const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
953
- [_ct]: input[_cT] || "application/octet-stream"
954
- });
955
- b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content/validate");
956
- b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
957
- let body;
958
- if (input.file !== void 0) {
959
- body = input.file;
960
- }
961
- b.m("PUT").h(headers).b(body);
962
- return b.build();
963
- }, "se_ValidateSolFunctionPackageContentCommand");
964
- var se_ValidateSolNetworkPackageContentCommand = /* @__PURE__ */ __name(async (input, context) => {
965
- const b = (0, import_core.requestBuilder)(input, context);
966
- const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
967
- [_ct]: input[_cT] || "application/octet-stream"
968
- });
969
- b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content/validate");
970
- b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
971
- let body;
972
- if (input.file !== void 0) {
973
- body = input.file;
974
- }
975
- b.m("PUT").h(headers).b(body);
976
- return b.build();
977
- }, "se_ValidateSolNetworkPackageContentCommand");
978
- var de_CancelSolNetworkOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
979
- if (output.statusCode !== 202 && output.statusCode >= 300) {
980
- return de_CommandError(output, context);
981
- }
982
- const contents = (0, import_smithy_client.map)({
983
- $metadata: deserializeMetadata(output)
984
- });
985
- await (0, import_smithy_client.collectBody)(output.body, context);
986
- return contents;
987
- }, "de_CancelSolNetworkOperationCommand");
988
- var de_CreateSolFunctionPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
989
- if (output.statusCode !== 201 && output.statusCode >= 300) {
990
- return de_CommandError(output, context);
991
- }
992
- const contents = (0, import_smithy_client.map)({
993
- $metadata: deserializeMetadata(output)
994
- });
995
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
996
- const doc = (0, import_smithy_client.take)(data, {
997
- arn: import_smithy_client.expectString,
998
- id: import_smithy_client.expectString,
999
- onboardingState: import_smithy_client.expectString,
1000
- operationalState: import_smithy_client.expectString,
1001
- tags: import_smithy_client._json,
1002
- usageState: import_smithy_client.expectString
1003
- });
1004
- Object.assign(contents, doc);
1005
- return contents;
1006
- }, "de_CreateSolFunctionPackageCommand");
1007
- var de_CreateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
1008
- if (output.statusCode !== 201 && output.statusCode >= 300) {
1009
- return de_CommandError(output, context);
1010
- }
1011
- const contents = (0, import_smithy_client.map)({
1012
- $metadata: deserializeMetadata(output)
1013
- });
1014
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1015
- const doc = (0, import_smithy_client.take)(data, {
1016
- arn: import_smithy_client.expectString,
1017
- id: import_smithy_client.expectString,
1018
- nsInstanceName: import_smithy_client.expectString,
1019
- nsdInfoId: import_smithy_client.expectString,
1020
- tags: import_smithy_client._json
1021
- });
1022
- Object.assign(contents, doc);
1023
- return contents;
1024
- }, "de_CreateSolNetworkInstanceCommand");
1025
- var de_CreateSolNetworkPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
1026
- if (output.statusCode !== 201 && output.statusCode >= 300) {
1027
- return de_CommandError(output, context);
1028
- }
1029
- const contents = (0, import_smithy_client.map)({
1030
- $metadata: deserializeMetadata(output)
1031
- });
1032
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1033
- const doc = (0, import_smithy_client.take)(data, {
1034
- arn: import_smithy_client.expectString,
1035
- id: import_smithy_client.expectString,
1036
- nsdOnboardingState: import_smithy_client.expectString,
1037
- nsdOperationalState: import_smithy_client.expectString,
1038
- nsdUsageState: import_smithy_client.expectString,
1039
- tags: import_smithy_client._json
1040
- });
1041
- Object.assign(contents, doc);
1042
- return contents;
1043
- }, "de_CreateSolNetworkPackageCommand");
1044
- var de_DeleteSolFunctionPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
1045
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1046
- return de_CommandError(output, context);
1047
- }
1048
- const contents = (0, import_smithy_client.map)({
1049
- $metadata: deserializeMetadata(output)
1050
- });
1051
- await (0, import_smithy_client.collectBody)(output.body, context);
1052
- return contents;
1053
- }, "de_DeleteSolFunctionPackageCommand");
1054
- var de_DeleteSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
1055
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1056
- return de_CommandError(output, context);
1057
- }
1058
- const contents = (0, import_smithy_client.map)({
1059
- $metadata: deserializeMetadata(output)
1060
- });
1061
- await (0, import_smithy_client.collectBody)(output.body, context);
1062
- return contents;
1063
- }, "de_DeleteSolNetworkInstanceCommand");
1064
- var de_DeleteSolNetworkPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
1065
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1066
- return de_CommandError(output, context);
1067
- }
1068
- const contents = (0, import_smithy_client.map)({
1069
- $metadata: deserializeMetadata(output)
1070
- });
1071
- await (0, import_smithy_client.collectBody)(output.body, context);
1072
- return contents;
1073
- }, "de_DeleteSolNetworkPackageCommand");
1074
- var de_GetSolFunctionInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
1075
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1076
- return de_CommandError(output, context);
1077
- }
1078
- const contents = (0, import_smithy_client.map)({
1079
- $metadata: deserializeMetadata(output)
1080
- });
1081
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1082
- const doc = (0, import_smithy_client.take)(data, {
1083
- arn: import_smithy_client.expectString,
1084
- id: import_smithy_client.expectString,
1085
- instantiatedVnfInfo: import_smithy_client._json,
1086
- instantiationState: import_smithy_client.expectString,
1087
- metadata: /* @__PURE__ */ __name((_) => de_GetSolFunctionInstanceMetadata(_, context), "metadata"),
1088
- nsInstanceId: import_smithy_client.expectString,
1089
- tags: import_smithy_client._json,
1090
- vnfPkgId: import_smithy_client.expectString,
1091
- vnfProductName: import_smithy_client.expectString,
1092
- vnfProvider: import_smithy_client.expectString,
1093
- vnfdId: import_smithy_client.expectString,
1094
- vnfdVersion: import_smithy_client.expectString
1095
- });
1096
- Object.assign(contents, doc);
1097
- return contents;
1098
- }, "de_GetSolFunctionInstanceCommand");
1099
- var de_GetSolFunctionPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
1100
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1101
- return de_CommandError(output, context);
1102
- }
1103
- const contents = (0, import_smithy_client.map)({
1104
- $metadata: deserializeMetadata(output)
1105
- });
1106
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1107
- const doc = (0, import_smithy_client.take)(data, {
1108
- arn: import_smithy_client.expectString,
1109
- id: import_smithy_client.expectString,
1110
- metadata: /* @__PURE__ */ __name((_) => de_GetSolFunctionPackageMetadata(_, context), "metadata"),
1111
- onboardingState: import_smithy_client.expectString,
1112
- operationalState: import_smithy_client.expectString,
1113
- tags: import_smithy_client._json,
1114
- usageState: import_smithy_client.expectString,
1115
- vnfProductName: import_smithy_client.expectString,
1116
- vnfProvider: import_smithy_client.expectString,
1117
- vnfdId: import_smithy_client.expectString,
1118
- vnfdVersion: import_smithy_client.expectString
1119
- });
1120
- Object.assign(contents, doc);
1121
- return contents;
1122
- }, "de_GetSolFunctionPackageCommand");
1123
- var de_GetSolFunctionPackageContentCommand = /* @__PURE__ */ __name(async (output, context) => {
1124
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1125
- return de_CommandError(output, context);
1126
- }
1127
- const contents = (0, import_smithy_client.map)({
1128
- $metadata: deserializeMetadata(output),
1129
- [_cT]: [, output.headers[_ct]]
1130
- });
1131
- const data = await (0, import_smithy_client.collectBody)(output.body, context);
1132
- contents.packageContent = data;
1133
- return contents;
1134
- }, "de_GetSolFunctionPackageContentCommand");
1135
- var de_GetSolFunctionPackageDescriptorCommand = /* @__PURE__ */ __name(async (output, context) => {
1136
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1137
- return de_CommandError(output, context);
1138
- }
1139
- const contents = (0, import_smithy_client.map)({
1140
- $metadata: deserializeMetadata(output),
1141
- [_cT]: [, output.headers[_ct]]
1142
- });
1143
- const data = await (0, import_smithy_client.collectBody)(output.body, context);
1144
- contents.vnfd = data;
1145
- return contents;
1146
- }, "de_GetSolFunctionPackageDescriptorCommand");
1147
- var de_GetSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
1148
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1149
- return de_CommandError(output, context);
1150
- }
1151
- const contents = (0, import_smithy_client.map)({
1152
- $metadata: deserializeMetadata(output)
1153
- });
1154
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1155
- const doc = (0, import_smithy_client.take)(data, {
1156
- arn: import_smithy_client.expectString,
1157
- id: import_smithy_client.expectString,
1158
- lcmOpInfo: import_smithy_client._json,
1159
- metadata: /* @__PURE__ */ __name((_) => de_GetSolNetworkInstanceMetadata(_, context), "metadata"),
1160
- nsInstanceDescription: import_smithy_client.expectString,
1161
- nsInstanceName: import_smithy_client.expectString,
1162
- nsState: import_smithy_client.expectString,
1163
- nsdId: import_smithy_client.expectString,
1164
- nsdInfoId: import_smithy_client.expectString,
1165
- tags: import_smithy_client._json
1166
- });
1167
- Object.assign(contents, doc);
1168
- return contents;
1169
- }, "de_GetSolNetworkInstanceCommand");
1170
- var de_GetSolNetworkOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
1171
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1172
- return de_CommandError(output, context);
1173
- }
1174
- const contents = (0, import_smithy_client.map)({
1175
- $metadata: deserializeMetadata(output)
1176
- });
1177
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1178
- const doc = (0, import_smithy_client.take)(data, {
1179
- arn: import_smithy_client.expectString,
1180
- error: import_smithy_client._json,
1181
- id: import_smithy_client.expectString,
1182
- lcmOperationType: import_smithy_client.expectString,
1183
- metadata: /* @__PURE__ */ __name((_) => de_GetSolNetworkOperationMetadata(_, context), "metadata"),
1184
- nsInstanceId: import_smithy_client.expectString,
1185
- operationState: import_smithy_client.expectString,
1186
- tags: import_smithy_client._json,
1187
- tasks: /* @__PURE__ */ __name((_) => de_GetSolNetworkOperationTasksList(_, context), "tasks"),
1188
- updateType: import_smithy_client.expectString
1189
- });
1190
- Object.assign(contents, doc);
1191
- return contents;
1192
- }, "de_GetSolNetworkOperationCommand");
1193
- var de_GetSolNetworkPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
1194
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1195
- return de_CommandError(output, context);
1196
- }
1197
- const contents = (0, import_smithy_client.map)({
1198
- $metadata: deserializeMetadata(output)
1199
- });
1200
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1201
- const doc = (0, import_smithy_client.take)(data, {
1202
- arn: import_smithy_client.expectString,
1203
- id: import_smithy_client.expectString,
1204
- metadata: /* @__PURE__ */ __name((_) => de_GetSolNetworkPackageMetadata(_, context), "metadata"),
1205
- nsdId: import_smithy_client.expectString,
1206
- nsdName: import_smithy_client.expectString,
1207
- nsdOnboardingState: import_smithy_client.expectString,
1208
- nsdOperationalState: import_smithy_client.expectString,
1209
- nsdUsageState: import_smithy_client.expectString,
1210
- nsdVersion: import_smithy_client.expectString,
1211
- tags: import_smithy_client._json,
1212
- vnfPkgIds: import_smithy_client._json
1213
- });
1214
- Object.assign(contents, doc);
1215
- return contents;
1216
- }, "de_GetSolNetworkPackageCommand");
1217
- var de_GetSolNetworkPackageContentCommand = /* @__PURE__ */ __name(async (output, context) => {
1218
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1219
- return de_CommandError(output, context);
1220
- }
1221
- const contents = (0, import_smithy_client.map)({
1222
- $metadata: deserializeMetadata(output),
1223
- [_cT]: [, output.headers[_ct]]
1224
- });
1225
- const data = await (0, import_smithy_client.collectBody)(output.body, context);
1226
- contents.nsdContent = data;
1227
- return contents;
1228
- }, "de_GetSolNetworkPackageContentCommand");
1229
- var de_GetSolNetworkPackageDescriptorCommand = /* @__PURE__ */ __name(async (output, context) => {
1230
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1231
- return de_CommandError(output, context);
1232
- }
1233
- const contents = (0, import_smithy_client.map)({
1234
- $metadata: deserializeMetadata(output),
1235
- [_cT]: [, output.headers[_ct]]
1236
- });
1237
- const data = await (0, import_smithy_client.collectBody)(output.body, context);
1238
- contents.nsd = data;
1239
- return contents;
1240
- }, "de_GetSolNetworkPackageDescriptorCommand");
1241
- var de_InstantiateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
1242
- if (output.statusCode !== 201 && output.statusCode >= 300) {
1243
- return de_CommandError(output, context);
1244
- }
1245
- const contents = (0, import_smithy_client.map)({
1246
- $metadata: deserializeMetadata(output)
1247
- });
1248
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1249
- const doc = (0, import_smithy_client.take)(data, {
1250
- nsLcmOpOccId: import_smithy_client.expectString,
1251
- tags: import_smithy_client._json
1252
- });
1253
- Object.assign(contents, doc);
1254
- return contents;
1255
- }, "de_InstantiateSolNetworkInstanceCommand");
1256
- var de_ListSolFunctionInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
1257
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1258
- return de_CommandError(output, context);
1259
- }
1260
- const contents = (0, import_smithy_client.map)({
1261
- $metadata: deserializeMetadata(output)
1262
- });
1263
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1264
- const doc = (0, import_smithy_client.take)(data, {
1265
- functionInstances: /* @__PURE__ */ __name((_) => de_ListSolFunctionInstanceResources(_, context), "functionInstances"),
1266
- nextToken: import_smithy_client.expectString
1267
- });
1268
- Object.assign(contents, doc);
1269
- return contents;
1270
- }, "de_ListSolFunctionInstancesCommand");
1271
- var de_ListSolFunctionPackagesCommand = /* @__PURE__ */ __name(async (output, context) => {
1272
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1273
- return de_CommandError(output, context);
1274
- }
1275
- const contents = (0, import_smithy_client.map)({
1276
- $metadata: deserializeMetadata(output)
1277
- });
1278
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1279
- const doc = (0, import_smithy_client.take)(data, {
1280
- functionPackages: /* @__PURE__ */ __name((_) => de_ListSolFunctionPackageResources(_, context), "functionPackages"),
1281
- nextToken: import_smithy_client.expectString
1282
- });
1283
- Object.assign(contents, doc);
1284
- return contents;
1285
- }, "de_ListSolFunctionPackagesCommand");
1286
- var de_ListSolNetworkInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
1287
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1288
- return de_CommandError(output, context);
1289
- }
1290
- const contents = (0, import_smithy_client.map)({
1291
- $metadata: deserializeMetadata(output)
1292
- });
1293
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1294
- const doc = (0, import_smithy_client.take)(data, {
1295
- networkInstances: /* @__PURE__ */ __name((_) => de_ListSolNetworkInstanceResources(_, context), "networkInstances"),
1296
- nextToken: import_smithy_client.expectString
1297
- });
1298
- Object.assign(contents, doc);
1299
- return contents;
1300
- }, "de_ListSolNetworkInstancesCommand");
1301
- var de_ListSolNetworkOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1302
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1303
- return de_CommandError(output, context);
1304
- }
1305
- const contents = (0, import_smithy_client.map)({
1306
- $metadata: deserializeMetadata(output)
1307
- });
1308
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1309
- const doc = (0, import_smithy_client.take)(data, {
1310
- networkOperations: /* @__PURE__ */ __name((_) => de_ListSolNetworkOperationsResources(_, context), "networkOperations"),
1311
- nextToken: import_smithy_client.expectString
1312
- });
1313
- Object.assign(contents, doc);
1314
- return contents;
1315
- }, "de_ListSolNetworkOperationsCommand");
1316
- var de_ListSolNetworkPackagesCommand = /* @__PURE__ */ __name(async (output, context) => {
1317
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1318
- return de_CommandError(output, context);
1319
- }
1320
- const contents = (0, import_smithy_client.map)({
1321
- $metadata: deserializeMetadata(output)
1322
- });
1323
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1324
- const doc = (0, import_smithy_client.take)(data, {
1325
- networkPackages: /* @__PURE__ */ __name((_) => de_ListSolNetworkPackageResources(_, context), "networkPackages"),
1326
- nextToken: import_smithy_client.expectString
1327
- });
1328
- Object.assign(contents, doc);
1329
- return contents;
1330
- }, "de_ListSolNetworkPackagesCommand");
1331
- var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1332
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1333
- return de_CommandError(output, context);
1334
- }
1335
- const contents = (0, import_smithy_client.map)({
1336
- $metadata: deserializeMetadata(output)
1337
- });
1338
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1339
- const doc = (0, import_smithy_client.take)(data, {
1340
- tags: import_smithy_client._json
1341
- });
1342
- Object.assign(contents, doc);
1343
- return contents;
1344
- }, "de_ListTagsForResourceCommand");
1345
- var de_PutSolFunctionPackageContentCommand = /* @__PURE__ */ __name(async (output, context) => {
1346
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1347
- return de_CommandError(output, context);
1348
- }
1349
- const contents = (0, import_smithy_client.map)({
1350
- $metadata: deserializeMetadata(output)
1351
- });
1352
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1353
- const doc = (0, import_smithy_client.take)(data, {
1354
- id: import_smithy_client.expectString,
1355
- metadata: import_smithy_client._json,
1356
- vnfProductName: import_smithy_client.expectString,
1357
- vnfProvider: import_smithy_client.expectString,
1358
- vnfdId: import_smithy_client.expectString,
1359
- vnfdVersion: import_smithy_client.expectString
1360
- });
1361
- Object.assign(contents, doc);
1362
- return contents;
1363
- }, "de_PutSolFunctionPackageContentCommand");
1364
- var de_PutSolNetworkPackageContentCommand = /* @__PURE__ */ __name(async (output, context) => {
1365
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1366
- return de_CommandError(output, context);
1367
- }
1368
- const contents = (0, import_smithy_client.map)({
1369
- $metadata: deserializeMetadata(output)
1370
- });
1371
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1372
- const doc = (0, import_smithy_client.take)(data, {
1373
- arn: import_smithy_client.expectString,
1374
- id: import_smithy_client.expectString,
1375
- metadata: import_smithy_client._json,
1376
- nsdId: import_smithy_client.expectString,
1377
- nsdName: import_smithy_client.expectString,
1378
- nsdVersion: import_smithy_client.expectString,
1379
- vnfPkgIds: import_smithy_client._json
1380
- });
1381
- Object.assign(contents, doc);
1382
- return contents;
1383
- }, "de_PutSolNetworkPackageContentCommand");
1384
- var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1385
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1386
- return de_CommandError(output, context);
1387
- }
1388
- const contents = (0, import_smithy_client.map)({
1389
- $metadata: deserializeMetadata(output)
1390
- });
1391
- await (0, import_smithy_client.collectBody)(output.body, context);
1392
- return contents;
1393
- }, "de_TagResourceCommand");
1394
- var de_TerminateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
1395
- if (output.statusCode !== 201 && output.statusCode >= 300) {
1396
- return de_CommandError(output, context);
1397
- }
1398
- const contents = (0, import_smithy_client.map)({
1399
- $metadata: deserializeMetadata(output)
1400
- });
1401
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1402
- const doc = (0, import_smithy_client.take)(data, {
1403
- nsLcmOpOccId: import_smithy_client.expectString,
1404
- tags: import_smithy_client._json
1405
- });
1406
- Object.assign(contents, doc);
1407
- return contents;
1408
- }, "de_TerminateSolNetworkInstanceCommand");
1409
- var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1410
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1411
- return de_CommandError(output, context);
1412
- }
1413
- const contents = (0, import_smithy_client.map)({
1414
- $metadata: deserializeMetadata(output)
1415
- });
1416
- await (0, import_smithy_client.collectBody)(output.body, context);
1417
- return contents;
1418
- }, "de_UntagResourceCommand");
1419
- var de_UpdateSolFunctionPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
1420
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1421
- return de_CommandError(output, context);
1422
- }
1423
- const contents = (0, import_smithy_client.map)({
1424
- $metadata: deserializeMetadata(output)
1425
- });
1426
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1427
- const doc = (0, import_smithy_client.take)(data, {
1428
- operationalState: import_smithy_client.expectString
1429
- });
1430
- Object.assign(contents, doc);
1431
- return contents;
1432
- }, "de_UpdateSolFunctionPackageCommand");
1433
- var de_UpdateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
1434
- if (output.statusCode !== 201 && output.statusCode >= 300) {
1435
- return de_CommandError(output, context);
1436
- }
1437
- const contents = (0, import_smithy_client.map)({
1438
- $metadata: deserializeMetadata(output)
1439
- });
1440
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1441
- const doc = (0, import_smithy_client.take)(data, {
1442
- nsLcmOpOccId: import_smithy_client.expectString,
1443
- tags: import_smithy_client._json
1444
- });
1445
- Object.assign(contents, doc);
1446
- return contents;
1447
- }, "de_UpdateSolNetworkInstanceCommand");
1448
- var de_UpdateSolNetworkPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
1449
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1450
- return de_CommandError(output, context);
1451
- }
1452
- const contents = (0, import_smithy_client.map)({
1453
- $metadata: deserializeMetadata(output)
1454
- });
1455
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1456
- const doc = (0, import_smithy_client.take)(data, {
1457
- nsdOperationalState: import_smithy_client.expectString
1458
- });
1459
- Object.assign(contents, doc);
1460
- return contents;
1461
- }, "de_UpdateSolNetworkPackageCommand");
1462
- var de_ValidateSolFunctionPackageContentCommand = /* @__PURE__ */ __name(async (output, context) => {
1463
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1464
- return de_CommandError(output, context);
1465
- }
1466
- const contents = (0, import_smithy_client.map)({
1467
- $metadata: deserializeMetadata(output)
1468
- });
1469
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1470
- const doc = (0, import_smithy_client.take)(data, {
1471
- id: import_smithy_client.expectString,
1472
- metadata: import_smithy_client._json,
1473
- vnfProductName: import_smithy_client.expectString,
1474
- vnfProvider: import_smithy_client.expectString,
1475
- vnfdId: import_smithy_client.expectString,
1476
- vnfdVersion: import_smithy_client.expectString
1477
- });
1478
- Object.assign(contents, doc);
1479
- return contents;
1480
- }, "de_ValidateSolFunctionPackageContentCommand");
1481
- var de_ValidateSolNetworkPackageContentCommand = /* @__PURE__ */ __name(async (output, context) => {
1482
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1483
- return de_CommandError(output, context);
1484
- }
1485
- const contents = (0, import_smithy_client.map)({
1486
- $metadata: deserializeMetadata(output)
1487
- });
1488
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1489
- const doc = (0, import_smithy_client.take)(data, {
1490
- arn: import_smithy_client.expectString,
1491
- id: import_smithy_client.expectString,
1492
- metadata: import_smithy_client._json,
1493
- nsdId: import_smithy_client.expectString,
1494
- nsdName: import_smithy_client.expectString,
1495
- nsdVersion: import_smithy_client.expectString,
1496
- vnfPkgIds: import_smithy_client._json
1497
- });
1498
- Object.assign(contents, doc);
1499
- return contents;
1500
- }, "de_ValidateSolNetworkPackageContentCommand");
1501
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1502
- const parsedOutput = {
1503
- ...output,
1504
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1505
- };
1506
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1507
- switch (errorCode) {
1508
- case "AccessDeniedException":
1509
- case "com.amazonaws.tnb#AccessDeniedException":
1510
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1511
- case "InternalServerException":
1512
- case "com.amazonaws.tnb#InternalServerException":
1513
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1514
- case "ResourceNotFoundException":
1515
- case "com.amazonaws.tnb#ResourceNotFoundException":
1516
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1517
- case "ThrottlingException":
1518
- case "com.amazonaws.tnb#ThrottlingException":
1519
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1520
- case "ValidationException":
1521
- case "com.amazonaws.tnb#ValidationException":
1522
- throw await de_ValidationExceptionRes(parsedOutput, context);
1523
- case "ServiceQuotaExceededException":
1524
- case "com.amazonaws.tnb#ServiceQuotaExceededException":
1525
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1526
- default:
1527
- const parsedBody = parsedOutput.body;
1528
- return throwDefaultError({
1529
- output,
1530
- parsedBody,
1531
- errorCode
1532
- });
1533
- }
1534
- }, "de_CommandError");
1535
- var throwDefaultError = (0, import_smithy_client.withBaseException)(TnbServiceException);
1536
- var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1537
- const contents = (0, import_smithy_client.map)({});
1538
- const data = parsedOutput.body;
1539
- const doc = (0, import_smithy_client.take)(data, {
1540
- message: import_smithy_client.expectString
1541
- });
1542
- Object.assign(contents, doc);
1543
- const exception = new AccessDeniedException({
1544
- $metadata: deserializeMetadata(parsedOutput),
1545
- ...contents
1546
- });
1547
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1548
- }, "de_AccessDeniedExceptionRes");
1549
- var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1550
- const contents = (0, import_smithy_client.map)({});
1551
- const data = parsedOutput.body;
1552
- const doc = (0, import_smithy_client.take)(data, {
1553
- message: import_smithy_client.expectString
1554
- });
1555
- Object.assign(contents, doc);
1556
- const exception = new InternalServerException({
1557
- $metadata: deserializeMetadata(parsedOutput),
1558
- ...contents
1559
- });
1560
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1561
- }, "de_InternalServerExceptionRes");
1562
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1563
- const contents = (0, import_smithy_client.map)({});
1564
- const data = parsedOutput.body;
1565
- const doc = (0, import_smithy_client.take)(data, {
1566
- message: import_smithy_client.expectString
1567
- });
1568
- Object.assign(contents, doc);
1569
- const exception = new ResourceNotFoundException({
1570
- $metadata: deserializeMetadata(parsedOutput),
1571
- ...contents
1572
- });
1573
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1574
- }, "de_ResourceNotFoundExceptionRes");
1575
- var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1576
- const contents = (0, import_smithy_client.map)({});
1577
- const data = parsedOutput.body;
1578
- const doc = (0, import_smithy_client.take)(data, {
1579
- message: import_smithy_client.expectString
1580
- });
1581
- Object.assign(contents, doc);
1582
- const exception = new ServiceQuotaExceededException({
1583
- $metadata: deserializeMetadata(parsedOutput),
1584
- ...contents
1585
- });
1586
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1587
- }, "de_ServiceQuotaExceededExceptionRes");
1588
- var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1589
- const contents = (0, import_smithy_client.map)({});
1590
- const data = parsedOutput.body;
1591
- const doc = (0, import_smithy_client.take)(data, {
1592
- message: import_smithy_client.expectString
1593
- });
1594
- Object.assign(contents, doc);
1595
- const exception = new ThrottlingException({
1596
- $metadata: deserializeMetadata(parsedOutput),
1597
- ...contents
1598
- });
1599
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1600
- }, "de_ThrottlingExceptionRes");
1601
- var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1602
- const contents = (0, import_smithy_client.map)({});
1603
- const data = parsedOutput.body;
1604
- const doc = (0, import_smithy_client.take)(data, {
1605
- message: import_smithy_client.expectString
1606
- });
1607
- Object.assign(contents, doc);
1608
- const exception = new ValidationException({
1609
- $metadata: deserializeMetadata(parsedOutput),
1610
- ...contents
1611
- });
1612
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1613
- }, "de_ValidationExceptionRes");
1614
- var se_UpdateSolNetworkModify = /* @__PURE__ */ __name((input, context) => {
1615
- return (0, import_smithy_client.take)(input, {
1616
- vnfConfigurableProperties: /* @__PURE__ */ __name((_) => se_Document(_, context), "vnfConfigurableProperties"),
1617
- vnfInstanceId: []
1618
- });
1619
- }, "se_UpdateSolNetworkModify");
1620
- var se_UpdateSolNetworkServiceData = /* @__PURE__ */ __name((input, context) => {
1621
- return (0, import_smithy_client.take)(input, {
1622
- additionalParamsForNs: /* @__PURE__ */ __name((_) => se_Document(_, context), "additionalParamsForNs"),
1623
- nsdInfoId: []
1624
- });
1625
- }, "se_UpdateSolNetworkServiceData");
1626
- var se_Document = /* @__PURE__ */ __name((input, context) => {
1627
- return input;
1628
- }, "se_Document");
1629
- var de_GetSolFunctionInstanceMetadata = /* @__PURE__ */ __name((output, context) => {
1630
- return (0, import_smithy_client.take)(output, {
1631
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1632
- lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModified")
1633
- });
1634
- }, "de_GetSolFunctionInstanceMetadata");
1635
- var de_GetSolFunctionPackageMetadata = /* @__PURE__ */ __name((output, context) => {
1636
- return (0, import_smithy_client.take)(output, {
1637
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1638
- lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModified"),
1639
- vnfd: import_smithy_client._json
1640
- });
1641
- }, "de_GetSolFunctionPackageMetadata");
1642
- var de_GetSolNetworkInstanceMetadata = /* @__PURE__ */ __name((output, context) => {
1643
- return (0, import_smithy_client.take)(output, {
1644
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1645
- lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModified")
1646
- });
1647
- }, "de_GetSolNetworkInstanceMetadata");
1648
- var de_GetSolNetworkOperationMetadata = /* @__PURE__ */ __name((output, context) => {
1649
- return (0, import_smithy_client.take)(output, {
1650
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1651
- instantiateMetadata: /* @__PURE__ */ __name((_) => de_InstantiateMetadata(_, context), "instantiateMetadata"),
1652
- lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModified"),
1653
- modifyVnfInfoMetadata: /* @__PURE__ */ __name((_) => de_ModifyVnfInfoMetadata(_, context), "modifyVnfInfoMetadata"),
1654
- updateNsMetadata: /* @__PURE__ */ __name((_) => de_UpdateNsMetadata(_, context), "updateNsMetadata")
1655
- });
1656
- }, "de_GetSolNetworkOperationMetadata");
1657
- var de_GetSolNetworkOperationTaskDetails = /* @__PURE__ */ __name((output, context) => {
1658
- return (0, import_smithy_client.take)(output, {
1659
- taskContext: import_smithy_client._json,
1660
- taskEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "taskEndTime"),
1661
- taskErrorDetails: import_smithy_client._json,
1662
- taskName: import_smithy_client.expectString,
1663
- taskStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "taskStartTime"),
1664
- taskStatus: import_smithy_client.expectString
1665
- });
1666
- }, "de_GetSolNetworkOperationTaskDetails");
1667
- var de_GetSolNetworkOperationTasksList = /* @__PURE__ */ __name((output, context) => {
1668
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1669
- return de_GetSolNetworkOperationTaskDetails(entry, context);
1670
- });
1671
- return retVal;
1672
- }, "de_GetSolNetworkOperationTasksList");
1673
- var de_GetSolNetworkPackageMetadata = /* @__PURE__ */ __name((output, context) => {
1674
- return (0, import_smithy_client.take)(output, {
1675
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1676
- lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModified"),
1677
- nsd: import_smithy_client._json
1678
- });
1679
- }, "de_GetSolNetworkPackageMetadata");
1680
- var de_InstantiateMetadata = /* @__PURE__ */ __name((output, context) => {
1681
- return (0, import_smithy_client.take)(output, {
1682
- additionalParamsForNs: /* @__PURE__ */ __name((_) => de_Document(_, context), "additionalParamsForNs"),
1683
- nsdInfoId: import_smithy_client.expectString
1684
- });
1685
- }, "de_InstantiateMetadata");
1686
- var de_ListSolFunctionInstanceInfo = /* @__PURE__ */ __name((output, context) => {
1687
- return (0, import_smithy_client.take)(output, {
1688
- arn: import_smithy_client.expectString,
1689
- id: import_smithy_client.expectString,
1690
- instantiatedVnfInfo: import_smithy_client._json,
1691
- instantiationState: import_smithy_client.expectString,
1692
- metadata: /* @__PURE__ */ __name((_) => de_ListSolFunctionInstanceMetadata(_, context), "metadata"),
1693
- nsInstanceId: import_smithy_client.expectString,
1694
- vnfPkgId: import_smithy_client.expectString,
1695
- vnfPkgName: import_smithy_client.expectString
1696
- });
1697
- }, "de_ListSolFunctionInstanceInfo");
1698
- var de_ListSolFunctionInstanceMetadata = /* @__PURE__ */ __name((output, context) => {
1699
- return (0, import_smithy_client.take)(output, {
1700
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1701
- lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModified")
1702
- });
1703
- }, "de_ListSolFunctionInstanceMetadata");
1704
- var de_ListSolFunctionInstanceResources = /* @__PURE__ */ __name((output, context) => {
1705
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1706
- return de_ListSolFunctionInstanceInfo(entry, context);
1707
- });
1708
- return retVal;
1709
- }, "de_ListSolFunctionInstanceResources");
1710
- var de_ListSolFunctionPackageInfo = /* @__PURE__ */ __name((output, context) => {
1711
- return (0, import_smithy_client.take)(output, {
1712
- arn: import_smithy_client.expectString,
1713
- id: import_smithy_client.expectString,
1714
- metadata: /* @__PURE__ */ __name((_) => de_ListSolFunctionPackageMetadata(_, context), "metadata"),
1715
- onboardingState: import_smithy_client.expectString,
1716
- operationalState: import_smithy_client.expectString,
1717
- usageState: import_smithy_client.expectString,
1718
- vnfProductName: import_smithy_client.expectString,
1719
- vnfProvider: import_smithy_client.expectString,
1720
- vnfdId: import_smithy_client.expectString,
1721
- vnfdVersion: import_smithy_client.expectString
1722
- });
1723
- }, "de_ListSolFunctionPackageInfo");
1724
- var de_ListSolFunctionPackageMetadata = /* @__PURE__ */ __name((output, context) => {
1725
- return (0, import_smithy_client.take)(output, {
1726
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1727
- lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModified")
1728
- });
1729
- }, "de_ListSolFunctionPackageMetadata");
1730
- var de_ListSolFunctionPackageResources = /* @__PURE__ */ __name((output, context) => {
1731
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1732
- return de_ListSolFunctionPackageInfo(entry, context);
1733
- });
1734
- return retVal;
1735
- }, "de_ListSolFunctionPackageResources");
1736
- var de_ListSolNetworkInstanceInfo = /* @__PURE__ */ __name((output, context) => {
1737
- return (0, import_smithy_client.take)(output, {
1738
- arn: import_smithy_client.expectString,
1739
- id: import_smithy_client.expectString,
1740
- metadata: /* @__PURE__ */ __name((_) => de_ListSolNetworkInstanceMetadata(_, context), "metadata"),
1741
- nsInstanceDescription: import_smithy_client.expectString,
1742
- nsInstanceName: import_smithy_client.expectString,
1743
- nsState: import_smithy_client.expectString,
1744
- nsdId: import_smithy_client.expectString,
1745
- nsdInfoId: import_smithy_client.expectString
1746
- });
1747
- }, "de_ListSolNetworkInstanceInfo");
1748
- var de_ListSolNetworkInstanceMetadata = /* @__PURE__ */ __name((output, context) => {
1749
- return (0, import_smithy_client.take)(output, {
1750
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1751
- lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModified")
1752
- });
1753
- }, "de_ListSolNetworkInstanceMetadata");
1754
- var de_ListSolNetworkInstanceResources = /* @__PURE__ */ __name((output, context) => {
1755
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1756
- return de_ListSolNetworkInstanceInfo(entry, context);
1757
- });
1758
- return retVal;
1759
- }, "de_ListSolNetworkInstanceResources");
1760
- var de_ListSolNetworkOperationsInfo = /* @__PURE__ */ __name((output, context) => {
1761
- return (0, import_smithy_client.take)(output, {
1762
- arn: import_smithy_client.expectString,
1763
- error: import_smithy_client._json,
1764
- id: import_smithy_client.expectString,
1765
- lcmOperationType: import_smithy_client.expectString,
1766
- metadata: /* @__PURE__ */ __name((_) => de_ListSolNetworkOperationsMetadata(_, context), "metadata"),
1767
- nsInstanceId: import_smithy_client.expectString,
1768
- operationState: import_smithy_client.expectString,
1769
- updateType: import_smithy_client.expectString
1770
- });
1771
- }, "de_ListSolNetworkOperationsInfo");
1772
- var de_ListSolNetworkOperationsMetadata = /* @__PURE__ */ __name((output, context) => {
1773
- return (0, import_smithy_client.take)(output, {
1774
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1775
- lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModified"),
1776
- nsdInfoId: import_smithy_client.expectString,
1777
- vnfInstanceId: import_smithy_client.expectString
1778
- });
1779
- }, "de_ListSolNetworkOperationsMetadata");
1780
- var de_ListSolNetworkOperationsResources = /* @__PURE__ */ __name((output, context) => {
1781
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1782
- return de_ListSolNetworkOperationsInfo(entry, context);
1783
- });
1784
- return retVal;
1785
- }, "de_ListSolNetworkOperationsResources");
1786
- var de_ListSolNetworkPackageInfo = /* @__PURE__ */ __name((output, context) => {
1787
- return (0, import_smithy_client.take)(output, {
1788
- arn: import_smithy_client.expectString,
1789
- id: import_smithy_client.expectString,
1790
- metadata: /* @__PURE__ */ __name((_) => de_ListSolNetworkPackageMetadata(_, context), "metadata"),
1791
- nsdDesigner: import_smithy_client.expectString,
1792
- nsdId: import_smithy_client.expectString,
1793
- nsdInvariantId: import_smithy_client.expectString,
1794
- nsdName: import_smithy_client.expectString,
1795
- nsdOnboardingState: import_smithy_client.expectString,
1796
- nsdOperationalState: import_smithy_client.expectString,
1797
- nsdUsageState: import_smithy_client.expectString,
1798
- nsdVersion: import_smithy_client.expectString,
1799
- vnfPkgIds: import_smithy_client._json
1800
- });
1801
- }, "de_ListSolNetworkPackageInfo");
1802
- var de_ListSolNetworkPackageMetadata = /* @__PURE__ */ __name((output, context) => {
1803
- return (0, import_smithy_client.take)(output, {
1804
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1805
- lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModified")
1806
- });
1807
- }, "de_ListSolNetworkPackageMetadata");
1808
- var de_ListSolNetworkPackageResources = /* @__PURE__ */ __name((output, context) => {
1809
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1810
- return de_ListSolNetworkPackageInfo(entry, context);
1811
- });
1812
- return retVal;
1813
- }, "de_ListSolNetworkPackageResources");
1814
- var de_ModifyVnfInfoMetadata = /* @__PURE__ */ __name((output, context) => {
1815
- return (0, import_smithy_client.take)(output, {
1816
- vnfConfigurableProperties: /* @__PURE__ */ __name((_) => de_Document(_, context), "vnfConfigurableProperties"),
1817
- vnfInstanceId: import_smithy_client.expectString
1818
- });
1819
- }, "de_ModifyVnfInfoMetadata");
1820
- var de_UpdateNsMetadata = /* @__PURE__ */ __name((output, context) => {
1821
- return (0, import_smithy_client.take)(output, {
1822
- additionalParamsForNs: /* @__PURE__ */ __name((_) => de_Document(_, context), "additionalParamsForNs"),
1823
- nsdInfoId: import_smithy_client.expectString
1824
- });
1825
- }, "de_UpdateNsMetadata");
1826
- var de_Document = /* @__PURE__ */ __name((output, context) => {
1827
- return output;
1828
- }, "de_Document");
1829
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1830
- httpStatusCode: output.statusCode,
1831
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1832
- extendedRequestId: output.headers["x-amz-id-2"],
1833
- cfId: output.headers["x-amz-cf-id"]
1834
- }), "deserializeMetadata");
1835
- var _a = "accept";
1836
- var _cT = "contentType";
1837
- var _ct = "content-type";
1838
- var _dR = "dryRun";
1839
- var _dr = "dry_run";
1840
- var _mR = "maxResults";
1841
- var _mr = "max_results";
1842
- var _nII = "nsInstanceId";
1843
- var _nT = "nextToken";
1844
- var _nom = "nextpage_opaque_marker";
1845
- var _tK = "tagKeys";
1846
-
1847
- // src/commands/CancelSolNetworkOperationCommand.ts
1848
- var CancelSolNetworkOperationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1849
- return [
1850
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1851
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1852
- ];
1853
- }).s("TNB", "CancelSolNetworkOperation", {}).n("TnbClient", "CancelSolNetworkOperationCommand").f(void 0, void 0).ser(se_CancelSolNetworkOperationCommand).de(de_CancelSolNetworkOperationCommand).build() {
1854
- static {
1855
- __name(this, "CancelSolNetworkOperationCommand");
1856
- }
189
+ const UsageState = {
190
+ IN_USE: "IN_USE",
191
+ NOT_IN_USE: "NOT_IN_USE",
1857
192
  };
1858
-
1859
- // src/commands/CreateSolFunctionPackageCommand.ts
1860
-
1861
-
1862
-
1863
- var CreateSolFunctionPackageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1864
- return [
1865
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1866
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1867
- ];
1868
- }).s("TNB", "CreateSolFunctionPackage", {}).n("TnbClient", "CreateSolFunctionPackageCommand").f(CreateSolFunctionPackageInputFilterSensitiveLog, CreateSolFunctionPackageOutputFilterSensitiveLog).ser(se_CreateSolFunctionPackageCommand).de(de_CreateSolFunctionPackageCommand).build() {
1869
- static {
1870
- __name(this, "CreateSolFunctionPackageCommand");
1871
- }
193
+ class ServiceQuotaExceededException extends TnbServiceException {
194
+ name = "ServiceQuotaExceededException";
195
+ $fault = "client";
196
+ constructor(opts) {
197
+ super({
198
+ name: "ServiceQuotaExceededException",
199
+ $fault: "client",
200
+ ...opts,
201
+ });
202
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
203
+ }
204
+ }
205
+ const NsdOnboardingState = {
206
+ CREATED: "CREATED",
207
+ ERROR: "ERROR",
208
+ ONBOARDED: "ONBOARDED",
1872
209
  };
1873
-
1874
- // src/commands/CreateSolNetworkInstanceCommand.ts
1875
-
1876
-
1877
-
1878
- var CreateSolNetworkInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1879
- return [
1880
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1881
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1882
- ];
1883
- }).s("TNB", "CreateSolNetworkInstance", {}).n("TnbClient", "CreateSolNetworkInstanceCommand").f(CreateSolNetworkInstanceInputFilterSensitiveLog, CreateSolNetworkInstanceOutputFilterSensitiveLog).ser(se_CreateSolNetworkInstanceCommand).de(de_CreateSolNetworkInstanceCommand).build() {
1884
- static {
1885
- __name(this, "CreateSolNetworkInstanceCommand");
1886
- }
210
+ const NsdOperationalState = {
211
+ DISABLED: "DISABLED",
212
+ ENABLED: "ENABLED",
1887
213
  };
1888
-
1889
- // src/commands/CreateSolNetworkPackageCommand.ts
1890
-
1891
-
1892
-
1893
- var CreateSolNetworkPackageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1894
- return [
1895
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1896
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1897
- ];
1898
- }).s("TNB", "CreateSolNetworkPackage", {}).n("TnbClient", "CreateSolNetworkPackageCommand").f(CreateSolNetworkPackageInputFilterSensitiveLog, CreateSolNetworkPackageOutputFilterSensitiveLog).ser(se_CreateSolNetworkPackageCommand).de(de_CreateSolNetworkPackageCommand).build() {
1899
- static {
1900
- __name(this, "CreateSolNetworkPackageCommand");
1901
- }
214
+ const NsdUsageState = {
215
+ IN_USE: "IN_USE",
216
+ NOT_IN_USE: "NOT_IN_USE",
1902
217
  };
1903
-
1904
- // src/commands/DeleteSolFunctionPackageCommand.ts
1905
-
1906
-
1907
-
1908
- var DeleteSolFunctionPackageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1909
- return [
1910
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1911
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1912
- ];
1913
- }).s("TNB", "DeleteSolFunctionPackage", {}).n("TnbClient", "DeleteSolFunctionPackageCommand").f(void 0, void 0).ser(se_DeleteSolFunctionPackageCommand).de(de_DeleteSolFunctionPackageCommand).build() {
1914
- static {
1915
- __name(this, "DeleteSolFunctionPackageCommand");
1916
- }
218
+ const DescriptorContentType = {
219
+ TEXT_PLAIN: "text/plain",
1917
220
  };
1918
-
1919
- // src/commands/DeleteSolNetworkInstanceCommand.ts
1920
-
1921
-
1922
-
1923
- var DeleteSolNetworkInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1924
- return [
1925
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1926
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1927
- ];
1928
- }).s("TNB", "DeleteSolNetworkInstance", {}).n("TnbClient", "DeleteSolNetworkInstanceCommand").f(void 0, void 0).ser(se_DeleteSolNetworkInstanceCommand).de(de_DeleteSolNetworkInstanceCommand).build() {
1929
- static {
1930
- __name(this, "DeleteSolNetworkInstanceCommand");
1931
- }
221
+ const VnfOperationalState = {
222
+ STARTED: "STARTED",
223
+ STOPPED: "STOPPED",
1932
224
  };
1933
-
1934
- // src/commands/DeleteSolNetworkPackageCommand.ts
1935
-
1936
-
1937
-
1938
- var DeleteSolNetworkPackageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1939
- return [
1940
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1941
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1942
- ];
1943
- }).s("TNB", "DeleteSolNetworkPackage", {}).n("TnbClient", "DeleteSolNetworkPackageCommand").f(void 0, void 0).ser(se_DeleteSolNetworkPackageCommand).de(de_DeleteSolNetworkPackageCommand).build() {
1944
- static {
1945
- __name(this, "DeleteSolNetworkPackageCommand");
1946
- }
225
+ const VnfInstantiationState = {
226
+ INSTANTIATED: "INSTANTIATED",
227
+ NOT_INSTANTIATED: "NOT_INSTANTIATED",
1947
228
  };
1948
-
1949
- // src/commands/GetSolFunctionInstanceCommand.ts
1950
-
1951
-
1952
-
1953
- var GetSolFunctionInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1954
- return [
1955
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1956
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1957
- ];
1958
- }).s("TNB", "GetSolFunctionInstance", {}).n("TnbClient", "GetSolFunctionInstanceCommand").f(void 0, GetSolFunctionInstanceOutputFilterSensitiveLog).ser(se_GetSolFunctionInstanceCommand).de(de_GetSolFunctionInstanceCommand).build() {
1959
- static {
1960
- __name(this, "GetSolFunctionInstanceCommand");
1961
- }
229
+ const PackageContentType = {
230
+ APPLICATION_ZIP: "application/zip",
1962
231
  };
1963
-
1964
- // src/commands/GetSolFunctionPackageCommand.ts
1965
-
1966
-
1967
-
1968
- var GetSolFunctionPackageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1969
- return [
1970
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1971
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1972
- ];
1973
- }).s("TNB", "GetSolFunctionPackage", {}).n("TnbClient", "GetSolFunctionPackageCommand").f(void 0, GetSolFunctionPackageOutputFilterSensitiveLog).ser(se_GetSolFunctionPackageCommand).de(de_GetSolFunctionPackageCommand).build() {
1974
- static {
1975
- __name(this, "GetSolFunctionPackageCommand");
1976
- }
232
+ const NsState = {
233
+ DELETED: "DELETED",
234
+ IMPAIRED: "IMPAIRED",
235
+ INSTANTIATED: "INSTANTIATED",
236
+ INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS",
237
+ INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS",
238
+ NOT_INSTANTIATED: "NOT_INSTANTIATED",
239
+ STOPPED: "STOPPED",
240
+ TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS",
241
+ UPDATED: "UPDATED",
242
+ UPDATE_FAILED: "UPDATE_FAILED",
243
+ UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
1977
244
  };
1978
-
1979
- // src/commands/GetSolFunctionPackageContentCommand.ts
1980
-
1981
-
1982
-
1983
- var GetSolFunctionPackageContentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1984
- return [
1985
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1986
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1987
- ];
1988
- }).s("TNB", "GetSolFunctionPackageContent", {}).n("TnbClient", "GetSolFunctionPackageContentCommand").f(void 0, void 0).ser(se_GetSolFunctionPackageContentCommand).de(de_GetSolFunctionPackageContentCommand).build() {
1989
- static {
1990
- __name(this, "GetSolFunctionPackageContentCommand");
1991
- }
245
+ const LcmOperationType = {
246
+ INSTANTIATE: "INSTANTIATE",
247
+ TERMINATE: "TERMINATE",
248
+ UPDATE: "UPDATE",
1992
249
  };
1993
-
1994
- // src/commands/GetSolFunctionPackageDescriptorCommand.ts
1995
-
1996
-
1997
-
1998
- var GetSolFunctionPackageDescriptorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1999
- return [
2000
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2001
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2002
- ];
2003
- }).s("TNB", "GetSolFunctionPackageDescriptor", {}).n("TnbClient", "GetSolFunctionPackageDescriptorCommand").f(void 0, void 0).ser(se_GetSolFunctionPackageDescriptorCommand).de(de_GetSolFunctionPackageDescriptorCommand).build() {
2004
- static {
2005
- __name(this, "GetSolFunctionPackageDescriptorCommand");
2006
- }
250
+ const NsLcmOperationState = {
251
+ CANCELLED: "CANCELLED",
252
+ CANCELLING: "CANCELLING",
253
+ COMPLETED: "COMPLETED",
254
+ FAILED: "FAILED",
255
+ PROCESSING: "PROCESSING",
2007
256
  };
2008
-
2009
- // src/commands/GetSolNetworkInstanceCommand.ts
2010
-
2011
-
2012
-
2013
- var GetSolNetworkInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2014
- return [
2015
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2016
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2017
- ];
2018
- }).s("TNB", "GetSolNetworkInstance", {}).n("TnbClient", "GetSolNetworkInstanceCommand").f(void 0, GetSolNetworkInstanceOutputFilterSensitiveLog).ser(se_GetSolNetworkInstanceCommand).de(de_GetSolNetworkInstanceCommand).build() {
2019
- static {
2020
- __name(this, "GetSolNetworkInstanceCommand");
2021
- }
257
+ const TaskStatus = {
258
+ CANCELLED: "CANCELLED",
259
+ COMPLETED: "COMPLETED",
260
+ ERROR: "ERROR",
261
+ IN_PROGRESS: "IN_PROGRESS",
262
+ SCHEDULED: "SCHEDULED",
263
+ SKIPPED: "SKIPPED",
264
+ STARTED: "STARTED",
2022
265
  };
2023
-
2024
- // src/commands/GetSolNetworkOperationCommand.ts
2025
-
2026
-
2027
-
2028
- var GetSolNetworkOperationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2029
- return [
2030
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2031
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2032
- ];
2033
- }).s("TNB", "GetSolNetworkOperation", {}).n("TnbClient", "GetSolNetworkOperationCommand").f(void 0, GetSolNetworkOperationOutputFilterSensitiveLog).ser(se_GetSolNetworkOperationCommand).de(de_GetSolNetworkOperationCommand).build() {
2034
- static {
2035
- __name(this, "GetSolNetworkOperationCommand");
2036
- }
266
+ const UpdateSolNetworkType = {
267
+ MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION",
268
+ UPDATE_NS: "UPDATE_NS",
2037
269
  };
270
+ const CreateSolFunctionPackageInputFilterSensitiveLog = (obj) => ({
271
+ ...obj,
272
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
273
+ });
274
+ const CreateSolFunctionPackageOutputFilterSensitiveLog = (obj) => ({
275
+ ...obj,
276
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
277
+ });
278
+ const CreateSolNetworkInstanceInputFilterSensitiveLog = (obj) => ({
279
+ ...obj,
280
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
281
+ });
282
+ const CreateSolNetworkInstanceOutputFilterSensitiveLog = (obj) => ({
283
+ ...obj,
284
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
285
+ });
286
+ const CreateSolNetworkPackageInputFilterSensitiveLog = (obj) => ({
287
+ ...obj,
288
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
289
+ });
290
+ const CreateSolNetworkPackageOutputFilterSensitiveLog = (obj) => ({
291
+ ...obj,
292
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
293
+ });
294
+ const GetSolFunctionInstanceOutputFilterSensitiveLog = (obj) => ({
295
+ ...obj,
296
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
297
+ });
298
+ const GetSolFunctionPackageOutputFilterSensitiveLog = (obj) => ({
299
+ ...obj,
300
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
301
+ });
302
+ const GetSolNetworkInstanceOutputFilterSensitiveLog = (obj) => ({
303
+ ...obj,
304
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
305
+ });
306
+ const GetSolNetworkOperationOutputFilterSensitiveLog = (obj) => ({
307
+ ...obj,
308
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
309
+ });
310
+ const GetSolNetworkPackageOutputFilterSensitiveLog = (obj) => ({
311
+ ...obj,
312
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
313
+ });
314
+ const InstantiateSolNetworkInstanceInputFilterSensitiveLog = (obj) => ({
315
+ ...obj,
316
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
317
+ });
318
+ const InstantiateSolNetworkInstanceOutputFilterSensitiveLog = (obj) => ({
319
+ ...obj,
320
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
321
+ });
322
+ const ListTagsForResourceOutputFilterSensitiveLog = (obj) => ({
323
+ ...obj,
324
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
325
+ });
326
+ const PutSolFunctionPackageContentInputFilterSensitiveLog = (obj) => ({
327
+ ...obj,
328
+ ...(obj.file && { file: smithyClient.SENSITIVE_STRING }),
329
+ });
330
+ const PutSolNetworkPackageContentInputFilterSensitiveLog = (obj) => ({
331
+ ...obj,
332
+ ...(obj.file && { file: smithyClient.SENSITIVE_STRING }),
333
+ });
334
+ const TagResourceInputFilterSensitiveLog = (obj) => ({
335
+ ...obj,
336
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
337
+ });
338
+ const TerminateSolNetworkInstanceInputFilterSensitiveLog = (obj) => ({
339
+ ...obj,
340
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
341
+ });
342
+ const TerminateSolNetworkInstanceOutputFilterSensitiveLog = (obj) => ({
343
+ ...obj,
344
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
345
+ });
346
+ const UpdateSolNetworkInstanceInputFilterSensitiveLog = (obj) => ({
347
+ ...obj,
348
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
349
+ });
350
+ const UpdateSolNetworkInstanceOutputFilterSensitiveLog = (obj) => ({
351
+ ...obj,
352
+ ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
353
+ });
354
+ const ValidateSolFunctionPackageContentInputFilterSensitiveLog = (obj) => ({
355
+ ...obj,
356
+ ...(obj.file && { file: smithyClient.SENSITIVE_STRING }),
357
+ });
358
+ const ValidateSolNetworkPackageContentInputFilterSensitiveLog = (obj) => ({
359
+ ...obj,
360
+ ...(obj.file && { file: smithyClient.SENSITIVE_STRING }),
361
+ });
2038
362
 
2039
- // src/commands/GetSolNetworkPackageCommand.ts
2040
-
2041
-
2042
-
2043
- var GetSolNetworkPackageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2044
- return [
2045
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2046
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2047
- ];
2048
- }).s("TNB", "GetSolNetworkPackage", {}).n("TnbClient", "GetSolNetworkPackageCommand").f(void 0, GetSolNetworkPackageOutputFilterSensitiveLog).ser(se_GetSolNetworkPackageCommand).de(de_GetSolNetworkPackageCommand).build() {
2049
- static {
2050
- __name(this, "GetSolNetworkPackageCommand");
2051
- }
363
+ const se_CancelSolNetworkOperationCommand = async (input, context) => {
364
+ const b = core.requestBuilder(input, context);
365
+ const headers = {};
366
+ b.bp("/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel");
367
+ b.p("nsLcmOpOccId", () => input.nsLcmOpOccId, "{nsLcmOpOccId}", false);
368
+ let body;
369
+ b.m("POST").h(headers).b(body);
370
+ return b.build();
2052
371
  };
2053
-
2054
- // src/commands/GetSolNetworkPackageContentCommand.ts
2055
-
2056
-
2057
-
2058
- var GetSolNetworkPackageContentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2059
- return [
2060
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2061
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2062
- ];
2063
- }).s("TNB", "GetSolNetworkPackageContent", {}).n("TnbClient", "GetSolNetworkPackageContentCommand").f(void 0, void 0).ser(se_GetSolNetworkPackageContentCommand).de(de_GetSolNetworkPackageContentCommand).build() {
2064
- static {
2065
- __name(this, "GetSolNetworkPackageContentCommand");
2066
- }
372
+ const se_CreateSolFunctionPackageCommand = async (input, context) => {
373
+ const b = core.requestBuilder(input, context);
374
+ const headers = {
375
+ "content-type": "application/json",
376
+ };
377
+ b.bp("/sol/vnfpkgm/v1/vnf_packages");
378
+ let body;
379
+ body = JSON.stringify(smithyClient.take(input, {
380
+ tags: (_) => smithyClient._json(_),
381
+ }));
382
+ b.m("POST").h(headers).b(body);
383
+ return b.build();
2067
384
  };
2068
-
2069
- // src/commands/GetSolNetworkPackageDescriptorCommand.ts
2070
-
2071
-
2072
-
2073
- var GetSolNetworkPackageDescriptorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2074
- return [
2075
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2076
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2077
- ];
2078
- }).s("TNB", "GetSolNetworkPackageDescriptor", {}).n("TnbClient", "GetSolNetworkPackageDescriptorCommand").f(void 0, void 0).ser(se_GetSolNetworkPackageDescriptorCommand).de(de_GetSolNetworkPackageDescriptorCommand).build() {
2079
- static {
2080
- __name(this, "GetSolNetworkPackageDescriptorCommand");
2081
- }
385
+ const se_CreateSolNetworkInstanceCommand = async (input, context) => {
386
+ const b = core.requestBuilder(input, context);
387
+ const headers = {
388
+ "content-type": "application/json",
389
+ };
390
+ b.bp("/sol/nslcm/v1/ns_instances");
391
+ let body;
392
+ body = JSON.stringify(smithyClient.take(input, {
393
+ nsDescription: [],
394
+ nsName: [],
395
+ nsdInfoId: [],
396
+ tags: (_) => smithyClient._json(_),
397
+ }));
398
+ b.m("POST").h(headers).b(body);
399
+ return b.build();
2082
400
  };
2083
-
2084
- // src/commands/InstantiateSolNetworkInstanceCommand.ts
2085
-
2086
-
2087
-
2088
- var InstantiateSolNetworkInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2089
- return [
2090
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2091
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2092
- ];
2093
- }).s("TNB", "InstantiateSolNetworkInstance", {}).n("TnbClient", "InstantiateSolNetworkInstanceCommand").f(InstantiateSolNetworkInstanceInputFilterSensitiveLog, InstantiateSolNetworkInstanceOutputFilterSensitiveLog).ser(se_InstantiateSolNetworkInstanceCommand).de(de_InstantiateSolNetworkInstanceCommand).build() {
2094
- static {
2095
- __name(this, "InstantiateSolNetworkInstanceCommand");
2096
- }
401
+ const se_CreateSolNetworkPackageCommand = async (input, context) => {
402
+ const b = core.requestBuilder(input, context);
403
+ const headers = {
404
+ "content-type": "application/json",
405
+ };
406
+ b.bp("/sol/nsd/v1/ns_descriptors");
407
+ let body;
408
+ body = JSON.stringify(smithyClient.take(input, {
409
+ tags: (_) => smithyClient._json(_),
410
+ }));
411
+ b.m("POST").h(headers).b(body);
412
+ return b.build();
2097
413
  };
2098
-
2099
- // src/commands/ListSolFunctionInstancesCommand.ts
2100
-
2101
-
2102
-
2103
- var ListSolFunctionInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2104
- return [
2105
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2106
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2107
- ];
2108
- }).s("TNB", "ListSolFunctionInstances", {}).n("TnbClient", "ListSolFunctionInstancesCommand").f(void 0, void 0).ser(se_ListSolFunctionInstancesCommand).de(de_ListSolFunctionInstancesCommand).build() {
2109
- static {
2110
- __name(this, "ListSolFunctionInstancesCommand");
2111
- }
414
+ const se_DeleteSolFunctionPackageCommand = async (input, context) => {
415
+ const b = core.requestBuilder(input, context);
416
+ const headers = {};
417
+ b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}");
418
+ b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
419
+ let body;
420
+ b.m("DELETE").h(headers).b(body);
421
+ return b.build();
2112
422
  };
2113
-
2114
- // src/commands/ListSolFunctionPackagesCommand.ts
2115
-
2116
-
2117
-
2118
- var ListSolFunctionPackagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2119
- return [
2120
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2121
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2122
- ];
2123
- }).s("TNB", "ListSolFunctionPackages", {}).n("TnbClient", "ListSolFunctionPackagesCommand").f(void 0, void 0).ser(se_ListSolFunctionPackagesCommand).de(de_ListSolFunctionPackagesCommand).build() {
2124
- static {
2125
- __name(this, "ListSolFunctionPackagesCommand");
2126
- }
423
+ const se_DeleteSolNetworkInstanceCommand = async (input, context) => {
424
+ const b = core.requestBuilder(input, context);
425
+ const headers = {};
426
+ b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}");
427
+ b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
428
+ let body;
429
+ b.m("DELETE").h(headers).b(body);
430
+ return b.build();
2127
431
  };
2128
-
2129
- // src/commands/ListSolNetworkInstancesCommand.ts
2130
-
2131
-
2132
-
2133
- var ListSolNetworkInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2134
- return [
2135
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2136
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2137
- ];
2138
- }).s("TNB", "ListSolNetworkInstances", {}).n("TnbClient", "ListSolNetworkInstancesCommand").f(void 0, void 0).ser(se_ListSolNetworkInstancesCommand).de(de_ListSolNetworkInstancesCommand).build() {
2139
- static {
2140
- __name(this, "ListSolNetworkInstancesCommand");
2141
- }
432
+ const se_DeleteSolNetworkPackageCommand = async (input, context) => {
433
+ const b = core.requestBuilder(input, context);
434
+ const headers = {};
435
+ b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}");
436
+ b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
437
+ let body;
438
+ b.m("DELETE").h(headers).b(body);
439
+ return b.build();
2142
440
  };
2143
-
2144
- // src/commands/ListSolNetworkOperationsCommand.ts
2145
-
2146
-
2147
-
2148
- var ListSolNetworkOperationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2149
- return [
2150
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2151
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2152
- ];
2153
- }).s("TNB", "ListSolNetworkOperations", {}).n("TnbClient", "ListSolNetworkOperationsCommand").f(void 0, void 0).ser(se_ListSolNetworkOperationsCommand).de(de_ListSolNetworkOperationsCommand).build() {
2154
- static {
2155
- __name(this, "ListSolNetworkOperationsCommand");
2156
- }
441
+ const se_GetSolFunctionInstanceCommand = async (input, context) => {
442
+ const b = core.requestBuilder(input, context);
443
+ const headers = {};
444
+ b.bp("/sol/vnflcm/v1/vnf_instances/{vnfInstanceId}");
445
+ b.p("vnfInstanceId", () => input.vnfInstanceId, "{vnfInstanceId}", false);
446
+ let body;
447
+ b.m("GET").h(headers).b(body);
448
+ return b.build();
2157
449
  };
2158
-
2159
- // src/commands/ListSolNetworkPackagesCommand.ts
2160
-
2161
-
2162
-
2163
- var ListSolNetworkPackagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2164
- return [
2165
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2166
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2167
- ];
2168
- }).s("TNB", "ListSolNetworkPackages", {}).n("TnbClient", "ListSolNetworkPackagesCommand").f(void 0, void 0).ser(se_ListSolNetworkPackagesCommand).de(de_ListSolNetworkPackagesCommand).build() {
2169
- static {
2170
- __name(this, "ListSolNetworkPackagesCommand");
2171
- }
450
+ const se_GetSolFunctionPackageCommand = async (input, context) => {
451
+ const b = core.requestBuilder(input, context);
452
+ const headers = {};
453
+ b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}");
454
+ b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
455
+ let body;
456
+ b.m("GET").h(headers).b(body);
457
+ return b.build();
2172
458
  };
2173
-
2174
- // src/commands/ListTagsForResourceCommand.ts
2175
-
2176
-
2177
-
2178
- var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2179
- return [
2180
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2181
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2182
- ];
2183
- }).s("TNB", "ListTagsForResource", {}).n("TnbClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceOutputFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2184
- static {
2185
- __name(this, "ListTagsForResourceCommand");
2186
- }
459
+ const se_GetSolFunctionPackageContentCommand = async (input, context) => {
460
+ const b = core.requestBuilder(input, context);
461
+ const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
462
+ [_a]: input[_a],
463
+ });
464
+ b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content");
465
+ b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
466
+ let body;
467
+ b.m("GET").h(headers).b(body);
468
+ return b.build();
2187
469
  };
2188
-
2189
- // src/commands/PutSolFunctionPackageContentCommand.ts
2190
-
2191
-
2192
-
2193
- var PutSolFunctionPackageContentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2194
- return [
2195
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2196
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2197
- ];
2198
- }).s("TNB", "PutSolFunctionPackageContent", {}).n("TnbClient", "PutSolFunctionPackageContentCommand").f(PutSolFunctionPackageContentInputFilterSensitiveLog, void 0).ser(se_PutSolFunctionPackageContentCommand).de(de_PutSolFunctionPackageContentCommand).build() {
2199
- static {
2200
- __name(this, "PutSolFunctionPackageContentCommand");
2201
- }
470
+ const se_GetSolFunctionPackageDescriptorCommand = async (input, context) => {
471
+ const b = core.requestBuilder(input, context);
472
+ const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
473
+ [_a]: input[_a],
474
+ });
475
+ b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/vnfd");
476
+ b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
477
+ let body;
478
+ b.m("GET").h(headers).b(body);
479
+ return b.build();
2202
480
  };
2203
-
2204
- // src/commands/PutSolNetworkPackageContentCommand.ts
2205
-
2206
-
2207
-
2208
- var PutSolNetworkPackageContentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2209
- return [
2210
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2211
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2212
- ];
2213
- }).s("TNB", "PutSolNetworkPackageContent", {}).n("TnbClient", "PutSolNetworkPackageContentCommand").f(PutSolNetworkPackageContentInputFilterSensitiveLog, void 0).ser(se_PutSolNetworkPackageContentCommand).de(de_PutSolNetworkPackageContentCommand).build() {
2214
- static {
2215
- __name(this, "PutSolNetworkPackageContentCommand");
2216
- }
481
+ const se_GetSolNetworkInstanceCommand = async (input, context) => {
482
+ const b = core.requestBuilder(input, context);
483
+ const headers = {};
484
+ b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}");
485
+ b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
486
+ let body;
487
+ b.m("GET").h(headers).b(body);
488
+ return b.build();
2217
489
  };
2218
-
2219
- // src/commands/TagResourceCommand.ts
2220
-
2221
-
2222
-
2223
- var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2224
- return [
2225
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2226
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2227
- ];
2228
- }).s("TNB", "TagResource", {}).n("TnbClient", "TagResourceCommand").f(TagResourceInputFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2229
- static {
2230
- __name(this, "TagResourceCommand");
2231
- }
490
+ const se_GetSolNetworkOperationCommand = async (input, context) => {
491
+ const b = core.requestBuilder(input, context);
492
+ const headers = {};
493
+ b.bp("/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}");
494
+ b.p("nsLcmOpOccId", () => input.nsLcmOpOccId, "{nsLcmOpOccId}", false);
495
+ let body;
496
+ b.m("GET").h(headers).b(body);
497
+ return b.build();
2232
498
  };
2233
-
2234
- // src/commands/TerminateSolNetworkInstanceCommand.ts
2235
-
2236
-
2237
-
2238
- var TerminateSolNetworkInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2239
- return [
2240
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2241
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2242
- ];
2243
- }).s("TNB", "TerminateSolNetworkInstance", {}).n("TnbClient", "TerminateSolNetworkInstanceCommand").f(TerminateSolNetworkInstanceInputFilterSensitiveLog, TerminateSolNetworkInstanceOutputFilterSensitiveLog).ser(se_TerminateSolNetworkInstanceCommand).de(de_TerminateSolNetworkInstanceCommand).build() {
2244
- static {
2245
- __name(this, "TerminateSolNetworkInstanceCommand");
2246
- }
499
+ const se_GetSolNetworkPackageCommand = async (input, context) => {
500
+ const b = core.requestBuilder(input, context);
501
+ const headers = {};
502
+ b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}");
503
+ b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
504
+ let body;
505
+ b.m("GET").h(headers).b(body);
506
+ return b.build();
2247
507
  };
2248
-
2249
- // src/commands/UntagResourceCommand.ts
2250
-
2251
-
2252
-
2253
- var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2254
- return [
2255
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2256
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2257
- ];
2258
- }).s("TNB", "UntagResource", {}).n("TnbClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2259
- static {
2260
- __name(this, "UntagResourceCommand");
2261
- }
508
+ const se_GetSolNetworkPackageContentCommand = async (input, context) => {
509
+ const b = core.requestBuilder(input, context);
510
+ const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
511
+ [_a]: input[_a],
512
+ });
513
+ b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content");
514
+ b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
515
+ let body;
516
+ b.m("GET").h(headers).b(body);
517
+ return b.build();
2262
518
  };
2263
-
2264
- // src/commands/UpdateSolFunctionPackageCommand.ts
2265
-
2266
-
2267
-
2268
- var UpdateSolFunctionPackageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2269
- return [
2270
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2271
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2272
- ];
2273
- }).s("TNB", "UpdateSolFunctionPackage", {}).n("TnbClient", "UpdateSolFunctionPackageCommand").f(void 0, void 0).ser(se_UpdateSolFunctionPackageCommand).de(de_UpdateSolFunctionPackageCommand).build() {
2274
- static {
2275
- __name(this, "UpdateSolFunctionPackageCommand");
2276
- }
519
+ const se_GetSolNetworkPackageDescriptorCommand = async (input, context) => {
520
+ const b = core.requestBuilder(input, context);
521
+ const headers = {};
522
+ b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd");
523
+ b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
524
+ let body;
525
+ b.m("GET").h(headers).b(body);
526
+ return b.build();
2277
527
  };
2278
-
2279
- // src/commands/UpdateSolNetworkInstanceCommand.ts
2280
-
2281
-
2282
-
2283
- var UpdateSolNetworkInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2284
- return [
2285
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2286
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2287
- ];
2288
- }).s("TNB", "UpdateSolNetworkInstance", {}).n("TnbClient", "UpdateSolNetworkInstanceCommand").f(UpdateSolNetworkInstanceInputFilterSensitiveLog, UpdateSolNetworkInstanceOutputFilterSensitiveLog).ser(se_UpdateSolNetworkInstanceCommand).de(de_UpdateSolNetworkInstanceCommand).build() {
2289
- static {
2290
- __name(this, "UpdateSolNetworkInstanceCommand");
2291
- }
528
+ const se_InstantiateSolNetworkInstanceCommand = async (input, context) => {
529
+ const b = core.requestBuilder(input, context);
530
+ const headers = {
531
+ "content-type": "application/json",
532
+ };
533
+ b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}/instantiate");
534
+ b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
535
+ const query = smithyClient.map({
536
+ [_dr]: [() => input.dryRun !== void 0, () => input[_dR].toString()],
537
+ });
538
+ let body;
539
+ body = JSON.stringify(smithyClient.take(input, {
540
+ additionalParamsForNs: (_) => se_Document(_),
541
+ tags: (_) => smithyClient._json(_),
542
+ }));
543
+ b.m("POST").h(headers).q(query).b(body);
544
+ return b.build();
2292
545
  };
2293
-
2294
- // src/commands/UpdateSolNetworkPackageCommand.ts
2295
-
2296
-
2297
-
2298
- var UpdateSolNetworkPackageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2299
- return [
2300
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2301
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2302
- ];
2303
- }).s("TNB", "UpdateSolNetworkPackage", {}).n("TnbClient", "UpdateSolNetworkPackageCommand").f(void 0, void 0).ser(se_UpdateSolNetworkPackageCommand).de(de_UpdateSolNetworkPackageCommand).build() {
2304
- static {
2305
- __name(this, "UpdateSolNetworkPackageCommand");
2306
- }
546
+ const se_ListSolFunctionInstancesCommand = async (input, context) => {
547
+ const b = core.requestBuilder(input, context);
548
+ const headers = {};
549
+ b.bp("/sol/vnflcm/v1/vnf_instances");
550
+ const query = smithyClient.map({
551
+ [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
552
+ [_nom]: [, input[_nT]],
553
+ });
554
+ let body;
555
+ b.m("GET").h(headers).q(query).b(body);
556
+ return b.build();
2307
557
  };
2308
-
2309
- // src/commands/ValidateSolFunctionPackageContentCommand.ts
2310
-
2311
-
2312
-
2313
- var ValidateSolFunctionPackageContentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2314
- return [
2315
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2316
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2317
- ];
2318
- }).s("TNB", "ValidateSolFunctionPackageContent", {}).n("TnbClient", "ValidateSolFunctionPackageContentCommand").f(ValidateSolFunctionPackageContentInputFilterSensitiveLog, void 0).ser(se_ValidateSolFunctionPackageContentCommand).de(de_ValidateSolFunctionPackageContentCommand).build() {
2319
- static {
2320
- __name(this, "ValidateSolFunctionPackageContentCommand");
2321
- }
558
+ const se_ListSolFunctionPackagesCommand = async (input, context) => {
559
+ const b = core.requestBuilder(input, context);
560
+ const headers = {};
561
+ b.bp("/sol/vnfpkgm/v1/vnf_packages");
562
+ const query = smithyClient.map({
563
+ [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
564
+ [_nom]: [, input[_nT]],
565
+ });
566
+ let body;
567
+ b.m("GET").h(headers).q(query).b(body);
568
+ return b.build();
2322
569
  };
2323
-
2324
- // src/commands/ValidateSolNetworkPackageContentCommand.ts
2325
-
2326
-
2327
-
2328
- var ValidateSolNetworkPackageContentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2329
- return [
2330
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2331
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2332
- ];
2333
- }).s("TNB", "ValidateSolNetworkPackageContent", {}).n("TnbClient", "ValidateSolNetworkPackageContentCommand").f(ValidateSolNetworkPackageContentInputFilterSensitiveLog, void 0).ser(se_ValidateSolNetworkPackageContentCommand).de(de_ValidateSolNetworkPackageContentCommand).build() {
2334
- static {
2335
- __name(this, "ValidateSolNetworkPackageContentCommand");
2336
- }
570
+ const se_ListSolNetworkInstancesCommand = async (input, context) => {
571
+ const b = core.requestBuilder(input, context);
572
+ const headers = {};
573
+ b.bp("/sol/nslcm/v1/ns_instances");
574
+ const query = smithyClient.map({
575
+ [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
576
+ [_nom]: [, input[_nT]],
577
+ });
578
+ let body;
579
+ b.m("GET").h(headers).q(query).b(body);
580
+ return b.build();
2337
581
  };
582
+ const se_ListSolNetworkOperationsCommand = async (input, context) => {
583
+ const b = core.requestBuilder(input, context);
584
+ const headers = {};
585
+ b.bp("/sol/nslcm/v1/ns_lcm_op_occs");
586
+ const query = smithyClient.map({
587
+ [_nII]: [, input[_nII]],
588
+ [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
589
+ [_nom]: [, input[_nT]],
590
+ });
591
+ let body;
592
+ b.m("GET").h(headers).q(query).b(body);
593
+ return b.build();
594
+ };
595
+ const se_ListSolNetworkPackagesCommand = async (input, context) => {
596
+ const b = core.requestBuilder(input, context);
597
+ const headers = {};
598
+ b.bp("/sol/nsd/v1/ns_descriptors");
599
+ const query = smithyClient.map({
600
+ [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
601
+ [_nom]: [, input[_nT]],
602
+ });
603
+ let body;
604
+ b.m("GET").h(headers).q(query).b(body);
605
+ return b.build();
606
+ };
607
+ const se_ListTagsForResourceCommand = async (input, context) => {
608
+ const b = core.requestBuilder(input, context);
609
+ const headers = {};
610
+ b.bp("/tags/{resourceArn}");
611
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
612
+ let body;
613
+ b.m("GET").h(headers).b(body);
614
+ return b.build();
615
+ };
616
+ const se_PutSolFunctionPackageContentCommand = async (input, context) => {
617
+ const b = core.requestBuilder(input, context);
618
+ const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
619
+ [_ct]: input[_cT] || "application/octet-stream",
620
+ });
621
+ b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content");
622
+ b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
623
+ let body;
624
+ if (input.file !== undefined) {
625
+ body = input.file;
626
+ }
627
+ b.m("PUT").h(headers).b(body);
628
+ return b.build();
629
+ };
630
+ const se_PutSolNetworkPackageContentCommand = async (input, context) => {
631
+ const b = core.requestBuilder(input, context);
632
+ const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
633
+ [_ct]: input[_cT] || "application/octet-stream",
634
+ });
635
+ b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content");
636
+ b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
637
+ let body;
638
+ if (input.file !== undefined) {
639
+ body = input.file;
640
+ }
641
+ b.m("PUT").h(headers).b(body);
642
+ return b.build();
643
+ };
644
+ const se_TagResourceCommand = async (input, context) => {
645
+ const b = core.requestBuilder(input, context);
646
+ const headers = {
647
+ "content-type": "application/json",
648
+ };
649
+ b.bp("/tags/{resourceArn}");
650
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
651
+ let body;
652
+ body = JSON.stringify(smithyClient.take(input, {
653
+ tags: (_) => smithyClient._json(_),
654
+ }));
655
+ b.m("POST").h(headers).b(body);
656
+ return b.build();
657
+ };
658
+ const se_TerminateSolNetworkInstanceCommand = async (input, context) => {
659
+ const b = core.requestBuilder(input, context);
660
+ const headers = {
661
+ "content-type": "application/json",
662
+ };
663
+ b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}/terminate");
664
+ b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
665
+ let body;
666
+ body = JSON.stringify(smithyClient.take(input, {
667
+ tags: (_) => smithyClient._json(_),
668
+ }));
669
+ b.m("POST").h(headers).b(body);
670
+ return b.build();
671
+ };
672
+ const se_UntagResourceCommand = async (input, context) => {
673
+ const b = core.requestBuilder(input, context);
674
+ const headers = {};
675
+ b.bp("/tags/{resourceArn}");
676
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
677
+ const query = smithyClient.map({
678
+ [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
679
+ });
680
+ let body;
681
+ b.m("DELETE").h(headers).q(query).b(body);
682
+ return b.build();
683
+ };
684
+ const se_UpdateSolFunctionPackageCommand = async (input, context) => {
685
+ const b = core.requestBuilder(input, context);
686
+ const headers = {
687
+ "content-type": "application/json",
688
+ };
689
+ b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}");
690
+ b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
691
+ let body;
692
+ body = JSON.stringify(smithyClient.take(input, {
693
+ operationalState: [],
694
+ }));
695
+ b.m("PATCH").h(headers).b(body);
696
+ return b.build();
697
+ };
698
+ const se_UpdateSolNetworkInstanceCommand = async (input, context) => {
699
+ const b = core.requestBuilder(input, context);
700
+ const headers = {
701
+ "content-type": "application/json",
702
+ };
703
+ b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}/update");
704
+ b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
705
+ let body;
706
+ body = JSON.stringify(smithyClient.take(input, {
707
+ modifyVnfInfoData: (_) => se_UpdateSolNetworkModify(_),
708
+ tags: (_) => smithyClient._json(_),
709
+ updateNs: (_) => se_UpdateSolNetworkServiceData(_),
710
+ updateType: [],
711
+ }));
712
+ b.m("POST").h(headers).b(body);
713
+ return b.build();
714
+ };
715
+ const se_UpdateSolNetworkPackageCommand = async (input, context) => {
716
+ const b = core.requestBuilder(input, context);
717
+ const headers = {
718
+ "content-type": "application/json",
719
+ };
720
+ b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}");
721
+ b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
722
+ let body;
723
+ body = JSON.stringify(smithyClient.take(input, {
724
+ nsdOperationalState: [],
725
+ }));
726
+ b.m("PATCH").h(headers).b(body);
727
+ return b.build();
728
+ };
729
+ const se_ValidateSolFunctionPackageContentCommand = async (input, context) => {
730
+ const b = core.requestBuilder(input, context);
731
+ const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
732
+ [_ct]: input[_cT] || "application/octet-stream",
733
+ });
734
+ b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content/validate");
735
+ b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
736
+ let body;
737
+ if (input.file !== undefined) {
738
+ body = input.file;
739
+ }
740
+ b.m("PUT").h(headers).b(body);
741
+ return b.build();
742
+ };
743
+ const se_ValidateSolNetworkPackageContentCommand = async (input, context) => {
744
+ const b = core.requestBuilder(input, context);
745
+ const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
746
+ [_ct]: input[_cT] || "application/octet-stream",
747
+ });
748
+ b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content/validate");
749
+ b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
750
+ let body;
751
+ if (input.file !== undefined) {
752
+ body = input.file;
753
+ }
754
+ b.m("PUT").h(headers).b(body);
755
+ return b.build();
756
+ };
757
+ const de_CancelSolNetworkOperationCommand = async (output, context) => {
758
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
759
+ return de_CommandError(output, context);
760
+ }
761
+ const contents = smithyClient.map({
762
+ $metadata: deserializeMetadata(output),
763
+ });
764
+ await smithyClient.collectBody(output.body, context);
765
+ return contents;
766
+ };
767
+ const de_CreateSolFunctionPackageCommand = async (output, context) => {
768
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
769
+ return de_CommandError(output, context);
770
+ }
771
+ const contents = smithyClient.map({
772
+ $metadata: deserializeMetadata(output),
773
+ });
774
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
775
+ const doc = smithyClient.take(data, {
776
+ arn: smithyClient.expectString,
777
+ id: smithyClient.expectString,
778
+ onboardingState: smithyClient.expectString,
779
+ operationalState: smithyClient.expectString,
780
+ tags: smithyClient._json,
781
+ usageState: smithyClient.expectString,
782
+ });
783
+ Object.assign(contents, doc);
784
+ return contents;
785
+ };
786
+ const de_CreateSolNetworkInstanceCommand = async (output, context) => {
787
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
788
+ return de_CommandError(output, context);
789
+ }
790
+ const contents = smithyClient.map({
791
+ $metadata: deserializeMetadata(output),
792
+ });
793
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
794
+ const doc = smithyClient.take(data, {
795
+ arn: smithyClient.expectString,
796
+ id: smithyClient.expectString,
797
+ nsInstanceName: smithyClient.expectString,
798
+ nsdInfoId: smithyClient.expectString,
799
+ tags: smithyClient._json,
800
+ });
801
+ Object.assign(contents, doc);
802
+ return contents;
803
+ };
804
+ const de_CreateSolNetworkPackageCommand = async (output, context) => {
805
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
806
+ return de_CommandError(output, context);
807
+ }
808
+ const contents = smithyClient.map({
809
+ $metadata: deserializeMetadata(output),
810
+ });
811
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
812
+ const doc = smithyClient.take(data, {
813
+ arn: smithyClient.expectString,
814
+ id: smithyClient.expectString,
815
+ nsdOnboardingState: smithyClient.expectString,
816
+ nsdOperationalState: smithyClient.expectString,
817
+ nsdUsageState: smithyClient.expectString,
818
+ tags: smithyClient._json,
819
+ });
820
+ Object.assign(contents, doc);
821
+ return contents;
822
+ };
823
+ const de_DeleteSolFunctionPackageCommand = async (output, context) => {
824
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
825
+ return de_CommandError(output, context);
826
+ }
827
+ const contents = smithyClient.map({
828
+ $metadata: deserializeMetadata(output),
829
+ });
830
+ await smithyClient.collectBody(output.body, context);
831
+ return contents;
832
+ };
833
+ const de_DeleteSolNetworkInstanceCommand = async (output, context) => {
834
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
835
+ return de_CommandError(output, context);
836
+ }
837
+ const contents = smithyClient.map({
838
+ $metadata: deserializeMetadata(output),
839
+ });
840
+ await smithyClient.collectBody(output.body, context);
841
+ return contents;
842
+ };
843
+ const de_DeleteSolNetworkPackageCommand = async (output, context) => {
844
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
845
+ return de_CommandError(output, context);
846
+ }
847
+ const contents = smithyClient.map({
848
+ $metadata: deserializeMetadata(output),
849
+ });
850
+ await smithyClient.collectBody(output.body, context);
851
+ return contents;
852
+ };
853
+ const de_GetSolFunctionInstanceCommand = async (output, context) => {
854
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
855
+ return de_CommandError(output, context);
856
+ }
857
+ const contents = smithyClient.map({
858
+ $metadata: deserializeMetadata(output),
859
+ });
860
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
861
+ const doc = smithyClient.take(data, {
862
+ arn: smithyClient.expectString,
863
+ id: smithyClient.expectString,
864
+ instantiatedVnfInfo: smithyClient._json,
865
+ instantiationState: smithyClient.expectString,
866
+ metadata: (_) => de_GetSolFunctionInstanceMetadata(_),
867
+ nsInstanceId: smithyClient.expectString,
868
+ tags: smithyClient._json,
869
+ vnfPkgId: smithyClient.expectString,
870
+ vnfProductName: smithyClient.expectString,
871
+ vnfProvider: smithyClient.expectString,
872
+ vnfdId: smithyClient.expectString,
873
+ vnfdVersion: smithyClient.expectString,
874
+ });
875
+ Object.assign(contents, doc);
876
+ return contents;
877
+ };
878
+ const de_GetSolFunctionPackageCommand = async (output, context) => {
879
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
880
+ return de_CommandError(output, context);
881
+ }
882
+ const contents = smithyClient.map({
883
+ $metadata: deserializeMetadata(output),
884
+ });
885
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
886
+ const doc = smithyClient.take(data, {
887
+ arn: smithyClient.expectString,
888
+ id: smithyClient.expectString,
889
+ metadata: (_) => de_GetSolFunctionPackageMetadata(_),
890
+ onboardingState: smithyClient.expectString,
891
+ operationalState: smithyClient.expectString,
892
+ tags: smithyClient._json,
893
+ usageState: smithyClient.expectString,
894
+ vnfProductName: smithyClient.expectString,
895
+ vnfProvider: smithyClient.expectString,
896
+ vnfdId: smithyClient.expectString,
897
+ vnfdVersion: smithyClient.expectString,
898
+ });
899
+ Object.assign(contents, doc);
900
+ return contents;
901
+ };
902
+ const de_GetSolFunctionPackageContentCommand = async (output, context) => {
903
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
904
+ return de_CommandError(output, context);
905
+ }
906
+ const contents = smithyClient.map({
907
+ $metadata: deserializeMetadata(output),
908
+ [_cT]: [, output.headers[_ct]],
909
+ });
910
+ const data = await smithyClient.collectBody(output.body, context);
911
+ contents.packageContent = data;
912
+ return contents;
913
+ };
914
+ const de_GetSolFunctionPackageDescriptorCommand = async (output, context) => {
915
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
916
+ return de_CommandError(output, context);
917
+ }
918
+ const contents = smithyClient.map({
919
+ $metadata: deserializeMetadata(output),
920
+ [_cT]: [, output.headers[_ct]],
921
+ });
922
+ const data = await smithyClient.collectBody(output.body, context);
923
+ contents.vnfd = data;
924
+ return contents;
925
+ };
926
+ const de_GetSolNetworkInstanceCommand = async (output, context) => {
927
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
928
+ return de_CommandError(output, context);
929
+ }
930
+ const contents = smithyClient.map({
931
+ $metadata: deserializeMetadata(output),
932
+ });
933
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
934
+ const doc = smithyClient.take(data, {
935
+ arn: smithyClient.expectString,
936
+ id: smithyClient.expectString,
937
+ lcmOpInfo: smithyClient._json,
938
+ metadata: (_) => de_GetSolNetworkInstanceMetadata(_),
939
+ nsInstanceDescription: smithyClient.expectString,
940
+ nsInstanceName: smithyClient.expectString,
941
+ nsState: smithyClient.expectString,
942
+ nsdId: smithyClient.expectString,
943
+ nsdInfoId: smithyClient.expectString,
944
+ tags: smithyClient._json,
945
+ });
946
+ Object.assign(contents, doc);
947
+ return contents;
948
+ };
949
+ const de_GetSolNetworkOperationCommand = async (output, context) => {
950
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
951
+ return de_CommandError(output, context);
952
+ }
953
+ const contents = smithyClient.map({
954
+ $metadata: deserializeMetadata(output),
955
+ });
956
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
957
+ const doc = smithyClient.take(data, {
958
+ arn: smithyClient.expectString,
959
+ error: smithyClient._json,
960
+ id: smithyClient.expectString,
961
+ lcmOperationType: smithyClient.expectString,
962
+ metadata: (_) => de_GetSolNetworkOperationMetadata(_),
963
+ nsInstanceId: smithyClient.expectString,
964
+ operationState: smithyClient.expectString,
965
+ tags: smithyClient._json,
966
+ tasks: (_) => de_GetSolNetworkOperationTasksList(_),
967
+ updateType: smithyClient.expectString,
968
+ });
969
+ Object.assign(contents, doc);
970
+ return contents;
971
+ };
972
+ const de_GetSolNetworkPackageCommand = async (output, context) => {
973
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
974
+ return de_CommandError(output, context);
975
+ }
976
+ const contents = smithyClient.map({
977
+ $metadata: deserializeMetadata(output),
978
+ });
979
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
980
+ const doc = smithyClient.take(data, {
981
+ arn: smithyClient.expectString,
982
+ id: smithyClient.expectString,
983
+ metadata: (_) => de_GetSolNetworkPackageMetadata(_),
984
+ nsdId: smithyClient.expectString,
985
+ nsdName: smithyClient.expectString,
986
+ nsdOnboardingState: smithyClient.expectString,
987
+ nsdOperationalState: smithyClient.expectString,
988
+ nsdUsageState: smithyClient.expectString,
989
+ nsdVersion: smithyClient.expectString,
990
+ tags: smithyClient._json,
991
+ vnfPkgIds: smithyClient._json,
992
+ });
993
+ Object.assign(contents, doc);
994
+ return contents;
995
+ };
996
+ const de_GetSolNetworkPackageContentCommand = async (output, context) => {
997
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
998
+ return de_CommandError(output, context);
999
+ }
1000
+ const contents = smithyClient.map({
1001
+ $metadata: deserializeMetadata(output),
1002
+ [_cT]: [, output.headers[_ct]],
1003
+ });
1004
+ const data = await smithyClient.collectBody(output.body, context);
1005
+ contents.nsdContent = data;
1006
+ return contents;
1007
+ };
1008
+ const de_GetSolNetworkPackageDescriptorCommand = async (output, context) => {
1009
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1010
+ return de_CommandError(output, context);
1011
+ }
1012
+ const contents = smithyClient.map({
1013
+ $metadata: deserializeMetadata(output),
1014
+ [_cT]: [, output.headers[_ct]],
1015
+ });
1016
+ const data = await smithyClient.collectBody(output.body, context);
1017
+ contents.nsd = data;
1018
+ return contents;
1019
+ };
1020
+ const de_InstantiateSolNetworkInstanceCommand = async (output, context) => {
1021
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1022
+ return de_CommandError(output, context);
1023
+ }
1024
+ const contents = smithyClient.map({
1025
+ $metadata: deserializeMetadata(output),
1026
+ });
1027
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1028
+ const doc = smithyClient.take(data, {
1029
+ nsLcmOpOccId: smithyClient.expectString,
1030
+ tags: smithyClient._json,
1031
+ });
1032
+ Object.assign(contents, doc);
1033
+ return contents;
1034
+ };
1035
+ const de_ListSolFunctionInstancesCommand = async (output, context) => {
1036
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1037
+ return de_CommandError(output, context);
1038
+ }
1039
+ const contents = smithyClient.map({
1040
+ $metadata: deserializeMetadata(output),
1041
+ });
1042
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1043
+ const doc = smithyClient.take(data, {
1044
+ functionInstances: (_) => de_ListSolFunctionInstanceResources(_),
1045
+ nextToken: smithyClient.expectString,
1046
+ });
1047
+ Object.assign(contents, doc);
1048
+ return contents;
1049
+ };
1050
+ const de_ListSolFunctionPackagesCommand = async (output, context) => {
1051
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1052
+ return de_CommandError(output, context);
1053
+ }
1054
+ const contents = smithyClient.map({
1055
+ $metadata: deserializeMetadata(output),
1056
+ });
1057
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1058
+ const doc = smithyClient.take(data, {
1059
+ functionPackages: (_) => de_ListSolFunctionPackageResources(_),
1060
+ nextToken: smithyClient.expectString,
1061
+ });
1062
+ Object.assign(contents, doc);
1063
+ return contents;
1064
+ };
1065
+ const de_ListSolNetworkInstancesCommand = async (output, context) => {
1066
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1067
+ return de_CommandError(output, context);
1068
+ }
1069
+ const contents = smithyClient.map({
1070
+ $metadata: deserializeMetadata(output),
1071
+ });
1072
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1073
+ const doc = smithyClient.take(data, {
1074
+ networkInstances: (_) => de_ListSolNetworkInstanceResources(_),
1075
+ nextToken: smithyClient.expectString,
1076
+ });
1077
+ Object.assign(contents, doc);
1078
+ return contents;
1079
+ };
1080
+ const de_ListSolNetworkOperationsCommand = async (output, context) => {
1081
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1082
+ return de_CommandError(output, context);
1083
+ }
1084
+ const contents = smithyClient.map({
1085
+ $metadata: deserializeMetadata(output),
1086
+ });
1087
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1088
+ const doc = smithyClient.take(data, {
1089
+ networkOperations: (_) => de_ListSolNetworkOperationsResources(_),
1090
+ nextToken: smithyClient.expectString,
1091
+ });
1092
+ Object.assign(contents, doc);
1093
+ return contents;
1094
+ };
1095
+ const de_ListSolNetworkPackagesCommand = async (output, context) => {
1096
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1097
+ return de_CommandError(output, context);
1098
+ }
1099
+ const contents = smithyClient.map({
1100
+ $metadata: deserializeMetadata(output),
1101
+ });
1102
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1103
+ const doc = smithyClient.take(data, {
1104
+ networkPackages: (_) => de_ListSolNetworkPackageResources(_),
1105
+ nextToken: smithyClient.expectString,
1106
+ });
1107
+ Object.assign(contents, doc);
1108
+ return contents;
1109
+ };
1110
+ const de_ListTagsForResourceCommand = async (output, context) => {
1111
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1112
+ return de_CommandError(output, context);
1113
+ }
1114
+ const contents = smithyClient.map({
1115
+ $metadata: deserializeMetadata(output),
1116
+ });
1117
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1118
+ const doc = smithyClient.take(data, {
1119
+ tags: smithyClient._json,
1120
+ });
1121
+ Object.assign(contents, doc);
1122
+ return contents;
1123
+ };
1124
+ const de_PutSolFunctionPackageContentCommand = async (output, context) => {
1125
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1126
+ return de_CommandError(output, context);
1127
+ }
1128
+ const contents = smithyClient.map({
1129
+ $metadata: deserializeMetadata(output),
1130
+ });
1131
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1132
+ const doc = smithyClient.take(data, {
1133
+ id: smithyClient.expectString,
1134
+ metadata: smithyClient._json,
1135
+ vnfProductName: smithyClient.expectString,
1136
+ vnfProvider: smithyClient.expectString,
1137
+ vnfdId: smithyClient.expectString,
1138
+ vnfdVersion: smithyClient.expectString,
1139
+ });
1140
+ Object.assign(contents, doc);
1141
+ return contents;
1142
+ };
1143
+ const de_PutSolNetworkPackageContentCommand = async (output, context) => {
1144
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1145
+ return de_CommandError(output, context);
1146
+ }
1147
+ const contents = smithyClient.map({
1148
+ $metadata: deserializeMetadata(output),
1149
+ });
1150
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1151
+ const doc = smithyClient.take(data, {
1152
+ arn: smithyClient.expectString,
1153
+ id: smithyClient.expectString,
1154
+ metadata: smithyClient._json,
1155
+ nsdId: smithyClient.expectString,
1156
+ nsdName: smithyClient.expectString,
1157
+ nsdVersion: smithyClient.expectString,
1158
+ vnfPkgIds: smithyClient._json,
1159
+ });
1160
+ Object.assign(contents, doc);
1161
+ return contents;
1162
+ };
1163
+ const de_TagResourceCommand = async (output, context) => {
1164
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1165
+ return de_CommandError(output, context);
1166
+ }
1167
+ const contents = smithyClient.map({
1168
+ $metadata: deserializeMetadata(output),
1169
+ });
1170
+ await smithyClient.collectBody(output.body, context);
1171
+ return contents;
1172
+ };
1173
+ const de_TerminateSolNetworkInstanceCommand = async (output, context) => {
1174
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1175
+ return de_CommandError(output, context);
1176
+ }
1177
+ const contents = smithyClient.map({
1178
+ $metadata: deserializeMetadata(output),
1179
+ });
1180
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1181
+ const doc = smithyClient.take(data, {
1182
+ nsLcmOpOccId: smithyClient.expectString,
1183
+ tags: smithyClient._json,
1184
+ });
1185
+ Object.assign(contents, doc);
1186
+ return contents;
1187
+ };
1188
+ const de_UntagResourceCommand = async (output, context) => {
1189
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1190
+ return de_CommandError(output, context);
1191
+ }
1192
+ const contents = smithyClient.map({
1193
+ $metadata: deserializeMetadata(output),
1194
+ });
1195
+ await smithyClient.collectBody(output.body, context);
1196
+ return contents;
1197
+ };
1198
+ const de_UpdateSolFunctionPackageCommand = async (output, context) => {
1199
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1200
+ return de_CommandError(output, context);
1201
+ }
1202
+ const contents = smithyClient.map({
1203
+ $metadata: deserializeMetadata(output),
1204
+ });
1205
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1206
+ const doc = smithyClient.take(data, {
1207
+ operationalState: smithyClient.expectString,
1208
+ });
1209
+ Object.assign(contents, doc);
1210
+ return contents;
1211
+ };
1212
+ const de_UpdateSolNetworkInstanceCommand = async (output, context) => {
1213
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1214
+ return de_CommandError(output, context);
1215
+ }
1216
+ const contents = smithyClient.map({
1217
+ $metadata: deserializeMetadata(output),
1218
+ });
1219
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1220
+ const doc = smithyClient.take(data, {
1221
+ nsLcmOpOccId: smithyClient.expectString,
1222
+ tags: smithyClient._json,
1223
+ });
1224
+ Object.assign(contents, doc);
1225
+ return contents;
1226
+ };
1227
+ const de_UpdateSolNetworkPackageCommand = async (output, context) => {
1228
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1229
+ return de_CommandError(output, context);
1230
+ }
1231
+ const contents = smithyClient.map({
1232
+ $metadata: deserializeMetadata(output),
1233
+ });
1234
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1235
+ const doc = smithyClient.take(data, {
1236
+ nsdOperationalState: smithyClient.expectString,
1237
+ });
1238
+ Object.assign(contents, doc);
1239
+ return contents;
1240
+ };
1241
+ const de_ValidateSolFunctionPackageContentCommand = async (output, context) => {
1242
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1243
+ return de_CommandError(output, context);
1244
+ }
1245
+ const contents = smithyClient.map({
1246
+ $metadata: deserializeMetadata(output),
1247
+ });
1248
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1249
+ const doc = smithyClient.take(data, {
1250
+ id: smithyClient.expectString,
1251
+ metadata: smithyClient._json,
1252
+ vnfProductName: smithyClient.expectString,
1253
+ vnfProvider: smithyClient.expectString,
1254
+ vnfdId: smithyClient.expectString,
1255
+ vnfdVersion: smithyClient.expectString,
1256
+ });
1257
+ Object.assign(contents, doc);
1258
+ return contents;
1259
+ };
1260
+ const de_ValidateSolNetworkPackageContentCommand = async (output, context) => {
1261
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1262
+ return de_CommandError(output, context);
1263
+ }
1264
+ const contents = smithyClient.map({
1265
+ $metadata: deserializeMetadata(output),
1266
+ });
1267
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1268
+ const doc = smithyClient.take(data, {
1269
+ arn: smithyClient.expectString,
1270
+ id: smithyClient.expectString,
1271
+ metadata: smithyClient._json,
1272
+ nsdId: smithyClient.expectString,
1273
+ nsdName: smithyClient.expectString,
1274
+ nsdVersion: smithyClient.expectString,
1275
+ vnfPkgIds: smithyClient._json,
1276
+ });
1277
+ Object.assign(contents, doc);
1278
+ return contents;
1279
+ };
1280
+ const de_CommandError = async (output, context) => {
1281
+ const parsedOutput = {
1282
+ ...output,
1283
+ body: await core$1.parseJsonErrorBody(output.body, context),
1284
+ };
1285
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1286
+ switch (errorCode) {
1287
+ case "AccessDeniedException":
1288
+ case "com.amazonaws.tnb#AccessDeniedException":
1289
+ throw await de_AccessDeniedExceptionRes(parsedOutput);
1290
+ case "InternalServerException":
1291
+ case "com.amazonaws.tnb#InternalServerException":
1292
+ throw await de_InternalServerExceptionRes(parsedOutput);
1293
+ case "ResourceNotFoundException":
1294
+ case "com.amazonaws.tnb#ResourceNotFoundException":
1295
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1296
+ case "ThrottlingException":
1297
+ case "com.amazonaws.tnb#ThrottlingException":
1298
+ throw await de_ThrottlingExceptionRes(parsedOutput);
1299
+ case "ValidationException":
1300
+ case "com.amazonaws.tnb#ValidationException":
1301
+ throw await de_ValidationExceptionRes(parsedOutput);
1302
+ case "ServiceQuotaExceededException":
1303
+ case "com.amazonaws.tnb#ServiceQuotaExceededException":
1304
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1305
+ default:
1306
+ const parsedBody = parsedOutput.body;
1307
+ return throwDefaultError({
1308
+ output,
1309
+ parsedBody,
1310
+ errorCode,
1311
+ });
1312
+ }
1313
+ };
1314
+ const throwDefaultError = smithyClient.withBaseException(TnbServiceException);
1315
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1316
+ const contents = smithyClient.map({});
1317
+ const data = parsedOutput.body;
1318
+ const doc = smithyClient.take(data, {
1319
+ message: smithyClient.expectString,
1320
+ });
1321
+ Object.assign(contents, doc);
1322
+ const exception = new AccessDeniedException({
1323
+ $metadata: deserializeMetadata(parsedOutput),
1324
+ ...contents,
1325
+ });
1326
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1327
+ };
1328
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1329
+ const contents = smithyClient.map({});
1330
+ const data = parsedOutput.body;
1331
+ const doc = smithyClient.take(data, {
1332
+ message: smithyClient.expectString,
1333
+ });
1334
+ Object.assign(contents, doc);
1335
+ const exception = new InternalServerException({
1336
+ $metadata: deserializeMetadata(parsedOutput),
1337
+ ...contents,
1338
+ });
1339
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1340
+ };
1341
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1342
+ const contents = smithyClient.map({});
1343
+ const data = parsedOutput.body;
1344
+ const doc = smithyClient.take(data, {
1345
+ message: smithyClient.expectString,
1346
+ });
1347
+ Object.assign(contents, doc);
1348
+ const exception = new ResourceNotFoundException({
1349
+ $metadata: deserializeMetadata(parsedOutput),
1350
+ ...contents,
1351
+ });
1352
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1353
+ };
1354
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1355
+ const contents = smithyClient.map({});
1356
+ const data = parsedOutput.body;
1357
+ const doc = smithyClient.take(data, {
1358
+ message: smithyClient.expectString,
1359
+ });
1360
+ Object.assign(contents, doc);
1361
+ const exception = new ServiceQuotaExceededException({
1362
+ $metadata: deserializeMetadata(parsedOutput),
1363
+ ...contents,
1364
+ });
1365
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1366
+ };
1367
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1368
+ const contents = smithyClient.map({});
1369
+ const data = parsedOutput.body;
1370
+ const doc = smithyClient.take(data, {
1371
+ message: smithyClient.expectString,
1372
+ });
1373
+ Object.assign(contents, doc);
1374
+ const exception = new ThrottlingException({
1375
+ $metadata: deserializeMetadata(parsedOutput),
1376
+ ...contents,
1377
+ });
1378
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1379
+ };
1380
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1381
+ const contents = smithyClient.map({});
1382
+ const data = parsedOutput.body;
1383
+ const doc = smithyClient.take(data, {
1384
+ message: smithyClient.expectString,
1385
+ });
1386
+ Object.assign(contents, doc);
1387
+ const exception = new ValidationException({
1388
+ $metadata: deserializeMetadata(parsedOutput),
1389
+ ...contents,
1390
+ });
1391
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1392
+ };
1393
+ const se_UpdateSolNetworkModify = (input, context) => {
1394
+ return smithyClient.take(input, {
1395
+ vnfConfigurableProperties: (_) => se_Document(_),
1396
+ vnfInstanceId: [],
1397
+ });
1398
+ };
1399
+ const se_UpdateSolNetworkServiceData = (input, context) => {
1400
+ return smithyClient.take(input, {
1401
+ additionalParamsForNs: (_) => se_Document(_),
1402
+ nsdInfoId: [],
1403
+ });
1404
+ };
1405
+ const se_Document = (input, context) => {
1406
+ return input;
1407
+ };
1408
+ const de_GetSolFunctionInstanceMetadata = (output, context) => {
1409
+ return smithyClient.take(output, {
1410
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1411
+ lastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1412
+ });
1413
+ };
1414
+ const de_GetSolFunctionPackageMetadata = (output, context) => {
1415
+ return smithyClient.take(output, {
1416
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1417
+ lastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1418
+ vnfd: smithyClient._json,
1419
+ });
1420
+ };
1421
+ const de_GetSolNetworkInstanceMetadata = (output, context) => {
1422
+ return smithyClient.take(output, {
1423
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1424
+ lastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1425
+ });
1426
+ };
1427
+ const de_GetSolNetworkOperationMetadata = (output, context) => {
1428
+ return smithyClient.take(output, {
1429
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1430
+ instantiateMetadata: (_) => de_InstantiateMetadata(_),
1431
+ lastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1432
+ modifyVnfInfoMetadata: (_) => de_ModifyVnfInfoMetadata(_),
1433
+ updateNsMetadata: (_) => de_UpdateNsMetadata(_),
1434
+ });
1435
+ };
1436
+ const de_GetSolNetworkOperationTaskDetails = (output, context) => {
1437
+ return smithyClient.take(output, {
1438
+ taskContext: smithyClient._json,
1439
+ taskEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1440
+ taskErrorDetails: smithyClient._json,
1441
+ taskName: smithyClient.expectString,
1442
+ taskStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1443
+ taskStatus: smithyClient.expectString,
1444
+ });
1445
+ };
1446
+ const de_GetSolNetworkOperationTasksList = (output, context) => {
1447
+ const retVal = (output || [])
1448
+ .filter((e) => e != null)
1449
+ .map((entry) => {
1450
+ return de_GetSolNetworkOperationTaskDetails(entry);
1451
+ });
1452
+ return retVal;
1453
+ };
1454
+ const de_GetSolNetworkPackageMetadata = (output, context) => {
1455
+ return smithyClient.take(output, {
1456
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1457
+ lastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1458
+ nsd: smithyClient._json,
1459
+ });
1460
+ };
1461
+ const de_InstantiateMetadata = (output, context) => {
1462
+ return smithyClient.take(output, {
1463
+ additionalParamsForNs: (_) => de_Document(_),
1464
+ nsdInfoId: smithyClient.expectString,
1465
+ });
1466
+ };
1467
+ const de_ListSolFunctionInstanceInfo = (output, context) => {
1468
+ return smithyClient.take(output, {
1469
+ arn: smithyClient.expectString,
1470
+ id: smithyClient.expectString,
1471
+ instantiatedVnfInfo: smithyClient._json,
1472
+ instantiationState: smithyClient.expectString,
1473
+ metadata: (_) => de_ListSolFunctionInstanceMetadata(_),
1474
+ nsInstanceId: smithyClient.expectString,
1475
+ vnfPkgId: smithyClient.expectString,
1476
+ vnfPkgName: smithyClient.expectString,
1477
+ });
1478
+ };
1479
+ const de_ListSolFunctionInstanceMetadata = (output, context) => {
1480
+ return smithyClient.take(output, {
1481
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1482
+ lastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1483
+ });
1484
+ };
1485
+ const de_ListSolFunctionInstanceResources = (output, context) => {
1486
+ const retVal = (output || [])
1487
+ .filter((e) => e != null)
1488
+ .map((entry) => {
1489
+ return de_ListSolFunctionInstanceInfo(entry);
1490
+ });
1491
+ return retVal;
1492
+ };
1493
+ const de_ListSolFunctionPackageInfo = (output, context) => {
1494
+ return smithyClient.take(output, {
1495
+ arn: smithyClient.expectString,
1496
+ id: smithyClient.expectString,
1497
+ metadata: (_) => de_ListSolFunctionPackageMetadata(_),
1498
+ onboardingState: smithyClient.expectString,
1499
+ operationalState: smithyClient.expectString,
1500
+ usageState: smithyClient.expectString,
1501
+ vnfProductName: smithyClient.expectString,
1502
+ vnfProvider: smithyClient.expectString,
1503
+ vnfdId: smithyClient.expectString,
1504
+ vnfdVersion: smithyClient.expectString,
1505
+ });
1506
+ };
1507
+ const de_ListSolFunctionPackageMetadata = (output, context) => {
1508
+ return smithyClient.take(output, {
1509
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1510
+ lastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1511
+ });
1512
+ };
1513
+ const de_ListSolFunctionPackageResources = (output, context) => {
1514
+ const retVal = (output || [])
1515
+ .filter((e) => e != null)
1516
+ .map((entry) => {
1517
+ return de_ListSolFunctionPackageInfo(entry);
1518
+ });
1519
+ return retVal;
1520
+ };
1521
+ const de_ListSolNetworkInstanceInfo = (output, context) => {
1522
+ return smithyClient.take(output, {
1523
+ arn: smithyClient.expectString,
1524
+ id: smithyClient.expectString,
1525
+ metadata: (_) => de_ListSolNetworkInstanceMetadata(_),
1526
+ nsInstanceDescription: smithyClient.expectString,
1527
+ nsInstanceName: smithyClient.expectString,
1528
+ nsState: smithyClient.expectString,
1529
+ nsdId: smithyClient.expectString,
1530
+ nsdInfoId: smithyClient.expectString,
1531
+ });
1532
+ };
1533
+ const de_ListSolNetworkInstanceMetadata = (output, context) => {
1534
+ return smithyClient.take(output, {
1535
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1536
+ lastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1537
+ });
1538
+ };
1539
+ const de_ListSolNetworkInstanceResources = (output, context) => {
1540
+ const retVal = (output || [])
1541
+ .filter((e) => e != null)
1542
+ .map((entry) => {
1543
+ return de_ListSolNetworkInstanceInfo(entry);
1544
+ });
1545
+ return retVal;
1546
+ };
1547
+ const de_ListSolNetworkOperationsInfo = (output, context) => {
1548
+ return smithyClient.take(output, {
1549
+ arn: smithyClient.expectString,
1550
+ error: smithyClient._json,
1551
+ id: smithyClient.expectString,
1552
+ lcmOperationType: smithyClient.expectString,
1553
+ metadata: (_) => de_ListSolNetworkOperationsMetadata(_),
1554
+ nsInstanceId: smithyClient.expectString,
1555
+ operationState: smithyClient.expectString,
1556
+ updateType: smithyClient.expectString,
1557
+ });
1558
+ };
1559
+ const de_ListSolNetworkOperationsMetadata = (output, context) => {
1560
+ return smithyClient.take(output, {
1561
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1562
+ lastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1563
+ nsdInfoId: smithyClient.expectString,
1564
+ vnfInstanceId: smithyClient.expectString,
1565
+ });
1566
+ };
1567
+ const de_ListSolNetworkOperationsResources = (output, context) => {
1568
+ const retVal = (output || [])
1569
+ .filter((e) => e != null)
1570
+ .map((entry) => {
1571
+ return de_ListSolNetworkOperationsInfo(entry);
1572
+ });
1573
+ return retVal;
1574
+ };
1575
+ const de_ListSolNetworkPackageInfo = (output, context) => {
1576
+ return smithyClient.take(output, {
1577
+ arn: smithyClient.expectString,
1578
+ id: smithyClient.expectString,
1579
+ metadata: (_) => de_ListSolNetworkPackageMetadata(_),
1580
+ nsdDesigner: smithyClient.expectString,
1581
+ nsdId: smithyClient.expectString,
1582
+ nsdInvariantId: smithyClient.expectString,
1583
+ nsdName: smithyClient.expectString,
1584
+ nsdOnboardingState: smithyClient.expectString,
1585
+ nsdOperationalState: smithyClient.expectString,
1586
+ nsdUsageState: smithyClient.expectString,
1587
+ nsdVersion: smithyClient.expectString,
1588
+ vnfPkgIds: smithyClient._json,
1589
+ });
1590
+ };
1591
+ const de_ListSolNetworkPackageMetadata = (output, context) => {
1592
+ return smithyClient.take(output, {
1593
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1594
+ lastModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1595
+ });
1596
+ };
1597
+ const de_ListSolNetworkPackageResources = (output, context) => {
1598
+ const retVal = (output || [])
1599
+ .filter((e) => e != null)
1600
+ .map((entry) => {
1601
+ return de_ListSolNetworkPackageInfo(entry);
1602
+ });
1603
+ return retVal;
1604
+ };
1605
+ const de_ModifyVnfInfoMetadata = (output, context) => {
1606
+ return smithyClient.take(output, {
1607
+ vnfConfigurableProperties: (_) => de_Document(_),
1608
+ vnfInstanceId: smithyClient.expectString,
1609
+ });
1610
+ };
1611
+ const de_UpdateNsMetadata = (output, context) => {
1612
+ return smithyClient.take(output, {
1613
+ additionalParamsForNs: (_) => de_Document(_),
1614
+ nsdInfoId: smithyClient.expectString,
1615
+ });
1616
+ };
1617
+ const de_Document = (output, context) => {
1618
+ return output;
1619
+ };
1620
+ const deserializeMetadata = (output) => ({
1621
+ httpStatusCode: output.statusCode,
1622
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1623
+ extendedRequestId: output.headers["x-amz-id-2"],
1624
+ cfId: output.headers["x-amz-cf-id"],
1625
+ });
1626
+ const _a = "accept";
1627
+ const _cT = "contentType";
1628
+ const _ct = "content-type";
1629
+ const _dR = "dryRun";
1630
+ const _dr = "dry_run";
1631
+ const _mR = "maxResults";
1632
+ const _mr = "max_results";
1633
+ const _nII = "nsInstanceId";
1634
+ const _nT = "nextToken";
1635
+ const _nom = "nextpage_opaque_marker";
1636
+ const _tK = "tagKeys";
1637
+
1638
+ class CancelSolNetworkOperationCommand extends smithyClient.Command
1639
+ .classBuilder()
1640
+ .ep(commonParams)
1641
+ .m(function (Command, cs, config, o) {
1642
+ return [
1643
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1644
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1645
+ ];
1646
+ })
1647
+ .s("TNB", "CancelSolNetworkOperation", {})
1648
+ .n("TnbClient", "CancelSolNetworkOperationCommand")
1649
+ .f(void 0, void 0)
1650
+ .ser(se_CancelSolNetworkOperationCommand)
1651
+ .de(de_CancelSolNetworkOperationCommand)
1652
+ .build() {
1653
+ }
1654
+
1655
+ class CreateSolFunctionPackageCommand extends smithyClient.Command
1656
+ .classBuilder()
1657
+ .ep(commonParams)
1658
+ .m(function (Command, cs, config, o) {
1659
+ return [
1660
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1661
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1662
+ ];
1663
+ })
1664
+ .s("TNB", "CreateSolFunctionPackage", {})
1665
+ .n("TnbClient", "CreateSolFunctionPackageCommand")
1666
+ .f(CreateSolFunctionPackageInputFilterSensitiveLog, CreateSolFunctionPackageOutputFilterSensitiveLog)
1667
+ .ser(se_CreateSolFunctionPackageCommand)
1668
+ .de(de_CreateSolFunctionPackageCommand)
1669
+ .build() {
1670
+ }
1671
+
1672
+ class CreateSolNetworkInstanceCommand extends smithyClient.Command
1673
+ .classBuilder()
1674
+ .ep(commonParams)
1675
+ .m(function (Command, cs, config, o) {
1676
+ return [
1677
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1678
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1679
+ ];
1680
+ })
1681
+ .s("TNB", "CreateSolNetworkInstance", {})
1682
+ .n("TnbClient", "CreateSolNetworkInstanceCommand")
1683
+ .f(CreateSolNetworkInstanceInputFilterSensitiveLog, CreateSolNetworkInstanceOutputFilterSensitiveLog)
1684
+ .ser(se_CreateSolNetworkInstanceCommand)
1685
+ .de(de_CreateSolNetworkInstanceCommand)
1686
+ .build() {
1687
+ }
1688
+
1689
+ class CreateSolNetworkPackageCommand extends smithyClient.Command
1690
+ .classBuilder()
1691
+ .ep(commonParams)
1692
+ .m(function (Command, cs, config, o) {
1693
+ return [
1694
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1695
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1696
+ ];
1697
+ })
1698
+ .s("TNB", "CreateSolNetworkPackage", {})
1699
+ .n("TnbClient", "CreateSolNetworkPackageCommand")
1700
+ .f(CreateSolNetworkPackageInputFilterSensitiveLog, CreateSolNetworkPackageOutputFilterSensitiveLog)
1701
+ .ser(se_CreateSolNetworkPackageCommand)
1702
+ .de(de_CreateSolNetworkPackageCommand)
1703
+ .build() {
1704
+ }
1705
+
1706
+ class DeleteSolFunctionPackageCommand extends smithyClient.Command
1707
+ .classBuilder()
1708
+ .ep(commonParams)
1709
+ .m(function (Command, cs, config, o) {
1710
+ return [
1711
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1712
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1713
+ ];
1714
+ })
1715
+ .s("TNB", "DeleteSolFunctionPackage", {})
1716
+ .n("TnbClient", "DeleteSolFunctionPackageCommand")
1717
+ .f(void 0, void 0)
1718
+ .ser(se_DeleteSolFunctionPackageCommand)
1719
+ .de(de_DeleteSolFunctionPackageCommand)
1720
+ .build() {
1721
+ }
1722
+
1723
+ class DeleteSolNetworkInstanceCommand extends smithyClient.Command
1724
+ .classBuilder()
1725
+ .ep(commonParams)
1726
+ .m(function (Command, cs, config, o) {
1727
+ return [
1728
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1729
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1730
+ ];
1731
+ })
1732
+ .s("TNB", "DeleteSolNetworkInstance", {})
1733
+ .n("TnbClient", "DeleteSolNetworkInstanceCommand")
1734
+ .f(void 0, void 0)
1735
+ .ser(se_DeleteSolNetworkInstanceCommand)
1736
+ .de(de_DeleteSolNetworkInstanceCommand)
1737
+ .build() {
1738
+ }
1739
+
1740
+ class DeleteSolNetworkPackageCommand extends smithyClient.Command
1741
+ .classBuilder()
1742
+ .ep(commonParams)
1743
+ .m(function (Command, cs, config, o) {
1744
+ return [
1745
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1746
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1747
+ ];
1748
+ })
1749
+ .s("TNB", "DeleteSolNetworkPackage", {})
1750
+ .n("TnbClient", "DeleteSolNetworkPackageCommand")
1751
+ .f(void 0, void 0)
1752
+ .ser(se_DeleteSolNetworkPackageCommand)
1753
+ .de(de_DeleteSolNetworkPackageCommand)
1754
+ .build() {
1755
+ }
1756
+
1757
+ class GetSolFunctionInstanceCommand extends smithyClient.Command
1758
+ .classBuilder()
1759
+ .ep(commonParams)
1760
+ .m(function (Command, cs, config, o) {
1761
+ return [
1762
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1763
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1764
+ ];
1765
+ })
1766
+ .s("TNB", "GetSolFunctionInstance", {})
1767
+ .n("TnbClient", "GetSolFunctionInstanceCommand")
1768
+ .f(void 0, GetSolFunctionInstanceOutputFilterSensitiveLog)
1769
+ .ser(se_GetSolFunctionInstanceCommand)
1770
+ .de(de_GetSolFunctionInstanceCommand)
1771
+ .build() {
1772
+ }
1773
+
1774
+ class GetSolFunctionPackageCommand extends smithyClient.Command
1775
+ .classBuilder()
1776
+ .ep(commonParams)
1777
+ .m(function (Command, cs, config, o) {
1778
+ return [
1779
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1780
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1781
+ ];
1782
+ })
1783
+ .s("TNB", "GetSolFunctionPackage", {})
1784
+ .n("TnbClient", "GetSolFunctionPackageCommand")
1785
+ .f(void 0, GetSolFunctionPackageOutputFilterSensitiveLog)
1786
+ .ser(se_GetSolFunctionPackageCommand)
1787
+ .de(de_GetSolFunctionPackageCommand)
1788
+ .build() {
1789
+ }
1790
+
1791
+ class GetSolFunctionPackageContentCommand extends smithyClient.Command
1792
+ .classBuilder()
1793
+ .ep(commonParams)
1794
+ .m(function (Command, cs, config, o) {
1795
+ return [
1796
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1797
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1798
+ ];
1799
+ })
1800
+ .s("TNB", "GetSolFunctionPackageContent", {})
1801
+ .n("TnbClient", "GetSolFunctionPackageContentCommand")
1802
+ .f(void 0, void 0)
1803
+ .ser(se_GetSolFunctionPackageContentCommand)
1804
+ .de(de_GetSolFunctionPackageContentCommand)
1805
+ .build() {
1806
+ }
1807
+
1808
+ class GetSolFunctionPackageDescriptorCommand extends smithyClient.Command
1809
+ .classBuilder()
1810
+ .ep(commonParams)
1811
+ .m(function (Command, cs, config, o) {
1812
+ return [
1813
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1814
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1815
+ ];
1816
+ })
1817
+ .s("TNB", "GetSolFunctionPackageDescriptor", {})
1818
+ .n("TnbClient", "GetSolFunctionPackageDescriptorCommand")
1819
+ .f(void 0, void 0)
1820
+ .ser(se_GetSolFunctionPackageDescriptorCommand)
1821
+ .de(de_GetSolFunctionPackageDescriptorCommand)
1822
+ .build() {
1823
+ }
1824
+
1825
+ class GetSolNetworkInstanceCommand extends smithyClient.Command
1826
+ .classBuilder()
1827
+ .ep(commonParams)
1828
+ .m(function (Command, cs, config, o) {
1829
+ return [
1830
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1831
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1832
+ ];
1833
+ })
1834
+ .s("TNB", "GetSolNetworkInstance", {})
1835
+ .n("TnbClient", "GetSolNetworkInstanceCommand")
1836
+ .f(void 0, GetSolNetworkInstanceOutputFilterSensitiveLog)
1837
+ .ser(se_GetSolNetworkInstanceCommand)
1838
+ .de(de_GetSolNetworkInstanceCommand)
1839
+ .build() {
1840
+ }
1841
+
1842
+ class GetSolNetworkOperationCommand extends smithyClient.Command
1843
+ .classBuilder()
1844
+ .ep(commonParams)
1845
+ .m(function (Command, cs, config, o) {
1846
+ return [
1847
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1848
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1849
+ ];
1850
+ })
1851
+ .s("TNB", "GetSolNetworkOperation", {})
1852
+ .n("TnbClient", "GetSolNetworkOperationCommand")
1853
+ .f(void 0, GetSolNetworkOperationOutputFilterSensitiveLog)
1854
+ .ser(se_GetSolNetworkOperationCommand)
1855
+ .de(de_GetSolNetworkOperationCommand)
1856
+ .build() {
1857
+ }
1858
+
1859
+ class GetSolNetworkPackageCommand extends smithyClient.Command
1860
+ .classBuilder()
1861
+ .ep(commonParams)
1862
+ .m(function (Command, cs, config, o) {
1863
+ return [
1864
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1865
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1866
+ ];
1867
+ })
1868
+ .s("TNB", "GetSolNetworkPackage", {})
1869
+ .n("TnbClient", "GetSolNetworkPackageCommand")
1870
+ .f(void 0, GetSolNetworkPackageOutputFilterSensitiveLog)
1871
+ .ser(se_GetSolNetworkPackageCommand)
1872
+ .de(de_GetSolNetworkPackageCommand)
1873
+ .build() {
1874
+ }
1875
+
1876
+ class GetSolNetworkPackageContentCommand extends smithyClient.Command
1877
+ .classBuilder()
1878
+ .ep(commonParams)
1879
+ .m(function (Command, cs, config, o) {
1880
+ return [
1881
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1882
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1883
+ ];
1884
+ })
1885
+ .s("TNB", "GetSolNetworkPackageContent", {})
1886
+ .n("TnbClient", "GetSolNetworkPackageContentCommand")
1887
+ .f(void 0, void 0)
1888
+ .ser(se_GetSolNetworkPackageContentCommand)
1889
+ .de(de_GetSolNetworkPackageContentCommand)
1890
+ .build() {
1891
+ }
1892
+
1893
+ class GetSolNetworkPackageDescriptorCommand extends smithyClient.Command
1894
+ .classBuilder()
1895
+ .ep(commonParams)
1896
+ .m(function (Command, cs, config, o) {
1897
+ return [
1898
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1899
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1900
+ ];
1901
+ })
1902
+ .s("TNB", "GetSolNetworkPackageDescriptor", {})
1903
+ .n("TnbClient", "GetSolNetworkPackageDescriptorCommand")
1904
+ .f(void 0, void 0)
1905
+ .ser(se_GetSolNetworkPackageDescriptorCommand)
1906
+ .de(de_GetSolNetworkPackageDescriptorCommand)
1907
+ .build() {
1908
+ }
1909
+
1910
+ class InstantiateSolNetworkInstanceCommand extends smithyClient.Command
1911
+ .classBuilder()
1912
+ .ep(commonParams)
1913
+ .m(function (Command, cs, config, o) {
1914
+ return [
1915
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1916
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1917
+ ];
1918
+ })
1919
+ .s("TNB", "InstantiateSolNetworkInstance", {})
1920
+ .n("TnbClient", "InstantiateSolNetworkInstanceCommand")
1921
+ .f(InstantiateSolNetworkInstanceInputFilterSensitiveLog, InstantiateSolNetworkInstanceOutputFilterSensitiveLog)
1922
+ .ser(se_InstantiateSolNetworkInstanceCommand)
1923
+ .de(de_InstantiateSolNetworkInstanceCommand)
1924
+ .build() {
1925
+ }
1926
+
1927
+ class ListSolFunctionInstancesCommand extends smithyClient.Command
1928
+ .classBuilder()
1929
+ .ep(commonParams)
1930
+ .m(function (Command, cs, config, o) {
1931
+ return [
1932
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1933
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1934
+ ];
1935
+ })
1936
+ .s("TNB", "ListSolFunctionInstances", {})
1937
+ .n("TnbClient", "ListSolFunctionInstancesCommand")
1938
+ .f(void 0, void 0)
1939
+ .ser(se_ListSolFunctionInstancesCommand)
1940
+ .de(de_ListSolFunctionInstancesCommand)
1941
+ .build() {
1942
+ }
1943
+
1944
+ class ListSolFunctionPackagesCommand extends smithyClient.Command
1945
+ .classBuilder()
1946
+ .ep(commonParams)
1947
+ .m(function (Command, cs, config, o) {
1948
+ return [
1949
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1950
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1951
+ ];
1952
+ })
1953
+ .s("TNB", "ListSolFunctionPackages", {})
1954
+ .n("TnbClient", "ListSolFunctionPackagesCommand")
1955
+ .f(void 0, void 0)
1956
+ .ser(se_ListSolFunctionPackagesCommand)
1957
+ .de(de_ListSolFunctionPackagesCommand)
1958
+ .build() {
1959
+ }
1960
+
1961
+ class ListSolNetworkInstancesCommand extends smithyClient.Command
1962
+ .classBuilder()
1963
+ .ep(commonParams)
1964
+ .m(function (Command, cs, config, o) {
1965
+ return [
1966
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1967
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1968
+ ];
1969
+ })
1970
+ .s("TNB", "ListSolNetworkInstances", {})
1971
+ .n("TnbClient", "ListSolNetworkInstancesCommand")
1972
+ .f(void 0, void 0)
1973
+ .ser(se_ListSolNetworkInstancesCommand)
1974
+ .de(de_ListSolNetworkInstancesCommand)
1975
+ .build() {
1976
+ }
1977
+
1978
+ class ListSolNetworkOperationsCommand extends smithyClient.Command
1979
+ .classBuilder()
1980
+ .ep(commonParams)
1981
+ .m(function (Command, cs, config, o) {
1982
+ return [
1983
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1984
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1985
+ ];
1986
+ })
1987
+ .s("TNB", "ListSolNetworkOperations", {})
1988
+ .n("TnbClient", "ListSolNetworkOperationsCommand")
1989
+ .f(void 0, void 0)
1990
+ .ser(se_ListSolNetworkOperationsCommand)
1991
+ .de(de_ListSolNetworkOperationsCommand)
1992
+ .build() {
1993
+ }
1994
+
1995
+ class ListSolNetworkPackagesCommand extends smithyClient.Command
1996
+ .classBuilder()
1997
+ .ep(commonParams)
1998
+ .m(function (Command, cs, config, o) {
1999
+ return [
2000
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2001
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2002
+ ];
2003
+ })
2004
+ .s("TNB", "ListSolNetworkPackages", {})
2005
+ .n("TnbClient", "ListSolNetworkPackagesCommand")
2006
+ .f(void 0, void 0)
2007
+ .ser(se_ListSolNetworkPackagesCommand)
2008
+ .de(de_ListSolNetworkPackagesCommand)
2009
+ .build() {
2010
+ }
2011
+
2012
+ class ListTagsForResourceCommand extends smithyClient.Command
2013
+ .classBuilder()
2014
+ .ep(commonParams)
2015
+ .m(function (Command, cs, config, o) {
2016
+ return [
2017
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2018
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2019
+ ];
2020
+ })
2021
+ .s("TNB", "ListTagsForResource", {})
2022
+ .n("TnbClient", "ListTagsForResourceCommand")
2023
+ .f(void 0, ListTagsForResourceOutputFilterSensitiveLog)
2024
+ .ser(se_ListTagsForResourceCommand)
2025
+ .de(de_ListTagsForResourceCommand)
2026
+ .build() {
2027
+ }
2028
+
2029
+ class PutSolFunctionPackageContentCommand extends smithyClient.Command
2030
+ .classBuilder()
2031
+ .ep(commonParams)
2032
+ .m(function (Command, cs, config, o) {
2033
+ return [
2034
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2035
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2036
+ ];
2037
+ })
2038
+ .s("TNB", "PutSolFunctionPackageContent", {})
2039
+ .n("TnbClient", "PutSolFunctionPackageContentCommand")
2040
+ .f(PutSolFunctionPackageContentInputFilterSensitiveLog, void 0)
2041
+ .ser(se_PutSolFunctionPackageContentCommand)
2042
+ .de(de_PutSolFunctionPackageContentCommand)
2043
+ .build() {
2044
+ }
2045
+
2046
+ class PutSolNetworkPackageContentCommand extends smithyClient.Command
2047
+ .classBuilder()
2048
+ .ep(commonParams)
2049
+ .m(function (Command, cs, config, o) {
2050
+ return [
2051
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2052
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2053
+ ];
2054
+ })
2055
+ .s("TNB", "PutSolNetworkPackageContent", {})
2056
+ .n("TnbClient", "PutSolNetworkPackageContentCommand")
2057
+ .f(PutSolNetworkPackageContentInputFilterSensitiveLog, void 0)
2058
+ .ser(se_PutSolNetworkPackageContentCommand)
2059
+ .de(de_PutSolNetworkPackageContentCommand)
2060
+ .build() {
2061
+ }
2062
+
2063
+ class TagResourceCommand extends smithyClient.Command
2064
+ .classBuilder()
2065
+ .ep(commonParams)
2066
+ .m(function (Command, cs, config, o) {
2067
+ return [
2068
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2069
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2070
+ ];
2071
+ })
2072
+ .s("TNB", "TagResource", {})
2073
+ .n("TnbClient", "TagResourceCommand")
2074
+ .f(TagResourceInputFilterSensitiveLog, void 0)
2075
+ .ser(se_TagResourceCommand)
2076
+ .de(de_TagResourceCommand)
2077
+ .build() {
2078
+ }
2079
+
2080
+ class TerminateSolNetworkInstanceCommand extends smithyClient.Command
2081
+ .classBuilder()
2082
+ .ep(commonParams)
2083
+ .m(function (Command, cs, config, o) {
2084
+ return [
2085
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2086
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2087
+ ];
2088
+ })
2089
+ .s("TNB", "TerminateSolNetworkInstance", {})
2090
+ .n("TnbClient", "TerminateSolNetworkInstanceCommand")
2091
+ .f(TerminateSolNetworkInstanceInputFilterSensitiveLog, TerminateSolNetworkInstanceOutputFilterSensitiveLog)
2092
+ .ser(se_TerminateSolNetworkInstanceCommand)
2093
+ .de(de_TerminateSolNetworkInstanceCommand)
2094
+ .build() {
2095
+ }
2096
+
2097
+ class UntagResourceCommand extends smithyClient.Command
2098
+ .classBuilder()
2099
+ .ep(commonParams)
2100
+ .m(function (Command, cs, config, o) {
2101
+ return [
2102
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2103
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2104
+ ];
2105
+ })
2106
+ .s("TNB", "UntagResource", {})
2107
+ .n("TnbClient", "UntagResourceCommand")
2108
+ .f(void 0, void 0)
2109
+ .ser(se_UntagResourceCommand)
2110
+ .de(de_UntagResourceCommand)
2111
+ .build() {
2112
+ }
2113
+
2114
+ class UpdateSolFunctionPackageCommand extends smithyClient.Command
2115
+ .classBuilder()
2116
+ .ep(commonParams)
2117
+ .m(function (Command, cs, config, o) {
2118
+ return [
2119
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2120
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2121
+ ];
2122
+ })
2123
+ .s("TNB", "UpdateSolFunctionPackage", {})
2124
+ .n("TnbClient", "UpdateSolFunctionPackageCommand")
2125
+ .f(void 0, void 0)
2126
+ .ser(se_UpdateSolFunctionPackageCommand)
2127
+ .de(de_UpdateSolFunctionPackageCommand)
2128
+ .build() {
2129
+ }
2130
+
2131
+ class UpdateSolNetworkInstanceCommand extends smithyClient.Command
2132
+ .classBuilder()
2133
+ .ep(commonParams)
2134
+ .m(function (Command, cs, config, o) {
2135
+ return [
2136
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2137
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2138
+ ];
2139
+ })
2140
+ .s("TNB", "UpdateSolNetworkInstance", {})
2141
+ .n("TnbClient", "UpdateSolNetworkInstanceCommand")
2142
+ .f(UpdateSolNetworkInstanceInputFilterSensitiveLog, UpdateSolNetworkInstanceOutputFilterSensitiveLog)
2143
+ .ser(se_UpdateSolNetworkInstanceCommand)
2144
+ .de(de_UpdateSolNetworkInstanceCommand)
2145
+ .build() {
2146
+ }
2147
+
2148
+ class UpdateSolNetworkPackageCommand extends smithyClient.Command
2149
+ .classBuilder()
2150
+ .ep(commonParams)
2151
+ .m(function (Command, cs, config, o) {
2152
+ return [
2153
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2154
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2155
+ ];
2156
+ })
2157
+ .s("TNB", "UpdateSolNetworkPackage", {})
2158
+ .n("TnbClient", "UpdateSolNetworkPackageCommand")
2159
+ .f(void 0, void 0)
2160
+ .ser(se_UpdateSolNetworkPackageCommand)
2161
+ .de(de_UpdateSolNetworkPackageCommand)
2162
+ .build() {
2163
+ }
2164
+
2165
+ class ValidateSolFunctionPackageContentCommand extends smithyClient.Command
2166
+ .classBuilder()
2167
+ .ep(commonParams)
2168
+ .m(function (Command, cs, config, o) {
2169
+ return [
2170
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2171
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2172
+ ];
2173
+ })
2174
+ .s("TNB", "ValidateSolFunctionPackageContent", {})
2175
+ .n("TnbClient", "ValidateSolFunctionPackageContentCommand")
2176
+ .f(ValidateSolFunctionPackageContentInputFilterSensitiveLog, void 0)
2177
+ .ser(se_ValidateSolFunctionPackageContentCommand)
2178
+ .de(de_ValidateSolFunctionPackageContentCommand)
2179
+ .build() {
2180
+ }
2181
+
2182
+ class ValidateSolNetworkPackageContentCommand extends smithyClient.Command
2183
+ .classBuilder()
2184
+ .ep(commonParams)
2185
+ .m(function (Command, cs, config, o) {
2186
+ return [
2187
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2188
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2189
+ ];
2190
+ })
2191
+ .s("TNB", "ValidateSolNetworkPackageContent", {})
2192
+ .n("TnbClient", "ValidateSolNetworkPackageContentCommand")
2193
+ .f(ValidateSolNetworkPackageContentInputFilterSensitiveLog, void 0)
2194
+ .ser(se_ValidateSolNetworkPackageContentCommand)
2195
+ .de(de_ValidateSolNetworkPackageContentCommand)
2196
+ .build() {
2197
+ }
2198
+
2199
+ const commands = {
2200
+ CancelSolNetworkOperationCommand,
2201
+ CreateSolFunctionPackageCommand,
2202
+ CreateSolNetworkInstanceCommand,
2203
+ CreateSolNetworkPackageCommand,
2204
+ DeleteSolFunctionPackageCommand,
2205
+ DeleteSolNetworkInstanceCommand,
2206
+ DeleteSolNetworkPackageCommand,
2207
+ GetSolFunctionInstanceCommand,
2208
+ GetSolFunctionPackageCommand,
2209
+ GetSolFunctionPackageContentCommand,
2210
+ GetSolFunctionPackageDescriptorCommand,
2211
+ GetSolNetworkInstanceCommand,
2212
+ GetSolNetworkOperationCommand,
2213
+ GetSolNetworkPackageCommand,
2214
+ GetSolNetworkPackageContentCommand,
2215
+ GetSolNetworkPackageDescriptorCommand,
2216
+ InstantiateSolNetworkInstanceCommand,
2217
+ ListSolFunctionInstancesCommand,
2218
+ ListSolFunctionPackagesCommand,
2219
+ ListSolNetworkInstancesCommand,
2220
+ ListSolNetworkOperationsCommand,
2221
+ ListSolNetworkPackagesCommand,
2222
+ ListTagsForResourceCommand,
2223
+ PutSolFunctionPackageContentCommand,
2224
+ PutSolNetworkPackageContentCommand,
2225
+ TagResourceCommand,
2226
+ TerminateSolNetworkInstanceCommand,
2227
+ UntagResourceCommand,
2228
+ UpdateSolFunctionPackageCommand,
2229
+ UpdateSolNetworkInstanceCommand,
2230
+ UpdateSolNetworkPackageCommand,
2231
+ ValidateSolFunctionPackageContentCommand,
2232
+ ValidateSolNetworkPackageContentCommand,
2233
+ };
2234
+ class Tnb extends TnbClient {
2235
+ }
2236
+ smithyClient.createAggregatedClient(commands, Tnb);
2338
2237
 
2339
- // src/Tnb.ts
2340
- var commands = {
2341
- CancelSolNetworkOperationCommand,
2342
- CreateSolFunctionPackageCommand,
2343
- CreateSolNetworkInstanceCommand,
2344
- CreateSolNetworkPackageCommand,
2345
- DeleteSolFunctionPackageCommand,
2346
- DeleteSolNetworkInstanceCommand,
2347
- DeleteSolNetworkPackageCommand,
2348
- GetSolFunctionInstanceCommand,
2349
- GetSolFunctionPackageCommand,
2350
- GetSolFunctionPackageContentCommand,
2351
- GetSolFunctionPackageDescriptorCommand,
2352
- GetSolNetworkInstanceCommand,
2353
- GetSolNetworkOperationCommand,
2354
- GetSolNetworkPackageCommand,
2355
- GetSolNetworkPackageContentCommand,
2356
- GetSolNetworkPackageDescriptorCommand,
2357
- InstantiateSolNetworkInstanceCommand,
2358
- ListSolFunctionInstancesCommand,
2359
- ListSolFunctionPackagesCommand,
2360
- ListSolNetworkInstancesCommand,
2361
- ListSolNetworkOperationsCommand,
2362
- ListSolNetworkPackagesCommand,
2363
- ListTagsForResourceCommand,
2364
- PutSolFunctionPackageContentCommand,
2365
- PutSolNetworkPackageContentCommand,
2366
- TagResourceCommand,
2367
- TerminateSolNetworkInstanceCommand,
2368
- UntagResourceCommand,
2369
- UpdateSolFunctionPackageCommand,
2370
- UpdateSolNetworkInstanceCommand,
2371
- UpdateSolNetworkPackageCommand,
2372
- ValidateSolFunctionPackageContentCommand,
2373
- ValidateSolNetworkPackageContentCommand
2374
- };
2375
- var Tnb = class extends TnbClient {
2376
- static {
2377
- __name(this, "Tnb");
2378
- }
2379
- };
2380
- (0, import_smithy_client.createAggregatedClient)(commands, Tnb);
2381
-
2382
- // src/pagination/ListSolFunctionInstancesPaginator.ts
2383
-
2384
- var paginateListSolFunctionInstances = (0, import_core.createPaginator)(TnbClient, ListSolFunctionInstancesCommand, "nextToken", "nextToken", "maxResults");
2385
-
2386
- // src/pagination/ListSolFunctionPackagesPaginator.ts
2387
-
2388
- var paginateListSolFunctionPackages = (0, import_core.createPaginator)(TnbClient, ListSolFunctionPackagesCommand, "nextToken", "nextToken", "maxResults");
2389
-
2390
- // src/pagination/ListSolNetworkInstancesPaginator.ts
2391
-
2392
- var paginateListSolNetworkInstances = (0, import_core.createPaginator)(TnbClient, ListSolNetworkInstancesCommand, "nextToken", "nextToken", "maxResults");
2238
+ const paginateListSolFunctionInstances = core.createPaginator(TnbClient, ListSolFunctionInstancesCommand, "nextToken", "nextToken", "maxResults");
2393
2239
 
2394
- // src/pagination/ListSolNetworkOperationsPaginator.ts
2240
+ const paginateListSolFunctionPackages = core.createPaginator(TnbClient, ListSolFunctionPackagesCommand, "nextToken", "nextToken", "maxResults");
2395
2241
 
2396
- var paginateListSolNetworkOperations = (0, import_core.createPaginator)(TnbClient, ListSolNetworkOperationsCommand, "nextToken", "nextToken", "maxResults");
2242
+ const paginateListSolNetworkInstances = core.createPaginator(TnbClient, ListSolNetworkInstancesCommand, "nextToken", "nextToken", "maxResults");
2397
2243
 
2398
- // src/pagination/ListSolNetworkPackagesPaginator.ts
2244
+ const paginateListSolNetworkOperations = core.createPaginator(TnbClient, ListSolNetworkOperationsCommand, "nextToken", "nextToken", "maxResults");
2399
2245
 
2400
- var paginateListSolNetworkPackages = (0, import_core.createPaginator)(TnbClient, ListSolNetworkPackagesCommand, "nextToken", "nextToken", "maxResults");
2401
- // Annotate the CommonJS export names for ESM import in node:
2246
+ const paginateListSolNetworkPackages = core.createPaginator(TnbClient, ListSolNetworkPackagesCommand, "nextToken", "nextToken", "maxResults");
2402
2247
 
2403
- 0 && (module.exports = {
2404
- TnbServiceException,
2405
- __Client,
2406
- TnbClient,
2407
- Tnb,
2408
- $Command,
2409
- CancelSolNetworkOperationCommand,
2410
- CreateSolFunctionPackageCommand,
2411
- CreateSolNetworkInstanceCommand,
2412
- CreateSolNetworkPackageCommand,
2413
- DeleteSolFunctionPackageCommand,
2414
- DeleteSolNetworkInstanceCommand,
2415
- DeleteSolNetworkPackageCommand,
2416
- GetSolFunctionInstanceCommand,
2417
- GetSolFunctionPackageCommand,
2418
- GetSolFunctionPackageContentCommand,
2419
- GetSolFunctionPackageDescriptorCommand,
2420
- GetSolNetworkInstanceCommand,
2421
- GetSolNetworkOperationCommand,
2422
- GetSolNetworkPackageCommand,
2423
- GetSolNetworkPackageContentCommand,
2424
- GetSolNetworkPackageDescriptorCommand,
2425
- InstantiateSolNetworkInstanceCommand,
2426
- ListSolFunctionInstancesCommand,
2427
- ListSolFunctionPackagesCommand,
2428
- ListSolNetworkInstancesCommand,
2429
- ListSolNetworkOperationsCommand,
2430
- ListSolNetworkPackagesCommand,
2431
- ListTagsForResourceCommand,
2432
- PutSolFunctionPackageContentCommand,
2433
- PutSolNetworkPackageContentCommand,
2434
- TagResourceCommand,
2435
- TerminateSolNetworkInstanceCommand,
2436
- UntagResourceCommand,
2437
- UpdateSolFunctionPackageCommand,
2438
- UpdateSolNetworkInstanceCommand,
2439
- UpdateSolNetworkPackageCommand,
2440
- ValidateSolFunctionPackageContentCommand,
2441
- ValidateSolNetworkPackageContentCommand,
2442
- paginateListSolFunctionInstances,
2443
- paginateListSolFunctionPackages,
2444
- paginateListSolNetworkInstances,
2445
- paginateListSolNetworkOperations,
2446
- paginateListSolNetworkPackages,
2447
- AccessDeniedException,
2448
- InternalServerException,
2449
- ResourceNotFoundException,
2450
- ThrottlingException,
2451
- ValidationException,
2452
- OnboardingState,
2453
- OperationalState,
2454
- UsageState,
2455
- ServiceQuotaExceededException,
2456
- NsdOnboardingState,
2457
- NsdOperationalState,
2458
- NsdUsageState,
2459
- DescriptorContentType,
2460
- VnfOperationalState,
2461
- VnfInstantiationState,
2462
- PackageContentType,
2463
- NsState,
2464
- LcmOperationType,
2465
- NsLcmOperationState,
2466
- TaskStatus,
2467
- UpdateSolNetworkType,
2468
- CreateSolFunctionPackageInputFilterSensitiveLog,
2469
- CreateSolFunctionPackageOutputFilterSensitiveLog,
2470
- CreateSolNetworkInstanceInputFilterSensitiveLog,
2471
- CreateSolNetworkInstanceOutputFilterSensitiveLog,
2472
- CreateSolNetworkPackageInputFilterSensitiveLog,
2473
- CreateSolNetworkPackageOutputFilterSensitiveLog,
2474
- GetSolFunctionInstanceOutputFilterSensitiveLog,
2475
- GetSolFunctionPackageOutputFilterSensitiveLog,
2476
- GetSolNetworkInstanceOutputFilterSensitiveLog,
2477
- GetSolNetworkOperationOutputFilterSensitiveLog,
2478
- GetSolNetworkPackageOutputFilterSensitiveLog,
2479
- InstantiateSolNetworkInstanceInputFilterSensitiveLog,
2480
- InstantiateSolNetworkInstanceOutputFilterSensitiveLog,
2481
- ListTagsForResourceOutputFilterSensitiveLog,
2482
- PutSolFunctionPackageContentInputFilterSensitiveLog,
2483
- PutSolNetworkPackageContentInputFilterSensitiveLog,
2484
- TagResourceInputFilterSensitiveLog,
2485
- TerminateSolNetworkInstanceInputFilterSensitiveLog,
2486
- TerminateSolNetworkInstanceOutputFilterSensitiveLog,
2487
- UpdateSolNetworkInstanceInputFilterSensitiveLog,
2488
- UpdateSolNetworkInstanceOutputFilterSensitiveLog,
2489
- ValidateSolFunctionPackageContentInputFilterSensitiveLog,
2490
- ValidateSolNetworkPackageContentInputFilterSensitiveLog
2248
+ Object.defineProperty(exports, "$Command", {
2249
+ enumerable: true,
2250
+ get: function () { return smithyClient.Command; }
2491
2251
  });
2492
-
2252
+ Object.defineProperty(exports, "__Client", {
2253
+ enumerable: true,
2254
+ get: function () { return smithyClient.Client; }
2255
+ });
2256
+ exports.AccessDeniedException = AccessDeniedException;
2257
+ exports.CancelSolNetworkOperationCommand = CancelSolNetworkOperationCommand;
2258
+ exports.CreateSolFunctionPackageCommand = CreateSolFunctionPackageCommand;
2259
+ exports.CreateSolFunctionPackageInputFilterSensitiveLog = CreateSolFunctionPackageInputFilterSensitiveLog;
2260
+ exports.CreateSolFunctionPackageOutputFilterSensitiveLog = CreateSolFunctionPackageOutputFilterSensitiveLog;
2261
+ exports.CreateSolNetworkInstanceCommand = CreateSolNetworkInstanceCommand;
2262
+ exports.CreateSolNetworkInstanceInputFilterSensitiveLog = CreateSolNetworkInstanceInputFilterSensitiveLog;
2263
+ exports.CreateSolNetworkInstanceOutputFilterSensitiveLog = CreateSolNetworkInstanceOutputFilterSensitiveLog;
2264
+ exports.CreateSolNetworkPackageCommand = CreateSolNetworkPackageCommand;
2265
+ exports.CreateSolNetworkPackageInputFilterSensitiveLog = CreateSolNetworkPackageInputFilterSensitiveLog;
2266
+ exports.CreateSolNetworkPackageOutputFilterSensitiveLog = CreateSolNetworkPackageOutputFilterSensitiveLog;
2267
+ exports.DeleteSolFunctionPackageCommand = DeleteSolFunctionPackageCommand;
2268
+ exports.DeleteSolNetworkInstanceCommand = DeleteSolNetworkInstanceCommand;
2269
+ exports.DeleteSolNetworkPackageCommand = DeleteSolNetworkPackageCommand;
2270
+ exports.DescriptorContentType = DescriptorContentType;
2271
+ exports.GetSolFunctionInstanceCommand = GetSolFunctionInstanceCommand;
2272
+ exports.GetSolFunctionInstanceOutputFilterSensitiveLog = GetSolFunctionInstanceOutputFilterSensitiveLog;
2273
+ exports.GetSolFunctionPackageCommand = GetSolFunctionPackageCommand;
2274
+ exports.GetSolFunctionPackageContentCommand = GetSolFunctionPackageContentCommand;
2275
+ exports.GetSolFunctionPackageDescriptorCommand = GetSolFunctionPackageDescriptorCommand;
2276
+ exports.GetSolFunctionPackageOutputFilterSensitiveLog = GetSolFunctionPackageOutputFilterSensitiveLog;
2277
+ exports.GetSolNetworkInstanceCommand = GetSolNetworkInstanceCommand;
2278
+ exports.GetSolNetworkInstanceOutputFilterSensitiveLog = GetSolNetworkInstanceOutputFilterSensitiveLog;
2279
+ exports.GetSolNetworkOperationCommand = GetSolNetworkOperationCommand;
2280
+ exports.GetSolNetworkOperationOutputFilterSensitiveLog = GetSolNetworkOperationOutputFilterSensitiveLog;
2281
+ exports.GetSolNetworkPackageCommand = GetSolNetworkPackageCommand;
2282
+ exports.GetSolNetworkPackageContentCommand = GetSolNetworkPackageContentCommand;
2283
+ exports.GetSolNetworkPackageDescriptorCommand = GetSolNetworkPackageDescriptorCommand;
2284
+ exports.GetSolNetworkPackageOutputFilterSensitiveLog = GetSolNetworkPackageOutputFilterSensitiveLog;
2285
+ exports.InstantiateSolNetworkInstanceCommand = InstantiateSolNetworkInstanceCommand;
2286
+ exports.InstantiateSolNetworkInstanceInputFilterSensitiveLog = InstantiateSolNetworkInstanceInputFilterSensitiveLog;
2287
+ exports.InstantiateSolNetworkInstanceOutputFilterSensitiveLog = InstantiateSolNetworkInstanceOutputFilterSensitiveLog;
2288
+ exports.InternalServerException = InternalServerException;
2289
+ exports.LcmOperationType = LcmOperationType;
2290
+ exports.ListSolFunctionInstancesCommand = ListSolFunctionInstancesCommand;
2291
+ exports.ListSolFunctionPackagesCommand = ListSolFunctionPackagesCommand;
2292
+ exports.ListSolNetworkInstancesCommand = ListSolNetworkInstancesCommand;
2293
+ exports.ListSolNetworkOperationsCommand = ListSolNetworkOperationsCommand;
2294
+ exports.ListSolNetworkPackagesCommand = ListSolNetworkPackagesCommand;
2295
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2296
+ exports.ListTagsForResourceOutputFilterSensitiveLog = ListTagsForResourceOutputFilterSensitiveLog;
2297
+ exports.NsLcmOperationState = NsLcmOperationState;
2298
+ exports.NsState = NsState;
2299
+ exports.NsdOnboardingState = NsdOnboardingState;
2300
+ exports.NsdOperationalState = NsdOperationalState;
2301
+ exports.NsdUsageState = NsdUsageState;
2302
+ exports.OnboardingState = OnboardingState;
2303
+ exports.OperationalState = OperationalState;
2304
+ exports.PackageContentType = PackageContentType;
2305
+ exports.PutSolFunctionPackageContentCommand = PutSolFunctionPackageContentCommand;
2306
+ exports.PutSolFunctionPackageContentInputFilterSensitiveLog = PutSolFunctionPackageContentInputFilterSensitiveLog;
2307
+ exports.PutSolNetworkPackageContentCommand = PutSolNetworkPackageContentCommand;
2308
+ exports.PutSolNetworkPackageContentInputFilterSensitiveLog = PutSolNetworkPackageContentInputFilterSensitiveLog;
2309
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2310
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2311
+ exports.TagResourceCommand = TagResourceCommand;
2312
+ exports.TagResourceInputFilterSensitiveLog = TagResourceInputFilterSensitiveLog;
2313
+ exports.TaskStatus = TaskStatus;
2314
+ exports.TerminateSolNetworkInstanceCommand = TerminateSolNetworkInstanceCommand;
2315
+ exports.TerminateSolNetworkInstanceInputFilterSensitiveLog = TerminateSolNetworkInstanceInputFilterSensitiveLog;
2316
+ exports.TerminateSolNetworkInstanceOutputFilterSensitiveLog = TerminateSolNetworkInstanceOutputFilterSensitiveLog;
2317
+ exports.ThrottlingException = ThrottlingException;
2318
+ exports.Tnb = Tnb;
2319
+ exports.TnbClient = TnbClient;
2320
+ exports.TnbServiceException = TnbServiceException;
2321
+ exports.UntagResourceCommand = UntagResourceCommand;
2322
+ exports.UpdateSolFunctionPackageCommand = UpdateSolFunctionPackageCommand;
2323
+ exports.UpdateSolNetworkInstanceCommand = UpdateSolNetworkInstanceCommand;
2324
+ exports.UpdateSolNetworkInstanceInputFilterSensitiveLog = UpdateSolNetworkInstanceInputFilterSensitiveLog;
2325
+ exports.UpdateSolNetworkInstanceOutputFilterSensitiveLog = UpdateSolNetworkInstanceOutputFilterSensitiveLog;
2326
+ exports.UpdateSolNetworkPackageCommand = UpdateSolNetworkPackageCommand;
2327
+ exports.UpdateSolNetworkType = UpdateSolNetworkType;
2328
+ exports.UsageState = UsageState;
2329
+ exports.ValidateSolFunctionPackageContentCommand = ValidateSolFunctionPackageContentCommand;
2330
+ exports.ValidateSolFunctionPackageContentInputFilterSensitiveLog = ValidateSolFunctionPackageContentInputFilterSensitiveLog;
2331
+ exports.ValidateSolNetworkPackageContentCommand = ValidateSolNetworkPackageContentCommand;
2332
+ exports.ValidateSolNetworkPackageContentInputFilterSensitiveLog = ValidateSolNetworkPackageContentInputFilterSensitiveLog;
2333
+ exports.ValidationException = ValidationException;
2334
+ exports.VnfInstantiationState = VnfInstantiationState;
2335
+ exports.VnfOperationalState = VnfOperationalState;
2336
+ exports.paginateListSolFunctionInstances = paginateListSolFunctionInstances;
2337
+ exports.paginateListSolFunctionPackages = paginateListSolFunctionPackages;
2338
+ exports.paginateListSolNetworkInstances = paginateListSolNetworkInstances;
2339
+ exports.paginateListSolNetworkOperations = paginateListSolNetworkOperations;
2340
+ exports.paginateListSolNetworkPackages = paginateListSolNetworkPackages;