oci-waas 2.22.0 → 2.26.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 +108 -106
- package/lib/client.js +152 -142
- package/lib/client.js.map +1 -1
- package/lib/model/create-custom-protection-rule-details.d.ts +1 -1
- package/lib/model/custom-protection-rule.d.ts +1 -1
- package/lib/model/update-custom-protection-rule-details.d.ts +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
|
@@ -62,6 +62,7 @@ class RedirectClient {
|
|
|
62
62
|
this["_endpoint"] = "";
|
|
63
63
|
this["_defaultHeaders"] = {};
|
|
64
64
|
this._circuitBreaker = null;
|
|
65
|
+
this._httpOptions = undefined;
|
|
65
66
|
const requestSigner = params.authenticationDetailsProvider
|
|
66
67
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
67
68
|
: null;
|
|
@@ -70,6 +71,9 @@ class RedirectClient {
|
|
|
70
71
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
71
72
|
? clientConfiguration.circuitBreaker.circuit
|
|
72
73
|
: null;
|
|
74
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
75
|
+
? clientConfiguration.httpOptions
|
|
76
|
+
: undefined;
|
|
73
77
|
}
|
|
74
78
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
75
79
|
const specCircuitBreakerEnabled = true;
|
|
@@ -79,7 +83,8 @@ class RedirectClient {
|
|
|
79
83
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
80
84
|
}
|
|
81
85
|
this._httpClient =
|
|
82
|
-
params.httpClient ||
|
|
86
|
+
params.httpClient ||
|
|
87
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
83
88
|
if (params.authenticationDetailsProvider &&
|
|
84
89
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
85
90
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -153,7 +158,7 @@ class RedirectClient {
|
|
|
153
158
|
* @param ChangeHttpRedirectCompartmentRequest
|
|
154
159
|
* @return ChangeHttpRedirectCompartmentResponse
|
|
155
160
|
* @throws OciError when an error occurs
|
|
156
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ChangeHttpRedirectCompartment.ts.html |here} to see how to use ChangeHttpRedirectCompartment API.
|
|
157
162
|
*/
|
|
158
163
|
changeHttpRedirectCompartment(changeHttpRedirectCompartmentRequest) {
|
|
159
164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -208,7 +213,7 @@ class RedirectClient {
|
|
|
208
213
|
* @param CreateHttpRedirectRequest
|
|
209
214
|
* @return CreateHttpRedirectResponse
|
|
210
215
|
* @throws OciError when an error occurs
|
|
211
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
216
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/CreateHttpRedirect.ts.html |here} to see how to use CreateHttpRedirect API.
|
|
212
217
|
*/
|
|
213
218
|
createHttpRedirect(createHttpRedirectRequest) {
|
|
214
219
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -265,7 +270,7 @@ class RedirectClient {
|
|
|
265
270
|
* @param DeleteHttpRedirectRequest
|
|
266
271
|
* @return DeleteHttpRedirectResponse
|
|
267
272
|
* @throws OciError when an error occurs
|
|
268
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
273
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/DeleteHttpRedirect.ts.html |here} to see how to use DeleteHttpRedirect API.
|
|
269
274
|
*/
|
|
270
275
|
deleteHttpRedirect(deleteHttpRedirectRequest) {
|
|
271
276
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -320,11 +325,11 @@ class RedirectClient {
|
|
|
320
325
|
}
|
|
321
326
|
/**
|
|
322
327
|
* Gets the details of a HTTP Redirect.
|
|
323
|
-
* This operation
|
|
328
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
324
329
|
* @param GetHttpRedirectRequest
|
|
325
330
|
* @return GetHttpRedirectResponse
|
|
326
331
|
* @throws OciError when an error occurs
|
|
327
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
332
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetHttpRedirect.ts.html |here} to see how to use GetHttpRedirect API.
|
|
328
333
|
*/
|
|
329
334
|
getHttpRedirect(getHttpRedirectRequest) {
|
|
330
335
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -338,7 +343,7 @@ class RedirectClient {
|
|
|
338
343
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
339
344
|
"opc-request-id": getHttpRedirectRequest.opcRequestId
|
|
340
345
|
};
|
|
341
|
-
const specRetryConfiguration = common.
|
|
346
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
342
347
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHttpRedirectRequest.retryConfiguration, specRetryConfiguration);
|
|
343
348
|
if (this.logger)
|
|
344
349
|
retrier.logger = this.logger;
|
|
@@ -381,11 +386,11 @@ class RedirectClient {
|
|
|
381
386
|
}
|
|
382
387
|
/**
|
|
383
388
|
* Gets a list of HTTP Redirects.
|
|
384
|
-
* This operation
|
|
389
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
385
390
|
* @param ListHttpRedirectsRequest
|
|
386
391
|
* @return ListHttpRedirectsResponse
|
|
387
392
|
* @throws OciError when an error occurs
|
|
388
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
393
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListHttpRedirects.ts.html |here} to see how to use ListHttpRedirects API.
|
|
389
394
|
*/
|
|
390
395
|
listHttpRedirects(listHttpRedirectsRequest) {
|
|
391
396
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -408,7 +413,7 @@ class RedirectClient {
|
|
|
408
413
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
409
414
|
"opc-request-id": listHttpRedirectsRequest.opcRequestId
|
|
410
415
|
};
|
|
411
|
-
const specRetryConfiguration = common.
|
|
416
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
412
417
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHttpRedirectsRequest.retryConfiguration, specRetryConfiguration);
|
|
413
418
|
if (this.logger)
|
|
414
419
|
retrier.logger = this.logger;
|
|
@@ -495,7 +500,7 @@ class RedirectClient {
|
|
|
495
500
|
* @param UpdateHttpRedirectRequest
|
|
496
501
|
* @return UpdateHttpRedirectResponse
|
|
497
502
|
* @throws OciError when an error occurs
|
|
498
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
503
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateHttpRedirect.ts.html |here} to see how to use UpdateHttpRedirect API.
|
|
499
504
|
*/
|
|
500
505
|
updateHttpRedirect(updateHttpRedirectRequest) {
|
|
501
506
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -565,6 +570,7 @@ class WaasClient {
|
|
|
565
570
|
this["_endpoint"] = "";
|
|
566
571
|
this["_defaultHeaders"] = {};
|
|
567
572
|
this._circuitBreaker = null;
|
|
573
|
+
this._httpOptions = undefined;
|
|
568
574
|
const requestSigner = params.authenticationDetailsProvider
|
|
569
575
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
570
576
|
: null;
|
|
@@ -573,6 +579,9 @@ class WaasClient {
|
|
|
573
579
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
574
580
|
? clientConfiguration.circuitBreaker.circuit
|
|
575
581
|
: null;
|
|
582
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
583
|
+
? clientConfiguration.httpOptions
|
|
584
|
+
: undefined;
|
|
576
585
|
}
|
|
577
586
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
578
587
|
const specCircuitBreakerEnabled = true;
|
|
@@ -582,7 +591,8 @@ class WaasClient {
|
|
|
582
591
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
583
592
|
}
|
|
584
593
|
this._httpClient =
|
|
585
|
-
params.httpClient ||
|
|
594
|
+
params.httpClient ||
|
|
595
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
586
596
|
if (params.authenticationDetailsProvider &&
|
|
587
597
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
588
598
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -658,7 +668,7 @@ class WaasClient {
|
|
|
658
668
|
* @param AcceptRecommendationsRequest
|
|
659
669
|
* @return AcceptRecommendationsResponse
|
|
660
670
|
* @throws OciError when an error occurs
|
|
661
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
671
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/AcceptRecommendations.ts.html |here} to see how to use AcceptRecommendations API.
|
|
662
672
|
*/
|
|
663
673
|
acceptRecommendations(acceptRecommendationsRequest) {
|
|
664
674
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -717,7 +727,7 @@ class WaasClient {
|
|
|
717
727
|
* @param CancelWorkRequestRequest
|
|
718
728
|
* @return CancelWorkRequestResponse
|
|
719
729
|
* @throws OciError when an error occurs
|
|
720
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
730
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
721
731
|
*/
|
|
722
732
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
723
733
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -774,7 +784,7 @@ class WaasClient {
|
|
|
774
784
|
* @param ChangeAddressListCompartmentRequest
|
|
775
785
|
* @return ChangeAddressListCompartmentResponse
|
|
776
786
|
* @throws OciError when an error occurs
|
|
777
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
787
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ChangeAddressListCompartment.ts.html |here} to see how to use ChangeAddressListCompartment API.
|
|
778
788
|
*/
|
|
779
789
|
changeAddressListCompartment(changeAddressListCompartmentRequest) {
|
|
780
790
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -831,7 +841,7 @@ class WaasClient {
|
|
|
831
841
|
* @param ChangeCertificateCompartmentRequest
|
|
832
842
|
* @return ChangeCertificateCompartmentResponse
|
|
833
843
|
* @throws OciError when an error occurs
|
|
834
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
844
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ChangeCertificateCompartment.ts.html |here} to see how to use ChangeCertificateCompartment API.
|
|
835
845
|
*/
|
|
836
846
|
changeCertificateCompartment(changeCertificateCompartmentRequest) {
|
|
837
847
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -886,7 +896,7 @@ class WaasClient {
|
|
|
886
896
|
* @param ChangeCustomProtectionRuleCompartmentRequest
|
|
887
897
|
* @return ChangeCustomProtectionRuleCompartmentResponse
|
|
888
898
|
* @throws OciError when an error occurs
|
|
889
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
899
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ChangeCustomProtectionRuleCompartment.ts.html |here} to see how to use ChangeCustomProtectionRuleCompartment API.
|
|
890
900
|
*/
|
|
891
901
|
changeCustomProtectionRuleCompartment(changeCustomProtectionRuleCompartmentRequest) {
|
|
892
902
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -943,7 +953,7 @@ class WaasClient {
|
|
|
943
953
|
* @param ChangeWaasPolicyCompartmentRequest
|
|
944
954
|
* @return ChangeWaasPolicyCompartmentResponse
|
|
945
955
|
* @throws OciError when an error occurs
|
|
946
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
956
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ChangeWaasPolicyCompartment.ts.html |here} to see how to use ChangeWaasPolicyCompartment API.
|
|
947
957
|
*/
|
|
948
958
|
changeWaasPolicyCompartment(changeWaasPolicyCompartmentRequest) {
|
|
949
959
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -998,7 +1008,7 @@ class WaasClient {
|
|
|
998
1008
|
* @param CreateAddressListRequest
|
|
999
1009
|
* @return CreateAddressListResponse
|
|
1000
1010
|
* @throws OciError when an error occurs
|
|
1001
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1011
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/CreateAddressList.ts.html |here} to see how to use CreateAddressList API.
|
|
1002
1012
|
*/
|
|
1003
1013
|
createAddressList(createAddressListRequest) {
|
|
1004
1014
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1061,7 +1071,7 @@ class WaasClient {
|
|
|
1061
1071
|
* @param CreateCertificateRequest
|
|
1062
1072
|
* @return CreateCertificateResponse
|
|
1063
1073
|
* @throws OciError when an error occurs
|
|
1064
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1074
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/CreateCertificate.ts.html |here} to see how to use CreateCertificate API.
|
|
1065
1075
|
*/
|
|
1066
1076
|
createCertificate(createCertificateRequest) {
|
|
1067
1077
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1124,7 +1134,7 @@ class WaasClient {
|
|
|
1124
1134
|
* @param CreateCustomProtectionRuleRequest
|
|
1125
1135
|
* @return CreateCustomProtectionRuleResponse
|
|
1126
1136
|
* @throws OciError when an error occurs
|
|
1127
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1137
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/CreateCustomProtectionRule.ts.html |here} to see how to use CreateCustomProtectionRule API.
|
|
1128
1138
|
*/
|
|
1129
1139
|
createCustomProtectionRule(createCustomProtectionRuleRequest) {
|
|
1130
1140
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1197,7 +1207,7 @@ class WaasClient {
|
|
|
1197
1207
|
* @param CreateWaasPolicyRequest
|
|
1198
1208
|
* @return CreateWaasPolicyResponse
|
|
1199
1209
|
* @throws OciError when an error occurs
|
|
1200
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1210
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/CreateWaasPolicy.ts.html |here} to see how to use CreateWaasPolicy API.
|
|
1201
1211
|
*/
|
|
1202
1212
|
createWaasPolicy(createWaasPolicyRequest) {
|
|
1203
1213
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1259,7 +1269,7 @@ class WaasClient {
|
|
|
1259
1269
|
* @param DeleteAddressListRequest
|
|
1260
1270
|
* @return DeleteAddressListResponse
|
|
1261
1271
|
* @throws OciError when an error occurs
|
|
1262
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1272
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/DeleteAddressList.ts.html |here} to see how to use DeleteAddressList API.
|
|
1263
1273
|
*/
|
|
1264
1274
|
deleteAddressList(deleteAddressListRequest) {
|
|
1265
1275
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1313,7 +1323,7 @@ class WaasClient {
|
|
|
1313
1323
|
* @param DeleteCertificateRequest
|
|
1314
1324
|
* @return DeleteCertificateResponse
|
|
1315
1325
|
* @throws OciError when an error occurs
|
|
1316
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1326
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/DeleteCertificate.ts.html |here} to see how to use DeleteCertificate API.
|
|
1317
1327
|
*/
|
|
1318
1328
|
deleteCertificate(deleteCertificateRequest) {
|
|
1319
1329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1367,7 +1377,7 @@ class WaasClient {
|
|
|
1367
1377
|
* @param DeleteCustomProtectionRuleRequest
|
|
1368
1378
|
* @return DeleteCustomProtectionRuleResponse
|
|
1369
1379
|
* @throws OciError when an error occurs
|
|
1370
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1380
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/DeleteCustomProtectionRule.ts.html |here} to see how to use DeleteCustomProtectionRule API.
|
|
1371
1381
|
*/
|
|
1372
1382
|
deleteCustomProtectionRule(deleteCustomProtectionRuleRequest) {
|
|
1373
1383
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1421,7 +1431,7 @@ class WaasClient {
|
|
|
1421
1431
|
* @param DeleteWaasPolicyRequest
|
|
1422
1432
|
* @return DeleteWaasPolicyResponse
|
|
1423
1433
|
* @throws OciError when an error occurs
|
|
1424
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1434
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/DeleteWaasPolicy.ts.html |here} to see how to use DeleteWaasPolicy API.
|
|
1425
1435
|
*/
|
|
1426
1436
|
deleteWaasPolicy(deleteWaasPolicyRequest) {
|
|
1427
1437
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1476,11 +1486,11 @@ class WaasClient {
|
|
|
1476
1486
|
}
|
|
1477
1487
|
/**
|
|
1478
1488
|
* Gets the details of an address list.
|
|
1479
|
-
* This operation
|
|
1489
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1480
1490
|
* @param GetAddressListRequest
|
|
1481
1491
|
* @return GetAddressListResponse
|
|
1482
1492
|
* @throws OciError when an error occurs
|
|
1483
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1493
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetAddressList.ts.html |here} to see how to use GetAddressList API.
|
|
1484
1494
|
*/
|
|
1485
1495
|
getAddressList(getAddressListRequest) {
|
|
1486
1496
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1494,7 +1504,7 @@ class WaasClient {
|
|
|
1494
1504
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1495
1505
|
"opc-request-id": getAddressListRequest.opcRequestId
|
|
1496
1506
|
};
|
|
1497
|
-
const specRetryConfiguration = common.
|
|
1507
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1498
1508
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
1499
1509
|
if (this.logger)
|
|
1500
1510
|
retrier.logger = this.logger;
|
|
@@ -1537,11 +1547,11 @@ class WaasClient {
|
|
|
1537
1547
|
}
|
|
1538
1548
|
/**
|
|
1539
1549
|
* Gets the details of an SSL certificate.
|
|
1540
|
-
* This operation
|
|
1550
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1541
1551
|
* @param GetCertificateRequest
|
|
1542
1552
|
* @return GetCertificateResponse
|
|
1543
1553
|
* @throws OciError when an error occurs
|
|
1544
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1554
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetCertificate.ts.html |here} to see how to use GetCertificate API.
|
|
1545
1555
|
*/
|
|
1546
1556
|
getCertificate(getCertificateRequest) {
|
|
1547
1557
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1555,7 +1565,7 @@ class WaasClient {
|
|
|
1555
1565
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1556
1566
|
"opc-request-id": getCertificateRequest.opcRequestId
|
|
1557
1567
|
};
|
|
1558
|
-
const specRetryConfiguration = common.
|
|
1568
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1559
1569
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1560
1570
|
if (this.logger)
|
|
1561
1571
|
retrier.logger = this.logger;
|
|
@@ -1598,11 +1608,11 @@ class WaasClient {
|
|
|
1598
1608
|
}
|
|
1599
1609
|
/**
|
|
1600
1610
|
* Gets the details of a custom protection rule.
|
|
1601
|
-
* This operation
|
|
1611
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1602
1612
|
* @param GetCustomProtectionRuleRequest
|
|
1603
1613
|
* @return GetCustomProtectionRuleResponse
|
|
1604
1614
|
* @throws OciError when an error occurs
|
|
1605
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1615
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetCustomProtectionRule.ts.html |here} to see how to use GetCustomProtectionRule API.
|
|
1606
1616
|
*/
|
|
1607
1617
|
getCustomProtectionRule(getCustomProtectionRuleRequest) {
|
|
1608
1618
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1616,7 +1626,7 @@ class WaasClient {
|
|
|
1616
1626
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1617
1627
|
"opc-request-id": getCustomProtectionRuleRequest.opcRequestId
|
|
1618
1628
|
};
|
|
1619
|
-
const specRetryConfiguration = common.
|
|
1629
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1620
1630
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1621
1631
|
if (this.logger)
|
|
1622
1632
|
retrier.logger = this.logger;
|
|
@@ -1659,11 +1669,11 @@ class WaasClient {
|
|
|
1659
1669
|
}
|
|
1660
1670
|
/**
|
|
1661
1671
|
* Gets the device fingerprint challenge settings in the Web Application Firewall configuration for a WAAS policy.
|
|
1662
|
-
* This operation
|
|
1672
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1663
1673
|
* @param GetDeviceFingerprintChallengeRequest
|
|
1664
1674
|
* @return GetDeviceFingerprintChallengeResponse
|
|
1665
1675
|
* @throws OciError when an error occurs
|
|
1666
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1676
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetDeviceFingerprintChallenge.ts.html |here} to see how to use GetDeviceFingerprintChallenge API.
|
|
1667
1677
|
*/
|
|
1668
1678
|
getDeviceFingerprintChallenge(getDeviceFingerprintChallengeRequest) {
|
|
1669
1679
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1677,7 +1687,7 @@ class WaasClient {
|
|
|
1677
1687
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1678
1688
|
"opc-request-id": getDeviceFingerprintChallengeRequest.opcRequestId
|
|
1679
1689
|
};
|
|
1680
|
-
const specRetryConfiguration = common.
|
|
1690
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1681
1691
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDeviceFingerprintChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
1682
1692
|
if (this.logger)
|
|
1683
1693
|
retrier.logger = this.logger;
|
|
@@ -1720,11 +1730,11 @@ class WaasClient {
|
|
|
1720
1730
|
}
|
|
1721
1731
|
/**
|
|
1722
1732
|
* Gets the human interaction challenge settings in the Web Application Firewall configuration for a WAAS policy.
|
|
1723
|
-
* This operation
|
|
1733
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1724
1734
|
* @param GetHumanInteractionChallengeRequest
|
|
1725
1735
|
* @return GetHumanInteractionChallengeResponse
|
|
1726
1736
|
* @throws OciError when an error occurs
|
|
1727
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1737
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetHumanInteractionChallenge.ts.html |here} to see how to use GetHumanInteractionChallenge API.
|
|
1728
1738
|
*/
|
|
1729
1739
|
getHumanInteractionChallenge(getHumanInteractionChallengeRequest) {
|
|
1730
1740
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1738,7 +1748,7 @@ class WaasClient {
|
|
|
1738
1748
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1739
1749
|
"opc-request-id": getHumanInteractionChallengeRequest.opcRequestId
|
|
1740
1750
|
};
|
|
1741
|
-
const specRetryConfiguration = common.
|
|
1751
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1742
1752
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHumanInteractionChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
1743
1753
|
if (this.logger)
|
|
1744
1754
|
retrier.logger = this.logger;
|
|
@@ -1781,11 +1791,11 @@ class WaasClient {
|
|
|
1781
1791
|
}
|
|
1782
1792
|
/**
|
|
1783
1793
|
* Gets the JavaScript challenge settings in the Web Application Firewall configuration for a WAAS policy.
|
|
1784
|
-
* This operation
|
|
1794
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1785
1795
|
* @param GetJsChallengeRequest
|
|
1786
1796
|
* @return GetJsChallengeResponse
|
|
1787
1797
|
* @throws OciError when an error occurs
|
|
1788
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1798
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetJsChallenge.ts.html |here} to see how to use GetJsChallenge API.
|
|
1789
1799
|
*/
|
|
1790
1800
|
getJsChallenge(getJsChallengeRequest) {
|
|
1791
1801
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1799,7 +1809,7 @@ class WaasClient {
|
|
|
1799
1809
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1800
1810
|
"opc-request-id": getJsChallengeRequest.opcRequestId
|
|
1801
1811
|
};
|
|
1802
|
-
const specRetryConfiguration = common.
|
|
1812
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1803
1813
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJsChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
1804
1814
|
if (this.logger)
|
|
1805
1815
|
retrier.logger = this.logger;
|
|
@@ -1842,11 +1852,11 @@ class WaasClient {
|
|
|
1842
1852
|
}
|
|
1843
1853
|
/**
|
|
1844
1854
|
* Gets the configuration of a WAAS policy.
|
|
1845
|
-
* This operation
|
|
1855
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1846
1856
|
* @param GetPolicyConfigRequest
|
|
1847
1857
|
* @return GetPolicyConfigResponse
|
|
1848
1858
|
* @throws OciError when an error occurs
|
|
1849
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1859
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetPolicyConfig.ts.html |here} to see how to use GetPolicyConfig API.
|
|
1850
1860
|
*/
|
|
1851
1861
|
getPolicyConfig(getPolicyConfigRequest) {
|
|
1852
1862
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1860,7 +1870,7 @@ class WaasClient {
|
|
|
1860
1870
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1861
1871
|
"opc-request-id": getPolicyConfigRequest.opcRequestId
|
|
1862
1872
|
};
|
|
1863
|
-
const specRetryConfiguration = common.
|
|
1873
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1864
1874
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPolicyConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1865
1875
|
if (this.logger)
|
|
1866
1876
|
retrier.logger = this.logger;
|
|
@@ -1903,11 +1913,11 @@ class WaasClient {
|
|
|
1903
1913
|
}
|
|
1904
1914
|
/**
|
|
1905
1915
|
* Gets the details of a protection rule in the Web Application Firewall configuration for a WAAS policy.
|
|
1906
|
-
* This operation
|
|
1916
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1907
1917
|
* @param GetProtectionRuleRequest
|
|
1908
1918
|
* @return GetProtectionRuleResponse
|
|
1909
1919
|
* @throws OciError when an error occurs
|
|
1910
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1920
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetProtectionRule.ts.html |here} to see how to use GetProtectionRule API.
|
|
1911
1921
|
*/
|
|
1912
1922
|
getProtectionRule(getProtectionRuleRequest) {
|
|
1913
1923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1922,7 +1932,7 @@ class WaasClient {
|
|
|
1922
1932
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1923
1933
|
"opc-request-id": getProtectionRuleRequest.opcRequestId
|
|
1924
1934
|
};
|
|
1925
|
-
const specRetryConfiguration = common.
|
|
1935
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1926
1936
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1927
1937
|
if (this.logger)
|
|
1928
1938
|
retrier.logger = this.logger;
|
|
@@ -1965,11 +1975,11 @@ class WaasClient {
|
|
|
1965
1975
|
}
|
|
1966
1976
|
/**
|
|
1967
1977
|
* Gets the protection settings in the Web Application Firewall configuration for a WAAS policy.
|
|
1968
|
-
* This operation
|
|
1978
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1969
1979
|
* @param GetProtectionSettingsRequest
|
|
1970
1980
|
* @return GetProtectionSettingsResponse
|
|
1971
1981
|
* @throws OciError when an error occurs
|
|
1972
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1982
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetProtectionSettings.ts.html |here} to see how to use GetProtectionSettings API.
|
|
1973
1983
|
*/
|
|
1974
1984
|
getProtectionSettings(getProtectionSettingsRequest) {
|
|
1975
1985
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1983,7 +1993,7 @@ class WaasClient {
|
|
|
1983
1993
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1984
1994
|
"opc-request-id": getProtectionSettingsRequest.opcRequestId
|
|
1985
1995
|
};
|
|
1986
|
-
const specRetryConfiguration = common.
|
|
1996
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1987
1997
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProtectionSettingsRequest.retryConfiguration, specRetryConfiguration);
|
|
1988
1998
|
if (this.logger)
|
|
1989
1999
|
retrier.logger = this.logger;
|
|
@@ -2026,11 +2036,11 @@ class WaasClient {
|
|
|
2026
2036
|
}
|
|
2027
2037
|
/**
|
|
2028
2038
|
* Gets the details of a WAAS policy.
|
|
2029
|
-
* This operation
|
|
2039
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2030
2040
|
* @param GetWaasPolicyRequest
|
|
2031
2041
|
* @return GetWaasPolicyResponse
|
|
2032
2042
|
* @throws OciError when an error occurs
|
|
2033
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2043
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetWaasPolicy.ts.html |here} to see how to use GetWaasPolicy API.
|
|
2034
2044
|
*/
|
|
2035
2045
|
getWaasPolicy(getWaasPolicyRequest) {
|
|
2036
2046
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2044,7 +2054,7 @@ class WaasClient {
|
|
|
2044
2054
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2045
2055
|
"opc-request-id": getWaasPolicyRequest.opcRequestId
|
|
2046
2056
|
};
|
|
2047
|
-
const specRetryConfiguration = common.
|
|
2057
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2048
2058
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
2049
2059
|
if (this.logger)
|
|
2050
2060
|
retrier.logger = this.logger;
|
|
@@ -2087,11 +2097,11 @@ class WaasClient {
|
|
|
2087
2097
|
}
|
|
2088
2098
|
/**
|
|
2089
2099
|
* Gets the address rate limiting settings of the Web Application Firewall configuration for a WAAS policy.
|
|
2090
|
-
* This operation
|
|
2100
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2091
2101
|
* @param GetWafAddressRateLimitingRequest
|
|
2092
2102
|
* @return GetWafAddressRateLimitingResponse
|
|
2093
2103
|
* @throws OciError when an error occurs
|
|
2094
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2104
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetWafAddressRateLimiting.ts.html |here} to see how to use GetWafAddressRateLimiting API.
|
|
2095
2105
|
*/
|
|
2096
2106
|
getWafAddressRateLimiting(getWafAddressRateLimitingRequest) {
|
|
2097
2107
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2105,7 +2115,7 @@ class WaasClient {
|
|
|
2105
2115
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2106
2116
|
"opc-request-id": getWafAddressRateLimitingRequest.opcRequestId
|
|
2107
2117
|
};
|
|
2108
|
-
const specRetryConfiguration = common.
|
|
2118
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2109
2119
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWafAddressRateLimitingRequest.retryConfiguration, specRetryConfiguration);
|
|
2110
2120
|
if (this.logger)
|
|
2111
2121
|
retrier.logger = this.logger;
|
|
@@ -2148,11 +2158,11 @@ class WaasClient {
|
|
|
2148
2158
|
}
|
|
2149
2159
|
/**
|
|
2150
2160
|
* Gets the Web Application Firewall configuration details for a WAAS policy.
|
|
2151
|
-
* This operation
|
|
2161
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2152
2162
|
* @param GetWafConfigRequest
|
|
2153
2163
|
* @return GetWafConfigResponse
|
|
2154
2164
|
* @throws OciError when an error occurs
|
|
2155
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2165
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetWafConfig.ts.html |here} to see how to use GetWafConfig API.
|
|
2156
2166
|
*/
|
|
2157
2167
|
getWafConfig(getWafConfigRequest) {
|
|
2158
2168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2166,7 +2176,7 @@ class WaasClient {
|
|
|
2166
2176
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2167
2177
|
"opc-request-id": getWafConfigRequest.opcRequestId
|
|
2168
2178
|
};
|
|
2169
|
-
const specRetryConfiguration = common.
|
|
2179
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2170
2180
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWafConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
2171
2181
|
if (this.logger)
|
|
2172
2182
|
retrier.logger = this.logger;
|
|
@@ -2209,11 +2219,11 @@ class WaasClient {
|
|
|
2209
2219
|
}
|
|
2210
2220
|
/**
|
|
2211
2221
|
* Gets the details of a specified work request.
|
|
2212
|
-
* This operation
|
|
2222
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2213
2223
|
* @param GetWorkRequestRequest
|
|
2214
2224
|
* @return GetWorkRequestResponse
|
|
2215
2225
|
* @throws OciError when an error occurs
|
|
2216
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2226
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2217
2227
|
*/
|
|
2218
2228
|
getWorkRequest(getWorkRequestRequest) {
|
|
2219
2229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2227,7 +2237,7 @@ class WaasClient {
|
|
|
2227
2237
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2228
2238
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
2229
2239
|
};
|
|
2230
|
-
const specRetryConfiguration = common.
|
|
2240
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2231
2241
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2232
2242
|
if (this.logger)
|
|
2233
2243
|
retrier.logger = this.logger;
|
|
@@ -2276,11 +2286,11 @@ class WaasClient {
|
|
|
2276
2286
|
/**
|
|
2277
2287
|
* Gets the currently configured access rules for the Web Application Firewall configuration of a specified WAAS policy.
|
|
2278
2288
|
* 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.
|
|
2279
|
-
* This operation
|
|
2289
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2280
2290
|
* @param ListAccessRulesRequest
|
|
2281
2291
|
* @return ListAccessRulesResponse
|
|
2282
2292
|
* @throws OciError when an error occurs
|
|
2283
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2293
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListAccessRules.ts.html |here} to see how to use ListAccessRules API.
|
|
2284
2294
|
*/
|
|
2285
2295
|
listAccessRules(listAccessRulesRequest) {
|
|
2286
2296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2297,7 +2307,7 @@ class WaasClient {
|
|
|
2297
2307
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2298
2308
|
"opc-request-id": listAccessRulesRequest.opcRequestId
|
|
2299
2309
|
};
|
|
2300
|
-
const specRetryConfiguration = common.
|
|
2310
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2301
2311
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2302
2312
|
if (this.logger)
|
|
2303
2313
|
retrier.logger = this.logger;
|
|
@@ -2385,11 +2395,11 @@ class WaasClient {
|
|
|
2385
2395
|
}
|
|
2386
2396
|
/**
|
|
2387
2397
|
* Gets a list of address lists that can be used in a WAAS policy.
|
|
2388
|
-
* This operation
|
|
2398
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2389
2399
|
* @param ListAddressListsRequest
|
|
2390
2400
|
* @return ListAddressListsResponse
|
|
2391
2401
|
* @throws OciError when an error occurs
|
|
2392
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2402
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListAddressLists.ts.html |here} to see how to use ListAddressLists API.
|
|
2393
2403
|
*/
|
|
2394
2404
|
listAddressLists(listAddressListsRequest) {
|
|
2395
2405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2412,7 +2422,7 @@ class WaasClient {
|
|
|
2412
2422
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2413
2423
|
"opc-request-id": listAddressListsRequest.opcRequestId
|
|
2414
2424
|
};
|
|
2415
|
-
const specRetryConfiguration = common.
|
|
2425
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2416
2426
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAddressListsRequest.retryConfiguration, specRetryConfiguration);
|
|
2417
2427
|
if (this.logger)
|
|
2418
2428
|
retrier.logger = this.logger;
|
|
@@ -2496,11 +2506,11 @@ class WaasClient {
|
|
|
2496
2506
|
/**
|
|
2497
2507
|
* Gets the currently configured caching rules for the Web Application Firewall configuration of a specified WAAS policy.
|
|
2498
2508
|
* The rules are processed in the order they are specified in and the first matching rule will be used when processing a request.
|
|
2499
|
-
* This operation
|
|
2509
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2500
2510
|
* @param ListCachingRulesRequest
|
|
2501
2511
|
* @return ListCachingRulesResponse
|
|
2502
2512
|
* @throws OciError when an error occurs
|
|
2503
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2513
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListCachingRules.ts.html |here} to see how to use ListCachingRules API.
|
|
2504
2514
|
*/
|
|
2505
2515
|
listCachingRules(listCachingRulesRequest) {
|
|
2506
2516
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2517,7 +2527,7 @@ class WaasClient {
|
|
|
2517
2527
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2518
2528
|
"opc-request-id": listCachingRulesRequest.opcRequestId
|
|
2519
2529
|
};
|
|
2520
|
-
const specRetryConfiguration = common.
|
|
2530
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2521
2531
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCachingRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2522
2532
|
if (this.logger)
|
|
2523
2533
|
retrier.logger = this.logger;
|
|
@@ -2610,11 +2620,11 @@ class WaasClient {
|
|
|
2610
2620
|
The order of the CAPTCHA challenges is important. The URL for each
|
|
2611
2621
|
* CAPTCHA will be checked in the order they are created.
|
|
2612
2622
|
*
|
|
2613
|
-
* This operation
|
|
2623
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2614
2624
|
* @param ListCaptchasRequest
|
|
2615
2625
|
* @return ListCaptchasResponse
|
|
2616
2626
|
* @throws OciError when an error occurs
|
|
2617
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2627
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListCaptchas.ts.html |here} to see how to use ListCaptchas API.
|
|
2618
2628
|
*/
|
|
2619
2629
|
listCaptchas(listCaptchasRequest) {
|
|
2620
2630
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2631,7 +2641,7 @@ class WaasClient {
|
|
|
2631
2641
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2632
2642
|
"opc-request-id": listCaptchasRequest.opcRequestId
|
|
2633
2643
|
};
|
|
2634
|
-
const specRetryConfiguration = common.
|
|
2644
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2635
2645
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCaptchasRequest.retryConfiguration, specRetryConfiguration);
|
|
2636
2646
|
if (this.logger)
|
|
2637
2647
|
retrier.logger = this.logger;
|
|
@@ -2719,11 +2729,11 @@ class WaasClient {
|
|
|
2719
2729
|
}
|
|
2720
2730
|
/**
|
|
2721
2731
|
* Gets a list of SSL certificates that can be used in a WAAS policy.
|
|
2722
|
-
* This operation
|
|
2732
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2723
2733
|
* @param ListCertificatesRequest
|
|
2724
2734
|
* @return ListCertificatesResponse
|
|
2725
2735
|
* @throws OciError when an error occurs
|
|
2726
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2736
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListCertificates.ts.html |here} to see how to use ListCertificates API.
|
|
2727
2737
|
*/
|
|
2728
2738
|
listCertificates(listCertificatesRequest) {
|
|
2729
2739
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2746,7 +2756,7 @@ class WaasClient {
|
|
|
2746
2756
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2747
2757
|
"opc-request-id": listCertificatesRequest.opcRequestId
|
|
2748
2758
|
};
|
|
2749
|
-
const specRetryConfiguration = common.
|
|
2759
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2750
2760
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCertificatesRequest.retryConfiguration, specRetryConfiguration);
|
|
2751
2761
|
if (this.logger)
|
|
2752
2762
|
retrier.logger = this.logger;
|
|
@@ -2829,11 +2839,11 @@ class WaasClient {
|
|
|
2829
2839
|
}
|
|
2830
2840
|
/**
|
|
2831
2841
|
* Gets a list of custom protection rules for the specified Web Application Firewall.
|
|
2832
|
-
* This operation
|
|
2842
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2833
2843
|
* @param ListCustomProtectionRulesRequest
|
|
2834
2844
|
* @return ListCustomProtectionRulesResponse
|
|
2835
2845
|
* @throws OciError when an error occurs
|
|
2836
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2846
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListCustomProtectionRules.ts.html |here} to see how to use ListCustomProtectionRules API.
|
|
2837
2847
|
*/
|
|
2838
2848
|
listCustomProtectionRules(listCustomProtectionRulesRequest) {
|
|
2839
2849
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2856,7 +2866,7 @@ class WaasClient {
|
|
|
2856
2866
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2857
2867
|
"opc-request-id": listCustomProtectionRulesRequest.opcRequestId
|
|
2858
2868
|
};
|
|
2859
|
-
const specRetryConfiguration = common.
|
|
2869
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2860
2870
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCustomProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2861
2871
|
if (this.logger)
|
|
2862
2872
|
retrier.logger = this.logger;
|
|
@@ -2939,11 +2949,11 @@ class WaasClient {
|
|
|
2939
2949
|
}
|
|
2940
2950
|
/**
|
|
2941
2951
|
* 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.
|
|
2942
|
-
* This operation
|
|
2952
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2943
2953
|
* @param ListEdgeSubnetsRequest
|
|
2944
2954
|
* @return ListEdgeSubnetsResponse
|
|
2945
2955
|
* @throws OciError when an error occurs
|
|
2946
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2956
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListEdgeSubnets.ts.html |here} to see how to use ListEdgeSubnets API.
|
|
2947
2957
|
*/
|
|
2948
2958
|
listEdgeSubnets(listEdgeSubnetsRequest) {
|
|
2949
2959
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2960,7 +2970,7 @@ class WaasClient {
|
|
|
2960
2970
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2961
2971
|
"opc-request-id": listEdgeSubnetsRequest.opcRequestId
|
|
2962
2972
|
};
|
|
2963
|
-
const specRetryConfiguration = common.
|
|
2973
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2964
2974
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEdgeSubnetsRequest.retryConfiguration, specRetryConfiguration);
|
|
2965
2975
|
if (this.logger)
|
|
2966
2976
|
retrier.logger = this.logger;
|
|
@@ -3046,11 +3056,11 @@ class WaasClient {
|
|
|
3046
3056
|
* <p>
|
|
3047
3057
|
The list is sorted by `key`, in ascending order.
|
|
3048
3058
|
*
|
|
3049
|
-
* This operation
|
|
3059
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3050
3060
|
* @param ListGoodBotsRequest
|
|
3051
3061
|
* @return ListGoodBotsResponse
|
|
3052
3062
|
* @throws OciError when an error occurs
|
|
3053
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3063
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListGoodBots.ts.html |here} to see how to use ListGoodBots API.
|
|
3054
3064
|
*/
|
|
3055
3065
|
listGoodBots(listGoodBotsRequest) {
|
|
3056
3066
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3067,7 +3077,7 @@ class WaasClient {
|
|
|
3067
3077
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3068
3078
|
"opc-request-id": listGoodBotsRequest.opcRequestId
|
|
3069
3079
|
};
|
|
3070
|
-
const specRetryConfiguration = common.
|
|
3080
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3071
3081
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGoodBotsRequest.retryConfiguration, specRetryConfiguration);
|
|
3072
3082
|
if (this.logger)
|
|
3073
3083
|
retrier.logger = this.logger;
|
|
@@ -3156,11 +3166,11 @@ class WaasClient {
|
|
|
3156
3166
|
/**
|
|
3157
3167
|
* 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.
|
|
3158
3168
|
* The list is sorted by `key`, in ascending order.
|
|
3159
|
-
* This operation
|
|
3169
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3160
3170
|
* @param ListProtectionRulesRequest
|
|
3161
3171
|
* @return ListProtectionRulesResponse
|
|
3162
3172
|
* @throws OciError when an error occurs
|
|
3163
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3173
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListProtectionRules.ts.html |here} to see how to use ListProtectionRules API.
|
|
3164
3174
|
*/
|
|
3165
3175
|
listProtectionRules(listProtectionRulesRequest) {
|
|
3166
3176
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3179,7 +3189,7 @@ class WaasClient {
|
|
|
3179
3189
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3180
3190
|
"opc-request-id": listProtectionRulesRequest.opcRequestId
|
|
3181
3191
|
};
|
|
3182
|
-
const specRetryConfiguration = common.
|
|
3192
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3183
3193
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
3184
3194
|
if (this.logger)
|
|
3185
3195
|
retrier.logger = this.logger;
|
|
@@ -3270,11 +3280,11 @@ class WaasClient {
|
|
|
3270
3280
|
* <p>
|
|
3271
3281
|
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).
|
|
3272
3282
|
* The list is sorted by `key`, in ascending order.
|
|
3273
|
-
* This operation
|
|
3283
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3274
3284
|
* @param ListRecommendationsRequest
|
|
3275
3285
|
* @return ListRecommendationsResponse
|
|
3276
3286
|
* @throws OciError when an error occurs
|
|
3277
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3287
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListRecommendations.ts.html |here} to see how to use ListRecommendations API.
|
|
3278
3288
|
*/
|
|
3279
3289
|
listRecommendations(listRecommendationsRequest) {
|
|
3280
3290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3292,7 +3302,7 @@ class WaasClient {
|
|
|
3292
3302
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3293
3303
|
"opc-request-id": listRecommendationsRequest.opcRequestId
|
|
3294
3304
|
};
|
|
3295
|
-
const specRetryConfiguration = common.
|
|
3305
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3296
3306
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRecommendationsRequest.retryConfiguration, specRetryConfiguration);
|
|
3297
3307
|
if (this.logger)
|
|
3298
3308
|
retrier.logger = this.logger;
|
|
@@ -3383,11 +3393,11 @@ class WaasClient {
|
|
|
3383
3393
|
* and the actions set for each feed. The list is sorted by `key`,
|
|
3384
3394
|
* in ascending order.
|
|
3385
3395
|
*
|
|
3386
|
-
* This operation
|
|
3396
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3387
3397
|
* @param ListThreatFeedsRequest
|
|
3388
3398
|
* @return ListThreatFeedsResponse
|
|
3389
3399
|
* @throws OciError when an error occurs
|
|
3390
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListThreatFeeds.ts.html |here} to see how to use ListThreatFeeds API.
|
|
3391
3401
|
*/
|
|
3392
3402
|
listThreatFeeds(listThreatFeedsRequest) {
|
|
3393
3403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3404,7 +3414,7 @@ class WaasClient {
|
|
|
3404
3414
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3405
3415
|
"opc-request-id": listThreatFeedsRequest.opcRequestId
|
|
3406
3416
|
};
|
|
3407
|
-
const specRetryConfiguration = common.
|
|
3417
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3408
3418
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listThreatFeedsRequest.retryConfiguration, specRetryConfiguration);
|
|
3409
3419
|
if (this.logger)
|
|
3410
3420
|
retrier.logger = this.logger;
|
|
@@ -3492,11 +3502,11 @@ class WaasClient {
|
|
|
3492
3502
|
}
|
|
3493
3503
|
/**
|
|
3494
3504
|
* Gets a list of WAAS policies.
|
|
3495
|
-
* This operation
|
|
3505
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3496
3506
|
* @param ListWaasPoliciesRequest
|
|
3497
3507
|
* @return ListWaasPoliciesResponse
|
|
3498
3508
|
* @throws OciError when an error occurs
|
|
3499
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3509
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListWaasPolicies.ts.html |here} to see how to use ListWaasPolicies API.
|
|
3500
3510
|
*/
|
|
3501
3511
|
listWaasPolicies(listWaasPoliciesRequest) {
|
|
3502
3512
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3519,7 +3529,7 @@ class WaasClient {
|
|
|
3519
3529
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3520
3530
|
"opc-request-id": listWaasPoliciesRequest.opcRequestId
|
|
3521
3531
|
};
|
|
3522
|
-
const specRetryConfiguration = common.
|
|
3532
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3523
3533
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWaasPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
3524
3534
|
if (this.logger)
|
|
3525
3535
|
retrier.logger = this.logger;
|
|
@@ -3602,11 +3612,11 @@ class WaasClient {
|
|
|
3602
3612
|
}
|
|
3603
3613
|
/**
|
|
3604
3614
|
* Gets the list of currently configured custom protection rules for a WAAS policy.
|
|
3605
|
-
* This operation
|
|
3615
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3606
3616
|
* @param ListWaasPolicyCustomProtectionRulesRequest
|
|
3607
3617
|
* @return ListWaasPolicyCustomProtectionRulesResponse
|
|
3608
3618
|
* @throws OciError when an error occurs
|
|
3609
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3619
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListWaasPolicyCustomProtectionRules.ts.html |here} to see how to use ListWaasPolicyCustomProtectionRules API.
|
|
3610
3620
|
*/
|
|
3611
3621
|
listWaasPolicyCustomProtectionRules(listWaasPolicyCustomProtectionRulesRequest) {
|
|
3612
3622
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3625,7 +3635,7 @@ class WaasClient {
|
|
|
3625
3635
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3626
3636
|
"opc-request-id": listWaasPolicyCustomProtectionRulesRequest.opcRequestId
|
|
3627
3637
|
};
|
|
3628
|
-
const specRetryConfiguration = common.
|
|
3638
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3629
3639
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWaasPolicyCustomProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
3630
3640
|
if (this.logger)
|
|
3631
3641
|
retrier.logger = this.logger;
|
|
@@ -3713,11 +3723,11 @@ class WaasClient {
|
|
|
3713
3723
|
}
|
|
3714
3724
|
/**
|
|
3715
3725
|
* 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).
|
|
3716
|
-
* This operation
|
|
3726
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3717
3727
|
* @param ListWafBlockedRequestsRequest
|
|
3718
3728
|
* @return ListWafBlockedRequestsResponse
|
|
3719
3729
|
* @throws OciError when an error occurs
|
|
3720
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3730
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListWafBlockedRequests.ts.html |here} to see how to use ListWafBlockedRequests API.
|
|
3721
3731
|
*/
|
|
3722
3732
|
listWafBlockedRequests(listWafBlockedRequestsRequest) {
|
|
3723
3733
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3737,7 +3747,7 @@ class WaasClient {
|
|
|
3737
3747
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3738
3748
|
"opc-request-id": listWafBlockedRequestsRequest.opcRequestId
|
|
3739
3749
|
};
|
|
3740
|
-
const specRetryConfiguration = common.
|
|
3750
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3741
3751
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafBlockedRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3742
3752
|
if (this.logger)
|
|
3743
3753
|
retrier.logger = this.logger;
|
|
@@ -3823,11 +3833,11 @@ class WaasClient {
|
|
|
3823
3833
|
* policy. Sorted by the `timeObserved` in ascending order (starting from the
|
|
3824
3834
|
* oldest recorded event).
|
|
3825
3835
|
*
|
|
3826
|
-
* This operation
|
|
3836
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3827
3837
|
* @param ListWafLogsRequest
|
|
3828
3838
|
* @return ListWafLogsResponse
|
|
3829
3839
|
* @throws OciError when an error occurs
|
|
3830
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3840
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListWafLogs.ts.html |here} to see how to use ListWafLogs API.
|
|
3831
3841
|
*/
|
|
3832
3842
|
listWafLogs(listWafLogsRequest) {
|
|
3833
3843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3863,7 +3873,7 @@ class WaasClient {
|
|
|
3863
3873
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3864
3874
|
"opc-request-id": listWafLogsRequest.opcRequestId
|
|
3865
3875
|
};
|
|
3866
|
-
const specRetryConfiguration = common.
|
|
3876
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3867
3877
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3868
3878
|
if (this.logger)
|
|
3869
3879
|
retrier.logger = this.logger;
|
|
@@ -3949,11 +3959,11 @@ class WaasClient {
|
|
|
3949
3959
|
* over a specified period of time, including blocked requests. Sorted
|
|
3950
3960
|
* by `timeObserved` in ascending order (starting from oldest requests).
|
|
3951
3961
|
*
|
|
3952
|
-
* This operation
|
|
3962
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3953
3963
|
* @param ListWafRequestsRequest
|
|
3954
3964
|
* @return ListWafRequestsResponse
|
|
3955
3965
|
* @throws OciError when an error occurs
|
|
3956
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3966
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListWafRequests.ts.html |here} to see how to use ListWafRequests API.
|
|
3957
3967
|
*/
|
|
3958
3968
|
listWafRequests(listWafRequestsRequest) {
|
|
3959
3969
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3972,7 +3982,7 @@ class WaasClient {
|
|
|
3972
3982
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3973
3983
|
"opc-request-id": listWafRequestsRequest.opcRequestId
|
|
3974
3984
|
};
|
|
3975
|
-
const specRetryConfiguration = common.
|
|
3985
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3976
3986
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3977
3987
|
if (this.logger)
|
|
3978
3988
|
retrier.logger = this.logger;
|
|
@@ -4057,11 +4067,11 @@ class WaasClient {
|
|
|
4057
4067
|
* Gets the Web Application Firewall traffic data for a WAAS policy.
|
|
4058
4068
|
* Sorted by `timeObserved` in ascending order (starting from oldest data).
|
|
4059
4069
|
*
|
|
4060
|
-
* This operation
|
|
4070
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4061
4071
|
* @param ListWafTrafficRequest
|
|
4062
4072
|
* @return ListWafTrafficResponse
|
|
4063
4073
|
* @throws OciError when an error occurs
|
|
4064
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4074
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListWafTraffic.ts.html |here} to see how to use ListWafTraffic API.
|
|
4065
4075
|
*/
|
|
4066
4076
|
listWafTraffic(listWafTrafficRequest) {
|
|
4067
4077
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4080,7 +4090,7 @@ class WaasClient {
|
|
|
4080
4090
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4081
4091
|
"opc-request-id": listWafTrafficRequest.opcRequestId
|
|
4082
4092
|
};
|
|
4083
|
-
const specRetryConfiguration = common.
|
|
4093
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4084
4094
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafTrafficRequest.retryConfiguration, specRetryConfiguration);
|
|
4085
4095
|
if (this.logger)
|
|
4086
4096
|
retrier.logger = this.logger;
|
|
@@ -4163,11 +4173,11 @@ class WaasClient {
|
|
|
4163
4173
|
}
|
|
4164
4174
|
/**
|
|
4165
4175
|
* Gets the list of whitelists defined in the Web Application Firewall configuration for a WAAS policy.
|
|
4166
|
-
* This operation
|
|
4176
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4167
4177
|
* @param ListWhitelistsRequest
|
|
4168
4178
|
* @return ListWhitelistsResponse
|
|
4169
4179
|
* @throws OciError when an error occurs
|
|
4170
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4180
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListWhitelists.ts.html |here} to see how to use ListWhitelists API.
|
|
4171
4181
|
*/
|
|
4172
4182
|
listWhitelists(listWhitelistsRequest) {
|
|
4173
4183
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4184,7 +4194,7 @@ class WaasClient {
|
|
|
4184
4194
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4185
4195
|
"opc-request-id": listWhitelistsRequest.opcRequestId
|
|
4186
4196
|
};
|
|
4187
|
-
const specRetryConfiguration = common.
|
|
4197
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4188
4198
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWhitelistsRequest.retryConfiguration, specRetryConfiguration);
|
|
4189
4199
|
if (this.logger)
|
|
4190
4200
|
retrier.logger = this.logger;
|
|
@@ -4272,11 +4282,11 @@ class WaasClient {
|
|
|
4272
4282
|
}
|
|
4273
4283
|
/**
|
|
4274
4284
|
* 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.
|
|
4275
|
-
* This operation
|
|
4285
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4276
4286
|
* @param ListWorkRequestsRequest
|
|
4277
4287
|
* @return ListWorkRequestsResponse
|
|
4278
4288
|
* @throws OciError when an error occurs
|
|
4279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4289
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
4280
4290
|
*/
|
|
4281
4291
|
listWorkRequests(listWorkRequestsRequest) {
|
|
4282
4292
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4295,7 +4305,7 @@ class WaasClient {
|
|
|
4295
4305
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4296
4306
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
4297
4307
|
};
|
|
4298
|
-
const specRetryConfiguration = common.
|
|
4308
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4299
4309
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
4300
4310
|
if (this.logger)
|
|
4301
4311
|
retrier.logger = this.logger;
|
|
@@ -4383,7 +4393,7 @@ class WaasClient {
|
|
|
4383
4393
|
* @param PurgeCacheRequest
|
|
4384
4394
|
* @return PurgeCacheResponse
|
|
4385
4395
|
* @throws OciError when an error occurs
|
|
4386
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4396
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/PurgeCache.ts.html |here} to see how to use PurgeCache API.
|
|
4387
4397
|
*/
|
|
4388
4398
|
purgeCache(purgeCacheRequest) {
|
|
4389
4399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4450,7 +4460,7 @@ class WaasClient {
|
|
|
4450
4460
|
* @param UpdateAccessRulesRequest
|
|
4451
4461
|
* @return UpdateAccessRulesResponse
|
|
4452
4462
|
* @throws OciError when an error occurs
|
|
4453
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4463
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateAccessRules.ts.html |here} to see how to use UpdateAccessRules API.
|
|
4454
4464
|
*/
|
|
4455
4465
|
updateAccessRules(updateAccessRulesRequest) {
|
|
4456
4466
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4510,7 +4520,7 @@ class WaasClient {
|
|
|
4510
4520
|
* @param UpdateAddressListRequest
|
|
4511
4521
|
* @return UpdateAddressListResponse
|
|
4512
4522
|
* @throws OciError when an error occurs
|
|
4513
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4523
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateAddressList.ts.html |here} to see how to use UpdateAddressList API.
|
|
4514
4524
|
*/
|
|
4515
4525
|
updateAddressList(updateAddressListRequest) {
|
|
4516
4526
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4579,7 +4589,7 @@ class WaasClient {
|
|
|
4579
4589
|
* @param UpdateCachingRulesRequest
|
|
4580
4590
|
* @return UpdateCachingRulesResponse
|
|
4581
4591
|
* @throws OciError when an error occurs
|
|
4582
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4592
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateCachingRules.ts.html |here} to see how to use UpdateCachingRules API.
|
|
4583
4593
|
*/
|
|
4584
4594
|
updateCachingRules(updateCachingRulesRequest) {
|
|
4585
4595
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4647,7 +4657,7 @@ class WaasClient {
|
|
|
4647
4657
|
* @param UpdateCaptchasRequest
|
|
4648
4658
|
* @return UpdateCaptchasResponse
|
|
4649
4659
|
* @throws OciError when an error occurs
|
|
4650
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4660
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateCaptchas.ts.html |here} to see how to use UpdateCaptchas API.
|
|
4651
4661
|
*/
|
|
4652
4662
|
updateCaptchas(updateCaptchasRequest) {
|
|
4653
4663
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4707,7 +4717,7 @@ class WaasClient {
|
|
|
4707
4717
|
* @param UpdateCertificateRequest
|
|
4708
4718
|
* @return UpdateCertificateResponse
|
|
4709
4719
|
* @throws OciError when an error occurs
|
|
4710
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4720
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateCertificate.ts.html |here} to see how to use UpdateCertificate API.
|
|
4711
4721
|
*/
|
|
4712
4722
|
updateCertificate(updateCertificateRequest) {
|
|
4713
4723
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4770,7 +4780,7 @@ class WaasClient {
|
|
|
4770
4780
|
* @param UpdateCustomProtectionRuleRequest
|
|
4771
4781
|
* @return UpdateCustomProtectionRuleResponse
|
|
4772
4782
|
* @throws OciError when an error occurs
|
|
4773
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4783
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateCustomProtectionRule.ts.html |here} to see how to use UpdateCustomProtectionRule API.
|
|
4774
4784
|
*/
|
|
4775
4785
|
updateCustomProtectionRule(updateCustomProtectionRuleRequest) {
|
|
4776
4786
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4838,7 +4848,7 @@ class WaasClient {
|
|
|
4838
4848
|
* @param UpdateDeviceFingerprintChallengeRequest
|
|
4839
4849
|
* @return UpdateDeviceFingerprintChallengeResponse
|
|
4840
4850
|
* @throws OciError when an error occurs
|
|
4841
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4851
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateDeviceFingerprintChallenge.ts.html |here} to see how to use UpdateDeviceFingerprintChallenge API.
|
|
4842
4852
|
*/
|
|
4843
4853
|
updateDeviceFingerprintChallenge(updateDeviceFingerprintChallengeRequest) {
|
|
4844
4854
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4900,7 +4910,7 @@ class WaasClient {
|
|
|
4900
4910
|
* @param UpdateGoodBotsRequest
|
|
4901
4911
|
* @return UpdateGoodBotsResponse
|
|
4902
4912
|
* @throws OciError when an error occurs
|
|
4903
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4913
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateGoodBots.ts.html |here} to see how to use UpdateGoodBots API.
|
|
4904
4914
|
*/
|
|
4905
4915
|
updateGoodBots(updateGoodBotsRequest) {
|
|
4906
4916
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4960,7 +4970,7 @@ class WaasClient {
|
|
|
4960
4970
|
* @param UpdateHumanInteractionChallengeRequest
|
|
4961
4971
|
* @return UpdateHumanInteractionChallengeResponse
|
|
4962
4972
|
* @throws OciError when an error occurs
|
|
4963
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4973
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateHumanInteractionChallenge.ts.html |here} to see how to use UpdateHumanInteractionChallenge API.
|
|
4964
4974
|
*/
|
|
4965
4975
|
updateHumanInteractionChallenge(updateHumanInteractionChallengeRequest) {
|
|
4966
4976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5020,7 +5030,7 @@ class WaasClient {
|
|
|
5020
5030
|
* @param UpdateJsChallengeRequest
|
|
5021
5031
|
* @return UpdateJsChallengeResponse
|
|
5022
5032
|
* @throws OciError when an error occurs
|
|
5023
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5033
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateJsChallenge.ts.html |here} to see how to use UpdateJsChallenge API.
|
|
5024
5034
|
*/
|
|
5025
5035
|
updateJsChallenge(updateJsChallengeRequest) {
|
|
5026
5036
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5080,7 +5090,7 @@ class WaasClient {
|
|
|
5080
5090
|
* @param UpdatePolicyConfigRequest
|
|
5081
5091
|
* @return UpdatePolicyConfigResponse
|
|
5082
5092
|
* @throws OciError when an error occurs
|
|
5083
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5093
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdatePolicyConfig.ts.html |here} to see how to use UpdatePolicyConfig API.
|
|
5084
5094
|
*/
|
|
5085
5095
|
updatePolicyConfig(updatePolicyConfigRequest) {
|
|
5086
5096
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5142,7 +5152,7 @@ class WaasClient {
|
|
|
5142
5152
|
* @param UpdateProtectionRulesRequest
|
|
5143
5153
|
* @return UpdateProtectionRulesResponse
|
|
5144
5154
|
* @throws OciError when an error occurs
|
|
5145
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5155
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateProtectionRules.ts.html |here} to see how to use UpdateProtectionRules API.
|
|
5146
5156
|
*/
|
|
5147
5157
|
updateProtectionRules(updateProtectionRulesRequest) {
|
|
5148
5158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5201,7 +5211,7 @@ class WaasClient {
|
|
|
5201
5211
|
* @param UpdateProtectionSettingsRequest
|
|
5202
5212
|
* @return UpdateProtectionSettingsResponse
|
|
5203
5213
|
* @throws OciError when an error occurs
|
|
5204
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5214
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateProtectionSettings.ts.html |here} to see how to use UpdateProtectionSettings API.
|
|
5205
5215
|
*/
|
|
5206
5216
|
updateProtectionSettings(updateProtectionSettingsRequest) {
|
|
5207
5217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5261,7 +5271,7 @@ class WaasClient {
|
|
|
5261
5271
|
* @param UpdateThreatFeedsRequest
|
|
5262
5272
|
* @return UpdateThreatFeedsResponse
|
|
5263
5273
|
* @throws OciError when an error occurs
|
|
5264
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5274
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateThreatFeeds.ts.html |here} to see how to use UpdateThreatFeeds API.
|
|
5265
5275
|
*/
|
|
5266
5276
|
updateThreatFeeds(updateThreatFeedsRequest) {
|
|
5267
5277
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5322,7 +5332,7 @@ class WaasClient {
|
|
|
5322
5332
|
* @param UpdateWaasPolicyRequest
|
|
5323
5333
|
* @return UpdateWaasPolicyResponse
|
|
5324
5334
|
* @throws OciError when an error occurs
|
|
5325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateWaasPolicy.ts.html |here} to see how to use UpdateWaasPolicy API.
|
|
5326
5336
|
*/
|
|
5327
5337
|
updateWaasPolicy(updateWaasPolicyRequest) {
|
|
5328
5338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5382,7 +5392,7 @@ class WaasClient {
|
|
|
5382
5392
|
* @param UpdateWaasPolicyCustomProtectionRulesRequest
|
|
5383
5393
|
* @return UpdateWaasPolicyCustomProtectionRulesResponse
|
|
5384
5394
|
* @throws OciError when an error occurs
|
|
5385
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateWaasPolicyCustomProtectionRules.ts.html |here} to see how to use UpdateWaasPolicyCustomProtectionRules API.
|
|
5386
5396
|
*/
|
|
5387
5397
|
updateWaasPolicyCustomProtectionRules(updateWaasPolicyCustomProtectionRulesRequest) {
|
|
5388
5398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5442,7 +5452,7 @@ class WaasClient {
|
|
|
5442
5452
|
* @param UpdateWafAddressRateLimitingRequest
|
|
5443
5453
|
* @return UpdateWafAddressRateLimitingResponse
|
|
5444
5454
|
* @throws OciError when an error occurs
|
|
5445
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5455
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateWafAddressRateLimiting.ts.html |here} to see how to use UpdateWafAddressRateLimiting API.
|
|
5446
5456
|
*/
|
|
5447
5457
|
updateWafAddressRateLimiting(updateWafAddressRateLimitingRequest) {
|
|
5448
5458
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5510,7 +5520,7 @@ class WaasClient {
|
|
|
5510
5520
|
* @param UpdateWafConfigRequest
|
|
5511
5521
|
* @return UpdateWafConfigResponse
|
|
5512
5522
|
* @throws OciError when an error occurs
|
|
5513
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5523
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateWafConfig.ts.html |here} to see how to use UpdateWafConfig API.
|
|
5514
5524
|
*/
|
|
5515
5525
|
updateWafConfig(updateWafConfigRequest) {
|
|
5516
5526
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5578,7 +5588,7 @@ class WaasClient {
|
|
|
5578
5588
|
* @param UpdateWhitelistsRequest
|
|
5579
5589
|
* @return UpdateWhitelistsResponse
|
|
5580
5590
|
* @throws OciError when an error occurs
|
|
5581
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5591
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.26.0/waas/UpdateWhitelists.ts.html |here} to see how to use UpdateWhitelists API.
|
|
5582
5592
|
*/
|
|
5583
5593
|
updateWhitelists(updateWhitelistsRequest) {
|
|
5584
5594
|
return __awaiter(this, void 0, void 0, function* () {
|