@aws-sdk/client-application-auto-scaling 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 +13 -39
- package/dist-es/commands/DeleteScalingPolicyCommand.js +1 -3
- package/dist-es/commands/DeleteScheduledActionCommand.js +1 -3
- package/dist-es/commands/DeregisterScalableTargetCommand.js +1 -3
- package/dist-es/commands/DescribeScalableTargetsCommand.js +1 -3
- package/dist-es/commands/DescribeScalingActivitiesCommand.js +1 -3
- package/dist-es/commands/DescribeScalingPoliciesCommand.js +1 -3
- package/dist-es/commands/DescribeScheduledActionsCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/PutScalingPolicyCommand.js +1 -3
- package/dist-es/commands/PutScheduledActionCommand.js +1 -3
- package/dist-es/commands/RegisterScalableTargetCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.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
|
@@ -1091,9 +1091,7 @@ function sharedHeaders(operation) {
|
|
|
1091
1091
|
__name(sharedHeaders, "sharedHeaders");
|
|
1092
1092
|
|
|
1093
1093
|
// src/commands/DeleteScalingPolicyCommand.ts
|
|
1094
|
-
var _DeleteScalingPolicyCommand = class _DeleteScalingPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1095
|
-
...commonParams
|
|
1096
|
-
}).m(function(Command, cs, config, o) {
|
|
1094
|
+
var _DeleteScalingPolicyCommand = class _DeleteScalingPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1097
1095
|
return [
|
|
1098
1096
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1099
1097
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1107,9 +1105,7 @@ var DeleteScalingPolicyCommand = _DeleteScalingPolicyCommand;
|
|
|
1107
1105
|
|
|
1108
1106
|
|
|
1109
1107
|
|
|
1110
|
-
var _DeleteScheduledActionCommand = class _DeleteScheduledActionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1111
|
-
...commonParams
|
|
1112
|
-
}).m(function(Command, cs, config, o) {
|
|
1108
|
+
var _DeleteScheduledActionCommand = class _DeleteScheduledActionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1113
1109
|
return [
|
|
1114
1110
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1115
1111
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1123,9 +1119,7 @@ var DeleteScheduledActionCommand = _DeleteScheduledActionCommand;
|
|
|
1123
1119
|
|
|
1124
1120
|
|
|
1125
1121
|
|
|
1126
|
-
var _DeregisterScalableTargetCommand = class _DeregisterScalableTargetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1127
|
-
...commonParams
|
|
1128
|
-
}).m(function(Command, cs, config, o) {
|
|
1122
|
+
var _DeregisterScalableTargetCommand = class _DeregisterScalableTargetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1129
1123
|
return [
|
|
1130
1124
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1131
1125
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1139,9 +1133,7 @@ var DeregisterScalableTargetCommand = _DeregisterScalableTargetCommand;
|
|
|
1139
1133
|
|
|
1140
1134
|
|
|
1141
1135
|
|
|
1142
|
-
var _DescribeScalableTargetsCommand = class _DescribeScalableTargetsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1143
|
-
...commonParams
|
|
1144
|
-
}).m(function(Command, cs, config, o) {
|
|
1136
|
+
var _DescribeScalableTargetsCommand = class _DescribeScalableTargetsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1145
1137
|
return [
|
|
1146
1138
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1147
1139
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1155,9 +1147,7 @@ var DescribeScalableTargetsCommand = _DescribeScalableTargetsCommand;
|
|
|
1155
1147
|
|
|
1156
1148
|
|
|
1157
1149
|
|
|
1158
|
-
var _DescribeScalingActivitiesCommand = class _DescribeScalingActivitiesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1159
|
-
...commonParams
|
|
1160
|
-
}).m(function(Command, cs, config, o) {
|
|
1150
|
+
var _DescribeScalingActivitiesCommand = class _DescribeScalingActivitiesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1161
1151
|
return [
|
|
1162
1152
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1163
1153
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1171,9 +1161,7 @@ var DescribeScalingActivitiesCommand = _DescribeScalingActivitiesCommand;
|
|
|
1171
1161
|
|
|
1172
1162
|
|
|
1173
1163
|
|
|
1174
|
-
var _DescribeScalingPoliciesCommand = class _DescribeScalingPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1175
|
-
...commonParams
|
|
1176
|
-
}).m(function(Command, cs, config, o) {
|
|
1164
|
+
var _DescribeScalingPoliciesCommand = class _DescribeScalingPoliciesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1177
1165
|
return [
|
|
1178
1166
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1179
1167
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1187,9 +1175,7 @@ var DescribeScalingPoliciesCommand = _DescribeScalingPoliciesCommand;
|
|
|
1187
1175
|
|
|
1188
1176
|
|
|
1189
1177
|
|
|
1190
|
-
var _DescribeScheduledActionsCommand = class _DescribeScheduledActionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1191
|
-
...commonParams
|
|
1192
|
-
}).m(function(Command, cs, config, o) {
|
|
1178
|
+
var _DescribeScheduledActionsCommand = class _DescribeScheduledActionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1193
1179
|
return [
|
|
1194
1180
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1195
1181
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1203,9 +1189,7 @@ var DescribeScheduledActionsCommand = _DescribeScheduledActionsCommand;
|
|
|
1203
1189
|
|
|
1204
1190
|
|
|
1205
1191
|
|
|
1206
|
-
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1207
|
-
...commonParams
|
|
1208
|
-
}).m(function(Command, cs, config, o) {
|
|
1192
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1209
1193
|
return [
|
|
1210
1194
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1211
1195
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1219,9 +1203,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
|
1219
1203
|
|
|
1220
1204
|
|
|
1221
1205
|
|
|
1222
|
-
var _PutScalingPolicyCommand = class _PutScalingPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1223
|
-
...commonParams
|
|
1224
|
-
}).m(function(Command, cs, config, o) {
|
|
1206
|
+
var _PutScalingPolicyCommand = class _PutScalingPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1225
1207
|
return [
|
|
1226
1208
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1227
1209
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1235,9 +1217,7 @@ var PutScalingPolicyCommand = _PutScalingPolicyCommand;
|
|
|
1235
1217
|
|
|
1236
1218
|
|
|
1237
1219
|
|
|
1238
|
-
var _PutScheduledActionCommand = class _PutScheduledActionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1239
|
-
...commonParams
|
|
1240
|
-
}).m(function(Command, cs, config, o) {
|
|
1220
|
+
var _PutScheduledActionCommand = class _PutScheduledActionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1241
1221
|
return [
|
|
1242
1222
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1243
1223
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1251,9 +1231,7 @@ var PutScheduledActionCommand = _PutScheduledActionCommand;
|
|
|
1251
1231
|
|
|
1252
1232
|
|
|
1253
1233
|
|
|
1254
|
-
var _RegisterScalableTargetCommand = class _RegisterScalableTargetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1255
|
-
...commonParams
|
|
1256
|
-
}).m(function(Command, cs, config, o) {
|
|
1234
|
+
var _RegisterScalableTargetCommand = class _RegisterScalableTargetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1257
1235
|
return [
|
|
1258
1236
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1259
1237
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1267,9 +1245,7 @@ var RegisterScalableTargetCommand = _RegisterScalableTargetCommand;
|
|
|
1267
1245
|
|
|
1268
1246
|
|
|
1269
1247
|
|
|
1270
|
-
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1271
|
-
...commonParams
|
|
1272
|
-
}).m(function(Command, cs, config, o) {
|
|
1248
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1273
1249
|
return [
|
|
1274
1250
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1275
1251
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1283,9 +1259,7 @@ var TagResourceCommand = _TagResourceCommand;
|
|
|
1283
1259
|
|
|
1284
1260
|
|
|
1285
1261
|
|
|
1286
|
-
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1287
|
-
...commonParams
|
|
1288
|
-
}).m(function(Command, cs, config, o) {
|
|
1262
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1289
1263
|
return [
|
|
1290
1264
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1291
1265
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -6,9 +6,7 @@ import { de_DeleteScalingPolicyCommand, se_DeleteScalingPolicyCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteScalingPolicyCommand 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_DeleteScheduledActionCommand, se_DeleteScheduledActionCommand } from
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteScheduledActionCommand 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_DeregisterScalableTargetCommand, se_DeregisterScalableTargetCommand
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeregisterScalableTargetCommand 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_DescribeScalableTargetsCommand, se_DescribeScalableTargetsCommand }
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DescribeScalableTargetsCommand 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_DescribeScalingActivitiesCommand, se_DescribeScalingActivitiesComman
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DescribeScalingActivitiesCommand 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_DescribeScalingPoliciesCommand, se_DescribeScalingPoliciesCommand }
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DescribeScalingPoliciesCommand 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_DescribeScheduledActionsCommand, se_DescribeScheduledActionsCommand
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DescribeScheduledActionsCommand 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_PutScalingPolicyCommand, se_PutScalingPolicyCommand } from "../proto
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class PutScalingPolicyCommand 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_PutScheduledActionCommand, se_PutScheduledActionCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class PutScheduledActionCommand 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_RegisterScalableTargetCommand, se_RegisterScalableTargetCommand } fr
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class RegisterScalableTargetCommand 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),
|
|
@@ -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: ApplicationAutoScalingClientConf
|
|
|
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: ApplicationAutoScalingClientConf
|
|
|
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").ApplicationAutoScalingHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: ApplicationAutoScalingClientConf
|
|
|
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: ApplicationAutoScalingClientConf
|
|
|
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").ApplicationAutoScalingHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: ApplicationAutoScalingClientConf
|
|
|
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: ApplicationAutoScalingClientConf
|
|
|
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").ApplicationAutoScalingHttpAuthSchemeProvider;
|
|
38
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (
|
|
|
25
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
26
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
27
|
apiVersion: string;
|
|
28
|
+
cacheMiddleware?: boolean | undefined;
|
|
28
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
29
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
30
31
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -63,6 +64,7 @@ export declare const getRuntimeConfig: (
|
|
|
63
64
|
}
|
|
64
65
|
) => import("@smithy/types").EndpointV2;
|
|
65
66
|
tls?: boolean | undefined;
|
|
67
|
+
serviceConfiguredEndpoint?: undefined;
|
|
66
68
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
67
69
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApplicationAutoScalingHttpAuthSchemeProvider;
|
|
68
70
|
credentials?:
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (
|
|
|
29
29
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
30
30
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
31
|
apiVersion: string;
|
|
32
|
+
cacheMiddleware?: boolean | undefined;
|
|
32
33
|
urlParser: import("@smithy/types").UrlParser;
|
|
33
34
|
base64Decoder: import("@smithy/types").Decoder;
|
|
34
35
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -67,6 +68,7 @@ export declare const getRuntimeConfig: (
|
|
|
67
68
|
}
|
|
68
69
|
) => import("@smithy/types").EndpointV2;
|
|
69
70
|
tls?: boolean | undefined;
|
|
71
|
+
serviceConfiguredEndpoint?: undefined;
|
|
70
72
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
71
73
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApplicationAutoScalingHttpAuthSchemeProvider;
|
|
72
74
|
credentials?:
|
|
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
11
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
12
12
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
|
+
cacheMiddleware?: boolean | undefined;
|
|
14
15
|
urlParser: import("@smithy/types").UrlParser;
|
|
15
16
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
16
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -57,6 +58,7 @@ export declare const getRuntimeConfig: (
|
|
|
57
58
|
}
|
|
58
59
|
) => import("@smithy/types").EndpointV2;
|
|
59
60
|
tls?: boolean | undefined;
|
|
61
|
+
serviceConfiguredEndpoint?: undefined;
|
|
60
62
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
61
63
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApplicationAutoScalingHttpAuthSchemeProvider;
|
|
62
64
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-application-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Application Auto Scaling 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-application-auto-scaling",
|
|
@@ -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
|
},
|