oci-mysql 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 +55 -50
- package/lib/client.js +205 -100
- package/lib/client.js.map +1 -1
- package/lib/request/add-analytics-cluster-request.d.ts +1 -1
- package/lib/request/add-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/change-backup-compartment-request.d.ts +1 -1
- package/lib/request/create-backup-request.d.ts +1 -1
- package/lib/request/create-channel-request.d.ts +1 -1
- package/lib/request/create-configuration-request.d.ts +1 -1
- package/lib/request/create-db-system-request.d.ts +1 -1
- package/lib/request/delete-analytics-cluster-request.d.ts +1 -1
- package/lib/request/delete-backup-request.d.ts +1 -1
- package/lib/request/delete-channel-request.d.ts +1 -1
- package/lib/request/delete-configuration-request.d.ts +1 -1
- package/lib/request/delete-db-system-request.d.ts +1 -1
- package/lib/request/delete-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/generate-analytics-cluster-memory-estimate-request.d.ts +1 -1
- package/lib/request/generate-heat-wave-cluster-memory-estimate-request.d.ts +1 -1
- package/lib/request/get-analytics-cluster-memory-estimate-request.d.ts +1 -1
- package/lib/request/get-analytics-cluster-request.d.ts +1 -1
- package/lib/request/get-backup-request.d.ts +1 -1
- package/lib/request/get-channel-request.d.ts +1 -1
- package/lib/request/get-configuration-request.d.ts +1 -1
- package/lib/request/get-db-system-request.d.ts +1 -1
- package/lib/request/get-heat-wave-cluster-memory-estimate-request.d.ts +1 -1
- package/lib/request/get-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-backups-request.d.ts +1 -1
- package/lib/request/list-channels-request.d.ts +1 -1
- package/lib/request/list-configurations-request.d.ts +1 -1
- package/lib/request/list-db-systems-request.d.ts +1 -1
- package/lib/request/list-shapes-request.d.ts +1 -1
- package/lib/request/list-versions-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/reset-channel-request.d.ts +1 -1
- package/lib/request/restart-analytics-cluster-request.d.ts +1 -1
- package/lib/request/restart-db-system-request.d.ts +1 -1
- package/lib/request/restart-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/resume-channel-request.d.ts +1 -1
- package/lib/request/start-analytics-cluster-request.d.ts +1 -1
- package/lib/request/start-db-system-request.d.ts +1 -1
- package/lib/request/start-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/stop-analytics-cluster-request.d.ts +1 -1
- package/lib/request/stop-db-system-request.d.ts +1 -1
- package/lib/request/stop-heat-wave-cluster-request.d.ts +1 -1
- package/lib/request/update-analytics-cluster-request.d.ts +1 -1
- package/lib/request/update-backup-request.d.ts +1 -1
- package/lib/request/update-channel-request.d.ts +1 -1
- package/lib/request/update-configuration-request.d.ts +1 -1
- package/lib/request/update-db-system-request.d.ts +1 -1
- package/lib/request/update-heat-wave-cluster-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -65,6 +65,7 @@ class ChannelsClient {
|
|
|
65
65
|
this["_defaultHeaders"] = {};
|
|
66
66
|
this._circuitBreaker = null;
|
|
67
67
|
this._httpOptions = undefined;
|
|
68
|
+
this.targetService = "Channels";
|
|
68
69
|
const requestSigner = params.authenticationDetailsProvider
|
|
69
70
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
70
71
|
: null;
|
|
@@ -161,12 +162,14 @@ class ChannelsClient {
|
|
|
161
162
|
* @param CreateChannelRequest
|
|
162
163
|
* @return CreateChannelResponse
|
|
163
164
|
* @throws OciError when an error occurs
|
|
164
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
165
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/CreateChannel.ts.html |here} to see how to use CreateChannel API.
|
|
165
166
|
*/
|
|
166
167
|
createChannel(createChannelRequest) {
|
|
167
168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
168
169
|
if (this.logger)
|
|
169
170
|
this.logger.debug("Calling operation ChannelsClient#createChannel.");
|
|
171
|
+
const operationName = "createChannel";
|
|
172
|
+
const apiReferenceLink = "";
|
|
170
173
|
const pathParams = {};
|
|
171
174
|
const queryParams = {};
|
|
172
175
|
let headerParams = {
|
|
@@ -189,7 +192,7 @@ class ChannelsClient {
|
|
|
189
192
|
queryParams: queryParams
|
|
190
193
|
});
|
|
191
194
|
try {
|
|
192
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
195
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
193
196
|
const sdkResponse = oci_common_2.composeResponse({
|
|
194
197
|
responseObject: {},
|
|
195
198
|
body: yield response.json(),
|
|
@@ -227,12 +230,14 @@ class ChannelsClient {
|
|
|
227
230
|
* @param DeleteChannelRequest
|
|
228
231
|
* @return DeleteChannelResponse
|
|
229
232
|
* @throws OciError when an error occurs
|
|
230
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
233
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
|
|
231
234
|
*/
|
|
232
235
|
deleteChannel(deleteChannelRequest) {
|
|
233
236
|
return __awaiter(this, void 0, void 0, function* () {
|
|
234
237
|
if (this.logger)
|
|
235
238
|
this.logger.debug("Calling operation ChannelsClient#deleteChannel.");
|
|
239
|
+
const operationName = "deleteChannel";
|
|
240
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Channel/DeleteChannel";
|
|
236
241
|
const pathParams = {
|
|
237
242
|
"{channelId}": deleteChannelRequest.channelId
|
|
238
243
|
};
|
|
@@ -256,7 +261,7 @@ class ChannelsClient {
|
|
|
256
261
|
queryParams: queryParams
|
|
257
262
|
});
|
|
258
263
|
try {
|
|
259
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
264
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
260
265
|
const sdkResponse = oci_common_2.composeResponse({
|
|
261
266
|
responseObject: {},
|
|
262
267
|
responseHeaders: [
|
|
@@ -288,12 +293,14 @@ class ChannelsClient {
|
|
|
288
293
|
* @param GetChannelRequest
|
|
289
294
|
* @return GetChannelResponse
|
|
290
295
|
* @throws OciError when an error occurs
|
|
291
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
296
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/GetChannel.ts.html |here} to see how to use GetChannel API.
|
|
292
297
|
*/
|
|
293
298
|
getChannel(getChannelRequest) {
|
|
294
299
|
return __awaiter(this, void 0, void 0, function* () {
|
|
295
300
|
if (this.logger)
|
|
296
301
|
this.logger.debug("Calling operation ChannelsClient#getChannel.");
|
|
302
|
+
const operationName = "getChannel";
|
|
303
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Channel/GetChannel";
|
|
297
304
|
const pathParams = {
|
|
298
305
|
"{channelId}": getChannelRequest.channelId
|
|
299
306
|
};
|
|
@@ -317,7 +324,7 @@ class ChannelsClient {
|
|
|
317
324
|
queryParams: queryParams
|
|
318
325
|
});
|
|
319
326
|
try {
|
|
320
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
327
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
321
328
|
const sdkResponse = oci_common_2.composeResponse({
|
|
322
329
|
responseObject: {},
|
|
323
330
|
body: yield response.json(),
|
|
@@ -350,12 +357,14 @@ class ChannelsClient {
|
|
|
350
357
|
* @param ListChannelsRequest
|
|
351
358
|
* @return ListChannelsResponse
|
|
352
359
|
* @throws OciError when an error occurs
|
|
353
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
360
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/ListChannels.ts.html |here} to see how to use ListChannels API.
|
|
354
361
|
*/
|
|
355
362
|
listChannels(listChannelsRequest) {
|
|
356
363
|
return __awaiter(this, void 0, void 0, function* () {
|
|
357
364
|
if (this.logger)
|
|
358
365
|
this.logger.debug("Calling operation ChannelsClient#listChannels.");
|
|
366
|
+
const operationName = "listChannels";
|
|
367
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/ChannelSummary/ListChannels";
|
|
359
368
|
const pathParams = {};
|
|
360
369
|
const queryParams = {
|
|
361
370
|
"compartmentId": listChannelsRequest.compartmentId,
|
|
@@ -387,7 +396,7 @@ class ChannelsClient {
|
|
|
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(),
|
|
@@ -462,12 +471,14 @@ class ChannelsClient {
|
|
|
462
471
|
* @param ResetChannelRequest
|
|
463
472
|
* @return ResetChannelResponse
|
|
464
473
|
* @throws OciError when an error occurs
|
|
465
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
474
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/ResetChannel.ts.html |here} to see how to use ResetChannel API.
|
|
466
475
|
*/
|
|
467
476
|
resetChannel(resetChannelRequest) {
|
|
468
477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
469
478
|
if (this.logger)
|
|
470
479
|
this.logger.debug("Calling operation ChannelsClient#resetChannel.");
|
|
480
|
+
const operationName = "resetChannel";
|
|
481
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Channel/ResetChannel";
|
|
471
482
|
const pathParams = {
|
|
472
483
|
"{channelId}": resetChannelRequest.channelId
|
|
473
484
|
};
|
|
@@ -492,7 +503,7 @@ class ChannelsClient {
|
|
|
492
503
|
queryParams: queryParams
|
|
493
504
|
});
|
|
494
505
|
try {
|
|
495
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
506
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
496
507
|
const sdkResponse = oci_common_2.composeResponse({
|
|
497
508
|
responseObject: {},
|
|
498
509
|
responseHeaders: [
|
|
@@ -524,12 +535,14 @@ class ChannelsClient {
|
|
|
524
535
|
* @param ResumeChannelRequest
|
|
525
536
|
* @return ResumeChannelResponse
|
|
526
537
|
* @throws OciError when an error occurs
|
|
527
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
538
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/ResumeChannel.ts.html |here} to see how to use ResumeChannel API.
|
|
528
539
|
*/
|
|
529
540
|
resumeChannel(resumeChannelRequest) {
|
|
530
541
|
return __awaiter(this, void 0, void 0, function* () {
|
|
531
542
|
if (this.logger)
|
|
532
543
|
this.logger.debug("Calling operation ChannelsClient#resumeChannel.");
|
|
544
|
+
const operationName = "resumeChannel";
|
|
545
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Channel/ResumeChannel";
|
|
533
546
|
const pathParams = {
|
|
534
547
|
"{channelId}": resumeChannelRequest.channelId
|
|
535
548
|
};
|
|
@@ -554,7 +567,7 @@ class ChannelsClient {
|
|
|
554
567
|
queryParams: queryParams
|
|
555
568
|
});
|
|
556
569
|
try {
|
|
557
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
570
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
558
571
|
const sdkResponse = oci_common_2.composeResponse({
|
|
559
572
|
responseObject: {},
|
|
560
573
|
responseHeaders: [
|
|
@@ -587,12 +600,14 @@ class ChannelsClient {
|
|
|
587
600
|
* @param UpdateChannelRequest
|
|
588
601
|
* @return UpdateChannelResponse
|
|
589
602
|
* @throws OciError when an error occurs
|
|
590
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
603
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
|
|
591
604
|
*/
|
|
592
605
|
updateChannel(updateChannelRequest) {
|
|
593
606
|
return __awaiter(this, void 0, void 0, function* () {
|
|
594
607
|
if (this.logger)
|
|
595
608
|
this.logger.debug("Calling operation ChannelsClient#updateChannel.");
|
|
609
|
+
const operationName = "updateChannel";
|
|
610
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Channel/UpdateChannel";
|
|
596
611
|
const pathParams = {
|
|
597
612
|
"{channelId}": updateChannelRequest.channelId
|
|
598
613
|
};
|
|
@@ -618,7 +633,7 @@ class ChannelsClient {
|
|
|
618
633
|
queryParams: queryParams
|
|
619
634
|
});
|
|
620
635
|
try {
|
|
621
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
636
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
622
637
|
const sdkResponse = oci_common_2.composeResponse({
|
|
623
638
|
responseObject: {},
|
|
624
639
|
responseHeaders: [
|
|
@@ -657,6 +672,7 @@ class DbBackupsClient {
|
|
|
657
672
|
this["_defaultHeaders"] = {};
|
|
658
673
|
this._circuitBreaker = null;
|
|
659
674
|
this._httpOptions = undefined;
|
|
675
|
+
this.targetService = "DbBackups";
|
|
660
676
|
const requestSigner = params.authenticationDetailsProvider
|
|
661
677
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
662
678
|
: null;
|
|
@@ -754,12 +770,14 @@ class DbBackupsClient {
|
|
|
754
770
|
* @param ChangeBackupCompartmentRequest
|
|
755
771
|
* @return ChangeBackupCompartmentResponse
|
|
756
772
|
* @throws OciError when an error occurs
|
|
757
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
773
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
758
774
|
*/
|
|
759
775
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
760
776
|
return __awaiter(this, void 0, void 0, function* () {
|
|
761
777
|
if (this.logger)
|
|
762
778
|
this.logger.debug("Calling operation DbBackupsClient#changeBackupCompartment.");
|
|
779
|
+
const operationName = "changeBackupCompartment";
|
|
780
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Backup/ChangeBackupCompartment";
|
|
763
781
|
const pathParams = {
|
|
764
782
|
"{backupId}": changeBackupCompartmentRequest.backupId
|
|
765
783
|
};
|
|
@@ -785,7 +803,7 @@ class DbBackupsClient {
|
|
|
785
803
|
queryParams: queryParams
|
|
786
804
|
});
|
|
787
805
|
try {
|
|
788
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
806
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
789
807
|
const sdkResponse = oci_common_2.composeResponse({
|
|
790
808
|
responseObject: {},
|
|
791
809
|
responseHeaders: [
|
|
@@ -815,12 +833,14 @@ class DbBackupsClient {
|
|
|
815
833
|
* @param CreateBackupRequest
|
|
816
834
|
* @return CreateBackupResponse
|
|
817
835
|
* @throws OciError when an error occurs
|
|
818
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
836
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
819
837
|
*/
|
|
820
838
|
createBackup(createBackupRequest) {
|
|
821
839
|
return __awaiter(this, void 0, void 0, function* () {
|
|
822
840
|
if (this.logger)
|
|
823
841
|
this.logger.debug("Calling operation DbBackupsClient#createBackup.");
|
|
842
|
+
const operationName = "createBackup";
|
|
843
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Backup/CreateBackup";
|
|
824
844
|
const pathParams = {};
|
|
825
845
|
const queryParams = {};
|
|
826
846
|
let headerParams = {
|
|
@@ -843,7 +863,7 @@ class DbBackupsClient {
|
|
|
843
863
|
queryParams: queryParams
|
|
844
864
|
});
|
|
845
865
|
try {
|
|
846
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
866
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
847
867
|
const sdkResponse = oci_common_2.composeResponse({
|
|
848
868
|
responseObject: {},
|
|
849
869
|
body: yield response.json(),
|
|
@@ -882,12 +902,14 @@ class DbBackupsClient {
|
|
|
882
902
|
* @param DeleteBackupRequest
|
|
883
903
|
* @return DeleteBackupResponse
|
|
884
904
|
* @throws OciError when an error occurs
|
|
885
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
905
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
886
906
|
*/
|
|
887
907
|
deleteBackup(deleteBackupRequest) {
|
|
888
908
|
return __awaiter(this, void 0, void 0, function* () {
|
|
889
909
|
if (this.logger)
|
|
890
910
|
this.logger.debug("Calling operation DbBackupsClient#deleteBackup.");
|
|
911
|
+
const operationName = "deleteBackup";
|
|
912
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Backup/DeleteBackup";
|
|
891
913
|
const pathParams = {
|
|
892
914
|
"{backupId}": deleteBackupRequest.backupId
|
|
893
915
|
};
|
|
@@ -911,7 +933,7 @@ class DbBackupsClient {
|
|
|
911
933
|
queryParams: queryParams
|
|
912
934
|
});
|
|
913
935
|
try {
|
|
914
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
936
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
915
937
|
const sdkResponse = oci_common_2.composeResponse({
|
|
916
938
|
responseObject: {},
|
|
917
939
|
responseHeaders: [
|
|
@@ -940,12 +962,14 @@ class DbBackupsClient {
|
|
|
940
962
|
* @param GetBackupRequest
|
|
941
963
|
* @return GetBackupResponse
|
|
942
964
|
* @throws OciError when an error occurs
|
|
943
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
965
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
944
966
|
*/
|
|
945
967
|
getBackup(getBackupRequest) {
|
|
946
968
|
return __awaiter(this, void 0, void 0, function* () {
|
|
947
969
|
if (this.logger)
|
|
948
970
|
this.logger.debug("Calling operation DbBackupsClient#getBackup.");
|
|
971
|
+
const operationName = "getBackup";
|
|
972
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Backup/GetBackup";
|
|
949
973
|
const pathParams = {
|
|
950
974
|
"{backupId}": getBackupRequest.backupId
|
|
951
975
|
};
|
|
@@ -969,7 +993,7 @@ class DbBackupsClient {
|
|
|
969
993
|
queryParams: queryParams
|
|
970
994
|
});
|
|
971
995
|
try {
|
|
972
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
996
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
973
997
|
const sdkResponse = oci_common_2.composeResponse({
|
|
974
998
|
responseObject: {},
|
|
975
999
|
body: yield response.json(),
|
|
@@ -1003,12 +1027,14 @@ class DbBackupsClient {
|
|
|
1003
1027
|
* @param ListBackupsRequest
|
|
1004
1028
|
* @return ListBackupsResponse
|
|
1005
1029
|
* @throws OciError when an error occurs
|
|
1006
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1030
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
1007
1031
|
*/
|
|
1008
1032
|
listBackups(listBackupsRequest) {
|
|
1009
1033
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1010
1034
|
if (this.logger)
|
|
1011
1035
|
this.logger.debug("Calling operation DbBackupsClient#listBackups.");
|
|
1036
|
+
const operationName = "listBackups";
|
|
1037
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/BackupSummary/ListBackups";
|
|
1012
1038
|
const pathParams = {};
|
|
1013
1039
|
const queryParams = {
|
|
1014
1040
|
"backupId": listBackupsRequest.backupId,
|
|
@@ -1040,7 +1066,7 @@ class DbBackupsClient {
|
|
|
1040
1066
|
queryParams: queryParams
|
|
1041
1067
|
});
|
|
1042
1068
|
try {
|
|
1043
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1069
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1044
1070
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1045
1071
|
responseObject: {},
|
|
1046
1072
|
body: yield response.json(),
|
|
@@ -1113,12 +1139,14 @@ class DbBackupsClient {
|
|
|
1113
1139
|
* @param UpdateBackupRequest
|
|
1114
1140
|
* @return UpdateBackupResponse
|
|
1115
1141
|
* @throws OciError when an error occurs
|
|
1116
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1142
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
1117
1143
|
*/
|
|
1118
1144
|
updateBackup(updateBackupRequest) {
|
|
1119
1145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1120
1146
|
if (this.logger)
|
|
1121
1147
|
this.logger.debug("Calling operation DbBackupsClient#updateBackup.");
|
|
1148
|
+
const operationName = "updateBackup";
|
|
1149
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Backup/UpdateBackup";
|
|
1122
1150
|
const pathParams = {
|
|
1123
1151
|
"{backupId}": updateBackupRequest.backupId
|
|
1124
1152
|
};
|
|
@@ -1143,7 +1171,7 @@ class DbBackupsClient {
|
|
|
1143
1171
|
queryParams: queryParams
|
|
1144
1172
|
});
|
|
1145
1173
|
try {
|
|
1146
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1174
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1147
1175
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1148
1176
|
responseObject: {},
|
|
1149
1177
|
responseHeaders: [
|
|
@@ -1177,6 +1205,7 @@ class DbSystemClient {
|
|
|
1177
1205
|
this["_defaultHeaders"] = {};
|
|
1178
1206
|
this._circuitBreaker = null;
|
|
1179
1207
|
this._httpOptions = undefined;
|
|
1208
|
+
this.targetService = "DbSystem";
|
|
1180
1209
|
const requestSigner = params.authenticationDetailsProvider
|
|
1181
1210
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
1182
1211
|
: null;
|
|
@@ -1274,12 +1303,14 @@ class DbSystemClient {
|
|
|
1274
1303
|
* @param AddAnalyticsClusterRequest
|
|
1275
1304
|
* @return AddAnalyticsClusterResponse
|
|
1276
1305
|
* @throws OciError when an error occurs
|
|
1277
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1306
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/AddAnalyticsCluster.ts.html |here} to see how to use AddAnalyticsCluster API.
|
|
1278
1307
|
*/
|
|
1279
1308
|
addAnalyticsCluster(addAnalyticsClusterRequest) {
|
|
1280
1309
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1281
1310
|
if (this.logger)
|
|
1282
1311
|
this.logger.debug("Calling operation DbSystemClient#addAnalyticsCluster.");
|
|
1312
|
+
const operationName = "addAnalyticsCluster";
|
|
1313
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/AddAnalyticsCluster";
|
|
1283
1314
|
const pathParams = {
|
|
1284
1315
|
"{dbSystemId}": addAnalyticsClusterRequest.dbSystemId
|
|
1285
1316
|
};
|
|
@@ -1305,7 +1336,7 @@ class DbSystemClient {
|
|
|
1305
1336
|
queryParams: queryParams
|
|
1306
1337
|
});
|
|
1307
1338
|
try {
|
|
1308
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1339
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1309
1340
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1310
1341
|
responseObject: {},
|
|
1311
1342
|
body: yield response.json(),
|
|
@@ -1344,12 +1375,14 @@ class DbSystemClient {
|
|
|
1344
1375
|
* @param AddHeatWaveClusterRequest
|
|
1345
1376
|
* @return AddHeatWaveClusterResponse
|
|
1346
1377
|
* @throws OciError when an error occurs
|
|
1347
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1378
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/AddHeatWaveCluster.ts.html |here} to see how to use AddHeatWaveCluster API.
|
|
1348
1379
|
*/
|
|
1349
1380
|
addHeatWaveCluster(addHeatWaveClusterRequest) {
|
|
1350
1381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1351
1382
|
if (this.logger)
|
|
1352
1383
|
this.logger.debug("Calling operation DbSystemClient#addHeatWaveCluster.");
|
|
1384
|
+
const operationName = "addHeatWaveCluster";
|
|
1385
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/AddHeatWaveCluster";
|
|
1353
1386
|
const pathParams = {
|
|
1354
1387
|
"{dbSystemId}": addHeatWaveClusterRequest.dbSystemId
|
|
1355
1388
|
};
|
|
@@ -1375,7 +1408,7 @@ class DbSystemClient {
|
|
|
1375
1408
|
queryParams: queryParams
|
|
1376
1409
|
});
|
|
1377
1410
|
try {
|
|
1378
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1411
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1379
1412
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1380
1413
|
responseObject: {},
|
|
1381
1414
|
body: yield response.json(),
|
|
@@ -1414,12 +1447,14 @@ class DbSystemClient {
|
|
|
1414
1447
|
* @param CreateDbSystemRequest
|
|
1415
1448
|
* @return CreateDbSystemResponse
|
|
1416
1449
|
* @throws OciError when an error occurs
|
|
1417
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1450
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
1418
1451
|
*/
|
|
1419
1452
|
createDbSystem(createDbSystemRequest) {
|
|
1420
1453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1421
1454
|
if (this.logger)
|
|
1422
1455
|
this.logger.debug("Calling operation DbSystemClient#createDbSystem.");
|
|
1456
|
+
const operationName = "createDbSystem";
|
|
1457
|
+
const apiReferenceLink = "";
|
|
1423
1458
|
const pathParams = {};
|
|
1424
1459
|
const queryParams = {};
|
|
1425
1460
|
let headerParams = {
|
|
@@ -1442,7 +1477,7 @@ class DbSystemClient {
|
|
|
1442
1477
|
queryParams: queryParams
|
|
1443
1478
|
});
|
|
1444
1479
|
try {
|
|
1445
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1480
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1446
1481
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1447
1482
|
responseObject: {},
|
|
1448
1483
|
body: yield response.json(),
|
|
@@ -1488,12 +1523,14 @@ class DbSystemClient {
|
|
|
1488
1523
|
* @param DeleteAnalyticsClusterRequest
|
|
1489
1524
|
* @return DeleteAnalyticsClusterResponse
|
|
1490
1525
|
* @throws OciError when an error occurs
|
|
1491
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1526
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/DeleteAnalyticsCluster.ts.html |here} to see how to use DeleteAnalyticsCluster API.
|
|
1492
1527
|
*/
|
|
1493
1528
|
deleteAnalyticsCluster(deleteAnalyticsClusterRequest) {
|
|
1494
1529
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1495
1530
|
if (this.logger)
|
|
1496
1531
|
this.logger.debug("Calling operation DbSystemClient#deleteAnalyticsCluster.");
|
|
1532
|
+
const operationName = "deleteAnalyticsCluster";
|
|
1533
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/DeleteAnalyticsCluster";
|
|
1497
1534
|
const pathParams = {
|
|
1498
1535
|
"{dbSystemId}": deleteAnalyticsClusterRequest.dbSystemId
|
|
1499
1536
|
};
|
|
@@ -1517,7 +1554,7 @@ class DbSystemClient {
|
|
|
1517
1554
|
queryParams: queryParams
|
|
1518
1555
|
});
|
|
1519
1556
|
try {
|
|
1520
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1557
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1521
1558
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1522
1559
|
responseObject: {},
|
|
1523
1560
|
responseHeaders: [
|
|
@@ -1548,12 +1585,14 @@ class DbSystemClient {
|
|
|
1548
1585
|
* @param DeleteDbSystemRequest
|
|
1549
1586
|
* @return DeleteDbSystemResponse
|
|
1550
1587
|
* @throws OciError when an error occurs
|
|
1551
|
-
* @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/mysql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
1552
1589
|
*/
|
|
1553
1590
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
1554
1591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1555
1592
|
if (this.logger)
|
|
1556
1593
|
this.logger.debug("Calling operation DbSystemClient#deleteDbSystem.");
|
|
1594
|
+
const operationName = "deleteDbSystem";
|
|
1595
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/DeleteDbSystem";
|
|
1557
1596
|
const pathParams = {
|
|
1558
1597
|
"{dbSystemId}": deleteDbSystemRequest.dbSystemId
|
|
1559
1598
|
};
|
|
@@ -1577,7 +1616,7 @@ class DbSystemClient {
|
|
|
1577
1616
|
queryParams: queryParams
|
|
1578
1617
|
});
|
|
1579
1618
|
try {
|
|
1580
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1619
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1581
1620
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1582
1621
|
responseObject: {},
|
|
1583
1622
|
responseHeaders: [
|
|
@@ -1608,12 +1647,14 @@ class DbSystemClient {
|
|
|
1608
1647
|
* @param DeleteHeatWaveClusterRequest
|
|
1609
1648
|
* @return DeleteHeatWaveClusterResponse
|
|
1610
1649
|
* @throws OciError when an error occurs
|
|
1611
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1650
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/DeleteHeatWaveCluster.ts.html |here} to see how to use DeleteHeatWaveCluster API.
|
|
1612
1651
|
*/
|
|
1613
1652
|
deleteHeatWaveCluster(deleteHeatWaveClusterRequest) {
|
|
1614
1653
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1615
1654
|
if (this.logger)
|
|
1616
1655
|
this.logger.debug("Calling operation DbSystemClient#deleteHeatWaveCluster.");
|
|
1656
|
+
const operationName = "deleteHeatWaveCluster";
|
|
1657
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/DeleteHeatWaveCluster";
|
|
1617
1658
|
const pathParams = {
|
|
1618
1659
|
"{dbSystemId}": deleteHeatWaveClusterRequest.dbSystemId
|
|
1619
1660
|
};
|
|
@@ -1637,7 +1678,7 @@ class DbSystemClient {
|
|
|
1637
1678
|
queryParams: queryParams
|
|
1638
1679
|
});
|
|
1639
1680
|
try {
|
|
1640
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1681
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1641
1682
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1642
1683
|
responseObject: {},
|
|
1643
1684
|
responseHeaders: [
|
|
@@ -1668,12 +1709,14 @@ class DbSystemClient {
|
|
|
1668
1709
|
* @param GenerateAnalyticsClusterMemoryEstimateRequest
|
|
1669
1710
|
* @return GenerateAnalyticsClusterMemoryEstimateResponse
|
|
1670
1711
|
* @throws OciError when an error occurs
|
|
1671
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1712
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/GenerateAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GenerateAnalyticsClusterMemoryEstimate API.
|
|
1672
1713
|
*/
|
|
1673
1714
|
generateAnalyticsClusterMemoryEstimate(generateAnalyticsClusterMemoryEstimateRequest) {
|
|
1674
1715
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1675
1716
|
if (this.logger)
|
|
1676
1717
|
this.logger.debug("Calling operation DbSystemClient#generateAnalyticsClusterMemoryEstimate.");
|
|
1718
|
+
const operationName = "generateAnalyticsClusterMemoryEstimate";
|
|
1719
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsClusterMemoryEstimate/GenerateAnalyticsClusterMemoryEstimate";
|
|
1677
1720
|
const pathParams = {
|
|
1678
1721
|
"{dbSystemId}": generateAnalyticsClusterMemoryEstimateRequest.dbSystemId
|
|
1679
1722
|
};
|
|
@@ -1697,7 +1740,7 @@ class DbSystemClient {
|
|
|
1697
1740
|
queryParams: queryParams
|
|
1698
1741
|
});
|
|
1699
1742
|
try {
|
|
1700
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1743
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1701
1744
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1702
1745
|
responseObject: {},
|
|
1703
1746
|
body: yield response.json(),
|
|
@@ -1731,12 +1774,14 @@ class DbSystemClient {
|
|
|
1731
1774
|
* @param GenerateHeatWaveClusterMemoryEstimateRequest
|
|
1732
1775
|
* @return GenerateHeatWaveClusterMemoryEstimateResponse
|
|
1733
1776
|
* @throws OciError when an error occurs
|
|
1734
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1777
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/GenerateHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GenerateHeatWaveClusterMemoryEstimate API.
|
|
1735
1778
|
*/
|
|
1736
1779
|
generateHeatWaveClusterMemoryEstimate(generateHeatWaveClusterMemoryEstimateRequest) {
|
|
1737
1780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1738
1781
|
if (this.logger)
|
|
1739
1782
|
this.logger.debug("Calling operation DbSystemClient#generateHeatWaveClusterMemoryEstimate.");
|
|
1783
|
+
const operationName = "generateHeatWaveClusterMemoryEstimate";
|
|
1784
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveClusterMemoryEstimate/GenerateHeatWaveClusterMemoryEstimate";
|
|
1740
1785
|
const pathParams = {
|
|
1741
1786
|
"{dbSystemId}": generateHeatWaveClusterMemoryEstimateRequest.dbSystemId
|
|
1742
1787
|
};
|
|
@@ -1760,7 +1805,7 @@ class DbSystemClient {
|
|
|
1760
1805
|
queryParams: queryParams
|
|
1761
1806
|
});
|
|
1762
1807
|
try {
|
|
1763
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1808
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1764
1809
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1765
1810
|
responseObject: {},
|
|
1766
1811
|
body: yield response.json(),
|
|
@@ -1795,12 +1840,14 @@ class DbSystemClient {
|
|
|
1795
1840
|
* @param GetAnalyticsClusterRequest
|
|
1796
1841
|
* @return GetAnalyticsClusterResponse
|
|
1797
1842
|
* @throws OciError when an error occurs
|
|
1798
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1843
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/GetAnalyticsCluster.ts.html |here} to see how to use GetAnalyticsCluster API.
|
|
1799
1844
|
*/
|
|
1800
1845
|
getAnalyticsCluster(getAnalyticsClusterRequest) {
|
|
1801
1846
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1802
1847
|
if (this.logger)
|
|
1803
1848
|
this.logger.debug("Calling operation DbSystemClient#getAnalyticsCluster.");
|
|
1849
|
+
const operationName = "getAnalyticsCluster";
|
|
1850
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/GetAnalyticsCluster";
|
|
1804
1851
|
const pathParams = {
|
|
1805
1852
|
"{dbSystemId}": getAnalyticsClusterRequest.dbSystemId
|
|
1806
1853
|
};
|
|
@@ -1824,7 +1871,7 @@ class DbSystemClient {
|
|
|
1824
1871
|
queryParams: queryParams
|
|
1825
1872
|
});
|
|
1826
1873
|
try {
|
|
1827
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1874
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1828
1875
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1829
1876
|
responseObject: {},
|
|
1830
1877
|
body: yield response.json(),
|
|
@@ -1860,12 +1907,14 @@ class DbSystemClient {
|
|
|
1860
1907
|
* @param GetAnalyticsClusterMemoryEstimateRequest
|
|
1861
1908
|
* @return GetAnalyticsClusterMemoryEstimateResponse
|
|
1862
1909
|
* @throws OciError when an error occurs
|
|
1863
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1910
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/GetAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GetAnalyticsClusterMemoryEstimate API.
|
|
1864
1911
|
*/
|
|
1865
1912
|
getAnalyticsClusterMemoryEstimate(getAnalyticsClusterMemoryEstimateRequest) {
|
|
1866
1913
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1867
1914
|
if (this.logger)
|
|
1868
1915
|
this.logger.debug("Calling operation DbSystemClient#getAnalyticsClusterMemoryEstimate.");
|
|
1916
|
+
const operationName = "getAnalyticsClusterMemoryEstimate";
|
|
1917
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsClusterMemoryEstimate/GetAnalyticsClusterMemoryEstimate";
|
|
1869
1918
|
const pathParams = {
|
|
1870
1919
|
"{dbSystemId}": getAnalyticsClusterMemoryEstimateRequest.dbSystemId
|
|
1871
1920
|
};
|
|
@@ -1888,7 +1937,7 @@ class DbSystemClient {
|
|
|
1888
1937
|
queryParams: queryParams
|
|
1889
1938
|
});
|
|
1890
1939
|
try {
|
|
1891
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1940
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1892
1941
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1893
1942
|
responseObject: {},
|
|
1894
1943
|
body: yield response.json(),
|
|
@@ -1916,12 +1965,14 @@ class DbSystemClient {
|
|
|
1916
1965
|
* @param GetDbSystemRequest
|
|
1917
1966
|
* @return GetDbSystemResponse
|
|
1918
1967
|
* @throws OciError when an error occurs
|
|
1919
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1968
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
1920
1969
|
*/
|
|
1921
1970
|
getDbSystem(getDbSystemRequest) {
|
|
1922
1971
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1923
1972
|
if (this.logger)
|
|
1924
1973
|
this.logger.debug("Calling operation DbSystemClient#getDbSystem.");
|
|
1974
|
+
const operationName = "getDbSystem";
|
|
1975
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/GetDbSystem";
|
|
1925
1976
|
const pathParams = {
|
|
1926
1977
|
"{dbSystemId}": getDbSystemRequest.dbSystemId
|
|
1927
1978
|
};
|
|
@@ -1945,7 +1996,7 @@ class DbSystemClient {
|
|
|
1945
1996
|
queryParams: queryParams
|
|
1946
1997
|
});
|
|
1947
1998
|
try {
|
|
1948
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1999
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1949
2000
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1950
2001
|
responseObject: {},
|
|
1951
2002
|
body: yield response.json(),
|
|
@@ -1978,12 +2029,14 @@ class DbSystemClient {
|
|
|
1978
2029
|
* @param GetHeatWaveClusterRequest
|
|
1979
2030
|
* @return GetHeatWaveClusterResponse
|
|
1980
2031
|
* @throws OciError when an error occurs
|
|
1981
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2032
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/GetHeatWaveCluster.ts.html |here} to see how to use GetHeatWaveCluster API.
|
|
1982
2033
|
*/
|
|
1983
2034
|
getHeatWaveCluster(getHeatWaveClusterRequest) {
|
|
1984
2035
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1985
2036
|
if (this.logger)
|
|
1986
2037
|
this.logger.debug("Calling operation DbSystemClient#getHeatWaveCluster.");
|
|
2038
|
+
const operationName = "getHeatWaveCluster";
|
|
2039
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/GetHeatWaveCluster";
|
|
1987
2040
|
const pathParams = {
|
|
1988
2041
|
"{dbSystemId}": getHeatWaveClusterRequest.dbSystemId
|
|
1989
2042
|
};
|
|
@@ -2007,7 +2060,7 @@ class DbSystemClient {
|
|
|
2007
2060
|
queryParams: queryParams
|
|
2008
2061
|
});
|
|
2009
2062
|
try {
|
|
2010
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2063
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2011
2064
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2012
2065
|
responseObject: {},
|
|
2013
2066
|
body: yield response.json(),
|
|
@@ -2042,12 +2095,14 @@ class DbSystemClient {
|
|
|
2042
2095
|
* @param GetHeatWaveClusterMemoryEstimateRequest
|
|
2043
2096
|
* @return GetHeatWaveClusterMemoryEstimateResponse
|
|
2044
2097
|
* @throws OciError when an error occurs
|
|
2045
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2098
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/GetHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GetHeatWaveClusterMemoryEstimate API.
|
|
2046
2099
|
*/
|
|
2047
2100
|
getHeatWaveClusterMemoryEstimate(getHeatWaveClusterMemoryEstimateRequest) {
|
|
2048
2101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2049
2102
|
if (this.logger)
|
|
2050
2103
|
this.logger.debug("Calling operation DbSystemClient#getHeatWaveClusterMemoryEstimate.");
|
|
2104
|
+
const operationName = "getHeatWaveClusterMemoryEstimate";
|
|
2105
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveClusterMemoryEstimate/GetHeatWaveClusterMemoryEstimate";
|
|
2051
2106
|
const pathParams = {
|
|
2052
2107
|
"{dbSystemId}": getHeatWaveClusterMemoryEstimateRequest.dbSystemId
|
|
2053
2108
|
};
|
|
@@ -2070,7 +2125,7 @@ class DbSystemClient {
|
|
|
2070
2125
|
queryParams: queryParams
|
|
2071
2126
|
});
|
|
2072
2127
|
try {
|
|
2073
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2128
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2074
2129
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2075
2130
|
responseObject: {},
|
|
2076
2131
|
body: yield response.json(),
|
|
@@ -2100,12 +2155,14 @@ class DbSystemClient {
|
|
|
2100
2155
|
* @param ListDbSystemsRequest
|
|
2101
2156
|
* @return ListDbSystemsResponse
|
|
2102
2157
|
* @throws OciError when an error occurs
|
|
2103
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2158
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
2104
2159
|
*/
|
|
2105
2160
|
listDbSystems(listDbSystemsRequest) {
|
|
2106
2161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2107
2162
|
if (this.logger)
|
|
2108
2163
|
this.logger.debug("Calling operation DbSystemClient#listDbSystems.");
|
|
2164
|
+
const operationName = "listDbSystems";
|
|
2165
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystemSummary/ListDbSystems";
|
|
2109
2166
|
const pathParams = {};
|
|
2110
2167
|
const queryParams = {
|
|
2111
2168
|
"isAnalyticsClusterAttached": listDbSystemsRequest.isAnalyticsClusterAttached,
|
|
@@ -2139,7 +2196,7 @@ class DbSystemClient {
|
|
|
2139
2196
|
queryParams: queryParams
|
|
2140
2197
|
});
|
|
2141
2198
|
try {
|
|
2142
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2199
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2143
2200
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2144
2201
|
responseObject: {},
|
|
2145
2202
|
body: yield response.json(),
|
|
@@ -2214,12 +2271,14 @@ class DbSystemClient {
|
|
|
2214
2271
|
* @param RestartAnalyticsClusterRequest
|
|
2215
2272
|
* @return RestartAnalyticsClusterResponse
|
|
2216
2273
|
* @throws OciError when an error occurs
|
|
2217
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2274
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/RestartAnalyticsCluster.ts.html |here} to see how to use RestartAnalyticsCluster API.
|
|
2218
2275
|
*/
|
|
2219
2276
|
restartAnalyticsCluster(restartAnalyticsClusterRequest) {
|
|
2220
2277
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2221
2278
|
if (this.logger)
|
|
2222
2279
|
this.logger.debug("Calling operation DbSystemClient#restartAnalyticsCluster.");
|
|
2280
|
+
const operationName = "restartAnalyticsCluster";
|
|
2281
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/RestartAnalyticsCluster";
|
|
2223
2282
|
const pathParams = {
|
|
2224
2283
|
"{dbSystemId}": restartAnalyticsClusterRequest.dbSystemId
|
|
2225
2284
|
};
|
|
@@ -2244,7 +2303,7 @@ class DbSystemClient {
|
|
|
2244
2303
|
queryParams: queryParams
|
|
2245
2304
|
});
|
|
2246
2305
|
try {
|
|
2247
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2306
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2248
2307
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2249
2308
|
responseObject: {},
|
|
2250
2309
|
responseHeaders: [
|
|
@@ -2273,12 +2332,14 @@ class DbSystemClient {
|
|
|
2273
2332
|
* @param RestartDbSystemRequest
|
|
2274
2333
|
* @return RestartDbSystemResponse
|
|
2275
2334
|
* @throws OciError when an error occurs
|
|
2276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/RestartDbSystem.ts.html |here} to see how to use RestartDbSystem API.
|
|
2277
2336
|
*/
|
|
2278
2337
|
restartDbSystem(restartDbSystemRequest) {
|
|
2279
2338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2280
2339
|
if (this.logger)
|
|
2281
2340
|
this.logger.debug("Calling operation DbSystemClient#restartDbSystem.");
|
|
2341
|
+
const operationName = "restartDbSystem";
|
|
2342
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/RestartDbSystem";
|
|
2282
2343
|
const pathParams = {
|
|
2283
2344
|
"{dbSystemId}": restartDbSystemRequest.dbSystemId
|
|
2284
2345
|
};
|
|
@@ -2304,7 +2365,7 @@ class DbSystemClient {
|
|
|
2304
2365
|
queryParams: queryParams
|
|
2305
2366
|
});
|
|
2306
2367
|
try {
|
|
2307
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2368
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2308
2369
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2309
2370
|
responseObject: {},
|
|
2310
2371
|
responseHeaders: [
|
|
@@ -2333,12 +2394,14 @@ class DbSystemClient {
|
|
|
2333
2394
|
* @param RestartHeatWaveClusterRequest
|
|
2334
2395
|
* @return RestartHeatWaveClusterResponse
|
|
2335
2396
|
* @throws OciError when an error occurs
|
|
2336
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/RestartHeatWaveCluster.ts.html |here} to see how to use RestartHeatWaveCluster API.
|
|
2337
2398
|
*/
|
|
2338
2399
|
restartHeatWaveCluster(restartHeatWaveClusterRequest) {
|
|
2339
2400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2340
2401
|
if (this.logger)
|
|
2341
2402
|
this.logger.debug("Calling operation DbSystemClient#restartHeatWaveCluster.");
|
|
2403
|
+
const operationName = "restartHeatWaveCluster";
|
|
2404
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/RestartHeatWaveCluster";
|
|
2342
2405
|
const pathParams = {
|
|
2343
2406
|
"{dbSystemId}": restartHeatWaveClusterRequest.dbSystemId
|
|
2344
2407
|
};
|
|
@@ -2363,7 +2426,7 @@ class DbSystemClient {
|
|
|
2363
2426
|
queryParams: queryParams
|
|
2364
2427
|
});
|
|
2365
2428
|
try {
|
|
2366
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2429
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2367
2430
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2368
2431
|
responseObject: {},
|
|
2369
2432
|
responseHeaders: [
|
|
@@ -2394,12 +2457,14 @@ class DbSystemClient {
|
|
|
2394
2457
|
* @param StartAnalyticsClusterRequest
|
|
2395
2458
|
* @return StartAnalyticsClusterResponse
|
|
2396
2459
|
* @throws OciError when an error occurs
|
|
2397
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2460
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/StartAnalyticsCluster.ts.html |here} to see how to use StartAnalyticsCluster API.
|
|
2398
2461
|
*/
|
|
2399
2462
|
startAnalyticsCluster(startAnalyticsClusterRequest) {
|
|
2400
2463
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2401
2464
|
if (this.logger)
|
|
2402
2465
|
this.logger.debug("Calling operation DbSystemClient#startAnalyticsCluster.");
|
|
2466
|
+
const operationName = "startAnalyticsCluster";
|
|
2467
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/StartAnalyticsCluster";
|
|
2403
2468
|
const pathParams = {
|
|
2404
2469
|
"{dbSystemId}": startAnalyticsClusterRequest.dbSystemId
|
|
2405
2470
|
};
|
|
@@ -2424,7 +2489,7 @@ class DbSystemClient {
|
|
|
2424
2489
|
queryParams: queryParams
|
|
2425
2490
|
});
|
|
2426
2491
|
try {
|
|
2427
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2492
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2428
2493
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2429
2494
|
responseObject: {},
|
|
2430
2495
|
responseHeaders: [
|
|
@@ -2453,12 +2518,14 @@ class DbSystemClient {
|
|
|
2453
2518
|
* @param StartDbSystemRequest
|
|
2454
2519
|
* @return StartDbSystemResponse
|
|
2455
2520
|
* @throws OciError when an error occurs
|
|
2456
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2521
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/StartDbSystem.ts.html |here} to see how to use StartDbSystem API.
|
|
2457
2522
|
*/
|
|
2458
2523
|
startDbSystem(startDbSystemRequest) {
|
|
2459
2524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2460
2525
|
if (this.logger)
|
|
2461
2526
|
this.logger.debug("Calling operation DbSystemClient#startDbSystem.");
|
|
2527
|
+
const operationName = "startDbSystem";
|
|
2528
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/StartDbSystem";
|
|
2462
2529
|
const pathParams = {
|
|
2463
2530
|
"{dbSystemId}": startDbSystemRequest.dbSystemId
|
|
2464
2531
|
};
|
|
@@ -2483,7 +2550,7 @@ class DbSystemClient {
|
|
|
2483
2550
|
queryParams: queryParams
|
|
2484
2551
|
});
|
|
2485
2552
|
try {
|
|
2486
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2553
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2487
2554
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2488
2555
|
responseObject: {},
|
|
2489
2556
|
responseHeaders: [
|
|
@@ -2512,12 +2579,14 @@ class DbSystemClient {
|
|
|
2512
2579
|
* @param StartHeatWaveClusterRequest
|
|
2513
2580
|
* @return StartHeatWaveClusterResponse
|
|
2514
2581
|
* @throws OciError when an error occurs
|
|
2515
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2582
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/StartHeatWaveCluster.ts.html |here} to see how to use StartHeatWaveCluster API.
|
|
2516
2583
|
*/
|
|
2517
2584
|
startHeatWaveCluster(startHeatWaveClusterRequest) {
|
|
2518
2585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2519
2586
|
if (this.logger)
|
|
2520
2587
|
this.logger.debug("Calling operation DbSystemClient#startHeatWaveCluster.");
|
|
2588
|
+
const operationName = "startHeatWaveCluster";
|
|
2589
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/StartHeatWaveCluster";
|
|
2521
2590
|
const pathParams = {
|
|
2522
2591
|
"{dbSystemId}": startHeatWaveClusterRequest.dbSystemId
|
|
2523
2592
|
};
|
|
@@ -2542,7 +2611,7 @@ class DbSystemClient {
|
|
|
2542
2611
|
queryParams: queryParams
|
|
2543
2612
|
});
|
|
2544
2613
|
try {
|
|
2545
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2614
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2546
2615
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2547
2616
|
responseObject: {},
|
|
2548
2617
|
responseHeaders: [
|
|
@@ -2573,12 +2642,14 @@ class DbSystemClient {
|
|
|
2573
2642
|
* @param StopAnalyticsClusterRequest
|
|
2574
2643
|
* @return StopAnalyticsClusterResponse
|
|
2575
2644
|
* @throws OciError when an error occurs
|
|
2576
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2645
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/StopAnalyticsCluster.ts.html |here} to see how to use StopAnalyticsCluster API.
|
|
2577
2646
|
*/
|
|
2578
2647
|
stopAnalyticsCluster(stopAnalyticsClusterRequest) {
|
|
2579
2648
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2580
2649
|
if (this.logger)
|
|
2581
2650
|
this.logger.debug("Calling operation DbSystemClient#stopAnalyticsCluster.");
|
|
2651
|
+
const operationName = "stopAnalyticsCluster";
|
|
2652
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/StopAnalyticsCluster";
|
|
2582
2653
|
const pathParams = {
|
|
2583
2654
|
"{dbSystemId}": stopAnalyticsClusterRequest.dbSystemId
|
|
2584
2655
|
};
|
|
@@ -2603,7 +2674,7 @@ class DbSystemClient {
|
|
|
2603
2674
|
queryParams: queryParams
|
|
2604
2675
|
});
|
|
2605
2676
|
try {
|
|
2606
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2677
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2607
2678
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2608
2679
|
responseObject: {},
|
|
2609
2680
|
responseHeaders: [
|
|
@@ -2635,12 +2706,14 @@ class DbSystemClient {
|
|
|
2635
2706
|
* @param StopDbSystemRequest
|
|
2636
2707
|
* @return StopDbSystemResponse
|
|
2637
2708
|
* @throws OciError when an error occurs
|
|
2638
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2709
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/StopDbSystem.ts.html |here} to see how to use StopDbSystem API.
|
|
2639
2710
|
*/
|
|
2640
2711
|
stopDbSystem(stopDbSystemRequest) {
|
|
2641
2712
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2642
2713
|
if (this.logger)
|
|
2643
2714
|
this.logger.debug("Calling operation DbSystemClient#stopDbSystem.");
|
|
2715
|
+
const operationName = "stopDbSystem";
|
|
2716
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/StopDbSystem";
|
|
2644
2717
|
const pathParams = {
|
|
2645
2718
|
"{dbSystemId}": stopDbSystemRequest.dbSystemId
|
|
2646
2719
|
};
|
|
@@ -2666,7 +2739,7 @@ class DbSystemClient {
|
|
|
2666
2739
|
queryParams: queryParams
|
|
2667
2740
|
});
|
|
2668
2741
|
try {
|
|
2669
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2742
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2670
2743
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2671
2744
|
responseObject: {},
|
|
2672
2745
|
responseHeaders: [
|
|
@@ -2695,12 +2768,14 @@ class DbSystemClient {
|
|
|
2695
2768
|
* @param StopHeatWaveClusterRequest
|
|
2696
2769
|
* @return StopHeatWaveClusterResponse
|
|
2697
2770
|
* @throws OciError when an error occurs
|
|
2698
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2771
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/StopHeatWaveCluster.ts.html |here} to see how to use StopHeatWaveCluster API.
|
|
2699
2772
|
*/
|
|
2700
2773
|
stopHeatWaveCluster(stopHeatWaveClusterRequest) {
|
|
2701
2774
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2702
2775
|
if (this.logger)
|
|
2703
2776
|
this.logger.debug("Calling operation DbSystemClient#stopHeatWaveCluster.");
|
|
2777
|
+
const operationName = "stopHeatWaveCluster";
|
|
2778
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/StopHeatWaveCluster";
|
|
2704
2779
|
const pathParams = {
|
|
2705
2780
|
"{dbSystemId}": stopHeatWaveClusterRequest.dbSystemId
|
|
2706
2781
|
};
|
|
@@ -2725,7 +2800,7 @@ class DbSystemClient {
|
|
|
2725
2800
|
queryParams: queryParams
|
|
2726
2801
|
});
|
|
2727
2802
|
try {
|
|
2728
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2803
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2729
2804
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2730
2805
|
responseObject: {},
|
|
2731
2806
|
responseHeaders: [
|
|
@@ -2756,12 +2831,14 @@ class DbSystemClient {
|
|
|
2756
2831
|
* @param UpdateAnalyticsClusterRequest
|
|
2757
2832
|
* @return UpdateAnalyticsClusterResponse
|
|
2758
2833
|
* @throws OciError when an error occurs
|
|
2759
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2834
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/UpdateAnalyticsCluster.ts.html |here} to see how to use UpdateAnalyticsCluster API.
|
|
2760
2835
|
*/
|
|
2761
2836
|
updateAnalyticsCluster(updateAnalyticsClusterRequest) {
|
|
2762
2837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2763
2838
|
if (this.logger)
|
|
2764
2839
|
this.logger.debug("Calling operation DbSystemClient#updateAnalyticsCluster.");
|
|
2840
|
+
const operationName = "updateAnalyticsCluster";
|
|
2841
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/UpdateAnalyticsCluster";
|
|
2765
2842
|
const pathParams = {
|
|
2766
2843
|
"{dbSystemId}": updateAnalyticsClusterRequest.dbSystemId
|
|
2767
2844
|
};
|
|
@@ -2786,7 +2863,7 @@ class DbSystemClient {
|
|
|
2786
2863
|
queryParams: queryParams
|
|
2787
2864
|
});
|
|
2788
2865
|
try {
|
|
2789
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2866
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2790
2867
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2791
2868
|
responseObject: {},
|
|
2792
2869
|
responseHeaders: [
|
|
@@ -2823,12 +2900,14 @@ class DbSystemClient {
|
|
|
2823
2900
|
* @param UpdateDbSystemRequest
|
|
2824
2901
|
* @return UpdateDbSystemResponse
|
|
2825
2902
|
* @throws OciError when an error occurs
|
|
2826
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2903
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2827
2904
|
*/
|
|
2828
2905
|
updateDbSystem(updateDbSystemRequest) {
|
|
2829
2906
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2830
2907
|
if (this.logger)
|
|
2831
2908
|
this.logger.debug("Calling operation DbSystemClient#updateDbSystem.");
|
|
2909
|
+
const operationName = "updateDbSystem";
|
|
2910
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/UpdateDbSystem";
|
|
2832
2911
|
const pathParams = {
|
|
2833
2912
|
"{dbSystemId}": updateDbSystemRequest.dbSystemId
|
|
2834
2913
|
};
|
|
@@ -2853,7 +2932,7 @@ class DbSystemClient {
|
|
|
2853
2932
|
queryParams: queryParams
|
|
2854
2933
|
});
|
|
2855
2934
|
try {
|
|
2856
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2935
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2857
2936
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2858
2937
|
responseObject: {},
|
|
2859
2938
|
responseHeaders: [
|
|
@@ -2883,12 +2962,14 @@ class DbSystemClient {
|
|
|
2883
2962
|
* @param UpdateHeatWaveClusterRequest
|
|
2884
2963
|
* @return UpdateHeatWaveClusterResponse
|
|
2885
2964
|
* @throws OciError when an error occurs
|
|
2886
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2965
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/UpdateHeatWaveCluster.ts.html |here} to see how to use UpdateHeatWaveCluster API.
|
|
2887
2966
|
*/
|
|
2888
2967
|
updateHeatWaveCluster(updateHeatWaveClusterRequest) {
|
|
2889
2968
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2890
2969
|
if (this.logger)
|
|
2891
2970
|
this.logger.debug("Calling operation DbSystemClient#updateHeatWaveCluster.");
|
|
2971
|
+
const operationName = "updateHeatWaveCluster";
|
|
2972
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/UpdateHeatWaveCluster";
|
|
2892
2973
|
const pathParams = {
|
|
2893
2974
|
"{dbSystemId}": updateHeatWaveClusterRequest.dbSystemId
|
|
2894
2975
|
};
|
|
@@ -2913,7 +2994,7 @@ class DbSystemClient {
|
|
|
2913
2994
|
queryParams: queryParams
|
|
2914
2995
|
});
|
|
2915
2996
|
try {
|
|
2916
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2997
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2917
2998
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2918
2999
|
responseObject: {},
|
|
2919
3000
|
responseHeaders: [
|
|
@@ -2952,6 +3033,7 @@ class MysqlaasClient {
|
|
|
2952
3033
|
this["_defaultHeaders"] = {};
|
|
2953
3034
|
this._circuitBreaker = null;
|
|
2954
3035
|
this._httpOptions = undefined;
|
|
3036
|
+
this.targetService = "Mysqlaas";
|
|
2955
3037
|
const requestSigner = params.authenticationDetailsProvider
|
|
2956
3038
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
2957
3039
|
: null;
|
|
@@ -3047,12 +3129,14 @@ class MysqlaasClient {
|
|
|
3047
3129
|
* @param CreateConfigurationRequest
|
|
3048
3130
|
* @return CreateConfigurationResponse
|
|
3049
3131
|
* @throws OciError when an error occurs
|
|
3050
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3132
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
3051
3133
|
*/
|
|
3052
3134
|
createConfiguration(createConfigurationRequest) {
|
|
3053
3135
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3054
3136
|
if (this.logger)
|
|
3055
3137
|
this.logger.debug("Calling operation MysqlaasClient#createConfiguration.");
|
|
3138
|
+
const operationName = "createConfiguration";
|
|
3139
|
+
const apiReferenceLink = "";
|
|
3056
3140
|
const pathParams = {};
|
|
3057
3141
|
const queryParams = {};
|
|
3058
3142
|
let headerParams = {
|
|
@@ -3075,7 +3159,7 @@ class MysqlaasClient {
|
|
|
3075
3159
|
queryParams: queryParams
|
|
3076
3160
|
});
|
|
3077
3161
|
try {
|
|
3078
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3162
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3079
3163
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3080
3164
|
responseObject: {},
|
|
3081
3165
|
body: yield response.json(),
|
|
@@ -3120,12 +3204,14 @@ class MysqlaasClient {
|
|
|
3120
3204
|
* @param DeleteConfigurationRequest
|
|
3121
3205
|
* @return DeleteConfigurationResponse
|
|
3122
3206
|
* @throws OciError when an error occurs
|
|
3123
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3207
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
3124
3208
|
*/
|
|
3125
3209
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
3126
3210
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3127
3211
|
if (this.logger)
|
|
3128
3212
|
this.logger.debug("Calling operation MysqlaasClient#deleteConfiguration.");
|
|
3213
|
+
const operationName = "deleteConfiguration";
|
|
3214
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Configuration/DeleteConfiguration";
|
|
3129
3215
|
const pathParams = {
|
|
3130
3216
|
"{configurationId}": deleteConfigurationRequest.configurationId
|
|
3131
3217
|
};
|
|
@@ -3149,7 +3235,7 @@ class MysqlaasClient {
|
|
|
3149
3235
|
queryParams: queryParams
|
|
3150
3236
|
});
|
|
3151
3237
|
try {
|
|
3152
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3238
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3153
3239
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3154
3240
|
responseObject: {},
|
|
3155
3241
|
responseHeaders: [
|
|
@@ -3174,12 +3260,14 @@ class MysqlaasClient {
|
|
|
3174
3260
|
* @param GetConfigurationRequest
|
|
3175
3261
|
* @return GetConfigurationResponse
|
|
3176
3262
|
* @throws OciError when an error occurs
|
|
3177
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3263
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
3178
3264
|
*/
|
|
3179
3265
|
getConfiguration(getConfigurationRequest) {
|
|
3180
3266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3181
3267
|
if (this.logger)
|
|
3182
3268
|
this.logger.debug("Calling operation MysqlaasClient#getConfiguration.");
|
|
3269
|
+
const operationName = "getConfiguration";
|
|
3270
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Configuration/GetConfiguration";
|
|
3183
3271
|
const pathParams = {
|
|
3184
3272
|
"{configurationId}": getConfigurationRequest.configurationId
|
|
3185
3273
|
};
|
|
@@ -3203,7 +3291,7 @@ class MysqlaasClient {
|
|
|
3203
3291
|
queryParams: queryParams
|
|
3204
3292
|
});
|
|
3205
3293
|
try {
|
|
3206
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3294
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3207
3295
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3208
3296
|
responseObject: {},
|
|
3209
3297
|
body: yield response.json(),
|
|
@@ -3244,12 +3332,14 @@ class MysqlaasClient {
|
|
|
3244
3332
|
* @param ListConfigurationsRequest
|
|
3245
3333
|
* @return ListConfigurationsResponse
|
|
3246
3334
|
* @throws OciError when an error occurs
|
|
3247
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
3248
3336
|
*/
|
|
3249
3337
|
listConfigurations(listConfigurationsRequest) {
|
|
3250
3338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3251
3339
|
if (this.logger)
|
|
3252
3340
|
this.logger.debug("Calling operation MysqlaasClient#listConfigurations.");
|
|
3341
|
+
const operationName = "listConfigurations";
|
|
3342
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/ConfigurationSummary/ListConfigurations";
|
|
3253
3343
|
const pathParams = {};
|
|
3254
3344
|
const queryParams = {
|
|
3255
3345
|
"compartmentId": listConfigurationsRequest.compartmentId,
|
|
@@ -3281,7 +3371,7 @@ class MysqlaasClient {
|
|
|
3281
3371
|
queryParams: queryParams
|
|
3282
3372
|
});
|
|
3283
3373
|
try {
|
|
3284
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3374
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3285
3375
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3286
3376
|
responseObject: {},
|
|
3287
3377
|
body: yield response.json(),
|
|
@@ -3358,12 +3448,14 @@ class MysqlaasClient {
|
|
|
3358
3448
|
* @param ListShapesRequest
|
|
3359
3449
|
* @return ListShapesResponse
|
|
3360
3450
|
* @throws OciError when an error occurs
|
|
3361
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3451
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
3362
3452
|
*/
|
|
3363
3453
|
listShapes(listShapesRequest) {
|
|
3364
3454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3365
3455
|
if (this.logger)
|
|
3366
3456
|
this.logger.debug("Calling operation MysqlaasClient#listShapes.");
|
|
3457
|
+
const operationName = "listShapes";
|
|
3458
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes";
|
|
3367
3459
|
const pathParams = {};
|
|
3368
3460
|
const queryParams = {
|
|
3369
3461
|
"isSupportedFor": listShapesRequest.isSupportedFor,
|
|
@@ -3389,7 +3481,7 @@ class MysqlaasClient {
|
|
|
3389
3481
|
queryParams: queryParams
|
|
3390
3482
|
});
|
|
3391
3483
|
try {
|
|
3392
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3484
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3393
3485
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3394
3486
|
responseObject: {},
|
|
3395
3487
|
body: yield response.json(),
|
|
@@ -3420,12 +3512,14 @@ class MysqlaasClient {
|
|
|
3420
3512
|
* @param ListVersionsRequest
|
|
3421
3513
|
* @return ListVersionsResponse
|
|
3422
3514
|
* @throws OciError when an error occurs
|
|
3423
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3515
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/ListVersions.ts.html |here} to see how to use ListVersions API.
|
|
3424
3516
|
*/
|
|
3425
3517
|
listVersions(listVersionsRequest) {
|
|
3426
3518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3427
3519
|
if (this.logger)
|
|
3428
3520
|
this.logger.debug("Calling operation MysqlaasClient#listVersions.");
|
|
3521
|
+
const operationName = "listVersions";
|
|
3522
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/VersionSummary/ListVersions";
|
|
3429
3523
|
const pathParams = {};
|
|
3430
3524
|
const queryParams = {
|
|
3431
3525
|
"compartmentId": listVersionsRequest.compartmentId
|
|
@@ -3448,7 +3542,7 @@ class MysqlaasClient {
|
|
|
3448
3542
|
queryParams: queryParams
|
|
3449
3543
|
});
|
|
3450
3544
|
try {
|
|
3451
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3545
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3452
3546
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3453
3547
|
responseObject: {},
|
|
3454
3548
|
body: yield response.json(),
|
|
@@ -3476,12 +3570,14 @@ class MysqlaasClient {
|
|
|
3476
3570
|
* @param UpdateConfigurationRequest
|
|
3477
3571
|
* @return UpdateConfigurationResponse
|
|
3478
3572
|
* @throws OciError when an error occurs
|
|
3479
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3573
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
3480
3574
|
*/
|
|
3481
3575
|
updateConfiguration(updateConfigurationRequest) {
|
|
3482
3576
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3483
3577
|
if (this.logger)
|
|
3484
3578
|
this.logger.debug("Calling operation MysqlaasClient#updateConfiguration.");
|
|
3579
|
+
const operationName = "updateConfiguration";
|
|
3580
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/Configuration/UpdateConfiguration";
|
|
3485
3581
|
const pathParams = {
|
|
3486
3582
|
"{configurationId}": updateConfigurationRequest.configurationId
|
|
3487
3583
|
};
|
|
@@ -3506,7 +3602,7 @@ class MysqlaasClient {
|
|
|
3506
3602
|
queryParams: queryParams
|
|
3507
3603
|
});
|
|
3508
3604
|
try {
|
|
3509
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3605
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3510
3606
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3511
3607
|
responseObject: {},
|
|
3512
3608
|
body: yield response.json(),
|
|
@@ -3549,6 +3645,7 @@ class WorkRequestsClient {
|
|
|
3549
3645
|
this["_defaultHeaders"] = {};
|
|
3550
3646
|
this._circuitBreaker = null;
|
|
3551
3647
|
this._httpOptions = undefined;
|
|
3648
|
+
this.targetService = "WorkRequests";
|
|
3552
3649
|
const requestSigner = params.authenticationDetailsProvider
|
|
3553
3650
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
3554
3651
|
: null;
|
|
@@ -3644,12 +3741,14 @@ class WorkRequestsClient {
|
|
|
3644
3741
|
* @param GetWorkRequestRequest
|
|
3645
3742
|
* @return GetWorkRequestResponse
|
|
3646
3743
|
* @throws OciError when an error occurs
|
|
3647
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3744
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
3648
3745
|
*/
|
|
3649
3746
|
getWorkRequest(getWorkRequestRequest) {
|
|
3650
3747
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3651
3748
|
if (this.logger)
|
|
3652
3749
|
this.logger.debug("Calling operation WorkRequestsClient#getWorkRequest.");
|
|
3750
|
+
const operationName = "getWorkRequest";
|
|
3751
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/WorkRequest/GetWorkRequest";
|
|
3653
3752
|
const pathParams = {
|
|
3654
3753
|
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
3655
3754
|
};
|
|
@@ -3673,7 +3772,7 @@ class WorkRequestsClient {
|
|
|
3673
3772
|
queryParams: queryParams
|
|
3674
3773
|
});
|
|
3675
3774
|
try {
|
|
3676
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3775
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3677
3776
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3678
3777
|
responseObject: {},
|
|
3679
3778
|
body: yield response.json(),
|
|
@@ -3712,12 +3811,14 @@ class WorkRequestsClient {
|
|
|
3712
3811
|
* @param ListWorkRequestErrorsRequest
|
|
3713
3812
|
* @return ListWorkRequestErrorsResponse
|
|
3714
3813
|
* @throws OciError when an error occurs
|
|
3715
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3814
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3716
3815
|
*/
|
|
3717
3816
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3718
3817
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3719
3818
|
if (this.logger)
|
|
3720
3819
|
this.logger.debug("Calling operation WorkRequestsClient#listWorkRequestErrors.");
|
|
3820
|
+
const operationName = "listWorkRequestErrors";
|
|
3821
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/WorkRequestError/ListWorkRequestErrors";
|
|
3721
3822
|
const pathParams = {
|
|
3722
3823
|
"{workRequestId}": listWorkRequestErrorsRequest.workRequestId
|
|
3723
3824
|
};
|
|
@@ -3743,7 +3844,7 @@ class WorkRequestsClient {
|
|
|
3743
3844
|
queryParams: queryParams
|
|
3744
3845
|
});
|
|
3745
3846
|
try {
|
|
3746
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3847
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3747
3848
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3748
3849
|
responseObject: {},
|
|
3749
3850
|
body: yield response.json(),
|
|
@@ -3817,12 +3918,14 @@ class WorkRequestsClient {
|
|
|
3817
3918
|
* @param ListWorkRequestLogsRequest
|
|
3818
3919
|
* @return ListWorkRequestLogsResponse
|
|
3819
3920
|
* @throws OciError when an error occurs
|
|
3820
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3921
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3821
3922
|
*/
|
|
3822
3923
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3823
3924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3824
3925
|
if (this.logger)
|
|
3825
3926
|
this.logger.debug("Calling operation WorkRequestsClient#listWorkRequestLogs.");
|
|
3927
|
+
const operationName = "listWorkRequestLogs";
|
|
3928
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
3826
3929
|
const pathParams = {
|
|
3827
3930
|
"{workRequestId}": listWorkRequestLogsRequest.workRequestId
|
|
3828
3931
|
};
|
|
@@ -3848,7 +3951,7 @@ class WorkRequestsClient {
|
|
|
3848
3951
|
queryParams: queryParams
|
|
3849
3952
|
});
|
|
3850
3953
|
try {
|
|
3851
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3954
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3852
3955
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3853
3956
|
responseObject: {},
|
|
3854
3957
|
body: yield response.json(),
|
|
@@ -3922,12 +4025,14 @@ class WorkRequestsClient {
|
|
|
3922
4025
|
* @param ListWorkRequestsRequest
|
|
3923
4026
|
* @return ListWorkRequestsResponse
|
|
3924
4027
|
* @throws OciError when an error occurs
|
|
3925
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4028
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/mysql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3926
4029
|
*/
|
|
3927
4030
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3928
4031
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3929
4032
|
if (this.logger)
|
|
3930
4033
|
this.logger.debug("Calling operation WorkRequestsClient#listWorkRequests.");
|
|
4034
|
+
const operationName = "listWorkRequests";
|
|
4035
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/WorkRequestSummary/ListWorkRequests";
|
|
3931
4036
|
const pathParams = {};
|
|
3932
4037
|
const queryParams = {
|
|
3933
4038
|
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
@@ -3954,7 +4059,7 @@ class WorkRequestsClient {
|
|
|
3954
4059
|
queryParams: queryParams
|
|
3955
4060
|
});
|
|
3956
4061
|
try {
|
|
3957
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4062
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3958
4063
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3959
4064
|
responseObject: {},
|
|
3960
4065
|
body: yield response.json(),
|