oci-waas 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 +490 -72
- package/lib/client.js +728 -144
- package/lib/client.js.map +1 -1
- package/lib/request/accept-recommendations-request.d.ts +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-address-list-compartment-request.d.ts +1 -1
- package/lib/request/change-certificate-compartment-request.d.ts +1 -1
- package/lib/request/change-custom-protection-rule-compartment-request.d.ts +1 -1
- package/lib/request/change-http-redirect-compartment-request.d.ts +1 -1
- package/lib/request/change-waas-policy-compartment-request.d.ts +1 -1
- package/lib/request/create-address-list-request.d.ts +1 -1
- package/lib/request/create-certificate-request.d.ts +1 -1
- package/lib/request/create-custom-protection-rule-request.d.ts +1 -1
- package/lib/request/create-http-redirect-request.d.ts +1 -1
- package/lib/request/create-waas-policy-request.d.ts +1 -1
- package/lib/request/delete-address-list-request.d.ts +1 -1
- package/lib/request/delete-certificate-request.d.ts +1 -1
- package/lib/request/delete-custom-protection-rule-request.d.ts +1 -1
- package/lib/request/delete-http-redirect-request.d.ts +1 -1
- package/lib/request/delete-waas-policy-request.d.ts +1 -1
- package/lib/request/get-address-list-request.d.ts +1 -1
- package/lib/request/get-certificate-request.d.ts +1 -1
- package/lib/request/get-custom-protection-rule-request.d.ts +1 -1
- package/lib/request/get-device-fingerprint-challenge-request.d.ts +1 -1
- package/lib/request/get-http-redirect-request.d.ts +1 -1
- package/lib/request/get-human-interaction-challenge-request.d.ts +1 -1
- package/lib/request/get-js-challenge-request.d.ts +1 -1
- package/lib/request/get-policy-config-request.d.ts +1 -1
- package/lib/request/get-protection-rule-request.d.ts +1 -1
- package/lib/request/get-protection-settings-request.d.ts +1 -1
- package/lib/request/get-waas-policy-request.d.ts +1 -1
- package/lib/request/get-waf-address-rate-limiting-request.d.ts +1 -1
- package/lib/request/get-waf-config-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-access-rules-request.d.ts +1 -1
- package/lib/request/list-address-lists-request.d.ts +1 -1
- package/lib/request/list-caching-rules-request.d.ts +1 -1
- package/lib/request/list-captchas-request.d.ts +1 -1
- package/lib/request/list-certificates-request.d.ts +1 -1
- package/lib/request/list-custom-protection-rules-request.d.ts +1 -1
- package/lib/request/list-edge-subnets-request.d.ts +1 -1
- package/lib/request/list-good-bots-request.d.ts +1 -1
- package/lib/request/list-http-redirects-request.d.ts +1 -1
- package/lib/request/list-protection-rules-request.d.ts +1 -1
- package/lib/request/list-recommendations-request.d.ts +1 -1
- package/lib/request/list-threat-feeds-request.d.ts +1 -1
- package/lib/request/list-waas-policies-request.d.ts +1 -1
- package/lib/request/list-waas-policy-custom-protection-rules-request.d.ts +1 -1
- package/lib/request/list-waf-blocked-requests-request.d.ts +1 -1
- package/lib/request/list-waf-logs-request.d.ts +1 -1
- package/lib/request/list-waf-requests-request.d.ts +1 -1
- package/lib/request/list-waf-traffic-request.d.ts +1 -1
- package/lib/request/list-whitelists-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/purge-cache-request.d.ts +1 -1
- package/lib/request/update-access-rules-request.d.ts +1 -1
- package/lib/request/update-address-list-request.d.ts +1 -1
- package/lib/request/update-caching-rules-request.d.ts +1 -1
- package/lib/request/update-captchas-request.d.ts +1 -1
- package/lib/request/update-certificate-request.d.ts +1 -1
- package/lib/request/update-custom-protection-rule-request.d.ts +1 -1
- package/lib/request/update-device-fingerprint-challenge-request.d.ts +1 -1
- package/lib/request/update-good-bots-request.d.ts +1 -1
- package/lib/request/update-http-redirect-request.d.ts +1 -1
- package/lib/request/update-human-interaction-challenge-request.d.ts +1 -1
- package/lib/request/update-js-challenge-request.d.ts +1 -1
- package/lib/request/update-policy-config-request.d.ts +1 -1
- package/lib/request/update-protection-rules-request.d.ts +1 -1
- package/lib/request/update-protection-settings-request.d.ts +1 -1
- package/lib/request/update-threat-feeds-request.d.ts +1 -1
- package/lib/request/update-waas-policy-custom-protection-rules-request.d.ts +1 -1
- package/lib/request/update-waas-policy-request.d.ts +1 -1
- package/lib/request/update-waf-address-rate-limiting-request.d.ts +1 -1
- package/lib/request/update-waf-config-request.d.ts +1 -1
- package/lib/request/update-whitelists-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -54,6 +54,9 @@ var RedirectApiKeys;
|
|
|
54
54
|
(function (RedirectApiKeys) {
|
|
55
55
|
RedirectApiKeys[RedirectApiKeys["ApiKey"] = 0] = "ApiKey";
|
|
56
56
|
})(RedirectApiKeys = exports.RedirectApiKeys || (exports.RedirectApiKeys = {}));
|
|
57
|
+
/**
|
|
58
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
59
|
+
*/
|
|
57
60
|
class RedirectClient {
|
|
58
61
|
constructor(params, clientConfiguration) {
|
|
59
62
|
this["_endpoint"] = "";
|
|
@@ -68,6 +71,13 @@ class RedirectClient {
|
|
|
68
71
|
? clientConfiguration.circuitBreaker.circuit
|
|
69
72
|
: null;
|
|
70
73
|
}
|
|
74
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
75
|
+
const specCircuitBreakerEnabled = false;
|
|
76
|
+
if (!this._circuitBreaker &&
|
|
77
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
78
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
79
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
80
|
+
}
|
|
71
81
|
this._httpClient =
|
|
72
82
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
73
83
|
if (params.authenticationDetailsProvider &&
|
|
@@ -139,10 +149,11 @@ class RedirectClient {
|
|
|
139
149
|
}
|
|
140
150
|
/**
|
|
141
151
|
* Moves HTTP Redirect into a different compartment. When provided, If-Match is checked against ETag values of the WAAS policy.
|
|
152
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
142
153
|
* @param ChangeHttpRedirectCompartmentRequest
|
|
143
154
|
* @return ChangeHttpRedirectCompartmentResponse
|
|
144
155
|
* @throws OciError when an error occurs
|
|
145
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ChangeHttpRedirectCompartment.ts.html |here} to see how to use ChangeHttpRedirectCompartment API.
|
|
146
157
|
*/
|
|
147
158
|
changeHttpRedirectCompartment(changeHttpRedirectCompartmentRequest) {
|
|
148
159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -158,7 +169,8 @@ class RedirectClient {
|
|
|
158
169
|
"opc-request-id": changeHttpRedirectCompartmentRequest.opcRequestId,
|
|
159
170
|
"opc-retry-token": changeHttpRedirectCompartmentRequest.opcRetryToken
|
|
160
171
|
};
|
|
161
|
-
const
|
|
172
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
173
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeHttpRedirectCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
162
174
|
if (this.logger)
|
|
163
175
|
retrier.logger = this.logger;
|
|
164
176
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -192,10 +204,11 @@ class RedirectClient {
|
|
|
192
204
|
}
|
|
193
205
|
/**
|
|
194
206
|
* Creates a new HTTP Redirect on the WAF edge.
|
|
207
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
195
208
|
* @param CreateHttpRedirectRequest
|
|
196
209
|
* @return CreateHttpRedirectResponse
|
|
197
210
|
* @throws OciError when an error occurs
|
|
198
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
211
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/CreateHttpRedirect.ts.html |here} to see how to use CreateHttpRedirect API.
|
|
199
212
|
*/
|
|
200
213
|
createHttpRedirect(createHttpRedirectRequest) {
|
|
201
214
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -208,7 +221,8 @@ class RedirectClient {
|
|
|
208
221
|
"opc-request-id": createHttpRedirectRequest.opcRequestId,
|
|
209
222
|
"opc-retry-token": createHttpRedirectRequest.opcRetryToken
|
|
210
223
|
};
|
|
211
|
-
const
|
|
224
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
225
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createHttpRedirectRequest.retryConfiguration, specRetryConfiguration);
|
|
212
226
|
if (this.logger)
|
|
213
227
|
retrier.logger = this.logger;
|
|
214
228
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -247,10 +261,11 @@ class RedirectClient {
|
|
|
247
261
|
}
|
|
248
262
|
/**
|
|
249
263
|
* Deletes a redirect.
|
|
264
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
250
265
|
* @param DeleteHttpRedirectRequest
|
|
251
266
|
* @return DeleteHttpRedirectResponse
|
|
252
267
|
* @throws OciError when an error occurs
|
|
253
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
268
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/DeleteHttpRedirect.ts.html |here} to see how to use DeleteHttpRedirect API.
|
|
254
269
|
*/
|
|
255
270
|
deleteHttpRedirect(deleteHttpRedirectRequest) {
|
|
256
271
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -266,7 +281,8 @@ class RedirectClient {
|
|
|
266
281
|
"opc-retry-token": deleteHttpRedirectRequest.opcRetryToken,
|
|
267
282
|
"if-match": deleteHttpRedirectRequest.ifMatch
|
|
268
283
|
};
|
|
269
|
-
const
|
|
284
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
285
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHttpRedirectRequest.retryConfiguration, specRetryConfiguration);
|
|
270
286
|
if (this.logger)
|
|
271
287
|
retrier.logger = this.logger;
|
|
272
288
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -304,10 +320,11 @@ class RedirectClient {
|
|
|
304
320
|
}
|
|
305
321
|
/**
|
|
306
322
|
* Gets the details of a HTTP Redirect.
|
|
323
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
307
324
|
* @param GetHttpRedirectRequest
|
|
308
325
|
* @return GetHttpRedirectResponse
|
|
309
326
|
* @throws OciError when an error occurs
|
|
310
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
327
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetHttpRedirect.ts.html |here} to see how to use GetHttpRedirect API.
|
|
311
328
|
*/
|
|
312
329
|
getHttpRedirect(getHttpRedirectRequest) {
|
|
313
330
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -321,7 +338,8 @@ class RedirectClient {
|
|
|
321
338
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
322
339
|
"opc-request-id": getHttpRedirectRequest.opcRequestId
|
|
323
340
|
};
|
|
324
|
-
const
|
|
341
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
342
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHttpRedirectRequest.retryConfiguration, specRetryConfiguration);
|
|
325
343
|
if (this.logger)
|
|
326
344
|
retrier.logger = this.logger;
|
|
327
345
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -363,10 +381,11 @@ class RedirectClient {
|
|
|
363
381
|
}
|
|
364
382
|
/**
|
|
365
383
|
* Gets a list of HTTP Redirects.
|
|
384
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
366
385
|
* @param ListHttpRedirectsRequest
|
|
367
386
|
* @return ListHttpRedirectsResponse
|
|
368
387
|
* @throws OciError when an error occurs
|
|
369
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
388
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListHttpRedirects.ts.html |here} to see how to use ListHttpRedirects API.
|
|
370
389
|
*/
|
|
371
390
|
listHttpRedirects(listHttpRedirectsRequest) {
|
|
372
391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -389,7 +408,8 @@ class RedirectClient {
|
|
|
389
408
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
390
409
|
"opc-request-id": listHttpRedirectsRequest.opcRequestId
|
|
391
410
|
};
|
|
392
|
-
const
|
|
411
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
412
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHttpRedirectsRequest.retryConfiguration, specRetryConfiguration);
|
|
393
413
|
if (this.logger)
|
|
394
414
|
retrier.logger = this.logger;
|
|
395
415
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -430,6 +450,7 @@ class RedirectClient {
|
|
|
430
450
|
});
|
|
431
451
|
}
|
|
432
452
|
/**
|
|
453
|
+
* NOTE: This function is deprecated in favor of listHttpRedirectsRecordIterator function.
|
|
433
454
|
* Creates a new async iterator which will iterate over the models.HttpRedirectSummary objects
|
|
434
455
|
* contained in responses from the listHttpRedirects operation. This iterator will fetch more data from the
|
|
435
456
|
* server as needed.
|
|
@@ -440,6 +461,7 @@ class RedirectClient {
|
|
|
440
461
|
return oci_common_1.paginateRecords(request, req => this.listHttpRedirects(req));
|
|
441
462
|
}
|
|
442
463
|
/**
|
|
464
|
+
* NOTE: This function is deprecated in favor of listHttpRedirectsResponseIterator function.
|
|
443
465
|
* Creates a new async iterator which will iterate over the responses received from the listHttpRedirects operation. This iterator
|
|
444
466
|
* will fetch more data from the server as needed.
|
|
445
467
|
*
|
|
@@ -448,12 +470,32 @@ class RedirectClient {
|
|
|
448
470
|
listAllHttpRedirectsResponses(request) {
|
|
449
471
|
return oci_common_1.paginateResponses(request, req => this.listHttpRedirects(req));
|
|
450
472
|
}
|
|
473
|
+
/**
|
|
474
|
+
* Creates a new async iterator which will iterate over the models.HttpRedirectSummary objects
|
|
475
|
+
* contained in responses from the listHttpRedirects operation. This iterator will fetch more data from the
|
|
476
|
+
* server as needed.
|
|
477
|
+
*
|
|
478
|
+
* @param request a request which can be sent to the service operation
|
|
479
|
+
*/
|
|
480
|
+
listHttpRedirectsRecordIterator(request) {
|
|
481
|
+
return oci_common_1.paginateRecords(request, req => this.listHttpRedirects(req));
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* Creates a new async iterator which will iterate over the responses received from the listHttpRedirects operation. This iterator
|
|
485
|
+
* will fetch more data from the server as needed.
|
|
486
|
+
*
|
|
487
|
+
* @param request a request which can be sent to the service operation
|
|
488
|
+
*/
|
|
489
|
+
listHttpRedirectsResponseIterator(request) {
|
|
490
|
+
return oci_common_1.paginateResponses(request, req => this.listHttpRedirects(req));
|
|
491
|
+
}
|
|
451
492
|
/**
|
|
452
493
|
* Updates the details of a HTTP Redirect, including target and tags. Only the fields specified in the request body will be updated; all other properties will remain unchanged.
|
|
494
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
453
495
|
* @param UpdateHttpRedirectRequest
|
|
454
496
|
* @return UpdateHttpRedirectResponse
|
|
455
497
|
* @throws OciError when an error occurs
|
|
456
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
498
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateHttpRedirect.ts.html |here} to see how to use UpdateHttpRedirect API.
|
|
457
499
|
*/
|
|
458
500
|
updateHttpRedirect(updateHttpRedirectRequest) {
|
|
459
501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -469,7 +511,8 @@ class RedirectClient {
|
|
|
469
511
|
"opc-retry-token": updateHttpRedirectRequest.opcRetryToken,
|
|
470
512
|
"if-match": updateHttpRedirectRequest.ifMatch
|
|
471
513
|
};
|
|
472
|
-
const
|
|
514
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
515
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHttpRedirectRequest.retryConfiguration, specRetryConfiguration);
|
|
473
516
|
if (this.logger)
|
|
474
517
|
retrier.logger = this.logger;
|
|
475
518
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -513,6 +556,9 @@ var WaasApiKeys;
|
|
|
513
556
|
(function (WaasApiKeys) {
|
|
514
557
|
WaasApiKeys[WaasApiKeys["ApiKey"] = 0] = "ApiKey";
|
|
515
558
|
})(WaasApiKeys = exports.WaasApiKeys || (exports.WaasApiKeys = {}));
|
|
559
|
+
/**
|
|
560
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
561
|
+
*/
|
|
516
562
|
class WaasClient {
|
|
517
563
|
constructor(params, clientConfiguration) {
|
|
518
564
|
this["_endpoint"] = "";
|
|
@@ -527,6 +573,13 @@ class WaasClient {
|
|
|
527
573
|
? clientConfiguration.circuitBreaker.circuit
|
|
528
574
|
: null;
|
|
529
575
|
}
|
|
576
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
577
|
+
const specCircuitBreakerEnabled = false;
|
|
578
|
+
if (!this._circuitBreaker &&
|
|
579
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
580
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
581
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
582
|
+
}
|
|
530
583
|
this._httpClient =
|
|
531
584
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
532
585
|
if (params.authenticationDetailsProvider &&
|
|
@@ -600,10 +653,11 @@ class WaasClient {
|
|
|
600
653
|
* Accepts a list of recommended Web Application Firewall protection rules. Web Application Firewall protection rule recommendations are sets of rules generated by observed traffic patterns through the Web Application Firewall and are meant to optimize the Web Application Firewall's security profile. Only the rules specified in the request body will be updated; all other rules will remain unchanged.
|
|
601
654
|
* <p>
|
|
602
655
|
Use the `GET /waasPolicies/{waasPolicyId}/wafConfig/recommendations` method to view a list of recommended Web Application Firewall protection rules. For more information, see [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm).
|
|
656
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
603
657
|
* @param AcceptRecommendationsRequest
|
|
604
658
|
* @return AcceptRecommendationsResponse
|
|
605
659
|
* @throws OciError when an error occurs
|
|
606
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
660
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/AcceptRecommendations.ts.html |here} to see how to use AcceptRecommendations API.
|
|
607
661
|
*/
|
|
608
662
|
acceptRecommendations(acceptRecommendationsRequest) {
|
|
609
663
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -618,7 +672,8 @@ class WaasClient {
|
|
|
618
672
|
"opc-request-id": acceptRecommendationsRequest.opcRequestId,
|
|
619
673
|
"if-match": acceptRecommendationsRequest.ifMatch
|
|
620
674
|
};
|
|
621
|
-
const
|
|
675
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
676
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, acceptRecommendationsRequest.retryConfiguration, specRetryConfiguration);
|
|
622
677
|
if (this.logger)
|
|
623
678
|
retrier.logger = this.logger;
|
|
624
679
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -657,10 +712,11 @@ class WaasClient {
|
|
|
657
712
|
}
|
|
658
713
|
/**
|
|
659
714
|
* Cancels a specified work request.
|
|
715
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
660
716
|
* @param CancelWorkRequestRequest
|
|
661
717
|
* @return CancelWorkRequestResponse
|
|
662
718
|
* @throws OciError when an error occurs
|
|
663
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
719
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
664
720
|
*/
|
|
665
721
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
666
722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -676,7 +732,8 @@ class WaasClient {
|
|
|
676
732
|
"opc-retry-token": cancelWorkRequestRequest.opcRetryToken,
|
|
677
733
|
"if-match": cancelWorkRequestRequest.ifMatch
|
|
678
734
|
};
|
|
679
|
-
const
|
|
735
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
736
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
680
737
|
if (this.logger)
|
|
681
738
|
retrier.logger = this.logger;
|
|
682
739
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -712,10 +769,11 @@ class WaasClient {
|
|
|
712
769
|
* is checked against ETag values of the address list. For information about moving
|
|
713
770
|
* resources between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
714
771
|
*
|
|
772
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
715
773
|
* @param ChangeAddressListCompartmentRequest
|
|
716
774
|
* @return ChangeAddressListCompartmentResponse
|
|
717
775
|
* @throws OciError when an error occurs
|
|
718
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
776
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ChangeAddressListCompartment.ts.html |here} to see how to use ChangeAddressListCompartment API.
|
|
719
777
|
*/
|
|
720
778
|
changeAddressListCompartment(changeAddressListCompartmentRequest) {
|
|
721
779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -731,7 +789,8 @@ class WaasClient {
|
|
|
731
789
|
"opc-request-id": changeAddressListCompartmentRequest.opcRequestId,
|
|
732
790
|
"opc-retry-token": changeAddressListCompartmentRequest.opcRetryToken
|
|
733
791
|
};
|
|
734
|
-
const
|
|
792
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
793
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAddressListCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
735
794
|
if (this.logger)
|
|
736
795
|
retrier.logger = this.logger;
|
|
737
796
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -767,10 +826,11 @@ class WaasClient {
|
|
|
767
826
|
* Moves certificate into a different compartment. When provided, If-Match is checked against ETag values of the certificate.
|
|
768
827
|
* For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
769
828
|
*
|
|
829
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
770
830
|
* @param ChangeCertificateCompartmentRequest
|
|
771
831
|
* @return ChangeCertificateCompartmentResponse
|
|
772
832
|
* @throws OciError when an error occurs
|
|
773
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
833
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ChangeCertificateCompartment.ts.html |here} to see how to use ChangeCertificateCompartment API.
|
|
774
834
|
*/
|
|
775
835
|
changeCertificateCompartment(changeCertificateCompartmentRequest) {
|
|
776
836
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -786,7 +846,8 @@ class WaasClient {
|
|
|
786
846
|
"opc-request-id": changeCertificateCompartmentRequest.opcRequestId,
|
|
787
847
|
"opc-retry-token": changeCertificateCompartmentRequest.opcRetryToken
|
|
788
848
|
};
|
|
789
|
-
const
|
|
849
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
850
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCertificateCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
790
851
|
if (this.logger)
|
|
791
852
|
retrier.logger = this.logger;
|
|
792
853
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -820,10 +881,11 @@ class WaasClient {
|
|
|
820
881
|
}
|
|
821
882
|
/**
|
|
822
883
|
* Moves a custom protection rule into a different compartment within the same tenancy. When provided, If-Match is checked against ETag values of the custom protection rule. For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
884
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
823
885
|
* @param ChangeCustomProtectionRuleCompartmentRequest
|
|
824
886
|
* @return ChangeCustomProtectionRuleCompartmentResponse
|
|
825
887
|
* @throws OciError when an error occurs
|
|
826
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
888
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ChangeCustomProtectionRuleCompartment.ts.html |here} to see how to use ChangeCustomProtectionRuleCompartment API.
|
|
827
889
|
*/
|
|
828
890
|
changeCustomProtectionRuleCompartment(changeCustomProtectionRuleCompartmentRequest) {
|
|
829
891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -839,7 +901,8 @@ class WaasClient {
|
|
|
839
901
|
"opc-request-id": changeCustomProtectionRuleCompartmentRequest.opcRequestId,
|
|
840
902
|
"opc-retry-token": changeCustomProtectionRuleCompartmentRequest.opcRetryToken
|
|
841
903
|
};
|
|
842
|
-
const
|
|
904
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
905
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCustomProtectionRuleCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
843
906
|
if (this.logger)
|
|
844
907
|
retrier.logger = this.logger;
|
|
845
908
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -875,10 +938,11 @@ class WaasClient {
|
|
|
875
938
|
* Moves WAAS policy into a different compartment. When provided, If-Match is checked against ETag values of the WAAS policy.
|
|
876
939
|
* For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
877
940
|
*
|
|
941
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
878
942
|
* @param ChangeWaasPolicyCompartmentRequest
|
|
879
943
|
* @return ChangeWaasPolicyCompartmentResponse
|
|
880
944
|
* @throws OciError when an error occurs
|
|
881
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
945
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ChangeWaasPolicyCompartment.ts.html |here} to see how to use ChangeWaasPolicyCompartment API.
|
|
882
946
|
*/
|
|
883
947
|
changeWaasPolicyCompartment(changeWaasPolicyCompartmentRequest) {
|
|
884
948
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -894,7 +958,8 @@ class WaasClient {
|
|
|
894
958
|
"opc-request-id": changeWaasPolicyCompartmentRequest.opcRequestId,
|
|
895
959
|
"opc-retry-token": changeWaasPolicyCompartmentRequest.opcRetryToken
|
|
896
960
|
};
|
|
897
|
-
const
|
|
961
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
962
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeWaasPolicyCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
898
963
|
if (this.logger)
|
|
899
964
|
retrier.logger = this.logger;
|
|
900
965
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -928,10 +993,11 @@ class WaasClient {
|
|
|
928
993
|
}
|
|
929
994
|
/**
|
|
930
995
|
* Creates an address list in a set compartment and allows it to be used in a WAAS policy and referenced by access rules. Addresses can be IP addresses and CIDR notations.
|
|
996
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
931
997
|
* @param CreateAddressListRequest
|
|
932
998
|
* @return CreateAddressListResponse
|
|
933
999
|
* @throws OciError when an error occurs
|
|
934
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1000
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/CreateAddressList.ts.html |here} to see how to use CreateAddressList API.
|
|
935
1001
|
*/
|
|
936
1002
|
createAddressList(createAddressListRequest) {
|
|
937
1003
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -944,7 +1010,8 @@ class WaasClient {
|
|
|
944
1010
|
"opc-request-id": createAddressListRequest.opcRequestId,
|
|
945
1011
|
"opc-retry-token": createAddressListRequest.opcRetryToken
|
|
946
1012
|
};
|
|
947
|
-
const
|
|
1013
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1014
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
948
1015
|
if (this.logger)
|
|
949
1016
|
retrier.logger = this.logger;
|
|
950
1017
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -989,10 +1056,11 @@ class WaasClient {
|
|
|
989
1056
|
* Allows an SSL certificate to be added to a WAAS policy. The Web Application Firewall terminates SSL connections to inspect requests in runtime, and then re-encrypts requests before sending them to the origin for fulfillment.
|
|
990
1057
|
* <p>
|
|
991
1058
|
For more information, see [WAF Settings](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafsettings.htm).
|
|
1059
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
992
1060
|
* @param CreateCertificateRequest
|
|
993
1061
|
* @return CreateCertificateResponse
|
|
994
1062
|
* @throws OciError when an error occurs
|
|
995
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1063
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/CreateCertificate.ts.html |here} to see how to use CreateCertificate API.
|
|
996
1064
|
*/
|
|
997
1065
|
createCertificate(createCertificateRequest) {
|
|
998
1066
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1005,7 +1073,8 @@ class WaasClient {
|
|
|
1005
1073
|
"opc-request-id": createCertificateRequest.opcRequestId,
|
|
1006
1074
|
"opc-retry-token": createCertificateRequest.opcRetryToken
|
|
1007
1075
|
};
|
|
1008
|
-
const
|
|
1076
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1077
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1009
1078
|
if (this.logger)
|
|
1010
1079
|
retrier.logger = this.logger;
|
|
1011
1080
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1050,10 +1119,11 @@ class WaasClient {
|
|
|
1050
1119
|
* Creates a new custom protection rule in the specified compartment.
|
|
1051
1120
|
* <p>
|
|
1052
1121
|
Custom protection rules allow you to create rules in addition to the rulesets provided by the Web Application Firewall service, including rules from [ModSecurity](https://modsecurity.org/). The syntax for custom rules is based on the ModSecurity syntax. For more information about custom protection rules, see [Custom Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm).
|
|
1122
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1053
1123
|
* @param CreateCustomProtectionRuleRequest
|
|
1054
1124
|
* @return CreateCustomProtectionRuleResponse
|
|
1055
1125
|
* @throws OciError when an error occurs
|
|
1056
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1126
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/CreateCustomProtectionRule.ts.html |here} to see how to use CreateCustomProtectionRule API.
|
|
1057
1127
|
*/
|
|
1058
1128
|
createCustomProtectionRule(createCustomProtectionRuleRequest) {
|
|
1059
1129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1066,7 +1136,8 @@ class WaasClient {
|
|
|
1066
1136
|
"opc-request-id": createCustomProtectionRuleRequest.opcRequestId,
|
|
1067
1137
|
"opc-retry-token": createCustomProtectionRuleRequest.opcRetryToken
|
|
1068
1138
|
};
|
|
1069
|
-
const
|
|
1139
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1140
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1070
1141
|
if (this.logger)
|
|
1071
1142
|
retrier.logger = this.logger;
|
|
1072
1143
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1121,10 +1192,11 @@ class WaasClient {
|
|
|
1121
1192
|
All Oracle Cloud Infrastructure resources, including WAAS policies, receive a unique, Oracle-assigned ID called an Oracle Cloud Identifier (OCID). When a resource is created, you can find its OCID in the response. You can also retrieve a resource's OCID by using a list API operation for that resource type, or by viewing the resource in the Console. Fore more information, see [Resource Identifiers](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
1122
1193
|
* <p>
|
|
1123
1194
|
**Note:** After sending the POST request, the new object's state will temporarily be `CREATING`. Ensure that the resource's state has changed to `ACTIVE` before use.
|
|
1195
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1124
1196
|
* @param CreateWaasPolicyRequest
|
|
1125
1197
|
* @return CreateWaasPolicyResponse
|
|
1126
1198
|
* @throws OciError when an error occurs
|
|
1127
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1199
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/CreateWaasPolicy.ts.html |here} to see how to use CreateWaasPolicy API.
|
|
1128
1200
|
*/
|
|
1129
1201
|
createWaasPolicy(createWaasPolicyRequest) {
|
|
1130
1202
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1137,7 +1209,8 @@ class WaasClient {
|
|
|
1137
1209
|
"opc-request-id": createWaasPolicyRequest.opcRequestId,
|
|
1138
1210
|
"opc-retry-token": createWaasPolicyRequest.opcRetryToken
|
|
1139
1211
|
};
|
|
1140
|
-
const
|
|
1212
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1213
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1141
1214
|
if (this.logger)
|
|
1142
1215
|
retrier.logger = this.logger;
|
|
1143
1216
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1181,10 +1254,11 @@ class WaasClient {
|
|
|
1181
1254
|
}
|
|
1182
1255
|
/**
|
|
1183
1256
|
* Deletes the address list from the compartment if it is not used.
|
|
1257
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1184
1258
|
* @param DeleteAddressListRequest
|
|
1185
1259
|
* @return DeleteAddressListResponse
|
|
1186
1260
|
* @throws OciError when an error occurs
|
|
1187
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1261
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/DeleteAddressList.ts.html |here} to see how to use DeleteAddressList API.
|
|
1188
1262
|
*/
|
|
1189
1263
|
deleteAddressList(deleteAddressListRequest) {
|
|
1190
1264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1200,7 +1274,8 @@ class WaasClient {
|
|
|
1200
1274
|
"opc-retry-token": deleteAddressListRequest.opcRetryToken,
|
|
1201
1275
|
"if-match": deleteAddressListRequest.ifMatch
|
|
1202
1276
|
};
|
|
1203
|
-
const
|
|
1277
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1278
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
1204
1279
|
if (this.logger)
|
|
1205
1280
|
retrier.logger = this.logger;
|
|
1206
1281
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1233,10 +1308,11 @@ class WaasClient {
|
|
|
1233
1308
|
}
|
|
1234
1309
|
/**
|
|
1235
1310
|
* Deletes an SSL certificate from the WAAS service.
|
|
1311
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1236
1312
|
* @param DeleteCertificateRequest
|
|
1237
1313
|
* @return DeleteCertificateResponse
|
|
1238
1314
|
* @throws OciError when an error occurs
|
|
1239
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1315
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/DeleteCertificate.ts.html |here} to see how to use DeleteCertificate API.
|
|
1240
1316
|
*/
|
|
1241
1317
|
deleteCertificate(deleteCertificateRequest) {
|
|
1242
1318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1252,7 +1328,8 @@ class WaasClient {
|
|
|
1252
1328
|
"opc-retry-token": deleteCertificateRequest.opcRetryToken,
|
|
1253
1329
|
"if-match": deleteCertificateRequest.ifMatch
|
|
1254
1330
|
};
|
|
1255
|
-
const
|
|
1331
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1332
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1256
1333
|
if (this.logger)
|
|
1257
1334
|
retrier.logger = this.logger;
|
|
1258
1335
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1285,10 +1362,11 @@ class WaasClient {
|
|
|
1285
1362
|
}
|
|
1286
1363
|
/**
|
|
1287
1364
|
* Deletes a Custom Protection rule.
|
|
1365
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1288
1366
|
* @param DeleteCustomProtectionRuleRequest
|
|
1289
1367
|
* @return DeleteCustomProtectionRuleResponse
|
|
1290
1368
|
* @throws OciError when an error occurs
|
|
1291
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1369
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/DeleteCustomProtectionRule.ts.html |here} to see how to use DeleteCustomProtectionRule API.
|
|
1292
1370
|
*/
|
|
1293
1371
|
deleteCustomProtectionRule(deleteCustomProtectionRuleRequest) {
|
|
1294
1372
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1304,7 +1382,8 @@ class WaasClient {
|
|
|
1304
1382
|
"opc-retry-token": deleteCustomProtectionRuleRequest.opcRetryToken,
|
|
1305
1383
|
"if-match": deleteCustomProtectionRuleRequest.ifMatch
|
|
1306
1384
|
};
|
|
1307
|
-
const
|
|
1385
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1386
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1308
1387
|
if (this.logger)
|
|
1309
1388
|
retrier.logger = this.logger;
|
|
1310
1389
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1337,10 +1416,11 @@ class WaasClient {
|
|
|
1337
1416
|
}
|
|
1338
1417
|
/**
|
|
1339
1418
|
* Deletes a policy.
|
|
1419
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1340
1420
|
* @param DeleteWaasPolicyRequest
|
|
1341
1421
|
* @return DeleteWaasPolicyResponse
|
|
1342
1422
|
* @throws OciError when an error occurs
|
|
1343
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1423
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/DeleteWaasPolicy.ts.html |here} to see how to use DeleteWaasPolicy API.
|
|
1344
1424
|
*/
|
|
1345
1425
|
deleteWaasPolicy(deleteWaasPolicyRequest) {
|
|
1346
1426
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1356,7 +1436,8 @@ class WaasClient {
|
|
|
1356
1436
|
"opc-retry-token": deleteWaasPolicyRequest.opcRetryToken,
|
|
1357
1437
|
"if-match": deleteWaasPolicyRequest.ifMatch
|
|
1358
1438
|
};
|
|
1359
|
-
const
|
|
1439
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1440
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1360
1441
|
if (this.logger)
|
|
1361
1442
|
retrier.logger = this.logger;
|
|
1362
1443
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1394,10 +1475,11 @@ class WaasClient {
|
|
|
1394
1475
|
}
|
|
1395
1476
|
/**
|
|
1396
1477
|
* Gets the details of an address list.
|
|
1478
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1397
1479
|
* @param GetAddressListRequest
|
|
1398
1480
|
* @return GetAddressListResponse
|
|
1399
1481
|
* @throws OciError when an error occurs
|
|
1400
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1482
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetAddressList.ts.html |here} to see how to use GetAddressList API.
|
|
1401
1483
|
*/
|
|
1402
1484
|
getAddressList(getAddressListRequest) {
|
|
1403
1485
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1411,7 +1493,8 @@ class WaasClient {
|
|
|
1411
1493
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1412
1494
|
"opc-request-id": getAddressListRequest.opcRequestId
|
|
1413
1495
|
};
|
|
1414
|
-
const
|
|
1496
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1497
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
1415
1498
|
if (this.logger)
|
|
1416
1499
|
retrier.logger = this.logger;
|
|
1417
1500
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1453,10 +1536,11 @@ class WaasClient {
|
|
|
1453
1536
|
}
|
|
1454
1537
|
/**
|
|
1455
1538
|
* Gets the details of an SSL certificate.
|
|
1539
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1456
1540
|
* @param GetCertificateRequest
|
|
1457
1541
|
* @return GetCertificateResponse
|
|
1458
1542
|
* @throws OciError when an error occurs
|
|
1459
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1543
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetCertificate.ts.html |here} to see how to use GetCertificate API.
|
|
1460
1544
|
*/
|
|
1461
1545
|
getCertificate(getCertificateRequest) {
|
|
1462
1546
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1470,7 +1554,8 @@ class WaasClient {
|
|
|
1470
1554
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1471
1555
|
"opc-request-id": getCertificateRequest.opcRequestId
|
|
1472
1556
|
};
|
|
1473
|
-
const
|
|
1557
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1558
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1474
1559
|
if (this.logger)
|
|
1475
1560
|
retrier.logger = this.logger;
|
|
1476
1561
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1512,10 +1597,11 @@ class WaasClient {
|
|
|
1512
1597
|
}
|
|
1513
1598
|
/**
|
|
1514
1599
|
* Gets the details of a custom protection rule.
|
|
1600
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1515
1601
|
* @param GetCustomProtectionRuleRequest
|
|
1516
1602
|
* @return GetCustomProtectionRuleResponse
|
|
1517
1603
|
* @throws OciError when an error occurs
|
|
1518
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1604
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetCustomProtectionRule.ts.html |here} to see how to use GetCustomProtectionRule API.
|
|
1519
1605
|
*/
|
|
1520
1606
|
getCustomProtectionRule(getCustomProtectionRuleRequest) {
|
|
1521
1607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1529,7 +1615,8 @@ class WaasClient {
|
|
|
1529
1615
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1530
1616
|
"opc-request-id": getCustomProtectionRuleRequest.opcRequestId
|
|
1531
1617
|
};
|
|
1532
|
-
const
|
|
1618
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1619
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1533
1620
|
if (this.logger)
|
|
1534
1621
|
retrier.logger = this.logger;
|
|
1535
1622
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1571,10 +1658,11 @@ class WaasClient {
|
|
|
1571
1658
|
}
|
|
1572
1659
|
/**
|
|
1573
1660
|
* Gets the device fingerprint challenge settings in the Web Application Firewall configuration for a WAAS policy.
|
|
1661
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1574
1662
|
* @param GetDeviceFingerprintChallengeRequest
|
|
1575
1663
|
* @return GetDeviceFingerprintChallengeResponse
|
|
1576
1664
|
* @throws OciError when an error occurs
|
|
1577
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1665
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetDeviceFingerprintChallenge.ts.html |here} to see how to use GetDeviceFingerprintChallenge API.
|
|
1578
1666
|
*/
|
|
1579
1667
|
getDeviceFingerprintChallenge(getDeviceFingerprintChallengeRequest) {
|
|
1580
1668
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1588,7 +1676,8 @@ class WaasClient {
|
|
|
1588
1676
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1589
1677
|
"opc-request-id": getDeviceFingerprintChallengeRequest.opcRequestId
|
|
1590
1678
|
};
|
|
1591
|
-
const
|
|
1679
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1680
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDeviceFingerprintChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
1592
1681
|
if (this.logger)
|
|
1593
1682
|
retrier.logger = this.logger;
|
|
1594
1683
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1630,10 +1719,11 @@ class WaasClient {
|
|
|
1630
1719
|
}
|
|
1631
1720
|
/**
|
|
1632
1721
|
* Gets the human interaction challenge settings in the Web Application Firewall configuration for a WAAS policy.
|
|
1722
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1633
1723
|
* @param GetHumanInteractionChallengeRequest
|
|
1634
1724
|
* @return GetHumanInteractionChallengeResponse
|
|
1635
1725
|
* @throws OciError when an error occurs
|
|
1636
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1726
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetHumanInteractionChallenge.ts.html |here} to see how to use GetHumanInteractionChallenge API.
|
|
1637
1727
|
*/
|
|
1638
1728
|
getHumanInteractionChallenge(getHumanInteractionChallengeRequest) {
|
|
1639
1729
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1647,7 +1737,8 @@ class WaasClient {
|
|
|
1647
1737
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1648
1738
|
"opc-request-id": getHumanInteractionChallengeRequest.opcRequestId
|
|
1649
1739
|
};
|
|
1650
|
-
const
|
|
1740
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1741
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHumanInteractionChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
1651
1742
|
if (this.logger)
|
|
1652
1743
|
retrier.logger = this.logger;
|
|
1653
1744
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1689,10 +1780,11 @@ class WaasClient {
|
|
|
1689
1780
|
}
|
|
1690
1781
|
/**
|
|
1691
1782
|
* Gets the JavaScript challenge settings in the Web Application Firewall configuration for a WAAS policy.
|
|
1783
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1692
1784
|
* @param GetJsChallengeRequest
|
|
1693
1785
|
* @return GetJsChallengeResponse
|
|
1694
1786
|
* @throws OciError when an error occurs
|
|
1695
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1787
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetJsChallenge.ts.html |here} to see how to use GetJsChallenge API.
|
|
1696
1788
|
*/
|
|
1697
1789
|
getJsChallenge(getJsChallengeRequest) {
|
|
1698
1790
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1706,7 +1798,8 @@ class WaasClient {
|
|
|
1706
1798
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1707
1799
|
"opc-request-id": getJsChallengeRequest.opcRequestId
|
|
1708
1800
|
};
|
|
1709
|
-
const
|
|
1801
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1802
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJsChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
1710
1803
|
if (this.logger)
|
|
1711
1804
|
retrier.logger = this.logger;
|
|
1712
1805
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1748,10 +1841,11 @@ class WaasClient {
|
|
|
1748
1841
|
}
|
|
1749
1842
|
/**
|
|
1750
1843
|
* Gets the configuration of a WAAS policy.
|
|
1844
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1751
1845
|
* @param GetPolicyConfigRequest
|
|
1752
1846
|
* @return GetPolicyConfigResponse
|
|
1753
1847
|
* @throws OciError when an error occurs
|
|
1754
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1848
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetPolicyConfig.ts.html |here} to see how to use GetPolicyConfig API.
|
|
1755
1849
|
*/
|
|
1756
1850
|
getPolicyConfig(getPolicyConfigRequest) {
|
|
1757
1851
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1765,7 +1859,8 @@ class WaasClient {
|
|
|
1765
1859
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1766
1860
|
"opc-request-id": getPolicyConfigRequest.opcRequestId
|
|
1767
1861
|
};
|
|
1768
|
-
const
|
|
1862
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1863
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPolicyConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1769
1864
|
if (this.logger)
|
|
1770
1865
|
retrier.logger = this.logger;
|
|
1771
1866
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1807,10 +1902,11 @@ class WaasClient {
|
|
|
1807
1902
|
}
|
|
1808
1903
|
/**
|
|
1809
1904
|
* Gets the details of a protection rule in the Web Application Firewall configuration for a WAAS policy.
|
|
1905
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1810
1906
|
* @param GetProtectionRuleRequest
|
|
1811
1907
|
* @return GetProtectionRuleResponse
|
|
1812
1908
|
* @throws OciError when an error occurs
|
|
1813
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1909
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetProtectionRule.ts.html |here} to see how to use GetProtectionRule API.
|
|
1814
1910
|
*/
|
|
1815
1911
|
getProtectionRule(getProtectionRuleRequest) {
|
|
1816
1912
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1825,7 +1921,8 @@ class WaasClient {
|
|
|
1825
1921
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1826
1922
|
"opc-request-id": getProtectionRuleRequest.opcRequestId
|
|
1827
1923
|
};
|
|
1828
|
-
const
|
|
1924
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1925
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1829
1926
|
if (this.logger)
|
|
1830
1927
|
retrier.logger = this.logger;
|
|
1831
1928
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1867,10 +1964,11 @@ class WaasClient {
|
|
|
1867
1964
|
}
|
|
1868
1965
|
/**
|
|
1869
1966
|
* Gets the protection settings in the Web Application Firewall configuration for a WAAS policy.
|
|
1967
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1870
1968
|
* @param GetProtectionSettingsRequest
|
|
1871
1969
|
* @return GetProtectionSettingsResponse
|
|
1872
1970
|
* @throws OciError when an error occurs
|
|
1873
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1971
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetProtectionSettings.ts.html |here} to see how to use GetProtectionSettings API.
|
|
1874
1972
|
*/
|
|
1875
1973
|
getProtectionSettings(getProtectionSettingsRequest) {
|
|
1876
1974
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1884,7 +1982,8 @@ class WaasClient {
|
|
|
1884
1982
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1885
1983
|
"opc-request-id": getProtectionSettingsRequest.opcRequestId
|
|
1886
1984
|
};
|
|
1887
|
-
const
|
|
1985
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1986
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProtectionSettingsRequest.retryConfiguration, specRetryConfiguration);
|
|
1888
1987
|
if (this.logger)
|
|
1889
1988
|
retrier.logger = this.logger;
|
|
1890
1989
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1926,10 +2025,11 @@ class WaasClient {
|
|
|
1926
2025
|
}
|
|
1927
2026
|
/**
|
|
1928
2027
|
* Gets the details of a WAAS policy.
|
|
2028
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1929
2029
|
* @param GetWaasPolicyRequest
|
|
1930
2030
|
* @return GetWaasPolicyResponse
|
|
1931
2031
|
* @throws OciError when an error occurs
|
|
1932
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2032
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetWaasPolicy.ts.html |here} to see how to use GetWaasPolicy API.
|
|
1933
2033
|
*/
|
|
1934
2034
|
getWaasPolicy(getWaasPolicyRequest) {
|
|
1935
2035
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1943,7 +2043,8 @@ class WaasClient {
|
|
|
1943
2043
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1944
2044
|
"opc-request-id": getWaasPolicyRequest.opcRequestId
|
|
1945
2045
|
};
|
|
1946
|
-
const
|
|
2046
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2047
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1947
2048
|
if (this.logger)
|
|
1948
2049
|
retrier.logger = this.logger;
|
|
1949
2050
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1985,10 +2086,11 @@ class WaasClient {
|
|
|
1985
2086
|
}
|
|
1986
2087
|
/**
|
|
1987
2088
|
* Gets the address rate limiting settings of the Web Application Firewall configuration for a WAAS policy.
|
|
2089
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1988
2090
|
* @param GetWafAddressRateLimitingRequest
|
|
1989
2091
|
* @return GetWafAddressRateLimitingResponse
|
|
1990
2092
|
* @throws OciError when an error occurs
|
|
1991
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2093
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetWafAddressRateLimiting.ts.html |here} to see how to use GetWafAddressRateLimiting API.
|
|
1992
2094
|
*/
|
|
1993
2095
|
getWafAddressRateLimiting(getWafAddressRateLimitingRequest) {
|
|
1994
2096
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2002,7 +2104,8 @@ class WaasClient {
|
|
|
2002
2104
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2003
2105
|
"opc-request-id": getWafAddressRateLimitingRequest.opcRequestId
|
|
2004
2106
|
};
|
|
2005
|
-
const
|
|
2107
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2108
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWafAddressRateLimitingRequest.retryConfiguration, specRetryConfiguration);
|
|
2006
2109
|
if (this.logger)
|
|
2007
2110
|
retrier.logger = this.logger;
|
|
2008
2111
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2044,10 +2147,11 @@ class WaasClient {
|
|
|
2044
2147
|
}
|
|
2045
2148
|
/**
|
|
2046
2149
|
* Gets the Web Application Firewall configuration details for a WAAS policy.
|
|
2150
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2047
2151
|
* @param GetWafConfigRequest
|
|
2048
2152
|
* @return GetWafConfigResponse
|
|
2049
2153
|
* @throws OciError when an error occurs
|
|
2050
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2154
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetWafConfig.ts.html |here} to see how to use GetWafConfig API.
|
|
2051
2155
|
*/
|
|
2052
2156
|
getWafConfig(getWafConfigRequest) {
|
|
2053
2157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2061,7 +2165,8 @@ class WaasClient {
|
|
|
2061
2165
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2062
2166
|
"opc-request-id": getWafConfigRequest.opcRequestId
|
|
2063
2167
|
};
|
|
2064
|
-
const
|
|
2168
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2169
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWafConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
2065
2170
|
if (this.logger)
|
|
2066
2171
|
retrier.logger = this.logger;
|
|
2067
2172
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2103,10 +2208,11 @@ class WaasClient {
|
|
|
2103
2208
|
}
|
|
2104
2209
|
/**
|
|
2105
2210
|
* Gets the details of a specified work request.
|
|
2211
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2106
2212
|
* @param GetWorkRequestRequest
|
|
2107
2213
|
* @return GetWorkRequestResponse
|
|
2108
2214
|
* @throws OciError when an error occurs
|
|
2109
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2215
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2110
2216
|
*/
|
|
2111
2217
|
getWorkRequest(getWorkRequestRequest) {
|
|
2112
2218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2120,7 +2226,8 @@ class WaasClient {
|
|
|
2120
2226
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2121
2227
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
2122
2228
|
};
|
|
2123
|
-
const
|
|
2229
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2230
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2124
2231
|
if (this.logger)
|
|
2125
2232
|
retrier.logger = this.logger;
|
|
2126
2233
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2168,10 +2275,11 @@ class WaasClient {
|
|
|
2168
2275
|
/**
|
|
2169
2276
|
* Gets the currently configured access rules for the Web Application Firewall configuration of a specified WAAS policy.
|
|
2170
2277
|
* The order of the access rules is important. The rules will be checked in the order they are specified and the first matching rule will be used.
|
|
2278
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2171
2279
|
* @param ListAccessRulesRequest
|
|
2172
2280
|
* @return ListAccessRulesResponse
|
|
2173
2281
|
* @throws OciError when an error occurs
|
|
2174
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2282
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListAccessRules.ts.html |here} to see how to use ListAccessRules API.
|
|
2175
2283
|
*/
|
|
2176
2284
|
listAccessRules(listAccessRulesRequest) {
|
|
2177
2285
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2188,7 +2296,8 @@ class WaasClient {
|
|
|
2188
2296
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2189
2297
|
"opc-request-id": listAccessRulesRequest.opcRequestId
|
|
2190
2298
|
};
|
|
2191
|
-
const
|
|
2299
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2300
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2192
2301
|
if (this.logger)
|
|
2193
2302
|
retrier.logger = this.logger;
|
|
2194
2303
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2234,6 +2343,7 @@ class WaasClient {
|
|
|
2234
2343
|
});
|
|
2235
2344
|
}
|
|
2236
2345
|
/**
|
|
2346
|
+
* NOTE: This function is deprecated in favor of listAccessRulesRecordIterator function.
|
|
2237
2347
|
* Creates a new async iterator which will iterate over the models.AccessRule objects
|
|
2238
2348
|
* contained in responses from the listAccessRules operation. This iterator will fetch more data from the
|
|
2239
2349
|
* server as needed.
|
|
@@ -2244,6 +2354,7 @@ class WaasClient {
|
|
|
2244
2354
|
return oci_common_1.paginateRecords(request, req => this.listAccessRules(req));
|
|
2245
2355
|
}
|
|
2246
2356
|
/**
|
|
2357
|
+
* NOTE: This function is deprecated in favor of listAccessRulesResponseIterator function.
|
|
2247
2358
|
* Creates a new async iterator which will iterate over the responses received from the listAccessRules operation. This iterator
|
|
2248
2359
|
* will fetch more data from the server as needed.
|
|
2249
2360
|
*
|
|
@@ -2252,12 +2363,32 @@ class WaasClient {
|
|
|
2252
2363
|
listAllAccessRulesResponses(request) {
|
|
2253
2364
|
return oci_common_1.paginateResponses(request, req => this.listAccessRules(req));
|
|
2254
2365
|
}
|
|
2366
|
+
/**
|
|
2367
|
+
* Creates a new async iterator which will iterate over the models.AccessRule objects
|
|
2368
|
+
* contained in responses from the listAccessRules operation. This iterator will fetch more data from the
|
|
2369
|
+
* server as needed.
|
|
2370
|
+
*
|
|
2371
|
+
* @param request a request which can be sent to the service operation
|
|
2372
|
+
*/
|
|
2373
|
+
listAccessRulesRecordIterator(request) {
|
|
2374
|
+
return oci_common_1.paginateRecords(request, req => this.listAccessRules(req));
|
|
2375
|
+
}
|
|
2376
|
+
/**
|
|
2377
|
+
* Creates a new async iterator which will iterate over the responses received from the listAccessRules operation. This iterator
|
|
2378
|
+
* will fetch more data from the server as needed.
|
|
2379
|
+
*
|
|
2380
|
+
* @param request a request which can be sent to the service operation
|
|
2381
|
+
*/
|
|
2382
|
+
listAccessRulesResponseIterator(request) {
|
|
2383
|
+
return oci_common_1.paginateResponses(request, req => this.listAccessRules(req));
|
|
2384
|
+
}
|
|
2255
2385
|
/**
|
|
2256
2386
|
* Gets a list of address lists that can be used in a WAAS policy.
|
|
2387
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2257
2388
|
* @param ListAddressListsRequest
|
|
2258
2389
|
* @return ListAddressListsResponse
|
|
2259
2390
|
* @throws OciError when an error occurs
|
|
2260
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2391
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListAddressLists.ts.html |here} to see how to use ListAddressLists API.
|
|
2261
2392
|
*/
|
|
2262
2393
|
listAddressLists(listAddressListsRequest) {
|
|
2263
2394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2280,7 +2411,8 @@ class WaasClient {
|
|
|
2280
2411
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2281
2412
|
"opc-request-id": listAddressListsRequest.opcRequestId
|
|
2282
2413
|
};
|
|
2283
|
-
const
|
|
2414
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2415
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAddressListsRequest.retryConfiguration, specRetryConfiguration);
|
|
2284
2416
|
if (this.logger)
|
|
2285
2417
|
retrier.logger = this.logger;
|
|
2286
2418
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2321,6 +2453,7 @@ class WaasClient {
|
|
|
2321
2453
|
});
|
|
2322
2454
|
}
|
|
2323
2455
|
/**
|
|
2456
|
+
* NOTE: This function is deprecated in favor of listAddressListsRecordIterator function.
|
|
2324
2457
|
* Creates a new async iterator which will iterate over the models.AddressListSummary objects
|
|
2325
2458
|
* contained in responses from the listAddressLists operation. This iterator will fetch more data from the
|
|
2326
2459
|
* server as needed.
|
|
@@ -2331,6 +2464,7 @@ class WaasClient {
|
|
|
2331
2464
|
return oci_common_1.paginateRecords(request, req => this.listAddressLists(req));
|
|
2332
2465
|
}
|
|
2333
2466
|
/**
|
|
2467
|
+
* NOTE: This function is deprecated in favor of listAddressListsResponseIterator function.
|
|
2334
2468
|
* Creates a new async iterator which will iterate over the responses received from the listAddressLists operation. This iterator
|
|
2335
2469
|
* will fetch more data from the server as needed.
|
|
2336
2470
|
*
|
|
@@ -2339,13 +2473,33 @@ class WaasClient {
|
|
|
2339
2473
|
listAllAddressListsResponses(request) {
|
|
2340
2474
|
return oci_common_1.paginateResponses(request, req => this.listAddressLists(req));
|
|
2341
2475
|
}
|
|
2476
|
+
/**
|
|
2477
|
+
* Creates a new async iterator which will iterate over the models.AddressListSummary objects
|
|
2478
|
+
* contained in responses from the listAddressLists operation. This iterator will fetch more data from the
|
|
2479
|
+
* server as needed.
|
|
2480
|
+
*
|
|
2481
|
+
* @param request a request which can be sent to the service operation
|
|
2482
|
+
*/
|
|
2483
|
+
listAddressListsRecordIterator(request) {
|
|
2484
|
+
return oci_common_1.paginateRecords(request, req => this.listAddressLists(req));
|
|
2485
|
+
}
|
|
2486
|
+
/**
|
|
2487
|
+
* Creates a new async iterator which will iterate over the responses received from the listAddressLists operation. This iterator
|
|
2488
|
+
* will fetch more data from the server as needed.
|
|
2489
|
+
*
|
|
2490
|
+
* @param request a request which can be sent to the service operation
|
|
2491
|
+
*/
|
|
2492
|
+
listAddressListsResponseIterator(request) {
|
|
2493
|
+
return oci_common_1.paginateResponses(request, req => this.listAddressLists(req));
|
|
2494
|
+
}
|
|
2342
2495
|
/**
|
|
2343
2496
|
* Gets the currently configured caching rules for the Web Application Firewall configuration of a specified WAAS policy.
|
|
2344
2497
|
* The rules are processed in the order they are specified in and the first matching rule will be used when processing a request.
|
|
2498
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2345
2499
|
* @param ListCachingRulesRequest
|
|
2346
2500
|
* @return ListCachingRulesResponse
|
|
2347
2501
|
* @throws OciError when an error occurs
|
|
2348
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2502
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListCachingRules.ts.html |here} to see how to use ListCachingRules API.
|
|
2349
2503
|
*/
|
|
2350
2504
|
listCachingRules(listCachingRulesRequest) {
|
|
2351
2505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2362,7 +2516,8 @@ class WaasClient {
|
|
|
2362
2516
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2363
2517
|
"opc-request-id": listCachingRulesRequest.opcRequestId
|
|
2364
2518
|
};
|
|
2365
|
-
const
|
|
2519
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2520
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCachingRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2366
2521
|
if (this.logger)
|
|
2367
2522
|
retrier.logger = this.logger;
|
|
2368
2523
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2408,6 +2563,7 @@ class WaasClient {
|
|
|
2408
2563
|
});
|
|
2409
2564
|
}
|
|
2410
2565
|
/**
|
|
2566
|
+
* NOTE: This function is deprecated in favor of listCachingRulesRecordIterator function.
|
|
2411
2567
|
* Creates a new async iterator which will iterate over the models.CachingRuleSummary objects
|
|
2412
2568
|
* contained in responses from the listCachingRules operation. This iterator will fetch more data from the
|
|
2413
2569
|
* server as needed.
|
|
@@ -2418,6 +2574,7 @@ class WaasClient {
|
|
|
2418
2574
|
return oci_common_1.paginateRecords(request, req => this.listCachingRules(req));
|
|
2419
2575
|
}
|
|
2420
2576
|
/**
|
|
2577
|
+
* NOTE: This function is deprecated in favor of listCachingRulesResponseIterator function.
|
|
2421
2578
|
* Creates a new async iterator which will iterate over the responses received from the listCachingRules operation. This iterator
|
|
2422
2579
|
* will fetch more data from the server as needed.
|
|
2423
2580
|
*
|
|
@@ -2426,6 +2583,25 @@ class WaasClient {
|
|
|
2426
2583
|
listAllCachingRulesResponses(request) {
|
|
2427
2584
|
return oci_common_1.paginateResponses(request, req => this.listCachingRules(req));
|
|
2428
2585
|
}
|
|
2586
|
+
/**
|
|
2587
|
+
* Creates a new async iterator which will iterate over the models.CachingRuleSummary objects
|
|
2588
|
+
* contained in responses from the listCachingRules operation. This iterator will fetch more data from the
|
|
2589
|
+
* server as needed.
|
|
2590
|
+
*
|
|
2591
|
+
* @param request a request which can be sent to the service operation
|
|
2592
|
+
*/
|
|
2593
|
+
listCachingRulesRecordIterator(request) {
|
|
2594
|
+
return oci_common_1.paginateRecords(request, req => this.listCachingRules(req));
|
|
2595
|
+
}
|
|
2596
|
+
/**
|
|
2597
|
+
* Creates a new async iterator which will iterate over the responses received from the listCachingRules operation. This iterator
|
|
2598
|
+
* will fetch more data from the server as needed.
|
|
2599
|
+
*
|
|
2600
|
+
* @param request a request which can be sent to the service operation
|
|
2601
|
+
*/
|
|
2602
|
+
listCachingRulesResponseIterator(request) {
|
|
2603
|
+
return oci_common_1.paginateResponses(request, req => this.listCachingRules(req));
|
|
2604
|
+
}
|
|
2429
2605
|
/**
|
|
2430
2606
|
* Gets the list of currently configured CAPTCHA challenges in the Web
|
|
2431
2607
|
* Application Firewall configuration of a WAAS policy.
|
|
@@ -2433,10 +2609,11 @@ class WaasClient {
|
|
|
2433
2609
|
The order of the CAPTCHA challenges is important. The URL for each
|
|
2434
2610
|
* CAPTCHA will be checked in the order they are created.
|
|
2435
2611
|
*
|
|
2612
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2436
2613
|
* @param ListCaptchasRequest
|
|
2437
2614
|
* @return ListCaptchasResponse
|
|
2438
2615
|
* @throws OciError when an error occurs
|
|
2439
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2616
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListCaptchas.ts.html |here} to see how to use ListCaptchas API.
|
|
2440
2617
|
*/
|
|
2441
2618
|
listCaptchas(listCaptchasRequest) {
|
|
2442
2619
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2453,7 +2630,8 @@ class WaasClient {
|
|
|
2453
2630
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2454
2631
|
"opc-request-id": listCaptchasRequest.opcRequestId
|
|
2455
2632
|
};
|
|
2456
|
-
const
|
|
2633
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2634
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCaptchasRequest.retryConfiguration, specRetryConfiguration);
|
|
2457
2635
|
if (this.logger)
|
|
2458
2636
|
retrier.logger = this.logger;
|
|
2459
2637
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2499,6 +2677,7 @@ class WaasClient {
|
|
|
2499
2677
|
});
|
|
2500
2678
|
}
|
|
2501
2679
|
/**
|
|
2680
|
+
* NOTE: This function is deprecated in favor of listCaptchasRecordIterator function.
|
|
2502
2681
|
* Creates a new async iterator which will iterate over the models.Captcha objects
|
|
2503
2682
|
* contained in responses from the listCaptchas operation. This iterator will fetch more data from the
|
|
2504
2683
|
* server as needed.
|
|
@@ -2509,6 +2688,7 @@ class WaasClient {
|
|
|
2509
2688
|
return oci_common_1.paginateRecords(request, req => this.listCaptchas(req));
|
|
2510
2689
|
}
|
|
2511
2690
|
/**
|
|
2691
|
+
* NOTE: This function is deprecated in favor of listCaptchasResponseIterator function.
|
|
2512
2692
|
* Creates a new async iterator which will iterate over the responses received from the listCaptchas operation. This iterator
|
|
2513
2693
|
* will fetch more data from the server as needed.
|
|
2514
2694
|
*
|
|
@@ -2517,12 +2697,32 @@ class WaasClient {
|
|
|
2517
2697
|
listAllCaptchasResponses(request) {
|
|
2518
2698
|
return oci_common_1.paginateResponses(request, req => this.listCaptchas(req));
|
|
2519
2699
|
}
|
|
2700
|
+
/**
|
|
2701
|
+
* Creates a new async iterator which will iterate over the models.Captcha objects
|
|
2702
|
+
* contained in responses from the listCaptchas operation. This iterator will fetch more data from the
|
|
2703
|
+
* server as needed.
|
|
2704
|
+
*
|
|
2705
|
+
* @param request a request which can be sent to the service operation
|
|
2706
|
+
*/
|
|
2707
|
+
listCaptchasRecordIterator(request) {
|
|
2708
|
+
return oci_common_1.paginateRecords(request, req => this.listCaptchas(req));
|
|
2709
|
+
}
|
|
2710
|
+
/**
|
|
2711
|
+
* Creates a new async iterator which will iterate over the responses received from the listCaptchas operation. This iterator
|
|
2712
|
+
* will fetch more data from the server as needed.
|
|
2713
|
+
*
|
|
2714
|
+
* @param request a request which can be sent to the service operation
|
|
2715
|
+
*/
|
|
2716
|
+
listCaptchasResponseIterator(request) {
|
|
2717
|
+
return oci_common_1.paginateResponses(request, req => this.listCaptchas(req));
|
|
2718
|
+
}
|
|
2520
2719
|
/**
|
|
2521
2720
|
* Gets a list of SSL certificates that can be used in a WAAS policy.
|
|
2721
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2522
2722
|
* @param ListCertificatesRequest
|
|
2523
2723
|
* @return ListCertificatesResponse
|
|
2524
2724
|
* @throws OciError when an error occurs
|
|
2525
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2725
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListCertificates.ts.html |here} to see how to use ListCertificates API.
|
|
2526
2726
|
*/
|
|
2527
2727
|
listCertificates(listCertificatesRequest) {
|
|
2528
2728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2545,7 +2745,8 @@ class WaasClient {
|
|
|
2545
2745
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2546
2746
|
"opc-request-id": listCertificatesRequest.opcRequestId
|
|
2547
2747
|
};
|
|
2548
|
-
const
|
|
2748
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2749
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCertificatesRequest.retryConfiguration, specRetryConfiguration);
|
|
2549
2750
|
if (this.logger)
|
|
2550
2751
|
retrier.logger = this.logger;
|
|
2551
2752
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2586,6 +2787,7 @@ class WaasClient {
|
|
|
2586
2787
|
});
|
|
2587
2788
|
}
|
|
2588
2789
|
/**
|
|
2790
|
+
* NOTE: This function is deprecated in favor of listCertificatesRecordIterator function.
|
|
2589
2791
|
* Creates a new async iterator which will iterate over the models.CertificateSummary objects
|
|
2590
2792
|
* contained in responses from the listCertificates operation. This iterator will fetch more data from the
|
|
2591
2793
|
* server as needed.
|
|
@@ -2596,6 +2798,7 @@ class WaasClient {
|
|
|
2596
2798
|
return oci_common_1.paginateRecords(request, req => this.listCertificates(req));
|
|
2597
2799
|
}
|
|
2598
2800
|
/**
|
|
2801
|
+
* NOTE: This function is deprecated in favor of listCertificatesResponseIterator function.
|
|
2599
2802
|
* Creates a new async iterator which will iterate over the responses received from the listCertificates operation. This iterator
|
|
2600
2803
|
* will fetch more data from the server as needed.
|
|
2601
2804
|
*
|
|
@@ -2604,12 +2807,32 @@ class WaasClient {
|
|
|
2604
2807
|
listAllCertificatesResponses(request) {
|
|
2605
2808
|
return oci_common_1.paginateResponses(request, req => this.listCertificates(req));
|
|
2606
2809
|
}
|
|
2810
|
+
/**
|
|
2811
|
+
* Creates a new async iterator which will iterate over the models.CertificateSummary objects
|
|
2812
|
+
* contained in responses from the listCertificates operation. This iterator will fetch more data from the
|
|
2813
|
+
* server as needed.
|
|
2814
|
+
*
|
|
2815
|
+
* @param request a request which can be sent to the service operation
|
|
2816
|
+
*/
|
|
2817
|
+
listCertificatesRecordIterator(request) {
|
|
2818
|
+
return oci_common_1.paginateRecords(request, req => this.listCertificates(req));
|
|
2819
|
+
}
|
|
2820
|
+
/**
|
|
2821
|
+
* Creates a new async iterator which will iterate over the responses received from the listCertificates operation. This iterator
|
|
2822
|
+
* will fetch more data from the server as needed.
|
|
2823
|
+
*
|
|
2824
|
+
* @param request a request which can be sent to the service operation
|
|
2825
|
+
*/
|
|
2826
|
+
listCertificatesResponseIterator(request) {
|
|
2827
|
+
return oci_common_1.paginateResponses(request, req => this.listCertificates(req));
|
|
2828
|
+
}
|
|
2607
2829
|
/**
|
|
2608
2830
|
* Gets a list of custom protection rules for the specified Web Application Firewall.
|
|
2831
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2609
2832
|
* @param ListCustomProtectionRulesRequest
|
|
2610
2833
|
* @return ListCustomProtectionRulesResponse
|
|
2611
2834
|
* @throws OciError when an error occurs
|
|
2612
|
-
* @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/waas/ListCustomProtectionRules.ts.html |here} to see how to use ListCustomProtectionRules API.
|
|
2613
2836
|
*/
|
|
2614
2837
|
listCustomProtectionRules(listCustomProtectionRulesRequest) {
|
|
2615
2838
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2632,7 +2855,8 @@ class WaasClient {
|
|
|
2632
2855
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2633
2856
|
"opc-request-id": listCustomProtectionRulesRequest.opcRequestId
|
|
2634
2857
|
};
|
|
2635
|
-
const
|
|
2858
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2859
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCustomProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2636
2860
|
if (this.logger)
|
|
2637
2861
|
retrier.logger = this.logger;
|
|
2638
2862
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2673,6 +2897,7 @@ class WaasClient {
|
|
|
2673
2897
|
});
|
|
2674
2898
|
}
|
|
2675
2899
|
/**
|
|
2900
|
+
* NOTE: This function is deprecated in favor of listCustomProtectionRulesRecordIterator function.
|
|
2676
2901
|
* Creates a new async iterator which will iterate over the models.CustomProtectionRuleSummary objects
|
|
2677
2902
|
* contained in responses from the listCustomProtectionRules operation. This iterator will fetch more data from the
|
|
2678
2903
|
* server as needed.
|
|
@@ -2683,6 +2908,7 @@ class WaasClient {
|
|
|
2683
2908
|
return oci_common_1.paginateRecords(request, req => this.listCustomProtectionRules(req));
|
|
2684
2909
|
}
|
|
2685
2910
|
/**
|
|
2911
|
+
* NOTE: This function is deprecated in favor of listCustomProtectionRulesResponseIterator function.
|
|
2686
2912
|
* Creates a new async iterator which will iterate over the responses received from the listCustomProtectionRules operation. This iterator
|
|
2687
2913
|
* will fetch more data from the server as needed.
|
|
2688
2914
|
*
|
|
@@ -2691,12 +2917,32 @@ class WaasClient {
|
|
|
2691
2917
|
listAllCustomProtectionRulesResponses(request) {
|
|
2692
2918
|
return oci_common_1.paginateResponses(request, req => this.listCustomProtectionRules(req));
|
|
2693
2919
|
}
|
|
2920
|
+
/**
|
|
2921
|
+
* Creates a new async iterator which will iterate over the models.CustomProtectionRuleSummary objects
|
|
2922
|
+
* contained in responses from the listCustomProtectionRules operation. This iterator will fetch more data from the
|
|
2923
|
+
* server as needed.
|
|
2924
|
+
*
|
|
2925
|
+
* @param request a request which can be sent to the service operation
|
|
2926
|
+
*/
|
|
2927
|
+
listCustomProtectionRulesRecordIterator(request) {
|
|
2928
|
+
return oci_common_1.paginateRecords(request, req => this.listCustomProtectionRules(req));
|
|
2929
|
+
}
|
|
2930
|
+
/**
|
|
2931
|
+
* Creates a new async iterator which will iterate over the responses received from the listCustomProtectionRules operation. This iterator
|
|
2932
|
+
* will fetch more data from the server as needed.
|
|
2933
|
+
*
|
|
2934
|
+
* @param request a request which can be sent to the service operation
|
|
2935
|
+
*/
|
|
2936
|
+
listCustomProtectionRulesResponseIterator(request) {
|
|
2937
|
+
return oci_common_1.paginateResponses(request, req => this.listCustomProtectionRules(req));
|
|
2938
|
+
}
|
|
2694
2939
|
/**
|
|
2695
2940
|
* Return the list of the tenant's edge node subnets. Use these CIDR blocks to restrict incoming traffic to your origin. These subnets are owned by OCI and forward traffic to customer origins. They are not associated with specific regions or compartments.
|
|
2941
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2696
2942
|
* @param ListEdgeSubnetsRequest
|
|
2697
2943
|
* @return ListEdgeSubnetsResponse
|
|
2698
2944
|
* @throws OciError when an error occurs
|
|
2699
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2945
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListEdgeSubnets.ts.html |here} to see how to use ListEdgeSubnets API.
|
|
2700
2946
|
*/
|
|
2701
2947
|
listEdgeSubnets(listEdgeSubnetsRequest) {
|
|
2702
2948
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2713,7 +2959,8 @@ class WaasClient {
|
|
|
2713
2959
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2714
2960
|
"opc-request-id": listEdgeSubnetsRequest.opcRequestId
|
|
2715
2961
|
};
|
|
2716
|
-
const
|
|
2962
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2963
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEdgeSubnetsRequest.retryConfiguration, specRetryConfiguration);
|
|
2717
2964
|
if (this.logger)
|
|
2718
2965
|
retrier.logger = this.logger;
|
|
2719
2966
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2754,6 +3001,7 @@ class WaasClient {
|
|
|
2754
3001
|
});
|
|
2755
3002
|
}
|
|
2756
3003
|
/**
|
|
3004
|
+
* NOTE: This function is deprecated in favor of listEdgeSubnetsRecordIterator function.
|
|
2757
3005
|
* Creates a new async iterator which will iterate over the models.EdgeSubnet objects
|
|
2758
3006
|
* contained in responses from the listEdgeSubnets operation. This iterator will fetch more data from the
|
|
2759
3007
|
* server as needed.
|
|
@@ -2764,6 +3012,7 @@ class WaasClient {
|
|
|
2764
3012
|
return oci_common_1.paginateRecords(request, req => this.listEdgeSubnets(req));
|
|
2765
3013
|
}
|
|
2766
3014
|
/**
|
|
3015
|
+
* NOTE: This function is deprecated in favor of listEdgeSubnetsResponseIterator function.
|
|
2767
3016
|
* Creates a new async iterator which will iterate over the responses received from the listEdgeSubnets operation. This iterator
|
|
2768
3017
|
* will fetch more data from the server as needed.
|
|
2769
3018
|
*
|
|
@@ -2772,15 +3021,35 @@ class WaasClient {
|
|
|
2772
3021
|
listAllEdgeSubnetsResponses(request) {
|
|
2773
3022
|
return oci_common_1.paginateResponses(request, req => this.listEdgeSubnets(req));
|
|
2774
3023
|
}
|
|
3024
|
+
/**
|
|
3025
|
+
* Creates a new async iterator which will iterate over the models.EdgeSubnet objects
|
|
3026
|
+
* contained in responses from the listEdgeSubnets operation. This iterator will fetch more data from the
|
|
3027
|
+
* server as needed.
|
|
3028
|
+
*
|
|
3029
|
+
* @param request a request which can be sent to the service operation
|
|
3030
|
+
*/
|
|
3031
|
+
listEdgeSubnetsRecordIterator(request) {
|
|
3032
|
+
return oci_common_1.paginateRecords(request, req => this.listEdgeSubnets(req));
|
|
3033
|
+
}
|
|
3034
|
+
/**
|
|
3035
|
+
* Creates a new async iterator which will iterate over the responses received from the listEdgeSubnets operation. This iterator
|
|
3036
|
+
* will fetch more data from the server as needed.
|
|
3037
|
+
*
|
|
3038
|
+
* @param request a request which can be sent to the service operation
|
|
3039
|
+
*/
|
|
3040
|
+
listEdgeSubnetsResponseIterator(request) {
|
|
3041
|
+
return oci_common_1.paginateResponses(request, req => this.listEdgeSubnets(req));
|
|
3042
|
+
}
|
|
2775
3043
|
/**
|
|
2776
3044
|
* Gets the list of good bots defined in the Web Application Firewall configuration for a WAAS policy.
|
|
2777
3045
|
* <p>
|
|
2778
3046
|
The list is sorted by `key`, in ascending order.
|
|
2779
3047
|
*
|
|
3048
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2780
3049
|
* @param ListGoodBotsRequest
|
|
2781
3050
|
* @return ListGoodBotsResponse
|
|
2782
3051
|
* @throws OciError when an error occurs
|
|
2783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3052
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListGoodBots.ts.html |here} to see how to use ListGoodBots API.
|
|
2784
3053
|
*/
|
|
2785
3054
|
listGoodBots(listGoodBotsRequest) {
|
|
2786
3055
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2797,7 +3066,8 @@ class WaasClient {
|
|
|
2797
3066
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2798
3067
|
"opc-request-id": listGoodBotsRequest.opcRequestId
|
|
2799
3068
|
};
|
|
2800
|
-
const
|
|
3069
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3070
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGoodBotsRequest.retryConfiguration, specRetryConfiguration);
|
|
2801
3071
|
if (this.logger)
|
|
2802
3072
|
retrier.logger = this.logger;
|
|
2803
3073
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2843,6 +3113,7 @@ class WaasClient {
|
|
|
2843
3113
|
});
|
|
2844
3114
|
}
|
|
2845
3115
|
/**
|
|
3116
|
+
* NOTE: This function is deprecated in favor of listGoodBotsRecordIterator function.
|
|
2846
3117
|
* Creates a new async iterator which will iterate over the models.GoodBot objects
|
|
2847
3118
|
* contained in responses from the listGoodBots operation. This iterator will fetch more data from the
|
|
2848
3119
|
* server as needed.
|
|
@@ -2853,6 +3124,7 @@ class WaasClient {
|
|
|
2853
3124
|
return oci_common_1.paginateRecords(request, req => this.listGoodBots(req));
|
|
2854
3125
|
}
|
|
2855
3126
|
/**
|
|
3127
|
+
* NOTE: This function is deprecated in favor of listGoodBotsResponseIterator function.
|
|
2856
3128
|
* Creates a new async iterator which will iterate over the responses received from the listGoodBots operation. This iterator
|
|
2857
3129
|
* will fetch more data from the server as needed.
|
|
2858
3130
|
*
|
|
@@ -2861,13 +3133,33 @@ class WaasClient {
|
|
|
2861
3133
|
listAllGoodBotsResponses(request) {
|
|
2862
3134
|
return oci_common_1.paginateResponses(request, req => this.listGoodBots(req));
|
|
2863
3135
|
}
|
|
3136
|
+
/**
|
|
3137
|
+
* Creates a new async iterator which will iterate over the models.GoodBot objects
|
|
3138
|
+
* contained in responses from the listGoodBots operation. This iterator will fetch more data from the
|
|
3139
|
+
* server as needed.
|
|
3140
|
+
*
|
|
3141
|
+
* @param request a request which can be sent to the service operation
|
|
3142
|
+
*/
|
|
3143
|
+
listGoodBotsRecordIterator(request) {
|
|
3144
|
+
return oci_common_1.paginateRecords(request, req => this.listGoodBots(req));
|
|
3145
|
+
}
|
|
3146
|
+
/**
|
|
3147
|
+
* Creates a new async iterator which will iterate over the responses received from the listGoodBots operation. This iterator
|
|
3148
|
+
* will fetch more data from the server as needed.
|
|
3149
|
+
*
|
|
3150
|
+
* @param request a request which can be sent to the service operation
|
|
3151
|
+
*/
|
|
3152
|
+
listGoodBotsResponseIterator(request) {
|
|
3153
|
+
return oci_common_1.paginateResponses(request, req => this.listGoodBots(req));
|
|
3154
|
+
}
|
|
2864
3155
|
/**
|
|
2865
3156
|
* Gets the list of available protection rules for a WAAS policy. Use the `GetWafConfig` operation to view a list of currently configured protection rules for the Web Application Firewall, or use the `ListRecommendations` operation to get a list of recommended protection rules for the Web Application Firewall.
|
|
2866
3157
|
* The list is sorted by `key`, in ascending order.
|
|
3158
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2867
3159
|
* @param ListProtectionRulesRequest
|
|
2868
3160
|
* @return ListProtectionRulesResponse
|
|
2869
3161
|
* @throws OciError when an error occurs
|
|
2870
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3162
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListProtectionRules.ts.html |here} to see how to use ListProtectionRules API.
|
|
2871
3163
|
*/
|
|
2872
3164
|
listProtectionRules(listProtectionRulesRequest) {
|
|
2873
3165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2886,7 +3178,8 @@ class WaasClient {
|
|
|
2886
3178
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2887
3179
|
"opc-request-id": listProtectionRulesRequest.opcRequestId
|
|
2888
3180
|
};
|
|
2889
|
-
const
|
|
3181
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3182
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2890
3183
|
if (this.logger)
|
|
2891
3184
|
retrier.logger = this.logger;
|
|
2892
3185
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2932,6 +3225,7 @@ class WaasClient {
|
|
|
2932
3225
|
});
|
|
2933
3226
|
}
|
|
2934
3227
|
/**
|
|
3228
|
+
* NOTE: This function is deprecated in favor of listProtectionRulesRecordIterator function.
|
|
2935
3229
|
* Creates a new async iterator which will iterate over the models.ProtectionRule objects
|
|
2936
3230
|
* contained in responses from the listProtectionRules operation. This iterator will fetch more data from the
|
|
2937
3231
|
* server as needed.
|
|
@@ -2942,6 +3236,7 @@ class WaasClient {
|
|
|
2942
3236
|
return oci_common_1.paginateRecords(request, req => this.listProtectionRules(req));
|
|
2943
3237
|
}
|
|
2944
3238
|
/**
|
|
3239
|
+
* NOTE: This function is deprecated in favor of listProtectionRulesResponseIterator function.
|
|
2945
3240
|
* Creates a new async iterator which will iterate over the responses received from the listProtectionRules operation. This iterator
|
|
2946
3241
|
* will fetch more data from the server as needed.
|
|
2947
3242
|
*
|
|
@@ -2950,15 +3245,35 @@ class WaasClient {
|
|
|
2950
3245
|
listAllProtectionRulesResponses(request) {
|
|
2951
3246
|
return oci_common_1.paginateResponses(request, req => this.listProtectionRules(req));
|
|
2952
3247
|
}
|
|
3248
|
+
/**
|
|
3249
|
+
* Creates a new async iterator which will iterate over the models.ProtectionRule objects
|
|
3250
|
+
* contained in responses from the listProtectionRules operation. This iterator will fetch more data from the
|
|
3251
|
+
* server as needed.
|
|
3252
|
+
*
|
|
3253
|
+
* @param request a request which can be sent to the service operation
|
|
3254
|
+
*/
|
|
3255
|
+
listProtectionRulesRecordIterator(request) {
|
|
3256
|
+
return oci_common_1.paginateRecords(request, req => this.listProtectionRules(req));
|
|
3257
|
+
}
|
|
3258
|
+
/**
|
|
3259
|
+
* Creates a new async iterator which will iterate over the responses received from the listProtectionRules operation. This iterator
|
|
3260
|
+
* will fetch more data from the server as needed.
|
|
3261
|
+
*
|
|
3262
|
+
* @param request a request which can be sent to the service operation
|
|
3263
|
+
*/
|
|
3264
|
+
listProtectionRulesResponseIterator(request) {
|
|
3265
|
+
return oci_common_1.paginateResponses(request, req => this.listProtectionRules(req));
|
|
3266
|
+
}
|
|
2953
3267
|
/**
|
|
2954
3268
|
* Gets the list of recommended Web Application Firewall protection rules.
|
|
2955
3269
|
* <p>
|
|
2956
3270
|
Use the `POST /waasPolicies/{waasPolicyId}/actions/acceptWafConfigRecommendations` method to accept recommended Web Application Firewall protection rules. For more information, see [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm).
|
|
2957
3271
|
* The list is sorted by `key`, in ascending order.
|
|
3272
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2958
3273
|
* @param ListRecommendationsRequest
|
|
2959
3274
|
* @return ListRecommendationsResponse
|
|
2960
3275
|
* @throws OciError when an error occurs
|
|
2961
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListRecommendations.ts.html |here} to see how to use ListRecommendations API.
|
|
2962
3277
|
*/
|
|
2963
3278
|
listRecommendations(listRecommendationsRequest) {
|
|
2964
3279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2976,7 +3291,8 @@ class WaasClient {
|
|
|
2976
3291
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2977
3292
|
"opc-request-id": listRecommendationsRequest.opcRequestId
|
|
2978
3293
|
};
|
|
2979
|
-
const
|
|
3294
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3295
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRecommendationsRequest.retryConfiguration, specRetryConfiguration);
|
|
2980
3296
|
if (this.logger)
|
|
2981
3297
|
retrier.logger = this.logger;
|
|
2982
3298
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3022,6 +3338,7 @@ class WaasClient {
|
|
|
3022
3338
|
});
|
|
3023
3339
|
}
|
|
3024
3340
|
/**
|
|
3341
|
+
* NOTE: This function is deprecated in favor of listRecommendationsRecordIterator function.
|
|
3025
3342
|
* Creates a new async iterator which will iterate over the models.Recommendation objects
|
|
3026
3343
|
* contained in responses from the listRecommendations operation. This iterator will fetch more data from the
|
|
3027
3344
|
* server as needed.
|
|
@@ -3032,6 +3349,7 @@ class WaasClient {
|
|
|
3032
3349
|
return oci_common_1.paginateRecords(request, req => this.listRecommendations(req));
|
|
3033
3350
|
}
|
|
3034
3351
|
/**
|
|
3352
|
+
* NOTE: This function is deprecated in favor of listRecommendationsResponseIterator function.
|
|
3035
3353
|
* Creates a new async iterator which will iterate over the responses received from the listRecommendations operation. This iterator
|
|
3036
3354
|
* will fetch more data from the server as needed.
|
|
3037
3355
|
*
|
|
@@ -3040,15 +3358,35 @@ class WaasClient {
|
|
|
3040
3358
|
listAllRecommendationsResponses(request) {
|
|
3041
3359
|
return oci_common_1.paginateResponses(request, req => this.listRecommendations(req));
|
|
3042
3360
|
}
|
|
3361
|
+
/**
|
|
3362
|
+
* Creates a new async iterator which will iterate over the models.Recommendation objects
|
|
3363
|
+
* contained in responses from the listRecommendations operation. This iterator will fetch more data from the
|
|
3364
|
+
* server as needed.
|
|
3365
|
+
*
|
|
3366
|
+
* @param request a request which can be sent to the service operation
|
|
3367
|
+
*/
|
|
3368
|
+
listRecommendationsRecordIterator(request) {
|
|
3369
|
+
return oci_common_1.paginateRecords(request, req => this.listRecommendations(req));
|
|
3370
|
+
}
|
|
3371
|
+
/**
|
|
3372
|
+
* Creates a new async iterator which will iterate over the responses received from the listRecommendations operation. This iterator
|
|
3373
|
+
* will fetch more data from the server as needed.
|
|
3374
|
+
*
|
|
3375
|
+
* @param request a request which can be sent to the service operation
|
|
3376
|
+
*/
|
|
3377
|
+
listRecommendationsResponseIterator(request) {
|
|
3378
|
+
return oci_common_1.paginateResponses(request, req => this.listRecommendations(req));
|
|
3379
|
+
}
|
|
3043
3380
|
/**
|
|
3044
3381
|
* Gets the list of available web application threat intelligence feeds
|
|
3045
3382
|
* and the actions set for each feed. The list is sorted by `key`,
|
|
3046
3383
|
* in ascending order.
|
|
3047
3384
|
*
|
|
3385
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3048
3386
|
* @param ListThreatFeedsRequest
|
|
3049
3387
|
* @return ListThreatFeedsResponse
|
|
3050
3388
|
* @throws OciError when an error occurs
|
|
3051
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3389
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListThreatFeeds.ts.html |here} to see how to use ListThreatFeeds API.
|
|
3052
3390
|
*/
|
|
3053
3391
|
listThreatFeeds(listThreatFeedsRequest) {
|
|
3054
3392
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3065,7 +3403,8 @@ class WaasClient {
|
|
|
3065
3403
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3066
3404
|
"opc-request-id": listThreatFeedsRequest.opcRequestId
|
|
3067
3405
|
};
|
|
3068
|
-
const
|
|
3406
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3407
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listThreatFeedsRequest.retryConfiguration, specRetryConfiguration);
|
|
3069
3408
|
if (this.logger)
|
|
3070
3409
|
retrier.logger = this.logger;
|
|
3071
3410
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3111,6 +3450,7 @@ class WaasClient {
|
|
|
3111
3450
|
});
|
|
3112
3451
|
}
|
|
3113
3452
|
/**
|
|
3453
|
+
* NOTE: This function is deprecated in favor of listThreatFeedsRecordIterator function.
|
|
3114
3454
|
* Creates a new async iterator which will iterate over the models.ThreatFeed objects
|
|
3115
3455
|
* contained in responses from the listThreatFeeds operation. This iterator will fetch more data from the
|
|
3116
3456
|
* server as needed.
|
|
@@ -3121,6 +3461,7 @@ class WaasClient {
|
|
|
3121
3461
|
return oci_common_1.paginateRecords(request, req => this.listThreatFeeds(req));
|
|
3122
3462
|
}
|
|
3123
3463
|
/**
|
|
3464
|
+
* NOTE: This function is deprecated in favor of listThreatFeedsResponseIterator function.
|
|
3124
3465
|
* Creates a new async iterator which will iterate over the responses received from the listThreatFeeds operation. This iterator
|
|
3125
3466
|
* will fetch more data from the server as needed.
|
|
3126
3467
|
*
|
|
@@ -3129,12 +3470,32 @@ class WaasClient {
|
|
|
3129
3470
|
listAllThreatFeedsResponses(request) {
|
|
3130
3471
|
return oci_common_1.paginateResponses(request, req => this.listThreatFeeds(req));
|
|
3131
3472
|
}
|
|
3473
|
+
/**
|
|
3474
|
+
* Creates a new async iterator which will iterate over the models.ThreatFeed objects
|
|
3475
|
+
* contained in responses from the listThreatFeeds operation. This iterator will fetch more data from the
|
|
3476
|
+
* server as needed.
|
|
3477
|
+
*
|
|
3478
|
+
* @param request a request which can be sent to the service operation
|
|
3479
|
+
*/
|
|
3480
|
+
listThreatFeedsRecordIterator(request) {
|
|
3481
|
+
return oci_common_1.paginateRecords(request, req => this.listThreatFeeds(req));
|
|
3482
|
+
}
|
|
3483
|
+
/**
|
|
3484
|
+
* Creates a new async iterator which will iterate over the responses received from the listThreatFeeds operation. This iterator
|
|
3485
|
+
* will fetch more data from the server as needed.
|
|
3486
|
+
*
|
|
3487
|
+
* @param request a request which can be sent to the service operation
|
|
3488
|
+
*/
|
|
3489
|
+
listThreatFeedsResponseIterator(request) {
|
|
3490
|
+
return oci_common_1.paginateResponses(request, req => this.listThreatFeeds(req));
|
|
3491
|
+
}
|
|
3132
3492
|
/**
|
|
3133
3493
|
* Gets a list of WAAS policies.
|
|
3494
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3134
3495
|
* @param ListWaasPoliciesRequest
|
|
3135
3496
|
* @return ListWaasPoliciesResponse
|
|
3136
3497
|
* @throws OciError when an error occurs
|
|
3137
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3498
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListWaasPolicies.ts.html |here} to see how to use ListWaasPolicies API.
|
|
3138
3499
|
*/
|
|
3139
3500
|
listWaasPolicies(listWaasPoliciesRequest) {
|
|
3140
3501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3157,7 +3518,8 @@ class WaasClient {
|
|
|
3157
3518
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3158
3519
|
"opc-request-id": listWaasPoliciesRequest.opcRequestId
|
|
3159
3520
|
};
|
|
3160
|
-
const
|
|
3521
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3522
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWaasPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
3161
3523
|
if (this.logger)
|
|
3162
3524
|
retrier.logger = this.logger;
|
|
3163
3525
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3198,6 +3560,7 @@ class WaasClient {
|
|
|
3198
3560
|
});
|
|
3199
3561
|
}
|
|
3200
3562
|
/**
|
|
3563
|
+
* NOTE: This function is deprecated in favor of listWaasPoliciesRecordIterator function.
|
|
3201
3564
|
* Creates a new async iterator which will iterate over the models.WaasPolicySummary objects
|
|
3202
3565
|
* contained in responses from the listWaasPolicies operation. This iterator will fetch more data from the
|
|
3203
3566
|
* server as needed.
|
|
@@ -3208,6 +3571,7 @@ class WaasClient {
|
|
|
3208
3571
|
return oci_common_1.paginateRecords(request, req => this.listWaasPolicies(req));
|
|
3209
3572
|
}
|
|
3210
3573
|
/**
|
|
3574
|
+
* NOTE: This function is deprecated in favor of listWaasPoliciesResponseIterator function.
|
|
3211
3575
|
* Creates a new async iterator which will iterate over the responses received from the listWaasPolicies operation. This iterator
|
|
3212
3576
|
* will fetch more data from the server as needed.
|
|
3213
3577
|
*
|
|
@@ -3216,12 +3580,32 @@ class WaasClient {
|
|
|
3216
3580
|
listAllWaasPoliciesResponses(request) {
|
|
3217
3581
|
return oci_common_1.paginateResponses(request, req => this.listWaasPolicies(req));
|
|
3218
3582
|
}
|
|
3583
|
+
/**
|
|
3584
|
+
* Creates a new async iterator which will iterate over the models.WaasPolicySummary objects
|
|
3585
|
+
* contained in responses from the listWaasPolicies operation. This iterator will fetch more data from the
|
|
3586
|
+
* server as needed.
|
|
3587
|
+
*
|
|
3588
|
+
* @param request a request which can be sent to the service operation
|
|
3589
|
+
*/
|
|
3590
|
+
listWaasPoliciesRecordIterator(request) {
|
|
3591
|
+
return oci_common_1.paginateRecords(request, req => this.listWaasPolicies(req));
|
|
3592
|
+
}
|
|
3593
|
+
/**
|
|
3594
|
+
* Creates a new async iterator which will iterate over the responses received from the listWaasPolicies operation. This iterator
|
|
3595
|
+
* will fetch more data from the server as needed.
|
|
3596
|
+
*
|
|
3597
|
+
* @param request a request which can be sent to the service operation
|
|
3598
|
+
*/
|
|
3599
|
+
listWaasPoliciesResponseIterator(request) {
|
|
3600
|
+
return oci_common_1.paginateResponses(request, req => this.listWaasPolicies(req));
|
|
3601
|
+
}
|
|
3219
3602
|
/**
|
|
3220
3603
|
* Gets the list of currently configured custom protection rules for a WAAS policy.
|
|
3604
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3221
3605
|
* @param ListWaasPolicyCustomProtectionRulesRequest
|
|
3222
3606
|
* @return ListWaasPolicyCustomProtectionRulesResponse
|
|
3223
3607
|
* @throws OciError when an error occurs
|
|
3224
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3608
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListWaasPolicyCustomProtectionRules.ts.html |here} to see how to use ListWaasPolicyCustomProtectionRules API.
|
|
3225
3609
|
*/
|
|
3226
3610
|
listWaasPolicyCustomProtectionRules(listWaasPolicyCustomProtectionRulesRequest) {
|
|
3227
3611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3240,7 +3624,8 @@ class WaasClient {
|
|
|
3240
3624
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3241
3625
|
"opc-request-id": listWaasPolicyCustomProtectionRulesRequest.opcRequestId
|
|
3242
3626
|
};
|
|
3243
|
-
const
|
|
3627
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3628
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWaasPolicyCustomProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
3244
3629
|
if (this.logger)
|
|
3245
3630
|
retrier.logger = this.logger;
|
|
3246
3631
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3286,6 +3671,7 @@ class WaasClient {
|
|
|
3286
3671
|
});
|
|
3287
3672
|
}
|
|
3288
3673
|
/**
|
|
3674
|
+
* NOTE: This function is deprecated in favor of listWaasPolicyCustomProtectionRulesRecordIterator function.
|
|
3289
3675
|
* Creates a new async iterator which will iterate over the models.WaasPolicyCustomProtectionRuleSummary objects
|
|
3290
3676
|
* contained in responses from the listWaasPolicyCustomProtectionRules operation. This iterator will fetch more data from the
|
|
3291
3677
|
* server as needed.
|
|
@@ -3296,6 +3682,7 @@ class WaasClient {
|
|
|
3296
3682
|
return oci_common_1.paginateRecords(request, req => this.listWaasPolicyCustomProtectionRules(req));
|
|
3297
3683
|
}
|
|
3298
3684
|
/**
|
|
3685
|
+
* NOTE: This function is deprecated in favor of listWaasPolicyCustomProtectionRulesResponseIterator function.
|
|
3299
3686
|
* Creates a new async iterator which will iterate over the responses received from the listWaasPolicyCustomProtectionRules operation. This iterator
|
|
3300
3687
|
* will fetch more data from the server as needed.
|
|
3301
3688
|
*
|
|
@@ -3304,12 +3691,32 @@ class WaasClient {
|
|
|
3304
3691
|
listAllWaasPolicyCustomProtectionRulesResponses(request) {
|
|
3305
3692
|
return oci_common_1.paginateResponses(request, req => this.listWaasPolicyCustomProtectionRules(req));
|
|
3306
3693
|
}
|
|
3694
|
+
/**
|
|
3695
|
+
* Creates a new async iterator which will iterate over the models.WaasPolicyCustomProtectionRuleSummary objects
|
|
3696
|
+
* contained in responses from the listWaasPolicyCustomProtectionRules operation. This iterator will fetch more data from the
|
|
3697
|
+
* server as needed.
|
|
3698
|
+
*
|
|
3699
|
+
* @param request a request which can be sent to the service operation
|
|
3700
|
+
*/
|
|
3701
|
+
listWaasPolicyCustomProtectionRulesRecordIterator(request) {
|
|
3702
|
+
return oci_common_1.paginateRecords(request, req => this.listWaasPolicyCustomProtectionRules(req));
|
|
3703
|
+
}
|
|
3704
|
+
/**
|
|
3705
|
+
* Creates a new async iterator which will iterate over the responses received from the listWaasPolicyCustomProtectionRules operation. This iterator
|
|
3706
|
+
* will fetch more data from the server as needed.
|
|
3707
|
+
*
|
|
3708
|
+
* @param request a request which can be sent to the service operation
|
|
3709
|
+
*/
|
|
3710
|
+
listWaasPolicyCustomProtectionRulesResponseIterator(request) {
|
|
3711
|
+
return oci_common_1.paginateResponses(request, req => this.listWaasPolicyCustomProtectionRules(req));
|
|
3712
|
+
}
|
|
3307
3713
|
/**
|
|
3308
3714
|
* Gets the number of blocked requests by a Web Application Firewall feature in five minute blocks, sorted by `timeObserved` in ascending order (starting from oldest data).
|
|
3715
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3309
3716
|
* @param ListWafBlockedRequestsRequest
|
|
3310
3717
|
* @return ListWafBlockedRequestsResponse
|
|
3311
3718
|
* @throws OciError when an error occurs
|
|
3312
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3719
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListWafBlockedRequests.ts.html |here} to see how to use ListWafBlockedRequests API.
|
|
3313
3720
|
*/
|
|
3314
3721
|
listWafBlockedRequests(listWafBlockedRequestsRequest) {
|
|
3315
3722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3329,7 +3736,8 @@ class WaasClient {
|
|
|
3329
3736
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3330
3737
|
"opc-request-id": listWafBlockedRequestsRequest.opcRequestId
|
|
3331
3738
|
};
|
|
3332
|
-
const
|
|
3739
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3740
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafBlockedRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3333
3741
|
if (this.logger)
|
|
3334
3742
|
retrier.logger = this.logger;
|
|
3335
3743
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3370,6 +3778,7 @@ class WaasClient {
|
|
|
3370
3778
|
});
|
|
3371
3779
|
}
|
|
3372
3780
|
/**
|
|
3781
|
+
* NOTE: This function is deprecated in favor of listWafBlockedRequestsRecordIterator function.
|
|
3373
3782
|
* Creates a new async iterator which will iterate over the models.WafBlockedRequest objects
|
|
3374
3783
|
* contained in responses from the listWafBlockedRequests operation. This iterator will fetch more data from the
|
|
3375
3784
|
* server as needed.
|
|
@@ -3380,6 +3789,7 @@ class WaasClient {
|
|
|
3380
3789
|
return oci_common_1.paginateRecords(request, req => this.listWafBlockedRequests(req));
|
|
3381
3790
|
}
|
|
3382
3791
|
/**
|
|
3792
|
+
* NOTE: This function is deprecated in favor of listWafBlockedRequestsResponseIterator function.
|
|
3383
3793
|
* Creates a new async iterator which will iterate over the responses received from the listWafBlockedRequests operation. This iterator
|
|
3384
3794
|
* will fetch more data from the server as needed.
|
|
3385
3795
|
*
|
|
@@ -3388,15 +3798,35 @@ class WaasClient {
|
|
|
3388
3798
|
listAllWafBlockedRequestsResponses(request) {
|
|
3389
3799
|
return oci_common_1.paginateResponses(request, req => this.listWafBlockedRequests(req));
|
|
3390
3800
|
}
|
|
3801
|
+
/**
|
|
3802
|
+
* Creates a new async iterator which will iterate over the models.WafBlockedRequest objects
|
|
3803
|
+
* contained in responses from the listWafBlockedRequests operation. This iterator will fetch more data from the
|
|
3804
|
+
* server as needed.
|
|
3805
|
+
*
|
|
3806
|
+
* @param request a request which can be sent to the service operation
|
|
3807
|
+
*/
|
|
3808
|
+
listWafBlockedRequestsRecordIterator(request) {
|
|
3809
|
+
return oci_common_1.paginateRecords(request, req => this.listWafBlockedRequests(req));
|
|
3810
|
+
}
|
|
3811
|
+
/**
|
|
3812
|
+
* Creates a new async iterator which will iterate over the responses received from the listWafBlockedRequests operation. This iterator
|
|
3813
|
+
* will fetch more data from the server as needed.
|
|
3814
|
+
*
|
|
3815
|
+
* @param request a request which can be sent to the service operation
|
|
3816
|
+
*/
|
|
3817
|
+
listWafBlockedRequestsResponseIterator(request) {
|
|
3818
|
+
return oci_common_1.paginateResponses(request, req => this.listWafBlockedRequests(req));
|
|
3819
|
+
}
|
|
3391
3820
|
/**
|
|
3392
3821
|
* Gets structured Web Application Firewall event logs for a WAAS
|
|
3393
3822
|
* policy. Sorted by the `timeObserved` in ascending order (starting from the
|
|
3394
3823
|
* oldest recorded event).
|
|
3395
3824
|
*
|
|
3825
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3396
3826
|
* @param ListWafLogsRequest
|
|
3397
3827
|
* @return ListWafLogsResponse
|
|
3398
3828
|
* @throws OciError when an error occurs
|
|
3399
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3829
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListWafLogs.ts.html |here} to see how to use ListWafLogs API.
|
|
3400
3830
|
*/
|
|
3401
3831
|
listWafLogs(listWafLogsRequest) {
|
|
3402
3832
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3432,7 +3862,8 @@ class WaasClient {
|
|
|
3432
3862
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3433
3863
|
"opc-request-id": listWafLogsRequest.opcRequestId
|
|
3434
3864
|
};
|
|
3435
|
-
const
|
|
3865
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3866
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3436
3867
|
if (this.logger)
|
|
3437
3868
|
retrier.logger = this.logger;
|
|
3438
3869
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3473,6 +3904,7 @@ class WaasClient {
|
|
|
3473
3904
|
});
|
|
3474
3905
|
}
|
|
3475
3906
|
/**
|
|
3907
|
+
* NOTE: This function is deprecated in favor of listWafLogsRecordIterator function.
|
|
3476
3908
|
* Creates a new async iterator which will iterate over the models.WafLog objects
|
|
3477
3909
|
* contained in responses from the listWafLogs operation. This iterator will fetch more data from the
|
|
3478
3910
|
* server as needed.
|
|
@@ -3483,6 +3915,7 @@ class WaasClient {
|
|
|
3483
3915
|
return oci_common_1.paginateRecords(request, req => this.listWafLogs(req));
|
|
3484
3916
|
}
|
|
3485
3917
|
/**
|
|
3918
|
+
* NOTE: This function is deprecated in favor of listWafLogsResponseIterator function.
|
|
3486
3919
|
* Creates a new async iterator which will iterate over the responses received from the listWafLogs operation. This iterator
|
|
3487
3920
|
* will fetch more data from the server as needed.
|
|
3488
3921
|
*
|
|
@@ -3491,15 +3924,35 @@ class WaasClient {
|
|
|
3491
3924
|
listAllWafLogsResponses(request) {
|
|
3492
3925
|
return oci_common_1.paginateResponses(request, req => this.listWafLogs(req));
|
|
3493
3926
|
}
|
|
3927
|
+
/**
|
|
3928
|
+
* Creates a new async iterator which will iterate over the models.WafLog objects
|
|
3929
|
+
* contained in responses from the listWafLogs operation. This iterator will fetch more data from the
|
|
3930
|
+
* server as needed.
|
|
3931
|
+
*
|
|
3932
|
+
* @param request a request which can be sent to the service operation
|
|
3933
|
+
*/
|
|
3934
|
+
listWafLogsRecordIterator(request) {
|
|
3935
|
+
return oci_common_1.paginateRecords(request, req => this.listWafLogs(req));
|
|
3936
|
+
}
|
|
3937
|
+
/**
|
|
3938
|
+
* Creates a new async iterator which will iterate over the responses received from the listWafLogs operation. This iterator
|
|
3939
|
+
* will fetch more data from the server as needed.
|
|
3940
|
+
*
|
|
3941
|
+
* @param request a request which can be sent to the service operation
|
|
3942
|
+
*/
|
|
3943
|
+
listWafLogsResponseIterator(request) {
|
|
3944
|
+
return oci_common_1.paginateResponses(request, req => this.listWafLogs(req));
|
|
3945
|
+
}
|
|
3494
3946
|
/**
|
|
3495
3947
|
* Gets the number of requests managed by a Web Application Firewall
|
|
3496
3948
|
* over a specified period of time, including blocked requests. Sorted
|
|
3497
3949
|
* by `timeObserved` in ascending order (starting from oldest requests).
|
|
3498
3950
|
*
|
|
3951
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3499
3952
|
* @param ListWafRequestsRequest
|
|
3500
3953
|
* @return ListWafRequestsResponse
|
|
3501
3954
|
* @throws OciError when an error occurs
|
|
3502
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3955
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListWafRequests.ts.html |here} to see how to use ListWafRequests API.
|
|
3503
3956
|
*/
|
|
3504
3957
|
listWafRequests(listWafRequestsRequest) {
|
|
3505
3958
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3518,7 +3971,8 @@ class WaasClient {
|
|
|
3518
3971
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3519
3972
|
"opc-request-id": listWafRequestsRequest.opcRequestId
|
|
3520
3973
|
};
|
|
3521
|
-
const
|
|
3974
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3975
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3522
3976
|
if (this.logger)
|
|
3523
3977
|
retrier.logger = this.logger;
|
|
3524
3978
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3559,6 +4013,7 @@ class WaasClient {
|
|
|
3559
4013
|
});
|
|
3560
4014
|
}
|
|
3561
4015
|
/**
|
|
4016
|
+
* NOTE: This function is deprecated in favor of listWafRequestsRecordIterator function.
|
|
3562
4017
|
* Creates a new async iterator which will iterate over the models.WafRequest objects
|
|
3563
4018
|
* contained in responses from the listWafRequests operation. This iterator will fetch more data from the
|
|
3564
4019
|
* server as needed.
|
|
@@ -3569,6 +4024,7 @@ class WaasClient {
|
|
|
3569
4024
|
return oci_common_1.paginateRecords(request, req => this.listWafRequests(req));
|
|
3570
4025
|
}
|
|
3571
4026
|
/**
|
|
4027
|
+
* NOTE: This function is deprecated in favor of listWafRequestsResponseIterator function.
|
|
3572
4028
|
* Creates a new async iterator which will iterate over the responses received from the listWafRequests operation. This iterator
|
|
3573
4029
|
* will fetch more data from the server as needed.
|
|
3574
4030
|
*
|
|
@@ -3577,14 +4033,34 @@ class WaasClient {
|
|
|
3577
4033
|
listAllWafRequestsResponses(request) {
|
|
3578
4034
|
return oci_common_1.paginateResponses(request, req => this.listWafRequests(req));
|
|
3579
4035
|
}
|
|
4036
|
+
/**
|
|
4037
|
+
* Creates a new async iterator which will iterate over the models.WafRequest objects
|
|
4038
|
+
* contained in responses from the listWafRequests operation. This iterator will fetch more data from the
|
|
4039
|
+
* server as needed.
|
|
4040
|
+
*
|
|
4041
|
+
* @param request a request which can be sent to the service operation
|
|
4042
|
+
*/
|
|
4043
|
+
listWafRequestsRecordIterator(request) {
|
|
4044
|
+
return oci_common_1.paginateRecords(request, req => this.listWafRequests(req));
|
|
4045
|
+
}
|
|
4046
|
+
/**
|
|
4047
|
+
* Creates a new async iterator which will iterate over the responses received from the listWafRequests operation. This iterator
|
|
4048
|
+
* will fetch more data from the server as needed.
|
|
4049
|
+
*
|
|
4050
|
+
* @param request a request which can be sent to the service operation
|
|
4051
|
+
*/
|
|
4052
|
+
listWafRequestsResponseIterator(request) {
|
|
4053
|
+
return oci_common_1.paginateResponses(request, req => this.listWafRequests(req));
|
|
4054
|
+
}
|
|
3580
4055
|
/**
|
|
3581
4056
|
* Gets the Web Application Firewall traffic data for a WAAS policy.
|
|
3582
4057
|
* Sorted by `timeObserved` in ascending order (starting from oldest data).
|
|
3583
4058
|
*
|
|
4059
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3584
4060
|
* @param ListWafTrafficRequest
|
|
3585
4061
|
* @return ListWafTrafficResponse
|
|
3586
4062
|
* @throws OciError when an error occurs
|
|
3587
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4063
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListWafTraffic.ts.html |here} to see how to use ListWafTraffic API.
|
|
3588
4064
|
*/
|
|
3589
4065
|
listWafTraffic(listWafTrafficRequest) {
|
|
3590
4066
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3603,7 +4079,8 @@ class WaasClient {
|
|
|
3603
4079
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3604
4080
|
"opc-request-id": listWafTrafficRequest.opcRequestId
|
|
3605
4081
|
};
|
|
3606
|
-
const
|
|
4082
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4083
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafTrafficRequest.retryConfiguration, specRetryConfiguration);
|
|
3607
4084
|
if (this.logger)
|
|
3608
4085
|
retrier.logger = this.logger;
|
|
3609
4086
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3644,6 +4121,7 @@ class WaasClient {
|
|
|
3644
4121
|
});
|
|
3645
4122
|
}
|
|
3646
4123
|
/**
|
|
4124
|
+
* NOTE: This function is deprecated in favor of listWafTrafficRecordIterator function.
|
|
3647
4125
|
* Creates a new async iterator which will iterate over the models.WafTrafficDatum objects
|
|
3648
4126
|
* contained in responses from the listWafTraffic operation. This iterator will fetch more data from the
|
|
3649
4127
|
* server as needed.
|
|
@@ -3654,6 +4132,7 @@ class WaasClient {
|
|
|
3654
4132
|
return oci_common_1.paginateRecords(request, req => this.listWafTraffic(req));
|
|
3655
4133
|
}
|
|
3656
4134
|
/**
|
|
4135
|
+
* NOTE: This function is deprecated in favor of listWafTrafficResponseIterator function.
|
|
3657
4136
|
* Creates a new async iterator which will iterate over the responses received from the listWafTraffic operation. This iterator
|
|
3658
4137
|
* will fetch more data from the server as needed.
|
|
3659
4138
|
*
|
|
@@ -3662,12 +4141,32 @@ class WaasClient {
|
|
|
3662
4141
|
listAllWafTrafficResponses(request) {
|
|
3663
4142
|
return oci_common_1.paginateResponses(request, req => this.listWafTraffic(req));
|
|
3664
4143
|
}
|
|
4144
|
+
/**
|
|
4145
|
+
* Creates a new async iterator which will iterate over the models.WafTrafficDatum objects
|
|
4146
|
+
* contained in responses from the listWafTraffic operation. This iterator will fetch more data from the
|
|
4147
|
+
* server as needed.
|
|
4148
|
+
*
|
|
4149
|
+
* @param request a request which can be sent to the service operation
|
|
4150
|
+
*/
|
|
4151
|
+
listWafTrafficRecordIterator(request) {
|
|
4152
|
+
return oci_common_1.paginateRecords(request, req => this.listWafTraffic(req));
|
|
4153
|
+
}
|
|
4154
|
+
/**
|
|
4155
|
+
* Creates a new async iterator which will iterate over the responses received from the listWafTraffic operation. This iterator
|
|
4156
|
+
* will fetch more data from the server as needed.
|
|
4157
|
+
*
|
|
4158
|
+
* @param request a request which can be sent to the service operation
|
|
4159
|
+
*/
|
|
4160
|
+
listWafTrafficResponseIterator(request) {
|
|
4161
|
+
return oci_common_1.paginateResponses(request, req => this.listWafTraffic(req));
|
|
4162
|
+
}
|
|
3665
4163
|
/**
|
|
3666
4164
|
* Gets the list of whitelists defined in the Web Application Firewall configuration for a WAAS policy.
|
|
4165
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3667
4166
|
* @param ListWhitelistsRequest
|
|
3668
4167
|
* @return ListWhitelistsResponse
|
|
3669
4168
|
* @throws OciError when an error occurs
|
|
3670
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4169
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/ListWhitelists.ts.html |here} to see how to use ListWhitelists API.
|
|
3671
4170
|
*/
|
|
3672
4171
|
listWhitelists(listWhitelistsRequest) {
|
|
3673
4172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3684,7 +4183,8 @@ class WaasClient {
|
|
|
3684
4183
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3685
4184
|
"opc-request-id": listWhitelistsRequest.opcRequestId
|
|
3686
4185
|
};
|
|
3687
|
-
const
|
|
4186
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4187
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWhitelistsRequest.retryConfiguration, specRetryConfiguration);
|
|
3688
4188
|
if (this.logger)
|
|
3689
4189
|
retrier.logger = this.logger;
|
|
3690
4190
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3730,6 +4230,7 @@ class WaasClient {
|
|
|
3730
4230
|
});
|
|
3731
4231
|
}
|
|
3732
4232
|
/**
|
|
4233
|
+
* NOTE: This function is deprecated in favor of listWhitelistsRecordIterator function.
|
|
3733
4234
|
* Creates a new async iterator which will iterate over the models.Whitelist objects
|
|
3734
4235
|
* contained in responses from the listWhitelists operation. This iterator will fetch more data from the
|
|
3735
4236
|
* server as needed.
|
|
@@ -3740,6 +4241,7 @@ class WaasClient {
|
|
|
3740
4241
|
return oci_common_1.paginateRecords(request, req => this.listWhitelists(req));
|
|
3741
4242
|
}
|
|
3742
4243
|
/**
|
|
4244
|
+
* NOTE: This function is deprecated in favor of listWhitelistsResponseIterator function.
|
|
3743
4245
|
* Creates a new async iterator which will iterate over the responses received from the listWhitelists operation. This iterator
|
|
3744
4246
|
* will fetch more data from the server as needed.
|
|
3745
4247
|
*
|
|
@@ -3748,12 +4250,32 @@ class WaasClient {
|
|
|
3748
4250
|
listAllWhitelistsResponses(request) {
|
|
3749
4251
|
return oci_common_1.paginateResponses(request, req => this.listWhitelists(req));
|
|
3750
4252
|
}
|
|
4253
|
+
/**
|
|
4254
|
+
* Creates a new async iterator which will iterate over the models.Whitelist objects
|
|
4255
|
+
* contained in responses from the listWhitelists operation. This iterator will fetch more data from the
|
|
4256
|
+
* server as needed.
|
|
4257
|
+
*
|
|
4258
|
+
* @param request a request which can be sent to the service operation
|
|
4259
|
+
*/
|
|
4260
|
+
listWhitelistsRecordIterator(request) {
|
|
4261
|
+
return oci_common_1.paginateRecords(request, req => this.listWhitelists(req));
|
|
4262
|
+
}
|
|
4263
|
+
/**
|
|
4264
|
+
* Creates a new async iterator which will iterate over the responses received from the listWhitelists operation. This iterator
|
|
4265
|
+
* will fetch more data from the server as needed.
|
|
4266
|
+
*
|
|
4267
|
+
* @param request a request which can be sent to the service operation
|
|
4268
|
+
*/
|
|
4269
|
+
listWhitelistsResponseIterator(request) {
|
|
4270
|
+
return oci_common_1.paginateResponses(request, req => this.listWhitelists(req));
|
|
4271
|
+
}
|
|
3751
4272
|
/**
|
|
3752
4273
|
* Gets a list of subnets (CIDR notation) from which the WAAS EDGE may make requests. The subnets are owned by OCI and forward traffic to your origins. Allow traffic from these subnets to your origins. They are not associated with specific regions or compartments.
|
|
4274
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3753
4275
|
* @param ListWorkRequestsRequest
|
|
3754
4276
|
* @return ListWorkRequestsResponse
|
|
3755
4277
|
* @throws OciError when an error occurs
|
|
3756
|
-
* @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/waas/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3757
4279
|
*/
|
|
3758
4280
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3759
4281
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3772,7 +4294,8 @@ class WaasClient {
|
|
|
3772
4294
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3773
4295
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
3774
4296
|
};
|
|
3775
|
-
const
|
|
4297
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4298
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3776
4299
|
if (this.logger)
|
|
3777
4300
|
retrier.logger = this.logger;
|
|
3778
4301
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3813,6 +4336,7 @@ class WaasClient {
|
|
|
3813
4336
|
});
|
|
3814
4337
|
}
|
|
3815
4338
|
/**
|
|
4339
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsRecordIterator function.
|
|
3816
4340
|
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
3817
4341
|
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
3818
4342
|
* server as needed.
|
|
@@ -3823,6 +4347,7 @@ class WaasClient {
|
|
|
3823
4347
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
3824
4348
|
}
|
|
3825
4349
|
/**
|
|
4350
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsResponseIterator function.
|
|
3826
4351
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
3827
4352
|
* will fetch more data from the server as needed.
|
|
3828
4353
|
*
|
|
@@ -3831,13 +4356,33 @@ class WaasClient {
|
|
|
3831
4356
|
listAllWorkRequestsResponses(request) {
|
|
3832
4357
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
3833
4358
|
}
|
|
4359
|
+
/**
|
|
4360
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
4361
|
+
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
4362
|
+
* server as needed.
|
|
4363
|
+
*
|
|
4364
|
+
* @param request a request which can be sent to the service operation
|
|
4365
|
+
*/
|
|
4366
|
+
listWorkRequestsRecordIterator(request) {
|
|
4367
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
4368
|
+
}
|
|
4369
|
+
/**
|
|
4370
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
4371
|
+
* will fetch more data from the server as needed.
|
|
4372
|
+
*
|
|
4373
|
+
* @param request a request which can be sent to the service operation
|
|
4374
|
+
*/
|
|
4375
|
+
listWorkRequestsResponseIterator(request) {
|
|
4376
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
4377
|
+
}
|
|
3834
4378
|
/**
|
|
3835
4379
|
* Performs a purge of the cache for each specified resource. If no resources are passed, the cache for the entire Web Application Firewall will be purged.
|
|
3836
4380
|
* For more information, see [Caching Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/cachingrules.htm#purge).
|
|
4381
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3837
4382
|
* @param PurgeCacheRequest
|
|
3838
4383
|
* @return PurgeCacheResponse
|
|
3839
4384
|
* @throws OciError when an error occurs
|
|
3840
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/PurgeCache.ts.html |here} to see how to use PurgeCache API.
|
|
3841
4386
|
*/
|
|
3842
4387
|
purgeCache(purgeCacheRequest) {
|
|
3843
4388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3852,7 +4397,8 @@ class WaasClient {
|
|
|
3852
4397
|
"opc-request-id": purgeCacheRequest.opcRequestId,
|
|
3853
4398
|
"if-match": purgeCacheRequest.ifMatch
|
|
3854
4399
|
};
|
|
3855
|
-
const
|
|
4400
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4401
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, purgeCacheRequest.retryConfiguration, specRetryConfiguration);
|
|
3856
4402
|
if (this.logger)
|
|
3857
4403
|
retrier.logger = this.logger;
|
|
3858
4404
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3899,10 +4445,11 @@ class WaasClient {
|
|
|
3899
4445
|
Access rules can be created by adding a new access rule object to the list without a `key` property specified. A `key` will be generated for the new access rule upon update.
|
|
3900
4446
|
* <p>
|
|
3901
4447
|
Any existing access rules that are not specified with a `key` in the list of access rules will be deleted upon update.
|
|
4448
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3902
4449
|
* @param UpdateAccessRulesRequest
|
|
3903
4450
|
* @return UpdateAccessRulesResponse
|
|
3904
4451
|
* @throws OciError when an error occurs
|
|
3905
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4452
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateAccessRules.ts.html |here} to see how to use UpdateAccessRules API.
|
|
3906
4453
|
*/
|
|
3907
4454
|
updateAccessRules(updateAccessRulesRequest) {
|
|
3908
4455
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3918,7 +4465,8 @@ class WaasClient {
|
|
|
3918
4465
|
"opc-retry-token": updateAccessRulesRequest.opcRetryToken,
|
|
3919
4466
|
"if-match": updateAccessRulesRequest.ifMatch
|
|
3920
4467
|
};
|
|
3921
|
-
const
|
|
4468
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4469
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAccessRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
3922
4470
|
if (this.logger)
|
|
3923
4471
|
retrier.logger = this.logger;
|
|
3924
4472
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3957,10 +4505,11 @@ class WaasClient {
|
|
|
3957
4505
|
}
|
|
3958
4506
|
/**
|
|
3959
4507
|
* Updates the details of an address list. Only the fields specified in the request body will be updated; all other properties will remain unchanged.
|
|
4508
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3960
4509
|
* @param UpdateAddressListRequest
|
|
3961
4510
|
* @return UpdateAddressListResponse
|
|
3962
4511
|
* @throws OciError when an error occurs
|
|
3963
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4512
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateAddressList.ts.html |here} to see how to use UpdateAddressList API.
|
|
3964
4513
|
*/
|
|
3965
4514
|
updateAddressList(updateAddressListRequest) {
|
|
3966
4515
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3975,7 +4524,8 @@ class WaasClient {
|
|
|
3975
4524
|
"opc-request-id": updateAddressListRequest.opcRequestId,
|
|
3976
4525
|
"if-match": updateAddressListRequest.ifMatch
|
|
3977
4526
|
};
|
|
3978
|
-
const
|
|
4527
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4528
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
3979
4529
|
if (this.logger)
|
|
3980
4530
|
retrier.logger = this.logger;
|
|
3981
4531
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4024,10 +4574,11 @@ class WaasClient {
|
|
|
4024
4574
|
This operation can create, delete, update, and/or reorder caching rules depending on the structure of the request body. Caching rules can be updated by changing the properties of the caching rule object with the rule's key specified in the key field. Any existing caching rules that are not specified with a key in the list of access rules will be deleted upon update.
|
|
4025
4575
|
* <p>
|
|
4026
4576
|
The order the caching rules are specified in is important. The rules are processed in the order they are specified and the first matching rule will be used when processing a request. Use `ListCachingRules` to view a list of all available caching rules in a compartment.
|
|
4577
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4027
4578
|
* @param UpdateCachingRulesRequest
|
|
4028
4579
|
* @return UpdateCachingRulesResponse
|
|
4029
4580
|
* @throws OciError when an error occurs
|
|
4030
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4581
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateCachingRules.ts.html |here} to see how to use UpdateCachingRules API.
|
|
4031
4582
|
*/
|
|
4032
4583
|
updateCachingRules(updateCachingRulesRequest) {
|
|
4033
4584
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4043,7 +4594,8 @@ class WaasClient {
|
|
|
4043
4594
|
"opc-retry-token": updateCachingRulesRequest.opcRetryToken,
|
|
4044
4595
|
"if-match": updateCachingRulesRequest.ifMatch
|
|
4045
4596
|
};
|
|
4046
|
-
const
|
|
4597
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4598
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCachingRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
4047
4599
|
if (this.logger)
|
|
4048
4600
|
retrier.logger = this.logger;
|
|
4049
4601
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4090,10 +4642,11 @@ class WaasClient {
|
|
|
4090
4642
|
Any existing CAPTCHA challenges that are not specified with a `key` in the list of CAPTCHA challenges will be deleted upon update.
|
|
4091
4643
|
* <p>
|
|
4092
4644
|
Query parameters are allowed in CAPTCHA URL.
|
|
4645
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4093
4646
|
* @param UpdateCaptchasRequest
|
|
4094
4647
|
* @return UpdateCaptchasResponse
|
|
4095
4648
|
* @throws OciError when an error occurs
|
|
4096
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4649
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateCaptchas.ts.html |here} to see how to use UpdateCaptchas API.
|
|
4097
4650
|
*/
|
|
4098
4651
|
updateCaptchas(updateCaptchasRequest) {
|
|
4099
4652
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4109,7 +4662,8 @@ class WaasClient {
|
|
|
4109
4662
|
"opc-retry-token": updateCaptchasRequest.opcRetryToken,
|
|
4110
4663
|
"if-match": updateCaptchasRequest.ifMatch
|
|
4111
4664
|
};
|
|
4112
|
-
const
|
|
4665
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4666
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCaptchasRequest.retryConfiguration, specRetryConfiguration);
|
|
4113
4667
|
if (this.logger)
|
|
4114
4668
|
retrier.logger = this.logger;
|
|
4115
4669
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4148,10 +4702,11 @@ class WaasClient {
|
|
|
4148
4702
|
}
|
|
4149
4703
|
/**
|
|
4150
4704
|
* It is not possible to update a certificate, only create and delete. Therefore, this operation can only update the display name, freeform tags, and defined tags of a certificate.
|
|
4705
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4151
4706
|
* @param UpdateCertificateRequest
|
|
4152
4707
|
* @return UpdateCertificateResponse
|
|
4153
4708
|
* @throws OciError when an error occurs
|
|
4154
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4709
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateCertificate.ts.html |here} to see how to use UpdateCertificate API.
|
|
4155
4710
|
*/
|
|
4156
4711
|
updateCertificate(updateCertificateRequest) {
|
|
4157
4712
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4166,7 +4721,8 @@ class WaasClient {
|
|
|
4166
4721
|
"opc-request-id": updateCertificateRequest.opcRequestId,
|
|
4167
4722
|
"if-match": updateCertificateRequest.ifMatch
|
|
4168
4723
|
};
|
|
4169
|
-
const
|
|
4724
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4725
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
4170
4726
|
if (this.logger)
|
|
4171
4727
|
retrier.logger = this.logger;
|
|
4172
4728
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4209,10 +4765,11 @@ class WaasClient {
|
|
|
4209
4765
|
}
|
|
4210
4766
|
/**
|
|
4211
4767
|
* Updates the configuration of a custom protection rule. Only the fields specified in the request body will be updated; all other properties will remain unchanged.
|
|
4768
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4212
4769
|
* @param UpdateCustomProtectionRuleRequest
|
|
4213
4770
|
* @return UpdateCustomProtectionRuleResponse
|
|
4214
4771
|
* @throws OciError when an error occurs
|
|
4215
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4772
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateCustomProtectionRule.ts.html |here} to see how to use UpdateCustomProtectionRule API.
|
|
4216
4773
|
*/
|
|
4217
4774
|
updateCustomProtectionRule(updateCustomProtectionRuleRequest) {
|
|
4218
4775
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4228,7 +4785,8 @@ class WaasClient {
|
|
|
4228
4785
|
"opc-retry-token": updateCustomProtectionRuleRequest.opcRetryToken,
|
|
4229
4786
|
"if-match": updateCustomProtectionRuleRequest.ifMatch
|
|
4230
4787
|
};
|
|
4231
|
-
const
|
|
4788
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4789
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
4232
4790
|
if (this.logger)
|
|
4233
4791
|
retrier.logger = this.logger;
|
|
4234
4792
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4275,10 +4833,11 @@ class WaasClient {
|
|
|
4275
4833
|
The signature is based on a library of attributes detected via JavaScript listeners; the attributes include OS, screen resolution, fonts, UserAgent, IP address, etc. We are constantly making improvements and considering new libraries to include in our DFC build. We can also exclude attributes from the signature as needed.
|
|
4276
4834
|
* <p>
|
|
4277
4835
|
DFC collects attributes to generate a hashed signature about a client - if a fingerprint is not possible, then it will result in a block or alert action. Actions can be enforced across multiple devices if they share they have the same fingerprint.
|
|
4836
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4278
4837
|
* @param UpdateDeviceFingerprintChallengeRequest
|
|
4279
4838
|
* @return UpdateDeviceFingerprintChallengeResponse
|
|
4280
4839
|
* @throws OciError when an error occurs
|
|
4281
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4840
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateDeviceFingerprintChallenge.ts.html |here} to see how to use UpdateDeviceFingerprintChallenge API.
|
|
4282
4841
|
*/
|
|
4283
4842
|
updateDeviceFingerprintChallenge(updateDeviceFingerprintChallengeRequest) {
|
|
4284
4843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4294,7 +4853,8 @@ class WaasClient {
|
|
|
4294
4853
|
"opc-retry-token": updateDeviceFingerprintChallengeRequest.opcRetryToken,
|
|
4295
4854
|
"if-match": updateDeviceFingerprintChallengeRequest.ifMatch
|
|
4296
4855
|
};
|
|
4297
|
-
const
|
|
4856
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4857
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDeviceFingerprintChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
4298
4858
|
if (this.logger)
|
|
4299
4859
|
retrier.logger = this.logger;
|
|
4300
4860
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4335,10 +4895,11 @@ class WaasClient {
|
|
|
4335
4895
|
* Updates the list of good bots in the Web Application Firewall configuration for a policy. Only the fields specified in the request body will be updated, all other configuration properties will remain unchanged.
|
|
4336
4896
|
* <p>
|
|
4337
4897
|
Good bots allows you to manage access for bots from known providers, such as Google or Baidu. For more information about good bots, see [Bot Management](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/botmanagement.htm).
|
|
4898
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4338
4899
|
* @param UpdateGoodBotsRequest
|
|
4339
4900
|
* @return UpdateGoodBotsResponse
|
|
4340
4901
|
* @throws OciError when an error occurs
|
|
4341
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4902
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateGoodBots.ts.html |here} to see how to use UpdateGoodBots API.
|
|
4342
4903
|
*/
|
|
4343
4904
|
updateGoodBots(updateGoodBotsRequest) {
|
|
4344
4905
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4354,7 +4915,8 @@ class WaasClient {
|
|
|
4354
4915
|
"opc-retry-token": updateGoodBotsRequest.opcRetryToken,
|
|
4355
4916
|
"if-match": updateGoodBotsRequest.ifMatch
|
|
4356
4917
|
};
|
|
4357
|
-
const
|
|
4918
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4919
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGoodBotsRequest.retryConfiguration, specRetryConfiguration);
|
|
4358
4920
|
if (this.logger)
|
|
4359
4921
|
retrier.logger = this.logger;
|
|
4360
4922
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4393,10 +4955,11 @@ class WaasClient {
|
|
|
4393
4955
|
}
|
|
4394
4956
|
/**
|
|
4395
4957
|
* Updates the Human Interaction Challenge (HIC) settings in the Web Application Firewall configuration for a WAAS policy. HIC is a countermeasure that allows the proxy to check the user's browser for various behaviors that distinguish a human presence from a bot.
|
|
4958
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4396
4959
|
* @param UpdateHumanInteractionChallengeRequest
|
|
4397
4960
|
* @return UpdateHumanInteractionChallengeResponse
|
|
4398
4961
|
* @throws OciError when an error occurs
|
|
4399
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4962
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateHumanInteractionChallenge.ts.html |here} to see how to use UpdateHumanInteractionChallenge API.
|
|
4400
4963
|
*/
|
|
4401
4964
|
updateHumanInteractionChallenge(updateHumanInteractionChallengeRequest) {
|
|
4402
4965
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4412,7 +4975,8 @@ class WaasClient {
|
|
|
4412
4975
|
"opc-retry-token": updateHumanInteractionChallengeRequest.opcRetryToken,
|
|
4413
4976
|
"if-match": updateHumanInteractionChallengeRequest.ifMatch
|
|
4414
4977
|
};
|
|
4415
|
-
const
|
|
4978
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4979
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHumanInteractionChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
4416
4980
|
if (this.logger)
|
|
4417
4981
|
retrier.logger = this.logger;
|
|
4418
4982
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4451,10 +5015,11 @@ class WaasClient {
|
|
|
4451
5015
|
}
|
|
4452
5016
|
/**
|
|
4453
5017
|
* Updates the JavaScript challenge settings in the Web Application Firewall configuration for a WAAS policy. JavaScript Challenge validates that the client can accept JavaScript with a binary decision. For more information, see [Bot Management](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/botmanagement.htm).
|
|
5018
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4454
5019
|
* @param UpdateJsChallengeRequest
|
|
4455
5020
|
* @return UpdateJsChallengeResponse
|
|
4456
5021
|
* @throws OciError when an error occurs
|
|
4457
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5022
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateJsChallenge.ts.html |here} to see how to use UpdateJsChallenge API.
|
|
4458
5023
|
*/
|
|
4459
5024
|
updateJsChallenge(updateJsChallengeRequest) {
|
|
4460
5025
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4470,7 +5035,8 @@ class WaasClient {
|
|
|
4470
5035
|
"opc-retry-token": updateJsChallengeRequest.opcRetryToken,
|
|
4471
5036
|
"if-match": updateJsChallengeRequest.ifMatch
|
|
4472
5037
|
};
|
|
4473
|
-
const
|
|
5038
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5039
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateJsChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
4474
5040
|
if (this.logger)
|
|
4475
5041
|
retrier.logger = this.logger;
|
|
4476
5042
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4509,10 +5075,11 @@ class WaasClient {
|
|
|
4509
5075
|
}
|
|
4510
5076
|
/**
|
|
4511
5077
|
* Updates the configuration for a WAAS policy. Only the fields specified in the request body will be updated; all other properties will remain unchanged.
|
|
5078
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4512
5079
|
* @param UpdatePolicyConfigRequest
|
|
4513
5080
|
* @return UpdatePolicyConfigResponse
|
|
4514
5081
|
* @throws OciError when an error occurs
|
|
4515
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5082
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdatePolicyConfig.ts.html |here} to see how to use UpdatePolicyConfig API.
|
|
4516
5083
|
*/
|
|
4517
5084
|
updatePolicyConfig(updatePolicyConfigRequest) {
|
|
4518
5085
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4528,7 +5095,8 @@ class WaasClient {
|
|
|
4528
5095
|
"opc-retry-token": updatePolicyConfigRequest.opcRetryToken,
|
|
4529
5096
|
"if-match": updatePolicyConfigRequest.ifMatch
|
|
4530
5097
|
};
|
|
4531
|
-
const
|
|
5098
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5099
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePolicyConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
4532
5100
|
if (this.logger)
|
|
4533
5101
|
retrier.logger = this.logger;
|
|
4534
5102
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4569,10 +5137,11 @@ class WaasClient {
|
|
|
4569
5137
|
* Updates the action for each specified protection rule. Requests can either be allowed, blocked, or trigger an alert if they meet the parameters of an applied rule. For more information on protection rules, see [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm).
|
|
4570
5138
|
* This operation can update or disable protection rules depending on the structure of the request body.
|
|
4571
5139
|
* Protection rules can be updated by changing the properties of the protection rule object with the rule's key specified in the key field.
|
|
5140
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4572
5141
|
* @param UpdateProtectionRulesRequest
|
|
4573
5142
|
* @return UpdateProtectionRulesResponse
|
|
4574
5143
|
* @throws OciError when an error occurs
|
|
4575
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5144
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateProtectionRules.ts.html |here} to see how to use UpdateProtectionRules API.
|
|
4576
5145
|
*/
|
|
4577
5146
|
updateProtectionRules(updateProtectionRulesRequest) {
|
|
4578
5147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4587,7 +5156,8 @@ class WaasClient {
|
|
|
4587
5156
|
"opc-request-id": updateProtectionRulesRequest.opcRequestId,
|
|
4588
5157
|
"if-match": updateProtectionRulesRequest.ifMatch
|
|
4589
5158
|
};
|
|
4590
|
-
const
|
|
5159
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5160
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
4591
5161
|
if (this.logger)
|
|
4592
5162
|
retrier.logger = this.logger;
|
|
4593
5163
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4626,10 +5196,11 @@ class WaasClient {
|
|
|
4626
5196
|
}
|
|
4627
5197
|
/**
|
|
4628
5198
|
* Updates the protection settings in the Web Application Firewall configuration for a WAAS policy. Protection settings allow you define what action is taken when a request is blocked by the Web Application Firewall, such as returning a response code or block page. Only the fields specified in the request body will be updated; all other fields will remain unchanged.
|
|
5199
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4629
5200
|
* @param UpdateProtectionSettingsRequest
|
|
4630
5201
|
* @return UpdateProtectionSettingsResponse
|
|
4631
5202
|
* @throws OciError when an error occurs
|
|
4632
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5203
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateProtectionSettings.ts.html |here} to see how to use UpdateProtectionSettings API.
|
|
4633
5204
|
*/
|
|
4634
5205
|
updateProtectionSettings(updateProtectionSettingsRequest) {
|
|
4635
5206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4645,7 +5216,8 @@ class WaasClient {
|
|
|
4645
5216
|
"opc-retry-token": updateProtectionSettingsRequest.opcRetryToken,
|
|
4646
5217
|
"if-match": updateProtectionSettingsRequest.ifMatch
|
|
4647
5218
|
};
|
|
4648
|
-
const
|
|
5219
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5220
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProtectionSettingsRequest.retryConfiguration, specRetryConfiguration);
|
|
4649
5221
|
if (this.logger)
|
|
4650
5222
|
retrier.logger = this.logger;
|
|
4651
5223
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4684,10 +5256,11 @@ class WaasClient {
|
|
|
4684
5256
|
}
|
|
4685
5257
|
/**
|
|
4686
5258
|
* Updates the action to take when a request's IP address matches an address in the specified threat intelligence feed. Threat intelligence feeds are compiled lists of IP addresses with malicious reputations based on internet intelligence. Only the threat feeds specified in the request body will be updated; all other threat feeds will remain unchanged.
|
|
5259
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4687
5260
|
* @param UpdateThreatFeedsRequest
|
|
4688
5261
|
* @return UpdateThreatFeedsResponse
|
|
4689
5262
|
* @throws OciError when an error occurs
|
|
4690
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5263
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateThreatFeeds.ts.html |here} to see how to use UpdateThreatFeeds API.
|
|
4691
5264
|
*/
|
|
4692
5265
|
updateThreatFeeds(updateThreatFeedsRequest) {
|
|
4693
5266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4702,7 +5275,8 @@ class WaasClient {
|
|
|
4702
5275
|
"opc-request-id": updateThreatFeedsRequest.opcRequestId,
|
|
4703
5276
|
"if-match": updateThreatFeedsRequest.ifMatch
|
|
4704
5277
|
};
|
|
4705
|
-
const
|
|
5278
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5279
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateThreatFeedsRequest.retryConfiguration, specRetryConfiguration);
|
|
4706
5280
|
if (this.logger)
|
|
4707
5281
|
retrier.logger = this.logger;
|
|
4708
5282
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4743,10 +5317,11 @@ class WaasClient {
|
|
|
4743
5317
|
* Updates the details of a WAAS policy, including origins and tags. Only the fields specified in the request body will be updated; all other properties will remain unchanged.
|
|
4744
5318
|
* To update platform provided resources such as `GoodBots`, `ProtectionRules`, and `ThreatFeeds`, first retrieve the list of available resources with the related list operation such as `GetThreatFeeds` or `GetProtectionRules`.
|
|
4745
5319
|
* The returned list will contain objects with `key` properties that can be used to update the resource during the `UpdateWaasPolicy` request.
|
|
5320
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4746
5321
|
* @param UpdateWaasPolicyRequest
|
|
4747
5322
|
* @return UpdateWaasPolicyResponse
|
|
4748
5323
|
* @throws OciError when an error occurs
|
|
4749
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5324
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateWaasPolicy.ts.html |here} to see how to use UpdateWaasPolicy API.
|
|
4750
5325
|
*/
|
|
4751
5326
|
updateWaasPolicy(updateWaasPolicyRequest) {
|
|
4752
5327
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4762,7 +5337,8 @@ class WaasClient {
|
|
|
4762
5337
|
"opc-retry-token": updateWaasPolicyRequest.opcRetryToken,
|
|
4763
5338
|
"if-match": updateWaasPolicyRequest.ifMatch
|
|
4764
5339
|
};
|
|
4765
|
-
const
|
|
5340
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5341
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
4766
5342
|
if (this.logger)
|
|
4767
5343
|
retrier.logger = this.logger;
|
|
4768
5344
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4801,10 +5377,11 @@ class WaasClient {
|
|
|
4801
5377
|
}
|
|
4802
5378
|
/**
|
|
4803
5379
|
* Updates the action for each specified custom protection rule. Only the `DETECT` and `BLOCK` actions can be set. Disabled rules should not be included in the list. For more information on protection rules, see [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm).
|
|
5380
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4804
5381
|
* @param UpdateWaasPolicyCustomProtectionRulesRequest
|
|
4805
5382
|
* @return UpdateWaasPolicyCustomProtectionRulesResponse
|
|
4806
5383
|
* @throws OciError when an error occurs
|
|
4807
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5384
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateWaasPolicyCustomProtectionRules.ts.html |here} to see how to use UpdateWaasPolicyCustomProtectionRules API.
|
|
4808
5385
|
*/
|
|
4809
5386
|
updateWaasPolicyCustomProtectionRules(updateWaasPolicyCustomProtectionRulesRequest) {
|
|
4810
5387
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4820,7 +5397,8 @@ class WaasClient {
|
|
|
4820
5397
|
"opc-retry-token": updateWaasPolicyCustomProtectionRulesRequest.opcRetryToken,
|
|
4821
5398
|
"if-match": updateWaasPolicyCustomProtectionRulesRequest.ifMatch
|
|
4822
5399
|
};
|
|
4823
|
-
const
|
|
5400
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5401
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWaasPolicyCustomProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
4824
5402
|
if (this.logger)
|
|
4825
5403
|
retrier.logger = this.logger;
|
|
4826
5404
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4859,10 +5437,11 @@ class WaasClient {
|
|
|
4859
5437
|
}
|
|
4860
5438
|
/**
|
|
4861
5439
|
* Updates the address rate limiting settings in the Web Application Firewall configuration for a policy. Rate limiting allows you to configure a threshold for the number of requests from a unique IP address for the given period. You can also define the response code for the requests from the same address that exceed the threshold.
|
|
5440
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4862
5441
|
* @param UpdateWafAddressRateLimitingRequest
|
|
4863
5442
|
* @return UpdateWafAddressRateLimitingResponse
|
|
4864
5443
|
* @throws OciError when an error occurs
|
|
4865
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5444
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateWafAddressRateLimiting.ts.html |here} to see how to use UpdateWafAddressRateLimiting API.
|
|
4866
5445
|
*/
|
|
4867
5446
|
updateWafAddressRateLimiting(updateWafAddressRateLimitingRequest) {
|
|
4868
5447
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4878,7 +5457,8 @@ class WaasClient {
|
|
|
4878
5457
|
"opc-retry-token": updateWafAddressRateLimitingRequest.opcRetryToken,
|
|
4879
5458
|
"if-match": updateWafAddressRateLimitingRequest.ifMatch
|
|
4880
5459
|
};
|
|
4881
|
-
const
|
|
5460
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5461
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWafAddressRateLimitingRequest.retryConfiguration, specRetryConfiguration);
|
|
4882
5462
|
if (this.logger)
|
|
4883
5463
|
retrier.logger = this.logger;
|
|
4884
5464
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4925,10 +5505,11 @@ class WaasClient {
|
|
|
4925
5505
|
The returned list will contain objects with `key` properties that can be used to update the
|
|
4926
5506
|
* resource during the `UpdateWafConfig` request.
|
|
4927
5507
|
*
|
|
5508
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4928
5509
|
* @param UpdateWafConfigRequest
|
|
4929
5510
|
* @return UpdateWafConfigResponse
|
|
4930
5511
|
* @throws OciError when an error occurs
|
|
4931
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5512
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateWafConfig.ts.html |here} to see how to use UpdateWafConfig API.
|
|
4932
5513
|
*/
|
|
4933
5514
|
updateWafConfig(updateWafConfigRequest) {
|
|
4934
5515
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4944,7 +5525,8 @@ class WaasClient {
|
|
|
4944
5525
|
"opc-retry-token": updateWafConfigRequest.opcRetryToken,
|
|
4945
5526
|
"if-match": updateWafConfigRequest.ifMatch
|
|
4946
5527
|
};
|
|
4947
|
-
const
|
|
5528
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5529
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWafConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
4948
5530
|
if (this.logger)
|
|
4949
5531
|
retrier.logger = this.logger;
|
|
4950
5532
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4991,10 +5573,11 @@ class WaasClient {
|
|
|
4991
5573
|
Whitelists can be created by adding a new whitelist object to the list without a `key` property specified. A `key` will be generated for the new whitelist upon update.
|
|
4992
5574
|
* <p>
|
|
4993
5575
|
Whitelists can be deleted by removing the existing whitelist object from the list. Any existing whitelists that are not specified with a `key` in the list of access rules will be deleted upon update.
|
|
5576
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4994
5577
|
* @param UpdateWhitelistsRequest
|
|
4995
5578
|
* @return UpdateWhitelistsResponse
|
|
4996
5579
|
* @throws OciError when an error occurs
|
|
4997
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5580
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/waas/UpdateWhitelists.ts.html |here} to see how to use UpdateWhitelists API.
|
|
4998
5581
|
*/
|
|
4999
5582
|
updateWhitelists(updateWhitelistsRequest) {
|
|
5000
5583
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5010,7 +5593,8 @@ class WaasClient {
|
|
|
5010
5593
|
"opc-retry-token": updateWhitelistsRequest.opcRetryToken,
|
|
5011
5594
|
"if-match": updateWhitelistsRequest.ifMatch
|
|
5012
5595
|
};
|
|
5013
|
-
const
|
|
5596
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5597
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWhitelistsRequest.retryConfiguration, specRetryConfiguration);
|
|
5014
5598
|
if (this.logger)
|
|
5015
5599
|
retrier.logger = this.logger;
|
|
5016
5600
|
const request = yield oci_common_2.composeRequest({
|