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