@aws-sdk/client-polly 3.645.0 → 3.650.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/endpoint/endpointResolver.js +6 -2
- package/dist-cjs/index.js +9 -27
- package/dist-es/commands/DeleteLexiconCommand.js +1 -3
- package/dist-es/commands/DescribeVoicesCommand.js +1 -3
- package/dist-es/commands/GetLexiconCommand.js +1 -3
- package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +1 -3
- package/dist-es/commands/ListLexiconsCommand.js +1 -3
- package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +1 -3
- package/dist-es/commands/PutLexiconCommand.js +1 -3
- package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +1 -3
- package/dist-es/commands/SynthesizeSpeechCommand.js +1 -3
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +36 -36
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
|
+
});
|
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
9
13
|
endpointParams: endpointParams,
|
|
10
14
|
logger: context.logger,
|
|
11
|
-
});
|
|
15
|
+
}));
|
|
12
16
|
};
|
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1458,9 +1458,7 @@ var _ct = "content-type";
|
|
|
1458
1458
|
var _xar = "x-amzn-requestcharacters";
|
|
1459
1459
|
|
|
1460
1460
|
// src/commands/DeleteLexiconCommand.ts
|
|
1461
|
-
var _DeleteLexiconCommand = class _DeleteLexiconCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1462
|
-
...commonParams
|
|
1463
|
-
}).m(function(Command, cs, config, o) {
|
|
1461
|
+
var _DeleteLexiconCommand = class _DeleteLexiconCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1464
1462
|
return [
|
|
1465
1463
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1466
1464
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1474,9 +1472,7 @@ var DeleteLexiconCommand = _DeleteLexiconCommand;
|
|
|
1474
1472
|
|
|
1475
1473
|
|
|
1476
1474
|
|
|
1477
|
-
var _DescribeVoicesCommand = class _DescribeVoicesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1478
|
-
...commonParams
|
|
1479
|
-
}).m(function(Command, cs, config, o) {
|
|
1475
|
+
var _DescribeVoicesCommand = class _DescribeVoicesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1480
1476
|
return [
|
|
1481
1477
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1482
1478
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1490,9 +1486,7 @@ var DescribeVoicesCommand = _DescribeVoicesCommand;
|
|
|
1490
1486
|
|
|
1491
1487
|
|
|
1492
1488
|
|
|
1493
|
-
var _GetLexiconCommand = class _GetLexiconCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1494
|
-
...commonParams
|
|
1495
|
-
}).m(function(Command, cs, config, o) {
|
|
1489
|
+
var _GetLexiconCommand = class _GetLexiconCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1496
1490
|
return [
|
|
1497
1491
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1498
1492
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1506,9 +1500,7 @@ var GetLexiconCommand = _GetLexiconCommand;
|
|
|
1506
1500
|
|
|
1507
1501
|
|
|
1508
1502
|
|
|
1509
|
-
var _GetSpeechSynthesisTaskCommand = class _GetSpeechSynthesisTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1510
|
-
...commonParams
|
|
1511
|
-
}).m(function(Command, cs, config, o) {
|
|
1503
|
+
var _GetSpeechSynthesisTaskCommand = class _GetSpeechSynthesisTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1512
1504
|
return [
|
|
1513
1505
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1514
1506
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1522,9 +1514,7 @@ var GetSpeechSynthesisTaskCommand = _GetSpeechSynthesisTaskCommand;
|
|
|
1522
1514
|
|
|
1523
1515
|
|
|
1524
1516
|
|
|
1525
|
-
var _ListLexiconsCommand = class _ListLexiconsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1526
|
-
...commonParams
|
|
1527
|
-
}).m(function(Command, cs, config, o) {
|
|
1517
|
+
var _ListLexiconsCommand = class _ListLexiconsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1528
1518
|
return [
|
|
1529
1519
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1530
1520
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1538,9 +1528,7 @@ var ListLexiconsCommand = _ListLexiconsCommand;
|
|
|
1538
1528
|
|
|
1539
1529
|
|
|
1540
1530
|
|
|
1541
|
-
var _ListSpeechSynthesisTasksCommand = class _ListSpeechSynthesisTasksCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1542
|
-
...commonParams
|
|
1543
|
-
}).m(function(Command, cs, config, o) {
|
|
1531
|
+
var _ListSpeechSynthesisTasksCommand = class _ListSpeechSynthesisTasksCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1544
1532
|
return [
|
|
1545
1533
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1546
1534
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1554,9 +1542,7 @@ var ListSpeechSynthesisTasksCommand = _ListSpeechSynthesisTasksCommand;
|
|
|
1554
1542
|
|
|
1555
1543
|
|
|
1556
1544
|
|
|
1557
|
-
var _PutLexiconCommand = class _PutLexiconCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1558
|
-
...commonParams
|
|
1559
|
-
}).m(function(Command, cs, config, o) {
|
|
1545
|
+
var _PutLexiconCommand = class _PutLexiconCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1560
1546
|
return [
|
|
1561
1547
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1562
1548
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1570,9 +1556,7 @@ var PutLexiconCommand = _PutLexiconCommand;
|
|
|
1570
1556
|
|
|
1571
1557
|
|
|
1572
1558
|
|
|
1573
|
-
var _StartSpeechSynthesisTaskCommand = class _StartSpeechSynthesisTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1574
|
-
...commonParams
|
|
1575
|
-
}).m(function(Command, cs, config, o) {
|
|
1559
|
+
var _StartSpeechSynthesisTaskCommand = class _StartSpeechSynthesisTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1576
1560
|
return [
|
|
1577
1561
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1578
1562
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1586,9 +1570,7 @@ var StartSpeechSynthesisTaskCommand = _StartSpeechSynthesisTaskCommand;
|
|
|
1586
1570
|
|
|
1587
1571
|
|
|
1588
1572
|
|
|
1589
|
-
var _SynthesizeSpeechCommand = class _SynthesizeSpeechCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1590
|
-
...commonParams
|
|
1591
|
-
}).m(function(Command, cs, config, o) {
|
|
1573
|
+
var _SynthesizeSpeechCommand = class _SynthesizeSpeechCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1592
1574
|
return [
|
|
1593
1575
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1594
1576
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -6,9 +6,7 @@ import { de_DeleteLexiconCommand, se_DeleteLexiconCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteLexiconCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_DescribeVoicesCommand, se_DescribeVoicesCommand } from "../protocols
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DescribeVoicesCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_GetLexiconCommand, se_GetLexiconCommand } from "../protocols/Aws_res
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class GetLexiconCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_GetSpeechSynthesisTaskCommand, se_GetSpeechSynthesisTaskCommand } fr
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetSpeechSynthesisTaskCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListLexiconsCommand, se_ListLexiconsCommand } from "../protocols/Aws
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListLexiconsCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListSpeechSynthesisTasksCommand, se_ListSpeechSynthesisTasksCommand
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListSpeechSynthesisTasksCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_PutLexiconCommand, se_PutLexiconCommand } from "../protocols/Aws_res
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class PutLexiconCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartSpeechSynthesisTaskCommand, se_StartSpeechSynthesisTaskCommand
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartSpeechSynthesisTaskCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_SynthesizeSpeechCommand, se_SynthesizeSpeechCommand } from "../proto
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class SynthesizeSpeechCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
-
return resolveEndpoint(ruleSet, {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
6
10
|
endpointParams: endpointParams,
|
|
7
11
|
logger: context.logger,
|
|
8
|
-
});
|
|
12
|
+
}));
|
|
9
13
|
};
|
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -35,6 +36,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
35
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
36
37
|
}) => import("@smithy/types").EndpointV2;
|
|
37
38
|
tls?: boolean | undefined;
|
|
39
|
+
serviceConfiguredEndpoint?: undefined;
|
|
38
40
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
41
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PollyHttpAuthSchemeProvider;
|
|
40
42
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -35,6 +36,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
35
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
36
37
|
}) => import("@smithy/types").EndpointV2;
|
|
37
38
|
tls?: boolean | undefined;
|
|
39
|
+
serviceConfiguredEndpoint?: undefined;
|
|
38
40
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
41
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PollyHttpAuthSchemeProvider;
|
|
40
42
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
|
10
11
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PollyHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
23
23
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
25
25
|
apiVersion: string;
|
|
26
|
+
cacheMiddleware?: boolean | undefined;
|
|
26
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
27
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
28
29
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -62,6 +63,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
62
63
|
}
|
|
63
64
|
) => import("@smithy/types").EndpointV2;
|
|
64
65
|
tls?: boolean | undefined;
|
|
66
|
+
serviceConfiguredEndpoint?: undefined;
|
|
65
67
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
66
68
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PollyHttpAuthSchemeProvider;
|
|
67
69
|
credentials?:
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
27
27
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
29
|
apiVersion: string;
|
|
30
|
+
cacheMiddleware?: boolean | undefined;
|
|
30
31
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
32
|
base64Decoder: import("@smithy/types").Decoder;
|
|
32
33
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -66,6 +67,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
66
67
|
}
|
|
67
68
|
) => import("@smithy/types").EndpointV2;
|
|
68
69
|
tls?: boolean | undefined;
|
|
70
|
+
serviceConfiguredEndpoint?: undefined;
|
|
69
71
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
70
72
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PollyHttpAuthSchemeProvider;
|
|
71
73
|
credentials?:
|
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
11
|
apiVersion: string;
|
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
|
12
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
13
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -56,6 +57,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
|
|
|
56
57
|
}
|
|
57
58
|
) => import("@smithy/types").EndpointV2;
|
|
58
59
|
tls?: boolean | undefined;
|
|
60
|
+
serviceConfiguredEndpoint?: undefined;
|
|
59
61
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
60
62
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PollyHttpAuthSchemeProvider;
|
|
61
63
|
credentials?:
|
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.650.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-polly",
|
|
@@ -20,44 +20,44 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.650.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.650.0",
|
|
25
|
+
"@aws-sdk/core": "3.649.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.650.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.649.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.649.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.649.0",
|
|
32
|
+
"@aws-sdk/types": "3.649.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.649.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.649.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.649.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.6",
|
|
37
|
+
"@smithy/core": "^2.4.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.5",
|
|
39
|
+
"@smithy/hash-node": "^3.0.4",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.4",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.6",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.1.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.16",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.4",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.4",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.5",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.0",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.1",
|
|
49
|
+
"@smithy/smithy-client": "^3.3.0",
|
|
50
|
+
"@smithy/types": "^3.4.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.4",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.0
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
60
|
-
"@smithy/util-stream": "^3.1.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.16",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.16",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.0",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.4",
|
|
59
|
+
"@smithy/util-retry": "^3.0.4",
|
|
60
|
+
"@smithy/util-stream": "^3.1.4",
|
|
61
61
|
"@smithy/util-utf8": "^3.0.0",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|