/**
 * Data Safe API
 * APIs for using Oracle Data Safe.
 * OpenAPI spec version: 20181201
 *
 *
 * 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 { DataSafeWaiter } from "./datasafe-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum DataSafeApiKeys { } /**
 * 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 DataSafeClient { protected static serviceEndpointTemplate = "https://datasafe.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : DataSafeWaiter ; 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 + "/20181201" ; if ( this . logger ) this . logger . info ( `DataSafeClient 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 ( DataSafeClient . 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 ( DataSafeClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new DataSafeWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param ActivateTargetDatabaseRequest return throws example Click  https to see how to use ActivateTargetDatabase API.
      public async activateTargetDatabase ( activateTargetDatabaseRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#activateTargetDatabase." ) ; const pathParams = { "{targetDatabaseId}" : activateTargetDatabaseRequest . targetDatabaseId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : activateTargetDatabaseRequest . opcRetryToken , "if-match" : activateTargetDatabaseRequest . ifMatch , "opc-request-id" : activateTargetDatabaseRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , activateTargetDatabaseRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/targetDatabases/{targetDatabaseId}/actions/activate" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( activateTargetDatabaseRequest . activateTargetDatabaseDetails , "ActivateTargetDatabaseDetails" , model . ActivateTargetDatabaseDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ActivateTargetDatabaseResponse > { } , 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 ChangeDataSafePrivateEndpointCompartmentRequest return throws example Click  https to see how to use ChangeDataSafePrivateEndpointCompartment API.
      public async changeDataSafePrivateEndpointCompartment ( changeDataSafePrivateEndpointCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#changeDataSafePrivateEndpointCompartment." ) ; const pathParams = { "{dataSafePrivateEndpointId}" : changeDataSafePrivateEndpointCompartmentRequest . dataSafePrivateEndpointId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeDataSafePrivateEndpointCompartmentRequest . opcRequestId , "if-match" : changeDataSafePrivateEndpointCompartmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeDataSafePrivateEndpointCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dataSafePrivateEndpoints/{dataSafePrivateEndpointId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeDataSafePrivateEndpointCompartmentRequest . changeDataSafePrivateEndpointCompartmentDetails , "ChangeDataSafePrivateEndpointCompartmentDetails" , model . ChangeDataSafePrivateEndpointCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeDataSafePrivateEndpointCompartmentResponse > { } , 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 ChangeOnPremConnectorCompartmentRequest return throws example Click  https to see how to use ChangeOnPremConnectorCompartment API.
      public async changeOnPremConnectorCompartment ( changeOnPremConnectorCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#changeOnPremConnectorCompartment." ) ; const pathParams = { "{onPremConnectorId}" : changeOnPremConnectorCompartmentRequest . onPremConnectorId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeOnPremConnectorCompartmentRequest . opcRequestId , "if-match" : changeOnPremConnectorCompartmentRequest . ifMatch , "opc-retry-token" : changeOnPremConnectorCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeOnPremConnectorCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/onPremConnectors/{onPremConnectorId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeOnPremConnectorCompartmentRequest . changeOnPremConnectorCompartmentDetails , "ChangeOnPremConnectorCompartmentDetails" , model . ChangeOnPremConnectorCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeOnPremConnectorCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeSecurityAssessmentCompartmentRequest return throws example Click  https to see how to use ChangeSecurityAssessmentCompartment API.
        public async changeSecurityAssessmentCompartment ( changeSecurityAssessmentCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#changeSecurityAssessmentCompartment." ) ; const pathParams = { "{securityAssessmentId}" : changeSecurityAssessmentCompartmentRequest . securityAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeSecurityAssessmentCompartmentRequest . opcRequestId , "if-match" : changeSecurityAssessmentCompartmentRequest . ifMatch , "opc-retry-token" : changeSecurityAssessmentCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeSecurityAssessmentCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments/{securityAssessmentId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeSecurityAssessmentCompartmentRequest . changeSecurityAssessmentCompartmentDetails , "ChangeSecurityAssessmentCompartmentDetails" , model . ChangeSecurityAssessmentCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeSecurityAssessmentCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeTargetDatabaseCompartmentRequest return throws example Click  https to see how to use ChangeTargetDatabaseCompartment API.
      public async changeTargetDatabaseCompartment ( changeTargetDatabaseCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#changeTargetDatabaseCompartment." ) ; const pathParams = { "{targetDatabaseId}" : changeTargetDatabaseCompartmentRequest . targetDatabaseId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeTargetDatabaseCompartmentRequest . ifMatch , "opc-request-id" : changeTargetDatabaseCompartmentRequest . opcRequestId , "opc-retry-token" : changeTargetDatabaseCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeTargetDatabaseCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/targetDatabases/{targetDatabaseId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeTargetDatabaseCompartmentRequest . changeTargetDatabaseCompartmentDetails , "ChangeTargetDatabaseCompartmentDetails" , model . ChangeTargetDatabaseCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeTargetDatabaseCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeUserAssessmentCompartmentRequest return throws example Click  https to see how to use ChangeUserAssessmentCompartment API.
      public async changeUserAssessmentCompartment ( changeUserAssessmentCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#changeUserAssessmentCompartment." ) ; const pathParams = { "{userAssessmentId}" : changeUserAssessmentCompartmentRequest . userAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeUserAssessmentCompartmentRequest . ifMatch , "opc-retry-token" : changeUserAssessmentCompartmentRequest . opcRetryToken , "opc-request-id" : changeUserAssessmentCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeUserAssessmentCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeUserAssessmentCompartmentRequest . changeUserAssessmentCompartmentDetails , "ChangeUserAssessmentCompartmentDetails" , model . ChangeUserAssessmentCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeUserAssessmentCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CompareSecurityAssessmentRequest return throws example Click  https to see how to use CompareSecurityAssessment API.
      public async compareSecurityAssessment ( compareSecurityAssessmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#compareSecurityAssessment." ) ; const pathParams = { "{securityAssessmentId}" : compareSecurityAssessmentRequest . securityAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : compareSecurityAssessmentRequest . opcRetryToken , "opc-request-id" : compareSecurityAssessmentRequest . opcRequestId , "if-match" : compareSecurityAssessmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , compareSecurityAssessmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments/{securityAssessmentId}/actions/compare" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( compareSecurityAssessmentRequest . compareSecurityAssessmentDetails , "CompareSecurityAssessmentDetails" , model . CompareSecurityAssessmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CompareSecurityAssessmentResponse > { } , 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 CompareUserAssessmentRequest return throws example Click  https to see how to use CompareUserAssessment API.
      public async compareUserAssessment ( compareUserAssessmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#compareUserAssessment." ) ; const pathParams = { "{userAssessmentId}" : compareUserAssessmentRequest . userAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : compareUserAssessmentRequest . opcRetryToken , "opc-request-id" : compareUserAssessmentRequest . opcRequestId , "if-match" : compareUserAssessmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , compareUserAssessmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}/actions/compare" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( compareUserAssessmentRequest . compareUserAssessmentDetails , "CompareUserAssessmentDetails" , model . CompareUserAssessmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CompareUserAssessmentResponse > { } , 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 CreateDataSafePrivateEndpointRequest return throws example Click  https to see how to use CreateDataSafePrivateEndpoint API.
      public async createDataSafePrivateEndpoint ( createDataSafePrivateEndpointRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#createDataSafePrivateEndpoint." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createDataSafePrivateEndpointRequest . opcRetryToken , "opc-request-id" : createDataSafePrivateEndpointRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createDataSafePrivateEndpointRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dataSafePrivateEndpoints" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createDataSafePrivateEndpointRequest . createDataSafePrivateEndpointDetails , "CreateDataSafePrivateEndpointDetails" , model . CreateDataSafePrivateEndpointDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateDataSafePrivateEndpointResponse > { } , body : await response . json ( ) , bodyKey : "dataSafePrivateEndpoint" , bodyModel : model . DataSafePrivateEndpoint , type : "model.DataSafePrivateEndpoint" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateOnPremConnectorRequest return throws example Click  https to see how to use CreateOnPremConnector API.
      public async createOnPremConnector ( createOnPremConnectorRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#createOnPremConnector." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createOnPremConnectorRequest . opcRetryToken , "opc-request-id" : createOnPremConnectorRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createOnPremConnectorRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/onPremConnectors" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createOnPremConnectorRequest . createOnPremConnectorDetails , "CreateOnPremConnectorDetails" , model . CreateOnPremConnectorDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateOnPremConnectorResponse > { } , body : await response . json ( ) , bodyKey : "onPremConnector" , bodyModel : model . OnPremConnector , type : "model.OnPremConnector" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateSecurityAssessmentRequest return throws example Click  https to see how to use CreateSecurityAssessment API.
      public async createSecurityAssessment ( createSecurityAssessmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#createSecurityAssessment." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createSecurityAssessmentRequest . opcRetryToken , "opc-request-id" : createSecurityAssessmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createSecurityAssessmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createSecurityAssessmentRequest . createSecurityAssessmentDetails , "CreateSecurityAssessmentDetails" , model . CreateSecurityAssessmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateSecurityAssessmentResponse > { } , body : await response . json ( ) , bodyKey : "securityAssessment" , bodyModel : model . SecurityAssessment , type : "model.SecurityAssessment" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateTargetDatabaseRequest return throws example Click  https to see how to use CreateTargetDatabase API.
      public async createTargetDatabase ( createTargetDatabaseRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#createTargetDatabase." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createTargetDatabaseRequest . opcRetryToken , "opc-request-id" : createTargetDatabaseRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createTargetDatabaseRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/targetDatabases" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createTargetDatabaseRequest . createTargetDatabaseDetails , "CreateTargetDatabaseDetails" , model . CreateTargetDatabaseDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateTargetDatabaseResponse > { } , body : await response . json ( ) , bodyKey : "targetDatabase" , bodyModel : model . TargetDatabase , type : "model.TargetDatabase" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateUserAssessmentRequest return throws example Click  https to see how to use CreateUserAssessment API.
      public async createUserAssessment ( createUserAssessmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#createUserAssessment." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createUserAssessmentRequest . opcRetryToken , "opc-request-id" : createUserAssessmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createUserAssessmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createUserAssessmentRequest . createUserAssessmentDetails , "CreateUserAssessmentDetails" , model . CreateUserAssessmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateUserAssessmentResponse > { } , body : await response . json ( ) , bodyKey : "userAssessment" , bodyModel : model . UserAssessment , type : "model.UserAssessment" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeactivateTargetDatabaseRequest return throws example Click  https to see how to use DeactivateTargetDatabase API.
      public async deactivateTargetDatabase ( deactivateTargetDatabaseRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#deactivateTargetDatabase." ) ; const pathParams = { "{targetDatabaseId}" : deactivateTargetDatabaseRequest . targetDatabaseId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : deactivateTargetDatabaseRequest . opcRetryToken , "if-match" : deactivateTargetDatabaseRequest . ifMatch , "opc-request-id" : deactivateTargetDatabaseRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deactivateTargetDatabaseRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/targetDatabases/{targetDatabaseId}/actions/deactivate" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeactivateTargetDatabaseResponse > { } , 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 DeleteDataSafePrivateEndpointRequest return throws example Click  https to see how to use DeleteDataSafePrivateEndpoint API.
      public async deleteDataSafePrivateEndpoint ( deleteDataSafePrivateEndpointRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#deleteDataSafePrivateEndpoint." ) ; const pathParams = { "{dataSafePrivateEndpointId}" : deleteDataSafePrivateEndpointRequest . dataSafePrivateEndpointId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteDataSafePrivateEndpointRequest . ifMatch , "opc-request-id" : deleteDataSafePrivateEndpointRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteDataSafePrivateEndpointRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dataSafePrivateEndpoints/{dataSafePrivateEndpointId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteDataSafePrivateEndpointResponse > { } , 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 DeleteOnPremConnectorRequest return throws example Click  https to see how to use DeleteOnPremConnector API.
      public async deleteOnPremConnector ( deleteOnPremConnectorRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#deleteOnPremConnector." ) ; const pathParams = { "{onPremConnectorId}" : deleteOnPremConnectorRequest . onPremConnectorId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteOnPremConnectorRequest . ifMatch , "opc-request-id" : deleteOnPremConnectorRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteOnPremConnectorRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/onPremConnectors/{onPremConnectorId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteOnPremConnectorResponse > { } , 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 DeleteSecurityAssessmentRequest return throws example Click  https to see how to use DeleteSecurityAssessment API.
      public async deleteSecurityAssessment ( deleteSecurityAssessmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#deleteSecurityAssessment." ) ; const pathParams = { "{securityAssessmentId}" : deleteSecurityAssessmentRequest . securityAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteSecurityAssessmentRequest . opcRequestId , "if-match" : deleteSecurityAssessmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteSecurityAssessmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments/{securityAssessmentId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteSecurityAssessmentResponse > { } , 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 DeleteTargetDatabaseRequest return throws example Click  https to see how to use DeleteTargetDatabase API.
      public async deleteTargetDatabase ( deleteTargetDatabaseRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#deleteTargetDatabase." ) ; const pathParams = { "{targetDatabaseId}" : deleteTargetDatabaseRequest . targetDatabaseId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteTargetDatabaseRequest . ifMatch , "opc-request-id" : deleteTargetDatabaseRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteTargetDatabaseRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/targetDatabases/{targetDatabaseId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteTargetDatabaseResponse > { } , 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 DeleteUserAssessmentRequest return throws example Click  https to see how to use DeleteUserAssessment API.
      public async deleteUserAssessment ( deleteUserAssessmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#deleteUserAssessment." ) ; const pathParams = { "{userAssessmentId}" : deleteUserAssessmentRequest . userAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteUserAssessmentRequest . ifMatch , "opc-request-id" : deleteUserAssessmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteUserAssessmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteUserAssessmentResponse > { } , 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 DownloadPrivilegeScriptRequest return throws example Click  https to see how to use DownloadPrivilegeScript API.
      public async downloadPrivilegeScript ( downloadPrivilegeScriptRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#downloadPrivilegeScript." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : downloadPrivilegeScriptRequest . opcRetryToken , "opc-request-id" : downloadPrivilegeScriptRequest . opcRequestId , "if-match" : downloadPrivilegeScriptRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , downloadPrivilegeScriptRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/actions/downloadPrivilegeScript" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DownloadPrivilegeScriptResponse > { } , body : response . body ! , bodyKey : "value" , bodyModel : "string" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "content-length" ) , key : "contentLength" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DownloadSecurityAssessmentReportRequest return throws example Click  https to see how to use DownloadSecurityAssessmentReport API.
      public async downloadSecurityAssessmentReport ( downloadSecurityAssessmentReportRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#downloadSecurityAssessmentReport." ) ; const pathParams = { "{securityAssessmentId}" : downloadSecurityAssessmentReportRequest . securityAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : downloadSecurityAssessmentReportRequest . ifMatch , "opc-retry-token" : downloadSecurityAssessmentReportRequest . opcRetryToken , "opc-request-id" : downloadSecurityAssessmentReportRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , downloadSecurityAssessmentReportRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments/{securityAssessmentId}/actions/downloadReport" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( downloadSecurityAssessmentReportRequest . downloadSecurityAssessmentReportDetails , "DownloadSecurityAssessmentReportDetails" , model . DownloadSecurityAssessmentReportDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DownloadSecurityAssessmentReportResponse > { } , body : response . body ! , bodyKey : "value" , bodyModel : "string" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "content-length" ) , key : "contentLength" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DownloadUserAssessmentReportRequest return throws example Click  https to see how to use DownloadUserAssessmentReport API.
      public async downloadUserAssessmentReport ( downloadUserAssessmentReportRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#downloadUserAssessmentReport." ) ; const pathParams = { "{userAssessmentId}" : downloadUserAssessmentReportRequest . userAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : downloadUserAssessmentReportRequest . ifMatch , "opc-retry-token" : downloadUserAssessmentReportRequest . opcRetryToken , "opc-request-id" : downloadUserAssessmentReportRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , downloadUserAssessmentReportRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}/actions/downloadReport" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( downloadUserAssessmentReportRequest . downloadUserAssessmentReportDetails , "DownloadUserAssessmentReportDetails" , model . DownloadUserAssessmentReportDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DownloadUserAssessmentReportResponse > { } , body : response . body ! , bodyKey : "value" , bodyModel : "string" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "content-length" ) , key : "contentLength" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param EnableDataSafeConfigurationRequest return throws example Click  https to see how to use EnableDataSafeConfiguration API.
      public async enableDataSafeConfiguration ( enableDataSafeConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#enableDataSafeConfiguration." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : enableDataSafeConfigurationRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : enableDataSafeConfigurationRequest . ifMatch , "opc-request-id" : enableDataSafeConfigurationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , enableDataSafeConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/configuration" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( enableDataSafeConfigurationRequest . enableDataSafeConfigurationDetails , "EnableDataSafeConfigurationDetails" , model . EnableDataSafeConfigurationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . EnableDataSafeConfigurationResponse > { } , 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 GenerateOnPremConnectorConfigurationRequest return throws example Click  https to see how to use GenerateOnPremConnectorConfiguration API.
      public async generateOnPremConnectorConfiguration ( generateOnPremConnectorConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#generateOnPremConnectorConfiguration." ) ; const pathParams = { "{onPremConnectorId}" : generateOnPremConnectorConfigurationRequest . onPremConnectorId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : generateOnPremConnectorConfigurationRequest . opcRetryToken , "opc-request-id" : generateOnPremConnectorConfigurationRequest . opcRequestId , "if-match" : generateOnPremConnectorConfigurationRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , generateOnPremConnectorConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/onPremConnectors/{onPremConnectorId}/actions/generateConfiguration" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( generateOnPremConnectorConfigurationRequest . generateOnPremConnectorConfigurationDetails , "GenerateOnPremConnectorConfigurationDetails" , model . GenerateOnPremConnectorConfigurationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GenerateOnPremConnectorConfigurationResponse > { } , body : response . body ! , bodyKey : "value" , bodyModel : "string" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "content-length" ) , key : "contentLength" , dataType : "number" } , { value : response . headers . get ( "last-modified" ) , key : "lastModified" , dataType : "Date" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GenerateSecurityAssessmentReportRequest return throws example Click  https to see how to use GenerateSecurityAssessmentReport API.
      public async generateSecurityAssessmentReport ( generateSecurityAssessmentReportRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#generateSecurityAssessmentReport." ) ; const pathParams = { "{securityAssessmentId}" : generateSecurityAssessmentReportRequest . securityAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : generateSecurityAssessmentReportRequest . ifMatch , "opc-retry-token" : generateSecurityAssessmentReportRequest . opcRetryToken , "opc-request-id" : generateSecurityAssessmentReportRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , generateSecurityAssessmentReportRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments/{securityAssessmentId}/actions/generateReport" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( generateSecurityAssessmentReportRequest . generateSecurityAssessmentReportDetails , "GenerateSecurityAssessmentReportDetails" , model . GenerateSecurityAssessmentReportDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GenerateSecurityAssessmentReportResponse > { } , 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 GenerateUserAssessmentReportRequest return throws example Click  https to see how to use GenerateUserAssessmentReport API.
      public async generateUserAssessmentReport ( generateUserAssessmentReportRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#generateUserAssessmentReport." ) ; const pathParams = { "{userAssessmentId}" : generateUserAssessmentReportRequest . userAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : generateUserAssessmentReportRequest . ifMatch , "opc-retry-token" : generateUserAssessmentReportRequest . opcRetryToken , "opc-request-id" : generateUserAssessmentReportRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , generateUserAssessmentReportRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}/actions/generateReport" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( generateUserAssessmentReportRequest . generateUserAssessmentReportDetails , "GenerateUserAssessmentReportDetails" , model . GenerateUserAssessmentReportDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GenerateUserAssessmentReportResponse > { } , 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 GetDataSafeConfigurationRequest return throws example Click  https to see how to use GetDataSafeConfiguration API.
      public async getDataSafeConfiguration ( getDataSafeConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#getDataSafeConfiguration." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : getDataSafeConfigurationRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getDataSafeConfigurationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDataSafeConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/configuration" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDataSafeConfigurationResponse > { } , body : await response . json ( ) , bodyKey : "dataSafeConfiguration" , bodyModel : model . DataSafeConfiguration , type : "model.DataSafeConfiguration" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetDataSafePrivateEndpointRequest return throws example Click  https to see how to use GetDataSafePrivateEndpoint API.
      public async getDataSafePrivateEndpoint ( getDataSafePrivateEndpointRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#getDataSafePrivateEndpoint." ) ; const pathParams = { "{dataSafePrivateEndpointId}" : getDataSafePrivateEndpointRequest . dataSafePrivateEndpointId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getDataSafePrivateEndpointRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDataSafePrivateEndpointRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dataSafePrivateEndpoints/{dataSafePrivateEndpointId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDataSafePrivateEndpointResponse > { } , body : await response . json ( ) , bodyKey : "dataSafePrivateEndpoint" , bodyModel : model . DataSafePrivateEndpoint , type : "model.DataSafePrivateEndpoint" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetOnPremConnectorRequest return throws example Click  https to see how to use GetOnPremConnector API.
      public async getOnPremConnector ( getOnPremConnectorRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#getOnPremConnector." ) ; const pathParams = { "{onPremConnectorId}" : getOnPremConnectorRequest . onPremConnectorId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getOnPremConnectorRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getOnPremConnectorRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/onPremConnectors/{onPremConnectorId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetOnPremConnectorResponse > { } , body : await response . json ( ) , bodyKey : "onPremConnector" , bodyModel : model . OnPremConnector , type : "model.OnPremConnector" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetSecurityAssessmentRequest return throws example Click  https to see how to use GetSecurityAssessment API.
      public async getSecurityAssessment ( getSecurityAssessmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#getSecurityAssessment." ) ; const pathParams = { "{securityAssessmentId}" : getSecurityAssessmentRequest . securityAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getSecurityAssessmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getSecurityAssessmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments/{securityAssessmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetSecurityAssessmentResponse > { } , body : await response . json ( ) , bodyKey : "securityAssessment" , bodyModel : model . SecurityAssessment , type : "model.SecurityAssessment" , 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 GetSecurityAssessmentComparisonRequest return throws example Click  https to see how to use GetSecurityAssessmentComparison API.
      public async getSecurityAssessmentComparison ( getSecurityAssessmentComparisonRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#getSecurityAssessmentComparison." ) ; const pathParams = { "{securityAssessmentId}" : getSecurityAssessmentComparisonRequest . securityAssessmentId , "{comparisonSecurityAssessmentId}" : getSecurityAssessmentComparisonRequest . comparisonSecurityAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getSecurityAssessmentComparisonRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getSecurityAssessmentComparisonRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments/{securityAssessmentId}/comparison/{comparisonSecurityAssessmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetSecurityAssessmentComparisonResponse > { } , body : await response . json ( ) , bodyKey : "securityAssessmentComparison" , bodyModel : model . SecurityAssessmentComparison , type : "model.SecurityAssessmentComparison" , 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 GetTargetDatabaseRequest return throws example Click  https to see how to use GetTargetDatabase API.
      public async getTargetDatabase ( getTargetDatabaseRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#getTargetDatabase." ) ; const pathParams = { "{targetDatabaseId}" : getTargetDatabaseRequest . targetDatabaseId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getTargetDatabaseRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getTargetDatabaseRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/targetDatabases/{targetDatabaseId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetTargetDatabaseResponse > { } , body : await response . json ( ) , bodyKey : "targetDatabase" , bodyModel : model . TargetDatabase , type : "model.TargetDatabase" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetUserAssessmentRequest return throws example Click  https to see how to use GetUserAssessment API.
      public async getUserAssessment ( getUserAssessmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#getUserAssessment." ) ; const pathParams = { "{userAssessmentId}" : getUserAssessmentRequest . userAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getUserAssessmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getUserAssessmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetUserAssessmentResponse > { } , body : await response . json ( ) , bodyKey : "userAssessment" , bodyModel : model . UserAssessment , type : "model.UserAssessment" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetUserAssessmentComparisonRequest return throws example Click  https to see how to use GetUserAssessmentComparison API.
      public async getUserAssessmentComparison ( getUserAssessmentComparisonRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#getUserAssessmentComparison." ) ; const pathParams = { "{userAssessmentId}" : getUserAssessmentComparisonRequest . userAssessmentId , "{comparisonUserAssessmentId}" : getUserAssessmentComparisonRequest . comparisonUserAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getUserAssessmentComparisonRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getUserAssessmentComparisonRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}/comparison/{comparisonUserAssessmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetUserAssessmentComparisonResponse > { } , body : await response . json ( ) , bodyKey : "userAssessmentComparison" , bodyModel : model . UserAssessmentComparison , type : "model.UserAssessmentComparison" , 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 DataSafeClient#getWorkRequest." ) ; const pathParams = { "{workRequestId}" : getWorkRequestRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getWorkRequestRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWorkRequestRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWorkRequestResponse > { } , body : await response . json ( ) , bodyKey : "workRequest" , bodyModel : model . WorkRequest , type : "model.WorkRequest" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListDataSafePrivateEndpointsRequest return throws example Click  https to see how to use ListDataSafePrivateEndpoints API.
      public async listDataSafePrivateEndpoints ( listDataSafePrivateEndpointsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#listDataSafePrivateEndpoints." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listDataSafePrivateEndpointsRequest . compartmentId , "displayName" : listDataSafePrivateEndpointsRequest . displayName , "vcnId" : listDataSafePrivateEndpointsRequest . vcnId , "lifecycleState" : listDataSafePrivateEndpointsRequest . lifecycleState , "limit" : listDataSafePrivateEndpointsRequest . limit , "page" : listDataSafePrivateEndpointsRequest . page , "sortOrder" : listDataSafePrivateEndpointsRequest . sortOrder , "sortBy" : listDataSafePrivateEndpointsRequest . sortBy , "compartmentIdInSubtree" : listDataSafePrivateEndpointsRequest . compartmentIdInSubtree , "accessLevel" : listDataSafePrivateEndpointsRequest . accessLevel } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listDataSafePrivateEndpointsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDataSafePrivateEndpointsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dataSafePrivateEndpoints" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDataSafePrivateEndpointsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DataSafePrivateEndpointSummary , type : "Array<model.DataSafePrivateEndpointSummary>" , 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 listAllDataSafePrivateEndpoints ( request ) { return paginateRecords ( request , req => this . listDataSafePrivateEndpoints ( req ) ) ; } param request public listAllDataSafePrivateEndpointsResponses ( request ) { return paginateResponses ( request , req => this . listDataSafePrivateEndpoints ( req ) ) ; } param request public listDataSafePrivateEndpointsRecordIterator ( request ) { return paginateRecords ( request , req => this . listDataSafePrivateEndpoints ( req ) ) ; } param request public listDataSafePrivateEndpointsResponseIterator ( request ) { return paginateResponses ( request , req => this . listDataSafePrivateEndpoints ( req ) ) ; } param ListFindingsRequest return throws example Click  https to see how to use ListFindings API.
      public async listFindings ( listFindingsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#listFindings." ) ; const pathParams = { "{securityAssessmentId}" : listFindingsRequest . securityAssessmentId } ; const queryParams = { "severity" : listFindingsRequest . severity , "limit" : listFindingsRequest . limit , "page" : listFindingsRequest . page , "compartmentIdInSubtree" : listFindingsRequest . compartmentIdInSubtree , "accessLevel" : listFindingsRequest . accessLevel , "findingKey" : listFindingsRequest . findingKey } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listFindingsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listFindingsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments/{securityAssessmentId}/findings" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListFindingsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . FindingSummary , type : "Array<model.FindingSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllFindings ( request ) { return paginateRecords ( request , req => this . listFindings ( req ) ) ; } param request public listAllFindingsResponses ( request ) { return paginateResponses ( request , req => this . listFindings ( req ) ) ; } param request public listFindingsRecordIterator ( request ) { return paginateRecords ( request , req => this . listFindings ( req ) ) ; } param request public listFindingsResponseIterator ( request ) { return paginateResponses ( request , req => this . listFindings ( req ) ) ; } param ListGrantsRequest return throws example Click  https to see how to use ListGrants API.
      public async listGrants ( listGrantsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#listGrants." ) ; const pathParams = { "{userAssessmentId}" : listGrantsRequest . userAssessmentId , "{userKey}" : listGrantsRequest . userKey } ; const queryParams = { "grantKey" : listGrantsRequest . grantKey , "grantName" : listGrantsRequest . grantName , "privilegeType" : listGrantsRequest . privilegeType , "privilegeCategory" : listGrantsRequest . privilegeCategory , "depthLevel" : listGrantsRequest . depthLevel , "depthLevelGreaterThanOrEqualTo" : listGrantsRequest . depthLevelGreaterThanOrEqualTo , "depthLevelLessThan" : listGrantsRequest . depthLevelLessThan , "limit" : listGrantsRequest . limit , "page" : listGrantsRequest . page , "sortOrder" : listGrantsRequest . sortOrder , "sortBy" : listGrantsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listGrantsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listGrantsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}/users/{userKey}/grants" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListGrantsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . GrantSummary , type : "Array<model.GrantSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllGrants ( request ) { return paginateRecords ( request , req => this . listGrants ( req ) ) ; } param request public listAllGrantsResponses ( request ) { return paginateResponses ( request , req => this . listGrants ( req ) ) ; } param request public listGrantsRecordIterator ( request ) { return paginateRecords ( request , req => this . listGrants ( req ) ) ; } param request public listGrantsResponseIterator ( request ) { return paginateResponses ( request , req => this . listGrants ( req ) ) ; } param ListOnPremConnectorsRequest return throws example Click  https to see how to use ListOnPremConnectors API.
      public async listOnPremConnectors ( listOnPremConnectorsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#listOnPremConnectors." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listOnPremConnectorsRequest . compartmentId , "onPremConnectorId" : listOnPremConnectorsRequest . onPremConnectorId , "displayName" : listOnPremConnectorsRequest . displayName , "onPremConnectorLifecycleState" : listOnPremConnectorsRequest . onPremConnectorLifecycleState , "limit" : listOnPremConnectorsRequest . limit , "page" : listOnPremConnectorsRequest . page , "sortOrder" : listOnPremConnectorsRequest . sortOrder , "sortBy" : listOnPremConnectorsRequest . sortBy , "compartmentIdInSubtree" : listOnPremConnectorsRequest . compartmentIdInSubtree , "accessLevel" : listOnPremConnectorsRequest . accessLevel } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listOnPremConnectorsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listOnPremConnectorsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/onPremConnectors" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListOnPremConnectorsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . OnPremConnectorSummary , type : "Array<model.OnPremConnectorSummary>" , 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 listAllOnPremConnectors ( request ) { return paginateRecords ( request , req => this . listOnPremConnectors ( req ) ) ; } param request public listAllOnPremConnectorsResponses ( request ) { return paginateResponses ( request , req => this . listOnPremConnectors ( req ) ) ; } param request public listOnPremConnectorsRecordIterator ( request ) { return paginateRecords ( request , req => this . listOnPremConnectors ( req ) ) ; } param request public listOnPremConnectorsResponseIterator ( request ) { return paginateResponses ( request , req => this . listOnPremConnectors ( req ) ) ; } param ListSecurityAssessmentsRequest return throws example Click  https to see how to use ListSecurityAssessments API.
        public async listSecurityAssessments ( listSecurityAssessmentsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#listSecurityAssessments." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listSecurityAssessmentsRequest . compartmentId , "compartmentIdInSubtree" : listSecurityAssessmentsRequest . compartmentIdInSubtree , "accessLevel" : listSecurityAssessmentsRequest . accessLevel , "displayName" : listSecurityAssessmentsRequest . displayName , "type" : listSecurityAssessmentsRequest . type , "scheduleAssessmentId" : listSecurityAssessmentsRequest . scheduleAssessmentId , "isScheduleAssessment" : listSecurityAssessmentsRequest . isScheduleAssessment , "triggeredBy" : listSecurityAssessmentsRequest . triggeredBy , "targetId" : listSecurityAssessmentsRequest . targetId , "sortOrder" : listSecurityAssessmentsRequest . sortOrder , "isBaseline" : listSecurityAssessmentsRequest . isBaseline , "sortBy" : listSecurityAssessmentsRequest . sortBy , "timeCreatedGreaterThanOrEqualTo" : listSecurityAssessmentsRequest . timeCreatedGreaterThanOrEqualTo , "timeCreatedLessThan" : listSecurityAssessmentsRequest . timeCreatedLessThan , "limit" : listSecurityAssessmentsRequest . limit , "page" : listSecurityAssessmentsRequest . page , "lifecycleState" : listSecurityAssessmentsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listSecurityAssessmentsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSecurityAssessmentsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSecurityAssessmentsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . SecurityAssessmentSummary , type : "Array<model.SecurityAssessmentSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllSecurityAssessments ( request ) { return paginateRecords ( request , req => this . listSecurityAssessments ( req ) ) ; } param request public listAllSecurityAssessmentsResponses ( request ) { return paginateResponses ( request , req => this . listSecurityAssessments ( req ) ) ; } param request public listSecurityAssessmentsRecordIterator ( request ) { return paginateRecords ( request , req => this . listSecurityAssessments ( req ) ) ; } param request public listSecurityAssessmentsResponseIterator ( request ) { return paginateResponses ( request , req => this . listSecurityAssessments ( req ) ) ; } param ListTargetDatabasesRequest return throws example Click  https to see how to use ListTargetDatabases API.
      public async listTargetDatabases ( listTargetDatabasesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#listTargetDatabases." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listTargetDatabasesRequest . compartmentId , "targetDatabaseId" : listTargetDatabasesRequest . targetDatabaseId , "displayName" : listTargetDatabasesRequest . displayName , "lifecycleState" : listTargetDatabasesRequest . lifecycleState , "databaseType" : listTargetDatabasesRequest . databaseType , "infrastructureType" : listTargetDatabasesRequest . infrastructureType , "limit" : listTargetDatabasesRequest . limit , "page" : listTargetDatabasesRequest . page , "compartmentIdInSubtree" : listTargetDatabasesRequest . compartmentIdInSubtree , "accessLevel" : listTargetDatabasesRequest . accessLevel , "sortOrder" : listTargetDatabasesRequest . sortOrder , "sortBy" : listTargetDatabasesRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listTargetDatabasesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listTargetDatabasesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/targetDatabases" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListTargetDatabasesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . TargetDatabaseSummary , type : "Array<model.TargetDatabaseSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllTargetDatabases ( request ) { return paginateRecords ( request , req => this . listTargetDatabases ( req ) ) ; } param request public listAllTargetDatabasesResponses ( request ) { return paginateResponses ( request , req => this . listTargetDatabases ( req ) ) ; } param request public listTargetDatabasesRecordIterator ( request ) { return paginateRecords ( request , req => this . listTargetDatabases ( req ) ) ; } param request public listTargetDatabasesResponseIterator ( request ) { return paginateResponses ( request , req => this . listTargetDatabases ( req ) ) ; } param ListUserAnalyticsRequest return throws example Click  https to see how to use ListUserAnalytics API.
        public async listUserAnalytics ( listUserAnalyticsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#listUserAnalytics." ) ; const pathParams = { "{userAssessmentId}" : listUserAnalyticsRequest . userAssessmentId } ; const queryParams = { "compartmentIdInSubtree" : listUserAnalyticsRequest . compartmentIdInSubtree , "accessLevel" : listUserAnalyticsRequest . accessLevel , "limit" : listUserAnalyticsRequest . limit , "userCategory" : listUserAnalyticsRequest . userCategory , "userKey" : listUserAnalyticsRequest . userKey , "accountStatus" : listUserAnalyticsRequest . accountStatus , "authenticationType" : listUserAnalyticsRequest . authenticationType , "userName" : listUserAnalyticsRequest . userName , "targetId" : listUserAnalyticsRequest . targetId , "timeLastLoginGreaterThanOrEqualTo" : listUserAnalyticsRequest . timeLastLoginGreaterThanOrEqualTo , "timeLastLoginLessThan" : listUserAnalyticsRequest . timeLastLoginLessThan , "timeUserCreatedGreaterThanOrEqualTo" : listUserAnalyticsRequest . timeUserCreatedGreaterThanOrEqualTo , "timeUserCreatedLessThan" : listUserAnalyticsRequest . timeUserCreatedLessThan , "timePasswordLastChangedGreaterThanOrEqualTo" : listUserAnalyticsRequest . timePasswordLastChangedGreaterThanOrEqualTo , "timePasswordLastChangedLessThan" : listUserAnalyticsRequest . timePasswordLastChangedLessThan , "page" : listUserAnalyticsRequest . page , "sortOrder" : listUserAnalyticsRequest . sortOrder , "sortBy" : listUserAnalyticsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listUserAnalyticsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listUserAnalyticsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}/userAnalytics" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListUserAnalyticsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . UserAggregation , type : "Array<model.UserAggregation>" , 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 listAllUserAnalytics ( request ) { return paginateRecords ( request , req => this . listUserAnalytics ( req ) ) ; } param request public listAllUserAnalyticsResponses ( request ) { return paginateResponses ( request , req => this . listUserAnalytics ( req ) ) ; } param request public listUserAnalyticsRecordIterator ( request ) { return paginateRecords ( request , req => this . listUserAnalytics ( req ) ) ; } param request public listUserAnalyticsResponseIterator ( request ) { return paginateResponses ( request , req => this . listUserAnalytics ( req ) ) ; } param ListUserAssessmentsRequest return throws example Click  https to see how to use ListUserAssessments API.
        public async listUserAssessments ( listUserAssessmentsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#listUserAssessments." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listUserAssessmentsRequest . compartmentId , "compartmentIdInSubtree" : listUserAssessmentsRequest . compartmentIdInSubtree , "accessLevel" : listUserAssessmentsRequest . accessLevel , "displayName" : listUserAssessmentsRequest . displayName , "scheduleUserAssessmentId" : listUserAssessmentsRequest . scheduleUserAssessmentId , "isScheduleAssessment" : listUserAssessmentsRequest . isScheduleAssessment , "isBaseline" : listUserAssessmentsRequest . isBaseline , "targetId" : listUserAssessmentsRequest . targetId , "type" : listUserAssessmentsRequest . type , "triggeredBy" : listUserAssessmentsRequest . triggeredBy , "timeCreatedGreaterThanOrEqualTo" : listUserAssessmentsRequest . timeCreatedGreaterThanOrEqualTo , "timeCreatedLessThan" : listUserAssessmentsRequest . timeCreatedLessThan , "limit" : listUserAssessmentsRequest . limit , "page" : listUserAssessmentsRequest . page , "lifecycleState" : listUserAssessmentsRequest . lifecycleState , "sortOrder" : listUserAssessmentsRequest . sortOrder , "sortBy" : listUserAssessmentsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listUserAssessmentsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listUserAssessmentsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListUserAssessmentsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . UserAssessmentSummary , type : "Array<model.UserAssessmentSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllUserAssessments ( request ) { return paginateRecords ( request , req => this . listUserAssessments ( req ) ) ; } param request public listAllUserAssessmentsResponses ( request ) { return paginateResponses ( request , req => this . listUserAssessments ( req ) ) ; } param request public listUserAssessmentsRecordIterator ( request ) { return paginateRecords ( request , req => this . listUserAssessments ( req ) ) ; } param request public listUserAssessmentsResponseIterator ( request ) { return paginateResponses ( request , req => this . listUserAssessments ( req ) ) ; } param ListUsersRequest return throws example Click  https to see how to use ListUsers API.
      public async listUsers ( listUsersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#listUsers." ) ; const pathParams = { "{userAssessmentId}" : listUsersRequest . userAssessmentId } ; const queryParams = { "limit" : listUsersRequest . limit , "compartmentIdInSubtree" : listUsersRequest . compartmentIdInSubtree , "accessLevel" : listUsersRequest . accessLevel , "userCategory" : listUsersRequest . userCategory , "userKey" : listUsersRequest . userKey , "accountStatus" : listUsersRequest . accountStatus , "authenticationType" : listUsersRequest . authenticationType , "userName" : listUsersRequest . userName , "targetId" : listUsersRequest . targetId , "timeLastLoginGreaterThanOrEqualTo" : listUsersRequest . timeLastLoginGreaterThanOrEqualTo , "timeLastLoginLessThan" : listUsersRequest . timeLastLoginLessThan , "timeUserCreatedGreaterThanOrEqualTo" : listUsersRequest . timeUserCreatedGreaterThanOrEqualTo , "timeUserCreatedLessThan" : listUsersRequest . timeUserCreatedLessThan , "timePasswordLastChangedGreaterThanOrEqualTo" : listUsersRequest . timePasswordLastChangedGreaterThanOrEqualTo , "timePasswordLastChangedLessThan" : listUsersRequest . timePasswordLastChangedLessThan , "page" : listUsersRequest . page , "sortOrder" : listUsersRequest . sortOrder , "sortBy" : listUsersRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listUsersRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listUsersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}/users" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListUsersResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . UserSummary , type : "Array<model.UserSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllUsers ( request ) { return paginateRecords ( request , req => this . listUsers ( req ) ) ; } param request public listAllUsersResponses ( request ) { return paginateResponses ( request , req => this . listUsers ( req ) ) ; } param request public listUsersRecordIterator ( request ) { return paginateRecords ( request , req => this . listUsers ( req ) ) ; } param request public listUsersResponseIterator ( request ) { return paginateResponses ( request , req => this . listUsers ( 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 DataSafeClient#listWorkRequestErrors." ) ; const pathParams = { "{workRequestId}" : listWorkRequestErrorsRequest . workRequestId } ; const queryParams = { "page" : listWorkRequestErrorsRequest . page , "limit" : listWorkRequestErrorsRequest . limit } ; 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-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 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 DataSafeClient#listWorkRequestLogs." ) ; const pathParams = { "{workRequestId}" : listWorkRequestLogsRequest . workRequestId } ; const queryParams = { "page" : listWorkRequestLogsRequest . page , "limit" : listWorkRequestLogsRequest . limit } ; 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-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 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 DataSafeClient#listWorkRequests." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listWorkRequestsRequest . compartmentId , "operationType" : listWorkRequestsRequest . operationType , "resourceId" : listWorkRequestsRequest . resourceId , "page" : listWorkRequestsRequest . page , "limit" : listWorkRequestsRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestSummary , type : "Array<model.WorkRequestSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-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 RefreshSecurityAssessmentRequest return throws example Click  https to see how to use RefreshSecurityAssessment API.
      public async refreshSecurityAssessment ( refreshSecurityAssessmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#refreshSecurityAssessment." ) ; const pathParams = { "{securityAssessmentId}" : refreshSecurityAssessmentRequest . securityAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : refreshSecurityAssessmentRequest . opcRetryToken , "opc-request-id" : refreshSecurityAssessmentRequest . opcRequestId , "if-match" : refreshSecurityAssessmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , refreshSecurityAssessmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments/{securityAssessmentId}/actions/refresh" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( refreshSecurityAssessmentRequest . runSecurityAssessmentDetails , "RunSecurityAssessmentDetails" , model . RunSecurityAssessmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RefreshSecurityAssessmentResponse > { } , 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 RefreshUserAssessmentRequest return throws example Click  https to see how to use RefreshUserAssessment API.
      public async refreshUserAssessment ( refreshUserAssessmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#refreshUserAssessment." ) ; const pathParams = { "{userAssessmentId}" : refreshUserAssessmentRequest . userAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : refreshUserAssessmentRequest . opcRetryToken , "opc-request-id" : refreshUserAssessmentRequest . opcRequestId , "if-match" : refreshUserAssessmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , refreshUserAssessmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}/actions/refresh" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( refreshUserAssessmentRequest . runUserAssessmentDetails , "RunUserAssessmentDetails" , model . RunUserAssessmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RefreshUserAssessmentResponse > { } , 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 SetSecurityAssessmentBaselineRequest return throws example Click  https to see how to use SetSecurityAssessmentBaseline API.
      public async setSecurityAssessmentBaseline ( setSecurityAssessmentBaselineRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#setSecurityAssessmentBaseline." ) ; const pathParams = { "{securityAssessmentId}" : setSecurityAssessmentBaselineRequest . securityAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : setSecurityAssessmentBaselineRequest . ifMatch , "opc-retry-token" : setSecurityAssessmentBaselineRequest . opcRetryToken , "opc-request-id" : setSecurityAssessmentBaselineRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , setSecurityAssessmentBaselineRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments/{securityAssessmentId}/actions/setBaseline" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( setSecurityAssessmentBaselineRequest . baseLineDetails , "SecurityAssessmentBaseLineDetails" , model . SecurityAssessmentBaseLineDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SetSecurityAssessmentBaselineResponse > { } , 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 SetUserAssessmentBaselineRequest return throws example Click  https to see how to use SetUserAssessmentBaseline API.
      public async setUserAssessmentBaseline ( setUserAssessmentBaselineRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#setUserAssessmentBaseline." ) ; const pathParams = { "{userAssessmentId}" : setUserAssessmentBaselineRequest . userAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : setUserAssessmentBaselineRequest . ifMatch , "opc-retry-token" : setUserAssessmentBaselineRequest . opcRetryToken , "opc-request-id" : setUserAssessmentBaselineRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , setUserAssessmentBaselineRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}/actions/setBaseline" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( setUserAssessmentBaselineRequest . baseLineDetails , "UserAssessmentBaseLineDetails" , model . UserAssessmentBaseLineDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SetUserAssessmentBaselineResponse > { } , 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 UnsetSecurityAssessmentBaselineRequest return throws example Click  https to see how to use UnsetSecurityAssessmentBaseline API.
      public async unsetSecurityAssessmentBaseline ( unsetSecurityAssessmentBaselineRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#unsetSecurityAssessmentBaseline." ) ; const pathParams = { "{securityAssessmentId}" : unsetSecurityAssessmentBaselineRequest . securityAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : unsetSecurityAssessmentBaselineRequest . ifMatch , "opc-retry-token" : unsetSecurityAssessmentBaselineRequest . opcRetryToken , "opc-request-id" : unsetSecurityAssessmentBaselineRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , unsetSecurityAssessmentBaselineRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments/{securityAssessmentId}/actions/unsetBaseline" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UnsetSecurityAssessmentBaselineResponse > { } , 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 UnsetUserAssessmentBaselineRequest return throws example Click  https to see how to use UnsetUserAssessmentBaseline API.
      public async unsetUserAssessmentBaseline ( unsetUserAssessmentBaselineRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#unsetUserAssessmentBaseline." ) ; const pathParams = { "{userAssessmentId}" : unsetUserAssessmentBaselineRequest . userAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : unsetUserAssessmentBaselineRequest . ifMatch , "opc-retry-token" : unsetUserAssessmentBaselineRequest . opcRetryToken , "opc-request-id" : unsetUserAssessmentBaselineRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , unsetUserAssessmentBaselineRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}/actions/unsetBaseline" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UnsetUserAssessmentBaselineResponse > { } , 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 UpdateDataSafePrivateEndpointRequest return throws example Click  https to see how to use UpdateDataSafePrivateEndpoint API.
      public async updateDataSafePrivateEndpoint ( updateDataSafePrivateEndpointRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#updateDataSafePrivateEndpoint." ) ; const pathParams = { "{dataSafePrivateEndpointId}" : updateDataSafePrivateEndpointRequest . dataSafePrivateEndpointId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateDataSafePrivateEndpointRequest . ifMatch , "opc-request-id" : updateDataSafePrivateEndpointRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDataSafePrivateEndpointRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dataSafePrivateEndpoints/{dataSafePrivateEndpointId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateDataSafePrivateEndpointRequest . updateDataSafePrivateEndpointDetails , "UpdateDataSafePrivateEndpointDetails" , model . UpdateDataSafePrivateEndpointDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDataSafePrivateEndpointResponse > { } , 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 UpdateOnPremConnectorRequest return throws example Click  https to see how to use UpdateOnPremConnector API.
      public async updateOnPremConnector ( updateOnPremConnectorRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#updateOnPremConnector." ) ; const pathParams = { "{onPremConnectorId}" : updateOnPremConnectorRequest . onPremConnectorId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateOnPremConnectorRequest . ifMatch , "opc-request-id" : updateOnPremConnectorRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateOnPremConnectorRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/onPremConnectors/{onPremConnectorId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateOnPremConnectorRequest . updateOnPremConnectorDetails , "UpdateOnPremConnectorDetails" , model . UpdateOnPremConnectorDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateOnPremConnectorResponse > { } , 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 UpdateOnPremConnectorWalletRequest return throws example Click  https to see how to use UpdateOnPremConnectorWallet API.
      public async updateOnPremConnectorWallet ( updateOnPremConnectorWalletRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#updateOnPremConnectorWallet." ) ; const pathParams = { "{onPremConnectorId}" : updateOnPremConnectorWalletRequest . onPremConnectorId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : updateOnPremConnectorWalletRequest . opcRetryToken , "if-match" : updateOnPremConnectorWalletRequest . ifMatch , "opc-request-id" : updateOnPremConnectorWalletRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateOnPremConnectorWalletRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/onPremConnectors/{onPremConnectorId}/wallet" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateOnPremConnectorWalletRequest . updateOnPremConnectorWalletDetails , "UpdateOnPremConnectorWalletDetails" , model . UpdateOnPremConnectorWalletDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateOnPremConnectorWalletResponse > { } , 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 UpdateSecurityAssessmentRequest return throws example Click  https to see how to use UpdateSecurityAssessment API.
      public async updateSecurityAssessment ( updateSecurityAssessmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#updateSecurityAssessment." ) ; const pathParams = { "{securityAssessmentId}" : updateSecurityAssessmentRequest . securityAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateSecurityAssessmentRequest . opcRequestId , "if-match" : updateSecurityAssessmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateSecurityAssessmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityAssessments/{securityAssessmentId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateSecurityAssessmentRequest . updateSecurityAssessmentDetails , "UpdateSecurityAssessmentDetails" , model . UpdateSecurityAssessmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateSecurityAssessmentResponse > { } , 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 UpdateTargetDatabaseRequest return throws example Click  https to see how to use UpdateTargetDatabase API.
      public async updateTargetDatabase ( updateTargetDatabaseRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#updateTargetDatabase." ) ; const pathParams = { "{targetDatabaseId}" : updateTargetDatabaseRequest . targetDatabaseId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateTargetDatabaseRequest . opcRequestId , "if-match" : updateTargetDatabaseRequest . ifMatch , "opc-retry-token" : updateTargetDatabaseRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateTargetDatabaseRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/targetDatabases/{targetDatabaseId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateTargetDatabaseRequest . updateTargetDatabaseDetails , "UpdateTargetDatabaseDetails" , model . UpdateTargetDatabaseDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateTargetDatabaseResponse > { } , 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 UpdateUserAssessmentRequest return throws example Click  https to see how to use UpdateUserAssessment API.
      public async updateUserAssessment ( updateUserAssessmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataSafeClient#updateUserAssessment." ) ; const pathParams = { "{userAssessmentId}" : updateUserAssessmentRequest . userAssessmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateUserAssessmentRequest . opcRequestId , "if-match" : updateUserAssessmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateUserAssessmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userAssessments/{userAssessmentId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateUserAssessmentRequest . updateUserAssessmentDetails , "UpdateUserAssessmentDetails" , model . UpdateUserAssessmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateUserAssessmentResponse > { } , 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 ; } } }