oci-analytics 2.4.0 → 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/LICENSE.txt +6 -0
- package/lib/client.d.ts +115 -22
- package/lib/client.js +182 -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({
|
|
@@ -929,6 +965,7 @@ class AnalyticsClient {
|
|
|
929
965
|
});
|
|
930
966
|
}
|
|
931
967
|
/**
|
|
968
|
+
* NOTE: This function is deprecated in favor of listAnalyticsInstancesRecordIterator function.
|
|
932
969
|
* Creates a new async iterator which will iterate over the models.AnalyticsInstanceSummary objects
|
|
933
970
|
* contained in responses from the listAnalyticsInstances operation. This iterator will fetch more data from the
|
|
934
971
|
* server as needed.
|
|
@@ -939,6 +976,7 @@ class AnalyticsClient {
|
|
|
939
976
|
return oci_common_1.paginateRecords(request, req => this.listAnalyticsInstances(req));
|
|
940
977
|
}
|
|
941
978
|
/**
|
|
979
|
+
* NOTE: This function is deprecated in favor of listAnalyticsInstancesResponseIterator function.
|
|
942
980
|
* Creates a new async iterator which will iterate over the responses received from the listAnalyticsInstances operation. This iterator
|
|
943
981
|
* will fetch more data from the server as needed.
|
|
944
982
|
*
|
|
@@ -947,13 +985,33 @@ class AnalyticsClient {
|
|
|
947
985
|
listAllAnalyticsInstancesResponses(request) {
|
|
948
986
|
return oci_common_1.paginateResponses(request, req => this.listAnalyticsInstances(req));
|
|
949
987
|
}
|
|
988
|
+
/**
|
|
989
|
+
* Creates a new async iterator which will iterate over the models.AnalyticsInstanceSummary objects
|
|
990
|
+
* contained in responses from the listAnalyticsInstances operation. This iterator will fetch more data from the
|
|
991
|
+
* server as needed.
|
|
992
|
+
*
|
|
993
|
+
* @param request a request which can be sent to the service operation
|
|
994
|
+
*/
|
|
995
|
+
listAnalyticsInstancesRecordIterator(request) {
|
|
996
|
+
return oci_common_1.paginateRecords(request, req => this.listAnalyticsInstances(req));
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* Creates a new async iterator which will iterate over the responses received from the listAnalyticsInstances operation. This iterator
|
|
1000
|
+
* will fetch more data from the server as needed.
|
|
1001
|
+
*
|
|
1002
|
+
* @param request a request which can be sent to the service operation
|
|
1003
|
+
*/
|
|
1004
|
+
listAnalyticsInstancesResponseIterator(request) {
|
|
1005
|
+
return oci_common_1.paginateResponses(request, req => this.listAnalyticsInstances(req));
|
|
1006
|
+
}
|
|
950
1007
|
/**
|
|
951
1008
|
* Get the errors of a work request.
|
|
952
1009
|
*
|
|
1010
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
953
1011
|
* @param ListWorkRequestErrorsRequest
|
|
954
1012
|
* @return ListWorkRequestErrorsResponse
|
|
955
1013
|
* @throws OciError when an error occurs
|
|
956
|
-
* @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.
|
|
957
1015
|
*/
|
|
958
1016
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
959
1017
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -970,7 +1028,8 @@ class AnalyticsClient {
|
|
|
970
1028
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
971
1029
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
972
1030
|
};
|
|
973
|
-
const
|
|
1031
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1032
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
974
1033
|
if (this.logger)
|
|
975
1034
|
retrier.logger = this.logger;
|
|
976
1035
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1011,6 +1070,7 @@ class AnalyticsClient {
|
|
|
1011
1070
|
});
|
|
1012
1071
|
}
|
|
1013
1072
|
/**
|
|
1073
|
+
* NOTE: This function is deprecated in favor of listWorkRequestErrorsRecordIterator function.
|
|
1014
1074
|
* Creates a new async iterator which will iterate over the models.WorkRequestError objects
|
|
1015
1075
|
* contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
|
|
1016
1076
|
* server as needed.
|
|
@@ -1021,6 +1081,7 @@ class AnalyticsClient {
|
|
|
1021
1081
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
|
|
1022
1082
|
}
|
|
1023
1083
|
/**
|
|
1084
|
+
* NOTE: This function is deprecated in favor of listWorkRequestErrorsResponseIterator function.
|
|
1024
1085
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
|
|
1025
1086
|
* will fetch more data from the server as needed.
|
|
1026
1087
|
*
|
|
@@ -1029,13 +1090,33 @@ class AnalyticsClient {
|
|
|
1029
1090
|
listAllWorkRequestErrorsResponses(request) {
|
|
1030
1091
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
|
|
1031
1092
|
}
|
|
1093
|
+
/**
|
|
1094
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestError objects
|
|
1095
|
+
* contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
|
|
1096
|
+
* server as needed.
|
|
1097
|
+
*
|
|
1098
|
+
* @param request a request which can be sent to the service operation
|
|
1099
|
+
*/
|
|
1100
|
+
listWorkRequestErrorsRecordIterator(request) {
|
|
1101
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
|
|
1102
|
+
}
|
|
1103
|
+
/**
|
|
1104
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
|
|
1105
|
+
* will fetch more data from the server as needed.
|
|
1106
|
+
*
|
|
1107
|
+
* @param request a request which can be sent to the service operation
|
|
1108
|
+
*/
|
|
1109
|
+
listWorkRequestErrorsResponseIterator(request) {
|
|
1110
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
|
|
1111
|
+
}
|
|
1032
1112
|
/**
|
|
1033
1113
|
* Get the logs of a work request.
|
|
1034
1114
|
*
|
|
1115
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1035
1116
|
* @param ListWorkRequestLogsRequest
|
|
1036
1117
|
* @return ListWorkRequestLogsResponse
|
|
1037
1118
|
* @throws OciError when an error occurs
|
|
1038
|
-
* @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.
|
|
1039
1120
|
*/
|
|
1040
1121
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1041
1122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1052,7 +1133,8 @@ class AnalyticsClient {
|
|
|
1052
1133
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1053
1134
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1054
1135
|
};
|
|
1055
|
-
const
|
|
1136
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1137
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1056
1138
|
if (this.logger)
|
|
1057
1139
|
retrier.logger = this.logger;
|
|
1058
1140
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1093,6 +1175,7 @@ class AnalyticsClient {
|
|
|
1093
1175
|
});
|
|
1094
1176
|
}
|
|
1095
1177
|
/**
|
|
1178
|
+
* NOTE: This function is deprecated in favor of listWorkRequestLogsRecordIterator function.
|
|
1096
1179
|
* Creates a new async iterator which will iterate over the models.WorkRequestLog objects
|
|
1097
1180
|
* contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
|
|
1098
1181
|
* server as needed.
|
|
@@ -1103,6 +1186,7 @@ class AnalyticsClient {
|
|
|
1103
1186
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
|
|
1104
1187
|
}
|
|
1105
1188
|
/**
|
|
1189
|
+
* NOTE: This function is deprecated in favor of listWorkRequestLogsResponseIterator function.
|
|
1106
1190
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
|
|
1107
1191
|
* will fetch more data from the server as needed.
|
|
1108
1192
|
*
|
|
@@ -1111,13 +1195,33 @@ class AnalyticsClient {
|
|
|
1111
1195
|
listAllWorkRequestLogsResponses(request) {
|
|
1112
1196
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
|
|
1113
1197
|
}
|
|
1198
|
+
/**
|
|
1199
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestLog objects
|
|
1200
|
+
* contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
|
|
1201
|
+
* server as needed.
|
|
1202
|
+
*
|
|
1203
|
+
* @param request a request which can be sent to the service operation
|
|
1204
|
+
*/
|
|
1205
|
+
listWorkRequestLogsRecordIterator(request) {
|
|
1206
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
|
|
1210
|
+
* will fetch more data from the server as needed.
|
|
1211
|
+
*
|
|
1212
|
+
* @param request a request which can be sent to the service operation
|
|
1213
|
+
*/
|
|
1214
|
+
listWorkRequestLogsResponseIterator(request) {
|
|
1215
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
|
|
1216
|
+
}
|
|
1114
1217
|
/**
|
|
1115
1218
|
* List all work requests in a compartment.
|
|
1116
1219
|
*
|
|
1220
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1117
1221
|
* @param ListWorkRequestsRequest
|
|
1118
1222
|
* @return ListWorkRequestsResponse
|
|
1119
1223
|
* @throws OciError when an error occurs
|
|
1120
|
-
* @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.
|
|
1121
1225
|
*/
|
|
1122
1226
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1123
1227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1138,7 +1242,8 @@ class AnalyticsClient {
|
|
|
1138
1242
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1139
1243
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1140
1244
|
};
|
|
1141
|
-
const
|
|
1245
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1246
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1142
1247
|
if (this.logger)
|
|
1143
1248
|
retrier.logger = this.logger;
|
|
1144
1249
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1179,6 +1284,7 @@ class AnalyticsClient {
|
|
|
1179
1284
|
});
|
|
1180
1285
|
}
|
|
1181
1286
|
/**
|
|
1287
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsRecordIterator function.
|
|
1182
1288
|
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
1183
1289
|
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
1184
1290
|
* server as needed.
|
|
@@ -1189,6 +1295,7 @@ class AnalyticsClient {
|
|
|
1189
1295
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
1190
1296
|
}
|
|
1191
1297
|
/**
|
|
1298
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsResponseIterator function.
|
|
1192
1299
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
1193
1300
|
* will fetch more data from the server as needed.
|
|
1194
1301
|
*
|
|
@@ -1197,14 +1304,34 @@ class AnalyticsClient {
|
|
|
1197
1304
|
listAllWorkRequestsResponses(request) {
|
|
1198
1305
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
1199
1306
|
}
|
|
1307
|
+
/**
|
|
1308
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
1309
|
+
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
1310
|
+
* server as needed.
|
|
1311
|
+
*
|
|
1312
|
+
* @param request a request which can be sent to the service operation
|
|
1313
|
+
*/
|
|
1314
|
+
listWorkRequestsRecordIterator(request) {
|
|
1315
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
1316
|
+
}
|
|
1317
|
+
/**
|
|
1318
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
1319
|
+
* will fetch more data from the server as needed.
|
|
1320
|
+
*
|
|
1321
|
+
* @param request a request which can be sent to the service operation
|
|
1322
|
+
*/
|
|
1323
|
+
listWorkRequestsResponseIterator(request) {
|
|
1324
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
1325
|
+
}
|
|
1200
1326
|
/**
|
|
1201
1327
|
* Scale an Analytics instance up or down. The operation is long-running
|
|
1202
1328
|
* and creates a new WorkRequest.
|
|
1203
1329
|
*
|
|
1330
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1204
1331
|
* @param ScaleAnalyticsInstanceRequest
|
|
1205
1332
|
* @return ScaleAnalyticsInstanceResponse
|
|
1206
1333
|
* @throws OciError when an error occurs
|
|
1207
|
-
* @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.
|
|
1208
1335
|
*/
|
|
1209
1336
|
scaleAnalyticsInstance(scaleAnalyticsInstanceRequest) {
|
|
1210
1337
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1220,7 +1347,8 @@ class AnalyticsClient {
|
|
|
1220
1347
|
"opc-request-id": scaleAnalyticsInstanceRequest.opcRequestId,
|
|
1221
1348
|
"opc-retry-token": scaleAnalyticsInstanceRequest.opcRetryToken
|
|
1222
1349
|
};
|
|
1223
|
-
const
|
|
1350
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1351
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scaleAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1224
1352
|
if (this.logger)
|
|
1225
1353
|
retrier.logger = this.logger;
|
|
1226
1354
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1261,10 +1389,11 @@ class AnalyticsClient {
|
|
|
1261
1389
|
* Starts the specified Analytics instance. The operation is long-running
|
|
1262
1390
|
* and creates a new WorkRequest.
|
|
1263
1391
|
*
|
|
1392
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1264
1393
|
* @param StartAnalyticsInstanceRequest
|
|
1265
1394
|
* @return StartAnalyticsInstanceResponse
|
|
1266
1395
|
* @throws OciError when an error occurs
|
|
1267
|
-
* @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.
|
|
1268
1397
|
*/
|
|
1269
1398
|
startAnalyticsInstance(startAnalyticsInstanceRequest) {
|
|
1270
1399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1280,7 +1409,8 @@ class AnalyticsClient {
|
|
|
1280
1409
|
"opc-request-id": startAnalyticsInstanceRequest.opcRequestId,
|
|
1281
1410
|
"opc-retry-token": startAnalyticsInstanceRequest.opcRetryToken
|
|
1282
1411
|
};
|
|
1283
|
-
const
|
|
1412
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1413
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1284
1414
|
if (this.logger)
|
|
1285
1415
|
retrier.logger = this.logger;
|
|
1286
1416
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1320,10 +1450,11 @@ class AnalyticsClient {
|
|
|
1320
1450
|
* Stop the specified Analytics instance. The operation is long-running
|
|
1321
1451
|
* and creates a new WorkRequest.
|
|
1322
1452
|
*
|
|
1453
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1323
1454
|
* @param StopAnalyticsInstanceRequest
|
|
1324
1455
|
* @return StopAnalyticsInstanceResponse
|
|
1325
1456
|
* @throws OciError when an error occurs
|
|
1326
|
-
* @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.
|
|
1327
1458
|
*/
|
|
1328
1459
|
stopAnalyticsInstance(stopAnalyticsInstanceRequest) {
|
|
1329
1460
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1339,7 +1470,8 @@ class AnalyticsClient {
|
|
|
1339
1470
|
"opc-request-id": stopAnalyticsInstanceRequest.opcRequestId,
|
|
1340
1471
|
"opc-retry-token": stopAnalyticsInstanceRequest.opcRetryToken
|
|
1341
1472
|
};
|
|
1342
|
-
const
|
|
1473
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1474
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1343
1475
|
if (this.logger)
|
|
1344
1476
|
retrier.logger = this.logger;
|
|
1345
1477
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1379,10 +1511,11 @@ class AnalyticsClient {
|
|
|
1379
1511
|
* Updates certain fields of an Analytics instance. Fields that are not provided in the
|
|
1380
1512
|
* request will not be updated.
|
|
1381
1513
|
*
|
|
1514
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1382
1515
|
* @param UpdateAnalyticsInstanceRequest
|
|
1383
1516
|
* @return UpdateAnalyticsInstanceResponse
|
|
1384
1517
|
* @throws OciError when an error occurs
|
|
1385
|
-
* @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.
|
|
1386
1519
|
*/
|
|
1387
1520
|
updateAnalyticsInstance(updateAnalyticsInstanceRequest) {
|
|
1388
1521
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1397,7 +1530,8 @@ class AnalyticsClient {
|
|
|
1397
1530
|
"if-match": updateAnalyticsInstanceRequest.ifMatch,
|
|
1398
1531
|
"opc-request-id": updateAnalyticsInstanceRequest.opcRequestId
|
|
1399
1532
|
};
|
|
1400
|
-
const
|
|
1533
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1534
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAnalyticsInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1401
1535
|
if (this.logger)
|
|
1402
1536
|
retrier.logger = this.logger;
|
|
1403
1537
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1441,10 +1575,11 @@ class AnalyticsClient {
|
|
|
1441
1575
|
/**
|
|
1442
1576
|
* Update the Private Access Channel with the given unique identifier key in the specified Analytics Instance.
|
|
1443
1577
|
*
|
|
1578
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1444
1579
|
* @param UpdatePrivateAccessChannelRequest
|
|
1445
1580
|
* @return UpdatePrivateAccessChannelResponse
|
|
1446
1581
|
* @throws OciError when an error occurs
|
|
1447
|
-
* @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.
|
|
1448
1583
|
*/
|
|
1449
1584
|
updatePrivateAccessChannel(updatePrivateAccessChannelRequest) {
|
|
1450
1585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1461,7 +1596,8 @@ class AnalyticsClient {
|
|
|
1461
1596
|
"opc-request-id": updatePrivateAccessChannelRequest.opcRequestId,
|
|
1462
1597
|
"opc-retry-token": updatePrivateAccessChannelRequest.opcRetryToken
|
|
1463
1598
|
};
|
|
1464
|
-
const
|
|
1599
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1600
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePrivateAccessChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
1465
1601
|
if (this.logger)
|
|
1466
1602
|
retrier.logger = this.logger;
|
|
1467
1603
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1501,10 +1637,11 @@ class AnalyticsClient {
|
|
|
1501
1637
|
/**
|
|
1502
1638
|
* Allows uploading a new certificate for a vanity url, which will have to be done when the current certificate is expiring.
|
|
1503
1639
|
*
|
|
1640
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1504
1641
|
* @param UpdateVanityUrlRequest
|
|
1505
1642
|
* @return UpdateVanityUrlResponse
|
|
1506
1643
|
* @throws OciError when an error occurs
|
|
1507
|
-
* @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.
|
|
1508
1645
|
*/
|
|
1509
1646
|
updateVanityUrl(updateVanityUrlRequest) {
|
|
1510
1647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1521,7 +1658,8 @@ class AnalyticsClient {
|
|
|
1521
1658
|
"opc-request-id": updateVanityUrlRequest.opcRequestId,
|
|
1522
1659
|
"opc-retry-token": updateVanityUrlRequest.opcRetryToken
|
|
1523
1660
|
};
|
|
1524
|
-
const
|
|
1661
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1662
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateVanityUrlRequest.retryConfiguration, specRetryConfiguration);
|
|
1525
1663
|
if (this.logger)
|
|
1526
1664
|
retrier.logger = this.logger;
|
|
1527
1665
|
const request = yield oci_common_2.composeRequest({
|