oci-analytics 2.5.2 → 2.6.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 +47 -22
- package/lib/client.js +98 -44
- package/lib/client.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/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
|
@@ -53,6 +53,9 @@ const oci_common_2 = require("oci-common");
|
|
|
53
53
|
var AnalyticsApiKeys;
|
|
54
54
|
(function (AnalyticsApiKeys) {
|
|
55
55
|
})(AnalyticsApiKeys = exports.AnalyticsApiKeys || (exports.AnalyticsApiKeys = {}));
|
|
56
|
+
/**
|
|
57
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
58
|
+
*/
|
|
56
59
|
class AnalyticsClient {
|
|
57
60
|
constructor(params, clientConfiguration) {
|
|
58
61
|
this["_endpoint"] = "";
|
|
@@ -67,6 +70,13 @@ class AnalyticsClient {
|
|
|
67
70
|
? clientConfiguration.circuitBreaker.circuit
|
|
68
71
|
: null;
|
|
69
72
|
}
|
|
73
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
74
|
+
const specCircuitBreakerEnabled = false;
|
|
75
|
+
if (!this._circuitBreaker &&
|
|
76
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
77
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
78
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
79
|
+
}
|
|
70
80
|
this._httpClient =
|
|
71
81
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
72
82
|
if (params.authenticationDetailsProvider &&
|
|
@@ -140,10 +150,11 @@ class AnalyticsClient {
|
|
|
140
150
|
* Change the compartment of an Analytics instance. The operation is long-running
|
|
141
151
|
* and creates a new WorkRequest.
|
|
142
152
|
*
|
|
153
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
143
154
|
* @param ChangeAnalyticsInstanceCompartmentRequest
|
|
144
155
|
* @return ChangeAnalyticsInstanceCompartmentResponse
|
|
145
156
|
* @throws OciError when an error occurs
|
|
146
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
157
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/ChangeAnalyticsInstanceCompartment.ts.html |here} to see how to use ChangeAnalyticsInstanceCompartment API.
|
|
147
158
|
*/
|
|
148
159
|
changeAnalyticsInstanceCompartment(changeAnalyticsInstanceCompartmentRequest) {
|
|
149
160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -159,7 +170,8 @@ class AnalyticsClient {
|
|
|
159
170
|
"opc-request-id": changeAnalyticsInstanceCompartmentRequest.opcRequestId,
|
|
160
171
|
"opc-retry-token": changeAnalyticsInstanceCompartmentRequest.opcRetryToken
|
|
161
172
|
};
|
|
162
|
-
const
|
|
173
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
174
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAnalyticsInstanceCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
163
175
|
if (this.logger)
|
|
164
176
|
retrier.logger = this.logger;
|
|
165
177
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -200,10 +212,11 @@ class AnalyticsClient {
|
|
|
200
212
|
* Change an Analytics instance network endpoint. The operation is long-running
|
|
201
213
|
* and creates a new WorkRequest.
|
|
202
214
|
*
|
|
215
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
203
216
|
* @param ChangeAnalyticsInstanceNetworkEndpointRequest
|
|
204
217
|
* @return ChangeAnalyticsInstanceNetworkEndpointResponse
|
|
205
218
|
* @throws OciError when an error occurs
|
|
206
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
219
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/ChangeAnalyticsInstanceNetworkEndpoint.ts.html |here} to see how to use ChangeAnalyticsInstanceNetworkEndpoint API.
|
|
207
220
|
*/
|
|
208
221
|
changeAnalyticsInstanceNetworkEndpoint(changeAnalyticsInstanceNetworkEndpointRequest) {
|
|
209
222
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -219,7 +232,8 @@ class AnalyticsClient {
|
|
|
219
232
|
"opc-request-id": changeAnalyticsInstanceNetworkEndpointRequest.opcRequestId,
|
|
220
233
|
"opc-retry-token": changeAnalyticsInstanceNetworkEndpointRequest.opcRetryToken
|
|
221
234
|
};
|
|
222
|
-
const
|
|
235
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
236
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAnalyticsInstanceNetworkEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
223
237
|
if (this.logger)
|
|
224
238
|
retrier.logger = this.logger;
|
|
225
239
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -260,10 +274,11 @@ class AnalyticsClient {
|
|
|
260
274
|
* Create a new AnalyticsInstance in the specified compartment. The operation is long-running
|
|
261
275
|
* and creates a new WorkRequest.
|
|
262
276
|
*
|
|
277
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
263
278
|
* @param CreateAnalyticsInstanceRequest
|
|
264
279
|
* @return CreateAnalyticsInstanceResponse
|
|
265
280
|
* @throws OciError when an error occurs
|
|
266
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
281
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/CreateAnalyticsInstance.ts.html |here} to see how to use CreateAnalyticsInstance API.
|
|
267
282
|
*/
|
|
268
283
|
createAnalyticsInstance(createAnalyticsInstanceRequest) {
|
|
269
284
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -276,7 +291,8 @@ class AnalyticsClient {
|
|
|
276
291
|
"opc-request-id": createAnalyticsInstanceRequest.opcRequestId,
|
|
277
292
|
"opc-retry-token": createAnalyticsInstanceRequest.opcRetryToken
|
|
278
293
|
};
|
|
279
|
-
const
|
|
294
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
295
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
280
296
|
if (this.logger)
|
|
281
297
|
retrier.logger = this.logger;
|
|
282
298
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -331,10 +347,11 @@ class AnalyticsClient {
|
|
|
331
347
|
* Create an Private access Channel for the Analytics instance. The operation is long-running
|
|
332
348
|
* and creates a new WorkRequest.
|
|
333
349
|
*
|
|
350
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
334
351
|
* @param CreatePrivateAccessChannelRequest
|
|
335
352
|
* @return CreatePrivateAccessChannelResponse
|
|
336
353
|
* @throws OciError when an error occurs
|
|
337
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
354
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/CreatePrivateAccessChannel.ts.html |here} to see how to use CreatePrivateAccessChannel API.
|
|
338
355
|
*/
|
|
339
356
|
createPrivateAccessChannel(createPrivateAccessChannelRequest) {
|
|
340
357
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -349,7 +366,8 @@ class AnalyticsClient {
|
|
|
349
366
|
"opc-request-id": createPrivateAccessChannelRequest.opcRequestId,
|
|
350
367
|
"opc-retry-token": createPrivateAccessChannelRequest.opcRetryToken
|
|
351
368
|
};
|
|
352
|
-
const
|
|
369
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
370
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPrivateAccessChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
353
371
|
if (this.logger)
|
|
354
372
|
retrier.logger = this.logger;
|
|
355
373
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -390,10 +408,11 @@ class AnalyticsClient {
|
|
|
390
408
|
* Allows specifying a custom host name to be used to access the analytics instance. This requires prior setup of DNS entry and certificate
|
|
391
409
|
* for this host.
|
|
392
410
|
*
|
|
411
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
393
412
|
* @param CreateVanityUrlRequest
|
|
394
413
|
* @return CreateVanityUrlResponse
|
|
395
414
|
* @throws OciError when an error occurs
|
|
396
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
415
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/CreateVanityUrl.ts.html |here} to see how to use CreateVanityUrl API.
|
|
397
416
|
*/
|
|
398
417
|
createVanityUrl(createVanityUrlRequest) {
|
|
399
418
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -408,7 +427,8 @@ class AnalyticsClient {
|
|
|
408
427
|
"opc-request-id": createVanityUrlRequest.opcRequestId,
|
|
409
428
|
"opc-retry-token": createVanityUrlRequest.opcRetryToken
|
|
410
429
|
};
|
|
411
|
-
const
|
|
430
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
431
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createVanityUrlRequest.retryConfiguration, specRetryConfiguration);
|
|
412
432
|
if (this.logger)
|
|
413
433
|
retrier.logger = this.logger;
|
|
414
434
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -449,10 +469,11 @@ class AnalyticsClient {
|
|
|
449
469
|
* Terminates the specified Analytics instance. The operation is long-running
|
|
450
470
|
* and creates a new WorkRequest.
|
|
451
471
|
*
|
|
472
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
452
473
|
* @param DeleteAnalyticsInstanceRequest
|
|
453
474
|
* @return DeleteAnalyticsInstanceResponse
|
|
454
475
|
* @throws OciError when an error occurs
|
|
455
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
476
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/DeleteAnalyticsInstance.ts.html |here} to see how to use DeleteAnalyticsInstance API.
|
|
456
477
|
*/
|
|
457
478
|
deleteAnalyticsInstance(deleteAnalyticsInstanceRequest) {
|
|
458
479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -468,7 +489,8 @@ class AnalyticsClient {
|
|
|
468
489
|
"opc-request-id": deleteAnalyticsInstanceRequest.opcRequestId,
|
|
469
490
|
"opc-retry-token": deleteAnalyticsInstanceRequest.opcRetryToken
|
|
470
491
|
};
|
|
471
|
-
const
|
|
492
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
493
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
472
494
|
if (this.logger)
|
|
473
495
|
retrier.logger = this.logger;
|
|
474
496
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -507,10 +529,11 @@ class AnalyticsClient {
|
|
|
507
529
|
/**
|
|
508
530
|
* Delete an Analytics instance's Private access channel with the given unique identifier key.
|
|
509
531
|
*
|
|
532
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
510
533
|
* @param DeletePrivateAccessChannelRequest
|
|
511
534
|
* @return DeletePrivateAccessChannelResponse
|
|
512
535
|
* @throws OciError when an error occurs
|
|
513
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
536
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/DeletePrivateAccessChannel.ts.html |here} to see how to use DeletePrivateAccessChannel API.
|
|
514
537
|
*/
|
|
515
538
|
deletePrivateAccessChannel(deletePrivateAccessChannelRequest) {
|
|
516
539
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -527,7 +550,8 @@ class AnalyticsClient {
|
|
|
527
550
|
"opc-request-id": deletePrivateAccessChannelRequest.opcRequestId,
|
|
528
551
|
"opc-retry-token": deletePrivateAccessChannelRequest.opcRetryToken
|
|
529
552
|
};
|
|
530
|
-
const
|
|
553
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
554
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePrivateAccessChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
531
555
|
if (this.logger)
|
|
532
556
|
retrier.logger = this.logger;
|
|
533
557
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -566,10 +590,11 @@ class AnalyticsClient {
|
|
|
566
590
|
/**
|
|
567
591
|
* Allows deleting a previously created vanity url.
|
|
568
592
|
*
|
|
593
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
569
594
|
* @param DeleteVanityUrlRequest
|
|
570
595
|
* @return DeleteVanityUrlResponse
|
|
571
596
|
* @throws OciError when an error occurs
|
|
572
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
597
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/DeleteVanityUrl.ts.html |here} to see how to use DeleteVanityUrl API.
|
|
573
598
|
*/
|
|
574
599
|
deleteVanityUrl(deleteVanityUrlRequest) {
|
|
575
600
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -586,7 +611,8 @@ class AnalyticsClient {
|
|
|
586
611
|
"opc-request-id": deleteVanityUrlRequest.opcRequestId,
|
|
587
612
|
"opc-retry-token": deleteVanityUrlRequest.opcRetryToken
|
|
588
613
|
};
|
|
589
|
-
const
|
|
614
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
615
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteVanityUrlRequest.retryConfiguration, specRetryConfiguration);
|
|
590
616
|
if (this.logger)
|
|
591
617
|
retrier.logger = this.logger;
|
|
592
618
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -625,10 +651,11 @@ class AnalyticsClient {
|
|
|
625
651
|
/**
|
|
626
652
|
* Cancel a work request that has not started yet.
|
|
627
653
|
*
|
|
654
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
628
655
|
* @param DeleteWorkRequestRequest
|
|
629
656
|
* @return DeleteWorkRequestResponse
|
|
630
657
|
* @throws OciError when an error occurs
|
|
631
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
658
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
|
|
632
659
|
*/
|
|
633
660
|
deleteWorkRequest(deleteWorkRequestRequest) {
|
|
634
661
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -643,7 +670,8 @@ class AnalyticsClient {
|
|
|
643
670
|
"if-match": deleteWorkRequestRequest.ifMatch,
|
|
644
671
|
"opc-request-id": deleteWorkRequestRequest.opcRequestId
|
|
645
672
|
};
|
|
646
|
-
const
|
|
673
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
674
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
647
675
|
if (this.logger)
|
|
648
676
|
retrier.logger = this.logger;
|
|
649
677
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -677,10 +705,11 @@ class AnalyticsClient {
|
|
|
677
705
|
/**
|
|
678
706
|
* Info for a specific Analytics instance.
|
|
679
707
|
*
|
|
708
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
680
709
|
* @param GetAnalyticsInstanceRequest
|
|
681
710
|
* @return GetAnalyticsInstanceResponse
|
|
682
711
|
* @throws OciError when an error occurs
|
|
683
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
712
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/GetAnalyticsInstance.ts.html |here} to see how to use GetAnalyticsInstance API.
|
|
684
713
|
*/
|
|
685
714
|
getAnalyticsInstance(getAnalyticsInstanceRequest) {
|
|
686
715
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -694,7 +723,8 @@ class AnalyticsClient {
|
|
|
694
723
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
695
724
|
"opc-request-id": getAnalyticsInstanceRequest.opcRequestId
|
|
696
725
|
};
|
|
697
|
-
const
|
|
726
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
727
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
698
728
|
if (this.logger)
|
|
699
729
|
retrier.logger = this.logger;
|
|
700
730
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -737,10 +767,11 @@ class AnalyticsClient {
|
|
|
737
767
|
/**
|
|
738
768
|
* Retrieve private access channel in the specified Analytics Instance.
|
|
739
769
|
*
|
|
770
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
740
771
|
* @param GetPrivateAccessChannelRequest
|
|
741
772
|
* @return GetPrivateAccessChannelResponse
|
|
742
773
|
* @throws OciError when an error occurs
|
|
743
|
-
* @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.6.0/analytics/GetPrivateAccessChannel.ts.html |here} to see how to use GetPrivateAccessChannel API.
|
|
744
775
|
*/
|
|
745
776
|
getPrivateAccessChannel(getPrivateAccessChannelRequest) {
|
|
746
777
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -755,7 +786,8 @@ class AnalyticsClient {
|
|
|
755
786
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
756
787
|
"opc-request-id": getPrivateAccessChannelRequest.opcRequestId
|
|
757
788
|
};
|
|
758
|
-
const
|
|
789
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
790
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrivateAccessChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
759
791
|
if (this.logger)
|
|
760
792
|
retrier.logger = this.logger;
|
|
761
793
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -798,10 +830,11 @@ class AnalyticsClient {
|
|
|
798
830
|
/**
|
|
799
831
|
* Get the details of a work request.
|
|
800
832
|
*
|
|
833
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
801
834
|
* @param GetWorkRequestRequest
|
|
802
835
|
* @return GetWorkRequestResponse
|
|
803
836
|
* @throws OciError when an error occurs
|
|
804
|
-
* @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.6.0/analytics/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
805
838
|
*/
|
|
806
839
|
getWorkRequest(getWorkRequestRequest) {
|
|
807
840
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -815,7 +848,8 @@ class AnalyticsClient {
|
|
|
815
848
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
816
849
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
817
850
|
};
|
|
818
|
-
const
|
|
851
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
852
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
819
853
|
if (this.logger)
|
|
820
854
|
retrier.logger = this.logger;
|
|
821
855
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -863,10 +897,11 @@ class AnalyticsClient {
|
|
|
863
897
|
/**
|
|
864
898
|
* List Analytics instances.
|
|
865
899
|
*
|
|
900
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
866
901
|
* @param ListAnalyticsInstancesRequest
|
|
867
902
|
* @return ListAnalyticsInstancesResponse
|
|
868
903
|
* @throws OciError when an error occurs
|
|
869
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
904
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/ListAnalyticsInstances.ts.html |here} to see how to use ListAnalyticsInstances API.
|
|
870
905
|
*/
|
|
871
906
|
listAnalyticsInstances(listAnalyticsInstancesRequest) {
|
|
872
907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -888,7 +923,8 @@ class AnalyticsClient {
|
|
|
888
923
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
889
924
|
"opc-request-id": listAnalyticsInstancesRequest.opcRequestId
|
|
890
925
|
};
|
|
891
|
-
const
|
|
926
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
927
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAnalyticsInstancesRequest.retryConfiguration, specRetryConfiguration);
|
|
892
928
|
if (this.logger)
|
|
893
929
|
retrier.logger = this.logger;
|
|
894
930
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -971,10 +1007,11 @@ class AnalyticsClient {
|
|
|
971
1007
|
/**
|
|
972
1008
|
* Get the errors of a work request.
|
|
973
1009
|
*
|
|
1010
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
974
1011
|
* @param ListWorkRequestErrorsRequest
|
|
975
1012
|
* @return ListWorkRequestErrorsResponse
|
|
976
1013
|
* @throws OciError when an error occurs
|
|
977
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1014
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
978
1015
|
*/
|
|
979
1016
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
980
1017
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -991,7 +1028,8 @@ class AnalyticsClient {
|
|
|
991
1028
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
992
1029
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
993
1030
|
};
|
|
994
|
-
const
|
|
1031
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1032
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
995
1033
|
if (this.logger)
|
|
996
1034
|
retrier.logger = this.logger;
|
|
997
1035
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1074,10 +1112,11 @@ class AnalyticsClient {
|
|
|
1074
1112
|
/**
|
|
1075
1113
|
* Get the logs of a work request.
|
|
1076
1114
|
*
|
|
1115
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1077
1116
|
* @param ListWorkRequestLogsRequest
|
|
1078
1117
|
* @return ListWorkRequestLogsResponse
|
|
1079
1118
|
* @throws OciError when an error occurs
|
|
1080
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1119
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1081
1120
|
*/
|
|
1082
1121
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1083
1122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1094,7 +1133,8 @@ class AnalyticsClient {
|
|
|
1094
1133
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1095
1134
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1096
1135
|
};
|
|
1097
|
-
const
|
|
1136
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1137
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1098
1138
|
if (this.logger)
|
|
1099
1139
|
retrier.logger = this.logger;
|
|
1100
1140
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1177,10 +1217,11 @@ class AnalyticsClient {
|
|
|
1177
1217
|
/**
|
|
1178
1218
|
* List all work requests in a compartment.
|
|
1179
1219
|
*
|
|
1220
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1180
1221
|
* @param ListWorkRequestsRequest
|
|
1181
1222
|
* @return ListWorkRequestsResponse
|
|
1182
1223
|
* @throws OciError when an error occurs
|
|
1183
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1184
1225
|
*/
|
|
1185
1226
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1186
1227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1201,7 +1242,8 @@ class AnalyticsClient {
|
|
|
1201
1242
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1202
1243
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1203
1244
|
};
|
|
1204
|
-
const
|
|
1245
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1246
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1205
1247
|
if (this.logger)
|
|
1206
1248
|
retrier.logger = this.logger;
|
|
1207
1249
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1285,10 +1327,11 @@ class AnalyticsClient {
|
|
|
1285
1327
|
* Scale an Analytics instance up or down. The operation is long-running
|
|
1286
1328
|
* and creates a new WorkRequest.
|
|
1287
1329
|
*
|
|
1330
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1288
1331
|
* @param ScaleAnalyticsInstanceRequest
|
|
1289
1332
|
* @return ScaleAnalyticsInstanceResponse
|
|
1290
1333
|
* @throws OciError when an error occurs
|
|
1291
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1334
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/ScaleAnalyticsInstance.ts.html |here} to see how to use ScaleAnalyticsInstance API.
|
|
1292
1335
|
*/
|
|
1293
1336
|
scaleAnalyticsInstance(scaleAnalyticsInstanceRequest) {
|
|
1294
1337
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1304,7 +1347,8 @@ class AnalyticsClient {
|
|
|
1304
1347
|
"opc-request-id": scaleAnalyticsInstanceRequest.opcRequestId,
|
|
1305
1348
|
"opc-retry-token": scaleAnalyticsInstanceRequest.opcRetryToken
|
|
1306
1349
|
};
|
|
1307
|
-
const
|
|
1350
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1351
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scaleAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1308
1352
|
if (this.logger)
|
|
1309
1353
|
retrier.logger = this.logger;
|
|
1310
1354
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1345,10 +1389,11 @@ class AnalyticsClient {
|
|
|
1345
1389
|
* Starts the specified Analytics instance. The operation is long-running
|
|
1346
1390
|
* and creates a new WorkRequest.
|
|
1347
1391
|
*
|
|
1392
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1348
1393
|
* @param StartAnalyticsInstanceRequest
|
|
1349
1394
|
* @return StartAnalyticsInstanceResponse
|
|
1350
1395
|
* @throws OciError when an error occurs
|
|
1351
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1396
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/StartAnalyticsInstance.ts.html |here} to see how to use StartAnalyticsInstance API.
|
|
1352
1397
|
*/
|
|
1353
1398
|
startAnalyticsInstance(startAnalyticsInstanceRequest) {
|
|
1354
1399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1364,7 +1409,8 @@ class AnalyticsClient {
|
|
|
1364
1409
|
"opc-request-id": startAnalyticsInstanceRequest.opcRequestId,
|
|
1365
1410
|
"opc-retry-token": startAnalyticsInstanceRequest.opcRetryToken
|
|
1366
1411
|
};
|
|
1367
|
-
const
|
|
1412
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1413
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1368
1414
|
if (this.logger)
|
|
1369
1415
|
retrier.logger = this.logger;
|
|
1370
1416
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1404,10 +1450,11 @@ class AnalyticsClient {
|
|
|
1404
1450
|
* Stop the specified Analytics instance. The operation is long-running
|
|
1405
1451
|
* and creates a new WorkRequest.
|
|
1406
1452
|
*
|
|
1453
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1407
1454
|
* @param StopAnalyticsInstanceRequest
|
|
1408
1455
|
* @return StopAnalyticsInstanceResponse
|
|
1409
1456
|
* @throws OciError when an error occurs
|
|
1410
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1457
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/StopAnalyticsInstance.ts.html |here} to see how to use StopAnalyticsInstance API.
|
|
1411
1458
|
*/
|
|
1412
1459
|
stopAnalyticsInstance(stopAnalyticsInstanceRequest) {
|
|
1413
1460
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1423,7 +1470,8 @@ class AnalyticsClient {
|
|
|
1423
1470
|
"opc-request-id": stopAnalyticsInstanceRequest.opcRequestId,
|
|
1424
1471
|
"opc-retry-token": stopAnalyticsInstanceRequest.opcRetryToken
|
|
1425
1472
|
};
|
|
1426
|
-
const
|
|
1473
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1474
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1427
1475
|
if (this.logger)
|
|
1428
1476
|
retrier.logger = this.logger;
|
|
1429
1477
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1463,10 +1511,11 @@ class AnalyticsClient {
|
|
|
1463
1511
|
* Updates certain fields of an Analytics instance. Fields that are not provided in the
|
|
1464
1512
|
* request will not be updated.
|
|
1465
1513
|
*
|
|
1514
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1466
1515
|
* @param UpdateAnalyticsInstanceRequest
|
|
1467
1516
|
* @return UpdateAnalyticsInstanceResponse
|
|
1468
1517
|
* @throws OciError when an error occurs
|
|
1469
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1518
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/UpdateAnalyticsInstance.ts.html |here} to see how to use UpdateAnalyticsInstance API.
|
|
1470
1519
|
*/
|
|
1471
1520
|
updateAnalyticsInstance(updateAnalyticsInstanceRequest) {
|
|
1472
1521
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1481,7 +1530,8 @@ class AnalyticsClient {
|
|
|
1481
1530
|
"if-match": updateAnalyticsInstanceRequest.ifMatch,
|
|
1482
1531
|
"opc-request-id": updateAnalyticsInstanceRequest.opcRequestId
|
|
1483
1532
|
};
|
|
1484
|
-
const
|
|
1533
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1534
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1485
1535
|
if (this.logger)
|
|
1486
1536
|
retrier.logger = this.logger;
|
|
1487
1537
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1525,10 +1575,11 @@ class AnalyticsClient {
|
|
|
1525
1575
|
/**
|
|
1526
1576
|
* Update the Private Access Channel with the given unique identifier key in the specified Analytics Instance.
|
|
1527
1577
|
*
|
|
1578
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1528
1579
|
* @param UpdatePrivateAccessChannelRequest
|
|
1529
1580
|
* @return UpdatePrivateAccessChannelResponse
|
|
1530
1581
|
* @throws OciError when an error occurs
|
|
1531
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1582
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/UpdatePrivateAccessChannel.ts.html |here} to see how to use UpdatePrivateAccessChannel API.
|
|
1532
1583
|
*/
|
|
1533
1584
|
updatePrivateAccessChannel(updatePrivateAccessChannelRequest) {
|
|
1534
1585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1545,7 +1596,8 @@ class AnalyticsClient {
|
|
|
1545
1596
|
"opc-request-id": updatePrivateAccessChannelRequest.opcRequestId,
|
|
1546
1597
|
"opc-retry-token": updatePrivateAccessChannelRequest.opcRetryToken
|
|
1547
1598
|
};
|
|
1548
|
-
const
|
|
1599
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1600
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePrivateAccessChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
1549
1601
|
if (this.logger)
|
|
1550
1602
|
retrier.logger = this.logger;
|
|
1551
1603
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1585,10 +1637,11 @@ class AnalyticsClient {
|
|
|
1585
1637
|
/**
|
|
1586
1638
|
* Allows uploading a new certificate for a vanity url, which will have to be done when the current certificate is expiring.
|
|
1587
1639
|
*
|
|
1640
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1588
1641
|
* @param UpdateVanityUrlRequest
|
|
1589
1642
|
* @return UpdateVanityUrlResponse
|
|
1590
1643
|
* @throws OciError when an error occurs
|
|
1591
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/analytics/UpdateVanityUrl.ts.html |here} to see how to use UpdateVanityUrl API.
|
|
1592
1645
|
*/
|
|
1593
1646
|
updateVanityUrl(updateVanityUrlRequest) {
|
|
1594
1647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1605,7 +1658,8 @@ class AnalyticsClient {
|
|
|
1605
1658
|
"opc-request-id": updateVanityUrlRequest.opcRequestId,
|
|
1606
1659
|
"opc-retry-token": updateVanityUrlRequest.opcRetryToken
|
|
1607
1660
|
};
|
|
1608
|
-
const
|
|
1661
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1662
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateVanityUrlRequest.retryConfiguration, specRetryConfiguration);
|
|
1609
1663
|
if (this.logger)
|
|
1610
1664
|
retrier.logger = this.logger;
|
|
1611
1665
|
const request = yield oci_common_2.composeRequest({
|