oci-dataflow 2.62.2 → 2.63.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 +170 -28
- package/lib/client.js +936 -28
- package/lib/client.js.map +1 -1
- package/lib/dataflow-waiter.d.ts +16 -0
- package/lib/dataflow-waiter.js +24 -0
- package/lib/dataflow-waiter.js.map +1 -1
- package/lib/model/application-summary.d.ts +7 -2
- package/lib/model/application-summary.js.map +1 -1
- package/lib/model/application.d.ts +7 -2
- package/lib/model/application.js.map +1 -1
- package/lib/model/change-pool-compartment-details.d.ts +28 -0
- package/lib/model/change-pool-compartment-details.js +30 -0
- package/lib/model/change-pool-compartment-details.js.map +1 -0
- package/lib/model/change-sql-endpoint-compartment-details.d.ts +26 -0
- package/lib/model/change-sql-endpoint-compartment-details.js +30 -0
- package/lib/model/change-sql-endpoint-compartment-details.js.map +1 -0
- package/lib/model/create-application-details.d.ts +5 -0
- package/lib/model/create-application-details.js.map +1 -1
- package/lib/model/create-pool-details.d.ts +74 -0
- package/lib/model/create-pool-details.js +72 -0
- package/lib/model/create-pool-details.js.map +1 -0
- package/lib/model/create-run-details.d.ts +5 -0
- package/lib/model/create-run-details.js.map +1 -1
- package/lib/model/create-sql-endpoint-details.d.ts +100 -0
- package/lib/model/create-sql-endpoint-details.js +70 -0
- package/lib/model/create-sql-endpoint-details.js.map +1 -0
- package/lib/model/day-of-week.d.ts +35 -0
- package/lib/model/day-of-week.js +46 -0
- package/lib/model/day-of-week.js.map +1 -0
- package/lib/model/index.d.ts +50 -0
- package/lib/model/index.js +52 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/ip-notation-type.d.ts +31 -0
- package/lib/model/ip-notation-type.js +42 -0
- package/lib/model/ip-notation-type.js.map +1 -0
- package/lib/model/network-type.d.ts +29 -0
- package/lib/model/network-type.js +40 -0
- package/lib/model/network-type.js.map +1 -0
- package/lib/model/node-count.d.ts +33 -0
- package/lib/model/node-count.js +30 -0
- package/lib/model/node-count.js.map +1 -0
- package/lib/model/pool-collection.d.ts +29 -0
- package/lib/model/pool-collection.js +62 -0
- package/lib/model/pool-collection.js.map +1 -0
- package/lib/model/pool-config.d.ts +40 -0
- package/lib/model/pool-config.js +56 -0
- package/lib/model/pool-config.js.map +1 -0
- package/lib/model/pool-lifecycle-state.d.ts +38 -0
- package/lib/model/pool-lifecycle-state.js +49 -0
- package/lib/model/pool-lifecycle-state.js.map +1 -0
- package/lib/model/pool-metrics.d.ts +54 -0
- package/lib/model/pool-metrics.js +62 -0
- package/lib/model/pool-metrics.js.map +1 -0
- package/lib/model/pool-schedule.d.ts +36 -0
- package/lib/model/pool-schedule.js +30 -0
- package/lib/model/pool-schedule.js.map +1 -0
- package/lib/model/pool-summary.d.ts +86 -0
- package/lib/model/pool-summary.js +30 -0
- package/lib/model/pool-summary.js.map +1 -0
- package/lib/model/pool.d.ts +113 -0
- package/lib/model/pool.js +76 -0
- package/lib/model/pool.js.map +1 -0
- package/lib/model/private-endpoint-summary.d.ts +2 -2
- package/lib/model/private-endpoint.d.ts +2 -2
- package/lib/model/run-summary.d.ts +7 -2
- package/lib/model/run-summary.js.map +1 -1
- package/lib/model/run.d.ts +7 -2
- package/lib/model/run.js.map +1 -1
- package/lib/model/secure-access-control-rule.d.ts +35 -0
- package/lib/model/secure-access-control-rule.js +30 -0
- package/lib/model/secure-access-control-rule.js.map +1 -0
- package/lib/model/sql-endpoint-collection.d.ts +27 -0
- package/lib/model/sql-endpoint-collection.js +62 -0
- package/lib/model/sql-endpoint-collection.js.map +1 -0
- package/lib/model/sql-endpoint-lifecycle-state.d.ts +38 -0
- package/lib/model/sql-endpoint-lifecycle-state.js +49 -0
- package/lib/model/sql-endpoint-lifecycle-state.js.map +1 -0
- package/lib/model/sql-endpoint-network-configuration.d.ts +23 -0
- package/lib/model/sql-endpoint-network-configuration.js +73 -0
- package/lib/model/sql-endpoint-network-configuration.js.map +1 -0
- package/lib/model/sql-endpoint-secure-access-config.d.ts +33 -0
- package/lib/model/sql-endpoint-secure-access-config.js +67 -0
- package/lib/model/sql-endpoint-secure-access-config.js.map +1 -0
- package/lib/model/sql-endpoint-summary.d.ts +146 -0
- package/lib/model/sql-endpoint-summary.js +70 -0
- package/lib/model/sql-endpoint-summary.js.map +1 -0
- package/lib/model/sql-endpoint-vcn-config.d.ts +45 -0
- package/lib/model/sql-endpoint-vcn-config.js +55 -0
- package/lib/model/sql-endpoint-vcn-config.js.map +1 -0
- package/lib/model/sql-endpoint.d.ts +141 -0
- package/lib/model/sql-endpoint.js +70 -0
- package/lib/model/sql-endpoint.js.map +1 -0
- package/lib/model/statement-summary.d.ts +1 -1
- package/lib/model/statement.d.ts +1 -1
- package/lib/model/update-application-details.d.ts +5 -0
- package/lib/model/update-application-details.js.map +1 -1
- package/lib/model/update-pool-details.d.ts +69 -0
- package/lib/model/update-pool-details.js +72 -0
- package/lib/model/update-pool-details.js.map +1 -0
- package/lib/model/update-sql-endpoint-details.d.ts +41 -0
- package/lib/model/update-sql-endpoint-details.js +30 -0
- package/lib/model/update-sql-endpoint-details.js.map +1 -0
- package/lib/request/change-application-compartment-request.d.ts +1 -1
- package/lib/request/change-pool-compartment-request.d.ts +50 -0
- package/lib/request/change-pool-compartment-request.js +15 -0
- package/lib/request/change-pool-compartment-request.js.map +1 -0
- package/lib/request/change-private-endpoint-compartment-request.d.ts +1 -1
- package/lib/request/change-run-compartment-request.d.ts +1 -1
- package/lib/request/change-sql-endpoint-compartment-request.d.ts +48 -0
- package/lib/request/change-sql-endpoint-compartment-request.js +15 -0
- package/lib/request/change-sql-endpoint-compartment-request.js.map +1 -0
- package/lib/request/create-application-request.d.ts +1 -1
- package/lib/request/create-pool-request.d.ts +38 -0
- package/lib/request/create-pool-request.js +15 -0
- package/lib/request/create-pool-request.js.map +1 -0
- package/lib/request/create-private-endpoint-request.d.ts +1 -1
- package/lib/request/create-run-request.d.ts +1 -1
- package/lib/request/create-sql-endpoint-request.d.ts +37 -0
- package/lib/request/create-sql-endpoint-request.js +15 -0
- package/lib/request/create-sql-endpoint-request.js.map +1 -0
- package/lib/request/create-statement-request.d.ts +1 -1
- package/lib/request/delete-application-request.d.ts +1 -1
- package/lib/request/delete-pool-request.d.ts +36 -0
- package/lib/request/delete-pool-request.js +15 -0
- package/lib/request/delete-pool-request.js.map +1 -0
- package/lib/request/delete-private-endpoint-request.d.ts +1 -1
- package/lib/request/delete-run-request.d.ts +1 -1
- package/lib/request/delete-sql-endpoint-request.d.ts +35 -0
- package/lib/request/delete-sql-endpoint-request.js +15 -0
- package/lib/request/delete-sql-endpoint-request.js.map +1 -0
- package/lib/request/delete-statement-request.d.ts +1 -1
- package/lib/request/get-application-request.d.ts +1 -1
- package/lib/request/get-pool-request.d.ts +29 -0
- package/lib/request/get-pool-request.js +15 -0
- package/lib/request/get-pool-request.js.map +1 -0
- package/lib/request/get-private-endpoint-request.d.ts +1 -1
- package/lib/request/get-run-log-request.d.ts +1 -1
- package/lib/request/get-run-request.d.ts +1 -1
- package/lib/request/get-sql-endpoint-request.d.ts +28 -0
- package/lib/request/get-sql-endpoint-request.js +15 -0
- package/lib/request/get-sql-endpoint-request.js.map +1 -0
- package/lib/request/get-statement-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +28 -0
- package/lib/request/index.js +5 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-applications-request.d.ts +1 -1
- package/lib/request/list-pools-request.d.ts +80 -0
- package/lib/request/list-pools-request.js +28 -0
- package/lib/request/list-pools-request.js.map +1 -0
- package/lib/request/list-private-endpoints-request.d.ts +1 -1
- package/lib/request/list-run-logs-request.d.ts +1 -1
- package/lib/request/list-runs-request.d.ts +6 -1
- package/lib/request/list-runs-request.js.map +1 -1
- package/lib/request/list-sql-endpoints-request.d.ts +71 -0
- package/lib/request/list-sql-endpoints-request.js +30 -0
- package/lib/request/list-sql-endpoints-request.js.map +1 -0
- package/lib/request/list-statements-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/start-pool-request.d.ts +44 -0
- package/lib/request/start-pool-request.js +15 -0
- package/lib/request/start-pool-request.js.map +1 -0
- package/lib/request/stop-pool-request.d.ts +44 -0
- package/lib/request/stop-pool-request.js +15 -0
- package/lib/request/stop-pool-request.js.map +1 -0
- package/lib/request/update-application-request.d.ts +1 -1
- package/lib/request/update-pool-request.d.ts +42 -0
- package/lib/request/update-pool-request.js +15 -0
- package/lib/request/update-pool-request.js.map +1 -0
- package/lib/request/update-private-endpoint-request.d.ts +1 -1
- package/lib/request/update-run-request.d.ts +1 -1
- package/lib/request/update-sql-endpoint-request.d.ts +40 -0
- package/lib/request/update-sql-endpoint-request.js +15 -0
- package/lib/request/update-sql-endpoint-request.js.map +1 -0
- package/lib/response/change-pool-compartment-response.d.ts +20 -0
- package/lib/response/change-pool-compartment-response.js +15 -0
- package/lib/response/change-pool-compartment-response.js.map +1 -0
- package/lib/response/change-sql-endpoint-compartment-response.d.ts +25 -0
- package/lib/response/change-sql-endpoint-compartment-response.js +15 -0
- package/lib/response/change-sql-endpoint-compartment-response.js.map +1 -0
- package/lib/response/create-pool-response.d.ts +41 -0
- package/lib/response/create-pool-response.js +15 -0
- package/lib/response/create-pool-response.js.map +1 -0
- package/lib/response/create-sql-endpoint-response.d.ts +36 -0
- package/lib/response/create-sql-endpoint-response.js +15 -0
- package/lib/response/create-sql-endpoint-response.js.map +1 -0
- package/lib/response/delete-pool-response.d.ts +20 -0
- package/lib/response/delete-pool-response.js +15 -0
- package/lib/response/delete-pool-response.js.map +1 -0
- package/lib/response/delete-sql-endpoint-response.d.ts +25 -0
- package/lib/response/delete-sql-endpoint-response.js +15 -0
- package/lib/response/delete-sql-endpoint-response.js.map +1 -0
- package/lib/response/get-pool-response.d.ts +31 -0
- package/lib/response/get-pool-response.js +15 -0
- package/lib/response/get-pool-response.js.map +1 -0
- package/lib/response/get-sql-endpoint-response.d.ts +31 -0
- package/lib/response/get-sql-endpoint-response.js +15 -0
- package/lib/response/get-sql-endpoint-response.js.map +1 -0
- package/lib/response/index.d.ts +28 -0
- package/lib/response/list-pools-response.d.ts +38 -0
- package/lib/response/list-pools-response.js +15 -0
- package/lib/response/list-pools-response.js.map +1 -0
- package/lib/response/list-sql-endpoints-response.d.ts +31 -0
- package/lib/response/list-sql-endpoints-response.js +15 -0
- package/lib/response/list-sql-endpoints-response.js.map +1 -0
- package/lib/response/start-pool-response.d.ts +25 -0
- package/lib/response/start-pool-response.js +15 -0
- package/lib/response/start-pool-response.js.map +1 -0
- package/lib/response/stop-pool-response.d.ts +25 -0
- package/lib/response/stop-pool-response.js +15 -0
- package/lib/response/stop-pool-response.js.map +1 -0
- package/lib/response/update-pool-response.d.ts +25 -0
- package/lib/response/update-pool-response.js +15 -0
- package/lib/response/update-pool-response.js.map +1 -0
- package/lib/response/update-sql-endpoint-response.d.ts +25 -0
- package/lib/response/update-sql-endpoint-response.js +15 -0
- package/lib/response/update-sql-endpoint-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -183,7 +183,7 @@ class DataFlowClient {
|
|
|
183
183
|
* @param ChangeApplicationCompartmentRequest
|
|
184
184
|
* @return ChangeApplicationCompartmentResponse
|
|
185
185
|
* @throws OciError when an error occurs
|
|
186
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
186
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ChangeApplicationCompartment.ts.html |here} to see how to use ChangeApplicationCompartment API.
|
|
187
187
|
*/
|
|
188
188
|
changeApplicationCompartment(changeApplicationCompartmentRequest) {
|
|
189
189
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -234,6 +234,67 @@ class DataFlowClient {
|
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
236
|
}
|
|
237
|
+
/**
|
|
238
|
+
* Moves a pool into a different compartment. When provided, If-Match is checked against ETag
|
|
239
|
+
* values of the resource. Associated resources, like historical metrics, will not be
|
|
240
|
+
* automatically moved. The pool must be in a terminal state (STOPPED, FAILED) in
|
|
241
|
+
* order for it to be moved to a different compartment
|
|
242
|
+
*
|
|
243
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
244
|
+
* @param ChangePoolCompartmentRequest
|
|
245
|
+
* @return ChangePoolCompartmentResponse
|
|
246
|
+
* @throws OciError when an error occurs
|
|
247
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ChangePoolCompartment.ts.html |here} to see how to use ChangePoolCompartment API.
|
|
248
|
+
*/
|
|
249
|
+
changePoolCompartment(changePoolCompartmentRequest) {
|
|
250
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
251
|
+
if (this.logger)
|
|
252
|
+
this.logger.debug("Calling operation DataFlowClient#changePoolCompartment.");
|
|
253
|
+
const operationName = "changePoolCompartment";
|
|
254
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/ChangePoolCompartment";
|
|
255
|
+
const pathParams = {
|
|
256
|
+
"{poolId}": changePoolCompartmentRequest.poolId
|
|
257
|
+
};
|
|
258
|
+
const queryParams = {};
|
|
259
|
+
let headerParams = {
|
|
260
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
261
|
+
"if-match": changePoolCompartmentRequest.ifMatch,
|
|
262
|
+
"opc-retry-token": changePoolCompartmentRequest.opcRetryToken,
|
|
263
|
+
"opc-request-id": changePoolCompartmentRequest.opcRequestId
|
|
264
|
+
};
|
|
265
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
266
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changePoolCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
267
|
+
if (this.logger)
|
|
268
|
+
retrier.logger = this.logger;
|
|
269
|
+
const request = yield oci_common_2.composeRequest({
|
|
270
|
+
baseEndpoint: this._endpoint,
|
|
271
|
+
defaultHeaders: this._defaultHeaders,
|
|
272
|
+
path: "/pools/{poolId}/actions/changeCompartment",
|
|
273
|
+
method: "POST",
|
|
274
|
+
bodyContent: common.ObjectSerializer.serialize(changePoolCompartmentRequest.changePoolCompartmentDetails, "ChangePoolCompartmentDetails", model.ChangePoolCompartmentDetails.getJsonObj),
|
|
275
|
+
pathParams: pathParams,
|
|
276
|
+
headerParams: headerParams,
|
|
277
|
+
queryParams: queryParams
|
|
278
|
+
});
|
|
279
|
+
try {
|
|
280
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
281
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
282
|
+
responseObject: {},
|
|
283
|
+
responseHeaders: [
|
|
284
|
+
{
|
|
285
|
+
value: response.headers.get("opc-request-id"),
|
|
286
|
+
key: "opcRequestId",
|
|
287
|
+
dataType: "string"
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
});
|
|
291
|
+
return sdkResponse;
|
|
292
|
+
}
|
|
293
|
+
catch (err) {
|
|
294
|
+
throw err;
|
|
295
|
+
}
|
|
296
|
+
});
|
|
297
|
+
}
|
|
237
298
|
/**
|
|
238
299
|
* Moves a private endpoint into a different compartment. When provided, If-Match is checked against ETag values of the resource.
|
|
239
300
|
*
|
|
@@ -241,7 +302,7 @@ class DataFlowClient {
|
|
|
241
302
|
* @param ChangePrivateEndpointCompartmentRequest
|
|
242
303
|
* @return ChangePrivateEndpointCompartmentResponse
|
|
243
304
|
* @throws OciError when an error occurs
|
|
244
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
305
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ChangePrivateEndpointCompartment.ts.html |here} to see how to use ChangePrivateEndpointCompartment API.
|
|
245
306
|
*/
|
|
246
307
|
changePrivateEndpointCompartment(changePrivateEndpointCompartmentRequest) {
|
|
247
308
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -306,7 +367,7 @@ class DataFlowClient {
|
|
|
306
367
|
* @param ChangeRunCompartmentRequest
|
|
307
368
|
* @return ChangeRunCompartmentResponse
|
|
308
369
|
* @throws OciError when an error occurs
|
|
309
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
370
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ChangeRunCompartment.ts.html |here} to see how to use ChangeRunCompartment API.
|
|
310
371
|
*/
|
|
311
372
|
changeRunCompartment(changeRunCompartmentRequest) {
|
|
312
373
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -357,6 +418,68 @@ class DataFlowClient {
|
|
|
357
418
|
}
|
|
358
419
|
});
|
|
359
420
|
}
|
|
421
|
+
/**
|
|
422
|
+
* Moves an Sql Endpoint from one compartment to another. When provided, If-Match is checked against ETag values of the Sql Endpoint.
|
|
423
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
424
|
+
* @param ChangeSqlEndpointCompartmentRequest
|
|
425
|
+
* @return ChangeSqlEndpointCompartmentResponse
|
|
426
|
+
* @throws OciError when an error occurs
|
|
427
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ChangeSqlEndpointCompartment.ts.html |here} to see how to use ChangeSqlEndpointCompartment API.
|
|
428
|
+
*/
|
|
429
|
+
changeSqlEndpointCompartment(changeSqlEndpointCompartmentRequest) {
|
|
430
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
431
|
+
if (this.logger)
|
|
432
|
+
this.logger.debug("Calling operation DataFlowClient#changeSqlEndpointCompartment.");
|
|
433
|
+
const operationName = "changeSqlEndpointCompartment";
|
|
434
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpoint/ChangeSqlEndpointCompartment";
|
|
435
|
+
const pathParams = {
|
|
436
|
+
"{sqlEndpointId}": changeSqlEndpointCompartmentRequest.sqlEndpointId
|
|
437
|
+
};
|
|
438
|
+
const queryParams = {};
|
|
439
|
+
let headerParams = {
|
|
440
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
441
|
+
"if-match": changeSqlEndpointCompartmentRequest.ifMatch,
|
|
442
|
+
"opc-request-id": changeSqlEndpointCompartmentRequest.opcRequestId,
|
|
443
|
+
"opc-retry-token": changeSqlEndpointCompartmentRequest.opcRetryToken
|
|
444
|
+
};
|
|
445
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
446
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSqlEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
447
|
+
if (this.logger)
|
|
448
|
+
retrier.logger = this.logger;
|
|
449
|
+
const request = yield oci_common_2.composeRequest({
|
|
450
|
+
baseEndpoint: this._endpoint,
|
|
451
|
+
defaultHeaders: this._defaultHeaders,
|
|
452
|
+
path: "/sqlEndpoints/{sqlEndpointId}/actions/changeCompartment",
|
|
453
|
+
method: "POST",
|
|
454
|
+
bodyContent: common.ObjectSerializer.serialize(changeSqlEndpointCompartmentRequest.changeSqlEndpointCompartmentDetails, "ChangeSqlEndpointCompartmentDetails", model.ChangeSqlEndpointCompartmentDetails.getJsonObj),
|
|
455
|
+
pathParams: pathParams,
|
|
456
|
+
headerParams: headerParams,
|
|
457
|
+
queryParams: queryParams
|
|
458
|
+
});
|
|
459
|
+
try {
|
|
460
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
461
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
462
|
+
responseObject: {},
|
|
463
|
+
responseHeaders: [
|
|
464
|
+
{
|
|
465
|
+
value: response.headers.get("opc-request-id"),
|
|
466
|
+
key: "opcRequestId",
|
|
467
|
+
dataType: "string"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
value: response.headers.get("opc-work-request-id"),
|
|
471
|
+
key: "opcWorkRequestId",
|
|
472
|
+
dataType: "string"
|
|
473
|
+
}
|
|
474
|
+
]
|
|
475
|
+
});
|
|
476
|
+
return sdkResponse;
|
|
477
|
+
}
|
|
478
|
+
catch (err) {
|
|
479
|
+
throw err;
|
|
480
|
+
}
|
|
481
|
+
});
|
|
482
|
+
}
|
|
360
483
|
/**
|
|
361
484
|
* Creates an application.
|
|
362
485
|
*
|
|
@@ -364,7 +487,7 @@ class DataFlowClient {
|
|
|
364
487
|
* @param CreateApplicationRequest
|
|
365
488
|
* @return CreateApplicationResponse
|
|
366
489
|
* @throws OciError when an error occurs
|
|
367
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
490
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/CreateApplication.ts.html |here} to see how to use CreateApplication API.
|
|
368
491
|
*/
|
|
369
492
|
createApplication(createApplicationRequest) {
|
|
370
493
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -421,6 +544,80 @@ class DataFlowClient {
|
|
|
421
544
|
}
|
|
422
545
|
});
|
|
423
546
|
}
|
|
547
|
+
/**
|
|
548
|
+
* Create a pool to be used by dataflow runs or applications.
|
|
549
|
+
*
|
|
550
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
551
|
+
* @param CreatePoolRequest
|
|
552
|
+
* @return CreatePoolResponse
|
|
553
|
+
* @throws OciError when an error occurs
|
|
554
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/CreatePool.ts.html |here} to see how to use CreatePool API.
|
|
555
|
+
*/
|
|
556
|
+
createPool(createPoolRequest) {
|
|
557
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
558
|
+
if (this.logger)
|
|
559
|
+
this.logger.debug("Calling operation DataFlowClient#createPool.");
|
|
560
|
+
const operationName = "createPool";
|
|
561
|
+
const apiReferenceLink = "";
|
|
562
|
+
const pathParams = {};
|
|
563
|
+
const queryParams = {};
|
|
564
|
+
let headerParams = {
|
|
565
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
566
|
+
"opc-retry-token": createPoolRequest.opcRetryToken,
|
|
567
|
+
"opc-request-id": createPoolRequest.opcRequestId
|
|
568
|
+
};
|
|
569
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
570
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
571
|
+
if (this.logger)
|
|
572
|
+
retrier.logger = this.logger;
|
|
573
|
+
const request = yield oci_common_2.composeRequest({
|
|
574
|
+
baseEndpoint: this._endpoint,
|
|
575
|
+
defaultHeaders: this._defaultHeaders,
|
|
576
|
+
path: "/pools",
|
|
577
|
+
method: "POST",
|
|
578
|
+
bodyContent: common.ObjectSerializer.serialize(createPoolRequest.createPoolDetails, "CreatePoolDetails", model.CreatePoolDetails.getJsonObj),
|
|
579
|
+
pathParams: pathParams,
|
|
580
|
+
headerParams: headerParams,
|
|
581
|
+
queryParams: queryParams
|
|
582
|
+
});
|
|
583
|
+
try {
|
|
584
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
585
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
586
|
+
responseObject: {},
|
|
587
|
+
body: yield response.json(),
|
|
588
|
+
bodyKey: "pool",
|
|
589
|
+
bodyModel: model.Pool,
|
|
590
|
+
type: "model.Pool",
|
|
591
|
+
responseHeaders: [
|
|
592
|
+
{
|
|
593
|
+
value: response.headers.get("etag"),
|
|
594
|
+
key: "etag",
|
|
595
|
+
dataType: "string"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
value: response.headers.get("opc-request-id"),
|
|
599
|
+
key: "opcRequestId",
|
|
600
|
+
dataType: "string"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
value: response.headers.get("opc-work-request-id"),
|
|
604
|
+
key: "opcWorkRequestId",
|
|
605
|
+
dataType: "string"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
value: response.headers.get("Location"),
|
|
609
|
+
key: "location",
|
|
610
|
+
dataType: "string"
|
|
611
|
+
}
|
|
612
|
+
]
|
|
613
|
+
});
|
|
614
|
+
return sdkResponse;
|
|
615
|
+
}
|
|
616
|
+
catch (err) {
|
|
617
|
+
throw err;
|
|
618
|
+
}
|
|
619
|
+
});
|
|
620
|
+
}
|
|
424
621
|
/**
|
|
425
622
|
* Creates a private endpoint to be used by applications.
|
|
426
623
|
*
|
|
@@ -428,7 +625,7 @@ class DataFlowClient {
|
|
|
428
625
|
* @param CreatePrivateEndpointRequest
|
|
429
626
|
* @return CreatePrivateEndpointResponse
|
|
430
627
|
* @throws OciError when an error occurs
|
|
431
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
628
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/CreatePrivateEndpoint.ts.html |here} to see how to use CreatePrivateEndpoint API.
|
|
432
629
|
*/
|
|
433
630
|
createPrivateEndpoint(createPrivateEndpointRequest) {
|
|
434
631
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -502,7 +699,7 @@ class DataFlowClient {
|
|
|
502
699
|
* @param CreateRunRequest
|
|
503
700
|
* @return CreateRunResponse
|
|
504
701
|
* @throws OciError when an error occurs
|
|
505
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
702
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/CreateRun.ts.html |here} to see how to use CreateRun API.
|
|
506
703
|
*/
|
|
507
704
|
createRun(createRunRequest) {
|
|
508
705
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -559,6 +756,74 @@ class DataFlowClient {
|
|
|
559
756
|
}
|
|
560
757
|
});
|
|
561
758
|
}
|
|
759
|
+
/**
|
|
760
|
+
* Create a new Sql Endpoint.
|
|
761
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
762
|
+
* @param CreateSqlEndpointRequest
|
|
763
|
+
* @return CreateSqlEndpointResponse
|
|
764
|
+
* @throws OciError when an error occurs
|
|
765
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/CreateSqlEndpoint.ts.html |here} to see how to use CreateSqlEndpoint API.
|
|
766
|
+
*/
|
|
767
|
+
createSqlEndpoint(createSqlEndpointRequest) {
|
|
768
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
769
|
+
if (this.logger)
|
|
770
|
+
this.logger.debug("Calling operation DataFlowClient#createSqlEndpoint.");
|
|
771
|
+
const operationName = "createSqlEndpoint";
|
|
772
|
+
const apiReferenceLink = "";
|
|
773
|
+
const pathParams = {};
|
|
774
|
+
const queryParams = {};
|
|
775
|
+
let headerParams = {
|
|
776
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
777
|
+
"opc-retry-token": createSqlEndpointRequest.opcRetryToken,
|
|
778
|
+
"opc-request-id": createSqlEndpointRequest.opcRequestId
|
|
779
|
+
};
|
|
780
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
781
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSqlEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
782
|
+
if (this.logger)
|
|
783
|
+
retrier.logger = this.logger;
|
|
784
|
+
const request = yield oci_common_2.composeRequest({
|
|
785
|
+
baseEndpoint: this._endpoint,
|
|
786
|
+
defaultHeaders: this._defaultHeaders,
|
|
787
|
+
path: "/sqlEndpoints",
|
|
788
|
+
method: "POST",
|
|
789
|
+
bodyContent: common.ObjectSerializer.serialize(createSqlEndpointRequest.createSqlEndpointDetails, "CreateSqlEndpointDetails", model.CreateSqlEndpointDetails.getJsonObj),
|
|
790
|
+
pathParams: pathParams,
|
|
791
|
+
headerParams: headerParams,
|
|
792
|
+
queryParams: queryParams
|
|
793
|
+
});
|
|
794
|
+
try {
|
|
795
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
796
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
797
|
+
responseObject: {},
|
|
798
|
+
body: yield response.json(),
|
|
799
|
+
bodyKey: "sqlEndpoint",
|
|
800
|
+
bodyModel: model.SqlEndpoint,
|
|
801
|
+
type: "model.SqlEndpoint",
|
|
802
|
+
responseHeaders: [
|
|
803
|
+
{
|
|
804
|
+
value: response.headers.get("opc-request-id"),
|
|
805
|
+
key: "opcRequestId",
|
|
806
|
+
dataType: "string"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
value: response.headers.get("opc-work-request-id"),
|
|
810
|
+
key: "opcWorkRequestId",
|
|
811
|
+
dataType: "string"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
value: response.headers.get("etag"),
|
|
815
|
+
key: "etag",
|
|
816
|
+
dataType: "string"
|
|
817
|
+
}
|
|
818
|
+
]
|
|
819
|
+
});
|
|
820
|
+
return sdkResponse;
|
|
821
|
+
}
|
|
822
|
+
catch (err) {
|
|
823
|
+
throw err;
|
|
824
|
+
}
|
|
825
|
+
});
|
|
826
|
+
}
|
|
562
827
|
/**
|
|
563
828
|
* Executes a statement for a Session run.
|
|
564
829
|
*
|
|
@@ -566,7 +831,7 @@ class DataFlowClient {
|
|
|
566
831
|
* @param CreateStatementRequest
|
|
567
832
|
* @return CreateStatementResponse
|
|
568
833
|
* @throws OciError when an error occurs
|
|
569
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
834
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/CreateStatement.ts.html |here} to see how to use CreateStatement API.
|
|
570
835
|
*/
|
|
571
836
|
createStatement(createStatementRequest) {
|
|
572
837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -631,7 +896,7 @@ class DataFlowClient {
|
|
|
631
896
|
* @param DeleteApplicationRequest
|
|
632
897
|
* @return DeleteApplicationResponse
|
|
633
898
|
* @throws OciError when an error occurs
|
|
634
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
899
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/DeleteApplication.ts.html |here} to see how to use DeleteApplication API.
|
|
635
900
|
*/
|
|
636
901
|
deleteApplication(deleteApplicationRequest) {
|
|
637
902
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -680,6 +945,62 @@ class DataFlowClient {
|
|
|
680
945
|
}
|
|
681
946
|
});
|
|
682
947
|
}
|
|
948
|
+
/**
|
|
949
|
+
* Deletes a pool using a `poolId`.
|
|
950
|
+
*
|
|
951
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
952
|
+
* @param DeletePoolRequest
|
|
953
|
+
* @return DeletePoolResponse
|
|
954
|
+
* @throws OciError when an error occurs
|
|
955
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/DeletePool.ts.html |here} to see how to use DeletePool API.
|
|
956
|
+
*/
|
|
957
|
+
deletePool(deletePoolRequest) {
|
|
958
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
959
|
+
if (this.logger)
|
|
960
|
+
this.logger.debug("Calling operation DataFlowClient#deletePool.");
|
|
961
|
+
const operationName = "deletePool";
|
|
962
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/DeletePool";
|
|
963
|
+
const pathParams = {
|
|
964
|
+
"{poolId}": deletePoolRequest.poolId
|
|
965
|
+
};
|
|
966
|
+
const queryParams = {};
|
|
967
|
+
let headerParams = {
|
|
968
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
969
|
+
"opc-request-id": deletePoolRequest.opcRequestId,
|
|
970
|
+
"if-match": deletePoolRequest.ifMatch
|
|
971
|
+
};
|
|
972
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
973
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePoolRequest.retryConfiguration, specRetryConfiguration);
|
|
974
|
+
if (this.logger)
|
|
975
|
+
retrier.logger = this.logger;
|
|
976
|
+
const request = yield oci_common_2.composeRequest({
|
|
977
|
+
baseEndpoint: this._endpoint,
|
|
978
|
+
defaultHeaders: this._defaultHeaders,
|
|
979
|
+
path: "/pools/{poolId}",
|
|
980
|
+
method: "DELETE",
|
|
981
|
+
pathParams: pathParams,
|
|
982
|
+
headerParams: headerParams,
|
|
983
|
+
queryParams: queryParams
|
|
984
|
+
});
|
|
985
|
+
try {
|
|
986
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
987
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
988
|
+
responseObject: {},
|
|
989
|
+
responseHeaders: [
|
|
990
|
+
{
|
|
991
|
+
value: response.headers.get("opc-request-id"),
|
|
992
|
+
key: "opcRequestId",
|
|
993
|
+
dataType: "string"
|
|
994
|
+
}
|
|
995
|
+
]
|
|
996
|
+
});
|
|
997
|
+
return sdkResponse;
|
|
998
|
+
}
|
|
999
|
+
catch (err) {
|
|
1000
|
+
throw err;
|
|
1001
|
+
}
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
683
1004
|
/**
|
|
684
1005
|
* Deletes a private endpoint using a `privateEndpointId`.
|
|
685
1006
|
*
|
|
@@ -687,7 +1008,7 @@ class DataFlowClient {
|
|
|
687
1008
|
* @param DeletePrivateEndpointRequest
|
|
688
1009
|
* @return DeletePrivateEndpointResponse
|
|
689
1010
|
* @throws OciError when an error occurs
|
|
690
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1011
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/DeletePrivateEndpoint.ts.html |here} to see how to use DeletePrivateEndpoint API.
|
|
691
1012
|
*/
|
|
692
1013
|
deletePrivateEndpoint(deletePrivateEndpointRequest) {
|
|
693
1014
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -749,7 +1070,7 @@ class DataFlowClient {
|
|
|
749
1070
|
* @param DeleteRunRequest
|
|
750
1071
|
* @return DeleteRunResponse
|
|
751
1072
|
* @throws OciError when an error occurs
|
|
752
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1073
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/DeleteRun.ts.html |here} to see how to use DeleteRun API.
|
|
753
1074
|
*/
|
|
754
1075
|
deleteRun(deleteRunRequest) {
|
|
755
1076
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -798,6 +1119,66 @@ class DataFlowClient {
|
|
|
798
1119
|
}
|
|
799
1120
|
});
|
|
800
1121
|
}
|
|
1122
|
+
/**
|
|
1123
|
+
* Delete a Sql Endpoint resource, identified by the SqlEndpoint id.
|
|
1124
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1125
|
+
* @param DeleteSqlEndpointRequest
|
|
1126
|
+
* @return DeleteSqlEndpointResponse
|
|
1127
|
+
* @throws OciError when an error occurs
|
|
1128
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/DeleteSqlEndpoint.ts.html |here} to see how to use DeleteSqlEndpoint API.
|
|
1129
|
+
*/
|
|
1130
|
+
deleteSqlEndpoint(deleteSqlEndpointRequest) {
|
|
1131
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1132
|
+
if (this.logger)
|
|
1133
|
+
this.logger.debug("Calling operation DataFlowClient#deleteSqlEndpoint.");
|
|
1134
|
+
const operationName = "deleteSqlEndpoint";
|
|
1135
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpoint/DeleteSqlEndpoint";
|
|
1136
|
+
const pathParams = {
|
|
1137
|
+
"{sqlEndpointId}": deleteSqlEndpointRequest.sqlEndpointId
|
|
1138
|
+
};
|
|
1139
|
+
const queryParams = {};
|
|
1140
|
+
let headerParams = {
|
|
1141
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1142
|
+
"if-match": deleteSqlEndpointRequest.ifMatch,
|
|
1143
|
+
"opc-request-id": deleteSqlEndpointRequest.opcRequestId
|
|
1144
|
+
};
|
|
1145
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1146
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSqlEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1147
|
+
if (this.logger)
|
|
1148
|
+
retrier.logger = this.logger;
|
|
1149
|
+
const request = yield oci_common_2.composeRequest({
|
|
1150
|
+
baseEndpoint: this._endpoint,
|
|
1151
|
+
defaultHeaders: this._defaultHeaders,
|
|
1152
|
+
path: "/sqlEndpoints/{sqlEndpointId}",
|
|
1153
|
+
method: "DELETE",
|
|
1154
|
+
pathParams: pathParams,
|
|
1155
|
+
headerParams: headerParams,
|
|
1156
|
+
queryParams: queryParams
|
|
1157
|
+
});
|
|
1158
|
+
try {
|
|
1159
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1160
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1161
|
+
responseObject: {},
|
|
1162
|
+
responseHeaders: [
|
|
1163
|
+
{
|
|
1164
|
+
value: response.headers.get("opc-request-id"),
|
|
1165
|
+
key: "opcRequestId",
|
|
1166
|
+
dataType: "string"
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1170
|
+
key: "opcWorkRequestId",
|
|
1171
|
+
dataType: "string"
|
|
1172
|
+
}
|
|
1173
|
+
]
|
|
1174
|
+
});
|
|
1175
|
+
return sdkResponse;
|
|
1176
|
+
}
|
|
1177
|
+
catch (err) {
|
|
1178
|
+
throw err;
|
|
1179
|
+
}
|
|
1180
|
+
});
|
|
1181
|
+
}
|
|
801
1182
|
/**
|
|
802
1183
|
* Cancels the specified statement for a Session run.
|
|
803
1184
|
*
|
|
@@ -805,7 +1186,7 @@ class DataFlowClient {
|
|
|
805
1186
|
* @param DeleteStatementRequest
|
|
806
1187
|
* @return DeleteStatementResponse
|
|
807
1188
|
* @throws OciError when an error occurs
|
|
808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1189
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/DeleteStatement.ts.html |here} to see how to use DeleteStatement API.
|
|
809
1190
|
*/
|
|
810
1191
|
deleteStatement(deleteStatementRequest) {
|
|
811
1192
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -862,7 +1243,7 @@ class DataFlowClient {
|
|
|
862
1243
|
* @param GetApplicationRequest
|
|
863
1244
|
* @return GetApplicationResponse
|
|
864
1245
|
* @throws OciError when an error occurs
|
|
865
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1246
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetApplication.ts.html |here} to see how to use GetApplication API.
|
|
866
1247
|
*/
|
|
867
1248
|
getApplication(getApplicationRequest) {
|
|
868
1249
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -919,6 +1300,70 @@ class DataFlowClient {
|
|
|
919
1300
|
}
|
|
920
1301
|
});
|
|
921
1302
|
}
|
|
1303
|
+
/**
|
|
1304
|
+
* Retrieves a pool using a `poolId`.
|
|
1305
|
+
*
|
|
1306
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1307
|
+
* @param GetPoolRequest
|
|
1308
|
+
* @return GetPoolResponse
|
|
1309
|
+
* @throws OciError when an error occurs
|
|
1310
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetPool.ts.html |here} to see how to use GetPool API.
|
|
1311
|
+
*/
|
|
1312
|
+
getPool(getPoolRequest) {
|
|
1313
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1314
|
+
if (this.logger)
|
|
1315
|
+
this.logger.debug("Calling operation DataFlowClient#getPool.");
|
|
1316
|
+
const operationName = "getPool";
|
|
1317
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/GetPool";
|
|
1318
|
+
const pathParams = {
|
|
1319
|
+
"{poolId}": getPoolRequest.poolId
|
|
1320
|
+
};
|
|
1321
|
+
const queryParams = {};
|
|
1322
|
+
let headerParams = {
|
|
1323
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1324
|
+
"opc-request-id": getPoolRequest.opcRequestId
|
|
1325
|
+
};
|
|
1326
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1327
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
1328
|
+
if (this.logger)
|
|
1329
|
+
retrier.logger = this.logger;
|
|
1330
|
+
const request = yield oci_common_2.composeRequest({
|
|
1331
|
+
baseEndpoint: this._endpoint,
|
|
1332
|
+
defaultHeaders: this._defaultHeaders,
|
|
1333
|
+
path: "/pools/{poolId}",
|
|
1334
|
+
method: "GET",
|
|
1335
|
+
pathParams: pathParams,
|
|
1336
|
+
headerParams: headerParams,
|
|
1337
|
+
queryParams: queryParams
|
|
1338
|
+
});
|
|
1339
|
+
try {
|
|
1340
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1341
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1342
|
+
responseObject: {},
|
|
1343
|
+
body: yield response.json(),
|
|
1344
|
+
bodyKey: "pool",
|
|
1345
|
+
bodyModel: model.Pool,
|
|
1346
|
+
type: "model.Pool",
|
|
1347
|
+
responseHeaders: [
|
|
1348
|
+
{
|
|
1349
|
+
value: response.headers.get("etag"),
|
|
1350
|
+
key: "etag",
|
|
1351
|
+
dataType: "string"
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
value: response.headers.get("opc-request-id"),
|
|
1355
|
+
key: "opcRequestId",
|
|
1356
|
+
dataType: "string"
|
|
1357
|
+
}
|
|
1358
|
+
]
|
|
1359
|
+
});
|
|
1360
|
+
return sdkResponse;
|
|
1361
|
+
}
|
|
1362
|
+
catch (err) {
|
|
1363
|
+
throw err;
|
|
1364
|
+
}
|
|
1365
|
+
});
|
|
1366
|
+
}
|
|
922
1367
|
/**
|
|
923
1368
|
* Retrieves an private endpoint using a `privateEndpointId`.
|
|
924
1369
|
*
|
|
@@ -926,7 +1371,7 @@ class DataFlowClient {
|
|
|
926
1371
|
* @param GetPrivateEndpointRequest
|
|
927
1372
|
* @return GetPrivateEndpointResponse
|
|
928
1373
|
* @throws OciError when an error occurs
|
|
929
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1374
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetPrivateEndpoint.ts.html |here} to see how to use GetPrivateEndpoint API.
|
|
930
1375
|
*/
|
|
931
1376
|
getPrivateEndpoint(getPrivateEndpointRequest) {
|
|
932
1377
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -990,7 +1435,7 @@ class DataFlowClient {
|
|
|
990
1435
|
* @param GetRunRequest
|
|
991
1436
|
* @return GetRunResponse
|
|
992
1437
|
* @throws OciError when an error occurs
|
|
993
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1438
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetRun.ts.html |here} to see how to use GetRun API.
|
|
994
1439
|
*/
|
|
995
1440
|
getRun(getRunRequest) {
|
|
996
1441
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1054,7 +1499,7 @@ class DataFlowClient {
|
|
|
1054
1499
|
* @param GetRunLogRequest
|
|
1055
1500
|
* @return GetRunLogResponse
|
|
1056
1501
|
* @throws OciError when an error occurs
|
|
1057
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1502
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetRunLog.ts.html |here} to see how to use GetRunLog API.
|
|
1058
1503
|
*/
|
|
1059
1504
|
getRunLog(getRunLogRequest) {
|
|
1060
1505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1134,6 +1579,69 @@ class DataFlowClient {
|
|
|
1134
1579
|
}
|
|
1135
1580
|
});
|
|
1136
1581
|
}
|
|
1582
|
+
/**
|
|
1583
|
+
* Retrieves a SQL Endpoint using a sqlEndpointId.
|
|
1584
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1585
|
+
* @param GetSqlEndpointRequest
|
|
1586
|
+
* @return GetSqlEndpointResponse
|
|
1587
|
+
* @throws OciError when an error occurs
|
|
1588
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetSqlEndpoint.ts.html |here} to see how to use GetSqlEndpoint API.
|
|
1589
|
+
*/
|
|
1590
|
+
getSqlEndpoint(getSqlEndpointRequest) {
|
|
1591
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1592
|
+
if (this.logger)
|
|
1593
|
+
this.logger.debug("Calling operation DataFlowClient#getSqlEndpoint.");
|
|
1594
|
+
const operationName = "getSqlEndpoint";
|
|
1595
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpoint/GetSqlEndpoint";
|
|
1596
|
+
const pathParams = {
|
|
1597
|
+
"{sqlEndpointId}": getSqlEndpointRequest.sqlEndpointId
|
|
1598
|
+
};
|
|
1599
|
+
const queryParams = {};
|
|
1600
|
+
let headerParams = {
|
|
1601
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1602
|
+
"opc-request-id": getSqlEndpointRequest.opcRequestId
|
|
1603
|
+
};
|
|
1604
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1605
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSqlEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1606
|
+
if (this.logger)
|
|
1607
|
+
retrier.logger = this.logger;
|
|
1608
|
+
const request = yield oci_common_2.composeRequest({
|
|
1609
|
+
baseEndpoint: this._endpoint,
|
|
1610
|
+
defaultHeaders: this._defaultHeaders,
|
|
1611
|
+
path: "/sqlEndpoints/{sqlEndpointId}",
|
|
1612
|
+
method: "GET",
|
|
1613
|
+
pathParams: pathParams,
|
|
1614
|
+
headerParams: headerParams,
|
|
1615
|
+
queryParams: queryParams
|
|
1616
|
+
});
|
|
1617
|
+
try {
|
|
1618
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1619
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1620
|
+
responseObject: {},
|
|
1621
|
+
body: yield response.json(),
|
|
1622
|
+
bodyKey: "sqlEndpoint",
|
|
1623
|
+
bodyModel: model.SqlEndpoint,
|
|
1624
|
+
type: "model.SqlEndpoint",
|
|
1625
|
+
responseHeaders: [
|
|
1626
|
+
{
|
|
1627
|
+
value: response.headers.get("etag"),
|
|
1628
|
+
key: "etag",
|
|
1629
|
+
dataType: "string"
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
value: response.headers.get("opc-request-id"),
|
|
1633
|
+
key: "opcRequestId",
|
|
1634
|
+
dataType: "string"
|
|
1635
|
+
}
|
|
1636
|
+
]
|
|
1637
|
+
});
|
|
1638
|
+
return sdkResponse;
|
|
1639
|
+
}
|
|
1640
|
+
catch (err) {
|
|
1641
|
+
throw err;
|
|
1642
|
+
}
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
1137
1645
|
/**
|
|
1138
1646
|
* Retrieves the statement corresponding to the `statementId` for a Session run specified by `runId`.
|
|
1139
1647
|
*
|
|
@@ -1141,7 +1649,7 @@ class DataFlowClient {
|
|
|
1141
1649
|
* @param GetStatementRequest
|
|
1142
1650
|
* @return GetStatementResponse
|
|
1143
1651
|
* @throws OciError when an error occurs
|
|
1144
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1652
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetStatement.ts.html |here} to see how to use GetStatement API.
|
|
1145
1653
|
*/
|
|
1146
1654
|
getStatement(getStatementRequest) {
|
|
1147
1655
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1206,7 +1714,7 @@ class DataFlowClient {
|
|
|
1206
1714
|
* @param GetWorkRequestRequest
|
|
1207
1715
|
* @return GetWorkRequestResponse
|
|
1208
1716
|
* @throws OciError when an error occurs
|
|
1209
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1717
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1210
1718
|
*/
|
|
1211
1719
|
getWorkRequest(getWorkRequestRequest) {
|
|
1212
1720
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1265,7 +1773,7 @@ class DataFlowClient {
|
|
|
1265
1773
|
* @param ListApplicationsRequest
|
|
1266
1774
|
* @return ListApplicationsResponse
|
|
1267
1775
|
* @throws OciError when an error occurs
|
|
1268
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1776
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListApplications.ts.html |here} to see how to use ListApplications API.
|
|
1269
1777
|
*/
|
|
1270
1778
|
listApplications(listApplicationsRequest) {
|
|
1271
1779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1375,6 +1883,83 @@ class DataFlowClient {
|
|
|
1375
1883
|
listApplicationsResponseIterator(request) {
|
|
1376
1884
|
return oci_common_1.paginateResponses(request, req => this.listApplications(req));
|
|
1377
1885
|
}
|
|
1886
|
+
/**
|
|
1887
|
+
* Lists all pools in the specified compartment. The query must include compartmentId. The query may also include one other parameter. If the query does not include compartmentId, or includes compartmentId, but with two or more other parameters, an error is returned.
|
|
1888
|
+
*
|
|
1889
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1890
|
+
* @param ListPoolsRequest
|
|
1891
|
+
* @return ListPoolsResponse
|
|
1892
|
+
* @throws OciError when an error occurs
|
|
1893
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListPools.ts.html |here} to see how to use ListPools API.
|
|
1894
|
+
*/
|
|
1895
|
+
listPools(listPoolsRequest) {
|
|
1896
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1897
|
+
if (this.logger)
|
|
1898
|
+
this.logger.debug("Calling operation DataFlowClient#listPools.");
|
|
1899
|
+
const operationName = "listPools";
|
|
1900
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/ListPools";
|
|
1901
|
+
const pathParams = {};
|
|
1902
|
+
const queryParams = {
|
|
1903
|
+
"compartmentId": listPoolsRequest.compartmentId,
|
|
1904
|
+
"limit": listPoolsRequest.limit,
|
|
1905
|
+
"page": listPoolsRequest.page,
|
|
1906
|
+
"lifecycleState": listPoolsRequest.lifecycleState,
|
|
1907
|
+
"sortBy": listPoolsRequest.sortBy,
|
|
1908
|
+
"sortOrder": listPoolsRequest.sortOrder,
|
|
1909
|
+
"displayName": listPoolsRequest.displayName,
|
|
1910
|
+
"ownerPrincipalId": listPoolsRequest.ownerPrincipalId,
|
|
1911
|
+
"displayNameStartsWith": listPoolsRequest.displayNameStartsWith
|
|
1912
|
+
};
|
|
1913
|
+
let headerParams = {
|
|
1914
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1915
|
+
"opc-request-id": listPoolsRequest.opcRequestId
|
|
1916
|
+
};
|
|
1917
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1918
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPoolsRequest.retryConfiguration, specRetryConfiguration);
|
|
1919
|
+
if (this.logger)
|
|
1920
|
+
retrier.logger = this.logger;
|
|
1921
|
+
const request = yield oci_common_2.composeRequest({
|
|
1922
|
+
baseEndpoint: this._endpoint,
|
|
1923
|
+
defaultHeaders: this._defaultHeaders,
|
|
1924
|
+
path: "/pools",
|
|
1925
|
+
method: "GET",
|
|
1926
|
+
pathParams: pathParams,
|
|
1927
|
+
headerParams: headerParams,
|
|
1928
|
+
queryParams: queryParams
|
|
1929
|
+
});
|
|
1930
|
+
try {
|
|
1931
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1932
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1933
|
+
responseObject: {},
|
|
1934
|
+
body: yield response.json(),
|
|
1935
|
+
bodyKey: "poolCollection",
|
|
1936
|
+
bodyModel: model.PoolCollection,
|
|
1937
|
+
type: "model.PoolCollection",
|
|
1938
|
+
responseHeaders: [
|
|
1939
|
+
{
|
|
1940
|
+
value: response.headers.get("opc-prev-page"),
|
|
1941
|
+
key: "opcPrevPage",
|
|
1942
|
+
dataType: "string"
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
value: response.headers.get("opc-next-page"),
|
|
1946
|
+
key: "opcNextPage",
|
|
1947
|
+
dataType: "string"
|
|
1948
|
+
},
|
|
1949
|
+
{
|
|
1950
|
+
value: response.headers.get("opc-request-id"),
|
|
1951
|
+
key: "opcRequestId",
|
|
1952
|
+
dataType: "string"
|
|
1953
|
+
}
|
|
1954
|
+
]
|
|
1955
|
+
});
|
|
1956
|
+
return sdkResponse;
|
|
1957
|
+
}
|
|
1958
|
+
catch (err) {
|
|
1959
|
+
throw err;
|
|
1960
|
+
}
|
|
1961
|
+
});
|
|
1962
|
+
}
|
|
1378
1963
|
/**
|
|
1379
1964
|
* Lists all private endpoints in the specified compartment. The query must include compartmentId. The query may also include one other parameter. If the query does not include compartmentId, or includes compartmentId, but with two or more other parameters, an error is returned.
|
|
1380
1965
|
*
|
|
@@ -1382,7 +1967,7 @@ class DataFlowClient {
|
|
|
1382
1967
|
* @param ListPrivateEndpointsRequest
|
|
1383
1968
|
* @return ListPrivateEndpointsResponse
|
|
1384
1969
|
* @throws OciError when an error occurs
|
|
1385
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1970
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListPrivateEndpoints.ts.html |here} to see how to use ListPrivateEndpoints API.
|
|
1386
1971
|
*/
|
|
1387
1972
|
listPrivateEndpoints(listPrivateEndpointsRequest) {
|
|
1388
1973
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1459,7 +2044,7 @@ class DataFlowClient {
|
|
|
1459
2044
|
* @param ListRunLogsRequest
|
|
1460
2045
|
* @return ListRunLogsResponse
|
|
1461
2046
|
* @throws OciError when an error occurs
|
|
1462
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2047
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListRunLogs.ts.html |here} to see how to use ListRunLogs API.
|
|
1463
2048
|
*/
|
|
1464
2049
|
listRunLogs(listRunLogsRequest) {
|
|
1465
2050
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1571,7 +2156,7 @@ class DataFlowClient {
|
|
|
1571
2156
|
* @param ListRunsRequest
|
|
1572
2157
|
* @return ListRunsResponse
|
|
1573
2158
|
* @throws OciError when an error occurs
|
|
1574
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListRuns.ts.html |here} to see how to use ListRuns API.
|
|
1575
2160
|
*/
|
|
1576
2161
|
listRuns(listRunsRequest) {
|
|
1577
2162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1583,6 +2168,7 @@ class DataFlowClient {
|
|
|
1583
2168
|
const queryParams = {
|
|
1584
2169
|
"compartmentId": listRunsRequest.compartmentId,
|
|
1585
2170
|
"applicationId": listRunsRequest.applicationId,
|
|
2171
|
+
"poolId": listRunsRequest.poolId,
|
|
1586
2172
|
"ownerPrincipalId": listRunsRequest.ownerPrincipalId,
|
|
1587
2173
|
"displayNameStartsWith": listRunsRequest.displayNameStartsWith,
|
|
1588
2174
|
"lifecycleState": listRunsRequest.lifecycleState,
|
|
@@ -1683,6 +2269,79 @@ class DataFlowClient {
|
|
|
1683
2269
|
listRunsResponseIterator(request) {
|
|
1684
2270
|
return oci_common_1.paginateResponses(request, req => this.listRuns(req));
|
|
1685
2271
|
}
|
|
2272
|
+
/**
|
|
2273
|
+
* Lists all Sql Endpoints in the specified compartment.
|
|
2274
|
+
* The query must include compartmentId or sqlEndpointId.
|
|
2275
|
+
* If the query does not include either compartmentId or sqlEndpointId, an error is returned.
|
|
2276
|
+
*
|
|
2277
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2278
|
+
* @param ListSqlEndpointsRequest
|
|
2279
|
+
* @return ListSqlEndpointsResponse
|
|
2280
|
+
* @throws OciError when an error occurs
|
|
2281
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListSqlEndpoints.ts.html |here} to see how to use ListSqlEndpoints API.
|
|
2282
|
+
*/
|
|
2283
|
+
listSqlEndpoints(listSqlEndpointsRequest) {
|
|
2284
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2285
|
+
if (this.logger)
|
|
2286
|
+
this.logger.debug("Calling operation DataFlowClient#listSqlEndpoints.");
|
|
2287
|
+
const operationName = "listSqlEndpoints";
|
|
2288
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpointCollection/ListSqlEndpoints";
|
|
2289
|
+
const pathParams = {};
|
|
2290
|
+
const queryParams = {
|
|
2291
|
+
"compartmentId": listSqlEndpointsRequest.compartmentId,
|
|
2292
|
+
"sqlEndpointId": listSqlEndpointsRequest.sqlEndpointId,
|
|
2293
|
+
"lifecycleState": listSqlEndpointsRequest.lifecycleState,
|
|
2294
|
+
"displayName": listSqlEndpointsRequest.displayName,
|
|
2295
|
+
"limit": listSqlEndpointsRequest.limit,
|
|
2296
|
+
"page": listSqlEndpointsRequest.page,
|
|
2297
|
+
"sortOrder": listSqlEndpointsRequest.sortOrder,
|
|
2298
|
+
"sortBy": listSqlEndpointsRequest.sortBy
|
|
2299
|
+
};
|
|
2300
|
+
let headerParams = {
|
|
2301
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2302
|
+
"opc-request-id": listSqlEndpointsRequest.opcRequestId
|
|
2303
|
+
};
|
|
2304
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2305
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSqlEndpointsRequest.retryConfiguration, specRetryConfiguration);
|
|
2306
|
+
if (this.logger)
|
|
2307
|
+
retrier.logger = this.logger;
|
|
2308
|
+
const request = yield oci_common_2.composeRequest({
|
|
2309
|
+
baseEndpoint: this._endpoint,
|
|
2310
|
+
defaultHeaders: this._defaultHeaders,
|
|
2311
|
+
path: "/sqlEndpoints",
|
|
2312
|
+
method: "GET",
|
|
2313
|
+
pathParams: pathParams,
|
|
2314
|
+
headerParams: headerParams,
|
|
2315
|
+
queryParams: queryParams
|
|
2316
|
+
});
|
|
2317
|
+
try {
|
|
2318
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2319
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2320
|
+
responseObject: {},
|
|
2321
|
+
body: yield response.json(),
|
|
2322
|
+
bodyKey: "sqlEndpointCollection",
|
|
2323
|
+
bodyModel: model.SqlEndpointCollection,
|
|
2324
|
+
type: "model.SqlEndpointCollection",
|
|
2325
|
+
responseHeaders: [
|
|
2326
|
+
{
|
|
2327
|
+
value: response.headers.get("opc-next-page"),
|
|
2328
|
+
key: "opcNextPage",
|
|
2329
|
+
dataType: "string"
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
value: response.headers.get("opc-request-id"),
|
|
2333
|
+
key: "opcRequestId",
|
|
2334
|
+
dataType: "string"
|
|
2335
|
+
}
|
|
2336
|
+
]
|
|
2337
|
+
});
|
|
2338
|
+
return sdkResponse;
|
|
2339
|
+
}
|
|
2340
|
+
catch (err) {
|
|
2341
|
+
throw err;
|
|
2342
|
+
}
|
|
2343
|
+
});
|
|
2344
|
+
}
|
|
1686
2345
|
/**
|
|
1687
2346
|
* Lists all statements for a Session run.
|
|
1688
2347
|
*
|
|
@@ -1690,7 +2349,7 @@ class DataFlowClient {
|
|
|
1690
2349
|
* @param ListStatementsRequest
|
|
1691
2350
|
* @return ListStatementsResponse
|
|
1692
2351
|
* @throws OciError when an error occurs
|
|
1693
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2352
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListStatements.ts.html |here} to see how to use ListStatements API.
|
|
1694
2353
|
*/
|
|
1695
2354
|
listStatements(listStatementsRequest) {
|
|
1696
2355
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1765,7 +2424,7 @@ class DataFlowClient {
|
|
|
1765
2424
|
* @param ListWorkRequestErrorsRequest
|
|
1766
2425
|
* @return ListWorkRequestErrorsResponse
|
|
1767
2426
|
* @throws OciError when an error occurs
|
|
1768
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2427
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1769
2428
|
*/
|
|
1770
2429
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1771
2430
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1837,7 +2496,7 @@ class DataFlowClient {
|
|
|
1837
2496
|
* @param ListWorkRequestLogsRequest
|
|
1838
2497
|
* @return ListWorkRequestLogsResponse
|
|
1839
2498
|
* @throws OciError when an error occurs
|
|
1840
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2499
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1841
2500
|
*/
|
|
1842
2501
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1843
2502
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1909,7 +2568,7 @@ class DataFlowClient {
|
|
|
1909
2568
|
* @param ListWorkRequestsRequest
|
|
1910
2569
|
* @return ListWorkRequestsResponse
|
|
1911
2570
|
* @throws OciError when an error occurs
|
|
1912
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2571
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1913
2572
|
*/
|
|
1914
2573
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1915
2574
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1973,6 +2632,130 @@ class DataFlowClient {
|
|
|
1973
2632
|
}
|
|
1974
2633
|
});
|
|
1975
2634
|
}
|
|
2635
|
+
/**
|
|
2636
|
+
* Starts the dataflow pool for a given `poolId`. When provided, If-Match is checked against ETag values of the resource.
|
|
2637
|
+
*
|
|
2638
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2639
|
+
* @param StartPoolRequest
|
|
2640
|
+
* @return StartPoolResponse
|
|
2641
|
+
* @throws OciError when an error occurs
|
|
2642
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/StartPool.ts.html |here} to see how to use StartPool API.
|
|
2643
|
+
*/
|
|
2644
|
+
startPool(startPoolRequest) {
|
|
2645
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2646
|
+
if (this.logger)
|
|
2647
|
+
this.logger.debug("Calling operation DataFlowClient#startPool.");
|
|
2648
|
+
const operationName = "startPool";
|
|
2649
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/StartPool";
|
|
2650
|
+
const pathParams = {
|
|
2651
|
+
"{poolId}": startPoolRequest.poolId
|
|
2652
|
+
};
|
|
2653
|
+
const queryParams = {};
|
|
2654
|
+
let headerParams = {
|
|
2655
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2656
|
+
"if-match": startPoolRequest.ifMatch,
|
|
2657
|
+
"opc-retry-token": startPoolRequest.opcRetryToken,
|
|
2658
|
+
"opc-request-id": startPoolRequest.opcRequestId
|
|
2659
|
+
};
|
|
2660
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2661
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
2662
|
+
if (this.logger)
|
|
2663
|
+
retrier.logger = this.logger;
|
|
2664
|
+
const request = yield oci_common_2.composeRequest({
|
|
2665
|
+
baseEndpoint: this._endpoint,
|
|
2666
|
+
defaultHeaders: this._defaultHeaders,
|
|
2667
|
+
path: "/pools/{poolId}/actions/start",
|
|
2668
|
+
method: "POST",
|
|
2669
|
+
pathParams: pathParams,
|
|
2670
|
+
headerParams: headerParams,
|
|
2671
|
+
queryParams: queryParams
|
|
2672
|
+
});
|
|
2673
|
+
try {
|
|
2674
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2675
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2676
|
+
responseObject: {},
|
|
2677
|
+
responseHeaders: [
|
|
2678
|
+
{
|
|
2679
|
+
value: response.headers.get("opc-request-id"),
|
|
2680
|
+
key: "opcRequestId",
|
|
2681
|
+
dataType: "string"
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2685
|
+
key: "opcWorkRequestId",
|
|
2686
|
+
dataType: "string"
|
|
2687
|
+
}
|
|
2688
|
+
]
|
|
2689
|
+
});
|
|
2690
|
+
return sdkResponse;
|
|
2691
|
+
}
|
|
2692
|
+
catch (err) {
|
|
2693
|
+
throw err;
|
|
2694
|
+
}
|
|
2695
|
+
});
|
|
2696
|
+
}
|
|
2697
|
+
/**
|
|
2698
|
+
* Stops the dataflow pool for a given `poolId`. When provided, If-Match is checked against ETag values of the resource.
|
|
2699
|
+
*
|
|
2700
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2701
|
+
* @param StopPoolRequest
|
|
2702
|
+
* @return StopPoolResponse
|
|
2703
|
+
* @throws OciError when an error occurs
|
|
2704
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/StopPool.ts.html |here} to see how to use StopPool API.
|
|
2705
|
+
*/
|
|
2706
|
+
stopPool(stopPoolRequest) {
|
|
2707
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2708
|
+
if (this.logger)
|
|
2709
|
+
this.logger.debug("Calling operation DataFlowClient#stopPool.");
|
|
2710
|
+
const operationName = "stopPool";
|
|
2711
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/StopPool";
|
|
2712
|
+
const pathParams = {
|
|
2713
|
+
"{poolId}": stopPoolRequest.poolId
|
|
2714
|
+
};
|
|
2715
|
+
const queryParams = {};
|
|
2716
|
+
let headerParams = {
|
|
2717
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2718
|
+
"if-match": stopPoolRequest.ifMatch,
|
|
2719
|
+
"opc-retry-token": stopPoolRequest.opcRetryToken,
|
|
2720
|
+
"opc-request-id": stopPoolRequest.opcRequestId
|
|
2721
|
+
};
|
|
2722
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2723
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
2724
|
+
if (this.logger)
|
|
2725
|
+
retrier.logger = this.logger;
|
|
2726
|
+
const request = yield oci_common_2.composeRequest({
|
|
2727
|
+
baseEndpoint: this._endpoint,
|
|
2728
|
+
defaultHeaders: this._defaultHeaders,
|
|
2729
|
+
path: "/pools/{poolId}/actions/stop",
|
|
2730
|
+
method: "POST",
|
|
2731
|
+
pathParams: pathParams,
|
|
2732
|
+
headerParams: headerParams,
|
|
2733
|
+
queryParams: queryParams
|
|
2734
|
+
});
|
|
2735
|
+
try {
|
|
2736
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2737
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2738
|
+
responseObject: {},
|
|
2739
|
+
responseHeaders: [
|
|
2740
|
+
{
|
|
2741
|
+
value: response.headers.get("opc-request-id"),
|
|
2742
|
+
key: "opcRequestId",
|
|
2743
|
+
dataType: "string"
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2747
|
+
key: "opcWorkRequestId",
|
|
2748
|
+
dataType: "string"
|
|
2749
|
+
}
|
|
2750
|
+
]
|
|
2751
|
+
});
|
|
2752
|
+
return sdkResponse;
|
|
2753
|
+
}
|
|
2754
|
+
catch (err) {
|
|
2755
|
+
throw err;
|
|
2756
|
+
}
|
|
2757
|
+
});
|
|
2758
|
+
}
|
|
1976
2759
|
/**
|
|
1977
2760
|
* Updates an application using an `applicationId`.
|
|
1978
2761
|
*
|
|
@@ -1980,7 +2763,7 @@ class DataFlowClient {
|
|
|
1980
2763
|
* @param UpdateApplicationRequest
|
|
1981
2764
|
* @return UpdateApplicationResponse
|
|
1982
2765
|
* @throws OciError when an error occurs
|
|
1983
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2766
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/UpdateApplication.ts.html |here} to see how to use UpdateApplication API.
|
|
1984
2767
|
*/
|
|
1985
2768
|
updateApplication(updateApplicationRequest) {
|
|
1986
2769
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2039,6 +2822,70 @@ class DataFlowClient {
|
|
|
2039
2822
|
}
|
|
2040
2823
|
});
|
|
2041
2824
|
}
|
|
2825
|
+
/**
|
|
2826
|
+
* Updates a pool using a `poolId`.If changes to a pool doesn't match
|
|
2827
|
+
* a previously defined pool,then a 409 status code will be returned.This indicates
|
|
2828
|
+
* that a conflict has been detected.
|
|
2829
|
+
*
|
|
2830
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2831
|
+
* @param UpdatePoolRequest
|
|
2832
|
+
* @return UpdatePoolResponse
|
|
2833
|
+
* @throws OciError when an error occurs
|
|
2834
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/UpdatePool.ts.html |here} to see how to use UpdatePool API.
|
|
2835
|
+
*/
|
|
2836
|
+
updatePool(updatePoolRequest) {
|
|
2837
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2838
|
+
if (this.logger)
|
|
2839
|
+
this.logger.debug("Calling operation DataFlowClient#updatePool.");
|
|
2840
|
+
const operationName = "updatePool";
|
|
2841
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/UpdatePool";
|
|
2842
|
+
const pathParams = {
|
|
2843
|
+
"{poolId}": updatePoolRequest.poolId
|
|
2844
|
+
};
|
|
2845
|
+
const queryParams = {};
|
|
2846
|
+
let headerParams = {
|
|
2847
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2848
|
+
"opc-request-id": updatePoolRequest.opcRequestId,
|
|
2849
|
+
"if-match": updatePoolRequest.ifMatch
|
|
2850
|
+
};
|
|
2851
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2852
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePoolRequest.retryConfiguration, specRetryConfiguration);
|
|
2853
|
+
if (this.logger)
|
|
2854
|
+
retrier.logger = this.logger;
|
|
2855
|
+
const request = yield oci_common_2.composeRequest({
|
|
2856
|
+
baseEndpoint: this._endpoint,
|
|
2857
|
+
defaultHeaders: this._defaultHeaders,
|
|
2858
|
+
path: "/pools/{poolId}",
|
|
2859
|
+
method: "PUT",
|
|
2860
|
+
bodyContent: common.ObjectSerializer.serialize(updatePoolRequest.updatePoolDetails, "UpdatePoolDetails", model.UpdatePoolDetails.getJsonObj),
|
|
2861
|
+
pathParams: pathParams,
|
|
2862
|
+
headerParams: headerParams,
|
|
2863
|
+
queryParams: queryParams
|
|
2864
|
+
});
|
|
2865
|
+
try {
|
|
2866
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2867
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2868
|
+
responseObject: {},
|
|
2869
|
+
responseHeaders: [
|
|
2870
|
+
{
|
|
2871
|
+
value: response.headers.get("opc-request-id"),
|
|
2872
|
+
key: "opcRequestId",
|
|
2873
|
+
dataType: "string"
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2877
|
+
key: "opcWorkRequestId",
|
|
2878
|
+
dataType: "string"
|
|
2879
|
+
}
|
|
2880
|
+
]
|
|
2881
|
+
});
|
|
2882
|
+
return sdkResponse;
|
|
2883
|
+
}
|
|
2884
|
+
catch (err) {
|
|
2885
|
+
throw err;
|
|
2886
|
+
}
|
|
2887
|
+
});
|
|
2888
|
+
}
|
|
2042
2889
|
/**
|
|
2043
2890
|
* Updates a private endpoint using a `privateEndpointId`. If changes to a private endpoint match
|
|
2044
2891
|
* a previously defined private endpoint, then a 409 status code will be returned. This indicates
|
|
@@ -2048,7 +2895,7 @@ class DataFlowClient {
|
|
|
2048
2895
|
* @param UpdatePrivateEndpointRequest
|
|
2049
2896
|
* @return UpdatePrivateEndpointResponse
|
|
2050
2897
|
* @throws OciError when an error occurs
|
|
2051
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2898
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/UpdatePrivateEndpoint.ts.html |here} to see how to use UpdatePrivateEndpoint API.
|
|
2052
2899
|
*/
|
|
2053
2900
|
updatePrivateEndpoint(updatePrivateEndpointRequest) {
|
|
2054
2901
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2110,7 +2957,7 @@ class DataFlowClient {
|
|
|
2110
2957
|
* @param UpdateRunRequest
|
|
2111
2958
|
* @return UpdateRunResponse
|
|
2112
2959
|
* @throws OciError when an error occurs
|
|
2113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2960
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/UpdateRun.ts.html |here} to see how to use UpdateRun API.
|
|
2114
2961
|
*/
|
|
2115
2962
|
updateRun(updateRunRequest) {
|
|
2116
2963
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2169,6 +3016,67 @@ class DataFlowClient {
|
|
|
2169
3016
|
}
|
|
2170
3017
|
});
|
|
2171
3018
|
}
|
|
3019
|
+
/**
|
|
3020
|
+
* Update a Sql Endpoint resource, identified by the SqlEndpoint id.
|
|
3021
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3022
|
+
* @param UpdateSqlEndpointRequest
|
|
3023
|
+
* @return UpdateSqlEndpointResponse
|
|
3024
|
+
* @throws OciError when an error occurs
|
|
3025
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/UpdateSqlEndpoint.ts.html |here} to see how to use UpdateSqlEndpoint API.
|
|
3026
|
+
*/
|
|
3027
|
+
updateSqlEndpoint(updateSqlEndpointRequest) {
|
|
3028
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3029
|
+
if (this.logger)
|
|
3030
|
+
this.logger.debug("Calling operation DataFlowClient#updateSqlEndpoint.");
|
|
3031
|
+
const operationName = "updateSqlEndpoint";
|
|
3032
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpoint/UpdateSqlEndpoint";
|
|
3033
|
+
const pathParams = {
|
|
3034
|
+
"{sqlEndpointId}": updateSqlEndpointRequest.sqlEndpointId
|
|
3035
|
+
};
|
|
3036
|
+
const queryParams = {};
|
|
3037
|
+
let headerParams = {
|
|
3038
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3039
|
+
"if-match": updateSqlEndpointRequest.ifMatch,
|
|
3040
|
+
"opc-request-id": updateSqlEndpointRequest.opcRequestId
|
|
3041
|
+
};
|
|
3042
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3043
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSqlEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
3044
|
+
if (this.logger)
|
|
3045
|
+
retrier.logger = this.logger;
|
|
3046
|
+
const request = yield oci_common_2.composeRequest({
|
|
3047
|
+
baseEndpoint: this._endpoint,
|
|
3048
|
+
defaultHeaders: this._defaultHeaders,
|
|
3049
|
+
path: "/sqlEndpoints/{sqlEndpointId}",
|
|
3050
|
+
method: "PUT",
|
|
3051
|
+
bodyContent: common.ObjectSerializer.serialize(updateSqlEndpointRequest.updateSqlEndpointDetails, "UpdateSqlEndpointDetails", model.UpdateSqlEndpointDetails.getJsonObj),
|
|
3052
|
+
pathParams: pathParams,
|
|
3053
|
+
headerParams: headerParams,
|
|
3054
|
+
queryParams: queryParams
|
|
3055
|
+
});
|
|
3056
|
+
try {
|
|
3057
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3058
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3059
|
+
responseObject: {},
|
|
3060
|
+
responseHeaders: [
|
|
3061
|
+
{
|
|
3062
|
+
value: response.headers.get("opc-request-id"),
|
|
3063
|
+
key: "opcRequestId",
|
|
3064
|
+
dataType: "string"
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3068
|
+
key: "opcWorkRequestId",
|
|
3069
|
+
dataType: "string"
|
|
3070
|
+
}
|
|
3071
|
+
]
|
|
3072
|
+
});
|
|
3073
|
+
return sdkResponse;
|
|
3074
|
+
}
|
|
3075
|
+
catch (err) {
|
|
3076
|
+
throw err;
|
|
3077
|
+
}
|
|
3078
|
+
});
|
|
3079
|
+
}
|
|
2172
3080
|
}
|
|
2173
3081
|
exports.DataFlowClient = DataFlowClient;
|
|
2174
3082
|
DataFlowClient.serviceEndpointTemplate = "https://dataflow.{region}.oci.{secondLevelDomain}";
|