@aws-sdk/client-tnb 3.620.0 → 3.621.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/README.md +5 -1
- package/dist-cjs/index.js +75 -10
- package/dist-es/commands/PutSolFunctionPackageContentCommand.js +2 -1
- package/dist-es/commands/PutSolNetworkPackageContentCommand.js +2 -1
- package/dist-es/commands/ValidateSolFunctionPackageContentCommand.js +2 -1
- package/dist-es/commands/ValidateSolNetworkPackageContentCommand.js +2 -1
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/protocols/Aws_restJson1.js +37 -0
- package/dist-types/Tnb.d.ts +5 -1
- package/dist-types/TnbClient.d.ts +5 -1
- package/dist-types/commands/CancelSolNetworkOperationCommand.d.ts +2 -1
- package/dist-types/commands/CreateSolFunctionPackageCommand.d.ts +7 -4
- package/dist-types/commands/CreateSolNetworkInstanceCommand.d.ts +7 -3
- package/dist-types/commands/CreateSolNetworkPackageCommand.d.ts +10 -5
- package/dist-types/commands/DeleteSolFunctionPackageCommand.d.ts +4 -3
- package/dist-types/commands/DeleteSolNetworkInstanceCommand.d.ts +4 -2
- package/dist-types/commands/DeleteSolNetworkPackageCommand.d.ts +4 -2
- package/dist-types/commands/GetSolFunctionInstanceCommand.d.ts +4 -2
- package/dist-types/commands/GetSolFunctionPackageCommand.d.ts +4 -2
- package/dist-types/commands/GetSolFunctionPackageContentCommand.d.ts +2 -1
- package/dist-types/commands/GetSolFunctionPackageDescriptorCommand.d.ts +2 -1
- package/dist-types/commands/GetSolNetworkInstanceCommand.d.ts +3 -2
- package/dist-types/commands/GetSolNetworkOperationCommand.d.ts +17 -2
- package/dist-types/commands/GetSolNetworkPackageCommand.d.ts +2 -1
- package/dist-types/commands/GetSolNetworkPackageContentCommand.d.ts +2 -1
- package/dist-types/commands/GetSolNetworkPackageDescriptorCommand.d.ts +2 -1
- package/dist-types/commands/InstantiateSolNetworkInstanceCommand.d.ts +4 -2
- package/dist-types/commands/ListSolFunctionInstancesCommand.d.ts +2 -1
- package/dist-types/commands/ListSolFunctionPackagesCommand.d.ts +2 -1
- package/dist-types/commands/ListSolNetworkInstancesCommand.d.ts +3 -2
- package/dist-types/commands/ListSolNetworkOperationsCommand.d.ts +8 -2
- package/dist-types/commands/ListSolNetworkPackagesCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/PutSolFunctionPackageContentCommand.d.ts +2 -1
- package/dist-types/commands/PutSolNetworkPackageContentCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/TerminateSolNetworkInstanceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateSolFunctionPackageCommand.d.ts +2 -1
- package/dist-types/commands/UpdateSolNetworkInstanceCommand.d.ts +8 -2
- package/dist-types/commands/UpdateSolNetworkPackageCommand.d.ts +2 -1
- package/dist-types/commands/ValidateSolFunctionPackageContentCommand.d.ts +4 -2
- package/dist-types/commands/ValidateSolNetworkPackageContentCommand.d.ts +4 -2
- package/dist-types/index.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +180 -22
- package/dist-types/ts3.4/models/models_0.d.ts +46 -5
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript Tnb Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>
|
|
9
|
+
<p>
|
|
10
|
+
Amazon Web Services Telco Network Builder (TNB) is a network automation service that helps
|
|
11
|
+
you deploy and manage telecom networks. AWS TNB helps you with the lifecycle management of
|
|
12
|
+
your telecommunication network functions throughout planning, deployment, and
|
|
13
|
+
post-deployment activities.</p>
|
|
10
14
|
|
|
11
15
|
## Installing
|
|
12
16
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -71,7 +71,9 @@ __export(src_exports, {
|
|
|
71
71
|
OperationalState: () => OperationalState,
|
|
72
72
|
PackageContentType: () => PackageContentType,
|
|
73
73
|
PutSolFunctionPackageContentCommand: () => PutSolFunctionPackageContentCommand,
|
|
74
|
+
PutSolFunctionPackageContentInputFilterSensitiveLog: () => PutSolFunctionPackageContentInputFilterSensitiveLog,
|
|
74
75
|
PutSolNetworkPackageContentCommand: () => PutSolNetworkPackageContentCommand,
|
|
76
|
+
PutSolNetworkPackageContentInputFilterSensitiveLog: () => PutSolNetworkPackageContentInputFilterSensitiveLog,
|
|
75
77
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
76
78
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
77
79
|
TagResourceCommand: () => TagResourceCommand,
|
|
@@ -93,7 +95,9 @@ __export(src_exports, {
|
|
|
93
95
|
UpdateSolNetworkType: () => UpdateSolNetworkType,
|
|
94
96
|
UsageState: () => UsageState,
|
|
95
97
|
ValidateSolFunctionPackageContentCommand: () => ValidateSolFunctionPackageContentCommand,
|
|
98
|
+
ValidateSolFunctionPackageContentInputFilterSensitiveLog: () => ValidateSolFunctionPackageContentInputFilterSensitiveLog,
|
|
96
99
|
ValidateSolNetworkPackageContentCommand: () => ValidateSolNetworkPackageContentCommand,
|
|
100
|
+
ValidateSolNetworkPackageContentInputFilterSensitiveLog: () => ValidateSolNetworkPackageContentInputFilterSensitiveLog,
|
|
97
101
|
ValidationException: () => ValidationException,
|
|
98
102
|
VnfInstantiationState: () => VnfInstantiationState,
|
|
99
103
|
VnfOperationalState: () => VnfOperationalState,
|
|
@@ -427,9 +431,12 @@ var NsState = {
|
|
|
427
431
|
IMPAIRED: "IMPAIRED",
|
|
428
432
|
INSTANTIATED: "INSTANTIATED",
|
|
429
433
|
INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS",
|
|
434
|
+
INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS",
|
|
430
435
|
NOT_INSTANTIATED: "NOT_INSTANTIATED",
|
|
431
436
|
STOPPED: "STOPPED",
|
|
432
437
|
TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS",
|
|
438
|
+
UPDATED: "UPDATED",
|
|
439
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
433
440
|
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS"
|
|
434
441
|
};
|
|
435
442
|
var LcmOperationType = {
|
|
@@ -454,7 +461,8 @@ var TaskStatus = {
|
|
|
454
461
|
STARTED: "STARTED"
|
|
455
462
|
};
|
|
456
463
|
var UpdateSolNetworkType = {
|
|
457
|
-
MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION"
|
|
464
|
+
MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION",
|
|
465
|
+
UPDATE_NS: "UPDATE_NS"
|
|
458
466
|
};
|
|
459
467
|
var CreateSolFunctionPackageInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
460
468
|
...obj,
|
|
@@ -512,6 +520,14 @@ var ListTagsForResourceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
512
520
|
...obj,
|
|
513
521
|
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
514
522
|
}), "ListTagsForResourceOutputFilterSensitiveLog");
|
|
523
|
+
var PutSolFunctionPackageContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
524
|
+
...obj,
|
|
525
|
+
...obj.file && { file: import_smithy_client.SENSITIVE_STRING }
|
|
526
|
+
}), "PutSolFunctionPackageContentInputFilterSensitiveLog");
|
|
527
|
+
var PutSolNetworkPackageContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
528
|
+
...obj,
|
|
529
|
+
...obj.file && { file: import_smithy_client.SENSITIVE_STRING }
|
|
530
|
+
}), "PutSolNetworkPackageContentInputFilterSensitiveLog");
|
|
515
531
|
var TagResourceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
516
532
|
...obj,
|
|
517
533
|
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -532,6 +548,14 @@ var UpdateSolNetworkInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((o
|
|
|
532
548
|
...obj,
|
|
533
549
|
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
534
550
|
}), "UpdateSolNetworkInstanceOutputFilterSensitiveLog");
|
|
551
|
+
var ValidateSolFunctionPackageContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
552
|
+
...obj,
|
|
553
|
+
...obj.file && { file: import_smithy_client.SENSITIVE_STRING }
|
|
554
|
+
}), "ValidateSolFunctionPackageContentInputFilterSensitiveLog");
|
|
555
|
+
var ValidateSolNetworkPackageContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
556
|
+
...obj,
|
|
557
|
+
...obj.file && { file: import_smithy_client.SENSITIVE_STRING }
|
|
558
|
+
}), "ValidateSolNetworkPackageContentInputFilterSensitiveLog");
|
|
535
559
|
|
|
536
560
|
// src/protocols/Aws_restJson1.ts
|
|
537
561
|
var se_CancelSolNetworkOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -766,6 +790,7 @@ var se_ListSolNetworkOperationsCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
766
790
|
const headers = {};
|
|
767
791
|
b.bp("/sol/nslcm/v1/ns_lcm_op_occs");
|
|
768
792
|
const query = (0, import_smithy_client.map)({
|
|
793
|
+
[_nII]: [, input[_nII]],
|
|
769
794
|
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
770
795
|
[_nom]: [, input[_nT]]
|
|
771
796
|
});
|
|
@@ -897,6 +922,7 @@ var se_UpdateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
897
922
|
(0, import_smithy_client.take)(input, {
|
|
898
923
|
modifyVnfInfoData: (_) => se_UpdateSolNetworkModify(_, context),
|
|
899
924
|
tags: (_) => (0, import_smithy_client._json)(_),
|
|
925
|
+
updateNs: (_) => se_UpdateSolNetworkServiceData(_, context),
|
|
900
926
|
updateType: []
|
|
901
927
|
})
|
|
902
928
|
);
|
|
@@ -1156,7 +1182,8 @@ var de_GetSolNetworkOperationCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1156
1182
|
nsInstanceId: import_smithy_client.expectString,
|
|
1157
1183
|
operationState: import_smithy_client.expectString,
|
|
1158
1184
|
tags: import_smithy_client._json,
|
|
1159
|
-
tasks: (_) => de_GetSolNetworkOperationTasksList(_, context)
|
|
1185
|
+
tasks: (_) => de_GetSolNetworkOperationTasksList(_, context),
|
|
1186
|
+
updateType: import_smithy_client.expectString
|
|
1160
1187
|
});
|
|
1161
1188
|
Object.assign(contents, doc);
|
|
1162
1189
|
return contents;
|
|
@@ -1588,6 +1615,12 @@ var se_UpdateSolNetworkModify = /* @__PURE__ */ __name((input, context) => {
|
|
|
1588
1615
|
vnfInstanceId: []
|
|
1589
1616
|
});
|
|
1590
1617
|
}, "se_UpdateSolNetworkModify");
|
|
1618
|
+
var se_UpdateSolNetworkServiceData = /* @__PURE__ */ __name((input, context) => {
|
|
1619
|
+
return (0, import_smithy_client.take)(input, {
|
|
1620
|
+
additionalParamsForNs: (_) => se_Document(_, context),
|
|
1621
|
+
nsdInfoId: []
|
|
1622
|
+
});
|
|
1623
|
+
}, "se_UpdateSolNetworkServiceData");
|
|
1591
1624
|
var se_Document = /* @__PURE__ */ __name((input, context) => {
|
|
1592
1625
|
return input;
|
|
1593
1626
|
}, "se_Document");
|
|
@@ -1613,7 +1646,10 @@ var de_GetSolNetworkInstanceMetadata = /* @__PURE__ */ __name((output, context)
|
|
|
1613
1646
|
var de_GetSolNetworkOperationMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
1614
1647
|
return (0, import_smithy_client.take)(output, {
|
|
1615
1648
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1616
|
-
|
|
1649
|
+
instantiateMetadata: (_) => de_InstantiateMetadata(_, context),
|
|
1650
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1651
|
+
modifyVnfInfoMetadata: (_) => de_ModifyVnfInfoMetadata(_, context),
|
|
1652
|
+
updateNsMetadata: (_) => de_UpdateNsMetadata(_, context)
|
|
1617
1653
|
});
|
|
1618
1654
|
}, "de_GetSolNetworkOperationMetadata");
|
|
1619
1655
|
var de_GetSolNetworkOperationTaskDetails = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1639,6 +1675,12 @@ var de_GetSolNetworkPackageMetadata = /* @__PURE__ */ __name((output, context) =
|
|
|
1639
1675
|
nsd: import_smithy_client._json
|
|
1640
1676
|
});
|
|
1641
1677
|
}, "de_GetSolNetworkPackageMetadata");
|
|
1678
|
+
var de_InstantiateMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
1679
|
+
return (0, import_smithy_client.take)(output, {
|
|
1680
|
+
additionalParamsForNs: (_) => de_Document(_, context),
|
|
1681
|
+
nsdInfoId: import_smithy_client.expectString
|
|
1682
|
+
});
|
|
1683
|
+
}, "de_InstantiateMetadata");
|
|
1642
1684
|
var de_ListSolFunctionInstanceInfo = /* @__PURE__ */ __name((output, context) => {
|
|
1643
1685
|
return (0, import_smithy_client.take)(output, {
|
|
1644
1686
|
arn: import_smithy_client.expectString,
|
|
@@ -1721,13 +1763,16 @@ var de_ListSolNetworkOperationsInfo = /* @__PURE__ */ __name((output, context) =
|
|
|
1721
1763
|
lcmOperationType: import_smithy_client.expectString,
|
|
1722
1764
|
metadata: (_) => de_ListSolNetworkOperationsMetadata(_, context),
|
|
1723
1765
|
nsInstanceId: import_smithy_client.expectString,
|
|
1724
|
-
operationState: import_smithy_client.expectString
|
|
1766
|
+
operationState: import_smithy_client.expectString,
|
|
1767
|
+
updateType: import_smithy_client.expectString
|
|
1725
1768
|
});
|
|
1726
1769
|
}, "de_ListSolNetworkOperationsInfo");
|
|
1727
1770
|
var de_ListSolNetworkOperationsMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
1728
1771
|
return (0, import_smithy_client.take)(output, {
|
|
1729
1772
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1730
|
-
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1773
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1774
|
+
nsdInfoId: import_smithy_client.expectString,
|
|
1775
|
+
vnfInstanceId: import_smithy_client.expectString
|
|
1731
1776
|
});
|
|
1732
1777
|
}, "de_ListSolNetworkOperationsMetadata");
|
|
1733
1778
|
var de_ListSolNetworkOperationsResources = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1764,6 +1809,21 @@ var de_ListSolNetworkPackageResources = /* @__PURE__ */ __name((output, context)
|
|
|
1764
1809
|
});
|
|
1765
1810
|
return retVal;
|
|
1766
1811
|
}, "de_ListSolNetworkPackageResources");
|
|
1812
|
+
var de_ModifyVnfInfoMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
1813
|
+
return (0, import_smithy_client.take)(output, {
|
|
1814
|
+
vnfConfigurableProperties: (_) => de_Document(_, context),
|
|
1815
|
+
vnfInstanceId: import_smithy_client.expectString
|
|
1816
|
+
});
|
|
1817
|
+
}, "de_ModifyVnfInfoMetadata");
|
|
1818
|
+
var de_UpdateNsMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
1819
|
+
return (0, import_smithy_client.take)(output, {
|
|
1820
|
+
additionalParamsForNs: (_) => de_Document(_, context),
|
|
1821
|
+
nsdInfoId: import_smithy_client.expectString
|
|
1822
|
+
});
|
|
1823
|
+
}, "de_UpdateNsMetadata");
|
|
1824
|
+
var de_Document = /* @__PURE__ */ __name((output, context) => {
|
|
1825
|
+
return output;
|
|
1826
|
+
}, "de_Document");
|
|
1767
1827
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1768
1828
|
httpStatusCode: output.statusCode,
|
|
1769
1829
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1778,6 +1838,7 @@ var _dR = "dryRun";
|
|
|
1778
1838
|
var _dr = "dry_run";
|
|
1779
1839
|
var _mR = "maxResults";
|
|
1780
1840
|
var _mr = "max_results";
|
|
1841
|
+
var _nII = "nsInstanceId";
|
|
1781
1842
|
var _nT = "nextToken";
|
|
1782
1843
|
var _nom = "nextpage_opaque_marker";
|
|
1783
1844
|
var _tK = "tagKeys";
|
|
@@ -2158,7 +2219,7 @@ var _PutSolFunctionPackageContentCommand = class _PutSolFunctionPackageContentCo
|
|
|
2158
2219
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2159
2220
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2160
2221
|
];
|
|
2161
|
-
}).s("TNB", "PutSolFunctionPackageContent", {}).n("TnbClient", "PutSolFunctionPackageContentCommand").f(
|
|
2222
|
+
}).s("TNB", "PutSolFunctionPackageContent", {}).n("TnbClient", "PutSolFunctionPackageContentCommand").f(PutSolFunctionPackageContentInputFilterSensitiveLog, void 0).ser(se_PutSolFunctionPackageContentCommand).de(de_PutSolFunctionPackageContentCommand).build() {
|
|
2162
2223
|
};
|
|
2163
2224
|
__name(_PutSolFunctionPackageContentCommand, "PutSolFunctionPackageContentCommand");
|
|
2164
2225
|
var PutSolFunctionPackageContentCommand = _PutSolFunctionPackageContentCommand;
|
|
@@ -2174,7 +2235,7 @@ var _PutSolNetworkPackageContentCommand = class _PutSolNetworkPackageContentComm
|
|
|
2174
2235
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2175
2236
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2176
2237
|
];
|
|
2177
|
-
}).s("TNB", "PutSolNetworkPackageContent", {}).n("TnbClient", "PutSolNetworkPackageContentCommand").f(
|
|
2238
|
+
}).s("TNB", "PutSolNetworkPackageContent", {}).n("TnbClient", "PutSolNetworkPackageContentCommand").f(PutSolNetworkPackageContentInputFilterSensitiveLog, void 0).ser(se_PutSolNetworkPackageContentCommand).de(de_PutSolNetworkPackageContentCommand).build() {
|
|
2178
2239
|
};
|
|
2179
2240
|
__name(_PutSolNetworkPackageContentCommand, "PutSolNetworkPackageContentCommand");
|
|
2180
2241
|
var PutSolNetworkPackageContentCommand = _PutSolNetworkPackageContentCommand;
|
|
@@ -2286,7 +2347,7 @@ var _ValidateSolFunctionPackageContentCommand = class _ValidateSolFunctionPackag
|
|
|
2286
2347
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2287
2348
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2288
2349
|
];
|
|
2289
|
-
}).s("TNB", "ValidateSolFunctionPackageContent", {}).n("TnbClient", "ValidateSolFunctionPackageContentCommand").f(
|
|
2350
|
+
}).s("TNB", "ValidateSolFunctionPackageContent", {}).n("TnbClient", "ValidateSolFunctionPackageContentCommand").f(ValidateSolFunctionPackageContentInputFilterSensitiveLog, void 0).ser(se_ValidateSolFunctionPackageContentCommand).de(de_ValidateSolFunctionPackageContentCommand).build() {
|
|
2290
2351
|
};
|
|
2291
2352
|
__name(_ValidateSolFunctionPackageContentCommand, "ValidateSolFunctionPackageContentCommand");
|
|
2292
2353
|
var ValidateSolFunctionPackageContentCommand = _ValidateSolFunctionPackageContentCommand;
|
|
@@ -2302,7 +2363,7 @@ var _ValidateSolNetworkPackageContentCommand = class _ValidateSolNetworkPackageC
|
|
|
2302
2363
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2303
2364
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2304
2365
|
];
|
|
2305
|
-
}).s("TNB", "ValidateSolNetworkPackageContent", {}).n("TnbClient", "ValidateSolNetworkPackageContentCommand").f(
|
|
2366
|
+
}).s("TNB", "ValidateSolNetworkPackageContent", {}).n("TnbClient", "ValidateSolNetworkPackageContentCommand").f(ValidateSolNetworkPackageContentInputFilterSensitiveLog, void 0).ser(se_ValidateSolNetworkPackageContentCommand).de(de_ValidateSolNetworkPackageContentCommand).build() {
|
|
2306
2367
|
};
|
|
2307
2368
|
__name(_ValidateSolNetworkPackageContentCommand, "ValidateSolNetworkPackageContentCommand");
|
|
2308
2369
|
var ValidateSolNetworkPackageContentCommand = _ValidateSolNetworkPackageContentCommand;
|
|
@@ -2449,10 +2510,14 @@ var paginateListSolNetworkPackages = (0, import_core.createPaginator)(TnbClient,
|
|
|
2449
2510
|
InstantiateSolNetworkInstanceInputFilterSensitiveLog,
|
|
2450
2511
|
InstantiateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
2451
2512
|
ListTagsForResourceOutputFilterSensitiveLog,
|
|
2513
|
+
PutSolFunctionPackageContentInputFilterSensitiveLog,
|
|
2514
|
+
PutSolNetworkPackageContentInputFilterSensitiveLog,
|
|
2452
2515
|
TagResourceInputFilterSensitiveLog,
|
|
2453
2516
|
TerminateSolNetworkInstanceInputFilterSensitiveLog,
|
|
2454
2517
|
TerminateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
2455
2518
|
UpdateSolNetworkInstanceInputFilterSensitiveLog,
|
|
2456
|
-
UpdateSolNetworkInstanceOutputFilterSensitiveLog
|
|
2519
|
+
UpdateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
2520
|
+
ValidateSolFunctionPackageContentInputFilterSensitiveLog,
|
|
2521
|
+
ValidateSolNetworkPackageContentInputFilterSensitiveLog
|
|
2457
2522
|
});
|
|
2458
2523
|
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { PutSolFunctionPackageContentInputFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_PutSolFunctionPackageContentCommand, se_PutSolFunctionPackageContentCommand, } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutSolFunctionPackageContentCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class PutSolFunctionPackageContentCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("TNB", "PutSolFunctionPackageContent", {})
|
|
19
20
|
.n("TnbClient", "PutSolFunctionPackageContentCommand")
|
|
20
|
-
.f(
|
|
21
|
+
.f(PutSolFunctionPackageContentInputFilterSensitiveLog, void 0)
|
|
21
22
|
.ser(se_PutSolFunctionPackageContentCommand)
|
|
22
23
|
.de(de_PutSolFunctionPackageContentCommand)
|
|
23
24
|
.build() {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { PutSolNetworkPackageContentInputFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_PutSolNetworkPackageContentCommand, se_PutSolNetworkPackageContentCommand, } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutSolNetworkPackageContentCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class PutSolNetworkPackageContentCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("TNB", "PutSolNetworkPackageContent", {})
|
|
19
20
|
.n("TnbClient", "PutSolNetworkPackageContentCommand")
|
|
20
|
-
.f(
|
|
21
|
+
.f(PutSolNetworkPackageContentInputFilterSensitiveLog, void 0)
|
|
21
22
|
.ser(se_PutSolNetworkPackageContentCommand)
|
|
22
23
|
.de(de_PutSolNetworkPackageContentCommand)
|
|
23
24
|
.build() {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ValidateSolFunctionPackageContentInputFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_ValidateSolFunctionPackageContentCommand, se_ValidateSolFunctionPackageContentCommand, } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class ValidateSolFunctionPackageContentCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class ValidateSolFunctionPackageContentCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("TNB", "ValidateSolFunctionPackageContent", {})
|
|
19
20
|
.n("TnbClient", "ValidateSolFunctionPackageContentCommand")
|
|
20
|
-
.f(
|
|
21
|
+
.f(ValidateSolFunctionPackageContentInputFilterSensitiveLog, void 0)
|
|
21
22
|
.ser(se_ValidateSolFunctionPackageContentCommand)
|
|
22
23
|
.de(de_ValidateSolFunctionPackageContentCommand)
|
|
23
24
|
.build() {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ValidateSolNetworkPackageContentInputFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_ValidateSolNetworkPackageContentCommand, se_ValidateSolNetworkPackageContentCommand, } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class ValidateSolNetworkPackageContentCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class ValidateSolNetworkPackageContentCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("TNB", "ValidateSolNetworkPackageContent", {})
|
|
19
20
|
.n("TnbClient", "ValidateSolNetworkPackageContentCommand")
|
|
20
|
-
.f(
|
|
21
|
+
.f(ValidateSolNetworkPackageContentInputFilterSensitiveLog, void 0)
|
|
21
22
|
.ser(se_ValidateSolNetworkPackageContentCommand)
|
|
22
23
|
.de(de_ValidateSolNetworkPackageContentCommand)
|
|
23
24
|
.build() {
|
|
@@ -117,9 +117,12 @@ export const NsState = {
|
|
|
117
117
|
IMPAIRED: "IMPAIRED",
|
|
118
118
|
INSTANTIATED: "INSTANTIATED",
|
|
119
119
|
INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS",
|
|
120
|
+
INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS",
|
|
120
121
|
NOT_INSTANTIATED: "NOT_INSTANTIATED",
|
|
121
122
|
STOPPED: "STOPPED",
|
|
122
123
|
TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS",
|
|
124
|
+
UPDATED: "UPDATED",
|
|
125
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
123
126
|
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
124
127
|
};
|
|
125
128
|
export const LcmOperationType = {
|
|
@@ -145,6 +148,7 @@ export const TaskStatus = {
|
|
|
145
148
|
};
|
|
146
149
|
export const UpdateSolNetworkType = {
|
|
147
150
|
MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION",
|
|
151
|
+
UPDATE_NS: "UPDATE_NS",
|
|
148
152
|
};
|
|
149
153
|
export const CreateSolFunctionPackageInputFilterSensitiveLog = (obj) => ({
|
|
150
154
|
...obj,
|
|
@@ -202,6 +206,14 @@ export const ListTagsForResourceOutputFilterSensitiveLog = (obj) => ({
|
|
|
202
206
|
...obj,
|
|
203
207
|
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
204
208
|
});
|
|
209
|
+
export const PutSolFunctionPackageContentInputFilterSensitiveLog = (obj) => ({
|
|
210
|
+
...obj,
|
|
211
|
+
...(obj.file && { file: SENSITIVE_STRING }),
|
|
212
|
+
});
|
|
213
|
+
export const PutSolNetworkPackageContentInputFilterSensitiveLog = (obj) => ({
|
|
214
|
+
...obj,
|
|
215
|
+
...(obj.file && { file: SENSITIVE_STRING }),
|
|
216
|
+
});
|
|
205
217
|
export const TagResourceInputFilterSensitiveLog = (obj) => ({
|
|
206
218
|
...obj,
|
|
207
219
|
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
@@ -222,3 +234,11 @@ export const UpdateSolNetworkInstanceOutputFilterSensitiveLog = (obj) => ({
|
|
|
222
234
|
...obj,
|
|
223
235
|
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
224
236
|
});
|
|
237
|
+
export const ValidateSolFunctionPackageContentInputFilterSensitiveLog = (obj) => ({
|
|
238
|
+
...obj,
|
|
239
|
+
...(obj.file && { file: SENSITIVE_STRING }),
|
|
240
|
+
});
|
|
241
|
+
export const ValidateSolNetworkPackageContentInputFilterSensitiveLog = (obj) => ({
|
|
242
|
+
...obj,
|
|
243
|
+
...(obj.file && { file: SENSITIVE_STRING }),
|
|
244
|
+
});
|
|
@@ -227,6 +227,7 @@ export const se_ListSolNetworkOperationsCommand = async (input, context) => {
|
|
|
227
227
|
const headers = {};
|
|
228
228
|
b.bp("/sol/nslcm/v1/ns_lcm_op_occs");
|
|
229
229
|
const query = map({
|
|
230
|
+
[_nII]: [, input[_nII]],
|
|
230
231
|
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
231
232
|
[_nom]: [, input[_nT]],
|
|
232
233
|
});
|
|
@@ -351,6 +352,7 @@ export const se_UpdateSolNetworkInstanceCommand = async (input, context) => {
|
|
|
351
352
|
body = JSON.stringify(take(input, {
|
|
352
353
|
modifyVnfInfoData: (_) => se_UpdateSolNetworkModify(_, context),
|
|
353
354
|
tags: (_) => _json(_),
|
|
355
|
+
updateNs: (_) => se_UpdateSolNetworkServiceData(_, context),
|
|
354
356
|
updateType: [],
|
|
355
357
|
}));
|
|
356
358
|
b.m("POST").h(headers).b(body);
|
|
@@ -608,6 +610,7 @@ export const de_GetSolNetworkOperationCommand = async (output, context) => {
|
|
|
608
610
|
operationState: __expectString,
|
|
609
611
|
tags: _json,
|
|
610
612
|
tasks: (_) => de_GetSolNetworkOperationTasksList(_, context),
|
|
613
|
+
updateType: __expectString,
|
|
611
614
|
});
|
|
612
615
|
Object.assign(contents, doc);
|
|
613
616
|
return contents;
|
|
@@ -1039,6 +1042,12 @@ const se_UpdateSolNetworkModify = (input, context) => {
|
|
|
1039
1042
|
vnfInstanceId: [],
|
|
1040
1043
|
});
|
|
1041
1044
|
};
|
|
1045
|
+
const se_UpdateSolNetworkServiceData = (input, context) => {
|
|
1046
|
+
return take(input, {
|
|
1047
|
+
additionalParamsForNs: (_) => se_Document(_, context),
|
|
1048
|
+
nsdInfoId: [],
|
|
1049
|
+
});
|
|
1050
|
+
};
|
|
1042
1051
|
const se_Document = (input, context) => {
|
|
1043
1052
|
return input;
|
|
1044
1053
|
};
|
|
@@ -1064,7 +1073,10 @@ const de_GetSolNetworkInstanceMetadata = (output, context) => {
|
|
|
1064
1073
|
const de_GetSolNetworkOperationMetadata = (output, context) => {
|
|
1065
1074
|
return take(output, {
|
|
1066
1075
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1076
|
+
instantiateMetadata: (_) => de_InstantiateMetadata(_, context),
|
|
1067
1077
|
lastModified: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1078
|
+
modifyVnfInfoMetadata: (_) => de_ModifyVnfInfoMetadata(_, context),
|
|
1079
|
+
updateNsMetadata: (_) => de_UpdateNsMetadata(_, context),
|
|
1068
1080
|
});
|
|
1069
1081
|
};
|
|
1070
1082
|
const de_GetSolNetworkOperationTaskDetails = (output, context) => {
|
|
@@ -1092,6 +1104,12 @@ const de_GetSolNetworkPackageMetadata = (output, context) => {
|
|
|
1092
1104
|
nsd: _json,
|
|
1093
1105
|
});
|
|
1094
1106
|
};
|
|
1107
|
+
const de_InstantiateMetadata = (output, context) => {
|
|
1108
|
+
return take(output, {
|
|
1109
|
+
additionalParamsForNs: (_) => de_Document(_, context),
|
|
1110
|
+
nsdInfoId: __expectString,
|
|
1111
|
+
});
|
|
1112
|
+
};
|
|
1095
1113
|
const de_ListSolFunctionInstanceInfo = (output, context) => {
|
|
1096
1114
|
return take(output, {
|
|
1097
1115
|
arn: __expectString,
|
|
@@ -1181,12 +1199,15 @@ const de_ListSolNetworkOperationsInfo = (output, context) => {
|
|
|
1181
1199
|
metadata: (_) => de_ListSolNetworkOperationsMetadata(_, context),
|
|
1182
1200
|
nsInstanceId: __expectString,
|
|
1183
1201
|
operationState: __expectString,
|
|
1202
|
+
updateType: __expectString,
|
|
1184
1203
|
});
|
|
1185
1204
|
};
|
|
1186
1205
|
const de_ListSolNetworkOperationsMetadata = (output, context) => {
|
|
1187
1206
|
return take(output, {
|
|
1188
1207
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1189
1208
|
lastModified: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1209
|
+
nsdInfoId: __expectString,
|
|
1210
|
+
vnfInstanceId: __expectString,
|
|
1190
1211
|
});
|
|
1191
1212
|
};
|
|
1192
1213
|
const de_ListSolNetworkOperationsResources = (output, context) => {
|
|
@@ -1227,6 +1248,21 @@ const de_ListSolNetworkPackageResources = (output, context) => {
|
|
|
1227
1248
|
});
|
|
1228
1249
|
return retVal;
|
|
1229
1250
|
};
|
|
1251
|
+
const de_ModifyVnfInfoMetadata = (output, context) => {
|
|
1252
|
+
return take(output, {
|
|
1253
|
+
vnfConfigurableProperties: (_) => de_Document(_, context),
|
|
1254
|
+
vnfInstanceId: __expectString,
|
|
1255
|
+
});
|
|
1256
|
+
};
|
|
1257
|
+
const de_UpdateNsMetadata = (output, context) => {
|
|
1258
|
+
return take(output, {
|
|
1259
|
+
additionalParamsForNs: (_) => de_Document(_, context),
|
|
1260
|
+
nsdInfoId: __expectString,
|
|
1261
|
+
});
|
|
1262
|
+
};
|
|
1263
|
+
const de_Document = (output, context) => {
|
|
1264
|
+
return output;
|
|
1265
|
+
};
|
|
1230
1266
|
const deserializeMetadata = (output) => ({
|
|
1231
1267
|
httpStatusCode: output.statusCode,
|
|
1232
1268
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1246,6 +1282,7 @@ const _dR = "dryRun";
|
|
|
1246
1282
|
const _dr = "dry_run";
|
|
1247
1283
|
const _mR = "maxResults";
|
|
1248
1284
|
const _mr = "max_results";
|
|
1285
|
+
const _nII = "nsInstanceId";
|
|
1249
1286
|
const _nT = "nextToken";
|
|
1250
1287
|
const _nom = "nextpage_opaque_marker";
|
|
1251
1288
|
const _tK = "tagKeys";
|
package/dist-types/Tnb.d.ts
CHANGED
|
@@ -241,7 +241,11 @@ export interface Tnb {
|
|
|
241
241
|
validateSolNetworkPackageContent(args: ValidateSolNetworkPackageContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidateSolNetworkPackageContentCommandOutput) => void): void;
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
244
|
-
* <p>
|
|
244
|
+
* <p>
|
|
245
|
+
* Amazon Web Services Telco Network Builder (TNB) is a network automation service that helps
|
|
246
|
+
* you deploy and manage telecom networks. AWS TNB helps you with the lifecycle management of
|
|
247
|
+
* your telecommunication network functions throughout planning, deployment, and
|
|
248
|
+
* post-deployment activities.</p>
|
|
245
249
|
* @public
|
|
246
250
|
*/
|
|
247
251
|
export declare class Tnb extends TnbClient implements Tnb {
|
|
@@ -184,7 +184,11 @@ export type TnbClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHa
|
|
|
184
184
|
export interface TnbClientResolvedConfig extends TnbClientResolvedConfigType {
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
|
-
* <p>
|
|
187
|
+
* <p>
|
|
188
|
+
* Amazon Web Services Telco Network Builder (TNB) is a network automation service that helps
|
|
189
|
+
* you deploy and manage telecom networks. AWS TNB helps you with the lifecycle management of
|
|
190
|
+
* your telecommunication network functions throughout planning, deployment, and
|
|
191
|
+
* post-deployment activities.</p>
|
|
188
192
|
* @public
|
|
189
193
|
*/
|
|
190
194
|
export declare class TnbClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TnbClientResolvedConfig> {
|
|
@@ -63,7 +63,8 @@ declare const CancelSolNetworkOperationCommand_base: {
|
|
|
63
63
|
* <p>Exception caused by throttling.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ValidationException} (client fault)
|
|
66
|
-
* <p>Unable to process the request because the client provided input failed to satisfy
|
|
66
|
+
* <p>Unable to process the request because the client provided input failed to satisfy
|
|
67
|
+
* request constraints.</p>
|
|
67
68
|
*
|
|
68
69
|
* @throws {@link TnbServiceException}
|
|
69
70
|
* <p>Base exception class for all service exceptions from Tnb service.</p>
|
|
@@ -28,9 +28,11 @@ declare const CreateSolFunctionPackageCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a function package.</p>
|
|
31
|
-
* <p>A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network. For more information, see <a href="https://docs.aws.amazon.com/tnb/latest/ug/function-packages.html">Function packages</a> in the
|
|
32
|
-
*
|
|
33
|
-
* <p>Creating a function package is the first step for creating a network in AWS TNB. This
|
|
31
|
+
* <p>A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network. For more information, see <a href="https://docs.aws.amazon.com/tnb/latest/ug/function-packages.html">Function packages</a> in the
|
|
32
|
+
* <i>Amazon Web Services Telco Network Builder User Guide</i>. </p>
|
|
33
|
+
* <p>Creating a function package is the first step for creating a network in AWS TNB. This
|
|
34
|
+
* request creates an empty container with an ID. The next step is to upload the actual CSAR
|
|
35
|
+
* zip file into that empty container. To upload function package content, see <a href="https://docs.aws.amazon.com/tnb/latest/APIReference/API_PutSolFunctionPackageContent.html">PutSolFunctionPackageContent</a>.</p>
|
|
34
36
|
* @example
|
|
35
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
38
|
* ```javascript
|
|
@@ -76,7 +78,8 @@ declare const CreateSolFunctionPackageCommand_base: {
|
|
|
76
78
|
* <p>Exception caused by throttling.</p>
|
|
77
79
|
*
|
|
78
80
|
* @throws {@link ValidationException} (client fault)
|
|
79
|
-
* <p>Unable to process the request because the client provided input failed to satisfy
|
|
81
|
+
* <p>Unable to process the request because the client provided input failed to satisfy
|
|
82
|
+
* request constraints.</p>
|
|
80
83
|
*
|
|
81
84
|
* @throws {@link TnbServiceException}
|
|
82
85
|
* <p>Base exception class for all service exceptions from Tnb service.</p>
|
|
@@ -28,8 +28,11 @@ declare const CreateSolNetworkInstanceCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a network instance.</p>
|
|
31
|
-
* <p>A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed. Creating a network instance is the third step after creating a network
|
|
32
|
-
*
|
|
31
|
+
* <p>A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed. Creating a network instance is the third step after creating a network
|
|
32
|
+
* package. For more information about network instances, <a href="https://docs.aws.amazon.com/tnb/latest/ug/network-instances.html">Network instances</a> in the
|
|
33
|
+
* <i>Amazon Web Services Telco Network Builder User Guide</i>.</p>
|
|
34
|
+
* <p>Once you create a network instance, you can instantiate it. To instantiate a network,
|
|
35
|
+
* see <a href="https://docs.aws.amazon.com/tnb/latest/APIReference/API_InstantiateSolNetworkInstance.html">InstantiateSolNetworkInstance</a>.</p>
|
|
33
36
|
* @example
|
|
34
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
38
|
* ```javascript
|
|
@@ -80,7 +83,8 @@ declare const CreateSolNetworkInstanceCommand_base: {
|
|
|
80
83
|
* <p>Exception caused by throttling.</p>
|
|
81
84
|
*
|
|
82
85
|
* @throws {@link ValidationException} (client fault)
|
|
83
|
-
* <p>Unable to process the request because the client provided input failed to satisfy
|
|
86
|
+
* <p>Unable to process the request because the client provided input failed to satisfy
|
|
87
|
+
* request constraints.</p>
|
|
84
88
|
*
|
|
85
89
|
* @throws {@link TnbServiceException}
|
|
86
90
|
* <p>Base exception class for all service exceptions from Tnb service.</p>
|
|
@@ -28,10 +28,14 @@ declare const CreateSolNetworkPackageCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a network package.</p>
|
|
31
|
-
* <p>A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on. For more information, see <a href="https://docs.aws.amazon.com/tnb/latest/ug/network-instances.html">Network instances</a> in the
|
|
32
|
-
*
|
|
33
|
-
* <p>A network package consists of a network service descriptor (NSD) file (required) and any
|
|
34
|
-
*
|
|
31
|
+
* <p>A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on. For more information, see <a href="https://docs.aws.amazon.com/tnb/latest/ug/network-instances.html">Network instances</a> in the
|
|
32
|
+
* <i>Amazon Web Services Telco Network Builder User Guide</i>. </p>
|
|
33
|
+
* <p>A network package consists of a network service descriptor (NSD) file (required) and any
|
|
34
|
+
* additional files (optional), such as scripts specific to your needs. For example, if you
|
|
35
|
+
* have multiple function packages in your network package, you can use the NSD to define
|
|
36
|
+
* which network functions should run in certain VPCs, subnets, or EKS clusters.</p>
|
|
37
|
+
* <p>This request creates an empty network package container with an ID. Once you create a
|
|
38
|
+
* network package, you can upload the network package content using <a href="https://docs.aws.amazon.com/tnb/latest/APIReference/API_PutSolNetworkPackageContent.html">PutSolNetworkPackageContent</a>.</p>
|
|
35
39
|
* @example
|
|
36
40
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
41
|
* ```javascript
|
|
@@ -77,7 +81,8 @@ declare const CreateSolNetworkPackageCommand_base: {
|
|
|
77
81
|
* <p>Exception caused by throttling.</p>
|
|
78
82
|
*
|
|
79
83
|
* @throws {@link ValidationException} (client fault)
|
|
80
|
-
* <p>Unable to process the request because the client provided input failed to satisfy
|
|
84
|
+
* <p>Unable to process the request because the client provided input failed to satisfy
|
|
85
|
+
* request constraints.</p>
|
|
81
86
|
*
|
|
82
87
|
* @throws {@link TnbServiceException}
|
|
83
88
|
* <p>Base exception class for all service exceptions from Tnb service.</p>
|
|
@@ -29,8 +29,8 @@ declare const DeleteSolFunctionPackageCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Deletes a function package.</p>
|
|
31
31
|
* <p>A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.</p>
|
|
32
|
-
* <p>To delete a function package, the package must be in a disabled state. To disable a
|
|
33
|
-
*
|
|
32
|
+
* <p>To delete a function package, the package must be in a disabled state. To disable a
|
|
33
|
+
* function package, see <a href="https://docs.aws.amazon.com/tnb/latest/APIReference/API_UpdateSolFunctionPackage.html">UpdateSolFunctionPackage</a>. </p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -65,7 +65,8 @@ declare const DeleteSolFunctionPackageCommand_base: {
|
|
|
65
65
|
* <p>Exception caused by throttling.</p>
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link ValidationException} (client fault)
|
|
68
|
-
* <p>Unable to process the request because the client provided input failed to satisfy
|
|
68
|
+
* <p>Unable to process the request because the client provided input failed to satisfy
|
|
69
|
+
* request constraints.</p>
|
|
69
70
|
*
|
|
70
71
|
* @throws {@link TnbServiceException}
|
|
71
72
|
* <p>Base exception class for all service exceptions from Tnb service.</p>
|
|
@@ -29,7 +29,8 @@ declare const DeleteSolNetworkInstanceCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Deletes a network instance.</p>
|
|
31
31
|
* <p>A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.</p>
|
|
32
|
-
* <p>To delete a network instance, the instance must be in a stopped or terminated state. To
|
|
32
|
+
* <p>To delete a network instance, the instance must be in a stopped or terminated state. To
|
|
33
|
+
* terminate a network instance, see <a href="https://docs.aws.amazon.com/tnb/latest/APIReference/API_TerminateSolNetworkInstance.html">TerminateSolNetworkInstance</a>.</p>
|
|
33
34
|
* @example
|
|
34
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
36
|
* ```javascript
|
|
@@ -64,7 +65,8 @@ declare const DeleteSolNetworkInstanceCommand_base: {
|
|
|
64
65
|
* <p>Exception caused by throttling.</p>
|
|
65
66
|
*
|
|
66
67
|
* @throws {@link ValidationException} (client fault)
|
|
67
|
-
* <p>Unable to process the request because the client provided input failed to satisfy
|
|
68
|
+
* <p>Unable to process the request because the client provided input failed to satisfy
|
|
69
|
+
* request constraints.</p>
|
|
68
70
|
*
|
|
69
71
|
* @throws {@link TnbServiceException}
|
|
70
72
|
* <p>Base exception class for all service exceptions from Tnb service.</p>
|