@aws-sdk/client-tnb 3.933.0 → 3.935.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/index.js +79 -78
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +78 -0
- package/dist-es/models/errors.js +73 -0
- package/dist-es/models/models_0.js +1 -151
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +198 -0
- package/dist-types/models/errors.d.ts +75 -0
- package/dist-types/models/models_0.d.ts +1 -273
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +104 -0
- package/dist-types/ts3.4/models/errors.d.ts +44 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -148
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -177,19 +177,6 @@ let ValidationException$1 = class ValidationException extends TnbServiceExceptio
|
|
|
177
177
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
|
-
const OnboardingState = {
|
|
181
|
-
CREATED: "CREATED",
|
|
182
|
-
ERROR: "ERROR",
|
|
183
|
-
ONBOARDED: "ONBOARDED",
|
|
184
|
-
};
|
|
185
|
-
const OperationalState = {
|
|
186
|
-
DISABLED: "DISABLED",
|
|
187
|
-
ENABLED: "ENABLED",
|
|
188
|
-
};
|
|
189
|
-
const UsageState = {
|
|
190
|
-
IN_USE: "IN_USE",
|
|
191
|
-
NOT_IN_USE: "NOT_IN_USE",
|
|
192
|
-
};
|
|
193
180
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends TnbServiceException$1 {
|
|
194
181
|
name = "ServiceQuotaExceededException";
|
|
195
182
|
$fault = "client";
|
|
@@ -202,71 +189,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
202
189
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
203
190
|
}
|
|
204
191
|
};
|
|
205
|
-
const NsdOnboardingState = {
|
|
206
|
-
CREATED: "CREATED",
|
|
207
|
-
ERROR: "ERROR",
|
|
208
|
-
ONBOARDED: "ONBOARDED",
|
|
209
|
-
};
|
|
210
|
-
const NsdOperationalState = {
|
|
211
|
-
DISABLED: "DISABLED",
|
|
212
|
-
ENABLED: "ENABLED",
|
|
213
|
-
};
|
|
214
|
-
const NsdUsageState = {
|
|
215
|
-
IN_USE: "IN_USE",
|
|
216
|
-
NOT_IN_USE: "NOT_IN_USE",
|
|
217
|
-
};
|
|
218
|
-
const DescriptorContentType = {
|
|
219
|
-
TEXT_PLAIN: "text/plain",
|
|
220
|
-
};
|
|
221
|
-
const VnfOperationalState = {
|
|
222
|
-
STARTED: "STARTED",
|
|
223
|
-
STOPPED: "STOPPED",
|
|
224
|
-
};
|
|
225
|
-
const VnfInstantiationState = {
|
|
226
|
-
INSTANTIATED: "INSTANTIATED",
|
|
227
|
-
NOT_INSTANTIATED: "NOT_INSTANTIATED",
|
|
228
|
-
};
|
|
229
|
-
const PackageContentType = {
|
|
230
|
-
APPLICATION_ZIP: "application/zip",
|
|
231
|
-
};
|
|
232
|
-
const NsState = {
|
|
233
|
-
DELETED: "DELETED",
|
|
234
|
-
IMPAIRED: "IMPAIRED",
|
|
235
|
-
INSTANTIATED: "INSTANTIATED",
|
|
236
|
-
INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS",
|
|
237
|
-
INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS",
|
|
238
|
-
NOT_INSTANTIATED: "NOT_INSTANTIATED",
|
|
239
|
-
STOPPED: "STOPPED",
|
|
240
|
-
TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS",
|
|
241
|
-
UPDATED: "UPDATED",
|
|
242
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
243
|
-
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
244
|
-
};
|
|
245
|
-
const LcmOperationType = {
|
|
246
|
-
INSTANTIATE: "INSTANTIATE",
|
|
247
|
-
TERMINATE: "TERMINATE",
|
|
248
|
-
UPDATE: "UPDATE",
|
|
249
|
-
};
|
|
250
|
-
const NsLcmOperationState = {
|
|
251
|
-
CANCELLED: "CANCELLED",
|
|
252
|
-
CANCELLING: "CANCELLING",
|
|
253
|
-
COMPLETED: "COMPLETED",
|
|
254
|
-
FAILED: "FAILED",
|
|
255
|
-
PROCESSING: "PROCESSING",
|
|
256
|
-
};
|
|
257
|
-
const TaskStatus = {
|
|
258
|
-
CANCELLED: "CANCELLED",
|
|
259
|
-
COMPLETED: "COMPLETED",
|
|
260
|
-
ERROR: "ERROR",
|
|
261
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
262
|
-
SCHEDULED: "SCHEDULED",
|
|
263
|
-
SKIPPED: "SKIPPED",
|
|
264
|
-
STARTED: "STARTED",
|
|
265
|
-
};
|
|
266
|
-
const UpdateSolNetworkType = {
|
|
267
|
-
MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION",
|
|
268
|
-
UPDATE_NS: "UPDATE_NS",
|
|
269
|
-
};
|
|
270
192
|
|
|
271
193
|
const _A = "Accept";
|
|
272
194
|
const _ADE = "AccessDeniedException";
|
|
@@ -2072,6 +1994,85 @@ const paginateListSolNetworkOperations = core.createPaginator(TnbClient, ListSol
|
|
|
2072
1994
|
|
|
2073
1995
|
const paginateListSolNetworkPackages = core.createPaginator(TnbClient, ListSolNetworkPackagesCommand, "nextToken", "nextToken", "maxResults");
|
|
2074
1996
|
|
|
1997
|
+
const OnboardingState = {
|
|
1998
|
+
CREATED: "CREATED",
|
|
1999
|
+
ERROR: "ERROR",
|
|
2000
|
+
ONBOARDED: "ONBOARDED",
|
|
2001
|
+
};
|
|
2002
|
+
const OperationalState = {
|
|
2003
|
+
DISABLED: "DISABLED",
|
|
2004
|
+
ENABLED: "ENABLED",
|
|
2005
|
+
};
|
|
2006
|
+
const UsageState = {
|
|
2007
|
+
IN_USE: "IN_USE",
|
|
2008
|
+
NOT_IN_USE: "NOT_IN_USE",
|
|
2009
|
+
};
|
|
2010
|
+
const NsdOnboardingState = {
|
|
2011
|
+
CREATED: "CREATED",
|
|
2012
|
+
ERROR: "ERROR",
|
|
2013
|
+
ONBOARDED: "ONBOARDED",
|
|
2014
|
+
};
|
|
2015
|
+
const NsdOperationalState = {
|
|
2016
|
+
DISABLED: "DISABLED",
|
|
2017
|
+
ENABLED: "ENABLED",
|
|
2018
|
+
};
|
|
2019
|
+
const NsdUsageState = {
|
|
2020
|
+
IN_USE: "IN_USE",
|
|
2021
|
+
NOT_IN_USE: "NOT_IN_USE",
|
|
2022
|
+
};
|
|
2023
|
+
const DescriptorContentType = {
|
|
2024
|
+
TEXT_PLAIN: "text/plain",
|
|
2025
|
+
};
|
|
2026
|
+
const VnfOperationalState = {
|
|
2027
|
+
STARTED: "STARTED",
|
|
2028
|
+
STOPPED: "STOPPED",
|
|
2029
|
+
};
|
|
2030
|
+
const VnfInstantiationState = {
|
|
2031
|
+
INSTANTIATED: "INSTANTIATED",
|
|
2032
|
+
NOT_INSTANTIATED: "NOT_INSTANTIATED",
|
|
2033
|
+
};
|
|
2034
|
+
const PackageContentType = {
|
|
2035
|
+
APPLICATION_ZIP: "application/zip",
|
|
2036
|
+
};
|
|
2037
|
+
const NsState = {
|
|
2038
|
+
DELETED: "DELETED",
|
|
2039
|
+
IMPAIRED: "IMPAIRED",
|
|
2040
|
+
INSTANTIATED: "INSTANTIATED",
|
|
2041
|
+
INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS",
|
|
2042
|
+
INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS",
|
|
2043
|
+
NOT_INSTANTIATED: "NOT_INSTANTIATED",
|
|
2044
|
+
STOPPED: "STOPPED",
|
|
2045
|
+
TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS",
|
|
2046
|
+
UPDATED: "UPDATED",
|
|
2047
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
2048
|
+
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
2049
|
+
};
|
|
2050
|
+
const LcmOperationType = {
|
|
2051
|
+
INSTANTIATE: "INSTANTIATE",
|
|
2052
|
+
TERMINATE: "TERMINATE",
|
|
2053
|
+
UPDATE: "UPDATE",
|
|
2054
|
+
};
|
|
2055
|
+
const NsLcmOperationState = {
|
|
2056
|
+
CANCELLED: "CANCELLED",
|
|
2057
|
+
CANCELLING: "CANCELLING",
|
|
2058
|
+
COMPLETED: "COMPLETED",
|
|
2059
|
+
FAILED: "FAILED",
|
|
2060
|
+
PROCESSING: "PROCESSING",
|
|
2061
|
+
};
|
|
2062
|
+
const TaskStatus = {
|
|
2063
|
+
CANCELLED: "CANCELLED",
|
|
2064
|
+
COMPLETED: "COMPLETED",
|
|
2065
|
+
ERROR: "ERROR",
|
|
2066
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
2067
|
+
SCHEDULED: "SCHEDULED",
|
|
2068
|
+
SKIPPED: "SKIPPED",
|
|
2069
|
+
STARTED: "STARTED",
|
|
2070
|
+
};
|
|
2071
|
+
const UpdateSolNetworkType = {
|
|
2072
|
+
MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION",
|
|
2073
|
+
UPDATE_NS: "UPDATE_NS",
|
|
2074
|
+
};
|
|
2075
|
+
|
|
2075
2076
|
Object.defineProperty(exports, "$Command", {
|
|
2076
2077
|
enumerable: true,
|
|
2077
2078
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./TnbClient";
|
|
|
2
2
|
export * from "./Tnb";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { TnbServiceException } from "./models/TnbServiceException";
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export const OnboardingState = {
|
|
2
|
+
CREATED: "CREATED",
|
|
3
|
+
ERROR: "ERROR",
|
|
4
|
+
ONBOARDED: "ONBOARDED",
|
|
5
|
+
};
|
|
6
|
+
export const OperationalState = {
|
|
7
|
+
DISABLED: "DISABLED",
|
|
8
|
+
ENABLED: "ENABLED",
|
|
9
|
+
};
|
|
10
|
+
export const UsageState = {
|
|
11
|
+
IN_USE: "IN_USE",
|
|
12
|
+
NOT_IN_USE: "NOT_IN_USE",
|
|
13
|
+
};
|
|
14
|
+
export const NsdOnboardingState = {
|
|
15
|
+
CREATED: "CREATED",
|
|
16
|
+
ERROR: "ERROR",
|
|
17
|
+
ONBOARDED: "ONBOARDED",
|
|
18
|
+
};
|
|
19
|
+
export const NsdOperationalState = {
|
|
20
|
+
DISABLED: "DISABLED",
|
|
21
|
+
ENABLED: "ENABLED",
|
|
22
|
+
};
|
|
23
|
+
export const NsdUsageState = {
|
|
24
|
+
IN_USE: "IN_USE",
|
|
25
|
+
NOT_IN_USE: "NOT_IN_USE",
|
|
26
|
+
};
|
|
27
|
+
export const DescriptorContentType = {
|
|
28
|
+
TEXT_PLAIN: "text/plain",
|
|
29
|
+
};
|
|
30
|
+
export const VnfOperationalState = {
|
|
31
|
+
STARTED: "STARTED",
|
|
32
|
+
STOPPED: "STOPPED",
|
|
33
|
+
};
|
|
34
|
+
export const VnfInstantiationState = {
|
|
35
|
+
INSTANTIATED: "INSTANTIATED",
|
|
36
|
+
NOT_INSTANTIATED: "NOT_INSTANTIATED",
|
|
37
|
+
};
|
|
38
|
+
export const PackageContentType = {
|
|
39
|
+
APPLICATION_ZIP: "application/zip",
|
|
40
|
+
};
|
|
41
|
+
export const NsState = {
|
|
42
|
+
DELETED: "DELETED",
|
|
43
|
+
IMPAIRED: "IMPAIRED",
|
|
44
|
+
INSTANTIATED: "INSTANTIATED",
|
|
45
|
+
INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS",
|
|
46
|
+
INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS",
|
|
47
|
+
NOT_INSTANTIATED: "NOT_INSTANTIATED",
|
|
48
|
+
STOPPED: "STOPPED",
|
|
49
|
+
TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS",
|
|
50
|
+
UPDATED: "UPDATED",
|
|
51
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
52
|
+
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
53
|
+
};
|
|
54
|
+
export const LcmOperationType = {
|
|
55
|
+
INSTANTIATE: "INSTANTIATE",
|
|
56
|
+
TERMINATE: "TERMINATE",
|
|
57
|
+
UPDATE: "UPDATE",
|
|
58
|
+
};
|
|
59
|
+
export const NsLcmOperationState = {
|
|
60
|
+
CANCELLED: "CANCELLED",
|
|
61
|
+
CANCELLING: "CANCELLING",
|
|
62
|
+
COMPLETED: "COMPLETED",
|
|
63
|
+
FAILED: "FAILED",
|
|
64
|
+
PROCESSING: "PROCESSING",
|
|
65
|
+
};
|
|
66
|
+
export const TaskStatus = {
|
|
67
|
+
CANCELLED: "CANCELLED",
|
|
68
|
+
COMPLETED: "COMPLETED",
|
|
69
|
+
ERROR: "ERROR",
|
|
70
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
71
|
+
SCHEDULED: "SCHEDULED",
|
|
72
|
+
SKIPPED: "SKIPPED",
|
|
73
|
+
STARTED: "STARTED",
|
|
74
|
+
};
|
|
75
|
+
export const UpdateSolNetworkType = {
|
|
76
|
+
MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION",
|
|
77
|
+
UPDATE_NS: "UPDATE_NS",
|
|
78
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { TnbServiceException as __BaseException } from "./TnbServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class InternalServerException extends __BaseException {
|
|
15
|
+
name = "InternalServerException";
|
|
16
|
+
$fault = "server";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "InternalServerException",
|
|
20
|
+
$fault: "server",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
27
|
+
name = "ResourceNotFoundException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "ResourceNotFoundException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class ThrottlingException extends __BaseException {
|
|
39
|
+
name = "ThrottlingException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "ThrottlingException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ValidationException extends __BaseException {
|
|
51
|
+
name = "ValidationException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "ValidationException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
63
|
+
name = "ServiceQuotaExceededException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "ServiceQuotaExceededException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -1,151 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class InternalServerException extends __BaseException {
|
|
15
|
-
name = "InternalServerException";
|
|
16
|
-
$fault = "server";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "InternalServerException",
|
|
20
|
-
$fault: "server",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
27
|
-
name = "ResourceNotFoundException";
|
|
28
|
-
$fault = "client";
|
|
29
|
-
constructor(opts) {
|
|
30
|
-
super({
|
|
31
|
-
name: "ResourceNotFoundException",
|
|
32
|
-
$fault: "client",
|
|
33
|
-
...opts,
|
|
34
|
-
});
|
|
35
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class ThrottlingException extends __BaseException {
|
|
39
|
-
name = "ThrottlingException";
|
|
40
|
-
$fault = "client";
|
|
41
|
-
constructor(opts) {
|
|
42
|
-
super({
|
|
43
|
-
name: "ThrottlingException",
|
|
44
|
-
$fault: "client",
|
|
45
|
-
...opts,
|
|
46
|
-
});
|
|
47
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export class ValidationException extends __BaseException {
|
|
51
|
-
name = "ValidationException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "ValidationException",
|
|
56
|
-
$fault: "client",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
export const OnboardingState = {
|
|
63
|
-
CREATED: "CREATED",
|
|
64
|
-
ERROR: "ERROR",
|
|
65
|
-
ONBOARDED: "ONBOARDED",
|
|
66
|
-
};
|
|
67
|
-
export const OperationalState = {
|
|
68
|
-
DISABLED: "DISABLED",
|
|
69
|
-
ENABLED: "ENABLED",
|
|
70
|
-
};
|
|
71
|
-
export const UsageState = {
|
|
72
|
-
IN_USE: "IN_USE",
|
|
73
|
-
NOT_IN_USE: "NOT_IN_USE",
|
|
74
|
-
};
|
|
75
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
76
|
-
name = "ServiceQuotaExceededException";
|
|
77
|
-
$fault = "client";
|
|
78
|
-
constructor(opts) {
|
|
79
|
-
super({
|
|
80
|
-
name: "ServiceQuotaExceededException",
|
|
81
|
-
$fault: "client",
|
|
82
|
-
...opts,
|
|
83
|
-
});
|
|
84
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
export const NsdOnboardingState = {
|
|
88
|
-
CREATED: "CREATED",
|
|
89
|
-
ERROR: "ERROR",
|
|
90
|
-
ONBOARDED: "ONBOARDED",
|
|
91
|
-
};
|
|
92
|
-
export const NsdOperationalState = {
|
|
93
|
-
DISABLED: "DISABLED",
|
|
94
|
-
ENABLED: "ENABLED",
|
|
95
|
-
};
|
|
96
|
-
export const NsdUsageState = {
|
|
97
|
-
IN_USE: "IN_USE",
|
|
98
|
-
NOT_IN_USE: "NOT_IN_USE",
|
|
99
|
-
};
|
|
100
|
-
export const DescriptorContentType = {
|
|
101
|
-
TEXT_PLAIN: "text/plain",
|
|
102
|
-
};
|
|
103
|
-
export const VnfOperationalState = {
|
|
104
|
-
STARTED: "STARTED",
|
|
105
|
-
STOPPED: "STOPPED",
|
|
106
|
-
};
|
|
107
|
-
export const VnfInstantiationState = {
|
|
108
|
-
INSTANTIATED: "INSTANTIATED",
|
|
109
|
-
NOT_INSTANTIATED: "NOT_INSTANTIATED",
|
|
110
|
-
};
|
|
111
|
-
export const PackageContentType = {
|
|
112
|
-
APPLICATION_ZIP: "application/zip",
|
|
113
|
-
};
|
|
114
|
-
export const NsState = {
|
|
115
|
-
DELETED: "DELETED",
|
|
116
|
-
IMPAIRED: "IMPAIRED",
|
|
117
|
-
INSTANTIATED: "INSTANTIATED",
|
|
118
|
-
INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS",
|
|
119
|
-
INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS",
|
|
120
|
-
NOT_INSTANTIATED: "NOT_INSTANTIATED",
|
|
121
|
-
STOPPED: "STOPPED",
|
|
122
|
-
TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS",
|
|
123
|
-
UPDATED: "UPDATED",
|
|
124
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
125
|
-
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
126
|
-
};
|
|
127
|
-
export const LcmOperationType = {
|
|
128
|
-
INSTANTIATE: "INSTANTIATE",
|
|
129
|
-
TERMINATE: "TERMINATE",
|
|
130
|
-
UPDATE: "UPDATE",
|
|
131
|
-
};
|
|
132
|
-
export const NsLcmOperationState = {
|
|
133
|
-
CANCELLED: "CANCELLED",
|
|
134
|
-
CANCELLING: "CANCELLING",
|
|
135
|
-
COMPLETED: "COMPLETED",
|
|
136
|
-
FAILED: "FAILED",
|
|
137
|
-
PROCESSING: "PROCESSING",
|
|
138
|
-
};
|
|
139
|
-
export const TaskStatus = {
|
|
140
|
-
CANCELLED: "CANCELLED",
|
|
141
|
-
COMPLETED: "COMPLETED",
|
|
142
|
-
ERROR: "ERROR",
|
|
143
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
144
|
-
SCHEDULED: "SCHEDULED",
|
|
145
|
-
SKIPPED: "SKIPPED",
|
|
146
|
-
STARTED: "STARTED",
|
|
147
|
-
};
|
|
148
|
-
export const UpdateSolNetworkType = {
|
|
149
|
-
MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION",
|
|
150
|
-
UPDATE_NS: "UPDATE_NS",
|
|
151
|
-
};
|
|
1
|
+
export {};
|
|
@@ -242,7 +242,7 @@ const _vS = "vnfState";
|
|
|
242
242
|
const _vV = "vnfdVersion";
|
|
243
243
|
const n0 = "com.amazonaws.tnb";
|
|
244
244
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
245
|
-
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
245
|
+
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
246
246
|
import { TnbServiceException as __TnbServiceException } from "../models/TnbServiceException";
|
|
247
247
|
export var SensitiveBlob = [0, n0, _SB, 8, 21];
|
|
248
248
|
export var AccessDeniedException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -14,5 +14,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
14
14
|
export type { TnbExtensionConfiguration } from "./extensionConfiguration";
|
|
15
15
|
export * from "./commands";
|
|
16
16
|
export * from "./pagination";
|
|
17
|
-
export * from "./models";
|
|
17
|
+
export * from "./models/enums";
|
|
18
|
+
export * from "./models/errors";
|
|
19
|
+
export type * from "./models/models_0";
|
|
18
20
|
export { TnbServiceException } from "./models/TnbServiceException";
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const OnboardingState: {
|
|
6
|
+
readonly CREATED: "CREATED";
|
|
7
|
+
readonly ERROR: "ERROR";
|
|
8
|
+
readonly ONBOARDED: "ONBOARDED";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type OnboardingState = (typeof OnboardingState)[keyof typeof OnboardingState];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const OperationalState: {
|
|
19
|
+
readonly DISABLED: "DISABLED";
|
|
20
|
+
readonly ENABLED: "ENABLED";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type OperationalState = (typeof OperationalState)[keyof typeof OperationalState];
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @enum
|
|
29
|
+
*/
|
|
30
|
+
export declare const UsageState: {
|
|
31
|
+
readonly IN_USE: "IN_USE";
|
|
32
|
+
readonly NOT_IN_USE: "NOT_IN_USE";
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type UsageState = (typeof UsageState)[keyof typeof UsageState];
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
* @enum
|
|
41
|
+
*/
|
|
42
|
+
export declare const NsdOnboardingState: {
|
|
43
|
+
readonly CREATED: "CREATED";
|
|
44
|
+
readonly ERROR: "ERROR";
|
|
45
|
+
readonly ONBOARDED: "ONBOARDED";
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export type NsdOnboardingState = (typeof NsdOnboardingState)[keyof typeof NsdOnboardingState];
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
* @enum
|
|
54
|
+
*/
|
|
55
|
+
export declare const NsdOperationalState: {
|
|
56
|
+
readonly DISABLED: "DISABLED";
|
|
57
|
+
readonly ENABLED: "ENABLED";
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export type NsdOperationalState = (typeof NsdOperationalState)[keyof typeof NsdOperationalState];
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
* @enum
|
|
66
|
+
*/
|
|
67
|
+
export declare const NsdUsageState: {
|
|
68
|
+
readonly IN_USE: "IN_USE";
|
|
69
|
+
readonly NOT_IN_USE: "NOT_IN_USE";
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export type NsdUsageState = (typeof NsdUsageState)[keyof typeof NsdUsageState];
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
* @enum
|
|
78
|
+
*/
|
|
79
|
+
export declare const DescriptorContentType: {
|
|
80
|
+
readonly TEXT_PLAIN: "text/plain";
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export type DescriptorContentType = (typeof DescriptorContentType)[keyof typeof DescriptorContentType];
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
* @enum
|
|
89
|
+
*/
|
|
90
|
+
export declare const VnfOperationalState: {
|
|
91
|
+
readonly STARTED: "STARTED";
|
|
92
|
+
readonly STOPPED: "STOPPED";
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export type VnfOperationalState = (typeof VnfOperationalState)[keyof typeof VnfOperationalState];
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
* @enum
|
|
101
|
+
*/
|
|
102
|
+
export declare const VnfInstantiationState: {
|
|
103
|
+
readonly INSTANTIATED: "INSTANTIATED";
|
|
104
|
+
readonly NOT_INSTANTIATED: "NOT_INSTANTIATED";
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export type VnfInstantiationState = (typeof VnfInstantiationState)[keyof typeof VnfInstantiationState];
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
* @enum
|
|
113
|
+
*/
|
|
114
|
+
export declare const PackageContentType: {
|
|
115
|
+
readonly APPLICATION_ZIP: "application/zip";
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export type PackageContentType = (typeof PackageContentType)[keyof typeof PackageContentType];
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
* @enum
|
|
124
|
+
*/
|
|
125
|
+
export declare const NsState: {
|
|
126
|
+
readonly DELETED: "DELETED";
|
|
127
|
+
readonly IMPAIRED: "IMPAIRED";
|
|
128
|
+
readonly INSTANTIATED: "INSTANTIATED";
|
|
129
|
+
readonly INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS";
|
|
130
|
+
readonly INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS";
|
|
131
|
+
readonly NOT_INSTANTIATED: "NOT_INSTANTIATED";
|
|
132
|
+
readonly STOPPED: "STOPPED";
|
|
133
|
+
readonly TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS";
|
|
134
|
+
readonly UPDATED: "UPDATED";
|
|
135
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
136
|
+
readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
export type NsState = (typeof NsState)[keyof typeof NsState];
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
* @enum
|
|
145
|
+
*/
|
|
146
|
+
export declare const LcmOperationType: {
|
|
147
|
+
readonly INSTANTIATE: "INSTANTIATE";
|
|
148
|
+
readonly TERMINATE: "TERMINATE";
|
|
149
|
+
readonly UPDATE: "UPDATE";
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export type LcmOperationType = (typeof LcmOperationType)[keyof typeof LcmOperationType];
|
|
155
|
+
/**
|
|
156
|
+
* @public
|
|
157
|
+
* @enum
|
|
158
|
+
*/
|
|
159
|
+
export declare const NsLcmOperationState: {
|
|
160
|
+
readonly CANCELLED: "CANCELLED";
|
|
161
|
+
readonly CANCELLING: "CANCELLING";
|
|
162
|
+
readonly COMPLETED: "COMPLETED";
|
|
163
|
+
readonly FAILED: "FAILED";
|
|
164
|
+
readonly PROCESSING: "PROCESSING";
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
export type NsLcmOperationState = (typeof NsLcmOperationState)[keyof typeof NsLcmOperationState];
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
* @enum
|
|
173
|
+
*/
|
|
174
|
+
export declare const TaskStatus: {
|
|
175
|
+
readonly CANCELLED: "CANCELLED";
|
|
176
|
+
readonly COMPLETED: "COMPLETED";
|
|
177
|
+
readonly ERROR: "ERROR";
|
|
178
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
179
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
180
|
+
readonly SKIPPED: "SKIPPED";
|
|
181
|
+
readonly STARTED: "STARTED";
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
* @enum
|
|
190
|
+
*/
|
|
191
|
+
export declare const UpdateSolNetworkType: {
|
|
192
|
+
readonly MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION";
|
|
193
|
+
readonly UPDATE_NS: "UPDATE_NS";
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
export type UpdateSolNetworkType = (typeof UpdateSolNetworkType)[keyof typeof UpdateSolNetworkType];
|