@aws-sdk/client-iotsecuretunneling 3.687.0 → 3.692.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.
@@ -27,7 +27,7 @@ export interface CloseTunnelRequest {
27
27
  * immediately.</p>
28
28
  * @public
29
29
  */
30
- delete?: boolean;
30
+ delete?: boolean | undefined;
31
31
  }
32
32
  /**
33
33
  * @public
@@ -68,12 +68,12 @@ export interface ConnectionState {
68
68
  * <code>DISCONNECTED</code>.</p>
69
69
  * @public
70
70
  */
71
- status?: ConnectionStatus;
71
+ status?: ConnectionStatus | undefined;
72
72
  /**
73
73
  * <p>The last time the connection status was updated.</p>
74
74
  * @public
75
75
  */
76
- lastUpdatedAt?: Date;
76
+ lastUpdatedAt?: Date | undefined;
77
77
  }
78
78
  /**
79
79
  * @public
@@ -94,7 +94,7 @@ export interface DestinationConfig {
94
94
  * <p>The name of the IoT thing to which you want to connect.</p>
95
95
  * @public
96
96
  */
97
- thingName?: string;
97
+ thingName?: string | undefined;
98
98
  /**
99
99
  * <p>A list of service names that identify the target application. The IoT client
100
100
  * running on the destination device reads this value and uses it to look up a port or an
@@ -144,7 +144,7 @@ export interface TimeoutConfig {
144
144
  * hours (720 minutes) </p>
145
145
  * @public
146
146
  */
147
- maxLifetimeTimeoutMinutes?: number;
147
+ maxLifetimeTimeoutMinutes?: number | undefined;
148
148
  }
149
149
  /**
150
150
  * <p>A connection between a source computer and a destination device.</p>
@@ -155,59 +155,59 @@ export interface Tunnel {
155
155
  * <p>A unique alpha-numeric ID that identifies a tunnel.</p>
156
156
  * @public
157
157
  */
158
- tunnelId?: string;
158
+ tunnelId?: string | undefined;
159
159
  /**
160
160
  * <p>The Amazon Resource Name (ARN) of a tunnel.</p>
161
161
  * @public
162
162
  */
163
- tunnelArn?: string;
163
+ tunnelArn?: string | undefined;
164
164
  /**
165
165
  * <p>The status of a tunnel. Valid values are: Open and Closed.</p>
166
166
  * @public
167
167
  */
168
- status?: TunnelStatus;
168
+ status?: TunnelStatus | undefined;
169
169
  /**
170
170
  * <p>The connection state of the source application.</p>
171
171
  * @public
172
172
  */
173
- sourceConnectionState?: ConnectionState;
173
+ sourceConnectionState?: ConnectionState | undefined;
174
174
  /**
175
175
  * <p>The connection state of the destination application.</p>
176
176
  * @public
177
177
  */
178
- destinationConnectionState?: ConnectionState;
178
+ destinationConnectionState?: ConnectionState | undefined;
179
179
  /**
180
180
  * <p>A description of the tunnel.</p>
181
181
  * @public
182
182
  */
183
- description?: string;
183
+ description?: string | undefined;
184
184
  /**
185
185
  * <p>The destination configuration that specifies the thing name of the destination
186
186
  * device and a service name that the local proxy uses to connect to the destination
187
187
  * application.</p>
188
188
  * @public
189
189
  */
190
- destinationConfig?: DestinationConfig;
190
+ destinationConfig?: DestinationConfig | undefined;
191
191
  /**
192
192
  * <p>Timeout configuration for the tunnel.</p>
193
193
  * @public
194
194
  */
195
- timeoutConfig?: TimeoutConfig;
195
+ timeoutConfig?: TimeoutConfig | undefined;
196
196
  /**
197
197
  * <p>A list of tag metadata associated with the secure tunnel.</p>
198
198
  * @public
199
199
  */
200
- tags?: Tag[];
200
+ tags?: Tag[] | undefined;
201
201
  /**
202
202
  * <p>The time when the tunnel was created.</p>
203
203
  * @public
204
204
  */
205
- createdAt?: Date;
205
+ createdAt?: Date | undefined;
206
206
  /**
207
207
  * <p>The last time the tunnel was updated.</p>
208
208
  * @public
209
209
  */
210
- lastUpdatedAt?: Date;
210
+ lastUpdatedAt?: Date | undefined;
211
211
  }
212
212
  /**
213
213
  * @public
@@ -217,7 +217,7 @@ export interface DescribeTunnelResponse {
217
217
  * <p>The tunnel being described.</p>
218
218
  * @public
219
219
  */
220
- tunnel?: Tunnel;
220
+ tunnel?: Tunnel | undefined;
221
221
  }
222
222
  /**
223
223
  * @public
@@ -237,7 +237,7 @@ export interface ListTagsForResourceResponse {
237
237
  * <p>The tags for the specified resource.</p>
238
238
  * @public
239
239
  */
240
- tags?: Tag[];
240
+ tags?: Tag[] | undefined;
241
241
  }
242
242
  /**
243
243
  * @public
@@ -247,18 +247,18 @@ export interface ListTunnelsRequest {
247
247
  * <p>The name of the IoT thing associated with the destination device.</p>
248
248
  * @public
249
249
  */
250
- thingName?: string;
250
+ thingName?: string | undefined;
251
251
  /**
252
252
  * <p>The maximum number of results to return at once.</p>
253
253
  * @public
254
254
  */
255
- maxResults?: number;
255
+ maxResults?: number | undefined;
256
256
  /**
257
257
  * <p>To retrieve the next set of results, the nextToken value from a previous response;
258
258
  * otherwise null to receive the first set of results.</p>
259
259
  * @public
260
260
  */
261
- nextToken?: string;
261
+ nextToken?: string | undefined;
262
262
  }
263
263
  /**
264
264
  * <p>Information about the tunnel.</p>
@@ -269,32 +269,32 @@ export interface TunnelSummary {
269
269
  * <p>The unique alpha-numeric identifier for the tunnel.</p>
270
270
  * @public
271
271
  */
272
- tunnelId?: string;
272
+ tunnelId?: string | undefined;
273
273
  /**
274
274
  * <p>The Amazon Resource Name of the tunnel. </p>
275
275
  * @public
276
276
  */
277
- tunnelArn?: string;
277
+ tunnelArn?: string | undefined;
278
278
  /**
279
279
  * <p>The status of a tunnel. Valid values are: Open and Closed.</p>
280
280
  * @public
281
281
  */
282
- status?: TunnelStatus;
282
+ status?: TunnelStatus | undefined;
283
283
  /**
284
284
  * <p>A description of the tunnel.</p>
285
285
  * @public
286
286
  */
287
- description?: string;
287
+ description?: string | undefined;
288
288
  /**
289
289
  * <p>The time the tunnel was created.</p>
290
290
  * @public
291
291
  */
292
- createdAt?: Date;
292
+ createdAt?: Date | undefined;
293
293
  /**
294
294
  * <p>The time the tunnel was last updated.</p>
295
295
  * @public
296
296
  */
297
- lastUpdatedAt?: Date;
297
+ lastUpdatedAt?: Date | undefined;
298
298
  }
299
299
  /**
300
300
  * @public
@@ -304,13 +304,13 @@ export interface ListTunnelsResponse {
304
304
  * <p>A short description of the tunnels in an Amazon Web Services account.</p>
305
305
  * @public
306
306
  */
307
- tunnelSummaries?: TunnelSummary[];
307
+ tunnelSummaries?: TunnelSummary[] | undefined;
308
308
  /**
309
309
  * <p>The token to use to get the next set of results, or null if there are no additional
310
310
  * results.</p>
311
311
  * @public
312
312
  */
313
- nextToken?: string;
313
+ nextToken?: string | undefined;
314
314
  }
315
315
  /**
316
316
  * <p>Thrown when a tunnel limit is exceeded.</p>
@@ -332,22 +332,22 @@ export interface OpenTunnelRequest {
332
332
  * <p>A short text description of the tunnel. </p>
333
333
  * @public
334
334
  */
335
- description?: string;
335
+ description?: string | undefined;
336
336
  /**
337
337
  * <p>A collection of tag metadata.</p>
338
338
  * @public
339
339
  */
340
- tags?: Tag[];
340
+ tags?: Tag[] | undefined;
341
341
  /**
342
342
  * <p>The destination configuration for the OpenTunnel request.</p>
343
343
  * @public
344
344
  */
345
- destinationConfig?: DestinationConfig;
345
+ destinationConfig?: DestinationConfig | undefined;
346
346
  /**
347
347
  * <p>Timeout configuration for a tunnel.</p>
348
348
  * @public
349
349
  */
350
- timeoutConfig?: TimeoutConfig;
350
+ timeoutConfig?: TimeoutConfig | undefined;
351
351
  }
352
352
  /**
353
353
  * @public
@@ -357,24 +357,24 @@ export interface OpenTunnelResponse {
357
357
  * <p>A unique alpha-numeric tunnel ID.</p>
358
358
  * @public
359
359
  */
360
- tunnelId?: string;
360
+ tunnelId?: string | undefined;
361
361
  /**
362
362
  * <p>The Amazon Resource Name for the tunnel.</p>
363
363
  * @public
364
364
  */
365
- tunnelArn?: string;
365
+ tunnelArn?: string | undefined;
366
366
  /**
367
367
  * <p>The access token the source local proxy uses to connect to IoT Secure
368
368
  * Tunneling.</p>
369
369
  * @public
370
370
  */
371
- sourceAccessToken?: string;
371
+ sourceAccessToken?: string | undefined;
372
372
  /**
373
373
  * <p>The access token the destination local proxy uses to connect to IoT Secure
374
374
  * Tunneling.</p>
375
375
  * @public
376
376
  */
377
- destinationAccessToken?: string;
377
+ destinationAccessToken?: string | undefined;
378
378
  }
379
379
  /**
380
380
  * @public
@@ -395,7 +395,7 @@ export interface RotateTunnelAccessTokenRequest {
395
395
  * <p>The destination configuration.</p>
396
396
  * @public
397
397
  */
398
- destinationConfig?: DestinationConfig;
398
+ destinationConfig?: DestinationConfig | undefined;
399
399
  }
400
400
  /**
401
401
  * @public
@@ -405,19 +405,19 @@ export interface RotateTunnelAccessTokenResponse {
405
405
  * <p>The Amazon Resource Name for the tunnel.</p>
406
406
  * @public
407
407
  */
408
- tunnelArn?: string;
408
+ tunnelArn?: string | undefined;
409
409
  /**
410
410
  * <p>The client access token that the source local proxy uses to connect to IoT Secure
411
411
  * Tunneling.</p>
412
412
  * @public
413
413
  */
414
- sourceAccessToken?: string;
414
+ sourceAccessToken?: string | undefined;
415
415
  /**
416
416
  * <p>The client access token that the destination local proxy uses to connect to IoT
417
417
  * Secure Tunneling.</p>
418
418
  * @public
419
419
  */
420
- destinationAccessToken?: string;
420
+ destinationAccessToken?: string | undefined;
421
421
  }
422
422
  /**
423
423
  * @public
@@ -8,7 +8,7 @@ export declare const ClientMode: {
8
8
  export type ClientMode = (typeof ClientMode)[keyof typeof ClientMode];
9
9
  export interface CloseTunnelRequest {
10
10
  tunnelId: string | undefined;
11
- delete?: boolean;
11
+ delete?: boolean | undefined;
12
12
  }
13
13
  export interface CloseTunnelResponse {}
14
14
  export declare class ResourceNotFoundException extends __BaseException {
@@ -25,14 +25,14 @@ export declare const ConnectionStatus: {
25
25
  export type ConnectionStatus =
26
26
  (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
27
27
  export interface ConnectionState {
28
- status?: ConnectionStatus;
29
- lastUpdatedAt?: Date;
28
+ status?: ConnectionStatus | undefined;
29
+ lastUpdatedAt?: Date | undefined;
30
30
  }
31
31
  export interface DescribeTunnelRequest {
32
32
  tunnelId: string | undefined;
33
33
  }
34
34
  export interface DestinationConfig {
35
- thingName?: string;
35
+ thingName?: string | undefined;
36
36
  services: string[] | undefined;
37
37
  }
38
38
  export declare const TunnelStatus: {
@@ -45,46 +45,46 @@ export interface Tag {
45
45
  value: string | undefined;
46
46
  }
47
47
  export interface TimeoutConfig {
48
- maxLifetimeTimeoutMinutes?: number;
48
+ maxLifetimeTimeoutMinutes?: number | undefined;
49
49
  }
50
50
  export interface Tunnel {
51
- tunnelId?: string;
52
- tunnelArn?: string;
53
- status?: TunnelStatus;
54
- sourceConnectionState?: ConnectionState;
55
- destinationConnectionState?: ConnectionState;
56
- description?: string;
57
- destinationConfig?: DestinationConfig;
58
- timeoutConfig?: TimeoutConfig;
59
- tags?: Tag[];
60
- createdAt?: Date;
61
- lastUpdatedAt?: Date;
51
+ tunnelId?: string | undefined;
52
+ tunnelArn?: string | undefined;
53
+ status?: TunnelStatus | undefined;
54
+ sourceConnectionState?: ConnectionState | undefined;
55
+ destinationConnectionState?: ConnectionState | undefined;
56
+ description?: string | undefined;
57
+ destinationConfig?: DestinationConfig | undefined;
58
+ timeoutConfig?: TimeoutConfig | undefined;
59
+ tags?: Tag[] | undefined;
60
+ createdAt?: Date | undefined;
61
+ lastUpdatedAt?: Date | undefined;
62
62
  }
63
63
  export interface DescribeTunnelResponse {
64
- tunnel?: Tunnel;
64
+ tunnel?: Tunnel | undefined;
65
65
  }
66
66
  export interface ListTagsForResourceRequest {
67
67
  resourceArn: string | undefined;
68
68
  }
69
69
  export interface ListTagsForResourceResponse {
70
- tags?: Tag[];
70
+ tags?: Tag[] | undefined;
71
71
  }
72
72
  export interface ListTunnelsRequest {
73
- thingName?: string;
74
- maxResults?: number;
75
- nextToken?: string;
73
+ thingName?: string | undefined;
74
+ maxResults?: number | undefined;
75
+ nextToken?: string | undefined;
76
76
  }
77
77
  export interface TunnelSummary {
78
- tunnelId?: string;
79
- tunnelArn?: string;
80
- status?: TunnelStatus;
81
- description?: string;
82
- createdAt?: Date;
83
- lastUpdatedAt?: Date;
78
+ tunnelId?: string | undefined;
79
+ tunnelArn?: string | undefined;
80
+ status?: TunnelStatus | undefined;
81
+ description?: string | undefined;
82
+ createdAt?: Date | undefined;
83
+ lastUpdatedAt?: Date | undefined;
84
84
  }
85
85
  export interface ListTunnelsResponse {
86
- tunnelSummaries?: TunnelSummary[];
87
- nextToken?: string;
86
+ tunnelSummaries?: TunnelSummary[] | undefined;
87
+ nextToken?: string | undefined;
88
88
  }
89
89
  export declare class LimitExceededException extends __BaseException {
90
90
  readonly name: "LimitExceededException";
@@ -94,26 +94,26 @@ export declare class LimitExceededException extends __BaseException {
94
94
  );
95
95
  }
96
96
  export interface OpenTunnelRequest {
97
- description?: string;
98
- tags?: Tag[];
99
- destinationConfig?: DestinationConfig;
100
- timeoutConfig?: TimeoutConfig;
97
+ description?: string | undefined;
98
+ tags?: Tag[] | undefined;
99
+ destinationConfig?: DestinationConfig | undefined;
100
+ timeoutConfig?: TimeoutConfig | undefined;
101
101
  }
102
102
  export interface OpenTunnelResponse {
103
- tunnelId?: string;
104
- tunnelArn?: string;
105
- sourceAccessToken?: string;
106
- destinationAccessToken?: string;
103
+ tunnelId?: string | undefined;
104
+ tunnelArn?: string | undefined;
105
+ sourceAccessToken?: string | undefined;
106
+ destinationAccessToken?: string | undefined;
107
107
  }
108
108
  export interface RotateTunnelAccessTokenRequest {
109
109
  tunnelId: string | undefined;
110
110
  clientMode: ClientMode | undefined;
111
- destinationConfig?: DestinationConfig;
111
+ destinationConfig?: DestinationConfig | undefined;
112
112
  }
113
113
  export interface RotateTunnelAccessTokenResponse {
114
- tunnelArn?: string;
115
- sourceAccessToken?: string;
116
- destinationAccessToken?: string;
114
+ tunnelArn?: string | undefined;
115
+ sourceAccessToken?: string | undefined;
116
+ destinationAccessToken?: string | undefined;
117
117
  }
118
118
  export interface TagResourceRequest {
119
119
  resourceArn: string | undefined;
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.687.0",
4
+ "version": "3.692.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,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/middleware-host-header": "3.686.0",
28
- "@aws-sdk/middleware-logger": "3.686.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
- "@aws-sdk/region-config-resolver": "3.686.0",
32
- "@aws-sdk/types": "3.686.0",
33
- "@aws-sdk/util-endpoints": "3.686.0",
34
- "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
- "@smithy/config-resolver": "^3.0.10",
37
- "@smithy/core": "^2.5.1",
38
- "@smithy/fetch-http-handler": "^4.0.0",
39
- "@smithy/hash-node": "^3.0.8",
40
- "@smithy/invalid-dependency": "^3.0.8",
41
- "@smithy/middleware-content-length": "^3.0.10",
42
- "@smithy/middleware-endpoint": "^3.2.1",
43
- "@smithy/middleware-retry": "^3.0.25",
44
- "@smithy/middleware-serde": "^3.0.8",
45
- "@smithy/middleware-stack": "^3.0.8",
46
- "@smithy/node-config-provider": "^3.1.9",
47
- "@smithy/node-http-handler": "^3.2.5",
48
- "@smithy/protocol-http": "^4.1.5",
49
- "@smithy/smithy-client": "^3.4.2",
50
- "@smithy/types": "^3.6.0",
51
- "@smithy/url-parser": "^3.0.8",
23
+ "@aws-sdk/client-sso-oidc": "3.692.0",
24
+ "@aws-sdk/client-sts": "3.692.0",
25
+ "@aws-sdk/core": "3.692.0",
26
+ "@aws-sdk/credential-provider-node": "3.692.0",
27
+ "@aws-sdk/middleware-host-header": "3.692.0",
28
+ "@aws-sdk/middleware-logger": "3.692.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
+ "@aws-sdk/middleware-user-agent": "3.692.0",
31
+ "@aws-sdk/region-config-resolver": "3.692.0",
32
+ "@aws-sdk/types": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.692.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
35
+ "@aws-sdk/util-user-agent-node": "3.692.0",
36
+ "@smithy/config-resolver": "^3.0.11",
37
+ "@smithy/core": "^2.5.2",
38
+ "@smithy/fetch-http-handler": "^4.1.0",
39
+ "@smithy/hash-node": "^3.0.9",
40
+ "@smithy/invalid-dependency": "^3.0.9",
41
+ "@smithy/middleware-content-length": "^3.0.11",
42
+ "@smithy/middleware-endpoint": "^3.2.2",
43
+ "@smithy/middleware-retry": "^3.0.26",
44
+ "@smithy/middleware-serde": "^3.0.9",
45
+ "@smithy/middleware-stack": "^3.0.9",
46
+ "@smithy/node-config-provider": "^3.1.10",
47
+ "@smithy/node-http-handler": "^3.3.0",
48
+ "@smithy/protocol-http": "^4.1.6",
49
+ "@smithy/smithy-client": "^3.4.3",
50
+ "@smithy/types": "^3.7.0",
51
+ "@smithy/url-parser": "^3.0.9",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.25",
56
- "@smithy/util-defaults-mode-node": "^3.0.25",
57
- "@smithy/util-endpoints": "^2.1.4",
58
- "@smithy/util-middleware": "^3.0.8",
59
- "@smithy/util-retry": "^3.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
56
+ "@smithy/util-defaults-mode-node": "^3.0.26",
57
+ "@smithy/util-endpoints": "^2.1.5",
58
+ "@smithy/util-middleware": "^3.0.9",
59
+ "@smithy/util-retry": "^3.0.9",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },