@aws-sdk/client-polly 3.1019.0 → 3.1021.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-es/Polly.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { DeleteLexiconCommand, } from "./commands/DeleteLexiconCommand";
3
3
  import { DescribeVoicesCommand, } from "./commands/DescribeVoicesCommand";
4
- import { GetLexiconCommand } from "./commands/GetLexiconCommand";
4
+ import { GetLexiconCommand, } from "./commands/GetLexiconCommand";
5
5
  import { GetSpeechSynthesisTaskCommand, } from "./commands/GetSpeechSynthesisTaskCommand";
6
6
  import { ListLexiconsCommand, } from "./commands/ListLexiconsCommand";
7
7
  import { ListSpeechSynthesisTasksCommand, } from "./commands/ListSpeechSynthesisTasksCommand";
8
- import { PutLexiconCommand } from "./commands/PutLexiconCommand";
8
+ import { PutLexiconCommand, } from "./commands/PutLexiconCommand";
9
9
  import { StartSpeechSynthesisStreamCommand, } from "./commands/StartSpeechSynthesisStreamCommand";
10
10
  import { StartSpeechSynthesisTaskCommand, } from "./commands/StartSpeechSynthesisTaskCommand";
11
11
  import { SynthesizeSpeechCommand, } from "./commands/SynthesizeSpeechCommand";
@@ -1,14 +1,14 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
- import { DeleteLexiconCommandInput, DeleteLexiconCommandOutput } from "./commands/DeleteLexiconCommand";
3
- import { DescribeVoicesCommandInput, DescribeVoicesCommandOutput } from "./commands/DescribeVoicesCommand";
4
- import { GetLexiconCommandInput, GetLexiconCommandOutput } from "./commands/GetLexiconCommand";
5
- import { GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput } from "./commands/GetSpeechSynthesisTaskCommand";
6
- import { ListLexiconsCommandInput, ListLexiconsCommandOutput } from "./commands/ListLexiconsCommand";
7
- import { ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput } from "./commands/ListSpeechSynthesisTasksCommand";
8
- import { PutLexiconCommandInput, PutLexiconCommandOutput } from "./commands/PutLexiconCommand";
9
- import { StartSpeechSynthesisStreamCommandInput, StartSpeechSynthesisStreamCommandOutput } from "./commands/StartSpeechSynthesisStreamCommand";
10
- import { StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput } from "./commands/StartSpeechSynthesisTaskCommand";
11
- import { SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput } from "./commands/SynthesizeSpeechCommand";
2
+ import { type DeleteLexiconCommandInput, type DeleteLexiconCommandOutput } from "./commands/DeleteLexiconCommand";
3
+ import { type DescribeVoicesCommandInput, type DescribeVoicesCommandOutput } from "./commands/DescribeVoicesCommand";
4
+ import { type GetLexiconCommandInput, type GetLexiconCommandOutput } from "./commands/GetLexiconCommand";
5
+ import { type GetSpeechSynthesisTaskCommandInput, type GetSpeechSynthesisTaskCommandOutput } from "./commands/GetSpeechSynthesisTaskCommand";
6
+ import { type ListLexiconsCommandInput, type ListLexiconsCommandOutput } from "./commands/ListLexiconsCommand";
7
+ import { type ListSpeechSynthesisTasksCommandInput, type ListSpeechSynthesisTasksCommandOutput } from "./commands/ListSpeechSynthesisTasksCommand";
8
+ import { type PutLexiconCommandInput, type PutLexiconCommandOutput } from "./commands/PutLexiconCommand";
9
+ import { type StartSpeechSynthesisStreamCommandInput, type StartSpeechSynthesisStreamCommandOutput } from "./commands/StartSpeechSynthesisStreamCommand";
10
+ import { type StartSpeechSynthesisTaskCommandInput, type StartSpeechSynthesisTaskCommandOutput } from "./commands/StartSpeechSynthesisTaskCommand";
11
+ import { type SynthesizeSpeechCommandInput, type SynthesizeSpeechCommandOutput } from "./commands/SynthesizeSpeechCommand";
12
12
  import { PollyClient } from "./PollyClient";
13
13
  export interface Polly {
14
14
  /**
@@ -8,19 +8,19 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
8
8
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
9
9
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
10
10
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
11
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type EventStreamSerdeProvider as __EventStreamSerdeProvider, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type SdkStreamMixinInjector as __SdkStreamMixinInjector, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
11
+ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
12
12
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
13
- import { DeleteLexiconCommandInput, DeleteLexiconCommandOutput } from "./commands/DeleteLexiconCommand";
14
- import { DescribeVoicesCommandInput, DescribeVoicesCommandOutput } from "./commands/DescribeVoicesCommand";
15
- import { GetLexiconCommandInput, GetLexiconCommandOutput } from "./commands/GetLexiconCommand";
16
- import { GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput } from "./commands/GetSpeechSynthesisTaskCommand";
17
- import { ListLexiconsCommandInput, ListLexiconsCommandOutput } from "./commands/ListLexiconsCommand";
18
- import { ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput } from "./commands/ListSpeechSynthesisTasksCommand";
19
- import { PutLexiconCommandInput, PutLexiconCommandOutput } from "./commands/PutLexiconCommand";
20
- import { StartSpeechSynthesisStreamCommandInput, StartSpeechSynthesisStreamCommandOutput } from "./commands/StartSpeechSynthesisStreamCommand";
21
- import { StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput } from "./commands/StartSpeechSynthesisTaskCommand";
22
- import { SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput } from "./commands/SynthesizeSpeechCommand";
23
- import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
13
+ import type { DeleteLexiconCommandInput, DeleteLexiconCommandOutput } from "./commands/DeleteLexiconCommand";
14
+ import type { DescribeVoicesCommandInput, DescribeVoicesCommandOutput } from "./commands/DescribeVoicesCommand";
15
+ import type { GetLexiconCommandInput, GetLexiconCommandOutput } from "./commands/GetLexiconCommand";
16
+ import type { GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput } from "./commands/GetSpeechSynthesisTaskCommand";
17
+ import type { ListLexiconsCommandInput, ListLexiconsCommandOutput } from "./commands/ListLexiconsCommand";
18
+ import type { ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput } from "./commands/ListSpeechSynthesisTasksCommand";
19
+ import type { PutLexiconCommandInput, PutLexiconCommandOutput } from "./commands/PutLexiconCommand";
20
+ import type { StartSpeechSynthesisStreamCommandInput, StartSpeechSynthesisStreamCommandOutput } from "./commands/StartSpeechSynthesisStreamCommand";
21
+ import type { StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput } from "./commands/StartSpeechSynthesisTaskCommand";
22
+ import type { SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput } from "./commands/SynthesizeSpeechCommand";
23
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
24
24
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
25
25
  export { __Client };
26
26
  /**
@@ -129,7 +129,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
129
129
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
130
130
  * @internal
131
131
  */
132
- defaultUserAgentProvider?: Provider<__UserAgent>;
132
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
133
133
  /**
134
134
  * Default credentials provider; Not available in browser runtime.
135
135
  * @deprecated
@@ -1,4 +1,4 @@
1
- import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
2
  import type { PollyHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
- import { type SynthesizeSpeechInput, SynthesizeSpeechOutput } from "../models/models_0";
3
+ import type { SynthesizeSpeechInput, SynthesizeSpeechOutput } from "../models/models_0";
4
4
  import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
5
  /**
6
6
  * @public
@@ -10,7 +10,7 @@
10
10
  */
11
11
  export * from "./PollyClient";
12
12
  export * from "./Polly";
13
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
13
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
14
14
  export type { RuntimeExtension } from "./runtimeExtensions";
15
15
  export type { PollyExtensionConfiguration } from "./extensionConfiguration";
16
16
  export * from "./commands";
@@ -1,6 +1,6 @@
1
1
  import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { QuotaCode, ServiceCode, ValidationExceptionReason } from "./enums";
3
- import { ThrottlingReason, ValidationExceptionField } from "./models_0";
2
+ import type { QuotaCode, ServiceCode, ValidationExceptionReason } from "./enums";
3
+ import type { ThrottlingReason, ValidationExceptionField } from "./models_0";
4
4
  import { PollyServiceException as __BaseException } from "./PollyServiceException";
5
5
  /**
6
6
  * <p>Amazon Polly can't find the specified lexicon. This could be caused by a
@@ -1,6 +1,6 @@
1
- import { StreamingBlobTypes } from "@smithy/types";
2
- import { Engine, Gender, LanguageCode, OutputFormat, SpeechMarkType, TaskStatus, TextType, VoiceId } from "./enums";
3
- import { ServiceFailureException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
1
+ import type { StreamingBlobTypes } from "@smithy/types";
2
+ import type { Engine, Gender, LanguageCode, OutputFormat, SpeechMarkType, TaskStatus, TextType, VoiceId } from "./enums";
3
+ import type { ServiceFailureException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
4
4
  /**
5
5
  * <p>Contains a chunk of synthesized audio data.</p>
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput } from "../commands/ListSpeechSynthesisTasksCommand";
3
- import { PollyPaginationConfiguration } from "./Interfaces";
3
+ import type { PollyPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -35,6 +35,7 @@ import {
35
35
  Client as __Client,
36
36
  } from "@smithy/smithy-client";
37
37
  import {
38
+ AwsCredentialIdentityProvider,
38
39
  BodyLengthCalculator as __BodyLengthCalculator,
39
40
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
40
41
  ChecksumConstructor as __ChecksumConstructor,
@@ -48,8 +49,6 @@ import {
48
49
  SdkStreamMixinInjector as __SdkStreamMixinInjector,
49
50
  StreamCollector as __StreamCollector,
50
51
  UrlParser as __UrlParser,
51
- AwsCredentialIdentityProvider,
52
- Provider,
53
52
  UserAgent as __UserAgent,
54
53
  } from "@smithy/types";
55
54
  import {
@@ -143,7 +142,7 @@ export interface ClientDefaults
143
142
  useFipsEndpoint?: boolean | __Provider<boolean>;
144
143
  region?: string | __Provider<string>;
145
144
  profile?: string;
146
- defaultUserAgentProvider?: Provider<__UserAgent>;
145
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
147
146
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
148
147
  maxAttempts?: number | __Provider<number>;
149
148
  retryMode?: string | __Provider<string>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- HttpAuthScheme,
3
2
  AwsCredentialIdentity,
4
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { PollyHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
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.1019.0",
4
+ "version": "3.1021.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 client-polly",
@@ -21,21 +21,21 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.25",
25
- "@aws-sdk/credential-provider-node": "^3.972.27",
24
+ "@aws-sdk/core": "^3.973.26",
25
+ "@aws-sdk/credential-provider-node": "^3.972.29",
26
26
  "@aws-sdk/eventstream-handler-node": "^3.972.12",
27
27
  "@aws-sdk/middleware-eventstream": "^3.972.8",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.8",
29
29
  "@aws-sdk/middleware-logger": "^3.972.8",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
31
- "@aws-sdk/middleware-user-agent": "^3.972.26",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.28",
32
32
  "@aws-sdk/region-config-resolver": "^3.972.10",
33
33
  "@aws-sdk/types": "^3.973.6",
34
34
  "@aws-sdk/util-endpoints": "^3.996.5",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
36
- "@aws-sdk/util-user-agent-node": "^3.973.12",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.14",
37
37
  "@smithy/config-resolver": "^4.4.13",
38
- "@smithy/core": "^3.23.12",
38
+ "@smithy/core": "^3.23.13",
39
39
  "@smithy/eventstream-serde-browser": "^4.2.12",
40
40
  "@smithy/eventstream-serde-config-resolver": "^4.3.12",
41
41
  "@smithy/eventstream-serde-node": "^4.2.12",
@@ -43,25 +43,25 @@
43
43
  "@smithy/hash-node": "^4.2.12",
44
44
  "@smithy/invalid-dependency": "^4.2.12",
45
45
  "@smithy/middleware-content-length": "^4.2.12",
46
- "@smithy/middleware-endpoint": "^4.4.27",
47
- "@smithy/middleware-retry": "^4.4.44",
48
- "@smithy/middleware-serde": "^4.2.15",
46
+ "@smithy/middleware-endpoint": "^4.4.28",
47
+ "@smithy/middleware-retry": "^4.4.46",
48
+ "@smithy/middleware-serde": "^4.2.16",
49
49
  "@smithy/middleware-stack": "^4.2.12",
50
50
  "@smithy/node-config-provider": "^4.3.12",
51
- "@smithy/node-http-handler": "^4.5.0",
51
+ "@smithy/node-http-handler": "^4.5.1",
52
52
  "@smithy/protocol-http": "^5.3.12",
53
- "@smithy/smithy-client": "^4.12.7",
53
+ "@smithy/smithy-client": "^4.12.8",
54
54
  "@smithy/types": "^4.13.1",
55
55
  "@smithy/url-parser": "^4.2.12",
56
56
  "@smithy/util-base64": "^4.3.2",
57
57
  "@smithy/util-body-length-browser": "^4.2.2",
58
58
  "@smithy/util-body-length-node": "^4.2.3",
59
- "@smithy/util-defaults-mode-browser": "^4.3.43",
60
- "@smithy/util-defaults-mode-node": "^4.2.47",
59
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
60
+ "@smithy/util-defaults-mode-node": "^4.2.48",
61
61
  "@smithy/util-endpoints": "^3.3.3",
62
62
  "@smithy/util-middleware": "^4.2.12",
63
- "@smithy/util-retry": "^4.2.12",
64
- "@smithy/util-stream": "^4.5.20",
63
+ "@smithy/util-retry": "^4.2.13",
64
+ "@smithy/util-stream": "^4.5.21",
65
65
  "@smithy/util-utf8": "^4.2.2",
66
66
  "tslib": "^2.6.2"
67
67
  },