oci-keymanagement 2.78.0 → 2.79.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 (176) hide show
  1. package/index.d.ts +3 -0
  2. package/index.js +4 -1
  3. package/index.js.map +1 -1
  4. package/lib/client.d.ts +253 -46
  5. package/lib/client.js +995 -47
  6. package/lib/client.js.map +1 -1
  7. package/lib/kmshsmcluster-waiter.d.ts +38 -0
  8. package/lib/kmshsmcluster-waiter.js +78 -0
  9. package/lib/kmshsmcluster-waiter.js.map +1 -0
  10. package/lib/model/change-hsm-cluster-compartment-details.d.ts +26 -0
  11. package/lib/model/change-hsm-cluster-compartment-details.js +30 -0
  12. package/lib/model/change-hsm-cluster-compartment-details.js.map +1 -0
  13. package/lib/model/create-hsm-cluster-details.d.ts +52 -0
  14. package/lib/model/create-hsm-cluster-details.js +30 -0
  15. package/lib/model/create-hsm-cluster-details.js.map +1 -0
  16. package/lib/model/hsm-cluster-collection.d.ts +27 -0
  17. package/lib/model/hsm-cluster-collection.js +62 -0
  18. package/lib/model/hsm-cluster-collection.js.map +1 -0
  19. package/lib/model/hsm-cluster-summary.d.ts +87 -0
  20. package/lib/model/hsm-cluster-summary.js +30 -0
  21. package/lib/model/hsm-cluster-summary.js.map +1 -0
  22. package/lib/model/hsm-cluster.d.ts +105 -0
  23. package/lib/model/hsm-cluster.js +49 -0
  24. package/lib/model/hsm-cluster.js.map +1 -0
  25. package/lib/model/hsm-partition-collection.d.ts +27 -0
  26. package/lib/model/hsm-partition-collection.js +62 -0
  27. package/lib/model/hsm-partition-collection.js.map +1 -0
  28. package/lib/model/hsm-partition-summary.d.ts +57 -0
  29. package/lib/model/hsm-partition-summary.js +62 -0
  30. package/lib/model/hsm-partition-summary.js.map +1 -0
  31. package/lib/model/hsm-partition.d.ts +64 -0
  32. package/lib/model/hsm-partition.js +74 -0
  33. package/lib/model/hsm-partition.js.map +1 -0
  34. package/lib/model/index.d.ts +26 -0
  35. package/lib/model/index.js +28 -2
  36. package/lib/model/index.js.map +1 -1
  37. package/lib/model/port-information.d.ts +39 -0
  38. package/lib/model/port-information.js +40 -0
  39. package/lib/model/port-information.js.map +1 -0
  40. package/lib/model/pre-co-user-credentials.d.ts +30 -0
  41. package/lib/model/pre-co-user-credentials.js +30 -0
  42. package/lib/model/pre-co-user-credentials.js.map +1 -0
  43. package/lib/model/schedule-hsm-cluster-deletion-details.d.ts +31 -0
  44. package/lib/model/schedule-hsm-cluster-deletion-details.js +30 -0
  45. package/lib/model/schedule-hsm-cluster-deletion-details.js.map +1 -0
  46. package/lib/model/sign-data-details.d.ts +8 -0
  47. package/lib/model/sign-data-details.js.map +1 -1
  48. package/lib/model/update-hsm-cluster-details.d.ts +48 -0
  49. package/lib/model/update-hsm-cluster-details.js +30 -0
  50. package/lib/model/update-hsm-cluster-details.js.map +1 -0
  51. package/lib/model/upload-partition-certificates-details.d.ts +30 -0
  52. package/lib/model/upload-partition-certificates-details.js +30 -0
  53. package/lib/model/upload-partition-certificates-details.js.map +1 -0
  54. package/lib/request/backup-key-request.d.ts +1 -1
  55. package/lib/request/backup-vault-request.d.ts +1 -1
  56. package/lib/request/cancel-hsm-cluster-deletion-request.d.ts +48 -0
  57. package/lib/request/cancel-hsm-cluster-deletion-request.js +15 -0
  58. package/lib/request/cancel-hsm-cluster-deletion-request.js.map +1 -0
  59. package/lib/request/cancel-key-deletion-request.d.ts +1 -1
  60. package/lib/request/cancel-key-version-deletion-request.d.ts +1 -1
  61. package/lib/request/cancel-vault-deletion-request.d.ts +1 -1
  62. package/lib/request/change-hsm-cluster-compartment-request.d.ts +53 -0
  63. package/lib/request/change-hsm-cluster-compartment-request.js +15 -0
  64. package/lib/request/change-hsm-cluster-compartment-request.js.map +1 -0
  65. package/lib/request/change-key-compartment-request.d.ts +1 -1
  66. package/lib/request/change-vault-compartment-request.d.ts +1 -1
  67. package/lib/request/create-ekms-private-endpoint-request.d.ts +1 -1
  68. package/lib/request/create-hsm-cluster-request.d.ts +40 -0
  69. package/lib/request/create-hsm-cluster-request.js +15 -0
  70. package/lib/request/create-hsm-cluster-request.js.map +1 -0
  71. package/lib/request/create-key-request.d.ts +1 -1
  72. package/lib/request/create-key-version-request.d.ts +1 -1
  73. package/lib/request/create-vault-replica-request.d.ts +1 -1
  74. package/lib/request/create-vault-request.d.ts +1 -1
  75. package/lib/request/decrypt-request.d.ts +1 -1
  76. package/lib/request/delete-ekms-private-endpoint-request.d.ts +1 -1
  77. package/lib/request/delete-vault-replica-request.d.ts +1 -1
  78. package/lib/request/disable-key-request.d.ts +1 -1
  79. package/lib/request/download-certificate-signing-request-request.d.ts +48 -0
  80. package/lib/request/download-certificate-signing-request-request.js +15 -0
  81. package/lib/request/download-certificate-signing-request-request.js.map +1 -0
  82. package/lib/request/enable-key-request.d.ts +1 -1
  83. package/lib/request/encrypt-request.d.ts +1 -1
  84. package/lib/request/export-key-request.d.ts +1 -1
  85. package/lib/request/generate-data-encryption-key-request.d.ts +1 -1
  86. package/lib/request/get-ekms-private-endpoint-request.d.ts +1 -1
  87. package/lib/request/get-hsm-cluster-request.d.ts +29 -0
  88. package/lib/request/get-hsm-cluster-request.js +15 -0
  89. package/lib/request/get-hsm-cluster-request.js.map +1 -0
  90. package/lib/request/get-hsm-partition-request.d.ts +43 -0
  91. package/lib/request/get-hsm-partition-request.js +15 -0
  92. package/lib/request/get-hsm-partition-request.js.map +1 -0
  93. package/lib/request/get-key-request.d.ts +1 -1
  94. package/lib/request/get-key-version-request.d.ts +1 -1
  95. package/lib/request/get-pre-co-user-credentials-request.d.ts +39 -0
  96. package/lib/request/get-pre-co-user-credentials-request.js +15 -0
  97. package/lib/request/get-pre-co-user-credentials-request.js.map +1 -0
  98. package/lib/request/get-replication-status-request.d.ts +1 -1
  99. package/lib/request/get-vault-request.d.ts +1 -1
  100. package/lib/request/get-vault-usage-request.d.ts +1 -1
  101. package/lib/request/get-wrapping-key-request.d.ts +1 -1
  102. package/lib/request/import-key-request.d.ts +1 -1
  103. package/lib/request/import-key-version-request.d.ts +1 -1
  104. package/lib/request/index.d.ts +24 -0
  105. package/lib/request/index.js +5 -1
  106. package/lib/request/index.js.map +1 -1
  107. package/lib/request/list-ekms-private-endpoints-request.d.ts +1 -1
  108. package/lib/request/list-hsm-clusters-request.d.ts +62 -0
  109. package/lib/request/list-hsm-clusters-request.js +29 -0
  110. package/lib/request/list-hsm-clusters-request.js.map +1 -0
  111. package/lib/request/list-hsm-partitions-request.d.ts +66 -0
  112. package/lib/request/list-hsm-partitions-request.js +29 -0
  113. package/lib/request/list-hsm-partitions-request.js.map +1 -0
  114. package/lib/request/list-key-versions-request.d.ts +1 -1
  115. package/lib/request/list-keys-request.d.ts +1 -1
  116. package/lib/request/list-vault-replicas-request.d.ts +1 -1
  117. package/lib/request/list-vaults-request.d.ts +1 -1
  118. package/lib/request/restore-key-from-file-request.d.ts +1 -1
  119. package/lib/request/restore-key-from-object-store-request.d.ts +1 -1
  120. package/lib/request/restore-vault-from-file-request.d.ts +1 -1
  121. package/lib/request/restore-vault-from-object-store-request.d.ts +1 -1
  122. package/lib/request/schedule-hsm-cluster-deletion-request.d.ts +53 -0
  123. package/lib/request/schedule-hsm-cluster-deletion-request.js +15 -0
  124. package/lib/request/schedule-hsm-cluster-deletion-request.js.map +1 -0
  125. package/lib/request/schedule-key-deletion-request.d.ts +1 -1
  126. package/lib/request/schedule-key-version-deletion-request.d.ts +1 -1
  127. package/lib/request/schedule-vault-deletion-request.d.ts +1 -1
  128. package/lib/request/sign-request.d.ts +1 -1
  129. package/lib/request/update-ekms-private-endpoint-request.d.ts +1 -1
  130. package/lib/request/update-hsm-cluster-request.d.ts +43 -0
  131. package/lib/request/update-hsm-cluster-request.js +15 -0
  132. package/lib/request/update-hsm-cluster-request.js.map +1 -0
  133. package/lib/request/update-key-request.d.ts +1 -1
  134. package/lib/request/update-vault-request.d.ts +1 -1
  135. package/lib/request/upload-partition-certificates-request.d.ts +53 -0
  136. package/lib/request/upload-partition-certificates-request.js +15 -0
  137. package/lib/request/upload-partition-certificates-request.js.map +1 -0
  138. package/lib/request/verify-request.d.ts +1 -1
  139. package/lib/response/cancel-hsm-cluster-deletion-response.d.ts +29 -0
  140. package/lib/response/cancel-hsm-cluster-deletion-response.js +15 -0
  141. package/lib/response/cancel-hsm-cluster-deletion-response.js.map +1 -0
  142. package/lib/response/change-hsm-cluster-compartment-response.d.ts +24 -0
  143. package/lib/response/change-hsm-cluster-compartment-response.js +15 -0
  144. package/lib/response/change-hsm-cluster-compartment-response.js.map +1 -0
  145. package/lib/response/create-hsm-cluster-response.d.ts +29 -0
  146. package/lib/response/create-hsm-cluster-response.js +15 -0
  147. package/lib/response/create-hsm-cluster-response.js.map +1 -0
  148. package/lib/response/download-certificate-signing-request-response.d.ts +28 -0
  149. package/lib/response/download-certificate-signing-request-response.js +15 -0
  150. package/lib/response/download-certificate-signing-request-response.js.map +1 -0
  151. package/lib/response/get-hsm-cluster-response.d.ts +29 -0
  152. package/lib/response/get-hsm-cluster-response.js +15 -0
  153. package/lib/response/get-hsm-cluster-response.js.map +1 -0
  154. package/lib/response/get-hsm-partition-response.d.ts +29 -0
  155. package/lib/response/get-hsm-partition-response.js +15 -0
  156. package/lib/response/get-hsm-partition-response.js.map +1 -0
  157. package/lib/response/get-pre-co-user-credentials-response.d.ts +29 -0
  158. package/lib/response/get-pre-co-user-credentials-response.js +15 -0
  159. package/lib/response/get-pre-co-user-credentials-response.js.map +1 -0
  160. package/lib/response/index.d.ts +24 -0
  161. package/lib/response/list-hsm-clusters-response.d.ts +33 -0
  162. package/lib/response/list-hsm-clusters-response.js +15 -0
  163. package/lib/response/list-hsm-clusters-response.js.map +1 -0
  164. package/lib/response/list-hsm-partitions-response.d.ts +33 -0
  165. package/lib/response/list-hsm-partitions-response.js +15 -0
  166. package/lib/response/list-hsm-partitions-response.js.map +1 -0
  167. package/lib/response/schedule-hsm-cluster-deletion-response.d.ts +29 -0
  168. package/lib/response/schedule-hsm-cluster-deletion-response.js +15 -0
  169. package/lib/response/schedule-hsm-cluster-deletion-response.js.map +1 -0
  170. package/lib/response/update-hsm-cluster-response.d.ts +29 -0
  171. package/lib/response/update-hsm-cluster-response.js +15 -0
  172. package/lib/response/update-hsm-cluster-response.js.map +1 -0
  173. package/lib/response/upload-partition-certificates-response.d.ts +24 -0
  174. package/lib/response/upload-partition-certificates-response.js +15 -0
  175. package/lib/response/upload-partition-certificates-response.js.map +1 -0
  176. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -41,11 +41,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
41
41
  });
42
42
  };
43
43
  Object.defineProperty(exports, "__esModule", { value: true });
44
- exports.KmsVaultClient = exports.KmsVaultApiKeys = exports.KmsManagementClient = exports.KmsManagementApiKeys = exports.KmsCryptoClient = exports.KmsCryptoApiKeys = exports.EkmClient = exports.EkmApiKeys = void 0;
44
+ exports.KmsVaultClient = exports.KmsVaultApiKeys = exports.KmsManagementClient = exports.KmsManagementApiKeys = exports.KmsHsmClusterClient = exports.KmsHsmClusterApiKeys = exports.KmsCryptoClient = exports.KmsCryptoApiKeys = exports.EkmClient = exports.EkmApiKeys = void 0;
45
45
  const common = require("oci-common");
46
46
  const model = __importStar(require("./model"));
47
47
  const oci_common_1 = require("oci-common");
48
48
  const ekm_waiter_1 = require("./ekm-waiter");
49
+ const kmshsmcluster_waiter_1 = require("./kmshsmcluster-waiter");
49
50
  const kmsmanagement_waiter_1 = require("./kmsmanagement-waiter");
50
51
  const kmsvault_waiter_1 = require("./kmsvault-waiter");
51
52
  const oci_common_2 = require("oci-common");
@@ -199,7 +200,7 @@ class EkmClient {
199
200
  * @param CreateEkmsPrivateEndpointRequest
200
201
  * @return CreateEkmsPrivateEndpointResponse
201
202
  * @throws OciError when an error occurs
202
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/CreateEkmsPrivateEndpoint.ts.html |here} to see how to use CreateEkmsPrivateEndpoint API.
203
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/CreateEkmsPrivateEndpoint.ts.html |here} to see how to use CreateEkmsPrivateEndpoint API.
203
204
  */
204
205
  createEkmsPrivateEndpoint(createEkmsPrivateEndpointRequest) {
205
206
  return __awaiter(this, void 0, void 0, function* () {
@@ -267,7 +268,7 @@ class EkmClient {
267
268
  * @param DeleteEkmsPrivateEndpointRequest
268
269
  * @return DeleteEkmsPrivateEndpointResponse
269
270
  * @throws OciError when an error occurs
270
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/DeleteEkmsPrivateEndpoint.ts.html |here} to see how to use DeleteEkmsPrivateEndpoint API.
271
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/DeleteEkmsPrivateEndpoint.ts.html |here} to see how to use DeleteEkmsPrivateEndpoint API.
271
272
  */
272
273
  deleteEkmsPrivateEndpoint(deleteEkmsPrivateEndpointRequest) {
273
274
  return __awaiter(this, void 0, void 0, function* () {
@@ -327,7 +328,7 @@ class EkmClient {
327
328
  * @param GetEkmsPrivateEndpointRequest
328
329
  * @return GetEkmsPrivateEndpointResponse
329
330
  * @throws OciError when an error occurs
330
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/GetEkmsPrivateEndpoint.ts.html |here} to see how to use GetEkmsPrivateEndpoint API.
331
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/GetEkmsPrivateEndpoint.ts.html |here} to see how to use GetEkmsPrivateEndpoint API.
331
332
  */
332
333
  getEkmsPrivateEndpoint(getEkmsPrivateEndpointRequest) {
333
334
  return __awaiter(this, void 0, void 0, function* () {
@@ -391,7 +392,7 @@ class EkmClient {
391
392
  * @param ListEkmsPrivateEndpointsRequest
392
393
  * @return ListEkmsPrivateEndpointsResponse
393
394
  * @throws OciError when an error occurs
394
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ListEkmsPrivateEndpoints.ts.html |here} to see how to use ListEkmsPrivateEndpoints API.
395
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ListEkmsPrivateEndpoints.ts.html |here} to see how to use ListEkmsPrivateEndpoints API.
395
396
  */
396
397
  listEkmsPrivateEndpoints(listEkmsPrivateEndpointsRequest) {
397
398
  return __awaiter(this, void 0, void 0, function* () {
@@ -498,7 +499,7 @@ class EkmClient {
498
499
  * @param UpdateEkmsPrivateEndpointRequest
499
500
  * @return UpdateEkmsPrivateEndpointResponse
500
501
  * @throws OciError when an error occurs
501
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/UpdateEkmsPrivateEndpoint.ts.html |here} to see how to use UpdateEkmsPrivateEndpoint API.
502
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/UpdateEkmsPrivateEndpoint.ts.html |here} to see how to use UpdateEkmsPrivateEndpoint API.
502
503
  */
503
504
  updateEkmsPrivateEndpoint(updateEkmsPrivateEndpointRequest) {
504
505
  return __awaiter(this, void 0, void 0, function* () {
@@ -649,7 +650,7 @@ class KmsCryptoClient {
649
650
  * @param DecryptRequest
650
651
  * @return DecryptResponse
651
652
  * @throws OciError when an error occurs
652
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/Decrypt.ts.html |here} to see how to use Decrypt API.
653
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/Decrypt.ts.html |here} to see how to use Decrypt API.
653
654
  */
654
655
  decrypt(decryptRequest) {
655
656
  return __awaiter(this, void 0, void 0, function* () {
@@ -708,7 +709,7 @@ class KmsCryptoClient {
708
709
  * @param EncryptRequest
709
710
  * @return EncryptResponse
710
711
  * @throws OciError when an error occurs
711
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/Encrypt.ts.html |here} to see how to use Encrypt API.
712
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/Encrypt.ts.html |here} to see how to use Encrypt API.
712
713
  */
713
714
  encrypt(encryptRequest) {
714
715
  return __awaiter(this, void 0, void 0, function* () {
@@ -769,7 +770,7 @@ class KmsCryptoClient {
769
770
  * @param ExportKeyRequest
770
771
  * @return ExportKeyResponse
771
772
  * @throws OciError when an error occurs
772
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ExportKey.ts.html |here} to see how to use ExportKey API.
773
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ExportKey.ts.html |here} to see how to use ExportKey API.
773
774
  */
774
775
  exportKey(exportKeyRequest) {
775
776
  return __awaiter(this, void 0, void 0, function* () {
@@ -826,7 +827,7 @@ class KmsCryptoClient {
826
827
  * @param GenerateDataEncryptionKeyRequest
827
828
  * @return GenerateDataEncryptionKeyResponse
828
829
  * @throws OciError when an error occurs
829
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/GenerateDataEncryptionKey.ts.html |here} to see how to use GenerateDataEncryptionKey API.
830
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/GenerateDataEncryptionKey.ts.html |here} to see how to use GenerateDataEncryptionKey API.
830
831
  */
831
832
  generateDataEncryptionKey(generateDataEncryptionKeyRequest) {
832
833
  return __awaiter(this, void 0, void 0, function* () {
@@ -887,7 +888,7 @@ class KmsCryptoClient {
887
888
  * @param SignRequest
888
889
  * @return SignResponse
889
890
  * @throws OciError when an error occurs
890
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/Sign.ts.html |here} to see how to use Sign API.
891
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/Sign.ts.html |here} to see how to use Sign API.
891
892
  */
892
893
  sign(signRequest) {
893
894
  return __awaiter(this, void 0, void 0, function* () {
@@ -948,7 +949,7 @@ class KmsCryptoClient {
948
949
  * @param VerifyRequest
949
950
  * @return VerifyResponse
950
951
  * @throws OciError when an error occurs
951
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/Verify.ts.html |here} to see how to use Verify API.
952
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/Verify.ts.html |here} to see how to use Verify API.
952
953
  */
953
954
  verify(verifyRequest) {
954
955
  return __awaiter(this, void 0, void 0, function* () {
@@ -1003,6 +1004,953 @@ class KmsCryptoClient {
1003
1004
  exports.KmsCryptoClient = KmsCryptoClient;
1004
1005
  KmsCryptoClient.serviceEndpointTemplate = "https://kms.{region}.{secondLevelDomain}";
1005
1006
  KmsCryptoClient.endpointServiceName = "";
1007
+ var KmsHsmClusterApiKeys;
1008
+ (function (KmsHsmClusterApiKeys) {
1009
+ })(KmsHsmClusterApiKeys = exports.KmsHsmClusterApiKeys || (exports.KmsHsmClusterApiKeys = {}));
1010
+ /**
1011
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
1012
+ */
1013
+ class KmsHsmClusterClient {
1014
+ constructor(params, clientConfiguration) {
1015
+ this["_realmSpecificEndpointTemplateEnabled"] = false;
1016
+ this["_endpoint"] = "";
1017
+ this["_defaultHeaders"] = {};
1018
+ this._circuitBreaker = null;
1019
+ this._httpOptions = undefined;
1020
+ this._bodyDuplexMode = undefined;
1021
+ this.targetService = "KmsHsmCluster";
1022
+ this._regionId = "";
1023
+ this._lastSetRegionOrRegionId = "";
1024
+ const requestSigner = params.authenticationDetailsProvider
1025
+ ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
1026
+ : null;
1027
+ if (clientConfiguration) {
1028
+ this._clientConfiguration = clientConfiguration;
1029
+ this._circuitBreaker = clientConfiguration.circuitBreaker
1030
+ ? clientConfiguration.circuitBreaker.circuit
1031
+ : null;
1032
+ this._httpOptions = clientConfiguration.httpOptions
1033
+ ? clientConfiguration.httpOptions
1034
+ : undefined;
1035
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
1036
+ ? clientConfiguration.bodyDuplexMode
1037
+ : undefined;
1038
+ }
1039
+ if (!oci_common_2.developerToolConfiguration.isServiceEnabled("keymanagement")) {
1040
+ let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
1041
+ throw errmsg.concat("keymanagement");
1042
+ }
1043
+ // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
1044
+ const specCircuitBreakerEnabled = true;
1045
+ if (!this._circuitBreaker &&
1046
+ common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
1047
+ (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
1048
+ this._circuitBreaker = new common.CircuitBreaker().circuit;
1049
+ }
1050
+ this._httpClient =
1051
+ params.httpClient ||
1052
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
1053
+ if (params.authenticationDetailsProvider &&
1054
+ common.isRegionProvider(params.authenticationDetailsProvider)) {
1055
+ const provider = params.authenticationDetailsProvider;
1056
+ if (provider.getRegion()) {
1057
+ this.region = provider.getRegion();
1058
+ }
1059
+ }
1060
+ }
1061
+ /**
1062
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
1063
+ */
1064
+ get endpoint() {
1065
+ return this._endpoint;
1066
+ }
1067
+ /**
1068
+ * Sets the endpoint to call (ex, https://www.example.com).
1069
+ * @param endpoint The endpoint of the service.
1070
+ */
1071
+ set endpoint(endpoint) {
1072
+ this._endpoint = endpoint;
1073
+ if (this.logger)
1074
+ this.logger.info(`KmsHsmClusterClient endpoint set to ${this._endpoint}`);
1075
+ }
1076
+ get logger() {
1077
+ return common.LOG.logger;
1078
+ }
1079
+ /**
1080
+ * Determines whether realm specific endpoint should be used or not.
1081
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
1082
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
1083
+ */
1084
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
1085
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
1086
+ if (this.logger)
1087
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1088
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
1089
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(KmsHsmClusterClient.serviceEndpointTemplate, this._region, KmsHsmClusterClient.endpointServiceName);
1090
+ }
1091
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
1092
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(KmsHsmClusterClient.serviceEndpointTemplate, this._regionId, KmsHsmClusterClient.endpointServiceName);
1093
+ }
1094
+ }
1095
+ /**
1096
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
1097
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
1098
+ * @param region The region of the service.
1099
+ */
1100
+ set region(region) {
1101
+ this._region = region;
1102
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(KmsHsmClusterClient.serviceEndpointTemplate, region, KmsHsmClusterClient.endpointServiceName);
1103
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
1104
+ }
1105
+ /**
1106
+ * Sets the regionId to call (ex, 'us-phoenix-1').
1107
+ *
1108
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
1109
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
1110
+ * and then call {@link #endpoint(String) endpoint}.
1111
+ * @param regionId The public region ID.
1112
+ */
1113
+ set regionId(regionId) {
1114
+ this._regionId = regionId;
1115
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(KmsHsmClusterClient.serviceEndpointTemplate, regionId, KmsHsmClusterClient.endpointServiceName);
1116
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
1117
+ }
1118
+ /**
1119
+ * Creates a new KmsHsmClusterWaiter for resources for this service.
1120
+ *
1121
+ * @param config The waiter configuration for termination and delay strategy
1122
+ * @return The service waiters.
1123
+ */
1124
+ createWaiters(config) {
1125
+ this._waiters = new kmshsmcluster_waiter_1.KmsHsmClusterWaiter(this, config);
1126
+ return this._waiters;
1127
+ }
1128
+ /**
1129
+ * Gets the waiters available for resources for this service.
1130
+ *
1131
+ * @return The service waiters.
1132
+ */
1133
+ getWaiters() {
1134
+ if (this._waiters) {
1135
+ return this._waiters;
1136
+ }
1137
+ throw Error("Waiters do not exist. Please create waiters.");
1138
+ }
1139
+ /**
1140
+ * Shutdown the circuit breaker used by the client when it is no longer needed
1141
+ */
1142
+ shutdownCircuitBreaker() {
1143
+ if (this._circuitBreaker) {
1144
+ this._circuitBreaker.shutdown();
1145
+ }
1146
+ }
1147
+ /**
1148
+ * Cancels deletion of specified HSM Cluster, restores it and associated HSM partitions to pre-deletion states.
1149
+ * This operation does not retry by default if the user has not defined a retry configuration.
1150
+ * @param CancelHsmClusterDeletionRequest
1151
+ * @return CancelHsmClusterDeletionResponse
1152
+ * @throws OciError when an error occurs
1153
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/CancelHsmClusterDeletion.ts.html |here} to see how to use CancelHsmClusterDeletion API.
1154
+ */
1155
+ cancelHsmClusterDeletion(cancelHsmClusterDeletionRequest) {
1156
+ return __awaiter(this, void 0, void 0, function* () {
1157
+ if (this.logger)
1158
+ this.logger.debug("Calling operation KmsHsmClusterClient#cancelHsmClusterDeletion.");
1159
+ const operationName = "cancelHsmClusterDeletion";
1160
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/HsmCluster/CancelHsmClusterDeletion";
1161
+ const pathParams = {
1162
+ "{hsmClusterId}": cancelHsmClusterDeletionRequest.hsmClusterId
1163
+ };
1164
+ const queryParams = {};
1165
+ let headerParams = {
1166
+ "Content-Type": common.Constants.APPLICATION_JSON,
1167
+ "if-match": cancelHsmClusterDeletionRequest.ifMatch,
1168
+ "opc-request-id": cancelHsmClusterDeletionRequest.opcRequestId,
1169
+ "opc-retry-token": cancelHsmClusterDeletionRequest.opcRetryToken
1170
+ };
1171
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1172
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelHsmClusterDeletionRequest.retryConfiguration, specRetryConfiguration);
1173
+ if (this.logger)
1174
+ retrier.logger = this.logger;
1175
+ const request = yield oci_common_2.composeRequest({
1176
+ baseEndpoint: this._endpoint,
1177
+ defaultHeaders: this._defaultHeaders,
1178
+ path: "/20180608/hsmClusters/{hsmClusterId}/actions/cancelDeletion",
1179
+ method: "POST",
1180
+ pathParams: pathParams,
1181
+ headerParams: headerParams,
1182
+ queryParams: queryParams
1183
+ });
1184
+ try {
1185
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1186
+ const sdkResponse = oci_common_2.composeResponse({
1187
+ responseObject: {},
1188
+ body: yield response.json(),
1189
+ bodyKey: "hsmCluster",
1190
+ bodyModel: model.HsmCluster,
1191
+ type: "model.HsmCluster",
1192
+ responseHeaders: [
1193
+ {
1194
+ value: response.headers.get("etag"),
1195
+ key: "etag",
1196
+ dataType: "string"
1197
+ },
1198
+ {
1199
+ value: response.headers.get("opc-request-id"),
1200
+ key: "opcRequestId",
1201
+ dataType: "string"
1202
+ }
1203
+ ]
1204
+ });
1205
+ return sdkResponse;
1206
+ }
1207
+ catch (err) {
1208
+ throw err;
1209
+ }
1210
+ });
1211
+ }
1212
+ /**
1213
+ * Moves a HSM Cluster resource to a different compartment within the same tenancy.
1214
+ *
1215
+ * This operation does not retry by default if the user has not defined a retry configuration.
1216
+ * @param ChangeHsmClusterCompartmentRequest
1217
+ * @return ChangeHsmClusterCompartmentResponse
1218
+ * @throws OciError when an error occurs
1219
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ChangeHsmClusterCompartment.ts.html |here} to see how to use ChangeHsmClusterCompartment API.
1220
+ */
1221
+ changeHsmClusterCompartment(changeHsmClusterCompartmentRequest) {
1222
+ return __awaiter(this, void 0, void 0, function* () {
1223
+ if (this.logger)
1224
+ this.logger.debug("Calling operation KmsHsmClusterClient#changeHsmClusterCompartment.");
1225
+ const operationName = "changeHsmClusterCompartment";
1226
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/HsmCluster/ChangeHsmClusterCompartment";
1227
+ const pathParams = {
1228
+ "{hsmClusterId}": changeHsmClusterCompartmentRequest.hsmClusterId
1229
+ };
1230
+ const queryParams = {};
1231
+ let headerParams = {
1232
+ "Content-Type": common.Constants.APPLICATION_JSON,
1233
+ "if-match": changeHsmClusterCompartmentRequest.ifMatch,
1234
+ "opc-request-id": changeHsmClusterCompartmentRequest.opcRequestId,
1235
+ "opc-retry-token": changeHsmClusterCompartmentRequest.opcRetryToken
1236
+ };
1237
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1238
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeHsmClusterCompartmentRequest.retryConfiguration, specRetryConfiguration);
1239
+ if (this.logger)
1240
+ retrier.logger = this.logger;
1241
+ const request = yield oci_common_2.composeRequest({
1242
+ baseEndpoint: this._endpoint,
1243
+ defaultHeaders: this._defaultHeaders,
1244
+ path: "/20180608/hsmClusters/{hsmClusterId}/actions/changeCompartment",
1245
+ method: "POST",
1246
+ bodyContent: common.ObjectSerializer.serialize(changeHsmClusterCompartmentRequest.changeHsmClusterCompartmentDetails, "ChangeHsmClusterCompartmentDetails", model.ChangeHsmClusterCompartmentDetails.getJsonObj),
1247
+ pathParams: pathParams,
1248
+ headerParams: headerParams,
1249
+ queryParams: queryParams
1250
+ });
1251
+ try {
1252
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1253
+ const sdkResponse = oci_common_2.composeResponse({
1254
+ responseObject: {},
1255
+ responseHeaders: [
1256
+ {
1257
+ value: response.headers.get("etag"),
1258
+ key: "etag",
1259
+ dataType: "string"
1260
+ },
1261
+ {
1262
+ value: response.headers.get("opc-request-id"),
1263
+ key: "opcRequestId",
1264
+ dataType: "string"
1265
+ }
1266
+ ]
1267
+ });
1268
+ return sdkResponse;
1269
+ }
1270
+ catch (err) {
1271
+ throw err;
1272
+ }
1273
+ });
1274
+ }
1275
+ /**
1276
+ * Creates a new HSM cluster resource.
1277
+ *
1278
+ * This operation does not retry by default if the user has not defined a retry configuration.
1279
+ * @param CreateHsmClusterRequest
1280
+ * @return CreateHsmClusterResponse
1281
+ * @throws OciError when an error occurs
1282
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/CreateHsmCluster.ts.html |here} to see how to use CreateHsmCluster API.
1283
+ */
1284
+ createHsmCluster(createHsmClusterRequest) {
1285
+ return __awaiter(this, void 0, void 0, function* () {
1286
+ if (this.logger)
1287
+ this.logger.debug("Calling operation KmsHsmClusterClient#createHsmCluster.");
1288
+ const operationName = "createHsmCluster";
1289
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/HsmCluster/CreateHsmCluster";
1290
+ const pathParams = {};
1291
+ const queryParams = {};
1292
+ let headerParams = {
1293
+ "Content-Type": common.Constants.APPLICATION_JSON,
1294
+ "opc-request-id": createHsmClusterRequest.opcRequestId,
1295
+ "opc-retry-token": createHsmClusterRequest.opcRetryToken
1296
+ };
1297
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1298
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createHsmClusterRequest.retryConfiguration, specRetryConfiguration);
1299
+ if (this.logger)
1300
+ retrier.logger = this.logger;
1301
+ const request = yield oci_common_2.composeRequest({
1302
+ baseEndpoint: this._endpoint,
1303
+ defaultHeaders: this._defaultHeaders,
1304
+ path: "/20180608/hsmClusters",
1305
+ method: "POST",
1306
+ bodyContent: common.ObjectSerializer.serialize(createHsmClusterRequest.createHsmClusterDetails, "CreateHsmClusterDetails", model.CreateHsmClusterDetails.getJsonObj),
1307
+ pathParams: pathParams,
1308
+ headerParams: headerParams,
1309
+ queryParams: queryParams
1310
+ });
1311
+ try {
1312
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1313
+ const sdkResponse = oci_common_2.composeResponse({
1314
+ responseObject: {},
1315
+ body: yield response.json(),
1316
+ bodyKey: "hsmCluster",
1317
+ bodyModel: model.HsmCluster,
1318
+ type: "model.HsmCluster",
1319
+ responseHeaders: [
1320
+ {
1321
+ value: response.headers.get("etag"),
1322
+ key: "etag",
1323
+ dataType: "string"
1324
+ },
1325
+ {
1326
+ value: response.headers.get("opc-request-id"),
1327
+ key: "opcRequestId",
1328
+ dataType: "string"
1329
+ }
1330
+ ]
1331
+ });
1332
+ return sdkResponse;
1333
+ }
1334
+ catch (err) {
1335
+ throw err;
1336
+ }
1337
+ });
1338
+ }
1339
+ /**
1340
+ * Retrieves the certificate signing request for the designated HSM Cluster resource.
1341
+ *
1342
+ * This operation does not retry by default if the user has not defined a retry configuration.
1343
+ * @param DownloadCertificateSigningRequestRequest
1344
+ * @return DownloadCertificateSigningRequestResponse
1345
+ * @throws OciError when an error occurs
1346
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/DownloadCertificateSigningRequest.ts.html |here} to see how to use DownloadCertificateSigningRequest API.
1347
+ */
1348
+ downloadCertificateSigningRequest(downloadCertificateSigningRequestRequest) {
1349
+ return __awaiter(this, void 0, void 0, function* () {
1350
+ if (this.logger)
1351
+ this.logger.debug("Calling operation KmsHsmClusterClient#downloadCertificateSigningRequest.");
1352
+ const operationName = "downloadCertificateSigningRequest";
1353
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/HsmCluster/DownloadCertificateSigningRequest";
1354
+ const pathParams = {
1355
+ "{hsmClusterId}": downloadCertificateSigningRequestRequest.hsmClusterId
1356
+ };
1357
+ const queryParams = {};
1358
+ let headerParams = {
1359
+ "Content-Type": common.Constants.APPLICATION_JSON,
1360
+ "opc-request-id": downloadCertificateSigningRequestRequest.opcRequestId,
1361
+ "opc-retry-token": downloadCertificateSigningRequestRequest.opcRetryToken,
1362
+ "if-match": downloadCertificateSigningRequestRequest.ifMatch
1363
+ };
1364
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1365
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, downloadCertificateSigningRequestRequest.retryConfiguration, specRetryConfiguration);
1366
+ if (this.logger)
1367
+ retrier.logger = this.logger;
1368
+ const request = yield oci_common_2.composeRequest({
1369
+ baseEndpoint: this._endpoint,
1370
+ defaultHeaders: this._defaultHeaders,
1371
+ path: "/20180608/hsmClusters/{hsmClusterId}/actions/downloadCertificateSigningRequest",
1372
+ method: "POST",
1373
+ pathParams: pathParams,
1374
+ headerParams: headerParams,
1375
+ queryParams: queryParams
1376
+ });
1377
+ try {
1378
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1379
+ const sdkResponse = oci_common_2.composeResponse({
1380
+ responseObject: {},
1381
+ body: yield response.json(),
1382
+ bodyKey: "value",
1383
+ bodyModel: "string",
1384
+ type: "string",
1385
+ responseHeaders: [
1386
+ {
1387
+ value: response.headers.get("etag"),
1388
+ key: "etag",
1389
+ dataType: "string"
1390
+ },
1391
+ {
1392
+ value: response.headers.get("opc-request-id"),
1393
+ key: "opcRequestId",
1394
+ dataType: "string"
1395
+ }
1396
+ ]
1397
+ });
1398
+ return sdkResponse;
1399
+ }
1400
+ catch (err) {
1401
+ throw err;
1402
+ }
1403
+ });
1404
+ }
1405
+ /**
1406
+ * Retrieves configuration details for the specified HSM Cluster resource.
1407
+ * <p>
1408
+ As a provisioning operation, this call is subject to a Key Management limit that applies to
1409
+ * the total number of requests across all provisioning read operations. Key Management might
1410
+ * throttle this call to reject an otherwise valid request when the total rate of provisioning
1411
+ * read operations exceeds 10 requests per second for a given tenancy.
1412
+ *
1413
+ * This operation does not retry by default if the user has not defined a retry configuration.
1414
+ * @param GetHsmClusterRequest
1415
+ * @return GetHsmClusterResponse
1416
+ * @throws OciError when an error occurs
1417
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/GetHsmCluster.ts.html |here} to see how to use GetHsmCluster API.
1418
+ */
1419
+ getHsmCluster(getHsmClusterRequest) {
1420
+ return __awaiter(this, void 0, void 0, function* () {
1421
+ if (this.logger)
1422
+ this.logger.debug("Calling operation KmsHsmClusterClient#getHsmCluster.");
1423
+ const operationName = "getHsmCluster";
1424
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/HsmCluster/GetHsmCluster";
1425
+ const pathParams = {
1426
+ "{hsmClusterId}": getHsmClusterRequest.hsmClusterId
1427
+ };
1428
+ const queryParams = {};
1429
+ let headerParams = {
1430
+ "Content-Type": common.Constants.APPLICATION_JSON,
1431
+ "opc-request-id": getHsmClusterRequest.opcRequestId
1432
+ };
1433
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1434
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHsmClusterRequest.retryConfiguration, specRetryConfiguration);
1435
+ if (this.logger)
1436
+ retrier.logger = this.logger;
1437
+ const request = yield oci_common_2.composeRequest({
1438
+ baseEndpoint: this._endpoint,
1439
+ defaultHeaders: this._defaultHeaders,
1440
+ path: "/20180608/hsmClusters/{hsmClusterId}",
1441
+ method: "GET",
1442
+ pathParams: pathParams,
1443
+ headerParams: headerParams,
1444
+ queryParams: queryParams
1445
+ });
1446
+ try {
1447
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1448
+ const sdkResponse = oci_common_2.composeResponse({
1449
+ responseObject: {},
1450
+ body: yield response.json(),
1451
+ bodyKey: "hsmCluster",
1452
+ bodyModel: model.HsmCluster,
1453
+ type: "model.HsmCluster",
1454
+ responseHeaders: [
1455
+ {
1456
+ value: response.headers.get("etag"),
1457
+ key: "etag",
1458
+ dataType: "string"
1459
+ },
1460
+ {
1461
+ value: response.headers.get("opc-request-id"),
1462
+ key: "opcRequestId",
1463
+ dataType: "string"
1464
+ }
1465
+ ]
1466
+ });
1467
+ return sdkResponse;
1468
+ }
1469
+ catch (err) {
1470
+ throw err;
1471
+ }
1472
+ });
1473
+ }
1474
+ /**
1475
+ * Retrieves HSM partition details for the specified HSM cluster.
1476
+ *
1477
+ * This operation does not retry by default if the user has not defined a retry configuration.
1478
+ * @param GetHsmPartitionRequest
1479
+ * @return GetHsmPartitionResponse
1480
+ * @throws OciError when an error occurs
1481
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/GetHsmPartition.ts.html |here} to see how to use GetHsmPartition API.
1482
+ */
1483
+ getHsmPartition(getHsmPartitionRequest) {
1484
+ return __awaiter(this, void 0, void 0, function* () {
1485
+ if (this.logger)
1486
+ this.logger.debug("Calling operation KmsHsmClusterClient#getHsmPartition.");
1487
+ const operationName = "getHsmPartition";
1488
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/HsmPartition/GetHsmPartition";
1489
+ const pathParams = {
1490
+ "{hsmClusterId}": getHsmPartitionRequest.hsmClusterId,
1491
+ "{hsmPartitionId}": getHsmPartitionRequest.hsmPartitionId
1492
+ };
1493
+ const queryParams = {};
1494
+ let headerParams = {
1495
+ "Content-Type": common.Constants.APPLICATION_JSON,
1496
+ "opc-request-id": getHsmPartitionRequest.opcRequestId,
1497
+ "opc-retry-token": getHsmPartitionRequest.opcRetryToken
1498
+ };
1499
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1500
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHsmPartitionRequest.retryConfiguration, specRetryConfiguration);
1501
+ if (this.logger)
1502
+ retrier.logger = this.logger;
1503
+ const request = yield oci_common_2.composeRequest({
1504
+ baseEndpoint: this._endpoint,
1505
+ defaultHeaders: this._defaultHeaders,
1506
+ path: "/20180608/hsmClusters/{hsmClusterId}/hsmPartitions/{hsmPartitionId}",
1507
+ method: "GET",
1508
+ pathParams: pathParams,
1509
+ headerParams: headerParams,
1510
+ queryParams: queryParams
1511
+ });
1512
+ try {
1513
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1514
+ const sdkResponse = oci_common_2.composeResponse({
1515
+ responseObject: {},
1516
+ body: yield response.json(),
1517
+ bodyKey: "hsmPartition",
1518
+ bodyModel: model.HsmPartition,
1519
+ type: "model.HsmPartition",
1520
+ responseHeaders: [
1521
+ {
1522
+ value: response.headers.get("etag"),
1523
+ key: "etag",
1524
+ dataType: "string"
1525
+ },
1526
+ {
1527
+ value: response.headers.get("opc-request-id"),
1528
+ key: "opcRequestId",
1529
+ dataType: "string"
1530
+ }
1531
+ ]
1532
+ });
1533
+ return sdkResponse;
1534
+ }
1535
+ catch (err) {
1536
+ throw err;
1537
+ }
1538
+ });
1539
+ }
1540
+ /**
1541
+ * Retrieves Pre Crypto Officer user credentials for the specified HSM cluster.
1542
+ *
1543
+ * This operation does not retry by default if the user has not defined a retry configuration.
1544
+ * @param GetPreCoUserCredentialsRequest
1545
+ * @return GetPreCoUserCredentialsResponse
1546
+ * @throws OciError when an error occurs
1547
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/GetPreCoUserCredentials.ts.html |here} to see how to use GetPreCoUserCredentials API.
1548
+ */
1549
+ getPreCoUserCredentials(getPreCoUserCredentialsRequest) {
1550
+ return __awaiter(this, void 0, void 0, function* () {
1551
+ if (this.logger)
1552
+ this.logger.debug("Calling operation KmsHsmClusterClient#getPreCoUserCredentials.");
1553
+ const operationName = "getPreCoUserCredentials";
1554
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/HsmCluster/GetPreCoUserCredentials";
1555
+ const pathParams = {
1556
+ "{hsmClusterId}": getPreCoUserCredentialsRequest.hsmClusterId
1557
+ };
1558
+ const queryParams = {};
1559
+ let headerParams = {
1560
+ "Content-Type": common.Constants.APPLICATION_JSON,
1561
+ "opc-request-id": getPreCoUserCredentialsRequest.opcRequestId,
1562
+ "opc-retry-token": getPreCoUserCredentialsRequest.opcRetryToken
1563
+ };
1564
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1565
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPreCoUserCredentialsRequest.retryConfiguration, specRetryConfiguration);
1566
+ if (this.logger)
1567
+ retrier.logger = this.logger;
1568
+ const request = yield oci_common_2.composeRequest({
1569
+ baseEndpoint: this._endpoint,
1570
+ defaultHeaders: this._defaultHeaders,
1571
+ path: "/20180608/hsmClusters/{hsmClusterId}/preCoUserCredentials",
1572
+ method: "GET",
1573
+ pathParams: pathParams,
1574
+ headerParams: headerParams,
1575
+ queryParams: queryParams
1576
+ });
1577
+ try {
1578
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1579
+ const sdkResponse = oci_common_2.composeResponse({
1580
+ responseObject: {},
1581
+ body: yield response.json(),
1582
+ bodyKey: "preCoUserCredentials",
1583
+ bodyModel: model.PreCoUserCredentials,
1584
+ type: "model.PreCoUserCredentials",
1585
+ responseHeaders: [
1586
+ {
1587
+ value: response.headers.get("etag"),
1588
+ key: "etag",
1589
+ dataType: "string"
1590
+ },
1591
+ {
1592
+ value: response.headers.get("opc-request-id"),
1593
+ key: "opcRequestId",
1594
+ dataType: "string"
1595
+ }
1596
+ ]
1597
+ });
1598
+ return sdkResponse;
1599
+ }
1600
+ catch (err) {
1601
+ throw err;
1602
+ }
1603
+ });
1604
+ }
1605
+ /**
1606
+ * Lists all HSM cluster resources contained within the specified compartment.
1607
+ * <p>
1608
+ As a provisioning operation, this call is subject to a Key Management limit that applies to
1609
+ * the total number of requests across all provisioning read operations. Key Management might
1610
+ * throttle this call to reject an otherwise valid request when the total rate of provisioning
1611
+ * read operations exceeds 10 requests per second for a given tenancy.
1612
+ *
1613
+ * This operation does not retry by default if the user has not defined a retry configuration.
1614
+ * @param ListHsmClustersRequest
1615
+ * @return ListHsmClustersResponse
1616
+ * @throws OciError when an error occurs
1617
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ListHsmClusters.ts.html |here} to see how to use ListHsmClusters API.
1618
+ */
1619
+ listHsmClusters(listHsmClustersRequest) {
1620
+ return __awaiter(this, void 0, void 0, function* () {
1621
+ if (this.logger)
1622
+ this.logger.debug("Calling operation KmsHsmClusterClient#listHsmClusters.");
1623
+ const operationName = "listHsmClusters";
1624
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/HsmCluster/ListHsmClusters";
1625
+ const pathParams = {};
1626
+ const queryParams = {
1627
+ "compartmentId": listHsmClustersRequest.compartmentId,
1628
+ "limit": listHsmClustersRequest.limit,
1629
+ "page": listHsmClustersRequest.page,
1630
+ "sortBy": listHsmClustersRequest.sortBy,
1631
+ "sortOrder": listHsmClustersRequest.sortOrder
1632
+ };
1633
+ let headerParams = {
1634
+ "Content-Type": common.Constants.APPLICATION_JSON,
1635
+ "opc-request-id": listHsmClustersRequest.opcRequestId
1636
+ };
1637
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1638
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHsmClustersRequest.retryConfiguration, specRetryConfiguration);
1639
+ if (this.logger)
1640
+ retrier.logger = this.logger;
1641
+ const request = yield oci_common_2.composeRequest({
1642
+ baseEndpoint: this._endpoint,
1643
+ defaultHeaders: this._defaultHeaders,
1644
+ path: "/20180608/hsmClusters",
1645
+ method: "GET",
1646
+ pathParams: pathParams,
1647
+ headerParams: headerParams,
1648
+ queryParams: queryParams
1649
+ });
1650
+ try {
1651
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1652
+ const sdkResponse = oci_common_2.composeResponse({
1653
+ responseObject: {},
1654
+ body: yield response.json(),
1655
+ bodyKey: "hsmClusterCollection",
1656
+ bodyModel: model.HsmClusterCollection,
1657
+ type: "model.HsmClusterCollection",
1658
+ responseHeaders: [
1659
+ {
1660
+ value: response.headers.get("opc-next-page"),
1661
+ key: "opcNextPage",
1662
+ dataType: "string"
1663
+ },
1664
+ {
1665
+ value: response.headers.get("opc-request-id"),
1666
+ key: "opcRequestId",
1667
+ dataType: "string"
1668
+ }
1669
+ ]
1670
+ });
1671
+ return sdkResponse;
1672
+ }
1673
+ catch (err) {
1674
+ throw err;
1675
+ }
1676
+ });
1677
+ }
1678
+ /**
1679
+ * Lists all HSM partitions within the specified HSM Cluster resource.
1680
+ *
1681
+ * This operation does not retry by default if the user has not defined a retry configuration.
1682
+ * @param ListHsmPartitionsRequest
1683
+ * @return ListHsmPartitionsResponse
1684
+ * @throws OciError when an error occurs
1685
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ListHsmPartitions.ts.html |here} to see how to use ListHsmPartitions API.
1686
+ */
1687
+ listHsmPartitions(listHsmPartitionsRequest) {
1688
+ return __awaiter(this, void 0, void 0, function* () {
1689
+ if (this.logger)
1690
+ this.logger.debug("Calling operation KmsHsmClusterClient#listHsmPartitions.");
1691
+ const operationName = "listHsmPartitions";
1692
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/HsmPartition/ListHsmPartitions";
1693
+ const pathParams = {
1694
+ "{hsmClusterId}": listHsmPartitionsRequest.hsmClusterId
1695
+ };
1696
+ const queryParams = {
1697
+ "limit": listHsmPartitionsRequest.limit,
1698
+ "page": listHsmPartitionsRequest.page,
1699
+ "sortBy": listHsmPartitionsRequest.sortBy,
1700
+ "sortOrder": listHsmPartitionsRequest.sortOrder,
1701
+ "lifecycleState": listHsmPartitionsRequest.lifecycleState
1702
+ };
1703
+ let headerParams = {
1704
+ "Content-Type": common.Constants.APPLICATION_JSON,
1705
+ "opc-request-id": listHsmPartitionsRequest.opcRequestId
1706
+ };
1707
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1708
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHsmPartitionsRequest.retryConfiguration, specRetryConfiguration);
1709
+ if (this.logger)
1710
+ retrier.logger = this.logger;
1711
+ const request = yield oci_common_2.composeRequest({
1712
+ baseEndpoint: this._endpoint,
1713
+ defaultHeaders: this._defaultHeaders,
1714
+ path: "/20180608/hsmClusters/{hsmClusterId}/hsmPartitions",
1715
+ method: "GET",
1716
+ pathParams: pathParams,
1717
+ headerParams: headerParams,
1718
+ queryParams: queryParams
1719
+ });
1720
+ try {
1721
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1722
+ const sdkResponse = oci_common_2.composeResponse({
1723
+ responseObject: {},
1724
+ body: yield response.json(),
1725
+ bodyKey: "hsmPartitionCollection",
1726
+ bodyModel: model.HsmPartitionCollection,
1727
+ type: "model.HsmPartitionCollection",
1728
+ responseHeaders: [
1729
+ {
1730
+ value: response.headers.get("opc-next-page"),
1731
+ key: "opcNextPage",
1732
+ dataType: "string"
1733
+ },
1734
+ {
1735
+ value: response.headers.get("opc-request-id"),
1736
+ key: "opcRequestId",
1737
+ dataType: "string"
1738
+ }
1739
+ ]
1740
+ });
1741
+ return sdkResponse;
1742
+ }
1743
+ catch (err) {
1744
+ throw err;
1745
+ }
1746
+ });
1747
+ }
1748
+ /**
1749
+ * Schedules HSM cluster for deletion, update its lifecycle state to 'PENDING_DELETION'
1750
+ * and deletes it after the retention period.
1751
+ *
1752
+ * This operation does not retry by default if the user has not defined a retry configuration.
1753
+ * @param ScheduleHsmClusterDeletionRequest
1754
+ * @return ScheduleHsmClusterDeletionResponse
1755
+ * @throws OciError when an error occurs
1756
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ScheduleHsmClusterDeletion.ts.html |here} to see how to use ScheduleHsmClusterDeletion API.
1757
+ */
1758
+ scheduleHsmClusterDeletion(scheduleHsmClusterDeletionRequest) {
1759
+ return __awaiter(this, void 0, void 0, function* () {
1760
+ if (this.logger)
1761
+ this.logger.debug("Calling operation KmsHsmClusterClient#scheduleHsmClusterDeletion.");
1762
+ const operationName = "scheduleHsmClusterDeletion";
1763
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/HsmCluster/ScheduleHsmClusterDeletion";
1764
+ const pathParams = {
1765
+ "{hsmClusterId}": scheduleHsmClusterDeletionRequest.hsmClusterId
1766
+ };
1767
+ const queryParams = {};
1768
+ let headerParams = {
1769
+ "Content-Type": common.Constants.APPLICATION_JSON,
1770
+ "if-match": scheduleHsmClusterDeletionRequest.ifMatch,
1771
+ "opc-request-id": scheduleHsmClusterDeletionRequest.opcRequestId,
1772
+ "opc-retry-token": scheduleHsmClusterDeletionRequest.opcRetryToken
1773
+ };
1774
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1775
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scheduleHsmClusterDeletionRequest.retryConfiguration, specRetryConfiguration);
1776
+ if (this.logger)
1777
+ retrier.logger = this.logger;
1778
+ const request = yield oci_common_2.composeRequest({
1779
+ baseEndpoint: this._endpoint,
1780
+ defaultHeaders: this._defaultHeaders,
1781
+ path: "/20180608/hsmClusters/{hsmClusterId}/actions/scheduleDeletion",
1782
+ method: "POST",
1783
+ bodyContent: common.ObjectSerializer.serialize(scheduleHsmClusterDeletionRequest.scheduleHsmClusterDeletionDetails, "ScheduleHsmClusterDeletionDetails", model.ScheduleHsmClusterDeletionDetails.getJsonObj),
1784
+ pathParams: pathParams,
1785
+ headerParams: headerParams,
1786
+ queryParams: queryParams
1787
+ });
1788
+ try {
1789
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1790
+ const sdkResponse = oci_common_2.composeResponse({
1791
+ responseObject: {},
1792
+ body: yield response.json(),
1793
+ bodyKey: "hsmCluster",
1794
+ bodyModel: model.HsmCluster,
1795
+ type: "model.HsmCluster",
1796
+ responseHeaders: [
1797
+ {
1798
+ value: response.headers.get("etag"),
1799
+ key: "etag",
1800
+ dataType: "string"
1801
+ },
1802
+ {
1803
+ value: response.headers.get("opc-request-id"),
1804
+ key: "opcRequestId",
1805
+ dataType: "string"
1806
+ }
1807
+ ]
1808
+ });
1809
+ return sdkResponse;
1810
+ }
1811
+ catch (err) {
1812
+ throw err;
1813
+ }
1814
+ });
1815
+ }
1816
+ /**
1817
+ * Modifies properties of an HSM cluster resource, including `displayName`, `freeformTags` and `definedTags`.
1818
+ * <p>
1819
+ As a provisioning operation, this call is subject to a Key Management limit that applies to
1820
+ * the total number of requests across all provisioning write operations. Key Management might
1821
+ * throttle this call to reject an otherwise valid request when the total rate of provisioning
1822
+ * write operations exceeds 10 requests per second for a given tenancy.
1823
+ *
1824
+ * This operation does not retry by default if the user has not defined a retry configuration.
1825
+ * @param UpdateHsmClusterRequest
1826
+ * @return UpdateHsmClusterResponse
1827
+ * @throws OciError when an error occurs
1828
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/UpdateHsmCluster.ts.html |here} to see how to use UpdateHsmCluster API.
1829
+ */
1830
+ updateHsmCluster(updateHsmClusterRequest) {
1831
+ return __awaiter(this, void 0, void 0, function* () {
1832
+ if (this.logger)
1833
+ this.logger.debug("Calling operation KmsHsmClusterClient#updateHsmCluster.");
1834
+ const operationName = "updateHsmCluster";
1835
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/HsmCluster/UpdateHsmCluster";
1836
+ const pathParams = {
1837
+ "{hsmClusterId}": updateHsmClusterRequest.hsmClusterId
1838
+ };
1839
+ const queryParams = {};
1840
+ let headerParams = {
1841
+ "Content-Type": common.Constants.APPLICATION_JSON,
1842
+ "if-match": updateHsmClusterRequest.ifMatch,
1843
+ "opc-request-id": updateHsmClusterRequest.opcRequestId
1844
+ };
1845
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1846
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHsmClusterRequest.retryConfiguration, specRetryConfiguration);
1847
+ if (this.logger)
1848
+ retrier.logger = this.logger;
1849
+ const request = yield oci_common_2.composeRequest({
1850
+ baseEndpoint: this._endpoint,
1851
+ defaultHeaders: this._defaultHeaders,
1852
+ path: "/20180608/hsmClusters/{hsmClusterId}",
1853
+ method: "PUT",
1854
+ bodyContent: common.ObjectSerializer.serialize(updateHsmClusterRequest.updateHsmClusterDetails, "UpdateHsmClusterDetails", model.UpdateHsmClusterDetails.getJsonObj),
1855
+ pathParams: pathParams,
1856
+ headerParams: headerParams,
1857
+ queryParams: queryParams
1858
+ });
1859
+ try {
1860
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1861
+ const sdkResponse = oci_common_2.composeResponse({
1862
+ responseObject: {},
1863
+ body: yield response.json(),
1864
+ bodyKey: "hsmCluster",
1865
+ bodyModel: model.HsmCluster,
1866
+ type: "model.HsmCluster",
1867
+ responseHeaders: [
1868
+ {
1869
+ value: response.headers.get("etag"),
1870
+ key: "etag",
1871
+ dataType: "string"
1872
+ },
1873
+ {
1874
+ value: response.headers.get("opc-request-id"),
1875
+ key: "opcRequestId",
1876
+ dataType: "string"
1877
+ }
1878
+ ]
1879
+ });
1880
+ return sdkResponse;
1881
+ }
1882
+ catch (err) {
1883
+ throw err;
1884
+ }
1885
+ });
1886
+ }
1887
+ /**
1888
+ * Uploads the partition owner certificates to the HSM Cluster resource.
1889
+ *
1890
+ * This operation does not retry by default if the user has not defined a retry configuration.
1891
+ * @param UploadPartitionCertificatesRequest
1892
+ * @return UploadPartitionCertificatesResponse
1893
+ * @throws OciError when an error occurs
1894
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/UploadPartitionCertificates.ts.html |here} to see how to use UploadPartitionCertificates API.
1895
+ */
1896
+ uploadPartitionCertificates(uploadPartitionCertificatesRequest) {
1897
+ return __awaiter(this, void 0, void 0, function* () {
1898
+ if (this.logger)
1899
+ this.logger.debug("Calling operation KmsHsmClusterClient#uploadPartitionCertificates.");
1900
+ const operationName = "uploadPartitionCertificates";
1901
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/HsmCluster/UploadPartitionCertificates";
1902
+ const pathParams = {
1903
+ "{hsmClusterId}": uploadPartitionCertificatesRequest.hsmClusterId
1904
+ };
1905
+ const queryParams = {};
1906
+ let headerParams = {
1907
+ "Content-Type": common.Constants.APPLICATION_JSON,
1908
+ "opc-request-id": uploadPartitionCertificatesRequest.opcRequestId,
1909
+ "opc-retry-token": uploadPartitionCertificatesRequest.opcRetryToken,
1910
+ "if-match": uploadPartitionCertificatesRequest.ifMatch
1911
+ };
1912
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1913
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, uploadPartitionCertificatesRequest.retryConfiguration, specRetryConfiguration);
1914
+ if (this.logger)
1915
+ retrier.logger = this.logger;
1916
+ const request = yield oci_common_2.composeRequest({
1917
+ baseEndpoint: this._endpoint,
1918
+ defaultHeaders: this._defaultHeaders,
1919
+ path: "/20180608/hsmClusters/{hsmClusterId}/actions/uploadPartitionCertificates",
1920
+ method: "POST",
1921
+ bodyContent: common.ObjectSerializer.serialize(uploadPartitionCertificatesRequest.uploadPartitionCertificatesDetails, "UploadPartitionCertificatesDetails", model.UploadPartitionCertificatesDetails.getJsonObj),
1922
+ pathParams: pathParams,
1923
+ headerParams: headerParams,
1924
+ queryParams: queryParams
1925
+ });
1926
+ try {
1927
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1928
+ const sdkResponse = oci_common_2.composeResponse({
1929
+ responseObject: {},
1930
+ responseHeaders: [
1931
+ {
1932
+ value: response.headers.get("etag"),
1933
+ key: "etag",
1934
+ dataType: "string"
1935
+ },
1936
+ {
1937
+ value: response.headers.get("opc-request-id"),
1938
+ key: "opcRequestId",
1939
+ dataType: "string"
1940
+ }
1941
+ ]
1942
+ });
1943
+ return sdkResponse;
1944
+ }
1945
+ catch (err) {
1946
+ throw err;
1947
+ }
1948
+ });
1949
+ }
1950
+ }
1951
+ exports.KmsHsmClusterClient = KmsHsmClusterClient;
1952
+ KmsHsmClusterClient.serviceEndpointTemplate = "https://kms.{region}.{secondLevelDomain}";
1953
+ KmsHsmClusterClient.endpointServiceName = "";
1006
1954
  var KmsManagementApiKeys;
1007
1955
  (function (KmsManagementApiKeys) {
1008
1956
  })(KmsManagementApiKeys = exports.KmsManagementApiKeys || (exports.KmsManagementApiKeys = {}));
@@ -1113,7 +2061,7 @@ class KmsManagementClient {
1113
2061
  * @param BackupKeyRequest
1114
2062
  * @return BackupKeyResponse
1115
2063
  * @throws OciError when an error occurs
1116
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/BackupKey.ts.html |here} to see how to use BackupKey API.
2064
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/BackupKey.ts.html |here} to see how to use BackupKey API.
1117
2065
  */
1118
2066
  backupKey(backupKeyRequest) {
1119
2067
  return __awaiter(this, void 0, void 0, function* () {
@@ -1192,7 +2140,7 @@ class KmsManagementClient {
1192
2140
  * @param CancelKeyDeletionRequest
1193
2141
  * @return CancelKeyDeletionResponse
1194
2142
  * @throws OciError when an error occurs
1195
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/CancelKeyDeletion.ts.html |here} to see how to use CancelKeyDeletion API.
2143
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/CancelKeyDeletion.ts.html |here} to see how to use CancelKeyDeletion API.
1196
2144
  */
1197
2145
  cancelKeyDeletion(cancelKeyDeletionRequest) {
1198
2146
  return __awaiter(this, void 0, void 0, function* () {
@@ -1265,7 +2213,7 @@ class KmsManagementClient {
1265
2213
  * @param CancelKeyVersionDeletionRequest
1266
2214
  * @return CancelKeyVersionDeletionResponse
1267
2215
  * @throws OciError when an error occurs
1268
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/CancelKeyVersionDeletion.ts.html |here} to see how to use CancelKeyVersionDeletion API.
2216
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/CancelKeyVersionDeletion.ts.html |here} to see how to use CancelKeyVersionDeletion API.
1269
2217
  */
1270
2218
  cancelKeyVersionDeletion(cancelKeyVersionDeletionRequest) {
1271
2219
  return __awaiter(this, void 0, void 0, function* () {
@@ -1340,7 +2288,7 @@ class KmsManagementClient {
1340
2288
  * @param ChangeKeyCompartmentRequest
1341
2289
  * @return ChangeKeyCompartmentResponse
1342
2290
  * @throws OciError when an error occurs
1343
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ChangeKeyCompartment.ts.html |here} to see how to use ChangeKeyCompartment API.
2291
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ChangeKeyCompartment.ts.html |here} to see how to use ChangeKeyCompartment API.
1344
2292
  */
1345
2293
  changeKeyCompartment(changeKeyCompartmentRequest) {
1346
2294
  return __awaiter(this, void 0, void 0, function* () {
@@ -1408,7 +2356,7 @@ class KmsManagementClient {
1408
2356
  * @param CreateKeyRequest
1409
2357
  * @return CreateKeyResponse
1410
2358
  * @throws OciError when an error occurs
1411
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/CreateKey.ts.html |here} to see how to use CreateKey API.
2359
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/CreateKey.ts.html |here} to see how to use CreateKey API.
1412
2360
  */
1413
2361
  createKey(createKeyRequest) {
1414
2362
  return __awaiter(this, void 0, void 0, function* () {
@@ -1478,7 +2426,7 @@ class KmsManagementClient {
1478
2426
  * @param CreateKeyVersionRequest
1479
2427
  * @return CreateKeyVersionResponse
1480
2428
  * @throws OciError when an error occurs
1481
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/CreateKeyVersion.ts.html |here} to see how to use CreateKeyVersion API.
2429
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/CreateKeyVersion.ts.html |here} to see how to use CreateKeyVersion API.
1482
2430
  */
1483
2431
  createKeyVersion(createKeyVersionRequest) {
1484
2432
  return __awaiter(this, void 0, void 0, function* () {
@@ -1550,7 +2498,7 @@ class KmsManagementClient {
1550
2498
  * @param DisableKeyRequest
1551
2499
  * @return DisableKeyResponse
1552
2500
  * @throws OciError when an error occurs
1553
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/DisableKey.ts.html |here} to see how to use DisableKey API.
2501
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/DisableKey.ts.html |here} to see how to use DisableKey API.
1554
2502
  */
1555
2503
  disableKey(disableKeyRequest) {
1556
2504
  return __awaiter(this, void 0, void 0, function* () {
@@ -1622,7 +2570,7 @@ class KmsManagementClient {
1622
2570
  * @param EnableKeyRequest
1623
2571
  * @return EnableKeyResponse
1624
2572
  * @throws OciError when an error occurs
1625
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/EnableKey.ts.html |here} to see how to use EnableKey API.
2573
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/EnableKey.ts.html |here} to see how to use EnableKey API.
1626
2574
  */
1627
2575
  enableKey(enableKeyRequest) {
1628
2576
  return __awaiter(this, void 0, void 0, function* () {
@@ -1693,7 +2641,7 @@ class KmsManagementClient {
1693
2641
  * @param GetKeyRequest
1694
2642
  * @return GetKeyResponse
1695
2643
  * @throws OciError when an error occurs
1696
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/GetKey.ts.html |here} to see how to use GetKey API.
2644
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/GetKey.ts.html |here} to see how to use GetKey API.
1697
2645
  */
1698
2646
  getKey(getKeyRequest) {
1699
2647
  return __awaiter(this, void 0, void 0, function* () {
@@ -1762,7 +2710,7 @@ class KmsManagementClient {
1762
2710
  * @param GetKeyVersionRequest
1763
2711
  * @return GetKeyVersionResponse
1764
2712
  * @throws OciError when an error occurs
1765
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/GetKeyVersion.ts.html |here} to see how to use GetKeyVersion API.
2713
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/GetKeyVersion.ts.html |here} to see how to use GetKeyVersion API.
1766
2714
  */
1767
2715
  getKeyVersion(getKeyVersionRequest) {
1768
2716
  return __awaiter(this, void 0, void 0, function* () {
@@ -1830,7 +2778,7 @@ class KmsManagementClient {
1830
2778
  * @param GetReplicationStatusRequest
1831
2779
  * @return GetReplicationStatusResponse
1832
2780
  * @throws OciError when an error occurs
1833
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/GetReplicationStatus.ts.html |here} to see how to use GetReplicationStatus API.
2781
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/GetReplicationStatus.ts.html |here} to see how to use GetReplicationStatus API.
1834
2782
  */
1835
2783
  getReplicationStatus(getReplicationStatusRequest) {
1836
2784
  return __awaiter(this, void 0, void 0, function* () {
@@ -1895,7 +2843,7 @@ class KmsManagementClient {
1895
2843
  * @param GetWrappingKeyRequest
1896
2844
  * @return GetWrappingKeyResponse
1897
2845
  * @throws OciError when an error occurs
1898
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/GetWrappingKey.ts.html |here} to see how to use GetWrappingKey API.
2846
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/GetWrappingKey.ts.html |here} to see how to use GetWrappingKey API.
1899
2847
  */
1900
2848
  getWrappingKey(getWrappingKeyRequest) {
1901
2849
  return __awaiter(this, void 0, void 0, function* () {
@@ -1962,7 +2910,7 @@ class KmsManagementClient {
1962
2910
  * @param ImportKeyRequest
1963
2911
  * @return ImportKeyResponse
1964
2912
  * @throws OciError when an error occurs
1965
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ImportKey.ts.html |here} to see how to use ImportKey API.
2913
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ImportKey.ts.html |here} to see how to use ImportKey API.
1966
2914
  */
1967
2915
  importKey(importKeyRequest) {
1968
2916
  return __awaiter(this, void 0, void 0, function* () {
@@ -2031,7 +2979,7 @@ class KmsManagementClient {
2031
2979
  * @param ImportKeyVersionRequest
2032
2980
  * @return ImportKeyVersionResponse
2033
2981
  * @throws OciError when an error occurs
2034
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ImportKeyVersion.ts.html |here} to see how to use ImportKeyVersion API.
2982
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ImportKeyVersion.ts.html |here} to see how to use ImportKeyVersion API.
2035
2983
  */
2036
2984
  importKeyVersion(importKeyVersionRequest) {
2037
2985
  return __awaiter(this, void 0, void 0, function* () {
@@ -2103,7 +3051,7 @@ class KmsManagementClient {
2103
3051
  * @param ListKeyVersionsRequest
2104
3052
  * @return ListKeyVersionsResponse
2105
3053
  * @throws OciError when an error occurs
2106
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ListKeyVersions.ts.html |here} to see how to use ListKeyVersions API.
3054
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ListKeyVersions.ts.html |here} to see how to use ListKeyVersions API.
2107
3055
  */
2108
3056
  listKeyVersions(listKeyVersionsRequest) {
2109
3057
  return __awaiter(this, void 0, void 0, function* () {
@@ -2217,7 +3165,7 @@ class KmsManagementClient {
2217
3165
  * @param ListKeysRequest
2218
3166
  * @return ListKeysResponse
2219
3167
  * @throws OciError when an error occurs
2220
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ListKeys.ts.html |here} to see how to use ListKeys API.
3168
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ListKeys.ts.html |here} to see how to use ListKeys API.
2221
3169
  */
2222
3170
  listKeys(listKeysRequest) {
2223
3171
  return __awaiter(this, void 0, void 0, function* () {
@@ -2331,7 +3279,7 @@ class KmsManagementClient {
2331
3279
  * @param RestoreKeyFromFileRequest
2332
3280
  * @return RestoreKeyFromFileResponse
2333
3281
  * @throws OciError when an error occurs
2334
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/RestoreKeyFromFile.ts.html |here} to see how to use RestoreKeyFromFile API.
3282
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/RestoreKeyFromFile.ts.html |here} to see how to use RestoreKeyFromFile API.
2335
3283
  */
2336
3284
  restoreKeyFromFile(restoreKeyFromFileRequest) {
2337
3285
  return __awaiter(this, void 0, void 0, function* () {
@@ -2410,7 +3358,7 @@ class KmsManagementClient {
2410
3358
  * @param RestoreKeyFromObjectStoreRequest
2411
3359
  * @return RestoreKeyFromObjectStoreResponse
2412
3360
  * @throws OciError when an error occurs
2413
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/RestoreKeyFromObjectStore.ts.html |here} to see how to use RestoreKeyFromObjectStore API.
3361
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/RestoreKeyFromObjectStore.ts.html |here} to see how to use RestoreKeyFromObjectStore API.
2414
3362
  */
2415
3363
  restoreKeyFromObjectStore(restoreKeyFromObjectStoreRequest) {
2416
3364
  return __awaiter(this, void 0, void 0, function* () {
@@ -2486,7 +3434,7 @@ class KmsManagementClient {
2486
3434
  * @param ScheduleKeyDeletionRequest
2487
3435
  * @return ScheduleKeyDeletionResponse
2488
3436
  * @throws OciError when an error occurs
2489
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ScheduleKeyDeletion.ts.html |here} to see how to use ScheduleKeyDeletion API.
3437
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ScheduleKeyDeletion.ts.html |here} to see how to use ScheduleKeyDeletion API.
2490
3438
  */
2491
3439
  scheduleKeyDeletion(scheduleKeyDeletionRequest) {
2492
3440
  return __awaiter(this, void 0, void 0, function* () {
@@ -2559,7 +3507,7 @@ class KmsManagementClient {
2559
3507
  * @param ScheduleKeyVersionDeletionRequest
2560
3508
  * @return ScheduleKeyVersionDeletionResponse
2561
3509
  * @throws OciError when an error occurs
2562
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ScheduleKeyVersionDeletion.ts.html |here} to see how to use ScheduleKeyVersionDeletion API.
3510
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ScheduleKeyVersionDeletion.ts.html |here} to see how to use ScheduleKeyVersionDeletion API.
2563
3511
  */
2564
3512
  scheduleKeyVersionDeletion(scheduleKeyVersionDeletionRequest) {
2565
3513
  return __awaiter(this, void 0, void 0, function* () {
@@ -2634,7 +3582,7 @@ class KmsManagementClient {
2634
3582
  * @param UpdateKeyRequest
2635
3583
  * @return UpdateKeyResponse
2636
3584
  * @throws OciError when an error occurs
2637
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/UpdateKey.ts.html |here} to see how to use UpdateKey API.
3585
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/UpdateKey.ts.html |here} to see how to use UpdateKey API.
2638
3586
  */
2639
3587
  updateKey(updateKeyRequest) {
2640
3588
  return __awaiter(this, void 0, void 0, function* () {
@@ -2846,7 +3794,7 @@ class KmsVaultClient {
2846
3794
  * @param BackupVaultRequest
2847
3795
  * @return BackupVaultResponse
2848
3796
  * @throws OciError when an error occurs
2849
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/BackupVault.ts.html |here} to see how to use BackupVault API.
3797
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/BackupVault.ts.html |here} to see how to use BackupVault API.
2850
3798
  */
2851
3799
  backupVault(backupVaultRequest) {
2852
3800
  return __awaiter(this, void 0, void 0, function* () {
@@ -2926,7 +3874,7 @@ class KmsVaultClient {
2926
3874
  * @param CancelVaultDeletionRequest
2927
3875
  * @return CancelVaultDeletionResponse
2928
3876
  * @throws OciError when an error occurs
2929
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/CancelVaultDeletion.ts.html |here} to see how to use CancelVaultDeletion API.
3877
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/CancelVaultDeletion.ts.html |here} to see how to use CancelVaultDeletion API.
2930
3878
  */
2931
3879
  cancelVaultDeletion(cancelVaultDeletionRequest) {
2932
3880
  return __awaiter(this, void 0, void 0, function* () {
@@ -3000,7 +3948,7 @@ class KmsVaultClient {
3000
3948
  * @param ChangeVaultCompartmentRequest
3001
3949
  * @return ChangeVaultCompartmentResponse
3002
3950
  * @throws OciError when an error occurs
3003
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ChangeVaultCompartment.ts.html |here} to see how to use ChangeVaultCompartment API.
3951
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ChangeVaultCompartment.ts.html |here} to see how to use ChangeVaultCompartment API.
3004
3952
  */
3005
3953
  changeVaultCompartment(changeVaultCompartmentRequest) {
3006
3954
  return __awaiter(this, void 0, void 0, function* () {
@@ -3071,7 +4019,7 @@ class KmsVaultClient {
3071
4019
  * @param CreateVaultRequest
3072
4020
  * @return CreateVaultResponse
3073
4021
  * @throws OciError when an error occurs
3074
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/CreateVault.ts.html |here} to see how to use CreateVault API.
4022
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/CreateVault.ts.html |here} to see how to use CreateVault API.
3075
4023
  */
3076
4024
  createVault(createVaultRequest) {
3077
4025
  return __awaiter(this, void 0, void 0, function* () {
@@ -3144,7 +4092,7 @@ class KmsVaultClient {
3144
4092
  * @param CreateVaultReplicaRequest
3145
4093
  * @return CreateVaultReplicaResponse
3146
4094
  * @throws OciError when an error occurs
3147
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/CreateVaultReplica.ts.html |here} to see how to use CreateVaultReplica API.
4095
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/CreateVaultReplica.ts.html |here} to see how to use CreateVaultReplica API.
3148
4096
  */
3149
4097
  createVaultReplica(createVaultReplicaRequest) {
3150
4098
  return __awaiter(this, void 0, void 0, function* () {
@@ -3212,7 +4160,7 @@ class KmsVaultClient {
3212
4160
  * @param DeleteVaultReplicaRequest
3213
4161
  * @return DeleteVaultReplicaResponse
3214
4162
  * @throws OciError when an error occurs
3215
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/DeleteVaultReplica.ts.html |here} to see how to use DeleteVaultReplica API.
4163
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/DeleteVaultReplica.ts.html |here} to see how to use DeleteVaultReplica API.
3216
4164
  */
3217
4165
  deleteVaultReplica(deleteVaultReplicaRequest) {
3218
4166
  return __awaiter(this, void 0, void 0, function* () {
@@ -3280,7 +4228,7 @@ class KmsVaultClient {
3280
4228
  * @param GetVaultRequest
3281
4229
  * @return GetVaultResponse
3282
4230
  * @throws OciError when an error occurs
3283
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/GetVault.ts.html |here} to see how to use GetVault API.
4231
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/GetVault.ts.html |here} to see how to use GetVault API.
3284
4232
  */
3285
4233
  getVault(getVaultRequest) {
3286
4234
  return __awaiter(this, void 0, void 0, function* () {
@@ -3344,7 +4292,7 @@ class KmsVaultClient {
3344
4292
  * @param GetVaultUsageRequest
3345
4293
  * @return GetVaultUsageResponse
3346
4294
  * @throws OciError when an error occurs
3347
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/GetVaultUsage.ts.html |here} to see how to use GetVaultUsage API.
4295
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/GetVaultUsage.ts.html |here} to see how to use GetVaultUsage API.
3348
4296
  */
3349
4297
  getVaultUsage(getVaultUsageRequest) {
3350
4298
  return __awaiter(this, void 0, void 0, function* () {
@@ -3408,7 +4356,7 @@ class KmsVaultClient {
3408
4356
  * @param ListVaultReplicasRequest
3409
4357
  * @return ListVaultReplicasResponse
3410
4358
  * @throws OciError when an error occurs
3411
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ListVaultReplicas.ts.html |here} to see how to use ListVaultReplicas API.
4359
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ListVaultReplicas.ts.html |here} to see how to use ListVaultReplicas API.
3412
4360
  */
3413
4361
  listVaultReplicas(listVaultReplicasRequest) {
3414
4362
  return __awaiter(this, void 0, void 0, function* () {
@@ -3529,7 +4477,7 @@ class KmsVaultClient {
3529
4477
  * @param ListVaultsRequest
3530
4478
  * @return ListVaultsResponse
3531
4479
  * @throws OciError when an error occurs
3532
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ListVaults.ts.html |here} to see how to use ListVaults API.
4480
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ListVaults.ts.html |here} to see how to use ListVaults API.
3533
4481
  */
3534
4482
  listVaults(listVaultsRequest) {
3535
4483
  return __awaiter(this, void 0, void 0, function* () {
@@ -3639,7 +4587,7 @@ class KmsVaultClient {
3639
4587
  * @param RestoreVaultFromFileRequest
3640
4588
  * @return RestoreVaultFromFileResponse
3641
4589
  * @throws OciError when an error occurs
3642
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/RestoreVaultFromFile.ts.html |here} to see how to use RestoreVaultFromFile API.
4590
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/RestoreVaultFromFile.ts.html |here} to see how to use RestoreVaultFromFile API.
3643
4591
  */
3644
4592
  restoreVaultFromFile(restoreVaultFromFileRequest) {
3645
4593
  return __awaiter(this, void 0, void 0, function* () {
@@ -3720,7 +4668,7 @@ class KmsVaultClient {
3720
4668
  * @param RestoreVaultFromObjectStoreRequest
3721
4669
  * @return RestoreVaultFromObjectStoreResponse
3722
4670
  * @throws OciError when an error occurs
3723
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/RestoreVaultFromObjectStore.ts.html |here} to see how to use RestoreVaultFromObjectStore API.
4671
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/RestoreVaultFromObjectStore.ts.html |here} to see how to use RestoreVaultFromObjectStore API.
3724
4672
  */
3725
4673
  restoreVaultFromObjectStore(restoreVaultFromObjectStoreRequest) {
3726
4674
  return __awaiter(this, void 0, void 0, function* () {
@@ -3801,7 +4749,7 @@ class KmsVaultClient {
3801
4749
  * @param ScheduleVaultDeletionRequest
3802
4750
  * @return ScheduleVaultDeletionResponse
3803
4751
  * @throws OciError when an error occurs
3804
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/ScheduleVaultDeletion.ts.html |here} to see how to use ScheduleVaultDeletion API.
4752
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/ScheduleVaultDeletion.ts.html |here} to see how to use ScheduleVaultDeletion API.
3805
4753
  */
3806
4754
  scheduleVaultDeletion(scheduleVaultDeletionRequest) {
3807
4755
  return __awaiter(this, void 0, void 0, function* () {
@@ -3875,7 +4823,7 @@ class KmsVaultClient {
3875
4823
  * @param UpdateVaultRequest
3876
4824
  * @return UpdateVaultResponse
3877
4825
  * @throws OciError when an error occurs
3878
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/keymanagement/UpdateVault.ts.html |here} to see how to use UpdateVault API.
4826
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/keymanagement/UpdateVault.ts.html |here} to see how to use UpdateVault API.
3879
4827
  */
3880
4828
  updateVault(updateVaultRequest) {
3881
4829
  return __awaiter(this, void 0, void 0, function* () {