/**
 * Load Balancing API
 * API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more
information, see [Overview of Load Balancing](/iaas/Content/Balance/Concepts/balanceoverview.htm).

 * OpenAPI spec version: 20170115
 *
 *
 * 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 { LoadBalancerWaiter } from "./loadbalancer-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum LoadBalancerApiKeys { } /**
 * 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 LoadBalancerClient { protected static serviceEndpointTemplate = "https://iaas.{region}.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : LoadBalancerWaiter ; 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 + "/20170115" ; if ( this . logger ) this . logger . info ( `LoadBalancerClient 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 ( LoadBalancerClient . 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 ( LoadBalancerClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new LoadBalancerWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param ChangeLoadBalancerCompartmentRequest return throws example Click  https to see how to use ChangeLoadBalancerCompartment API.
      public async changeLoadBalancerCompartment ( changeLoadBalancerCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#changeLoadBalancerCompartment." ) ; const pathParams = { "{loadBalancerId}" : changeLoadBalancerCompartmentRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeLoadBalancerCompartmentRequest . opcRequestId , "opc-retry-token" : changeLoadBalancerCompartmentRequest . opcRetryToken , "if-match" : changeLoadBalancerCompartmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeLoadBalancerCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeLoadBalancerCompartmentRequest . changeLoadBalancerCompartmentDetails , "ChangeLoadBalancerCompartmentDetails" , model . ChangeLoadBalancerCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeLoadBalancerCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateBackendRequest return throws example Click  https to see how to use CreateBackend API.
      public async createBackend ( createBackendRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#createBackend." ) ; const pathParams = { "{loadBalancerId}" : createBackendRequest . loadBalancerId , "{backendSetName}" : createBackendRequest . backendSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createBackendRequest . opcRequestId , "opc-retry-token" : createBackendRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createBackendRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createBackendRequest . createBackendDetails , "CreateBackendDetails" , model . CreateBackendDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateBackendResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateBackendSetRequest return throws example Click  https to see how to use CreateBackendSet API.
      public async createBackendSet ( createBackendSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#createBackendSet." ) ; const pathParams = { "{loadBalancerId}" : createBackendSetRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createBackendSetRequest . opcRequestId , "opc-retry-token" : createBackendSetRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createBackendSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createBackendSetRequest . createBackendSetDetails , "CreateBackendSetDetails" , model . CreateBackendSetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateBackendSetResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , 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 LoadBalancerClient#createCertificate." ) ; const pathParams = { "{loadBalancerId}" : createCertificateRequest . loadBalancerId } ; 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 : "/loadBalancers/{loadBalancerId}/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 > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateHostnameRequest return throws example Click  https to see how to use CreateHostname API.
      public async createHostname ( createHostnameRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#createHostname." ) ; const pathParams = { "{loadBalancerId}" : createHostnameRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createHostnameRequest . opcRequestId , "opc-retry-token" : createHostnameRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createHostnameRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/hostnames" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createHostnameRequest . createHostnameDetails , "CreateHostnameDetails" , model . CreateHostnameDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateHostnameResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateListenerRequest return throws example Click  https to see how to use CreateListener API.
      public async createListener ( createListenerRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#createListener." ) ; const pathParams = { "{loadBalancerId}" : createListenerRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createListenerRequest . opcRequestId , "opc-retry-token" : createListenerRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createListenerRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/listeners" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createListenerRequest . createListenerDetails , "CreateListenerDetails" , model . CreateListenerDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateListenerResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Creates a new load balancer in the specified compartment. For general information about load balancers,
  * see [Overview of the Load Balancing Service](https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm).
  * <p>
  For the purposes of access control, you must provide the OCID of the compartment where you want
  * the load balancer to reside. Notice that the load balancer doesn't have to be in the same compartment as the VCN
  * or backend set. If you're not sure which compartment to use, put the load balancer in the same compartment as the VCN.
  * For information about access control and compartments, see
  * [Overview of the IAM Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm).
  * <p>
  You must specify a display name for the load balancer. It does not have to be unique, and you can change it.
  * <p>
  For information about Availability Domains, see
  * [Regions and Availability Domains](https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm).
  * To get a list of Availability Domains, use the `ListAvailabilityDomains` operation
  * in the Identity and Access Management Service API.
  * <p>
  All Oracle Cloud Infrastructure resources, including load balancers, get an Oracle-assigned,
  * unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID
  * in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type,
  * or by viewing the resource in the Console. Fore more information, see
  * [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
  * <p>
  After you send your request, the new object's state will temporarily be PROVISIONING. Before using the
  * object, first make sure its state has changed to RUNNING.
  * <p>
  When you create a load balancer, the system assigns an IP address.
  * To get the IP address, use the  {@link #getLoadBalancer(GetLoadBalancerRequest) getLoadBalancer} operation.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateLoadBalancerRequest return throws example Click  https to see how to use CreateLoadBalancer API.
        public async createLoadBalancer ( createLoadBalancerRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#createLoadBalancer." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createLoadBalancerRequest . opcRequestId , "opc-retry-token" : createLoadBalancerRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createLoadBalancerRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createLoadBalancerRequest . createLoadBalancerDetails , "CreateLoadBalancerDetails" , model . CreateLoadBalancerDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateLoadBalancerResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreatePathRouteSetRequest return throws example Click  https to see how to use CreatePathRouteSet API.
      public async createPathRouteSet ( createPathRouteSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#createPathRouteSet." ) ; const pathParams = { "{loadBalancerId}" : createPathRouteSetRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createPathRouteSetRequest . opcRequestId , "opc-retry-token" : createPathRouteSetRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createPathRouteSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/pathRouteSets" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createPathRouteSetRequest . createPathRouteSetDetails , "CreatePathRouteSetDetails" , model . CreatePathRouteSetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreatePathRouteSetResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateRoutingPolicyRequest return throws example Click  https to see how to use CreateRoutingPolicy API.
      public async createRoutingPolicy ( createRoutingPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#createRoutingPolicy." ) ; const pathParams = { "{loadBalancerId}" : createRoutingPolicyRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createRoutingPolicyRequest . opcRequestId , "opc-retry-token" : createRoutingPolicyRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createRoutingPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/routingPolicies" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createRoutingPolicyRequest . createRoutingPolicyDetails , "CreateRoutingPolicyDetails" , model . CreateRoutingPolicyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateRoutingPolicyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateRuleSetRequest return throws example Click  https to see how to use CreateRuleSet API.
      public async createRuleSet ( createRuleSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#createRuleSet." ) ; const pathParams = { "{loadBalancerId}" : createRuleSetRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createRuleSetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createRuleSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/ruleSets" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createRuleSetRequest . createRuleSetDetails , "CreateRuleSetDetails" , model . CreateRuleSetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateRuleSetResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateSSLCipherSuiteRequest return throws example Click  https to see how to use CreateSSLCipherSuite API.
      public async createSSLCipherSuite ( createSSLCipherSuiteRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#createSSLCipherSuite." ) ; const pathParams = { "{loadBalancerId}" : createSSLCipherSuiteRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createSSLCipherSuiteRequest . opcRequestId , "opc-retry-token" : createSSLCipherSuiteRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createSSLCipherSuiteRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/sslCipherSuites" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createSSLCipherSuiteRequest . createSSLCipherSuiteDetails , "CreateSSLCipherSuiteDetails" , model . CreateSSLCipherSuiteDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateSSLCipherSuiteResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteBackendRequest return throws example Click  https to see how to use DeleteBackend API.
      public async deleteBackend ( deleteBackendRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#deleteBackend." ) ; const pathParams = { "{loadBalancerId}" : deleteBackendRequest . loadBalancerId , "{backendSetName}" : deleteBackendRequest . backendSetName , "{backendName}" : deleteBackendRequest . backendName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteBackendRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteBackendRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteBackendResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteBackendSetRequest return throws example Click  https to see how to use DeleteBackendSet API.
        public async deleteBackendSet ( deleteBackendSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#deleteBackendSet." ) ; const pathParams = { "{loadBalancerId}" : deleteBackendSetRequest . loadBalancerId , "{backendSetName}" : deleteBackendSetRequest . backendSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteBackendSetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteBackendSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteBackendSetResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { 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 LoadBalancerClient#deleteCertificate." ) ; const pathParams = { "{loadBalancerId}" : deleteCertificateRequest . loadBalancerId , "{certificateName}" : deleteCertificateRequest . certificateName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteCertificateRequest . opcRequestId } ; 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 : "/loadBalancers/{loadBalancerId}/certificates/{certificateName}" , 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-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteHostnameRequest return throws example Click  https to see how to use DeleteHostname API.
      public async deleteHostname ( deleteHostnameRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#deleteHostname." ) ; const pathParams = { "{loadBalancerId}" : deleteHostnameRequest . loadBalancerId , "{name}" : deleteHostnameRequest . name } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteHostnameRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteHostnameRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/hostnames/{name}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteHostnameResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteListenerRequest return throws example Click  https to see how to use DeleteListener API.
      public async deleteListener ( deleteListenerRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#deleteListener." ) ; const pathParams = { "{loadBalancerId}" : deleteListenerRequest . loadBalancerId , "{listenerName}" : deleteListenerRequest . listenerName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteListenerRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteListenerRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/listeners/{listenerName}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteListenerResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteLoadBalancerRequest return throws example Click  https to see how to use DeleteLoadBalancer API.
      public async deleteLoadBalancer ( deleteLoadBalancerRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#deleteLoadBalancer." ) ; const pathParams = { "{loadBalancerId}" : deleteLoadBalancerRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteLoadBalancerRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteLoadBalancerRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteLoadBalancerResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Deletes a path route set from the specified load balancer.
  * <p>
  To delete a path route rule from a path route set, use the
  *  {@link #updatePathRouteSet(UpdatePathRouteSetRequest) updatePathRouteSet} operation.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param DeletePathRouteSetRequest return throws example Click  https to see how to use DeletePathRouteSet API.
        public async deletePathRouteSet ( deletePathRouteSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#deletePathRouteSet." ) ; const pathParams = { "{loadBalancerId}" : deletePathRouteSetRequest . loadBalancerId , "{pathRouteSetName}" : deletePathRouteSetRequest . pathRouteSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deletePathRouteSetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deletePathRouteSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/pathRouteSets/{pathRouteSetName}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeletePathRouteSetResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Deletes a routing policy from the specified load balancer.
  * <p>
  To delete a routing rule from a routing policy, use the
  *  {@link #updateRoutingPolicy(UpdateRoutingPolicyRequest) updateRoutingPolicy} operation.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param DeleteRoutingPolicyRequest return throws example Click  https to see how to use DeleteRoutingPolicy API.
        public async deleteRoutingPolicy ( deleteRoutingPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#deleteRoutingPolicy." ) ; const pathParams = { "{loadBalancerId}" : deleteRoutingPolicyRequest . loadBalancerId , "{routingPolicyName}" : deleteRoutingPolicyRequest . routingPolicyName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteRoutingPolicyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteRoutingPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/routingPolicies/{routingPolicyName}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteRoutingPolicyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Deletes a rule set from the specified load balancer.
  * <p>
  To delete a rule from a rule set, use the
  *  {@link #updateRuleSet(UpdateRuleSetRequest) updateRuleSet} operation.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param DeleteRuleSetRequest return throws example Click  https to see how to use DeleteRuleSet API.
        public async deleteRuleSet ( deleteRuleSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#deleteRuleSet." ) ; const pathParams = { "{loadBalancerId}" : deleteRuleSetRequest . loadBalancerId , "{ruleSetName}" : deleteRuleSetRequest . ruleSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteRuleSetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteRuleSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/ruleSets/{ruleSetName}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteRuleSetResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteSSLCipherSuiteRequest return throws example Click  https to see how to use DeleteSSLCipherSuite API.
      public async deleteSSLCipherSuite ( deleteSSLCipherSuiteRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#deleteSSLCipherSuite." ) ; const pathParams = { "{loadBalancerId}" : deleteSSLCipherSuiteRequest . loadBalancerId , "{name}" : deleteSSLCipherSuiteRequest . name } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteSSLCipherSuiteRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteSSLCipherSuiteRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/sslCipherSuites/{name}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteSSLCipherSuiteResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetBackendRequest return throws example Click  https to see how to use GetBackend API.
      public async getBackend ( getBackendRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#getBackend." ) ; const pathParams = { "{loadBalancerId}" : getBackendRequest . loadBalancerId , "{backendSetName}" : getBackendRequest . backendSetName , "{backendName}" : getBackendRequest . backendName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getBackendRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBackendRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBackendResponse > { } , body : await response . json ( ) , bodyKey : "backend" , bodyModel : model . Backend , type : "model.Backend" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetBackendHealthRequest return throws example Click  https to see how to use GetBackendHealth API.
      public async getBackendHealth ( getBackendHealthRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#getBackendHealth." ) ; const pathParams = { "{loadBalancerId}" : getBackendHealthRequest . loadBalancerId , "{backendSetName}" : getBackendHealthRequest . backendSetName , "{backendName}" : getBackendHealthRequest . backendName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getBackendHealthRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBackendHealthRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}/health" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBackendHealthResponse > { } , body : await response . json ( ) , bodyKey : "backendHealth" , bodyModel : model . BackendHealth , type : "model.BackendHealth" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetBackendSetRequest return throws example Click  https to see how to use GetBackendSet API.
      public async getBackendSet ( getBackendSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#getBackendSet." ) ; const pathParams = { "{loadBalancerId}" : getBackendSetRequest . loadBalancerId , "{backendSetName}" : getBackendSetRequest . backendSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getBackendSetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBackendSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBackendSetResponse > { } , body : await response . json ( ) , bodyKey : "backendSet" , bodyModel : model . BackendSet , type : "model.BackendSet" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetBackendSetHealthRequest return throws example Click  https to see how to use GetBackendSetHealth API.
      public async getBackendSetHealth ( getBackendSetHealthRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#getBackendSetHealth." ) ; const pathParams = { "{loadBalancerId}" : getBackendSetHealthRequest . loadBalancerId , "{backendSetName}" : getBackendSetHealthRequest . backendSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getBackendSetHealthRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBackendSetHealthRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/health" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBackendSetHealthResponse > { } , body : await response . json ( ) , bodyKey : "backendSetHealth" , bodyModel : model . BackendSetHealth , type : "model.BackendSetHealth" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetHealthCheckerRequest return throws example Click  https to see how to use GetHealthChecker API.
      public async getHealthChecker ( getHealthCheckerRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#getHealthChecker." ) ; const pathParams = { "{loadBalancerId}" : getHealthCheckerRequest . loadBalancerId , "{backendSetName}" : getHealthCheckerRequest . backendSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getHealthCheckerRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getHealthCheckerRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/healthChecker" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetHealthCheckerResponse > { } , body : await response . json ( ) , bodyKey : "healthChecker" , bodyModel : model . HealthChecker , type : "model.HealthChecker" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetHostnameRequest return throws example Click  https to see how to use GetHostname API.
      public async getHostname ( getHostnameRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#getHostname." ) ; const pathParams = { "{loadBalancerId}" : getHostnameRequest . loadBalancerId , "{name}" : getHostnameRequest . name } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getHostnameRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getHostnameRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/hostnames/{name}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetHostnameResponse > { } , body : await response . json ( ) , bodyKey : "hostname" , bodyModel : model . Hostname , type : "model.Hostname" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetLoadBalancerRequest return throws example Click  https to see how to use GetLoadBalancer API.
      public async getLoadBalancer ( getLoadBalancerRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#getLoadBalancer." ) ; const pathParams = { "{loadBalancerId}" : getLoadBalancerRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getLoadBalancerRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getLoadBalancerRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetLoadBalancerResponse > { } , body : await response . json ( ) , bodyKey : "loadBalancer" , bodyModel : model . LoadBalancer , type : "model.LoadBalancer" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetLoadBalancerHealthRequest return throws example Click  https to see how to use GetLoadBalancerHealth API.
      public async getLoadBalancerHealth ( getLoadBalancerHealthRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#getLoadBalancerHealth." ) ; const pathParams = { "{loadBalancerId}" : getLoadBalancerHealthRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getLoadBalancerHealthRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getLoadBalancerHealthRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/health" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetLoadBalancerHealthResponse > { } , body : await response . json ( ) , bodyKey : "loadBalancerHealth" , bodyModel : model . LoadBalancerHealth , type : "model.LoadBalancerHealth" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetPathRouteSetRequest return throws example Click  https to see how to use GetPathRouteSet API.
      public async getPathRouteSet ( getPathRouteSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#getPathRouteSet." ) ; const pathParams = { "{loadBalancerId}" : getPathRouteSetRequest . loadBalancerId , "{pathRouteSetName}" : getPathRouteSetRequest . pathRouteSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getPathRouteSetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPathRouteSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/pathRouteSets/{pathRouteSetName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPathRouteSetResponse > { } , body : await response . json ( ) , bodyKey : "pathRouteSet" , bodyModel : model . PathRouteSet , type : "model.PathRouteSet" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetRoutingPolicyRequest return throws example Click  https to see how to use GetRoutingPolicy API.
      public async getRoutingPolicy ( getRoutingPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#getRoutingPolicy." ) ; const pathParams = { "{loadBalancerId}" : getRoutingPolicyRequest . loadBalancerId , "{routingPolicyName}" : getRoutingPolicyRequest . routingPolicyName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getRoutingPolicyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getRoutingPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/routingPolicies/{routingPolicyName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetRoutingPolicyResponse > { } , body : await response . json ( ) , bodyKey : "routingPolicy" , bodyModel : model . RoutingPolicy , type : "model.RoutingPolicy" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetRuleSetRequest return throws example Click  https to see how to use GetRuleSet API.
      public async getRuleSet ( getRuleSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#getRuleSet." ) ; const pathParams = { "{loadBalancerId}" : getRuleSetRequest . loadBalancerId , "{ruleSetName}" : getRuleSetRequest . ruleSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getRuleSetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getRuleSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/ruleSets/{ruleSetName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetRuleSetResponse > { } , body : await response . json ( ) , bodyKey : "ruleSet" , bodyModel : model . RuleSet , type : "model.RuleSet" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetSSLCipherSuiteRequest return throws example Click  https to see how to use GetSSLCipherSuite API.
      public async getSSLCipherSuite ( getSSLCipherSuiteRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#getSSLCipherSuite." ) ; const pathParams = { "{loadBalancerId}" : getSSLCipherSuiteRequest . loadBalancerId , "{name}" : getSSLCipherSuiteRequest . name } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getSSLCipherSuiteRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getSSLCipherSuiteRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/sslCipherSuites/{name}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetSSLCipherSuiteResponse > { } , body : await response . json ( ) , bodyKey : "sSLCipherSuite" , bodyModel : model . SSLCipherSuite , type : "model.SSLCipherSuite" , responseHeaders : [ { 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 LoadBalancerClient#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 : "/loadBalancerWorkRequests/{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 ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListBackendSetsRequest return throws example Click  https to see how to use ListBackendSets API.
      public async listBackendSets ( listBackendSetsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listBackendSets." ) ; const pathParams = { "{loadBalancerId}" : listBackendSetsRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listBackendSetsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listBackendSetsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListBackendSetsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . BackendSet , type : "Array<model.BackendSet>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListBackendsRequest return throws example Click  https to see how to use ListBackends API.
      public async listBackends ( listBackendsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listBackends." ) ; const pathParams = { "{loadBalancerId}" : listBackendsRequest . loadBalancerId , "{backendSetName}" : listBackendsRequest . backendSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listBackendsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listBackendsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListBackendsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Backend , type : "Array<model.Backend>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } 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 LoadBalancerClient#listCertificates." ) ; const pathParams = { "{loadBalancerId}" : listCertificatesRequest . loadBalancerId } ; const queryParams = { } ; 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 : "/loadBalancers/{loadBalancerId}/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 . Certificate , type : "Array<model.Certificate>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListHostnamesRequest return throws example Click  https to see how to use ListHostnames API.
      public async listHostnames ( listHostnamesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listHostnames." ) ; const pathParams = { "{loadBalancerId}" : listHostnamesRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listHostnamesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listHostnamesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/hostnames" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListHostnamesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Hostname , type : "Array<model.Hostname>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListListenerRulesRequest return throws example Click  https to see how to use ListListenerRules API.
      public async listListenerRules ( listListenerRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listListenerRules." ) ; const pathParams = { "{loadBalancerId}" : listListenerRulesRequest . loadBalancerId , "{listenerName}" : listListenerRulesRequest . listenerName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listListenerRulesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listListenerRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/listeners/{listenerName}/rules" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListListenerRulesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ListenerRuleSummary , type : "Array<model.ListenerRuleSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListLoadBalancerHealthsRequest return throws example Click  https to see how to use ListLoadBalancerHealths API.
      public async listLoadBalancerHealths ( listLoadBalancerHealthsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listLoadBalancerHealths." ) ; const pathParams = { } ; const queryParams = { "limit" : listLoadBalancerHealthsRequest . limit , "page" : listLoadBalancerHealthsRequest . page , "compartmentId" : listLoadBalancerHealthsRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listLoadBalancerHealthsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listLoadBalancerHealthsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancerHealths" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListLoadBalancerHealthsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . LoadBalancerHealthSummary , type : "Array<model.LoadBalancerHealthSummary>" , 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 listAllLoadBalancerHealths ( request ) { return paginateRecords ( request , req => this . listLoadBalancerHealths ( req ) ) ; } param request public listAllLoadBalancerHealthsResponses ( request ) { return paginateResponses ( request , req => this . listLoadBalancerHealths ( req ) ) ; } param request public listLoadBalancerHealthsRecordIterator ( request ) { return paginateRecords ( request , req => this . listLoadBalancerHealths ( req ) ) ; } param request public listLoadBalancerHealthsResponseIterator ( request ) { return paginateResponses ( request , req => this . listLoadBalancerHealths ( req ) ) ; } param ListLoadBalancersRequest return throws example Click  https to see how to use ListLoadBalancers API.
      public async listLoadBalancers ( listLoadBalancersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listLoadBalancers." ) ; const pathParams = { } ; const queryParams = { "limit" : listLoadBalancersRequest . limit , "page" : listLoadBalancersRequest . page , "compartmentId" : listLoadBalancersRequest . compartmentId , "detail" : listLoadBalancersRequest . detail , "sortBy" : listLoadBalancersRequest . sortBy , "sortOrder" : listLoadBalancersRequest . sortOrder , "displayName" : listLoadBalancersRequest . displayName , "lifecycleState" : listLoadBalancersRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listLoadBalancersRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listLoadBalancersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListLoadBalancersResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . LoadBalancer , type : "Array<model.LoadBalancer>" , 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 listAllLoadBalancers ( request ) { return paginateRecords ( request , req => this . listLoadBalancers ( req ) ) ; } param request public listAllLoadBalancersResponses ( request ) { return paginateResponses ( request , req => this . listLoadBalancers ( req ) ) ; } param request public listLoadBalancersRecordIterator ( request ) { return paginateRecords ( request , req => this . listLoadBalancers ( req ) ) ; } param request public listLoadBalancersResponseIterator ( request ) { return paginateResponses ( request , req => this . listLoadBalancers ( req ) ) ; } param ListPathRouteSetsRequest return throws example Click  https to see how to use ListPathRouteSets API.
      public async listPathRouteSets ( listPathRouteSetsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listPathRouteSets." ) ; const pathParams = { "{loadBalancerId}" : listPathRouteSetsRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listPathRouteSetsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listPathRouteSetsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/pathRouteSets" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListPathRouteSetsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . PathRouteSet , type : "Array<model.PathRouteSet>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListPoliciesRequest return throws example Click  https to see how to use ListPolicies API.
      public async listPolicies ( listPoliciesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listPolicies." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listPoliciesRequest . compartmentId , "limit" : listPoliciesRequest . limit , "page" : listPoliciesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listPoliciesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listPoliciesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancerPolicies" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListPoliciesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . LoadBalancerPolicy , type : "Array<model.LoadBalancerPolicy>" , 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 listAllPolicies ( request ) { return paginateRecords ( request , req => this . listPolicies ( req ) ) ; } param request public listAllPoliciesResponses ( request ) { return paginateResponses ( request , req => this . listPolicies ( req ) ) ; } param request public listPoliciesRecordIterator ( request ) { return paginateRecords ( request , req => this . listPolicies ( req ) ) ; } param request public listPoliciesResponseIterator ( request ) { return paginateResponses ( request , req => this . listPolicies ( req ) ) ; } param ListProtocolsRequest return throws example Click  https to see how to use ListProtocols API.
      public async listProtocols ( listProtocolsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listProtocols." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listProtocolsRequest . compartmentId , "limit" : listProtocolsRequest . limit , "page" : listProtocolsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listProtocolsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listProtocolsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancerProtocols" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListProtocolsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . LoadBalancerProtocol , type : "Array<model.LoadBalancerProtocol>" , 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 listAllProtocols ( request ) { return paginateRecords ( request , req => this . listProtocols ( req ) ) ; } param request public listAllProtocolsResponses ( request ) { return paginateResponses ( request , req => this . listProtocols ( req ) ) ; } param request public listProtocolsRecordIterator ( request ) { return paginateRecords ( request , req => this . listProtocols ( req ) ) ; } param request public listProtocolsResponseIterator ( request ) { return paginateResponses ( request , req => this . listProtocols ( req ) ) ; } param ListRoutingPoliciesRequest return throws example Click  https to see how to use ListRoutingPolicies API.
      public async listRoutingPolicies ( listRoutingPoliciesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listRoutingPolicies." ) ; const pathParams = { "{loadBalancerId}" : listRoutingPoliciesRequest . loadBalancerId } ; const queryParams = { "limit" : listRoutingPoliciesRequest . limit , "page" : listRoutingPoliciesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listRoutingPoliciesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listRoutingPoliciesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/routingPolicies" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListRoutingPoliciesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . RoutingPolicy , type : "Array<model.RoutingPolicy>" , 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 listAllRoutingPolicies ( request ) { return paginateRecords ( request , req => this . listRoutingPolicies ( req ) ) ; } param request public listAllRoutingPoliciesResponses ( request ) { return paginateResponses ( request , req => this . listRoutingPolicies ( req ) ) ; } param request public listRoutingPoliciesRecordIterator ( request ) { return paginateRecords ( request , req => this . listRoutingPolicies ( req ) ) ; } param request public listRoutingPoliciesResponseIterator ( request ) { return paginateResponses ( request , req => this . listRoutingPolicies ( req ) ) ; } param ListRuleSetsRequest return throws example Click  https to see how to use ListRuleSets API.
      public async listRuleSets ( listRuleSetsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listRuleSets." ) ; const pathParams = { "{loadBalancerId}" : listRuleSetsRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listRuleSetsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listRuleSetsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/ruleSets" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListRuleSetsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . RuleSet , type : "Array<model.RuleSet>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListSSLCipherSuitesRequest return throws example Click  https to see how to use ListSSLCipherSuites API.
      public async listSSLCipherSuites ( listSSLCipherSuitesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listSSLCipherSuites." ) ; const pathParams = { "{loadBalancerId}" : listSSLCipherSuitesRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listSSLCipherSuitesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSSLCipherSuitesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/sslCipherSuites" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSSLCipherSuitesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . SSLCipherSuite , type : "Array<model.SSLCipherSuite>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListShapesRequest return throws example Click  https to see how to use ListShapes API.
      public async listShapes ( listShapesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#listShapes." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listShapesRequest . compartmentId , "limit" : listShapesRequest . limit , "page" : listShapesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listShapesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listShapesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancerShapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListShapesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . LoadBalancerShape , type : "Array<model.LoadBalancerShape>" , 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 listAllShapes ( request ) { return paginateRecords ( request , req => this . listShapes ( req ) ) ; } param request public listAllShapesResponses ( request ) { return paginateResponses ( request , req => this . listShapes ( req ) ) ; } param request public listShapesRecordIterator ( request ) { return paginateRecords ( request , req => this . listShapes ( req ) ) ; } param request public listShapesResponseIterator ( request ) { return paginateResponses ( request , req => this . listShapes ( 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 LoadBalancerClient#listWorkRequests." ) ; const pathParams = { "{loadBalancerId}" : listWorkRequestsRequest . loadBalancerId } ; const queryParams = { "limit" : listWorkRequestsRequest . limit , "page" : listWorkRequestsRequest . page } ; 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 : "/loadBalancers/{loadBalancerId}/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 . WorkRequest , type : "Array<model.WorkRequest>" , 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 UpdateBackendRequest return throws example Click  https to see how to use UpdateBackend API.
      public async updateBackend ( updateBackendRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#updateBackend." ) ; const pathParams = { "{loadBalancerId}" : updateBackendRequest . loadBalancerId , "{backendSetName}" : updateBackendRequest . backendSetName , "{backendName}" : updateBackendRequest . backendName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateBackendRequest . opcRequestId , "opc-retry-token" : updateBackendRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateBackendRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateBackendRequest . updateBackendDetails , "UpdateBackendDetails" , model . UpdateBackendDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateBackendResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateBackendSetRequest return throws example Click  https to see how to use UpdateBackendSet API.
      public async updateBackendSet ( updateBackendSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#updateBackendSet." ) ; const pathParams = { "{loadBalancerId}" : updateBackendSetRequest . loadBalancerId , "{backendSetName}" : updateBackendSetRequest . backendSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateBackendSetRequest . opcRequestId , "opc-retry-token" : updateBackendSetRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateBackendSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateBackendSetRequest . updateBackendSetDetails , "UpdateBackendSetDetails" , model . UpdateBackendSetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateBackendSetResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateHealthCheckerRequest return throws example Click  https to see how to use UpdateHealthChecker API.
      public async updateHealthChecker ( updateHealthCheckerRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#updateHealthChecker." ) ; const pathParams = { "{loadBalancerId}" : updateHealthCheckerRequest . loadBalancerId , "{backendSetName}" : updateHealthCheckerRequest . backendSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateHealthCheckerRequest . opcRequestId , "opc-retry-token" : updateHealthCheckerRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateHealthCheckerRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/healthChecker" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateHealthCheckerRequest . healthChecker , "UpdateHealthCheckerDetails" , model . UpdateHealthCheckerDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateHealthCheckerResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateHostnameRequest return throws example Click  https to see how to use UpdateHostname API.
      public async updateHostname ( updateHostnameRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#updateHostname." ) ; const pathParams = { "{loadBalancerId}" : updateHostnameRequest . loadBalancerId , "{name}" : updateHostnameRequest . name } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateHostnameRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateHostnameRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/hostnames/{name}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateHostnameRequest . updateHostnameDetails , "UpdateHostnameDetails" , model . UpdateHostnameDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateHostnameResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateListenerRequest return throws example Click  https to see how to use UpdateListener API.
      public async updateListener ( updateListenerRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#updateListener." ) ; const pathParams = { "{loadBalancerId}" : updateListenerRequest . loadBalancerId , "{listenerName}" : updateListenerRequest . listenerName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateListenerRequest . opcRequestId , "opc-retry-token" : updateListenerRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateListenerRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/listeners/{listenerName}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateListenerRequest . updateListenerDetails , "UpdateListenerDetails" , model . UpdateListenerDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateListenerResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateLoadBalancerRequest return throws example Click  https to see how to use UpdateLoadBalancer API.
      public async updateLoadBalancer ( updateLoadBalancerRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#updateLoadBalancer." ) ; const pathParams = { "{loadBalancerId}" : updateLoadBalancerRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateLoadBalancerRequest . opcRequestId , "opc-retry-token" : updateLoadBalancerRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateLoadBalancerRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateLoadBalancerRequest . updateLoadBalancerDetails , "UpdateLoadBalancerDetails" , model . UpdateLoadBalancerDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateLoadBalancerResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateLoadBalancerShapeRequest return throws example Click  https to see how to use UpdateLoadBalancerShape API.
      public async updateLoadBalancerShape ( updateLoadBalancerShapeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#updateLoadBalancerShape." ) ; const pathParams = { "{loadBalancerId}" : updateLoadBalancerShapeRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateLoadBalancerShapeRequest . opcRequestId , "opc-retry-token" : updateLoadBalancerShapeRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateLoadBalancerShapeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/updateShape" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateLoadBalancerShapeRequest . updateLoadBalancerShapeDetails , "UpdateLoadBalancerShapeDetails" , model . UpdateLoadBalancerShapeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateLoadBalancerShapeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateNetworkSecurityGroupsRequest return throws example Click  https to see how to use UpdateNetworkSecurityGroups API.
      public async updateNetworkSecurityGroups ( updateNetworkSecurityGroupsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#updateNetworkSecurityGroups." ) ; const pathParams = { "{loadBalancerId}" : updateNetworkSecurityGroupsRequest . loadBalancerId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateNetworkSecurityGroupsRequest . opcRequestId , "opc-retry-token" : updateNetworkSecurityGroupsRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateNetworkSecurityGroupsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/networkSecurityGroups" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateNetworkSecurityGroupsRequest . updateNetworkSecurityGroupsDetails , "UpdateNetworkSecurityGroupsDetails" , model . UpdateNetworkSecurityGroupsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateNetworkSecurityGroupsResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Overwrites an existing path route set on the specified load balancer. Use this operation to add, delete, or alter
  * path route rules in a path route set.
  * <p>
  To add a new path route rule to a path route set, the `pathRoutes` in the
  *  {@link #updatePathRouteSetDetails(UpdatePathRouteSetDetailsRequest) updatePathRouteSetDetails} object must include
  * both the new path route rule to add and the existing path route rules to retain.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param UpdatePathRouteSetRequest return throws example Click  https to see how to use UpdatePathRouteSet API.
        public async updatePathRouteSet ( updatePathRouteSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#updatePathRouteSet." ) ; const pathParams = { "{loadBalancerId}" : updatePathRouteSetRequest . loadBalancerId , "{pathRouteSetName}" : updatePathRouteSetRequest . pathRouteSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updatePathRouteSetRequest . opcRequestId , "opc-retry-token" : updatePathRouteSetRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updatePathRouteSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/pathRouteSets/{pathRouteSetName}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updatePathRouteSetRequest . updatePathRouteSetDetails , "UpdatePathRouteSetDetails" , model . UpdatePathRouteSetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdatePathRouteSetResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateRoutingPolicyRequest return throws example Click  https to see how to use UpdateRoutingPolicy API.
        public async updateRoutingPolicy ( updateRoutingPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#updateRoutingPolicy." ) ; const pathParams = { "{loadBalancerId}" : updateRoutingPolicyRequest . loadBalancerId , "{routingPolicyName}" : updateRoutingPolicyRequest . routingPolicyName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateRoutingPolicyRequest . opcRequestId , "opc-retry-token" : updateRoutingPolicyRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateRoutingPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/routingPolicies/{routingPolicyName}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateRoutingPolicyRequest . updateRoutingPolicyDetails , "UpdateRoutingPolicyDetails" , model . UpdateRoutingPolicyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateRoutingPolicyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateRuleSetRequest return throws example Click  https to see how to use UpdateRuleSet API.
        public async updateRuleSet ( updateRuleSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#updateRuleSet." ) ; const pathParams = { "{loadBalancerId}" : updateRuleSetRequest . loadBalancerId , "{ruleSetName}" : updateRuleSetRequest . ruleSetName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateRuleSetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateRuleSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/ruleSets/{ruleSetName}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateRuleSetRequest . updateRuleSetDetails , "UpdateRuleSetDetails" , model . UpdateRuleSetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateRuleSetResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateSSLCipherSuiteRequest return throws example Click  https to see how to use UpdateSSLCipherSuite API.
      public async updateSSLCipherSuite ( updateSSLCipherSuiteRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation LoadBalancerClient#updateSSLCipherSuite." ) ; const pathParams = { "{loadBalancerId}" : updateSSLCipherSuiteRequest . loadBalancerId , "{name}" : updateSSLCipherSuiteRequest . name } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateSSLCipherSuiteRequest . opcRequestId , "opc-retry-token" : updateSSLCipherSuiteRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateSSLCipherSuiteRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/loadBalancers/{loadBalancerId}/sslCipherSuites/{name}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateSSLCipherSuiteRequest . updateSSLCipherSuiteDetails , "UpdateSSLCipherSuiteDetails" , model . UpdateSSLCipherSuiteDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateSSLCipherSuiteResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } }