/**
 * DNS API
 * API for the DNS service. Use this API to manage DNS zones, records, and other DNS resources.
For more information, see [Overview of the DNS Service](/iaas/Content/DNS/Concepts/dnszonemanagement.htm).

 * OpenAPI spec version: 20180115
 *
 *
 * 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 , genericPaginateRecords , genericPaginateResponses } from "oci-common" ; import { DnsWaiter } from "./dns-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum DnsApiKeys { } /**
 * 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 DnsClient { protected static serviceEndpointTemplate = "https://dns.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : DnsWaiter ; 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 + "/20180115" ; if ( this . logger ) this . logger . info ( `DnsClient 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 ( DnsClient . 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 ( DnsClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new DnsWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param ChangeResolverCompartmentRequest return throws example Click  https to see how to use ChangeResolverCompartment API.
      public async changeResolverCompartment ( changeResolverCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#changeResolverCompartment." ) ; const pathParams = { "{resolverId}" : changeResolverCompartmentRequest . resolverId } ; const queryParams = { "scope" : changeResolverCompartmentRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : changeResolverCompartmentRequest . ifMatch , "opc-retry-token" : changeResolverCompartmentRequest . opcRetryToken , "opc-request-id" : changeResolverCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeResolverCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/resolvers/{resolverId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeResolverCompartmentRequest . changeResolverCompartmentDetails , "ChangeResolverCompartmentDetails" , model . ChangeResolverCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeResolverCompartmentResponse > { } , 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 ChangeSteeringPolicyCompartmentRequest return throws example Click  https to see how to use ChangeSteeringPolicyCompartment API.
      public async changeSteeringPolicyCompartment ( changeSteeringPolicyCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#changeSteeringPolicyCompartment." ) ; const pathParams = { "{steeringPolicyId}" : changeSteeringPolicyCompartmentRequest . steeringPolicyId } ; const queryParams = { "scope" : changeSteeringPolicyCompartmentRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : changeSteeringPolicyCompartmentRequest . ifMatch , "opc-retry-token" : changeSteeringPolicyCompartmentRequest . opcRetryToken , "opc-request-id" : changeSteeringPolicyCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeSteeringPolicyCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/steeringPolicies/{steeringPolicyId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeSteeringPolicyCompartmentRequest . changeSteeringPolicyCompartmentDetails , "ChangeSteeringPolicyCompartmentDetails" , model . ChangeSteeringPolicyCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeSteeringPolicyCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeTsigKeyCompartmentRequest return throws example Click  https to see how to use ChangeTsigKeyCompartment API.
      public async changeTsigKeyCompartment ( changeTsigKeyCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#changeTsigKeyCompartment." ) ; const pathParams = { "{tsigKeyId}" : changeTsigKeyCompartmentRequest . tsigKeyId } ; const queryParams = { "scope" : changeTsigKeyCompartmentRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : changeTsigKeyCompartmentRequest . ifMatch , "opc-retry-token" : changeTsigKeyCompartmentRequest . opcRetryToken , "opc-request-id" : changeTsigKeyCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeTsigKeyCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tsigKeys/{tsigKeyId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeTsigKeyCompartmentRequest . changeTsigKeyCompartmentDetails , "ChangeTsigKeyCompartmentDetails" , model . ChangeTsigKeyCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeTsigKeyCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeViewCompartmentRequest return throws example Click  https to see how to use ChangeViewCompartment API.
      public async changeViewCompartment ( changeViewCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#changeViewCompartment." ) ; const pathParams = { "{viewId}" : changeViewCompartmentRequest . viewId } ; const queryParams = { "scope" : changeViewCompartmentRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : changeViewCompartmentRequest . ifMatch , "opc-retry-token" : changeViewCompartmentRequest . opcRetryToken , "opc-request-id" : changeViewCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeViewCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/views/{viewId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeViewCompartmentRequest . changeViewCompartmentDetails , "ChangeViewCompartmentDetails" , model . ChangeViewCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeViewCompartmentResponse > { } , 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 ChangeZoneCompartmentRequest return throws example Click  https to see how to use ChangeZoneCompartment API.
      public async changeZoneCompartment ( changeZoneCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#changeZoneCompartment." ) ; const pathParams = { "{zoneId}" : changeZoneCompartmentRequest . zoneId } ; const queryParams = { "scope" : changeZoneCompartmentRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : changeZoneCompartmentRequest . ifMatch , "opc-retry-token" : changeZoneCompartmentRequest . opcRetryToken , "opc-request-id" : changeZoneCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeZoneCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeZoneCompartmentRequest . changeZoneCompartmentDetails , "ChangeZoneCompartmentDetails" , model . ChangeZoneCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeZoneCompartmentResponse > { } , 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 CreateResolverEndpointRequest return throws example Click  https to see how to use CreateResolverEndpoint API.
      public async createResolverEndpoint ( createResolverEndpointRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#createResolverEndpoint." ) ; const pathParams = { "{resolverId}" : createResolverEndpointRequest . resolverId } ; const queryParams = { "scope" : createResolverEndpointRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createResolverEndpointRequest . opcRetryToken , "opc-request-id" : createResolverEndpointRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createResolverEndpointRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/resolvers/{resolverId}/endpoints" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createResolverEndpointRequest . createResolverEndpointDetails , "CreateResolverEndpointDetails" , model . CreateResolverEndpointDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateResolverEndpointResponse > { } , body : await response . json ( ) , bodyKey : "resolverEndpoint" , bodyModel : model . ResolverEndpoint , type : "model.ResolverEndpoint" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "Location" ) , key : "location" , dataType : "string" } , { 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 CreateSteeringPolicyRequest return throws example Click  https to see how to use CreateSteeringPolicy API.
      public async createSteeringPolicy ( createSteeringPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#createSteeringPolicy." ) ; const pathParams = { } ; const queryParams = { "scope" : createSteeringPolicyRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createSteeringPolicyRequest . opcRetryToken , "opc-request-id" : createSteeringPolicyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createSteeringPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/steeringPolicies" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createSteeringPolicyRequest . createSteeringPolicyDetails , "CreateSteeringPolicyDetails" , model . CreateSteeringPolicyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateSteeringPolicyResponse > { } , body : await response . json ( ) , bodyKey : "steeringPolicy" , bodyModel : model . SteeringPolicy , type : "model.SteeringPolicy" , responseHeaders : [ { value : response . headers . get ( "ETag" ) , key : "eTag" , dataType : "string" } , { value : response . headers . get ( "Location" ) , key : "location" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateSteeringPolicyAttachmentRequest return throws example Click  https to see how to use CreateSteeringPolicyAttachment API.
        public async createSteeringPolicyAttachment ( createSteeringPolicyAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#createSteeringPolicyAttachment." ) ; const pathParams = { } ; const queryParams = { "scope" : createSteeringPolicyAttachmentRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createSteeringPolicyAttachmentRequest . opcRetryToken , "opc-request-id" : createSteeringPolicyAttachmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createSteeringPolicyAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/steeringPolicyAttachments" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createSteeringPolicyAttachmentRequest . createSteeringPolicyAttachmentDetails , "CreateSteeringPolicyAttachmentDetails" , model . CreateSteeringPolicyAttachmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateSteeringPolicyAttachmentResponse > { } , body : await response . json ( ) , bodyKey : "steeringPolicyAttachment" , bodyModel : model . SteeringPolicyAttachment , type : "model.SteeringPolicyAttachment" , responseHeaders : [ { value : response . headers . get ( "ETag" ) , key : "eTag" , dataType : "string" } , { value : response . headers . get ( "Location" ) , key : "location" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateTsigKeyRequest return throws example Click  https to see how to use CreateTsigKey API.
      public async createTsigKey ( createTsigKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#createTsigKey." ) ; const pathParams = { } ; const queryParams = { "scope" : createTsigKeyRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createTsigKeyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createTsigKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tsigKeys" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createTsigKeyRequest . createTsigKeyDetails , "CreateTsigKeyDetails" , model . CreateTsigKeyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateTsigKeyResponse > { } , body : await response . json ( ) , bodyKey : "tsigKey" , bodyModel : model . TsigKey , type : "model.TsigKey" , responseHeaders : [ { value : response . headers . get ( "ETag" ) , key : "eTag" , dataType : "string" } , { value : response . headers . get ( "Location" ) , key : "location" , dataType : "string" } , { 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 CreateViewRequest return throws example Click  https to see how to use CreateView API.
      public async createView ( createViewRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#createView." ) ; const pathParams = { } ; const queryParams = { "scope" : createViewRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createViewRequest . opcRetryToken , "opc-request-id" : createViewRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createViewRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/views" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createViewRequest . createViewDetails , "CreateViewDetails" , model . CreateViewDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateViewResponse > { } , body : await response . json ( ) , bodyKey : "view" , bodyModel : model . View , type : "model.View" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "Location" ) , key : "location" , dataType : "string" } , { 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 CreateZoneRequest return throws example Click  https to see how to use CreateZone API.
      public async createZone ( createZoneRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#createZone." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : createZoneRequest . compartmentId , "scope" : createZoneRequest . scope , "viewId" : createZoneRequest . viewId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createZoneRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createZoneRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createZoneRequest . createZoneDetails , "CreateZoneBaseDetails" , model . CreateZoneBaseDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateZoneResponse > { } , body : await response . json ( ) , bodyKey : "zone" , bodyModel : model . Zone , type : "model.Zone" , responseHeaders : [ { value : response . headers . get ( "ETag" ) , key : "eTag" , dataType : "string" } , { value : response . headers . get ( "Location" ) , key : "location" , dataType : "string" } , { 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 DeleteDomainRecordsRequest return throws example Click  https to see how to use DeleteDomainRecords API.
      public async deleteDomainRecords ( deleteDomainRecordsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#deleteDomainRecords." ) ; const pathParams = { "{zoneNameOrId}" : deleteDomainRecordsRequest . zoneNameOrId , "{domain}" : deleteDomainRecordsRequest . domain } ; const queryParams = { "scope" : deleteDomainRecordsRequest . scope , "viewId" : deleteDomainRecordsRequest . viewId , "compartmentId" : deleteDomainRecordsRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : deleteDomainRecordsRequest . ifMatch , "If-Unmodified-Since" : deleteDomainRecordsRequest . ifUnmodifiedSince , "opc-request-id" : deleteDomainRecordsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteDomainRecordsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}/records/{domain}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteDomainRecordsResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteRRSetRequest return throws example Click  https to see how to use DeleteRRSet API.
      public async deleteRRSet ( deleteRRSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#deleteRRSet." ) ; const pathParams = { "{zoneNameOrId}" : deleteRRSetRequest . zoneNameOrId , "{domain}" : deleteRRSetRequest . domain , "{rtype}" : deleteRRSetRequest . rtype } ; const queryParams = { "compartmentId" : deleteRRSetRequest . compartmentId , "scope" : deleteRRSetRequest . scope , "viewId" : deleteRRSetRequest . viewId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : deleteRRSetRequest . ifMatch , "If-Unmodified-Since" : deleteRRSetRequest . ifUnmodifiedSince , "opc-request-id" : deleteRRSetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteRRSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}/records/{domain}/{rtype}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteRRSetResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteResolverEndpointRequest return throws example Click  https to see how to use DeleteResolverEndpoint API.
      public async deleteResolverEndpoint ( deleteResolverEndpointRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#deleteResolverEndpoint." ) ; const pathParams = { "{resolverId}" : deleteResolverEndpointRequest . resolverId , "{resolverEndpointName}" : deleteResolverEndpointRequest . resolverEndpointName } ; const queryParams = { "scope" : deleteResolverEndpointRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : deleteResolverEndpointRequest . ifMatch , "If-Unmodified-Since" : deleteResolverEndpointRequest . ifUnmodifiedSince , "opc-request-id" : deleteResolverEndpointRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteResolverEndpointRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/resolvers/{resolverId}/endpoints/{resolverEndpointName}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteResolverEndpointResponse > { } , 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 DeleteSteeringPolicyRequest return throws example Click  https to see how to use DeleteSteeringPolicy API.
      public async deleteSteeringPolicy ( deleteSteeringPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#deleteSteeringPolicy." ) ; const pathParams = { "{steeringPolicyId}" : deleteSteeringPolicyRequest . steeringPolicyId } ; const queryParams = { "scope" : deleteSteeringPolicyRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : deleteSteeringPolicyRequest . ifMatch , "If-Unmodified-Since" : deleteSteeringPolicyRequest . ifUnmodifiedSince , "opc-request-id" : deleteSteeringPolicyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteSteeringPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/steeringPolicies/{steeringPolicyId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteSteeringPolicyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteSteeringPolicyAttachmentRequest return throws example Click  https to see how to use DeleteSteeringPolicyAttachment API.
      public async deleteSteeringPolicyAttachment ( deleteSteeringPolicyAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#deleteSteeringPolicyAttachment." ) ; const pathParams = { "{steeringPolicyAttachmentId}" : deleteSteeringPolicyAttachmentRequest . steeringPolicyAttachmentId } ; const queryParams = { "scope" : deleteSteeringPolicyAttachmentRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : deleteSteeringPolicyAttachmentRequest . ifMatch , "If-Unmodified-Since" : deleteSteeringPolicyAttachmentRequest . ifUnmodifiedSince , "opc-request-id" : deleteSteeringPolicyAttachmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteSteeringPolicyAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/steeringPolicyAttachments/{steeringPolicyAttachmentId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteSteeringPolicyAttachmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteTsigKeyRequest return throws example Click  https to see how to use DeleteTsigKey API.
      public async deleteTsigKey ( deleteTsigKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#deleteTsigKey." ) ; const pathParams = { "{tsigKeyId}" : deleteTsigKeyRequest . tsigKeyId } ; const queryParams = { "scope" : deleteTsigKeyRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : deleteTsigKeyRequest . ifMatch , "If-Unmodified-Since" : deleteTsigKeyRequest . ifUnmodifiedSince , "opc-request-id" : deleteTsigKeyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteTsigKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tsigKeys/{tsigKeyId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteTsigKeyResponse > { } , 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 DeleteViewRequest return throws example Click  https to see how to use DeleteView API.
      public async deleteView ( deleteViewRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#deleteView." ) ; const pathParams = { "{viewId}" : deleteViewRequest . viewId } ; const queryParams = { "scope" : deleteViewRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : deleteViewRequest . ifMatch , "If-Unmodified-Since" : deleteViewRequest . ifUnmodifiedSince , "opc-request-id" : deleteViewRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteViewRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/views/{viewId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteViewResponse > { } , 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 DeleteZoneRequest return throws example Click  https to see how to use DeleteZone API.
      public async deleteZone ( deleteZoneRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#deleteZone." ) ; const pathParams = { "{zoneNameOrId}" : deleteZoneRequest . zoneNameOrId } ; const queryParams = { "scope" : deleteZoneRequest . scope , "viewId" : deleteZoneRequest . viewId , "compartmentId" : deleteZoneRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : deleteZoneRequest . ifMatch , "If-Unmodified-Since" : deleteZoneRequest . ifUnmodifiedSince , "opc-request-id" : deleteZoneRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteZoneRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteZoneResponse > { } , 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 GetDomainRecordsRequest return throws example Click  https to see how to use GetDomainRecords API.
      public async getDomainRecords ( getDomainRecordsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#getDomainRecords." ) ; const pathParams = { "{zoneNameOrId}" : getDomainRecordsRequest . zoneNameOrId , "{domain}" : getDomainRecordsRequest . domain } ; const queryParams = { "limit" : getDomainRecordsRequest . limit , "page" : getDomainRecordsRequest . page , "zoneVersion" : getDomainRecordsRequest . zoneVersion , "rtype" : getDomainRecordsRequest . rtype , "scope" : getDomainRecordsRequest . scope , "viewId" : getDomainRecordsRequest . viewId , "sortBy" : getDomainRecordsRequest . sortBy , "sortOrder" : getDomainRecordsRequest . sortOrder , "compartmentId" : getDomainRecordsRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-None-Match" : getDomainRecordsRequest . ifNoneMatch , "If-Modified-Since" : getDomainRecordsRequest . ifModifiedSince , "opc-request-id" : getDomainRecordsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDomainRecordsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}/records/{domain}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDomainRecordsResponse > { } , body : await response . json ( ) , bodyKey : "recordCollection" , bodyModel : model . RecordCollection , type : "model.RecordCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } , { 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 request public getAllDomainRecords ( request ) { return genericPaginateRecords ( request , req => this . getDomainRecords ( req ) , res => res . opcNextPage , ( req , nextPageToken ) => ( req . page = nextPageToken ) , res => res . recordCollection . items || [ ] ) ; } param request public getAllDomainRecordsResponses ( request ) { return genericPaginateResponses ( request , req => this . getDomainRecords ( req ) , res => res . opcNextPage , ( req , nextPageToken ) => ( req . page = nextPageToken ) ) ; } param request public getDomainRecordsRecordIterator ( request ) { return genericPaginateRecords ( request , req => this . getDomainRecords ( req ) , res => res . opcNextPage , ( req , nextPageToken ) => ( req . page = nextPageToken ) , res => res . recordCollection . items || [ ] ) ; } param request public getDomainRecordsResponseIterator ( request ) { return genericPaginateResponses ( request , req => this . getDomainRecords ( req ) , res => res . opcNextPage , ( req , nextPageToken ) => ( req . page = nextPageToken ) ) ; } param GetRRSetRequest return throws example Click  https to see how to use GetRRSet API.
      public async getRRSet ( getRRSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#getRRSet." ) ; const pathParams = { "{zoneNameOrId}" : getRRSetRequest . zoneNameOrId , "{domain}" : getRRSetRequest . domain , "{rtype}" : getRRSetRequest . rtype } ; const queryParams = { "limit" : getRRSetRequest . limit , "page" : getRRSetRequest . page , "zoneVersion" : getRRSetRequest . zoneVersion , "compartmentId" : getRRSetRequest . compartmentId , "scope" : getRRSetRequest . scope , "viewId" : getRRSetRequest . viewId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-None-Match" : getRRSetRequest . ifNoneMatch , "If-Modified-Since" : getRRSetRequest . ifModifiedSince , "opc-request-id" : getRRSetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getRRSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}/records/{domain}/{rtype}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetRRSetResponse > { } , body : await response . json ( ) , bodyKey : "rRSet" , bodyModel : model . RRSet , type : "model.RRSet" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } , { 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 request public getAllRRSet ( request ) { return genericPaginateRecords ( request , req => this . getRRSet ( req ) , res => res . opcNextPage , ( req , nextPageToken ) => ( req . page = nextPageToken ) , res => res . rRSet . items || [ ] ) ; } param request public getAllRRSetResponses ( request ) { return genericPaginateResponses ( request , req => this . getRRSet ( req ) , res => res . opcNextPage , ( req , nextPageToken ) => ( req . page = nextPageToken ) ) ; } param request public getRRSetRecordIterator ( request ) { return genericPaginateRecords ( request , req => this . getRRSet ( req ) , res => res . opcNextPage , ( req , nextPageToken ) => ( req . page = nextPageToken ) , res => res . rRSet . items || [ ] ) ; } param request public getRRSetResponseIterator ( request ) { return genericPaginateResponses ( request , req => this . getRRSet ( req ) , res => res . opcNextPage , ( req , nextPageToken ) => ( req . page = nextPageToken ) ) ; } param GetResolverRequest return throws example Click  https to see how to use GetResolver API.
      public async getResolver ( getResolverRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#getResolver." ) ; const pathParams = { "{resolverId}" : getResolverRequest . resolverId } ; const queryParams = { "scope" : getResolverRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Modified-Since" : getResolverRequest . ifModifiedSince , "If-None-Match" : getResolverRequest . ifNoneMatch , "opc-request-id" : getResolverRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getResolverRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/resolvers/{resolverId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetResolverResponse > { } , body : await response . json ( ) , bodyKey : "resolver" , bodyModel : model . Resolver , type : "model.Resolver" , 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 GetResolverEndpointRequest return throws example Click  https to see how to use GetResolverEndpoint API.
      public async getResolverEndpoint ( getResolverEndpointRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#getResolverEndpoint." ) ; const pathParams = { "{resolverId}" : getResolverEndpointRequest . resolverId , "{resolverEndpointName}" : getResolverEndpointRequest . resolverEndpointName } ; const queryParams = { "scope" : getResolverEndpointRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Modified-Since" : getResolverEndpointRequest . ifModifiedSince , "If-None-Match" : getResolverEndpointRequest . ifNoneMatch , "opc-request-id" : getResolverEndpointRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getResolverEndpointRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/resolvers/{resolverId}/endpoints/{resolverEndpointName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetResolverEndpointResponse > { } , body : await response . json ( ) , bodyKey : "resolverEndpoint" , bodyModel : model . ResolverEndpoint , type : "model.ResolverEndpoint" , 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 GetSteeringPolicyRequest return throws example Click  https to see how to use GetSteeringPolicy API.
      public async getSteeringPolicy ( getSteeringPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#getSteeringPolicy." ) ; const pathParams = { "{steeringPolicyId}" : getSteeringPolicyRequest . steeringPolicyId } ; const queryParams = { "scope" : getSteeringPolicyRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-None-Match" : getSteeringPolicyRequest . ifNoneMatch , "If-Modified-Since" : getSteeringPolicyRequest . ifModifiedSince , "opc-request-id" : getSteeringPolicyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getSteeringPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/steeringPolicies/{steeringPolicyId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetSteeringPolicyResponse > { } , body : await response . json ( ) , bodyKey : "steeringPolicy" , bodyModel : model . SteeringPolicy , type : "model.SteeringPolicy" , 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 GetSteeringPolicyAttachmentRequest return throws example Click  https to see how to use GetSteeringPolicyAttachment API.
      public async getSteeringPolicyAttachment ( getSteeringPolicyAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#getSteeringPolicyAttachment." ) ; const pathParams = { "{steeringPolicyAttachmentId}" : getSteeringPolicyAttachmentRequest . steeringPolicyAttachmentId } ; const queryParams = { "scope" : getSteeringPolicyAttachmentRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-None-Match" : getSteeringPolicyAttachmentRequest . ifNoneMatch , "If-Modified-Since" : getSteeringPolicyAttachmentRequest . ifModifiedSince , "opc-request-id" : getSteeringPolicyAttachmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getSteeringPolicyAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/steeringPolicyAttachments/{steeringPolicyAttachmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetSteeringPolicyAttachmentResponse > { } , body : await response . json ( ) , bodyKey : "steeringPolicyAttachment" , bodyModel : model . SteeringPolicyAttachment , type : "model.SteeringPolicyAttachment" , 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 GetTsigKeyRequest return throws example Click  https to see how to use GetTsigKey API.
      public async getTsigKey ( getTsigKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#getTsigKey." ) ; const pathParams = { "{tsigKeyId}" : getTsigKeyRequest . tsigKeyId } ; const queryParams = { "scope" : getTsigKeyRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-None-Match" : getTsigKeyRequest . ifNoneMatch , "If-Modified-Since" : getTsigKeyRequest . ifModifiedSince , "opc-request-id" : getTsigKeyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getTsigKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tsigKeys/{tsigKeyId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetTsigKeyResponse > { } , body : await response . json ( ) , bodyKey : "tsigKey" , bodyModel : model . TsigKey , type : "model.TsigKey" , 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 GetViewRequest return throws example Click  https to see how to use GetView API.
      public async getView ( getViewRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#getView." ) ; const pathParams = { "{viewId}" : getViewRequest . viewId } ; const queryParams = { "scope" : getViewRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Modified-Since" : getViewRequest . ifModifiedSince , "If-None-Match" : getViewRequest . ifNoneMatch , "opc-request-id" : getViewRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getViewRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/views/{viewId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetViewResponse > { } , body : await response . json ( ) , bodyKey : "view" , bodyModel : model . View , type : "model.View" , 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 GetZoneRequest return throws example Click  https to see how to use GetZone API.
      public async getZone ( getZoneRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#getZone." ) ; const pathParams = { "{zoneNameOrId}" : getZoneRequest . zoneNameOrId } ; const queryParams = { "scope" : getZoneRequest . scope , "viewId" : getZoneRequest . viewId , "compartmentId" : getZoneRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-None-Match" : getZoneRequest . ifNoneMatch , "If-Modified-Since" : getZoneRequest . ifModifiedSince , "opc-request-id" : getZoneRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getZoneRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetZoneResponse > { } , body : await response . json ( ) , bodyKey : "zone" , bodyModel : model . Zone , type : "model.Zone" , 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 GetZoneContentRequest return throws example Click  https to see how to use GetZoneContent API.
      public async getZoneContent ( getZoneContentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#getZoneContent." ) ; const pathParams = { "{zoneNameOrId}" : getZoneContentRequest . zoneNameOrId } ; const queryParams = { "scope" : getZoneContentRequest . scope , "viewId" : getZoneContentRequest . viewId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-None-Match" : getZoneContentRequest . ifNoneMatch , "If-Modified-Since" : getZoneContentRequest . ifModifiedSince , "opc-request-id" : getZoneContentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getZoneContentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}/content" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetZoneContentResponse > { } , body : response . body ! , bodyKey : "value" , bodyModel : "string" , 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 GetZoneRecordsRequest return throws example Click  https to see how to use GetZoneRecords API.
      public async getZoneRecords ( getZoneRecordsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#getZoneRecords." ) ; const pathParams = { "{zoneNameOrId}" : getZoneRecordsRequest . zoneNameOrId } ; const queryParams = { "limit" : getZoneRecordsRequest . limit , "page" : getZoneRecordsRequest . page , "zoneVersion" : getZoneRecordsRequest . zoneVersion , "domain" : getZoneRecordsRequest . domain , "domainContains" : getZoneRecordsRequest . domainContains , "rtype" : getZoneRecordsRequest . rtype , "sortBy" : getZoneRecordsRequest . sortBy , "sortOrder" : getZoneRecordsRequest . sortOrder , "compartmentId" : getZoneRecordsRequest . compartmentId , "scope" : getZoneRecordsRequest . scope , "viewId" : getZoneRecordsRequest . viewId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-None-Match" : getZoneRecordsRequest . ifNoneMatch , "If-Modified-Since" : getZoneRecordsRequest . ifModifiedSince , "opc-request-id" : getZoneRecordsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getZoneRecordsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}/records" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetZoneRecordsResponse > { } , body : await response . json ( ) , bodyKey : "recordCollection" , bodyModel : model . RecordCollection , type : "model.RecordCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } , { 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 request public getAllZoneRecords ( request ) { return genericPaginateRecords ( request , req => this . getZoneRecords ( req ) , res => res . opcNextPage , ( req , nextPageToken ) => ( req . page = nextPageToken ) , res => res . recordCollection . items || [ ] ) ; } param request public getAllZoneRecordsResponses ( request ) { return genericPaginateResponses ( request , req => this . getZoneRecords ( req ) , res => res . opcNextPage , ( req , nextPageToken ) => ( req . page = nextPageToken ) ) ; } param request public getZoneRecordsRecordIterator ( request ) { return genericPaginateRecords ( request , req => this . getZoneRecords ( req ) , res => res . opcNextPage , ( req , nextPageToken ) => ( req . page = nextPageToken ) , res => res . recordCollection . items || [ ] ) ; } param request public getZoneRecordsResponseIterator ( request ) { return genericPaginateResponses ( request , req => this . getZoneRecords ( req ) , res => res . opcNextPage , ( req , nextPageToken ) => ( req . page = nextPageToken ) ) ; } param ListResolverEndpointsRequest return throws example Click  https to see how to use ListResolverEndpoints API.
      public async listResolverEndpoints ( listResolverEndpointsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#listResolverEndpoints." ) ; const pathParams = { "{resolverId}" : listResolverEndpointsRequest . resolverId } ; const queryParams = { "name" : listResolverEndpointsRequest . name , "page" : listResolverEndpointsRequest . page , "limit" : listResolverEndpointsRequest . limit , "sortOrder" : listResolverEndpointsRequest . sortOrder , "sortBy" : listResolverEndpointsRequest . sortBy , "lifecycleState" : listResolverEndpointsRequest . lifecycleState , "scope" : listResolverEndpointsRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listResolverEndpointsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listResolverEndpointsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/resolvers/{resolverId}/endpoints" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListResolverEndpointsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ResolverEndpointSummary , type : "Array<model.ResolverEndpointSummary>" , 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 listAllResolverEndpoints ( request ) { return paginateRecords ( request , req => this . listResolverEndpoints ( req ) ) ; } param request public listAllResolverEndpointsResponses ( request ) { return paginateResponses ( request , req => this . listResolverEndpoints ( req ) ) ; } param request public listResolverEndpointsRecordIterator ( request ) { return paginateRecords ( request , req => this . listResolverEndpoints ( req ) ) ; } param request public listResolverEndpointsResponseIterator ( request ) { return paginateResponses ( request , req => this . listResolverEndpoints ( req ) ) ; } param ListResolversRequest return throws example Click  https to see how to use ListResolvers API.
      public async listResolvers ( listResolversRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#listResolvers." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listResolversRequest . compartmentId , "displayName" : listResolversRequest . displayName , "id" : listResolversRequest . id , "page" : listResolversRequest . page , "limit" : listResolversRequest . limit , "sortOrder" : listResolversRequest . sortOrder , "sortBy" : listResolversRequest . sortBy , "lifecycleState" : listResolversRequest . lifecycleState , "scope" : listResolversRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listResolversRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listResolversRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/resolvers" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListResolversResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ResolverSummary , type : "Array<model.ResolverSummary>" , 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 listAllResolvers ( request ) { return paginateRecords ( request , req => this . listResolvers ( req ) ) ; } param request public listAllResolversResponses ( request ) { return paginateResponses ( request , req => this . listResolvers ( req ) ) ; } param request public listResolversRecordIterator ( request ) { return paginateRecords ( request , req => this . listResolvers ( req ) ) ; } param request public listResolversResponseIterator ( request ) { return paginateResponses ( request , req => this . listResolvers ( req ) ) ; } param ListSteeringPoliciesRequest return throws example Click  https to see how to use ListSteeringPolicies API.
      public async listSteeringPolicies ( listSteeringPoliciesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#listSteeringPolicies." ) ; const pathParams = { } ; const queryParams = { "limit" : listSteeringPoliciesRequest . limit , "page" : listSteeringPoliciesRequest . page , "compartmentId" : listSteeringPoliciesRequest . compartmentId , "id" : listSteeringPoliciesRequest . id , "displayName" : listSteeringPoliciesRequest . displayName , "displayNameContains" : listSteeringPoliciesRequest . displayNameContains , "healthCheckMonitorId" : listSteeringPoliciesRequest . healthCheckMonitorId , "timeCreatedGreaterThanOrEqualTo" : listSteeringPoliciesRequest . timeCreatedGreaterThanOrEqualTo , "timeCreatedLessThan" : listSteeringPoliciesRequest . timeCreatedLessThan , "template" : listSteeringPoliciesRequest . template , "lifecycleState" : listSteeringPoliciesRequest . lifecycleState , "sortBy" : listSteeringPoliciesRequest . sortBy , "sortOrder" : listSteeringPoliciesRequest . sortOrder , "scope" : listSteeringPoliciesRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listSteeringPoliciesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSteeringPoliciesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/steeringPolicies" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSteeringPoliciesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . SteeringPolicySummary , type : "Array<model.SteeringPolicySummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllSteeringPolicies ( request ) { return paginateRecords ( request , req => this . listSteeringPolicies ( req ) ) ; } param request public listAllSteeringPoliciesResponses ( request ) { return paginateResponses ( request , req => this . listSteeringPolicies ( req ) ) ; } param request public listSteeringPoliciesRecordIterator ( request ) { return paginateRecords ( request , req => this . listSteeringPolicies ( req ) ) ; } param request public listSteeringPoliciesResponseIterator ( request ) { return paginateResponses ( request , req => this . listSteeringPolicies ( req ) ) ; } param ListSteeringPolicyAttachmentsRequest return throws example Click  https to see how to use ListSteeringPolicyAttachments API.
      public async listSteeringPolicyAttachments ( listSteeringPolicyAttachmentsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#listSteeringPolicyAttachments." ) ; const pathParams = { } ; const queryParams = { "limit" : listSteeringPolicyAttachmentsRequest . limit , "page" : listSteeringPolicyAttachmentsRequest . page , "compartmentId" : listSteeringPolicyAttachmentsRequest . compartmentId , "id" : listSteeringPolicyAttachmentsRequest . id , "displayName" : listSteeringPolicyAttachmentsRequest . displayName , "steeringPolicyId" : listSteeringPolicyAttachmentsRequest . steeringPolicyId , "zoneId" : listSteeringPolicyAttachmentsRequest . zoneId , "domain" : listSteeringPolicyAttachmentsRequest . domain , "domainContains" : listSteeringPolicyAttachmentsRequest . domainContains , "timeCreatedGreaterThanOrEqualTo" : listSteeringPolicyAttachmentsRequest . timeCreatedGreaterThanOrEqualTo , "timeCreatedLessThan" : listSteeringPolicyAttachmentsRequest . timeCreatedLessThan , "lifecycleState" : listSteeringPolicyAttachmentsRequest . lifecycleState , "sortBy" : listSteeringPolicyAttachmentsRequest . sortBy , "sortOrder" : listSteeringPolicyAttachmentsRequest . sortOrder , "scope" : listSteeringPolicyAttachmentsRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listSteeringPolicyAttachmentsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSteeringPolicyAttachmentsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/steeringPolicyAttachments" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSteeringPolicyAttachmentsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . SteeringPolicyAttachmentSummary , type : "Array<model.SteeringPolicyAttachmentSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllSteeringPolicyAttachments ( request ) { return paginateRecords ( request , req => this . listSteeringPolicyAttachments ( req ) ) ; } param request public listAllSteeringPolicyAttachmentsResponses ( request ) { return paginateResponses ( request , req => this . listSteeringPolicyAttachments ( req ) ) ; } param request public listSteeringPolicyAttachmentsRecordIterator ( request ) { return paginateRecords ( request , req => this . listSteeringPolicyAttachments ( req ) ) ; } param request public listSteeringPolicyAttachmentsResponseIterator ( request ) { return paginateResponses ( request , req => this . listSteeringPolicyAttachments ( req ) ) ; } param ListTsigKeysRequest return throws example Click  https to see how to use ListTsigKeys API.
      public async listTsigKeys ( listTsigKeysRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#listTsigKeys." ) ; const pathParams = { } ; const queryParams = { "limit" : listTsigKeysRequest . limit , "page" : listTsigKeysRequest . page , "compartmentId" : listTsigKeysRequest . compartmentId , "id" : listTsigKeysRequest . id , "name" : listTsigKeysRequest . name , "lifecycleState" : listTsigKeysRequest . lifecycleState , "sortBy" : listTsigKeysRequest . sortBy , "sortOrder" : listTsigKeysRequest . sortOrder , "scope" : listTsigKeysRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listTsigKeysRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listTsigKeysRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tsigKeys" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListTsigKeysResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . TsigKeySummary , type : "Array<model.TsigKeySummary>" , 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 listAllTsigKeys ( request ) { return paginateRecords ( request , req => this . listTsigKeys ( req ) ) ; } param request public listAllTsigKeysResponses ( request ) { return paginateResponses ( request , req => this . listTsigKeys ( req ) ) ; } param request public listTsigKeysRecordIterator ( request ) { return paginateRecords ( request , req => this . listTsigKeys ( req ) ) ; } param request public listTsigKeysResponseIterator ( request ) { return paginateResponses ( request , req => this . listTsigKeys ( req ) ) ; } param ListViewsRequest return throws example Click  https to see how to use ListViews API.
      public async listViews ( listViewsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#listViews." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listViewsRequest . compartmentId , "displayName" : listViewsRequest . displayName , "id" : listViewsRequest . id , "page" : listViewsRequest . page , "limit" : listViewsRequest . limit , "sortOrder" : listViewsRequest . sortOrder , "sortBy" : listViewsRequest . sortBy , "lifecycleState" : listViewsRequest . lifecycleState , "scope" : listViewsRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listViewsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listViewsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/views" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListViewsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ViewSummary , type : "Array<model.ViewSummary>" , 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 listAllViews ( request ) { return paginateRecords ( request , req => this . listViews ( req ) ) ; } param request public listAllViewsResponses ( request ) { return paginateResponses ( request , req => this . listViews ( req ) ) ; } param request public listViewsRecordIterator ( request ) { return paginateRecords ( request , req => this . listViews ( req ) ) ; } param request public listViewsResponseIterator ( request ) { return paginateResponses ( request , req => this . listViews ( req ) ) ; } param ListZoneTransferServersRequest return throws example Click  https to see how to use ListZoneTransferServers API.
      public async listZoneTransferServers ( listZoneTransferServersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#listZoneTransferServers." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listZoneTransferServersRequest . compartmentId , "scope" : listZoneTransferServersRequest . scope , "page" : listZoneTransferServersRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listZoneTransferServersRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listZoneTransferServersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zoneTransferServers" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListZoneTransferServersResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ZoneTransferServer , type : "Array<model.ZoneTransferServer>" , 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 listAllZoneTransferServers ( request ) { return paginateRecords ( request , req => this . listZoneTransferServers ( req ) ) ; } param request public listAllZoneTransferServersResponses ( request ) { return paginateResponses ( request , req => this . listZoneTransferServers ( req ) ) ; } param request public listZoneTransferServersRecordIterator ( request ) { return paginateRecords ( request , req => this . listZoneTransferServers ( req ) ) ; } param request public listZoneTransferServersResponseIterator ( request ) { return paginateResponses ( request , req => this . listZoneTransferServers ( req ) ) ; } param ListZonesRequest return throws example Click  https to see how to use ListZones API.
      public async listZones ( listZonesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#listZones." ) ; const pathParams = { } ; const queryParams = { "limit" : listZonesRequest . limit , "page" : listZonesRequest . page , "compartmentId" : listZonesRequest . compartmentId , "name" : listZonesRequest . name , "nameContains" : listZonesRequest . nameContains , "zoneType" : listZonesRequest . zoneType , "timeCreatedGreaterThanOrEqualTo" : listZonesRequest . timeCreatedGreaterThanOrEqualTo , "timeCreatedLessThan" : listZonesRequest . timeCreatedLessThan , "lifecycleState" : listZonesRequest . lifecycleState , "sortBy" : listZonesRequest . sortBy , "sortOrder" : listZonesRequest . sortOrder , "scope" : listZonesRequest . scope , "viewId" : listZonesRequest . viewId , "tsigKeyId" : listZonesRequest . tsigKeyId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listZonesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listZonesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListZonesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ZoneSummary , type : "Array<model.ZoneSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllZones ( request ) { return paginateRecords ( request , req => this . listZones ( req ) ) ; } param request public listAllZonesResponses ( request ) { return paginateResponses ( request , req => this . listZones ( req ) ) ; } param request public listZonesRecordIterator ( request ) { return paginateRecords ( request , req => this . listZones ( req ) ) ; } param request public listZonesResponseIterator ( request ) { return paginateResponses ( request , req => this . listZones ( req ) ) ; } param PatchDomainRecordsRequest return throws example Click  https to see how to use PatchDomainRecords API.
      public async patchDomainRecords ( patchDomainRecordsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#patchDomainRecords." ) ; const pathParams = { "{zoneNameOrId}" : patchDomainRecordsRequest . zoneNameOrId , "{domain}" : patchDomainRecordsRequest . domain } ; const queryParams = { "scope" : patchDomainRecordsRequest . scope , "viewId" : patchDomainRecordsRequest . viewId , "compartmentId" : patchDomainRecordsRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : patchDomainRecordsRequest . ifMatch , "If-Unmodified-Since" : patchDomainRecordsRequest . ifUnmodifiedSince , "opc-request-id" : patchDomainRecordsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , patchDomainRecordsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}/records/{domain}" , method : "PATCH" , bodyContent : common . ObjectSerializer . serialize ( patchDomainRecordsRequest . patchDomainRecordsDetails , "PatchDomainRecordsDetails" , model . PatchDomainRecordsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . PatchDomainRecordsResponse > { } , body : await response . json ( ) , bodyKey : "recordCollection" , bodyModel : model . RecordCollection , type : "model.RecordCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } , { 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 PatchRRSetRequest return throws example Click  https to see how to use PatchRRSet API.
      public async patchRRSet ( patchRRSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#patchRRSet." ) ; const pathParams = { "{zoneNameOrId}" : patchRRSetRequest . zoneNameOrId , "{domain}" : patchRRSetRequest . domain , "{rtype}" : patchRRSetRequest . rtype } ; const queryParams = { "scope" : patchRRSetRequest . scope , "viewId" : patchRRSetRequest . viewId , "compartmentId" : patchRRSetRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : patchRRSetRequest . ifMatch , "If-Unmodified-Since" : patchRRSetRequest . ifUnmodifiedSince , "opc-request-id" : patchRRSetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , patchRRSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}/records/{domain}/{rtype}" , method : "PATCH" , bodyContent : common . ObjectSerializer . serialize ( patchRRSetRequest . patchRRSetDetails , "PatchRRSetDetails" , model . PatchRRSetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . PatchRRSetResponse > { } , body : await response . json ( ) , bodyKey : "recordCollection" , bodyModel : model . RecordCollection , type : "model.RecordCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } , { 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 PatchZoneRecordsRequest return throws example Click  https to see how to use PatchZoneRecords API.
      public async patchZoneRecords ( patchZoneRecordsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#patchZoneRecords." ) ; const pathParams = { "{zoneNameOrId}" : patchZoneRecordsRequest . zoneNameOrId } ; const queryParams = { "scope" : patchZoneRecordsRequest . scope , "viewId" : patchZoneRecordsRequest . viewId , "compartmentId" : patchZoneRecordsRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : patchZoneRecordsRequest . ifMatch , "If-Unmodified-Since" : patchZoneRecordsRequest . ifUnmodifiedSince , "opc-request-id" : patchZoneRecordsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , patchZoneRecordsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}/records" , method : "PATCH" , bodyContent : common . ObjectSerializer . serialize ( patchZoneRecordsRequest . patchZoneRecordsDetails , "PatchZoneRecordsDetails" , model . PatchZoneRecordsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . PatchZoneRecordsResponse > { } , body : await response . json ( ) , bodyKey : "recordCollection" , bodyModel : model . RecordCollection , type : "model.RecordCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } , { 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 UpdateDomainRecordsRequest return throws example Click  https to see how to use UpdateDomainRecords API.
      public async updateDomainRecords ( updateDomainRecordsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#updateDomainRecords." ) ; const pathParams = { "{zoneNameOrId}" : updateDomainRecordsRequest . zoneNameOrId , "{domain}" : updateDomainRecordsRequest . domain } ; const queryParams = { "scope" : updateDomainRecordsRequest . scope , "viewId" : updateDomainRecordsRequest . viewId , "compartmentId" : updateDomainRecordsRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : updateDomainRecordsRequest . ifMatch , "If-Unmodified-Since" : updateDomainRecordsRequest . ifUnmodifiedSince , "opc-request-id" : updateDomainRecordsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDomainRecordsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}/records/{domain}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateDomainRecordsRequest . updateDomainRecordsDetails , "UpdateDomainRecordsDetails" , model . UpdateDomainRecordsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDomainRecordsResponse > { } , body : await response . json ( ) , bodyKey : "recordCollection" , bodyModel : model . RecordCollection , type : "model.RecordCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } , { 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 UpdateRRSetRequest return throws example Click  https to see how to use UpdateRRSet API.
      public async updateRRSet ( updateRRSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#updateRRSet." ) ; const pathParams = { "{zoneNameOrId}" : updateRRSetRequest . zoneNameOrId , "{domain}" : updateRRSetRequest . domain , "{rtype}" : updateRRSetRequest . rtype } ; const queryParams = { "scope" : updateRRSetRequest . scope , "viewId" : updateRRSetRequest . viewId , "compartmentId" : updateRRSetRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : updateRRSetRequest . ifMatch , "If-Unmodified-Since" : updateRRSetRequest . ifUnmodifiedSince , "opc-request-id" : updateRRSetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateRRSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}/records/{domain}/{rtype}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateRRSetRequest . updateRRSetDetails , "UpdateRRSetDetails" , model . UpdateRRSetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateRRSetResponse > { } , body : await response . json ( ) , bodyKey : "recordCollection" , bodyModel : model . RecordCollection , type : "model.RecordCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } , { 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 UpdateResolverRequest return throws example Click  https to see how to use UpdateResolver API.
      public async updateResolver ( updateResolverRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#updateResolver." ) ; const pathParams = { "{resolverId}" : updateResolverRequest . resolverId } ; const queryParams = { "scope" : updateResolverRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : updateResolverRequest . ifMatch , "If-Unmodified-Since" : updateResolverRequest . ifUnmodifiedSince , "opc-request-id" : updateResolverRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateResolverRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/resolvers/{resolverId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateResolverRequest . updateResolverDetails , "UpdateResolverDetails" , model . UpdateResolverDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateResolverResponse > { } , body : await response . json ( ) , bodyKey : "resolver" , bodyModel : model . Resolver , type : "model.Resolver" , 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 ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateResolverEndpointRequest return throws example Click  https to see how to use UpdateResolverEndpoint API.
      public async updateResolverEndpoint ( updateResolverEndpointRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#updateResolverEndpoint." ) ; const pathParams = { "{resolverId}" : updateResolverEndpointRequest . resolverId , "{resolverEndpointName}" : updateResolverEndpointRequest . resolverEndpointName } ; const queryParams = { "scope" : updateResolverEndpointRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : updateResolverEndpointRequest . ifMatch , "If-Unmodified-Since" : updateResolverEndpointRequest . ifUnmodifiedSince , "opc-request-id" : updateResolverEndpointRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateResolverEndpointRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/resolvers/{resolverId}/endpoints/{resolverEndpointName}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateResolverEndpointRequest . updateResolverEndpointDetails , "UpdateResolverEndpointDetails" , model . UpdateResolverEndpointDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateResolverEndpointResponse > { } , body : await response . json ( ) , bodyKey : "resolverEndpoint" , bodyModel : model . ResolverEndpoint , type : "model.ResolverEndpoint" , 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 ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateSteeringPolicyRequest return throws example Click  https to see how to use UpdateSteeringPolicy API.
      public async updateSteeringPolicy ( updateSteeringPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#updateSteeringPolicy." ) ; const pathParams = { "{steeringPolicyId}" : updateSteeringPolicyRequest . steeringPolicyId } ; const queryParams = { "scope" : updateSteeringPolicyRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : updateSteeringPolicyRequest . ifMatch , "If-Unmodified-Since" : updateSteeringPolicyRequest . ifUnmodifiedSince , "opc-request-id" : updateSteeringPolicyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateSteeringPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/steeringPolicies/{steeringPolicyId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateSteeringPolicyRequest . updateSteeringPolicyDetails , "UpdateSteeringPolicyDetails" , model . UpdateSteeringPolicyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateSteeringPolicyResponse > { } , body : await response . json ( ) , bodyKey : "steeringPolicy" , bodyModel : model . SteeringPolicy , type : "model.SteeringPolicy" , 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 UpdateSteeringPolicyAttachmentRequest return throws example Click  https to see how to use UpdateSteeringPolicyAttachment API.
      public async updateSteeringPolicyAttachment ( updateSteeringPolicyAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#updateSteeringPolicyAttachment." ) ; const pathParams = { "{steeringPolicyAttachmentId}" : updateSteeringPolicyAttachmentRequest . steeringPolicyAttachmentId } ; const queryParams = { "scope" : updateSteeringPolicyAttachmentRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : updateSteeringPolicyAttachmentRequest . ifMatch , "If-Unmodified-Since" : updateSteeringPolicyAttachmentRequest . ifUnmodifiedSince , "opc-request-id" : updateSteeringPolicyAttachmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateSteeringPolicyAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/steeringPolicyAttachments/{steeringPolicyAttachmentId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateSteeringPolicyAttachmentRequest . updateSteeringPolicyAttachmentDetails , "UpdateSteeringPolicyAttachmentDetails" , model . UpdateSteeringPolicyAttachmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateSteeringPolicyAttachmentResponse > { } , body : await response . json ( ) , bodyKey : "steeringPolicyAttachment" , bodyModel : model . SteeringPolicyAttachment , type : "model.SteeringPolicyAttachment" , 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 UpdateTsigKeyRequest return throws example Click  https to see how to use UpdateTsigKey API.
      public async updateTsigKey ( updateTsigKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#updateTsigKey." ) ; const pathParams = { "{tsigKeyId}" : updateTsigKeyRequest . tsigKeyId } ; const queryParams = { "scope" : updateTsigKeyRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : updateTsigKeyRequest . ifMatch , "If-Unmodified-Since" : updateTsigKeyRequest . ifUnmodifiedSince , "opc-request-id" : updateTsigKeyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateTsigKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tsigKeys/{tsigKeyId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateTsigKeyRequest . updateTsigKeyDetails , "UpdateTsigKeyDetails" , model . UpdateTsigKeyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateTsigKeyResponse > { } , body : await response . json ( ) , bodyKey : "tsigKey" , bodyModel : model . TsigKey , type : "model.TsigKey" , 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 ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateViewRequest return throws example Click  https to see how to use UpdateView API.
      public async updateView ( updateViewRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#updateView." ) ; const pathParams = { "{viewId}" : updateViewRequest . viewId } ; const queryParams = { "scope" : updateViewRequest . scope } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : updateViewRequest . ifMatch , "If-Unmodified-Since" : updateViewRequest . ifUnmodifiedSince , "opc-request-id" : updateViewRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateViewRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/views/{viewId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateViewRequest . updateViewDetails , "UpdateViewDetails" , model . UpdateViewDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateViewResponse > { } , body : await response . json ( ) , bodyKey : "view" , bodyModel : model . View , type : "model.View" , 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 ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateZoneRequest return throws example Click  https to see how to use UpdateZone API.
      public async updateZone ( updateZoneRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#updateZone." ) ; const pathParams = { "{zoneNameOrId}" : updateZoneRequest . zoneNameOrId } ; const queryParams = { "scope" : updateZoneRequest . scope , "viewId" : updateZoneRequest . viewId , "compartmentId" : updateZoneRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : updateZoneRequest . ifMatch , "If-Unmodified-Since" : updateZoneRequest . ifUnmodifiedSince , "opc-request-id" : updateZoneRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateZoneRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateZoneRequest . updateZoneDetails , "UpdateZoneDetails" , model . UpdateZoneDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateZoneResponse > { } , body : await response . json ( ) , bodyKey : "zone" , bodyModel : model . Zone , type : "model.Zone" , 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 ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateZoneRecordsRequest return throws example Click  https to see how to use UpdateZoneRecords API.
      public async updateZoneRecords ( updateZoneRecordsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DnsClient#updateZoneRecords." ) ; const pathParams = { "{zoneNameOrId}" : updateZoneRecordsRequest . zoneNameOrId } ; const queryParams = { "scope" : updateZoneRecordsRequest . scope , "viewId" : updateZoneRecordsRequest . viewId , "compartmentId" : updateZoneRecordsRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "If-Match" : updateZoneRecordsRequest . ifMatch , "If-Unmodified-Since" : updateZoneRecordsRequest . ifUnmodifiedSince , "opc-request-id" : updateZoneRecordsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateZoneRecordsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/zones/{zoneNameOrId}/records" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateZoneRecordsRequest . updateZoneRecordsDetails , "UpdateZoneRecordsDetails" , model . UpdateZoneRecordsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateZoneRecordsResponse > { } , body : await response . json ( ) , bodyKey : "recordCollection" , bodyModel : model . RecordCollection , type : "model.RecordCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } , { 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 ; } } }