@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.
- package/CHANGELOG.md +16 -0
- package/dist-types/ts3.4/Polly.d.ts +166 -50
- package/dist-types/ts3.4/PollyClient.d.ts +183 -82
- package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/index.d.ts +9 -9
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +6 -6
- package/dist-types/ts3.4/models/PollyServiceException.d.ts +8 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +618 -435
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
- package/dist-types/ts3.4/pagination/ListSpeechSynthesisTasksPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/index.d.ts +2 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +113 -29
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
- 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 {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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 {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
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 {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
+
}
|