@aws-sdk/client-tnb 3.934.0 → 3.936.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 +19 -19
- 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
|
@@ -1,65 +1,27 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import {
|
|
3
|
+
DescriptorContentType,
|
|
4
|
+
LcmOperationType,
|
|
5
|
+
NsdOnboardingState,
|
|
6
|
+
NsdOperationalState,
|
|
7
|
+
NsdUsageState,
|
|
8
|
+
NsLcmOperationState,
|
|
9
|
+
NsState,
|
|
10
|
+
OnboardingState,
|
|
11
|
+
OperationalState,
|
|
12
|
+
PackageContentType,
|
|
13
|
+
TaskStatus,
|
|
14
|
+
UpdateSolNetworkType,
|
|
15
|
+
UsageState,
|
|
16
|
+
VnfInstantiationState,
|
|
17
|
+
VnfOperationalState,
|
|
18
|
+
} from "./enums";
|
|
11
19
|
export interface CancelSolNetworkOperationInput {
|
|
12
20
|
nsLcmOpOccId: string | undefined;
|
|
13
21
|
}
|
|
14
|
-
export declare class InternalServerException extends __BaseException {
|
|
15
|
-
readonly name: "InternalServerException";
|
|
16
|
-
readonly $fault: "server";
|
|
17
|
-
constructor(
|
|
18
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
19
|
-
);
|
|
20
|
-
}
|
|
21
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
22
|
-
readonly name: "ResourceNotFoundException";
|
|
23
|
-
readonly $fault: "client";
|
|
24
|
-
constructor(
|
|
25
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
export declare class ThrottlingException extends __BaseException {
|
|
29
|
-
readonly name: "ThrottlingException";
|
|
30
|
-
readonly $fault: "client";
|
|
31
|
-
constructor(
|
|
32
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
export declare class ValidationException extends __BaseException {
|
|
36
|
-
readonly name: "ValidationException";
|
|
37
|
-
readonly $fault: "client";
|
|
38
|
-
constructor(
|
|
39
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
22
|
export interface CreateSolFunctionPackageInput {
|
|
43
23
|
tags?: Record<string, string> | undefined;
|
|
44
24
|
}
|
|
45
|
-
export declare const OnboardingState: {
|
|
46
|
-
readonly CREATED: "CREATED";
|
|
47
|
-
readonly ERROR: "ERROR";
|
|
48
|
-
readonly ONBOARDED: "ONBOARDED";
|
|
49
|
-
};
|
|
50
|
-
export type OnboardingState =
|
|
51
|
-
(typeof OnboardingState)[keyof typeof OnboardingState];
|
|
52
|
-
export declare const OperationalState: {
|
|
53
|
-
readonly DISABLED: "DISABLED";
|
|
54
|
-
readonly ENABLED: "ENABLED";
|
|
55
|
-
};
|
|
56
|
-
export type OperationalState =
|
|
57
|
-
(typeof OperationalState)[keyof typeof OperationalState];
|
|
58
|
-
export declare const UsageState: {
|
|
59
|
-
readonly IN_USE: "IN_USE";
|
|
60
|
-
readonly NOT_IN_USE: "NOT_IN_USE";
|
|
61
|
-
};
|
|
62
|
-
export type UsageState = (typeof UsageState)[keyof typeof UsageState];
|
|
63
25
|
export interface CreateSolFunctionPackageOutput {
|
|
64
26
|
id: string | undefined;
|
|
65
27
|
arn: string | undefined;
|
|
@@ -68,13 +30,6 @@ export interface CreateSolFunctionPackageOutput {
|
|
|
68
30
|
usageState: UsageState | undefined;
|
|
69
31
|
tags?: Record<string, string> | undefined;
|
|
70
32
|
}
|
|
71
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
72
|
-
readonly name: "ServiceQuotaExceededException";
|
|
73
|
-
readonly $fault: "client";
|
|
74
|
-
constructor(
|
|
75
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
33
|
export interface CreateSolNetworkInstanceInput {
|
|
79
34
|
nsdInfoId: string | undefined;
|
|
80
35
|
nsName: string | undefined;
|
|
@@ -91,24 +46,6 @@ export interface CreateSolNetworkInstanceOutput {
|
|
|
91
46
|
export interface CreateSolNetworkPackageInput {
|
|
92
47
|
tags?: Record<string, string> | undefined;
|
|
93
48
|
}
|
|
94
|
-
export declare const NsdOnboardingState: {
|
|
95
|
-
readonly CREATED: "CREATED";
|
|
96
|
-
readonly ERROR: "ERROR";
|
|
97
|
-
readonly ONBOARDED: "ONBOARDED";
|
|
98
|
-
};
|
|
99
|
-
export type NsdOnboardingState =
|
|
100
|
-
(typeof NsdOnboardingState)[keyof typeof NsdOnboardingState];
|
|
101
|
-
export declare const NsdOperationalState: {
|
|
102
|
-
readonly DISABLED: "DISABLED";
|
|
103
|
-
readonly ENABLED: "ENABLED";
|
|
104
|
-
};
|
|
105
|
-
export type NsdOperationalState =
|
|
106
|
-
(typeof NsdOperationalState)[keyof typeof NsdOperationalState];
|
|
107
|
-
export declare const NsdUsageState: {
|
|
108
|
-
readonly IN_USE: "IN_USE";
|
|
109
|
-
readonly NOT_IN_USE: "NOT_IN_USE";
|
|
110
|
-
};
|
|
111
|
-
export type NsdUsageState = (typeof NsdUsageState)[keyof typeof NsdUsageState];
|
|
112
49
|
export interface CreateSolNetworkPackageOutput {
|
|
113
50
|
id: string | undefined;
|
|
114
51
|
arn: string | undefined;
|
|
@@ -126,11 +63,6 @@ export interface DeleteSolNetworkInstanceInput {
|
|
|
126
63
|
export interface DeleteSolNetworkPackageInput {
|
|
127
64
|
nsdInfoId: string | undefined;
|
|
128
65
|
}
|
|
129
|
-
export declare const DescriptorContentType: {
|
|
130
|
-
readonly TEXT_PLAIN: "text/plain";
|
|
131
|
-
};
|
|
132
|
-
export type DescriptorContentType =
|
|
133
|
-
(typeof DescriptorContentType)[keyof typeof DescriptorContentType];
|
|
134
66
|
export interface ErrorInfo {
|
|
135
67
|
cause?: string | undefined;
|
|
136
68
|
details?: string | undefined;
|
|
@@ -153,22 +85,10 @@ export interface GetSolVnfcResourceInfoMetadata {
|
|
|
153
85
|
export interface GetSolVnfcResourceInfo {
|
|
154
86
|
metadata?: GetSolVnfcResourceInfoMetadata | undefined;
|
|
155
87
|
}
|
|
156
|
-
export declare const VnfOperationalState: {
|
|
157
|
-
readonly STARTED: "STARTED";
|
|
158
|
-
readonly STOPPED: "STOPPED";
|
|
159
|
-
};
|
|
160
|
-
export type VnfOperationalState =
|
|
161
|
-
(typeof VnfOperationalState)[keyof typeof VnfOperationalState];
|
|
162
88
|
export interface GetSolVnfInfo {
|
|
163
89
|
vnfState?: VnfOperationalState | undefined;
|
|
164
90
|
vnfcResourceInfo?: GetSolVnfcResourceInfo[] | undefined;
|
|
165
91
|
}
|
|
166
|
-
export declare const VnfInstantiationState: {
|
|
167
|
-
readonly INSTANTIATED: "INSTANTIATED";
|
|
168
|
-
readonly NOT_INSTANTIATED: "NOT_INSTANTIATED";
|
|
169
|
-
};
|
|
170
|
-
export type VnfInstantiationState =
|
|
171
|
-
(typeof VnfInstantiationState)[keyof typeof VnfInstantiationState];
|
|
172
92
|
export interface GetSolFunctionInstanceMetadata {
|
|
173
93
|
createdAt: Date | undefined;
|
|
174
94
|
lastModified: Date | undefined;
|
|
@@ -208,11 +128,6 @@ export interface GetSolFunctionPackageOutput {
|
|
|
208
128
|
metadata?: GetSolFunctionPackageMetadata | undefined;
|
|
209
129
|
tags?: Record<string, string> | undefined;
|
|
210
130
|
}
|
|
211
|
-
export declare const PackageContentType: {
|
|
212
|
-
readonly APPLICATION_ZIP: "application/zip";
|
|
213
|
-
};
|
|
214
|
-
export type PackageContentType =
|
|
215
|
-
(typeof PackageContentType)[keyof typeof PackageContentType];
|
|
216
131
|
export interface GetSolFunctionPackageContentInput {
|
|
217
132
|
vnfPkgId: string | undefined;
|
|
218
133
|
accept: PackageContentType | undefined;
|
|
@@ -242,20 +157,6 @@ export interface GetSolNetworkInstanceMetadata {
|
|
|
242
157
|
createdAt: Date | undefined;
|
|
243
158
|
lastModified: Date | undefined;
|
|
244
159
|
}
|
|
245
|
-
export declare const NsState: {
|
|
246
|
-
readonly DELETED: "DELETED";
|
|
247
|
-
readonly IMPAIRED: "IMPAIRED";
|
|
248
|
-
readonly INSTANTIATED: "INSTANTIATED";
|
|
249
|
-
readonly INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS";
|
|
250
|
-
readonly INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS";
|
|
251
|
-
readonly NOT_INSTANTIATED: "NOT_INSTANTIATED";
|
|
252
|
-
readonly STOPPED: "STOPPED";
|
|
253
|
-
readonly TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS";
|
|
254
|
-
readonly UPDATED: "UPDATED";
|
|
255
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
256
|
-
readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
|
|
257
|
-
};
|
|
258
|
-
export type NsState = (typeof NsState)[keyof typeof NsState];
|
|
259
160
|
export interface GetSolNetworkInstanceOutput {
|
|
260
161
|
id: string | undefined;
|
|
261
162
|
arn: string | undefined;
|
|
@@ -275,13 +176,6 @@ export interface ProblemDetails {
|
|
|
275
176
|
detail: string | undefined;
|
|
276
177
|
title?: string | undefined;
|
|
277
178
|
}
|
|
278
|
-
export declare const LcmOperationType: {
|
|
279
|
-
readonly INSTANTIATE: "INSTANTIATE";
|
|
280
|
-
readonly TERMINATE: "TERMINATE";
|
|
281
|
-
readonly UPDATE: "UPDATE";
|
|
282
|
-
};
|
|
283
|
-
export type LcmOperationType =
|
|
284
|
-
(typeof LcmOperationType)[keyof typeof LcmOperationType];
|
|
285
179
|
export interface InstantiateMetadata {
|
|
286
180
|
nsdInfoId: string | undefined;
|
|
287
181
|
additionalParamsForNs?: __DocumentType | undefined;
|
|
@@ -301,25 +195,6 @@ export interface GetSolNetworkOperationMetadata {
|
|
|
301
195
|
createdAt: Date | undefined;
|
|
302
196
|
lastModified: Date | undefined;
|
|
303
197
|
}
|
|
304
|
-
export declare const NsLcmOperationState: {
|
|
305
|
-
readonly CANCELLED: "CANCELLED";
|
|
306
|
-
readonly CANCELLING: "CANCELLING";
|
|
307
|
-
readonly COMPLETED: "COMPLETED";
|
|
308
|
-
readonly FAILED: "FAILED";
|
|
309
|
-
readonly PROCESSING: "PROCESSING";
|
|
310
|
-
};
|
|
311
|
-
export type NsLcmOperationState =
|
|
312
|
-
(typeof NsLcmOperationState)[keyof typeof NsLcmOperationState];
|
|
313
|
-
export declare const TaskStatus: {
|
|
314
|
-
readonly CANCELLED: "CANCELLED";
|
|
315
|
-
readonly COMPLETED: "COMPLETED";
|
|
316
|
-
readonly ERROR: "ERROR";
|
|
317
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
318
|
-
readonly SCHEDULED: "SCHEDULED";
|
|
319
|
-
readonly SKIPPED: "SKIPPED";
|
|
320
|
-
readonly STARTED: "STARTED";
|
|
321
|
-
};
|
|
322
|
-
export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
|
|
323
198
|
export interface GetSolNetworkOperationTaskDetails {
|
|
324
199
|
taskName?: string | undefined;
|
|
325
200
|
taskContext?: Record<string, string> | undefined;
|
|
@@ -328,12 +203,6 @@ export interface GetSolNetworkOperationTaskDetails {
|
|
|
328
203
|
taskStartTime?: Date | undefined;
|
|
329
204
|
taskEndTime?: Date | undefined;
|
|
330
205
|
}
|
|
331
|
-
export declare const UpdateSolNetworkType: {
|
|
332
|
-
readonly MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION";
|
|
333
|
-
readonly UPDATE_NS: "UPDATE_NS";
|
|
334
|
-
};
|
|
335
|
-
export type UpdateSolNetworkType =
|
|
336
|
-
(typeof UpdateSolNetworkType)[keyof typeof UpdateSolNetworkType];
|
|
337
206
|
export interface GetSolNetworkOperationOutput {
|
|
338
207
|
id?: string | undefined;
|
|
339
208
|
arn: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-tnb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Tnb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-tnb",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|