@aws-sdk/client-secrets-manager 3.716.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
@@ -172,7 +172,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
172
172
  }, "resolveRuntimeExtensions");
173
173
 
174
174
  // src/SecretsManagerClient.ts
175
- var _SecretsManagerClient = class _SecretsManagerClient extends import_smithy_client.Client {
175
+ var SecretsManagerClient = class extends import_smithy_client.Client {
176
+ static {
177
+ __name(this, "SecretsManagerClient");
178
+ }
179
+ /**
180
+ * The resolved configuration of SecretsManagerClient class. This is resolved and normalized from the {@link SecretsManagerClientConfig | constructor configuration interface}.
181
+ */
182
+ config;
176
183
  constructor(...[configuration]) {
177
184
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
178
185
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -182,7 +189,7 @@ var _SecretsManagerClient = class _SecretsManagerClient extends import_smithy_cl
182
189
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
183
190
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
184
191
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
185
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
192
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
186
193
  super(_config_8);
187
194
  this.config = _config_8;
188
195
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -210,8 +217,6 @@ var _SecretsManagerClient = class _SecretsManagerClient extends import_smithy_cl
210
217
  super.destroy();
211
218
  }
212
219
  };
213
- __name(_SecretsManagerClient, "SecretsManagerClient");
214
- var SecretsManagerClient = _SecretsManagerClient;
215
220
 
216
221
  // src/SecretsManager.ts
217
222
 
@@ -226,7 +231,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
226
231
 
227
232
  // src/models/SecretsManagerServiceException.ts
228
233
 
229
- var _SecretsManagerServiceException = class _SecretsManagerServiceException extends import_smithy_client.ServiceException {
234
+ var SecretsManagerServiceException = class _SecretsManagerServiceException extends import_smithy_client.ServiceException {
235
+ static {
236
+ __name(this, "SecretsManagerServiceException");
237
+ }
230
238
  /**
231
239
  * @internal
232
240
  */
@@ -235,8 +243,6 @@ var _SecretsManagerServiceException = class _SecretsManagerServiceException exte
235
243
  Object.setPrototypeOf(this, _SecretsManagerServiceException.prototype);
236
244
  }
237
245
  };
238
- __name(_SecretsManagerServiceException, "SecretsManagerServiceException");
239
- var SecretsManagerServiceException = _SecretsManagerServiceException;
240
246
 
241
247
  // src/models/models_0.ts
242
248
  var FilterNameStringType = {
@@ -248,7 +254,13 @@ var FilterNameStringType = {
248
254
  tag_key: "tag-key",
249
255
  tag_value: "tag-value"
250
256
  };
251
- var _DecryptionFailure = class _DecryptionFailure extends SecretsManagerServiceException {
257
+ var DecryptionFailure = class _DecryptionFailure extends SecretsManagerServiceException {
258
+ static {
259
+ __name(this, "DecryptionFailure");
260
+ }
261
+ name = "DecryptionFailure";
262
+ $fault = "client";
263
+ Message;
252
264
  /**
253
265
  * @internal
254
266
  */
@@ -258,15 +270,17 @@ var _DecryptionFailure = class _DecryptionFailure extends SecretsManagerServiceE
258
270
  $fault: "client",
259
271
  ...opts
260
272
  });
261
- this.name = "DecryptionFailure";
262
- this.$fault = "client";
263
273
  Object.setPrototypeOf(this, _DecryptionFailure.prototype);
264
274
  this.Message = opts.Message;
265
275
  }
266
276
  };
267
- __name(_DecryptionFailure, "DecryptionFailure");
268
- var DecryptionFailure = _DecryptionFailure;
269
- var _InternalServiceError = class _InternalServiceError extends SecretsManagerServiceException {
277
+ var InternalServiceError = class _InternalServiceError extends SecretsManagerServiceException {
278
+ static {
279
+ __name(this, "InternalServiceError");
280
+ }
281
+ name = "InternalServiceError";
282
+ $fault = "server";
283
+ Message;
270
284
  /**
271
285
  * @internal
272
286
  */
@@ -276,15 +290,17 @@ var _InternalServiceError = class _InternalServiceError extends SecretsManagerSe
276
290
  $fault: "server",
277
291
  ...opts
278
292
  });
279
- this.name = "InternalServiceError";
280
- this.$fault = "server";
281
293
  Object.setPrototypeOf(this, _InternalServiceError.prototype);
282
294
  this.Message = opts.Message;
283
295
  }
284
296
  };
285
- __name(_InternalServiceError, "InternalServiceError");
286
- var InternalServiceError = _InternalServiceError;
287
- var _InvalidNextTokenException = class _InvalidNextTokenException extends SecretsManagerServiceException {
297
+ var InvalidNextTokenException = class _InvalidNextTokenException extends SecretsManagerServiceException {
298
+ static {
299
+ __name(this, "InvalidNextTokenException");
300
+ }
301
+ name = "InvalidNextTokenException";
302
+ $fault = "client";
303
+ Message;
288
304
  /**
289
305
  * @internal
290
306
  */
@@ -294,15 +310,17 @@ var _InvalidNextTokenException = class _InvalidNextTokenException extends Secret
294
310
  $fault: "client",
295
311
  ...opts
296
312
  });
297
- this.name = "InvalidNextTokenException";
298
- this.$fault = "client";
299
313
  Object.setPrototypeOf(this, _InvalidNextTokenException.prototype);
300
314
  this.Message = opts.Message;
301
315
  }
302
316
  };
303
- __name(_InvalidNextTokenException, "InvalidNextTokenException");
304
- var InvalidNextTokenException = _InvalidNextTokenException;
305
- var _InvalidParameterException = class _InvalidParameterException extends SecretsManagerServiceException {
317
+ var InvalidParameterException = class _InvalidParameterException extends SecretsManagerServiceException {
318
+ static {
319
+ __name(this, "InvalidParameterException");
320
+ }
321
+ name = "InvalidParameterException";
322
+ $fault = "client";
323
+ Message;
306
324
  /**
307
325
  * @internal
308
326
  */
@@ -312,15 +330,17 @@ var _InvalidParameterException = class _InvalidParameterException extends Secret
312
330
  $fault: "client",
313
331
  ...opts
314
332
  });
315
- this.name = "InvalidParameterException";
316
- this.$fault = "client";
317
333
  Object.setPrototypeOf(this, _InvalidParameterException.prototype);
318
334
  this.Message = opts.Message;
319
335
  }
320
336
  };
321
- __name(_InvalidParameterException, "InvalidParameterException");
322
- var InvalidParameterException = _InvalidParameterException;
323
- var _InvalidRequestException = class _InvalidRequestException extends SecretsManagerServiceException {
337
+ var InvalidRequestException = class _InvalidRequestException extends SecretsManagerServiceException {
338
+ static {
339
+ __name(this, "InvalidRequestException");
340
+ }
341
+ name = "InvalidRequestException";
342
+ $fault = "client";
343
+ Message;
324
344
  /**
325
345
  * @internal
326
346
  */
@@ -330,15 +350,17 @@ var _InvalidRequestException = class _InvalidRequestException extends SecretsMan
330
350
  $fault: "client",
331
351
  ...opts
332
352
  });
333
- this.name = "InvalidRequestException";
334
- this.$fault = "client";
335
353
  Object.setPrototypeOf(this, _InvalidRequestException.prototype);
336
354
  this.Message = opts.Message;
337
355
  }
338
356
  };
339
- __name(_InvalidRequestException, "InvalidRequestException");
340
- var InvalidRequestException = _InvalidRequestException;
341
- var _ResourceNotFoundException = class _ResourceNotFoundException extends SecretsManagerServiceException {
357
+ var ResourceNotFoundException = class _ResourceNotFoundException extends SecretsManagerServiceException {
358
+ static {
359
+ __name(this, "ResourceNotFoundException");
360
+ }
361
+ name = "ResourceNotFoundException";
362
+ $fault = "client";
363
+ Message;
342
364
  /**
343
365
  * @internal
344
366
  */
@@ -348,20 +370,22 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Secret
348
370
  $fault: "client",
349
371
  ...opts
350
372
  });
351
- this.name = "ResourceNotFoundException";
352
- this.$fault = "client";
353
373
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
354
374
  this.Message = opts.Message;
355
375
  }
356
376
  };
357
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
358
- var ResourceNotFoundException = _ResourceNotFoundException;
359
377
  var StatusType = {
360
378
  Failed: "Failed",
361
379
  InProgress: "InProgress",
362
380
  InSync: "InSync"
363
381
  };
364
- var _EncryptionFailure = class _EncryptionFailure extends SecretsManagerServiceException {
382
+ var EncryptionFailure = class _EncryptionFailure extends SecretsManagerServiceException {
383
+ static {
384
+ __name(this, "EncryptionFailure");
385
+ }
386
+ name = "EncryptionFailure";
387
+ $fault = "client";
388
+ Message;
365
389
  /**
366
390
  * @internal
367
391
  */
@@ -371,15 +395,17 @@ var _EncryptionFailure = class _EncryptionFailure extends SecretsManagerServiceE
371
395
  $fault: "client",
372
396
  ...opts
373
397
  });
374
- this.name = "EncryptionFailure";
375
- this.$fault = "client";
376
398
  Object.setPrototypeOf(this, _EncryptionFailure.prototype);
377
399
  this.Message = opts.Message;
378
400
  }
379
401
  };
380
- __name(_EncryptionFailure, "EncryptionFailure");
381
- var EncryptionFailure = _EncryptionFailure;
382
- var _LimitExceededException = class _LimitExceededException extends SecretsManagerServiceException {
402
+ var LimitExceededException = class _LimitExceededException extends SecretsManagerServiceException {
403
+ static {
404
+ __name(this, "LimitExceededException");
405
+ }
406
+ name = "LimitExceededException";
407
+ $fault = "client";
408
+ Message;
383
409
  /**
384
410
  * @internal
385
411
  */
@@ -389,15 +415,17 @@ var _LimitExceededException = class _LimitExceededException extends SecretsManag
389
415
  $fault: "client",
390
416
  ...opts
391
417
  });
392
- this.name = "LimitExceededException";
393
- this.$fault = "client";
394
418
  Object.setPrototypeOf(this, _LimitExceededException.prototype);
395
419
  this.Message = opts.Message;
396
420
  }
397
421
  };
398
- __name(_LimitExceededException, "LimitExceededException");
399
- var LimitExceededException = _LimitExceededException;
400
- var _MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends SecretsManagerServiceException {
422
+ var MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends SecretsManagerServiceException {
423
+ static {
424
+ __name(this, "MalformedPolicyDocumentException");
425
+ }
426
+ name = "MalformedPolicyDocumentException";
427
+ $fault = "client";
428
+ Message;
401
429
  /**
402
430
  * @internal
403
431
  */
@@ -407,15 +435,17 @@ var _MalformedPolicyDocumentException = class _MalformedPolicyDocumentException
407
435
  $fault: "client",
408
436
  ...opts
409
437
  });
410
- this.name = "MalformedPolicyDocumentException";
411
- this.$fault = "client";
412
438
  Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);
413
439
  this.Message = opts.Message;
414
440
  }
415
441
  };
416
- __name(_MalformedPolicyDocumentException, "MalformedPolicyDocumentException");
417
- var MalformedPolicyDocumentException = _MalformedPolicyDocumentException;
418
- var _PreconditionNotMetException = class _PreconditionNotMetException extends SecretsManagerServiceException {
442
+ var PreconditionNotMetException = class _PreconditionNotMetException extends SecretsManagerServiceException {
443
+ static {
444
+ __name(this, "PreconditionNotMetException");
445
+ }
446
+ name = "PreconditionNotMetException";
447
+ $fault = "client";
448
+ Message;
419
449
  /**
420
450
  * @internal
421
451
  */
@@ -425,15 +455,17 @@ var _PreconditionNotMetException = class _PreconditionNotMetException extends Se
425
455
  $fault: "client",
426
456
  ...opts
427
457
  });
428
- this.name = "PreconditionNotMetException";
429
- this.$fault = "client";
430
458
  Object.setPrototypeOf(this, _PreconditionNotMetException.prototype);
431
459
  this.Message = opts.Message;
432
460
  }
433
461
  };
434
- __name(_PreconditionNotMetException, "PreconditionNotMetException");
435
- var PreconditionNotMetException = _PreconditionNotMetException;
436
- var _ResourceExistsException = class _ResourceExistsException extends SecretsManagerServiceException {
462
+ var ResourceExistsException = class _ResourceExistsException extends SecretsManagerServiceException {
463
+ static {
464
+ __name(this, "ResourceExistsException");
465
+ }
466
+ name = "ResourceExistsException";
467
+ $fault = "client";
468
+ Message;
437
469
  /**
438
470
  * @internal
439
471
  */
@@ -443,19 +475,21 @@ var _ResourceExistsException = class _ResourceExistsException extends SecretsMan
443
475
  $fault: "client",
444
476
  ...opts
445
477
  });
446
- this.name = "ResourceExistsException";
447
- this.$fault = "client";
448
478
  Object.setPrototypeOf(this, _ResourceExistsException.prototype);
449
479
  this.Message = opts.Message;
450
480
  }
451
481
  };
452
- __name(_ResourceExistsException, "ResourceExistsException");
453
- var ResourceExistsException = _ResourceExistsException;
454
482
  var SortOrderType = {
455
483
  asc: "asc",
456
484
  desc: "desc"
457
485
  };
458
- var _PublicPolicyException = class _PublicPolicyException extends SecretsManagerServiceException {
486
+ var PublicPolicyException = class _PublicPolicyException extends SecretsManagerServiceException {
487
+ static {
488
+ __name(this, "PublicPolicyException");
489
+ }
490
+ name = "PublicPolicyException";
491
+ $fault = "client";
492
+ Message;
459
493
  /**
460
494
  * @internal
461
495
  */
@@ -465,14 +499,10 @@ var _PublicPolicyException = class _PublicPolicyException extends SecretsManager
465
499
  $fault: "client",
466
500
  ...opts
467
501
  });
468
- this.name = "PublicPolicyException";
469
- this.$fault = "client";
470
502
  Object.setPrototypeOf(this, _PublicPolicyException.prototype);
471
503
  this.Message = opts.Message;
472
504
  }
473
505
  };
474
- __name(_PublicPolicyException, "PublicPolicyException");
475
- var PublicPolicyException = _PublicPolicyException;
476
506
  var SecretValueEntryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
477
507
  ...obj,
478
508
  ...obj.SecretBinary && { SecretBinary: import_smithy_client.SENSITIVE_STRING },
@@ -1335,323 +1365,346 @@ function sharedHeaders(operation) {
1335
1365
  __name(sharedHeaders, "sharedHeaders");
1336
1366
 
1337
1367
  // src/commands/BatchGetSecretValueCommand.ts
1338
- var _BatchGetSecretValueCommand = class _BatchGetSecretValueCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1368
+ var BatchGetSecretValueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1339
1369
  return [
1340
1370
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1341
1371
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1342
1372
  ];
1343
1373
  }).s("secretsmanager", "BatchGetSecretValue", {}).n("SecretsManagerClient", "BatchGetSecretValueCommand").f(void 0, BatchGetSecretValueResponseFilterSensitiveLog).ser(se_BatchGetSecretValueCommand).de(de_BatchGetSecretValueCommand).build() {
1374
+ static {
1375
+ __name(this, "BatchGetSecretValueCommand");
1376
+ }
1344
1377
  };
1345
- __name(_BatchGetSecretValueCommand, "BatchGetSecretValueCommand");
1346
- var BatchGetSecretValueCommand = _BatchGetSecretValueCommand;
1347
1378
 
1348
1379
  // src/commands/CancelRotateSecretCommand.ts
1349
1380
 
1350
1381
 
1351
1382
 
1352
- var _CancelRotateSecretCommand = class _CancelRotateSecretCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1383
+ var CancelRotateSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1353
1384
  return [
1354
1385
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1355
1386
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1356
1387
  ];
1357
1388
  }).s("secretsmanager", "CancelRotateSecret", {}).n("SecretsManagerClient", "CancelRotateSecretCommand").f(void 0, void 0).ser(se_CancelRotateSecretCommand).de(de_CancelRotateSecretCommand).build() {
1389
+ static {
1390
+ __name(this, "CancelRotateSecretCommand");
1391
+ }
1358
1392
  };
1359
- __name(_CancelRotateSecretCommand, "CancelRotateSecretCommand");
1360
- var CancelRotateSecretCommand = _CancelRotateSecretCommand;
1361
1393
 
1362
1394
  // src/commands/CreateSecretCommand.ts
1363
1395
 
1364
1396
 
1365
1397
 
1366
- var _CreateSecretCommand = class _CreateSecretCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1398
+ var CreateSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1367
1399
  return [
1368
1400
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1369
1401
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1370
1402
  ];
1371
1403
  }).s("secretsmanager", "CreateSecret", {}).n("SecretsManagerClient", "CreateSecretCommand").f(CreateSecretRequestFilterSensitiveLog, void 0).ser(se_CreateSecretCommand).de(de_CreateSecretCommand).build() {
1404
+ static {
1405
+ __name(this, "CreateSecretCommand");
1406
+ }
1372
1407
  };
1373
- __name(_CreateSecretCommand, "CreateSecretCommand");
1374
- var CreateSecretCommand = _CreateSecretCommand;
1375
1408
 
1376
1409
  // src/commands/DeleteResourcePolicyCommand.ts
1377
1410
 
1378
1411
 
1379
1412
 
1380
- var _DeleteResourcePolicyCommand = class _DeleteResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1413
+ var DeleteResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1381
1414
  return [
1382
1415
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1383
1416
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1384
1417
  ];
1385
1418
  }).s("secretsmanager", "DeleteResourcePolicy", {}).n("SecretsManagerClient", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {
1419
+ static {
1420
+ __name(this, "DeleteResourcePolicyCommand");
1421
+ }
1386
1422
  };
1387
- __name(_DeleteResourcePolicyCommand, "DeleteResourcePolicyCommand");
1388
- var DeleteResourcePolicyCommand = _DeleteResourcePolicyCommand;
1389
1423
 
1390
1424
  // src/commands/DeleteSecretCommand.ts
1391
1425
 
1392
1426
 
1393
1427
 
1394
- var _DeleteSecretCommand = class _DeleteSecretCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1428
+ var DeleteSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1395
1429
  return [
1396
1430
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1397
1431
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1398
1432
  ];
1399
1433
  }).s("secretsmanager", "DeleteSecret", {}).n("SecretsManagerClient", "DeleteSecretCommand").f(void 0, void 0).ser(se_DeleteSecretCommand).de(de_DeleteSecretCommand).build() {
1434
+ static {
1435
+ __name(this, "DeleteSecretCommand");
1436
+ }
1400
1437
  };
1401
- __name(_DeleteSecretCommand, "DeleteSecretCommand");
1402
- var DeleteSecretCommand = _DeleteSecretCommand;
1403
1438
 
1404
1439
  // src/commands/DescribeSecretCommand.ts
1405
1440
 
1406
1441
 
1407
1442
 
1408
- var _DescribeSecretCommand = class _DescribeSecretCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1443
+ var DescribeSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1409
1444
  return [
1410
1445
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1411
1446
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1412
1447
  ];
1413
1448
  }).s("secretsmanager", "DescribeSecret", {}).n("SecretsManagerClient", "DescribeSecretCommand").f(void 0, void 0).ser(se_DescribeSecretCommand).de(de_DescribeSecretCommand).build() {
1449
+ static {
1450
+ __name(this, "DescribeSecretCommand");
1451
+ }
1414
1452
  };
1415
- __name(_DescribeSecretCommand, "DescribeSecretCommand");
1416
- var DescribeSecretCommand = _DescribeSecretCommand;
1417
1453
 
1418
1454
  // src/commands/GetRandomPasswordCommand.ts
1419
1455
 
1420
1456
 
1421
1457
 
1422
- var _GetRandomPasswordCommand = class _GetRandomPasswordCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1458
+ var GetRandomPasswordCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1423
1459
  return [
1424
1460
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1425
1461
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1426
1462
  ];
1427
1463
  }).s("secretsmanager", "GetRandomPassword", {}).n("SecretsManagerClient", "GetRandomPasswordCommand").f(void 0, GetRandomPasswordResponseFilterSensitiveLog).ser(se_GetRandomPasswordCommand).de(de_GetRandomPasswordCommand).build() {
1464
+ static {
1465
+ __name(this, "GetRandomPasswordCommand");
1466
+ }
1428
1467
  };
1429
- __name(_GetRandomPasswordCommand, "GetRandomPasswordCommand");
1430
- var GetRandomPasswordCommand = _GetRandomPasswordCommand;
1431
1468
 
1432
1469
  // src/commands/GetResourcePolicyCommand.ts
1433
1470
 
1434
1471
 
1435
1472
 
1436
- var _GetResourcePolicyCommand = class _GetResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1473
+ var GetResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1437
1474
  return [
1438
1475
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1439
1476
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1440
1477
  ];
1441
1478
  }).s("secretsmanager", "GetResourcePolicy", {}).n("SecretsManagerClient", "GetResourcePolicyCommand").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {
1479
+ static {
1480
+ __name(this, "GetResourcePolicyCommand");
1481
+ }
1442
1482
  };
1443
- __name(_GetResourcePolicyCommand, "GetResourcePolicyCommand");
1444
- var GetResourcePolicyCommand = _GetResourcePolicyCommand;
1445
1483
 
1446
1484
  // src/commands/GetSecretValueCommand.ts
1447
1485
 
1448
1486
 
1449
1487
 
1450
- var _GetSecretValueCommand = class _GetSecretValueCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1488
+ var GetSecretValueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1451
1489
  return [
1452
1490
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1453
1491
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1454
1492
  ];
1455
1493
  }).s("secretsmanager", "GetSecretValue", {}).n("SecretsManagerClient", "GetSecretValueCommand").f(void 0, GetSecretValueResponseFilterSensitiveLog).ser(se_GetSecretValueCommand).de(de_GetSecretValueCommand).build() {
1494
+ static {
1495
+ __name(this, "GetSecretValueCommand");
1496
+ }
1456
1497
  };
1457
- __name(_GetSecretValueCommand, "GetSecretValueCommand");
1458
- var GetSecretValueCommand = _GetSecretValueCommand;
1459
1498
 
1460
1499
  // src/commands/ListSecretsCommand.ts
1461
1500
 
1462
1501
 
1463
1502
 
1464
- var _ListSecretsCommand = class _ListSecretsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1503
+ var ListSecretsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1465
1504
  return [
1466
1505
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1467
1506
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1468
1507
  ];
1469
1508
  }).s("secretsmanager", "ListSecrets", {}).n("SecretsManagerClient", "ListSecretsCommand").f(void 0, void 0).ser(se_ListSecretsCommand).de(de_ListSecretsCommand).build() {
1509
+ static {
1510
+ __name(this, "ListSecretsCommand");
1511
+ }
1470
1512
  };
1471
- __name(_ListSecretsCommand, "ListSecretsCommand");
1472
- var ListSecretsCommand = _ListSecretsCommand;
1473
1513
 
1474
1514
  // src/commands/ListSecretVersionIdsCommand.ts
1475
1515
 
1476
1516
 
1477
1517
 
1478
- var _ListSecretVersionIdsCommand = class _ListSecretVersionIdsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1518
+ var ListSecretVersionIdsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1479
1519
  return [
1480
1520
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1481
1521
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1482
1522
  ];
1483
1523
  }).s("secretsmanager", "ListSecretVersionIds", {}).n("SecretsManagerClient", "ListSecretVersionIdsCommand").f(void 0, void 0).ser(se_ListSecretVersionIdsCommand).de(de_ListSecretVersionIdsCommand).build() {
1524
+ static {
1525
+ __name(this, "ListSecretVersionIdsCommand");
1526
+ }
1484
1527
  };
1485
- __name(_ListSecretVersionIdsCommand, "ListSecretVersionIdsCommand");
1486
- var ListSecretVersionIdsCommand = _ListSecretVersionIdsCommand;
1487
1528
 
1488
1529
  // src/commands/PutResourcePolicyCommand.ts
1489
1530
 
1490
1531
 
1491
1532
 
1492
- var _PutResourcePolicyCommand = class _PutResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1533
+ var PutResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1493
1534
  return [
1494
1535
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1495
1536
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1496
1537
  ];
1497
1538
  }).s("secretsmanager", "PutResourcePolicy", {}).n("SecretsManagerClient", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {
1539
+ static {
1540
+ __name(this, "PutResourcePolicyCommand");
1541
+ }
1498
1542
  };
1499
- __name(_PutResourcePolicyCommand, "PutResourcePolicyCommand");
1500
- var PutResourcePolicyCommand = _PutResourcePolicyCommand;
1501
1543
 
1502
1544
  // src/commands/PutSecretValueCommand.ts
1503
1545
 
1504
1546
 
1505
1547
 
1506
- var _PutSecretValueCommand = class _PutSecretValueCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1548
+ var PutSecretValueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1507
1549
  return [
1508
1550
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1509
1551
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1510
1552
  ];
1511
1553
  }).s("secretsmanager", "PutSecretValue", {}).n("SecretsManagerClient", "PutSecretValueCommand").f(PutSecretValueRequestFilterSensitiveLog, void 0).ser(se_PutSecretValueCommand).de(de_PutSecretValueCommand).build() {
1554
+ static {
1555
+ __name(this, "PutSecretValueCommand");
1556
+ }
1512
1557
  };
1513
- __name(_PutSecretValueCommand, "PutSecretValueCommand");
1514
- var PutSecretValueCommand = _PutSecretValueCommand;
1515
1558
 
1516
1559
  // src/commands/RemoveRegionsFromReplicationCommand.ts
1517
1560
 
1518
1561
 
1519
1562
 
1520
- var _RemoveRegionsFromReplicationCommand = class _RemoveRegionsFromReplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1563
+ var RemoveRegionsFromReplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1521
1564
  return [
1522
1565
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1523
1566
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1524
1567
  ];
1525
1568
  }).s("secretsmanager", "RemoveRegionsFromReplication", {}).n("SecretsManagerClient", "RemoveRegionsFromReplicationCommand").f(void 0, void 0).ser(se_RemoveRegionsFromReplicationCommand).de(de_RemoveRegionsFromReplicationCommand).build() {
1569
+ static {
1570
+ __name(this, "RemoveRegionsFromReplicationCommand");
1571
+ }
1526
1572
  };
1527
- __name(_RemoveRegionsFromReplicationCommand, "RemoveRegionsFromReplicationCommand");
1528
- var RemoveRegionsFromReplicationCommand = _RemoveRegionsFromReplicationCommand;
1529
1573
 
1530
1574
  // src/commands/ReplicateSecretToRegionsCommand.ts
1531
1575
 
1532
1576
 
1533
1577
 
1534
- var _ReplicateSecretToRegionsCommand = class _ReplicateSecretToRegionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1578
+ var ReplicateSecretToRegionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1535
1579
  return [
1536
1580
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1537
1581
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1538
1582
  ];
1539
1583
  }).s("secretsmanager", "ReplicateSecretToRegions", {}).n("SecretsManagerClient", "ReplicateSecretToRegionsCommand").f(void 0, void 0).ser(se_ReplicateSecretToRegionsCommand).de(de_ReplicateSecretToRegionsCommand).build() {
1584
+ static {
1585
+ __name(this, "ReplicateSecretToRegionsCommand");
1586
+ }
1540
1587
  };
1541
- __name(_ReplicateSecretToRegionsCommand, "ReplicateSecretToRegionsCommand");
1542
- var ReplicateSecretToRegionsCommand = _ReplicateSecretToRegionsCommand;
1543
1588
 
1544
1589
  // src/commands/RestoreSecretCommand.ts
1545
1590
 
1546
1591
 
1547
1592
 
1548
- var _RestoreSecretCommand = class _RestoreSecretCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1593
+ var RestoreSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1549
1594
  return [
1550
1595
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1551
1596
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1552
1597
  ];
1553
1598
  }).s("secretsmanager", "RestoreSecret", {}).n("SecretsManagerClient", "RestoreSecretCommand").f(void 0, void 0).ser(se_RestoreSecretCommand).de(de_RestoreSecretCommand).build() {
1599
+ static {
1600
+ __name(this, "RestoreSecretCommand");
1601
+ }
1554
1602
  };
1555
- __name(_RestoreSecretCommand, "RestoreSecretCommand");
1556
- var RestoreSecretCommand = _RestoreSecretCommand;
1557
1603
 
1558
1604
  // src/commands/RotateSecretCommand.ts
1559
1605
 
1560
1606
 
1561
1607
 
1562
- var _RotateSecretCommand = class _RotateSecretCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1608
+ var RotateSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1563
1609
  return [
1564
1610
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1565
1611
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1566
1612
  ];
1567
1613
  }).s("secretsmanager", "RotateSecret", {}).n("SecretsManagerClient", "RotateSecretCommand").f(void 0, void 0).ser(se_RotateSecretCommand).de(de_RotateSecretCommand).build() {
1614
+ static {
1615
+ __name(this, "RotateSecretCommand");
1616
+ }
1568
1617
  };
1569
- __name(_RotateSecretCommand, "RotateSecretCommand");
1570
- var RotateSecretCommand = _RotateSecretCommand;
1571
1618
 
1572
1619
  // src/commands/StopReplicationToReplicaCommand.ts
1573
1620
 
1574
1621
 
1575
1622
 
1576
- var _StopReplicationToReplicaCommand = class _StopReplicationToReplicaCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1623
+ var StopReplicationToReplicaCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1577
1624
  return [
1578
1625
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1579
1626
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1580
1627
  ];
1581
1628
  }).s("secretsmanager", "StopReplicationToReplica", {}).n("SecretsManagerClient", "StopReplicationToReplicaCommand").f(void 0, void 0).ser(se_StopReplicationToReplicaCommand).de(de_StopReplicationToReplicaCommand).build() {
1629
+ static {
1630
+ __name(this, "StopReplicationToReplicaCommand");
1631
+ }
1582
1632
  };
1583
- __name(_StopReplicationToReplicaCommand, "StopReplicationToReplicaCommand");
1584
- var StopReplicationToReplicaCommand = _StopReplicationToReplicaCommand;
1585
1633
 
1586
1634
  // src/commands/TagResourceCommand.ts
1587
1635
 
1588
1636
 
1589
1637
 
1590
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1638
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1591
1639
  return [
1592
1640
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1593
1641
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1594
1642
  ];
1595
1643
  }).s("secretsmanager", "TagResource", {}).n("SecretsManagerClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1644
+ static {
1645
+ __name(this, "TagResourceCommand");
1646
+ }
1596
1647
  };
1597
- __name(_TagResourceCommand, "TagResourceCommand");
1598
- var TagResourceCommand = _TagResourceCommand;
1599
1648
 
1600
1649
  // src/commands/UntagResourceCommand.ts
1601
1650
 
1602
1651
 
1603
1652
 
1604
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1653
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1605
1654
  return [
1606
1655
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1607
1656
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1608
1657
  ];
1609
1658
  }).s("secretsmanager", "UntagResource", {}).n("SecretsManagerClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1659
+ static {
1660
+ __name(this, "UntagResourceCommand");
1661
+ }
1610
1662
  };
1611
- __name(_UntagResourceCommand, "UntagResourceCommand");
1612
- var UntagResourceCommand = _UntagResourceCommand;
1613
1663
 
1614
1664
  // src/commands/UpdateSecretCommand.ts
1615
1665
 
1616
1666
 
1617
1667
 
1618
- var _UpdateSecretCommand = class _UpdateSecretCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1668
+ var UpdateSecretCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1619
1669
  return [
1620
1670
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1621
1671
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1622
1672
  ];
1623
1673
  }).s("secretsmanager", "UpdateSecret", {}).n("SecretsManagerClient", "UpdateSecretCommand").f(UpdateSecretRequestFilterSensitiveLog, void 0).ser(se_UpdateSecretCommand).de(de_UpdateSecretCommand).build() {
1674
+ static {
1675
+ __name(this, "UpdateSecretCommand");
1676
+ }
1624
1677
  };
1625
- __name(_UpdateSecretCommand, "UpdateSecretCommand");
1626
- var UpdateSecretCommand = _UpdateSecretCommand;
1627
1678
 
1628
1679
  // src/commands/UpdateSecretVersionStageCommand.ts
1629
1680
 
1630
1681
 
1631
1682
 
1632
- var _UpdateSecretVersionStageCommand = class _UpdateSecretVersionStageCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1683
+ var UpdateSecretVersionStageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1633
1684
  return [
1634
1685
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1635
1686
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1636
1687
  ];
1637
1688
  }).s("secretsmanager", "UpdateSecretVersionStage", {}).n("SecretsManagerClient", "UpdateSecretVersionStageCommand").f(void 0, void 0).ser(se_UpdateSecretVersionStageCommand).de(de_UpdateSecretVersionStageCommand).build() {
1689
+ static {
1690
+ __name(this, "UpdateSecretVersionStageCommand");
1691
+ }
1638
1692
  };
1639
- __name(_UpdateSecretVersionStageCommand, "UpdateSecretVersionStageCommand");
1640
- var UpdateSecretVersionStageCommand = _UpdateSecretVersionStageCommand;
1641
1693
 
1642
1694
  // src/commands/ValidateResourcePolicyCommand.ts
1643
1695
 
1644
1696
 
1645
1697
 
1646
- var _ValidateResourcePolicyCommand = class _ValidateResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1698
+ var ValidateResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1647
1699
  return [
1648
1700
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1649
1701
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1650
1702
  ];
1651
1703
  }).s("secretsmanager", "ValidateResourcePolicy", {}).n("SecretsManagerClient", "ValidateResourcePolicyCommand").f(void 0, void 0).ser(se_ValidateResourcePolicyCommand).de(de_ValidateResourcePolicyCommand).build() {
1704
+ static {
1705
+ __name(this, "ValidateResourcePolicyCommand");
1706
+ }
1652
1707
  };
1653
- __name(_ValidateResourcePolicyCommand, "ValidateResourcePolicyCommand");
1654
- var ValidateResourcePolicyCommand = _ValidateResourcePolicyCommand;
1655
1708
 
1656
1709
  // src/SecretsManager.ts
1657
1710
  var commands = {
@@ -1679,10 +1732,11 @@ var commands = {
1679
1732
  UpdateSecretVersionStageCommand,
1680
1733
  ValidateResourcePolicyCommand
1681
1734
  };
1682
- var _SecretsManager = class _SecretsManager extends SecretsManagerClient {
1735
+ var SecretsManager = class extends SecretsManagerClient {
1736
+ static {
1737
+ __name(this, "SecretsManager");
1738
+ }
1683
1739
  };
1684
- __name(_SecretsManager, "SecretsManager");
1685
- var SecretsManager = _SecretsManager;
1686
1740
  (0, import_smithy_client.createAggregatedClient)(commands, SecretsManager);
1687
1741
 
1688
1742
  // src/pagination/BatchGetSecretValuePaginator.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 SecretsManagerClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -10,79 +10,85 @@ export const FilterNameStringType = {
10
10
  tag_value: "tag-value",
11
11
  };
12
12
  export class DecryptionFailure extends __BaseException {
13
+ name = "DecryptionFailure";
14
+ $fault = "client";
15
+ Message;
13
16
  constructor(opts) {
14
17
  super({
15
18
  name: "DecryptionFailure",
16
19
  $fault: "client",
17
20
  ...opts,
18
21
  });
19
- this.name = "DecryptionFailure";
20
- this.$fault = "client";
21
22
  Object.setPrototypeOf(this, DecryptionFailure.prototype);
22
23
  this.Message = opts.Message;
23
24
  }
24
25
  }
25
26
  export class InternalServiceError extends __BaseException {
27
+ name = "InternalServiceError";
28
+ $fault = "server";
29
+ Message;
26
30
  constructor(opts) {
27
31
  super({
28
32
  name: "InternalServiceError",
29
33
  $fault: "server",
30
34
  ...opts,
31
35
  });
32
- this.name = "InternalServiceError";
33
- this.$fault = "server";
34
36
  Object.setPrototypeOf(this, InternalServiceError.prototype);
35
37
  this.Message = opts.Message;
36
38
  }
37
39
  }
38
40
  export class InvalidNextTokenException extends __BaseException {
41
+ name = "InvalidNextTokenException";
42
+ $fault = "client";
43
+ Message;
39
44
  constructor(opts) {
40
45
  super({
41
46
  name: "InvalidNextTokenException",
42
47
  $fault: "client",
43
48
  ...opts,
44
49
  });
45
- this.name = "InvalidNextTokenException";
46
- this.$fault = "client";
47
50
  Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
48
51
  this.Message = opts.Message;
49
52
  }
50
53
  }
51
54
  export class InvalidParameterException extends __BaseException {
55
+ name = "InvalidParameterException";
56
+ $fault = "client";
57
+ Message;
52
58
  constructor(opts) {
53
59
  super({
54
60
  name: "InvalidParameterException",
55
61
  $fault: "client",
56
62
  ...opts,
57
63
  });
58
- this.name = "InvalidParameterException";
59
- this.$fault = "client";
60
64
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
61
65
  this.Message = opts.Message;
62
66
  }
63
67
  }
64
68
  export class InvalidRequestException extends __BaseException {
69
+ name = "InvalidRequestException";
70
+ $fault = "client";
71
+ Message;
65
72
  constructor(opts) {
66
73
  super({
67
74
  name: "InvalidRequestException",
68
75
  $fault: "client",
69
76
  ...opts,
70
77
  });
71
- this.name = "InvalidRequestException";
72
- this.$fault = "client";
73
78
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
74
79
  this.Message = opts.Message;
75
80
  }
76
81
  }
77
82
  export class ResourceNotFoundException extends __BaseException {
83
+ name = "ResourceNotFoundException";
84
+ $fault = "client";
85
+ Message;
78
86
  constructor(opts) {
79
87
  super({
80
88
  name: "ResourceNotFoundException",
81
89
  $fault: "client",
82
90
  ...opts,
83
91
  });
84
- this.name = "ResourceNotFoundException";
85
- this.$fault = "client";
86
92
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
87
93
  this.Message = opts.Message;
88
94
  }
@@ -93,66 +99,71 @@ export const StatusType = {
93
99
  InSync: "InSync",
94
100
  };
95
101
  export class EncryptionFailure extends __BaseException {
102
+ name = "EncryptionFailure";
103
+ $fault = "client";
104
+ Message;
96
105
  constructor(opts) {
97
106
  super({
98
107
  name: "EncryptionFailure",
99
108
  $fault: "client",
100
109
  ...opts,
101
110
  });
102
- this.name = "EncryptionFailure";
103
- this.$fault = "client";
104
111
  Object.setPrototypeOf(this, EncryptionFailure.prototype);
105
112
  this.Message = opts.Message;
106
113
  }
107
114
  }
108
115
  export class LimitExceededException extends __BaseException {
116
+ name = "LimitExceededException";
117
+ $fault = "client";
118
+ Message;
109
119
  constructor(opts) {
110
120
  super({
111
121
  name: "LimitExceededException",
112
122
  $fault: "client",
113
123
  ...opts,
114
124
  });
115
- this.name = "LimitExceededException";
116
- this.$fault = "client";
117
125
  Object.setPrototypeOf(this, LimitExceededException.prototype);
118
126
  this.Message = opts.Message;
119
127
  }
120
128
  }
121
129
  export class MalformedPolicyDocumentException extends __BaseException {
130
+ name = "MalformedPolicyDocumentException";
131
+ $fault = "client";
132
+ Message;
122
133
  constructor(opts) {
123
134
  super({
124
135
  name: "MalformedPolicyDocumentException",
125
136
  $fault: "client",
126
137
  ...opts,
127
138
  });
128
- this.name = "MalformedPolicyDocumentException";
129
- this.$fault = "client";
130
139
  Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
131
140
  this.Message = opts.Message;
132
141
  }
133
142
  }
134
143
  export class PreconditionNotMetException extends __BaseException {
144
+ name = "PreconditionNotMetException";
145
+ $fault = "client";
146
+ Message;
135
147
  constructor(opts) {
136
148
  super({
137
149
  name: "PreconditionNotMetException",
138
150
  $fault: "client",
139
151
  ...opts,
140
152
  });
141
- this.name = "PreconditionNotMetException";
142
- this.$fault = "client";
143
153
  Object.setPrototypeOf(this, PreconditionNotMetException.prototype);
144
154
  this.Message = opts.Message;
145
155
  }
146
156
  }
147
157
  export class ResourceExistsException extends __BaseException {
158
+ name = "ResourceExistsException";
159
+ $fault = "client";
160
+ Message;
148
161
  constructor(opts) {
149
162
  super({
150
163
  name: "ResourceExistsException",
151
164
  $fault: "client",
152
165
  ...opts,
153
166
  });
154
- this.name = "ResourceExistsException";
155
- this.$fault = "client";
156
167
  Object.setPrototypeOf(this, ResourceExistsException.prototype);
157
168
  this.Message = opts.Message;
158
169
  }
@@ -162,14 +173,15 @@ export const SortOrderType = {
162
173
  desc: "desc",
163
174
  };
164
175
  export class PublicPolicyException extends __BaseException {
176
+ name = "PublicPolicyException";
177
+ $fault = "client";
178
+ Message;
165
179
  constructor(opts) {
166
180
  super({
167
181
  name: "PublicPolicyException",
168
182
  $fault: "client",
169
183
  ...opts,
170
184
  });
171
- this.name = "PublicPolicyException";
172
- this.$fault = "client";
173
185
  Object.setPrototypeOf(this, PublicPolicyException.prototype);
174
186
  this.Message = opts.Message;
175
187
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
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: SecretsManagerClientConfig) => {
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: SecretsManagerClientConfig) => {
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: SecretsManagerClientConfig) => {
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: SecretsManagerClientConfig) => {
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: SecretsManagerClientConfig) => {
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: SecretsManagerClientConfig) => {
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: SecretsManagerClientConfig) => {
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-secrets-manager",
3
3
  "description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
4
- "version": "3.716.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-secrets-manager",
@@ -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.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.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.716.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.716.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": {