@aws-sdk/client-polly 3.478.0 → 3.484.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 (41) hide show
  1. package/dist-cjs/commands/DeleteLexiconCommand.js +18 -41
  2. package/dist-cjs/commands/DescribeVoicesCommand.js +18 -41
  3. package/dist-cjs/commands/GetLexiconCommand.js +18 -41
  4. package/dist-cjs/commands/GetSpeechSynthesisTaskCommand.js +18 -41
  5. package/dist-cjs/commands/ListLexiconsCommand.js +18 -41
  6. package/dist-cjs/commands/ListSpeechSynthesisTasksCommand.js +18 -41
  7. package/dist-cjs/commands/PutLexiconCommand.js +18 -41
  8. package/dist-cjs/commands/StartSpeechSynthesisTaskCommand.js +18 -41
  9. package/dist-cjs/commands/SynthesizeSpeechCommand.js +18 -41
  10. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  11. package/dist-es/commands/DeleteLexiconCommand.js +18 -41
  12. package/dist-es/commands/DescribeVoicesCommand.js +18 -41
  13. package/dist-es/commands/GetLexiconCommand.js +18 -41
  14. package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +18 -41
  15. package/dist-es/commands/ListLexiconsCommand.js +18 -41
  16. package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +18 -41
  17. package/dist-es/commands/PutLexiconCommand.js +18 -41
  18. package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +18 -41
  19. package/dist-es/commands/SynthesizeSpeechCommand.js +18 -41
  20. package/dist-es/endpoint/EndpointParameters.js +6 -0
  21. package/dist-types/commands/DeleteLexiconCommand.d.ts +6 -21
  22. package/dist-types/commands/DescribeVoicesCommand.d.ts +6 -21
  23. package/dist-types/commands/GetLexiconCommand.d.ts +6 -21
  24. package/dist-types/commands/GetSpeechSynthesisTaskCommand.d.ts +6 -21
  25. package/dist-types/commands/ListLexiconsCommand.d.ts +6 -21
  26. package/dist-types/commands/ListSpeechSynthesisTasksCommand.d.ts +6 -21
  27. package/dist-types/commands/PutLexiconCommand.d.ts +6 -21
  28. package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +6 -21
  29. package/dist-types/commands/SynthesizeSpeechCommand.d.ts +6 -21
  30. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  31. package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +14 -23
  32. package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +14 -23
  33. package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +14 -23
  34. package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +12 -24
  35. package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +14 -23
  36. package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +12 -24
  37. package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +14 -23
  38. package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +12 -24
  39. package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +13 -20
  40. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  41. package/package.json +11 -11
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteLexiconInput, DeleteLexiconOutput } from "../models/models_0";
5
4
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteLexiconCommandInput extends DeleteLexiconInput {
21
20
  */
22
21
  export interface DeleteLexiconCommandOutput extends DeleteLexiconOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteLexiconCommand_base: {
24
+ new (input: DeleteLexiconCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLexiconCommandInput, DeleteLexiconCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region. A lexicon which has been deleted is not available for
@@ -73,23 +76,5 @@ export interface DeleteLexiconCommandOutput extends DeleteLexiconOutput, __Metad
73
76
  * ```
74
77
  *
75
78
  */
76
- export declare class DeleteLexiconCommand extends $Command<DeleteLexiconCommandInput, DeleteLexiconCommandOutput, PollyClientResolvedConfig> {
77
- readonly input: DeleteLexiconCommandInput;
78
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
- /**
80
- * @public
81
- */
82
- constructor(input: DeleteLexiconCommandInput);
83
- /**
84
- * @internal
85
- */
86
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLexiconCommandInput, DeleteLexiconCommandOutput>;
87
- /**
88
- * @internal
89
- */
90
- private serialize;
91
- /**
92
- * @internal
93
- */
94
- private deserialize;
79
+ export declare class DeleteLexiconCommand extends DeleteLexiconCommand_base {
95
80
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DescribeVoicesInput, DescribeVoicesOutput } from "../models/models_0";
5
4
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeVoicesCommandInput extends DescribeVoicesInput {
21
20
  */
22
21
  export interface DescribeVoicesCommandOutput extends DescribeVoicesOutput, __MetadataBearer {
23
22
  }
23
+ declare const DescribeVoicesCommand_base: {
24
+ new (input: DescribeVoicesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeVoicesCommandInput, DescribeVoicesCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns the list of voices that are available for use when
@@ -129,23 +132,5 @@ export interface DescribeVoicesCommandOutput extends DescribeVoicesOutput, __Met
129
132
  * ```
130
133
  *
131
134
  */
132
- export declare class DescribeVoicesCommand extends $Command<DescribeVoicesCommandInput, DescribeVoicesCommandOutput, PollyClientResolvedConfig> {
133
- readonly input: DescribeVoicesCommandInput;
134
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
135
- /**
136
- * @public
137
- */
138
- constructor(input: DescribeVoicesCommandInput);
139
- /**
140
- * @internal
141
- */
142
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeVoicesCommandInput, DescribeVoicesCommandOutput>;
143
- /**
144
- * @internal
145
- */
146
- private serialize;
147
- /**
148
- * @internal
149
- */
150
- private deserialize;
135
+ export declare class DescribeVoicesCommand extends DescribeVoicesCommand_base {
151
136
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetLexiconInput, GetLexiconOutput } from "../models/models_0";
5
4
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetLexiconCommandInput extends GetLexiconInput {
21
20
  */
22
21
  export interface GetLexiconCommandOutput extends GetLexiconOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetLexiconCommand_base: {
24
+ new (input: GetLexiconCommandInput): import("@smithy/smithy-client").CommandImpl<GetLexiconCommandInput, GetLexiconCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns the content of the specified pronunciation lexicon stored
@@ -100,23 +103,5 @@ export interface GetLexiconCommandOutput extends GetLexiconOutput, __MetadataBea
100
103
  * ```
101
104
  *
102
105
  */
103
- export declare class GetLexiconCommand extends $Command<GetLexiconCommandInput, GetLexiconCommandOutput, PollyClientResolvedConfig> {
104
- readonly input: GetLexiconCommandInput;
105
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
106
- /**
107
- * @public
108
- */
109
- constructor(input: GetLexiconCommandInput);
110
- /**
111
- * @internal
112
- */
113
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLexiconCommandInput, GetLexiconCommandOutput>;
114
- /**
115
- * @internal
116
- */
117
- private serialize;
118
- /**
119
- * @internal
120
- */
121
- private deserialize;
106
+ export declare class GetLexiconCommand extends GetLexiconCommand_base {
122
107
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetSpeechSynthesisTaskInput, GetSpeechSynthesisTaskOutput } from "../models/models_0";
5
4
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetSpeechSynthesisTaskCommandInput extends GetSpeechSynthesisTa
21
20
  */
22
21
  export interface GetSpeechSynthesisTaskCommandOutput extends GetSpeechSynthesisTaskOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetSpeechSynthesisTaskCommand_base: {
24
+ new (input: GetSpeechSynthesisTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves a specific SpeechSynthesisTask object based on its TaskID.
@@ -85,23 +88,5 @@ export interface GetSpeechSynthesisTaskCommandOutput extends GetSpeechSynthesisT
85
88
  * <p>Base exception class for all service exceptions from Polly service.</p>
86
89
  *
87
90
  */
88
- export declare class GetSpeechSynthesisTaskCommand extends $Command<GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig> {
89
- readonly input: GetSpeechSynthesisTaskCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: GetSpeechSynthesisTaskCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class GetSpeechSynthesisTaskCommand extends GetSpeechSynthesisTaskCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListLexiconsInput, ListLexiconsOutput } from "../models/models_0";
5
4
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListLexiconsCommandInput extends ListLexiconsInput {
21
20
  */
22
21
  export interface ListLexiconsCommandOutput extends ListLexiconsOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListLexiconsCommand_base: {
24
+ new (input: ListLexiconsCommandInput): import("@smithy/smithy-client").CommandImpl<ListLexiconsCommandInput, ListLexiconsCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <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>
@@ -97,23 +100,5 @@ export interface ListLexiconsCommandOutput extends ListLexiconsOutput, __Metadat
97
100
  * ```
98
101
  *
99
102
  */
100
- export declare class ListLexiconsCommand extends $Command<ListLexiconsCommandInput, ListLexiconsCommandOutput, PollyClientResolvedConfig> {
101
- readonly input: ListLexiconsCommandInput;
102
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
- /**
104
- * @public
105
- */
106
- constructor(input: ListLexiconsCommandInput);
107
- /**
108
- * @internal
109
- */
110
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLexiconsCommandInput, ListLexiconsCommandOutput>;
111
- /**
112
- * @internal
113
- */
114
- private serialize;
115
- /**
116
- * @internal
117
- */
118
- private deserialize;
103
+ export declare class ListLexiconsCommand extends ListLexiconsCommand_base {
119
104
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListSpeechSynthesisTasksInput, ListSpeechSynthesisTasksOutput } from "../models/models_0";
5
4
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListSpeechSynthesisTasksCommandInput extends ListSpeechSynthesi
21
20
  */
22
21
  export interface ListSpeechSynthesisTasksCommandOutput extends ListSpeechSynthesisTasksOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListSpeechSynthesisTasksCommand_base: {
24
+ new (input: ListSpeechSynthesisTasksCommandInput): import("@smithy/smithy-client").CommandImpl<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of SpeechSynthesisTask objects ordered by their
@@ -85,23 +88,5 @@ export interface ListSpeechSynthesisTasksCommandOutput extends ListSpeechSynthes
85
88
  * <p>Base exception class for all service exceptions from Polly service.</p>
86
89
  *
87
90
  */
88
- export declare class ListSpeechSynthesisTasksCommand extends $Command<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput, PollyClientResolvedConfig> {
89
- readonly input: ListSpeechSynthesisTasksCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: ListSpeechSynthesisTasksCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class ListSpeechSynthesisTasksCommand extends ListSpeechSynthesisTasksCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { PutLexiconInput, PutLexiconOutput } from "../models/models_0";
5
4
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutLexiconCommandInput extends PutLexiconInput {
21
20
  */
22
21
  export interface PutLexiconCommandOutput extends PutLexiconOutput, __MetadataBearer {
23
22
  }
23
+ declare const PutLexiconCommand_base: {
24
+ new (input: PutLexiconCommandInput): import("@smithy/smithy-client").CommandImpl<PutLexiconCommandInput, PutLexiconCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Stores a pronunciation lexicon in an Amazon Web Services Region. If
@@ -94,23 +97,5 @@ export interface PutLexiconCommandOutput extends PutLexiconOutput, __MetadataBea
94
97
  * ```
95
98
  *
96
99
  */
97
- export declare class PutLexiconCommand extends $Command<PutLexiconCommandInput, PutLexiconCommandOutput, PollyClientResolvedConfig> {
98
- readonly input: PutLexiconCommandInput;
99
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
- /**
101
- * @public
102
- */
103
- constructor(input: PutLexiconCommandInput);
104
- /**
105
- * @internal
106
- */
107
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutLexiconCommandInput, PutLexiconCommandOutput>;
108
- /**
109
- * @internal
110
- */
111
- private serialize;
112
- /**
113
- * @internal
114
- */
115
- private deserialize;
100
+ export declare class PutLexiconCommand extends PutLexiconCommand_base {
116
101
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { StartSpeechSynthesisTaskInput, StartSpeechSynthesisTaskOutput } from "../models/models_0";
5
4
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface StartSpeechSynthesisTaskCommandInput extends StartSpeechSynthes
21
20
  */
22
21
  export interface StartSpeechSynthesisTaskCommandOutput extends StartSpeechSynthesisTaskOutput, __MetadataBearer {
23
22
  }
23
+ declare const StartSpeechSynthesisTaskCommand_base: {
24
+ new (input: StartSpeechSynthesisTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Allows the creation of an asynchronous synthesis task, by starting a
@@ -151,23 +154,5 @@ export interface StartSpeechSynthesisTaskCommandOutput extends StartSpeechSynthe
151
154
  * <p>Base exception class for all service exceptions from Polly service.</p>
152
155
  *
153
156
  */
154
- export declare class StartSpeechSynthesisTaskCommand extends $Command<StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig> {
155
- readonly input: StartSpeechSynthesisTaskCommandInput;
156
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
157
- /**
158
- * @public
159
- */
160
- constructor(input: StartSpeechSynthesisTaskCommandInput);
161
- /**
162
- * @internal
163
- */
164
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput>;
165
- /**
166
- * @internal
167
- */
168
- private serialize;
169
- /**
170
- * @internal
171
- */
172
- private deserialize;
157
+ export declare class StartSpeechSynthesisTaskCommand extends StartSpeechSynthesisTaskCommand_base {
173
158
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadOutputTypes } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
4
3
  import { SynthesizeSpeechInput, SynthesizeSpeechOutput } from "../models/models_0";
5
4
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
5
  /**
@@ -22,6 +21,10 @@ export interface SynthesizeSpeechCommandInput extends SynthesizeSpeechInput {
22
21
  export interface SynthesizeSpeechCommandOutput extends Omit<SynthesizeSpeechOutput, "AudioStream">, __MetadataBearer {
23
22
  AudioStream?: StreamingBlobPayloadOutputTypes;
24
23
  }
24
+ declare const SynthesizeSpeechCommand_base: {
25
+ new (input: SynthesizeSpeechCommandInput): import("@smithy/smithy-client").CommandImpl<SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput, PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
25
28
  /**
26
29
  * @public
27
30
  * <p>Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
@@ -139,23 +142,5 @@ export interface SynthesizeSpeechCommandOutput extends Omit<SynthesizeSpeechOutp
139
142
  * ```
140
143
  *
141
144
  */
142
- export declare class SynthesizeSpeechCommand extends $Command<SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput, PollyClientResolvedConfig> {
143
- readonly input: SynthesizeSpeechCommandInput;
144
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
145
- /**
146
- * @public
147
- */
148
- constructor(input: SynthesizeSpeechCommandInput);
149
- /**
150
- * @internal
151
- */
152
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput>;
153
- /**
154
- * @internal
155
- */
156
- private serialize;
157
- /**
158
- * @internal
159
- */
160
- private deserialize;
145
+ export declare class SynthesizeSpeechCommand extends SynthesizeSpeechCommand_base {
161
146
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { DeleteLexiconInput, DeleteLexiconOutput } from "../models/models_0";
10
4
  import {
11
5
  PollyClientResolvedConfig,
@@ -17,19 +11,16 @@ export interface DeleteLexiconCommandInput extends DeleteLexiconInput {}
17
11
  export interface DeleteLexiconCommandOutput
18
12
  extends DeleteLexiconOutput,
19
13
  __MetadataBearer {}
20
- export declare class DeleteLexiconCommand extends $Command<
21
- DeleteLexiconCommandInput,
22
- DeleteLexiconCommandOutput,
23
- PollyClientResolvedConfig
24
- > {
25
- readonly input: DeleteLexiconCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: DeleteLexiconCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: PollyClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<DeleteLexiconCommandInput, DeleteLexiconCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const DeleteLexiconCommand_base: {
15
+ new (
16
+ input: DeleteLexiconCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ DeleteLexiconCommandInput,
19
+ DeleteLexiconCommandOutput,
20
+ PollyClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class DeleteLexiconCommand extends DeleteLexiconCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { DescribeVoicesInput, DescribeVoicesOutput } from "../models/models_0";
10
4
  import {
11
5
  PollyClientResolvedConfig,
@@ -17,19 +11,16 @@ export interface DescribeVoicesCommandInput extends DescribeVoicesInput {}
17
11
  export interface DescribeVoicesCommandOutput
18
12
  extends DescribeVoicesOutput,
19
13
  __MetadataBearer {}
20
- export declare class DescribeVoicesCommand extends $Command<
21
- DescribeVoicesCommandInput,
22
- DescribeVoicesCommandOutput,
23
- PollyClientResolvedConfig
24
- > {
25
- readonly input: DescribeVoicesCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: DescribeVoicesCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: PollyClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<DescribeVoicesCommandInput, DescribeVoicesCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const DescribeVoicesCommand_base: {
15
+ new (
16
+ input: DescribeVoicesCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ DescribeVoicesCommandInput,
19
+ DescribeVoicesCommandOutput,
20
+ PollyClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class DescribeVoicesCommand extends DescribeVoicesCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { GetLexiconInput, GetLexiconOutput } from "../models/models_0";
10
4
  import {
11
5
  PollyClientResolvedConfig,
@@ -17,19 +11,16 @@ export interface GetLexiconCommandInput extends GetLexiconInput {}
17
11
  export interface GetLexiconCommandOutput
18
12
  extends GetLexiconOutput,
19
13
  __MetadataBearer {}
20
- export declare class GetLexiconCommand extends $Command<
21
- GetLexiconCommandInput,
22
- GetLexiconCommandOutput,
23
- PollyClientResolvedConfig
24
- > {
25
- readonly input: GetLexiconCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: GetLexiconCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: PollyClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<GetLexiconCommandInput, GetLexiconCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const GetLexiconCommand_base: {
15
+ new (
16
+ input: GetLexiconCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ GetLexiconCommandInput,
19
+ GetLexiconCommandOutput,
20
+ PollyClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class GetLexiconCommand extends GetLexiconCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  GetSpeechSynthesisTaskInput,
11
5
  GetSpeechSynthesisTaskOutput,
@@ -21,22 +15,16 @@ export interface GetSpeechSynthesisTaskCommandInput
21
15
  export interface GetSpeechSynthesisTaskCommandOutput
22
16
  extends GetSpeechSynthesisTaskOutput,
23
17
  __MetadataBearer {}
24
- export declare class GetSpeechSynthesisTaskCommand extends $Command<
25
- GetSpeechSynthesisTaskCommandInput,
26
- GetSpeechSynthesisTaskCommandOutput,
27
- PollyClientResolvedConfig
28
- > {
29
- readonly input: GetSpeechSynthesisTaskCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: GetSpeechSynthesisTaskCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: PollyClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const GetSpeechSynthesisTaskCommand_base: {
19
+ new (
20
+ input: GetSpeechSynthesisTaskCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  GetSpeechSynthesisTaskCommandInput,
38
- GetSpeechSynthesisTaskCommandOutput
23
+ GetSpeechSynthesisTaskCommandOutput,
24
+ PollyClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class GetSpeechSynthesisTaskCommand extends GetSpeechSynthesisTaskCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { ListLexiconsInput, ListLexiconsOutput } from "../models/models_0";
10
4
  import {
11
5
  PollyClientResolvedConfig,
@@ -17,19 +11,16 @@ export interface ListLexiconsCommandInput extends ListLexiconsInput {}
17
11
  export interface ListLexiconsCommandOutput
18
12
  extends ListLexiconsOutput,
19
13
  __MetadataBearer {}
20
- export declare class ListLexiconsCommand extends $Command<
21
- ListLexiconsCommandInput,
22
- ListLexiconsCommandOutput,
23
- PollyClientResolvedConfig
24
- > {
25
- readonly input: ListLexiconsCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: ListLexiconsCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: PollyClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<ListLexiconsCommandInput, ListLexiconsCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const ListLexiconsCommand_base: {
15
+ new (
16
+ input: ListLexiconsCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ ListLexiconsCommandInput,
19
+ ListLexiconsCommandOutput,
20
+ PollyClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class ListLexiconsCommand extends ListLexiconsCommand_base {}