oci-mysql 2.77.0 → 2.78.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 +78 -52
- package/lib/client.js +95 -46
- package/lib/client.js.map +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/create-replica-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/delete-replica-request.d.ts +1 -1
- package/lib/request/generate-heat-wave-cluster-memory-estimate-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-replica-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-replicas-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-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-db-system-request.d.ts +1 -1
- package/lib/request/start-heat-wave-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-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/lib/request/update-replica-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -51,6 +51,7 @@ const mysqlaas_waiter_1 = require("./mysqlaas-waiter");
|
|
|
51
51
|
const replicas_waiter_1 = require("./replicas-waiter");
|
|
52
52
|
const workrequests_waiter_1 = require("./workrequests-waiter");
|
|
53
53
|
const oci_common_2 = require("oci-common");
|
|
54
|
+
const Breaker = require("opossum");
|
|
54
55
|
// ===============================================
|
|
55
56
|
// This file is autogenerated - Please do not edit
|
|
56
57
|
// ===============================================
|
|
@@ -187,6 +188,14 @@ class ChannelsClient {
|
|
|
187
188
|
}
|
|
188
189
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
189
190
|
}
|
|
191
|
+
/**
|
|
192
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
193
|
+
*/
|
|
194
|
+
shutdownCircuitBreaker() {
|
|
195
|
+
if (this._circuitBreaker) {
|
|
196
|
+
this._circuitBreaker.shutdown();
|
|
197
|
+
}
|
|
198
|
+
}
|
|
190
199
|
/**
|
|
191
200
|
* Creates a Channel to establish replication from a source to a target.
|
|
192
201
|
*
|
|
@@ -194,7 +203,7 @@ class ChannelsClient {
|
|
|
194
203
|
* @param CreateChannelRequest
|
|
195
204
|
* @return CreateChannelResponse
|
|
196
205
|
* @throws OciError when an error occurs
|
|
197
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
206
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/CreateChannel.ts.html |here} to see how to use CreateChannel API.
|
|
198
207
|
*/
|
|
199
208
|
createChannel(createChannelRequest) {
|
|
200
209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -262,7 +271,7 @@ class ChannelsClient {
|
|
|
262
271
|
* @param DeleteChannelRequest
|
|
263
272
|
* @return DeleteChannelResponse
|
|
264
273
|
* @throws OciError when an error occurs
|
|
265
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
274
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
|
|
266
275
|
*/
|
|
267
276
|
deleteChannel(deleteChannelRequest) {
|
|
268
277
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -325,7 +334,7 @@ class ChannelsClient {
|
|
|
325
334
|
* @param GetChannelRequest
|
|
326
335
|
* @return GetChannelResponse
|
|
327
336
|
* @throws OciError when an error occurs
|
|
328
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
337
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/GetChannel.ts.html |here} to see how to use GetChannel API.
|
|
329
338
|
*/
|
|
330
339
|
getChannel(getChannelRequest) {
|
|
331
340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -389,7 +398,7 @@ class ChannelsClient {
|
|
|
389
398
|
* @param ListChannelsRequest
|
|
390
399
|
* @return ListChannelsResponse
|
|
391
400
|
* @throws OciError when an error occurs
|
|
392
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
401
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ListChannels.ts.html |here} to see how to use ListChannels API.
|
|
393
402
|
*/
|
|
394
403
|
listChannels(listChannelsRequest) {
|
|
395
404
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -503,7 +512,7 @@ class ChannelsClient {
|
|
|
503
512
|
* @param ResetChannelRequest
|
|
504
513
|
* @return ResetChannelResponse
|
|
505
514
|
* @throws OciError when an error occurs
|
|
506
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
515
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ResetChannel.ts.html |here} to see how to use ResetChannel API.
|
|
507
516
|
*/
|
|
508
517
|
resetChannel(resetChannelRequest) {
|
|
509
518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -567,7 +576,7 @@ class ChannelsClient {
|
|
|
567
576
|
* @param ResumeChannelRequest
|
|
568
577
|
* @return ResumeChannelResponse
|
|
569
578
|
* @throws OciError when an error occurs
|
|
570
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
579
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ResumeChannel.ts.html |here} to see how to use ResumeChannel API.
|
|
571
580
|
*/
|
|
572
581
|
resumeChannel(resumeChannelRequest) {
|
|
573
582
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -632,7 +641,7 @@ class ChannelsClient {
|
|
|
632
641
|
* @param UpdateChannelRequest
|
|
633
642
|
* @return UpdateChannelResponse
|
|
634
643
|
* @throws OciError when an error occurs
|
|
635
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
|
|
636
645
|
*/
|
|
637
646
|
updateChannel(updateChannelRequest) {
|
|
638
647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -825,6 +834,14 @@ class DbBackupsClient {
|
|
|
825
834
|
}
|
|
826
835
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
827
836
|
}
|
|
837
|
+
/**
|
|
838
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
839
|
+
*/
|
|
840
|
+
shutdownCircuitBreaker() {
|
|
841
|
+
if (this._circuitBreaker) {
|
|
842
|
+
this._circuitBreaker.shutdown();
|
|
843
|
+
}
|
|
844
|
+
}
|
|
828
845
|
/**
|
|
829
846
|
* Moves a DB System Backup into a different compartment.
|
|
830
847
|
* When provided, If-Match is checked against ETag values of the Backup.
|
|
@@ -833,7 +850,7 @@ class DbBackupsClient {
|
|
|
833
850
|
* @param ChangeBackupCompartmentRequest
|
|
834
851
|
* @return ChangeBackupCompartmentResponse
|
|
835
852
|
* @throws OciError when an error occurs
|
|
836
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
853
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
837
854
|
*/
|
|
838
855
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
839
856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -896,7 +913,7 @@ class DbBackupsClient {
|
|
|
896
913
|
* @param CreateBackupRequest
|
|
897
914
|
* @return CreateBackupResponse
|
|
898
915
|
* @throws OciError when an error occurs
|
|
899
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
916
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
900
917
|
*/
|
|
901
918
|
createBackup(createBackupRequest) {
|
|
902
919
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -965,7 +982,7 @@ class DbBackupsClient {
|
|
|
965
982
|
* @param DeleteBackupRequest
|
|
966
983
|
* @return DeleteBackupResponse
|
|
967
984
|
* @throws OciError when an error occurs
|
|
968
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
985
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
969
986
|
*/
|
|
970
987
|
deleteBackup(deleteBackupRequest) {
|
|
971
988
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1025,7 +1042,7 @@ class DbBackupsClient {
|
|
|
1025
1042
|
* @param GetBackupRequest
|
|
1026
1043
|
* @return GetBackupResponse
|
|
1027
1044
|
* @throws OciError when an error occurs
|
|
1028
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1045
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
1029
1046
|
*/
|
|
1030
1047
|
getBackup(getBackupRequest) {
|
|
1031
1048
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1090,7 +1107,7 @@ class DbBackupsClient {
|
|
|
1090
1107
|
* @param ListBackupsRequest
|
|
1091
1108
|
* @return ListBackupsResponse
|
|
1092
1109
|
* @throws OciError when an error occurs
|
|
1093
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1110
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
1094
1111
|
*/
|
|
1095
1112
|
listBackups(listBackupsRequest) {
|
|
1096
1113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1202,7 +1219,7 @@ class DbBackupsClient {
|
|
|
1202
1219
|
* @param UpdateBackupRequest
|
|
1203
1220
|
* @return UpdateBackupResponse
|
|
1204
1221
|
* @throws OciError when an error occurs
|
|
1205
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1222
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
1206
1223
|
*/
|
|
1207
1224
|
updateBackup(updateBackupRequest) {
|
|
1208
1225
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1398,6 +1415,14 @@ class DbSystemClient {
|
|
|
1398
1415
|
}
|
|
1399
1416
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
1400
1417
|
}
|
|
1418
|
+
/**
|
|
1419
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
1420
|
+
*/
|
|
1421
|
+
shutdownCircuitBreaker() {
|
|
1422
|
+
if (this._circuitBreaker) {
|
|
1423
|
+
this._circuitBreaker.shutdown();
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1401
1426
|
/**
|
|
1402
1427
|
* Adds a HeatWave cluster to the DB System.
|
|
1403
1428
|
*
|
|
@@ -1405,7 +1430,7 @@ class DbSystemClient {
|
|
|
1405
1430
|
* @param AddHeatWaveClusterRequest
|
|
1406
1431
|
* @return AddHeatWaveClusterResponse
|
|
1407
1432
|
* @throws OciError when an error occurs
|
|
1408
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1433
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/AddHeatWaveCluster.ts.html |here} to see how to use AddHeatWaveCluster API.
|
|
1409
1434
|
*/
|
|
1410
1435
|
addHeatWaveCluster(addHeatWaveClusterRequest) {
|
|
1411
1436
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1477,7 +1502,7 @@ class DbSystemClient {
|
|
|
1477
1502
|
* @param CreateDbSystemRequest
|
|
1478
1503
|
* @return CreateDbSystemResponse
|
|
1479
1504
|
* @throws OciError when an error occurs
|
|
1480
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1505
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
1481
1506
|
*/
|
|
1482
1507
|
createDbSystem(createDbSystemRequest) {
|
|
1483
1508
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1552,7 +1577,7 @@ class DbSystemClient {
|
|
|
1552
1577
|
* @param DeleteDbSystemRequest
|
|
1553
1578
|
* @return DeleteDbSystemResponse
|
|
1554
1579
|
* @throws OciError when an error occurs
|
|
1555
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1580
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
1556
1581
|
*/
|
|
1557
1582
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
1558
1583
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1614,7 +1639,7 @@ class DbSystemClient {
|
|
|
1614
1639
|
* @param DeleteHeatWaveClusterRequest
|
|
1615
1640
|
* @return DeleteHeatWaveClusterResponse
|
|
1616
1641
|
* @throws OciError when an error occurs
|
|
1617
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1642
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/DeleteHeatWaveCluster.ts.html |here} to see how to use DeleteHeatWaveCluster API.
|
|
1618
1643
|
*/
|
|
1619
1644
|
deleteHeatWaveCluster(deleteHeatWaveClusterRequest) {
|
|
1620
1645
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1675,7 +1700,7 @@ class DbSystemClient {
|
|
|
1675
1700
|
* @param GenerateHeatWaveClusterMemoryEstimateRequest
|
|
1676
1701
|
* @return GenerateHeatWaveClusterMemoryEstimateResponse
|
|
1677
1702
|
* @throws OciError when an error occurs
|
|
1678
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1703
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/GenerateHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GenerateHeatWaveClusterMemoryEstimate API.
|
|
1679
1704
|
*/
|
|
1680
1705
|
generateHeatWaveClusterMemoryEstimate(generateHeatWaveClusterMemoryEstimateRequest) {
|
|
1681
1706
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1739,7 +1764,7 @@ class DbSystemClient {
|
|
|
1739
1764
|
* @param GetDbSystemRequest
|
|
1740
1765
|
* @return GetDbSystemResponse
|
|
1741
1766
|
* @throws OciError when an error occurs
|
|
1742
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1767
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
1743
1768
|
*/
|
|
1744
1769
|
getDbSystem(getDbSystemRequest) {
|
|
1745
1770
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1803,7 +1828,7 @@ class DbSystemClient {
|
|
|
1803
1828
|
* @param GetHeatWaveClusterRequest
|
|
1804
1829
|
* @return GetHeatWaveClusterResponse
|
|
1805
1830
|
* @throws OciError when an error occurs
|
|
1806
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1831
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/GetHeatWaveCluster.ts.html |here} to see how to use GetHeatWaveCluster API.
|
|
1807
1832
|
*/
|
|
1808
1833
|
getHeatWaveCluster(getHeatWaveClusterRequest) {
|
|
1809
1834
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1869,7 +1894,7 @@ class DbSystemClient {
|
|
|
1869
1894
|
* @param GetHeatWaveClusterMemoryEstimateRequest
|
|
1870
1895
|
* @return GetHeatWaveClusterMemoryEstimateResponse
|
|
1871
1896
|
* @throws OciError when an error occurs
|
|
1872
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1897
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/GetHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GetHeatWaveClusterMemoryEstimate API.
|
|
1873
1898
|
*/
|
|
1874
1899
|
getHeatWaveClusterMemoryEstimate(getHeatWaveClusterMemoryEstimateRequest) {
|
|
1875
1900
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1929,7 +1954,7 @@ class DbSystemClient {
|
|
|
1929
1954
|
* @param ListDbSystemsRequest
|
|
1930
1955
|
* @return ListDbSystemsResponse
|
|
1931
1956
|
* @throws OciError when an error occurs
|
|
1932
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1957
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
1933
1958
|
*/
|
|
1934
1959
|
listDbSystems(listDbSystemsRequest) {
|
|
1935
1960
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2043,7 +2068,7 @@ class DbSystemClient {
|
|
|
2043
2068
|
* @param RestartDbSystemRequest
|
|
2044
2069
|
* @return RestartDbSystemResponse
|
|
2045
2070
|
* @throws OciError when an error occurs
|
|
2046
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2071
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/RestartDbSystem.ts.html |here} to see how to use RestartDbSystem API.
|
|
2047
2072
|
*/
|
|
2048
2073
|
restartDbSystem(restartDbSystemRequest) {
|
|
2049
2074
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2105,7 +2130,7 @@ class DbSystemClient {
|
|
|
2105
2130
|
* @param RestartHeatWaveClusterRequest
|
|
2106
2131
|
* @return RestartHeatWaveClusterResponse
|
|
2107
2132
|
* @throws OciError when an error occurs
|
|
2108
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2133
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/RestartHeatWaveCluster.ts.html |here} to see how to use RestartHeatWaveCluster API.
|
|
2109
2134
|
*/
|
|
2110
2135
|
restartHeatWaveCluster(restartHeatWaveClusterRequest) {
|
|
2111
2136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2166,7 +2191,7 @@ class DbSystemClient {
|
|
|
2166
2191
|
* @param StartDbSystemRequest
|
|
2167
2192
|
* @return StartDbSystemResponse
|
|
2168
2193
|
* @throws OciError when an error occurs
|
|
2169
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2194
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/StartDbSystem.ts.html |here} to see how to use StartDbSystem API.
|
|
2170
2195
|
*/
|
|
2171
2196
|
startDbSystem(startDbSystemRequest) {
|
|
2172
2197
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2227,7 +2252,7 @@ class DbSystemClient {
|
|
|
2227
2252
|
* @param StartHeatWaveClusterRequest
|
|
2228
2253
|
* @return StartHeatWaveClusterResponse
|
|
2229
2254
|
* @throws OciError when an error occurs
|
|
2230
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2255
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/StartHeatWaveCluster.ts.html |here} to see how to use StartHeatWaveCluster API.
|
|
2231
2256
|
*/
|
|
2232
2257
|
startHeatWaveCluster(startHeatWaveClusterRequest) {
|
|
2233
2258
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2291,7 +2316,7 @@ class DbSystemClient {
|
|
|
2291
2316
|
* @param StopDbSystemRequest
|
|
2292
2317
|
* @return StopDbSystemResponse
|
|
2293
2318
|
* @throws OciError when an error occurs
|
|
2294
|
-
* @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.78.0/mysql/StopDbSystem.ts.html |here} to see how to use StopDbSystem API.
|
|
2295
2320
|
*/
|
|
2296
2321
|
stopDbSystem(stopDbSystemRequest) {
|
|
2297
2322
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2353,7 +2378,7 @@ class DbSystemClient {
|
|
|
2353
2378
|
* @param StopHeatWaveClusterRequest
|
|
2354
2379
|
* @return StopHeatWaveClusterResponse
|
|
2355
2380
|
* @throws OciError when an error occurs
|
|
2356
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2381
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/StopHeatWaveCluster.ts.html |here} to see how to use StopHeatWaveCluster API.
|
|
2357
2382
|
*/
|
|
2358
2383
|
stopHeatWaveCluster(stopHeatWaveClusterRequest) {
|
|
2359
2384
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2422,7 +2447,7 @@ class DbSystemClient {
|
|
|
2422
2447
|
* @param UpdateDbSystemRequest
|
|
2423
2448
|
* @return UpdateDbSystemResponse
|
|
2424
2449
|
* @throws OciError when an error occurs
|
|
2425
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2450
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2426
2451
|
*/
|
|
2427
2452
|
updateDbSystem(updateDbSystemRequest) {
|
|
2428
2453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2484,7 +2509,7 @@ class DbSystemClient {
|
|
|
2484
2509
|
* @param UpdateHeatWaveClusterRequest
|
|
2485
2510
|
* @return UpdateHeatWaveClusterResponse
|
|
2486
2511
|
* @throws OciError when an error occurs
|
|
2487
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2512
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/UpdateHeatWaveCluster.ts.html |here} to see how to use UpdateHeatWaveCluster API.
|
|
2488
2513
|
*/
|
|
2489
2514
|
updateHeatWaveCluster(updateHeatWaveClusterRequest) {
|
|
2490
2515
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2676,13 +2701,21 @@ class MysqlaasClient {
|
|
|
2676
2701
|
}
|
|
2677
2702
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
2678
2703
|
}
|
|
2704
|
+
/**
|
|
2705
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
2706
|
+
*/
|
|
2707
|
+
shutdownCircuitBreaker() {
|
|
2708
|
+
if (this._circuitBreaker) {
|
|
2709
|
+
this._circuitBreaker.shutdown();
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2679
2712
|
/**
|
|
2680
2713
|
* Creates a new Configuration.
|
|
2681
2714
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2682
2715
|
* @param CreateConfigurationRequest
|
|
2683
2716
|
* @return CreateConfigurationResponse
|
|
2684
2717
|
* @throws OciError when an error occurs
|
|
2685
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2718
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
2686
2719
|
*/
|
|
2687
2720
|
createConfiguration(createConfigurationRequest) {
|
|
2688
2721
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2757,7 +2790,7 @@ class MysqlaasClient {
|
|
|
2757
2790
|
* @param DeleteConfigurationRequest
|
|
2758
2791
|
* @return DeleteConfigurationResponse
|
|
2759
2792
|
* @throws OciError when an error occurs
|
|
2760
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2793
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
2761
2794
|
*/
|
|
2762
2795
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
2763
2796
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2813,7 +2846,7 @@ class MysqlaasClient {
|
|
|
2813
2846
|
* @param GetConfigurationRequest
|
|
2814
2847
|
* @return GetConfigurationResponse
|
|
2815
2848
|
* @throws OciError when an error occurs
|
|
2816
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2849
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
2817
2850
|
*/
|
|
2818
2851
|
getConfiguration(getConfigurationRequest) {
|
|
2819
2852
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2885,7 +2918,7 @@ class MysqlaasClient {
|
|
|
2885
2918
|
* @param ListConfigurationsRequest
|
|
2886
2919
|
* @return ListConfigurationsResponse
|
|
2887
2920
|
* @throws OciError when an error occurs
|
|
2888
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2921
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
2889
2922
|
*/
|
|
2890
2923
|
listConfigurations(listConfigurationsRequest) {
|
|
2891
2924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3001,7 +3034,7 @@ class MysqlaasClient {
|
|
|
3001
3034
|
* @param ListShapesRequest
|
|
3002
3035
|
* @return ListShapesResponse
|
|
3003
3036
|
* @throws OciError when an error occurs
|
|
3004
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3037
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
3005
3038
|
*/
|
|
3006
3039
|
listShapes(listShapesRequest) {
|
|
3007
3040
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3065,7 +3098,7 @@ class MysqlaasClient {
|
|
|
3065
3098
|
* @param ListVersionsRequest
|
|
3066
3099
|
* @return ListVersionsResponse
|
|
3067
3100
|
* @throws OciError when an error occurs
|
|
3068
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3101
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ListVersions.ts.html |here} to see how to use ListVersions API.
|
|
3069
3102
|
*/
|
|
3070
3103
|
listVersions(listVersionsRequest) {
|
|
3071
3104
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3123,7 +3156,7 @@ class MysqlaasClient {
|
|
|
3123
3156
|
* @param UpdateConfigurationRequest
|
|
3124
3157
|
* @return UpdateConfigurationResponse
|
|
3125
3158
|
* @throws OciError when an error occurs
|
|
3126
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
3127
3160
|
*/
|
|
3128
3161
|
updateConfiguration(updateConfigurationRequest) {
|
|
3129
3162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3319,13 +3352,21 @@ class ReplicasClient {
|
|
|
3319
3352
|
}
|
|
3320
3353
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
3321
3354
|
}
|
|
3355
|
+
/**
|
|
3356
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
3357
|
+
*/
|
|
3358
|
+
shutdownCircuitBreaker() {
|
|
3359
|
+
if (this._circuitBreaker) {
|
|
3360
|
+
this._circuitBreaker.shutdown();
|
|
3361
|
+
}
|
|
3362
|
+
}
|
|
3322
3363
|
/**
|
|
3323
3364
|
* Creates a DB System read replica.
|
|
3324
3365
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3325
3366
|
* @param CreateReplicaRequest
|
|
3326
3367
|
* @return CreateReplicaResponse
|
|
3327
3368
|
* @throws OciError when an error occurs
|
|
3328
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3369
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/CreateReplica.ts.html |here} to see how to use CreateReplica API.
|
|
3329
3370
|
*/
|
|
3330
3371
|
createReplica(createReplicaRequest) {
|
|
3331
3372
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3398,7 +3439,7 @@ class ReplicasClient {
|
|
|
3398
3439
|
* @param DeleteReplicaRequest
|
|
3399
3440
|
* @return DeleteReplicaResponse
|
|
3400
3441
|
* @throws OciError when an error occurs
|
|
3401
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3442
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/DeleteReplica.ts.html |here} to see how to use DeleteReplica API.
|
|
3402
3443
|
*/
|
|
3403
3444
|
deleteReplica(deleteReplicaRequest) {
|
|
3404
3445
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3458,7 +3499,7 @@ class ReplicasClient {
|
|
|
3458
3499
|
* @param GetReplicaRequest
|
|
3459
3500
|
* @return GetReplicaResponse
|
|
3460
3501
|
* @throws OciError when an error occurs
|
|
3461
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3502
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/GetReplica.ts.html |here} to see how to use GetReplica API.
|
|
3462
3503
|
*/
|
|
3463
3504
|
getReplica(getReplicaRequest) {
|
|
3464
3505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3522,7 +3563,7 @@ class ReplicasClient {
|
|
|
3522
3563
|
* @param ListReplicasRequest
|
|
3523
3564
|
* @return ListReplicasResponse
|
|
3524
3565
|
* @throws OciError when an error occurs
|
|
3525
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3566
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ListReplicas.ts.html |here} to see how to use ListReplicas API.
|
|
3526
3567
|
*/
|
|
3527
3568
|
listReplicas(listReplicasRequest) {
|
|
3528
3569
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3635,7 +3676,7 @@ class ReplicasClient {
|
|
|
3635
3676
|
* @param UpdateReplicaRequest
|
|
3636
3677
|
* @return UpdateReplicaResponse
|
|
3637
3678
|
* @throws OciError when an error occurs
|
|
3638
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3679
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/UpdateReplica.ts.html |here} to see how to use UpdateReplica API.
|
|
3639
3680
|
*/
|
|
3640
3681
|
updateReplica(updateReplicaRequest) {
|
|
3641
3682
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3827,13 +3868,21 @@ class WorkRequestsClient {
|
|
|
3827
3868
|
}
|
|
3828
3869
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
3829
3870
|
}
|
|
3871
|
+
/**
|
|
3872
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
3873
|
+
*/
|
|
3874
|
+
shutdownCircuitBreaker() {
|
|
3875
|
+
if (this._circuitBreaker) {
|
|
3876
|
+
this._circuitBreaker.shutdown();
|
|
3877
|
+
}
|
|
3878
|
+
}
|
|
3830
3879
|
/**
|
|
3831
3880
|
* Gets the status of the work request with the given ID.
|
|
3832
3881
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3833
3882
|
* @param GetWorkRequestRequest
|
|
3834
3883
|
* @return GetWorkRequestResponse
|
|
3835
3884
|
* @throws OciError when an error occurs
|
|
3836
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3885
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
3837
3886
|
*/
|
|
3838
3887
|
getWorkRequest(getWorkRequestRequest) {
|
|
3839
3888
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3903,7 +3952,7 @@ class WorkRequestsClient {
|
|
|
3903
3952
|
* @param ListWorkRequestErrorsRequest
|
|
3904
3953
|
* @return ListWorkRequestErrorsResponse
|
|
3905
3954
|
* @throws OciError when an error occurs
|
|
3906
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3955
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3907
3956
|
*/
|
|
3908
3957
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3909
3958
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4010,7 +4059,7 @@ class WorkRequestsClient {
|
|
|
4010
4059
|
* @param ListWorkRequestLogsRequest
|
|
4011
4060
|
* @return ListWorkRequestLogsResponse
|
|
4012
4061
|
* @throws OciError when an error occurs
|
|
4013
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4062
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
4014
4063
|
*/
|
|
4015
4064
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
4016
4065
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4117,7 +4166,7 @@ class WorkRequestsClient {
|
|
|
4117
4166
|
* @param ListWorkRequestsRequest
|
|
4118
4167
|
* @return ListWorkRequestsResponse
|
|
4119
4168
|
* @throws OciError when an error occurs
|
|
4120
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4169
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/mysql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
4121
4170
|
*/
|
|
4122
4171
|
listWorkRequests(listWorkRequestsRequest) {
|
|
4123
4172
|
return __awaiter(this, void 0, void 0, function* () {
|