oci-waas 2.5.2 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +150 -72
- package/lib/client.js +308 -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({
|
|
@@ -471,10 +491,11 @@ class RedirectClient {
|
|
|
471
491
|
}
|
|
472
492
|
/**
|
|
473
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.
|
|
474
495
|
* @param UpdateHttpRedirectRequest
|
|
475
496
|
* @return UpdateHttpRedirectResponse
|
|
476
497
|
* @throws OciError when an error occurs
|
|
477
|
-
* @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.
|
|
478
499
|
*/
|
|
479
500
|
updateHttpRedirect(updateHttpRedirectRequest) {
|
|
480
501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -490,7 +511,8 @@ class RedirectClient {
|
|
|
490
511
|
"opc-retry-token": updateHttpRedirectRequest.opcRetryToken,
|
|
491
512
|
"if-match": updateHttpRedirectRequest.ifMatch
|
|
492
513
|
};
|
|
493
|
-
const
|
|
514
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
515
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHttpRedirectRequest.retryConfiguration, specRetryConfiguration);
|
|
494
516
|
if (this.logger)
|
|
495
517
|
retrier.logger = this.logger;
|
|
496
518
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -534,6 +556,9 @@ var WaasApiKeys;
|
|
|
534
556
|
(function (WaasApiKeys) {
|
|
535
557
|
WaasApiKeys[WaasApiKeys["ApiKey"] = 0] = "ApiKey";
|
|
536
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
|
+
*/
|
|
537
562
|
class WaasClient {
|
|
538
563
|
constructor(params, clientConfiguration) {
|
|
539
564
|
this["_endpoint"] = "";
|
|
@@ -548,6 +573,13 @@ class WaasClient {
|
|
|
548
573
|
? clientConfiguration.circuitBreaker.circuit
|
|
549
574
|
: null;
|
|
550
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
|
+
}
|
|
551
583
|
this._httpClient =
|
|
552
584
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
553
585
|
if (params.authenticationDetailsProvider &&
|
|
@@ -621,10 +653,11 @@ class WaasClient {
|
|
|
621
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.
|
|
622
654
|
* <p>
|
|
623
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.
|
|
624
657
|
* @param AcceptRecommendationsRequest
|
|
625
658
|
* @return AcceptRecommendationsResponse
|
|
626
659
|
* @throws OciError when an error occurs
|
|
627
|
-
* @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.
|
|
628
661
|
*/
|
|
629
662
|
acceptRecommendations(acceptRecommendationsRequest) {
|
|
630
663
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -639,7 +672,8 @@ class WaasClient {
|
|
|
639
672
|
"opc-request-id": acceptRecommendationsRequest.opcRequestId,
|
|
640
673
|
"if-match": acceptRecommendationsRequest.ifMatch
|
|
641
674
|
};
|
|
642
|
-
const
|
|
675
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
676
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, acceptRecommendationsRequest.retryConfiguration, specRetryConfiguration);
|
|
643
677
|
if (this.logger)
|
|
644
678
|
retrier.logger = this.logger;
|
|
645
679
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -678,10 +712,11 @@ class WaasClient {
|
|
|
678
712
|
}
|
|
679
713
|
/**
|
|
680
714
|
* Cancels a specified work request.
|
|
715
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
681
716
|
* @param CancelWorkRequestRequest
|
|
682
717
|
* @return CancelWorkRequestResponse
|
|
683
718
|
* @throws OciError when an error occurs
|
|
684
|
-
* @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.
|
|
685
720
|
*/
|
|
686
721
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
687
722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -697,7 +732,8 @@ class WaasClient {
|
|
|
697
732
|
"opc-retry-token": cancelWorkRequestRequest.opcRetryToken,
|
|
698
733
|
"if-match": cancelWorkRequestRequest.ifMatch
|
|
699
734
|
};
|
|
700
|
-
const
|
|
735
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
736
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
701
737
|
if (this.logger)
|
|
702
738
|
retrier.logger = this.logger;
|
|
703
739
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -733,10 +769,11 @@ class WaasClient {
|
|
|
733
769
|
* is checked against ETag values of the address list. For information about moving
|
|
734
770
|
* resources between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
735
771
|
*
|
|
772
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
736
773
|
* @param ChangeAddressListCompartmentRequest
|
|
737
774
|
* @return ChangeAddressListCompartmentResponse
|
|
738
775
|
* @throws OciError when an error occurs
|
|
739
|
-
* @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.
|
|
740
777
|
*/
|
|
741
778
|
changeAddressListCompartment(changeAddressListCompartmentRequest) {
|
|
742
779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -752,7 +789,8 @@ class WaasClient {
|
|
|
752
789
|
"opc-request-id": changeAddressListCompartmentRequest.opcRequestId,
|
|
753
790
|
"opc-retry-token": changeAddressListCompartmentRequest.opcRetryToken
|
|
754
791
|
};
|
|
755
|
-
const
|
|
792
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
793
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAddressListCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
756
794
|
if (this.logger)
|
|
757
795
|
retrier.logger = this.logger;
|
|
758
796
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -788,10 +826,11 @@ class WaasClient {
|
|
|
788
826
|
* Moves certificate into a different compartment. When provided, If-Match is checked against ETag values of the certificate.
|
|
789
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).
|
|
790
828
|
*
|
|
829
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
791
830
|
* @param ChangeCertificateCompartmentRequest
|
|
792
831
|
* @return ChangeCertificateCompartmentResponse
|
|
793
832
|
* @throws OciError when an error occurs
|
|
794
|
-
* @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.
|
|
795
834
|
*/
|
|
796
835
|
changeCertificateCompartment(changeCertificateCompartmentRequest) {
|
|
797
836
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -807,7 +846,8 @@ class WaasClient {
|
|
|
807
846
|
"opc-request-id": changeCertificateCompartmentRequest.opcRequestId,
|
|
808
847
|
"opc-retry-token": changeCertificateCompartmentRequest.opcRetryToken
|
|
809
848
|
};
|
|
810
|
-
const
|
|
849
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
850
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCertificateCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
811
851
|
if (this.logger)
|
|
812
852
|
retrier.logger = this.logger;
|
|
813
853
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -841,10 +881,11 @@ class WaasClient {
|
|
|
841
881
|
}
|
|
842
882
|
/**
|
|
843
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.
|
|
844
885
|
* @param ChangeCustomProtectionRuleCompartmentRequest
|
|
845
886
|
* @return ChangeCustomProtectionRuleCompartmentResponse
|
|
846
887
|
* @throws OciError when an error occurs
|
|
847
|
-
* @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.
|
|
848
889
|
*/
|
|
849
890
|
changeCustomProtectionRuleCompartment(changeCustomProtectionRuleCompartmentRequest) {
|
|
850
891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -860,7 +901,8 @@ class WaasClient {
|
|
|
860
901
|
"opc-request-id": changeCustomProtectionRuleCompartmentRequest.opcRequestId,
|
|
861
902
|
"opc-retry-token": changeCustomProtectionRuleCompartmentRequest.opcRetryToken
|
|
862
903
|
};
|
|
863
|
-
const
|
|
904
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
905
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCustomProtectionRuleCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
864
906
|
if (this.logger)
|
|
865
907
|
retrier.logger = this.logger;
|
|
866
908
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -896,10 +938,11 @@ class WaasClient {
|
|
|
896
938
|
* Moves WAAS policy into a different compartment. When provided, If-Match is checked against ETag values of the WAAS policy.
|
|
897
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).
|
|
898
940
|
*
|
|
941
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
899
942
|
* @param ChangeWaasPolicyCompartmentRequest
|
|
900
943
|
* @return ChangeWaasPolicyCompartmentResponse
|
|
901
944
|
* @throws OciError when an error occurs
|
|
902
|
-
* @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.
|
|
903
946
|
*/
|
|
904
947
|
changeWaasPolicyCompartment(changeWaasPolicyCompartmentRequest) {
|
|
905
948
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -915,7 +958,8 @@ class WaasClient {
|
|
|
915
958
|
"opc-request-id": changeWaasPolicyCompartmentRequest.opcRequestId,
|
|
916
959
|
"opc-retry-token": changeWaasPolicyCompartmentRequest.opcRetryToken
|
|
917
960
|
};
|
|
918
|
-
const
|
|
961
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
962
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeWaasPolicyCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
919
963
|
if (this.logger)
|
|
920
964
|
retrier.logger = this.logger;
|
|
921
965
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -949,10 +993,11 @@ class WaasClient {
|
|
|
949
993
|
}
|
|
950
994
|
/**
|
|
951
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.
|
|
952
997
|
* @param CreateAddressListRequest
|
|
953
998
|
* @return CreateAddressListResponse
|
|
954
999
|
* @throws OciError when an error occurs
|
|
955
|
-
* @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.
|
|
956
1001
|
*/
|
|
957
1002
|
createAddressList(createAddressListRequest) {
|
|
958
1003
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -965,7 +1010,8 @@ class WaasClient {
|
|
|
965
1010
|
"opc-request-id": createAddressListRequest.opcRequestId,
|
|
966
1011
|
"opc-retry-token": createAddressListRequest.opcRetryToken
|
|
967
1012
|
};
|
|
968
|
-
const
|
|
1013
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1014
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
969
1015
|
if (this.logger)
|
|
970
1016
|
retrier.logger = this.logger;
|
|
971
1017
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1010,10 +1056,11 @@ class WaasClient {
|
|
|
1010
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.
|
|
1011
1057
|
* <p>
|
|
1012
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.
|
|
1013
1060
|
* @param CreateCertificateRequest
|
|
1014
1061
|
* @return CreateCertificateResponse
|
|
1015
1062
|
* @throws OciError when an error occurs
|
|
1016
|
-
* @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.
|
|
1017
1064
|
*/
|
|
1018
1065
|
createCertificate(createCertificateRequest) {
|
|
1019
1066
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1026,7 +1073,8 @@ class WaasClient {
|
|
|
1026
1073
|
"opc-request-id": createCertificateRequest.opcRequestId,
|
|
1027
1074
|
"opc-retry-token": createCertificateRequest.opcRetryToken
|
|
1028
1075
|
};
|
|
1029
|
-
const
|
|
1076
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1077
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1030
1078
|
if (this.logger)
|
|
1031
1079
|
retrier.logger = this.logger;
|
|
1032
1080
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1071,10 +1119,11 @@ class WaasClient {
|
|
|
1071
1119
|
* Creates a new custom protection rule in the specified compartment.
|
|
1072
1120
|
* <p>
|
|
1073
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.
|
|
1074
1123
|
* @param CreateCustomProtectionRuleRequest
|
|
1075
1124
|
* @return CreateCustomProtectionRuleResponse
|
|
1076
1125
|
* @throws OciError when an error occurs
|
|
1077
|
-
* @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.
|
|
1078
1127
|
*/
|
|
1079
1128
|
createCustomProtectionRule(createCustomProtectionRuleRequest) {
|
|
1080
1129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1087,7 +1136,8 @@ class WaasClient {
|
|
|
1087
1136
|
"opc-request-id": createCustomProtectionRuleRequest.opcRequestId,
|
|
1088
1137
|
"opc-retry-token": createCustomProtectionRuleRequest.opcRetryToken
|
|
1089
1138
|
};
|
|
1090
|
-
const
|
|
1139
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1140
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1091
1141
|
if (this.logger)
|
|
1092
1142
|
retrier.logger = this.logger;
|
|
1093
1143
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1142,10 +1192,11 @@ class WaasClient {
|
|
|
1142
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).
|
|
1143
1193
|
* <p>
|
|
1144
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.
|
|
1145
1196
|
* @param CreateWaasPolicyRequest
|
|
1146
1197
|
* @return CreateWaasPolicyResponse
|
|
1147
1198
|
* @throws OciError when an error occurs
|
|
1148
|
-
* @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.
|
|
1149
1200
|
*/
|
|
1150
1201
|
createWaasPolicy(createWaasPolicyRequest) {
|
|
1151
1202
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1158,7 +1209,8 @@ class WaasClient {
|
|
|
1158
1209
|
"opc-request-id": createWaasPolicyRequest.opcRequestId,
|
|
1159
1210
|
"opc-retry-token": createWaasPolicyRequest.opcRetryToken
|
|
1160
1211
|
};
|
|
1161
|
-
const
|
|
1212
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1213
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1162
1214
|
if (this.logger)
|
|
1163
1215
|
retrier.logger = this.logger;
|
|
1164
1216
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1202,10 +1254,11 @@ class WaasClient {
|
|
|
1202
1254
|
}
|
|
1203
1255
|
/**
|
|
1204
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.
|
|
1205
1258
|
* @param DeleteAddressListRequest
|
|
1206
1259
|
* @return DeleteAddressListResponse
|
|
1207
1260
|
* @throws OciError when an error occurs
|
|
1208
|
-
* @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.
|
|
1209
1262
|
*/
|
|
1210
1263
|
deleteAddressList(deleteAddressListRequest) {
|
|
1211
1264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1221,7 +1274,8 @@ class WaasClient {
|
|
|
1221
1274
|
"opc-retry-token": deleteAddressListRequest.opcRetryToken,
|
|
1222
1275
|
"if-match": deleteAddressListRequest.ifMatch
|
|
1223
1276
|
};
|
|
1224
|
-
const
|
|
1277
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1278
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
1225
1279
|
if (this.logger)
|
|
1226
1280
|
retrier.logger = this.logger;
|
|
1227
1281
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1254,10 +1308,11 @@ class WaasClient {
|
|
|
1254
1308
|
}
|
|
1255
1309
|
/**
|
|
1256
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.
|
|
1257
1312
|
* @param DeleteCertificateRequest
|
|
1258
1313
|
* @return DeleteCertificateResponse
|
|
1259
1314
|
* @throws OciError when an error occurs
|
|
1260
|
-
* @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.
|
|
1261
1316
|
*/
|
|
1262
1317
|
deleteCertificate(deleteCertificateRequest) {
|
|
1263
1318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1273,7 +1328,8 @@ class WaasClient {
|
|
|
1273
1328
|
"opc-retry-token": deleteCertificateRequest.opcRetryToken,
|
|
1274
1329
|
"if-match": deleteCertificateRequest.ifMatch
|
|
1275
1330
|
};
|
|
1276
|
-
const
|
|
1331
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1332
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1277
1333
|
if (this.logger)
|
|
1278
1334
|
retrier.logger = this.logger;
|
|
1279
1335
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1306,10 +1362,11 @@ class WaasClient {
|
|
|
1306
1362
|
}
|
|
1307
1363
|
/**
|
|
1308
1364
|
* Deletes a Custom Protection rule.
|
|
1365
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1309
1366
|
* @param DeleteCustomProtectionRuleRequest
|
|
1310
1367
|
* @return DeleteCustomProtectionRuleResponse
|
|
1311
1368
|
* @throws OciError when an error occurs
|
|
1312
|
-
* @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.
|
|
1313
1370
|
*/
|
|
1314
1371
|
deleteCustomProtectionRule(deleteCustomProtectionRuleRequest) {
|
|
1315
1372
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1325,7 +1382,8 @@ class WaasClient {
|
|
|
1325
1382
|
"opc-retry-token": deleteCustomProtectionRuleRequest.opcRetryToken,
|
|
1326
1383
|
"if-match": deleteCustomProtectionRuleRequest.ifMatch
|
|
1327
1384
|
};
|
|
1328
|
-
const
|
|
1385
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1386
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1329
1387
|
if (this.logger)
|
|
1330
1388
|
retrier.logger = this.logger;
|
|
1331
1389
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1358,10 +1416,11 @@ class WaasClient {
|
|
|
1358
1416
|
}
|
|
1359
1417
|
/**
|
|
1360
1418
|
* Deletes a policy.
|
|
1419
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1361
1420
|
* @param DeleteWaasPolicyRequest
|
|
1362
1421
|
* @return DeleteWaasPolicyResponse
|
|
1363
1422
|
* @throws OciError when an error occurs
|
|
1364
|
-
* @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.
|
|
1365
1424
|
*/
|
|
1366
1425
|
deleteWaasPolicy(deleteWaasPolicyRequest) {
|
|
1367
1426
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1377,7 +1436,8 @@ class WaasClient {
|
|
|
1377
1436
|
"opc-retry-token": deleteWaasPolicyRequest.opcRetryToken,
|
|
1378
1437
|
"if-match": deleteWaasPolicyRequest.ifMatch
|
|
1379
1438
|
};
|
|
1380
|
-
const
|
|
1439
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1440
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1381
1441
|
if (this.logger)
|
|
1382
1442
|
retrier.logger = this.logger;
|
|
1383
1443
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1415,10 +1475,11 @@ class WaasClient {
|
|
|
1415
1475
|
}
|
|
1416
1476
|
/**
|
|
1417
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.
|
|
1418
1479
|
* @param GetAddressListRequest
|
|
1419
1480
|
* @return GetAddressListResponse
|
|
1420
1481
|
* @throws OciError when an error occurs
|
|
1421
|
-
* @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.
|
|
1422
1483
|
*/
|
|
1423
1484
|
getAddressList(getAddressListRequest) {
|
|
1424
1485
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1432,7 +1493,8 @@ class WaasClient {
|
|
|
1432
1493
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1433
1494
|
"opc-request-id": getAddressListRequest.opcRequestId
|
|
1434
1495
|
};
|
|
1435
|
-
const
|
|
1496
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1497
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
1436
1498
|
if (this.logger)
|
|
1437
1499
|
retrier.logger = this.logger;
|
|
1438
1500
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1474,10 +1536,11 @@ class WaasClient {
|
|
|
1474
1536
|
}
|
|
1475
1537
|
/**
|
|
1476
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.
|
|
1477
1540
|
* @param GetCertificateRequest
|
|
1478
1541
|
* @return GetCertificateResponse
|
|
1479
1542
|
* @throws OciError when an error occurs
|
|
1480
|
-
* @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.
|
|
1481
1544
|
*/
|
|
1482
1545
|
getCertificate(getCertificateRequest) {
|
|
1483
1546
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1491,7 +1554,8 @@ class WaasClient {
|
|
|
1491
1554
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1492
1555
|
"opc-request-id": getCertificateRequest.opcRequestId
|
|
1493
1556
|
};
|
|
1494
|
-
const
|
|
1557
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1558
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1495
1559
|
if (this.logger)
|
|
1496
1560
|
retrier.logger = this.logger;
|
|
1497
1561
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1533,10 +1597,11 @@ class WaasClient {
|
|
|
1533
1597
|
}
|
|
1534
1598
|
/**
|
|
1535
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.
|
|
1536
1601
|
* @param GetCustomProtectionRuleRequest
|
|
1537
1602
|
* @return GetCustomProtectionRuleResponse
|
|
1538
1603
|
* @throws OciError when an error occurs
|
|
1539
|
-
* @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.
|
|
1540
1605
|
*/
|
|
1541
1606
|
getCustomProtectionRule(getCustomProtectionRuleRequest) {
|
|
1542
1607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1550,7 +1615,8 @@ class WaasClient {
|
|
|
1550
1615
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1551
1616
|
"opc-request-id": getCustomProtectionRuleRequest.opcRequestId
|
|
1552
1617
|
};
|
|
1553
|
-
const
|
|
1618
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1619
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1554
1620
|
if (this.logger)
|
|
1555
1621
|
retrier.logger = this.logger;
|
|
1556
1622
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1592,10 +1658,11 @@ class WaasClient {
|
|
|
1592
1658
|
}
|
|
1593
1659
|
/**
|
|
1594
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.
|
|
1595
1662
|
* @param GetDeviceFingerprintChallengeRequest
|
|
1596
1663
|
* @return GetDeviceFingerprintChallengeResponse
|
|
1597
1664
|
* @throws OciError when an error occurs
|
|
1598
|
-
* @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.
|
|
1599
1666
|
*/
|
|
1600
1667
|
getDeviceFingerprintChallenge(getDeviceFingerprintChallengeRequest) {
|
|
1601
1668
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1609,7 +1676,8 @@ class WaasClient {
|
|
|
1609
1676
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1610
1677
|
"opc-request-id": getDeviceFingerprintChallengeRequest.opcRequestId
|
|
1611
1678
|
};
|
|
1612
|
-
const
|
|
1679
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1680
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDeviceFingerprintChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
1613
1681
|
if (this.logger)
|
|
1614
1682
|
retrier.logger = this.logger;
|
|
1615
1683
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1651,10 +1719,11 @@ class WaasClient {
|
|
|
1651
1719
|
}
|
|
1652
1720
|
/**
|
|
1653
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.
|
|
1654
1723
|
* @param GetHumanInteractionChallengeRequest
|
|
1655
1724
|
* @return GetHumanInteractionChallengeResponse
|
|
1656
1725
|
* @throws OciError when an error occurs
|
|
1657
|
-
* @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.
|
|
1658
1727
|
*/
|
|
1659
1728
|
getHumanInteractionChallenge(getHumanInteractionChallengeRequest) {
|
|
1660
1729
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1668,7 +1737,8 @@ class WaasClient {
|
|
|
1668
1737
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1669
1738
|
"opc-request-id": getHumanInteractionChallengeRequest.opcRequestId
|
|
1670
1739
|
};
|
|
1671
|
-
const
|
|
1740
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1741
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHumanInteractionChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
1672
1742
|
if (this.logger)
|
|
1673
1743
|
retrier.logger = this.logger;
|
|
1674
1744
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1710,10 +1780,11 @@ class WaasClient {
|
|
|
1710
1780
|
}
|
|
1711
1781
|
/**
|
|
1712
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.
|
|
1713
1784
|
* @param GetJsChallengeRequest
|
|
1714
1785
|
* @return GetJsChallengeResponse
|
|
1715
1786
|
* @throws OciError when an error occurs
|
|
1716
|
-
* @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.
|
|
1717
1788
|
*/
|
|
1718
1789
|
getJsChallenge(getJsChallengeRequest) {
|
|
1719
1790
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1727,7 +1798,8 @@ class WaasClient {
|
|
|
1727
1798
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1728
1799
|
"opc-request-id": getJsChallengeRequest.opcRequestId
|
|
1729
1800
|
};
|
|
1730
|
-
const
|
|
1801
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1802
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJsChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
1731
1803
|
if (this.logger)
|
|
1732
1804
|
retrier.logger = this.logger;
|
|
1733
1805
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1769,10 +1841,11 @@ class WaasClient {
|
|
|
1769
1841
|
}
|
|
1770
1842
|
/**
|
|
1771
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.
|
|
1772
1845
|
* @param GetPolicyConfigRequest
|
|
1773
1846
|
* @return GetPolicyConfigResponse
|
|
1774
1847
|
* @throws OciError when an error occurs
|
|
1775
|
-
* @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.
|
|
1776
1849
|
*/
|
|
1777
1850
|
getPolicyConfig(getPolicyConfigRequest) {
|
|
1778
1851
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1786,7 +1859,8 @@ class WaasClient {
|
|
|
1786
1859
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1787
1860
|
"opc-request-id": getPolicyConfigRequest.opcRequestId
|
|
1788
1861
|
};
|
|
1789
|
-
const
|
|
1862
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1863
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPolicyConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1790
1864
|
if (this.logger)
|
|
1791
1865
|
retrier.logger = this.logger;
|
|
1792
1866
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1828,10 +1902,11 @@ class WaasClient {
|
|
|
1828
1902
|
}
|
|
1829
1903
|
/**
|
|
1830
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.
|
|
1831
1906
|
* @param GetProtectionRuleRequest
|
|
1832
1907
|
* @return GetProtectionRuleResponse
|
|
1833
1908
|
* @throws OciError when an error occurs
|
|
1834
|
-
* @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.
|
|
1835
1910
|
*/
|
|
1836
1911
|
getProtectionRule(getProtectionRuleRequest) {
|
|
1837
1912
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1846,7 +1921,8 @@ class WaasClient {
|
|
|
1846
1921
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1847
1922
|
"opc-request-id": getProtectionRuleRequest.opcRequestId
|
|
1848
1923
|
};
|
|
1849
|
-
const
|
|
1924
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1925
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1850
1926
|
if (this.logger)
|
|
1851
1927
|
retrier.logger = this.logger;
|
|
1852
1928
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1888,10 +1964,11 @@ class WaasClient {
|
|
|
1888
1964
|
}
|
|
1889
1965
|
/**
|
|
1890
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.
|
|
1891
1968
|
* @param GetProtectionSettingsRequest
|
|
1892
1969
|
* @return GetProtectionSettingsResponse
|
|
1893
1970
|
* @throws OciError when an error occurs
|
|
1894
|
-
* @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.
|
|
1895
1972
|
*/
|
|
1896
1973
|
getProtectionSettings(getProtectionSettingsRequest) {
|
|
1897
1974
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1905,7 +1982,8 @@ class WaasClient {
|
|
|
1905
1982
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1906
1983
|
"opc-request-id": getProtectionSettingsRequest.opcRequestId
|
|
1907
1984
|
};
|
|
1908
|
-
const
|
|
1985
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1986
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProtectionSettingsRequest.retryConfiguration, specRetryConfiguration);
|
|
1909
1987
|
if (this.logger)
|
|
1910
1988
|
retrier.logger = this.logger;
|
|
1911
1989
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1947,10 +2025,11 @@ class WaasClient {
|
|
|
1947
2025
|
}
|
|
1948
2026
|
/**
|
|
1949
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.
|
|
1950
2029
|
* @param GetWaasPolicyRequest
|
|
1951
2030
|
* @return GetWaasPolicyResponse
|
|
1952
2031
|
* @throws OciError when an error occurs
|
|
1953
|
-
* @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.
|
|
1954
2033
|
*/
|
|
1955
2034
|
getWaasPolicy(getWaasPolicyRequest) {
|
|
1956
2035
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1964,7 +2043,8 @@ class WaasClient {
|
|
|
1964
2043
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1965
2044
|
"opc-request-id": getWaasPolicyRequest.opcRequestId
|
|
1966
2045
|
};
|
|
1967
|
-
const
|
|
2046
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2047
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1968
2048
|
if (this.logger)
|
|
1969
2049
|
retrier.logger = this.logger;
|
|
1970
2050
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2006,10 +2086,11 @@ class WaasClient {
|
|
|
2006
2086
|
}
|
|
2007
2087
|
/**
|
|
2008
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.
|
|
2009
2090
|
* @param GetWafAddressRateLimitingRequest
|
|
2010
2091
|
* @return GetWafAddressRateLimitingResponse
|
|
2011
2092
|
* @throws OciError when an error occurs
|
|
2012
|
-
* @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.
|
|
2013
2094
|
*/
|
|
2014
2095
|
getWafAddressRateLimiting(getWafAddressRateLimitingRequest) {
|
|
2015
2096
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2023,7 +2104,8 @@ class WaasClient {
|
|
|
2023
2104
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2024
2105
|
"opc-request-id": getWafAddressRateLimitingRequest.opcRequestId
|
|
2025
2106
|
};
|
|
2026
|
-
const
|
|
2107
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2108
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWafAddressRateLimitingRequest.retryConfiguration, specRetryConfiguration);
|
|
2027
2109
|
if (this.logger)
|
|
2028
2110
|
retrier.logger = this.logger;
|
|
2029
2111
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2065,10 +2147,11 @@ class WaasClient {
|
|
|
2065
2147
|
}
|
|
2066
2148
|
/**
|
|
2067
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.
|
|
2068
2151
|
* @param GetWafConfigRequest
|
|
2069
2152
|
* @return GetWafConfigResponse
|
|
2070
2153
|
* @throws OciError when an error occurs
|
|
2071
|
-
* @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.
|
|
2072
2155
|
*/
|
|
2073
2156
|
getWafConfig(getWafConfigRequest) {
|
|
2074
2157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2082,7 +2165,8 @@ class WaasClient {
|
|
|
2082
2165
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2083
2166
|
"opc-request-id": getWafConfigRequest.opcRequestId
|
|
2084
2167
|
};
|
|
2085
|
-
const
|
|
2168
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2169
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWafConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
2086
2170
|
if (this.logger)
|
|
2087
2171
|
retrier.logger = this.logger;
|
|
2088
2172
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2124,10 +2208,11 @@ class WaasClient {
|
|
|
2124
2208
|
}
|
|
2125
2209
|
/**
|
|
2126
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.
|
|
2127
2212
|
* @param GetWorkRequestRequest
|
|
2128
2213
|
* @return GetWorkRequestResponse
|
|
2129
2214
|
* @throws OciError when an error occurs
|
|
2130
|
-
* @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.
|
|
2131
2216
|
*/
|
|
2132
2217
|
getWorkRequest(getWorkRequestRequest) {
|
|
2133
2218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2141,7 +2226,8 @@ class WaasClient {
|
|
|
2141
2226
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2142
2227
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
2143
2228
|
};
|
|
2144
|
-
const
|
|
2229
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2230
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2145
2231
|
if (this.logger)
|
|
2146
2232
|
retrier.logger = this.logger;
|
|
2147
2233
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2189,10 +2275,11 @@ class WaasClient {
|
|
|
2189
2275
|
/**
|
|
2190
2276
|
* Gets the currently configured access rules for the Web Application Firewall configuration of a specified WAAS policy.
|
|
2191
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.
|
|
2192
2279
|
* @param ListAccessRulesRequest
|
|
2193
2280
|
* @return ListAccessRulesResponse
|
|
2194
2281
|
* @throws OciError when an error occurs
|
|
2195
|
-
* @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.
|
|
2196
2283
|
*/
|
|
2197
2284
|
listAccessRules(listAccessRulesRequest) {
|
|
2198
2285
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2209,7 +2296,8 @@ class WaasClient {
|
|
|
2209
2296
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2210
2297
|
"opc-request-id": listAccessRulesRequest.opcRequestId
|
|
2211
2298
|
};
|
|
2212
|
-
const
|
|
2299
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2300
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2213
2301
|
if (this.logger)
|
|
2214
2302
|
retrier.logger = this.logger;
|
|
2215
2303
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2296,10 +2384,11 @@ class WaasClient {
|
|
|
2296
2384
|
}
|
|
2297
2385
|
/**
|
|
2298
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.
|
|
2299
2388
|
* @param ListAddressListsRequest
|
|
2300
2389
|
* @return ListAddressListsResponse
|
|
2301
2390
|
* @throws OciError when an error occurs
|
|
2302
|
-
* @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.
|
|
2303
2392
|
*/
|
|
2304
2393
|
listAddressLists(listAddressListsRequest) {
|
|
2305
2394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2322,7 +2411,8 @@ class WaasClient {
|
|
|
2322
2411
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2323
2412
|
"opc-request-id": listAddressListsRequest.opcRequestId
|
|
2324
2413
|
};
|
|
2325
|
-
const
|
|
2414
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2415
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAddressListsRequest.retryConfiguration, specRetryConfiguration);
|
|
2326
2416
|
if (this.logger)
|
|
2327
2417
|
retrier.logger = this.logger;
|
|
2328
2418
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2405,10 +2495,11 @@ class WaasClient {
|
|
|
2405
2495
|
/**
|
|
2406
2496
|
* Gets the currently configured caching rules for the Web Application Firewall configuration of a specified WAAS policy.
|
|
2407
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.
|
|
2408
2499
|
* @param ListCachingRulesRequest
|
|
2409
2500
|
* @return ListCachingRulesResponse
|
|
2410
2501
|
* @throws OciError when an error occurs
|
|
2411
|
-
* @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.
|
|
2412
2503
|
*/
|
|
2413
2504
|
listCachingRules(listCachingRulesRequest) {
|
|
2414
2505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2425,7 +2516,8 @@ class WaasClient {
|
|
|
2425
2516
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2426
2517
|
"opc-request-id": listCachingRulesRequest.opcRequestId
|
|
2427
2518
|
};
|
|
2428
|
-
const
|
|
2519
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2520
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCachingRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2429
2521
|
if (this.logger)
|
|
2430
2522
|
retrier.logger = this.logger;
|
|
2431
2523
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2517,10 +2609,11 @@ class WaasClient {
|
|
|
2517
2609
|
The order of the CAPTCHA challenges is important. The URL for each
|
|
2518
2610
|
* CAPTCHA will be checked in the order they are created.
|
|
2519
2611
|
*
|
|
2612
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2520
2613
|
* @param ListCaptchasRequest
|
|
2521
2614
|
* @return ListCaptchasResponse
|
|
2522
2615
|
* @throws OciError when an error occurs
|
|
2523
|
-
* @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.
|
|
2524
2617
|
*/
|
|
2525
2618
|
listCaptchas(listCaptchasRequest) {
|
|
2526
2619
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2537,7 +2630,8 @@ class WaasClient {
|
|
|
2537
2630
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2538
2631
|
"opc-request-id": listCaptchasRequest.opcRequestId
|
|
2539
2632
|
};
|
|
2540
|
-
const
|
|
2633
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2634
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCaptchasRequest.retryConfiguration, specRetryConfiguration);
|
|
2541
2635
|
if (this.logger)
|
|
2542
2636
|
retrier.logger = this.logger;
|
|
2543
2637
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2624,10 +2718,11 @@ class WaasClient {
|
|
|
2624
2718
|
}
|
|
2625
2719
|
/**
|
|
2626
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.
|
|
2627
2722
|
* @param ListCertificatesRequest
|
|
2628
2723
|
* @return ListCertificatesResponse
|
|
2629
2724
|
* @throws OciError when an error occurs
|
|
2630
|
-
* @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.
|
|
2631
2726
|
*/
|
|
2632
2727
|
listCertificates(listCertificatesRequest) {
|
|
2633
2728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2650,7 +2745,8 @@ class WaasClient {
|
|
|
2650
2745
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2651
2746
|
"opc-request-id": listCertificatesRequest.opcRequestId
|
|
2652
2747
|
};
|
|
2653
|
-
const
|
|
2748
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2749
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCertificatesRequest.retryConfiguration, specRetryConfiguration);
|
|
2654
2750
|
if (this.logger)
|
|
2655
2751
|
retrier.logger = this.logger;
|
|
2656
2752
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2732,10 +2828,11 @@ class WaasClient {
|
|
|
2732
2828
|
}
|
|
2733
2829
|
/**
|
|
2734
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.
|
|
2735
2832
|
* @param ListCustomProtectionRulesRequest
|
|
2736
2833
|
* @return ListCustomProtectionRulesResponse
|
|
2737
2834
|
* @throws OciError when an error occurs
|
|
2738
|
-
* @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.
|
|
2739
2836
|
*/
|
|
2740
2837
|
listCustomProtectionRules(listCustomProtectionRulesRequest) {
|
|
2741
2838
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2758,7 +2855,8 @@ class WaasClient {
|
|
|
2758
2855
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2759
2856
|
"opc-request-id": listCustomProtectionRulesRequest.opcRequestId
|
|
2760
2857
|
};
|
|
2761
|
-
const
|
|
2858
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2859
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCustomProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2762
2860
|
if (this.logger)
|
|
2763
2861
|
retrier.logger = this.logger;
|
|
2764
2862
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2840,10 +2938,11 @@ class WaasClient {
|
|
|
2840
2938
|
}
|
|
2841
2939
|
/**
|
|
2842
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.
|
|
2843
2942
|
* @param ListEdgeSubnetsRequest
|
|
2844
2943
|
* @return ListEdgeSubnetsResponse
|
|
2845
2944
|
* @throws OciError when an error occurs
|
|
2846
|
-
* @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.
|
|
2847
2946
|
*/
|
|
2848
2947
|
listEdgeSubnets(listEdgeSubnetsRequest) {
|
|
2849
2948
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2860,7 +2959,8 @@ class WaasClient {
|
|
|
2860
2959
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2861
2960
|
"opc-request-id": listEdgeSubnetsRequest.opcRequestId
|
|
2862
2961
|
};
|
|
2863
|
-
const
|
|
2962
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2963
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEdgeSubnetsRequest.retryConfiguration, specRetryConfiguration);
|
|
2864
2964
|
if (this.logger)
|
|
2865
2965
|
retrier.logger = this.logger;
|
|
2866
2966
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2945,10 +3045,11 @@ class WaasClient {
|
|
|
2945
3045
|
* <p>
|
|
2946
3046
|
The list is sorted by `key`, in ascending order.
|
|
2947
3047
|
*
|
|
3048
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2948
3049
|
* @param ListGoodBotsRequest
|
|
2949
3050
|
* @return ListGoodBotsResponse
|
|
2950
3051
|
* @throws OciError when an error occurs
|
|
2951
|
-
* @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.
|
|
2952
3053
|
*/
|
|
2953
3054
|
listGoodBots(listGoodBotsRequest) {
|
|
2954
3055
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2965,7 +3066,8 @@ class WaasClient {
|
|
|
2965
3066
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2966
3067
|
"opc-request-id": listGoodBotsRequest.opcRequestId
|
|
2967
3068
|
};
|
|
2968
|
-
const
|
|
3069
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3070
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGoodBotsRequest.retryConfiguration, specRetryConfiguration);
|
|
2969
3071
|
if (this.logger)
|
|
2970
3072
|
retrier.logger = this.logger;
|
|
2971
3073
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3053,10 +3155,11 @@ class WaasClient {
|
|
|
3053
3155
|
/**
|
|
3054
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.
|
|
3055
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.
|
|
3056
3159
|
* @param ListProtectionRulesRequest
|
|
3057
3160
|
* @return ListProtectionRulesResponse
|
|
3058
3161
|
* @throws OciError when an error occurs
|
|
3059
|
-
* @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.
|
|
3060
3163
|
*/
|
|
3061
3164
|
listProtectionRules(listProtectionRulesRequest) {
|
|
3062
3165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3075,7 +3178,8 @@ class WaasClient {
|
|
|
3075
3178
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3076
3179
|
"opc-request-id": listProtectionRulesRequest.opcRequestId
|
|
3077
3180
|
};
|
|
3078
|
-
const
|
|
3181
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3182
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
3079
3183
|
if (this.logger)
|
|
3080
3184
|
retrier.logger = this.logger;
|
|
3081
3185
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3165,10 +3269,11 @@ class WaasClient {
|
|
|
3165
3269
|
* <p>
|
|
3166
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).
|
|
3167
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.
|
|
3168
3273
|
* @param ListRecommendationsRequest
|
|
3169
3274
|
* @return ListRecommendationsResponse
|
|
3170
3275
|
* @throws OciError when an error occurs
|
|
3171
|
-
* @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.
|
|
3172
3277
|
*/
|
|
3173
3278
|
listRecommendations(listRecommendationsRequest) {
|
|
3174
3279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3186,7 +3291,8 @@ class WaasClient {
|
|
|
3186
3291
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3187
3292
|
"opc-request-id": listRecommendationsRequest.opcRequestId
|
|
3188
3293
|
};
|
|
3189
|
-
const
|
|
3294
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3295
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRecommendationsRequest.retryConfiguration, specRetryConfiguration);
|
|
3190
3296
|
if (this.logger)
|
|
3191
3297
|
retrier.logger = this.logger;
|
|
3192
3298
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3276,10 +3382,11 @@ class WaasClient {
|
|
|
3276
3382
|
* and the actions set for each feed. The list is sorted by `key`,
|
|
3277
3383
|
* in ascending order.
|
|
3278
3384
|
*
|
|
3385
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3279
3386
|
* @param ListThreatFeedsRequest
|
|
3280
3387
|
* @return ListThreatFeedsResponse
|
|
3281
3388
|
* @throws OciError when an error occurs
|
|
3282
|
-
* @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.
|
|
3283
3390
|
*/
|
|
3284
3391
|
listThreatFeeds(listThreatFeedsRequest) {
|
|
3285
3392
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3296,7 +3403,8 @@ class WaasClient {
|
|
|
3296
3403
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3297
3404
|
"opc-request-id": listThreatFeedsRequest.opcRequestId
|
|
3298
3405
|
};
|
|
3299
|
-
const
|
|
3406
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3407
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listThreatFeedsRequest.retryConfiguration, specRetryConfiguration);
|
|
3300
3408
|
if (this.logger)
|
|
3301
3409
|
retrier.logger = this.logger;
|
|
3302
3410
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3383,10 +3491,11 @@ class WaasClient {
|
|
|
3383
3491
|
}
|
|
3384
3492
|
/**
|
|
3385
3493
|
* Gets a list of WAAS policies.
|
|
3494
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3386
3495
|
* @param ListWaasPoliciesRequest
|
|
3387
3496
|
* @return ListWaasPoliciesResponse
|
|
3388
3497
|
* @throws OciError when an error occurs
|
|
3389
|
-
* @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.
|
|
3390
3499
|
*/
|
|
3391
3500
|
listWaasPolicies(listWaasPoliciesRequest) {
|
|
3392
3501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3409,7 +3518,8 @@ class WaasClient {
|
|
|
3409
3518
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3410
3519
|
"opc-request-id": listWaasPoliciesRequest.opcRequestId
|
|
3411
3520
|
};
|
|
3412
|
-
const
|
|
3521
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3522
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWaasPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
3413
3523
|
if (this.logger)
|
|
3414
3524
|
retrier.logger = this.logger;
|
|
3415
3525
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3491,10 +3601,11 @@ class WaasClient {
|
|
|
3491
3601
|
}
|
|
3492
3602
|
/**
|
|
3493
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.
|
|
3494
3605
|
* @param ListWaasPolicyCustomProtectionRulesRequest
|
|
3495
3606
|
* @return ListWaasPolicyCustomProtectionRulesResponse
|
|
3496
3607
|
* @throws OciError when an error occurs
|
|
3497
|
-
* @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.
|
|
3498
3609
|
*/
|
|
3499
3610
|
listWaasPolicyCustomProtectionRules(listWaasPolicyCustomProtectionRulesRequest) {
|
|
3500
3611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3513,7 +3624,8 @@ class WaasClient {
|
|
|
3513
3624
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3514
3625
|
"opc-request-id": listWaasPolicyCustomProtectionRulesRequest.opcRequestId
|
|
3515
3626
|
};
|
|
3516
|
-
const
|
|
3627
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3628
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWaasPolicyCustomProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
3517
3629
|
if (this.logger)
|
|
3518
3630
|
retrier.logger = this.logger;
|
|
3519
3631
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3600,10 +3712,11 @@ class WaasClient {
|
|
|
3600
3712
|
}
|
|
3601
3713
|
/**
|
|
3602
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.
|
|
3603
3716
|
* @param ListWafBlockedRequestsRequest
|
|
3604
3717
|
* @return ListWafBlockedRequestsResponse
|
|
3605
3718
|
* @throws OciError when an error occurs
|
|
3606
|
-
* @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.
|
|
3607
3720
|
*/
|
|
3608
3721
|
listWafBlockedRequests(listWafBlockedRequestsRequest) {
|
|
3609
3722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3623,7 +3736,8 @@ class WaasClient {
|
|
|
3623
3736
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3624
3737
|
"opc-request-id": listWafBlockedRequestsRequest.opcRequestId
|
|
3625
3738
|
};
|
|
3626
|
-
const
|
|
3739
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3740
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafBlockedRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3627
3741
|
if (this.logger)
|
|
3628
3742
|
retrier.logger = this.logger;
|
|
3629
3743
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3708,10 +3822,11 @@ class WaasClient {
|
|
|
3708
3822
|
* policy. Sorted by the `timeObserved` in ascending order (starting from the
|
|
3709
3823
|
* oldest recorded event).
|
|
3710
3824
|
*
|
|
3825
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3711
3826
|
* @param ListWafLogsRequest
|
|
3712
3827
|
* @return ListWafLogsResponse
|
|
3713
3828
|
* @throws OciError when an error occurs
|
|
3714
|
-
* @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.
|
|
3715
3830
|
*/
|
|
3716
3831
|
listWafLogs(listWafLogsRequest) {
|
|
3717
3832
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3747,7 +3862,8 @@ class WaasClient {
|
|
|
3747
3862
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3748
3863
|
"opc-request-id": listWafLogsRequest.opcRequestId
|
|
3749
3864
|
};
|
|
3750
|
-
const
|
|
3865
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3866
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3751
3867
|
if (this.logger)
|
|
3752
3868
|
retrier.logger = this.logger;
|
|
3753
3869
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3832,10 +3948,11 @@ class WaasClient {
|
|
|
3832
3948
|
* over a specified period of time, including blocked requests. Sorted
|
|
3833
3949
|
* by `timeObserved` in ascending order (starting from oldest requests).
|
|
3834
3950
|
*
|
|
3951
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3835
3952
|
* @param ListWafRequestsRequest
|
|
3836
3953
|
* @return ListWafRequestsResponse
|
|
3837
3954
|
* @throws OciError when an error occurs
|
|
3838
|
-
* @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.
|
|
3839
3956
|
*/
|
|
3840
3957
|
listWafRequests(listWafRequestsRequest) {
|
|
3841
3958
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3854,7 +3971,8 @@ class WaasClient {
|
|
|
3854
3971
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3855
3972
|
"opc-request-id": listWafRequestsRequest.opcRequestId
|
|
3856
3973
|
};
|
|
3857
|
-
const
|
|
3974
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3975
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3858
3976
|
if (this.logger)
|
|
3859
3977
|
retrier.logger = this.logger;
|
|
3860
3978
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3938,10 +4056,11 @@ class WaasClient {
|
|
|
3938
4056
|
* Gets the Web Application Firewall traffic data for a WAAS policy.
|
|
3939
4057
|
* Sorted by `timeObserved` in ascending order (starting from oldest data).
|
|
3940
4058
|
*
|
|
4059
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3941
4060
|
* @param ListWafTrafficRequest
|
|
3942
4061
|
* @return ListWafTrafficResponse
|
|
3943
4062
|
* @throws OciError when an error occurs
|
|
3944
|
-
* @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.
|
|
3945
4064
|
*/
|
|
3946
4065
|
listWafTraffic(listWafTrafficRequest) {
|
|
3947
4066
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3960,7 +4079,8 @@ class WaasClient {
|
|
|
3960
4079
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3961
4080
|
"opc-request-id": listWafTrafficRequest.opcRequestId
|
|
3962
4081
|
};
|
|
3963
|
-
const
|
|
4082
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4083
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafTrafficRequest.retryConfiguration, specRetryConfiguration);
|
|
3964
4084
|
if (this.logger)
|
|
3965
4085
|
retrier.logger = this.logger;
|
|
3966
4086
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4042,10 +4162,11 @@ class WaasClient {
|
|
|
4042
4162
|
}
|
|
4043
4163
|
/**
|
|
4044
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.
|
|
4045
4166
|
* @param ListWhitelistsRequest
|
|
4046
4167
|
* @return ListWhitelistsResponse
|
|
4047
4168
|
* @throws OciError when an error occurs
|
|
4048
|
-
* @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.
|
|
4049
4170
|
*/
|
|
4050
4171
|
listWhitelists(listWhitelistsRequest) {
|
|
4051
4172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4062,7 +4183,8 @@ class WaasClient {
|
|
|
4062
4183
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4063
4184
|
"opc-request-id": listWhitelistsRequest.opcRequestId
|
|
4064
4185
|
};
|
|
4065
|
-
const
|
|
4186
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4187
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWhitelistsRequest.retryConfiguration, specRetryConfiguration);
|
|
4066
4188
|
if (this.logger)
|
|
4067
4189
|
retrier.logger = this.logger;
|
|
4068
4190
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4149,10 +4271,11 @@ class WaasClient {
|
|
|
4149
4271
|
}
|
|
4150
4272
|
/**
|
|
4151
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.
|
|
4152
4275
|
* @param ListWorkRequestsRequest
|
|
4153
4276
|
* @return ListWorkRequestsResponse
|
|
4154
4277
|
* @throws OciError when an error occurs
|
|
4155
|
-
* @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.
|
|
4156
4279
|
*/
|
|
4157
4280
|
listWorkRequests(listWorkRequestsRequest) {
|
|
4158
4281
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4171,7 +4294,8 @@ class WaasClient {
|
|
|
4171
4294
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4172
4295
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
4173
4296
|
};
|
|
4174
|
-
const
|
|
4297
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4298
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
4175
4299
|
if (this.logger)
|
|
4176
4300
|
retrier.logger = this.logger;
|
|
4177
4301
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4254,10 +4378,11 @@ class WaasClient {
|
|
|
4254
4378
|
/**
|
|
4255
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.
|
|
4256
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.
|
|
4257
4382
|
* @param PurgeCacheRequest
|
|
4258
4383
|
* @return PurgeCacheResponse
|
|
4259
4384
|
* @throws OciError when an error occurs
|
|
4260
|
-
* @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.
|
|
4261
4386
|
*/
|
|
4262
4387
|
purgeCache(purgeCacheRequest) {
|
|
4263
4388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4272,7 +4397,8 @@ class WaasClient {
|
|
|
4272
4397
|
"opc-request-id": purgeCacheRequest.opcRequestId,
|
|
4273
4398
|
"if-match": purgeCacheRequest.ifMatch
|
|
4274
4399
|
};
|
|
4275
|
-
const
|
|
4400
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4401
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, purgeCacheRequest.retryConfiguration, specRetryConfiguration);
|
|
4276
4402
|
if (this.logger)
|
|
4277
4403
|
retrier.logger = this.logger;
|
|
4278
4404
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4319,10 +4445,11 @@ class WaasClient {
|
|
|
4319
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.
|
|
4320
4446
|
* <p>
|
|
4321
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.
|
|
4322
4449
|
* @param UpdateAccessRulesRequest
|
|
4323
4450
|
* @return UpdateAccessRulesResponse
|
|
4324
4451
|
* @throws OciError when an error occurs
|
|
4325
|
-
* @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.
|
|
4326
4453
|
*/
|
|
4327
4454
|
updateAccessRules(updateAccessRulesRequest) {
|
|
4328
4455
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4338,7 +4465,8 @@ class WaasClient {
|
|
|
4338
4465
|
"opc-retry-token": updateAccessRulesRequest.opcRetryToken,
|
|
4339
4466
|
"if-match": updateAccessRulesRequest.ifMatch
|
|
4340
4467
|
};
|
|
4341
|
-
const
|
|
4468
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4469
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAccessRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
4342
4470
|
if (this.logger)
|
|
4343
4471
|
retrier.logger = this.logger;
|
|
4344
4472
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4377,10 +4505,11 @@ class WaasClient {
|
|
|
4377
4505
|
}
|
|
4378
4506
|
/**
|
|
4379
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.
|
|
4380
4509
|
* @param UpdateAddressListRequest
|
|
4381
4510
|
* @return UpdateAddressListResponse
|
|
4382
4511
|
* @throws OciError when an error occurs
|
|
4383
|
-
* @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.
|
|
4384
4513
|
*/
|
|
4385
4514
|
updateAddressList(updateAddressListRequest) {
|
|
4386
4515
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4395,7 +4524,8 @@ class WaasClient {
|
|
|
4395
4524
|
"opc-request-id": updateAddressListRequest.opcRequestId,
|
|
4396
4525
|
"if-match": updateAddressListRequest.ifMatch
|
|
4397
4526
|
};
|
|
4398
|
-
const
|
|
4527
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4528
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
4399
4529
|
if (this.logger)
|
|
4400
4530
|
retrier.logger = this.logger;
|
|
4401
4531
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4444,10 +4574,11 @@ class WaasClient {
|
|
|
4444
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.
|
|
4445
4575
|
* <p>
|
|
4446
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.
|
|
4447
4578
|
* @param UpdateCachingRulesRequest
|
|
4448
4579
|
* @return UpdateCachingRulesResponse
|
|
4449
4580
|
* @throws OciError when an error occurs
|
|
4450
|
-
* @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.
|
|
4451
4582
|
*/
|
|
4452
4583
|
updateCachingRules(updateCachingRulesRequest) {
|
|
4453
4584
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4463,7 +4594,8 @@ class WaasClient {
|
|
|
4463
4594
|
"opc-retry-token": updateCachingRulesRequest.opcRetryToken,
|
|
4464
4595
|
"if-match": updateCachingRulesRequest.ifMatch
|
|
4465
4596
|
};
|
|
4466
|
-
const
|
|
4597
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4598
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCachingRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
4467
4599
|
if (this.logger)
|
|
4468
4600
|
retrier.logger = this.logger;
|
|
4469
4601
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4510,10 +4642,11 @@ class WaasClient {
|
|
|
4510
4642
|
Any existing CAPTCHA challenges that are not specified with a `key` in the list of CAPTCHA challenges will be deleted upon update.
|
|
4511
4643
|
* <p>
|
|
4512
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.
|
|
4513
4646
|
* @param UpdateCaptchasRequest
|
|
4514
4647
|
* @return UpdateCaptchasResponse
|
|
4515
4648
|
* @throws OciError when an error occurs
|
|
4516
|
-
* @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.
|
|
4517
4650
|
*/
|
|
4518
4651
|
updateCaptchas(updateCaptchasRequest) {
|
|
4519
4652
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4529,7 +4662,8 @@ class WaasClient {
|
|
|
4529
4662
|
"opc-retry-token": updateCaptchasRequest.opcRetryToken,
|
|
4530
4663
|
"if-match": updateCaptchasRequest.ifMatch
|
|
4531
4664
|
};
|
|
4532
|
-
const
|
|
4665
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4666
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCaptchasRequest.retryConfiguration, specRetryConfiguration);
|
|
4533
4667
|
if (this.logger)
|
|
4534
4668
|
retrier.logger = this.logger;
|
|
4535
4669
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4568,10 +4702,11 @@ class WaasClient {
|
|
|
4568
4702
|
}
|
|
4569
4703
|
/**
|
|
4570
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.
|
|
4571
4706
|
* @param UpdateCertificateRequest
|
|
4572
4707
|
* @return UpdateCertificateResponse
|
|
4573
4708
|
* @throws OciError when an error occurs
|
|
4574
|
-
* @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.
|
|
4575
4710
|
*/
|
|
4576
4711
|
updateCertificate(updateCertificateRequest) {
|
|
4577
4712
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4586,7 +4721,8 @@ class WaasClient {
|
|
|
4586
4721
|
"opc-request-id": updateCertificateRequest.opcRequestId,
|
|
4587
4722
|
"if-match": updateCertificateRequest.ifMatch
|
|
4588
4723
|
};
|
|
4589
|
-
const
|
|
4724
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4725
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
4590
4726
|
if (this.logger)
|
|
4591
4727
|
retrier.logger = this.logger;
|
|
4592
4728
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4629,10 +4765,11 @@ class WaasClient {
|
|
|
4629
4765
|
}
|
|
4630
4766
|
/**
|
|
4631
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.
|
|
4632
4769
|
* @param UpdateCustomProtectionRuleRequest
|
|
4633
4770
|
* @return UpdateCustomProtectionRuleResponse
|
|
4634
4771
|
* @throws OciError when an error occurs
|
|
4635
|
-
* @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.
|
|
4636
4773
|
*/
|
|
4637
4774
|
updateCustomProtectionRule(updateCustomProtectionRuleRequest) {
|
|
4638
4775
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4648,7 +4785,8 @@ class WaasClient {
|
|
|
4648
4785
|
"opc-retry-token": updateCustomProtectionRuleRequest.opcRetryToken,
|
|
4649
4786
|
"if-match": updateCustomProtectionRuleRequest.ifMatch
|
|
4650
4787
|
};
|
|
4651
|
-
const
|
|
4788
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4789
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
4652
4790
|
if (this.logger)
|
|
4653
4791
|
retrier.logger = this.logger;
|
|
4654
4792
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4695,10 +4833,11 @@ class WaasClient {
|
|
|
4695
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.
|
|
4696
4834
|
* <p>
|
|
4697
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.
|
|
4698
4837
|
* @param UpdateDeviceFingerprintChallengeRequest
|
|
4699
4838
|
* @return UpdateDeviceFingerprintChallengeResponse
|
|
4700
4839
|
* @throws OciError when an error occurs
|
|
4701
|
-
* @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.
|
|
4702
4841
|
*/
|
|
4703
4842
|
updateDeviceFingerprintChallenge(updateDeviceFingerprintChallengeRequest) {
|
|
4704
4843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4714,7 +4853,8 @@ class WaasClient {
|
|
|
4714
4853
|
"opc-retry-token": updateDeviceFingerprintChallengeRequest.opcRetryToken,
|
|
4715
4854
|
"if-match": updateDeviceFingerprintChallengeRequest.ifMatch
|
|
4716
4855
|
};
|
|
4717
|
-
const
|
|
4856
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4857
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDeviceFingerprintChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
4718
4858
|
if (this.logger)
|
|
4719
4859
|
retrier.logger = this.logger;
|
|
4720
4860
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4755,10 +4895,11 @@ class WaasClient {
|
|
|
4755
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.
|
|
4756
4896
|
* <p>
|
|
4757
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.
|
|
4758
4899
|
* @param UpdateGoodBotsRequest
|
|
4759
4900
|
* @return UpdateGoodBotsResponse
|
|
4760
4901
|
* @throws OciError when an error occurs
|
|
4761
|
-
* @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.
|
|
4762
4903
|
*/
|
|
4763
4904
|
updateGoodBots(updateGoodBotsRequest) {
|
|
4764
4905
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4774,7 +4915,8 @@ class WaasClient {
|
|
|
4774
4915
|
"opc-retry-token": updateGoodBotsRequest.opcRetryToken,
|
|
4775
4916
|
"if-match": updateGoodBotsRequest.ifMatch
|
|
4776
4917
|
};
|
|
4777
|
-
const
|
|
4918
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4919
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGoodBotsRequest.retryConfiguration, specRetryConfiguration);
|
|
4778
4920
|
if (this.logger)
|
|
4779
4921
|
retrier.logger = this.logger;
|
|
4780
4922
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4813,10 +4955,11 @@ class WaasClient {
|
|
|
4813
4955
|
}
|
|
4814
4956
|
/**
|
|
4815
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.
|
|
4816
4959
|
* @param UpdateHumanInteractionChallengeRequest
|
|
4817
4960
|
* @return UpdateHumanInteractionChallengeResponse
|
|
4818
4961
|
* @throws OciError when an error occurs
|
|
4819
|
-
* @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.
|
|
4820
4963
|
*/
|
|
4821
4964
|
updateHumanInteractionChallenge(updateHumanInteractionChallengeRequest) {
|
|
4822
4965
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4832,7 +4975,8 @@ class WaasClient {
|
|
|
4832
4975
|
"opc-retry-token": updateHumanInteractionChallengeRequest.opcRetryToken,
|
|
4833
4976
|
"if-match": updateHumanInteractionChallengeRequest.ifMatch
|
|
4834
4977
|
};
|
|
4835
|
-
const
|
|
4978
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4979
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHumanInteractionChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
4836
4980
|
if (this.logger)
|
|
4837
4981
|
retrier.logger = this.logger;
|
|
4838
4982
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4871,10 +5015,11 @@ class WaasClient {
|
|
|
4871
5015
|
}
|
|
4872
5016
|
/**
|
|
4873
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.
|
|
4874
5019
|
* @param UpdateJsChallengeRequest
|
|
4875
5020
|
* @return UpdateJsChallengeResponse
|
|
4876
5021
|
* @throws OciError when an error occurs
|
|
4877
|
-
* @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.
|
|
4878
5023
|
*/
|
|
4879
5024
|
updateJsChallenge(updateJsChallengeRequest) {
|
|
4880
5025
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4890,7 +5035,8 @@ class WaasClient {
|
|
|
4890
5035
|
"opc-retry-token": updateJsChallengeRequest.opcRetryToken,
|
|
4891
5036
|
"if-match": updateJsChallengeRequest.ifMatch
|
|
4892
5037
|
};
|
|
4893
|
-
const
|
|
5038
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5039
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateJsChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
4894
5040
|
if (this.logger)
|
|
4895
5041
|
retrier.logger = this.logger;
|
|
4896
5042
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4929,10 +5075,11 @@ class WaasClient {
|
|
|
4929
5075
|
}
|
|
4930
5076
|
/**
|
|
4931
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.
|
|
4932
5079
|
* @param UpdatePolicyConfigRequest
|
|
4933
5080
|
* @return UpdatePolicyConfigResponse
|
|
4934
5081
|
* @throws OciError when an error occurs
|
|
4935
|
-
* @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.
|
|
4936
5083
|
*/
|
|
4937
5084
|
updatePolicyConfig(updatePolicyConfigRequest) {
|
|
4938
5085
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4948,7 +5095,8 @@ class WaasClient {
|
|
|
4948
5095
|
"opc-retry-token": updatePolicyConfigRequest.opcRetryToken,
|
|
4949
5096
|
"if-match": updatePolicyConfigRequest.ifMatch
|
|
4950
5097
|
};
|
|
4951
|
-
const
|
|
5098
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5099
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePolicyConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
4952
5100
|
if (this.logger)
|
|
4953
5101
|
retrier.logger = this.logger;
|
|
4954
5102
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4989,10 +5137,11 @@ class WaasClient {
|
|
|
4989
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).
|
|
4990
5138
|
* This operation can update or disable protection rules depending on the structure of the request body.
|
|
4991
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.
|
|
4992
5141
|
* @param UpdateProtectionRulesRequest
|
|
4993
5142
|
* @return UpdateProtectionRulesResponse
|
|
4994
5143
|
* @throws OciError when an error occurs
|
|
4995
|
-
* @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.
|
|
4996
5145
|
*/
|
|
4997
5146
|
updateProtectionRules(updateProtectionRulesRequest) {
|
|
4998
5147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5007,7 +5156,8 @@ class WaasClient {
|
|
|
5007
5156
|
"opc-request-id": updateProtectionRulesRequest.opcRequestId,
|
|
5008
5157
|
"if-match": updateProtectionRulesRequest.ifMatch
|
|
5009
5158
|
};
|
|
5010
|
-
const
|
|
5159
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5160
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
5011
5161
|
if (this.logger)
|
|
5012
5162
|
retrier.logger = this.logger;
|
|
5013
5163
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5046,10 +5196,11 @@ class WaasClient {
|
|
|
5046
5196
|
}
|
|
5047
5197
|
/**
|
|
5048
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.
|
|
5049
5200
|
* @param UpdateProtectionSettingsRequest
|
|
5050
5201
|
* @return UpdateProtectionSettingsResponse
|
|
5051
5202
|
* @throws OciError when an error occurs
|
|
5052
|
-
* @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.
|
|
5053
5204
|
*/
|
|
5054
5205
|
updateProtectionSettings(updateProtectionSettingsRequest) {
|
|
5055
5206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5065,7 +5216,8 @@ class WaasClient {
|
|
|
5065
5216
|
"opc-retry-token": updateProtectionSettingsRequest.opcRetryToken,
|
|
5066
5217
|
"if-match": updateProtectionSettingsRequest.ifMatch
|
|
5067
5218
|
};
|
|
5068
|
-
const
|
|
5219
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5220
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProtectionSettingsRequest.retryConfiguration, specRetryConfiguration);
|
|
5069
5221
|
if (this.logger)
|
|
5070
5222
|
retrier.logger = this.logger;
|
|
5071
5223
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5104,10 +5256,11 @@ class WaasClient {
|
|
|
5104
5256
|
}
|
|
5105
5257
|
/**
|
|
5106
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.
|
|
5107
5260
|
* @param UpdateThreatFeedsRequest
|
|
5108
5261
|
* @return UpdateThreatFeedsResponse
|
|
5109
5262
|
* @throws OciError when an error occurs
|
|
5110
|
-
* @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.
|
|
5111
5264
|
*/
|
|
5112
5265
|
updateThreatFeeds(updateThreatFeedsRequest) {
|
|
5113
5266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5122,7 +5275,8 @@ class WaasClient {
|
|
|
5122
5275
|
"opc-request-id": updateThreatFeedsRequest.opcRequestId,
|
|
5123
5276
|
"if-match": updateThreatFeedsRequest.ifMatch
|
|
5124
5277
|
};
|
|
5125
|
-
const
|
|
5278
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5279
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateThreatFeedsRequest.retryConfiguration, specRetryConfiguration);
|
|
5126
5280
|
if (this.logger)
|
|
5127
5281
|
retrier.logger = this.logger;
|
|
5128
5282
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5163,10 +5317,11 @@ class WaasClient {
|
|
|
5163
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.
|
|
5164
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`.
|
|
5165
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.
|
|
5166
5321
|
* @param UpdateWaasPolicyRequest
|
|
5167
5322
|
* @return UpdateWaasPolicyResponse
|
|
5168
5323
|
* @throws OciError when an error occurs
|
|
5169
|
-
* @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.
|
|
5170
5325
|
*/
|
|
5171
5326
|
updateWaasPolicy(updateWaasPolicyRequest) {
|
|
5172
5327
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5182,7 +5337,8 @@ class WaasClient {
|
|
|
5182
5337
|
"opc-retry-token": updateWaasPolicyRequest.opcRetryToken,
|
|
5183
5338
|
"if-match": updateWaasPolicyRequest.ifMatch
|
|
5184
5339
|
};
|
|
5185
|
-
const
|
|
5340
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5341
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
5186
5342
|
if (this.logger)
|
|
5187
5343
|
retrier.logger = this.logger;
|
|
5188
5344
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5221,10 +5377,11 @@ class WaasClient {
|
|
|
5221
5377
|
}
|
|
5222
5378
|
/**
|
|
5223
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.
|
|
5224
5381
|
* @param UpdateWaasPolicyCustomProtectionRulesRequest
|
|
5225
5382
|
* @return UpdateWaasPolicyCustomProtectionRulesResponse
|
|
5226
5383
|
* @throws OciError when an error occurs
|
|
5227
|
-
* @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.
|
|
5228
5385
|
*/
|
|
5229
5386
|
updateWaasPolicyCustomProtectionRules(updateWaasPolicyCustomProtectionRulesRequest) {
|
|
5230
5387
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5240,7 +5397,8 @@ class WaasClient {
|
|
|
5240
5397
|
"opc-retry-token": updateWaasPolicyCustomProtectionRulesRequest.opcRetryToken,
|
|
5241
5398
|
"if-match": updateWaasPolicyCustomProtectionRulesRequest.ifMatch
|
|
5242
5399
|
};
|
|
5243
|
-
const
|
|
5400
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5401
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWaasPolicyCustomProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
5244
5402
|
if (this.logger)
|
|
5245
5403
|
retrier.logger = this.logger;
|
|
5246
5404
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5279,10 +5437,11 @@ class WaasClient {
|
|
|
5279
5437
|
}
|
|
5280
5438
|
/**
|
|
5281
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.
|
|
5282
5441
|
* @param UpdateWafAddressRateLimitingRequest
|
|
5283
5442
|
* @return UpdateWafAddressRateLimitingResponse
|
|
5284
5443
|
* @throws OciError when an error occurs
|
|
5285
|
-
* @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.
|
|
5286
5445
|
*/
|
|
5287
5446
|
updateWafAddressRateLimiting(updateWafAddressRateLimitingRequest) {
|
|
5288
5447
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5298,7 +5457,8 @@ class WaasClient {
|
|
|
5298
5457
|
"opc-retry-token": updateWafAddressRateLimitingRequest.opcRetryToken,
|
|
5299
5458
|
"if-match": updateWafAddressRateLimitingRequest.ifMatch
|
|
5300
5459
|
};
|
|
5301
|
-
const
|
|
5460
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5461
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWafAddressRateLimitingRequest.retryConfiguration, specRetryConfiguration);
|
|
5302
5462
|
if (this.logger)
|
|
5303
5463
|
retrier.logger = this.logger;
|
|
5304
5464
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5345,10 +5505,11 @@ class WaasClient {
|
|
|
5345
5505
|
The returned list will contain objects with `key` properties that can be used to update the
|
|
5346
5506
|
* resource during the `UpdateWafConfig` request.
|
|
5347
5507
|
*
|
|
5508
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5348
5509
|
* @param UpdateWafConfigRequest
|
|
5349
5510
|
* @return UpdateWafConfigResponse
|
|
5350
5511
|
* @throws OciError when an error occurs
|
|
5351
|
-
* @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.
|
|
5352
5513
|
*/
|
|
5353
5514
|
updateWafConfig(updateWafConfigRequest) {
|
|
5354
5515
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5364,7 +5525,8 @@ class WaasClient {
|
|
|
5364
5525
|
"opc-retry-token": updateWafConfigRequest.opcRetryToken,
|
|
5365
5526
|
"if-match": updateWafConfigRequest.ifMatch
|
|
5366
5527
|
};
|
|
5367
|
-
const
|
|
5528
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5529
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWafConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
5368
5530
|
if (this.logger)
|
|
5369
5531
|
retrier.logger = this.logger;
|
|
5370
5532
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5411,10 +5573,11 @@ class WaasClient {
|
|
|
5411
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.
|
|
5412
5574
|
* <p>
|
|
5413
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.
|
|
5414
5577
|
* @param UpdateWhitelistsRequest
|
|
5415
5578
|
* @return UpdateWhitelistsResponse
|
|
5416
5579
|
* @throws OciError when an error occurs
|
|
5417
|
-
* @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.
|
|
5418
5581
|
*/
|
|
5419
5582
|
updateWhitelists(updateWhitelistsRequest) {
|
|
5420
5583
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5430,7 +5593,8 @@ class WaasClient {
|
|
|
5430
5593
|
"opc-retry-token": updateWhitelistsRequest.opcRetryToken,
|
|
5431
5594
|
"if-match": updateWhitelistsRequest.ifMatch
|
|
5432
5595
|
};
|
|
5433
|
-
const
|
|
5596
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5597
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWhitelistsRequest.retryConfiguration, specRetryConfiguration);
|
|
5434
5598
|
if (this.logger)
|
|
5435
5599
|
retrier.logger = this.logger;
|
|
5436
5600
|
const request = yield oci_common_2.composeRequest({
|