oci-keymanagement 2.22.0 → 2.24.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.
Files changed (45) hide show
  1. package/lib/client.d.ts +44 -41
  2. package/lib/client.js +59 -44
  3. package/lib/client.js.map +1 -1
  4. package/lib/request/backup-key-request.d.ts +1 -1
  5. package/lib/request/backup-vault-request.d.ts +1 -1
  6. package/lib/request/cancel-key-deletion-request.d.ts +1 -1
  7. package/lib/request/cancel-key-version-deletion-request.d.ts +1 -1
  8. package/lib/request/cancel-vault-deletion-request.d.ts +1 -1
  9. package/lib/request/change-key-compartment-request.d.ts +1 -1
  10. package/lib/request/change-vault-compartment-request.d.ts +1 -1
  11. package/lib/request/create-key-request.d.ts +1 -1
  12. package/lib/request/create-key-version-request.d.ts +1 -1
  13. package/lib/request/create-vault-replica-request.d.ts +1 -1
  14. package/lib/request/create-vault-request.d.ts +1 -1
  15. package/lib/request/decrypt-request.d.ts +1 -1
  16. package/lib/request/delete-vault-replica-request.d.ts +1 -1
  17. package/lib/request/disable-key-request.d.ts +1 -1
  18. package/lib/request/enable-key-request.d.ts +1 -1
  19. package/lib/request/encrypt-request.d.ts +1 -1
  20. package/lib/request/export-key-request.d.ts +1 -1
  21. package/lib/request/generate-data-encryption-key-request.d.ts +1 -1
  22. package/lib/request/get-key-request.d.ts +1 -1
  23. package/lib/request/get-key-version-request.d.ts +1 -1
  24. package/lib/request/get-replication-status-request.d.ts +1 -1
  25. package/lib/request/get-vault-request.d.ts +1 -1
  26. package/lib/request/get-vault-usage-request.d.ts +1 -1
  27. package/lib/request/get-wrapping-key-request.d.ts +1 -1
  28. package/lib/request/import-key-request.d.ts +1 -1
  29. package/lib/request/import-key-version-request.d.ts +1 -1
  30. package/lib/request/list-key-versions-request.d.ts +1 -1
  31. package/lib/request/list-keys-request.d.ts +1 -1
  32. package/lib/request/list-vault-replicas-request.d.ts +1 -1
  33. package/lib/request/list-vaults-request.d.ts +1 -1
  34. package/lib/request/restore-key-from-file-request.d.ts +1 -1
  35. package/lib/request/restore-key-from-object-store-request.d.ts +1 -1
  36. package/lib/request/restore-vault-from-file-request.d.ts +1 -1
  37. package/lib/request/restore-vault-from-object-store-request.d.ts +1 -1
  38. package/lib/request/schedule-key-deletion-request.d.ts +1 -1
  39. package/lib/request/schedule-key-version-deletion-request.d.ts +1 -1
  40. package/lib/request/schedule-vault-deletion-request.d.ts +1 -1
  41. package/lib/request/sign-request.d.ts +1 -1
  42. package/lib/request/update-key-request.d.ts +1 -1
  43. package/lib/request/update-vault-request.d.ts +1 -1
  44. package/lib/request/verify-request.d.ts +1 -1
  45. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -63,6 +63,7 @@ class KmsCryptoClient {
63
63
  this["_endpoint"] = "";
64
64
  this["_defaultHeaders"] = {};
65
65
  this._circuitBreaker = null;
66
+ this._httpOptions = undefined;
66
67
  const requestSigner = params.authenticationDetailsProvider
67
68
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
68
69
  : null;
@@ -71,6 +72,9 @@ class KmsCryptoClient {
71
72
  this._circuitBreaker = clientConfiguration.circuitBreaker
72
73
  ? clientConfiguration.circuitBreaker.circuit
73
74
  : null;
75
+ this._httpOptions = clientConfiguration.httpOptions
76
+ ? clientConfiguration.httpOptions
77
+ : undefined;
74
78
  }
75
79
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
76
80
  const specCircuitBreakerEnabled = true;
@@ -80,7 +84,8 @@ class KmsCryptoClient {
80
84
  this._circuitBreaker = new common.CircuitBreaker().circuit;
81
85
  }
82
86
  this._httpClient =
83
- params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
87
+ params.httpClient ||
88
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
84
89
  }
85
90
  /**
86
91
  * Get the endpoint that is being used to call (ex, https://www.example.com).
@@ -107,7 +112,7 @@ class KmsCryptoClient {
107
112
  * @param DecryptRequest
108
113
  * @return DecryptResponse
109
114
  * @throws OciError when an error occurs
110
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/Decrypt.ts.html |here} to see how to use Decrypt API.
115
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/Decrypt.ts.html |here} to see how to use Decrypt API.
111
116
  */
112
117
  decrypt(decryptRequest) {
113
118
  return __awaiter(this, void 0, void 0, function* () {
@@ -164,7 +169,7 @@ class KmsCryptoClient {
164
169
  * @param EncryptRequest
165
170
  * @return EncryptResponse
166
171
  * @throws OciError when an error occurs
167
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/Encrypt.ts.html |here} to see how to use Encrypt API.
172
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/Encrypt.ts.html |here} to see how to use Encrypt API.
168
173
  */
169
174
  encrypt(encryptRequest) {
170
175
  return __awaiter(this, void 0, void 0, function* () {
@@ -222,7 +227,7 @@ class KmsCryptoClient {
222
227
  * @param ExportKeyRequest
223
228
  * @return ExportKeyResponse
224
229
  * @throws OciError when an error occurs
225
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/ExportKey.ts.html |here} to see how to use ExportKey API.
230
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/ExportKey.ts.html |here} to see how to use ExportKey API.
226
231
  */
227
232
  exportKey(exportKeyRequest) {
228
233
  return __awaiter(this, void 0, void 0, function* () {
@@ -277,7 +282,7 @@ class KmsCryptoClient {
277
282
  * @param GenerateDataEncryptionKeyRequest
278
283
  * @return GenerateDataEncryptionKeyResponse
279
284
  * @throws OciError when an error occurs
280
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/GenerateDataEncryptionKey.ts.html |here} to see how to use GenerateDataEncryptionKey API.
285
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/GenerateDataEncryptionKey.ts.html |here} to see how to use GenerateDataEncryptionKey API.
281
286
  */
282
287
  generateDataEncryptionKey(generateDataEncryptionKeyRequest) {
283
288
  return __awaiter(this, void 0, void 0, function* () {
@@ -335,7 +340,7 @@ class KmsCryptoClient {
335
340
  * @param SignRequest
336
341
  * @return SignResponse
337
342
  * @throws OciError when an error occurs
338
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/Sign.ts.html |here} to see how to use Sign API.
343
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/Sign.ts.html |here} to see how to use Sign API.
339
344
  */
340
345
  sign(signRequest) {
341
346
  return __awaiter(this, void 0, void 0, function* () {
@@ -393,7 +398,7 @@ class KmsCryptoClient {
393
398
  * @param VerifyRequest
394
399
  * @return VerifyResponse
395
400
  * @throws OciError when an error occurs
396
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/Verify.ts.html |here} to see how to use Verify API.
401
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/Verify.ts.html |here} to see how to use Verify API.
397
402
  */
398
403
  verify(verifyRequest) {
399
404
  return __awaiter(this, void 0, void 0, function* () {
@@ -457,6 +462,7 @@ class KmsManagementClient {
457
462
  this["_endpoint"] = "";
458
463
  this["_defaultHeaders"] = {};
459
464
  this._circuitBreaker = null;
465
+ this._httpOptions = undefined;
460
466
  const requestSigner = params.authenticationDetailsProvider
461
467
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
462
468
  : null;
@@ -465,6 +471,9 @@ class KmsManagementClient {
465
471
  this._circuitBreaker = clientConfiguration.circuitBreaker
466
472
  ? clientConfiguration.circuitBreaker.circuit
467
473
  : null;
474
+ this._httpOptions = clientConfiguration.httpOptions
475
+ ? clientConfiguration.httpOptions
476
+ : undefined;
468
477
  }
469
478
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
470
479
  const specCircuitBreakerEnabled = true;
@@ -474,7 +483,8 @@ class KmsManagementClient {
474
483
  this._circuitBreaker = new common.CircuitBreaker().circuit;
475
484
  }
476
485
  this._httpClient =
477
- params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
486
+ params.httpClient ||
487
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
478
488
  }
479
489
  /**
480
490
  * Get the endpoint that is being used to call (ex, https://www.example.com).
@@ -523,7 +533,7 @@ class KmsManagementClient {
523
533
  * @param BackupKeyRequest
524
534
  * @return BackupKeyResponse
525
535
  * @throws OciError when an error occurs
526
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/BackupKey.ts.html |here} to see how to use BackupKey API.
536
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/BackupKey.ts.html |here} to see how to use BackupKey API.
527
537
  */
528
538
  backupKey(backupKeyRequest) {
529
539
  return __awaiter(this, void 0, void 0, function* () {
@@ -600,7 +610,7 @@ class KmsManagementClient {
600
610
  * @param CancelKeyDeletionRequest
601
611
  * @return CancelKeyDeletionResponse
602
612
  * @throws OciError when an error occurs
603
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/CancelKeyDeletion.ts.html |here} to see how to use CancelKeyDeletion API.
613
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/CancelKeyDeletion.ts.html |here} to see how to use CancelKeyDeletion API.
604
614
  */
605
615
  cancelKeyDeletion(cancelKeyDeletionRequest) {
606
616
  return __awaiter(this, void 0, void 0, function* () {
@@ -671,7 +681,7 @@ class KmsManagementClient {
671
681
  * @param CancelKeyVersionDeletionRequest
672
682
  * @return CancelKeyVersionDeletionResponse
673
683
  * @throws OciError when an error occurs
674
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/CancelKeyVersionDeletion.ts.html |here} to see how to use CancelKeyVersionDeletion API.
684
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/CancelKeyVersionDeletion.ts.html |here} to see how to use CancelKeyVersionDeletion API.
675
685
  */
676
686
  cancelKeyVersionDeletion(cancelKeyVersionDeletionRequest) {
677
687
  return __awaiter(this, void 0, void 0, function* () {
@@ -744,7 +754,7 @@ class KmsManagementClient {
744
754
  * @param ChangeKeyCompartmentRequest
745
755
  * @return ChangeKeyCompartmentResponse
746
756
  * @throws OciError when an error occurs
747
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/ChangeKeyCompartment.ts.html |here} to see how to use ChangeKeyCompartment API.
757
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/ChangeKeyCompartment.ts.html |here} to see how to use ChangeKeyCompartment API.
748
758
  */
749
759
  changeKeyCompartment(changeKeyCompartmentRequest) {
750
760
  return __awaiter(this, void 0, void 0, function* () {
@@ -810,7 +820,7 @@ class KmsManagementClient {
810
820
  * @param CreateKeyRequest
811
821
  * @return CreateKeyResponse
812
822
  * @throws OciError when an error occurs
813
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/CreateKey.ts.html |here} to see how to use CreateKey API.
823
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/CreateKey.ts.html |here} to see how to use CreateKey API.
814
824
  */
815
825
  createKey(createKeyRequest) {
816
826
  return __awaiter(this, void 0, void 0, function* () {
@@ -878,7 +888,7 @@ class KmsManagementClient {
878
888
  * @param CreateKeyVersionRequest
879
889
  * @return CreateKeyVersionResponse
880
890
  * @throws OciError when an error occurs
881
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/CreateKeyVersion.ts.html |here} to see how to use CreateKeyVersion API.
891
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/CreateKeyVersion.ts.html |here} to see how to use CreateKeyVersion API.
882
892
  */
883
893
  createKeyVersion(createKeyVersionRequest) {
884
894
  return __awaiter(this, void 0, void 0, function* () {
@@ -947,7 +957,7 @@ class KmsManagementClient {
947
957
  * @param DisableKeyRequest
948
958
  * @return DisableKeyResponse
949
959
  * @throws OciError when an error occurs
950
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/DisableKey.ts.html |here} to see how to use DisableKey API.
960
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/DisableKey.ts.html |here} to see how to use DisableKey API.
951
961
  */
952
962
  disableKey(disableKeyRequest) {
953
963
  return __awaiter(this, void 0, void 0, function* () {
@@ -1017,7 +1027,7 @@ class KmsManagementClient {
1017
1027
  * @param EnableKeyRequest
1018
1028
  * @return EnableKeyResponse
1019
1029
  * @throws OciError when an error occurs
1020
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/EnableKey.ts.html |here} to see how to use EnableKey API.
1030
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/EnableKey.ts.html |here} to see how to use EnableKey API.
1021
1031
  */
1022
1032
  enableKey(enableKeyRequest) {
1023
1033
  return __awaiter(this, void 0, void 0, function* () {
@@ -1086,7 +1096,7 @@ class KmsManagementClient {
1086
1096
  * @param GetKeyRequest
1087
1097
  * @return GetKeyResponse
1088
1098
  * @throws OciError when an error occurs
1089
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/GetKey.ts.html |here} to see how to use GetKey API.
1099
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/GetKey.ts.html |here} to see how to use GetKey API.
1090
1100
  */
1091
1101
  getKey(getKeyRequest) {
1092
1102
  return __awaiter(this, void 0, void 0, function* () {
@@ -1153,7 +1163,7 @@ class KmsManagementClient {
1153
1163
  * @param GetKeyVersionRequest
1154
1164
  * @return GetKeyVersionResponse
1155
1165
  * @throws OciError when an error occurs
1156
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/GetKeyVersion.ts.html |here} to see how to use GetKeyVersion API.
1166
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/GetKeyVersion.ts.html |here} to see how to use GetKeyVersion API.
1157
1167
  */
1158
1168
  getKeyVersion(getKeyVersionRequest) {
1159
1169
  return __awaiter(this, void 0, void 0, function* () {
@@ -1219,7 +1229,7 @@ class KmsManagementClient {
1219
1229
  * @param GetReplicationStatusRequest
1220
1230
  * @return GetReplicationStatusResponse
1221
1231
  * @throws OciError when an error occurs
1222
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/GetReplicationStatus.ts.html |here} to see how to use GetReplicationStatus API.
1232
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/GetReplicationStatus.ts.html |here} to see how to use GetReplicationStatus API.
1223
1233
  */
1224
1234
  getReplicationStatus(getReplicationStatusRequest) {
1225
1235
  return __awaiter(this, void 0, void 0, function* () {
@@ -1282,7 +1292,7 @@ class KmsManagementClient {
1282
1292
  * @param GetWrappingKeyRequest
1283
1293
  * @return GetWrappingKeyResponse
1284
1294
  * @throws OciError when an error occurs
1285
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/GetWrappingKey.ts.html |here} to see how to use GetWrappingKey API.
1295
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/GetWrappingKey.ts.html |here} to see how to use GetWrappingKey API.
1286
1296
  */
1287
1297
  getWrappingKey(getWrappingKeyRequest) {
1288
1298
  return __awaiter(this, void 0, void 0, function* () {
@@ -1344,7 +1354,7 @@ class KmsManagementClient {
1344
1354
  * @param ImportKeyRequest
1345
1355
  * @return ImportKeyResponse
1346
1356
  * @throws OciError when an error occurs
1347
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/ImportKey.ts.html |here} to see how to use ImportKey API.
1357
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/ImportKey.ts.html |here} to see how to use ImportKey API.
1348
1358
  */
1349
1359
  importKey(importKeyRequest) {
1350
1360
  return __awaiter(this, void 0, void 0, function* () {
@@ -1410,7 +1420,7 @@ class KmsManagementClient {
1410
1420
  * @param ImportKeyVersionRequest
1411
1421
  * @return ImportKeyVersionResponse
1412
1422
  * @throws OciError when an error occurs
1413
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/ImportKeyVersion.ts.html |here} to see how to use ImportKeyVersion API.
1423
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/ImportKeyVersion.ts.html |here} to see how to use ImportKeyVersion API.
1414
1424
  */
1415
1425
  importKeyVersion(importKeyVersionRequest) {
1416
1426
  return __awaiter(this, void 0, void 0, function* () {
@@ -1480,7 +1490,7 @@ class KmsManagementClient {
1480
1490
  * @param ListKeyVersionsRequest
1481
1491
  * @return ListKeyVersionsResponse
1482
1492
  * @throws OciError when an error occurs
1483
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/ListKeyVersions.ts.html |here} to see how to use ListKeyVersions API.
1493
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/ListKeyVersions.ts.html |here} to see how to use ListKeyVersions API.
1484
1494
  */
1485
1495
  listKeyVersions(listKeyVersionsRequest) {
1486
1496
  return __awaiter(this, void 0, void 0, function* () {
@@ -1592,7 +1602,7 @@ class KmsManagementClient {
1592
1602
  * @param ListKeysRequest
1593
1603
  * @return ListKeysResponse
1594
1604
  * @throws OciError when an error occurs
1595
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/ListKeys.ts.html |here} to see how to use ListKeys API.
1605
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/ListKeys.ts.html |here} to see how to use ListKeys API.
1596
1606
  */
1597
1607
  listKeys(listKeysRequest) {
1598
1608
  return __awaiter(this, void 0, void 0, function* () {
@@ -1704,7 +1714,7 @@ class KmsManagementClient {
1704
1714
  * @param RestoreKeyFromFileRequest
1705
1715
  * @return RestoreKeyFromFileResponse
1706
1716
  * @throws OciError when an error occurs
1707
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/RestoreKeyFromFile.ts.html |here} to see how to use RestoreKeyFromFile API.
1717
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/RestoreKeyFromFile.ts.html |here} to see how to use RestoreKeyFromFile API.
1708
1718
  */
1709
1719
  restoreKeyFromFile(restoreKeyFromFileRequest) {
1710
1720
  return __awaiter(this, void 0, void 0, function* () {
@@ -1781,7 +1791,7 @@ class KmsManagementClient {
1781
1791
  * @param RestoreKeyFromObjectStoreRequest
1782
1792
  * @return RestoreKeyFromObjectStoreResponse
1783
1793
  * @throws OciError when an error occurs
1784
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/RestoreKeyFromObjectStore.ts.html |here} to see how to use RestoreKeyFromObjectStore API.
1794
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/RestoreKeyFromObjectStore.ts.html |here} to see how to use RestoreKeyFromObjectStore API.
1785
1795
  */
1786
1796
  restoreKeyFromObjectStore(restoreKeyFromObjectStoreRequest) {
1787
1797
  return __awaiter(this, void 0, void 0, function* () {
@@ -1855,7 +1865,7 @@ class KmsManagementClient {
1855
1865
  * @param ScheduleKeyDeletionRequest
1856
1866
  * @return ScheduleKeyDeletionResponse
1857
1867
  * @throws OciError when an error occurs
1858
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/ScheduleKeyDeletion.ts.html |here} to see how to use ScheduleKeyDeletion API.
1868
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/ScheduleKeyDeletion.ts.html |here} to see how to use ScheduleKeyDeletion API.
1859
1869
  */
1860
1870
  scheduleKeyDeletion(scheduleKeyDeletionRequest) {
1861
1871
  return __awaiter(this, void 0, void 0, function* () {
@@ -1926,7 +1936,7 @@ class KmsManagementClient {
1926
1936
  * @param ScheduleKeyVersionDeletionRequest
1927
1937
  * @return ScheduleKeyVersionDeletionResponse
1928
1938
  * @throws OciError when an error occurs
1929
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/ScheduleKeyVersionDeletion.ts.html |here} to see how to use ScheduleKeyVersionDeletion API.
1939
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/ScheduleKeyVersionDeletion.ts.html |here} to see how to use ScheduleKeyVersionDeletion API.
1930
1940
  */
1931
1941
  scheduleKeyVersionDeletion(scheduleKeyVersionDeletionRequest) {
1932
1942
  return __awaiter(this, void 0, void 0, function* () {
@@ -1999,7 +2009,7 @@ class KmsManagementClient {
1999
2009
  * @param UpdateKeyRequest
2000
2010
  * @return UpdateKeyResponse
2001
2011
  * @throws OciError when an error occurs
2002
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/UpdateKey.ts.html |here} to see how to use UpdateKey API.
2012
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/UpdateKey.ts.html |here} to see how to use UpdateKey API.
2003
2013
  */
2004
2014
  updateKey(updateKeyRequest) {
2005
2015
  return __awaiter(this, void 0, void 0, function* () {
@@ -2071,6 +2081,7 @@ class KmsVaultClient {
2071
2081
  this["_endpoint"] = "";
2072
2082
  this["_defaultHeaders"] = {};
2073
2083
  this._circuitBreaker = null;
2084
+ this._httpOptions = undefined;
2074
2085
  const requestSigner = params.authenticationDetailsProvider
2075
2086
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
2076
2087
  : null;
@@ -2079,6 +2090,9 @@ class KmsVaultClient {
2079
2090
  this._circuitBreaker = clientConfiguration.circuitBreaker
2080
2091
  ? clientConfiguration.circuitBreaker.circuit
2081
2092
  : null;
2093
+ this._httpOptions = clientConfiguration.httpOptions
2094
+ ? clientConfiguration.httpOptions
2095
+ : undefined;
2082
2096
  }
2083
2097
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
2084
2098
  const specCircuitBreakerEnabled = true;
@@ -2088,7 +2102,8 @@ class KmsVaultClient {
2088
2102
  this._circuitBreaker = new common.CircuitBreaker().circuit;
2089
2103
  }
2090
2104
  this._httpClient =
2091
- params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
2105
+ params.httpClient ||
2106
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
2092
2107
  if (params.authenticationDetailsProvider &&
2093
2108
  common.isRegionProvider(params.authenticationDetailsProvider)) {
2094
2109
  const provider = params.authenticationDetailsProvider;
@@ -2164,7 +2179,7 @@ class KmsVaultClient {
2164
2179
  * @param BackupVaultRequest
2165
2180
  * @return BackupVaultResponse
2166
2181
  * @throws OciError when an error occurs
2167
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/BackupVault.ts.html |here} to see how to use BackupVault API.
2182
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/BackupVault.ts.html |here} to see how to use BackupVault API.
2168
2183
  */
2169
2184
  backupVault(backupVaultRequest) {
2170
2185
  return __awaiter(this, void 0, void 0, function* () {
@@ -2242,7 +2257,7 @@ class KmsVaultClient {
2242
2257
  * @param CancelVaultDeletionRequest
2243
2258
  * @return CancelVaultDeletionResponse
2244
2259
  * @throws OciError when an error occurs
2245
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/CancelVaultDeletion.ts.html |here} to see how to use CancelVaultDeletion API.
2260
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/CancelVaultDeletion.ts.html |here} to see how to use CancelVaultDeletion API.
2246
2261
  */
2247
2262
  cancelVaultDeletion(cancelVaultDeletionRequest) {
2248
2263
  return __awaiter(this, void 0, void 0, function* () {
@@ -2314,7 +2329,7 @@ class KmsVaultClient {
2314
2329
  * @param ChangeVaultCompartmentRequest
2315
2330
  * @return ChangeVaultCompartmentResponse
2316
2331
  * @throws OciError when an error occurs
2317
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/ChangeVaultCompartment.ts.html |here} to see how to use ChangeVaultCompartment API.
2332
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/ChangeVaultCompartment.ts.html |here} to see how to use ChangeVaultCompartment API.
2318
2333
  */
2319
2334
  changeVaultCompartment(changeVaultCompartmentRequest) {
2320
2335
  return __awaiter(this, void 0, void 0, function* () {
@@ -2383,7 +2398,7 @@ class KmsVaultClient {
2383
2398
  * @param CreateVaultRequest
2384
2399
  * @return CreateVaultResponse
2385
2400
  * @throws OciError when an error occurs
2386
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/CreateVault.ts.html |here} to see how to use CreateVault API.
2401
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/CreateVault.ts.html |here} to see how to use CreateVault API.
2387
2402
  */
2388
2403
  createVault(createVaultRequest) {
2389
2404
  return __awaiter(this, void 0, void 0, function* () {
@@ -2454,7 +2469,7 @@ class KmsVaultClient {
2454
2469
  * @param CreateVaultReplicaRequest
2455
2470
  * @return CreateVaultReplicaResponse
2456
2471
  * @throws OciError when an error occurs
2457
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/CreateVaultReplica.ts.html |here} to see how to use CreateVaultReplica API.
2472
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/CreateVaultReplica.ts.html |here} to see how to use CreateVaultReplica API.
2458
2473
  */
2459
2474
  createVaultReplica(createVaultReplicaRequest) {
2460
2475
  return __awaiter(this, void 0, void 0, function* () {
@@ -2520,7 +2535,7 @@ class KmsVaultClient {
2520
2535
  * @param DeleteVaultReplicaRequest
2521
2536
  * @return DeleteVaultReplicaResponse
2522
2537
  * @throws OciError when an error occurs
2523
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/DeleteVaultReplica.ts.html |here} to see how to use DeleteVaultReplica API.
2538
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/DeleteVaultReplica.ts.html |here} to see how to use DeleteVaultReplica API.
2524
2539
  */
2525
2540
  deleteVaultReplica(deleteVaultReplicaRequest) {
2526
2541
  return __awaiter(this, void 0, void 0, function* () {
@@ -2586,7 +2601,7 @@ class KmsVaultClient {
2586
2601
  * @param GetVaultRequest
2587
2602
  * @return GetVaultResponse
2588
2603
  * @throws OciError when an error occurs
2589
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/GetVault.ts.html |here} to see how to use GetVault API.
2604
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/GetVault.ts.html |here} to see how to use GetVault API.
2590
2605
  */
2591
2606
  getVault(getVaultRequest) {
2592
2607
  return __awaiter(this, void 0, void 0, function* () {
@@ -2648,7 +2663,7 @@ class KmsVaultClient {
2648
2663
  * @param GetVaultUsageRequest
2649
2664
  * @return GetVaultUsageResponse
2650
2665
  * @throws OciError when an error occurs
2651
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/GetVaultUsage.ts.html |here} to see how to use GetVaultUsage API.
2666
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/GetVaultUsage.ts.html |here} to see how to use GetVaultUsage API.
2652
2667
  */
2653
2668
  getVaultUsage(getVaultUsageRequest) {
2654
2669
  return __awaiter(this, void 0, void 0, function* () {
@@ -2710,7 +2725,7 @@ class KmsVaultClient {
2710
2725
  * @param ListVaultReplicasRequest
2711
2726
  * @return ListVaultReplicasResponse
2712
2727
  * @throws OciError when an error occurs
2713
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/ListVaultReplicas.ts.html |here} to see how to use ListVaultReplicas API.
2728
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/ListVaultReplicas.ts.html |here} to see how to use ListVaultReplicas API.
2714
2729
  */
2715
2730
  listVaultReplicas(listVaultReplicasRequest) {
2716
2731
  return __awaiter(this, void 0, void 0, function* () {
@@ -2829,7 +2844,7 @@ class KmsVaultClient {
2829
2844
  * @param ListVaultsRequest
2830
2845
  * @return ListVaultsResponse
2831
2846
  * @throws OciError when an error occurs
2832
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/ListVaults.ts.html |here} to see how to use ListVaults API.
2847
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/ListVaults.ts.html |here} to see how to use ListVaults API.
2833
2848
  */
2834
2849
  listVaults(listVaultsRequest) {
2835
2850
  return __awaiter(this, void 0, void 0, function* () {
@@ -2937,7 +2952,7 @@ class KmsVaultClient {
2937
2952
  * @param RestoreVaultFromFileRequest
2938
2953
  * @return RestoreVaultFromFileResponse
2939
2954
  * @throws OciError when an error occurs
2940
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/RestoreVaultFromFile.ts.html |here} to see how to use RestoreVaultFromFile API.
2955
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/RestoreVaultFromFile.ts.html |here} to see how to use RestoreVaultFromFile API.
2941
2956
  */
2942
2957
  restoreVaultFromFile(restoreVaultFromFileRequest) {
2943
2958
  return __awaiter(this, void 0, void 0, function* () {
@@ -3016,7 +3031,7 @@ class KmsVaultClient {
3016
3031
  * @param RestoreVaultFromObjectStoreRequest
3017
3032
  * @return RestoreVaultFromObjectStoreResponse
3018
3033
  * @throws OciError when an error occurs
3019
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/RestoreVaultFromObjectStore.ts.html |here} to see how to use RestoreVaultFromObjectStore API.
3034
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/RestoreVaultFromObjectStore.ts.html |here} to see how to use RestoreVaultFromObjectStore API.
3020
3035
  */
3021
3036
  restoreVaultFromObjectStore(restoreVaultFromObjectStoreRequest) {
3022
3037
  return __awaiter(this, void 0, void 0, function* () {
@@ -3095,7 +3110,7 @@ class KmsVaultClient {
3095
3110
  * @param ScheduleVaultDeletionRequest
3096
3111
  * @return ScheduleVaultDeletionResponse
3097
3112
  * @throws OciError when an error occurs
3098
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/ScheduleVaultDeletion.ts.html |here} to see how to use ScheduleVaultDeletion API.
3113
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/ScheduleVaultDeletion.ts.html |here} to see how to use ScheduleVaultDeletion API.
3099
3114
  */
3100
3115
  scheduleVaultDeletion(scheduleVaultDeletionRequest) {
3101
3116
  return __awaiter(this, void 0, void 0, function* () {
@@ -3167,7 +3182,7 @@ class KmsVaultClient {
3167
3182
  * @param UpdateVaultRequest
3168
3183
  * @return UpdateVaultResponse
3169
3184
  * @throws OciError when an error occurs
3170
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.22.0/keymanagement/UpdateVault.ts.html |here} to see how to use UpdateVault API.
3185
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/keymanagement/UpdateVault.ts.html |here} to see how to use UpdateVault API.
3171
3186
  */
3172
3187
  updateVault(updateVaultRequest) {
3173
3188
  return __awaiter(this, void 0, void 0, function* () {