oci-keymanagement 2.27.0 → 2.28.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 -41
- package/lib/client.js +167 -82
- 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
|
@@ -64,6 +64,7 @@ class KmsCryptoClient {
|
|
|
64
64
|
this["_defaultHeaders"] = {};
|
|
65
65
|
this._circuitBreaker = null;
|
|
66
66
|
this._httpOptions = undefined;
|
|
67
|
+
this.targetService = "KmsCrypto";
|
|
67
68
|
const requestSigner = params.authenticationDetailsProvider
|
|
68
69
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
69
70
|
: null;
|
|
@@ -112,12 +113,14 @@ class KmsCryptoClient {
|
|
|
112
113
|
* @param DecryptRequest
|
|
113
114
|
* @return DecryptResponse
|
|
114
115
|
* @throws OciError when an error occurs
|
|
115
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
116
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/Decrypt.ts.html |here} to see how to use Decrypt API.
|
|
116
117
|
*/
|
|
117
118
|
decrypt(decryptRequest) {
|
|
118
119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
119
120
|
if (this.logger)
|
|
120
121
|
this.logger.debug("Calling operation KmsCryptoClient#decrypt.");
|
|
122
|
+
const operationName = "decrypt";
|
|
123
|
+
const apiReferenceLink = "";
|
|
121
124
|
const pathParams = {};
|
|
122
125
|
const queryParams = {};
|
|
123
126
|
let headerParams = {
|
|
@@ -139,7 +142,7 @@ class KmsCryptoClient {
|
|
|
139
142
|
queryParams: queryParams
|
|
140
143
|
});
|
|
141
144
|
try {
|
|
142
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
145
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
143
146
|
const sdkResponse = oci_common_2.composeResponse({
|
|
144
147
|
responseObject: {},
|
|
145
148
|
body: yield response.json(),
|
|
@@ -169,12 +172,14 @@ class KmsCryptoClient {
|
|
|
169
172
|
* @param EncryptRequest
|
|
170
173
|
* @return EncryptResponse
|
|
171
174
|
* @throws OciError when an error occurs
|
|
172
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
175
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/Encrypt.ts.html |here} to see how to use Encrypt API.
|
|
173
176
|
*/
|
|
174
177
|
encrypt(encryptRequest) {
|
|
175
178
|
return __awaiter(this, void 0, void 0, function* () {
|
|
176
179
|
if (this.logger)
|
|
177
180
|
this.logger.debug("Calling operation KmsCryptoClient#encrypt.");
|
|
181
|
+
const operationName = "encrypt";
|
|
182
|
+
const apiReferenceLink = "";
|
|
178
183
|
const pathParams = {};
|
|
179
184
|
const queryParams = {};
|
|
180
185
|
let headerParams = {
|
|
@@ -196,7 +201,7 @@ class KmsCryptoClient {
|
|
|
196
201
|
queryParams: queryParams
|
|
197
202
|
});
|
|
198
203
|
try {
|
|
199
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
204
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
200
205
|
const sdkResponse = oci_common_2.composeResponse({
|
|
201
206
|
responseObject: {},
|
|
202
207
|
body: yield response.json(),
|
|
@@ -227,12 +232,14 @@ class KmsCryptoClient {
|
|
|
227
232
|
* @param ExportKeyRequest
|
|
228
233
|
* @return ExportKeyResponse
|
|
229
234
|
* @throws OciError when an error occurs
|
|
230
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
235
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/ExportKey.ts.html |here} to see how to use ExportKey API.
|
|
231
236
|
*/
|
|
232
237
|
exportKey(exportKeyRequest) {
|
|
233
238
|
return __awaiter(this, void 0, void 0, function* () {
|
|
234
239
|
if (this.logger)
|
|
235
240
|
this.logger.debug("Calling operation KmsCryptoClient#exportKey.");
|
|
241
|
+
const operationName = "exportKey";
|
|
242
|
+
const apiReferenceLink = "";
|
|
236
243
|
const pathParams = {};
|
|
237
244
|
const queryParams = {};
|
|
238
245
|
let headerParams = {
|
|
@@ -253,7 +260,7 @@ class KmsCryptoClient {
|
|
|
253
260
|
queryParams: queryParams
|
|
254
261
|
});
|
|
255
262
|
try {
|
|
256
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
263
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
257
264
|
const sdkResponse = oci_common_2.composeResponse({
|
|
258
265
|
responseObject: {},
|
|
259
266
|
body: yield response.json(),
|
|
@@ -282,12 +289,14 @@ class KmsCryptoClient {
|
|
|
282
289
|
* @param GenerateDataEncryptionKeyRequest
|
|
283
290
|
* @return GenerateDataEncryptionKeyResponse
|
|
284
291
|
* @throws OciError when an error occurs
|
|
285
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
292
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/GenerateDataEncryptionKey.ts.html |here} to see how to use GenerateDataEncryptionKey API.
|
|
286
293
|
*/
|
|
287
294
|
generateDataEncryptionKey(generateDataEncryptionKeyRequest) {
|
|
288
295
|
return __awaiter(this, void 0, void 0, function* () {
|
|
289
296
|
if (this.logger)
|
|
290
297
|
this.logger.debug("Calling operation KmsCryptoClient#generateDataEncryptionKey.");
|
|
298
|
+
const operationName = "generateDataEncryptionKey";
|
|
299
|
+
const apiReferenceLink = "";
|
|
291
300
|
const pathParams = {};
|
|
292
301
|
const queryParams = {};
|
|
293
302
|
let headerParams = {
|
|
@@ -309,7 +318,7 @@ class KmsCryptoClient {
|
|
|
309
318
|
queryParams: queryParams
|
|
310
319
|
});
|
|
311
320
|
try {
|
|
312
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
321
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
313
322
|
const sdkResponse = oci_common_2.composeResponse({
|
|
314
323
|
responseObject: {},
|
|
315
324
|
body: yield response.json(),
|
|
@@ -340,12 +349,14 @@ class KmsCryptoClient {
|
|
|
340
349
|
* @param SignRequest
|
|
341
350
|
* @return SignResponse
|
|
342
351
|
* @throws OciError when an error occurs
|
|
343
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
352
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/Sign.ts.html |here} to see how to use Sign API.
|
|
344
353
|
*/
|
|
345
354
|
sign(signRequest) {
|
|
346
355
|
return __awaiter(this, void 0, void 0, function* () {
|
|
347
356
|
if (this.logger)
|
|
348
357
|
this.logger.debug("Calling operation KmsCryptoClient#sign.");
|
|
358
|
+
const operationName = "sign";
|
|
359
|
+
const apiReferenceLink = "";
|
|
349
360
|
const pathParams = {};
|
|
350
361
|
const queryParams = {};
|
|
351
362
|
let headerParams = {
|
|
@@ -367,7 +378,7 @@ class KmsCryptoClient {
|
|
|
367
378
|
queryParams: queryParams
|
|
368
379
|
});
|
|
369
380
|
try {
|
|
370
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
381
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
371
382
|
const sdkResponse = oci_common_2.composeResponse({
|
|
372
383
|
responseObject: {},
|
|
373
384
|
body: yield response.json(),
|
|
@@ -398,12 +409,14 @@ class KmsCryptoClient {
|
|
|
398
409
|
* @param VerifyRequest
|
|
399
410
|
* @return VerifyResponse
|
|
400
411
|
* @throws OciError when an error occurs
|
|
401
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
412
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/Verify.ts.html |here} to see how to use Verify API.
|
|
402
413
|
*/
|
|
403
414
|
verify(verifyRequest) {
|
|
404
415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
405
416
|
if (this.logger)
|
|
406
417
|
this.logger.debug("Calling operation KmsCryptoClient#verify.");
|
|
418
|
+
const operationName = "verify";
|
|
419
|
+
const apiReferenceLink = "";
|
|
407
420
|
const pathParams = {};
|
|
408
421
|
const queryParams = {};
|
|
409
422
|
let headerParams = {
|
|
@@ -425,7 +438,7 @@ class KmsCryptoClient {
|
|
|
425
438
|
queryParams: queryParams
|
|
426
439
|
});
|
|
427
440
|
try {
|
|
428
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
441
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
429
442
|
const sdkResponse = oci_common_2.composeResponse({
|
|
430
443
|
responseObject: {},
|
|
431
444
|
body: yield response.json(),
|
|
@@ -463,6 +476,7 @@ class KmsManagementClient {
|
|
|
463
476
|
this["_defaultHeaders"] = {};
|
|
464
477
|
this._circuitBreaker = null;
|
|
465
478
|
this._httpOptions = undefined;
|
|
479
|
+
this.targetService = "KmsManagement";
|
|
466
480
|
const requestSigner = params.authenticationDetailsProvider
|
|
467
481
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
468
482
|
: null;
|
|
@@ -533,12 +547,14 @@ class KmsManagementClient {
|
|
|
533
547
|
* @param BackupKeyRequest
|
|
534
548
|
* @return BackupKeyResponse
|
|
535
549
|
* @throws OciError when an error occurs
|
|
536
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
550
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/BackupKey.ts.html |here} to see how to use BackupKey API.
|
|
537
551
|
*/
|
|
538
552
|
backupKey(backupKeyRequest) {
|
|
539
553
|
return __awaiter(this, void 0, void 0, function* () {
|
|
540
554
|
if (this.logger)
|
|
541
555
|
this.logger.debug("Calling operation KmsManagementClient#backupKey.");
|
|
556
|
+
const operationName = "backupKey";
|
|
557
|
+
const apiReferenceLink = "";
|
|
542
558
|
const pathParams = {
|
|
543
559
|
"{keyId}": backupKeyRequest.keyId
|
|
544
560
|
};
|
|
@@ -564,7 +580,7 @@ class KmsManagementClient {
|
|
|
564
580
|
queryParams: queryParams
|
|
565
581
|
});
|
|
566
582
|
try {
|
|
567
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
583
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
568
584
|
const sdkResponse = oci_common_2.composeResponse({
|
|
569
585
|
responseObject: {},
|
|
570
586
|
body: yield response.json(),
|
|
@@ -610,12 +626,14 @@ class KmsManagementClient {
|
|
|
610
626
|
* @param CancelKeyDeletionRequest
|
|
611
627
|
* @return CancelKeyDeletionResponse
|
|
612
628
|
* @throws OciError when an error occurs
|
|
613
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
629
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/CancelKeyDeletion.ts.html |here} to see how to use CancelKeyDeletion API.
|
|
614
630
|
*/
|
|
615
631
|
cancelKeyDeletion(cancelKeyDeletionRequest) {
|
|
616
632
|
return __awaiter(this, void 0, void 0, function* () {
|
|
617
633
|
if (this.logger)
|
|
618
634
|
this.logger.debug("Calling operation KmsManagementClient#cancelKeyDeletion.");
|
|
635
|
+
const operationName = "cancelKeyDeletion";
|
|
636
|
+
const apiReferenceLink = "";
|
|
619
637
|
const pathParams = {
|
|
620
638
|
"{keyId}": cancelKeyDeletionRequest.keyId
|
|
621
639
|
};
|
|
@@ -640,7 +658,7 @@ class KmsManagementClient {
|
|
|
640
658
|
queryParams: queryParams
|
|
641
659
|
});
|
|
642
660
|
try {
|
|
643
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
661
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
644
662
|
const sdkResponse = oci_common_2.composeResponse({
|
|
645
663
|
responseObject: {},
|
|
646
664
|
body: yield response.json(),
|
|
@@ -681,12 +699,14 @@ class KmsManagementClient {
|
|
|
681
699
|
* @param CancelKeyVersionDeletionRequest
|
|
682
700
|
* @return CancelKeyVersionDeletionResponse
|
|
683
701
|
* @throws OciError when an error occurs
|
|
684
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
702
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/CancelKeyVersionDeletion.ts.html |here} to see how to use CancelKeyVersionDeletion API.
|
|
685
703
|
*/
|
|
686
704
|
cancelKeyVersionDeletion(cancelKeyVersionDeletionRequest) {
|
|
687
705
|
return __awaiter(this, void 0, void 0, function* () {
|
|
688
706
|
if (this.logger)
|
|
689
707
|
this.logger.debug("Calling operation KmsManagementClient#cancelKeyVersionDeletion.");
|
|
708
|
+
const operationName = "cancelKeyVersionDeletion";
|
|
709
|
+
const apiReferenceLink = "";
|
|
690
710
|
const pathParams = {
|
|
691
711
|
"{keyId}": cancelKeyVersionDeletionRequest.keyId,
|
|
692
712
|
"{keyVersionId}": cancelKeyVersionDeletionRequest.keyVersionId
|
|
@@ -712,7 +732,7 @@ class KmsManagementClient {
|
|
|
712
732
|
queryParams: queryParams
|
|
713
733
|
});
|
|
714
734
|
try {
|
|
715
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
735
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
716
736
|
const sdkResponse = oci_common_2.composeResponse({
|
|
717
737
|
responseObject: {},
|
|
718
738
|
body: yield response.json(),
|
|
@@ -754,12 +774,14 @@ class KmsManagementClient {
|
|
|
754
774
|
* @param ChangeKeyCompartmentRequest
|
|
755
775
|
* @return ChangeKeyCompartmentResponse
|
|
756
776
|
* @throws OciError when an error occurs
|
|
757
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
777
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/ChangeKeyCompartment.ts.html |here} to see how to use ChangeKeyCompartment API.
|
|
758
778
|
*/
|
|
759
779
|
changeKeyCompartment(changeKeyCompartmentRequest) {
|
|
760
780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
761
781
|
if (this.logger)
|
|
762
782
|
this.logger.debug("Calling operation KmsManagementClient#changeKeyCompartment.");
|
|
783
|
+
const operationName = "changeKeyCompartment";
|
|
784
|
+
const apiReferenceLink = "";
|
|
763
785
|
const pathParams = {
|
|
764
786
|
"{keyId}": changeKeyCompartmentRequest.keyId
|
|
765
787
|
};
|
|
@@ -785,7 +807,7 @@ class KmsManagementClient {
|
|
|
785
807
|
queryParams: queryParams
|
|
786
808
|
});
|
|
787
809
|
try {
|
|
788
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
810
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
789
811
|
const sdkResponse = oci_common_2.composeResponse({
|
|
790
812
|
responseObject: {},
|
|
791
813
|
responseHeaders: [
|
|
@@ -820,12 +842,14 @@ class KmsManagementClient {
|
|
|
820
842
|
* @param CreateKeyRequest
|
|
821
843
|
* @return CreateKeyResponse
|
|
822
844
|
* @throws OciError when an error occurs
|
|
823
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
845
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/CreateKey.ts.html |here} to see how to use CreateKey API.
|
|
824
846
|
*/
|
|
825
847
|
createKey(createKeyRequest) {
|
|
826
848
|
return __awaiter(this, void 0, void 0, function* () {
|
|
827
849
|
if (this.logger)
|
|
828
850
|
this.logger.debug("Calling operation KmsManagementClient#createKey.");
|
|
851
|
+
const operationName = "createKey";
|
|
852
|
+
const apiReferenceLink = "";
|
|
829
853
|
const pathParams = {};
|
|
830
854
|
const queryParams = {};
|
|
831
855
|
let headerParams = {
|
|
@@ -848,7 +872,7 @@ class KmsManagementClient {
|
|
|
848
872
|
queryParams: queryParams
|
|
849
873
|
});
|
|
850
874
|
try {
|
|
851
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
875
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
852
876
|
const sdkResponse = oci_common_2.composeResponse({
|
|
853
877
|
responseObject: {},
|
|
854
878
|
body: yield response.json(),
|
|
@@ -888,12 +912,14 @@ class KmsManagementClient {
|
|
|
888
912
|
* @param CreateKeyVersionRequest
|
|
889
913
|
* @return CreateKeyVersionResponse
|
|
890
914
|
* @throws OciError when an error occurs
|
|
891
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
915
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/CreateKeyVersion.ts.html |here} to see how to use CreateKeyVersion API.
|
|
892
916
|
*/
|
|
893
917
|
createKeyVersion(createKeyVersionRequest) {
|
|
894
918
|
return __awaiter(this, void 0, void 0, function* () {
|
|
895
919
|
if (this.logger)
|
|
896
920
|
this.logger.debug("Calling operation KmsManagementClient#createKeyVersion.");
|
|
921
|
+
const operationName = "createKeyVersion";
|
|
922
|
+
const apiReferenceLink = "";
|
|
897
923
|
const pathParams = {
|
|
898
924
|
"{keyId}": createKeyVersionRequest.keyId
|
|
899
925
|
};
|
|
@@ -917,7 +943,7 @@ class KmsManagementClient {
|
|
|
917
943
|
queryParams: queryParams
|
|
918
944
|
});
|
|
919
945
|
try {
|
|
920
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
946
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
921
947
|
const sdkResponse = oci_common_2.composeResponse({
|
|
922
948
|
responseObject: {},
|
|
923
949
|
body: yield response.json(),
|
|
@@ -957,12 +983,14 @@ class KmsManagementClient {
|
|
|
957
983
|
* @param DisableKeyRequest
|
|
958
984
|
* @return DisableKeyResponse
|
|
959
985
|
* @throws OciError when an error occurs
|
|
960
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
986
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/DisableKey.ts.html |here} to see how to use DisableKey API.
|
|
961
987
|
*/
|
|
962
988
|
disableKey(disableKeyRequest) {
|
|
963
989
|
return __awaiter(this, void 0, void 0, function* () {
|
|
964
990
|
if (this.logger)
|
|
965
991
|
this.logger.debug("Calling operation KmsManagementClient#disableKey.");
|
|
992
|
+
const operationName = "disableKey";
|
|
993
|
+
const apiReferenceLink = "";
|
|
966
994
|
const pathParams = {
|
|
967
995
|
"{keyId}": disableKeyRequest.keyId
|
|
968
996
|
};
|
|
@@ -987,7 +1015,7 @@ class KmsManagementClient {
|
|
|
987
1015
|
queryParams: queryParams
|
|
988
1016
|
});
|
|
989
1017
|
try {
|
|
990
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1018
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
991
1019
|
const sdkResponse = oci_common_2.composeResponse({
|
|
992
1020
|
responseObject: {},
|
|
993
1021
|
body: yield response.json(),
|
|
@@ -1027,12 +1055,14 @@ class KmsManagementClient {
|
|
|
1027
1055
|
* @param EnableKeyRequest
|
|
1028
1056
|
* @return EnableKeyResponse
|
|
1029
1057
|
* @throws OciError when an error occurs
|
|
1030
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1058
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/EnableKey.ts.html |here} to see how to use EnableKey API.
|
|
1031
1059
|
*/
|
|
1032
1060
|
enableKey(enableKeyRequest) {
|
|
1033
1061
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1034
1062
|
if (this.logger)
|
|
1035
1063
|
this.logger.debug("Calling operation KmsManagementClient#enableKey.");
|
|
1064
|
+
const operationName = "enableKey";
|
|
1065
|
+
const apiReferenceLink = "";
|
|
1036
1066
|
const pathParams = {
|
|
1037
1067
|
"{keyId}": enableKeyRequest.keyId
|
|
1038
1068
|
};
|
|
@@ -1057,7 +1087,7 @@ class KmsManagementClient {
|
|
|
1057
1087
|
queryParams: queryParams
|
|
1058
1088
|
});
|
|
1059
1089
|
try {
|
|
1060
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1090
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1061
1091
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1062
1092
|
responseObject: {},
|
|
1063
1093
|
body: yield response.json(),
|
|
@@ -1096,12 +1126,14 @@ class KmsManagementClient {
|
|
|
1096
1126
|
* @param GetKeyRequest
|
|
1097
1127
|
* @return GetKeyResponse
|
|
1098
1128
|
* @throws OciError when an error occurs
|
|
1099
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1129
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/GetKey.ts.html |here} to see how to use GetKey API.
|
|
1100
1130
|
*/
|
|
1101
1131
|
getKey(getKeyRequest) {
|
|
1102
1132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1103
1133
|
if (this.logger)
|
|
1104
1134
|
this.logger.debug("Calling operation KmsManagementClient#getKey.");
|
|
1135
|
+
const operationName = "getKey";
|
|
1136
|
+
const apiReferenceLink = "";
|
|
1105
1137
|
const pathParams = {
|
|
1106
1138
|
"{keyId}": getKeyRequest.keyId
|
|
1107
1139
|
};
|
|
@@ -1124,7 +1156,7 @@ class KmsManagementClient {
|
|
|
1124
1156
|
queryParams: queryParams
|
|
1125
1157
|
});
|
|
1126
1158
|
try {
|
|
1127
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1159
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1128
1160
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1129
1161
|
responseObject: {},
|
|
1130
1162
|
body: yield response.json(),
|
|
@@ -1163,12 +1195,14 @@ class KmsManagementClient {
|
|
|
1163
1195
|
* @param GetKeyVersionRequest
|
|
1164
1196
|
* @return GetKeyVersionResponse
|
|
1165
1197
|
* @throws OciError when an error occurs
|
|
1166
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1198
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/GetKeyVersion.ts.html |here} to see how to use GetKeyVersion API.
|
|
1167
1199
|
*/
|
|
1168
1200
|
getKeyVersion(getKeyVersionRequest) {
|
|
1169
1201
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1170
1202
|
if (this.logger)
|
|
1171
1203
|
this.logger.debug("Calling operation KmsManagementClient#getKeyVersion.");
|
|
1204
|
+
const operationName = "getKeyVersion";
|
|
1205
|
+
const apiReferenceLink = "";
|
|
1172
1206
|
const pathParams = {
|
|
1173
1207
|
"{keyId}": getKeyVersionRequest.keyId,
|
|
1174
1208
|
"{keyVersionId}": getKeyVersionRequest.keyVersionId
|
|
@@ -1192,7 +1226,7 @@ class KmsManagementClient {
|
|
|
1192
1226
|
queryParams: queryParams
|
|
1193
1227
|
});
|
|
1194
1228
|
try {
|
|
1195
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1229
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1196
1230
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1197
1231
|
responseObject: {},
|
|
1198
1232
|
body: yield response.json(),
|
|
@@ -1229,12 +1263,14 @@ class KmsManagementClient {
|
|
|
1229
1263
|
* @param GetReplicationStatusRequest
|
|
1230
1264
|
* @return GetReplicationStatusResponse
|
|
1231
1265
|
* @throws OciError when an error occurs
|
|
1232
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/GetReplicationStatus.ts.html |here} to see how to use GetReplicationStatus API.
|
|
1233
1267
|
*/
|
|
1234
1268
|
getReplicationStatus(getReplicationStatusRequest) {
|
|
1235
1269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1236
1270
|
if (this.logger)
|
|
1237
1271
|
this.logger.debug("Calling operation KmsManagementClient#getReplicationStatus.");
|
|
1272
|
+
const operationName = "getReplicationStatus";
|
|
1273
|
+
const apiReferenceLink = "";
|
|
1238
1274
|
const pathParams = {
|
|
1239
1275
|
"{replicationId}": getReplicationStatusRequest.replicationId
|
|
1240
1276
|
};
|
|
@@ -1257,7 +1293,7 @@ class KmsManagementClient {
|
|
|
1257
1293
|
queryParams: queryParams
|
|
1258
1294
|
});
|
|
1259
1295
|
try {
|
|
1260
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1296
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1261
1297
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1262
1298
|
responseObject: {},
|
|
1263
1299
|
body: yield response.json(),
|
|
@@ -1292,12 +1328,14 @@ class KmsManagementClient {
|
|
|
1292
1328
|
* @param GetWrappingKeyRequest
|
|
1293
1329
|
* @return GetWrappingKeyResponse
|
|
1294
1330
|
* @throws OciError when an error occurs
|
|
1295
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1331
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/GetWrappingKey.ts.html |here} to see how to use GetWrappingKey API.
|
|
1296
1332
|
*/
|
|
1297
1333
|
getWrappingKey(getWrappingKeyRequest) {
|
|
1298
1334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1299
1335
|
if (this.logger)
|
|
1300
1336
|
this.logger.debug("Calling operation KmsManagementClient#getWrappingKey.");
|
|
1337
|
+
const operationName = "getWrappingKey";
|
|
1338
|
+
const apiReferenceLink = "";
|
|
1301
1339
|
const pathParams = {};
|
|
1302
1340
|
const queryParams = {};
|
|
1303
1341
|
let headerParams = {
|
|
@@ -1318,7 +1356,7 @@ class KmsManagementClient {
|
|
|
1318
1356
|
queryParams: queryParams
|
|
1319
1357
|
});
|
|
1320
1358
|
try {
|
|
1321
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1359
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1322
1360
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1323
1361
|
responseObject: {},
|
|
1324
1362
|
body: yield response.json(),
|
|
@@ -1354,12 +1392,14 @@ class KmsManagementClient {
|
|
|
1354
1392
|
* @param ImportKeyRequest
|
|
1355
1393
|
* @return ImportKeyResponse
|
|
1356
1394
|
* @throws OciError when an error occurs
|
|
1357
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/ImportKey.ts.html |here} to see how to use ImportKey API.
|
|
1358
1396
|
*/
|
|
1359
1397
|
importKey(importKeyRequest) {
|
|
1360
1398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1361
1399
|
if (this.logger)
|
|
1362
1400
|
this.logger.debug("Calling operation KmsManagementClient#importKey.");
|
|
1401
|
+
const operationName = "importKey";
|
|
1402
|
+
const apiReferenceLink = "";
|
|
1363
1403
|
const pathParams = {};
|
|
1364
1404
|
const queryParams = {};
|
|
1365
1405
|
let headerParams = {
|
|
@@ -1382,7 +1422,7 @@ class KmsManagementClient {
|
|
|
1382
1422
|
queryParams: queryParams
|
|
1383
1423
|
});
|
|
1384
1424
|
try {
|
|
1385
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1425
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1386
1426
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1387
1427
|
responseObject: {},
|
|
1388
1428
|
body: yield response.json(),
|
|
@@ -1420,12 +1460,14 @@ class KmsManagementClient {
|
|
|
1420
1460
|
* @param ImportKeyVersionRequest
|
|
1421
1461
|
* @return ImportKeyVersionResponse
|
|
1422
1462
|
* @throws OciError when an error occurs
|
|
1423
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1463
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/ImportKeyVersion.ts.html |here} to see how to use ImportKeyVersion API.
|
|
1424
1464
|
*/
|
|
1425
1465
|
importKeyVersion(importKeyVersionRequest) {
|
|
1426
1466
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1427
1467
|
if (this.logger)
|
|
1428
1468
|
this.logger.debug("Calling operation KmsManagementClient#importKeyVersion.");
|
|
1469
|
+
const operationName = "importKeyVersion";
|
|
1470
|
+
const apiReferenceLink = "";
|
|
1429
1471
|
const pathParams = {
|
|
1430
1472
|
"{keyId}": importKeyVersionRequest.keyId
|
|
1431
1473
|
};
|
|
@@ -1450,7 +1492,7 @@ class KmsManagementClient {
|
|
|
1450
1492
|
queryParams: queryParams
|
|
1451
1493
|
});
|
|
1452
1494
|
try {
|
|
1453
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1495
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1454
1496
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1455
1497
|
responseObject: {},
|
|
1456
1498
|
body: yield response.json(),
|
|
@@ -1490,12 +1532,14 @@ class KmsManagementClient {
|
|
|
1490
1532
|
* @param ListKeyVersionsRequest
|
|
1491
1533
|
* @return ListKeyVersionsResponse
|
|
1492
1534
|
* @throws OciError when an error occurs
|
|
1493
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1535
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/ListKeyVersions.ts.html |here} to see how to use ListKeyVersions API.
|
|
1494
1536
|
*/
|
|
1495
1537
|
listKeyVersions(listKeyVersionsRequest) {
|
|
1496
1538
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1497
1539
|
if (this.logger)
|
|
1498
1540
|
this.logger.debug("Calling operation KmsManagementClient#listKeyVersions.");
|
|
1541
|
+
const operationName = "listKeyVersions";
|
|
1542
|
+
const apiReferenceLink = "";
|
|
1499
1543
|
const pathParams = {
|
|
1500
1544
|
"{keyId}": listKeyVersionsRequest.keyId
|
|
1501
1545
|
};
|
|
@@ -1523,7 +1567,7 @@ class KmsManagementClient {
|
|
|
1523
1567
|
queryParams: queryParams
|
|
1524
1568
|
});
|
|
1525
1569
|
try {
|
|
1526
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1570
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1527
1571
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1528
1572
|
responseObject: {},
|
|
1529
1573
|
body: yield response.json(),
|
|
@@ -1602,12 +1646,14 @@ class KmsManagementClient {
|
|
|
1602
1646
|
* @param ListKeysRequest
|
|
1603
1647
|
* @return ListKeysResponse
|
|
1604
1648
|
* @throws OciError when an error occurs
|
|
1605
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1649
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/ListKeys.ts.html |here} to see how to use ListKeys API.
|
|
1606
1650
|
*/
|
|
1607
1651
|
listKeys(listKeysRequest) {
|
|
1608
1652
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1609
1653
|
if (this.logger)
|
|
1610
1654
|
this.logger.debug("Calling operation KmsManagementClient#listKeys.");
|
|
1655
|
+
const operationName = "listKeys";
|
|
1656
|
+
const apiReferenceLink = "";
|
|
1611
1657
|
const pathParams = {};
|
|
1612
1658
|
const queryParams = {
|
|
1613
1659
|
"compartmentId": listKeysRequest.compartmentId,
|
|
@@ -1638,7 +1684,7 @@ class KmsManagementClient {
|
|
|
1638
1684
|
queryParams: queryParams
|
|
1639
1685
|
});
|
|
1640
1686
|
try {
|
|
1641
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1687
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1642
1688
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1643
1689
|
responseObject: {},
|
|
1644
1690
|
body: yield response.json(),
|
|
@@ -1714,12 +1760,14 @@ class KmsManagementClient {
|
|
|
1714
1760
|
* @param RestoreKeyFromFileRequest
|
|
1715
1761
|
* @return RestoreKeyFromFileResponse
|
|
1716
1762
|
* @throws OciError when an error occurs
|
|
1717
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1763
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/RestoreKeyFromFile.ts.html |here} to see how to use RestoreKeyFromFile API.
|
|
1718
1764
|
*/
|
|
1719
1765
|
restoreKeyFromFile(restoreKeyFromFileRequest) {
|
|
1720
1766
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1721
1767
|
if (this.logger)
|
|
1722
1768
|
this.logger.debug("Calling operation KmsManagementClient#restoreKeyFromFile.");
|
|
1769
|
+
const operationName = "restoreKeyFromFile";
|
|
1770
|
+
const apiReferenceLink = "";
|
|
1723
1771
|
const pathParams = {};
|
|
1724
1772
|
const queryParams = {};
|
|
1725
1773
|
let headerParams = {
|
|
@@ -1745,7 +1793,7 @@ class KmsManagementClient {
|
|
|
1745
1793
|
queryParams: queryParams
|
|
1746
1794
|
});
|
|
1747
1795
|
try {
|
|
1748
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1796
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1749
1797
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1750
1798
|
responseObject: {},
|
|
1751
1799
|
body: yield response.json(),
|
|
@@ -1791,12 +1839,14 @@ class KmsManagementClient {
|
|
|
1791
1839
|
* @param RestoreKeyFromObjectStoreRequest
|
|
1792
1840
|
* @return RestoreKeyFromObjectStoreResponse
|
|
1793
1841
|
* @throws OciError when an error occurs
|
|
1794
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1842
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/RestoreKeyFromObjectStore.ts.html |here} to see how to use RestoreKeyFromObjectStore API.
|
|
1795
1843
|
*/
|
|
1796
1844
|
restoreKeyFromObjectStore(restoreKeyFromObjectStoreRequest) {
|
|
1797
1845
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1798
1846
|
if (this.logger)
|
|
1799
1847
|
this.logger.debug("Calling operation KmsManagementClient#restoreKeyFromObjectStore.");
|
|
1848
|
+
const operationName = "restoreKeyFromObjectStore";
|
|
1849
|
+
const apiReferenceLink = "";
|
|
1800
1850
|
const pathParams = {};
|
|
1801
1851
|
const queryParams = {};
|
|
1802
1852
|
let headerParams = {
|
|
@@ -1820,7 +1870,7 @@ class KmsManagementClient {
|
|
|
1820
1870
|
queryParams: queryParams
|
|
1821
1871
|
});
|
|
1822
1872
|
try {
|
|
1823
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1873
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1824
1874
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1825
1875
|
responseObject: {},
|
|
1826
1876
|
body: yield response.json(),
|
|
@@ -1865,12 +1915,14 @@ class KmsManagementClient {
|
|
|
1865
1915
|
* @param ScheduleKeyDeletionRequest
|
|
1866
1916
|
* @return ScheduleKeyDeletionResponse
|
|
1867
1917
|
* @throws OciError when an error occurs
|
|
1868
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1918
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/ScheduleKeyDeletion.ts.html |here} to see how to use ScheduleKeyDeletion API.
|
|
1869
1919
|
*/
|
|
1870
1920
|
scheduleKeyDeletion(scheduleKeyDeletionRequest) {
|
|
1871
1921
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1872
1922
|
if (this.logger)
|
|
1873
1923
|
this.logger.debug("Calling operation KmsManagementClient#scheduleKeyDeletion.");
|
|
1924
|
+
const operationName = "scheduleKeyDeletion";
|
|
1925
|
+
const apiReferenceLink = "";
|
|
1874
1926
|
const pathParams = {
|
|
1875
1927
|
"{keyId}": scheduleKeyDeletionRequest.keyId
|
|
1876
1928
|
};
|
|
@@ -1896,7 +1948,7 @@ class KmsManagementClient {
|
|
|
1896
1948
|
queryParams: queryParams
|
|
1897
1949
|
});
|
|
1898
1950
|
try {
|
|
1899
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1951
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1900
1952
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1901
1953
|
responseObject: {},
|
|
1902
1954
|
body: yield response.json(),
|
|
@@ -1936,12 +1988,14 @@ class KmsManagementClient {
|
|
|
1936
1988
|
* @param ScheduleKeyVersionDeletionRequest
|
|
1937
1989
|
* @return ScheduleKeyVersionDeletionResponse
|
|
1938
1990
|
* @throws OciError when an error occurs
|
|
1939
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1991
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/ScheduleKeyVersionDeletion.ts.html |here} to see how to use ScheduleKeyVersionDeletion API.
|
|
1940
1992
|
*/
|
|
1941
1993
|
scheduleKeyVersionDeletion(scheduleKeyVersionDeletionRequest) {
|
|
1942
1994
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1943
1995
|
if (this.logger)
|
|
1944
1996
|
this.logger.debug("Calling operation KmsManagementClient#scheduleKeyVersionDeletion.");
|
|
1997
|
+
const operationName = "scheduleKeyVersionDeletion";
|
|
1998
|
+
const apiReferenceLink = "";
|
|
1945
1999
|
const pathParams = {
|
|
1946
2000
|
"{keyId}": scheduleKeyVersionDeletionRequest.keyId,
|
|
1947
2001
|
"{keyVersionId}": scheduleKeyVersionDeletionRequest.keyVersionId
|
|
@@ -1968,7 +2022,7 @@ class KmsManagementClient {
|
|
|
1968
2022
|
queryParams: queryParams
|
|
1969
2023
|
});
|
|
1970
2024
|
try {
|
|
1971
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2025
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1972
2026
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1973
2027
|
responseObject: {},
|
|
1974
2028
|
body: yield response.json(),
|
|
@@ -2009,12 +2063,14 @@ class KmsManagementClient {
|
|
|
2009
2063
|
* @param UpdateKeyRequest
|
|
2010
2064
|
* @return UpdateKeyResponse
|
|
2011
2065
|
* @throws OciError when an error occurs
|
|
2012
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2066
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/UpdateKey.ts.html |here} to see how to use UpdateKey API.
|
|
2013
2067
|
*/
|
|
2014
2068
|
updateKey(updateKeyRequest) {
|
|
2015
2069
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2016
2070
|
if (this.logger)
|
|
2017
2071
|
this.logger.debug("Calling operation KmsManagementClient#updateKey.");
|
|
2072
|
+
const operationName = "updateKey";
|
|
2073
|
+
const apiReferenceLink = "";
|
|
2018
2074
|
const pathParams = {
|
|
2019
2075
|
"{keyId}": updateKeyRequest.keyId
|
|
2020
2076
|
};
|
|
@@ -2039,7 +2095,7 @@ class KmsManagementClient {
|
|
|
2039
2095
|
queryParams: queryParams
|
|
2040
2096
|
});
|
|
2041
2097
|
try {
|
|
2042
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2098
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2043
2099
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2044
2100
|
responseObject: {},
|
|
2045
2101
|
body: yield response.json(),
|
|
@@ -2082,6 +2138,7 @@ class KmsVaultClient {
|
|
|
2082
2138
|
this["_defaultHeaders"] = {};
|
|
2083
2139
|
this._circuitBreaker = null;
|
|
2084
2140
|
this._httpOptions = undefined;
|
|
2141
|
+
this.targetService = "KmsVault";
|
|
2085
2142
|
const requestSigner = params.authenticationDetailsProvider
|
|
2086
2143
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
2087
2144
|
: null;
|
|
@@ -2179,12 +2236,14 @@ class KmsVaultClient {
|
|
|
2179
2236
|
* @param BackupVaultRequest
|
|
2180
2237
|
* @return BackupVaultResponse
|
|
2181
2238
|
* @throws OciError when an error occurs
|
|
2182
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2239
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/BackupVault.ts.html |here} to see how to use BackupVault API.
|
|
2183
2240
|
*/
|
|
2184
2241
|
backupVault(backupVaultRequest) {
|
|
2185
2242
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2186
2243
|
if (this.logger)
|
|
2187
2244
|
this.logger.debug("Calling operation KmsVaultClient#backupVault.");
|
|
2245
|
+
const operationName = "backupVault";
|
|
2246
|
+
const apiReferenceLink = "";
|
|
2188
2247
|
const pathParams = {
|
|
2189
2248
|
"{vaultId}": backupVaultRequest.vaultId
|
|
2190
2249
|
};
|
|
@@ -2210,7 +2269,7 @@ class KmsVaultClient {
|
|
|
2210
2269
|
queryParams: queryParams
|
|
2211
2270
|
});
|
|
2212
2271
|
try {
|
|
2213
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2272
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2214
2273
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2215
2274
|
responseObject: {},
|
|
2216
2275
|
body: yield response.json(),
|
|
@@ -2257,12 +2316,14 @@ class KmsVaultClient {
|
|
|
2257
2316
|
* @param CancelVaultDeletionRequest
|
|
2258
2317
|
* @return CancelVaultDeletionResponse
|
|
2259
2318
|
* @throws OciError when an error occurs
|
|
2260
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2319
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/CancelVaultDeletion.ts.html |here} to see how to use CancelVaultDeletion API.
|
|
2261
2320
|
*/
|
|
2262
2321
|
cancelVaultDeletion(cancelVaultDeletionRequest) {
|
|
2263
2322
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2264
2323
|
if (this.logger)
|
|
2265
2324
|
this.logger.debug("Calling operation KmsVaultClient#cancelVaultDeletion.");
|
|
2325
|
+
const operationName = "cancelVaultDeletion";
|
|
2326
|
+
const apiReferenceLink = "";
|
|
2266
2327
|
const pathParams = {
|
|
2267
2328
|
"{vaultId}": cancelVaultDeletionRequest.vaultId
|
|
2268
2329
|
};
|
|
@@ -2287,7 +2348,7 @@ class KmsVaultClient {
|
|
|
2287
2348
|
queryParams: queryParams
|
|
2288
2349
|
});
|
|
2289
2350
|
try {
|
|
2290
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2351
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2291
2352
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2292
2353
|
responseObject: {},
|
|
2293
2354
|
body: yield response.json(),
|
|
@@ -2329,12 +2390,14 @@ class KmsVaultClient {
|
|
|
2329
2390
|
* @param ChangeVaultCompartmentRequest
|
|
2330
2391
|
* @return ChangeVaultCompartmentResponse
|
|
2331
2392
|
* @throws OciError when an error occurs
|
|
2332
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2393
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/ChangeVaultCompartment.ts.html |here} to see how to use ChangeVaultCompartment API.
|
|
2333
2394
|
*/
|
|
2334
2395
|
changeVaultCompartment(changeVaultCompartmentRequest) {
|
|
2335
2396
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2336
2397
|
if (this.logger)
|
|
2337
2398
|
this.logger.debug("Calling operation KmsVaultClient#changeVaultCompartment.");
|
|
2399
|
+
const operationName = "changeVaultCompartment";
|
|
2400
|
+
const apiReferenceLink = "";
|
|
2338
2401
|
const pathParams = {
|
|
2339
2402
|
"{vaultId}": changeVaultCompartmentRequest.vaultId
|
|
2340
2403
|
};
|
|
@@ -2360,7 +2423,7 @@ class KmsVaultClient {
|
|
|
2360
2423
|
queryParams: queryParams
|
|
2361
2424
|
});
|
|
2362
2425
|
try {
|
|
2363
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2426
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2364
2427
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2365
2428
|
responseObject: {},
|
|
2366
2429
|
responseHeaders: [
|
|
@@ -2398,12 +2461,14 @@ class KmsVaultClient {
|
|
|
2398
2461
|
* @param CreateVaultRequest
|
|
2399
2462
|
* @return CreateVaultResponse
|
|
2400
2463
|
* @throws OciError when an error occurs
|
|
2401
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2464
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/CreateVault.ts.html |here} to see how to use CreateVault API.
|
|
2402
2465
|
*/
|
|
2403
2466
|
createVault(createVaultRequest) {
|
|
2404
2467
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2405
2468
|
if (this.logger)
|
|
2406
2469
|
this.logger.debug("Calling operation KmsVaultClient#createVault.");
|
|
2470
|
+
const operationName = "createVault";
|
|
2471
|
+
const apiReferenceLink = "";
|
|
2407
2472
|
const pathParams = {};
|
|
2408
2473
|
const queryParams = {};
|
|
2409
2474
|
let headerParams = {
|
|
@@ -2426,7 +2491,7 @@ class KmsVaultClient {
|
|
|
2426
2491
|
queryParams: queryParams
|
|
2427
2492
|
});
|
|
2428
2493
|
try {
|
|
2429
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2494
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2430
2495
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2431
2496
|
responseObject: {},
|
|
2432
2497
|
body: yield response.json(),
|
|
@@ -2469,12 +2534,14 @@ class KmsVaultClient {
|
|
|
2469
2534
|
* @param CreateVaultReplicaRequest
|
|
2470
2535
|
* @return CreateVaultReplicaResponse
|
|
2471
2536
|
* @throws OciError when an error occurs
|
|
2472
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2537
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/CreateVaultReplica.ts.html |here} to see how to use CreateVaultReplica API.
|
|
2473
2538
|
*/
|
|
2474
2539
|
createVaultReplica(createVaultReplicaRequest) {
|
|
2475
2540
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2476
2541
|
if (this.logger)
|
|
2477
2542
|
this.logger.debug("Calling operation KmsVaultClient#createVaultReplica.");
|
|
2543
|
+
const operationName = "createVaultReplica";
|
|
2544
|
+
const apiReferenceLink = "";
|
|
2478
2545
|
const pathParams = {
|
|
2479
2546
|
"{vaultId}": createVaultReplicaRequest.vaultId
|
|
2480
2547
|
};
|
|
@@ -2500,7 +2567,7 @@ class KmsVaultClient {
|
|
|
2500
2567
|
queryParams: queryParams
|
|
2501
2568
|
});
|
|
2502
2569
|
try {
|
|
2503
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2570
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2504
2571
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2505
2572
|
responseObject: {},
|
|
2506
2573
|
responseHeaders: [
|
|
@@ -2535,12 +2602,14 @@ class KmsVaultClient {
|
|
|
2535
2602
|
* @param DeleteVaultReplicaRequest
|
|
2536
2603
|
* @return DeleteVaultReplicaResponse
|
|
2537
2604
|
* @throws OciError when an error occurs
|
|
2538
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2605
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/DeleteVaultReplica.ts.html |here} to see how to use DeleteVaultReplica API.
|
|
2539
2606
|
*/
|
|
2540
2607
|
deleteVaultReplica(deleteVaultReplicaRequest) {
|
|
2541
2608
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2542
2609
|
if (this.logger)
|
|
2543
2610
|
this.logger.debug("Calling operation KmsVaultClient#deleteVaultReplica.");
|
|
2611
|
+
const operationName = "deleteVaultReplica";
|
|
2612
|
+
const apiReferenceLink = "";
|
|
2544
2613
|
const pathParams = {
|
|
2545
2614
|
"{vaultId}": deleteVaultReplicaRequest.vaultId
|
|
2546
2615
|
};
|
|
@@ -2566,7 +2635,7 @@ class KmsVaultClient {
|
|
|
2566
2635
|
queryParams: queryParams
|
|
2567
2636
|
});
|
|
2568
2637
|
try {
|
|
2569
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2638
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2570
2639
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2571
2640
|
responseObject: {},
|
|
2572
2641
|
responseHeaders: [
|
|
@@ -2601,12 +2670,14 @@ class KmsVaultClient {
|
|
|
2601
2670
|
* @param GetVaultRequest
|
|
2602
2671
|
* @return GetVaultResponse
|
|
2603
2672
|
* @throws OciError when an error occurs
|
|
2604
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2673
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/GetVault.ts.html |here} to see how to use GetVault API.
|
|
2605
2674
|
*/
|
|
2606
2675
|
getVault(getVaultRequest) {
|
|
2607
2676
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2608
2677
|
if (this.logger)
|
|
2609
2678
|
this.logger.debug("Calling operation KmsVaultClient#getVault.");
|
|
2679
|
+
const operationName = "getVault";
|
|
2680
|
+
const apiReferenceLink = "";
|
|
2610
2681
|
const pathParams = {
|
|
2611
2682
|
"{vaultId}": getVaultRequest.vaultId
|
|
2612
2683
|
};
|
|
@@ -2629,7 +2700,7 @@ class KmsVaultClient {
|
|
|
2629
2700
|
queryParams: queryParams
|
|
2630
2701
|
});
|
|
2631
2702
|
try {
|
|
2632
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2703
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2633
2704
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2634
2705
|
responseObject: {},
|
|
2635
2706
|
body: yield response.json(),
|
|
@@ -2663,12 +2734,14 @@ class KmsVaultClient {
|
|
|
2663
2734
|
* @param GetVaultUsageRequest
|
|
2664
2735
|
* @return GetVaultUsageResponse
|
|
2665
2736
|
* @throws OciError when an error occurs
|
|
2666
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2737
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/GetVaultUsage.ts.html |here} to see how to use GetVaultUsage API.
|
|
2667
2738
|
*/
|
|
2668
2739
|
getVaultUsage(getVaultUsageRequest) {
|
|
2669
2740
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2670
2741
|
if (this.logger)
|
|
2671
2742
|
this.logger.debug("Calling operation KmsVaultClient#getVaultUsage.");
|
|
2743
|
+
const operationName = "getVaultUsage";
|
|
2744
|
+
const apiReferenceLink = "";
|
|
2672
2745
|
const pathParams = {
|
|
2673
2746
|
"{vaultId}": getVaultUsageRequest.vaultId
|
|
2674
2747
|
};
|
|
@@ -2691,7 +2764,7 @@ class KmsVaultClient {
|
|
|
2691
2764
|
queryParams: queryParams
|
|
2692
2765
|
});
|
|
2693
2766
|
try {
|
|
2694
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2767
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2695
2768
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2696
2769
|
responseObject: {},
|
|
2697
2770
|
body: yield response.json(),
|
|
@@ -2725,12 +2798,14 @@ class KmsVaultClient {
|
|
|
2725
2798
|
* @param ListVaultReplicasRequest
|
|
2726
2799
|
* @return ListVaultReplicasResponse
|
|
2727
2800
|
* @throws OciError when an error occurs
|
|
2728
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2801
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/ListVaultReplicas.ts.html |here} to see how to use ListVaultReplicas API.
|
|
2729
2802
|
*/
|
|
2730
2803
|
listVaultReplicas(listVaultReplicasRequest) {
|
|
2731
2804
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2732
2805
|
if (this.logger)
|
|
2733
2806
|
this.logger.debug("Calling operation KmsVaultClient#listVaultReplicas.");
|
|
2807
|
+
const operationName = "listVaultReplicas";
|
|
2808
|
+
const apiReferenceLink = "";
|
|
2734
2809
|
const pathParams = {
|
|
2735
2810
|
"{vaultId}": listVaultReplicasRequest.vaultId
|
|
2736
2811
|
};
|
|
@@ -2760,7 +2835,7 @@ class KmsVaultClient {
|
|
|
2760
2835
|
queryParams: queryParams
|
|
2761
2836
|
});
|
|
2762
2837
|
try {
|
|
2763
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2838
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2764
2839
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2765
2840
|
responseObject: {},
|
|
2766
2841
|
body: yield response.json(),
|
|
@@ -2844,12 +2919,14 @@ class KmsVaultClient {
|
|
|
2844
2919
|
* @param ListVaultsRequest
|
|
2845
2920
|
* @return ListVaultsResponse
|
|
2846
2921
|
* @throws OciError when an error occurs
|
|
2847
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2922
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/ListVaults.ts.html |here} to see how to use ListVaults API.
|
|
2848
2923
|
*/
|
|
2849
2924
|
listVaults(listVaultsRequest) {
|
|
2850
2925
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2851
2926
|
if (this.logger)
|
|
2852
2927
|
this.logger.debug("Calling operation KmsVaultClient#listVaults.");
|
|
2928
|
+
const operationName = "listVaults";
|
|
2929
|
+
const apiReferenceLink = "";
|
|
2853
2930
|
const pathParams = {};
|
|
2854
2931
|
const queryParams = {
|
|
2855
2932
|
"compartmentId": listVaultsRequest.compartmentId,
|
|
@@ -2876,7 +2953,7 @@ class KmsVaultClient {
|
|
|
2876
2953
|
queryParams: queryParams
|
|
2877
2954
|
});
|
|
2878
2955
|
try {
|
|
2879
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2956
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2880
2957
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2881
2958
|
responseObject: {},
|
|
2882
2959
|
body: yield response.json(),
|
|
@@ -2952,12 +3029,14 @@ class KmsVaultClient {
|
|
|
2952
3029
|
* @param RestoreVaultFromFileRequest
|
|
2953
3030
|
* @return RestoreVaultFromFileResponse
|
|
2954
3031
|
* @throws OciError when an error occurs
|
|
2955
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3032
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/RestoreVaultFromFile.ts.html |here} to see how to use RestoreVaultFromFile API.
|
|
2956
3033
|
*/
|
|
2957
3034
|
restoreVaultFromFile(restoreVaultFromFileRequest) {
|
|
2958
3035
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2959
3036
|
if (this.logger)
|
|
2960
3037
|
this.logger.debug("Calling operation KmsVaultClient#restoreVaultFromFile.");
|
|
3038
|
+
const operationName = "restoreVaultFromFile";
|
|
3039
|
+
const apiReferenceLink = "";
|
|
2961
3040
|
const pathParams = {};
|
|
2962
3041
|
const queryParams = {
|
|
2963
3042
|
"compartmentId": restoreVaultFromFileRequest.compartmentId
|
|
@@ -2985,7 +3064,7 @@ class KmsVaultClient {
|
|
|
2985
3064
|
queryParams: queryParams
|
|
2986
3065
|
});
|
|
2987
3066
|
try {
|
|
2988
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3067
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2989
3068
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2990
3069
|
responseObject: {},
|
|
2991
3070
|
body: yield response.json(),
|
|
@@ -3031,12 +3110,14 @@ class KmsVaultClient {
|
|
|
3031
3110
|
* @param RestoreVaultFromObjectStoreRequest
|
|
3032
3111
|
* @return RestoreVaultFromObjectStoreResponse
|
|
3033
3112
|
* @throws OciError when an error occurs
|
|
3034
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3113
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/RestoreVaultFromObjectStore.ts.html |here} to see how to use RestoreVaultFromObjectStore API.
|
|
3035
3114
|
*/
|
|
3036
3115
|
restoreVaultFromObjectStore(restoreVaultFromObjectStoreRequest) {
|
|
3037
3116
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3038
3117
|
if (this.logger)
|
|
3039
3118
|
this.logger.debug("Calling operation KmsVaultClient#restoreVaultFromObjectStore.");
|
|
3119
|
+
const operationName = "restoreVaultFromObjectStore";
|
|
3120
|
+
const apiReferenceLink = "";
|
|
3040
3121
|
const pathParams = {};
|
|
3041
3122
|
const queryParams = {
|
|
3042
3123
|
"compartmentId": restoreVaultFromObjectStoreRequest.compartmentId
|
|
@@ -3062,7 +3143,7 @@ class KmsVaultClient {
|
|
|
3062
3143
|
queryParams: queryParams
|
|
3063
3144
|
});
|
|
3064
3145
|
try {
|
|
3065
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3146
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3066
3147
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3067
3148
|
responseObject: {},
|
|
3068
3149
|
body: yield response.json(),
|
|
@@ -3110,12 +3191,14 @@ class KmsVaultClient {
|
|
|
3110
3191
|
* @param ScheduleVaultDeletionRequest
|
|
3111
3192
|
* @return ScheduleVaultDeletionResponse
|
|
3112
3193
|
* @throws OciError when an error occurs
|
|
3113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3194
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/ScheduleVaultDeletion.ts.html |here} to see how to use ScheduleVaultDeletion API.
|
|
3114
3195
|
*/
|
|
3115
3196
|
scheduleVaultDeletion(scheduleVaultDeletionRequest) {
|
|
3116
3197
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3117
3198
|
if (this.logger)
|
|
3118
3199
|
this.logger.debug("Calling operation KmsVaultClient#scheduleVaultDeletion.");
|
|
3200
|
+
const operationName = "scheduleVaultDeletion";
|
|
3201
|
+
const apiReferenceLink = "";
|
|
3119
3202
|
const pathParams = {
|
|
3120
3203
|
"{vaultId}": scheduleVaultDeletionRequest.vaultId
|
|
3121
3204
|
};
|
|
@@ -3141,7 +3224,7 @@ class KmsVaultClient {
|
|
|
3141
3224
|
queryParams: queryParams
|
|
3142
3225
|
});
|
|
3143
3226
|
try {
|
|
3144
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3227
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3145
3228
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3146
3229
|
responseObject: {},
|
|
3147
3230
|
body: yield response.json(),
|
|
@@ -3182,12 +3265,14 @@ class KmsVaultClient {
|
|
|
3182
3265
|
* @param UpdateVaultRequest
|
|
3183
3266
|
* @return UpdateVaultResponse
|
|
3184
3267
|
* @throws OciError when an error occurs
|
|
3185
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3268
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/keymanagement/UpdateVault.ts.html |here} to see how to use UpdateVault API.
|
|
3186
3269
|
*/
|
|
3187
3270
|
updateVault(updateVaultRequest) {
|
|
3188
3271
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3189
3272
|
if (this.logger)
|
|
3190
3273
|
this.logger.debug("Calling operation KmsVaultClient#updateVault.");
|
|
3274
|
+
const operationName = "updateVault";
|
|
3275
|
+
const apiReferenceLink = "";
|
|
3191
3276
|
const pathParams = {
|
|
3192
3277
|
"{vaultId}": updateVaultRequest.vaultId
|
|
3193
3278
|
};
|
|
@@ -3212,7 +3297,7 @@ class KmsVaultClient {
|
|
|
3212
3297
|
queryParams: queryParams
|
|
3213
3298
|
});
|
|
3214
3299
|
try {
|
|
3215
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3300
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3216
3301
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3217
3302
|
responseObject: {},
|
|
3218
3303
|
body: yield response.json(),
|