@aws-sdk/client-iotsecuretunneling 3.301.0 → 3.303.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/models/models_0.js +13 -16
- package/dist-es/models/models_0.js +13 -16
- package/dist-types/models/models_0.d.ts +28 -13
- package/dist-types/ts3.4/models/models_0.d.ts +17 -13
- package/package.json +34 -34
|
@@ -3,12 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RotateTunnelAccessTokenResponseFilterSensitiveLog = exports.OpenTunnelResponseFilterSensitiveLog = exports.LimitExceededException = exports.TunnelStatus = exports.ConnectionStatus = exports.ResourceNotFoundException = exports.ClientMode = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const IoTSecureTunnelingServiceException_1 = require("./IoTSecureTunnelingServiceException");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
})(ClientMode = exports.ClientMode || (exports.ClientMode = {}));
|
|
6
|
+
exports.ClientMode = {
|
|
7
|
+
ALL: "ALL",
|
|
8
|
+
DESTINATION: "DESTINATION",
|
|
9
|
+
SOURCE: "SOURCE",
|
|
10
|
+
};
|
|
12
11
|
class ResourceNotFoundException extends IoTSecureTunnelingServiceException_1.IoTSecureTunnelingServiceException {
|
|
13
12
|
constructor(opts) {
|
|
14
13
|
super({
|
|
@@ -22,16 +21,14 @@ class ResourceNotFoundException extends IoTSecureTunnelingServiceException_1.IoT
|
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
TunnelStatus["OPEN"] = "OPEN";
|
|
34
|
-
})(TunnelStatus = exports.TunnelStatus || (exports.TunnelStatus = {}));
|
|
24
|
+
exports.ConnectionStatus = {
|
|
25
|
+
CONNECTED: "CONNECTED",
|
|
26
|
+
DISCONNECTED: "DISCONNECTED",
|
|
27
|
+
};
|
|
28
|
+
exports.TunnelStatus = {
|
|
29
|
+
CLOSED: "CLOSED",
|
|
30
|
+
OPEN: "OPEN",
|
|
31
|
+
};
|
|
35
32
|
class LimitExceededException extends IoTSecureTunnelingServiceException_1.IoTSecureTunnelingServiceException {
|
|
36
33
|
constructor(opts) {
|
|
37
34
|
super({
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { IoTSecureTunnelingServiceException as __BaseException } from "./IoTSecureTunnelingServiceException";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
})(ClientMode || (ClientMode = {}));
|
|
3
|
+
export const ClientMode = {
|
|
4
|
+
ALL: "ALL",
|
|
5
|
+
DESTINATION: "DESTINATION",
|
|
6
|
+
SOURCE: "SOURCE",
|
|
7
|
+
};
|
|
9
8
|
export class ResourceNotFoundException extends __BaseException {
|
|
10
9
|
constructor(opts) {
|
|
11
10
|
super({
|
|
@@ -18,16 +17,14 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
18
17
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
TunnelStatus["OPEN"] = "OPEN";
|
|
30
|
-
})(TunnelStatus || (TunnelStatus = {}));
|
|
20
|
+
export const ConnectionStatus = {
|
|
21
|
+
CONNECTED: "CONNECTED",
|
|
22
|
+
DISCONNECTED: "DISCONNECTED",
|
|
23
|
+
};
|
|
24
|
+
export const TunnelStatus = {
|
|
25
|
+
CLOSED: "CLOSED",
|
|
26
|
+
OPEN: "OPEN",
|
|
27
|
+
};
|
|
31
28
|
export class LimitExceededException extends __BaseException {
|
|
32
29
|
constructor(opts) {
|
|
33
30
|
super({
|
|
@@ -2,12 +2,17 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
2
2
|
import { IoTSecureTunnelingServiceException as __BaseException } from "./IoTSecureTunnelingServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
|
+
* @enum
|
|
5
6
|
*/
|
|
6
|
-
export declare
|
|
7
|
-
ALL
|
|
8
|
-
DESTINATION
|
|
9
|
-
SOURCE
|
|
10
|
-
}
|
|
7
|
+
export declare const ClientMode: {
|
|
8
|
+
readonly ALL: "ALL";
|
|
9
|
+
readonly DESTINATION: "DESTINATION";
|
|
10
|
+
readonly SOURCE: "SOURCE";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type ClientMode = (typeof ClientMode)[keyof typeof ClientMode];
|
|
11
16
|
/**
|
|
12
17
|
* @public
|
|
13
18
|
*/
|
|
@@ -41,11 +46,16 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
41
46
|
}
|
|
42
47
|
/**
|
|
43
48
|
* @public
|
|
49
|
+
* @enum
|
|
44
50
|
*/
|
|
45
|
-
export declare
|
|
46
|
-
CONNECTED
|
|
47
|
-
DISCONNECTED
|
|
48
|
-
}
|
|
51
|
+
export declare const ConnectionStatus: {
|
|
52
|
+
readonly CONNECTED: "CONNECTED";
|
|
53
|
+
readonly DISCONNECTED: "DISCONNECTED";
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
|
|
49
59
|
/**
|
|
50
60
|
* @public
|
|
51
61
|
* <p>The state of a connection.</p>
|
|
@@ -89,11 +99,16 @@ export interface DestinationConfig {
|
|
|
89
99
|
}
|
|
90
100
|
/**
|
|
91
101
|
* @public
|
|
102
|
+
* @enum
|
|
92
103
|
*/
|
|
93
|
-
export declare
|
|
94
|
-
CLOSED
|
|
95
|
-
OPEN
|
|
96
|
-
}
|
|
104
|
+
export declare const TunnelStatus: {
|
|
105
|
+
readonly CLOSED: "CLOSED";
|
|
106
|
+
readonly OPEN: "OPEN";
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export type TunnelStatus = (typeof TunnelStatus)[keyof typeof TunnelStatus];
|
|
97
112
|
/**
|
|
98
113
|
* @public
|
|
99
114
|
* <p>An arbitary key/value pair used to add searchable metadata to secure tunnel
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { IoTSecureTunnelingServiceException as __BaseException } from "./IoTSecureTunnelingServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
ALL
|
|
5
|
-
DESTINATION
|
|
6
|
-
SOURCE
|
|
7
|
-
}
|
|
3
|
+
export declare const ClientMode: {
|
|
4
|
+
readonly ALL: "ALL";
|
|
5
|
+
readonly DESTINATION: "DESTINATION";
|
|
6
|
+
readonly SOURCE: "SOURCE";
|
|
7
|
+
};
|
|
8
|
+
export type ClientMode = (typeof ClientMode)[keyof typeof ClientMode];
|
|
8
9
|
export interface CloseTunnelRequest {
|
|
9
10
|
tunnelId: string | undefined;
|
|
10
11
|
delete?: boolean;
|
|
@@ -17,10 +18,12 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
17
18
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
18
19
|
);
|
|
19
20
|
}
|
|
20
|
-
export declare
|
|
21
|
-
CONNECTED
|
|
22
|
-
DISCONNECTED
|
|
23
|
-
}
|
|
21
|
+
export declare const ConnectionStatus: {
|
|
22
|
+
readonly CONNECTED: "CONNECTED";
|
|
23
|
+
readonly DISCONNECTED: "DISCONNECTED";
|
|
24
|
+
};
|
|
25
|
+
export type ConnectionStatus =
|
|
26
|
+
(typeof ConnectionStatus)[keyof typeof ConnectionStatus];
|
|
24
27
|
export interface ConnectionState {
|
|
25
28
|
status?: ConnectionStatus | string;
|
|
26
29
|
lastUpdatedAt?: Date;
|
|
@@ -32,10 +35,11 @@ export interface DestinationConfig {
|
|
|
32
35
|
thingName?: string;
|
|
33
36
|
services: string[] | undefined;
|
|
34
37
|
}
|
|
35
|
-
export declare
|
|
36
|
-
CLOSED
|
|
37
|
-
OPEN
|
|
38
|
-
}
|
|
38
|
+
export declare const TunnelStatus: {
|
|
39
|
+
readonly CLOSED: "CLOSED";
|
|
40
|
+
readonly OPEN: "OPEN";
|
|
41
|
+
};
|
|
42
|
+
export type TunnelStatus = (typeof TunnelStatus)[keyof typeof TunnelStatus];
|
|
39
43
|
export interface Tag {
|
|
40
44
|
key: string | undefined;
|
|
41
45
|
value: 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.
|
|
4
|
+
"version": "3.303.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,42 +21,42 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|