@aws-sdk/client-tnb 3.490.0 → 3.496.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Tnb.js +1 -77
- package/dist-cjs/TnbClient.js +1 -43
- package/dist-cjs/commands/CancelSolNetworkOperationCommand.js +1 -28
- package/dist-cjs/commands/CreateSolFunctionPackageCommand.js +1 -29
- package/dist-cjs/commands/CreateSolNetworkInstanceCommand.js +1 -29
- package/dist-cjs/commands/CreateSolNetworkPackageCommand.js +1 -29
- package/dist-cjs/commands/DeleteSolFunctionPackageCommand.js +1 -28
- package/dist-cjs/commands/DeleteSolNetworkInstanceCommand.js +1 -28
- package/dist-cjs/commands/DeleteSolNetworkPackageCommand.js +1 -28
- package/dist-cjs/commands/GetSolFunctionInstanceCommand.js +1 -29
- package/dist-cjs/commands/GetSolFunctionPackageCommand.js +1 -29
- package/dist-cjs/commands/GetSolFunctionPackageContentCommand.js +1 -28
- package/dist-cjs/commands/GetSolFunctionPackageDescriptorCommand.js +1 -28
- package/dist-cjs/commands/GetSolNetworkInstanceCommand.js +1 -29
- package/dist-cjs/commands/GetSolNetworkOperationCommand.js +1 -29
- package/dist-cjs/commands/GetSolNetworkPackageCommand.js +1 -29
- package/dist-cjs/commands/GetSolNetworkPackageContentCommand.js +1 -28
- package/dist-cjs/commands/GetSolNetworkPackageDescriptorCommand.js +1 -28
- package/dist-cjs/commands/InstantiateSolNetworkInstanceCommand.js +1 -29
- package/dist-cjs/commands/ListSolFunctionInstancesCommand.js +1 -28
- package/dist-cjs/commands/ListSolFunctionPackagesCommand.js +1 -28
- package/dist-cjs/commands/ListSolNetworkInstancesCommand.js +1 -28
- package/dist-cjs/commands/ListSolNetworkOperationsCommand.js +1 -28
- package/dist-cjs/commands/ListSolNetworkPackagesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -29
- package/dist-cjs/commands/PutSolFunctionPackageContentCommand.js +1 -28
- package/dist-cjs/commands/PutSolNetworkPackageContentCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -29
- package/dist-cjs/commands/TerminateSolNetworkInstanceCommand.js +1 -29
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateSolFunctionPackageCommand.js +1 -28
- package/dist-cjs/commands/UpdateSolNetworkInstanceCommand.js +1 -29
- package/dist-cjs/commands/UpdateSolNetworkPackageCommand.js +1 -28
- package/dist-cjs/commands/ValidateSolFunctionPackageContentCommand.js +1 -28
- package/dist-cjs/commands/ValidateSolNetworkPackageContentCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -36
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3460 -11
- package/dist-cjs/models/TnbServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -252
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListSolFunctionInstancesPaginator.js +1 -7
- package/dist-cjs/pagination/ListSolFunctionPackagesPaginator.js +1 -7
- package/dist-cjs/pagination/ListSolNetworkInstancesPaginator.js +1 -7
- package/dist-cjs/pagination/ListSolNetworkOperationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListSolNetworkPackagesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -9
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2346
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +41 -41
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3461 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
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 src_exports = {};
|
|
23
|
+
__export(src_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
|
+
PutSolNetworkPackageContentCommand: () => PutSolNetworkPackageContentCommand,
|
|
75
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
76
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
77
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
78
|
+
TagResourceInputFilterSensitiveLog: () => TagResourceInputFilterSensitiveLog,
|
|
79
|
+
TaskStatus: () => TaskStatus,
|
|
80
|
+
TerminateSolNetworkInstanceCommand: () => TerminateSolNetworkInstanceCommand,
|
|
81
|
+
TerminateSolNetworkInstanceInputFilterSensitiveLog: () => TerminateSolNetworkInstanceInputFilterSensitiveLog,
|
|
82
|
+
TerminateSolNetworkInstanceOutputFilterSensitiveLog: () => TerminateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
83
|
+
ThrottlingException: () => ThrottlingException,
|
|
84
|
+
Tnb: () => Tnb,
|
|
85
|
+
TnbClient: () => TnbClient,
|
|
86
|
+
TnbServiceException: () => TnbServiceException,
|
|
87
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
88
|
+
UpdateSolFunctionPackageCommand: () => UpdateSolFunctionPackageCommand,
|
|
89
|
+
UpdateSolNetworkInstanceCommand: () => UpdateSolNetworkInstanceCommand,
|
|
90
|
+
UpdateSolNetworkInstanceInputFilterSensitiveLog: () => UpdateSolNetworkInstanceInputFilterSensitiveLog,
|
|
91
|
+
UpdateSolNetworkInstanceOutputFilterSensitiveLog: () => UpdateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
92
|
+
UpdateSolNetworkPackageCommand: () => UpdateSolNetworkPackageCommand,
|
|
93
|
+
UpdateSolNetworkType: () => UpdateSolNetworkType,
|
|
94
|
+
UsageState: () => UsageState,
|
|
95
|
+
ValidateSolFunctionPackageContentCommand: () => ValidateSolFunctionPackageContentCommand,
|
|
96
|
+
ValidateSolNetworkPackageContentCommand: () => ValidateSolNetworkPackageContentCommand,
|
|
97
|
+
ValidationException: () => ValidationException,
|
|
98
|
+
VnfInstantiationState: () => VnfInstantiationState,
|
|
99
|
+
VnfOperationalState: () => VnfOperationalState,
|
|
100
|
+
__Client: () => import_smithy_client.Client,
|
|
101
|
+
paginateListSolFunctionInstances: () => paginateListSolFunctionInstances,
|
|
102
|
+
paginateListSolFunctionPackages: () => paginateListSolFunctionPackages,
|
|
103
|
+
paginateListSolNetworkInstances: () => paginateListSolNetworkInstances,
|
|
104
|
+
paginateListSolNetworkOperations: () => paginateListSolNetworkOperations,
|
|
105
|
+
paginateListSolNetworkPackages: () => paginateListSolNetworkPackages
|
|
106
|
+
});
|
|
107
|
+
module.exports = __toCommonJS(src_exports);
|
|
108
|
+
|
|
109
|
+
// src/TnbClient.ts
|
|
110
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
111
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
112
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
113
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
114
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
115
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
116
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
117
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
118
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
// src/endpoint/EndpointParameters.ts
|
|
122
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
123
|
+
return {
|
|
124
|
+
...options,
|
|
125
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
126
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
127
|
+
defaultSigningName: "tnb"
|
|
128
|
+
};
|
|
129
|
+
}, "resolveClientEndpointParameters");
|
|
130
|
+
var commonParams = {
|
|
131
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
132
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
133
|
+
Region: { type: "builtInParams", name: "region" },
|
|
134
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
// src/TnbClient.ts
|
|
138
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
139
|
+
|
|
140
|
+
// src/runtimeExtensions.ts
|
|
141
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
142
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
143
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
144
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
145
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
146
|
+
const extensionConfiguration = {
|
|
147
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
148
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
149
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
150
|
+
};
|
|
151
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
152
|
+
return {
|
|
153
|
+
...runtimeConfig,
|
|
154
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
155
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
156
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
157
|
+
};
|
|
158
|
+
}, "resolveRuntimeExtensions");
|
|
159
|
+
|
|
160
|
+
// src/TnbClient.ts
|
|
161
|
+
var _TnbClient = class _TnbClient extends import_smithy_client.Client {
|
|
162
|
+
constructor(...[configuration]) {
|
|
163
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
164
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
165
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
166
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
167
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
168
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
169
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
170
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
171
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
172
|
+
super(_config_8);
|
|
173
|
+
this.config = _config_8;
|
|
174
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
175
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
176
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
177
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
178
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
179
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
180
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
184
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
185
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
186
|
+
*/
|
|
187
|
+
destroy() {
|
|
188
|
+
super.destroy();
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
__name(_TnbClient, "TnbClient");
|
|
192
|
+
var TnbClient = _TnbClient;
|
|
193
|
+
|
|
194
|
+
// src/Tnb.ts
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
// src/commands/CancelSolNetworkOperationCommand.ts
|
|
198
|
+
|
|
199
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
200
|
+
|
|
201
|
+
var import_types = require("@smithy/types");
|
|
202
|
+
|
|
203
|
+
// src/protocols/Aws_restJson1.ts
|
|
204
|
+
var import_core = require("@smithy/core");
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
// src/models/models_0.ts
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
// src/models/TnbServiceException.ts
|
|
211
|
+
|
|
212
|
+
var _TnbServiceException = class _TnbServiceException extends import_smithy_client.ServiceException {
|
|
213
|
+
/**
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
constructor(options) {
|
|
217
|
+
super(options);
|
|
218
|
+
Object.setPrototypeOf(this, _TnbServiceException.prototype);
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
__name(_TnbServiceException, "TnbServiceException");
|
|
222
|
+
var TnbServiceException = _TnbServiceException;
|
|
223
|
+
|
|
224
|
+
// src/models/models_0.ts
|
|
225
|
+
var _AccessDeniedException = class _AccessDeniedException extends TnbServiceException {
|
|
226
|
+
/**
|
|
227
|
+
* @internal
|
|
228
|
+
*/
|
|
229
|
+
constructor(opts) {
|
|
230
|
+
super({
|
|
231
|
+
name: "AccessDeniedException",
|
|
232
|
+
$fault: "client",
|
|
233
|
+
...opts
|
|
234
|
+
});
|
|
235
|
+
this.name = "AccessDeniedException";
|
|
236
|
+
this.$fault = "client";
|
|
237
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
241
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
242
|
+
var _InternalServerException = class _InternalServerException extends TnbServiceException {
|
|
243
|
+
/**
|
|
244
|
+
* @internal
|
|
245
|
+
*/
|
|
246
|
+
constructor(opts) {
|
|
247
|
+
super({
|
|
248
|
+
name: "InternalServerException",
|
|
249
|
+
$fault: "server",
|
|
250
|
+
...opts
|
|
251
|
+
});
|
|
252
|
+
this.name = "InternalServerException";
|
|
253
|
+
this.$fault = "server";
|
|
254
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
__name(_InternalServerException, "InternalServerException");
|
|
258
|
+
var InternalServerException = _InternalServerException;
|
|
259
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends TnbServiceException {
|
|
260
|
+
/**
|
|
261
|
+
* @internal
|
|
262
|
+
*/
|
|
263
|
+
constructor(opts) {
|
|
264
|
+
super({
|
|
265
|
+
name: "ResourceNotFoundException",
|
|
266
|
+
$fault: "client",
|
|
267
|
+
...opts
|
|
268
|
+
});
|
|
269
|
+
this.name = "ResourceNotFoundException";
|
|
270
|
+
this.$fault = "client";
|
|
271
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
275
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
276
|
+
var _ThrottlingException = class _ThrottlingException extends TnbServiceException {
|
|
277
|
+
/**
|
|
278
|
+
* @internal
|
|
279
|
+
*/
|
|
280
|
+
constructor(opts) {
|
|
281
|
+
super({
|
|
282
|
+
name: "ThrottlingException",
|
|
283
|
+
$fault: "client",
|
|
284
|
+
...opts
|
|
285
|
+
});
|
|
286
|
+
this.name = "ThrottlingException";
|
|
287
|
+
this.$fault = "client";
|
|
288
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
292
|
+
var ThrottlingException = _ThrottlingException;
|
|
293
|
+
var _ValidationException = class _ValidationException extends TnbServiceException {
|
|
294
|
+
/**
|
|
295
|
+
* @internal
|
|
296
|
+
*/
|
|
297
|
+
constructor(opts) {
|
|
298
|
+
super({
|
|
299
|
+
name: "ValidationException",
|
|
300
|
+
$fault: "client",
|
|
301
|
+
...opts
|
|
302
|
+
});
|
|
303
|
+
this.name = "ValidationException";
|
|
304
|
+
this.$fault = "client";
|
|
305
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
__name(_ValidationException, "ValidationException");
|
|
309
|
+
var ValidationException = _ValidationException;
|
|
310
|
+
var OnboardingState = {
|
|
311
|
+
CREATED: "CREATED",
|
|
312
|
+
ERROR: "ERROR",
|
|
313
|
+
ONBOARDED: "ONBOARDED"
|
|
314
|
+
};
|
|
315
|
+
var OperationalState = {
|
|
316
|
+
DISABLED: "DISABLED",
|
|
317
|
+
ENABLED: "ENABLED"
|
|
318
|
+
};
|
|
319
|
+
var UsageState = {
|
|
320
|
+
IN_USE: "IN_USE",
|
|
321
|
+
NOT_IN_USE: "NOT_IN_USE"
|
|
322
|
+
};
|
|
323
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends TnbServiceException {
|
|
324
|
+
/**
|
|
325
|
+
* @internal
|
|
326
|
+
*/
|
|
327
|
+
constructor(opts) {
|
|
328
|
+
super({
|
|
329
|
+
name: "ServiceQuotaExceededException",
|
|
330
|
+
$fault: "client",
|
|
331
|
+
...opts
|
|
332
|
+
});
|
|
333
|
+
this.name = "ServiceQuotaExceededException";
|
|
334
|
+
this.$fault = "client";
|
|
335
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
339
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
340
|
+
var NsdOnboardingState = {
|
|
341
|
+
CREATED: "CREATED",
|
|
342
|
+
ERROR: "ERROR",
|
|
343
|
+
ONBOARDED: "ONBOARDED"
|
|
344
|
+
};
|
|
345
|
+
var NsdOperationalState = {
|
|
346
|
+
DISABLED: "DISABLED",
|
|
347
|
+
ENABLED: "ENABLED"
|
|
348
|
+
};
|
|
349
|
+
var NsdUsageState = {
|
|
350
|
+
IN_USE: "IN_USE",
|
|
351
|
+
NOT_IN_USE: "NOT_IN_USE"
|
|
352
|
+
};
|
|
353
|
+
var DescriptorContentType = {
|
|
354
|
+
TEXT_PLAIN: "text/plain"
|
|
355
|
+
};
|
|
356
|
+
var VnfOperationalState = {
|
|
357
|
+
STARTED: "STARTED",
|
|
358
|
+
STOPPED: "STOPPED"
|
|
359
|
+
};
|
|
360
|
+
var VnfInstantiationState = {
|
|
361
|
+
INSTANTIATED: "INSTANTIATED",
|
|
362
|
+
NOT_INSTANTIATED: "NOT_INSTANTIATED"
|
|
363
|
+
};
|
|
364
|
+
var PackageContentType = {
|
|
365
|
+
APPLICATION_ZIP: "application/zip"
|
|
366
|
+
};
|
|
367
|
+
var NsState = {
|
|
368
|
+
DELETED: "DELETED",
|
|
369
|
+
IMPAIRED: "IMPAIRED",
|
|
370
|
+
INSTANTIATED: "INSTANTIATED",
|
|
371
|
+
INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS",
|
|
372
|
+
NOT_INSTANTIATED: "NOT_INSTANTIATED",
|
|
373
|
+
STOPPED: "STOPPED",
|
|
374
|
+
TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS",
|
|
375
|
+
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS"
|
|
376
|
+
};
|
|
377
|
+
var LcmOperationType = {
|
|
378
|
+
INSTANTIATE: "INSTANTIATE",
|
|
379
|
+
TERMINATE: "TERMINATE",
|
|
380
|
+
UPDATE: "UPDATE"
|
|
381
|
+
};
|
|
382
|
+
var NsLcmOperationState = {
|
|
383
|
+
CANCELLED: "CANCELLED",
|
|
384
|
+
CANCELLING: "CANCELLING",
|
|
385
|
+
COMPLETED: "COMPLETED",
|
|
386
|
+
FAILED: "FAILED",
|
|
387
|
+
PROCESSING: "PROCESSING"
|
|
388
|
+
};
|
|
389
|
+
var TaskStatus = {
|
|
390
|
+
CANCELLED: "CANCELLED",
|
|
391
|
+
COMPLETED: "COMPLETED",
|
|
392
|
+
ERROR: "ERROR",
|
|
393
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
394
|
+
SCHEDULED: "SCHEDULED",
|
|
395
|
+
SKIPPED: "SKIPPED",
|
|
396
|
+
STARTED: "STARTED"
|
|
397
|
+
};
|
|
398
|
+
var UpdateSolNetworkType = {
|
|
399
|
+
MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION"
|
|
400
|
+
};
|
|
401
|
+
var CreateSolFunctionPackageInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
402
|
+
...obj,
|
|
403
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
404
|
+
}), "CreateSolFunctionPackageInputFilterSensitiveLog");
|
|
405
|
+
var CreateSolFunctionPackageOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
406
|
+
...obj,
|
|
407
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
408
|
+
}), "CreateSolFunctionPackageOutputFilterSensitiveLog");
|
|
409
|
+
var CreateSolNetworkInstanceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
410
|
+
...obj,
|
|
411
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
412
|
+
}), "CreateSolNetworkInstanceInputFilterSensitiveLog");
|
|
413
|
+
var CreateSolNetworkInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
414
|
+
...obj,
|
|
415
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
416
|
+
}), "CreateSolNetworkInstanceOutputFilterSensitiveLog");
|
|
417
|
+
var CreateSolNetworkPackageInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
418
|
+
...obj,
|
|
419
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
420
|
+
}), "CreateSolNetworkPackageInputFilterSensitiveLog");
|
|
421
|
+
var CreateSolNetworkPackageOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
422
|
+
...obj,
|
|
423
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
424
|
+
}), "CreateSolNetworkPackageOutputFilterSensitiveLog");
|
|
425
|
+
var GetSolFunctionInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
426
|
+
...obj,
|
|
427
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
428
|
+
}), "GetSolFunctionInstanceOutputFilterSensitiveLog");
|
|
429
|
+
var GetSolFunctionPackageOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
430
|
+
...obj,
|
|
431
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
432
|
+
}), "GetSolFunctionPackageOutputFilterSensitiveLog");
|
|
433
|
+
var GetSolNetworkInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
434
|
+
...obj,
|
|
435
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
436
|
+
}), "GetSolNetworkInstanceOutputFilterSensitiveLog");
|
|
437
|
+
var GetSolNetworkOperationOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
438
|
+
...obj,
|
|
439
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
440
|
+
}), "GetSolNetworkOperationOutputFilterSensitiveLog");
|
|
441
|
+
var GetSolNetworkPackageOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
442
|
+
...obj,
|
|
443
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
444
|
+
}), "GetSolNetworkPackageOutputFilterSensitiveLog");
|
|
445
|
+
var InstantiateSolNetworkInstanceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
446
|
+
...obj,
|
|
447
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
448
|
+
}), "InstantiateSolNetworkInstanceInputFilterSensitiveLog");
|
|
449
|
+
var InstantiateSolNetworkInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
450
|
+
...obj,
|
|
451
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
452
|
+
}), "InstantiateSolNetworkInstanceOutputFilterSensitiveLog");
|
|
453
|
+
var ListTagsForResourceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
454
|
+
...obj,
|
|
455
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
456
|
+
}), "ListTagsForResourceOutputFilterSensitiveLog");
|
|
457
|
+
var TagResourceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
458
|
+
...obj,
|
|
459
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
460
|
+
}), "TagResourceInputFilterSensitiveLog");
|
|
461
|
+
var TerminateSolNetworkInstanceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
462
|
+
...obj,
|
|
463
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
464
|
+
}), "TerminateSolNetworkInstanceInputFilterSensitiveLog");
|
|
465
|
+
var TerminateSolNetworkInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
466
|
+
...obj,
|
|
467
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
468
|
+
}), "TerminateSolNetworkInstanceOutputFilterSensitiveLog");
|
|
469
|
+
var UpdateSolNetworkInstanceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
470
|
+
...obj,
|
|
471
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
472
|
+
}), "UpdateSolNetworkInstanceInputFilterSensitiveLog");
|
|
473
|
+
var UpdateSolNetworkInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
474
|
+
...obj,
|
|
475
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
476
|
+
}), "UpdateSolNetworkInstanceOutputFilterSensitiveLog");
|
|
477
|
+
|
|
478
|
+
// src/protocols/Aws_restJson1.ts
|
|
479
|
+
var se_CancelSolNetworkOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
480
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
481
|
+
const headers = {};
|
|
482
|
+
b.bp("/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel");
|
|
483
|
+
b.p("nsLcmOpOccId", () => input.nsLcmOpOccId, "{nsLcmOpOccId}", false);
|
|
484
|
+
let body;
|
|
485
|
+
b.m("POST").h(headers).b(body);
|
|
486
|
+
return b.build();
|
|
487
|
+
}, "se_CancelSolNetworkOperationCommand");
|
|
488
|
+
var se_CreateSolFunctionPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
489
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
490
|
+
const headers = {
|
|
491
|
+
"content-type": "application/json"
|
|
492
|
+
};
|
|
493
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages");
|
|
494
|
+
let body;
|
|
495
|
+
body = JSON.stringify(
|
|
496
|
+
(0, import_smithy_client.take)(input, {
|
|
497
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
498
|
+
})
|
|
499
|
+
);
|
|
500
|
+
b.m("POST").h(headers).b(body);
|
|
501
|
+
return b.build();
|
|
502
|
+
}, "se_CreateSolFunctionPackageCommand");
|
|
503
|
+
var se_CreateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
504
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
505
|
+
const headers = {
|
|
506
|
+
"content-type": "application/json"
|
|
507
|
+
};
|
|
508
|
+
b.bp("/sol/nslcm/v1/ns_instances");
|
|
509
|
+
let body;
|
|
510
|
+
body = JSON.stringify(
|
|
511
|
+
(0, import_smithy_client.take)(input, {
|
|
512
|
+
nsDescription: [],
|
|
513
|
+
nsName: [],
|
|
514
|
+
nsdInfoId: [],
|
|
515
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
516
|
+
})
|
|
517
|
+
);
|
|
518
|
+
b.m("POST").h(headers).b(body);
|
|
519
|
+
return b.build();
|
|
520
|
+
}, "se_CreateSolNetworkInstanceCommand");
|
|
521
|
+
var se_CreateSolNetworkPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
522
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
523
|
+
const headers = {
|
|
524
|
+
"content-type": "application/json"
|
|
525
|
+
};
|
|
526
|
+
b.bp("/sol/nsd/v1/ns_descriptors");
|
|
527
|
+
let body;
|
|
528
|
+
body = JSON.stringify(
|
|
529
|
+
(0, import_smithy_client.take)(input, {
|
|
530
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
531
|
+
})
|
|
532
|
+
);
|
|
533
|
+
b.m("POST").h(headers).b(body);
|
|
534
|
+
return b.build();
|
|
535
|
+
}, "se_CreateSolNetworkPackageCommand");
|
|
536
|
+
var se_DeleteSolFunctionPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
537
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
538
|
+
const headers = {};
|
|
539
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}");
|
|
540
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
541
|
+
let body;
|
|
542
|
+
b.m("DELETE").h(headers).b(body);
|
|
543
|
+
return b.build();
|
|
544
|
+
}, "se_DeleteSolFunctionPackageCommand");
|
|
545
|
+
var se_DeleteSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
546
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
547
|
+
const headers = {};
|
|
548
|
+
b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}");
|
|
549
|
+
b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
550
|
+
let body;
|
|
551
|
+
b.m("DELETE").h(headers).b(body);
|
|
552
|
+
return b.build();
|
|
553
|
+
}, "se_DeleteSolNetworkInstanceCommand");
|
|
554
|
+
var se_DeleteSolNetworkPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
555
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
556
|
+
const headers = {};
|
|
557
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}");
|
|
558
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
559
|
+
let body;
|
|
560
|
+
b.m("DELETE").h(headers).b(body);
|
|
561
|
+
return b.build();
|
|
562
|
+
}, "se_DeleteSolNetworkPackageCommand");
|
|
563
|
+
var se_GetSolFunctionInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
564
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
565
|
+
const headers = {};
|
|
566
|
+
b.bp("/sol/vnflcm/v1/vnf_instances/{vnfInstanceId}");
|
|
567
|
+
b.p("vnfInstanceId", () => input.vnfInstanceId, "{vnfInstanceId}", false);
|
|
568
|
+
let body;
|
|
569
|
+
b.m("GET").h(headers).b(body);
|
|
570
|
+
return b.build();
|
|
571
|
+
}, "se_GetSolFunctionInstanceCommand");
|
|
572
|
+
var se_GetSolFunctionPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
573
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
574
|
+
const headers = {};
|
|
575
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}");
|
|
576
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
577
|
+
let body;
|
|
578
|
+
b.m("GET").h(headers).b(body);
|
|
579
|
+
return b.build();
|
|
580
|
+
}, "se_GetSolFunctionPackageCommand");
|
|
581
|
+
var se_GetSolFunctionPackageContentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
582
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
583
|
+
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
584
|
+
[_a]: input[_a]
|
|
585
|
+
});
|
|
586
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content");
|
|
587
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
588
|
+
let body;
|
|
589
|
+
b.m("GET").h(headers).b(body);
|
|
590
|
+
return b.build();
|
|
591
|
+
}, "se_GetSolFunctionPackageContentCommand");
|
|
592
|
+
var se_GetSolFunctionPackageDescriptorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
593
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
594
|
+
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
595
|
+
[_a]: input[_a]
|
|
596
|
+
});
|
|
597
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/vnfd");
|
|
598
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
599
|
+
let body;
|
|
600
|
+
b.m("GET").h(headers).b(body);
|
|
601
|
+
return b.build();
|
|
602
|
+
}, "se_GetSolFunctionPackageDescriptorCommand");
|
|
603
|
+
var se_GetSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
604
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
605
|
+
const headers = {};
|
|
606
|
+
b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}");
|
|
607
|
+
b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
608
|
+
let body;
|
|
609
|
+
b.m("GET").h(headers).b(body);
|
|
610
|
+
return b.build();
|
|
611
|
+
}, "se_GetSolNetworkInstanceCommand");
|
|
612
|
+
var se_GetSolNetworkOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
613
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
614
|
+
const headers = {};
|
|
615
|
+
b.bp("/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}");
|
|
616
|
+
b.p("nsLcmOpOccId", () => input.nsLcmOpOccId, "{nsLcmOpOccId}", false);
|
|
617
|
+
let body;
|
|
618
|
+
b.m("GET").h(headers).b(body);
|
|
619
|
+
return b.build();
|
|
620
|
+
}, "se_GetSolNetworkOperationCommand");
|
|
621
|
+
var se_GetSolNetworkPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
622
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
623
|
+
const headers = {};
|
|
624
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}");
|
|
625
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
626
|
+
let body;
|
|
627
|
+
b.m("GET").h(headers).b(body);
|
|
628
|
+
return b.build();
|
|
629
|
+
}, "se_GetSolNetworkPackageCommand");
|
|
630
|
+
var se_GetSolNetworkPackageContentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
631
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
632
|
+
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
633
|
+
[_a]: input[_a]
|
|
634
|
+
});
|
|
635
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content");
|
|
636
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
637
|
+
let body;
|
|
638
|
+
b.m("GET").h(headers).b(body);
|
|
639
|
+
return b.build();
|
|
640
|
+
}, "se_GetSolNetworkPackageContentCommand");
|
|
641
|
+
var se_GetSolNetworkPackageDescriptorCommand = /* @__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}/nsd");
|
|
645
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
646
|
+
let body;
|
|
647
|
+
b.m("GET").h(headers).b(body);
|
|
648
|
+
return b.build();
|
|
649
|
+
}, "se_GetSolNetworkPackageDescriptorCommand");
|
|
650
|
+
var se_InstantiateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
651
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
652
|
+
const headers = {
|
|
653
|
+
"content-type": "application/json"
|
|
654
|
+
};
|
|
655
|
+
b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}/instantiate");
|
|
656
|
+
b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
657
|
+
const query = (0, import_smithy_client.map)({
|
|
658
|
+
[_dr]: [() => input.dryRun !== void 0, () => input[_dR].toString()]
|
|
659
|
+
});
|
|
660
|
+
let body;
|
|
661
|
+
body = JSON.stringify(
|
|
662
|
+
(0, import_smithy_client.take)(input, {
|
|
663
|
+
additionalParamsForNs: (_) => se_Document(_, context),
|
|
664
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
665
|
+
})
|
|
666
|
+
);
|
|
667
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
668
|
+
return b.build();
|
|
669
|
+
}, "se_InstantiateSolNetworkInstanceCommand");
|
|
670
|
+
var se_ListSolFunctionInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
671
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
672
|
+
const headers = {};
|
|
673
|
+
b.bp("/sol/vnflcm/v1/vnf_instances");
|
|
674
|
+
const query = (0, import_smithy_client.map)({
|
|
675
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
676
|
+
[_nom]: [, input[_nT]]
|
|
677
|
+
});
|
|
678
|
+
let body;
|
|
679
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
680
|
+
return b.build();
|
|
681
|
+
}, "se_ListSolFunctionInstancesCommand");
|
|
682
|
+
var se_ListSolFunctionPackagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
683
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
684
|
+
const headers = {};
|
|
685
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages");
|
|
686
|
+
const query = (0, import_smithy_client.map)({
|
|
687
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
688
|
+
[_nom]: [, input[_nT]]
|
|
689
|
+
});
|
|
690
|
+
let body;
|
|
691
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
692
|
+
return b.build();
|
|
693
|
+
}, "se_ListSolFunctionPackagesCommand");
|
|
694
|
+
var se_ListSolNetworkInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
695
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
696
|
+
const headers = {};
|
|
697
|
+
b.bp("/sol/nslcm/v1/ns_instances");
|
|
698
|
+
const query = (0, import_smithy_client.map)({
|
|
699
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
700
|
+
[_nom]: [, input[_nT]]
|
|
701
|
+
});
|
|
702
|
+
let body;
|
|
703
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
704
|
+
return b.build();
|
|
705
|
+
}, "se_ListSolNetworkInstancesCommand");
|
|
706
|
+
var se_ListSolNetworkOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
707
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
708
|
+
const headers = {};
|
|
709
|
+
b.bp("/sol/nslcm/v1/ns_lcm_op_occs");
|
|
710
|
+
const query = (0, import_smithy_client.map)({
|
|
711
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
712
|
+
[_nom]: [, input[_nT]]
|
|
713
|
+
});
|
|
714
|
+
let body;
|
|
715
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
716
|
+
return b.build();
|
|
717
|
+
}, "se_ListSolNetworkOperationsCommand");
|
|
718
|
+
var se_ListSolNetworkPackagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
719
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
720
|
+
const headers = {};
|
|
721
|
+
b.bp("/sol/nsd/v1/ns_descriptors");
|
|
722
|
+
const query = (0, import_smithy_client.map)({
|
|
723
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
724
|
+
[_nom]: [, input[_nT]]
|
|
725
|
+
});
|
|
726
|
+
let body;
|
|
727
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
728
|
+
return b.build();
|
|
729
|
+
}, "se_ListSolNetworkPackagesCommand");
|
|
730
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
731
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
732
|
+
const headers = {};
|
|
733
|
+
b.bp("/tags/{resourceArn}");
|
|
734
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
735
|
+
let body;
|
|
736
|
+
b.m("GET").h(headers).b(body);
|
|
737
|
+
return b.build();
|
|
738
|
+
}, "se_ListTagsForResourceCommand");
|
|
739
|
+
var se_PutSolFunctionPackageContentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
740
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
741
|
+
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
742
|
+
[_ct]: input[_cT] || "application/octet-stream"
|
|
743
|
+
});
|
|
744
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content");
|
|
745
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
746
|
+
let body;
|
|
747
|
+
if (input.file !== void 0) {
|
|
748
|
+
body = input.file;
|
|
749
|
+
}
|
|
750
|
+
b.m("PUT").h(headers).b(body);
|
|
751
|
+
return b.build();
|
|
752
|
+
}, "se_PutSolFunctionPackageContentCommand");
|
|
753
|
+
var se_PutSolNetworkPackageContentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
754
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
755
|
+
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
756
|
+
[_ct]: input[_cT] || "application/octet-stream"
|
|
757
|
+
});
|
|
758
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content");
|
|
759
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
760
|
+
let body;
|
|
761
|
+
if (input.file !== void 0) {
|
|
762
|
+
body = input.file;
|
|
763
|
+
}
|
|
764
|
+
b.m("PUT").h(headers).b(body);
|
|
765
|
+
return b.build();
|
|
766
|
+
}, "se_PutSolNetworkPackageContentCommand");
|
|
767
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
768
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
769
|
+
const headers = {
|
|
770
|
+
"content-type": "application/json"
|
|
771
|
+
};
|
|
772
|
+
b.bp("/tags/{resourceArn}");
|
|
773
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
774
|
+
let body;
|
|
775
|
+
body = JSON.stringify(
|
|
776
|
+
(0, import_smithy_client.take)(input, {
|
|
777
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
778
|
+
})
|
|
779
|
+
);
|
|
780
|
+
b.m("POST").h(headers).b(body);
|
|
781
|
+
return b.build();
|
|
782
|
+
}, "se_TagResourceCommand");
|
|
783
|
+
var se_TerminateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
784
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
785
|
+
const headers = {
|
|
786
|
+
"content-type": "application/json"
|
|
787
|
+
};
|
|
788
|
+
b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}/terminate");
|
|
789
|
+
b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
790
|
+
let body;
|
|
791
|
+
body = JSON.stringify(
|
|
792
|
+
(0, import_smithy_client.take)(input, {
|
|
793
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
794
|
+
})
|
|
795
|
+
);
|
|
796
|
+
b.m("POST").h(headers).b(body);
|
|
797
|
+
return b.build();
|
|
798
|
+
}, "se_TerminateSolNetworkInstanceCommand");
|
|
799
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
800
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
801
|
+
const headers = {};
|
|
802
|
+
b.bp("/tags/{resourceArn}");
|
|
803
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
804
|
+
const query = (0, import_smithy_client.map)({
|
|
805
|
+
[_tK]: [
|
|
806
|
+
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
807
|
+
() => (input[_tK] || []).map((_entry) => _entry)
|
|
808
|
+
]
|
|
809
|
+
});
|
|
810
|
+
let body;
|
|
811
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
812
|
+
return b.build();
|
|
813
|
+
}, "se_UntagResourceCommand");
|
|
814
|
+
var se_UpdateSolFunctionPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
815
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
816
|
+
const headers = {
|
|
817
|
+
"content-type": "application/json"
|
|
818
|
+
};
|
|
819
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}");
|
|
820
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
821
|
+
let body;
|
|
822
|
+
body = JSON.stringify(
|
|
823
|
+
(0, import_smithy_client.take)(input, {
|
|
824
|
+
operationalState: []
|
|
825
|
+
})
|
|
826
|
+
);
|
|
827
|
+
b.m("PATCH").h(headers).b(body);
|
|
828
|
+
return b.build();
|
|
829
|
+
}, "se_UpdateSolFunctionPackageCommand");
|
|
830
|
+
var se_UpdateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
831
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
832
|
+
const headers = {
|
|
833
|
+
"content-type": "application/json"
|
|
834
|
+
};
|
|
835
|
+
b.bp("/sol/nslcm/v1/ns_instances/{nsInstanceId}/update");
|
|
836
|
+
b.p("nsInstanceId", () => input.nsInstanceId, "{nsInstanceId}", false);
|
|
837
|
+
let body;
|
|
838
|
+
body = JSON.stringify(
|
|
839
|
+
(0, import_smithy_client.take)(input, {
|
|
840
|
+
modifyVnfInfoData: (_) => se_UpdateSolNetworkModify(_, context),
|
|
841
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
842
|
+
updateType: []
|
|
843
|
+
})
|
|
844
|
+
);
|
|
845
|
+
b.m("POST").h(headers).b(body);
|
|
846
|
+
return b.build();
|
|
847
|
+
}, "se_UpdateSolNetworkInstanceCommand");
|
|
848
|
+
var se_UpdateSolNetworkPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
849
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
850
|
+
const headers = {
|
|
851
|
+
"content-type": "application/json"
|
|
852
|
+
};
|
|
853
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}");
|
|
854
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
855
|
+
let body;
|
|
856
|
+
body = JSON.stringify(
|
|
857
|
+
(0, import_smithy_client.take)(input, {
|
|
858
|
+
nsdOperationalState: []
|
|
859
|
+
})
|
|
860
|
+
);
|
|
861
|
+
b.m("PATCH").h(headers).b(body);
|
|
862
|
+
return b.build();
|
|
863
|
+
}, "se_UpdateSolNetworkPackageCommand");
|
|
864
|
+
var se_ValidateSolFunctionPackageContentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
865
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
866
|
+
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
867
|
+
[_ct]: input[_cT] || "application/octet-stream"
|
|
868
|
+
});
|
|
869
|
+
b.bp("/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content/validate");
|
|
870
|
+
b.p("vnfPkgId", () => input.vnfPkgId, "{vnfPkgId}", false);
|
|
871
|
+
let body;
|
|
872
|
+
if (input.file !== void 0) {
|
|
873
|
+
body = input.file;
|
|
874
|
+
}
|
|
875
|
+
b.m("PUT").h(headers).b(body);
|
|
876
|
+
return b.build();
|
|
877
|
+
}, "se_ValidateSolFunctionPackageContentCommand");
|
|
878
|
+
var se_ValidateSolNetworkPackageContentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
879
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
880
|
+
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
881
|
+
[_ct]: input[_cT] || "application/octet-stream"
|
|
882
|
+
});
|
|
883
|
+
b.bp("/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content/validate");
|
|
884
|
+
b.p("nsdInfoId", () => input.nsdInfoId, "{nsdInfoId}", false);
|
|
885
|
+
let body;
|
|
886
|
+
if (input.file !== void 0) {
|
|
887
|
+
body = input.file;
|
|
888
|
+
}
|
|
889
|
+
b.m("PUT").h(headers).b(body);
|
|
890
|
+
return b.build();
|
|
891
|
+
}, "se_ValidateSolNetworkPackageContentCommand");
|
|
892
|
+
var de_CancelSolNetworkOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
893
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
894
|
+
return de_CancelSolNetworkOperationCommandError(output, context);
|
|
895
|
+
}
|
|
896
|
+
const contents = (0, import_smithy_client.map)({
|
|
897
|
+
$metadata: deserializeMetadata(output)
|
|
898
|
+
});
|
|
899
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
900
|
+
return contents;
|
|
901
|
+
}, "de_CancelSolNetworkOperationCommand");
|
|
902
|
+
var de_CancelSolNetworkOperationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
903
|
+
const parsedOutput = {
|
|
904
|
+
...output,
|
|
905
|
+
body: await parseErrorBody(output.body, context)
|
|
906
|
+
};
|
|
907
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
908
|
+
switch (errorCode) {
|
|
909
|
+
case "AccessDeniedException":
|
|
910
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
911
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
912
|
+
case "InternalServerException":
|
|
913
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
914
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
915
|
+
case "ResourceNotFoundException":
|
|
916
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
917
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
918
|
+
case "ThrottlingException":
|
|
919
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
920
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
921
|
+
case "ValidationException":
|
|
922
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
923
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
924
|
+
default:
|
|
925
|
+
const parsedBody = parsedOutput.body;
|
|
926
|
+
return throwDefaultError({
|
|
927
|
+
output,
|
|
928
|
+
parsedBody,
|
|
929
|
+
errorCode
|
|
930
|
+
});
|
|
931
|
+
}
|
|
932
|
+
}, "de_CancelSolNetworkOperationCommandError");
|
|
933
|
+
var de_CreateSolFunctionPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
934
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
935
|
+
return de_CreateSolFunctionPackageCommandError(output, context);
|
|
936
|
+
}
|
|
937
|
+
const contents = (0, import_smithy_client.map)({
|
|
938
|
+
$metadata: deserializeMetadata(output)
|
|
939
|
+
});
|
|
940
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
941
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
942
|
+
arn: import_smithy_client.expectString,
|
|
943
|
+
id: import_smithy_client.expectString,
|
|
944
|
+
onboardingState: import_smithy_client.expectString,
|
|
945
|
+
operationalState: import_smithy_client.expectString,
|
|
946
|
+
tags: import_smithy_client._json,
|
|
947
|
+
usageState: import_smithy_client.expectString
|
|
948
|
+
});
|
|
949
|
+
Object.assign(contents, doc);
|
|
950
|
+
return contents;
|
|
951
|
+
}, "de_CreateSolFunctionPackageCommand");
|
|
952
|
+
var de_CreateSolFunctionPackageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
953
|
+
const parsedOutput = {
|
|
954
|
+
...output,
|
|
955
|
+
body: await parseErrorBody(output.body, context)
|
|
956
|
+
};
|
|
957
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
958
|
+
switch (errorCode) {
|
|
959
|
+
case "AccessDeniedException":
|
|
960
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
961
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
962
|
+
case "InternalServerException":
|
|
963
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
964
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
965
|
+
case "ServiceQuotaExceededException":
|
|
966
|
+
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
967
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
968
|
+
case "ThrottlingException":
|
|
969
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
970
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
971
|
+
case "ValidationException":
|
|
972
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
973
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
974
|
+
default:
|
|
975
|
+
const parsedBody = parsedOutput.body;
|
|
976
|
+
return throwDefaultError({
|
|
977
|
+
output,
|
|
978
|
+
parsedBody,
|
|
979
|
+
errorCode
|
|
980
|
+
});
|
|
981
|
+
}
|
|
982
|
+
}, "de_CreateSolFunctionPackageCommandError");
|
|
983
|
+
var de_CreateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
984
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
985
|
+
return de_CreateSolNetworkInstanceCommandError(output, context);
|
|
986
|
+
}
|
|
987
|
+
const contents = (0, import_smithy_client.map)({
|
|
988
|
+
$metadata: deserializeMetadata(output)
|
|
989
|
+
});
|
|
990
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
991
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
992
|
+
arn: import_smithy_client.expectString,
|
|
993
|
+
id: import_smithy_client.expectString,
|
|
994
|
+
nsInstanceName: import_smithy_client.expectString,
|
|
995
|
+
nsdInfoId: import_smithy_client.expectString,
|
|
996
|
+
tags: import_smithy_client._json
|
|
997
|
+
});
|
|
998
|
+
Object.assign(contents, doc);
|
|
999
|
+
return contents;
|
|
1000
|
+
}, "de_CreateSolNetworkInstanceCommand");
|
|
1001
|
+
var de_CreateSolNetworkInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1002
|
+
const parsedOutput = {
|
|
1003
|
+
...output,
|
|
1004
|
+
body: await parseErrorBody(output.body, context)
|
|
1005
|
+
};
|
|
1006
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1007
|
+
switch (errorCode) {
|
|
1008
|
+
case "AccessDeniedException":
|
|
1009
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1010
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1011
|
+
case "InternalServerException":
|
|
1012
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1013
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1014
|
+
case "ResourceNotFoundException":
|
|
1015
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1016
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1017
|
+
case "ServiceQuotaExceededException":
|
|
1018
|
+
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
1019
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1020
|
+
case "ThrottlingException":
|
|
1021
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1022
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1023
|
+
case "ValidationException":
|
|
1024
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1025
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1026
|
+
default:
|
|
1027
|
+
const parsedBody = parsedOutput.body;
|
|
1028
|
+
return throwDefaultError({
|
|
1029
|
+
output,
|
|
1030
|
+
parsedBody,
|
|
1031
|
+
errorCode
|
|
1032
|
+
});
|
|
1033
|
+
}
|
|
1034
|
+
}, "de_CreateSolNetworkInstanceCommandError");
|
|
1035
|
+
var de_CreateSolNetworkPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1036
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1037
|
+
return de_CreateSolNetworkPackageCommandError(output, context);
|
|
1038
|
+
}
|
|
1039
|
+
const contents = (0, import_smithy_client.map)({
|
|
1040
|
+
$metadata: deserializeMetadata(output)
|
|
1041
|
+
});
|
|
1042
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1043
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1044
|
+
arn: import_smithy_client.expectString,
|
|
1045
|
+
id: import_smithy_client.expectString,
|
|
1046
|
+
nsdOnboardingState: import_smithy_client.expectString,
|
|
1047
|
+
nsdOperationalState: import_smithy_client.expectString,
|
|
1048
|
+
nsdUsageState: import_smithy_client.expectString,
|
|
1049
|
+
tags: import_smithy_client._json
|
|
1050
|
+
});
|
|
1051
|
+
Object.assign(contents, doc);
|
|
1052
|
+
return contents;
|
|
1053
|
+
}, "de_CreateSolNetworkPackageCommand");
|
|
1054
|
+
var de_CreateSolNetworkPackageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1055
|
+
const parsedOutput = {
|
|
1056
|
+
...output,
|
|
1057
|
+
body: await parseErrorBody(output.body, context)
|
|
1058
|
+
};
|
|
1059
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1060
|
+
switch (errorCode) {
|
|
1061
|
+
case "AccessDeniedException":
|
|
1062
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1063
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1064
|
+
case "InternalServerException":
|
|
1065
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1066
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1067
|
+
case "ServiceQuotaExceededException":
|
|
1068
|
+
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
1069
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1070
|
+
case "ThrottlingException":
|
|
1071
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1072
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1073
|
+
case "ValidationException":
|
|
1074
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1075
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1076
|
+
default:
|
|
1077
|
+
const parsedBody = parsedOutput.body;
|
|
1078
|
+
return throwDefaultError({
|
|
1079
|
+
output,
|
|
1080
|
+
parsedBody,
|
|
1081
|
+
errorCode
|
|
1082
|
+
});
|
|
1083
|
+
}
|
|
1084
|
+
}, "de_CreateSolNetworkPackageCommandError");
|
|
1085
|
+
var de_DeleteSolFunctionPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1086
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1087
|
+
return de_DeleteSolFunctionPackageCommandError(output, context);
|
|
1088
|
+
}
|
|
1089
|
+
const contents = (0, import_smithy_client.map)({
|
|
1090
|
+
$metadata: deserializeMetadata(output)
|
|
1091
|
+
});
|
|
1092
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1093
|
+
return contents;
|
|
1094
|
+
}, "de_DeleteSolFunctionPackageCommand");
|
|
1095
|
+
var de_DeleteSolFunctionPackageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1096
|
+
const parsedOutput = {
|
|
1097
|
+
...output,
|
|
1098
|
+
body: await parseErrorBody(output.body, context)
|
|
1099
|
+
};
|
|
1100
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1101
|
+
switch (errorCode) {
|
|
1102
|
+
case "AccessDeniedException":
|
|
1103
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1104
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1105
|
+
case "InternalServerException":
|
|
1106
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1107
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1108
|
+
case "ResourceNotFoundException":
|
|
1109
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1110
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1111
|
+
case "ThrottlingException":
|
|
1112
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1113
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1114
|
+
case "ValidationException":
|
|
1115
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1116
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1117
|
+
default:
|
|
1118
|
+
const parsedBody = parsedOutput.body;
|
|
1119
|
+
return throwDefaultError({
|
|
1120
|
+
output,
|
|
1121
|
+
parsedBody,
|
|
1122
|
+
errorCode
|
|
1123
|
+
});
|
|
1124
|
+
}
|
|
1125
|
+
}, "de_DeleteSolFunctionPackageCommandError");
|
|
1126
|
+
var de_DeleteSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1127
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1128
|
+
return de_DeleteSolNetworkInstanceCommandError(output, context);
|
|
1129
|
+
}
|
|
1130
|
+
const contents = (0, import_smithy_client.map)({
|
|
1131
|
+
$metadata: deserializeMetadata(output)
|
|
1132
|
+
});
|
|
1133
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1134
|
+
return contents;
|
|
1135
|
+
}, "de_DeleteSolNetworkInstanceCommand");
|
|
1136
|
+
var de_DeleteSolNetworkInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1137
|
+
const parsedOutput = {
|
|
1138
|
+
...output,
|
|
1139
|
+
body: await parseErrorBody(output.body, context)
|
|
1140
|
+
};
|
|
1141
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1142
|
+
switch (errorCode) {
|
|
1143
|
+
case "AccessDeniedException":
|
|
1144
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1145
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1146
|
+
case "InternalServerException":
|
|
1147
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1148
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1149
|
+
case "ResourceNotFoundException":
|
|
1150
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1151
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1152
|
+
case "ThrottlingException":
|
|
1153
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1154
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1155
|
+
case "ValidationException":
|
|
1156
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1157
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1158
|
+
default:
|
|
1159
|
+
const parsedBody = parsedOutput.body;
|
|
1160
|
+
return throwDefaultError({
|
|
1161
|
+
output,
|
|
1162
|
+
parsedBody,
|
|
1163
|
+
errorCode
|
|
1164
|
+
});
|
|
1165
|
+
}
|
|
1166
|
+
}, "de_DeleteSolNetworkInstanceCommandError");
|
|
1167
|
+
var de_DeleteSolNetworkPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1168
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1169
|
+
return de_DeleteSolNetworkPackageCommandError(output, context);
|
|
1170
|
+
}
|
|
1171
|
+
const contents = (0, import_smithy_client.map)({
|
|
1172
|
+
$metadata: deserializeMetadata(output)
|
|
1173
|
+
});
|
|
1174
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1175
|
+
return contents;
|
|
1176
|
+
}, "de_DeleteSolNetworkPackageCommand");
|
|
1177
|
+
var de_DeleteSolNetworkPackageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1178
|
+
const parsedOutput = {
|
|
1179
|
+
...output,
|
|
1180
|
+
body: await parseErrorBody(output.body, context)
|
|
1181
|
+
};
|
|
1182
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1183
|
+
switch (errorCode) {
|
|
1184
|
+
case "AccessDeniedException":
|
|
1185
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1186
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1187
|
+
case "InternalServerException":
|
|
1188
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1189
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1190
|
+
case "ResourceNotFoundException":
|
|
1191
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1192
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1193
|
+
case "ThrottlingException":
|
|
1194
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1195
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1196
|
+
case "ValidationException":
|
|
1197
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1198
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1199
|
+
default:
|
|
1200
|
+
const parsedBody = parsedOutput.body;
|
|
1201
|
+
return throwDefaultError({
|
|
1202
|
+
output,
|
|
1203
|
+
parsedBody,
|
|
1204
|
+
errorCode
|
|
1205
|
+
});
|
|
1206
|
+
}
|
|
1207
|
+
}, "de_DeleteSolNetworkPackageCommandError");
|
|
1208
|
+
var de_GetSolFunctionInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1209
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1210
|
+
return de_GetSolFunctionInstanceCommandError(output, context);
|
|
1211
|
+
}
|
|
1212
|
+
const contents = (0, import_smithy_client.map)({
|
|
1213
|
+
$metadata: deserializeMetadata(output)
|
|
1214
|
+
});
|
|
1215
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1216
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1217
|
+
arn: import_smithy_client.expectString,
|
|
1218
|
+
id: import_smithy_client.expectString,
|
|
1219
|
+
instantiatedVnfInfo: import_smithy_client._json,
|
|
1220
|
+
instantiationState: import_smithy_client.expectString,
|
|
1221
|
+
metadata: (_) => de_GetSolFunctionInstanceMetadata(_, context),
|
|
1222
|
+
nsInstanceId: import_smithy_client.expectString,
|
|
1223
|
+
tags: import_smithy_client._json,
|
|
1224
|
+
vnfPkgId: import_smithy_client.expectString,
|
|
1225
|
+
vnfProductName: import_smithy_client.expectString,
|
|
1226
|
+
vnfProvider: import_smithy_client.expectString,
|
|
1227
|
+
vnfdId: import_smithy_client.expectString,
|
|
1228
|
+
vnfdVersion: import_smithy_client.expectString
|
|
1229
|
+
});
|
|
1230
|
+
Object.assign(contents, doc);
|
|
1231
|
+
return contents;
|
|
1232
|
+
}, "de_GetSolFunctionInstanceCommand");
|
|
1233
|
+
var de_GetSolFunctionInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1234
|
+
const parsedOutput = {
|
|
1235
|
+
...output,
|
|
1236
|
+
body: await parseErrorBody(output.body, context)
|
|
1237
|
+
};
|
|
1238
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1239
|
+
switch (errorCode) {
|
|
1240
|
+
case "AccessDeniedException":
|
|
1241
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1242
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1243
|
+
case "InternalServerException":
|
|
1244
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1245
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1246
|
+
case "ResourceNotFoundException":
|
|
1247
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1248
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1249
|
+
case "ThrottlingException":
|
|
1250
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1251
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1252
|
+
case "ValidationException":
|
|
1253
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1254
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1255
|
+
default:
|
|
1256
|
+
const parsedBody = parsedOutput.body;
|
|
1257
|
+
return throwDefaultError({
|
|
1258
|
+
output,
|
|
1259
|
+
parsedBody,
|
|
1260
|
+
errorCode
|
|
1261
|
+
});
|
|
1262
|
+
}
|
|
1263
|
+
}, "de_GetSolFunctionInstanceCommandError");
|
|
1264
|
+
var de_GetSolFunctionPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1265
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1266
|
+
return de_GetSolFunctionPackageCommandError(output, context);
|
|
1267
|
+
}
|
|
1268
|
+
const contents = (0, import_smithy_client.map)({
|
|
1269
|
+
$metadata: deserializeMetadata(output)
|
|
1270
|
+
});
|
|
1271
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1272
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1273
|
+
arn: import_smithy_client.expectString,
|
|
1274
|
+
id: import_smithy_client.expectString,
|
|
1275
|
+
metadata: (_) => de_GetSolFunctionPackageMetadata(_, context),
|
|
1276
|
+
onboardingState: import_smithy_client.expectString,
|
|
1277
|
+
operationalState: import_smithy_client.expectString,
|
|
1278
|
+
tags: import_smithy_client._json,
|
|
1279
|
+
usageState: import_smithy_client.expectString,
|
|
1280
|
+
vnfProductName: import_smithy_client.expectString,
|
|
1281
|
+
vnfProvider: import_smithy_client.expectString,
|
|
1282
|
+
vnfdId: import_smithy_client.expectString,
|
|
1283
|
+
vnfdVersion: import_smithy_client.expectString
|
|
1284
|
+
});
|
|
1285
|
+
Object.assign(contents, doc);
|
|
1286
|
+
return contents;
|
|
1287
|
+
}, "de_GetSolFunctionPackageCommand");
|
|
1288
|
+
var de_GetSolFunctionPackageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1289
|
+
const parsedOutput = {
|
|
1290
|
+
...output,
|
|
1291
|
+
body: await parseErrorBody(output.body, context)
|
|
1292
|
+
};
|
|
1293
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1294
|
+
switch (errorCode) {
|
|
1295
|
+
case "AccessDeniedException":
|
|
1296
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1297
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1298
|
+
case "InternalServerException":
|
|
1299
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1300
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1301
|
+
case "ResourceNotFoundException":
|
|
1302
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1303
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1304
|
+
case "ThrottlingException":
|
|
1305
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1306
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1307
|
+
case "ValidationException":
|
|
1308
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1309
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1310
|
+
default:
|
|
1311
|
+
const parsedBody = parsedOutput.body;
|
|
1312
|
+
return throwDefaultError({
|
|
1313
|
+
output,
|
|
1314
|
+
parsedBody,
|
|
1315
|
+
errorCode
|
|
1316
|
+
});
|
|
1317
|
+
}
|
|
1318
|
+
}, "de_GetSolFunctionPackageCommandError");
|
|
1319
|
+
var de_GetSolFunctionPackageContentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1320
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1321
|
+
return de_GetSolFunctionPackageContentCommandError(output, context);
|
|
1322
|
+
}
|
|
1323
|
+
const contents = (0, import_smithy_client.map)({
|
|
1324
|
+
$metadata: deserializeMetadata(output),
|
|
1325
|
+
[_cT]: [, output.headers[_ct]]
|
|
1326
|
+
});
|
|
1327
|
+
const data = await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1328
|
+
contents.packageContent = data;
|
|
1329
|
+
return contents;
|
|
1330
|
+
}, "de_GetSolFunctionPackageContentCommand");
|
|
1331
|
+
var de_GetSolFunctionPackageContentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1332
|
+
const parsedOutput = {
|
|
1333
|
+
...output,
|
|
1334
|
+
body: await parseErrorBody(output.body, context)
|
|
1335
|
+
};
|
|
1336
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1337
|
+
switch (errorCode) {
|
|
1338
|
+
case "AccessDeniedException":
|
|
1339
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1340
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1341
|
+
case "InternalServerException":
|
|
1342
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1343
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1344
|
+
case "ResourceNotFoundException":
|
|
1345
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1346
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1347
|
+
case "ThrottlingException":
|
|
1348
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1349
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1350
|
+
case "ValidationException":
|
|
1351
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1352
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1353
|
+
default:
|
|
1354
|
+
const parsedBody = parsedOutput.body;
|
|
1355
|
+
return throwDefaultError({
|
|
1356
|
+
output,
|
|
1357
|
+
parsedBody,
|
|
1358
|
+
errorCode
|
|
1359
|
+
});
|
|
1360
|
+
}
|
|
1361
|
+
}, "de_GetSolFunctionPackageContentCommandError");
|
|
1362
|
+
var de_GetSolFunctionPackageDescriptorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1363
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1364
|
+
return de_GetSolFunctionPackageDescriptorCommandError(output, context);
|
|
1365
|
+
}
|
|
1366
|
+
const contents = (0, import_smithy_client.map)({
|
|
1367
|
+
$metadata: deserializeMetadata(output),
|
|
1368
|
+
[_cT]: [, output.headers[_ct]]
|
|
1369
|
+
});
|
|
1370
|
+
const data = await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1371
|
+
contents.vnfd = data;
|
|
1372
|
+
return contents;
|
|
1373
|
+
}, "de_GetSolFunctionPackageDescriptorCommand");
|
|
1374
|
+
var de_GetSolFunctionPackageDescriptorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1375
|
+
const parsedOutput = {
|
|
1376
|
+
...output,
|
|
1377
|
+
body: await parseErrorBody(output.body, context)
|
|
1378
|
+
};
|
|
1379
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1380
|
+
switch (errorCode) {
|
|
1381
|
+
case "AccessDeniedException":
|
|
1382
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1383
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1384
|
+
case "InternalServerException":
|
|
1385
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1386
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1387
|
+
case "ResourceNotFoundException":
|
|
1388
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1389
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1390
|
+
case "ThrottlingException":
|
|
1391
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1392
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1393
|
+
case "ValidationException":
|
|
1394
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1395
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1396
|
+
default:
|
|
1397
|
+
const parsedBody = parsedOutput.body;
|
|
1398
|
+
return throwDefaultError({
|
|
1399
|
+
output,
|
|
1400
|
+
parsedBody,
|
|
1401
|
+
errorCode
|
|
1402
|
+
});
|
|
1403
|
+
}
|
|
1404
|
+
}, "de_GetSolFunctionPackageDescriptorCommandError");
|
|
1405
|
+
var de_GetSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1406
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1407
|
+
return de_GetSolNetworkInstanceCommandError(output, context);
|
|
1408
|
+
}
|
|
1409
|
+
const contents = (0, import_smithy_client.map)({
|
|
1410
|
+
$metadata: deserializeMetadata(output)
|
|
1411
|
+
});
|
|
1412
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1413
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1414
|
+
arn: import_smithy_client.expectString,
|
|
1415
|
+
id: import_smithy_client.expectString,
|
|
1416
|
+
lcmOpInfo: import_smithy_client._json,
|
|
1417
|
+
metadata: (_) => de_GetSolNetworkInstanceMetadata(_, context),
|
|
1418
|
+
nsInstanceDescription: import_smithy_client.expectString,
|
|
1419
|
+
nsInstanceName: import_smithy_client.expectString,
|
|
1420
|
+
nsState: import_smithy_client.expectString,
|
|
1421
|
+
nsdId: import_smithy_client.expectString,
|
|
1422
|
+
nsdInfoId: import_smithy_client.expectString,
|
|
1423
|
+
tags: import_smithy_client._json
|
|
1424
|
+
});
|
|
1425
|
+
Object.assign(contents, doc);
|
|
1426
|
+
return contents;
|
|
1427
|
+
}, "de_GetSolNetworkInstanceCommand");
|
|
1428
|
+
var de_GetSolNetworkInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1429
|
+
const parsedOutput = {
|
|
1430
|
+
...output,
|
|
1431
|
+
body: await parseErrorBody(output.body, context)
|
|
1432
|
+
};
|
|
1433
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1434
|
+
switch (errorCode) {
|
|
1435
|
+
case "AccessDeniedException":
|
|
1436
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1437
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1438
|
+
case "InternalServerException":
|
|
1439
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1440
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1441
|
+
case "ResourceNotFoundException":
|
|
1442
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1443
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1444
|
+
case "ThrottlingException":
|
|
1445
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1446
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1447
|
+
case "ValidationException":
|
|
1448
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1449
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1450
|
+
default:
|
|
1451
|
+
const parsedBody = parsedOutput.body;
|
|
1452
|
+
return throwDefaultError({
|
|
1453
|
+
output,
|
|
1454
|
+
parsedBody,
|
|
1455
|
+
errorCode
|
|
1456
|
+
});
|
|
1457
|
+
}
|
|
1458
|
+
}, "de_GetSolNetworkInstanceCommandError");
|
|
1459
|
+
var de_GetSolNetworkOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1460
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1461
|
+
return de_GetSolNetworkOperationCommandError(output, context);
|
|
1462
|
+
}
|
|
1463
|
+
const contents = (0, import_smithy_client.map)({
|
|
1464
|
+
$metadata: deserializeMetadata(output)
|
|
1465
|
+
});
|
|
1466
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1467
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1468
|
+
arn: import_smithy_client.expectString,
|
|
1469
|
+
error: import_smithy_client._json,
|
|
1470
|
+
id: import_smithy_client.expectString,
|
|
1471
|
+
lcmOperationType: import_smithy_client.expectString,
|
|
1472
|
+
metadata: (_) => de_GetSolNetworkOperationMetadata(_, context),
|
|
1473
|
+
nsInstanceId: import_smithy_client.expectString,
|
|
1474
|
+
operationState: import_smithy_client.expectString,
|
|
1475
|
+
tags: import_smithy_client._json,
|
|
1476
|
+
tasks: (_) => de_GetSolNetworkOperationTasksList(_, context)
|
|
1477
|
+
});
|
|
1478
|
+
Object.assign(contents, doc);
|
|
1479
|
+
return contents;
|
|
1480
|
+
}, "de_GetSolNetworkOperationCommand");
|
|
1481
|
+
var de_GetSolNetworkOperationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1482
|
+
const parsedOutput = {
|
|
1483
|
+
...output,
|
|
1484
|
+
body: await parseErrorBody(output.body, context)
|
|
1485
|
+
};
|
|
1486
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1487
|
+
switch (errorCode) {
|
|
1488
|
+
case "AccessDeniedException":
|
|
1489
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1490
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1491
|
+
case "InternalServerException":
|
|
1492
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1493
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1494
|
+
case "ResourceNotFoundException":
|
|
1495
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1496
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1497
|
+
case "ThrottlingException":
|
|
1498
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1499
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1500
|
+
case "ValidationException":
|
|
1501
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1502
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1503
|
+
default:
|
|
1504
|
+
const parsedBody = parsedOutput.body;
|
|
1505
|
+
return throwDefaultError({
|
|
1506
|
+
output,
|
|
1507
|
+
parsedBody,
|
|
1508
|
+
errorCode
|
|
1509
|
+
});
|
|
1510
|
+
}
|
|
1511
|
+
}, "de_GetSolNetworkOperationCommandError");
|
|
1512
|
+
var de_GetSolNetworkPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1513
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1514
|
+
return de_GetSolNetworkPackageCommandError(output, context);
|
|
1515
|
+
}
|
|
1516
|
+
const contents = (0, import_smithy_client.map)({
|
|
1517
|
+
$metadata: deserializeMetadata(output)
|
|
1518
|
+
});
|
|
1519
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1520
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1521
|
+
arn: import_smithy_client.expectString,
|
|
1522
|
+
id: import_smithy_client.expectString,
|
|
1523
|
+
metadata: (_) => de_GetSolNetworkPackageMetadata(_, context),
|
|
1524
|
+
nsdId: import_smithy_client.expectString,
|
|
1525
|
+
nsdName: import_smithy_client.expectString,
|
|
1526
|
+
nsdOnboardingState: import_smithy_client.expectString,
|
|
1527
|
+
nsdOperationalState: import_smithy_client.expectString,
|
|
1528
|
+
nsdUsageState: import_smithy_client.expectString,
|
|
1529
|
+
nsdVersion: import_smithy_client.expectString,
|
|
1530
|
+
tags: import_smithy_client._json,
|
|
1531
|
+
vnfPkgIds: import_smithy_client._json
|
|
1532
|
+
});
|
|
1533
|
+
Object.assign(contents, doc);
|
|
1534
|
+
return contents;
|
|
1535
|
+
}, "de_GetSolNetworkPackageCommand");
|
|
1536
|
+
var de_GetSolNetworkPackageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1537
|
+
const parsedOutput = {
|
|
1538
|
+
...output,
|
|
1539
|
+
body: await parseErrorBody(output.body, context)
|
|
1540
|
+
};
|
|
1541
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1542
|
+
switch (errorCode) {
|
|
1543
|
+
case "AccessDeniedException":
|
|
1544
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1545
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1546
|
+
case "InternalServerException":
|
|
1547
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1548
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1549
|
+
case "ResourceNotFoundException":
|
|
1550
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1551
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1552
|
+
case "ThrottlingException":
|
|
1553
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1554
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1555
|
+
case "ValidationException":
|
|
1556
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1557
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1558
|
+
default:
|
|
1559
|
+
const parsedBody = parsedOutput.body;
|
|
1560
|
+
return throwDefaultError({
|
|
1561
|
+
output,
|
|
1562
|
+
parsedBody,
|
|
1563
|
+
errorCode
|
|
1564
|
+
});
|
|
1565
|
+
}
|
|
1566
|
+
}, "de_GetSolNetworkPackageCommandError");
|
|
1567
|
+
var de_GetSolNetworkPackageContentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1568
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1569
|
+
return de_GetSolNetworkPackageContentCommandError(output, context);
|
|
1570
|
+
}
|
|
1571
|
+
const contents = (0, import_smithy_client.map)({
|
|
1572
|
+
$metadata: deserializeMetadata(output),
|
|
1573
|
+
[_cT]: [, output.headers[_ct]]
|
|
1574
|
+
});
|
|
1575
|
+
const data = await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1576
|
+
contents.nsdContent = data;
|
|
1577
|
+
return contents;
|
|
1578
|
+
}, "de_GetSolNetworkPackageContentCommand");
|
|
1579
|
+
var de_GetSolNetworkPackageContentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1580
|
+
const parsedOutput = {
|
|
1581
|
+
...output,
|
|
1582
|
+
body: await parseErrorBody(output.body, context)
|
|
1583
|
+
};
|
|
1584
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1585
|
+
switch (errorCode) {
|
|
1586
|
+
case "AccessDeniedException":
|
|
1587
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1588
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1589
|
+
case "InternalServerException":
|
|
1590
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1591
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1592
|
+
case "ResourceNotFoundException":
|
|
1593
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1594
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1595
|
+
case "ThrottlingException":
|
|
1596
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1597
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1598
|
+
case "ValidationException":
|
|
1599
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1600
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1601
|
+
default:
|
|
1602
|
+
const parsedBody = parsedOutput.body;
|
|
1603
|
+
return throwDefaultError({
|
|
1604
|
+
output,
|
|
1605
|
+
parsedBody,
|
|
1606
|
+
errorCode
|
|
1607
|
+
});
|
|
1608
|
+
}
|
|
1609
|
+
}, "de_GetSolNetworkPackageContentCommandError");
|
|
1610
|
+
var de_GetSolNetworkPackageDescriptorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1611
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1612
|
+
return de_GetSolNetworkPackageDescriptorCommandError(output, context);
|
|
1613
|
+
}
|
|
1614
|
+
const contents = (0, import_smithy_client.map)({
|
|
1615
|
+
$metadata: deserializeMetadata(output),
|
|
1616
|
+
[_cT]: [, output.headers[_ct]]
|
|
1617
|
+
});
|
|
1618
|
+
const data = await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1619
|
+
contents.nsd = data;
|
|
1620
|
+
return contents;
|
|
1621
|
+
}, "de_GetSolNetworkPackageDescriptorCommand");
|
|
1622
|
+
var de_GetSolNetworkPackageDescriptorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1623
|
+
const parsedOutput = {
|
|
1624
|
+
...output,
|
|
1625
|
+
body: await parseErrorBody(output.body, context)
|
|
1626
|
+
};
|
|
1627
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1628
|
+
switch (errorCode) {
|
|
1629
|
+
case "AccessDeniedException":
|
|
1630
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1631
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1632
|
+
case "InternalServerException":
|
|
1633
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1634
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1635
|
+
case "ResourceNotFoundException":
|
|
1636
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1637
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1638
|
+
case "ThrottlingException":
|
|
1639
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1640
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1641
|
+
case "ValidationException":
|
|
1642
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1643
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1644
|
+
default:
|
|
1645
|
+
const parsedBody = parsedOutput.body;
|
|
1646
|
+
return throwDefaultError({
|
|
1647
|
+
output,
|
|
1648
|
+
parsedBody,
|
|
1649
|
+
errorCode
|
|
1650
|
+
});
|
|
1651
|
+
}
|
|
1652
|
+
}, "de_GetSolNetworkPackageDescriptorCommandError");
|
|
1653
|
+
var de_InstantiateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1654
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1655
|
+
return de_InstantiateSolNetworkInstanceCommandError(output, context);
|
|
1656
|
+
}
|
|
1657
|
+
const contents = (0, import_smithy_client.map)({
|
|
1658
|
+
$metadata: deserializeMetadata(output)
|
|
1659
|
+
});
|
|
1660
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1661
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1662
|
+
nsLcmOpOccId: import_smithy_client.expectString,
|
|
1663
|
+
tags: import_smithy_client._json
|
|
1664
|
+
});
|
|
1665
|
+
Object.assign(contents, doc);
|
|
1666
|
+
return contents;
|
|
1667
|
+
}, "de_InstantiateSolNetworkInstanceCommand");
|
|
1668
|
+
var de_InstantiateSolNetworkInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1669
|
+
const parsedOutput = {
|
|
1670
|
+
...output,
|
|
1671
|
+
body: await parseErrorBody(output.body, context)
|
|
1672
|
+
};
|
|
1673
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1674
|
+
switch (errorCode) {
|
|
1675
|
+
case "AccessDeniedException":
|
|
1676
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1677
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1678
|
+
case "InternalServerException":
|
|
1679
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1680
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1681
|
+
case "ResourceNotFoundException":
|
|
1682
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1683
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1684
|
+
case "ServiceQuotaExceededException":
|
|
1685
|
+
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
1686
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1687
|
+
case "ThrottlingException":
|
|
1688
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1689
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1690
|
+
case "ValidationException":
|
|
1691
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1692
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1693
|
+
default:
|
|
1694
|
+
const parsedBody = parsedOutput.body;
|
|
1695
|
+
return throwDefaultError({
|
|
1696
|
+
output,
|
|
1697
|
+
parsedBody,
|
|
1698
|
+
errorCode
|
|
1699
|
+
});
|
|
1700
|
+
}
|
|
1701
|
+
}, "de_InstantiateSolNetworkInstanceCommandError");
|
|
1702
|
+
var de_ListSolFunctionInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1703
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1704
|
+
return de_ListSolFunctionInstancesCommandError(output, context);
|
|
1705
|
+
}
|
|
1706
|
+
const contents = (0, import_smithy_client.map)({
|
|
1707
|
+
$metadata: deserializeMetadata(output)
|
|
1708
|
+
});
|
|
1709
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1710
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1711
|
+
functionInstances: (_) => de_ListSolFunctionInstanceResources(_, context),
|
|
1712
|
+
nextToken: import_smithy_client.expectString
|
|
1713
|
+
});
|
|
1714
|
+
Object.assign(contents, doc);
|
|
1715
|
+
return contents;
|
|
1716
|
+
}, "de_ListSolFunctionInstancesCommand");
|
|
1717
|
+
var de_ListSolFunctionInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1718
|
+
const parsedOutput = {
|
|
1719
|
+
...output,
|
|
1720
|
+
body: await parseErrorBody(output.body, context)
|
|
1721
|
+
};
|
|
1722
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1723
|
+
switch (errorCode) {
|
|
1724
|
+
case "AccessDeniedException":
|
|
1725
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1726
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1727
|
+
case "InternalServerException":
|
|
1728
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1729
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1730
|
+
case "ThrottlingException":
|
|
1731
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1732
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1733
|
+
case "ValidationException":
|
|
1734
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1735
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1736
|
+
default:
|
|
1737
|
+
const parsedBody = parsedOutput.body;
|
|
1738
|
+
return throwDefaultError({
|
|
1739
|
+
output,
|
|
1740
|
+
parsedBody,
|
|
1741
|
+
errorCode
|
|
1742
|
+
});
|
|
1743
|
+
}
|
|
1744
|
+
}, "de_ListSolFunctionInstancesCommandError");
|
|
1745
|
+
var de_ListSolFunctionPackagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1746
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1747
|
+
return de_ListSolFunctionPackagesCommandError(output, context);
|
|
1748
|
+
}
|
|
1749
|
+
const contents = (0, import_smithy_client.map)({
|
|
1750
|
+
$metadata: deserializeMetadata(output)
|
|
1751
|
+
});
|
|
1752
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1753
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1754
|
+
functionPackages: (_) => de_ListSolFunctionPackageResources(_, context),
|
|
1755
|
+
nextToken: import_smithy_client.expectString
|
|
1756
|
+
});
|
|
1757
|
+
Object.assign(contents, doc);
|
|
1758
|
+
return contents;
|
|
1759
|
+
}, "de_ListSolFunctionPackagesCommand");
|
|
1760
|
+
var de_ListSolFunctionPackagesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1761
|
+
const parsedOutput = {
|
|
1762
|
+
...output,
|
|
1763
|
+
body: await parseErrorBody(output.body, context)
|
|
1764
|
+
};
|
|
1765
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1766
|
+
switch (errorCode) {
|
|
1767
|
+
case "AccessDeniedException":
|
|
1768
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1769
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1770
|
+
case "InternalServerException":
|
|
1771
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1772
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1773
|
+
case "ThrottlingException":
|
|
1774
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1775
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1776
|
+
case "ValidationException":
|
|
1777
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1778
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1779
|
+
default:
|
|
1780
|
+
const parsedBody = parsedOutput.body;
|
|
1781
|
+
return throwDefaultError({
|
|
1782
|
+
output,
|
|
1783
|
+
parsedBody,
|
|
1784
|
+
errorCode
|
|
1785
|
+
});
|
|
1786
|
+
}
|
|
1787
|
+
}, "de_ListSolFunctionPackagesCommandError");
|
|
1788
|
+
var de_ListSolNetworkInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1789
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1790
|
+
return de_ListSolNetworkInstancesCommandError(output, context);
|
|
1791
|
+
}
|
|
1792
|
+
const contents = (0, import_smithy_client.map)({
|
|
1793
|
+
$metadata: deserializeMetadata(output)
|
|
1794
|
+
});
|
|
1795
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1796
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1797
|
+
networkInstances: (_) => de_ListSolNetworkInstanceResources(_, context),
|
|
1798
|
+
nextToken: import_smithy_client.expectString
|
|
1799
|
+
});
|
|
1800
|
+
Object.assign(contents, doc);
|
|
1801
|
+
return contents;
|
|
1802
|
+
}, "de_ListSolNetworkInstancesCommand");
|
|
1803
|
+
var de_ListSolNetworkInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1804
|
+
const parsedOutput = {
|
|
1805
|
+
...output,
|
|
1806
|
+
body: await parseErrorBody(output.body, context)
|
|
1807
|
+
};
|
|
1808
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1809
|
+
switch (errorCode) {
|
|
1810
|
+
case "AccessDeniedException":
|
|
1811
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1812
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1813
|
+
case "InternalServerException":
|
|
1814
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1815
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1816
|
+
case "ThrottlingException":
|
|
1817
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1818
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1819
|
+
case "ValidationException":
|
|
1820
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1821
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1822
|
+
default:
|
|
1823
|
+
const parsedBody = parsedOutput.body;
|
|
1824
|
+
return throwDefaultError({
|
|
1825
|
+
output,
|
|
1826
|
+
parsedBody,
|
|
1827
|
+
errorCode
|
|
1828
|
+
});
|
|
1829
|
+
}
|
|
1830
|
+
}, "de_ListSolNetworkInstancesCommandError");
|
|
1831
|
+
var de_ListSolNetworkOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1832
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1833
|
+
return de_ListSolNetworkOperationsCommandError(output, context);
|
|
1834
|
+
}
|
|
1835
|
+
const contents = (0, import_smithy_client.map)({
|
|
1836
|
+
$metadata: deserializeMetadata(output)
|
|
1837
|
+
});
|
|
1838
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1839
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1840
|
+
networkOperations: (_) => de_ListSolNetworkOperationsResources(_, context),
|
|
1841
|
+
nextToken: import_smithy_client.expectString
|
|
1842
|
+
});
|
|
1843
|
+
Object.assign(contents, doc);
|
|
1844
|
+
return contents;
|
|
1845
|
+
}, "de_ListSolNetworkOperationsCommand");
|
|
1846
|
+
var de_ListSolNetworkOperationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1847
|
+
const parsedOutput = {
|
|
1848
|
+
...output,
|
|
1849
|
+
body: await parseErrorBody(output.body, context)
|
|
1850
|
+
};
|
|
1851
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1852
|
+
switch (errorCode) {
|
|
1853
|
+
case "AccessDeniedException":
|
|
1854
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1855
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1856
|
+
case "InternalServerException":
|
|
1857
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1858
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1859
|
+
case "ThrottlingException":
|
|
1860
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1861
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1862
|
+
case "ValidationException":
|
|
1863
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1864
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1865
|
+
default:
|
|
1866
|
+
const parsedBody = parsedOutput.body;
|
|
1867
|
+
return throwDefaultError({
|
|
1868
|
+
output,
|
|
1869
|
+
parsedBody,
|
|
1870
|
+
errorCode
|
|
1871
|
+
});
|
|
1872
|
+
}
|
|
1873
|
+
}, "de_ListSolNetworkOperationsCommandError");
|
|
1874
|
+
var de_ListSolNetworkPackagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1875
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1876
|
+
return de_ListSolNetworkPackagesCommandError(output, context);
|
|
1877
|
+
}
|
|
1878
|
+
const contents = (0, import_smithy_client.map)({
|
|
1879
|
+
$metadata: deserializeMetadata(output)
|
|
1880
|
+
});
|
|
1881
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1882
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1883
|
+
networkPackages: (_) => de_ListSolNetworkPackageResources(_, context),
|
|
1884
|
+
nextToken: import_smithy_client.expectString
|
|
1885
|
+
});
|
|
1886
|
+
Object.assign(contents, doc);
|
|
1887
|
+
return contents;
|
|
1888
|
+
}, "de_ListSolNetworkPackagesCommand");
|
|
1889
|
+
var de_ListSolNetworkPackagesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1890
|
+
const parsedOutput = {
|
|
1891
|
+
...output,
|
|
1892
|
+
body: await parseErrorBody(output.body, context)
|
|
1893
|
+
};
|
|
1894
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1895
|
+
switch (errorCode) {
|
|
1896
|
+
case "AccessDeniedException":
|
|
1897
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1898
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1899
|
+
case "InternalServerException":
|
|
1900
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1901
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1902
|
+
case "ThrottlingException":
|
|
1903
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1904
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1905
|
+
case "ValidationException":
|
|
1906
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1907
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1908
|
+
default:
|
|
1909
|
+
const parsedBody = parsedOutput.body;
|
|
1910
|
+
return throwDefaultError({
|
|
1911
|
+
output,
|
|
1912
|
+
parsedBody,
|
|
1913
|
+
errorCode
|
|
1914
|
+
});
|
|
1915
|
+
}
|
|
1916
|
+
}, "de_ListSolNetworkPackagesCommandError");
|
|
1917
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1918
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1919
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1920
|
+
}
|
|
1921
|
+
const contents = (0, import_smithy_client.map)({
|
|
1922
|
+
$metadata: deserializeMetadata(output)
|
|
1923
|
+
});
|
|
1924
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1925
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1926
|
+
tags: import_smithy_client._json
|
|
1927
|
+
});
|
|
1928
|
+
Object.assign(contents, doc);
|
|
1929
|
+
return contents;
|
|
1930
|
+
}, "de_ListTagsForResourceCommand");
|
|
1931
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1932
|
+
const parsedOutput = {
|
|
1933
|
+
...output,
|
|
1934
|
+
body: await parseErrorBody(output.body, context)
|
|
1935
|
+
};
|
|
1936
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1937
|
+
switch (errorCode) {
|
|
1938
|
+
case "AccessDeniedException":
|
|
1939
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1940
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1941
|
+
case "InternalServerException":
|
|
1942
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1943
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1944
|
+
case "ResourceNotFoundException":
|
|
1945
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1946
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1947
|
+
case "ThrottlingException":
|
|
1948
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1949
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1950
|
+
case "ValidationException":
|
|
1951
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
1952
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1953
|
+
default:
|
|
1954
|
+
const parsedBody = parsedOutput.body;
|
|
1955
|
+
return throwDefaultError({
|
|
1956
|
+
output,
|
|
1957
|
+
parsedBody,
|
|
1958
|
+
errorCode
|
|
1959
|
+
});
|
|
1960
|
+
}
|
|
1961
|
+
}, "de_ListTagsForResourceCommandError");
|
|
1962
|
+
var de_PutSolFunctionPackageContentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1963
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1964
|
+
return de_PutSolFunctionPackageContentCommandError(output, context);
|
|
1965
|
+
}
|
|
1966
|
+
const contents = (0, import_smithy_client.map)({
|
|
1967
|
+
$metadata: deserializeMetadata(output)
|
|
1968
|
+
});
|
|
1969
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1970
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1971
|
+
id: import_smithy_client.expectString,
|
|
1972
|
+
metadata: import_smithy_client._json,
|
|
1973
|
+
vnfProductName: import_smithy_client.expectString,
|
|
1974
|
+
vnfProvider: import_smithy_client.expectString,
|
|
1975
|
+
vnfdId: import_smithy_client.expectString,
|
|
1976
|
+
vnfdVersion: import_smithy_client.expectString
|
|
1977
|
+
});
|
|
1978
|
+
Object.assign(contents, doc);
|
|
1979
|
+
return contents;
|
|
1980
|
+
}, "de_PutSolFunctionPackageContentCommand");
|
|
1981
|
+
var de_PutSolFunctionPackageContentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1982
|
+
const parsedOutput = {
|
|
1983
|
+
...output,
|
|
1984
|
+
body: await parseErrorBody(output.body, context)
|
|
1985
|
+
};
|
|
1986
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1987
|
+
switch (errorCode) {
|
|
1988
|
+
case "AccessDeniedException":
|
|
1989
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
1990
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1991
|
+
case "InternalServerException":
|
|
1992
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
1993
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1994
|
+
case "ResourceNotFoundException":
|
|
1995
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
1996
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1997
|
+
case "ThrottlingException":
|
|
1998
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
1999
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2000
|
+
case "ValidationException":
|
|
2001
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
2002
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2003
|
+
default:
|
|
2004
|
+
const parsedBody = parsedOutput.body;
|
|
2005
|
+
return throwDefaultError({
|
|
2006
|
+
output,
|
|
2007
|
+
parsedBody,
|
|
2008
|
+
errorCode
|
|
2009
|
+
});
|
|
2010
|
+
}
|
|
2011
|
+
}, "de_PutSolFunctionPackageContentCommandError");
|
|
2012
|
+
var de_PutSolNetworkPackageContentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2013
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2014
|
+
return de_PutSolNetworkPackageContentCommandError(output, context);
|
|
2015
|
+
}
|
|
2016
|
+
const contents = (0, import_smithy_client.map)({
|
|
2017
|
+
$metadata: deserializeMetadata(output)
|
|
2018
|
+
});
|
|
2019
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2020
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2021
|
+
arn: import_smithy_client.expectString,
|
|
2022
|
+
id: import_smithy_client.expectString,
|
|
2023
|
+
metadata: import_smithy_client._json,
|
|
2024
|
+
nsdId: import_smithy_client.expectString,
|
|
2025
|
+
nsdName: import_smithy_client.expectString,
|
|
2026
|
+
nsdVersion: import_smithy_client.expectString,
|
|
2027
|
+
vnfPkgIds: import_smithy_client._json
|
|
2028
|
+
});
|
|
2029
|
+
Object.assign(contents, doc);
|
|
2030
|
+
return contents;
|
|
2031
|
+
}, "de_PutSolNetworkPackageContentCommand");
|
|
2032
|
+
var de_PutSolNetworkPackageContentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2033
|
+
const parsedOutput = {
|
|
2034
|
+
...output,
|
|
2035
|
+
body: await parseErrorBody(output.body, context)
|
|
2036
|
+
};
|
|
2037
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2038
|
+
switch (errorCode) {
|
|
2039
|
+
case "AccessDeniedException":
|
|
2040
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2041
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2042
|
+
case "InternalServerException":
|
|
2043
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
2044
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2045
|
+
case "ResourceNotFoundException":
|
|
2046
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2047
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2048
|
+
case "ThrottlingException":
|
|
2049
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
2050
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2051
|
+
case "ValidationException":
|
|
2052
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
2053
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2054
|
+
default:
|
|
2055
|
+
const parsedBody = parsedOutput.body;
|
|
2056
|
+
return throwDefaultError({
|
|
2057
|
+
output,
|
|
2058
|
+
parsedBody,
|
|
2059
|
+
errorCode
|
|
2060
|
+
});
|
|
2061
|
+
}
|
|
2062
|
+
}, "de_PutSolNetworkPackageContentCommandError");
|
|
2063
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2064
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2065
|
+
return de_TagResourceCommandError(output, context);
|
|
2066
|
+
}
|
|
2067
|
+
const contents = (0, import_smithy_client.map)({
|
|
2068
|
+
$metadata: deserializeMetadata(output)
|
|
2069
|
+
});
|
|
2070
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2071
|
+
return contents;
|
|
2072
|
+
}, "de_TagResourceCommand");
|
|
2073
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2074
|
+
const parsedOutput = {
|
|
2075
|
+
...output,
|
|
2076
|
+
body: await parseErrorBody(output.body, context)
|
|
2077
|
+
};
|
|
2078
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2079
|
+
switch (errorCode) {
|
|
2080
|
+
case "AccessDeniedException":
|
|
2081
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2082
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2083
|
+
case "InternalServerException":
|
|
2084
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
2085
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2086
|
+
case "ResourceNotFoundException":
|
|
2087
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2088
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2089
|
+
case "ThrottlingException":
|
|
2090
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
2091
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2092
|
+
case "ValidationException":
|
|
2093
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
2094
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2095
|
+
default:
|
|
2096
|
+
const parsedBody = parsedOutput.body;
|
|
2097
|
+
return throwDefaultError({
|
|
2098
|
+
output,
|
|
2099
|
+
parsedBody,
|
|
2100
|
+
errorCode
|
|
2101
|
+
});
|
|
2102
|
+
}
|
|
2103
|
+
}, "de_TagResourceCommandError");
|
|
2104
|
+
var de_TerminateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2105
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2106
|
+
return de_TerminateSolNetworkInstanceCommandError(output, context);
|
|
2107
|
+
}
|
|
2108
|
+
const contents = (0, import_smithy_client.map)({
|
|
2109
|
+
$metadata: deserializeMetadata(output)
|
|
2110
|
+
});
|
|
2111
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2112
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2113
|
+
nsLcmOpOccId: import_smithy_client.expectString,
|
|
2114
|
+
tags: import_smithy_client._json
|
|
2115
|
+
});
|
|
2116
|
+
Object.assign(contents, doc);
|
|
2117
|
+
return contents;
|
|
2118
|
+
}, "de_TerminateSolNetworkInstanceCommand");
|
|
2119
|
+
var de_TerminateSolNetworkInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2120
|
+
const parsedOutput = {
|
|
2121
|
+
...output,
|
|
2122
|
+
body: await parseErrorBody(output.body, context)
|
|
2123
|
+
};
|
|
2124
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2125
|
+
switch (errorCode) {
|
|
2126
|
+
case "AccessDeniedException":
|
|
2127
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2128
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2129
|
+
case "InternalServerException":
|
|
2130
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
2131
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2132
|
+
case "ResourceNotFoundException":
|
|
2133
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2134
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2135
|
+
case "ServiceQuotaExceededException":
|
|
2136
|
+
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
2137
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2138
|
+
case "ThrottlingException":
|
|
2139
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
2140
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2141
|
+
case "ValidationException":
|
|
2142
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
2143
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2144
|
+
default:
|
|
2145
|
+
const parsedBody = parsedOutput.body;
|
|
2146
|
+
return throwDefaultError({
|
|
2147
|
+
output,
|
|
2148
|
+
parsedBody,
|
|
2149
|
+
errorCode
|
|
2150
|
+
});
|
|
2151
|
+
}
|
|
2152
|
+
}, "de_TerminateSolNetworkInstanceCommandError");
|
|
2153
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2154
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2155
|
+
return de_UntagResourceCommandError(output, context);
|
|
2156
|
+
}
|
|
2157
|
+
const contents = (0, import_smithy_client.map)({
|
|
2158
|
+
$metadata: deserializeMetadata(output)
|
|
2159
|
+
});
|
|
2160
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2161
|
+
return contents;
|
|
2162
|
+
}, "de_UntagResourceCommand");
|
|
2163
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2164
|
+
const parsedOutput = {
|
|
2165
|
+
...output,
|
|
2166
|
+
body: await parseErrorBody(output.body, context)
|
|
2167
|
+
};
|
|
2168
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2169
|
+
switch (errorCode) {
|
|
2170
|
+
case "AccessDeniedException":
|
|
2171
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2172
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2173
|
+
case "InternalServerException":
|
|
2174
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
2175
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2176
|
+
case "ResourceNotFoundException":
|
|
2177
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2178
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2179
|
+
case "ThrottlingException":
|
|
2180
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
2181
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2182
|
+
case "ValidationException":
|
|
2183
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
2184
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2185
|
+
default:
|
|
2186
|
+
const parsedBody = parsedOutput.body;
|
|
2187
|
+
return throwDefaultError({
|
|
2188
|
+
output,
|
|
2189
|
+
parsedBody,
|
|
2190
|
+
errorCode
|
|
2191
|
+
});
|
|
2192
|
+
}
|
|
2193
|
+
}, "de_UntagResourceCommandError");
|
|
2194
|
+
var de_UpdateSolFunctionPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2195
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2196
|
+
return de_UpdateSolFunctionPackageCommandError(output, context);
|
|
2197
|
+
}
|
|
2198
|
+
const contents = (0, import_smithy_client.map)({
|
|
2199
|
+
$metadata: deserializeMetadata(output)
|
|
2200
|
+
});
|
|
2201
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2202
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2203
|
+
operationalState: import_smithy_client.expectString
|
|
2204
|
+
});
|
|
2205
|
+
Object.assign(contents, doc);
|
|
2206
|
+
return contents;
|
|
2207
|
+
}, "de_UpdateSolFunctionPackageCommand");
|
|
2208
|
+
var de_UpdateSolFunctionPackageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2209
|
+
const parsedOutput = {
|
|
2210
|
+
...output,
|
|
2211
|
+
body: await parseErrorBody(output.body, context)
|
|
2212
|
+
};
|
|
2213
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2214
|
+
switch (errorCode) {
|
|
2215
|
+
case "AccessDeniedException":
|
|
2216
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2217
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2218
|
+
case "InternalServerException":
|
|
2219
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
2220
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2221
|
+
case "ResourceNotFoundException":
|
|
2222
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2223
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2224
|
+
case "ThrottlingException":
|
|
2225
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
2226
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2227
|
+
case "ValidationException":
|
|
2228
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
2229
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2230
|
+
default:
|
|
2231
|
+
const parsedBody = parsedOutput.body;
|
|
2232
|
+
return throwDefaultError({
|
|
2233
|
+
output,
|
|
2234
|
+
parsedBody,
|
|
2235
|
+
errorCode
|
|
2236
|
+
});
|
|
2237
|
+
}
|
|
2238
|
+
}, "de_UpdateSolFunctionPackageCommandError");
|
|
2239
|
+
var de_UpdateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2240
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2241
|
+
return de_UpdateSolNetworkInstanceCommandError(output, context);
|
|
2242
|
+
}
|
|
2243
|
+
const contents = (0, import_smithy_client.map)({
|
|
2244
|
+
$metadata: deserializeMetadata(output)
|
|
2245
|
+
});
|
|
2246
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2247
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2248
|
+
nsLcmOpOccId: import_smithy_client.expectString,
|
|
2249
|
+
tags: import_smithy_client._json
|
|
2250
|
+
});
|
|
2251
|
+
Object.assign(contents, doc);
|
|
2252
|
+
return contents;
|
|
2253
|
+
}, "de_UpdateSolNetworkInstanceCommand");
|
|
2254
|
+
var de_UpdateSolNetworkInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2255
|
+
const parsedOutput = {
|
|
2256
|
+
...output,
|
|
2257
|
+
body: await parseErrorBody(output.body, context)
|
|
2258
|
+
};
|
|
2259
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2260
|
+
switch (errorCode) {
|
|
2261
|
+
case "AccessDeniedException":
|
|
2262
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2263
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2264
|
+
case "InternalServerException":
|
|
2265
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
2266
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2267
|
+
case "ResourceNotFoundException":
|
|
2268
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2269
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2270
|
+
case "ServiceQuotaExceededException":
|
|
2271
|
+
case "com.amazonaws.tnb#ServiceQuotaExceededException":
|
|
2272
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2273
|
+
case "ThrottlingException":
|
|
2274
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
2275
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2276
|
+
case "ValidationException":
|
|
2277
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
2278
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2279
|
+
default:
|
|
2280
|
+
const parsedBody = parsedOutput.body;
|
|
2281
|
+
return throwDefaultError({
|
|
2282
|
+
output,
|
|
2283
|
+
parsedBody,
|
|
2284
|
+
errorCode
|
|
2285
|
+
});
|
|
2286
|
+
}
|
|
2287
|
+
}, "de_UpdateSolNetworkInstanceCommandError");
|
|
2288
|
+
var de_UpdateSolNetworkPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2289
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2290
|
+
return de_UpdateSolNetworkPackageCommandError(output, context);
|
|
2291
|
+
}
|
|
2292
|
+
const contents = (0, import_smithy_client.map)({
|
|
2293
|
+
$metadata: deserializeMetadata(output)
|
|
2294
|
+
});
|
|
2295
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2296
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2297
|
+
nsdOperationalState: import_smithy_client.expectString
|
|
2298
|
+
});
|
|
2299
|
+
Object.assign(contents, doc);
|
|
2300
|
+
return contents;
|
|
2301
|
+
}, "de_UpdateSolNetworkPackageCommand");
|
|
2302
|
+
var de_UpdateSolNetworkPackageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2303
|
+
const parsedOutput = {
|
|
2304
|
+
...output,
|
|
2305
|
+
body: await parseErrorBody(output.body, context)
|
|
2306
|
+
};
|
|
2307
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2308
|
+
switch (errorCode) {
|
|
2309
|
+
case "AccessDeniedException":
|
|
2310
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2311
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2312
|
+
case "InternalServerException":
|
|
2313
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
2314
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2315
|
+
case "ResourceNotFoundException":
|
|
2316
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2317
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2318
|
+
case "ThrottlingException":
|
|
2319
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
2320
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2321
|
+
case "ValidationException":
|
|
2322
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
2323
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2324
|
+
default:
|
|
2325
|
+
const parsedBody = parsedOutput.body;
|
|
2326
|
+
return throwDefaultError({
|
|
2327
|
+
output,
|
|
2328
|
+
parsedBody,
|
|
2329
|
+
errorCode
|
|
2330
|
+
});
|
|
2331
|
+
}
|
|
2332
|
+
}, "de_UpdateSolNetworkPackageCommandError");
|
|
2333
|
+
var de_ValidateSolFunctionPackageContentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2334
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2335
|
+
return de_ValidateSolFunctionPackageContentCommandError(output, context);
|
|
2336
|
+
}
|
|
2337
|
+
const contents = (0, import_smithy_client.map)({
|
|
2338
|
+
$metadata: deserializeMetadata(output)
|
|
2339
|
+
});
|
|
2340
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2341
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2342
|
+
id: import_smithy_client.expectString,
|
|
2343
|
+
metadata: import_smithy_client._json,
|
|
2344
|
+
vnfProductName: import_smithy_client.expectString,
|
|
2345
|
+
vnfProvider: import_smithy_client.expectString,
|
|
2346
|
+
vnfdId: import_smithy_client.expectString,
|
|
2347
|
+
vnfdVersion: import_smithy_client.expectString
|
|
2348
|
+
});
|
|
2349
|
+
Object.assign(contents, doc);
|
|
2350
|
+
return contents;
|
|
2351
|
+
}, "de_ValidateSolFunctionPackageContentCommand");
|
|
2352
|
+
var de_ValidateSolFunctionPackageContentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2353
|
+
const parsedOutput = {
|
|
2354
|
+
...output,
|
|
2355
|
+
body: await parseErrorBody(output.body, context)
|
|
2356
|
+
};
|
|
2357
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2358
|
+
switch (errorCode) {
|
|
2359
|
+
case "AccessDeniedException":
|
|
2360
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2361
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2362
|
+
case "InternalServerException":
|
|
2363
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
2364
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2365
|
+
case "ResourceNotFoundException":
|
|
2366
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2367
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2368
|
+
case "ThrottlingException":
|
|
2369
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
2370
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2371
|
+
case "ValidationException":
|
|
2372
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
2373
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2374
|
+
default:
|
|
2375
|
+
const parsedBody = parsedOutput.body;
|
|
2376
|
+
return throwDefaultError({
|
|
2377
|
+
output,
|
|
2378
|
+
parsedBody,
|
|
2379
|
+
errorCode
|
|
2380
|
+
});
|
|
2381
|
+
}
|
|
2382
|
+
}, "de_ValidateSolFunctionPackageContentCommandError");
|
|
2383
|
+
var de_ValidateSolNetworkPackageContentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2384
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2385
|
+
return de_ValidateSolNetworkPackageContentCommandError(output, context);
|
|
2386
|
+
}
|
|
2387
|
+
const contents = (0, import_smithy_client.map)({
|
|
2388
|
+
$metadata: deserializeMetadata(output)
|
|
2389
|
+
});
|
|
2390
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2391
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2392
|
+
arn: import_smithy_client.expectString,
|
|
2393
|
+
id: import_smithy_client.expectString,
|
|
2394
|
+
metadata: import_smithy_client._json,
|
|
2395
|
+
nsdId: import_smithy_client.expectString,
|
|
2396
|
+
nsdName: import_smithy_client.expectString,
|
|
2397
|
+
nsdVersion: import_smithy_client.expectString,
|
|
2398
|
+
vnfPkgIds: import_smithy_client._json
|
|
2399
|
+
});
|
|
2400
|
+
Object.assign(contents, doc);
|
|
2401
|
+
return contents;
|
|
2402
|
+
}, "de_ValidateSolNetworkPackageContentCommand");
|
|
2403
|
+
var de_ValidateSolNetworkPackageContentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2404
|
+
const parsedOutput = {
|
|
2405
|
+
...output,
|
|
2406
|
+
body: await parseErrorBody(output.body, context)
|
|
2407
|
+
};
|
|
2408
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2409
|
+
switch (errorCode) {
|
|
2410
|
+
case "AccessDeniedException":
|
|
2411
|
+
case "com.amazonaws.tnb#AccessDeniedException":
|
|
2412
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2413
|
+
case "InternalServerException":
|
|
2414
|
+
case "com.amazonaws.tnb#InternalServerException":
|
|
2415
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2416
|
+
case "ResourceNotFoundException":
|
|
2417
|
+
case "com.amazonaws.tnb#ResourceNotFoundException":
|
|
2418
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2419
|
+
case "ThrottlingException":
|
|
2420
|
+
case "com.amazonaws.tnb#ThrottlingException":
|
|
2421
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2422
|
+
case "ValidationException":
|
|
2423
|
+
case "com.amazonaws.tnb#ValidationException":
|
|
2424
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2425
|
+
default:
|
|
2426
|
+
const parsedBody = parsedOutput.body;
|
|
2427
|
+
return throwDefaultError({
|
|
2428
|
+
output,
|
|
2429
|
+
parsedBody,
|
|
2430
|
+
errorCode
|
|
2431
|
+
});
|
|
2432
|
+
}
|
|
2433
|
+
}, "de_ValidateSolNetworkPackageContentCommandError");
|
|
2434
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(TnbServiceException);
|
|
2435
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2436
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2437
|
+
const data = parsedOutput.body;
|
|
2438
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2439
|
+
message: import_smithy_client.expectString
|
|
2440
|
+
});
|
|
2441
|
+
Object.assign(contents, doc);
|
|
2442
|
+
const exception = new AccessDeniedException({
|
|
2443
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2444
|
+
...contents
|
|
2445
|
+
});
|
|
2446
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2447
|
+
}, "de_AccessDeniedExceptionRes");
|
|
2448
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2449
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2450
|
+
const data = parsedOutput.body;
|
|
2451
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2452
|
+
message: import_smithy_client.expectString
|
|
2453
|
+
});
|
|
2454
|
+
Object.assign(contents, doc);
|
|
2455
|
+
const exception = new InternalServerException({
|
|
2456
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2457
|
+
...contents
|
|
2458
|
+
});
|
|
2459
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2460
|
+
}, "de_InternalServerExceptionRes");
|
|
2461
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2462
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2463
|
+
const data = parsedOutput.body;
|
|
2464
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2465
|
+
message: import_smithy_client.expectString
|
|
2466
|
+
});
|
|
2467
|
+
Object.assign(contents, doc);
|
|
2468
|
+
const exception = new ResourceNotFoundException({
|
|
2469
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2470
|
+
...contents
|
|
2471
|
+
});
|
|
2472
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2473
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2474
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2475
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2476
|
+
const data = parsedOutput.body;
|
|
2477
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2478
|
+
message: import_smithy_client.expectString
|
|
2479
|
+
});
|
|
2480
|
+
Object.assign(contents, doc);
|
|
2481
|
+
const exception = new ServiceQuotaExceededException({
|
|
2482
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2483
|
+
...contents
|
|
2484
|
+
});
|
|
2485
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2486
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
2487
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2488
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2489
|
+
const data = parsedOutput.body;
|
|
2490
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2491
|
+
message: import_smithy_client.expectString
|
|
2492
|
+
});
|
|
2493
|
+
Object.assign(contents, doc);
|
|
2494
|
+
const exception = new ThrottlingException({
|
|
2495
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2496
|
+
...contents
|
|
2497
|
+
});
|
|
2498
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2499
|
+
}, "de_ThrottlingExceptionRes");
|
|
2500
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2501
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2502
|
+
const data = parsedOutput.body;
|
|
2503
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2504
|
+
message: import_smithy_client.expectString
|
|
2505
|
+
});
|
|
2506
|
+
Object.assign(contents, doc);
|
|
2507
|
+
const exception = new ValidationException({
|
|
2508
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2509
|
+
...contents
|
|
2510
|
+
});
|
|
2511
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2512
|
+
}, "de_ValidationExceptionRes");
|
|
2513
|
+
var se_UpdateSolNetworkModify = /* @__PURE__ */ __name((input, context) => {
|
|
2514
|
+
return (0, import_smithy_client.take)(input, {
|
|
2515
|
+
vnfConfigurableProperties: (_) => se_Document(_, context),
|
|
2516
|
+
vnfInstanceId: []
|
|
2517
|
+
});
|
|
2518
|
+
}, "se_UpdateSolNetworkModify");
|
|
2519
|
+
var se_Document = /* @__PURE__ */ __name((input, context) => {
|
|
2520
|
+
return input;
|
|
2521
|
+
}, "se_Document");
|
|
2522
|
+
var de_GetSolFunctionInstanceMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
2523
|
+
return (0, import_smithy_client.take)(output, {
|
|
2524
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2525
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2526
|
+
});
|
|
2527
|
+
}, "de_GetSolFunctionInstanceMetadata");
|
|
2528
|
+
var de_GetSolFunctionPackageMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
2529
|
+
return (0, import_smithy_client.take)(output, {
|
|
2530
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2531
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2532
|
+
vnfd: import_smithy_client._json
|
|
2533
|
+
});
|
|
2534
|
+
}, "de_GetSolFunctionPackageMetadata");
|
|
2535
|
+
var de_GetSolNetworkInstanceMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
2536
|
+
return (0, import_smithy_client.take)(output, {
|
|
2537
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2538
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2539
|
+
});
|
|
2540
|
+
}, "de_GetSolNetworkInstanceMetadata");
|
|
2541
|
+
var de_GetSolNetworkOperationMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
2542
|
+
return (0, import_smithy_client.take)(output, {
|
|
2543
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2544
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2545
|
+
});
|
|
2546
|
+
}, "de_GetSolNetworkOperationMetadata");
|
|
2547
|
+
var de_GetSolNetworkOperationTaskDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2548
|
+
return (0, import_smithy_client.take)(output, {
|
|
2549
|
+
taskContext: import_smithy_client._json,
|
|
2550
|
+
taskEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2551
|
+
taskErrorDetails: import_smithy_client._json,
|
|
2552
|
+
taskName: import_smithy_client.expectString,
|
|
2553
|
+
taskStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2554
|
+
taskStatus: import_smithy_client.expectString
|
|
2555
|
+
});
|
|
2556
|
+
}, "de_GetSolNetworkOperationTaskDetails");
|
|
2557
|
+
var de_GetSolNetworkOperationTasksList = /* @__PURE__ */ __name((output, context) => {
|
|
2558
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2559
|
+
return de_GetSolNetworkOperationTaskDetails(entry, context);
|
|
2560
|
+
});
|
|
2561
|
+
return retVal;
|
|
2562
|
+
}, "de_GetSolNetworkOperationTasksList");
|
|
2563
|
+
var de_GetSolNetworkPackageMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
2564
|
+
return (0, import_smithy_client.take)(output, {
|
|
2565
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2566
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2567
|
+
nsd: import_smithy_client._json
|
|
2568
|
+
});
|
|
2569
|
+
}, "de_GetSolNetworkPackageMetadata");
|
|
2570
|
+
var de_ListSolFunctionInstanceInfo = /* @__PURE__ */ __name((output, context) => {
|
|
2571
|
+
return (0, import_smithy_client.take)(output, {
|
|
2572
|
+
arn: import_smithy_client.expectString,
|
|
2573
|
+
id: import_smithy_client.expectString,
|
|
2574
|
+
instantiatedVnfInfo: import_smithy_client._json,
|
|
2575
|
+
instantiationState: import_smithy_client.expectString,
|
|
2576
|
+
metadata: (_) => de_ListSolFunctionInstanceMetadata(_, context),
|
|
2577
|
+
nsInstanceId: import_smithy_client.expectString,
|
|
2578
|
+
vnfPkgId: import_smithy_client.expectString,
|
|
2579
|
+
vnfPkgName: import_smithy_client.expectString
|
|
2580
|
+
});
|
|
2581
|
+
}, "de_ListSolFunctionInstanceInfo");
|
|
2582
|
+
var de_ListSolFunctionInstanceMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
2583
|
+
return (0, import_smithy_client.take)(output, {
|
|
2584
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2585
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2586
|
+
});
|
|
2587
|
+
}, "de_ListSolFunctionInstanceMetadata");
|
|
2588
|
+
var de_ListSolFunctionInstanceResources = /* @__PURE__ */ __name((output, context) => {
|
|
2589
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2590
|
+
return de_ListSolFunctionInstanceInfo(entry, context);
|
|
2591
|
+
});
|
|
2592
|
+
return retVal;
|
|
2593
|
+
}, "de_ListSolFunctionInstanceResources");
|
|
2594
|
+
var de_ListSolFunctionPackageInfo = /* @__PURE__ */ __name((output, context) => {
|
|
2595
|
+
return (0, import_smithy_client.take)(output, {
|
|
2596
|
+
arn: import_smithy_client.expectString,
|
|
2597
|
+
id: import_smithy_client.expectString,
|
|
2598
|
+
metadata: (_) => de_ListSolFunctionPackageMetadata(_, context),
|
|
2599
|
+
onboardingState: import_smithy_client.expectString,
|
|
2600
|
+
operationalState: import_smithy_client.expectString,
|
|
2601
|
+
usageState: import_smithy_client.expectString,
|
|
2602
|
+
vnfProductName: import_smithy_client.expectString,
|
|
2603
|
+
vnfProvider: import_smithy_client.expectString,
|
|
2604
|
+
vnfdId: import_smithy_client.expectString,
|
|
2605
|
+
vnfdVersion: import_smithy_client.expectString
|
|
2606
|
+
});
|
|
2607
|
+
}, "de_ListSolFunctionPackageInfo");
|
|
2608
|
+
var de_ListSolFunctionPackageMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
2609
|
+
return (0, import_smithy_client.take)(output, {
|
|
2610
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2611
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2612
|
+
});
|
|
2613
|
+
}, "de_ListSolFunctionPackageMetadata");
|
|
2614
|
+
var de_ListSolFunctionPackageResources = /* @__PURE__ */ __name((output, context) => {
|
|
2615
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2616
|
+
return de_ListSolFunctionPackageInfo(entry, context);
|
|
2617
|
+
});
|
|
2618
|
+
return retVal;
|
|
2619
|
+
}, "de_ListSolFunctionPackageResources");
|
|
2620
|
+
var de_ListSolNetworkInstanceInfo = /* @__PURE__ */ __name((output, context) => {
|
|
2621
|
+
return (0, import_smithy_client.take)(output, {
|
|
2622
|
+
arn: import_smithy_client.expectString,
|
|
2623
|
+
id: import_smithy_client.expectString,
|
|
2624
|
+
metadata: (_) => de_ListSolNetworkInstanceMetadata(_, context),
|
|
2625
|
+
nsInstanceDescription: import_smithy_client.expectString,
|
|
2626
|
+
nsInstanceName: import_smithy_client.expectString,
|
|
2627
|
+
nsState: import_smithy_client.expectString,
|
|
2628
|
+
nsdId: import_smithy_client.expectString,
|
|
2629
|
+
nsdInfoId: import_smithy_client.expectString
|
|
2630
|
+
});
|
|
2631
|
+
}, "de_ListSolNetworkInstanceInfo");
|
|
2632
|
+
var de_ListSolNetworkInstanceMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
2633
|
+
return (0, import_smithy_client.take)(output, {
|
|
2634
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2635
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2636
|
+
});
|
|
2637
|
+
}, "de_ListSolNetworkInstanceMetadata");
|
|
2638
|
+
var de_ListSolNetworkInstanceResources = /* @__PURE__ */ __name((output, context) => {
|
|
2639
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2640
|
+
return de_ListSolNetworkInstanceInfo(entry, context);
|
|
2641
|
+
});
|
|
2642
|
+
return retVal;
|
|
2643
|
+
}, "de_ListSolNetworkInstanceResources");
|
|
2644
|
+
var de_ListSolNetworkOperationsInfo = /* @__PURE__ */ __name((output, context) => {
|
|
2645
|
+
return (0, import_smithy_client.take)(output, {
|
|
2646
|
+
arn: import_smithy_client.expectString,
|
|
2647
|
+
error: import_smithy_client._json,
|
|
2648
|
+
id: import_smithy_client.expectString,
|
|
2649
|
+
lcmOperationType: import_smithy_client.expectString,
|
|
2650
|
+
metadata: (_) => de_ListSolNetworkOperationsMetadata(_, context),
|
|
2651
|
+
nsInstanceId: import_smithy_client.expectString,
|
|
2652
|
+
operationState: import_smithy_client.expectString
|
|
2653
|
+
});
|
|
2654
|
+
}, "de_ListSolNetworkOperationsInfo");
|
|
2655
|
+
var de_ListSolNetworkOperationsMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
2656
|
+
return (0, import_smithy_client.take)(output, {
|
|
2657
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2658
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2659
|
+
});
|
|
2660
|
+
}, "de_ListSolNetworkOperationsMetadata");
|
|
2661
|
+
var de_ListSolNetworkOperationsResources = /* @__PURE__ */ __name((output, context) => {
|
|
2662
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2663
|
+
return de_ListSolNetworkOperationsInfo(entry, context);
|
|
2664
|
+
});
|
|
2665
|
+
return retVal;
|
|
2666
|
+
}, "de_ListSolNetworkOperationsResources");
|
|
2667
|
+
var de_ListSolNetworkPackageInfo = /* @__PURE__ */ __name((output, context) => {
|
|
2668
|
+
return (0, import_smithy_client.take)(output, {
|
|
2669
|
+
arn: import_smithy_client.expectString,
|
|
2670
|
+
id: import_smithy_client.expectString,
|
|
2671
|
+
metadata: (_) => de_ListSolNetworkPackageMetadata(_, context),
|
|
2672
|
+
nsdDesigner: import_smithy_client.expectString,
|
|
2673
|
+
nsdId: import_smithy_client.expectString,
|
|
2674
|
+
nsdInvariantId: import_smithy_client.expectString,
|
|
2675
|
+
nsdName: import_smithy_client.expectString,
|
|
2676
|
+
nsdOnboardingState: import_smithy_client.expectString,
|
|
2677
|
+
nsdOperationalState: import_smithy_client.expectString,
|
|
2678
|
+
nsdUsageState: import_smithy_client.expectString,
|
|
2679
|
+
nsdVersion: import_smithy_client.expectString,
|
|
2680
|
+
vnfPkgIds: import_smithy_client._json
|
|
2681
|
+
});
|
|
2682
|
+
}, "de_ListSolNetworkPackageInfo");
|
|
2683
|
+
var de_ListSolNetworkPackageMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
2684
|
+
return (0, import_smithy_client.take)(output, {
|
|
2685
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2686
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2687
|
+
});
|
|
2688
|
+
}, "de_ListSolNetworkPackageMetadata");
|
|
2689
|
+
var de_ListSolNetworkPackageResources = /* @__PURE__ */ __name((output, context) => {
|
|
2690
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2691
|
+
return de_ListSolNetworkPackageInfo(entry, context);
|
|
2692
|
+
});
|
|
2693
|
+
return retVal;
|
|
2694
|
+
}, "de_ListSolNetworkPackageResources");
|
|
2695
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2696
|
+
httpStatusCode: output.statusCode,
|
|
2697
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2698
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2699
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2700
|
+
}), "deserializeMetadata");
|
|
2701
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2702
|
+
var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
|
|
2703
|
+
var _a = "accept";
|
|
2704
|
+
var _cT = "contentType";
|
|
2705
|
+
var _ct = "content-type";
|
|
2706
|
+
var _dR = "dryRun";
|
|
2707
|
+
var _dr = "dry_run";
|
|
2708
|
+
var _mR = "maxResults";
|
|
2709
|
+
var _mr = "max_results";
|
|
2710
|
+
var _nT = "nextToken";
|
|
2711
|
+
var _nom = "nextpage_opaque_marker";
|
|
2712
|
+
var _tK = "tagKeys";
|
|
2713
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2714
|
+
if (encoded.length) {
|
|
2715
|
+
return JSON.parse(encoded);
|
|
2716
|
+
}
|
|
2717
|
+
return {};
|
|
2718
|
+
}), "parseBody");
|
|
2719
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2720
|
+
const value = await parseBody(errorBody, context);
|
|
2721
|
+
value.message = value.message ?? value.Message;
|
|
2722
|
+
return value;
|
|
2723
|
+
}, "parseErrorBody");
|
|
2724
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2725
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2726
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2727
|
+
let cleanValue = rawValue;
|
|
2728
|
+
if (typeof cleanValue === "number") {
|
|
2729
|
+
cleanValue = cleanValue.toString();
|
|
2730
|
+
}
|
|
2731
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2732
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2733
|
+
}
|
|
2734
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2735
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2736
|
+
}
|
|
2737
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2738
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2739
|
+
}
|
|
2740
|
+
return cleanValue;
|
|
2741
|
+
}, "sanitizeErrorCode");
|
|
2742
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2743
|
+
if (headerKey !== void 0) {
|
|
2744
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2745
|
+
}
|
|
2746
|
+
if (data.code !== void 0) {
|
|
2747
|
+
return sanitizeErrorCode(data.code);
|
|
2748
|
+
}
|
|
2749
|
+
if (data["__type"] !== void 0) {
|
|
2750
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2751
|
+
}
|
|
2752
|
+
}, "loadRestJsonErrorCode");
|
|
2753
|
+
|
|
2754
|
+
// src/commands/CancelSolNetworkOperationCommand.ts
|
|
2755
|
+
var _CancelSolNetworkOperationCommand = class _CancelSolNetworkOperationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2756
|
+
...commonParams
|
|
2757
|
+
}).m(function(Command, cs, config, o) {
|
|
2758
|
+
return [
|
|
2759
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2760
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2761
|
+
];
|
|
2762
|
+
}).s("TNB", "CancelSolNetworkOperation", {}).n("TnbClient", "CancelSolNetworkOperationCommand").f(void 0, void 0).ser(se_CancelSolNetworkOperationCommand).de(de_CancelSolNetworkOperationCommand).build() {
|
|
2763
|
+
};
|
|
2764
|
+
__name(_CancelSolNetworkOperationCommand, "CancelSolNetworkOperationCommand");
|
|
2765
|
+
var CancelSolNetworkOperationCommand = _CancelSolNetworkOperationCommand;
|
|
2766
|
+
|
|
2767
|
+
// src/commands/CreateSolFunctionPackageCommand.ts
|
|
2768
|
+
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
|
|
2772
|
+
var _CreateSolFunctionPackageCommand = class _CreateSolFunctionPackageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2773
|
+
...commonParams
|
|
2774
|
+
}).m(function(Command, cs, config, o) {
|
|
2775
|
+
return [
|
|
2776
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2777
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2778
|
+
];
|
|
2779
|
+
}).s("TNB", "CreateSolFunctionPackage", {}).n("TnbClient", "CreateSolFunctionPackageCommand").f(CreateSolFunctionPackageInputFilterSensitiveLog, CreateSolFunctionPackageOutputFilterSensitiveLog).ser(se_CreateSolFunctionPackageCommand).de(de_CreateSolFunctionPackageCommand).build() {
|
|
2780
|
+
};
|
|
2781
|
+
__name(_CreateSolFunctionPackageCommand, "CreateSolFunctionPackageCommand");
|
|
2782
|
+
var CreateSolFunctionPackageCommand = _CreateSolFunctionPackageCommand;
|
|
2783
|
+
|
|
2784
|
+
// src/commands/CreateSolNetworkInstanceCommand.ts
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
var _CreateSolNetworkInstanceCommand = class _CreateSolNetworkInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2790
|
+
...commonParams
|
|
2791
|
+
}).m(function(Command, cs, config, o) {
|
|
2792
|
+
return [
|
|
2793
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2794
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2795
|
+
];
|
|
2796
|
+
}).s("TNB", "CreateSolNetworkInstance", {}).n("TnbClient", "CreateSolNetworkInstanceCommand").f(CreateSolNetworkInstanceInputFilterSensitiveLog, CreateSolNetworkInstanceOutputFilterSensitiveLog).ser(se_CreateSolNetworkInstanceCommand).de(de_CreateSolNetworkInstanceCommand).build() {
|
|
2797
|
+
};
|
|
2798
|
+
__name(_CreateSolNetworkInstanceCommand, "CreateSolNetworkInstanceCommand");
|
|
2799
|
+
var CreateSolNetworkInstanceCommand = _CreateSolNetworkInstanceCommand;
|
|
2800
|
+
|
|
2801
|
+
// src/commands/CreateSolNetworkPackageCommand.ts
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
var _CreateSolNetworkPackageCommand = class _CreateSolNetworkPackageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2807
|
+
...commonParams
|
|
2808
|
+
}).m(function(Command, cs, config, o) {
|
|
2809
|
+
return [
|
|
2810
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2811
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2812
|
+
];
|
|
2813
|
+
}).s("TNB", "CreateSolNetworkPackage", {}).n("TnbClient", "CreateSolNetworkPackageCommand").f(CreateSolNetworkPackageInputFilterSensitiveLog, CreateSolNetworkPackageOutputFilterSensitiveLog).ser(se_CreateSolNetworkPackageCommand).de(de_CreateSolNetworkPackageCommand).build() {
|
|
2814
|
+
};
|
|
2815
|
+
__name(_CreateSolNetworkPackageCommand, "CreateSolNetworkPackageCommand");
|
|
2816
|
+
var CreateSolNetworkPackageCommand = _CreateSolNetworkPackageCommand;
|
|
2817
|
+
|
|
2818
|
+
// src/commands/DeleteSolFunctionPackageCommand.ts
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
var _DeleteSolFunctionPackageCommand = class _DeleteSolFunctionPackageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2824
|
+
...commonParams
|
|
2825
|
+
}).m(function(Command, cs, config, o) {
|
|
2826
|
+
return [
|
|
2827
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2828
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2829
|
+
];
|
|
2830
|
+
}).s("TNB", "DeleteSolFunctionPackage", {}).n("TnbClient", "DeleteSolFunctionPackageCommand").f(void 0, void 0).ser(se_DeleteSolFunctionPackageCommand).de(de_DeleteSolFunctionPackageCommand).build() {
|
|
2831
|
+
};
|
|
2832
|
+
__name(_DeleteSolFunctionPackageCommand, "DeleteSolFunctionPackageCommand");
|
|
2833
|
+
var DeleteSolFunctionPackageCommand = _DeleteSolFunctionPackageCommand;
|
|
2834
|
+
|
|
2835
|
+
// src/commands/DeleteSolNetworkInstanceCommand.ts
|
|
2836
|
+
|
|
2837
|
+
|
|
2838
|
+
|
|
2839
|
+
|
|
2840
|
+
var _DeleteSolNetworkInstanceCommand = class _DeleteSolNetworkInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2841
|
+
...commonParams
|
|
2842
|
+
}).m(function(Command, cs, config, o) {
|
|
2843
|
+
return [
|
|
2844
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2845
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2846
|
+
];
|
|
2847
|
+
}).s("TNB", "DeleteSolNetworkInstance", {}).n("TnbClient", "DeleteSolNetworkInstanceCommand").f(void 0, void 0).ser(se_DeleteSolNetworkInstanceCommand).de(de_DeleteSolNetworkInstanceCommand).build() {
|
|
2848
|
+
};
|
|
2849
|
+
__name(_DeleteSolNetworkInstanceCommand, "DeleteSolNetworkInstanceCommand");
|
|
2850
|
+
var DeleteSolNetworkInstanceCommand = _DeleteSolNetworkInstanceCommand;
|
|
2851
|
+
|
|
2852
|
+
// src/commands/DeleteSolNetworkPackageCommand.ts
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
|
|
2856
|
+
|
|
2857
|
+
var _DeleteSolNetworkPackageCommand = class _DeleteSolNetworkPackageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2858
|
+
...commonParams
|
|
2859
|
+
}).m(function(Command, cs, config, o) {
|
|
2860
|
+
return [
|
|
2861
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2862
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2863
|
+
];
|
|
2864
|
+
}).s("TNB", "DeleteSolNetworkPackage", {}).n("TnbClient", "DeleteSolNetworkPackageCommand").f(void 0, void 0).ser(se_DeleteSolNetworkPackageCommand).de(de_DeleteSolNetworkPackageCommand).build() {
|
|
2865
|
+
};
|
|
2866
|
+
__name(_DeleteSolNetworkPackageCommand, "DeleteSolNetworkPackageCommand");
|
|
2867
|
+
var DeleteSolNetworkPackageCommand = _DeleteSolNetworkPackageCommand;
|
|
2868
|
+
|
|
2869
|
+
// src/commands/GetSolFunctionInstanceCommand.ts
|
|
2870
|
+
|
|
2871
|
+
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
var _GetSolFunctionInstanceCommand = class _GetSolFunctionInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2875
|
+
...commonParams
|
|
2876
|
+
}).m(function(Command, cs, config, o) {
|
|
2877
|
+
return [
|
|
2878
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2879
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2880
|
+
];
|
|
2881
|
+
}).s("TNB", "GetSolFunctionInstance", {}).n("TnbClient", "GetSolFunctionInstanceCommand").f(void 0, GetSolFunctionInstanceOutputFilterSensitiveLog).ser(se_GetSolFunctionInstanceCommand).de(de_GetSolFunctionInstanceCommand).build() {
|
|
2882
|
+
};
|
|
2883
|
+
__name(_GetSolFunctionInstanceCommand, "GetSolFunctionInstanceCommand");
|
|
2884
|
+
var GetSolFunctionInstanceCommand = _GetSolFunctionInstanceCommand;
|
|
2885
|
+
|
|
2886
|
+
// src/commands/GetSolFunctionPackageCommand.ts
|
|
2887
|
+
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
var _GetSolFunctionPackageCommand = class _GetSolFunctionPackageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2892
|
+
...commonParams
|
|
2893
|
+
}).m(function(Command, cs, config, o) {
|
|
2894
|
+
return [
|
|
2895
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2896
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2897
|
+
];
|
|
2898
|
+
}).s("TNB", "GetSolFunctionPackage", {}).n("TnbClient", "GetSolFunctionPackageCommand").f(void 0, GetSolFunctionPackageOutputFilterSensitiveLog).ser(se_GetSolFunctionPackageCommand).de(de_GetSolFunctionPackageCommand).build() {
|
|
2899
|
+
};
|
|
2900
|
+
__name(_GetSolFunctionPackageCommand, "GetSolFunctionPackageCommand");
|
|
2901
|
+
var GetSolFunctionPackageCommand = _GetSolFunctionPackageCommand;
|
|
2902
|
+
|
|
2903
|
+
// src/commands/GetSolFunctionPackageContentCommand.ts
|
|
2904
|
+
|
|
2905
|
+
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
var _GetSolFunctionPackageContentCommand = class _GetSolFunctionPackageContentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2909
|
+
...commonParams
|
|
2910
|
+
}).m(function(Command, cs, config, o) {
|
|
2911
|
+
return [
|
|
2912
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2913
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2914
|
+
];
|
|
2915
|
+
}).s("TNB", "GetSolFunctionPackageContent", {}).n("TnbClient", "GetSolFunctionPackageContentCommand").f(void 0, void 0).ser(se_GetSolFunctionPackageContentCommand).de(de_GetSolFunctionPackageContentCommand).build() {
|
|
2916
|
+
};
|
|
2917
|
+
__name(_GetSolFunctionPackageContentCommand, "GetSolFunctionPackageContentCommand");
|
|
2918
|
+
var GetSolFunctionPackageContentCommand = _GetSolFunctionPackageContentCommand;
|
|
2919
|
+
|
|
2920
|
+
// src/commands/GetSolFunctionPackageDescriptorCommand.ts
|
|
2921
|
+
|
|
2922
|
+
|
|
2923
|
+
|
|
2924
|
+
|
|
2925
|
+
var _GetSolFunctionPackageDescriptorCommand = class _GetSolFunctionPackageDescriptorCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2926
|
+
...commonParams
|
|
2927
|
+
}).m(function(Command, cs, config, o) {
|
|
2928
|
+
return [
|
|
2929
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2930
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2931
|
+
];
|
|
2932
|
+
}).s("TNB", "GetSolFunctionPackageDescriptor", {}).n("TnbClient", "GetSolFunctionPackageDescriptorCommand").f(void 0, void 0).ser(se_GetSolFunctionPackageDescriptorCommand).de(de_GetSolFunctionPackageDescriptorCommand).build() {
|
|
2933
|
+
};
|
|
2934
|
+
__name(_GetSolFunctionPackageDescriptorCommand, "GetSolFunctionPackageDescriptorCommand");
|
|
2935
|
+
var GetSolFunctionPackageDescriptorCommand = _GetSolFunctionPackageDescriptorCommand;
|
|
2936
|
+
|
|
2937
|
+
// src/commands/GetSolNetworkInstanceCommand.ts
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
|
|
2941
|
+
|
|
2942
|
+
var _GetSolNetworkInstanceCommand = class _GetSolNetworkInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2943
|
+
...commonParams
|
|
2944
|
+
}).m(function(Command, cs, config, o) {
|
|
2945
|
+
return [
|
|
2946
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2947
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2948
|
+
];
|
|
2949
|
+
}).s("TNB", "GetSolNetworkInstance", {}).n("TnbClient", "GetSolNetworkInstanceCommand").f(void 0, GetSolNetworkInstanceOutputFilterSensitiveLog).ser(se_GetSolNetworkInstanceCommand).de(de_GetSolNetworkInstanceCommand).build() {
|
|
2950
|
+
};
|
|
2951
|
+
__name(_GetSolNetworkInstanceCommand, "GetSolNetworkInstanceCommand");
|
|
2952
|
+
var GetSolNetworkInstanceCommand = _GetSolNetworkInstanceCommand;
|
|
2953
|
+
|
|
2954
|
+
// src/commands/GetSolNetworkOperationCommand.ts
|
|
2955
|
+
|
|
2956
|
+
|
|
2957
|
+
|
|
2958
|
+
|
|
2959
|
+
var _GetSolNetworkOperationCommand = class _GetSolNetworkOperationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2960
|
+
...commonParams
|
|
2961
|
+
}).m(function(Command, cs, config, o) {
|
|
2962
|
+
return [
|
|
2963
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2964
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2965
|
+
];
|
|
2966
|
+
}).s("TNB", "GetSolNetworkOperation", {}).n("TnbClient", "GetSolNetworkOperationCommand").f(void 0, GetSolNetworkOperationOutputFilterSensitiveLog).ser(se_GetSolNetworkOperationCommand).de(de_GetSolNetworkOperationCommand).build() {
|
|
2967
|
+
};
|
|
2968
|
+
__name(_GetSolNetworkOperationCommand, "GetSolNetworkOperationCommand");
|
|
2969
|
+
var GetSolNetworkOperationCommand = _GetSolNetworkOperationCommand;
|
|
2970
|
+
|
|
2971
|
+
// src/commands/GetSolNetworkPackageCommand.ts
|
|
2972
|
+
|
|
2973
|
+
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
var _GetSolNetworkPackageCommand = class _GetSolNetworkPackageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2977
|
+
...commonParams
|
|
2978
|
+
}).m(function(Command, cs, config, o) {
|
|
2979
|
+
return [
|
|
2980
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2981
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2982
|
+
];
|
|
2983
|
+
}).s("TNB", "GetSolNetworkPackage", {}).n("TnbClient", "GetSolNetworkPackageCommand").f(void 0, GetSolNetworkPackageOutputFilterSensitiveLog).ser(se_GetSolNetworkPackageCommand).de(de_GetSolNetworkPackageCommand).build() {
|
|
2984
|
+
};
|
|
2985
|
+
__name(_GetSolNetworkPackageCommand, "GetSolNetworkPackageCommand");
|
|
2986
|
+
var GetSolNetworkPackageCommand = _GetSolNetworkPackageCommand;
|
|
2987
|
+
|
|
2988
|
+
// src/commands/GetSolNetworkPackageContentCommand.ts
|
|
2989
|
+
|
|
2990
|
+
|
|
2991
|
+
|
|
2992
|
+
|
|
2993
|
+
var _GetSolNetworkPackageContentCommand = class _GetSolNetworkPackageContentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2994
|
+
...commonParams
|
|
2995
|
+
}).m(function(Command, cs, config, o) {
|
|
2996
|
+
return [
|
|
2997
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2998
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2999
|
+
];
|
|
3000
|
+
}).s("TNB", "GetSolNetworkPackageContent", {}).n("TnbClient", "GetSolNetworkPackageContentCommand").f(void 0, void 0).ser(se_GetSolNetworkPackageContentCommand).de(de_GetSolNetworkPackageContentCommand).build() {
|
|
3001
|
+
};
|
|
3002
|
+
__name(_GetSolNetworkPackageContentCommand, "GetSolNetworkPackageContentCommand");
|
|
3003
|
+
var GetSolNetworkPackageContentCommand = _GetSolNetworkPackageContentCommand;
|
|
3004
|
+
|
|
3005
|
+
// src/commands/GetSolNetworkPackageDescriptorCommand.ts
|
|
3006
|
+
|
|
3007
|
+
|
|
3008
|
+
|
|
3009
|
+
|
|
3010
|
+
var _GetSolNetworkPackageDescriptorCommand = class _GetSolNetworkPackageDescriptorCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3011
|
+
...commonParams
|
|
3012
|
+
}).m(function(Command, cs, config, o) {
|
|
3013
|
+
return [
|
|
3014
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3015
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3016
|
+
];
|
|
3017
|
+
}).s("TNB", "GetSolNetworkPackageDescriptor", {}).n("TnbClient", "GetSolNetworkPackageDescriptorCommand").f(void 0, void 0).ser(se_GetSolNetworkPackageDescriptorCommand).de(de_GetSolNetworkPackageDescriptorCommand).build() {
|
|
3018
|
+
};
|
|
3019
|
+
__name(_GetSolNetworkPackageDescriptorCommand, "GetSolNetworkPackageDescriptorCommand");
|
|
3020
|
+
var GetSolNetworkPackageDescriptorCommand = _GetSolNetworkPackageDescriptorCommand;
|
|
3021
|
+
|
|
3022
|
+
// src/commands/InstantiateSolNetworkInstanceCommand.ts
|
|
3023
|
+
|
|
3024
|
+
|
|
3025
|
+
|
|
3026
|
+
|
|
3027
|
+
var _InstantiateSolNetworkInstanceCommand = class _InstantiateSolNetworkInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3028
|
+
...commonParams
|
|
3029
|
+
}).m(function(Command, cs, config, o) {
|
|
3030
|
+
return [
|
|
3031
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3032
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3033
|
+
];
|
|
3034
|
+
}).s("TNB", "InstantiateSolNetworkInstance", {}).n("TnbClient", "InstantiateSolNetworkInstanceCommand").f(InstantiateSolNetworkInstanceInputFilterSensitiveLog, InstantiateSolNetworkInstanceOutputFilterSensitiveLog).ser(se_InstantiateSolNetworkInstanceCommand).de(de_InstantiateSolNetworkInstanceCommand).build() {
|
|
3035
|
+
};
|
|
3036
|
+
__name(_InstantiateSolNetworkInstanceCommand, "InstantiateSolNetworkInstanceCommand");
|
|
3037
|
+
var InstantiateSolNetworkInstanceCommand = _InstantiateSolNetworkInstanceCommand;
|
|
3038
|
+
|
|
3039
|
+
// src/commands/ListSolFunctionInstancesCommand.ts
|
|
3040
|
+
|
|
3041
|
+
|
|
3042
|
+
|
|
3043
|
+
|
|
3044
|
+
var _ListSolFunctionInstancesCommand = class _ListSolFunctionInstancesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3045
|
+
...commonParams
|
|
3046
|
+
}).m(function(Command, cs, config, o) {
|
|
3047
|
+
return [
|
|
3048
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3049
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3050
|
+
];
|
|
3051
|
+
}).s("TNB", "ListSolFunctionInstances", {}).n("TnbClient", "ListSolFunctionInstancesCommand").f(void 0, void 0).ser(se_ListSolFunctionInstancesCommand).de(de_ListSolFunctionInstancesCommand).build() {
|
|
3052
|
+
};
|
|
3053
|
+
__name(_ListSolFunctionInstancesCommand, "ListSolFunctionInstancesCommand");
|
|
3054
|
+
var ListSolFunctionInstancesCommand = _ListSolFunctionInstancesCommand;
|
|
3055
|
+
|
|
3056
|
+
// src/commands/ListSolFunctionPackagesCommand.ts
|
|
3057
|
+
|
|
3058
|
+
|
|
3059
|
+
|
|
3060
|
+
|
|
3061
|
+
var _ListSolFunctionPackagesCommand = class _ListSolFunctionPackagesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3062
|
+
...commonParams
|
|
3063
|
+
}).m(function(Command, cs, config, o) {
|
|
3064
|
+
return [
|
|
3065
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3066
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3067
|
+
];
|
|
3068
|
+
}).s("TNB", "ListSolFunctionPackages", {}).n("TnbClient", "ListSolFunctionPackagesCommand").f(void 0, void 0).ser(se_ListSolFunctionPackagesCommand).de(de_ListSolFunctionPackagesCommand).build() {
|
|
3069
|
+
};
|
|
3070
|
+
__name(_ListSolFunctionPackagesCommand, "ListSolFunctionPackagesCommand");
|
|
3071
|
+
var ListSolFunctionPackagesCommand = _ListSolFunctionPackagesCommand;
|
|
3072
|
+
|
|
3073
|
+
// src/commands/ListSolNetworkInstancesCommand.ts
|
|
3074
|
+
|
|
3075
|
+
|
|
3076
|
+
|
|
3077
|
+
|
|
3078
|
+
var _ListSolNetworkInstancesCommand = class _ListSolNetworkInstancesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3079
|
+
...commonParams
|
|
3080
|
+
}).m(function(Command, cs, config, o) {
|
|
3081
|
+
return [
|
|
3082
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3083
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3084
|
+
];
|
|
3085
|
+
}).s("TNB", "ListSolNetworkInstances", {}).n("TnbClient", "ListSolNetworkInstancesCommand").f(void 0, void 0).ser(se_ListSolNetworkInstancesCommand).de(de_ListSolNetworkInstancesCommand).build() {
|
|
3086
|
+
};
|
|
3087
|
+
__name(_ListSolNetworkInstancesCommand, "ListSolNetworkInstancesCommand");
|
|
3088
|
+
var ListSolNetworkInstancesCommand = _ListSolNetworkInstancesCommand;
|
|
3089
|
+
|
|
3090
|
+
// src/commands/ListSolNetworkOperationsCommand.ts
|
|
3091
|
+
|
|
3092
|
+
|
|
3093
|
+
|
|
3094
|
+
|
|
3095
|
+
var _ListSolNetworkOperationsCommand = class _ListSolNetworkOperationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3096
|
+
...commonParams
|
|
3097
|
+
}).m(function(Command, cs, config, o) {
|
|
3098
|
+
return [
|
|
3099
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3100
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3101
|
+
];
|
|
3102
|
+
}).s("TNB", "ListSolNetworkOperations", {}).n("TnbClient", "ListSolNetworkOperationsCommand").f(void 0, void 0).ser(se_ListSolNetworkOperationsCommand).de(de_ListSolNetworkOperationsCommand).build() {
|
|
3103
|
+
};
|
|
3104
|
+
__name(_ListSolNetworkOperationsCommand, "ListSolNetworkOperationsCommand");
|
|
3105
|
+
var ListSolNetworkOperationsCommand = _ListSolNetworkOperationsCommand;
|
|
3106
|
+
|
|
3107
|
+
// src/commands/ListSolNetworkPackagesCommand.ts
|
|
3108
|
+
|
|
3109
|
+
|
|
3110
|
+
|
|
3111
|
+
|
|
3112
|
+
var _ListSolNetworkPackagesCommand = class _ListSolNetworkPackagesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3113
|
+
...commonParams
|
|
3114
|
+
}).m(function(Command, cs, config, o) {
|
|
3115
|
+
return [
|
|
3116
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3117
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3118
|
+
];
|
|
3119
|
+
}).s("TNB", "ListSolNetworkPackages", {}).n("TnbClient", "ListSolNetworkPackagesCommand").f(void 0, void 0).ser(se_ListSolNetworkPackagesCommand).de(de_ListSolNetworkPackagesCommand).build() {
|
|
3120
|
+
};
|
|
3121
|
+
__name(_ListSolNetworkPackagesCommand, "ListSolNetworkPackagesCommand");
|
|
3122
|
+
var ListSolNetworkPackagesCommand = _ListSolNetworkPackagesCommand;
|
|
3123
|
+
|
|
3124
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
3125
|
+
|
|
3126
|
+
|
|
3127
|
+
|
|
3128
|
+
|
|
3129
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3130
|
+
...commonParams
|
|
3131
|
+
}).m(function(Command, cs, config, o) {
|
|
3132
|
+
return [
|
|
3133
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3134
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3135
|
+
];
|
|
3136
|
+
}).s("TNB", "ListTagsForResource", {}).n("TnbClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceOutputFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
3137
|
+
};
|
|
3138
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
3139
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
3140
|
+
|
|
3141
|
+
// src/commands/PutSolFunctionPackageContentCommand.ts
|
|
3142
|
+
|
|
3143
|
+
|
|
3144
|
+
|
|
3145
|
+
|
|
3146
|
+
var _PutSolFunctionPackageContentCommand = class _PutSolFunctionPackageContentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3147
|
+
...commonParams
|
|
3148
|
+
}).m(function(Command, cs, config, o) {
|
|
3149
|
+
return [
|
|
3150
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3151
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3152
|
+
];
|
|
3153
|
+
}).s("TNB", "PutSolFunctionPackageContent", {}).n("TnbClient", "PutSolFunctionPackageContentCommand").f(void 0, void 0).ser(se_PutSolFunctionPackageContentCommand).de(de_PutSolFunctionPackageContentCommand).build() {
|
|
3154
|
+
};
|
|
3155
|
+
__name(_PutSolFunctionPackageContentCommand, "PutSolFunctionPackageContentCommand");
|
|
3156
|
+
var PutSolFunctionPackageContentCommand = _PutSolFunctionPackageContentCommand;
|
|
3157
|
+
|
|
3158
|
+
// src/commands/PutSolNetworkPackageContentCommand.ts
|
|
3159
|
+
|
|
3160
|
+
|
|
3161
|
+
|
|
3162
|
+
|
|
3163
|
+
var _PutSolNetworkPackageContentCommand = class _PutSolNetworkPackageContentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3164
|
+
...commonParams
|
|
3165
|
+
}).m(function(Command, cs, config, o) {
|
|
3166
|
+
return [
|
|
3167
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3168
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3169
|
+
];
|
|
3170
|
+
}).s("TNB", "PutSolNetworkPackageContent", {}).n("TnbClient", "PutSolNetworkPackageContentCommand").f(void 0, void 0).ser(se_PutSolNetworkPackageContentCommand).de(de_PutSolNetworkPackageContentCommand).build() {
|
|
3171
|
+
};
|
|
3172
|
+
__name(_PutSolNetworkPackageContentCommand, "PutSolNetworkPackageContentCommand");
|
|
3173
|
+
var PutSolNetworkPackageContentCommand = _PutSolNetworkPackageContentCommand;
|
|
3174
|
+
|
|
3175
|
+
// src/commands/TagResourceCommand.ts
|
|
3176
|
+
|
|
3177
|
+
|
|
3178
|
+
|
|
3179
|
+
|
|
3180
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3181
|
+
...commonParams
|
|
3182
|
+
}).m(function(Command, cs, config, o) {
|
|
3183
|
+
return [
|
|
3184
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3185
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3186
|
+
];
|
|
3187
|
+
}).s("TNB", "TagResource", {}).n("TnbClient", "TagResourceCommand").f(TagResourceInputFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
3188
|
+
};
|
|
3189
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
3190
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
3191
|
+
|
|
3192
|
+
// src/commands/TerminateSolNetworkInstanceCommand.ts
|
|
3193
|
+
|
|
3194
|
+
|
|
3195
|
+
|
|
3196
|
+
|
|
3197
|
+
var _TerminateSolNetworkInstanceCommand = class _TerminateSolNetworkInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3198
|
+
...commonParams
|
|
3199
|
+
}).m(function(Command, cs, config, o) {
|
|
3200
|
+
return [
|
|
3201
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3202
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3203
|
+
];
|
|
3204
|
+
}).s("TNB", "TerminateSolNetworkInstance", {}).n("TnbClient", "TerminateSolNetworkInstanceCommand").f(TerminateSolNetworkInstanceInputFilterSensitiveLog, TerminateSolNetworkInstanceOutputFilterSensitiveLog).ser(se_TerminateSolNetworkInstanceCommand).de(de_TerminateSolNetworkInstanceCommand).build() {
|
|
3205
|
+
};
|
|
3206
|
+
__name(_TerminateSolNetworkInstanceCommand, "TerminateSolNetworkInstanceCommand");
|
|
3207
|
+
var TerminateSolNetworkInstanceCommand = _TerminateSolNetworkInstanceCommand;
|
|
3208
|
+
|
|
3209
|
+
// src/commands/UntagResourceCommand.ts
|
|
3210
|
+
|
|
3211
|
+
|
|
3212
|
+
|
|
3213
|
+
|
|
3214
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3215
|
+
...commonParams
|
|
3216
|
+
}).m(function(Command, cs, config, o) {
|
|
3217
|
+
return [
|
|
3218
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3219
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3220
|
+
];
|
|
3221
|
+
}).s("TNB", "UntagResource", {}).n("TnbClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
3222
|
+
};
|
|
3223
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
3224
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
3225
|
+
|
|
3226
|
+
// src/commands/UpdateSolFunctionPackageCommand.ts
|
|
3227
|
+
|
|
3228
|
+
|
|
3229
|
+
|
|
3230
|
+
|
|
3231
|
+
var _UpdateSolFunctionPackageCommand = class _UpdateSolFunctionPackageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3232
|
+
...commonParams
|
|
3233
|
+
}).m(function(Command, cs, config, o) {
|
|
3234
|
+
return [
|
|
3235
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3236
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3237
|
+
];
|
|
3238
|
+
}).s("TNB", "UpdateSolFunctionPackage", {}).n("TnbClient", "UpdateSolFunctionPackageCommand").f(void 0, void 0).ser(se_UpdateSolFunctionPackageCommand).de(de_UpdateSolFunctionPackageCommand).build() {
|
|
3239
|
+
};
|
|
3240
|
+
__name(_UpdateSolFunctionPackageCommand, "UpdateSolFunctionPackageCommand");
|
|
3241
|
+
var UpdateSolFunctionPackageCommand = _UpdateSolFunctionPackageCommand;
|
|
3242
|
+
|
|
3243
|
+
// src/commands/UpdateSolNetworkInstanceCommand.ts
|
|
3244
|
+
|
|
3245
|
+
|
|
3246
|
+
|
|
3247
|
+
|
|
3248
|
+
var _UpdateSolNetworkInstanceCommand = class _UpdateSolNetworkInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3249
|
+
...commonParams
|
|
3250
|
+
}).m(function(Command, cs, config, o) {
|
|
3251
|
+
return [
|
|
3252
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3253
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3254
|
+
];
|
|
3255
|
+
}).s("TNB", "UpdateSolNetworkInstance", {}).n("TnbClient", "UpdateSolNetworkInstanceCommand").f(UpdateSolNetworkInstanceInputFilterSensitiveLog, UpdateSolNetworkInstanceOutputFilterSensitiveLog).ser(se_UpdateSolNetworkInstanceCommand).de(de_UpdateSolNetworkInstanceCommand).build() {
|
|
3256
|
+
};
|
|
3257
|
+
__name(_UpdateSolNetworkInstanceCommand, "UpdateSolNetworkInstanceCommand");
|
|
3258
|
+
var UpdateSolNetworkInstanceCommand = _UpdateSolNetworkInstanceCommand;
|
|
3259
|
+
|
|
3260
|
+
// src/commands/UpdateSolNetworkPackageCommand.ts
|
|
3261
|
+
|
|
3262
|
+
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+
var _UpdateSolNetworkPackageCommand = class _UpdateSolNetworkPackageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3266
|
+
...commonParams
|
|
3267
|
+
}).m(function(Command, cs, config, o) {
|
|
3268
|
+
return [
|
|
3269
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3270
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3271
|
+
];
|
|
3272
|
+
}).s("TNB", "UpdateSolNetworkPackage", {}).n("TnbClient", "UpdateSolNetworkPackageCommand").f(void 0, void 0).ser(se_UpdateSolNetworkPackageCommand).de(de_UpdateSolNetworkPackageCommand).build() {
|
|
3273
|
+
};
|
|
3274
|
+
__name(_UpdateSolNetworkPackageCommand, "UpdateSolNetworkPackageCommand");
|
|
3275
|
+
var UpdateSolNetworkPackageCommand = _UpdateSolNetworkPackageCommand;
|
|
3276
|
+
|
|
3277
|
+
// src/commands/ValidateSolFunctionPackageContentCommand.ts
|
|
3278
|
+
|
|
3279
|
+
|
|
3280
|
+
|
|
3281
|
+
|
|
3282
|
+
var _ValidateSolFunctionPackageContentCommand = class _ValidateSolFunctionPackageContentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3283
|
+
...commonParams
|
|
3284
|
+
}).m(function(Command, cs, config, o) {
|
|
3285
|
+
return [
|
|
3286
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3287
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3288
|
+
];
|
|
3289
|
+
}).s("TNB", "ValidateSolFunctionPackageContent", {}).n("TnbClient", "ValidateSolFunctionPackageContentCommand").f(void 0, void 0).ser(se_ValidateSolFunctionPackageContentCommand).de(de_ValidateSolFunctionPackageContentCommand).build() {
|
|
3290
|
+
};
|
|
3291
|
+
__name(_ValidateSolFunctionPackageContentCommand, "ValidateSolFunctionPackageContentCommand");
|
|
3292
|
+
var ValidateSolFunctionPackageContentCommand = _ValidateSolFunctionPackageContentCommand;
|
|
3293
|
+
|
|
3294
|
+
// src/commands/ValidateSolNetworkPackageContentCommand.ts
|
|
3295
|
+
|
|
3296
|
+
|
|
3297
|
+
|
|
3298
|
+
|
|
3299
|
+
var _ValidateSolNetworkPackageContentCommand = class _ValidateSolNetworkPackageContentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3300
|
+
...commonParams
|
|
3301
|
+
}).m(function(Command, cs, config, o) {
|
|
3302
|
+
return [
|
|
3303
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3304
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3305
|
+
];
|
|
3306
|
+
}).s("TNB", "ValidateSolNetworkPackageContent", {}).n("TnbClient", "ValidateSolNetworkPackageContentCommand").f(void 0, void 0).ser(se_ValidateSolNetworkPackageContentCommand).de(de_ValidateSolNetworkPackageContentCommand).build() {
|
|
3307
|
+
};
|
|
3308
|
+
__name(_ValidateSolNetworkPackageContentCommand, "ValidateSolNetworkPackageContentCommand");
|
|
3309
|
+
var ValidateSolNetworkPackageContentCommand = _ValidateSolNetworkPackageContentCommand;
|
|
3310
|
+
|
|
3311
|
+
// src/Tnb.ts
|
|
3312
|
+
var commands = {
|
|
3313
|
+
CancelSolNetworkOperationCommand,
|
|
3314
|
+
CreateSolFunctionPackageCommand,
|
|
3315
|
+
CreateSolNetworkInstanceCommand,
|
|
3316
|
+
CreateSolNetworkPackageCommand,
|
|
3317
|
+
DeleteSolFunctionPackageCommand,
|
|
3318
|
+
DeleteSolNetworkInstanceCommand,
|
|
3319
|
+
DeleteSolNetworkPackageCommand,
|
|
3320
|
+
GetSolFunctionInstanceCommand,
|
|
3321
|
+
GetSolFunctionPackageCommand,
|
|
3322
|
+
GetSolFunctionPackageContentCommand,
|
|
3323
|
+
GetSolFunctionPackageDescriptorCommand,
|
|
3324
|
+
GetSolNetworkInstanceCommand,
|
|
3325
|
+
GetSolNetworkOperationCommand,
|
|
3326
|
+
GetSolNetworkPackageCommand,
|
|
3327
|
+
GetSolNetworkPackageContentCommand,
|
|
3328
|
+
GetSolNetworkPackageDescriptorCommand,
|
|
3329
|
+
InstantiateSolNetworkInstanceCommand,
|
|
3330
|
+
ListSolFunctionInstancesCommand,
|
|
3331
|
+
ListSolFunctionPackagesCommand,
|
|
3332
|
+
ListSolNetworkInstancesCommand,
|
|
3333
|
+
ListSolNetworkOperationsCommand,
|
|
3334
|
+
ListSolNetworkPackagesCommand,
|
|
3335
|
+
ListTagsForResourceCommand,
|
|
3336
|
+
PutSolFunctionPackageContentCommand,
|
|
3337
|
+
PutSolNetworkPackageContentCommand,
|
|
3338
|
+
TagResourceCommand,
|
|
3339
|
+
TerminateSolNetworkInstanceCommand,
|
|
3340
|
+
UntagResourceCommand,
|
|
3341
|
+
UpdateSolFunctionPackageCommand,
|
|
3342
|
+
UpdateSolNetworkInstanceCommand,
|
|
3343
|
+
UpdateSolNetworkPackageCommand,
|
|
3344
|
+
ValidateSolFunctionPackageContentCommand,
|
|
3345
|
+
ValidateSolNetworkPackageContentCommand
|
|
3346
|
+
};
|
|
3347
|
+
var _Tnb = class _Tnb extends TnbClient {
|
|
3348
|
+
};
|
|
3349
|
+
__name(_Tnb, "Tnb");
|
|
3350
|
+
var Tnb = _Tnb;
|
|
3351
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Tnb);
|
|
3352
|
+
|
|
3353
|
+
// src/pagination/ListSolFunctionInstancesPaginator.ts
|
|
3354
|
+
|
|
3355
|
+
var paginateListSolFunctionInstances = (0, import_core.createPaginator)(TnbClient, ListSolFunctionInstancesCommand, "nextToken", "nextToken", "maxResults");
|
|
3356
|
+
|
|
3357
|
+
// src/pagination/ListSolFunctionPackagesPaginator.ts
|
|
3358
|
+
|
|
3359
|
+
var paginateListSolFunctionPackages = (0, import_core.createPaginator)(TnbClient, ListSolFunctionPackagesCommand, "nextToken", "nextToken", "maxResults");
|
|
3360
|
+
|
|
3361
|
+
// src/pagination/ListSolNetworkInstancesPaginator.ts
|
|
3362
|
+
|
|
3363
|
+
var paginateListSolNetworkInstances = (0, import_core.createPaginator)(TnbClient, ListSolNetworkInstancesCommand, "nextToken", "nextToken", "maxResults");
|
|
3364
|
+
|
|
3365
|
+
// src/pagination/ListSolNetworkOperationsPaginator.ts
|
|
3366
|
+
|
|
3367
|
+
var paginateListSolNetworkOperations = (0, import_core.createPaginator)(TnbClient, ListSolNetworkOperationsCommand, "nextToken", "nextToken", "maxResults");
|
|
3368
|
+
|
|
3369
|
+
// src/pagination/ListSolNetworkPackagesPaginator.ts
|
|
3370
|
+
|
|
3371
|
+
var paginateListSolNetworkPackages = (0, import_core.createPaginator)(TnbClient, ListSolNetworkPackagesCommand, "nextToken", "nextToken", "maxResults");
|
|
3372
|
+
|
|
3373
|
+
// src/index.ts
|
|
3374
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3375
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3376
|
+
|
|
3377
|
+
0 && (module.exports = {
|
|
3378
|
+
AccessDeniedException,
|
|
3379
|
+
CancelSolNetworkOperationCommand,
|
|
3380
|
+
CreateSolFunctionPackageCommand,
|
|
3381
|
+
CreateSolFunctionPackageInputFilterSensitiveLog,
|
|
3382
|
+
CreateSolFunctionPackageOutputFilterSensitiveLog,
|
|
3383
|
+
CreateSolNetworkInstanceCommand,
|
|
3384
|
+
CreateSolNetworkInstanceInputFilterSensitiveLog,
|
|
3385
|
+
CreateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
3386
|
+
CreateSolNetworkPackageCommand,
|
|
3387
|
+
CreateSolNetworkPackageInputFilterSensitiveLog,
|
|
3388
|
+
CreateSolNetworkPackageOutputFilterSensitiveLog,
|
|
3389
|
+
DeleteSolFunctionPackageCommand,
|
|
3390
|
+
DeleteSolNetworkInstanceCommand,
|
|
3391
|
+
DeleteSolNetworkPackageCommand,
|
|
3392
|
+
DescriptorContentType,
|
|
3393
|
+
GetSolFunctionInstanceCommand,
|
|
3394
|
+
GetSolFunctionInstanceOutputFilterSensitiveLog,
|
|
3395
|
+
GetSolFunctionPackageCommand,
|
|
3396
|
+
GetSolFunctionPackageContentCommand,
|
|
3397
|
+
GetSolFunctionPackageDescriptorCommand,
|
|
3398
|
+
GetSolFunctionPackageOutputFilterSensitiveLog,
|
|
3399
|
+
GetSolNetworkInstanceCommand,
|
|
3400
|
+
GetSolNetworkInstanceOutputFilterSensitiveLog,
|
|
3401
|
+
GetSolNetworkOperationCommand,
|
|
3402
|
+
GetSolNetworkOperationOutputFilterSensitiveLog,
|
|
3403
|
+
GetSolNetworkPackageCommand,
|
|
3404
|
+
GetSolNetworkPackageContentCommand,
|
|
3405
|
+
GetSolNetworkPackageDescriptorCommand,
|
|
3406
|
+
GetSolNetworkPackageOutputFilterSensitiveLog,
|
|
3407
|
+
InstantiateSolNetworkInstanceCommand,
|
|
3408
|
+
InstantiateSolNetworkInstanceInputFilterSensitiveLog,
|
|
3409
|
+
InstantiateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
3410
|
+
InternalServerException,
|
|
3411
|
+
LcmOperationType,
|
|
3412
|
+
ListSolFunctionInstancesCommand,
|
|
3413
|
+
ListSolFunctionPackagesCommand,
|
|
3414
|
+
ListSolNetworkInstancesCommand,
|
|
3415
|
+
ListSolNetworkOperationsCommand,
|
|
3416
|
+
ListSolNetworkPackagesCommand,
|
|
3417
|
+
ListTagsForResourceCommand,
|
|
3418
|
+
ListTagsForResourceOutputFilterSensitiveLog,
|
|
3419
|
+
NsLcmOperationState,
|
|
3420
|
+
NsState,
|
|
3421
|
+
NsdOnboardingState,
|
|
3422
|
+
NsdOperationalState,
|
|
3423
|
+
NsdUsageState,
|
|
3424
|
+
OnboardingState,
|
|
3425
|
+
OperationalState,
|
|
3426
|
+
PackageContentType,
|
|
3427
|
+
PutSolFunctionPackageContentCommand,
|
|
3428
|
+
PutSolNetworkPackageContentCommand,
|
|
3429
|
+
ResourceNotFoundException,
|
|
3430
|
+
ServiceQuotaExceededException,
|
|
3431
|
+
TagResourceCommand,
|
|
3432
|
+
TagResourceInputFilterSensitiveLog,
|
|
3433
|
+
TaskStatus,
|
|
3434
|
+
TerminateSolNetworkInstanceCommand,
|
|
3435
|
+
TerminateSolNetworkInstanceInputFilterSensitiveLog,
|
|
3436
|
+
TerminateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
3437
|
+
ThrottlingException,
|
|
3438
|
+
Tnb,
|
|
3439
|
+
TnbClient,
|
|
3440
|
+
TnbServiceException,
|
|
3441
|
+
UntagResourceCommand,
|
|
3442
|
+
UpdateSolFunctionPackageCommand,
|
|
3443
|
+
UpdateSolNetworkInstanceCommand,
|
|
3444
|
+
UpdateSolNetworkInstanceInputFilterSensitiveLog,
|
|
3445
|
+
UpdateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
3446
|
+
UpdateSolNetworkPackageCommand,
|
|
3447
|
+
UpdateSolNetworkType,
|
|
3448
|
+
UsageState,
|
|
3449
|
+
ValidateSolFunctionPackageContentCommand,
|
|
3450
|
+
ValidateSolNetworkPackageContentCommand,
|
|
3451
|
+
ValidationException,
|
|
3452
|
+
VnfInstantiationState,
|
|
3453
|
+
VnfOperationalState,
|
|
3454
|
+
__Client,
|
|
3455
|
+
paginateListSolFunctionInstances,
|
|
3456
|
+
paginateListSolFunctionPackages,
|
|
3457
|
+
paginateListSolNetworkInstances,
|
|
3458
|
+
paginateListSolNetworkOperations,
|
|
3459
|
+
paginateListSolNetworkPackages
|
|
3460
|
+
});
|
|
3461
|
+
|