@aws-sdk/client-docdb-elastic 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/CopyClusterSnapshotCommand.js +1 -3
- package/dist-es/commands/CreateClusterCommand.js +1 -3
- package/dist-es/commands/CreateClusterSnapshotCommand.js +1 -3
- package/dist-es/commands/DeleteClusterCommand.js +1 -3
- package/dist-es/commands/DeleteClusterSnapshotCommand.js +1 -3
- package/dist-es/commands/GetClusterCommand.js +1 -3
- package/dist-es/commands/GetClusterSnapshotCommand.js +1 -3
- package/dist-es/commands/ListClusterSnapshotsCommand.js +1 -3
- package/dist-es/commands/ListClustersCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/RestoreClusterFromSnapshotCommand.js +1 -3
- package/dist-es/commands/StartClusterCommand.js +1 -3
- package/dist-es/commands/StopClusterCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateClusterCommand.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
|
@@ -1002,9 +1002,7 @@ var _sT = "snapshotType";
|
|
|
1002
1002
|
var _tK = "tagKeys";
|
|
1003
1003
|
|
|
1004
1004
|
// src/commands/CopyClusterSnapshotCommand.ts
|
|
1005
|
-
var _CopyClusterSnapshotCommand = class _CopyClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1006
|
-
...commonParams
|
|
1007
|
-
}).m(function(Command, cs, config, o) {
|
|
1005
|
+
var _CopyClusterSnapshotCommand = class _CopyClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1008
1006
|
return [
|
|
1009
1007
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1010
1008
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1018,9 +1016,7 @@ var CopyClusterSnapshotCommand = _CopyClusterSnapshotCommand;
|
|
|
1018
1016
|
|
|
1019
1017
|
|
|
1020
1018
|
|
|
1021
|
-
var _CreateClusterCommand = class _CreateClusterCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1022
|
-
...commonParams
|
|
1023
|
-
}).m(function(Command, cs, config, o) {
|
|
1019
|
+
var _CreateClusterCommand = class _CreateClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1024
1020
|
return [
|
|
1025
1021
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1026
1022
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1034,9 +1030,7 @@ var CreateClusterCommand = _CreateClusterCommand;
|
|
|
1034
1030
|
|
|
1035
1031
|
|
|
1036
1032
|
|
|
1037
|
-
var _CreateClusterSnapshotCommand = class _CreateClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1038
|
-
...commonParams
|
|
1039
|
-
}).m(function(Command, cs, config, o) {
|
|
1033
|
+
var _CreateClusterSnapshotCommand = class _CreateClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1040
1034
|
return [
|
|
1041
1035
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1042
1036
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1050,9 +1044,7 @@ var CreateClusterSnapshotCommand = _CreateClusterSnapshotCommand;
|
|
|
1050
1044
|
|
|
1051
1045
|
|
|
1052
1046
|
|
|
1053
|
-
var _DeleteClusterCommand = class _DeleteClusterCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1054
|
-
...commonParams
|
|
1055
|
-
}).m(function(Command, cs, config, o) {
|
|
1047
|
+
var _DeleteClusterCommand = class _DeleteClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1056
1048
|
return [
|
|
1057
1049
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1058
1050
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1066,9 +1058,7 @@ var DeleteClusterCommand = _DeleteClusterCommand;
|
|
|
1066
1058
|
|
|
1067
1059
|
|
|
1068
1060
|
|
|
1069
|
-
var _DeleteClusterSnapshotCommand = class _DeleteClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1070
|
-
...commonParams
|
|
1071
|
-
}).m(function(Command, cs, config, o) {
|
|
1061
|
+
var _DeleteClusterSnapshotCommand = class _DeleteClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1072
1062
|
return [
|
|
1073
1063
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1074
1064
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1082,9 +1072,7 @@ var DeleteClusterSnapshotCommand = _DeleteClusterSnapshotCommand;
|
|
|
1082
1072
|
|
|
1083
1073
|
|
|
1084
1074
|
|
|
1085
|
-
var _GetClusterCommand = class _GetClusterCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1086
|
-
...commonParams
|
|
1087
|
-
}).m(function(Command, cs, config, o) {
|
|
1075
|
+
var _GetClusterCommand = class _GetClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1088
1076
|
return [
|
|
1089
1077
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1090
1078
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1098,9 +1086,7 @@ var GetClusterCommand = _GetClusterCommand;
|
|
|
1098
1086
|
|
|
1099
1087
|
|
|
1100
1088
|
|
|
1101
|
-
var _GetClusterSnapshotCommand = class _GetClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1102
|
-
...commonParams
|
|
1103
|
-
}).m(function(Command, cs, config, o) {
|
|
1089
|
+
var _GetClusterSnapshotCommand = class _GetClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1104
1090
|
return [
|
|
1105
1091
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1106
1092
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1114,9 +1100,7 @@ var GetClusterSnapshotCommand = _GetClusterSnapshotCommand;
|
|
|
1114
1100
|
|
|
1115
1101
|
|
|
1116
1102
|
|
|
1117
|
-
var _ListClustersCommand = class _ListClustersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1118
|
-
...commonParams
|
|
1119
|
-
}).m(function(Command, cs, config, o) {
|
|
1103
|
+
var _ListClustersCommand = class _ListClustersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1120
1104
|
return [
|
|
1121
1105
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1122
1106
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1130,9 +1114,7 @@ var ListClustersCommand = _ListClustersCommand;
|
|
|
1130
1114
|
|
|
1131
1115
|
|
|
1132
1116
|
|
|
1133
|
-
var _ListClusterSnapshotsCommand = class _ListClusterSnapshotsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1134
|
-
...commonParams
|
|
1135
|
-
}).m(function(Command, cs, config, o) {
|
|
1117
|
+
var _ListClusterSnapshotsCommand = class _ListClusterSnapshotsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1136
1118
|
return [
|
|
1137
1119
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1138
1120
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1146,9 +1128,7 @@ var ListClusterSnapshotsCommand = _ListClusterSnapshotsCommand;
|
|
|
1146
1128
|
|
|
1147
1129
|
|
|
1148
1130
|
|
|
1149
|
-
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1150
|
-
...commonParams
|
|
1151
|
-
}).m(function(Command, cs, config, o) {
|
|
1131
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1152
1132
|
return [
|
|
1153
1133
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1154
1134
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1162,9 +1142,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
|
1162
1142
|
|
|
1163
1143
|
|
|
1164
1144
|
|
|
1165
|
-
var _RestoreClusterFromSnapshotCommand = class _RestoreClusterFromSnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1166
|
-
...commonParams
|
|
1167
|
-
}).m(function(Command, cs, config, o) {
|
|
1145
|
+
var _RestoreClusterFromSnapshotCommand = class _RestoreClusterFromSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1168
1146
|
return [
|
|
1169
1147
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1170
1148
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1178,9 +1156,7 @@ var RestoreClusterFromSnapshotCommand = _RestoreClusterFromSnapshotCommand;
|
|
|
1178
1156
|
|
|
1179
1157
|
|
|
1180
1158
|
|
|
1181
|
-
var _StartClusterCommand = class _StartClusterCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1182
|
-
...commonParams
|
|
1183
|
-
}).m(function(Command, cs, config, o) {
|
|
1159
|
+
var _StartClusterCommand = class _StartClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1184
1160
|
return [
|
|
1185
1161
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1186
1162
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1194,9 +1170,7 @@ var StartClusterCommand = _StartClusterCommand;
|
|
|
1194
1170
|
|
|
1195
1171
|
|
|
1196
1172
|
|
|
1197
|
-
var _StopClusterCommand = class _StopClusterCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1198
|
-
...commonParams
|
|
1199
|
-
}).m(function(Command, cs, config, o) {
|
|
1173
|
+
var _StopClusterCommand = class _StopClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1200
1174
|
return [
|
|
1201
1175
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1202
1176
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1210,9 +1184,7 @@ var StopClusterCommand = _StopClusterCommand;
|
|
|
1210
1184
|
|
|
1211
1185
|
|
|
1212
1186
|
|
|
1213
|
-
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1214
|
-
...commonParams
|
|
1215
|
-
}).m(function(Command, cs, config, o) {
|
|
1187
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1216
1188
|
return [
|
|
1217
1189
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1218
1190
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1226,9 +1198,7 @@ var TagResourceCommand = _TagResourceCommand;
|
|
|
1226
1198
|
|
|
1227
1199
|
|
|
1228
1200
|
|
|
1229
|
-
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1230
|
-
...commonParams
|
|
1231
|
-
}).m(function(Command, cs, config, o) {
|
|
1201
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1232
1202
|
return [
|
|
1233
1203
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1234
1204
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1242,9 +1212,7 @@ var UntagResourceCommand = _UntagResourceCommand;
|
|
|
1242
1212
|
|
|
1243
1213
|
|
|
1244
1214
|
|
|
1245
|
-
var _UpdateClusterCommand = class _UpdateClusterCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1246
|
-
...commonParams
|
|
1247
|
-
}).m(function(Command, cs, config, o) {
|
|
1215
|
+
var _UpdateClusterCommand = class _UpdateClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1248
1216
|
return [
|
|
1249
1217
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1250
1218
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -6,9 +6,7 @@ import { de_CopyClusterSnapshotCommand, se_CopyClusterSnapshotCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class CopyClusterSnapshotCommand 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_CreateClusterCommand, se_CreateClusterCommand } from "../protocols/A
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateClusterCommand 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_CreateClusterSnapshotCommand, se_CreateClusterSnapshotCommand } from
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class CreateClusterSnapshotCommand 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_DeleteClusterCommand, se_DeleteClusterCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteClusterCommand 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_DeleteClusterSnapshotCommand, se_DeleteClusterSnapshotCommand } from
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteClusterSnapshotCommand 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_GetClusterCommand, se_GetClusterCommand } from "../protocols/Aws_res
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetClusterCommand 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_GetClusterSnapshotCommand, se_GetClusterSnapshotCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetClusterSnapshotCommand 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_ListClusterSnapshotsCommand, se_ListClusterSnapshotsCommand } from "
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListClusterSnapshotsCommand 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_ListClustersCommand, se_ListClustersCommand } from "../protocols/Aws
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListClustersCommand 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_RestoreClusterFromSnapshotCommand, se_RestoreClusterFromSnapshotComm
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class RestoreClusterFromSnapshotCommand 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_StartClusterCommand, se_StartClusterCommand } from "../protocols/Aws
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartClusterCommand 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_StopClusterCommand, se_StopClusterCommand } from "../protocols/Aws_r
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StopClusterCommand 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),
|
|
@@ -7,9 +7,7 @@ import { de_UpdateClusterCommand, se_UpdateClusterCommand } from "../protocols/A
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UpdateClusterCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
-
return resolveEndpoint(ruleSet, {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
6
10
|
endpointParams: endpointParams,
|
|
7
11
|
logger: context.logger,
|
|
8
|
-
});
|
|
12
|
+
}));
|
|
9
13
|
};
|
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
|
|
|
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: DocDBElasticClientConfig) => {
|
|
|
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").DocDBElasticHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
|
|
|
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: DocDBElasticClientConfig) => {
|
|
|
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").DocDBElasticHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
|
|
|
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: DocDBElasticClientConfig) => {
|
|
|
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").DocDBElasticHttpAuthSchemeProvider;
|
|
38
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
|
|
|
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: DocDBElasticClientConfig) => {
|
|
|
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").DocDBElasticHttpAuthSchemeProvider;
|
|
66
68
|
credentials?:
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
|
|
|
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: DocDBElasticClientConfig) => {
|
|
|
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").DocDBElasticHttpAuthSchemeProvider;
|
|
70
72
|
credentials?:
|
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
|
|
|
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: DocDBElasticClientConfig) => {
|
|
|
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").DocDBElasticHttpAuthSchemeProvider;
|
|
60
62
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-docdb-elastic",
|
|
3
3
|
"description": "AWS SDK for JavaScript Docdb Elastic 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-docdb-elastic",
|
|
@@ -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"
|