oci-waas 2.27.0 → 2.30.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 +74 -72
- package/lib/client.js +290 -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
|
@@ -63,6 +63,7 @@ class RedirectClient {
|
|
|
63
63
|
this["_defaultHeaders"] = {};
|
|
64
64
|
this._circuitBreaker = null;
|
|
65
65
|
this._httpOptions = undefined;
|
|
66
|
+
this.targetService = "Redirect";
|
|
66
67
|
const requestSigner = params.authenticationDetailsProvider
|
|
67
68
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
68
69
|
: null;
|
|
@@ -158,12 +159,14 @@ class RedirectClient {
|
|
|
158
159
|
* @param ChangeHttpRedirectCompartmentRequest
|
|
159
160
|
* @return ChangeHttpRedirectCompartmentResponse
|
|
160
161
|
* @throws OciError when an error occurs
|
|
161
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
162
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ChangeHttpRedirectCompartment.ts.html |here} to see how to use ChangeHttpRedirectCompartment API.
|
|
162
163
|
*/
|
|
163
164
|
changeHttpRedirectCompartment(changeHttpRedirectCompartmentRequest) {
|
|
164
165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
165
166
|
if (this.logger)
|
|
166
167
|
this.logger.debug("Calling operation RedirectClient#changeHttpRedirectCompartment.");
|
|
168
|
+
const operationName = "changeHttpRedirectCompartment";
|
|
169
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HttpRedirect/ChangeHttpRedirectCompartment";
|
|
167
170
|
const pathParams = {
|
|
168
171
|
"{httpRedirectId}": changeHttpRedirectCompartmentRequest.httpRedirectId
|
|
169
172
|
};
|
|
@@ -189,7 +192,7 @@ class RedirectClient {
|
|
|
189
192
|
queryParams: queryParams
|
|
190
193
|
});
|
|
191
194
|
try {
|
|
192
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
195
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
193
196
|
const sdkResponse = oci_common_2.composeResponse({
|
|
194
197
|
responseObject: {},
|
|
195
198
|
responseHeaders: [
|
|
@@ -213,12 +216,14 @@ class RedirectClient {
|
|
|
213
216
|
* @param CreateHttpRedirectRequest
|
|
214
217
|
* @return CreateHttpRedirectResponse
|
|
215
218
|
* @throws OciError when an error occurs
|
|
216
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
219
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/CreateHttpRedirect.ts.html |here} to see how to use CreateHttpRedirect API.
|
|
217
220
|
*/
|
|
218
221
|
createHttpRedirect(createHttpRedirectRequest) {
|
|
219
222
|
return __awaiter(this, void 0, void 0, function* () {
|
|
220
223
|
if (this.logger)
|
|
221
224
|
this.logger.debug("Calling operation RedirectClient#createHttpRedirect.");
|
|
225
|
+
const operationName = "createHttpRedirect";
|
|
226
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HttpRedirect/CreateHttpRedirect";
|
|
222
227
|
const pathParams = {};
|
|
223
228
|
const queryParams = {};
|
|
224
229
|
let headerParams = {
|
|
@@ -241,7 +246,7 @@ class RedirectClient {
|
|
|
241
246
|
queryParams: queryParams
|
|
242
247
|
});
|
|
243
248
|
try {
|
|
244
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
249
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
245
250
|
const sdkResponse = oci_common_2.composeResponse({
|
|
246
251
|
responseObject: {},
|
|
247
252
|
responseHeaders: [
|
|
@@ -270,12 +275,14 @@ class RedirectClient {
|
|
|
270
275
|
* @param DeleteHttpRedirectRequest
|
|
271
276
|
* @return DeleteHttpRedirectResponse
|
|
272
277
|
* @throws OciError when an error occurs
|
|
273
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
278
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/DeleteHttpRedirect.ts.html |here} to see how to use DeleteHttpRedirect API.
|
|
274
279
|
*/
|
|
275
280
|
deleteHttpRedirect(deleteHttpRedirectRequest) {
|
|
276
281
|
return __awaiter(this, void 0, void 0, function* () {
|
|
277
282
|
if (this.logger)
|
|
278
283
|
this.logger.debug("Calling operation RedirectClient#deleteHttpRedirect.");
|
|
284
|
+
const operationName = "deleteHttpRedirect";
|
|
285
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HttpRedirect/DeleteHttpRedirect";
|
|
279
286
|
const pathParams = {
|
|
280
287
|
"{httpRedirectId}": deleteHttpRedirectRequest.httpRedirectId
|
|
281
288
|
};
|
|
@@ -300,7 +307,7 @@ class RedirectClient {
|
|
|
300
307
|
queryParams: queryParams
|
|
301
308
|
});
|
|
302
309
|
try {
|
|
303
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
310
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
304
311
|
const sdkResponse = oci_common_2.composeResponse({
|
|
305
312
|
responseObject: {},
|
|
306
313
|
responseHeaders: [
|
|
@@ -329,12 +336,14 @@ class RedirectClient {
|
|
|
329
336
|
* @param GetHttpRedirectRequest
|
|
330
337
|
* @return GetHttpRedirectResponse
|
|
331
338
|
* @throws OciError when an error occurs
|
|
332
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
339
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetHttpRedirect.ts.html |here} to see how to use GetHttpRedirect API.
|
|
333
340
|
*/
|
|
334
341
|
getHttpRedirect(getHttpRedirectRequest) {
|
|
335
342
|
return __awaiter(this, void 0, void 0, function* () {
|
|
336
343
|
if (this.logger)
|
|
337
344
|
this.logger.debug("Calling operation RedirectClient#getHttpRedirect.");
|
|
345
|
+
const operationName = "getHttpRedirect";
|
|
346
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HttpRedirect/GetHttpRedirect";
|
|
338
347
|
const pathParams = {
|
|
339
348
|
"{httpRedirectId}": getHttpRedirectRequest.httpRedirectId
|
|
340
349
|
};
|
|
@@ -357,7 +366,7 @@ class RedirectClient {
|
|
|
357
366
|
queryParams: queryParams
|
|
358
367
|
});
|
|
359
368
|
try {
|
|
360
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
369
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
361
370
|
const sdkResponse = oci_common_2.composeResponse({
|
|
362
371
|
responseObject: {},
|
|
363
372
|
body: yield response.json(),
|
|
@@ -390,12 +399,14 @@ class RedirectClient {
|
|
|
390
399
|
* @param ListHttpRedirectsRequest
|
|
391
400
|
* @return ListHttpRedirectsResponse
|
|
392
401
|
* @throws OciError when an error occurs
|
|
393
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
402
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListHttpRedirects.ts.html |here} to see how to use ListHttpRedirects API.
|
|
394
403
|
*/
|
|
395
404
|
listHttpRedirects(listHttpRedirectsRequest) {
|
|
396
405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
397
406
|
if (this.logger)
|
|
398
407
|
this.logger.debug("Calling operation RedirectClient#listHttpRedirects.");
|
|
408
|
+
const operationName = "listHttpRedirects";
|
|
409
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HttpRedirect/ListHttpRedirects";
|
|
399
410
|
const pathParams = {};
|
|
400
411
|
const queryParams = {
|
|
401
412
|
"compartmentId": listHttpRedirectsRequest.compartmentId,
|
|
@@ -427,7 +438,7 @@ class RedirectClient {
|
|
|
427
438
|
queryParams: queryParams
|
|
428
439
|
});
|
|
429
440
|
try {
|
|
430
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
441
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
431
442
|
const sdkResponse = oci_common_2.composeResponse({
|
|
432
443
|
responseObject: {},
|
|
433
444
|
body: yield response.json(),
|
|
@@ -500,12 +511,14 @@ class RedirectClient {
|
|
|
500
511
|
* @param UpdateHttpRedirectRequest
|
|
501
512
|
* @return UpdateHttpRedirectResponse
|
|
502
513
|
* @throws OciError when an error occurs
|
|
503
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
514
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateHttpRedirect.ts.html |here} to see how to use UpdateHttpRedirect API.
|
|
504
515
|
*/
|
|
505
516
|
updateHttpRedirect(updateHttpRedirectRequest) {
|
|
506
517
|
return __awaiter(this, void 0, void 0, function* () {
|
|
507
518
|
if (this.logger)
|
|
508
519
|
this.logger.debug("Calling operation RedirectClient#updateHttpRedirect.");
|
|
520
|
+
const operationName = "updateHttpRedirect";
|
|
521
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HttpRedirect/UpdateHttpRedirect";
|
|
509
522
|
const pathParams = {
|
|
510
523
|
"{httpRedirectId}": updateHttpRedirectRequest.httpRedirectId
|
|
511
524
|
};
|
|
@@ -531,7 +544,7 @@ class RedirectClient {
|
|
|
531
544
|
queryParams: queryParams
|
|
532
545
|
});
|
|
533
546
|
try {
|
|
534
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
547
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
535
548
|
const sdkResponse = oci_common_2.composeResponse({
|
|
536
549
|
responseObject: {},
|
|
537
550
|
responseHeaders: [
|
|
@@ -571,6 +584,7 @@ class WaasClient {
|
|
|
571
584
|
this["_defaultHeaders"] = {};
|
|
572
585
|
this._circuitBreaker = null;
|
|
573
586
|
this._httpOptions = undefined;
|
|
587
|
+
this.targetService = "Waas";
|
|
574
588
|
const requestSigner = params.authenticationDetailsProvider
|
|
575
589
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
576
590
|
: null;
|
|
@@ -668,12 +682,14 @@ class WaasClient {
|
|
|
668
682
|
* @param AcceptRecommendationsRequest
|
|
669
683
|
* @return AcceptRecommendationsResponse
|
|
670
684
|
* @throws OciError when an error occurs
|
|
671
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
685
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/AcceptRecommendations.ts.html |here} to see how to use AcceptRecommendations API.
|
|
672
686
|
*/
|
|
673
687
|
acceptRecommendations(acceptRecommendationsRequest) {
|
|
674
688
|
return __awaiter(this, void 0, void 0, function* () {
|
|
675
689
|
if (this.logger)
|
|
676
690
|
this.logger.debug("Calling operation WaasClient#acceptRecommendations.");
|
|
691
|
+
const operationName = "acceptRecommendations";
|
|
692
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Recommendation/AcceptRecommendations";
|
|
677
693
|
const pathParams = {
|
|
678
694
|
"{waasPolicyId}": acceptRecommendationsRequest.waasPolicyId
|
|
679
695
|
};
|
|
@@ -698,7 +714,7 @@ class WaasClient {
|
|
|
698
714
|
queryParams: queryParams
|
|
699
715
|
});
|
|
700
716
|
try {
|
|
701
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
717
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
702
718
|
const sdkResponse = oci_common_2.composeResponse({
|
|
703
719
|
responseObject: {},
|
|
704
720
|
responseHeaders: [
|
|
@@ -727,12 +743,14 @@ class WaasClient {
|
|
|
727
743
|
* @param CancelWorkRequestRequest
|
|
728
744
|
* @return CancelWorkRequestResponse
|
|
729
745
|
* @throws OciError when an error occurs
|
|
730
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
746
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
731
747
|
*/
|
|
732
748
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
733
749
|
return __awaiter(this, void 0, void 0, function* () {
|
|
734
750
|
if (this.logger)
|
|
735
751
|
this.logger.debug("Calling operation WaasClient#cancelWorkRequest.");
|
|
752
|
+
const operationName = "cancelWorkRequest";
|
|
753
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WorkRequest/CancelWorkRequest";
|
|
736
754
|
const pathParams = {
|
|
737
755
|
"{workRequestId}": cancelWorkRequestRequest.workRequestId
|
|
738
756
|
};
|
|
@@ -757,7 +775,7 @@ class WaasClient {
|
|
|
757
775
|
queryParams: queryParams
|
|
758
776
|
});
|
|
759
777
|
try {
|
|
760
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
778
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
761
779
|
const sdkResponse = oci_common_2.composeResponse({
|
|
762
780
|
responseObject: {},
|
|
763
781
|
responseHeaders: [
|
|
@@ -784,12 +802,14 @@ class WaasClient {
|
|
|
784
802
|
* @param ChangeAddressListCompartmentRequest
|
|
785
803
|
* @return ChangeAddressListCompartmentResponse
|
|
786
804
|
* @throws OciError when an error occurs
|
|
787
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
805
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ChangeAddressListCompartment.ts.html |here} to see how to use ChangeAddressListCompartment API.
|
|
788
806
|
*/
|
|
789
807
|
changeAddressListCompartment(changeAddressListCompartmentRequest) {
|
|
790
808
|
return __awaiter(this, void 0, void 0, function* () {
|
|
791
809
|
if (this.logger)
|
|
792
810
|
this.logger.debug("Calling operation WaasClient#changeAddressListCompartment.");
|
|
811
|
+
const operationName = "changeAddressListCompartment";
|
|
812
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressList/ChangeAddressListCompartment";
|
|
793
813
|
const pathParams = {
|
|
794
814
|
"{addressListId}": changeAddressListCompartmentRequest.addressListId
|
|
795
815
|
};
|
|
@@ -815,7 +835,7 @@ class WaasClient {
|
|
|
815
835
|
queryParams: queryParams
|
|
816
836
|
});
|
|
817
837
|
try {
|
|
818
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
838
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
819
839
|
const sdkResponse = oci_common_2.composeResponse({
|
|
820
840
|
responseObject: {},
|
|
821
841
|
responseHeaders: [
|
|
@@ -841,12 +861,14 @@ class WaasClient {
|
|
|
841
861
|
* @param ChangeCertificateCompartmentRequest
|
|
842
862
|
* @return ChangeCertificateCompartmentResponse
|
|
843
863
|
* @throws OciError when an error occurs
|
|
844
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
864
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ChangeCertificateCompartment.ts.html |here} to see how to use ChangeCertificateCompartment API.
|
|
845
865
|
*/
|
|
846
866
|
changeCertificateCompartment(changeCertificateCompartmentRequest) {
|
|
847
867
|
return __awaiter(this, void 0, void 0, function* () {
|
|
848
868
|
if (this.logger)
|
|
849
869
|
this.logger.debug("Calling operation WaasClient#changeCertificateCompartment.");
|
|
870
|
+
const operationName = "changeCertificateCompartment";
|
|
871
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Certificate/ChangeCertificateCompartment";
|
|
850
872
|
const pathParams = {
|
|
851
873
|
"{certificateId}": changeCertificateCompartmentRequest.certificateId
|
|
852
874
|
};
|
|
@@ -872,7 +894,7 @@ class WaasClient {
|
|
|
872
894
|
queryParams: queryParams
|
|
873
895
|
});
|
|
874
896
|
try {
|
|
875
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
897
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
876
898
|
const sdkResponse = oci_common_2.composeResponse({
|
|
877
899
|
responseObject: {},
|
|
878
900
|
responseHeaders: [
|
|
@@ -896,12 +918,14 @@ class WaasClient {
|
|
|
896
918
|
* @param ChangeCustomProtectionRuleCompartmentRequest
|
|
897
919
|
* @return ChangeCustomProtectionRuleCompartmentResponse
|
|
898
920
|
* @throws OciError when an error occurs
|
|
899
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
921
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ChangeCustomProtectionRuleCompartment.ts.html |here} to see how to use ChangeCustomProtectionRuleCompartment API.
|
|
900
922
|
*/
|
|
901
923
|
changeCustomProtectionRuleCompartment(changeCustomProtectionRuleCompartmentRequest) {
|
|
902
924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
903
925
|
if (this.logger)
|
|
904
926
|
this.logger.debug("Calling operation WaasClient#changeCustomProtectionRuleCompartment.");
|
|
927
|
+
const operationName = "changeCustomProtectionRuleCompartment";
|
|
928
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/ChangeCustomProtectionRuleCompartment";
|
|
905
929
|
const pathParams = {
|
|
906
930
|
"{customProtectionRuleId}": changeCustomProtectionRuleCompartmentRequest.customProtectionRuleId
|
|
907
931
|
};
|
|
@@ -927,7 +951,7 @@ class WaasClient {
|
|
|
927
951
|
queryParams: queryParams
|
|
928
952
|
});
|
|
929
953
|
try {
|
|
930
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
954
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
931
955
|
const sdkResponse = oci_common_2.composeResponse({
|
|
932
956
|
responseObject: {},
|
|
933
957
|
responseHeaders: [
|
|
@@ -953,12 +977,14 @@ class WaasClient {
|
|
|
953
977
|
* @param ChangeWaasPolicyCompartmentRequest
|
|
954
978
|
* @return ChangeWaasPolicyCompartmentResponse
|
|
955
979
|
* @throws OciError when an error occurs
|
|
956
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
980
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ChangeWaasPolicyCompartment.ts.html |here} to see how to use ChangeWaasPolicyCompartment API.
|
|
957
981
|
*/
|
|
958
982
|
changeWaasPolicyCompartment(changeWaasPolicyCompartmentRequest) {
|
|
959
983
|
return __awaiter(this, void 0, void 0, function* () {
|
|
960
984
|
if (this.logger)
|
|
961
985
|
this.logger.debug("Calling operation WaasClient#changeWaasPolicyCompartment.");
|
|
986
|
+
const operationName = "changeWaasPolicyCompartment";
|
|
987
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WaasPolicy/ChangeWaasPolicyCompartment";
|
|
962
988
|
const pathParams = {
|
|
963
989
|
"{waasPolicyId}": changeWaasPolicyCompartmentRequest.waasPolicyId
|
|
964
990
|
};
|
|
@@ -984,7 +1010,7 @@ class WaasClient {
|
|
|
984
1010
|
queryParams: queryParams
|
|
985
1011
|
});
|
|
986
1012
|
try {
|
|
987
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1013
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
988
1014
|
const sdkResponse = oci_common_2.composeResponse({
|
|
989
1015
|
responseObject: {},
|
|
990
1016
|
responseHeaders: [
|
|
@@ -1008,12 +1034,14 @@ class WaasClient {
|
|
|
1008
1034
|
* @param CreateAddressListRequest
|
|
1009
1035
|
* @return CreateAddressListResponse
|
|
1010
1036
|
* @throws OciError when an error occurs
|
|
1011
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1037
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/CreateAddressList.ts.html |here} to see how to use CreateAddressList API.
|
|
1012
1038
|
*/
|
|
1013
1039
|
createAddressList(createAddressListRequest) {
|
|
1014
1040
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1015
1041
|
if (this.logger)
|
|
1016
1042
|
this.logger.debug("Calling operation WaasClient#createAddressList.");
|
|
1043
|
+
const operationName = "createAddressList";
|
|
1044
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressList/CreateAddressList";
|
|
1017
1045
|
const pathParams = {};
|
|
1018
1046
|
const queryParams = {};
|
|
1019
1047
|
let headerParams = {
|
|
@@ -1036,7 +1064,7 @@ class WaasClient {
|
|
|
1036
1064
|
queryParams: queryParams
|
|
1037
1065
|
});
|
|
1038
1066
|
try {
|
|
1039
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1067
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1040
1068
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1041
1069
|
responseObject: {},
|
|
1042
1070
|
body: yield response.json(),
|
|
@@ -1071,12 +1099,14 @@ class WaasClient {
|
|
|
1071
1099
|
* @param CreateCertificateRequest
|
|
1072
1100
|
* @return CreateCertificateResponse
|
|
1073
1101
|
* @throws OciError when an error occurs
|
|
1074
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1102
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/CreateCertificate.ts.html |here} to see how to use CreateCertificate API.
|
|
1075
1103
|
*/
|
|
1076
1104
|
createCertificate(createCertificateRequest) {
|
|
1077
1105
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1078
1106
|
if (this.logger)
|
|
1079
1107
|
this.logger.debug("Calling operation WaasClient#createCertificate.");
|
|
1108
|
+
const operationName = "createCertificate";
|
|
1109
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Certificate/CreateCertificate";
|
|
1080
1110
|
const pathParams = {};
|
|
1081
1111
|
const queryParams = {};
|
|
1082
1112
|
let headerParams = {
|
|
@@ -1099,7 +1129,7 @@ class WaasClient {
|
|
|
1099
1129
|
queryParams: queryParams
|
|
1100
1130
|
});
|
|
1101
1131
|
try {
|
|
1102
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1132
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1103
1133
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1104
1134
|
responseObject: {},
|
|
1105
1135
|
body: yield response.json(),
|
|
@@ -1134,12 +1164,14 @@ class WaasClient {
|
|
|
1134
1164
|
* @param CreateCustomProtectionRuleRequest
|
|
1135
1165
|
* @return CreateCustomProtectionRuleResponse
|
|
1136
1166
|
* @throws OciError when an error occurs
|
|
1137
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1167
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/CreateCustomProtectionRule.ts.html |here} to see how to use CreateCustomProtectionRule API.
|
|
1138
1168
|
*/
|
|
1139
1169
|
createCustomProtectionRule(createCustomProtectionRuleRequest) {
|
|
1140
1170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1141
1171
|
if (this.logger)
|
|
1142
1172
|
this.logger.debug("Calling operation WaasClient#createCustomProtectionRule.");
|
|
1173
|
+
const operationName = "createCustomProtectionRule";
|
|
1174
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/CreateCustomProtectionRule";
|
|
1143
1175
|
const pathParams = {};
|
|
1144
1176
|
const queryParams = {};
|
|
1145
1177
|
let headerParams = {
|
|
@@ -1162,7 +1194,7 @@ class WaasClient {
|
|
|
1162
1194
|
queryParams: queryParams
|
|
1163
1195
|
});
|
|
1164
1196
|
try {
|
|
1165
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1197
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1166
1198
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1167
1199
|
responseObject: {},
|
|
1168
1200
|
body: yield response.json(),
|
|
@@ -1207,12 +1239,14 @@ class WaasClient {
|
|
|
1207
1239
|
* @param CreateWaasPolicyRequest
|
|
1208
1240
|
* @return CreateWaasPolicyResponse
|
|
1209
1241
|
* @throws OciError when an error occurs
|
|
1210
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1242
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/CreateWaasPolicy.ts.html |here} to see how to use CreateWaasPolicy API.
|
|
1211
1243
|
*/
|
|
1212
1244
|
createWaasPolicy(createWaasPolicyRequest) {
|
|
1213
1245
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1214
1246
|
if (this.logger)
|
|
1215
1247
|
this.logger.debug("Calling operation WaasClient#createWaasPolicy.");
|
|
1248
|
+
const operationName = "createWaasPolicy";
|
|
1249
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WaasPolicy/CreateWaasPolicy";
|
|
1216
1250
|
const pathParams = {};
|
|
1217
1251
|
const queryParams = {};
|
|
1218
1252
|
let headerParams = {
|
|
@@ -1235,7 +1269,7 @@ class WaasClient {
|
|
|
1235
1269
|
queryParams: queryParams
|
|
1236
1270
|
});
|
|
1237
1271
|
try {
|
|
1238
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1272
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1239
1273
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1240
1274
|
responseObject: {},
|
|
1241
1275
|
responseHeaders: [
|
|
@@ -1269,12 +1303,14 @@ class WaasClient {
|
|
|
1269
1303
|
* @param DeleteAddressListRequest
|
|
1270
1304
|
* @return DeleteAddressListResponse
|
|
1271
1305
|
* @throws OciError when an error occurs
|
|
1272
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1306
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/DeleteAddressList.ts.html |here} to see how to use DeleteAddressList API.
|
|
1273
1307
|
*/
|
|
1274
1308
|
deleteAddressList(deleteAddressListRequest) {
|
|
1275
1309
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1276
1310
|
if (this.logger)
|
|
1277
1311
|
this.logger.debug("Calling operation WaasClient#deleteAddressList.");
|
|
1312
|
+
const operationName = "deleteAddressList";
|
|
1313
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressList/DeleteAddressList";
|
|
1278
1314
|
const pathParams = {
|
|
1279
1315
|
"{addressListId}": deleteAddressListRequest.addressListId
|
|
1280
1316
|
};
|
|
@@ -1299,7 +1335,7 @@ class WaasClient {
|
|
|
1299
1335
|
queryParams: queryParams
|
|
1300
1336
|
});
|
|
1301
1337
|
try {
|
|
1302
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1338
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1303
1339
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1304
1340
|
responseObject: {},
|
|
1305
1341
|
responseHeaders: [
|
|
@@ -1323,12 +1359,14 @@ class WaasClient {
|
|
|
1323
1359
|
* @param DeleteCertificateRequest
|
|
1324
1360
|
* @return DeleteCertificateResponse
|
|
1325
1361
|
* @throws OciError when an error occurs
|
|
1326
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1362
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/DeleteCertificate.ts.html |here} to see how to use DeleteCertificate API.
|
|
1327
1363
|
*/
|
|
1328
1364
|
deleteCertificate(deleteCertificateRequest) {
|
|
1329
1365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1330
1366
|
if (this.logger)
|
|
1331
1367
|
this.logger.debug("Calling operation WaasClient#deleteCertificate.");
|
|
1368
|
+
const operationName = "deleteCertificate";
|
|
1369
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Certificate/DeleteCertificate";
|
|
1332
1370
|
const pathParams = {
|
|
1333
1371
|
"{certificateId}": deleteCertificateRequest.certificateId
|
|
1334
1372
|
};
|
|
@@ -1353,7 +1391,7 @@ class WaasClient {
|
|
|
1353
1391
|
queryParams: queryParams
|
|
1354
1392
|
});
|
|
1355
1393
|
try {
|
|
1356
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1394
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1357
1395
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1358
1396
|
responseObject: {},
|
|
1359
1397
|
responseHeaders: [
|
|
@@ -1377,12 +1415,14 @@ class WaasClient {
|
|
|
1377
1415
|
* @param DeleteCustomProtectionRuleRequest
|
|
1378
1416
|
* @return DeleteCustomProtectionRuleResponse
|
|
1379
1417
|
* @throws OciError when an error occurs
|
|
1380
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1418
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/DeleteCustomProtectionRule.ts.html |here} to see how to use DeleteCustomProtectionRule API.
|
|
1381
1419
|
*/
|
|
1382
1420
|
deleteCustomProtectionRule(deleteCustomProtectionRuleRequest) {
|
|
1383
1421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1384
1422
|
if (this.logger)
|
|
1385
1423
|
this.logger.debug("Calling operation WaasClient#deleteCustomProtectionRule.");
|
|
1424
|
+
const operationName = "deleteCustomProtectionRule";
|
|
1425
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/DeleteCustomProtectionRule";
|
|
1386
1426
|
const pathParams = {
|
|
1387
1427
|
"{customProtectionRuleId}": deleteCustomProtectionRuleRequest.customProtectionRuleId
|
|
1388
1428
|
};
|
|
@@ -1407,7 +1447,7 @@ class WaasClient {
|
|
|
1407
1447
|
queryParams: queryParams
|
|
1408
1448
|
});
|
|
1409
1449
|
try {
|
|
1410
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1450
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1411
1451
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1412
1452
|
responseObject: {},
|
|
1413
1453
|
responseHeaders: [
|
|
@@ -1431,12 +1471,14 @@ class WaasClient {
|
|
|
1431
1471
|
* @param DeleteWaasPolicyRequest
|
|
1432
1472
|
* @return DeleteWaasPolicyResponse
|
|
1433
1473
|
* @throws OciError when an error occurs
|
|
1434
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1474
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/DeleteWaasPolicy.ts.html |here} to see how to use DeleteWaasPolicy API.
|
|
1435
1475
|
*/
|
|
1436
1476
|
deleteWaasPolicy(deleteWaasPolicyRequest) {
|
|
1437
1477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1438
1478
|
if (this.logger)
|
|
1439
1479
|
this.logger.debug("Calling operation WaasClient#deleteWaasPolicy.");
|
|
1480
|
+
const operationName = "deleteWaasPolicy";
|
|
1481
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WaasPolicy/DeleteWaasPolicy";
|
|
1440
1482
|
const pathParams = {
|
|
1441
1483
|
"{waasPolicyId}": deleteWaasPolicyRequest.waasPolicyId
|
|
1442
1484
|
};
|
|
@@ -1461,7 +1503,7 @@ class WaasClient {
|
|
|
1461
1503
|
queryParams: queryParams
|
|
1462
1504
|
});
|
|
1463
1505
|
try {
|
|
1464
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1506
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1465
1507
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1466
1508
|
responseObject: {},
|
|
1467
1509
|
responseHeaders: [
|
|
@@ -1490,12 +1532,14 @@ class WaasClient {
|
|
|
1490
1532
|
* @param GetAddressListRequest
|
|
1491
1533
|
* @return GetAddressListResponse
|
|
1492
1534
|
* @throws OciError when an error occurs
|
|
1493
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1535
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetAddressList.ts.html |here} to see how to use GetAddressList API.
|
|
1494
1536
|
*/
|
|
1495
1537
|
getAddressList(getAddressListRequest) {
|
|
1496
1538
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1497
1539
|
if (this.logger)
|
|
1498
1540
|
this.logger.debug("Calling operation WaasClient#getAddressList.");
|
|
1541
|
+
const operationName = "getAddressList";
|
|
1542
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressList/GetAddressList";
|
|
1499
1543
|
const pathParams = {
|
|
1500
1544
|
"{addressListId}": getAddressListRequest.addressListId
|
|
1501
1545
|
};
|
|
@@ -1518,7 +1562,7 @@ class WaasClient {
|
|
|
1518
1562
|
queryParams: queryParams
|
|
1519
1563
|
});
|
|
1520
1564
|
try {
|
|
1521
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1565
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1522
1566
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1523
1567
|
responseObject: {},
|
|
1524
1568
|
body: yield response.json(),
|
|
@@ -1551,12 +1595,14 @@ class WaasClient {
|
|
|
1551
1595
|
* @param GetCertificateRequest
|
|
1552
1596
|
* @return GetCertificateResponse
|
|
1553
1597
|
* @throws OciError when an error occurs
|
|
1554
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1598
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetCertificate.ts.html |here} to see how to use GetCertificate API.
|
|
1555
1599
|
*/
|
|
1556
1600
|
getCertificate(getCertificateRequest) {
|
|
1557
1601
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1558
1602
|
if (this.logger)
|
|
1559
1603
|
this.logger.debug("Calling operation WaasClient#getCertificate.");
|
|
1604
|
+
const operationName = "getCertificate";
|
|
1605
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Certificate/GetCertificate";
|
|
1560
1606
|
const pathParams = {
|
|
1561
1607
|
"{certificateId}": getCertificateRequest.certificateId
|
|
1562
1608
|
};
|
|
@@ -1579,7 +1625,7 @@ class WaasClient {
|
|
|
1579
1625
|
queryParams: queryParams
|
|
1580
1626
|
});
|
|
1581
1627
|
try {
|
|
1582
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1628
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1583
1629
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1584
1630
|
responseObject: {},
|
|
1585
1631
|
body: yield response.json(),
|
|
@@ -1612,12 +1658,14 @@ class WaasClient {
|
|
|
1612
1658
|
* @param GetCustomProtectionRuleRequest
|
|
1613
1659
|
* @return GetCustomProtectionRuleResponse
|
|
1614
1660
|
* @throws OciError when an error occurs
|
|
1615
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1661
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetCustomProtectionRule.ts.html |here} to see how to use GetCustomProtectionRule API.
|
|
1616
1662
|
*/
|
|
1617
1663
|
getCustomProtectionRule(getCustomProtectionRuleRequest) {
|
|
1618
1664
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1619
1665
|
if (this.logger)
|
|
1620
1666
|
this.logger.debug("Calling operation WaasClient#getCustomProtectionRule.");
|
|
1667
|
+
const operationName = "getCustomProtectionRule";
|
|
1668
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/GetCustomProtectionRule";
|
|
1621
1669
|
const pathParams = {
|
|
1622
1670
|
"{customProtectionRuleId}": getCustomProtectionRuleRequest.customProtectionRuleId
|
|
1623
1671
|
};
|
|
@@ -1640,7 +1688,7 @@ class WaasClient {
|
|
|
1640
1688
|
queryParams: queryParams
|
|
1641
1689
|
});
|
|
1642
1690
|
try {
|
|
1643
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1691
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1644
1692
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1645
1693
|
responseObject: {},
|
|
1646
1694
|
body: yield response.json(),
|
|
@@ -1673,12 +1721,14 @@ class WaasClient {
|
|
|
1673
1721
|
* @param GetDeviceFingerprintChallengeRequest
|
|
1674
1722
|
* @return GetDeviceFingerprintChallengeResponse
|
|
1675
1723
|
* @throws OciError when an error occurs
|
|
1676
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1724
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetDeviceFingerprintChallenge.ts.html |here} to see how to use GetDeviceFingerprintChallenge API.
|
|
1677
1725
|
*/
|
|
1678
1726
|
getDeviceFingerprintChallenge(getDeviceFingerprintChallengeRequest) {
|
|
1679
1727
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1680
1728
|
if (this.logger)
|
|
1681
1729
|
this.logger.debug("Calling operation WaasClient#getDeviceFingerprintChallenge.");
|
|
1730
|
+
const operationName = "getDeviceFingerprintChallenge";
|
|
1731
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/DeviceFingerprintChallenge/GetDeviceFingerprintChallenge";
|
|
1682
1732
|
const pathParams = {
|
|
1683
1733
|
"{waasPolicyId}": getDeviceFingerprintChallengeRequest.waasPolicyId
|
|
1684
1734
|
};
|
|
@@ -1701,7 +1751,7 @@ class WaasClient {
|
|
|
1701
1751
|
queryParams: queryParams
|
|
1702
1752
|
});
|
|
1703
1753
|
try {
|
|
1704
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1754
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1705
1755
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1706
1756
|
responseObject: {},
|
|
1707
1757
|
body: yield response.json(),
|
|
@@ -1734,12 +1784,14 @@ class WaasClient {
|
|
|
1734
1784
|
* @param GetHumanInteractionChallengeRequest
|
|
1735
1785
|
* @return GetHumanInteractionChallengeResponse
|
|
1736
1786
|
* @throws OciError when an error occurs
|
|
1737
|
-
* @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.30.0/waas/GetHumanInteractionChallenge.ts.html |here} to see how to use GetHumanInteractionChallenge API.
|
|
1738
1788
|
*/
|
|
1739
1789
|
getHumanInteractionChallenge(getHumanInteractionChallengeRequest) {
|
|
1740
1790
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1741
1791
|
if (this.logger)
|
|
1742
1792
|
this.logger.debug("Calling operation WaasClient#getHumanInteractionChallenge.");
|
|
1793
|
+
const operationName = "getHumanInteractionChallenge";
|
|
1794
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HumanInteractionChallenge/GetHumanInteractionChallenge";
|
|
1743
1795
|
const pathParams = {
|
|
1744
1796
|
"{waasPolicyId}": getHumanInteractionChallengeRequest.waasPolicyId
|
|
1745
1797
|
};
|
|
@@ -1762,7 +1814,7 @@ class WaasClient {
|
|
|
1762
1814
|
queryParams: queryParams
|
|
1763
1815
|
});
|
|
1764
1816
|
try {
|
|
1765
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1817
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1766
1818
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1767
1819
|
responseObject: {},
|
|
1768
1820
|
body: yield response.json(),
|
|
@@ -1795,12 +1847,14 @@ class WaasClient {
|
|
|
1795
1847
|
* @param GetJsChallengeRequest
|
|
1796
1848
|
* @return GetJsChallengeResponse
|
|
1797
1849
|
* @throws OciError when an error occurs
|
|
1798
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1850
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetJsChallenge.ts.html |here} to see how to use GetJsChallenge API.
|
|
1799
1851
|
*/
|
|
1800
1852
|
getJsChallenge(getJsChallengeRequest) {
|
|
1801
1853
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1802
1854
|
if (this.logger)
|
|
1803
1855
|
this.logger.debug("Calling operation WaasClient#getJsChallenge.");
|
|
1856
|
+
const operationName = "getJsChallenge";
|
|
1857
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/JsChallenge/GetJsChallenge";
|
|
1804
1858
|
const pathParams = {
|
|
1805
1859
|
"{waasPolicyId}": getJsChallengeRequest.waasPolicyId
|
|
1806
1860
|
};
|
|
@@ -1823,7 +1877,7 @@ class WaasClient {
|
|
|
1823
1877
|
queryParams: queryParams
|
|
1824
1878
|
});
|
|
1825
1879
|
try {
|
|
1826
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1880
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1827
1881
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1828
1882
|
responseObject: {},
|
|
1829
1883
|
body: yield response.json(),
|
|
@@ -1856,12 +1910,14 @@ class WaasClient {
|
|
|
1856
1910
|
* @param GetPolicyConfigRequest
|
|
1857
1911
|
* @return GetPolicyConfigResponse
|
|
1858
1912
|
* @throws OciError when an error occurs
|
|
1859
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1913
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetPolicyConfig.ts.html |here} to see how to use GetPolicyConfig API.
|
|
1860
1914
|
*/
|
|
1861
1915
|
getPolicyConfig(getPolicyConfigRequest) {
|
|
1862
1916
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1863
1917
|
if (this.logger)
|
|
1864
1918
|
this.logger.debug("Calling operation WaasClient#getPolicyConfig.");
|
|
1919
|
+
const operationName = "getPolicyConfig";
|
|
1920
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/PolicyConfig/GetPolicyConfig";
|
|
1865
1921
|
const pathParams = {
|
|
1866
1922
|
"{waasPolicyId}": getPolicyConfigRequest.waasPolicyId
|
|
1867
1923
|
};
|
|
@@ -1884,7 +1940,7 @@ class WaasClient {
|
|
|
1884
1940
|
queryParams: queryParams
|
|
1885
1941
|
});
|
|
1886
1942
|
try {
|
|
1887
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1943
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1888
1944
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1889
1945
|
responseObject: {},
|
|
1890
1946
|
body: yield response.json(),
|
|
@@ -1917,12 +1973,14 @@ class WaasClient {
|
|
|
1917
1973
|
* @param GetProtectionRuleRequest
|
|
1918
1974
|
* @return GetProtectionRuleResponse
|
|
1919
1975
|
* @throws OciError when an error occurs
|
|
1920
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1976
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetProtectionRule.ts.html |here} to see how to use GetProtectionRule API.
|
|
1921
1977
|
*/
|
|
1922
1978
|
getProtectionRule(getProtectionRuleRequest) {
|
|
1923
1979
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1924
1980
|
if (this.logger)
|
|
1925
1981
|
this.logger.debug("Calling operation WaasClient#getProtectionRule.");
|
|
1982
|
+
const operationName = "getProtectionRule";
|
|
1983
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ProtectionRule/GetProtectionRule";
|
|
1926
1984
|
const pathParams = {
|
|
1927
1985
|
"{waasPolicyId}": getProtectionRuleRequest.waasPolicyId,
|
|
1928
1986
|
"{protectionRuleKey}": getProtectionRuleRequest.protectionRuleKey
|
|
@@ -1946,7 +2004,7 @@ class WaasClient {
|
|
|
1946
2004
|
queryParams: queryParams
|
|
1947
2005
|
});
|
|
1948
2006
|
try {
|
|
1949
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2007
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1950
2008
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1951
2009
|
responseObject: {},
|
|
1952
2010
|
body: yield response.json(),
|
|
@@ -1979,12 +2037,14 @@ class WaasClient {
|
|
|
1979
2037
|
* @param GetProtectionSettingsRequest
|
|
1980
2038
|
* @return GetProtectionSettingsResponse
|
|
1981
2039
|
* @throws OciError when an error occurs
|
|
1982
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2040
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetProtectionSettings.ts.html |here} to see how to use GetProtectionSettings API.
|
|
1983
2041
|
*/
|
|
1984
2042
|
getProtectionSettings(getProtectionSettingsRequest) {
|
|
1985
2043
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1986
2044
|
if (this.logger)
|
|
1987
2045
|
this.logger.debug("Calling operation WaasClient#getProtectionSettings.");
|
|
2046
|
+
const operationName = "getProtectionSettings";
|
|
2047
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ProtectionSettings/GetProtectionSettings";
|
|
1988
2048
|
const pathParams = {
|
|
1989
2049
|
"{waasPolicyId}": getProtectionSettingsRequest.waasPolicyId
|
|
1990
2050
|
};
|
|
@@ -2007,7 +2067,7 @@ class WaasClient {
|
|
|
2007
2067
|
queryParams: queryParams
|
|
2008
2068
|
});
|
|
2009
2069
|
try {
|
|
2010
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2070
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2011
2071
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2012
2072
|
responseObject: {},
|
|
2013
2073
|
body: yield response.json(),
|
|
@@ -2040,12 +2100,14 @@ class WaasClient {
|
|
|
2040
2100
|
* @param GetWaasPolicyRequest
|
|
2041
2101
|
* @return GetWaasPolicyResponse
|
|
2042
2102
|
* @throws OciError when an error occurs
|
|
2043
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2103
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetWaasPolicy.ts.html |here} to see how to use GetWaasPolicy API.
|
|
2044
2104
|
*/
|
|
2045
2105
|
getWaasPolicy(getWaasPolicyRequest) {
|
|
2046
2106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2047
2107
|
if (this.logger)
|
|
2048
2108
|
this.logger.debug("Calling operation WaasClient#getWaasPolicy.");
|
|
2109
|
+
const operationName = "getWaasPolicy";
|
|
2110
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WaasPolicy/GetWaasPolicy";
|
|
2049
2111
|
const pathParams = {
|
|
2050
2112
|
"{waasPolicyId}": getWaasPolicyRequest.waasPolicyId
|
|
2051
2113
|
};
|
|
@@ -2068,7 +2130,7 @@ class WaasClient {
|
|
|
2068
2130
|
queryParams: queryParams
|
|
2069
2131
|
});
|
|
2070
2132
|
try {
|
|
2071
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2133
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2072
2134
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2073
2135
|
responseObject: {},
|
|
2074
2136
|
body: yield response.json(),
|
|
@@ -2101,12 +2163,14 @@ class WaasClient {
|
|
|
2101
2163
|
* @param GetWafAddressRateLimitingRequest
|
|
2102
2164
|
* @return GetWafAddressRateLimitingResponse
|
|
2103
2165
|
* @throws OciError when an error occurs
|
|
2104
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2166
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetWafAddressRateLimiting.ts.html |here} to see how to use GetWafAddressRateLimiting API.
|
|
2105
2167
|
*/
|
|
2106
2168
|
getWafAddressRateLimiting(getWafAddressRateLimitingRequest) {
|
|
2107
2169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2108
2170
|
if (this.logger)
|
|
2109
2171
|
this.logger.debug("Calling operation WaasClient#getWafAddressRateLimiting.");
|
|
2172
|
+
const operationName = "getWafAddressRateLimiting";
|
|
2173
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressRateLimiting/GetWafAddressRateLimiting";
|
|
2110
2174
|
const pathParams = {
|
|
2111
2175
|
"{waasPolicyId}": getWafAddressRateLimitingRequest.waasPolicyId
|
|
2112
2176
|
};
|
|
@@ -2129,7 +2193,7 @@ class WaasClient {
|
|
|
2129
2193
|
queryParams: queryParams
|
|
2130
2194
|
});
|
|
2131
2195
|
try {
|
|
2132
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2196
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2133
2197
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2134
2198
|
responseObject: {},
|
|
2135
2199
|
body: yield response.json(),
|
|
@@ -2162,12 +2226,14 @@ class WaasClient {
|
|
|
2162
2226
|
* @param GetWafConfigRequest
|
|
2163
2227
|
* @return GetWafConfigResponse
|
|
2164
2228
|
* @throws OciError when an error occurs
|
|
2165
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2229
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetWafConfig.ts.html |here} to see how to use GetWafConfig API.
|
|
2166
2230
|
*/
|
|
2167
2231
|
getWafConfig(getWafConfigRequest) {
|
|
2168
2232
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2169
2233
|
if (this.logger)
|
|
2170
2234
|
this.logger.debug("Calling operation WaasClient#getWafConfig.");
|
|
2235
|
+
const operationName = "getWafConfig";
|
|
2236
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WafConfig/GetWafConfig";
|
|
2171
2237
|
const pathParams = {
|
|
2172
2238
|
"{waasPolicyId}": getWafConfigRequest.waasPolicyId
|
|
2173
2239
|
};
|
|
@@ -2190,7 +2256,7 @@ class WaasClient {
|
|
|
2190
2256
|
queryParams: queryParams
|
|
2191
2257
|
});
|
|
2192
2258
|
try {
|
|
2193
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2259
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2194
2260
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2195
2261
|
responseObject: {},
|
|
2196
2262
|
body: yield response.json(),
|
|
@@ -2223,12 +2289,14 @@ class WaasClient {
|
|
|
2223
2289
|
* @param GetWorkRequestRequest
|
|
2224
2290
|
* @return GetWorkRequestResponse
|
|
2225
2291
|
* @throws OciError when an error occurs
|
|
2226
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2292
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2227
2293
|
*/
|
|
2228
2294
|
getWorkRequest(getWorkRequestRequest) {
|
|
2229
2295
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2230
2296
|
if (this.logger)
|
|
2231
2297
|
this.logger.debug("Calling operation WaasClient#getWorkRequest.");
|
|
2298
|
+
const operationName = "getWorkRequest";
|
|
2299
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WorkRequest/GetWorkRequest";
|
|
2232
2300
|
const pathParams = {
|
|
2233
2301
|
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
2234
2302
|
};
|
|
@@ -2251,7 +2319,7 @@ class WaasClient {
|
|
|
2251
2319
|
queryParams: queryParams
|
|
2252
2320
|
});
|
|
2253
2321
|
try {
|
|
2254
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2322
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2255
2323
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2256
2324
|
responseObject: {},
|
|
2257
2325
|
body: yield response.json(),
|
|
@@ -2290,12 +2358,14 @@ class WaasClient {
|
|
|
2290
2358
|
* @param ListAccessRulesRequest
|
|
2291
2359
|
* @return ListAccessRulesResponse
|
|
2292
2360
|
* @throws OciError when an error occurs
|
|
2293
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListAccessRules.ts.html |here} to see how to use ListAccessRules API.
|
|
2294
2362
|
*/
|
|
2295
2363
|
listAccessRules(listAccessRulesRequest) {
|
|
2296
2364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2297
2365
|
if (this.logger)
|
|
2298
2366
|
this.logger.debug("Calling operation WaasClient#listAccessRules.");
|
|
2367
|
+
const operationName = "listAccessRules";
|
|
2368
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AccessRule/ListAccessRules";
|
|
2299
2369
|
const pathParams = {
|
|
2300
2370
|
"{waasPolicyId}": listAccessRulesRequest.waasPolicyId
|
|
2301
2371
|
};
|
|
@@ -2321,7 +2391,7 @@ class WaasClient {
|
|
|
2321
2391
|
queryParams: queryParams
|
|
2322
2392
|
});
|
|
2323
2393
|
try {
|
|
2324
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2394
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2325
2395
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2326
2396
|
responseObject: {},
|
|
2327
2397
|
body: yield response.json(),
|
|
@@ -2399,12 +2469,14 @@ class WaasClient {
|
|
|
2399
2469
|
* @param ListAddressListsRequest
|
|
2400
2470
|
* @return ListAddressListsResponse
|
|
2401
2471
|
* @throws OciError when an error occurs
|
|
2402
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2472
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListAddressLists.ts.html |here} to see how to use ListAddressLists API.
|
|
2403
2473
|
*/
|
|
2404
2474
|
listAddressLists(listAddressListsRequest) {
|
|
2405
2475
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2406
2476
|
if (this.logger)
|
|
2407
2477
|
this.logger.debug("Calling operation WaasClient#listAddressLists.");
|
|
2478
|
+
const operationName = "listAddressLists";
|
|
2479
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressList/ListAddressLists";
|
|
2408
2480
|
const pathParams = {};
|
|
2409
2481
|
const queryParams = {
|
|
2410
2482
|
"limit": listAddressListsRequest.limit,
|
|
@@ -2436,7 +2508,7 @@ class WaasClient {
|
|
|
2436
2508
|
queryParams: queryParams
|
|
2437
2509
|
});
|
|
2438
2510
|
try {
|
|
2439
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2511
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2440
2512
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2441
2513
|
responseObject: {},
|
|
2442
2514
|
body: yield response.json(),
|
|
@@ -2510,12 +2582,14 @@ class WaasClient {
|
|
|
2510
2582
|
* @param ListCachingRulesRequest
|
|
2511
2583
|
* @return ListCachingRulesResponse
|
|
2512
2584
|
* @throws OciError when an error occurs
|
|
2513
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2585
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListCachingRules.ts.html |here} to see how to use ListCachingRules API.
|
|
2514
2586
|
*/
|
|
2515
2587
|
listCachingRules(listCachingRulesRequest) {
|
|
2516
2588
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2517
2589
|
if (this.logger)
|
|
2518
2590
|
this.logger.debug("Calling operation WaasClient#listCachingRules.");
|
|
2591
|
+
const operationName = "listCachingRules";
|
|
2592
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CachingRuleSummary/ListCachingRules";
|
|
2519
2593
|
const pathParams = {
|
|
2520
2594
|
"{waasPolicyId}": listCachingRulesRequest.waasPolicyId
|
|
2521
2595
|
};
|
|
@@ -2541,7 +2615,7 @@ class WaasClient {
|
|
|
2541
2615
|
queryParams: queryParams
|
|
2542
2616
|
});
|
|
2543
2617
|
try {
|
|
2544
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2618
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2545
2619
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2546
2620
|
responseObject: {},
|
|
2547
2621
|
body: yield response.json(),
|
|
@@ -2624,12 +2698,14 @@ class WaasClient {
|
|
|
2624
2698
|
* @param ListCaptchasRequest
|
|
2625
2699
|
* @return ListCaptchasResponse
|
|
2626
2700
|
* @throws OciError when an error occurs
|
|
2627
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2701
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListCaptchas.ts.html |here} to see how to use ListCaptchas API.
|
|
2628
2702
|
*/
|
|
2629
2703
|
listCaptchas(listCaptchasRequest) {
|
|
2630
2704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2631
2705
|
if (this.logger)
|
|
2632
2706
|
this.logger.debug("Calling operation WaasClient#listCaptchas.");
|
|
2707
|
+
const operationName = "listCaptchas";
|
|
2708
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Captcha/ListCaptchas";
|
|
2633
2709
|
const pathParams = {
|
|
2634
2710
|
"{waasPolicyId}": listCaptchasRequest.waasPolicyId
|
|
2635
2711
|
};
|
|
@@ -2655,7 +2731,7 @@ class WaasClient {
|
|
|
2655
2731
|
queryParams: queryParams
|
|
2656
2732
|
});
|
|
2657
2733
|
try {
|
|
2658
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2734
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2659
2735
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2660
2736
|
responseObject: {},
|
|
2661
2737
|
body: yield response.json(),
|
|
@@ -2733,12 +2809,14 @@ class WaasClient {
|
|
|
2733
2809
|
* @param ListCertificatesRequest
|
|
2734
2810
|
* @return ListCertificatesResponse
|
|
2735
2811
|
* @throws OciError when an error occurs
|
|
2736
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2812
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListCertificates.ts.html |here} to see how to use ListCertificates API.
|
|
2737
2813
|
*/
|
|
2738
2814
|
listCertificates(listCertificatesRequest) {
|
|
2739
2815
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2740
2816
|
if (this.logger)
|
|
2741
2817
|
this.logger.debug("Calling operation WaasClient#listCertificates.");
|
|
2818
|
+
const operationName = "listCertificates";
|
|
2819
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CertificateSummary/ListCertificates";
|
|
2742
2820
|
const pathParams = {};
|
|
2743
2821
|
const queryParams = {
|
|
2744
2822
|
"limit": listCertificatesRequest.limit,
|
|
@@ -2770,7 +2848,7 @@ class WaasClient {
|
|
|
2770
2848
|
queryParams: queryParams
|
|
2771
2849
|
});
|
|
2772
2850
|
try {
|
|
2773
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2851
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2774
2852
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2775
2853
|
responseObject: {},
|
|
2776
2854
|
body: yield response.json(),
|
|
@@ -2843,12 +2921,14 @@ class WaasClient {
|
|
|
2843
2921
|
* @param ListCustomProtectionRulesRequest
|
|
2844
2922
|
* @return ListCustomProtectionRulesResponse
|
|
2845
2923
|
* @throws OciError when an error occurs
|
|
2846
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2924
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListCustomProtectionRules.ts.html |here} to see how to use ListCustomProtectionRules API.
|
|
2847
2925
|
*/
|
|
2848
2926
|
listCustomProtectionRules(listCustomProtectionRulesRequest) {
|
|
2849
2927
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2850
2928
|
if (this.logger)
|
|
2851
2929
|
this.logger.debug("Calling operation WaasClient#listCustomProtectionRules.");
|
|
2930
|
+
const operationName = "listCustomProtectionRules";
|
|
2931
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/ListCustomProtectionRules";
|
|
2852
2932
|
const pathParams = {};
|
|
2853
2933
|
const queryParams = {
|
|
2854
2934
|
"compartmentId": listCustomProtectionRulesRequest.compartmentId,
|
|
@@ -2880,7 +2960,7 @@ class WaasClient {
|
|
|
2880
2960
|
queryParams: queryParams
|
|
2881
2961
|
});
|
|
2882
2962
|
try {
|
|
2883
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2963
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2884
2964
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2885
2965
|
responseObject: {},
|
|
2886
2966
|
body: yield response.json(),
|
|
@@ -2953,12 +3033,14 @@ class WaasClient {
|
|
|
2953
3033
|
* @param ListEdgeSubnetsRequest
|
|
2954
3034
|
* @return ListEdgeSubnetsResponse
|
|
2955
3035
|
* @throws OciError when an error occurs
|
|
2956
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3036
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListEdgeSubnets.ts.html |here} to see how to use ListEdgeSubnets API.
|
|
2957
3037
|
*/
|
|
2958
3038
|
listEdgeSubnets(listEdgeSubnetsRequest) {
|
|
2959
3039
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2960
3040
|
if (this.logger)
|
|
2961
3041
|
this.logger.debug("Calling operation WaasClient#listEdgeSubnets.");
|
|
3042
|
+
const operationName = "listEdgeSubnets";
|
|
3043
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/EdgeSubnet/ListEdgeSubnets";
|
|
2962
3044
|
const pathParams = {};
|
|
2963
3045
|
const queryParams = {
|
|
2964
3046
|
"limit": listEdgeSubnetsRequest.limit,
|
|
@@ -2984,7 +3066,7 @@ class WaasClient {
|
|
|
2984
3066
|
queryParams: queryParams
|
|
2985
3067
|
});
|
|
2986
3068
|
try {
|
|
2987
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3069
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2988
3070
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2989
3071
|
responseObject: {},
|
|
2990
3072
|
body: yield response.json(),
|
|
@@ -3060,12 +3142,14 @@ class WaasClient {
|
|
|
3060
3142
|
* @param ListGoodBotsRequest
|
|
3061
3143
|
* @return ListGoodBotsResponse
|
|
3062
3144
|
* @throws OciError when an error occurs
|
|
3063
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3145
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListGoodBots.ts.html |here} to see how to use ListGoodBots API.
|
|
3064
3146
|
*/
|
|
3065
3147
|
listGoodBots(listGoodBotsRequest) {
|
|
3066
3148
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3067
3149
|
if (this.logger)
|
|
3068
3150
|
this.logger.debug("Calling operation WaasClient#listGoodBots.");
|
|
3151
|
+
const operationName = "listGoodBots";
|
|
3152
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/GoodBot/ListGoodBots";
|
|
3069
3153
|
const pathParams = {
|
|
3070
3154
|
"{waasPolicyId}": listGoodBotsRequest.waasPolicyId
|
|
3071
3155
|
};
|
|
@@ -3091,7 +3175,7 @@ class WaasClient {
|
|
|
3091
3175
|
queryParams: queryParams
|
|
3092
3176
|
});
|
|
3093
3177
|
try {
|
|
3094
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3178
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3095
3179
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3096
3180
|
responseObject: {},
|
|
3097
3181
|
body: yield response.json(),
|
|
@@ -3170,12 +3254,14 @@ class WaasClient {
|
|
|
3170
3254
|
* @param ListProtectionRulesRequest
|
|
3171
3255
|
* @return ListProtectionRulesResponse
|
|
3172
3256
|
* @throws OciError when an error occurs
|
|
3173
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3257
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListProtectionRules.ts.html |here} to see how to use ListProtectionRules API.
|
|
3174
3258
|
*/
|
|
3175
3259
|
listProtectionRules(listProtectionRulesRequest) {
|
|
3176
3260
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3177
3261
|
if (this.logger)
|
|
3178
3262
|
this.logger.debug("Calling operation WaasClient#listProtectionRules.");
|
|
3263
|
+
const operationName = "listProtectionRules";
|
|
3264
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ProtectionRule/ListProtectionRules";
|
|
3179
3265
|
const pathParams = {
|
|
3180
3266
|
"{waasPolicyId}": listProtectionRulesRequest.waasPolicyId
|
|
3181
3267
|
};
|
|
@@ -3203,7 +3289,7 @@ class WaasClient {
|
|
|
3203
3289
|
queryParams: queryParams
|
|
3204
3290
|
});
|
|
3205
3291
|
try {
|
|
3206
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3292
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3207
3293
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3208
3294
|
responseObject: {},
|
|
3209
3295
|
body: yield response.json(),
|
|
@@ -3284,12 +3370,14 @@ class WaasClient {
|
|
|
3284
3370
|
* @param ListRecommendationsRequest
|
|
3285
3371
|
* @return ListRecommendationsResponse
|
|
3286
3372
|
* @throws OciError when an error occurs
|
|
3287
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3373
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListRecommendations.ts.html |here} to see how to use ListRecommendations API.
|
|
3288
3374
|
*/
|
|
3289
3375
|
listRecommendations(listRecommendationsRequest) {
|
|
3290
3376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3291
3377
|
if (this.logger)
|
|
3292
3378
|
this.logger.debug("Calling operation WaasClient#listRecommendations.");
|
|
3379
|
+
const operationName = "listRecommendations";
|
|
3380
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Recommendation/ListRecommendations";
|
|
3293
3381
|
const pathParams = {
|
|
3294
3382
|
"{waasPolicyId}": listRecommendationsRequest.waasPolicyId
|
|
3295
3383
|
};
|
|
@@ -3316,7 +3404,7 @@ class WaasClient {
|
|
|
3316
3404
|
queryParams: queryParams
|
|
3317
3405
|
});
|
|
3318
3406
|
try {
|
|
3319
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3407
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3320
3408
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3321
3409
|
responseObject: {},
|
|
3322
3410
|
body: yield response.json(),
|
|
@@ -3397,12 +3485,14 @@ class WaasClient {
|
|
|
3397
3485
|
* @param ListThreatFeedsRequest
|
|
3398
3486
|
* @return ListThreatFeedsResponse
|
|
3399
3487
|
* @throws OciError when an error occurs
|
|
3400
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3488
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListThreatFeeds.ts.html |here} to see how to use ListThreatFeeds API.
|
|
3401
3489
|
*/
|
|
3402
3490
|
listThreatFeeds(listThreatFeedsRequest) {
|
|
3403
3491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3404
3492
|
if (this.logger)
|
|
3405
3493
|
this.logger.debug("Calling operation WaasClient#listThreatFeeds.");
|
|
3494
|
+
const operationName = "listThreatFeeds";
|
|
3495
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ThreatFeed/ListThreatFeeds";
|
|
3406
3496
|
const pathParams = {
|
|
3407
3497
|
"{waasPolicyId}": listThreatFeedsRequest.waasPolicyId
|
|
3408
3498
|
};
|
|
@@ -3428,7 +3518,7 @@ class WaasClient {
|
|
|
3428
3518
|
queryParams: queryParams
|
|
3429
3519
|
});
|
|
3430
3520
|
try {
|
|
3431
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3521
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3432
3522
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3433
3523
|
responseObject: {},
|
|
3434
3524
|
body: yield response.json(),
|
|
@@ -3506,12 +3596,14 @@ class WaasClient {
|
|
|
3506
3596
|
* @param ListWaasPoliciesRequest
|
|
3507
3597
|
* @return ListWaasPoliciesResponse
|
|
3508
3598
|
* @throws OciError when an error occurs
|
|
3509
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3599
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListWaasPolicies.ts.html |here} to see how to use ListWaasPolicies API.
|
|
3510
3600
|
*/
|
|
3511
3601
|
listWaasPolicies(listWaasPoliciesRequest) {
|
|
3512
3602
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3513
3603
|
if (this.logger)
|
|
3514
3604
|
this.logger.debug("Calling operation WaasClient#listWaasPolicies.");
|
|
3605
|
+
const operationName = "listWaasPolicies";
|
|
3606
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WaasPolicy/ListWaasPolicies";
|
|
3515
3607
|
const pathParams = {};
|
|
3516
3608
|
const queryParams = {
|
|
3517
3609
|
"compartmentId": listWaasPoliciesRequest.compartmentId,
|
|
@@ -3543,7 +3635,7 @@ class WaasClient {
|
|
|
3543
3635
|
queryParams: queryParams
|
|
3544
3636
|
});
|
|
3545
3637
|
try {
|
|
3546
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3638
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3547
3639
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3548
3640
|
responseObject: {},
|
|
3549
3641
|
body: yield response.json(),
|
|
@@ -3616,12 +3708,14 @@ class WaasClient {
|
|
|
3616
3708
|
* @param ListWaasPolicyCustomProtectionRulesRequest
|
|
3617
3709
|
* @return ListWaasPolicyCustomProtectionRulesResponse
|
|
3618
3710
|
* @throws OciError when an error occurs
|
|
3619
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3711
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListWaasPolicyCustomProtectionRules.ts.html |here} to see how to use ListWaasPolicyCustomProtectionRules API.
|
|
3620
3712
|
*/
|
|
3621
3713
|
listWaasPolicyCustomProtectionRules(listWaasPolicyCustomProtectionRulesRequest) {
|
|
3622
3714
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3623
3715
|
if (this.logger)
|
|
3624
3716
|
this.logger.debug("Calling operation WaasClient#listWaasPolicyCustomProtectionRules.");
|
|
3717
|
+
const operationName = "listWaasPolicyCustomProtectionRules";
|
|
3718
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/ListWaasPolicyCustomProtectionRules";
|
|
3625
3719
|
const pathParams = {
|
|
3626
3720
|
"{waasPolicyId}": listWaasPolicyCustomProtectionRulesRequest.waasPolicyId
|
|
3627
3721
|
};
|
|
@@ -3649,7 +3743,7 @@ class WaasClient {
|
|
|
3649
3743
|
queryParams: queryParams
|
|
3650
3744
|
});
|
|
3651
3745
|
try {
|
|
3652
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3746
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3653
3747
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3654
3748
|
responseObject: {},
|
|
3655
3749
|
body: yield response.json(),
|
|
@@ -3727,12 +3821,14 @@ class WaasClient {
|
|
|
3727
3821
|
* @param ListWafBlockedRequestsRequest
|
|
3728
3822
|
* @return ListWafBlockedRequestsResponse
|
|
3729
3823
|
* @throws OciError when an error occurs
|
|
3730
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3824
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListWafBlockedRequests.ts.html |here} to see how to use ListWafBlockedRequests API.
|
|
3731
3825
|
*/
|
|
3732
3826
|
listWafBlockedRequests(listWafBlockedRequestsRequest) {
|
|
3733
3827
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3734
3828
|
if (this.logger)
|
|
3735
3829
|
this.logger.debug("Calling operation WaasClient#listWafBlockedRequests.");
|
|
3830
|
+
const operationName = "listWafBlockedRequests";
|
|
3831
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WafBlockedRequest/ListWafBlockedRequests";
|
|
3736
3832
|
const pathParams = {
|
|
3737
3833
|
"{waasPolicyId}": listWafBlockedRequestsRequest.waasPolicyId
|
|
3738
3834
|
};
|
|
@@ -3761,7 +3857,7 @@ class WaasClient {
|
|
|
3761
3857
|
queryParams: queryParams
|
|
3762
3858
|
});
|
|
3763
3859
|
try {
|
|
3764
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3860
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3765
3861
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3766
3862
|
responseObject: {},
|
|
3767
3863
|
body: yield response.json(),
|
|
@@ -3837,12 +3933,14 @@ class WaasClient {
|
|
|
3837
3933
|
* @param ListWafLogsRequest
|
|
3838
3934
|
* @return ListWafLogsResponse
|
|
3839
3935
|
* @throws OciError when an error occurs
|
|
3840
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3936
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListWafLogs.ts.html |here} to see how to use ListWafLogs API.
|
|
3841
3937
|
*/
|
|
3842
3938
|
listWafLogs(listWafLogsRequest) {
|
|
3843
3939
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3844
3940
|
if (this.logger)
|
|
3845
3941
|
this.logger.debug("Calling operation WaasClient#listWafLogs.");
|
|
3942
|
+
const operationName = "listWafLogs";
|
|
3943
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WafLog/ListWafLogs";
|
|
3846
3944
|
const pathParams = {
|
|
3847
3945
|
"{waasPolicyId}": listWafLogsRequest.waasPolicyId
|
|
3848
3946
|
};
|
|
@@ -3887,7 +3985,7 @@ class WaasClient {
|
|
|
3887
3985
|
queryParams: queryParams
|
|
3888
3986
|
});
|
|
3889
3987
|
try {
|
|
3890
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3988
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3891
3989
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3892
3990
|
responseObject: {},
|
|
3893
3991
|
body: yield response.json(),
|
|
@@ -3963,12 +4061,14 @@ class WaasClient {
|
|
|
3963
4061
|
* @param ListWafRequestsRequest
|
|
3964
4062
|
* @return ListWafRequestsResponse
|
|
3965
4063
|
* @throws OciError when an error occurs
|
|
3966
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4064
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListWafRequests.ts.html |here} to see how to use ListWafRequests API.
|
|
3967
4065
|
*/
|
|
3968
4066
|
listWafRequests(listWafRequestsRequest) {
|
|
3969
4067
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3970
4068
|
if (this.logger)
|
|
3971
4069
|
this.logger.debug("Calling operation WaasClient#listWafRequests.");
|
|
4070
|
+
const operationName = "listWafRequests";
|
|
4071
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WafRequest/ListWafRequests";
|
|
3972
4072
|
const pathParams = {
|
|
3973
4073
|
"{waasPolicyId}": listWafRequestsRequest.waasPolicyId
|
|
3974
4074
|
};
|
|
@@ -3996,7 +4096,7 @@ class WaasClient {
|
|
|
3996
4096
|
queryParams: queryParams
|
|
3997
4097
|
});
|
|
3998
4098
|
try {
|
|
3999
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4099
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4000
4100
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4001
4101
|
responseObject: {},
|
|
4002
4102
|
body: yield response.json(),
|
|
@@ -4071,12 +4171,14 @@ class WaasClient {
|
|
|
4071
4171
|
* @param ListWafTrafficRequest
|
|
4072
4172
|
* @return ListWafTrafficResponse
|
|
4073
4173
|
* @throws OciError when an error occurs
|
|
4074
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4174
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListWafTraffic.ts.html |here} to see how to use ListWafTraffic API.
|
|
4075
4175
|
*/
|
|
4076
4176
|
listWafTraffic(listWafTrafficRequest) {
|
|
4077
4177
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4078
4178
|
if (this.logger)
|
|
4079
4179
|
this.logger.debug("Calling operation WaasClient#listWafTraffic.");
|
|
4180
|
+
const operationName = "listWafTraffic";
|
|
4181
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WafTrafficDatum/ListWafTraffic";
|
|
4080
4182
|
const pathParams = {
|
|
4081
4183
|
"{waasPolicyId}": listWafTrafficRequest.waasPolicyId
|
|
4082
4184
|
};
|
|
@@ -4104,7 +4206,7 @@ class WaasClient {
|
|
|
4104
4206
|
queryParams: queryParams
|
|
4105
4207
|
});
|
|
4106
4208
|
try {
|
|
4107
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4209
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4108
4210
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4109
4211
|
responseObject: {},
|
|
4110
4212
|
body: yield response.json(),
|
|
@@ -4177,12 +4279,14 @@ class WaasClient {
|
|
|
4177
4279
|
* @param ListWhitelistsRequest
|
|
4178
4280
|
* @return ListWhitelistsResponse
|
|
4179
4281
|
* @throws OciError when an error occurs
|
|
4180
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4282
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListWhitelists.ts.html |here} to see how to use ListWhitelists API.
|
|
4181
4283
|
*/
|
|
4182
4284
|
listWhitelists(listWhitelistsRequest) {
|
|
4183
4285
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4184
4286
|
if (this.logger)
|
|
4185
4287
|
this.logger.debug("Calling operation WaasClient#listWhitelists.");
|
|
4288
|
+
const operationName = "listWhitelists";
|
|
4289
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Whitelist/ListWhitelists";
|
|
4186
4290
|
const pathParams = {
|
|
4187
4291
|
"{waasPolicyId}": listWhitelistsRequest.waasPolicyId
|
|
4188
4292
|
};
|
|
@@ -4208,7 +4312,7 @@ class WaasClient {
|
|
|
4208
4312
|
queryParams: queryParams
|
|
4209
4313
|
});
|
|
4210
4314
|
try {
|
|
4211
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4315
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4212
4316
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4213
4317
|
responseObject: {},
|
|
4214
4318
|
body: yield response.json(),
|
|
@@ -4286,12 +4390,14 @@ class WaasClient {
|
|
|
4286
4390
|
* @param ListWorkRequestsRequest
|
|
4287
4391
|
* @return ListWorkRequestsResponse
|
|
4288
4392
|
* @throws OciError when an error occurs
|
|
4289
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4393
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
4290
4394
|
*/
|
|
4291
4395
|
listWorkRequests(listWorkRequestsRequest) {
|
|
4292
4396
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4293
4397
|
if (this.logger)
|
|
4294
4398
|
this.logger.debug("Calling operation WaasClient#listWorkRequests.");
|
|
4399
|
+
const operationName = "listWorkRequests";
|
|
4400
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WorkRequestSummary/ListWorkRequests";
|
|
4295
4401
|
const pathParams = {};
|
|
4296
4402
|
const queryParams = {
|
|
4297
4403
|
"waasPolicyId": listWorkRequestsRequest.waasPolicyId,
|
|
@@ -4319,7 +4425,7 @@ class WaasClient {
|
|
|
4319
4425
|
queryParams: queryParams
|
|
4320
4426
|
});
|
|
4321
4427
|
try {
|
|
4322
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4428
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4323
4429
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4324
4430
|
responseObject: {},
|
|
4325
4431
|
body: yield response.json(),
|
|
@@ -4393,12 +4499,14 @@ class WaasClient {
|
|
|
4393
4499
|
* @param PurgeCacheRequest
|
|
4394
4500
|
* @return PurgeCacheResponse
|
|
4395
4501
|
* @throws OciError when an error occurs
|
|
4396
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4502
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/PurgeCache.ts.html |here} to see how to use PurgeCache API.
|
|
4397
4503
|
*/
|
|
4398
4504
|
purgeCache(purgeCacheRequest) {
|
|
4399
4505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4400
4506
|
if (this.logger)
|
|
4401
4507
|
this.logger.debug("Calling operation WaasClient#purgeCache.");
|
|
4508
|
+
const operationName = "purgeCache";
|
|
4509
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/PurgeCache/PurgeCache";
|
|
4402
4510
|
const pathParams = {
|
|
4403
4511
|
"{waasPolicyId}": purgeCacheRequest.waasPolicyId
|
|
4404
4512
|
};
|
|
@@ -4423,7 +4531,7 @@ class WaasClient {
|
|
|
4423
4531
|
queryParams: queryParams
|
|
4424
4532
|
});
|
|
4425
4533
|
try {
|
|
4426
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4534
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4427
4535
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4428
4536
|
responseObject: {},
|
|
4429
4537
|
responseHeaders: [
|
|
@@ -4460,12 +4568,14 @@ class WaasClient {
|
|
|
4460
4568
|
* @param UpdateAccessRulesRequest
|
|
4461
4569
|
* @return UpdateAccessRulesResponse
|
|
4462
4570
|
* @throws OciError when an error occurs
|
|
4463
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4571
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateAccessRules.ts.html |here} to see how to use UpdateAccessRules API.
|
|
4464
4572
|
*/
|
|
4465
4573
|
updateAccessRules(updateAccessRulesRequest) {
|
|
4466
4574
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4467
4575
|
if (this.logger)
|
|
4468
4576
|
this.logger.debug("Calling operation WaasClient#updateAccessRules.");
|
|
4577
|
+
const operationName = "updateAccessRules";
|
|
4578
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AccessRule/UpdateAccessRules";
|
|
4469
4579
|
const pathParams = {
|
|
4470
4580
|
"{waasPolicyId}": updateAccessRulesRequest.waasPolicyId
|
|
4471
4581
|
};
|
|
@@ -4491,7 +4601,7 @@ class WaasClient {
|
|
|
4491
4601
|
queryParams: queryParams
|
|
4492
4602
|
});
|
|
4493
4603
|
try {
|
|
4494
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4604
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4495
4605
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4496
4606
|
responseObject: {},
|
|
4497
4607
|
responseHeaders: [
|
|
@@ -4520,12 +4630,14 @@ class WaasClient {
|
|
|
4520
4630
|
* @param UpdateAddressListRequest
|
|
4521
4631
|
* @return UpdateAddressListResponse
|
|
4522
4632
|
* @throws OciError when an error occurs
|
|
4523
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4633
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateAddressList.ts.html |here} to see how to use UpdateAddressList API.
|
|
4524
4634
|
*/
|
|
4525
4635
|
updateAddressList(updateAddressListRequest) {
|
|
4526
4636
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4527
4637
|
if (this.logger)
|
|
4528
4638
|
this.logger.debug("Calling operation WaasClient#updateAddressList.");
|
|
4639
|
+
const operationName = "updateAddressList";
|
|
4640
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressList/UpdateAddressList";
|
|
4529
4641
|
const pathParams = {
|
|
4530
4642
|
"{addressListId}": updateAddressListRequest.addressListId
|
|
4531
4643
|
};
|
|
@@ -4550,7 +4662,7 @@ class WaasClient {
|
|
|
4550
4662
|
queryParams: queryParams
|
|
4551
4663
|
});
|
|
4552
4664
|
try {
|
|
4553
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4665
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4554
4666
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4555
4667
|
responseObject: {},
|
|
4556
4668
|
body: yield response.json(),
|
|
@@ -4589,12 +4701,14 @@ class WaasClient {
|
|
|
4589
4701
|
* @param UpdateCachingRulesRequest
|
|
4590
4702
|
* @return UpdateCachingRulesResponse
|
|
4591
4703
|
* @throws OciError when an error occurs
|
|
4592
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4704
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateCachingRules.ts.html |here} to see how to use UpdateCachingRules API.
|
|
4593
4705
|
*/
|
|
4594
4706
|
updateCachingRules(updateCachingRulesRequest) {
|
|
4595
4707
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4596
4708
|
if (this.logger)
|
|
4597
4709
|
this.logger.debug("Calling operation WaasClient#updateCachingRules.");
|
|
4710
|
+
const operationName = "updateCachingRules";
|
|
4711
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CachingRule/UpdateCachingRules";
|
|
4598
4712
|
const pathParams = {
|
|
4599
4713
|
"{waasPolicyId}": updateCachingRulesRequest.waasPolicyId
|
|
4600
4714
|
};
|
|
@@ -4620,7 +4734,7 @@ class WaasClient {
|
|
|
4620
4734
|
queryParams: queryParams
|
|
4621
4735
|
});
|
|
4622
4736
|
try {
|
|
4623
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4737
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4624
4738
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4625
4739
|
responseObject: {},
|
|
4626
4740
|
responseHeaders: [
|
|
@@ -4657,12 +4771,14 @@ class WaasClient {
|
|
|
4657
4771
|
* @param UpdateCaptchasRequest
|
|
4658
4772
|
* @return UpdateCaptchasResponse
|
|
4659
4773
|
* @throws OciError when an error occurs
|
|
4660
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4774
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateCaptchas.ts.html |here} to see how to use UpdateCaptchas API.
|
|
4661
4775
|
*/
|
|
4662
4776
|
updateCaptchas(updateCaptchasRequest) {
|
|
4663
4777
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4664
4778
|
if (this.logger)
|
|
4665
4779
|
this.logger.debug("Calling operation WaasClient#updateCaptchas.");
|
|
4780
|
+
const operationName = "updateCaptchas";
|
|
4781
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Captcha/UpdateCaptchas";
|
|
4666
4782
|
const pathParams = {
|
|
4667
4783
|
"{waasPolicyId}": updateCaptchasRequest.waasPolicyId
|
|
4668
4784
|
};
|
|
@@ -4688,7 +4804,7 @@ class WaasClient {
|
|
|
4688
4804
|
queryParams: queryParams
|
|
4689
4805
|
});
|
|
4690
4806
|
try {
|
|
4691
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4807
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4692
4808
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4693
4809
|
responseObject: {},
|
|
4694
4810
|
responseHeaders: [
|
|
@@ -4717,12 +4833,14 @@ class WaasClient {
|
|
|
4717
4833
|
* @param UpdateCertificateRequest
|
|
4718
4834
|
* @return UpdateCertificateResponse
|
|
4719
4835
|
* @throws OciError when an error occurs
|
|
4720
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4836
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateCertificate.ts.html |here} to see how to use UpdateCertificate API.
|
|
4721
4837
|
*/
|
|
4722
4838
|
updateCertificate(updateCertificateRequest) {
|
|
4723
4839
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4724
4840
|
if (this.logger)
|
|
4725
4841
|
this.logger.debug("Calling operation WaasClient#updateCertificate.");
|
|
4842
|
+
const operationName = "updateCertificate";
|
|
4843
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Certificate/UpdateCertificate";
|
|
4726
4844
|
const pathParams = {
|
|
4727
4845
|
"{certificateId}": updateCertificateRequest.certificateId
|
|
4728
4846
|
};
|
|
@@ -4747,7 +4865,7 @@ class WaasClient {
|
|
|
4747
4865
|
queryParams: queryParams
|
|
4748
4866
|
});
|
|
4749
4867
|
try {
|
|
4750
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4868
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4751
4869
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4752
4870
|
responseObject: {},
|
|
4753
4871
|
body: yield response.json(),
|
|
@@ -4780,12 +4898,14 @@ class WaasClient {
|
|
|
4780
4898
|
* @param UpdateCustomProtectionRuleRequest
|
|
4781
4899
|
* @return UpdateCustomProtectionRuleResponse
|
|
4782
4900
|
* @throws OciError when an error occurs
|
|
4783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4901
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateCustomProtectionRule.ts.html |here} to see how to use UpdateCustomProtectionRule API.
|
|
4784
4902
|
*/
|
|
4785
4903
|
updateCustomProtectionRule(updateCustomProtectionRuleRequest) {
|
|
4786
4904
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4787
4905
|
if (this.logger)
|
|
4788
4906
|
this.logger.debug("Calling operation WaasClient#updateCustomProtectionRule.");
|
|
4907
|
+
const operationName = "updateCustomProtectionRule";
|
|
4908
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/UpdateCustomProtectionRule";
|
|
4789
4909
|
const pathParams = {
|
|
4790
4910
|
"{customProtectionRuleId}": updateCustomProtectionRuleRequest.customProtectionRuleId
|
|
4791
4911
|
};
|
|
@@ -4811,7 +4931,7 @@ class WaasClient {
|
|
|
4811
4931
|
queryParams: queryParams
|
|
4812
4932
|
});
|
|
4813
4933
|
try {
|
|
4814
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4934
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4815
4935
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4816
4936
|
responseObject: {},
|
|
4817
4937
|
body: yield response.json(),
|
|
@@ -4848,12 +4968,14 @@ class WaasClient {
|
|
|
4848
4968
|
* @param UpdateDeviceFingerprintChallengeRequest
|
|
4849
4969
|
* @return UpdateDeviceFingerprintChallengeResponse
|
|
4850
4970
|
* @throws OciError when an error occurs
|
|
4851
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4971
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateDeviceFingerprintChallenge.ts.html |here} to see how to use UpdateDeviceFingerprintChallenge API.
|
|
4852
4972
|
*/
|
|
4853
4973
|
updateDeviceFingerprintChallenge(updateDeviceFingerprintChallengeRequest) {
|
|
4854
4974
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4855
4975
|
if (this.logger)
|
|
4856
4976
|
this.logger.debug("Calling operation WaasClient#updateDeviceFingerprintChallenge.");
|
|
4977
|
+
const operationName = "updateDeviceFingerprintChallenge";
|
|
4978
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/DeviceFingerprintChallenge/UpdateDeviceFingerprintChallenge";
|
|
4857
4979
|
const pathParams = {
|
|
4858
4980
|
"{waasPolicyId}": updateDeviceFingerprintChallengeRequest.waasPolicyId
|
|
4859
4981
|
};
|
|
@@ -4879,7 +5001,7 @@ class WaasClient {
|
|
|
4879
5001
|
queryParams: queryParams
|
|
4880
5002
|
});
|
|
4881
5003
|
try {
|
|
4882
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5004
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4883
5005
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4884
5006
|
responseObject: {},
|
|
4885
5007
|
responseHeaders: [
|
|
@@ -4910,12 +5032,14 @@ class WaasClient {
|
|
|
4910
5032
|
* @param UpdateGoodBotsRequest
|
|
4911
5033
|
* @return UpdateGoodBotsResponse
|
|
4912
5034
|
* @throws OciError when an error occurs
|
|
4913
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5035
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateGoodBots.ts.html |here} to see how to use UpdateGoodBots API.
|
|
4914
5036
|
*/
|
|
4915
5037
|
updateGoodBots(updateGoodBotsRequest) {
|
|
4916
5038
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4917
5039
|
if (this.logger)
|
|
4918
5040
|
this.logger.debug("Calling operation WaasClient#updateGoodBots.");
|
|
5041
|
+
const operationName = "updateGoodBots";
|
|
5042
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/GoodBot/UpdateGoodBots";
|
|
4919
5043
|
const pathParams = {
|
|
4920
5044
|
"{waasPolicyId}": updateGoodBotsRequest.waasPolicyId
|
|
4921
5045
|
};
|
|
@@ -4941,7 +5065,7 @@ class WaasClient {
|
|
|
4941
5065
|
queryParams: queryParams
|
|
4942
5066
|
});
|
|
4943
5067
|
try {
|
|
4944
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5068
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4945
5069
|
const sdkResponse = oci_common_2.composeResponse({
|
|
4946
5070
|
responseObject: {},
|
|
4947
5071
|
responseHeaders: [
|
|
@@ -4970,12 +5094,14 @@ class WaasClient {
|
|
|
4970
5094
|
* @param UpdateHumanInteractionChallengeRequest
|
|
4971
5095
|
* @return UpdateHumanInteractionChallengeResponse
|
|
4972
5096
|
* @throws OciError when an error occurs
|
|
4973
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5097
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateHumanInteractionChallenge.ts.html |here} to see how to use UpdateHumanInteractionChallenge API.
|
|
4974
5098
|
*/
|
|
4975
5099
|
updateHumanInteractionChallenge(updateHumanInteractionChallengeRequest) {
|
|
4976
5100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4977
5101
|
if (this.logger)
|
|
4978
5102
|
this.logger.debug("Calling operation WaasClient#updateHumanInteractionChallenge.");
|
|
5103
|
+
const operationName = "updateHumanInteractionChallenge";
|
|
5104
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HumanInteractionChallenge/UpdateHumanInteractionChallenge";
|
|
4979
5105
|
const pathParams = {
|
|
4980
5106
|
"{waasPolicyId}": updateHumanInteractionChallengeRequest.waasPolicyId
|
|
4981
5107
|
};
|
|
@@ -5001,7 +5127,7 @@ class WaasClient {
|
|
|
5001
5127
|
queryParams: queryParams
|
|
5002
5128
|
});
|
|
5003
5129
|
try {
|
|
5004
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5130
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5005
5131
|
const sdkResponse = oci_common_2.composeResponse({
|
|
5006
5132
|
responseObject: {},
|
|
5007
5133
|
responseHeaders: [
|
|
@@ -5030,12 +5156,14 @@ class WaasClient {
|
|
|
5030
5156
|
* @param UpdateJsChallengeRequest
|
|
5031
5157
|
* @return UpdateJsChallengeResponse
|
|
5032
5158
|
* @throws OciError when an error occurs
|
|
5033
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateJsChallenge.ts.html |here} to see how to use UpdateJsChallenge API.
|
|
5034
5160
|
*/
|
|
5035
5161
|
updateJsChallenge(updateJsChallengeRequest) {
|
|
5036
5162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5037
5163
|
if (this.logger)
|
|
5038
5164
|
this.logger.debug("Calling operation WaasClient#updateJsChallenge.");
|
|
5165
|
+
const operationName = "updateJsChallenge";
|
|
5166
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/JsChallenge/UpdateJsChallenge";
|
|
5039
5167
|
const pathParams = {
|
|
5040
5168
|
"{waasPolicyId}": updateJsChallengeRequest.waasPolicyId
|
|
5041
5169
|
};
|
|
@@ -5061,7 +5189,7 @@ class WaasClient {
|
|
|
5061
5189
|
queryParams: queryParams
|
|
5062
5190
|
});
|
|
5063
5191
|
try {
|
|
5064
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5192
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5065
5193
|
const sdkResponse = oci_common_2.composeResponse({
|
|
5066
5194
|
responseObject: {},
|
|
5067
5195
|
responseHeaders: [
|
|
@@ -5090,12 +5218,14 @@ class WaasClient {
|
|
|
5090
5218
|
* @param UpdatePolicyConfigRequest
|
|
5091
5219
|
* @return UpdatePolicyConfigResponse
|
|
5092
5220
|
* @throws OciError when an error occurs
|
|
5093
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5221
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdatePolicyConfig.ts.html |here} to see how to use UpdatePolicyConfig API.
|
|
5094
5222
|
*/
|
|
5095
5223
|
updatePolicyConfig(updatePolicyConfigRequest) {
|
|
5096
5224
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5097
5225
|
if (this.logger)
|
|
5098
5226
|
this.logger.debug("Calling operation WaasClient#updatePolicyConfig.");
|
|
5227
|
+
const operationName = "updatePolicyConfig";
|
|
5228
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/PolicyConfig/UpdatePolicyConfig";
|
|
5099
5229
|
const pathParams = {
|
|
5100
5230
|
"{waasPolicyId}": updatePolicyConfigRequest.waasPolicyId
|
|
5101
5231
|
};
|
|
@@ -5121,7 +5251,7 @@ class WaasClient {
|
|
|
5121
5251
|
queryParams: queryParams
|
|
5122
5252
|
});
|
|
5123
5253
|
try {
|
|
5124
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5254
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5125
5255
|
const sdkResponse = oci_common_2.composeResponse({
|
|
5126
5256
|
responseObject: {},
|
|
5127
5257
|
responseHeaders: [
|
|
@@ -5152,12 +5282,14 @@ class WaasClient {
|
|
|
5152
5282
|
* @param UpdateProtectionRulesRequest
|
|
5153
5283
|
* @return UpdateProtectionRulesResponse
|
|
5154
5284
|
* @throws OciError when an error occurs
|
|
5155
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5285
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateProtectionRules.ts.html |here} to see how to use UpdateProtectionRules API.
|
|
5156
5286
|
*/
|
|
5157
5287
|
updateProtectionRules(updateProtectionRulesRequest) {
|
|
5158
5288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5159
5289
|
if (this.logger)
|
|
5160
5290
|
this.logger.debug("Calling operation WaasClient#updateProtectionRules.");
|
|
5291
|
+
const operationName = "updateProtectionRules";
|
|
5292
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ProtectionRule/UpdateProtectionRules";
|
|
5161
5293
|
const pathParams = {
|
|
5162
5294
|
"{waasPolicyId}": updateProtectionRulesRequest.waasPolicyId
|
|
5163
5295
|
};
|
|
@@ -5182,7 +5314,7 @@ class WaasClient {
|
|
|
5182
5314
|
queryParams: queryParams
|
|
5183
5315
|
});
|
|
5184
5316
|
try {
|
|
5185
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5317
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5186
5318
|
const sdkResponse = oci_common_2.composeResponse({
|
|
5187
5319
|
responseObject: {},
|
|
5188
5320
|
responseHeaders: [
|
|
@@ -5211,12 +5343,14 @@ class WaasClient {
|
|
|
5211
5343
|
* @param UpdateProtectionSettingsRequest
|
|
5212
5344
|
* @return UpdateProtectionSettingsResponse
|
|
5213
5345
|
* @throws OciError when an error occurs
|
|
5214
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5346
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateProtectionSettings.ts.html |here} to see how to use UpdateProtectionSettings API.
|
|
5215
5347
|
*/
|
|
5216
5348
|
updateProtectionSettings(updateProtectionSettingsRequest) {
|
|
5217
5349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5218
5350
|
if (this.logger)
|
|
5219
5351
|
this.logger.debug("Calling operation WaasClient#updateProtectionSettings.");
|
|
5352
|
+
const operationName = "updateProtectionSettings";
|
|
5353
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ProtectionSettings/UpdateProtectionSettings";
|
|
5220
5354
|
const pathParams = {
|
|
5221
5355
|
"{waasPolicyId}": updateProtectionSettingsRequest.waasPolicyId
|
|
5222
5356
|
};
|
|
@@ -5242,7 +5376,7 @@ class WaasClient {
|
|
|
5242
5376
|
queryParams: queryParams
|
|
5243
5377
|
});
|
|
5244
5378
|
try {
|
|
5245
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5379
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5246
5380
|
const sdkResponse = oci_common_2.composeResponse({
|
|
5247
5381
|
responseObject: {},
|
|
5248
5382
|
responseHeaders: [
|
|
@@ -5271,12 +5405,14 @@ class WaasClient {
|
|
|
5271
5405
|
* @param UpdateThreatFeedsRequest
|
|
5272
5406
|
* @return UpdateThreatFeedsResponse
|
|
5273
5407
|
* @throws OciError when an error occurs
|
|
5274
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5408
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateThreatFeeds.ts.html |here} to see how to use UpdateThreatFeeds API.
|
|
5275
5409
|
*/
|
|
5276
5410
|
updateThreatFeeds(updateThreatFeedsRequest) {
|
|
5277
5411
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5278
5412
|
if (this.logger)
|
|
5279
5413
|
this.logger.debug("Calling operation WaasClient#updateThreatFeeds.");
|
|
5414
|
+
const operationName = "updateThreatFeeds";
|
|
5415
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ThreatFeed/UpdateThreatFeeds";
|
|
5280
5416
|
const pathParams = {
|
|
5281
5417
|
"{waasPolicyId}": updateThreatFeedsRequest.waasPolicyId
|
|
5282
5418
|
};
|
|
@@ -5301,7 +5437,7 @@ class WaasClient {
|
|
|
5301
5437
|
queryParams: queryParams
|
|
5302
5438
|
});
|
|
5303
5439
|
try {
|
|
5304
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5440
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5305
5441
|
const sdkResponse = oci_common_2.composeResponse({
|
|
5306
5442
|
responseObject: {},
|
|
5307
5443
|
responseHeaders: [
|
|
@@ -5332,12 +5468,14 @@ class WaasClient {
|
|
|
5332
5468
|
* @param UpdateWaasPolicyRequest
|
|
5333
5469
|
* @return UpdateWaasPolicyResponse
|
|
5334
5470
|
* @throws OciError when an error occurs
|
|
5335
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateWaasPolicy.ts.html |here} to see how to use UpdateWaasPolicy API.
|
|
5336
5472
|
*/
|
|
5337
5473
|
updateWaasPolicy(updateWaasPolicyRequest) {
|
|
5338
5474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5339
5475
|
if (this.logger)
|
|
5340
5476
|
this.logger.debug("Calling operation WaasClient#updateWaasPolicy.");
|
|
5477
|
+
const operationName = "updateWaasPolicy";
|
|
5478
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WaasPolicy/UpdateWaasPolicy";
|
|
5341
5479
|
const pathParams = {
|
|
5342
5480
|
"{waasPolicyId}": updateWaasPolicyRequest.waasPolicyId
|
|
5343
5481
|
};
|
|
@@ -5363,7 +5501,7 @@ class WaasClient {
|
|
|
5363
5501
|
queryParams: queryParams
|
|
5364
5502
|
});
|
|
5365
5503
|
try {
|
|
5366
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5504
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5367
5505
|
const sdkResponse = oci_common_2.composeResponse({
|
|
5368
5506
|
responseObject: {},
|
|
5369
5507
|
responseHeaders: [
|
|
@@ -5392,12 +5530,14 @@ class WaasClient {
|
|
|
5392
5530
|
* @param UpdateWaasPolicyCustomProtectionRulesRequest
|
|
5393
5531
|
* @return UpdateWaasPolicyCustomProtectionRulesResponse
|
|
5394
5532
|
* @throws OciError when an error occurs
|
|
5395
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5533
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateWaasPolicyCustomProtectionRules.ts.html |here} to see how to use UpdateWaasPolicyCustomProtectionRules API.
|
|
5396
5534
|
*/
|
|
5397
5535
|
updateWaasPolicyCustomProtectionRules(updateWaasPolicyCustomProtectionRulesRequest) {
|
|
5398
5536
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5399
5537
|
if (this.logger)
|
|
5400
5538
|
this.logger.debug("Calling operation WaasClient#updateWaasPolicyCustomProtectionRules.");
|
|
5539
|
+
const operationName = "updateWaasPolicyCustomProtectionRules";
|
|
5540
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/UpdateWaasPolicyCustomProtectionRules";
|
|
5401
5541
|
const pathParams = {
|
|
5402
5542
|
"{waasPolicyId}": updateWaasPolicyCustomProtectionRulesRequest.waasPolicyId
|
|
5403
5543
|
};
|
|
@@ -5423,7 +5563,7 @@ class WaasClient {
|
|
|
5423
5563
|
queryParams: queryParams
|
|
5424
5564
|
});
|
|
5425
5565
|
try {
|
|
5426
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5566
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5427
5567
|
const sdkResponse = oci_common_2.composeResponse({
|
|
5428
5568
|
responseObject: {},
|
|
5429
5569
|
responseHeaders: [
|
|
@@ -5452,12 +5592,14 @@ class WaasClient {
|
|
|
5452
5592
|
* @param UpdateWafAddressRateLimitingRequest
|
|
5453
5593
|
* @return UpdateWafAddressRateLimitingResponse
|
|
5454
5594
|
* @throws OciError when an error occurs
|
|
5455
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5595
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateWafAddressRateLimiting.ts.html |here} to see how to use UpdateWafAddressRateLimiting API.
|
|
5456
5596
|
*/
|
|
5457
5597
|
updateWafAddressRateLimiting(updateWafAddressRateLimitingRequest) {
|
|
5458
5598
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5459
5599
|
if (this.logger)
|
|
5460
5600
|
this.logger.debug("Calling operation WaasClient#updateWafAddressRateLimiting.");
|
|
5601
|
+
const operationName = "updateWafAddressRateLimiting";
|
|
5602
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressRateLimiting/UpdateWafAddressRateLimiting";
|
|
5461
5603
|
const pathParams = {
|
|
5462
5604
|
"{waasPolicyId}": updateWafAddressRateLimitingRequest.waasPolicyId
|
|
5463
5605
|
};
|
|
@@ -5483,7 +5625,7 @@ class WaasClient {
|
|
|
5483
5625
|
queryParams: queryParams
|
|
5484
5626
|
});
|
|
5485
5627
|
try {
|
|
5486
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5628
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5487
5629
|
const sdkResponse = oci_common_2.composeResponse({
|
|
5488
5630
|
responseObject: {},
|
|
5489
5631
|
responseHeaders: [
|
|
@@ -5520,12 +5662,14 @@ class WaasClient {
|
|
|
5520
5662
|
* @param UpdateWafConfigRequest
|
|
5521
5663
|
* @return UpdateWafConfigResponse
|
|
5522
5664
|
* @throws OciError when an error occurs
|
|
5523
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5665
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateWafConfig.ts.html |here} to see how to use UpdateWafConfig API.
|
|
5524
5666
|
*/
|
|
5525
5667
|
updateWafConfig(updateWafConfigRequest) {
|
|
5526
5668
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5527
5669
|
if (this.logger)
|
|
5528
5670
|
this.logger.debug("Calling operation WaasClient#updateWafConfig.");
|
|
5671
|
+
const operationName = "updateWafConfig";
|
|
5672
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WafConfig/UpdateWafConfig";
|
|
5529
5673
|
const pathParams = {
|
|
5530
5674
|
"{waasPolicyId}": updateWafConfigRequest.waasPolicyId
|
|
5531
5675
|
};
|
|
@@ -5551,7 +5695,7 @@ class WaasClient {
|
|
|
5551
5695
|
queryParams: queryParams
|
|
5552
5696
|
});
|
|
5553
5697
|
try {
|
|
5554
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5698
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5555
5699
|
const sdkResponse = oci_common_2.composeResponse({
|
|
5556
5700
|
responseObject: {},
|
|
5557
5701
|
responseHeaders: [
|
|
@@ -5588,12 +5732,14 @@ class WaasClient {
|
|
|
5588
5732
|
* @param UpdateWhitelistsRequest
|
|
5589
5733
|
* @return UpdateWhitelistsResponse
|
|
5590
5734
|
* @throws OciError when an error occurs
|
|
5591
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5735
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/waas/UpdateWhitelists.ts.html |here} to see how to use UpdateWhitelists API.
|
|
5592
5736
|
*/
|
|
5593
5737
|
updateWhitelists(updateWhitelistsRequest) {
|
|
5594
5738
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5595
5739
|
if (this.logger)
|
|
5596
5740
|
this.logger.debug("Calling operation WaasClient#updateWhitelists.");
|
|
5741
|
+
const operationName = "updateWhitelists";
|
|
5742
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Whitelist/UpdateWhitelists";
|
|
5597
5743
|
const pathParams = {
|
|
5598
5744
|
"{waasPolicyId}": updateWhitelistsRequest.waasPolicyId
|
|
5599
5745
|
};
|
|
@@ -5619,7 +5765,7 @@ class WaasClient {
|
|
|
5619
5765
|
queryParams: queryParams
|
|
5620
5766
|
});
|
|
5621
5767
|
try {
|
|
5622
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5768
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5623
5769
|
const sdkResponse = oci_common_2.composeResponse({
|
|
5624
5770
|
responseObject: {},
|
|
5625
5771
|
responseHeaders: [
|