@aws-sdk/client-polly 3.296.0 → 3.298.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/dist-cjs/commands/DeleteLexiconCommand.js +2 -3
- package/dist-cjs/commands/DescribeVoicesCommand.js +2 -3
- package/dist-cjs/commands/GetLexiconCommand.js +1 -1
- package/dist-cjs/commands/GetSpeechSynthesisTaskCommand.js +2 -3
- package/dist-cjs/commands/ListLexiconsCommand.js +2 -3
- package/dist-cjs/commands/ListSpeechSynthesisTasksCommand.js +2 -3
- package/dist-cjs/commands/PutLexiconCommand.js +1 -1
- package/dist-cjs/commands/StartSpeechSynthesisTaskCommand.js +2 -3
- package/dist-cjs/commands/SynthesizeSpeechCommand.js +1 -1
- package/dist-cjs/models/models_0.js +1 -78
- package/dist-es/commands/DeleteLexiconCommand.js +2 -3
- package/dist-es/commands/DescribeVoicesCommand.js +2 -3
- package/dist-es/commands/GetLexiconCommand.js +2 -2
- package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +2 -3
- package/dist-es/commands/ListLexiconsCommand.js +2 -3
- package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +2 -3
- package/dist-es/commands/PutLexiconCommand.js +2 -2
- package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +2 -3
- package/dist-es/commands/SynthesizeSpeechCommand.js +2 -2
- package/dist-es/models/models_0.js +0 -57
- package/dist-types/Polly.d.ts +10 -0
- package/dist-types/PollyClient.d.ts +24 -4
- package/dist-types/commands/DeleteLexiconCommand.d.ts +16 -0
- package/dist-types/commands/DescribeVoicesCommand.d.ts +16 -0
- package/dist-types/commands/GetLexiconCommand.d.ts +16 -0
- package/dist-types/commands/GetSpeechSynthesisTaskCommand.d.ts +16 -0
- package/dist-types/commands/ListLexiconsCommand.d.ts +16 -0
- package/dist-types/commands/ListSpeechSynthesisTasksCommand.d.ts +16 -0
- package/dist-types/commands/PutLexiconCommand.d.ts +16 -0
- package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +16 -0
- package/dist-types/commands/SynthesizeSpeechCommand.d.ts +16 -0
- package/dist-types/models/PollyServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +105 -77
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListSpeechSynthesisTasksPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -55
- package/package.json +4 -3
|
@@ -17,15 +17,24 @@ import { PutLexiconCommandInput, PutLexiconCommandOutput } from "./commands/PutL
|
|
|
17
17
|
import { StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput } from "./commands/StartSpeechSynthesisTaskCommand";
|
|
18
18
|
import { SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput } from "./commands/SynthesizeSpeechCommand";
|
|
19
19
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
20
23
|
export type ServiceInputTypes = DeleteLexiconCommandInput | DescribeVoicesCommandInput | GetLexiconCommandInput | GetSpeechSynthesisTaskCommandInput | ListLexiconsCommandInput | ListSpeechSynthesisTasksCommandInput | PutLexiconCommandInput | StartSpeechSynthesisTaskCommandInput | SynthesizeSpeechCommandInput;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
21
27
|
export type ServiceOutputTypes = DeleteLexiconCommandOutput | DescribeVoicesCommandOutput | GetLexiconCommandOutput | GetSpeechSynthesisTaskCommandOutput | ListLexiconsCommandOutput | ListSpeechSynthesisTasksCommandOutput | PutLexiconCommandOutput | StartSpeechSynthesisTaskCommandOutput | SynthesizeSpeechCommandOutput;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
22
31
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
23
32
|
/**
|
|
24
33
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
25
34
|
*/
|
|
26
35
|
requestHandler?: __HttpHandler;
|
|
27
36
|
/**
|
|
28
|
-
* A constructor for a class implementing the {@link
|
|
37
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
29
38
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
30
39
|
* @internal
|
|
31
40
|
*/
|
|
@@ -115,7 +124,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
115
124
|
*/
|
|
116
125
|
logger?: __Logger;
|
|
117
126
|
/**
|
|
118
|
-
* The {@link
|
|
127
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
119
128
|
*/
|
|
120
129
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
121
130
|
/**
|
|
@@ -124,19 +133,30 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
124
133
|
*/
|
|
125
134
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
126
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
127
139
|
type PollyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
128
140
|
/**
|
|
129
|
-
*
|
|
141
|
+
* @public
|
|
142
|
+
*
|
|
143
|
+
* The configuration interface of PollyClient class constructor that set the region, credentials and other options.
|
|
130
144
|
*/
|
|
131
145
|
export interface PollyClientConfig extends PollyClientConfigType {
|
|
132
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
133
150
|
type PollyClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
134
151
|
/**
|
|
135
|
-
*
|
|
152
|
+
* @public
|
|
153
|
+
*
|
|
154
|
+
* The resolved configuration interface of PollyClient class. This is resolved and normalized from the {@link PollyClientConfig | constructor configuration interface}.
|
|
136
155
|
*/
|
|
137
156
|
export interface PollyClientResolvedConfig extends PollyClientResolvedConfigType {
|
|
138
157
|
}
|
|
139
158
|
/**
|
|
159
|
+
* @public
|
|
140
160
|
* <p>Amazon Polly is a web service that makes it easy to synthesize speech from
|
|
141
161
|
* text.</p>
|
|
142
162
|
* <p>The Amazon Polly service provides API operations for synthesizing
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DeleteLexiconInput, DeleteLexiconOutput } from "../models/models_0";
|
|
5
5
|
import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteLexiconCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteLexiconCommandInput extends DeleteLexiconInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteLexiconCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteLexiconCommandOutput extends DeleteLexiconOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region. A lexicon which has been deleted is not available for
|
|
18
23
|
* speech synthesis, nor is it possible to retrieve it using either the
|
|
19
24
|
* <code>GetLexicon</code> or <code>ListLexicon</code> APIs.</p>
|
|
@@ -28,6 +33,8 @@ export interface DeleteLexiconCommandOutput extends DeleteLexiconOutput, __Metad
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param DeleteLexiconCommandInput - {@link DeleteLexiconCommandInput}
|
|
37
|
+
* @returns {@link DeleteLexiconCommandOutput}
|
|
31
38
|
* @see {@link DeleteLexiconCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link DeleteLexiconCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link PollyClientResolvedConfig | config} for PollyClient's `config` shape.
|
|
@@ -58,11 +65,20 @@ export interface DeleteLexiconCommandOutput extends DeleteLexiconOutput, __Metad
|
|
|
58
65
|
export declare class DeleteLexiconCommand extends $Command<DeleteLexiconCommandInput, DeleteLexiconCommandOutput, PollyClientResolvedConfig> {
|
|
59
66
|
readonly input: DeleteLexiconCommandInput;
|
|
60
67
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
61
71
|
constructor(input: DeleteLexiconCommandInput);
|
|
62
72
|
/**
|
|
63
73
|
* @internal
|
|
64
74
|
*/
|
|
65
75
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLexiconCommandInput, DeleteLexiconCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
66
79
|
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
67
83
|
private deserialize;
|
|
68
84
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DescribeVoicesInput, DescribeVoicesOutput } from "../models/models_0";
|
|
5
5
|
import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeVoicesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeVoicesCommandInput extends DescribeVoicesInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeVoicesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeVoicesCommandOutput extends DescribeVoicesOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns the list of voices that are available for use when
|
|
18
23
|
* requesting speech synthesis. Each voice speaks a specified language, is
|
|
19
24
|
* either male or female, and is identified by an ID, which is the ASCII
|
|
@@ -40,6 +45,8 @@ export interface DescribeVoicesCommandOutput extends DescribeVoicesOutput, __Met
|
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
42
47
|
*
|
|
48
|
+
* @param DescribeVoicesCommandInput - {@link DescribeVoicesCommandInput}
|
|
49
|
+
* @returns {@link DescribeVoicesCommandOutput}
|
|
43
50
|
* @see {@link DescribeVoicesCommandInput} for command's `input` shape.
|
|
44
51
|
* @see {@link DescribeVoicesCommandOutput} for command's `response` shape.
|
|
45
52
|
* @see {@link PollyClientResolvedConfig | config} for PollyClient's `config` shape.
|
|
@@ -94,11 +101,20 @@ export interface DescribeVoicesCommandOutput extends DescribeVoicesOutput, __Met
|
|
|
94
101
|
export declare class DescribeVoicesCommand extends $Command<DescribeVoicesCommandInput, DescribeVoicesCommandOutput, PollyClientResolvedConfig> {
|
|
95
102
|
readonly input: DescribeVoicesCommandInput;
|
|
96
103
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
97
107
|
constructor(input: DescribeVoicesCommandInput);
|
|
98
108
|
/**
|
|
99
109
|
* @internal
|
|
100
110
|
*/
|
|
101
111
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeVoicesCommandInput, DescribeVoicesCommandOutput>;
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
102
115
|
private serialize;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
103
119
|
private deserialize;
|
|
104
120
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetLexiconInput, GetLexiconOutput } from "../models/models_0";
|
|
5
5
|
import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetLexiconCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetLexiconCommandInput extends GetLexiconInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetLexiconCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetLexiconCommandOutput extends GetLexiconOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns the content of the specified pronunciation lexicon stored
|
|
18
23
|
* in an Amazon Web Services Region. For more information, see <a href="https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html">Managing Lexicons</a>.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface GetLexiconCommandOutput extends GetLexiconOutput, __MetadataBea
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param GetLexiconCommandInput - {@link GetLexiconCommandInput}
|
|
35
|
+
* @returns {@link GetLexiconCommandOutput}
|
|
29
36
|
* @see {@link GetLexiconCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link GetLexiconCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link PollyClientResolvedConfig | config} for PollyClient's `config` shape.
|
|
@@ -72,11 +79,20 @@ export interface GetLexiconCommandOutput extends GetLexiconOutput, __MetadataBea
|
|
|
72
79
|
export declare class GetLexiconCommand extends $Command<GetLexiconCommandInput, GetLexiconCommandOutput, PollyClientResolvedConfig> {
|
|
73
80
|
readonly input: GetLexiconCommandInput;
|
|
74
81
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
75
85
|
constructor(input: GetLexiconCommandInput);
|
|
76
86
|
/**
|
|
77
87
|
* @internal
|
|
78
88
|
*/
|
|
79
89
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLexiconCommandInput, GetLexiconCommandOutput>;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
80
93
|
private serialize;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
81
97
|
private deserialize;
|
|
82
98
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetSpeechSynthesisTaskInput, GetSpeechSynthesisTaskOutput } from "../models/models_0";
|
|
5
5
|
import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetSpeechSynthesisTaskCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetSpeechSynthesisTaskCommandInput extends GetSpeechSynthesisTaskInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetSpeechSynthesisTaskCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetSpeechSynthesisTaskCommandOutput extends GetSpeechSynthesisTaskOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Retrieves a specific SpeechSynthesisTask object based on its TaskID.
|
|
18
23
|
* This object contains information about the given speech synthesis task,
|
|
19
24
|
* including the status of the task, and a link to the S3 bucket containing
|
|
@@ -28,6 +33,8 @@ export interface GetSpeechSynthesisTaskCommandOutput extends GetSpeechSynthesisT
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param GetSpeechSynthesisTaskCommandInput - {@link GetSpeechSynthesisTaskCommandInput}
|
|
37
|
+
* @returns {@link GetSpeechSynthesisTaskCommandOutput}
|
|
31
38
|
* @see {@link GetSpeechSynthesisTaskCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link GetSpeechSynthesisTaskCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link PollyClientResolvedConfig | config} for PollyClient's `config` shape.
|
|
@@ -48,11 +55,20 @@ export interface GetSpeechSynthesisTaskCommandOutput extends GetSpeechSynthesisT
|
|
|
48
55
|
export declare class GetSpeechSynthesisTaskCommand extends $Command<GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig> {
|
|
49
56
|
readonly input: GetSpeechSynthesisTaskCommandInput;
|
|
50
57
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
51
61
|
constructor(input: GetSpeechSynthesisTaskCommandInput);
|
|
52
62
|
/**
|
|
53
63
|
* @internal
|
|
54
64
|
*/
|
|
55
65
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput>;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
56
69
|
private serialize;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
57
73
|
private deserialize;
|
|
58
74
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListLexiconsInput, ListLexiconsOutput } from "../models/models_0";
|
|
5
5
|
import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListLexiconsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListLexiconsCommandInput extends ListLexiconsInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListLexiconsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListLexiconsCommandOutput extends ListLexiconsOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns a list of pronunciation lexicons stored in an Amazon Web Services Region. For more information, see <a href="https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html">Managing Lexicons</a>.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface ListLexiconsCommandOutput extends ListLexiconsOutput, __Metadat
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListLexiconsCommandInput - {@link ListLexiconsCommandInput}
|
|
34
|
+
* @returns {@link ListLexiconsCommandOutput}
|
|
28
35
|
* @see {@link ListLexiconsCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListLexiconsCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link PollyClientResolvedConfig | config} for PollyClient's `config` shape.
|
|
@@ -67,11 +74,20 @@ export interface ListLexiconsCommandOutput extends ListLexiconsOutput, __Metadat
|
|
|
67
74
|
export declare class ListLexiconsCommand extends $Command<ListLexiconsCommandInput, ListLexiconsCommandOutput, PollyClientResolvedConfig> {
|
|
68
75
|
readonly input: ListLexiconsCommandInput;
|
|
69
76
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
70
80
|
constructor(input: ListLexiconsCommandInput);
|
|
71
81
|
/**
|
|
72
82
|
* @internal
|
|
73
83
|
*/
|
|
74
84
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLexiconsCommandInput, ListLexiconsCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
75
88
|
private serialize;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
76
92
|
private deserialize;
|
|
77
93
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListSpeechSynthesisTasksInput, ListSpeechSynthesisTasksOutput } from "../models/models_0";
|
|
5
5
|
import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListSpeechSynthesisTasksCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListSpeechSynthesisTasksCommandInput extends ListSpeechSynthesisTasksInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListSpeechSynthesisTasksCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListSpeechSynthesisTasksCommandOutput extends ListSpeechSynthesisTasksOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns a list of SpeechSynthesisTask objects ordered by their
|
|
18
23
|
* creation date. This operation can filter the tasks by their status, for
|
|
19
24
|
* example, allowing users to list only tasks that are completed.</p>
|
|
@@ -27,6 +32,8 @@ export interface ListSpeechSynthesisTasksCommandOutput extends ListSpeechSynthes
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param ListSpeechSynthesisTasksCommandInput - {@link ListSpeechSynthesisTasksCommandInput}
|
|
36
|
+
* @returns {@link ListSpeechSynthesisTasksCommandOutput}
|
|
30
37
|
* @see {@link ListSpeechSynthesisTasksCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link ListSpeechSynthesisTasksCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link PollyClientResolvedConfig | config} for PollyClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface ListSpeechSynthesisTasksCommandOutput extends ListSpeechSynthes
|
|
|
43
50
|
export declare class ListSpeechSynthesisTasksCommand extends $Command<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput, PollyClientResolvedConfig> {
|
|
44
51
|
readonly input: ListSpeechSynthesisTasksCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: ListSpeechSynthesisTasksCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { PutLexiconInput, PutLexiconOutput } from "../models/models_0";
|
|
5
5
|
import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutLexiconCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutLexiconCommandInput extends PutLexiconInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutLexiconCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutLexiconCommandOutput extends PutLexiconOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Stores a pronunciation lexicon in an Amazon Web Services Region. If
|
|
18
23
|
* a lexicon with the same name already exists in the region, it is
|
|
19
24
|
* overwritten by the new lexicon. Lexicon operations have eventual
|
|
@@ -30,6 +35,8 @@ export interface PutLexiconCommandOutput extends PutLexiconOutput, __MetadataBea
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param PutLexiconCommandInput - {@link PutLexiconCommandInput}
|
|
39
|
+
* @returns {@link PutLexiconCommandOutput}
|
|
33
40
|
* @see {@link PutLexiconCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link PutLexiconCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link PollyClientResolvedConfig | config} for PollyClient's `config` shape.
|
|
@@ -78,11 +85,20 @@ export interface PutLexiconCommandOutput extends PutLexiconOutput, __MetadataBea
|
|
|
78
85
|
export declare class PutLexiconCommand extends $Command<PutLexiconCommandInput, PutLexiconCommandOutput, PollyClientResolvedConfig> {
|
|
79
86
|
readonly input: PutLexiconCommandInput;
|
|
80
87
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
81
91
|
constructor(input: PutLexiconCommandInput);
|
|
82
92
|
/**
|
|
83
93
|
* @internal
|
|
84
94
|
*/
|
|
85
95
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutLexiconCommandInput, PutLexiconCommandOutput>;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
86
99
|
private serialize;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
87
103
|
private deserialize;
|
|
88
104
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { StartSpeechSynthesisTaskInput, StartSpeechSynthesisTaskOutput } from "../models/models_0";
|
|
5
5
|
import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StartSpeechSynthesisTaskCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StartSpeechSynthesisTaskCommandInput extends StartSpeechSynthesisTaskInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StartSpeechSynthesisTaskCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StartSpeechSynthesisTaskCommandOutput extends StartSpeechSynthesisTaskOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Allows the creation of an asynchronous synthesis task, by starting a
|
|
18
23
|
* new <code>SpeechSynthesisTask</code>. This operation requires all the
|
|
19
24
|
* standard information needed for speech synthesis, plus the name of an
|
|
@@ -34,6 +39,8 @@ export interface StartSpeechSynthesisTaskCommandOutput extends StartSpeechSynthe
|
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
36
41
|
*
|
|
42
|
+
* @param StartSpeechSynthesisTaskCommandInput - {@link StartSpeechSynthesisTaskCommandInput}
|
|
43
|
+
* @returns {@link StartSpeechSynthesisTaskCommandOutput}
|
|
37
44
|
* @see {@link StartSpeechSynthesisTaskCommandInput} for command's `input` shape.
|
|
38
45
|
* @see {@link StartSpeechSynthesisTaskCommandOutput} for command's `response` shape.
|
|
39
46
|
* @see {@link PollyClientResolvedConfig | config} for PollyClient's `config` shape.
|
|
@@ -99,11 +106,20 @@ export interface StartSpeechSynthesisTaskCommandOutput extends StartSpeechSynthe
|
|
|
99
106
|
export declare class StartSpeechSynthesisTaskCommand extends $Command<StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig> {
|
|
100
107
|
readonly input: StartSpeechSynthesisTaskCommandInput;
|
|
101
108
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
102
112
|
constructor(input: StartSpeechSynthesisTaskCommandInput);
|
|
103
113
|
/**
|
|
104
114
|
* @internal
|
|
105
115
|
*/
|
|
106
116
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput>;
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
107
120
|
private serialize;
|
|
121
|
+
/**
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
108
124
|
private deserialize;
|
|
109
125
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { SynthesizeSpeechInput, SynthesizeSpeechOutput } from "../models/models_0";
|
|
5
5
|
import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link SynthesizeSpeechCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface SynthesizeSpeechCommandInput extends SynthesizeSpeechInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link SynthesizeSpeechCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface SynthesizeSpeechCommandOutput extends __WithSdkStreamMixin<SynthesizeSpeechOutput, "AudioStream">, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
|
18
23
|
* SSML input must be valid, well-formed SSML. Some alphabets might not be
|
|
19
24
|
* available with all the voices (for example, Cyrillic might not be read at
|
|
@@ -29,6 +34,8 @@ export interface SynthesizeSpeechCommandOutput extends __WithSdkStreamMixin<Synt
|
|
|
29
34
|
* const response = await client.send(command);
|
|
30
35
|
* ```
|
|
31
36
|
*
|
|
37
|
+
* @param SynthesizeSpeechCommandInput - {@link SynthesizeSpeechCommandInput}
|
|
38
|
+
* @returns {@link SynthesizeSpeechCommandOutput}
|
|
32
39
|
* @see {@link SynthesizeSpeechCommandInput} for command's `input` shape.
|
|
33
40
|
* @see {@link SynthesizeSpeechCommandOutput} for command's `response` shape.
|
|
34
41
|
* @see {@link PollyClientResolvedConfig | config} for PollyClient's `config` shape.
|
|
@@ -107,11 +114,20 @@ export interface SynthesizeSpeechCommandOutput extends __WithSdkStreamMixin<Synt
|
|
|
107
114
|
export declare class SynthesizeSpeechCommand extends $Command<SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput, PollyClientResolvedConfig> {
|
|
108
115
|
readonly input: SynthesizeSpeechCommandInput;
|
|
109
116
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
110
120
|
constructor(input: SynthesizeSpeechCommandInput);
|
|
111
121
|
/**
|
|
112
122
|
* @internal
|
|
113
123
|
*/
|
|
114
124
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput>;
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
115
128
|
private serialize;
|
|
129
|
+
/**
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
116
132
|
private deserialize;
|
|
117
133
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Polly service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class PollyServiceException extends __ServiceException {
|