@aws-sdk/client-iotsecuretunneling 3.1137.0 → 3.1138.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/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -246,10 +246,10 @@ const _tS = "tunnelSummaries";
|
|
|
246
246
|
const _ta = "tags";
|
|
247
247
|
const _v = "value";
|
|
248
248
|
const n0 = "com.amazonaws.iotsecuretunneling";
|
|
249
|
-
const _s_registry = TypeRegistry
|
|
249
|
+
const _s_registry = new TypeRegistry(_s);
|
|
250
250
|
var IoTSecureTunnelingServiceException$ = [-3, _s, "IoTSecureTunnelingServiceException", 0, [], []];
|
|
251
251
|
_s_registry.registerError(IoTSecureTunnelingServiceException$, IoTSecureTunnelingServiceException);
|
|
252
|
-
const n0_registry = TypeRegistry
|
|
252
|
+
const n0_registry = new TypeRegistry(n0);
|
|
253
253
|
var LimitExceededException$ = [-3, n0, _LEE,
|
|
254
254
|
{ [_aQE]: [`LimitExceededException`, 403], [_e]: _c, [_hE]: 403 },
|
|
255
255
|
[_m],
|
|
@@ -71,10 +71,10 @@ const n0 = "com.amazonaws.iotsecuretunneling";
|
|
|
71
71
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
72
72
|
import { LimitExceededException, ResourceNotFoundException } from "../models/errors";
|
|
73
73
|
import { IoTSecureTunnelingServiceException } from "../models/IoTSecureTunnelingServiceException";
|
|
74
|
-
const _s_registry = TypeRegistry
|
|
74
|
+
const _s_registry = new TypeRegistry(_s);
|
|
75
75
|
export var IoTSecureTunnelingServiceException$ = [-3, _s, "IoTSecureTunnelingServiceException", 0, [], []];
|
|
76
76
|
_s_registry.registerError(IoTSecureTunnelingServiceException$, IoTSecureTunnelingServiceException);
|
|
77
|
-
const n0_registry = TypeRegistry
|
|
77
|
+
const n0_registry = new TypeRegistry(n0);
|
|
78
78
|
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
79
79
|
{ [_aQE]: [`LimitExceededException`, 403], [_e]: _c, [_hE]: 403 },
|
|
80
80
|
[_m],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { type CloseTunnelCommandInput, type CloseTunnelCommandOutput } from "./commands/CloseTunnelCommand";
|
|
3
3
|
import { type DescribeTunnelCommandInput, type DescribeTunnelCommandOutput } from "./commands/DescribeTunnelCommand";
|
|
4
4
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -8,57 +8,63 @@ import { type RotateTunnelAccessTokenCommandInput, type RotateTunnelAccessTokenC
|
|
|
8
8
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
9
9
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
10
10
|
import { IoTSecureTunnelingClient } from "./IoTSecureTunnelingClient";
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export interface IoTSecureTunnelingRequestOptions extends __HttpHandlerOptions {
|
|
15
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
16
|
+
}
|
|
11
17
|
export interface IoTSecureTunneling {
|
|
12
18
|
/**
|
|
13
19
|
* @see {@link CloseTunnelCommand}
|
|
14
20
|
*/
|
|
15
|
-
closeTunnel(args: CloseTunnelCommandInput, options?:
|
|
21
|
+
closeTunnel(args: CloseTunnelCommandInput, options?: IoTSecureTunnelingRequestOptions): Promise<CloseTunnelCommandOutput>;
|
|
16
22
|
closeTunnel(args: CloseTunnelCommandInput, cb: (err: any, data?: CloseTunnelCommandOutput) => void): void;
|
|
17
|
-
closeTunnel(args: CloseTunnelCommandInput, options:
|
|
23
|
+
closeTunnel(args: CloseTunnelCommandInput, options: IoTSecureTunnelingRequestOptions, cb: (err: any, data?: CloseTunnelCommandOutput) => void): void;
|
|
18
24
|
/**
|
|
19
25
|
* @see {@link DescribeTunnelCommand}
|
|
20
26
|
*/
|
|
21
|
-
describeTunnel(args: DescribeTunnelCommandInput, options?:
|
|
27
|
+
describeTunnel(args: DescribeTunnelCommandInput, options?: IoTSecureTunnelingRequestOptions): Promise<DescribeTunnelCommandOutput>;
|
|
22
28
|
describeTunnel(args: DescribeTunnelCommandInput, cb: (err: any, data?: DescribeTunnelCommandOutput) => void): void;
|
|
23
|
-
describeTunnel(args: DescribeTunnelCommandInput, options:
|
|
29
|
+
describeTunnel(args: DescribeTunnelCommandInput, options: IoTSecureTunnelingRequestOptions, cb: (err: any, data?: DescribeTunnelCommandOutput) => void): void;
|
|
24
30
|
/**
|
|
25
31
|
* @see {@link ListTagsForResourceCommand}
|
|
26
32
|
*/
|
|
27
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?:
|
|
33
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: IoTSecureTunnelingRequestOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
28
34
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
29
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options:
|
|
35
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: IoTSecureTunnelingRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
30
36
|
/**
|
|
31
37
|
* @see {@link ListTunnelsCommand}
|
|
32
38
|
*/
|
|
33
39
|
listTunnels(): Promise<ListTunnelsCommandOutput>;
|
|
34
|
-
listTunnels(args: ListTunnelsCommandInput, options?:
|
|
40
|
+
listTunnels(args: ListTunnelsCommandInput, options?: IoTSecureTunnelingRequestOptions): Promise<ListTunnelsCommandOutput>;
|
|
35
41
|
listTunnels(args: ListTunnelsCommandInput, cb: (err: any, data?: ListTunnelsCommandOutput) => void): void;
|
|
36
|
-
listTunnels(args: ListTunnelsCommandInput, options:
|
|
42
|
+
listTunnels(args: ListTunnelsCommandInput, options: IoTSecureTunnelingRequestOptions, cb: (err: any, data?: ListTunnelsCommandOutput) => void): void;
|
|
37
43
|
/**
|
|
38
44
|
* @see {@link OpenTunnelCommand}
|
|
39
45
|
*/
|
|
40
46
|
openTunnel(): Promise<OpenTunnelCommandOutput>;
|
|
41
|
-
openTunnel(args: OpenTunnelCommandInput, options?:
|
|
47
|
+
openTunnel(args: OpenTunnelCommandInput, options?: IoTSecureTunnelingRequestOptions): Promise<OpenTunnelCommandOutput>;
|
|
42
48
|
openTunnel(args: OpenTunnelCommandInput, cb: (err: any, data?: OpenTunnelCommandOutput) => void): void;
|
|
43
|
-
openTunnel(args: OpenTunnelCommandInput, options:
|
|
49
|
+
openTunnel(args: OpenTunnelCommandInput, options: IoTSecureTunnelingRequestOptions, cb: (err: any, data?: OpenTunnelCommandOutput) => void): void;
|
|
44
50
|
/**
|
|
45
51
|
* @see {@link RotateTunnelAccessTokenCommand}
|
|
46
52
|
*/
|
|
47
|
-
rotateTunnelAccessToken(args: RotateTunnelAccessTokenCommandInput, options?:
|
|
53
|
+
rotateTunnelAccessToken(args: RotateTunnelAccessTokenCommandInput, options?: IoTSecureTunnelingRequestOptions): Promise<RotateTunnelAccessTokenCommandOutput>;
|
|
48
54
|
rotateTunnelAccessToken(args: RotateTunnelAccessTokenCommandInput, cb: (err: any, data?: RotateTunnelAccessTokenCommandOutput) => void): void;
|
|
49
|
-
rotateTunnelAccessToken(args: RotateTunnelAccessTokenCommandInput, options:
|
|
55
|
+
rotateTunnelAccessToken(args: RotateTunnelAccessTokenCommandInput, options: IoTSecureTunnelingRequestOptions, cb: (err: any, data?: RotateTunnelAccessTokenCommandOutput) => void): void;
|
|
50
56
|
/**
|
|
51
57
|
* @see {@link TagResourceCommand}
|
|
52
58
|
*/
|
|
53
|
-
tagResource(args: TagResourceCommandInput, options?:
|
|
59
|
+
tagResource(args: TagResourceCommandInput, options?: IoTSecureTunnelingRequestOptions): Promise<TagResourceCommandOutput>;
|
|
54
60
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
55
|
-
tagResource(args: TagResourceCommandInput, options:
|
|
61
|
+
tagResource(args: TagResourceCommandInput, options: IoTSecureTunnelingRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
56
62
|
/**
|
|
57
63
|
* @see {@link UntagResourceCommand}
|
|
58
64
|
*/
|
|
59
|
-
untagResource(args: UntagResourceCommandInput, options?:
|
|
65
|
+
untagResource(args: UntagResourceCommandInput, options?: IoTSecureTunnelingRequestOptions): Promise<UntagResourceCommandOutput>;
|
|
60
66
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
61
|
-
untagResource(args: UntagResourceCommandInput, options:
|
|
67
|
+
untagResource(args: UntagResourceCommandInput, options: IoTSecureTunnelingRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
62
68
|
/**
|
|
63
69
|
* @see {@link ListTunnelsCommand}
|
|
64
70
|
* @param args - command input.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -24,10 +25,13 @@ import {
|
|
|
24
25
|
UntagResourceCommandOutput,
|
|
25
26
|
} from "./commands/UntagResourceCommand";
|
|
26
27
|
import { IoTSecureTunnelingClient } from "./IoTSecureTunnelingClient";
|
|
28
|
+
export interface IoTSecureTunnelingRequestOptions extends __HttpHandlerOptions {
|
|
29
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
30
|
+
}
|
|
27
31
|
export interface IoTSecureTunneling {
|
|
28
32
|
closeTunnel(
|
|
29
33
|
args: CloseTunnelCommandInput,
|
|
30
|
-
options?:
|
|
34
|
+
options?: IoTSecureTunnelingRequestOptions,
|
|
31
35
|
): Promise<CloseTunnelCommandOutput>;
|
|
32
36
|
closeTunnel(
|
|
33
37
|
args: CloseTunnelCommandInput,
|
|
@@ -35,12 +39,12 @@ export interface IoTSecureTunneling {
|
|
|
35
39
|
): void;
|
|
36
40
|
closeTunnel(
|
|
37
41
|
args: CloseTunnelCommandInput,
|
|
38
|
-
options:
|
|
42
|
+
options: IoTSecureTunnelingRequestOptions,
|
|
39
43
|
cb: (err: any, data?: CloseTunnelCommandOutput) => void,
|
|
40
44
|
): void;
|
|
41
45
|
describeTunnel(
|
|
42
46
|
args: DescribeTunnelCommandInput,
|
|
43
|
-
options?:
|
|
47
|
+
options?: IoTSecureTunnelingRequestOptions,
|
|
44
48
|
): Promise<DescribeTunnelCommandOutput>;
|
|
45
49
|
describeTunnel(
|
|
46
50
|
args: DescribeTunnelCommandInput,
|
|
@@ -48,12 +52,12 @@ export interface IoTSecureTunneling {
|
|
|
48
52
|
): void;
|
|
49
53
|
describeTunnel(
|
|
50
54
|
args: DescribeTunnelCommandInput,
|
|
51
|
-
options:
|
|
55
|
+
options: IoTSecureTunnelingRequestOptions,
|
|
52
56
|
cb: (err: any, data?: DescribeTunnelCommandOutput) => void,
|
|
53
57
|
): void;
|
|
54
58
|
listTagsForResource(
|
|
55
59
|
args: ListTagsForResourceCommandInput,
|
|
56
|
-
options?:
|
|
60
|
+
options?: IoTSecureTunnelingRequestOptions,
|
|
57
61
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
58
62
|
listTagsForResource(
|
|
59
63
|
args: ListTagsForResourceCommandInput,
|
|
@@ -61,13 +65,13 @@ export interface IoTSecureTunneling {
|
|
|
61
65
|
): void;
|
|
62
66
|
listTagsForResource(
|
|
63
67
|
args: ListTagsForResourceCommandInput,
|
|
64
|
-
options:
|
|
68
|
+
options: IoTSecureTunnelingRequestOptions,
|
|
65
69
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
66
70
|
): void;
|
|
67
71
|
listTunnels(): Promise<ListTunnelsCommandOutput>;
|
|
68
72
|
listTunnels(
|
|
69
73
|
args: ListTunnelsCommandInput,
|
|
70
|
-
options?:
|
|
74
|
+
options?: IoTSecureTunnelingRequestOptions,
|
|
71
75
|
): Promise<ListTunnelsCommandOutput>;
|
|
72
76
|
listTunnels(
|
|
73
77
|
args: ListTunnelsCommandInput,
|
|
@@ -75,13 +79,13 @@ export interface IoTSecureTunneling {
|
|
|
75
79
|
): void;
|
|
76
80
|
listTunnels(
|
|
77
81
|
args: ListTunnelsCommandInput,
|
|
78
|
-
options:
|
|
82
|
+
options: IoTSecureTunnelingRequestOptions,
|
|
79
83
|
cb: (err: any, data?: ListTunnelsCommandOutput) => void,
|
|
80
84
|
): void;
|
|
81
85
|
openTunnel(): Promise<OpenTunnelCommandOutput>;
|
|
82
86
|
openTunnel(
|
|
83
87
|
args: OpenTunnelCommandInput,
|
|
84
|
-
options?:
|
|
88
|
+
options?: IoTSecureTunnelingRequestOptions,
|
|
85
89
|
): Promise<OpenTunnelCommandOutput>;
|
|
86
90
|
openTunnel(
|
|
87
91
|
args: OpenTunnelCommandInput,
|
|
@@ -89,12 +93,12 @@ export interface IoTSecureTunneling {
|
|
|
89
93
|
): void;
|
|
90
94
|
openTunnel(
|
|
91
95
|
args: OpenTunnelCommandInput,
|
|
92
|
-
options:
|
|
96
|
+
options: IoTSecureTunnelingRequestOptions,
|
|
93
97
|
cb: (err: any, data?: OpenTunnelCommandOutput) => void,
|
|
94
98
|
): void;
|
|
95
99
|
rotateTunnelAccessToken(
|
|
96
100
|
args: RotateTunnelAccessTokenCommandInput,
|
|
97
|
-
options?:
|
|
101
|
+
options?: IoTSecureTunnelingRequestOptions,
|
|
98
102
|
): Promise<RotateTunnelAccessTokenCommandOutput>;
|
|
99
103
|
rotateTunnelAccessToken(
|
|
100
104
|
args: RotateTunnelAccessTokenCommandInput,
|
|
@@ -102,12 +106,12 @@ export interface IoTSecureTunneling {
|
|
|
102
106
|
): void;
|
|
103
107
|
rotateTunnelAccessToken(
|
|
104
108
|
args: RotateTunnelAccessTokenCommandInput,
|
|
105
|
-
options:
|
|
109
|
+
options: IoTSecureTunnelingRequestOptions,
|
|
106
110
|
cb: (err: any, data?: RotateTunnelAccessTokenCommandOutput) => void,
|
|
107
111
|
): void;
|
|
108
112
|
tagResource(
|
|
109
113
|
args: TagResourceCommandInput,
|
|
110
|
-
options?:
|
|
114
|
+
options?: IoTSecureTunnelingRequestOptions,
|
|
111
115
|
): Promise<TagResourceCommandOutput>;
|
|
112
116
|
tagResource(
|
|
113
117
|
args: TagResourceCommandInput,
|
|
@@ -115,12 +119,12 @@ export interface IoTSecureTunneling {
|
|
|
115
119
|
): void;
|
|
116
120
|
tagResource(
|
|
117
121
|
args: TagResourceCommandInput,
|
|
118
|
-
options:
|
|
122
|
+
options: IoTSecureTunnelingRequestOptions,
|
|
119
123
|
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
120
124
|
): void;
|
|
121
125
|
untagResource(
|
|
122
126
|
args: UntagResourceCommandInput,
|
|
123
|
-
options?:
|
|
127
|
+
options?: IoTSecureTunnelingRequestOptions,
|
|
124
128
|
): Promise<UntagResourceCommandOutput>;
|
|
125
129
|
untagResource(
|
|
126
130
|
args: UntagResourceCommandInput,
|
|
@@ -128,7 +132,7 @@ export interface IoTSecureTunneling {
|
|
|
128
132
|
): void;
|
|
129
133
|
untagResource(
|
|
130
134
|
args: UntagResourceCommandInput,
|
|
131
|
-
options:
|
|
135
|
+
options: IoTSecureTunnelingRequestOptions,
|
|
132
136
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
133
137
|
): void;
|
|
134
138
|
paginateListTunnels(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iotsecuretunneling",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Iotsecuretunneling Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iotsecuretunneling",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|