oci-waas 2.79.1 → 2.81.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 +76 -74
- package/lib/client.js +376 -150
- package/lib/client.js.map +1 -1
- package/lib/model/header-manipulation-action.js +4 -2
- package/lib/model/header-manipulation-action.js.map +1 -1
- package/lib/model/load-balancing-method.js +4 -2
- package/lib/model/load-balancing-method.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
|
@@ -60,7 +60,7 @@ var RedirectApiKeys;
|
|
|
60
60
|
*/
|
|
61
61
|
class RedirectClient {
|
|
62
62
|
constructor(params, clientConfiguration) {
|
|
63
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
63
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
64
64
|
this["_endpoint"] = "";
|
|
65
65
|
this["_defaultHeaders"] = {};
|
|
66
66
|
this._circuitBreaker = null;
|
|
@@ -119,7 +119,11 @@ class RedirectClient {
|
|
|
119
119
|
set endpoint(endpoint) {
|
|
120
120
|
this._endpoint = endpoint;
|
|
121
121
|
this._endpoint = this._endpoint + "/20181116";
|
|
122
|
-
|
|
122
|
+
if (this.logger)
|
|
123
|
+
this.logger.info(`RedirectClient endpoint set to ${this._endpoint}`);
|
|
124
|
+
}
|
|
125
|
+
get logger() {
|
|
126
|
+
return common.LOG.logger;
|
|
123
127
|
}
|
|
124
128
|
/**
|
|
125
129
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -128,7 +132,8 @@ class RedirectClient {
|
|
|
128
132
|
*/
|
|
129
133
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
130
134
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
131
|
-
|
|
135
|
+
if (this.logger)
|
|
136
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
132
137
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
133
138
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(RedirectClient.serviceEndpointTemplate, this._region, RedirectClient.endpointServiceName);
|
|
134
139
|
}
|
|
@@ -194,11 +199,12 @@ class RedirectClient {
|
|
|
194
199
|
* @param ChangeHttpRedirectCompartmentRequest
|
|
195
200
|
* @return ChangeHttpRedirectCompartmentResponse
|
|
196
201
|
* @throws OciError when an error occurs
|
|
197
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
202
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ChangeHttpRedirectCompartment.ts.html |here} to see how to use ChangeHttpRedirectCompartment API.
|
|
198
203
|
*/
|
|
199
204
|
changeHttpRedirectCompartment(changeHttpRedirectCompartmentRequest) {
|
|
200
205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
201
|
-
|
|
206
|
+
if (this.logger)
|
|
207
|
+
this.logger.debug("Calling operation RedirectClient#changeHttpRedirectCompartment.");
|
|
202
208
|
const operationName = "changeHttpRedirectCompartment";
|
|
203
209
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HttpRedirect/ChangeHttpRedirectCompartment";
|
|
204
210
|
const pathParams = {
|
|
@@ -213,6 +219,8 @@ class RedirectClient {
|
|
|
213
219
|
};
|
|
214
220
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
215
221
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeHttpRedirectCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
222
|
+
if (this.logger)
|
|
223
|
+
retrier.logger = this.logger;
|
|
216
224
|
const request = yield oci_common_2.composeRequest({
|
|
217
225
|
baseEndpoint: this._endpoint,
|
|
218
226
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -248,11 +256,12 @@ class RedirectClient {
|
|
|
248
256
|
* @param CreateHttpRedirectRequest
|
|
249
257
|
* @return CreateHttpRedirectResponse
|
|
250
258
|
* @throws OciError when an error occurs
|
|
251
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
259
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/CreateHttpRedirect.ts.html |here} to see how to use CreateHttpRedirect API.
|
|
252
260
|
*/
|
|
253
261
|
createHttpRedirect(createHttpRedirectRequest) {
|
|
254
262
|
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
-
|
|
263
|
+
if (this.logger)
|
|
264
|
+
this.logger.debug("Calling operation RedirectClient#createHttpRedirect.");
|
|
256
265
|
const operationName = "createHttpRedirect";
|
|
257
266
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HttpRedirect/CreateHttpRedirect";
|
|
258
267
|
const pathParams = {};
|
|
@@ -264,6 +273,8 @@ class RedirectClient {
|
|
|
264
273
|
};
|
|
265
274
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
266
275
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createHttpRedirectRequest.retryConfiguration, specRetryConfiguration);
|
|
276
|
+
if (this.logger)
|
|
277
|
+
retrier.logger = this.logger;
|
|
267
278
|
const request = yield oci_common_2.composeRequest({
|
|
268
279
|
baseEndpoint: this._endpoint,
|
|
269
280
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -304,11 +315,12 @@ class RedirectClient {
|
|
|
304
315
|
* @param DeleteHttpRedirectRequest
|
|
305
316
|
* @return DeleteHttpRedirectResponse
|
|
306
317
|
* @throws OciError when an error occurs
|
|
307
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
318
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/DeleteHttpRedirect.ts.html |here} to see how to use DeleteHttpRedirect API.
|
|
308
319
|
*/
|
|
309
320
|
deleteHttpRedirect(deleteHttpRedirectRequest) {
|
|
310
321
|
return __awaiter(this, void 0, void 0, function* () {
|
|
311
|
-
|
|
322
|
+
if (this.logger)
|
|
323
|
+
this.logger.debug("Calling operation RedirectClient#deleteHttpRedirect.");
|
|
312
324
|
const operationName = "deleteHttpRedirect";
|
|
313
325
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HttpRedirect/DeleteHttpRedirect";
|
|
314
326
|
const pathParams = {
|
|
@@ -323,6 +335,8 @@ class RedirectClient {
|
|
|
323
335
|
};
|
|
324
336
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
325
337
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHttpRedirectRequest.retryConfiguration, specRetryConfiguration);
|
|
338
|
+
if (this.logger)
|
|
339
|
+
retrier.logger = this.logger;
|
|
326
340
|
const request = yield oci_common_2.composeRequest({
|
|
327
341
|
baseEndpoint: this._endpoint,
|
|
328
342
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -362,11 +376,12 @@ class RedirectClient {
|
|
|
362
376
|
* @param GetHttpRedirectRequest
|
|
363
377
|
* @return GetHttpRedirectResponse
|
|
364
378
|
* @throws OciError when an error occurs
|
|
365
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
379
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetHttpRedirect.ts.html |here} to see how to use GetHttpRedirect API.
|
|
366
380
|
*/
|
|
367
381
|
getHttpRedirect(getHttpRedirectRequest) {
|
|
368
382
|
return __awaiter(this, void 0, void 0, function* () {
|
|
369
|
-
|
|
383
|
+
if (this.logger)
|
|
384
|
+
this.logger.debug("Calling operation RedirectClient#getHttpRedirect.");
|
|
370
385
|
const operationName = "getHttpRedirect";
|
|
371
386
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HttpRedirect/GetHttpRedirect";
|
|
372
387
|
const pathParams = {
|
|
@@ -379,6 +394,8 @@ class RedirectClient {
|
|
|
379
394
|
};
|
|
380
395
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
381
396
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHttpRedirectRequest.retryConfiguration, specRetryConfiguration);
|
|
397
|
+
if (this.logger)
|
|
398
|
+
retrier.logger = this.logger;
|
|
382
399
|
const request = yield oci_common_2.composeRequest({
|
|
383
400
|
baseEndpoint: this._endpoint,
|
|
384
401
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -422,11 +439,12 @@ class RedirectClient {
|
|
|
422
439
|
* @param ListHttpRedirectsRequest
|
|
423
440
|
* @return ListHttpRedirectsResponse
|
|
424
441
|
* @throws OciError when an error occurs
|
|
425
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
442
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListHttpRedirects.ts.html |here} to see how to use ListHttpRedirects API.
|
|
426
443
|
*/
|
|
427
444
|
listHttpRedirects(listHttpRedirectsRequest) {
|
|
428
445
|
return __awaiter(this, void 0, void 0, function* () {
|
|
429
|
-
|
|
446
|
+
if (this.logger)
|
|
447
|
+
this.logger.debug("Calling operation RedirectClient#listHttpRedirects.");
|
|
430
448
|
const operationName = "listHttpRedirects";
|
|
431
449
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HttpRedirect/ListHttpRedirects";
|
|
432
450
|
const pathParams = {};
|
|
@@ -448,6 +466,8 @@ class RedirectClient {
|
|
|
448
466
|
};
|
|
449
467
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
450
468
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHttpRedirectsRequest.retryConfiguration, specRetryConfiguration);
|
|
469
|
+
if (this.logger)
|
|
470
|
+
retrier.logger = this.logger;
|
|
451
471
|
const request = yield oci_common_2.composeRequest({
|
|
452
472
|
baseEndpoint: this._endpoint,
|
|
453
473
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -531,11 +551,12 @@ class RedirectClient {
|
|
|
531
551
|
* @param UpdateHttpRedirectRequest
|
|
532
552
|
* @return UpdateHttpRedirectResponse
|
|
533
553
|
* @throws OciError when an error occurs
|
|
534
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
554
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateHttpRedirect.ts.html |here} to see how to use UpdateHttpRedirect API.
|
|
535
555
|
*/
|
|
536
556
|
updateHttpRedirect(updateHttpRedirectRequest) {
|
|
537
557
|
return __awaiter(this, void 0, void 0, function* () {
|
|
538
|
-
|
|
558
|
+
if (this.logger)
|
|
559
|
+
this.logger.debug("Calling operation RedirectClient#updateHttpRedirect.");
|
|
539
560
|
const operationName = "updateHttpRedirect";
|
|
540
561
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HttpRedirect/UpdateHttpRedirect";
|
|
541
562
|
const pathParams = {
|
|
@@ -550,6 +571,8 @@ class RedirectClient {
|
|
|
550
571
|
};
|
|
551
572
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
552
573
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHttpRedirectRequest.retryConfiguration, specRetryConfiguration);
|
|
574
|
+
if (this.logger)
|
|
575
|
+
retrier.logger = this.logger;
|
|
553
576
|
const request = yield oci_common_2.composeRequest({
|
|
554
577
|
baseEndpoint: this._endpoint,
|
|
555
578
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -597,7 +620,7 @@ var WaasApiKeys;
|
|
|
597
620
|
*/
|
|
598
621
|
class WaasClient {
|
|
599
622
|
constructor(params, clientConfiguration) {
|
|
600
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
623
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
601
624
|
this["_endpoint"] = "";
|
|
602
625
|
this["_defaultHeaders"] = {};
|
|
603
626
|
this._circuitBreaker = null;
|
|
@@ -656,7 +679,11 @@ class WaasClient {
|
|
|
656
679
|
set endpoint(endpoint) {
|
|
657
680
|
this._endpoint = endpoint;
|
|
658
681
|
this._endpoint = this._endpoint + "/20181116";
|
|
659
|
-
|
|
682
|
+
if (this.logger)
|
|
683
|
+
this.logger.info(`WaasClient endpoint set to ${this._endpoint}`);
|
|
684
|
+
}
|
|
685
|
+
get logger() {
|
|
686
|
+
return common.LOG.logger;
|
|
660
687
|
}
|
|
661
688
|
/**
|
|
662
689
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -665,7 +692,8 @@ class WaasClient {
|
|
|
665
692
|
*/
|
|
666
693
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
667
694
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
668
|
-
|
|
695
|
+
if (this.logger)
|
|
696
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
669
697
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
670
698
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(WaasClient.serviceEndpointTemplate, this._region, WaasClient.endpointServiceName);
|
|
671
699
|
}
|
|
@@ -733,11 +761,12 @@ class WaasClient {
|
|
|
733
761
|
* @param AcceptRecommendationsRequest
|
|
734
762
|
* @return AcceptRecommendationsResponse
|
|
735
763
|
* @throws OciError when an error occurs
|
|
736
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
764
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/AcceptRecommendations.ts.html |here} to see how to use AcceptRecommendations API.
|
|
737
765
|
*/
|
|
738
766
|
acceptRecommendations(acceptRecommendationsRequest) {
|
|
739
767
|
return __awaiter(this, void 0, void 0, function* () {
|
|
740
|
-
|
|
768
|
+
if (this.logger)
|
|
769
|
+
this.logger.debug("Calling operation WaasClient#acceptRecommendations.");
|
|
741
770
|
const operationName = "acceptRecommendations";
|
|
742
771
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Recommendation/AcceptRecommendations";
|
|
743
772
|
const pathParams = {
|
|
@@ -751,6 +780,8 @@ class WaasClient {
|
|
|
751
780
|
};
|
|
752
781
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
753
782
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, acceptRecommendationsRequest.retryConfiguration, specRetryConfiguration);
|
|
783
|
+
if (this.logger)
|
|
784
|
+
retrier.logger = this.logger;
|
|
754
785
|
const request = yield oci_common_2.composeRequest({
|
|
755
786
|
baseEndpoint: this._endpoint,
|
|
756
787
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -791,11 +822,12 @@ class WaasClient {
|
|
|
791
822
|
* @param CancelWorkRequestRequest
|
|
792
823
|
* @return CancelWorkRequestResponse
|
|
793
824
|
* @throws OciError when an error occurs
|
|
794
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
825
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
795
826
|
*/
|
|
796
827
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
797
828
|
return __awaiter(this, void 0, void 0, function* () {
|
|
798
|
-
|
|
829
|
+
if (this.logger)
|
|
830
|
+
this.logger.debug("Calling operation WaasClient#cancelWorkRequest.");
|
|
799
831
|
const operationName = "cancelWorkRequest";
|
|
800
832
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WorkRequest/CancelWorkRequest";
|
|
801
833
|
const pathParams = {
|
|
@@ -810,6 +842,8 @@ class WaasClient {
|
|
|
810
842
|
};
|
|
811
843
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
812
844
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
845
|
+
if (this.logger)
|
|
846
|
+
retrier.logger = this.logger;
|
|
813
847
|
const request = yield oci_common_2.composeRequest({
|
|
814
848
|
baseEndpoint: this._endpoint,
|
|
815
849
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -847,11 +881,12 @@ class WaasClient {
|
|
|
847
881
|
* @param ChangeAddressListCompartmentRequest
|
|
848
882
|
* @return ChangeAddressListCompartmentResponse
|
|
849
883
|
* @throws OciError when an error occurs
|
|
850
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
884
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ChangeAddressListCompartment.ts.html |here} to see how to use ChangeAddressListCompartment API.
|
|
851
885
|
*/
|
|
852
886
|
changeAddressListCompartment(changeAddressListCompartmentRequest) {
|
|
853
887
|
return __awaiter(this, void 0, void 0, function* () {
|
|
854
|
-
|
|
888
|
+
if (this.logger)
|
|
889
|
+
this.logger.debug("Calling operation WaasClient#changeAddressListCompartment.");
|
|
855
890
|
const operationName = "changeAddressListCompartment";
|
|
856
891
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressList/ChangeAddressListCompartment";
|
|
857
892
|
const pathParams = {
|
|
@@ -866,6 +901,8 @@ class WaasClient {
|
|
|
866
901
|
};
|
|
867
902
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
868
903
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeAddressListCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
904
|
+
if (this.logger)
|
|
905
|
+
retrier.logger = this.logger;
|
|
869
906
|
const request = yield oci_common_2.composeRequest({
|
|
870
907
|
baseEndpoint: this._endpoint,
|
|
871
908
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -903,11 +940,12 @@ class WaasClient {
|
|
|
903
940
|
* @param ChangeCertificateCompartmentRequest
|
|
904
941
|
* @return ChangeCertificateCompartmentResponse
|
|
905
942
|
* @throws OciError when an error occurs
|
|
906
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
943
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ChangeCertificateCompartment.ts.html |here} to see how to use ChangeCertificateCompartment API.
|
|
907
944
|
*/
|
|
908
945
|
changeCertificateCompartment(changeCertificateCompartmentRequest) {
|
|
909
946
|
return __awaiter(this, void 0, void 0, function* () {
|
|
910
|
-
|
|
947
|
+
if (this.logger)
|
|
948
|
+
this.logger.debug("Calling operation WaasClient#changeCertificateCompartment.");
|
|
911
949
|
const operationName = "changeCertificateCompartment";
|
|
912
950
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Certificate/ChangeCertificateCompartment";
|
|
913
951
|
const pathParams = {
|
|
@@ -922,6 +960,8 @@ class WaasClient {
|
|
|
922
960
|
};
|
|
923
961
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
924
962
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCertificateCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
963
|
+
if (this.logger)
|
|
964
|
+
retrier.logger = this.logger;
|
|
925
965
|
const request = yield oci_common_2.composeRequest({
|
|
926
966
|
baseEndpoint: this._endpoint,
|
|
927
967
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -957,11 +997,12 @@ class WaasClient {
|
|
|
957
997
|
* @param ChangeCustomProtectionRuleCompartmentRequest
|
|
958
998
|
* @return ChangeCustomProtectionRuleCompartmentResponse
|
|
959
999
|
* @throws OciError when an error occurs
|
|
960
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1000
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ChangeCustomProtectionRuleCompartment.ts.html |here} to see how to use ChangeCustomProtectionRuleCompartment API.
|
|
961
1001
|
*/
|
|
962
1002
|
changeCustomProtectionRuleCompartment(changeCustomProtectionRuleCompartmentRequest) {
|
|
963
1003
|
return __awaiter(this, void 0, void 0, function* () {
|
|
964
|
-
|
|
1004
|
+
if (this.logger)
|
|
1005
|
+
this.logger.debug("Calling operation WaasClient#changeCustomProtectionRuleCompartment.");
|
|
965
1006
|
const operationName = "changeCustomProtectionRuleCompartment";
|
|
966
1007
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/ChangeCustomProtectionRuleCompartment";
|
|
967
1008
|
const pathParams = {
|
|
@@ -976,6 +1017,8 @@ class WaasClient {
|
|
|
976
1017
|
};
|
|
977
1018
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
978
1019
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCustomProtectionRuleCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1020
|
+
if (this.logger)
|
|
1021
|
+
retrier.logger = this.logger;
|
|
979
1022
|
const request = yield oci_common_2.composeRequest({
|
|
980
1023
|
baseEndpoint: this._endpoint,
|
|
981
1024
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1013,11 +1056,12 @@ class WaasClient {
|
|
|
1013
1056
|
* @param ChangeWaasPolicyCompartmentRequest
|
|
1014
1057
|
* @return ChangeWaasPolicyCompartmentResponse
|
|
1015
1058
|
* @throws OciError when an error occurs
|
|
1016
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1059
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ChangeWaasPolicyCompartment.ts.html |here} to see how to use ChangeWaasPolicyCompartment API.
|
|
1017
1060
|
*/
|
|
1018
1061
|
changeWaasPolicyCompartment(changeWaasPolicyCompartmentRequest) {
|
|
1019
1062
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1020
|
-
|
|
1063
|
+
if (this.logger)
|
|
1064
|
+
this.logger.debug("Calling operation WaasClient#changeWaasPolicyCompartment.");
|
|
1021
1065
|
const operationName = "changeWaasPolicyCompartment";
|
|
1022
1066
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WaasPolicy/ChangeWaasPolicyCompartment";
|
|
1023
1067
|
const pathParams = {
|
|
@@ -1032,6 +1076,8 @@ class WaasClient {
|
|
|
1032
1076
|
};
|
|
1033
1077
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1034
1078
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeWaasPolicyCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1079
|
+
if (this.logger)
|
|
1080
|
+
retrier.logger = this.logger;
|
|
1035
1081
|
const request = yield oci_common_2.composeRequest({
|
|
1036
1082
|
baseEndpoint: this._endpoint,
|
|
1037
1083
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1067,11 +1113,12 @@ class WaasClient {
|
|
|
1067
1113
|
* @param CreateAddressListRequest
|
|
1068
1114
|
* @return CreateAddressListResponse
|
|
1069
1115
|
* @throws OciError when an error occurs
|
|
1070
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1116
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/CreateAddressList.ts.html |here} to see how to use CreateAddressList API.
|
|
1071
1117
|
*/
|
|
1072
1118
|
createAddressList(createAddressListRequest) {
|
|
1073
1119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1074
|
-
|
|
1120
|
+
if (this.logger)
|
|
1121
|
+
this.logger.debug("Calling operation WaasClient#createAddressList.");
|
|
1075
1122
|
const operationName = "createAddressList";
|
|
1076
1123
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressList/CreateAddressList";
|
|
1077
1124
|
const pathParams = {};
|
|
@@ -1083,6 +1130,8 @@ class WaasClient {
|
|
|
1083
1130
|
};
|
|
1084
1131
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1085
1132
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
1133
|
+
if (this.logger)
|
|
1134
|
+
retrier.logger = this.logger;
|
|
1086
1135
|
const request = yield oci_common_2.composeRequest({
|
|
1087
1136
|
baseEndpoint: this._endpoint,
|
|
1088
1137
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1129,11 +1178,12 @@ class WaasClient {
|
|
|
1129
1178
|
* @param CreateCertificateRequest
|
|
1130
1179
|
* @return CreateCertificateResponse
|
|
1131
1180
|
* @throws OciError when an error occurs
|
|
1132
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1181
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/CreateCertificate.ts.html |here} to see how to use CreateCertificate API.
|
|
1133
1182
|
*/
|
|
1134
1183
|
createCertificate(createCertificateRequest) {
|
|
1135
1184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1136
|
-
|
|
1185
|
+
if (this.logger)
|
|
1186
|
+
this.logger.debug("Calling operation WaasClient#createCertificate.");
|
|
1137
1187
|
const operationName = "createCertificate";
|
|
1138
1188
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Certificate/CreateCertificate";
|
|
1139
1189
|
const pathParams = {};
|
|
@@ -1145,6 +1195,8 @@ class WaasClient {
|
|
|
1145
1195
|
};
|
|
1146
1196
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1147
1197
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1198
|
+
if (this.logger)
|
|
1199
|
+
retrier.logger = this.logger;
|
|
1148
1200
|
const request = yield oci_common_2.composeRequest({
|
|
1149
1201
|
baseEndpoint: this._endpoint,
|
|
1150
1202
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1191,11 +1243,12 @@ class WaasClient {
|
|
|
1191
1243
|
* @param CreateCustomProtectionRuleRequest
|
|
1192
1244
|
* @return CreateCustomProtectionRuleResponse
|
|
1193
1245
|
* @throws OciError when an error occurs
|
|
1194
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1246
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/CreateCustomProtectionRule.ts.html |here} to see how to use CreateCustomProtectionRule API.
|
|
1195
1247
|
*/
|
|
1196
1248
|
createCustomProtectionRule(createCustomProtectionRuleRequest) {
|
|
1197
1249
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1198
|
-
|
|
1250
|
+
if (this.logger)
|
|
1251
|
+
this.logger.debug("Calling operation WaasClient#createCustomProtectionRule.");
|
|
1199
1252
|
const operationName = "createCustomProtectionRule";
|
|
1200
1253
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/CreateCustomProtectionRule";
|
|
1201
1254
|
const pathParams = {};
|
|
@@ -1207,6 +1260,8 @@ class WaasClient {
|
|
|
1207
1260
|
};
|
|
1208
1261
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1209
1262
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1263
|
+
if (this.logger)
|
|
1264
|
+
retrier.logger = this.logger;
|
|
1210
1265
|
const request = yield oci_common_2.composeRequest({
|
|
1211
1266
|
baseEndpoint: this._endpoint,
|
|
1212
1267
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1263,11 +1318,12 @@ class WaasClient {
|
|
|
1263
1318
|
* @param CreateWaasPolicyRequest
|
|
1264
1319
|
* @return CreateWaasPolicyResponse
|
|
1265
1320
|
* @throws OciError when an error occurs
|
|
1266
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1321
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/CreateWaasPolicy.ts.html |here} to see how to use CreateWaasPolicy API.
|
|
1267
1322
|
*/
|
|
1268
1323
|
createWaasPolicy(createWaasPolicyRequest) {
|
|
1269
1324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1270
|
-
|
|
1325
|
+
if (this.logger)
|
|
1326
|
+
this.logger.debug("Calling operation WaasClient#createWaasPolicy.");
|
|
1271
1327
|
const operationName = "createWaasPolicy";
|
|
1272
1328
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WaasPolicy/CreateWaasPolicy";
|
|
1273
1329
|
const pathParams = {};
|
|
@@ -1279,6 +1335,8 @@ class WaasClient {
|
|
|
1279
1335
|
};
|
|
1280
1336
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1281
1337
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1338
|
+
if (this.logger)
|
|
1339
|
+
retrier.logger = this.logger;
|
|
1282
1340
|
const request = yield oci_common_2.composeRequest({
|
|
1283
1341
|
baseEndpoint: this._endpoint,
|
|
1284
1342
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1324,11 +1382,12 @@ class WaasClient {
|
|
|
1324
1382
|
* @param DeleteAddressListRequest
|
|
1325
1383
|
* @return DeleteAddressListResponse
|
|
1326
1384
|
* @throws OciError when an error occurs
|
|
1327
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/DeleteAddressList.ts.html |here} to see how to use DeleteAddressList API.
|
|
1328
1386
|
*/
|
|
1329
1387
|
deleteAddressList(deleteAddressListRequest) {
|
|
1330
1388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1331
|
-
|
|
1389
|
+
if (this.logger)
|
|
1390
|
+
this.logger.debug("Calling operation WaasClient#deleteAddressList.");
|
|
1332
1391
|
const operationName = "deleteAddressList";
|
|
1333
1392
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressList/DeleteAddressList";
|
|
1334
1393
|
const pathParams = {
|
|
@@ -1343,6 +1402,8 @@ class WaasClient {
|
|
|
1343
1402
|
};
|
|
1344
1403
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1345
1404
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
1405
|
+
if (this.logger)
|
|
1406
|
+
retrier.logger = this.logger;
|
|
1346
1407
|
const request = yield oci_common_2.composeRequest({
|
|
1347
1408
|
baseEndpoint: this._endpoint,
|
|
1348
1409
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1377,11 +1438,12 @@ class WaasClient {
|
|
|
1377
1438
|
* @param DeleteCertificateRequest
|
|
1378
1439
|
* @return DeleteCertificateResponse
|
|
1379
1440
|
* @throws OciError when an error occurs
|
|
1380
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1441
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/DeleteCertificate.ts.html |here} to see how to use DeleteCertificate API.
|
|
1381
1442
|
*/
|
|
1382
1443
|
deleteCertificate(deleteCertificateRequest) {
|
|
1383
1444
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1384
|
-
|
|
1445
|
+
if (this.logger)
|
|
1446
|
+
this.logger.debug("Calling operation WaasClient#deleteCertificate.");
|
|
1385
1447
|
const operationName = "deleteCertificate";
|
|
1386
1448
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Certificate/DeleteCertificate";
|
|
1387
1449
|
const pathParams = {
|
|
@@ -1396,6 +1458,8 @@ class WaasClient {
|
|
|
1396
1458
|
};
|
|
1397
1459
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1398
1460
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1461
|
+
if (this.logger)
|
|
1462
|
+
retrier.logger = this.logger;
|
|
1399
1463
|
const request = yield oci_common_2.composeRequest({
|
|
1400
1464
|
baseEndpoint: this._endpoint,
|
|
1401
1465
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1430,11 +1494,12 @@ class WaasClient {
|
|
|
1430
1494
|
* @param DeleteCustomProtectionRuleRequest
|
|
1431
1495
|
* @return DeleteCustomProtectionRuleResponse
|
|
1432
1496
|
* @throws OciError when an error occurs
|
|
1433
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1497
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/DeleteCustomProtectionRule.ts.html |here} to see how to use DeleteCustomProtectionRule API.
|
|
1434
1498
|
*/
|
|
1435
1499
|
deleteCustomProtectionRule(deleteCustomProtectionRuleRequest) {
|
|
1436
1500
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1437
|
-
|
|
1501
|
+
if (this.logger)
|
|
1502
|
+
this.logger.debug("Calling operation WaasClient#deleteCustomProtectionRule.");
|
|
1438
1503
|
const operationName = "deleteCustomProtectionRule";
|
|
1439
1504
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/DeleteCustomProtectionRule";
|
|
1440
1505
|
const pathParams = {
|
|
@@ -1449,6 +1514,8 @@ class WaasClient {
|
|
|
1449
1514
|
};
|
|
1450
1515
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1451
1516
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1517
|
+
if (this.logger)
|
|
1518
|
+
retrier.logger = this.logger;
|
|
1452
1519
|
const request = yield oci_common_2.composeRequest({
|
|
1453
1520
|
baseEndpoint: this._endpoint,
|
|
1454
1521
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1483,11 +1550,12 @@ class WaasClient {
|
|
|
1483
1550
|
* @param DeleteWaasPolicyRequest
|
|
1484
1551
|
* @return DeleteWaasPolicyResponse
|
|
1485
1552
|
* @throws OciError when an error occurs
|
|
1486
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1553
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/DeleteWaasPolicy.ts.html |here} to see how to use DeleteWaasPolicy API.
|
|
1487
1554
|
*/
|
|
1488
1555
|
deleteWaasPolicy(deleteWaasPolicyRequest) {
|
|
1489
1556
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1490
|
-
|
|
1557
|
+
if (this.logger)
|
|
1558
|
+
this.logger.debug("Calling operation WaasClient#deleteWaasPolicy.");
|
|
1491
1559
|
const operationName = "deleteWaasPolicy";
|
|
1492
1560
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WaasPolicy/DeleteWaasPolicy";
|
|
1493
1561
|
const pathParams = {
|
|
@@ -1502,6 +1570,8 @@ class WaasClient {
|
|
|
1502
1570
|
};
|
|
1503
1571
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1504
1572
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1573
|
+
if (this.logger)
|
|
1574
|
+
retrier.logger = this.logger;
|
|
1505
1575
|
const request = yield oci_common_2.composeRequest({
|
|
1506
1576
|
baseEndpoint: this._endpoint,
|
|
1507
1577
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1541,11 +1611,12 @@ class WaasClient {
|
|
|
1541
1611
|
* @param GetAddressListRequest
|
|
1542
1612
|
* @return GetAddressListResponse
|
|
1543
1613
|
* @throws OciError when an error occurs
|
|
1544
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1614
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetAddressList.ts.html |here} to see how to use GetAddressList API.
|
|
1545
1615
|
*/
|
|
1546
1616
|
getAddressList(getAddressListRequest) {
|
|
1547
1617
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1548
|
-
|
|
1618
|
+
if (this.logger)
|
|
1619
|
+
this.logger.debug("Calling operation WaasClient#getAddressList.");
|
|
1549
1620
|
const operationName = "getAddressList";
|
|
1550
1621
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressList/GetAddressList";
|
|
1551
1622
|
const pathParams = {
|
|
@@ -1558,6 +1629,8 @@ class WaasClient {
|
|
|
1558
1629
|
};
|
|
1559
1630
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1560
1631
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
1632
|
+
if (this.logger)
|
|
1633
|
+
retrier.logger = this.logger;
|
|
1561
1634
|
const request = yield oci_common_2.composeRequest({
|
|
1562
1635
|
baseEndpoint: this._endpoint,
|
|
1563
1636
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1601,11 +1674,12 @@ class WaasClient {
|
|
|
1601
1674
|
* @param GetCertificateRequest
|
|
1602
1675
|
* @return GetCertificateResponse
|
|
1603
1676
|
* @throws OciError when an error occurs
|
|
1604
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1677
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetCertificate.ts.html |here} to see how to use GetCertificate API.
|
|
1605
1678
|
*/
|
|
1606
1679
|
getCertificate(getCertificateRequest) {
|
|
1607
1680
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1608
|
-
|
|
1681
|
+
if (this.logger)
|
|
1682
|
+
this.logger.debug("Calling operation WaasClient#getCertificate.");
|
|
1609
1683
|
const operationName = "getCertificate";
|
|
1610
1684
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Certificate/GetCertificate";
|
|
1611
1685
|
const pathParams = {
|
|
@@ -1618,6 +1692,8 @@ class WaasClient {
|
|
|
1618
1692
|
};
|
|
1619
1693
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1620
1694
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1695
|
+
if (this.logger)
|
|
1696
|
+
retrier.logger = this.logger;
|
|
1621
1697
|
const request = yield oci_common_2.composeRequest({
|
|
1622
1698
|
baseEndpoint: this._endpoint,
|
|
1623
1699
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1661,11 +1737,12 @@ class WaasClient {
|
|
|
1661
1737
|
* @param GetCustomProtectionRuleRequest
|
|
1662
1738
|
* @return GetCustomProtectionRuleResponse
|
|
1663
1739
|
* @throws OciError when an error occurs
|
|
1664
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1740
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetCustomProtectionRule.ts.html |here} to see how to use GetCustomProtectionRule API.
|
|
1665
1741
|
*/
|
|
1666
1742
|
getCustomProtectionRule(getCustomProtectionRuleRequest) {
|
|
1667
1743
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1668
|
-
|
|
1744
|
+
if (this.logger)
|
|
1745
|
+
this.logger.debug("Calling operation WaasClient#getCustomProtectionRule.");
|
|
1669
1746
|
const operationName = "getCustomProtectionRule";
|
|
1670
1747
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/GetCustomProtectionRule";
|
|
1671
1748
|
const pathParams = {
|
|
@@ -1678,6 +1755,8 @@ class WaasClient {
|
|
|
1678
1755
|
};
|
|
1679
1756
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1680
1757
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1758
|
+
if (this.logger)
|
|
1759
|
+
retrier.logger = this.logger;
|
|
1681
1760
|
const request = yield oci_common_2.composeRequest({
|
|
1682
1761
|
baseEndpoint: this._endpoint,
|
|
1683
1762
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1721,11 +1800,12 @@ class WaasClient {
|
|
|
1721
1800
|
* @param GetDeviceFingerprintChallengeRequest
|
|
1722
1801
|
* @return GetDeviceFingerprintChallengeResponse
|
|
1723
1802
|
* @throws OciError when an error occurs
|
|
1724
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1803
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetDeviceFingerprintChallenge.ts.html |here} to see how to use GetDeviceFingerprintChallenge API.
|
|
1725
1804
|
*/
|
|
1726
1805
|
getDeviceFingerprintChallenge(getDeviceFingerprintChallengeRequest) {
|
|
1727
1806
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1728
|
-
|
|
1807
|
+
if (this.logger)
|
|
1808
|
+
this.logger.debug("Calling operation WaasClient#getDeviceFingerprintChallenge.");
|
|
1729
1809
|
const operationName = "getDeviceFingerprintChallenge";
|
|
1730
1810
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/DeviceFingerprintChallenge/GetDeviceFingerprintChallenge";
|
|
1731
1811
|
const pathParams = {
|
|
@@ -1738,6 +1818,8 @@ class WaasClient {
|
|
|
1738
1818
|
};
|
|
1739
1819
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1740
1820
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDeviceFingerprintChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
1821
|
+
if (this.logger)
|
|
1822
|
+
retrier.logger = this.logger;
|
|
1741
1823
|
const request = yield oci_common_2.composeRequest({
|
|
1742
1824
|
baseEndpoint: this._endpoint,
|
|
1743
1825
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1781,11 +1863,12 @@ class WaasClient {
|
|
|
1781
1863
|
* @param GetHumanInteractionChallengeRequest
|
|
1782
1864
|
* @return GetHumanInteractionChallengeResponse
|
|
1783
1865
|
* @throws OciError when an error occurs
|
|
1784
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1866
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetHumanInteractionChallenge.ts.html |here} to see how to use GetHumanInteractionChallenge API.
|
|
1785
1867
|
*/
|
|
1786
1868
|
getHumanInteractionChallenge(getHumanInteractionChallengeRequest) {
|
|
1787
1869
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1788
|
-
|
|
1870
|
+
if (this.logger)
|
|
1871
|
+
this.logger.debug("Calling operation WaasClient#getHumanInteractionChallenge.");
|
|
1789
1872
|
const operationName = "getHumanInteractionChallenge";
|
|
1790
1873
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HumanInteractionChallenge/GetHumanInteractionChallenge";
|
|
1791
1874
|
const pathParams = {
|
|
@@ -1798,6 +1881,8 @@ class WaasClient {
|
|
|
1798
1881
|
};
|
|
1799
1882
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1800
1883
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHumanInteractionChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
1884
|
+
if (this.logger)
|
|
1885
|
+
retrier.logger = this.logger;
|
|
1801
1886
|
const request = yield oci_common_2.composeRequest({
|
|
1802
1887
|
baseEndpoint: this._endpoint,
|
|
1803
1888
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1841,11 +1926,12 @@ class WaasClient {
|
|
|
1841
1926
|
* @param GetJsChallengeRequest
|
|
1842
1927
|
* @return GetJsChallengeResponse
|
|
1843
1928
|
* @throws OciError when an error occurs
|
|
1844
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1929
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetJsChallenge.ts.html |here} to see how to use GetJsChallenge API.
|
|
1845
1930
|
*/
|
|
1846
1931
|
getJsChallenge(getJsChallengeRequest) {
|
|
1847
1932
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1848
|
-
|
|
1933
|
+
if (this.logger)
|
|
1934
|
+
this.logger.debug("Calling operation WaasClient#getJsChallenge.");
|
|
1849
1935
|
const operationName = "getJsChallenge";
|
|
1850
1936
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/JsChallenge/GetJsChallenge";
|
|
1851
1937
|
const pathParams = {
|
|
@@ -1858,6 +1944,8 @@ class WaasClient {
|
|
|
1858
1944
|
};
|
|
1859
1945
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1860
1946
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getJsChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
1947
|
+
if (this.logger)
|
|
1948
|
+
retrier.logger = this.logger;
|
|
1861
1949
|
const request = yield oci_common_2.composeRequest({
|
|
1862
1950
|
baseEndpoint: this._endpoint,
|
|
1863
1951
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1901,11 +1989,12 @@ class WaasClient {
|
|
|
1901
1989
|
* @param GetPolicyConfigRequest
|
|
1902
1990
|
* @return GetPolicyConfigResponse
|
|
1903
1991
|
* @throws OciError when an error occurs
|
|
1904
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1992
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetPolicyConfig.ts.html |here} to see how to use GetPolicyConfig API.
|
|
1905
1993
|
*/
|
|
1906
1994
|
getPolicyConfig(getPolicyConfigRequest) {
|
|
1907
1995
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1908
|
-
|
|
1996
|
+
if (this.logger)
|
|
1997
|
+
this.logger.debug("Calling operation WaasClient#getPolicyConfig.");
|
|
1909
1998
|
const operationName = "getPolicyConfig";
|
|
1910
1999
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/PolicyConfig/GetPolicyConfig";
|
|
1911
2000
|
const pathParams = {
|
|
@@ -1918,6 +2007,8 @@ class WaasClient {
|
|
|
1918
2007
|
};
|
|
1919
2008
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1920
2009
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPolicyConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
2010
|
+
if (this.logger)
|
|
2011
|
+
retrier.logger = this.logger;
|
|
1921
2012
|
const request = yield oci_common_2.composeRequest({
|
|
1922
2013
|
baseEndpoint: this._endpoint,
|
|
1923
2014
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1961,11 +2052,12 @@ class WaasClient {
|
|
|
1961
2052
|
* @param GetProtectionRuleRequest
|
|
1962
2053
|
* @return GetProtectionRuleResponse
|
|
1963
2054
|
* @throws OciError when an error occurs
|
|
1964
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2055
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetProtectionRule.ts.html |here} to see how to use GetProtectionRule API.
|
|
1965
2056
|
*/
|
|
1966
2057
|
getProtectionRule(getProtectionRuleRequest) {
|
|
1967
2058
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1968
|
-
|
|
2059
|
+
if (this.logger)
|
|
2060
|
+
this.logger.debug("Calling operation WaasClient#getProtectionRule.");
|
|
1969
2061
|
const operationName = "getProtectionRule";
|
|
1970
2062
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ProtectionRule/GetProtectionRule";
|
|
1971
2063
|
const pathParams = {
|
|
@@ -1979,6 +2071,8 @@ class WaasClient {
|
|
|
1979
2071
|
};
|
|
1980
2072
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1981
2073
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
2074
|
+
if (this.logger)
|
|
2075
|
+
retrier.logger = this.logger;
|
|
1982
2076
|
const request = yield oci_common_2.composeRequest({
|
|
1983
2077
|
baseEndpoint: this._endpoint,
|
|
1984
2078
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2022,11 +2116,12 @@ class WaasClient {
|
|
|
2022
2116
|
* @param GetProtectionSettingsRequest
|
|
2023
2117
|
* @return GetProtectionSettingsResponse
|
|
2024
2118
|
* @throws OciError when an error occurs
|
|
2025
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2119
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetProtectionSettings.ts.html |here} to see how to use GetProtectionSettings API.
|
|
2026
2120
|
*/
|
|
2027
2121
|
getProtectionSettings(getProtectionSettingsRequest) {
|
|
2028
2122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2029
|
-
|
|
2123
|
+
if (this.logger)
|
|
2124
|
+
this.logger.debug("Calling operation WaasClient#getProtectionSettings.");
|
|
2030
2125
|
const operationName = "getProtectionSettings";
|
|
2031
2126
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ProtectionSettings/GetProtectionSettings";
|
|
2032
2127
|
const pathParams = {
|
|
@@ -2039,6 +2134,8 @@ class WaasClient {
|
|
|
2039
2134
|
};
|
|
2040
2135
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2041
2136
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProtectionSettingsRequest.retryConfiguration, specRetryConfiguration);
|
|
2137
|
+
if (this.logger)
|
|
2138
|
+
retrier.logger = this.logger;
|
|
2042
2139
|
const request = yield oci_common_2.composeRequest({
|
|
2043
2140
|
baseEndpoint: this._endpoint,
|
|
2044
2141
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2082,11 +2179,12 @@ class WaasClient {
|
|
|
2082
2179
|
* @param GetWaasPolicyRequest
|
|
2083
2180
|
* @return GetWaasPolicyResponse
|
|
2084
2181
|
* @throws OciError when an error occurs
|
|
2085
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2182
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetWaasPolicy.ts.html |here} to see how to use GetWaasPolicy API.
|
|
2086
2183
|
*/
|
|
2087
2184
|
getWaasPolicy(getWaasPolicyRequest) {
|
|
2088
2185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2089
|
-
|
|
2186
|
+
if (this.logger)
|
|
2187
|
+
this.logger.debug("Calling operation WaasClient#getWaasPolicy.");
|
|
2090
2188
|
const operationName = "getWaasPolicy";
|
|
2091
2189
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WaasPolicy/GetWaasPolicy";
|
|
2092
2190
|
const pathParams = {
|
|
@@ -2099,6 +2197,8 @@ class WaasClient {
|
|
|
2099
2197
|
};
|
|
2100
2198
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2101
2199
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
2200
|
+
if (this.logger)
|
|
2201
|
+
retrier.logger = this.logger;
|
|
2102
2202
|
const request = yield oci_common_2.composeRequest({
|
|
2103
2203
|
baseEndpoint: this._endpoint,
|
|
2104
2204
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2142,11 +2242,12 @@ class WaasClient {
|
|
|
2142
2242
|
* @param GetWafAddressRateLimitingRequest
|
|
2143
2243
|
* @return GetWafAddressRateLimitingResponse
|
|
2144
2244
|
* @throws OciError when an error occurs
|
|
2145
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2245
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetWafAddressRateLimiting.ts.html |here} to see how to use GetWafAddressRateLimiting API.
|
|
2146
2246
|
*/
|
|
2147
2247
|
getWafAddressRateLimiting(getWafAddressRateLimitingRequest) {
|
|
2148
2248
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2149
|
-
|
|
2249
|
+
if (this.logger)
|
|
2250
|
+
this.logger.debug("Calling operation WaasClient#getWafAddressRateLimiting.");
|
|
2150
2251
|
const operationName = "getWafAddressRateLimiting";
|
|
2151
2252
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressRateLimiting/GetWafAddressRateLimiting";
|
|
2152
2253
|
const pathParams = {
|
|
@@ -2159,6 +2260,8 @@ class WaasClient {
|
|
|
2159
2260
|
};
|
|
2160
2261
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2161
2262
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWafAddressRateLimitingRequest.retryConfiguration, specRetryConfiguration);
|
|
2263
|
+
if (this.logger)
|
|
2264
|
+
retrier.logger = this.logger;
|
|
2162
2265
|
const request = yield oci_common_2.composeRequest({
|
|
2163
2266
|
baseEndpoint: this._endpoint,
|
|
2164
2267
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2202,11 +2305,12 @@ class WaasClient {
|
|
|
2202
2305
|
* @param GetWafConfigRequest
|
|
2203
2306
|
* @return GetWafConfigResponse
|
|
2204
2307
|
* @throws OciError when an error occurs
|
|
2205
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2308
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetWafConfig.ts.html |here} to see how to use GetWafConfig API.
|
|
2206
2309
|
*/
|
|
2207
2310
|
getWafConfig(getWafConfigRequest) {
|
|
2208
2311
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2209
|
-
|
|
2312
|
+
if (this.logger)
|
|
2313
|
+
this.logger.debug("Calling operation WaasClient#getWafConfig.");
|
|
2210
2314
|
const operationName = "getWafConfig";
|
|
2211
2315
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WafConfig/GetWafConfig";
|
|
2212
2316
|
const pathParams = {
|
|
@@ -2219,6 +2323,8 @@ class WaasClient {
|
|
|
2219
2323
|
};
|
|
2220
2324
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2221
2325
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWafConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
2326
|
+
if (this.logger)
|
|
2327
|
+
retrier.logger = this.logger;
|
|
2222
2328
|
const request = yield oci_common_2.composeRequest({
|
|
2223
2329
|
baseEndpoint: this._endpoint,
|
|
2224
2330
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2262,11 +2368,12 @@ class WaasClient {
|
|
|
2262
2368
|
* @param GetWorkRequestRequest
|
|
2263
2369
|
* @return GetWorkRequestResponse
|
|
2264
2370
|
* @throws OciError when an error occurs
|
|
2265
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2371
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2266
2372
|
*/
|
|
2267
2373
|
getWorkRequest(getWorkRequestRequest) {
|
|
2268
2374
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2269
|
-
|
|
2375
|
+
if (this.logger)
|
|
2376
|
+
this.logger.debug("Calling operation WaasClient#getWorkRequest.");
|
|
2270
2377
|
const operationName = "getWorkRequest";
|
|
2271
2378
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WorkRequest/GetWorkRequest";
|
|
2272
2379
|
const pathParams = {
|
|
@@ -2279,6 +2386,8 @@ class WaasClient {
|
|
|
2279
2386
|
};
|
|
2280
2387
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2281
2388
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2389
|
+
if (this.logger)
|
|
2390
|
+
retrier.logger = this.logger;
|
|
2282
2391
|
const request = yield oci_common_2.composeRequest({
|
|
2283
2392
|
baseEndpoint: this._endpoint,
|
|
2284
2393
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2328,11 +2437,12 @@ class WaasClient {
|
|
|
2328
2437
|
* @param ListAccessRulesRequest
|
|
2329
2438
|
* @return ListAccessRulesResponse
|
|
2330
2439
|
* @throws OciError when an error occurs
|
|
2331
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2440
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListAccessRules.ts.html |here} to see how to use ListAccessRules API.
|
|
2332
2441
|
*/
|
|
2333
2442
|
listAccessRules(listAccessRulesRequest) {
|
|
2334
2443
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2335
|
-
|
|
2444
|
+
if (this.logger)
|
|
2445
|
+
this.logger.debug("Calling operation WaasClient#listAccessRules.");
|
|
2336
2446
|
const operationName = "listAccessRules";
|
|
2337
2447
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AccessRule/ListAccessRules";
|
|
2338
2448
|
const pathParams = {
|
|
@@ -2348,6 +2458,8 @@ class WaasClient {
|
|
|
2348
2458
|
};
|
|
2349
2459
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2350
2460
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2461
|
+
if (this.logger)
|
|
2462
|
+
retrier.logger = this.logger;
|
|
2351
2463
|
const request = yield oci_common_2.composeRequest({
|
|
2352
2464
|
baseEndpoint: this._endpoint,
|
|
2353
2465
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2436,11 +2548,12 @@ class WaasClient {
|
|
|
2436
2548
|
* @param ListAddressListsRequest
|
|
2437
2549
|
* @return ListAddressListsResponse
|
|
2438
2550
|
* @throws OciError when an error occurs
|
|
2439
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2551
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListAddressLists.ts.html |here} to see how to use ListAddressLists API.
|
|
2440
2552
|
*/
|
|
2441
2553
|
listAddressLists(listAddressListsRequest) {
|
|
2442
2554
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2443
|
-
|
|
2555
|
+
if (this.logger)
|
|
2556
|
+
this.logger.debug("Calling operation WaasClient#listAddressLists.");
|
|
2444
2557
|
const operationName = "listAddressLists";
|
|
2445
2558
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressList/ListAddressLists";
|
|
2446
2559
|
const pathParams = {};
|
|
@@ -2462,6 +2575,8 @@ class WaasClient {
|
|
|
2462
2575
|
};
|
|
2463
2576
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2464
2577
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAddressListsRequest.retryConfiguration, specRetryConfiguration);
|
|
2578
|
+
if (this.logger)
|
|
2579
|
+
retrier.logger = this.logger;
|
|
2465
2580
|
const request = yield oci_common_2.composeRequest({
|
|
2466
2581
|
baseEndpoint: this._endpoint,
|
|
2467
2582
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2546,11 +2661,12 @@ class WaasClient {
|
|
|
2546
2661
|
* @param ListCachingRulesRequest
|
|
2547
2662
|
* @return ListCachingRulesResponse
|
|
2548
2663
|
* @throws OciError when an error occurs
|
|
2549
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2664
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListCachingRules.ts.html |here} to see how to use ListCachingRules API.
|
|
2550
2665
|
*/
|
|
2551
2666
|
listCachingRules(listCachingRulesRequest) {
|
|
2552
2667
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2553
|
-
|
|
2668
|
+
if (this.logger)
|
|
2669
|
+
this.logger.debug("Calling operation WaasClient#listCachingRules.");
|
|
2554
2670
|
const operationName = "listCachingRules";
|
|
2555
2671
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CachingRuleSummary/ListCachingRules";
|
|
2556
2672
|
const pathParams = {
|
|
@@ -2566,6 +2682,8 @@ class WaasClient {
|
|
|
2566
2682
|
};
|
|
2567
2683
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2568
2684
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCachingRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2685
|
+
if (this.logger)
|
|
2686
|
+
retrier.logger = this.logger;
|
|
2569
2687
|
const request = yield oci_common_2.composeRequest({
|
|
2570
2688
|
baseEndpoint: this._endpoint,
|
|
2571
2689
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2659,11 +2777,12 @@ class WaasClient {
|
|
|
2659
2777
|
* @param ListCaptchasRequest
|
|
2660
2778
|
* @return ListCaptchasResponse
|
|
2661
2779
|
* @throws OciError when an error occurs
|
|
2662
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2780
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListCaptchas.ts.html |here} to see how to use ListCaptchas API.
|
|
2663
2781
|
*/
|
|
2664
2782
|
listCaptchas(listCaptchasRequest) {
|
|
2665
2783
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2666
|
-
|
|
2784
|
+
if (this.logger)
|
|
2785
|
+
this.logger.debug("Calling operation WaasClient#listCaptchas.");
|
|
2667
2786
|
const operationName = "listCaptchas";
|
|
2668
2787
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Captcha/ListCaptchas";
|
|
2669
2788
|
const pathParams = {
|
|
@@ -2679,6 +2798,8 @@ class WaasClient {
|
|
|
2679
2798
|
};
|
|
2680
2799
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2681
2800
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCaptchasRequest.retryConfiguration, specRetryConfiguration);
|
|
2801
|
+
if (this.logger)
|
|
2802
|
+
retrier.logger = this.logger;
|
|
2682
2803
|
const request = yield oci_common_2.composeRequest({
|
|
2683
2804
|
baseEndpoint: this._endpoint,
|
|
2684
2805
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2767,11 +2888,12 @@ class WaasClient {
|
|
|
2767
2888
|
* @param ListCertificatesRequest
|
|
2768
2889
|
* @return ListCertificatesResponse
|
|
2769
2890
|
* @throws OciError when an error occurs
|
|
2770
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2891
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListCertificates.ts.html |here} to see how to use ListCertificates API.
|
|
2771
2892
|
*/
|
|
2772
2893
|
listCertificates(listCertificatesRequest) {
|
|
2773
2894
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2774
|
-
|
|
2895
|
+
if (this.logger)
|
|
2896
|
+
this.logger.debug("Calling operation WaasClient#listCertificates.");
|
|
2775
2897
|
const operationName = "listCertificates";
|
|
2776
2898
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CertificateSummary/ListCertificates";
|
|
2777
2899
|
const pathParams = {};
|
|
@@ -2793,6 +2915,8 @@ class WaasClient {
|
|
|
2793
2915
|
};
|
|
2794
2916
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2795
2917
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCertificatesRequest.retryConfiguration, specRetryConfiguration);
|
|
2918
|
+
if (this.logger)
|
|
2919
|
+
retrier.logger = this.logger;
|
|
2796
2920
|
const request = yield oci_common_2.composeRequest({
|
|
2797
2921
|
baseEndpoint: this._endpoint,
|
|
2798
2922
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2876,11 +3000,12 @@ class WaasClient {
|
|
|
2876
3000
|
* @param ListCustomProtectionRulesRequest
|
|
2877
3001
|
* @return ListCustomProtectionRulesResponse
|
|
2878
3002
|
* @throws OciError when an error occurs
|
|
2879
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3003
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListCustomProtectionRules.ts.html |here} to see how to use ListCustomProtectionRules API.
|
|
2880
3004
|
*/
|
|
2881
3005
|
listCustomProtectionRules(listCustomProtectionRulesRequest) {
|
|
2882
3006
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2883
|
-
|
|
3007
|
+
if (this.logger)
|
|
3008
|
+
this.logger.debug("Calling operation WaasClient#listCustomProtectionRules.");
|
|
2884
3009
|
const operationName = "listCustomProtectionRules";
|
|
2885
3010
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/ListCustomProtectionRules";
|
|
2886
3011
|
const pathParams = {};
|
|
@@ -2902,6 +3027,8 @@ class WaasClient {
|
|
|
2902
3027
|
};
|
|
2903
3028
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2904
3029
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCustomProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
3030
|
+
if (this.logger)
|
|
3031
|
+
retrier.logger = this.logger;
|
|
2905
3032
|
const request = yield oci_common_2.composeRequest({
|
|
2906
3033
|
baseEndpoint: this._endpoint,
|
|
2907
3034
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2985,11 +3112,12 @@ class WaasClient {
|
|
|
2985
3112
|
* @param ListEdgeSubnetsRequest
|
|
2986
3113
|
* @return ListEdgeSubnetsResponse
|
|
2987
3114
|
* @throws OciError when an error occurs
|
|
2988
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3115
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListEdgeSubnets.ts.html |here} to see how to use ListEdgeSubnets API.
|
|
2989
3116
|
*/
|
|
2990
3117
|
listEdgeSubnets(listEdgeSubnetsRequest) {
|
|
2991
3118
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2992
|
-
|
|
3119
|
+
if (this.logger)
|
|
3120
|
+
this.logger.debug("Calling operation WaasClient#listEdgeSubnets.");
|
|
2993
3121
|
const operationName = "listEdgeSubnets";
|
|
2994
3122
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/EdgeSubnet/ListEdgeSubnets";
|
|
2995
3123
|
const pathParams = {};
|
|
@@ -3005,6 +3133,8 @@ class WaasClient {
|
|
|
3005
3133
|
};
|
|
3006
3134
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3007
3135
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEdgeSubnetsRequest.retryConfiguration, specRetryConfiguration);
|
|
3136
|
+
if (this.logger)
|
|
3137
|
+
retrier.logger = this.logger;
|
|
3008
3138
|
const request = yield oci_common_2.composeRequest({
|
|
3009
3139
|
baseEndpoint: this._endpoint,
|
|
3010
3140
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3091,11 +3221,12 @@ class WaasClient {
|
|
|
3091
3221
|
* @param ListGoodBotsRequest
|
|
3092
3222
|
* @return ListGoodBotsResponse
|
|
3093
3223
|
* @throws OciError when an error occurs
|
|
3094
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListGoodBots.ts.html |here} to see how to use ListGoodBots API.
|
|
3095
3225
|
*/
|
|
3096
3226
|
listGoodBots(listGoodBotsRequest) {
|
|
3097
3227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3098
|
-
|
|
3228
|
+
if (this.logger)
|
|
3229
|
+
this.logger.debug("Calling operation WaasClient#listGoodBots.");
|
|
3099
3230
|
const operationName = "listGoodBots";
|
|
3100
3231
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/GoodBot/ListGoodBots";
|
|
3101
3232
|
const pathParams = {
|
|
@@ -3111,6 +3242,8 @@ class WaasClient {
|
|
|
3111
3242
|
};
|
|
3112
3243
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3113
3244
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGoodBotsRequest.retryConfiguration, specRetryConfiguration);
|
|
3245
|
+
if (this.logger)
|
|
3246
|
+
retrier.logger = this.logger;
|
|
3114
3247
|
const request = yield oci_common_2.composeRequest({
|
|
3115
3248
|
baseEndpoint: this._endpoint,
|
|
3116
3249
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3200,11 +3333,12 @@ class WaasClient {
|
|
|
3200
3333
|
* @param ListProtectionRulesRequest
|
|
3201
3334
|
* @return ListProtectionRulesResponse
|
|
3202
3335
|
* @throws OciError when an error occurs
|
|
3203
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3336
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListProtectionRules.ts.html |here} to see how to use ListProtectionRules API.
|
|
3204
3337
|
*/
|
|
3205
3338
|
listProtectionRules(listProtectionRulesRequest) {
|
|
3206
3339
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3207
|
-
|
|
3340
|
+
if (this.logger)
|
|
3341
|
+
this.logger.debug("Calling operation WaasClient#listProtectionRules.");
|
|
3208
3342
|
const operationName = "listProtectionRules";
|
|
3209
3343
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ProtectionRule/ListProtectionRules";
|
|
3210
3344
|
const pathParams = {
|
|
@@ -3222,6 +3356,8 @@ class WaasClient {
|
|
|
3222
3356
|
};
|
|
3223
3357
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3224
3358
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
3359
|
+
if (this.logger)
|
|
3360
|
+
retrier.logger = this.logger;
|
|
3225
3361
|
const request = yield oci_common_2.composeRequest({
|
|
3226
3362
|
baseEndpoint: this._endpoint,
|
|
3227
3363
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3313,11 +3449,12 @@ class WaasClient {
|
|
|
3313
3449
|
* @param ListRecommendationsRequest
|
|
3314
3450
|
* @return ListRecommendationsResponse
|
|
3315
3451
|
* @throws OciError when an error occurs
|
|
3316
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3452
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListRecommendations.ts.html |here} to see how to use ListRecommendations API.
|
|
3317
3453
|
*/
|
|
3318
3454
|
listRecommendations(listRecommendationsRequest) {
|
|
3319
3455
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3320
|
-
|
|
3456
|
+
if (this.logger)
|
|
3457
|
+
this.logger.debug("Calling operation WaasClient#listRecommendations.");
|
|
3321
3458
|
const operationName = "listRecommendations";
|
|
3322
3459
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Recommendation/ListRecommendations";
|
|
3323
3460
|
const pathParams = {
|
|
@@ -3334,6 +3471,8 @@ class WaasClient {
|
|
|
3334
3471
|
};
|
|
3335
3472
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3336
3473
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRecommendationsRequest.retryConfiguration, specRetryConfiguration);
|
|
3474
|
+
if (this.logger)
|
|
3475
|
+
retrier.logger = this.logger;
|
|
3337
3476
|
const request = yield oci_common_2.composeRequest({
|
|
3338
3477
|
baseEndpoint: this._endpoint,
|
|
3339
3478
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3425,11 +3564,12 @@ class WaasClient {
|
|
|
3425
3564
|
* @param ListThreatFeedsRequest
|
|
3426
3565
|
* @return ListThreatFeedsResponse
|
|
3427
3566
|
* @throws OciError when an error occurs
|
|
3428
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3567
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListThreatFeeds.ts.html |here} to see how to use ListThreatFeeds API.
|
|
3429
3568
|
*/
|
|
3430
3569
|
listThreatFeeds(listThreatFeedsRequest) {
|
|
3431
3570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3432
|
-
|
|
3571
|
+
if (this.logger)
|
|
3572
|
+
this.logger.debug("Calling operation WaasClient#listThreatFeeds.");
|
|
3433
3573
|
const operationName = "listThreatFeeds";
|
|
3434
3574
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ThreatFeed/ListThreatFeeds";
|
|
3435
3575
|
const pathParams = {
|
|
@@ -3445,6 +3585,8 @@ class WaasClient {
|
|
|
3445
3585
|
};
|
|
3446
3586
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3447
3587
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listThreatFeedsRequest.retryConfiguration, specRetryConfiguration);
|
|
3588
|
+
if (this.logger)
|
|
3589
|
+
retrier.logger = this.logger;
|
|
3448
3590
|
const request = yield oci_common_2.composeRequest({
|
|
3449
3591
|
baseEndpoint: this._endpoint,
|
|
3450
3592
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3533,11 +3675,12 @@ class WaasClient {
|
|
|
3533
3675
|
* @param ListWaasPoliciesRequest
|
|
3534
3676
|
* @return ListWaasPoliciesResponse
|
|
3535
3677
|
* @throws OciError when an error occurs
|
|
3536
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3678
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListWaasPolicies.ts.html |here} to see how to use ListWaasPolicies API.
|
|
3537
3679
|
*/
|
|
3538
3680
|
listWaasPolicies(listWaasPoliciesRequest) {
|
|
3539
3681
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3540
|
-
|
|
3682
|
+
if (this.logger)
|
|
3683
|
+
this.logger.debug("Calling operation WaasClient#listWaasPolicies.");
|
|
3541
3684
|
const operationName = "listWaasPolicies";
|
|
3542
3685
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WaasPolicy/ListWaasPolicies";
|
|
3543
3686
|
const pathParams = {};
|
|
@@ -3559,6 +3702,8 @@ class WaasClient {
|
|
|
3559
3702
|
};
|
|
3560
3703
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3561
3704
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWaasPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
3705
|
+
if (this.logger)
|
|
3706
|
+
retrier.logger = this.logger;
|
|
3562
3707
|
const request = yield oci_common_2.composeRequest({
|
|
3563
3708
|
baseEndpoint: this._endpoint,
|
|
3564
3709
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3642,11 +3787,12 @@ class WaasClient {
|
|
|
3642
3787
|
* @param ListWaasPolicyCustomProtectionRulesRequest
|
|
3643
3788
|
* @return ListWaasPolicyCustomProtectionRulesResponse
|
|
3644
3789
|
* @throws OciError when an error occurs
|
|
3645
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3790
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListWaasPolicyCustomProtectionRules.ts.html |here} to see how to use ListWaasPolicyCustomProtectionRules API.
|
|
3646
3791
|
*/
|
|
3647
3792
|
listWaasPolicyCustomProtectionRules(listWaasPolicyCustomProtectionRulesRequest) {
|
|
3648
3793
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3649
|
-
|
|
3794
|
+
if (this.logger)
|
|
3795
|
+
this.logger.debug("Calling operation WaasClient#listWaasPolicyCustomProtectionRules.");
|
|
3650
3796
|
const operationName = "listWaasPolicyCustomProtectionRules";
|
|
3651
3797
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/ListWaasPolicyCustomProtectionRules";
|
|
3652
3798
|
const pathParams = {
|
|
@@ -3664,6 +3810,8 @@ class WaasClient {
|
|
|
3664
3810
|
};
|
|
3665
3811
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3666
3812
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWaasPolicyCustomProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
3813
|
+
if (this.logger)
|
|
3814
|
+
retrier.logger = this.logger;
|
|
3667
3815
|
const request = yield oci_common_2.composeRequest({
|
|
3668
3816
|
baseEndpoint: this._endpoint,
|
|
3669
3817
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3752,11 +3900,12 @@ class WaasClient {
|
|
|
3752
3900
|
* @param ListWafBlockedRequestsRequest
|
|
3753
3901
|
* @return ListWafBlockedRequestsResponse
|
|
3754
3902
|
* @throws OciError when an error occurs
|
|
3755
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3903
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListWafBlockedRequests.ts.html |here} to see how to use ListWafBlockedRequests API.
|
|
3756
3904
|
*/
|
|
3757
3905
|
listWafBlockedRequests(listWafBlockedRequestsRequest) {
|
|
3758
3906
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3759
|
-
|
|
3907
|
+
if (this.logger)
|
|
3908
|
+
this.logger.debug("Calling operation WaasClient#listWafBlockedRequests.");
|
|
3760
3909
|
const operationName = "listWafBlockedRequests";
|
|
3761
3910
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WafBlockedRequest/ListWafBlockedRequests";
|
|
3762
3911
|
const pathParams = {
|
|
@@ -3775,6 +3924,8 @@ class WaasClient {
|
|
|
3775
3924
|
};
|
|
3776
3925
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3777
3926
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafBlockedRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3927
|
+
if (this.logger)
|
|
3928
|
+
retrier.logger = this.logger;
|
|
3778
3929
|
const request = yield oci_common_2.composeRequest({
|
|
3779
3930
|
baseEndpoint: this._endpoint,
|
|
3780
3931
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3861,11 +4012,12 @@ class WaasClient {
|
|
|
3861
4012
|
* @param ListWafLogsRequest
|
|
3862
4013
|
* @return ListWafLogsResponse
|
|
3863
4014
|
* @throws OciError when an error occurs
|
|
3864
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4015
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListWafLogs.ts.html |here} to see how to use ListWafLogs API.
|
|
3865
4016
|
*/
|
|
3866
4017
|
listWafLogs(listWafLogsRequest) {
|
|
3867
4018
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3868
|
-
|
|
4019
|
+
if (this.logger)
|
|
4020
|
+
this.logger.debug("Calling operation WaasClient#listWafLogs.");
|
|
3869
4021
|
const operationName = "listWafLogs";
|
|
3870
4022
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WafLog/ListWafLogs";
|
|
3871
4023
|
const pathParams = {
|
|
@@ -3900,6 +4052,8 @@ class WaasClient {
|
|
|
3900
4052
|
};
|
|
3901
4053
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3902
4054
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
4055
|
+
if (this.logger)
|
|
4056
|
+
retrier.logger = this.logger;
|
|
3903
4057
|
const request = yield oci_common_2.composeRequest({
|
|
3904
4058
|
baseEndpoint: this._endpoint,
|
|
3905
4059
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3986,11 +4140,12 @@ class WaasClient {
|
|
|
3986
4140
|
* @param ListWafRequestsRequest
|
|
3987
4141
|
* @return ListWafRequestsResponse
|
|
3988
4142
|
* @throws OciError when an error occurs
|
|
3989
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4143
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListWafRequests.ts.html |here} to see how to use ListWafRequests API.
|
|
3990
4144
|
*/
|
|
3991
4145
|
listWafRequests(listWafRequestsRequest) {
|
|
3992
4146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3993
|
-
|
|
4147
|
+
if (this.logger)
|
|
4148
|
+
this.logger.debug("Calling operation WaasClient#listWafRequests.");
|
|
3994
4149
|
const operationName = "listWafRequests";
|
|
3995
4150
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WafRequest/ListWafRequests";
|
|
3996
4151
|
const pathParams = {
|
|
@@ -4008,6 +4163,8 @@ class WaasClient {
|
|
|
4008
4163
|
};
|
|
4009
4164
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4010
4165
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
4166
|
+
if (this.logger)
|
|
4167
|
+
retrier.logger = this.logger;
|
|
4011
4168
|
const request = yield oci_common_2.composeRequest({
|
|
4012
4169
|
baseEndpoint: this._endpoint,
|
|
4013
4170
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4093,11 +4250,12 @@ class WaasClient {
|
|
|
4093
4250
|
* @param ListWafTrafficRequest
|
|
4094
4251
|
* @return ListWafTrafficResponse
|
|
4095
4252
|
* @throws OciError when an error occurs
|
|
4096
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4253
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListWafTraffic.ts.html |here} to see how to use ListWafTraffic API.
|
|
4097
4254
|
*/
|
|
4098
4255
|
listWafTraffic(listWafTrafficRequest) {
|
|
4099
4256
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4100
|
-
|
|
4257
|
+
if (this.logger)
|
|
4258
|
+
this.logger.debug("Calling operation WaasClient#listWafTraffic.");
|
|
4101
4259
|
const operationName = "listWafTraffic";
|
|
4102
4260
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WafTrafficDatum/ListWafTraffic";
|
|
4103
4261
|
const pathParams = {
|
|
@@ -4115,6 +4273,8 @@ class WaasClient {
|
|
|
4115
4273
|
};
|
|
4116
4274
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4117
4275
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWafTrafficRequest.retryConfiguration, specRetryConfiguration);
|
|
4276
|
+
if (this.logger)
|
|
4277
|
+
retrier.logger = this.logger;
|
|
4118
4278
|
const request = yield oci_common_2.composeRequest({
|
|
4119
4279
|
baseEndpoint: this._endpoint,
|
|
4120
4280
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4198,11 +4358,12 @@ class WaasClient {
|
|
|
4198
4358
|
* @param ListWhitelistsRequest
|
|
4199
4359
|
* @return ListWhitelistsResponse
|
|
4200
4360
|
* @throws OciError when an error occurs
|
|
4201
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListWhitelists.ts.html |here} to see how to use ListWhitelists API.
|
|
4202
4362
|
*/
|
|
4203
4363
|
listWhitelists(listWhitelistsRequest) {
|
|
4204
4364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4205
|
-
|
|
4365
|
+
if (this.logger)
|
|
4366
|
+
this.logger.debug("Calling operation WaasClient#listWhitelists.");
|
|
4206
4367
|
const operationName = "listWhitelists";
|
|
4207
4368
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Whitelist/ListWhitelists";
|
|
4208
4369
|
const pathParams = {
|
|
@@ -4218,6 +4379,8 @@ class WaasClient {
|
|
|
4218
4379
|
};
|
|
4219
4380
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4220
4381
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWhitelistsRequest.retryConfiguration, specRetryConfiguration);
|
|
4382
|
+
if (this.logger)
|
|
4383
|
+
retrier.logger = this.logger;
|
|
4221
4384
|
const request = yield oci_common_2.composeRequest({
|
|
4222
4385
|
baseEndpoint: this._endpoint,
|
|
4223
4386
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4306,11 +4469,12 @@ class WaasClient {
|
|
|
4306
4469
|
* @param ListWorkRequestsRequest
|
|
4307
4470
|
* @return ListWorkRequestsResponse
|
|
4308
4471
|
* @throws OciError when an error occurs
|
|
4309
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4472
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
4310
4473
|
*/
|
|
4311
4474
|
listWorkRequests(listWorkRequestsRequest) {
|
|
4312
4475
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4313
|
-
|
|
4476
|
+
if (this.logger)
|
|
4477
|
+
this.logger.debug("Calling operation WaasClient#listWorkRequests.");
|
|
4314
4478
|
const operationName = "listWorkRequests";
|
|
4315
4479
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WorkRequestSummary/ListWorkRequests";
|
|
4316
4480
|
const pathParams = {};
|
|
@@ -4328,6 +4492,8 @@ class WaasClient {
|
|
|
4328
4492
|
};
|
|
4329
4493
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4330
4494
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
4495
|
+
if (this.logger)
|
|
4496
|
+
retrier.logger = this.logger;
|
|
4331
4497
|
const request = yield oci_common_2.composeRequest({
|
|
4332
4498
|
baseEndpoint: this._endpoint,
|
|
4333
4499
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4412,11 +4578,12 @@ class WaasClient {
|
|
|
4412
4578
|
* @param PurgeCacheRequest
|
|
4413
4579
|
* @return PurgeCacheResponse
|
|
4414
4580
|
* @throws OciError when an error occurs
|
|
4415
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4581
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/PurgeCache.ts.html |here} to see how to use PurgeCache API.
|
|
4416
4582
|
*/
|
|
4417
4583
|
purgeCache(purgeCacheRequest) {
|
|
4418
4584
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4419
|
-
|
|
4585
|
+
if (this.logger)
|
|
4586
|
+
this.logger.debug("Calling operation WaasClient#purgeCache.");
|
|
4420
4587
|
const operationName = "purgeCache";
|
|
4421
4588
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/PurgeCache/PurgeCache";
|
|
4422
4589
|
const pathParams = {
|
|
@@ -4430,6 +4597,8 @@ class WaasClient {
|
|
|
4430
4597
|
};
|
|
4431
4598
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4432
4599
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, purgeCacheRequest.retryConfiguration, specRetryConfiguration);
|
|
4600
|
+
if (this.logger)
|
|
4601
|
+
retrier.logger = this.logger;
|
|
4433
4602
|
const request = yield oci_common_2.composeRequest({
|
|
4434
4603
|
baseEndpoint: this._endpoint,
|
|
4435
4604
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4478,11 +4647,12 @@ class WaasClient {
|
|
|
4478
4647
|
* @param UpdateAccessRulesRequest
|
|
4479
4648
|
* @return UpdateAccessRulesResponse
|
|
4480
4649
|
* @throws OciError when an error occurs
|
|
4481
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4650
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateAccessRules.ts.html |here} to see how to use UpdateAccessRules API.
|
|
4482
4651
|
*/
|
|
4483
4652
|
updateAccessRules(updateAccessRulesRequest) {
|
|
4484
4653
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4485
|
-
|
|
4654
|
+
if (this.logger)
|
|
4655
|
+
this.logger.debug("Calling operation WaasClient#updateAccessRules.");
|
|
4486
4656
|
const operationName = "updateAccessRules";
|
|
4487
4657
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AccessRule/UpdateAccessRules";
|
|
4488
4658
|
const pathParams = {
|
|
@@ -4497,6 +4667,8 @@ class WaasClient {
|
|
|
4497
4667
|
};
|
|
4498
4668
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4499
4669
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAccessRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
4670
|
+
if (this.logger)
|
|
4671
|
+
retrier.logger = this.logger;
|
|
4500
4672
|
const request = yield oci_common_2.composeRequest({
|
|
4501
4673
|
baseEndpoint: this._endpoint,
|
|
4502
4674
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4537,11 +4709,12 @@ class WaasClient {
|
|
|
4537
4709
|
* @param UpdateAddressListRequest
|
|
4538
4710
|
* @return UpdateAddressListResponse
|
|
4539
4711
|
* @throws OciError when an error occurs
|
|
4540
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4712
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateAddressList.ts.html |here} to see how to use UpdateAddressList API.
|
|
4541
4713
|
*/
|
|
4542
4714
|
updateAddressList(updateAddressListRequest) {
|
|
4543
4715
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4544
|
-
|
|
4716
|
+
if (this.logger)
|
|
4717
|
+
this.logger.debug("Calling operation WaasClient#updateAddressList.");
|
|
4545
4718
|
const operationName = "updateAddressList";
|
|
4546
4719
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressList/UpdateAddressList";
|
|
4547
4720
|
const pathParams = {
|
|
@@ -4555,6 +4728,8 @@ class WaasClient {
|
|
|
4555
4728
|
};
|
|
4556
4729
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4557
4730
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAddressListRequest.retryConfiguration, specRetryConfiguration);
|
|
4731
|
+
if (this.logger)
|
|
4732
|
+
retrier.logger = this.logger;
|
|
4558
4733
|
const request = yield oci_common_2.composeRequest({
|
|
4559
4734
|
baseEndpoint: this._endpoint,
|
|
4560
4735
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4605,11 +4780,12 @@ class WaasClient {
|
|
|
4605
4780
|
* @param UpdateCachingRulesRequest
|
|
4606
4781
|
* @return UpdateCachingRulesResponse
|
|
4607
4782
|
* @throws OciError when an error occurs
|
|
4608
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4783
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateCachingRules.ts.html |here} to see how to use UpdateCachingRules API.
|
|
4609
4784
|
*/
|
|
4610
4785
|
updateCachingRules(updateCachingRulesRequest) {
|
|
4611
4786
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4612
|
-
|
|
4787
|
+
if (this.logger)
|
|
4788
|
+
this.logger.debug("Calling operation WaasClient#updateCachingRules.");
|
|
4613
4789
|
const operationName = "updateCachingRules";
|
|
4614
4790
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CachingRule/UpdateCachingRules";
|
|
4615
4791
|
const pathParams = {
|
|
@@ -4624,6 +4800,8 @@ class WaasClient {
|
|
|
4624
4800
|
};
|
|
4625
4801
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4626
4802
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCachingRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
4803
|
+
if (this.logger)
|
|
4804
|
+
retrier.logger = this.logger;
|
|
4627
4805
|
const request = yield oci_common_2.composeRequest({
|
|
4628
4806
|
baseEndpoint: this._endpoint,
|
|
4629
4807
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4672,11 +4850,12 @@ class WaasClient {
|
|
|
4672
4850
|
* @param UpdateCaptchasRequest
|
|
4673
4851
|
* @return UpdateCaptchasResponse
|
|
4674
4852
|
* @throws OciError when an error occurs
|
|
4675
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4853
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateCaptchas.ts.html |here} to see how to use UpdateCaptchas API.
|
|
4676
4854
|
*/
|
|
4677
4855
|
updateCaptchas(updateCaptchasRequest) {
|
|
4678
4856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4679
|
-
|
|
4857
|
+
if (this.logger)
|
|
4858
|
+
this.logger.debug("Calling operation WaasClient#updateCaptchas.");
|
|
4680
4859
|
const operationName = "updateCaptchas";
|
|
4681
4860
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Captcha/UpdateCaptchas";
|
|
4682
4861
|
const pathParams = {
|
|
@@ -4691,6 +4870,8 @@ class WaasClient {
|
|
|
4691
4870
|
};
|
|
4692
4871
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4693
4872
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCaptchasRequest.retryConfiguration, specRetryConfiguration);
|
|
4873
|
+
if (this.logger)
|
|
4874
|
+
retrier.logger = this.logger;
|
|
4694
4875
|
const request = yield oci_common_2.composeRequest({
|
|
4695
4876
|
baseEndpoint: this._endpoint,
|
|
4696
4877
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4731,11 +4912,12 @@ class WaasClient {
|
|
|
4731
4912
|
* @param UpdateCertificateRequest
|
|
4732
4913
|
* @return UpdateCertificateResponse
|
|
4733
4914
|
* @throws OciError when an error occurs
|
|
4734
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4915
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateCertificate.ts.html |here} to see how to use UpdateCertificate API.
|
|
4735
4916
|
*/
|
|
4736
4917
|
updateCertificate(updateCertificateRequest) {
|
|
4737
4918
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4738
|
-
|
|
4919
|
+
if (this.logger)
|
|
4920
|
+
this.logger.debug("Calling operation WaasClient#updateCertificate.");
|
|
4739
4921
|
const operationName = "updateCertificate";
|
|
4740
4922
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Certificate/UpdateCertificate";
|
|
4741
4923
|
const pathParams = {
|
|
@@ -4749,6 +4931,8 @@ class WaasClient {
|
|
|
4749
4931
|
};
|
|
4750
4932
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4751
4933
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
4934
|
+
if (this.logger)
|
|
4935
|
+
retrier.logger = this.logger;
|
|
4752
4936
|
const request = yield oci_common_2.composeRequest({
|
|
4753
4937
|
baseEndpoint: this._endpoint,
|
|
4754
4938
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4793,11 +4977,12 @@ class WaasClient {
|
|
|
4793
4977
|
* @param UpdateCustomProtectionRuleRequest
|
|
4794
4978
|
* @return UpdateCustomProtectionRuleResponse
|
|
4795
4979
|
* @throws OciError when an error occurs
|
|
4796
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4980
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateCustomProtectionRule.ts.html |here} to see how to use UpdateCustomProtectionRule API.
|
|
4797
4981
|
*/
|
|
4798
4982
|
updateCustomProtectionRule(updateCustomProtectionRuleRequest) {
|
|
4799
4983
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4800
|
-
|
|
4984
|
+
if (this.logger)
|
|
4985
|
+
this.logger.debug("Calling operation WaasClient#updateCustomProtectionRule.");
|
|
4801
4986
|
const operationName = "updateCustomProtectionRule";
|
|
4802
4987
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/UpdateCustomProtectionRule";
|
|
4803
4988
|
const pathParams = {
|
|
@@ -4812,6 +4997,8 @@ class WaasClient {
|
|
|
4812
4997
|
};
|
|
4813
4998
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4814
4999
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCustomProtectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
5000
|
+
if (this.logger)
|
|
5001
|
+
retrier.logger = this.logger;
|
|
4815
5002
|
const request = yield oci_common_2.composeRequest({
|
|
4816
5003
|
baseEndpoint: this._endpoint,
|
|
4817
5004
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4860,11 +5047,12 @@ class WaasClient {
|
|
|
4860
5047
|
* @param UpdateDeviceFingerprintChallengeRequest
|
|
4861
5048
|
* @return UpdateDeviceFingerprintChallengeResponse
|
|
4862
5049
|
* @throws OciError when an error occurs
|
|
4863
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5050
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateDeviceFingerprintChallenge.ts.html |here} to see how to use UpdateDeviceFingerprintChallenge API.
|
|
4864
5051
|
*/
|
|
4865
5052
|
updateDeviceFingerprintChallenge(updateDeviceFingerprintChallengeRequest) {
|
|
4866
5053
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4867
|
-
|
|
5054
|
+
if (this.logger)
|
|
5055
|
+
this.logger.debug("Calling operation WaasClient#updateDeviceFingerprintChallenge.");
|
|
4868
5056
|
const operationName = "updateDeviceFingerprintChallenge";
|
|
4869
5057
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/DeviceFingerprintChallenge/UpdateDeviceFingerprintChallenge";
|
|
4870
5058
|
const pathParams = {
|
|
@@ -4879,6 +5067,8 @@ class WaasClient {
|
|
|
4879
5067
|
};
|
|
4880
5068
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4881
5069
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDeviceFingerprintChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
5070
|
+
if (this.logger)
|
|
5071
|
+
retrier.logger = this.logger;
|
|
4882
5072
|
const request = yield oci_common_2.composeRequest({
|
|
4883
5073
|
baseEndpoint: this._endpoint,
|
|
4884
5074
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4921,11 +5111,12 @@ class WaasClient {
|
|
|
4921
5111
|
* @param UpdateGoodBotsRequest
|
|
4922
5112
|
* @return UpdateGoodBotsResponse
|
|
4923
5113
|
* @throws OciError when an error occurs
|
|
4924
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5114
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateGoodBots.ts.html |here} to see how to use UpdateGoodBots API.
|
|
4925
5115
|
*/
|
|
4926
5116
|
updateGoodBots(updateGoodBotsRequest) {
|
|
4927
5117
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4928
|
-
|
|
5118
|
+
if (this.logger)
|
|
5119
|
+
this.logger.debug("Calling operation WaasClient#updateGoodBots.");
|
|
4929
5120
|
const operationName = "updateGoodBots";
|
|
4930
5121
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/GoodBot/UpdateGoodBots";
|
|
4931
5122
|
const pathParams = {
|
|
@@ -4940,6 +5131,8 @@ class WaasClient {
|
|
|
4940
5131
|
};
|
|
4941
5132
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4942
5133
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGoodBotsRequest.retryConfiguration, specRetryConfiguration);
|
|
5134
|
+
if (this.logger)
|
|
5135
|
+
retrier.logger = this.logger;
|
|
4943
5136
|
const request = yield oci_common_2.composeRequest({
|
|
4944
5137
|
baseEndpoint: this._endpoint,
|
|
4945
5138
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4980,11 +5173,12 @@ class WaasClient {
|
|
|
4980
5173
|
* @param UpdateHumanInteractionChallengeRequest
|
|
4981
5174
|
* @return UpdateHumanInteractionChallengeResponse
|
|
4982
5175
|
* @throws OciError when an error occurs
|
|
4983
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5176
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateHumanInteractionChallenge.ts.html |here} to see how to use UpdateHumanInteractionChallenge API.
|
|
4984
5177
|
*/
|
|
4985
5178
|
updateHumanInteractionChallenge(updateHumanInteractionChallengeRequest) {
|
|
4986
5179
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4987
|
-
|
|
5180
|
+
if (this.logger)
|
|
5181
|
+
this.logger.debug("Calling operation WaasClient#updateHumanInteractionChallenge.");
|
|
4988
5182
|
const operationName = "updateHumanInteractionChallenge";
|
|
4989
5183
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/HumanInteractionChallenge/UpdateHumanInteractionChallenge";
|
|
4990
5184
|
const pathParams = {
|
|
@@ -4999,6 +5193,8 @@ class WaasClient {
|
|
|
4999
5193
|
};
|
|
5000
5194
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5001
5195
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHumanInteractionChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
5196
|
+
if (this.logger)
|
|
5197
|
+
retrier.logger = this.logger;
|
|
5002
5198
|
const request = yield oci_common_2.composeRequest({
|
|
5003
5199
|
baseEndpoint: this._endpoint,
|
|
5004
5200
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5039,11 +5235,12 @@ class WaasClient {
|
|
|
5039
5235
|
* @param UpdateJsChallengeRequest
|
|
5040
5236
|
* @return UpdateJsChallengeResponse
|
|
5041
5237
|
* @throws OciError when an error occurs
|
|
5042
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5238
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateJsChallenge.ts.html |here} to see how to use UpdateJsChallenge API.
|
|
5043
5239
|
*/
|
|
5044
5240
|
updateJsChallenge(updateJsChallengeRequest) {
|
|
5045
5241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5046
|
-
|
|
5242
|
+
if (this.logger)
|
|
5243
|
+
this.logger.debug("Calling operation WaasClient#updateJsChallenge.");
|
|
5047
5244
|
const operationName = "updateJsChallenge";
|
|
5048
5245
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/JsChallenge/UpdateJsChallenge";
|
|
5049
5246
|
const pathParams = {
|
|
@@ -5058,6 +5255,8 @@ class WaasClient {
|
|
|
5058
5255
|
};
|
|
5059
5256
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5060
5257
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateJsChallengeRequest.retryConfiguration, specRetryConfiguration);
|
|
5258
|
+
if (this.logger)
|
|
5259
|
+
retrier.logger = this.logger;
|
|
5061
5260
|
const request = yield oci_common_2.composeRequest({
|
|
5062
5261
|
baseEndpoint: this._endpoint,
|
|
5063
5262
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5098,11 +5297,12 @@ class WaasClient {
|
|
|
5098
5297
|
* @param UpdatePolicyConfigRequest
|
|
5099
5298
|
* @return UpdatePolicyConfigResponse
|
|
5100
5299
|
* @throws OciError when an error occurs
|
|
5101
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5300
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdatePolicyConfig.ts.html |here} to see how to use UpdatePolicyConfig API.
|
|
5102
5301
|
*/
|
|
5103
5302
|
updatePolicyConfig(updatePolicyConfigRequest) {
|
|
5104
5303
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5105
|
-
|
|
5304
|
+
if (this.logger)
|
|
5305
|
+
this.logger.debug("Calling operation WaasClient#updatePolicyConfig.");
|
|
5106
5306
|
const operationName = "updatePolicyConfig";
|
|
5107
5307
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/PolicyConfig/UpdatePolicyConfig";
|
|
5108
5308
|
const pathParams = {
|
|
@@ -5117,6 +5317,8 @@ class WaasClient {
|
|
|
5117
5317
|
};
|
|
5118
5318
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5119
5319
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePolicyConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
5320
|
+
if (this.logger)
|
|
5321
|
+
retrier.logger = this.logger;
|
|
5120
5322
|
const request = yield oci_common_2.composeRequest({
|
|
5121
5323
|
baseEndpoint: this._endpoint,
|
|
5122
5324
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5159,11 +5361,12 @@ class WaasClient {
|
|
|
5159
5361
|
* @param UpdateProtectionRulesRequest
|
|
5160
5362
|
* @return UpdateProtectionRulesResponse
|
|
5161
5363
|
* @throws OciError when an error occurs
|
|
5162
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5364
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateProtectionRules.ts.html |here} to see how to use UpdateProtectionRules API.
|
|
5163
5365
|
*/
|
|
5164
5366
|
updateProtectionRules(updateProtectionRulesRequest) {
|
|
5165
5367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5166
|
-
|
|
5368
|
+
if (this.logger)
|
|
5369
|
+
this.logger.debug("Calling operation WaasClient#updateProtectionRules.");
|
|
5167
5370
|
const operationName = "updateProtectionRules";
|
|
5168
5371
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ProtectionRule/UpdateProtectionRules";
|
|
5169
5372
|
const pathParams = {
|
|
@@ -5177,6 +5380,8 @@ class WaasClient {
|
|
|
5177
5380
|
};
|
|
5178
5381
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5179
5382
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
5383
|
+
if (this.logger)
|
|
5384
|
+
retrier.logger = this.logger;
|
|
5180
5385
|
const request = yield oci_common_2.composeRequest({
|
|
5181
5386
|
baseEndpoint: this._endpoint,
|
|
5182
5387
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5217,11 +5422,12 @@ class WaasClient {
|
|
|
5217
5422
|
* @param UpdateProtectionSettingsRequest
|
|
5218
5423
|
* @return UpdateProtectionSettingsResponse
|
|
5219
5424
|
* @throws OciError when an error occurs
|
|
5220
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5425
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateProtectionSettings.ts.html |here} to see how to use UpdateProtectionSettings API.
|
|
5221
5426
|
*/
|
|
5222
5427
|
updateProtectionSettings(updateProtectionSettingsRequest) {
|
|
5223
5428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5224
|
-
|
|
5429
|
+
if (this.logger)
|
|
5430
|
+
this.logger.debug("Calling operation WaasClient#updateProtectionSettings.");
|
|
5225
5431
|
const operationName = "updateProtectionSettings";
|
|
5226
5432
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ProtectionSettings/UpdateProtectionSettings";
|
|
5227
5433
|
const pathParams = {
|
|
@@ -5236,6 +5442,8 @@ class WaasClient {
|
|
|
5236
5442
|
};
|
|
5237
5443
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5238
5444
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProtectionSettingsRequest.retryConfiguration, specRetryConfiguration);
|
|
5445
|
+
if (this.logger)
|
|
5446
|
+
retrier.logger = this.logger;
|
|
5239
5447
|
const request = yield oci_common_2.composeRequest({
|
|
5240
5448
|
baseEndpoint: this._endpoint,
|
|
5241
5449
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5276,11 +5484,12 @@ class WaasClient {
|
|
|
5276
5484
|
* @param UpdateThreatFeedsRequest
|
|
5277
5485
|
* @return UpdateThreatFeedsResponse
|
|
5278
5486
|
* @throws OciError when an error occurs
|
|
5279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5487
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateThreatFeeds.ts.html |here} to see how to use UpdateThreatFeeds API.
|
|
5280
5488
|
*/
|
|
5281
5489
|
updateThreatFeeds(updateThreatFeedsRequest) {
|
|
5282
5490
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5283
|
-
|
|
5491
|
+
if (this.logger)
|
|
5492
|
+
this.logger.debug("Calling operation WaasClient#updateThreatFeeds.");
|
|
5284
5493
|
const operationName = "updateThreatFeeds";
|
|
5285
5494
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/ThreatFeed/UpdateThreatFeeds";
|
|
5286
5495
|
const pathParams = {
|
|
@@ -5294,6 +5503,8 @@ class WaasClient {
|
|
|
5294
5503
|
};
|
|
5295
5504
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5296
5505
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateThreatFeedsRequest.retryConfiguration, specRetryConfiguration);
|
|
5506
|
+
if (this.logger)
|
|
5507
|
+
retrier.logger = this.logger;
|
|
5297
5508
|
const request = yield oci_common_2.composeRequest({
|
|
5298
5509
|
baseEndpoint: this._endpoint,
|
|
5299
5510
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5336,11 +5547,12 @@ class WaasClient {
|
|
|
5336
5547
|
* @param UpdateWaasPolicyRequest
|
|
5337
5548
|
* @return UpdateWaasPolicyResponse
|
|
5338
5549
|
* @throws OciError when an error occurs
|
|
5339
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5550
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateWaasPolicy.ts.html |here} to see how to use UpdateWaasPolicy API.
|
|
5340
5551
|
*/
|
|
5341
5552
|
updateWaasPolicy(updateWaasPolicyRequest) {
|
|
5342
5553
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5343
|
-
|
|
5554
|
+
if (this.logger)
|
|
5555
|
+
this.logger.debug("Calling operation WaasClient#updateWaasPolicy.");
|
|
5344
5556
|
const operationName = "updateWaasPolicy";
|
|
5345
5557
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WaasPolicy/UpdateWaasPolicy";
|
|
5346
5558
|
const pathParams = {
|
|
@@ -5355,6 +5567,8 @@ class WaasClient {
|
|
|
5355
5567
|
};
|
|
5356
5568
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5357
5569
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWaasPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
5570
|
+
if (this.logger)
|
|
5571
|
+
retrier.logger = this.logger;
|
|
5358
5572
|
const request = yield oci_common_2.composeRequest({
|
|
5359
5573
|
baseEndpoint: this._endpoint,
|
|
5360
5574
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5395,11 +5609,12 @@ class WaasClient {
|
|
|
5395
5609
|
* @param UpdateWaasPolicyCustomProtectionRulesRequest
|
|
5396
5610
|
* @return UpdateWaasPolicyCustomProtectionRulesResponse
|
|
5397
5611
|
* @throws OciError when an error occurs
|
|
5398
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5612
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateWaasPolicyCustomProtectionRules.ts.html |here} to see how to use UpdateWaasPolicyCustomProtectionRules API.
|
|
5399
5613
|
*/
|
|
5400
5614
|
updateWaasPolicyCustomProtectionRules(updateWaasPolicyCustomProtectionRulesRequest) {
|
|
5401
5615
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5402
|
-
|
|
5616
|
+
if (this.logger)
|
|
5617
|
+
this.logger.debug("Calling operation WaasClient#updateWaasPolicyCustomProtectionRules.");
|
|
5403
5618
|
const operationName = "updateWaasPolicyCustomProtectionRules";
|
|
5404
5619
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/CustomProtectionRule/UpdateWaasPolicyCustomProtectionRules";
|
|
5405
5620
|
const pathParams = {
|
|
@@ -5414,6 +5629,8 @@ class WaasClient {
|
|
|
5414
5629
|
};
|
|
5415
5630
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5416
5631
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWaasPolicyCustomProtectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
5632
|
+
if (this.logger)
|
|
5633
|
+
retrier.logger = this.logger;
|
|
5417
5634
|
const request = yield oci_common_2.composeRequest({
|
|
5418
5635
|
baseEndpoint: this._endpoint,
|
|
5419
5636
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5454,11 +5671,12 @@ class WaasClient {
|
|
|
5454
5671
|
* @param UpdateWafAddressRateLimitingRequest
|
|
5455
5672
|
* @return UpdateWafAddressRateLimitingResponse
|
|
5456
5673
|
* @throws OciError when an error occurs
|
|
5457
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5674
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateWafAddressRateLimiting.ts.html |here} to see how to use UpdateWafAddressRateLimiting API.
|
|
5458
5675
|
*/
|
|
5459
5676
|
updateWafAddressRateLimiting(updateWafAddressRateLimitingRequest) {
|
|
5460
5677
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5461
|
-
|
|
5678
|
+
if (this.logger)
|
|
5679
|
+
this.logger.debug("Calling operation WaasClient#updateWafAddressRateLimiting.");
|
|
5462
5680
|
const operationName = "updateWafAddressRateLimiting";
|
|
5463
5681
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/AddressRateLimiting/UpdateWafAddressRateLimiting";
|
|
5464
5682
|
const pathParams = {
|
|
@@ -5473,6 +5691,8 @@ class WaasClient {
|
|
|
5473
5691
|
};
|
|
5474
5692
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5475
5693
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWafAddressRateLimitingRequest.retryConfiguration, specRetryConfiguration);
|
|
5694
|
+
if (this.logger)
|
|
5695
|
+
retrier.logger = this.logger;
|
|
5476
5696
|
const request = yield oci_common_2.composeRequest({
|
|
5477
5697
|
baseEndpoint: this._endpoint,
|
|
5478
5698
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5521,11 +5741,12 @@ class WaasClient {
|
|
|
5521
5741
|
* @param UpdateWafConfigRequest
|
|
5522
5742
|
* @return UpdateWafConfigResponse
|
|
5523
5743
|
* @throws OciError when an error occurs
|
|
5524
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5744
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateWafConfig.ts.html |here} to see how to use UpdateWafConfig API.
|
|
5525
5745
|
*/
|
|
5526
5746
|
updateWafConfig(updateWafConfigRequest) {
|
|
5527
5747
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5528
|
-
|
|
5748
|
+
if (this.logger)
|
|
5749
|
+
this.logger.debug("Calling operation WaasClient#updateWafConfig.");
|
|
5529
5750
|
const operationName = "updateWafConfig";
|
|
5530
5751
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/WafConfig/UpdateWafConfig";
|
|
5531
5752
|
const pathParams = {
|
|
@@ -5540,6 +5761,8 @@ class WaasClient {
|
|
|
5540
5761
|
};
|
|
5541
5762
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5542
5763
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWafConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
5764
|
+
if (this.logger)
|
|
5765
|
+
retrier.logger = this.logger;
|
|
5543
5766
|
const request = yield oci_common_2.composeRequest({
|
|
5544
5767
|
baseEndpoint: this._endpoint,
|
|
5545
5768
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5588,11 +5811,12 @@ class WaasClient {
|
|
|
5588
5811
|
* @param UpdateWhitelistsRequest
|
|
5589
5812
|
* @return UpdateWhitelistsResponse
|
|
5590
5813
|
* @throws OciError when an error occurs
|
|
5591
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5814
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/waas/UpdateWhitelists.ts.html |here} to see how to use UpdateWhitelists API.
|
|
5592
5815
|
*/
|
|
5593
5816
|
updateWhitelists(updateWhitelistsRequest) {
|
|
5594
5817
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5595
|
-
|
|
5818
|
+
if (this.logger)
|
|
5819
|
+
this.logger.debug("Calling operation WaasClient#updateWhitelists.");
|
|
5596
5820
|
const operationName = "updateWhitelists";
|
|
5597
5821
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/waas/20181116/Whitelist/UpdateWhitelists";
|
|
5598
5822
|
const pathParams = {
|
|
@@ -5607,6 +5831,8 @@ class WaasClient {
|
|
|
5607
5831
|
};
|
|
5608
5832
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5609
5833
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWhitelistsRequest.retryConfiguration, specRetryConfiguration);
|
|
5834
|
+
if (this.logger)
|
|
5835
|
+
retrier.logger = this.logger;
|
|
5610
5836
|
const request = yield oci_common_2.composeRequest({
|
|
5611
5837
|
baseEndpoint: this._endpoint,
|
|
5612
5838
|
defaultHeaders: this._defaultHeaders,
|