@aws-sdk/client-iotsecuretunneling 3.315.0 → 3.319.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IoTSecureTunneling = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CloseTunnelCommand_1 = require("./commands/CloseTunnelCommand");
|
|
5
6
|
const DescribeTunnelCommand_1 = require("./commands/DescribeTunnelCommand");
|
|
6
7
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
@@ -10,118 +11,17 @@ const RotateTunnelAccessTokenCommand_1 = require("./commands/RotateTunnelAccessT
|
|
|
10
11
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
11
12
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
12
13
|
const IoTSecureTunnelingClient_1 = require("./IoTSecureTunnelingClient");
|
|
14
|
+
const commands = {
|
|
15
|
+
CloseTunnelCommand: CloseTunnelCommand_1.CloseTunnelCommand,
|
|
16
|
+
DescribeTunnelCommand: DescribeTunnelCommand_1.DescribeTunnelCommand,
|
|
17
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
18
|
+
ListTunnelsCommand: ListTunnelsCommand_1.ListTunnelsCommand,
|
|
19
|
+
OpenTunnelCommand: OpenTunnelCommand_1.OpenTunnelCommand,
|
|
20
|
+
RotateTunnelAccessTokenCommand: RotateTunnelAccessTokenCommand_1.RotateTunnelAccessTokenCommand,
|
|
21
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
22
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
23
|
+
};
|
|
13
24
|
class IoTSecureTunneling extends IoTSecureTunnelingClient_1.IoTSecureTunnelingClient {
|
|
14
|
-
closeTunnel(args, optionsOrCb, cb) {
|
|
15
|
-
const command = new CloseTunnelCommand_1.CloseTunnelCommand(args);
|
|
16
|
-
if (typeof optionsOrCb === "function") {
|
|
17
|
-
this.send(command, optionsOrCb);
|
|
18
|
-
}
|
|
19
|
-
else if (typeof cb === "function") {
|
|
20
|
-
if (typeof optionsOrCb !== "object")
|
|
21
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
22
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
return this.send(command, optionsOrCb);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
describeTunnel(args, optionsOrCb, cb) {
|
|
29
|
-
const command = new DescribeTunnelCommand_1.DescribeTunnelCommand(args);
|
|
30
|
-
if (typeof optionsOrCb === "function") {
|
|
31
|
-
this.send(command, optionsOrCb);
|
|
32
|
-
}
|
|
33
|
-
else if (typeof cb === "function") {
|
|
34
|
-
if (typeof optionsOrCb !== "object")
|
|
35
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
36
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
return this.send(command, optionsOrCb);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
43
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
44
|
-
if (typeof optionsOrCb === "function") {
|
|
45
|
-
this.send(command, optionsOrCb);
|
|
46
|
-
}
|
|
47
|
-
else if (typeof cb === "function") {
|
|
48
|
-
if (typeof optionsOrCb !== "object")
|
|
49
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
50
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
return this.send(command, optionsOrCb);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
listTunnels(args, optionsOrCb, cb) {
|
|
57
|
-
const command = new ListTunnelsCommand_1.ListTunnelsCommand(args);
|
|
58
|
-
if (typeof optionsOrCb === "function") {
|
|
59
|
-
this.send(command, optionsOrCb);
|
|
60
|
-
}
|
|
61
|
-
else if (typeof cb === "function") {
|
|
62
|
-
if (typeof optionsOrCb !== "object")
|
|
63
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
64
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
return this.send(command, optionsOrCb);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
openTunnel(args, optionsOrCb, cb) {
|
|
71
|
-
const command = new OpenTunnelCommand_1.OpenTunnelCommand(args);
|
|
72
|
-
if (typeof optionsOrCb === "function") {
|
|
73
|
-
this.send(command, optionsOrCb);
|
|
74
|
-
}
|
|
75
|
-
else if (typeof cb === "function") {
|
|
76
|
-
if (typeof optionsOrCb !== "object")
|
|
77
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
78
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
return this.send(command, optionsOrCb);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
rotateTunnelAccessToken(args, optionsOrCb, cb) {
|
|
85
|
-
const command = new RotateTunnelAccessTokenCommand_1.RotateTunnelAccessTokenCommand(args);
|
|
86
|
-
if (typeof optionsOrCb === "function") {
|
|
87
|
-
this.send(command, optionsOrCb);
|
|
88
|
-
}
|
|
89
|
-
else if (typeof cb === "function") {
|
|
90
|
-
if (typeof optionsOrCb !== "object")
|
|
91
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
92
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
return this.send(command, optionsOrCb);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
tagResource(args, optionsOrCb, cb) {
|
|
99
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
100
|
-
if (typeof optionsOrCb === "function") {
|
|
101
|
-
this.send(command, optionsOrCb);
|
|
102
|
-
}
|
|
103
|
-
else if (typeof cb === "function") {
|
|
104
|
-
if (typeof optionsOrCb !== "object")
|
|
105
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
106
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
return this.send(command, optionsOrCb);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
untagResource(args, optionsOrCb, cb) {
|
|
113
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
114
|
-
if (typeof optionsOrCb === "function") {
|
|
115
|
-
this.send(command, optionsOrCb);
|
|
116
|
-
}
|
|
117
|
-
else if (typeof cb === "function") {
|
|
118
|
-
if (typeof optionsOrCb !== "object")
|
|
119
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
120
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
return this.send(command, optionsOrCb);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
25
|
}
|
|
127
26
|
exports.IoTSecureTunneling = IoTSecureTunneling;
|
|
27
|
+
(0, smithy_client_1.createAggregatedClient)(commands, IoTSecureTunneling);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CloseTunnelCommand } from "./commands/CloseTunnelCommand";
|
|
2
3
|
import { DescribeTunnelCommand, } from "./commands/DescribeTunnelCommand";
|
|
3
4
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -7,117 +8,16 @@ import { RotateTunnelAccessTokenCommand, } from "./commands/RotateTunnelAccessTo
|
|
|
7
8
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
8
9
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
9
10
|
import { IoTSecureTunnelingClient } from "./IoTSecureTunnelingClient";
|
|
11
|
+
const commands = {
|
|
12
|
+
CloseTunnelCommand,
|
|
13
|
+
DescribeTunnelCommand,
|
|
14
|
+
ListTagsForResourceCommand,
|
|
15
|
+
ListTunnelsCommand,
|
|
16
|
+
OpenTunnelCommand,
|
|
17
|
+
RotateTunnelAccessTokenCommand,
|
|
18
|
+
TagResourceCommand,
|
|
19
|
+
UntagResourceCommand,
|
|
20
|
+
};
|
|
10
21
|
export class IoTSecureTunneling extends IoTSecureTunnelingClient {
|
|
11
|
-
closeTunnel(args, optionsOrCb, cb) {
|
|
12
|
-
const command = new CloseTunnelCommand(args);
|
|
13
|
-
if (typeof optionsOrCb === "function") {
|
|
14
|
-
this.send(command, optionsOrCb);
|
|
15
|
-
}
|
|
16
|
-
else if (typeof cb === "function") {
|
|
17
|
-
if (typeof optionsOrCb !== "object")
|
|
18
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
19
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
return this.send(command, optionsOrCb);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
describeTunnel(args, optionsOrCb, cb) {
|
|
26
|
-
const command = new DescribeTunnelCommand(args);
|
|
27
|
-
if (typeof optionsOrCb === "function") {
|
|
28
|
-
this.send(command, optionsOrCb);
|
|
29
|
-
}
|
|
30
|
-
else if (typeof cb === "function") {
|
|
31
|
-
if (typeof optionsOrCb !== "object")
|
|
32
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
33
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
return this.send(command, optionsOrCb);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
40
|
-
const command = new ListTagsForResourceCommand(args);
|
|
41
|
-
if (typeof optionsOrCb === "function") {
|
|
42
|
-
this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
else if (typeof cb === "function") {
|
|
45
|
-
if (typeof optionsOrCb !== "object")
|
|
46
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
47
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
return this.send(command, optionsOrCb);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
listTunnels(args, optionsOrCb, cb) {
|
|
54
|
-
const command = new ListTunnelsCommand(args);
|
|
55
|
-
if (typeof optionsOrCb === "function") {
|
|
56
|
-
this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
else if (typeof cb === "function") {
|
|
59
|
-
if (typeof optionsOrCb !== "object")
|
|
60
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
61
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
return this.send(command, optionsOrCb);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
openTunnel(args, optionsOrCb, cb) {
|
|
68
|
-
const command = new OpenTunnelCommand(args);
|
|
69
|
-
if (typeof optionsOrCb === "function") {
|
|
70
|
-
this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
else if (typeof cb === "function") {
|
|
73
|
-
if (typeof optionsOrCb !== "object")
|
|
74
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
75
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
return this.send(command, optionsOrCb);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
rotateTunnelAccessToken(args, optionsOrCb, cb) {
|
|
82
|
-
const command = new RotateTunnelAccessTokenCommand(args);
|
|
83
|
-
if (typeof optionsOrCb === "function") {
|
|
84
|
-
this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
else if (typeof cb === "function") {
|
|
87
|
-
if (typeof optionsOrCb !== "object")
|
|
88
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
89
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
return this.send(command, optionsOrCb);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
tagResource(args, optionsOrCb, cb) {
|
|
96
|
-
const command = new TagResourceCommand(args);
|
|
97
|
-
if (typeof optionsOrCb === "function") {
|
|
98
|
-
this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
else if (typeof cb === "function") {
|
|
101
|
-
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
103
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
return this.send(command, optionsOrCb);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
untagResource(args, optionsOrCb, cb) {
|
|
110
|
-
const command = new UntagResourceCommand(args);
|
|
111
|
-
if (typeof optionsOrCb === "function") {
|
|
112
|
-
this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
else if (typeof cb === "function") {
|
|
115
|
-
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
117
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
return this.send(command, optionsOrCb);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
22
|
}
|
|
23
|
+
createAggregatedClient(commands, IoTSecureTunneling);
|
|
@@ -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.319.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.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.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",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
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.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|