oci-goldengate 2.118.0 → 2.119.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 +20 -0
- package/lib/client.js +126 -0
- package/lib/client.js.map +1 -1
- package/lib/model/change-connection-subscription-details.d.ts +32 -0
- package/lib/model/change-connection-subscription-details.js +30 -0
- package/lib/model/change-connection-subscription-details.js.map +1 -0
- package/lib/model/change-deployment-subscription-details.d.ts +32 -0
- package/lib/model/change-deployment-subscription-details.js +30 -0
- package/lib/model/change-deployment-subscription-details.js.map +1 -0
- package/lib/model/change-subscription-details.d.ts +32 -0
- package/lib/model/change-subscription-details.js +30 -0
- package/lib/model/change-subscription-details.js.map +1 -0
- package/lib/model/connection-summary.d.ts +23 -0
- package/lib/model/connection-summary.js +4 -0
- package/lib/model/connection-summary.js.map +1 -1
- package/lib/model/connection-type.d.ts +1 -0
- package/lib/model/connection-type.js +1 -0
- package/lib/model/connection-type.js.map +1 -1
- package/lib/model/connection.d.ts +23 -0
- package/lib/model/connection.js +4 -0
- package/lib/model/connection.js.map +1 -1
- package/lib/model/create-connection-details.d.ts +23 -0
- package/lib/model/create-connection-details.js +4 -0
- package/lib/model/create-connection-details.js.map +1 -1
- package/lib/model/create-deployment-details.d.ts +23 -0
- package/lib/model/create-deployment-details.js.map +1 -1
- package/lib/model/create-kafka-connection-details.d.ts +15 -0
- package/lib/model/create-kafka-connection-details.js.map +1 -1
- package/lib/model/create-oracle-ai-data-platform-connection-details.d.ts +79 -0
- package/lib/model/create-oracle-ai-data-platform-connection-details.js +55 -0
- package/lib/model/create-oracle-ai-data-platform-connection-details.js.map +1 -0
- package/lib/model/deployment-peer-summary.d.ts +11 -0
- package/lib/model/deployment-peer-summary.js.map +1 -1
- package/lib/model/deployment-summary.d.ts +23 -0
- package/lib/model/deployment-summary.js.map +1 -1
- package/lib/model/deployment-type-summary.d.ts +1 -0
- package/lib/model/deployment-type-summary.js +1 -0
- package/lib/model/deployment-type-summary.js.map +1 -1
- package/lib/model/deployment.d.ts +23 -0
- package/lib/model/deployment.js.map +1 -1
- package/lib/model/index.d.ts +14 -0
- package/lib/model/index.js +22 -8
- package/lib/model/index.js.map +1 -1
- package/lib/model/kafka-connection-summary.d.ts +15 -0
- package/lib/model/kafka-connection-summary.js.map +1 -1
- package/lib/model/kafka-connection.d.ts +16 -0
- package/lib/model/kafka-connection.js +1 -0
- package/lib/model/kafka-connection.js.map +1 -1
- package/lib/model/oracle-ai-data-platform-connection-summary.d.ts +79 -0
- package/lib/model/oracle-ai-data-platform-connection-summary.js +55 -0
- package/lib/model/oracle-ai-data-platform-connection-summary.js.map +1 -0
- package/lib/model/oracle-ai-data-platform-connection.d.ts +87 -0
- package/lib/model/oracle-ai-data-platform-connection.js +64 -0
- package/lib/model/oracle-ai-data-platform-connection.js.map +1 -0
- package/lib/model/technology-type.d.ts +2 -0
- package/lib/model/technology-type.js +2 -0
- package/lib/model/technology-type.js.map +1 -1
- package/lib/model/update-connection-details.d.ts +12 -0
- package/lib/model/update-connection-details.js +4 -0
- package/lib/model/update-connection-details.js.map +1 -1
- package/lib/model/update-deployment-details.d.ts +12 -0
- package/lib/model/update-deployment-details.js.map +1 -1
- package/lib/model/update-kafka-connection-details.d.ts +15 -0
- package/lib/model/update-kafka-connection-details.js.map +1 -1
- package/lib/model/update-oracle-ai-data-platform-connection-details.d.ts +75 -0
- package/lib/model/update-oracle-ai-data-platform-connection-details.js +55 -0
- package/lib/model/update-oracle-ai-data-platform-connection-details.js.map +1 -0
- package/lib/request/change-connection-subscription-request.d.ts +50 -0
- package/lib/request/change-connection-subscription-request.js +15 -0
- package/lib/request/change-connection-subscription-request.js.map +1 -0
- package/lib/request/change-deployment-subscription-request.d.ts +50 -0
- package/lib/request/change-deployment-subscription-request.js +15 -0
- package/lib/request/change-deployment-subscription-request.js.map +1 -0
- package/lib/request/create-connection-request.d.ts +1 -1
- package/lib/request/index.d.ts +4 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/update-connection-request.d.ts +1 -1
- package/lib/response/change-connection-subscription-response.d.ts +26 -0
- package/lib/response/change-connection-subscription-response.js +15 -0
- package/lib/response/change-connection-subscription-response.js.map +1 -0
- package/lib/response/change-deployment-subscription-response.d.ts +26 -0
- package/lib/response/change-deployment-subscription-response.js +15 -0
- package/lib/response/change-deployment-subscription-response.js.map +1 -0
- package/lib/response/index.d.ts +4 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -175,6 +175,16 @@ export declare class GoldenGateClient {
|
|
|
175
175
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/goldengate/ChangeConnectionCompartment.ts.html |here} to see how to use ChangeConnectionCompartment API.
|
|
176
176
|
*/
|
|
177
177
|
changeConnectionCompartment(changeConnectionCompartmentRequest: requests.ChangeConnectionCompartmentRequest): Promise<responses.ChangeConnectionCompartmentResponse>;
|
|
178
|
+
/**
|
|
179
|
+
* Associate a GoldanGate connection with a different subscription.
|
|
180
|
+
*
|
|
181
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
182
|
+
* @param ChangeConnectionSubscriptionRequest
|
|
183
|
+
* @return ChangeConnectionSubscriptionResponse
|
|
184
|
+
* @throws OciError when an error occurs
|
|
185
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/goldengate/ChangeConnectionSubscription.ts.html |here} to see how to use ChangeConnectionSubscription API.
|
|
186
|
+
*/
|
|
187
|
+
changeConnectionSubscription(changeConnectionSubscriptionRequest: requests.ChangeConnectionSubscriptionRequest): Promise<responses.ChangeConnectionSubscriptionResponse>;
|
|
178
188
|
/**
|
|
179
189
|
* Note: Deprecated. Use the /connections API instead.
|
|
180
190
|
* Moves the DatabaseRegistration into a different compartment within the same tenancy. When
|
|
@@ -215,6 +225,16 @@ export declare class GoldenGateClient {
|
|
|
215
225
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/goldengate/ChangeDeploymentCompartment.ts.html |here} to see how to use ChangeDeploymentCompartment API.
|
|
216
226
|
*/
|
|
217
227
|
changeDeploymentCompartment(changeDeploymentCompartmentRequest: requests.ChangeDeploymentCompartmentRequest): Promise<responses.ChangeDeploymentCompartmentResponse>;
|
|
228
|
+
/**
|
|
229
|
+
* Associate a GoldanGate deployment with a different subscription.
|
|
230
|
+
*
|
|
231
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
232
|
+
* @param ChangeDeploymentSubscriptionRequest
|
|
233
|
+
* @return ChangeDeploymentSubscriptionResponse
|
|
234
|
+
* @throws OciError when an error occurs
|
|
235
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/goldengate/ChangeDeploymentSubscription.ts.html |here} to see how to use ChangeDeploymentSubscription API.
|
|
236
|
+
*/
|
|
237
|
+
changeDeploymentSubscription(changeDeploymentSubscriptionRequest: requests.ChangeDeploymentSubscriptionRequest): Promise<responses.ChangeDeploymentSubscriptionResponse>;
|
|
218
238
|
/**
|
|
219
239
|
* Moves the Pipeline into a different compartment within the same tenancy. When
|
|
220
240
|
* provided, If-Match is checked against ETag values of the resource. For information about
|
package/lib/client.js
CHANGED
|
@@ -723,6 +723,69 @@ class GoldenGateClient {
|
|
|
723
723
|
}
|
|
724
724
|
});
|
|
725
725
|
}
|
|
726
|
+
/**
|
|
727
|
+
* Associate a GoldanGate connection with a different subscription.
|
|
728
|
+
*
|
|
729
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
730
|
+
* @param ChangeConnectionSubscriptionRequest
|
|
731
|
+
* @return ChangeConnectionSubscriptionResponse
|
|
732
|
+
* @throws OciError when an error occurs
|
|
733
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/goldengate/ChangeConnectionSubscription.ts.html |here} to see how to use ChangeConnectionSubscription API.
|
|
734
|
+
*/
|
|
735
|
+
changeConnectionSubscription(changeConnectionSubscriptionRequest) {
|
|
736
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
737
|
+
if (this.logger)
|
|
738
|
+
this.logger.debug("Calling operation GoldenGateClient#changeConnectionSubscription.");
|
|
739
|
+
const operationName = "changeConnectionSubscription";
|
|
740
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Connection/ChangeConnectionSubscription";
|
|
741
|
+
const pathParams = {
|
|
742
|
+
"{connectionId}": changeConnectionSubscriptionRequest.connectionId
|
|
743
|
+
};
|
|
744
|
+
const queryParams = {};
|
|
745
|
+
let headerParams = {
|
|
746
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
747
|
+
"opc-retry-token": changeConnectionSubscriptionRequest.opcRetryToken,
|
|
748
|
+
"opc-request-id": changeConnectionSubscriptionRequest.opcRequestId,
|
|
749
|
+
"if-match": changeConnectionSubscriptionRequest.ifMatch
|
|
750
|
+
};
|
|
751
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
752
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeConnectionSubscriptionRequest.retryConfiguration, specRetryConfiguration);
|
|
753
|
+
if (this.logger)
|
|
754
|
+
retrier.logger = this.logger;
|
|
755
|
+
const request = yield oci_common_2.composeRequest({
|
|
756
|
+
baseEndpoint: this._endpoint,
|
|
757
|
+
defaultHeaders: this._defaultHeaders,
|
|
758
|
+
path: "/connections/{connectionId}/actions/changeSubscription",
|
|
759
|
+
method: "POST",
|
|
760
|
+
bodyContent: common.ObjectSerializer.serialize(changeConnectionSubscriptionRequest.changeConnectionSubscriptionDetails, "ChangeConnectionSubscriptionDetails", model.ChangeConnectionSubscriptionDetails.getJsonObj),
|
|
761
|
+
pathParams: pathParams,
|
|
762
|
+
headerParams: headerParams,
|
|
763
|
+
queryParams: queryParams
|
|
764
|
+
});
|
|
765
|
+
try {
|
|
766
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
767
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
768
|
+
responseObject: {},
|
|
769
|
+
responseHeaders: [
|
|
770
|
+
{
|
|
771
|
+
value: response.headers.get("opc-work-request-id"),
|
|
772
|
+
key: "opcWorkRequestId",
|
|
773
|
+
dataType: "string"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
value: response.headers.get("opc-request-id"),
|
|
777
|
+
key: "opcRequestId",
|
|
778
|
+
dataType: "string"
|
|
779
|
+
}
|
|
780
|
+
]
|
|
781
|
+
});
|
|
782
|
+
return sdkResponse;
|
|
783
|
+
}
|
|
784
|
+
catch (err) {
|
|
785
|
+
throw err;
|
|
786
|
+
}
|
|
787
|
+
});
|
|
788
|
+
}
|
|
726
789
|
/**
|
|
727
790
|
* Note: Deprecated. Use the /connections API instead.
|
|
728
791
|
* Moves the DatabaseRegistration into a different compartment within the same tenancy. When
|
|
@@ -926,6 +989,69 @@ class GoldenGateClient {
|
|
|
926
989
|
}
|
|
927
990
|
});
|
|
928
991
|
}
|
|
992
|
+
/**
|
|
993
|
+
* Associate a GoldanGate deployment with a different subscription.
|
|
994
|
+
*
|
|
995
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
996
|
+
* @param ChangeDeploymentSubscriptionRequest
|
|
997
|
+
* @return ChangeDeploymentSubscriptionResponse
|
|
998
|
+
* @throws OciError when an error occurs
|
|
999
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/goldengate/ChangeDeploymentSubscription.ts.html |here} to see how to use ChangeDeploymentSubscription API.
|
|
1000
|
+
*/
|
|
1001
|
+
changeDeploymentSubscription(changeDeploymentSubscriptionRequest) {
|
|
1002
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1003
|
+
if (this.logger)
|
|
1004
|
+
this.logger.debug("Calling operation GoldenGateClient#changeDeploymentSubscription.");
|
|
1005
|
+
const operationName = "changeDeploymentSubscription";
|
|
1006
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/ChangeDeploymentSubscription";
|
|
1007
|
+
const pathParams = {
|
|
1008
|
+
"{deploymentId}": changeDeploymentSubscriptionRequest.deploymentId
|
|
1009
|
+
};
|
|
1010
|
+
const queryParams = {};
|
|
1011
|
+
let headerParams = {
|
|
1012
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1013
|
+
"opc-retry-token": changeDeploymentSubscriptionRequest.opcRetryToken,
|
|
1014
|
+
"opc-request-id": changeDeploymentSubscriptionRequest.opcRequestId,
|
|
1015
|
+
"if-match": changeDeploymentSubscriptionRequest.ifMatch
|
|
1016
|
+
};
|
|
1017
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1018
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDeploymentSubscriptionRequest.retryConfiguration, specRetryConfiguration);
|
|
1019
|
+
if (this.logger)
|
|
1020
|
+
retrier.logger = this.logger;
|
|
1021
|
+
const request = yield oci_common_2.composeRequest({
|
|
1022
|
+
baseEndpoint: this._endpoint,
|
|
1023
|
+
defaultHeaders: this._defaultHeaders,
|
|
1024
|
+
path: "/deployments/{deploymentId}/actions/changeSubscription",
|
|
1025
|
+
method: "POST",
|
|
1026
|
+
bodyContent: common.ObjectSerializer.serialize(changeDeploymentSubscriptionRequest.changeDeploymentSubscriptionDetails, "ChangeDeploymentSubscriptionDetails", model.ChangeDeploymentSubscriptionDetails.getJsonObj),
|
|
1027
|
+
pathParams: pathParams,
|
|
1028
|
+
headerParams: headerParams,
|
|
1029
|
+
queryParams: queryParams
|
|
1030
|
+
});
|
|
1031
|
+
try {
|
|
1032
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1033
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1034
|
+
responseObject: {},
|
|
1035
|
+
responseHeaders: [
|
|
1036
|
+
{
|
|
1037
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1038
|
+
key: "opcWorkRequestId",
|
|
1039
|
+
dataType: "string"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
value: response.headers.get("opc-request-id"),
|
|
1043
|
+
key: "opcRequestId",
|
|
1044
|
+
dataType: "string"
|
|
1045
|
+
}
|
|
1046
|
+
]
|
|
1047
|
+
});
|
|
1048
|
+
return sdkResponse;
|
|
1049
|
+
}
|
|
1050
|
+
catch (err) {
|
|
1051
|
+
throw err;
|
|
1052
|
+
}
|
|
1053
|
+
});
|
|
1054
|
+
}
|
|
929
1055
|
/**
|
|
930
1056
|
* Moves the Pipeline into a different compartment within the same tenancy. When
|
|
931
1057
|
* provided, If-Match is checked against ETag values of the resource. For information about
|