oci-datasafe 2.5.2 → 2.8.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 +121 -59
- package/lib/client.js +246 -118
- package/lib/client.js.map +1 -1
- package/lib/request/activate-target-database-request.d.ts +1 -1
- package/lib/request/change-data-safe-private-endpoint-compartment-request.d.ts +1 -1
- package/lib/request/change-on-prem-connector-compartment-request.d.ts +1 -1
- package/lib/request/change-security-assessment-compartment-request.d.ts +1 -1
- package/lib/request/change-target-database-compartment-request.d.ts +1 -1
- package/lib/request/change-user-assessment-compartment-request.d.ts +1 -1
- package/lib/request/compare-security-assessment-request.d.ts +1 -1
- package/lib/request/compare-user-assessment-request.d.ts +1 -1
- package/lib/request/create-data-safe-private-endpoint-request.d.ts +1 -1
- package/lib/request/create-on-prem-connector-request.d.ts +1 -1
- package/lib/request/create-security-assessment-request.d.ts +1 -1
- package/lib/request/create-target-database-request.d.ts +1 -1
- package/lib/request/create-user-assessment-request.d.ts +1 -1
- package/lib/request/deactivate-target-database-request.d.ts +1 -1
- package/lib/request/delete-data-safe-private-endpoint-request.d.ts +1 -1
- package/lib/request/delete-on-prem-connector-request.d.ts +1 -1
- package/lib/request/delete-security-assessment-request.d.ts +1 -1
- package/lib/request/delete-target-database-request.d.ts +1 -1
- package/lib/request/delete-user-assessment-request.d.ts +1 -1
- package/lib/request/download-privilege-script-request.d.ts +1 -1
- package/lib/request/download-security-assessment-report-request.d.ts +1 -1
- package/lib/request/download-user-assessment-report-request.d.ts +1 -1
- package/lib/request/enable-data-safe-configuration-request.d.ts +1 -1
- package/lib/request/generate-on-prem-connector-configuration-request.d.ts +1 -1
- package/lib/request/generate-security-assessment-report-request.d.ts +1 -1
- package/lib/request/generate-user-assessment-report-request.d.ts +1 -1
- package/lib/request/get-data-safe-configuration-request.d.ts +1 -1
- package/lib/request/get-data-safe-private-endpoint-request.d.ts +1 -1
- package/lib/request/get-on-prem-connector-request.d.ts +1 -1
- package/lib/request/get-security-assessment-comparison-request.d.ts +1 -1
- package/lib/request/get-security-assessment-request.d.ts +1 -1
- package/lib/request/get-target-database-request.d.ts +1 -1
- package/lib/request/get-user-assessment-comparison-request.d.ts +1 -1
- package/lib/request/get-user-assessment-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-data-safe-private-endpoints-request.d.ts +1 -1
- package/lib/request/list-findings-request.d.ts +1 -1
- package/lib/request/list-grants-request.d.ts +1 -1
- package/lib/request/list-on-prem-connectors-request.d.ts +1 -1
- package/lib/request/list-security-assessments-request.d.ts +1 -1
- package/lib/request/list-target-databases-request.d.ts +1 -1
- package/lib/request/list-user-analytics-request.d.ts +1 -1
- package/lib/request/list-user-assessments-request.d.ts +1 -1
- package/lib/request/list-users-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/refresh-security-assessment-request.d.ts +1 -1
- package/lib/request/refresh-user-assessment-request.d.ts +1 -1
- package/lib/request/set-security-assessment-baseline-request.d.ts +1 -1
- package/lib/request/set-user-assessment-baseline-request.d.ts +1 -1
- package/lib/request/unset-security-assessment-baseline-request.d.ts +1 -1
- package/lib/request/unset-user-assessment-baseline-request.d.ts +1 -1
- package/lib/request/update-data-safe-private-endpoint-request.d.ts +1 -1
- package/lib/request/update-on-prem-connector-request.d.ts +1 -1
- package/lib/request/update-on-prem-connector-wallet-request.d.ts +1 -1
- package/lib/request/update-security-assessment-request.d.ts +1 -1
- package/lib/request/update-target-database-request.d.ts +1 -1
- package/lib/request/update-user-assessment-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -52,6 +52,9 @@ const oci_common_2 = require("oci-common");
|
|
|
52
52
|
var DataSafeApiKeys;
|
|
53
53
|
(function (DataSafeApiKeys) {
|
|
54
54
|
})(DataSafeApiKeys = exports.DataSafeApiKeys || (exports.DataSafeApiKeys = {}));
|
|
55
|
+
/**
|
|
56
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
57
|
+
*/
|
|
55
58
|
class DataSafeClient {
|
|
56
59
|
constructor(params, clientConfiguration) {
|
|
57
60
|
this["_endpoint"] = "";
|
|
@@ -66,6 +69,13 @@ class DataSafeClient {
|
|
|
66
69
|
? clientConfiguration.circuitBreaker.circuit
|
|
67
70
|
: null;
|
|
68
71
|
}
|
|
72
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
73
|
+
const specCircuitBreakerEnabled = true;
|
|
74
|
+
if (!this._circuitBreaker &&
|
|
75
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
76
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
77
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
78
|
+
}
|
|
69
79
|
this._httpClient =
|
|
70
80
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
71
81
|
if (params.authenticationDetailsProvider &&
|
|
@@ -138,10 +148,11 @@ class DataSafeClient {
|
|
|
138
148
|
/**
|
|
139
149
|
* Reactivates a previously deactivated Data Safe target database.
|
|
140
150
|
*
|
|
151
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
141
152
|
* @param ActivateTargetDatabaseRequest
|
|
142
153
|
* @return ActivateTargetDatabaseResponse
|
|
143
154
|
* @throws OciError when an error occurs
|
|
144
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
155
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ActivateTargetDatabase.ts.html |here} to see how to use ActivateTargetDatabase API.
|
|
145
156
|
*/
|
|
146
157
|
activateTargetDatabase(activateTargetDatabaseRequest) {
|
|
147
158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -157,7 +168,8 @@ class DataSafeClient {
|
|
|
157
168
|
"if-match": activateTargetDatabaseRequest.ifMatch,
|
|
158
169
|
"opc-request-id": activateTargetDatabaseRequest.opcRequestId
|
|
159
170
|
};
|
|
160
|
-
const
|
|
171
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
172
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateTargetDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
161
173
|
if (this.logger)
|
|
162
174
|
retrier.logger = this.logger;
|
|
163
175
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -196,10 +208,11 @@ class DataSafeClient {
|
|
|
196
208
|
}
|
|
197
209
|
/**
|
|
198
210
|
* Moves the Data Safe private endpoint and its dependent resources to the specified compartment.
|
|
211
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
199
212
|
* @param ChangeDataSafePrivateEndpointCompartmentRequest
|
|
200
213
|
* @return ChangeDataSafePrivateEndpointCompartmentResponse
|
|
201
214
|
* @throws OciError when an error occurs
|
|
202
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
215
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ChangeDataSafePrivateEndpointCompartment.ts.html |here} to see how to use ChangeDataSafePrivateEndpointCompartment API.
|
|
203
216
|
*/
|
|
204
217
|
changeDataSafePrivateEndpointCompartment(changeDataSafePrivateEndpointCompartmentRequest) {
|
|
205
218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -214,7 +227,8 @@ class DataSafeClient {
|
|
|
214
227
|
"opc-request-id": changeDataSafePrivateEndpointCompartmentRequest.opcRequestId,
|
|
215
228
|
"if-match": changeDataSafePrivateEndpointCompartmentRequest.ifMatch
|
|
216
229
|
};
|
|
217
|
-
const
|
|
230
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
231
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDataSafePrivateEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
218
232
|
if (this.logger)
|
|
219
233
|
retrier.logger = this.logger;
|
|
220
234
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -253,10 +267,11 @@ class DataSafeClient {
|
|
|
253
267
|
}
|
|
254
268
|
/**
|
|
255
269
|
* Moves the specified on-premises connector into a different compartment.
|
|
270
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
256
271
|
* @param ChangeOnPremConnectorCompartmentRequest
|
|
257
272
|
* @return ChangeOnPremConnectorCompartmentResponse
|
|
258
273
|
* @throws OciError when an error occurs
|
|
259
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
274
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ChangeOnPremConnectorCompartment.ts.html |here} to see how to use ChangeOnPremConnectorCompartment API.
|
|
260
275
|
*/
|
|
261
276
|
changeOnPremConnectorCompartment(changeOnPremConnectorCompartmentRequest) {
|
|
262
277
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -272,7 +287,8 @@ class DataSafeClient {
|
|
|
272
287
|
"if-match": changeOnPremConnectorCompartmentRequest.ifMatch,
|
|
273
288
|
"opc-retry-token": changeOnPremConnectorCompartmentRequest.opcRetryToken
|
|
274
289
|
};
|
|
275
|
-
const
|
|
290
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
291
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOnPremConnectorCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
276
292
|
if (this.logger)
|
|
277
293
|
retrier.logger = this.logger;
|
|
278
294
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -311,10 +327,11 @@ class DataSafeClient {
|
|
|
311
327
|
* <p>
|
|
312
328
|
The existing saved security assessments created due to the schedule are not moved. However, all new saves will be associated with the new compartment.
|
|
313
329
|
*
|
|
330
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
314
331
|
* @param ChangeSecurityAssessmentCompartmentRequest
|
|
315
332
|
* @return ChangeSecurityAssessmentCompartmentResponse
|
|
316
333
|
* @throws OciError when an error occurs
|
|
317
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
334
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ChangeSecurityAssessmentCompartment.ts.html |here} to see how to use ChangeSecurityAssessmentCompartment API.
|
|
318
335
|
*/
|
|
319
336
|
changeSecurityAssessmentCompartment(changeSecurityAssessmentCompartmentRequest) {
|
|
320
337
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -330,7 +347,8 @@ class DataSafeClient {
|
|
|
330
347
|
"if-match": changeSecurityAssessmentCompartmentRequest.ifMatch,
|
|
331
348
|
"opc-retry-token": changeSecurityAssessmentCompartmentRequest.opcRetryToken
|
|
332
349
|
};
|
|
333
|
-
const
|
|
350
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
351
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSecurityAssessmentCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
334
352
|
if (this.logger)
|
|
335
353
|
retrier.logger = this.logger;
|
|
336
354
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -364,10 +382,11 @@ class DataSafeClient {
|
|
|
364
382
|
}
|
|
365
383
|
/**
|
|
366
384
|
* Moves the Data Safe target database to the specified compartment.
|
|
385
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
367
386
|
* @param ChangeTargetDatabaseCompartmentRequest
|
|
368
387
|
* @return ChangeTargetDatabaseCompartmentResponse
|
|
369
388
|
* @throws OciError when an error occurs
|
|
370
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
389
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ChangeTargetDatabaseCompartment.ts.html |here} to see how to use ChangeTargetDatabaseCompartment API.
|
|
371
390
|
*/
|
|
372
391
|
changeTargetDatabaseCompartment(changeTargetDatabaseCompartmentRequest) {
|
|
373
392
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -383,7 +402,8 @@ class DataSafeClient {
|
|
|
383
402
|
"opc-request-id": changeTargetDatabaseCompartmentRequest.opcRequestId,
|
|
384
403
|
"opc-retry-token": changeTargetDatabaseCompartmentRequest.opcRetryToken
|
|
385
404
|
};
|
|
386
|
-
const
|
|
405
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
406
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeTargetDatabaseCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
387
407
|
if (this.logger)
|
|
388
408
|
retrier.logger = this.logger;
|
|
389
409
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -422,10 +442,11 @@ class DataSafeClient {
|
|
|
422
442
|
* ChangeUserAssessmentCompartment with the scheduleAssessmentId. The existing saved user assessments created per the schedule
|
|
423
443
|
* are not be moved. However, all new saves will be associated with the new compartment.
|
|
424
444
|
*
|
|
445
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
425
446
|
* @param ChangeUserAssessmentCompartmentRequest
|
|
426
447
|
* @return ChangeUserAssessmentCompartmentResponse
|
|
427
448
|
* @throws OciError when an error occurs
|
|
428
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
449
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ChangeUserAssessmentCompartment.ts.html |here} to see how to use ChangeUserAssessmentCompartment API.
|
|
429
450
|
*/
|
|
430
451
|
changeUserAssessmentCompartment(changeUserAssessmentCompartmentRequest) {
|
|
431
452
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -441,7 +462,8 @@ class DataSafeClient {
|
|
|
441
462
|
"opc-retry-token": changeUserAssessmentCompartmentRequest.opcRetryToken,
|
|
442
463
|
"opc-request-id": changeUserAssessmentCompartmentRequest.opcRequestId
|
|
443
464
|
};
|
|
444
|
-
const
|
|
465
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
466
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeUserAssessmentCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
445
467
|
if (this.logger)
|
|
446
468
|
retrier.logger = this.logger;
|
|
447
469
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -477,10 +499,11 @@ class DataSafeClient {
|
|
|
477
499
|
* Compares two security assessments. For this comparison, a security assessment can be a saved assessment, a latest assessment, or a baseline assessment.
|
|
478
500
|
* For example, you can compare saved assessment or a latest assessment against a baseline.
|
|
479
501
|
*
|
|
502
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
480
503
|
* @param CompareSecurityAssessmentRequest
|
|
481
504
|
* @return CompareSecurityAssessmentResponse
|
|
482
505
|
* @throws OciError when an error occurs
|
|
483
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
506
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/CompareSecurityAssessment.ts.html |here} to see how to use CompareSecurityAssessment API.
|
|
484
507
|
*/
|
|
485
508
|
compareSecurityAssessment(compareSecurityAssessmentRequest) {
|
|
486
509
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -496,7 +519,8 @@ class DataSafeClient {
|
|
|
496
519
|
"opc-request-id": compareSecurityAssessmentRequest.opcRequestId,
|
|
497
520
|
"if-match": compareSecurityAssessmentRequest.ifMatch
|
|
498
521
|
};
|
|
499
|
-
const
|
|
522
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
523
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, compareSecurityAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
500
524
|
if (this.logger)
|
|
501
525
|
retrier.logger = this.logger;
|
|
502
526
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -537,10 +561,11 @@ class DataSafeClient {
|
|
|
537
561
|
* Compares two user assessments. For this comparison, a user assessment can be a saved, a latest assessment, or a baseline.
|
|
538
562
|
* As an example, it can be used to compare a user assessment saved or a latest assessment with a baseline.
|
|
539
563
|
*
|
|
564
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
540
565
|
* @param CompareUserAssessmentRequest
|
|
541
566
|
* @return CompareUserAssessmentResponse
|
|
542
567
|
* @throws OciError when an error occurs
|
|
543
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
568
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/CompareUserAssessment.ts.html |here} to see how to use CompareUserAssessment API.
|
|
544
569
|
*/
|
|
545
570
|
compareUserAssessment(compareUserAssessmentRequest) {
|
|
546
571
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -556,7 +581,8 @@ class DataSafeClient {
|
|
|
556
581
|
"opc-request-id": compareUserAssessmentRequest.opcRequestId,
|
|
557
582
|
"if-match": compareUserAssessmentRequest.ifMatch
|
|
558
583
|
};
|
|
559
|
-
const
|
|
584
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
585
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, compareUserAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
560
586
|
if (this.logger)
|
|
561
587
|
retrier.logger = this.logger;
|
|
562
588
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -596,10 +622,11 @@ class DataSafeClient {
|
|
|
596
622
|
/**
|
|
597
623
|
* Creates a new Data Safe private endpoint.
|
|
598
624
|
*
|
|
625
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
599
626
|
* @param CreateDataSafePrivateEndpointRequest
|
|
600
627
|
* @return CreateDataSafePrivateEndpointResponse
|
|
601
628
|
* @throws OciError when an error occurs
|
|
602
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
629
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/CreateDataSafePrivateEndpoint.ts.html |here} to see how to use CreateDataSafePrivateEndpoint API.
|
|
603
630
|
*/
|
|
604
631
|
createDataSafePrivateEndpoint(createDataSafePrivateEndpointRequest) {
|
|
605
632
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -612,7 +639,8 @@ class DataSafeClient {
|
|
|
612
639
|
"opc-retry-token": createDataSafePrivateEndpointRequest.opcRetryToken,
|
|
613
640
|
"opc-request-id": createDataSafePrivateEndpointRequest.opcRequestId
|
|
614
641
|
};
|
|
615
|
-
const
|
|
642
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
643
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDataSafePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
616
644
|
if (this.logger)
|
|
617
645
|
retrier.logger = this.logger;
|
|
618
646
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -666,10 +694,11 @@ class DataSafeClient {
|
|
|
666
694
|
/**
|
|
667
695
|
* Creates a new on-premises connector.
|
|
668
696
|
*
|
|
697
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
669
698
|
* @param CreateOnPremConnectorRequest
|
|
670
699
|
* @return CreateOnPremConnectorResponse
|
|
671
700
|
* @throws OciError when an error occurs
|
|
672
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
701
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/CreateOnPremConnector.ts.html |here} to see how to use CreateOnPremConnector API.
|
|
673
702
|
*/
|
|
674
703
|
createOnPremConnector(createOnPremConnectorRequest) {
|
|
675
704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -682,7 +711,8 @@ class DataSafeClient {
|
|
|
682
711
|
"opc-retry-token": createOnPremConnectorRequest.opcRetryToken,
|
|
683
712
|
"opc-request-id": createOnPremConnectorRequest.opcRequestId
|
|
684
713
|
};
|
|
685
|
-
const
|
|
714
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
715
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOnPremConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
686
716
|
if (this.logger)
|
|
687
717
|
retrier.logger = this.logger;
|
|
688
718
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -738,10 +768,11 @@ class DataSafeClient {
|
|
|
738
768
|
* it will save the latest assessments in the specified compartment. If a schedule is passed, it will persist the latest assessments,
|
|
739
769
|
* at the defined date and time, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
740
770
|
*
|
|
771
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
741
772
|
* @param CreateSecurityAssessmentRequest
|
|
742
773
|
* @return CreateSecurityAssessmentResponse
|
|
743
774
|
* @throws OciError when an error occurs
|
|
744
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
775
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/CreateSecurityAssessment.ts.html |here} to see how to use CreateSecurityAssessment API.
|
|
745
776
|
*/
|
|
746
777
|
createSecurityAssessment(createSecurityAssessmentRequest) {
|
|
747
778
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -754,7 +785,8 @@ class DataSafeClient {
|
|
|
754
785
|
"opc-retry-token": createSecurityAssessmentRequest.opcRetryToken,
|
|
755
786
|
"opc-request-id": createSecurityAssessmentRequest.opcRequestId
|
|
756
787
|
};
|
|
757
|
-
const
|
|
788
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
789
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSecurityAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
758
790
|
if (this.logger)
|
|
759
791
|
retrier.logger = this.logger;
|
|
760
792
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -808,10 +840,11 @@ class DataSafeClient {
|
|
|
808
840
|
/**
|
|
809
841
|
* Registers the specified database with Data Safe and creates a Data Safe target database in the Data Safe Console.
|
|
810
842
|
*
|
|
843
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
811
844
|
* @param CreateTargetDatabaseRequest
|
|
812
845
|
* @return CreateTargetDatabaseResponse
|
|
813
846
|
* @throws OciError when an error occurs
|
|
814
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
847
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/CreateTargetDatabase.ts.html |here} to see how to use CreateTargetDatabase API.
|
|
815
848
|
*/
|
|
816
849
|
createTargetDatabase(createTargetDatabaseRequest) {
|
|
817
850
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -824,7 +857,8 @@ class DataSafeClient {
|
|
|
824
857
|
"opc-retry-token": createTargetDatabaseRequest.opcRetryToken,
|
|
825
858
|
"opc-request-id": createTargetDatabaseRequest.opcRequestId
|
|
826
859
|
};
|
|
827
|
-
const
|
|
860
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
861
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTargetDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
828
862
|
if (this.logger)
|
|
829
863
|
retrier.logger = this.logger;
|
|
830
864
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -880,10 +914,11 @@ class DataSafeClient {
|
|
|
880
914
|
* specified compartment. If a scheduled is passed in, this operation persists the latest assessments that exist at the defined
|
|
881
915
|
* date and time, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
882
916
|
*
|
|
917
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
883
918
|
* @param CreateUserAssessmentRequest
|
|
884
919
|
* @return CreateUserAssessmentResponse
|
|
885
920
|
* @throws OciError when an error occurs
|
|
886
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
921
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/CreateUserAssessment.ts.html |here} to see how to use CreateUserAssessment API.
|
|
887
922
|
*/
|
|
888
923
|
createUserAssessment(createUserAssessmentRequest) {
|
|
889
924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -896,7 +931,8 @@ class DataSafeClient {
|
|
|
896
931
|
"opc-retry-token": createUserAssessmentRequest.opcRetryToken,
|
|
897
932
|
"opc-request-id": createUserAssessmentRequest.opcRequestId
|
|
898
933
|
};
|
|
899
|
-
const
|
|
934
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
935
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createUserAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
900
936
|
if (this.logger)
|
|
901
937
|
retrier.logger = this.logger;
|
|
902
938
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -950,10 +986,11 @@ class DataSafeClient {
|
|
|
950
986
|
/**
|
|
951
987
|
* Deactivates a target database in Data Safe.
|
|
952
988
|
*
|
|
989
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
953
990
|
* @param DeactivateTargetDatabaseRequest
|
|
954
991
|
* @return DeactivateTargetDatabaseResponse
|
|
955
992
|
* @throws OciError when an error occurs
|
|
956
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
993
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/DeactivateTargetDatabase.ts.html |here} to see how to use DeactivateTargetDatabase API.
|
|
957
994
|
*/
|
|
958
995
|
deactivateTargetDatabase(deactivateTargetDatabaseRequest) {
|
|
959
996
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -969,7 +1006,8 @@ class DataSafeClient {
|
|
|
969
1006
|
"if-match": deactivateTargetDatabaseRequest.ifMatch,
|
|
970
1007
|
"opc-request-id": deactivateTargetDatabaseRequest.opcRequestId
|
|
971
1008
|
};
|
|
972
|
-
const
|
|
1009
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1010
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateTargetDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
973
1011
|
if (this.logger)
|
|
974
1012
|
retrier.logger = this.logger;
|
|
975
1013
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1007,10 +1045,11 @@ class DataSafeClient {
|
|
|
1007
1045
|
}
|
|
1008
1046
|
/**
|
|
1009
1047
|
* Deletes the specified Data Safe private endpoint.
|
|
1048
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1010
1049
|
* @param DeleteDataSafePrivateEndpointRequest
|
|
1011
1050
|
* @return DeleteDataSafePrivateEndpointResponse
|
|
1012
1051
|
* @throws OciError when an error occurs
|
|
1013
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1052
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/DeleteDataSafePrivateEndpoint.ts.html |here} to see how to use DeleteDataSafePrivateEndpoint API.
|
|
1014
1053
|
*/
|
|
1015
1054
|
deleteDataSafePrivateEndpoint(deleteDataSafePrivateEndpointRequest) {
|
|
1016
1055
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1025,7 +1064,8 @@ class DataSafeClient {
|
|
|
1025
1064
|
"if-match": deleteDataSafePrivateEndpointRequest.ifMatch,
|
|
1026
1065
|
"opc-request-id": deleteDataSafePrivateEndpointRequest.opcRequestId
|
|
1027
1066
|
};
|
|
1028
|
-
const
|
|
1067
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1068
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDataSafePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1029
1069
|
if (this.logger)
|
|
1030
1070
|
retrier.logger = this.logger;
|
|
1031
1071
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1063,10 +1103,11 @@ class DataSafeClient {
|
|
|
1063
1103
|
}
|
|
1064
1104
|
/**
|
|
1065
1105
|
* Deletes the specified on-premises connector.
|
|
1106
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1066
1107
|
* @param DeleteOnPremConnectorRequest
|
|
1067
1108
|
* @return DeleteOnPremConnectorResponse
|
|
1068
1109
|
* @throws OciError when an error occurs
|
|
1069
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1110
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/DeleteOnPremConnector.ts.html |here} to see how to use DeleteOnPremConnector API.
|
|
1070
1111
|
*/
|
|
1071
1112
|
deleteOnPremConnector(deleteOnPremConnectorRequest) {
|
|
1072
1113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1081,7 +1122,8 @@ class DataSafeClient {
|
|
|
1081
1122
|
"if-match": deleteOnPremConnectorRequest.ifMatch,
|
|
1082
1123
|
"opc-request-id": deleteOnPremConnectorRequest.opcRequestId
|
|
1083
1124
|
};
|
|
1084
|
-
const
|
|
1125
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1126
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOnPremConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
1085
1127
|
if (this.logger)
|
|
1086
1128
|
retrier.logger = this.logger;
|
|
1087
1129
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1123,10 +1165,11 @@ class DataSafeClient {
|
|
|
1123
1165
|
* That operation returns the scheduleAssessmentId. Then, call DeleteSecurityAssessment with the scheduleAssessmentId.
|
|
1124
1166
|
* If the assessment being deleted is the baseline for that compartment, then it will impact all baselines in the compartment.
|
|
1125
1167
|
*
|
|
1168
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1126
1169
|
* @param DeleteSecurityAssessmentRequest
|
|
1127
1170
|
* @return DeleteSecurityAssessmentResponse
|
|
1128
1171
|
* @throws OciError when an error occurs
|
|
1129
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1172
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/DeleteSecurityAssessment.ts.html |here} to see how to use DeleteSecurityAssessment API.
|
|
1130
1173
|
*/
|
|
1131
1174
|
deleteSecurityAssessment(deleteSecurityAssessmentRequest) {
|
|
1132
1175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1141,7 +1184,8 @@ class DataSafeClient {
|
|
|
1141
1184
|
"opc-request-id": deleteSecurityAssessmentRequest.opcRequestId,
|
|
1142
1185
|
"if-match": deleteSecurityAssessmentRequest.ifMatch
|
|
1143
1186
|
};
|
|
1144
|
-
const
|
|
1187
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1188
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSecurityAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1145
1189
|
if (this.logger)
|
|
1146
1190
|
retrier.logger = this.logger;
|
|
1147
1191
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1179,10 +1223,11 @@ class DataSafeClient {
|
|
|
1179
1223
|
}
|
|
1180
1224
|
/**
|
|
1181
1225
|
* Deregisters the specified database from Data Safe and removes the target database from the Data Safe Console.
|
|
1226
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1182
1227
|
* @param DeleteTargetDatabaseRequest
|
|
1183
1228
|
* @return DeleteTargetDatabaseResponse
|
|
1184
1229
|
* @throws OciError when an error occurs
|
|
1185
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1230
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/DeleteTargetDatabase.ts.html |here} to see how to use DeleteTargetDatabase API.
|
|
1186
1231
|
*/
|
|
1187
1232
|
deleteTargetDatabase(deleteTargetDatabaseRequest) {
|
|
1188
1233
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1197,7 +1242,8 @@ class DataSafeClient {
|
|
|
1197
1242
|
"if-match": deleteTargetDatabaseRequest.ifMatch,
|
|
1198
1243
|
"opc-request-id": deleteTargetDatabaseRequest.opcRequestId
|
|
1199
1244
|
};
|
|
1200
|
-
const
|
|
1245
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1246
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTargetDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
1201
1247
|
if (this.logger)
|
|
1202
1248
|
retrier.logger = this.logger;
|
|
1203
1249
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1239,10 +1285,11 @@ class DataSafeClient {
|
|
|
1239
1285
|
* That call returns the scheduleAssessmentId. Then call DeleteUserAssessment with the scheduleAssessmentId.
|
|
1240
1286
|
* If the assessment being deleted is the baseline for that compartment, then it will impact all baselines in the compartment.
|
|
1241
1287
|
*
|
|
1288
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1242
1289
|
* @param DeleteUserAssessmentRequest
|
|
1243
1290
|
* @return DeleteUserAssessmentResponse
|
|
1244
1291
|
* @throws OciError when an error occurs
|
|
1245
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1292
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/DeleteUserAssessment.ts.html |here} to see how to use DeleteUserAssessment API.
|
|
1246
1293
|
*/
|
|
1247
1294
|
deleteUserAssessment(deleteUserAssessmentRequest) {
|
|
1248
1295
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1257,7 +1304,8 @@ class DataSafeClient {
|
|
|
1257
1304
|
"if-match": deleteUserAssessmentRequest.ifMatch,
|
|
1258
1305
|
"opc-request-id": deleteUserAssessmentRequest.opcRequestId
|
|
1259
1306
|
};
|
|
1260
|
-
const
|
|
1307
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1308
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteUserAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1261
1309
|
if (this.logger)
|
|
1262
1310
|
retrier.logger = this.logger;
|
|
1263
1311
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1296,10 +1344,11 @@ class DataSafeClient {
|
|
|
1296
1344
|
/**
|
|
1297
1345
|
* Downloads the privilege script to grant/revoke required roles from the Data Safe account on the target database.
|
|
1298
1346
|
*
|
|
1347
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1299
1348
|
* @param DownloadPrivilegeScriptRequest
|
|
1300
1349
|
* @return DownloadPrivilegeScriptResponse
|
|
1301
1350
|
* @throws OciError when an error occurs
|
|
1302
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1351
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/DownloadPrivilegeScript.ts.html |here} to see how to use DownloadPrivilegeScript API.
|
|
1303
1352
|
*/
|
|
1304
1353
|
downloadPrivilegeScript(downloadPrivilegeScriptRequest) {
|
|
1305
1354
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1313,7 +1362,8 @@ class DataSafeClient {
|
|
|
1313
1362
|
"opc-request-id": downloadPrivilegeScriptRequest.opcRequestId,
|
|
1314
1363
|
"if-match": downloadPrivilegeScriptRequest.ifMatch
|
|
1315
1364
|
};
|
|
1316
|
-
const
|
|
1365
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1366
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, downloadPrivilegeScriptRequest.retryConfiguration, specRetryConfiguration);
|
|
1317
1367
|
if (this.logger)
|
|
1318
1368
|
retrier.logger = this.logger;
|
|
1319
1369
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1361,10 +1411,11 @@ class DataSafeClient {
|
|
|
1361
1411
|
* Downloads the report of the specified security assessment. To download the security assessment report, it needs to be generated first.
|
|
1362
1412
|
* Please use GenerateSecurityAssessmentReport to generate a downloadable report in the preferred format (PDF, XLS).
|
|
1363
1413
|
*
|
|
1414
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1364
1415
|
* @param DownloadSecurityAssessmentReportRequest
|
|
1365
1416
|
* @return DownloadSecurityAssessmentReportResponse
|
|
1366
1417
|
* @throws OciError when an error occurs
|
|
1367
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1418
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/DownloadSecurityAssessmentReport.ts.html |here} to see how to use DownloadSecurityAssessmentReport API.
|
|
1368
1419
|
*/
|
|
1369
1420
|
downloadSecurityAssessmentReport(downloadSecurityAssessmentReportRequest) {
|
|
1370
1421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1380,7 +1431,8 @@ class DataSafeClient {
|
|
|
1380
1431
|
"opc-retry-token": downloadSecurityAssessmentReportRequest.opcRetryToken,
|
|
1381
1432
|
"opc-request-id": downloadSecurityAssessmentReportRequest.opcRequestId
|
|
1382
1433
|
};
|
|
1383
|
-
const
|
|
1434
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1435
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, downloadSecurityAssessmentReportRequest.retryConfiguration, specRetryConfiguration);
|
|
1384
1436
|
if (this.logger)
|
|
1385
1437
|
retrier.logger = this.logger;
|
|
1386
1438
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1429,10 +1481,11 @@ class DataSafeClient {
|
|
|
1429
1481
|
* Downloads the report of the specified user assessment. To download the user assessment report, it needs to be generated first.
|
|
1430
1482
|
* Please use GenerateUserAssessmentReport to generate a downloadable report in the preferred format (PDF, XLS).
|
|
1431
1483
|
*
|
|
1484
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1432
1485
|
* @param DownloadUserAssessmentReportRequest
|
|
1433
1486
|
* @return DownloadUserAssessmentReportResponse
|
|
1434
1487
|
* @throws OciError when an error occurs
|
|
1435
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1488
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/DownloadUserAssessmentReport.ts.html |here} to see how to use DownloadUserAssessmentReport API.
|
|
1436
1489
|
*/
|
|
1437
1490
|
downloadUserAssessmentReport(downloadUserAssessmentReportRequest) {
|
|
1438
1491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1448,7 +1501,8 @@ class DataSafeClient {
|
|
|
1448
1501
|
"opc-retry-token": downloadUserAssessmentReportRequest.opcRetryToken,
|
|
1449
1502
|
"opc-request-id": downloadUserAssessmentReportRequest.opcRequestId
|
|
1450
1503
|
};
|
|
1451
|
-
const
|
|
1504
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1505
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, downloadUserAssessmentReportRequest.retryConfiguration, specRetryConfiguration);
|
|
1452
1506
|
if (this.logger)
|
|
1453
1507
|
retrier.logger = this.logger;
|
|
1454
1508
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1496,10 +1550,11 @@ class DataSafeClient {
|
|
|
1496
1550
|
/**
|
|
1497
1551
|
* Enables Data Safe in the tenancy and region.
|
|
1498
1552
|
*
|
|
1553
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1499
1554
|
* @param EnableDataSafeConfigurationRequest
|
|
1500
1555
|
* @return EnableDataSafeConfigurationResponse
|
|
1501
1556
|
* @throws OciError when an error occurs
|
|
1502
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1557
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/EnableDataSafeConfiguration.ts.html |here} to see how to use EnableDataSafeConfiguration API.
|
|
1503
1558
|
*/
|
|
1504
1559
|
enableDataSafeConfiguration(enableDataSafeConfigurationRequest) {
|
|
1505
1560
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1514,7 +1569,8 @@ class DataSafeClient {
|
|
|
1514
1569
|
"if-match": enableDataSafeConfigurationRequest.ifMatch,
|
|
1515
1570
|
"opc-request-id": enableDataSafeConfigurationRequest.opcRequestId
|
|
1516
1571
|
};
|
|
1517
|
-
const
|
|
1572
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1573
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableDataSafeConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1518
1574
|
if (this.logger)
|
|
1519
1575
|
retrier.logger = this.logger;
|
|
1520
1576
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1554,10 +1610,11 @@ class DataSafeClient {
|
|
|
1554
1610
|
/**
|
|
1555
1611
|
* Creates and downloads the configuration of the specified on-premises connector.
|
|
1556
1612
|
*
|
|
1613
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1557
1614
|
* @param GenerateOnPremConnectorConfigurationRequest
|
|
1558
1615
|
* @return GenerateOnPremConnectorConfigurationResponse
|
|
1559
1616
|
* @throws OciError when an error occurs
|
|
1560
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1617
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/GenerateOnPremConnectorConfiguration.ts.html |here} to see how to use GenerateOnPremConnectorConfiguration API.
|
|
1561
1618
|
*/
|
|
1562
1619
|
generateOnPremConnectorConfiguration(generateOnPremConnectorConfigurationRequest) {
|
|
1563
1620
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1573,7 +1630,8 @@ class DataSafeClient {
|
|
|
1573
1630
|
"opc-request-id": generateOnPremConnectorConfigurationRequest.opcRequestId,
|
|
1574
1631
|
"if-match": generateOnPremConnectorConfigurationRequest.ifMatch
|
|
1575
1632
|
};
|
|
1576
|
-
const
|
|
1633
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1634
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateOnPremConnectorConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1577
1635
|
if (this.logger)
|
|
1578
1636
|
retrier.logger = this.logger;
|
|
1579
1637
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1622,10 +1680,11 @@ class DataSafeClient {
|
|
|
1622
1680
|
* Generates the report of the specified security assessment. You can get the report in PDF or XLS format.
|
|
1623
1681
|
* After generating the report, use DownloadSecurityAssessmentReport to download it in the preferred format.
|
|
1624
1682
|
*
|
|
1683
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1625
1684
|
* @param GenerateSecurityAssessmentReportRequest
|
|
1626
1685
|
* @return GenerateSecurityAssessmentReportResponse
|
|
1627
1686
|
* @throws OciError when an error occurs
|
|
1628
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1687
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/GenerateSecurityAssessmentReport.ts.html |here} to see how to use GenerateSecurityAssessmentReport API.
|
|
1629
1688
|
*/
|
|
1630
1689
|
generateSecurityAssessmentReport(generateSecurityAssessmentReportRequest) {
|
|
1631
1690
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1641,7 +1700,8 @@ class DataSafeClient {
|
|
|
1641
1700
|
"opc-retry-token": generateSecurityAssessmentReportRequest.opcRetryToken,
|
|
1642
1701
|
"opc-request-id": generateSecurityAssessmentReportRequest.opcRequestId
|
|
1643
1702
|
};
|
|
1644
|
-
const
|
|
1703
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1704
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateSecurityAssessmentReportRequest.retryConfiguration, specRetryConfiguration);
|
|
1645
1705
|
if (this.logger)
|
|
1646
1706
|
retrier.logger = this.logger;
|
|
1647
1707
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1682,10 +1742,11 @@ class DataSafeClient {
|
|
|
1682
1742
|
* Generates the report of the specified user assessment. The report is available in PDF or XLS format.
|
|
1683
1743
|
* After generating the report, use DownloadUserAssessmentReport to download it in the preferred format.
|
|
1684
1744
|
*
|
|
1745
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1685
1746
|
* @param GenerateUserAssessmentReportRequest
|
|
1686
1747
|
* @return GenerateUserAssessmentReportResponse
|
|
1687
1748
|
* @throws OciError when an error occurs
|
|
1688
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1749
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/GenerateUserAssessmentReport.ts.html |here} to see how to use GenerateUserAssessmentReport API.
|
|
1689
1750
|
*/
|
|
1690
1751
|
generateUserAssessmentReport(generateUserAssessmentReportRequest) {
|
|
1691
1752
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1701,7 +1762,8 @@ class DataSafeClient {
|
|
|
1701
1762
|
"opc-retry-token": generateUserAssessmentReportRequest.opcRetryToken,
|
|
1702
1763
|
"opc-request-id": generateUserAssessmentReportRequest.opcRequestId
|
|
1703
1764
|
};
|
|
1704
|
-
const
|
|
1765
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1766
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateUserAssessmentReportRequest.retryConfiguration, specRetryConfiguration);
|
|
1705
1767
|
if (this.logger)
|
|
1706
1768
|
retrier.logger = this.logger;
|
|
1707
1769
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1740,10 +1802,11 @@ class DataSafeClient {
|
|
|
1740
1802
|
}
|
|
1741
1803
|
/**
|
|
1742
1804
|
* Gets the details of the Data Safe configuration.
|
|
1805
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1743
1806
|
* @param GetDataSafeConfigurationRequest
|
|
1744
1807
|
* @return GetDataSafeConfigurationResponse
|
|
1745
1808
|
* @throws OciError when an error occurs
|
|
1746
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1809
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/GetDataSafeConfiguration.ts.html |here} to see how to use GetDataSafeConfiguration API.
|
|
1747
1810
|
*/
|
|
1748
1811
|
getDataSafeConfiguration(getDataSafeConfigurationRequest) {
|
|
1749
1812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1757,7 +1820,8 @@ class DataSafeClient {
|
|
|
1757
1820
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1758
1821
|
"opc-request-id": getDataSafeConfigurationRequest.opcRequestId
|
|
1759
1822
|
};
|
|
1760
|
-
const
|
|
1823
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1824
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDataSafeConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1761
1825
|
if (this.logger)
|
|
1762
1826
|
retrier.logger = this.logger;
|
|
1763
1827
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1799,10 +1863,11 @@ class DataSafeClient {
|
|
|
1799
1863
|
}
|
|
1800
1864
|
/**
|
|
1801
1865
|
* Gets the details of the specified Data Safe private endpoint.
|
|
1866
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1802
1867
|
* @param GetDataSafePrivateEndpointRequest
|
|
1803
1868
|
* @return GetDataSafePrivateEndpointResponse
|
|
1804
1869
|
* @throws OciError when an error occurs
|
|
1805
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1870
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/GetDataSafePrivateEndpoint.ts.html |here} to see how to use GetDataSafePrivateEndpoint API.
|
|
1806
1871
|
*/
|
|
1807
1872
|
getDataSafePrivateEndpoint(getDataSafePrivateEndpointRequest) {
|
|
1808
1873
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1816,7 +1881,8 @@ class DataSafeClient {
|
|
|
1816
1881
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1817
1882
|
"opc-request-id": getDataSafePrivateEndpointRequest.opcRequestId
|
|
1818
1883
|
};
|
|
1819
|
-
const
|
|
1884
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1885
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDataSafePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1820
1886
|
if (this.logger)
|
|
1821
1887
|
retrier.logger = this.logger;
|
|
1822
1888
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1858,10 +1924,11 @@ class DataSafeClient {
|
|
|
1858
1924
|
}
|
|
1859
1925
|
/**
|
|
1860
1926
|
* Gets the details of the specified on-premises connector.
|
|
1927
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1861
1928
|
* @param GetOnPremConnectorRequest
|
|
1862
1929
|
* @return GetOnPremConnectorResponse
|
|
1863
1930
|
* @throws OciError when an error occurs
|
|
1864
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1931
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/GetOnPremConnector.ts.html |here} to see how to use GetOnPremConnector API.
|
|
1865
1932
|
*/
|
|
1866
1933
|
getOnPremConnector(getOnPremConnectorRequest) {
|
|
1867
1934
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1875,7 +1942,8 @@ class DataSafeClient {
|
|
|
1875
1942
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1876
1943
|
"opc-request-id": getOnPremConnectorRequest.opcRequestId
|
|
1877
1944
|
};
|
|
1878
|
-
const
|
|
1945
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1946
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOnPremConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
1879
1947
|
if (this.logger)
|
|
1880
1948
|
retrier.logger = this.logger;
|
|
1881
1949
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1917,10 +1985,11 @@ class DataSafeClient {
|
|
|
1917
1985
|
}
|
|
1918
1986
|
/**
|
|
1919
1987
|
* Gets the details of the specified security assessment.
|
|
1988
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1920
1989
|
* @param GetSecurityAssessmentRequest
|
|
1921
1990
|
* @return GetSecurityAssessmentResponse
|
|
1922
1991
|
* @throws OciError when an error occurs
|
|
1923
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1992
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/GetSecurityAssessment.ts.html |here} to see how to use GetSecurityAssessment API.
|
|
1924
1993
|
*/
|
|
1925
1994
|
getSecurityAssessment(getSecurityAssessmentRequest) {
|
|
1926
1995
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1934,7 +2003,8 @@ class DataSafeClient {
|
|
|
1934
2003
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1935
2004
|
"opc-request-id": getSecurityAssessmentRequest.opcRequestId
|
|
1936
2005
|
};
|
|
1937
|
-
const
|
|
2006
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2007
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSecurityAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1938
2008
|
if (this.logger)
|
|
1939
2009
|
retrier.logger = this.logger;
|
|
1940
2010
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1976,10 +2046,11 @@ class DataSafeClient {
|
|
|
1976
2046
|
}
|
|
1977
2047
|
/**
|
|
1978
2048
|
* Gets the details of the comparison report on the security assessments submitted for comparison.
|
|
2049
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1979
2050
|
* @param GetSecurityAssessmentComparisonRequest
|
|
1980
2051
|
* @return GetSecurityAssessmentComparisonResponse
|
|
1981
2052
|
* @throws OciError when an error occurs
|
|
1982
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2053
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/GetSecurityAssessmentComparison.ts.html |here} to see how to use GetSecurityAssessmentComparison API.
|
|
1983
2054
|
*/
|
|
1984
2055
|
getSecurityAssessmentComparison(getSecurityAssessmentComparisonRequest) {
|
|
1985
2056
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1994,7 +2065,8 @@ class DataSafeClient {
|
|
|
1994
2065
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1995
2066
|
"opc-request-id": getSecurityAssessmentComparisonRequest.opcRequestId
|
|
1996
2067
|
};
|
|
1997
|
-
const
|
|
2068
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2069
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSecurityAssessmentComparisonRequest.retryConfiguration, specRetryConfiguration);
|
|
1998
2070
|
if (this.logger)
|
|
1999
2071
|
retrier.logger = this.logger;
|
|
2000
2072
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2037,10 +2109,11 @@ class DataSafeClient {
|
|
|
2037
2109
|
/**
|
|
2038
2110
|
* Returns the details of the specified Data Safe target database.
|
|
2039
2111
|
*
|
|
2112
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2040
2113
|
* @param GetTargetDatabaseRequest
|
|
2041
2114
|
* @return GetTargetDatabaseResponse
|
|
2042
2115
|
* @throws OciError when an error occurs
|
|
2043
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2116
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/GetTargetDatabase.ts.html |here} to see how to use GetTargetDatabase API.
|
|
2044
2117
|
*/
|
|
2045
2118
|
getTargetDatabase(getTargetDatabaseRequest) {
|
|
2046
2119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2054,7 +2127,8 @@ class DataSafeClient {
|
|
|
2054
2127
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2055
2128
|
"opc-request-id": getTargetDatabaseRequest.opcRequestId
|
|
2056
2129
|
};
|
|
2057
|
-
const
|
|
2130
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2131
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTargetDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
2058
2132
|
if (this.logger)
|
|
2059
2133
|
retrier.logger = this.logger;
|
|
2060
2134
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2096,10 +2170,11 @@ class DataSafeClient {
|
|
|
2096
2170
|
}
|
|
2097
2171
|
/**
|
|
2098
2172
|
* Gets a user assessment by identifier.
|
|
2173
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2099
2174
|
* @param GetUserAssessmentRequest
|
|
2100
2175
|
* @return GetUserAssessmentResponse
|
|
2101
2176
|
* @throws OciError when an error occurs
|
|
2102
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2177
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/GetUserAssessment.ts.html |here} to see how to use GetUserAssessment API.
|
|
2103
2178
|
*/
|
|
2104
2179
|
getUserAssessment(getUserAssessmentRequest) {
|
|
2105
2180
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2113,7 +2188,8 @@ class DataSafeClient {
|
|
|
2113
2188
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2114
2189
|
"opc-request-id": getUserAssessmentRequest.opcRequestId
|
|
2115
2190
|
};
|
|
2116
|
-
const
|
|
2191
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2192
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getUserAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
2117
2193
|
if (this.logger)
|
|
2118
2194
|
retrier.logger = this.logger;
|
|
2119
2195
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2155,10 +2231,11 @@ class DataSafeClient {
|
|
|
2155
2231
|
}
|
|
2156
2232
|
/**
|
|
2157
2233
|
* Gets the details of the comparison report for the user assessments provided.
|
|
2234
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2158
2235
|
* @param GetUserAssessmentComparisonRequest
|
|
2159
2236
|
* @return GetUserAssessmentComparisonResponse
|
|
2160
2237
|
* @throws OciError when an error occurs
|
|
2161
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2238
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/GetUserAssessmentComparison.ts.html |here} to see how to use GetUserAssessmentComparison API.
|
|
2162
2239
|
*/
|
|
2163
2240
|
getUserAssessmentComparison(getUserAssessmentComparisonRequest) {
|
|
2164
2241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2173,7 +2250,8 @@ class DataSafeClient {
|
|
|
2173
2250
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2174
2251
|
"opc-request-id": getUserAssessmentComparisonRequest.opcRequestId
|
|
2175
2252
|
};
|
|
2176
|
-
const
|
|
2253
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2254
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getUserAssessmentComparisonRequest.retryConfiguration, specRetryConfiguration);
|
|
2177
2255
|
if (this.logger)
|
|
2178
2256
|
retrier.logger = this.logger;
|
|
2179
2257
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2210,10 +2288,11 @@ class DataSafeClient {
|
|
|
2210
2288
|
}
|
|
2211
2289
|
/**
|
|
2212
2290
|
* Gets the details of the specified work request.
|
|
2291
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2213
2292
|
* @param GetWorkRequestRequest
|
|
2214
2293
|
* @return GetWorkRequestResponse
|
|
2215
2294
|
* @throws OciError when an error occurs
|
|
2216
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2295
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2217
2296
|
*/
|
|
2218
2297
|
getWorkRequest(getWorkRequestRequest) {
|
|
2219
2298
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2227,7 +2306,8 @@ class DataSafeClient {
|
|
|
2227
2306
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2228
2307
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
2229
2308
|
};
|
|
2230
|
-
const
|
|
2309
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2310
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2231
2311
|
if (this.logger)
|
|
2232
2312
|
retrier.logger = this.logger;
|
|
2233
2313
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2275,10 +2355,11 @@ class DataSafeClient {
|
|
|
2275
2355
|
/**
|
|
2276
2356
|
* Gets a list of Data Safe private endpoints.
|
|
2277
2357
|
*
|
|
2358
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2278
2359
|
* @param ListDataSafePrivateEndpointsRequest
|
|
2279
2360
|
* @return ListDataSafePrivateEndpointsResponse
|
|
2280
2361
|
* @throws OciError when an error occurs
|
|
2281
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2362
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ListDataSafePrivateEndpoints.ts.html |here} to see how to use ListDataSafePrivateEndpoints API.
|
|
2282
2363
|
*/
|
|
2283
2364
|
listDataSafePrivateEndpoints(listDataSafePrivateEndpointsRequest) {
|
|
2284
2365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2301,7 +2382,8 @@ class DataSafeClient {
|
|
|
2301
2382
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2302
2383
|
"opc-request-id": listDataSafePrivateEndpointsRequest.opcRequestId
|
|
2303
2384
|
};
|
|
2304
|
-
const
|
|
2385
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2386
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDataSafePrivateEndpointsRequest.retryConfiguration, specRetryConfiguration);
|
|
2305
2387
|
if (this.logger)
|
|
2306
2388
|
retrier.logger = this.logger;
|
|
2307
2389
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2384,10 +2466,11 @@ class DataSafeClient {
|
|
|
2384
2466
|
/**
|
|
2385
2467
|
* List all the findings from all the targets in the specified assessment.
|
|
2386
2468
|
*
|
|
2469
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2387
2470
|
* @param ListFindingsRequest
|
|
2388
2471
|
* @return ListFindingsResponse
|
|
2389
2472
|
* @throws OciError when an error occurs
|
|
2390
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2473
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ListFindings.ts.html |here} to see how to use ListFindings API.
|
|
2391
2474
|
*/
|
|
2392
2475
|
listFindings(listFindingsRequest) {
|
|
2393
2476
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2408,7 +2491,8 @@ class DataSafeClient {
|
|
|
2408
2491
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2409
2492
|
"opc-request-id": listFindingsRequest.opcRequestId
|
|
2410
2493
|
};
|
|
2411
|
-
const
|
|
2494
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2495
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFindingsRequest.retryConfiguration, specRetryConfiguration);
|
|
2412
2496
|
if (this.logger)
|
|
2413
2497
|
retrier.logger = this.logger;
|
|
2414
2498
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2499,10 +2583,11 @@ class DataSafeClient {
|
|
|
2499
2583
|
* roles a privilege grant is. The userKey in this operation is a system-generated identifier. Perform the operation ListUsers
|
|
2500
2584
|
* to get the userKey for a particular user.
|
|
2501
2585
|
*
|
|
2586
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2502
2587
|
* @param ListGrantsRequest
|
|
2503
2588
|
* @return ListGrantsResponse
|
|
2504
2589
|
* @throws OciError when an error occurs
|
|
2505
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2590
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ListGrants.ts.html |here} to see how to use ListGrants API.
|
|
2506
2591
|
*/
|
|
2507
2592
|
listGrants(listGrantsRequest) {
|
|
2508
2593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2529,7 +2614,8 @@ class DataSafeClient {
|
|
|
2529
2614
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2530
2615
|
"opc-request-id": listGrantsRequest.opcRequestId
|
|
2531
2616
|
};
|
|
2532
|
-
const
|
|
2617
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2618
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGrantsRequest.retryConfiguration, specRetryConfiguration);
|
|
2533
2619
|
if (this.logger)
|
|
2534
2620
|
retrier.logger = this.logger;
|
|
2535
2621
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2617,10 +2703,11 @@ class DataSafeClient {
|
|
|
2617
2703
|
/**
|
|
2618
2704
|
* Gets a list of on-premises connectors.
|
|
2619
2705
|
*
|
|
2706
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2620
2707
|
* @param ListOnPremConnectorsRequest
|
|
2621
2708
|
* @return ListOnPremConnectorsResponse
|
|
2622
2709
|
* @throws OciError when an error occurs
|
|
2623
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2710
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ListOnPremConnectors.ts.html |here} to see how to use ListOnPremConnectors API.
|
|
2624
2711
|
*/
|
|
2625
2712
|
listOnPremConnectors(listOnPremConnectorsRequest) {
|
|
2626
2713
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2643,7 +2730,8 @@ class DataSafeClient {
|
|
|
2643
2730
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2644
2731
|
"opc-request-id": listOnPremConnectorsRequest.opcRequestId
|
|
2645
2732
|
};
|
|
2646
|
-
const
|
|
2733
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2734
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOnPremConnectorsRequest.retryConfiguration, specRetryConfiguration);
|
|
2647
2735
|
if (this.logger)
|
|
2648
2736
|
retrier.logger = this.logger;
|
|
2649
2737
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2740,10 +2828,11 @@ class DataSafeClient {
|
|
|
2740
2828
|
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
2741
2829
|
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
2742
2830
|
*
|
|
2831
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2743
2832
|
* @param ListSecurityAssessmentsRequest
|
|
2744
2833
|
* @return ListSecurityAssessmentsResponse
|
|
2745
2834
|
* @throws OciError when an error occurs
|
|
2746
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2835
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ListSecurityAssessments.ts.html |here} to see how to use ListSecurityAssessments API.
|
|
2747
2836
|
*/
|
|
2748
2837
|
listSecurityAssessments(listSecurityAssessmentsRequest) {
|
|
2749
2838
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2773,7 +2862,8 @@ class DataSafeClient {
|
|
|
2773
2862
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2774
2863
|
"opc-request-id": listSecurityAssessmentsRequest.opcRequestId
|
|
2775
2864
|
};
|
|
2776
|
-
const
|
|
2865
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2866
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSecurityAssessmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
2777
2867
|
if (this.logger)
|
|
2778
2868
|
retrier.logger = this.logger;
|
|
2779
2869
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2861,10 +2951,11 @@ class DataSafeClient {
|
|
|
2861
2951
|
/**
|
|
2862
2952
|
* Returns the list of registered target databases in Data Safe.
|
|
2863
2953
|
*
|
|
2954
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2864
2955
|
* @param ListTargetDatabasesRequest
|
|
2865
2956
|
* @return ListTargetDatabasesResponse
|
|
2866
2957
|
* @throws OciError when an error occurs
|
|
2867
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2958
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ListTargetDatabases.ts.html |here} to see how to use ListTargetDatabases API.
|
|
2868
2959
|
*/
|
|
2869
2960
|
listTargetDatabases(listTargetDatabasesRequest) {
|
|
2870
2961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2889,7 +2980,8 @@ class DataSafeClient {
|
|
|
2889
2980
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2890
2981
|
"opc-request-id": listTargetDatabasesRequest.opcRequestId
|
|
2891
2982
|
};
|
|
2892
|
-
const
|
|
2983
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2984
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTargetDatabasesRequest.retryConfiguration, specRetryConfiguration);
|
|
2893
2985
|
if (this.logger)
|
|
2894
2986
|
retrier.logger = this.logger;
|
|
2895
2987
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2991,10 +3083,11 @@ class DataSafeClient {
|
|
|
2991
3083
|
To use ListUserAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment,
|
|
2992
3084
|
* set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.
|
|
2993
3085
|
*
|
|
3086
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2994
3087
|
* @param ListUserAnalyticsRequest
|
|
2995
3088
|
* @return ListUserAnalyticsResponse
|
|
2996
3089
|
* @throws OciError when an error occurs
|
|
2997
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3090
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ListUserAnalytics.ts.html |here} to see how to use ListUserAnalytics API.
|
|
2998
3091
|
*/
|
|
2999
3092
|
listUserAnalytics(listUserAnalyticsRequest) {
|
|
3000
3093
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3027,7 +3120,8 @@ class DataSafeClient {
|
|
|
3027
3120
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3028
3121
|
"opc-request-id": listUserAnalyticsRequest.opcRequestId
|
|
3029
3122
|
};
|
|
3030
|
-
const
|
|
3123
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3124
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUserAnalyticsRequest.retryConfiguration, specRetryConfiguration);
|
|
3031
3125
|
if (this.logger)
|
|
3032
3126
|
retrier.logger = this.logger;
|
|
3033
3127
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3124,10 +3218,11 @@ class DataSafeClient {
|
|
|
3124
3218
|
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
3125
3219
|
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
3126
3220
|
*
|
|
3221
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3127
3222
|
* @param ListUserAssessmentsRequest
|
|
3128
3223
|
* @return ListUserAssessmentsResponse
|
|
3129
3224
|
* @throws OciError when an error occurs
|
|
3130
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3225
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ListUserAssessments.ts.html |here} to see how to use ListUserAssessments API.
|
|
3131
3226
|
*/
|
|
3132
3227
|
listUserAssessments(listUserAssessmentsRequest) {
|
|
3133
3228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3157,7 +3252,8 @@ class DataSafeClient {
|
|
|
3157
3252
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3158
3253
|
"opc-request-id": listUserAssessmentsRequest.opcRequestId
|
|
3159
3254
|
};
|
|
3160
|
-
const
|
|
3255
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3256
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUserAssessmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
3161
3257
|
if (this.logger)
|
|
3162
3258
|
retrier.logger = this.logger;
|
|
3163
3259
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3248,10 +3344,11 @@ class DataSafeClient {
|
|
|
3248
3344
|
* of the latest password change. It also contains the user category derived from these user details as well as privileges
|
|
3249
3345
|
* granted to each user.
|
|
3250
3346
|
*
|
|
3347
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3251
3348
|
* @param ListUsersRequest
|
|
3252
3349
|
* @return ListUsersResponse
|
|
3253
3350
|
* @throws OciError when an error occurs
|
|
3254
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3351
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ListUsers.ts.html |here} to see how to use ListUsers API.
|
|
3255
3352
|
*/
|
|
3256
3353
|
listUsers(listUsersRequest) {
|
|
3257
3354
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3284,7 +3381,8 @@ class DataSafeClient {
|
|
|
3284
3381
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3285
3382
|
"opc-request-id": listUsersRequest.opcRequestId
|
|
3286
3383
|
};
|
|
3287
|
-
const
|
|
3384
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3385
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUsersRequest.retryConfiguration, specRetryConfiguration);
|
|
3288
3386
|
if (this.logger)
|
|
3289
3387
|
retrier.logger = this.logger;
|
|
3290
3388
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3372,10 +3470,11 @@ class DataSafeClient {
|
|
|
3372
3470
|
/**
|
|
3373
3471
|
* Gets a list of errors for the specified work request.
|
|
3374
3472
|
*
|
|
3473
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3375
3474
|
* @param ListWorkRequestErrorsRequest
|
|
3376
3475
|
* @return ListWorkRequestErrorsResponse
|
|
3377
3476
|
* @throws OciError when an error occurs
|
|
3378
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3477
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3379
3478
|
*/
|
|
3380
3479
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3381
3480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3392,7 +3491,8 @@ class DataSafeClient {
|
|
|
3392
3491
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3393
3492
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
3394
3493
|
};
|
|
3395
|
-
const
|
|
3494
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3495
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3396
3496
|
if (this.logger)
|
|
3397
3497
|
retrier.logger = this.logger;
|
|
3398
3498
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3475,10 +3575,11 @@ class DataSafeClient {
|
|
|
3475
3575
|
/**
|
|
3476
3576
|
* Gets a list of log entries for the specified work request.
|
|
3477
3577
|
*
|
|
3578
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3478
3579
|
* @param ListWorkRequestLogsRequest
|
|
3479
3580
|
* @return ListWorkRequestLogsResponse
|
|
3480
3581
|
* @throws OciError when an error occurs
|
|
3481
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3582
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3482
3583
|
*/
|
|
3483
3584
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3484
3585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3495,7 +3596,8 @@ class DataSafeClient {
|
|
|
3495
3596
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3496
3597
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
3497
3598
|
};
|
|
3498
|
-
const
|
|
3599
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3600
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3499
3601
|
if (this.logger)
|
|
3500
3602
|
retrier.logger = this.logger;
|
|
3501
3603
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3578,10 +3680,11 @@ class DataSafeClient {
|
|
|
3578
3680
|
/**
|
|
3579
3681
|
* Gets a list of work requests.
|
|
3580
3682
|
*
|
|
3683
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3581
3684
|
* @param ListWorkRequestsRequest
|
|
3582
3685
|
* @return ListWorkRequestsResponse
|
|
3583
3686
|
* @throws OciError when an error occurs
|
|
3584
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3687
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3585
3688
|
*/
|
|
3586
3689
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3587
3690
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3599,7 +3702,8 @@ class DataSafeClient {
|
|
|
3599
3702
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3600
3703
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
3601
3704
|
};
|
|
3602
|
-
const
|
|
3705
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3706
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3603
3707
|
if (this.logger)
|
|
3604
3708
|
retrier.logger = this.logger;
|
|
3605
3709
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3683,10 +3787,11 @@ class DataSafeClient {
|
|
|
3683
3787
|
* Runs a security assessment, refreshes the latest assessment, and saves it for future reference.
|
|
3684
3788
|
* The assessment runs with a securityAssessmentId of type LATEST. Before you start, first call the ListSecurityAssessments operation with filter \"type = latest\" to get the security assessment id for the target's latest assessment.
|
|
3685
3789
|
*
|
|
3790
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3686
3791
|
* @param RefreshSecurityAssessmentRequest
|
|
3687
3792
|
* @return RefreshSecurityAssessmentResponse
|
|
3688
3793
|
* @throws OciError when an error occurs
|
|
3689
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3794
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/RefreshSecurityAssessment.ts.html |here} to see how to use RefreshSecurityAssessment API.
|
|
3690
3795
|
*/
|
|
3691
3796
|
refreshSecurityAssessment(refreshSecurityAssessmentRequest) {
|
|
3692
3797
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3702,7 +3807,8 @@ class DataSafeClient {
|
|
|
3702
3807
|
"opc-request-id": refreshSecurityAssessmentRequest.opcRequestId,
|
|
3703
3808
|
"if-match": refreshSecurityAssessmentRequest.ifMatch
|
|
3704
3809
|
};
|
|
3705
|
-
const
|
|
3810
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3811
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshSecurityAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
3706
3812
|
if (this.logger)
|
|
3707
3813
|
retrier.logger = this.logger;
|
|
3708
3814
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3744,10 +3850,11 @@ class DataSafeClient {
|
|
|
3744
3850
|
* Before you start, first call the ListUserAssessments operation with filter \"type = latest\" to get the user assessment ID for
|
|
3745
3851
|
* the target's latest assessment.
|
|
3746
3852
|
*
|
|
3853
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3747
3854
|
* @param RefreshUserAssessmentRequest
|
|
3748
3855
|
* @return RefreshUserAssessmentResponse
|
|
3749
3856
|
* @throws OciError when an error occurs
|
|
3750
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3857
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/RefreshUserAssessment.ts.html |here} to see how to use RefreshUserAssessment API.
|
|
3751
3858
|
*/
|
|
3752
3859
|
refreshUserAssessment(refreshUserAssessmentRequest) {
|
|
3753
3860
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3763,7 +3870,8 @@ class DataSafeClient {
|
|
|
3763
3870
|
"opc-request-id": refreshUserAssessmentRequest.opcRequestId,
|
|
3764
3871
|
"if-match": refreshUserAssessmentRequest.ifMatch
|
|
3765
3872
|
};
|
|
3766
|
-
const
|
|
3873
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3874
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshUserAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
3767
3875
|
if (this.logger)
|
|
3768
3876
|
retrier.logger = this.logger;
|
|
3769
3877
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3802,10 +3910,11 @@ class DataSafeClient {
|
|
|
3802
3910
|
}
|
|
3803
3911
|
/**
|
|
3804
3912
|
* Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'.
|
|
3913
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3805
3914
|
* @param SetSecurityAssessmentBaselineRequest
|
|
3806
3915
|
* @return SetSecurityAssessmentBaselineResponse
|
|
3807
3916
|
* @throws OciError when an error occurs
|
|
3808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3917
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/SetSecurityAssessmentBaseline.ts.html |here} to see how to use SetSecurityAssessmentBaseline API.
|
|
3809
3918
|
*/
|
|
3810
3919
|
setSecurityAssessmentBaseline(setSecurityAssessmentBaselineRequest) {
|
|
3811
3920
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3821,7 +3930,8 @@ class DataSafeClient {
|
|
|
3821
3930
|
"opc-retry-token": setSecurityAssessmentBaselineRequest.opcRetryToken,
|
|
3822
3931
|
"opc-request-id": setSecurityAssessmentBaselineRequest.opcRequestId
|
|
3823
3932
|
};
|
|
3824
|
-
const
|
|
3933
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3934
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setSecurityAssessmentBaselineRequest.retryConfiguration, specRetryConfiguration);
|
|
3825
3935
|
if (this.logger)
|
|
3826
3936
|
retrier.logger = this.logger;
|
|
3827
3937
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3860,10 +3970,11 @@ class DataSafeClient {
|
|
|
3860
3970
|
}
|
|
3861
3971
|
/**
|
|
3862
3972
|
* Sets the saved user assessment as the baseline in the compartment where the specified assessment resides. The user assessment needs to be of type 'SAVED'.
|
|
3973
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3863
3974
|
* @param SetUserAssessmentBaselineRequest
|
|
3864
3975
|
* @return SetUserAssessmentBaselineResponse
|
|
3865
3976
|
* @throws OciError when an error occurs
|
|
3866
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3977
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/SetUserAssessmentBaseline.ts.html |here} to see how to use SetUserAssessmentBaseline API.
|
|
3867
3978
|
*/
|
|
3868
3979
|
setUserAssessmentBaseline(setUserAssessmentBaselineRequest) {
|
|
3869
3980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3879,7 +3990,8 @@ class DataSafeClient {
|
|
|
3879
3990
|
"opc-retry-token": setUserAssessmentBaselineRequest.opcRetryToken,
|
|
3880
3991
|
"opc-request-id": setUserAssessmentBaselineRequest.opcRequestId
|
|
3881
3992
|
};
|
|
3882
|
-
const
|
|
3993
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3994
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setUserAssessmentBaselineRequest.retryConfiguration, specRetryConfiguration);
|
|
3883
3995
|
if (this.logger)
|
|
3884
3996
|
retrier.logger = this.logger;
|
|
3885
3997
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3920,10 +4032,11 @@ class DataSafeClient {
|
|
|
3920
4032
|
* Removes the baseline setting for the saved security assessment. The saved security assessment is no longer considered a baseline.
|
|
3921
4033
|
* Sets the if-match parameter to the value of the etag from a previous GET or POST response for that resource.
|
|
3922
4034
|
*
|
|
4035
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3923
4036
|
* @param UnsetSecurityAssessmentBaselineRequest
|
|
3924
4037
|
* @return UnsetSecurityAssessmentBaselineResponse
|
|
3925
4038
|
* @throws OciError when an error occurs
|
|
3926
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4039
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/UnsetSecurityAssessmentBaseline.ts.html |here} to see how to use UnsetSecurityAssessmentBaseline API.
|
|
3927
4040
|
*/
|
|
3928
4041
|
unsetSecurityAssessmentBaseline(unsetSecurityAssessmentBaselineRequest) {
|
|
3929
4042
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3939,7 +4052,8 @@ class DataSafeClient {
|
|
|
3939
4052
|
"opc-retry-token": unsetSecurityAssessmentBaselineRequest.opcRetryToken,
|
|
3940
4053
|
"opc-request-id": unsetSecurityAssessmentBaselineRequest.opcRequestId
|
|
3941
4054
|
};
|
|
3942
|
-
const
|
|
4055
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4056
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unsetSecurityAssessmentBaselineRequest.retryConfiguration, specRetryConfiguration);
|
|
3943
4057
|
if (this.logger)
|
|
3944
4058
|
retrier.logger = this.logger;
|
|
3945
4059
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3979,10 +4093,11 @@ class DataSafeClient {
|
|
|
3979
4093
|
* Removes the baseline setting for the saved user assessment. The saved user assessment is no longer considered a baseline.
|
|
3980
4094
|
* Sets the if-match parameter to the value of the etag from a previous GET or POST response for that resource.
|
|
3981
4095
|
*
|
|
4096
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3982
4097
|
* @param UnsetUserAssessmentBaselineRequest
|
|
3983
4098
|
* @return UnsetUserAssessmentBaselineResponse
|
|
3984
4099
|
* @throws OciError when an error occurs
|
|
3985
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4100
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/UnsetUserAssessmentBaseline.ts.html |here} to see how to use UnsetUserAssessmentBaseline API.
|
|
3986
4101
|
*/
|
|
3987
4102
|
unsetUserAssessmentBaseline(unsetUserAssessmentBaselineRequest) {
|
|
3988
4103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3998,7 +4113,8 @@ class DataSafeClient {
|
|
|
3998
4113
|
"opc-retry-token": unsetUserAssessmentBaselineRequest.opcRetryToken,
|
|
3999
4114
|
"opc-request-id": unsetUserAssessmentBaselineRequest.opcRequestId
|
|
4000
4115
|
};
|
|
4001
|
-
const
|
|
4116
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4117
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unsetUserAssessmentBaselineRequest.retryConfiguration, specRetryConfiguration);
|
|
4002
4118
|
if (this.logger)
|
|
4003
4119
|
retrier.logger = this.logger;
|
|
4004
4120
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4036,10 +4152,11 @@ class DataSafeClient {
|
|
|
4036
4152
|
}
|
|
4037
4153
|
/**
|
|
4038
4154
|
* Updates one or more attributes of the specified Data Safe private endpoint.
|
|
4155
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4039
4156
|
* @param UpdateDataSafePrivateEndpointRequest
|
|
4040
4157
|
* @return UpdateDataSafePrivateEndpointResponse
|
|
4041
4158
|
* @throws OciError when an error occurs
|
|
4042
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/UpdateDataSafePrivateEndpoint.ts.html |here} to see how to use UpdateDataSafePrivateEndpoint API.
|
|
4043
4160
|
*/
|
|
4044
4161
|
updateDataSafePrivateEndpoint(updateDataSafePrivateEndpointRequest) {
|
|
4045
4162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4054,7 +4171,8 @@ class DataSafeClient {
|
|
|
4054
4171
|
"if-match": updateDataSafePrivateEndpointRequest.ifMatch,
|
|
4055
4172
|
"opc-request-id": updateDataSafePrivateEndpointRequest.opcRequestId
|
|
4056
4173
|
};
|
|
4057
|
-
const
|
|
4174
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4175
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDataSafePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
4058
4176
|
if (this.logger)
|
|
4059
4177
|
retrier.logger = this.logger;
|
|
4060
4178
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4093,10 +4211,11 @@ class DataSafeClient {
|
|
|
4093
4211
|
}
|
|
4094
4212
|
/**
|
|
4095
4213
|
* Updates one or more attributes of the specified on-premises connector.
|
|
4214
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4096
4215
|
* @param UpdateOnPremConnectorRequest
|
|
4097
4216
|
* @return UpdateOnPremConnectorResponse
|
|
4098
4217
|
* @throws OciError when an error occurs
|
|
4099
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4218
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/UpdateOnPremConnector.ts.html |here} to see how to use UpdateOnPremConnector API.
|
|
4100
4219
|
*/
|
|
4101
4220
|
updateOnPremConnector(updateOnPremConnectorRequest) {
|
|
4102
4221
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4111,7 +4230,8 @@ class DataSafeClient {
|
|
|
4111
4230
|
"if-match": updateOnPremConnectorRequest.ifMatch,
|
|
4112
4231
|
"opc-request-id": updateOnPremConnectorRequest.opcRequestId
|
|
4113
4232
|
};
|
|
4114
|
-
const
|
|
4233
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4234
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOnPremConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
4115
4235
|
if (this.logger)
|
|
4116
4236
|
retrier.logger = this.logger;
|
|
4117
4237
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4151,10 +4271,11 @@ class DataSafeClient {
|
|
|
4151
4271
|
/**
|
|
4152
4272
|
* Updates the wallet for the specified on-premises connector to a new version.
|
|
4153
4273
|
*
|
|
4274
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4154
4275
|
* @param UpdateOnPremConnectorWalletRequest
|
|
4155
4276
|
* @return UpdateOnPremConnectorWalletResponse
|
|
4156
4277
|
* @throws OciError when an error occurs
|
|
4157
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4278
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/UpdateOnPremConnectorWallet.ts.html |here} to see how to use UpdateOnPremConnectorWallet API.
|
|
4158
4279
|
*/
|
|
4159
4280
|
updateOnPremConnectorWallet(updateOnPremConnectorWalletRequest) {
|
|
4160
4281
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4170,7 +4291,8 @@ class DataSafeClient {
|
|
|
4170
4291
|
"if-match": updateOnPremConnectorWalletRequest.ifMatch,
|
|
4171
4292
|
"opc-request-id": updateOnPremConnectorWalletRequest.opcRequestId
|
|
4172
4293
|
};
|
|
4173
|
-
const
|
|
4294
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4295
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOnPremConnectorWalletRequest.retryConfiguration, specRetryConfiguration);
|
|
4174
4296
|
if (this.logger)
|
|
4175
4297
|
retrier.logger = this.logger;
|
|
4176
4298
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4210,10 +4332,11 @@ class DataSafeClient {
|
|
|
4210
4332
|
/**
|
|
4211
4333
|
* Updates one or more attributes of the specified security assessment. This operation allows to update the security assessment displayName, description, or schedule.
|
|
4212
4334
|
*
|
|
4335
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4213
4336
|
* @param UpdateSecurityAssessmentRequest
|
|
4214
4337
|
* @return UpdateSecurityAssessmentResponse
|
|
4215
4338
|
* @throws OciError when an error occurs
|
|
4216
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4339
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/UpdateSecurityAssessment.ts.html |here} to see how to use UpdateSecurityAssessment API.
|
|
4217
4340
|
*/
|
|
4218
4341
|
updateSecurityAssessment(updateSecurityAssessmentRequest) {
|
|
4219
4342
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4228,7 +4351,8 @@ class DataSafeClient {
|
|
|
4228
4351
|
"opc-request-id": updateSecurityAssessmentRequest.opcRequestId,
|
|
4229
4352
|
"if-match": updateSecurityAssessmentRequest.ifMatch
|
|
4230
4353
|
};
|
|
4231
|
-
const
|
|
4354
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4355
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSecurityAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
4232
4356
|
if (this.logger)
|
|
4233
4357
|
retrier.logger = this.logger;
|
|
4234
4358
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4267,10 +4391,11 @@ class DataSafeClient {
|
|
|
4267
4391
|
}
|
|
4268
4392
|
/**
|
|
4269
4393
|
* Updates one or more attributes of the specified Data Safe target database.
|
|
4394
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4270
4395
|
* @param UpdateTargetDatabaseRequest
|
|
4271
4396
|
* @return UpdateTargetDatabaseResponse
|
|
4272
4397
|
* @throws OciError when an error occurs
|
|
4273
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4398
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/UpdateTargetDatabase.ts.html |here} to see how to use UpdateTargetDatabase API.
|
|
4274
4399
|
*/
|
|
4275
4400
|
updateTargetDatabase(updateTargetDatabaseRequest) {
|
|
4276
4401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4286,7 +4411,8 @@ class DataSafeClient {
|
|
|
4286
4411
|
"if-match": updateTargetDatabaseRequest.ifMatch,
|
|
4287
4412
|
"opc-retry-token": updateTargetDatabaseRequest.opcRetryToken
|
|
4288
4413
|
};
|
|
4289
|
-
const
|
|
4414
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4415
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTargetDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
4290
4416
|
if (this.logger)
|
|
4291
4417
|
retrier.logger = this.logger;
|
|
4292
4418
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4326,10 +4452,11 @@ class DataSafeClient {
|
|
|
4326
4452
|
/**
|
|
4327
4453
|
* Updates one or more attributes of the specified user assessment. This operation allows to update the user assessment displayName, description, or schedule.
|
|
4328
4454
|
*
|
|
4455
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4329
4456
|
* @param UpdateUserAssessmentRequest
|
|
4330
4457
|
* @return UpdateUserAssessmentResponse
|
|
4331
4458
|
* @throws OciError when an error occurs
|
|
4332
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4459
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/datasafe/UpdateUserAssessment.ts.html |here} to see how to use UpdateUserAssessment API.
|
|
4333
4460
|
*/
|
|
4334
4461
|
updateUserAssessment(updateUserAssessmentRequest) {
|
|
4335
4462
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4344,7 +4471,8 @@ class DataSafeClient {
|
|
|
4344
4471
|
"opc-request-id": updateUserAssessmentRequest.opcRequestId,
|
|
4345
4472
|
"if-match": updateUserAssessmentRequest.ifMatch
|
|
4346
4473
|
};
|
|
4347
|
-
const
|
|
4474
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4475
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateUserAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
4348
4476
|
if (this.logger)
|
|
4349
4477
|
retrier.logger = this.logger;
|
|
4350
4478
|
const request = yield oci_common_2.composeRequest({
|