@aws-sdk/client-polly 3.1087.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/Polly.d.ts +33 -39
- package/dist-types/ts3.4/PollyClient.d.ts +20 -39
- 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 +9 -19
- package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/StartSpeechSynthesisStreamCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +6 -14
- 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 +24 -88
- package/dist-types/ts3.4/models/models_0.d.ts +2 -6
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +41 -41
package/dist-cjs/index.js
CHANGED
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
DescribeVoicesCommandInput,
|
|
12
12
|
DescribeVoicesCommandOutput,
|
|
13
13
|
} from "./commands/DescribeVoicesCommand";
|
|
14
|
-
import {
|
|
15
|
-
GetLexiconCommandInput,
|
|
16
|
-
GetLexiconCommandOutput,
|
|
17
|
-
} from "./commands/GetLexiconCommand";
|
|
14
|
+
import { GetLexiconCommandInput, GetLexiconCommandOutput } from "./commands/GetLexiconCommand";
|
|
18
15
|
import {
|
|
19
16
|
GetSpeechSynthesisTaskCommandInput,
|
|
20
17
|
GetSpeechSynthesisTaskCommandOutput,
|
|
@@ -27,10 +24,7 @@ import {
|
|
|
27
24
|
ListSpeechSynthesisTasksCommandInput,
|
|
28
25
|
ListSpeechSynthesisTasksCommandOutput,
|
|
29
26
|
} from "./commands/ListSpeechSynthesisTasksCommand";
|
|
30
|
-
import {
|
|
31
|
-
PutLexiconCommandInput,
|
|
32
|
-
PutLexiconCommandOutput,
|
|
33
|
-
} from "./commands/PutLexiconCommand";
|
|
27
|
+
import { PutLexiconCommandInput, PutLexiconCommandOutput } from "./commands/PutLexiconCommand";
|
|
34
28
|
import {
|
|
35
29
|
StartSpeechSynthesisStreamCommandInput,
|
|
36
30
|
StartSpeechSynthesisStreamCommandOutput,
|
|
@@ -47,143 +41,143 @@ import { PollyClient } from "./PollyClient";
|
|
|
47
41
|
export interface Polly {
|
|
48
42
|
deleteLexicon(
|
|
49
43
|
args: DeleteLexiconCommandInput,
|
|
50
|
-
options?: __HttpHandlerOptions
|
|
44
|
+
options?: __HttpHandlerOptions,
|
|
51
45
|
): Promise<DeleteLexiconCommandOutput>;
|
|
52
46
|
deleteLexicon(
|
|
53
47
|
args: DeleteLexiconCommandInput,
|
|
54
|
-
cb: (err: any, data?: DeleteLexiconCommandOutput) => void
|
|
48
|
+
cb: (err: any, data?: DeleteLexiconCommandOutput) => void,
|
|
55
49
|
): void;
|
|
56
50
|
deleteLexicon(
|
|
57
51
|
args: DeleteLexiconCommandInput,
|
|
58
52
|
options: __HttpHandlerOptions,
|
|
59
|
-
cb: (err: any, data?: DeleteLexiconCommandOutput) => void
|
|
53
|
+
cb: (err: any, data?: DeleteLexiconCommandOutput) => void,
|
|
60
54
|
): void;
|
|
61
55
|
describeVoices(): Promise<DescribeVoicesCommandOutput>;
|
|
62
56
|
describeVoices(
|
|
63
57
|
args: DescribeVoicesCommandInput,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
58
|
+
options?: __HttpHandlerOptions,
|
|
65
59
|
): Promise<DescribeVoicesCommandOutput>;
|
|
66
60
|
describeVoices(
|
|
67
61
|
args: DescribeVoicesCommandInput,
|
|
68
|
-
cb: (err: any, data?: DescribeVoicesCommandOutput) => void
|
|
62
|
+
cb: (err: any, data?: DescribeVoicesCommandOutput) => void,
|
|
69
63
|
): void;
|
|
70
64
|
describeVoices(
|
|
71
65
|
args: DescribeVoicesCommandInput,
|
|
72
66
|
options: __HttpHandlerOptions,
|
|
73
|
-
cb: (err: any, data?: DescribeVoicesCommandOutput) => void
|
|
67
|
+
cb: (err: any, data?: DescribeVoicesCommandOutput) => void,
|
|
74
68
|
): void;
|
|
75
69
|
getLexicon(
|
|
76
70
|
args: GetLexiconCommandInput,
|
|
77
|
-
options?: __HttpHandlerOptions
|
|
71
|
+
options?: __HttpHandlerOptions,
|
|
78
72
|
): Promise<GetLexiconCommandOutput>;
|
|
79
73
|
getLexicon(
|
|
80
74
|
args: GetLexiconCommandInput,
|
|
81
|
-
cb: (err: any, data?: GetLexiconCommandOutput) => void
|
|
75
|
+
cb: (err: any, data?: GetLexiconCommandOutput) => void,
|
|
82
76
|
): void;
|
|
83
77
|
getLexicon(
|
|
84
78
|
args: GetLexiconCommandInput,
|
|
85
79
|
options: __HttpHandlerOptions,
|
|
86
|
-
cb: (err: any, data?: GetLexiconCommandOutput) => void
|
|
80
|
+
cb: (err: any, data?: GetLexiconCommandOutput) => void,
|
|
87
81
|
): void;
|
|
88
82
|
getSpeechSynthesisTask(
|
|
89
83
|
args: GetSpeechSynthesisTaskCommandInput,
|
|
90
|
-
options?: __HttpHandlerOptions
|
|
84
|
+
options?: __HttpHandlerOptions,
|
|
91
85
|
): Promise<GetSpeechSynthesisTaskCommandOutput>;
|
|
92
86
|
getSpeechSynthesisTask(
|
|
93
87
|
args: GetSpeechSynthesisTaskCommandInput,
|
|
94
|
-
cb: (err: any, data?: GetSpeechSynthesisTaskCommandOutput) => void
|
|
88
|
+
cb: (err: any, data?: GetSpeechSynthesisTaskCommandOutput) => void,
|
|
95
89
|
): void;
|
|
96
90
|
getSpeechSynthesisTask(
|
|
97
91
|
args: GetSpeechSynthesisTaskCommandInput,
|
|
98
92
|
options: __HttpHandlerOptions,
|
|
99
|
-
cb: (err: any, data?: GetSpeechSynthesisTaskCommandOutput) => void
|
|
93
|
+
cb: (err: any, data?: GetSpeechSynthesisTaskCommandOutput) => void,
|
|
100
94
|
): void;
|
|
101
95
|
listLexicons(): Promise<ListLexiconsCommandOutput>;
|
|
102
96
|
listLexicons(
|
|
103
97
|
args: ListLexiconsCommandInput,
|
|
104
|
-
options?: __HttpHandlerOptions
|
|
98
|
+
options?: __HttpHandlerOptions,
|
|
105
99
|
): Promise<ListLexiconsCommandOutput>;
|
|
106
100
|
listLexicons(
|
|
107
101
|
args: ListLexiconsCommandInput,
|
|
108
|
-
cb: (err: any, data?: ListLexiconsCommandOutput) => void
|
|
102
|
+
cb: (err: any, data?: ListLexiconsCommandOutput) => void,
|
|
109
103
|
): void;
|
|
110
104
|
listLexicons(
|
|
111
105
|
args: ListLexiconsCommandInput,
|
|
112
106
|
options: __HttpHandlerOptions,
|
|
113
|
-
cb: (err: any, data?: ListLexiconsCommandOutput) => void
|
|
107
|
+
cb: (err: any, data?: ListLexiconsCommandOutput) => void,
|
|
114
108
|
): void;
|
|
115
109
|
listSpeechSynthesisTasks(): Promise<ListSpeechSynthesisTasksCommandOutput>;
|
|
116
110
|
listSpeechSynthesisTasks(
|
|
117
111
|
args: ListSpeechSynthesisTasksCommandInput,
|
|
118
|
-
options?: __HttpHandlerOptions
|
|
112
|
+
options?: __HttpHandlerOptions,
|
|
119
113
|
): Promise<ListSpeechSynthesisTasksCommandOutput>;
|
|
120
114
|
listSpeechSynthesisTasks(
|
|
121
115
|
args: ListSpeechSynthesisTasksCommandInput,
|
|
122
|
-
cb: (err: any, data?: ListSpeechSynthesisTasksCommandOutput) => void
|
|
116
|
+
cb: (err: any, data?: ListSpeechSynthesisTasksCommandOutput) => void,
|
|
123
117
|
): void;
|
|
124
118
|
listSpeechSynthesisTasks(
|
|
125
119
|
args: ListSpeechSynthesisTasksCommandInput,
|
|
126
120
|
options: __HttpHandlerOptions,
|
|
127
|
-
cb: (err: any, data?: ListSpeechSynthesisTasksCommandOutput) => void
|
|
121
|
+
cb: (err: any, data?: ListSpeechSynthesisTasksCommandOutput) => void,
|
|
128
122
|
): void;
|
|
129
123
|
putLexicon(
|
|
130
124
|
args: PutLexiconCommandInput,
|
|
131
|
-
options?: __HttpHandlerOptions
|
|
125
|
+
options?: __HttpHandlerOptions,
|
|
132
126
|
): Promise<PutLexiconCommandOutput>;
|
|
133
127
|
putLexicon(
|
|
134
128
|
args: PutLexiconCommandInput,
|
|
135
|
-
cb: (err: any, data?: PutLexiconCommandOutput) => void
|
|
129
|
+
cb: (err: any, data?: PutLexiconCommandOutput) => void,
|
|
136
130
|
): void;
|
|
137
131
|
putLexicon(
|
|
138
132
|
args: PutLexiconCommandInput,
|
|
139
133
|
options: __HttpHandlerOptions,
|
|
140
|
-
cb: (err: any, data?: PutLexiconCommandOutput) => void
|
|
134
|
+
cb: (err: any, data?: PutLexiconCommandOutput) => void,
|
|
141
135
|
): void;
|
|
142
136
|
startSpeechSynthesisStream(
|
|
143
137
|
args: StartSpeechSynthesisStreamCommandInput,
|
|
144
|
-
options?: __HttpHandlerOptions
|
|
138
|
+
options?: __HttpHandlerOptions,
|
|
145
139
|
): Promise<StartSpeechSynthesisStreamCommandOutput>;
|
|
146
140
|
startSpeechSynthesisStream(
|
|
147
141
|
args: StartSpeechSynthesisStreamCommandInput,
|
|
148
|
-
cb: (err: any, data?: StartSpeechSynthesisStreamCommandOutput) => void
|
|
142
|
+
cb: (err: any, data?: StartSpeechSynthesisStreamCommandOutput) => void,
|
|
149
143
|
): void;
|
|
150
144
|
startSpeechSynthesisStream(
|
|
151
145
|
args: StartSpeechSynthesisStreamCommandInput,
|
|
152
146
|
options: __HttpHandlerOptions,
|
|
153
|
-
cb: (err: any, data?: StartSpeechSynthesisStreamCommandOutput) => void
|
|
147
|
+
cb: (err: any, data?: StartSpeechSynthesisStreamCommandOutput) => void,
|
|
154
148
|
): void;
|
|
155
149
|
startSpeechSynthesisTask(
|
|
156
150
|
args: StartSpeechSynthesisTaskCommandInput,
|
|
157
|
-
options?: __HttpHandlerOptions
|
|
151
|
+
options?: __HttpHandlerOptions,
|
|
158
152
|
): Promise<StartSpeechSynthesisTaskCommandOutput>;
|
|
159
153
|
startSpeechSynthesisTask(
|
|
160
154
|
args: StartSpeechSynthesisTaskCommandInput,
|
|
161
|
-
cb: (err: any, data?: StartSpeechSynthesisTaskCommandOutput) => void
|
|
155
|
+
cb: (err: any, data?: StartSpeechSynthesisTaskCommandOutput) => void,
|
|
162
156
|
): void;
|
|
163
157
|
startSpeechSynthesisTask(
|
|
164
158
|
args: StartSpeechSynthesisTaskCommandInput,
|
|
165
159
|
options: __HttpHandlerOptions,
|
|
166
|
-
cb: (err: any, data?: StartSpeechSynthesisTaskCommandOutput) => void
|
|
160
|
+
cb: (err: any, data?: StartSpeechSynthesisTaskCommandOutput) => void,
|
|
167
161
|
): void;
|
|
168
162
|
synthesizeSpeech(
|
|
169
163
|
args: SynthesizeSpeechCommandInput,
|
|
170
|
-
options?: __HttpHandlerOptions
|
|
164
|
+
options?: __HttpHandlerOptions,
|
|
171
165
|
): Promise<SynthesizeSpeechCommandOutput>;
|
|
172
166
|
synthesizeSpeech(
|
|
173
167
|
args: SynthesizeSpeechCommandInput,
|
|
174
|
-
cb: (err: any, data?: SynthesizeSpeechCommandOutput) => void
|
|
168
|
+
cb: (err: any, data?: SynthesizeSpeechCommandOutput) => void,
|
|
175
169
|
): void;
|
|
176
170
|
synthesizeSpeech(
|
|
177
171
|
args: SynthesizeSpeechCommandInput,
|
|
178
172
|
options: __HttpHandlerOptions,
|
|
179
|
-
cb: (err: any, data?: SynthesizeSpeechCommandOutput) => void
|
|
173
|
+
cb: (err: any, data?: SynthesizeSpeechCommandOutput) => void,
|
|
180
174
|
): void;
|
|
181
175
|
paginateListSpeechSynthesisTasks(
|
|
182
176
|
args?: ListSpeechSynthesisTasksCommandInput,
|
|
183
177
|
paginationConfig?: Pick<
|
|
184
178
|
PaginationConfiguration,
|
|
185
179
|
Exclude<keyof PaginationConfiguration, "client">
|
|
186
|
-
|
|
180
|
+
>,
|
|
187
181
|
): Paginator<ListSpeechSynthesisTasksCommandOutput>;
|
|
188
182
|
}
|
|
189
183
|
export declare class Polly extends PollyClient implements Polly {}
|
|
@@ -4,10 +4,7 @@ import {
|
|
|
4
4
|
UserAgentInputConfig,
|
|
5
5
|
UserAgentResolvedConfig,
|
|
6
6
|
} from "@aws-sdk/core/client";
|
|
7
|
-
import {
|
|
8
|
-
EventStreamInputConfig,
|
|
9
|
-
EventStreamResolvedConfig,
|
|
10
|
-
} from "@aws-sdk/middleware-eventstream";
|
|
7
|
+
import { EventStreamInputConfig, EventStreamResolvedConfig } from "@aws-sdk/middleware-eventstream";
|
|
11
8
|
import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
|
|
12
9
|
import {
|
|
13
10
|
DefaultsMode as __DefaultsMode,
|
|
@@ -16,10 +13,7 @@ import {
|
|
|
16
13
|
Client as __Client,
|
|
17
14
|
} from "@smithy/core/client";
|
|
18
15
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
19
|
-
import {
|
|
20
|
-
EndpointInputConfig,
|
|
21
|
-
EndpointResolvedConfig,
|
|
22
|
-
} from "@smithy/core/endpoints";
|
|
16
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
23
17
|
import {
|
|
24
18
|
EventStreamSerdeInputConfig,
|
|
25
19
|
EventStreamSerdeResolvedConfig,
|
|
@@ -55,10 +49,7 @@ import {
|
|
|
55
49
|
DescribeVoicesCommandInput,
|
|
56
50
|
DescribeVoicesCommandOutput,
|
|
57
51
|
} from "./commands/DescribeVoicesCommand";
|
|
58
|
-
import {
|
|
59
|
-
GetLexiconCommandInput,
|
|
60
|
-
GetLexiconCommandOutput,
|
|
61
|
-
} from "./commands/GetLexiconCommand";
|
|
52
|
+
import { GetLexiconCommandInput, GetLexiconCommandOutput } from "./commands/GetLexiconCommand";
|
|
62
53
|
import {
|
|
63
54
|
GetSpeechSynthesisTaskCommandInput,
|
|
64
55
|
GetSpeechSynthesisTaskCommandOutput,
|
|
@@ -71,10 +62,7 @@ import {
|
|
|
71
62
|
ListSpeechSynthesisTasksCommandInput,
|
|
72
63
|
ListSpeechSynthesisTasksCommandOutput,
|
|
73
64
|
} from "./commands/ListSpeechSynthesisTasksCommand";
|
|
74
|
-
import {
|
|
75
|
-
PutLexiconCommandInput,
|
|
76
|
-
PutLexiconCommandOutput,
|
|
77
|
-
} from "./commands/PutLexiconCommand";
|
|
65
|
+
import { PutLexiconCommandInput, PutLexiconCommandOutput } from "./commands/PutLexiconCommand";
|
|
78
66
|
import {
|
|
79
67
|
StartSpeechSynthesisStreamCommandInput,
|
|
80
68
|
StartSpeechSynthesisStreamCommandOutput,
|
|
@@ -116,8 +104,7 @@ export type ServiceOutputTypes =
|
|
|
116
104
|
| StartSpeechSynthesisStreamCommandOutput
|
|
117
105
|
| StartSpeechSynthesisTaskCommandOutput
|
|
118
106
|
| SynthesizeSpeechCommandOutput;
|
|
119
|
-
export interface ClientDefaults
|
|
120
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
107
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
121
108
|
requestHandler?: __HttpHandlerUserInput;
|
|
122
109
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
123
110
|
urlParser?: __UrlParser;
|
|
@@ -145,9 +132,7 @@ export interface ClientDefaults
|
|
|
145
132
|
eventStreamPayloadHandlerProvider?: __EventStreamPayloadHandlerProvider;
|
|
146
133
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
147
134
|
}
|
|
148
|
-
export type PollyClientConfigType = Partial<
|
|
149
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
150
|
-
> &
|
|
135
|
+
export type PollyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
151
136
|
ClientDefaults &
|
|
152
137
|
UserAgentInputConfig &
|
|
153
138
|
RetryInputConfig &
|
|
@@ -159,21 +144,19 @@ export type PollyClientConfigType = Partial<
|
|
|
159
144
|
EventStreamInputConfig &
|
|
160
145
|
ClientInputEndpointParameters;
|
|
161
146
|
export interface PollyClientConfig extends PollyClientConfigType {}
|
|
162
|
-
export type PollyClientResolvedConfigType =
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
export interface PollyClientResolvedConfig
|
|
176
|
-
extends PollyClientResolvedConfigType {}
|
|
147
|
+
export type PollyClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
148
|
+
Required<ClientDefaults> &
|
|
149
|
+
RuntimeExtensionsConfig &
|
|
150
|
+
UserAgentResolvedConfig &
|
|
151
|
+
RetryResolvedConfig &
|
|
152
|
+
RegionResolvedConfig &
|
|
153
|
+
HostHeaderResolvedConfig &
|
|
154
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
155
|
+
EventStreamSerdeResolvedConfig &
|
|
156
|
+
HttpAuthSchemeResolvedConfig &
|
|
157
|
+
EventStreamResolvedConfig &
|
|
158
|
+
ClientResolvedEndpointParameters;
|
|
159
|
+
export interface PollyClientResolvedConfig extends PollyClientResolvedConfigType {}
|
|
177
160
|
export declare class PollyClient extends __Client<
|
|
178
161
|
__HttpHandlerOptions,
|
|
179
162
|
ServiceInputTypes,
|
|
@@ -181,8 +164,6 @@ export declare class PollyClient extends __Client<
|
|
|
181
164
|
PollyClientResolvedConfig
|
|
182
165
|
> {
|
|
183
166
|
readonly config: PollyClientResolvedConfig;
|
|
184
|
-
constructor(
|
|
185
|
-
...[configuration]: __CheckOptionalClientConfig<PollyClientConfig>
|
|
186
|
-
);
|
|
167
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<PollyClientConfig>);
|
|
187
168
|
destroy(): void;
|
|
188
169
|
}
|
|
@@ -7,17 +7,10 @@ import { PollyHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: PollyHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: PollyHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): PollyHttpAuthSchemeProvider;
|
|
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 { PollyClientResolvedConfig } from "../PollyClient";
|
|
15
|
-
export interface PollyHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface PollyHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface PollyHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface PollyHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
PollyClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
PollyHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultPollyHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: PollyClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<PollyHttpAuthSchemeParameters>;
|
|
31
|
-
export interface PollyHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<PollyHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface PollyHttpAuthSchemeProvider extends HttpAuthSchemeProvider<PollyHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultPollyHttpAuthSchemeProvider: PollyHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: PollyHttpAuthSchemeProvider;
|
|
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: PollyHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
ServiceInputTypes,
|
|
5
|
-
ServiceOutputTypes,
|
|
6
|
-
} from "./PollyClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
2
|
+
import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./PollyClient";
|
|
3
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
4
|
added: EndpointParameterInstructions,
|
|
12
5
|
plugins: (
|
|
13
6
|
CommandCtor: any,
|
|
14
7
|
clientStack: any,
|
|
15
8
|
config: any,
|
|
16
|
-
options: any
|
|
9
|
+
options: any,
|
|
17
10
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
11
|
op: string,
|
|
19
12
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
13
|
+
smithyContext?: Record<string, unknown>,
|
|
21
14
|
) => {
|
|
22
|
-
new (
|
|
15
|
+
new (
|
|
16
|
+
input: I,
|
|
17
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
18
|
I,
|
|
24
19
|
O,
|
|
25
20
|
PollyClientResolvedConfig,
|
|
@@ -38,15 +33,10 @@ export declare const command: <
|
|
|
38
33
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
34
|
};
|
|
40
35
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
36
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
47
37
|
export declare const _mw1: (
|
|
48
38
|
Command: any,
|
|
49
39
|
cs: any,
|
|
50
40
|
config: any,
|
|
51
|
-
o: any
|
|
41
|
+
o: any,
|
|
52
42
|
) => import("@smithy/types").Pluggable<any, any>[];
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { DeleteLexiconInput, DeleteLexiconOutput } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface DeleteLexiconCommandInput extends DeleteLexiconInput {}
|
|
5
|
-
export interface DeleteLexiconCommandOutput
|
|
6
|
-
extends DeleteLexiconOutput,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface DeleteLexiconCommandOutput extends DeleteLexiconOutput, __MetadataBearer {}
|
|
8
6
|
declare const DeleteLexiconCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: DeleteLexiconCommandInput
|
|
8
|
+
input: DeleteLexiconCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
DeleteLexiconCommandInput,
|
|
13
11
|
DeleteLexiconCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const DeleteLexiconCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: DeleteLexiconCommandInput
|
|
17
|
+
input: DeleteLexiconCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
DeleteLexiconCommandInput,
|
|
22
20
|
DeleteLexiconCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { DescribeVoicesInput, DescribeVoicesOutput } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface DescribeVoicesCommandInput extends DescribeVoicesInput {}
|
|
5
|
-
export interface DescribeVoicesCommandOutput
|
|
6
|
-
extends DescribeVoicesOutput,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface DescribeVoicesCommandOutput extends DescribeVoicesOutput, __MetadataBearer {}
|
|
8
6
|
declare const DescribeVoicesCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: DescribeVoicesCommandInput
|
|
8
|
+
input: DescribeVoicesCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
DescribeVoicesCommandInput,
|
|
13
11
|
DescribeVoicesCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { GetLexiconInput, GetLexiconOutput } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface GetLexiconCommandInput extends GetLexiconInput {}
|
|
5
|
-
export interface GetLexiconCommandOutput
|
|
6
|
-
extends GetLexiconOutput,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface GetLexiconCommandOutput extends GetLexiconOutput, __MetadataBearer {}
|
|
8
6
|
declare const GetLexiconCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: GetLexiconCommandInput
|
|
8
|
+
input: GetLexiconCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
GetLexiconCommandInput,
|
|
13
11
|
GetLexiconCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const GetLexiconCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: GetLexiconCommandInput
|
|
17
|
+
input: GetLexiconCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
GetLexiconCommandInput,
|
|
22
20
|
GetLexiconCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetSpeechSynthesisTaskInput,
|
|
4
|
-
GetSpeechSynthesisTaskOutput,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { GetSpeechSynthesisTaskInput, GetSpeechSynthesisTaskOutput } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface GetSpeechSynthesisTaskCommandInput
|
|
8
|
-
extends GetSpeechSynthesisTaskInput {}
|
|
4
|
+
export interface GetSpeechSynthesisTaskCommandInput extends GetSpeechSynthesisTaskInput {}
|
|
9
5
|
export interface GetSpeechSynthesisTaskCommandOutput
|
|
10
|
-
extends GetSpeechSynthesisTaskOutput,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends GetSpeechSynthesisTaskOutput, __MetadataBearer {}
|
|
12
7
|
declare const GetSpeechSynthesisTaskCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: GetSpeechSynthesisTaskCommandInput
|
|
9
|
+
input: GetSpeechSynthesisTaskCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
GetSpeechSynthesisTaskCommandInput,
|
|
17
12
|
GetSpeechSynthesisTaskCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const GetSpeechSynthesisTaskCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: GetSpeechSynthesisTaskCommandInput
|
|
18
|
+
input: GetSpeechSynthesisTaskCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
GetSpeechSynthesisTaskCommandInput,
|
|
26
21
|
GetSpeechSynthesisTaskCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { ListLexiconsInput, ListLexiconsOutput } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface ListLexiconsCommandInput extends ListLexiconsInput {}
|
|
5
|
-
export interface ListLexiconsCommandOutput
|
|
6
|
-
extends ListLexiconsOutput,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface ListLexiconsCommandOutput extends ListLexiconsOutput, __MetadataBearer {}
|
|
8
6
|
declare const ListLexiconsCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: ListLexiconsCommandInput
|
|
8
|
+
input: ListLexiconsCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
ListLexiconsCommandInput,
|
|
13
11
|
ListLexiconsCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListSpeechSynthesisTasksInput,
|
|
4
|
-
ListSpeechSynthesisTasksOutput,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ListSpeechSynthesisTasksInput, ListSpeechSynthesisTasksOutput } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface ListSpeechSynthesisTasksCommandInput
|
|
8
|
-
extends ListSpeechSynthesisTasksInput {}
|
|
4
|
+
export interface ListSpeechSynthesisTasksCommandInput extends ListSpeechSynthesisTasksInput {}
|
|
9
5
|
export interface ListSpeechSynthesisTasksCommandOutput
|
|
10
|
-
extends ListSpeechSynthesisTasksOutput,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends ListSpeechSynthesisTasksOutput, __MetadataBearer {}
|
|
12
7
|
declare const ListSpeechSynthesisTasksCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: ListSpeechSynthesisTasksCommandInput
|
|
9
|
+
input: ListSpeechSynthesisTasksCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
ListSpeechSynthesisTasksCommandInput,
|
|
17
12
|
ListSpeechSynthesisTasksCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { PutLexiconInput, PutLexiconOutput } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface PutLexiconCommandInput extends PutLexiconInput {}
|
|
5
|
-
export interface PutLexiconCommandOutput
|
|
6
|
-
extends PutLexiconOutput,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface PutLexiconCommandOutput extends PutLexiconOutput, __MetadataBearer {}
|
|
8
6
|
declare const PutLexiconCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: PutLexiconCommandInput
|
|
8
|
+
input: PutLexiconCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
PutLexiconCommandInput,
|
|
13
11
|
PutLexiconCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const PutLexiconCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: PutLexiconCommandInput
|
|
17
|
+
input: PutLexiconCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
PutLexiconCommandInput,
|
|
22
20
|
PutLexiconCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
StartSpeechSynthesisStreamOutput,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface StartSpeechSynthesisStreamCommandInput
|
|
8
|
-
extends StartSpeechSynthesisStreamInput {}
|
|
7
|
+
export interface StartSpeechSynthesisStreamCommandInput extends StartSpeechSynthesisStreamInput {}
|
|
9
8
|
export interface StartSpeechSynthesisStreamCommandOutput
|
|
10
|
-
extends StartSpeechSynthesisStreamOutput,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends StartSpeechSynthesisStreamOutput, __MetadataBearer {}
|
|
12
10
|
declare const StartSpeechSynthesisStreamCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: StartSpeechSynthesisStreamCommandInput
|
|
12
|
+
input: StartSpeechSynthesisStreamCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
StartSpeechSynthesisStreamCommandInput,
|
|
17
15
|
StartSpeechSynthesisStreamCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const StartSpeechSynthesisStreamCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: StartSpeechSynthesisStreamCommandInput
|
|
21
|
+
input: StartSpeechSynthesisStreamCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
StartSpeechSynthesisStreamCommandInput,
|
|
26
24
|
StartSpeechSynthesisStreamCommandOutput,
|