You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-iotsecuretunneling): This release introduces a new API RotateTunnelAccessToken that allow revoking the existing tokens and generate new tokens
Copy file name to clipboardExpand all lines: clients/client-iotsecuretunneling/README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,12 @@
7
7
8
8
AWS SDK for JavaScript IoTSecureTunneling Client for Node.js, Browser and React Native.
9
9
10
-
<fullname>AWS IoT Secure Tunneling</fullname>
10
+
<fullname>IoT Secure Tunneling</fullname>
11
11
12
-
<p>AWS IoT Secure Tunnling enables you to create remote connections to devices
13
-
deployed in the field.</p>
14
-
15
-
<p>For more information about how AWS IoT Secure Tunneling works, see <ahref="https://docs.aws.amazon.com/iot/latest/developerguide/secure-tunneling.html">AWS IoT Secure Tunneling</a>.</p>
12
+
<p>IoT Secure Tunneling creates remote connections to devices deployed in the
13
+
field.</p>
14
+
<p>For more information about how IoT Secure Tunneling works, see <ahref="https://docs.aws.amazon.com/iot/latest/developerguide/secure-tunneling.html">IoT
* <p>AWS IoT Secure Tunnling enables you to create remote connections to devices
27
-
* deployed in the field.</p>
28
-
*
29
-
* <p>For more information about how AWS IoT Secure Tunneling works, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/secure-tunneling.html">AWS IoT Secure Tunneling</a>.</p>
30
+
* <fullname>IoT Secure Tunneling</fullname>
31
+
* <p>IoT Secure Tunneling creates remote connections to devices deployed in the
32
+
* field.</p>
33
+
* <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
* <p>Closes a tunnel identified by the unique tunnel id. When a <code>CloseTunnel</code>
34
39
* request is received, we close the WebSocket connections between the client and proxy
35
40
* server so no data can be transmitted.</p>
41
+
* <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>
@@ -59,6 +65,7 @@ export class IoTSecureTunneling extends IoTSecureTunnelingClient {
59
65
60
66
/**
61
67
* <p>Gets information about a tunnel identified by the unique tunnel id.</p>
68
+
* <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>
62
69
*/
63
70
publicdescribeTunnel(
64
71
args: DescribeTunnelCommandInput,
@@ -122,8 +129,9 @@ export class IoTSecureTunneling extends IoTSecureTunnelingClient {
122
129
}
123
130
124
131
/**
125
-
* <p>List all tunnels for an AWS account. Tunnels are listed by creation time in
132
+
* <p>List all tunnels for an Amazon Web Services account. Tunnels are listed by creation time in
126
133
* descending order, newer tunnels will be listed before older tunnels.</p>
134
+
* <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>
@@ -150,7 +158,8 @@ export class IoTSecureTunneling extends IoTSecureTunnelingClient {
150
158
151
159
/**
152
160
* <p>Creates a new tunnel, and returns two client access tokens for clients to use to
153
-
* connect to the AWS IoT Secure Tunneling proxy server.</p>
161
+
* connect to the IoT Secure Tunneling proxy server.</p>
162
+
* <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>
@@ -175,6 +184,46 @@ export class IoTSecureTunneling extends IoTSecureTunnelingClient {
175
184
}
176
185
}
177
186
187
+
/**
188
+
* <p>Revokes the current client access token (CAT) and returns new CAT for clients to
189
+
* use when reconnecting to secure tunneling to access the same tunnel.</p>
190
+
* <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>
191
+
* <note>
192
+
* <p>Rotating the CAT doesn't extend the tunnel duration. For example, say the tunnel
193
+
* duration is 12 hours and the tunnel has already been open for 4 hours. When you
194
+
* rotate the access tokens, the new tokens that are generated can only be used for the
* <p>AWS IoT Secure Tunnling enables you to create remote connections to devices
240
-
* deployed in the field.</p>
241
-
*
242
-
* <p>For more information about how AWS IoT Secure Tunneling works, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/secure-tunneling.html">AWS IoT Secure Tunneling</a>.</p>
244
+
* <fullname>IoT Secure Tunneling</fullname>
245
+
* <p>IoT Secure Tunneling creates remote connections to devices deployed in the
246
+
* field.</p>
247
+
* <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
* <p>Closes a tunnel identified by the unique tunnel id. When a <code>CloseTunnel</code>
30
30
* request is received, we close the WebSocket connections between the client and proxy
31
31
* server so no data can be transmitted.</p>
32
+
* <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>
32
33
* @example
33
34
* Use a bare-bones client and the command you need to make an API call.
* <p>Gets information about a tunnel identified by the unique tunnel id.</p>
30
+
* <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>
30
31
* @example
31
32
* Use a bare-bones client and the command you need to make an API call.
* <p>List all tunnels for an AWS account. Tunnels are listed by creation time in
29
+
* <p>List all tunnels for an Amazon Web Services account. Tunnels are listed by creation time in
30
30
* descending order, newer tunnels will be listed before older tunnels.</p>
31
+
* <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
32
* @example
32
33
* Use a bare-bones client and the command you need to make an API call.
* <p>Creates a new tunnel, and returns two client access tokens for clients to use to
30
-
* connect to the AWS IoT Secure Tunneling proxy server.</p>
30
+
* connect to the IoT Secure Tunneling proxy server.</p>
31
+
* <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>
31
32
* @example
32
33
* Use a bare-bones client and the command you need to make an API call.
* <p>Revokes the current client access token (CAT) and returns new CAT for clients to
30
+
* use when reconnecting to secure tunneling to access the same tunnel.</p>
31
+
* <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>
32
+
* <note>
33
+
* <p>Rotating the CAT doesn't extend the tunnel duration. For example, say the tunnel
34
+
* duration is 12 hours and the tunnel has already been open for 4 hours. When you
35
+
* rotate the access tokens, the new tokens that are generated can only be used for the
36
+
* remaining 8 hours.</p>
37
+
* </note>
38
+
* @example
39
+
* Use a bare-bones client and the command you need to make an API call.
40
+
* ```javascript
41
+
* import { IoTSecureTunnelingClient, RotateTunnelAccessTokenCommand } from "@aws-sdk/client-iotsecuretunneling"; // ES Modules import
0 commit comments