@aws-sdk/client-polly 3.1076.0 → 3.1078.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 (50) hide show
  1. package/dist-cjs/index.js +24 -113
  2. package/dist-es/commandBuilder.js +10 -0
  3. package/dist-es/commands/DeleteLexiconCommand.js +2 -14
  4. package/dist-es/commands/DescribeVoicesCommand.js +2 -14
  5. package/dist-es/commands/GetLexiconCommand.js +2 -14
  6. package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +2 -14
  7. package/dist-es/commands/ListLexiconsCommand.js +2 -14
  8. package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +2 -14
  9. package/dist-es/commands/PutLexiconCommand.js +2 -14
  10. package/dist-es/commands/StartSpeechSynthesisStreamCommand.js +2 -23
  11. package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +2 -14
  12. package/dist-es/commands/SynthesizeSpeechCommand.js +2 -14
  13. package/dist-es/index.js +1 -0
  14. package/dist-es/runtimeConfig.browser.js +0 -2
  15. package/dist-es/runtimeConfig.js +1 -2
  16. package/dist-es/runtimeConfig.native.js +0 -2
  17. package/dist-es/runtimeConfig.shared.js +2 -0
  18. package/dist-types/commandBuilder.d.ts +22 -0
  19. package/dist-types/commands/DeleteLexiconCommand.d.ts +3 -8
  20. package/dist-types/commands/DescribeVoicesCommand.d.ts +3 -8
  21. package/dist-types/commands/GetLexiconCommand.d.ts +3 -8
  22. package/dist-types/commands/GetSpeechSynthesisTaskCommand.d.ts +3 -8
  23. package/dist-types/commands/ListLexiconsCommand.d.ts +3 -8
  24. package/dist-types/commands/ListSpeechSynthesisTasksCommand.d.ts +3 -8
  25. package/dist-types/commands/PutLexiconCommand.d.ts +3 -8
  26. package/dist-types/commands/StartSpeechSynthesisStreamCommand.d.ts +3 -8
  27. package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +3 -8
  28. package/dist-types/commands/SynthesizeSpeechCommand.d.ts +3 -8
  29. package/dist-types/index.d.ts +1 -0
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  31. package/dist-types/runtimeConfig.d.ts +1 -1
  32. package/dist-types/runtimeConfig.native.d.ts +1 -1
  33. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  34. package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
  35. package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/StartSpeechSynthesisStreamCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/index.d.ts +1 -0
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  50. package/package.json +11 -13
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  StartSpeechSynthesisStreamInput,
5
4
  StartSpeechSynthesisStreamOutput,
6
5
  } from "../models/models_0";
7
- import {
8
- PollyClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../PollyClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartSpeechSynthesisStreamCommandInput
15
8
  extends StartSpeechSynthesisStreamInput {}
16
9
  export interface StartSpeechSynthesisStreamCommandOutput
@@ -22,22 +15,20 @@ declare const StartSpeechSynthesisStreamCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartSpeechSynthesisStreamCommandInput,
24
17
  StartSpeechSynthesisStreamCommandOutput,
25
- PollyClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").PollyClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartSpeechSynthesisStreamCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartSpeechSynthesisStreamCommandInput,
33
26
  StartSpeechSynthesisStreamCommandOutput,
34
- PollyClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").PollyClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartSpeechSynthesisStreamCommand extends StartSpeechSynthesisStreamCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  StartSpeechSynthesisTaskInput,
5
4
  StartSpeechSynthesisTaskOutput,
6
5
  } from "../models/models_0";
7
- import {
8
- PollyClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../PollyClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartSpeechSynthesisTaskCommandInput
15
8
  extends StartSpeechSynthesisTaskInput {}
16
9
  export interface StartSpeechSynthesisTaskCommandOutput
@@ -22,22 +15,20 @@ declare const StartSpeechSynthesisTaskCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartSpeechSynthesisTaskCommandInput,
24
17
  StartSpeechSynthesisTaskCommandOutput,
25
- PollyClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").PollyClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartSpeechSynthesisTaskCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartSpeechSynthesisTaskCommandInput,
33
26
  StartSpeechSynthesisTaskCommandOutput,
34
- PollyClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").PollyClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartSpeechSynthesisTaskCommand extends StartSpeechSynthesisTaskCommand_base {
43
34
  protected static __types: {
@@ -1,4 +1,3 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import {
3
2
  MetadataBearer as __MetadataBearer,
4
3
  StreamingBlobPayloadOutputTypes,
@@ -7,13 +6,7 @@ import {
7
6
  SynthesizeSpeechInput,
8
7
  SynthesizeSpeechOutput,
9
8
  } from "../models/models_0";
10
- import {
11
- PollyClientResolvedConfig,
12
- ServiceInputTypes,
13
- ServiceOutputTypes,
14
- } from "../PollyClient";
15
9
  export { __MetadataBearer };
16
- export { $Command };
17
10
  export interface SynthesizeSpeechCommandInput extends SynthesizeSpeechInput {}
18
11
  export interface SynthesizeSpeechCommandOutput
19
12
  extends Pick<
@@ -29,22 +22,20 @@ declare const SynthesizeSpeechCommand_base: {
29
22
  ): import("@smithy/core/client").CommandImpl<
30
23
  SynthesizeSpeechCommandInput,
31
24
  SynthesizeSpeechCommandOutput,
32
- PollyClientResolvedConfig,
33
- ServiceInputTypes,
34
- ServiceOutputTypes
25
+ import("..").PollyClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
35
28
  >;
36
29
  new (
37
30
  input: SynthesizeSpeechCommandInput
38
31
  ): import("@smithy/core/client").CommandImpl<
39
32
  SynthesizeSpeechCommandInput,
40
33
  SynthesizeSpeechCommandOutput,
41
- PollyClientResolvedConfig,
42
- ServiceInputTypes,
43
- ServiceOutputTypes
34
+ import("..").PollyClientResolvedConfig,
35
+ import("..").ServiceInputTypes,
36
+ import("..").ServiceOutputTypes
44
37
  >;
45
- getEndpointParameterInstructions(): {
46
- [x: string]: unknown;
47
- };
38
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
48
39
  };
49
40
  export declare class SynthesizeSpeechCommand extends SynthesizeSpeechCommand_base {
50
41
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { PollyExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./pagination";
9
10
  export * from "./models/enums";
@@ -22,7 +22,6 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
22
22
  | import("@smithy/core/protocols").HttpHandler<any>
23
23
  | RequestHandler;
24
24
  retryMode: string | import("@smithy/types").Provider<string>;
25
- sha256: import("@smithy/types").HashConstructor;
26
25
  streamCollector: (
27
26
  stream:
28
27
  | import("stream").Readable
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
44
43
  [setting: string]: unknown;
45
44
  };
46
45
  apiVersion: string;
46
+ sha256: import("@smithy/types").HashConstructor;
47
47
  urlParser: import("@smithy/types").UrlParser;
48
48
  base64Decoder: import("@smithy/types").Decoder;
49
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -23,7 +23,6 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
23
23
  | RequestHandler
24
24
  | import("@smithy/core/protocols").HttpHandler<any>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
- sha256: import("@smithy/types").HashConstructor;
27
26
  streamCollector: (
28
27
  stream:
29
28
  | import("stream").Readable
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
44
43
  [setting: string]: unknown;
45
44
  };
46
45
  apiVersion: string;
46
+ sha256: import("@smithy/types").HashConstructor;
47
47
  urlParser: import("@smithy/types").UrlParser;
48
48
  base64Decoder: import("@smithy/types").Decoder;
49
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -2,7 +2,6 @@ import { PollyClientConfig } from "./PollyClient";
2
2
  export declare const getRuntimeConfig: (config: PollyClientConfig) => {
3
3
  runtime: string;
4
4
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
5
- sha256: import("@smithy/types").HashConstructor;
6
5
  requestHandler:
7
6
  | import("@smithy/types").NodeHttpHandlerOptions
8
7
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -19,6 +18,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
19
18
  [setting: string]: unknown;
20
19
  };
21
20
  apiVersion: string;
21
+ sha256: import("@smithy/types").HashConstructor;
22
22
  urlParser: import("@smithy/types").UrlParser;
23
23
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
24
24
  streamCollector: (
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
25
25
  };
26
26
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
27
27
  serviceId: string;
28
+ sha256: import("@smithy/types").HashConstructor;
28
29
  urlParser: import("@smithy/types").UrlParser;
29
30
  utf8Decoder: import("@smithy/types").Decoder;
30
31
  utf8Encoder: (input: Uint8Array | string) => string;
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.1076.0",
4
+ "version": "3.1078.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -23,21 +23,19 @@
23
23
  "module": "./dist-es/index.js",
24
24
  "sideEffects": false,
25
25
  "dependencies": {
26
- "@aws-crypto/sha256-browser": "5.2.0",
27
- "@aws-crypto/sha256-js": "5.2.0",
28
- "@aws-sdk/core": "^3.974.24",
29
- "@aws-sdk/credential-provider-node": "^3.972.59",
30
- "@aws-sdk/eventstream-handler-node": "^3.972.23",
31
- "@aws-sdk/middleware-eventstream": "^3.972.19",
32
- "@aws-sdk/types": "^3.973.14",
33
- "@smithy/core": "^3.27.0",
34
- "@smithy/fetch-http-handler": "^5.6.0",
35
- "@smithy/node-http-handler": "^4.9.0",
36
- "@smithy/types": "^4.15.0",
26
+ "@aws-sdk/core": "^3.974.26",
27
+ "@aws-sdk/credential-provider-node": "^3.972.61",
28
+ "@aws-sdk/eventstream-handler-node": "^3.972.25",
29
+ "@aws-sdk/middleware-eventstream": "^3.972.21",
30
+ "@aws-sdk/types": "^3.973.15",
31
+ "@smithy/core": "^3.29.0",
32
+ "@smithy/fetch-http-handler": "^5.6.2",
33
+ "@smithy/node-http-handler": "^4.9.2",
34
+ "@smithy/types": "^4.15.1",
37
35
  "tslib": "^2.6.2"
38
36
  },
39
37
  "devDependencies": {
40
- "@smithy/snapshot-testing": "^2.2.3",
38
+ "@smithy/snapshot-testing": "^2.2.5",
41
39
  "@tsconfig/node20": "20.1.8",
42
40
  "@types/node": "^20.14.8",
43
41
  "concurrently": "7.0.0",