/**
 * Resource Manager API
 * Use the Resource Manager API to automate deployment and operations for all Oracle Cloud Infrastructure resources.
Using the infrastructure-as-code (IaC) model, the service is based on Terraform, an open source industry standard that lets DevOps engineers develop and deploy their infrastructure anywhere.
For more information, see
[the Resource Manager documentation](/iaas/Content/ResourceManager/home.htm).

 * OpenAPI spec version: 20180917
 *
 *
 * 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 { ResourceManagerWaiter } from "./resourcemanager-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum ResourceManagerApiKeys { } /**
 * 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 ResourceManagerClient { protected static serviceEndpointTemplate = "https://resourcemanager.{region}.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : ResourceManagerWaiter ; 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 + "/20180917" ; if ( this . logger ) this . logger . info ( `ResourceManagerClient 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 ( ResourceManagerClient . 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 ( ResourceManagerClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new ResourceManagerWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param CancelJobRequest return throws example Click  https to see how to use CancelJob API.
      public async cancelJob ( cancelJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#cancelJob." ) ; const pathParams = { "{jobId}" : cancelJobRequest . jobId } ; const queryParams = { "isForced" : cancelJobRequest . isForced } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : cancelJobRequest . opcRequestId , "if-match" : cancelJobRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , cancelJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CancelJobResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeConfigurationSourceProviderCompartmentRequest return throws example Click  https to see how to use ChangeConfigurationSourceProviderCompartment API.
      public async changeConfigurationSourceProviderCompartment ( changeConfigurationSourceProviderCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#changeConfigurationSourceProviderCompartment." ) ; const pathParams = { "{configurationSourceProviderId}" : changeConfigurationSourceProviderCompartmentRequest . configurationSourceProviderId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeConfigurationSourceProviderCompartmentRequest . ifMatch , "opc-request-id" : changeConfigurationSourceProviderCompartmentRequest . opcRequestId , "opc-retry-token" : changeConfigurationSourceProviderCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeConfigurationSourceProviderCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/configurationSourceProviders/{configurationSourceProviderId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeConfigurationSourceProviderCompartmentRequest . changeConfigurationSourceProviderCompartmentDetails , "ChangeConfigurationSourceProviderCompartmentDetails" , model . ChangeConfigurationSourceProviderCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeConfigurationSourceProviderCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeStackCompartmentRequest return throws example Click  https to see how to use ChangeStackCompartment API.
      public async changeStackCompartment ( changeStackCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#changeStackCompartment." ) ; const pathParams = { "{stackId}" : changeStackCompartmentRequest . stackId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeStackCompartmentRequest . ifMatch , "opc-request-id" : changeStackCompartmentRequest . opcRequestId , "opc-retry-token" : changeStackCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeStackCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/stacks/{stackId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeStackCompartmentRequest . changeStackCompartmentDetails , "ChangeStackCompartmentDetails" , model . ChangeStackCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeStackCompartmentResponse > { } , 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 ChangeTemplateCompartmentRequest return throws example Click  https to see how to use ChangeTemplateCompartment API.
      public async changeTemplateCompartment ( changeTemplateCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#changeTemplateCompartment." ) ; const pathParams = { "{templateId}" : changeTemplateCompartmentRequest . templateId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeTemplateCompartmentRequest . ifMatch , "opc-request-id" : changeTemplateCompartmentRequest . opcRequestId , "opc-retry-token" : changeTemplateCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeTemplateCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/templates/{templateId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeTemplateCompartmentRequest . changeTemplateCompartmentDetails , "ChangeTemplateCompartmentDetails" , model . ChangeTemplateCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeTemplateCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateConfigurationSourceProviderRequest return throws example Click  https to see how to use CreateConfigurationSourceProvider API.
      public async createConfigurationSourceProvider ( createConfigurationSourceProviderRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#createConfigurationSourceProvider." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createConfigurationSourceProviderRequest . opcRequestId , "opc-retry-token" : createConfigurationSourceProviderRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createConfigurationSourceProviderRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/configurationSourceProviders" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createConfigurationSourceProviderRequest . createConfigurationSourceProviderDetails , "CreateConfigurationSourceProviderDetails" , model . CreateConfigurationSourceProviderDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateConfigurationSourceProviderResponse > { } , body : await response . json ( ) , bodyKey : "configurationSourceProvider" , bodyModel : model . ConfigurationSourceProvider , type : "model.ConfigurationSourceProvider" , 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 CreateJobRequest return throws example Click  https to see how to use CreateJob API.
      public async createJob ( createJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#createJob." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createJobRequest . opcRequestId , "opc-retry-token" : createJobRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createJobRequest . createJobDetails , "CreateJobDetails" , model . CreateJobDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateJobResponse > { } , body : await response . json ( ) , bodyKey : "job" , bodyModel : model . Job , type : "model.Job" , 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 CreateStackRequest return throws example Click  https to see how to use CreateStack API.
      public async createStack ( createStackRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#createStack." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createStackRequest . opcRequestId , "opc-retry-token" : createStackRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createStackRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/stacks" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createStackRequest . createStackDetails , "CreateStackDetails" , model . CreateStackDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateStackResponse > { } , body : await response . json ( ) , bodyKey : "stack" , bodyModel : model . Stack , type : "model.Stack" , 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 CreateTemplateRequest return throws example Click  https to see how to use CreateTemplate API.
      public async createTemplate ( createTemplateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#createTemplate." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createTemplateRequest . opcRequestId , "opc-retry-token" : createTemplateRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createTemplateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/templates" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createTemplateRequest . createTemplateDetails , "CreateTemplateDetails" , model . CreateTemplateDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateTemplateResponse > { } , body : await response . json ( ) , bodyKey : "template" , bodyModel : model . Template , type : "model.Template" , 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 DeleteConfigurationSourceProviderRequest return throws example Click  https to see how to use DeleteConfigurationSourceProvider API.
      public async deleteConfigurationSourceProvider ( deleteConfigurationSourceProviderRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#deleteConfigurationSourceProvider." ) ; const pathParams = { "{configurationSourceProviderId}" : deleteConfigurationSourceProviderRequest . configurationSourceProviderId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteConfigurationSourceProviderRequest . opcRequestId , "if-match" : deleteConfigurationSourceProviderRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteConfigurationSourceProviderRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/configurationSourceProviders/{configurationSourceProviderId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteConfigurationSourceProviderResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteStackRequest return throws example Click  https to see how to use DeleteStack API.
      public async deleteStack ( deleteStackRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#deleteStack." ) ; const pathParams = { "{stackId}" : deleteStackRequest . stackId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteStackRequest . opcRequestId , "if-match" : deleteStackRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteStackRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/stacks/{stackId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteStackResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteTemplateRequest return throws example Click  https to see how to use DeleteTemplate API.
      public async deleteTemplate ( deleteTemplateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#deleteTemplate." ) ; const pathParams = { "{templateId}" : deleteTemplateRequest . templateId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteTemplateRequest . opcRequestId , "if-match" : deleteTemplateRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteTemplateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/templates/{templateId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteTemplateResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DetectStackDriftRequest return throws example Click  https to see how to use DetectStackDrift API.
      public async detectStackDrift ( detectStackDriftRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#detectStackDrift." ) ; const pathParams = { "{stackId}" : detectStackDriftRequest . stackId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : detectStackDriftRequest . ifMatch , "opc-request-id" : detectStackDriftRequest . opcRequestId , "opc-retry-token" : detectStackDriftRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , detectStackDriftRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/stacks/{stackId}/actions/detectDrift" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( detectStackDriftRequest . detectStackDriftDetails , "DetectStackDriftDetails" , model . DetectStackDriftDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DetectStackDriftResponse > { } , 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 GetConfigurationSourceProviderRequest return throws example Click  https to see how to use GetConfigurationSourceProvider API.
      public async getConfigurationSourceProvider ( getConfigurationSourceProviderRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getConfigurationSourceProvider." ) ; const pathParams = { "{configurationSourceProviderId}" : getConfigurationSourceProviderRequest . configurationSourceProviderId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getConfigurationSourceProviderRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getConfigurationSourceProviderRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/configurationSourceProviders/{configurationSourceProviderId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetConfigurationSourceProviderResponse > { } , body : await response . json ( ) , bodyKey : "configurationSourceProvider" , bodyModel : model . ConfigurationSourceProvider , type : "model.ConfigurationSourceProvider" , 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 GetJobRequest return throws example Click  https to see how to use GetJob API.
      public async getJob ( getJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getJob." ) ; const pathParams = { "{jobId}" : getJobRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJobRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJobResponse > { } , body : await response . json ( ) , bodyKey : "job" , bodyModel : model . Job , type : "model.Job" , 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 GetJobDetailedLogContentRequest return throws example Click  https to see how to use GetJobDetailedLogContent API.
      public async getJobDetailedLogContent ( getJobDetailedLogContentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getJobDetailedLogContent." ) ; const pathParams = { "{jobId}" : getJobDetailedLogContentRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJobDetailedLogContentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJobDetailedLogContentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}/detailedLogContent" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJobDetailedLogContentResponse > { } , body : await response . text ( ) , bodyKey : "value" , bodyModel : "string" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetJobLogsRequest return throws example Click  https to see how to use GetJobLogs API.
      public async getJobLogs ( getJobLogsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getJobLogs." ) ; const pathParams = { "{jobId}" : getJobLogsRequest . jobId } ; const queryParams = { "type" : getJobLogsRequest . type , "levelGreaterThanOrEqualTo" : getJobLogsRequest . levelGreaterThanOrEqualTo , "sortOrder" : getJobLogsRequest . sortOrder , "limit" : getJobLogsRequest . limit , "page" : getJobLogsRequest . page , "timestampGreaterThanOrEqualTo" : getJobLogsRequest . timestampGreaterThanOrEqualTo , "timestampLessThanOrEqualTo" : getJobLogsRequest . timestampLessThanOrEqualTo } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJobLogsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJobLogsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}/logs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJobLogsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . LogEntry , type : "Array<model.LogEntry>" , 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 getAllJobLogs ( request ) { return paginateRecords ( request , req => this . getJobLogs ( req ) ) ; } param request public getAllJobLogsResponses ( request ) { return paginateResponses ( request , req => this . getJobLogs ( req ) ) ; } param request public getJobLogsRecordIterator ( request ) { return paginateRecords ( request , req => this . getJobLogs ( req ) ) ; } param request public getJobLogsResponseIterator ( request ) { return paginateResponses ( request , req => this . getJobLogs ( req ) ) ; } param GetJobLogsContentRequest return throws example Click  https to see how to use GetJobLogsContent API.
      public async getJobLogsContent ( getJobLogsContentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getJobLogsContent." ) ; const pathParams = { "{jobId}" : getJobLogsContentRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJobLogsContentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJobLogsContentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}/logs/content" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJobLogsContentResponse > { } , body : await response . text ( ) , bodyKey : "value" , bodyModel : "string" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetJobTfConfigRequest return throws example Click  https to see how to use GetJobTfConfig API.
      public async getJobTfConfig ( getJobTfConfigRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getJobTfConfig." ) ; const pathParams = { "{jobId}" : getJobTfConfigRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJobTfConfigRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJobTfConfigRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}/tfConfig" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJobTfConfigResponse > { } , 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 GetJobTfStateRequest return throws example Click  https to see how to use GetJobTfState API.
      public async getJobTfState ( getJobTfStateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getJobTfState." ) ; const pathParams = { "{jobId}" : getJobTfStateRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJobTfStateRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJobTfStateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}/tfState" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJobTfStateResponse > { } , 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 GetStackRequest return throws example Click  https to see how to use GetStack API.
      public async getStack ( getStackRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getStack." ) ; const pathParams = { "{stackId}" : getStackRequest . stackId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getStackRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getStackRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/stacks/{stackId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetStackResponse > { } , body : await response . json ( ) , bodyKey : "stack" , bodyModel : model . Stack , type : "model.Stack" , 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 GetStackTfConfigRequest return throws example Click  https to see how to use GetStackTfConfig API.
      public async getStackTfConfig ( getStackTfConfigRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getStackTfConfig." ) ; const pathParams = { "{stackId}" : getStackTfConfigRequest . stackId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getStackTfConfigRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getStackTfConfigRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/stacks/{stackId}/tfConfig" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetStackTfConfigResponse > { } , 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 GetStackTfStateRequest return throws example Click  https to see how to use GetStackTfState API.
      public async getStackTfState ( getStackTfStateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getStackTfState." ) ; const pathParams = { "{stackId}" : getStackTfStateRequest . stackId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getStackTfStateRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getStackTfStateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/stacks/{stackId}/tfState" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetStackTfStateResponse > { } , 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 GetTemplateRequest return throws example Click  https to see how to use GetTemplate API.
      public async getTemplate ( getTemplateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getTemplate." ) ; const pathParams = { "{templateId}" : getTemplateRequest . templateId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getTemplateRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getTemplateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/templates/{templateId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetTemplateResponse > { } , body : await response . json ( ) , bodyKey : "template" , bodyModel : model . Template , type : "model.Template" , 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 GetTemplateLogoRequest return throws example Click  https to see how to use GetTemplateLogo API.
      public async getTemplateLogo ( getTemplateLogoRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getTemplateLogo." ) ; const pathParams = { "{templateId}" : getTemplateLogoRequest . templateId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getTemplateLogoRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getTemplateLogoRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/templates/{templateId}/logo" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetTemplateLogoResponse > { } , 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 GetTemplateTfConfigRequest return throws example Click  https to see how to use GetTemplateTfConfig API.
      public async getTemplateTfConfig ( getTemplateTfConfigRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#getTemplateTfConfig." ) ; const pathParams = { "{templateId}" : getTemplateTfConfigRequest . templateId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getTemplateTfConfigRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getTemplateTfConfigRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/templates/{templateId}/tfConfig" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetTemplateTfConfigResponse > { } , 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 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 ResourceManagerClient#getWorkRequest." ) ; const pathParams = { "{workRequestId}" : getWorkRequestRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getWorkRequestRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWorkRequestRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWorkRequestResponse > { } , body : await response . json ( ) , bodyKey : "workRequest" , bodyModel : model . WorkRequest , type : "model.WorkRequest" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListConfigurationSourceProvidersRequest return throws example Click  https to see how to use ListConfigurationSourceProviders API.
      public async listConfigurationSourceProviders ( listConfigurationSourceProvidersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#listConfigurationSourceProviders." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listConfigurationSourceProvidersRequest . compartmentId , "configurationSourceProviderId" : listConfigurationSourceProvidersRequest . configurationSourceProviderId , "displayName" : listConfigurationSourceProvidersRequest . displayName , "sortBy" : listConfigurationSourceProvidersRequest . sortBy , "sortOrder" : listConfigurationSourceProvidersRequest . sortOrder , "limit" : listConfigurationSourceProvidersRequest . limit , "page" : listConfigurationSourceProvidersRequest . page , "configSourceProviderType" : listConfigurationSourceProvidersRequest . configSourceProviderType } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listConfigurationSourceProvidersRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listConfigurationSourceProvidersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/configurationSourceProviders" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListConfigurationSourceProvidersResponse > { } , body : await response . json ( ) , bodyKey : "configurationSourceProviderCollection" , bodyModel : model . ConfigurationSourceProviderCollection , type : "model.ConfigurationSourceProviderCollection" , 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 ListJobsRequest return throws example Click  https to see how to use ListJobs API.
        public async listJobs ( listJobsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#listJobs." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listJobsRequest . compartmentId , "stackId" : listJobsRequest . stackId , "id" : listJobsRequest . id , "lifecycleState" : listJobsRequest . lifecycleState , "displayName" : listJobsRequest . displayName , "sortBy" : listJobsRequest . sortBy , "sortOrder" : listJobsRequest . sortOrder , "limit" : listJobsRequest . limit , "page" : listJobsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listJobsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listJobsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListJobsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . JobSummary , type : "Array<model.JobSummary>" , 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 listAllJobs ( request ) { return paginateRecords ( request , req => this . listJobs ( req ) ) ; } param request public listAllJobsResponses ( request ) { return paginateResponses ( request , req => this . listJobs ( req ) ) ; } param request public listJobsRecordIterator ( request ) { return paginateRecords ( request , req => this . listJobs ( req ) ) ; } param request public listJobsResponseIterator ( request ) { return paginateResponses ( request , req => this . listJobs ( req ) ) ; } param ListResourceDiscoveryServicesRequest return throws example Click  https to see how to use ListResourceDiscoveryServices API.
      public async listResourceDiscoveryServices ( listResourceDiscoveryServicesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#listResourceDiscoveryServices." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listResourceDiscoveryServicesRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listResourceDiscoveryServicesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listResourceDiscoveryServicesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/resourceDiscoveryServices" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListResourceDiscoveryServicesResponse > { } , body : await response . json ( ) , bodyKey : "resourceDiscoveryServiceCollection" , bodyModel : model . ResourceDiscoveryServiceCollection , type : "model.ResourceDiscoveryServiceCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListStackResourceDriftDetailsRequest return throws example Click  https to see how to use ListStackResourceDriftDetails API.
      public async listStackResourceDriftDetails ( listStackResourceDriftDetailsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#listStackResourceDriftDetails." ) ; const pathParams = { "{stackId}" : listStackResourceDriftDetailsRequest . stackId } ; const queryParams = { "workRequestId" : listStackResourceDriftDetailsRequest . workRequestId , "resourceDriftStatus" : listStackResourceDriftDetailsRequest . resourceDriftStatus , "limit" : listStackResourceDriftDetailsRequest . limit , "page" : listStackResourceDriftDetailsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listStackResourceDriftDetailsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listStackResourceDriftDetailsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/stacks/{stackId}/actions/listResourceDriftDetails" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListStackResourceDriftDetailsResponse > { } , body : await response . json ( ) , bodyKey : "stackResourceDriftCollection" , bodyModel : model . StackResourceDriftCollection , type : "model.StackResourceDriftCollection" , 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 ListStacksRequest return throws example Click  https to see how to use ListStacks API.
      public async listStacks ( listStacksRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#listStacks." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listStacksRequest . compartmentId , "id" : listStacksRequest . id , "lifecycleState" : listStacksRequest . lifecycleState , "displayName" : listStacksRequest . displayName , "sortBy" : listStacksRequest . sortBy , "sortOrder" : listStacksRequest . sortOrder , "limit" : listStacksRequest . limit , "page" : listStacksRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listStacksRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listStacksRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/stacks" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListStacksResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . StackSummary , type : "Array<model.StackSummary>" , 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 listAllStacks ( request ) { return paginateRecords ( request , req => this . listStacks ( req ) ) ; } param request public listAllStacksResponses ( request ) { return paginateResponses ( request , req => this . listStacks ( req ) ) ; } param request public listStacksRecordIterator ( request ) { return paginateRecords ( request , req => this . listStacks ( req ) ) ; } param request public listStacksResponseIterator ( request ) { return paginateResponses ( request , req => this . listStacks ( req ) ) ; } param ListTemplateCategoriesRequest return throws example Click  https to see how to use ListTemplateCategories API.
      public async listTemplateCategories ( listTemplateCategoriesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#listTemplateCategories." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listTemplateCategoriesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listTemplateCategoriesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/templateCategories" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListTemplateCategoriesResponse > { } , body : await response . json ( ) , bodyKey : "templateCategorySummaryCollection" , bodyModel : model . TemplateCategorySummaryCollection , type : "model.TemplateCategorySummaryCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListTemplatesRequest return throws example Click  https to see how to use ListTemplates API.
      public async listTemplates ( listTemplatesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#listTemplates." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listTemplatesRequest . compartmentId , "templateCategoryId" : listTemplatesRequest . templateCategoryId , "templateId" : listTemplatesRequest . templateId , "displayName" : listTemplatesRequest . displayName , "sortBy" : listTemplatesRequest . sortBy , "sortOrder" : listTemplatesRequest . sortOrder , "limit" : listTemplatesRequest . limit , "page" : listTemplatesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listTemplatesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listTemplatesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/templates" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListTemplatesResponse > { } , body : await response . json ( ) , bodyKey : "templateSummaryCollection" , bodyModel : model . TemplateSummaryCollection , type : "model.TemplateSummaryCollection" , 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 ListTerraformVersionsRequest return throws example Click  https to see how to use ListTerraformVersions API.
      public async listTerraformVersions ( listTerraformVersionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#listTerraformVersions." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listTerraformVersionsRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listTerraformVersionsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listTerraformVersionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/terraformVersions" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListTerraformVersionsResponse > { } , body : await response . json ( ) , bodyKey : "terraformVersionCollection" , bodyModel : model . TerraformVersionCollection , type : "model.TerraformVersionCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , 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 ResourceManagerClient#listWorkRequestErrors." ) ; const pathParams = { "{workRequestId}" : listWorkRequestErrorsRequest . workRequestId } ; const queryParams = { "compartmentId" : listWorkRequestErrorsRequest . compartmentId , "limit" : listWorkRequestErrorsRequest . limit , "page" : listWorkRequestErrorsRequest . page , "sortOrder" : listWorkRequestErrorsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestErrorsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestErrorsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}/errors" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestErrorsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestError , type : "Array<model.WorkRequestError>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWorkRequestErrors ( request ) { return paginateRecords ( request , req => this . listWorkRequestErrors ( req ) ) ; } param request public listAllWorkRequestErrorsResponses ( request ) { return paginateResponses ( request , req => this . listWorkRequestErrors ( req ) ) ; } param request public listWorkRequestErrorsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWorkRequestErrors ( req ) ) ; } param request public listWorkRequestErrorsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWorkRequestErrors ( req ) ) ; } param ListWorkRequestLogsRequest return throws example Click  https to see how to use ListWorkRequestLogs API.
      public async listWorkRequestLogs ( listWorkRequestLogsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#listWorkRequestLogs." ) ; const pathParams = { "{workRequestId}" : listWorkRequestLogsRequest . workRequestId } ; const queryParams = { "compartmentId" : listWorkRequestLogsRequest . compartmentId , "limit" : listWorkRequestLogsRequest . limit , "page" : listWorkRequestLogsRequest . page , "sortOrder" : listWorkRequestLogsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestLogsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestLogsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}/logs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestLogsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestLogEntry , type : "Array<model.WorkRequestLogEntry>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWorkRequestLogs ( request ) { return paginateRecords ( request , req => this . listWorkRequestLogs ( req ) ) ; } param request public listAllWorkRequestLogsResponses ( request ) { return paginateResponses ( request , req => this . listWorkRequestLogs ( req ) ) ; } param request public listWorkRequestLogsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWorkRequestLogs ( req ) ) ; } param request public listWorkRequestLogsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWorkRequestLogs ( req ) ) ; } param ListWorkRequestsRequest return throws example Click  https to see how to use ListWorkRequests API.
      public async listWorkRequests ( listWorkRequestsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#listWorkRequests." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listWorkRequestsRequest . compartmentId , "resourceId" : listWorkRequestsRequest . resourceId , "limit" : listWorkRequestsRequest . limit , "page" : listWorkRequestsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestSummary , type : "Array<model.WorkRequestSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWorkRequests ( request ) { return paginateRecords ( request , req => this . listWorkRequests ( req ) ) ; } param request public listAllWorkRequestsResponses ( request ) { return paginateResponses ( request , req => this . listWorkRequests ( req ) ) ; } param request public listWorkRequestsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWorkRequests ( req ) ) ; } param request public listWorkRequestsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWorkRequests ( req ) ) ; } param UpdateConfigurationSourceProviderRequest return throws example Click  https to see how to use UpdateConfigurationSourceProvider API.
      public async updateConfigurationSourceProvider ( updateConfigurationSourceProviderRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#updateConfigurationSourceProvider." ) ; const pathParams = { "{configurationSourceProviderId}" : updateConfigurationSourceProviderRequest . configurationSourceProviderId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateConfigurationSourceProviderRequest . opcRequestId , "if-match" : updateConfigurationSourceProviderRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateConfigurationSourceProviderRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/configurationSourceProviders/{configurationSourceProviderId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateConfigurationSourceProviderRequest . updateConfigurationSourceProviderDetails , "UpdateConfigurationSourceProviderDetails" , model . UpdateConfigurationSourceProviderDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateConfigurationSourceProviderResponse > { } , body : await response . json ( ) , bodyKey : "configurationSourceProvider" , bodyModel : model . ConfigurationSourceProvider , type : "model.ConfigurationSourceProvider" , 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 UpdateJobRequest return throws example Click  https to see how to use UpdateJob API.
      public async updateJob ( updateJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#updateJob." ) ; const pathParams = { "{jobId}" : updateJobRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateJobRequest . opcRequestId , "if-match" : updateJobRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateJobRequest . updateJobDetails , "UpdateJobDetails" , model . UpdateJobDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateJobResponse > { } , body : await response . json ( ) , bodyKey : "job" , bodyModel : model . Job , type : "model.Job" , 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 UpdateStackRequest return throws example Click  https to see how to use UpdateStack API.
      public async updateStack ( updateStackRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#updateStack." ) ; const pathParams = { "{stackId}" : updateStackRequest . stackId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateStackRequest . opcRequestId , "if-match" : updateStackRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateStackRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/stacks/{stackId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateStackRequest . updateStackDetails , "UpdateStackDetails" , model . UpdateStackDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateStackResponse > { } , body : await response . json ( ) , bodyKey : "stack" , bodyModel : model . Stack , type : "model.Stack" , 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 UpdateTemplateRequest return throws example Click  https to see how to use UpdateTemplate API.
      public async updateTemplate ( updateTemplateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ResourceManagerClient#updateTemplate." ) ; const pathParams = { "{templateId}" : updateTemplateRequest . templateId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateTemplateRequest . opcRequestId , "if-match" : updateTemplateRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateTemplateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/templates/{templateId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateTemplateRequest . updateTemplateDetails , "UpdateTemplateDetails" , model . UpdateTemplateDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateTemplateResponse > { } , body : await response . json ( ) , bodyKey : "template" , bodyModel : model . Template , type : "model.Template" , 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 ; } } }