oci-keymanagement 2.67.0 → 2.68.1

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 +56 -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
@@ -65,6 +65,7 @@ class KmsCryptoClient {
65
65
  this["_defaultHeaders"] = {};
66
66
  this._circuitBreaker = null;
67
67
  this._httpOptions = undefined;
68
+ this._bodyDuplexMode = undefined;
68
69
  this.targetService = "KmsCrypto";
69
70
  const requestSigner = params.authenticationDetailsProvider
70
71
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
@@ -77,6 +78,9 @@ class KmsCryptoClient {
77
78
  this._httpOptions = clientConfiguration.httpOptions
78
79
  ? clientConfiguration.httpOptions
79
80
  : undefined;
81
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
82
+ ? clientConfiguration.bodyDuplexMode
83
+ : undefined;
80
84
  }
81
85
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
82
86
  const specCircuitBreakerEnabled = true;
@@ -87,7 +91,7 @@ class KmsCryptoClient {
87
91
  }
88
92
  this._httpClient =
89
93
  params.httpClient ||
90
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
94
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
91
95
  }
92
96
  /**
93
97
  * Get the endpoint that is being used to call (ex, https://www.example.com).
@@ -124,7 +128,7 @@ class KmsCryptoClient {
124
128
  * @param DecryptRequest
125
129
  * @return DecryptResponse
126
130
  * @throws OciError when an error occurs
127
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/Decrypt.ts.html |here} to see how to use Decrypt API.
131
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/Decrypt.ts.html |here} to see how to use Decrypt API.
128
132
  */
129
133
  decrypt(decryptRequest) {
130
134
  return __awaiter(this, void 0, void 0, function* () {
@@ -183,7 +187,7 @@ class KmsCryptoClient {
183
187
  * @param EncryptRequest
184
188
  * @return EncryptResponse
185
189
  * @throws OciError when an error occurs
186
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/Encrypt.ts.html |here} to see how to use Encrypt API.
190
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/Encrypt.ts.html |here} to see how to use Encrypt API.
187
191
  */
188
192
  encrypt(encryptRequest) {
189
193
  return __awaiter(this, void 0, void 0, function* () {
@@ -243,7 +247,7 @@ class KmsCryptoClient {
243
247
  * @param ExportKeyRequest
244
248
  * @return ExportKeyResponse
245
249
  * @throws OciError when an error occurs
246
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/ExportKey.ts.html |here} to see how to use ExportKey API.
250
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/ExportKey.ts.html |here} to see how to use ExportKey API.
247
251
  */
248
252
  exportKey(exportKeyRequest) {
249
253
  return __awaiter(this, void 0, void 0, function* () {
@@ -300,7 +304,7 @@ class KmsCryptoClient {
300
304
  * @param GenerateDataEncryptionKeyRequest
301
305
  * @return GenerateDataEncryptionKeyResponse
302
306
  * @throws OciError when an error occurs
303
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/GenerateDataEncryptionKey.ts.html |here} to see how to use GenerateDataEncryptionKey API.
307
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/GenerateDataEncryptionKey.ts.html |here} to see how to use GenerateDataEncryptionKey API.
304
308
  */
305
309
  generateDataEncryptionKey(generateDataEncryptionKeyRequest) {
306
310
  return __awaiter(this, void 0, void 0, function* () {
@@ -360,7 +364,7 @@ class KmsCryptoClient {
360
364
  * @param SignRequest
361
365
  * @return SignResponse
362
366
  * @throws OciError when an error occurs
363
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/Sign.ts.html |here} to see how to use Sign API.
367
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/Sign.ts.html |here} to see how to use Sign API.
364
368
  */
365
369
  sign(signRequest) {
366
370
  return __awaiter(this, void 0, void 0, function* () {
@@ -420,7 +424,7 @@ class KmsCryptoClient {
420
424
  * @param VerifyRequest
421
425
  * @return VerifyResponse
422
426
  * @throws OciError when an error occurs
423
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/Verify.ts.html |here} to see how to use Verify API.
427
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/Verify.ts.html |here} to see how to use Verify API.
424
428
  */
425
429
  verify(verifyRequest) {
426
430
  return __awaiter(this, void 0, void 0, function* () {
@@ -488,6 +492,7 @@ class KmsManagementClient {
488
492
  this["_defaultHeaders"] = {};
489
493
  this._circuitBreaker = null;
490
494
  this._httpOptions = undefined;
495
+ this._bodyDuplexMode = undefined;
491
496
  this.targetService = "KmsManagement";
492
497
  const requestSigner = params.authenticationDetailsProvider
493
498
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
@@ -500,6 +505,9 @@ class KmsManagementClient {
500
505
  this._httpOptions = clientConfiguration.httpOptions
501
506
  ? clientConfiguration.httpOptions
502
507
  : undefined;
508
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
509
+ ? clientConfiguration.bodyDuplexMode
510
+ : undefined;
503
511
  }
504
512
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
505
513
  const specCircuitBreakerEnabled = true;
@@ -510,7 +518,7 @@ class KmsManagementClient {
510
518
  }
511
519
  this._httpClient =
512
520
  params.httpClient ||
513
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
521
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
514
522
  }
515
523
  /**
516
524
  * Get the endpoint that is being used to call (ex, https://www.example.com).
@@ -569,7 +577,7 @@ class KmsManagementClient {
569
577
  * @param BackupKeyRequest
570
578
  * @return BackupKeyResponse
571
579
  * @throws OciError when an error occurs
572
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/BackupKey.ts.html |here} to see how to use BackupKey API.
580
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/BackupKey.ts.html |here} to see how to use BackupKey API.
573
581
  */
574
582
  backupKey(backupKeyRequest) {
575
583
  return __awaiter(this, void 0, void 0, function* () {
@@ -648,7 +656,7 @@ class KmsManagementClient {
648
656
  * @param CancelKeyDeletionRequest
649
657
  * @return CancelKeyDeletionResponse
650
658
  * @throws OciError when an error occurs
651
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/CancelKeyDeletion.ts.html |here} to see how to use CancelKeyDeletion API.
659
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/CancelKeyDeletion.ts.html |here} to see how to use CancelKeyDeletion API.
652
660
  */
653
661
  cancelKeyDeletion(cancelKeyDeletionRequest) {
654
662
  return __awaiter(this, void 0, void 0, function* () {
@@ -721,7 +729,7 @@ class KmsManagementClient {
721
729
  * @param CancelKeyVersionDeletionRequest
722
730
  * @return CancelKeyVersionDeletionResponse
723
731
  * @throws OciError when an error occurs
724
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/CancelKeyVersionDeletion.ts.html |here} to see how to use CancelKeyVersionDeletion API.
732
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/CancelKeyVersionDeletion.ts.html |here} to see how to use CancelKeyVersionDeletion API.
725
733
  */
726
734
  cancelKeyVersionDeletion(cancelKeyVersionDeletionRequest) {
727
735
  return __awaiter(this, void 0, void 0, function* () {
@@ -796,7 +804,7 @@ class KmsManagementClient {
796
804
  * @param ChangeKeyCompartmentRequest
797
805
  * @return ChangeKeyCompartmentResponse
798
806
  * @throws OciError when an error occurs
799
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/ChangeKeyCompartment.ts.html |here} to see how to use ChangeKeyCompartment API.
807
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/ChangeKeyCompartment.ts.html |here} to see how to use ChangeKeyCompartment API.
800
808
  */
801
809
  changeKeyCompartment(changeKeyCompartmentRequest) {
802
810
  return __awaiter(this, void 0, void 0, function* () {
@@ -864,7 +872,7 @@ class KmsManagementClient {
864
872
  * @param CreateKeyRequest
865
873
  * @return CreateKeyResponse
866
874
  * @throws OciError when an error occurs
867
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/CreateKey.ts.html |here} to see how to use CreateKey API.
875
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/CreateKey.ts.html |here} to see how to use CreateKey API.
868
876
  */
869
877
  createKey(createKeyRequest) {
870
878
  return __awaiter(this, void 0, void 0, function* () {
@@ -934,7 +942,7 @@ class KmsManagementClient {
934
942
  * @param CreateKeyVersionRequest
935
943
  * @return CreateKeyVersionResponse
936
944
  * @throws OciError when an error occurs
937
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/CreateKeyVersion.ts.html |here} to see how to use CreateKeyVersion API.
945
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/CreateKeyVersion.ts.html |here} to see how to use CreateKeyVersion API.
938
946
  */
939
947
  createKeyVersion(createKeyVersionRequest) {
940
948
  return __awaiter(this, void 0, void 0, function* () {
@@ -1005,7 +1013,7 @@ class KmsManagementClient {
1005
1013
  * @param DisableKeyRequest
1006
1014
  * @return DisableKeyResponse
1007
1015
  * @throws OciError when an error occurs
1008
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/DisableKey.ts.html |here} to see how to use DisableKey API.
1016
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/DisableKey.ts.html |here} to see how to use DisableKey API.
1009
1017
  */
1010
1018
  disableKey(disableKeyRequest) {
1011
1019
  return __awaiter(this, void 0, void 0, function* () {
@@ -1077,7 +1085,7 @@ class KmsManagementClient {
1077
1085
  * @param EnableKeyRequest
1078
1086
  * @return EnableKeyResponse
1079
1087
  * @throws OciError when an error occurs
1080
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/EnableKey.ts.html |here} to see how to use EnableKey API.
1088
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/EnableKey.ts.html |here} to see how to use EnableKey API.
1081
1089
  */
1082
1090
  enableKey(enableKeyRequest) {
1083
1091
  return __awaiter(this, void 0, void 0, function* () {
@@ -1148,7 +1156,7 @@ class KmsManagementClient {
1148
1156
  * @param GetKeyRequest
1149
1157
  * @return GetKeyResponse
1150
1158
  * @throws OciError when an error occurs
1151
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/GetKey.ts.html |here} to see how to use GetKey API.
1159
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/GetKey.ts.html |here} to see how to use GetKey API.
1152
1160
  */
1153
1161
  getKey(getKeyRequest) {
1154
1162
  return __awaiter(this, void 0, void 0, function* () {
@@ -1217,7 +1225,7 @@ class KmsManagementClient {
1217
1225
  * @param GetKeyVersionRequest
1218
1226
  * @return GetKeyVersionResponse
1219
1227
  * @throws OciError when an error occurs
1220
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/GetKeyVersion.ts.html |here} to see how to use GetKeyVersion API.
1228
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/GetKeyVersion.ts.html |here} to see how to use GetKeyVersion API.
1221
1229
  */
1222
1230
  getKeyVersion(getKeyVersionRequest) {
1223
1231
  return __awaiter(this, void 0, void 0, function* () {
@@ -1285,7 +1293,7 @@ class KmsManagementClient {
1285
1293
  * @param GetReplicationStatusRequest
1286
1294
  * @return GetReplicationStatusResponse
1287
1295
  * @throws OciError when an error occurs
1288
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/GetReplicationStatus.ts.html |here} to see how to use GetReplicationStatus API.
1296
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/GetReplicationStatus.ts.html |here} to see how to use GetReplicationStatus API.
1289
1297
  */
1290
1298
  getReplicationStatus(getReplicationStatusRequest) {
1291
1299
  return __awaiter(this, void 0, void 0, function* () {
@@ -1350,7 +1358,7 @@ class KmsManagementClient {
1350
1358
  * @param GetWrappingKeyRequest
1351
1359
  * @return GetWrappingKeyResponse
1352
1360
  * @throws OciError when an error occurs
1353
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/GetWrappingKey.ts.html |here} to see how to use GetWrappingKey API.
1361
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/GetWrappingKey.ts.html |here} to see how to use GetWrappingKey API.
1354
1362
  */
1355
1363
  getWrappingKey(getWrappingKeyRequest) {
1356
1364
  return __awaiter(this, void 0, void 0, function* () {
@@ -1414,7 +1422,7 @@ class KmsManagementClient {
1414
1422
  * @param ImportKeyRequest
1415
1423
  * @return ImportKeyResponse
1416
1424
  * @throws OciError when an error occurs
1417
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/ImportKey.ts.html |here} to see how to use ImportKey API.
1425
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/ImportKey.ts.html |here} to see how to use ImportKey API.
1418
1426
  */
1419
1427
  importKey(importKeyRequest) {
1420
1428
  return __awaiter(this, void 0, void 0, function* () {
@@ -1482,7 +1490,7 @@ class KmsManagementClient {
1482
1490
  * @param ImportKeyVersionRequest
1483
1491
  * @return ImportKeyVersionResponse
1484
1492
  * @throws OciError when an error occurs
1485
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/ImportKeyVersion.ts.html |here} to see how to use ImportKeyVersion API.
1493
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/ImportKeyVersion.ts.html |here} to see how to use ImportKeyVersion API.
1486
1494
  */
1487
1495
  importKeyVersion(importKeyVersionRequest) {
1488
1496
  return __awaiter(this, void 0, void 0, function* () {
@@ -1554,7 +1562,7 @@ class KmsManagementClient {
1554
1562
  * @param ListKeyVersionsRequest
1555
1563
  * @return ListKeyVersionsResponse
1556
1564
  * @throws OciError when an error occurs
1557
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/ListKeyVersions.ts.html |here} to see how to use ListKeyVersions API.
1565
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/ListKeyVersions.ts.html |here} to see how to use ListKeyVersions API.
1558
1566
  */
1559
1567
  listKeyVersions(listKeyVersionsRequest) {
1560
1568
  return __awaiter(this, void 0, void 0, function* () {
@@ -1668,7 +1676,7 @@ class KmsManagementClient {
1668
1676
  * @param ListKeysRequest
1669
1677
  * @return ListKeysResponse
1670
1678
  * @throws OciError when an error occurs
1671
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/ListKeys.ts.html |here} to see how to use ListKeys API.
1679
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/ListKeys.ts.html |here} to see how to use ListKeys API.
1672
1680
  */
1673
1681
  listKeys(listKeysRequest) {
1674
1682
  return __awaiter(this, void 0, void 0, function* () {
@@ -1782,7 +1790,7 @@ class KmsManagementClient {
1782
1790
  * @param RestoreKeyFromFileRequest
1783
1791
  * @return RestoreKeyFromFileResponse
1784
1792
  * @throws OciError when an error occurs
1785
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/RestoreKeyFromFile.ts.html |here} to see how to use RestoreKeyFromFile API.
1793
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/RestoreKeyFromFile.ts.html |here} to see how to use RestoreKeyFromFile API.
1786
1794
  */
1787
1795
  restoreKeyFromFile(restoreKeyFromFileRequest) {
1788
1796
  return __awaiter(this, void 0, void 0, function* () {
@@ -1861,7 +1869,7 @@ class KmsManagementClient {
1861
1869
  * @param RestoreKeyFromObjectStoreRequest
1862
1870
  * @return RestoreKeyFromObjectStoreResponse
1863
1871
  * @throws OciError when an error occurs
1864
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/RestoreKeyFromObjectStore.ts.html |here} to see how to use RestoreKeyFromObjectStore API.
1872
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/RestoreKeyFromObjectStore.ts.html |here} to see how to use RestoreKeyFromObjectStore API.
1865
1873
  */
1866
1874
  restoreKeyFromObjectStore(restoreKeyFromObjectStoreRequest) {
1867
1875
  return __awaiter(this, void 0, void 0, function* () {
@@ -1937,7 +1945,7 @@ class KmsManagementClient {
1937
1945
  * @param ScheduleKeyDeletionRequest
1938
1946
  * @return ScheduleKeyDeletionResponse
1939
1947
  * @throws OciError when an error occurs
1940
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/ScheduleKeyDeletion.ts.html |here} to see how to use ScheduleKeyDeletion API.
1948
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/ScheduleKeyDeletion.ts.html |here} to see how to use ScheduleKeyDeletion API.
1941
1949
  */
1942
1950
  scheduleKeyDeletion(scheduleKeyDeletionRequest) {
1943
1951
  return __awaiter(this, void 0, void 0, function* () {
@@ -2010,7 +2018,7 @@ class KmsManagementClient {
2010
2018
  * @param ScheduleKeyVersionDeletionRequest
2011
2019
  * @return ScheduleKeyVersionDeletionResponse
2012
2020
  * @throws OciError when an error occurs
2013
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/ScheduleKeyVersionDeletion.ts.html |here} to see how to use ScheduleKeyVersionDeletion API.
2021
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/ScheduleKeyVersionDeletion.ts.html |here} to see how to use ScheduleKeyVersionDeletion API.
2014
2022
  */
2015
2023
  scheduleKeyVersionDeletion(scheduleKeyVersionDeletionRequest) {
2016
2024
  return __awaiter(this, void 0, void 0, function* () {
@@ -2085,7 +2093,7 @@ class KmsManagementClient {
2085
2093
  * @param UpdateKeyRequest
2086
2094
  * @return UpdateKeyResponse
2087
2095
  * @throws OciError when an error occurs
2088
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/UpdateKey.ts.html |here} to see how to use UpdateKey API.
2096
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/UpdateKey.ts.html |here} to see how to use UpdateKey API.
2089
2097
  */
2090
2098
  updateKey(updateKeyRequest) {
2091
2099
  return __awaiter(this, void 0, void 0, function* () {
@@ -2161,6 +2169,7 @@ class KmsVaultClient {
2161
2169
  this["_defaultHeaders"] = {};
2162
2170
  this._circuitBreaker = null;
2163
2171
  this._httpOptions = undefined;
2172
+ this._bodyDuplexMode = undefined;
2164
2173
  this.targetService = "KmsVault";
2165
2174
  this._regionId = "";
2166
2175
  this._lastSetRegionOrRegionId = "";
@@ -2175,6 +2184,9 @@ class KmsVaultClient {
2175
2184
  this._httpOptions = clientConfiguration.httpOptions
2176
2185
  ? clientConfiguration.httpOptions
2177
2186
  : undefined;
2187
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
2188
+ ? clientConfiguration.bodyDuplexMode
2189
+ : undefined;
2178
2190
  }
2179
2191
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
2180
2192
  const specCircuitBreakerEnabled = true;
@@ -2185,7 +2197,7 @@ class KmsVaultClient {
2185
2197
  }
2186
2198
  this._httpClient =
2187
2199
  params.httpClient ||
2188
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
2200
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
2189
2201
  if (params.authenticationDetailsProvider &&
2190
2202
  common.isRegionProvider(params.authenticationDetailsProvider)) {
2191
2203
  const provider = params.authenticationDetailsProvider;
@@ -2281,7 +2293,7 @@ class KmsVaultClient {
2281
2293
  * @param BackupVaultRequest
2282
2294
  * @return BackupVaultResponse
2283
2295
  * @throws OciError when an error occurs
2284
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/BackupVault.ts.html |here} to see how to use BackupVault API.
2296
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/BackupVault.ts.html |here} to see how to use BackupVault API.
2285
2297
  */
2286
2298
  backupVault(backupVaultRequest) {
2287
2299
  return __awaiter(this, void 0, void 0, function* () {
@@ -2361,7 +2373,7 @@ class KmsVaultClient {
2361
2373
  * @param CancelVaultDeletionRequest
2362
2374
  * @return CancelVaultDeletionResponse
2363
2375
  * @throws OciError when an error occurs
2364
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/CancelVaultDeletion.ts.html |here} to see how to use CancelVaultDeletion API.
2376
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/CancelVaultDeletion.ts.html |here} to see how to use CancelVaultDeletion API.
2365
2377
  */
2366
2378
  cancelVaultDeletion(cancelVaultDeletionRequest) {
2367
2379
  return __awaiter(this, void 0, void 0, function* () {
@@ -2435,7 +2447,7 @@ class KmsVaultClient {
2435
2447
  * @param ChangeVaultCompartmentRequest
2436
2448
  * @return ChangeVaultCompartmentResponse
2437
2449
  * @throws OciError when an error occurs
2438
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/ChangeVaultCompartment.ts.html |here} to see how to use ChangeVaultCompartment API.
2450
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/ChangeVaultCompartment.ts.html |here} to see how to use ChangeVaultCompartment API.
2439
2451
  */
2440
2452
  changeVaultCompartment(changeVaultCompartmentRequest) {
2441
2453
  return __awaiter(this, void 0, void 0, function* () {
@@ -2506,7 +2518,7 @@ class KmsVaultClient {
2506
2518
  * @param CreateVaultRequest
2507
2519
  * @return CreateVaultResponse
2508
2520
  * @throws OciError when an error occurs
2509
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/CreateVault.ts.html |here} to see how to use CreateVault API.
2521
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/CreateVault.ts.html |here} to see how to use CreateVault API.
2510
2522
  */
2511
2523
  createVault(createVaultRequest) {
2512
2524
  return __awaiter(this, void 0, void 0, function* () {
@@ -2579,7 +2591,7 @@ class KmsVaultClient {
2579
2591
  * @param CreateVaultReplicaRequest
2580
2592
  * @return CreateVaultReplicaResponse
2581
2593
  * @throws OciError when an error occurs
2582
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/CreateVaultReplica.ts.html |here} to see how to use CreateVaultReplica API.
2594
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/CreateVaultReplica.ts.html |here} to see how to use CreateVaultReplica API.
2583
2595
  */
2584
2596
  createVaultReplica(createVaultReplicaRequest) {
2585
2597
  return __awaiter(this, void 0, void 0, function* () {
@@ -2647,7 +2659,7 @@ class KmsVaultClient {
2647
2659
  * @param DeleteVaultReplicaRequest
2648
2660
  * @return DeleteVaultReplicaResponse
2649
2661
  * @throws OciError when an error occurs
2650
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/DeleteVaultReplica.ts.html |here} to see how to use DeleteVaultReplica API.
2662
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/DeleteVaultReplica.ts.html |here} to see how to use DeleteVaultReplica API.
2651
2663
  */
2652
2664
  deleteVaultReplica(deleteVaultReplicaRequest) {
2653
2665
  return __awaiter(this, void 0, void 0, function* () {
@@ -2715,7 +2727,7 @@ class KmsVaultClient {
2715
2727
  * @param GetVaultRequest
2716
2728
  * @return GetVaultResponse
2717
2729
  * @throws OciError when an error occurs
2718
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/GetVault.ts.html |here} to see how to use GetVault API.
2730
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/GetVault.ts.html |here} to see how to use GetVault API.
2719
2731
  */
2720
2732
  getVault(getVaultRequest) {
2721
2733
  return __awaiter(this, void 0, void 0, function* () {
@@ -2779,7 +2791,7 @@ class KmsVaultClient {
2779
2791
  * @param GetVaultUsageRequest
2780
2792
  * @return GetVaultUsageResponse
2781
2793
  * @throws OciError when an error occurs
2782
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/GetVaultUsage.ts.html |here} to see how to use GetVaultUsage API.
2794
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/GetVaultUsage.ts.html |here} to see how to use GetVaultUsage API.
2783
2795
  */
2784
2796
  getVaultUsage(getVaultUsageRequest) {
2785
2797
  return __awaiter(this, void 0, void 0, function* () {
@@ -2843,7 +2855,7 @@ class KmsVaultClient {
2843
2855
  * @param ListVaultReplicasRequest
2844
2856
  * @return ListVaultReplicasResponse
2845
2857
  * @throws OciError when an error occurs
2846
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/ListVaultReplicas.ts.html |here} to see how to use ListVaultReplicas API.
2858
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/ListVaultReplicas.ts.html |here} to see how to use ListVaultReplicas API.
2847
2859
  */
2848
2860
  listVaultReplicas(listVaultReplicasRequest) {
2849
2861
  return __awaiter(this, void 0, void 0, function* () {
@@ -2964,7 +2976,7 @@ class KmsVaultClient {
2964
2976
  * @param ListVaultsRequest
2965
2977
  * @return ListVaultsResponse
2966
2978
  * @throws OciError when an error occurs
2967
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/ListVaults.ts.html |here} to see how to use ListVaults API.
2979
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/ListVaults.ts.html |here} to see how to use ListVaults API.
2968
2980
  */
2969
2981
  listVaults(listVaultsRequest) {
2970
2982
  return __awaiter(this, void 0, void 0, function* () {
@@ -3074,7 +3086,7 @@ class KmsVaultClient {
3074
3086
  * @param RestoreVaultFromFileRequest
3075
3087
  * @return RestoreVaultFromFileResponse
3076
3088
  * @throws OciError when an error occurs
3077
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/RestoreVaultFromFile.ts.html |here} to see how to use RestoreVaultFromFile API.
3089
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/RestoreVaultFromFile.ts.html |here} to see how to use RestoreVaultFromFile API.
3078
3090
  */
3079
3091
  restoreVaultFromFile(restoreVaultFromFileRequest) {
3080
3092
  return __awaiter(this, void 0, void 0, function* () {
@@ -3155,7 +3167,7 @@ class KmsVaultClient {
3155
3167
  * @param RestoreVaultFromObjectStoreRequest
3156
3168
  * @return RestoreVaultFromObjectStoreResponse
3157
3169
  * @throws OciError when an error occurs
3158
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/RestoreVaultFromObjectStore.ts.html |here} to see how to use RestoreVaultFromObjectStore API.
3170
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/RestoreVaultFromObjectStore.ts.html |here} to see how to use RestoreVaultFromObjectStore API.
3159
3171
  */
3160
3172
  restoreVaultFromObjectStore(restoreVaultFromObjectStoreRequest) {
3161
3173
  return __awaiter(this, void 0, void 0, function* () {
@@ -3236,7 +3248,7 @@ class KmsVaultClient {
3236
3248
  * @param ScheduleVaultDeletionRequest
3237
3249
  * @return ScheduleVaultDeletionResponse
3238
3250
  * @throws OciError when an error occurs
3239
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/ScheduleVaultDeletion.ts.html |here} to see how to use ScheduleVaultDeletion API.
3251
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/ScheduleVaultDeletion.ts.html |here} to see how to use ScheduleVaultDeletion API.
3240
3252
  */
3241
3253
  scheduleVaultDeletion(scheduleVaultDeletionRequest) {
3242
3254
  return __awaiter(this, void 0, void 0, function* () {
@@ -3310,7 +3322,7 @@ class KmsVaultClient {
3310
3322
  * @param UpdateVaultRequest
3311
3323
  * @return UpdateVaultResponse
3312
3324
  * @throws OciError when an error occurs
3313
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/keymanagement/UpdateVault.ts.html |here} to see how to use UpdateVault API.
3325
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/keymanagement/UpdateVault.ts.html |here} to see how to use UpdateVault API.
3314
3326
  */
3315
3327
  updateVault(updateVaultRequest) {
3316
3328
  return __awaiter(this, void 0, void 0, function* () {