/**
 * Service Catalog API
 * Manage solutions in Oracle Cloud Infrastructure Service Catalog.
 * OpenAPI spec version: 20210527
 *
 *
 * 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 { ServiceCatalogWaiter } from "./servicecatalog-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum ServiceCatalogApiKeys { } /**
 * 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 ServiceCatalogClient { protected static serviceEndpointTemplate = "https://service-catalog.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : ServiceCatalogWaiter ; 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 + "/20210527" ; if ( this . logger ) this . logger . info ( `ServiceCatalogClient 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 ( ServiceCatalogClient . 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 ( ServiceCatalogClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new ServiceCatalogWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param BulkReplaceServiceCatalogAssociationsRequest return throws example Click  https to see how to use BulkReplaceServiceCatalogAssociations API.
      public async bulkReplaceServiceCatalogAssociations ( bulkReplaceServiceCatalogAssociationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#bulkReplaceServiceCatalogAssociations." ) ; const pathParams = { "{serviceCatalogId}" : bulkReplaceServiceCatalogAssociationsRequest . serviceCatalogId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : bulkReplaceServiceCatalogAssociationsRequest . ifMatch , "opc-request-id" : bulkReplaceServiceCatalogAssociationsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , bulkReplaceServiceCatalogAssociationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceCatalogs/{serviceCatalogId}/actions/bulkReplaceAssociations" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( bulkReplaceServiceCatalogAssociationsRequest . bulkReplaceServiceCatalogAssociationsDetails , "BulkReplaceServiceCatalogAssociationsDetails" , model . BulkReplaceServiceCatalogAssociationsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . BulkReplaceServiceCatalogAssociationsResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangePrivateApplicationCompartmentRequest return throws example Click  https to see how to use ChangePrivateApplicationCompartment API.
      public async changePrivateApplicationCompartment ( changePrivateApplicationCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#changePrivateApplicationCompartment." ) ; const pathParams = { "{privateApplicationId}" : changePrivateApplicationCompartmentRequest . privateApplicationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changePrivateApplicationCompartmentRequest . opcRequestId , "if-match" : changePrivateApplicationCompartmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changePrivateApplicationCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateApplications/{privateApplicationId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changePrivateApplicationCompartmentRequest . changePrivateApplicationCompartmentDetails , "ChangePrivateApplicationCompartmentDetails" , model . ChangePrivateApplicationCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangePrivateApplicationCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeServiceCatalogCompartmentRequest return throws example Click  https to see how to use ChangeServiceCatalogCompartment API.
      public async changeServiceCatalogCompartment ( changeServiceCatalogCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#changeServiceCatalogCompartment." ) ; const pathParams = { "{serviceCatalogId}" : changeServiceCatalogCompartmentRequest . serviceCatalogId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeServiceCatalogCompartmentRequest . opcRequestId , "if-match" : changeServiceCatalogCompartmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeServiceCatalogCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceCatalogs/{serviceCatalogId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeServiceCatalogCompartmentRequest . changeServiceCatalogCompartmentDetails , "ChangeServiceCatalogCompartmentDetails" , model . ChangeServiceCatalogCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeServiceCatalogCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreatePrivateApplicationRequest return throws example Click  https to see how to use CreatePrivateApplication API.
      public async createPrivateApplication ( createPrivateApplicationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#createPrivateApplication." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createPrivateApplicationRequest . opcRetryToken , "opc-request-id" : createPrivateApplicationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createPrivateApplicationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateApplications" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createPrivateApplicationRequest . createPrivateApplicationDetails , "CreatePrivateApplicationDetails" , model . CreatePrivateApplicationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreatePrivateApplicationResponse > { } , body : await response . json ( ) , bodyKey : "privateApplication" , bodyModel : model . PrivateApplication , type : "model.PrivateApplication" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateServiceCatalogRequest return throws example Click  https to see how to use CreateServiceCatalog API.
      public async createServiceCatalog ( createServiceCatalogRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#createServiceCatalog." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createServiceCatalogRequest . opcRetryToken , "opc-request-id" : createServiceCatalogRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createServiceCatalogRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceCatalogs" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createServiceCatalogRequest . createServiceCatalogDetails , "CreateServiceCatalogDetails" , model . CreateServiceCatalogDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateServiceCatalogResponse > { } , body : await response . json ( ) , bodyKey : "serviceCatalog" , bodyModel : model . ServiceCatalog , type : "model.ServiceCatalog" , 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 CreateServiceCatalogAssociationRequest return throws example Click  https to see how to use CreateServiceCatalogAssociation API.
      public async createServiceCatalogAssociation ( createServiceCatalogAssociationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#createServiceCatalogAssociation." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createServiceCatalogAssociationRequest . opcRetryToken , "opc-request-id" : createServiceCatalogAssociationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createServiceCatalogAssociationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceCatalogAssociations" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createServiceCatalogAssociationRequest . createServiceCatalogAssociationDetails , "CreateServiceCatalogAssociationDetails" , model . CreateServiceCatalogAssociationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateServiceCatalogAssociationResponse > { } , body : await response . json ( ) , bodyKey : "serviceCatalogAssociation" , bodyModel : model . ServiceCatalogAssociation , type : "model.ServiceCatalogAssociation" , 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 DeletePrivateApplicationRequest return throws example Click  https to see how to use DeletePrivateApplication API.
      public async deletePrivateApplication ( deletePrivateApplicationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#deletePrivateApplication." ) ; const pathParams = { "{privateApplicationId}" : deletePrivateApplicationRequest . privateApplicationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deletePrivateApplicationRequest . ifMatch , "opc-request-id" : deletePrivateApplicationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deletePrivateApplicationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateApplications/{privateApplicationId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeletePrivateApplicationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteServiceCatalogRequest return throws example Click  https to see how to use DeleteServiceCatalog API.
      public async deleteServiceCatalog ( deleteServiceCatalogRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#deleteServiceCatalog." ) ; const pathParams = { "{serviceCatalogId}" : deleteServiceCatalogRequest . serviceCatalogId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteServiceCatalogRequest . ifMatch , "opc-request-id" : deleteServiceCatalogRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteServiceCatalogRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceCatalogs/{serviceCatalogId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteServiceCatalogResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteServiceCatalogAssociationRequest return throws example Click  https to see how to use DeleteServiceCatalogAssociation API.
      public async deleteServiceCatalogAssociation ( deleteServiceCatalogAssociationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#deleteServiceCatalogAssociation." ) ; const pathParams = { "{serviceCatalogAssociationId}" : deleteServiceCatalogAssociationRequest . serviceCatalogAssociationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteServiceCatalogAssociationRequest . ifMatch , "opc-request-id" : deleteServiceCatalogAssociationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteServiceCatalogAssociationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceCatalogAssociations/{serviceCatalogAssociationId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteServiceCatalogAssociationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetPrivateApplicationRequest return throws example Click  https to see how to use GetPrivateApplication API.
      public async getPrivateApplication ( getPrivateApplicationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#getPrivateApplication." ) ; const pathParams = { "{privateApplicationId}" : getPrivateApplicationRequest . privateApplicationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getPrivateApplicationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPrivateApplicationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateApplications/{privateApplicationId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPrivateApplicationResponse > { } , body : await response . json ( ) , bodyKey : "privateApplication" , bodyModel : model . PrivateApplication , type : "model.PrivateApplication" , 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 GetPrivateApplicationActionDownloadLogoRequest return throws example Click  https to see how to use GetPrivateApplicationActionDownloadLogo API.
      public async getPrivateApplicationActionDownloadLogo ( getPrivateApplicationActionDownloadLogoRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#getPrivateApplicationActionDownloadLogo." ) ; const pathParams = { "{privateApplicationId}" : getPrivateApplicationActionDownloadLogoRequest . privateApplicationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getPrivateApplicationActionDownloadLogoRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPrivateApplicationActionDownloadLogoRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateApplications/{privateApplicationId}/actions/downloadLogo" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPrivateApplicationActionDownloadLogoResponse > { } , body : response . body ! , bodyKey : "value" , bodyModel : "string" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetPrivateApplicationPackageRequest return throws example Click  https to see how to use GetPrivateApplicationPackage API.
      public async getPrivateApplicationPackage ( getPrivateApplicationPackageRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#getPrivateApplicationPackage." ) ; const pathParams = { "{privateApplicationPackageId}" : getPrivateApplicationPackageRequest . privateApplicationPackageId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getPrivateApplicationPackageRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPrivateApplicationPackageRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateApplicationPackages/{privateApplicationPackageId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPrivateApplicationPackageResponse > { } , body : await response . json ( ) , bodyKey : "privateApplicationPackage" , bodyModel : model . PrivateApplicationPackage , type : "model.PrivateApplicationPackage" , 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 GetPrivateApplicationPackageActionDownloadConfigRequest return throws example Click  https to see how to use GetPrivateApplicationPackageActionDownloadConfig API.
      public async getPrivateApplicationPackageActionDownloadConfig ( getPrivateApplicationPackageActionDownloadConfigRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#getPrivateApplicationPackageActionDownloadConfig." ) ; const pathParams = { "{privateApplicationPackageId}" : getPrivateApplicationPackageActionDownloadConfigRequest . privateApplicationPackageId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getPrivateApplicationPackageActionDownloadConfigRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPrivateApplicationPackageActionDownloadConfigRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateApplicationPackages/{privateApplicationPackageId}/actions/downloadConfig" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPrivateApplicationPackageActionDownloadConfigResponse > { } , body : response . body ! , bodyKey : "value" , bodyModel : "string" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetServiceCatalogRequest return throws example Click  https to see how to use GetServiceCatalog API.
      public async getServiceCatalog ( getServiceCatalogRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#getServiceCatalog." ) ; const pathParams = { "{serviceCatalogId}" : getServiceCatalogRequest . serviceCatalogId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getServiceCatalogRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getServiceCatalogRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceCatalogs/{serviceCatalogId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetServiceCatalogResponse > { } , body : await response . json ( ) , bodyKey : "serviceCatalog" , bodyModel : model . ServiceCatalog , type : "model.ServiceCatalog" , 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 GetServiceCatalogAssociationRequest return throws example Click  https to see how to use GetServiceCatalogAssociation API.
      public async getServiceCatalogAssociation ( getServiceCatalogAssociationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#getServiceCatalogAssociation." ) ; const pathParams = { "{serviceCatalogAssociationId}" : getServiceCatalogAssociationRequest . serviceCatalogAssociationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getServiceCatalogAssociationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getServiceCatalogAssociationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceCatalogAssociations/{serviceCatalogAssociationId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetServiceCatalogAssociationResponse > { } , body : await response . json ( ) , bodyKey : "serviceCatalogAssociation" , bodyModel : model . ServiceCatalogAssociation , type : "model.ServiceCatalogAssociation" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetWorkRequestRequest return throws example Click  https to see how to use GetWorkRequest API.
      public async getWorkRequest ( getWorkRequestRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#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 ListApplicationsRequest return throws example Click  https to see how to use ListApplications API.
      public async listApplications ( listApplicationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#listApplications." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listApplicationsRequest . compartmentId , "serviceCatalogId" : listApplicationsRequest . serviceCatalogId , "entityType" : listApplicationsRequest . entityType , "limit" : listApplicationsRequest . limit , "page" : listApplicationsRequest . page , "displayName" : listApplicationsRequest . displayName , "entityId" : listApplicationsRequest . entityId , "publisherId" : listApplicationsRequest . publisherId , "packageType" : listApplicationsRequest . packageType , "pricing" : listApplicationsRequest . pricing , "isFeatured" : listApplicationsRequest . isFeatured , "sortOrder" : listApplicationsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listApplicationsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listApplicationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/applications" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListApplicationsResponse > { } , body : await response . json ( ) , bodyKey : "applicationCollection" , bodyModel : model . ApplicationCollection , type : "model.ApplicationCollection" , 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 ListPrivateApplicationPackagesRequest return throws example Click  https to see how to use ListPrivateApplicationPackages API.
      public async listPrivateApplicationPackages ( listPrivateApplicationPackagesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#listPrivateApplicationPackages." ) ; const pathParams = { } ; const queryParams = { "privateApplicationId" : listPrivateApplicationPackagesRequest . privateApplicationId , "privateApplicationPackageId" : listPrivateApplicationPackagesRequest . privateApplicationPackageId , "packageType" : listPrivateApplicationPackagesRequest . packageType , "limit" : listPrivateApplicationPackagesRequest . limit , "page" : listPrivateApplicationPackagesRequest . page , "sortBy" : listPrivateApplicationPackagesRequest . sortBy , "sortOrder" : listPrivateApplicationPackagesRequest . sortOrder , "displayName" : listPrivateApplicationPackagesRequest . displayName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listPrivateApplicationPackagesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listPrivateApplicationPackagesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateApplicationPackages" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListPrivateApplicationPackagesResponse > { } , body : await response . json ( ) , bodyKey : "privateApplicationPackageCollection" , bodyModel : model . PrivateApplicationPackageCollection , type : "model.PrivateApplicationPackageCollection" , 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 ListPrivateApplicationsRequest return throws example Click  https to see how to use ListPrivateApplications API.
      public async listPrivateApplications ( listPrivateApplicationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#listPrivateApplications." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listPrivateApplicationsRequest . compartmentId , "privateApplicationId" : listPrivateApplicationsRequest . privateApplicationId , "limit" : listPrivateApplicationsRequest . limit , "page" : listPrivateApplicationsRequest . page , "sortBy" : listPrivateApplicationsRequest . sortBy , "sortOrder" : listPrivateApplicationsRequest . sortOrder , "displayName" : listPrivateApplicationsRequest . displayName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listPrivateApplicationsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listPrivateApplicationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateApplications" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListPrivateApplicationsResponse > { } , body : await response . json ( ) , bodyKey : "privateApplicationCollection" , bodyModel : model . PrivateApplicationCollection , type : "model.PrivateApplicationCollection" , 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 ListServiceCatalogAssociationsRequest return throws example Click  https to see how to use ListServiceCatalogAssociations API.
      public async listServiceCatalogAssociations ( listServiceCatalogAssociationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#listServiceCatalogAssociations." ) ; const pathParams = { } ; const queryParams = { "serviceCatalogAssociationId" : listServiceCatalogAssociationsRequest . serviceCatalogAssociationId , "serviceCatalogId" : listServiceCatalogAssociationsRequest . serviceCatalogId , "entityId" : listServiceCatalogAssociationsRequest . entityId , "entityType" : listServiceCatalogAssociationsRequest . entityType , "limit" : listServiceCatalogAssociationsRequest . limit , "page" : listServiceCatalogAssociationsRequest . page , "sortOrder" : listServiceCatalogAssociationsRequest . sortOrder , "sortBy" : listServiceCatalogAssociationsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listServiceCatalogAssociationsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listServiceCatalogAssociationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceCatalogAssociations" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListServiceCatalogAssociationsResponse > { } , body : await response . json ( ) , bodyKey : "serviceCatalogAssociationCollection" , bodyModel : model . ServiceCatalogAssociationCollection , type : "model.ServiceCatalogAssociationCollection" , 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 ListServiceCatalogsRequest return throws example Click  https to see how to use ListServiceCatalogs API.
      public async listServiceCatalogs ( listServiceCatalogsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#listServiceCatalogs." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listServiceCatalogsRequest . compartmentId , "serviceCatalogId" : listServiceCatalogsRequest . serviceCatalogId , "limit" : listServiceCatalogsRequest . limit , "page" : listServiceCatalogsRequest . page , "sortBy" : listServiceCatalogsRequest . sortBy , "sortOrder" : listServiceCatalogsRequest . sortOrder , "displayName" : listServiceCatalogsRequest . displayName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listServiceCatalogsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listServiceCatalogsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceCatalogs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListServiceCatalogsResponse > { } , body : await response . json ( ) , bodyKey : "serviceCatalogCollection" , bodyModel : model . ServiceCatalogCollection , type : "model.ServiceCatalogCollection" , 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 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 ServiceCatalogClient#listWorkRequestErrors." ) ; const pathParams = { "{workRequestId}" : listWorkRequestErrorsRequest . workRequestId } ; const queryParams = { "page" : listWorkRequestErrorsRequest . page , "limit" : listWorkRequestErrorsRequest . limit , "sortBy" : listWorkRequestErrorsRequest . sortBy , "sortOrder" : listWorkRequestErrorsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestErrorsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestErrorsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}/errors" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestErrorsResponse > { } , body : await response . json ( ) , bodyKey : "workRequestErrorCollection" , bodyModel : model . WorkRequestErrorCollection , type : "model.WorkRequestErrorCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param 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 ServiceCatalogClient#listWorkRequestLogs." ) ; const pathParams = { "{workRequestId}" : listWorkRequestLogsRequest . workRequestId } ; const queryParams = { "page" : listWorkRequestLogsRequest . page , "limit" : listWorkRequestLogsRequest . limit , "sortBy" : listWorkRequestLogsRequest . sortBy , "sortOrder" : listWorkRequestLogsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestLogsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestLogsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}/logs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestLogsResponse > { } , body : await response . json ( ) , bodyKey : "workRequestLogEntryCollection" , bodyModel : model . WorkRequestLogEntryCollection , type : "model.WorkRequestLogEntryCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param 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 ServiceCatalogClient#listWorkRequests." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listWorkRequestsRequest . compartmentId , "workRequestId" : listWorkRequestsRequest . workRequestId , "status" : listWorkRequestsRequest . status , "resourceId" : listWorkRequestsRequest . resourceId , "page" : listWorkRequestsRequest . page , "limit" : listWorkRequestsRequest . limit , "sortOrder" : listWorkRequestsRequest . sortOrder , "sortBy" : listWorkRequestsRequest . sortBy } ; 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 : "workRequestSummaryCollection" , bodyModel : model . WorkRequestSummaryCollection , type : "model.WorkRequestSummaryCollection" , 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 UpdatePrivateApplicationRequest return throws example Click  https to see how to use UpdatePrivateApplication API.
      public async updatePrivateApplication ( updatePrivateApplicationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#updatePrivateApplication." ) ; const pathParams = { "{privateApplicationId}" : updatePrivateApplicationRequest . privateApplicationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updatePrivateApplicationRequest . opcRequestId , "if-match" : updatePrivateApplicationRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updatePrivateApplicationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateApplications/{privateApplicationId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updatePrivateApplicationRequest . updatePrivateApplicationDetails , "UpdatePrivateApplicationDetails" , model . UpdatePrivateApplicationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdatePrivateApplicationResponse > { } , body : await response . json ( ) , bodyKey : "privateApplication" , bodyModel : model . PrivateApplication , type : "model.PrivateApplication" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateServiceCatalogRequest return throws example Click  https to see how to use UpdateServiceCatalog API.
      public async updateServiceCatalog ( updateServiceCatalogRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ServiceCatalogClient#updateServiceCatalog." ) ; const pathParams = { "{serviceCatalogId}" : updateServiceCatalogRequest . serviceCatalogId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateServiceCatalogRequest . opcRequestId , "if-match" : updateServiceCatalogRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateServiceCatalogRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceCatalogs/{serviceCatalogId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateServiceCatalogRequest . updateServiceCatalogDetails , "UpdateServiceCatalogDetails" , model . UpdateServiceCatalogDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateServiceCatalogResponse > { } , body : await response . json ( ) , bodyKey : "serviceCatalog" , bodyModel : model . ServiceCatalog , type : "model.ServiceCatalog" , 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 ; } } }