@aws-sdk/client-textract 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 +25 -75
- package/dist-es/commands/AnalyzeDocumentCommand.js +1 -3
- package/dist-es/commands/AnalyzeExpenseCommand.js +1 -3
- package/dist-es/commands/AnalyzeIDCommand.js +1 -3
- package/dist-es/commands/CreateAdapterCommand.js +1 -3
- package/dist-es/commands/CreateAdapterVersionCommand.js +1 -3
- package/dist-es/commands/DeleteAdapterCommand.js +1 -3
- package/dist-es/commands/DeleteAdapterVersionCommand.js +1 -3
- package/dist-es/commands/DetectDocumentTextCommand.js +1 -3
- package/dist-es/commands/GetAdapterCommand.js +1 -3
- package/dist-es/commands/GetAdapterVersionCommand.js +1 -3
- package/dist-es/commands/GetDocumentAnalysisCommand.js +1 -3
- package/dist-es/commands/GetDocumentTextDetectionCommand.js +1 -3
- package/dist-es/commands/GetExpenseAnalysisCommand.js +1 -3
- package/dist-es/commands/GetLendingAnalysisCommand.js +1 -3
- package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +1 -3
- package/dist-es/commands/ListAdapterVersionsCommand.js +1 -3
- package/dist-es/commands/ListAdaptersCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/StartDocumentAnalysisCommand.js +1 -3
- package/dist-es/commands/StartDocumentTextDetectionCommand.js +1 -3
- package/dist-es/commands/StartExpenseAnalysisCommand.js +1 -3
- package/dist-es/commands/StartLendingAnalysisCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateAdapterCommand.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 +35 -35
|
@@ -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
|
@@ -1918,9 +1918,7 @@ function sharedHeaders(operation) {
|
|
|
1918
1918
|
__name(sharedHeaders, "sharedHeaders");
|
|
1919
1919
|
|
|
1920
1920
|
// src/commands/AnalyzeDocumentCommand.ts
|
|
1921
|
-
var _AnalyzeDocumentCommand = class _AnalyzeDocumentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1922
|
-
...commonParams
|
|
1923
|
-
}).m(function(Command, cs, config, o) {
|
|
1921
|
+
var _AnalyzeDocumentCommand = class _AnalyzeDocumentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1924
1922
|
return [
|
|
1925
1923
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1926
1924
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1934,9 +1932,7 @@ var AnalyzeDocumentCommand = _AnalyzeDocumentCommand;
|
|
|
1934
1932
|
|
|
1935
1933
|
|
|
1936
1934
|
|
|
1937
|
-
var _AnalyzeExpenseCommand = class _AnalyzeExpenseCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1938
|
-
...commonParams
|
|
1939
|
-
}).m(function(Command, cs, config, o) {
|
|
1935
|
+
var _AnalyzeExpenseCommand = class _AnalyzeExpenseCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1940
1936
|
return [
|
|
1941
1937
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1942
1938
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1950,9 +1946,7 @@ var AnalyzeExpenseCommand = _AnalyzeExpenseCommand;
|
|
|
1950
1946
|
|
|
1951
1947
|
|
|
1952
1948
|
|
|
1953
|
-
var _AnalyzeIDCommand = class _AnalyzeIDCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1954
|
-
...commonParams
|
|
1955
|
-
}).m(function(Command, cs, config, o) {
|
|
1949
|
+
var _AnalyzeIDCommand = class _AnalyzeIDCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1956
1950
|
return [
|
|
1957
1951
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1958
1952
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1966,9 +1960,7 @@ var AnalyzeIDCommand = _AnalyzeIDCommand;
|
|
|
1966
1960
|
|
|
1967
1961
|
|
|
1968
1962
|
|
|
1969
|
-
var _CreateAdapterCommand = class _CreateAdapterCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1970
|
-
...commonParams
|
|
1971
|
-
}).m(function(Command, cs, config, o) {
|
|
1963
|
+
var _CreateAdapterCommand = class _CreateAdapterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1972
1964
|
return [
|
|
1973
1965
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1974
1966
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1982,9 +1974,7 @@ var CreateAdapterCommand = _CreateAdapterCommand;
|
|
|
1982
1974
|
|
|
1983
1975
|
|
|
1984
1976
|
|
|
1985
|
-
var _CreateAdapterVersionCommand = class _CreateAdapterVersionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1986
|
-
...commonParams
|
|
1987
|
-
}).m(function(Command, cs, config, o) {
|
|
1977
|
+
var _CreateAdapterVersionCommand = class _CreateAdapterVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1988
1978
|
return [
|
|
1989
1979
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1990
1980
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1998,9 +1988,7 @@ var CreateAdapterVersionCommand = _CreateAdapterVersionCommand;
|
|
|
1998
1988
|
|
|
1999
1989
|
|
|
2000
1990
|
|
|
2001
|
-
var _DeleteAdapterCommand = class _DeleteAdapterCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2002
|
-
...commonParams
|
|
2003
|
-
}).m(function(Command, cs, config, o) {
|
|
1991
|
+
var _DeleteAdapterCommand = class _DeleteAdapterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2004
1992
|
return [
|
|
2005
1993
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2006
1994
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2014,9 +2002,7 @@ var DeleteAdapterCommand = _DeleteAdapterCommand;
|
|
|
2014
2002
|
|
|
2015
2003
|
|
|
2016
2004
|
|
|
2017
|
-
var _DeleteAdapterVersionCommand = class _DeleteAdapterVersionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2018
|
-
...commonParams
|
|
2019
|
-
}).m(function(Command, cs, config, o) {
|
|
2005
|
+
var _DeleteAdapterVersionCommand = class _DeleteAdapterVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2020
2006
|
return [
|
|
2021
2007
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2022
2008
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2030,9 +2016,7 @@ var DeleteAdapterVersionCommand = _DeleteAdapterVersionCommand;
|
|
|
2030
2016
|
|
|
2031
2017
|
|
|
2032
2018
|
|
|
2033
|
-
var _DetectDocumentTextCommand = class _DetectDocumentTextCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2034
|
-
...commonParams
|
|
2035
|
-
}).m(function(Command, cs, config, o) {
|
|
2019
|
+
var _DetectDocumentTextCommand = class _DetectDocumentTextCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2036
2020
|
return [
|
|
2037
2021
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2038
2022
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2046,9 +2030,7 @@ var DetectDocumentTextCommand = _DetectDocumentTextCommand;
|
|
|
2046
2030
|
|
|
2047
2031
|
|
|
2048
2032
|
|
|
2049
|
-
var _GetAdapterCommand = class _GetAdapterCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2050
|
-
...commonParams
|
|
2051
|
-
}).m(function(Command, cs, config, o) {
|
|
2033
|
+
var _GetAdapterCommand = class _GetAdapterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2052
2034
|
return [
|
|
2053
2035
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2054
2036
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2062,9 +2044,7 @@ var GetAdapterCommand = _GetAdapterCommand;
|
|
|
2062
2044
|
|
|
2063
2045
|
|
|
2064
2046
|
|
|
2065
|
-
var _GetAdapterVersionCommand = class _GetAdapterVersionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2066
|
-
...commonParams
|
|
2067
|
-
}).m(function(Command, cs, config, o) {
|
|
2047
|
+
var _GetAdapterVersionCommand = class _GetAdapterVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2068
2048
|
return [
|
|
2069
2049
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2070
2050
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2078,9 +2058,7 @@ var GetAdapterVersionCommand = _GetAdapterVersionCommand;
|
|
|
2078
2058
|
|
|
2079
2059
|
|
|
2080
2060
|
|
|
2081
|
-
var _GetDocumentAnalysisCommand = class _GetDocumentAnalysisCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2082
|
-
...commonParams
|
|
2083
|
-
}).m(function(Command, cs, config, o) {
|
|
2061
|
+
var _GetDocumentAnalysisCommand = class _GetDocumentAnalysisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2084
2062
|
return [
|
|
2085
2063
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2086
2064
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2094,9 +2072,7 @@ var GetDocumentAnalysisCommand = _GetDocumentAnalysisCommand;
|
|
|
2094
2072
|
|
|
2095
2073
|
|
|
2096
2074
|
|
|
2097
|
-
var _GetDocumentTextDetectionCommand = class _GetDocumentTextDetectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2098
|
-
...commonParams
|
|
2099
|
-
}).m(function(Command, cs, config, o) {
|
|
2075
|
+
var _GetDocumentTextDetectionCommand = class _GetDocumentTextDetectionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2100
2076
|
return [
|
|
2101
2077
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2102
2078
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2110,9 +2086,7 @@ var GetDocumentTextDetectionCommand = _GetDocumentTextDetectionCommand;
|
|
|
2110
2086
|
|
|
2111
2087
|
|
|
2112
2088
|
|
|
2113
|
-
var _GetExpenseAnalysisCommand = class _GetExpenseAnalysisCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2114
|
-
...commonParams
|
|
2115
|
-
}).m(function(Command, cs, config, o) {
|
|
2089
|
+
var _GetExpenseAnalysisCommand = class _GetExpenseAnalysisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2116
2090
|
return [
|
|
2117
2091
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2118
2092
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2126,9 +2100,7 @@ var GetExpenseAnalysisCommand = _GetExpenseAnalysisCommand;
|
|
|
2126
2100
|
|
|
2127
2101
|
|
|
2128
2102
|
|
|
2129
|
-
var _GetLendingAnalysisCommand = class _GetLendingAnalysisCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2130
|
-
...commonParams
|
|
2131
|
-
}).m(function(Command, cs, config, o) {
|
|
2103
|
+
var _GetLendingAnalysisCommand = class _GetLendingAnalysisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2132
2104
|
return [
|
|
2133
2105
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2134
2106
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2142,9 +2114,7 @@ var GetLendingAnalysisCommand = _GetLendingAnalysisCommand;
|
|
|
2142
2114
|
|
|
2143
2115
|
|
|
2144
2116
|
|
|
2145
|
-
var _GetLendingAnalysisSummaryCommand = class _GetLendingAnalysisSummaryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2146
|
-
...commonParams
|
|
2147
|
-
}).m(function(Command, cs, config, o) {
|
|
2117
|
+
var _GetLendingAnalysisSummaryCommand = class _GetLendingAnalysisSummaryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2148
2118
|
return [
|
|
2149
2119
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2150
2120
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2158,9 +2128,7 @@ var GetLendingAnalysisSummaryCommand = _GetLendingAnalysisSummaryCommand;
|
|
|
2158
2128
|
|
|
2159
2129
|
|
|
2160
2130
|
|
|
2161
|
-
var _ListAdaptersCommand = class _ListAdaptersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2162
|
-
...commonParams
|
|
2163
|
-
}).m(function(Command, cs, config, o) {
|
|
2131
|
+
var _ListAdaptersCommand = class _ListAdaptersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2164
2132
|
return [
|
|
2165
2133
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2166
2134
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2174,9 +2142,7 @@ var ListAdaptersCommand = _ListAdaptersCommand;
|
|
|
2174
2142
|
|
|
2175
2143
|
|
|
2176
2144
|
|
|
2177
|
-
var _ListAdapterVersionsCommand = class _ListAdapterVersionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2178
|
-
...commonParams
|
|
2179
|
-
}).m(function(Command, cs, config, o) {
|
|
2145
|
+
var _ListAdapterVersionsCommand = class _ListAdapterVersionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2180
2146
|
return [
|
|
2181
2147
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2182
2148
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2190,9 +2156,7 @@ var ListAdapterVersionsCommand = _ListAdapterVersionsCommand;
|
|
|
2190
2156
|
|
|
2191
2157
|
|
|
2192
2158
|
|
|
2193
|
-
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2194
|
-
...commonParams
|
|
2195
|
-
}).m(function(Command, cs, config, o) {
|
|
2159
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2196
2160
|
return [
|
|
2197
2161
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2198
2162
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2206,9 +2170,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
|
2206
2170
|
|
|
2207
2171
|
|
|
2208
2172
|
|
|
2209
|
-
var _StartDocumentAnalysisCommand = class _StartDocumentAnalysisCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2210
|
-
...commonParams
|
|
2211
|
-
}).m(function(Command, cs, config, o) {
|
|
2173
|
+
var _StartDocumentAnalysisCommand = class _StartDocumentAnalysisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2212
2174
|
return [
|
|
2213
2175
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2214
2176
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2222,9 +2184,7 @@ var StartDocumentAnalysisCommand = _StartDocumentAnalysisCommand;
|
|
|
2222
2184
|
|
|
2223
2185
|
|
|
2224
2186
|
|
|
2225
|
-
var _StartDocumentTextDetectionCommand = class _StartDocumentTextDetectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2226
|
-
...commonParams
|
|
2227
|
-
}).m(function(Command, cs, config, o) {
|
|
2187
|
+
var _StartDocumentTextDetectionCommand = class _StartDocumentTextDetectionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2228
2188
|
return [
|
|
2229
2189
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2230
2190
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2238,9 +2198,7 @@ var StartDocumentTextDetectionCommand = _StartDocumentTextDetectionCommand;
|
|
|
2238
2198
|
|
|
2239
2199
|
|
|
2240
2200
|
|
|
2241
|
-
var _StartExpenseAnalysisCommand = class _StartExpenseAnalysisCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2242
|
-
...commonParams
|
|
2243
|
-
}).m(function(Command, cs, config, o) {
|
|
2201
|
+
var _StartExpenseAnalysisCommand = class _StartExpenseAnalysisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2244
2202
|
return [
|
|
2245
2203
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2246
2204
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2254,9 +2212,7 @@ var StartExpenseAnalysisCommand = _StartExpenseAnalysisCommand;
|
|
|
2254
2212
|
|
|
2255
2213
|
|
|
2256
2214
|
|
|
2257
|
-
var _StartLendingAnalysisCommand = class _StartLendingAnalysisCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2258
|
-
...commonParams
|
|
2259
|
-
}).m(function(Command, cs, config, o) {
|
|
2215
|
+
var _StartLendingAnalysisCommand = class _StartLendingAnalysisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2260
2216
|
return [
|
|
2261
2217
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2262
2218
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2270,9 +2226,7 @@ var StartLendingAnalysisCommand = _StartLendingAnalysisCommand;
|
|
|
2270
2226
|
|
|
2271
2227
|
|
|
2272
2228
|
|
|
2273
|
-
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2274
|
-
...commonParams
|
|
2275
|
-
}).m(function(Command, cs, config, o) {
|
|
2229
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2276
2230
|
return [
|
|
2277
2231
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2278
2232
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2286,9 +2240,7 @@ var TagResourceCommand = _TagResourceCommand;
|
|
|
2286
2240
|
|
|
2287
2241
|
|
|
2288
2242
|
|
|
2289
|
-
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2290
|
-
...commonParams
|
|
2291
|
-
}).m(function(Command, cs, config, o) {
|
|
2243
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2292
2244
|
return [
|
|
2293
2245
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2294
2246
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2302,9 +2254,7 @@ var UntagResourceCommand = _UntagResourceCommand;
|
|
|
2302
2254
|
|
|
2303
2255
|
|
|
2304
2256
|
|
|
2305
|
-
var _UpdateAdapterCommand = class _UpdateAdapterCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2306
|
-
...commonParams
|
|
2307
|
-
}).m(function(Command, cs, config, o) {
|
|
2257
|
+
var _UpdateAdapterCommand = class _UpdateAdapterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2308
2258
|
return [
|
|
2309
2259
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2310
2260
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -6,9 +6,7 @@ import { de_AnalyzeDocumentCommand, se_AnalyzeDocumentCommand } from "../protoco
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class AnalyzeDocumentCommand 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_AnalyzeExpenseCommand, se_AnalyzeExpenseCommand } from "../protocols
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class AnalyzeExpenseCommand 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_AnalyzeIDCommand, se_AnalyzeIDCommand } from "../protocols/Aws_json1
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class AnalyzeIDCommand 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_CreateAdapterCommand, se_CreateAdapterCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class CreateAdapterCommand 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_CreateAdapterVersionCommand, se_CreateAdapterVersionCommand } from "
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class CreateAdapterVersionCommand 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_DeleteAdapterCommand, se_DeleteAdapterCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteAdapterCommand 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_DeleteAdapterVersionCommand, se_DeleteAdapterVersionCommand } from "
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteAdapterVersionCommand 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_DetectDocumentTextCommand, se_DetectDocumentTextCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DetectDocumentTextCommand 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_GetAdapterCommand, se_GetAdapterCommand } from "../protocols/Aws_jso
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetAdapterCommand 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_GetAdapterVersionCommand, se_GetAdapterVersionCommand } from "../pro
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetAdapterVersionCommand 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_GetDocumentAnalysisCommand, se_GetDocumentAnalysisCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetDocumentAnalysisCommand 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_GetDocumentTextDetectionCommand, se_GetDocumentTextDetectionCommand
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetDocumentTextDetectionCommand 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_GetExpenseAnalysisCommand, se_GetExpenseAnalysisCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetExpenseAnalysisCommand 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_GetLendingAnalysisCommand, se_GetLendingAnalysisCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetLendingAnalysisCommand 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_GetLendingAnalysisSummaryCommand, se_GetLendingAnalysisSummaryComman
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetLendingAnalysisSummaryCommand 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_ListAdapterVersionsCommand, se_ListAdapterVersionsCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListAdapterVersionsCommand 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_ListAdaptersCommand, se_ListAdaptersCommand } from "../protocols/Aws
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListAdaptersCommand 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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListTagsForResourceCommand 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_StartDocumentAnalysisCommand, se_StartDocumentAnalysisCommand } from
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartDocumentAnalysisCommand 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_StartDocumentTextDetectionCommand, se_StartDocumentTextDetectionComm
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartDocumentTextDetectionCommand 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_StartExpenseAnalysisCommand, se_StartExpenseAnalysisCommand } from "
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartExpenseAnalysisCommand 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_StartLendingAnalysisCommand, se_StartLendingAnalysisCommand } from "
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartLendingAnalysisCommand 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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_j
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class TagResourceCommand 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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UntagResourceCommand 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_UpdateAdapterCommand, se_UpdateAdapterCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UpdateAdapterCommand 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),
|
|
@@ -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: TextractClientConfig) => {
|
|
|
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;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
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").TextractHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
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;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
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").TextractHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
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;
|
|
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
33
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
35
|
}) => import("@smithy/types").EndpointV2;
|
|
35
36
|
tls?: boolean | undefined;
|
|
37
|
+
serviceConfiguredEndpoint?: undefined;
|
|
36
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
37
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;
|
|
38
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
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;
|
|
@@ -61,6 +62,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
61
62
|
}
|
|
62
63
|
) => import("@smithy/types").EndpointV2;
|
|
63
64
|
tls?: boolean | undefined;
|
|
65
|
+
serviceConfiguredEndpoint?: undefined;
|
|
64
66
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
65
67
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;
|
|
66
68
|
credentials?:
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
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;
|
|
@@ -65,6 +66,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
65
66
|
}
|
|
66
67
|
) => import("@smithy/types").EndpointV2;
|
|
67
68
|
tls?: boolean | undefined;
|
|
69
|
+
serviceConfiguredEndpoint?: undefined;
|
|
68
70
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
69
71
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;
|
|
70
72
|
credentials?:
|
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
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;
|
|
@@ -55,6 +56,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
55
56
|
}
|
|
56
57
|
) => import("@smithy/types").EndpointV2;
|
|
57
58
|
tls?: boolean | undefined;
|
|
59
|
+
serviceConfiguredEndpoint?: undefined;
|
|
58
60
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
59
61
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;
|
|
60
62
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-textract",
|
|
3
3
|
"description": "AWS SDK for JavaScript Textract 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-textract",
|
|
@@ -20,43 +20,43 @@
|
|
|
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.
|
|
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
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2",
|
|
62
62
|
"uuid": "^9.0.1"
|