@aws-sdk/client-polly 3.168.0 → 3.170.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.
Files changed (27) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/Polly.d.ts +166 -50
  3. package/dist-types/ts3.4/PollyClient.d.ts +183 -82
  4. package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +34 -17
  5. package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +34 -17
  6. package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +34 -17
  7. package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +41 -17
  8. package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +34 -17
  9. package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +41 -17
  10. package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +34 -17
  11. package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +41 -17
  12. package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +37 -17
  13. package/dist-types/ts3.4/commands/index.d.ts +9 -9
  14. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  15. package/dist-types/ts3.4/index.d.ts +6 -6
  16. package/dist-types/ts3.4/models/PollyServiceException.d.ts +8 -6
  17. package/dist-types/ts3.4/models/index.d.ts +1 -1
  18. package/dist-types/ts3.4/models/models_0.d.ts +618 -435
  19. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  20. package/dist-types/ts3.4/pagination/ListSpeechSynthesisTasksPaginator.d.ts +11 -4
  21. package/dist-types/ts3.4/pagination/index.d.ts +2 -2
  22. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +113 -29
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  27. package/package.json +34 -34
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.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-polly
9
+
10
+
11
+
12
+
13
+
14
+ # [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-polly
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-polly
@@ -1,50 +1,166 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
- import { DeleteLexiconCommandInput, DeleteLexiconCommandOutput } from "./commands/DeleteLexiconCommand";
3
- import { DescribeVoicesCommandInput, DescribeVoicesCommandOutput } from "./commands/DescribeVoicesCommand";
4
- import { GetLexiconCommandInput, GetLexiconCommandOutput } from "./commands/GetLexiconCommand";
5
- import { GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput } from "./commands/GetSpeechSynthesisTaskCommand";
6
- import { ListLexiconsCommandInput, ListLexiconsCommandOutput } from "./commands/ListLexiconsCommand";
7
- import { ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput } from "./commands/ListSpeechSynthesisTasksCommand";
8
- import { PutLexiconCommandInput, PutLexiconCommandOutput } from "./commands/PutLexiconCommand";
9
- import { StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput } from "./commands/StartSpeechSynthesisTaskCommand";
10
- import { SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput } from "./commands/SynthesizeSpeechCommand";
11
- import { PollyClient } from "./PollyClient";
12
-
13
- export declare class Polly extends PollyClient {
14
-
15
- deleteLexicon(args: DeleteLexiconCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLexiconCommandOutput>;
16
- deleteLexicon(args: DeleteLexiconCommandInput, cb: (err: any, data?: DeleteLexiconCommandOutput) => void): void;
17
- deleteLexicon(args: DeleteLexiconCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLexiconCommandOutput) => void): void;
18
-
19
- describeVoices(args: DescribeVoicesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVoicesCommandOutput>;
20
- describeVoices(args: DescribeVoicesCommandInput, cb: (err: any, data?: DescribeVoicesCommandOutput) => void): void;
21
- describeVoices(args: DescribeVoicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVoicesCommandOutput) => void): void;
22
-
23
- getLexicon(args: GetLexiconCommandInput, options?: __HttpHandlerOptions): Promise<GetLexiconCommandOutput>;
24
- getLexicon(args: GetLexiconCommandInput, cb: (err: any, data?: GetLexiconCommandOutput) => void): void;
25
- getLexicon(args: GetLexiconCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLexiconCommandOutput) => void): void;
26
-
27
- getSpeechSynthesisTask(args: GetSpeechSynthesisTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetSpeechSynthesisTaskCommandOutput>;
28
- getSpeechSynthesisTask(args: GetSpeechSynthesisTaskCommandInput, cb: (err: any, data?: GetSpeechSynthesisTaskCommandOutput) => void): void;
29
- getSpeechSynthesisTask(args: GetSpeechSynthesisTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSpeechSynthesisTaskCommandOutput) => void): void;
30
-
31
- listLexicons(args: ListLexiconsCommandInput, options?: __HttpHandlerOptions): Promise<ListLexiconsCommandOutput>;
32
- listLexicons(args: ListLexiconsCommandInput, cb: (err: any, data?: ListLexiconsCommandOutput) => void): void;
33
- listLexicons(args: ListLexiconsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLexiconsCommandOutput) => void): void;
34
-
35
- listSpeechSynthesisTasks(args: ListSpeechSynthesisTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListSpeechSynthesisTasksCommandOutput>;
36
- listSpeechSynthesisTasks(args: ListSpeechSynthesisTasksCommandInput, cb: (err: any, data?: ListSpeechSynthesisTasksCommandOutput) => void): void;
37
- listSpeechSynthesisTasks(args: ListSpeechSynthesisTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSpeechSynthesisTasksCommandOutput) => void): void;
38
-
39
- putLexicon(args: PutLexiconCommandInput, options?: __HttpHandlerOptions): Promise<PutLexiconCommandOutput>;
40
- putLexicon(args: PutLexiconCommandInput, cb: (err: any, data?: PutLexiconCommandOutput) => void): void;
41
- putLexicon(args: PutLexiconCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLexiconCommandOutput) => void): void;
42
-
43
- startSpeechSynthesisTask(args: StartSpeechSynthesisTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartSpeechSynthesisTaskCommandOutput>;
44
- startSpeechSynthesisTask(args: StartSpeechSynthesisTaskCommandInput, cb: (err: any, data?: StartSpeechSynthesisTaskCommandOutput) => void): void;
45
- startSpeechSynthesisTask(args: StartSpeechSynthesisTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSpeechSynthesisTaskCommandOutput) => void): void;
46
-
47
- synthesizeSpeech(args: SynthesizeSpeechCommandInput, options?: __HttpHandlerOptions): Promise<SynthesizeSpeechCommandOutput>;
48
- synthesizeSpeech(args: SynthesizeSpeechCommandInput, cb: (err: any, data?: SynthesizeSpeechCommandOutput) => void): void;
49
- synthesizeSpeech(args: SynthesizeSpeechCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SynthesizeSpeechCommandOutput) => void): void;
50
- }
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import {
3
+ DeleteLexiconCommandInput,
4
+ DeleteLexiconCommandOutput,
5
+ } from "./commands/DeleteLexiconCommand";
6
+ import {
7
+ DescribeVoicesCommandInput,
8
+ DescribeVoicesCommandOutput,
9
+ } from "./commands/DescribeVoicesCommand";
10
+ import {
11
+ GetLexiconCommandInput,
12
+ GetLexiconCommandOutput,
13
+ } from "./commands/GetLexiconCommand";
14
+ import {
15
+ GetSpeechSynthesisTaskCommandInput,
16
+ GetSpeechSynthesisTaskCommandOutput,
17
+ } from "./commands/GetSpeechSynthesisTaskCommand";
18
+ import {
19
+ ListLexiconsCommandInput,
20
+ ListLexiconsCommandOutput,
21
+ } from "./commands/ListLexiconsCommand";
22
+ import {
23
+ ListSpeechSynthesisTasksCommandInput,
24
+ ListSpeechSynthesisTasksCommandOutput,
25
+ } from "./commands/ListSpeechSynthesisTasksCommand";
26
+ import {
27
+ PutLexiconCommandInput,
28
+ PutLexiconCommandOutput,
29
+ } from "./commands/PutLexiconCommand";
30
+ import {
31
+ StartSpeechSynthesisTaskCommandInput,
32
+ StartSpeechSynthesisTaskCommandOutput,
33
+ } from "./commands/StartSpeechSynthesisTaskCommand";
34
+ import {
35
+ SynthesizeSpeechCommandInput,
36
+ SynthesizeSpeechCommandOutput,
37
+ } from "./commands/SynthesizeSpeechCommand";
38
+ import { PollyClient } from "./PollyClient";
39
+
40
+ export declare class Polly extends PollyClient {
41
+ deleteLexicon(
42
+ args: DeleteLexiconCommandInput,
43
+ options?: __HttpHandlerOptions
44
+ ): Promise<DeleteLexiconCommandOutput>;
45
+ deleteLexicon(
46
+ args: DeleteLexiconCommandInput,
47
+ cb: (err: any, data?: DeleteLexiconCommandOutput) => void
48
+ ): void;
49
+ deleteLexicon(
50
+ args: DeleteLexiconCommandInput,
51
+ options: __HttpHandlerOptions,
52
+ cb: (err: any, data?: DeleteLexiconCommandOutput) => void
53
+ ): void;
54
+
55
+ describeVoices(
56
+ args: DescribeVoicesCommandInput,
57
+ options?: __HttpHandlerOptions
58
+ ): Promise<DescribeVoicesCommandOutput>;
59
+ describeVoices(
60
+ args: DescribeVoicesCommandInput,
61
+ cb: (err: any, data?: DescribeVoicesCommandOutput) => void
62
+ ): void;
63
+ describeVoices(
64
+ args: DescribeVoicesCommandInput,
65
+ options: __HttpHandlerOptions,
66
+ cb: (err: any, data?: DescribeVoicesCommandOutput) => void
67
+ ): void;
68
+
69
+ getLexicon(
70
+ args: GetLexiconCommandInput,
71
+ options?: __HttpHandlerOptions
72
+ ): Promise<GetLexiconCommandOutput>;
73
+ getLexicon(
74
+ args: GetLexiconCommandInput,
75
+ cb: (err: any, data?: GetLexiconCommandOutput) => void
76
+ ): void;
77
+ getLexicon(
78
+ args: GetLexiconCommandInput,
79
+ options: __HttpHandlerOptions,
80
+ cb: (err: any, data?: GetLexiconCommandOutput) => void
81
+ ): void;
82
+
83
+ getSpeechSynthesisTask(
84
+ args: GetSpeechSynthesisTaskCommandInput,
85
+ options?: __HttpHandlerOptions
86
+ ): Promise<GetSpeechSynthesisTaskCommandOutput>;
87
+ getSpeechSynthesisTask(
88
+ args: GetSpeechSynthesisTaskCommandInput,
89
+ cb: (err: any, data?: GetSpeechSynthesisTaskCommandOutput) => void
90
+ ): void;
91
+ getSpeechSynthesisTask(
92
+ args: GetSpeechSynthesisTaskCommandInput,
93
+ options: __HttpHandlerOptions,
94
+ cb: (err: any, data?: GetSpeechSynthesisTaskCommandOutput) => void
95
+ ): void;
96
+
97
+ listLexicons(
98
+ args: ListLexiconsCommandInput,
99
+ options?: __HttpHandlerOptions
100
+ ): Promise<ListLexiconsCommandOutput>;
101
+ listLexicons(
102
+ args: ListLexiconsCommandInput,
103
+ cb: (err: any, data?: ListLexiconsCommandOutput) => void
104
+ ): void;
105
+ listLexicons(
106
+ args: ListLexiconsCommandInput,
107
+ options: __HttpHandlerOptions,
108
+ cb: (err: any, data?: ListLexiconsCommandOutput) => void
109
+ ): void;
110
+
111
+ listSpeechSynthesisTasks(
112
+ args: ListSpeechSynthesisTasksCommandInput,
113
+ options?: __HttpHandlerOptions
114
+ ): Promise<ListSpeechSynthesisTasksCommandOutput>;
115
+ listSpeechSynthesisTasks(
116
+ args: ListSpeechSynthesisTasksCommandInput,
117
+ cb: (err: any, data?: ListSpeechSynthesisTasksCommandOutput) => void
118
+ ): void;
119
+ listSpeechSynthesisTasks(
120
+ args: ListSpeechSynthesisTasksCommandInput,
121
+ options: __HttpHandlerOptions,
122
+ cb: (err: any, data?: ListSpeechSynthesisTasksCommandOutput) => void
123
+ ): void;
124
+
125
+ putLexicon(
126
+ args: PutLexiconCommandInput,
127
+ options?: __HttpHandlerOptions
128
+ ): Promise<PutLexiconCommandOutput>;
129
+ putLexicon(
130
+ args: PutLexiconCommandInput,
131
+ cb: (err: any, data?: PutLexiconCommandOutput) => void
132
+ ): void;
133
+ putLexicon(
134
+ args: PutLexiconCommandInput,
135
+ options: __HttpHandlerOptions,
136
+ cb: (err: any, data?: PutLexiconCommandOutput) => void
137
+ ): void;
138
+
139
+ startSpeechSynthesisTask(
140
+ args: StartSpeechSynthesisTaskCommandInput,
141
+ options?: __HttpHandlerOptions
142
+ ): Promise<StartSpeechSynthesisTaskCommandOutput>;
143
+ startSpeechSynthesisTask(
144
+ args: StartSpeechSynthesisTaskCommandInput,
145
+ cb: (err: any, data?: StartSpeechSynthesisTaskCommandOutput) => void
146
+ ): void;
147
+ startSpeechSynthesisTask(
148
+ args: StartSpeechSynthesisTaskCommandInput,
149
+ options: __HttpHandlerOptions,
150
+ cb: (err: any, data?: StartSpeechSynthesisTaskCommandOutput) => void
151
+ ): void;
152
+
153
+ synthesizeSpeech(
154
+ args: SynthesizeSpeechCommandInput,
155
+ options?: __HttpHandlerOptions
156
+ ): Promise<SynthesizeSpeechCommandOutput>;
157
+ synthesizeSpeech(
158
+ args: SynthesizeSpeechCommandInput,
159
+ cb: (err: any, data?: SynthesizeSpeechCommandOutput) => void
160
+ ): void;
161
+ synthesizeSpeech(
162
+ args: SynthesizeSpeechCommandInput,
163
+ options: __HttpHandlerOptions,
164
+ cb: (err: any, data?: SynthesizeSpeechCommandOutput) => void
165
+ ): void;
166
+ }
@@ -1,82 +1,183 @@
1
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
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
- import { DeleteLexiconCommandInput, DeleteLexiconCommandOutput } from "./commands/DeleteLexiconCommand";
10
- import { DescribeVoicesCommandInput, DescribeVoicesCommandOutput } from "./commands/DescribeVoicesCommand";
11
- import { GetLexiconCommandInput, GetLexiconCommandOutput } from "./commands/GetLexiconCommand";
12
- import { GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput } from "./commands/GetSpeechSynthesisTaskCommand";
13
- import { ListLexiconsCommandInput, ListLexiconsCommandOutput } from "./commands/ListLexiconsCommand";
14
- import { ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput } from "./commands/ListSpeechSynthesisTasksCommand";
15
- import { PutLexiconCommandInput, PutLexiconCommandOutput } from "./commands/PutLexiconCommand";
16
- import { StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput } from "./commands/StartSpeechSynthesisTaskCommand";
17
- import { SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput } from "./commands/SynthesizeSpeechCommand";
18
- export declare type ServiceInputTypes = DeleteLexiconCommandInput | DescribeVoicesCommandInput | GetLexiconCommandInput | GetSpeechSynthesisTaskCommandInput | ListLexiconsCommandInput | ListSpeechSynthesisTasksCommandInput | PutLexiconCommandInput | StartSpeechSynthesisTaskCommandInput | SynthesizeSpeechCommandInput;
19
- export declare type ServiceOutputTypes = DeleteLexiconCommandOutput | DescribeVoicesCommandOutput | GetLexiconCommandOutput | GetSpeechSynthesisTaskCommandOutput | ListLexiconsCommandOutput | ListSpeechSynthesisTasksCommandOutput | PutLexiconCommandOutput | StartSpeechSynthesisTaskCommandOutput | SynthesizeSpeechCommandOutput;
20
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
21
-
22
- requestHandler?: __HttpHandler;
23
-
24
- sha256?: __HashConstructor;
25
-
26
- urlParser?: __UrlParser;
27
-
28
- bodyLengthChecker?: __BodyLengthCalculator;
29
-
30
- streamCollector?: __StreamCollector;
31
-
32
- base64Decoder?: __Decoder;
33
-
34
- base64Encoder?: __Encoder;
35
-
36
- utf8Decoder?: __Decoder;
37
-
38
- utf8Encoder?: __Encoder;
39
-
40
- runtime?: string;
41
-
42
- disableHostPrefix?: boolean;
43
-
44
- maxAttempts?: number | __Provider<number>;
45
-
46
- retryMode?: string | __Provider<string>;
47
-
48
- logger?: __Logger;
49
-
50
- useDualstackEndpoint?: boolean | __Provider<boolean>;
51
-
52
- useFipsEndpoint?: boolean | __Provider<boolean>;
53
-
54
- serviceId?: string;
55
-
56
- region?: string | __Provider<string>;
57
-
58
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
59
-
60
- regionInfoProvider?: RegionInfoProvider;
61
-
62
- defaultUserAgentProvider?: Provider<__UserAgent>;
63
-
64
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
65
- }
66
- declare type PollyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
67
-
68
- export interface PollyClientConfig extends PollyClientConfigType {
69
- }
70
- declare type PollyClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
71
-
72
- export interface PollyClientResolvedConfig extends PollyClientResolvedConfigType {
73
- }
74
-
75
- export declare class PollyClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PollyClientResolvedConfig> {
76
-
77
- readonly config: PollyClientResolvedConfig;
78
- constructor(configuration: PollyClientConfig);
79
-
80
- destroy(): void;
81
- }
82
- export {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ DeleteLexiconCommandInput,
47
+ DeleteLexiconCommandOutput,
48
+ } from "./commands/DeleteLexiconCommand";
49
+ import {
50
+ DescribeVoicesCommandInput,
51
+ DescribeVoicesCommandOutput,
52
+ } from "./commands/DescribeVoicesCommand";
53
+ import {
54
+ GetLexiconCommandInput,
55
+ GetLexiconCommandOutput,
56
+ } from "./commands/GetLexiconCommand";
57
+ import {
58
+ GetSpeechSynthesisTaskCommandInput,
59
+ GetSpeechSynthesisTaskCommandOutput,
60
+ } from "./commands/GetSpeechSynthesisTaskCommand";
61
+ import {
62
+ ListLexiconsCommandInput,
63
+ ListLexiconsCommandOutput,
64
+ } from "./commands/ListLexiconsCommand";
65
+ import {
66
+ ListSpeechSynthesisTasksCommandInput,
67
+ ListSpeechSynthesisTasksCommandOutput,
68
+ } from "./commands/ListSpeechSynthesisTasksCommand";
69
+ import {
70
+ PutLexiconCommandInput,
71
+ PutLexiconCommandOutput,
72
+ } from "./commands/PutLexiconCommand";
73
+ import {
74
+ StartSpeechSynthesisTaskCommandInput,
75
+ StartSpeechSynthesisTaskCommandOutput,
76
+ } from "./commands/StartSpeechSynthesisTaskCommand";
77
+ import {
78
+ SynthesizeSpeechCommandInput,
79
+ SynthesizeSpeechCommandOutput,
80
+ } from "./commands/SynthesizeSpeechCommand";
81
+ export declare type ServiceInputTypes =
82
+ | DeleteLexiconCommandInput
83
+ | DescribeVoicesCommandInput
84
+ | GetLexiconCommandInput
85
+ | GetSpeechSynthesisTaskCommandInput
86
+ | ListLexiconsCommandInput
87
+ | ListSpeechSynthesisTasksCommandInput
88
+ | PutLexiconCommandInput
89
+ | StartSpeechSynthesisTaskCommandInput
90
+ | SynthesizeSpeechCommandInput;
91
+ export declare type ServiceOutputTypes =
92
+ | DeleteLexiconCommandOutput
93
+ | DescribeVoicesCommandOutput
94
+ | GetLexiconCommandOutput
95
+ | GetSpeechSynthesisTaskCommandOutput
96
+ | ListLexiconsCommandOutput
97
+ | ListSpeechSynthesisTasksCommandOutput
98
+ | PutLexiconCommandOutput
99
+ | StartSpeechSynthesisTaskCommandOutput
100
+ | SynthesizeSpeechCommandOutput;
101
+ export interface ClientDefaults
102
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
103
+ requestHandler?: __HttpHandler;
104
+
105
+ sha256?: __HashConstructor;
106
+
107
+ urlParser?: __UrlParser;
108
+
109
+ bodyLengthChecker?: __BodyLengthCalculator;
110
+
111
+ streamCollector?: __StreamCollector;
112
+
113
+ base64Decoder?: __Decoder;
114
+
115
+ base64Encoder?: __Encoder;
116
+
117
+ utf8Decoder?: __Decoder;
118
+
119
+ utf8Encoder?: __Encoder;
120
+
121
+ runtime?: string;
122
+
123
+ disableHostPrefix?: boolean;
124
+
125
+ maxAttempts?: number | __Provider<number>;
126
+
127
+ retryMode?: string | __Provider<string>;
128
+
129
+ logger?: __Logger;
130
+
131
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
132
+
133
+ useFipsEndpoint?: boolean | __Provider<boolean>;
134
+
135
+ serviceId?: string;
136
+
137
+ region?: string | __Provider<string>;
138
+
139
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
140
+
141
+ regionInfoProvider?: RegionInfoProvider;
142
+
143
+ defaultUserAgentProvider?: Provider<__UserAgent>;
144
+
145
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
146
+ }
147
+ declare type PollyClientConfigType = Partial<
148
+ __SmithyConfiguration<__HttpHandlerOptions>
149
+ > &
150
+ ClientDefaults &
151
+ RegionInputConfig &
152
+ EndpointsInputConfig &
153
+ RetryInputConfig &
154
+ HostHeaderInputConfig &
155
+ AwsAuthInputConfig &
156
+ UserAgentInputConfig;
157
+
158
+ export interface PollyClientConfig extends PollyClientConfigType {}
159
+ declare type PollyClientResolvedConfigType =
160
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
161
+ Required<ClientDefaults> &
162
+ RegionResolvedConfig &
163
+ EndpointsResolvedConfig &
164
+ RetryResolvedConfig &
165
+ HostHeaderResolvedConfig &
166
+ AwsAuthResolvedConfig &
167
+ UserAgentResolvedConfig;
168
+
169
+ export interface PollyClientResolvedConfig
170
+ extends PollyClientResolvedConfigType {}
171
+
172
+ export declare class PollyClient extends __Client<
173
+ __HttpHandlerOptions,
174
+ ServiceInputTypes,
175
+ ServiceOutputTypes,
176
+ PollyClientResolvedConfig
177
+ > {
178
+ readonly config: PollyClientResolvedConfig;
179
+ constructor(configuration: PollyClientConfig);
180
+
181
+ destroy(): void;
182
+ }
183
+ export {};
@@ -1,17 +1,34 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { DeleteLexiconInput, DeleteLexiconOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
- export interface DeleteLexiconCommandInput extends DeleteLexiconInput {
6
- }
7
- export interface DeleteLexiconCommandOutput extends DeleteLexiconOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class DeleteLexiconCommand extends $Command<DeleteLexiconCommandInput, DeleteLexiconCommandOutput, PollyClientResolvedConfig> {
11
- readonly input: DeleteLexiconCommandInput;
12
- constructor(input: DeleteLexiconCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLexiconCommandInput, DeleteLexiconCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import { DeleteLexiconInput, DeleteLexiconOutput } from "../models/models_0";
9
+ import {
10
+ PollyClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../PollyClient";
14
+ export interface DeleteLexiconCommandInput extends DeleteLexiconInput {}
15
+ export interface DeleteLexiconCommandOutput
16
+ extends DeleteLexiconOutput,
17
+ __MetadataBearer {}
18
+
19
+ export declare class DeleteLexiconCommand extends $Command<
20
+ DeleteLexiconCommandInput,
21
+ DeleteLexiconCommandOutput,
22
+ PollyClientResolvedConfig
23
+ > {
24
+ readonly input: DeleteLexiconCommandInput;
25
+ constructor(input: DeleteLexiconCommandInput);
26
+
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: PollyClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<DeleteLexiconCommandInput, DeleteLexiconCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }
@@ -1,17 +1,34 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { DescribeVoicesInput, DescribeVoicesOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
- export interface DescribeVoicesCommandInput extends DescribeVoicesInput {
6
- }
7
- export interface DescribeVoicesCommandOutput extends DescribeVoicesOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class DescribeVoicesCommand extends $Command<DescribeVoicesCommandInput, DescribeVoicesCommandOutput, PollyClientResolvedConfig> {
11
- readonly input: DescribeVoicesCommandInput;
12
- constructor(input: DescribeVoicesCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeVoicesCommandInput, DescribeVoicesCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import { DescribeVoicesInput, DescribeVoicesOutput } from "../models/models_0";
9
+ import {
10
+ PollyClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../PollyClient";
14
+ export interface DescribeVoicesCommandInput extends DescribeVoicesInput {}
15
+ export interface DescribeVoicesCommandOutput
16
+ extends DescribeVoicesOutput,
17
+ __MetadataBearer {}
18
+
19
+ export declare class DescribeVoicesCommand extends $Command<
20
+ DescribeVoicesCommandInput,
21
+ DescribeVoicesCommandOutput,
22
+ PollyClientResolvedConfig
23
+ > {
24
+ readonly input: DescribeVoicesCommandInput;
25
+ constructor(input: DescribeVoicesCommandInput);
26
+
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: PollyClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<DescribeVoicesCommandInput, DescribeVoicesCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }