/**
 * Web Application Acceleration and Security Services API
 * OCI Web Application Acceleration and Security Services
 * OpenAPI spec version: 20181116
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import common = require ( "oci-common" ) ; import * as requests from "./request" ; import * as model from "./model" ; import * as responses from "./response" ; import { paginateRecords , paginateResponses } from "oci-common" ; import { RedirectWaiter } from "./redirect-waiter" ; import { WaasWaiter } from "./waas-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum RedirectApiKeys { ApiKey } /**
 * This service client uses  common . CircuitBreaker . DefaultConfiguration for all the operations by default if no circuit breaker configuration is defined by the user.
  export class RedirectClient { protected static serviceEndpointTemplate = "https://waas.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : RedirectWaiter ; protected "_clientConfiguration" : common . ClientConfiguration ; protected _circuitBreaker = null ; protected _httpClient : common . HttpClient ; constructor ( params , clientConfiguration ? ) { const requestSigner = params . authenticationDetailsProvider ? new common . DefaultRequestSigner ( params . authenticationDetailsProvider ) : null ; if ( clientConfiguration ) { this . _clientConfiguration = clientConfiguration ; this . _circuitBreaker = clientConfiguration . circuitBreaker ? clientConfiguration . circuitBreaker ! . circuit : null ; } const specCircuitBreakerEnabled = true ; if ( ! this . _circuitBreaker && common . utils . isCircuitBreakerSystemEnabled ( clientConfiguration ! ) && ( specCircuitBreakerEnabled || common . CircuitBreaker . DefaultCircuitBreakerOverriden ) ) { this . _circuitBreaker = new common . CircuitBreaker ( ) . circuit ; } this . _httpClient = params . httpClient || new common . FetchHttpClient ( requestSigner , this . _circuitBreaker ) ; if ( params . authenticationDetailsProvider && common . isRegionProvider ( params . authenticationDetailsProvider ) ) { const provider = params . authenticationDetailsProvider ; if ( provider . getRegion ( ) ) { this . region = provider . getRegion ( ) ; } } } /**
     * Get the endpoint that is being used to call (ex, https://www.example.com).
     */ public get endpoint ( ) { return this . _endpoint ; } param endpoint public set endpoint ( endpoint ) { this . _endpoint = endpoint ; this . _endpoint = this . _endpoint + "/20181116" ; if ( this . logger ) this . logger . info ( `RedirectClient endpoint set to ${ this . _endpoint }` ) ; } public get logger ( ) { return common . LOG . logger ; } /**
     * Sets the region to call (ex, Region.US_PHOENIX_1).
     * Note, this will call  {@link #endpoint(String) endpoint} after resolving the endpoint.
     *  param region public set region ( region ) { this . endpoint = common . EndpointBuilder . createEndpointFromRegion ( RedirectClient . serviceEndpointTemplate , region ) ; } /**
     * Sets the regionId to call (ex, 'us-phoenix-1').
     *
     * Note, this will first try to map the region ID to a known Region and call  {@link #region(Region) region} .
     * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
     * and then call  {@link #endpoint(String) endpoint} .
     *  param regionId public set regionId ( regionId ) { this . endpoint = common . EndpointBuilder . createEndpointFromRegionId ( RedirectClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new RedirectWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param ChangeHttpRedirectCompartmentRequest return throws example Click  https to see how to use ChangeHttpRedirectCompartment API.
      public async changeHttpRedirectCompartment ( changeHttpRedirectCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation RedirectClient#changeHttpRedirectCompartment." ) ; const pathParams = { "{httpRedirectId}" : changeHttpRedirectCompartmentRequest . httpRedirectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeHttpRedirectCompartmentRequest . ifMatch , "opc-request-id" : changeHttpRedirectCompartmentRequest . opcRequestId , "opc-retry-token" : changeHttpRedirectCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeHttpRedirectCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/httpRedirects/{httpRedirectId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeHttpRedirectCompartmentRequest . changeHttpRedirectCompartmentDetails , "ChangeHttpRedirectCompartmentDetails" , model . ChangeHttpRedirectCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeHttpRedirectCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateHttpRedirectRequest return throws example Click  https to see how to use CreateHttpRedirect API.
      public async createHttpRedirect ( createHttpRedirectRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation RedirectClient#createHttpRedirect." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createHttpRedirectRequest . opcRequestId , "opc-retry-token" : createHttpRedirectRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createHttpRedirectRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/httpRedirects" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createHttpRedirectRequest . createHttpRedirectDetails , "CreateHttpRedirectDetails" , model . CreateHttpRedirectDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateHttpRedirectResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteHttpRedirectRequest return throws example Click  https to see how to use DeleteHttpRedirect API.
      public async deleteHttpRedirect ( deleteHttpRedirectRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation RedirectClient#deleteHttpRedirect." ) ; const pathParams = { "{httpRedirectId}" : deleteHttpRedirectRequest . httpRedirectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteHttpRedirectRequest . opcRequestId , "opc-retry-token" : deleteHttpRedirectRequest . opcRetryToken , "if-match" : deleteHttpRedirectRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteHttpRedirectRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/httpRedirects/{httpRedirectId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteHttpRedirectResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetHttpRedirectRequest return throws example Click  https to see how to use GetHttpRedirect API.
      public async getHttpRedirect ( getHttpRedirectRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation RedirectClient#getHttpRedirect." ) ; const pathParams = { "{httpRedirectId}" : getHttpRedirectRequest . httpRedirectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getHttpRedirectRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getHttpRedirectRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/httpRedirects/{httpRedirectId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetHttpRedirectResponse > { } , body : await response . json ( ) , bodyKey : "httpRedirect" , bodyModel : model . HttpRedirect , type : "model.HttpRedirect" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListHttpRedirectsRequest return throws example Click  https to see how to use ListHttpRedirects API.
      public async listHttpRedirects ( listHttpRedirectsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation RedirectClient#listHttpRedirects." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listHttpRedirectsRequest . compartmentId , "limit" : listHttpRedirectsRequest . limit , "page" : listHttpRedirectsRequest . page , "sortOrder" : listHttpRedirectsRequest . sortOrder , "sortBy" : listHttpRedirectsRequest . sortBy , "id" : listHttpRedirectsRequest . id , "displayName" : listHttpRedirectsRequest . displayName , "lifecycleState" : listHttpRedirectsRequest . lifecycleState , "timeCreatedGreaterThanOrEqualTo" : listHttpRedirectsRequest . timeCreatedGreaterThanOrEqualTo , "timeCreatedLessThan" : listHttpRedirectsRequest . timeCreatedLessThan } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listHttpRedirectsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listHttpRedirectsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/httpRedirects" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListHttpRedirectsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . HttpRedirectSummary , type : "Array<model.HttpRedirectSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllHttpRedirects ( request ) { return paginateRecords ( request , req => this . listHttpRedirects ( req ) ) ; } param request public listAllHttpRedirectsResponses ( request ) { return paginateResponses ( request , req => this . listHttpRedirects ( req ) ) ; } param request public listHttpRedirectsRecordIterator ( request ) { return paginateRecords ( request , req => this . listHttpRedirects ( req ) ) ; } param request public listHttpRedirectsResponseIterator ( request ) { return paginateResponses ( request , req => this . listHttpRedirects ( req ) ) ; } param UpdateHttpRedirectRequest return throws example Click  https to see how to use UpdateHttpRedirect API.
      public async updateHttpRedirect ( updateHttpRedirectRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation RedirectClient#updateHttpRedirect." ) ; const pathParams = { "{httpRedirectId}" : updateHttpRedirectRequest . httpRedirectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateHttpRedirectRequest . opcRequestId , "opc-retry-token" : updateHttpRedirectRequest . opcRetryToken , "if-match" : updateHttpRedirectRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateHttpRedirectRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/httpRedirects/{httpRedirectId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateHttpRedirectRequest . updateHttpRedirectDetails , "UpdateHttpRedirectDetails" , model . UpdateHttpRedirectDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateHttpRedirectResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } } export enum WaasApiKeys { ApiKey } /**
 * This service client uses  common . CircuitBreaker . DefaultConfiguration for all the operations by default if no circuit breaker configuration is defined by the user.
  export class WaasClient { protected static serviceEndpointTemplate = "https://waas.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : WaasWaiter ; protected "_clientConfiguration" : common . ClientConfiguration ; protected _circuitBreaker = null ; protected _httpClient : common . HttpClient ; constructor ( params , clientConfiguration ? ) { const requestSigner = params . authenticationDetailsProvider ? new common . DefaultRequestSigner ( params . authenticationDetailsProvider ) : null ; if ( clientConfiguration ) { this . _clientConfiguration = clientConfiguration ; this . _circuitBreaker = clientConfiguration . circuitBreaker ? clientConfiguration . circuitBreaker ! . circuit : null ; } const specCircuitBreakerEnabled = true ; if ( ! this . _circuitBreaker && common . utils . isCircuitBreakerSystemEnabled ( clientConfiguration ! ) && ( specCircuitBreakerEnabled || common . CircuitBreaker . DefaultCircuitBreakerOverriden ) ) { this . _circuitBreaker = new common . CircuitBreaker ( ) . circuit ; } this . _httpClient = params . httpClient || new common . FetchHttpClient ( requestSigner , this . _circuitBreaker ) ; if ( params . authenticationDetailsProvider && common . isRegionProvider ( params . authenticationDetailsProvider ) ) { const provider = params . authenticationDetailsProvider ; if ( provider . getRegion ( ) ) { this . region = provider . getRegion ( ) ; } } } /**
     * Get the endpoint that is being used to call (ex, https://www.example.com).
     */ public get endpoint ( ) { return this . _endpoint ; } param endpoint public set endpoint ( endpoint ) { this . _endpoint = endpoint ; this . _endpoint = this . _endpoint + "/20181116" ; if ( this . logger ) this . logger . info ( `WaasClient endpoint set to ${ this . _endpoint }` ) ; } public get logger ( ) { return common . LOG . logger ; } /**
     * Sets the region to call (ex, Region.US_PHOENIX_1).
     * Note, this will call  {@link #endpoint(String) endpoint} after resolving the endpoint.
     *  param region public set region ( region ) { this . endpoint = common . EndpointBuilder . createEndpointFromRegion ( WaasClient . serviceEndpointTemplate , region ) ; } /**
     * Sets the regionId to call (ex, 'us-phoenix-1').
     *
     * Note, this will first try to map the region ID to a known Region and call  {@link #region(Region) region} .
     * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
     * and then call  {@link #endpoint(String) endpoint} .
     *  param regionId public set regionId ( regionId ) { this . endpoint = common . EndpointBuilder . createEndpointFromRegionId ( WaasClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new WaasWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param AcceptRecommendationsRequest return throws example Click  https to see how to use AcceptRecommendations API.
        public async acceptRecommendations ( acceptRecommendationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#acceptRecommendations." ) ; const pathParams = { "{waasPolicyId}" : acceptRecommendationsRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : acceptRecommendationsRequest . opcRequestId , "if-match" : acceptRecommendationsRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , acceptRecommendationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/actions/acceptWafConfigRecommendations" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( acceptRecommendationsRequest . protectionRuleKeys , "Array<string>" ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AcceptRecommendationsResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CancelWorkRequestRequest return throws example Click  https to see how to use CancelWorkRequest API.
      public async cancelWorkRequest ( cancelWorkRequestRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#cancelWorkRequest." ) ; const pathParams = { "{workRequestId}" : cancelWorkRequestRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : cancelWorkRequestRequest . opcRequestId , "opc-retry-token" : cancelWorkRequestRequest . opcRetryToken , "if-match" : cancelWorkRequestRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , cancelWorkRequestRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CancelWorkRequestResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeAddressListCompartmentRequest return throws example Click  https to see how to use ChangeAddressListCompartment API.
      public async changeAddressListCompartment ( changeAddressListCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#changeAddressListCompartment." ) ; const pathParams = { "{addressListId}" : changeAddressListCompartmentRequest . addressListId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeAddressListCompartmentRequest . ifMatch , "opc-request-id" : changeAddressListCompartmentRequest . opcRequestId , "opc-retry-token" : changeAddressListCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeAddressListCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/addressLists/{addressListId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeAddressListCompartmentRequest . changeAddressListCompartmentDetails , "ChangeAddressListCompartmentDetails" , model . ChangeAddressListCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeAddressListCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeCertificateCompartmentRequest return throws example Click  https to see how to use ChangeCertificateCompartment API.
      public async changeCertificateCompartment ( changeCertificateCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#changeCertificateCompartment." ) ; const pathParams = { "{certificateId}" : changeCertificateCompartmentRequest . certificateId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeCertificateCompartmentRequest . ifMatch , "opc-request-id" : changeCertificateCompartmentRequest . opcRequestId , "opc-retry-token" : changeCertificateCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeCertificateCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/certificates/{certificateId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeCertificateCompartmentRequest . changeCertificateCompartmentDetails , "ChangeCertificateCompartmentDetails" , model . ChangeCertificateCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeCertificateCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeCustomProtectionRuleCompartmentRequest return throws example Click  https to see how to use ChangeCustomProtectionRuleCompartment API.
      public async changeCustomProtectionRuleCompartment ( changeCustomProtectionRuleCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#changeCustomProtectionRuleCompartment." ) ; const pathParams = { "{customProtectionRuleId}" : changeCustomProtectionRuleCompartmentRequest . customProtectionRuleId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeCustomProtectionRuleCompartmentRequest . ifMatch , "opc-request-id" : changeCustomProtectionRuleCompartmentRequest . opcRequestId , "opc-retry-token" : changeCustomProtectionRuleCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeCustomProtectionRuleCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/customProtectionRules/{customProtectionRuleId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeCustomProtectionRuleCompartmentRequest . changeCustomProtectionRuleCompartmentDetails , "ChangeCustomProtectionRuleCompartmentDetails" , model . ChangeCustomProtectionRuleCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeCustomProtectionRuleCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeWaasPolicyCompartmentRequest return throws example Click  https to see how to use ChangeWaasPolicyCompartment API.
      public async changeWaasPolicyCompartment ( changeWaasPolicyCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#changeWaasPolicyCompartment." ) ; const pathParams = { "{waasPolicyId}" : changeWaasPolicyCompartmentRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeWaasPolicyCompartmentRequest . ifMatch , "opc-request-id" : changeWaasPolicyCompartmentRequest . opcRequestId , "opc-retry-token" : changeWaasPolicyCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeWaasPolicyCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeWaasPolicyCompartmentRequest . changeWaasPolicyCompartmentDetails , "ChangeWaasPolicyCompartmentDetails" , model . ChangeWaasPolicyCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeWaasPolicyCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateAddressListRequest return throws example Click  https to see how to use CreateAddressList API.
      public async createAddressList ( createAddressListRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#createAddressList." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createAddressListRequest . opcRequestId , "opc-retry-token" : createAddressListRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createAddressListRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/addressLists" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createAddressListRequest . createAddressListDetails , "CreateAddressListDetails" , model . CreateAddressListDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateAddressListResponse > { } , body : await response . json ( ) , bodyKey : "addressList" , bodyModel : model . AddressList , type : "model.AddressList" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateCertificateRequest return throws example Click  https to see how to use CreateCertificate API.
        public async createCertificate ( createCertificateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#createCertificate." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createCertificateRequest . opcRequestId , "opc-retry-token" : createCertificateRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createCertificateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/certificates" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createCertificateRequest . createCertificateDetails , "CreateCertificateDetails" , model . CreateCertificateDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateCertificateResponse > { } , body : await response . json ( ) , bodyKey : "certificate" , bodyModel : model . Certificate , type : "model.Certificate" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateCustomProtectionRuleRequest return throws example Click  https to see how to use CreateCustomProtectionRule API.
        public async createCustomProtectionRule ( createCustomProtectionRuleRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#createCustomProtectionRule." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createCustomProtectionRuleRequest . opcRequestId , "opc-retry-token" : createCustomProtectionRuleRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createCustomProtectionRuleRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/customProtectionRules" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createCustomProtectionRuleRequest . createCustomProtectionRuleDetails , "CreateCustomProtectionRuleDetails" , model . CreateCustomProtectionRuleDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateCustomProtectionRuleResponse > { } , body : await response . json ( ) , bodyKey : "customProtectionRule" , bodyModel : model . CustomProtectionRule , type : "model.CustomProtectionRule" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateWaasPolicyRequest return throws example Click  https to see how to use CreateWaasPolicy API.
        public async createWaasPolicy ( createWaasPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#createWaasPolicy." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createWaasPolicyRequest . opcRequestId , "opc-retry-token" : createWaasPolicyRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createWaasPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createWaasPolicyRequest . createWaasPolicyDetails , "CreateWaasPolicyDetails" , model . CreateWaasPolicyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateWaasPolicyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteAddressListRequest return throws example Click  https to see how to use DeleteAddressList API.
      public async deleteAddressList ( deleteAddressListRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#deleteAddressList." ) ; const pathParams = { "{addressListId}" : deleteAddressListRequest . addressListId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteAddressListRequest . opcRequestId , "opc-retry-token" : deleteAddressListRequest . opcRetryToken , "if-match" : deleteAddressListRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteAddressListRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/addressLists/{addressListId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteAddressListResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteCertificateRequest return throws example Click  https to see how to use DeleteCertificate API.
      public async deleteCertificate ( deleteCertificateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#deleteCertificate." ) ; const pathParams = { "{certificateId}" : deleteCertificateRequest . certificateId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteCertificateRequest . opcRequestId , "opc-retry-token" : deleteCertificateRequest . opcRetryToken , "if-match" : deleteCertificateRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteCertificateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/certificates/{certificateId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteCertificateResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteCustomProtectionRuleRequest return throws example Click  https to see how to use DeleteCustomProtectionRule API.
      public async deleteCustomProtectionRule ( deleteCustomProtectionRuleRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#deleteCustomProtectionRule." ) ; const pathParams = { "{customProtectionRuleId}" : deleteCustomProtectionRuleRequest . customProtectionRuleId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteCustomProtectionRuleRequest . opcRequestId , "opc-retry-token" : deleteCustomProtectionRuleRequest . opcRetryToken , "if-match" : deleteCustomProtectionRuleRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteCustomProtectionRuleRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/customProtectionRules/{customProtectionRuleId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteCustomProtectionRuleResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteWaasPolicyRequest return throws example Click  https to see how to use DeleteWaasPolicy API.
      public async deleteWaasPolicy ( deleteWaasPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#deleteWaasPolicy." ) ; const pathParams = { "{waasPolicyId}" : deleteWaasPolicyRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteWaasPolicyRequest . opcRequestId , "opc-retry-token" : deleteWaasPolicyRequest . opcRetryToken , "if-match" : deleteWaasPolicyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteWaasPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteWaasPolicyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetAddressListRequest return throws example Click  https to see how to use GetAddressList API.
      public async getAddressList ( getAddressListRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getAddressList." ) ; const pathParams = { "{addressListId}" : getAddressListRequest . addressListId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getAddressListRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getAddressListRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/addressLists/{addressListId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetAddressListResponse > { } , body : await response . json ( ) , bodyKey : "addressList" , bodyModel : model . AddressList , type : "model.AddressList" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetCertificateRequest return throws example Click  https to see how to use GetCertificate API.
      public async getCertificate ( getCertificateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getCertificate." ) ; const pathParams = { "{certificateId}" : getCertificateRequest . certificateId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getCertificateRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getCertificateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/certificates/{certificateId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetCertificateResponse > { } , body : await response . json ( ) , bodyKey : "certificate" , bodyModel : model . Certificate , type : "model.Certificate" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetCustomProtectionRuleRequest return throws example Click  https to see how to use GetCustomProtectionRule API.
      public async getCustomProtectionRule ( getCustomProtectionRuleRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getCustomProtectionRule." ) ; const pathParams = { "{customProtectionRuleId}" : getCustomProtectionRuleRequest . customProtectionRuleId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getCustomProtectionRuleRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getCustomProtectionRuleRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/customProtectionRules/{customProtectionRuleId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetCustomProtectionRuleResponse > { } , body : await response . json ( ) , bodyKey : "customProtectionRule" , bodyModel : model . CustomProtectionRule , type : "model.CustomProtectionRule" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetDeviceFingerprintChallengeRequest return throws example Click  https to see how to use GetDeviceFingerprintChallenge API.
      public async getDeviceFingerprintChallenge ( getDeviceFingerprintChallengeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getDeviceFingerprintChallenge." ) ; const pathParams = { "{waasPolicyId}" : getDeviceFingerprintChallengeRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getDeviceFingerprintChallengeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDeviceFingerprintChallengeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/deviceFingerprintChallenge" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDeviceFingerprintChallengeResponse > { } , body : await response . json ( ) , bodyKey : "deviceFingerprintChallenge" , bodyModel : model . DeviceFingerprintChallenge , type : "model.DeviceFingerprintChallenge" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetHumanInteractionChallengeRequest return throws example Click  https to see how to use GetHumanInteractionChallenge API.
      public async getHumanInteractionChallenge ( getHumanInteractionChallengeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getHumanInteractionChallenge." ) ; const pathParams = { "{waasPolicyId}" : getHumanInteractionChallengeRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getHumanInteractionChallengeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getHumanInteractionChallengeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/humanInteractionChallenge" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetHumanInteractionChallengeResponse > { } , body : await response . json ( ) , bodyKey : "humanInteractionChallenge" , bodyModel : model . HumanInteractionChallenge , type : "model.HumanInteractionChallenge" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetJsChallengeRequest return throws example Click  https to see how to use GetJsChallenge API.
      public async getJsChallenge ( getJsChallengeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getJsChallenge." ) ; const pathParams = { "{waasPolicyId}" : getJsChallengeRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJsChallengeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJsChallengeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/jsChallenge" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJsChallengeResponse > { } , body : await response . json ( ) , bodyKey : "jsChallenge" , bodyModel : model . JsChallenge , type : "model.JsChallenge" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetPolicyConfigRequest return throws example Click  https to see how to use GetPolicyConfig API.
      public async getPolicyConfig ( getPolicyConfigRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getPolicyConfig." ) ; const pathParams = { "{waasPolicyId}" : getPolicyConfigRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getPolicyConfigRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPolicyConfigRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/policyConfig" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPolicyConfigResponse > { } , body : await response . json ( ) , bodyKey : "policyConfig" , bodyModel : model . PolicyConfig , type : "model.PolicyConfig" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetProtectionRuleRequest return throws example Click  https to see how to use GetProtectionRule API.
      public async getProtectionRule ( getProtectionRuleRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getProtectionRule." ) ; const pathParams = { "{waasPolicyId}" : getProtectionRuleRequest . waasPolicyId , "{protectionRuleKey}" : getProtectionRuleRequest . protectionRuleKey } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getProtectionRuleRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getProtectionRuleRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/protectionRules/{protectionRuleKey}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetProtectionRuleResponse > { } , body : await response . json ( ) , bodyKey : "protectionRule" , bodyModel : model . ProtectionRule , type : "model.ProtectionRule" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetProtectionSettingsRequest return throws example Click  https to see how to use GetProtectionSettings API.
      public async getProtectionSettings ( getProtectionSettingsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getProtectionSettings." ) ; const pathParams = { "{waasPolicyId}" : getProtectionSettingsRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getProtectionSettingsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getProtectionSettingsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/protectionSettings" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetProtectionSettingsResponse > { } , body : await response . json ( ) , bodyKey : "protectionSettings" , bodyModel : model . ProtectionSettings , type : "model.ProtectionSettings" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetWaasPolicyRequest return throws example Click  https to see how to use GetWaasPolicy API.
      public async getWaasPolicy ( getWaasPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getWaasPolicy." ) ; const pathParams = { "{waasPolicyId}" : getWaasPolicyRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getWaasPolicyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWaasPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWaasPolicyResponse > { } , body : await response . json ( ) , bodyKey : "waasPolicy" , bodyModel : model . WaasPolicy , type : "model.WaasPolicy" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetWafAddressRateLimitingRequest return throws example Click  https to see how to use GetWafAddressRateLimiting API.
      public async getWafAddressRateLimiting ( getWafAddressRateLimitingRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getWafAddressRateLimiting." ) ; const pathParams = { "{waasPolicyId}" : getWafAddressRateLimitingRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getWafAddressRateLimitingRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWafAddressRateLimitingRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/addressRateLimiting" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWafAddressRateLimitingResponse > { } , body : await response . json ( ) , bodyKey : "addressRateLimiting" , bodyModel : model . AddressRateLimiting , type : "model.AddressRateLimiting" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetWafConfigRequest return throws example Click  https to see how to use GetWafConfig API.
      public async getWafConfig ( getWafConfigRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getWafConfig." ) ; const pathParams = { "{waasPolicyId}" : getWafConfigRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getWafConfigRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWafConfigRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWafConfigResponse > { } , body : await response . json ( ) , bodyKey : "wafConfig" , bodyModel : model . WafConfig , type : "model.WafConfig" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetWorkRequestRequest return throws example Click  https to see how to use GetWorkRequest API.
      public async getWorkRequest ( getWorkRequestRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#getWorkRequest." ) ; const pathParams = { "{workRequestId}" : getWorkRequestRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getWorkRequestRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWorkRequestRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWorkRequestResponse > { } , body : await response . json ( ) , bodyKey : "workRequest" , bodyModel : model . WorkRequest , type : "model.WorkRequest" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "Retry-After" ) , key : "retryAfter" , dataType : "number" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListAccessRulesRequest return throws example Click  https to see how to use ListAccessRules API.
      public async listAccessRules ( listAccessRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listAccessRules." ) ; const pathParams = { "{waasPolicyId}" : listAccessRulesRequest . waasPolicyId } ; const queryParams = { "limit" : listAccessRulesRequest . limit , "page" : listAccessRulesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listAccessRulesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAccessRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/accessRules" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAccessRulesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . AccessRule , type : "Array<model.AccessRule>" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllAccessRules ( request ) { return paginateRecords ( request , req => this . listAccessRules ( req ) ) ; } param request public listAllAccessRulesResponses ( request ) { return paginateResponses ( request , req => this . listAccessRules ( req ) ) ; } param request public listAccessRulesRecordIterator ( request ) { return paginateRecords ( request , req => this . listAccessRules ( req ) ) ; } param request public listAccessRulesResponseIterator ( request ) { return paginateResponses ( request , req => this . listAccessRules ( req ) ) ; } param ListAddressListsRequest return throws example Click  https to see how to use ListAddressLists API.
      public async listAddressLists ( listAddressListsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listAddressLists." ) ; const pathParams = { } ; const queryParams = { "limit" : listAddressListsRequest . limit , "page" : listAddressListsRequest . page , "sortBy" : listAddressListsRequest . sortBy , "sortOrder" : listAddressListsRequest . sortOrder , "compartmentId" : listAddressListsRequest . compartmentId , "id" : listAddressListsRequest . id , "name" : listAddressListsRequest . name , "lifecycleState" : listAddressListsRequest . lifecycleState , "timeCreatedGreaterThanOrEqualTo" : listAddressListsRequest . timeCreatedGreaterThanOrEqualTo , "timeCreatedLessThan" : listAddressListsRequest . timeCreatedLessThan } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listAddressListsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAddressListsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/addressLists" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAddressListsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . AddressListSummary , type : "Array<model.AddressListSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllAddressLists ( request ) { return paginateRecords ( request , req => this . listAddressLists ( req ) ) ; } param request public listAllAddressListsResponses ( request ) { return paginateResponses ( request , req => this . listAddressLists ( req ) ) ; } param request public listAddressListsRecordIterator ( request ) { return paginateRecords ( request , req => this . listAddressLists ( req ) ) ; } param request public listAddressListsResponseIterator ( request ) { return paginateResponses ( request , req => this . listAddressLists ( req ) ) ; } param ListCachingRulesRequest return throws example Click  https to see how to use ListCachingRules API.
      public async listCachingRules ( listCachingRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listCachingRules." ) ; const pathParams = { "{waasPolicyId}" : listCachingRulesRequest . waasPolicyId } ; const queryParams = { "limit" : listCachingRulesRequest . limit , "page" : listCachingRulesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listCachingRulesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCachingRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/cachingRules" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCachingRulesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . CachingRuleSummary , type : "Array<model.CachingRuleSummary>" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllCachingRules ( request ) { return paginateRecords ( request , req => this . listCachingRules ( req ) ) ; } param request public listAllCachingRulesResponses ( request ) { return paginateResponses ( request , req => this . listCachingRules ( req ) ) ; } param request public listCachingRulesRecordIterator ( request ) { return paginateRecords ( request , req => this . listCachingRules ( req ) ) ; } param request public listCachingRulesResponseIterator ( request ) { return paginateResponses ( request , req => this . listCachingRules ( req ) ) ; } param ListCaptchasRequest return throws example Click  https to see how to use ListCaptchas API.
        public async listCaptchas ( listCaptchasRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listCaptchas." ) ; const pathParams = { "{waasPolicyId}" : listCaptchasRequest . waasPolicyId } ; const queryParams = { "limit" : listCaptchasRequest . limit , "page" : listCaptchasRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listCaptchasRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCaptchasRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/captchas" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCaptchasResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Captcha , type : "Array<model.Captcha>" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllCaptchas ( request ) { return paginateRecords ( request , req => this . listCaptchas ( req ) ) ; } param request public listAllCaptchasResponses ( request ) { return paginateResponses ( request , req => this . listCaptchas ( req ) ) ; } param request public listCaptchasRecordIterator ( request ) { return paginateRecords ( request , req => this . listCaptchas ( req ) ) ; } param request public listCaptchasResponseIterator ( request ) { return paginateResponses ( request , req => this . listCaptchas ( req ) ) ; } param ListCertificatesRequest return throws example Click  https to see how to use ListCertificates API.
      public async listCertificates ( listCertificatesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listCertificates." ) ; const pathParams = { } ; const queryParams = { "limit" : listCertificatesRequest . limit , "page" : listCertificatesRequest . page , "sortBy" : listCertificatesRequest . sortBy , "sortOrder" : listCertificatesRequest . sortOrder , "compartmentId" : listCertificatesRequest . compartmentId , "id" : listCertificatesRequest . id , "displayName" : listCertificatesRequest . displayName , "lifecycleState" : listCertificatesRequest . lifecycleState , "timeCreatedGreaterThanOrEqualTo" : listCertificatesRequest . timeCreatedGreaterThanOrEqualTo , "timeCreatedLessThan" : listCertificatesRequest . timeCreatedLessThan } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listCertificatesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCertificatesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/certificates" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCertificatesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . CertificateSummary , type : "Array<model.CertificateSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllCertificates ( request ) { return paginateRecords ( request , req => this . listCertificates ( req ) ) ; } param request public listAllCertificatesResponses ( request ) { return paginateResponses ( request , req => this . listCertificates ( req ) ) ; } param request public listCertificatesRecordIterator ( request ) { return paginateRecords ( request , req => this . listCertificates ( req ) ) ; } param request public listCertificatesResponseIterator ( request ) { return paginateResponses ( request , req => this . listCertificates ( req ) ) ; } param ListCustomProtectionRulesRequest return throws example Click  https to see how to use ListCustomProtectionRules API.
      public async listCustomProtectionRules ( listCustomProtectionRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listCustomProtectionRules." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listCustomProtectionRulesRequest . compartmentId , "limit" : listCustomProtectionRulesRequest . limit , "page" : listCustomProtectionRulesRequest . page , "sortBy" : listCustomProtectionRulesRequest . sortBy , "sortOrder" : listCustomProtectionRulesRequest . sortOrder , "id" : listCustomProtectionRulesRequest . id , "displayName" : listCustomProtectionRulesRequest . displayName , "lifecycleState" : listCustomProtectionRulesRequest . lifecycleState , "timeCreatedGreaterThanOrEqualTo" : listCustomProtectionRulesRequest . timeCreatedGreaterThanOrEqualTo , "timeCreatedLessThan" : listCustomProtectionRulesRequest . timeCreatedLessThan } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listCustomProtectionRulesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCustomProtectionRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/customProtectionRules" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCustomProtectionRulesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . CustomProtectionRuleSummary , type : "Array<model.CustomProtectionRuleSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllCustomProtectionRules ( request ) { return paginateRecords ( request , req => this . listCustomProtectionRules ( req ) ) ; } param request public listAllCustomProtectionRulesResponses ( request ) { return paginateResponses ( request , req => this . listCustomProtectionRules ( req ) ) ; } param request public listCustomProtectionRulesRecordIterator ( request ) { return paginateRecords ( request , req => this . listCustomProtectionRules ( req ) ) ; } param request public listCustomProtectionRulesResponseIterator ( request ) { return paginateResponses ( request , req => this . listCustomProtectionRules ( req ) ) ; } param ListEdgeSubnetsRequest return throws example Click  https to see how to use ListEdgeSubnets API.
      public async listEdgeSubnets ( listEdgeSubnetsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listEdgeSubnets." ) ; const pathParams = { } ; const queryParams = { "limit" : listEdgeSubnetsRequest . limit , "page" : listEdgeSubnetsRequest . page , "sortBy" : listEdgeSubnetsRequest . sortBy , "sortOrder" : listEdgeSubnetsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listEdgeSubnetsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listEdgeSubnetsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/edgeSubnets" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListEdgeSubnetsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . EdgeSubnet , type : "Array<model.EdgeSubnet>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllEdgeSubnets ( request ) { return paginateRecords ( request , req => this . listEdgeSubnets ( req ) ) ; } param request public listAllEdgeSubnetsResponses ( request ) { return paginateResponses ( request , req => this . listEdgeSubnets ( req ) ) ; } param request public listEdgeSubnetsRecordIterator ( request ) { return paginateRecords ( request , req => this . listEdgeSubnets ( req ) ) ; } param request public listEdgeSubnetsResponseIterator ( request ) { return paginateResponses ( request , req => this . listEdgeSubnets ( req ) ) ; } param ListGoodBotsRequest return throws example Click  https to see how to use ListGoodBots API.
        public async listGoodBots ( listGoodBotsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listGoodBots." ) ; const pathParams = { "{waasPolicyId}" : listGoodBotsRequest . waasPolicyId } ; const queryParams = { "limit" : listGoodBotsRequest . limit , "page" : listGoodBotsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listGoodBotsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listGoodBotsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/goodBots" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListGoodBotsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . GoodBot , type : "Array<model.GoodBot>" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllGoodBots ( request ) { return paginateRecords ( request , req => this . listGoodBots ( req ) ) ; } param request public listAllGoodBotsResponses ( request ) { return paginateResponses ( request , req => this . listGoodBots ( req ) ) ; } param request public listGoodBotsRecordIterator ( request ) { return paginateRecords ( request , req => this . listGoodBots ( req ) ) ; } param request public listGoodBotsResponseIterator ( request ) { return paginateResponses ( request , req => this . listGoodBots ( req ) ) ; } param ListProtectionRulesRequest return throws example Click  https to see how to use ListProtectionRules API.
      public async listProtectionRules ( listProtectionRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listProtectionRules." ) ; const pathParams = { "{waasPolicyId}" : listProtectionRulesRequest . waasPolicyId } ; const queryParams = { "limit" : listProtectionRulesRequest . limit , "page" : listProtectionRulesRequest . page , "modSecurityRuleId" : listProtectionRulesRequest . modSecurityRuleId , "action" : listProtectionRulesRequest . action } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listProtectionRulesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listProtectionRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/protectionRules" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListProtectionRulesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ProtectionRule , type : "Array<model.ProtectionRule>" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllProtectionRules ( request ) { return paginateRecords ( request , req => this . listProtectionRules ( req ) ) ; } param request public listAllProtectionRulesResponses ( request ) { return paginateResponses ( request , req => this . listProtectionRules ( req ) ) ; } param request public listProtectionRulesRecordIterator ( request ) { return paginateRecords ( request , req => this . listProtectionRules ( req ) ) ; } param request public listProtectionRulesResponseIterator ( request ) { return paginateResponses ( request , req => this . listProtectionRules ( req ) ) ; } param ListRecommendationsRequest return throws example Click  https to see how to use ListRecommendations API.
        public async listRecommendations ( listRecommendationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listRecommendations." ) ; const pathParams = { "{waasPolicyId}" : listRecommendationsRequest . waasPolicyId } ; const queryParams = { "recommendedAction" : listRecommendationsRequest . recommendedAction , "limit" : listRecommendationsRequest . limit , "page" : listRecommendationsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listRecommendationsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listRecommendationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/recommendations" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListRecommendationsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Recommendation , type : "Array<model.Recommendation>" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllRecommendations ( request ) { return paginateRecords ( request , req => this . listRecommendations ( req ) ) ; } param request public listAllRecommendationsResponses ( request ) { return paginateResponses ( request , req => this . listRecommendations ( req ) ) ; } param request public listRecommendationsRecordIterator ( request ) { return paginateRecords ( request , req => this . listRecommendations ( req ) ) ; } param request public listRecommendationsResponseIterator ( request ) { return paginateResponses ( request , req => this . listRecommendations ( req ) ) ; } param ListThreatFeedsRequest return throws example Click  https to see how to use ListThreatFeeds API.
      public async listThreatFeeds ( listThreatFeedsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listThreatFeeds." ) ; const pathParams = { "{waasPolicyId}" : listThreatFeedsRequest . waasPolicyId } ; const queryParams = { "limit" : listThreatFeedsRequest . limit , "page" : listThreatFeedsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listThreatFeedsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listThreatFeedsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/threatFeeds" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListThreatFeedsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ThreatFeed , type : "Array<model.ThreatFeed>" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllThreatFeeds ( request ) { return paginateRecords ( request , req => this . listThreatFeeds ( req ) ) ; } param request public listAllThreatFeedsResponses ( request ) { return paginateResponses ( request , req => this . listThreatFeeds ( req ) ) ; } param request public listThreatFeedsRecordIterator ( request ) { return paginateRecords ( request , req => this . listThreatFeeds ( req ) ) ; } param request public listThreatFeedsResponseIterator ( request ) { return paginateResponses ( request , req => this . listThreatFeeds ( req ) ) ; } param ListWaasPoliciesRequest return throws example Click  https to see how to use ListWaasPolicies API.
      public async listWaasPolicies ( listWaasPoliciesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listWaasPolicies." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listWaasPoliciesRequest . compartmentId , "limit" : listWaasPoliciesRequest . limit , "page" : listWaasPoliciesRequest . page , "sortBy" : listWaasPoliciesRequest . sortBy , "sortOrder" : listWaasPoliciesRequest . sortOrder , "id" : listWaasPoliciesRequest . id , "displayName" : listWaasPoliciesRequest . displayName , "lifecycleState" : listWaasPoliciesRequest . lifecycleState , "timeCreatedGreaterThanOrEqualTo" : listWaasPoliciesRequest . timeCreatedGreaterThanOrEqualTo , "timeCreatedLessThan" : listWaasPoliciesRequest . timeCreatedLessThan } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWaasPoliciesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWaasPoliciesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWaasPoliciesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WaasPolicySummary , type : "Array<model.WaasPolicySummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWaasPolicies ( request ) { return paginateRecords ( request , req => this . listWaasPolicies ( req ) ) ; } param request public listAllWaasPoliciesResponses ( request ) { return paginateResponses ( request , req => this . listWaasPolicies ( req ) ) ; } param request public listWaasPoliciesRecordIterator ( request ) { return paginateRecords ( request , req => this . listWaasPolicies ( req ) ) ; } param request public listWaasPoliciesResponseIterator ( request ) { return paginateResponses ( request , req => this . listWaasPolicies ( req ) ) ; } param ListWaasPolicyCustomProtectionRulesRequest return throws example Click  https to see how to use ListWaasPolicyCustomProtectionRules API.
      public async listWaasPolicyCustomProtectionRules ( listWaasPolicyCustomProtectionRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listWaasPolicyCustomProtectionRules." ) ; const pathParams = { "{waasPolicyId}" : listWaasPolicyCustomProtectionRulesRequest . waasPolicyId } ; const queryParams = { "limit" : listWaasPolicyCustomProtectionRulesRequest . limit , "page" : listWaasPolicyCustomProtectionRulesRequest . page , "modSecurityRuleId" : listWaasPolicyCustomProtectionRulesRequest . modSecurityRuleId , "action" : listWaasPolicyCustomProtectionRulesRequest . action } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWaasPolicyCustomProtectionRulesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWaasPolicyCustomProtectionRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/customProtectionRules" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWaasPolicyCustomProtectionRulesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WaasPolicyCustomProtectionRuleSummary , type : "Array<model.WaasPolicyCustomProtectionRuleSummary>" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWaasPolicyCustomProtectionRules ( request ) { return paginateRecords ( request , req => this . listWaasPolicyCustomProtectionRules ( req ) ) ; } param request public listAllWaasPolicyCustomProtectionRulesResponses ( request ) { return paginateResponses ( request , req => this . listWaasPolicyCustomProtectionRules ( req ) ) ; } param request public listWaasPolicyCustomProtectionRulesRecordIterator ( request ) { return paginateRecords ( request , req => this . listWaasPolicyCustomProtectionRules ( req ) ) ; } param request public listWaasPolicyCustomProtectionRulesResponseIterator ( request ) { return paginateResponses ( request , req => this . listWaasPolicyCustomProtectionRules ( req ) ) ; } param ListWafBlockedRequestsRequest return throws example Click  https to see how to use ListWafBlockedRequests API.
      public async listWafBlockedRequests ( listWafBlockedRequestsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listWafBlockedRequests." ) ; const pathParams = { "{waasPolicyId}" : listWafBlockedRequestsRequest . waasPolicyId } ; const queryParams = { "timeObservedGreaterThanOrEqualTo" : listWafBlockedRequestsRequest . timeObservedGreaterThanOrEqualTo , "timeObservedLessThan" : listWafBlockedRequestsRequest . timeObservedLessThan , "limit" : listWafBlockedRequestsRequest . limit , "page" : listWafBlockedRequestsRequest . page , "wafFeature" : listWafBlockedRequestsRequest . wafFeature } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWafBlockedRequestsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWafBlockedRequestsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/reports/waf/blocked" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWafBlockedRequestsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WafBlockedRequest , type : "Array<model.WafBlockedRequest>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWafBlockedRequests ( request ) { return paginateRecords ( request , req => this . listWafBlockedRequests ( req ) ) ; } param request public listAllWafBlockedRequestsResponses ( request ) { return paginateResponses ( request , req => this . listWafBlockedRequests ( req ) ) ; } param request public listWafBlockedRequestsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWafBlockedRequests ( req ) ) ; } param request public listWafBlockedRequestsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWafBlockedRequests ( req ) ) ; } param ListWafLogsRequest return throws example Click  https to see how to use ListWafLogs API.
      public async listWafLogs ( listWafLogsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listWafLogs." ) ; const pathParams = { "{waasPolicyId}" : listWafLogsRequest . waasPolicyId } ; const queryParams = { "limit" : listWafLogsRequest . limit , "page" : listWafLogsRequest . page , "timeObservedGreaterThanOrEqualTo" : listWafLogsRequest . timeObservedGreaterThanOrEqualTo , "timeObservedLessThan" : listWafLogsRequest . timeObservedLessThan , "textContains" : listWafLogsRequest . textContains , "accessRuleKey" : listWafLogsRequest . accessRuleKey , "action" : listWafLogsRequest . action , "clientAddress" : listWafLogsRequest . clientAddress , "countryCode" : listWafLogsRequest . countryCode , "countryName" : listWafLogsRequest . countryName , "fingerprint" : listWafLogsRequest . fingerprint , "httpMethod" : listWafLogsRequest . httpMethod , "incidentKey" : listWafLogsRequest . incidentKey , "logType" : listWafLogsRequest . logType , "originAddress" : listWafLogsRequest . originAddress , "referrer" : listWafLogsRequest . referrer , "requestUrl" : listWafLogsRequest . requestUrl , "responseCode" : listWafLogsRequest . responseCode , "threatFeedKey" : listWafLogsRequest . threatFeedKey , "userAgent" : listWafLogsRequest . userAgent , "protectionRuleKey" : listWafLogsRequest . protectionRuleKey } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWafLogsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWafLogsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafLogs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWafLogsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WafLog , type : "Array<model.WafLog>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWafLogs ( request ) { return paginateRecords ( request , req => this . listWafLogs ( req ) ) ; } param request public listAllWafLogsResponses ( request ) { return paginateResponses ( request , req => this . listWafLogs ( req ) ) ; } param request public listWafLogsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWafLogs ( req ) ) ; } param request public listWafLogsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWafLogs ( req ) ) ; } param ListWafRequestsRequest return throws example Click  https to see how to use ListWafRequests API.
      public async listWafRequests ( listWafRequestsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listWafRequests." ) ; const pathParams = { "{waasPolicyId}" : listWafRequestsRequest . waasPolicyId } ; const queryParams = { "timeObservedGreaterThanOrEqualTo" : listWafRequestsRequest . timeObservedGreaterThanOrEqualTo , "timeObservedLessThan" : listWafRequestsRequest . timeObservedLessThan , "limit" : listWafRequestsRequest . limit , "page" : listWafRequestsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWafRequestsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWafRequestsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/reports/waf/requests" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWafRequestsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WafRequest , type : "Array<model.WafRequest>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWafRequests ( request ) { return paginateRecords ( request , req => this . listWafRequests ( req ) ) ; } param request public listAllWafRequestsResponses ( request ) { return paginateResponses ( request , req => this . listWafRequests ( req ) ) ; } param request public listWafRequestsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWafRequests ( req ) ) ; } param request public listWafRequestsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWafRequests ( req ) ) ; } param ListWafTrafficRequest return throws example Click  https to see how to use ListWafTraffic API.
      public async listWafTraffic ( listWafTrafficRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listWafTraffic." ) ; const pathParams = { "{waasPolicyId}" : listWafTrafficRequest . waasPolicyId } ; const queryParams = { "timeObservedGreaterThanOrEqualTo" : listWafTrafficRequest . timeObservedGreaterThanOrEqualTo , "timeObservedLessThan" : listWafTrafficRequest . timeObservedLessThan , "limit" : listWafTrafficRequest . limit , "page" : listWafTrafficRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWafTrafficRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWafTrafficRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/reports/waf/traffic" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWafTrafficResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WafTrafficDatum , type : "Array<model.WafTrafficDatum>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWafTraffic ( request ) { return paginateRecords ( request , req => this . listWafTraffic ( req ) ) ; } param request public listAllWafTrafficResponses ( request ) { return paginateResponses ( request , req => this . listWafTraffic ( req ) ) ; } param request public listWafTrafficRecordIterator ( request ) { return paginateRecords ( request , req => this . listWafTraffic ( req ) ) ; } param request public listWafTrafficResponseIterator ( request ) { return paginateResponses ( request , req => this . listWafTraffic ( req ) ) ; } param ListWhitelistsRequest return throws example Click  https to see how to use ListWhitelists API.
      public async listWhitelists ( listWhitelistsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listWhitelists." ) ; const pathParams = { "{waasPolicyId}" : listWhitelistsRequest . waasPolicyId } ; const queryParams = { "limit" : listWhitelistsRequest . limit , "page" : listWhitelistsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWhitelistsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWhitelistsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/whitelists" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWhitelistsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Whitelist , type : "Array<model.Whitelist>" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWhitelists ( request ) { return paginateRecords ( request , req => this . listWhitelists ( req ) ) ; } param request public listAllWhitelistsResponses ( request ) { return paginateResponses ( request , req => this . listWhitelists ( req ) ) ; } param request public listWhitelistsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWhitelists ( req ) ) ; } param request public listWhitelistsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWhitelists ( req ) ) ; } param ListWorkRequestsRequest return throws example Click  https to see how to use ListWorkRequests API.
      public async listWorkRequests ( listWorkRequestsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#listWorkRequests." ) ; const pathParams = { } ; const queryParams = { "waasPolicyId" : listWorkRequestsRequest . waasPolicyId , "compartmentId" : listWorkRequestsRequest . compartmentId , "limit" : listWorkRequestsRequest . limit , "page" : listWorkRequestsRequest . page , "sortBy" : listWorkRequestsRequest . sortBy , "sortOrder" : listWorkRequestsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestSummary , type : "Array<model.WorkRequestSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWorkRequests ( request ) { return paginateRecords ( request , req => this . listWorkRequests ( req ) ) ; } param request public listAllWorkRequestsResponses ( request ) { return paginateResponses ( request , req => this . listWorkRequests ( req ) ) ; } param request public listWorkRequestsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWorkRequests ( req ) ) ; } param request public listWorkRequestsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWorkRequests ( req ) ) ; } param PurgeCacheRequest return throws example Click  https to see how to use PurgeCache API.
      public async purgeCache ( purgeCacheRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#purgeCache." ) ; const pathParams = { "{waasPolicyId}" : purgeCacheRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : purgeCacheRequest . opcRequestId , "if-match" : purgeCacheRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , purgeCacheRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/actions/purgeCache" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( purgeCacheRequest . purgeCache , "PurgeCache" , model . PurgeCache . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . PurgeCacheResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateAccessRulesRequest return throws example Click  https to see how to use UpdateAccessRules API.
        public async updateAccessRules ( updateAccessRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateAccessRules." ) ; const pathParams = { "{waasPolicyId}" : updateAccessRulesRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateAccessRulesRequest . opcRequestId , "opc-retry-token" : updateAccessRulesRequest . opcRetryToken , "if-match" : updateAccessRulesRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateAccessRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/accessRules" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateAccessRulesRequest . accessRules , "Array<model.AccessRule>" , model . AccessRule . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateAccessRulesResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateAddressListRequest return throws example Click  https to see how to use UpdateAddressList API.
      public async updateAddressList ( updateAddressListRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateAddressList." ) ; const pathParams = { "{addressListId}" : updateAddressListRequest . addressListId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateAddressListRequest . opcRequestId , "if-match" : updateAddressListRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateAddressListRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/addressLists/{addressListId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateAddressListRequest . updateAddressListDetails , "UpdateAddressListDetails" , model . UpdateAddressListDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateAddressListResponse > { } , body : await response . json ( ) , bodyKey : "addressList" , bodyModel : model . AddressList , type : "model.AddressList" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateCachingRulesRequest return throws example Click  https to see how to use UpdateCachingRules API.
        public async updateCachingRules ( updateCachingRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateCachingRules." ) ; const pathParams = { "{waasPolicyId}" : updateCachingRulesRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateCachingRulesRequest . opcRequestId , "opc-retry-token" : updateCachingRulesRequest . opcRetryToken , "if-match" : updateCachingRulesRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateCachingRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/cachingRules" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateCachingRulesRequest . cachingRulesDetails , "Array<model.CachingRule>" , model . CachingRule . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateCachingRulesResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateCaptchasRequest return throws example Click  https to see how to use UpdateCaptchas API.
        public async updateCaptchas ( updateCaptchasRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateCaptchas." ) ; const pathParams = { "{waasPolicyId}" : updateCaptchasRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateCaptchasRequest . opcRequestId , "opc-retry-token" : updateCaptchasRequest . opcRetryToken , "if-match" : updateCaptchasRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateCaptchasRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/captchas" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateCaptchasRequest . captchas , "Array<model.Captcha>" , model . Captcha . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateCaptchasResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateCertificateRequest return throws example Click  https to see how to use UpdateCertificate API.
      public async updateCertificate ( updateCertificateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateCertificate." ) ; const pathParams = { "{certificateId}" : updateCertificateRequest . certificateId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateCertificateRequest . opcRequestId , "if-match" : updateCertificateRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateCertificateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/certificates/{certificateId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateCertificateRequest . updateCertificateDetails , "UpdateCertificateDetails" , model . UpdateCertificateDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateCertificateResponse > { } , body : await response . json ( ) , bodyKey : "certificate" , bodyModel : model . Certificate , type : "model.Certificate" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateCustomProtectionRuleRequest return throws example Click  https to see how to use UpdateCustomProtectionRule API.
      public async updateCustomProtectionRule ( updateCustomProtectionRuleRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateCustomProtectionRule." ) ; const pathParams = { "{customProtectionRuleId}" : updateCustomProtectionRuleRequest . customProtectionRuleId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateCustomProtectionRuleRequest . opcRequestId , "opc-retry-token" : updateCustomProtectionRuleRequest . opcRetryToken , "if-match" : updateCustomProtectionRuleRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateCustomProtectionRuleRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/customProtectionRules/{customProtectionRuleId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateCustomProtectionRuleRequest . updateCustomProtectionRuleDetails , "UpdateCustomProtectionRuleDetails" , model . UpdateCustomProtectionRuleDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateCustomProtectionRuleResponse > { } , body : await response . json ( ) , bodyKey : "customProtectionRule" , bodyModel : model . CustomProtectionRule , type : "model.CustomProtectionRule" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateDeviceFingerprintChallengeRequest return throws example Click  https to see how to use UpdateDeviceFingerprintChallenge API.
        public async updateDeviceFingerprintChallenge ( updateDeviceFingerprintChallengeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateDeviceFingerprintChallenge." ) ; const pathParams = { "{waasPolicyId}" : updateDeviceFingerprintChallengeRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateDeviceFingerprintChallengeRequest . opcRequestId , "opc-retry-token" : updateDeviceFingerprintChallengeRequest . opcRetryToken , "if-match" : updateDeviceFingerprintChallengeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDeviceFingerprintChallengeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/deviceFingerprintChallenge" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateDeviceFingerprintChallengeRequest . updateDeviceFingerprintChallengeDetails , "DeviceFingerprintChallenge" , model . DeviceFingerprintChallenge . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDeviceFingerprintChallengeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateGoodBotsRequest return throws example Click  https to see how to use UpdateGoodBots API.
        public async updateGoodBots ( updateGoodBotsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateGoodBots." ) ; const pathParams = { "{waasPolicyId}" : updateGoodBotsRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateGoodBotsRequest . opcRequestId , "opc-retry-token" : updateGoodBotsRequest . opcRetryToken , "if-match" : updateGoodBotsRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateGoodBotsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/goodBots" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateGoodBotsRequest . goodBots , "Array<model.GoodBot>" , model . GoodBot . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateGoodBotsResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateHumanInteractionChallengeRequest return throws example Click  https to see how to use UpdateHumanInteractionChallenge API.
      public async updateHumanInteractionChallenge ( updateHumanInteractionChallengeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateHumanInteractionChallenge." ) ; const pathParams = { "{waasPolicyId}" : updateHumanInteractionChallengeRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateHumanInteractionChallengeRequest . opcRequestId , "opc-retry-token" : updateHumanInteractionChallengeRequest . opcRetryToken , "if-match" : updateHumanInteractionChallengeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateHumanInteractionChallengeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/humanInteractionChallenge" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateHumanInteractionChallengeRequest . updateHumanInteractionChallengeDetails , "HumanInteractionChallenge" , model . HumanInteractionChallenge . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateHumanInteractionChallengeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateJsChallengeRequest return throws example Click  https to see how to use UpdateJsChallenge API.
      public async updateJsChallenge ( updateJsChallengeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateJsChallenge." ) ; const pathParams = { "{waasPolicyId}" : updateJsChallengeRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateJsChallengeRequest . opcRequestId , "opc-retry-token" : updateJsChallengeRequest . opcRetryToken , "if-match" : updateJsChallengeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateJsChallengeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/jsChallenge" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateJsChallengeRequest . updateJsChallengeDetails , "JsChallenge" , model . JsChallenge . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateJsChallengeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdatePolicyConfigRequest return throws example Click  https to see how to use UpdatePolicyConfig API.
      public async updatePolicyConfig ( updatePolicyConfigRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updatePolicyConfig." ) ; const pathParams = { "{waasPolicyId}" : updatePolicyConfigRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updatePolicyConfigRequest . opcRequestId , "opc-retry-token" : updatePolicyConfigRequest . opcRetryToken , "if-match" : updatePolicyConfigRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updatePolicyConfigRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/policyConfig" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updatePolicyConfigRequest . updatePolicyConfigDetails , "PolicyConfig" , model . PolicyConfig . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdatePolicyConfigResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateProtectionRulesRequest return throws example Click  https to see how to use UpdateProtectionRules API.
      public async updateProtectionRules ( updateProtectionRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateProtectionRules." ) ; const pathParams = { "{waasPolicyId}" : updateProtectionRulesRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateProtectionRulesRequest . opcRequestId , "if-match" : updateProtectionRulesRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateProtectionRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/protectionRules" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateProtectionRulesRequest . protectionRules , "Array<model.ProtectionRuleAction>" , model . ProtectionRuleAction . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateProtectionRulesResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateProtectionSettingsRequest return throws example Click  https to see how to use UpdateProtectionSettings API.
      public async updateProtectionSettings ( updateProtectionSettingsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateProtectionSettings." ) ; const pathParams = { "{waasPolicyId}" : updateProtectionSettingsRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateProtectionSettingsRequest . opcRequestId , "opc-retry-token" : updateProtectionSettingsRequest . opcRetryToken , "if-match" : updateProtectionSettingsRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateProtectionSettingsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/protectionSettings" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateProtectionSettingsRequest . updateProtectionSettingsDetails , "ProtectionSettings" , model . ProtectionSettings . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateProtectionSettingsResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateThreatFeedsRequest return throws example Click  https to see how to use UpdateThreatFeeds API.
      public async updateThreatFeeds ( updateThreatFeedsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateThreatFeeds." ) ; const pathParams = { "{waasPolicyId}" : updateThreatFeedsRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateThreatFeedsRequest . opcRequestId , "if-match" : updateThreatFeedsRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateThreatFeedsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/threatFeeds" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateThreatFeedsRequest . threatFeeds , "Array<model.ThreatFeedAction>" , model . ThreatFeedAction . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateThreatFeedsResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateWaasPolicyRequest return throws example Click  https to see how to use UpdateWaasPolicy API.
      public async updateWaasPolicy ( updateWaasPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateWaasPolicy." ) ; const pathParams = { "{waasPolicyId}" : updateWaasPolicyRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateWaasPolicyRequest . opcRequestId , "opc-retry-token" : updateWaasPolicyRequest . opcRetryToken , "if-match" : updateWaasPolicyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateWaasPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateWaasPolicyRequest . updateWaasPolicyDetails , "UpdateWaasPolicyDetails" , model . UpdateWaasPolicyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateWaasPolicyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateWaasPolicyCustomProtectionRulesRequest return throws example Click  https to see how to use UpdateWaasPolicyCustomProtectionRules API.
      public async updateWaasPolicyCustomProtectionRules ( updateWaasPolicyCustomProtectionRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateWaasPolicyCustomProtectionRules." ) ; const pathParams = { "{waasPolicyId}" : updateWaasPolicyCustomProtectionRulesRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateWaasPolicyCustomProtectionRulesRequest . opcRequestId , "opc-retry-token" : updateWaasPolicyCustomProtectionRulesRequest . opcRetryToken , "if-match" : updateWaasPolicyCustomProtectionRulesRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateWaasPolicyCustomProtectionRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/customProtectionRules" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateWaasPolicyCustomProtectionRulesRequest . updateCustomProtectionRulesDetails , "Array<model.CustomProtectionRuleSetting>" , model . CustomProtectionRuleSetting . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateWaasPolicyCustomProtectionRulesResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateWafAddressRateLimitingRequest return throws example Click  https to see how to use UpdateWafAddressRateLimiting API.
      public async updateWafAddressRateLimiting ( updateWafAddressRateLimitingRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateWafAddressRateLimiting." ) ; const pathParams = { "{waasPolicyId}" : updateWafAddressRateLimitingRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateWafAddressRateLimitingRequest . opcRequestId , "opc-retry-token" : updateWafAddressRateLimitingRequest . opcRetryToken , "if-match" : updateWafAddressRateLimitingRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateWafAddressRateLimitingRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/addressRateLimiting" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateWafAddressRateLimitingRequest . updateWafAddressRateLimitingDetails , "AddressRateLimiting" , model . AddressRateLimiting . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateWafAddressRateLimitingResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateWafConfigRequest return throws example Click  https to see how to use UpdateWafConfig API.
        public async updateWafConfig ( updateWafConfigRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateWafConfig." ) ; const pathParams = { "{waasPolicyId}" : updateWafConfigRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateWafConfigRequest . opcRequestId , "opc-retry-token" : updateWafConfigRequest . opcRetryToken , "if-match" : updateWafConfigRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateWafConfigRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateWafConfigRequest . updateWafConfigDetails , "WafConfig" , model . WafConfig . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateWafConfigResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateWhitelistsRequest return throws example Click  https to see how to use UpdateWhitelists API.
        public async updateWhitelists ( updateWhitelistsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation WaasClient#updateWhitelists." ) ; const pathParams = { "{waasPolicyId}" : updateWhitelistsRequest . waasPolicyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateWhitelistsRequest . opcRequestId , "opc-retry-token" : updateWhitelistsRequest . opcRetryToken , "if-match" : updateWhitelistsRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateWhitelistsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/waasPolicies/{waasPolicyId}/wafConfig/whitelists" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateWhitelistsRequest . whitelists , "Array<model.Whitelist>" , model . Whitelist . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateWhitelistsResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } }