@aws-sdk/client-polly 3.46.0 → 3.48.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 +35 -0
- package/dist-cjs/endpoints.js +0 -20
- package/dist-cjs/models/models_0.js +1 -127
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -20
- package/dist-es/models/models_0.js +0 -84
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/PollyClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -126
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/PollyClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -84
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +35 -35
|
@@ -34,12 +34,6 @@ export interface LexiconNotFoundException extends __SmithyException, $MetadataBe
|
|
|
34
34
|
$fault: "client";
|
|
35
35
|
message?: string;
|
|
36
36
|
}
|
|
37
|
-
export declare namespace LexiconNotFoundException {
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
|
-
const filterSensitiveLog: (obj: LexiconNotFoundException) => any;
|
|
42
|
-
}
|
|
43
37
|
/**
|
|
44
38
|
* <p>An unknown condition has caused a service failure.</p>
|
|
45
39
|
*/
|
|
@@ -48,12 +42,6 @@ export interface ServiceFailureException extends __SmithyException, $MetadataBea
|
|
|
48
42
|
$fault: "server";
|
|
49
43
|
message?: string;
|
|
50
44
|
}
|
|
51
|
-
export declare namespace ServiceFailureException {
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
55
|
-
const filterSensitiveLog: (obj: ServiceFailureException) => any;
|
|
56
|
-
}
|
|
57
45
|
export declare enum Engine {
|
|
58
46
|
NEURAL = "neural",
|
|
59
47
|
STANDARD = "standard"
|
|
@@ -171,12 +159,6 @@ export interface InvalidNextTokenException extends __SmithyException, $MetadataB
|
|
|
171
159
|
$fault: "client";
|
|
172
160
|
message?: string;
|
|
173
161
|
}
|
|
174
|
-
export declare namespace InvalidNextTokenException {
|
|
175
|
-
/**
|
|
176
|
-
* @internal
|
|
177
|
-
*/
|
|
178
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
179
|
-
}
|
|
180
162
|
/**
|
|
181
163
|
* <p>This engine is not compatible with the voice that you have designated.
|
|
182
164
|
* Choose a new voice that is compatible with the engine or change the engine
|
|
@@ -187,12 +169,6 @@ export interface EngineNotSupportedException extends __SmithyException, $Metadat
|
|
|
187
169
|
$fault: "client";
|
|
188
170
|
message?: string;
|
|
189
171
|
}
|
|
190
|
-
export declare namespace EngineNotSupportedException {
|
|
191
|
-
/**
|
|
192
|
-
* @internal
|
|
193
|
-
*/
|
|
194
|
-
const filterSensitiveLog: (obj: EngineNotSupportedException) => any;
|
|
195
|
-
}
|
|
196
172
|
export interface GetLexiconInput {
|
|
197
173
|
/**
|
|
198
174
|
* <p>Name of the lexicon.</p>
|
|
@@ -436,12 +412,6 @@ export interface InvalidTaskIdException extends __SmithyException, $MetadataBear
|
|
|
436
412
|
$fault: "client";
|
|
437
413
|
message?: string;
|
|
438
414
|
}
|
|
439
|
-
export declare namespace InvalidTaskIdException {
|
|
440
|
-
/**
|
|
441
|
-
* @internal
|
|
442
|
-
*/
|
|
443
|
-
const filterSensitiveLog: (obj: InvalidTaskIdException) => any;
|
|
444
|
-
}
|
|
445
415
|
/**
|
|
446
416
|
* <p>The Speech Synthesis task with requested Task ID cannot be
|
|
447
417
|
* found.</p>
|
|
@@ -451,12 +421,6 @@ export interface SynthesisTaskNotFoundException extends __SmithyException, $Meta
|
|
|
451
421
|
$fault: "client";
|
|
452
422
|
message?: string;
|
|
453
423
|
}
|
|
454
|
-
export declare namespace SynthesisTaskNotFoundException {
|
|
455
|
-
/**
|
|
456
|
-
* @internal
|
|
457
|
-
*/
|
|
458
|
-
const filterSensitiveLog: (obj: SynthesisTaskNotFoundException) => any;
|
|
459
|
-
}
|
|
460
424
|
/**
|
|
461
425
|
* <p>Amazon Polly can't find the specified lexicon. Verify that the lexicon's
|
|
462
426
|
* name is spelled correctly, and then try again.</p>
|
|
@@ -466,12 +430,6 @@ export interface InvalidLexiconException extends __SmithyException, $MetadataBea
|
|
|
466
430
|
$fault: "client";
|
|
467
431
|
message?: string;
|
|
468
432
|
}
|
|
469
|
-
export declare namespace InvalidLexiconException {
|
|
470
|
-
/**
|
|
471
|
-
* @internal
|
|
472
|
-
*/
|
|
473
|
-
const filterSensitiveLog: (obj: InvalidLexiconException) => any;
|
|
474
|
-
}
|
|
475
433
|
/**
|
|
476
434
|
* <p>The provided Amazon S3 bucket name is invalid. Please check your input
|
|
477
435
|
* with S3 bucket naming requirements and try again.</p>
|
|
@@ -481,12 +439,6 @@ export interface InvalidS3BucketException extends __SmithyException, $MetadataBe
|
|
|
481
439
|
$fault: "client";
|
|
482
440
|
message?: string;
|
|
483
441
|
}
|
|
484
|
-
export declare namespace InvalidS3BucketException {
|
|
485
|
-
/**
|
|
486
|
-
* @internal
|
|
487
|
-
*/
|
|
488
|
-
const filterSensitiveLog: (obj: InvalidS3BucketException) => any;
|
|
489
|
-
}
|
|
490
442
|
/**
|
|
491
443
|
* <p>The provided Amazon S3 key prefix is invalid. Please provide a valid
|
|
492
444
|
* S3 object key name.</p>
|
|
@@ -496,12 +448,6 @@ export interface InvalidS3KeyException extends __SmithyException, $MetadataBeare
|
|
|
496
448
|
$fault: "client";
|
|
497
449
|
message?: string;
|
|
498
450
|
}
|
|
499
|
-
export declare namespace InvalidS3KeyException {
|
|
500
|
-
/**
|
|
501
|
-
* @internal
|
|
502
|
-
*/
|
|
503
|
-
const filterSensitiveLog: (obj: InvalidS3KeyException) => any;
|
|
504
|
-
}
|
|
505
451
|
/**
|
|
506
452
|
* <p>The specified sample rate is not valid.</p>
|
|
507
453
|
*/
|
|
@@ -510,12 +456,6 @@ export interface InvalidSampleRateException extends __SmithyException, $Metadata
|
|
|
510
456
|
$fault: "client";
|
|
511
457
|
message?: string;
|
|
512
458
|
}
|
|
513
|
-
export declare namespace InvalidSampleRateException {
|
|
514
|
-
/**
|
|
515
|
-
* @internal
|
|
516
|
-
*/
|
|
517
|
-
const filterSensitiveLog: (obj: InvalidSampleRateException) => any;
|
|
518
|
-
}
|
|
519
459
|
/**
|
|
520
460
|
* <p>The provided SNS topic ARN is invalid. Please provide a valid SNS
|
|
521
461
|
* topic ARN and try again.</p>
|
|
@@ -525,12 +465,6 @@ export interface InvalidSnsTopicArnException extends __SmithyException, $Metadat
|
|
|
525
465
|
$fault: "client";
|
|
526
466
|
message?: string;
|
|
527
467
|
}
|
|
528
|
-
export declare namespace InvalidSnsTopicArnException {
|
|
529
|
-
/**
|
|
530
|
-
* @internal
|
|
531
|
-
*/
|
|
532
|
-
const filterSensitiveLog: (obj: InvalidSnsTopicArnException) => any;
|
|
533
|
-
}
|
|
534
468
|
/**
|
|
535
469
|
* <p>The SSML you provided is invalid. Verify the SSML syntax, spelling
|
|
536
470
|
* of tags and values, and then try again.</p>
|
|
@@ -540,12 +474,6 @@ export interface InvalidSsmlException extends __SmithyException, $MetadataBearer
|
|
|
540
474
|
$fault: "client";
|
|
541
475
|
message?: string;
|
|
542
476
|
}
|
|
543
|
-
export declare namespace InvalidSsmlException {
|
|
544
|
-
/**
|
|
545
|
-
* @internal
|
|
546
|
-
*/
|
|
547
|
-
const filterSensitiveLog: (obj: InvalidSsmlException) => any;
|
|
548
|
-
}
|
|
549
477
|
/**
|
|
550
478
|
* <p>The language specified is not currently supported by Amazon Polly in this
|
|
551
479
|
* capacity.</p>
|
|
@@ -555,12 +483,6 @@ export interface LanguageNotSupportedException extends __SmithyException, $Metad
|
|
|
555
483
|
$fault: "client";
|
|
556
484
|
message?: string;
|
|
557
485
|
}
|
|
558
|
-
export declare namespace LanguageNotSupportedException {
|
|
559
|
-
/**
|
|
560
|
-
* @internal
|
|
561
|
-
*/
|
|
562
|
-
const filterSensitiveLog: (obj: LanguageNotSupportedException) => any;
|
|
563
|
-
}
|
|
564
486
|
/**
|
|
565
487
|
* <p>Describes the content of the lexicon.</p>
|
|
566
488
|
*/
|
|
@@ -589,12 +511,6 @@ export interface LexiconSizeExceededException extends __SmithyException, $Metada
|
|
|
589
511
|
$fault: "client";
|
|
590
512
|
message?: string;
|
|
591
513
|
}
|
|
592
|
-
export declare namespace LexiconSizeExceededException {
|
|
593
|
-
/**
|
|
594
|
-
* @internal
|
|
595
|
-
*/
|
|
596
|
-
const filterSensitiveLog: (obj: LexiconSizeExceededException) => any;
|
|
597
|
-
}
|
|
598
514
|
export interface ListLexiconsInput {
|
|
599
515
|
/**
|
|
600
516
|
* <p>An opaque pagination token returned from previous
|
|
@@ -680,12 +596,6 @@ export interface MarksNotSupportedForFormatException extends __SmithyException,
|
|
|
680
596
|
$fault: "client";
|
|
681
597
|
message?: string;
|
|
682
598
|
}
|
|
683
|
-
export declare namespace MarksNotSupportedForFormatException {
|
|
684
|
-
/**
|
|
685
|
-
* @internal
|
|
686
|
-
*/
|
|
687
|
-
const filterSensitiveLog: (obj: MarksNotSupportedForFormatException) => any;
|
|
688
|
-
}
|
|
689
599
|
/**
|
|
690
600
|
* <p>The maximum size of the lexeme would be exceeded by this
|
|
691
601
|
* operation.</p>
|
|
@@ -695,12 +605,6 @@ export interface MaxLexemeLengthExceededException extends __SmithyException, $Me
|
|
|
695
605
|
$fault: "client";
|
|
696
606
|
message?: string;
|
|
697
607
|
}
|
|
698
|
-
export declare namespace MaxLexemeLengthExceededException {
|
|
699
|
-
/**
|
|
700
|
-
* @internal
|
|
701
|
-
*/
|
|
702
|
-
const filterSensitiveLog: (obj: MaxLexemeLengthExceededException) => any;
|
|
703
|
-
}
|
|
704
608
|
/**
|
|
705
609
|
* <p>The maximum number of lexicons would be exceeded by this
|
|
706
610
|
* operation.</p>
|
|
@@ -710,12 +614,6 @@ export interface MaxLexiconsNumberExceededException extends __SmithyException, $
|
|
|
710
614
|
$fault: "client";
|
|
711
615
|
message?: string;
|
|
712
616
|
}
|
|
713
|
-
export declare namespace MaxLexiconsNumberExceededException {
|
|
714
|
-
/**
|
|
715
|
-
* @internal
|
|
716
|
-
*/
|
|
717
|
-
const filterSensitiveLog: (obj: MaxLexiconsNumberExceededException) => any;
|
|
718
|
-
}
|
|
719
617
|
export interface PutLexiconInput {
|
|
720
618
|
/**
|
|
721
619
|
* <p>Name of the lexicon. The name must follow the regular express
|
|
@@ -751,12 +649,6 @@ export interface UnsupportedPlsAlphabetException extends __SmithyException, $Met
|
|
|
751
649
|
$fault: "client";
|
|
752
650
|
message?: string;
|
|
753
651
|
}
|
|
754
|
-
export declare namespace UnsupportedPlsAlphabetException {
|
|
755
|
-
/**
|
|
756
|
-
* @internal
|
|
757
|
-
*/
|
|
758
|
-
const filterSensitiveLog: (obj: UnsupportedPlsAlphabetException) => any;
|
|
759
|
-
}
|
|
760
652
|
/**
|
|
761
653
|
* <p>The language specified in the lexicon is unsupported. For a list of
|
|
762
654
|
* supported languages, see <a href="https://docs.aws.amazon.com/polly/latest/dg/API_LexiconAttributes.html">Lexicon Attributes</a>.</p>
|
|
@@ -766,12 +658,6 @@ export interface UnsupportedPlsLanguageException extends __SmithyException, $Met
|
|
|
766
658
|
$fault: "client";
|
|
767
659
|
message?: string;
|
|
768
660
|
}
|
|
769
|
-
export declare namespace UnsupportedPlsLanguageException {
|
|
770
|
-
/**
|
|
771
|
-
* @internal
|
|
772
|
-
*/
|
|
773
|
-
const filterSensitiveLog: (obj: UnsupportedPlsLanguageException) => any;
|
|
774
|
-
}
|
|
775
661
|
/**
|
|
776
662
|
* <p>SSML speech marks are not supported for plain text-type
|
|
777
663
|
* input.</p>
|
|
@@ -781,12 +667,6 @@ export interface SsmlMarksNotSupportedForTextTypeException extends __SmithyExcep
|
|
|
781
667
|
$fault: "client";
|
|
782
668
|
message?: string;
|
|
783
669
|
}
|
|
784
|
-
export declare namespace SsmlMarksNotSupportedForTextTypeException {
|
|
785
|
-
/**
|
|
786
|
-
* @internal
|
|
787
|
-
*/
|
|
788
|
-
const filterSensitiveLog: (obj: SsmlMarksNotSupportedForTextTypeException) => any;
|
|
789
|
-
}
|
|
790
670
|
export interface StartSpeechSynthesisTaskInput {
|
|
791
671
|
/**
|
|
792
672
|
* <p>Specifies the engine (<code>standard</code> or <code>neural</code>)
|
|
@@ -892,12 +772,6 @@ export interface TextLengthExceededException extends __SmithyException, $Metadat
|
|
|
892
772
|
$fault: "client";
|
|
893
773
|
message?: string;
|
|
894
774
|
}
|
|
895
|
-
export declare namespace TextLengthExceededException {
|
|
896
|
-
/**
|
|
897
|
-
* @internal
|
|
898
|
-
*/
|
|
899
|
-
const filterSensitiveLog: (obj: TextLengthExceededException) => any;
|
|
900
|
-
}
|
|
901
775
|
export interface SynthesizeSpeechInput {
|
|
902
776
|
/**
|
|
903
777
|
* <p>Specifies the engine (<code>standard</code> or <code>neural</code>)
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { PollyClientConfig } from "./PollyClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { PollyClientConfig } from "./PollyClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { DeleteLexiconCommandInput, DeleteLexiconCommandOutput } from "./commands/DeleteLexiconCommand";
|
|
10
10
|
import { DescribeVoicesCommandInput, DescribeVoicesCommandOutput } from "./commands/DescribeVoicesCommand";
|
|
@@ -60,6 +60,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
60
60
|
regionInfoProvider?: RegionInfoProvider;
|
|
61
61
|
|
|
62
62
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
63
|
+
|
|
64
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
63
65
|
}
|
|
64
66
|
declare type PollyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
65
67
|
|
|
@@ -21,20 +21,12 @@ export interface LexiconNotFoundException extends __SmithyException, $MetadataBe
|
|
|
21
21
|
$fault: "client";
|
|
22
22
|
message?: string;
|
|
23
23
|
}
|
|
24
|
-
export declare namespace LexiconNotFoundException {
|
|
25
|
-
|
|
26
|
-
const filterSensitiveLog: (obj: LexiconNotFoundException) => any;
|
|
27
|
-
}
|
|
28
24
|
|
|
29
25
|
export interface ServiceFailureException extends __SmithyException, $MetadataBearer {
|
|
30
26
|
name: "ServiceFailureException";
|
|
31
27
|
$fault: "server";
|
|
32
28
|
message?: string;
|
|
33
29
|
}
|
|
34
|
-
export declare namespace ServiceFailureException {
|
|
35
|
-
|
|
36
|
-
const filterSensitiveLog: (obj: ServiceFailureException) => any;
|
|
37
|
-
}
|
|
38
30
|
export declare enum Engine {
|
|
39
31
|
NEURAL = "neural",
|
|
40
32
|
STANDARD = "standard"
|
|
@@ -93,20 +85,12 @@ export interface InvalidNextTokenException extends __SmithyException, $MetadataB
|
|
|
93
85
|
$fault: "client";
|
|
94
86
|
message?: string;
|
|
95
87
|
}
|
|
96
|
-
export declare namespace InvalidNextTokenException {
|
|
97
|
-
|
|
98
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
99
|
-
}
|
|
100
88
|
|
|
101
89
|
export interface EngineNotSupportedException extends __SmithyException, $MetadataBearer {
|
|
102
90
|
name: "EngineNotSupportedException";
|
|
103
91
|
$fault: "client";
|
|
104
92
|
message?: string;
|
|
105
93
|
}
|
|
106
|
-
export declare namespace EngineNotSupportedException {
|
|
107
|
-
|
|
108
|
-
const filterSensitiveLog: (obj: EngineNotSupportedException) => any;
|
|
109
|
-
}
|
|
110
94
|
export interface GetLexiconInput {
|
|
111
95
|
|
|
112
96
|
Name: string | undefined;
|
|
@@ -236,90 +220,54 @@ export interface InvalidTaskIdException extends __SmithyException, $MetadataBear
|
|
|
236
220
|
$fault: "client";
|
|
237
221
|
message?: string;
|
|
238
222
|
}
|
|
239
|
-
export declare namespace InvalidTaskIdException {
|
|
240
|
-
|
|
241
|
-
const filterSensitiveLog: (obj: InvalidTaskIdException) => any;
|
|
242
|
-
}
|
|
243
223
|
|
|
244
224
|
export interface SynthesisTaskNotFoundException extends __SmithyException, $MetadataBearer {
|
|
245
225
|
name: "SynthesisTaskNotFoundException";
|
|
246
226
|
$fault: "client";
|
|
247
227
|
message?: string;
|
|
248
228
|
}
|
|
249
|
-
export declare namespace SynthesisTaskNotFoundException {
|
|
250
|
-
|
|
251
|
-
const filterSensitiveLog: (obj: SynthesisTaskNotFoundException) => any;
|
|
252
|
-
}
|
|
253
229
|
|
|
254
230
|
export interface InvalidLexiconException extends __SmithyException, $MetadataBearer {
|
|
255
231
|
name: "InvalidLexiconException";
|
|
256
232
|
$fault: "client";
|
|
257
233
|
message?: string;
|
|
258
234
|
}
|
|
259
|
-
export declare namespace InvalidLexiconException {
|
|
260
|
-
|
|
261
|
-
const filterSensitiveLog: (obj: InvalidLexiconException) => any;
|
|
262
|
-
}
|
|
263
235
|
|
|
264
236
|
export interface InvalidS3BucketException extends __SmithyException, $MetadataBearer {
|
|
265
237
|
name: "InvalidS3BucketException";
|
|
266
238
|
$fault: "client";
|
|
267
239
|
message?: string;
|
|
268
240
|
}
|
|
269
|
-
export declare namespace InvalidS3BucketException {
|
|
270
|
-
|
|
271
|
-
const filterSensitiveLog: (obj: InvalidS3BucketException) => any;
|
|
272
|
-
}
|
|
273
241
|
|
|
274
242
|
export interface InvalidS3KeyException extends __SmithyException, $MetadataBearer {
|
|
275
243
|
name: "InvalidS3KeyException";
|
|
276
244
|
$fault: "client";
|
|
277
245
|
message?: string;
|
|
278
246
|
}
|
|
279
|
-
export declare namespace InvalidS3KeyException {
|
|
280
|
-
|
|
281
|
-
const filterSensitiveLog: (obj: InvalidS3KeyException) => any;
|
|
282
|
-
}
|
|
283
247
|
|
|
284
248
|
export interface InvalidSampleRateException extends __SmithyException, $MetadataBearer {
|
|
285
249
|
name: "InvalidSampleRateException";
|
|
286
250
|
$fault: "client";
|
|
287
251
|
message?: string;
|
|
288
252
|
}
|
|
289
|
-
export declare namespace InvalidSampleRateException {
|
|
290
|
-
|
|
291
|
-
const filterSensitiveLog: (obj: InvalidSampleRateException) => any;
|
|
292
|
-
}
|
|
293
253
|
|
|
294
254
|
export interface InvalidSnsTopicArnException extends __SmithyException, $MetadataBearer {
|
|
295
255
|
name: "InvalidSnsTopicArnException";
|
|
296
256
|
$fault: "client";
|
|
297
257
|
message?: string;
|
|
298
258
|
}
|
|
299
|
-
export declare namespace InvalidSnsTopicArnException {
|
|
300
|
-
|
|
301
|
-
const filterSensitiveLog: (obj: InvalidSnsTopicArnException) => any;
|
|
302
|
-
}
|
|
303
259
|
|
|
304
260
|
export interface InvalidSsmlException extends __SmithyException, $MetadataBearer {
|
|
305
261
|
name: "InvalidSsmlException";
|
|
306
262
|
$fault: "client";
|
|
307
263
|
message?: string;
|
|
308
264
|
}
|
|
309
|
-
export declare namespace InvalidSsmlException {
|
|
310
|
-
|
|
311
|
-
const filterSensitiveLog: (obj: InvalidSsmlException) => any;
|
|
312
|
-
}
|
|
313
265
|
|
|
314
266
|
export interface LanguageNotSupportedException extends __SmithyException, $MetadataBearer {
|
|
315
267
|
name: "LanguageNotSupportedException";
|
|
316
268
|
$fault: "client";
|
|
317
269
|
message?: string;
|
|
318
270
|
}
|
|
319
|
-
export declare namespace LanguageNotSupportedException {
|
|
320
|
-
|
|
321
|
-
const filterSensitiveLog: (obj: LanguageNotSupportedException) => any;
|
|
322
|
-
}
|
|
323
271
|
|
|
324
272
|
export interface LexiconDescription {
|
|
325
273
|
|
|
@@ -337,10 +285,6 @@ export interface LexiconSizeExceededException extends __SmithyException, $Metada
|
|
|
337
285
|
$fault: "client";
|
|
338
286
|
message?: string;
|
|
339
287
|
}
|
|
340
|
-
export declare namespace LexiconSizeExceededException {
|
|
341
|
-
|
|
342
|
-
const filterSensitiveLog: (obj: LexiconSizeExceededException) => any;
|
|
343
|
-
}
|
|
344
288
|
export interface ListLexiconsInput {
|
|
345
289
|
|
|
346
290
|
NextToken?: string;
|
|
@@ -387,30 +331,18 @@ export interface MarksNotSupportedForFormatException extends __SmithyException,
|
|
|
387
331
|
$fault: "client";
|
|
388
332
|
message?: string;
|
|
389
333
|
}
|
|
390
|
-
export declare namespace MarksNotSupportedForFormatException {
|
|
391
|
-
|
|
392
|
-
const filterSensitiveLog: (obj: MarksNotSupportedForFormatException) => any;
|
|
393
|
-
}
|
|
394
334
|
|
|
395
335
|
export interface MaxLexemeLengthExceededException extends __SmithyException, $MetadataBearer {
|
|
396
336
|
name: "MaxLexemeLengthExceededException";
|
|
397
337
|
$fault: "client";
|
|
398
338
|
message?: string;
|
|
399
339
|
}
|
|
400
|
-
export declare namespace MaxLexemeLengthExceededException {
|
|
401
|
-
|
|
402
|
-
const filterSensitiveLog: (obj: MaxLexemeLengthExceededException) => any;
|
|
403
|
-
}
|
|
404
340
|
|
|
405
341
|
export interface MaxLexiconsNumberExceededException extends __SmithyException, $MetadataBearer {
|
|
406
342
|
name: "MaxLexiconsNumberExceededException";
|
|
407
343
|
$fault: "client";
|
|
408
344
|
message?: string;
|
|
409
345
|
}
|
|
410
|
-
export declare namespace MaxLexiconsNumberExceededException {
|
|
411
|
-
|
|
412
|
-
const filterSensitiveLog: (obj: MaxLexiconsNumberExceededException) => any;
|
|
413
|
-
}
|
|
414
346
|
export interface PutLexiconInput {
|
|
415
347
|
|
|
416
348
|
Name: string | undefined;
|
|
@@ -433,30 +365,18 @@ export interface UnsupportedPlsAlphabetException extends __SmithyException, $Met
|
|
|
433
365
|
$fault: "client";
|
|
434
366
|
message?: string;
|
|
435
367
|
}
|
|
436
|
-
export declare namespace UnsupportedPlsAlphabetException {
|
|
437
|
-
|
|
438
|
-
const filterSensitiveLog: (obj: UnsupportedPlsAlphabetException) => any;
|
|
439
|
-
}
|
|
440
368
|
|
|
441
369
|
export interface UnsupportedPlsLanguageException extends __SmithyException, $MetadataBearer {
|
|
442
370
|
name: "UnsupportedPlsLanguageException";
|
|
443
371
|
$fault: "client";
|
|
444
372
|
message?: string;
|
|
445
373
|
}
|
|
446
|
-
export declare namespace UnsupportedPlsLanguageException {
|
|
447
|
-
|
|
448
|
-
const filterSensitiveLog: (obj: UnsupportedPlsLanguageException) => any;
|
|
449
|
-
}
|
|
450
374
|
|
|
451
375
|
export interface SsmlMarksNotSupportedForTextTypeException extends __SmithyException, $MetadataBearer {
|
|
452
376
|
name: "SsmlMarksNotSupportedForTextTypeException";
|
|
453
377
|
$fault: "client";
|
|
454
378
|
message?: string;
|
|
455
379
|
}
|
|
456
|
-
export declare namespace SsmlMarksNotSupportedForTextTypeException {
|
|
457
|
-
|
|
458
|
-
const filterSensitiveLog: (obj: SsmlMarksNotSupportedForTextTypeException) => any;
|
|
459
|
-
}
|
|
460
380
|
export interface StartSpeechSynthesisTaskInput {
|
|
461
381
|
|
|
462
382
|
Engine?: Engine | string;
|
|
@@ -501,10 +421,6 @@ export interface TextLengthExceededException extends __SmithyException, $Metadat
|
|
|
501
421
|
$fault: "client";
|
|
502
422
|
message?: string;
|
|
503
423
|
}
|
|
504
|
-
export declare namespace TextLengthExceededException {
|
|
505
|
-
|
|
506
|
-
const filterSensitiveLog: (obj: TextLengthExceededException) => any;
|
|
507
|
-
}
|
|
508
424
|
export interface SynthesizeSpeechInput {
|
|
509
425
|
|
|
510
426
|
Engine?: Engine | string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { PollyClientConfig } from "./PollyClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { PollyClientConfig } from "./PollyClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|