oci-keymanagement 2.7.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +44 -44
- package/lib/client.js +47 -47
- package/lib/client.js.map +1 -1
- package/lib/request/backup-key-request.d.ts +1 -1
- package/lib/request/backup-vault-request.d.ts +1 -1
- package/lib/request/cancel-key-deletion-request.d.ts +1 -1
- package/lib/request/cancel-key-version-deletion-request.d.ts +1 -1
- package/lib/request/cancel-vault-deletion-request.d.ts +1 -1
- package/lib/request/change-key-compartment-request.d.ts +1 -1
- package/lib/request/change-vault-compartment-request.d.ts +1 -1
- package/lib/request/create-key-request.d.ts +1 -1
- package/lib/request/create-key-version-request.d.ts +1 -1
- package/lib/request/create-vault-replica-request.d.ts +1 -1
- package/lib/request/create-vault-request.d.ts +1 -1
- package/lib/request/decrypt-request.d.ts +1 -1
- package/lib/request/delete-vault-replica-request.d.ts +1 -1
- package/lib/request/disable-key-request.d.ts +1 -1
- package/lib/request/enable-key-request.d.ts +1 -1
- package/lib/request/encrypt-request.d.ts +1 -1
- package/lib/request/export-key-request.d.ts +1 -1
- package/lib/request/generate-data-encryption-key-request.d.ts +1 -1
- package/lib/request/get-key-request.d.ts +1 -1
- package/lib/request/get-key-version-request.d.ts +1 -1
- package/lib/request/get-replication-status-request.d.ts +1 -1
- package/lib/request/get-vault-request.d.ts +1 -1
- package/lib/request/get-vault-usage-request.d.ts +1 -1
- package/lib/request/get-wrapping-key-request.d.ts +1 -1
- package/lib/request/import-key-request.d.ts +1 -1
- package/lib/request/import-key-version-request.d.ts +1 -1
- package/lib/request/list-key-versions-request.d.ts +1 -1
- package/lib/request/list-keys-request.d.ts +1 -1
- package/lib/request/list-vault-replicas-request.d.ts +1 -1
- package/lib/request/list-vaults-request.d.ts +1 -1
- package/lib/request/restore-key-from-file-request.d.ts +1 -1
- package/lib/request/restore-key-from-object-store-request.d.ts +1 -1
- package/lib/request/restore-vault-from-file-request.d.ts +1 -1
- package/lib/request/restore-vault-from-object-store-request.d.ts +1 -1
- package/lib/request/schedule-key-deletion-request.d.ts +1 -1
- package/lib/request/schedule-key-version-deletion-request.d.ts +1 -1
- package/lib/request/schedule-vault-deletion-request.d.ts +1 -1
- package/lib/request/sign-request.d.ts +1 -1
- package/lib/request/update-key-request.d.ts +1 -1
- package/lib/request/update-vault-request.d.ts +1 -1
- package/lib/request/verify-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -56,7 +56,7 @@ var KmsCryptoApiKeys;
|
|
|
56
56
|
(function (KmsCryptoApiKeys) {
|
|
57
57
|
})(KmsCryptoApiKeys = exports.KmsCryptoApiKeys || (exports.KmsCryptoApiKeys = {}));
|
|
58
58
|
/**
|
|
59
|
-
* This service client
|
|
59
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
60
60
|
*/
|
|
61
61
|
class KmsCryptoClient {
|
|
62
62
|
constructor(params, clientConfiguration) {
|
|
@@ -73,7 +73,7 @@ class KmsCryptoClient {
|
|
|
73
73
|
: null;
|
|
74
74
|
}
|
|
75
75
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
76
|
-
const specCircuitBreakerEnabled =
|
|
76
|
+
const specCircuitBreakerEnabled = true;
|
|
77
77
|
if (!this._circuitBreaker &&
|
|
78
78
|
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
79
79
|
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
@@ -107,7 +107,7 @@ class KmsCryptoClient {
|
|
|
107
107
|
* @param DecryptRequest
|
|
108
108
|
* @return DecryptResponse
|
|
109
109
|
* @throws OciError when an error occurs
|
|
110
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
110
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/Decrypt.ts.html |here} to see how to use Decrypt API.
|
|
111
111
|
*/
|
|
112
112
|
decrypt(decryptRequest) {
|
|
113
113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -164,7 +164,7 @@ class KmsCryptoClient {
|
|
|
164
164
|
* @param EncryptRequest
|
|
165
165
|
* @return EncryptResponse
|
|
166
166
|
* @throws OciError when an error occurs
|
|
167
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
167
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/Encrypt.ts.html |here} to see how to use Encrypt API.
|
|
168
168
|
*/
|
|
169
169
|
encrypt(encryptRequest) {
|
|
170
170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -222,7 +222,7 @@ class KmsCryptoClient {
|
|
|
222
222
|
* @param ExportKeyRequest
|
|
223
223
|
* @return ExportKeyResponse
|
|
224
224
|
* @throws OciError when an error occurs
|
|
225
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
225
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/ExportKey.ts.html |here} to see how to use ExportKey API.
|
|
226
226
|
*/
|
|
227
227
|
exportKey(exportKeyRequest) {
|
|
228
228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -277,7 +277,7 @@ class KmsCryptoClient {
|
|
|
277
277
|
* @param GenerateDataEncryptionKeyRequest
|
|
278
278
|
* @return GenerateDataEncryptionKeyResponse
|
|
279
279
|
* @throws OciError when an error occurs
|
|
280
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
280
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/GenerateDataEncryptionKey.ts.html |here} to see how to use GenerateDataEncryptionKey API.
|
|
281
281
|
*/
|
|
282
282
|
generateDataEncryptionKey(generateDataEncryptionKeyRequest) {
|
|
283
283
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -335,7 +335,7 @@ class KmsCryptoClient {
|
|
|
335
335
|
* @param SignRequest
|
|
336
336
|
* @return SignResponse
|
|
337
337
|
* @throws OciError when an error occurs
|
|
338
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
338
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/Sign.ts.html |here} to see how to use Sign API.
|
|
339
339
|
*/
|
|
340
340
|
sign(signRequest) {
|
|
341
341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -393,7 +393,7 @@ class KmsCryptoClient {
|
|
|
393
393
|
* @param VerifyRequest
|
|
394
394
|
* @return VerifyResponse
|
|
395
395
|
* @throws OciError when an error occurs
|
|
396
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
396
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/Verify.ts.html |here} to see how to use Verify API.
|
|
397
397
|
*/
|
|
398
398
|
verify(verifyRequest) {
|
|
399
399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -449,7 +449,7 @@ var KmsManagementApiKeys;
|
|
|
449
449
|
(function (KmsManagementApiKeys) {
|
|
450
450
|
})(KmsManagementApiKeys = exports.KmsManagementApiKeys || (exports.KmsManagementApiKeys = {}));
|
|
451
451
|
/**
|
|
452
|
-
* This service client
|
|
452
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
453
453
|
*/
|
|
454
454
|
class KmsManagementClient {
|
|
455
455
|
constructor(params, clientConfiguration) {
|
|
@@ -466,7 +466,7 @@ class KmsManagementClient {
|
|
|
466
466
|
: null;
|
|
467
467
|
}
|
|
468
468
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
469
|
-
const specCircuitBreakerEnabled =
|
|
469
|
+
const specCircuitBreakerEnabled = true;
|
|
470
470
|
if (!this._circuitBreaker &&
|
|
471
471
|
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
472
472
|
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
@@ -522,7 +522,7 @@ class KmsManagementClient {
|
|
|
522
522
|
* @param BackupKeyRequest
|
|
523
523
|
* @return BackupKeyResponse
|
|
524
524
|
* @throws OciError when an error occurs
|
|
525
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
525
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/BackupKey.ts.html |here} to see how to use BackupKey API.
|
|
526
526
|
*/
|
|
527
527
|
backupKey(backupKeyRequest) {
|
|
528
528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -599,7 +599,7 @@ class KmsManagementClient {
|
|
|
599
599
|
* @param CancelKeyDeletionRequest
|
|
600
600
|
* @return CancelKeyDeletionResponse
|
|
601
601
|
* @throws OciError when an error occurs
|
|
602
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
602
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/CancelKeyDeletion.ts.html |here} to see how to use CancelKeyDeletion API.
|
|
603
603
|
*/
|
|
604
604
|
cancelKeyDeletion(cancelKeyDeletionRequest) {
|
|
605
605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -670,7 +670,7 @@ class KmsManagementClient {
|
|
|
670
670
|
* @param CancelKeyVersionDeletionRequest
|
|
671
671
|
* @return CancelKeyVersionDeletionResponse
|
|
672
672
|
* @throws OciError when an error occurs
|
|
673
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
673
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/CancelKeyVersionDeletion.ts.html |here} to see how to use CancelKeyVersionDeletion API.
|
|
674
674
|
*/
|
|
675
675
|
cancelKeyVersionDeletion(cancelKeyVersionDeletionRequest) {
|
|
676
676
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -743,7 +743,7 @@ class KmsManagementClient {
|
|
|
743
743
|
* @param ChangeKeyCompartmentRequest
|
|
744
744
|
* @return ChangeKeyCompartmentResponse
|
|
745
745
|
* @throws OciError when an error occurs
|
|
746
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
746
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/ChangeKeyCompartment.ts.html |here} to see how to use ChangeKeyCompartment API.
|
|
747
747
|
*/
|
|
748
748
|
changeKeyCompartment(changeKeyCompartmentRequest) {
|
|
749
749
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -809,7 +809,7 @@ class KmsManagementClient {
|
|
|
809
809
|
* @param CreateKeyRequest
|
|
810
810
|
* @return CreateKeyResponse
|
|
811
811
|
* @throws OciError when an error occurs
|
|
812
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
812
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/CreateKey.ts.html |here} to see how to use CreateKey API.
|
|
813
813
|
*/
|
|
814
814
|
createKey(createKeyRequest) {
|
|
815
815
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -877,7 +877,7 @@ class KmsManagementClient {
|
|
|
877
877
|
* @param CreateKeyVersionRequest
|
|
878
878
|
* @return CreateKeyVersionResponse
|
|
879
879
|
* @throws OciError when an error occurs
|
|
880
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
880
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/CreateKeyVersion.ts.html |here} to see how to use CreateKeyVersion API.
|
|
881
881
|
*/
|
|
882
882
|
createKeyVersion(createKeyVersionRequest) {
|
|
883
883
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -946,7 +946,7 @@ class KmsManagementClient {
|
|
|
946
946
|
* @param DisableKeyRequest
|
|
947
947
|
* @return DisableKeyResponse
|
|
948
948
|
* @throws OciError when an error occurs
|
|
949
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
949
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/DisableKey.ts.html |here} to see how to use DisableKey API.
|
|
950
950
|
*/
|
|
951
951
|
disableKey(disableKeyRequest) {
|
|
952
952
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1016,7 +1016,7 @@ class KmsManagementClient {
|
|
|
1016
1016
|
* @param EnableKeyRequest
|
|
1017
1017
|
* @return EnableKeyResponse
|
|
1018
1018
|
* @throws OciError when an error occurs
|
|
1019
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1019
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/EnableKey.ts.html |here} to see how to use EnableKey API.
|
|
1020
1020
|
*/
|
|
1021
1021
|
enableKey(enableKeyRequest) {
|
|
1022
1022
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1085,7 +1085,7 @@ class KmsManagementClient {
|
|
|
1085
1085
|
* @param GetKeyRequest
|
|
1086
1086
|
* @return GetKeyResponse
|
|
1087
1087
|
* @throws OciError when an error occurs
|
|
1088
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1088
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/GetKey.ts.html |here} to see how to use GetKey API.
|
|
1089
1089
|
*/
|
|
1090
1090
|
getKey(getKeyRequest) {
|
|
1091
1091
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1152,7 +1152,7 @@ class KmsManagementClient {
|
|
|
1152
1152
|
* @param GetKeyVersionRequest
|
|
1153
1153
|
* @return GetKeyVersionResponse
|
|
1154
1154
|
* @throws OciError when an error occurs
|
|
1155
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1155
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/GetKeyVersion.ts.html |here} to see how to use GetKeyVersion API.
|
|
1156
1156
|
*/
|
|
1157
1157
|
getKeyVersion(getKeyVersionRequest) {
|
|
1158
1158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1218,7 +1218,7 @@ class KmsManagementClient {
|
|
|
1218
1218
|
* @param GetReplicationStatusRequest
|
|
1219
1219
|
* @return GetReplicationStatusResponse
|
|
1220
1220
|
* @throws OciError when an error occurs
|
|
1221
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1221
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/GetReplicationStatus.ts.html |here} to see how to use GetReplicationStatus API.
|
|
1222
1222
|
*/
|
|
1223
1223
|
getReplicationStatus(getReplicationStatusRequest) {
|
|
1224
1224
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1281,7 +1281,7 @@ class KmsManagementClient {
|
|
|
1281
1281
|
* @param GetWrappingKeyRequest
|
|
1282
1282
|
* @return GetWrappingKeyResponse
|
|
1283
1283
|
* @throws OciError when an error occurs
|
|
1284
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1284
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/GetWrappingKey.ts.html |here} to see how to use GetWrappingKey API.
|
|
1285
1285
|
*/
|
|
1286
1286
|
getWrappingKey(getWrappingKeyRequest) {
|
|
1287
1287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1343,7 +1343,7 @@ class KmsManagementClient {
|
|
|
1343
1343
|
* @param ImportKeyRequest
|
|
1344
1344
|
* @return ImportKeyResponse
|
|
1345
1345
|
* @throws OciError when an error occurs
|
|
1346
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1346
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/ImportKey.ts.html |here} to see how to use ImportKey API.
|
|
1347
1347
|
*/
|
|
1348
1348
|
importKey(importKeyRequest) {
|
|
1349
1349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1409,7 +1409,7 @@ class KmsManagementClient {
|
|
|
1409
1409
|
* @param ImportKeyVersionRequest
|
|
1410
1410
|
* @return ImportKeyVersionResponse
|
|
1411
1411
|
* @throws OciError when an error occurs
|
|
1412
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1412
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/ImportKeyVersion.ts.html |here} to see how to use ImportKeyVersion API.
|
|
1413
1413
|
*/
|
|
1414
1414
|
importKeyVersion(importKeyVersionRequest) {
|
|
1415
1415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1479,7 +1479,7 @@ class KmsManagementClient {
|
|
|
1479
1479
|
* @param ListKeyVersionsRequest
|
|
1480
1480
|
* @return ListKeyVersionsResponse
|
|
1481
1481
|
* @throws OciError when an error occurs
|
|
1482
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1482
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/ListKeyVersions.ts.html |here} to see how to use ListKeyVersions API.
|
|
1483
1483
|
*/
|
|
1484
1484
|
listKeyVersions(listKeyVersionsRequest) {
|
|
1485
1485
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1591,7 +1591,7 @@ class KmsManagementClient {
|
|
|
1591
1591
|
* @param ListKeysRequest
|
|
1592
1592
|
* @return ListKeysResponse
|
|
1593
1593
|
* @throws OciError when an error occurs
|
|
1594
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1594
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/ListKeys.ts.html |here} to see how to use ListKeys API.
|
|
1595
1595
|
*/
|
|
1596
1596
|
listKeys(listKeysRequest) {
|
|
1597
1597
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1703,7 +1703,7 @@ class KmsManagementClient {
|
|
|
1703
1703
|
* @param RestoreKeyFromFileRequest
|
|
1704
1704
|
* @return RestoreKeyFromFileResponse
|
|
1705
1705
|
* @throws OciError when an error occurs
|
|
1706
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1706
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/RestoreKeyFromFile.ts.html |here} to see how to use RestoreKeyFromFile API.
|
|
1707
1707
|
*/
|
|
1708
1708
|
restoreKeyFromFile(restoreKeyFromFileRequest) {
|
|
1709
1709
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1780,7 +1780,7 @@ class KmsManagementClient {
|
|
|
1780
1780
|
* @param RestoreKeyFromObjectStoreRequest
|
|
1781
1781
|
* @return RestoreKeyFromObjectStoreResponse
|
|
1782
1782
|
* @throws OciError when an error occurs
|
|
1783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1783
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/RestoreKeyFromObjectStore.ts.html |here} to see how to use RestoreKeyFromObjectStore API.
|
|
1784
1784
|
*/
|
|
1785
1785
|
restoreKeyFromObjectStore(restoreKeyFromObjectStoreRequest) {
|
|
1786
1786
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1854,7 +1854,7 @@ class KmsManagementClient {
|
|
|
1854
1854
|
* @param ScheduleKeyDeletionRequest
|
|
1855
1855
|
* @return ScheduleKeyDeletionResponse
|
|
1856
1856
|
* @throws OciError when an error occurs
|
|
1857
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1857
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/ScheduleKeyDeletion.ts.html |here} to see how to use ScheduleKeyDeletion API.
|
|
1858
1858
|
*/
|
|
1859
1859
|
scheduleKeyDeletion(scheduleKeyDeletionRequest) {
|
|
1860
1860
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1925,7 +1925,7 @@ class KmsManagementClient {
|
|
|
1925
1925
|
* @param ScheduleKeyVersionDeletionRequest
|
|
1926
1926
|
* @return ScheduleKeyVersionDeletionResponse
|
|
1927
1927
|
* @throws OciError when an error occurs
|
|
1928
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1928
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/ScheduleKeyVersionDeletion.ts.html |here} to see how to use ScheduleKeyVersionDeletion API.
|
|
1929
1929
|
*/
|
|
1930
1930
|
scheduleKeyVersionDeletion(scheduleKeyVersionDeletionRequest) {
|
|
1931
1931
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1998,7 +1998,7 @@ class KmsManagementClient {
|
|
|
1998
1998
|
* @param UpdateKeyRequest
|
|
1999
1999
|
* @return UpdateKeyResponse
|
|
2000
2000
|
* @throws OciError when an error occurs
|
|
2001
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2001
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/UpdateKey.ts.html |here} to see how to use UpdateKey API.
|
|
2002
2002
|
*/
|
|
2003
2003
|
updateKey(updateKeyRequest) {
|
|
2004
2004
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2062,7 +2062,7 @@ var KmsVaultApiKeys;
|
|
|
2062
2062
|
(function (KmsVaultApiKeys) {
|
|
2063
2063
|
})(KmsVaultApiKeys = exports.KmsVaultApiKeys || (exports.KmsVaultApiKeys = {}));
|
|
2064
2064
|
/**
|
|
2065
|
-
* This service client
|
|
2065
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
2066
2066
|
*/
|
|
2067
2067
|
class KmsVaultClient {
|
|
2068
2068
|
constructor(params, clientConfiguration) {
|
|
@@ -2079,7 +2079,7 @@ class KmsVaultClient {
|
|
|
2079
2079
|
: null;
|
|
2080
2080
|
}
|
|
2081
2081
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
2082
|
-
const specCircuitBreakerEnabled =
|
|
2082
|
+
const specCircuitBreakerEnabled = true;
|
|
2083
2083
|
if (!this._circuitBreaker &&
|
|
2084
2084
|
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
2085
2085
|
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
@@ -2162,7 +2162,7 @@ class KmsVaultClient {
|
|
|
2162
2162
|
* @param BackupVaultRequest
|
|
2163
2163
|
* @return BackupVaultResponse
|
|
2164
2164
|
* @throws OciError when an error occurs
|
|
2165
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2165
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/BackupVault.ts.html |here} to see how to use BackupVault API.
|
|
2166
2166
|
*/
|
|
2167
2167
|
backupVault(backupVaultRequest) {
|
|
2168
2168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2240,7 +2240,7 @@ class KmsVaultClient {
|
|
|
2240
2240
|
* @param CancelVaultDeletionRequest
|
|
2241
2241
|
* @return CancelVaultDeletionResponse
|
|
2242
2242
|
* @throws OciError when an error occurs
|
|
2243
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2243
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/CancelVaultDeletion.ts.html |here} to see how to use CancelVaultDeletion API.
|
|
2244
2244
|
*/
|
|
2245
2245
|
cancelVaultDeletion(cancelVaultDeletionRequest) {
|
|
2246
2246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2312,7 +2312,7 @@ class KmsVaultClient {
|
|
|
2312
2312
|
* @param ChangeVaultCompartmentRequest
|
|
2313
2313
|
* @return ChangeVaultCompartmentResponse
|
|
2314
2314
|
* @throws OciError when an error occurs
|
|
2315
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2315
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/ChangeVaultCompartment.ts.html |here} to see how to use ChangeVaultCompartment API.
|
|
2316
2316
|
*/
|
|
2317
2317
|
changeVaultCompartment(changeVaultCompartmentRequest) {
|
|
2318
2318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2381,7 +2381,7 @@ class KmsVaultClient {
|
|
|
2381
2381
|
* @param CreateVaultRequest
|
|
2382
2382
|
* @return CreateVaultResponse
|
|
2383
2383
|
* @throws OciError when an error occurs
|
|
2384
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2384
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/CreateVault.ts.html |here} to see how to use CreateVault API.
|
|
2385
2385
|
*/
|
|
2386
2386
|
createVault(createVaultRequest) {
|
|
2387
2387
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2452,7 +2452,7 @@ class KmsVaultClient {
|
|
|
2452
2452
|
* @param CreateVaultReplicaRequest
|
|
2453
2453
|
* @return CreateVaultReplicaResponse
|
|
2454
2454
|
* @throws OciError when an error occurs
|
|
2455
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2455
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/CreateVaultReplica.ts.html |here} to see how to use CreateVaultReplica API.
|
|
2456
2456
|
*/
|
|
2457
2457
|
createVaultReplica(createVaultReplicaRequest) {
|
|
2458
2458
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2518,7 +2518,7 @@ class KmsVaultClient {
|
|
|
2518
2518
|
* @param DeleteVaultReplicaRequest
|
|
2519
2519
|
* @return DeleteVaultReplicaResponse
|
|
2520
2520
|
* @throws OciError when an error occurs
|
|
2521
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2521
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/DeleteVaultReplica.ts.html |here} to see how to use DeleteVaultReplica API.
|
|
2522
2522
|
*/
|
|
2523
2523
|
deleteVaultReplica(deleteVaultReplicaRequest) {
|
|
2524
2524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2584,7 +2584,7 @@ class KmsVaultClient {
|
|
|
2584
2584
|
* @param GetVaultRequest
|
|
2585
2585
|
* @return GetVaultResponse
|
|
2586
2586
|
* @throws OciError when an error occurs
|
|
2587
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2587
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/GetVault.ts.html |here} to see how to use GetVault API.
|
|
2588
2588
|
*/
|
|
2589
2589
|
getVault(getVaultRequest) {
|
|
2590
2590
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2646,7 +2646,7 @@ class KmsVaultClient {
|
|
|
2646
2646
|
* @param GetVaultUsageRequest
|
|
2647
2647
|
* @return GetVaultUsageResponse
|
|
2648
2648
|
* @throws OciError when an error occurs
|
|
2649
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2649
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/GetVaultUsage.ts.html |here} to see how to use GetVaultUsage API.
|
|
2650
2650
|
*/
|
|
2651
2651
|
getVaultUsage(getVaultUsageRequest) {
|
|
2652
2652
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2708,7 +2708,7 @@ class KmsVaultClient {
|
|
|
2708
2708
|
* @param ListVaultReplicasRequest
|
|
2709
2709
|
* @return ListVaultReplicasResponse
|
|
2710
2710
|
* @throws OciError when an error occurs
|
|
2711
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2711
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/ListVaultReplicas.ts.html |here} to see how to use ListVaultReplicas API.
|
|
2712
2712
|
*/
|
|
2713
2713
|
listVaultReplicas(listVaultReplicasRequest) {
|
|
2714
2714
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2827,7 +2827,7 @@ class KmsVaultClient {
|
|
|
2827
2827
|
* @param ListVaultsRequest
|
|
2828
2828
|
* @return ListVaultsResponse
|
|
2829
2829
|
* @throws OciError when an error occurs
|
|
2830
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2830
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/ListVaults.ts.html |here} to see how to use ListVaults API.
|
|
2831
2831
|
*/
|
|
2832
2832
|
listVaults(listVaultsRequest) {
|
|
2833
2833
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2935,7 +2935,7 @@ class KmsVaultClient {
|
|
|
2935
2935
|
* @param RestoreVaultFromFileRequest
|
|
2936
2936
|
* @return RestoreVaultFromFileResponse
|
|
2937
2937
|
* @throws OciError when an error occurs
|
|
2938
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2938
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/RestoreVaultFromFile.ts.html |here} to see how to use RestoreVaultFromFile API.
|
|
2939
2939
|
*/
|
|
2940
2940
|
restoreVaultFromFile(restoreVaultFromFileRequest) {
|
|
2941
2941
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3014,7 +3014,7 @@ class KmsVaultClient {
|
|
|
3014
3014
|
* @param RestoreVaultFromObjectStoreRequest
|
|
3015
3015
|
* @return RestoreVaultFromObjectStoreResponse
|
|
3016
3016
|
* @throws OciError when an error occurs
|
|
3017
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3017
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/RestoreVaultFromObjectStore.ts.html |here} to see how to use RestoreVaultFromObjectStore API.
|
|
3018
3018
|
*/
|
|
3019
3019
|
restoreVaultFromObjectStore(restoreVaultFromObjectStoreRequest) {
|
|
3020
3020
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3093,7 +3093,7 @@ class KmsVaultClient {
|
|
|
3093
3093
|
* @param ScheduleVaultDeletionRequest
|
|
3094
3094
|
* @return ScheduleVaultDeletionResponse
|
|
3095
3095
|
* @throws OciError when an error occurs
|
|
3096
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3096
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/ScheduleVaultDeletion.ts.html |here} to see how to use ScheduleVaultDeletion API.
|
|
3097
3097
|
*/
|
|
3098
3098
|
scheduleVaultDeletion(scheduleVaultDeletionRequest) {
|
|
3099
3099
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3165,7 +3165,7 @@ class KmsVaultClient {
|
|
|
3165
3165
|
* @param UpdateVaultRequest
|
|
3166
3166
|
* @return UpdateVaultResponse
|
|
3167
3167
|
* @throws OciError when an error occurs
|
|
3168
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3168
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/keymanagement/UpdateVault.ts.html |here} to see how to use UpdateVault API.
|
|
3169
3169
|
*/
|
|
3170
3170
|
updateVault(updateVaultRequest) {
|
|
3171
3171
|
return __awaiter(this, void 0, void 0, function* () {
|