@aws-sdk/client-polly 3.52.0 → 3.54.1
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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/PollyServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +275 -1
- package/dist-cjs/protocols/Aws_restJson1.js +219 -490
- package/dist-es/index.js +1 -0
- package/dist-es/models/PollyServiceException.js +12 -0
- package/dist-es/models/models_0.js +254 -1
- package/dist-es/protocols/Aws_restJson1.js +291 -548
- package/dist-types/PollyClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/PollyServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +149 -85
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/PollyClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/PollyServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +107 -85
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
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";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, 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";
|
|
11
11
|
import { GetLexiconCommandInput, GetLexiconCommandOutput } from "./commands/GetLexiconCommand";
|
|
@@ -37,7 +37,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
37
37
|
* A function that can calculate the length of a request body.
|
|
38
38
|
* @internal
|
|
39
39
|
*/
|
|
40
|
-
bodyLengthChecker?:
|
|
40
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
41
41
|
/**
|
|
42
42
|
* A function that converts a stream into an array of bytes.
|
|
43
43
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Polly service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PollyServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import {
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
|
+
import { PollyServiceException as __BaseException } from "./PollyServiceException";
|
|
4
5
|
export interface DeleteLexiconInput {
|
|
5
6
|
/**
|
|
6
7
|
* <p>The name of the lexicon to delete. Must be an existing lexicon in
|
|
@@ -29,18 +30,24 @@ export declare namespace DeleteLexiconOutput {
|
|
|
29
30
|
* <p>Verify that the lexicon exists, is in the region (see <a>ListLexicons</a>) and that you spelled its name is spelled
|
|
30
31
|
* correctly. Then try again.</p>
|
|
31
32
|
*/
|
|
32
|
-
export
|
|
33
|
-
name: "LexiconNotFoundException";
|
|
34
|
-
$fault: "client";
|
|
35
|
-
|
|
33
|
+
export declare class LexiconNotFoundException extends __BaseException {
|
|
34
|
+
readonly name: "LexiconNotFoundException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
constructor(opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>);
|
|
36
40
|
}
|
|
37
41
|
/**
|
|
38
42
|
* <p>An unknown condition has caused a service failure.</p>
|
|
39
43
|
*/
|
|
40
|
-
export
|
|
41
|
-
name: "ServiceFailureException";
|
|
42
|
-
$fault: "server";
|
|
43
|
-
|
|
44
|
+
export declare class ServiceFailureException extends __BaseException {
|
|
45
|
+
readonly name: "ServiceFailureException";
|
|
46
|
+
readonly $fault: "server";
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
|
|
44
51
|
}
|
|
45
52
|
export declare enum Engine {
|
|
46
53
|
NEURAL = "neural",
|
|
@@ -154,20 +161,26 @@ export declare namespace DescribeVoicesOutput {
|
|
|
154
161
|
* <p>The NextToken is invalid. Verify that it's spelled correctly, and
|
|
155
162
|
* then try again.</p>
|
|
156
163
|
*/
|
|
157
|
-
export
|
|
158
|
-
name: "InvalidNextTokenException";
|
|
159
|
-
$fault: "client";
|
|
160
|
-
|
|
164
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
165
|
+
readonly name: "InvalidNextTokenException";
|
|
166
|
+
readonly $fault: "client";
|
|
167
|
+
/**
|
|
168
|
+
* @internal
|
|
169
|
+
*/
|
|
170
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
161
171
|
}
|
|
162
172
|
/**
|
|
163
173
|
* <p>This engine is not compatible with the voice that you have designated.
|
|
164
174
|
* Choose a new voice that is compatible with the engine or change the engine
|
|
165
175
|
* and restart the operation.</p>
|
|
166
176
|
*/
|
|
167
|
-
export
|
|
168
|
-
name: "EngineNotSupportedException";
|
|
169
|
-
$fault: "client";
|
|
170
|
-
|
|
177
|
+
export declare class EngineNotSupportedException extends __BaseException {
|
|
178
|
+
readonly name: "EngineNotSupportedException";
|
|
179
|
+
readonly $fault: "client";
|
|
180
|
+
/**
|
|
181
|
+
* @internal
|
|
182
|
+
*/
|
|
183
|
+
constructor(opts: __ExceptionOptionType<EngineNotSupportedException, __BaseException>);
|
|
171
184
|
}
|
|
172
185
|
export interface GetLexiconInput {
|
|
173
186
|
/**
|
|
@@ -407,81 +420,108 @@ export declare namespace GetSpeechSynthesisTaskOutput {
|
|
|
407
420
|
* <p>The provided Task ID is not valid. Please provide a valid Task ID and
|
|
408
421
|
* try again.</p>
|
|
409
422
|
*/
|
|
410
|
-
export
|
|
411
|
-
name: "InvalidTaskIdException";
|
|
412
|
-
$fault: "client";
|
|
413
|
-
|
|
423
|
+
export declare class InvalidTaskIdException extends __BaseException {
|
|
424
|
+
readonly name: "InvalidTaskIdException";
|
|
425
|
+
readonly $fault: "client";
|
|
426
|
+
/**
|
|
427
|
+
* @internal
|
|
428
|
+
*/
|
|
429
|
+
constructor(opts: __ExceptionOptionType<InvalidTaskIdException, __BaseException>);
|
|
414
430
|
}
|
|
415
431
|
/**
|
|
416
432
|
* <p>The Speech Synthesis task with requested Task ID cannot be
|
|
417
433
|
* found.</p>
|
|
418
434
|
*/
|
|
419
|
-
export
|
|
420
|
-
name: "SynthesisTaskNotFoundException";
|
|
421
|
-
$fault: "client";
|
|
422
|
-
|
|
435
|
+
export declare class SynthesisTaskNotFoundException extends __BaseException {
|
|
436
|
+
readonly name: "SynthesisTaskNotFoundException";
|
|
437
|
+
readonly $fault: "client";
|
|
438
|
+
/**
|
|
439
|
+
* @internal
|
|
440
|
+
*/
|
|
441
|
+
constructor(opts: __ExceptionOptionType<SynthesisTaskNotFoundException, __BaseException>);
|
|
423
442
|
}
|
|
424
443
|
/**
|
|
425
444
|
* <p>Amazon Polly can't find the specified lexicon. Verify that the lexicon's
|
|
426
445
|
* name is spelled correctly, and then try again.</p>
|
|
427
446
|
*/
|
|
428
|
-
export
|
|
429
|
-
name: "InvalidLexiconException";
|
|
430
|
-
$fault: "client";
|
|
431
|
-
|
|
447
|
+
export declare class InvalidLexiconException extends __BaseException {
|
|
448
|
+
readonly name: "InvalidLexiconException";
|
|
449
|
+
readonly $fault: "client";
|
|
450
|
+
/**
|
|
451
|
+
* @internal
|
|
452
|
+
*/
|
|
453
|
+
constructor(opts: __ExceptionOptionType<InvalidLexiconException, __BaseException>);
|
|
432
454
|
}
|
|
433
455
|
/**
|
|
434
456
|
* <p>The provided Amazon S3 bucket name is invalid. Please check your input
|
|
435
457
|
* with S3 bucket naming requirements and try again.</p>
|
|
436
458
|
*/
|
|
437
|
-
export
|
|
438
|
-
name: "InvalidS3BucketException";
|
|
439
|
-
$fault: "client";
|
|
440
|
-
|
|
459
|
+
export declare class InvalidS3BucketException extends __BaseException {
|
|
460
|
+
readonly name: "InvalidS3BucketException";
|
|
461
|
+
readonly $fault: "client";
|
|
462
|
+
/**
|
|
463
|
+
* @internal
|
|
464
|
+
*/
|
|
465
|
+
constructor(opts: __ExceptionOptionType<InvalidS3BucketException, __BaseException>);
|
|
441
466
|
}
|
|
442
467
|
/**
|
|
443
468
|
* <p>The provided Amazon S3 key prefix is invalid. Please provide a valid
|
|
444
469
|
* S3 object key name.</p>
|
|
445
470
|
*/
|
|
446
|
-
export
|
|
447
|
-
name: "InvalidS3KeyException";
|
|
448
|
-
$fault: "client";
|
|
449
|
-
|
|
471
|
+
export declare class InvalidS3KeyException extends __BaseException {
|
|
472
|
+
readonly name: "InvalidS3KeyException";
|
|
473
|
+
readonly $fault: "client";
|
|
474
|
+
/**
|
|
475
|
+
* @internal
|
|
476
|
+
*/
|
|
477
|
+
constructor(opts: __ExceptionOptionType<InvalidS3KeyException, __BaseException>);
|
|
450
478
|
}
|
|
451
479
|
/**
|
|
452
480
|
* <p>The specified sample rate is not valid.</p>
|
|
453
481
|
*/
|
|
454
|
-
export
|
|
455
|
-
name: "InvalidSampleRateException";
|
|
456
|
-
$fault: "client";
|
|
457
|
-
|
|
482
|
+
export declare class InvalidSampleRateException extends __BaseException {
|
|
483
|
+
readonly name: "InvalidSampleRateException";
|
|
484
|
+
readonly $fault: "client";
|
|
485
|
+
/**
|
|
486
|
+
* @internal
|
|
487
|
+
*/
|
|
488
|
+
constructor(opts: __ExceptionOptionType<InvalidSampleRateException, __BaseException>);
|
|
458
489
|
}
|
|
459
490
|
/**
|
|
460
491
|
* <p>The provided SNS topic ARN is invalid. Please provide a valid SNS
|
|
461
492
|
* topic ARN and try again.</p>
|
|
462
493
|
*/
|
|
463
|
-
export
|
|
464
|
-
name: "InvalidSnsTopicArnException";
|
|
465
|
-
$fault: "client";
|
|
466
|
-
|
|
494
|
+
export declare class InvalidSnsTopicArnException extends __BaseException {
|
|
495
|
+
readonly name: "InvalidSnsTopicArnException";
|
|
496
|
+
readonly $fault: "client";
|
|
497
|
+
/**
|
|
498
|
+
* @internal
|
|
499
|
+
*/
|
|
500
|
+
constructor(opts: __ExceptionOptionType<InvalidSnsTopicArnException, __BaseException>);
|
|
467
501
|
}
|
|
468
502
|
/**
|
|
469
503
|
* <p>The SSML you provided is invalid. Verify the SSML syntax, spelling
|
|
470
504
|
* of tags and values, and then try again.</p>
|
|
471
505
|
*/
|
|
472
|
-
export
|
|
473
|
-
name: "InvalidSsmlException";
|
|
474
|
-
$fault: "client";
|
|
475
|
-
|
|
506
|
+
export declare class InvalidSsmlException extends __BaseException {
|
|
507
|
+
readonly name: "InvalidSsmlException";
|
|
508
|
+
readonly $fault: "client";
|
|
509
|
+
/**
|
|
510
|
+
* @internal
|
|
511
|
+
*/
|
|
512
|
+
constructor(opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>);
|
|
476
513
|
}
|
|
477
514
|
/**
|
|
478
515
|
* <p>The language specified is not currently supported by Amazon Polly in this
|
|
479
516
|
* capacity.</p>
|
|
480
517
|
*/
|
|
481
|
-
export
|
|
482
|
-
name: "LanguageNotSupportedException";
|
|
483
|
-
$fault: "client";
|
|
484
|
-
|
|
518
|
+
export declare class LanguageNotSupportedException extends __BaseException {
|
|
519
|
+
readonly name: "LanguageNotSupportedException";
|
|
520
|
+
readonly $fault: "client";
|
|
521
|
+
/**
|
|
522
|
+
* @internal
|
|
523
|
+
*/
|
|
524
|
+
constructor(opts: __ExceptionOptionType<LanguageNotSupportedException, __BaseException>);
|
|
485
525
|
}
|
|
486
526
|
/**
|
|
487
527
|
* <p>Describes the content of the lexicon.</p>
|
|
@@ -506,10 +546,13 @@ export declare namespace LexiconDescription {
|
|
|
506
546
|
* <p>The maximum size of the specified lexicon would be exceeded by this
|
|
507
547
|
* operation.</p>
|
|
508
548
|
*/
|
|
509
|
-
export
|
|
510
|
-
name: "LexiconSizeExceededException";
|
|
511
|
-
$fault: "client";
|
|
512
|
-
|
|
549
|
+
export declare class LexiconSizeExceededException extends __BaseException {
|
|
550
|
+
readonly name: "LexiconSizeExceededException";
|
|
551
|
+
readonly $fault: "client";
|
|
552
|
+
/**
|
|
553
|
+
* @internal
|
|
554
|
+
*/
|
|
555
|
+
constructor(opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>);
|
|
513
556
|
}
|
|
514
557
|
export interface ListLexiconsInput {
|
|
515
558
|
/**
|
|
@@ -591,28 +634,37 @@ export declare namespace ListSpeechSynthesisTasksOutput {
|
|
|
591
634
|
* selected. Speech marks are only available for content in <code>json</code>
|
|
592
635
|
* format.</p>
|
|
593
636
|
*/
|
|
594
|
-
export
|
|
595
|
-
name: "MarksNotSupportedForFormatException";
|
|
596
|
-
$fault: "client";
|
|
597
|
-
|
|
637
|
+
export declare class MarksNotSupportedForFormatException extends __BaseException {
|
|
638
|
+
readonly name: "MarksNotSupportedForFormatException";
|
|
639
|
+
readonly $fault: "client";
|
|
640
|
+
/**
|
|
641
|
+
* @internal
|
|
642
|
+
*/
|
|
643
|
+
constructor(opts: __ExceptionOptionType<MarksNotSupportedForFormatException, __BaseException>);
|
|
598
644
|
}
|
|
599
645
|
/**
|
|
600
646
|
* <p>The maximum size of the lexeme would be exceeded by this
|
|
601
647
|
* operation.</p>
|
|
602
648
|
*/
|
|
603
|
-
export
|
|
604
|
-
name: "MaxLexemeLengthExceededException";
|
|
605
|
-
$fault: "client";
|
|
606
|
-
|
|
649
|
+
export declare class MaxLexemeLengthExceededException extends __BaseException {
|
|
650
|
+
readonly name: "MaxLexemeLengthExceededException";
|
|
651
|
+
readonly $fault: "client";
|
|
652
|
+
/**
|
|
653
|
+
* @internal
|
|
654
|
+
*/
|
|
655
|
+
constructor(opts: __ExceptionOptionType<MaxLexemeLengthExceededException, __BaseException>);
|
|
607
656
|
}
|
|
608
657
|
/**
|
|
609
658
|
* <p>The maximum number of lexicons would be exceeded by this
|
|
610
659
|
* operation.</p>
|
|
611
660
|
*/
|
|
612
|
-
export
|
|
613
|
-
name: "MaxLexiconsNumberExceededException";
|
|
614
|
-
$fault: "client";
|
|
615
|
-
|
|
661
|
+
export declare class MaxLexiconsNumberExceededException extends __BaseException {
|
|
662
|
+
readonly name: "MaxLexiconsNumberExceededException";
|
|
663
|
+
readonly $fault: "client";
|
|
664
|
+
/**
|
|
665
|
+
* @internal
|
|
666
|
+
*/
|
|
667
|
+
constructor(opts: __ExceptionOptionType<MaxLexiconsNumberExceededException, __BaseException>);
|
|
616
668
|
}
|
|
617
669
|
export interface PutLexiconInput {
|
|
618
670
|
/**
|
|
@@ -644,28 +696,37 @@ export declare namespace PutLexiconOutput {
|
|
|
644
696
|
* <p>The alphabet specified by the lexicon is not a supported alphabet.
|
|
645
697
|
* Valid values are <code>x-sampa</code> and <code>ipa</code>.</p>
|
|
646
698
|
*/
|
|
647
|
-
export
|
|
648
|
-
name: "UnsupportedPlsAlphabetException";
|
|
649
|
-
$fault: "client";
|
|
650
|
-
|
|
699
|
+
export declare class UnsupportedPlsAlphabetException extends __BaseException {
|
|
700
|
+
readonly name: "UnsupportedPlsAlphabetException";
|
|
701
|
+
readonly $fault: "client";
|
|
702
|
+
/**
|
|
703
|
+
* @internal
|
|
704
|
+
*/
|
|
705
|
+
constructor(opts: __ExceptionOptionType<UnsupportedPlsAlphabetException, __BaseException>);
|
|
651
706
|
}
|
|
652
707
|
/**
|
|
653
708
|
* <p>The language specified in the lexicon is unsupported. For a list of
|
|
654
709
|
* supported languages, see <a href="https://docs.aws.amazon.com/polly/latest/dg/API_LexiconAttributes.html">Lexicon Attributes</a>.</p>
|
|
655
710
|
*/
|
|
656
|
-
export
|
|
657
|
-
name: "UnsupportedPlsLanguageException";
|
|
658
|
-
$fault: "client";
|
|
659
|
-
|
|
711
|
+
export declare class UnsupportedPlsLanguageException extends __BaseException {
|
|
712
|
+
readonly name: "UnsupportedPlsLanguageException";
|
|
713
|
+
readonly $fault: "client";
|
|
714
|
+
/**
|
|
715
|
+
* @internal
|
|
716
|
+
*/
|
|
717
|
+
constructor(opts: __ExceptionOptionType<UnsupportedPlsLanguageException, __BaseException>);
|
|
660
718
|
}
|
|
661
719
|
/**
|
|
662
720
|
* <p>SSML speech marks are not supported for plain text-type
|
|
663
721
|
* input.</p>
|
|
664
722
|
*/
|
|
665
|
-
export
|
|
666
|
-
name: "SsmlMarksNotSupportedForTextTypeException";
|
|
667
|
-
$fault: "client";
|
|
668
|
-
|
|
723
|
+
export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
|
|
724
|
+
readonly name: "SsmlMarksNotSupportedForTextTypeException";
|
|
725
|
+
readonly $fault: "client";
|
|
726
|
+
/**
|
|
727
|
+
* @internal
|
|
728
|
+
*/
|
|
729
|
+
constructor(opts: __ExceptionOptionType<SsmlMarksNotSupportedForTextTypeException, __BaseException>);
|
|
669
730
|
}
|
|
670
731
|
export interface StartSpeechSynthesisTaskInput {
|
|
671
732
|
/**
|
|
@@ -767,10 +828,13 @@ export declare namespace StartSpeechSynthesisTaskOutput {
|
|
|
767
828
|
* billed characters. SSML tags are not counted as billed
|
|
768
829
|
* characters.</p>
|
|
769
830
|
*/
|
|
770
|
-
export
|
|
771
|
-
name: "TextLengthExceededException";
|
|
772
|
-
$fault: "client";
|
|
773
|
-
|
|
831
|
+
export declare class TextLengthExceededException extends __BaseException {
|
|
832
|
+
readonly name: "TextLengthExceededException";
|
|
833
|
+
readonly $fault: "client";
|
|
834
|
+
/**
|
|
835
|
+
* @internal
|
|
836
|
+
*/
|
|
837
|
+
constructor(opts: __ExceptionOptionType<TextLengthExceededException, __BaseException>);
|
|
774
838
|
}
|
|
775
839
|
export interface SynthesizeSpeechInput {
|
|
776
840
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
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";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, 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";
|
|
11
11
|
import { GetLexiconCommandInput, GetLexiconCommandOutput } from "./commands/GetLexiconCommand";
|
|
@@ -25,7 +25,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
25
25
|
|
|
26
26
|
urlParser?: __UrlParser;
|
|
27
27
|
|
|
28
|
-
bodyLengthChecker?:
|
|
28
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
29
29
|
|
|
30
30
|
streamCollector?: __StreamCollector;
|
|
31
31
|
|