oci-filestorage 2.25.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 +26 -25
- package/lib/client.js +101 -50
- package/lib/client.js.map +1 -1
- package/lib/request/change-file-system-compartment-request.d.ts +1 -1
- package/lib/request/change-mount-target-compartment-request.d.ts +1 -1
- package/lib/request/create-export-request.d.ts +1 -1
- package/lib/request/create-file-system-request.d.ts +1 -1
- package/lib/request/create-mount-target-request.d.ts +1 -1
- package/lib/request/create-snapshot-request.d.ts +1 -1
- package/lib/request/delete-export-request.d.ts +1 -1
- package/lib/request/delete-file-system-request.d.ts +1 -1
- package/lib/request/delete-mount-target-request.d.ts +1 -1
- package/lib/request/delete-snapshot-request.d.ts +1 -1
- package/lib/request/get-export-request.d.ts +1 -1
- package/lib/request/get-export-set-request.d.ts +1 -1
- package/lib/request/get-file-system-request.d.ts +1 -1
- package/lib/request/get-mount-target-request.d.ts +1 -1
- package/lib/request/get-snapshot-request.d.ts +1 -1
- package/lib/request/list-export-sets-request.d.ts +1 -1
- package/lib/request/list-exports-request.d.ts +1 -1
- package/lib/request/list-file-systems-request.d.ts +1 -1
- package/lib/request/list-mount-targets-request.d.ts +1 -1
- package/lib/request/list-snapshots-request.d.ts +1 -1
- package/lib/request/update-export-request.d.ts +1 -1
- package/lib/request/update-export-set-request.d.ts +1 -1
- package/lib/request/update-file-system-request.d.ts +1 -1
- package/lib/request/update-mount-target-request.d.ts +1 -1
- package/lib/request/update-snapshot-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -62,6 +62,7 @@ class FileStorageClient {
|
|
|
62
62
|
this["_defaultHeaders"] = {};
|
|
63
63
|
this._circuitBreaker = null;
|
|
64
64
|
this._httpOptions = undefined;
|
|
65
|
+
this.targetService = "FileStorage";
|
|
65
66
|
const requestSigner = params.authenticationDetailsProvider
|
|
66
67
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
67
68
|
: null;
|
|
@@ -158,12 +159,14 @@ class FileStorageClient {
|
|
|
158
159
|
* @param ChangeFileSystemCompartmentRequest
|
|
159
160
|
* @return ChangeFileSystemCompartmentResponse
|
|
160
161
|
* @throws OciError when an error occurs
|
|
161
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
162
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/ChangeFileSystemCompartment.ts.html |here} to see how to use ChangeFileSystemCompartment API.
|
|
162
163
|
*/
|
|
163
164
|
changeFileSystemCompartment(changeFileSystemCompartmentRequest) {
|
|
164
165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
165
166
|
if (this.logger)
|
|
166
167
|
this.logger.debug("Calling operation FileStorageClient#changeFileSystemCompartment.");
|
|
168
|
+
const operationName = "changeFileSystemCompartment";
|
|
169
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/ChangeFileSystemCompartment";
|
|
167
170
|
const pathParams = {
|
|
168
171
|
"{fileSystemId}": changeFileSystemCompartmentRequest.fileSystemId
|
|
169
172
|
};
|
|
@@ -188,7 +191,7 @@ class FileStorageClient {
|
|
|
188
191
|
queryParams: queryParams
|
|
189
192
|
});
|
|
190
193
|
try {
|
|
191
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
194
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
192
195
|
const sdkResponse = oci_common_2.composeResponse({
|
|
193
196
|
responseObject: {},
|
|
194
197
|
responseHeaders: [
|
|
@@ -213,12 +216,14 @@ class FileStorageClient {
|
|
|
213
216
|
* @param ChangeMountTargetCompartmentRequest
|
|
214
217
|
* @return ChangeMountTargetCompartmentResponse
|
|
215
218
|
* @throws OciError when an error occurs
|
|
216
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
219
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/ChangeMountTargetCompartment.ts.html |here} to see how to use ChangeMountTargetCompartment API.
|
|
217
220
|
*/
|
|
218
221
|
changeMountTargetCompartment(changeMountTargetCompartmentRequest) {
|
|
219
222
|
return __awaiter(this, void 0, void 0, function* () {
|
|
220
223
|
if (this.logger)
|
|
221
224
|
this.logger.debug("Calling operation FileStorageClient#changeMountTargetCompartment.");
|
|
225
|
+
const operationName = "changeMountTargetCompartment";
|
|
226
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTarget/ChangeMountTargetCompartment";
|
|
222
227
|
const pathParams = {
|
|
223
228
|
"{mountTargetId}": changeMountTargetCompartmentRequest.mountTargetId
|
|
224
229
|
};
|
|
@@ -243,7 +248,7 @@ class FileStorageClient {
|
|
|
243
248
|
queryParams: queryParams
|
|
244
249
|
});
|
|
245
250
|
try {
|
|
246
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
251
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
247
252
|
const sdkResponse = oci_common_2.composeResponse({
|
|
248
253
|
responseObject: {},
|
|
249
254
|
responseHeaders: [
|
|
@@ -269,12 +274,14 @@ class FileStorageClient {
|
|
|
269
274
|
* @param CreateExportRequest
|
|
270
275
|
* @return CreateExportResponse
|
|
271
276
|
* @throws OciError when an error occurs
|
|
272
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
277
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/CreateExport.ts.html |here} to see how to use CreateExport API.
|
|
273
278
|
*/
|
|
274
279
|
createExport(createExportRequest) {
|
|
275
280
|
return __awaiter(this, void 0, void 0, function* () {
|
|
276
281
|
if (this.logger)
|
|
277
282
|
this.logger.debug("Calling operation FileStorageClient#createExport.");
|
|
283
|
+
const operationName = "createExport";
|
|
284
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Export/CreateExport";
|
|
278
285
|
const pathParams = {};
|
|
279
286
|
const queryParams = {};
|
|
280
287
|
let headerParams = {
|
|
@@ -297,7 +304,7 @@ class FileStorageClient {
|
|
|
297
304
|
queryParams: queryParams
|
|
298
305
|
});
|
|
299
306
|
try {
|
|
300
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
307
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
301
308
|
const sdkResponse = oci_common_2.composeResponse({
|
|
302
309
|
responseObject: {},
|
|
303
310
|
body: yield response.json(),
|
|
@@ -359,12 +366,14 @@ class FileStorageClient {
|
|
|
359
366
|
* @param CreateFileSystemRequest
|
|
360
367
|
* @return CreateFileSystemResponse
|
|
361
368
|
* @throws OciError when an error occurs
|
|
362
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
369
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/CreateFileSystem.ts.html |here} to see how to use CreateFileSystem API.
|
|
363
370
|
*/
|
|
364
371
|
createFileSystem(createFileSystemRequest) {
|
|
365
372
|
return __awaiter(this, void 0, void 0, function* () {
|
|
366
373
|
if (this.logger)
|
|
367
374
|
this.logger.debug("Calling operation FileStorageClient#createFileSystem.");
|
|
375
|
+
const operationName = "createFileSystem";
|
|
376
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/CreateFileSystem";
|
|
368
377
|
const pathParams = {};
|
|
369
378
|
const queryParams = {};
|
|
370
379
|
let headerParams = {
|
|
@@ -387,7 +396,7 @@ class FileStorageClient {
|
|
|
387
396
|
queryParams: queryParams
|
|
388
397
|
});
|
|
389
398
|
try {
|
|
390
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
399
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
391
400
|
const sdkResponse = oci_common_2.composeResponse({
|
|
392
401
|
responseObject: {},
|
|
393
402
|
body: yield response.json(),
|
|
@@ -452,12 +461,14 @@ class FileStorageClient {
|
|
|
452
461
|
* @param CreateMountTargetRequest
|
|
453
462
|
* @return CreateMountTargetResponse
|
|
454
463
|
* @throws OciError when an error occurs
|
|
455
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
464
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/CreateMountTarget.ts.html |here} to see how to use CreateMountTarget API.
|
|
456
465
|
*/
|
|
457
466
|
createMountTarget(createMountTargetRequest) {
|
|
458
467
|
return __awaiter(this, void 0, void 0, function* () {
|
|
459
468
|
if (this.logger)
|
|
460
469
|
this.logger.debug("Calling operation FileStorageClient#createMountTarget.");
|
|
470
|
+
const operationName = "createMountTarget";
|
|
471
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTarget/CreateMountTarget";
|
|
461
472
|
const pathParams = {};
|
|
462
473
|
const queryParams = {};
|
|
463
474
|
let headerParams = {
|
|
@@ -480,7 +491,7 @@ class FileStorageClient {
|
|
|
480
491
|
queryParams: queryParams
|
|
481
492
|
});
|
|
482
493
|
try {
|
|
483
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
494
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
484
495
|
const sdkResponse = oci_common_2.composeResponse({
|
|
485
496
|
responseObject: {},
|
|
486
497
|
body: yield response.json(),
|
|
@@ -515,12 +526,14 @@ class FileStorageClient {
|
|
|
515
526
|
* @param CreateSnapshotRequest
|
|
516
527
|
* @return CreateSnapshotResponse
|
|
517
528
|
* @throws OciError when an error occurs
|
|
518
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
529
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/CreateSnapshot.ts.html |here} to see how to use CreateSnapshot API.
|
|
519
530
|
*/
|
|
520
531
|
createSnapshot(createSnapshotRequest) {
|
|
521
532
|
return __awaiter(this, void 0, void 0, function* () {
|
|
522
533
|
if (this.logger)
|
|
523
534
|
this.logger.debug("Calling operation FileStorageClient#createSnapshot.");
|
|
535
|
+
const operationName = "createSnapshot";
|
|
536
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Snapshot/CreateSnapshot";
|
|
524
537
|
const pathParams = {};
|
|
525
538
|
const queryParams = {};
|
|
526
539
|
let headerParams = {
|
|
@@ -543,7 +556,7 @@ class FileStorageClient {
|
|
|
543
556
|
queryParams: queryParams
|
|
544
557
|
});
|
|
545
558
|
try {
|
|
546
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
559
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
547
560
|
const sdkResponse = oci_common_2.composeResponse({
|
|
548
561
|
responseObject: {},
|
|
549
562
|
body: yield response.json(),
|
|
@@ -577,12 +590,14 @@ class FileStorageClient {
|
|
|
577
590
|
* @param DeleteExportRequest
|
|
578
591
|
* @return DeleteExportResponse
|
|
579
592
|
* @throws OciError when an error occurs
|
|
580
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
593
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/DeleteExport.ts.html |here} to see how to use DeleteExport API.
|
|
581
594
|
*/
|
|
582
595
|
deleteExport(deleteExportRequest) {
|
|
583
596
|
return __awaiter(this, void 0, void 0, function* () {
|
|
584
597
|
if (this.logger)
|
|
585
598
|
this.logger.debug("Calling operation FileStorageClient#deleteExport.");
|
|
599
|
+
const operationName = "deleteExport";
|
|
600
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Export/DeleteExport";
|
|
586
601
|
const pathParams = {
|
|
587
602
|
"{exportId}": deleteExportRequest.exportId
|
|
588
603
|
};
|
|
@@ -606,7 +621,7 @@ class FileStorageClient {
|
|
|
606
621
|
queryParams: queryParams
|
|
607
622
|
});
|
|
608
623
|
try {
|
|
609
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
624
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
610
625
|
const sdkResponse = oci_common_2.composeResponse({
|
|
611
626
|
responseObject: {},
|
|
612
627
|
responseHeaders: [
|
|
@@ -633,12 +648,14 @@ class FileStorageClient {
|
|
|
633
648
|
* @param DeleteFileSystemRequest
|
|
634
649
|
* @return DeleteFileSystemResponse
|
|
635
650
|
* @throws OciError when an error occurs
|
|
636
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
651
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/DeleteFileSystem.ts.html |here} to see how to use DeleteFileSystem API.
|
|
637
652
|
*/
|
|
638
653
|
deleteFileSystem(deleteFileSystemRequest) {
|
|
639
654
|
return __awaiter(this, void 0, void 0, function* () {
|
|
640
655
|
if (this.logger)
|
|
641
656
|
this.logger.debug("Calling operation FileStorageClient#deleteFileSystem.");
|
|
657
|
+
const operationName = "deleteFileSystem";
|
|
658
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/DeleteFileSystem";
|
|
642
659
|
const pathParams = {
|
|
643
660
|
"{fileSystemId}": deleteFileSystemRequest.fileSystemId
|
|
644
661
|
};
|
|
@@ -662,7 +679,7 @@ class FileStorageClient {
|
|
|
662
679
|
queryParams: queryParams
|
|
663
680
|
});
|
|
664
681
|
try {
|
|
665
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
682
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
666
683
|
const sdkResponse = oci_common_2.composeResponse({
|
|
667
684
|
responseObject: {},
|
|
668
685
|
responseHeaders: [
|
|
@@ -688,12 +705,14 @@ class FileStorageClient {
|
|
|
688
705
|
* @param DeleteMountTargetRequest
|
|
689
706
|
* @return DeleteMountTargetResponse
|
|
690
707
|
* @throws OciError when an error occurs
|
|
691
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
708
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/DeleteMountTarget.ts.html |here} to see how to use DeleteMountTarget API.
|
|
692
709
|
*/
|
|
693
710
|
deleteMountTarget(deleteMountTargetRequest) {
|
|
694
711
|
return __awaiter(this, void 0, void 0, function* () {
|
|
695
712
|
if (this.logger)
|
|
696
713
|
this.logger.debug("Calling operation FileStorageClient#deleteMountTarget.");
|
|
714
|
+
const operationName = "deleteMountTarget";
|
|
715
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTarget/DeleteMountTarget";
|
|
697
716
|
const pathParams = {
|
|
698
717
|
"{mountTargetId}": deleteMountTargetRequest.mountTargetId
|
|
699
718
|
};
|
|
@@ -717,7 +736,7 @@ class FileStorageClient {
|
|
|
717
736
|
queryParams: queryParams
|
|
718
737
|
});
|
|
719
738
|
try {
|
|
720
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
739
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
721
740
|
const sdkResponse = oci_common_2.composeResponse({
|
|
722
741
|
responseObject: {},
|
|
723
742
|
responseHeaders: [
|
|
@@ -742,12 +761,14 @@ class FileStorageClient {
|
|
|
742
761
|
* @param DeleteSnapshotRequest
|
|
743
762
|
* @return DeleteSnapshotResponse
|
|
744
763
|
* @throws OciError when an error occurs
|
|
745
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
764
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/DeleteSnapshot.ts.html |here} to see how to use DeleteSnapshot API.
|
|
746
765
|
*/
|
|
747
766
|
deleteSnapshot(deleteSnapshotRequest) {
|
|
748
767
|
return __awaiter(this, void 0, void 0, function* () {
|
|
749
768
|
if (this.logger)
|
|
750
769
|
this.logger.debug("Calling operation FileStorageClient#deleteSnapshot.");
|
|
770
|
+
const operationName = "deleteSnapshot";
|
|
771
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Snapshot/DeleteSnapshot";
|
|
751
772
|
const pathParams = {
|
|
752
773
|
"{snapshotId}": deleteSnapshotRequest.snapshotId
|
|
753
774
|
};
|
|
@@ -771,7 +792,7 @@ class FileStorageClient {
|
|
|
771
792
|
queryParams: queryParams
|
|
772
793
|
});
|
|
773
794
|
try {
|
|
774
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
795
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
775
796
|
const sdkResponse = oci_common_2.composeResponse({
|
|
776
797
|
responseObject: {},
|
|
777
798
|
responseHeaders: [
|
|
@@ -795,12 +816,14 @@ class FileStorageClient {
|
|
|
795
816
|
* @param GetExportRequest
|
|
796
817
|
* @return GetExportResponse
|
|
797
818
|
* @throws OciError when an error occurs
|
|
798
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
819
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/GetExport.ts.html |here} to see how to use GetExport API.
|
|
799
820
|
*/
|
|
800
821
|
getExport(getExportRequest) {
|
|
801
822
|
return __awaiter(this, void 0, void 0, function* () {
|
|
802
823
|
if (this.logger)
|
|
803
824
|
this.logger.debug("Calling operation FileStorageClient#getExport.");
|
|
825
|
+
const operationName = "getExport";
|
|
826
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Export/GetExport";
|
|
804
827
|
const pathParams = {
|
|
805
828
|
"{exportId}": getExportRequest.exportId
|
|
806
829
|
};
|
|
@@ -823,7 +846,7 @@ class FileStorageClient {
|
|
|
823
846
|
queryParams: queryParams
|
|
824
847
|
});
|
|
825
848
|
try {
|
|
826
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
849
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
827
850
|
const sdkResponse = oci_common_2.composeResponse({
|
|
828
851
|
responseObject: {},
|
|
829
852
|
body: yield response.json(),
|
|
@@ -856,12 +879,14 @@ class FileStorageClient {
|
|
|
856
879
|
* @param GetExportSetRequest
|
|
857
880
|
* @return GetExportSetResponse
|
|
858
881
|
* @throws OciError when an error occurs
|
|
859
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
882
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/GetExportSet.ts.html |here} to see how to use GetExportSet API.
|
|
860
883
|
*/
|
|
861
884
|
getExportSet(getExportSetRequest) {
|
|
862
885
|
return __awaiter(this, void 0, void 0, function* () {
|
|
863
886
|
if (this.logger)
|
|
864
887
|
this.logger.debug("Calling operation FileStorageClient#getExportSet.");
|
|
888
|
+
const operationName = "getExportSet";
|
|
889
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/ExportSet/GetExportSet";
|
|
865
890
|
const pathParams = {
|
|
866
891
|
"{exportSetId}": getExportSetRequest.exportSetId
|
|
867
892
|
};
|
|
@@ -884,7 +909,7 @@ class FileStorageClient {
|
|
|
884
909
|
queryParams: queryParams
|
|
885
910
|
});
|
|
886
911
|
try {
|
|
887
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
912
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
888
913
|
const sdkResponse = oci_common_2.composeResponse({
|
|
889
914
|
responseObject: {},
|
|
890
915
|
body: yield response.json(),
|
|
@@ -917,12 +942,14 @@ class FileStorageClient {
|
|
|
917
942
|
* @param GetFileSystemRequest
|
|
918
943
|
* @return GetFileSystemResponse
|
|
919
944
|
* @throws OciError when an error occurs
|
|
920
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
945
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/GetFileSystem.ts.html |here} to see how to use GetFileSystem API.
|
|
921
946
|
*/
|
|
922
947
|
getFileSystem(getFileSystemRequest) {
|
|
923
948
|
return __awaiter(this, void 0, void 0, function* () {
|
|
924
949
|
if (this.logger)
|
|
925
950
|
this.logger.debug("Calling operation FileStorageClient#getFileSystem.");
|
|
951
|
+
const operationName = "getFileSystem";
|
|
952
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/GetFileSystem";
|
|
926
953
|
const pathParams = {
|
|
927
954
|
"{fileSystemId}": getFileSystemRequest.fileSystemId
|
|
928
955
|
};
|
|
@@ -945,7 +972,7 @@ class FileStorageClient {
|
|
|
945
972
|
queryParams: queryParams
|
|
946
973
|
});
|
|
947
974
|
try {
|
|
948
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
975
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
949
976
|
const sdkResponse = oci_common_2.composeResponse({
|
|
950
977
|
responseObject: {},
|
|
951
978
|
body: yield response.json(),
|
|
@@ -978,12 +1005,14 @@ class FileStorageClient {
|
|
|
978
1005
|
* @param GetMountTargetRequest
|
|
979
1006
|
* @return GetMountTargetResponse
|
|
980
1007
|
* @throws OciError when an error occurs
|
|
981
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1008
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/GetMountTarget.ts.html |here} to see how to use GetMountTarget API.
|
|
982
1009
|
*/
|
|
983
1010
|
getMountTarget(getMountTargetRequest) {
|
|
984
1011
|
return __awaiter(this, void 0, void 0, function* () {
|
|
985
1012
|
if (this.logger)
|
|
986
1013
|
this.logger.debug("Calling operation FileStorageClient#getMountTarget.");
|
|
1014
|
+
const operationName = "getMountTarget";
|
|
1015
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTarget/GetMountTarget";
|
|
987
1016
|
const pathParams = {
|
|
988
1017
|
"{mountTargetId}": getMountTargetRequest.mountTargetId
|
|
989
1018
|
};
|
|
@@ -1006,7 +1035,7 @@ class FileStorageClient {
|
|
|
1006
1035
|
queryParams: queryParams
|
|
1007
1036
|
});
|
|
1008
1037
|
try {
|
|
1009
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1038
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1010
1039
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1011
1040
|
responseObject: {},
|
|
1012
1041
|
body: yield response.json(),
|
|
@@ -1039,12 +1068,14 @@ class FileStorageClient {
|
|
|
1039
1068
|
* @param GetSnapshotRequest
|
|
1040
1069
|
* @return GetSnapshotResponse
|
|
1041
1070
|
* @throws OciError when an error occurs
|
|
1042
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1071
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/GetSnapshot.ts.html |here} to see how to use GetSnapshot API.
|
|
1043
1072
|
*/
|
|
1044
1073
|
getSnapshot(getSnapshotRequest) {
|
|
1045
1074
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1046
1075
|
if (this.logger)
|
|
1047
1076
|
this.logger.debug("Calling operation FileStorageClient#getSnapshot.");
|
|
1077
|
+
const operationName = "getSnapshot";
|
|
1078
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Snapshot/GetSnapshot";
|
|
1048
1079
|
const pathParams = {
|
|
1049
1080
|
"{snapshotId}": getSnapshotRequest.snapshotId
|
|
1050
1081
|
};
|
|
@@ -1067,7 +1098,7 @@ class FileStorageClient {
|
|
|
1067
1098
|
queryParams: queryParams
|
|
1068
1099
|
});
|
|
1069
1100
|
try {
|
|
1070
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1101
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1071
1102
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1072
1103
|
responseObject: {},
|
|
1073
1104
|
body: yield response.json(),
|
|
@@ -1101,12 +1132,14 @@ class FileStorageClient {
|
|
|
1101
1132
|
* @param ListExportSetsRequest
|
|
1102
1133
|
* @return ListExportSetsResponse
|
|
1103
1134
|
* @throws OciError when an error occurs
|
|
1104
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1135
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/ListExportSets.ts.html |here} to see how to use ListExportSets API.
|
|
1105
1136
|
*/
|
|
1106
1137
|
listExportSets(listExportSetsRequest) {
|
|
1107
1138
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1108
1139
|
if (this.logger)
|
|
1109
1140
|
this.logger.debug("Calling operation FileStorageClient#listExportSets.");
|
|
1141
|
+
const operationName = "listExportSets";
|
|
1142
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/ExportSetSummary/ListExportSets";
|
|
1110
1143
|
const pathParams = {};
|
|
1111
1144
|
const queryParams = {
|
|
1112
1145
|
"compartmentId": listExportSetsRequest.compartmentId,
|
|
@@ -1137,7 +1170,7 @@ class FileStorageClient {
|
|
|
1137
1170
|
queryParams: queryParams
|
|
1138
1171
|
});
|
|
1139
1172
|
try {
|
|
1140
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1173
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1141
1174
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1142
1175
|
responseObject: {},
|
|
1143
1176
|
body: yield response.json(),
|
|
@@ -1213,12 +1246,14 @@ class FileStorageClient {
|
|
|
1213
1246
|
* @param ListExportsRequest
|
|
1214
1247
|
* @return ListExportsResponse
|
|
1215
1248
|
* @throws OciError when an error occurs
|
|
1216
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1249
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/ListExports.ts.html |here} to see how to use ListExports API.
|
|
1217
1250
|
*/
|
|
1218
1251
|
listExports(listExportsRequest) {
|
|
1219
1252
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1220
1253
|
if (this.logger)
|
|
1221
1254
|
this.logger.debug("Calling operation FileStorageClient#listExports.");
|
|
1255
|
+
const operationName = "listExports";
|
|
1256
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/ExportSummary/ListExports";
|
|
1222
1257
|
const pathParams = {};
|
|
1223
1258
|
const queryParams = {
|
|
1224
1259
|
"compartmentId": listExportsRequest.compartmentId,
|
|
@@ -1249,7 +1284,7 @@ class FileStorageClient {
|
|
|
1249
1284
|
queryParams: queryParams
|
|
1250
1285
|
});
|
|
1251
1286
|
try {
|
|
1252
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1287
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1253
1288
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1254
1289
|
responseObject: {},
|
|
1255
1290
|
body: yield response.json(),
|
|
@@ -1323,12 +1358,14 @@ class FileStorageClient {
|
|
|
1323
1358
|
* @param ListFileSystemsRequest
|
|
1324
1359
|
* @return ListFileSystemsResponse
|
|
1325
1360
|
* @throws OciError when an error occurs
|
|
1326
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/ListFileSystems.ts.html |here} to see how to use ListFileSystems API.
|
|
1327
1362
|
*/
|
|
1328
1363
|
listFileSystems(listFileSystemsRequest) {
|
|
1329
1364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1330
1365
|
if (this.logger)
|
|
1331
1366
|
this.logger.debug("Calling operation FileStorageClient#listFileSystems.");
|
|
1367
|
+
const operationName = "listFileSystems";
|
|
1368
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystemSummary/ListFileSystems";
|
|
1332
1369
|
const pathParams = {};
|
|
1333
1370
|
const queryParams = {
|
|
1334
1371
|
"compartmentId": listFileSystemsRequest.compartmentId,
|
|
@@ -1361,7 +1398,7 @@ class FileStorageClient {
|
|
|
1361
1398
|
queryParams: queryParams
|
|
1362
1399
|
});
|
|
1363
1400
|
try {
|
|
1364
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1401
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1365
1402
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1366
1403
|
responseObject: {},
|
|
1367
1404
|
body: yield response.json(),
|
|
@@ -1435,12 +1472,14 @@ class FileStorageClient {
|
|
|
1435
1472
|
* @param ListMountTargetsRequest
|
|
1436
1473
|
* @return ListMountTargetsResponse
|
|
1437
1474
|
* @throws OciError when an error occurs
|
|
1438
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1475
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/ListMountTargets.ts.html |here} to see how to use ListMountTargets API.
|
|
1439
1476
|
*/
|
|
1440
1477
|
listMountTargets(listMountTargetsRequest) {
|
|
1441
1478
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1442
1479
|
if (this.logger)
|
|
1443
1480
|
this.logger.debug("Calling operation FileStorageClient#listMountTargets.");
|
|
1481
|
+
const operationName = "listMountTargets";
|
|
1482
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTargetSummary/ListMountTargets";
|
|
1444
1483
|
const pathParams = {};
|
|
1445
1484
|
const queryParams = {
|
|
1446
1485
|
"compartmentId": listMountTargetsRequest.compartmentId,
|
|
@@ -1472,7 +1511,7 @@ class FileStorageClient {
|
|
|
1472
1511
|
queryParams: queryParams
|
|
1473
1512
|
});
|
|
1474
1513
|
try {
|
|
1475
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1514
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1476
1515
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1477
1516
|
responseObject: {},
|
|
1478
1517
|
body: yield response.json(),
|
|
@@ -1546,12 +1585,14 @@ class FileStorageClient {
|
|
|
1546
1585
|
* @param ListSnapshotsRequest
|
|
1547
1586
|
* @return ListSnapshotsResponse
|
|
1548
1587
|
* @throws OciError when an error occurs
|
|
1549
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1588
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/ListSnapshots.ts.html |here} to see how to use ListSnapshots API.
|
|
1550
1589
|
*/
|
|
1551
1590
|
listSnapshots(listSnapshotsRequest) {
|
|
1552
1591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1553
1592
|
if (this.logger)
|
|
1554
1593
|
this.logger.debug("Calling operation FileStorageClient#listSnapshots.");
|
|
1594
|
+
const operationName = "listSnapshots";
|
|
1595
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/SnapshotSummary/ListSnapshots";
|
|
1555
1596
|
const pathParams = {};
|
|
1556
1597
|
const queryParams = {
|
|
1557
1598
|
"fileSystemId": listSnapshotsRequest.fileSystemId,
|
|
@@ -1579,7 +1620,7 @@ class FileStorageClient {
|
|
|
1579
1620
|
queryParams: queryParams
|
|
1580
1621
|
});
|
|
1581
1622
|
try {
|
|
1582
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1623
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1583
1624
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1584
1625
|
responseObject: {},
|
|
1585
1626
|
body: yield response.json(),
|
|
@@ -1652,12 +1693,14 @@ class FileStorageClient {
|
|
|
1652
1693
|
* @param UpdateExportRequest
|
|
1653
1694
|
* @return UpdateExportResponse
|
|
1654
1695
|
* @throws OciError when an error occurs
|
|
1655
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1696
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/UpdateExport.ts.html |here} to see how to use UpdateExport API.
|
|
1656
1697
|
*/
|
|
1657
1698
|
updateExport(updateExportRequest) {
|
|
1658
1699
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1659
1700
|
if (this.logger)
|
|
1660
1701
|
this.logger.debug("Calling operation FileStorageClient#updateExport.");
|
|
1702
|
+
const operationName = "updateExport";
|
|
1703
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Export/UpdateExport";
|
|
1661
1704
|
const pathParams = {
|
|
1662
1705
|
"{exportId}": updateExportRequest.exportId
|
|
1663
1706
|
};
|
|
@@ -1682,7 +1725,7 @@ class FileStorageClient {
|
|
|
1682
1725
|
queryParams: queryParams
|
|
1683
1726
|
});
|
|
1684
1727
|
try {
|
|
1685
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1728
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1686
1729
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1687
1730
|
responseObject: {},
|
|
1688
1731
|
body: yield response.json(),
|
|
@@ -1715,12 +1758,14 @@ class FileStorageClient {
|
|
|
1715
1758
|
* @param UpdateExportSetRequest
|
|
1716
1759
|
* @return UpdateExportSetResponse
|
|
1717
1760
|
* @throws OciError when an error occurs
|
|
1718
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1761
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/UpdateExportSet.ts.html |here} to see how to use UpdateExportSet API.
|
|
1719
1762
|
*/
|
|
1720
1763
|
updateExportSet(updateExportSetRequest) {
|
|
1721
1764
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1722
1765
|
if (this.logger)
|
|
1723
1766
|
this.logger.debug("Calling operation FileStorageClient#updateExportSet.");
|
|
1767
|
+
const operationName = "updateExportSet";
|
|
1768
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/ExportSet/UpdateExportSet";
|
|
1724
1769
|
const pathParams = {
|
|
1725
1770
|
"{exportSetId}": updateExportSetRequest.exportSetId
|
|
1726
1771
|
};
|
|
@@ -1745,7 +1790,7 @@ class FileStorageClient {
|
|
|
1745
1790
|
queryParams: queryParams
|
|
1746
1791
|
});
|
|
1747
1792
|
try {
|
|
1748
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1793
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1749
1794
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1750
1795
|
responseObject: {},
|
|
1751
1796
|
body: yield response.json(),
|
|
@@ -1780,12 +1825,14 @@ class FileStorageClient {
|
|
|
1780
1825
|
* @param UpdateFileSystemRequest
|
|
1781
1826
|
* @return UpdateFileSystemResponse
|
|
1782
1827
|
* @throws OciError when an error occurs
|
|
1783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1828
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/UpdateFileSystem.ts.html |here} to see how to use UpdateFileSystem API.
|
|
1784
1829
|
*/
|
|
1785
1830
|
updateFileSystem(updateFileSystemRequest) {
|
|
1786
1831
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1787
1832
|
if (this.logger)
|
|
1788
1833
|
this.logger.debug("Calling operation FileStorageClient#updateFileSystem.");
|
|
1834
|
+
const operationName = "updateFileSystem";
|
|
1835
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/UpdateFileSystem";
|
|
1789
1836
|
const pathParams = {
|
|
1790
1837
|
"{fileSystemId}": updateFileSystemRequest.fileSystemId
|
|
1791
1838
|
};
|
|
@@ -1810,7 +1857,7 @@ class FileStorageClient {
|
|
|
1810
1857
|
queryParams: queryParams
|
|
1811
1858
|
});
|
|
1812
1859
|
try {
|
|
1813
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1860
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1814
1861
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1815
1862
|
responseObject: {},
|
|
1816
1863
|
body: yield response.json(),
|
|
@@ -1843,12 +1890,14 @@ class FileStorageClient {
|
|
|
1843
1890
|
* @param UpdateMountTargetRequest
|
|
1844
1891
|
* @return UpdateMountTargetResponse
|
|
1845
1892
|
* @throws OciError when an error occurs
|
|
1846
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1893
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/UpdateMountTarget.ts.html |here} to see how to use UpdateMountTarget API.
|
|
1847
1894
|
*/
|
|
1848
1895
|
updateMountTarget(updateMountTargetRequest) {
|
|
1849
1896
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1850
1897
|
if (this.logger)
|
|
1851
1898
|
this.logger.debug("Calling operation FileStorageClient#updateMountTarget.");
|
|
1899
|
+
const operationName = "updateMountTarget";
|
|
1900
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/MountTarget/UpdateMountTarget";
|
|
1852
1901
|
const pathParams = {
|
|
1853
1902
|
"{mountTargetId}": updateMountTargetRequest.mountTargetId
|
|
1854
1903
|
};
|
|
@@ -1873,7 +1922,7 @@ class FileStorageClient {
|
|
|
1873
1922
|
queryParams: queryParams
|
|
1874
1923
|
});
|
|
1875
1924
|
try {
|
|
1876
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1925
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1877
1926
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1878
1927
|
responseObject: {},
|
|
1879
1928
|
body: yield response.json(),
|
|
@@ -1906,12 +1955,14 @@ class FileStorageClient {
|
|
|
1906
1955
|
* @param UpdateSnapshotRequest
|
|
1907
1956
|
* @return UpdateSnapshotResponse
|
|
1908
1957
|
* @throws OciError when an error occurs
|
|
1909
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1958
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/filestorage/UpdateSnapshot.ts.html |here} to see how to use UpdateSnapshot API.
|
|
1910
1959
|
*/
|
|
1911
1960
|
updateSnapshot(updateSnapshotRequest) {
|
|
1912
1961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1913
1962
|
if (this.logger)
|
|
1914
1963
|
this.logger.debug("Calling operation FileStorageClient#updateSnapshot.");
|
|
1964
|
+
const operationName = "updateSnapshot";
|
|
1965
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/Snapshot/UpdateSnapshot";
|
|
1915
1966
|
const pathParams = {
|
|
1916
1967
|
"{snapshotId}": updateSnapshotRequest.snapshotId
|
|
1917
1968
|
};
|
|
@@ -1936,7 +1987,7 @@ class FileStorageClient {
|
|
|
1936
1987
|
queryParams: queryParams
|
|
1937
1988
|
});
|
|
1938
1989
|
try {
|
|
1939
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1990
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1940
1991
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1941
1992
|
responseObject: {},
|
|
1942
1993
|
body: yield response.json(),
|