@aws-sdk/client-polly 3.478.0 → 3.481.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 +18 -41
- package/dist-cjs/commands/DescribeVoicesCommand.js +18 -41
- package/dist-cjs/commands/GetLexiconCommand.js +18 -41
- package/dist-cjs/commands/GetSpeechSynthesisTaskCommand.js +18 -41
- package/dist-cjs/commands/ListLexiconsCommand.js +18 -41
- package/dist-cjs/commands/ListSpeechSynthesisTasksCommand.js +18 -41
- package/dist-cjs/commands/PutLexiconCommand.js +18 -41
- package/dist-cjs/commands/StartSpeechSynthesisTaskCommand.js +18 -41
- package/dist-cjs/commands/SynthesizeSpeechCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/DeleteLexiconCommand.js +18 -41
- package/dist-es/commands/DescribeVoicesCommand.js +18 -41
- package/dist-es/commands/GetLexiconCommand.js +18 -41
- package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +18 -41
- package/dist-es/commands/ListLexiconsCommand.js +18 -41
- package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +18 -41
- package/dist-es/commands/PutLexiconCommand.js +18 -41
- package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +18 -41
- package/dist-es/commands/SynthesizeSpeechCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/DeleteLexiconCommand.d.ts +6 -21
- package/dist-types/commands/DescribeVoicesCommand.d.ts +6 -21
- package/dist-types/commands/GetLexiconCommand.d.ts +6 -21
- package/dist-types/commands/GetSpeechSynthesisTaskCommand.d.ts +6 -21
- package/dist-types/commands/ListLexiconsCommand.d.ts +6 -21
- package/dist-types/commands/ListSpeechSynthesisTasksCommand.d.ts +6 -21
- package/dist-types/commands/PutLexiconCommand.d.ts +6 -21
- package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +6 -21
- package/dist-types/commands/SynthesizeSpeechCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +13 -20
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -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
|
ListSpeechSynthesisTasksInput,
|
|
11
5
|
ListSpeechSynthesisTasksOutput,
|
|
@@ -21,22 +15,16 @@ export interface ListSpeechSynthesisTasksCommandInput
|
|
|
21
15
|
export interface ListSpeechSynthesisTasksCommandOutput
|
|
22
16
|
extends ListSpeechSynthesisTasksOutput,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
> {
|
|
29
|
-
readonly input: ListSpeechSynthesisTasksCommandInput;
|
|
30
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
-
constructor(input: ListSpeechSynthesisTasksCommandInput);
|
|
32
|
-
resolveMiddleware(
|
|
33
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
-
configuration: PollyClientResolvedConfig,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
36
|
-
): Handler<
|
|
18
|
+
declare const ListSpeechSynthesisTasksCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListSpeechSynthesisTasksCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
37
22
|
ListSpeechSynthesisTasksCommandInput,
|
|
38
|
-
ListSpeechSynthesisTasksCommandOutput
|
|
23
|
+
ListSpeechSynthesisTasksCommandOutput,
|
|
24
|
+
PollyClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
39
27
|
>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class ListSpeechSynthesisTasksCommand extends ListSpeechSynthesisTasksCommand_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 { PutLexiconInput, PutLexiconOutput } from "../models/models_0";
|
|
10
4
|
import {
|
|
11
5
|
PollyClientResolvedConfig,
|
|
@@ -17,19 +11,16 @@ export interface PutLexiconCommandInput extends PutLexiconInput {}
|
|
|
17
11
|
export interface PutLexiconCommandOutput
|
|
18
12
|
extends PutLexiconOutput,
|
|
19
13
|
__MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
private serialize;
|
|
34
|
-
private deserialize;
|
|
35
|
-
}
|
|
14
|
+
declare const PutLexiconCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: PutLexiconCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
PutLexiconCommandInput,
|
|
19
|
+
PutLexiconCommandOutput,
|
|
20
|
+
PollyClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
export declare class PutLexiconCommand extends PutLexiconCommand_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
|
StartSpeechSynthesisTaskInput,
|
|
11
5
|
StartSpeechSynthesisTaskOutput,
|
|
@@ -21,22 +15,16 @@ export interface StartSpeechSynthesisTaskCommandInput
|
|
|
21
15
|
export interface StartSpeechSynthesisTaskCommandOutput
|
|
22
16
|
extends StartSpeechSynthesisTaskOutput,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
> {
|
|
29
|
-
readonly input: StartSpeechSynthesisTaskCommandInput;
|
|
30
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
-
constructor(input: StartSpeechSynthesisTaskCommandInput);
|
|
32
|
-
resolveMiddleware(
|
|
33
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
-
configuration: PollyClientResolvedConfig,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
36
|
-
): Handler<
|
|
18
|
+
declare const StartSpeechSynthesisTaskCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: StartSpeechSynthesisTaskCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
37
22
|
StartSpeechSynthesisTaskCommandInput,
|
|
38
|
-
StartSpeechSynthesisTaskCommandOutput
|
|
23
|
+
StartSpeechSynthesisTaskCommandOutput,
|
|
24
|
+
PollyClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
39
27
|
>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class StartSpeechSynthesisTaskCommand extends StartSpeechSynthesisTaskCommand_base {}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
3
|
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
4
|
StreamingBlobPayloadOutputTypes,
|
|
9
5
|
} from "@smithy/types";
|
|
10
6
|
import {
|
|
@@ -26,19 +22,16 @@ export interface SynthesizeSpeechCommandOutput
|
|
|
26
22
|
__MetadataBearer {
|
|
27
23
|
AudioStream?: StreamingBlobPayloadOutputTypes;
|
|
28
24
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
private serialize;
|
|
43
|
-
private deserialize;
|
|
44
|
-
}
|
|
25
|
+
declare const SynthesizeSpeechCommand_base: {
|
|
26
|
+
new (
|
|
27
|
+
input: SynthesizeSpeechCommandInput
|
|
28
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
29
|
+
SynthesizeSpeechCommandInput,
|
|
30
|
+
SynthesizeSpeechCommandOutput,
|
|
31
|
+
PollyClientResolvedConfig,
|
|
32
|
+
ServiceInputTypes,
|
|
33
|
+
ServiceOutputTypes
|
|
34
|
+
>;
|
|
35
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
36
|
+
};
|
|
37
|
+
export declare class SynthesizeSpeechCommand extends SynthesizeSpeechCommand_base {}
|
|
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
25
25
|
ClientInputEndpointParameters & {
|
|
26
26
|
defaultSigningName: string;
|
|
27
27
|
};
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
28
46
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
47
|
Region?: string;
|
|
30
48
|
UseDualStack?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-polly",
|
|
3
3
|
"description": "AWS SDK for JavaScript Polly Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.481.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.481.0",
|
|
24
|
+
"@aws-sdk/core": "3.481.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.481.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
@@ -34,26 +34,26 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
-
"@smithy/core": "^1.2.
|
|
37
|
+
"@smithy/core": "^1.2.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
39
39
|
"@smithy/hash-node": "^2.0.17",
|
|
40
40
|
"@smithy/invalid-dependency": "^2.0.15",
|
|
41
41
|
"@smithy/middleware-content-length": "^2.0.17",
|
|
42
42
|
"@smithy/middleware-endpoint": "^2.2.3",
|
|
43
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
+
"@smithy/middleware-retry": "^2.0.25",
|
|
44
44
|
"@smithy/middleware-serde": "^2.0.15",
|
|
45
45
|
"@smithy/middleware-stack": "^2.0.9",
|
|
46
46
|
"@smithy/node-config-provider": "^2.1.8",
|
|
47
47
|
"@smithy/node-http-handler": "^2.2.1",
|
|
48
48
|
"@smithy/protocol-http": "^3.0.11",
|
|
49
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
+
"@smithy/smithy-client": "^2.2.0",
|
|
50
50
|
"@smithy/types": "^2.7.0",
|
|
51
51
|
"@smithy/url-parser": "^2.0.15",
|
|
52
52
|
"@smithy/util-base64": "^2.0.1",
|
|
53
53
|
"@smithy/util-body-length-browser": "^2.0.1",
|
|
54
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.0.23",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.0.30",
|
|
57
57
|
"@smithy/util-endpoints": "^1.0.7",
|
|
58
58
|
"@smithy/util-retry": "^2.0.8",
|
|
59
59
|
"@smithy/util-stream": "^2.0.23",
|