@aws-sdk/client-polly 3.169.0 → 3.170.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/Polly.d.ts +166 -50
  3. package/dist-types/ts3.4/PollyClient.d.ts +183 -82
  4. package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +34 -17
  5. package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +34 -17
  6. package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +34 -17
  7. package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +41 -17
  8. package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +34 -17
  9. package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +41 -17
  10. package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +34 -17
  11. package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +41 -17
  12. package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +37 -17
  13. package/dist-types/ts3.4/commands/index.d.ts +9 -9
  14. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  15. package/dist-types/ts3.4/index.d.ts +6 -6
  16. package/dist-types/ts3.4/models/PollyServiceException.d.ts +8 -6
  17. package/dist-types/ts3.4/models/index.d.ts +1 -1
  18. package/dist-types/ts3.4/models/models_0.d.ts +618 -435
  19. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  20. package/dist-types/ts3.4/pagination/ListSpeechSynthesisTasksPaginator.d.ts +11 -4
  21. package/dist-types/ts3.4/pagination/index.d.ts +2 -2
  22. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +113 -29
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  27. package/package.json +34 -34
@@ -1,17 +1,41 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { GetSpeechSynthesisTaskInput, GetSpeechSynthesisTaskOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
- export interface GetSpeechSynthesisTaskCommandInput extends GetSpeechSynthesisTaskInput {
6
- }
7
- export interface GetSpeechSynthesisTaskCommandOutput extends GetSpeechSynthesisTaskOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class GetSpeechSynthesisTaskCommand extends $Command<GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig> {
11
- readonly input: GetSpeechSynthesisTaskCommandInput;
12
- constructor(input: GetSpeechSynthesisTaskCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ GetSpeechSynthesisTaskInput,
10
+ GetSpeechSynthesisTaskOutput,
11
+ } from "../models/models_0";
12
+ import {
13
+ PollyClientResolvedConfig,
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ } from "../PollyClient";
17
+ export interface GetSpeechSynthesisTaskCommandInput
18
+ extends GetSpeechSynthesisTaskInput {}
19
+ export interface GetSpeechSynthesisTaskCommandOutput
20
+ extends GetSpeechSynthesisTaskOutput,
21
+ __MetadataBearer {}
22
+
23
+ export declare class GetSpeechSynthesisTaskCommand extends $Command<
24
+ GetSpeechSynthesisTaskCommandInput,
25
+ GetSpeechSynthesisTaskCommandOutput,
26
+ PollyClientResolvedConfig
27
+ > {
28
+ readonly input: GetSpeechSynthesisTaskCommandInput;
29
+ constructor(input: GetSpeechSynthesisTaskCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: PollyClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ GetSpeechSynthesisTaskCommandInput,
37
+ GetSpeechSynthesisTaskCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,17 +1,34 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListLexiconsInput, ListLexiconsOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
- export interface ListLexiconsCommandInput extends ListLexiconsInput {
6
- }
7
- export interface ListLexiconsCommandOutput extends ListLexiconsOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class ListLexiconsCommand extends $Command<ListLexiconsCommandInput, ListLexiconsCommandOutput, PollyClientResolvedConfig> {
11
- readonly input: ListLexiconsCommandInput;
12
- constructor(input: ListLexiconsCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLexiconsCommandInput, ListLexiconsCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import { ListLexiconsInput, ListLexiconsOutput } from "../models/models_0";
9
+ import {
10
+ PollyClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../PollyClient";
14
+ export interface ListLexiconsCommandInput extends ListLexiconsInput {}
15
+ export interface ListLexiconsCommandOutput
16
+ extends ListLexiconsOutput,
17
+ __MetadataBearer {}
18
+
19
+ export declare class ListLexiconsCommand extends $Command<
20
+ ListLexiconsCommandInput,
21
+ ListLexiconsCommandOutput,
22
+ PollyClientResolvedConfig
23
+ > {
24
+ readonly input: ListLexiconsCommandInput;
25
+ constructor(input: ListLexiconsCommandInput);
26
+
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: PollyClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<ListLexiconsCommandInput, ListLexiconsCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }
@@ -1,17 +1,41 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListSpeechSynthesisTasksInput, ListSpeechSynthesisTasksOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
- export interface ListSpeechSynthesisTasksCommandInput extends ListSpeechSynthesisTasksInput {
6
- }
7
- export interface ListSpeechSynthesisTasksCommandOutput extends ListSpeechSynthesisTasksOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class ListSpeechSynthesisTasksCommand extends $Command<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput, PollyClientResolvedConfig> {
11
- readonly input: ListSpeechSynthesisTasksCommandInput;
12
- constructor(input: ListSpeechSynthesisTasksCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ ListSpeechSynthesisTasksInput,
10
+ ListSpeechSynthesisTasksOutput,
11
+ } from "../models/models_0";
12
+ import {
13
+ PollyClientResolvedConfig,
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ } from "../PollyClient";
17
+ export interface ListSpeechSynthesisTasksCommandInput
18
+ extends ListSpeechSynthesisTasksInput {}
19
+ export interface ListSpeechSynthesisTasksCommandOutput
20
+ extends ListSpeechSynthesisTasksOutput,
21
+ __MetadataBearer {}
22
+
23
+ export declare class ListSpeechSynthesisTasksCommand extends $Command<
24
+ ListSpeechSynthesisTasksCommandInput,
25
+ ListSpeechSynthesisTasksCommandOutput,
26
+ PollyClientResolvedConfig
27
+ > {
28
+ readonly input: ListSpeechSynthesisTasksCommandInput;
29
+ constructor(input: ListSpeechSynthesisTasksCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: PollyClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ ListSpeechSynthesisTasksCommandInput,
37
+ ListSpeechSynthesisTasksCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,17 +1,34 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { PutLexiconInput, PutLexiconOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
- export interface PutLexiconCommandInput extends PutLexiconInput {
6
- }
7
- export interface PutLexiconCommandOutput extends PutLexiconOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class PutLexiconCommand extends $Command<PutLexiconCommandInput, PutLexiconCommandOutput, PollyClientResolvedConfig> {
11
- readonly input: PutLexiconCommandInput;
12
- constructor(input: PutLexiconCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutLexiconCommandInput, PutLexiconCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import { PutLexiconInput, PutLexiconOutput } from "../models/models_0";
9
+ import {
10
+ PollyClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../PollyClient";
14
+ export interface PutLexiconCommandInput extends PutLexiconInput {}
15
+ export interface PutLexiconCommandOutput
16
+ extends PutLexiconOutput,
17
+ __MetadataBearer {}
18
+
19
+ export declare class PutLexiconCommand extends $Command<
20
+ PutLexiconCommandInput,
21
+ PutLexiconCommandOutput,
22
+ PollyClientResolvedConfig
23
+ > {
24
+ readonly input: PutLexiconCommandInput;
25
+ constructor(input: PutLexiconCommandInput);
26
+
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: PollyClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<PutLexiconCommandInput, PutLexiconCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }
@@ -1,17 +1,41 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { StartSpeechSynthesisTaskInput, StartSpeechSynthesisTaskOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
- export interface StartSpeechSynthesisTaskCommandInput extends StartSpeechSynthesisTaskInput {
6
- }
7
- export interface StartSpeechSynthesisTaskCommandOutput extends StartSpeechSynthesisTaskOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class StartSpeechSynthesisTaskCommand extends $Command<StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig> {
11
- readonly input: StartSpeechSynthesisTaskCommandInput;
12
- constructor(input: StartSpeechSynthesisTaskCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ StartSpeechSynthesisTaskInput,
10
+ StartSpeechSynthesisTaskOutput,
11
+ } from "../models/models_0";
12
+ import {
13
+ PollyClientResolvedConfig,
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ } from "../PollyClient";
17
+ export interface StartSpeechSynthesisTaskCommandInput
18
+ extends StartSpeechSynthesisTaskInput {}
19
+ export interface StartSpeechSynthesisTaskCommandOutput
20
+ extends StartSpeechSynthesisTaskOutput,
21
+ __MetadataBearer {}
22
+
23
+ export declare class StartSpeechSynthesisTaskCommand extends $Command<
24
+ StartSpeechSynthesisTaskCommandInput,
25
+ StartSpeechSynthesisTaskCommandOutput,
26
+ PollyClientResolvedConfig
27
+ > {
28
+ readonly input: StartSpeechSynthesisTaskCommandInput;
29
+ constructor(input: StartSpeechSynthesisTaskCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: PollyClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ StartSpeechSynthesisTaskCommandInput,
37
+ StartSpeechSynthesisTaskCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,17 +1,37 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { SynthesizeSpeechInput, SynthesizeSpeechOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
- export interface SynthesizeSpeechCommandInput extends SynthesizeSpeechInput {
6
- }
7
- export interface SynthesizeSpeechCommandOutput extends SynthesizeSpeechOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class SynthesizeSpeechCommand extends $Command<SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput, PollyClientResolvedConfig> {
11
- readonly input: SynthesizeSpeechCommandInput;
12
- constructor(input: SynthesizeSpeechCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ SynthesizeSpeechInput,
10
+ SynthesizeSpeechOutput,
11
+ } from "../models/models_0";
12
+ import {
13
+ PollyClientResolvedConfig,
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ } from "../PollyClient";
17
+ export interface SynthesizeSpeechCommandInput extends SynthesizeSpeechInput {}
18
+ export interface SynthesizeSpeechCommandOutput
19
+ extends SynthesizeSpeechOutput,
20
+ __MetadataBearer {}
21
+
22
+ export declare class SynthesizeSpeechCommand extends $Command<
23
+ SynthesizeSpeechCommandInput,
24
+ SynthesizeSpeechCommandOutput,
25
+ PollyClientResolvedConfig
26
+ > {
27
+ readonly input: SynthesizeSpeechCommandInput;
28
+ constructor(input: SynthesizeSpeechCommandInput);
29
+
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: PollyClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -1,9 +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
+ 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,2 +1,2 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,6 +1,6 @@
1
- export * from "./Polly";
2
- export * from "./PollyClient";
3
- export * from "./commands";
4
- export * from "./models";
5
- export * from "./pagination";
6
- export { PollyServiceException } from "./models/PollyServiceException";
1
+ export * from "./Polly";
2
+ export * from "./PollyClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { PollyServiceException } from "./models/PollyServiceException";
@@ -1,6 +1,8 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
-
3
- export declare class PollyServiceException extends __ServiceException {
4
-
5
- constructor(options: __ServiceExceptionOptions);
6
- }
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@aws-sdk/smithy-client";
5
+
6
+ export declare class PollyServiceException extends __ServiceException {
7
+ constructor(options: __ServiceExceptionOptions);
8
+ }
@@ -1 +1 @@
1
- export * from "./models_0";
1
+ export * from "./models_0";