@aws-sdk/client-iotsecuretunneling 3.478.0 → 3.481.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.
Files changed (37) hide show
  1. package/dist-cjs/commands/CloseTunnelCommand.js +18 -41
  2. package/dist-cjs/commands/DescribeTunnelCommand.js +18 -41
  3. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  4. package/dist-cjs/commands/ListTunnelsCommand.js +18 -41
  5. package/dist-cjs/commands/OpenTunnelCommand.js +18 -41
  6. package/dist-cjs/commands/RotateTunnelAccessTokenCommand.js +18 -41
  7. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  8. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  9. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  10. package/dist-es/commands/CloseTunnelCommand.js +18 -41
  11. package/dist-es/commands/DescribeTunnelCommand.js +18 -41
  12. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  13. package/dist-es/commands/ListTunnelsCommand.js +18 -41
  14. package/dist-es/commands/OpenTunnelCommand.js +18 -41
  15. package/dist-es/commands/RotateTunnelAccessTokenCommand.js +18 -41
  16. package/dist-es/commands/TagResourceCommand.js +18 -41
  17. package/dist-es/commands/UntagResourceCommand.js +18 -41
  18. package/dist-es/endpoint/EndpointParameters.js +6 -0
  19. package/dist-types/commands/CloseTunnelCommand.d.ts +6 -21
  20. package/dist-types/commands/DescribeTunnelCommand.d.ts +6 -21
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  22. package/dist-types/commands/ListTunnelsCommand.d.ts +6 -21
  23. package/dist-types/commands/OpenTunnelCommand.d.ts +6 -21
  24. package/dist-types/commands/RotateTunnelAccessTokenCommand.d.ts +6 -21
  25. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  26. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  27. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  28. package/dist-types/ts3.4/commands/CloseTunnelCommand.d.ts +14 -23
  29. package/dist-types/ts3.4/commands/DescribeTunnelCommand.d.ts +14 -23
  30. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  31. package/dist-types/ts3.4/commands/ListTunnelsCommand.d.ts +14 -23
  32. package/dist-types/ts3.4/commands/OpenTunnelCommand.d.ts +14 -23
  33. package/dist-types/ts3.4/commands/RotateTunnelAccessTokenCommand.d.ts +12 -24
  34. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  35. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  36. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  37. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeTunnelCommand, se_DescribeTunnelCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeTunnelCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeTunnelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTSecureTunnelingClient";
26
- const commandName = "DescribeTunnelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IoTSecuredTunneling",
35
- operation: "DescribeTunnel",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeTunnelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeTunnelCommand(output, context);
46
- }
7
+ export class DescribeTunnelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IoTSecuredTunneling", "DescribeTunnel", {})
19
+ .n("IoTSecureTunnelingClient", "DescribeTunnelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeTunnelCommand)
22
+ .de(de_DescribeTunnelCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTSecureTunnelingClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IoTSecuredTunneling",
35
- operation: "ListTagsForResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IoTSecuredTunneling", "ListTagsForResource", {})
19
+ .n("IoTSecureTunnelingClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTunnelsCommand, se_ListTunnelsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListTunnelsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTunnelsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTSecureTunnelingClient";
26
- const commandName = "ListTunnelsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IoTSecuredTunneling",
35
- operation: "ListTunnels",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTunnelsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTunnelsCommand(output, context);
46
- }
7
+ export class ListTunnelsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IoTSecuredTunneling", "ListTunnels", {})
19
+ .n("IoTSecureTunnelingClient", "ListTunnelsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTunnelsCommand)
22
+ .de(de_ListTunnelsCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { OpenTunnelResponseFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_OpenTunnelCommand, se_OpenTunnelCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class OpenTunnelCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, OpenTunnelCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "IoTSecureTunnelingClient";
27
- const commandName = "OpenTunnelCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: OpenTunnelResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "IoTSecuredTunneling",
36
- operation: "OpenTunnel",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_OpenTunnelCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_OpenTunnelCommand(output, context);
47
- }
8
+ export class OpenTunnelCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("IoTSecuredTunneling", "OpenTunnel", {})
20
+ .n("IoTSecureTunnelingClient", "OpenTunnelCommand")
21
+ .f(void 0, OpenTunnelResponseFilterSensitiveLog)
22
+ .ser(se_OpenTunnelCommand)
23
+ .de(de_OpenTunnelCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { RotateTunnelAccessTokenResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_RotateTunnelAccessTokenCommand, se_RotateTunnelAccessTokenCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class RotateTunnelAccessTokenCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, RotateTunnelAccessTokenCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "IoTSecureTunnelingClient";
27
- const commandName = "RotateTunnelAccessTokenCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: RotateTunnelAccessTokenResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "IoTSecuredTunneling",
36
- operation: "RotateTunnelAccessToken",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_RotateTunnelAccessTokenCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_RotateTunnelAccessTokenCommand(output, context);
47
- }
8
+ export class RotateTunnelAccessTokenCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("IoTSecuredTunneling", "RotateTunnelAccessToken", {})
20
+ .n("IoTSecureTunnelingClient", "RotateTunnelAccessTokenCommand")
21
+ .f(void 0, RotateTunnelAccessTokenResponseFilterSensitiveLog)
22
+ .ser(se_RotateTunnelAccessTokenCommand)
23
+ .de(de_RotateTunnelAccessTokenCommand)
24
+ .build() {
48
25
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTSecureTunnelingClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IoTSecuredTunneling",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IoTSecuredTunneling", "TagResource", {})
19
+ .n("IoTSecureTunnelingClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTSecureTunnelingClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IoTSecuredTunneling",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IoTSecuredTunneling", "UntagResource", {})
19
+ .n("IoTSecureTunnelingClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "IoTSecuredTunneling",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSecureTunnelingClient";
5
4
  import { CloseTunnelRequest, CloseTunnelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CloseTunnelCommandInput extends CloseTunnelRequest {
21
20
  */
22
21
  export interface CloseTunnelCommandOutput extends CloseTunnelResponse, __MetadataBearer {
23
22
  }
23
+ declare const CloseTunnelCommand_base: {
24
+ new (input: CloseTunnelCommandInput): import("@smithy/smithy-client").CommandImpl<CloseTunnelCommandInput, CloseTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Closes a tunnel identified by the unique tunnel id. When a <code>CloseTunnel</code>
@@ -56,23 +59,5 @@ export interface CloseTunnelCommandOutput extends CloseTunnelResponse, __Metadat
56
59
  * <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
57
60
  *
58
61
  */
59
- export declare class CloseTunnelCommand extends $Command<CloseTunnelCommandInput, CloseTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig> {
60
- readonly input: CloseTunnelCommandInput;
61
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
62
- /**
63
- * @public
64
- */
65
- constructor(input: CloseTunnelCommandInput);
66
- /**
67
- * @internal
68
- */
69
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTSecureTunnelingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CloseTunnelCommandInput, CloseTunnelCommandOutput>;
70
- /**
71
- * @internal
72
- */
73
- private serialize;
74
- /**
75
- * @internal
76
- */
77
- private deserialize;
62
+ export declare class CloseTunnelCommand extends CloseTunnelCommand_base {
78
63
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSecureTunnelingClient";
5
4
  import { DescribeTunnelRequest, DescribeTunnelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeTunnelCommandInput extends DescribeTunnelRequest {
21
20
  */
22
21
  export interface DescribeTunnelCommandOutput extends DescribeTunnelResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeTunnelCommand_base: {
24
+ new (input: DescribeTunnelCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeTunnelCommandInput, DescribeTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets information about a tunnel identified by the unique tunnel id.</p>
@@ -85,23 +88,5 @@ export interface DescribeTunnelCommandOutput extends DescribeTunnelResponse, __M
85
88
  * <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
86
89
  *
87
90
  */
88
- export declare class DescribeTunnelCommand extends $Command<DescribeTunnelCommandInput, DescribeTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig> {
89
- readonly input: DescribeTunnelCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: DescribeTunnelCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTSecureTunnelingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTunnelCommandInput, DescribeTunnelCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class DescribeTunnelCommand extends DescribeTunnelCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSecureTunnelingClient";
5
4
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
21
20
  */
22
21
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTagsForResourceCommand_base: {
24
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists the tags for the specified resource.</p>
@@ -59,23 +62,5 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
59
62
  * <p>Base exception class for all service exceptions from IoTSecureTunneling service.</p>
60
63
  *
61
64
  */
62
- export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig> {
63
- readonly input: ListTagsForResourceCommandInput;
64
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
65
- /**
66
- * @public
67
- */
68
- constructor(input: ListTagsForResourceCommandInput);
69
- /**
70
- * @internal
71
- */
72
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTSecureTunnelingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
73
- /**
74
- * @internal
75
- */
76
- private serialize;
77
- /**
78
- * @internal
79
- */
80
- private deserialize;
65
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
81
66
  }