oci-analytics 2.79.1 → 2.81.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 +25 -24
- package/lib/client.js +123 -49
- package/lib/client.js.map +1 -1
- package/lib/model/network-endpoint-details.js +4 -2
- package/lib/model/network-endpoint-details.js.map +1 -1
- package/lib/request/change-analytics-instance-compartment-request.d.ts +1 -1
- package/lib/request/change-analytics-instance-network-endpoint-request.d.ts +1 -1
- package/lib/request/create-analytics-instance-request.d.ts +1 -1
- package/lib/request/create-private-access-channel-request.d.ts +1 -1
- package/lib/request/create-vanity-url-request.d.ts +1 -1
- package/lib/request/delete-analytics-instance-request.d.ts +1 -1
- package/lib/request/delete-private-access-channel-request.d.ts +1 -1
- package/lib/request/delete-vanity-url-request.d.ts +1 -1
- package/lib/request/delete-work-request-request.d.ts +1 -1
- package/lib/request/get-analytics-instance-request.d.ts +1 -1
- package/lib/request/get-private-access-channel-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-analytics-instances-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/scale-analytics-instance-request.d.ts +1 -1
- package/lib/request/set-kms-key-request.d.ts +1 -1
- package/lib/request/start-analytics-instance-request.d.ts +1 -1
- package/lib/request/stop-analytics-instance-request.d.ts +1 -1
- package/lib/request/update-analytics-instance-request.d.ts +1 -1
- package/lib/request/update-private-access-channel-request.d.ts +1 -1
- package/lib/request/update-vanity-url-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -59,7 +59,7 @@ var AnalyticsApiKeys;
|
|
|
59
59
|
*/
|
|
60
60
|
class AnalyticsClient {
|
|
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 AnalyticsClient {
|
|
|
118
118
|
set endpoint(endpoint) {
|
|
119
119
|
this._endpoint = endpoint;
|
|
120
120
|
this._endpoint = this._endpoint + "/20190331";
|
|
121
|
-
|
|
121
|
+
if (this.logger)
|
|
122
|
+
this.logger.info(`AnalyticsClient 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 AnalyticsClient {
|
|
|
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(AnalyticsClient.serviceEndpointTemplate, this._region, AnalyticsClient.endpointServiceName);
|
|
133
138
|
}
|
|
@@ -195,11 +200,12 @@ class AnalyticsClient {
|
|
|
195
200
|
* @param ChangeAnalyticsInstanceCompartmentRequest
|
|
196
201
|
* @return ChangeAnalyticsInstanceCompartmentResponse
|
|
197
202
|
* @throws OciError when an error occurs
|
|
198
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
203
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/ChangeAnalyticsInstanceCompartment.ts.html |here} to see how to use ChangeAnalyticsInstanceCompartment API.
|
|
199
204
|
*/
|
|
200
205
|
changeAnalyticsInstanceCompartment(changeAnalyticsInstanceCompartmentRequest) {
|
|
201
206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
202
|
-
|
|
207
|
+
if (this.logger)
|
|
208
|
+
this.logger.debug("Calling operation AnalyticsClient#changeAnalyticsInstanceCompartment.");
|
|
203
209
|
const operationName = "changeAnalyticsInstanceCompartment";
|
|
204
210
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/ChangeAnalyticsInstanceCompartment";
|
|
205
211
|
const pathParams = {
|
|
@@ -214,6 +220,8 @@ class AnalyticsClient {
|
|
|
214
220
|
};
|
|
215
221
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
216
222
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAnalyticsInstanceCompartmentRequest.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,
|
|
@@ -256,11 +264,12 @@ class AnalyticsClient {
|
|
|
256
264
|
* @param ChangeAnalyticsInstanceNetworkEndpointRequest
|
|
257
265
|
* @return ChangeAnalyticsInstanceNetworkEndpointResponse
|
|
258
266
|
* @throws OciError when an error occurs
|
|
259
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
267
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/ChangeAnalyticsInstanceNetworkEndpoint.ts.html |here} to see how to use ChangeAnalyticsInstanceNetworkEndpoint API.
|
|
260
268
|
*/
|
|
261
269
|
changeAnalyticsInstanceNetworkEndpoint(changeAnalyticsInstanceNetworkEndpointRequest) {
|
|
262
270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
263
|
-
|
|
271
|
+
if (this.logger)
|
|
272
|
+
this.logger.debug("Calling operation AnalyticsClient#changeAnalyticsInstanceNetworkEndpoint.");
|
|
264
273
|
const operationName = "changeAnalyticsInstanceNetworkEndpoint";
|
|
265
274
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/ChangeAnalyticsInstanceNetworkEndpoint";
|
|
266
275
|
const pathParams = {
|
|
@@ -275,6 +284,8 @@ class AnalyticsClient {
|
|
|
275
284
|
};
|
|
276
285
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
277
286
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAnalyticsInstanceNetworkEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
287
|
+
if (this.logger)
|
|
288
|
+
retrier.logger = this.logger;
|
|
278
289
|
const request = yield oci_common_2.composeRequest({
|
|
279
290
|
baseEndpoint: this._endpoint,
|
|
280
291
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -317,11 +328,12 @@ class AnalyticsClient {
|
|
|
317
328
|
* @param CreateAnalyticsInstanceRequest
|
|
318
329
|
* @return CreateAnalyticsInstanceResponse
|
|
319
330
|
* @throws OciError when an error occurs
|
|
320
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
331
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/CreateAnalyticsInstance.ts.html |here} to see how to use CreateAnalyticsInstance API.
|
|
321
332
|
*/
|
|
322
333
|
createAnalyticsInstance(createAnalyticsInstanceRequest) {
|
|
323
334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
324
|
-
|
|
335
|
+
if (this.logger)
|
|
336
|
+
this.logger.debug("Calling operation AnalyticsClient#createAnalyticsInstance.");
|
|
325
337
|
const operationName = "createAnalyticsInstance";
|
|
326
338
|
const apiReferenceLink = "";
|
|
327
339
|
const pathParams = {};
|
|
@@ -333,6 +345,8 @@ class AnalyticsClient {
|
|
|
333
345
|
};
|
|
334
346
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
335
347
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
348
|
+
if (this.logger)
|
|
349
|
+
retrier.logger = this.logger;
|
|
336
350
|
const request = yield oci_common_2.composeRequest({
|
|
337
351
|
baseEndpoint: this._endpoint,
|
|
338
352
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -389,11 +403,12 @@ class AnalyticsClient {
|
|
|
389
403
|
* @param CreatePrivateAccessChannelRequest
|
|
390
404
|
* @return CreatePrivateAccessChannelResponse
|
|
391
405
|
* @throws OciError when an error occurs
|
|
392
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
406
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/CreatePrivateAccessChannel.ts.html |here} to see how to use CreatePrivateAccessChannel API.
|
|
393
407
|
*/
|
|
394
408
|
createPrivateAccessChannel(createPrivateAccessChannelRequest) {
|
|
395
409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
396
|
-
|
|
410
|
+
if (this.logger)
|
|
411
|
+
this.logger.debug("Calling operation AnalyticsClient#createPrivateAccessChannel.");
|
|
397
412
|
const operationName = "createPrivateAccessChannel";
|
|
398
413
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/CreatePrivateAccessChannel";
|
|
399
414
|
const pathParams = {
|
|
@@ -407,6 +422,8 @@ class AnalyticsClient {
|
|
|
407
422
|
};
|
|
408
423
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
409
424
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPrivateAccessChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
425
|
+
if (this.logger)
|
|
426
|
+
retrier.logger = this.logger;
|
|
410
427
|
const request = yield oci_common_2.composeRequest({
|
|
411
428
|
baseEndpoint: this._endpoint,
|
|
412
429
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -449,11 +466,12 @@ class AnalyticsClient {
|
|
|
449
466
|
* @param CreateVanityUrlRequest
|
|
450
467
|
* @return CreateVanityUrlResponse
|
|
451
468
|
* @throws OciError when an error occurs
|
|
452
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
469
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/CreateVanityUrl.ts.html |here} to see how to use CreateVanityUrl API.
|
|
453
470
|
*/
|
|
454
471
|
createVanityUrl(createVanityUrlRequest) {
|
|
455
472
|
return __awaiter(this, void 0, void 0, function* () {
|
|
456
|
-
|
|
473
|
+
if (this.logger)
|
|
474
|
+
this.logger.debug("Calling operation AnalyticsClient#createVanityUrl.");
|
|
457
475
|
const operationName = "createVanityUrl";
|
|
458
476
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/CreateVanityUrl";
|
|
459
477
|
const pathParams = {
|
|
@@ -467,6 +485,8 @@ class AnalyticsClient {
|
|
|
467
485
|
};
|
|
468
486
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
469
487
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createVanityUrlRequest.retryConfiguration, specRetryConfiguration);
|
|
488
|
+
if (this.logger)
|
|
489
|
+
retrier.logger = this.logger;
|
|
470
490
|
const request = yield oci_common_2.composeRequest({
|
|
471
491
|
baseEndpoint: this._endpoint,
|
|
472
492
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -509,11 +529,12 @@ class AnalyticsClient {
|
|
|
509
529
|
* @param DeleteAnalyticsInstanceRequest
|
|
510
530
|
* @return DeleteAnalyticsInstanceResponse
|
|
511
531
|
* @throws OciError when an error occurs
|
|
512
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
532
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/DeleteAnalyticsInstance.ts.html |here} to see how to use DeleteAnalyticsInstance API.
|
|
513
533
|
*/
|
|
514
534
|
deleteAnalyticsInstance(deleteAnalyticsInstanceRequest) {
|
|
515
535
|
return __awaiter(this, void 0, void 0, function* () {
|
|
516
|
-
|
|
536
|
+
if (this.logger)
|
|
537
|
+
this.logger.debug("Calling operation AnalyticsClient#deleteAnalyticsInstance.");
|
|
517
538
|
const operationName = "deleteAnalyticsInstance";
|
|
518
539
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/DeleteAnalyticsInstance";
|
|
519
540
|
const pathParams = {
|
|
@@ -528,6 +549,8 @@ class AnalyticsClient {
|
|
|
528
549
|
};
|
|
529
550
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
530
551
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
552
|
+
if (this.logger)
|
|
553
|
+
retrier.logger = this.logger;
|
|
531
554
|
const request = yield oci_common_2.composeRequest({
|
|
532
555
|
baseEndpoint: this._endpoint,
|
|
533
556
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -568,11 +591,12 @@ class AnalyticsClient {
|
|
|
568
591
|
* @param DeletePrivateAccessChannelRequest
|
|
569
592
|
* @return DeletePrivateAccessChannelResponse
|
|
570
593
|
* @throws OciError when an error occurs
|
|
571
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
594
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/DeletePrivateAccessChannel.ts.html |here} to see how to use DeletePrivateAccessChannel API.
|
|
572
595
|
*/
|
|
573
596
|
deletePrivateAccessChannel(deletePrivateAccessChannelRequest) {
|
|
574
597
|
return __awaiter(this, void 0, void 0, function* () {
|
|
575
|
-
|
|
598
|
+
if (this.logger)
|
|
599
|
+
this.logger.debug("Calling operation AnalyticsClient#deletePrivateAccessChannel.");
|
|
576
600
|
const operationName = "deletePrivateAccessChannel";
|
|
577
601
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/DeletePrivateAccessChannel";
|
|
578
602
|
const pathParams = {
|
|
@@ -588,6 +612,8 @@ class AnalyticsClient {
|
|
|
588
612
|
};
|
|
589
613
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
590
614
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePrivateAccessChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
615
|
+
if (this.logger)
|
|
616
|
+
retrier.logger = this.logger;
|
|
591
617
|
const request = yield oci_common_2.composeRequest({
|
|
592
618
|
baseEndpoint: this._endpoint,
|
|
593
619
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -628,11 +654,12 @@ class AnalyticsClient {
|
|
|
628
654
|
* @param DeleteVanityUrlRequest
|
|
629
655
|
* @return DeleteVanityUrlResponse
|
|
630
656
|
* @throws OciError when an error occurs
|
|
631
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
657
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/DeleteVanityUrl.ts.html |here} to see how to use DeleteVanityUrl API.
|
|
632
658
|
*/
|
|
633
659
|
deleteVanityUrl(deleteVanityUrlRequest) {
|
|
634
660
|
return __awaiter(this, void 0, void 0, function* () {
|
|
635
|
-
|
|
661
|
+
if (this.logger)
|
|
662
|
+
this.logger.debug("Calling operation AnalyticsClient#deleteVanityUrl.");
|
|
636
663
|
const operationName = "deleteVanityUrl";
|
|
637
664
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/DeleteVanityUrl";
|
|
638
665
|
const pathParams = {
|
|
@@ -648,6 +675,8 @@ class AnalyticsClient {
|
|
|
648
675
|
};
|
|
649
676
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
650
677
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteVanityUrlRequest.retryConfiguration, specRetryConfiguration);
|
|
678
|
+
if (this.logger)
|
|
679
|
+
retrier.logger = this.logger;
|
|
651
680
|
const request = yield oci_common_2.composeRequest({
|
|
652
681
|
baseEndpoint: this._endpoint,
|
|
653
682
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -688,11 +717,12 @@ class AnalyticsClient {
|
|
|
688
717
|
* @param DeleteWorkRequestRequest
|
|
689
718
|
* @return DeleteWorkRequestResponse
|
|
690
719
|
* @throws OciError when an error occurs
|
|
691
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
720
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
|
|
692
721
|
*/
|
|
693
722
|
deleteWorkRequest(deleteWorkRequestRequest) {
|
|
694
723
|
return __awaiter(this, void 0, void 0, function* () {
|
|
695
|
-
|
|
724
|
+
if (this.logger)
|
|
725
|
+
this.logger.debug("Calling operation AnalyticsClient#deleteWorkRequest.");
|
|
696
726
|
const operationName = "deleteWorkRequest";
|
|
697
727
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/WorkRequest/DeleteWorkRequest";
|
|
698
728
|
const pathParams = {
|
|
@@ -706,6 +736,8 @@ class AnalyticsClient {
|
|
|
706
736
|
};
|
|
707
737
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
708
738
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
739
|
+
if (this.logger)
|
|
740
|
+
retrier.logger = this.logger;
|
|
709
741
|
const request = yield oci_common_2.composeRequest({
|
|
710
742
|
baseEndpoint: this._endpoint,
|
|
711
743
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -741,11 +773,12 @@ class AnalyticsClient {
|
|
|
741
773
|
* @param GetAnalyticsInstanceRequest
|
|
742
774
|
* @return GetAnalyticsInstanceResponse
|
|
743
775
|
* @throws OciError when an error occurs
|
|
744
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
776
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/GetAnalyticsInstance.ts.html |here} to see how to use GetAnalyticsInstance API.
|
|
745
777
|
*/
|
|
746
778
|
getAnalyticsInstance(getAnalyticsInstanceRequest) {
|
|
747
779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
748
|
-
|
|
780
|
+
if (this.logger)
|
|
781
|
+
this.logger.debug("Calling operation AnalyticsClient#getAnalyticsInstance.");
|
|
749
782
|
const operationName = "getAnalyticsInstance";
|
|
750
783
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/GetAnalyticsInstance";
|
|
751
784
|
const pathParams = {
|
|
@@ -758,6 +791,8 @@ class AnalyticsClient {
|
|
|
758
791
|
};
|
|
759
792
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
760
793
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAnalyticsInstanceRequest.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,
|
|
@@ -802,11 +837,12 @@ class AnalyticsClient {
|
|
|
802
837
|
* @param GetPrivateAccessChannelRequest
|
|
803
838
|
* @return GetPrivateAccessChannelResponse
|
|
804
839
|
* @throws OciError when an error occurs
|
|
805
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
840
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/GetPrivateAccessChannel.ts.html |here} to see how to use GetPrivateAccessChannel API.
|
|
806
841
|
*/
|
|
807
842
|
getPrivateAccessChannel(getPrivateAccessChannelRequest) {
|
|
808
843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
809
|
-
|
|
844
|
+
if (this.logger)
|
|
845
|
+
this.logger.debug("Calling operation AnalyticsClient#getPrivateAccessChannel.");
|
|
810
846
|
const operationName = "getPrivateAccessChannel";
|
|
811
847
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/GetPrivateAccessChannel";
|
|
812
848
|
const pathParams = {
|
|
@@ -820,6 +856,8 @@ class AnalyticsClient {
|
|
|
820
856
|
};
|
|
821
857
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
822
858
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrivateAccessChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
859
|
+
if (this.logger)
|
|
860
|
+
retrier.logger = this.logger;
|
|
823
861
|
const request = yield oci_common_2.composeRequest({
|
|
824
862
|
baseEndpoint: this._endpoint,
|
|
825
863
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -864,11 +902,12 @@ class AnalyticsClient {
|
|
|
864
902
|
* @param GetWorkRequestRequest
|
|
865
903
|
* @return GetWorkRequestResponse
|
|
866
904
|
* @throws OciError when an error occurs
|
|
867
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
905
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
868
906
|
*/
|
|
869
907
|
getWorkRequest(getWorkRequestRequest) {
|
|
870
908
|
return __awaiter(this, void 0, void 0, function* () {
|
|
871
|
-
|
|
909
|
+
if (this.logger)
|
|
910
|
+
this.logger.debug("Calling operation AnalyticsClient#getWorkRequest.");
|
|
872
911
|
const operationName = "getWorkRequest";
|
|
873
912
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/WorkRequest/GetWorkRequest";
|
|
874
913
|
const pathParams = {
|
|
@@ -881,6 +920,8 @@ class AnalyticsClient {
|
|
|
881
920
|
};
|
|
882
921
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
883
922
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
923
|
+
if (this.logger)
|
|
924
|
+
retrier.logger = this.logger;
|
|
884
925
|
const request = yield oci_common_2.composeRequest({
|
|
885
926
|
baseEndpoint: this._endpoint,
|
|
886
927
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -930,11 +971,12 @@ class AnalyticsClient {
|
|
|
930
971
|
* @param ListAnalyticsInstancesRequest
|
|
931
972
|
* @return ListAnalyticsInstancesResponse
|
|
932
973
|
* @throws OciError when an error occurs
|
|
933
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
974
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/ListAnalyticsInstances.ts.html |here} to see how to use ListAnalyticsInstances API.
|
|
934
975
|
*/
|
|
935
976
|
listAnalyticsInstances(listAnalyticsInstancesRequest) {
|
|
936
977
|
return __awaiter(this, void 0, void 0, function* () {
|
|
937
|
-
|
|
978
|
+
if (this.logger)
|
|
979
|
+
this.logger.debug("Calling operation AnalyticsClient#listAnalyticsInstances.");
|
|
938
980
|
const operationName = "listAnalyticsInstances";
|
|
939
981
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstanceSummary/ListAnalyticsInstances";
|
|
940
982
|
const pathParams = {};
|
|
@@ -955,6 +997,8 @@ class AnalyticsClient {
|
|
|
955
997
|
};
|
|
956
998
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
957
999
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAnalyticsInstancesRequest.retryConfiguration, specRetryConfiguration);
|
|
1000
|
+
if (this.logger)
|
|
1001
|
+
retrier.logger = this.logger;
|
|
958
1002
|
const request = yield oci_common_2.composeRequest({
|
|
959
1003
|
baseEndpoint: this._endpoint,
|
|
960
1004
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1039,11 +1083,12 @@ class AnalyticsClient {
|
|
|
1039
1083
|
* @param ListWorkRequestErrorsRequest
|
|
1040
1084
|
* @return ListWorkRequestErrorsResponse
|
|
1041
1085
|
* @throws OciError when an error occurs
|
|
1042
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1086
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1043
1087
|
*/
|
|
1044
1088
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1045
1089
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1046
|
-
|
|
1090
|
+
if (this.logger)
|
|
1091
|
+
this.logger.debug("Calling operation AnalyticsClient#listWorkRequestErrors.");
|
|
1047
1092
|
const operationName = "listWorkRequestErrors";
|
|
1048
1093
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/WorkRequestError/ListWorkRequestErrors";
|
|
1049
1094
|
const pathParams = {
|
|
@@ -1059,6 +1104,8 @@ class AnalyticsClient {
|
|
|
1059
1104
|
};
|
|
1060
1105
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1061
1106
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1107
|
+
if (this.logger)
|
|
1108
|
+
retrier.logger = this.logger;
|
|
1062
1109
|
const request = yield oci_common_2.composeRequest({
|
|
1063
1110
|
baseEndpoint: this._endpoint,
|
|
1064
1111
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1143,11 +1190,12 @@ class AnalyticsClient {
|
|
|
1143
1190
|
* @param ListWorkRequestLogsRequest
|
|
1144
1191
|
* @return ListWorkRequestLogsResponse
|
|
1145
1192
|
* @throws OciError when an error occurs
|
|
1146
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1193
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1147
1194
|
*/
|
|
1148
1195
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1149
1196
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1150
|
-
|
|
1197
|
+
if (this.logger)
|
|
1198
|
+
this.logger.debug("Calling operation AnalyticsClient#listWorkRequestLogs.");
|
|
1151
1199
|
const operationName = "listWorkRequestLogs";
|
|
1152
1200
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/WorkRequestLog/ListWorkRequestLogs";
|
|
1153
1201
|
const pathParams = {
|
|
@@ -1163,6 +1211,8 @@ class AnalyticsClient {
|
|
|
1163
1211
|
};
|
|
1164
1212
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1165
1213
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1214
|
+
if (this.logger)
|
|
1215
|
+
retrier.logger = this.logger;
|
|
1166
1216
|
const request = yield oci_common_2.composeRequest({
|
|
1167
1217
|
baseEndpoint: this._endpoint,
|
|
1168
1218
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1247,11 +1297,12 @@ class AnalyticsClient {
|
|
|
1247
1297
|
* @param ListWorkRequestsRequest
|
|
1248
1298
|
* @return ListWorkRequestsResponse
|
|
1249
1299
|
* @throws OciError when an error occurs
|
|
1250
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1300
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1251
1301
|
*/
|
|
1252
1302
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1253
1303
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1254
|
-
|
|
1304
|
+
if (this.logger)
|
|
1305
|
+
this.logger.debug("Calling operation AnalyticsClient#listWorkRequests.");
|
|
1255
1306
|
const operationName = "listWorkRequests";
|
|
1256
1307
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/WorkRequestSummary/ListWorkRequests";
|
|
1257
1308
|
const pathParams = {};
|
|
@@ -1271,6 +1322,8 @@ class AnalyticsClient {
|
|
|
1271
1322
|
};
|
|
1272
1323
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1273
1324
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1325
|
+
if (this.logger)
|
|
1326
|
+
retrier.logger = this.logger;
|
|
1274
1327
|
const request = yield oci_common_2.composeRequest({
|
|
1275
1328
|
baseEndpoint: this._endpoint,
|
|
1276
1329
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1356,11 +1409,12 @@ class AnalyticsClient {
|
|
|
1356
1409
|
* @param ScaleAnalyticsInstanceRequest
|
|
1357
1410
|
* @return ScaleAnalyticsInstanceResponse
|
|
1358
1411
|
* @throws OciError when an error occurs
|
|
1359
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1412
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/ScaleAnalyticsInstance.ts.html |here} to see how to use ScaleAnalyticsInstance API.
|
|
1360
1413
|
*/
|
|
1361
1414
|
scaleAnalyticsInstance(scaleAnalyticsInstanceRequest) {
|
|
1362
1415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1363
|
-
|
|
1416
|
+
if (this.logger)
|
|
1417
|
+
this.logger.debug("Calling operation AnalyticsClient#scaleAnalyticsInstance.");
|
|
1364
1418
|
const operationName = "scaleAnalyticsInstance";
|
|
1365
1419
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/ScaleAnalyticsInstance";
|
|
1366
1420
|
const pathParams = {
|
|
@@ -1375,6 +1429,8 @@ class AnalyticsClient {
|
|
|
1375
1429
|
};
|
|
1376
1430
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1377
1431
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scaleAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1432
|
+
if (this.logger)
|
|
1433
|
+
retrier.logger = this.logger;
|
|
1378
1434
|
const request = yield oci_common_2.composeRequest({
|
|
1379
1435
|
baseEndpoint: this._endpoint,
|
|
1380
1436
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1416,11 +1472,12 @@ class AnalyticsClient {
|
|
|
1416
1472
|
* @param SetKmsKeyRequest
|
|
1417
1473
|
* @return SetKmsKeyResponse
|
|
1418
1474
|
* @throws OciError when an error occurs
|
|
1419
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1475
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/SetKmsKey.ts.html |here} to see how to use SetKmsKey API.
|
|
1420
1476
|
*/
|
|
1421
1477
|
setKmsKey(setKmsKeyRequest) {
|
|
1422
1478
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1423
|
-
|
|
1479
|
+
if (this.logger)
|
|
1480
|
+
this.logger.debug("Calling operation AnalyticsClient#setKmsKey.");
|
|
1424
1481
|
const operationName = "setKmsKey";
|
|
1425
1482
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/SetKmsKey";
|
|
1426
1483
|
const pathParams = {
|
|
@@ -1435,6 +1492,8 @@ class AnalyticsClient {
|
|
|
1435
1492
|
};
|
|
1436
1493
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1437
1494
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setKmsKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1495
|
+
if (this.logger)
|
|
1496
|
+
retrier.logger = this.logger;
|
|
1438
1497
|
const request = yield oci_common_2.composeRequest({
|
|
1439
1498
|
baseEndpoint: this._endpoint,
|
|
1440
1499
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1477,11 +1536,12 @@ class AnalyticsClient {
|
|
|
1477
1536
|
* @param StartAnalyticsInstanceRequest
|
|
1478
1537
|
* @return StartAnalyticsInstanceResponse
|
|
1479
1538
|
* @throws OciError when an error occurs
|
|
1480
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1539
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/StartAnalyticsInstance.ts.html |here} to see how to use StartAnalyticsInstance API.
|
|
1481
1540
|
*/
|
|
1482
1541
|
startAnalyticsInstance(startAnalyticsInstanceRequest) {
|
|
1483
1542
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1484
|
-
|
|
1543
|
+
if (this.logger)
|
|
1544
|
+
this.logger.debug("Calling operation AnalyticsClient#startAnalyticsInstance.");
|
|
1485
1545
|
const operationName = "startAnalyticsInstance";
|
|
1486
1546
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/StartAnalyticsInstance";
|
|
1487
1547
|
const pathParams = {
|
|
@@ -1496,6 +1556,8 @@ class AnalyticsClient {
|
|
|
1496
1556
|
};
|
|
1497
1557
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1498
1558
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1559
|
+
if (this.logger)
|
|
1560
|
+
retrier.logger = this.logger;
|
|
1499
1561
|
const request = yield oci_common_2.composeRequest({
|
|
1500
1562
|
baseEndpoint: this._endpoint,
|
|
1501
1563
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1537,11 +1599,12 @@ class AnalyticsClient {
|
|
|
1537
1599
|
* @param StopAnalyticsInstanceRequest
|
|
1538
1600
|
* @return StopAnalyticsInstanceResponse
|
|
1539
1601
|
* @throws OciError when an error occurs
|
|
1540
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1602
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/StopAnalyticsInstance.ts.html |here} to see how to use StopAnalyticsInstance API.
|
|
1541
1603
|
*/
|
|
1542
1604
|
stopAnalyticsInstance(stopAnalyticsInstanceRequest) {
|
|
1543
1605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1544
|
-
|
|
1606
|
+
if (this.logger)
|
|
1607
|
+
this.logger.debug("Calling operation AnalyticsClient#stopAnalyticsInstance.");
|
|
1545
1608
|
const operationName = "stopAnalyticsInstance";
|
|
1546
1609
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/StopAnalyticsInstance";
|
|
1547
1610
|
const pathParams = {
|
|
@@ -1556,6 +1619,8 @@ class AnalyticsClient {
|
|
|
1556
1619
|
};
|
|
1557
1620
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1558
1621
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1622
|
+
if (this.logger)
|
|
1623
|
+
retrier.logger = this.logger;
|
|
1559
1624
|
const request = yield oci_common_2.composeRequest({
|
|
1560
1625
|
baseEndpoint: this._endpoint,
|
|
1561
1626
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1597,11 +1662,12 @@ class AnalyticsClient {
|
|
|
1597
1662
|
* @param UpdateAnalyticsInstanceRequest
|
|
1598
1663
|
* @return UpdateAnalyticsInstanceResponse
|
|
1599
1664
|
* @throws OciError when an error occurs
|
|
1600
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1665
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/UpdateAnalyticsInstance.ts.html |here} to see how to use UpdateAnalyticsInstance API.
|
|
1601
1666
|
*/
|
|
1602
1667
|
updateAnalyticsInstance(updateAnalyticsInstanceRequest) {
|
|
1603
1668
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1604
|
-
|
|
1669
|
+
if (this.logger)
|
|
1670
|
+
this.logger.debug("Calling operation AnalyticsClient#updateAnalyticsInstance.");
|
|
1605
1671
|
const operationName = "updateAnalyticsInstance";
|
|
1606
1672
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/UpdateAnalyticsInstance";
|
|
1607
1673
|
const pathParams = {
|
|
@@ -1615,6 +1681,8 @@ class AnalyticsClient {
|
|
|
1615
1681
|
};
|
|
1616
1682
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1617
1683
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1684
|
+
if (this.logger)
|
|
1685
|
+
retrier.logger = this.logger;
|
|
1618
1686
|
const request = yield oci_common_2.composeRequest({
|
|
1619
1687
|
baseEndpoint: this._endpoint,
|
|
1620
1688
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1660,11 +1728,12 @@ class AnalyticsClient {
|
|
|
1660
1728
|
* @param UpdatePrivateAccessChannelRequest
|
|
1661
1729
|
* @return UpdatePrivateAccessChannelResponse
|
|
1662
1730
|
* @throws OciError when an error occurs
|
|
1663
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1731
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/UpdatePrivateAccessChannel.ts.html |here} to see how to use UpdatePrivateAccessChannel API.
|
|
1664
1732
|
*/
|
|
1665
1733
|
updatePrivateAccessChannel(updatePrivateAccessChannelRequest) {
|
|
1666
1734
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1667
|
-
|
|
1735
|
+
if (this.logger)
|
|
1736
|
+
this.logger.debug("Calling operation AnalyticsClient#updatePrivateAccessChannel.");
|
|
1668
1737
|
const operationName = "updatePrivateAccessChannel";
|
|
1669
1738
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/UpdatePrivateAccessChannel";
|
|
1670
1739
|
const pathParams = {
|
|
@@ -1680,6 +1749,8 @@ class AnalyticsClient {
|
|
|
1680
1749
|
};
|
|
1681
1750
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1682
1751
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePrivateAccessChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
1752
|
+
if (this.logger)
|
|
1753
|
+
retrier.logger = this.logger;
|
|
1683
1754
|
const request = yield oci_common_2.composeRequest({
|
|
1684
1755
|
baseEndpoint: this._endpoint,
|
|
1685
1756
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1721,11 +1792,12 @@ class AnalyticsClient {
|
|
|
1721
1792
|
* @param UpdateVanityUrlRequest
|
|
1722
1793
|
* @return UpdateVanityUrlResponse
|
|
1723
1794
|
* @throws OciError when an error occurs
|
|
1724
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1795
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/analytics/UpdateVanityUrl.ts.html |here} to see how to use UpdateVanityUrl API.
|
|
1725
1796
|
*/
|
|
1726
1797
|
updateVanityUrl(updateVanityUrlRequest) {
|
|
1727
1798
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1728
|
-
|
|
1799
|
+
if (this.logger)
|
|
1800
|
+
this.logger.debug("Calling operation AnalyticsClient#updateVanityUrl.");
|
|
1729
1801
|
const operationName = "updateVanityUrl";
|
|
1730
1802
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/UpdateVanityUrl";
|
|
1731
1803
|
const pathParams = {
|
|
@@ -1741,6 +1813,8 @@ class AnalyticsClient {
|
|
|
1741
1813
|
};
|
|
1742
1814
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1743
1815
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateVanityUrlRequest.retryConfiguration, specRetryConfiguration);
|
|
1816
|
+
if (this.logger)
|
|
1817
|
+
retrier.logger = this.logger;
|
|
1744
1818
|
const request = yield oci_common_2.composeRequest({
|
|
1745
1819
|
baseEndpoint: this._endpoint,
|
|
1746
1820
|
defaultHeaders: this._defaultHeaders,
|