@aws-sdk/client-iotsecuretunneling 3.298.0 → 3.300.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CloseTunnelCommand.d.ts +4 -0
- package/dist-types/commands/DescribeTunnelCommand.d.ts +3 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTunnelsCommand.d.ts +5 -0
- package/dist-types/commands/OpenTunnelCommand.d.ts +18 -0
- package/dist-types/commands/RotateTunnelAccessTokenCommand.d.ts +10 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/package.json +12 -12
|
@@ -29,6 +29,10 @@ export interface CloseTunnelCommandOutput extends CloseTunnelResponse, __Metadat
|
|
|
29
29
|
* import { IoTSecureTunnelingClient, CloseTunnelCommand } from "@aws-sdk/client-iotsecuretunneling"; // ES Modules import
|
|
30
30
|
* // const { IoTSecureTunnelingClient, CloseTunnelCommand } = require("@aws-sdk/client-iotsecuretunneling"); // CommonJS import
|
|
31
31
|
* const client = new IoTSecureTunnelingClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* tunnelId: "STRING_VALUE", // required
|
|
34
|
+
* delete: true || false,
|
|
35
|
+
* };
|
|
32
36
|
* const command = new CloseTunnelCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeTunnelCommandOutput extends DescribeTunnelResponse, __M
|
|
|
27
27
|
* import { IoTSecureTunnelingClient, DescribeTunnelCommand } from "@aws-sdk/client-iotsecuretunneling"; // ES Modules import
|
|
28
28
|
* // const { IoTSecureTunnelingClient, DescribeTunnelCommand } = require("@aws-sdk/client-iotsecuretunneling"); // CommonJS import
|
|
29
29
|
* const client = new IoTSecureTunnelingClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* tunnelId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeTunnelCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { IoTSecureTunnelingClient, ListTagsForResourceCommand } from "@aws-sdk/client-iotsecuretunneling"; // ES Modules import
|
|
27
27
|
* // const { IoTSecureTunnelingClient, ListTagsForResourceCommand } = require("@aws-sdk/client-iotsecuretunneling"); // CommonJS import
|
|
28
28
|
* const client = new IoTSecureTunnelingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListTunnelsCommandOutput extends ListTunnelsResponse, __Metadat
|
|
|
28
28
|
* import { IoTSecureTunnelingClient, ListTunnelsCommand } from "@aws-sdk/client-iotsecuretunneling"; // ES Modules import
|
|
29
29
|
* // const { IoTSecureTunnelingClient, ListTunnelsCommand } = require("@aws-sdk/client-iotsecuretunneling"); // CommonJS import
|
|
30
30
|
* const client = new IoTSecureTunnelingClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* thingName: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListTunnelsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,24 @@ export interface OpenTunnelCommandOutput extends OpenTunnelResponse, __MetadataB
|
|
|
28
28
|
* import { IoTSecureTunnelingClient, OpenTunnelCommand } from "@aws-sdk/client-iotsecuretunneling"; // ES Modules import
|
|
29
29
|
* // const { IoTSecureTunnelingClient, OpenTunnelCommand } = require("@aws-sdk/client-iotsecuretunneling"); // CommonJS import
|
|
30
30
|
* const client = new IoTSecureTunnelingClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* tags: [
|
|
34
|
+
* {
|
|
35
|
+
* key: "STRING_VALUE", // required
|
|
36
|
+
* value: "STRING_VALUE", // required
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* destinationConfig: {
|
|
40
|
+
* thingName: "STRING_VALUE",
|
|
41
|
+
* services: [ // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* timeoutConfig: {
|
|
46
|
+
* maxLifetimeTimeoutMinutes: Number("int"),
|
|
47
|
+
* },
|
|
48
|
+
* };
|
|
31
49
|
* const command = new OpenTunnelCommand(input);
|
|
32
50
|
* const response = await client.send(command);
|
|
33
51
|
* ```
|
|
@@ -34,6 +34,16 @@ export interface RotateTunnelAccessTokenCommandOutput extends RotateTunnelAccess
|
|
|
34
34
|
* import { IoTSecureTunnelingClient, RotateTunnelAccessTokenCommand } from "@aws-sdk/client-iotsecuretunneling"; // ES Modules import
|
|
35
35
|
* // const { IoTSecureTunnelingClient, RotateTunnelAccessTokenCommand } = require("@aws-sdk/client-iotsecuretunneling"); // CommonJS import
|
|
36
36
|
* const client = new IoTSecureTunnelingClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* tunnelId: "STRING_VALUE", // required
|
|
39
|
+
* clientMode: "STRING_VALUE", // required
|
|
40
|
+
* destinationConfig: {
|
|
41
|
+
* thingName: "STRING_VALUE",
|
|
42
|
+
* services: [ // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
37
47
|
* const command = new RotateTunnelAccessTokenCommand(input);
|
|
38
48
|
* const response = await client.send(command);
|
|
39
49
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { IoTSecureTunnelingClient, TagResourceCommand } from "@aws-sdk/client-iotsecuretunneling"; // ES Modules import
|
|
27
27
|
* // const { IoTSecureTunnelingClient, TagResourceCommand } = require("@aws-sdk/client-iotsecuretunneling"); // CommonJS import
|
|
28
28
|
* const client = new IoTSecureTunnelingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* key: "STRING_VALUE", // required
|
|
34
|
+
* value: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
29
38
|
* const command = new TagResourceCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { IoTSecureTunnelingClient, UntagResourceCommand } from "@aws-sdk/client-iotsecuretunneling"; // ES Modules import
|
|
27
27
|
* // const { IoTSecureTunnelingClient, UntagResourceCommand } = require("@aws-sdk/client-iotsecuretunneling"); // CommonJS import
|
|
28
28
|
* const client = new IoTSecureTunnelingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iotsecuretunneling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iotsecuretunneling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,23 +21,23 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|