@aws-sdk/client-polly 3.1018.0 → 3.1020.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/auth/httpAuthSchemeProvider.js +2 -2
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeConfig.shared.js +2 -2
- package/dist-es/Polly.js +2 -2
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/runtimeConfig.shared.js +1 -1
- package/dist-types/Polly.d.ts +10 -10
- package/dist-types/PollyClient.d.ts +13 -13
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/SynthesizeSpeechCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/errors.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +3 -3
- package/dist-types/pagination/ListSpeechSynthesisTasksPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/PollyClient.d.ts +2 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +14 -14
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultPollyHttpAuthSchemeProvider = exports.defaultPollyHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const util_middleware_1 = require("@smithy/util-middleware");
|
|
6
6
|
const defaultPollyHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
@@ -38,7 +38,7 @@ const defaultPollyHttpAuthSchemeProvider = (authParameters) => {
|
|
|
38
38
|
};
|
|
39
39
|
exports.defaultPollyHttpAuthSchemeProvider = defaultPollyHttpAuthSchemeProvider;
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
|
-
const config_0 = (0,
|
|
41
|
+
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
43
|
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
-
const
|
|
6
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
7
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
8
9
|
const eventstream_handler_node_1 = require("@aws-sdk/eventstream-handler-node");
|
|
9
10
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
@@ -23,7 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
23
24
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
24
25
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
25
26
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
26
|
-
(0,
|
|
27
|
+
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
27
28
|
const loaderConfig = {
|
|
28
29
|
profile: config?.profile,
|
|
29
30
|
logger: clientSharedValues.logger,
|
|
@@ -33,7 +34,7 @@ const getRuntimeConfig = (config) => {
|
|
|
33
34
|
...config,
|
|
34
35
|
runtime: "node",
|
|
35
36
|
defaultsMode,
|
|
36
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(
|
|
37
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
37
38
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
38
39
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
39
40
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -24,7 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
{
|
|
25
25
|
schemeId: "aws.auth#sigv4",
|
|
26
26
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
27
|
-
signer: new
|
|
27
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
28
28
|
},
|
|
29
29
|
],
|
|
30
30
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
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,4 +1,4 @@
|
|
|
1
|
-
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
3
3
|
export const defaultPollyHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
3
|
+
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
3
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
5
|
import { eventStreamPayloadHandlerProvider } from "@aws-sdk/eventstream-handler-node";
|
|
5
6
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
4
|
import { parseUrl } from "@smithy/url-parser";
|
package/dist-types/Polly.d.ts
CHANGED
|
@@ -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 {
|
|
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?:
|
|
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
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
2
|
import type { PollyHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
3
|
import { type PollyClientResolvedConfig } from "../PollyClient";
|
|
4
4
|
/**
|
|
@@ -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 {
|
|
3
|
+
import type { SynthesizeSpeechInput, SynthesizeSpeechOutput } from "../models/models_0";
|
|
4
4
|
import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
package/dist-types/index.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
21
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
22
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
24
24
|
protocolSettings: {
|
|
25
25
|
defaultNamespace?: string;
|
|
26
26
|
[setting: string]: unknown;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
22
22
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
24
24
|
cacheMiddleware?: boolean | undefined;
|
|
25
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
25
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
26
26
|
protocolSettings: {
|
|
27
27
|
defaultNamespace?: string;
|
|
28
28
|
[setting: string]: unknown;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
8
8
|
sha256: import("@smithy/types").HashConstructor;
|
|
9
9
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
10
10
|
cacheMiddleware?: boolean;
|
|
11
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
12
12
|
protocolSettings: {
|
|
13
13
|
defaultNamespace?: string;
|
|
14
14
|
[setting: string]: unknown;
|
|
@@ -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?:
|
|
145
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
147
146
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
148
147
|
maxAttempts?: number | __Provider<number>;
|
|
149
148
|
retryMode?: string | __Provider<string>;
|
|
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
32
32
|
protocol:
|
|
33
33
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
34
34
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
35
|
-
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
35
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
36
36
|
protocolSettings: {
|
|
37
37
|
defaultNamespace?: string;
|
|
38
38
|
[setting: string]: unknown;
|
|
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
32
32
|
protocol:
|
|
33
33
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
34
34
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
35
|
-
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
35
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
36
36
|
protocolSettings: {
|
|
37
37
|
defaultNamespace?: string;
|
|
38
38
|
[setting: string]: unknown;
|
|
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
13
13
|
protocol:
|
|
14
14
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
15
15
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
16
|
-
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
16
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
17
17
|
protocolSettings: {
|
|
18
18
|
defaultNamespace?: string;
|
|
19
19
|
[setting: string]: unknown;
|
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.1020.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
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.26",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.28",
|
|
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.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.27",
|
|
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.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.973.13",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.13",
|
|
38
|
-
"@smithy/core": "^3.23.
|
|
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.
|
|
47
|
-
"@smithy/middleware-retry": "^4.4.
|
|
48
|
-
"@smithy/middleware-serde": "^4.2.
|
|
46
|
+
"@smithy/middleware-endpoint": "^4.4.28",
|
|
47
|
+
"@smithy/middleware-retry": "^4.4.45",
|
|
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.
|
|
51
|
+
"@smithy/node-http-handler": "^4.5.1",
|
|
52
52
|
"@smithy/protocol-http": "^5.3.12",
|
|
53
|
-
"@smithy/smithy-client": "^4.12.
|
|
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.
|
|
60
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
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
63
|
"@smithy/util-retry": "^4.2.12",
|
|
64
|
-
"@smithy/util-stream": "^4.5.
|
|
64
|
+
"@smithy/util-stream": "^4.5.21",
|
|
65
65
|
"@smithy/util-utf8": "^4.2.2",
|
|
66
66
|
"tslib": "^2.6.2"
|
|
67
67
|
},
|