@aws-sdk/client-simspaceweaver 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 +16 -48
- package/dist-es/commands/CreateSnapshotCommand.js +1 -3
- package/dist-es/commands/DeleteAppCommand.js +1 -3
- package/dist-es/commands/DeleteSimulationCommand.js +1 -3
- package/dist-es/commands/DescribeAppCommand.js +1 -3
- package/dist-es/commands/DescribeSimulationCommand.js +1 -3
- package/dist-es/commands/ListAppsCommand.js +1 -3
- package/dist-es/commands/ListSimulationsCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/StartAppCommand.js +1 -3
- package/dist-es/commands/StartClockCommand.js +1 -3
- package/dist-es/commands/StartSimulationCommand.js +1 -3
- package/dist-es/commands/StopAppCommand.js +1 -3
- package/dist-es/commands/StopClockCommand.js +1 -3
- package/dist-es/commands/StopSimulationCommand.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
|
@@ -1028,9 +1028,7 @@ var _s = "simulation";
|
|
|
1028
1028
|
var _tK = "tagKeys";
|
|
1029
1029
|
|
|
1030
1030
|
// src/commands/CreateSnapshotCommand.ts
|
|
1031
|
-
var _CreateSnapshotCommand = class _CreateSnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1032
|
-
...commonParams
|
|
1033
|
-
}).m(function(Command, cs, config, o) {
|
|
1031
|
+
var _CreateSnapshotCommand = class _CreateSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1034
1032
|
return [
|
|
1035
1033
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1036
1034
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1044,9 +1042,7 @@ var CreateSnapshotCommand = _CreateSnapshotCommand;
|
|
|
1044
1042
|
|
|
1045
1043
|
|
|
1046
1044
|
|
|
1047
|
-
var _DeleteAppCommand = class _DeleteAppCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1048
|
-
...commonParams
|
|
1049
|
-
}).m(function(Command, cs, config, o) {
|
|
1045
|
+
var _DeleteAppCommand = class _DeleteAppCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1050
1046
|
return [
|
|
1051
1047
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1052
1048
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1060,9 +1056,7 @@ var DeleteAppCommand = _DeleteAppCommand;
|
|
|
1060
1056
|
|
|
1061
1057
|
|
|
1062
1058
|
|
|
1063
|
-
var _DeleteSimulationCommand = class _DeleteSimulationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1064
|
-
...commonParams
|
|
1065
|
-
}).m(function(Command, cs, config, o) {
|
|
1059
|
+
var _DeleteSimulationCommand = class _DeleteSimulationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1066
1060
|
return [
|
|
1067
1061
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1068
1062
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1076,9 +1070,7 @@ var DeleteSimulationCommand = _DeleteSimulationCommand;
|
|
|
1076
1070
|
|
|
1077
1071
|
|
|
1078
1072
|
|
|
1079
|
-
var _DescribeAppCommand = class _DescribeAppCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1080
|
-
...commonParams
|
|
1081
|
-
}).m(function(Command, cs, config, o) {
|
|
1073
|
+
var _DescribeAppCommand = class _DescribeAppCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1082
1074
|
return [
|
|
1083
1075
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1084
1076
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1092,9 +1084,7 @@ var DescribeAppCommand = _DescribeAppCommand;
|
|
|
1092
1084
|
|
|
1093
1085
|
|
|
1094
1086
|
|
|
1095
|
-
var _DescribeSimulationCommand = class _DescribeSimulationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1096
|
-
...commonParams
|
|
1097
|
-
}).m(function(Command, cs, config, o) {
|
|
1087
|
+
var _DescribeSimulationCommand = class _DescribeSimulationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1098
1088
|
return [
|
|
1099
1089
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1100
1090
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1108,9 +1098,7 @@ var DescribeSimulationCommand = _DescribeSimulationCommand;
|
|
|
1108
1098
|
|
|
1109
1099
|
|
|
1110
1100
|
|
|
1111
|
-
var _ListAppsCommand = class _ListAppsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1112
|
-
...commonParams
|
|
1113
|
-
}).m(function(Command, cs, config, o) {
|
|
1101
|
+
var _ListAppsCommand = class _ListAppsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1114
1102
|
return [
|
|
1115
1103
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1116
1104
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1124,9 +1112,7 @@ var ListAppsCommand = _ListAppsCommand;
|
|
|
1124
1112
|
|
|
1125
1113
|
|
|
1126
1114
|
|
|
1127
|
-
var _ListSimulationsCommand = class _ListSimulationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1128
|
-
...commonParams
|
|
1129
|
-
}).m(function(Command, cs, config, o) {
|
|
1115
|
+
var _ListSimulationsCommand = class _ListSimulationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1130
1116
|
return [
|
|
1131
1117
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1132
1118
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1140,9 +1126,7 @@ var ListSimulationsCommand = _ListSimulationsCommand;
|
|
|
1140
1126
|
|
|
1141
1127
|
|
|
1142
1128
|
|
|
1143
|
-
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1144
|
-
...commonParams
|
|
1145
|
-
}).m(function(Command, cs, config, o) {
|
|
1129
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1146
1130
|
return [
|
|
1147
1131
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1148
1132
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1156,9 +1140,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
|
1156
1140
|
|
|
1157
1141
|
|
|
1158
1142
|
|
|
1159
|
-
var _StartAppCommand = class _StartAppCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1160
|
-
...commonParams
|
|
1161
|
-
}).m(function(Command, cs, config, o) {
|
|
1143
|
+
var _StartAppCommand = class _StartAppCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1162
1144
|
return [
|
|
1163
1145
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1164
1146
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1172,9 +1154,7 @@ var StartAppCommand = _StartAppCommand;
|
|
|
1172
1154
|
|
|
1173
1155
|
|
|
1174
1156
|
|
|
1175
|
-
var _StartClockCommand = class _StartClockCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1176
|
-
...commonParams
|
|
1177
|
-
}).m(function(Command, cs, config, o) {
|
|
1157
|
+
var _StartClockCommand = class _StartClockCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1178
1158
|
return [
|
|
1179
1159
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1180
1160
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1188,9 +1168,7 @@ var StartClockCommand = _StartClockCommand;
|
|
|
1188
1168
|
|
|
1189
1169
|
|
|
1190
1170
|
|
|
1191
|
-
var _StartSimulationCommand = class _StartSimulationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1192
|
-
...commonParams
|
|
1193
|
-
}).m(function(Command, cs, config, o) {
|
|
1171
|
+
var _StartSimulationCommand = class _StartSimulationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1194
1172
|
return [
|
|
1195
1173
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1196
1174
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1204,9 +1182,7 @@ var StartSimulationCommand = _StartSimulationCommand;
|
|
|
1204
1182
|
|
|
1205
1183
|
|
|
1206
1184
|
|
|
1207
|
-
var _StopAppCommand = class _StopAppCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1208
|
-
...commonParams
|
|
1209
|
-
}).m(function(Command, cs, config, o) {
|
|
1185
|
+
var _StopAppCommand = class _StopAppCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1210
1186
|
return [
|
|
1211
1187
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1212
1188
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1220,9 +1196,7 @@ var StopAppCommand = _StopAppCommand;
|
|
|
1220
1196
|
|
|
1221
1197
|
|
|
1222
1198
|
|
|
1223
|
-
var _StopClockCommand = class _StopClockCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1224
|
-
...commonParams
|
|
1225
|
-
}).m(function(Command, cs, config, o) {
|
|
1199
|
+
var _StopClockCommand = class _StopClockCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1226
1200
|
return [
|
|
1227
1201
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1228
1202
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1236,9 +1210,7 @@ var StopClockCommand = _StopClockCommand;
|
|
|
1236
1210
|
|
|
1237
1211
|
|
|
1238
1212
|
|
|
1239
|
-
var _StopSimulationCommand = class _StopSimulationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1240
|
-
...commonParams
|
|
1241
|
-
}).m(function(Command, cs, config, o) {
|
|
1213
|
+
var _StopSimulationCommand = class _StopSimulationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1242
1214
|
return [
|
|
1243
1215
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1244
1216
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1252,9 +1224,7 @@ var StopSimulationCommand = _StopSimulationCommand;
|
|
|
1252
1224
|
|
|
1253
1225
|
|
|
1254
1226
|
|
|
1255
|
-
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1256
|
-
...commonParams
|
|
1257
|
-
}).m(function(Command, cs, config, o) {
|
|
1227
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1258
1228
|
return [
|
|
1259
1229
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1260
1230
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1268,9 +1238,7 @@ var TagResourceCommand = _TagResourceCommand;
|
|
|
1268
1238
|
|
|
1269
1239
|
|
|
1270
1240
|
|
|
1271
|
-
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1272
|
-
...commonParams
|
|
1273
|
-
}).m(function(Command, cs, config, o) {
|
|
1241
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1274
1242
|
return [
|
|
1275
1243
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1276
1244
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -6,9 +6,7 @@ import { de_CreateSnapshotCommand, se_CreateSnapshotCommand } from "../protocols
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class CreateSnapshotCommand 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_DeleteAppCommand, se_DeleteAppCommand } from "../protocols/Aws_restJ
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteAppCommand 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_DeleteSimulationCommand, se_DeleteSimulationCommand } from "../proto
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteSimulationCommand 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_DescribeAppCommand, se_DescribeAppCommand } from "../protocols/Aws_r
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DescribeAppCommand 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_DescribeSimulationCommand, se_DescribeSimulationCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DescribeSimulationCommand 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_ListAppsCommand, se_ListAppsCommand } from "../protocols/Aws_restJso
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListAppsCommand 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_ListSimulationsCommand, se_ListSimulationsCommand } from "../protoco
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListSimulationsCommand 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),
|
|
@@ -7,9 +7,7 @@ import { de_StartAppCommand, se_StartAppCommand } from "../protocols/Aws_restJso
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class StartAppCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartClockCommand, se_StartClockCommand } from "../protocols/Aws_res
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartClockCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_StartSimulationCommand, se_StartSimulationCommand } from "../protoco
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class StartSimulationCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StopAppCommand, se_StopAppCommand } from "../protocols/Aws_restJson1
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StopAppCommand 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_StopClockCommand, se_StopClockCommand } from "../protocols/Aws_restJ
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StopClockCommand 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_StopSimulationCommand, se_StopSimulationCommand } from "../protocols
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StopSimulationCommand 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),
|
|
@@ -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: SimSpaceWeaverClientConfig) => {
|
|
|
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: SimSpaceWeaverClientConfig) => {
|
|
|
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").SimSpaceWeaverHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: SimSpaceWeaverClientConfig) => {
|
|
|
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: SimSpaceWeaverClientConfig) => {
|
|
|
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").SimSpaceWeaverHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: SimSpaceWeaverClientConfig) => {
|
|
|
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: SimSpaceWeaverClientConfig) => {
|
|
|
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").SimSpaceWeaverHttpAuthSchemeProvider;
|
|
38
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: SimSpaceWeaverClientConfig) => {
|
|
|
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: SimSpaceWeaverClientConfig) => {
|
|
|
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").SimSpaceWeaverHttpAuthSchemeProvider;
|
|
66
68
|
credentials?:
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: SimSpaceWeaverClientConfig) => {
|
|
|
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: SimSpaceWeaverClientConfig) => {
|
|
|
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").SimSpaceWeaverHttpAuthSchemeProvider;
|
|
70
72
|
credentials?:
|
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: SimSpaceWeaverClientConfig) => {
|
|
|
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: SimSpaceWeaverClientConfig) => {
|
|
|
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").SimSpaceWeaverHttpAuthSchemeProvider;
|
|
60
62
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-simspaceweaver",
|
|
3
3
|
"description": "AWS SDK for JavaScript Simspaceweaver 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-simspaceweaver",
|
|
@@ -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"
|