@aws-sdk/client-iotsecuretunneling 3.312.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/IoTSecureTunneling.js +12 -112
- package/dist-cjs/protocols/Aws_json1_1.js +64 -252
- package/dist-es/IoTSecureTunneling.js +12 -112
- package/dist-es/protocols/Aws_json1_1.js +65 -253
- package/dist-types/IoTSecureTunneling.d.ts +19 -41
- package/dist-types/ts3.4/IoTSecureTunneling.d.ts +4 -1
- package/package.json +6 -6
|
@@ -8,85 +8,63 @@ import { RotateTunnelAccessTokenCommandInput, RotateTunnelAccessTokenCommandOutp
|
|
|
8
8
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
9
9
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
10
10
|
import { IoTSecureTunnelingClient } from "./IoTSecureTunnelingClient";
|
|
11
|
-
|
|
12
|
-
* @public
|
|
13
|
-
* <fullname>IoT Secure Tunneling</fullname>
|
|
14
|
-
* <p>IoT Secure Tunneling creates remote connections to devices deployed in the
|
|
15
|
-
* field.</p>
|
|
16
|
-
* <p>For more information about how IoT Secure Tunneling works, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/secure-tunneling.html">IoT
|
|
17
|
-
* Secure Tunneling</a>.</p>
|
|
18
|
-
*/
|
|
19
|
-
export declare class IoTSecureTunneling extends IoTSecureTunnelingClient {
|
|
11
|
+
export interface IoTSecureTunneling {
|
|
20
12
|
/**
|
|
21
|
-
* @
|
|
22
|
-
* <p>Closes a tunnel identified by the unique tunnel id. When a <code>CloseTunnel</code>
|
|
23
|
-
* request is received, we close the WebSocket connections between the client and proxy
|
|
24
|
-
* server so no data can be transmitted.</p>
|
|
25
|
-
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">CloseTunnel</a> action.</p>
|
|
13
|
+
* @see {@link CloseTunnelCommand}
|
|
26
14
|
*/
|
|
27
15
|
closeTunnel(args: CloseTunnelCommandInput, options?: __HttpHandlerOptions): Promise<CloseTunnelCommandOutput>;
|
|
28
16
|
closeTunnel(args: CloseTunnelCommandInput, cb: (err: any, data?: CloseTunnelCommandOutput) => void): void;
|
|
29
17
|
closeTunnel(args: CloseTunnelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CloseTunnelCommandOutput) => void): void;
|
|
30
18
|
/**
|
|
31
|
-
* @
|
|
32
|
-
* <p>Gets information about a tunnel identified by the unique tunnel id.</p>
|
|
33
|
-
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DescribeTunnel</a> action.</p>
|
|
19
|
+
* @see {@link DescribeTunnelCommand}
|
|
34
20
|
*/
|
|
35
21
|
describeTunnel(args: DescribeTunnelCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTunnelCommandOutput>;
|
|
36
22
|
describeTunnel(args: DescribeTunnelCommandInput, cb: (err: any, data?: DescribeTunnelCommandOutput) => void): void;
|
|
37
23
|
describeTunnel(args: DescribeTunnelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTunnelCommandOutput) => void): void;
|
|
38
24
|
/**
|
|
39
|
-
* @
|
|
40
|
-
* <p>Lists the tags for the specified resource.</p>
|
|
25
|
+
* @see {@link ListTagsForResourceCommand}
|
|
41
26
|
*/
|
|
42
27
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
43
28
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
44
29
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
45
30
|
/**
|
|
46
|
-
* @
|
|
47
|
-
* <p>List all tunnels for an Amazon Web Services account. Tunnels are listed by creation time in
|
|
48
|
-
* descending order, newer tunnels will be listed before older tunnels.</p>
|
|
49
|
-
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListTunnels</a> action.</p>
|
|
31
|
+
* @see {@link ListTunnelsCommand}
|
|
50
32
|
*/
|
|
51
33
|
listTunnels(args: ListTunnelsCommandInput, options?: __HttpHandlerOptions): Promise<ListTunnelsCommandOutput>;
|
|
52
34
|
listTunnels(args: ListTunnelsCommandInput, cb: (err: any, data?: ListTunnelsCommandOutput) => void): void;
|
|
53
35
|
listTunnels(args: ListTunnelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTunnelsCommandOutput) => void): void;
|
|
54
36
|
/**
|
|
55
|
-
* @
|
|
56
|
-
* <p>Creates a new tunnel, and returns two client access tokens for clients to use to
|
|
57
|
-
* connect to the IoT Secure Tunneling proxy server.</p>
|
|
58
|
-
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">OpenTunnel</a> action.</p>
|
|
37
|
+
* @see {@link OpenTunnelCommand}
|
|
59
38
|
*/
|
|
60
39
|
openTunnel(args: OpenTunnelCommandInput, options?: __HttpHandlerOptions): Promise<OpenTunnelCommandOutput>;
|
|
61
40
|
openTunnel(args: OpenTunnelCommandInput, cb: (err: any, data?: OpenTunnelCommandOutput) => void): void;
|
|
62
41
|
openTunnel(args: OpenTunnelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OpenTunnelCommandOutput) => void): void;
|
|
63
42
|
/**
|
|
64
|
-
* @
|
|
65
|
-
* <p>Revokes the current client access token (CAT) and returns new CAT for clients to
|
|
66
|
-
* use when reconnecting to secure tunneling to access the same tunnel.</p>
|
|
67
|
-
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">RotateTunnelAccessToken</a> action.</p>
|
|
68
|
-
* <note>
|
|
69
|
-
* <p>Rotating the CAT doesn't extend the tunnel duration. For example, say the tunnel
|
|
70
|
-
* duration is 12 hours and the tunnel has already been open for 4 hours. When you
|
|
71
|
-
* rotate the access tokens, the new tokens that are generated can only be used for the
|
|
72
|
-
* remaining 8 hours.</p>
|
|
73
|
-
* </note>
|
|
43
|
+
* @see {@link RotateTunnelAccessTokenCommand}
|
|
74
44
|
*/
|
|
75
45
|
rotateTunnelAccessToken(args: RotateTunnelAccessTokenCommandInput, options?: __HttpHandlerOptions): Promise<RotateTunnelAccessTokenCommandOutput>;
|
|
76
46
|
rotateTunnelAccessToken(args: RotateTunnelAccessTokenCommandInput, cb: (err: any, data?: RotateTunnelAccessTokenCommandOutput) => void): void;
|
|
77
47
|
rotateTunnelAccessToken(args: RotateTunnelAccessTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RotateTunnelAccessTokenCommandOutput) => void): void;
|
|
78
48
|
/**
|
|
79
|
-
* @
|
|
80
|
-
* <p>A resource tag.</p>
|
|
49
|
+
* @see {@link TagResourceCommand}
|
|
81
50
|
*/
|
|
82
51
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
83
52
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
84
53
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
85
54
|
/**
|
|
86
|
-
* @
|
|
87
|
-
* <p>Removes a tag from a resource.</p>
|
|
55
|
+
* @see {@link UntagResourceCommand}
|
|
88
56
|
*/
|
|
89
57
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
90
58
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
91
59
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
92
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* <fullname>IoT Secure Tunneling</fullname>
|
|
64
|
+
* <p>IoT Secure Tunneling creates remote connections to devices deployed in the
|
|
65
|
+
* field.</p>
|
|
66
|
+
* <p>For more information about how IoT Secure Tunneling works, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/secure-tunneling.html">IoT
|
|
67
|
+
* Secure Tunneling</a>.</p>
|
|
68
|
+
*/
|
|
69
|
+
export declare class IoTSecureTunneling extends IoTSecureTunnelingClient implements IoTSecureTunneling {
|
|
70
|
+
}
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
UntagResourceCommandOutput,
|
|
33
33
|
} from "./commands/UntagResourceCommand";
|
|
34
34
|
import { IoTSecureTunnelingClient } from "./IoTSecureTunnelingClient";
|
|
35
|
-
export
|
|
35
|
+
export interface IoTSecureTunneling {
|
|
36
36
|
closeTunnel(
|
|
37
37
|
args: CloseTunnelCommandInput,
|
|
38
38
|
options?: __HttpHandlerOptions
|
|
@@ -138,3 +138,6 @@ export declare class IoTSecureTunneling extends IoTSecureTunnelingClient {
|
|
|
138
138
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
139
139
|
): void;
|
|
140
140
|
}
|
|
141
|
+
export declare class IoTSecureTunneling
|
|
142
|
+
extends IoTSecureTunnelingClient
|
|
143
|
+
implements IoTSecureTunneling {}
|
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.316.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|