@aws-sdk/client-iotsecuretunneling 3.296.0 → 3.298.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/commands/CloseTunnelCommand.js +2 -3
- package/dist-cjs/commands/DescribeTunnelCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-cjs/commands/ListTunnelsCommand.js +2 -3
- package/dist-cjs/commands/OpenTunnelCommand.js +1 -1
- package/dist-cjs/commands/RotateTunnelAccessTokenCommand.js +1 -1
- package/dist-cjs/commands/TagResourceCommand.js +2 -3
- package/dist-cjs/commands/UntagResourceCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -81
- package/dist-es/commands/CloseTunnelCommand.js +2 -3
- package/dist-es/commands/DescribeTunnelCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-es/commands/ListTunnelsCommand.js +2 -3
- package/dist-es/commands/OpenTunnelCommand.js +2 -2
- package/dist-es/commands/RotateTunnelAccessTokenCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -60
- package/dist-types/IoTSecureTunneling.d.ts +9 -0
- package/dist-types/IoTSecureTunnelingClient.d.ts +24 -4
- package/dist-types/commands/CloseTunnelCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTunnelCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTunnelsCommand.d.ts +16 -0
- package/dist-types/commands/OpenTunnelCommand.d.ts +16 -0
- package/dist-types/commands/RotateTunnelAccessTokenCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/models/IoTSecureTunnelingServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +65 -80
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListTunnelsPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -56
- package/package.json +4 -3
|
@@ -4,7 +4,6 @@ exports.CloseTunnelCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class CloseTunnelCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class CloseTunnelCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.DescribeTunnelCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class DescribeTunnelCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class DescribeTunnelCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.ListTagsForResourceCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.ListTunnelsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class ListTunnelsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class ListTunnelsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -30,7 +30,7 @@ class OpenTunnelCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
34
|
outputFilterSensitiveLog: models_0_1.OpenTunnelResponseFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
@@ -30,7 +30,7 @@ class RotateTunnelAccessTokenCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
34
|
outputFilterSensitiveLog: models_0_1.RotateTunnelAccessTokenResponseFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
@@ -4,7 +4,6 @@ exports.TagResourceCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.UntagResourceCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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
6
|
var ClientMode;
|
|
@@ -45,95 +45,15 @@ class LimitExceededException extends IoTSecureTunnelingServiceException_1.IoTSec
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
exports.LimitExceededException = LimitExceededException;
|
|
48
|
-
const CloseTunnelRequestFilterSensitiveLog = (obj) => ({
|
|
49
|
-
...obj,
|
|
50
|
-
});
|
|
51
|
-
exports.CloseTunnelRequestFilterSensitiveLog = CloseTunnelRequestFilterSensitiveLog;
|
|
52
|
-
const CloseTunnelResponseFilterSensitiveLog = (obj) => ({
|
|
53
|
-
...obj,
|
|
54
|
-
});
|
|
55
|
-
exports.CloseTunnelResponseFilterSensitiveLog = CloseTunnelResponseFilterSensitiveLog;
|
|
56
|
-
const ConnectionStateFilterSensitiveLog = (obj) => ({
|
|
57
|
-
...obj,
|
|
58
|
-
});
|
|
59
|
-
exports.ConnectionStateFilterSensitiveLog = ConnectionStateFilterSensitiveLog;
|
|
60
|
-
const DescribeTunnelRequestFilterSensitiveLog = (obj) => ({
|
|
61
|
-
...obj,
|
|
62
|
-
});
|
|
63
|
-
exports.DescribeTunnelRequestFilterSensitiveLog = DescribeTunnelRequestFilterSensitiveLog;
|
|
64
|
-
const DestinationConfigFilterSensitiveLog = (obj) => ({
|
|
65
|
-
...obj,
|
|
66
|
-
});
|
|
67
|
-
exports.DestinationConfigFilterSensitiveLog = DestinationConfigFilterSensitiveLog;
|
|
68
|
-
const TagFilterSensitiveLog = (obj) => ({
|
|
69
|
-
...obj,
|
|
70
|
-
});
|
|
71
|
-
exports.TagFilterSensitiveLog = TagFilterSensitiveLog;
|
|
72
|
-
const TimeoutConfigFilterSensitiveLog = (obj) => ({
|
|
73
|
-
...obj,
|
|
74
|
-
});
|
|
75
|
-
exports.TimeoutConfigFilterSensitiveLog = TimeoutConfigFilterSensitiveLog;
|
|
76
|
-
const TunnelFilterSensitiveLog = (obj) => ({
|
|
77
|
-
...obj,
|
|
78
|
-
});
|
|
79
|
-
exports.TunnelFilterSensitiveLog = TunnelFilterSensitiveLog;
|
|
80
|
-
const DescribeTunnelResponseFilterSensitiveLog = (obj) => ({
|
|
81
|
-
...obj,
|
|
82
|
-
});
|
|
83
|
-
exports.DescribeTunnelResponseFilterSensitiveLog = DescribeTunnelResponseFilterSensitiveLog;
|
|
84
|
-
const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
85
|
-
...obj,
|
|
86
|
-
});
|
|
87
|
-
exports.ListTagsForResourceRequestFilterSensitiveLog = ListTagsForResourceRequestFilterSensitiveLog;
|
|
88
|
-
const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
89
|
-
...obj,
|
|
90
|
-
});
|
|
91
|
-
exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
|
|
92
|
-
const ListTunnelsRequestFilterSensitiveLog = (obj) => ({
|
|
93
|
-
...obj,
|
|
94
|
-
});
|
|
95
|
-
exports.ListTunnelsRequestFilterSensitiveLog = ListTunnelsRequestFilterSensitiveLog;
|
|
96
|
-
const TunnelSummaryFilterSensitiveLog = (obj) => ({
|
|
97
|
-
...obj,
|
|
98
|
-
});
|
|
99
|
-
exports.TunnelSummaryFilterSensitiveLog = TunnelSummaryFilterSensitiveLog;
|
|
100
|
-
const ListTunnelsResponseFilterSensitiveLog = (obj) => ({
|
|
101
|
-
...obj,
|
|
102
|
-
});
|
|
103
|
-
exports.ListTunnelsResponseFilterSensitiveLog = ListTunnelsResponseFilterSensitiveLog;
|
|
104
|
-
const OpenTunnelRequestFilterSensitiveLog = (obj) => ({
|
|
105
|
-
...obj,
|
|
106
|
-
});
|
|
107
|
-
exports.OpenTunnelRequestFilterSensitiveLog = OpenTunnelRequestFilterSensitiveLog;
|
|
108
48
|
const OpenTunnelResponseFilterSensitiveLog = (obj) => ({
|
|
109
49
|
...obj,
|
|
110
50
|
...(obj.sourceAccessToken && { sourceAccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
111
51
|
...(obj.destinationAccessToken && { destinationAccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
112
52
|
});
|
|
113
53
|
exports.OpenTunnelResponseFilterSensitiveLog = OpenTunnelResponseFilterSensitiveLog;
|
|
114
|
-
const RotateTunnelAccessTokenRequestFilterSensitiveLog = (obj) => ({
|
|
115
|
-
...obj,
|
|
116
|
-
});
|
|
117
|
-
exports.RotateTunnelAccessTokenRequestFilterSensitiveLog = RotateTunnelAccessTokenRequestFilterSensitiveLog;
|
|
118
54
|
const RotateTunnelAccessTokenResponseFilterSensitiveLog = (obj) => ({
|
|
119
55
|
...obj,
|
|
120
56
|
...(obj.sourceAccessToken && { sourceAccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
121
57
|
...(obj.destinationAccessToken && { destinationAccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
122
58
|
});
|
|
123
59
|
exports.RotateTunnelAccessTokenResponseFilterSensitiveLog = RotateTunnelAccessTokenResponseFilterSensitiveLog;
|
|
124
|
-
const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
125
|
-
...obj,
|
|
126
|
-
});
|
|
127
|
-
exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
|
|
128
|
-
const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
129
|
-
...obj,
|
|
130
|
-
});
|
|
131
|
-
exports.TagResourceResponseFilterSensitiveLog = TagResourceResponseFilterSensitiveLog;
|
|
132
|
-
const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
133
|
-
...obj,
|
|
134
|
-
});
|
|
135
|
-
exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
|
|
136
|
-
const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
137
|
-
...obj,
|
|
138
|
-
});
|
|
139
|
-
exports.UntagResourceResponseFilterSensitiveLog = UntagResourceResponseFilterSensitiveLog;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { CloseTunnelRequestFilterSensitiveLog, CloseTunnelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CloseTunnelCommand, serializeAws_json1_1CloseTunnelCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class CloseTunnelCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class CloseTunnelCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeTunnelRequestFilterSensitiveLog, DescribeTunnelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1DescribeTunnelCommand, serializeAws_json1_1DescribeTunnelCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class DescribeTunnelCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DescribeTunnelCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class ListTagsForResourceCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListTunnelsRequestFilterSensitiveLog, ListTunnelsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1ListTunnelsCommand, serializeAws_json1_1ListTunnelsCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class ListTunnelsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class ListTunnelsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { OpenTunnelResponseFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1OpenTunnelCommand, serializeAws_json1_1OpenTunnelCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class OpenTunnelCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class OpenTunnelCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: OpenTunnelResponseFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { RotateTunnelAccessTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1RotateTunnelAccessTokenCommand, serializeAws_json1_1RotateTunnelAccessTokenCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class RotateTunnelAccessTokenCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class RotateTunnelAccessTokenCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: RotateTunnelAccessTokenResponseFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class TagResourceCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class TagResourceCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class UntagResourceCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class UntagResourceCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -40,73 +40,13 @@ export class LimitExceededException extends __BaseException {
|
|
|
40
40
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
export const CloseTunnelRequestFilterSensitiveLog = (obj) => ({
|
|
44
|
-
...obj,
|
|
45
|
-
});
|
|
46
|
-
export const CloseTunnelResponseFilterSensitiveLog = (obj) => ({
|
|
47
|
-
...obj,
|
|
48
|
-
});
|
|
49
|
-
export const ConnectionStateFilterSensitiveLog = (obj) => ({
|
|
50
|
-
...obj,
|
|
51
|
-
});
|
|
52
|
-
export const DescribeTunnelRequestFilterSensitiveLog = (obj) => ({
|
|
53
|
-
...obj,
|
|
54
|
-
});
|
|
55
|
-
export const DestinationConfigFilterSensitiveLog = (obj) => ({
|
|
56
|
-
...obj,
|
|
57
|
-
});
|
|
58
|
-
export const TagFilterSensitiveLog = (obj) => ({
|
|
59
|
-
...obj,
|
|
60
|
-
});
|
|
61
|
-
export const TimeoutConfigFilterSensitiveLog = (obj) => ({
|
|
62
|
-
...obj,
|
|
63
|
-
});
|
|
64
|
-
export const TunnelFilterSensitiveLog = (obj) => ({
|
|
65
|
-
...obj,
|
|
66
|
-
});
|
|
67
|
-
export const DescribeTunnelResponseFilterSensitiveLog = (obj) => ({
|
|
68
|
-
...obj,
|
|
69
|
-
});
|
|
70
|
-
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
71
|
-
...obj,
|
|
72
|
-
});
|
|
73
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
74
|
-
...obj,
|
|
75
|
-
});
|
|
76
|
-
export const ListTunnelsRequestFilterSensitiveLog = (obj) => ({
|
|
77
|
-
...obj,
|
|
78
|
-
});
|
|
79
|
-
export const TunnelSummaryFilterSensitiveLog = (obj) => ({
|
|
80
|
-
...obj,
|
|
81
|
-
});
|
|
82
|
-
export const ListTunnelsResponseFilterSensitiveLog = (obj) => ({
|
|
83
|
-
...obj,
|
|
84
|
-
});
|
|
85
|
-
export const OpenTunnelRequestFilterSensitiveLog = (obj) => ({
|
|
86
|
-
...obj,
|
|
87
|
-
});
|
|
88
43
|
export const OpenTunnelResponseFilterSensitiveLog = (obj) => ({
|
|
89
44
|
...obj,
|
|
90
45
|
...(obj.sourceAccessToken && { sourceAccessToken: SENSITIVE_STRING }),
|
|
91
46
|
...(obj.destinationAccessToken && { destinationAccessToken: SENSITIVE_STRING }),
|
|
92
47
|
});
|
|
93
|
-
export const RotateTunnelAccessTokenRequestFilterSensitiveLog = (obj) => ({
|
|
94
|
-
...obj,
|
|
95
|
-
});
|
|
96
48
|
export const RotateTunnelAccessTokenResponseFilterSensitiveLog = (obj) => ({
|
|
97
49
|
...obj,
|
|
98
50
|
...(obj.sourceAccessToken && { sourceAccessToken: SENSITIVE_STRING }),
|
|
99
51
|
...(obj.destinationAccessToken && { destinationAccessToken: SENSITIVE_STRING }),
|
|
100
52
|
});
|
|
101
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
102
|
-
...obj,
|
|
103
|
-
});
|
|
104
|
-
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
105
|
-
...obj,
|
|
106
|
-
});
|
|
107
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
108
|
-
...obj,
|
|
109
|
-
});
|
|
110
|
-
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
111
|
-
...obj,
|
|
112
|
-
});
|
|
@@ -9,6 +9,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
9
9
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
10
10
|
import { IoTSecureTunnelingClient } from "./IoTSecureTunnelingClient";
|
|
11
11
|
/**
|
|
12
|
+
* @public
|
|
12
13
|
* <fullname>IoT Secure Tunneling</fullname>
|
|
13
14
|
* <p>IoT Secure Tunneling creates remote connections to devices deployed in the
|
|
14
15
|
* field.</p>
|
|
@@ -17,6 +18,7 @@ import { IoTSecureTunnelingClient } from "./IoTSecureTunnelingClient";
|
|
|
17
18
|
*/
|
|
18
19
|
export declare class IoTSecureTunneling extends IoTSecureTunnelingClient {
|
|
19
20
|
/**
|
|
21
|
+
* @public
|
|
20
22
|
* <p>Closes a tunnel identified by the unique tunnel id. When a <code>CloseTunnel</code>
|
|
21
23
|
* request is received, we close the WebSocket connections between the client and proxy
|
|
22
24
|
* server so no data can be transmitted.</p>
|
|
@@ -26,6 +28,7 @@ export declare class IoTSecureTunneling extends IoTSecureTunnelingClient {
|
|
|
26
28
|
closeTunnel(args: CloseTunnelCommandInput, cb: (err: any, data?: CloseTunnelCommandOutput) => void): void;
|
|
27
29
|
closeTunnel(args: CloseTunnelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CloseTunnelCommandOutput) => void): void;
|
|
28
30
|
/**
|
|
31
|
+
* @public
|
|
29
32
|
* <p>Gets information about a tunnel identified by the unique tunnel id.</p>
|
|
30
33
|
* <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
34
|
*/
|
|
@@ -33,12 +36,14 @@ export declare class IoTSecureTunneling extends IoTSecureTunnelingClient {
|
|
|
33
36
|
describeTunnel(args: DescribeTunnelCommandInput, cb: (err: any, data?: DescribeTunnelCommandOutput) => void): void;
|
|
34
37
|
describeTunnel(args: DescribeTunnelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTunnelCommandOutput) => void): void;
|
|
35
38
|
/**
|
|
39
|
+
* @public
|
|
36
40
|
* <p>Lists the tags for the specified resource.</p>
|
|
37
41
|
*/
|
|
38
42
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
39
43
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
40
44
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
41
45
|
/**
|
|
46
|
+
* @public
|
|
42
47
|
* <p>List all tunnels for an Amazon Web Services account. Tunnels are listed by creation time in
|
|
43
48
|
* descending order, newer tunnels will be listed before older tunnels.</p>
|
|
44
49
|
* <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>
|
|
@@ -47,6 +52,7 @@ export declare class IoTSecureTunneling extends IoTSecureTunnelingClient {
|
|
|
47
52
|
listTunnels(args: ListTunnelsCommandInput, cb: (err: any, data?: ListTunnelsCommandOutput) => void): void;
|
|
48
53
|
listTunnels(args: ListTunnelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTunnelsCommandOutput) => void): void;
|
|
49
54
|
/**
|
|
55
|
+
* @public
|
|
50
56
|
* <p>Creates a new tunnel, and returns two client access tokens for clients to use to
|
|
51
57
|
* connect to the IoT Secure Tunneling proxy server.</p>
|
|
52
58
|
* <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>
|
|
@@ -55,6 +61,7 @@ export declare class IoTSecureTunneling extends IoTSecureTunnelingClient {
|
|
|
55
61
|
openTunnel(args: OpenTunnelCommandInput, cb: (err: any, data?: OpenTunnelCommandOutput) => void): void;
|
|
56
62
|
openTunnel(args: OpenTunnelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OpenTunnelCommandOutput) => void): void;
|
|
57
63
|
/**
|
|
64
|
+
* @public
|
|
58
65
|
* <p>Revokes the current client access token (CAT) and returns new CAT for clients to
|
|
59
66
|
* use when reconnecting to secure tunneling to access the same tunnel.</p>
|
|
60
67
|
* <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>
|
|
@@ -69,12 +76,14 @@ export declare class IoTSecureTunneling extends IoTSecureTunnelingClient {
|
|
|
69
76
|
rotateTunnelAccessToken(args: RotateTunnelAccessTokenCommandInput, cb: (err: any, data?: RotateTunnelAccessTokenCommandOutput) => void): void;
|
|
70
77
|
rotateTunnelAccessToken(args: RotateTunnelAccessTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RotateTunnelAccessTokenCommandOutput) => void): void;
|
|
71
78
|
/**
|
|
79
|
+
* @public
|
|
72
80
|
* <p>A resource tag.</p>
|
|
73
81
|
*/
|
|
74
82
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
75
83
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
76
84
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
77
85
|
/**
|
|
86
|
+
* @public
|
|
78
87
|
* <p>Removes a tag from a resource.</p>
|
|
79
88
|
*/
|
|
80
89
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
@@ -16,15 +16,24 @@ import { RotateTunnelAccessTokenCommandInput, RotateTunnelAccessTokenCommandOutp
|
|
|
16
16
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
17
17
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
18
18
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
19
22
|
export type ServiceInputTypes = CloseTunnelCommandInput | DescribeTunnelCommandInput | ListTagsForResourceCommandInput | ListTunnelsCommandInput | OpenTunnelCommandInput | RotateTunnelAccessTokenCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
20
26
|
export type ServiceOutputTypes = CloseTunnelCommandOutput | DescribeTunnelCommandOutput | ListTagsForResourceCommandOutput | ListTunnelsCommandOutput | OpenTunnelCommandOutput | RotateTunnelAccessTokenCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
21
30
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
22
31
|
/**
|
|
23
32
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
24
33
|
*/
|
|
25
34
|
requestHandler?: __HttpHandler;
|
|
26
35
|
/**
|
|
27
|
-
* A constructor for a class implementing the {@link
|
|
36
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
28
37
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
29
38
|
* @internal
|
|
30
39
|
*/
|
|
@@ -114,23 +123,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
114
123
|
*/
|
|
115
124
|
logger?: __Logger;
|
|
116
125
|
/**
|
|
117
|
-
* The {@link
|
|
126
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
118
127
|
*/
|
|
119
128
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
120
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
121
133
|
type IoTSecureTunnelingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
122
134
|
/**
|
|
123
|
-
*
|
|
135
|
+
* @public
|
|
136
|
+
*
|
|
137
|
+
* The configuration interface of IoTSecureTunnelingClient class constructor that set the region, credentials and other options.
|
|
124
138
|
*/
|
|
125
139
|
export interface IoTSecureTunnelingClientConfig extends IoTSecureTunnelingClientConfigType {
|
|
126
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
127
144
|
type IoTSecureTunnelingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
128
145
|
/**
|
|
129
|
-
*
|
|
146
|
+
* @public
|
|
147
|
+
*
|
|
148
|
+
* The resolved configuration interface of IoTSecureTunnelingClient class. This is resolved and normalized from the {@link IoTSecureTunnelingClientConfig | constructor configuration interface}.
|
|
130
149
|
*/
|
|
131
150
|
export interface IoTSecureTunnelingClientResolvedConfig extends IoTSecureTunnelingClientResolvedConfigType {
|
|
132
151
|
}
|
|
133
152
|
/**
|
|
153
|
+
* @public
|
|
134
154
|
* <fullname>IoT Secure Tunneling</fullname>
|
|
135
155
|
* <p>IoT Secure Tunneling creates remote connections to devices deployed in the
|
|
136
156
|
* field.</p>
|