oci-mysql 2.4.0 → 2.6.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/LICENSE.txt +6 -0
- package/lib/client.d.ts +234 -50
- package/lib/client.js +397 -100
- package/lib/client.js.map +1 -1
- package/lib/model/backup.d.ts +3 -1
- package/lib/model/backup.js +1 -0
- package/lib/model/backup.js.map +1 -1
- package/lib/model/configuration-variables.d.ts +30 -1
- package/lib/model/configuration-variables.js +10 -0
- package/lib/model/configuration-variables.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
|
@@ -56,6 +56,9 @@ const oci_common_2 = require("oci-common");
|
|
|
56
56
|
var ChannelsApiKeys;
|
|
57
57
|
(function (ChannelsApiKeys) {
|
|
58
58
|
})(ChannelsApiKeys = exports.ChannelsApiKeys || (exports.ChannelsApiKeys = {}));
|
|
59
|
+
/**
|
|
60
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
61
|
+
*/
|
|
59
62
|
class ChannelsClient {
|
|
60
63
|
constructor(params, clientConfiguration) {
|
|
61
64
|
this["_endpoint"] = "";
|
|
@@ -70,6 +73,13 @@ class ChannelsClient {
|
|
|
70
73
|
? clientConfiguration.circuitBreaker.circuit
|
|
71
74
|
: null;
|
|
72
75
|
}
|
|
76
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
77
|
+
const specCircuitBreakerEnabled = false;
|
|
78
|
+
if (!this._circuitBreaker &&
|
|
79
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
80
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
81
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
82
|
+
}
|
|
73
83
|
this._httpClient =
|
|
74
84
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
75
85
|
if (params.authenticationDetailsProvider &&
|
|
@@ -142,10 +152,11 @@ class ChannelsClient {
|
|
|
142
152
|
/**
|
|
143
153
|
* Creates a Channel to establish replication from a source to a target.
|
|
144
154
|
*
|
|
155
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
145
156
|
* @param CreateChannelRequest
|
|
146
157
|
* @return CreateChannelResponse
|
|
147
158
|
* @throws OciError when an error occurs
|
|
148
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/CreateChannel.ts.html |here} to see how to use CreateChannel API.
|
|
149
160
|
*/
|
|
150
161
|
createChannel(createChannelRequest) {
|
|
151
162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -158,7 +169,8 @@ class ChannelsClient {
|
|
|
158
169
|
"opc-request-id": createChannelRequest.opcRequestId,
|
|
159
170
|
"opc-retry-token": createChannelRequest.opcRetryToken
|
|
160
171
|
};
|
|
161
|
-
const
|
|
172
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
173
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
162
174
|
if (this.logger)
|
|
163
175
|
retrier.logger = this.logger;
|
|
164
176
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -206,10 +218,11 @@ class ChannelsClient {
|
|
|
206
218
|
}
|
|
207
219
|
/**
|
|
208
220
|
* Deletes the specified Channel.
|
|
221
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
209
222
|
* @param DeleteChannelRequest
|
|
210
223
|
* @return DeleteChannelResponse
|
|
211
224
|
* @throws OciError when an error occurs
|
|
212
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
225
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
|
|
213
226
|
*/
|
|
214
227
|
deleteChannel(deleteChannelRequest) {
|
|
215
228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -224,7 +237,8 @@ class ChannelsClient {
|
|
|
224
237
|
"if-match": deleteChannelRequest.ifMatch,
|
|
225
238
|
"opc-request-id": deleteChannelRequest.opcRequestId
|
|
226
239
|
};
|
|
227
|
-
const
|
|
240
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
241
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
228
242
|
if (this.logger)
|
|
229
243
|
retrier.logger = this.logger;
|
|
230
244
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -265,10 +279,11 @@ class ChannelsClient {
|
|
|
265
279
|
* configuration parameters (passwords are omitted), as well as information about
|
|
266
280
|
* the state of the Channel, its sources and targets.
|
|
267
281
|
*
|
|
282
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
268
283
|
* @param GetChannelRequest
|
|
269
284
|
* @return GetChannelResponse
|
|
270
285
|
* @throws OciError when an error occurs
|
|
271
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
286
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/GetChannel.ts.html |here} to see how to use GetChannel API.
|
|
272
287
|
*/
|
|
273
288
|
getChannel(getChannelRequest) {
|
|
274
289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -283,7 +298,8 @@ class ChannelsClient {
|
|
|
283
298
|
"opc-request-id": getChannelRequest.opcRequestId,
|
|
284
299
|
"if-none-match": getChannelRequest.ifNoneMatch
|
|
285
300
|
};
|
|
286
|
-
const
|
|
301
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
302
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
287
303
|
if (this.logger)
|
|
288
304
|
retrier.logger = this.logger;
|
|
289
305
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -325,10 +341,11 @@ class ChannelsClient {
|
|
|
325
341
|
}
|
|
326
342
|
/**
|
|
327
343
|
* Lists all the Channels that match the specified filters.
|
|
344
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
328
345
|
* @param ListChannelsRequest
|
|
329
346
|
* @return ListChannelsResponse
|
|
330
347
|
* @throws OciError when an error occurs
|
|
331
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
348
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/ListChannels.ts.html |here} to see how to use ListChannels API.
|
|
332
349
|
*/
|
|
333
350
|
listChannels(listChannelsRequest) {
|
|
334
351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -351,7 +368,8 @@ class ChannelsClient {
|
|
|
351
368
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
352
369
|
"opc-request-id": listChannelsRequest.opcRequestId
|
|
353
370
|
};
|
|
354
|
-
const
|
|
371
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
372
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listChannelsRequest.retryConfiguration, specRetryConfiguration);
|
|
355
373
|
if (this.logger)
|
|
356
374
|
retrier.logger = this.logger;
|
|
357
375
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -392,6 +410,7 @@ class ChannelsClient {
|
|
|
392
410
|
});
|
|
393
411
|
}
|
|
394
412
|
/**
|
|
413
|
+
* NOTE: This function is deprecated in favor of listChannelsRecordIterator function.
|
|
395
414
|
* Creates a new async iterator which will iterate over the models.ChannelSummary objects
|
|
396
415
|
* contained in responses from the listChannels operation. This iterator will fetch more data from the
|
|
397
416
|
* server as needed.
|
|
@@ -402,6 +421,7 @@ class ChannelsClient {
|
|
|
402
421
|
return oci_common_1.paginateRecords(request, req => this.listChannels(req));
|
|
403
422
|
}
|
|
404
423
|
/**
|
|
424
|
+
* NOTE: This function is deprecated in favor of listChannelsResponseIterator function.
|
|
405
425
|
* Creates a new async iterator which will iterate over the responses received from the listChannels operation. This iterator
|
|
406
426
|
* will fetch more data from the server as needed.
|
|
407
427
|
*
|
|
@@ -410,14 +430,34 @@ class ChannelsClient {
|
|
|
410
430
|
listAllChannelsResponses(request) {
|
|
411
431
|
return oci_common_1.paginateResponses(request, req => this.listChannels(req));
|
|
412
432
|
}
|
|
433
|
+
/**
|
|
434
|
+
* Creates a new async iterator which will iterate over the models.ChannelSummary objects
|
|
435
|
+
* contained in responses from the listChannels operation. This iterator will fetch more data from the
|
|
436
|
+
* server as needed.
|
|
437
|
+
*
|
|
438
|
+
* @param request a request which can be sent to the service operation
|
|
439
|
+
*/
|
|
440
|
+
listChannelsRecordIterator(request) {
|
|
441
|
+
return oci_common_1.paginateRecords(request, req => this.listChannels(req));
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* Creates a new async iterator which will iterate over the responses received from the listChannels operation. This iterator
|
|
445
|
+
* will fetch more data from the server as needed.
|
|
446
|
+
*
|
|
447
|
+
* @param request a request which can be sent to the service operation
|
|
448
|
+
*/
|
|
449
|
+
listChannelsResponseIterator(request) {
|
|
450
|
+
return oci_common_1.paginateResponses(request, req => this.listChannels(req));
|
|
451
|
+
}
|
|
413
452
|
/**
|
|
414
453
|
* Resets the specified Channel by purging its cached information, leaving the Channel
|
|
415
454
|
* as if it had just been created. This operation is only accepted in Inactive Channels.
|
|
416
455
|
*
|
|
456
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
417
457
|
* @param ResetChannelRequest
|
|
418
458
|
* @return ResetChannelResponse
|
|
419
459
|
* @throws OciError when an error occurs
|
|
420
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
460
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/ResetChannel.ts.html |here} to see how to use ResetChannel API.
|
|
421
461
|
*/
|
|
422
462
|
resetChannel(resetChannelRequest) {
|
|
423
463
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -433,7 +473,8 @@ class ChannelsClient {
|
|
|
433
473
|
"opc-request-id": resetChannelRequest.opcRequestId,
|
|
434
474
|
"opc-retry-token": resetChannelRequest.opcRetryToken
|
|
435
475
|
};
|
|
436
|
-
const
|
|
476
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
477
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resetChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
437
478
|
if (this.logger)
|
|
438
479
|
retrier.logger = this.logger;
|
|
439
480
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -474,10 +515,11 @@ class ChannelsClient {
|
|
|
474
515
|
* requires that the error that cause the Channel to become Inactive has already been fixed,
|
|
475
516
|
* otherwise the operation may fail.
|
|
476
517
|
*
|
|
518
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
477
519
|
* @param ResumeChannelRequest
|
|
478
520
|
* @return ResumeChannelResponse
|
|
479
521
|
* @throws OciError when an error occurs
|
|
480
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
522
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/ResumeChannel.ts.html |here} to see how to use ResumeChannel API.
|
|
481
523
|
*/
|
|
482
524
|
resumeChannel(resumeChannelRequest) {
|
|
483
525
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -493,7 +535,8 @@ class ChannelsClient {
|
|
|
493
535
|
"opc-request-id": resumeChannelRequest.opcRequestId,
|
|
494
536
|
"opc-retry-token": resumeChannelRequest.opcRetryToken
|
|
495
537
|
};
|
|
496
|
-
const
|
|
538
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
539
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resumeChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
497
540
|
if (this.logger)
|
|
498
541
|
retrier.logger = this.logger;
|
|
499
542
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -535,10 +578,11 @@ class ChannelsClient {
|
|
|
535
578
|
* parameters to the Channel and the Channel may become temporarily unavailable. Otherwise, the
|
|
536
579
|
* new configuration will be applied the next time the Channel becomes Active.
|
|
537
580
|
*
|
|
581
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
538
582
|
* @param UpdateChannelRequest
|
|
539
583
|
* @return UpdateChannelResponse
|
|
540
584
|
* @throws OciError when an error occurs
|
|
541
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
585
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
|
|
542
586
|
*/
|
|
543
587
|
updateChannel(updateChannelRequest) {
|
|
544
588
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -554,7 +598,8 @@ class ChannelsClient {
|
|
|
554
598
|
"opc-request-id": updateChannelRequest.opcRequestId,
|
|
555
599
|
"opc-retry-token": updateChannelRequest.opcRetryToken
|
|
556
600
|
};
|
|
557
|
-
const
|
|
601
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
602
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
558
603
|
if (this.logger)
|
|
559
604
|
retrier.logger = this.logger;
|
|
560
605
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -597,6 +642,9 @@ ChannelsClient.serviceEndpointTemplate = "https://mysql.{region}.ocp.{secondLeve
|
|
|
597
642
|
var DbBackupsApiKeys;
|
|
598
643
|
(function (DbBackupsApiKeys) {
|
|
599
644
|
})(DbBackupsApiKeys = exports.DbBackupsApiKeys || (exports.DbBackupsApiKeys = {}));
|
|
645
|
+
/**
|
|
646
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
647
|
+
*/
|
|
600
648
|
class DbBackupsClient {
|
|
601
649
|
constructor(params, clientConfiguration) {
|
|
602
650
|
this["_endpoint"] = "";
|
|
@@ -611,6 +659,13 @@ class DbBackupsClient {
|
|
|
611
659
|
? clientConfiguration.circuitBreaker.circuit
|
|
612
660
|
: null;
|
|
613
661
|
}
|
|
662
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
663
|
+
const specCircuitBreakerEnabled = false;
|
|
664
|
+
if (!this._circuitBreaker &&
|
|
665
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
666
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
667
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
668
|
+
}
|
|
614
669
|
this._httpClient =
|
|
615
670
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
616
671
|
if (params.authenticationDetailsProvider &&
|
|
@@ -684,10 +739,11 @@ class DbBackupsClient {
|
|
|
684
739
|
* Moves a DB System Backup into a different compartment.
|
|
685
740
|
* When provided, If-Match is checked against ETag values of the Backup.
|
|
686
741
|
*
|
|
742
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
687
743
|
* @param ChangeBackupCompartmentRequest
|
|
688
744
|
* @return ChangeBackupCompartmentResponse
|
|
689
745
|
* @throws OciError when an error occurs
|
|
690
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
746
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
691
747
|
*/
|
|
692
748
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
693
749
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -703,7 +759,8 @@ class DbBackupsClient {
|
|
|
703
759
|
"opc-request-id": changeBackupCompartmentRequest.opcRequestId,
|
|
704
760
|
"opc-retry-token": changeBackupCompartmentRequest.opcRetryToken
|
|
705
761
|
};
|
|
706
|
-
const
|
|
762
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
763
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeBackupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
707
764
|
if (this.logger)
|
|
708
765
|
retrier.logger = this.logger;
|
|
709
766
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -743,10 +800,11 @@ class DbBackupsClient {
|
|
|
743
800
|
/**
|
|
744
801
|
* Create a backup of a DB System.
|
|
745
802
|
*
|
|
803
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
746
804
|
* @param CreateBackupRequest
|
|
747
805
|
* @return CreateBackupResponse
|
|
748
806
|
* @throws OciError when an error occurs
|
|
749
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
807
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
750
808
|
*/
|
|
751
809
|
createBackup(createBackupRequest) {
|
|
752
810
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -759,7 +817,8 @@ class DbBackupsClient {
|
|
|
759
817
|
"opc-request-id": createBackupRequest.opcRequestId,
|
|
760
818
|
"opc-retry-token": createBackupRequest.opcRetryToken
|
|
761
819
|
};
|
|
762
|
-
const
|
|
820
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
821
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
763
822
|
if (this.logger)
|
|
764
823
|
retrier.logger = this.logger;
|
|
765
824
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -808,10 +867,11 @@ class DbBackupsClient {
|
|
|
808
867
|
/**
|
|
809
868
|
* Delete a Backup.
|
|
810
869
|
*
|
|
870
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
811
871
|
* @param DeleteBackupRequest
|
|
812
872
|
* @return DeleteBackupResponse
|
|
813
873
|
* @throws OciError when an error occurs
|
|
814
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
874
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
815
875
|
*/
|
|
816
876
|
deleteBackup(deleteBackupRequest) {
|
|
817
877
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -826,7 +886,8 @@ class DbBackupsClient {
|
|
|
826
886
|
"if-match": deleteBackupRequest.ifMatch,
|
|
827
887
|
"opc-request-id": deleteBackupRequest.opcRequestId
|
|
828
888
|
};
|
|
829
|
-
const
|
|
889
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
890
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
830
891
|
if (this.logger)
|
|
831
892
|
retrier.logger = this.logger;
|
|
832
893
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -864,10 +925,11 @@ class DbBackupsClient {
|
|
|
864
925
|
}
|
|
865
926
|
/**
|
|
866
927
|
* Get information about the specified Backup
|
|
928
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
867
929
|
* @param GetBackupRequest
|
|
868
930
|
* @return GetBackupResponse
|
|
869
931
|
* @throws OciError when an error occurs
|
|
870
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
932
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
871
933
|
*/
|
|
872
934
|
getBackup(getBackupRequest) {
|
|
873
935
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -882,7 +944,8 @@ class DbBackupsClient {
|
|
|
882
944
|
"opc-request-id": getBackupRequest.opcRequestId,
|
|
883
945
|
"if-none-match": getBackupRequest.ifNoneMatch
|
|
884
946
|
};
|
|
885
|
-
const
|
|
947
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
948
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
886
949
|
if (this.logger)
|
|
887
950
|
retrier.logger = this.logger;
|
|
888
951
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -925,10 +988,11 @@ class DbBackupsClient {
|
|
|
925
988
|
/**
|
|
926
989
|
* Get a list of DB System backups.
|
|
927
990
|
*
|
|
991
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
928
992
|
* @param ListBackupsRequest
|
|
929
993
|
* @return ListBackupsResponse
|
|
930
994
|
* @throws OciError when an error occurs
|
|
931
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
995
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
932
996
|
*/
|
|
933
997
|
listBackups(listBackupsRequest) {
|
|
934
998
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -951,7 +1015,8 @@ class DbBackupsClient {
|
|
|
951
1015
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
952
1016
|
"opc-request-id": listBackupsRequest.opcRequestId
|
|
953
1017
|
};
|
|
954
|
-
const
|
|
1018
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1019
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackupsRequest.retryConfiguration, specRetryConfiguration);
|
|
955
1020
|
if (this.logger)
|
|
956
1021
|
retrier.logger = this.logger;
|
|
957
1022
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -992,6 +1057,7 @@ class DbBackupsClient {
|
|
|
992
1057
|
});
|
|
993
1058
|
}
|
|
994
1059
|
/**
|
|
1060
|
+
* NOTE: This function is deprecated in favor of listBackupsRecordIterator function.
|
|
995
1061
|
* Creates a new async iterator which will iterate over the models.BackupSummary objects
|
|
996
1062
|
* contained in responses from the listBackups operation. This iterator will fetch more data from the
|
|
997
1063
|
* server as needed.
|
|
@@ -1002,6 +1068,7 @@ class DbBackupsClient {
|
|
|
1002
1068
|
return oci_common_1.paginateRecords(request, req => this.listBackups(req));
|
|
1003
1069
|
}
|
|
1004
1070
|
/**
|
|
1071
|
+
* NOTE: This function is deprecated in favor of listBackupsResponseIterator function.
|
|
1005
1072
|
* Creates a new async iterator which will iterate over the responses received from the listBackups operation. This iterator
|
|
1006
1073
|
* will fetch more data from the server as needed.
|
|
1007
1074
|
*
|
|
@@ -1010,12 +1077,32 @@ class DbBackupsClient {
|
|
|
1010
1077
|
listAllBackupsResponses(request) {
|
|
1011
1078
|
return oci_common_1.paginateResponses(request, req => this.listBackups(req));
|
|
1012
1079
|
}
|
|
1080
|
+
/**
|
|
1081
|
+
* Creates a new async iterator which will iterate over the models.BackupSummary objects
|
|
1082
|
+
* contained in responses from the listBackups operation. This iterator will fetch more data from the
|
|
1083
|
+
* server as needed.
|
|
1084
|
+
*
|
|
1085
|
+
* @param request a request which can be sent to the service operation
|
|
1086
|
+
*/
|
|
1087
|
+
listBackupsRecordIterator(request) {
|
|
1088
|
+
return oci_common_1.paginateRecords(request, req => this.listBackups(req));
|
|
1089
|
+
}
|
|
1090
|
+
/**
|
|
1091
|
+
* Creates a new async iterator which will iterate over the responses received from the listBackups operation. This iterator
|
|
1092
|
+
* will fetch more data from the server as needed.
|
|
1093
|
+
*
|
|
1094
|
+
* @param request a request which can be sent to the service operation
|
|
1095
|
+
*/
|
|
1096
|
+
listBackupsResponseIterator(request) {
|
|
1097
|
+
return oci_common_1.paginateResponses(request, req => this.listBackups(req));
|
|
1098
|
+
}
|
|
1013
1099
|
/**
|
|
1014
1100
|
* Update the metadata of a Backup. Metadata such as the displayName or description
|
|
1101
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1015
1102
|
* @param UpdateBackupRequest
|
|
1016
1103
|
* @return UpdateBackupResponse
|
|
1017
1104
|
* @throws OciError when an error occurs
|
|
1018
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1105
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
1019
1106
|
*/
|
|
1020
1107
|
updateBackup(updateBackupRequest) {
|
|
1021
1108
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1030,7 +1117,8 @@ class DbBackupsClient {
|
|
|
1030
1117
|
"if-match": updateBackupRequest.ifMatch,
|
|
1031
1118
|
"opc-request-id": updateBackupRequest.opcRequestId
|
|
1032
1119
|
};
|
|
1033
|
-
const
|
|
1120
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1121
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
1034
1122
|
if (this.logger)
|
|
1035
1123
|
retrier.logger = this.logger;
|
|
1036
1124
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1068,6 +1156,9 @@ DbBackupsClient.serviceEndpointTemplate = "https://mysql.{region}.ocp.{secondLev
|
|
|
1068
1156
|
var DbSystemApiKeys;
|
|
1069
1157
|
(function (DbSystemApiKeys) {
|
|
1070
1158
|
})(DbSystemApiKeys = exports.DbSystemApiKeys || (exports.DbSystemApiKeys = {}));
|
|
1159
|
+
/**
|
|
1160
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
1161
|
+
*/
|
|
1071
1162
|
class DbSystemClient {
|
|
1072
1163
|
constructor(params, clientConfiguration) {
|
|
1073
1164
|
this["_endpoint"] = "";
|
|
@@ -1082,6 +1173,13 @@ class DbSystemClient {
|
|
|
1082
1173
|
? clientConfiguration.circuitBreaker.circuit
|
|
1083
1174
|
: null;
|
|
1084
1175
|
}
|
|
1176
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1177
|
+
const specCircuitBreakerEnabled = false;
|
|
1178
|
+
if (!this._circuitBreaker &&
|
|
1179
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
1180
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
1181
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
1182
|
+
}
|
|
1085
1183
|
this._httpClient =
|
|
1086
1184
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
1087
1185
|
if (params.authenticationDetailsProvider &&
|
|
@@ -1155,10 +1253,11 @@ class DbSystemClient {
|
|
|
1155
1253
|
* DEPRECATED -- please use HeatWave API instead.
|
|
1156
1254
|
* Adds an Analytics Cluster to the DB System.
|
|
1157
1255
|
*
|
|
1256
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1158
1257
|
* @param AddAnalyticsClusterRequest
|
|
1159
1258
|
* @return AddAnalyticsClusterResponse
|
|
1160
1259
|
* @throws OciError when an error occurs
|
|
1161
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1260
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/AddAnalyticsCluster.ts.html |here} to see how to use AddAnalyticsCluster API.
|
|
1162
1261
|
*/
|
|
1163
1262
|
addAnalyticsCluster(addAnalyticsClusterRequest) {
|
|
1164
1263
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1174,7 +1273,8 @@ class DbSystemClient {
|
|
|
1174
1273
|
"opc-request-id": addAnalyticsClusterRequest.opcRequestId,
|
|
1175
1274
|
"opc-retry-token": addAnalyticsClusterRequest.opcRetryToken
|
|
1176
1275
|
};
|
|
1177
|
-
const
|
|
1276
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1277
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1178
1278
|
if (this.logger)
|
|
1179
1279
|
retrier.logger = this.logger;
|
|
1180
1280
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1223,10 +1323,11 @@ class DbSystemClient {
|
|
|
1223
1323
|
/**
|
|
1224
1324
|
* Adds a HeatWave cluster to the DB System.
|
|
1225
1325
|
*
|
|
1326
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1226
1327
|
* @param AddHeatWaveClusterRequest
|
|
1227
1328
|
* @return AddHeatWaveClusterResponse
|
|
1228
1329
|
* @throws OciError when an error occurs
|
|
1229
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1330
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/AddHeatWaveCluster.ts.html |here} to see how to use AddHeatWaveCluster API.
|
|
1230
1331
|
*/
|
|
1231
1332
|
addHeatWaveCluster(addHeatWaveClusterRequest) {
|
|
1232
1333
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1242,7 +1343,8 @@ class DbSystemClient {
|
|
|
1242
1343
|
"opc-request-id": addHeatWaveClusterRequest.opcRequestId,
|
|
1243
1344
|
"opc-retry-token": addHeatWaveClusterRequest.opcRetryToken
|
|
1244
1345
|
};
|
|
1245
|
-
const
|
|
1346
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1347
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1246
1348
|
if (this.logger)
|
|
1247
1349
|
retrier.logger = this.logger;
|
|
1248
1350
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1291,10 +1393,11 @@ class DbSystemClient {
|
|
|
1291
1393
|
/**
|
|
1292
1394
|
* Creates and launches a DB System.
|
|
1293
1395
|
*
|
|
1396
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1294
1397
|
* @param CreateDbSystemRequest
|
|
1295
1398
|
* @return CreateDbSystemResponse
|
|
1296
1399
|
* @throws OciError when an error occurs
|
|
1297
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
1298
1401
|
*/
|
|
1299
1402
|
createDbSystem(createDbSystemRequest) {
|
|
1300
1403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1307,7 +1410,8 @@ class DbSystemClient {
|
|
|
1307
1410
|
"opc-request-id": createDbSystemRequest.opcRequestId,
|
|
1308
1411
|
"opc-retry-token": createDbSystemRequest.opcRetryToken
|
|
1309
1412
|
};
|
|
1310
|
-
const
|
|
1413
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1414
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1311
1415
|
if (this.logger)
|
|
1312
1416
|
retrier.logger = this.logger;
|
|
1313
1417
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1363,10 +1467,11 @@ class DbSystemClient {
|
|
|
1363
1467
|
* Deletes the Analytics Cluster including terminating, detaching, removing, finalizing and
|
|
1364
1468
|
* otherwise deleting all related resources.
|
|
1365
1469
|
*
|
|
1470
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1366
1471
|
* @param DeleteAnalyticsClusterRequest
|
|
1367
1472
|
* @return DeleteAnalyticsClusterResponse
|
|
1368
1473
|
* @throws OciError when an error occurs
|
|
1369
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1474
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/DeleteAnalyticsCluster.ts.html |here} to see how to use DeleteAnalyticsCluster API.
|
|
1370
1475
|
*/
|
|
1371
1476
|
deleteAnalyticsCluster(deleteAnalyticsClusterRequest) {
|
|
1372
1477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1381,7 +1486,8 @@ class DbSystemClient {
|
|
|
1381
1486
|
"if-match": deleteAnalyticsClusterRequest.ifMatch,
|
|
1382
1487
|
"opc-request-id": deleteAnalyticsClusterRequest.opcRequestId
|
|
1383
1488
|
};
|
|
1384
|
-
const
|
|
1489
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1490
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1385
1491
|
if (this.logger)
|
|
1386
1492
|
retrier.logger = this.logger;
|
|
1387
1493
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1421,10 +1527,11 @@ class DbSystemClient {
|
|
|
1421
1527
|
* Delete a DB System, including terminating, detaching,
|
|
1422
1528
|
* removing, finalizing and otherwise deleting all related resources.
|
|
1423
1529
|
*
|
|
1530
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1424
1531
|
* @param DeleteDbSystemRequest
|
|
1425
1532
|
* @return DeleteDbSystemResponse
|
|
1426
1533
|
* @throws OciError when an error occurs
|
|
1427
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1534
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
1428
1535
|
*/
|
|
1429
1536
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
1430
1537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1439,7 +1546,8 @@ class DbSystemClient {
|
|
|
1439
1546
|
"if-match": deleteDbSystemRequest.ifMatch,
|
|
1440
1547
|
"opc-request-id": deleteDbSystemRequest.opcRequestId
|
|
1441
1548
|
};
|
|
1442
|
-
const
|
|
1549
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1550
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1443
1551
|
if (this.logger)
|
|
1444
1552
|
retrier.logger = this.logger;
|
|
1445
1553
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1479,10 +1587,11 @@ class DbSystemClient {
|
|
|
1479
1587
|
* Deletes the HeatWave cluster including terminating, detaching, removing, finalizing and
|
|
1480
1588
|
* otherwise deleting all related resources.
|
|
1481
1589
|
*
|
|
1590
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1482
1591
|
* @param DeleteHeatWaveClusterRequest
|
|
1483
1592
|
* @return DeleteHeatWaveClusterResponse
|
|
1484
1593
|
* @throws OciError when an error occurs
|
|
1485
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1594
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/DeleteHeatWaveCluster.ts.html |here} to see how to use DeleteHeatWaveCluster API.
|
|
1486
1595
|
*/
|
|
1487
1596
|
deleteHeatWaveCluster(deleteHeatWaveClusterRequest) {
|
|
1488
1597
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1497,7 +1606,8 @@ class DbSystemClient {
|
|
|
1497
1606
|
"if-match": deleteHeatWaveClusterRequest.ifMatch,
|
|
1498
1607
|
"opc-request-id": deleteHeatWaveClusterRequest.opcRequestId
|
|
1499
1608
|
};
|
|
1500
|
-
const
|
|
1609
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1610
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1501
1611
|
if (this.logger)
|
|
1502
1612
|
retrier.logger = this.logger;
|
|
1503
1613
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1537,10 +1647,11 @@ class DbSystemClient {
|
|
|
1537
1647
|
* DEPRECATED -- please use HeatWave API instead.
|
|
1538
1648
|
* Sends a request to estimate the memory footprints of user tables when loaded to Analytics Cluster memory.
|
|
1539
1649
|
*
|
|
1650
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1540
1651
|
* @param GenerateAnalyticsClusterMemoryEstimateRequest
|
|
1541
1652
|
* @return GenerateAnalyticsClusterMemoryEstimateResponse
|
|
1542
1653
|
* @throws OciError when an error occurs
|
|
1543
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1654
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/GenerateAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GenerateAnalyticsClusterMemoryEstimate API.
|
|
1544
1655
|
*/
|
|
1545
1656
|
generateAnalyticsClusterMemoryEstimate(generateAnalyticsClusterMemoryEstimateRequest) {
|
|
1546
1657
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1555,7 +1666,8 @@ class DbSystemClient {
|
|
|
1555
1666
|
"opc-request-id": generateAnalyticsClusterMemoryEstimateRequest.opcRequestId,
|
|
1556
1667
|
"opc-retry-token": generateAnalyticsClusterMemoryEstimateRequest.opcRetryToken
|
|
1557
1668
|
};
|
|
1558
|
-
const
|
|
1669
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1670
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateAnalyticsClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1559
1671
|
if (this.logger)
|
|
1560
1672
|
retrier.logger = this.logger;
|
|
1561
1673
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1598,10 +1710,11 @@ class DbSystemClient {
|
|
|
1598
1710
|
/**
|
|
1599
1711
|
* Sends a request to estimate the memory footprints of user tables when loaded to HeatWave cluster memory.
|
|
1600
1712
|
*
|
|
1713
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1601
1714
|
* @param GenerateHeatWaveClusterMemoryEstimateRequest
|
|
1602
1715
|
* @return GenerateHeatWaveClusterMemoryEstimateResponse
|
|
1603
1716
|
* @throws OciError when an error occurs
|
|
1604
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1717
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/GenerateHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GenerateHeatWaveClusterMemoryEstimate API.
|
|
1605
1718
|
*/
|
|
1606
1719
|
generateHeatWaveClusterMemoryEstimate(generateHeatWaveClusterMemoryEstimateRequest) {
|
|
1607
1720
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1616,7 +1729,8 @@ class DbSystemClient {
|
|
|
1616
1729
|
"opc-request-id": generateHeatWaveClusterMemoryEstimateRequest.opcRequestId,
|
|
1617
1730
|
"opc-retry-token": generateHeatWaveClusterMemoryEstimateRequest.opcRetryToken
|
|
1618
1731
|
};
|
|
1619
|
-
const
|
|
1732
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1733
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateHeatWaveClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1620
1734
|
if (this.logger)
|
|
1621
1735
|
retrier.logger = this.logger;
|
|
1622
1736
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1660,10 +1774,11 @@ class DbSystemClient {
|
|
|
1660
1774
|
* DEPRECATED -- please use HeatWave API instead.
|
|
1661
1775
|
* Gets information about the Analytics Cluster.
|
|
1662
1776
|
*
|
|
1777
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1663
1778
|
* @param GetAnalyticsClusterRequest
|
|
1664
1779
|
* @return GetAnalyticsClusterResponse
|
|
1665
1780
|
* @throws OciError when an error occurs
|
|
1666
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1781
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/GetAnalyticsCluster.ts.html |here} to see how to use GetAnalyticsCluster API.
|
|
1667
1782
|
*/
|
|
1668
1783
|
getAnalyticsCluster(getAnalyticsClusterRequest) {
|
|
1669
1784
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1678,7 +1793,8 @@ class DbSystemClient {
|
|
|
1678
1793
|
"opc-request-id": getAnalyticsClusterRequest.opcRequestId,
|
|
1679
1794
|
"if-none-match": getAnalyticsClusterRequest.ifNoneMatch
|
|
1680
1795
|
};
|
|
1681
|
-
const
|
|
1796
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1797
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1682
1798
|
if (this.logger)
|
|
1683
1799
|
retrier.logger = this.logger;
|
|
1684
1800
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1723,10 +1839,11 @@ class DbSystemClient {
|
|
|
1723
1839
|
* Gets the most recent Analytics Cluster memory estimate that can be used to determine a suitable
|
|
1724
1840
|
* Analytics Cluster size.
|
|
1725
1841
|
*
|
|
1842
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1726
1843
|
* @param GetAnalyticsClusterMemoryEstimateRequest
|
|
1727
1844
|
* @return GetAnalyticsClusterMemoryEstimateResponse
|
|
1728
1845
|
* @throws OciError when an error occurs
|
|
1729
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1846
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/GetAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GetAnalyticsClusterMemoryEstimate API.
|
|
1730
1847
|
*/
|
|
1731
1848
|
getAnalyticsClusterMemoryEstimate(getAnalyticsClusterMemoryEstimateRequest) {
|
|
1732
1849
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1740,7 +1857,8 @@ class DbSystemClient {
|
|
|
1740
1857
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1741
1858
|
"opc-request-id": getAnalyticsClusterMemoryEstimateRequest.opcRequestId
|
|
1742
1859
|
};
|
|
1743
|
-
const
|
|
1860
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1861
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAnalyticsClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1744
1862
|
if (this.logger)
|
|
1745
1863
|
retrier.logger = this.logger;
|
|
1746
1864
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1777,10 +1895,11 @@ class DbSystemClient {
|
|
|
1777
1895
|
}
|
|
1778
1896
|
/**
|
|
1779
1897
|
* Get information about the specified DB System.
|
|
1898
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1780
1899
|
* @param GetDbSystemRequest
|
|
1781
1900
|
* @return GetDbSystemResponse
|
|
1782
1901
|
* @throws OciError when an error occurs
|
|
1783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1902
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
1784
1903
|
*/
|
|
1785
1904
|
getDbSystem(getDbSystemRequest) {
|
|
1786
1905
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1795,7 +1914,8 @@ class DbSystemClient {
|
|
|
1795
1914
|
"opc-request-id": getDbSystemRequest.opcRequestId,
|
|
1796
1915
|
"if-none-match": getDbSystemRequest.ifNoneMatch
|
|
1797
1916
|
};
|
|
1798
|
-
const
|
|
1917
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1918
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1799
1919
|
if (this.logger)
|
|
1800
1920
|
retrier.logger = this.logger;
|
|
1801
1921
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1837,10 +1957,11 @@ class DbSystemClient {
|
|
|
1837
1957
|
}
|
|
1838
1958
|
/**
|
|
1839
1959
|
* Gets information about the HeatWave cluster.
|
|
1960
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1840
1961
|
* @param GetHeatWaveClusterRequest
|
|
1841
1962
|
* @return GetHeatWaveClusterResponse
|
|
1842
1963
|
* @throws OciError when an error occurs
|
|
1843
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1964
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/GetHeatWaveCluster.ts.html |here} to see how to use GetHeatWaveCluster API.
|
|
1844
1965
|
*/
|
|
1845
1966
|
getHeatWaveCluster(getHeatWaveClusterRequest) {
|
|
1846
1967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1855,7 +1976,8 @@ class DbSystemClient {
|
|
|
1855
1976
|
"opc-request-id": getHeatWaveClusterRequest.opcRequestId,
|
|
1856
1977
|
"if-none-match": getHeatWaveClusterRequest.ifNoneMatch
|
|
1857
1978
|
};
|
|
1858
|
-
const
|
|
1979
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1980
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1859
1981
|
if (this.logger)
|
|
1860
1982
|
retrier.logger = this.logger;
|
|
1861
1983
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1899,10 +2021,11 @@ class DbSystemClient {
|
|
|
1899
2021
|
* Gets the most recent HeatWave cluster memory estimate that can be used to determine a suitable
|
|
1900
2022
|
* HeatWave cluster size.
|
|
1901
2023
|
*
|
|
2024
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1902
2025
|
* @param GetHeatWaveClusterMemoryEstimateRequest
|
|
1903
2026
|
* @return GetHeatWaveClusterMemoryEstimateResponse
|
|
1904
2027
|
* @throws OciError when an error occurs
|
|
1905
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2028
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/GetHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GetHeatWaveClusterMemoryEstimate API.
|
|
1906
2029
|
*/
|
|
1907
2030
|
getHeatWaveClusterMemoryEstimate(getHeatWaveClusterMemoryEstimateRequest) {
|
|
1908
2031
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1916,7 +2039,8 @@ class DbSystemClient {
|
|
|
1916
2039
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1917
2040
|
"opc-request-id": getHeatWaveClusterMemoryEstimateRequest.opcRequestId
|
|
1918
2041
|
};
|
|
1919
|
-
const
|
|
2042
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2043
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHeatWaveClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1920
2044
|
if (this.logger)
|
|
1921
2045
|
retrier.logger = this.logger;
|
|
1922
2046
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1955,10 +2079,11 @@ class DbSystemClient {
|
|
|
1955
2079
|
* Get a list of DB Systems in the specified compartment.
|
|
1956
2080
|
* The default sort order is by timeUpdated, descending.
|
|
1957
2081
|
*
|
|
2082
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1958
2083
|
* @param ListDbSystemsRequest
|
|
1959
2084
|
* @return ListDbSystemsResponse
|
|
1960
2085
|
* @throws OciError when an error occurs
|
|
1961
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2086
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
1962
2087
|
*/
|
|
1963
2088
|
listDbSystems(listDbSystemsRequest) {
|
|
1964
2089
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1983,7 +2108,8 @@ class DbSystemClient {
|
|
|
1983
2108
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1984
2109
|
"opc-request-id": listDbSystemsRequest.opcRequestId
|
|
1985
2110
|
};
|
|
1986
|
-
const
|
|
2111
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2112
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDbSystemsRequest.retryConfiguration, specRetryConfiguration);
|
|
1987
2113
|
if (this.logger)
|
|
1988
2114
|
retrier.logger = this.logger;
|
|
1989
2115
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2024,6 +2150,7 @@ class DbSystemClient {
|
|
|
2024
2150
|
});
|
|
2025
2151
|
}
|
|
2026
2152
|
/**
|
|
2153
|
+
* NOTE: This function is deprecated in favor of listDbSystemsRecordIterator function.
|
|
2027
2154
|
* Creates a new async iterator which will iterate over the models.DbSystemSummary objects
|
|
2028
2155
|
* contained in responses from the listDbSystems operation. This iterator will fetch more data from the
|
|
2029
2156
|
* server as needed.
|
|
@@ -2034,6 +2161,7 @@ class DbSystemClient {
|
|
|
2034
2161
|
return oci_common_1.paginateRecords(request, req => this.listDbSystems(req));
|
|
2035
2162
|
}
|
|
2036
2163
|
/**
|
|
2164
|
+
* NOTE: This function is deprecated in favor of listDbSystemsResponseIterator function.
|
|
2037
2165
|
* Creates a new async iterator which will iterate over the responses received from the listDbSystems operation. This iterator
|
|
2038
2166
|
* will fetch more data from the server as needed.
|
|
2039
2167
|
*
|
|
@@ -2042,14 +2170,34 @@ class DbSystemClient {
|
|
|
2042
2170
|
listAllDbSystemsResponses(request) {
|
|
2043
2171
|
return oci_common_1.paginateResponses(request, req => this.listDbSystems(req));
|
|
2044
2172
|
}
|
|
2173
|
+
/**
|
|
2174
|
+
* Creates a new async iterator which will iterate over the models.DbSystemSummary objects
|
|
2175
|
+
* contained in responses from the listDbSystems operation. This iterator will fetch more data from the
|
|
2176
|
+
* server as needed.
|
|
2177
|
+
*
|
|
2178
|
+
* @param request a request which can be sent to the service operation
|
|
2179
|
+
*/
|
|
2180
|
+
listDbSystemsRecordIterator(request) {
|
|
2181
|
+
return oci_common_1.paginateRecords(request, req => this.listDbSystems(req));
|
|
2182
|
+
}
|
|
2183
|
+
/**
|
|
2184
|
+
* Creates a new async iterator which will iterate over the responses received from the listDbSystems operation. This iterator
|
|
2185
|
+
* will fetch more data from the server as needed.
|
|
2186
|
+
*
|
|
2187
|
+
* @param request a request which can be sent to the service operation
|
|
2188
|
+
*/
|
|
2189
|
+
listDbSystemsResponseIterator(request) {
|
|
2190
|
+
return oci_common_1.paginateResponses(request, req => this.listDbSystems(req));
|
|
2191
|
+
}
|
|
2045
2192
|
/**
|
|
2046
2193
|
* DEPRECATED -- please use HeatWave API instead.
|
|
2047
2194
|
* Restarts the Analytics Cluster.
|
|
2048
2195
|
*
|
|
2196
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2049
2197
|
* @param RestartAnalyticsClusterRequest
|
|
2050
2198
|
* @return RestartAnalyticsClusterResponse
|
|
2051
2199
|
* @throws OciError when an error occurs
|
|
2052
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2200
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/RestartAnalyticsCluster.ts.html |here} to see how to use RestartAnalyticsCluster API.
|
|
2053
2201
|
*/
|
|
2054
2202
|
restartAnalyticsCluster(restartAnalyticsClusterRequest) {
|
|
2055
2203
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2065,7 +2213,8 @@ class DbSystemClient {
|
|
|
2065
2213
|
"opc-request-id": restartAnalyticsClusterRequest.opcRequestId,
|
|
2066
2214
|
"opc-retry-token": restartAnalyticsClusterRequest.opcRetryToken
|
|
2067
2215
|
};
|
|
2068
|
-
const
|
|
2216
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2217
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2069
2218
|
if (this.logger)
|
|
2070
2219
|
retrier.logger = this.logger;
|
|
2071
2220
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2103,10 +2252,11 @@ class DbSystemClient {
|
|
|
2103
2252
|
}
|
|
2104
2253
|
/**
|
|
2105
2254
|
* Restarts the specified DB System.
|
|
2255
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2106
2256
|
* @param RestartDbSystemRequest
|
|
2107
2257
|
* @return RestartDbSystemResponse
|
|
2108
2258
|
* @throws OciError when an error occurs
|
|
2109
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2259
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/RestartDbSystem.ts.html |here} to see how to use RestartDbSystem API.
|
|
2110
2260
|
*/
|
|
2111
2261
|
restartDbSystem(restartDbSystemRequest) {
|
|
2112
2262
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2122,7 +2272,8 @@ class DbSystemClient {
|
|
|
2122
2272
|
"opc-request-id": restartDbSystemRequest.opcRequestId,
|
|
2123
2273
|
"opc-retry-token": restartDbSystemRequest.opcRetryToken
|
|
2124
2274
|
};
|
|
2125
|
-
const
|
|
2275
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2276
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2126
2277
|
if (this.logger)
|
|
2127
2278
|
retrier.logger = this.logger;
|
|
2128
2279
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2161,10 +2312,11 @@ class DbSystemClient {
|
|
|
2161
2312
|
}
|
|
2162
2313
|
/**
|
|
2163
2314
|
* Restarts the HeatWave cluster.
|
|
2315
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2164
2316
|
* @param RestartHeatWaveClusterRequest
|
|
2165
2317
|
* @return RestartHeatWaveClusterResponse
|
|
2166
2318
|
* @throws OciError when an error occurs
|
|
2167
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2319
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/RestartHeatWaveCluster.ts.html |here} to see how to use RestartHeatWaveCluster API.
|
|
2168
2320
|
*/
|
|
2169
2321
|
restartHeatWaveCluster(restartHeatWaveClusterRequest) {
|
|
2170
2322
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2180,7 +2332,8 @@ class DbSystemClient {
|
|
|
2180
2332
|
"opc-request-id": restartHeatWaveClusterRequest.opcRequestId,
|
|
2181
2333
|
"opc-retry-token": restartHeatWaveClusterRequest.opcRetryToken
|
|
2182
2334
|
};
|
|
2183
|
-
const
|
|
2335
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2336
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2184
2337
|
if (this.logger)
|
|
2185
2338
|
retrier.logger = this.logger;
|
|
2186
2339
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2220,10 +2373,11 @@ class DbSystemClient {
|
|
|
2220
2373
|
* DEPRECATED -- please use HeatWave API instead.
|
|
2221
2374
|
* Starts the Analytics Cluster.
|
|
2222
2375
|
*
|
|
2376
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2223
2377
|
* @param StartAnalyticsClusterRequest
|
|
2224
2378
|
* @return StartAnalyticsClusterResponse
|
|
2225
2379
|
* @throws OciError when an error occurs
|
|
2226
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2380
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/StartAnalyticsCluster.ts.html |here} to see how to use StartAnalyticsCluster API.
|
|
2227
2381
|
*/
|
|
2228
2382
|
startAnalyticsCluster(startAnalyticsClusterRequest) {
|
|
2229
2383
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2239,7 +2393,8 @@ class DbSystemClient {
|
|
|
2239
2393
|
"opc-request-id": startAnalyticsClusterRequest.opcRequestId,
|
|
2240
2394
|
"opc-retry-token": startAnalyticsClusterRequest.opcRetryToken
|
|
2241
2395
|
};
|
|
2242
|
-
const
|
|
2396
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2397
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2243
2398
|
if (this.logger)
|
|
2244
2399
|
retrier.logger = this.logger;
|
|
2245
2400
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2277,10 +2432,11 @@ class DbSystemClient {
|
|
|
2277
2432
|
}
|
|
2278
2433
|
/**
|
|
2279
2434
|
* Start the specified DB System.
|
|
2435
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2280
2436
|
* @param StartDbSystemRequest
|
|
2281
2437
|
* @return StartDbSystemResponse
|
|
2282
2438
|
* @throws OciError when an error occurs
|
|
2283
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2439
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/StartDbSystem.ts.html |here} to see how to use StartDbSystem API.
|
|
2284
2440
|
*/
|
|
2285
2441
|
startDbSystem(startDbSystemRequest) {
|
|
2286
2442
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2296,7 +2452,8 @@ class DbSystemClient {
|
|
|
2296
2452
|
"opc-request-id": startDbSystemRequest.opcRequestId,
|
|
2297
2453
|
"opc-retry-token": startDbSystemRequest.opcRetryToken
|
|
2298
2454
|
};
|
|
2299
|
-
const
|
|
2455
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2456
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2300
2457
|
if (this.logger)
|
|
2301
2458
|
retrier.logger = this.logger;
|
|
2302
2459
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2334,10 +2491,11 @@ class DbSystemClient {
|
|
|
2334
2491
|
}
|
|
2335
2492
|
/**
|
|
2336
2493
|
* Starts the HeatWave cluster.
|
|
2494
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2337
2495
|
* @param StartHeatWaveClusterRequest
|
|
2338
2496
|
* @return StartHeatWaveClusterResponse
|
|
2339
2497
|
* @throws OciError when an error occurs
|
|
2340
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2498
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/StartHeatWaveCluster.ts.html |here} to see how to use StartHeatWaveCluster API.
|
|
2341
2499
|
*/
|
|
2342
2500
|
startHeatWaveCluster(startHeatWaveClusterRequest) {
|
|
2343
2501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2353,7 +2511,8 @@ class DbSystemClient {
|
|
|
2353
2511
|
"opc-request-id": startHeatWaveClusterRequest.opcRequestId,
|
|
2354
2512
|
"opc-retry-token": startHeatWaveClusterRequest.opcRetryToken
|
|
2355
2513
|
};
|
|
2356
|
-
const
|
|
2514
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2515
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2357
2516
|
if (this.logger)
|
|
2358
2517
|
retrier.logger = this.logger;
|
|
2359
2518
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2393,10 +2552,11 @@ class DbSystemClient {
|
|
|
2393
2552
|
* DEPRECATED -- please use HeatWave API instead.
|
|
2394
2553
|
* Stops the Analytics Cluster.
|
|
2395
2554
|
*
|
|
2555
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2396
2556
|
* @param StopAnalyticsClusterRequest
|
|
2397
2557
|
* @return StopAnalyticsClusterResponse
|
|
2398
2558
|
* @throws OciError when an error occurs
|
|
2399
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2559
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/StopAnalyticsCluster.ts.html |here} to see how to use StopAnalyticsCluster API.
|
|
2400
2560
|
*/
|
|
2401
2561
|
stopAnalyticsCluster(stopAnalyticsClusterRequest) {
|
|
2402
2562
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2412,7 +2572,8 @@ class DbSystemClient {
|
|
|
2412
2572
|
"opc-request-id": stopAnalyticsClusterRequest.opcRequestId,
|
|
2413
2573
|
"opc-retry-token": stopAnalyticsClusterRequest.opcRetryToken
|
|
2414
2574
|
};
|
|
2415
|
-
const
|
|
2575
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2576
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2416
2577
|
if (this.logger)
|
|
2417
2578
|
retrier.logger = this.logger;
|
|
2418
2579
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2453,10 +2614,11 @@ class DbSystemClient {
|
|
|
2453
2614
|
* <p>
|
|
2454
2615
|
A stopped DB System is not billed.
|
|
2455
2616
|
*
|
|
2617
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2456
2618
|
* @param StopDbSystemRequest
|
|
2457
2619
|
* @return StopDbSystemResponse
|
|
2458
2620
|
* @throws OciError when an error occurs
|
|
2459
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2621
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/StopDbSystem.ts.html |here} to see how to use StopDbSystem API.
|
|
2460
2622
|
*/
|
|
2461
2623
|
stopDbSystem(stopDbSystemRequest) {
|
|
2462
2624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2472,7 +2634,8 @@ class DbSystemClient {
|
|
|
2472
2634
|
"opc-request-id": stopDbSystemRequest.opcRequestId,
|
|
2473
2635
|
"opc-retry-token": stopDbSystemRequest.opcRetryToken
|
|
2474
2636
|
};
|
|
2475
|
-
const
|
|
2637
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2638
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2476
2639
|
if (this.logger)
|
|
2477
2640
|
retrier.logger = this.logger;
|
|
2478
2641
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2511,10 +2674,11 @@ class DbSystemClient {
|
|
|
2511
2674
|
}
|
|
2512
2675
|
/**
|
|
2513
2676
|
* Stops the HeatWave cluster.
|
|
2677
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2514
2678
|
* @param StopHeatWaveClusterRequest
|
|
2515
2679
|
* @return StopHeatWaveClusterResponse
|
|
2516
2680
|
* @throws OciError when an error occurs
|
|
2517
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2681
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/StopHeatWaveCluster.ts.html |here} to see how to use StopHeatWaveCluster API.
|
|
2518
2682
|
*/
|
|
2519
2683
|
stopHeatWaveCluster(stopHeatWaveClusterRequest) {
|
|
2520
2684
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2530,7 +2694,8 @@ class DbSystemClient {
|
|
|
2530
2694
|
"opc-request-id": stopHeatWaveClusterRequest.opcRequestId,
|
|
2531
2695
|
"opc-retry-token": stopHeatWaveClusterRequest.opcRetryToken
|
|
2532
2696
|
};
|
|
2533
|
-
const
|
|
2697
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2698
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2534
2699
|
if (this.logger)
|
|
2535
2700
|
retrier.logger = this.logger;
|
|
2536
2701
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2570,10 +2735,11 @@ class DbSystemClient {
|
|
|
2570
2735
|
* DEPRECATED -- please use HeatWave API instead.
|
|
2571
2736
|
* Updates the Analytics Cluster.
|
|
2572
2737
|
*
|
|
2738
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2573
2739
|
* @param UpdateAnalyticsClusterRequest
|
|
2574
2740
|
* @return UpdateAnalyticsClusterResponse
|
|
2575
2741
|
* @throws OciError when an error occurs
|
|
2576
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2742
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/UpdateAnalyticsCluster.ts.html |here} to see how to use UpdateAnalyticsCluster API.
|
|
2577
2743
|
*/
|
|
2578
2744
|
updateAnalyticsCluster(updateAnalyticsClusterRequest) {
|
|
2579
2745
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2588,7 +2754,8 @@ class DbSystemClient {
|
|
|
2588
2754
|
"if-match": updateAnalyticsClusterRequest.ifMatch,
|
|
2589
2755
|
"opc-request-id": updateAnalyticsClusterRequest.opcRequestId
|
|
2590
2756
|
};
|
|
2591
|
-
const
|
|
2757
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2758
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2592
2759
|
if (this.logger)
|
|
2593
2760
|
retrier.logger = this.logger;
|
|
2594
2761
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2635,10 +2802,11 @@ class DbSystemClient {
|
|
|
2635
2802
|
* Compute resources, pausing the DB System and migrating storage
|
|
2636
2803
|
* before making the DB System available again.
|
|
2637
2804
|
*
|
|
2805
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2638
2806
|
* @param UpdateDbSystemRequest
|
|
2639
2807
|
* @return UpdateDbSystemResponse
|
|
2640
2808
|
* @throws OciError when an error occurs
|
|
2641
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2809
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2642
2810
|
*/
|
|
2643
2811
|
updateDbSystem(updateDbSystemRequest) {
|
|
2644
2812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2653,7 +2821,8 @@ class DbSystemClient {
|
|
|
2653
2821
|
"if-match": updateDbSystemRequest.ifMatch,
|
|
2654
2822
|
"opc-request-id": updateDbSystemRequest.opcRequestId
|
|
2655
2823
|
};
|
|
2656
|
-
const
|
|
2824
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2825
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2657
2826
|
if (this.logger)
|
|
2658
2827
|
retrier.logger = this.logger;
|
|
2659
2828
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2693,10 +2862,11 @@ class DbSystemClient {
|
|
|
2693
2862
|
/**
|
|
2694
2863
|
* Updates the HeatWave cluster.
|
|
2695
2864
|
*
|
|
2865
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2696
2866
|
* @param UpdateHeatWaveClusterRequest
|
|
2697
2867
|
* @return UpdateHeatWaveClusterResponse
|
|
2698
2868
|
* @throws OciError when an error occurs
|
|
2699
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2869
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/UpdateHeatWaveCluster.ts.html |here} to see how to use UpdateHeatWaveCluster API.
|
|
2700
2870
|
*/
|
|
2701
2871
|
updateHeatWaveCluster(updateHeatWaveClusterRequest) {
|
|
2702
2872
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2711,7 +2881,8 @@ class DbSystemClient {
|
|
|
2711
2881
|
"if-match": updateHeatWaveClusterRequest.ifMatch,
|
|
2712
2882
|
"opc-request-id": updateHeatWaveClusterRequest.opcRequestId
|
|
2713
2883
|
};
|
|
2714
|
-
const
|
|
2884
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2885
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHeatWaveClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2715
2886
|
if (this.logger)
|
|
2716
2887
|
retrier.logger = this.logger;
|
|
2717
2888
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2754,6 +2925,9 @@ DbSystemClient.serviceEndpointTemplate = "https://mysql.{region}.ocp.{secondLeve
|
|
|
2754
2925
|
var MysqlaasApiKeys;
|
|
2755
2926
|
(function (MysqlaasApiKeys) {
|
|
2756
2927
|
})(MysqlaasApiKeys = exports.MysqlaasApiKeys || (exports.MysqlaasApiKeys = {}));
|
|
2928
|
+
/**
|
|
2929
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
2930
|
+
*/
|
|
2757
2931
|
class MysqlaasClient {
|
|
2758
2932
|
constructor(params, clientConfiguration) {
|
|
2759
2933
|
this["_endpoint"] = "";
|
|
@@ -2768,6 +2942,13 @@ class MysqlaasClient {
|
|
|
2768
2942
|
? clientConfiguration.circuitBreaker.circuit
|
|
2769
2943
|
: null;
|
|
2770
2944
|
}
|
|
2945
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
2946
|
+
const specCircuitBreakerEnabled = false;
|
|
2947
|
+
if (!this._circuitBreaker &&
|
|
2948
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
2949
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
2950
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
2951
|
+
}
|
|
2771
2952
|
this._httpClient =
|
|
2772
2953
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
2773
2954
|
if (params.authenticationDetailsProvider &&
|
|
@@ -2839,10 +3020,11 @@ class MysqlaasClient {
|
|
|
2839
3020
|
}
|
|
2840
3021
|
/**
|
|
2841
3022
|
* Creates a new Configuration.
|
|
3023
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2842
3024
|
* @param CreateConfigurationRequest
|
|
2843
3025
|
* @return CreateConfigurationResponse
|
|
2844
3026
|
* @throws OciError when an error occurs
|
|
2845
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3027
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
2846
3028
|
*/
|
|
2847
3029
|
createConfiguration(createConfigurationRequest) {
|
|
2848
3030
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2855,7 +3037,8 @@ class MysqlaasClient {
|
|
|
2855
3037
|
"opc-request-id": createConfigurationRequest.opcRequestId,
|
|
2856
3038
|
"opc-retry-token": createConfigurationRequest.opcRetryToken
|
|
2857
3039
|
};
|
|
2858
|
-
const
|
|
3040
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3041
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2859
3042
|
if (this.logger)
|
|
2860
3043
|
retrier.logger = this.logger;
|
|
2861
3044
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2910,10 +3093,11 @@ class MysqlaasClient {
|
|
|
2910
3093
|
* Deletes a Configuration.
|
|
2911
3094
|
* The Configuration must not be in use by any DB Systems.
|
|
2912
3095
|
*
|
|
3096
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2913
3097
|
* @param DeleteConfigurationRequest
|
|
2914
3098
|
* @return DeleteConfigurationResponse
|
|
2915
3099
|
* @throws OciError when an error occurs
|
|
2916
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3100
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
2917
3101
|
*/
|
|
2918
3102
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
2919
3103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2928,7 +3112,8 @@ class MysqlaasClient {
|
|
|
2928
3112
|
"if-match": deleteConfigurationRequest.ifMatch,
|
|
2929
3113
|
"opc-request-id": deleteConfigurationRequest.opcRequestId
|
|
2930
3114
|
};
|
|
2931
|
-
const
|
|
3115
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3116
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2932
3117
|
if (this.logger)
|
|
2933
3118
|
retrier.logger = this.logger;
|
|
2934
3119
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2962,10 +3147,11 @@ class MysqlaasClient {
|
|
|
2962
3147
|
/**
|
|
2963
3148
|
* Get the full details of the specified Configuration, including the list of MySQL Variables and their values.
|
|
2964
3149
|
*
|
|
3150
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2965
3151
|
* @param GetConfigurationRequest
|
|
2966
3152
|
* @return GetConfigurationResponse
|
|
2967
3153
|
* @throws OciError when an error occurs
|
|
2968
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3154
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
2969
3155
|
*/
|
|
2970
3156
|
getConfiguration(getConfigurationRequest) {
|
|
2971
3157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2980,7 +3166,8 @@ class MysqlaasClient {
|
|
|
2980
3166
|
"opc-request-id": getConfigurationRequest.opcRequestId,
|
|
2981
3167
|
"if-none-match": getConfigurationRequest.ifNoneMatch
|
|
2982
3168
|
};
|
|
2983
|
-
const
|
|
3169
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3170
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2984
3171
|
if (this.logger)
|
|
2985
3172
|
retrier.logger = this.logger;
|
|
2986
3173
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3030,10 +3217,11 @@ class MysqlaasClient {
|
|
|
3030
3217
|
* - DEFAULT-before-CUSTOM
|
|
3031
3218
|
* - displayName ascending
|
|
3032
3219
|
*
|
|
3220
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3033
3221
|
* @param ListConfigurationsRequest
|
|
3034
3222
|
* @return ListConfigurationsResponse
|
|
3035
3223
|
* @throws OciError when an error occurs
|
|
3036
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
3037
3225
|
*/
|
|
3038
3226
|
listConfigurations(listConfigurationsRequest) {
|
|
3039
3227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3056,7 +3244,8 @@ class MysqlaasClient {
|
|
|
3056
3244
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3057
3245
|
"opc-request-id": listConfigurationsRequest.opcRequestId
|
|
3058
3246
|
};
|
|
3059
|
-
const
|
|
3247
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3248
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
3060
3249
|
if (this.logger)
|
|
3061
3250
|
retrier.logger = this.logger;
|
|
3062
3251
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3097,6 +3286,7 @@ class MysqlaasClient {
|
|
|
3097
3286
|
});
|
|
3098
3287
|
}
|
|
3099
3288
|
/**
|
|
3289
|
+
* NOTE: This function is deprecated in favor of listConfigurationsRecordIterator function.
|
|
3100
3290
|
* Creates a new async iterator which will iterate over the models.ConfigurationSummary objects
|
|
3101
3291
|
* contained in responses from the listConfigurations operation. This iterator will fetch more data from the
|
|
3102
3292
|
* server as needed.
|
|
@@ -3107,6 +3297,7 @@ class MysqlaasClient {
|
|
|
3107
3297
|
return oci_common_1.paginateRecords(request, req => this.listConfigurations(req));
|
|
3108
3298
|
}
|
|
3109
3299
|
/**
|
|
3300
|
+
* NOTE: This function is deprecated in favor of listConfigurationsResponseIterator function.
|
|
3110
3301
|
* Creates a new async iterator which will iterate over the responses received from the listConfigurations operation. This iterator
|
|
3111
3302
|
* will fetch more data from the server as needed.
|
|
3112
3303
|
*
|
|
@@ -3115,16 +3306,36 @@ class MysqlaasClient {
|
|
|
3115
3306
|
listAllConfigurationsResponses(request) {
|
|
3116
3307
|
return oci_common_1.paginateResponses(request, req => this.listConfigurations(req));
|
|
3117
3308
|
}
|
|
3309
|
+
/**
|
|
3310
|
+
* Creates a new async iterator which will iterate over the models.ConfigurationSummary objects
|
|
3311
|
+
* contained in responses from the listConfigurations operation. This iterator will fetch more data from the
|
|
3312
|
+
* server as needed.
|
|
3313
|
+
*
|
|
3314
|
+
* @param request a request which can be sent to the service operation
|
|
3315
|
+
*/
|
|
3316
|
+
listConfigurationsRecordIterator(request) {
|
|
3317
|
+
return oci_common_1.paginateRecords(request, req => this.listConfigurations(req));
|
|
3318
|
+
}
|
|
3319
|
+
/**
|
|
3320
|
+
* Creates a new async iterator which will iterate over the responses received from the listConfigurations operation. This iterator
|
|
3321
|
+
* will fetch more data from the server as needed.
|
|
3322
|
+
*
|
|
3323
|
+
* @param request a request which can be sent to the service operation
|
|
3324
|
+
*/
|
|
3325
|
+
listConfigurationsResponseIterator(request) {
|
|
3326
|
+
return oci_common_1.paginateResponses(request, req => this.listConfigurations(req));
|
|
3327
|
+
}
|
|
3118
3328
|
/**
|
|
3119
3329
|
* Gets a list of the shapes you can use to create a new MySQL DB System.
|
|
3120
3330
|
* The shape determines the resources allocated to the DB System:
|
|
3121
3331
|
* CPU cores and memory for VM shapes; CPU cores, memory and
|
|
3122
3332
|
* storage for non-VM (or bare metal) shapes.
|
|
3123
3333
|
*
|
|
3334
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3124
3335
|
* @param ListShapesRequest
|
|
3125
3336
|
* @return ListShapesResponse
|
|
3126
3337
|
* @throws OciError when an error occurs
|
|
3127
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3338
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
3128
3339
|
*/
|
|
3129
3340
|
listShapes(listShapesRequest) {
|
|
3130
3341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3141,7 +3352,8 @@ class MysqlaasClient {
|
|
|
3141
3352
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3142
3353
|
"opc-request-id": listShapesRequest.opcRequestId
|
|
3143
3354
|
};
|
|
3144
|
-
const
|
|
3355
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3356
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
3145
3357
|
if (this.logger)
|
|
3146
3358
|
retrier.logger = this.logger;
|
|
3147
3359
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3181,10 +3393,11 @@ class MysqlaasClient {
|
|
|
3181
3393
|
* <p>
|
|
3182
3394
|
The list is sorted by version family.
|
|
3183
3395
|
*
|
|
3396
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3184
3397
|
* @param ListVersionsRequest
|
|
3185
3398
|
* @return ListVersionsResponse
|
|
3186
3399
|
* @throws OciError when an error occurs
|
|
3187
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/ListVersions.ts.html |here} to see how to use ListVersions API.
|
|
3188
3401
|
*/
|
|
3189
3402
|
listVersions(listVersionsRequest) {
|
|
3190
3403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3198,7 +3411,8 @@ class MysqlaasClient {
|
|
|
3198
3411
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3199
3412
|
"opc-request-id": listVersionsRequest.opcRequestId
|
|
3200
3413
|
};
|
|
3201
|
-
const
|
|
3414
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3415
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
3202
3416
|
if (this.logger)
|
|
3203
3417
|
retrier.logger = this.logger;
|
|
3204
3418
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3235,10 +3449,11 @@ class MysqlaasClient {
|
|
|
3235
3449
|
}
|
|
3236
3450
|
/**
|
|
3237
3451
|
* Updates the Configuration details.
|
|
3452
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3238
3453
|
* @param UpdateConfigurationRequest
|
|
3239
3454
|
* @return UpdateConfigurationResponse
|
|
3240
3455
|
* @throws OciError when an error occurs
|
|
3241
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3456
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
3242
3457
|
*/
|
|
3243
3458
|
updateConfiguration(updateConfigurationRequest) {
|
|
3244
3459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3253,7 +3468,8 @@ class MysqlaasClient {
|
|
|
3253
3468
|
"if-match": updateConfigurationRequest.ifMatch,
|
|
3254
3469
|
"opc-request-id": updateConfigurationRequest.opcRequestId
|
|
3255
3470
|
};
|
|
3256
|
-
const
|
|
3471
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3472
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3257
3473
|
if (this.logger)
|
|
3258
3474
|
retrier.logger = this.logger;
|
|
3259
3475
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3300,6 +3516,9 @@ MysqlaasClient.serviceEndpointTemplate = "https://mysql.{region}.ocp.{secondLeve
|
|
|
3300
3516
|
var WorkRequestsApiKeys;
|
|
3301
3517
|
(function (WorkRequestsApiKeys) {
|
|
3302
3518
|
})(WorkRequestsApiKeys = exports.WorkRequestsApiKeys || (exports.WorkRequestsApiKeys = {}));
|
|
3519
|
+
/**
|
|
3520
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
3521
|
+
*/
|
|
3303
3522
|
class WorkRequestsClient {
|
|
3304
3523
|
constructor(params, clientConfiguration) {
|
|
3305
3524
|
this["_endpoint"] = "";
|
|
@@ -3314,6 +3533,13 @@ class WorkRequestsClient {
|
|
|
3314
3533
|
? clientConfiguration.circuitBreaker.circuit
|
|
3315
3534
|
: null;
|
|
3316
3535
|
}
|
|
3536
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
3537
|
+
const specCircuitBreakerEnabled = false;
|
|
3538
|
+
if (!this._circuitBreaker &&
|
|
3539
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
3540
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
3541
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
3542
|
+
}
|
|
3317
3543
|
this._httpClient =
|
|
3318
3544
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
3319
3545
|
if (params.authenticationDetailsProvider &&
|
|
@@ -3385,10 +3611,11 @@ class WorkRequestsClient {
|
|
|
3385
3611
|
}
|
|
3386
3612
|
/**
|
|
3387
3613
|
* Gets the status of the work request with the given ID.
|
|
3614
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3388
3615
|
* @param GetWorkRequestRequest
|
|
3389
3616
|
* @return GetWorkRequestResponse
|
|
3390
3617
|
* @throws OciError when an error occurs
|
|
3391
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3618
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
3392
3619
|
*/
|
|
3393
3620
|
getWorkRequest(getWorkRequestRequest) {
|
|
3394
3621
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3403,7 +3630,8 @@ class WorkRequestsClient {
|
|
|
3403
3630
|
"if-none-match": getWorkRequestRequest.ifNoneMatch,
|
|
3404
3631
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
3405
3632
|
};
|
|
3406
|
-
const
|
|
3633
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3634
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
3407
3635
|
if (this.logger)
|
|
3408
3636
|
retrier.logger = this.logger;
|
|
3409
3637
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3451,10 +3679,11 @@ class WorkRequestsClient {
|
|
|
3451
3679
|
/**
|
|
3452
3680
|
* Return a (paginated) list of errors for a given work request.
|
|
3453
3681
|
*
|
|
3682
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3454
3683
|
* @param ListWorkRequestErrorsRequest
|
|
3455
3684
|
* @return ListWorkRequestErrorsResponse
|
|
3456
3685
|
* @throws OciError when an error occurs
|
|
3457
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3686
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3458
3687
|
*/
|
|
3459
3688
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3460
3689
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3471,7 +3700,8 @@ class WorkRequestsClient {
|
|
|
3471
3700
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3472
3701
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
3473
3702
|
};
|
|
3474
|
-
const
|
|
3703
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3704
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3475
3705
|
if (this.logger)
|
|
3476
3706
|
retrier.logger = this.logger;
|
|
3477
3707
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3512,6 +3742,7 @@ class WorkRequestsClient {
|
|
|
3512
3742
|
});
|
|
3513
3743
|
}
|
|
3514
3744
|
/**
|
|
3745
|
+
* NOTE: This function is deprecated in favor of listWorkRequestErrorsRecordIterator function.
|
|
3515
3746
|
* Creates a new async iterator which will iterate over the models.WorkRequestError objects
|
|
3516
3747
|
* contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
|
|
3517
3748
|
* server as needed.
|
|
@@ -3522,6 +3753,7 @@ class WorkRequestsClient {
|
|
|
3522
3753
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
|
|
3523
3754
|
}
|
|
3524
3755
|
/**
|
|
3756
|
+
* NOTE: This function is deprecated in favor of listWorkRequestErrorsResponseIterator function.
|
|
3525
3757
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
|
|
3526
3758
|
* will fetch more data from the server as needed.
|
|
3527
3759
|
*
|
|
@@ -3530,13 +3762,33 @@ class WorkRequestsClient {
|
|
|
3530
3762
|
listAllWorkRequestErrorsResponses(request) {
|
|
3531
3763
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
|
|
3532
3764
|
}
|
|
3765
|
+
/**
|
|
3766
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestError objects
|
|
3767
|
+
* contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
|
|
3768
|
+
* server as needed.
|
|
3769
|
+
*
|
|
3770
|
+
* @param request a request which can be sent to the service operation
|
|
3771
|
+
*/
|
|
3772
|
+
listWorkRequestErrorsRecordIterator(request) {
|
|
3773
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
|
|
3774
|
+
}
|
|
3775
|
+
/**
|
|
3776
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
|
|
3777
|
+
* will fetch more data from the server as needed.
|
|
3778
|
+
*
|
|
3779
|
+
* @param request a request which can be sent to the service operation
|
|
3780
|
+
*/
|
|
3781
|
+
listWorkRequestErrorsResponseIterator(request) {
|
|
3782
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
|
|
3783
|
+
}
|
|
3533
3784
|
/**
|
|
3534
3785
|
* Return a (paginated) list of logs for a given work request.
|
|
3535
3786
|
*
|
|
3787
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3536
3788
|
* @param ListWorkRequestLogsRequest
|
|
3537
3789
|
* @return ListWorkRequestLogsResponse
|
|
3538
3790
|
* @throws OciError when an error occurs
|
|
3539
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3791
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3540
3792
|
*/
|
|
3541
3793
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3542
3794
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3553,7 +3805,8 @@ class WorkRequestsClient {
|
|
|
3553
3805
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3554
3806
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
3555
3807
|
};
|
|
3556
|
-
const
|
|
3808
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3809
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3557
3810
|
if (this.logger)
|
|
3558
3811
|
retrier.logger = this.logger;
|
|
3559
3812
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3594,6 +3847,7 @@ class WorkRequestsClient {
|
|
|
3594
3847
|
});
|
|
3595
3848
|
}
|
|
3596
3849
|
/**
|
|
3850
|
+
* NOTE: This function is deprecated in favor of listWorkRequestLogsRecordIterator function.
|
|
3597
3851
|
* Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects
|
|
3598
3852
|
* contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
|
|
3599
3853
|
* server as needed.
|
|
@@ -3604,6 +3858,7 @@ class WorkRequestsClient {
|
|
|
3604
3858
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
|
|
3605
3859
|
}
|
|
3606
3860
|
/**
|
|
3861
|
+
* NOTE: This function is deprecated in favor of listWorkRequestLogsResponseIterator function.
|
|
3607
3862
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
|
|
3608
3863
|
* will fetch more data from the server as needed.
|
|
3609
3864
|
*
|
|
@@ -3612,13 +3867,33 @@ class WorkRequestsClient {
|
|
|
3612
3867
|
listAllWorkRequestLogsResponses(request) {
|
|
3613
3868
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
|
|
3614
3869
|
}
|
|
3870
|
+
/**
|
|
3871
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects
|
|
3872
|
+
* contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
|
|
3873
|
+
* server as needed.
|
|
3874
|
+
*
|
|
3875
|
+
* @param request a request which can be sent to the service operation
|
|
3876
|
+
*/
|
|
3877
|
+
listWorkRequestLogsRecordIterator(request) {
|
|
3878
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
|
|
3879
|
+
}
|
|
3880
|
+
/**
|
|
3881
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
|
|
3882
|
+
* will fetch more data from the server as needed.
|
|
3883
|
+
*
|
|
3884
|
+
* @param request a request which can be sent to the service operation
|
|
3885
|
+
*/
|
|
3886
|
+
listWorkRequestLogsResponseIterator(request) {
|
|
3887
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
|
|
3888
|
+
}
|
|
3615
3889
|
/**
|
|
3616
3890
|
* Lists the work requests in a specified compartment.
|
|
3617
3891
|
*
|
|
3892
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3618
3893
|
* @param ListWorkRequestsRequest
|
|
3619
3894
|
* @return ListWorkRequestsResponse
|
|
3620
3895
|
* @throws OciError when an error occurs
|
|
3621
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3896
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/mysql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3622
3897
|
*/
|
|
3623
3898
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3624
3899
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3636,7 +3911,8 @@ class WorkRequestsClient {
|
|
|
3636
3911
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3637
3912
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
3638
3913
|
};
|
|
3639
|
-
const
|
|
3914
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3915
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3640
3916
|
if (this.logger)
|
|
3641
3917
|
retrier.logger = this.logger;
|
|
3642
3918
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3677,6 +3953,7 @@ class WorkRequestsClient {
|
|
|
3677
3953
|
});
|
|
3678
3954
|
}
|
|
3679
3955
|
/**
|
|
3956
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsRecordIterator function.
|
|
3680
3957
|
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
3681
3958
|
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
3682
3959
|
* server as needed.
|
|
@@ -3687,6 +3964,7 @@ class WorkRequestsClient {
|
|
|
3687
3964
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
3688
3965
|
}
|
|
3689
3966
|
/**
|
|
3967
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsResponseIterator function.
|
|
3690
3968
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
3691
3969
|
* will fetch more data from the server as needed.
|
|
3692
3970
|
*
|
|
@@ -3695,6 +3973,25 @@ class WorkRequestsClient {
|
|
|
3695
3973
|
listAllWorkRequestsResponses(request) {
|
|
3696
3974
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
3697
3975
|
}
|
|
3976
|
+
/**
|
|
3977
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
3978
|
+
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
3979
|
+
* server as needed.
|
|
3980
|
+
*
|
|
3981
|
+
* @param request a request which can be sent to the service operation
|
|
3982
|
+
*/
|
|
3983
|
+
listWorkRequestsRecordIterator(request) {
|
|
3984
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
3985
|
+
}
|
|
3986
|
+
/**
|
|
3987
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
3988
|
+
* will fetch more data from the server as needed.
|
|
3989
|
+
*
|
|
3990
|
+
* @param request a request which can be sent to the service operation
|
|
3991
|
+
*/
|
|
3992
|
+
listWorkRequestsResponseIterator(request) {
|
|
3993
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
3994
|
+
}
|
|
3698
3995
|
}
|
|
3699
3996
|
exports.WorkRequestsClient = WorkRequestsClient;
|
|
3700
3997
|
WorkRequestsClient.serviceEndpointTemplate = "https://mysql.{region}.ocp.{secondLevelDomain}";
|