@aws-sdk/client-docdb-elastic 3.721.0 → 3.723.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/index.js CHANGED
@@ -160,7 +160,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
160
160
  }, "resolveRuntimeExtensions");
161
161
 
162
162
  // src/DocDBElasticClient.ts
163
- var _DocDBElasticClient = class _DocDBElasticClient extends import_smithy_client.Client {
163
+ var DocDBElasticClient = class extends import_smithy_client.Client {
164
+ static {
165
+ __name(this, "DocDBElasticClient");
166
+ }
167
+ /**
168
+ * The resolved configuration of DocDBElasticClient class. This is resolved and normalized from the {@link DocDBElasticClientConfig | constructor configuration interface}.
169
+ */
170
+ config;
164
171
  constructor(...[configuration]) {
165
172
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
166
173
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -170,7 +177,7 @@ var _DocDBElasticClient = class _DocDBElasticClient extends import_smithy_client
170
177
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
171
178
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
172
179
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
173
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
180
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
174
181
  super(_config_8);
175
182
  this.config = _config_8;
176
183
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -198,8 +205,6 @@ var _DocDBElasticClient = class _DocDBElasticClient extends import_smithy_client
198
205
  super.destroy();
199
206
  }
200
207
  };
201
- __name(_DocDBElasticClient, "DocDBElasticClient");
202
- var DocDBElasticClient = _DocDBElasticClient;
203
208
 
204
209
  // src/DocDBElastic.ts
205
210
 
@@ -217,7 +222,10 @@ var import_uuid = require("uuid");
217
222
 
218
223
  // src/models/DocDBElasticServiceException.ts
219
224
 
220
- var _DocDBElasticServiceException = class _DocDBElasticServiceException extends import_smithy_client.ServiceException {
225
+ var DocDBElasticServiceException = class _DocDBElasticServiceException extends import_smithy_client.ServiceException {
226
+ static {
227
+ __name(this, "DocDBElasticServiceException");
228
+ }
221
229
  /**
222
230
  * @internal
223
231
  */
@@ -226,12 +234,15 @@ var _DocDBElasticServiceException = class _DocDBElasticServiceException extends
226
234
  Object.setPrototypeOf(this, _DocDBElasticServiceException.prototype);
227
235
  }
228
236
  };
229
- __name(_DocDBElasticServiceException, "DocDBElasticServiceException");
230
- var DocDBElasticServiceException = _DocDBElasticServiceException;
231
237
 
232
238
  // src/models/models_0.ts
233
239
 
234
- var _AccessDeniedException = class _AccessDeniedException extends DocDBElasticServiceException {
240
+ var AccessDeniedException = class _AccessDeniedException extends DocDBElasticServiceException {
241
+ static {
242
+ __name(this, "AccessDeniedException");
243
+ }
244
+ name = "AccessDeniedException";
245
+ $fault = "client";
235
246
  /**
236
247
  * @internal
237
248
  */
@@ -241,20 +252,31 @@ var _AccessDeniedException = class _AccessDeniedException extends DocDBElasticSe
241
252
  $fault: "client",
242
253
  ...opts
243
254
  });
244
- this.name = "AccessDeniedException";
245
- this.$fault = "client";
246
255
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
247
256
  }
248
257
  };
249
- __name(_AccessDeniedException, "AccessDeniedException");
250
- var AccessDeniedException = _AccessDeniedException;
251
258
  var OptInType = {
252
259
  APPLY_ON: "APPLY_ON",
253
260
  IMMEDIATE: "IMMEDIATE",
254
261
  NEXT_MAINTENANCE: "NEXT_MAINTENANCE",
255
262
  UNDO_OPT_IN: "UNDO_OPT_IN"
256
263
  };
257
- var _ConflictException = class _ConflictException extends DocDBElasticServiceException {
264
+ var ConflictException = class _ConflictException extends DocDBElasticServiceException {
265
+ static {
266
+ __name(this, "ConflictException");
267
+ }
268
+ name = "ConflictException";
269
+ $fault = "client";
270
+ /**
271
+ * <p>The ID of the resource where there was an access conflict.</p>
272
+ * @public
273
+ */
274
+ resourceId;
275
+ /**
276
+ * <p>The type of the resource where there was an access conflict.</p>
277
+ * @public
278
+ */
279
+ resourceType;
258
280
  /**
259
281
  * @internal
260
282
  */
@@ -264,16 +286,18 @@ var _ConflictException = class _ConflictException extends DocDBElasticServiceExc
264
286
  $fault: "client",
265
287
  ...opts
266
288
  });
267
- this.name = "ConflictException";
268
- this.$fault = "client";
269
289
  Object.setPrototypeOf(this, _ConflictException.prototype);
270
290
  this.resourceId = opts.resourceId;
271
291
  this.resourceType = opts.resourceType;
272
292
  }
273
293
  };
274
- __name(_ConflictException, "ConflictException");
275
- var ConflictException = _ConflictException;
276
- var _InternalServerException = class _InternalServerException extends DocDBElasticServiceException {
294
+ var InternalServerException = class _InternalServerException extends DocDBElasticServiceException {
295
+ static {
296
+ __name(this, "InternalServerException");
297
+ }
298
+ name = "InternalServerException";
299
+ $fault = "server";
300
+ $retryable = {};
277
301
  /**
278
302
  * @internal
279
303
  */
@@ -283,15 +307,25 @@ var _InternalServerException = class _InternalServerException extends DocDBElast
283
307
  $fault: "server",
284
308
  ...opts
285
309
  });
286
- this.name = "InternalServerException";
287
- this.$fault = "server";
288
- this.$retryable = {};
289
310
  Object.setPrototypeOf(this, _InternalServerException.prototype);
290
311
  }
291
312
  };
292
- __name(_InternalServerException, "InternalServerException");
293
- var InternalServerException = _InternalServerException;
294
- var _ResourceNotFoundException = class _ResourceNotFoundException extends DocDBElasticServiceException {
313
+ var ResourceNotFoundException = class _ResourceNotFoundException extends DocDBElasticServiceException {
314
+ static {
315
+ __name(this, "ResourceNotFoundException");
316
+ }
317
+ name = "ResourceNotFoundException";
318
+ $fault = "client";
319
+ /**
320
+ * <p>The ID of the resource that could not be located.</p>
321
+ * @public
322
+ */
323
+ resourceId;
324
+ /**
325
+ * <p>The type of the resource that could not be found.</p>
326
+ * @public
327
+ */
328
+ resourceType;
295
329
  /**
296
330
  * @internal
297
331
  */
@@ -301,16 +335,23 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends DocDBE
301
335
  $fault: "client",
302
336
  ...opts
303
337
  });
304
- this.name = "ResourceNotFoundException";
305
- this.$fault = "client";
306
338
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
307
339
  this.resourceId = opts.resourceId;
308
340
  this.resourceType = opts.resourceType;
309
341
  }
310
342
  };
311
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
312
- var ResourceNotFoundException = _ResourceNotFoundException;
313
- var _ThrottlingException = class _ThrottlingException extends DocDBElasticServiceException {
343
+ var ThrottlingException = class _ThrottlingException extends DocDBElasticServiceException {
344
+ static {
345
+ __name(this, "ThrottlingException");
346
+ }
347
+ name = "ThrottlingException";
348
+ $fault = "client";
349
+ $retryable = {};
350
+ /**
351
+ * <p>The number of seconds to wait before retrying the operation.</p>
352
+ * @public
353
+ */
354
+ retryAfterSeconds;
314
355
  /**
315
356
  * @internal
316
357
  */
@@ -320,22 +361,33 @@ var _ThrottlingException = class _ThrottlingException extends DocDBElasticServic
320
361
  $fault: "client",
321
362
  ...opts
322
363
  });
323
- this.name = "ThrottlingException";
324
- this.$fault = "client";
325
- this.$retryable = {};
326
364
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
327
365
  this.retryAfterSeconds = opts.retryAfterSeconds;
328
366
  }
329
367
  };
330
- __name(_ThrottlingException, "ThrottlingException");
331
- var ThrottlingException = _ThrottlingException;
332
368
  var ValidationExceptionReason = {
333
369
  CANNOT_PARSE: "cannotParse",
334
370
  FIELD_VALIDATION_FAILED: "fieldValidationFailed",
335
371
  OTHER: "other",
336
372
  UNKNOWN_OPERATION: "unknownOperation"
337
373
  };
338
- var _ValidationException = class _ValidationException extends DocDBElasticServiceException {
374
+ var ValidationException = class _ValidationException extends DocDBElasticServiceException {
375
+ static {
376
+ __name(this, "ValidationException");
377
+ }
378
+ name = "ValidationException";
379
+ $fault = "client";
380
+ /**
381
+ * <p>The reason why the validation exception occurred (one of <code>unknownOperation</code>,
382
+ * <code>cannotParse</code>, <code>fieldValidationFailed</code>, or <code>other</code>).</p>
383
+ * @public
384
+ */
385
+ reason;
386
+ /**
387
+ * <p>A list of the fields in which the validation exception occurred.</p>
388
+ * @public
389
+ */
390
+ fieldList;
339
391
  /**
340
392
  * @internal
341
393
  */
@@ -345,15 +397,11 @@ var _ValidationException = class _ValidationException extends DocDBElasticServic
345
397
  $fault: "client",
346
398
  ...opts
347
399
  });
348
- this.name = "ValidationException";
349
- this.$fault = "client";
350
400
  Object.setPrototypeOf(this, _ValidationException.prototype);
351
401
  this.reason = opts.reason;
352
402
  this.fieldList = opts.fieldList;
353
403
  }
354
404
  };
355
- __name(_ValidationException, "ValidationException");
356
- var ValidationException = _ValidationException;
357
405
  var Auth = {
358
406
  PLAIN_TEXT: "PLAIN_TEXT",
359
407
  SECRET_ARN: "SECRET_ARN"
@@ -385,7 +433,12 @@ var Status = {
385
433
  UPDATING: "UPDATING",
386
434
  VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED"
387
435
  };
388
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends DocDBElasticServiceException {
436
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends DocDBElasticServiceException {
437
+ static {
438
+ __name(this, "ServiceQuotaExceededException");
439
+ }
440
+ name = "ServiceQuotaExceededException";
441
+ $fault = "client";
389
442
  /**
390
443
  * @internal
391
444
  */
@@ -395,13 +448,9 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
395
448
  $fault: "client",
396
449
  ...opts
397
450
  });
398
- this.name = "ServiceQuotaExceededException";
399
- this.$fault = "client";
400
451
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
401
452
  }
402
453
  };
403
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
404
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
405
454
  var CreateClusterInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
406
455
  ...obj,
407
456
  ...obj.adminUserPassword && { adminUserPassword: import_smithy_client.SENSITIVE_STRING }
@@ -1094,267 +1143,286 @@ var _sT = "snapshotType";
1094
1143
  var _tK = "tagKeys";
1095
1144
 
1096
1145
  // src/commands/ApplyPendingMaintenanceActionCommand.ts
1097
- var _ApplyPendingMaintenanceActionCommand = class _ApplyPendingMaintenanceActionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1146
+ var ApplyPendingMaintenanceActionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1098
1147
  return [
1099
1148
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1100
1149
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1101
1150
  ];
1102
1151
  }).s("ChimeraDbLionfishServiceLambda", "ApplyPendingMaintenanceAction", {}).n("DocDBElasticClient", "ApplyPendingMaintenanceActionCommand").f(void 0, void 0).ser(se_ApplyPendingMaintenanceActionCommand).de(de_ApplyPendingMaintenanceActionCommand).build() {
1152
+ static {
1153
+ __name(this, "ApplyPendingMaintenanceActionCommand");
1154
+ }
1103
1155
  };
1104
- __name(_ApplyPendingMaintenanceActionCommand, "ApplyPendingMaintenanceActionCommand");
1105
- var ApplyPendingMaintenanceActionCommand = _ApplyPendingMaintenanceActionCommand;
1106
1156
 
1107
1157
  // src/commands/CopyClusterSnapshotCommand.ts
1108
1158
 
1109
1159
 
1110
1160
 
1111
- var _CopyClusterSnapshotCommand = class _CopyClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1161
+ var CopyClusterSnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1112
1162
  return [
1113
1163
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1114
1164
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1115
1165
  ];
1116
1166
  }).s("ChimeraDbLionfishServiceLambda", "CopyClusterSnapshot", {}).n("DocDBElasticClient", "CopyClusterSnapshotCommand").f(void 0, void 0).ser(se_CopyClusterSnapshotCommand).de(de_CopyClusterSnapshotCommand).build() {
1167
+ static {
1168
+ __name(this, "CopyClusterSnapshotCommand");
1169
+ }
1117
1170
  };
1118
- __name(_CopyClusterSnapshotCommand, "CopyClusterSnapshotCommand");
1119
- var CopyClusterSnapshotCommand = _CopyClusterSnapshotCommand;
1120
1171
 
1121
1172
  // src/commands/CreateClusterCommand.ts
1122
1173
 
1123
1174
 
1124
1175
 
1125
- var _CreateClusterCommand = class _CreateClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1176
+ var CreateClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1126
1177
  return [
1127
1178
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1128
1179
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1129
1180
  ];
1130
1181
  }).s("ChimeraDbLionfishServiceLambda", "CreateCluster", {}).n("DocDBElasticClient", "CreateClusterCommand").f(CreateClusterInputFilterSensitiveLog, void 0).ser(se_CreateClusterCommand).de(de_CreateClusterCommand).build() {
1182
+ static {
1183
+ __name(this, "CreateClusterCommand");
1184
+ }
1131
1185
  };
1132
- __name(_CreateClusterCommand, "CreateClusterCommand");
1133
- var CreateClusterCommand = _CreateClusterCommand;
1134
1186
 
1135
1187
  // src/commands/CreateClusterSnapshotCommand.ts
1136
1188
 
1137
1189
 
1138
1190
 
1139
- var _CreateClusterSnapshotCommand = class _CreateClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1191
+ var CreateClusterSnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1140
1192
  return [
1141
1193
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1142
1194
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1143
1195
  ];
1144
1196
  }).s("ChimeraDbLionfishServiceLambda", "CreateClusterSnapshot", {}).n("DocDBElasticClient", "CreateClusterSnapshotCommand").f(void 0, void 0).ser(se_CreateClusterSnapshotCommand).de(de_CreateClusterSnapshotCommand).build() {
1197
+ static {
1198
+ __name(this, "CreateClusterSnapshotCommand");
1199
+ }
1145
1200
  };
1146
- __name(_CreateClusterSnapshotCommand, "CreateClusterSnapshotCommand");
1147
- var CreateClusterSnapshotCommand = _CreateClusterSnapshotCommand;
1148
1201
 
1149
1202
  // src/commands/DeleteClusterCommand.ts
1150
1203
 
1151
1204
 
1152
1205
 
1153
- var _DeleteClusterCommand = class _DeleteClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1206
+ var DeleteClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1154
1207
  return [
1155
1208
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1156
1209
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1157
1210
  ];
1158
1211
  }).s("ChimeraDbLionfishServiceLambda", "DeleteCluster", {}).n("DocDBElasticClient", "DeleteClusterCommand").f(void 0, void 0).ser(se_DeleteClusterCommand).de(de_DeleteClusterCommand).build() {
1212
+ static {
1213
+ __name(this, "DeleteClusterCommand");
1214
+ }
1159
1215
  };
1160
- __name(_DeleteClusterCommand, "DeleteClusterCommand");
1161
- var DeleteClusterCommand = _DeleteClusterCommand;
1162
1216
 
1163
1217
  // src/commands/DeleteClusterSnapshotCommand.ts
1164
1218
 
1165
1219
 
1166
1220
 
1167
- var _DeleteClusterSnapshotCommand = class _DeleteClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1221
+ var DeleteClusterSnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1168
1222
  return [
1169
1223
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1170
1224
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1171
1225
  ];
1172
1226
  }).s("ChimeraDbLionfishServiceLambda", "DeleteClusterSnapshot", {}).n("DocDBElasticClient", "DeleteClusterSnapshotCommand").f(void 0, void 0).ser(se_DeleteClusterSnapshotCommand).de(de_DeleteClusterSnapshotCommand).build() {
1227
+ static {
1228
+ __name(this, "DeleteClusterSnapshotCommand");
1229
+ }
1173
1230
  };
1174
- __name(_DeleteClusterSnapshotCommand, "DeleteClusterSnapshotCommand");
1175
- var DeleteClusterSnapshotCommand = _DeleteClusterSnapshotCommand;
1176
1231
 
1177
1232
  // src/commands/GetClusterCommand.ts
1178
1233
 
1179
1234
 
1180
1235
 
1181
- var _GetClusterCommand = class _GetClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1236
+ var GetClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1182
1237
  return [
1183
1238
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1184
1239
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1185
1240
  ];
1186
1241
  }).s("ChimeraDbLionfishServiceLambda", "GetCluster", {}).n("DocDBElasticClient", "GetClusterCommand").f(void 0, void 0).ser(se_GetClusterCommand).de(de_GetClusterCommand).build() {
1242
+ static {
1243
+ __name(this, "GetClusterCommand");
1244
+ }
1187
1245
  };
1188
- __name(_GetClusterCommand, "GetClusterCommand");
1189
- var GetClusterCommand = _GetClusterCommand;
1190
1246
 
1191
1247
  // src/commands/GetClusterSnapshotCommand.ts
1192
1248
 
1193
1249
 
1194
1250
 
1195
- var _GetClusterSnapshotCommand = class _GetClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1251
+ var GetClusterSnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1196
1252
  return [
1197
1253
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1198
1254
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1199
1255
  ];
1200
1256
  }).s("ChimeraDbLionfishServiceLambda", "GetClusterSnapshot", {}).n("DocDBElasticClient", "GetClusterSnapshotCommand").f(void 0, void 0).ser(se_GetClusterSnapshotCommand).de(de_GetClusterSnapshotCommand).build() {
1257
+ static {
1258
+ __name(this, "GetClusterSnapshotCommand");
1259
+ }
1201
1260
  };
1202
- __name(_GetClusterSnapshotCommand, "GetClusterSnapshotCommand");
1203
- var GetClusterSnapshotCommand = _GetClusterSnapshotCommand;
1204
1261
 
1205
1262
  // src/commands/GetPendingMaintenanceActionCommand.ts
1206
1263
 
1207
1264
 
1208
1265
 
1209
- var _GetPendingMaintenanceActionCommand = class _GetPendingMaintenanceActionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1266
+ var GetPendingMaintenanceActionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1210
1267
  return [
1211
1268
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1212
1269
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1213
1270
  ];
1214
1271
  }).s("ChimeraDbLionfishServiceLambda", "GetPendingMaintenanceAction", {}).n("DocDBElasticClient", "GetPendingMaintenanceActionCommand").f(void 0, void 0).ser(se_GetPendingMaintenanceActionCommand).de(de_GetPendingMaintenanceActionCommand).build() {
1272
+ static {
1273
+ __name(this, "GetPendingMaintenanceActionCommand");
1274
+ }
1215
1275
  };
1216
- __name(_GetPendingMaintenanceActionCommand, "GetPendingMaintenanceActionCommand");
1217
- var GetPendingMaintenanceActionCommand = _GetPendingMaintenanceActionCommand;
1218
1276
 
1219
1277
  // src/commands/ListClustersCommand.ts
1220
1278
 
1221
1279
 
1222
1280
 
1223
- var _ListClustersCommand = class _ListClustersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1281
+ var ListClustersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1224
1282
  return [
1225
1283
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1226
1284
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1227
1285
  ];
1228
1286
  }).s("ChimeraDbLionfishServiceLambda", "ListClusters", {}).n("DocDBElasticClient", "ListClustersCommand").f(void 0, void 0).ser(se_ListClustersCommand).de(de_ListClustersCommand).build() {
1287
+ static {
1288
+ __name(this, "ListClustersCommand");
1289
+ }
1229
1290
  };
1230
- __name(_ListClustersCommand, "ListClustersCommand");
1231
- var ListClustersCommand = _ListClustersCommand;
1232
1291
 
1233
1292
  // src/commands/ListClusterSnapshotsCommand.ts
1234
1293
 
1235
1294
 
1236
1295
 
1237
- var _ListClusterSnapshotsCommand = class _ListClusterSnapshotsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1296
+ var ListClusterSnapshotsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1238
1297
  return [
1239
1298
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1240
1299
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1241
1300
  ];
1242
1301
  }).s("ChimeraDbLionfishServiceLambda", "ListClusterSnapshots", {}).n("DocDBElasticClient", "ListClusterSnapshotsCommand").f(void 0, void 0).ser(se_ListClusterSnapshotsCommand).de(de_ListClusterSnapshotsCommand).build() {
1302
+ static {
1303
+ __name(this, "ListClusterSnapshotsCommand");
1304
+ }
1243
1305
  };
1244
- __name(_ListClusterSnapshotsCommand, "ListClusterSnapshotsCommand");
1245
- var ListClusterSnapshotsCommand = _ListClusterSnapshotsCommand;
1246
1306
 
1247
1307
  // src/commands/ListPendingMaintenanceActionsCommand.ts
1248
1308
 
1249
1309
 
1250
1310
 
1251
- var _ListPendingMaintenanceActionsCommand = class _ListPendingMaintenanceActionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1311
+ var ListPendingMaintenanceActionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1252
1312
  return [
1253
1313
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1254
1314
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1255
1315
  ];
1256
1316
  }).s("ChimeraDbLionfishServiceLambda", "ListPendingMaintenanceActions", {}).n("DocDBElasticClient", "ListPendingMaintenanceActionsCommand").f(void 0, void 0).ser(se_ListPendingMaintenanceActionsCommand).de(de_ListPendingMaintenanceActionsCommand).build() {
1317
+ static {
1318
+ __name(this, "ListPendingMaintenanceActionsCommand");
1319
+ }
1257
1320
  };
1258
- __name(_ListPendingMaintenanceActionsCommand, "ListPendingMaintenanceActionsCommand");
1259
- var ListPendingMaintenanceActionsCommand = _ListPendingMaintenanceActionsCommand;
1260
1321
 
1261
1322
  // src/commands/ListTagsForResourceCommand.ts
1262
1323
 
1263
1324
 
1264
1325
 
1265
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1326
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1266
1327
  return [
1267
1328
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1268
1329
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1269
1330
  ];
1270
1331
  }).s("ChimeraDbLionfishServiceLambda", "ListTagsForResource", {}).n("DocDBElasticClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1332
+ static {
1333
+ __name(this, "ListTagsForResourceCommand");
1334
+ }
1271
1335
  };
1272
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1273
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1274
1336
 
1275
1337
  // src/commands/RestoreClusterFromSnapshotCommand.ts
1276
1338
 
1277
1339
 
1278
1340
 
1279
- var _RestoreClusterFromSnapshotCommand = class _RestoreClusterFromSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1341
+ var RestoreClusterFromSnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1280
1342
  return [
1281
1343
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1282
1344
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1283
1345
  ];
1284
1346
  }).s("ChimeraDbLionfishServiceLambda", "RestoreClusterFromSnapshot", {}).n("DocDBElasticClient", "RestoreClusterFromSnapshotCommand").f(void 0, void 0).ser(se_RestoreClusterFromSnapshotCommand).de(de_RestoreClusterFromSnapshotCommand).build() {
1347
+ static {
1348
+ __name(this, "RestoreClusterFromSnapshotCommand");
1349
+ }
1285
1350
  };
1286
- __name(_RestoreClusterFromSnapshotCommand, "RestoreClusterFromSnapshotCommand");
1287
- var RestoreClusterFromSnapshotCommand = _RestoreClusterFromSnapshotCommand;
1288
1351
 
1289
1352
  // src/commands/StartClusterCommand.ts
1290
1353
 
1291
1354
 
1292
1355
 
1293
- var _StartClusterCommand = class _StartClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1356
+ var StartClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1294
1357
  return [
1295
1358
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1296
1359
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1297
1360
  ];
1298
1361
  }).s("ChimeraDbLionfishServiceLambda", "StartCluster", {}).n("DocDBElasticClient", "StartClusterCommand").f(void 0, void 0).ser(se_StartClusterCommand).de(de_StartClusterCommand).build() {
1362
+ static {
1363
+ __name(this, "StartClusterCommand");
1364
+ }
1299
1365
  };
1300
- __name(_StartClusterCommand, "StartClusterCommand");
1301
- var StartClusterCommand = _StartClusterCommand;
1302
1366
 
1303
1367
  // src/commands/StopClusterCommand.ts
1304
1368
 
1305
1369
 
1306
1370
 
1307
- var _StopClusterCommand = class _StopClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1371
+ var StopClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1308
1372
  return [
1309
1373
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1310
1374
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1311
1375
  ];
1312
1376
  }).s("ChimeraDbLionfishServiceLambda", "StopCluster", {}).n("DocDBElasticClient", "StopClusterCommand").f(void 0, void 0).ser(se_StopClusterCommand).de(de_StopClusterCommand).build() {
1377
+ static {
1378
+ __name(this, "StopClusterCommand");
1379
+ }
1313
1380
  };
1314
- __name(_StopClusterCommand, "StopClusterCommand");
1315
- var StopClusterCommand = _StopClusterCommand;
1316
1381
 
1317
1382
  // src/commands/TagResourceCommand.ts
1318
1383
 
1319
1384
 
1320
1385
 
1321
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1386
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1322
1387
  return [
1323
1388
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1324
1389
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1325
1390
  ];
1326
1391
  }).s("ChimeraDbLionfishServiceLambda", "TagResource", {}).n("DocDBElasticClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1392
+ static {
1393
+ __name(this, "TagResourceCommand");
1394
+ }
1327
1395
  };
1328
- __name(_TagResourceCommand, "TagResourceCommand");
1329
- var TagResourceCommand = _TagResourceCommand;
1330
1396
 
1331
1397
  // src/commands/UntagResourceCommand.ts
1332
1398
 
1333
1399
 
1334
1400
 
1335
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1401
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1336
1402
  return [
1337
1403
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1338
1404
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1339
1405
  ];
1340
1406
  }).s("ChimeraDbLionfishServiceLambda", "UntagResource", {}).n("DocDBElasticClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1407
+ static {
1408
+ __name(this, "UntagResourceCommand");
1409
+ }
1341
1410
  };
1342
- __name(_UntagResourceCommand, "UntagResourceCommand");
1343
- var UntagResourceCommand = _UntagResourceCommand;
1344
1411
 
1345
1412
  // src/commands/UpdateClusterCommand.ts
1346
1413
 
1347
1414
 
1348
1415
 
1349
- var _UpdateClusterCommand = class _UpdateClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1416
+ var UpdateClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1350
1417
  return [
1351
1418
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1352
1419
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1353
1420
  ];
1354
1421
  }).s("ChimeraDbLionfishServiceLambda", "UpdateCluster", {}).n("DocDBElasticClient", "UpdateClusterCommand").f(UpdateClusterInputFilterSensitiveLog, void 0).ser(se_UpdateClusterCommand).de(de_UpdateClusterCommand).build() {
1422
+ static {
1423
+ __name(this, "UpdateClusterCommand");
1424
+ }
1355
1425
  };
1356
- __name(_UpdateClusterCommand, "UpdateClusterCommand");
1357
- var UpdateClusterCommand = _UpdateClusterCommand;
1358
1426
 
1359
1427
  // src/DocDBElastic.ts
1360
1428
  var commands = {
@@ -1378,10 +1446,11 @@ var commands = {
1378
1446
  UntagResourceCommand,
1379
1447
  UpdateClusterCommand
1380
1448
  };
1381
- var _DocDBElastic = class _DocDBElastic extends DocDBElasticClient {
1449
+ var DocDBElastic = class extends DocDBElasticClient {
1450
+ static {
1451
+ __name(this, "DocDBElastic");
1452
+ }
1382
1453
  };
1383
- __name(_DocDBElastic, "DocDBElastic");
1384
- var DocDBElastic = _DocDBElastic;
1385
1454
  (0, import_smithy_client.createAggregatedClient)(commands, DocDBElastic);
1386
1455
 
1387
1456
  // src/pagination/ListClusterSnapshotsPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class DocDBElasticClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,14 +1,14 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { DocDBElasticServiceException as __BaseException } from "./DocDBElasticServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
4
6
  constructor(opts) {
5
7
  super({
6
8
  name: "AccessDeniedException",
7
9
  $fault: "client",
8
10
  ...opts,
9
11
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
@@ -19,56 +19,61 @@ export const OptInType = {
19
19
  UNDO_OPT_IN: "UNDO_OPT_IN",
20
20
  };
21
21
  export class ConflictException extends __BaseException {
22
+ name = "ConflictException";
23
+ $fault = "client";
24
+ resourceId;
25
+ resourceType;
22
26
  constructor(opts) {
23
27
  super({
24
28
  name: "ConflictException",
25
29
  $fault: "client",
26
30
  ...opts,
27
31
  });
28
- this.name = "ConflictException";
29
- this.$fault = "client";
30
32
  Object.setPrototypeOf(this, ConflictException.prototype);
31
33
  this.resourceId = opts.resourceId;
32
34
  this.resourceType = opts.resourceType;
33
35
  }
34
36
  }
35
37
  export class InternalServerException extends __BaseException {
38
+ name = "InternalServerException";
39
+ $fault = "server";
40
+ $retryable = {};
36
41
  constructor(opts) {
37
42
  super({
38
43
  name: "InternalServerException",
39
44
  $fault: "server",
40
45
  ...opts,
41
46
  });
42
- this.name = "InternalServerException";
43
- this.$fault = "server";
44
- this.$retryable = {};
45
47
  Object.setPrototypeOf(this, InternalServerException.prototype);
46
48
  }
47
49
  }
48
50
  export class ResourceNotFoundException extends __BaseException {
51
+ name = "ResourceNotFoundException";
52
+ $fault = "client";
53
+ resourceId;
54
+ resourceType;
49
55
  constructor(opts) {
50
56
  super({
51
57
  name: "ResourceNotFoundException",
52
58
  $fault: "client",
53
59
  ...opts,
54
60
  });
55
- this.name = "ResourceNotFoundException";
56
- this.$fault = "client";
57
61
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
58
62
  this.resourceId = opts.resourceId;
59
63
  this.resourceType = opts.resourceType;
60
64
  }
61
65
  }
62
66
  export class ThrottlingException extends __BaseException {
67
+ name = "ThrottlingException";
68
+ $fault = "client";
69
+ $retryable = {};
70
+ retryAfterSeconds;
63
71
  constructor(opts) {
64
72
  super({
65
73
  name: "ThrottlingException",
66
74
  $fault: "client",
67
75
  ...opts,
68
76
  });
69
- this.name = "ThrottlingException";
70
- this.$fault = "client";
71
- this.$retryable = {};
72
77
  Object.setPrototypeOf(this, ThrottlingException.prototype);
73
78
  this.retryAfterSeconds = opts.retryAfterSeconds;
74
79
  }
@@ -80,14 +85,16 @@ export const ValidationExceptionReason = {
80
85
  UNKNOWN_OPERATION: "unknownOperation",
81
86
  };
82
87
  export class ValidationException extends __BaseException {
88
+ name = "ValidationException";
89
+ $fault = "client";
90
+ reason;
91
+ fieldList;
83
92
  constructor(opts) {
84
93
  super({
85
94
  name: "ValidationException",
86
95
  $fault: "client",
87
96
  ...opts,
88
97
  });
89
- this.name = "ValidationException";
90
- this.$fault = "client";
91
98
  Object.setPrototypeOf(this, ValidationException.prototype);
92
99
  this.reason = opts.reason;
93
100
  this.fieldList = opts.fieldList;
@@ -125,14 +132,14 @@ export const Status = {
125
132
  VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
126
133
  };
127
134
  export class ServiceQuotaExceededException extends __BaseException {
135
+ name = "ServiceQuotaExceededException";
136
+ $fault = "client";
128
137
  constructor(opts) {
129
138
  super({
130
139
  name: "ServiceQuotaExceededException",
131
140
  $fault: "client",
132
141
  ...opts,
133
142
  });
134
- this.name = "ServiceQuotaExceededException";
135
- this.$fault = "client";
136
143
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
137
144
  }
138
145
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: DocDBElasticClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
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.721.0",
4
+ "version": "3.723.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,58 +20,58 @@
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.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {