@aws-sdk/client-iotsecuretunneling 3.1086.0 → 3.1088.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 +1 -1
- package/dist-types/ts3.4/IoTSecureTunneling.d.ts +29 -41
- package/dist-types/ts3.4/IoTSecureTunnelingClient.d.ts +9 -31
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/CloseTunnelCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DescribeTunnelCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListTunnelsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/OpenTunnelCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RotateTunnelAccessTokenCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +1 -2
- package/dist-types/ts3.4/models/errors.d.ts +2 -6
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListTunnelsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -3,10 +3,7 @@ import {
|
|
|
3
3
|
PaginationConfiguration,
|
|
4
4
|
Paginator,
|
|
5
5
|
} from "@smithy/types";
|
|
6
|
-
import {
|
|
7
|
-
CloseTunnelCommandInput,
|
|
8
|
-
CloseTunnelCommandOutput,
|
|
9
|
-
} from "./commands/CloseTunnelCommand";
|
|
6
|
+
import { CloseTunnelCommandInput, CloseTunnelCommandOutput } from "./commands/CloseTunnelCommand";
|
|
10
7
|
import {
|
|
11
8
|
DescribeTunnelCommandInput,
|
|
12
9
|
DescribeTunnelCommandOutput,
|
|
@@ -15,22 +12,13 @@ import {
|
|
|
15
12
|
ListTagsForResourceCommandInput,
|
|
16
13
|
ListTagsForResourceCommandOutput,
|
|
17
14
|
} from "./commands/ListTagsForResourceCommand";
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
ListTunnelsCommandOutput,
|
|
21
|
-
} from "./commands/ListTunnelsCommand";
|
|
22
|
-
import {
|
|
23
|
-
OpenTunnelCommandInput,
|
|
24
|
-
OpenTunnelCommandOutput,
|
|
25
|
-
} from "./commands/OpenTunnelCommand";
|
|
15
|
+
import { ListTunnelsCommandInput, ListTunnelsCommandOutput } from "./commands/ListTunnelsCommand";
|
|
16
|
+
import { OpenTunnelCommandInput, OpenTunnelCommandOutput } from "./commands/OpenTunnelCommand";
|
|
26
17
|
import {
|
|
27
18
|
RotateTunnelAccessTokenCommandInput,
|
|
28
19
|
RotateTunnelAccessTokenCommandOutput,
|
|
29
20
|
} from "./commands/RotateTunnelAccessTokenCommand";
|
|
30
|
-
import {
|
|
31
|
-
TagResourceCommandInput,
|
|
32
|
-
TagResourceCommandOutput,
|
|
33
|
-
} from "./commands/TagResourceCommand";
|
|
21
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
22
|
import {
|
|
35
23
|
UntagResourceCommandInput,
|
|
36
24
|
UntagResourceCommandOutput,
|
|
@@ -39,116 +27,116 @@ import { IoTSecureTunnelingClient } from "./IoTSecureTunnelingClient";
|
|
|
39
27
|
export interface IoTSecureTunneling {
|
|
40
28
|
closeTunnel(
|
|
41
29
|
args: CloseTunnelCommandInput,
|
|
42
|
-
options?: __HttpHandlerOptions
|
|
30
|
+
options?: __HttpHandlerOptions,
|
|
43
31
|
): Promise<CloseTunnelCommandOutput>;
|
|
44
32
|
closeTunnel(
|
|
45
33
|
args: CloseTunnelCommandInput,
|
|
46
|
-
cb: (err: any, data?: CloseTunnelCommandOutput) => void
|
|
34
|
+
cb: (err: any, data?: CloseTunnelCommandOutput) => void,
|
|
47
35
|
): void;
|
|
48
36
|
closeTunnel(
|
|
49
37
|
args: CloseTunnelCommandInput,
|
|
50
38
|
options: __HttpHandlerOptions,
|
|
51
|
-
cb: (err: any, data?: CloseTunnelCommandOutput) => void
|
|
39
|
+
cb: (err: any, data?: CloseTunnelCommandOutput) => void,
|
|
52
40
|
): void;
|
|
53
41
|
describeTunnel(
|
|
54
42
|
args: DescribeTunnelCommandInput,
|
|
55
|
-
options?: __HttpHandlerOptions
|
|
43
|
+
options?: __HttpHandlerOptions,
|
|
56
44
|
): Promise<DescribeTunnelCommandOutput>;
|
|
57
45
|
describeTunnel(
|
|
58
46
|
args: DescribeTunnelCommandInput,
|
|
59
|
-
cb: (err: any, data?: DescribeTunnelCommandOutput) => void
|
|
47
|
+
cb: (err: any, data?: DescribeTunnelCommandOutput) => void,
|
|
60
48
|
): void;
|
|
61
49
|
describeTunnel(
|
|
62
50
|
args: DescribeTunnelCommandInput,
|
|
63
51
|
options: __HttpHandlerOptions,
|
|
64
|
-
cb: (err: any, data?: DescribeTunnelCommandOutput) => void
|
|
52
|
+
cb: (err: any, data?: DescribeTunnelCommandOutput) => void,
|
|
65
53
|
): void;
|
|
66
54
|
listTagsForResource(
|
|
67
55
|
args: ListTagsForResourceCommandInput,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
56
|
+
options?: __HttpHandlerOptions,
|
|
69
57
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
70
58
|
listTagsForResource(
|
|
71
59
|
args: ListTagsForResourceCommandInput,
|
|
72
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
60
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
73
61
|
): void;
|
|
74
62
|
listTagsForResource(
|
|
75
63
|
args: ListTagsForResourceCommandInput,
|
|
76
64
|
options: __HttpHandlerOptions,
|
|
77
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
65
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
78
66
|
): void;
|
|
79
67
|
listTunnels(): Promise<ListTunnelsCommandOutput>;
|
|
80
68
|
listTunnels(
|
|
81
69
|
args: ListTunnelsCommandInput,
|
|
82
|
-
options?: __HttpHandlerOptions
|
|
70
|
+
options?: __HttpHandlerOptions,
|
|
83
71
|
): Promise<ListTunnelsCommandOutput>;
|
|
84
72
|
listTunnels(
|
|
85
73
|
args: ListTunnelsCommandInput,
|
|
86
|
-
cb: (err: any, data?: ListTunnelsCommandOutput) => void
|
|
74
|
+
cb: (err: any, data?: ListTunnelsCommandOutput) => void,
|
|
87
75
|
): void;
|
|
88
76
|
listTunnels(
|
|
89
77
|
args: ListTunnelsCommandInput,
|
|
90
78
|
options: __HttpHandlerOptions,
|
|
91
|
-
cb: (err: any, data?: ListTunnelsCommandOutput) => void
|
|
79
|
+
cb: (err: any, data?: ListTunnelsCommandOutput) => void,
|
|
92
80
|
): void;
|
|
93
81
|
openTunnel(): Promise<OpenTunnelCommandOutput>;
|
|
94
82
|
openTunnel(
|
|
95
83
|
args: OpenTunnelCommandInput,
|
|
96
|
-
options?: __HttpHandlerOptions
|
|
84
|
+
options?: __HttpHandlerOptions,
|
|
97
85
|
): Promise<OpenTunnelCommandOutput>;
|
|
98
86
|
openTunnel(
|
|
99
87
|
args: OpenTunnelCommandInput,
|
|
100
|
-
cb: (err: any, data?: OpenTunnelCommandOutput) => void
|
|
88
|
+
cb: (err: any, data?: OpenTunnelCommandOutput) => void,
|
|
101
89
|
): void;
|
|
102
90
|
openTunnel(
|
|
103
91
|
args: OpenTunnelCommandInput,
|
|
104
92
|
options: __HttpHandlerOptions,
|
|
105
|
-
cb: (err: any, data?: OpenTunnelCommandOutput) => void
|
|
93
|
+
cb: (err: any, data?: OpenTunnelCommandOutput) => void,
|
|
106
94
|
): void;
|
|
107
95
|
rotateTunnelAccessToken(
|
|
108
96
|
args: RotateTunnelAccessTokenCommandInput,
|
|
109
|
-
options?: __HttpHandlerOptions
|
|
97
|
+
options?: __HttpHandlerOptions,
|
|
110
98
|
): Promise<RotateTunnelAccessTokenCommandOutput>;
|
|
111
99
|
rotateTunnelAccessToken(
|
|
112
100
|
args: RotateTunnelAccessTokenCommandInput,
|
|
113
|
-
cb: (err: any, data?: RotateTunnelAccessTokenCommandOutput) => void
|
|
101
|
+
cb: (err: any, data?: RotateTunnelAccessTokenCommandOutput) => void,
|
|
114
102
|
): void;
|
|
115
103
|
rotateTunnelAccessToken(
|
|
116
104
|
args: RotateTunnelAccessTokenCommandInput,
|
|
117
105
|
options: __HttpHandlerOptions,
|
|
118
|
-
cb: (err: any, data?: RotateTunnelAccessTokenCommandOutput) => void
|
|
106
|
+
cb: (err: any, data?: RotateTunnelAccessTokenCommandOutput) => void,
|
|
119
107
|
): void;
|
|
120
108
|
tagResource(
|
|
121
109
|
args: TagResourceCommandInput,
|
|
122
|
-
options?: __HttpHandlerOptions
|
|
110
|
+
options?: __HttpHandlerOptions,
|
|
123
111
|
): Promise<TagResourceCommandOutput>;
|
|
124
112
|
tagResource(
|
|
125
113
|
args: TagResourceCommandInput,
|
|
126
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
114
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
127
115
|
): void;
|
|
128
116
|
tagResource(
|
|
129
117
|
args: TagResourceCommandInput,
|
|
130
118
|
options: __HttpHandlerOptions,
|
|
131
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
119
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
132
120
|
): void;
|
|
133
121
|
untagResource(
|
|
134
122
|
args: UntagResourceCommandInput,
|
|
135
|
-
options?: __HttpHandlerOptions
|
|
123
|
+
options?: __HttpHandlerOptions,
|
|
136
124
|
): Promise<UntagResourceCommandOutput>;
|
|
137
125
|
untagResource(
|
|
138
126
|
args: UntagResourceCommandInput,
|
|
139
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
127
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
140
128
|
): void;
|
|
141
129
|
untagResource(
|
|
142
130
|
args: UntagResourceCommandInput,
|
|
143
131
|
options: __HttpHandlerOptions,
|
|
144
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
132
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
145
133
|
): void;
|
|
146
134
|
paginateListTunnels(
|
|
147
135
|
args?: ListTunnelsCommandInput,
|
|
148
136
|
paginationConfig?: Pick<
|
|
149
137
|
PaginationConfiguration,
|
|
150
138
|
Exclude<keyof PaginationConfiguration, "client">
|
|
151
|
-
|
|
139
|
+
>,
|
|
152
140
|
): Paginator<ListTunnelsCommandOutput>;
|
|
153
141
|
}
|
|
154
142
|
export declare class IoTSecureTunneling
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -36,10 +33,7 @@ import {
|
|
|
36
33
|
HttpAuthSchemeInputConfig,
|
|
37
34
|
HttpAuthSchemeResolvedConfig,
|
|
38
35
|
} from "./auth/httpAuthSchemeProvider";
|
|
39
|
-
import {
|
|
40
|
-
CloseTunnelCommandInput,
|
|
41
|
-
CloseTunnelCommandOutput,
|
|
42
|
-
} from "./commands/CloseTunnelCommand";
|
|
36
|
+
import { CloseTunnelCommandInput, CloseTunnelCommandOutput } from "./commands/CloseTunnelCommand";
|
|
43
37
|
import {
|
|
44
38
|
DescribeTunnelCommandInput,
|
|
45
39
|
DescribeTunnelCommandOutput,
|
|
@@ -48,22 +42,13 @@ import {
|
|
|
48
42
|
ListTagsForResourceCommandInput,
|
|
49
43
|
ListTagsForResourceCommandOutput,
|
|
50
44
|
} from "./commands/ListTagsForResourceCommand";
|
|
51
|
-
import {
|
|
52
|
-
|
|
53
|
-
ListTunnelsCommandOutput,
|
|
54
|
-
} from "./commands/ListTunnelsCommand";
|
|
55
|
-
import {
|
|
56
|
-
OpenTunnelCommandInput,
|
|
57
|
-
OpenTunnelCommandOutput,
|
|
58
|
-
} from "./commands/OpenTunnelCommand";
|
|
45
|
+
import { ListTunnelsCommandInput, ListTunnelsCommandOutput } from "./commands/ListTunnelsCommand";
|
|
46
|
+
import { OpenTunnelCommandInput, OpenTunnelCommandOutput } from "./commands/OpenTunnelCommand";
|
|
59
47
|
import {
|
|
60
48
|
RotateTunnelAccessTokenCommandInput,
|
|
61
49
|
RotateTunnelAccessTokenCommandOutput,
|
|
62
50
|
} from "./commands/RotateTunnelAccessTokenCommand";
|
|
63
|
-
import {
|
|
64
|
-
TagResourceCommandInput,
|
|
65
|
-
TagResourceCommandOutput,
|
|
66
|
-
} from "./commands/TagResourceCommand";
|
|
51
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
67
52
|
import {
|
|
68
53
|
UntagResourceCommandInput,
|
|
69
54
|
UntagResourceCommandOutput,
|
|
@@ -93,8 +78,7 @@ export type ServiceOutputTypes =
|
|
|
93
78
|
| RotateTunnelAccessTokenCommandOutput
|
|
94
79
|
| TagResourceCommandOutput
|
|
95
80
|
| UntagResourceCommandOutput;
|
|
96
|
-
export interface ClientDefaults
|
|
97
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
81
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
98
82
|
requestHandler?: __HttpHandlerUserInput;
|
|
99
83
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
100
84
|
urlParser?: __UrlParser;
|
|
@@ -130,8 +114,7 @@ export type IoTSecureTunnelingClientConfigType = Partial<
|
|
|
130
114
|
EndpointInputConfig<EndpointParameters> &
|
|
131
115
|
HttpAuthSchemeInputConfig &
|
|
132
116
|
ClientInputEndpointParameters;
|
|
133
|
-
export interface IoTSecureTunnelingClientConfig
|
|
134
|
-
extends IoTSecureTunnelingClientConfigType {}
|
|
117
|
+
export interface IoTSecureTunnelingClientConfig extends IoTSecureTunnelingClientConfigType {}
|
|
135
118
|
export type IoTSecureTunnelingClientResolvedConfigType =
|
|
136
119
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
137
120
|
Required<ClientDefaults> &
|
|
@@ -143,8 +126,7 @@ export type IoTSecureTunnelingClientResolvedConfigType =
|
|
|
143
126
|
EndpointResolvedConfig<EndpointParameters> &
|
|
144
127
|
HttpAuthSchemeResolvedConfig &
|
|
145
128
|
ClientResolvedEndpointParameters;
|
|
146
|
-
export interface IoTSecureTunnelingClientResolvedConfig
|
|
147
|
-
extends IoTSecureTunnelingClientResolvedConfigType {}
|
|
129
|
+
export interface IoTSecureTunnelingClientResolvedConfig extends IoTSecureTunnelingClientResolvedConfigType {}
|
|
148
130
|
export declare class IoTSecureTunnelingClient extends __Client<
|
|
149
131
|
__HttpHandlerOptions,
|
|
150
132
|
ServiceInputTypes,
|
|
@@ -152,10 +134,6 @@ export declare class IoTSecureTunnelingClient extends __Client<
|
|
|
152
134
|
IoTSecureTunnelingClientResolvedConfig
|
|
153
135
|
> {
|
|
154
136
|
readonly config: IoTSecureTunnelingClientResolvedConfig;
|
|
155
|
-
constructor(
|
|
156
|
-
...[
|
|
157
|
-
configuration,
|
|
158
|
-
]: __CheckOptionalClientConfig<IoTSecureTunnelingClientConfig>
|
|
159
|
-
);
|
|
137
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<IoTSecureTunnelingClientConfig>);
|
|
160
138
|
destroy(): void;
|
|
161
139
|
}
|
|
@@ -7,17 +7,10 @@ import { IoTSecureTunnelingHttpAuthSchemeProvider } from "./httpAuthSchemeProvid
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: IoTSecureTunnelingHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: IoTSecureTunnelingHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): IoTSecureTunnelingHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { IoTSecureTunnelingClientResolvedConfig } from "../IoTSecureTunnelingClient";
|
|
15
|
-
export interface IoTSecureTunnelingHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface IoTSecureTunnelingHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface IoTSecureTunnelingHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface IoTSecureTunnelingHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
IoTSecureTunnelingClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
IoTSecureTunnelingHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultIoTSecureTunnelingHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: IoTSecureTunnelingClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<IoTSecureTunnelingHttpAuthSchemeParameters>;
|
|
31
|
-
export interface IoTSecureTunnelingHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<IoTSecureTunnelingHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface IoTSecureTunnelingHttpAuthSchemeProvider extends HttpAuthSchemeProvider<IoTSecureTunnelingHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultIoTSecureTunnelingHttpAuthSchemeProvider: IoTSecureTunnelingHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: IoTSecureTunnelingHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: IoTSecureTunnelingHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./IoTSecureTunnelingClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
IoTSecureTunnelingClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { CloseTunnelRequest, CloseTunnelResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface CloseTunnelCommandInput extends CloseTunnelRequest {}
|
|
5
|
-
export interface CloseTunnelCommandOutput
|
|
6
|
-
extends CloseTunnelResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface CloseTunnelCommandOutput extends CloseTunnelResponse, __MetadataBearer {}
|
|
8
6
|
declare const CloseTunnelCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: CloseTunnelCommandInput
|
|
8
|
+
input: CloseTunnelCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
CloseTunnelCommandInput,
|
|
13
11
|
CloseTunnelCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const CloseTunnelCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: CloseTunnelCommandInput
|
|
17
|
+
input: CloseTunnelCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
CloseTunnelCommandInput,
|
|
22
20
|
CloseTunnelCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
DescribeTunnelRequest,
|
|
4
|
-
DescribeTunnelResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { DescribeTunnelRequest, DescribeTunnelResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface DescribeTunnelCommandInput extends DescribeTunnelRequest {}
|
|
8
|
-
export interface DescribeTunnelCommandOutput
|
|
9
|
-
extends DescribeTunnelResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface DescribeTunnelCommandOutput extends DescribeTunnelResponse, __MetadataBearer {}
|
|
11
6
|
declare const DescribeTunnelCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: DescribeTunnelCommandInput
|
|
8
|
+
input: DescribeTunnelCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
DescribeTunnelCommandInput,
|
|
16
11
|
DescribeTunnelCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const DescribeTunnelCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: DescribeTunnelCommandInput
|
|
17
|
+
input: DescribeTunnelCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
DescribeTunnelCommandInput,
|
|
25
20
|
DescribeTunnelCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListTagsForResourceRequest,
|
|
4
|
-
ListTagsForResourceResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface ListTagsForResourceCommandInput
|
|
8
|
-
extends ListTagsForResourceRequest {}
|
|
4
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
9
5
|
export interface ListTagsForResourceCommandOutput
|
|
10
|
-
extends ListTagsForResourceResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
12
7
|
declare const ListTagsForResourceCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: ListTagsForResourceCommandInput
|
|
9
|
+
input: ListTagsForResourceCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
ListTagsForResourceCommandInput,
|
|
17
12
|
ListTagsForResourceCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: ListTagsForResourceCommandInput
|
|
18
|
+
input: ListTagsForResourceCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
ListTagsForResourceCommandInput,
|
|
26
21
|
ListTagsForResourceCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { ListTunnelsRequest, ListTunnelsResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface ListTunnelsCommandInput extends ListTunnelsRequest {}
|
|
5
|
-
export interface ListTunnelsCommandOutput
|
|
6
|
-
extends ListTunnelsResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface ListTunnelsCommandOutput extends ListTunnelsResponse, __MetadataBearer {}
|
|
8
6
|
declare const ListTunnelsCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: ListTunnelsCommandInput
|
|
8
|
+
input: ListTunnelsCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
ListTunnelsCommandInput,
|
|
13
11
|
ListTunnelsCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { OpenTunnelRequest, OpenTunnelResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface OpenTunnelCommandInput extends OpenTunnelRequest {}
|
|
5
|
-
export interface OpenTunnelCommandOutput
|
|
6
|
-
extends OpenTunnelResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface OpenTunnelCommandOutput extends OpenTunnelResponse, __MetadataBearer {}
|
|
8
6
|
declare const OpenTunnelCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: OpenTunnelCommandInput
|
|
8
|
+
input: OpenTunnelCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
OpenTunnelCommandInput,
|
|
13
11
|
OpenTunnelCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
RotateTunnelAccessTokenResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface RotateTunnelAccessTokenCommandInput
|
|
8
|
-
extends RotateTunnelAccessTokenRequest {}
|
|
7
|
+
export interface RotateTunnelAccessTokenCommandInput extends RotateTunnelAccessTokenRequest {}
|
|
9
8
|
export interface RotateTunnelAccessTokenCommandOutput
|
|
10
|
-
extends RotateTunnelAccessTokenResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends RotateTunnelAccessTokenResponse, __MetadataBearer {}
|
|
12
10
|
declare const RotateTunnelAccessTokenCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: RotateTunnelAccessTokenCommandInput
|
|
12
|
+
input: RotateTunnelAccessTokenCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
RotateTunnelAccessTokenCommandInput,
|
|
17
15
|
RotateTunnelAccessTokenCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const RotateTunnelAccessTokenCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: RotateTunnelAccessTokenCommandInput
|
|
21
|
+
input: RotateTunnelAccessTokenCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
RotateTunnelAccessTokenCommandInput,
|
|
26
24
|
RotateTunnelAccessTokenCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
5
|
-
export interface TagResourceCommandOutput
|
|
6
|
-
extends TagResourceResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
8
6
|
declare const TagResourceCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: TagResourceCommandInput
|
|
8
|
+
input: TagResourceCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
TagResourceCommandInput,
|
|
13
11
|
TagResourceCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const TagResourceCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: TagResourceCommandInput
|
|
17
|
+
input: TagResourceCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
TagResourceCommandInput,
|
|
22
20
|
TagResourceCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
UntagResourceRequest,
|
|
4
|
-
UntagResourceResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
8
|
-
export interface UntagResourceCommandOutput
|
|
9
|
-
extends UntagResourceResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
11
6
|
declare const UntagResourceCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: UntagResourceCommandInput
|
|
8
|
+
input: UntagResourceCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
UntagResourceCommandInput,
|
|
16
11
|
UntagResourceCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const UntagResourceCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: UntagResourceCommandInput
|
|
17
|
+
input: UntagResourceCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
UntagResourceCommandInput,
|
|
25
20
|
UntagResourceCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface IoTSecureTunnelingExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -8,8 +8,7 @@ export declare const ConnectionStatus: {
|
|
|
8
8
|
readonly CONNECTED: "CONNECTED";
|
|
9
9
|
readonly DISCONNECTED: "DISCONNECTED";
|
|
10
10
|
};
|
|
11
|
-
export type ConnectionStatus =
|
|
12
|
-
(typeof ConnectionStatus)[keyof typeof ConnectionStatus];
|
|
11
|
+
export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
|
|
13
12
|
export declare const TunnelStatus: {
|
|
14
13
|
readonly CLOSED: "CLOSED";
|
|
15
14
|
readonly OPEN: "OPEN";
|
|
@@ -3,14 +3,10 @@ import { IoTSecureTunnelingServiceException as __BaseException } from "./IoTSecu
|
|
|
3
3
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
4
4
|
readonly name: "ResourceNotFoundException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
8
|
-
);
|
|
6
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
9
7
|
}
|
|
10
8
|
export declare class LimitExceededException extends __BaseException {
|
|
11
9
|
readonly name: "LimitExceededException";
|
|
12
10
|
readonly $fault: "client";
|
|
13
|
-
constructor(
|
|
14
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
15
|
-
);
|
|
11
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
16
12
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { IoTSecureTunnelingClient } from "../IoTSecureTunnelingClient";
|
|
3
|
-
export interface IoTSecureTunnelingPaginationConfiguration
|
|
4
|
-
extends PaginationConfiguration {
|
|
3
|
+
export interface IoTSecureTunnelingPaginationConfiguration extends PaginationConfiguration {
|
|
5
4
|
client: IoTSecureTunnelingClient;
|
|
6
5
|
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListTunnelsCommandInput,
|
|
4
|
-
ListTunnelsCommandOutput,
|
|
5
|
-
} from "../commands/ListTunnelsCommand";
|
|
2
|
+
import { ListTunnelsCommandInput, ListTunnelsCommandOutput } from "../commands/ListTunnelsCommand";
|
|
6
3
|
import { IoTSecureTunnelingPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateListTunnels: (
|
|
8
5
|
config: IoTSecureTunnelingPaginationConfiguration,
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { IoTSecureTunnelingClientConfig } from "./IoTSecureTunnelingClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: IoTSecureTunnelingClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: IoTSecureTunnelingClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider:
|
|
12
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
-
| ((
|
|
14
|
-
_: unknown
|
|
15
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
16
12
|
defaultUserAgentProvider: (
|
|
17
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
18
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
24
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
19
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
21
|
) => Promise<Uint8Array>;
|
|
32
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
|
|
|
55
45
|
logger: import("@smithy/types").Logger;
|
|
56
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
userAgentAppId?:
|
|
59
|
-
|
|
60
|
-
| undefined
|
|
61
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
62
|
-
retryStrategy?:
|
|
63
|
-
| import("@smithy/types").RetryStrategy
|
|
64
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
65
50
|
endpoint?:
|
|
66
51
|
| ((
|
|
67
52
|
| string
|
|
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
|
|
|
83
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
84
69
|
context?: {
|
|
85
70
|
logger?: import("@smithy/types").Logger;
|
|
86
|
-
}
|
|
71
|
+
},
|
|
87
72
|
) => import("@smithy/types").EndpointV2;
|
|
88
73
|
tls?: boolean;
|
|
89
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -96,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
96
81
|
signer?:
|
|
97
82
|
| import("@smithy/types").RequestSigner
|
|
98
83
|
| ((
|
|
99
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
100
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
101
86
|
signingEscapePath?: boolean;
|
|
102
87
|
systemClockOffset?: number;
|
|
103
88
|
signingRegion?: string;
|
|
104
89
|
signerConstructor?: new (
|
|
105
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
106
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
107
92
|
) => import("@smithy/types").RequestSigner;
|
|
108
93
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { IoTSecureTunnelingClientConfig } from "./IoTSecureTunnelingClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: IoTSecureTunnelingClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: IoTSecureTunnelingClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
|
|
|
12
10
|
credentialDefaultProvider:
|
|
13
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
14
12
|
| ((
|
|
15
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
16
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
15
|
defaultUserAgentProvider: (
|
|
18
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
19
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
|
-
requestHandler:
|
|
23
|
-
| RequestHandler
|
|
24
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
22
|
streamCollector: (
|
|
27
|
-
stream:
|
|
28
|
-
| import("stream").Readable
|
|
29
|
-
| import("stream/web").ReadableStream
|
|
30
|
-
| ReadableStream
|
|
31
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
32
24
|
) => Promise<Uint8Array>;
|
|
33
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
|
|
|
55
47
|
logger: import("@smithy/types").Logger;
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
retryStrategy?:
|
|
59
|
-
| import("@smithy/types").RetryStrategy
|
|
60
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
61
51
|
endpoint?:
|
|
62
52
|
| ((
|
|
63
53
|
| string
|
|
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
|
|
|
79
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
80
70
|
context?: {
|
|
81
71
|
logger?: import("@smithy/types").Logger;
|
|
82
|
-
}
|
|
72
|
+
},
|
|
83
73
|
) => import("@smithy/types").EndpointV2;
|
|
84
74
|
tls?: boolean;
|
|
85
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -91,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
91
81
|
signer?:
|
|
92
82
|
| import("@smithy/types").RequestSigner
|
|
93
83
|
| ((
|
|
94
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
95
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
96
86
|
signingEscapePath?: boolean;
|
|
97
87
|
systemClockOffset?: number;
|
|
98
88
|
signingRegion?: string;
|
|
99
89
|
signerConstructor?: new (
|
|
100
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
101
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
102
92
|
) => import("@smithy/types").RequestSigner;
|
|
103
93
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { IoTSecureTunnelingClientConfig } from "./IoTSecureTunnelingClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: IoTSecureTunnelingClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: IoTSecureTunnelingClientConfig) => {
|
|
5
3
|
runtime: string;
|
|
6
4
|
requestHandler:
|
|
7
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
23
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
25
|
) => Promise<Uint8Array>;
|
|
32
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
|
|
|
42
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
43
37
|
profile?: string;
|
|
44
38
|
defaultUserAgentProvider: (
|
|
45
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
46
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
47
41
|
credentialDefaultProvider:
|
|
48
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
49
|
-
| ((
|
|
50
|
-
_: unknown
|
|
51
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
52
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
53
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
defaultsMode:
|
|
57
49
|
| import("@smithy/core/client").DefaultsMode
|
|
58
|
-
| import("@smithy/types").Provider<
|
|
59
|
-
import("@smithy/core/client").DefaultsMode
|
|
60
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
61
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
62
|
-
userAgentAppId?:
|
|
63
|
-
|
|
64
|
-
| undefined
|
|
65
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
66
|
-
retryStrategy?:
|
|
67
|
-
| import("@smithy/types").RetryStrategy
|
|
68
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
69
54
|
endpoint?:
|
|
70
55
|
| ((
|
|
71
56
|
| string
|
|
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
|
|
|
87
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
88
73
|
context?: {
|
|
89
74
|
logger?: import("@smithy/types").Logger;
|
|
90
|
-
}
|
|
75
|
+
},
|
|
91
76
|
) => import("@smithy/types").EndpointV2;
|
|
92
77
|
tls?: boolean;
|
|
93
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -100,13 +85,13 @@ export declare const getRuntimeConfig: (
|
|
|
100
85
|
signer?:
|
|
101
86
|
| import("@smithy/types").RequestSigner
|
|
102
87
|
| ((
|
|
103
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
104
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
105
90
|
signingEscapePath?: boolean;
|
|
106
91
|
systemClockOffset?: number;
|
|
107
92
|
signingRegion?: string;
|
|
108
93
|
signerConstructor?: new (
|
|
109
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
110
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
111
96
|
) => import("@smithy/types").RequestSigner;
|
|
112
97
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
2
|
import { IoTSecureTunnelingClientConfig } from "./IoTSecureTunnelingClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: IoTSecureTunnelingClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: IoTSecureTunnelingClientConfig) => {
|
|
6
4
|
apiVersion: string;
|
|
7
5
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
6
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
10
|
context?: {
|
|
13
11
|
logger?: import("@smithy/types").Logger;
|
|
14
|
-
}
|
|
12
|
+
},
|
|
15
13
|
) => import("@smithy/types").EndpointV2;
|
|
16
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").IoTSecureTunnelingHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { IoTSecureTunnelingExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: IoTSecureTunnelingExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: IoTSecureTunnelingExtensionConfiguration): void;
|
|
6
4
|
}
|
|
7
5
|
export interface RuntimeExtensionsConfig {
|
|
8
6
|
extensions: RuntimeExtension[];
|
|
9
7
|
}
|
|
10
8
|
export declare const resolveRuntimeExtensions: (
|
|
11
9
|
runtimeConfig: any,
|
|
12
|
-
extensions: RuntimeExtension[]
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
13
11
|
) => any;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var IoTSecureTunnelingServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var LimitExceededException$: StaticErrorSchema;
|
|
9
5
|
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iotsecuretunneling",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Iotsecuretunneling Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iotsecuretunneling",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-iotsecuretunneling"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,18 +45,14 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.16.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
55
|
+
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
31
58
|
"devDependencies": {
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iotsecuretunneling",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-iotsecuretunneling"
|
|
68
68
|
}
|
|
69
69
|
}
|