@aws-sdk/client-tnb 3.775.0 → 3.782.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.
Files changed (34) hide show
  1. package/dist-types/commands/CancelSolNetworkOperationCommand.d.ts +14 -0
  2. package/dist-types/commands/CreateSolFunctionPackageCommand.d.ts +25 -0
  3. package/dist-types/commands/CreateSolNetworkInstanceCommand.d.ts +27 -0
  4. package/dist-types/commands/CreateSolNetworkPackageCommand.d.ts +25 -0
  5. package/dist-types/commands/DeleteSolFunctionPackageCommand.d.ts +14 -0
  6. package/dist-types/commands/DeleteSolNetworkInstanceCommand.d.ts +14 -0
  7. package/dist-types/commands/DeleteSolNetworkPackageCommand.d.ts +14 -0
  8. package/dist-types/commands/GetSolFunctionInstanceCommand.d.ts +40 -0
  9. package/dist-types/commands/GetSolFunctionPackageCommand.d.ts +31 -0
  10. package/dist-types/commands/GetSolFunctionPackageContentCommand.d.ts +18 -0
  11. package/dist-types/commands/GetSolFunctionPackageDescriptorCommand.d.ts +18 -0
  12. package/dist-types/commands/GetSolNetworkInstanceCommand.d.ts +29 -0
  13. package/dist-types/commands/GetSolNetworkOperationCommand.d.ts +174 -0
  14. package/dist-types/commands/GetSolNetworkPackageCommand.d.ts +42 -0
  15. package/dist-types/commands/GetSolNetworkPackageContentCommand.d.ts +18 -0
  16. package/dist-types/commands/GetSolNetworkPackageDescriptorCommand.d.ts +17 -0
  17. package/dist-types/commands/InstantiateSolNetworkInstanceCommand.d.ts +41 -0
  18. package/dist-types/commands/ListSolFunctionInstancesCommand.d.ts +74 -0
  19. package/dist-types/commands/ListSolFunctionPackagesCommand.d.ts +83 -0
  20. package/dist-types/commands/ListSolNetworkInstancesCommand.d.ts +58 -0
  21. package/dist-types/commands/ListSolNetworkOperationsCommand.d.ts +118 -0
  22. package/dist-types/commands/ListSolNetworkPackagesCommand.d.ts +101 -0
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  24. package/dist-types/commands/PutSolFunctionPackageContentCommand.d.ts +27 -0
  25. package/dist-types/commands/PutSolNetworkPackageContentCommand.d.ts +39 -0
  26. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  27. package/dist-types/commands/TerminateSolNetworkInstanceCommand.d.ts +22 -0
  28. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  29. package/dist-types/commands/UpdateSolFunctionPackageCommand.d.ts +33 -0
  30. package/dist-types/commands/UpdateSolNetworkInstanceCommand.d.ts +59 -0
  31. package/dist-types/commands/UpdateSolNetworkPackageCommand.d.ts +33 -0
  32. package/dist-types/commands/ValidateSolFunctionPackageContentCommand.d.ts +27 -0
  33. package/dist-types/commands/ValidateSolNetworkPackageContentCommand.d.ts +39 -0
  34. package/package.json +5 -5
@@ -90,6 +90,65 @@ declare const UpdateSolNetworkInstanceCommand_base: {
90
90
  * @throws {@link TnbServiceException}
91
91
  * <p>Base exception class for all service exceptions from Tnb service.</p>
92
92
  *
93
+ *
94
+ * @example Update a Sol Network Instance
95
+ * ```javascript
96
+ * //
97
+ * const input = {
98
+ * modifyVnfInfoData: {
99
+ * vnfConfigurableProperties: {
100
+ * pcf.pods: "10",
101
+ * pcf.port: "8080"
102
+ * },
103
+ * vnfInstanceId: "fi-0d5b823eb5c2a9241"
104
+ * },
105
+ * nsInstanceId: "ni-0d5b823eb5c2a9241",
106
+ * tags: {
107
+ * Name: "Resource"
108
+ * },
109
+ * updateType: "MODIFY_VNF_INFORMATION"
110
+ * };
111
+ * const command = new UpdateSolNetworkInstanceCommand(input);
112
+ * const response = await client.send(command);
113
+ * /* response is
114
+ * {
115
+ * nsLcmOpOccId: "no-0d5b823eb5c2a9241",
116
+ * tags: {
117
+ * Name: "Resource"
118
+ * }
119
+ * }
120
+ * *\/
121
+ * ```
122
+ *
123
+ * @example Update a Sol Network Instance
124
+ * ```javascript
125
+ * //
126
+ * const input = {
127
+ * nsInstanceId: "ni-0d5b823eb5c2a9241",
128
+ * tags: {
129
+ * Name: "Resource"
130
+ * },
131
+ * updateNs: {
132
+ * additionalParamsForNs: {
133
+ * availability_zone: "us-west-2a",
134
+ * cidr_block: "10.0.0.0/16"
135
+ * },
136
+ * nsdInfoId: "np-0d5b823eb5c2a9241"
137
+ * },
138
+ * updateType: "UPDATE_NS"
139
+ * };
140
+ * const command = new UpdateSolNetworkInstanceCommand(input);
141
+ * const response = await client.send(command);
142
+ * /* response is
143
+ * {
144
+ * nsLcmOpOccId: "no-0d5b823eb5c2a9241",
145
+ * tags: {
146
+ * Name: "Resource"
147
+ * }
148
+ * }
149
+ * *\/
150
+ * ```
151
+ *
93
152
  * @public
94
153
  */
95
154
  export declare class UpdateSolNetworkInstanceCommand extends UpdateSolNetworkInstanceCommand_base {
@@ -73,6 +73,39 @@ declare const UpdateSolNetworkPackageCommand_base: {
73
73
  * @throws {@link TnbServiceException}
74
74
  * <p>Base exception class for all service exceptions from Tnb service.</p>
75
75
  *
76
+ *
77
+ * @example Enable a network package's Operational State
78
+ * ```javascript
79
+ * //
80
+ * const input = {
81
+ * nsdInfoId: "np-0d5b823eb5c2a9241",
82
+ * nsdOperationalState: "ENABLED"
83
+ * };
84
+ * const command = new UpdateSolNetworkPackageCommand(input);
85
+ * const response = await client.send(command);
86
+ * /* response is
87
+ * {
88
+ * nsdOperationalState: "ENABLED"
89
+ * }
90
+ * *\/
91
+ * ```
92
+ *
93
+ * @example Disable a network package's Operational State
94
+ * ```javascript
95
+ * //
96
+ * const input = {
97
+ * nsdInfoId: "np-0d5b823eb5c2a9241",
98
+ * nsdOperationalState: "DISABLED"
99
+ * };
100
+ * const command = new UpdateSolNetworkPackageCommand(input);
101
+ * const response = await client.send(command);
102
+ * /* response is
103
+ * {
104
+ * nsdOperationalState: "DISABLED"
105
+ * }
106
+ * *\/
107
+ * ```
108
+ *
76
109
  * @public
77
110
  */
78
111
  export declare class UpdateSolNetworkPackageCommand extends UpdateSolNetworkPackageCommand_base {
@@ -94,6 +94,33 @@ declare const ValidateSolFunctionPackageContentCommand_base: {
94
94
  * @throws {@link TnbServiceException}
95
95
  * <p>Base exception class for all service exceptions from Tnb service.</p>
96
96
  *
97
+ *
98
+ * @example Validate a Function Package content
99
+ * ```javascript
100
+ * //
101
+ * const input = {
102
+ * contentType: "application/zip",
103
+ * file: "UEsDBBQAAAAAAPqLiVMAAAAAAAAAAAAAAAAMACAAZnJlZTVnYy1hbWYvVVQNAAcIrrJhBK",
104
+ * vnfPkgId: "fp-07aa863e53460a2a6"
105
+ * };
106
+ * const command = new ValidateSolFunctionPackageContentCommand(input);
107
+ * const response = await client.send(command);
108
+ * /* response is
109
+ * {
110
+ * id: "fp-07aa863e53460a2a6",
111
+ * metadata: {
112
+ * vnfd: {
113
+ * overrides: []
114
+ * }
115
+ * },
116
+ * vnfProductName: "Sample AMF",
117
+ * vnfProvider: "Sample",
118
+ * vnfdId: "0d72acd9-e45d-4644-9bcd-1fe67cd0e2c8",
119
+ * vnfdVersion: "1.0.0"
120
+ * }
121
+ * *\/
122
+ * ```
123
+ *
97
124
  * @public
98
125
  */
99
126
  export declare class ValidateSolFunctionPackageContentCommand extends ValidateSolFunctionPackageContentCommand_base {
@@ -97,6 +97,45 @@ declare const ValidateSolNetworkPackageContentCommand_base: {
97
97
  * @throws {@link TnbServiceException}
98
98
  * <p>Base exception class for all service exceptions from Tnb service.</p>
99
99
  *
100
+ *
101
+ * @example Validate the network package content of a NSD archive
102
+ * ```javascript
103
+ * //
104
+ * const input = {
105
+ * contentType: "application/zip",
106
+ * file: "UEsDBBQAAAAAAPqLiVMAAAAAAAAAAAAAA",
107
+ * nsdInfoId: "np-0d5b823eb5c2a9241"
108
+ * };
109
+ * const command = new ValidateSolNetworkPackageContentCommand(input);
110
+ * const response = await client.send(command);
111
+ * /* response is
112
+ * {
113
+ * arn: "arn:aws:tnb:us-west-2:123456789000:network-package/np-0d5b823eb5c2a9241",
114
+ * id: "np-0d5b823eb5c2a9241",
115
+ * metadata: {
116
+ * nsd: {
117
+ * overrides: [
118
+ * {
119
+ * defaultValue: "10.0.0.0/24",
120
+ * name: "cidr_block"
121
+ * },
122
+ * {
123
+ * name: "some_vnf.vnf_prop"
124
+ * }
125
+ * ]
126
+ * }
127
+ * },
128
+ * nsdId: "0d72acd9-e45d-4644-9bcd-1fe67cd0e2c8",
129
+ * nsdName: "Sample Single Cluster",
130
+ * nsdVersion: "1.0.0",
131
+ * vnfPkgIds: [
132
+ * "fp-1234567890abcdabc",
133
+ * "fp-0b627c4a170a97f79"
134
+ * ]
135
+ * }
136
+ * *\/
137
+ * ```
138
+ *
100
139
  * @public
101
140
  */
102
141
  export declare class ValidateSolNetworkPackageContentCommand extends ValidateSolNetworkPackageContentCommand_base {
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.775.0",
4
+ "version": "3.782.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-tnb",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.782.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.782.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.782.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.782.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",