@aws-sdk/client-tnb 3.620.1 → 3.622.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 +87 -28
- package/dist-es/TnbClient.js +12 -18
- 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 +7 -5
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- 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/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/TnbClient.d.ts +6 -8
- package/dist-types/ts3.4/models/models_0.d.ts +46 -5
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -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,
|
|
@@ -206,25 +210,27 @@ var _TnbClient = class _TnbClient extends import_smithy_client.Client {
|
|
|
206
210
|
constructor(...[configuration]) {
|
|
207
211
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
208
212
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
209
|
-
const _config_2 = (0,
|
|
210
|
-
const _config_3 = (0,
|
|
211
|
-
const _config_4 = (0,
|
|
212
|
-
const _config_5 = (0,
|
|
213
|
-
const _config_6 = (0,
|
|
213
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
214
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
215
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
216
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
217
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
214
218
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
215
219
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
216
220
|
super(_config_8);
|
|
217
221
|
this.config = _config_8;
|
|
218
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
219
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
220
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
221
222
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
222
223
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
223
224
|
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
225
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
226
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
227
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
224
228
|
this.middlewareStack.use(
|
|
225
229
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
226
|
-
httpAuthSchemeParametersProvider:
|
|
227
|
-
identityProviderConfigProvider:
|
|
230
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultTnbHttpAuthSchemeParametersProvider,
|
|
231
|
+
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
232
|
+
"aws.auth#sigv4": config.credentials
|
|
233
|
+
})
|
|
228
234
|
})
|
|
229
235
|
);
|
|
230
236
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -237,14 +243,6 @@ var _TnbClient = class _TnbClient extends import_smithy_client.Client {
|
|
|
237
243
|
destroy() {
|
|
238
244
|
super.destroy();
|
|
239
245
|
}
|
|
240
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
241
|
-
return import_httpAuthSchemeProvider.defaultTnbHttpAuthSchemeParametersProvider;
|
|
242
|
-
}
|
|
243
|
-
getIdentityProviderConfigProvider() {
|
|
244
|
-
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
245
|
-
"aws.auth#sigv4": config.credentials
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
246
|
};
|
|
249
247
|
__name(_TnbClient, "TnbClient");
|
|
250
248
|
var TnbClient = _TnbClient;
|
|
@@ -427,9 +425,12 @@ var NsState = {
|
|
|
427
425
|
IMPAIRED: "IMPAIRED",
|
|
428
426
|
INSTANTIATED: "INSTANTIATED",
|
|
429
427
|
INSTANTIATE_IN_PROGRESS: "INSTANTIATE_IN_PROGRESS",
|
|
428
|
+
INTENT_TO_UPDATE_IN_PROGRESS: "INTENT_TO_UPDATE_IN_PROGRESS",
|
|
430
429
|
NOT_INSTANTIATED: "NOT_INSTANTIATED",
|
|
431
430
|
STOPPED: "STOPPED",
|
|
432
431
|
TERMINATE_IN_PROGRESS: "TERMINATE_IN_PROGRESS",
|
|
432
|
+
UPDATED: "UPDATED",
|
|
433
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
433
434
|
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS"
|
|
434
435
|
};
|
|
435
436
|
var LcmOperationType = {
|
|
@@ -454,7 +455,8 @@ var TaskStatus = {
|
|
|
454
455
|
STARTED: "STARTED"
|
|
455
456
|
};
|
|
456
457
|
var UpdateSolNetworkType = {
|
|
457
|
-
MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION"
|
|
458
|
+
MODIFY_VNF_INFORMATION: "MODIFY_VNF_INFORMATION",
|
|
459
|
+
UPDATE_NS: "UPDATE_NS"
|
|
458
460
|
};
|
|
459
461
|
var CreateSolFunctionPackageInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
460
462
|
...obj,
|
|
@@ -512,6 +514,14 @@ var ListTagsForResourceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
512
514
|
...obj,
|
|
513
515
|
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
514
516
|
}), "ListTagsForResourceOutputFilterSensitiveLog");
|
|
517
|
+
var PutSolFunctionPackageContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
518
|
+
...obj,
|
|
519
|
+
...obj.file && { file: import_smithy_client.SENSITIVE_STRING }
|
|
520
|
+
}), "PutSolFunctionPackageContentInputFilterSensitiveLog");
|
|
521
|
+
var PutSolNetworkPackageContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
522
|
+
...obj,
|
|
523
|
+
...obj.file && { file: import_smithy_client.SENSITIVE_STRING }
|
|
524
|
+
}), "PutSolNetworkPackageContentInputFilterSensitiveLog");
|
|
515
525
|
var TagResourceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
516
526
|
...obj,
|
|
517
527
|
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -532,6 +542,14 @@ var UpdateSolNetworkInstanceOutputFilterSensitiveLog = /* @__PURE__ */ __name((o
|
|
|
532
542
|
...obj,
|
|
533
543
|
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
534
544
|
}), "UpdateSolNetworkInstanceOutputFilterSensitiveLog");
|
|
545
|
+
var ValidateSolFunctionPackageContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
546
|
+
...obj,
|
|
547
|
+
...obj.file && { file: import_smithy_client.SENSITIVE_STRING }
|
|
548
|
+
}), "ValidateSolFunctionPackageContentInputFilterSensitiveLog");
|
|
549
|
+
var ValidateSolNetworkPackageContentInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
550
|
+
...obj,
|
|
551
|
+
...obj.file && { file: import_smithy_client.SENSITIVE_STRING }
|
|
552
|
+
}), "ValidateSolNetworkPackageContentInputFilterSensitiveLog");
|
|
535
553
|
|
|
536
554
|
// src/protocols/Aws_restJson1.ts
|
|
537
555
|
var se_CancelSolNetworkOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -766,6 +784,7 @@ var se_ListSolNetworkOperationsCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
766
784
|
const headers = {};
|
|
767
785
|
b.bp("/sol/nslcm/v1/ns_lcm_op_occs");
|
|
768
786
|
const query = (0, import_smithy_client.map)({
|
|
787
|
+
[_nII]: [, input[_nII]],
|
|
769
788
|
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
770
789
|
[_nom]: [, input[_nT]]
|
|
771
790
|
});
|
|
@@ -897,6 +916,7 @@ var se_UpdateSolNetworkInstanceCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
897
916
|
(0, import_smithy_client.take)(input, {
|
|
898
917
|
modifyVnfInfoData: (_) => se_UpdateSolNetworkModify(_, context),
|
|
899
918
|
tags: (_) => (0, import_smithy_client._json)(_),
|
|
919
|
+
updateNs: (_) => se_UpdateSolNetworkServiceData(_, context),
|
|
900
920
|
updateType: []
|
|
901
921
|
})
|
|
902
922
|
);
|
|
@@ -1156,7 +1176,8 @@ var de_GetSolNetworkOperationCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1156
1176
|
nsInstanceId: import_smithy_client.expectString,
|
|
1157
1177
|
operationState: import_smithy_client.expectString,
|
|
1158
1178
|
tags: import_smithy_client._json,
|
|
1159
|
-
tasks: (_) => de_GetSolNetworkOperationTasksList(_, context)
|
|
1179
|
+
tasks: (_) => de_GetSolNetworkOperationTasksList(_, context),
|
|
1180
|
+
updateType: import_smithy_client.expectString
|
|
1160
1181
|
});
|
|
1161
1182
|
Object.assign(contents, doc);
|
|
1162
1183
|
return contents;
|
|
@@ -1588,6 +1609,12 @@ var se_UpdateSolNetworkModify = /* @__PURE__ */ __name((input, context) => {
|
|
|
1588
1609
|
vnfInstanceId: []
|
|
1589
1610
|
});
|
|
1590
1611
|
}, "se_UpdateSolNetworkModify");
|
|
1612
|
+
var se_UpdateSolNetworkServiceData = /* @__PURE__ */ __name((input, context) => {
|
|
1613
|
+
return (0, import_smithy_client.take)(input, {
|
|
1614
|
+
additionalParamsForNs: (_) => se_Document(_, context),
|
|
1615
|
+
nsdInfoId: []
|
|
1616
|
+
});
|
|
1617
|
+
}, "se_UpdateSolNetworkServiceData");
|
|
1591
1618
|
var se_Document = /* @__PURE__ */ __name((input, context) => {
|
|
1592
1619
|
return input;
|
|
1593
1620
|
}, "se_Document");
|
|
@@ -1613,7 +1640,10 @@ var de_GetSolNetworkInstanceMetadata = /* @__PURE__ */ __name((output, context)
|
|
|
1613
1640
|
var de_GetSolNetworkOperationMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
1614
1641
|
return (0, import_smithy_client.take)(output, {
|
|
1615
1642
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1616
|
-
|
|
1643
|
+
instantiateMetadata: (_) => de_InstantiateMetadata(_, context),
|
|
1644
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1645
|
+
modifyVnfInfoMetadata: (_) => de_ModifyVnfInfoMetadata(_, context),
|
|
1646
|
+
updateNsMetadata: (_) => de_UpdateNsMetadata(_, context)
|
|
1617
1647
|
});
|
|
1618
1648
|
}, "de_GetSolNetworkOperationMetadata");
|
|
1619
1649
|
var de_GetSolNetworkOperationTaskDetails = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1639,6 +1669,12 @@ var de_GetSolNetworkPackageMetadata = /* @__PURE__ */ __name((output, context) =
|
|
|
1639
1669
|
nsd: import_smithy_client._json
|
|
1640
1670
|
});
|
|
1641
1671
|
}, "de_GetSolNetworkPackageMetadata");
|
|
1672
|
+
var de_InstantiateMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
1673
|
+
return (0, import_smithy_client.take)(output, {
|
|
1674
|
+
additionalParamsForNs: (_) => de_Document(_, context),
|
|
1675
|
+
nsdInfoId: import_smithy_client.expectString
|
|
1676
|
+
});
|
|
1677
|
+
}, "de_InstantiateMetadata");
|
|
1642
1678
|
var de_ListSolFunctionInstanceInfo = /* @__PURE__ */ __name((output, context) => {
|
|
1643
1679
|
return (0, import_smithy_client.take)(output, {
|
|
1644
1680
|
arn: import_smithy_client.expectString,
|
|
@@ -1721,13 +1757,16 @@ var de_ListSolNetworkOperationsInfo = /* @__PURE__ */ __name((output, context) =
|
|
|
1721
1757
|
lcmOperationType: import_smithy_client.expectString,
|
|
1722
1758
|
metadata: (_) => de_ListSolNetworkOperationsMetadata(_, context),
|
|
1723
1759
|
nsInstanceId: import_smithy_client.expectString,
|
|
1724
|
-
operationState: import_smithy_client.expectString
|
|
1760
|
+
operationState: import_smithy_client.expectString,
|
|
1761
|
+
updateType: import_smithy_client.expectString
|
|
1725
1762
|
});
|
|
1726
1763
|
}, "de_ListSolNetworkOperationsInfo");
|
|
1727
1764
|
var de_ListSolNetworkOperationsMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
1728
1765
|
return (0, import_smithy_client.take)(output, {
|
|
1729
1766
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1730
|
-
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1767
|
+
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1768
|
+
nsdInfoId: import_smithy_client.expectString,
|
|
1769
|
+
vnfInstanceId: import_smithy_client.expectString
|
|
1731
1770
|
});
|
|
1732
1771
|
}, "de_ListSolNetworkOperationsMetadata");
|
|
1733
1772
|
var de_ListSolNetworkOperationsResources = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1764,6 +1803,21 @@ var de_ListSolNetworkPackageResources = /* @__PURE__ */ __name((output, context)
|
|
|
1764
1803
|
});
|
|
1765
1804
|
return retVal;
|
|
1766
1805
|
}, "de_ListSolNetworkPackageResources");
|
|
1806
|
+
var de_ModifyVnfInfoMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
1807
|
+
return (0, import_smithy_client.take)(output, {
|
|
1808
|
+
vnfConfigurableProperties: (_) => de_Document(_, context),
|
|
1809
|
+
vnfInstanceId: import_smithy_client.expectString
|
|
1810
|
+
});
|
|
1811
|
+
}, "de_ModifyVnfInfoMetadata");
|
|
1812
|
+
var de_UpdateNsMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
1813
|
+
return (0, import_smithy_client.take)(output, {
|
|
1814
|
+
additionalParamsForNs: (_) => de_Document(_, context),
|
|
1815
|
+
nsdInfoId: import_smithy_client.expectString
|
|
1816
|
+
});
|
|
1817
|
+
}, "de_UpdateNsMetadata");
|
|
1818
|
+
var de_Document = /* @__PURE__ */ __name((output, context) => {
|
|
1819
|
+
return output;
|
|
1820
|
+
}, "de_Document");
|
|
1767
1821
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1768
1822
|
httpStatusCode: output.statusCode,
|
|
1769
1823
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1778,6 +1832,7 @@ var _dR = "dryRun";
|
|
|
1778
1832
|
var _dr = "dry_run";
|
|
1779
1833
|
var _mR = "maxResults";
|
|
1780
1834
|
var _mr = "max_results";
|
|
1835
|
+
var _nII = "nsInstanceId";
|
|
1781
1836
|
var _nT = "nextToken";
|
|
1782
1837
|
var _nom = "nextpage_opaque_marker";
|
|
1783
1838
|
var _tK = "tagKeys";
|
|
@@ -2158,7 +2213,7 @@ var _PutSolFunctionPackageContentCommand = class _PutSolFunctionPackageContentCo
|
|
|
2158
2213
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2159
2214
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2160
2215
|
];
|
|
2161
|
-
}).s("TNB", "PutSolFunctionPackageContent", {}).n("TnbClient", "PutSolFunctionPackageContentCommand").f(
|
|
2216
|
+
}).s("TNB", "PutSolFunctionPackageContent", {}).n("TnbClient", "PutSolFunctionPackageContentCommand").f(PutSolFunctionPackageContentInputFilterSensitiveLog, void 0).ser(se_PutSolFunctionPackageContentCommand).de(de_PutSolFunctionPackageContentCommand).build() {
|
|
2162
2217
|
};
|
|
2163
2218
|
__name(_PutSolFunctionPackageContentCommand, "PutSolFunctionPackageContentCommand");
|
|
2164
2219
|
var PutSolFunctionPackageContentCommand = _PutSolFunctionPackageContentCommand;
|
|
@@ -2174,7 +2229,7 @@ var _PutSolNetworkPackageContentCommand = class _PutSolNetworkPackageContentComm
|
|
|
2174
2229
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2175
2230
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2176
2231
|
];
|
|
2177
|
-
}).s("TNB", "PutSolNetworkPackageContent", {}).n("TnbClient", "PutSolNetworkPackageContentCommand").f(
|
|
2232
|
+
}).s("TNB", "PutSolNetworkPackageContent", {}).n("TnbClient", "PutSolNetworkPackageContentCommand").f(PutSolNetworkPackageContentInputFilterSensitiveLog, void 0).ser(se_PutSolNetworkPackageContentCommand).de(de_PutSolNetworkPackageContentCommand).build() {
|
|
2178
2233
|
};
|
|
2179
2234
|
__name(_PutSolNetworkPackageContentCommand, "PutSolNetworkPackageContentCommand");
|
|
2180
2235
|
var PutSolNetworkPackageContentCommand = _PutSolNetworkPackageContentCommand;
|
|
@@ -2286,7 +2341,7 @@ var _ValidateSolFunctionPackageContentCommand = class _ValidateSolFunctionPackag
|
|
|
2286
2341
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2287
2342
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2288
2343
|
];
|
|
2289
|
-
}).s("TNB", "ValidateSolFunctionPackageContent", {}).n("TnbClient", "ValidateSolFunctionPackageContentCommand").f(
|
|
2344
|
+
}).s("TNB", "ValidateSolFunctionPackageContent", {}).n("TnbClient", "ValidateSolFunctionPackageContentCommand").f(ValidateSolFunctionPackageContentInputFilterSensitiveLog, void 0).ser(se_ValidateSolFunctionPackageContentCommand).de(de_ValidateSolFunctionPackageContentCommand).build() {
|
|
2290
2345
|
};
|
|
2291
2346
|
__name(_ValidateSolFunctionPackageContentCommand, "ValidateSolFunctionPackageContentCommand");
|
|
2292
2347
|
var ValidateSolFunctionPackageContentCommand = _ValidateSolFunctionPackageContentCommand;
|
|
@@ -2302,7 +2357,7 @@ var _ValidateSolNetworkPackageContentCommand = class _ValidateSolNetworkPackageC
|
|
|
2302
2357
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2303
2358
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2304
2359
|
];
|
|
2305
|
-
}).s("TNB", "ValidateSolNetworkPackageContent", {}).n("TnbClient", "ValidateSolNetworkPackageContentCommand").f(
|
|
2360
|
+
}).s("TNB", "ValidateSolNetworkPackageContent", {}).n("TnbClient", "ValidateSolNetworkPackageContentCommand").f(ValidateSolNetworkPackageContentInputFilterSensitiveLog, void 0).ser(se_ValidateSolNetworkPackageContentCommand).de(de_ValidateSolNetworkPackageContentCommand).build() {
|
|
2306
2361
|
};
|
|
2307
2362
|
__name(_ValidateSolNetworkPackageContentCommand, "ValidateSolNetworkPackageContentCommand");
|
|
2308
2363
|
var ValidateSolNetworkPackageContentCommand = _ValidateSolNetworkPackageContentCommand;
|
|
@@ -2449,10 +2504,14 @@ var paginateListSolNetworkPackages = (0, import_core.createPaginator)(TnbClient,
|
|
|
2449
2504
|
InstantiateSolNetworkInstanceInputFilterSensitiveLog,
|
|
2450
2505
|
InstantiateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
2451
2506
|
ListTagsForResourceOutputFilterSensitiveLog,
|
|
2507
|
+
PutSolFunctionPackageContentInputFilterSensitiveLog,
|
|
2508
|
+
PutSolNetworkPackageContentInputFilterSensitiveLog,
|
|
2452
2509
|
TagResourceInputFilterSensitiveLog,
|
|
2453
2510
|
TerminateSolNetworkInstanceInputFilterSensitiveLog,
|
|
2454
2511
|
TerminateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
2455
2512
|
UpdateSolNetworkInstanceInputFilterSensitiveLog,
|
|
2456
|
-
UpdateSolNetworkInstanceOutputFilterSensitiveLog
|
|
2513
|
+
UpdateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
2514
|
+
ValidateSolFunctionPackageContentInputFilterSensitiveLog,
|
|
2515
|
+
ValidateSolNetworkPackageContentInputFilterSensitiveLog
|
|
2457
2516
|
});
|
|
2458
2517
|
|
package/dist-es/TnbClient.js
CHANGED
|
@@ -17,36 +17,30 @@ export class TnbClient extends __Client {
|
|
|
17
17
|
constructor(...[configuration]) {
|
|
18
18
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
19
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
|
-
const _config_2 =
|
|
21
|
-
const _config_3 =
|
|
22
|
-
const _config_4 =
|
|
23
|
-
const _config_5 =
|
|
24
|
-
const _config_6 =
|
|
20
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
21
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
22
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
25
25
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
26
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
27
27
|
super(_config_8);
|
|
28
28
|
this.config = _config_8;
|
|
29
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
31
|
-
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
32
29
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
30
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
34
31
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
35
35
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
|
-
httpAuthSchemeParametersProvider:
|
|
37
|
-
identityProviderConfigProvider:
|
|
36
|
+
httpAuthSchemeParametersProvider: defaultTnbHttpAuthSchemeParametersProvider,
|
|
37
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
38
|
+
"aws.auth#sigv4": config.credentials,
|
|
39
|
+
}),
|
|
38
40
|
}));
|
|
39
41
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
40
42
|
}
|
|
41
43
|
destroy() {
|
|
42
44
|
super.destroy();
|
|
43
45
|
}
|
|
44
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
45
|
-
return defaultTnbHttpAuthSchemeParametersProvider;
|
|
46
|
-
}
|
|
47
|
-
getIdentityProviderConfigProvider() {
|
|
48
|
-
return async (config) => new DefaultIdentityProviderConfig({
|
|
49
|
-
"aws.auth#sigv4": config.credentials,
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
46
|
}
|
|
@@ -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 {
|
|
@@ -164,7 +164,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
164
164
|
/**
|
|
165
165
|
* @public
|
|
166
166
|
*/
|
|
167
|
-
export type TnbClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults &
|
|
167
|
+
export type TnbClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
168
168
|
/**
|
|
169
169
|
* @public
|
|
170
170
|
*
|
|
@@ -175,7 +175,7 @@ export interface TnbClientConfig extends TnbClientConfigType {
|
|
|
175
175
|
/**
|
|
176
176
|
* @public
|
|
177
177
|
*/
|
|
178
|
-
export type TnbClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig &
|
|
178
|
+
export type TnbClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
179
179
|
/**
|
|
180
180
|
* @public
|
|
181
181
|
*
|
|
@@ -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> {
|
|
@@ -199,6 +203,4 @@ export declare class TnbClient extends __Client<__HttpHandlerOptions, ServiceInp
|
|
|
199
203
|
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
200
204
|
*/
|
|
201
205
|
destroy(): void;
|
|
202
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
203
|
-
private getIdentityProviderConfigProvider;
|
|
204
206
|
}
|