@aws-sdk/client-tnb 3.987.0 → 3.988.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 +52 -1152
- package/dist-cjs/models/TnbServiceException.js +12 -0
- package/dist-cjs/models/errors.js +82 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +911 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +42 -36
- package/dist-types/schemas/schemas_0.d.ts +13 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -6
- package/package.json +14 -14
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultTnbHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2008-10-21",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.tnb",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2008-10-21",
|
|
30
32
|
serviceTarget: "TNB",
|
|
31
33
|
},
|
|
@@ -212,8 +212,8 @@ const _oSp = "operationalState";
|
|
|
212
212
|
const _oSpe = "operationState";
|
|
213
213
|
const _pC = "packageContent";
|
|
214
214
|
const _rA = "resourceArn";
|
|
215
|
-
const _s = "
|
|
216
|
-
const
|
|
215
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.tnb";
|
|
216
|
+
const _se = "server";
|
|
217
217
|
const _t = "tags";
|
|
218
218
|
const _tC = "taskContext";
|
|
219
219
|
const _tED = "taskErrorDetails";
|
|
@@ -244,13 +244,51 @@ const n0 = "com.amazonaws.tnb";
|
|
|
244
244
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
245
245
|
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
246
246
|
import { TnbServiceException } from "../models/TnbServiceException";
|
|
247
|
-
|
|
247
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
248
|
+
export var TnbServiceException$ = [-3, _s, "TnbServiceException", 0, [], []];
|
|
249
|
+
_s_registry.registerError(TnbServiceException$, TnbServiceException);
|
|
250
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
248
251
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
249
252
|
{ [_e]: _c, [_hE]: 403 },
|
|
250
253
|
[_m],
|
|
251
254
|
[0], 1
|
|
252
255
|
];
|
|
253
|
-
|
|
256
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
257
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
258
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
259
|
+
[_m],
|
|
260
|
+
[0], 1
|
|
261
|
+
];
|
|
262
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
263
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
264
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
265
|
+
[_m],
|
|
266
|
+
[0], 1
|
|
267
|
+
];
|
|
268
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
269
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
270
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
271
|
+
[_m],
|
|
272
|
+
[0], 1
|
|
273
|
+
];
|
|
274
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
275
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
276
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
277
|
+
[_m],
|
|
278
|
+
[0], 1
|
|
279
|
+
];
|
|
280
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
281
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
282
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
283
|
+
[_m],
|
|
284
|
+
[0], 1
|
|
285
|
+
];
|
|
286
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
287
|
+
export const errorTypeRegistries = [
|
|
288
|
+
_s_registry,
|
|
289
|
+
n0_registry,
|
|
290
|
+
];
|
|
291
|
+
var SensitiveBlob = [0, n0, _SB, 8, 21];
|
|
254
292
|
export var CancelSolNetworkOperationInput$ = [3, n0, _CSNOI,
|
|
255
293
|
0,
|
|
256
294
|
[_nLOOI],
|
|
@@ -466,12 +504,6 @@ export var InstantiateSolNetworkInstanceOutput$ = [3, n0, _ISNIO,
|
|
|
466
504
|
[_nLOOI, _t],
|
|
467
505
|
[0, [() => TagMap, 0]], 1
|
|
468
506
|
];
|
|
469
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
470
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
471
|
-
[_m],
|
|
472
|
-
[0], 1
|
|
473
|
-
];
|
|
474
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
475
507
|
export var LcmOperationInfo$ = [3, n0, _LOI,
|
|
476
508
|
0,
|
|
477
509
|
[_nLOOI],
|
|
@@ -632,18 +664,6 @@ export var PutSolNetworkPackageContentOutput$ = [3, n0, _PSNPCO,
|
|
|
632
664
|
[_i, _a, _nI, _nNs, _nV, _vPIn, _me],
|
|
633
665
|
[0, 0, 0, 0, 0, 64 | 0, () => PutSolNetworkPackageContentMetadata$], 7
|
|
634
666
|
];
|
|
635
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
636
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
637
|
-
[_m],
|
|
638
|
-
[0], 1
|
|
639
|
-
];
|
|
640
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
641
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
642
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
643
|
-
[_m],
|
|
644
|
-
[0], 1
|
|
645
|
-
];
|
|
646
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
647
667
|
export var TagResourceInput$ = [3, n0, _TRI,
|
|
648
668
|
0,
|
|
649
669
|
[_rA, _t],
|
|
@@ -664,12 +684,6 @@ export var TerminateSolNetworkInstanceOutput$ = [3, n0, _TSNIO,
|
|
|
664
684
|
[_nLOOI, _t],
|
|
665
685
|
[0, [() => TagMap, 0]]
|
|
666
686
|
];
|
|
667
|
-
export var ThrottlingException$ = [-3, n0, _TE,
|
|
668
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
669
|
-
[_m],
|
|
670
|
-
[0], 1
|
|
671
|
-
];
|
|
672
|
-
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
673
687
|
export var ToscaOverride$ = [3, n0, _TO,
|
|
674
688
|
0,
|
|
675
689
|
[_na, _dV],
|
|
@@ -760,15 +774,7 @@ export var ValidateSolNetworkPackageContentOutput$ = [3, n0, _VSNPCO,
|
|
|
760
774
|
[_i, _a, _nI, _nNs, _nV, _vPIn, _me],
|
|
761
775
|
[0, 0, 0, 0, 0, 64 | 0, () => ValidateSolNetworkPackageContentMetadata$], 7
|
|
762
776
|
];
|
|
763
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
764
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
765
|
-
[_m],
|
|
766
|
-
[0], 1
|
|
767
|
-
];
|
|
768
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
769
777
|
var __Unit = "unit";
|
|
770
|
-
export var TnbServiceException$ = [-3, _sm, "TnbServiceException", 0, [], []];
|
|
771
|
-
TypeRegistry.for(_sm).registerError(TnbServiceException$, TnbServiceException);
|
|
772
778
|
var GetSolNetworkOperationTasksList = [1, n0, _GSNOTL,
|
|
773
779
|
0, () => GetSolNetworkOperationTaskDetails$
|
|
774
780
|
];
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var TnbServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
6
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
7
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
8
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
9
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
10
|
+
/**
|
|
11
|
+
* TypeRegistry instances containing modeled errors.
|
|
12
|
+
* @internal
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
3
16
|
export declare var CancelSolNetworkOperationInput$: StaticStructureSchema;
|
|
4
17
|
export declare var CreateSolFunctionPackageInput$: StaticStructureSchema;
|
|
5
18
|
export declare var CreateSolFunctionPackageOutput$: StaticStructureSchema;
|
|
@@ -43,7 +56,6 @@ export declare var GetSolVnfInfo$: StaticStructureSchema;
|
|
|
43
56
|
export declare var InstantiateMetadata$: StaticStructureSchema;
|
|
44
57
|
export declare var InstantiateSolNetworkInstanceInput$: StaticStructureSchema;
|
|
45
58
|
export declare var InstantiateSolNetworkInstanceOutput$: StaticStructureSchema;
|
|
46
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
47
59
|
export declare var LcmOperationInfo$: StaticStructureSchema;
|
|
48
60
|
export declare var ListSolFunctionInstanceInfo$: StaticStructureSchema;
|
|
49
61
|
export declare var ListSolFunctionInstanceMetadata$: StaticStructureSchema;
|
|
@@ -76,13 +88,10 @@ export declare var PutSolFunctionPackageContentOutput$: StaticStructureSchema;
|
|
|
76
88
|
export declare var PutSolNetworkPackageContentInput$: StaticStructureSchema;
|
|
77
89
|
export declare var PutSolNetworkPackageContentMetadata$: StaticStructureSchema;
|
|
78
90
|
export declare var PutSolNetworkPackageContentOutput$: StaticStructureSchema;
|
|
79
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
80
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
81
91
|
export declare var TagResourceInput$: StaticStructureSchema;
|
|
82
92
|
export declare var TagResourceOutput$: StaticStructureSchema;
|
|
83
93
|
export declare var TerminateSolNetworkInstanceInput$: StaticStructureSchema;
|
|
84
94
|
export declare var TerminateSolNetworkInstanceOutput$: StaticStructureSchema;
|
|
85
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
86
95
|
export declare var ToscaOverride$: StaticStructureSchema;
|
|
87
96
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
88
97
|
export declare var UntagResourceOutput$: StaticStructureSchema;
|
|
@@ -101,8 +110,6 @@ export declare var ValidateSolFunctionPackageContentOutput$: StaticStructureSche
|
|
|
101
110
|
export declare var ValidateSolNetworkPackageContentInput$: StaticStructureSchema;
|
|
102
111
|
export declare var ValidateSolNetworkPackageContentMetadata$: StaticStructureSchema;
|
|
103
112
|
export declare var ValidateSolNetworkPackageContentOutput$: StaticStructureSchema;
|
|
104
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
105
|
-
export declare var TnbServiceException$: StaticErrorSchema;
|
|
106
113
|
export declare var CancelSolNetworkOperation$: StaticOperationSchema;
|
|
107
114
|
export declare var CreateSolFunctionPackage$: StaticOperationSchema;
|
|
108
115
|
export declare var CreateSolNetworkInstance$: StaticOperationSchema;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var TnbServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
10
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
11
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
12
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
13
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
14
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
7
15
|
export declare var CancelSolNetworkOperationInput$: StaticStructureSchema;
|
|
8
16
|
export declare var CreateSolFunctionPackageInput$: StaticStructureSchema;
|
|
9
17
|
export declare var CreateSolFunctionPackageOutput$: StaticStructureSchema;
|
|
@@ -47,7 +55,6 @@ export declare var GetSolVnfInfo$: StaticStructureSchema;
|
|
|
47
55
|
export declare var InstantiateMetadata$: StaticStructureSchema;
|
|
48
56
|
export declare var InstantiateSolNetworkInstanceInput$: StaticStructureSchema;
|
|
49
57
|
export declare var InstantiateSolNetworkInstanceOutput$: StaticStructureSchema;
|
|
50
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
51
58
|
export declare var LcmOperationInfo$: StaticStructureSchema;
|
|
52
59
|
export declare var ListSolFunctionInstanceInfo$: StaticStructureSchema;
|
|
53
60
|
export declare var ListSolFunctionInstanceMetadata$: StaticStructureSchema;
|
|
@@ -80,13 +87,10 @@ export declare var PutSolFunctionPackageContentOutput$: StaticStructureSchema;
|
|
|
80
87
|
export declare var PutSolNetworkPackageContentInput$: StaticStructureSchema;
|
|
81
88
|
export declare var PutSolNetworkPackageContentMetadata$: StaticStructureSchema;
|
|
82
89
|
export declare var PutSolNetworkPackageContentOutput$: StaticStructureSchema;
|
|
83
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
84
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
85
90
|
export declare var TagResourceInput$: StaticStructureSchema;
|
|
86
91
|
export declare var TagResourceOutput$: StaticStructureSchema;
|
|
87
92
|
export declare var TerminateSolNetworkInstanceInput$: StaticStructureSchema;
|
|
88
93
|
export declare var TerminateSolNetworkInstanceOutput$: StaticStructureSchema;
|
|
89
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
90
94
|
export declare var ToscaOverride$: StaticStructureSchema;
|
|
91
95
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
92
96
|
export declare var UntagResourceOutput$: StaticStructureSchema;
|
|
@@ -105,8 +109,6 @@ export declare var ValidateSolFunctionPackageContentOutput$: StaticStructureSche
|
|
|
105
109
|
export declare var ValidateSolNetworkPackageContentInput$: StaticStructureSchema;
|
|
106
110
|
export declare var ValidateSolNetworkPackageContentMetadata$: StaticStructureSchema;
|
|
107
111
|
export declare var ValidateSolNetworkPackageContentOutput$: StaticStructureSchema;
|
|
108
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
109
|
-
export declare var TnbServiceException$: StaticErrorSchema;
|
|
110
112
|
export declare var CancelSolNetworkOperation$: StaticOperationSchema;
|
|
111
113
|
export declare var CreateSolFunctionPackage$: StaticOperationSchema;
|
|
112
114
|
export declare var CreateSolNetworkInstance$: StaticOperationSchema;
|
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.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-tnb",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|
|
59
|
-
"@smithy/util-stream": "^4.5.
|
|
59
|
+
"@smithy/util-stream": "^4.5.12",
|
|
60
60
|
"@smithy/util-utf8": "^4.2.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|