oci-bds 2.79.1 → 2.80.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 +53 -52
- package/lib/client.js +263 -105
- package/lib/client.js.map +1 -1
- package/lib/model/add-auto-scale-policy-details.js +4 -2
- package/lib/model/add-auto-scale-policy-details.js.map +1 -1
- package/lib/model/auto-scale-policy-details.js +4 -2
- package/lib/model/auto-scale-policy-details.js.map +1 -1
- package/lib/model/horizontal-scaling-schedule-details.js +4 -2
- package/lib/model/horizontal-scaling-schedule-details.js.map +1 -1
- package/lib/model/update-auto-scale-policy-details.js +4 -2
- package/lib/model/update-auto-scale-policy-details.js.map +1 -1
- package/lib/model/vertical-scaling-schedule-details.js +4 -2
- package/lib/model/vertical-scaling-schedule-details.js.map +1 -1
- package/lib/request/activate-bds-metastore-configuration-request.d.ts +1 -1
- package/lib/request/add-auto-scaling-configuration-request.d.ts +1 -1
- package/lib/request/add-block-storage-request.d.ts +1 -1
- package/lib/request/add-cloud-sql-request.d.ts +1 -1
- package/lib/request/add-kafka-request.d.ts +1 -1
- package/lib/request/add-master-nodes-request.d.ts +1 -1
- package/lib/request/add-utility-nodes-request.d.ts +1 -1
- package/lib/request/add-worker-nodes-request.d.ts +1 -1
- package/lib/request/certificate-service-info-request.d.ts +1 -1
- package/lib/request/change-bds-instance-compartment-request.d.ts +1 -1
- package/lib/request/change-shape-request.d.ts +1 -1
- package/lib/request/create-bds-api-key-request.d.ts +1 -1
- package/lib/request/create-bds-instance-request.d.ts +1 -1
- package/lib/request/create-bds-metastore-configuration-request.d.ts +1 -1
- package/lib/request/delete-bds-api-key-request.d.ts +1 -1
- package/lib/request/delete-bds-instance-request.d.ts +1 -1
- package/lib/request/delete-bds-metastore-configuration-request.d.ts +1 -1
- package/lib/request/disable-certificate-request.d.ts +1 -1
- package/lib/request/enable-certificate-request.d.ts +1 -1
- package/lib/request/execute-bootstrap-script-request.d.ts +1 -1
- package/lib/request/get-auto-scaling-configuration-request.d.ts +1 -1
- package/lib/request/get-bds-api-key-request.d.ts +1 -1
- package/lib/request/get-bds-instance-request.d.ts +1 -1
- package/lib/request/get-bds-metastore-configuration-request.d.ts +1 -1
- package/lib/request/get-os-patch-details-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/install-os-patch-request.d.ts +1 -1
- package/lib/request/install-patch-request.d.ts +1 -1
- package/lib/request/list-auto-scaling-configurations-request.d.ts +1 -1
- package/lib/request/list-bds-api-keys-request.d.ts +1 -1
- package/lib/request/list-bds-instances-request.d.ts +1 -1
- package/lib/request/list-bds-metastore-configurations-request.d.ts +1 -1
- package/lib/request/list-os-patches-request.d.ts +1 -1
- package/lib/request/list-patch-histories-request.d.ts +1 -1
- package/lib/request/list-patches-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/remove-auto-scaling-configuration-request.d.ts +1 -1
- package/lib/request/remove-cloud-sql-request.d.ts +1 -1
- package/lib/request/remove-kafka-request.d.ts +1 -1
- package/lib/request/remove-node-request.d.ts +1 -1
- package/lib/request/renew-certificate-request.d.ts +1 -1
- package/lib/request/restart-node-request.d.ts +1 -1
- package/lib/request/start-bds-instance-request.d.ts +1 -1
- package/lib/request/stop-bds-instance-request.d.ts +1 -1
- package/lib/request/test-bds-metastore-configuration-request.d.ts +1 -1
- package/lib/request/test-bds-object-storage-connection-request.d.ts +1 -1
- package/lib/request/update-auto-scaling-configuration-request.d.ts +1 -1
- package/lib/request/update-bds-instance-request.d.ts +1 -1
- package/lib/request/update-bds-metastore-configuration-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -59,7 +59,7 @@ var BdsApiKeys;
|
|
|
59
59
|
*/
|
|
60
60
|
class BdsClient {
|
|
61
61
|
constructor(params, clientConfiguration) {
|
|
62
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
62
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
63
63
|
this["_endpoint"] = "";
|
|
64
64
|
this["_defaultHeaders"] = {};
|
|
65
65
|
this._circuitBreaker = null;
|
|
@@ -118,7 +118,11 @@ class BdsClient {
|
|
|
118
118
|
set endpoint(endpoint) {
|
|
119
119
|
this._endpoint = endpoint;
|
|
120
120
|
this._endpoint = this._endpoint + "/20190531";
|
|
121
|
-
|
|
121
|
+
if (this.logger)
|
|
122
|
+
this.logger.info(`BdsClient endpoint set to ${this._endpoint}`);
|
|
123
|
+
}
|
|
124
|
+
get logger() {
|
|
125
|
+
return common.LOG.logger;
|
|
122
126
|
}
|
|
123
127
|
/**
|
|
124
128
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -127,7 +131,8 @@ class BdsClient {
|
|
|
127
131
|
*/
|
|
128
132
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
129
133
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
130
|
-
|
|
134
|
+
if (this.logger)
|
|
135
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
131
136
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
132
137
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(BdsClient.serviceEndpointTemplate, this._region, BdsClient.endpointServiceName);
|
|
133
138
|
}
|
|
@@ -194,11 +199,12 @@ class BdsClient {
|
|
|
194
199
|
* @param ActivateBdsMetastoreConfigurationRequest
|
|
195
200
|
* @return ActivateBdsMetastoreConfigurationResponse
|
|
196
201
|
* @throws OciError when an error occurs
|
|
197
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
202
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ActivateBdsMetastoreConfiguration.ts.html |here} to see how to use ActivateBdsMetastoreConfiguration API.
|
|
198
203
|
*/
|
|
199
204
|
activateBdsMetastoreConfiguration(activateBdsMetastoreConfigurationRequest) {
|
|
200
205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
201
|
-
|
|
206
|
+
if (this.logger)
|
|
207
|
+
this.logger.debug("Calling operation BdsClient#activateBdsMetastoreConfiguration.");
|
|
202
208
|
const operationName = "activateBdsMetastoreConfiguration";
|
|
203
209
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/ActivateBdsMetastoreConfiguration";
|
|
204
210
|
const pathParams = {
|
|
@@ -214,6 +220,8 @@ class BdsClient {
|
|
|
214
220
|
};
|
|
215
221
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
216
222
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateBdsMetastoreConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
223
|
+
if (this.logger)
|
|
224
|
+
retrier.logger = this.logger;
|
|
217
225
|
const request = yield oci_common_2.composeRequest({
|
|
218
226
|
baseEndpoint: this._endpoint,
|
|
219
227
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -255,11 +263,12 @@ class BdsClient {
|
|
|
255
263
|
* @param AddAutoScalingConfigurationRequest
|
|
256
264
|
* @return AddAutoScalingConfigurationResponse
|
|
257
265
|
* @throws OciError when an error occurs
|
|
258
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
|
|
259
267
|
*/
|
|
260
268
|
addAutoScalingConfiguration(addAutoScalingConfigurationRequest) {
|
|
261
269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
262
|
-
|
|
270
|
+
if (this.logger)
|
|
271
|
+
this.logger.debug("Calling operation BdsClient#addAutoScalingConfiguration.");
|
|
263
272
|
const operationName = "addAutoScalingConfiguration";
|
|
264
273
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddAutoScalingConfiguration";
|
|
265
274
|
const pathParams = {
|
|
@@ -274,6 +283,8 @@ class BdsClient {
|
|
|
274
283
|
};
|
|
275
284
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
276
285
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addAutoScalingConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
286
|
+
if (this.logger)
|
|
287
|
+
retrier.logger = this.logger;
|
|
277
288
|
const request = yield oci_common_2.composeRequest({
|
|
278
289
|
baseEndpoint: this._endpoint,
|
|
279
290
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -315,11 +326,12 @@ class BdsClient {
|
|
|
315
326
|
* @param AddBlockStorageRequest
|
|
316
327
|
* @return AddBlockStorageResponse
|
|
317
328
|
* @throws OciError when an error occurs
|
|
318
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
329
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
|
|
319
330
|
*/
|
|
320
331
|
addBlockStorage(addBlockStorageRequest) {
|
|
321
332
|
return __awaiter(this, void 0, void 0, function* () {
|
|
322
|
-
|
|
333
|
+
if (this.logger)
|
|
334
|
+
this.logger.debug("Calling operation BdsClient#addBlockStorage.");
|
|
323
335
|
const operationName = "addBlockStorage";
|
|
324
336
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddBlockStorage";
|
|
325
337
|
const pathParams = {
|
|
@@ -334,6 +346,8 @@ class BdsClient {
|
|
|
334
346
|
};
|
|
335
347
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
336
348
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addBlockStorageRequest.retryConfiguration, specRetryConfiguration);
|
|
349
|
+
if (this.logger)
|
|
350
|
+
retrier.logger = this.logger;
|
|
337
351
|
const request = yield oci_common_2.composeRequest({
|
|
338
352
|
baseEndpoint: this._endpoint,
|
|
339
353
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -375,11 +389,12 @@ class BdsClient {
|
|
|
375
389
|
* @param AddCloudSqlRequest
|
|
376
390
|
* @return AddCloudSqlResponse
|
|
377
391
|
* @throws OciError when an error occurs
|
|
378
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
392
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
|
|
379
393
|
*/
|
|
380
394
|
addCloudSql(addCloudSqlRequest) {
|
|
381
395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
382
|
-
|
|
396
|
+
if (this.logger)
|
|
397
|
+
this.logger.debug("Calling operation BdsClient#addCloudSql.");
|
|
383
398
|
const operationName = "addCloudSql";
|
|
384
399
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddCloudSql";
|
|
385
400
|
const pathParams = {
|
|
@@ -394,6 +409,8 @@ class BdsClient {
|
|
|
394
409
|
};
|
|
395
410
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
396
411
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addCloudSqlRequest.retryConfiguration, specRetryConfiguration);
|
|
412
|
+
if (this.logger)
|
|
413
|
+
retrier.logger = this.logger;
|
|
397
414
|
const request = yield oci_common_2.composeRequest({
|
|
398
415
|
baseEndpoint: this._endpoint,
|
|
399
416
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -435,11 +452,12 @@ class BdsClient {
|
|
|
435
452
|
* @param AddKafkaRequest
|
|
436
453
|
* @return AddKafkaResponse
|
|
437
454
|
* @throws OciError when an error occurs
|
|
438
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
455
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/AddKafka.ts.html |here} to see how to use AddKafka API.
|
|
439
456
|
*/
|
|
440
457
|
addKafka(addKafkaRequest) {
|
|
441
458
|
return __awaiter(this, void 0, void 0, function* () {
|
|
442
|
-
|
|
459
|
+
if (this.logger)
|
|
460
|
+
this.logger.debug("Calling operation BdsClient#addKafka.");
|
|
443
461
|
const operationName = "addKafka";
|
|
444
462
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddKafka";
|
|
445
463
|
const pathParams = {
|
|
@@ -454,6 +472,8 @@ class BdsClient {
|
|
|
454
472
|
};
|
|
455
473
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
456
474
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addKafkaRequest.retryConfiguration, specRetryConfiguration);
|
|
475
|
+
if (this.logger)
|
|
476
|
+
retrier.logger = this.logger;
|
|
457
477
|
const request = yield oci_common_2.composeRequest({
|
|
458
478
|
baseEndpoint: this._endpoint,
|
|
459
479
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -495,11 +515,12 @@ class BdsClient {
|
|
|
495
515
|
* @param AddMasterNodesRequest
|
|
496
516
|
* @return AddMasterNodesResponse
|
|
497
517
|
* @throws OciError when an error occurs
|
|
498
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
518
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/AddMasterNodes.ts.html |here} to see how to use AddMasterNodes API.
|
|
499
519
|
*/
|
|
500
520
|
addMasterNodes(addMasterNodesRequest) {
|
|
501
521
|
return __awaiter(this, void 0, void 0, function* () {
|
|
502
|
-
|
|
522
|
+
if (this.logger)
|
|
523
|
+
this.logger.debug("Calling operation BdsClient#addMasterNodes.");
|
|
503
524
|
const operationName = "addMasterNodes";
|
|
504
525
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddMasterNodes";
|
|
505
526
|
const pathParams = {
|
|
@@ -514,6 +535,8 @@ class BdsClient {
|
|
|
514
535
|
};
|
|
515
536
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
516
537
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addMasterNodesRequest.retryConfiguration, specRetryConfiguration);
|
|
538
|
+
if (this.logger)
|
|
539
|
+
retrier.logger = this.logger;
|
|
517
540
|
const request = yield oci_common_2.composeRequest({
|
|
518
541
|
baseEndpoint: this._endpoint,
|
|
519
542
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -555,11 +578,12 @@ class BdsClient {
|
|
|
555
578
|
* @param AddUtilityNodesRequest
|
|
556
579
|
* @return AddUtilityNodesResponse
|
|
557
580
|
* @throws OciError when an error occurs
|
|
558
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
581
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/AddUtilityNodes.ts.html |here} to see how to use AddUtilityNodes API.
|
|
559
582
|
*/
|
|
560
583
|
addUtilityNodes(addUtilityNodesRequest) {
|
|
561
584
|
return __awaiter(this, void 0, void 0, function* () {
|
|
562
|
-
|
|
585
|
+
if (this.logger)
|
|
586
|
+
this.logger.debug("Calling operation BdsClient#addUtilityNodes.");
|
|
563
587
|
const operationName = "addUtilityNodes";
|
|
564
588
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddUtilityNodes";
|
|
565
589
|
const pathParams = {
|
|
@@ -574,6 +598,8 @@ class BdsClient {
|
|
|
574
598
|
};
|
|
575
599
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
576
600
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addUtilityNodesRequest.retryConfiguration, specRetryConfiguration);
|
|
601
|
+
if (this.logger)
|
|
602
|
+
retrier.logger = this.logger;
|
|
577
603
|
const request = yield oci_common_2.composeRequest({
|
|
578
604
|
baseEndpoint: this._endpoint,
|
|
579
605
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -615,11 +641,12 @@ class BdsClient {
|
|
|
615
641
|
* @param AddWorkerNodesRequest
|
|
616
642
|
* @return AddWorkerNodesResponse
|
|
617
643
|
* @throws OciError when an error occurs
|
|
618
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
|
|
619
645
|
*/
|
|
620
646
|
addWorkerNodes(addWorkerNodesRequest) {
|
|
621
647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
622
|
-
|
|
648
|
+
if (this.logger)
|
|
649
|
+
this.logger.debug("Calling operation BdsClient#addWorkerNodes.");
|
|
623
650
|
const operationName = "addWorkerNodes";
|
|
624
651
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddWorkerNodes";
|
|
625
652
|
const pathParams = {
|
|
@@ -634,6 +661,8 @@ class BdsClient {
|
|
|
634
661
|
};
|
|
635
662
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
636
663
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addWorkerNodesRequest.retryConfiguration, specRetryConfiguration);
|
|
664
|
+
if (this.logger)
|
|
665
|
+
retrier.logger = this.logger;
|
|
637
666
|
const request = yield oci_common_2.composeRequest({
|
|
638
667
|
baseEndpoint: this._endpoint,
|
|
639
668
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -675,11 +704,12 @@ class BdsClient {
|
|
|
675
704
|
* @param CertificateServiceInfoRequest
|
|
676
705
|
* @return CertificateServiceInfoResponse
|
|
677
706
|
* @throws OciError when an error occurs
|
|
678
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
707
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/CertificateServiceInfo.ts.html |here} to see how to use CertificateServiceInfo API.
|
|
679
708
|
*/
|
|
680
709
|
certificateServiceInfo(certificateServiceInfoRequest) {
|
|
681
710
|
return __awaiter(this, void 0, void 0, function* () {
|
|
682
|
-
|
|
711
|
+
if (this.logger)
|
|
712
|
+
this.logger.debug("Calling operation BdsClient#certificateServiceInfo.");
|
|
683
713
|
const operationName = "certificateServiceInfo";
|
|
684
714
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CertificateServiceInfo";
|
|
685
715
|
const pathParams = {
|
|
@@ -694,6 +724,8 @@ class BdsClient {
|
|
|
694
724
|
};
|
|
695
725
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
696
726
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, certificateServiceInfoRequest.retryConfiguration, specRetryConfiguration);
|
|
727
|
+
if (this.logger)
|
|
728
|
+
retrier.logger = this.logger;
|
|
697
729
|
const request = yield oci_common_2.composeRequest({
|
|
698
730
|
baseEndpoint: this._endpoint,
|
|
699
731
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -739,11 +771,12 @@ class BdsClient {
|
|
|
739
771
|
* @param ChangeBdsInstanceCompartmentRequest
|
|
740
772
|
* @return ChangeBdsInstanceCompartmentResponse
|
|
741
773
|
* @throws OciError when an error occurs
|
|
742
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
774
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
|
|
743
775
|
*/
|
|
744
776
|
changeBdsInstanceCompartment(changeBdsInstanceCompartmentRequest) {
|
|
745
777
|
return __awaiter(this, void 0, void 0, function* () {
|
|
746
|
-
|
|
778
|
+
if (this.logger)
|
|
779
|
+
this.logger.debug("Calling operation BdsClient#changeBdsInstanceCompartment.");
|
|
747
780
|
const operationName = "changeBdsInstanceCompartment";
|
|
748
781
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ChangeBdsInstanceCompartment";
|
|
749
782
|
const pathParams = {
|
|
@@ -758,6 +791,8 @@ class BdsClient {
|
|
|
758
791
|
};
|
|
759
792
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
760
793
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeBdsInstanceCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
794
|
+
if (this.logger)
|
|
795
|
+
retrier.logger = this.logger;
|
|
761
796
|
const request = yield oci_common_2.composeRequest({
|
|
762
797
|
baseEndpoint: this._endpoint,
|
|
763
798
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -799,11 +834,12 @@ class BdsClient {
|
|
|
799
834
|
* @param ChangeShapeRequest
|
|
800
835
|
* @return ChangeShapeResponse
|
|
801
836
|
* @throws OciError when an error occurs
|
|
802
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
837
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
|
|
803
838
|
*/
|
|
804
839
|
changeShape(changeShapeRequest) {
|
|
805
840
|
return __awaiter(this, void 0, void 0, function* () {
|
|
806
|
-
|
|
841
|
+
if (this.logger)
|
|
842
|
+
this.logger.debug("Calling operation BdsClient#changeShape.");
|
|
807
843
|
const operationName = "changeShape";
|
|
808
844
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ChangeShape";
|
|
809
845
|
const pathParams = {
|
|
@@ -818,6 +854,8 @@ class BdsClient {
|
|
|
818
854
|
};
|
|
819
855
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
820
856
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeShapeRequest.retryConfiguration, specRetryConfiguration);
|
|
857
|
+
if (this.logger)
|
|
858
|
+
retrier.logger = this.logger;
|
|
821
859
|
const request = yield oci_common_2.composeRequest({
|
|
822
860
|
baseEndpoint: this._endpoint,
|
|
823
861
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -859,11 +897,12 @@ class BdsClient {
|
|
|
859
897
|
* @param CreateBdsApiKeyRequest
|
|
860
898
|
* @return CreateBdsApiKeyResponse
|
|
861
899
|
* @throws OciError when an error occurs
|
|
862
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
900
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
|
|
863
901
|
*/
|
|
864
902
|
createBdsApiKey(createBdsApiKeyRequest) {
|
|
865
903
|
return __awaiter(this, void 0, void 0, function* () {
|
|
866
|
-
|
|
904
|
+
if (this.logger)
|
|
905
|
+
this.logger.debug("Calling operation BdsClient#createBdsApiKey.");
|
|
867
906
|
const operationName = "createBdsApiKey";
|
|
868
907
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsApiKey/CreateBdsApiKey";
|
|
869
908
|
const pathParams = {
|
|
@@ -877,6 +916,8 @@ class BdsClient {
|
|
|
877
916
|
};
|
|
878
917
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
879
918
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBdsApiKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
919
|
+
if (this.logger)
|
|
920
|
+
retrier.logger = this.logger;
|
|
880
921
|
const request = yield oci_common_2.composeRequest({
|
|
881
922
|
baseEndpoint: this._endpoint,
|
|
882
923
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -918,11 +959,12 @@ class BdsClient {
|
|
|
918
959
|
* @param CreateBdsInstanceRequest
|
|
919
960
|
* @return CreateBdsInstanceResponse
|
|
920
961
|
* @throws OciError when an error occurs
|
|
921
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
962
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
|
|
922
963
|
*/
|
|
923
964
|
createBdsInstance(createBdsInstanceRequest) {
|
|
924
965
|
return __awaiter(this, void 0, void 0, function* () {
|
|
925
|
-
|
|
966
|
+
if (this.logger)
|
|
967
|
+
this.logger.debug("Calling operation BdsClient#createBdsInstance.");
|
|
926
968
|
const operationName = "createBdsInstance";
|
|
927
969
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateBdsInstance";
|
|
928
970
|
const pathParams = {};
|
|
@@ -934,6 +976,8 @@ class BdsClient {
|
|
|
934
976
|
};
|
|
935
977
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
936
978
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBdsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
979
|
+
if (this.logger)
|
|
980
|
+
retrier.logger = this.logger;
|
|
937
981
|
const request = yield oci_common_2.composeRequest({
|
|
938
982
|
baseEndpoint: this._endpoint,
|
|
939
983
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -975,11 +1019,12 @@ class BdsClient {
|
|
|
975
1019
|
* @param CreateBdsMetastoreConfigurationRequest
|
|
976
1020
|
* @return CreateBdsMetastoreConfigurationResponse
|
|
977
1021
|
* @throws OciError when an error occurs
|
|
978
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1022
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
|
|
979
1023
|
*/
|
|
980
1024
|
createBdsMetastoreConfiguration(createBdsMetastoreConfigurationRequest) {
|
|
981
1025
|
return __awaiter(this, void 0, void 0, function* () {
|
|
982
|
-
|
|
1026
|
+
if (this.logger)
|
|
1027
|
+
this.logger.debug("Calling operation BdsClient#createBdsMetastoreConfiguration.");
|
|
983
1028
|
const operationName = "createBdsMetastoreConfiguration";
|
|
984
1029
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/CreateBdsMetastoreConfiguration";
|
|
985
1030
|
const pathParams = {
|
|
@@ -993,6 +1038,8 @@ class BdsClient {
|
|
|
993
1038
|
};
|
|
994
1039
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
995
1040
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBdsMetastoreConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1041
|
+
if (this.logger)
|
|
1042
|
+
retrier.logger = this.logger;
|
|
996
1043
|
const request = yield oci_common_2.composeRequest({
|
|
997
1044
|
baseEndpoint: this._endpoint,
|
|
998
1045
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1033,11 +1080,12 @@ class BdsClient {
|
|
|
1033
1080
|
* @param DeleteBdsApiKeyRequest
|
|
1034
1081
|
* @return DeleteBdsApiKeyResponse
|
|
1035
1082
|
* @throws OciError when an error occurs
|
|
1036
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1083
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
|
|
1037
1084
|
*/
|
|
1038
1085
|
deleteBdsApiKey(deleteBdsApiKeyRequest) {
|
|
1039
1086
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1040
|
-
|
|
1087
|
+
if (this.logger)
|
|
1088
|
+
this.logger.debug("Calling operation BdsClient#deleteBdsApiKey.");
|
|
1041
1089
|
const operationName = "deleteBdsApiKey";
|
|
1042
1090
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsApiKey/DeleteBdsApiKey";
|
|
1043
1091
|
const pathParams = {
|
|
@@ -1052,6 +1100,8 @@ class BdsClient {
|
|
|
1052
1100
|
};
|
|
1053
1101
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1054
1102
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBdsApiKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1103
|
+
if (this.logger)
|
|
1104
|
+
retrier.logger = this.logger;
|
|
1055
1105
|
const request = yield oci_common_2.composeRequest({
|
|
1056
1106
|
baseEndpoint: this._endpoint,
|
|
1057
1107
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1091,11 +1141,12 @@ class BdsClient {
|
|
|
1091
1141
|
* @param DeleteBdsInstanceRequest
|
|
1092
1142
|
* @return DeleteBdsInstanceResponse
|
|
1093
1143
|
* @throws OciError when an error occurs
|
|
1094
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1144
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
|
|
1095
1145
|
*/
|
|
1096
1146
|
deleteBdsInstance(deleteBdsInstanceRequest) {
|
|
1097
1147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1098
|
-
|
|
1148
|
+
if (this.logger)
|
|
1149
|
+
this.logger.debug("Calling operation BdsClient#deleteBdsInstance.");
|
|
1099
1150
|
const operationName = "deleteBdsInstance";
|
|
1100
1151
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/DeleteBdsInstance";
|
|
1101
1152
|
const pathParams = {
|
|
@@ -1109,6 +1160,8 @@ class BdsClient {
|
|
|
1109
1160
|
};
|
|
1110
1161
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1111
1162
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBdsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1163
|
+
if (this.logger)
|
|
1164
|
+
retrier.logger = this.logger;
|
|
1112
1165
|
const request = yield oci_common_2.composeRequest({
|
|
1113
1166
|
baseEndpoint: this._endpoint,
|
|
1114
1167
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1148,11 +1201,12 @@ class BdsClient {
|
|
|
1148
1201
|
* @param DeleteBdsMetastoreConfigurationRequest
|
|
1149
1202
|
* @return DeleteBdsMetastoreConfigurationResponse
|
|
1150
1203
|
* @throws OciError when an error occurs
|
|
1151
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1204
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
|
|
1152
1205
|
*/
|
|
1153
1206
|
deleteBdsMetastoreConfiguration(deleteBdsMetastoreConfigurationRequest) {
|
|
1154
1207
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1155
|
-
|
|
1208
|
+
if (this.logger)
|
|
1209
|
+
this.logger.debug("Calling operation BdsClient#deleteBdsMetastoreConfiguration.");
|
|
1156
1210
|
const operationName = "deleteBdsMetastoreConfiguration";
|
|
1157
1211
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/DeleteBdsMetastoreConfiguration";
|
|
1158
1212
|
const pathParams = {
|
|
@@ -1167,6 +1221,8 @@ class BdsClient {
|
|
|
1167
1221
|
};
|
|
1168
1222
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1169
1223
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBdsMetastoreConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1224
|
+
if (this.logger)
|
|
1225
|
+
retrier.logger = this.logger;
|
|
1170
1226
|
const request = yield oci_common_2.composeRequest({
|
|
1171
1227
|
baseEndpoint: this._endpoint,
|
|
1172
1228
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1207,11 +1263,12 @@ class BdsClient {
|
|
|
1207
1263
|
* @param DisableCertificateRequest
|
|
1208
1264
|
* @return DisableCertificateResponse
|
|
1209
1265
|
* @throws OciError when an error occurs
|
|
1210
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/DisableCertificate.ts.html |here} to see how to use DisableCertificate API.
|
|
1211
1267
|
*/
|
|
1212
1268
|
disableCertificate(disableCertificateRequest) {
|
|
1213
1269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1214
|
-
|
|
1270
|
+
if (this.logger)
|
|
1271
|
+
this.logger.debug("Calling operation BdsClient#disableCertificate.");
|
|
1215
1272
|
const operationName = "disableCertificate";
|
|
1216
1273
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/DisableCertificate";
|
|
1217
1274
|
const pathParams = {
|
|
@@ -1226,6 +1283,8 @@ class BdsClient {
|
|
|
1226
1283
|
};
|
|
1227
1284
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1228
1285
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1286
|
+
if (this.logger)
|
|
1287
|
+
retrier.logger = this.logger;
|
|
1229
1288
|
const request = yield oci_common_2.composeRequest({
|
|
1230
1289
|
baseEndpoint: this._endpoint,
|
|
1231
1290
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1267,11 +1326,12 @@ class BdsClient {
|
|
|
1267
1326
|
* @param EnableCertificateRequest
|
|
1268
1327
|
* @return EnableCertificateResponse
|
|
1269
1328
|
* @throws OciError when an error occurs
|
|
1270
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1329
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/EnableCertificate.ts.html |here} to see how to use EnableCertificate API.
|
|
1271
1330
|
*/
|
|
1272
1331
|
enableCertificate(enableCertificateRequest) {
|
|
1273
1332
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1274
|
-
|
|
1333
|
+
if (this.logger)
|
|
1334
|
+
this.logger.debug("Calling operation BdsClient#enableCertificate.");
|
|
1275
1335
|
const operationName = "enableCertificate";
|
|
1276
1336
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/EnableCertificate";
|
|
1277
1337
|
const pathParams = {
|
|
@@ -1286,6 +1346,8 @@ class BdsClient {
|
|
|
1286
1346
|
};
|
|
1287
1347
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1288
1348
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1349
|
+
if (this.logger)
|
|
1350
|
+
retrier.logger = this.logger;
|
|
1289
1351
|
const request = yield oci_common_2.composeRequest({
|
|
1290
1352
|
baseEndpoint: this._endpoint,
|
|
1291
1353
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1327,11 +1389,12 @@ class BdsClient {
|
|
|
1327
1389
|
* @param ExecuteBootstrapScriptRequest
|
|
1328
1390
|
* @return ExecuteBootstrapScriptResponse
|
|
1329
1391
|
* @throws OciError when an error occurs
|
|
1330
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1392
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ExecuteBootstrapScript.ts.html |here} to see how to use ExecuteBootstrapScript API.
|
|
1331
1393
|
*/
|
|
1332
1394
|
executeBootstrapScript(executeBootstrapScriptRequest) {
|
|
1333
1395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1334
|
-
|
|
1396
|
+
if (this.logger)
|
|
1397
|
+
this.logger.debug("Calling operation BdsClient#executeBootstrapScript.");
|
|
1335
1398
|
const operationName = "executeBootstrapScript";
|
|
1336
1399
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ExecuteBootstrapScript";
|
|
1337
1400
|
const pathParams = {
|
|
@@ -1346,6 +1409,8 @@ class BdsClient {
|
|
|
1346
1409
|
};
|
|
1347
1410
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1348
1411
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, executeBootstrapScriptRequest.retryConfiguration, specRetryConfiguration);
|
|
1412
|
+
if (this.logger)
|
|
1413
|
+
retrier.logger = this.logger;
|
|
1349
1414
|
const request = yield oci_common_2.composeRequest({
|
|
1350
1415
|
baseEndpoint: this._endpoint,
|
|
1351
1416
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1387,11 +1452,12 @@ class BdsClient {
|
|
|
1387
1452
|
* @param GetAutoScalingConfigurationRequest
|
|
1388
1453
|
* @return GetAutoScalingConfigurationResponse
|
|
1389
1454
|
* @throws OciError when an error occurs
|
|
1390
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1455
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
|
|
1391
1456
|
*/
|
|
1392
1457
|
getAutoScalingConfiguration(getAutoScalingConfigurationRequest) {
|
|
1393
1458
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1394
|
-
|
|
1459
|
+
if (this.logger)
|
|
1460
|
+
this.logger.debug("Calling operation BdsClient#getAutoScalingConfiguration.");
|
|
1395
1461
|
const operationName = "getAutoScalingConfiguration";
|
|
1396
1462
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetAutoScalingConfiguration";
|
|
1397
1463
|
const pathParams = {
|
|
@@ -1405,6 +1471,8 @@ class BdsClient {
|
|
|
1405
1471
|
};
|
|
1406
1472
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1407
1473
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAutoScalingConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1474
|
+
if (this.logger)
|
|
1475
|
+
retrier.logger = this.logger;
|
|
1408
1476
|
const request = yield oci_common_2.composeRequest({
|
|
1409
1477
|
baseEndpoint: this._endpoint,
|
|
1410
1478
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1448,11 +1516,12 @@ class BdsClient {
|
|
|
1448
1516
|
* @param GetBdsApiKeyRequest
|
|
1449
1517
|
* @return GetBdsApiKeyResponse
|
|
1450
1518
|
* @throws OciError when an error occurs
|
|
1451
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1519
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
|
|
1452
1520
|
*/
|
|
1453
1521
|
getBdsApiKey(getBdsApiKeyRequest) {
|
|
1454
1522
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1455
|
-
|
|
1523
|
+
if (this.logger)
|
|
1524
|
+
this.logger.debug("Calling operation BdsClient#getBdsApiKey.");
|
|
1456
1525
|
const operationName = "getBdsApiKey";
|
|
1457
1526
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsApiKey/GetBdsApiKey";
|
|
1458
1527
|
const pathParams = {
|
|
@@ -1466,6 +1535,8 @@ class BdsClient {
|
|
|
1466
1535
|
};
|
|
1467
1536
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1468
1537
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBdsApiKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1538
|
+
if (this.logger)
|
|
1539
|
+
retrier.logger = this.logger;
|
|
1469
1540
|
const request = yield oci_common_2.composeRequest({
|
|
1470
1541
|
baseEndpoint: this._endpoint,
|
|
1471
1542
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1509,11 +1580,12 @@ class BdsClient {
|
|
|
1509
1580
|
* @param GetBdsInstanceRequest
|
|
1510
1581
|
* @return GetBdsInstanceResponse
|
|
1511
1582
|
* @throws OciError when an error occurs
|
|
1512
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1583
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
|
|
1513
1584
|
*/
|
|
1514
1585
|
getBdsInstance(getBdsInstanceRequest) {
|
|
1515
1586
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1516
|
-
|
|
1587
|
+
if (this.logger)
|
|
1588
|
+
this.logger.debug("Calling operation BdsClient#getBdsInstance.");
|
|
1517
1589
|
const operationName = "getBdsInstance";
|
|
1518
1590
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetBdsInstance";
|
|
1519
1591
|
const pathParams = {
|
|
@@ -1526,6 +1598,8 @@ class BdsClient {
|
|
|
1526
1598
|
};
|
|
1527
1599
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1528
1600
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBdsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1601
|
+
if (this.logger)
|
|
1602
|
+
retrier.logger = this.logger;
|
|
1529
1603
|
const request = yield oci_common_2.composeRequest({
|
|
1530
1604
|
baseEndpoint: this._endpoint,
|
|
1531
1605
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1569,11 +1643,12 @@ class BdsClient {
|
|
|
1569
1643
|
* @param GetBdsMetastoreConfigurationRequest
|
|
1570
1644
|
* @return GetBdsMetastoreConfigurationResponse
|
|
1571
1645
|
* @throws OciError when an error occurs
|
|
1572
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1646
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
|
|
1573
1647
|
*/
|
|
1574
1648
|
getBdsMetastoreConfiguration(getBdsMetastoreConfigurationRequest) {
|
|
1575
1649
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1576
|
-
|
|
1650
|
+
if (this.logger)
|
|
1651
|
+
this.logger.debug("Calling operation BdsClient#getBdsMetastoreConfiguration.");
|
|
1577
1652
|
const operationName = "getBdsMetastoreConfiguration";
|
|
1578
1653
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/GetBdsMetastoreConfiguration";
|
|
1579
1654
|
const pathParams = {
|
|
@@ -1587,6 +1662,8 @@ class BdsClient {
|
|
|
1587
1662
|
};
|
|
1588
1663
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1589
1664
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBdsMetastoreConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1665
|
+
if (this.logger)
|
|
1666
|
+
retrier.logger = this.logger;
|
|
1590
1667
|
const request = yield oci_common_2.composeRequest({
|
|
1591
1668
|
baseEndpoint: this._endpoint,
|
|
1592
1669
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1630,11 +1707,12 @@ class BdsClient {
|
|
|
1630
1707
|
* @param GetOsPatchDetailsRequest
|
|
1631
1708
|
* @return GetOsPatchDetailsResponse
|
|
1632
1709
|
* @throws OciError when an error occurs
|
|
1633
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1710
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/GetOsPatchDetails.ts.html |here} to see how to use GetOsPatchDetails API.
|
|
1634
1711
|
*/
|
|
1635
1712
|
getOsPatchDetails(getOsPatchDetailsRequest) {
|
|
1636
1713
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1637
|
-
|
|
1714
|
+
if (this.logger)
|
|
1715
|
+
this.logger.debug("Calling operation BdsClient#getOsPatchDetails.");
|
|
1638
1716
|
const operationName = "getOsPatchDetails";
|
|
1639
1717
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetOsPatchDetails";
|
|
1640
1718
|
const pathParams = {
|
|
@@ -1651,6 +1729,8 @@ class BdsClient {
|
|
|
1651
1729
|
};
|
|
1652
1730
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1653
1731
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOsPatchDetailsRequest.retryConfiguration, specRetryConfiguration);
|
|
1732
|
+
if (this.logger)
|
|
1733
|
+
retrier.logger = this.logger;
|
|
1654
1734
|
const request = yield oci_common_2.composeRequest({
|
|
1655
1735
|
baseEndpoint: this._endpoint,
|
|
1656
1736
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1694,11 +1774,12 @@ class BdsClient {
|
|
|
1694
1774
|
* @param GetWorkRequestRequest
|
|
1695
1775
|
* @return GetWorkRequestResponse
|
|
1696
1776
|
* @throws OciError when an error occurs
|
|
1697
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1777
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1698
1778
|
*/
|
|
1699
1779
|
getWorkRequest(getWorkRequestRequest) {
|
|
1700
1780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1701
|
-
|
|
1781
|
+
if (this.logger)
|
|
1782
|
+
this.logger.debug("Calling operation BdsClient#getWorkRequest.");
|
|
1702
1783
|
const operationName = "getWorkRequest";
|
|
1703
1784
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/WorkRequest/GetWorkRequest";
|
|
1704
1785
|
const pathParams = {
|
|
@@ -1711,6 +1792,8 @@ class BdsClient {
|
|
|
1711
1792
|
};
|
|
1712
1793
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1713
1794
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1795
|
+
if (this.logger)
|
|
1796
|
+
retrier.logger = this.logger;
|
|
1714
1797
|
const request = yield oci_common_2.composeRequest({
|
|
1715
1798
|
baseEndpoint: this._endpoint,
|
|
1716
1799
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1755,11 +1838,12 @@ class BdsClient {
|
|
|
1755
1838
|
* @param InstallOsPatchRequest
|
|
1756
1839
|
* @return InstallOsPatchResponse
|
|
1757
1840
|
* @throws OciError when an error occurs
|
|
1758
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1841
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/InstallOsPatch.ts.html |here} to see how to use InstallOsPatch API.
|
|
1759
1842
|
*/
|
|
1760
1843
|
installOsPatch(installOsPatchRequest) {
|
|
1761
1844
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1762
|
-
|
|
1845
|
+
if (this.logger)
|
|
1846
|
+
this.logger.debug("Calling operation BdsClient#installOsPatch.");
|
|
1763
1847
|
const operationName = "installOsPatch";
|
|
1764
1848
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/InstallOsPatch";
|
|
1765
1849
|
const pathParams = {
|
|
@@ -1774,6 +1858,8 @@ class BdsClient {
|
|
|
1774
1858
|
};
|
|
1775
1859
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1776
1860
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, installOsPatchRequest.retryConfiguration, specRetryConfiguration);
|
|
1861
|
+
if (this.logger)
|
|
1862
|
+
retrier.logger = this.logger;
|
|
1777
1863
|
const request = yield oci_common_2.composeRequest({
|
|
1778
1864
|
baseEndpoint: this._endpoint,
|
|
1779
1865
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1815,11 +1901,12 @@ class BdsClient {
|
|
|
1815
1901
|
* @param InstallPatchRequest
|
|
1816
1902
|
* @return InstallPatchResponse
|
|
1817
1903
|
* @throws OciError when an error occurs
|
|
1818
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1904
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/InstallPatch.ts.html |here} to see how to use InstallPatch API.
|
|
1819
1905
|
*/
|
|
1820
1906
|
installPatch(installPatchRequest) {
|
|
1821
1907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1822
|
-
|
|
1908
|
+
if (this.logger)
|
|
1909
|
+
this.logger.debug("Calling operation BdsClient#installPatch.");
|
|
1823
1910
|
const operationName = "installPatch";
|
|
1824
1911
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/InstallPatch";
|
|
1825
1912
|
const pathParams = {
|
|
@@ -1834,6 +1921,8 @@ class BdsClient {
|
|
|
1834
1921
|
};
|
|
1835
1922
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1836
1923
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, installPatchRequest.retryConfiguration, specRetryConfiguration);
|
|
1924
|
+
if (this.logger)
|
|
1925
|
+
retrier.logger = this.logger;
|
|
1837
1926
|
const request = yield oci_common_2.composeRequest({
|
|
1838
1927
|
baseEndpoint: this._endpoint,
|
|
1839
1928
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1875,11 +1964,12 @@ class BdsClient {
|
|
|
1875
1964
|
* @param ListAutoScalingConfigurationsRequest
|
|
1876
1965
|
* @return ListAutoScalingConfigurationsResponse
|
|
1877
1966
|
* @throws OciError when an error occurs
|
|
1878
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1967
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
|
|
1879
1968
|
*/
|
|
1880
1969
|
listAutoScalingConfigurations(listAutoScalingConfigurationsRequest) {
|
|
1881
1970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1882
|
-
|
|
1971
|
+
if (this.logger)
|
|
1972
|
+
this.logger.debug("Calling operation BdsClient#listAutoScalingConfigurations.");
|
|
1883
1973
|
const operationName = "listAutoScalingConfigurations";
|
|
1884
1974
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListAutoScalingConfigurations";
|
|
1885
1975
|
const pathParams = {
|
|
@@ -1900,6 +1990,8 @@ class BdsClient {
|
|
|
1900
1990
|
};
|
|
1901
1991
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1902
1992
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAutoScalingConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1993
|
+
if (this.logger)
|
|
1994
|
+
retrier.logger = this.logger;
|
|
1903
1995
|
const request = yield oci_common_2.composeRequest({
|
|
1904
1996
|
baseEndpoint: this._endpoint,
|
|
1905
1997
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1984,11 +2076,12 @@ class BdsClient {
|
|
|
1984
2076
|
* @param ListBdsApiKeysRequest
|
|
1985
2077
|
* @return ListBdsApiKeysResponse
|
|
1986
2078
|
* @throws OciError when an error occurs
|
|
1987
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2079
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
|
|
1988
2080
|
*/
|
|
1989
2081
|
listBdsApiKeys(listBdsApiKeysRequest) {
|
|
1990
2082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1991
|
-
|
|
2083
|
+
if (this.logger)
|
|
2084
|
+
this.logger.debug("Calling operation BdsClient#listBdsApiKeys.");
|
|
1992
2085
|
const operationName = "listBdsApiKeys";
|
|
1993
2086
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsApiKey/ListBdsApiKeys";
|
|
1994
2087
|
const pathParams = {
|
|
@@ -2009,6 +2102,8 @@ class BdsClient {
|
|
|
2009
2102
|
};
|
|
2010
2103
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2011
2104
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBdsApiKeysRequest.retryConfiguration, specRetryConfiguration);
|
|
2105
|
+
if (this.logger)
|
|
2106
|
+
retrier.logger = this.logger;
|
|
2012
2107
|
const request = yield oci_common_2.composeRequest({
|
|
2013
2108
|
baseEndpoint: this._endpoint,
|
|
2014
2109
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2093,11 +2188,12 @@ class BdsClient {
|
|
|
2093
2188
|
* @param ListBdsInstancesRequest
|
|
2094
2189
|
* @return ListBdsInstancesResponse
|
|
2095
2190
|
* @throws OciError when an error occurs
|
|
2096
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2191
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
|
|
2097
2192
|
*/
|
|
2098
2193
|
listBdsInstances(listBdsInstancesRequest) {
|
|
2099
2194
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2100
|
-
|
|
2195
|
+
if (this.logger)
|
|
2196
|
+
this.logger.debug("Calling operation BdsClient#listBdsInstances.");
|
|
2101
2197
|
const operationName = "listBdsInstances";
|
|
2102
2198
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstanceSummary/ListBdsInstances";
|
|
2103
2199
|
const pathParams = {};
|
|
@@ -2116,6 +2212,8 @@ class BdsClient {
|
|
|
2116
2212
|
};
|
|
2117
2213
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2118
2214
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBdsInstancesRequest.retryConfiguration, specRetryConfiguration);
|
|
2215
|
+
if (this.logger)
|
|
2216
|
+
retrier.logger = this.logger;
|
|
2119
2217
|
const request = yield oci_common_2.composeRequest({
|
|
2120
2218
|
baseEndpoint: this._endpoint,
|
|
2121
2219
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2200,11 +2298,12 @@ class BdsClient {
|
|
|
2200
2298
|
* @param ListBdsMetastoreConfigurationsRequest
|
|
2201
2299
|
* @return ListBdsMetastoreConfigurationsResponse
|
|
2202
2300
|
* @throws OciError when an error occurs
|
|
2203
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2301
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
|
|
2204
2302
|
*/
|
|
2205
2303
|
listBdsMetastoreConfigurations(listBdsMetastoreConfigurationsRequest) {
|
|
2206
2304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2207
|
-
|
|
2305
|
+
if (this.logger)
|
|
2306
|
+
this.logger.debug("Calling operation BdsClient#listBdsMetastoreConfigurations.");
|
|
2208
2307
|
const operationName = "listBdsMetastoreConfigurations";
|
|
2209
2308
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/ListBdsMetastoreConfigurations";
|
|
2210
2309
|
const pathParams = {
|
|
@@ -2227,6 +2326,8 @@ class BdsClient {
|
|
|
2227
2326
|
};
|
|
2228
2327
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2229
2328
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBdsMetastoreConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
2329
|
+
if (this.logger)
|
|
2330
|
+
retrier.logger = this.logger;
|
|
2230
2331
|
const request = yield oci_common_2.composeRequest({
|
|
2231
2332
|
baseEndpoint: this._endpoint,
|
|
2232
2333
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2310,11 +2411,12 @@ class BdsClient {
|
|
|
2310
2411
|
* @param ListOsPatchesRequest
|
|
2311
2412
|
* @return ListOsPatchesResponse
|
|
2312
2413
|
* @throws OciError when an error occurs
|
|
2313
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2414
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ListOsPatches.ts.html |here} to see how to use ListOsPatches API.
|
|
2314
2415
|
*/
|
|
2315
2416
|
listOsPatches(listOsPatchesRequest) {
|
|
2316
2417
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2317
|
-
|
|
2418
|
+
if (this.logger)
|
|
2419
|
+
this.logger.debug("Calling operation BdsClient#listOsPatches.");
|
|
2318
2420
|
const operationName = "listOsPatches";
|
|
2319
2421
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListOsPatches";
|
|
2320
2422
|
const pathParams = {
|
|
@@ -2334,6 +2436,8 @@ class BdsClient {
|
|
|
2334
2436
|
};
|
|
2335
2437
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2336
2438
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOsPatchesRequest.retryConfiguration, specRetryConfiguration);
|
|
2439
|
+
if (this.logger)
|
|
2440
|
+
retrier.logger = this.logger;
|
|
2337
2441
|
const request = yield oci_common_2.composeRequest({
|
|
2338
2442
|
baseEndpoint: this._endpoint,
|
|
2339
2443
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2423,11 +2527,12 @@ class BdsClient {
|
|
|
2423
2527
|
* @param ListPatchHistoriesRequest
|
|
2424
2528
|
* @return ListPatchHistoriesResponse
|
|
2425
2529
|
* @throws OciError when an error occurs
|
|
2426
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2530
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ListPatchHistories.ts.html |here} to see how to use ListPatchHistories API.
|
|
2427
2531
|
*/
|
|
2428
2532
|
listPatchHistories(listPatchHistoriesRequest) {
|
|
2429
2533
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2430
|
-
|
|
2534
|
+
if (this.logger)
|
|
2535
|
+
this.logger.debug("Calling operation BdsClient#listPatchHistories.");
|
|
2431
2536
|
const operationName = "listPatchHistories";
|
|
2432
2537
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListPatchHistories";
|
|
2433
2538
|
const pathParams = {
|
|
@@ -2448,6 +2553,8 @@ class BdsClient {
|
|
|
2448
2553
|
};
|
|
2449
2554
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2450
2555
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPatchHistoriesRequest.retryConfiguration, specRetryConfiguration);
|
|
2556
|
+
if (this.logger)
|
|
2557
|
+
retrier.logger = this.logger;
|
|
2451
2558
|
const request = yield oci_common_2.composeRequest({
|
|
2452
2559
|
baseEndpoint: this._endpoint,
|
|
2453
2560
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2532,11 +2639,12 @@ class BdsClient {
|
|
|
2532
2639
|
* @param ListPatchesRequest
|
|
2533
2640
|
* @return ListPatchesResponse
|
|
2534
2641
|
* @throws OciError when an error occurs
|
|
2535
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2642
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ListPatches.ts.html |here} to see how to use ListPatches API.
|
|
2536
2643
|
*/
|
|
2537
2644
|
listPatches(listPatchesRequest) {
|
|
2538
2645
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2539
|
-
|
|
2646
|
+
if (this.logger)
|
|
2647
|
+
this.logger.debug("Calling operation BdsClient#listPatches.");
|
|
2540
2648
|
const operationName = "listPatches";
|
|
2541
2649
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListPatches";
|
|
2542
2650
|
const pathParams = {
|
|
@@ -2552,6 +2660,8 @@ class BdsClient {
|
|
|
2552
2660
|
};
|
|
2553
2661
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2554
2662
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPatchesRequest.retryConfiguration, specRetryConfiguration);
|
|
2663
|
+
if (this.logger)
|
|
2664
|
+
retrier.logger = this.logger;
|
|
2555
2665
|
const request = yield oci_common_2.composeRequest({
|
|
2556
2666
|
baseEndpoint: this._endpoint,
|
|
2557
2667
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2636,11 +2746,12 @@ class BdsClient {
|
|
|
2636
2746
|
* @param ListWorkRequestErrorsRequest
|
|
2637
2747
|
* @return ListWorkRequestErrorsResponse
|
|
2638
2748
|
* @throws OciError when an error occurs
|
|
2639
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2749
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2640
2750
|
*/
|
|
2641
2751
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2642
2752
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2643
|
-
|
|
2753
|
+
if (this.logger)
|
|
2754
|
+
this.logger.debug("Calling operation BdsClient#listWorkRequestErrors.");
|
|
2644
2755
|
const operationName = "listWorkRequestErrors";
|
|
2645
2756
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/WorkRequestError/ListWorkRequestErrors";
|
|
2646
2757
|
const pathParams = {
|
|
@@ -2658,6 +2769,8 @@ class BdsClient {
|
|
|
2658
2769
|
};
|
|
2659
2770
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2660
2771
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
2772
|
+
if (this.logger)
|
|
2773
|
+
retrier.logger = this.logger;
|
|
2661
2774
|
const request = yield oci_common_2.composeRequest({
|
|
2662
2775
|
baseEndpoint: this._endpoint,
|
|
2663
2776
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2742,11 +2855,12 @@ class BdsClient {
|
|
|
2742
2855
|
* @param ListWorkRequestLogsRequest
|
|
2743
2856
|
* @return ListWorkRequestLogsResponse
|
|
2744
2857
|
* @throws OciError when an error occurs
|
|
2745
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2858
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2746
2859
|
*/
|
|
2747
2860
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2748
2861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2749
|
-
|
|
2862
|
+
if (this.logger)
|
|
2863
|
+
this.logger.debug("Calling operation BdsClient#listWorkRequestLogs.");
|
|
2750
2864
|
const operationName = "listWorkRequestLogs";
|
|
2751
2865
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
2752
2866
|
const pathParams = {
|
|
@@ -2764,6 +2878,8 @@ class BdsClient {
|
|
|
2764
2878
|
};
|
|
2765
2879
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2766
2880
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
2881
|
+
if (this.logger)
|
|
2882
|
+
retrier.logger = this.logger;
|
|
2767
2883
|
const request = yield oci_common_2.composeRequest({
|
|
2768
2884
|
baseEndpoint: this._endpoint,
|
|
2769
2885
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2848,11 +2964,12 @@ class BdsClient {
|
|
|
2848
2964
|
* @param ListWorkRequestsRequest
|
|
2849
2965
|
* @return ListWorkRequestsResponse
|
|
2850
2966
|
* @throws OciError when an error occurs
|
|
2851
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2967
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2852
2968
|
*/
|
|
2853
2969
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2854
2970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2855
|
-
|
|
2971
|
+
if (this.logger)
|
|
2972
|
+
this.logger.debug("Calling operation BdsClient#listWorkRequests.");
|
|
2856
2973
|
const operationName = "listWorkRequests";
|
|
2857
2974
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/WorkRequest/ListWorkRequests";
|
|
2858
2975
|
const pathParams = {};
|
|
@@ -2870,6 +2987,8 @@ class BdsClient {
|
|
|
2870
2987
|
};
|
|
2871
2988
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2872
2989
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
2990
|
+
if (this.logger)
|
|
2991
|
+
retrier.logger = this.logger;
|
|
2873
2992
|
const request = yield oci_common_2.composeRequest({
|
|
2874
2993
|
baseEndpoint: this._endpoint,
|
|
2875
2994
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2954,11 +3073,12 @@ class BdsClient {
|
|
|
2954
3073
|
* @param RemoveAutoScalingConfigurationRequest
|
|
2955
3074
|
* @return RemoveAutoScalingConfigurationResponse
|
|
2956
3075
|
* @throws OciError when an error occurs
|
|
2957
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3076
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
|
|
2958
3077
|
*/
|
|
2959
3078
|
removeAutoScalingConfiguration(removeAutoScalingConfigurationRequest) {
|
|
2960
3079
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2961
|
-
|
|
3080
|
+
if (this.logger)
|
|
3081
|
+
this.logger.debug("Calling operation BdsClient#removeAutoScalingConfiguration.");
|
|
2962
3082
|
const operationName = "removeAutoScalingConfiguration";
|
|
2963
3083
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RemoveAutoScalingConfiguration";
|
|
2964
3084
|
const pathParams = {
|
|
@@ -2974,6 +3094,8 @@ class BdsClient {
|
|
|
2974
3094
|
};
|
|
2975
3095
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2976
3096
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeAutoScalingConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3097
|
+
if (this.logger)
|
|
3098
|
+
retrier.logger = this.logger;
|
|
2977
3099
|
const request = yield oci_common_2.composeRequest({
|
|
2978
3100
|
baseEndpoint: this._endpoint,
|
|
2979
3101
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3015,11 +3137,12 @@ class BdsClient {
|
|
|
3015
3137
|
* @param RemoveCloudSqlRequest
|
|
3016
3138
|
* @return RemoveCloudSqlResponse
|
|
3017
3139
|
* @throws OciError when an error occurs
|
|
3018
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3140
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
|
|
3019
3141
|
*/
|
|
3020
3142
|
removeCloudSql(removeCloudSqlRequest) {
|
|
3021
3143
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3022
|
-
|
|
3144
|
+
if (this.logger)
|
|
3145
|
+
this.logger.debug("Calling operation BdsClient#removeCloudSql.");
|
|
3023
3146
|
const operationName = "removeCloudSql";
|
|
3024
3147
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RemoveCloudSql";
|
|
3025
3148
|
const pathParams = {
|
|
@@ -3034,6 +3157,8 @@ class BdsClient {
|
|
|
3034
3157
|
};
|
|
3035
3158
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3036
3159
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeCloudSqlRequest.retryConfiguration, specRetryConfiguration);
|
|
3160
|
+
if (this.logger)
|
|
3161
|
+
retrier.logger = this.logger;
|
|
3037
3162
|
const request = yield oci_common_2.composeRequest({
|
|
3038
3163
|
baseEndpoint: this._endpoint,
|
|
3039
3164
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3075,11 +3200,12 @@ class BdsClient {
|
|
|
3075
3200
|
* @param RemoveKafkaRequest
|
|
3076
3201
|
* @return RemoveKafkaResponse
|
|
3077
3202
|
* @throws OciError when an error occurs
|
|
3078
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3203
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/RemoveKafka.ts.html |here} to see how to use RemoveKafka API.
|
|
3079
3204
|
*/
|
|
3080
3205
|
removeKafka(removeKafkaRequest) {
|
|
3081
3206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3082
|
-
|
|
3207
|
+
if (this.logger)
|
|
3208
|
+
this.logger.debug("Calling operation BdsClient#removeKafka.");
|
|
3083
3209
|
const operationName = "removeKafka";
|
|
3084
3210
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RemoveKafka";
|
|
3085
3211
|
const pathParams = {
|
|
@@ -3094,6 +3220,8 @@ class BdsClient {
|
|
|
3094
3220
|
};
|
|
3095
3221
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3096
3222
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeKafkaRequest.retryConfiguration, specRetryConfiguration);
|
|
3223
|
+
if (this.logger)
|
|
3224
|
+
retrier.logger = this.logger;
|
|
3097
3225
|
const request = yield oci_common_2.composeRequest({
|
|
3098
3226
|
baseEndpoint: this._endpoint,
|
|
3099
3227
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3135,11 +3263,12 @@ class BdsClient {
|
|
|
3135
3263
|
* @param RemoveNodeRequest
|
|
3136
3264
|
* @return RemoveNodeResponse
|
|
3137
3265
|
* @throws OciError when an error occurs
|
|
3138
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/RemoveNode.ts.html |here} to see how to use RemoveNode API.
|
|
3139
3267
|
*/
|
|
3140
3268
|
removeNode(removeNodeRequest) {
|
|
3141
3269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3142
|
-
|
|
3270
|
+
if (this.logger)
|
|
3271
|
+
this.logger.debug("Calling operation BdsClient#removeNode.");
|
|
3143
3272
|
const operationName = "removeNode";
|
|
3144
3273
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RemoveNode";
|
|
3145
3274
|
const pathParams = {
|
|
@@ -3153,6 +3282,8 @@ class BdsClient {
|
|
|
3153
3282
|
};
|
|
3154
3283
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3155
3284
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
3285
|
+
if (this.logger)
|
|
3286
|
+
retrier.logger = this.logger;
|
|
3156
3287
|
const request = yield oci_common_2.composeRequest({
|
|
3157
3288
|
baseEndpoint: this._endpoint,
|
|
3158
3289
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3194,11 +3325,12 @@ class BdsClient {
|
|
|
3194
3325
|
* @param RenewCertificateRequest
|
|
3195
3326
|
* @return RenewCertificateResponse
|
|
3196
3327
|
* @throws OciError when an error occurs
|
|
3197
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3328
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/RenewCertificate.ts.html |here} to see how to use RenewCertificate API.
|
|
3198
3329
|
*/
|
|
3199
3330
|
renewCertificate(renewCertificateRequest) {
|
|
3200
3331
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3201
|
-
|
|
3332
|
+
if (this.logger)
|
|
3333
|
+
this.logger.debug("Calling operation BdsClient#renewCertificate.");
|
|
3202
3334
|
const operationName = "renewCertificate";
|
|
3203
3335
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RenewCertificate";
|
|
3204
3336
|
const pathParams = {
|
|
@@ -3213,6 +3345,8 @@ class BdsClient {
|
|
|
3213
3345
|
};
|
|
3214
3346
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3215
3347
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, renewCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
3348
|
+
if (this.logger)
|
|
3349
|
+
retrier.logger = this.logger;
|
|
3216
3350
|
const request = yield oci_common_2.composeRequest({
|
|
3217
3351
|
baseEndpoint: this._endpoint,
|
|
3218
3352
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3254,11 +3388,12 @@ class BdsClient {
|
|
|
3254
3388
|
* @param RestartNodeRequest
|
|
3255
3389
|
* @return RestartNodeResponse
|
|
3256
3390
|
* @throws OciError when an error occurs
|
|
3257
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3391
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
|
|
3258
3392
|
*/
|
|
3259
3393
|
restartNode(restartNodeRequest) {
|
|
3260
3394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3261
|
-
|
|
3395
|
+
if (this.logger)
|
|
3396
|
+
this.logger.debug("Calling operation BdsClient#restartNode.");
|
|
3262
3397
|
const operationName = "restartNode";
|
|
3263
3398
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RestartNode";
|
|
3264
3399
|
const pathParams = {
|
|
@@ -3273,6 +3408,8 @@ class BdsClient {
|
|
|
3273
3408
|
};
|
|
3274
3409
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3275
3410
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartNodeRequest.retryConfiguration, specRetryConfiguration);
|
|
3411
|
+
if (this.logger)
|
|
3412
|
+
retrier.logger = this.logger;
|
|
3276
3413
|
const request = yield oci_common_2.composeRequest({
|
|
3277
3414
|
baseEndpoint: this._endpoint,
|
|
3278
3415
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3314,11 +3451,12 @@ class BdsClient {
|
|
|
3314
3451
|
* @param StartBdsInstanceRequest
|
|
3315
3452
|
* @return StartBdsInstanceResponse
|
|
3316
3453
|
* @throws OciError when an error occurs
|
|
3317
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3454
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/StartBdsInstance.ts.html |here} to see how to use StartBdsInstance API.
|
|
3318
3455
|
*/
|
|
3319
3456
|
startBdsInstance(startBdsInstanceRequest) {
|
|
3320
3457
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3321
|
-
|
|
3458
|
+
if (this.logger)
|
|
3459
|
+
this.logger.debug("Calling operation BdsClient#startBdsInstance.");
|
|
3322
3460
|
const operationName = "startBdsInstance";
|
|
3323
3461
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/StartBdsInstance";
|
|
3324
3462
|
const pathParams = {
|
|
@@ -3332,6 +3470,8 @@ class BdsClient {
|
|
|
3332
3470
|
};
|
|
3333
3471
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3334
3472
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startBdsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
3473
|
+
if (this.logger)
|
|
3474
|
+
retrier.logger = this.logger;
|
|
3335
3475
|
const request = yield oci_common_2.composeRequest({
|
|
3336
3476
|
baseEndpoint: this._endpoint,
|
|
3337
3477
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3373,11 +3513,12 @@ class BdsClient {
|
|
|
3373
3513
|
* @param StopBdsInstanceRequest
|
|
3374
3514
|
* @return StopBdsInstanceResponse
|
|
3375
3515
|
* @throws OciError when an error occurs
|
|
3376
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3516
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/StopBdsInstance.ts.html |here} to see how to use StopBdsInstance API.
|
|
3377
3517
|
*/
|
|
3378
3518
|
stopBdsInstance(stopBdsInstanceRequest) {
|
|
3379
3519
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3380
|
-
|
|
3520
|
+
if (this.logger)
|
|
3521
|
+
this.logger.debug("Calling operation BdsClient#stopBdsInstance.");
|
|
3381
3522
|
const operationName = "stopBdsInstance";
|
|
3382
3523
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/StopBdsInstance";
|
|
3383
3524
|
const pathParams = {
|
|
@@ -3391,6 +3532,8 @@ class BdsClient {
|
|
|
3391
3532
|
};
|
|
3392
3533
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3393
3534
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopBdsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
3535
|
+
if (this.logger)
|
|
3536
|
+
retrier.logger = this.logger;
|
|
3394
3537
|
const request = yield oci_common_2.composeRequest({
|
|
3395
3538
|
baseEndpoint: this._endpoint,
|
|
3396
3539
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3432,11 +3575,12 @@ class BdsClient {
|
|
|
3432
3575
|
* @param TestBdsMetastoreConfigurationRequest
|
|
3433
3576
|
* @return TestBdsMetastoreConfigurationResponse
|
|
3434
3577
|
* @throws OciError when an error occurs
|
|
3435
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3578
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
|
|
3436
3579
|
*/
|
|
3437
3580
|
testBdsMetastoreConfiguration(testBdsMetastoreConfigurationRequest) {
|
|
3438
3581
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3439
|
-
|
|
3582
|
+
if (this.logger)
|
|
3583
|
+
this.logger.debug("Calling operation BdsClient#testBdsMetastoreConfiguration.");
|
|
3440
3584
|
const operationName = "testBdsMetastoreConfiguration";
|
|
3441
3585
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/TestBdsMetastoreConfiguration";
|
|
3442
3586
|
const pathParams = {
|
|
@@ -3451,6 +3595,8 @@ class BdsClient {
|
|
|
3451
3595
|
};
|
|
3452
3596
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3453
3597
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, testBdsMetastoreConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3598
|
+
if (this.logger)
|
|
3599
|
+
retrier.logger = this.logger;
|
|
3454
3600
|
const request = yield oci_common_2.composeRequest({
|
|
3455
3601
|
baseEndpoint: this._endpoint,
|
|
3456
3602
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3491,11 +3637,12 @@ class BdsClient {
|
|
|
3491
3637
|
* @param TestBdsObjectStorageConnectionRequest
|
|
3492
3638
|
* @return TestBdsObjectStorageConnectionResponse
|
|
3493
3639
|
* @throws OciError when an error occurs
|
|
3494
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3640
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
|
|
3495
3641
|
*/
|
|
3496
3642
|
testBdsObjectStorageConnection(testBdsObjectStorageConnectionRequest) {
|
|
3497
3643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3498
|
-
|
|
3644
|
+
if (this.logger)
|
|
3645
|
+
this.logger.debug("Calling operation BdsClient#testBdsObjectStorageConnection.");
|
|
3499
3646
|
const operationName = "testBdsObjectStorageConnection";
|
|
3500
3647
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsApiKey/TestBdsObjectStorageConnection";
|
|
3501
3648
|
const pathParams = {
|
|
@@ -3509,6 +3656,8 @@ class BdsClient {
|
|
|
3509
3656
|
};
|
|
3510
3657
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3511
3658
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, testBdsObjectStorageConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
3659
|
+
if (this.logger)
|
|
3660
|
+
retrier.logger = this.logger;
|
|
3512
3661
|
const request = yield oci_common_2.composeRequest({
|
|
3513
3662
|
baseEndpoint: this._endpoint,
|
|
3514
3663
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3550,11 +3699,12 @@ class BdsClient {
|
|
|
3550
3699
|
* @param UpdateAutoScalingConfigurationRequest
|
|
3551
3700
|
* @return UpdateAutoScalingConfigurationResponse
|
|
3552
3701
|
* @throws OciError when an error occurs
|
|
3553
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3702
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
|
|
3554
3703
|
*/
|
|
3555
3704
|
updateAutoScalingConfiguration(updateAutoScalingConfigurationRequest) {
|
|
3556
3705
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3557
|
-
|
|
3706
|
+
if (this.logger)
|
|
3707
|
+
this.logger.debug("Calling operation BdsClient#updateAutoScalingConfiguration.");
|
|
3558
3708
|
const operationName = "updateAutoScalingConfiguration";
|
|
3559
3709
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateAutoScalingConfiguration";
|
|
3560
3710
|
const pathParams = {
|
|
@@ -3570,6 +3720,8 @@ class BdsClient {
|
|
|
3570
3720
|
};
|
|
3571
3721
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3572
3722
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAutoScalingConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3723
|
+
if (this.logger)
|
|
3724
|
+
retrier.logger = this.logger;
|
|
3573
3725
|
const request = yield oci_common_2.composeRequest({
|
|
3574
3726
|
baseEndpoint: this._endpoint,
|
|
3575
3727
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3610,11 +3762,12 @@ class BdsClient {
|
|
|
3610
3762
|
* @param UpdateBdsInstanceRequest
|
|
3611
3763
|
* @return UpdateBdsInstanceResponse
|
|
3612
3764
|
* @throws OciError when an error occurs
|
|
3613
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3765
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
|
|
3614
3766
|
*/
|
|
3615
3767
|
updateBdsInstance(updateBdsInstanceRequest) {
|
|
3616
3768
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3617
|
-
|
|
3769
|
+
if (this.logger)
|
|
3770
|
+
this.logger.debug("Calling operation BdsClient#updateBdsInstance.");
|
|
3618
3771
|
const operationName = "updateBdsInstance";
|
|
3619
3772
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateBdsInstance";
|
|
3620
3773
|
const pathParams = {
|
|
@@ -3628,6 +3781,8 @@ class BdsClient {
|
|
|
3628
3781
|
};
|
|
3629
3782
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3630
3783
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBdsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
3784
|
+
if (this.logger)
|
|
3785
|
+
retrier.logger = this.logger;
|
|
3631
3786
|
const request = yield oci_common_2.composeRequest({
|
|
3632
3787
|
baseEndpoint: this._endpoint,
|
|
3633
3788
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3668,11 +3823,12 @@ class BdsClient {
|
|
|
3668
3823
|
* @param UpdateBdsMetastoreConfigurationRequest
|
|
3669
3824
|
* @return UpdateBdsMetastoreConfigurationResponse
|
|
3670
3825
|
* @throws OciError when an error occurs
|
|
3671
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3826
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
|
|
3672
3827
|
*/
|
|
3673
3828
|
updateBdsMetastoreConfiguration(updateBdsMetastoreConfigurationRequest) {
|
|
3674
3829
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3675
|
-
|
|
3830
|
+
if (this.logger)
|
|
3831
|
+
this.logger.debug("Calling operation BdsClient#updateBdsMetastoreConfiguration.");
|
|
3676
3832
|
const operationName = "updateBdsMetastoreConfiguration";
|
|
3677
3833
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/UpdateBdsMetastoreConfiguration";
|
|
3678
3834
|
const pathParams = {
|
|
@@ -3687,6 +3843,8 @@ class BdsClient {
|
|
|
3687
3843
|
};
|
|
3688
3844
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3689
3845
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBdsMetastoreConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3846
|
+
if (this.logger)
|
|
3847
|
+
retrier.logger = this.logger;
|
|
3690
3848
|
const request = yield oci_common_2.composeRequest({
|
|
3691
3849
|
baseEndpoint: this._endpoint,
|
|
3692
3850
|
defaultHeaders: this._defaultHeaders,
|