@aws-sdk/client-polly 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/Polly.js +0 -9
- package/dist-cjs/PollyClient.js +0 -14
- package/dist-cjs/commands/DeleteLexiconCommand.js +0 -28
- package/dist-cjs/commands/DescribeVoicesCommand.js +0 -43
- package/dist-cjs/commands/GetLexiconCommand.js +0 -26
- package/dist-cjs/commands/GetSpeechSynthesisTaskCommand.js +0 -28
- package/dist-cjs/commands/ListLexiconsCommand.js +0 -25
- package/dist-cjs/commands/ListSpeechSynthesisTasksCommand.js +0 -27
- package/dist-cjs/commands/PutLexiconCommand.js +0 -30
- package/dist-cjs/commands/StartSpeechSynthesisTaskCommand.js +0 -34
- package/dist-cjs/commands/SynthesizeSpeechCommand.js +0 -29
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -14
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -133
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListSpeechSynthesisTasksPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/Polly.js +0 -1
- package/dist-es/PollyClient.js +0 -1
- package/dist-es/commands/DeleteLexiconCommand.js +0 -1
- package/dist-es/commands/DescribeVoicesCommand.js +0 -1
- package/dist-es/commands/GetLexiconCommand.js +0 -1
- package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +0 -1
- package/dist-es/commands/ListLexiconsCommand.js +0 -1
- package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +0 -1
- package/dist-es/commands/PutLexiconCommand.js +0 -1
- package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +0 -1
- package/dist-es/commands/SynthesizeSpeechCommand.js +0 -1
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -14
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListSpeechSynthesisTasksPaginator.js +0 -1
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/index.d.ts +4 -13
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/Polly.d.ts +10 -80
- package/dist-types/ts3.4/PollyClient.d.ts +24 -94
- package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +4 -13
- package/dist-types/ts3.4/models/models_0.d.ts +150 -642
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/Polly.js.map +0 -1
- package/dist-cjs/PollyClient.js.map +0 -1
- package/dist-cjs/commands/DeleteLexiconCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeVoicesCommand.js.map +0 -1
- package/dist-cjs/commands/GetLexiconCommand.js.map +0 -1
- package/dist-cjs/commands/GetSpeechSynthesisTaskCommand.js.map +0 -1
- package/dist-cjs/commands/ListLexiconsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSpeechSynthesisTasksCommand.js.map +0 -1
- package/dist-cjs/commands/PutLexiconCommand.js.map +0 -1
- package/dist-cjs/commands/StartSpeechSynthesisTaskCommand.js.map +0 -1
- package/dist-cjs/commands/SynthesizeSpeechCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListSpeechSynthesisTasksPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Polly.js.map +0 -1
- package/dist-es/PollyClient.js.map +0 -1
- package/dist-es/commands/DeleteLexiconCommand.js.map +0 -1
- package/dist-es/commands/DescribeVoicesCommand.js.map +0 -1
- package/dist-es/commands/GetLexiconCommand.js.map +0 -1
- package/dist-es/commands/GetSpeechSynthesisTaskCommand.js.map +0 -1
- package/dist-es/commands/ListLexiconsCommand.js.map +0 -1
- package/dist-es/commands/ListSpeechSynthesisTasksCommand.js.map +0 -1
- package/dist-es/commands/PutLexiconCommand.js.map +0 -1
- package/dist-es/commands/StartSpeechSynthesisTaskCommand.js.map +0 -1
- package/dist-es/commands/SynthesizeSpeechCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListSpeechSynthesisTasksPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Polly.ts +0 -368
- package/src/PollyClient.ts +0 -277
- package/src/commands/DeleteLexiconCommand.ts +0 -98
- package/src/commands/DescribeVoicesCommand.ts +0 -113
- package/src/commands/GetLexiconCommand.ts +0 -96
- package/src/commands/GetSpeechSynthesisTaskCommand.ts +0 -98
- package/src/commands/ListLexiconsCommand.ts +0 -95
- package/src/commands/ListSpeechSynthesisTasksCommand.ts +0 -97
- package/src/commands/PutLexiconCommand.ts +0 -100
- package/src/commands/StartSpeechSynthesisTaskCommand.ts +0 -104
- package/src/commands/SynthesizeSpeechCommand.ts +0 -99
- package/src/endpoints.ts +0 -82
- package/src/index.ts +0 -14
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1374
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListSpeechSynthesisTasksPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -1712
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -6,31 +6,11 @@ export interface ListSpeechSynthesisTasksCommandInput extends ListSpeechSynthesi
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListSpeechSynthesisTasksCommandOutput extends ListSpeechSynthesisTasksOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Returns a list of SpeechSynthesisTask objects ordered by their
|
|
11
|
-
* creation date. This operation can filter the tasks by their status, for
|
|
12
|
-
* example, allowing users to list only tasks that are completed.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { PollyClient, ListSpeechSynthesisTasksCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
17
|
-
* // const { PollyClient, ListSpeechSynthesisTasksCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
18
|
-
* const client = new PollyClient(config);
|
|
19
|
-
* const command = new ListSpeechSynthesisTasksCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link ListSpeechSynthesisTasksCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link ListSpeechSynthesisTasksCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link PollyClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
9
|
+
|
|
28
10
|
export declare class ListSpeechSynthesisTasksCommand extends $Command<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput, PollyClientResolvedConfig> {
|
|
29
11
|
readonly input: ListSpeechSynthesisTasksCommandInput;
|
|
30
12
|
constructor(input: ListSpeechSynthesisTasksCommandInput);
|
|
31
|
-
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
13
|
+
|
|
34
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput>;
|
|
35
15
|
private serialize;
|
|
36
16
|
private deserialize;
|
|
@@ -6,34 +6,11 @@ export interface PutLexiconCommandInput extends PutLexiconInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface PutLexiconCommandOutput extends PutLexiconOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Stores a pronunciation lexicon in an Amazon Web Services Region. If
|
|
11
|
-
* a lexicon with the same name already exists in the region, it is
|
|
12
|
-
* overwritten by the new lexicon. Lexicon operations have eventual
|
|
13
|
-
* consistency, therefore, it might take some time before the lexicon is
|
|
14
|
-
* available to the SynthesizeSpeech operation.</p>
|
|
15
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html">Managing Lexicons</a>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { PollyClient, PutLexiconCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
20
|
-
* // const { PollyClient, PutLexiconCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
21
|
-
* const client = new PollyClient(config);
|
|
22
|
-
* const command = new PutLexiconCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link PutLexiconCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link PutLexiconCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link PollyClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class PutLexiconCommand extends $Command<PutLexiconCommandInput, PutLexiconCommandOutput, PollyClientResolvedConfig> {
|
|
32
11
|
readonly input: PutLexiconCommandInput;
|
|
33
12
|
constructor(input: PutLexiconCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutLexiconCommandInput, PutLexiconCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,38 +6,11 @@ export interface StartSpeechSynthesisTaskCommandInput extends StartSpeechSynthes
|
|
|
6
6
|
}
|
|
7
7
|
export interface StartSpeechSynthesisTaskCommandOutput extends StartSpeechSynthesisTaskOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Allows the creation of an asynchronous synthesis task, by starting a
|
|
11
|
-
* new <code>SpeechSynthesisTask</code>. This operation requires all the
|
|
12
|
-
* standard information needed for speech synthesis, plus the name of an
|
|
13
|
-
* Amazon S3 bucket for the service to store the output of the synthesis task
|
|
14
|
-
* and two optional parameters (<code>OutputS3KeyPrefix</code> and
|
|
15
|
-
* <code>SnsTopicArn</code>). Once the synthesis task is created, this
|
|
16
|
-
* operation will return a <code>SpeechSynthesisTask</code> object, which
|
|
17
|
-
* will include an identifier of this task as well as the current status. The
|
|
18
|
-
* <code>SpeechSynthesisTask</code> object is available for 72 hours after
|
|
19
|
-
* starting the asynchronous synthesis task.</p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { PollyClient, StartSpeechSynthesisTaskCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
24
|
-
* // const { PollyClient, StartSpeechSynthesisTaskCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
25
|
-
* const client = new PollyClient(config);
|
|
26
|
-
* const command = new StartSpeechSynthesisTaskCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link StartSpeechSynthesisTaskCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link StartSpeechSynthesisTaskCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link PollyClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
9
|
+
|
|
35
10
|
export declare class StartSpeechSynthesisTaskCommand extends $Command<StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig> {
|
|
36
11
|
readonly input: StartSpeechSynthesisTaskCommandInput;
|
|
37
12
|
constructor(input: StartSpeechSynthesisTaskCommandInput);
|
|
38
|
-
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
13
|
+
|
|
41
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput>;
|
|
42
15
|
private serialize;
|
|
43
16
|
private deserialize;
|
|
@@ -6,33 +6,11 @@ export interface SynthesizeSpeechCommandInput extends SynthesizeSpeechInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface SynthesizeSpeechCommandOutput extends SynthesizeSpeechOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
|
11
|
-
* SSML input must be valid, well-formed SSML. Some alphabets might not be
|
|
12
|
-
* available with all the voices (for example, Cyrillic might not be read at
|
|
13
|
-
* all by English voices) unless phoneme mapping is used. For more
|
|
14
|
-
* information, see <a href="https://docs.aws.amazon.com/polly/latest/dg/how-text-to-speech-works.html">How it Works</a>.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { PollyClient, SynthesizeSpeechCommand } from "@aws-sdk/client-polly"; // ES Modules import
|
|
19
|
-
* // const { PollyClient, SynthesizeSpeechCommand } = require("@aws-sdk/client-polly"); // CommonJS import
|
|
20
|
-
* const client = new PollyClient(config);
|
|
21
|
-
* const command = new SynthesizeSpeechCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link SynthesizeSpeechCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link SynthesizeSpeechCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link PollyClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
9
|
+
|
|
30
10
|
export declare class SynthesizeSpeechCommand extends $Command<SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput, PollyClientResolvedConfig> {
|
|
31
11
|
readonly input: SynthesizeSpeechCommandInput;
|
|
32
12
|
constructor(input: SynthesizeSpeechCommandInput);
|
|
33
|
-
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
13
|
+
|
|
36
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput>;
|
|
37
15
|
private serialize;
|
|
38
16
|
private deserialize;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./DeleteLexiconCommand";
|
|
2
|
+
export * from "./DescribeVoicesCommand";
|
|
3
|
+
export * from "./GetLexiconCommand";
|
|
4
|
+
export * from "./GetSpeechSynthesisTaskCommand";
|
|
5
|
+
export * from "./ListLexiconsCommand";
|
|
6
|
+
export * from "./ListSpeechSynthesisTasksCommand";
|
|
7
|
+
export * from "./PutLexiconCommand";
|
|
8
|
+
export * from "./StartSpeechSynthesisTaskCommand";
|
|
9
|
+
export * from "./SynthesizeSpeechCommand";
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
export * from "./PollyClient";
|
|
2
1
|
export * from "./Polly";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/ListLexiconsCommand";
|
|
8
|
-
export * from "./commands/ListSpeechSynthesisTasksCommand";
|
|
9
|
-
export * from "./pagination/ListSpeechSynthesisTasksPaginator";
|
|
10
|
-
export * from "./commands/PutLexiconCommand";
|
|
11
|
-
export * from "./commands/StartSpeechSynthesisTaskCommand";
|
|
12
|
-
export * from "./commands/SynthesizeSpeechCommand";
|
|
13
|
-
export * from "./pagination/Interfaces";
|
|
14
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./PollyClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|