@aws-sdk/client-iotsecuretunneling 3.325.0 → 3.326.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.
@@ -35,6 +35,8 @@ export interface CloseTunnelCommandOutput extends CloseTunnelResponse, __Metadat
35
35
  * };
36
36
  * const command = new CloseTunnelCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param CloseTunnelCommandInput - {@link CloseTunnelCommandInput}
@@ -46,6 +48,8 @@ export interface CloseTunnelCommandOutput extends CloseTunnelResponse, __Metadat
46
48
  * @throws {@link ResourceNotFoundException} (client fault)
47
49
  * <p>Thrown when an operation is attempted on a resource that does not exist.</p>
48
50
  *
51
+ * @throws {@link IoTSecureTunnelingServiceException}
52
+ * <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
49
53
  *
50
54
  */
51
55
  export declare class CloseTunnelCommand extends $Command<CloseTunnelCommandInput, CloseTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig> {
@@ -32,6 +32,40 @@ export interface DescribeTunnelCommandOutput extends DescribeTunnelResponse, __M
32
32
  * };
33
33
  * const command = new DescribeTunnelCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DescribeTunnelResponse
36
+ * // tunnel: { // Tunnel
37
+ * // tunnelId: "STRING_VALUE",
38
+ * // tunnelArn: "STRING_VALUE",
39
+ * // status: "STRING_VALUE",
40
+ * // sourceConnectionState: { // ConnectionState
41
+ * // status: "STRING_VALUE",
42
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
43
+ * // },
44
+ * // destinationConnectionState: {
45
+ * // status: "STRING_VALUE",
46
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
47
+ * // },
48
+ * // description: "STRING_VALUE",
49
+ * // destinationConfig: { // DestinationConfig
50
+ * // thingName: "STRING_VALUE",
51
+ * // services: [ // ServiceList // required
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // },
55
+ * // timeoutConfig: { // TimeoutConfig
56
+ * // maxLifetimeTimeoutMinutes: Number("int"),
57
+ * // },
58
+ * // tags: [ // TagList
59
+ * // { // Tag
60
+ * // key: "STRING_VALUE", // required
61
+ * // value: "STRING_VALUE", // required
62
+ * // },
63
+ * // ],
64
+ * // createdAt: new Date("TIMESTAMP"),
65
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
66
+ * // },
67
+ * // };
68
+ *
35
69
  * ```
36
70
  *
37
71
  * @param DescribeTunnelCommandInput - {@link DescribeTunnelCommandInput}
@@ -43,6 +77,8 @@ export interface DescribeTunnelCommandOutput extends DescribeTunnelResponse, __M
43
77
  * @throws {@link ResourceNotFoundException} (client fault)
44
78
  * <p>Thrown when an operation is attempted on a resource that does not exist.</p>
45
79
  *
80
+ * @throws {@link IoTSecureTunnelingServiceException}
81
+ * <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
46
82
  *
47
83
  */
48
84
  export declare class DescribeTunnelCommand extends $Command<DescribeTunnelCommandInput, DescribeTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig> {
@@ -31,6 +31,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // tags: [ // TagList
36
+ * // { // Tag
37
+ * // key: "STRING_VALUE", // required
38
+ * // value: "STRING_VALUE", // required
39
+ * // },
40
+ * // ],
41
+ * // };
42
+ *
34
43
  * ```
35
44
  *
36
45
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -42,6 +51,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
42
51
  * @throws {@link ResourceNotFoundException} (client fault)
43
52
  * <p>Thrown when an operation is attempted on a resource that does not exist.</p>
44
53
  *
54
+ * @throws {@link IoTSecureTunnelingServiceException}
55
+ * <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
45
56
  *
46
57
  */
47
58
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig> {
@@ -35,6 +35,20 @@ export interface ListTunnelsCommandOutput extends ListTunnelsResponse, __Metadat
35
35
  * };
36
36
  * const command = new ListTunnelsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListTunnelsResponse
39
+ * // tunnelSummaries: [ // TunnelSummaryList
40
+ * // { // TunnelSummary
41
+ * // tunnelId: "STRING_VALUE",
42
+ * // tunnelArn: "STRING_VALUE",
43
+ * // status: "STRING_VALUE",
44
+ * // description: "STRING_VALUE",
45
+ * // createdAt: new Date("TIMESTAMP"),
46
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
47
+ * // },
48
+ * // ],
49
+ * // nextToken: "STRING_VALUE",
50
+ * // };
51
+ *
38
52
  * ```
39
53
  *
40
54
  * @param ListTunnelsCommandInput - {@link ListTunnelsCommandInput}
@@ -43,6 +57,8 @@ export interface ListTunnelsCommandOutput extends ListTunnelsResponse, __Metadat
43
57
  * @see {@link ListTunnelsCommandOutput} for command's `response` shape.
44
58
  * @see {@link IoTSecureTunnelingClientResolvedConfig | config} for IoTSecureTunnelingClient's `config` shape.
45
59
  *
60
+ * @throws {@link IoTSecureTunnelingServiceException}
61
+ * <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
46
62
  *
47
63
  */
48
64
  export declare class ListTunnelsCommand extends $Command<ListTunnelsCommandInput, ListTunnelsCommandOutput, IoTSecureTunnelingClientResolvedConfig> {
@@ -48,6 +48,13 @@ export interface OpenTunnelCommandOutput extends OpenTunnelResponse, __MetadataB
48
48
  * };
49
49
  * const command = new OpenTunnelCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // { // OpenTunnelResponse
52
+ * // tunnelId: "STRING_VALUE",
53
+ * // tunnelArn: "STRING_VALUE",
54
+ * // sourceAccessToken: "STRING_VALUE",
55
+ * // destinationAccessToken: "STRING_VALUE",
56
+ * // };
57
+ *
51
58
  * ```
52
59
  *
53
60
  * @param OpenTunnelCommandInput - {@link OpenTunnelCommandInput}
@@ -59,6 +66,8 @@ export interface OpenTunnelCommandOutput extends OpenTunnelResponse, __MetadataB
59
66
  * @throws {@link LimitExceededException} (client fault)
60
67
  * <p>Thrown when a tunnel limit is exceeded.</p>
61
68
  *
69
+ * @throws {@link IoTSecureTunnelingServiceException}
70
+ * <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
62
71
  *
63
72
  */
64
73
  export declare class OpenTunnelCommand extends $Command<OpenTunnelCommandInput, OpenTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig> {
@@ -46,6 +46,12 @@ export interface RotateTunnelAccessTokenCommandOutput extends RotateTunnelAccess
46
46
  * };
47
47
  * const command = new RotateTunnelAccessTokenCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // RotateTunnelAccessTokenResponse
50
+ * // tunnelArn: "STRING_VALUE",
51
+ * // sourceAccessToken: "STRING_VALUE",
52
+ * // destinationAccessToken: "STRING_VALUE",
53
+ * // };
54
+ *
49
55
  * ```
50
56
  *
51
57
  * @param RotateTunnelAccessTokenCommandInput - {@link RotateTunnelAccessTokenCommandInput}
@@ -57,6 +63,8 @@ export interface RotateTunnelAccessTokenCommandOutput extends RotateTunnelAccess
57
63
  * @throws {@link ResourceNotFoundException} (client fault)
58
64
  * <p>Thrown when an operation is attempted on a resource that does not exist.</p>
59
65
  *
66
+ * @throws {@link IoTSecureTunnelingServiceException}
67
+ * <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
60
68
  *
61
69
  */
62
70
  export declare class RotateTunnelAccessTokenCommand extends $Command<RotateTunnelAccessTokenCommandInput, RotateTunnelAccessTokenCommandOutput, IoTSecureTunnelingClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
37
37
  * };
38
38
  * const command = new TagResourceCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -48,6 +50,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
48
50
  * @throws {@link ResourceNotFoundException} (client fault)
49
51
  * <p>Thrown when an operation is attempted on a resource that does not exist.</p>
50
52
  *
53
+ * @throws {@link IoTSecureTunnelingServiceException}
54
+ * <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
51
55
  *
52
56
  */
53
57
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -45,6 +47,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
45
47
  * @throws {@link ResourceNotFoundException} (client fault)
46
48
  * <p>Thrown when an operation is attempted on a resource that does not exist.</p>
47
49
  *
50
+ * @throws {@link IoTSecureTunnelingServiceException}
51
+ * <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
48
52
  *
49
53
  */
50
54
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig> {
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.325.0",
4
+ "version": "3.326.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.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.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",