oci-mysql 2.20.0 → 2.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +55 -50
- package/lib/client.js +80 -55
- package/lib/client.js.map +1 -1
- package/lib/model/create-db-system-source-import-from-url-details.d.ts +5 -1
- package/lib/model/create-db-system-source-import-from-url-details.js.map +1 -1
- package/lib/model/update-db-system-details.d.ts +5 -3
- package/lib/model/update-db-system-details.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
|
@@ -64,6 +64,7 @@ class ChannelsClient {
|
|
|
64
64
|
this["_endpoint"] = "";
|
|
65
65
|
this["_defaultHeaders"] = {};
|
|
66
66
|
this._circuitBreaker = null;
|
|
67
|
+
this._httpOptions = undefined;
|
|
67
68
|
const requestSigner = params.authenticationDetailsProvider
|
|
68
69
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
69
70
|
: null;
|
|
@@ -72,6 +73,9 @@ class ChannelsClient {
|
|
|
72
73
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
73
74
|
? clientConfiguration.circuitBreaker.circuit
|
|
74
75
|
: null;
|
|
76
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
77
|
+
? clientConfiguration.httpOptions
|
|
78
|
+
: undefined;
|
|
75
79
|
}
|
|
76
80
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
77
81
|
const specCircuitBreakerEnabled = true;
|
|
@@ -81,7 +85,8 @@ class ChannelsClient {
|
|
|
81
85
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
82
86
|
}
|
|
83
87
|
this._httpClient =
|
|
84
|
-
params.httpClient ||
|
|
88
|
+
params.httpClient ||
|
|
89
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
85
90
|
if (params.authenticationDetailsProvider &&
|
|
86
91
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
87
92
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -156,7 +161,7 @@ class ChannelsClient {
|
|
|
156
161
|
* @param CreateChannelRequest
|
|
157
162
|
* @return CreateChannelResponse
|
|
158
163
|
* @throws OciError when an error occurs
|
|
159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
164
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/CreateChannel.ts.html |here} to see how to use CreateChannel API.
|
|
160
165
|
*/
|
|
161
166
|
createChannel(createChannelRequest) {
|
|
162
167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -222,7 +227,7 @@ class ChannelsClient {
|
|
|
222
227
|
* @param DeleteChannelRequest
|
|
223
228
|
* @return DeleteChannelResponse
|
|
224
229
|
* @throws OciError when an error occurs
|
|
225
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
230
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
|
|
226
231
|
*/
|
|
227
232
|
deleteChannel(deleteChannelRequest) {
|
|
228
233
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -283,7 +288,7 @@ class ChannelsClient {
|
|
|
283
288
|
* @param GetChannelRequest
|
|
284
289
|
* @return GetChannelResponse
|
|
285
290
|
* @throws OciError when an error occurs
|
|
286
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
291
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/GetChannel.ts.html |here} to see how to use GetChannel API.
|
|
287
292
|
*/
|
|
288
293
|
getChannel(getChannelRequest) {
|
|
289
294
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -345,7 +350,7 @@ class ChannelsClient {
|
|
|
345
350
|
* @param ListChannelsRequest
|
|
346
351
|
* @return ListChannelsResponse
|
|
347
352
|
* @throws OciError when an error occurs
|
|
348
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
353
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/ListChannels.ts.html |here} to see how to use ListChannels API.
|
|
349
354
|
*/
|
|
350
355
|
listChannels(listChannelsRequest) {
|
|
351
356
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -457,7 +462,7 @@ class ChannelsClient {
|
|
|
457
462
|
* @param ResetChannelRequest
|
|
458
463
|
* @return ResetChannelResponse
|
|
459
464
|
* @throws OciError when an error occurs
|
|
460
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
465
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/ResetChannel.ts.html |here} to see how to use ResetChannel API.
|
|
461
466
|
*/
|
|
462
467
|
resetChannel(resetChannelRequest) {
|
|
463
468
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -519,7 +524,7 @@ class ChannelsClient {
|
|
|
519
524
|
* @param ResumeChannelRequest
|
|
520
525
|
* @return ResumeChannelResponse
|
|
521
526
|
* @throws OciError when an error occurs
|
|
522
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
527
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/ResumeChannel.ts.html |here} to see how to use ResumeChannel API.
|
|
523
528
|
*/
|
|
524
529
|
resumeChannel(resumeChannelRequest) {
|
|
525
530
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -582,7 +587,7 @@ class ChannelsClient {
|
|
|
582
587
|
* @param UpdateChannelRequest
|
|
583
588
|
* @return UpdateChannelResponse
|
|
584
589
|
* @throws OciError when an error occurs
|
|
585
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
590
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
|
|
586
591
|
*/
|
|
587
592
|
updateChannel(updateChannelRequest) {
|
|
588
593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -651,6 +656,7 @@ class DbBackupsClient {
|
|
|
651
656
|
this["_endpoint"] = "";
|
|
652
657
|
this["_defaultHeaders"] = {};
|
|
653
658
|
this._circuitBreaker = null;
|
|
659
|
+
this._httpOptions = undefined;
|
|
654
660
|
const requestSigner = params.authenticationDetailsProvider
|
|
655
661
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
656
662
|
: null;
|
|
@@ -659,6 +665,9 @@ class DbBackupsClient {
|
|
|
659
665
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
660
666
|
? clientConfiguration.circuitBreaker.circuit
|
|
661
667
|
: null;
|
|
668
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
669
|
+
? clientConfiguration.httpOptions
|
|
670
|
+
: undefined;
|
|
662
671
|
}
|
|
663
672
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
664
673
|
const specCircuitBreakerEnabled = true;
|
|
@@ -668,7 +677,8 @@ class DbBackupsClient {
|
|
|
668
677
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
669
678
|
}
|
|
670
679
|
this._httpClient =
|
|
671
|
-
params.httpClient ||
|
|
680
|
+
params.httpClient ||
|
|
681
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
672
682
|
if (params.authenticationDetailsProvider &&
|
|
673
683
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
674
684
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -744,7 +754,7 @@ class DbBackupsClient {
|
|
|
744
754
|
* @param ChangeBackupCompartmentRequest
|
|
745
755
|
* @return ChangeBackupCompartmentResponse
|
|
746
756
|
* @throws OciError when an error occurs
|
|
747
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
757
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
748
758
|
*/
|
|
749
759
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
750
760
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -805,7 +815,7 @@ class DbBackupsClient {
|
|
|
805
815
|
* @param CreateBackupRequest
|
|
806
816
|
* @return CreateBackupResponse
|
|
807
817
|
* @throws OciError when an error occurs
|
|
808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
818
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
809
819
|
*/
|
|
810
820
|
createBackup(createBackupRequest) {
|
|
811
821
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -872,7 +882,7 @@ class DbBackupsClient {
|
|
|
872
882
|
* @param DeleteBackupRequest
|
|
873
883
|
* @return DeleteBackupResponse
|
|
874
884
|
* @throws OciError when an error occurs
|
|
875
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
885
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
876
886
|
*/
|
|
877
887
|
deleteBackup(deleteBackupRequest) {
|
|
878
888
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -930,7 +940,7 @@ class DbBackupsClient {
|
|
|
930
940
|
* @param GetBackupRequest
|
|
931
941
|
* @return GetBackupResponse
|
|
932
942
|
* @throws OciError when an error occurs
|
|
933
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
943
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
934
944
|
*/
|
|
935
945
|
getBackup(getBackupRequest) {
|
|
936
946
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -993,7 +1003,7 @@ class DbBackupsClient {
|
|
|
993
1003
|
* @param ListBackupsRequest
|
|
994
1004
|
* @return ListBackupsResponse
|
|
995
1005
|
* @throws OciError when an error occurs
|
|
996
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1006
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
997
1007
|
*/
|
|
998
1008
|
listBackups(listBackupsRequest) {
|
|
999
1009
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1103,7 +1113,7 @@ class DbBackupsClient {
|
|
|
1103
1113
|
* @param UpdateBackupRequest
|
|
1104
1114
|
* @return UpdateBackupResponse
|
|
1105
1115
|
* @throws OciError when an error occurs
|
|
1106
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1116
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
1107
1117
|
*/
|
|
1108
1118
|
updateBackup(updateBackupRequest) {
|
|
1109
1119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1166,6 +1176,7 @@ class DbSystemClient {
|
|
|
1166
1176
|
this["_endpoint"] = "";
|
|
1167
1177
|
this["_defaultHeaders"] = {};
|
|
1168
1178
|
this._circuitBreaker = null;
|
|
1179
|
+
this._httpOptions = undefined;
|
|
1169
1180
|
const requestSigner = params.authenticationDetailsProvider
|
|
1170
1181
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
1171
1182
|
: null;
|
|
@@ -1174,6 +1185,9 @@ class DbSystemClient {
|
|
|
1174
1185
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
1175
1186
|
? clientConfiguration.circuitBreaker.circuit
|
|
1176
1187
|
: null;
|
|
1188
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
1189
|
+
? clientConfiguration.httpOptions
|
|
1190
|
+
: undefined;
|
|
1177
1191
|
}
|
|
1178
1192
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1179
1193
|
const specCircuitBreakerEnabled = true;
|
|
@@ -1183,7 +1197,8 @@ class DbSystemClient {
|
|
|
1183
1197
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
1184
1198
|
}
|
|
1185
1199
|
this._httpClient =
|
|
1186
|
-
params.httpClient ||
|
|
1200
|
+
params.httpClient ||
|
|
1201
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
1187
1202
|
if (params.authenticationDetailsProvider &&
|
|
1188
1203
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
1189
1204
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -1259,7 +1274,7 @@ class DbSystemClient {
|
|
|
1259
1274
|
* @param AddAnalyticsClusterRequest
|
|
1260
1275
|
* @return AddAnalyticsClusterResponse
|
|
1261
1276
|
* @throws OciError when an error occurs
|
|
1262
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1277
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/AddAnalyticsCluster.ts.html |here} to see how to use AddAnalyticsCluster API.
|
|
1263
1278
|
*/
|
|
1264
1279
|
addAnalyticsCluster(addAnalyticsClusterRequest) {
|
|
1265
1280
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1329,7 +1344,7 @@ class DbSystemClient {
|
|
|
1329
1344
|
* @param AddHeatWaveClusterRequest
|
|
1330
1345
|
* @return AddHeatWaveClusterResponse
|
|
1331
1346
|
* @throws OciError when an error occurs
|
|
1332
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1347
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/AddHeatWaveCluster.ts.html |here} to see how to use AddHeatWaveCluster API.
|
|
1333
1348
|
*/
|
|
1334
1349
|
addHeatWaveCluster(addHeatWaveClusterRequest) {
|
|
1335
1350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1399,7 +1414,7 @@ class DbSystemClient {
|
|
|
1399
1414
|
* @param CreateDbSystemRequest
|
|
1400
1415
|
* @return CreateDbSystemResponse
|
|
1401
1416
|
* @throws OciError when an error occurs
|
|
1402
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1417
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
1403
1418
|
*/
|
|
1404
1419
|
createDbSystem(createDbSystemRequest) {
|
|
1405
1420
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1473,7 +1488,7 @@ class DbSystemClient {
|
|
|
1473
1488
|
* @param DeleteAnalyticsClusterRequest
|
|
1474
1489
|
* @return DeleteAnalyticsClusterResponse
|
|
1475
1490
|
* @throws OciError when an error occurs
|
|
1476
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1491
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/DeleteAnalyticsCluster.ts.html |here} to see how to use DeleteAnalyticsCluster API.
|
|
1477
1492
|
*/
|
|
1478
1493
|
deleteAnalyticsCluster(deleteAnalyticsClusterRequest) {
|
|
1479
1494
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1533,7 +1548,7 @@ class DbSystemClient {
|
|
|
1533
1548
|
* @param DeleteDbSystemRequest
|
|
1534
1549
|
* @return DeleteDbSystemResponse
|
|
1535
1550
|
* @throws OciError when an error occurs
|
|
1536
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1551
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
1537
1552
|
*/
|
|
1538
1553
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
1539
1554
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1593,7 +1608,7 @@ class DbSystemClient {
|
|
|
1593
1608
|
* @param DeleteHeatWaveClusterRequest
|
|
1594
1609
|
* @return DeleteHeatWaveClusterResponse
|
|
1595
1610
|
* @throws OciError when an error occurs
|
|
1596
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1611
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/DeleteHeatWaveCluster.ts.html |here} to see how to use DeleteHeatWaveCluster API.
|
|
1597
1612
|
*/
|
|
1598
1613
|
deleteHeatWaveCluster(deleteHeatWaveClusterRequest) {
|
|
1599
1614
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1653,7 +1668,7 @@ class DbSystemClient {
|
|
|
1653
1668
|
* @param GenerateAnalyticsClusterMemoryEstimateRequest
|
|
1654
1669
|
* @return GenerateAnalyticsClusterMemoryEstimateResponse
|
|
1655
1670
|
* @throws OciError when an error occurs
|
|
1656
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1671
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/GenerateAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GenerateAnalyticsClusterMemoryEstimate API.
|
|
1657
1672
|
*/
|
|
1658
1673
|
generateAnalyticsClusterMemoryEstimate(generateAnalyticsClusterMemoryEstimateRequest) {
|
|
1659
1674
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1716,7 +1731,7 @@ class DbSystemClient {
|
|
|
1716
1731
|
* @param GenerateHeatWaveClusterMemoryEstimateRequest
|
|
1717
1732
|
* @return GenerateHeatWaveClusterMemoryEstimateResponse
|
|
1718
1733
|
* @throws OciError when an error occurs
|
|
1719
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1734
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/GenerateHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GenerateHeatWaveClusterMemoryEstimate API.
|
|
1720
1735
|
*/
|
|
1721
1736
|
generateHeatWaveClusterMemoryEstimate(generateHeatWaveClusterMemoryEstimateRequest) {
|
|
1722
1737
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1780,7 +1795,7 @@ class DbSystemClient {
|
|
|
1780
1795
|
* @param GetAnalyticsClusterRequest
|
|
1781
1796
|
* @return GetAnalyticsClusterResponse
|
|
1782
1797
|
* @throws OciError when an error occurs
|
|
1783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1798
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/GetAnalyticsCluster.ts.html |here} to see how to use GetAnalyticsCluster API.
|
|
1784
1799
|
*/
|
|
1785
1800
|
getAnalyticsCluster(getAnalyticsClusterRequest) {
|
|
1786
1801
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1845,7 +1860,7 @@ class DbSystemClient {
|
|
|
1845
1860
|
* @param GetAnalyticsClusterMemoryEstimateRequest
|
|
1846
1861
|
* @return GetAnalyticsClusterMemoryEstimateResponse
|
|
1847
1862
|
* @throws OciError when an error occurs
|
|
1848
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1863
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/GetAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GetAnalyticsClusterMemoryEstimate API.
|
|
1849
1864
|
*/
|
|
1850
1865
|
getAnalyticsClusterMemoryEstimate(getAnalyticsClusterMemoryEstimateRequest) {
|
|
1851
1866
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1901,7 +1916,7 @@ class DbSystemClient {
|
|
|
1901
1916
|
* @param GetDbSystemRequest
|
|
1902
1917
|
* @return GetDbSystemResponse
|
|
1903
1918
|
* @throws OciError when an error occurs
|
|
1904
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1919
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
1905
1920
|
*/
|
|
1906
1921
|
getDbSystem(getDbSystemRequest) {
|
|
1907
1922
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1963,7 +1978,7 @@ class DbSystemClient {
|
|
|
1963
1978
|
* @param GetHeatWaveClusterRequest
|
|
1964
1979
|
* @return GetHeatWaveClusterResponse
|
|
1965
1980
|
* @throws OciError when an error occurs
|
|
1966
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1981
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/GetHeatWaveCluster.ts.html |here} to see how to use GetHeatWaveCluster API.
|
|
1967
1982
|
*/
|
|
1968
1983
|
getHeatWaveCluster(getHeatWaveClusterRequest) {
|
|
1969
1984
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2027,7 +2042,7 @@ class DbSystemClient {
|
|
|
2027
2042
|
* @param GetHeatWaveClusterMemoryEstimateRequest
|
|
2028
2043
|
* @return GetHeatWaveClusterMemoryEstimateResponse
|
|
2029
2044
|
* @throws OciError when an error occurs
|
|
2030
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2045
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/GetHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GetHeatWaveClusterMemoryEstimate API.
|
|
2031
2046
|
*/
|
|
2032
2047
|
getHeatWaveClusterMemoryEstimate(getHeatWaveClusterMemoryEstimateRequest) {
|
|
2033
2048
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2085,7 +2100,7 @@ class DbSystemClient {
|
|
|
2085
2100
|
* @param ListDbSystemsRequest
|
|
2086
2101
|
* @return ListDbSystemsResponse
|
|
2087
2102
|
* @throws OciError when an error occurs
|
|
2088
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2103
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
2089
2104
|
*/
|
|
2090
2105
|
listDbSystems(listDbSystemsRequest) {
|
|
2091
2106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2199,7 +2214,7 @@ class DbSystemClient {
|
|
|
2199
2214
|
* @param RestartAnalyticsClusterRequest
|
|
2200
2215
|
* @return RestartAnalyticsClusterResponse
|
|
2201
2216
|
* @throws OciError when an error occurs
|
|
2202
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/RestartAnalyticsCluster.ts.html |here} to see how to use RestartAnalyticsCluster API.
|
|
2203
2218
|
*/
|
|
2204
2219
|
restartAnalyticsCluster(restartAnalyticsClusterRequest) {
|
|
2205
2220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2258,7 +2273,7 @@ class DbSystemClient {
|
|
|
2258
2273
|
* @param RestartDbSystemRequest
|
|
2259
2274
|
* @return RestartDbSystemResponse
|
|
2260
2275
|
* @throws OciError when an error occurs
|
|
2261
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/RestartDbSystem.ts.html |here} to see how to use RestartDbSystem API.
|
|
2262
2277
|
*/
|
|
2263
2278
|
restartDbSystem(restartDbSystemRequest) {
|
|
2264
2279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2318,7 +2333,7 @@ class DbSystemClient {
|
|
|
2318
2333
|
* @param RestartHeatWaveClusterRequest
|
|
2319
2334
|
* @return RestartHeatWaveClusterResponse
|
|
2320
2335
|
* @throws OciError when an error occurs
|
|
2321
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2336
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/RestartHeatWaveCluster.ts.html |here} to see how to use RestartHeatWaveCluster API.
|
|
2322
2337
|
*/
|
|
2323
2338
|
restartHeatWaveCluster(restartHeatWaveClusterRequest) {
|
|
2324
2339
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2379,7 +2394,7 @@ class DbSystemClient {
|
|
|
2379
2394
|
* @param StartAnalyticsClusterRequest
|
|
2380
2395
|
* @return StartAnalyticsClusterResponse
|
|
2381
2396
|
* @throws OciError when an error occurs
|
|
2382
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/StartAnalyticsCluster.ts.html |here} to see how to use StartAnalyticsCluster API.
|
|
2383
2398
|
*/
|
|
2384
2399
|
startAnalyticsCluster(startAnalyticsClusterRequest) {
|
|
2385
2400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2438,7 +2453,7 @@ class DbSystemClient {
|
|
|
2438
2453
|
* @param StartDbSystemRequest
|
|
2439
2454
|
* @return StartDbSystemResponse
|
|
2440
2455
|
* @throws OciError when an error occurs
|
|
2441
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2456
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/StartDbSystem.ts.html |here} to see how to use StartDbSystem API.
|
|
2442
2457
|
*/
|
|
2443
2458
|
startDbSystem(startDbSystemRequest) {
|
|
2444
2459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2497,7 +2512,7 @@ class DbSystemClient {
|
|
|
2497
2512
|
* @param StartHeatWaveClusterRequest
|
|
2498
2513
|
* @return StartHeatWaveClusterResponse
|
|
2499
2514
|
* @throws OciError when an error occurs
|
|
2500
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2515
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/StartHeatWaveCluster.ts.html |here} to see how to use StartHeatWaveCluster API.
|
|
2501
2516
|
*/
|
|
2502
2517
|
startHeatWaveCluster(startHeatWaveClusterRequest) {
|
|
2503
2518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2558,7 +2573,7 @@ class DbSystemClient {
|
|
|
2558
2573
|
* @param StopAnalyticsClusterRequest
|
|
2559
2574
|
* @return StopAnalyticsClusterResponse
|
|
2560
2575
|
* @throws OciError when an error occurs
|
|
2561
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2576
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/StopAnalyticsCluster.ts.html |here} to see how to use StopAnalyticsCluster API.
|
|
2562
2577
|
*/
|
|
2563
2578
|
stopAnalyticsCluster(stopAnalyticsClusterRequest) {
|
|
2564
2579
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2620,7 +2635,7 @@ class DbSystemClient {
|
|
|
2620
2635
|
* @param StopDbSystemRequest
|
|
2621
2636
|
* @return StopDbSystemResponse
|
|
2622
2637
|
* @throws OciError when an error occurs
|
|
2623
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2638
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/StopDbSystem.ts.html |here} to see how to use StopDbSystem API.
|
|
2624
2639
|
*/
|
|
2625
2640
|
stopDbSystem(stopDbSystemRequest) {
|
|
2626
2641
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2680,7 +2695,7 @@ class DbSystemClient {
|
|
|
2680
2695
|
* @param StopHeatWaveClusterRequest
|
|
2681
2696
|
* @return StopHeatWaveClusterResponse
|
|
2682
2697
|
* @throws OciError when an error occurs
|
|
2683
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2698
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/StopHeatWaveCluster.ts.html |here} to see how to use StopHeatWaveCluster API.
|
|
2684
2699
|
*/
|
|
2685
2700
|
stopHeatWaveCluster(stopHeatWaveClusterRequest) {
|
|
2686
2701
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2741,7 +2756,7 @@ class DbSystemClient {
|
|
|
2741
2756
|
* @param UpdateAnalyticsClusterRequest
|
|
2742
2757
|
* @return UpdateAnalyticsClusterResponse
|
|
2743
2758
|
* @throws OciError when an error occurs
|
|
2744
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2759
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/UpdateAnalyticsCluster.ts.html |here} to see how to use UpdateAnalyticsCluster API.
|
|
2745
2760
|
*/
|
|
2746
2761
|
updateAnalyticsCluster(updateAnalyticsClusterRequest) {
|
|
2747
2762
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2808,7 +2823,7 @@ class DbSystemClient {
|
|
|
2808
2823
|
* @param UpdateDbSystemRequest
|
|
2809
2824
|
* @return UpdateDbSystemResponse
|
|
2810
2825
|
* @throws OciError when an error occurs
|
|
2811
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2826
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2812
2827
|
*/
|
|
2813
2828
|
updateDbSystem(updateDbSystemRequest) {
|
|
2814
2829
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2868,7 +2883,7 @@ class DbSystemClient {
|
|
|
2868
2883
|
* @param UpdateHeatWaveClusterRequest
|
|
2869
2884
|
* @return UpdateHeatWaveClusterResponse
|
|
2870
2885
|
* @throws OciError when an error occurs
|
|
2871
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2886
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/UpdateHeatWaveCluster.ts.html |here} to see how to use UpdateHeatWaveCluster API.
|
|
2872
2887
|
*/
|
|
2873
2888
|
updateHeatWaveCluster(updateHeatWaveClusterRequest) {
|
|
2874
2889
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2936,6 +2951,7 @@ class MysqlaasClient {
|
|
|
2936
2951
|
this["_endpoint"] = "";
|
|
2937
2952
|
this["_defaultHeaders"] = {};
|
|
2938
2953
|
this._circuitBreaker = null;
|
|
2954
|
+
this._httpOptions = undefined;
|
|
2939
2955
|
const requestSigner = params.authenticationDetailsProvider
|
|
2940
2956
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
2941
2957
|
: null;
|
|
@@ -2944,6 +2960,9 @@ class MysqlaasClient {
|
|
|
2944
2960
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
2945
2961
|
? clientConfiguration.circuitBreaker.circuit
|
|
2946
2962
|
: null;
|
|
2963
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
2964
|
+
? clientConfiguration.httpOptions
|
|
2965
|
+
: undefined;
|
|
2947
2966
|
}
|
|
2948
2967
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
2949
2968
|
const specCircuitBreakerEnabled = true;
|
|
@@ -2953,7 +2972,8 @@ class MysqlaasClient {
|
|
|
2953
2972
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
2954
2973
|
}
|
|
2955
2974
|
this._httpClient =
|
|
2956
|
-
params.httpClient ||
|
|
2975
|
+
params.httpClient ||
|
|
2976
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
2957
2977
|
if (params.authenticationDetailsProvider &&
|
|
2958
2978
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
2959
2979
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -3027,7 +3047,7 @@ class MysqlaasClient {
|
|
|
3027
3047
|
* @param CreateConfigurationRequest
|
|
3028
3048
|
* @return CreateConfigurationResponse
|
|
3029
3049
|
* @throws OciError when an error occurs
|
|
3030
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3050
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
3031
3051
|
*/
|
|
3032
3052
|
createConfiguration(createConfigurationRequest) {
|
|
3033
3053
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3100,7 +3120,7 @@ class MysqlaasClient {
|
|
|
3100
3120
|
* @param DeleteConfigurationRequest
|
|
3101
3121
|
* @return DeleteConfigurationResponse
|
|
3102
3122
|
* @throws OciError when an error occurs
|
|
3103
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3123
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
3104
3124
|
*/
|
|
3105
3125
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
3106
3126
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3154,7 +3174,7 @@ class MysqlaasClient {
|
|
|
3154
3174
|
* @param GetConfigurationRequest
|
|
3155
3175
|
* @return GetConfigurationResponse
|
|
3156
3176
|
* @throws OciError when an error occurs
|
|
3157
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3177
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
3158
3178
|
*/
|
|
3159
3179
|
getConfiguration(getConfigurationRequest) {
|
|
3160
3180
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3224,7 +3244,7 @@ class MysqlaasClient {
|
|
|
3224
3244
|
* @param ListConfigurationsRequest
|
|
3225
3245
|
* @return ListConfigurationsResponse
|
|
3226
3246
|
* @throws OciError when an error occurs
|
|
3227
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3247
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
3228
3248
|
*/
|
|
3229
3249
|
listConfigurations(listConfigurationsRequest) {
|
|
3230
3250
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3338,7 +3358,7 @@ class MysqlaasClient {
|
|
|
3338
3358
|
* @param ListShapesRequest
|
|
3339
3359
|
* @return ListShapesResponse
|
|
3340
3360
|
* @throws OciError when an error occurs
|
|
3341
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
3342
3362
|
*/
|
|
3343
3363
|
listShapes(listShapesRequest) {
|
|
3344
3364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3400,7 +3420,7 @@ class MysqlaasClient {
|
|
|
3400
3420
|
* @param ListVersionsRequest
|
|
3401
3421
|
* @return ListVersionsResponse
|
|
3402
3422
|
* @throws OciError when an error occurs
|
|
3403
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3423
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/ListVersions.ts.html |here} to see how to use ListVersions API.
|
|
3404
3424
|
*/
|
|
3405
3425
|
listVersions(listVersionsRequest) {
|
|
3406
3426
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3456,7 +3476,7 @@ class MysqlaasClient {
|
|
|
3456
3476
|
* @param UpdateConfigurationRequest
|
|
3457
3477
|
* @return UpdateConfigurationResponse
|
|
3458
3478
|
* @throws OciError when an error occurs
|
|
3459
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3479
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
3460
3480
|
*/
|
|
3461
3481
|
updateConfiguration(updateConfigurationRequest) {
|
|
3462
3482
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3528,6 +3548,7 @@ class WorkRequestsClient {
|
|
|
3528
3548
|
this["_endpoint"] = "";
|
|
3529
3549
|
this["_defaultHeaders"] = {};
|
|
3530
3550
|
this._circuitBreaker = null;
|
|
3551
|
+
this._httpOptions = undefined;
|
|
3531
3552
|
const requestSigner = params.authenticationDetailsProvider
|
|
3532
3553
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
3533
3554
|
: null;
|
|
@@ -3536,6 +3557,9 @@ class WorkRequestsClient {
|
|
|
3536
3557
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
3537
3558
|
? clientConfiguration.circuitBreaker.circuit
|
|
3538
3559
|
: null;
|
|
3560
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
3561
|
+
? clientConfiguration.httpOptions
|
|
3562
|
+
: undefined;
|
|
3539
3563
|
}
|
|
3540
3564
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
3541
3565
|
const specCircuitBreakerEnabled = true;
|
|
@@ -3545,7 +3569,8 @@ class WorkRequestsClient {
|
|
|
3545
3569
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
3546
3570
|
}
|
|
3547
3571
|
this._httpClient =
|
|
3548
|
-
params.httpClient ||
|
|
3572
|
+
params.httpClient ||
|
|
3573
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
3549
3574
|
if (params.authenticationDetailsProvider &&
|
|
3550
3575
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
3551
3576
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -3619,7 +3644,7 @@ class WorkRequestsClient {
|
|
|
3619
3644
|
* @param GetWorkRequestRequest
|
|
3620
3645
|
* @return GetWorkRequestResponse
|
|
3621
3646
|
* @throws OciError when an error occurs
|
|
3622
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3647
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
3623
3648
|
*/
|
|
3624
3649
|
getWorkRequest(getWorkRequestRequest) {
|
|
3625
3650
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3687,7 +3712,7 @@ class WorkRequestsClient {
|
|
|
3687
3712
|
* @param ListWorkRequestErrorsRequest
|
|
3688
3713
|
* @return ListWorkRequestErrorsResponse
|
|
3689
3714
|
* @throws OciError when an error occurs
|
|
3690
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3715
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3691
3716
|
*/
|
|
3692
3717
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3693
3718
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3792,7 +3817,7 @@ class WorkRequestsClient {
|
|
|
3792
3817
|
* @param ListWorkRequestLogsRequest
|
|
3793
3818
|
* @return ListWorkRequestLogsResponse
|
|
3794
3819
|
* @throws OciError when an error occurs
|
|
3795
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3820
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3796
3821
|
*/
|
|
3797
3822
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3798
3823
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3897,7 +3922,7 @@ class WorkRequestsClient {
|
|
|
3897
3922
|
* @param ListWorkRequestsRequest
|
|
3898
3923
|
* @return ListWorkRequestsResponse
|
|
3899
3924
|
* @throws OciError when an error occurs
|
|
3900
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3925
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/mysql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3901
3926
|
*/
|
|
3902
3927
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3903
3928
|
return __awaiter(this, void 0, void 0, function* () {
|