@aws-sdk/client-iotsecuretunneling 3.529.1 → 3.535.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/IoTSecureTunneling.d.ts +3 -1
- package/dist-types/IoTSecureTunnelingClient.d.ts +1 -1
- package/dist-types/commands/CloseTunnelCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTunnelCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListTunnelsCommand.d.ts +2 -1
- package/dist-types/commands/OpenTunnelCommand.d.ts +2 -1
- package/dist-types/commands/RotateTunnelAccessTokenCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +61 -61
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/IoTSecureTunneling.d.ts +2 -0
- package/dist-types/ts3.4/commands/CloseTunnelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeTunnelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTunnelsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/OpenTunnelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RotateTunnelAccessTokenCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +40 -40
|
@@ -30,12 +30,14 @@ export interface IoTSecureTunneling {
|
|
|
30
30
|
/**
|
|
31
31
|
* @see {@link ListTunnelsCommand}
|
|
32
32
|
*/
|
|
33
|
+
listTunnels(): Promise<ListTunnelsCommandOutput>;
|
|
33
34
|
listTunnels(args: ListTunnelsCommandInput, options?: __HttpHandlerOptions): Promise<ListTunnelsCommandOutput>;
|
|
34
35
|
listTunnels(args: ListTunnelsCommandInput, cb: (err: any, data?: ListTunnelsCommandOutput) => void): void;
|
|
35
36
|
listTunnels(args: ListTunnelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTunnelsCommandOutput) => void): void;
|
|
36
37
|
/**
|
|
37
38
|
* @see {@link OpenTunnelCommand}
|
|
38
39
|
*/
|
|
40
|
+
openTunnel(): Promise<OpenTunnelCommandOutput>;
|
|
39
41
|
openTunnel(args: OpenTunnelCommandInput, options?: __HttpHandlerOptions): Promise<OpenTunnelCommandOutput>;
|
|
40
42
|
openTunnel(args: OpenTunnelCommandInput, cb: (err: any, data?: OpenTunnelCommandOutput) => void): void;
|
|
41
43
|
openTunnel(args: OpenTunnelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OpenTunnelCommandOutput) => void): void;
|
|
@@ -59,12 +61,12 @@ export interface IoTSecureTunneling {
|
|
|
59
61
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
60
62
|
}
|
|
61
63
|
/**
|
|
62
|
-
* @public
|
|
63
64
|
* <fullname>IoT Secure Tunneling</fullname>
|
|
64
65
|
* <p>IoT Secure Tunneling creates remote connections to devices deployed in the
|
|
65
66
|
* field.</p>
|
|
66
67
|
* <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
68
|
* Secure Tunneling</a>.</p>
|
|
69
|
+
* @public
|
|
68
70
|
*/
|
|
69
71
|
export declare class IoTSecureTunneling extends IoTSecureTunnelingClient implements IoTSecureTunneling {
|
|
70
72
|
}
|
|
@@ -159,12 +159,12 @@ export type IoTSecureTunnelingClientResolvedConfigType = __SmithyResolvedConfigu
|
|
|
159
159
|
export interface IoTSecureTunnelingClientResolvedConfig extends IoTSecureTunnelingClientResolvedConfigType {
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
* @public
|
|
163
162
|
* <fullname>IoT Secure Tunneling</fullname>
|
|
164
163
|
* <p>IoT Secure Tunneling creates remote connections to devices deployed in the
|
|
165
164
|
* field.</p>
|
|
166
165
|
* <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
|
|
167
166
|
* Secure Tunneling</a>.</p>
|
|
167
|
+
* @public
|
|
168
168
|
*/
|
|
169
169
|
export declare class IoTSecureTunnelingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, IoTSecureTunnelingClientResolvedConfig> {
|
|
170
170
|
/**
|
|
@@ -22,10 +22,10 @@ export interface CloseTunnelCommandOutput extends CloseTunnelResponse, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const CloseTunnelCommand_base: {
|
|
24
24
|
new (input: CloseTunnelCommandInput): import("@smithy/smithy-client").CommandImpl<CloseTunnelCommandInput, CloseTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CloseTunnelCommandInput): import("@smithy/smithy-client").CommandImpl<CloseTunnelCommandInput, CloseTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <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>
|
|
@@ -58,6 +58,7 @@ declare const CloseTunnelCommand_base: {
|
|
|
58
58
|
* @throws {@link IoTSecureTunnelingServiceException}
|
|
59
59
|
* <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
|
|
60
60
|
*
|
|
61
|
+
* @public
|
|
61
62
|
*/
|
|
62
63
|
export declare class CloseTunnelCommand extends CloseTunnelCommand_base {
|
|
63
64
|
}
|
|
@@ -22,10 +22,10 @@ export interface DescribeTunnelCommandOutput extends DescribeTunnelResponse, __M
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeTunnelCommand_base: {
|
|
24
24
|
new (input: DescribeTunnelCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeTunnelCommandInput, DescribeTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeTunnelCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeTunnelCommandInput, DescribeTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets information about a tunnel identified by the unique tunnel id.</p>
|
|
30
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>
|
|
31
31
|
* @example
|
|
@@ -87,6 +87,7 @@ declare const DescribeTunnelCommand_base: {
|
|
|
87
87
|
* @throws {@link IoTSecureTunnelingServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
|
|
89
89
|
*
|
|
90
|
+
* @public
|
|
90
91
|
*/
|
|
91
92
|
export declare class DescribeTunnelCommand extends DescribeTunnelCommand_base {
|
|
92
93
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListTagsForResourceCommand_base: {
|
|
24
24
|
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Lists the tags for the specified resource.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -61,6 +61,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
61
61
|
* @throws {@link IoTSecureTunnelingServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
|
|
63
63
|
*
|
|
64
|
+
* @public
|
|
64
65
|
*/
|
|
65
66
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
66
67
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListTunnelsCommandOutput extends ListTunnelsResponse, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListTunnelsCommand_base: {
|
|
24
24
|
new (input: ListTunnelsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTunnelsCommandInput, ListTunnelsCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListTunnelsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTunnelsCommandInput, ListTunnelsCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
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
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>
|
|
@@ -67,6 +67,7 @@ declare const ListTunnelsCommand_base: {
|
|
|
67
67
|
* @throws {@link IoTSecureTunnelingServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
|
|
69
69
|
*
|
|
70
|
+
* @public
|
|
70
71
|
*/
|
|
71
72
|
export declare class ListTunnelsCommand extends ListTunnelsCommand_base {
|
|
72
73
|
}
|
|
@@ -22,10 +22,10 @@ export interface OpenTunnelCommandOutput extends OpenTunnelResponse, __MetadataB
|
|
|
22
22
|
}
|
|
23
23
|
declare const OpenTunnelCommand_base: {
|
|
24
24
|
new (input: OpenTunnelCommandInput): import("@smithy/smithy-client").CommandImpl<OpenTunnelCommandInput, OpenTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [OpenTunnelCommandInput]): import("@smithy/smithy-client").CommandImpl<OpenTunnelCommandInput, OpenTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates a new tunnel, and returns two client access tokens for clients to use to
|
|
30
30
|
* connect to the IoT Secure Tunneling proxy server.</p>
|
|
31
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>
|
|
@@ -76,6 +76,7 @@ declare const OpenTunnelCommand_base: {
|
|
|
76
76
|
* @throws {@link IoTSecureTunnelingServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
|
|
78
78
|
*
|
|
79
|
+
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class OpenTunnelCommand extends OpenTunnelCommand_base {
|
|
81
82
|
}
|
|
@@ -22,10 +22,10 @@ export interface RotateTunnelAccessTokenCommandOutput extends RotateTunnelAccess
|
|
|
22
22
|
}
|
|
23
23
|
declare const RotateTunnelAccessTokenCommand_base: {
|
|
24
24
|
new (input: RotateTunnelAccessTokenCommandInput): import("@smithy/smithy-client").CommandImpl<RotateTunnelAccessTokenCommandInput, RotateTunnelAccessTokenCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: RotateTunnelAccessTokenCommandInput): import("@smithy/smithy-client").CommandImpl<RotateTunnelAccessTokenCommandInput, RotateTunnelAccessTokenCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Revokes the current client access token (CAT) and returns new CAT for clients to
|
|
30
30
|
* use when reconnecting to secure tunneling to access the same tunnel.</p>
|
|
31
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>
|
|
@@ -73,6 +73,7 @@ declare const RotateTunnelAccessTokenCommand_base: {
|
|
|
73
73
|
* @throws {@link IoTSecureTunnelingServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
|
|
75
75
|
*
|
|
76
|
+
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class RotateTunnelAccessTokenCommand extends RotateTunnelAccessTokenCommand_base {
|
|
78
79
|
}
|
|
@@ -22,10 +22,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const TagResourceCommand_base: {
|
|
24
24
|
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>A resource tag.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -60,6 +60,7 @@ declare const TagResourceCommand_base: {
|
|
|
60
60
|
* @throws {@link IoTSecureTunnelingServiceException}
|
|
61
61
|
* <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
|
|
62
62
|
*
|
|
63
|
+
* @public
|
|
63
64
|
*/
|
|
64
65
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
65
66
|
}
|
|
@@ -22,10 +22,10 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
22
22
|
}
|
|
23
23
|
declare const UntagResourceCommand_base: {
|
|
24
24
|
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Removes a tag from a resource.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -57,6 +57,7 @@ declare const UntagResourceCommand_base: {
|
|
|
57
57
|
* @throws {@link IoTSecureTunnelingServiceException}
|
|
58
58
|
* <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
|
|
59
59
|
*
|
|
60
|
+
* @public
|
|
60
61
|
*/
|
|
61
62
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
62
63
|
}
|
|
@@ -18,14 +18,14 @@ export type ClientMode = (typeof ClientMode)[keyof typeof ClientMode];
|
|
|
18
18
|
*/
|
|
19
19
|
export interface CloseTunnelRequest {
|
|
20
20
|
/**
|
|
21
|
-
* @public
|
|
22
21
|
* <p>The ID of the tunnel to close.</p>
|
|
22
|
+
* @public
|
|
23
23
|
*/
|
|
24
24
|
tunnelId: string | undefined;
|
|
25
25
|
/**
|
|
26
|
-
* @public
|
|
27
26
|
* <p>When set to true, IoT Secure Tunneling deletes the tunnel data
|
|
28
27
|
* immediately.</p>
|
|
28
|
+
* @public
|
|
29
29
|
*/
|
|
30
30
|
delete?: boolean;
|
|
31
31
|
}
|
|
@@ -35,8 +35,8 @@ export interface CloseTunnelRequest {
|
|
|
35
35
|
export interface CloseTunnelResponse {
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
* @public
|
|
39
38
|
* <p>Thrown when an operation is attempted on a resource that does not exist.</p>
|
|
39
|
+
* @public
|
|
40
40
|
*/
|
|
41
41
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
42
42
|
readonly name: "ResourceNotFoundException";
|
|
@@ -59,19 +59,19 @@ export declare const ConnectionStatus: {
|
|
|
59
59
|
*/
|
|
60
60
|
export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
|
|
61
61
|
/**
|
|
62
|
-
* @public
|
|
63
62
|
* <p>The state of a connection.</p>
|
|
63
|
+
* @public
|
|
64
64
|
*/
|
|
65
65
|
export interface ConnectionState {
|
|
66
66
|
/**
|
|
67
|
-
* @public
|
|
68
67
|
* <p>The connection status of the tunnel. Valid values are <code>CONNECTED</code> and
|
|
69
68
|
* <code>DISCONNECTED</code>.</p>
|
|
69
|
+
* @public
|
|
70
70
|
*/
|
|
71
71
|
status?: ConnectionStatus;
|
|
72
72
|
/**
|
|
73
|
-
* @public
|
|
74
73
|
* <p>The last time the connection status was updated.</p>
|
|
74
|
+
* @public
|
|
75
75
|
*/
|
|
76
76
|
lastUpdatedAt?: Date;
|
|
77
77
|
}
|
|
@@ -80,27 +80,27 @@ export interface ConnectionState {
|
|
|
80
80
|
*/
|
|
81
81
|
export interface DescribeTunnelRequest {
|
|
82
82
|
/**
|
|
83
|
-
* @public
|
|
84
83
|
* <p>The tunnel to describe.</p>
|
|
84
|
+
* @public
|
|
85
85
|
*/
|
|
86
86
|
tunnelId: string | undefined;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
* @public
|
|
90
89
|
* <p>The destination configuration.</p>
|
|
90
|
+
* @public
|
|
91
91
|
*/
|
|
92
92
|
export interface DestinationConfig {
|
|
93
93
|
/**
|
|
94
|
-
* @public
|
|
95
94
|
* <p>The name of the IoT thing to which you want to connect.</p>
|
|
95
|
+
* @public
|
|
96
96
|
*/
|
|
97
97
|
thingName?: string;
|
|
98
98
|
/**
|
|
99
|
-
* @public
|
|
100
99
|
* <p>A list of service names that identify the target application. The IoT client
|
|
101
100
|
* running on the destination device reads this value and uses it to look up a port or an
|
|
102
101
|
* IP address and a port. The IoT client instantiates the local proxy, which uses this
|
|
103
102
|
* information to connect to the destination application.</p>
|
|
103
|
+
* @public
|
|
104
104
|
*/
|
|
105
105
|
services: string[] | undefined;
|
|
106
106
|
}
|
|
@@ -117,95 +117,95 @@ export declare const TunnelStatus: {
|
|
|
117
117
|
*/
|
|
118
118
|
export type TunnelStatus = (typeof TunnelStatus)[keyof typeof TunnelStatus];
|
|
119
119
|
/**
|
|
120
|
-
* @public
|
|
121
120
|
* <p>An arbitary key/value pair used to add searchable metadata to secure tunnel
|
|
122
121
|
* resources.</p>
|
|
122
|
+
* @public
|
|
123
123
|
*/
|
|
124
124
|
export interface Tag {
|
|
125
125
|
/**
|
|
126
|
-
* @public
|
|
127
126
|
* <p>The key of the tag.</p>
|
|
127
|
+
* @public
|
|
128
128
|
*/
|
|
129
129
|
key: string | undefined;
|
|
130
130
|
/**
|
|
131
|
-
* @public
|
|
132
131
|
* <p>The value of the tag.</p>
|
|
132
|
+
* @public
|
|
133
133
|
*/
|
|
134
134
|
value: string | undefined;
|
|
135
135
|
}
|
|
136
136
|
/**
|
|
137
|
-
* @public
|
|
138
137
|
* <p>Tunnel timeout configuration.</p>
|
|
138
|
+
* @public
|
|
139
139
|
*/
|
|
140
140
|
export interface TimeoutConfig {
|
|
141
141
|
/**
|
|
142
|
-
* @public
|
|
143
142
|
* <p>The maximum amount of time (in minutes) a tunnel can remain open. If not specified,
|
|
144
143
|
* maxLifetimeTimeoutMinutes defaults to 720 minutes. Valid values are from 1 minute to 12
|
|
145
144
|
* hours (720 minutes) </p>
|
|
145
|
+
* @public
|
|
146
146
|
*/
|
|
147
147
|
maxLifetimeTimeoutMinutes?: number;
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
|
-
* @public
|
|
151
150
|
* <p>A connection between a source computer and a destination device.</p>
|
|
151
|
+
* @public
|
|
152
152
|
*/
|
|
153
153
|
export interface Tunnel {
|
|
154
154
|
/**
|
|
155
|
-
* @public
|
|
156
155
|
* <p>A unique alpha-numeric ID that identifies a tunnel.</p>
|
|
156
|
+
* @public
|
|
157
157
|
*/
|
|
158
158
|
tunnelId?: string;
|
|
159
159
|
/**
|
|
160
|
-
* @public
|
|
161
160
|
* <p>The Amazon Resource Name (ARN) of a tunnel.</p>
|
|
161
|
+
* @public
|
|
162
162
|
*/
|
|
163
163
|
tunnelArn?: string;
|
|
164
164
|
/**
|
|
165
|
-
* @public
|
|
166
165
|
* <p>The status of a tunnel. Valid values are: Open and Closed.</p>
|
|
166
|
+
* @public
|
|
167
167
|
*/
|
|
168
168
|
status?: TunnelStatus;
|
|
169
169
|
/**
|
|
170
|
-
* @public
|
|
171
170
|
* <p>The connection state of the source application.</p>
|
|
171
|
+
* @public
|
|
172
172
|
*/
|
|
173
173
|
sourceConnectionState?: ConnectionState;
|
|
174
174
|
/**
|
|
175
|
-
* @public
|
|
176
175
|
* <p>The connection state of the destination application.</p>
|
|
176
|
+
* @public
|
|
177
177
|
*/
|
|
178
178
|
destinationConnectionState?: ConnectionState;
|
|
179
179
|
/**
|
|
180
|
-
* @public
|
|
181
180
|
* <p>A description of the tunnel.</p>
|
|
181
|
+
* @public
|
|
182
182
|
*/
|
|
183
183
|
description?: string;
|
|
184
184
|
/**
|
|
185
|
-
* @public
|
|
186
185
|
* <p>The destination configuration that specifies the thing name of the destination
|
|
187
186
|
* device and a service name that the local proxy uses to connect to the destination
|
|
188
187
|
* application.</p>
|
|
188
|
+
* @public
|
|
189
189
|
*/
|
|
190
190
|
destinationConfig?: DestinationConfig;
|
|
191
191
|
/**
|
|
192
|
-
* @public
|
|
193
192
|
* <p>Timeout configuration for the tunnel.</p>
|
|
193
|
+
* @public
|
|
194
194
|
*/
|
|
195
195
|
timeoutConfig?: TimeoutConfig;
|
|
196
196
|
/**
|
|
197
|
-
* @public
|
|
198
197
|
* <p>A list of tag metadata associated with the secure tunnel.</p>
|
|
198
|
+
* @public
|
|
199
199
|
*/
|
|
200
200
|
tags?: Tag[];
|
|
201
201
|
/**
|
|
202
|
-
* @public
|
|
203
202
|
* <p>The time when the tunnel was created.</p>
|
|
203
|
+
* @public
|
|
204
204
|
*/
|
|
205
205
|
createdAt?: Date;
|
|
206
206
|
/**
|
|
207
|
-
* @public
|
|
208
207
|
* <p>The last time the tunnel was updated.</p>
|
|
208
|
+
* @public
|
|
209
209
|
*/
|
|
210
210
|
lastUpdatedAt?: Date;
|
|
211
211
|
}
|
|
@@ -214,8 +214,8 @@ export interface Tunnel {
|
|
|
214
214
|
*/
|
|
215
215
|
export interface DescribeTunnelResponse {
|
|
216
216
|
/**
|
|
217
|
-
* @public
|
|
218
217
|
* <p>The tunnel being described.</p>
|
|
218
|
+
* @public
|
|
219
219
|
*/
|
|
220
220
|
tunnel?: Tunnel;
|
|
221
221
|
}
|
|
@@ -224,8 +224,8 @@ export interface DescribeTunnelResponse {
|
|
|
224
224
|
*/
|
|
225
225
|
export interface ListTagsForResourceRequest {
|
|
226
226
|
/**
|
|
227
|
-
* @public
|
|
228
227
|
* <p>The resource ARN.</p>
|
|
228
|
+
* @public
|
|
229
229
|
*/
|
|
230
230
|
resourceArn: string | undefined;
|
|
231
231
|
}
|
|
@@ -234,8 +234,8 @@ export interface ListTagsForResourceRequest {
|
|
|
234
234
|
*/
|
|
235
235
|
export interface ListTagsForResourceResponse {
|
|
236
236
|
/**
|
|
237
|
-
* @public
|
|
238
237
|
* <p>The tags for the specified resource.</p>
|
|
238
|
+
* @public
|
|
239
239
|
*/
|
|
240
240
|
tags?: Tag[];
|
|
241
241
|
}
|
|
@@ -244,55 +244,55 @@ export interface ListTagsForResourceResponse {
|
|
|
244
244
|
*/
|
|
245
245
|
export interface ListTunnelsRequest {
|
|
246
246
|
/**
|
|
247
|
-
* @public
|
|
248
247
|
* <p>The name of the IoT thing associated with the destination device.</p>
|
|
248
|
+
* @public
|
|
249
249
|
*/
|
|
250
250
|
thingName?: string;
|
|
251
251
|
/**
|
|
252
|
-
* @public
|
|
253
252
|
* <p>The maximum number of results to return at once.</p>
|
|
253
|
+
* @public
|
|
254
254
|
*/
|
|
255
255
|
maxResults?: number;
|
|
256
256
|
/**
|
|
257
|
-
* @public
|
|
258
257
|
* <p>To retrieve the next set of results, the nextToken value from a previous response;
|
|
259
258
|
* otherwise null to receive the first set of results.</p>
|
|
259
|
+
* @public
|
|
260
260
|
*/
|
|
261
261
|
nextToken?: string;
|
|
262
262
|
}
|
|
263
263
|
/**
|
|
264
|
-
* @public
|
|
265
264
|
* <p>Information about the tunnel.</p>
|
|
265
|
+
* @public
|
|
266
266
|
*/
|
|
267
267
|
export interface TunnelSummary {
|
|
268
268
|
/**
|
|
269
|
-
* @public
|
|
270
269
|
* <p>The unique alpha-numeric identifier for the tunnel.</p>
|
|
270
|
+
* @public
|
|
271
271
|
*/
|
|
272
272
|
tunnelId?: string;
|
|
273
273
|
/**
|
|
274
|
-
* @public
|
|
275
274
|
* <p>The Amazon Resource Name of the tunnel. </p>
|
|
275
|
+
* @public
|
|
276
276
|
*/
|
|
277
277
|
tunnelArn?: string;
|
|
278
278
|
/**
|
|
279
|
-
* @public
|
|
280
279
|
* <p>The status of a tunnel. Valid values are: Open and Closed.</p>
|
|
280
|
+
* @public
|
|
281
281
|
*/
|
|
282
282
|
status?: TunnelStatus;
|
|
283
283
|
/**
|
|
284
|
-
* @public
|
|
285
284
|
* <p>A description of the tunnel.</p>
|
|
285
|
+
* @public
|
|
286
286
|
*/
|
|
287
287
|
description?: string;
|
|
288
288
|
/**
|
|
289
|
-
* @public
|
|
290
289
|
* <p>The time the tunnel was created.</p>
|
|
290
|
+
* @public
|
|
291
291
|
*/
|
|
292
292
|
createdAt?: Date;
|
|
293
293
|
/**
|
|
294
|
-
* @public
|
|
295
294
|
* <p>The time the tunnel was last updated.</p>
|
|
295
|
+
* @public
|
|
296
296
|
*/
|
|
297
297
|
lastUpdatedAt?: Date;
|
|
298
298
|
}
|
|
@@ -301,20 +301,20 @@ export interface TunnelSummary {
|
|
|
301
301
|
*/
|
|
302
302
|
export interface ListTunnelsResponse {
|
|
303
303
|
/**
|
|
304
|
-
* @public
|
|
305
304
|
* <p>A short description of the tunnels in an Amazon Web Services account.</p>
|
|
305
|
+
* @public
|
|
306
306
|
*/
|
|
307
307
|
tunnelSummaries?: TunnelSummary[];
|
|
308
308
|
/**
|
|
309
|
-
* @public
|
|
310
309
|
* <p>The token to use to get the next set of results, or null if there are no additional
|
|
311
310
|
* results.</p>
|
|
311
|
+
* @public
|
|
312
312
|
*/
|
|
313
313
|
nextToken?: string;
|
|
314
314
|
}
|
|
315
315
|
/**
|
|
316
|
-
* @public
|
|
317
316
|
* <p>Thrown when a tunnel limit is exceeded.</p>
|
|
317
|
+
* @public
|
|
318
318
|
*/
|
|
319
319
|
export declare class LimitExceededException extends __BaseException {
|
|
320
320
|
readonly name: "LimitExceededException";
|
|
@@ -329,23 +329,23 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
329
329
|
*/
|
|
330
330
|
export interface OpenTunnelRequest {
|
|
331
331
|
/**
|
|
332
|
-
* @public
|
|
333
332
|
* <p>A short text description of the tunnel. </p>
|
|
333
|
+
* @public
|
|
334
334
|
*/
|
|
335
335
|
description?: string;
|
|
336
336
|
/**
|
|
337
|
-
* @public
|
|
338
337
|
* <p>A collection of tag metadata.</p>
|
|
338
|
+
* @public
|
|
339
339
|
*/
|
|
340
340
|
tags?: Tag[];
|
|
341
341
|
/**
|
|
342
|
-
* @public
|
|
343
342
|
* <p>The destination configuration for the OpenTunnel request.</p>
|
|
343
|
+
* @public
|
|
344
344
|
*/
|
|
345
345
|
destinationConfig?: DestinationConfig;
|
|
346
346
|
/**
|
|
347
|
-
* @public
|
|
348
347
|
* <p>Timeout configuration for a tunnel.</p>
|
|
348
|
+
* @public
|
|
349
349
|
*/
|
|
350
350
|
timeoutConfig?: TimeoutConfig;
|
|
351
351
|
}
|
|
@@ -354,25 +354,25 @@ export interface OpenTunnelRequest {
|
|
|
354
354
|
*/
|
|
355
355
|
export interface OpenTunnelResponse {
|
|
356
356
|
/**
|
|
357
|
-
* @public
|
|
358
357
|
* <p>A unique alpha-numeric tunnel ID.</p>
|
|
358
|
+
* @public
|
|
359
359
|
*/
|
|
360
360
|
tunnelId?: string;
|
|
361
361
|
/**
|
|
362
|
-
* @public
|
|
363
362
|
* <p>The Amazon Resource Name for the tunnel.</p>
|
|
363
|
+
* @public
|
|
364
364
|
*/
|
|
365
365
|
tunnelArn?: string;
|
|
366
366
|
/**
|
|
367
|
-
* @public
|
|
368
367
|
* <p>The access token the source local proxy uses to connect to IoT Secure
|
|
369
368
|
* Tunneling.</p>
|
|
369
|
+
* @public
|
|
370
370
|
*/
|
|
371
371
|
sourceAccessToken?: string;
|
|
372
372
|
/**
|
|
373
|
-
* @public
|
|
374
373
|
* <p>The access token the destination local proxy uses to connect to IoT Secure
|
|
375
374
|
* Tunneling.</p>
|
|
375
|
+
* @public
|
|
376
376
|
*/
|
|
377
377
|
destinationAccessToken?: string;
|
|
378
378
|
}
|
|
@@ -381,19 +381,19 @@ export interface OpenTunnelResponse {
|
|
|
381
381
|
*/
|
|
382
382
|
export interface RotateTunnelAccessTokenRequest {
|
|
383
383
|
/**
|
|
384
|
-
* @public
|
|
385
384
|
* <p>The tunnel for which you want to rotate the access tokens.</p>
|
|
385
|
+
* @public
|
|
386
386
|
*/
|
|
387
387
|
tunnelId: string | undefined;
|
|
388
388
|
/**
|
|
389
|
-
* @public
|
|
390
389
|
* <p>The mode of the client that will use the client token, which can be either the source
|
|
391
390
|
* or destination, or both source and destination.</p>
|
|
391
|
+
* @public
|
|
392
392
|
*/
|
|
393
393
|
clientMode: ClientMode | undefined;
|
|
394
394
|
/**
|
|
395
|
-
* @public
|
|
396
395
|
* <p>The destination configuration.</p>
|
|
396
|
+
* @public
|
|
397
397
|
*/
|
|
398
398
|
destinationConfig?: DestinationConfig;
|
|
399
399
|
}
|
|
@@ -402,20 +402,20 @@ export interface RotateTunnelAccessTokenRequest {
|
|
|
402
402
|
*/
|
|
403
403
|
export interface RotateTunnelAccessTokenResponse {
|
|
404
404
|
/**
|
|
405
|
-
* @public
|
|
406
405
|
* <p>The Amazon Resource Name for the tunnel.</p>
|
|
406
|
+
* @public
|
|
407
407
|
*/
|
|
408
408
|
tunnelArn?: string;
|
|
409
409
|
/**
|
|
410
|
-
* @public
|
|
411
410
|
* <p>The client access token that the source local proxy uses to connect to IoT Secure
|
|
412
411
|
* Tunneling.</p>
|
|
412
|
+
* @public
|
|
413
413
|
*/
|
|
414
414
|
sourceAccessToken?: string;
|
|
415
415
|
/**
|
|
416
|
-
* @public
|
|
417
416
|
* <p>The client access token that the destination local proxy uses to connect to IoT
|
|
418
417
|
* Secure Tunneling.</p>
|
|
418
|
+
* @public
|
|
419
419
|
*/
|
|
420
420
|
destinationAccessToken?: string;
|
|
421
421
|
}
|
|
@@ -424,13 +424,13 @@ export interface RotateTunnelAccessTokenResponse {
|
|
|
424
424
|
*/
|
|
425
425
|
export interface TagResourceRequest {
|
|
426
426
|
/**
|
|
427
|
-
* @public
|
|
428
427
|
* <p>The ARN of the resource.</p>
|
|
428
|
+
* @public
|
|
429
429
|
*/
|
|
430
430
|
resourceArn: string | undefined;
|
|
431
431
|
/**
|
|
432
|
-
* @public
|
|
433
432
|
* <p>The tags for the resource.</p>
|
|
433
|
+
* @public
|
|
434
434
|
*/
|
|
435
435
|
tags: Tag[] | undefined;
|
|
436
436
|
}
|
|
@@ -444,13 +444,13 @@ export interface TagResourceResponse {
|
|
|
444
444
|
*/
|
|
445
445
|
export interface UntagResourceRequest {
|
|
446
446
|
/**
|
|
447
|
-
* @public
|
|
448
447
|
* <p>The resource ARN.</p>
|
|
448
|
+
* @public
|
|
449
449
|
*/
|
|
450
450
|
resourceArn: string | undefined;
|
|
451
451
|
/**
|
|
452
|
-
* @public
|
|
453
452
|
* <p>The keys of the tags to remove.</p>
|
|
453
|
+
* @public
|
|
454
454
|
*/
|
|
455
455
|
tagKeys: string[] | undefined;
|
|
456
456
|
}
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: IoTSecureTunnelingClientConfig)
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: IoTSecureTunnelingClientConfig)
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: IoTSecureTunnelingClientConfig)
|
|
|
11
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
-
base64Encoder:
|
|
14
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
15
15
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
-
utf8Encoder:
|
|
16
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
18
|
serviceId: string;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -5,7 +5,7 @@ import { IoTSecureTunnelingClientConfig } from "./IoTSecureTunnelingClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: IoTSecureTunnelingClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder:
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: IoTSecureTunnelingClientConfig)
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder:
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
21
|
};
|
|
@@ -72,6 +72,7 @@ export interface IoTSecureTunneling {
|
|
|
72
72
|
options: __HttpHandlerOptions,
|
|
73
73
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
74
74
|
): void;
|
|
75
|
+
listTunnels(): Promise<ListTunnelsCommandOutput>;
|
|
75
76
|
listTunnels(
|
|
76
77
|
args: ListTunnelsCommandInput,
|
|
77
78
|
options?: __HttpHandlerOptions
|
|
@@ -85,6 +86,7 @@ export interface IoTSecureTunneling {
|
|
|
85
86
|
options: __HttpHandlerOptions,
|
|
86
87
|
cb: (err: any, data?: ListTunnelsCommandOutput) => void
|
|
87
88
|
): void;
|
|
89
|
+
openTunnel(): Promise<OpenTunnelCommandOutput>;
|
|
88
90
|
openTunnel(
|
|
89
91
|
args: OpenTunnelCommandInput,
|
|
90
92
|
options?: __HttpHandlerOptions
|
|
@@ -21,6 +21,15 @@ declare const CloseTunnelCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
__0_0: CloseTunnelCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
CloseTunnelCommandInput,
|
|
28
|
+
CloseTunnelCommandOutput,
|
|
29
|
+
IoTSecureTunnelingClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class CloseTunnelCommand extends CloseTunnelCommand_base {}
|
|
@@ -24,6 +24,15 @@ declare const DescribeTunnelCommand_base: {
|
|
|
24
24
|
ServiceInputTypes,
|
|
25
25
|
ServiceOutputTypes
|
|
26
26
|
>;
|
|
27
|
+
new (
|
|
28
|
+
__0_0: DescribeTunnelCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
DescribeTunnelCommandInput,
|
|
31
|
+
DescribeTunnelCommandOutput,
|
|
32
|
+
IoTSecureTunnelingClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
27
36
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
37
|
};
|
|
29
38
|
export declare class DescribeTunnelCommand extends DescribeTunnelCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: ListTagsForResourceCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListTagsForResourceCommandInput,
|
|
32
|
+
ListTagsForResourceCommandOutput,
|
|
33
|
+
IoTSecureTunnelingClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {}
|
|
@@ -21,6 +21,15 @@ declare const ListTunnelsCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
...[input]: [] | [ListTunnelsCommandInput]
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
ListTunnelsCommandInput,
|
|
28
|
+
ListTunnelsCommandOutput,
|
|
29
|
+
IoTSecureTunnelingClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class ListTunnelsCommand extends ListTunnelsCommand_base {}
|
|
@@ -21,6 +21,15 @@ declare const OpenTunnelCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
...[input]: [] | [OpenTunnelCommandInput]
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
OpenTunnelCommandInput,
|
|
28
|
+
OpenTunnelCommandOutput,
|
|
29
|
+
IoTSecureTunnelingClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class OpenTunnelCommand extends OpenTunnelCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const RotateTunnelAccessTokenCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: RotateTunnelAccessTokenCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
RotateTunnelAccessTokenCommandInput,
|
|
32
|
+
RotateTunnelAccessTokenCommandOutput,
|
|
33
|
+
IoTSecureTunnelingClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class RotateTunnelAccessTokenCommand extends RotateTunnelAccessTokenCommand_base {}
|
|
@@ -21,6 +21,15 @@ declare const TagResourceCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
__0_0: TagResourceCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
TagResourceCommandInput,
|
|
28
|
+
TagResourceCommandOutput,
|
|
29
|
+
IoTSecureTunnelingClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class TagResourceCommand extends TagResourceCommand_base {}
|
|
@@ -24,6 +24,15 @@ declare const UntagResourceCommand_base: {
|
|
|
24
24
|
ServiceInputTypes,
|
|
25
25
|
ServiceOutputTypes
|
|
26
26
|
>;
|
|
27
|
+
new (
|
|
28
|
+
__0_0: UntagResourceCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
UntagResourceCommandInput,
|
|
31
|
+
UntagResourceCommandOutput,
|
|
32
|
+
IoTSecureTunnelingClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
27
36
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
37
|
};
|
|
29
38
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {}
|
|
@@ -27,9 +27,9 @@ export declare const getRuntimeConfig: (
|
|
|
27
27
|
apiVersion: string;
|
|
28
28
|
urlParser: import("@smithy/types").UrlParser;
|
|
29
29
|
base64Decoder: import("@smithy/types").Decoder;
|
|
30
|
-
base64Encoder:
|
|
30
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
31
31
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
32
|
-
utf8Encoder:
|
|
32
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
33
33
|
disableHostPrefix: boolean;
|
|
34
34
|
serviceId: string;
|
|
35
35
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,9 +31,9 @@ export declare const getRuntimeConfig: (
|
|
|
31
31
|
apiVersion: string;
|
|
32
32
|
urlParser: import("@smithy/types").UrlParser;
|
|
33
33
|
base64Decoder: import("@smithy/types").Decoder;
|
|
34
|
-
base64Encoder:
|
|
34
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
35
35
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
36
|
-
utf8Encoder:
|
|
36
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
37
37
|
disableHostPrefix: boolean;
|
|
38
38
|
serviceId: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
@@ -15,9 +15,9 @@ export declare const getRuntimeConfig: (
|
|
|
15
15
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
16
16
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
17
|
base64Decoder: import("@smithy/types").Decoder;
|
|
18
|
-
base64Encoder:
|
|
18
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder:
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
22
|
serviceId: string;
|
|
23
23
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -4,7 +4,7 @@ export declare const getRuntimeConfig: (
|
|
|
4
4
|
) => {
|
|
5
5
|
apiVersion: string;
|
|
6
6
|
base64Decoder: import("@smithy/types").Decoder;
|
|
7
|
-
base64Encoder:
|
|
7
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
8
8
|
disableHostPrefix: boolean;
|
|
9
9
|
endpointProvider: (
|
|
10
10
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -19,5 +19,5 @@ export declare const getRuntimeConfig: (
|
|
|
19
19
|
serviceId: string;
|
|
20
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
21
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
22
|
-
utf8Encoder:
|
|
22
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
23
23
|
};
|
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.535.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iotsecuretunneling",
|
|
@@ -20,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.
|
|
36
|
-
"@smithy/core": "^1.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.
|
|
38
|
-
"@smithy/hash-node": "^2.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
43
|
-
"@smithy/middleware-serde": "^2.
|
|
44
|
-
"@smithy/middleware-stack": "^2.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.
|
|
51
|
-
"@smithy/util-base64": "^2.
|
|
52
|
-
"@smithy/util-body-length-browser": "^2.
|
|
53
|
-
"@smithy/util-body-length-node": "^2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.
|
|
57
|
-
"@smithy/util-middleware": "^2.
|
|
58
|
-
"@smithy/util-retry": "^2.
|
|
59
|
-
"@smithy/util-utf8": "^2.
|
|
60
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.535.0",
|
|
24
|
+
"@aws-sdk/core": "3.535.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.535.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.535.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
|
+
"@aws-sdk/types": "3.535.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.535.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
+
"@smithy/core": "^1.4.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
|
+
"@smithy/hash-node": "^2.2.0",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
+
"@smithy/middleware-retry": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-serde": "^2.3.0",
|
|
44
|
+
"@smithy/middleware-stack": "^2.2.0",
|
|
45
|
+
"@smithy/node-config-provider": "^2.3.0",
|
|
46
|
+
"@smithy/node-http-handler": "^2.5.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.3.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.5.0",
|
|
49
|
+
"@smithy/types": "^2.12.0",
|
|
50
|
+
"@smithy/url-parser": "^2.2.0",
|
|
51
|
+
"@smithy/util-base64": "^2.3.0",
|
|
52
|
+
"@smithy/util-body-length-browser": "^2.2.0",
|
|
53
|
+
"@smithy/util-body-length-node": "^2.3.0",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.3.0",
|
|
56
|
+
"@smithy/util-endpoints": "^1.2.0",
|
|
57
|
+
"@smithy/util-middleware": "^2.2.0",
|
|
58
|
+
"@smithy/util-retry": "^2.2.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.3.0",
|
|
60
|
+
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
63
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/node": "^14.14.31",
|
|
66
66
|
"concurrently": "7.0.0",
|