/**
 * Identity and Access Management Service API
 * APIs for managing users, groups, compartments, and policies.
 * OpenAPI spec version: 20160918
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import common = require ( "oci-common" ) ; import * as requests from "./request" ; import * as model from "./model" ; import * as responses from "./response" ; import { paginateRecords , paginateResponses } from "oci-common" ; import { IdentityWaiter } from "./identity-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum IdentityApiKeys { } /**
 * 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 IdentityClient { protected static serviceEndpointTemplate = "https://identity.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : IdentityWaiter ; 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 + "/20160918" ; if ( this . logger ) this . logger . info ( `IdentityClient 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 ( IdentityClient . 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 ( IdentityClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new IdentityWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param ActivateDomainRequest return throws example Click  https to see how to use ActivateDomain API.
        public async activateDomain ( activateDomainRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#activateDomain." ) ; const pathParams = { "{domainId}" : activateDomainRequest . domainId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : activateDomainRequest . opcRequestId , "opc-retry-token" : activateDomainRequest . opcRetryToken , "if-match" : activateDomainRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , activateDomainRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/domains/{domainId}/actions/activate" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ActivateDomainResponse > { } , 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 ActivateMfaTotpDeviceRequest return throws example Click  https to see how to use ActivateMfaTotpDevice API.
      public async activateMfaTotpDevice ( activateMfaTotpDeviceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#activateMfaTotpDevice." ) ; const pathParams = { "{userId}" : activateMfaTotpDeviceRequest . userId , "{mfaTotpDeviceId}" : activateMfaTotpDeviceRequest . mfaTotpDeviceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : activateMfaTotpDeviceRequest . ifMatch , "opc-retry-token" : activateMfaTotpDeviceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , activateMfaTotpDeviceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/mfaTotpDevices/{mfaTotpDeviceId}/actions/activate" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( activateMfaTotpDeviceRequest . mfaTotpToken , "MfaTotpToken" , model . MfaTotpToken . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ActivateMfaTotpDeviceResponse > { } , body : await response . json ( ) , bodyKey : "mfaTotpDeviceSummary" , bodyModel : model . MfaTotpDeviceSummary , type : "model.MfaTotpDeviceSummary" , 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 AddUserToGroupRequest return throws example Click  https to see how to use AddUserToGroup API.
        public async addUserToGroup ( addUserToGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#addUserToGroup." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : addUserToGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addUserToGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userGroupMemberships" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( addUserToGroupRequest . addUserToGroupDetails , "AddUserToGroupDetails" , model . AddUserToGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddUserToGroupResponse > { } , body : await response . json ( ) , bodyKey : "userGroupMembership" , bodyModel : model . UserGroupMembership , type : "model.UserGroupMembership" , 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 AssembleEffectiveTagSetRequest return throws example Click  https to see how to use AssembleEffectiveTagSet API.
      public async assembleEffectiveTagSet ( assembleEffectiveTagSetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#assembleEffectiveTagSet." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : assembleEffectiveTagSetRequest . compartmentId , "lifecycleState" : assembleEffectiveTagSetRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , assembleEffectiveTagSetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagDefaults/actions/assembleEffectiveTagSet" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AssembleEffectiveTagSetResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . TagDefaultSummary , type : "Array<model.TagDefaultSummary>" , 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 ; } } /**
     * Deletes multiple resources in the compartment. All resources must be in the same compartment. You must have the appropriate
     * permissions to delete the resources in the request. This API can only be invoked from the tenancy's
     * [home region](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingregions.htm#Home). This operation creates a
     *  WorkRequest . Use the  {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest} * API to monitor the status of the bulk action.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param BulkDeleteResourcesRequest return throws example Click  https to see how to use BulkDeleteResources API.
      public async bulkDeleteResources ( bulkDeleteResourcesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#bulkDeleteResources." ) ; const pathParams = { "{compartmentId}" : bulkDeleteResourcesRequest . compartmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : bulkDeleteResourcesRequest . opcRequestId , "opc-retry-token" : bulkDeleteResourcesRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , bulkDeleteResourcesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/compartments/{compartmentId}/actions/bulkDeleteResources" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( bulkDeleteResourcesRequest . bulkDeleteResourcesDetails , "BulkDeleteResourcesDetails" , model . BulkDeleteResourcesDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . BulkDeleteResourcesResponse > { } , 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 ; } } /**
       * Deletes the specified tag key definitions. This operation triggers a process that removes the
  * tags from all resources in your tenancy. The tag key definitions must be within the same tag namespace.
  * <p>
  The following actions happen immediately:
  * \u00A0
  *   * If the tag is a cost-tracking tag, the tag no longer counts against your
  *   10 cost-tracking tags limit, even if you do not disable the tag before running this operation.
  *   * If the tag is used with dynamic groups, the rules that contain the tag are no longer
  *   evaluated against the tag.
  * <p>
  After you start this operation, the state of the tag changes to DELETING, and tag removal
  * from resources begins. This process can take up to 48 hours depending on the number of resources that
  * are tagged and the regions in which those resources reside.
  * <p>
  When all tags have been removed, the state changes to DELETED. You cannot restore a deleted tag. After the tag state
  * changes to DELETED, you can use the same tag name again.
  * <p>
  After you start this operation, you cannot start either the  {@link #deleteTag(DeleteTagRequest) deleteTag} or the  {@link #cascadeDeleteTagNamespace(CascadeDeleteTagNamespaceRequest) cascadeDeleteTagNamespace} operation until this process completes.
  * <p>
  In order to delete tags, you must first retire the tags. Use  {@link #updateTag(UpdateTagRequest) updateTag} * to retire a tag.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param BulkDeleteTagsRequest return throws example Click  https to see how to use BulkDeleteTags API.
        public async bulkDeleteTags ( bulkDeleteTagsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#bulkDeleteTags." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : bulkDeleteTagsRequest . opcRequestId , "opc-retry-token" : bulkDeleteTagsRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , bulkDeleteTagsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tags/actions/bulkDelete" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( bulkDeleteTagsRequest . bulkDeleteTagsDetails , "BulkDeleteTagsDetails" , model . BulkDeleteTagsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . BulkDeleteTagsResponse > { } , 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 ; } } /**
       * Edits the specified list of tag key definitions for the selected resources.
  * This operation triggers a process that edits the tags on all selected resources. The possible actions are:
  * <p>
    * Add a defined tag when the tag does not already exist on the resource.
  *   * Update the value for a defined tag when the tag is present on the resource.
  *   * Add a defined tag when it does not already exist on the resource or update the value for a defined tag when the tag is present on the resource.
  *   * Remove a defined tag from a resource. The tag is removed from the resource regardless of the tag value.
  * <p>
  See  {@link #bulkEditOperationDetails(BulkEditOperationDetailsRequest) bulkEditOperationDetails} for more information.
  * <p>
  The edits can include a combination of operations and tag sets.
  * However, multiple operations cannot apply to one key definition in the same request.
  * For example, if one request adds `tag set-1` to a resource and sets a tag value to `tag set-2`,
  * `tag set-1` and `tag set-2` cannot have any common tag definitions.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param BulkEditTagsRequest return throws example Click  https to see how to use BulkEditTags API.
        public async bulkEditTags ( bulkEditTagsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#bulkEditTags." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : bulkEditTagsRequest . opcRequestId , "opc-retry-token" : bulkEditTagsRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , bulkEditTagsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tags/actions/bulkEdit" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( bulkEditTagsRequest . bulkEditTagsDetails , "BulkEditTagsDetails" , model . BulkEditTagsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . BulkEditTagsResponse > { } , 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 ; } } /**
     * Moves multiple resources from one compartment to another. All resources must be in the same compartment.
     * This API can only be invoked from the tenancy's [home region](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingregions.htm#Home).
     * To move resources, you must have the appropriate permissions to move the resource in both the source and target
     * compartments. This operation creates a  WorkRequest .
     * Use the  {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest} API to monitor the status of the bulk action.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param BulkMoveResourcesRequest return throws example Click  https to see how to use BulkMoveResources API.
      public async bulkMoveResources ( bulkMoveResourcesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#bulkMoveResources." ) ; const pathParams = { "{compartmentId}" : bulkMoveResourcesRequest . compartmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : bulkMoveResourcesRequest . opcRequestId , "opc-retry-token" : bulkMoveResourcesRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , bulkMoveResourcesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/compartments/{compartmentId}/actions/bulkMoveResources" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( bulkMoveResourcesRequest . bulkMoveResourcesDetails , "BulkMoveResourcesDetails" , model . BulkMoveResourcesDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . BulkMoveResourcesResponse > { } , 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 ; } } /**
       * Deletes the specified tag namespace. This operation triggers a process that removes all of the tags
  * defined in the specified tag namespace from all resources in your tenancy and then deletes the tag namespace.
  * <p>
  After you start the delete operation:
  * <p>
    * New tag key definitions cannot be created under the namespace.
  *   * The state of the tag namespace changes to DELETING.
  *   * Tag removal from the resources begins.
  * <p>
  This process can take up to 48 hours depending on the number of tag definitions in the namespace, the number of resources
  * that are tagged, and the locations of the regions in which those resources reside.
  * <p>
  After all tags are removed, the state changes to DELETED. You cannot restore a deleted tag namespace. After the deleted tag namespace
  * changes its state to DELETED, you can use the name of the deleted tag namespace again.
  * <p>
  After you start this operation, you cannot start either the  {@link #deleteTag(DeleteTagRequest) deleteTag} or the  {@link #bulkDeleteTags(BulkDeleteTagsRequest) bulkDeleteTags} operation until this process completes.
  * <p>
  To delete a tag namespace, you must first retire it. Use  {@link #updateTagNamespace(UpdateTagNamespaceRequest) updateTagNamespace} * to retire a tag namespace.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CascadeDeleteTagNamespaceRequest return throws example Click  https to see how to use CascadeDeleteTagNamespace API.
        public async cascadeDeleteTagNamespace ( cascadeDeleteTagNamespaceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#cascadeDeleteTagNamespace." ) ; const pathParams = { "{tagNamespaceId}" : cascadeDeleteTagNamespaceRequest . tagNamespaceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : cascadeDeleteTagNamespaceRequest . ifMatch , "opc-request-id" : cascadeDeleteTagNamespaceRequest . opcRequestId , "opc-retry-token" : cascadeDeleteTagNamespaceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , cascadeDeleteTagNamespaceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces/{tagNamespaceId}/actions/cascadeDelete" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CascadeDeleteTagNamespaceResponse > { } , 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 ChangeDomainCompartmentRequest return throws example Click  https to see how to use ChangeDomainCompartment API.
        public async changeDomainCompartment ( changeDomainCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#changeDomainCompartment." ) ; const pathParams = { "{domainId}" : changeDomainCompartmentRequest . domainId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeDomainCompartmentRequest . opcRequestId , "opc-retry-token" : changeDomainCompartmentRequest . opcRetryToken , "if-match" : changeDomainCompartmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeDomainCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/domains/{domainId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeDomainCompartmentRequest . changeDomainCompartmentDetails , "ChangeDomainCompartmentDetails" , model . ChangeDomainCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeDomainCompartmentResponse > { } , 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 ChangeDomainLicenseTypeRequest return throws example Click  https to see how to use ChangeDomainLicenseType API.
        public async changeDomainLicenseType ( changeDomainLicenseTypeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#changeDomainLicenseType." ) ; const pathParams = { "{domainId}" : changeDomainLicenseTypeRequest . domainId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeDomainLicenseTypeRequest . opcRequestId , "opc-retry-token" : changeDomainLicenseTypeRequest . opcRetryToken , "if-match" : changeDomainLicenseTypeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeDomainLicenseTypeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/domains/{domainId}/actions/changeLicenseType" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeDomainLicenseTypeRequest . changeDomainLicenseTypeDetails , "ChangeDomainLicenseTypeDetails" , model . ChangeDomainLicenseTypeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeDomainLicenseTypeResponse > { } , 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 ChangeTagNamespaceCompartmentRequest return throws example Click  https to see how to use ChangeTagNamespaceCompartment API.
        public async changeTagNamespaceCompartment ( changeTagNamespaceCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#changeTagNamespaceCompartment." ) ; const pathParams = { "{tagNamespaceId}" : changeTagNamespaceCompartmentRequest . tagNamespaceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : changeTagNamespaceCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeTagNamespaceCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces/{tagNamespaceId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeTagNamespaceCompartmentRequest . changeTagNamespaceCompartmentDetail , "ChangeTagNamespaceCompartmentDetail" , model . ChangeTagNamespaceCompartmentDetail . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeTagNamespaceCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Creates a new auth token for the specified user. For information about what auth tokens are for, see
  * [Managing User Credentials](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm).
  * <p>
  You must specify a *description* for the auth token (although it can be an empty string). It does not
  * have to be unique, and you can change it anytime with
  *  {@link #updateAuthToken(UpdateAuthTokenRequest) updateAuthToken} .
  * <p>
  Every user has permission to create an auth token for *their own user ID*. An administrator in your organization
  * does not need to write a policy to give users this ability. To compare, administrators who have permission to the
  * tenancy can use this operation to create an auth token for any user, including themselves.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateAuthTokenRequest return throws example Click  https to see how to use CreateAuthToken API.
        public async createAuthToken ( createAuthTokenRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createAuthToken." ) ; const pathParams = { "{userId}" : createAuthTokenRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createAuthTokenRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createAuthTokenRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/authTokens" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createAuthTokenRequest . createAuthTokenDetails , "CreateAuthTokenDetails" , model . CreateAuthTokenDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateAuthTokenResponse > { } , body : await response . json ( ) , bodyKey : "authToken" , bodyModel : model . AuthToken , type : "model.AuthToken" , 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 ; } } /**
       * Creates a new compartment in the specified compartment.
  * <p>
  **Important:** Compartments cannot be deleted.
  * <p>
  Specify the parent compartment's OCID as the compartment ID in the request object. Remember that the tenancy
  * is simply the root compartment. For information about OCIDs, see
  * [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
  * <p>
  You must also specify a *name* for the compartment, which must be unique across all compartments in
  * your tenancy. You can use this name or the OCID when writing policies that apply
  * to the compartment. For more information about policies, see
  * [How Policies Work](https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm).
  * <p>
  You must also specify a *description* for the compartment (although it can be an empty string). It does
  * not have to be unique, and you can change it anytime with
  *  {@link #updateCompartment(UpdateCompartmentRequest) updateCompartment} .
  * <p>
  After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
  * object, first make sure its `lifecycleState` has changed to ACTIVE.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateCompartmentRequest return throws example Click  https to see how to use CreateCompartment API.
        public async createCompartment ( createCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createCompartment." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/compartments" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createCompartmentRequest . createCompartmentDetails , "CreateCompartmentDetails" , model . CreateCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateCompartmentResponse > { } , body : await response . json ( ) , bodyKey : "compartment" , bodyModel : model . Compartment , type : "model.Compartment" , 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 ; } } /**
       * Creates a new secret key for the specified user. Secret keys are used for authentication with the Object Storage Service's Amazon S3
  * compatible API. The secret key consists of an Access Key/Secret Key pair. For information, see
  * [Managing User Credentials](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm).
  * <p>
  You must specify a *description* for the secret key (although it can be an empty string). It does not
  * have to be unique, and you can change it anytime with
  *  {@link #updateCustomerSecretKey(UpdateCustomerSecretKeyRequest) updateCustomerSecretKey} .
  * <p>
  Every user has permission to create a secret key for *their own user ID*. An administrator in your organization
  * does not need to write a policy to give users this ability. To compare, administrators who have permission to the
  * tenancy can use this operation to create a secret key for any user, including themselves.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateCustomerSecretKeyRequest return throws example Click  https to see how to use CreateCustomerSecretKey API.
        public async createCustomerSecretKey ( createCustomerSecretKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createCustomerSecretKey." ) ; const pathParams = { "{userId}" : createCustomerSecretKeyRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createCustomerSecretKeyRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createCustomerSecretKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/customerSecretKeys" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createCustomerSecretKeyRequest . createCustomerSecretKeyDetails , "CreateCustomerSecretKeyDetails" , model . CreateCustomerSecretKeyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateCustomerSecretKeyResponse > { } , body : await response . json ( ) , bodyKey : "customerSecretKey" , bodyModel : model . CustomerSecretKey , type : "model.CustomerSecretKey" , 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 CreateDbCredentialRequest return throws example Click  https to see how to use CreateDbCredential API.
      public async createDbCredential ( createDbCredentialRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createDbCredential." ) ; const pathParams = { "{userId}" : createDbCredentialRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createDbCredentialRequest . opcRequestId , "opc-retry-token" : createDbCredentialRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createDbCredentialRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/dbCredentials" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createDbCredentialRequest . createDbCredentialDetails , "CreateDbCredentialDetails" , model . CreateDbCredentialDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateDbCredentialResponse > { } , body : await response . json ( ) , bodyKey : "dbCredential" , bodyModel : model . DbCredential , type : "model.DbCredential" , 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 CreateDomainRequest return throws example Click  https to see how to use CreateDomain API.
        public async createDomain ( createDomainRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createDomain." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createDomainRequest . opcRetryToken , "opc-request-id" : createDomainRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createDomainRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/domains" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createDomainRequest . createDomainDetails , "CreateDomainDetails" , model . CreateDomainDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateDomainResponse > { } , 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 ; } } /**
       * Creates a new dynamic group in your tenancy.
  * <p>
  You must specify your tenancy's OCID as the compartment ID in the request object (remember that the tenancy
  * is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies)
  * reside within the tenancy itself, unlike cloud resources such as compute instances, which typically
  * reside within compartments inside the tenancy. For information about OCIDs, see
  * [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
  * <p>
  You must also specify a *name* for the dynamic group, which must be unique across all dynamic groups in your
  * tenancy, and cannot be changed. Note that this name has to be also unique across all groups in your tenancy.
  * You can use this name or the OCID when writing policies that apply to the dynamic group. For more information
  * about policies, see [How Policies Work](https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm).
  * <p>
  You must also specify a *description* for the dynamic group (although it can be an empty string). It does not
  * have to be unique, and you can change it anytime with  {@link #updateDynamicGroup(UpdateDynamicGroupRequest) updateDynamicGroup} .
  * <p>
  After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
  * object, first make sure its `lifecycleState` has changed to ACTIVE.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateDynamicGroupRequest return throws example Click  https to see how to use CreateDynamicGroup API.
        public async createDynamicGroup ( createDynamicGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createDynamicGroup." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createDynamicGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createDynamicGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dynamicGroups" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createDynamicGroupRequest . createDynamicGroupDetails , "CreateDynamicGroupDetails" , model . CreateDynamicGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateDynamicGroupResponse > { } , body : await response . json ( ) , bodyKey : "dynamicGroup" , bodyModel : model . DynamicGroup , type : "model.DynamicGroup" , 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 ; } } /**
       * Creates a new group in your tenancy.
  * <p>
  You must specify your tenancy's OCID as the compartment ID in the request object (remember that the tenancy
  * is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies)
  * reside within the tenancy itself, unlike cloud resources such as compute instances, which typically
  * reside within compartments inside the tenancy. For information about OCIDs, see
  * [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
  * <p>
  You must also specify a *name* for the group, which must be unique across all groups in your tenancy and
  * cannot be changed. You can use this name or the OCID when writing policies that apply to the group. For more
  * information about policies, see [How Policies Work](https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm).
  * <p>
  You must also specify a *description* for the group (although it can be an empty string). It does not
  * have to be unique, and you can change it anytime with  {@link #updateGroup(UpdateGroupRequest) updateGroup} .
  * <p>
  After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
  * object, first make sure its `lifecycleState` has changed to ACTIVE.
  * <p>
  After creating the group, you need to put users in it and write policies for it.
  * See  {@link #addUserToGroup(AddUserToGroupRequest) addUserToGroup} and
  *  {@link #createPolicy(CreatePolicyRequest) createPolicy} .
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateGroupRequest return throws example Click  https to see how to use CreateGroup API.
        public async createGroup ( createGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createGroup." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/groups" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createGroupRequest . createGroupDetails , "CreateGroupDetails" , model . CreateGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateGroupResponse > { } , body : await response . json ( ) , bodyKey : "group" , bodyModel : model . Group , type : "model.Group" , 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 ; } } /**
       * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
  * <p>
  Creates a new identity provider in your tenancy. For more information, see
  * [Identity Providers and Federation](https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm).
  * <p>
  You must specify your tenancy's OCID as the compartment ID in the request object.
  * Remember that the tenancy is simply the root compartment. For information about
  * OCIDs, see [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
  * <p>
  You must also specify a *name* for the `IdentityProvider`, which must be unique
  * across all `IdentityProvider` objects in your tenancy and cannot be changed.
  * <p>
  You must also specify a *description* for the `IdentityProvider` (although
  * it can be an empty string). It does not have to be unique, and you can change
  * it anytime with
  *  {@link #updateIdentityProvider(UpdateIdentityProviderRequest) updateIdentityProvider} .
  * <p>
  After you send your request, the new object's `lifecycleState` will temporarily
  * be CREATING. Before using the object, first make sure its `lifecycleState` has
  * changed to ACTIVE.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateIdentityProviderRequest return throws example Click  https to see how to use CreateIdentityProvider API.
        public async createIdentityProvider ( createIdentityProviderRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createIdentityProvider." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createIdentityProviderRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createIdentityProviderRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/identityProviders" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createIdentityProviderRequest . createIdentityProviderDetails , "CreateIdentityProviderDetails" , model . CreateIdentityProviderDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateIdentityProviderResponse > { } , body : await response . json ( ) , bodyKey : "identityProvider" , bodyModel : model . IdentityProvider , type : "model.IdentityProvider" , 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 ; } } /**
       * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
  * <p>
  Creates a single mapping between an IdP group and an IAM Service
  *  Group .
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateIdpGroupMappingRequest return throws example Click  https to see how to use CreateIdpGroupMapping API.
        public async createIdpGroupMapping ( createIdpGroupMappingRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createIdpGroupMapping." ) ; const pathParams = { "{identityProviderId}" : createIdpGroupMappingRequest . identityProviderId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createIdpGroupMappingRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createIdpGroupMappingRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/identityProviders/{identityProviderId}/groupMappings" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createIdpGroupMappingRequest . createIdpGroupMappingDetails , "CreateIdpGroupMappingDetails" , model . CreateIdpGroupMappingDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateIdpGroupMappingResponse > { } , body : await response . json ( ) , bodyKey : "idpGroupMapping" , bodyModel : model . IdpGroupMapping , type : "model.IdpGroupMapping" , 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 CreateMfaTotpDeviceRequest return throws example Click  https to see how to use CreateMfaTotpDevice API.
      public async createMfaTotpDevice ( createMfaTotpDeviceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createMfaTotpDevice." ) ; const pathParams = { "{userId}" : createMfaTotpDeviceRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createMfaTotpDeviceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createMfaTotpDeviceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/mfaTotpDevices" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateMfaTotpDeviceResponse > { } , body : await response . json ( ) , bodyKey : "mfaTotpDevice" , bodyModel : model . MfaTotpDevice , type : "model.MfaTotpDevice" , 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 ; } } /**
       * Creates a new network source in your tenancy.
  * <p>
  You must specify your tenancy's OCID as the compartment ID in the request object (remember that the tenancy
  * is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies)
  * reside within the tenancy itself, unlike cloud resources such as compute instances, which typically
  * reside within compartments inside the tenancy. For information about OCIDs, see
  * [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
  * <p>
  You must also specify a *name* for the network source, which must be unique across all network sources in your
  * tenancy, and cannot be changed.
  * You can use this name or the OCID when writing policies that apply to the network source. For more information
  * about policies, see [How Policies Work](https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm).
  * <p>
  You must also specify a *description* for the network source (although it can be an empty string). It does not
  * have to be unique, and you can change it anytime with  {@link #updateNetworkSource(UpdateNetworkSourceRequest) updateNetworkSource} .
  * <p>
  After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
  * object, first make sure its `lifecycleState` has changed to ACTIVE.
  * <p>
  After your network resource is created, you can use it in policy to restrict access to only requests made from an allowed
  * IP address specified in your network source. For more information, see [Managing Network Sources](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingnetworksources.htm).
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateNetworkSourceRequest return throws example Click  https to see how to use CreateNetworkSource API.
        public async createNetworkSource ( createNetworkSourceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createNetworkSource." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createNetworkSourceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createNetworkSourceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSources" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createNetworkSourceRequest . createNetworkSourceDetails , "CreateNetworkSourceDetails" , model . CreateNetworkSourceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateNetworkSourceResponse > { } , body : await response . json ( ) , bodyKey : "networkSources" , bodyModel : model . NetworkSources , type : "model.NetworkSources" , 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 CreateOAuthClientCredentialRequest return throws example Click  https to see how to use CreateOAuthClientCredential API.
      public async createOAuthClientCredential ( createOAuthClientCredentialRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createOAuthClientCredential." ) ; const pathParams = { "{userId}" : createOAuthClientCredentialRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createOAuthClientCredentialRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createOAuthClientCredentialRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/oauth2ClientCredentials" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createOAuthClientCredentialRequest . createOAuth2ClientCredentialDetails , "CreateOAuth2ClientCredentialDetails" , model . CreateOAuth2ClientCredentialDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateOAuthClientCredentialResponse > { } , body : await response . json ( ) , bodyKey : "oAuth2ClientCredential" , bodyModel : model . OAuth2ClientCredential , type : "model.OAuth2ClientCredential" , 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 ; } } /**
       * Creates a new Console one-time password for the specified user. For more information about user
  * credentials, see [User Credentials](https://docs.cloud.oracle.com/Content/Identity/Concepts/usercredentials.htm).
  * <p>
  Use this operation after creating a new user, or if a user forgets their password. The new one-time
  * password is returned to you in the response, and you must securely deliver it to the user. They'll
  * be prompted to change this password the next time they sign in to the Console. If they don't change
  * it within 7 days, the password will expire and you'll need to create a new one-time password for the
  * user.
  * <p>
  **Note:** The user's Console login is the unique name you specified when you created the user
  * (see  {@link #createUser(CreateUserRequest) createUser} ).
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateOrResetUIPasswordRequest return throws example Click  https to see how to use CreateOrResetUIPassword API.
        public async createOrResetUIPassword ( createOrResetUIPasswordRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createOrResetUIPassword." ) ; const pathParams = { "{userId}" : createOrResetUIPasswordRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createOrResetUIPasswordRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createOrResetUIPasswordRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/uiPassword" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateOrResetUIPasswordResponse > { } , body : await response . json ( ) , bodyKey : "uIPassword" , bodyModel : model . UIPassword , type : "model.UIPassword" , 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 ; } } /**
       * Creates a new policy in the specified compartment (either the tenancy or another of your compartments).
  * If you're new to policies, see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
  * <p>
  You must specify a *name* for the policy, which must be unique across all policies in your tenancy
  * and cannot be changed.
  * <p>
  You must also specify a *description* for the policy (although it can be an empty string). It does not
  * have to be unique, and you can change it anytime with  {@link #updatePolicy(UpdatePolicyRequest) updatePolicy} .
  * <p>
  You must specify one or more policy statements in the statements array. For information about writing
  * policies, see [How Policies Work](https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm) and
  * [Common Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/commonpolicies.htm).
  * <p>
  After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
  * object, first make sure its `lifecycleState` has changed to ACTIVE.
  * <p>
  New policies take effect typically within 10 seconds.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreatePolicyRequest return throws example Click  https to see how to use CreatePolicy API.
        public async createPolicy ( createPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createPolicy." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createPolicyRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/policies" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createPolicyRequest . createPolicyDetails , "CreatePolicyDetails" , model . CreatePolicyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreatePolicyResponse > { } , body : await response . json ( ) , bodyKey : "policy" , bodyModel : model . Policy , type : "model.Policy" , 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 CreateRegionSubscriptionRequest return throws example Click  https to see how to use CreateRegionSubscription API.
      public async createRegionSubscription ( createRegionSubscriptionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createRegionSubscription." ) ; const pathParams = { "{tenancyId}" : createRegionSubscriptionRequest . tenancyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createRegionSubscriptionRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createRegionSubscriptionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tenancies/{tenancyId}/regionSubscriptions" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createRegionSubscriptionRequest . createRegionSubscriptionDetails , "CreateRegionSubscriptionDetails" , model . CreateRegionSubscriptionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateRegionSubscriptionResponse > { } , body : await response . json ( ) , bodyKey : "regionSubscription" , bodyModel : model . RegionSubscription , type : "model.RegionSubscription" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Creates a new SMTP credential for the specified user. An SMTP credential has an SMTP user name and an SMTP password.
     * You must specify a *description* for the SMTP credential (although it can be an empty string). It does not
     * have to be unique, and you can change it anytime with
     *  {@link #updateSmtpCredential(UpdateSmtpCredentialRequest) updateSmtpCredential} .
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param CreateSmtpCredentialRequest return throws example Click  https to see how to use CreateSmtpCredential API.
      public async createSmtpCredential ( createSmtpCredentialRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createSmtpCredential." ) ; const pathParams = { "{userId}" : createSmtpCredentialRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createSmtpCredentialRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createSmtpCredentialRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/smtpCredentials" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createSmtpCredentialRequest . createSmtpCredentialDetails , "CreateSmtpCredentialDetails" , model . CreateSmtpCredentialDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateSmtpCredentialResponse > { } , body : await response . json ( ) , bodyKey : "smtpCredential" , bodyModel : model . SmtpCredential , type : "model.SmtpCredential" , 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 ; } } /**
       * **Deprecated. Use  {@link #createAuthToken(CreateAuthTokenRequest) createAuthToken} instead.**
  * <p>
  Creates a new Swift password for the specified user. For information about what Swift passwords are for, see
  * [Managing User Credentials](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm).
  * <p>
  You must specify a *description* for the Swift password (although it can be an empty string). It does not
  * have to be unique, and you can change it anytime with
  *  {@link #updateSwiftPassword(UpdateSwiftPasswordRequest) updateSwiftPassword} .
  * <p>
  Every user has permission to create a Swift password for *their own user ID*. An administrator in your organization
  * does not need to write a policy to give users this ability. To compare, administrators who have permission to the
  * tenancy can use this operation to create a Swift password for any user, including themselves.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateSwiftPasswordRequest return throws example Click  https to see how to use CreateSwiftPassword API.
        public async createSwiftPassword ( createSwiftPasswordRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createSwiftPassword." ) ; const pathParams = { "{userId}" : createSwiftPasswordRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createSwiftPasswordRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createSwiftPasswordRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/swiftPasswords" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createSwiftPasswordRequest . createSwiftPasswordDetails , "CreateSwiftPasswordDetails" , model . CreateSwiftPasswordDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateSwiftPasswordResponse > { } , body : await response . json ( ) , bodyKey : "swiftPassword" , bodyModel : model . SwiftPassword , type : "model.SwiftPassword" , 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 ; } } /**
       * Creates a new tag in the specified tag namespace.
  * <p>
  The tag requires either the OCID or the name of the tag namespace that will contain this
  * tag definition.
  * <p>
  You must specify a *name* for the tag, which must be unique across all tags in the tag namespace
  * and cannot be changed. The name can contain any ASCII character except the space (_) or period (.) characters.
  * Names are case insensitive. That means, for example, \"myTag\" and \"mytag\" are not allowed in the same namespace.
  * If you specify a name that's already in use in the tag namespace, a 409 error is returned.
  * <p>
  The tag must have a *description*. It does not have to be unique, and you can change it with
  *  {@link #updateTag(UpdateTagRequest) updateTag} .
  * <p>
  The tag must have a value type, which is specified with a validator. Tags can use either a
  * static value or a list of possible values. Static values are entered by a user applying the tag
  * to a resource. Lists are created by you and the user must apply a value from the list. Lists
  * are validiated.
  * <p>
  * If no `validator` is set, the user applying the tag to a resource can type in a static
  * value or leave the tag value empty.
  * * If a `validator` is set, the user applying the tag to a resource must select from a list
  * of values that you supply with  {@link #enumTagDefinitionValidator(EnumTagDefinitionValidatorRequest) enumTagDefinitionValidator} .
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateTagRequest return throws example Click  https to see how to use CreateTag API.
        public async createTag ( createTagRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createTag." ) ; const pathParams = { "{tagNamespaceId}" : createTagRequest . tagNamespaceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createTagRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createTagRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces/{tagNamespaceId}/tags" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createTagRequest . createTagDetails , "CreateTagDetails" , model . CreateTagDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateTagResponse > { } , body : await response . json ( ) , bodyKey : "tag" , bodyModel : model . Tag , type : "model.Tag" , 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 CreateTagDefaultRequest return throws example Click  https to see how to use CreateTagDefault API.
        public async createTagDefault ( createTagDefaultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createTagDefault." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createTagDefaultRequest . opcRetryToken , "opc-request-id" : createTagDefaultRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createTagDefaultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagDefaults" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createTagDefaultRequest . createTagDefaultDetails , "CreateTagDefaultDetails" , model . CreateTagDefaultDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateTagDefaultResponse > { } , body : await response . json ( ) , bodyKey : "tagDefault" , bodyModel : model . TagDefault , type : "model.TagDefault" , 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 ; } } /**
       * Creates a new tag namespace in the specified compartment.
  * <p>
  You must specify the compartment ID in the request object (remember that the tenancy is simply the root
  * compartment).
  * <p>
  You must also specify a *name* for the namespace, which must be unique across all namespaces in your tenancy
  * and cannot be changed. The name can contain any ASCII character except the space (_) or period (.).
  * Names are case insensitive. That means, for example, \"myNamespace\" and \"mynamespace\" are not allowed
  * in the same tenancy. Once you created a namespace, you cannot change the name.
  * If you specify a name that's already in use in the tenancy, a 409 error is returned.
  * <p>
  You must also specify a *description* for the namespace.
  * It does not have to be unique, and you can change it with
  *  {@link #updateTagNamespace(UpdateTagNamespaceRequest) updateTagNamespace} .
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateTagNamespaceRequest return throws example Click  https to see how to use CreateTagNamespace API.
        public async createTagNamespace ( createTagNamespaceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createTagNamespace." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createTagNamespaceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createTagNamespaceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createTagNamespaceRequest . createTagNamespaceDetails , "CreateTagNamespaceDetails" , model . CreateTagNamespaceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateTagNamespaceResponse > { } , body : await response . json ( ) , bodyKey : "tagNamespace" , bodyModel : model . TagNamespace , type : "model.TagNamespace" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Creates a new user in your tenancy. For conceptual information about users, your tenancy, and other
  * IAM Service components, see [Overview of the IAM Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm).
  * <p>
  You must specify your tenancy's OCID as the compartment ID in the request object (remember that the
  * tenancy is simply the root compartment). Notice that IAM resources (users, groups, compartments, and
  * some policies) reside within the tenancy itself, unlike cloud resources such as compute instances,
  * which typically reside within compartments inside the tenancy. For information about OCIDs, see
  * [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
  * <p>
  You must also specify a *name* for the user, which must be unique across all users in your tenancy
  * and cannot be changed. Allowed characters: No spaces. Only letters, numerals, hyphens, periods,
  * underscores, +, and @. If you specify a name that's already in use, you'll get a 409 error.
  * This name will be the user's login to the Console. You might want to pick a
  * name that your company's own identity system (e.g., Active Directory, LDAP, etc.) already uses.
  * If you delete a user and then create a new user with the same name, they'll be considered different
  * users because they have different OCIDs.
  * <p>
  You must also specify a *description* for the user (although it can be an empty string).
  * It does not have to be unique, and you can change it anytime with
  *  {@link #updateUser(UpdateUserRequest) updateUser} . You can use the field to provide the user's
  * full name, a description, a nickname, or other information to generally identify the user.
  * <p>
  After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before
  * using the object, first make sure its `lifecycleState` has changed to ACTIVE.
  * <p>
  A new user has no permissions until you place the user in one or more groups (see
  *  {@link #addUserToGroup(AddUserToGroupRequest) addUserToGroup} ). If the user needs to
  * access the Console, you need to provide the user a password (see
  *  {@link #createOrResetUIPassword(CreateOrResetUIPasswordRequest) createOrResetUIPassword} ).
  * If the user needs to access the Oracle Cloud Infrastructure REST API, you need to upload a
  * public API signing key for that user (see
  * [Required Keys and OCIDs](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm) and also
  *  {@link #uploadApiKey(UploadApiKeyRequest) uploadApiKey} ).
  * <p>
  **Important:** Make sure to inform the new user which compartment(s) they have access to.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateUserRequest return throws example Click  https to see how to use CreateUser API.
        public async createUser ( createUserRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#createUser." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createUserRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createUserRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createUserRequest . createUserDetails , "CreateUserDetails" , model . CreateUserDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateUserResponse > { } , body : await response . json ( ) , bodyKey : "user" , bodyModel : model . User , type : "model.User" , 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 DeactivateDomainRequest return throws example Click  https to see how to use DeactivateDomain API.
        public async deactivateDomain ( deactivateDomainRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deactivateDomain." ) ; const pathParams = { "{domainId}" : deactivateDomainRequest . domainId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deactivateDomainRequest . opcRequestId , "opc-retry-token" : deactivateDomainRequest . opcRetryToken , "if-match" : deactivateDomainRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deactivateDomainRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/domains/{domainId}/actions/deactivate" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeactivateDomainResponse > { } , 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 DeleteApiKeyRequest return throws example Click  https to see how to use DeleteApiKey API.
        public async deleteApiKey ( deleteApiKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteApiKey." ) ; const pathParams = { "{userId}" : deleteApiKeyRequest . userId , "{fingerprint}" : deleteApiKeyRequest . fingerprint } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteApiKeyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteApiKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/apiKeys/{fingerprint}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteApiKeyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteAuthTokenRequest return throws example Click  https to see how to use DeleteAuthToken API.
      public async deleteAuthToken ( deleteAuthTokenRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteAuthToken." ) ; const pathParams = { "{userId}" : deleteAuthTokenRequest . userId , "{authTokenId}" : deleteAuthTokenRequest . authTokenId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteAuthTokenRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteAuthTokenRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/authTokens/{authTokenId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteAuthTokenResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteCompartmentRequest return throws example Click  https to see how to use DeleteCompartment API.
      public async deleteCompartment ( deleteCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteCompartment." ) ; const pathParams = { "{compartmentId}" : deleteCompartmentRequest . compartmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteCompartmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/compartments/{compartmentId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteCompartmentResponse > { } , 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 DeleteCustomerSecretKeyRequest return throws example Click  https to see how to use DeleteCustomerSecretKey API.
      public async deleteCustomerSecretKey ( deleteCustomerSecretKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteCustomerSecretKey." ) ; const pathParams = { "{userId}" : deleteCustomerSecretKeyRequest . userId , "{customerSecretKeyId}" : deleteCustomerSecretKeyRequest . customerSecretKeyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteCustomerSecretKeyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteCustomerSecretKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/customerSecretKeys/{customerSecretKeyId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteCustomerSecretKeyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteDbCredentialRequest return throws example Click  https to see how to use DeleteDbCredential API.
      public async deleteDbCredential ( deleteDbCredentialRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteDbCredential." ) ; const pathParams = { "{userId}" : deleteDbCredentialRequest . userId , "{dbCredentialId}" : deleteDbCredentialRequest . dbCredentialId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteDbCredentialRequest . opcRequestId , "if-match" : deleteDbCredentialRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteDbCredentialRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/dbCredentials/{dbCredentialId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteDbCredentialResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteDomainRequest return throws example Click  https to see how to use DeleteDomain API.
        public async deleteDomain ( deleteDomainRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteDomain." ) ; const pathParams = { "{domainId}" : deleteDomainRequest . domainId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteDomainRequest . ifMatch , "opc-request-id" : deleteDomainRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteDomainRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/domains/{domainId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteDomainResponse > { } , 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 DeleteDynamicGroupRequest return throws example Click  https to see how to use DeleteDynamicGroup API.
      public async deleteDynamicGroup ( deleteDynamicGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteDynamicGroup." ) ; const pathParams = { "{dynamicGroupId}" : deleteDynamicGroupRequest . dynamicGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteDynamicGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteDynamicGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dynamicGroups/{dynamicGroupId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteDynamicGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteGroupRequest return throws example Click  https to see how to use DeleteGroup API.
      public async deleteGroup ( deleteGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteGroup." ) ; const pathParams = { "{groupId}" : deleteGroupRequest . groupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/groups/{groupId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
  * <p>
  Deletes the specified identity provider. The identity provider must not have
  * any group mappings (see  IdpGroupMapping ).
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param DeleteIdentityProviderRequest return throws example Click  https to see how to use DeleteIdentityProvider API.
        public async deleteIdentityProvider ( deleteIdentityProviderRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteIdentityProvider." ) ; const pathParams = { "{identityProviderId}" : deleteIdentityProviderRequest . identityProviderId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteIdentityProviderRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteIdentityProviderRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/identityProviders/{identityProviderId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteIdentityProviderResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteIdpGroupMappingRequest return throws example Click  https to see how to use DeleteIdpGroupMapping API.
        public async deleteIdpGroupMapping ( deleteIdpGroupMappingRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteIdpGroupMapping." ) ; const pathParams = { "{identityProviderId}" : deleteIdpGroupMappingRequest . identityProviderId , "{mappingId}" : deleteIdpGroupMappingRequest . mappingId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteIdpGroupMappingRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteIdpGroupMappingRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/identityProviders/{identityProviderId}/groupMappings/{mappingId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteIdpGroupMappingResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteMfaTotpDeviceRequest return throws example Click  https to see how to use DeleteMfaTotpDevice API.
      public async deleteMfaTotpDevice ( deleteMfaTotpDeviceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteMfaTotpDevice." ) ; const pathParams = { "{userId}" : deleteMfaTotpDeviceRequest . userId , "{mfaTotpDeviceId}" : deleteMfaTotpDeviceRequest . mfaTotpDeviceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteMfaTotpDeviceRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteMfaTotpDeviceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/mfaTotpDevices/{mfaTotpDeviceId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteMfaTotpDeviceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteNetworkSourceRequest return throws example Click  https to see how to use DeleteNetworkSource API.
      public async deleteNetworkSource ( deleteNetworkSourceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteNetworkSource." ) ; const pathParams = { "{networkSourceId}" : deleteNetworkSourceRequest . networkSourceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteNetworkSourceRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteNetworkSourceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSources/{networkSourceId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteNetworkSourceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteOAuthClientCredentialRequest return throws example Click  https to see how to use DeleteOAuthClientCredential API.
      public async deleteOAuthClientCredential ( deleteOAuthClientCredentialRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteOAuthClientCredential." ) ; const pathParams = { "{userId}" : deleteOAuthClientCredentialRequest . userId , "{oauth2ClientCredentialId}" : deleteOAuthClientCredentialRequest . oauth2ClientCredentialId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteOAuthClientCredentialRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteOAuthClientCredentialRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/oauth2ClientCredentials/{oauth2ClientCredentialId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteOAuthClientCredentialResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeletePolicyRequest return throws example Click  https to see how to use DeletePolicy API.
      public async deletePolicy ( deletePolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deletePolicy." ) ; const pathParams = { "{policyId}" : deletePolicyRequest . policyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deletePolicyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deletePolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/policies/{policyId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeletePolicyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteSmtpCredentialRequest return throws example Click  https to see how to use DeleteSmtpCredential API.
      public async deleteSmtpCredential ( deleteSmtpCredentialRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteSmtpCredential." ) ; const pathParams = { "{userId}" : deleteSmtpCredentialRequest . userId , "{smtpCredentialId}" : deleteSmtpCredentialRequest . smtpCredentialId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteSmtpCredentialRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteSmtpCredentialRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/smtpCredentials/{smtpCredentialId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteSmtpCredentialResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * **Deprecated. Use  {@link #deleteAuthToken(DeleteAuthTokenRequest) deleteAuthToken} instead.**
  * <p>
  Deletes the specified Swift password for the specified user.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param DeleteSwiftPasswordRequest return throws example Click  https to see how to use DeleteSwiftPassword API.
        public async deleteSwiftPassword ( deleteSwiftPasswordRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteSwiftPassword." ) ; const pathParams = { "{userId}" : deleteSwiftPasswordRequest . userId , "{swiftPasswordId}" : deleteSwiftPasswordRequest . swiftPasswordId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteSwiftPasswordRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteSwiftPasswordRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/swiftPasswords/{swiftPasswordId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteSwiftPasswordResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Deletes the specified tag definition. This operation triggers a process that removes the
  * tag from all resources in your tenancy.
  * <p>
  These things happen immediately:
  * \u00A0
  *   * If the tag was a cost-tracking tag, it no longer counts against your 10 cost-tracking
  *   tags limit, whether you first disabled it or not.
  *   * If the tag was used with dynamic groups, none of the rules that contain the tag will
  *   be evaluated against the tag.
  * <p>
  When you start the delete operation, the state of the tag changes to DELETING and tag removal
  * from resources begins. This can take up to 48 hours depending on the number of resources that
  * were tagged as well as the regions in which those resources reside.
  * <p>
  When all tags have been removed, the state changes to DELETED. You cannot restore a deleted tag. Once the deleted tag
  * changes its state to DELETED, you can use the same tag name again.
  * <p>
  After you start this operation, you cannot start either the  {@link #bulkDeleteTags(BulkDeleteTagsRequest) bulkDeleteTags} or the  {@link #cascadeDeleteTagNamespace(CascadeDeleteTagNamespaceRequest) cascadeDeleteTagNamespace} operation until this process completes.
  * <p>
  To delete a tag, you must first retire it. Use  {@link #updateTag(UpdateTagRequest) updateTag} * to retire a tag.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param DeleteTagRequest return throws example Click  https to see how to use DeleteTag API.
        public async deleteTag ( deleteTagRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteTag." ) ; const pathParams = { "{tagNamespaceId}" : deleteTagRequest . tagNamespaceId , "{tagName}" : deleteTagRequest . tagName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteTagRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteTagRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces/{tagNamespaceId}/tags/{tagName}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteTagResponse > { } , 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 DeleteTagDefaultRequest return throws example Click  https to see how to use DeleteTagDefault API.
      public async deleteTagDefault ( deleteTagDefaultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteTagDefault." ) ; const pathParams = { "{tagDefaultId}" : deleteTagDefaultRequest . tagDefaultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteTagDefaultRequest . opcRequestId , "if-match" : deleteTagDefaultRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteTagDefaultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagDefaults/{tagDefaultId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteTagDefaultResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Deletes the specified tag namespace. Only an empty tag namespace can be deleted with this operation. To use this operation
  * to delete a tag namespace that contains tag definitions, first delete all of its tag definitions.
  * <p>
  Use  {@link #cascadeDeleteTagNamespace(CascadeDeleteTagNamespaceRequest) cascadeDeleteTagNamespace} to delete a tag namespace along with all of
  * the tag definitions contained within that namespace.
  * <p>
  Use  {@link #deleteTag(DeleteTagRequest) deleteTag} to delete a tag definition.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param DeleteTagNamespaceRequest return throws example Click  https to see how to use DeleteTagNamespace API.
        public async deleteTagNamespace ( deleteTagNamespaceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteTagNamespace." ) ; const pathParams = { "{tagNamespaceId}" : deleteTagNamespaceRequest . tagNamespaceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteTagNamespaceRequest . ifMatch , "opc-request-id" : deleteTagNamespaceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteTagNamespaceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces/{tagNamespaceId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteTagNamespaceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteUserRequest return throws example Click  https to see how to use DeleteUser API.
      public async deleteUser ( deleteUserRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#deleteUser." ) ; const pathParams = { "{userId}" : deleteUserRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteUserRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteUserRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteUserResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param EnableReplicationToRegionRequest return throws example Click  https to see how to use EnableReplicationToRegion API.
        public async enableReplicationToRegion ( enableReplicationToRegionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#enableReplicationToRegion." ) ; const pathParams = { "{domainId}" : enableReplicationToRegionRequest . domainId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : enableReplicationToRegionRequest . opcRequestId , "opc-retry-token" : enableReplicationToRegionRequest . opcRetryToken , "if-match" : enableReplicationToRegionRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , enableReplicationToRegionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/domains/{domainId}/actions/enableReplicationToRegion" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( enableReplicationToRegionRequest . enableReplicationToRegionDetails , "EnableReplicationToRegionDetails" , model . EnableReplicationToRegionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . EnableReplicationToRegionResponse > { } , 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 GenerateTotpSeedRequest return throws example Click  https to see how to use GenerateTotpSeed API.
      public async generateTotpSeed ( generateTotpSeedRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#generateTotpSeed." ) ; const pathParams = { "{userId}" : generateTotpSeedRequest . userId , "{mfaTotpDeviceId}" : generateTotpSeedRequest . mfaTotpDeviceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : generateTotpSeedRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , generateTotpSeedRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/mfaTotpDevices/{mfaTotpDeviceId}/actions/generateSeed" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GenerateTotpSeedResponse > { } , body : await response . json ( ) , bodyKey : "mfaTotpDevice" , bodyModel : model . MfaTotpDevice , type : "model.MfaTotpDevice" , 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 GetAuthenticationPolicyRequest return throws example Click  https to see how to use GetAuthenticationPolicy API.
      public async getAuthenticationPolicy ( getAuthenticationPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getAuthenticationPolicy." ) ; const pathParams = { "{compartmentId}" : getAuthenticationPolicyRequest . compartmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getAuthenticationPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/authenticationPolicies/{compartmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetAuthenticationPolicyResponse > { } , body : await response . json ( ) , bodyKey : "authenticationPolicy" , bodyModel : model . AuthenticationPolicy , type : "model.AuthenticationPolicy" , 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 ; } } /**
       * Gets the specified compartment's information.
  * <p>
  This operation does not return a list of all the resources inside the compartment. There is no single
  * API operation that does that. Compartments can contain multiple types of resources (instances, block
  * storage volumes, etc.). To find out what's in a compartment, you must call the \"List\" operation for
  * each resource type and specify the compartment's OCID as a query parameter in the request. For example,
  * call the  {@link #listInstances(ListInstancesRequest) listInstances} operation in the Cloud Compute
  * Service or the  {@link #listVolumes(ListVolumesRequest) listVolumes} operation in Cloud Block Storage.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param GetCompartmentRequest return throws example Click  https to see how to use GetCompartment API.
        public async getCompartment ( getCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getCompartment." ) ; const pathParams = { "{compartmentId}" : getCompartmentRequest . compartmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/compartments/{compartmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetCompartmentResponse > { } , body : await response . json ( ) , bodyKey : "compartment" , bodyModel : model . Compartment , type : "model.Compartment" , 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 GetDomainRequest return throws example Click  https to see how to use GetDomain API.
        public async getDomain ( getDomainRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getDomain." ) ; const pathParams = { "{domainId}" : getDomainRequest . domainId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getDomainRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDomainRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/domains/{domainId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDomainResponse > { } , body : await response . json ( ) , bodyKey : "domain" , bodyModel : model . Domain , type : "model.Domain" , 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 GetDynamicGroupRequest return throws example Click  https to see how to use GetDynamicGroup API.
      public async getDynamicGroup ( getDynamicGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getDynamicGroup." ) ; const pathParams = { "{dynamicGroupId}" : getDynamicGroupRequest . dynamicGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDynamicGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dynamicGroups/{dynamicGroupId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDynamicGroupResponse > { } , body : await response . json ( ) , bodyKey : "dynamicGroup" , bodyModel : model . DynamicGroup , type : "model.DynamicGroup" , 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 ; } } /**
       * Gets the specified group's information.
  * <p>
  This operation does not return a list of all the users in the group. To do that, use
  *  {@link #listUserGroupMemberships(ListUserGroupMembershipsRequest) listUserGroupMemberships} and
  * provide the group's OCID as a query parameter in the request.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param GetGroupRequest return throws example Click  https to see how to use GetGroup API.
        public async getGroup ( getGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getGroup." ) ; const pathParams = { "{groupId}" : getGroupRequest . groupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/groups/{groupId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetGroupResponse > { } , body : await response . json ( ) , bodyKey : "group" , bodyModel : model . Group , type : "model.Group" , 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 GetIamWorkRequestRequest return throws example Click  https to see how to use GetIamWorkRequest API.
        public async getIamWorkRequest ( getIamWorkRequestRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getIamWorkRequest." ) ; const pathParams = { "{iamWorkRequestId}" : getIamWorkRequestRequest . iamWorkRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getIamWorkRequestRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getIamWorkRequestRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/iamWorkRequests/{iamWorkRequestId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetIamWorkRequestResponse > { } , body : await response . json ( ) , bodyKey : "iamWorkRequest" , bodyModel : model . IamWorkRequest , type : "model.IamWorkRequest" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetIdentityProviderRequest return throws example Click  https to see how to use GetIdentityProvider API.
        public async getIdentityProvider ( getIdentityProviderRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getIdentityProvider." ) ; const pathParams = { "{identityProviderId}" : getIdentityProviderRequest . identityProviderId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getIdentityProviderRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/identityProviders/{identityProviderId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetIdentityProviderResponse > { } , body : await response . json ( ) , bodyKey : "identityProvider" , bodyModel : model . IdentityProvider , type : "model.IdentityProvider" , 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 GetIdpGroupMappingRequest return throws example Click  https to see how to use GetIdpGroupMapping API.
        public async getIdpGroupMapping ( getIdpGroupMappingRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getIdpGroupMapping." ) ; const pathParams = { "{identityProviderId}" : getIdpGroupMappingRequest . identityProviderId , "{mappingId}" : getIdpGroupMappingRequest . mappingId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getIdpGroupMappingRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/identityProviders/{identityProviderId}/groupMappings/{mappingId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetIdpGroupMappingResponse > { } , body : await response . json ( ) , bodyKey : "idpGroupMapping" , bodyModel : model . IdpGroupMapping , type : "model.IdpGroupMapping" , 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 GetMfaTotpDeviceRequest return throws example Click  https to see how to use GetMfaTotpDevice API.
      public async getMfaTotpDevice ( getMfaTotpDeviceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getMfaTotpDevice." ) ; const pathParams = { "{userId}" : getMfaTotpDeviceRequest . userId , "{mfaTotpDeviceId}" : getMfaTotpDeviceRequest . mfaTotpDeviceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getMfaTotpDeviceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/mfaTotpDevices/{mfaTotpDeviceId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetMfaTotpDeviceResponse > { } , body : await response . json ( ) , bodyKey : "mfaTotpDeviceSummary" , bodyModel : model . MfaTotpDeviceSummary , type : "model.MfaTotpDeviceSummary" , 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 GetNetworkSourceRequest return throws example Click  https to see how to use GetNetworkSource API.
      public async getNetworkSource ( getNetworkSourceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getNetworkSource." ) ; const pathParams = { "{networkSourceId}" : getNetworkSourceRequest . networkSourceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getNetworkSourceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSources/{networkSourceId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetNetworkSourceResponse > { } , body : await response . json ( ) , bodyKey : "networkSources" , bodyModel : model . NetworkSources , type : "model.NetworkSources" , 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 GetPolicyRequest return throws example Click  https to see how to use GetPolicy API.
      public async getPolicy ( getPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getPolicy." ) ; const pathParams = { "{policyId}" : getPolicyRequest . policyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/policies/{policyId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPolicyResponse > { } , body : await response . json ( ) , bodyKey : "policy" , bodyModel : model . Policy , type : "model.Policy" , 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 GetStandardTagTemplateRequest return throws example Click  https to see how to use GetStandardTagTemplate API.
      public async getStandardTagTemplate ( getStandardTagTemplateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getStandardTagTemplate." ) ; const pathParams = { "{standardTagNamespaceName}" : getStandardTagTemplateRequest . standardTagNamespaceName } ; const queryParams = { "compartmentId" : getStandardTagTemplateRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getStandardTagTemplateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tags/standardTagNamespaceTemplates/{standardTagNamespaceName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetStandardTagTemplateResponse > { } , body : await response . json ( ) , bodyKey : "standardTagNamespaceTemplate" , bodyModel : model . StandardTagNamespaceTemplate , type : "model.StandardTagNamespaceTemplate" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetTagRequest return throws example Click  https to see how to use GetTag API.
      public async getTag ( getTagRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getTag." ) ; const pathParams = { "{tagNamespaceId}" : getTagRequest . tagNamespaceId , "{tagName}" : getTagRequest . tagName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getTagRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces/{tagNamespaceId}/tags/{tagName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetTagResponse > { } , body : await response . json ( ) , bodyKey : "tag" , bodyModel : model . Tag , type : "model.Tag" , 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 GetTagDefaultRequest return throws example Click  https to see how to use GetTagDefault API.
      public async getTagDefault ( getTagDefaultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getTagDefault." ) ; const pathParams = { "{tagDefaultId}" : getTagDefaultRequest . tagDefaultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getTagDefaultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagDefaults/{tagDefaultId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetTagDefaultResponse > { } , body : await response . json ( ) , bodyKey : "tagDefault" , bodyModel : model . TagDefault , type : "model.TagDefault" , 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 GetTagNamespaceRequest return throws example Click  https to see how to use GetTagNamespace API.
      public async getTagNamespace ( getTagNamespaceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getTagNamespace." ) ; const pathParams = { "{tagNamespaceId}" : getTagNamespaceRequest . tagNamespaceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getTagNamespaceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces/{tagNamespaceId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetTagNamespaceResponse > { } , body : await response . json ( ) , bodyKey : "tagNamespace" , bodyModel : model . TagNamespace , type : "model.TagNamespace" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetTaggingWorkRequestRequest return throws example Click  https to see how to use GetTaggingWorkRequest API.
      public async getTaggingWorkRequest ( getTaggingWorkRequestRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getTaggingWorkRequest." ) ; const pathParams = { "{workRequestId}" : getTaggingWorkRequestRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getTaggingWorkRequestRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/taggingWorkRequests/{workRequestId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetTaggingWorkRequestResponse > { } , body : await response . json ( ) , bodyKey : "taggingWorkRequest" , bodyModel : model . TaggingWorkRequest , type : "model.TaggingWorkRequest" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetTenancyRequest return throws example Click  https to see how to use GetTenancy API.
      public async getTenancy ( getTenancyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getTenancy." ) ; const pathParams = { "{tenancyId}" : getTenancyRequest . tenancyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getTenancyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tenancies/{tenancyId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetTenancyResponse > { } , body : await response . json ( ) , bodyKey : "tenancy" , bodyModel : model . Tenancy , type : "model.Tenancy" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetUserRequest return throws example Click  https to see how to use GetUser API.
      public async getUser ( getUserRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getUser." ) ; const pathParams = { "{userId}" : getUserRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getUserRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetUserResponse > { } , body : await response . json ( ) , bodyKey : "user" , bodyModel : model . User , type : "model.User" , 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 GetUserGroupMembershipRequest return throws example Click  https to see how to use GetUserGroupMembership API.
      public async getUserGroupMembership ( getUserGroupMembershipRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getUserGroupMembership." ) ; const pathParams = { "{userGroupMembershipId}" : getUserGroupMembershipRequest . userGroupMembershipId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getUserGroupMembershipRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userGroupMemberships/{userGroupMembershipId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetUserGroupMembershipResponse > { } , body : await response . json ( ) , bodyKey : "userGroupMembership" , bodyModel : model . UserGroupMembership , type : "model.UserGroupMembership" , 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 GetUserUIPasswordInformationRequest return throws example Click  https to see how to use GetUserUIPasswordInformation API.
      public async getUserUIPasswordInformation ( getUserUIPasswordInformationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getUserUIPasswordInformation." ) ; const pathParams = { "{userId}" : getUserUIPasswordInformationRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getUserUIPasswordInformationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/uiPassword" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetUserUIPasswordInformationResponse > { } , body : await response . json ( ) , bodyKey : "uIPasswordInformation" , bodyModel : model . UIPasswordInformation , type : "model.UIPasswordInformation" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetWorkRequestRequest return throws example Click  https to see how to use GetWorkRequest API.
      public async getWorkRequest ( getWorkRequestRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#getWorkRequest." ) ; const pathParams = { "{workRequestId}" : getWorkRequestRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWorkRequestRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWorkRequestResponse > { } , body : await response . json ( ) , bodyKey : "workRequest" , bodyModel : model . WorkRequest , type : "model.WorkRequest" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ImportStandardTagsRequest return throws example Click  https to see how to use ImportStandardTags API.
      public async importStandardTags ( importStandardTagsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#importStandardTags." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : importStandardTagsRequest . opcRequestId , "opc-retry-token" : importStandardTagsRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , importStandardTagsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tags/actions/importStandardTags" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( importStandardTagsRequest . importStandardTagsDetails , "ImportStandardTagsDetails" , model . ImportStandardTagsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ImportStandardTagsResponse > { } , 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 ListAllowedDomainLicenseTypesRequest return throws example Click  https to see how to use ListAllowedDomainLicenseTypes API.
        public async listAllowedDomainLicenseTypes ( listAllowedDomainLicenseTypesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listAllowedDomainLicenseTypes." ) ; const pathParams = { } ; const queryParams = { "currentLicenseTypeName" : listAllowedDomainLicenseTypesRequest . currentLicenseTypeName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listAllowedDomainLicenseTypesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAllowedDomainLicenseTypesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/allowedDomainLicenseTypes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAllowedDomainLicenseTypesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . AllowedDomainLicenseTypeSummary , type : "Array<model.AllowedDomainLicenseTypeSummary>" , 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 ListApiKeysRequest return throws example Click  https to see how to use ListApiKeys API.
        public async listApiKeys ( listApiKeysRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listApiKeys." ) ; const pathParams = { "{userId}" : listApiKeysRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listApiKeysRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/apiKeys" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListApiKeysResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ApiKey , type : "Array<model.ApiKey>" , 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 ListAuthTokensRequest return throws example Click  https to see how to use ListAuthTokens API.
      public async listAuthTokens ( listAuthTokensRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listAuthTokens." ) ; const pathParams = { "{userId}" : listAuthTokensRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAuthTokensRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/authTokens" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAuthTokensResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . AuthToken , type : "Array<model.AuthToken>" , 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 ListAvailabilityDomainsRequest return throws example Click  https to see how to use ListAvailabilityDomains API.
      public async listAvailabilityDomains ( listAvailabilityDomainsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listAvailabilityDomains." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listAvailabilityDomainsRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAvailabilityDomainsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/availabilityDomains" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAvailabilityDomainsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . AvailabilityDomain , type : "Array<model.AvailabilityDomain>" , 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 ; } } /**
     * Lists the resource-types supported by compartment bulk actions. Use this API to help you provide the correct
     * resource-type information to the  {@link #bulkDeleteResources(BulkDeleteResourcesRequest) bulkDeleteResources} * and  {@link #bulkMoveResources(BulkMoveResourcesRequest) bulkMoveResources} operations. The returned list of
     * resource-types provides the appropriate resource-type names to use with the bulk action operations along with
     * the type of identifying information you'll need to provide for each resource-type. Most resource-types just
     * require an [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) to identify a specific resource, but some resource-types,
     * such as buckets, require you to provide other identifying information.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param ListBulkActionResourceTypesRequest return throws example Click  https to see how to use ListBulkActionResourceTypes API.
      public async listBulkActionResourceTypes ( listBulkActionResourceTypesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listBulkActionResourceTypes." ) ; const pathParams = { } ; const queryParams = { "bulkActionType" : listBulkActionResourceTypesRequest . bulkActionType , "page" : listBulkActionResourceTypesRequest . page , "limit" : listBulkActionResourceTypesRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listBulkActionResourceTypesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/compartments/bulkActionResourceTypes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListBulkActionResourceTypesResponse > { } , body : await response . json ( ) , bodyKey : "bulkActionResourceTypeCollection" , bodyModel : model . BulkActionResourceTypeCollection , type : "model.BulkActionResourceTypeCollection" , 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 ListBulkEditTagsResourceTypesRequest return throws example Click  https to see how to use ListBulkEditTagsResourceTypes API.
      public async listBulkEditTagsResourceTypes ( listBulkEditTagsResourceTypesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listBulkEditTagsResourceTypes." ) ; const pathParams = { } ; const queryParams = { "page" : listBulkEditTagsResourceTypesRequest . page , "limit" : listBulkEditTagsResourceTypesRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listBulkEditTagsResourceTypesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tags/bulkEditResourceTypes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListBulkEditTagsResourceTypesResponse > { } , body : await response . json ( ) , bodyKey : "bulkEditTagsResourceTypeCollection" , bodyModel : model . BulkEditTagsResourceTypeCollection , type : "model.BulkEditTagsResourceTypeCollection" , 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 ListCompartmentsRequest return throws example Click  https to see how to use ListCompartments API.
        public async listCompartments ( listCompartmentsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listCompartments." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listCompartmentsRequest . compartmentId , "page" : listCompartmentsRequest . page , "limit" : listCompartmentsRequest . limit , "accessLevel" : listCompartmentsRequest . accessLevel , "compartmentIdInSubtree" : listCompartmentsRequest . compartmentIdInSubtree , "name" : listCompartmentsRequest . name , "sortBy" : listCompartmentsRequest . sortBy , "sortOrder" : listCompartmentsRequest . sortOrder , "lifecycleState" : listCompartmentsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCompartmentsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/compartments" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCompartmentsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Compartment , type : "Array<model.Compartment>" , 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 listAllCompartments ( request ) { return paginateRecords ( request , req => this . listCompartments ( req ) ) ; } param request public listAllCompartmentsResponses ( request ) { return paginateResponses ( request , req => this . listCompartments ( req ) ) ; } param request public listCompartmentsRecordIterator ( request ) { return paginateRecords ( request , req => this . listCompartments ( req ) ) ; } param request public listCompartmentsResponseIterator ( request ) { return paginateResponses ( request , req => this . listCompartments ( req ) ) ; } param ListCostTrackingTagsRequest return throws example Click  https to see how to use ListCostTrackingTags API.
      public async listCostTrackingTags ( listCostTrackingTagsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listCostTrackingTags." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listCostTrackingTagsRequest . compartmentId , "page" : listCostTrackingTagsRequest . page , "limit" : listCostTrackingTagsRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCostTrackingTagsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces/actions/listCostTrackingTags" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCostTrackingTagsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Tag , type : "Array<model.Tag>" , 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 listAllCostTrackingTags ( request ) { return paginateRecords ( request , req => this . listCostTrackingTags ( req ) ) ; } param request public listAllCostTrackingTagsResponses ( request ) { return paginateResponses ( request , req => this . listCostTrackingTags ( req ) ) ; } param request public listCostTrackingTagsRecordIterator ( request ) { return paginateRecords ( request , req => this . listCostTrackingTags ( req ) ) ; } param request public listCostTrackingTagsResponseIterator ( request ) { return paginateResponses ( request , req => this . listCostTrackingTags ( req ) ) ; } param ListCustomerSecretKeysRequest return throws example Click  https to see how to use ListCustomerSecretKeys API.
      public async listCustomerSecretKeys ( listCustomerSecretKeysRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listCustomerSecretKeys." ) ; const pathParams = { "{userId}" : listCustomerSecretKeysRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCustomerSecretKeysRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/customerSecretKeys" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCustomerSecretKeysResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . CustomerSecretKeySummary , type : "Array<model.CustomerSecretKeySummary>" , 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 ListDbCredentialsRequest return throws example Click  https to see how to use ListDbCredentials API.
      public async listDbCredentials ( listDbCredentialsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listDbCredentials." ) ; const pathParams = { "{userId}" : listDbCredentialsRequest . userId } ; const queryParams = { "page" : listDbCredentialsRequest . page , "limit" : listDbCredentialsRequest . limit , "name" : listDbCredentialsRequest . name , "sortBy" : listDbCredentialsRequest . sortBy , "sortOrder" : listDbCredentialsRequest . sortOrder , "lifecycleState" : listDbCredentialsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listDbCredentialsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDbCredentialsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/dbCredentials" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDbCredentialsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DbCredentialSummary , type : "Array<model.DbCredentialSummary>" , 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 listAllDbCredentials ( request ) { return paginateRecords ( request , req => this . listDbCredentials ( req ) ) ; } param request public listAllDbCredentialsResponses ( request ) { return paginateResponses ( request , req => this . listDbCredentials ( req ) ) ; } param request public listDbCredentialsRecordIterator ( request ) { return paginateRecords ( request , req => this . listDbCredentials ( req ) ) ; } param request public listDbCredentialsResponseIterator ( request ) { return paginateResponses ( request , req => this . listDbCredentials ( req ) ) ; } param ListDomainsRequest return throws example Click  https to see how to use ListDomains API.
      public async listDomains ( listDomainsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listDomains." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listDomainsRequest . compartmentId , "displayName" : listDomainsRequest . displayName , "url" : listDomainsRequest . url , "homeRegionUrl" : listDomainsRequest . homeRegionUrl , "type" : listDomainsRequest . type , "licenseType" : listDomainsRequest . licenseType , "isHiddenOnLogin" : listDomainsRequest . isHiddenOnLogin , "page" : listDomainsRequest . page , "limit" : listDomainsRequest . limit , "name" : listDomainsRequest . name , "sortBy" : listDomainsRequest . sortBy , "sortOrder" : listDomainsRequest . sortOrder , "lifecycleState" : listDomainsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listDomainsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDomainsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/domains" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDomainsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DomainSummary , type : "Array<model.DomainSummary>" , 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 listAllDomains ( request ) { return paginateRecords ( request , req => this . listDomains ( req ) ) ; } param request public listAllDomainsResponses ( request ) { return paginateResponses ( request , req => this . listDomains ( req ) ) ; } param request public listDomainsRecordIterator ( request ) { return paginateRecords ( request , req => this . listDomains ( req ) ) ; } param request public listDomainsResponseIterator ( request ) { return paginateResponses ( request , req => this . listDomains ( req ) ) ; } param ListDynamicGroupsRequest return throws example Click  https to see how to use ListDynamicGroups API.
      public async listDynamicGroups ( listDynamicGroupsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listDynamicGroups." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listDynamicGroupsRequest . compartmentId , "page" : listDynamicGroupsRequest . page , "limit" : listDynamicGroupsRequest . limit , "name" : listDynamicGroupsRequest . name , "sortBy" : listDynamicGroupsRequest . sortBy , "sortOrder" : listDynamicGroupsRequest . sortOrder , "lifecycleState" : listDynamicGroupsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDynamicGroupsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dynamicGroups" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDynamicGroupsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DynamicGroup , type : "Array<model.DynamicGroup>" , 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 listAllDynamicGroups ( request ) { return paginateRecords ( request , req => this . listDynamicGroups ( req ) ) ; } param request public listAllDynamicGroupsResponses ( request ) { return paginateResponses ( request , req => this . listDynamicGroups ( req ) ) ; } param request public listDynamicGroupsRecordIterator ( request ) { return paginateRecords ( request , req => this . listDynamicGroups ( req ) ) ; } param request public listDynamicGroupsResponseIterator ( request ) { return paginateResponses ( request , req => this . listDynamicGroups ( req ) ) ; } param ListFaultDomainsRequest return throws example Click  https to see how to use ListFaultDomains API.
      public async listFaultDomains ( listFaultDomainsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listFaultDomains." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listFaultDomainsRequest . compartmentId , "availabilityDomain" : listFaultDomainsRequest . availabilityDomain } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listFaultDomainsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/faultDomains" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListFaultDomainsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . FaultDomain , type : "Array<model.FaultDomain>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListGroupsRequest return throws example Click  https to see how to use ListGroups API.
      public async listGroups ( listGroupsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listGroups." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listGroupsRequest . compartmentId , "page" : listGroupsRequest . page , "limit" : listGroupsRequest . limit , "name" : listGroupsRequest . name , "sortBy" : listGroupsRequest . sortBy , "sortOrder" : listGroupsRequest . sortOrder , "lifecycleState" : listGroupsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listGroupsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/groups" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListGroupsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Group , type : "Array<model.Group>" , 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 listAllGroups ( request ) { return paginateRecords ( request , req => this . listGroups ( req ) ) ; } param request public listAllGroupsResponses ( request ) { return paginateResponses ( request , req => this . listGroups ( req ) ) ; } param request public listGroupsRecordIterator ( request ) { return paginateRecords ( request , req => this . listGroups ( req ) ) ; } param request public listGroupsResponseIterator ( request ) { return paginateResponses ( request , req => this . listGroups ( req ) ) ; } param ListIamWorkRequestErrorsRequest return throws example Click  https to see how to use ListIamWorkRequestErrors API.
        public async listIamWorkRequestErrors ( listIamWorkRequestErrorsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listIamWorkRequestErrors." ) ; const pathParams = { "{iamWorkRequestId}" : listIamWorkRequestErrorsRequest . iamWorkRequestId } ; const queryParams = { "limit" : listIamWorkRequestErrorsRequest . limit , "page" : listIamWorkRequestErrorsRequest . page , "sortOrder" : listIamWorkRequestErrorsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listIamWorkRequestErrorsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listIamWorkRequestErrorsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/iamWorkRequests/{iamWorkRequestId}/errors" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListIamWorkRequestErrorsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . IamWorkRequestErrorSummary , type : "Array<model.IamWorkRequestErrorSummary>" , 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 listAllIamWorkRequestErrors ( request ) { return paginateRecords ( request , req => this . listIamWorkRequestErrors ( req ) ) ; } param request public listAllIamWorkRequestErrorsResponses ( request ) { return paginateResponses ( request , req => this . listIamWorkRequestErrors ( req ) ) ; } param request public listIamWorkRequestErrorsRecordIterator ( request ) { return paginateRecords ( request , req => this . listIamWorkRequestErrors ( req ) ) ; } param request public listIamWorkRequestErrorsResponseIterator ( request ) { return paginateResponses ( request , req => this . listIamWorkRequestErrors ( req ) ) ; } param ListIamWorkRequestLogsRequest return throws example Click  https to see how to use ListIamWorkRequestLogs API.
        public async listIamWorkRequestLogs ( listIamWorkRequestLogsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listIamWorkRequestLogs." ) ; const pathParams = { "{iamWorkRequestId}" : listIamWorkRequestLogsRequest . iamWorkRequestId } ; const queryParams = { "limit" : listIamWorkRequestLogsRequest . limit , "page" : listIamWorkRequestLogsRequest . page , "sortOrder" : listIamWorkRequestLogsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listIamWorkRequestLogsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listIamWorkRequestLogsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/iamWorkRequests/{iamWorkRequestId}/logs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListIamWorkRequestLogsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . IamWorkRequestLogSummary , type : "Array<model.IamWorkRequestLogSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllIamWorkRequestLogs ( request ) { return paginateRecords ( request , req => this . listIamWorkRequestLogs ( req ) ) ; } param request public listAllIamWorkRequestLogsResponses ( request ) { return paginateResponses ( request , req => this . listIamWorkRequestLogs ( req ) ) ; } param request public listIamWorkRequestLogsRecordIterator ( request ) { return paginateRecords ( request , req => this . listIamWorkRequestLogs ( req ) ) ; } param request public listIamWorkRequestLogsResponseIterator ( request ) { return paginateResponses ( request , req => this . listIamWorkRequestLogs ( req ) ) ; } param ListIamWorkRequestsRequest return throws example Click  https to see how to use ListIamWorkRequests API.
        public async listIamWorkRequests ( listIamWorkRequestsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listIamWorkRequests." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listIamWorkRequestsRequest . compartmentId , "page" : listIamWorkRequestsRequest . page , "limit" : listIamWorkRequestsRequest . limit , "resourceIdentifier" : listIamWorkRequestsRequest . resourceIdentifier } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listIamWorkRequestsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listIamWorkRequestsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/iamWorkRequests" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListIamWorkRequestsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . IamWorkRequestSummary , type : "Array<model.IamWorkRequestSummary>" , 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 listAllIamWorkRequests ( request ) { return paginateRecords ( request , req => this . listIamWorkRequests ( req ) ) ; } param request public listAllIamWorkRequestsResponses ( request ) { return paginateResponses ( request , req => this . listIamWorkRequests ( req ) ) ; } param request public listIamWorkRequestsRecordIterator ( request ) { return paginateRecords ( request , req => this . listIamWorkRequests ( req ) ) ; } param request public listIamWorkRequestsResponseIterator ( request ) { return paginateResponses ( request , req => this . listIamWorkRequests ( req ) ) ; } param ListIdentityProviderGroupsRequest return throws example Click  https to see how to use ListIdentityProviderGroups API.
        public async listIdentityProviderGroups ( listIdentityProviderGroupsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listIdentityProviderGroups." ) ; const pathParams = { "{identityProviderId}" : listIdentityProviderGroupsRequest . identityProviderId } ; const queryParams = { "page" : listIdentityProviderGroupsRequest . page , "limit" : listIdentityProviderGroupsRequest . limit , "name" : listIdentityProviderGroupsRequest . name , "lifecycleState" : listIdentityProviderGroupsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listIdentityProviderGroupsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/identityProviders/{identityProviderId}/groups" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListIdentityProviderGroupsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . IdentityProviderGroupSummary , type : "Array<model.IdentityProviderGroupSummary>" , 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 listAllIdentityProviderGroups ( request ) { return paginateRecords ( request , req => this . listIdentityProviderGroups ( req ) ) ; } param request public listAllIdentityProviderGroupsResponses ( request ) { return paginateResponses ( request , req => this . listIdentityProviderGroups ( req ) ) ; } param request public listIdentityProviderGroupsRecordIterator ( request ) { return paginateRecords ( request , req => this . listIdentityProviderGroups ( req ) ) ; } param request public listIdentityProviderGroupsResponseIterator ( request ) { return paginateResponses ( request , req => this . listIdentityProviderGroups ( req ) ) ; } param ListIdentityProvidersRequest return throws example Click  https to see how to use ListIdentityProviders API.
        public async listIdentityProviders ( listIdentityProvidersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listIdentityProviders." ) ; const pathParams = { } ; const queryParams = { "protocol" : listIdentityProvidersRequest . protocol , "compartmentId" : listIdentityProvidersRequest . compartmentId , "page" : listIdentityProvidersRequest . page , "limit" : listIdentityProvidersRequest . limit , "name" : listIdentityProvidersRequest . name , "sortBy" : listIdentityProvidersRequest . sortBy , "sortOrder" : listIdentityProvidersRequest . sortOrder , "lifecycleState" : listIdentityProvidersRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listIdentityProvidersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/identityProviders" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListIdentityProvidersResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . IdentityProvider , type : "Array<model.IdentityProvider>" , 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 listAllIdentityProviders ( request ) { return paginateRecords ( request , req => this . listIdentityProviders ( req ) ) ; } param request public listAllIdentityProvidersResponses ( request ) { return paginateResponses ( request , req => this . listIdentityProviders ( req ) ) ; } param request public listIdentityProvidersRecordIterator ( request ) { return paginateRecords ( request , req => this . listIdentityProviders ( req ) ) ; } param request public listIdentityProvidersResponseIterator ( request ) { return paginateResponses ( request , req => this . listIdentityProviders ( req ) ) ; } param ListIdpGroupMappingsRequest return throws example Click  https to see how to use ListIdpGroupMappings API.
        public async listIdpGroupMappings ( listIdpGroupMappingsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listIdpGroupMappings." ) ; const pathParams = { "{identityProviderId}" : listIdpGroupMappingsRequest . identityProviderId } ; const queryParams = { "page" : listIdpGroupMappingsRequest . page , "limit" : listIdpGroupMappingsRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listIdpGroupMappingsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/identityProviders/{identityProviderId}/groupMappings" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListIdpGroupMappingsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . IdpGroupMapping , type : "Array<model.IdpGroupMapping>" , 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 listAllIdpGroupMappings ( request ) { return paginateRecords ( request , req => this . listIdpGroupMappings ( req ) ) ; } param request public listAllIdpGroupMappingsResponses ( request ) { return paginateResponses ( request , req => this . listIdpGroupMappings ( req ) ) ; } param request public listIdpGroupMappingsRecordIterator ( request ) { return paginateRecords ( request , req => this . listIdpGroupMappings ( req ) ) ; } param request public listIdpGroupMappingsResponseIterator ( request ) { return paginateResponses ( request , req => this . listIdpGroupMappings ( req ) ) ; } param ListMfaTotpDevicesRequest return throws example Click  https to see how to use ListMfaTotpDevices API.
      public async listMfaTotpDevices ( listMfaTotpDevicesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listMfaTotpDevices." ) ; const pathParams = { "{userId}" : listMfaTotpDevicesRequest . userId } ; const queryParams = { "page" : listMfaTotpDevicesRequest . page , "limit" : listMfaTotpDevicesRequest . limit , "sortBy" : listMfaTotpDevicesRequest . sortBy , "sortOrder" : listMfaTotpDevicesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listMfaTotpDevicesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/mfaTotpDevices" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListMfaTotpDevicesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . MfaTotpDeviceSummary , type : "Array<model.MfaTotpDeviceSummary>" , 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 listAllMfaTotpDevices ( request ) { return paginateRecords ( request , req => this . listMfaTotpDevices ( req ) ) ; } param request public listAllMfaTotpDevicesResponses ( request ) { return paginateResponses ( request , req => this . listMfaTotpDevices ( req ) ) ; } param request public listMfaTotpDevicesRecordIterator ( request ) { return paginateRecords ( request , req => this . listMfaTotpDevices ( req ) ) ; } param request public listMfaTotpDevicesResponseIterator ( request ) { return paginateResponses ( request , req => this . listMfaTotpDevices ( req ) ) ; } param ListNetworkSourcesRequest return throws example Click  https to see how to use ListNetworkSources API.
      public async listNetworkSources ( listNetworkSourcesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listNetworkSources." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listNetworkSourcesRequest . compartmentId , "page" : listNetworkSourcesRequest . page , "limit" : listNetworkSourcesRequest . limit , "name" : listNetworkSourcesRequest . name , "sortBy" : listNetworkSourcesRequest . sortBy , "sortOrder" : listNetworkSourcesRequest . sortOrder , "lifecycleState" : listNetworkSourcesRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listNetworkSourcesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSources" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListNetworkSourcesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . NetworkSourcesSummary , type : "Array<model.NetworkSourcesSummary>" , 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 listAllNetworkSources ( request ) { return paginateRecords ( request , req => this . listNetworkSources ( req ) ) ; } param request public listAllNetworkSourcesResponses ( request ) { return paginateResponses ( request , req => this . listNetworkSources ( req ) ) ; } param request public listNetworkSourcesRecordIterator ( request ) { return paginateRecords ( request , req => this . listNetworkSources ( req ) ) ; } param request public listNetworkSourcesResponseIterator ( request ) { return paginateResponses ( request , req => this . listNetworkSources ( req ) ) ; } param ListOAuthClientCredentialsRequest return throws example Click  https to see how to use ListOAuthClientCredentials API.
      public async listOAuthClientCredentials ( listOAuthClientCredentialsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listOAuthClientCredentials." ) ; const pathParams = { "{userId}" : listOAuthClientCredentialsRequest . userId } ; const queryParams = { "page" : listOAuthClientCredentialsRequest . page , "limit" : listOAuthClientCredentialsRequest . limit , "lifecycleState" : listOAuthClientCredentialsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listOAuthClientCredentialsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/oauth2ClientCredentials" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListOAuthClientCredentialsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . OAuth2ClientCredentialSummary , type : "Array<model.OAuth2ClientCredentialSummary>" , 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 listAllOAuthClientCredentials ( request ) { return paginateRecords ( request , req => this . listOAuthClientCredentials ( req ) ) ; } param request public listAllOAuthClientCredentialsResponses ( request ) { return paginateResponses ( request , req => this . listOAuthClientCredentials ( req ) ) ; } param request public listOAuthClientCredentialsRecordIterator ( request ) { return paginateRecords ( request , req => this . listOAuthClientCredentials ( req ) ) ; } param request public listOAuthClientCredentialsResponseIterator ( request ) { return paginateResponses ( request , req => this . listOAuthClientCredentials ( req ) ) ; } param ListPoliciesRequest return throws example Click  https to see how to use ListPolicies API.
        public async listPolicies ( listPoliciesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listPolicies." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listPoliciesRequest . compartmentId , "page" : listPoliciesRequest . page , "limit" : listPoliciesRequest . limit , "name" : listPoliciesRequest . name , "sortBy" : listPoliciesRequest . sortBy , "sortOrder" : listPoliciesRequest . sortOrder , "lifecycleState" : listPoliciesRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listPoliciesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/policies" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListPoliciesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Policy , type : "Array<model.Policy>" , 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 listAllPolicies ( request ) { return paginateRecords ( request , req => this . listPolicies ( req ) ) ; } param request public listAllPoliciesResponses ( request ) { return paginateResponses ( request , req => this . listPolicies ( req ) ) ; } param request public listPoliciesRecordIterator ( request ) { return paginateRecords ( request , req => this . listPolicies ( req ) ) ; } param request public listPoliciesResponseIterator ( request ) { return paginateResponses ( request , req => this . listPolicies ( req ) ) ; } param ListRegionSubscriptionsRequest return throws example Click  https to see how to use ListRegionSubscriptions API.
      public async listRegionSubscriptions ( listRegionSubscriptionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listRegionSubscriptions." ) ; const pathParams = { "{tenancyId}" : listRegionSubscriptionsRequest . tenancyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listRegionSubscriptionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tenancies/{tenancyId}/regionSubscriptions" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListRegionSubscriptionsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . RegionSubscription , type : "Array<model.RegionSubscription>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListRegionsRequest return throws example Click  https to see how to use ListRegions API.
      public async listRegions ( listRegionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listRegions." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listRegionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/regions" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListRegionsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Region , type : "Array<model.Region>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListSmtpCredentialsRequest return throws example Click  https to see how to use ListSmtpCredentials API.
      public async listSmtpCredentials ( listSmtpCredentialsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listSmtpCredentials." ) ; const pathParams = { "{userId}" : listSmtpCredentialsRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSmtpCredentialsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/smtpCredentials" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSmtpCredentialsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . SmtpCredentialSummary , type : "Array<model.SmtpCredentialSummary>" , 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 ListStandardTagNamespacesRequest return throws example Click  https to see how to use ListStandardTagNamespaces API.
      public async listStandardTagNamespaces ( listStandardTagNamespacesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listStandardTagNamespaces." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listStandardTagNamespacesRequest . compartmentId , "page" : listStandardTagNamespacesRequest . page , "limit" : listStandardTagNamespacesRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listStandardTagNamespacesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tags/standardTagNamespaceTemplates" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListStandardTagNamespacesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . StandardTagNamespaceTemplateSummary , type : "Array<model.StandardTagNamespaceTemplateSummary>" , 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 listAllStandardTagNamespaces ( request ) { return paginateRecords ( request , req => this . listStandardTagNamespaces ( req ) ) ; } param request public listAllStandardTagNamespacesResponses ( request ) { return paginateResponses ( request , req => this . listStandardTagNamespaces ( req ) ) ; } param request public listStandardTagNamespacesRecordIterator ( request ) { return paginateRecords ( request , req => this . listStandardTagNamespaces ( req ) ) ; } param request public listStandardTagNamespacesResponseIterator ( request ) { return paginateResponses ( request , req => this . listStandardTagNamespaces ( req ) ) ; } /**
       * **Deprecated. Use  {@link #listAuthTokens(ListAuthTokensRequest) listAuthTokens} instead.**
  * <p>
  Lists the Swift passwords for the specified user. The returned object contains the password's OCID, but not
  * the password itself. The actual password is returned only upon creation.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param ListSwiftPasswordsRequest return throws example Click  https to see how to use ListSwiftPasswords API.
        public async listSwiftPasswords ( listSwiftPasswordsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listSwiftPasswords." ) ; const pathParams = { "{userId}" : listSwiftPasswordsRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSwiftPasswordsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/swiftPasswords" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSwiftPasswordsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . SwiftPassword , type : "Array<model.SwiftPassword>" , 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 ListTagDefaultsRequest return throws example Click  https to see how to use ListTagDefaults API.
      public async listTagDefaults ( listTagDefaultsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listTagDefaults." ) ; const pathParams = { } ; const queryParams = { "page" : listTagDefaultsRequest . page , "limit" : listTagDefaultsRequest . limit , "id" : listTagDefaultsRequest . id , "compartmentId" : listTagDefaultsRequest . compartmentId , "tagDefinitionId" : listTagDefaultsRequest . tagDefinitionId , "lifecycleState" : listTagDefaultsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listTagDefaultsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagDefaults" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListTagDefaultsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . TagDefaultSummary , type : "Array<model.TagDefaultSummary>" , 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 listAllTagDefaults ( request ) { return paginateRecords ( request , req => this . listTagDefaults ( req ) ) ; } param request public listAllTagDefaultsResponses ( request ) { return paginateResponses ( request , req => this . listTagDefaults ( req ) ) ; } param request public listTagDefaultsRecordIterator ( request ) { return paginateRecords ( request , req => this . listTagDefaults ( req ) ) ; } param request public listTagDefaultsResponseIterator ( request ) { return paginateResponses ( request , req => this . listTagDefaults ( req ) ) ; } param ListTagNamespacesRequest return throws example Click  https to see how to use ListTagNamespaces API.
      public async listTagNamespaces ( listTagNamespacesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listTagNamespaces." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listTagNamespacesRequest . compartmentId , "page" : listTagNamespacesRequest . page , "limit" : listTagNamespacesRequest . limit , "includeSubcompartments" : listTagNamespacesRequest . includeSubcompartments , "lifecycleState" : listTagNamespacesRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listTagNamespacesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListTagNamespacesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . TagNamespaceSummary , type : "Array<model.TagNamespaceSummary>" , 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 listAllTagNamespaces ( request ) { return paginateRecords ( request , req => this . listTagNamespaces ( req ) ) ; } param request public listAllTagNamespacesResponses ( request ) { return paginateResponses ( request , req => this . listTagNamespaces ( req ) ) ; } param request public listTagNamespacesRecordIterator ( request ) { return paginateRecords ( request , req => this . listTagNamespaces ( req ) ) ; } param request public listTagNamespacesResponseIterator ( request ) { return paginateResponses ( request , req => this . listTagNamespaces ( req ) ) ; } param ListTaggingWorkRequestErrorsRequest return throws example Click  https to see how to use ListTaggingWorkRequestErrors API.
      public async listTaggingWorkRequestErrors ( listTaggingWorkRequestErrorsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listTaggingWorkRequestErrors." ) ; const pathParams = { "{workRequestId}" : listTaggingWorkRequestErrorsRequest . workRequestId } ; const queryParams = { "page" : listTaggingWorkRequestErrorsRequest . page , "limit" : listTaggingWorkRequestErrorsRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listTaggingWorkRequestErrorsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/taggingWorkRequests/{workRequestId}/errors" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListTaggingWorkRequestErrorsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . TaggingWorkRequestErrorSummary , type : "Array<model.TaggingWorkRequestErrorSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllTaggingWorkRequestErrors ( request ) { return paginateRecords ( request , req => this . listTaggingWorkRequestErrors ( req ) ) ; } param request public listAllTaggingWorkRequestErrorsResponses ( request ) { return paginateResponses ( request , req => this . listTaggingWorkRequestErrors ( req ) ) ; } param request public listTaggingWorkRequestErrorsRecordIterator ( request ) { return paginateRecords ( request , req => this . listTaggingWorkRequestErrors ( req ) ) ; } param request public listTaggingWorkRequestErrorsResponseIterator ( request ) { return paginateResponses ( request , req => this . listTaggingWorkRequestErrors ( req ) ) ; } param ListTaggingWorkRequestLogsRequest return throws example Click  https to see how to use ListTaggingWorkRequestLogs API.
      public async listTaggingWorkRequestLogs ( listTaggingWorkRequestLogsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listTaggingWorkRequestLogs." ) ; const pathParams = { "{workRequestId}" : listTaggingWorkRequestLogsRequest . workRequestId } ; const queryParams = { "page" : listTaggingWorkRequestLogsRequest . page , "limit" : listTaggingWorkRequestLogsRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listTaggingWorkRequestLogsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/taggingWorkRequests/{workRequestId}/logs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListTaggingWorkRequestLogsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . TaggingWorkRequestLogSummary , type : "Array<model.TaggingWorkRequestLogSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllTaggingWorkRequestLogs ( request ) { return paginateRecords ( request , req => this . listTaggingWorkRequestLogs ( req ) ) ; } param request public listAllTaggingWorkRequestLogsResponses ( request ) { return paginateResponses ( request , req => this . listTaggingWorkRequestLogs ( req ) ) ; } param request public listTaggingWorkRequestLogsRecordIterator ( request ) { return paginateRecords ( request , req => this . listTaggingWorkRequestLogs ( req ) ) ; } param request public listTaggingWorkRequestLogsResponseIterator ( request ) { return paginateResponses ( request , req => this . listTaggingWorkRequestLogs ( req ) ) ; } param ListTaggingWorkRequestsRequest return throws example Click  https to see how to use ListTaggingWorkRequests API.
      public async listTaggingWorkRequests ( listTaggingWorkRequestsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listTaggingWorkRequests." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listTaggingWorkRequestsRequest . compartmentId , "page" : listTaggingWorkRequestsRequest . page , "limit" : listTaggingWorkRequestsRequest . limit , "resourceIdentifier" : listTaggingWorkRequestsRequest . resourceIdentifier } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listTaggingWorkRequestsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/taggingWorkRequests" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListTaggingWorkRequestsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . TaggingWorkRequestSummary , type : "Array<model.TaggingWorkRequestSummary>" , 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 listAllTaggingWorkRequests ( request ) { return paginateRecords ( request , req => this . listTaggingWorkRequests ( req ) ) ; } param request public listAllTaggingWorkRequestsResponses ( request ) { return paginateResponses ( request , req => this . listTaggingWorkRequests ( req ) ) ; } param request public listTaggingWorkRequestsRecordIterator ( request ) { return paginateRecords ( request , req => this . listTaggingWorkRequests ( req ) ) ; } param request public listTaggingWorkRequestsResponseIterator ( request ) { return paginateResponses ( request , req => this . listTaggingWorkRequests ( req ) ) ; } param ListTagsRequest return throws example Click  https to see how to use ListTags API.
      public async listTags ( listTagsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listTags." ) ; const pathParams = { "{tagNamespaceId}" : listTagsRequest . tagNamespaceId } ; const queryParams = { "page" : listTagsRequest . page , "limit" : listTagsRequest . limit , "lifecycleState" : listTagsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listTagsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces/{tagNamespaceId}/tags" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListTagsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . TagSummary , type : "Array<model.TagSummary>" , 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 listAllTags ( request ) { return paginateRecords ( request , req => this . listTags ( req ) ) ; } param request public listAllTagsResponses ( request ) { return paginateResponses ( request , req => this . listTags ( req ) ) ; } param request public listTagsRecordIterator ( request ) { return paginateRecords ( request , req => this . listTags ( req ) ) ; } param request public listTagsResponseIterator ( request ) { return paginateResponses ( request , req => this . listTags ( req ) ) ; } param ListUserGroupMembershipsRequest return throws example Click  https to see how to use ListUserGroupMemberships API.
        public async listUserGroupMemberships ( listUserGroupMembershipsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listUserGroupMemberships." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listUserGroupMembershipsRequest . compartmentId , "userId" : listUserGroupMembershipsRequest . userId , "groupId" : listUserGroupMembershipsRequest . groupId , "page" : listUserGroupMembershipsRequest . page , "limit" : listUserGroupMembershipsRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listUserGroupMembershipsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userGroupMemberships" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListUserGroupMembershipsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . UserGroupMembership , type : "Array<model.UserGroupMembership>" , 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 listAllUserGroupMemberships ( request ) { return paginateRecords ( request , req => this . listUserGroupMemberships ( req ) ) ; } param request public listAllUserGroupMembershipsResponses ( request ) { return paginateResponses ( request , req => this . listUserGroupMemberships ( req ) ) ; } param request public listUserGroupMembershipsRecordIterator ( request ) { return paginateRecords ( request , req => this . listUserGroupMemberships ( req ) ) ; } param request public listUserGroupMembershipsResponseIterator ( request ) { return paginateResponses ( request , req => this . listUserGroupMemberships ( req ) ) ; } param ListUsersRequest return throws example Click  https to see how to use ListUsers API.
      public async listUsers ( listUsersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listUsers." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listUsersRequest . compartmentId , "page" : listUsersRequest . page , "limit" : listUsersRequest . limit , "identityProviderId" : listUsersRequest . identityProviderId , "externalIdentifier" : listUsersRequest . externalIdentifier , "name" : listUsersRequest . name , "sortBy" : listUsersRequest . sortBy , "sortOrder" : listUsersRequest . sortOrder , "lifecycleState" : listUsersRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listUsersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListUsersResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . User , type : "Array<model.User>" , 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 listAllUsers ( request ) { return paginateRecords ( request , req => this . listUsers ( req ) ) ; } param request public listAllUsersResponses ( request ) { return paginateResponses ( request , req => this . listUsers ( req ) ) ; } param request public listUsersRecordIterator ( request ) { return paginateRecords ( request , req => this . listUsers ( req ) ) ; } param request public listUsersResponseIterator ( request ) { return paginateResponses ( request , req => this . listUsers ( req ) ) ; } param ListWorkRequestsRequest return throws example Click  https to see how to use ListWorkRequests API.
      public async listWorkRequests ( listWorkRequestsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#listWorkRequests." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listWorkRequestsRequest . compartmentId , "page" : listWorkRequestsRequest . page , "limit" : listWorkRequestsRequest . limit , "resourceIdentifier" : listWorkRequestsRequest . resourceIdentifier } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestSummary , type : "Array<model.WorkRequestSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWorkRequests ( request ) { return paginateRecords ( request , req => this . listWorkRequests ( req ) ) ; } param request public listAllWorkRequestsResponses ( request ) { return paginateResponses ( request , req => this . listWorkRequests ( req ) ) ; } param request public listWorkRequestsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWorkRequests ( req ) ) ; } param request public listWorkRequestsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWorkRequests ( req ) ) ; } param MoveCompartmentRequest return throws example Click  https to see how to use MoveCompartment API.
      public async moveCompartment ( moveCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#moveCompartment." ) ; const pathParams = { "{compartmentId}" : moveCompartmentRequest . compartmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : moveCompartmentRequest . ifMatch , "opc-request-id" : moveCompartmentRequest . opcRequestId , "opc-retry-token" : moveCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , moveCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/compartments/{compartmentId}/actions/moveCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( moveCompartmentRequest . moveCompartmentDetails , "MoveCompartmentDetails" , model . MoveCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . MoveCompartmentResponse > { } , 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 RecoverCompartmentRequest return throws example Click  https to see how to use RecoverCompartment API.
      public async recoverCompartment ( recoverCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#recoverCompartment." ) ; const pathParams = { "{compartmentId}" : recoverCompartmentRequest . compartmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : recoverCompartmentRequest . ifMatch , "opc-request-id" : recoverCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , recoverCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/compartments/{compartmentId}/actions/recoverCompartment" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RecoverCompartmentResponse > { } , body : await response . json ( ) , bodyKey : "compartment" , bodyModel : model . Compartment , type : "model.Compartment" , 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 RemoveUserFromGroupRequest return throws example Click  https to see how to use RemoveUserFromGroup API.
      public async removeUserFromGroup ( removeUserFromGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#removeUserFromGroup." ) ; const pathParams = { "{userGroupMembershipId}" : removeUserFromGroupRequest . userGroupMembershipId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : removeUserFromGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removeUserFromGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/userGroupMemberships/{userGroupMembershipId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemoveUserFromGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ResetIdpScimClientRequest return throws example Click  https to see how to use ResetIdpScimClient API.
      public async resetIdpScimClient ( resetIdpScimClientRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#resetIdpScimClient." ) ; const pathParams = { "{identityProviderId}" : resetIdpScimClientRequest . identityProviderId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , resetIdpScimClientRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/identityProviders/{identityProviderId}/actions/resetScimClient" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ResetIdpScimClientResponse > { } , body : await response . json ( ) , bodyKey : "scimClientCredentials" , bodyModel : model . ScimClientCredentials , type : "model.ScimClientCredentials" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateAuthTokenRequest return throws example Click  https to see how to use UpdateAuthToken API.
      public async updateAuthToken ( updateAuthTokenRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateAuthToken." ) ; const pathParams = { "{userId}" : updateAuthTokenRequest . userId , "{authTokenId}" : updateAuthTokenRequest . authTokenId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateAuthTokenRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateAuthTokenRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/authTokens/{authTokenId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateAuthTokenRequest . updateAuthTokenDetails , "UpdateAuthTokenDetails" , model . UpdateAuthTokenDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateAuthTokenResponse > { } , body : await response . json ( ) , bodyKey : "authToken" , bodyModel : model . AuthToken , type : "model.AuthToken" , 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 UpdateAuthenticationPolicyRequest return throws example Click  https to see how to use UpdateAuthenticationPolicy API.
      public async updateAuthenticationPolicy ( updateAuthenticationPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateAuthenticationPolicy." ) ; const pathParams = { "{compartmentId}" : updateAuthenticationPolicyRequest . compartmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateAuthenticationPolicyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateAuthenticationPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/authenticationPolicies/{compartmentId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateAuthenticationPolicyRequest . updateAuthenticationPolicyDetails , "UpdateAuthenticationPolicyDetails" , model . UpdateAuthenticationPolicyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateAuthenticationPolicyResponse > { } , body : await response . json ( ) , bodyKey : "authenticationPolicy" , bodyModel : model . AuthenticationPolicy , type : "model.AuthenticationPolicy" , 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 UpdateCompartmentRequest return throws example Click  https to see how to use UpdateCompartment API.
      public async updateCompartment ( updateCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateCompartment." ) ; const pathParams = { "{compartmentId}" : updateCompartmentRequest . compartmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateCompartmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/compartments/{compartmentId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateCompartmentRequest . updateCompartmentDetails , "UpdateCompartmentDetails" , model . UpdateCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateCompartmentResponse > { } , body : await response . json ( ) , bodyKey : "compartment" , bodyModel : model . Compartment , type : "model.Compartment" , 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 UpdateCustomerSecretKeyRequest return throws example Click  https to see how to use UpdateCustomerSecretKey API.
      public async updateCustomerSecretKey ( updateCustomerSecretKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateCustomerSecretKey." ) ; const pathParams = { "{userId}" : updateCustomerSecretKeyRequest . userId , "{customerSecretKeyId}" : updateCustomerSecretKeyRequest . customerSecretKeyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateCustomerSecretKeyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateCustomerSecretKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/customerSecretKeys/{customerSecretKeyId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateCustomerSecretKeyRequest . updateCustomerSecretKeyDetails , "UpdateCustomerSecretKeyDetails" , model . UpdateCustomerSecretKeyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateCustomerSecretKeyResponse > { } , body : await response . json ( ) , bodyKey : "customerSecretKeySummary" , bodyModel : model . CustomerSecretKeySummary , type : "model.CustomerSecretKeySummary" , 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 UpdateDomainRequest return throws example Click  https to see how to use UpdateDomain API.
        public async updateDomain ( updateDomainRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateDomain." ) ; const pathParams = { "{domainId}" : updateDomainRequest . domainId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateDomainRequest . ifMatch , "opc-request-id" : updateDomainRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDomainRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/domains/{domainId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateDomainRequest . updateDomainDetails , "UpdateDomainDetails" , model . UpdateDomainDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDomainResponse > { } , 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 UpdateDynamicGroupRequest return throws example Click  https to see how to use UpdateDynamicGroup API.
      public async updateDynamicGroup ( updateDynamicGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateDynamicGroup." ) ; const pathParams = { "{dynamicGroupId}" : updateDynamicGroupRequest . dynamicGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateDynamicGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDynamicGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dynamicGroups/{dynamicGroupId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateDynamicGroupRequest . updateDynamicGroupDetails , "UpdateDynamicGroupDetails" , model . UpdateDynamicGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDynamicGroupResponse > { } , body : await response . json ( ) , bodyKey : "dynamicGroup" , bodyModel : model . DynamicGroup , type : "model.DynamicGroup" , 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 UpdateGroupRequest return throws example Click  https to see how to use UpdateGroup API.
      public async updateGroup ( updateGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateGroup." ) ; const pathParams = { "{groupId}" : updateGroupRequest . groupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/groups/{groupId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateGroupRequest . updateGroupDetails , "UpdateGroupDetails" , model . UpdateGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateGroupResponse > { } , body : await response . json ( ) , bodyKey : "group" , bodyModel : model . Group , type : "model.Group" , 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 UpdateIdentityProviderRequest return throws example Click  https to see how to use UpdateIdentityProvider API.
        public async updateIdentityProvider ( updateIdentityProviderRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateIdentityProvider." ) ; const pathParams = { "{identityProviderId}" : updateIdentityProviderRequest . identityProviderId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateIdentityProviderRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateIdentityProviderRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/identityProviders/{identityProviderId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateIdentityProviderRequest . updateIdentityProviderDetails , "UpdateIdentityProviderDetails" , model . UpdateIdentityProviderDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateIdentityProviderResponse > { } , body : await response . json ( ) , bodyKey : "identityProvider" , bodyModel : model . IdentityProvider , type : "model.IdentityProvider" , 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 UpdateIdpGroupMappingRequest return throws example Click  https to see how to use UpdateIdpGroupMapping API.
        public async updateIdpGroupMapping ( updateIdpGroupMappingRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateIdpGroupMapping." ) ; const pathParams = { "{identityProviderId}" : updateIdpGroupMappingRequest . identityProviderId , "{mappingId}" : updateIdpGroupMappingRequest . mappingId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateIdpGroupMappingRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateIdpGroupMappingRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/identityProviders/{identityProviderId}/groupMappings/{mappingId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateIdpGroupMappingRequest . updateIdpGroupMappingDetails , "UpdateIdpGroupMappingDetails" , model . UpdateIdpGroupMappingDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateIdpGroupMappingResponse > { } , body : await response . json ( ) , bodyKey : "idpGroupMapping" , bodyModel : model . IdpGroupMapping , type : "model.IdpGroupMapping" , 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 UpdateNetworkSourceRequest return throws example Click  https to see how to use UpdateNetworkSource API.
      public async updateNetworkSource ( updateNetworkSourceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateNetworkSource." ) ; const pathParams = { "{networkSourceId}" : updateNetworkSourceRequest . networkSourceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateNetworkSourceRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateNetworkSourceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSources/{networkSourceId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateNetworkSourceRequest . updateNetworkSourceDetails , "UpdateNetworkSourceDetails" , model . UpdateNetworkSourceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateNetworkSourceResponse > { } , body : await response . json ( ) , bodyKey : "networkSources" , bodyModel : model . NetworkSources , type : "model.NetworkSources" , 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 UpdateOAuthClientCredentialRequest return throws example Click  https to see how to use UpdateOAuthClientCredential API.
      public async updateOAuthClientCredential ( updateOAuthClientCredentialRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateOAuthClientCredential." ) ; const pathParams = { "{userId}" : updateOAuthClientCredentialRequest . userId , "{oauth2ClientCredentialId}" : updateOAuthClientCredentialRequest . oauth2ClientCredentialId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateOAuthClientCredentialRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateOAuthClientCredentialRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/oauth2ClientCredentials/{oauth2ClientCredentialId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateOAuthClientCredentialRequest . updateOAuth2ClientCredentialDetails , "UpdateOAuth2ClientCredentialDetails" , model . UpdateOAuth2ClientCredentialDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateOAuthClientCredentialResponse > { } , body : await response . json ( ) , bodyKey : "oAuth2ClientCredential" , bodyModel : model . OAuth2ClientCredential , type : "model.OAuth2ClientCredential" , 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 UpdatePolicyRequest return throws example Click  https to see how to use UpdatePolicy API.
        public async updatePolicy ( updatePolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updatePolicy." ) ; const pathParams = { "{policyId}" : updatePolicyRequest . policyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updatePolicyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updatePolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/policies/{policyId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updatePolicyRequest . updatePolicyDetails , "UpdatePolicyDetails" , model . UpdatePolicyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdatePolicyResponse > { } , body : await response . json ( ) , bodyKey : "policy" , bodyModel : model . Policy , type : "model.Policy" , 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 UpdateSmtpCredentialRequest return throws example Click  https to see how to use UpdateSmtpCredential API.
      public async updateSmtpCredential ( updateSmtpCredentialRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateSmtpCredential." ) ; const pathParams = { "{userId}" : updateSmtpCredentialRequest . userId , "{smtpCredentialId}" : updateSmtpCredentialRequest . smtpCredentialId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateSmtpCredentialRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateSmtpCredentialRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/smtpCredentials/{smtpCredentialId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateSmtpCredentialRequest . updateSmtpCredentialDetails , "UpdateSmtpCredentialDetails" , model . UpdateSmtpCredentialDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateSmtpCredentialResponse > { } , body : await response . json ( ) , bodyKey : "smtpCredentialSummary" , bodyModel : model . SmtpCredentialSummary , type : "model.SmtpCredentialSummary" , 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 ; } } /**
       * **Deprecated. Use  {@link #updateAuthToken(UpdateAuthTokenRequest) updateAuthToken} instead.**
  * <p>
  Updates the specified Swift password's description.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param UpdateSwiftPasswordRequest return throws example Click  https to see how to use UpdateSwiftPassword API.
        public async updateSwiftPassword ( updateSwiftPasswordRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateSwiftPassword." ) ; const pathParams = { "{userId}" : updateSwiftPasswordRequest . userId , "{swiftPasswordId}" : updateSwiftPasswordRequest . swiftPasswordId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateSwiftPasswordRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateSwiftPasswordRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/swiftPasswords/{swiftPasswordId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateSwiftPasswordRequest . updateSwiftPasswordDetails , "UpdateSwiftPasswordDetails" , model . UpdateSwiftPasswordDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateSwiftPasswordResponse > { } , body : await response . json ( ) , bodyKey : "swiftPassword" , bodyModel : model . SwiftPassword , type : "model.SwiftPassword" , 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 UpdateTagRequest return throws example Click  https to see how to use UpdateTag API.
        public async updateTag ( updateTagRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateTag." ) ; const pathParams = { "{tagNamespaceId}" : updateTagRequest . tagNamespaceId , "{tagName}" : updateTagRequest . tagName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateTagRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateTagRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces/{tagNamespaceId}/tags/{tagName}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateTagRequest . updateTagDetails , "UpdateTagDetails" , model . UpdateTagDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateTagResponse > { } , body : await response . json ( ) , bodyKey : "tag" , bodyModel : model . Tag , type : "model.Tag" , 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 UpdateTagDefaultRequest return throws example Click  https to see how to use UpdateTagDefault API.
      public async updateTagDefault ( updateTagDefaultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateTagDefault." ) ; const pathParams = { "{tagDefaultId}" : updateTagDefaultRequest . tagDefaultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateTagDefaultRequest . ifMatch , "opc-request-id" : updateTagDefaultRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateTagDefaultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagDefaults/{tagDefaultId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateTagDefaultRequest . updateTagDefaultDetails , "UpdateTagDefaultDetails" , model . UpdateTagDefaultDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateTagDefaultResponse > { } , body : await response . json ( ) , bodyKey : "tagDefault" , bodyModel : model . TagDefault , type : "model.TagDefault" , 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 ; } } /**
       * Updates the the specified tag namespace. You can't update the namespace name.
  * <p>
  Updating `isRetired` to 'true' retires the namespace and all the tag definitions in the namespace. Reactivating a
  * namespace (changing `isRetired` from 'true' to 'false') does not reactivate tag definitions.
  * To reactivate the tag definitions, you must reactivate each one individually *after* you reactivate the namespace,
  * using  {@link #updateTag(UpdateTagRequest) updateTag} . For more information about retiring tag namespaces, see
  * [Retiring Key Definitions and Namespace Definitions](https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
  * <p>
  You can't add a namespace with the same name as a retired namespace in the same tenancy.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param UpdateTagNamespaceRequest return throws example Click  https to see how to use UpdateTagNamespace API.
        public async updateTagNamespace ( updateTagNamespaceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateTagNamespace." ) ; const pathParams = { "{tagNamespaceId}" : updateTagNamespaceRequest . tagNamespaceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateTagNamespaceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/tagNamespaces/{tagNamespaceId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateTagNamespaceRequest . updateTagNamespaceDetails , "UpdateTagNamespaceDetails" , model . UpdateTagNamespaceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateTagNamespaceResponse > { } , body : await response . json ( ) , bodyKey : "tagNamespace" , bodyModel : model . TagNamespace , type : "model.TagNamespace" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateUserRequest return throws example Click  https to see how to use UpdateUser API.
      public async updateUser ( updateUserRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateUser." ) ; const pathParams = { "{userId}" : updateUserRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateUserRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateUserRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateUserRequest . updateUserDetails , "UpdateUserDetails" , model . UpdateUserDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateUserResponse > { } , body : await response . json ( ) , bodyKey : "user" , bodyModel : model . User , type : "model.User" , 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 UpdateUserCapabilitiesRequest return throws example Click  https to see how to use UpdateUserCapabilities API.
      public async updateUserCapabilities ( updateUserCapabilitiesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateUserCapabilities." ) ; const pathParams = { "{userId}" : updateUserCapabilitiesRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateUserCapabilitiesRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateUserCapabilitiesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/capabilities" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateUserCapabilitiesRequest . updateUserCapabilitiesDetails , "UpdateUserCapabilitiesDetails" , model . UpdateUserCapabilitiesDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateUserCapabilitiesResponse > { } , body : await response . json ( ) , bodyKey : "user" , bodyModel : model . User , type : "model.User" , 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 UpdateUserStateRequest return throws example Click  https to see how to use UpdateUserState API.
      public async updateUserState ( updateUserStateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#updateUserState." ) ; const pathParams = { "{userId}" : updateUserStateRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateUserStateRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateUserStateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/state" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateUserStateRequest . updateStateDetails , "UpdateStateDetails" , model . UpdateStateDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateUserStateResponse > { } , body : await response . json ( ) , bodyKey : "user" , bodyModel : model . User , type : "model.User" , 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 UploadApiKeyRequest return throws example Click  https to see how to use UploadApiKey API.
        public async uploadApiKey ( uploadApiKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation IdentityClient#uploadApiKey." ) ; const pathParams = { "{userId}" : uploadApiKeyRequest . userId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : uploadApiKeyRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , uploadApiKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/users/{userId}/apiKeys" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( uploadApiKeyRequest . createApiKeyDetails , "CreateApiKeyDetails" , model . CreateApiKeyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UploadApiKeyResponse > { } , body : await response . json ( ) , bodyKey : "apiKey" , bodyModel : model . ApiKey , type : "model.ApiKey" , 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 ; } } }