oci-datasafe 2.4.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +6 -0
- package/lib/client.d.ts +325 -59
- package/lib/client.js +498 -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 does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
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 = false;
|
|
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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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({
|
|
@@ -2342,6 +2424,7 @@ class DataSafeClient {
|
|
|
2342
2424
|
});
|
|
2343
2425
|
}
|
|
2344
2426
|
/**
|
|
2427
|
+
* NOTE: This function is deprecated in favor of listDataSafePrivateEndpointsRecordIterator function.
|
|
2345
2428
|
* Creates a new async iterator which will iterate over the models.DataSafePrivateEndpointSummary objects
|
|
2346
2429
|
* contained in responses from the listDataSafePrivateEndpoints operation. This iterator will fetch more data from the
|
|
2347
2430
|
* server as needed.
|
|
@@ -2352,6 +2435,7 @@ class DataSafeClient {
|
|
|
2352
2435
|
return oci_common_1.paginateRecords(request, req => this.listDataSafePrivateEndpoints(req));
|
|
2353
2436
|
}
|
|
2354
2437
|
/**
|
|
2438
|
+
* NOTE: This function is deprecated in favor of listDataSafePrivateEndpointsResponseIterator function.
|
|
2355
2439
|
* Creates a new async iterator which will iterate over the responses received from the listDataSafePrivateEndpoints operation. This iterator
|
|
2356
2440
|
* will fetch more data from the server as needed.
|
|
2357
2441
|
*
|
|
@@ -2360,13 +2444,33 @@ class DataSafeClient {
|
|
|
2360
2444
|
listAllDataSafePrivateEndpointsResponses(request) {
|
|
2361
2445
|
return oci_common_1.paginateResponses(request, req => this.listDataSafePrivateEndpoints(req));
|
|
2362
2446
|
}
|
|
2447
|
+
/**
|
|
2448
|
+
* Creates a new async iterator which will iterate over the models.DataSafePrivateEndpointSummary objects
|
|
2449
|
+
* contained in responses from the listDataSafePrivateEndpoints operation. This iterator will fetch more data from the
|
|
2450
|
+
* server as needed.
|
|
2451
|
+
*
|
|
2452
|
+
* @param request a request which can be sent to the service operation
|
|
2453
|
+
*/
|
|
2454
|
+
listDataSafePrivateEndpointsRecordIterator(request) {
|
|
2455
|
+
return oci_common_1.paginateRecords(request, req => this.listDataSafePrivateEndpoints(req));
|
|
2456
|
+
}
|
|
2457
|
+
/**
|
|
2458
|
+
* Creates a new async iterator which will iterate over the responses received from the listDataSafePrivateEndpoints operation. This iterator
|
|
2459
|
+
* will fetch more data from the server as needed.
|
|
2460
|
+
*
|
|
2461
|
+
* @param request a request which can be sent to the service operation
|
|
2462
|
+
*/
|
|
2463
|
+
listDataSafePrivateEndpointsResponseIterator(request) {
|
|
2464
|
+
return oci_common_1.paginateResponses(request, req => this.listDataSafePrivateEndpoints(req));
|
|
2465
|
+
}
|
|
2363
2466
|
/**
|
|
2364
2467
|
* List all the findings from all the targets in the specified assessment.
|
|
2365
2468
|
*
|
|
2469
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2366
2470
|
* @param ListFindingsRequest
|
|
2367
2471
|
* @return ListFindingsResponse
|
|
2368
2472
|
* @throws OciError when an error occurs
|
|
2369
|
-
* @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.6.0/datasafe/ListFindings.ts.html |here} to see how to use ListFindings API.
|
|
2370
2474
|
*/
|
|
2371
2475
|
listFindings(listFindingsRequest) {
|
|
2372
2476
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2387,7 +2491,8 @@ class DataSafeClient {
|
|
|
2387
2491
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2388
2492
|
"opc-request-id": listFindingsRequest.opcRequestId
|
|
2389
2493
|
};
|
|
2390
|
-
const
|
|
2494
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2495
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFindingsRequest.retryConfiguration, specRetryConfiguration);
|
|
2391
2496
|
if (this.logger)
|
|
2392
2497
|
retrier.logger = this.logger;
|
|
2393
2498
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2433,6 +2538,7 @@ class DataSafeClient {
|
|
|
2433
2538
|
});
|
|
2434
2539
|
}
|
|
2435
2540
|
/**
|
|
2541
|
+
* NOTE: This function is deprecated in favor of listFindingsRecordIterator function.
|
|
2436
2542
|
* Creates a new async iterator which will iterate over the models.FindingSummary objects
|
|
2437
2543
|
* contained in responses from the listFindings operation. This iterator will fetch more data from the
|
|
2438
2544
|
* server as needed.
|
|
@@ -2443,6 +2549,7 @@ class DataSafeClient {
|
|
|
2443
2549
|
return oci_common_1.paginateRecords(request, req => this.listFindings(req));
|
|
2444
2550
|
}
|
|
2445
2551
|
/**
|
|
2552
|
+
* NOTE: This function is deprecated in favor of listFindingsResponseIterator function.
|
|
2446
2553
|
* Creates a new async iterator which will iterate over the responses received from the listFindings operation. This iterator
|
|
2447
2554
|
* will fetch more data from the server as needed.
|
|
2448
2555
|
*
|
|
@@ -2451,16 +2558,36 @@ class DataSafeClient {
|
|
|
2451
2558
|
listAllFindingsResponses(request) {
|
|
2452
2559
|
return oci_common_1.paginateResponses(request, req => this.listFindings(req));
|
|
2453
2560
|
}
|
|
2561
|
+
/**
|
|
2562
|
+
* Creates a new async iterator which will iterate over the models.FindingSummary objects
|
|
2563
|
+
* contained in responses from the listFindings operation. This iterator will fetch more data from the
|
|
2564
|
+
* server as needed.
|
|
2565
|
+
*
|
|
2566
|
+
* @param request a request which can be sent to the service operation
|
|
2567
|
+
*/
|
|
2568
|
+
listFindingsRecordIterator(request) {
|
|
2569
|
+
return oci_common_1.paginateRecords(request, req => this.listFindings(req));
|
|
2570
|
+
}
|
|
2571
|
+
/**
|
|
2572
|
+
* Creates a new async iterator which will iterate over the responses received from the listFindings operation. This iterator
|
|
2573
|
+
* will fetch more data from the server as needed.
|
|
2574
|
+
*
|
|
2575
|
+
* @param request a request which can be sent to the service operation
|
|
2576
|
+
*/
|
|
2577
|
+
listFindingsResponseIterator(request) {
|
|
2578
|
+
return oci_common_1.paginateResponses(request, req => this.listFindings(req));
|
|
2579
|
+
}
|
|
2454
2580
|
/**
|
|
2455
2581
|
* Gets a list of grants for a particular user in the specified user assessment. A user grant contains details such as the
|
|
2456
2582
|
* privilege name, type, category, and depth level. The depth level indicates how deep in the hierarchy of roles granted to
|
|
2457
2583
|
* roles a privilege grant is. The userKey in this operation is a system-generated identifier. Perform the operation ListUsers
|
|
2458
2584
|
* to get the userKey for a particular user.
|
|
2459
2585
|
*
|
|
2586
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2460
2587
|
* @param ListGrantsRequest
|
|
2461
2588
|
* @return ListGrantsResponse
|
|
2462
2589
|
* @throws OciError when an error occurs
|
|
2463
|
-
* @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.6.0/datasafe/ListGrants.ts.html |here} to see how to use ListGrants API.
|
|
2464
2591
|
*/
|
|
2465
2592
|
listGrants(listGrantsRequest) {
|
|
2466
2593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2487,7 +2614,8 @@ class DataSafeClient {
|
|
|
2487
2614
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2488
2615
|
"opc-request-id": listGrantsRequest.opcRequestId
|
|
2489
2616
|
};
|
|
2490
|
-
const
|
|
2617
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2618
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGrantsRequest.retryConfiguration, specRetryConfiguration);
|
|
2491
2619
|
if (this.logger)
|
|
2492
2620
|
retrier.logger = this.logger;
|
|
2493
2621
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2533,6 +2661,7 @@ class DataSafeClient {
|
|
|
2533
2661
|
});
|
|
2534
2662
|
}
|
|
2535
2663
|
/**
|
|
2664
|
+
* NOTE: This function is deprecated in favor of listGrantsRecordIterator function.
|
|
2536
2665
|
* Creates a new async iterator which will iterate over the models.GrantSummary objects
|
|
2537
2666
|
* contained in responses from the listGrants operation. This iterator will fetch more data from the
|
|
2538
2667
|
* server as needed.
|
|
@@ -2543,6 +2672,7 @@ class DataSafeClient {
|
|
|
2543
2672
|
return oci_common_1.paginateRecords(request, req => this.listGrants(req));
|
|
2544
2673
|
}
|
|
2545
2674
|
/**
|
|
2675
|
+
* NOTE: This function is deprecated in favor of listGrantsResponseIterator function.
|
|
2546
2676
|
* Creates a new async iterator which will iterate over the responses received from the listGrants operation. This iterator
|
|
2547
2677
|
* will fetch more data from the server as needed.
|
|
2548
2678
|
*
|
|
@@ -2551,13 +2681,33 @@ class DataSafeClient {
|
|
|
2551
2681
|
listAllGrantsResponses(request) {
|
|
2552
2682
|
return oci_common_1.paginateResponses(request, req => this.listGrants(req));
|
|
2553
2683
|
}
|
|
2684
|
+
/**
|
|
2685
|
+
* Creates a new async iterator which will iterate over the models.GrantSummary objects
|
|
2686
|
+
* contained in responses from the listGrants operation. This iterator will fetch more data from the
|
|
2687
|
+
* server as needed.
|
|
2688
|
+
*
|
|
2689
|
+
* @param request a request which can be sent to the service operation
|
|
2690
|
+
*/
|
|
2691
|
+
listGrantsRecordIterator(request) {
|
|
2692
|
+
return oci_common_1.paginateRecords(request, req => this.listGrants(req));
|
|
2693
|
+
}
|
|
2694
|
+
/**
|
|
2695
|
+
* Creates a new async iterator which will iterate over the responses received from the listGrants operation. This iterator
|
|
2696
|
+
* will fetch more data from the server as needed.
|
|
2697
|
+
*
|
|
2698
|
+
* @param request a request which can be sent to the service operation
|
|
2699
|
+
*/
|
|
2700
|
+
listGrantsResponseIterator(request) {
|
|
2701
|
+
return oci_common_1.paginateResponses(request, req => this.listGrants(req));
|
|
2702
|
+
}
|
|
2554
2703
|
/**
|
|
2555
2704
|
* Gets a list of on-premises connectors.
|
|
2556
2705
|
*
|
|
2706
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2557
2707
|
* @param ListOnPremConnectorsRequest
|
|
2558
2708
|
* @return ListOnPremConnectorsResponse
|
|
2559
2709
|
* @throws OciError when an error occurs
|
|
2560
|
-
* @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.6.0/datasafe/ListOnPremConnectors.ts.html |here} to see how to use ListOnPremConnectors API.
|
|
2561
2711
|
*/
|
|
2562
2712
|
listOnPremConnectors(listOnPremConnectorsRequest) {
|
|
2563
2713
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2580,7 +2730,8 @@ class DataSafeClient {
|
|
|
2580
2730
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2581
2731
|
"opc-request-id": listOnPremConnectorsRequest.opcRequestId
|
|
2582
2732
|
};
|
|
2583
|
-
const
|
|
2733
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2734
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOnPremConnectorsRequest.retryConfiguration, specRetryConfiguration);
|
|
2584
2735
|
if (this.logger)
|
|
2585
2736
|
retrier.logger = this.logger;
|
|
2586
2737
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2621,6 +2772,7 @@ class DataSafeClient {
|
|
|
2621
2772
|
});
|
|
2622
2773
|
}
|
|
2623
2774
|
/**
|
|
2775
|
+
* NOTE: This function is deprecated in favor of listOnPremConnectorsRecordIterator function.
|
|
2624
2776
|
* Creates a new async iterator which will iterate over the models.OnPremConnectorSummary objects
|
|
2625
2777
|
* contained in responses from the listOnPremConnectors operation. This iterator will fetch more data from the
|
|
2626
2778
|
* server as needed.
|
|
@@ -2631,6 +2783,7 @@ class DataSafeClient {
|
|
|
2631
2783
|
return oci_common_1.paginateRecords(request, req => this.listOnPremConnectors(req));
|
|
2632
2784
|
}
|
|
2633
2785
|
/**
|
|
2786
|
+
* NOTE: This function is deprecated in favor of listOnPremConnectorsResponseIterator function.
|
|
2634
2787
|
* Creates a new async iterator which will iterate over the responses received from the listOnPremConnectors operation. This iterator
|
|
2635
2788
|
* will fetch more data from the server as needed.
|
|
2636
2789
|
*
|
|
@@ -2639,6 +2792,25 @@ class DataSafeClient {
|
|
|
2639
2792
|
listAllOnPremConnectorsResponses(request) {
|
|
2640
2793
|
return oci_common_1.paginateResponses(request, req => this.listOnPremConnectors(req));
|
|
2641
2794
|
}
|
|
2795
|
+
/**
|
|
2796
|
+
* Creates a new async iterator which will iterate over the models.OnPremConnectorSummary objects
|
|
2797
|
+
* contained in responses from the listOnPremConnectors operation. This iterator will fetch more data from the
|
|
2798
|
+
* server as needed.
|
|
2799
|
+
*
|
|
2800
|
+
* @param request a request which can be sent to the service operation
|
|
2801
|
+
*/
|
|
2802
|
+
listOnPremConnectorsRecordIterator(request) {
|
|
2803
|
+
return oci_common_1.paginateRecords(request, req => this.listOnPremConnectors(req));
|
|
2804
|
+
}
|
|
2805
|
+
/**
|
|
2806
|
+
* Creates a new async iterator which will iterate over the responses received from the listOnPremConnectors operation. This iterator
|
|
2807
|
+
* will fetch more data from the server as needed.
|
|
2808
|
+
*
|
|
2809
|
+
* @param request a request which can be sent to the service operation
|
|
2810
|
+
*/
|
|
2811
|
+
listOnPremConnectorsResponseIterator(request) {
|
|
2812
|
+
return oci_common_1.paginateResponses(request, req => this.listOnPremConnectors(req));
|
|
2813
|
+
}
|
|
2642
2814
|
/**
|
|
2643
2815
|
* Gets a list of security assessments.
|
|
2644
2816
|
* <p>
|
|
@@ -2656,10 +2828,11 @@ class DataSafeClient {
|
|
|
2656
2828
|
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
2657
2829
|
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
2658
2830
|
*
|
|
2831
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2659
2832
|
* @param ListSecurityAssessmentsRequest
|
|
2660
2833
|
* @return ListSecurityAssessmentsResponse
|
|
2661
2834
|
* @throws OciError when an error occurs
|
|
2662
|
-
* @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.6.0/datasafe/ListSecurityAssessments.ts.html |here} to see how to use ListSecurityAssessments API.
|
|
2663
2836
|
*/
|
|
2664
2837
|
listSecurityAssessments(listSecurityAssessmentsRequest) {
|
|
2665
2838
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2689,7 +2862,8 @@ class DataSafeClient {
|
|
|
2689
2862
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2690
2863
|
"opc-request-id": listSecurityAssessmentsRequest.opcRequestId
|
|
2691
2864
|
};
|
|
2692
|
-
const
|
|
2865
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2866
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSecurityAssessmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
2693
2867
|
if (this.logger)
|
|
2694
2868
|
retrier.logger = this.logger;
|
|
2695
2869
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2735,6 +2909,7 @@ class DataSafeClient {
|
|
|
2735
2909
|
});
|
|
2736
2910
|
}
|
|
2737
2911
|
/**
|
|
2912
|
+
* NOTE: This function is deprecated in favor of listSecurityAssessmentsRecordIterator function.
|
|
2738
2913
|
* Creates a new async iterator which will iterate over the models.SecurityAssessmentSummary objects
|
|
2739
2914
|
* contained in responses from the listSecurityAssessments operation. This iterator will fetch more data from the
|
|
2740
2915
|
* server as needed.
|
|
@@ -2745,6 +2920,7 @@ class DataSafeClient {
|
|
|
2745
2920
|
return oci_common_1.paginateRecords(request, req => this.listSecurityAssessments(req));
|
|
2746
2921
|
}
|
|
2747
2922
|
/**
|
|
2923
|
+
* NOTE: This function is deprecated in favor of listSecurityAssessmentsResponseIterator function.
|
|
2748
2924
|
* Creates a new async iterator which will iterate over the responses received from the listSecurityAssessments operation. This iterator
|
|
2749
2925
|
* will fetch more data from the server as needed.
|
|
2750
2926
|
*
|
|
@@ -2753,13 +2929,33 @@ class DataSafeClient {
|
|
|
2753
2929
|
listAllSecurityAssessmentsResponses(request) {
|
|
2754
2930
|
return oci_common_1.paginateResponses(request, req => this.listSecurityAssessments(req));
|
|
2755
2931
|
}
|
|
2932
|
+
/**
|
|
2933
|
+
* Creates a new async iterator which will iterate over the models.SecurityAssessmentSummary objects
|
|
2934
|
+
* contained in responses from the listSecurityAssessments operation. This iterator will fetch more data from the
|
|
2935
|
+
* server as needed.
|
|
2936
|
+
*
|
|
2937
|
+
* @param request a request which can be sent to the service operation
|
|
2938
|
+
*/
|
|
2939
|
+
listSecurityAssessmentsRecordIterator(request) {
|
|
2940
|
+
return oci_common_1.paginateRecords(request, req => this.listSecurityAssessments(req));
|
|
2941
|
+
}
|
|
2942
|
+
/**
|
|
2943
|
+
* Creates a new async iterator which will iterate over the responses received from the listSecurityAssessments operation. This iterator
|
|
2944
|
+
* will fetch more data from the server as needed.
|
|
2945
|
+
*
|
|
2946
|
+
* @param request a request which can be sent to the service operation
|
|
2947
|
+
*/
|
|
2948
|
+
listSecurityAssessmentsResponseIterator(request) {
|
|
2949
|
+
return oci_common_1.paginateResponses(request, req => this.listSecurityAssessments(req));
|
|
2950
|
+
}
|
|
2756
2951
|
/**
|
|
2757
2952
|
* Returns the list of registered target databases in Data Safe.
|
|
2758
2953
|
*
|
|
2954
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2759
2955
|
* @param ListTargetDatabasesRequest
|
|
2760
2956
|
* @return ListTargetDatabasesResponse
|
|
2761
2957
|
* @throws OciError when an error occurs
|
|
2762
|
-
* @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.6.0/datasafe/ListTargetDatabases.ts.html |here} to see how to use ListTargetDatabases API.
|
|
2763
2959
|
*/
|
|
2764
2960
|
listTargetDatabases(listTargetDatabasesRequest) {
|
|
2765
2961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2784,7 +2980,8 @@ class DataSafeClient {
|
|
|
2784
2980
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2785
2981
|
"opc-request-id": listTargetDatabasesRequest.opcRequestId
|
|
2786
2982
|
};
|
|
2787
|
-
const
|
|
2983
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2984
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTargetDatabasesRequest.retryConfiguration, specRetryConfiguration);
|
|
2788
2985
|
if (this.logger)
|
|
2789
2986
|
retrier.logger = this.logger;
|
|
2790
2987
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2830,6 +3027,7 @@ class DataSafeClient {
|
|
|
2830
3027
|
});
|
|
2831
3028
|
}
|
|
2832
3029
|
/**
|
|
3030
|
+
* NOTE: This function is deprecated in favor of listTargetDatabasesRecordIterator function.
|
|
2833
3031
|
* Creates a new async iterator which will iterate over the models.TargetDatabaseSummary objects
|
|
2834
3032
|
* contained in responses from the listTargetDatabases operation. This iterator will fetch more data from the
|
|
2835
3033
|
* server as needed.
|
|
@@ -2840,6 +3038,7 @@ class DataSafeClient {
|
|
|
2840
3038
|
return oci_common_1.paginateRecords(request, req => this.listTargetDatabases(req));
|
|
2841
3039
|
}
|
|
2842
3040
|
/**
|
|
3041
|
+
* NOTE: This function is deprecated in favor of listTargetDatabasesResponseIterator function.
|
|
2843
3042
|
* Creates a new async iterator which will iterate over the responses received from the listTargetDatabases operation. This iterator
|
|
2844
3043
|
* will fetch more data from the server as needed.
|
|
2845
3044
|
*
|
|
@@ -2848,6 +3047,25 @@ class DataSafeClient {
|
|
|
2848
3047
|
listAllTargetDatabasesResponses(request) {
|
|
2849
3048
|
return oci_common_1.paginateResponses(request, req => this.listTargetDatabases(req));
|
|
2850
3049
|
}
|
|
3050
|
+
/**
|
|
3051
|
+
* Creates a new async iterator which will iterate over the models.TargetDatabaseSummary objects
|
|
3052
|
+
* contained in responses from the listTargetDatabases operation. This iterator will fetch more data from the
|
|
3053
|
+
* server as needed.
|
|
3054
|
+
*
|
|
3055
|
+
* @param request a request which can be sent to the service operation
|
|
3056
|
+
*/
|
|
3057
|
+
listTargetDatabasesRecordIterator(request) {
|
|
3058
|
+
return oci_common_1.paginateRecords(request, req => this.listTargetDatabases(req));
|
|
3059
|
+
}
|
|
3060
|
+
/**
|
|
3061
|
+
* Creates a new async iterator which will iterate over the responses received from the listTargetDatabases operation. This iterator
|
|
3062
|
+
* will fetch more data from the server as needed.
|
|
3063
|
+
*
|
|
3064
|
+
* @param request a request which can be sent to the service operation
|
|
3065
|
+
*/
|
|
3066
|
+
listTargetDatabasesResponseIterator(request) {
|
|
3067
|
+
return oci_common_1.paginateResponses(request, req => this.listTargetDatabases(req));
|
|
3068
|
+
}
|
|
2851
3069
|
/**
|
|
2852
3070
|
* Gets a list of aggregated user details from the specified user assessment. This provides information about the overall state
|
|
2853
3071
|
* of database user security. For example, the user details include how many users have the DBA role and how many users are in
|
|
@@ -2865,10 +3083,11 @@ class DataSafeClient {
|
|
|
2865
3083
|
To use ListUserAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment,
|
|
2866
3084
|
* set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.
|
|
2867
3085
|
*
|
|
3086
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2868
3087
|
* @param ListUserAnalyticsRequest
|
|
2869
3088
|
* @return ListUserAnalyticsResponse
|
|
2870
3089
|
* @throws OciError when an error occurs
|
|
2871
|
-
* @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.6.0/datasafe/ListUserAnalytics.ts.html |here} to see how to use ListUserAnalytics API.
|
|
2872
3091
|
*/
|
|
2873
3092
|
listUserAnalytics(listUserAnalyticsRequest) {
|
|
2874
3093
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2901,7 +3120,8 @@ class DataSafeClient {
|
|
|
2901
3120
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2902
3121
|
"opc-request-id": listUserAnalyticsRequest.opcRequestId
|
|
2903
3122
|
};
|
|
2904
|
-
const
|
|
3123
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3124
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUserAnalyticsRequest.retryConfiguration, specRetryConfiguration);
|
|
2905
3125
|
if (this.logger)
|
|
2906
3126
|
retrier.logger = this.logger;
|
|
2907
3127
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2942,6 +3162,7 @@ class DataSafeClient {
|
|
|
2942
3162
|
});
|
|
2943
3163
|
}
|
|
2944
3164
|
/**
|
|
3165
|
+
* NOTE: This function is deprecated in favor of listUserAnalyticsRecordIterator function.
|
|
2945
3166
|
* Creates a new async iterator which will iterate over the models.UserAggregation objects
|
|
2946
3167
|
* contained in responses from the listUserAnalytics operation. This iterator will fetch more data from the
|
|
2947
3168
|
* server as needed.
|
|
@@ -2952,6 +3173,7 @@ class DataSafeClient {
|
|
|
2952
3173
|
return oci_common_1.paginateRecords(request, req => this.listUserAnalytics(req));
|
|
2953
3174
|
}
|
|
2954
3175
|
/**
|
|
3176
|
+
* NOTE: This function is deprecated in favor of listUserAnalyticsResponseIterator function.
|
|
2955
3177
|
* Creates a new async iterator which will iterate over the responses received from the listUserAnalytics operation. This iterator
|
|
2956
3178
|
* will fetch more data from the server as needed.
|
|
2957
3179
|
*
|
|
@@ -2960,6 +3182,25 @@ class DataSafeClient {
|
|
|
2960
3182
|
listAllUserAnalyticsResponses(request) {
|
|
2961
3183
|
return oci_common_1.paginateResponses(request, req => this.listUserAnalytics(req));
|
|
2962
3184
|
}
|
|
3185
|
+
/**
|
|
3186
|
+
* Creates a new async iterator which will iterate over the models.UserAggregation objects
|
|
3187
|
+
* contained in responses from the listUserAnalytics operation. This iterator will fetch more data from the
|
|
3188
|
+
* server as needed.
|
|
3189
|
+
*
|
|
3190
|
+
* @param request a request which can be sent to the service operation
|
|
3191
|
+
*/
|
|
3192
|
+
listUserAnalyticsRecordIterator(request) {
|
|
3193
|
+
return oci_common_1.paginateRecords(request, req => this.listUserAnalytics(req));
|
|
3194
|
+
}
|
|
3195
|
+
/**
|
|
3196
|
+
* Creates a new async iterator which will iterate over the responses received from the listUserAnalytics operation. This iterator
|
|
3197
|
+
* will fetch more data from the server as needed.
|
|
3198
|
+
*
|
|
3199
|
+
* @param request a request which can be sent to the service operation
|
|
3200
|
+
*/
|
|
3201
|
+
listUserAnalyticsResponseIterator(request) {
|
|
3202
|
+
return oci_common_1.paginateResponses(request, req => this.listUserAnalytics(req));
|
|
3203
|
+
}
|
|
2963
3204
|
/**
|
|
2964
3205
|
* Gets a list of user assessments.
|
|
2965
3206
|
* <p>
|
|
@@ -2977,10 +3218,11 @@ class DataSafeClient {
|
|
|
2977
3218
|
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
2978
3219
|
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
2979
3220
|
*
|
|
3221
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2980
3222
|
* @param ListUserAssessmentsRequest
|
|
2981
3223
|
* @return ListUserAssessmentsResponse
|
|
2982
3224
|
* @throws OciError when an error occurs
|
|
2983
|
-
* @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.6.0/datasafe/ListUserAssessments.ts.html |here} to see how to use ListUserAssessments API.
|
|
2984
3226
|
*/
|
|
2985
3227
|
listUserAssessments(listUserAssessmentsRequest) {
|
|
2986
3228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3010,7 +3252,8 @@ class DataSafeClient {
|
|
|
3010
3252
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3011
3253
|
"opc-request-id": listUserAssessmentsRequest.opcRequestId
|
|
3012
3254
|
};
|
|
3013
|
-
const
|
|
3255
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3256
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUserAssessmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
3014
3257
|
if (this.logger)
|
|
3015
3258
|
retrier.logger = this.logger;
|
|
3016
3259
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3056,6 +3299,7 @@ class DataSafeClient {
|
|
|
3056
3299
|
});
|
|
3057
3300
|
}
|
|
3058
3301
|
/**
|
|
3302
|
+
* NOTE: This function is deprecated in favor of listUserAssessmentsRecordIterator function.
|
|
3059
3303
|
* Creates a new async iterator which will iterate over the models.UserAssessmentSummary objects
|
|
3060
3304
|
* contained in responses from the listUserAssessments operation. This iterator will fetch more data from the
|
|
3061
3305
|
* server as needed.
|
|
@@ -3066,6 +3310,7 @@ class DataSafeClient {
|
|
|
3066
3310
|
return oci_common_1.paginateRecords(request, req => this.listUserAssessments(req));
|
|
3067
3311
|
}
|
|
3068
3312
|
/**
|
|
3313
|
+
* NOTE: This function is deprecated in favor of listUserAssessmentsResponseIterator function.
|
|
3069
3314
|
* Creates a new async iterator which will iterate over the responses received from the listUserAssessments operation. This iterator
|
|
3070
3315
|
* will fetch more data from the server as needed.
|
|
3071
3316
|
*
|
|
@@ -3074,16 +3319,36 @@ class DataSafeClient {
|
|
|
3074
3319
|
listAllUserAssessmentsResponses(request) {
|
|
3075
3320
|
return oci_common_1.paginateResponses(request, req => this.listUserAssessments(req));
|
|
3076
3321
|
}
|
|
3322
|
+
/**
|
|
3323
|
+
* Creates a new async iterator which will iterate over the models.UserAssessmentSummary objects
|
|
3324
|
+
* contained in responses from the listUserAssessments operation. This iterator will fetch more data from the
|
|
3325
|
+
* server as needed.
|
|
3326
|
+
*
|
|
3327
|
+
* @param request a request which can be sent to the service operation
|
|
3328
|
+
*/
|
|
3329
|
+
listUserAssessmentsRecordIterator(request) {
|
|
3330
|
+
return oci_common_1.paginateRecords(request, req => this.listUserAssessments(req));
|
|
3331
|
+
}
|
|
3332
|
+
/**
|
|
3333
|
+
* Creates a new async iterator which will iterate over the responses received from the listUserAssessments operation. This iterator
|
|
3334
|
+
* will fetch more data from the server as needed.
|
|
3335
|
+
*
|
|
3336
|
+
* @param request a request which can be sent to the service operation
|
|
3337
|
+
*/
|
|
3338
|
+
listUserAssessmentsResponseIterator(request) {
|
|
3339
|
+
return oci_common_1.paginateResponses(request, req => this.listUserAssessments(req));
|
|
3340
|
+
}
|
|
3077
3341
|
/**
|
|
3078
3342
|
* Gets a list of users of the specified user assessment. The result contains the database user details for each user, such
|
|
3079
3343
|
* as user type, account status, last login time, user creation time, authentication type, user profile, and the date and time
|
|
3080
3344
|
* of the latest password change. It also contains the user category derived from these user details as well as privileges
|
|
3081
3345
|
* granted to each user.
|
|
3082
3346
|
*
|
|
3347
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3083
3348
|
* @param ListUsersRequest
|
|
3084
3349
|
* @return ListUsersResponse
|
|
3085
3350
|
* @throws OciError when an error occurs
|
|
3086
|
-
* @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.6.0/datasafe/ListUsers.ts.html |here} to see how to use ListUsers API.
|
|
3087
3352
|
*/
|
|
3088
3353
|
listUsers(listUsersRequest) {
|
|
3089
3354
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3116,7 +3381,8 @@ class DataSafeClient {
|
|
|
3116
3381
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3117
3382
|
"opc-request-id": listUsersRequest.opcRequestId
|
|
3118
3383
|
};
|
|
3119
|
-
const
|
|
3384
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3385
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUsersRequest.retryConfiguration, specRetryConfiguration);
|
|
3120
3386
|
if (this.logger)
|
|
3121
3387
|
retrier.logger = this.logger;
|
|
3122
3388
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3162,6 +3428,7 @@ class DataSafeClient {
|
|
|
3162
3428
|
});
|
|
3163
3429
|
}
|
|
3164
3430
|
/**
|
|
3431
|
+
* NOTE: This function is deprecated in favor of listUsersRecordIterator function.
|
|
3165
3432
|
* Creates a new async iterator which will iterate over the models.UserSummary objects
|
|
3166
3433
|
* contained in responses from the listUsers operation. This iterator will fetch more data from the
|
|
3167
3434
|
* server as needed.
|
|
@@ -3172,6 +3439,7 @@ class DataSafeClient {
|
|
|
3172
3439
|
return oci_common_1.paginateRecords(request, req => this.listUsers(req));
|
|
3173
3440
|
}
|
|
3174
3441
|
/**
|
|
3442
|
+
* NOTE: This function is deprecated in favor of listUsersResponseIterator function.
|
|
3175
3443
|
* Creates a new async iterator which will iterate over the responses received from the listUsers operation. This iterator
|
|
3176
3444
|
* will fetch more data from the server as needed.
|
|
3177
3445
|
*
|
|
@@ -3180,13 +3448,33 @@ class DataSafeClient {
|
|
|
3180
3448
|
listAllUsersResponses(request) {
|
|
3181
3449
|
return oci_common_1.paginateResponses(request, req => this.listUsers(req));
|
|
3182
3450
|
}
|
|
3451
|
+
/**
|
|
3452
|
+
* Creates a new async iterator which will iterate over the models.UserSummary objects
|
|
3453
|
+
* contained in responses from the listUsers operation. This iterator will fetch more data from the
|
|
3454
|
+
* server as needed.
|
|
3455
|
+
*
|
|
3456
|
+
* @param request a request which can be sent to the service operation
|
|
3457
|
+
*/
|
|
3458
|
+
listUsersRecordIterator(request) {
|
|
3459
|
+
return oci_common_1.paginateRecords(request, req => this.listUsers(req));
|
|
3460
|
+
}
|
|
3461
|
+
/**
|
|
3462
|
+
* Creates a new async iterator which will iterate over the responses received from the listUsers operation. This iterator
|
|
3463
|
+
* will fetch more data from the server as needed.
|
|
3464
|
+
*
|
|
3465
|
+
* @param request a request which can be sent to the service operation
|
|
3466
|
+
*/
|
|
3467
|
+
listUsersResponseIterator(request) {
|
|
3468
|
+
return oci_common_1.paginateResponses(request, req => this.listUsers(req));
|
|
3469
|
+
}
|
|
3183
3470
|
/**
|
|
3184
3471
|
* Gets a list of errors for the specified work request.
|
|
3185
3472
|
*
|
|
3473
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3186
3474
|
* @param ListWorkRequestErrorsRequest
|
|
3187
3475
|
* @return ListWorkRequestErrorsResponse
|
|
3188
3476
|
* @throws OciError when an error occurs
|
|
3189
|
-
* @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.6.0/datasafe/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3190
3478
|
*/
|
|
3191
3479
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3192
3480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3203,7 +3491,8 @@ class DataSafeClient {
|
|
|
3203
3491
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3204
3492
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
3205
3493
|
};
|
|
3206
|
-
const
|
|
3494
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3495
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3207
3496
|
if (this.logger)
|
|
3208
3497
|
retrier.logger = this.logger;
|
|
3209
3498
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3244,6 +3533,7 @@ class DataSafeClient {
|
|
|
3244
3533
|
});
|
|
3245
3534
|
}
|
|
3246
3535
|
/**
|
|
3536
|
+
* NOTE: This function is deprecated in favor of listWorkRequestErrorsRecordIterator function.
|
|
3247
3537
|
* Creates a new async iterator which will iterate over the models.WorkRequestError objects
|
|
3248
3538
|
* contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
|
|
3249
3539
|
* server as needed.
|
|
@@ -3254,6 +3544,7 @@ class DataSafeClient {
|
|
|
3254
3544
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
|
|
3255
3545
|
}
|
|
3256
3546
|
/**
|
|
3547
|
+
* NOTE: This function is deprecated in favor of listWorkRequestErrorsResponseIterator function.
|
|
3257
3548
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
|
|
3258
3549
|
* will fetch more data from the server as needed.
|
|
3259
3550
|
*
|
|
@@ -3262,13 +3553,33 @@ class DataSafeClient {
|
|
|
3262
3553
|
listAllWorkRequestErrorsResponses(request) {
|
|
3263
3554
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
|
|
3264
3555
|
}
|
|
3556
|
+
/**
|
|
3557
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestError objects
|
|
3558
|
+
* contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
|
|
3559
|
+
* server as needed.
|
|
3560
|
+
*
|
|
3561
|
+
* @param request a request which can be sent to the service operation
|
|
3562
|
+
*/
|
|
3563
|
+
listWorkRequestErrorsRecordIterator(request) {
|
|
3564
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
|
|
3565
|
+
}
|
|
3566
|
+
/**
|
|
3567
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
|
|
3568
|
+
* will fetch more data from the server as needed.
|
|
3569
|
+
*
|
|
3570
|
+
* @param request a request which can be sent to the service operation
|
|
3571
|
+
*/
|
|
3572
|
+
listWorkRequestErrorsResponseIterator(request) {
|
|
3573
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
|
|
3574
|
+
}
|
|
3265
3575
|
/**
|
|
3266
3576
|
* Gets a list of log entries for the specified work request.
|
|
3267
3577
|
*
|
|
3578
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3268
3579
|
* @param ListWorkRequestLogsRequest
|
|
3269
3580
|
* @return ListWorkRequestLogsResponse
|
|
3270
3581
|
* @throws OciError when an error occurs
|
|
3271
|
-
* @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.6.0/datasafe/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3272
3583
|
*/
|
|
3273
3584
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3274
3585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3285,7 +3596,8 @@ class DataSafeClient {
|
|
|
3285
3596
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3286
3597
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
3287
3598
|
};
|
|
3288
|
-
const
|
|
3599
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3600
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3289
3601
|
if (this.logger)
|
|
3290
3602
|
retrier.logger = this.logger;
|
|
3291
3603
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3326,6 +3638,7 @@ class DataSafeClient {
|
|
|
3326
3638
|
});
|
|
3327
3639
|
}
|
|
3328
3640
|
/**
|
|
3641
|
+
* NOTE: This function is deprecated in favor of listWorkRequestLogsRecordIterator function.
|
|
3329
3642
|
* Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects
|
|
3330
3643
|
* contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
|
|
3331
3644
|
* server as needed.
|
|
@@ -3336,6 +3649,7 @@ class DataSafeClient {
|
|
|
3336
3649
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
|
|
3337
3650
|
}
|
|
3338
3651
|
/**
|
|
3652
|
+
* NOTE: This function is deprecated in favor of listWorkRequestLogsResponseIterator function.
|
|
3339
3653
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
|
|
3340
3654
|
* will fetch more data from the server as needed.
|
|
3341
3655
|
*
|
|
@@ -3344,13 +3658,33 @@ class DataSafeClient {
|
|
|
3344
3658
|
listAllWorkRequestLogsResponses(request) {
|
|
3345
3659
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
|
|
3346
3660
|
}
|
|
3661
|
+
/**
|
|
3662
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects
|
|
3663
|
+
* contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
|
|
3664
|
+
* server as needed.
|
|
3665
|
+
*
|
|
3666
|
+
* @param request a request which can be sent to the service operation
|
|
3667
|
+
*/
|
|
3668
|
+
listWorkRequestLogsRecordIterator(request) {
|
|
3669
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
|
|
3670
|
+
}
|
|
3671
|
+
/**
|
|
3672
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
|
|
3673
|
+
* will fetch more data from the server as needed.
|
|
3674
|
+
*
|
|
3675
|
+
* @param request a request which can be sent to the service operation
|
|
3676
|
+
*/
|
|
3677
|
+
listWorkRequestLogsResponseIterator(request) {
|
|
3678
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
|
|
3679
|
+
}
|
|
3347
3680
|
/**
|
|
3348
3681
|
* Gets a list of work requests.
|
|
3349
3682
|
*
|
|
3683
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3350
3684
|
* @param ListWorkRequestsRequest
|
|
3351
3685
|
* @return ListWorkRequestsResponse
|
|
3352
3686
|
* @throws OciError when an error occurs
|
|
3353
|
-
* @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.6.0/datasafe/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3354
3688
|
*/
|
|
3355
3689
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3356
3690
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3368,7 +3702,8 @@ class DataSafeClient {
|
|
|
3368
3702
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3369
3703
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
3370
3704
|
};
|
|
3371
|
-
const
|
|
3705
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3706
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3372
3707
|
if (this.logger)
|
|
3373
3708
|
retrier.logger = this.logger;
|
|
3374
3709
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3409,6 +3744,7 @@ class DataSafeClient {
|
|
|
3409
3744
|
});
|
|
3410
3745
|
}
|
|
3411
3746
|
/**
|
|
3747
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsRecordIterator function.
|
|
3412
3748
|
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
3413
3749
|
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
3414
3750
|
* server as needed.
|
|
@@ -3419,6 +3755,7 @@ class DataSafeClient {
|
|
|
3419
3755
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
3420
3756
|
}
|
|
3421
3757
|
/**
|
|
3758
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsResponseIterator function.
|
|
3422
3759
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
3423
3760
|
* will fetch more data from the server as needed.
|
|
3424
3761
|
*
|
|
@@ -3427,14 +3764,34 @@ class DataSafeClient {
|
|
|
3427
3764
|
listAllWorkRequestsResponses(request) {
|
|
3428
3765
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
3429
3766
|
}
|
|
3767
|
+
/**
|
|
3768
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
3769
|
+
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
3770
|
+
* server as needed.
|
|
3771
|
+
*
|
|
3772
|
+
* @param request a request which can be sent to the service operation
|
|
3773
|
+
*/
|
|
3774
|
+
listWorkRequestsRecordIterator(request) {
|
|
3775
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
3776
|
+
}
|
|
3777
|
+
/**
|
|
3778
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
3779
|
+
* will fetch more data from the server as needed.
|
|
3780
|
+
*
|
|
3781
|
+
* @param request a request which can be sent to the service operation
|
|
3782
|
+
*/
|
|
3783
|
+
listWorkRequestsResponseIterator(request) {
|
|
3784
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
3785
|
+
}
|
|
3430
3786
|
/**
|
|
3431
3787
|
* Runs a security assessment, refreshes the latest assessment, and saves it for future reference.
|
|
3432
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.
|
|
3433
3789
|
*
|
|
3790
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3434
3791
|
* @param RefreshSecurityAssessmentRequest
|
|
3435
3792
|
* @return RefreshSecurityAssessmentResponse
|
|
3436
3793
|
* @throws OciError when an error occurs
|
|
3437
|
-
* @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.6.0/datasafe/RefreshSecurityAssessment.ts.html |here} to see how to use RefreshSecurityAssessment API.
|
|
3438
3795
|
*/
|
|
3439
3796
|
refreshSecurityAssessment(refreshSecurityAssessmentRequest) {
|
|
3440
3797
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3450,7 +3807,8 @@ class DataSafeClient {
|
|
|
3450
3807
|
"opc-request-id": refreshSecurityAssessmentRequest.opcRequestId,
|
|
3451
3808
|
"if-match": refreshSecurityAssessmentRequest.ifMatch
|
|
3452
3809
|
};
|
|
3453
|
-
const
|
|
3810
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3811
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshSecurityAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
3454
3812
|
if (this.logger)
|
|
3455
3813
|
retrier.logger = this.logger;
|
|
3456
3814
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3492,10 +3850,11 @@ class DataSafeClient {
|
|
|
3492
3850
|
* Before you start, first call the ListUserAssessments operation with filter \"type = latest\" to get the user assessment ID for
|
|
3493
3851
|
* the target's latest assessment.
|
|
3494
3852
|
*
|
|
3853
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3495
3854
|
* @param RefreshUserAssessmentRequest
|
|
3496
3855
|
* @return RefreshUserAssessmentResponse
|
|
3497
3856
|
* @throws OciError when an error occurs
|
|
3498
|
-
* @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.6.0/datasafe/RefreshUserAssessment.ts.html |here} to see how to use RefreshUserAssessment API.
|
|
3499
3858
|
*/
|
|
3500
3859
|
refreshUserAssessment(refreshUserAssessmentRequest) {
|
|
3501
3860
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3511,7 +3870,8 @@ class DataSafeClient {
|
|
|
3511
3870
|
"opc-request-id": refreshUserAssessmentRequest.opcRequestId,
|
|
3512
3871
|
"if-match": refreshUserAssessmentRequest.ifMatch
|
|
3513
3872
|
};
|
|
3514
|
-
const
|
|
3873
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3874
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshUserAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
3515
3875
|
if (this.logger)
|
|
3516
3876
|
retrier.logger = this.logger;
|
|
3517
3877
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3550,10 +3910,11 @@ class DataSafeClient {
|
|
|
3550
3910
|
}
|
|
3551
3911
|
/**
|
|
3552
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.
|
|
3553
3914
|
* @param SetSecurityAssessmentBaselineRequest
|
|
3554
3915
|
* @return SetSecurityAssessmentBaselineResponse
|
|
3555
3916
|
* @throws OciError when an error occurs
|
|
3556
|
-
* @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.6.0/datasafe/SetSecurityAssessmentBaseline.ts.html |here} to see how to use SetSecurityAssessmentBaseline API.
|
|
3557
3918
|
*/
|
|
3558
3919
|
setSecurityAssessmentBaseline(setSecurityAssessmentBaselineRequest) {
|
|
3559
3920
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3569,7 +3930,8 @@ class DataSafeClient {
|
|
|
3569
3930
|
"opc-retry-token": setSecurityAssessmentBaselineRequest.opcRetryToken,
|
|
3570
3931
|
"opc-request-id": setSecurityAssessmentBaselineRequest.opcRequestId
|
|
3571
3932
|
};
|
|
3572
|
-
const
|
|
3933
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3934
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setSecurityAssessmentBaselineRequest.retryConfiguration, specRetryConfiguration);
|
|
3573
3935
|
if (this.logger)
|
|
3574
3936
|
retrier.logger = this.logger;
|
|
3575
3937
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3608,10 +3970,11 @@ class DataSafeClient {
|
|
|
3608
3970
|
}
|
|
3609
3971
|
/**
|
|
3610
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.
|
|
3611
3974
|
* @param SetUserAssessmentBaselineRequest
|
|
3612
3975
|
* @return SetUserAssessmentBaselineResponse
|
|
3613
3976
|
* @throws OciError when an error occurs
|
|
3614
|
-
* @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.6.0/datasafe/SetUserAssessmentBaseline.ts.html |here} to see how to use SetUserAssessmentBaseline API.
|
|
3615
3978
|
*/
|
|
3616
3979
|
setUserAssessmentBaseline(setUserAssessmentBaselineRequest) {
|
|
3617
3980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3627,7 +3990,8 @@ class DataSafeClient {
|
|
|
3627
3990
|
"opc-retry-token": setUserAssessmentBaselineRequest.opcRetryToken,
|
|
3628
3991
|
"opc-request-id": setUserAssessmentBaselineRequest.opcRequestId
|
|
3629
3992
|
};
|
|
3630
|
-
const
|
|
3993
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3994
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setUserAssessmentBaselineRequest.retryConfiguration, specRetryConfiguration);
|
|
3631
3995
|
if (this.logger)
|
|
3632
3996
|
retrier.logger = this.logger;
|
|
3633
3997
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3668,10 +4032,11 @@ class DataSafeClient {
|
|
|
3668
4032
|
* Removes the baseline setting for the saved security assessment. The saved security assessment is no longer considered a baseline.
|
|
3669
4033
|
* Sets the if-match parameter to the value of the etag from a previous GET or POST response for that resource.
|
|
3670
4034
|
*
|
|
4035
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3671
4036
|
* @param UnsetSecurityAssessmentBaselineRequest
|
|
3672
4037
|
* @return UnsetSecurityAssessmentBaselineResponse
|
|
3673
4038
|
* @throws OciError when an error occurs
|
|
3674
|
-
* @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.6.0/datasafe/UnsetSecurityAssessmentBaseline.ts.html |here} to see how to use UnsetSecurityAssessmentBaseline API.
|
|
3675
4040
|
*/
|
|
3676
4041
|
unsetSecurityAssessmentBaseline(unsetSecurityAssessmentBaselineRequest) {
|
|
3677
4042
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3687,7 +4052,8 @@ class DataSafeClient {
|
|
|
3687
4052
|
"opc-retry-token": unsetSecurityAssessmentBaselineRequest.opcRetryToken,
|
|
3688
4053
|
"opc-request-id": unsetSecurityAssessmentBaselineRequest.opcRequestId
|
|
3689
4054
|
};
|
|
3690
|
-
const
|
|
4055
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4056
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unsetSecurityAssessmentBaselineRequest.retryConfiguration, specRetryConfiguration);
|
|
3691
4057
|
if (this.logger)
|
|
3692
4058
|
retrier.logger = this.logger;
|
|
3693
4059
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3727,10 +4093,11 @@ class DataSafeClient {
|
|
|
3727
4093
|
* Removes the baseline setting for the saved user assessment. The saved user assessment is no longer considered a baseline.
|
|
3728
4094
|
* Sets the if-match parameter to the value of the etag from a previous GET or POST response for that resource.
|
|
3729
4095
|
*
|
|
4096
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3730
4097
|
* @param UnsetUserAssessmentBaselineRequest
|
|
3731
4098
|
* @return UnsetUserAssessmentBaselineResponse
|
|
3732
4099
|
* @throws OciError when an error occurs
|
|
3733
|
-
* @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.6.0/datasafe/UnsetUserAssessmentBaseline.ts.html |here} to see how to use UnsetUserAssessmentBaseline API.
|
|
3734
4101
|
*/
|
|
3735
4102
|
unsetUserAssessmentBaseline(unsetUserAssessmentBaselineRequest) {
|
|
3736
4103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3746,7 +4113,8 @@ class DataSafeClient {
|
|
|
3746
4113
|
"opc-retry-token": unsetUserAssessmentBaselineRequest.opcRetryToken,
|
|
3747
4114
|
"opc-request-id": unsetUserAssessmentBaselineRequest.opcRequestId
|
|
3748
4115
|
};
|
|
3749
|
-
const
|
|
4116
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4117
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unsetUserAssessmentBaselineRequest.retryConfiguration, specRetryConfiguration);
|
|
3750
4118
|
if (this.logger)
|
|
3751
4119
|
retrier.logger = this.logger;
|
|
3752
4120
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3784,10 +4152,11 @@ class DataSafeClient {
|
|
|
3784
4152
|
}
|
|
3785
4153
|
/**
|
|
3786
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.
|
|
3787
4156
|
* @param UpdateDataSafePrivateEndpointRequest
|
|
3788
4157
|
* @return UpdateDataSafePrivateEndpointResponse
|
|
3789
4158
|
* @throws OciError when an error occurs
|
|
3790
|
-
* @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.6.0/datasafe/UpdateDataSafePrivateEndpoint.ts.html |here} to see how to use UpdateDataSafePrivateEndpoint API.
|
|
3791
4160
|
*/
|
|
3792
4161
|
updateDataSafePrivateEndpoint(updateDataSafePrivateEndpointRequest) {
|
|
3793
4162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3802,7 +4171,8 @@ class DataSafeClient {
|
|
|
3802
4171
|
"if-match": updateDataSafePrivateEndpointRequest.ifMatch,
|
|
3803
4172
|
"opc-request-id": updateDataSafePrivateEndpointRequest.opcRequestId
|
|
3804
4173
|
};
|
|
3805
|
-
const
|
|
4174
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4175
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDataSafePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
3806
4176
|
if (this.logger)
|
|
3807
4177
|
retrier.logger = this.logger;
|
|
3808
4178
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3841,10 +4211,11 @@ class DataSafeClient {
|
|
|
3841
4211
|
}
|
|
3842
4212
|
/**
|
|
3843
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.
|
|
3844
4215
|
* @param UpdateOnPremConnectorRequest
|
|
3845
4216
|
* @return UpdateOnPremConnectorResponse
|
|
3846
4217
|
* @throws OciError when an error occurs
|
|
3847
|
-
* @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.6.0/datasafe/UpdateOnPremConnector.ts.html |here} to see how to use UpdateOnPremConnector API.
|
|
3848
4219
|
*/
|
|
3849
4220
|
updateOnPremConnector(updateOnPremConnectorRequest) {
|
|
3850
4221
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3859,7 +4230,8 @@ class DataSafeClient {
|
|
|
3859
4230
|
"if-match": updateOnPremConnectorRequest.ifMatch,
|
|
3860
4231
|
"opc-request-id": updateOnPremConnectorRequest.opcRequestId
|
|
3861
4232
|
};
|
|
3862
|
-
const
|
|
4233
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4234
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOnPremConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
3863
4235
|
if (this.logger)
|
|
3864
4236
|
retrier.logger = this.logger;
|
|
3865
4237
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3899,10 +4271,11 @@ class DataSafeClient {
|
|
|
3899
4271
|
/**
|
|
3900
4272
|
* Updates the wallet for the specified on-premises connector to a new version.
|
|
3901
4273
|
*
|
|
4274
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3902
4275
|
* @param UpdateOnPremConnectorWalletRequest
|
|
3903
4276
|
* @return UpdateOnPremConnectorWalletResponse
|
|
3904
4277
|
* @throws OciError when an error occurs
|
|
3905
|
-
* @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.6.0/datasafe/UpdateOnPremConnectorWallet.ts.html |here} to see how to use UpdateOnPremConnectorWallet API.
|
|
3906
4279
|
*/
|
|
3907
4280
|
updateOnPremConnectorWallet(updateOnPremConnectorWalletRequest) {
|
|
3908
4281
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3918,7 +4291,8 @@ class DataSafeClient {
|
|
|
3918
4291
|
"if-match": updateOnPremConnectorWalletRequest.ifMatch,
|
|
3919
4292
|
"opc-request-id": updateOnPremConnectorWalletRequest.opcRequestId
|
|
3920
4293
|
};
|
|
3921
|
-
const
|
|
4294
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4295
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOnPremConnectorWalletRequest.retryConfiguration, specRetryConfiguration);
|
|
3922
4296
|
if (this.logger)
|
|
3923
4297
|
retrier.logger = this.logger;
|
|
3924
4298
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3958,10 +4332,11 @@ class DataSafeClient {
|
|
|
3958
4332
|
/**
|
|
3959
4333
|
* Updates one or more attributes of the specified security assessment. This operation allows to update the security assessment displayName, description, or schedule.
|
|
3960
4334
|
*
|
|
4335
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3961
4336
|
* @param UpdateSecurityAssessmentRequest
|
|
3962
4337
|
* @return UpdateSecurityAssessmentResponse
|
|
3963
4338
|
* @throws OciError when an error occurs
|
|
3964
|
-
* @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.6.0/datasafe/UpdateSecurityAssessment.ts.html |here} to see how to use UpdateSecurityAssessment API.
|
|
3965
4340
|
*/
|
|
3966
4341
|
updateSecurityAssessment(updateSecurityAssessmentRequest) {
|
|
3967
4342
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3976,7 +4351,8 @@ class DataSafeClient {
|
|
|
3976
4351
|
"opc-request-id": updateSecurityAssessmentRequest.opcRequestId,
|
|
3977
4352
|
"if-match": updateSecurityAssessmentRequest.ifMatch
|
|
3978
4353
|
};
|
|
3979
|
-
const
|
|
4354
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4355
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSecurityAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
3980
4356
|
if (this.logger)
|
|
3981
4357
|
retrier.logger = this.logger;
|
|
3982
4358
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4015,10 +4391,11 @@ class DataSafeClient {
|
|
|
4015
4391
|
}
|
|
4016
4392
|
/**
|
|
4017
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.
|
|
4018
4395
|
* @param UpdateTargetDatabaseRequest
|
|
4019
4396
|
* @return UpdateTargetDatabaseResponse
|
|
4020
4397
|
* @throws OciError when an error occurs
|
|
4021
|
-
* @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.6.0/datasafe/UpdateTargetDatabase.ts.html |here} to see how to use UpdateTargetDatabase API.
|
|
4022
4399
|
*/
|
|
4023
4400
|
updateTargetDatabase(updateTargetDatabaseRequest) {
|
|
4024
4401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4034,7 +4411,8 @@ class DataSafeClient {
|
|
|
4034
4411
|
"if-match": updateTargetDatabaseRequest.ifMatch,
|
|
4035
4412
|
"opc-retry-token": updateTargetDatabaseRequest.opcRetryToken
|
|
4036
4413
|
};
|
|
4037
|
-
const
|
|
4414
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4415
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTargetDatabaseRequest.retryConfiguration, specRetryConfiguration);
|
|
4038
4416
|
if (this.logger)
|
|
4039
4417
|
retrier.logger = this.logger;
|
|
4040
4418
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4074,10 +4452,11 @@ class DataSafeClient {
|
|
|
4074
4452
|
/**
|
|
4075
4453
|
* Updates one or more attributes of the specified user assessment. This operation allows to update the user assessment displayName, description, or schedule.
|
|
4076
4454
|
*
|
|
4455
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4077
4456
|
* @param UpdateUserAssessmentRequest
|
|
4078
4457
|
* @return UpdateUserAssessmentResponse
|
|
4079
4458
|
* @throws OciError when an error occurs
|
|
4080
|
-
* @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.6.0/datasafe/UpdateUserAssessment.ts.html |here} to see how to use UpdateUserAssessment API.
|
|
4081
4460
|
*/
|
|
4082
4461
|
updateUserAssessment(updateUserAssessmentRequest) {
|
|
4083
4462
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4092,7 +4471,8 @@ class DataSafeClient {
|
|
|
4092
4471
|
"opc-request-id": updateUserAssessmentRequest.opcRequestId,
|
|
4093
4472
|
"if-match": updateUserAssessmentRequest.ifMatch
|
|
4094
4473
|
};
|
|
4095
|
-
const
|
|
4474
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4475
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateUserAssessmentRequest.retryConfiguration, specRetryConfiguration);
|
|
4096
4476
|
if (this.logger)
|
|
4097
4477
|
retrier.logger = this.logger;
|
|
4098
4478
|
const request = yield oci_common_2.composeRequest({
|