@aws-sdk/client-xray 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.
Files changed (40) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +30 -90
  3. package/dist-es/commands/BatchGetTracesCommand.js +1 -3
  4. package/dist-es/commands/CreateGroupCommand.js +1 -3
  5. package/dist-es/commands/CreateSamplingRuleCommand.js +1 -3
  6. package/dist-es/commands/DeleteGroupCommand.js +1 -3
  7. package/dist-es/commands/DeleteResourcePolicyCommand.js +1 -3
  8. package/dist-es/commands/DeleteSamplingRuleCommand.js +1 -3
  9. package/dist-es/commands/GetEncryptionConfigCommand.js +1 -3
  10. package/dist-es/commands/GetGroupCommand.js +1 -3
  11. package/dist-es/commands/GetGroupsCommand.js +1 -3
  12. package/dist-es/commands/GetInsightCommand.js +1 -3
  13. package/dist-es/commands/GetInsightEventsCommand.js +1 -3
  14. package/dist-es/commands/GetInsightImpactGraphCommand.js +1 -3
  15. package/dist-es/commands/GetInsightSummariesCommand.js +1 -3
  16. package/dist-es/commands/GetSamplingRulesCommand.js +1 -3
  17. package/dist-es/commands/GetSamplingStatisticSummariesCommand.js +1 -3
  18. package/dist-es/commands/GetSamplingTargetsCommand.js +1 -3
  19. package/dist-es/commands/GetServiceGraphCommand.js +1 -3
  20. package/dist-es/commands/GetTimeSeriesServiceStatisticsCommand.js +1 -3
  21. package/dist-es/commands/GetTraceGraphCommand.js +1 -3
  22. package/dist-es/commands/GetTraceSummariesCommand.js +1 -3
  23. package/dist-es/commands/ListResourcePoliciesCommand.js +1 -3
  24. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  25. package/dist-es/commands/PutEncryptionConfigCommand.js +1 -3
  26. package/dist-es/commands/PutResourcePolicyCommand.js +1 -3
  27. package/dist-es/commands/PutTelemetryRecordsCommand.js +1 -3
  28. package/dist-es/commands/PutTraceSegmentsCommand.js +1 -3
  29. package/dist-es/commands/TagResourceCommand.js +1 -3
  30. package/dist-es/commands/UntagResourceCommand.js +1 -3
  31. package/dist-es/commands/UpdateGroupCommand.js +1 -3
  32. package/dist-es/commands/UpdateSamplingRuleCommand.js +1 -3
  33. package/dist-es/endpoint/endpointResolver.js +7 -3
  34. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  35. package/dist-types/runtimeConfig.d.ts +2 -0
  36. package/dist-types/runtimeConfig.native.d.ts +2 -0
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  40. 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
@@ -1982,9 +1982,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1982
1982
  }), "deserializeMetadata");
1983
1983
 
1984
1984
  // src/commands/BatchGetTracesCommand.ts
1985
- var _BatchGetTracesCommand = class _BatchGetTracesCommand extends import_smithy_client.Command.classBuilder().ep({
1986
- ...commonParams
1987
- }).m(function(Command, cs, config, o) {
1985
+ var _BatchGetTracesCommand = class _BatchGetTracesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1988
1986
  return [
1989
1987
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1990
1988
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1998,9 +1996,7 @@ var BatchGetTracesCommand = _BatchGetTracesCommand;
1998
1996
 
1999
1997
 
2000
1998
 
2001
- var _CreateGroupCommand = class _CreateGroupCommand extends import_smithy_client.Command.classBuilder().ep({
2002
- ...commonParams
2003
- }).m(function(Command, cs, config, o) {
1999
+ var _CreateGroupCommand = class _CreateGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2004
2000
  return [
2005
2001
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2006
2002
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2014,9 +2010,7 @@ var CreateGroupCommand = _CreateGroupCommand;
2014
2010
 
2015
2011
 
2016
2012
 
2017
- var _CreateSamplingRuleCommand = class _CreateSamplingRuleCommand extends import_smithy_client.Command.classBuilder().ep({
2018
- ...commonParams
2019
- }).m(function(Command, cs, config, o) {
2013
+ var _CreateSamplingRuleCommand = class _CreateSamplingRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2020
2014
  return [
2021
2015
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2022
2016
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2030,9 +2024,7 @@ var CreateSamplingRuleCommand = _CreateSamplingRuleCommand;
2030
2024
 
2031
2025
 
2032
2026
 
2033
- var _DeleteGroupCommand = class _DeleteGroupCommand extends import_smithy_client.Command.classBuilder().ep({
2034
- ...commonParams
2035
- }).m(function(Command, cs, config, o) {
2027
+ var _DeleteGroupCommand = class _DeleteGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2036
2028
  return [
2037
2029
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2038
2030
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2046,9 +2038,7 @@ var DeleteGroupCommand = _DeleteGroupCommand;
2046
2038
 
2047
2039
 
2048
2040
 
2049
- var _DeleteResourcePolicyCommand = class _DeleteResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2050
- ...commonParams
2051
- }).m(function(Command, cs, config, o) {
2041
+ var _DeleteResourcePolicyCommand = class _DeleteResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2052
2042
  return [
2053
2043
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2054
2044
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2062,9 +2052,7 @@ var DeleteResourcePolicyCommand = _DeleteResourcePolicyCommand;
2062
2052
 
2063
2053
 
2064
2054
 
2065
- var _DeleteSamplingRuleCommand = class _DeleteSamplingRuleCommand extends import_smithy_client.Command.classBuilder().ep({
2066
- ...commonParams
2067
- }).m(function(Command, cs, config, o) {
2055
+ var _DeleteSamplingRuleCommand = class _DeleteSamplingRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2068
2056
  return [
2069
2057
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2070
2058
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2078,9 +2066,7 @@ var DeleteSamplingRuleCommand = _DeleteSamplingRuleCommand;
2078
2066
 
2079
2067
 
2080
2068
 
2081
- var _GetEncryptionConfigCommand = class _GetEncryptionConfigCommand extends import_smithy_client.Command.classBuilder().ep({
2082
- ...commonParams
2083
- }).m(function(Command, cs, config, o) {
2069
+ var _GetEncryptionConfigCommand = class _GetEncryptionConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2084
2070
  return [
2085
2071
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2086
2072
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2094,9 +2080,7 @@ var GetEncryptionConfigCommand = _GetEncryptionConfigCommand;
2094
2080
 
2095
2081
 
2096
2082
 
2097
- var _GetGroupCommand = class _GetGroupCommand extends import_smithy_client.Command.classBuilder().ep({
2098
- ...commonParams
2099
- }).m(function(Command, cs, config, o) {
2083
+ var _GetGroupCommand = class _GetGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2100
2084
  return [
2101
2085
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2102
2086
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2110,9 +2094,7 @@ var GetGroupCommand = _GetGroupCommand;
2110
2094
 
2111
2095
 
2112
2096
 
2113
- var _GetGroupsCommand = class _GetGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
2114
- ...commonParams
2115
- }).m(function(Command, cs, config, o) {
2097
+ var _GetGroupsCommand = class _GetGroupsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2116
2098
  return [
2117
2099
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2118
2100
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2126,9 +2108,7 @@ var GetGroupsCommand = _GetGroupsCommand;
2126
2108
 
2127
2109
 
2128
2110
 
2129
- var _GetInsightCommand = class _GetInsightCommand extends import_smithy_client.Command.classBuilder().ep({
2130
- ...commonParams
2131
- }).m(function(Command, cs, config, o) {
2111
+ var _GetInsightCommand = class _GetInsightCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2132
2112
  return [
2133
2113
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2134
2114
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2142,9 +2122,7 @@ var GetInsightCommand = _GetInsightCommand;
2142
2122
 
2143
2123
 
2144
2124
 
2145
- var _GetInsightEventsCommand = class _GetInsightEventsCommand extends import_smithy_client.Command.classBuilder().ep({
2146
- ...commonParams
2147
- }).m(function(Command, cs, config, o) {
2125
+ var _GetInsightEventsCommand = class _GetInsightEventsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2148
2126
  return [
2149
2127
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2150
2128
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2158,9 +2136,7 @@ var GetInsightEventsCommand = _GetInsightEventsCommand;
2158
2136
 
2159
2137
 
2160
2138
 
2161
- var _GetInsightImpactGraphCommand = class _GetInsightImpactGraphCommand extends import_smithy_client.Command.classBuilder().ep({
2162
- ...commonParams
2163
- }).m(function(Command, cs, config, o) {
2139
+ var _GetInsightImpactGraphCommand = class _GetInsightImpactGraphCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2164
2140
  return [
2165
2141
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2166
2142
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2174,9 +2150,7 @@ var GetInsightImpactGraphCommand = _GetInsightImpactGraphCommand;
2174
2150
 
2175
2151
 
2176
2152
 
2177
- var _GetInsightSummariesCommand = class _GetInsightSummariesCommand extends import_smithy_client.Command.classBuilder().ep({
2178
- ...commonParams
2179
- }).m(function(Command, cs, config, o) {
2153
+ var _GetInsightSummariesCommand = class _GetInsightSummariesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2180
2154
  return [
2181
2155
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2182
2156
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2190,9 +2164,7 @@ var GetInsightSummariesCommand = _GetInsightSummariesCommand;
2190
2164
 
2191
2165
 
2192
2166
 
2193
- var _GetSamplingRulesCommand = class _GetSamplingRulesCommand extends import_smithy_client.Command.classBuilder().ep({
2194
- ...commonParams
2195
- }).m(function(Command, cs, config, o) {
2167
+ var _GetSamplingRulesCommand = class _GetSamplingRulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2196
2168
  return [
2197
2169
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2198
2170
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2206,9 +2178,7 @@ var GetSamplingRulesCommand = _GetSamplingRulesCommand;
2206
2178
 
2207
2179
 
2208
2180
 
2209
- var _GetSamplingStatisticSummariesCommand = class _GetSamplingStatisticSummariesCommand extends import_smithy_client.Command.classBuilder().ep({
2210
- ...commonParams
2211
- }).m(function(Command, cs, config, o) {
2181
+ var _GetSamplingStatisticSummariesCommand = class _GetSamplingStatisticSummariesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2212
2182
  return [
2213
2183
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2214
2184
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2222,9 +2192,7 @@ var GetSamplingStatisticSummariesCommand = _GetSamplingStatisticSummariesCommand
2222
2192
 
2223
2193
 
2224
2194
 
2225
- var _GetSamplingTargetsCommand = class _GetSamplingTargetsCommand extends import_smithy_client.Command.classBuilder().ep({
2226
- ...commonParams
2227
- }).m(function(Command, cs, config, o) {
2195
+ var _GetSamplingTargetsCommand = class _GetSamplingTargetsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2228
2196
  return [
2229
2197
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2230
2198
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2238,9 +2206,7 @@ var GetSamplingTargetsCommand = _GetSamplingTargetsCommand;
2238
2206
 
2239
2207
 
2240
2208
 
2241
- var _GetServiceGraphCommand = class _GetServiceGraphCommand extends import_smithy_client.Command.classBuilder().ep({
2242
- ...commonParams
2243
- }).m(function(Command, cs, config, o) {
2209
+ var _GetServiceGraphCommand = class _GetServiceGraphCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2244
2210
  return [
2245
2211
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2246
2212
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2254,9 +2220,7 @@ var GetServiceGraphCommand = _GetServiceGraphCommand;
2254
2220
 
2255
2221
 
2256
2222
 
2257
- var _GetTimeSeriesServiceStatisticsCommand = class _GetTimeSeriesServiceStatisticsCommand extends import_smithy_client.Command.classBuilder().ep({
2258
- ...commonParams
2259
- }).m(function(Command, cs, config, o) {
2223
+ var _GetTimeSeriesServiceStatisticsCommand = class _GetTimeSeriesServiceStatisticsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2260
2224
  return [
2261
2225
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2262
2226
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2270,9 +2234,7 @@ var GetTimeSeriesServiceStatisticsCommand = _GetTimeSeriesServiceStatisticsComma
2270
2234
 
2271
2235
 
2272
2236
 
2273
- var _GetTraceGraphCommand = class _GetTraceGraphCommand extends import_smithy_client.Command.classBuilder().ep({
2274
- ...commonParams
2275
- }).m(function(Command, cs, config, o) {
2237
+ var _GetTraceGraphCommand = class _GetTraceGraphCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2276
2238
  return [
2277
2239
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2278
2240
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2286,9 +2248,7 @@ var GetTraceGraphCommand = _GetTraceGraphCommand;
2286
2248
 
2287
2249
 
2288
2250
 
2289
- var _GetTraceSummariesCommand = class _GetTraceSummariesCommand extends import_smithy_client.Command.classBuilder().ep({
2290
- ...commonParams
2291
- }).m(function(Command, cs, config, o) {
2251
+ var _GetTraceSummariesCommand = class _GetTraceSummariesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2292
2252
  return [
2293
2253
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2294
2254
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2302,9 +2262,7 @@ var GetTraceSummariesCommand = _GetTraceSummariesCommand;
2302
2262
 
2303
2263
 
2304
2264
 
2305
- var _ListResourcePoliciesCommand = class _ListResourcePoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
2306
- ...commonParams
2307
- }).m(function(Command, cs, config, o) {
2265
+ var _ListResourcePoliciesCommand = class _ListResourcePoliciesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2308
2266
  return [
2309
2267
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2310
2268
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2318,9 +2276,7 @@ var ListResourcePoliciesCommand = _ListResourcePoliciesCommand;
2318
2276
 
2319
2277
 
2320
2278
 
2321
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2322
- ...commonParams
2323
- }).m(function(Command, cs, config, o) {
2279
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2324
2280
  return [
2325
2281
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2326
2282
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2334,9 +2290,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
2334
2290
 
2335
2291
 
2336
2292
 
2337
- var _PutEncryptionConfigCommand = class _PutEncryptionConfigCommand extends import_smithy_client.Command.classBuilder().ep({
2338
- ...commonParams
2339
- }).m(function(Command, cs, config, o) {
2293
+ var _PutEncryptionConfigCommand = class _PutEncryptionConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2340
2294
  return [
2341
2295
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2342
2296
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2350,9 +2304,7 @@ var PutEncryptionConfigCommand = _PutEncryptionConfigCommand;
2350
2304
 
2351
2305
 
2352
2306
 
2353
- var _PutResourcePolicyCommand = class _PutResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2354
- ...commonParams
2355
- }).m(function(Command, cs, config, o) {
2307
+ var _PutResourcePolicyCommand = class _PutResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2356
2308
  return [
2357
2309
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2358
2310
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2366,9 +2318,7 @@ var PutResourcePolicyCommand = _PutResourcePolicyCommand;
2366
2318
 
2367
2319
 
2368
2320
 
2369
- var _PutTelemetryRecordsCommand = class _PutTelemetryRecordsCommand extends import_smithy_client.Command.classBuilder().ep({
2370
- ...commonParams
2371
- }).m(function(Command, cs, config, o) {
2321
+ var _PutTelemetryRecordsCommand = class _PutTelemetryRecordsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2372
2322
  return [
2373
2323
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2374
2324
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2382,9 +2332,7 @@ var PutTelemetryRecordsCommand = _PutTelemetryRecordsCommand;
2382
2332
 
2383
2333
 
2384
2334
 
2385
- var _PutTraceSegmentsCommand = class _PutTraceSegmentsCommand extends import_smithy_client.Command.classBuilder().ep({
2386
- ...commonParams
2387
- }).m(function(Command, cs, config, o) {
2335
+ var _PutTraceSegmentsCommand = class _PutTraceSegmentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2388
2336
  return [
2389
2337
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2390
2338
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2398,9 +2346,7 @@ var PutTraceSegmentsCommand = _PutTraceSegmentsCommand;
2398
2346
 
2399
2347
 
2400
2348
 
2401
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2402
- ...commonParams
2403
- }).m(function(Command, cs, config, o) {
2349
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2404
2350
  return [
2405
2351
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2406
2352
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2414,9 +2360,7 @@ var TagResourceCommand = _TagResourceCommand;
2414
2360
 
2415
2361
 
2416
2362
 
2417
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2418
- ...commonParams
2419
- }).m(function(Command, cs, config, o) {
2363
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2420
2364
  return [
2421
2365
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2422
2366
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2430,9 +2374,7 @@ var UntagResourceCommand = _UntagResourceCommand;
2430
2374
 
2431
2375
 
2432
2376
 
2433
- var _UpdateGroupCommand = class _UpdateGroupCommand extends import_smithy_client.Command.classBuilder().ep({
2434
- ...commonParams
2435
- }).m(function(Command, cs, config, o) {
2377
+ var _UpdateGroupCommand = class _UpdateGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2436
2378
  return [
2437
2379
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2438
2380
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2446,9 +2388,7 @@ var UpdateGroupCommand = _UpdateGroupCommand;
2446
2388
 
2447
2389
 
2448
2390
 
2449
- var _UpdateSamplingRuleCommand = class _UpdateSamplingRuleCommand extends import_smithy_client.Command.classBuilder().ep({
2450
- ...commonParams
2451
- }).m(function(Command, cs, config, o) {
2391
+ var _UpdateSamplingRuleCommand = class _UpdateSamplingRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2452
2392
  return [
2453
2393
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2454
2394
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_BatchGetTracesCommand, se_BatchGetTracesCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class BatchGetTracesCommand 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_CreateGroupCommand, se_CreateGroupCommand } from "../protocols/Aws_r
6
6
  export { $Command };
7
7
  export class CreateGroupCommand 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_CreateSamplingRuleCommand, se_CreateSamplingRuleCommand } from "../p
6
6
  export { $Command };
7
7
  export class CreateSamplingRuleCommand 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_DeleteGroupCommand, se_DeleteGroupCommand } from "../protocols/Aws_r
6
6
  export { $Command };
7
7
  export class DeleteGroupCommand 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_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "
6
6
  export { $Command };
7
7
  export class DeleteResourcePolicyCommand 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_DeleteSamplingRuleCommand, se_DeleteSamplingRuleCommand } from "../p
6
6
  export { $Command };
7
7
  export class DeleteSamplingRuleCommand 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_GetEncryptionConfigCommand, se_GetEncryptionConfigCommand } from "..
6
6
  export { $Command };
7
7
  export class GetEncryptionConfigCommand 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_GetGroupCommand, se_GetGroupCommand } from "../protocols/Aws_restJso
6
6
  export { $Command };
7
7
  export class GetGroupCommand 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_GetGroupsCommand, se_GetGroupsCommand } from "../protocols/Aws_restJ
6
6
  export { $Command };
7
7
  export class GetGroupsCommand 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_GetInsightCommand, se_GetInsightCommand } from "../protocols/Aws_res
6
6
  export { $Command };
7
7
  export class GetInsightCommand 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_GetInsightEventsCommand, se_GetInsightEventsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class GetInsightEventsCommand 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_GetInsightImpactGraphCommand, se_GetInsightImpactGraphCommand } from
6
6
  export { $Command };
7
7
  export class GetInsightImpactGraphCommand 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_GetInsightSummariesCommand, se_GetInsightSummariesCommand } from "..
6
6
  export { $Command };
7
7
  export class GetInsightSummariesCommand 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_GetSamplingRulesCommand, se_GetSamplingRulesCommand } from "../proto
6
6
  export { $Command };
7
7
  export class GetSamplingRulesCommand 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_GetSamplingStatisticSummariesCommand, se_GetSamplingStatisticSummari
6
6
  export { $Command };
7
7
  export class GetSamplingStatisticSummariesCommand 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_GetSamplingTargetsCommand, se_GetSamplingTargetsCommand } from "../p
6
6
  export { $Command };
7
7
  export class GetSamplingTargetsCommand 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_GetServiceGraphCommand, se_GetServiceGraphCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class GetServiceGraphCommand 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_GetTimeSeriesServiceStatisticsCommand, se_GetTimeSeriesServiceStatis
6
6
  export { $Command };
7
7
  export class GetTimeSeriesServiceStatisticsCommand 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_GetTraceGraphCommand, se_GetTraceGraphCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class GetTraceGraphCommand 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_GetTraceSummariesCommand, se_GetTraceSummariesCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetTraceSummariesCommand 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_ListResourcePoliciesCommand, se_ListResourcePoliciesCommand } from "
6
6
  export { $Command };
7
7
  export class ListResourcePoliciesCommand 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_PutEncryptionConfigCommand, se_PutEncryptionConfigCommand } from "..
6
6
  export { $Command };
7
7
  export class PutEncryptionConfigCommand 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_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../pro
6
6
  export { $Command };
7
7
  export class PutResourcePolicyCommand 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_PutTelemetryRecordsCommand, se_PutTelemetryRecordsCommand } from "..
6
6
  export { $Command };
7
7
  export class PutTelemetryRecordsCommand 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_PutTraceSegmentsCommand, se_PutTraceSegmentsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class PutTraceSegmentsCommand 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_r
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_UpdateGroupCommand, se_UpdateGroupCommand } from "../protocols/Aws_r
6
6
  export { $Command };
7
7
  export class UpdateGroupCommand 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_UpdateSamplingRuleCommand, se_UpdateSamplingRuleCommand } from "../p
6
6
  export { $Command };
7
7
  export class UpdateSamplingRuleCommand 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: XRayClientConfig) => {
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: XRayClientConfig) => {
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").XRayHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
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: XRayClientConfig) => {
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").XRayHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
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: XRayClientConfig) => {
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").XRayHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
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: XRayClientConfig) => {
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").XRayHttpAuthSchemeProvider;
66
68
  credentials?:
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
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: XRayClientConfig) => {
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").XRayHttpAuthSchemeProvider;
70
72
  credentials?:
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
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: XRayClientConfig) => {
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").XRayHttpAuthSchemeProvider;
60
62
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-xray",
3
3
  "description": "AWS SDK for JavaScript Xray Client for Node.js, Browser and React Native",
4
- "version": "3.645.0",
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-xray",
@@ -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.645.0",
24
- "@aws-sdk/client-sts": "3.645.0",
25
- "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.645.0",
27
- "@aws-sdk/middleware-host-header": "3.620.0",
28
- "@aws-sdk/middleware-logger": "3.609.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.645.0",
31
- "@aws-sdk/region-config-resolver": "3.614.0",
32
- "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.645.0",
34
- "@aws-sdk/util-user-agent-browser": "3.609.0",
35
- "@aws-sdk/util-user-agent-node": "3.614.0",
36
- "@smithy/config-resolver": "^3.0.5",
37
- "@smithy/core": "^2.4.0",
38
- "@smithy/fetch-http-handler": "^3.2.4",
39
- "@smithy/hash-node": "^3.0.3",
40
- "@smithy/invalid-dependency": "^3.0.3",
41
- "@smithy/middleware-content-length": "^3.0.5",
42
- "@smithy/middleware-endpoint": "^3.1.0",
43
- "@smithy/middleware-retry": "^3.0.15",
44
- "@smithy/middleware-serde": "^3.0.3",
45
- "@smithy/middleware-stack": "^3.0.3",
46
- "@smithy/node-config-provider": "^3.1.4",
47
- "@smithy/node-http-handler": "^3.1.4",
48
- "@smithy/protocol-http": "^4.1.0",
49
- "@smithy/smithy-client": "^3.2.0",
50
- "@smithy/types": "^3.3.0",
51
- "@smithy/url-parser": "^3.0.3",
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.15",
56
- "@smithy/util-defaults-mode-node": "^3.0.15",
57
- "@smithy/util-endpoints": "^2.0.5",
58
- "@smithy/util-middleware": "^3.0.3",
59
- "@smithy/util-retry": "^3.0.3",
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
  },