@aws-sdk/client-tnb 3.934.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.
@@ -0,0 +1,75 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { TnbServiceException as __BaseException } from "./TnbServiceException";
3
+ /**
4
+ * <p>Insufficient permissions to make request.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>Unexpected error occurred. Problem on the server.</p>
17
+ * @public
18
+ */
19
+ export declare class InternalServerException extends __BaseException {
20
+ readonly name: "InternalServerException";
21
+ readonly $fault: "server";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>Request references a resource that doesn't exist.</p>
29
+ * @public
30
+ */
31
+ export declare class ResourceNotFoundException extends __BaseException {
32
+ readonly name: "ResourceNotFoundException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>Exception caused by throttling.</p>
41
+ * @public
42
+ */
43
+ export declare class ThrottlingException extends __BaseException {
44
+ readonly name: "ThrottlingException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
50
+ }
51
+ /**
52
+ * <p>Unable to process the request because the client provided input failed to satisfy
53
+ * request constraints.</p>
54
+ * @public
55
+ */
56
+ export declare class ValidationException extends __BaseException {
57
+ readonly name: "ValidationException";
58
+ readonly $fault: "client";
59
+ /**
60
+ * @internal
61
+ */
62
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
63
+ }
64
+ /**
65
+ * <p>Service quotas have been exceeded.</p>
66
+ * @public
67
+ */
68
+ export declare class ServiceQuotaExceededException extends __BaseException {
69
+ readonly name: "ServiceQuotaExceededException";
70
+ readonly $fault: "client";
71
+ /**
72
+ * @internal
73
+ */
74
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
75
+ }
@@ -1,18 +1,5 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { TnbServiceException as __BaseException } from "./TnbServiceException";
4
- /**
5
- * <p>Insufficient permissions to make request.</p>
6
- * @public
7
- */
8
- export declare class AccessDeniedException extends __BaseException {
9
- readonly name: "AccessDeniedException";
10
- readonly $fault: "client";
11
- /**
12
- * @internal
13
- */
14
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
- }
2
+ import { DescriptorContentType, LcmOperationType, NsdOnboardingState, NsdOperationalState, NsdUsageState, NsLcmOperationState, NsState, OnboardingState, OperationalState, PackageContentType, TaskStatus, UpdateSolNetworkType, UsageState, VnfInstantiationState, VnfOperationalState } from "./enums";
16
3
  /**
17
4
  * @public
18
5
  */
@@ -23,55 +10,6 @@ export interface CancelSolNetworkOperationInput {
23
10
  */
24
11
  nsLcmOpOccId: string | undefined;
25
12
  }
26
- /**
27
- * <p>Unexpected error occurred. Problem on the server.</p>
28
- * @public
29
- */
30
- export declare class InternalServerException extends __BaseException {
31
- readonly name: "InternalServerException";
32
- readonly $fault: "server";
33
- /**
34
- * @internal
35
- */
36
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
37
- }
38
- /**
39
- * <p>Request references a resource that doesn't exist.</p>
40
- * @public
41
- */
42
- export declare class ResourceNotFoundException extends __BaseException {
43
- readonly name: "ResourceNotFoundException";
44
- readonly $fault: "client";
45
- /**
46
- * @internal
47
- */
48
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
49
- }
50
- /**
51
- * <p>Exception caused by throttling.</p>
52
- * @public
53
- */
54
- export declare class ThrottlingException extends __BaseException {
55
- readonly name: "ThrottlingException";
56
- readonly $fault: "client";
57
- /**
58
- * @internal
59
- */
60
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
61
- }
62
- /**
63
- * <p>Unable to process the request because the client provided input failed to satisfy
64
- * request constraints.</p>
65
- * @public
66
- */
67
- export declare class ValidationException extends __BaseException {
68
- readonly name: "ValidationException";
69
- readonly $fault: "client";
70
- /**
71
- * @internal
72
- */
73
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
74
- }
75
13
  /**
76
14
  * @public
77
15
  */
@@ -82,43 +20,6 @@ export interface CreateSolFunctionPackageInput {
82
20
  */
83
21
  tags?: Record<string, string> | undefined;
84
22
  }
85
- /**
86
- * @public
87
- * @enum
88
- */
89
- export declare const OnboardingState: {
90
- readonly CREATED: "CREATED";
91
- readonly ERROR: "ERROR";
92
- readonly ONBOARDED: "ONBOARDED";
93
- };
94
- /**
95
- * @public
96
- */
97
- export type OnboardingState = (typeof OnboardingState)[keyof typeof OnboardingState];
98
- /**
99
- * @public
100
- * @enum
101
- */
102
- export declare const OperationalState: {
103
- readonly DISABLED: "DISABLED";
104
- readonly ENABLED: "ENABLED";
105
- };
106
- /**
107
- * @public
108
- */
109
- export type OperationalState = (typeof OperationalState)[keyof typeof OperationalState];
110
- /**
111
- * @public
112
- * @enum
113
- */
114
- export declare const UsageState: {
115
- readonly IN_USE: "IN_USE";
116
- readonly NOT_IN_USE: "NOT_IN_USE";
117
- };
118
- /**
119
- * @public
120
- */
121
- export type UsageState = (typeof UsageState)[keyof typeof UsageState];
122
23
  /**
123
24
  * @public
124
25
  */
@@ -154,18 +55,6 @@ export interface CreateSolFunctionPackageOutput {
154
55
  */
155
56
  tags?: Record<string, string> | undefined;
156
57
  }
157
- /**
158
- * <p>Service quotas have been exceeded.</p>
159
- * @public
160
- */
161
- export declare class ServiceQuotaExceededException extends __BaseException {
162
- readonly name: "ServiceQuotaExceededException";
163
- readonly $fault: "client";
164
- /**
165
- * @internal
166
- */
167
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
168
- }
169
58
  /**
170
59
  * @public
171
60
  */
@@ -231,43 +120,6 @@ export interface CreateSolNetworkPackageInput {
231
120
  */
232
121
  tags?: Record<string, string> | undefined;
233
122
  }
234
- /**
235
- * @public
236
- * @enum
237
- */
238
- export declare const NsdOnboardingState: {
239
- readonly CREATED: "CREATED";
240
- readonly ERROR: "ERROR";
241
- readonly ONBOARDED: "ONBOARDED";
242
- };
243
- /**
244
- * @public
245
- */
246
- export type NsdOnboardingState = (typeof NsdOnboardingState)[keyof typeof NsdOnboardingState];
247
- /**
248
- * @public
249
- * @enum
250
- */
251
- export declare const NsdOperationalState: {
252
- readonly DISABLED: "DISABLED";
253
- readonly ENABLED: "ENABLED";
254
- };
255
- /**
256
- * @public
257
- */
258
- export type NsdOperationalState = (typeof NsdOperationalState)[keyof typeof NsdOperationalState];
259
- /**
260
- * @public
261
- * @enum
262
- */
263
- export declare const NsdUsageState: {
264
- readonly IN_USE: "IN_USE";
265
- readonly NOT_IN_USE: "NOT_IN_USE";
266
- };
267
- /**
268
- * @public
269
- */
270
- export type NsdUsageState = (typeof NsdUsageState)[keyof typeof NsdUsageState];
271
123
  /**
272
124
  * @public
273
125
  */
@@ -333,17 +185,6 @@ export interface DeleteSolNetworkPackageInput {
333
185
  */
334
186
  nsdInfoId: string | undefined;
335
187
  }
336
- /**
337
- * @public
338
- * @enum
339
- */
340
- export declare const DescriptorContentType: {
341
- readonly TEXT_PLAIN: "text/plain";
342
- };
343
- /**
344
- * @public
345
- */
346
- export type DescriptorContentType = (typeof DescriptorContentType)[keyof typeof DescriptorContentType];
347
188
  /**
348
189
  * <p>Provides error information.</p>
349
190
  * @public
@@ -432,18 +273,6 @@ export interface GetSolVnfcResourceInfo {
432
273
  */
433
274
  metadata?: GetSolVnfcResourceInfoMetadata | undefined;
434
275
  }
435
- /**
436
- * @public
437
- * @enum
438
- */
439
- export declare const VnfOperationalState: {
440
- readonly STARTED: "STARTED";
441
- readonly STOPPED: "STOPPED";
442
- };
443
- /**
444
- * @public
445
- */
446
- export type VnfOperationalState = (typeof VnfOperationalState)[keyof typeof VnfOperationalState];
447
276
  /**
448
277
  * <p>Information about the network function.</p>
449
278
  * <p>A network function instance is a function in a function package .</p>
@@ -461,18 +290,6 @@ export interface GetSolVnfInfo {
461
290
  */
462
291
  vnfcResourceInfo?: GetSolVnfcResourceInfo[] | undefined;
463
292
  }
464
- /**
465
- * @public
466
- * @enum
467
- */
468
- export declare const VnfInstantiationState: {
469
- readonly INSTANTIATED: "INSTANTIATED";
470
- readonly NOT_INSTANTIATED: "NOT_INSTANTIATED";
471
- };
472
- /**
473
- * @public
474
- */
475
- export type VnfInstantiationState = (typeof VnfInstantiationState)[keyof typeof VnfInstantiationState];
476
293
  /**
477
294
  * <p>The metadata of a network function instance.</p>
478
295
  * <p>A network function instance is a function in a function package .</p>
@@ -650,17 +467,6 @@ export interface GetSolFunctionPackageOutput {
650
467
  */
651
468
  tags?: Record<string, string> | undefined;
652
469
  }
653
- /**
654
- * @public
655
- * @enum
656
- */
657
- export declare const PackageContentType: {
658
- readonly APPLICATION_ZIP: "application/zip";
659
- };
660
- /**
661
- * @public
662
- */
663
- export type PackageContentType = (typeof PackageContentType)[keyof typeof PackageContentType];
664
470
  /**
665
471
  * @public
666
472
  */
@@ -773,27 +579,6 @@ export interface GetSolNetworkInstanceMetadata {
773
579
  */
774
580
  lastModified: Date | undefined;
775
581
  }
776
- /**
777
- * @public
778
- * @enum
779
- */
780
- export declare const NsState: {
781
- readonly DELETED: "DELETED";
782
- readonly IMPAIRED: "IMPAIRED";
783
- readonly INSTANTIATED: "INSTANTIATED";
784
- readonly INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS";
785
- readonly INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS";
786
- readonly NOT_INSTANTIATED: "NOT_INSTANTIATED";
787
- readonly STOPPED: "STOPPED";
788
- readonly TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS";
789
- readonly UPDATED: "UPDATED";
790
- readonly UPDATE_FAILED: "UPDATE_FAILED";
791
- readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
792
- };
793
- /**
794
- * @public
795
- */
796
- export type NsState = (typeof NsState)[keyof typeof NsState];
797
582
  /**
798
583
  * @public
799
584
  */
@@ -877,19 +662,6 @@ export interface ProblemDetails {
877
662
  */
878
663
  title?: string | undefined;
879
664
  }
880
- /**
881
- * @public
882
- * @enum
883
- */
884
- export declare const LcmOperationType: {
885
- readonly INSTANTIATE: "INSTANTIATE";
886
- readonly TERMINATE: "TERMINATE";
887
- readonly UPDATE: "UPDATE";
888
- };
889
- /**
890
- * @public
891
- */
892
- export type LcmOperationType = (typeof LcmOperationType)[keyof typeof LcmOperationType];
893
665
  /**
894
666
  * <p>Metadata related to the configuration properties used during instantiation of the network instance.</p>
895
667
  * @public
@@ -976,38 +748,6 @@ export interface GetSolNetworkOperationMetadata {
976
748
  */
977
749
  lastModified: Date | undefined;
978
750
  }
979
- /**
980
- * @public
981
- * @enum
982
- */
983
- export declare const NsLcmOperationState: {
984
- readonly CANCELLED: "CANCELLED";
985
- readonly CANCELLING: "CANCELLING";
986
- readonly COMPLETED: "COMPLETED";
987
- readonly FAILED: "FAILED";
988
- readonly PROCESSING: "PROCESSING";
989
- };
990
- /**
991
- * @public
992
- */
993
- export type NsLcmOperationState = (typeof NsLcmOperationState)[keyof typeof NsLcmOperationState];
994
- /**
995
- * @public
996
- * @enum
997
- */
998
- export declare const TaskStatus: {
999
- readonly CANCELLED: "CANCELLED";
1000
- readonly COMPLETED: "COMPLETED";
1001
- readonly ERROR: "ERROR";
1002
- readonly IN_PROGRESS: "IN_PROGRESS";
1003
- readonly SCHEDULED: "SCHEDULED";
1004
- readonly SKIPPED: "SKIPPED";
1005
- readonly STARTED: "STARTED";
1006
- };
1007
- /**
1008
- * @public
1009
- */
1010
- export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
1011
751
  /**
1012
752
  * <p>Gets the details of a network operation.</p>
1013
753
  * <p>A network operation is any operation that is done to your network, such as network instance instantiation or termination.</p>
@@ -1045,18 +785,6 @@ export interface GetSolNetworkOperationTaskDetails {
1045
785
  */
1046
786
  taskEndTime?: Date | undefined;
1047
787
  }
1048
- /**
1049
- * @public
1050
- * @enum
1051
- */
1052
- export declare const UpdateSolNetworkType: {
1053
- readonly MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION";
1054
- readonly UPDATE_NS: "UPDATE_NS";
1055
- };
1056
- /**
1057
- * @public
1058
- */
1059
- export type UpdateSolNetworkType = (typeof UpdateSolNetworkType)[keyof typeof UpdateSolNetworkType];
1060
788
  /**
1061
789
  * @public
1062
790
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { TnbExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { TnbServiceException } from "./models/TnbServiceException";
@@ -0,0 +1,104 @@
1
+ export declare const OnboardingState: {
2
+ readonly CREATED: "CREATED";
3
+ readonly ERROR: "ERROR";
4
+ readonly ONBOARDED: "ONBOARDED";
5
+ };
6
+ export type OnboardingState =
7
+ (typeof OnboardingState)[keyof typeof OnboardingState];
8
+ export declare const OperationalState: {
9
+ readonly DISABLED: "DISABLED";
10
+ readonly ENABLED: "ENABLED";
11
+ };
12
+ export type OperationalState =
13
+ (typeof OperationalState)[keyof typeof OperationalState];
14
+ export declare const UsageState: {
15
+ readonly IN_USE: "IN_USE";
16
+ readonly NOT_IN_USE: "NOT_IN_USE";
17
+ };
18
+ export type UsageState = (typeof UsageState)[keyof typeof UsageState];
19
+ export declare const NsdOnboardingState: {
20
+ readonly CREATED: "CREATED";
21
+ readonly ERROR: "ERROR";
22
+ readonly ONBOARDED: "ONBOARDED";
23
+ };
24
+ export type NsdOnboardingState =
25
+ (typeof NsdOnboardingState)[keyof typeof NsdOnboardingState];
26
+ export declare const NsdOperationalState: {
27
+ readonly DISABLED: "DISABLED";
28
+ readonly ENABLED: "ENABLED";
29
+ };
30
+ export type NsdOperationalState =
31
+ (typeof NsdOperationalState)[keyof typeof NsdOperationalState];
32
+ export declare const NsdUsageState: {
33
+ readonly IN_USE: "IN_USE";
34
+ readonly NOT_IN_USE: "NOT_IN_USE";
35
+ };
36
+ export type NsdUsageState = (typeof NsdUsageState)[keyof typeof NsdUsageState];
37
+ export declare const DescriptorContentType: {
38
+ readonly TEXT_PLAIN: "text/plain";
39
+ };
40
+ export type DescriptorContentType =
41
+ (typeof DescriptorContentType)[keyof typeof DescriptorContentType];
42
+ export declare const VnfOperationalState: {
43
+ readonly STARTED: "STARTED";
44
+ readonly STOPPED: "STOPPED";
45
+ };
46
+ export type VnfOperationalState =
47
+ (typeof VnfOperationalState)[keyof typeof VnfOperationalState];
48
+ export declare const VnfInstantiationState: {
49
+ readonly INSTANTIATED: "INSTANTIATED";
50
+ readonly NOT_INSTANTIATED: "NOT_INSTANTIATED";
51
+ };
52
+ export type VnfInstantiationState =
53
+ (typeof VnfInstantiationState)[keyof typeof VnfInstantiationState];
54
+ export declare const PackageContentType: {
55
+ readonly APPLICATION_ZIP: "application/zip";
56
+ };
57
+ export type PackageContentType =
58
+ (typeof PackageContentType)[keyof typeof PackageContentType];
59
+ export declare const NsState: {
60
+ readonly DELETED: "DELETED";
61
+ readonly IMPAIRED: "IMPAIRED";
62
+ readonly INSTANTIATED: "INSTANTIATED";
63
+ readonly INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS";
64
+ readonly INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS";
65
+ readonly NOT_INSTANTIATED: "NOT_INSTANTIATED";
66
+ readonly STOPPED: "STOPPED";
67
+ readonly TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS";
68
+ readonly UPDATED: "UPDATED";
69
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
70
+ readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
71
+ };
72
+ export type NsState = (typeof NsState)[keyof typeof NsState];
73
+ export declare const LcmOperationType: {
74
+ readonly INSTANTIATE: "INSTANTIATE";
75
+ readonly TERMINATE: "TERMINATE";
76
+ readonly UPDATE: "UPDATE";
77
+ };
78
+ export type LcmOperationType =
79
+ (typeof LcmOperationType)[keyof typeof LcmOperationType];
80
+ export declare const NsLcmOperationState: {
81
+ readonly CANCELLED: "CANCELLED";
82
+ readonly CANCELLING: "CANCELLING";
83
+ readonly COMPLETED: "COMPLETED";
84
+ readonly FAILED: "FAILED";
85
+ readonly PROCESSING: "PROCESSING";
86
+ };
87
+ export type NsLcmOperationState =
88
+ (typeof NsLcmOperationState)[keyof typeof NsLcmOperationState];
89
+ export declare const TaskStatus: {
90
+ readonly CANCELLED: "CANCELLED";
91
+ readonly COMPLETED: "COMPLETED";
92
+ readonly ERROR: "ERROR";
93
+ readonly IN_PROGRESS: "IN_PROGRESS";
94
+ readonly SCHEDULED: "SCHEDULED";
95
+ readonly SKIPPED: "SKIPPED";
96
+ readonly STARTED: "STARTED";
97
+ };
98
+ export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
99
+ export declare const UpdateSolNetworkType: {
100
+ readonly MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION";
101
+ readonly UPDATE_NS: "UPDATE_NS";
102
+ };
103
+ export type UpdateSolNetworkType =
104
+ (typeof UpdateSolNetworkType)[keyof typeof UpdateSolNetworkType];
@@ -0,0 +1,44 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { TnbServiceException as __BaseException } from "./TnbServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare class InternalServerException extends __BaseException {
11
+ readonly name: "InternalServerException";
12
+ readonly $fault: "server";
13
+ constructor(
14
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
15
+ );
16
+ }
17
+ export declare class ResourceNotFoundException extends __BaseException {
18
+ readonly name: "ResourceNotFoundException";
19
+ readonly $fault: "client";
20
+ constructor(
21
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
22
+ );
23
+ }
24
+ export declare class ThrottlingException extends __BaseException {
25
+ readonly name: "ThrottlingException";
26
+ readonly $fault: "client";
27
+ constructor(
28
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
29
+ );
30
+ }
31
+ export declare class ValidationException extends __BaseException {
32
+ readonly name: "ValidationException";
33
+ readonly $fault: "client";
34
+ constructor(
35
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
36
+ );
37
+ }
38
+ export declare class ServiceQuotaExceededException extends __BaseException {
39
+ readonly name: "ServiceQuotaExceededException";
40
+ readonly $fault: "client";
41
+ constructor(
42
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
43
+ );
44
+ }