/**
 * Big Data Service API
 * REST API for Oracle Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service clusters. Build on Hadoop, Spark and Data Science distributions, which can be fully integrated with existing enterprise data in Oracle Database and Oracle applications.

 * OpenAPI spec version: 20190531
 * Contact: rahul.ra.arora@oracle.com
 *
 * 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 { BdsWaiter } from "./bds-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum BdsApiKeys { } /**
 * 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 BdsClient { protected static serviceEndpointTemplate = "https://bigdataservice.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : BdsWaiter ; 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 + "/20190531" ; if ( this . logger ) this . logger . info ( `BdsClient 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 ( BdsClient . 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 ( BdsClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new BdsWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param ActivateBdsMetastoreConfigurationRequest return throws example Click  https to see how to use ActivateBdsMetastoreConfiguration API.
      public async activateBdsMetastoreConfiguration ( activateBdsMetastoreConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#activateBdsMetastoreConfiguration." ) ; const pathParams = { "{bdsInstanceId}" : activateBdsMetastoreConfigurationRequest . bdsInstanceId , "{metastoreConfigId}" : activateBdsMetastoreConfigurationRequest . metastoreConfigId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : activateBdsMetastoreConfigurationRequest . opcRequestId , "opc-retry-token" : activateBdsMetastoreConfigurationRequest . opcRetryToken , "if-match" : activateBdsMetastoreConfigurationRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , activateBdsMetastoreConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}/actions/activate" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( activateBdsMetastoreConfigurationRequest . activateBdsMetastoreConfigurationDetails , "ActivateBdsMetastoreConfigurationDetails" , model . ActivateBdsMetastoreConfigurationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ActivateBdsMetastoreConfigurationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AddAutoScalingConfigurationRequest return throws example Click  https to see how to use AddAutoScalingConfiguration API.
      public async addAutoScalingConfiguration ( addAutoScalingConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#addAutoScalingConfiguration." ) ; const pathParams = { "{bdsInstanceId}" : addAutoScalingConfigurationRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : addAutoScalingConfigurationRequest . opcRequestId , "if-match" : addAutoScalingConfigurationRequest . ifMatch , "opc-retry-token" : addAutoScalingConfigurationRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addAutoScalingConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/autoScalingConfiguration" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( addAutoScalingConfigurationRequest . addAutoScalingConfigurationDetails , "AddAutoScalingConfigurationDetails" , model . AddAutoScalingConfigurationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddAutoScalingConfigurationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AddBlockStorageRequest return throws example Click  https to see how to use AddBlockStorage API.
      public async addBlockStorage ( addBlockStorageRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#addBlockStorage." ) ; const pathParams = { "{bdsInstanceId}" : addBlockStorageRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : addBlockStorageRequest . opcRequestId , "if-match" : addBlockStorageRequest . ifMatch , "opc-retry-token" : addBlockStorageRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addBlockStorageRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/actions/addBlockStorage" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( addBlockStorageRequest . addBlockStorageDetails , "AddBlockStorageDetails" , model . AddBlockStorageDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddBlockStorageResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AddCloudSqlRequest return throws example Click  https to see how to use AddCloudSql API.
      public async addCloudSql ( addCloudSqlRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#addCloudSql." ) ; const pathParams = { "{bdsInstanceId}" : addCloudSqlRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : addCloudSqlRequest . opcRequestId , "if-match" : addCloudSqlRequest . ifMatch , "opc-retry-token" : addCloudSqlRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addCloudSqlRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/actions/addCloudSql" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( addCloudSqlRequest . addCloudSqlDetails , "AddCloudSqlDetails" , model . AddCloudSqlDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddCloudSqlResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AddWorkerNodesRequest return throws example Click  https to see how to use AddWorkerNodes API.
      public async addWorkerNodes ( addWorkerNodesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#addWorkerNodes." ) ; const pathParams = { "{bdsInstanceId}" : addWorkerNodesRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : addWorkerNodesRequest . opcRequestId , "if-match" : addWorkerNodesRequest . ifMatch , "opc-retry-token" : addWorkerNodesRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addWorkerNodesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/actions/addWorkerNodes" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( addWorkerNodesRequest . addWorkerNodesDetails , "AddWorkerNodesDetails" , model . AddWorkerNodesDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddWorkerNodesResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeBdsInstanceCompartmentRequest return throws example Click  https to see how to use ChangeBdsInstanceCompartment API.
      public async changeBdsInstanceCompartment ( changeBdsInstanceCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#changeBdsInstanceCompartment." ) ; const pathParams = { "{bdsInstanceId}" : changeBdsInstanceCompartmentRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeBdsInstanceCompartmentRequest . opcRequestId , "if-match" : changeBdsInstanceCompartmentRequest . ifMatch , "opc-retry-token" : changeBdsInstanceCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeBdsInstanceCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeBdsInstanceCompartmentRequest . changeBdsInstanceCompartmentDetails , "ChangeBdsInstanceCompartmentDetails" , model . ChangeBdsInstanceCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeBdsInstanceCompartmentResponse > { } , 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 ChangeShapeRequest return throws example Click  https to see how to use ChangeShape API.
      public async changeShape ( changeShapeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#changeShape." ) ; const pathParams = { "{bdsInstanceId}" : changeShapeRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeShapeRequest . opcRequestId , "if-match" : changeShapeRequest . ifMatch , "opc-retry-token" : changeShapeRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeShapeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/actions/changeShape" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeShapeRequest . changeShapeDetails , "ChangeShapeDetails" , model . ChangeShapeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeShapeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateBdsApiKeyRequest return throws example Click  https to see how to use CreateBdsApiKey API.
      public async createBdsApiKey ( createBdsApiKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#createBdsApiKey." ) ; const pathParams = { "{bdsInstanceId}" : createBdsApiKeyRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createBdsApiKeyRequest . opcRetryToken , "opc-request-id" : createBdsApiKeyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createBdsApiKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/apiKeys" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createBdsApiKeyRequest . createBdsApiKeyDetails , "CreateBdsApiKeyDetails" , model . CreateBdsApiKeyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateBdsApiKeyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateBdsInstanceRequest return throws example Click  https to see how to use CreateBdsInstance API.
      public async createBdsInstance ( createBdsInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#createBdsInstance." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createBdsInstanceRequest . opcRequestId , "opc-retry-token" : createBdsInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createBdsInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createBdsInstanceRequest . createBdsInstanceDetails , "CreateBdsInstanceDetails" , model . CreateBdsInstanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateBdsInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateBdsMetastoreConfigurationRequest return throws example Click  https to see how to use CreateBdsMetastoreConfiguration API.
      public async createBdsMetastoreConfiguration ( createBdsMetastoreConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#createBdsMetastoreConfiguration." ) ; const pathParams = { "{bdsInstanceId}" : createBdsMetastoreConfigurationRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createBdsMetastoreConfigurationRequest . opcRetryToken , "opc-request-id" : createBdsMetastoreConfigurationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createBdsMetastoreConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/metastoreConfigs" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createBdsMetastoreConfigurationRequest . createBdsMetastoreConfigurationDetails , "CreateBdsMetastoreConfigurationDetails" , model . CreateBdsMetastoreConfigurationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateBdsMetastoreConfigurationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteBdsApiKeyRequest return throws example Click  https to see how to use DeleteBdsApiKey API.
      public async deleteBdsApiKey ( deleteBdsApiKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#deleteBdsApiKey." ) ; const pathParams = { "{bdsInstanceId}" : deleteBdsApiKeyRequest . bdsInstanceId , "{apiKeyId}" : deleteBdsApiKeyRequest . apiKeyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteBdsApiKeyRequest . opcRequestId , "if-match" : deleteBdsApiKeyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteBdsApiKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/apiKeys/{apiKeyId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteBdsApiKeyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteBdsInstanceRequest return throws example Click  https to see how to use DeleteBdsInstance API.
      public async deleteBdsInstance ( deleteBdsInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#deleteBdsInstance." ) ; const pathParams = { "{bdsInstanceId}" : deleteBdsInstanceRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteBdsInstanceRequest . opcRequestId , "if-match" : deleteBdsInstanceRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteBdsInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteBdsInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteBdsMetastoreConfigurationRequest return throws example Click  https to see how to use DeleteBdsMetastoreConfiguration API.
      public async deleteBdsMetastoreConfiguration ( deleteBdsMetastoreConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#deleteBdsMetastoreConfiguration." ) ; const pathParams = { "{bdsInstanceId}" : deleteBdsMetastoreConfigurationRequest . bdsInstanceId , "{metastoreConfigId}" : deleteBdsMetastoreConfigurationRequest . metastoreConfigId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteBdsMetastoreConfigurationRequest . opcRequestId , "if-match" : deleteBdsMetastoreConfigurationRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteBdsMetastoreConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteBdsMetastoreConfigurationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetAutoScalingConfigurationRequest return throws example Click  https to see how to use GetAutoScalingConfiguration API.
      public async getAutoScalingConfiguration ( getAutoScalingConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#getAutoScalingConfiguration." ) ; const pathParams = { "{bdsInstanceId}" : getAutoScalingConfigurationRequest . bdsInstanceId , "{autoScalingConfigurationId}" : getAutoScalingConfigurationRequest . autoScalingConfigurationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getAutoScalingConfigurationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getAutoScalingConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/autoScalingConfiguration/{autoScalingConfigurationId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetAutoScalingConfigurationResponse > { } , body : await response . json ( ) , bodyKey : "autoScalingConfiguration" , bodyModel : model . AutoScalingConfiguration , type : "model.AutoScalingConfiguration" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetBdsApiKeyRequest return throws example Click  https to see how to use GetBdsApiKey API.
      public async getBdsApiKey ( getBdsApiKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#getBdsApiKey." ) ; const pathParams = { "{bdsInstanceId}" : getBdsApiKeyRequest . bdsInstanceId , "{apiKeyId}" : getBdsApiKeyRequest . apiKeyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getBdsApiKeyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBdsApiKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/apiKeys/{apiKeyId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBdsApiKeyResponse > { } , body : await response . json ( ) , bodyKey : "bdsApiKey" , bodyModel : model . BdsApiKey , type : "model.BdsApiKey" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetBdsInstanceRequest return throws example Click  https to see how to use GetBdsInstance API.
      public async getBdsInstance ( getBdsInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#getBdsInstance." ) ; const pathParams = { "{bdsInstanceId}" : getBdsInstanceRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getBdsInstanceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBdsInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBdsInstanceResponse > { } , body : await response . json ( ) , bodyKey : "bdsInstance" , bodyModel : model . BdsInstance , type : "model.BdsInstance" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetBdsMetastoreConfigurationRequest return throws example Click  https to see how to use GetBdsMetastoreConfiguration API.
      public async getBdsMetastoreConfiguration ( getBdsMetastoreConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#getBdsMetastoreConfiguration." ) ; const pathParams = { "{bdsInstanceId}" : getBdsMetastoreConfigurationRequest . bdsInstanceId , "{metastoreConfigId}" : getBdsMetastoreConfigurationRequest . metastoreConfigId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getBdsMetastoreConfigurationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBdsMetastoreConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBdsMetastoreConfigurationResponse > { } , body : await response . json ( ) , bodyKey : "bdsMetastoreConfiguration" , bodyModel : model . BdsMetastoreConfiguration , type : "model.BdsMetastoreConfiguration" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param 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 BdsClient#getWorkRequest." ) ; const pathParams = { "{workRequestId}" : getWorkRequestRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getWorkRequestRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWorkRequestRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWorkRequestResponse > { } , body : await response . json ( ) , bodyKey : "workRequest" , bodyModel : model . WorkRequest , type : "model.WorkRequest" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListAutoScalingConfigurationsRequest return throws example Click  https to see how to use ListAutoScalingConfigurations API.
      public async listAutoScalingConfigurations ( listAutoScalingConfigurationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#listAutoScalingConfigurations." ) ; const pathParams = { "{bdsInstanceId}" : listAutoScalingConfigurationsRequest . bdsInstanceId } ; const queryParams = { "compartmentId" : listAutoScalingConfigurationsRequest . compartmentId , "page" : listAutoScalingConfigurationsRequest . page , "limit" : listAutoScalingConfigurationsRequest . limit , "sortBy" : listAutoScalingConfigurationsRequest . sortBy , "sortOrder" : listAutoScalingConfigurationsRequest . sortOrder , "displayName" : listAutoScalingConfigurationsRequest . displayName , "lifecycleState" : listAutoScalingConfigurationsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listAutoScalingConfigurationsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAutoScalingConfigurationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/autoScalingConfiguration" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAutoScalingConfigurationsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . AutoScalingConfigurationSummary , type : "Array<model.AutoScalingConfigurationSummary>" , 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 listAllAutoScalingConfigurations ( request ) { return paginateRecords ( request , req => this . listAutoScalingConfigurations ( req ) ) ; } param request public listAllAutoScalingConfigurationsResponses ( request ) { return paginateResponses ( request , req => this . listAutoScalingConfigurations ( req ) ) ; } param request public listAutoScalingConfigurationsRecordIterator ( request ) { return paginateRecords ( request , req => this . listAutoScalingConfigurations ( req ) ) ; } param request public listAutoScalingConfigurationsResponseIterator ( request ) { return paginateResponses ( request , req => this . listAutoScalingConfigurations ( req ) ) ; } param ListBdsApiKeysRequest return throws example Click  https to see how to use ListBdsApiKeys API.
      public async listBdsApiKeys ( listBdsApiKeysRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#listBdsApiKeys." ) ; const pathParams = { "{bdsInstanceId}" : listBdsApiKeysRequest . bdsInstanceId } ; const queryParams = { "lifecycleState" : listBdsApiKeysRequest . lifecycleState , "userId" : listBdsApiKeysRequest . userId , "page" : listBdsApiKeysRequest . page , "limit" : listBdsApiKeysRequest . limit , "sortBy" : listBdsApiKeysRequest . sortBy , "sortOrder" : listBdsApiKeysRequest . sortOrder , "displayName" : listBdsApiKeysRequest . displayName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listBdsApiKeysRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listBdsApiKeysRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/apiKeys" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListBdsApiKeysResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . BdsApiKeySummary , type : "Array<model.BdsApiKeySummary>" , 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 listAllBdsApiKeys ( request ) { return paginateRecords ( request , req => this . listBdsApiKeys ( req ) ) ; } param request public listAllBdsApiKeysResponses ( request ) { return paginateResponses ( request , req => this . listBdsApiKeys ( req ) ) ; } param request public listBdsApiKeysRecordIterator ( request ) { return paginateRecords ( request , req => this . listBdsApiKeys ( req ) ) ; } param request public listBdsApiKeysResponseIterator ( request ) { return paginateResponses ( request , req => this . listBdsApiKeys ( req ) ) ; } param ListBdsInstancesRequest return throws example Click  https to see how to use ListBdsInstances API.
      public async listBdsInstances ( listBdsInstancesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#listBdsInstances." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listBdsInstancesRequest . compartmentId , "lifecycleState" : listBdsInstancesRequest . lifecycleState , "page" : listBdsInstancesRequest . page , "limit" : listBdsInstancesRequest . limit , "sortBy" : listBdsInstancesRequest . sortBy , "sortOrder" : listBdsInstancesRequest . sortOrder , "displayName" : listBdsInstancesRequest . displayName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listBdsInstancesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listBdsInstancesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListBdsInstancesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . BdsInstanceSummary , type : "Array<model.BdsInstanceSummary>" , 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 listAllBdsInstances ( request ) { return paginateRecords ( request , req => this . listBdsInstances ( req ) ) ; } param request public listAllBdsInstancesResponses ( request ) { return paginateResponses ( request , req => this . listBdsInstances ( req ) ) ; } param request public listBdsInstancesRecordIterator ( request ) { return paginateRecords ( request , req => this . listBdsInstances ( req ) ) ; } param request public listBdsInstancesResponseIterator ( request ) { return paginateResponses ( request , req => this . listBdsInstances ( req ) ) ; } param ListBdsMetastoreConfigurationsRequest return throws example Click  https to see how to use ListBdsMetastoreConfigurations API.
      public async listBdsMetastoreConfigurations ( listBdsMetastoreConfigurationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#listBdsMetastoreConfigurations." ) ; const pathParams = { "{bdsInstanceId}" : listBdsMetastoreConfigurationsRequest . bdsInstanceId } ; const queryParams = { "metastoreType" : listBdsMetastoreConfigurationsRequest . metastoreType , "metastoreId" : listBdsMetastoreConfigurationsRequest . metastoreId , "lifecycleState" : listBdsMetastoreConfigurationsRequest . lifecycleState , "bdsApiKeyId" : listBdsMetastoreConfigurationsRequest . bdsApiKeyId , "page" : listBdsMetastoreConfigurationsRequest . page , "limit" : listBdsMetastoreConfigurationsRequest . limit , "sortBy" : listBdsMetastoreConfigurationsRequest . sortBy , "sortOrder" : listBdsMetastoreConfigurationsRequest . sortOrder , "displayName" : listBdsMetastoreConfigurationsRequest . displayName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listBdsMetastoreConfigurationsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listBdsMetastoreConfigurationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/metastoreConfigs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListBdsMetastoreConfigurationsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . BdsMetastoreConfigurationSummary , type : "Array<model.BdsMetastoreConfigurationSummary>" , 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 listAllBdsMetastoreConfigurations ( request ) { return paginateRecords ( request , req => this . listBdsMetastoreConfigurations ( req ) ) ; } param request public listAllBdsMetastoreConfigurationsResponses ( request ) { return paginateResponses ( request , req => this . listBdsMetastoreConfigurations ( req ) ) ; } param request public listBdsMetastoreConfigurationsRecordIterator ( request ) { return paginateRecords ( request , req => this . listBdsMetastoreConfigurations ( req ) ) ; } param request public listBdsMetastoreConfigurationsResponseIterator ( request ) { return paginateResponses ( request , req => this . listBdsMetastoreConfigurations ( req ) ) ; } param ListWorkRequestErrorsRequest return throws example Click  https to see how to use ListWorkRequestErrors API.
      public async listWorkRequestErrors ( listWorkRequestErrorsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#listWorkRequestErrors." ) ; const pathParams = { "{workRequestId}" : listWorkRequestErrorsRequest . workRequestId } ; const queryParams = { "page" : listWorkRequestErrorsRequest . page , "limit" : listWorkRequestErrorsRequest . limit , "sortBy" : listWorkRequestErrorsRequest . sortBy , "sortOrder" : listWorkRequestErrorsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestErrorsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestErrorsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}/errors" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestErrorsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestError , type : "Array<model.WorkRequestError>" , 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 listAllWorkRequestErrors ( request ) { return paginateRecords ( request , req => this . listWorkRequestErrors ( req ) ) ; } param request public listAllWorkRequestErrorsResponses ( request ) { return paginateResponses ( request , req => this . listWorkRequestErrors ( req ) ) ; } param request public listWorkRequestErrorsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWorkRequestErrors ( req ) ) ; } param request public listWorkRequestErrorsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWorkRequestErrors ( req ) ) ; } param ListWorkRequestLogsRequest return throws example Click  https to see how to use ListWorkRequestLogs API.
      public async listWorkRequestLogs ( listWorkRequestLogsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#listWorkRequestLogs." ) ; const pathParams = { "{workRequestId}" : listWorkRequestLogsRequest . workRequestId } ; const queryParams = { "page" : listWorkRequestLogsRequest . page , "limit" : listWorkRequestLogsRequest . limit , "sortBy" : listWorkRequestLogsRequest . sortBy , "sortOrder" : listWorkRequestLogsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestLogsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestLogsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}/logs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestLogsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestLogEntry , type : "Array<model.WorkRequestLogEntry>" , 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 listAllWorkRequestLogs ( request ) { return paginateRecords ( request , req => this . listWorkRequestLogs ( req ) ) ; } param request public listAllWorkRequestLogsResponses ( request ) { return paginateResponses ( request , req => this . listWorkRequestLogs ( req ) ) ; } param request public listWorkRequestLogsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWorkRequestLogs ( req ) ) ; } param request public listWorkRequestLogsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWorkRequestLogs ( 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 BdsClient#listWorkRequests." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listWorkRequestsRequest . compartmentId , "resourceId" : listWorkRequestsRequest . resourceId , "page" : listWorkRequestsRequest . page , "limit" : listWorkRequestsRequest . limit , "sortBy" : listWorkRequestsRequest . sortBy , "sortOrder" : listWorkRequestsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequest , type : "Array<model.WorkRequest>" , 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 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 RemoveAutoScalingConfigurationRequest return throws example Click  https to see how to use RemoveAutoScalingConfiguration API.
      public async removeAutoScalingConfiguration ( removeAutoScalingConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#removeAutoScalingConfiguration." ) ; const pathParams = { "{bdsInstanceId}" : removeAutoScalingConfigurationRequest . bdsInstanceId , "{autoScalingConfigurationId}" : removeAutoScalingConfigurationRequest . autoScalingConfigurationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : removeAutoScalingConfigurationRequest . opcRequestId , "if-match" : removeAutoScalingConfigurationRequest . ifMatch , "opc-retry-token" : removeAutoScalingConfigurationRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removeAutoScalingConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/autoScalingConfiguration/{autoScalingConfigurationId}/actions/remove" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( removeAutoScalingConfigurationRequest . removeAutoScalingConfigurationDetails , "RemoveAutoScalingConfigurationDetails" , model . RemoveAutoScalingConfigurationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemoveAutoScalingConfigurationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param RemoveCloudSqlRequest return throws example Click  https to see how to use RemoveCloudSql API.
      public async removeCloudSql ( removeCloudSqlRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#removeCloudSql." ) ; const pathParams = { "{bdsInstanceId}" : removeCloudSqlRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : removeCloudSqlRequest . opcRequestId , "if-match" : removeCloudSqlRequest . ifMatch , "opc-retry-token" : removeCloudSqlRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removeCloudSqlRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/actions/removeCloudSql" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( removeCloudSqlRequest . removeCloudSqlDetails , "RemoveCloudSqlDetails" , model . RemoveCloudSqlDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemoveCloudSqlResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param RestartNodeRequest return throws example Click  https to see how to use RestartNode API.
      public async restartNode ( restartNodeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#restartNode." ) ; const pathParams = { "{bdsInstanceId}" : restartNodeRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : restartNodeRequest . opcRequestId , "if-match" : restartNodeRequest . ifMatch , "opc-retry-token" : restartNodeRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , restartNodeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/actions/restartNode" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( restartNodeRequest . restartNodeDetails , "RestartNodeDetails" , model . RestartNodeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RestartNodeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param TestBdsMetastoreConfigurationRequest return throws example Click  https to see how to use TestBdsMetastoreConfiguration API.
      public async testBdsMetastoreConfiguration ( testBdsMetastoreConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#testBdsMetastoreConfiguration." ) ; const pathParams = { "{bdsInstanceId}" : testBdsMetastoreConfigurationRequest . bdsInstanceId , "{metastoreConfigId}" : testBdsMetastoreConfigurationRequest . metastoreConfigId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : testBdsMetastoreConfigurationRequest . opcRequestId , "if-match" : testBdsMetastoreConfigurationRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , testBdsMetastoreConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}/actions/test" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( testBdsMetastoreConfigurationRequest . testBdsMetastoreConfigurationDetails , "TestBdsMetastoreConfigurationDetails" , model . TestBdsMetastoreConfigurationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . TestBdsMetastoreConfigurationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param TestBdsObjectStorageConnectionRequest return throws example Click  https to see how to use TestBdsObjectStorageConnection API.
      public async testBdsObjectStorageConnection ( testBdsObjectStorageConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#testBdsObjectStorageConnection." ) ; const pathParams = { "{bdsInstanceId}" : testBdsObjectStorageConnectionRequest . bdsInstanceId , "{apiKeyId}" : testBdsObjectStorageConnectionRequest . apiKeyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : testBdsObjectStorageConnectionRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , testBdsObjectStorageConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/apiKeys/{apiKeyId}/actions/testObjectStorageConnection" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( testBdsObjectStorageConnectionRequest . testBdsObjectStorageConnectionDetails , "TestBdsObjectStorageConnectionDetails" , model . TestBdsObjectStorageConnectionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . TestBdsObjectStorageConnectionResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateAutoScalingConfigurationRequest return throws example Click  https to see how to use UpdateAutoScalingConfiguration API.
      public async updateAutoScalingConfiguration ( updateAutoScalingConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#updateAutoScalingConfiguration." ) ; const pathParams = { "{bdsInstanceId}" : updateAutoScalingConfigurationRequest . bdsInstanceId , "{autoScalingConfigurationId}" : updateAutoScalingConfigurationRequest . autoScalingConfigurationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateAutoScalingConfigurationRequest . opcRequestId , "if-match" : updateAutoScalingConfigurationRequest . ifMatch , "opc-retry-token" : updateAutoScalingConfigurationRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateAutoScalingConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/autoScalingConfiguration/{autoScalingConfigurationId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateAutoScalingConfigurationRequest . updateAutoScalingConfigurationDetails , "UpdateAutoScalingConfigurationDetails" , model . UpdateAutoScalingConfigurationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateAutoScalingConfigurationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateBdsInstanceRequest return throws example Click  https to see how to use UpdateBdsInstance API.
      public async updateBdsInstance ( updateBdsInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#updateBdsInstance." ) ; const pathParams = { "{bdsInstanceId}" : updateBdsInstanceRequest . bdsInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateBdsInstanceRequest . ifMatch , "opc-request-id" : updateBdsInstanceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateBdsInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateBdsInstanceRequest . updateBdsInstanceDetails , "UpdateBdsInstanceDetails" , model . UpdateBdsInstanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateBdsInstanceResponse > { } , 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 UpdateBdsMetastoreConfigurationRequest return throws example Click  https to see how to use UpdateBdsMetastoreConfiguration API.
      public async updateBdsMetastoreConfiguration ( updateBdsMetastoreConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BdsClient#updateBdsMetastoreConfiguration." ) ; const pathParams = { "{bdsInstanceId}" : updateBdsMetastoreConfigurationRequest . bdsInstanceId , "{metastoreConfigId}" : updateBdsMetastoreConfigurationRequest . metastoreConfigId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateBdsMetastoreConfigurationRequest . opcRequestId , "if-match" : updateBdsMetastoreConfigurationRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateBdsMetastoreConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateBdsMetastoreConfigurationRequest . updateBdsMetastoreConfigurationDetails , "UpdateBdsMetastoreConfigurationDetails" , model . UpdateBdsMetastoreConfigurationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateBdsMetastoreConfigurationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } }