oci-mysql 2.68.2 → 2.70.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 +46 -147
- package/lib/client.js +46 -628
- package/lib/client.js.map +1 -1
- package/lib/dbsystem-waiter.d.ts +0 -8
- package/lib/dbsystem-waiter.js +0 -12
- package/lib/dbsystem-waiter.js.map +1 -1
- package/lib/model/db-system-summary.d.ts +0 -7
- package/lib/model/db-system-summary.js +0 -6
- package/lib/model/db-system-summary.js.map +1 -1
- package/lib/model/db-system.d.ts +0 -7
- package/lib/model/db-system.js +0 -6
- package/lib/model/db-system.js.map +1 -1
- package/lib/model/index.d.ts +0 -18
- package/lib/model/index.js +2 -20
- package/lib/model/index.js.map +1 -1
- package/lib/model/shape-summary.d.ts +0 -1
- package/lib/model/shape-summary.js +0 -1
- package/lib/model/shape-summary.js.map +1 -1
- package/lib/model/work-request-operation-type.d.ts +0 -7
- package/lib/model/work-request-operation-type.js +0 -7
- package/lib/model/work-request-operation-type.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/index.d.ts +0 -18
- package/lib/request/index.js.map +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 -9
- package/lib/request/list-db-systems-request.js.map +1 -1
- package/lib/request/list-replicas-request.d.ts +1 -1
- package/lib/request/list-shapes-request.d.ts +1 -2
- package/lib/request/list-shapes-request.js +0 -1
- package/lib/request/list-shapes-request.js.map +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/lib/response/index.d.ts +0 -18
- package/package.json +3 -3
- package/lib/model/add-analytics-cluster-details.d.ts +0 -35
- package/lib/model/add-analytics-cluster-details.js +0 -29
- package/lib/model/add-analytics-cluster-details.js.map +0 -1
- package/lib/model/analytics-cluster-memory-estimate-status.d.ts +0 -34
- package/lib/model/analytics-cluster-memory-estimate-status.js +0 -45
- package/lib/model/analytics-cluster-memory-estimate-status.js.map +0 -1
- package/lib/model/analytics-cluster-memory-estimate.d.ts +0 -49
- package/lib/model/analytics-cluster-memory-estimate.js +0 -61
- package/lib/model/analytics-cluster-memory-estimate.js.map +0 -1
- package/lib/model/analytics-cluster-node.d.ts +0 -53
- package/lib/model/analytics-cluster-node.js +0 -44
- package/lib/model/analytics-cluster-node.js.map +0 -1
- package/lib/model/analytics-cluster-schema-memory-estimate.d.ts +0 -35
- package/lib/model/analytics-cluster-schema-memory-estimate.js +0 -61
- package/lib/model/analytics-cluster-schema-memory-estimate.js.map +0 -1
- package/lib/model/analytics-cluster-summary.d.ts +0 -47
- package/lib/model/analytics-cluster-summary.js +0 -29
- package/lib/model/analytics-cluster-summary.js.map +0 -1
- package/lib/model/analytics-cluster-table-memory-estimate.d.ts +0 -58
- package/lib/model/analytics-cluster-table-memory-estimate.js +0 -29
- package/lib/model/analytics-cluster-table-memory-estimate.js.map +0 -1
- package/lib/model/analytics-cluster.d.ts +0 -74
- package/lib/model/analytics-cluster.js +0 -76
- package/lib/model/analytics-cluster.js.map +0 -1
- package/lib/model/update-analytics-cluster-details.d.ts +0 -41
- package/lib/model/update-analytics-cluster-details.js +0 -29
- package/lib/model/update-analytics-cluster-details.js.map +0 -1
- package/lib/request/add-analytics-cluster-request.d.ts +0 -53
- package/lib/request/add-analytics-cluster-request.js +0 -15
- package/lib/request/add-analytics-cluster-request.js.map +0 -1
- package/lib/request/delete-analytics-cluster-request.d.ts +0 -38
- package/lib/request/delete-analytics-cluster-request.js +0 -15
- package/lib/request/delete-analytics-cluster-request.js.map +0 -1
- package/lib/request/generate-analytics-cluster-memory-estimate-request.d.ts +0 -39
- package/lib/request/generate-analytics-cluster-memory-estimate-request.js +0 -15
- package/lib/request/generate-analytics-cluster-memory-estimate-request.js.map +0 -1
- package/lib/request/get-analytics-cluster-memory-estimate-request.d.ts +0 -29
- package/lib/request/get-analytics-cluster-memory-estimate-request.js +0 -15
- package/lib/request/get-analytics-cluster-memory-estimate-request.js.map +0 -1
- package/lib/request/get-analytics-cluster-request.d.ts +0 -38
- package/lib/request/get-analytics-cluster-request.js +0 -15
- package/lib/request/get-analytics-cluster-request.js.map +0 -1
- package/lib/request/restart-analytics-cluster-request.d.ts +0 -48
- package/lib/request/restart-analytics-cluster-request.js +0 -15
- package/lib/request/restart-analytics-cluster-request.js.map +0 -1
- package/lib/request/start-analytics-cluster-request.d.ts +0 -48
- package/lib/request/start-analytics-cluster-request.js +0 -15
- package/lib/request/start-analytics-cluster-request.js.map +0 -1
- package/lib/request/stop-analytics-cluster-request.d.ts +0 -48
- package/lib/request/stop-analytics-cluster-request.js +0 -15
- package/lib/request/stop-analytics-cluster-request.js.map +0 -1
- package/lib/request/update-analytics-cluster-request.d.ts +0 -43
- package/lib/request/update-analytics-cluster-request.js +0 -15
- package/lib/request/update-analytics-cluster-request.js.map +0 -1
- package/lib/response/add-analytics-cluster-response.d.ts +0 -35
- package/lib/response/add-analytics-cluster-response.js +0 -15
- package/lib/response/add-analytics-cluster-response.js.map +0 -1
- package/lib/response/delete-analytics-cluster-response.d.ts +0 -25
- package/lib/response/delete-analytics-cluster-response.js +0 -15
- package/lib/response/delete-analytics-cluster-response.js.map +0 -1
- package/lib/response/generate-analytics-cluster-memory-estimate-response.d.ts +0 -30
- package/lib/response/generate-analytics-cluster-memory-estimate-response.js +0 -15
- package/lib/response/generate-analytics-cluster-memory-estimate-response.js.map +0 -1
- package/lib/response/get-analytics-cluster-memory-estimate-response.d.ts +0 -25
- package/lib/response/get-analytics-cluster-memory-estimate-response.js +0 -15
- package/lib/response/get-analytics-cluster-memory-estimate-response.js.map +0 -1
- package/lib/response/get-analytics-cluster-response.d.ts +0 -37
- package/lib/response/get-analytics-cluster-response.js +0 -15
- package/lib/response/get-analytics-cluster-response.js.map +0 -1
- package/lib/response/restart-analytics-cluster-response.d.ts +0 -25
- package/lib/response/restart-analytics-cluster-response.js +0 -15
- package/lib/response/restart-analytics-cluster-response.js.map +0 -1
- package/lib/response/start-analytics-cluster-response.d.ts +0 -25
- package/lib/response/start-analytics-cluster-response.js +0 -15
- package/lib/response/start-analytics-cluster-response.js.map +0 -1
- package/lib/response/stop-analytics-cluster-response.d.ts +0 -25
- package/lib/response/stop-analytics-cluster-response.js +0 -15
- package/lib/response/stop-analytics-cluster-response.js.map +0 -1
- package/lib/response/update-analytics-cluster-response.d.ts +0 -25
- package/lib/response/update-analytics-cluster-response.js +0 -15
- package/lib/response/update-analytics-cluster-response.js.map +0 -1
package/lib/client.js
CHANGED
|
@@ -190,7 +190,7 @@ class ChannelsClient {
|
|
|
190
190
|
* @param CreateChannelRequest
|
|
191
191
|
* @return CreateChannelResponse
|
|
192
192
|
* @throws OciError when an error occurs
|
|
193
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
193
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/CreateChannel.ts.html |here} to see how to use CreateChannel API.
|
|
194
194
|
*/
|
|
195
195
|
createChannel(createChannelRequest) {
|
|
196
196
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -258,7 +258,7 @@ class ChannelsClient {
|
|
|
258
258
|
* @param DeleteChannelRequest
|
|
259
259
|
* @return DeleteChannelResponse
|
|
260
260
|
* @throws OciError when an error occurs
|
|
261
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
261
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
|
|
262
262
|
*/
|
|
263
263
|
deleteChannel(deleteChannelRequest) {
|
|
264
264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -321,7 +321,7 @@ class ChannelsClient {
|
|
|
321
321
|
* @param GetChannelRequest
|
|
322
322
|
* @return GetChannelResponse
|
|
323
323
|
* @throws OciError when an error occurs
|
|
324
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
324
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/GetChannel.ts.html |here} to see how to use GetChannel API.
|
|
325
325
|
*/
|
|
326
326
|
getChannel(getChannelRequest) {
|
|
327
327
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -385,7 +385,7 @@ class ChannelsClient {
|
|
|
385
385
|
* @param ListChannelsRequest
|
|
386
386
|
* @return ListChannelsResponse
|
|
387
387
|
* @throws OciError when an error occurs
|
|
388
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
388
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ListChannels.ts.html |here} to see how to use ListChannels API.
|
|
389
389
|
*/
|
|
390
390
|
listChannels(listChannelsRequest) {
|
|
391
391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -499,7 +499,7 @@ class ChannelsClient {
|
|
|
499
499
|
* @param ResetChannelRequest
|
|
500
500
|
* @return ResetChannelResponse
|
|
501
501
|
* @throws OciError when an error occurs
|
|
502
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
502
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ResetChannel.ts.html |here} to see how to use ResetChannel API.
|
|
503
503
|
*/
|
|
504
504
|
resetChannel(resetChannelRequest) {
|
|
505
505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -563,7 +563,7 @@ class ChannelsClient {
|
|
|
563
563
|
* @param ResumeChannelRequest
|
|
564
564
|
* @return ResumeChannelResponse
|
|
565
565
|
* @throws OciError when an error occurs
|
|
566
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
566
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ResumeChannel.ts.html |here} to see how to use ResumeChannel API.
|
|
567
567
|
*/
|
|
568
568
|
resumeChannel(resumeChannelRequest) {
|
|
569
569
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -628,7 +628,7 @@ class ChannelsClient {
|
|
|
628
628
|
* @param UpdateChannelRequest
|
|
629
629
|
* @return UpdateChannelResponse
|
|
630
630
|
* @throws OciError when an error occurs
|
|
631
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
631
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
|
|
632
632
|
*/
|
|
633
633
|
updateChannel(updateChannelRequest) {
|
|
634
634
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -825,7 +825,7 @@ class DbBackupsClient {
|
|
|
825
825
|
* @param ChangeBackupCompartmentRequest
|
|
826
826
|
* @return ChangeBackupCompartmentResponse
|
|
827
827
|
* @throws OciError when an error occurs
|
|
828
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
828
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
829
829
|
*/
|
|
830
830
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
831
831
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -888,7 +888,7 @@ class DbBackupsClient {
|
|
|
888
888
|
* @param CreateBackupRequest
|
|
889
889
|
* @return CreateBackupResponse
|
|
890
890
|
* @throws OciError when an error occurs
|
|
891
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
891
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
892
892
|
*/
|
|
893
893
|
createBackup(createBackupRequest) {
|
|
894
894
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -957,7 +957,7 @@ class DbBackupsClient {
|
|
|
957
957
|
* @param DeleteBackupRequest
|
|
958
958
|
* @return DeleteBackupResponse
|
|
959
959
|
* @throws OciError when an error occurs
|
|
960
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
960
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
961
961
|
*/
|
|
962
962
|
deleteBackup(deleteBackupRequest) {
|
|
963
963
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1017,7 +1017,7 @@ class DbBackupsClient {
|
|
|
1017
1017
|
* @param GetBackupRequest
|
|
1018
1018
|
* @return GetBackupResponse
|
|
1019
1019
|
* @throws OciError when an error occurs
|
|
1020
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1020
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
1021
1021
|
*/
|
|
1022
1022
|
getBackup(getBackupRequest) {
|
|
1023
1023
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1082,7 +1082,7 @@ class DbBackupsClient {
|
|
|
1082
1082
|
* @param ListBackupsRequest
|
|
1083
1083
|
* @return ListBackupsResponse
|
|
1084
1084
|
* @throws OciError when an error occurs
|
|
1085
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1085
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
1086
1086
|
*/
|
|
1087
1087
|
listBackups(listBackupsRequest) {
|
|
1088
1088
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1194,7 +1194,7 @@ class DbBackupsClient {
|
|
|
1194
1194
|
* @param UpdateBackupRequest
|
|
1195
1195
|
* @return UpdateBackupResponse
|
|
1196
1196
|
* @throws OciError when an error occurs
|
|
1197
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1197
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
1198
1198
|
*/
|
|
1199
1199
|
updateBackup(updateBackupRequest) {
|
|
1200
1200
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1386,79 +1386,6 @@ class DbSystemClient {
|
|
|
1386
1386
|
}
|
|
1387
1387
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
1388
1388
|
}
|
|
1389
|
-
/**
|
|
1390
|
-
* DEPRECATED -- please use HeatWave API instead.
|
|
1391
|
-
* Adds an Analytics Cluster to the DB System.
|
|
1392
|
-
*
|
|
1393
|
-
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1394
|
-
* @param AddAnalyticsClusterRequest
|
|
1395
|
-
* @return AddAnalyticsClusterResponse
|
|
1396
|
-
* @throws OciError when an error occurs
|
|
1397
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.2/mysql/AddAnalyticsCluster.ts.html |here} to see how to use AddAnalyticsCluster API.
|
|
1398
|
-
*/
|
|
1399
|
-
addAnalyticsCluster(addAnalyticsClusterRequest) {
|
|
1400
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1401
|
-
if (this.logger)
|
|
1402
|
-
this.logger.debug("Calling operation DbSystemClient#addAnalyticsCluster.");
|
|
1403
|
-
const operationName = "addAnalyticsCluster";
|
|
1404
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/AddAnalyticsCluster";
|
|
1405
|
-
const pathParams = {
|
|
1406
|
-
"{dbSystemId}": addAnalyticsClusterRequest.dbSystemId
|
|
1407
|
-
};
|
|
1408
|
-
const queryParams = {};
|
|
1409
|
-
let headerParams = {
|
|
1410
|
-
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1411
|
-
"if-match": addAnalyticsClusterRequest.ifMatch,
|
|
1412
|
-
"opc-request-id": addAnalyticsClusterRequest.opcRequestId,
|
|
1413
|
-
"opc-retry-token": addAnalyticsClusterRequest.opcRetryToken
|
|
1414
|
-
};
|
|
1415
|
-
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1416
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1417
|
-
if (this.logger)
|
|
1418
|
-
retrier.logger = this.logger;
|
|
1419
|
-
const request = yield oci_common_2.composeRequest({
|
|
1420
|
-
baseEndpoint: this._endpoint,
|
|
1421
|
-
defaultHeaders: this._defaultHeaders,
|
|
1422
|
-
path: "/dbSystems/{dbSystemId}/analyticsCluster/actions/add",
|
|
1423
|
-
method: "POST",
|
|
1424
|
-
bodyContent: common.ObjectSerializer.serialize(addAnalyticsClusterRequest.addAnalyticsClusterDetails, "AddAnalyticsClusterDetails", model.AddAnalyticsClusterDetails.getJsonObj),
|
|
1425
|
-
pathParams: pathParams,
|
|
1426
|
-
headerParams: headerParams,
|
|
1427
|
-
queryParams: queryParams
|
|
1428
|
-
});
|
|
1429
|
-
try {
|
|
1430
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1431
|
-
const sdkResponse = oci_common_2.composeResponse({
|
|
1432
|
-
responseObject: {},
|
|
1433
|
-
body: yield response.json(),
|
|
1434
|
-
bodyKey: "analyticsCluster",
|
|
1435
|
-
bodyModel: model.AnalyticsCluster,
|
|
1436
|
-
type: "model.AnalyticsCluster",
|
|
1437
|
-
responseHeaders: [
|
|
1438
|
-
{
|
|
1439
|
-
value: response.headers.get("etag"),
|
|
1440
|
-
key: "etag",
|
|
1441
|
-
dataType: "string"
|
|
1442
|
-
},
|
|
1443
|
-
{
|
|
1444
|
-
value: response.headers.get("opc-request-id"),
|
|
1445
|
-
key: "opcRequestId",
|
|
1446
|
-
dataType: "string"
|
|
1447
|
-
},
|
|
1448
|
-
{
|
|
1449
|
-
value: response.headers.get("opc-work-request-id"),
|
|
1450
|
-
key: "opcWorkRequestId",
|
|
1451
|
-
dataType: "string"
|
|
1452
|
-
}
|
|
1453
|
-
]
|
|
1454
|
-
});
|
|
1455
|
-
return sdkResponse;
|
|
1456
|
-
}
|
|
1457
|
-
catch (err) {
|
|
1458
|
-
throw err;
|
|
1459
|
-
}
|
|
1460
|
-
});
|
|
1461
|
-
}
|
|
1462
1389
|
/**
|
|
1463
1390
|
* Adds a HeatWave cluster to the DB System.
|
|
1464
1391
|
*
|
|
@@ -1466,7 +1393,7 @@ class DbSystemClient {
|
|
|
1466
1393
|
* @param AddHeatWaveClusterRequest
|
|
1467
1394
|
* @return AddHeatWaveClusterResponse
|
|
1468
1395
|
* @throws OciError when an error occurs
|
|
1469
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1396
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/AddHeatWaveCluster.ts.html |here} to see how to use AddHeatWaveCluster API.
|
|
1470
1397
|
*/
|
|
1471
1398
|
addHeatWaveCluster(addHeatWaveClusterRequest) {
|
|
1472
1399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1538,7 +1465,7 @@ class DbSystemClient {
|
|
|
1538
1465
|
* @param CreateDbSystemRequest
|
|
1539
1466
|
* @return CreateDbSystemResponse
|
|
1540
1467
|
* @throws OciError when an error occurs
|
|
1541
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1468
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
1542
1469
|
*/
|
|
1543
1470
|
createDbSystem(createDbSystemRequest) {
|
|
1544
1471
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1605,69 +1532,6 @@ class DbSystemClient {
|
|
|
1605
1532
|
}
|
|
1606
1533
|
});
|
|
1607
1534
|
}
|
|
1608
|
-
/**
|
|
1609
|
-
* DEPRECATED -- please use HeatWave API instead.
|
|
1610
|
-
* Deletes the Analytics Cluster including terminating, detaching, removing, finalizing and
|
|
1611
|
-
* otherwise deleting all related resources.
|
|
1612
|
-
*
|
|
1613
|
-
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1614
|
-
* @param DeleteAnalyticsClusterRequest
|
|
1615
|
-
* @return DeleteAnalyticsClusterResponse
|
|
1616
|
-
* @throws OciError when an error occurs
|
|
1617
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.2/mysql/DeleteAnalyticsCluster.ts.html |here} to see how to use DeleteAnalyticsCluster API.
|
|
1618
|
-
*/
|
|
1619
|
-
deleteAnalyticsCluster(deleteAnalyticsClusterRequest) {
|
|
1620
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1621
|
-
if (this.logger)
|
|
1622
|
-
this.logger.debug("Calling operation DbSystemClient#deleteAnalyticsCluster.");
|
|
1623
|
-
const operationName = "deleteAnalyticsCluster";
|
|
1624
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/DeleteAnalyticsCluster";
|
|
1625
|
-
const pathParams = {
|
|
1626
|
-
"{dbSystemId}": deleteAnalyticsClusterRequest.dbSystemId
|
|
1627
|
-
};
|
|
1628
|
-
const queryParams = {};
|
|
1629
|
-
let headerParams = {
|
|
1630
|
-
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1631
|
-
"if-match": deleteAnalyticsClusterRequest.ifMatch,
|
|
1632
|
-
"opc-request-id": deleteAnalyticsClusterRequest.opcRequestId
|
|
1633
|
-
};
|
|
1634
|
-
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1635
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1636
|
-
if (this.logger)
|
|
1637
|
-
retrier.logger = this.logger;
|
|
1638
|
-
const request = yield oci_common_2.composeRequest({
|
|
1639
|
-
baseEndpoint: this._endpoint,
|
|
1640
|
-
defaultHeaders: this._defaultHeaders,
|
|
1641
|
-
path: "/dbSystems/{dbSystemId}/analyticsCluster",
|
|
1642
|
-
method: "DELETE",
|
|
1643
|
-
pathParams: pathParams,
|
|
1644
|
-
headerParams: headerParams,
|
|
1645
|
-
queryParams: queryParams
|
|
1646
|
-
});
|
|
1647
|
-
try {
|
|
1648
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1649
|
-
const sdkResponse = oci_common_2.composeResponse({
|
|
1650
|
-
responseObject: {},
|
|
1651
|
-
responseHeaders: [
|
|
1652
|
-
{
|
|
1653
|
-
value: response.headers.get("opc-request-id"),
|
|
1654
|
-
key: "opcRequestId",
|
|
1655
|
-
dataType: "string"
|
|
1656
|
-
},
|
|
1657
|
-
{
|
|
1658
|
-
value: response.headers.get("opc-work-request-id"),
|
|
1659
|
-
key: "opcWorkRequestId",
|
|
1660
|
-
dataType: "string"
|
|
1661
|
-
}
|
|
1662
|
-
]
|
|
1663
|
-
});
|
|
1664
|
-
return sdkResponse;
|
|
1665
|
-
}
|
|
1666
|
-
catch (err) {
|
|
1667
|
-
throw err;
|
|
1668
|
-
}
|
|
1669
|
-
});
|
|
1670
|
-
}
|
|
1671
1535
|
/**
|
|
1672
1536
|
* Delete a DB System, including terminating, detaching,
|
|
1673
1537
|
* removing, finalizing and otherwise deleting all related resources.
|
|
@@ -1676,7 +1540,7 @@ class DbSystemClient {
|
|
|
1676
1540
|
* @param DeleteDbSystemRequest
|
|
1677
1541
|
* @return DeleteDbSystemResponse
|
|
1678
1542
|
* @throws OciError when an error occurs
|
|
1679
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1543
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
1680
1544
|
*/
|
|
1681
1545
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
1682
1546
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1738,7 +1602,7 @@ class DbSystemClient {
|
|
|
1738
1602
|
* @param DeleteHeatWaveClusterRequest
|
|
1739
1603
|
* @return DeleteHeatWaveClusterResponse
|
|
1740
1604
|
* @throws OciError when an error occurs
|
|
1741
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1605
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/DeleteHeatWaveCluster.ts.html |here} to see how to use DeleteHeatWaveCluster API.
|
|
1742
1606
|
*/
|
|
1743
1607
|
deleteHeatWaveCluster(deleteHeatWaveClusterRequest) {
|
|
1744
1608
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1792,72 +1656,6 @@ class DbSystemClient {
|
|
|
1792
1656
|
}
|
|
1793
1657
|
});
|
|
1794
1658
|
}
|
|
1795
|
-
/**
|
|
1796
|
-
* DEPRECATED -- please use HeatWave API instead.
|
|
1797
|
-
* Sends a request to estimate the memory footprints of user tables when loaded to Analytics Cluster memory.
|
|
1798
|
-
*
|
|
1799
|
-
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1800
|
-
* @param GenerateAnalyticsClusterMemoryEstimateRequest
|
|
1801
|
-
* @return GenerateAnalyticsClusterMemoryEstimateResponse
|
|
1802
|
-
* @throws OciError when an error occurs
|
|
1803
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.2/mysql/GenerateAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GenerateAnalyticsClusterMemoryEstimate API.
|
|
1804
|
-
*/
|
|
1805
|
-
generateAnalyticsClusterMemoryEstimate(generateAnalyticsClusterMemoryEstimateRequest) {
|
|
1806
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1807
|
-
if (this.logger)
|
|
1808
|
-
this.logger.debug("Calling operation DbSystemClient#generateAnalyticsClusterMemoryEstimate.");
|
|
1809
|
-
const operationName = "generateAnalyticsClusterMemoryEstimate";
|
|
1810
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsClusterMemoryEstimate/GenerateAnalyticsClusterMemoryEstimate";
|
|
1811
|
-
const pathParams = {
|
|
1812
|
-
"{dbSystemId}": generateAnalyticsClusterMemoryEstimateRequest.dbSystemId
|
|
1813
|
-
};
|
|
1814
|
-
const queryParams = {};
|
|
1815
|
-
let headerParams = {
|
|
1816
|
-
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1817
|
-
"opc-request-id": generateAnalyticsClusterMemoryEstimateRequest.opcRequestId,
|
|
1818
|
-
"opc-retry-token": generateAnalyticsClusterMemoryEstimateRequest.opcRetryToken
|
|
1819
|
-
};
|
|
1820
|
-
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1821
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateAnalyticsClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
1822
|
-
if (this.logger)
|
|
1823
|
-
retrier.logger = this.logger;
|
|
1824
|
-
const request = yield oci_common_2.composeRequest({
|
|
1825
|
-
baseEndpoint: this._endpoint,
|
|
1826
|
-
defaultHeaders: this._defaultHeaders,
|
|
1827
|
-
path: "/dbSystems/{dbSystemId}/analyticsClusterMemoryEstimate/actions/generate",
|
|
1828
|
-
method: "POST",
|
|
1829
|
-
pathParams: pathParams,
|
|
1830
|
-
headerParams: headerParams,
|
|
1831
|
-
queryParams: queryParams
|
|
1832
|
-
});
|
|
1833
|
-
try {
|
|
1834
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1835
|
-
const sdkResponse = oci_common_2.composeResponse({
|
|
1836
|
-
responseObject: {},
|
|
1837
|
-
body: yield response.json(),
|
|
1838
|
-
bodyKey: "analyticsClusterMemoryEstimate",
|
|
1839
|
-
bodyModel: model.AnalyticsClusterMemoryEstimate,
|
|
1840
|
-
type: "model.AnalyticsClusterMemoryEstimate",
|
|
1841
|
-
responseHeaders: [
|
|
1842
|
-
{
|
|
1843
|
-
value: response.headers.get("opc-request-id"),
|
|
1844
|
-
key: "opcRequestId",
|
|
1845
|
-
dataType: "string"
|
|
1846
|
-
},
|
|
1847
|
-
{
|
|
1848
|
-
value: response.headers.get("opc-work-request-id"),
|
|
1849
|
-
key: "opcWorkRequestId",
|
|
1850
|
-
dataType: "string"
|
|
1851
|
-
}
|
|
1852
|
-
]
|
|
1853
|
-
});
|
|
1854
|
-
return sdkResponse;
|
|
1855
|
-
}
|
|
1856
|
-
catch (err) {
|
|
1857
|
-
throw err;
|
|
1858
|
-
}
|
|
1859
|
-
});
|
|
1860
|
-
}
|
|
1861
1659
|
/**
|
|
1862
1660
|
* Sends a request to estimate the memory footprints of user tables when loaded to HeatWave cluster memory.
|
|
1863
1661
|
*
|
|
@@ -1865,7 +1663,7 @@ class DbSystemClient {
|
|
|
1865
1663
|
* @param GenerateHeatWaveClusterMemoryEstimateRequest
|
|
1866
1664
|
* @return GenerateHeatWaveClusterMemoryEstimateResponse
|
|
1867
1665
|
* @throws OciError when an error occurs
|
|
1868
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1666
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/GenerateHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GenerateHeatWaveClusterMemoryEstimate API.
|
|
1869
1667
|
*/
|
|
1870
1668
|
generateHeatWaveClusterMemoryEstimate(generateHeatWaveClusterMemoryEstimateRequest) {
|
|
1871
1669
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1923,140 +1721,13 @@ class DbSystemClient {
|
|
|
1923
1721
|
}
|
|
1924
1722
|
});
|
|
1925
1723
|
}
|
|
1926
|
-
/**
|
|
1927
|
-
* DEPRECATED -- please use HeatWave API instead.
|
|
1928
|
-
* Gets information about the Analytics Cluster.
|
|
1929
|
-
*
|
|
1930
|
-
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1931
|
-
* @param GetAnalyticsClusterRequest
|
|
1932
|
-
* @return GetAnalyticsClusterResponse
|
|
1933
|
-
* @throws OciError when an error occurs
|
|
1934
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.2/mysql/GetAnalyticsCluster.ts.html |here} to see how to use GetAnalyticsCluster API.
|
|
1935
|
-
*/
|
|
1936
|
-
getAnalyticsCluster(getAnalyticsClusterRequest) {
|
|
1937
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1938
|
-
if (this.logger)
|
|
1939
|
-
this.logger.debug("Calling operation DbSystemClient#getAnalyticsCluster.");
|
|
1940
|
-
const operationName = "getAnalyticsCluster";
|
|
1941
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/GetAnalyticsCluster";
|
|
1942
|
-
const pathParams = {
|
|
1943
|
-
"{dbSystemId}": getAnalyticsClusterRequest.dbSystemId
|
|
1944
|
-
};
|
|
1945
|
-
const queryParams = {};
|
|
1946
|
-
let headerParams = {
|
|
1947
|
-
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1948
|
-
"opc-request-id": getAnalyticsClusterRequest.opcRequestId,
|
|
1949
|
-
"if-none-match": getAnalyticsClusterRequest.ifNoneMatch
|
|
1950
|
-
};
|
|
1951
|
-
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1952
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
1953
|
-
if (this.logger)
|
|
1954
|
-
retrier.logger = this.logger;
|
|
1955
|
-
const request = yield oci_common_2.composeRequest({
|
|
1956
|
-
baseEndpoint: this._endpoint,
|
|
1957
|
-
defaultHeaders: this._defaultHeaders,
|
|
1958
|
-
path: "/dbSystems/{dbSystemId}/analyticsCluster",
|
|
1959
|
-
method: "GET",
|
|
1960
|
-
pathParams: pathParams,
|
|
1961
|
-
headerParams: headerParams,
|
|
1962
|
-
queryParams: queryParams
|
|
1963
|
-
});
|
|
1964
|
-
try {
|
|
1965
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1966
|
-
const sdkResponse = oci_common_2.composeResponse({
|
|
1967
|
-
responseObject: {},
|
|
1968
|
-
body: yield response.json(),
|
|
1969
|
-
bodyKey: "analyticsCluster",
|
|
1970
|
-
bodyModel: model.AnalyticsCluster,
|
|
1971
|
-
type: "model.AnalyticsCluster",
|
|
1972
|
-
responseHeaders: [
|
|
1973
|
-
{
|
|
1974
|
-
value: response.headers.get("etag"),
|
|
1975
|
-
key: "etag",
|
|
1976
|
-
dataType: "string"
|
|
1977
|
-
},
|
|
1978
|
-
{
|
|
1979
|
-
value: response.headers.get("opc-request-id"),
|
|
1980
|
-
key: "opcRequestId",
|
|
1981
|
-
dataType: "string"
|
|
1982
|
-
}
|
|
1983
|
-
]
|
|
1984
|
-
});
|
|
1985
|
-
return sdkResponse;
|
|
1986
|
-
}
|
|
1987
|
-
catch (err) {
|
|
1988
|
-
throw err;
|
|
1989
|
-
}
|
|
1990
|
-
});
|
|
1991
|
-
}
|
|
1992
|
-
/**
|
|
1993
|
-
* DEPRECATED -- please use HeatWave API instead.
|
|
1994
|
-
* Gets the most recent Analytics Cluster memory estimate that can be used to determine a suitable
|
|
1995
|
-
* Analytics Cluster size.
|
|
1996
|
-
*
|
|
1997
|
-
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1998
|
-
* @param GetAnalyticsClusterMemoryEstimateRequest
|
|
1999
|
-
* @return GetAnalyticsClusterMemoryEstimateResponse
|
|
2000
|
-
* @throws OciError when an error occurs
|
|
2001
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.2/mysql/GetAnalyticsClusterMemoryEstimate.ts.html |here} to see how to use GetAnalyticsClusterMemoryEstimate API.
|
|
2002
|
-
*/
|
|
2003
|
-
getAnalyticsClusterMemoryEstimate(getAnalyticsClusterMemoryEstimateRequest) {
|
|
2004
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2005
|
-
if (this.logger)
|
|
2006
|
-
this.logger.debug("Calling operation DbSystemClient#getAnalyticsClusterMemoryEstimate.");
|
|
2007
|
-
const operationName = "getAnalyticsClusterMemoryEstimate";
|
|
2008
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsClusterMemoryEstimate/GetAnalyticsClusterMemoryEstimate";
|
|
2009
|
-
const pathParams = {
|
|
2010
|
-
"{dbSystemId}": getAnalyticsClusterMemoryEstimateRequest.dbSystemId
|
|
2011
|
-
};
|
|
2012
|
-
const queryParams = {};
|
|
2013
|
-
let headerParams = {
|
|
2014
|
-
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2015
|
-
"opc-request-id": getAnalyticsClusterMemoryEstimateRequest.opcRequestId
|
|
2016
|
-
};
|
|
2017
|
-
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2018
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAnalyticsClusterMemoryEstimateRequest.retryConfiguration, specRetryConfiguration);
|
|
2019
|
-
if (this.logger)
|
|
2020
|
-
retrier.logger = this.logger;
|
|
2021
|
-
const request = yield oci_common_2.composeRequest({
|
|
2022
|
-
baseEndpoint: this._endpoint,
|
|
2023
|
-
defaultHeaders: this._defaultHeaders,
|
|
2024
|
-
path: "/dbSystems/{dbSystemId}/analyticsClusterMemoryEstimate",
|
|
2025
|
-
method: "GET",
|
|
2026
|
-
pathParams: pathParams,
|
|
2027
|
-
headerParams: headerParams,
|
|
2028
|
-
queryParams: queryParams
|
|
2029
|
-
});
|
|
2030
|
-
try {
|
|
2031
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2032
|
-
const sdkResponse = oci_common_2.composeResponse({
|
|
2033
|
-
responseObject: {},
|
|
2034
|
-
body: yield response.json(),
|
|
2035
|
-
bodyKey: "analyticsClusterMemoryEstimate",
|
|
2036
|
-
bodyModel: model.AnalyticsClusterMemoryEstimate,
|
|
2037
|
-
type: "model.AnalyticsClusterMemoryEstimate",
|
|
2038
|
-
responseHeaders: [
|
|
2039
|
-
{
|
|
2040
|
-
value: response.headers.get("opc-request-id"),
|
|
2041
|
-
key: "opcRequestId",
|
|
2042
|
-
dataType: "string"
|
|
2043
|
-
}
|
|
2044
|
-
]
|
|
2045
|
-
});
|
|
2046
|
-
return sdkResponse;
|
|
2047
|
-
}
|
|
2048
|
-
catch (err) {
|
|
2049
|
-
throw err;
|
|
2050
|
-
}
|
|
2051
|
-
});
|
|
2052
|
-
}
|
|
2053
1724
|
/**
|
|
2054
1725
|
* Get information about the specified DB System.
|
|
2055
1726
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2056
1727
|
* @param GetDbSystemRequest
|
|
2057
1728
|
* @return GetDbSystemResponse
|
|
2058
1729
|
* @throws OciError when an error occurs
|
|
2059
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1730
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
2060
1731
|
*/
|
|
2061
1732
|
getDbSystem(getDbSystemRequest) {
|
|
2062
1733
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2120,7 +1791,7 @@ class DbSystemClient {
|
|
|
2120
1791
|
* @param GetHeatWaveClusterRequest
|
|
2121
1792
|
* @return GetHeatWaveClusterResponse
|
|
2122
1793
|
* @throws OciError when an error occurs
|
|
2123
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1794
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/GetHeatWaveCluster.ts.html |here} to see how to use GetHeatWaveCluster API.
|
|
2124
1795
|
*/
|
|
2125
1796
|
getHeatWaveCluster(getHeatWaveClusterRequest) {
|
|
2126
1797
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2186,7 +1857,7 @@ class DbSystemClient {
|
|
|
2186
1857
|
* @param GetHeatWaveClusterMemoryEstimateRequest
|
|
2187
1858
|
* @return GetHeatWaveClusterMemoryEstimateResponse
|
|
2188
1859
|
* @throws OciError when an error occurs
|
|
2189
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1860
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/GetHeatWaveClusterMemoryEstimate.ts.html |here} to see how to use GetHeatWaveClusterMemoryEstimate API.
|
|
2190
1861
|
*/
|
|
2191
1862
|
getHeatWaveClusterMemoryEstimate(getHeatWaveClusterMemoryEstimateRequest) {
|
|
2192
1863
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2246,7 +1917,7 @@ class DbSystemClient {
|
|
|
2246
1917
|
* @param ListDbSystemsRequest
|
|
2247
1918
|
* @return ListDbSystemsResponse
|
|
2248
1919
|
* @throws OciError when an error occurs
|
|
2249
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1920
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
2250
1921
|
*/
|
|
2251
1922
|
listDbSystems(listDbSystemsRequest) {
|
|
2252
1923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2256,7 +1927,6 @@ class DbSystemClient {
|
|
|
2256
1927
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystemSummary/ListDbSystems";
|
|
2257
1928
|
const pathParams = {};
|
|
2258
1929
|
const queryParams = {
|
|
2259
|
-
"isAnalyticsClusterAttached": listDbSystemsRequest.isAnalyticsClusterAttached,
|
|
2260
1930
|
"isHeatWaveClusterAttached": listDbSystemsRequest.isHeatWaveClusterAttached,
|
|
2261
1931
|
"compartmentId": listDbSystemsRequest.compartmentId,
|
|
2262
1932
|
"dbSystemId": listDbSystemsRequest.dbSystemId,
|
|
@@ -2354,76 +2024,13 @@ class DbSystemClient {
|
|
|
2354
2024
|
listDbSystemsResponseIterator(request) {
|
|
2355
2025
|
return oci_common_1.paginateResponses(request, req => this.listDbSystems(req));
|
|
2356
2026
|
}
|
|
2357
|
-
/**
|
|
2358
|
-
* DEPRECATED -- please use HeatWave API instead.
|
|
2359
|
-
* Restarts the Analytics Cluster.
|
|
2360
|
-
*
|
|
2361
|
-
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2362
|
-
* @param RestartAnalyticsClusterRequest
|
|
2363
|
-
* @return RestartAnalyticsClusterResponse
|
|
2364
|
-
* @throws OciError when an error occurs
|
|
2365
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.2/mysql/RestartAnalyticsCluster.ts.html |here} to see how to use RestartAnalyticsCluster API.
|
|
2366
|
-
*/
|
|
2367
|
-
restartAnalyticsCluster(restartAnalyticsClusterRequest) {
|
|
2368
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2369
|
-
if (this.logger)
|
|
2370
|
-
this.logger.debug("Calling operation DbSystemClient#restartAnalyticsCluster.");
|
|
2371
|
-
const operationName = "restartAnalyticsCluster";
|
|
2372
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/RestartAnalyticsCluster";
|
|
2373
|
-
const pathParams = {
|
|
2374
|
-
"{dbSystemId}": restartAnalyticsClusterRequest.dbSystemId
|
|
2375
|
-
};
|
|
2376
|
-
const queryParams = {};
|
|
2377
|
-
let headerParams = {
|
|
2378
|
-
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2379
|
-
"if-match": restartAnalyticsClusterRequest.ifMatch,
|
|
2380
|
-
"opc-request-id": restartAnalyticsClusterRequest.opcRequestId,
|
|
2381
|
-
"opc-retry-token": restartAnalyticsClusterRequest.opcRetryToken
|
|
2382
|
-
};
|
|
2383
|
-
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2384
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2385
|
-
if (this.logger)
|
|
2386
|
-
retrier.logger = this.logger;
|
|
2387
|
-
const request = yield oci_common_2.composeRequest({
|
|
2388
|
-
baseEndpoint: this._endpoint,
|
|
2389
|
-
defaultHeaders: this._defaultHeaders,
|
|
2390
|
-
path: "/dbSystems/{dbSystemId}/analyticsCluster/actions/restart",
|
|
2391
|
-
method: "POST",
|
|
2392
|
-
pathParams: pathParams,
|
|
2393
|
-
headerParams: headerParams,
|
|
2394
|
-
queryParams: queryParams
|
|
2395
|
-
});
|
|
2396
|
-
try {
|
|
2397
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2398
|
-
const sdkResponse = oci_common_2.composeResponse({
|
|
2399
|
-
responseObject: {},
|
|
2400
|
-
responseHeaders: [
|
|
2401
|
-
{
|
|
2402
|
-
value: response.headers.get("opc-request-id"),
|
|
2403
|
-
key: "opcRequestId",
|
|
2404
|
-
dataType: "string"
|
|
2405
|
-
},
|
|
2406
|
-
{
|
|
2407
|
-
value: response.headers.get("opc-work-request-id"),
|
|
2408
|
-
key: "opcWorkRequestId",
|
|
2409
|
-
dataType: "string"
|
|
2410
|
-
}
|
|
2411
|
-
]
|
|
2412
|
-
});
|
|
2413
|
-
return sdkResponse;
|
|
2414
|
-
}
|
|
2415
|
-
catch (err) {
|
|
2416
|
-
throw err;
|
|
2417
|
-
}
|
|
2418
|
-
});
|
|
2419
|
-
}
|
|
2420
2027
|
/**
|
|
2421
2028
|
* Restarts the specified DB System.
|
|
2422
2029
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2423
2030
|
* @param RestartDbSystemRequest
|
|
2424
2031
|
* @return RestartDbSystemResponse
|
|
2425
2032
|
* @throws OciError when an error occurs
|
|
2426
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2033
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/RestartDbSystem.ts.html |here} to see how to use RestartDbSystem API.
|
|
2427
2034
|
*/
|
|
2428
2035
|
restartDbSystem(restartDbSystemRequest) {
|
|
2429
2036
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2485,7 +2092,7 @@ class DbSystemClient {
|
|
|
2485
2092
|
* @param RestartHeatWaveClusterRequest
|
|
2486
2093
|
* @return RestartHeatWaveClusterResponse
|
|
2487
2094
|
* @throws OciError when an error occurs
|
|
2488
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2095
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/RestartHeatWaveCluster.ts.html |here} to see how to use RestartHeatWaveCluster API.
|
|
2489
2096
|
*/
|
|
2490
2097
|
restartHeatWaveCluster(restartHeatWaveClusterRequest) {
|
|
2491
2098
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2540,76 +2147,13 @@ class DbSystemClient {
|
|
|
2540
2147
|
}
|
|
2541
2148
|
});
|
|
2542
2149
|
}
|
|
2543
|
-
/**
|
|
2544
|
-
* DEPRECATED -- please use HeatWave API instead.
|
|
2545
|
-
* Starts the Analytics Cluster.
|
|
2546
|
-
*
|
|
2547
|
-
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2548
|
-
* @param StartAnalyticsClusterRequest
|
|
2549
|
-
* @return StartAnalyticsClusterResponse
|
|
2550
|
-
* @throws OciError when an error occurs
|
|
2551
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.2/mysql/StartAnalyticsCluster.ts.html |here} to see how to use StartAnalyticsCluster API.
|
|
2552
|
-
*/
|
|
2553
|
-
startAnalyticsCluster(startAnalyticsClusterRequest) {
|
|
2554
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2555
|
-
if (this.logger)
|
|
2556
|
-
this.logger.debug("Calling operation DbSystemClient#startAnalyticsCluster.");
|
|
2557
|
-
const operationName = "startAnalyticsCluster";
|
|
2558
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/StartAnalyticsCluster";
|
|
2559
|
-
const pathParams = {
|
|
2560
|
-
"{dbSystemId}": startAnalyticsClusterRequest.dbSystemId
|
|
2561
|
-
};
|
|
2562
|
-
const queryParams = {};
|
|
2563
|
-
let headerParams = {
|
|
2564
|
-
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2565
|
-
"if-match": startAnalyticsClusterRequest.ifMatch,
|
|
2566
|
-
"opc-request-id": startAnalyticsClusterRequest.opcRequestId,
|
|
2567
|
-
"opc-retry-token": startAnalyticsClusterRequest.opcRetryToken
|
|
2568
|
-
};
|
|
2569
|
-
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2570
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2571
|
-
if (this.logger)
|
|
2572
|
-
retrier.logger = this.logger;
|
|
2573
|
-
const request = yield oci_common_2.composeRequest({
|
|
2574
|
-
baseEndpoint: this._endpoint,
|
|
2575
|
-
defaultHeaders: this._defaultHeaders,
|
|
2576
|
-
path: "/dbSystems/{dbSystemId}/analyticsCluster/actions/start",
|
|
2577
|
-
method: "POST",
|
|
2578
|
-
pathParams: pathParams,
|
|
2579
|
-
headerParams: headerParams,
|
|
2580
|
-
queryParams: queryParams
|
|
2581
|
-
});
|
|
2582
|
-
try {
|
|
2583
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2584
|
-
const sdkResponse = oci_common_2.composeResponse({
|
|
2585
|
-
responseObject: {},
|
|
2586
|
-
responseHeaders: [
|
|
2587
|
-
{
|
|
2588
|
-
value: response.headers.get("opc-request-id"),
|
|
2589
|
-
key: "opcRequestId",
|
|
2590
|
-
dataType: "string"
|
|
2591
|
-
},
|
|
2592
|
-
{
|
|
2593
|
-
value: response.headers.get("opc-work-request-id"),
|
|
2594
|
-
key: "opcWorkRequestId",
|
|
2595
|
-
dataType: "string"
|
|
2596
|
-
}
|
|
2597
|
-
]
|
|
2598
|
-
});
|
|
2599
|
-
return sdkResponse;
|
|
2600
|
-
}
|
|
2601
|
-
catch (err) {
|
|
2602
|
-
throw err;
|
|
2603
|
-
}
|
|
2604
|
-
});
|
|
2605
|
-
}
|
|
2606
2150
|
/**
|
|
2607
2151
|
* Start the specified DB System.
|
|
2608
2152
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2609
2153
|
* @param StartDbSystemRequest
|
|
2610
2154
|
* @return StartDbSystemResponse
|
|
2611
2155
|
* @throws OciError when an error occurs
|
|
2612
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/StartDbSystem.ts.html |here} to see how to use StartDbSystem API.
|
|
2613
2157
|
*/
|
|
2614
2158
|
startDbSystem(startDbSystemRequest) {
|
|
2615
2159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2670,7 +2214,7 @@ class DbSystemClient {
|
|
|
2670
2214
|
* @param StartHeatWaveClusterRequest
|
|
2671
2215
|
* @return StartHeatWaveClusterResponse
|
|
2672
2216
|
* @throws OciError when an error occurs
|
|
2673
|
-
* @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.70.0/mysql/StartHeatWaveCluster.ts.html |here} to see how to use StartHeatWaveCluster API.
|
|
2674
2218
|
*/
|
|
2675
2219
|
startHeatWaveCluster(startHeatWaveClusterRequest) {
|
|
2676
2220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2725,69 +2269,6 @@ class DbSystemClient {
|
|
|
2725
2269
|
}
|
|
2726
2270
|
});
|
|
2727
2271
|
}
|
|
2728
|
-
/**
|
|
2729
|
-
* DEPRECATED -- please use HeatWave API instead.
|
|
2730
|
-
* Stops the Analytics Cluster.
|
|
2731
|
-
*
|
|
2732
|
-
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2733
|
-
* @param StopAnalyticsClusterRequest
|
|
2734
|
-
* @return StopAnalyticsClusterResponse
|
|
2735
|
-
* @throws OciError when an error occurs
|
|
2736
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.2/mysql/StopAnalyticsCluster.ts.html |here} to see how to use StopAnalyticsCluster API.
|
|
2737
|
-
*/
|
|
2738
|
-
stopAnalyticsCluster(stopAnalyticsClusterRequest) {
|
|
2739
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2740
|
-
if (this.logger)
|
|
2741
|
-
this.logger.debug("Calling operation DbSystemClient#stopAnalyticsCluster.");
|
|
2742
|
-
const operationName = "stopAnalyticsCluster";
|
|
2743
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/StopAnalyticsCluster";
|
|
2744
|
-
const pathParams = {
|
|
2745
|
-
"{dbSystemId}": stopAnalyticsClusterRequest.dbSystemId
|
|
2746
|
-
};
|
|
2747
|
-
const queryParams = {};
|
|
2748
|
-
let headerParams = {
|
|
2749
|
-
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2750
|
-
"if-match": stopAnalyticsClusterRequest.ifMatch,
|
|
2751
|
-
"opc-request-id": stopAnalyticsClusterRequest.opcRequestId,
|
|
2752
|
-
"opc-retry-token": stopAnalyticsClusterRequest.opcRetryToken
|
|
2753
|
-
};
|
|
2754
|
-
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2755
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2756
|
-
if (this.logger)
|
|
2757
|
-
retrier.logger = this.logger;
|
|
2758
|
-
const request = yield oci_common_2.composeRequest({
|
|
2759
|
-
baseEndpoint: this._endpoint,
|
|
2760
|
-
defaultHeaders: this._defaultHeaders,
|
|
2761
|
-
path: "/dbSystems/{dbSystemId}/analyticsCluster/actions/stop",
|
|
2762
|
-
method: "POST",
|
|
2763
|
-
pathParams: pathParams,
|
|
2764
|
-
headerParams: headerParams,
|
|
2765
|
-
queryParams: queryParams
|
|
2766
|
-
});
|
|
2767
|
-
try {
|
|
2768
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2769
|
-
const sdkResponse = oci_common_2.composeResponse({
|
|
2770
|
-
responseObject: {},
|
|
2771
|
-
responseHeaders: [
|
|
2772
|
-
{
|
|
2773
|
-
value: response.headers.get("opc-request-id"),
|
|
2774
|
-
key: "opcRequestId",
|
|
2775
|
-
dataType: "string"
|
|
2776
|
-
},
|
|
2777
|
-
{
|
|
2778
|
-
value: response.headers.get("opc-work-request-id"),
|
|
2779
|
-
key: "opcWorkRequestId",
|
|
2780
|
-
dataType: "string"
|
|
2781
|
-
}
|
|
2782
|
-
]
|
|
2783
|
-
});
|
|
2784
|
-
return sdkResponse;
|
|
2785
|
-
}
|
|
2786
|
-
catch (err) {
|
|
2787
|
-
throw err;
|
|
2788
|
-
}
|
|
2789
|
-
});
|
|
2790
|
-
}
|
|
2791
2272
|
/**
|
|
2792
2273
|
* Stops the specified DB System.
|
|
2793
2274
|
* <p>
|
|
@@ -2797,7 +2278,7 @@ class DbSystemClient {
|
|
|
2797
2278
|
* @param StopDbSystemRequest
|
|
2798
2279
|
* @return StopDbSystemResponse
|
|
2799
2280
|
* @throws OciError when an error occurs
|
|
2800
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2281
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/StopDbSystem.ts.html |here} to see how to use StopDbSystem API.
|
|
2801
2282
|
*/
|
|
2802
2283
|
stopDbSystem(stopDbSystemRequest) {
|
|
2803
2284
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2859,7 +2340,7 @@ class DbSystemClient {
|
|
|
2859
2340
|
* @param StopHeatWaveClusterRequest
|
|
2860
2341
|
* @return StopHeatWaveClusterResponse
|
|
2861
2342
|
* @throws OciError when an error occurs
|
|
2862
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2343
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/StopHeatWaveCluster.ts.html |here} to see how to use StopHeatWaveCluster API.
|
|
2863
2344
|
*/
|
|
2864
2345
|
stopHeatWaveCluster(stopHeatWaveClusterRequest) {
|
|
2865
2346
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2914,69 +2395,6 @@ class DbSystemClient {
|
|
|
2914
2395
|
}
|
|
2915
2396
|
});
|
|
2916
2397
|
}
|
|
2917
|
-
/**
|
|
2918
|
-
* DEPRECATED -- please use HeatWave API instead.
|
|
2919
|
-
* Updates the Analytics Cluster.
|
|
2920
|
-
*
|
|
2921
|
-
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2922
|
-
* @param UpdateAnalyticsClusterRequest
|
|
2923
|
-
* @return UpdateAnalyticsClusterResponse
|
|
2924
|
-
* @throws OciError when an error occurs
|
|
2925
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.2/mysql/UpdateAnalyticsCluster.ts.html |here} to see how to use UpdateAnalyticsCluster API.
|
|
2926
|
-
*/
|
|
2927
|
-
updateAnalyticsCluster(updateAnalyticsClusterRequest) {
|
|
2928
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2929
|
-
if (this.logger)
|
|
2930
|
-
this.logger.debug("Calling operation DbSystemClient#updateAnalyticsCluster.");
|
|
2931
|
-
const operationName = "updateAnalyticsCluster";
|
|
2932
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/UpdateAnalyticsCluster";
|
|
2933
|
-
const pathParams = {
|
|
2934
|
-
"{dbSystemId}": updateAnalyticsClusterRequest.dbSystemId
|
|
2935
|
-
};
|
|
2936
|
-
const queryParams = {};
|
|
2937
|
-
let headerParams = {
|
|
2938
|
-
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2939
|
-
"if-match": updateAnalyticsClusterRequest.ifMatch,
|
|
2940
|
-
"opc-request-id": updateAnalyticsClusterRequest.opcRequestId
|
|
2941
|
-
};
|
|
2942
|
-
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2943
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAnalyticsClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
2944
|
-
if (this.logger)
|
|
2945
|
-
retrier.logger = this.logger;
|
|
2946
|
-
const request = yield oci_common_2.composeRequest({
|
|
2947
|
-
baseEndpoint: this._endpoint,
|
|
2948
|
-
defaultHeaders: this._defaultHeaders,
|
|
2949
|
-
path: "/dbSystems/{dbSystemId}/analyticsCluster",
|
|
2950
|
-
method: "PUT",
|
|
2951
|
-
bodyContent: common.ObjectSerializer.serialize(updateAnalyticsClusterRequest.updateAnalyticsClusterDetails, "UpdateAnalyticsClusterDetails", model.UpdateAnalyticsClusterDetails.getJsonObj),
|
|
2952
|
-
pathParams: pathParams,
|
|
2953
|
-
headerParams: headerParams,
|
|
2954
|
-
queryParams: queryParams
|
|
2955
|
-
});
|
|
2956
|
-
try {
|
|
2957
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2958
|
-
const sdkResponse = oci_common_2.composeResponse({
|
|
2959
|
-
responseObject: {},
|
|
2960
|
-
responseHeaders: [
|
|
2961
|
-
{
|
|
2962
|
-
value: response.headers.get("opc-request-id"),
|
|
2963
|
-
key: "opcRequestId",
|
|
2964
|
-
dataType: "string"
|
|
2965
|
-
},
|
|
2966
|
-
{
|
|
2967
|
-
value: response.headers.get("opc-work-request-id"),
|
|
2968
|
-
key: "opcWorkRequestId",
|
|
2969
|
-
dataType: "string"
|
|
2970
|
-
}
|
|
2971
|
-
]
|
|
2972
|
-
});
|
|
2973
|
-
return sdkResponse;
|
|
2974
|
-
}
|
|
2975
|
-
catch (err) {
|
|
2976
|
-
throw err;
|
|
2977
|
-
}
|
|
2978
|
-
});
|
|
2979
|
-
}
|
|
2980
2398
|
/**
|
|
2981
2399
|
* Update the configuration of a DB System.
|
|
2982
2400
|
* <p>
|
|
@@ -2991,7 +2409,7 @@ class DbSystemClient {
|
|
|
2991
2409
|
* @param UpdateDbSystemRequest
|
|
2992
2410
|
* @return UpdateDbSystemResponse
|
|
2993
2411
|
* @throws OciError when an error occurs
|
|
2994
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2412
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2995
2413
|
*/
|
|
2996
2414
|
updateDbSystem(updateDbSystemRequest) {
|
|
2997
2415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3053,7 +2471,7 @@ class DbSystemClient {
|
|
|
3053
2471
|
* @param UpdateHeatWaveClusterRequest
|
|
3054
2472
|
* @return UpdateHeatWaveClusterResponse
|
|
3055
2473
|
* @throws OciError when an error occurs
|
|
3056
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2474
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/UpdateHeatWaveCluster.ts.html |here} to see how to use UpdateHeatWaveCluster API.
|
|
3057
2475
|
*/
|
|
3058
2476
|
updateHeatWaveCluster(updateHeatWaveClusterRequest) {
|
|
3059
2477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3247,7 +2665,7 @@ class MysqlaasClient {
|
|
|
3247
2665
|
* @param CreateConfigurationRequest
|
|
3248
2666
|
* @return CreateConfigurationResponse
|
|
3249
2667
|
* @throws OciError when an error occurs
|
|
3250
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2668
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
3251
2669
|
*/
|
|
3252
2670
|
createConfiguration(createConfigurationRequest) {
|
|
3253
2671
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3322,7 +2740,7 @@ class MysqlaasClient {
|
|
|
3322
2740
|
* @param DeleteConfigurationRequest
|
|
3323
2741
|
* @return DeleteConfigurationResponse
|
|
3324
2742
|
* @throws OciError when an error occurs
|
|
3325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2743
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
3326
2744
|
*/
|
|
3327
2745
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
3328
2746
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3378,7 +2796,7 @@ class MysqlaasClient {
|
|
|
3378
2796
|
* @param GetConfigurationRequest
|
|
3379
2797
|
* @return GetConfigurationResponse
|
|
3380
2798
|
* @throws OciError when an error occurs
|
|
3381
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2799
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
3382
2800
|
*/
|
|
3383
2801
|
getConfiguration(getConfigurationRequest) {
|
|
3384
2802
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3450,7 +2868,7 @@ class MysqlaasClient {
|
|
|
3450
2868
|
* @param ListConfigurationsRequest
|
|
3451
2869
|
* @return ListConfigurationsResponse
|
|
3452
2870
|
* @throws OciError when an error occurs
|
|
3453
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2871
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
3454
2872
|
*/
|
|
3455
2873
|
listConfigurations(listConfigurationsRequest) {
|
|
3456
2874
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3566,7 +2984,7 @@ class MysqlaasClient {
|
|
|
3566
2984
|
* @param ListShapesRequest
|
|
3567
2985
|
* @return ListShapesResponse
|
|
3568
2986
|
* @throws OciError when an error occurs
|
|
3569
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2987
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
3570
2988
|
*/
|
|
3571
2989
|
listShapes(listShapesRequest) {
|
|
3572
2990
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3630,7 +3048,7 @@ class MysqlaasClient {
|
|
|
3630
3048
|
* @param ListVersionsRequest
|
|
3631
3049
|
* @return ListVersionsResponse
|
|
3632
3050
|
* @throws OciError when an error occurs
|
|
3633
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3051
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ListVersions.ts.html |here} to see how to use ListVersions API.
|
|
3634
3052
|
*/
|
|
3635
3053
|
listVersions(listVersionsRequest) {
|
|
3636
3054
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3688,7 +3106,7 @@ class MysqlaasClient {
|
|
|
3688
3106
|
* @param UpdateConfigurationRequest
|
|
3689
3107
|
* @return UpdateConfigurationResponse
|
|
3690
3108
|
* @throws OciError when an error occurs
|
|
3691
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3109
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
3692
3110
|
*/
|
|
3693
3111
|
updateConfiguration(updateConfigurationRequest) {
|
|
3694
3112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3886,7 +3304,7 @@ class ReplicasClient {
|
|
|
3886
3304
|
* @param CreateReplicaRequest
|
|
3887
3305
|
* @return CreateReplicaResponse
|
|
3888
3306
|
* @throws OciError when an error occurs
|
|
3889
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3307
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/CreateReplica.ts.html |here} to see how to use CreateReplica API.
|
|
3890
3308
|
*/
|
|
3891
3309
|
createReplica(createReplicaRequest) {
|
|
3892
3310
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3959,7 +3377,7 @@ class ReplicasClient {
|
|
|
3959
3377
|
* @param DeleteReplicaRequest
|
|
3960
3378
|
* @return DeleteReplicaResponse
|
|
3961
3379
|
* @throws OciError when an error occurs
|
|
3962
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3380
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/DeleteReplica.ts.html |here} to see how to use DeleteReplica API.
|
|
3963
3381
|
*/
|
|
3964
3382
|
deleteReplica(deleteReplicaRequest) {
|
|
3965
3383
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4019,7 +3437,7 @@ class ReplicasClient {
|
|
|
4019
3437
|
* @param GetReplicaRequest
|
|
4020
3438
|
* @return GetReplicaResponse
|
|
4021
3439
|
* @throws OciError when an error occurs
|
|
4022
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3440
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/GetReplica.ts.html |here} to see how to use GetReplica API.
|
|
4023
3441
|
*/
|
|
4024
3442
|
getReplica(getReplicaRequest) {
|
|
4025
3443
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4083,7 +3501,7 @@ class ReplicasClient {
|
|
|
4083
3501
|
* @param ListReplicasRequest
|
|
4084
3502
|
* @return ListReplicasResponse
|
|
4085
3503
|
* @throws OciError when an error occurs
|
|
4086
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3504
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ListReplicas.ts.html |here} to see how to use ListReplicas API.
|
|
4087
3505
|
*/
|
|
4088
3506
|
listReplicas(listReplicasRequest) {
|
|
4089
3507
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4194,7 +3612,7 @@ class ReplicasClient {
|
|
|
4194
3612
|
* @param UpdateReplicaRequest
|
|
4195
3613
|
* @return UpdateReplicaResponse
|
|
4196
3614
|
* @throws OciError when an error occurs
|
|
4197
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3615
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/UpdateReplica.ts.html |here} to see how to use UpdateReplica API.
|
|
4198
3616
|
*/
|
|
4199
3617
|
updateReplica(updateReplicaRequest) {
|
|
4200
3618
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4388,7 +3806,7 @@ class WorkRequestsClient {
|
|
|
4388
3806
|
* @param GetWorkRequestRequest
|
|
4389
3807
|
* @return GetWorkRequestResponse
|
|
4390
3808
|
* @throws OciError when an error occurs
|
|
4391
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3809
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
4392
3810
|
*/
|
|
4393
3811
|
getWorkRequest(getWorkRequestRequest) {
|
|
4394
3812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4458,7 +3876,7 @@ class WorkRequestsClient {
|
|
|
4458
3876
|
* @param ListWorkRequestErrorsRequest
|
|
4459
3877
|
* @return ListWorkRequestErrorsResponse
|
|
4460
3878
|
* @throws OciError when an error occurs
|
|
4461
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3879
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
4462
3880
|
*/
|
|
4463
3881
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
4464
3882
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4565,7 +3983,7 @@ class WorkRequestsClient {
|
|
|
4565
3983
|
* @param ListWorkRequestLogsRequest
|
|
4566
3984
|
* @return ListWorkRequestLogsResponse
|
|
4567
3985
|
* @throws OciError when an error occurs
|
|
4568
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3986
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
4569
3987
|
*/
|
|
4570
3988
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
4571
3989
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4672,7 +4090,7 @@ class WorkRequestsClient {
|
|
|
4672
4090
|
* @param ListWorkRequestsRequest
|
|
4673
4091
|
* @return ListWorkRequestsResponse
|
|
4674
4092
|
* @throws OciError when an error occurs
|
|
4675
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4093
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.0/mysql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
4676
4094
|
*/
|
|
4677
4095
|
listWorkRequests(listWorkRequestsRequest) {
|
|
4678
4096
|
return __awaiter(this, void 0, void 0, function* () {
|