@aws-sdk/client-iotsecuretunneling 3.1076.0 → 3.1078.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +19 -85
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CloseTunnelCommand.js +2 -14
- package/dist-es/commands/DescribeTunnelCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListTunnelsCommand.js +2 -14
- package/dist-es/commands/OpenTunnelCommand.js +2 -14
- package/dist-es/commands/RotateTunnelAccessTokenCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CloseTunnelCommand.d.ts +3 -8
- package/dist-types/commands/DescribeTunnelCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListTunnelsCommand.d.ts +3 -8
- package/dist-types/commands/OpenTunnelCommand.d.ts +3 -8
- package/dist-types/commands/RotateTunnelAccessTokenCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CloseTunnelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeTunnelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTunnelsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/OpenTunnelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RotateTunnelAccessTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultIoTSecureTunnelingHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -431,6 +433,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
431
433
|
serviceTarget: "IoTSecuredTunneling",
|
|
432
434
|
},
|
|
433
435
|
serviceId: config?.serviceId ?? "IoTSecureTunneling",
|
|
436
|
+
sha256: config?.sha256 ?? Sha256,
|
|
434
437
|
urlParser: config?.urlParser ?? parseUrl,
|
|
435
438
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
436
439
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -464,7 +467,6 @@ const getRuntimeConfig = (config) => {
|
|
|
464
467
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
465
468
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
466
469
|
}, config),
|
|
467
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
468
470
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
469
471
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
470
472
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -552,100 +554,32 @@ class IoTSecureTunnelingClient extends Client {
|
|
|
552
554
|
}
|
|
553
555
|
}
|
|
554
556
|
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
})
|
|
561
|
-
.s("IoTSecuredTunneling", "CloseTunnel", {})
|
|
562
|
-
.n("IoTSecureTunnelingClient", "CloseTunnelCommand")
|
|
563
|
-
.sc(CloseTunnel$)
|
|
564
|
-
.build() {
|
|
557
|
+
const command = makeBuilder(commonParams, "IoTSecuredTunneling", "IoTSecureTunnelingClient", getEndpointPlugin);
|
|
558
|
+
const _ep0 = {};
|
|
559
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
560
|
+
|
|
561
|
+
class CloseTunnelCommand extends command(_ep0, _mw0, "CloseTunnel", CloseTunnel$) {
|
|
565
562
|
}
|
|
566
563
|
|
|
567
|
-
class DescribeTunnelCommand extends
|
|
568
|
-
.classBuilder()
|
|
569
|
-
.ep(commonParams)
|
|
570
|
-
.m(function (Command, cs, config, o) {
|
|
571
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
572
|
-
})
|
|
573
|
-
.s("IoTSecuredTunneling", "DescribeTunnel", {})
|
|
574
|
-
.n("IoTSecureTunnelingClient", "DescribeTunnelCommand")
|
|
575
|
-
.sc(DescribeTunnel$)
|
|
576
|
-
.build() {
|
|
564
|
+
class DescribeTunnelCommand extends command(_ep0, _mw0, "DescribeTunnel", DescribeTunnel$) {
|
|
577
565
|
}
|
|
578
566
|
|
|
579
|
-
class ListTagsForResourceCommand extends
|
|
580
|
-
.classBuilder()
|
|
581
|
-
.ep(commonParams)
|
|
582
|
-
.m(function (Command, cs, config, o) {
|
|
583
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
584
|
-
})
|
|
585
|
-
.s("IoTSecuredTunneling", "ListTagsForResource", {})
|
|
586
|
-
.n("IoTSecureTunnelingClient", "ListTagsForResourceCommand")
|
|
587
|
-
.sc(ListTagsForResource$)
|
|
588
|
-
.build() {
|
|
567
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
589
568
|
}
|
|
590
569
|
|
|
591
|
-
class ListTunnelsCommand extends
|
|
592
|
-
.classBuilder()
|
|
593
|
-
.ep(commonParams)
|
|
594
|
-
.m(function (Command, cs, config, o) {
|
|
595
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
596
|
-
})
|
|
597
|
-
.s("IoTSecuredTunneling", "ListTunnels", {})
|
|
598
|
-
.n("IoTSecureTunnelingClient", "ListTunnelsCommand")
|
|
599
|
-
.sc(ListTunnels$)
|
|
600
|
-
.build() {
|
|
570
|
+
class ListTunnelsCommand extends command(_ep0, _mw0, "ListTunnels", ListTunnels$) {
|
|
601
571
|
}
|
|
602
572
|
|
|
603
|
-
class OpenTunnelCommand extends
|
|
604
|
-
.classBuilder()
|
|
605
|
-
.ep(commonParams)
|
|
606
|
-
.m(function (Command, cs, config, o) {
|
|
607
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
608
|
-
})
|
|
609
|
-
.s("IoTSecuredTunneling", "OpenTunnel", {})
|
|
610
|
-
.n("IoTSecureTunnelingClient", "OpenTunnelCommand")
|
|
611
|
-
.sc(OpenTunnel$)
|
|
612
|
-
.build() {
|
|
573
|
+
class OpenTunnelCommand extends command(_ep0, _mw0, "OpenTunnel", OpenTunnel$) {
|
|
613
574
|
}
|
|
614
575
|
|
|
615
|
-
class RotateTunnelAccessTokenCommand extends
|
|
616
|
-
.classBuilder()
|
|
617
|
-
.ep(commonParams)
|
|
618
|
-
.m(function (Command, cs, config, o) {
|
|
619
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
620
|
-
})
|
|
621
|
-
.s("IoTSecuredTunneling", "RotateTunnelAccessToken", {})
|
|
622
|
-
.n("IoTSecureTunnelingClient", "RotateTunnelAccessTokenCommand")
|
|
623
|
-
.sc(RotateTunnelAccessToken$)
|
|
624
|
-
.build() {
|
|
576
|
+
class RotateTunnelAccessTokenCommand extends command(_ep0, _mw0, "RotateTunnelAccessToken", RotateTunnelAccessToken$) {
|
|
625
577
|
}
|
|
626
578
|
|
|
627
|
-
class TagResourceCommand extends
|
|
628
|
-
.classBuilder()
|
|
629
|
-
.ep(commonParams)
|
|
630
|
-
.m(function (Command, cs, config, o) {
|
|
631
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
632
|
-
})
|
|
633
|
-
.s("IoTSecuredTunneling", "TagResource", {})
|
|
634
|
-
.n("IoTSecureTunnelingClient", "TagResourceCommand")
|
|
635
|
-
.sc(TagResource$)
|
|
636
|
-
.build() {
|
|
579
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
637
580
|
}
|
|
638
581
|
|
|
639
|
-
class UntagResourceCommand extends
|
|
640
|
-
.classBuilder()
|
|
641
|
-
.ep(commonParams)
|
|
642
|
-
.m(function (Command, cs, config, o) {
|
|
643
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
644
|
-
})
|
|
645
|
-
.s("IoTSecuredTunneling", "UntagResource", {})
|
|
646
|
-
.n("IoTSecureTunnelingClient", "UntagResourceCommand")
|
|
647
|
-
.sc(UntagResource$)
|
|
648
|
-
.build() {
|
|
582
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
649
583
|
}
|
|
650
584
|
|
|
651
585
|
const paginateListTunnels = createPaginator(IoTSecureTunnelingClient, ListTunnelsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "IoTSecuredTunneling", "IoTSecureTunnelingClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CloseTunnel$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CloseTunnelCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IoTSecuredTunneling", "CloseTunnel", {})
|
|
13
|
-
.n("IoTSecureTunnelingClient", "CloseTunnelCommand")
|
|
14
|
-
.sc(CloseTunnel$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CloseTunnelCommand extends command(_ep0, _mw0, "CloseTunnel", CloseTunnel$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeTunnel$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeTunnelCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IoTSecuredTunneling", "DescribeTunnel", {})
|
|
13
|
-
.n("IoTSecureTunnelingClient", "DescribeTunnelCommand")
|
|
14
|
-
.sc(DescribeTunnel$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeTunnelCommand extends command(_ep0, _mw0, "DescribeTunnel", DescribeTunnel$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IoTSecuredTunneling", "ListTagsForResource", {})
|
|
13
|
-
.n("IoTSecureTunnelingClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTunnels$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTunnelsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IoTSecuredTunneling", "ListTunnels", {})
|
|
13
|
-
.n("IoTSecureTunnelingClient", "ListTunnelsCommand")
|
|
14
|
-
.sc(ListTunnels$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTunnelsCommand extends command(_ep0, _mw0, "ListTunnels", ListTunnels$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { OpenTunnel$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class OpenTunnelCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IoTSecuredTunneling", "OpenTunnel", {})
|
|
13
|
-
.n("IoTSecureTunnelingClient", "OpenTunnelCommand")
|
|
14
|
-
.sc(OpenTunnel$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class OpenTunnelCommand extends command(_ep0, _mw0, "OpenTunnel", OpenTunnel$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RotateTunnelAccessToken$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RotateTunnelAccessTokenCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IoTSecuredTunneling", "RotateTunnelAccessToken", {})
|
|
13
|
-
.n("IoTSecureTunnelingClient", "RotateTunnelAccessTokenCommand")
|
|
14
|
-
.sc(RotateTunnelAccessToken$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RotateTunnelAccessTokenCommand extends command(_ep0, _mw0, "RotateTunnelAccessToken", RotateTunnelAccessToken$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IoTSecuredTunneling", "TagResource", {})
|
|
13
|
-
.n("IoTSecureTunnelingClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IoTSecuredTunneling", "UntagResource", {})
|
|
13
|
-
.n("IoTSecureTunnelingClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./IoTSecureTunnelingClient";
|
|
2
2
|
export * from "./IoTSecureTunneling";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "IoTSecuredTunneling",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "IoTSecureTunneling",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./IoTSecureTunnelingClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSecureTunnelingClient";
|
|
4
2
|
import type { CloseTunnelRequest, CloseTunnelResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CloseTunnelCommandInput extends CloseTunnelRequest {
|
|
|
22
19
|
export interface CloseTunnelCommandOutput extends CloseTunnelResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CloseTunnelCommand_base: {
|
|
25
|
-
new (input: CloseTunnelCommandInput): import("@smithy/core/client").CommandImpl<CloseTunnelCommandInput, CloseTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CloseTunnelCommandInput): import("@smithy/core/client").CommandImpl<CloseTunnelCommandInput, CloseTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CloseTunnelCommandInput): import("@smithy/core/client").CommandImpl<CloseTunnelCommandInput, CloseTunnelCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CloseTunnelCommandInput): import("@smithy/core/client").CommandImpl<CloseTunnelCommandInput, CloseTunnelCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Closes a tunnel identified by the unique tunnel id. When a <code>CloseTunnel</code>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSecureTunnelingClient";
|
|
4
2
|
import type { DescribeTunnelRequest, DescribeTunnelResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DescribeTunnelCommandInput extends DescribeTunnelRequest {
|
|
|
22
19
|
export interface DescribeTunnelCommandOutput extends DescribeTunnelResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DescribeTunnelCommand_base: {
|
|
25
|
-
new (input: DescribeTunnelCommandInput): import("@smithy/core/client").CommandImpl<DescribeTunnelCommandInput, DescribeTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DescribeTunnelCommandInput): import("@smithy/core/client").CommandImpl<DescribeTunnelCommandInput, DescribeTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DescribeTunnelCommandInput): import("@smithy/core/client").CommandImpl<DescribeTunnelCommandInput, DescribeTunnelCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DescribeTunnelCommandInput): import("@smithy/core/client").CommandImpl<DescribeTunnelCommandInput, DescribeTunnelCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Gets information about a tunnel identified by the unique tunnel id.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSecureTunnelingClient";
|
|
4
2
|
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
|
|
|
22
19
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListTagsForResourceCommand_base: {
|
|
25
|
-
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Lists the tags for the specified resource.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSecureTunnelingClient";
|
|
4
2
|
import type { ListTunnelsRequest, ListTunnelsResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListTunnelsCommandInput extends ListTunnelsRequest {
|
|
|
22
19
|
export interface ListTunnelsCommandOutput extends ListTunnelsResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListTunnelsCommand_base: {
|
|
25
|
-
new (input: ListTunnelsCommandInput): import("@smithy/core/client").CommandImpl<ListTunnelsCommandInput, ListTunnelsCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [ListTunnelsCommandInput]): import("@smithy/core/client").CommandImpl<ListTunnelsCommandInput, ListTunnelsCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListTunnelsCommandInput): import("@smithy/core/client").CommandImpl<ListTunnelsCommandInput, ListTunnelsCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListTunnelsCommandInput]): import("@smithy/core/client").CommandImpl<ListTunnelsCommandInput, ListTunnelsCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>List all tunnels for an Amazon Web Services account. Tunnels are listed by creation time in
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSecureTunnelingClient";
|
|
4
2
|
import type { OpenTunnelRequest, OpenTunnelResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface OpenTunnelCommandInput extends OpenTunnelRequest {
|
|
|
22
19
|
export interface OpenTunnelCommandOutput extends OpenTunnelResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const OpenTunnelCommand_base: {
|
|
25
|
-
new (input: OpenTunnelCommandInput): import("@smithy/core/client").CommandImpl<OpenTunnelCommandInput, OpenTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [OpenTunnelCommandInput]): import("@smithy/core/client").CommandImpl<OpenTunnelCommandInput, OpenTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: OpenTunnelCommandInput): import("@smithy/core/client").CommandImpl<OpenTunnelCommandInput, OpenTunnelCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [OpenTunnelCommandInput]): import("@smithy/core/client").CommandImpl<OpenTunnelCommandInput, OpenTunnelCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a new tunnel, and returns two client access tokens for clients to use to
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSecureTunnelingClient";
|
|
4
2
|
import type { RotateTunnelAccessTokenRequest, RotateTunnelAccessTokenResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface RotateTunnelAccessTokenCommandInput extends RotateTunnelAccessT
|
|
|
22
19
|
export interface RotateTunnelAccessTokenCommandOutput extends RotateTunnelAccessTokenResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const RotateTunnelAccessTokenCommand_base: {
|
|
25
|
-
new (input: RotateTunnelAccessTokenCommandInput): import("@smithy/core/client").CommandImpl<RotateTunnelAccessTokenCommandInput, RotateTunnelAccessTokenCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: RotateTunnelAccessTokenCommandInput): import("@smithy/core/client").CommandImpl<RotateTunnelAccessTokenCommandInput, RotateTunnelAccessTokenCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: RotateTunnelAccessTokenCommandInput): import("@smithy/core/client").CommandImpl<RotateTunnelAccessTokenCommandInput, RotateTunnelAccessTokenCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: RotateTunnelAccessTokenCommandInput): import("@smithy/core/client").CommandImpl<RotateTunnelAccessTokenCommandInput, RotateTunnelAccessTokenCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Revokes the current client access token (CAT) and returns new CAT for clients to
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSecureTunnelingClient";
|
|
4
2
|
import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface TagResourceCommandInput extends TagResourceRequest {
|
|
|
22
19
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const TagResourceCommand_base: {
|
|
25
|
-
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").IoTSecureTunnelingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>A resource tag.</p>
|