@aws-sdk/client-polly 3.170.0 → 3.178.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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.178.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.177.0...v3.178.0) (2022-09-23)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-polly
9
+
10
+
11
+
12
+
13
+
14
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-polly
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-polly
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
32
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
33
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
34
34
  signingEscapePath?: boolean | undefined;
35
35
  systemClockOffset?: number | undefined;
36
36
  signingRegion?: string | undefined;
@@ -36,7 +36,6 @@ import {
36
36
  SynthesizeSpeechCommandOutput,
37
37
  } from "./commands/SynthesizeSpeechCommand";
38
38
  import { PollyClient } from "./PollyClient";
39
-
40
39
  export declare class Polly extends PollyClient {
41
40
  deleteLexicon(
42
41
  args: DeleteLexiconCommandInput,
@@ -51,7 +50,6 @@ export declare class Polly extends PollyClient {
51
50
  options: __HttpHandlerOptions,
52
51
  cb: (err: any, data?: DeleteLexiconCommandOutput) => void
53
52
  ): void;
54
-
55
53
  describeVoices(
56
54
  args: DescribeVoicesCommandInput,
57
55
  options?: __HttpHandlerOptions
@@ -65,7 +63,6 @@ export declare class Polly extends PollyClient {
65
63
  options: __HttpHandlerOptions,
66
64
  cb: (err: any, data?: DescribeVoicesCommandOutput) => void
67
65
  ): void;
68
-
69
66
  getLexicon(
70
67
  args: GetLexiconCommandInput,
71
68
  options?: __HttpHandlerOptions
@@ -79,7 +76,6 @@ export declare class Polly extends PollyClient {
79
76
  options: __HttpHandlerOptions,
80
77
  cb: (err: any, data?: GetLexiconCommandOutput) => void
81
78
  ): void;
82
-
83
79
  getSpeechSynthesisTask(
84
80
  args: GetSpeechSynthesisTaskCommandInput,
85
81
  options?: __HttpHandlerOptions
@@ -93,7 +89,6 @@ export declare class Polly extends PollyClient {
93
89
  options: __HttpHandlerOptions,
94
90
  cb: (err: any, data?: GetSpeechSynthesisTaskCommandOutput) => void
95
91
  ): void;
96
-
97
92
  listLexicons(
98
93
  args: ListLexiconsCommandInput,
99
94
  options?: __HttpHandlerOptions
@@ -107,7 +102,6 @@ export declare class Polly extends PollyClient {
107
102
  options: __HttpHandlerOptions,
108
103
  cb: (err: any, data?: ListLexiconsCommandOutput) => void
109
104
  ): void;
110
-
111
105
  listSpeechSynthesisTasks(
112
106
  args: ListSpeechSynthesisTasksCommandInput,
113
107
  options?: __HttpHandlerOptions
@@ -121,7 +115,6 @@ export declare class Polly extends PollyClient {
121
115
  options: __HttpHandlerOptions,
122
116
  cb: (err: any, data?: ListSpeechSynthesisTasksCommandOutput) => void
123
117
  ): void;
124
-
125
118
  putLexicon(
126
119
  args: PutLexiconCommandInput,
127
120
  options?: __HttpHandlerOptions
@@ -135,7 +128,6 @@ export declare class Polly extends PollyClient {
135
128
  options: __HttpHandlerOptions,
136
129
  cb: (err: any, data?: PutLexiconCommandOutput) => void
137
130
  ): void;
138
-
139
131
  startSpeechSynthesisTask(
140
132
  args: StartSpeechSynthesisTaskCommandInput,
141
133
  options?: __HttpHandlerOptions
@@ -149,7 +141,6 @@ export declare class Polly extends PollyClient {
149
141
  options: __HttpHandlerOptions,
150
142
  cb: (err: any, data?: StartSpeechSynthesisTaskCommandOutput) => void
151
143
  ): void;
152
-
153
144
  synthesizeSpeech(
154
145
  args: SynthesizeSpeechCommandInput,
155
146
  options?: __HttpHandlerOptions
@@ -101,47 +101,26 @@ export declare type ServiceOutputTypes =
101
101
  export interface ClientDefaults
102
102
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
103
103
  requestHandler?: __HttpHandler;
104
-
105
104
  sha256?: __HashConstructor;
106
-
107
105
  urlParser?: __UrlParser;
108
-
109
106
  bodyLengthChecker?: __BodyLengthCalculator;
110
-
111
107
  streamCollector?: __StreamCollector;
112
-
113
108
  base64Decoder?: __Decoder;
114
-
115
109
  base64Encoder?: __Encoder;
116
-
117
110
  utf8Decoder?: __Decoder;
118
-
119
111
  utf8Encoder?: __Encoder;
120
-
121
112
  runtime?: string;
122
-
123
113
  disableHostPrefix?: boolean;
124
-
125
114
  maxAttempts?: number | __Provider<number>;
126
-
127
115
  retryMode?: string | __Provider<string>;
128
-
129
116
  logger?: __Logger;
130
-
131
117
  useDualstackEndpoint?: boolean | __Provider<boolean>;
132
-
133
118
  useFipsEndpoint?: boolean | __Provider<boolean>;
134
-
135
119
  serviceId?: string;
136
-
137
120
  region?: string | __Provider<string>;
138
-
139
121
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
140
-
141
122
  regionInfoProvider?: RegionInfoProvider;
142
-
143
123
  defaultUserAgentProvider?: Provider<__UserAgent>;
144
-
145
124
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
146
125
  }
147
126
  declare type PollyClientConfigType = Partial<
@@ -154,7 +133,6 @@ declare type PollyClientConfigType = Partial<
154
133
  HostHeaderInputConfig &
155
134
  AwsAuthInputConfig &
156
135
  UserAgentInputConfig;
157
-
158
136
  export interface PollyClientConfig extends PollyClientConfigType {}
159
137
  declare type PollyClientResolvedConfigType =
160
138
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
@@ -165,10 +143,8 @@ declare type PollyClientResolvedConfigType =
165
143
  HostHeaderResolvedConfig &
166
144
  AwsAuthResolvedConfig &
167
145
  UserAgentResolvedConfig;
168
-
169
146
  export interface PollyClientResolvedConfig
170
147
  extends PollyClientResolvedConfigType {}
171
-
172
148
  export declare class PollyClient extends __Client<
173
149
  __HttpHandlerOptions,
174
150
  ServiceInputTypes,
@@ -177,7 +153,6 @@ export declare class PollyClient extends __Client<
177
153
  > {
178
154
  readonly config: PollyClientResolvedConfig;
179
155
  constructor(configuration: PollyClientConfig);
180
-
181
156
  destroy(): void;
182
157
  }
183
158
  export {};
@@ -15,7 +15,6 @@ export interface DeleteLexiconCommandInput extends DeleteLexiconInput {}
15
15
  export interface DeleteLexiconCommandOutput
16
16
  extends DeleteLexiconOutput,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class DeleteLexiconCommand extends $Command<
20
19
  DeleteLexiconCommandInput,
21
20
  DeleteLexiconCommandOutput,
@@ -23,7 +22,6 @@ export declare class DeleteLexiconCommand extends $Command<
23
22
  > {
24
23
  readonly input: DeleteLexiconCommandInput;
25
24
  constructor(input: DeleteLexiconCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: PollyClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface DescribeVoicesCommandInput extends DescribeVoicesInput {}
15
15
  export interface DescribeVoicesCommandOutput
16
16
  extends DescribeVoicesOutput,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class DescribeVoicesCommand extends $Command<
20
19
  DescribeVoicesCommandInput,
21
20
  DescribeVoicesCommandOutput,
@@ -23,7 +22,6 @@ export declare class DescribeVoicesCommand extends $Command<
23
22
  > {
24
23
  readonly input: DescribeVoicesCommandInput;
25
24
  constructor(input: DescribeVoicesCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: PollyClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface GetLexiconCommandInput extends GetLexiconInput {}
15
15
  export interface GetLexiconCommandOutput
16
16
  extends GetLexiconOutput,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class GetLexiconCommand extends $Command<
20
19
  GetLexiconCommandInput,
21
20
  GetLexiconCommandOutput,
@@ -23,7 +22,6 @@ export declare class GetLexiconCommand extends $Command<
23
22
  > {
24
23
  readonly input: GetLexiconCommandInput;
25
24
  constructor(input: GetLexiconCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: PollyClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface GetSpeechSynthesisTaskCommandInput
19
19
  export interface GetSpeechSynthesisTaskCommandOutput
20
20
  extends GetSpeechSynthesisTaskOutput,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class GetSpeechSynthesisTaskCommand extends $Command<
24
23
  GetSpeechSynthesisTaskCommandInput,
25
24
  GetSpeechSynthesisTaskCommandOutput,
@@ -27,7 +26,6 @@ export declare class GetSpeechSynthesisTaskCommand extends $Command<
27
26
  > {
28
27
  readonly input: GetSpeechSynthesisTaskCommandInput;
29
28
  constructor(input: GetSpeechSynthesisTaskCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: PollyClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface ListLexiconsCommandInput extends ListLexiconsInput {}
15
15
  export interface ListLexiconsCommandOutput
16
16
  extends ListLexiconsOutput,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class ListLexiconsCommand extends $Command<
20
19
  ListLexiconsCommandInput,
21
20
  ListLexiconsCommandOutput,
@@ -23,7 +22,6 @@ export declare class ListLexiconsCommand extends $Command<
23
22
  > {
24
23
  readonly input: ListLexiconsCommandInput;
25
24
  constructor(input: ListLexiconsCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: PollyClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface ListSpeechSynthesisTasksCommandInput
19
19
  export interface ListSpeechSynthesisTasksCommandOutput
20
20
  extends ListSpeechSynthesisTasksOutput,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class ListSpeechSynthesisTasksCommand extends $Command<
24
23
  ListSpeechSynthesisTasksCommandInput,
25
24
  ListSpeechSynthesisTasksCommandOutput,
@@ -27,7 +26,6 @@ export declare class ListSpeechSynthesisTasksCommand extends $Command<
27
26
  > {
28
27
  readonly input: ListSpeechSynthesisTasksCommandInput;
29
28
  constructor(input: ListSpeechSynthesisTasksCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: PollyClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface PutLexiconCommandInput extends PutLexiconInput {}
15
15
  export interface PutLexiconCommandOutput
16
16
  extends PutLexiconOutput,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class PutLexiconCommand extends $Command<
20
19
  PutLexiconCommandInput,
21
20
  PutLexiconCommandOutput,
@@ -23,7 +22,6 @@ export declare class PutLexiconCommand extends $Command<
23
22
  > {
24
23
  readonly input: PutLexiconCommandInput;
25
24
  constructor(input: PutLexiconCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: PollyClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface StartSpeechSynthesisTaskCommandInput
19
19
  export interface StartSpeechSynthesisTaskCommandOutput
20
20
  extends StartSpeechSynthesisTaskOutput,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class StartSpeechSynthesisTaskCommand extends $Command<
24
23
  StartSpeechSynthesisTaskCommandInput,
25
24
  StartSpeechSynthesisTaskCommandOutput,
@@ -27,7 +26,6 @@ export declare class StartSpeechSynthesisTaskCommand extends $Command<
27
26
  > {
28
27
  readonly input: StartSpeechSynthesisTaskCommandInput;
29
28
  constructor(input: StartSpeechSynthesisTaskCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: PollyClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface SynthesizeSpeechCommandInput extends SynthesizeSpeechInput {}
18
18
  export interface SynthesizeSpeechCommandOutput
19
19
  extends SynthesizeSpeechOutput,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class SynthesizeSpeechCommand extends $Command<
23
22
  SynthesizeSpeechCommandInput,
24
23
  SynthesizeSpeechCommandOutput,
@@ -26,7 +25,6 @@ export declare class SynthesizeSpeechCommand extends $Command<
26
25
  > {
27
26
  readonly input: SynthesizeSpeechCommandInput;
28
27
  constructor(input: SynthesizeSpeechCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: PollyClientResolvedConfig,
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class PollyServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -5,20 +5,16 @@ export interface DeleteLexiconInput {
5
5
  Name: string | undefined;
6
6
  }
7
7
  export interface DeleteLexiconOutput {}
8
-
9
8
  export declare class LexiconNotFoundException extends __BaseException {
10
9
  readonly name: "LexiconNotFoundException";
11
10
  readonly $fault: "client";
12
-
13
11
  constructor(
14
12
  opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>
15
13
  );
16
14
  }
17
-
18
15
  export declare class ServiceFailureException extends __BaseException {
19
16
  readonly name: "ServiceFailureException";
20
17
  readonly $fault: "server";
21
-
22
18
  constructor(
23
19
  opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
24
20
  );
@@ -63,11 +59,8 @@ export declare type LanguageCode =
63
59
  | "tr-TR";
64
60
  export interface DescribeVoicesInput {
65
61
  Engine?: Engine | string;
66
-
67
62
  LanguageCode?: LanguageCode | string;
68
-
69
63
  IncludeAdditionalLanguageCodes?: boolean;
70
-
71
64
  NextToken?: string;
72
65
  }
73
66
  export declare type Gender = "Female" | "Male";
@@ -144,41 +137,29 @@ export declare type VoiceId =
144
137
  | "Vitoria"
145
138
  | "Zeina"
146
139
  | "Zhiyu";
147
-
148
140
  export interface Voice {
149
141
  Gender?: Gender | string;
150
-
151
142
  Id?: VoiceId | string;
152
-
153
143
  LanguageCode?: LanguageCode | string;
154
-
155
144
  LanguageName?: string;
156
-
157
145
  Name?: string;
158
-
159
146
  AdditionalLanguageCodes?: (LanguageCode | string)[];
160
-
161
147
  SupportedEngines?: (Engine | string)[];
162
148
  }
163
149
  export interface DescribeVoicesOutput {
164
150
  Voices?: Voice[];
165
-
166
151
  NextToken?: string;
167
152
  }
168
-
169
153
  export declare class InvalidNextTokenException extends __BaseException {
170
154
  readonly name: "InvalidNextTokenException";
171
155
  readonly $fault: "client";
172
-
173
156
  constructor(
174
157
  opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
175
158
  );
176
159
  }
177
-
178
160
  export declare class EngineNotSupportedException extends __BaseException {
179
161
  readonly name: "EngineNotSupportedException";
180
162
  readonly $fault: "client";
181
-
182
163
  constructor(
183
164
  opts: __ExceptionOptionType<EngineNotSupportedException, __BaseException>
184
165
  );
@@ -186,29 +167,20 @@ export declare class EngineNotSupportedException extends __BaseException {
186
167
  export interface GetLexiconInput {
187
168
  Name: string | undefined;
188
169
  }
189
-
190
170
  export interface Lexicon {
191
171
  Content?: string;
192
-
193
172
  Name?: string;
194
173
  }
195
-
196
174
  export interface LexiconAttributes {
197
175
  Alphabet?: string;
198
-
199
176
  LanguageCode?: LanguageCode | string;
200
-
201
177
  LastModified?: Date;
202
-
203
178
  LexiconArn?: string;
204
-
205
179
  LexemesCount?: number;
206
-
207
180
  Size?: number;
208
181
  }
209
182
  export interface GetLexiconOutput {
210
183
  Lexicon?: Lexicon;
211
-
212
184
  LexiconAttributes?: LexiconAttributes;
213
185
  }
214
186
  export interface GetSpeechSynthesisTaskInput {
@@ -236,133 +208,96 @@ export declare enum TextType {
236
208
  SSML = "ssml",
237
209
  TEXT = "text",
238
210
  }
239
-
240
211
  export interface SynthesisTask {
241
212
  Engine?: Engine | string;
242
-
243
213
  TaskId?: string;
244
-
245
214
  TaskStatus?: TaskStatus | string;
246
-
247
215
  TaskStatusReason?: string;
248
-
249
216
  OutputUri?: string;
250
-
251
217
  CreationTime?: Date;
252
-
253
218
  RequestCharacters?: number;
254
-
255
219
  SnsTopicArn?: string;
256
-
257
220
  LexiconNames?: string[];
258
-
259
221
  OutputFormat?: OutputFormat | string;
260
-
261
222
  SampleRate?: string;
262
-
263
223
  SpeechMarkTypes?: (SpeechMarkType | string)[];
264
-
265
224
  TextType?: TextType | string;
266
-
267
225
  VoiceId?: VoiceId | string;
268
-
269
226
  LanguageCode?: LanguageCode | string;
270
227
  }
271
228
  export interface GetSpeechSynthesisTaskOutput {
272
229
  SynthesisTask?: SynthesisTask;
273
230
  }
274
-
275
231
  export declare class InvalidTaskIdException extends __BaseException {
276
232
  readonly name: "InvalidTaskIdException";
277
233
  readonly $fault: "client";
278
-
279
234
  constructor(
280
235
  opts: __ExceptionOptionType<InvalidTaskIdException, __BaseException>
281
236
  );
282
237
  }
283
-
284
238
  export declare class SynthesisTaskNotFoundException extends __BaseException {
285
239
  readonly name: "SynthesisTaskNotFoundException";
286
240
  readonly $fault: "client";
287
-
288
241
  constructor(
289
242
  opts: __ExceptionOptionType<SynthesisTaskNotFoundException, __BaseException>
290
243
  );
291
244
  }
292
-
293
245
  export declare class InvalidLexiconException extends __BaseException {
294
246
  readonly name: "InvalidLexiconException";
295
247
  readonly $fault: "client";
296
-
297
248
  constructor(
298
249
  opts: __ExceptionOptionType<InvalidLexiconException, __BaseException>
299
250
  );
300
251
  }
301
-
302
252
  export declare class InvalidS3BucketException extends __BaseException {
303
253
  readonly name: "InvalidS3BucketException";
304
254
  readonly $fault: "client";
305
-
306
255
  constructor(
307
256
  opts: __ExceptionOptionType<InvalidS3BucketException, __BaseException>
308
257
  );
309
258
  }
310
-
311
259
  export declare class InvalidS3KeyException extends __BaseException {
312
260
  readonly name: "InvalidS3KeyException";
313
261
  readonly $fault: "client";
314
-
315
262
  constructor(
316
263
  opts: __ExceptionOptionType<InvalidS3KeyException, __BaseException>
317
264
  );
318
265
  }
319
-
320
266
  export declare class InvalidSampleRateException extends __BaseException {
321
267
  readonly name: "InvalidSampleRateException";
322
268
  readonly $fault: "client";
323
-
324
269
  constructor(
325
270
  opts: __ExceptionOptionType<InvalidSampleRateException, __BaseException>
326
271
  );
327
272
  }
328
-
329
273
  export declare class InvalidSnsTopicArnException extends __BaseException {
330
274
  readonly name: "InvalidSnsTopicArnException";
331
275
  readonly $fault: "client";
332
-
333
276
  constructor(
334
277
  opts: __ExceptionOptionType<InvalidSnsTopicArnException, __BaseException>
335
278
  );
336
279
  }
337
-
338
280
  export declare class InvalidSsmlException extends __BaseException {
339
281
  readonly name: "InvalidSsmlException";
340
282
  readonly $fault: "client";
341
-
342
283
  constructor(
343
284
  opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>
344
285
  );
345
286
  }
346
-
347
287
  export declare class LanguageNotSupportedException extends __BaseException {
348
288
  readonly name: "LanguageNotSupportedException";
349
289
  readonly $fault: "client";
350
-
351
290
  constructor(
352
291
  opts: __ExceptionOptionType<LanguageNotSupportedException, __BaseException>
353
292
  );
354
293
  }
355
-
356
294
  export interface LexiconDescription {
357
295
  Name?: string;
358
-
359
296
  Attributes?: LexiconAttributes;
360
297
  }
361
-
362
298
  export declare class LexiconSizeExceededException extends __BaseException {
363
299
  readonly name: "LexiconSizeExceededException";
364
300
  readonly $fault: "client";
365
-
366
301
  constructor(
367
302
  opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>
368
303
  );
@@ -372,26 +307,20 @@ export interface ListLexiconsInput {
372
307
  }
373
308
  export interface ListLexiconsOutput {
374
309
  Lexicons?: LexiconDescription[];
375
-
376
310
  NextToken?: string;
377
311
  }
378
312
  export interface ListSpeechSynthesisTasksInput {
379
313
  MaxResults?: number;
380
-
381
314
  NextToken?: string;
382
-
383
315
  Status?: TaskStatus | string;
384
316
  }
385
317
  export interface ListSpeechSynthesisTasksOutput {
386
318
  NextToken?: string;
387
-
388
319
  SynthesisTasks?: SynthesisTask[];
389
320
  }
390
-
391
321
  export declare class MarksNotSupportedForFormatException extends __BaseException {
392
322
  readonly name: "MarksNotSupportedForFormatException";
393
323
  readonly $fault: "client";
394
-
395
324
  constructor(
396
325
  opts: __ExceptionOptionType<
397
326
  MarksNotSupportedForFormatException,
@@ -399,11 +328,9 @@ export declare class MarksNotSupportedForFormatException extends __BaseException
399
328
  >
400
329
  );
401
330
  }
402
-
403
331
  export declare class MaxLexemeLengthExceededException extends __BaseException {
404
332
  readonly name: "MaxLexemeLengthExceededException";
405
333
  readonly $fault: "client";
406
-
407
334
  constructor(
408
335
  opts: __ExceptionOptionType<
409
336
  MaxLexemeLengthExceededException,
@@ -411,11 +338,9 @@ export declare class MaxLexemeLengthExceededException extends __BaseException {
411
338
  >
412
339
  );
413
340
  }
414
-
415
341
  export declare class MaxLexiconsNumberExceededException extends __BaseException {
416
342
  readonly name: "MaxLexiconsNumberExceededException";
417
343
  readonly $fault: "client";
418
-
419
344
  constructor(
420
345
  opts: __ExceptionOptionType<
421
346
  MaxLexiconsNumberExceededException,
@@ -425,15 +350,12 @@ export declare class MaxLexiconsNumberExceededException extends __BaseException
425
350
  }
426
351
  export interface PutLexiconInput {
427
352
  Name: string | undefined;
428
-
429
353
  Content: string | undefined;
430
354
  }
431
355
  export interface PutLexiconOutput {}
432
-
433
356
  export declare class UnsupportedPlsAlphabetException extends __BaseException {
434
357
  readonly name: "UnsupportedPlsAlphabetException";
435
358
  readonly $fault: "client";
436
-
437
359
  constructor(
438
360
  opts: __ExceptionOptionType<
439
361
  UnsupportedPlsAlphabetException,
@@ -441,11 +363,9 @@ export declare class UnsupportedPlsAlphabetException extends __BaseException {
441
363
  >
442
364
  );
443
365
  }
444
-
445
366
  export declare class UnsupportedPlsLanguageException extends __BaseException {
446
367
  readonly name: "UnsupportedPlsLanguageException";
447
368
  readonly $fault: "client";
448
-
449
369
  constructor(
450
370
  opts: __ExceptionOptionType<
451
371
  UnsupportedPlsLanguageException,
@@ -453,11 +373,9 @@ export declare class UnsupportedPlsLanguageException extends __BaseException {
453
373
  >
454
374
  );
455
375
  }
456
-
457
376
  export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
458
377
  readonly name: "SsmlMarksNotSupportedForTextTypeException";
459
378
  readonly $fault: "client";
460
-
461
379
  constructor(
462
380
  opts: __ExceptionOptionType<
463
381
  SsmlMarksNotSupportedForTextTypeException,
@@ -467,152 +385,106 @@ export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseExc
467
385
  }
468
386
  export interface StartSpeechSynthesisTaskInput {
469
387
  Engine?: Engine | string;
470
-
471
388
  LanguageCode?: LanguageCode | string;
472
-
473
389
  LexiconNames?: string[];
474
-
475
390
  OutputFormat: OutputFormat | string | undefined;
476
-
477
391
  OutputS3BucketName: string | undefined;
478
-
479
392
  OutputS3KeyPrefix?: string;
480
-
481
393
  SampleRate?: string;
482
-
483
394
  SnsTopicArn?: string;
484
-
485
395
  SpeechMarkTypes?: (SpeechMarkType | string)[];
486
-
487
396
  Text: string | undefined;
488
-
489
397
  TextType?: TextType | string;
490
-
491
398
  VoiceId: VoiceId | string | undefined;
492
399
  }
493
400
  export interface StartSpeechSynthesisTaskOutput {
494
401
  SynthesisTask?: SynthesisTask;
495
402
  }
496
-
497
403
  export declare class TextLengthExceededException extends __BaseException {
498
404
  readonly name: "TextLengthExceededException";
499
405
  readonly $fault: "client";
500
-
501
406
  constructor(
502
407
  opts: __ExceptionOptionType<TextLengthExceededException, __BaseException>
503
408
  );
504
409
  }
505
410
  export interface SynthesizeSpeechInput {
506
411
  Engine?: Engine | string;
507
-
508
412
  LanguageCode?: LanguageCode | string;
509
-
510
413
  LexiconNames?: string[];
511
-
512
414
  OutputFormat: OutputFormat | string | undefined;
513
-
514
415
  SampleRate?: string;
515
-
516
416
  SpeechMarkTypes?: (SpeechMarkType | string)[];
517
-
518
417
  Text: string | undefined;
519
-
520
418
  TextType?: TextType | string;
521
-
522
419
  VoiceId: VoiceId | string | undefined;
523
420
  }
524
421
  export interface SynthesizeSpeechOutput {
525
422
  AudioStream?: Readable | ReadableStream | Blob;
526
-
527
423
  ContentType?: string;
528
-
529
424
  RequestCharacters?: number;
530
425
  }
531
-
532
426
  export declare const DeleteLexiconInputFilterSensitiveLog: (
533
427
  obj: DeleteLexiconInput
534
428
  ) => any;
535
-
536
429
  export declare const DeleteLexiconOutputFilterSensitiveLog: (
537
430
  obj: DeleteLexiconOutput
538
431
  ) => any;
539
-
540
432
  export declare const DescribeVoicesInputFilterSensitiveLog: (
541
433
  obj: DescribeVoicesInput
542
434
  ) => any;
543
-
544
435
  export declare const VoiceFilterSensitiveLog: (obj: Voice) => any;
545
-
546
436
  export declare const DescribeVoicesOutputFilterSensitiveLog: (
547
437
  obj: DescribeVoicesOutput
548
438
  ) => any;
549
-
550
439
  export declare const GetLexiconInputFilterSensitiveLog: (
551
440
  obj: GetLexiconInput
552
441
  ) => any;
553
-
554
442
  export declare const LexiconFilterSensitiveLog: (obj: Lexicon) => any;
555
-
556
443
  export declare const LexiconAttributesFilterSensitiveLog: (
557
444
  obj: LexiconAttributes
558
445
  ) => any;
559
-
560
446
  export declare const GetLexiconOutputFilterSensitiveLog: (
561
447
  obj: GetLexiconOutput
562
448
  ) => any;
563
-
564
449
  export declare const GetSpeechSynthesisTaskInputFilterSensitiveLog: (
565
450
  obj: GetSpeechSynthesisTaskInput
566
451
  ) => any;
567
-
568
452
  export declare const SynthesisTaskFilterSensitiveLog: (
569
453
  obj: SynthesisTask
570
454
  ) => any;
571
-
572
455
  export declare const GetSpeechSynthesisTaskOutputFilterSensitiveLog: (
573
456
  obj: GetSpeechSynthesisTaskOutput
574
457
  ) => any;
575
-
576
458
  export declare const LexiconDescriptionFilterSensitiveLog: (
577
459
  obj: LexiconDescription
578
460
  ) => any;
579
-
580
461
  export declare const ListLexiconsInputFilterSensitiveLog: (
581
462
  obj: ListLexiconsInput
582
463
  ) => any;
583
-
584
464
  export declare const ListLexiconsOutputFilterSensitiveLog: (
585
465
  obj: ListLexiconsOutput
586
466
  ) => any;
587
-
588
467
  export declare const ListSpeechSynthesisTasksInputFilterSensitiveLog: (
589
468
  obj: ListSpeechSynthesisTasksInput
590
469
  ) => any;
591
-
592
470
  export declare const ListSpeechSynthesisTasksOutputFilterSensitiveLog: (
593
471
  obj: ListSpeechSynthesisTasksOutput
594
472
  ) => any;
595
-
596
473
  export declare const PutLexiconInputFilterSensitiveLog: (
597
474
  obj: PutLexiconInput
598
475
  ) => any;
599
-
600
476
  export declare const PutLexiconOutputFilterSensitiveLog: (
601
477
  obj: PutLexiconOutput
602
478
  ) => any;
603
-
604
479
  export declare const StartSpeechSynthesisTaskInputFilterSensitiveLog: (
605
480
  obj: StartSpeechSynthesisTaskInput
606
481
  ) => any;
607
-
608
482
  export declare const StartSpeechSynthesisTaskOutputFilterSensitiveLog: (
609
483
  obj: StartSpeechSynthesisTaskOutput
610
484
  ) => any;
611
-
612
485
  export declare const SynthesizeSpeechInputFilterSensitiveLog: (
613
486
  obj: SynthesizeSpeechInput
614
487
  ) => any;
615
-
616
488
  export declare const SynthesizeSpeechOutputFilterSensitiveLog: (
617
489
  obj: SynthesizeSpeechOutput
618
490
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { PollyClientConfig } from "./PollyClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: PollyClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -51,7 +50,9 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
51
50
  | undefined;
52
51
  signer?:
53
52
  | import("@aws-sdk/types").RequestSigner
54
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
53
+ | ((
54
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
55
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
55
56
  | undefined;
56
57
  signingEscapePath?: boolean | undefined;
57
58
  systemClockOffset?: number | undefined;
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { PollyClientConfig } from "./PollyClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: PollyClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -51,7 +50,9 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
51
50
  | undefined;
52
51
  signer?:
53
52
  | import("@aws-sdk/types").RequestSigner
54
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
53
+ | ((
54
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
55
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
55
56
  | undefined;
56
57
  signingEscapePath?: boolean | undefined;
57
58
  systemClockOffset?: number | undefined;
@@ -1,5 +1,4 @@
1
1
  import { PollyClientConfig } from "./PollyClient";
2
-
3
2
  export declare const getRuntimeConfig: (config: PollyClientConfig) => {
4
3
  runtime: string;
5
4
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -52,7 +51,9 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
52
51
  | undefined;
53
52
  signer?:
54
53
  | import("@aws-sdk/types").RequestSigner
55
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
54
+ | ((
55
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
56
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
56
57
  | undefined;
57
58
  signingEscapePath?: boolean | undefined;
58
59
  systemClockOffset?: number | undefined;
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { PollyClientConfig } from "./PollyClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: PollyClientConfig) => {
5
4
  apiVersion: string;
6
5
  disableHostPrefix: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-polly",
3
3
  "description": "AWS SDK for JavaScript Polly Client for Node.js, Browser and React Native",
4
- "version": "3.170.0",
4
+ "version": "3.178.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,35 +19,35 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.170.0",
23
- "@aws-sdk/config-resolver": "3.170.0",
24
- "@aws-sdk/credential-provider-node": "3.170.0",
25
- "@aws-sdk/fetch-http-handler": "3.170.0",
26
- "@aws-sdk/hash-node": "3.170.0",
27
- "@aws-sdk/invalid-dependency": "3.170.0",
28
- "@aws-sdk/middleware-content-length": "3.170.0",
29
- "@aws-sdk/middleware-host-header": "3.170.0",
30
- "@aws-sdk/middleware-logger": "3.170.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
32
- "@aws-sdk/middleware-retry": "3.170.0",
33
- "@aws-sdk/middleware-serde": "3.170.0",
34
- "@aws-sdk/middleware-signing": "3.170.0",
35
- "@aws-sdk/middleware-stack": "3.170.0",
36
- "@aws-sdk/middleware-user-agent": "3.170.0",
37
- "@aws-sdk/node-config-provider": "3.170.0",
38
- "@aws-sdk/node-http-handler": "3.170.0",
39
- "@aws-sdk/protocol-http": "3.170.0",
40
- "@aws-sdk/smithy-client": "3.170.0",
41
- "@aws-sdk/types": "3.170.0",
42
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/client-sts": "3.178.0",
23
+ "@aws-sdk/config-resolver": "3.178.0",
24
+ "@aws-sdk/credential-provider-node": "3.178.0",
25
+ "@aws-sdk/fetch-http-handler": "3.178.0",
26
+ "@aws-sdk/hash-node": "3.178.0",
27
+ "@aws-sdk/invalid-dependency": "3.178.0",
28
+ "@aws-sdk/middleware-content-length": "3.178.0",
29
+ "@aws-sdk/middleware-host-header": "3.178.0",
30
+ "@aws-sdk/middleware-logger": "3.178.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.178.0",
32
+ "@aws-sdk/middleware-retry": "3.178.0",
33
+ "@aws-sdk/middleware-serde": "3.178.0",
34
+ "@aws-sdk/middleware-signing": "3.178.0",
35
+ "@aws-sdk/middleware-stack": "3.178.0",
36
+ "@aws-sdk/middleware-user-agent": "3.178.0",
37
+ "@aws-sdk/node-config-provider": "3.178.0",
38
+ "@aws-sdk/node-http-handler": "3.178.0",
39
+ "@aws-sdk/protocol-http": "3.178.0",
40
+ "@aws-sdk/smithy-client": "3.178.0",
41
+ "@aws-sdk/types": "3.178.0",
42
+ "@aws-sdk/url-parser": "3.178.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
49
- "@aws-sdk/util-user-agent-browser": "3.170.0",
50
- "@aws-sdk/util-user-agent-node": "3.170.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.178.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.178.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.178.0",
50
+ "@aws-sdk/util-user-agent-node": "3.178.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",
52
52
  "@aws-sdk/util-utf8-node": "3.170.0",
53
53
  "tslib": "^2.3.1"