oci-identity 2.6.0 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (275) hide show
  1. package/lib/client.d.ts +634 -191
  2. package/lib/client.js +1592 -330
  3. package/lib/client.js.map +1 -1
  4. package/lib/identity-waiter.d.ts +15 -0
  5. package/lib/identity-waiter.js +23 -0
  6. package/lib/identity-waiter.js.map +1 -1
  7. package/lib/model/allowed-domain-license-type-summary.d.ts +40 -0
  8. package/lib/model/allowed-domain-license-type-summary.js +29 -0
  9. package/lib/model/allowed-domain-license-type-summary.js.map +1 -0
  10. package/lib/model/change-domain-compartment-details.d.ts +24 -0
  11. package/lib/model/change-domain-compartment-details.js +29 -0
  12. package/lib/model/change-domain-compartment-details.js.map +1 -0
  13. package/lib/model/change-domain-license-type-details.d.ts +25 -0
  14. package/lib/model/change-domain-license-type-details.js +29 -0
  15. package/lib/model/change-domain-license-type-details.js.map +1 -0
  16. package/lib/model/change-tas-domain-license-type-details.d.ts +25 -0
  17. package/lib/model/change-tas-domain-license-type-details.js +29 -0
  18. package/lib/model/change-tas-domain-license-type-details.js.map +1 -0
  19. package/lib/model/create-domain-details.d.ts +99 -0
  20. package/lib/model/create-domain-details.js +29 -0
  21. package/lib/model/create-domain-details.js.map +1 -0
  22. package/lib/model/domain-replication-states.d.ts +41 -0
  23. package/lib/model/domain-replication-states.js +37 -0
  24. package/lib/model/domain-replication-states.js.map +1 -0
  25. package/lib/model/domain-replication.d.ts +34 -0
  26. package/lib/model/domain-replication.js +61 -0
  27. package/lib/model/domain-replication.js.map +1 -0
  28. package/lib/model/domain-summary.d.ts +136 -0
  29. package/lib/model/domain-summary.js +94 -0
  30. package/lib/model/domain-summary.js.map +1 -0
  31. package/lib/model/domain.d.ts +140 -0
  32. package/lib/model/domain.js +94 -0
  33. package/lib/model/domain.js.map +1 -0
  34. package/lib/model/enable-replication-to-region-details.d.ts +30 -0
  35. package/lib/model/enable-replication-to-region-details.js +29 -0
  36. package/lib/model/enable-replication-to-region-details.js.map +1 -0
  37. package/lib/model/iam-work-request-error-summary.d.ts +33 -0
  38. package/lib/model/iam-work-request-error-summary.js +29 -0
  39. package/lib/model/iam-work-request-error-summary.js.map +1 -0
  40. package/lib/model/iam-work-request-log-summary.d.ts +32 -0
  41. package/lib/model/iam-work-request-log-summary.js +29 -0
  42. package/lib/model/iam-work-request-log-summary.js.map +1 -0
  43. package/lib/model/iam-work-request-resource.d.ts +53 -0
  44. package/lib/model/iam-work-request-resource.js +42 -0
  45. package/lib/model/iam-work-request-resource.js.map +1 -0
  46. package/lib/model/iam-work-request-summary.d.ts +94 -0
  47. package/lib/model/iam-work-request-summary.js +91 -0
  48. package/lib/model/iam-work-request-summary.js.map +1 -0
  49. package/lib/model/iam-work-request.d.ts +93 -0
  50. package/lib/model/iam-work-request.js +91 -0
  51. package/lib/model/iam-work-request.js.map +1 -0
  52. package/lib/model/index.d.ts +34 -0
  53. package/lib/model/index.js +37 -3
  54. package/lib/model/index.js.map +1 -1
  55. package/lib/model/replicated-region-details.d.ts +49 -0
  56. package/lib/model/replicated-region-details.js +42 -0
  57. package/lib/model/replicated-region-details.js.map +1 -0
  58. package/lib/model/update-domain-details.d.ts +54 -0
  59. package/lib/model/update-domain-details.js +29 -0
  60. package/lib/model/update-domain-details.js.map +1 -0
  61. package/lib/request/activate-domain-request.d.ts +44 -0
  62. package/lib/request/activate-domain-request.js +15 -0
  63. package/lib/request/activate-domain-request.js.map +1 -0
  64. package/lib/request/activate-mfa-totp-device-request.d.ts +1 -1
  65. package/lib/request/add-user-to-group-request.d.ts +1 -1
  66. package/lib/request/assemble-effective-tag-set-request.d.ts +1 -1
  67. package/lib/request/bulk-delete-resources-request.d.ts +1 -1
  68. package/lib/request/bulk-delete-tags-request.d.ts +1 -1
  69. package/lib/request/bulk-edit-tags-request.d.ts +1 -1
  70. package/lib/request/bulk-move-resources-request.d.ts +1 -1
  71. package/lib/request/cascade-delete-tag-namespace-request.d.ts +1 -1
  72. package/lib/request/change-domain-compartment-request.d.ts +49 -0
  73. package/lib/request/change-domain-compartment-request.js +15 -0
  74. package/lib/request/change-domain-compartment-request.js.map +1 -0
  75. package/lib/request/change-domain-license-type-request.d.ts +49 -0
  76. package/lib/request/change-domain-license-type-request.js +15 -0
  77. package/lib/request/change-domain-license-type-request.js.map +1 -0
  78. package/lib/request/change-tag-namespace-compartment-request.d.ts +1 -1
  79. package/lib/request/create-auth-token-request.d.ts +1 -1
  80. package/lib/request/create-compartment-request.d.ts +1 -1
  81. package/lib/request/create-customer-secret-key-request.d.ts +1 -1
  82. package/lib/request/create-domain-request.d.ts +38 -0
  83. package/lib/request/create-domain-request.js +15 -0
  84. package/lib/request/create-domain-request.js.map +1 -0
  85. package/lib/request/create-dynamic-group-request.d.ts +1 -1
  86. package/lib/request/create-group-request.d.ts +1 -1
  87. package/lib/request/create-identity-provider-request.d.ts +1 -1
  88. package/lib/request/create-idp-group-mapping-request.d.ts +1 -1
  89. package/lib/request/create-mfa-totp-device-request.d.ts +1 -1
  90. package/lib/request/create-network-source-request.d.ts +1 -1
  91. package/lib/request/create-oauth-client-credential-request.d.ts +1 -1
  92. package/lib/request/create-or-reset-uipassword-request.d.ts +1 -1
  93. package/lib/request/create-policy-request.d.ts +1 -1
  94. package/lib/request/create-region-subscription-request.d.ts +1 -1
  95. package/lib/request/create-smtp-credential-request.d.ts +1 -1
  96. package/lib/request/create-swift-password-request.d.ts +1 -1
  97. package/lib/request/create-tag-default-request.d.ts +1 -1
  98. package/lib/request/create-tag-namespace-request.d.ts +1 -1
  99. package/lib/request/create-tag-request.d.ts +1 -1
  100. package/lib/request/create-user-request.d.ts +1 -1
  101. package/lib/request/deactivate-domain-request.d.ts +44 -0
  102. package/lib/request/deactivate-domain-request.js +15 -0
  103. package/lib/request/deactivate-domain-request.js.map +1 -0
  104. package/lib/request/delete-api-key-request.d.ts +1 -1
  105. package/lib/request/delete-auth-token-request.d.ts +1 -1
  106. package/lib/request/delete-compartment-request.d.ts +1 -1
  107. package/lib/request/delete-customer-secret-key-request.d.ts +1 -1
  108. package/lib/request/delete-domain-request.d.ts +35 -0
  109. package/lib/request/delete-domain-request.js +15 -0
  110. package/lib/request/delete-domain-request.js.map +1 -0
  111. package/lib/request/delete-dynamic-group-request.d.ts +1 -1
  112. package/lib/request/delete-group-request.d.ts +1 -1
  113. package/lib/request/delete-identity-provider-request.d.ts +1 -1
  114. package/lib/request/delete-idp-group-mapping-request.d.ts +1 -1
  115. package/lib/request/delete-mfa-totp-device-request.d.ts +1 -1
  116. package/lib/request/delete-network-source-request.d.ts +1 -1
  117. package/lib/request/delete-oauth-client-credential-request.d.ts +1 -1
  118. package/lib/request/delete-policy-request.d.ts +1 -1
  119. package/lib/request/delete-smtp-credential-request.d.ts +1 -1
  120. package/lib/request/delete-swift-password-request.d.ts +1 -1
  121. package/lib/request/delete-tag-default-request.d.ts +1 -1
  122. package/lib/request/delete-tag-namespace-request.d.ts +1 -1
  123. package/lib/request/delete-tag-request.d.ts +1 -1
  124. package/lib/request/delete-user-request.d.ts +1 -1
  125. package/lib/request/enable-replication-to-region-request.d.ts +49 -0
  126. package/lib/request/enable-replication-to-region-request.js +15 -0
  127. package/lib/request/enable-replication-to-region-request.js.map +1 -0
  128. package/lib/request/generate-totp-seed-request.d.ts +1 -1
  129. package/lib/request/get-authentication-policy-request.d.ts +1 -1
  130. package/lib/request/get-compartment-request.d.ts +1 -1
  131. package/lib/request/get-domain-request.d.ts +28 -0
  132. package/lib/request/get-domain-request.js +15 -0
  133. package/lib/request/get-domain-request.js.map +1 -0
  134. package/lib/request/get-dynamic-group-request.d.ts +1 -1
  135. package/lib/request/get-group-request.d.ts +1 -1
  136. package/lib/request/get-iam-work-request-request.d.ts +28 -0
  137. package/lib/request/get-iam-work-request-request.js +15 -0
  138. package/lib/request/get-iam-work-request-request.js.map +1 -0
  139. package/lib/request/get-identity-provider-request.d.ts +1 -1
  140. package/lib/request/get-idp-group-mapping-request.d.ts +1 -1
  141. package/lib/request/get-mfa-totp-device-request.d.ts +1 -1
  142. package/lib/request/get-network-source-request.d.ts +1 -1
  143. package/lib/request/get-policy-request.d.ts +1 -1
  144. package/lib/request/get-tag-default-request.d.ts +1 -1
  145. package/lib/request/get-tag-namespace-request.d.ts +1 -1
  146. package/lib/request/get-tag-request.d.ts +1 -1
  147. package/lib/request/get-tagging-work-request-request.d.ts +1 -1
  148. package/lib/request/get-tenancy-request.d.ts +1 -1
  149. package/lib/request/get-user-group-membership-request.d.ts +1 -1
  150. package/lib/request/get-user-request.d.ts +1 -1
  151. package/lib/request/get-user-uipassword-information-request.d.ts +1 -1
  152. package/lib/request/get-work-request-request.d.ts +1 -1
  153. package/lib/request/index.d.ts +30 -0
  154. package/lib/request/index.js +7 -1
  155. package/lib/request/index.js.map +1 -1
  156. package/lib/request/list-allowed-domain-license-types-request.d.ts +28 -0
  157. package/lib/request/list-allowed-domain-license-types-request.js +15 -0
  158. package/lib/request/list-allowed-domain-license-types-request.js.map +1 -0
  159. package/lib/request/list-api-keys-request.d.ts +1 -1
  160. package/lib/request/list-auth-tokens-request.d.ts +1 -1
  161. package/lib/request/list-availability-domains-request.d.ts +1 -1
  162. package/lib/request/list-bulk-action-resource-types-request.d.ts +1 -1
  163. package/lib/request/list-bulk-edit-tags-resource-types-request.d.ts +1 -1
  164. package/lib/request/list-compartments-request.d.ts +1 -1
  165. package/lib/request/list-cost-tracking-tags-request.d.ts +1 -1
  166. package/lib/request/list-customer-secret-keys-request.d.ts +1 -1
  167. package/lib/request/list-domains-request.d.ts +101 -0
  168. package/lib/request/list-domains-request.js +29 -0
  169. package/lib/request/list-domains-request.js.map +1 -0
  170. package/lib/request/list-dynamic-groups-request.d.ts +1 -1
  171. package/lib/request/list-fault-domains-request.d.ts +1 -1
  172. package/lib/request/list-groups-request.d.ts +1 -1
  173. package/lib/request/list-iam-work-request-errors-request.d.ts +50 -0
  174. package/lib/request/list-iam-work-request-errors-request.js +24 -0
  175. package/lib/request/list-iam-work-request-errors-request.js.map +1 -0
  176. package/lib/request/list-iam-work-request-logs-request.d.ts +50 -0
  177. package/lib/request/list-iam-work-request-logs-request.js +24 -0
  178. package/lib/request/list-iam-work-request-logs-request.js.map +1 -0
  179. package/lib/request/list-iam-work-requests-request.d.ts +43 -0
  180. package/lib/request/list-iam-work-requests-request.js +15 -0
  181. package/lib/request/list-iam-work-requests-request.js.map +1 -0
  182. package/lib/request/list-identity-provider-groups-request.d.ts +1 -1
  183. package/lib/request/list-identity-providers-request.d.ts +1 -1
  184. package/lib/request/list-idp-group-mappings-request.d.ts +1 -1
  185. package/lib/request/list-mfa-totp-devices-request.d.ts +1 -1
  186. package/lib/request/list-network-sources-request.d.ts +1 -1
  187. package/lib/request/list-oauth-client-credentials-request.d.ts +1 -1
  188. package/lib/request/list-policies-request.d.ts +1 -1
  189. package/lib/request/list-region-subscriptions-request.d.ts +1 -1
  190. package/lib/request/list-regions-request.d.ts +1 -1
  191. package/lib/request/list-smtp-credentials-request.d.ts +1 -1
  192. package/lib/request/list-swift-passwords-request.d.ts +1 -1
  193. package/lib/request/list-tag-defaults-request.d.ts +1 -1
  194. package/lib/request/list-tag-namespaces-request.d.ts +1 -1
  195. package/lib/request/list-tagging-work-request-errors-request.d.ts +1 -1
  196. package/lib/request/list-tagging-work-request-logs-request.d.ts +1 -1
  197. package/lib/request/list-tagging-work-requests-request.d.ts +1 -1
  198. package/lib/request/list-tags-request.d.ts +1 -1
  199. package/lib/request/list-user-group-memberships-request.d.ts +1 -1
  200. package/lib/request/list-users-request.d.ts +1 -1
  201. package/lib/request/list-work-requests-request.d.ts +1 -1
  202. package/lib/request/move-compartment-request.d.ts +1 -1
  203. package/lib/request/recover-compartment-request.d.ts +1 -1
  204. package/lib/request/remove-user-from-group-request.d.ts +1 -1
  205. package/lib/request/reset-idp-scim-client-request.d.ts +1 -1
  206. package/lib/request/update-auth-token-request.d.ts +1 -1
  207. package/lib/request/update-authentication-policy-request.d.ts +1 -1
  208. package/lib/request/update-compartment-request.d.ts +1 -1
  209. package/lib/request/update-customer-secret-key-request.d.ts +1 -1
  210. package/lib/request/update-domain-request.d.ts +40 -0
  211. package/lib/request/update-domain-request.js +15 -0
  212. package/lib/request/update-domain-request.js.map +1 -0
  213. package/lib/request/update-dynamic-group-request.d.ts +1 -1
  214. package/lib/request/update-group-request.d.ts +1 -1
  215. package/lib/request/update-identity-provider-request.d.ts +1 -1
  216. package/lib/request/update-idp-group-mapping-request.d.ts +1 -1
  217. package/lib/request/update-network-source-request.d.ts +1 -1
  218. package/lib/request/update-oauth-client-credential-request.d.ts +1 -1
  219. package/lib/request/update-policy-request.d.ts +1 -1
  220. package/lib/request/update-smtp-credential-request.d.ts +1 -1
  221. package/lib/request/update-swift-password-request.d.ts +1 -1
  222. package/lib/request/update-tag-default-request.d.ts +1 -1
  223. package/lib/request/update-tag-namespace-request.d.ts +1 -1
  224. package/lib/request/update-tag-request.d.ts +1 -1
  225. package/lib/request/update-user-capabilities-request.d.ts +1 -1
  226. package/lib/request/update-user-request.d.ts +1 -1
  227. package/lib/request/update-user-state-request.d.ts +1 -1
  228. package/lib/request/upload-api-key-request.d.ts +1 -1
  229. package/lib/response/activate-domain-response.d.ts +25 -0
  230. package/lib/response/activate-domain-response.js +15 -0
  231. package/lib/response/activate-domain-response.js.map +1 -0
  232. package/lib/response/change-domain-compartment-response.d.ts +25 -0
  233. package/lib/response/change-domain-compartment-response.js +15 -0
  234. package/lib/response/change-domain-compartment-response.js.map +1 -0
  235. package/lib/response/change-domain-license-type-response.d.ts +25 -0
  236. package/lib/response/change-domain-license-type-response.js +15 -0
  237. package/lib/response/change-domain-license-type-response.js.map +1 -0
  238. package/lib/response/create-domain-response.d.ts +25 -0
  239. package/lib/response/create-domain-response.js +15 -0
  240. package/lib/response/create-domain-response.js.map +1 -0
  241. package/lib/response/deactivate-domain-response.d.ts +25 -0
  242. package/lib/response/deactivate-domain-response.js +15 -0
  243. package/lib/response/deactivate-domain-response.js.map +1 -0
  244. package/lib/response/delete-domain-response.d.ts +25 -0
  245. package/lib/response/delete-domain-response.js +15 -0
  246. package/lib/response/delete-domain-response.js.map +1 -0
  247. package/lib/response/enable-replication-to-region-response.d.ts +25 -0
  248. package/lib/response/enable-replication-to-region-response.js +15 -0
  249. package/lib/response/enable-replication-to-region-response.js.map +1 -0
  250. package/lib/response/get-domain-response.d.ts +29 -0
  251. package/lib/response/get-domain-response.js +15 -0
  252. package/lib/response/get-domain-response.js.map +1 -0
  253. package/lib/response/get-iam-work-request-response.d.ts +25 -0
  254. package/lib/response/get-iam-work-request-response.js +15 -0
  255. package/lib/response/get-iam-work-request-response.js.map +1 -0
  256. package/lib/response/index.d.ts +30 -0
  257. package/lib/response/list-allowed-domain-license-types-response.d.ts +32 -0
  258. package/lib/response/list-allowed-domain-license-types-response.js +15 -0
  259. package/lib/response/list-allowed-domain-license-types-response.js.map +1 -0
  260. package/lib/response/list-domains-response.d.ts +32 -0
  261. package/lib/response/list-domains-response.js +15 -0
  262. package/lib/response/list-domains-response.js.map +1 -0
  263. package/lib/response/list-iam-work-request-errors-response.d.ts +32 -0
  264. package/lib/response/list-iam-work-request-errors-response.js +15 -0
  265. package/lib/response/list-iam-work-request-errors-response.js.map +1 -0
  266. package/lib/response/list-iam-work-request-logs-response.d.ts +37 -0
  267. package/lib/response/list-iam-work-request-logs-response.js +15 -0
  268. package/lib/response/list-iam-work-request-logs-response.js.map +1 -0
  269. package/lib/response/list-iam-work-requests-response.d.ts +32 -0
  270. package/lib/response/list-iam-work-requests-response.js +15 -0
  271. package/lib/response/list-iam-work-requests-response.js.map +1 -0
  272. package/lib/response/update-domain-response.d.ts +25 -0
  273. package/lib/response/update-domain-response.js +15 -0
  274. package/lib/response/update-domain-response.js.map +1 -0
  275. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -145,6 +145,82 @@ class IdentityClient {
145
145
  }
146
146
  throw Error("Waiters do not exist. Please create waiters.");
147
147
  }
148
+ /**
149
+ * If the domain's {@code lifecycleState} is INACTIVE,
150
+ * 1. Set the {@code lifecycleDetails} to ACTIVATING and asynchronously starts enabling
151
+ * the domain and return 202 ACCEPTED.
152
+ * 1.1 Sets the domain status to ENABLED and set specified domain's
153
+ * {@code lifecycleState} to ACTIVE and set the {@code lifecycleDetails} to null.
154
+ * <p>
155
+ To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
156
+ * the async operation's status. Deactivate a domain can be done using HTTP POST
157
+ * /domains/{domainId}/actions/deactivate.
158
+ * <p>
159
+ - If the domain's {@code lifecycleState} is ACTIVE, returns 202 ACCEPTED with no action
160
+ * taken on service side.
161
+ * - If domain is of {@code type} DEFAULT or DEFAULT_LIGHTWEIGHT or domain's {@code lifecycleState} is not INACTIVE,
162
+ * returns 400 BAD REQUEST.
163
+ * - If the domain doesn't exists, returns 404 NOT FOUND.
164
+ * - If the authenticated user is part of the domain to be activated, returns 400 BAD REQUEST
165
+ * - If error occurs while activating domain, returns 500 INTERNAL SERVER ERROR.
166
+ *
167
+ * This operation does not retry by default if the user has not defined a retry configuration.
168
+ * @param ActivateDomainRequest
169
+ * @return ActivateDomainResponse
170
+ * @throws OciError when an error occurs
171
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ActivateDomain.ts.html |here} to see how to use ActivateDomain API.
172
+ */
173
+ activateDomain(activateDomainRequest) {
174
+ return __awaiter(this, void 0, void 0, function* () {
175
+ if (this.logger)
176
+ this.logger.debug("Calling operation IdentityClient#activateDomain.");
177
+ const pathParams = {
178
+ "{domainId}": activateDomainRequest.domainId
179
+ };
180
+ const queryParams = {};
181
+ let headerParams = {
182
+ "Content-Type": common.Constants.APPLICATION_JSON,
183
+ "opc-request-id": activateDomainRequest.opcRequestId,
184
+ "opc-retry-token": activateDomainRequest.opcRetryToken,
185
+ "if-match": activateDomainRequest.ifMatch
186
+ };
187
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
188
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateDomainRequest.retryConfiguration, specRetryConfiguration);
189
+ if (this.logger)
190
+ retrier.logger = this.logger;
191
+ const request = yield oci_common_2.composeRequest({
192
+ baseEndpoint: this._endpoint,
193
+ defaultHeaders: this._defaultHeaders,
194
+ path: "/domains/{domainId}/actions/activate",
195
+ method: "POST",
196
+ pathParams: pathParams,
197
+ headerParams: headerParams,
198
+ queryParams: queryParams
199
+ });
200
+ try {
201
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
202
+ const sdkResponse = oci_common_2.composeResponse({
203
+ responseObject: {},
204
+ responseHeaders: [
205
+ {
206
+ value: response.headers.get("opc-request-id"),
207
+ key: "opcRequestId",
208
+ dataType: "string"
209
+ },
210
+ {
211
+ value: response.headers.get("opc-work-request-id"),
212
+ key: "opcWorkRequestId",
213
+ dataType: "string"
214
+ }
215
+ ]
216
+ });
217
+ return sdkResponse;
218
+ }
219
+ catch (err) {
220
+ throw err;
221
+ }
222
+ });
223
+ }
148
224
  /**
149
225
  * Activates the specified MFA TOTP device for the user. Activation requires manual interaction with the Console.
150
226
  *
@@ -152,7 +228,7 @@ class IdentityClient {
152
228
  * @param ActivateMfaTotpDeviceRequest
153
229
  * @return ActivateMfaTotpDeviceResponse
154
230
  * @throws OciError when an error occurs
155
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ActivateMfaTotpDevice.ts.html |here} to see how to use ActivateMfaTotpDevice API.
231
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ActivateMfaTotpDevice.ts.html |here} to see how to use ActivateMfaTotpDevice API.
156
232
  */
157
233
  activateMfaTotpDevice(activateMfaTotpDeviceRequest) {
158
234
  return __awaiter(this, void 0, void 0, function* () {
@@ -220,7 +296,7 @@ class IdentityClient {
220
296
  * @param AddUserToGroupRequest
221
297
  * @return AddUserToGroupResponse
222
298
  * @throws OciError when an error occurs
223
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/AddUserToGroup.ts.html |here} to see how to use AddUserToGroup API.
299
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/AddUserToGroup.ts.html |here} to see how to use AddUserToGroup API.
224
300
  */
225
301
  addUserToGroup(addUserToGroupRequest) {
226
302
  return __awaiter(this, void 0, void 0, function* () {
@@ -284,7 +360,7 @@ class IdentityClient {
284
360
  * @param AssembleEffectiveTagSetRequest
285
361
  * @return AssembleEffectiveTagSetResponse
286
362
  * @throws OciError when an error occurs
287
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/AssembleEffectiveTagSet.ts.html |here} to see how to use AssembleEffectiveTagSet API.
363
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/AssembleEffectiveTagSet.ts.html |here} to see how to use AssembleEffectiveTagSet API.
288
364
  */
289
365
  assembleEffectiveTagSet(assembleEffectiveTagSetRequest) {
290
366
  return __awaiter(this, void 0, void 0, function* () {
@@ -350,7 +426,7 @@ class IdentityClient {
350
426
  * @param BulkDeleteResourcesRequest
351
427
  * @return BulkDeleteResourcesResponse
352
428
  * @throws OciError when an error occurs
353
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/BulkDeleteResources.ts.html |here} to see how to use BulkDeleteResources API.
429
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/BulkDeleteResources.ts.html |here} to see how to use BulkDeleteResources API.
354
430
  */
355
431
  bulkDeleteResources(bulkDeleteResourcesRequest) {
356
432
  return __awaiter(this, void 0, void 0, function* () {
@@ -430,7 +506,7 @@ class IdentityClient {
430
506
  * @param BulkDeleteTagsRequest
431
507
  * @return BulkDeleteTagsResponse
432
508
  * @throws OciError when an error occurs
433
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/BulkDeleteTags.ts.html |here} to see how to use BulkDeleteTags API.
509
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/BulkDeleteTags.ts.html |here} to see how to use BulkDeleteTags API.
434
510
  */
435
511
  bulkDeleteTags(bulkDeleteTagsRequest) {
436
512
  return __awaiter(this, void 0, void 0, function* () {
@@ -501,7 +577,7 @@ class IdentityClient {
501
577
  * @param BulkEditTagsRequest
502
578
  * @return BulkEditTagsResponse
503
579
  * @throws OciError when an error occurs
504
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/BulkEditTags.ts.html |here} to see how to use BulkEditTags API.
580
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/BulkEditTags.ts.html |here} to see how to use BulkEditTags API.
505
581
  */
506
582
  bulkEditTags(bulkEditTagsRequest) {
507
583
  return __awaiter(this, void 0, void 0, function* () {
@@ -563,7 +639,7 @@ class IdentityClient {
563
639
  * @param BulkMoveResourcesRequest
564
640
  * @return BulkMoveResourcesResponse
565
641
  * @throws OciError when an error occurs
566
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/BulkMoveResources.ts.html |here} to see how to use BulkMoveResources API.
642
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/BulkMoveResources.ts.html |here} to see how to use BulkMoveResources API.
567
643
  */
568
644
  bulkMoveResources(bulkMoveResourcesRequest) {
569
645
  return __awaiter(this, void 0, void 0, function* () {
@@ -641,7 +717,7 @@ class IdentityClient {
641
717
  * @param CascadeDeleteTagNamespaceRequest
642
718
  * @return CascadeDeleteTagNamespaceResponse
643
719
  * @throws OciError when an error occurs
644
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CascadeDeleteTagNamespace.ts.html |here} to see how to use CascadeDeleteTagNamespace API.
720
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CascadeDeleteTagNamespace.ts.html |here} to see how to use CascadeDeleteTagNamespace API.
645
721
  */
646
722
  cascadeDeleteTagNamespace(cascadeDeleteTagNamespaceRequest) {
647
723
  return __awaiter(this, void 0, void 0, function* () {
@@ -694,6 +770,153 @@ class IdentityClient {
694
770
  }
695
771
  });
696
772
  }
773
+ /**
774
+ * Change the containing compartment for a domain.
775
+ * <p>
776
+ This is an asynchronous call where the Domain's compartment is changed and is updated with the new compartment information.
777
+ * To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
778
+ * the async operation's status.
779
+ * <p>
780
+ The compartment change is complete when accessed via domain URL and
781
+ * also returns new compartment OCID.
782
+ * - If the domain doesn't exists, returns 404 NOT FOUND.
783
+ * - If Domain {@code type} is DEFAULT or DEFAULT_LIGHTWEIGHT, return 400 BAD Request
784
+ * - If Domain is not active or being updated, returns 400 BAD REQUEST.
785
+ * - If error occurs while changing compartment for domain, return 500 INTERNAL SERVER ERROR.
786
+ *
787
+ * This operation does not retry by default if the user has not defined a retry configuration.
788
+ * @param ChangeDomainCompartmentRequest
789
+ * @return ChangeDomainCompartmentResponse
790
+ * @throws OciError when an error occurs
791
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ChangeDomainCompartment.ts.html |here} to see how to use ChangeDomainCompartment API.
792
+ */
793
+ changeDomainCompartment(changeDomainCompartmentRequest) {
794
+ return __awaiter(this, void 0, void 0, function* () {
795
+ if (this.logger)
796
+ this.logger.debug("Calling operation IdentityClient#changeDomainCompartment.");
797
+ const pathParams = {
798
+ "{domainId}": changeDomainCompartmentRequest.domainId
799
+ };
800
+ const queryParams = {};
801
+ let headerParams = {
802
+ "Content-Type": common.Constants.APPLICATION_JSON,
803
+ "opc-request-id": changeDomainCompartmentRequest.opcRequestId,
804
+ "opc-retry-token": changeDomainCompartmentRequest.opcRetryToken,
805
+ "if-match": changeDomainCompartmentRequest.ifMatch
806
+ };
807
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
808
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDomainCompartmentRequest.retryConfiguration, specRetryConfiguration);
809
+ if (this.logger)
810
+ retrier.logger = this.logger;
811
+ const request = yield oci_common_2.composeRequest({
812
+ baseEndpoint: this._endpoint,
813
+ defaultHeaders: this._defaultHeaders,
814
+ path: "/domains/{domainId}/actions/changeCompartment",
815
+ method: "POST",
816
+ bodyContent: common.ObjectSerializer.serialize(changeDomainCompartmentRequest.changeDomainCompartmentDetails, "ChangeDomainCompartmentDetails", model.ChangeDomainCompartmentDetails.getJsonObj),
817
+ pathParams: pathParams,
818
+ headerParams: headerParams,
819
+ queryParams: queryParams
820
+ });
821
+ try {
822
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
823
+ const sdkResponse = oci_common_2.composeResponse({
824
+ responseObject: {},
825
+ responseHeaders: [
826
+ {
827
+ value: response.headers.get("opc-request-id"),
828
+ key: "opcRequestId",
829
+ dataType: "string"
830
+ },
831
+ {
832
+ value: response.headers.get("opc-work-request-id"),
833
+ key: "opcWorkRequestId",
834
+ dataType: "string"
835
+ }
836
+ ]
837
+ });
838
+ return sdkResponse;
839
+ }
840
+ catch (err) {
841
+ throw err;
842
+ }
843
+ });
844
+ }
845
+ /**
846
+ * If the domain's {@code lifecycleState} is ACTIVE, validates the requested {@code licenseType} update
847
+ * is allowed and
848
+ * 1. Set the {@code lifecycleDetails} to UPDATING
849
+ * 2. Asynchronously starts updating the domain and return 202 ACCEPTED.
850
+ * 2.1 Successfully updates specified domain's {@code licenseType}.
851
+ * 3. On completion set the {@code lifecycleDetails} to null.
852
+ * To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
853
+ * the async operation's status.
854
+ * <p>
855
+ - If license type update is successful, return 202 ACCEPTED
856
+ * - If requested {@code licenseType} validation fails, returns 400 Bad request.
857
+ * - If Domain is not active or being updated, returns 400 BAD REQUEST.
858
+ * - If Domain {@code type} is DEFAULT or DEFAULT_LIGHTWEIGHT, return 400 BAD Request
859
+ * - If the domain doesn't exists, returns 404 NOT FOUND
860
+ * - If any internal error occurs, returns 500 INTERNAL SERVER ERROR.
861
+ *
862
+ * This operation does not retry by default if the user has not defined a retry configuration.
863
+ * @param ChangeDomainLicenseTypeRequest
864
+ * @return ChangeDomainLicenseTypeResponse
865
+ * @throws OciError when an error occurs
866
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ChangeDomainLicenseType.ts.html |here} to see how to use ChangeDomainLicenseType API.
867
+ */
868
+ changeDomainLicenseType(changeDomainLicenseTypeRequest) {
869
+ return __awaiter(this, void 0, void 0, function* () {
870
+ if (this.logger)
871
+ this.logger.debug("Calling operation IdentityClient#changeDomainLicenseType.");
872
+ const pathParams = {
873
+ "{domainId}": changeDomainLicenseTypeRequest.domainId
874
+ };
875
+ const queryParams = {};
876
+ let headerParams = {
877
+ "Content-Type": common.Constants.APPLICATION_JSON,
878
+ "opc-request-id": changeDomainLicenseTypeRequest.opcRequestId,
879
+ "opc-retry-token": changeDomainLicenseTypeRequest.opcRetryToken,
880
+ "if-match": changeDomainLicenseTypeRequest.ifMatch
881
+ };
882
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
883
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDomainLicenseTypeRequest.retryConfiguration, specRetryConfiguration);
884
+ if (this.logger)
885
+ retrier.logger = this.logger;
886
+ const request = yield oci_common_2.composeRequest({
887
+ baseEndpoint: this._endpoint,
888
+ defaultHeaders: this._defaultHeaders,
889
+ path: "/domains/{domainId}/actions/changeLicenseType",
890
+ method: "POST",
891
+ bodyContent: common.ObjectSerializer.serialize(changeDomainLicenseTypeRequest.changeDomainLicenseTypeDetails, "ChangeDomainLicenseTypeDetails", model.ChangeDomainLicenseTypeDetails.getJsonObj),
892
+ pathParams: pathParams,
893
+ headerParams: headerParams,
894
+ queryParams: queryParams
895
+ });
896
+ try {
897
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
898
+ const sdkResponse = oci_common_2.composeResponse({
899
+ responseObject: {},
900
+ responseHeaders: [
901
+ {
902
+ value: response.headers.get("opc-request-id"),
903
+ key: "opcRequestId",
904
+ dataType: "string"
905
+ },
906
+ {
907
+ value: response.headers.get("opc-work-request-id"),
908
+ key: "opcWorkRequestId",
909
+ dataType: "string"
910
+ }
911
+ ]
912
+ });
913
+ return sdkResponse;
914
+ }
915
+ catch (err) {
916
+ throw err;
917
+ }
918
+ });
919
+ }
697
920
  /**
698
921
  * Moves the specified tag namespace to the specified compartment within the same tenancy.
699
922
  * <p>
@@ -706,7 +929,7 @@ class IdentityClient {
706
929
  * @param ChangeTagNamespaceCompartmentRequest
707
930
  * @return ChangeTagNamespaceCompartmentResponse
708
931
  * @throws OciError when an error occurs
709
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ChangeTagNamespaceCompartment.ts.html |here} to see how to use ChangeTagNamespaceCompartment API.
932
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ChangeTagNamespaceCompartment.ts.html |here} to see how to use ChangeTagNamespaceCompartment API.
710
933
  */
711
934
  changeTagNamespaceCompartment(changeTagNamespaceCompartmentRequest) {
712
935
  return __awaiter(this, void 0, void 0, function* () {
@@ -769,7 +992,7 @@ class IdentityClient {
769
992
  * @param CreateAuthTokenRequest
770
993
  * @return CreateAuthTokenResponse
771
994
  * @throws OciError when an error occurs
772
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateAuthToken.ts.html |here} to see how to use CreateAuthToken API.
995
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateAuthToken.ts.html |here} to see how to use CreateAuthToken API.
773
996
  */
774
997
  createAuthToken(createAuthTokenRequest) {
775
998
  return __awaiter(this, void 0, void 0, function* () {
@@ -850,7 +1073,7 @@ class IdentityClient {
850
1073
  * @param CreateCompartmentRequest
851
1074
  * @return CreateCompartmentResponse
852
1075
  * @throws OciError when an error occurs
853
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateCompartment.ts.html |here} to see how to use CreateCompartment API.
1076
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateCompartment.ts.html |here} to see how to use CreateCompartment API.
854
1077
  */
855
1078
  createCompartment(createCompartmentRequest) {
856
1079
  return __awaiter(this, void 0, void 0, function* () {
@@ -921,7 +1144,7 @@ class IdentityClient {
921
1144
  * @param CreateCustomerSecretKeyRequest
922
1145
  * @return CreateCustomerSecretKeyResponse
923
1146
  * @throws OciError when an error occurs
924
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateCustomerSecretKey.ts.html |here} to see how to use CreateCustomerSecretKey API.
1147
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateCustomerSecretKey.ts.html |here} to see how to use CreateCustomerSecretKey API.
925
1148
  */
926
1149
  createCustomerSecretKey(createCustomerSecretKeyRequest) {
927
1150
  return __awaiter(this, void 0, void 0, function* () {
@@ -977,6 +1200,79 @@ class IdentityClient {
977
1200
  }
978
1201
  });
979
1202
  }
1203
+ /**
1204
+ * Creates a new domain in the tenancy with domain home in {@code homeRegion}. This is an asynchronous call - where, at start,
1205
+ * {@code lifecycleState} of this domain is set to CREATING and {@code lifecycleDetails} to UPDATING. On domain creation completion
1206
+ * this Domain's {@code lifecycleState} will be set to ACTIVE and {@code lifecycleDetails} to null.
1207
+ * <p>
1208
+ To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
1209
+ * the async operation's status.
1210
+ * <p>
1211
+ After creating a `Domain`, make sure its `lifecycleState` changes from CREATING to ACTIVE
1212
+ * before using it.
1213
+ * If the domain's {@code displayName} already exists, returns 400 BAD REQUEST.
1214
+ * If any one of admin related fields are provided and one of the following 3 fields
1215
+ * - {@code adminEmail}, {@code adminLastName} and {@code adminUserName} - is not provided,
1216
+ * returns 400 BAD REQUEST.
1217
+ * - If {@code isNotificationBypassed} is NOT provided when admin information is provided,
1218
+ * returns 400 BAD REQUEST.
1219
+ * - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
1220
+ *
1221
+ * This operation does not retry by default if the user has not defined a retry configuration.
1222
+ * @param CreateDomainRequest
1223
+ * @return CreateDomainResponse
1224
+ * @throws OciError when an error occurs
1225
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateDomain.ts.html |here} to see how to use CreateDomain API.
1226
+ */
1227
+ createDomain(createDomainRequest) {
1228
+ return __awaiter(this, void 0, void 0, function* () {
1229
+ if (this.logger)
1230
+ this.logger.debug("Calling operation IdentityClient#createDomain.");
1231
+ const pathParams = {};
1232
+ const queryParams = {};
1233
+ let headerParams = {
1234
+ "Content-Type": common.Constants.APPLICATION_JSON,
1235
+ "opc-retry-token": createDomainRequest.opcRetryToken,
1236
+ "opc-request-id": createDomainRequest.opcRequestId
1237
+ };
1238
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1239
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDomainRequest.retryConfiguration, specRetryConfiguration);
1240
+ if (this.logger)
1241
+ retrier.logger = this.logger;
1242
+ const request = yield oci_common_2.composeRequest({
1243
+ baseEndpoint: this._endpoint,
1244
+ defaultHeaders: this._defaultHeaders,
1245
+ path: "/domains",
1246
+ method: "POST",
1247
+ bodyContent: common.ObjectSerializer.serialize(createDomainRequest.createDomainDetails, "CreateDomainDetails", model.CreateDomainDetails.getJsonObj),
1248
+ pathParams: pathParams,
1249
+ headerParams: headerParams,
1250
+ queryParams: queryParams
1251
+ });
1252
+ try {
1253
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1254
+ const sdkResponse = oci_common_2.composeResponse({
1255
+ responseObject: {},
1256
+ responseHeaders: [
1257
+ {
1258
+ value: response.headers.get("opc-request-id"),
1259
+ key: "opcRequestId",
1260
+ dataType: "string"
1261
+ },
1262
+ {
1263
+ value: response.headers.get("opc-work-request-id"),
1264
+ key: "opcWorkRequestId",
1265
+ dataType: "string"
1266
+ }
1267
+ ]
1268
+ });
1269
+ return sdkResponse;
1270
+ }
1271
+ catch (err) {
1272
+ throw err;
1273
+ }
1274
+ });
1275
+ }
980
1276
  /**
981
1277
  * Creates a new dynamic group in your tenancy.
982
1278
  * <p>
@@ -1001,7 +1297,7 @@ class IdentityClient {
1001
1297
  * @param CreateDynamicGroupRequest
1002
1298
  * @return CreateDynamicGroupResponse
1003
1299
  * @throws OciError when an error occurs
1004
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateDynamicGroup.ts.html |here} to see how to use CreateDynamicGroup API.
1300
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateDynamicGroup.ts.html |here} to see how to use CreateDynamicGroup API.
1005
1301
  */
1006
1302
  createDynamicGroup(createDynamicGroupRequest) {
1007
1303
  return __awaiter(this, void 0, void 0, function* () {
@@ -1082,7 +1378,7 @@ class IdentityClient {
1082
1378
  * @param CreateGroupRequest
1083
1379
  * @return CreateGroupResponse
1084
1380
  * @throws OciError when an error occurs
1085
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateGroup.ts.html |here} to see how to use CreateGroup API.
1381
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateGroup.ts.html |here} to see how to use CreateGroup API.
1086
1382
  */
1087
1383
  createGroup(createGroupRequest) {
1088
1384
  return __awaiter(this, void 0, void 0, function* () {
@@ -1137,7 +1433,9 @@ class IdentityClient {
1137
1433
  });
1138
1434
  }
1139
1435
  /**
1140
- * Creates a new identity provider in your tenancy. For more information, see
1436
+ * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
1437
+ * <p>
1438
+ Creates a new identity provider in your tenancy. For more information, see
1141
1439
  * [Identity Providers and Federation](https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm).
1142
1440
  * <p>
1143
1441
  You must specify your tenancy's OCID as the compartment ID in the request object.
@@ -1160,7 +1458,7 @@ class IdentityClient {
1160
1458
  * @param CreateIdentityProviderRequest
1161
1459
  * @return CreateIdentityProviderResponse
1162
1460
  * @throws OciError when an error occurs
1163
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateIdentityProvider.ts.html |here} to see how to use CreateIdentityProvider API.
1461
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateIdentityProvider.ts.html |here} to see how to use CreateIdentityProvider API.
1164
1462
  */
1165
1463
  createIdentityProvider(createIdentityProviderRequest) {
1166
1464
  return __awaiter(this, void 0, void 0, function* () {
@@ -1215,15 +1513,17 @@ class IdentityClient {
1215
1513
  });
1216
1514
  }
1217
1515
  /**
1218
- * Creates a single mapping between an IdP group and an IAM Service
1219
- * {@link Group}.
1220
- *
1221
- * This operation does not retry by default if the user has not defined a retry configuration.
1222
- * @param CreateIdpGroupMappingRequest
1223
- * @return CreateIdpGroupMappingResponse
1224
- * @throws OciError when an error occurs
1225
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateIdpGroupMapping.ts.html |here} to see how to use CreateIdpGroupMapping API.
1226
- */
1516
+ * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
1517
+ * <p>
1518
+ Creates a single mapping between an IdP group and an IAM Service
1519
+ * {@link Group}.
1520
+ *
1521
+ * This operation does not retry by default if the user has not defined a retry configuration.
1522
+ * @param CreateIdpGroupMappingRequest
1523
+ * @return CreateIdpGroupMappingResponse
1524
+ * @throws OciError when an error occurs
1525
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateIdpGroupMapping.ts.html |here} to see how to use CreateIdpGroupMapping API.
1526
+ */
1227
1527
  createIdpGroupMapping(createIdpGroupMappingRequest) {
1228
1528
  return __awaiter(this, void 0, void 0, function* () {
1229
1529
  if (this.logger)
@@ -1285,7 +1585,7 @@ class IdentityClient {
1285
1585
  * @param CreateMfaTotpDeviceRequest
1286
1586
  * @return CreateMfaTotpDeviceResponse
1287
1587
  * @throws OciError when an error occurs
1288
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateMfaTotpDevice.ts.html |here} to see how to use CreateMfaTotpDevice API.
1588
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateMfaTotpDevice.ts.html |here} to see how to use CreateMfaTotpDevice API.
1289
1589
  */
1290
1590
  createMfaTotpDevice(createMfaTotpDeviceRequest) {
1291
1591
  return __awaiter(this, void 0, void 0, function* () {
@@ -1367,7 +1667,7 @@ class IdentityClient {
1367
1667
  * @param CreateNetworkSourceRequest
1368
1668
  * @return CreateNetworkSourceResponse
1369
1669
  * @throws OciError when an error occurs
1370
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateNetworkSource.ts.html |here} to see how to use CreateNetworkSource API.
1670
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateNetworkSource.ts.html |here} to see how to use CreateNetworkSource API.
1371
1671
  */
1372
1672
  createNetworkSource(createNetworkSourceRequest) {
1373
1673
  return __awaiter(this, void 0, void 0, function* () {
@@ -1428,7 +1728,7 @@ class IdentityClient {
1428
1728
  * @param CreateOAuthClientCredentialRequest
1429
1729
  * @return CreateOAuthClientCredentialResponse
1430
1730
  * @throws OciError when an error occurs
1431
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateOAuthClientCredential.ts.html |here} to see how to use CreateOAuthClientCredential API.
1731
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateOAuthClientCredential.ts.html |here} to see how to use CreateOAuthClientCredential API.
1432
1732
  */
1433
1733
  createOAuthClientCredential(createOAuthClientCredentialRequest) {
1434
1734
  return __awaiter(this, void 0, void 0, function* () {
@@ -1501,7 +1801,7 @@ class IdentityClient {
1501
1801
  * @param CreateOrResetUIPasswordRequest
1502
1802
  * @return CreateOrResetUIPasswordResponse
1503
1803
  * @throws OciError when an error occurs
1504
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateOrResetUIPassword.ts.html |here} to see how to use CreateOrResetUIPassword API.
1804
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateOrResetUIPassword.ts.html |here} to see how to use CreateOrResetUIPassword API.
1505
1805
  */
1506
1806
  createOrResetUIPassword(createOrResetUIPasswordRequest) {
1507
1807
  return __awaiter(this, void 0, void 0, function* () {
@@ -1579,7 +1879,7 @@ class IdentityClient {
1579
1879
  * @param CreatePolicyRequest
1580
1880
  * @return CreatePolicyResponse
1581
1881
  * @throws OciError when an error occurs
1582
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreatePolicy.ts.html |here} to see how to use CreatePolicy API.
1882
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreatePolicy.ts.html |here} to see how to use CreatePolicy API.
1583
1883
  */
1584
1884
  createPolicy(createPolicyRequest) {
1585
1885
  return __awaiter(this, void 0, void 0, function* () {
@@ -1640,7 +1940,7 @@ class IdentityClient {
1640
1940
  * @param CreateRegionSubscriptionRequest
1641
1941
  * @return CreateRegionSubscriptionResponse
1642
1942
  * @throws OciError when an error occurs
1643
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateRegionSubscription.ts.html |here} to see how to use CreateRegionSubscription API.
1943
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateRegionSubscription.ts.html |here} to see how to use CreateRegionSubscription API.
1644
1944
  */
1645
1945
  createRegionSubscription(createRegionSubscriptionRequest) {
1646
1946
  return __awaiter(this, void 0, void 0, function* () {
@@ -1701,7 +2001,7 @@ class IdentityClient {
1701
2001
  * @param CreateSmtpCredentialRequest
1702
2002
  * @return CreateSmtpCredentialResponse
1703
2003
  * @throws OciError when an error occurs
1704
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateSmtpCredential.ts.html |here} to see how to use CreateSmtpCredential API.
2004
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateSmtpCredential.ts.html |here} to see how to use CreateSmtpCredential API.
1705
2005
  */
1706
2006
  createSmtpCredential(createSmtpCredentialRequest) {
1707
2007
  return __awaiter(this, void 0, void 0, function* () {
@@ -1775,7 +2075,7 @@ class IdentityClient {
1775
2075
  * @param CreateSwiftPasswordRequest
1776
2076
  * @return CreateSwiftPasswordResponse
1777
2077
  * @throws OciError when an error occurs
1778
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateSwiftPassword.ts.html |here} to see how to use CreateSwiftPassword API.
2078
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateSwiftPassword.ts.html |here} to see how to use CreateSwiftPassword API.
1779
2079
  */
1780
2080
  createSwiftPassword(createSwiftPasswordRequest) {
1781
2081
  return __awaiter(this, void 0, void 0, function* () {
@@ -1859,7 +2159,7 @@ class IdentityClient {
1859
2159
  * @param CreateTagRequest
1860
2160
  * @return CreateTagResponse
1861
2161
  * @throws OciError when an error occurs
1862
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateTag.ts.html |here} to see how to use CreateTag API.
2162
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateTag.ts.html |here} to see how to use CreateTag API.
1863
2163
  */
1864
2164
  createTag(createTagRequest) {
1865
2165
  return __awaiter(this, void 0, void 0, function* () {
@@ -1929,7 +2229,7 @@ class IdentityClient {
1929
2229
  * @param CreateTagDefaultRequest
1930
2230
  * @return CreateTagDefaultResponse
1931
2231
  * @throws OciError when an error occurs
1932
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateTagDefault.ts.html |here} to see how to use CreateTagDefault API.
2232
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateTagDefault.ts.html |here} to see how to use CreateTagDefault API.
1933
2233
  */
1934
2234
  createTagDefault(createTagDefaultRequest) {
1935
2235
  return __awaiter(this, void 0, void 0, function* () {
@@ -2004,7 +2304,7 @@ class IdentityClient {
2004
2304
  * @param CreateTagNamespaceRequest
2005
2305
  * @return CreateTagNamespaceResponse
2006
2306
  * @throws OciError when an error occurs
2007
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateTagNamespace.ts.html |here} to see how to use CreateTagNamespace API.
2307
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateTagNamespace.ts.html |here} to see how to use CreateTagNamespace API.
2008
2308
  */
2009
2309
  createTagNamespace(createTagNamespaceRequest) {
2010
2310
  return __awaiter(this, void 0, void 0, function* () {
@@ -2094,7 +2394,7 @@ class IdentityClient {
2094
2394
  * @param CreateUserRequest
2095
2395
  * @return CreateUserResponse
2096
2396
  * @throws OciError when an error occurs
2097
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/CreateUser.ts.html |here} to see how to use CreateUser API.
2397
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/CreateUser.ts.html |here} to see how to use CreateUser API.
2098
2398
  */
2099
2399
  createUser(createUserRequest) {
2100
2400
  return __awaiter(this, void 0, void 0, function* () {
@@ -2149,41 +2449,54 @@ class IdentityClient {
2149
2449
  });
2150
2450
  }
2151
2451
  /**
2152
- * Deletes the specified API signing key for the specified user.
2452
+ * If the domain's {@code lifecycleState} is ACTIVE and no active Apps are present in domain,
2453
+ * 1. Set the {@code lifecycleDetails} to DEACTIVATING and asynchronously starts disabling
2454
+ * the domain and return 202 ACCEPTED.
2455
+ * 1.1 Sets the domain status to DISABLED and set specified domain's
2456
+ * {@code lifecycleState} to INACTIVE and set the {@code lifecycleDetails} to null.
2153
2457
  * <p>
2154
- Every user has permission to use this operation to delete a key for *their own user ID*. An
2155
- * administrator in your organization does not need to write a policy to give users this ability.
2156
- * To compare, administrators who have permission to the tenancy can use this operation to delete
2157
- * a key for any user, including themselves.
2458
+ To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
2459
+ * the async operation's status. Activate a domain can be done using HTTP POST
2460
+ * /domains/{domainId}/actions/activate.
2461
+ * <p>
2462
+ - If the domain's {@code lifecycleState} is INACTIVE, returns 202 ACCEPTED with no action
2463
+ * taken on service side.
2464
+ * - If domain is of {@code type} DEFAULT or DEFAULT_LIGHTWEIGHT or domain's {@code lifecycleState}
2465
+ * is not ACTIVE, returns 400 BAD REQUEST.
2466
+ * - If the domain doesn't exists, returns 404 NOT FOUND.
2467
+ * - If any active Apps in domain, returns 400 BAD REQUEST.
2468
+ * - If the authenticated user is part of the domain to be activated, returns 400 BAD REQUEST
2469
+ * - If error occurs while deactivating domain, returns 500 INTERNAL SERVER ERROR.
2158
2470
  *
2159
2471
  * This operation does not retry by default if the user has not defined a retry configuration.
2160
- * @param DeleteApiKeyRequest
2161
- * @return DeleteApiKeyResponse
2472
+ * @param DeactivateDomainRequest
2473
+ * @return DeactivateDomainResponse
2162
2474
  * @throws OciError when an error occurs
2163
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteApiKey.ts.html |here} to see how to use DeleteApiKey API.
2475
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeactivateDomain.ts.html |here} to see how to use DeactivateDomain API.
2164
2476
  */
2165
- deleteApiKey(deleteApiKeyRequest) {
2477
+ deactivateDomain(deactivateDomainRequest) {
2166
2478
  return __awaiter(this, void 0, void 0, function* () {
2167
2479
  if (this.logger)
2168
- this.logger.debug("Calling operation IdentityClient#deleteApiKey.");
2480
+ this.logger.debug("Calling operation IdentityClient#deactivateDomain.");
2169
2481
  const pathParams = {
2170
- "{userId}": deleteApiKeyRequest.userId,
2171
- "{fingerprint}": deleteApiKeyRequest.fingerprint
2482
+ "{domainId}": deactivateDomainRequest.domainId
2172
2483
  };
2173
2484
  const queryParams = {};
2174
2485
  let headerParams = {
2175
2486
  "Content-Type": common.Constants.APPLICATION_JSON,
2176
- "if-match": deleteApiKeyRequest.ifMatch
2487
+ "opc-request-id": deactivateDomainRequest.opcRequestId,
2488
+ "opc-retry-token": deactivateDomainRequest.opcRetryToken,
2489
+ "if-match": deactivateDomainRequest.ifMatch
2177
2490
  };
2178
2491
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2179
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteApiKeyRequest.retryConfiguration, specRetryConfiguration);
2492
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateDomainRequest.retryConfiguration, specRetryConfiguration);
2180
2493
  if (this.logger)
2181
2494
  retrier.logger = this.logger;
2182
2495
  const request = yield oci_common_2.composeRequest({
2183
2496
  baseEndpoint: this._endpoint,
2184
2497
  defaultHeaders: this._defaultHeaders,
2185
- path: "/users/{userId}/apiKeys/{fingerprint}",
2186
- method: "DELETE",
2498
+ path: "/domains/{domainId}/actions/deactivate",
2499
+ method: "POST",
2187
2500
  pathParams: pathParams,
2188
2501
  headerParams: headerParams,
2189
2502
  queryParams: queryParams
@@ -2197,6 +2510,11 @@ class IdentityClient {
2197
2510
  value: response.headers.get("opc-request-id"),
2198
2511
  key: "opcRequestId",
2199
2512
  dataType: "string"
2513
+ },
2514
+ {
2515
+ value: response.headers.get("opc-work-request-id"),
2516
+ key: "opcWorkRequestId",
2517
+ dataType: "string"
2200
2518
  }
2201
2519
  ]
2202
2520
  });
@@ -2208,22 +2526,81 @@ class IdentityClient {
2208
2526
  });
2209
2527
  }
2210
2528
  /**
2211
- * Deletes the specified auth token for the specified user.
2212
- *
2213
- * This operation does not retry by default if the user has not defined a retry configuration.
2214
- * @param DeleteAuthTokenRequest
2215
- * @return DeleteAuthTokenResponse
2216
- * @throws OciError when an error occurs
2217
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteAuthToken.ts.html |here} to see how to use DeleteAuthToken API.
2218
- */
2219
- deleteAuthToken(deleteAuthTokenRequest) {
2529
+ * Deletes the specified API signing key for the specified user.
2530
+ * <p>
2531
+ Every user has permission to use this operation to delete a key for *their own user ID*. An
2532
+ * administrator in your organization does not need to write a policy to give users this ability.
2533
+ * To compare, administrators who have permission to the tenancy can use this operation to delete
2534
+ * a key for any user, including themselves.
2535
+ *
2536
+ * This operation does not retry by default if the user has not defined a retry configuration.
2537
+ * @param DeleteApiKeyRequest
2538
+ * @return DeleteApiKeyResponse
2539
+ * @throws OciError when an error occurs
2540
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteApiKey.ts.html |here} to see how to use DeleteApiKey API.
2541
+ */
2542
+ deleteApiKey(deleteApiKeyRequest) {
2220
2543
  return __awaiter(this, void 0, void 0, function* () {
2221
2544
  if (this.logger)
2222
- this.logger.debug("Calling operation IdentityClient#deleteAuthToken.");
2545
+ this.logger.debug("Calling operation IdentityClient#deleteApiKey.");
2223
2546
  const pathParams = {
2224
- "{userId}": deleteAuthTokenRequest.userId,
2225
- "{authTokenId}": deleteAuthTokenRequest.authTokenId
2226
- };
2547
+ "{userId}": deleteApiKeyRequest.userId,
2548
+ "{fingerprint}": deleteApiKeyRequest.fingerprint
2549
+ };
2550
+ const queryParams = {};
2551
+ let headerParams = {
2552
+ "Content-Type": common.Constants.APPLICATION_JSON,
2553
+ "if-match": deleteApiKeyRequest.ifMatch
2554
+ };
2555
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2556
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteApiKeyRequest.retryConfiguration, specRetryConfiguration);
2557
+ if (this.logger)
2558
+ retrier.logger = this.logger;
2559
+ const request = yield oci_common_2.composeRequest({
2560
+ baseEndpoint: this._endpoint,
2561
+ defaultHeaders: this._defaultHeaders,
2562
+ path: "/users/{userId}/apiKeys/{fingerprint}",
2563
+ method: "DELETE",
2564
+ pathParams: pathParams,
2565
+ headerParams: headerParams,
2566
+ queryParams: queryParams
2567
+ });
2568
+ try {
2569
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
2570
+ const sdkResponse = oci_common_2.composeResponse({
2571
+ responseObject: {},
2572
+ responseHeaders: [
2573
+ {
2574
+ value: response.headers.get("opc-request-id"),
2575
+ key: "opcRequestId",
2576
+ dataType: "string"
2577
+ }
2578
+ ]
2579
+ });
2580
+ return sdkResponse;
2581
+ }
2582
+ catch (err) {
2583
+ throw err;
2584
+ }
2585
+ });
2586
+ }
2587
+ /**
2588
+ * Deletes the specified auth token for the specified user.
2589
+ *
2590
+ * This operation does not retry by default if the user has not defined a retry configuration.
2591
+ * @param DeleteAuthTokenRequest
2592
+ * @return DeleteAuthTokenResponse
2593
+ * @throws OciError when an error occurs
2594
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteAuthToken.ts.html |here} to see how to use DeleteAuthToken API.
2595
+ */
2596
+ deleteAuthToken(deleteAuthTokenRequest) {
2597
+ return __awaiter(this, void 0, void 0, function* () {
2598
+ if (this.logger)
2599
+ this.logger.debug("Calling operation IdentityClient#deleteAuthToken.");
2600
+ const pathParams = {
2601
+ "{userId}": deleteAuthTokenRequest.userId,
2602
+ "{authTokenId}": deleteAuthTokenRequest.authTokenId
2603
+ };
2227
2604
  const queryParams = {};
2228
2605
  let headerParams = {
2229
2606
  "Content-Type": common.Constants.APPLICATION_JSON,
@@ -2268,7 +2645,7 @@ class IdentityClient {
2268
2645
  * @param DeleteCompartmentRequest
2269
2646
  * @return DeleteCompartmentResponse
2270
2647
  * @throws OciError when an error occurs
2271
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteCompartment.ts.html |here} to see how to use DeleteCompartment API.
2648
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteCompartment.ts.html |here} to see how to use DeleteCompartment API.
2272
2649
  */
2273
2650
  deleteCompartment(deleteCompartmentRequest) {
2274
2651
  return __awaiter(this, void 0, void 0, function* () {
@@ -2326,7 +2703,7 @@ class IdentityClient {
2326
2703
  * @param DeleteCustomerSecretKeyRequest
2327
2704
  * @return DeleteCustomerSecretKeyResponse
2328
2705
  * @throws OciError when an error occurs
2329
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteCustomerSecretKey.ts.html |here} to see how to use DeleteCustomerSecretKey API.
2706
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteCustomerSecretKey.ts.html |here} to see how to use DeleteCustomerSecretKey API.
2330
2707
  */
2331
2708
  deleteCustomerSecretKey(deleteCustomerSecretKeyRequest) {
2332
2709
  return __awaiter(this, void 0, void 0, function* () {
@@ -2373,6 +2750,81 @@ class IdentityClient {
2373
2750
  }
2374
2751
  });
2375
2752
  }
2753
+ /**
2754
+ * Soft Deletes a domain.
2755
+ * <p>
2756
+ This is an asynchronous API, where, if the domain's {@code lifecycleState} is INACTIVE and
2757
+ * no active Apps are present in underlying stripe,
2758
+ * 1. Sets the specified domain's {@code lifecycleState} to DELETING.
2759
+ * 2. Domains marked as DELETING will be cleaned up by a periodic task unless customer request it to be undo via ticket.
2760
+ * 3. Work request is created and returned as opc-work-request-id along with 202 ACCEPTED.
2761
+ * To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
2762
+ * the async operation's status.
2763
+ * <p>
2764
+ - If the domain's {@code lifecycleState} is DELETING, returns 202 Accepted as a deletion
2765
+ * is already in progress for this domain.
2766
+ * - If the domain doesn't exists, returns 404 NOT FOUND.
2767
+ * - If domain is of {@code type} DEFAULT or DEFAULT_LIGHTWEIGHT, returns 400 BAD REQUEST.
2768
+ * - If any active Apps in domain, returns 400 BAD REQUEST.
2769
+ * - If the authenticated user is part of the domain to be deleted, returns 400 BAD REQUEST.
2770
+ * - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
2771
+ *
2772
+ * This operation does not retry by default if the user has not defined a retry configuration.
2773
+ * @param DeleteDomainRequest
2774
+ * @return DeleteDomainResponse
2775
+ * @throws OciError when an error occurs
2776
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteDomain.ts.html |here} to see how to use DeleteDomain API.
2777
+ */
2778
+ deleteDomain(deleteDomainRequest) {
2779
+ return __awaiter(this, void 0, void 0, function* () {
2780
+ if (this.logger)
2781
+ this.logger.debug("Calling operation IdentityClient#deleteDomain.");
2782
+ const pathParams = {
2783
+ "{domainId}": deleteDomainRequest.domainId
2784
+ };
2785
+ const queryParams = {};
2786
+ let headerParams = {
2787
+ "Content-Type": common.Constants.APPLICATION_JSON,
2788
+ "if-match": deleteDomainRequest.ifMatch,
2789
+ "opc-request-id": deleteDomainRequest.opcRequestId
2790
+ };
2791
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2792
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDomainRequest.retryConfiguration, specRetryConfiguration);
2793
+ if (this.logger)
2794
+ retrier.logger = this.logger;
2795
+ const request = yield oci_common_2.composeRequest({
2796
+ baseEndpoint: this._endpoint,
2797
+ defaultHeaders: this._defaultHeaders,
2798
+ path: "/domains/{domainId}",
2799
+ method: "DELETE",
2800
+ pathParams: pathParams,
2801
+ headerParams: headerParams,
2802
+ queryParams: queryParams
2803
+ });
2804
+ try {
2805
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
2806
+ const sdkResponse = oci_common_2.composeResponse({
2807
+ responseObject: {},
2808
+ responseHeaders: [
2809
+ {
2810
+ value: response.headers.get("opc-request-id"),
2811
+ key: "opcRequestId",
2812
+ dataType: "string"
2813
+ },
2814
+ {
2815
+ value: response.headers.get("opc-work-request-id"),
2816
+ key: "opcWorkRequestId",
2817
+ dataType: "string"
2818
+ }
2819
+ ]
2820
+ });
2821
+ return sdkResponse;
2822
+ }
2823
+ catch (err) {
2824
+ throw err;
2825
+ }
2826
+ });
2827
+ }
2376
2828
  /**
2377
2829
  * Deletes the specified dynamic group.
2378
2830
  *
@@ -2380,7 +2832,7 @@ class IdentityClient {
2380
2832
  * @param DeleteDynamicGroupRequest
2381
2833
  * @return DeleteDynamicGroupResponse
2382
2834
  * @throws OciError when an error occurs
2383
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteDynamicGroup.ts.html |here} to see how to use DeleteDynamicGroup API.
2835
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteDynamicGroup.ts.html |here} to see how to use DeleteDynamicGroup API.
2384
2836
  */
2385
2837
  deleteDynamicGroup(deleteDynamicGroupRequest) {
2386
2838
  return __awaiter(this, void 0, void 0, function* () {
@@ -2433,7 +2885,7 @@ class IdentityClient {
2433
2885
  * @param DeleteGroupRequest
2434
2886
  * @return DeleteGroupResponse
2435
2887
  * @throws OciError when an error occurs
2436
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteGroup.ts.html |here} to see how to use DeleteGroup API.
2888
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteGroup.ts.html |here} to see how to use DeleteGroup API.
2437
2889
  */
2438
2890
  deleteGroup(deleteGroupRequest) {
2439
2891
  return __awaiter(this, void 0, void 0, function* () {
@@ -2480,15 +2932,17 @@ class IdentityClient {
2480
2932
  });
2481
2933
  }
2482
2934
  /**
2483
- * Deletes the specified identity provider. The identity provider must not have
2484
- * any group mappings (see {@link IdpGroupMapping}).
2485
- *
2486
- * This operation does not retry by default if the user has not defined a retry configuration.
2487
- * @param DeleteIdentityProviderRequest
2488
- * @return DeleteIdentityProviderResponse
2489
- * @throws OciError when an error occurs
2490
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteIdentityProvider.ts.html |here} to see how to use DeleteIdentityProvider API.
2491
- */
2935
+ * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
2936
+ * <p>
2937
+ Deletes the specified identity provider. The identity provider must not have
2938
+ * any group mappings (see {@link IdpGroupMapping}).
2939
+ *
2940
+ * This operation does not retry by default if the user has not defined a retry configuration.
2941
+ * @param DeleteIdentityProviderRequest
2942
+ * @return DeleteIdentityProviderResponse
2943
+ * @throws OciError when an error occurs
2944
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteIdentityProvider.ts.html |here} to see how to use DeleteIdentityProvider API.
2945
+ */
2492
2946
  deleteIdentityProvider(deleteIdentityProviderRequest) {
2493
2947
  return __awaiter(this, void 0, void 0, function* () {
2494
2948
  if (this.logger)
@@ -2534,13 +2988,16 @@ class IdentityClient {
2534
2988
  });
2535
2989
  }
2536
2990
  /**
2537
- * Deletes the specified group mapping.
2538
- * This operation does not retry by default if the user has not defined a retry configuration.
2539
- * @param DeleteIdpGroupMappingRequest
2540
- * @return DeleteIdpGroupMappingResponse
2541
- * @throws OciError when an error occurs
2542
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteIdpGroupMapping.ts.html |here} to see how to use DeleteIdpGroupMapping API.
2543
- */
2991
+ * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
2992
+ * <p>
2993
+ Deletes the specified group mapping.
2994
+ *
2995
+ * This operation does not retry by default if the user has not defined a retry configuration.
2996
+ * @param DeleteIdpGroupMappingRequest
2997
+ * @return DeleteIdpGroupMappingResponse
2998
+ * @throws OciError when an error occurs
2999
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteIdpGroupMapping.ts.html |here} to see how to use DeleteIdpGroupMapping API.
3000
+ */
2544
3001
  deleteIdpGroupMapping(deleteIdpGroupMappingRequest) {
2545
3002
  return __awaiter(this, void 0, void 0, function* () {
2546
3003
  if (this.logger)
@@ -2593,7 +3050,7 @@ class IdentityClient {
2593
3050
  * @param DeleteMfaTotpDeviceRequest
2594
3051
  * @return DeleteMfaTotpDeviceResponse
2595
3052
  * @throws OciError when an error occurs
2596
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteMfaTotpDevice.ts.html |here} to see how to use DeleteMfaTotpDevice API.
3053
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteMfaTotpDevice.ts.html |here} to see how to use DeleteMfaTotpDevice API.
2597
3054
  */
2598
3055
  deleteMfaTotpDevice(deleteMfaTotpDeviceRequest) {
2599
3056
  return __awaiter(this, void 0, void 0, function* () {
@@ -2647,7 +3104,7 @@ class IdentityClient {
2647
3104
  * @param DeleteNetworkSourceRequest
2648
3105
  * @return DeleteNetworkSourceResponse
2649
3106
  * @throws OciError when an error occurs
2650
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteNetworkSource.ts.html |here} to see how to use DeleteNetworkSource API.
3107
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteNetworkSource.ts.html |here} to see how to use DeleteNetworkSource API.
2651
3108
  */
2652
3109
  deleteNetworkSource(deleteNetworkSourceRequest) {
2653
3110
  return __awaiter(this, void 0, void 0, function* () {
@@ -2700,7 +3157,7 @@ class IdentityClient {
2700
3157
  * @param DeleteOAuthClientCredentialRequest
2701
3158
  * @return DeleteOAuthClientCredentialResponse
2702
3159
  * @throws OciError when an error occurs
2703
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteOAuthClientCredential.ts.html |here} to see how to use DeleteOAuthClientCredential API.
3160
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteOAuthClientCredential.ts.html |here} to see how to use DeleteOAuthClientCredential API.
2704
3161
  */
2705
3162
  deleteOAuthClientCredential(deleteOAuthClientCredentialRequest) {
2706
3163
  return __awaiter(this, void 0, void 0, function* () {
@@ -2753,7 +3210,7 @@ class IdentityClient {
2753
3210
  * @param DeletePolicyRequest
2754
3211
  * @return DeletePolicyResponse
2755
3212
  * @throws OciError when an error occurs
2756
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeletePolicy.ts.html |here} to see how to use DeletePolicy API.
3213
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeletePolicy.ts.html |here} to see how to use DeletePolicy API.
2757
3214
  */
2758
3215
  deletePolicy(deletePolicyRequest) {
2759
3216
  return __awaiter(this, void 0, void 0, function* () {
@@ -2806,7 +3263,7 @@ class IdentityClient {
2806
3263
  * @param DeleteSmtpCredentialRequest
2807
3264
  * @return DeleteSmtpCredentialResponse
2808
3265
  * @throws OciError when an error occurs
2809
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteSmtpCredential.ts.html |here} to see how to use DeleteSmtpCredential API.
3266
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteSmtpCredential.ts.html |here} to see how to use DeleteSmtpCredential API.
2810
3267
  */
2811
3268
  deleteSmtpCredential(deleteSmtpCredentialRequest) {
2812
3269
  return __awaiter(this, void 0, void 0, function* () {
@@ -2862,7 +3319,7 @@ class IdentityClient {
2862
3319
  * @param DeleteSwiftPasswordRequest
2863
3320
  * @return DeleteSwiftPasswordResponse
2864
3321
  * @throws OciError when an error occurs
2865
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteSwiftPassword.ts.html |here} to see how to use DeleteSwiftPassword API.
3322
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteSwiftPassword.ts.html |here} to see how to use DeleteSwiftPassword API.
2866
3323
  */
2867
3324
  deleteSwiftPassword(deleteSwiftPasswordRequest) {
2868
3325
  return __awaiter(this, void 0, void 0, function* () {
@@ -2936,7 +3393,7 @@ class IdentityClient {
2936
3393
  * @param DeleteTagRequest
2937
3394
  * @return DeleteTagResponse
2938
3395
  * @throws OciError when an error occurs
2939
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteTag.ts.html |here} to see how to use DeleteTag API.
3396
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteTag.ts.html |here} to see how to use DeleteTag API.
2940
3397
  */
2941
3398
  deleteTag(deleteTagRequest) {
2942
3399
  return __awaiter(this, void 0, void 0, function* () {
@@ -2995,7 +3452,7 @@ class IdentityClient {
2995
3452
  * @param DeleteTagDefaultRequest
2996
3453
  * @return DeleteTagDefaultResponse
2997
3454
  * @throws OciError when an error occurs
2998
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteTagDefault.ts.html |here} to see how to use DeleteTagDefault API.
3455
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteTagDefault.ts.html |here} to see how to use DeleteTagDefault API.
2999
3456
  */
3000
3457
  deleteTagDefault(deleteTagDefaultRequest) {
3001
3458
  return __awaiter(this, void 0, void 0, function* () {
@@ -3055,7 +3512,7 @@ class IdentityClient {
3055
3512
  * @param DeleteTagNamespaceRequest
3056
3513
  * @return DeleteTagNamespaceResponse
3057
3514
  * @throws OciError when an error occurs
3058
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteTagNamespace.ts.html |here} to see how to use DeleteTagNamespace API.
3515
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteTagNamespace.ts.html |here} to see how to use DeleteTagNamespace API.
3059
3516
  */
3060
3517
  deleteTagNamespace(deleteTagNamespaceRequest) {
3061
3518
  return __awaiter(this, void 0, void 0, function* () {
@@ -3108,7 +3565,7 @@ class IdentityClient {
3108
3565
  * @param DeleteUserRequest
3109
3566
  * @return DeleteUserResponse
3110
3567
  * @throws OciError when an error occurs
3111
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/DeleteUser.ts.html |here} to see how to use DeleteUser API.
3568
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/DeleteUser.ts.html |here} to see how to use DeleteUser API.
3112
3569
  */
3113
3570
  deleteUser(deleteUserRequest) {
3114
3571
  return __awaiter(this, void 0, void 0, function* () {
@@ -3154,6 +3611,79 @@ class IdentityClient {
3154
3611
  }
3155
3612
  });
3156
3613
  }
3614
+ /**
3615
+ * Replicate domain to a new region. This is an asynchronous call - where, at start,
3616
+ * {@code state} of this domain in replica region is set to ENABLING_REPLICATION.
3617
+ * On domain replication completion the {@code state} will be set to REPLICATION_ENABLED.
3618
+ * <p>
3619
+ To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
3620
+ * the async operation's status.
3621
+ * <p>
3622
+ If the replica region's {@code state} is already ENABLING_REPLICATION or REPLICATION_ENABLED,
3623
+ * returns 409 CONFLICT.
3624
+ * - If the domain doesn't exists, returns 404 NOT FOUND.
3625
+ * - If home region is same as replication region, return 400 BAD REQUEST.
3626
+ * - If Domain is not active or being updated, returns 400 BAD REQUEST.
3627
+ * - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
3628
+ *
3629
+ * This operation does not retry by default if the user has not defined a retry configuration.
3630
+ * @param EnableReplicationToRegionRequest
3631
+ * @return EnableReplicationToRegionResponse
3632
+ * @throws OciError when an error occurs
3633
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/EnableReplicationToRegion.ts.html |here} to see how to use EnableReplicationToRegion API.
3634
+ */
3635
+ enableReplicationToRegion(enableReplicationToRegionRequest) {
3636
+ return __awaiter(this, void 0, void 0, function* () {
3637
+ if (this.logger)
3638
+ this.logger.debug("Calling operation IdentityClient#enableReplicationToRegion.");
3639
+ const pathParams = {
3640
+ "{domainId}": enableReplicationToRegionRequest.domainId
3641
+ };
3642
+ const queryParams = {};
3643
+ let headerParams = {
3644
+ "Content-Type": common.Constants.APPLICATION_JSON,
3645
+ "opc-request-id": enableReplicationToRegionRequest.opcRequestId,
3646
+ "opc-retry-token": enableReplicationToRegionRequest.opcRetryToken,
3647
+ "if-match": enableReplicationToRegionRequest.ifMatch
3648
+ };
3649
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3650
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableReplicationToRegionRequest.retryConfiguration, specRetryConfiguration);
3651
+ if (this.logger)
3652
+ retrier.logger = this.logger;
3653
+ const request = yield oci_common_2.composeRequest({
3654
+ baseEndpoint: this._endpoint,
3655
+ defaultHeaders: this._defaultHeaders,
3656
+ path: "/domains/{domainId}/actions/enableReplicationToRegion",
3657
+ method: "POST",
3658
+ bodyContent: common.ObjectSerializer.serialize(enableReplicationToRegionRequest.enableReplicationToRegionDetails, "EnableReplicationToRegionDetails", model.EnableReplicationToRegionDetails.getJsonObj),
3659
+ pathParams: pathParams,
3660
+ headerParams: headerParams,
3661
+ queryParams: queryParams
3662
+ });
3663
+ try {
3664
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3665
+ const sdkResponse = oci_common_2.composeResponse({
3666
+ responseObject: {},
3667
+ responseHeaders: [
3668
+ {
3669
+ value: response.headers.get("opc-request-id"),
3670
+ key: "opcRequestId",
3671
+ dataType: "string"
3672
+ },
3673
+ {
3674
+ value: response.headers.get("opc-work-request-id"),
3675
+ key: "opcWorkRequestId",
3676
+ dataType: "string"
3677
+ }
3678
+ ]
3679
+ });
3680
+ return sdkResponse;
3681
+ }
3682
+ catch (err) {
3683
+ throw err;
3684
+ }
3685
+ });
3686
+ }
3157
3687
  /**
3158
3688
  * Generate seed for the MFA TOTP device.
3159
3689
  *
@@ -3161,7 +3691,7 @@ class IdentityClient {
3161
3691
  * @param GenerateTotpSeedRequest
3162
3692
  * @return GenerateTotpSeedResponse
3163
3693
  * @throws OciError when an error occurs
3164
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GenerateTotpSeed.ts.html |here} to see how to use GenerateTotpSeed API.
3694
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GenerateTotpSeed.ts.html |here} to see how to use GenerateTotpSeed API.
3165
3695
  */
3166
3696
  generateTotpSeed(generateTotpSeedRequest) {
3167
3697
  return __awaiter(this, void 0, void 0, function* () {
@@ -3225,7 +3755,7 @@ class IdentityClient {
3225
3755
  * @param GetAuthenticationPolicyRequest
3226
3756
  * @return GetAuthenticationPolicyResponse
3227
3757
  * @throws OciError when an error occurs
3228
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetAuthenticationPolicy.ts.html |here} to see how to use GetAuthenticationPolicy API.
3758
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetAuthenticationPolicy.ts.html |here} to see how to use GetAuthenticationPolicy API.
3229
3759
  */
3230
3760
  getAuthenticationPolicy(getAuthenticationPolicyRequest) {
3231
3761
  return __awaiter(this, void 0, void 0, function* () {
@@ -3293,7 +3823,7 @@ class IdentityClient {
3293
3823
  * @param GetCompartmentRequest
3294
3824
  * @return GetCompartmentResponse
3295
3825
  * @throws OciError when an error occurs
3296
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetCompartment.ts.html |here} to see how to use GetCompartment API.
3826
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetCompartment.ts.html |here} to see how to use GetCompartment API.
3297
3827
  */
3298
3828
  getCompartment(getCompartmentRequest) {
3299
3829
  return __awaiter(this, void 0, void 0, function* () {
@@ -3347,6 +3877,71 @@ class IdentityClient {
3347
3877
  }
3348
3878
  });
3349
3879
  }
3880
+ /**
3881
+ * Get the specified domain's information.
3882
+ * <p>
3883
+ - If the domain doesn't exists, returns 404 NOT FOUND.
3884
+ * - If any internal error occurs, returns 500 INTERNAL SERVER ERROR.
3885
+ *
3886
+ * This operation does not retry by default if the user has not defined a retry configuration.
3887
+ * @param GetDomainRequest
3888
+ * @return GetDomainResponse
3889
+ * @throws OciError when an error occurs
3890
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetDomain.ts.html |here} to see how to use GetDomain API.
3891
+ */
3892
+ getDomain(getDomainRequest) {
3893
+ return __awaiter(this, void 0, void 0, function* () {
3894
+ if (this.logger)
3895
+ this.logger.debug("Calling operation IdentityClient#getDomain.");
3896
+ const pathParams = {
3897
+ "{domainId}": getDomainRequest.domainId
3898
+ };
3899
+ const queryParams = {};
3900
+ let headerParams = {
3901
+ "Content-Type": common.Constants.APPLICATION_JSON,
3902
+ "opc-request-id": getDomainRequest.opcRequestId
3903
+ };
3904
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3905
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDomainRequest.retryConfiguration, specRetryConfiguration);
3906
+ if (this.logger)
3907
+ retrier.logger = this.logger;
3908
+ const request = yield oci_common_2.composeRequest({
3909
+ baseEndpoint: this._endpoint,
3910
+ defaultHeaders: this._defaultHeaders,
3911
+ path: "/domains/{domainId}",
3912
+ method: "GET",
3913
+ pathParams: pathParams,
3914
+ headerParams: headerParams,
3915
+ queryParams: queryParams
3916
+ });
3917
+ try {
3918
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3919
+ const sdkResponse = oci_common_2.composeResponse({
3920
+ responseObject: {},
3921
+ body: yield response.json(),
3922
+ bodyKey: "domain",
3923
+ bodyModel: model.Domain,
3924
+ type: "model.Domain",
3925
+ responseHeaders: [
3926
+ {
3927
+ value: response.headers.get("opc-request-id"),
3928
+ key: "opcRequestId",
3929
+ dataType: "string"
3930
+ },
3931
+ {
3932
+ value: response.headers.get("etag"),
3933
+ key: "etag",
3934
+ dataType: "string"
3935
+ }
3936
+ ]
3937
+ });
3938
+ return sdkResponse;
3939
+ }
3940
+ catch (err) {
3941
+ throw err;
3942
+ }
3943
+ });
3944
+ }
3350
3945
  /**
3351
3946
  * Gets the specified dynamic group's information.
3352
3947
  *
@@ -3354,7 +3949,7 @@ class IdentityClient {
3354
3949
  * @param GetDynamicGroupRequest
3355
3950
  * @return GetDynamicGroupResponse
3356
3951
  * @throws OciError when an error occurs
3357
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetDynamicGroup.ts.html |here} to see how to use GetDynamicGroup API.
3952
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetDynamicGroup.ts.html |here} to see how to use GetDynamicGroup API.
3358
3953
  */
3359
3954
  getDynamicGroup(getDynamicGroupRequest) {
3360
3955
  return __awaiter(this, void 0, void 0, function* () {
@@ -3419,7 +4014,7 @@ class IdentityClient {
3419
4014
  * @param GetGroupRequest
3420
4015
  * @return GetGroupResponse
3421
4016
  * @throws OciError when an error occurs
3422
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetGroup.ts.html |here} to see how to use GetGroup API.
4017
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetGroup.ts.html |here} to see how to use GetGroup API.
3423
4018
  */
3424
4019
  getGroup(getGroupRequest) {
3425
4020
  return __awaiter(this, void 0, void 0, function* () {
@@ -3474,32 +4069,38 @@ class IdentityClient {
3474
4069
  });
3475
4070
  }
3476
4071
  /**
3477
- * Gets the specified identity provider's information.
3478
- * This operation does not retry by default if the user has not defined a retry configuration.
3479
- * @param GetIdentityProviderRequest
3480
- * @return GetIdentityProviderResponse
3481
- * @throws OciError when an error occurs
3482
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetIdentityProvider.ts.html |here} to see how to use GetIdentityProvider API.
3483
- */
3484
- getIdentityProvider(getIdentityProviderRequest) {
4072
+ * Gets details on a specified IAM work request. For asynchronous operations in Identity and Access Management service, opc-work-request-id header values contains
4073
+ * iam work request id that can be provided in this API to track the current status of the operation.
4074
+ * <p>
4075
+ - If workrequest exists, returns 202 ACCEPTED
4076
+ * - If workrequest does not exist, returns 404 NOT FOUND
4077
+ *
4078
+ * This operation does not retry by default if the user has not defined a retry configuration.
4079
+ * @param GetIamWorkRequestRequest
4080
+ * @return GetIamWorkRequestResponse
4081
+ * @throws OciError when an error occurs
4082
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetIamWorkRequest.ts.html |here} to see how to use GetIamWorkRequest API.
4083
+ */
4084
+ getIamWorkRequest(getIamWorkRequestRequest) {
3485
4085
  return __awaiter(this, void 0, void 0, function* () {
3486
4086
  if (this.logger)
3487
- this.logger.debug("Calling operation IdentityClient#getIdentityProvider.");
4087
+ this.logger.debug("Calling operation IdentityClient#getIamWorkRequest.");
3488
4088
  const pathParams = {
3489
- "{identityProviderId}": getIdentityProviderRequest.identityProviderId
4089
+ "{iamWorkRequestId}": getIamWorkRequestRequest.iamWorkRequestId
3490
4090
  };
3491
4091
  const queryParams = {};
3492
4092
  let headerParams = {
3493
- "Content-Type": common.Constants.APPLICATION_JSON
4093
+ "Content-Type": common.Constants.APPLICATION_JSON,
4094
+ "opc-request-id": getIamWorkRequestRequest.opcRequestId
3494
4095
  };
3495
4096
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3496
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getIdentityProviderRequest.retryConfiguration, specRetryConfiguration);
4097
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getIamWorkRequestRequest.retryConfiguration, specRetryConfiguration);
3497
4098
  if (this.logger)
3498
4099
  retrier.logger = this.logger;
3499
4100
  const request = yield oci_common_2.composeRequest({
3500
4101
  baseEndpoint: this._endpoint,
3501
4102
  defaultHeaders: this._defaultHeaders,
3502
- path: "/identityProviders/{identityProviderId}",
4103
+ path: "/iamWorkRequests/{iamWorkRequestId}",
3503
4104
  method: "GET",
3504
4105
  pathParams: pathParams,
3505
4106
  headerParams: headerParams,
@@ -3510,19 +4111,14 @@ class IdentityClient {
3510
4111
  const sdkResponse = oci_common_2.composeResponse({
3511
4112
  responseObject: {},
3512
4113
  body: yield response.json(),
3513
- bodyKey: "identityProvider",
3514
- bodyModel: model.IdentityProvider,
3515
- type: "model.IdentityProvider",
4114
+ bodyKey: "iamWorkRequest",
4115
+ bodyModel: model.IamWorkRequest,
4116
+ type: "model.IamWorkRequest",
3516
4117
  responseHeaders: [
3517
4118
  {
3518
4119
  value: response.headers.get("opc-request-id"),
3519
4120
  key: "opcRequestId",
3520
4121
  dataType: "string"
3521
- },
3522
- {
3523
- value: response.headers.get("etag"),
3524
- key: "etag",
3525
- dataType: "string"
3526
4122
  }
3527
4123
  ]
3528
4124
  });
@@ -3534,14 +4130,80 @@ class IdentityClient {
3534
4130
  });
3535
4131
  }
3536
4132
  /**
3537
- * Gets the specified group mapping.
3538
- * This operation does not retry by default if the user has not defined a retry configuration.
3539
- * @param GetIdpGroupMappingRequest
3540
- * @return GetIdpGroupMappingResponse
3541
- * @throws OciError when an error occurs
3542
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetIdpGroupMapping.ts.html |here} to see how to use GetIdpGroupMapping API.
3543
- */
3544
- getIdpGroupMapping(getIdpGroupMappingRequest) {
4133
+ * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
4134
+ * <p>
4135
+ Gets the specified identity provider's information.
4136
+ *
4137
+ * This operation does not retry by default if the user has not defined a retry configuration.
4138
+ * @param GetIdentityProviderRequest
4139
+ * @return GetIdentityProviderResponse
4140
+ * @throws OciError when an error occurs
4141
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetIdentityProvider.ts.html |here} to see how to use GetIdentityProvider API.
4142
+ */
4143
+ getIdentityProvider(getIdentityProviderRequest) {
4144
+ return __awaiter(this, void 0, void 0, function* () {
4145
+ if (this.logger)
4146
+ this.logger.debug("Calling operation IdentityClient#getIdentityProvider.");
4147
+ const pathParams = {
4148
+ "{identityProviderId}": getIdentityProviderRequest.identityProviderId
4149
+ };
4150
+ const queryParams = {};
4151
+ let headerParams = {
4152
+ "Content-Type": common.Constants.APPLICATION_JSON
4153
+ };
4154
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4155
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getIdentityProviderRequest.retryConfiguration, specRetryConfiguration);
4156
+ if (this.logger)
4157
+ retrier.logger = this.logger;
4158
+ const request = yield oci_common_2.composeRequest({
4159
+ baseEndpoint: this._endpoint,
4160
+ defaultHeaders: this._defaultHeaders,
4161
+ path: "/identityProviders/{identityProviderId}",
4162
+ method: "GET",
4163
+ pathParams: pathParams,
4164
+ headerParams: headerParams,
4165
+ queryParams: queryParams
4166
+ });
4167
+ try {
4168
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
4169
+ const sdkResponse = oci_common_2.composeResponse({
4170
+ responseObject: {},
4171
+ body: yield response.json(),
4172
+ bodyKey: "identityProvider",
4173
+ bodyModel: model.IdentityProvider,
4174
+ type: "model.IdentityProvider",
4175
+ responseHeaders: [
4176
+ {
4177
+ value: response.headers.get("opc-request-id"),
4178
+ key: "opcRequestId",
4179
+ dataType: "string"
4180
+ },
4181
+ {
4182
+ value: response.headers.get("etag"),
4183
+ key: "etag",
4184
+ dataType: "string"
4185
+ }
4186
+ ]
4187
+ });
4188
+ return sdkResponse;
4189
+ }
4190
+ catch (err) {
4191
+ throw err;
4192
+ }
4193
+ });
4194
+ }
4195
+ /**
4196
+ * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
4197
+ * <p>
4198
+ Gets the specified group mapping.
4199
+ *
4200
+ * This operation does not retry by default if the user has not defined a retry configuration.
4201
+ * @param GetIdpGroupMappingRequest
4202
+ * @return GetIdpGroupMappingResponse
4203
+ * @throws OciError when an error occurs
4204
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetIdpGroupMapping.ts.html |here} to see how to use GetIdpGroupMapping API.
4205
+ */
4206
+ getIdpGroupMapping(getIdpGroupMappingRequest) {
3545
4207
  return __awaiter(this, void 0, void 0, function* () {
3546
4208
  if (this.logger)
3547
4209
  this.logger.debug("Calling operation IdentityClient#getIdpGroupMapping.");
@@ -3601,7 +4263,7 @@ class IdentityClient {
3601
4263
  * @param GetMfaTotpDeviceRequest
3602
4264
  * @return GetMfaTotpDeviceResponse
3603
4265
  * @throws OciError when an error occurs
3604
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetMfaTotpDevice.ts.html |here} to see how to use GetMfaTotpDevice API.
4266
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetMfaTotpDevice.ts.html |here} to see how to use GetMfaTotpDevice API.
3605
4267
  */
3606
4268
  getMfaTotpDevice(getMfaTotpDeviceRequest) {
3607
4269
  return __awaiter(this, void 0, void 0, function* () {
@@ -3663,7 +4325,7 @@ class IdentityClient {
3663
4325
  * @param GetNetworkSourceRequest
3664
4326
  * @return GetNetworkSourceResponse
3665
4327
  * @throws OciError when an error occurs
3666
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetNetworkSource.ts.html |here} to see how to use GetNetworkSource API.
4328
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetNetworkSource.ts.html |here} to see how to use GetNetworkSource API.
3667
4329
  */
3668
4330
  getNetworkSource(getNetworkSourceRequest) {
3669
4331
  return __awaiter(this, void 0, void 0, function* () {
@@ -3723,7 +4385,7 @@ class IdentityClient {
3723
4385
  * @param GetPolicyRequest
3724
4386
  * @return GetPolicyResponse
3725
4387
  * @throws OciError when an error occurs
3726
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetPolicy.ts.html |here} to see how to use GetPolicy API.
4388
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetPolicy.ts.html |here} to see how to use GetPolicy API.
3727
4389
  */
3728
4390
  getPolicy(getPolicyRequest) {
3729
4391
  return __awaiter(this, void 0, void 0, function* () {
@@ -3783,7 +4445,7 @@ class IdentityClient {
3783
4445
  * @param GetTagRequest
3784
4446
  * @return GetTagResponse
3785
4447
  * @throws OciError when an error occurs
3786
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetTag.ts.html |here} to see how to use GetTag API.
4448
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetTag.ts.html |here} to see how to use GetTag API.
3787
4449
  */
3788
4450
  getTag(getTagRequest) {
3789
4451
  return __awaiter(this, void 0, void 0, function* () {
@@ -3845,7 +4507,7 @@ class IdentityClient {
3845
4507
  * @param GetTagDefaultRequest
3846
4508
  * @return GetTagDefaultResponse
3847
4509
  * @throws OciError when an error occurs
3848
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetTagDefault.ts.html |here} to see how to use GetTagDefault API.
4510
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetTagDefault.ts.html |here} to see how to use GetTagDefault API.
3849
4511
  */
3850
4512
  getTagDefault(getTagDefaultRequest) {
3851
4513
  return __awaiter(this, void 0, void 0, function* () {
@@ -3906,7 +4568,7 @@ class IdentityClient {
3906
4568
  * @param GetTagNamespaceRequest
3907
4569
  * @return GetTagNamespaceResponse
3908
4570
  * @throws OciError when an error occurs
3909
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetTagNamespace.ts.html |here} to see how to use GetTagNamespace API.
4571
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetTagNamespace.ts.html |here} to see how to use GetTagNamespace API.
3910
4572
  */
3911
4573
  getTagNamespace(getTagNamespaceRequest) {
3912
4574
  return __awaiter(this, void 0, void 0, function* () {
@@ -3957,13 +4619,13 @@ class IdentityClient {
3957
4619
  }
3958
4620
  /**
3959
4621
  * Gets details on a specified work request. The workRequestID is returned in the opc-workrequest-id header
3960
- * for any asynchronous operation in the Identity and Access Management service.
4622
+ * for any asynchronous operation in tagging service.
3961
4623
  *
3962
4624
  * This operation does not retry by default if the user has not defined a retry configuration.
3963
4625
  * @param GetTaggingWorkRequestRequest
3964
4626
  * @return GetTaggingWorkRequestResponse
3965
4627
  * @throws OciError when an error occurs
3966
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetTaggingWorkRequest.ts.html |here} to see how to use GetTaggingWorkRequest API.
4628
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetTaggingWorkRequest.ts.html |here} to see how to use GetTaggingWorkRequest API.
3967
4629
  */
3968
4630
  getTaggingWorkRequest(getTaggingWorkRequestRequest) {
3969
4631
  return __awaiter(this, void 0, void 0, function* () {
@@ -4023,7 +4685,7 @@ class IdentityClient {
4023
4685
  * @param GetTenancyRequest
4024
4686
  * @return GetTenancyResponse
4025
4687
  * @throws OciError when an error occurs
4026
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetTenancy.ts.html |here} to see how to use GetTenancy API.
4688
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetTenancy.ts.html |here} to see how to use GetTenancy API.
4027
4689
  */
4028
4690
  getTenancy(getTenancyRequest) {
4029
4691
  return __awaiter(this, void 0, void 0, function* () {
@@ -4078,7 +4740,7 @@ class IdentityClient {
4078
4740
  * @param GetUserRequest
4079
4741
  * @return GetUserResponse
4080
4742
  * @throws OciError when an error occurs
4081
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetUser.ts.html |here} to see how to use GetUser API.
4743
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetUser.ts.html |here} to see how to use GetUser API.
4082
4744
  */
4083
4745
  getUser(getUserRequest) {
4084
4746
  return __awaiter(this, void 0, void 0, function* () {
@@ -4138,7 +4800,7 @@ class IdentityClient {
4138
4800
  * @param GetUserGroupMembershipRequest
4139
4801
  * @return GetUserGroupMembershipResponse
4140
4802
  * @throws OciError when an error occurs
4141
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetUserGroupMembership.ts.html |here} to see how to use GetUserGroupMembership API.
4803
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetUserGroupMembership.ts.html |here} to see how to use GetUserGroupMembership API.
4142
4804
  */
4143
4805
  getUserGroupMembership(getUserGroupMembershipRequest) {
4144
4806
  return __awaiter(this, void 0, void 0, function* () {
@@ -4200,7 +4862,7 @@ class IdentityClient {
4200
4862
  * @param GetUserUIPasswordInformationRequest
4201
4863
  * @return GetUserUIPasswordInformationResponse
4202
4864
  * @throws OciError when an error occurs
4203
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetUserUIPasswordInformation.ts.html |here} to see how to use GetUserUIPasswordInformation API.
4865
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetUserUIPasswordInformation.ts.html |here} to see how to use GetUserUIPasswordInformation API.
4204
4866
  */
4205
4867
  getUserUIPasswordInformation(getUserUIPasswordInformationRequest) {
4206
4868
  return __awaiter(this, void 0, void 0, function* () {
@@ -4256,13 +4918,13 @@ class IdentityClient {
4256
4918
  }
4257
4919
  /**
4258
4920
  * Gets details on a specified work request. The workRequestID is returned in the opc-workrequest-id header
4259
- * for any asynchronous operation in the Identity and Access Management service.
4921
+ * for any asynchronous operation in the compartment service.
4260
4922
  *
4261
4923
  * This operation does not retry by default if the user has not defined a retry configuration.
4262
4924
  * @param GetWorkRequestRequest
4263
4925
  * @return GetWorkRequestResponse
4264
4926
  * @throws OciError when an error occurs
4265
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
4927
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
4266
4928
  */
4267
4929
  getWorkRequest(getWorkRequestRequest) {
4268
4930
  return __awaiter(this, void 0, void 0, function* () {
@@ -4316,6 +4978,74 @@ class IdentityClient {
4316
4978
  }
4317
4979
  });
4318
4980
  }
4981
+ /**
4982
+ * List the allowed domain license types supported by OCI
4983
+ * If {@code currentLicenseTypeName} provided, returns allowed license types a domain with the specified license type name can migrate to.
4984
+ * If {@code name} is provided, it filters and returns resources that match the given license type name.
4985
+ * Otherwise, returns all valid license types that are currently supported.
4986
+ * <p>
4987
+ - If license type details are retrieved sucessfully, return 202 ACCEPTED.
4988
+ * - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
4989
+ *
4990
+ * This operation does not retry by default if the user has not defined a retry configuration.
4991
+ * @param ListAllowedDomainLicenseTypesRequest
4992
+ * @return ListAllowedDomainLicenseTypesResponse
4993
+ * @throws OciError when an error occurs
4994
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListAllowedDomainLicenseTypes.ts.html |here} to see how to use ListAllowedDomainLicenseTypes API.
4995
+ */
4996
+ listAllowedDomainLicenseTypes(listAllowedDomainLicenseTypesRequest) {
4997
+ return __awaiter(this, void 0, void 0, function* () {
4998
+ if (this.logger)
4999
+ this.logger.debug("Calling operation IdentityClient#listAllowedDomainLicenseTypes.");
5000
+ const pathParams = {};
5001
+ const queryParams = {
5002
+ "currentLicenseTypeName": listAllowedDomainLicenseTypesRequest.currentLicenseTypeName
5003
+ };
5004
+ let headerParams = {
5005
+ "Content-Type": common.Constants.APPLICATION_JSON,
5006
+ "opc-request-id": listAllowedDomainLicenseTypesRequest.opcRequestId
5007
+ };
5008
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5009
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAllowedDomainLicenseTypesRequest.retryConfiguration, specRetryConfiguration);
5010
+ if (this.logger)
5011
+ retrier.logger = this.logger;
5012
+ const request = yield oci_common_2.composeRequest({
5013
+ baseEndpoint: this._endpoint,
5014
+ defaultHeaders: this._defaultHeaders,
5015
+ path: "/allowedDomainLicenseTypes",
5016
+ method: "GET",
5017
+ pathParams: pathParams,
5018
+ headerParams: headerParams,
5019
+ queryParams: queryParams
5020
+ });
5021
+ try {
5022
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
5023
+ const sdkResponse = oci_common_2.composeResponse({
5024
+ responseObject: {},
5025
+ body: yield response.json(),
5026
+ bodyKey: "items",
5027
+ bodyModel: model.AllowedDomainLicenseTypeSummary,
5028
+ type: "Array<model.AllowedDomainLicenseTypeSummary>",
5029
+ responseHeaders: [
5030
+ {
5031
+ value: response.headers.get("opc-request-id"),
5032
+ key: "opcRequestId",
5033
+ dataType: "string"
5034
+ },
5035
+ {
5036
+ value: response.headers.get("opc-next-page"),
5037
+ key: "opcNextPage",
5038
+ dataType: "string"
5039
+ }
5040
+ ]
5041
+ });
5042
+ return sdkResponse;
5043
+ }
5044
+ catch (err) {
5045
+ throw err;
5046
+ }
5047
+ });
5048
+ }
4319
5049
  /**
4320
5050
  * Lists the API signing keys for the specified user. A user can have a maximum of three keys.
4321
5051
  * <p>
@@ -4326,7 +5056,7 @@ class IdentityClient {
4326
5056
  * @param ListApiKeysRequest
4327
5057
  * @return ListApiKeysResponse
4328
5058
  * @throws OciError when an error occurs
4329
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListApiKeys.ts.html |here} to see how to use ListApiKeys API.
5059
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListApiKeys.ts.html |here} to see how to use ListApiKeys API.
4330
5060
  */
4331
5061
  listApiKeys(listApiKeysRequest) {
4332
5062
  return __awaiter(this, void 0, void 0, function* () {
@@ -4388,7 +5118,7 @@ class IdentityClient {
4388
5118
  * @param ListAuthTokensRequest
4389
5119
  * @return ListAuthTokensResponse
4390
5120
  * @throws OciError when an error occurs
4391
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListAuthTokens.ts.html |here} to see how to use ListAuthTokens API.
5121
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListAuthTokens.ts.html |here} to see how to use ListAuthTokens API.
4392
5122
  */
4393
5123
  listAuthTokens(listAuthTokensRequest) {
4394
5124
  return __awaiter(this, void 0, void 0, function* () {
@@ -4453,7 +5183,7 @@ class IdentityClient {
4453
5183
  * @param ListAvailabilityDomainsRequest
4454
5184
  * @return ListAvailabilityDomainsResponse
4455
5185
  * @throws OciError when an error occurs
4456
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListAvailabilityDomains.ts.html |here} to see how to use ListAvailabilityDomains API.
5186
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListAvailabilityDomains.ts.html |here} to see how to use ListAvailabilityDomains API.
4457
5187
  */
4458
5188
  listAvailabilityDomains(listAvailabilityDomainsRequest) {
4459
5189
  return __awaiter(this, void 0, void 0, function* () {
@@ -4520,7 +5250,7 @@ class IdentityClient {
4520
5250
  * @param ListBulkActionResourceTypesRequest
4521
5251
  * @return ListBulkActionResourceTypesResponse
4522
5252
  * @throws OciError when an error occurs
4523
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListBulkActionResourceTypes.ts.html |here} to see how to use ListBulkActionResourceTypes API.
5253
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListBulkActionResourceTypes.ts.html |here} to see how to use ListBulkActionResourceTypes API.
4524
5254
  */
4525
5255
  listBulkActionResourceTypes(listBulkActionResourceTypesRequest) {
4526
5256
  return __awaiter(this, void 0, void 0, function* () {
@@ -4583,7 +5313,7 @@ class IdentityClient {
4583
5313
  * @param ListBulkEditTagsResourceTypesRequest
4584
5314
  * @return ListBulkEditTagsResourceTypesResponse
4585
5315
  * @throws OciError when an error occurs
4586
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListBulkEditTagsResourceTypes.ts.html |here} to see how to use ListBulkEditTagsResourceTypes API.
5316
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListBulkEditTagsResourceTypes.ts.html |here} to see how to use ListBulkEditTagsResourceTypes API.
4587
5317
  */
4588
5318
  listBulkEditTagsResourceTypes(listBulkEditTagsResourceTypesRequest) {
4589
5319
  return __awaiter(this, void 0, void 0, function* () {
@@ -4662,7 +5392,7 @@ class IdentityClient {
4662
5392
  * @param ListCompartmentsRequest
4663
5393
  * @return ListCompartmentsResponse
4664
5394
  * @throws OciError when an error occurs
4665
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListCompartments.ts.html |here} to see how to use ListCompartments API.
5395
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListCompartments.ts.html |here} to see how to use ListCompartments API.
4666
5396
  */
4667
5397
  listCompartments(listCompartmentsRequest) {
4668
5398
  return __awaiter(this, void 0, void 0, function* () {
@@ -4772,7 +5502,7 @@ class IdentityClient {
4772
5502
  * @param ListCostTrackingTagsRequest
4773
5503
  * @return ListCostTrackingTagsResponse
4774
5504
  * @throws OciError when an error occurs
4775
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListCostTrackingTags.ts.html |here} to see how to use ListCostTrackingTags API.
5505
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListCostTrackingTags.ts.html |here} to see how to use ListCostTrackingTags API.
4776
5506
  */
4777
5507
  listCostTrackingTags(listCostTrackingTagsRequest) {
4778
5508
  return __awaiter(this, void 0, void 0, function* () {
@@ -4876,7 +5606,7 @@ class IdentityClient {
4876
5606
  * @param ListCustomerSecretKeysRequest
4877
5607
  * @return ListCustomerSecretKeysResponse
4878
5608
  * @throws OciError when an error occurs
4879
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListCustomerSecretKeys.ts.html |here} to see how to use ListCustomerSecretKeys API.
5609
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListCustomerSecretKeys.ts.html |here} to see how to use ListCustomerSecretKeys API.
4880
5610
  */
4881
5611
  listCustomerSecretKeys(listCustomerSecretKeysRequest) {
4882
5612
  return __awaiter(this, void 0, void 0, function* () {
@@ -4930,42 +5660,435 @@ class IdentityClient {
4930
5660
  }
4931
5661
  });
4932
5662
  }
5663
+ /**
5664
+ * List all domains that are homed or have a replica region in current region.
5665
+ * - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
5666
+ *
5667
+ * This operation does not retry by default if the user has not defined a retry configuration.
5668
+ * @param ListDomainsRequest
5669
+ * @return ListDomainsResponse
5670
+ * @throws OciError when an error occurs
5671
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListDomains.ts.html |here} to see how to use ListDomains API.
5672
+ */
5673
+ listDomains(listDomainsRequest) {
5674
+ return __awaiter(this, void 0, void 0, function* () {
5675
+ if (this.logger)
5676
+ this.logger.debug("Calling operation IdentityClient#listDomains.");
5677
+ const pathParams = {};
5678
+ const queryParams = {
5679
+ "compartmentId": listDomainsRequest.compartmentId,
5680
+ "displayName": listDomainsRequest.displayName,
5681
+ "url": listDomainsRequest.url,
5682
+ "homeRegionUrl": listDomainsRequest.homeRegionUrl,
5683
+ "type": listDomainsRequest.type,
5684
+ "licenseType": listDomainsRequest.licenseType,
5685
+ "isHiddenOnLogin": listDomainsRequest.isHiddenOnLogin,
5686
+ "page": listDomainsRequest.page,
5687
+ "limit": listDomainsRequest.limit,
5688
+ "name": listDomainsRequest.name,
5689
+ "sortBy": listDomainsRequest.sortBy,
5690
+ "sortOrder": listDomainsRequest.sortOrder,
5691
+ "lifecycleState": listDomainsRequest.lifecycleState
5692
+ };
5693
+ let headerParams = {
5694
+ "Content-Type": common.Constants.APPLICATION_JSON,
5695
+ "opc-request-id": listDomainsRequest.opcRequestId
5696
+ };
5697
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5698
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDomainsRequest.retryConfiguration, specRetryConfiguration);
5699
+ if (this.logger)
5700
+ retrier.logger = this.logger;
5701
+ const request = yield oci_common_2.composeRequest({
5702
+ baseEndpoint: this._endpoint,
5703
+ defaultHeaders: this._defaultHeaders,
5704
+ path: "/domains",
5705
+ method: "GET",
5706
+ pathParams: pathParams,
5707
+ headerParams: headerParams,
5708
+ queryParams: queryParams
5709
+ });
5710
+ try {
5711
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
5712
+ const sdkResponse = oci_common_2.composeResponse({
5713
+ responseObject: {},
5714
+ body: yield response.json(),
5715
+ bodyKey: "items",
5716
+ bodyModel: model.DomainSummary,
5717
+ type: "Array<model.DomainSummary>",
5718
+ responseHeaders: [
5719
+ {
5720
+ value: response.headers.get("opc-request-id"),
5721
+ key: "opcRequestId",
5722
+ dataType: "string"
5723
+ },
5724
+ {
5725
+ value: response.headers.get("opc-next-page"),
5726
+ key: "opcNextPage",
5727
+ dataType: "string"
5728
+ }
5729
+ ]
5730
+ });
5731
+ return sdkResponse;
5732
+ }
5733
+ catch (err) {
5734
+ throw err;
5735
+ }
5736
+ });
5737
+ }
5738
+ /**
5739
+ * NOTE: This function is deprecated in favor of listDomainsRecordIterator function.
5740
+ * Creates a new async iterator which will iterate over the models.DomainSummary objects
5741
+ * contained in responses from the listDomains operation. This iterator will fetch more data from the
5742
+ * server as needed.
5743
+ *
5744
+ * @param request a request which can be sent to the service operation
5745
+ */
5746
+ listAllDomains(request) {
5747
+ return oci_common_1.paginateRecords(request, req => this.listDomains(req));
5748
+ }
5749
+ /**
5750
+ * NOTE: This function is deprecated in favor of listDomainsResponseIterator function.
5751
+ * Creates a new async iterator which will iterate over the responses received from the listDomains operation. This iterator
5752
+ * will fetch more data from the server as needed.
5753
+ *
5754
+ * @param request a request which can be sent to the service operation
5755
+ */
5756
+ listAllDomainsResponses(request) {
5757
+ return oci_common_1.paginateResponses(request, req => this.listDomains(req));
5758
+ }
5759
+ /**
5760
+ * Creates a new async iterator which will iterate over the models.DomainSummary objects
5761
+ * contained in responses from the listDomains operation. This iterator will fetch more data from the
5762
+ * server as needed.
5763
+ *
5764
+ * @param request a request which can be sent to the service operation
5765
+ */
5766
+ listDomainsRecordIterator(request) {
5767
+ return oci_common_1.paginateRecords(request, req => this.listDomains(req));
5768
+ }
5769
+ /**
5770
+ * Creates a new async iterator which will iterate over the responses received from the listDomains operation. This iterator
5771
+ * will fetch more data from the server as needed.
5772
+ *
5773
+ * @param request a request which can be sent to the service operation
5774
+ */
5775
+ listDomainsResponseIterator(request) {
5776
+ return oci_common_1.paginateResponses(request, req => this.listDomains(req));
5777
+ }
4933
5778
  /**
4934
5779
  * Lists the dynamic groups in your tenancy. You must specify your tenancy's OCID as the value for
4935
5780
  * the compartment ID (remember that the tenancy is simply the root compartment).
4936
5781
  * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
4937
5782
  *
4938
- * This operation does not retry by default if the user has not defined a retry configuration.
4939
- * @param ListDynamicGroupsRequest
4940
- * @return ListDynamicGroupsResponse
4941
- * @throws OciError when an error occurs
4942
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListDynamicGroups.ts.html |here} to see how to use ListDynamicGroups API.
5783
+ * This operation does not retry by default if the user has not defined a retry configuration.
5784
+ * @param ListDynamicGroupsRequest
5785
+ * @return ListDynamicGroupsResponse
5786
+ * @throws OciError when an error occurs
5787
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListDynamicGroups.ts.html |here} to see how to use ListDynamicGroups API.
5788
+ */
5789
+ listDynamicGroups(listDynamicGroupsRequest) {
5790
+ return __awaiter(this, void 0, void 0, function* () {
5791
+ if (this.logger)
5792
+ this.logger.debug("Calling operation IdentityClient#listDynamicGroups.");
5793
+ const pathParams = {};
5794
+ const queryParams = {
5795
+ "compartmentId": listDynamicGroupsRequest.compartmentId,
5796
+ "page": listDynamicGroupsRequest.page,
5797
+ "limit": listDynamicGroupsRequest.limit,
5798
+ "name": listDynamicGroupsRequest.name,
5799
+ "sortBy": listDynamicGroupsRequest.sortBy,
5800
+ "sortOrder": listDynamicGroupsRequest.sortOrder,
5801
+ "lifecycleState": listDynamicGroupsRequest.lifecycleState
5802
+ };
5803
+ let headerParams = {
5804
+ "Content-Type": common.Constants.APPLICATION_JSON
5805
+ };
5806
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5807
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDynamicGroupsRequest.retryConfiguration, specRetryConfiguration);
5808
+ if (this.logger)
5809
+ retrier.logger = this.logger;
5810
+ const request = yield oci_common_2.composeRequest({
5811
+ baseEndpoint: this._endpoint,
5812
+ defaultHeaders: this._defaultHeaders,
5813
+ path: "/dynamicGroups",
5814
+ method: "GET",
5815
+ pathParams: pathParams,
5816
+ headerParams: headerParams,
5817
+ queryParams: queryParams
5818
+ });
5819
+ try {
5820
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
5821
+ const sdkResponse = oci_common_2.composeResponse({
5822
+ responseObject: {},
5823
+ body: yield response.json(),
5824
+ bodyKey: "items",
5825
+ bodyModel: model.DynamicGroup,
5826
+ type: "Array<model.DynamicGroup>",
5827
+ responseHeaders: [
5828
+ {
5829
+ value: response.headers.get("opc-request-id"),
5830
+ key: "opcRequestId",
5831
+ dataType: "string"
5832
+ },
5833
+ {
5834
+ value: response.headers.get("opc-next-page"),
5835
+ key: "opcNextPage",
5836
+ dataType: "string"
5837
+ }
5838
+ ]
5839
+ });
5840
+ return sdkResponse;
5841
+ }
5842
+ catch (err) {
5843
+ throw err;
5844
+ }
5845
+ });
5846
+ }
5847
+ /**
5848
+ * NOTE: This function is deprecated in favor of listDynamicGroupsRecordIterator function.
5849
+ * Creates a new async iterator which will iterate over the models.DynamicGroup objects
5850
+ * contained in responses from the listDynamicGroups operation. This iterator will fetch more data from the
5851
+ * server as needed.
5852
+ *
5853
+ * @param request a request which can be sent to the service operation
5854
+ */
5855
+ listAllDynamicGroups(request) {
5856
+ return oci_common_1.paginateRecords(request, req => this.listDynamicGroups(req));
5857
+ }
5858
+ /**
5859
+ * NOTE: This function is deprecated in favor of listDynamicGroupsResponseIterator function.
5860
+ * Creates a new async iterator which will iterate over the responses received from the listDynamicGroups operation. This iterator
5861
+ * will fetch more data from the server as needed.
5862
+ *
5863
+ * @param request a request which can be sent to the service operation
5864
+ */
5865
+ listAllDynamicGroupsResponses(request) {
5866
+ return oci_common_1.paginateResponses(request, req => this.listDynamicGroups(req));
5867
+ }
5868
+ /**
5869
+ * Creates a new async iterator which will iterate over the models.DynamicGroup objects
5870
+ * contained in responses from the listDynamicGroups operation. This iterator will fetch more data from the
5871
+ * server as needed.
5872
+ *
5873
+ * @param request a request which can be sent to the service operation
5874
+ */
5875
+ listDynamicGroupsRecordIterator(request) {
5876
+ return oci_common_1.paginateRecords(request, req => this.listDynamicGroups(req));
5877
+ }
5878
+ /**
5879
+ * Creates a new async iterator which will iterate over the responses received from the listDynamicGroups operation. This iterator
5880
+ * will fetch more data from the server as needed.
5881
+ *
5882
+ * @param request a request which can be sent to the service operation
5883
+ */
5884
+ listDynamicGroupsResponseIterator(request) {
5885
+ return oci_common_1.paginateResponses(request, req => this.listDynamicGroups(req));
5886
+ }
5887
+ /**
5888
+ * Lists the Fault Domains in your tenancy. Specify the OCID of either the tenancy or another
5889
+ * of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment).
5890
+ * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
5891
+ *
5892
+ * This operation does not retry by default if the user has not defined a retry configuration.
5893
+ * @param ListFaultDomainsRequest
5894
+ * @return ListFaultDomainsResponse
5895
+ * @throws OciError when an error occurs
5896
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListFaultDomains.ts.html |here} to see how to use ListFaultDomains API.
5897
+ */
5898
+ listFaultDomains(listFaultDomainsRequest) {
5899
+ return __awaiter(this, void 0, void 0, function* () {
5900
+ if (this.logger)
5901
+ this.logger.debug("Calling operation IdentityClient#listFaultDomains.");
5902
+ const pathParams = {};
5903
+ const queryParams = {
5904
+ "compartmentId": listFaultDomainsRequest.compartmentId,
5905
+ "availabilityDomain": listFaultDomainsRequest.availabilityDomain
5906
+ };
5907
+ let headerParams = {
5908
+ "Content-Type": common.Constants.APPLICATION_JSON
5909
+ };
5910
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5911
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFaultDomainsRequest.retryConfiguration, specRetryConfiguration);
5912
+ if (this.logger)
5913
+ retrier.logger = this.logger;
5914
+ const request = yield oci_common_2.composeRequest({
5915
+ baseEndpoint: this._endpoint,
5916
+ defaultHeaders: this._defaultHeaders,
5917
+ path: "/faultDomains",
5918
+ method: "GET",
5919
+ pathParams: pathParams,
5920
+ headerParams: headerParams,
5921
+ queryParams: queryParams
5922
+ });
5923
+ try {
5924
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
5925
+ const sdkResponse = oci_common_2.composeResponse({
5926
+ responseObject: {},
5927
+ body: yield response.json(),
5928
+ bodyKey: "items",
5929
+ bodyModel: model.FaultDomain,
5930
+ type: "Array<model.FaultDomain>",
5931
+ responseHeaders: [
5932
+ {
5933
+ value: response.headers.get("opc-request-id"),
5934
+ key: "opcRequestId",
5935
+ dataType: "string"
5936
+ }
5937
+ ]
5938
+ });
5939
+ return sdkResponse;
5940
+ }
5941
+ catch (err) {
5942
+ throw err;
5943
+ }
5944
+ });
5945
+ }
5946
+ /**
5947
+ * Lists the groups in your tenancy. You must specify your tenancy's OCID as the value for
5948
+ * the compartment ID (remember that the tenancy is simply the root compartment).
5949
+ * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
5950
+ *
5951
+ * This operation does not retry by default if the user has not defined a retry configuration.
5952
+ * @param ListGroupsRequest
5953
+ * @return ListGroupsResponse
5954
+ * @throws OciError when an error occurs
5955
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListGroups.ts.html |here} to see how to use ListGroups API.
5956
+ */
5957
+ listGroups(listGroupsRequest) {
5958
+ return __awaiter(this, void 0, void 0, function* () {
5959
+ if (this.logger)
5960
+ this.logger.debug("Calling operation IdentityClient#listGroups.");
5961
+ const pathParams = {};
5962
+ const queryParams = {
5963
+ "compartmentId": listGroupsRequest.compartmentId,
5964
+ "page": listGroupsRequest.page,
5965
+ "limit": listGroupsRequest.limit,
5966
+ "name": listGroupsRequest.name,
5967
+ "sortBy": listGroupsRequest.sortBy,
5968
+ "sortOrder": listGroupsRequest.sortOrder,
5969
+ "lifecycleState": listGroupsRequest.lifecycleState
5970
+ };
5971
+ let headerParams = {
5972
+ "Content-Type": common.Constants.APPLICATION_JSON
5973
+ };
5974
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5975
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGroupsRequest.retryConfiguration, specRetryConfiguration);
5976
+ if (this.logger)
5977
+ retrier.logger = this.logger;
5978
+ const request = yield oci_common_2.composeRequest({
5979
+ baseEndpoint: this._endpoint,
5980
+ defaultHeaders: this._defaultHeaders,
5981
+ path: "/groups",
5982
+ method: "GET",
5983
+ pathParams: pathParams,
5984
+ headerParams: headerParams,
5985
+ queryParams: queryParams
5986
+ });
5987
+ try {
5988
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
5989
+ const sdkResponse = oci_common_2.composeResponse({
5990
+ responseObject: {},
5991
+ body: yield response.json(),
5992
+ bodyKey: "items",
5993
+ bodyModel: model.Group,
5994
+ type: "Array<model.Group>",
5995
+ responseHeaders: [
5996
+ {
5997
+ value: response.headers.get("opc-request-id"),
5998
+ key: "opcRequestId",
5999
+ dataType: "string"
6000
+ },
6001
+ {
6002
+ value: response.headers.get("opc-next-page"),
6003
+ key: "opcNextPage",
6004
+ dataType: "string"
6005
+ }
6006
+ ]
6007
+ });
6008
+ return sdkResponse;
6009
+ }
6010
+ catch (err) {
6011
+ throw err;
6012
+ }
6013
+ });
6014
+ }
6015
+ /**
6016
+ * NOTE: This function is deprecated in favor of listGroupsRecordIterator function.
6017
+ * Creates a new async iterator which will iterate over the models.Group objects
6018
+ * contained in responses from the listGroups operation. This iterator will fetch more data from the
6019
+ * server as needed.
6020
+ *
6021
+ * @param request a request which can be sent to the service operation
6022
+ */
6023
+ listAllGroups(request) {
6024
+ return oci_common_1.paginateRecords(request, req => this.listGroups(req));
6025
+ }
6026
+ /**
6027
+ * NOTE: This function is deprecated in favor of listGroupsResponseIterator function.
6028
+ * Creates a new async iterator which will iterate over the responses received from the listGroups operation. This iterator
6029
+ * will fetch more data from the server as needed.
6030
+ *
6031
+ * @param request a request which can be sent to the service operation
6032
+ */
6033
+ listAllGroupsResponses(request) {
6034
+ return oci_common_1.paginateResponses(request, req => this.listGroups(req));
6035
+ }
6036
+ /**
6037
+ * Creates a new async iterator which will iterate over the models.Group objects
6038
+ * contained in responses from the listGroups operation. This iterator will fetch more data from the
6039
+ * server as needed.
6040
+ *
6041
+ * @param request a request which can be sent to the service operation
6042
+ */
6043
+ listGroupsRecordIterator(request) {
6044
+ return oci_common_1.paginateRecords(request, req => this.listGroups(req));
6045
+ }
6046
+ /**
6047
+ * Creates a new async iterator which will iterate over the responses received from the listGroups operation. This iterator
6048
+ * will fetch more data from the server as needed.
6049
+ *
6050
+ * @param request a request which can be sent to the service operation
4943
6051
  */
4944
- listDynamicGroups(listDynamicGroupsRequest) {
6052
+ listGroupsResponseIterator(request) {
6053
+ return oci_common_1.paginateResponses(request, req => this.listGroups(req));
6054
+ }
6055
+ /**
6056
+ * Gets error details for a specified IAM work request. For asynchronous operations in Identity and Access Management service, opc-work-request-id header values contains
6057
+ * iam work request id that can be provided in this API to track the current status of the operation.
6058
+ * <p>
6059
+ - If workrequest exists, returns 202 ACCEPTED
6060
+ * - If workrequest does not exist, returns 404 NOT FOUND
6061
+ *
6062
+ * This operation does not retry by default if the user has not defined a retry configuration.
6063
+ * @param ListIamWorkRequestErrorsRequest
6064
+ * @return ListIamWorkRequestErrorsResponse
6065
+ * @throws OciError when an error occurs
6066
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListIamWorkRequestErrors.ts.html |here} to see how to use ListIamWorkRequestErrors API.
6067
+ */
6068
+ listIamWorkRequestErrors(listIamWorkRequestErrorsRequest) {
4945
6069
  return __awaiter(this, void 0, void 0, function* () {
4946
6070
  if (this.logger)
4947
- this.logger.debug("Calling operation IdentityClient#listDynamicGroups.");
4948
- const pathParams = {};
6071
+ this.logger.debug("Calling operation IdentityClient#listIamWorkRequestErrors.");
6072
+ const pathParams = {
6073
+ "{iamWorkRequestId}": listIamWorkRequestErrorsRequest.iamWorkRequestId
6074
+ };
4949
6075
  const queryParams = {
4950
- "compartmentId": listDynamicGroupsRequest.compartmentId,
4951
- "page": listDynamicGroupsRequest.page,
4952
- "limit": listDynamicGroupsRequest.limit,
4953
- "name": listDynamicGroupsRequest.name,
4954
- "sortBy": listDynamicGroupsRequest.sortBy,
4955
- "sortOrder": listDynamicGroupsRequest.sortOrder,
4956
- "lifecycleState": listDynamicGroupsRequest.lifecycleState
6076
+ "limit": listIamWorkRequestErrorsRequest.limit,
6077
+ "page": listIamWorkRequestErrorsRequest.page,
6078
+ "sortOrder": listIamWorkRequestErrorsRequest.sortOrder
4957
6079
  };
4958
6080
  let headerParams = {
4959
- "Content-Type": common.Constants.APPLICATION_JSON
6081
+ "Content-Type": common.Constants.APPLICATION_JSON,
6082
+ "opc-request-id": listIamWorkRequestErrorsRequest.opcRequestId
4960
6083
  };
4961
6084
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4962
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDynamicGroupsRequest.retryConfiguration, specRetryConfiguration);
6085
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIamWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
4963
6086
  if (this.logger)
4964
6087
  retrier.logger = this.logger;
4965
6088
  const request = yield oci_common_2.composeRequest({
4966
6089
  baseEndpoint: this._endpoint,
4967
6090
  defaultHeaders: this._defaultHeaders,
4968
- path: "/dynamicGroups",
6091
+ path: "/iamWorkRequests/{iamWorkRequestId}/errors",
4969
6092
  method: "GET",
4970
6093
  pathParams: pathParams,
4971
6094
  headerParams: headerParams,
@@ -4977,17 +6100,17 @@ class IdentityClient {
4977
6100
  responseObject: {},
4978
6101
  body: yield response.json(),
4979
6102
  bodyKey: "items",
4980
- bodyModel: model.DynamicGroup,
4981
- type: "Array<model.DynamicGroup>",
6103
+ bodyModel: model.IamWorkRequestErrorSummary,
6104
+ type: "Array<model.IamWorkRequestErrorSummary>",
4982
6105
  responseHeaders: [
4983
6106
  {
4984
- value: response.headers.get("opc-request-id"),
4985
- key: "opcRequestId",
6107
+ value: response.headers.get("opc-next-page"),
6108
+ key: "opcNextPage",
4986
6109
  dataType: "string"
4987
6110
  },
4988
6111
  {
4989
- value: response.headers.get("opc-next-page"),
4990
- key: "opcNextPage",
6112
+ value: response.headers.get("opc-request-id"),
6113
+ key: "opcRequestId",
4991
6114
  dataType: "string"
4992
6115
  }
4993
6116
  ]
@@ -5000,76 +6123,82 @@ class IdentityClient {
5000
6123
  });
5001
6124
  }
5002
6125
  /**
5003
- * NOTE: This function is deprecated in favor of listDynamicGroupsRecordIterator function.
5004
- * Creates a new async iterator which will iterate over the models.DynamicGroup objects
5005
- * contained in responses from the listDynamicGroups operation. This iterator will fetch more data from the
6126
+ * NOTE: This function is deprecated in favor of listIamWorkRequestErrorsRecordIterator function.
6127
+ * Creates a new async iterator which will iterate over the models.IamWorkRequestErrorSummary objects
6128
+ * contained in responses from the listIamWorkRequestErrors operation. This iterator will fetch more data from the
5006
6129
  * server as needed.
5007
6130
  *
5008
6131
  * @param request a request which can be sent to the service operation
5009
6132
  */
5010
- listAllDynamicGroups(request) {
5011
- return oci_common_1.paginateRecords(request, req => this.listDynamicGroups(req));
6133
+ listAllIamWorkRequestErrors(request) {
6134
+ return oci_common_1.paginateRecords(request, req => this.listIamWorkRequestErrors(req));
5012
6135
  }
5013
6136
  /**
5014
- * NOTE: This function is deprecated in favor of listDynamicGroupsResponseIterator function.
5015
- * Creates a new async iterator which will iterate over the responses received from the listDynamicGroups operation. This iterator
6137
+ * NOTE: This function is deprecated in favor of listIamWorkRequestErrorsResponseIterator function.
6138
+ * Creates a new async iterator which will iterate over the responses received from the listIamWorkRequestErrors operation. This iterator
5016
6139
  * will fetch more data from the server as needed.
5017
6140
  *
5018
6141
  * @param request a request which can be sent to the service operation
5019
6142
  */
5020
- listAllDynamicGroupsResponses(request) {
5021
- return oci_common_1.paginateResponses(request, req => this.listDynamicGroups(req));
6143
+ listAllIamWorkRequestErrorsResponses(request) {
6144
+ return oci_common_1.paginateResponses(request, req => this.listIamWorkRequestErrors(req));
5022
6145
  }
5023
6146
  /**
5024
- * Creates a new async iterator which will iterate over the models.DynamicGroup objects
5025
- * contained in responses from the listDynamicGroups operation. This iterator will fetch more data from the
6147
+ * Creates a new async iterator which will iterate over the models.IamWorkRequestErrorSummary objects
6148
+ * contained in responses from the listIamWorkRequestErrors operation. This iterator will fetch more data from the
5026
6149
  * server as needed.
5027
6150
  *
5028
6151
  * @param request a request which can be sent to the service operation
5029
6152
  */
5030
- listDynamicGroupsRecordIterator(request) {
5031
- return oci_common_1.paginateRecords(request, req => this.listDynamicGroups(req));
6153
+ listIamWorkRequestErrorsRecordIterator(request) {
6154
+ return oci_common_1.paginateRecords(request, req => this.listIamWorkRequestErrors(req));
5032
6155
  }
5033
6156
  /**
5034
- * Creates a new async iterator which will iterate over the responses received from the listDynamicGroups operation. This iterator
6157
+ * Creates a new async iterator which will iterate over the responses received from the listIamWorkRequestErrors operation. This iterator
5035
6158
  * will fetch more data from the server as needed.
5036
6159
  *
5037
6160
  * @param request a request which can be sent to the service operation
5038
6161
  */
5039
- listDynamicGroupsResponseIterator(request) {
5040
- return oci_common_1.paginateResponses(request, req => this.listDynamicGroups(req));
6162
+ listIamWorkRequestErrorsResponseIterator(request) {
6163
+ return oci_common_1.paginateResponses(request, req => this.listIamWorkRequestErrors(req));
5041
6164
  }
5042
6165
  /**
5043
- * Lists the Fault Domains in your tenancy. Specify the OCID of either the tenancy or another
5044
- * of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment).
5045
- * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
5046
- *
5047
- * This operation does not retry by default if the user has not defined a retry configuration.
5048
- * @param ListFaultDomainsRequest
5049
- * @return ListFaultDomainsResponse
5050
- * @throws OciError when an error occurs
5051
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListFaultDomains.ts.html |here} to see how to use ListFaultDomains API.
5052
- */
5053
- listFaultDomains(listFaultDomainsRequest) {
6166
+ * Gets logs for a specified IAM work request. For asynchronous operations in Identity and Access Management service, opc-work-request-id header values contains
6167
+ * iam work request id that can be provided in this API to track the current status of the operation.
6168
+ * <p>
6169
+ - If workrequest exists, returns 202 ACCEPTED
6170
+ * - If workrequest does not exist, returns 404 NOT FOUND
6171
+ *
6172
+ * This operation does not retry by default if the user has not defined a retry configuration.
6173
+ * @param ListIamWorkRequestLogsRequest
6174
+ * @return ListIamWorkRequestLogsResponse
6175
+ * @throws OciError when an error occurs
6176
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListIamWorkRequestLogs.ts.html |here} to see how to use ListIamWorkRequestLogs API.
6177
+ */
6178
+ listIamWorkRequestLogs(listIamWorkRequestLogsRequest) {
5054
6179
  return __awaiter(this, void 0, void 0, function* () {
5055
6180
  if (this.logger)
5056
- this.logger.debug("Calling operation IdentityClient#listFaultDomains.");
5057
- const pathParams = {};
6181
+ this.logger.debug("Calling operation IdentityClient#listIamWorkRequestLogs.");
6182
+ const pathParams = {
6183
+ "{iamWorkRequestId}": listIamWorkRequestLogsRequest.iamWorkRequestId
6184
+ };
5058
6185
  const queryParams = {
5059
- "compartmentId": listFaultDomainsRequest.compartmentId,
5060
- "availabilityDomain": listFaultDomainsRequest.availabilityDomain
6186
+ "limit": listIamWorkRequestLogsRequest.limit,
6187
+ "page": listIamWorkRequestLogsRequest.page,
6188
+ "sortOrder": listIamWorkRequestLogsRequest.sortOrder
5061
6189
  };
5062
6190
  let headerParams = {
5063
- "Content-Type": common.Constants.APPLICATION_JSON
6191
+ "Content-Type": common.Constants.APPLICATION_JSON,
6192
+ "opc-request-id": listIamWorkRequestLogsRequest.opcRequestId
5064
6193
  };
5065
6194
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
5066
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFaultDomainsRequest.retryConfiguration, specRetryConfiguration);
6195
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIamWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
5067
6196
  if (this.logger)
5068
6197
  retrier.logger = this.logger;
5069
6198
  const request = yield oci_common_2.composeRequest({
5070
6199
  baseEndpoint: this._endpoint,
5071
6200
  defaultHeaders: this._defaultHeaders,
5072
- path: "/faultDomains",
6201
+ path: "/iamWorkRequests/{iamWorkRequestId}/logs",
5073
6202
  method: "GET",
5074
6203
  pathParams: pathParams,
5075
6204
  headerParams: headerParams,
@@ -5081,13 +6210,23 @@ class IdentityClient {
5081
6210
  responseObject: {},
5082
6211
  body: yield response.json(),
5083
6212
  bodyKey: "items",
5084
- bodyModel: model.FaultDomain,
5085
- type: "Array<model.FaultDomain>",
6213
+ bodyModel: model.IamWorkRequestLogSummary,
6214
+ type: "Array<model.IamWorkRequestLogSummary>",
5086
6215
  responseHeaders: [
5087
6216
  {
5088
6217
  value: response.headers.get("opc-request-id"),
5089
6218
  key: "opcRequestId",
5090
6219
  dataType: "string"
6220
+ },
6221
+ {
6222
+ value: response.headers.get("retry-after"),
6223
+ key: "retryAfter",
6224
+ dataType: "number"
6225
+ },
6226
+ {
6227
+ value: response.headers.get("opc-next-page"),
6228
+ key: "opcNextPage",
6229
+ dataType: "string"
5091
6230
  }
5092
6231
  ]
5093
6232
  });
@@ -5099,41 +6238,80 @@ class IdentityClient {
5099
6238
  });
5100
6239
  }
5101
6240
  /**
5102
- * Lists the groups in your tenancy. You must specify your tenancy's OCID as the value for
5103
- * the compartment ID (remember that the tenancy is simply the root compartment).
5104
- * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
6241
+ * NOTE: This function is deprecated in favor of listIamWorkRequestLogsRecordIterator function.
6242
+ * Creates a new async iterator which will iterate over the models.IamWorkRequestLogSummary objects
6243
+ * contained in responses from the listIamWorkRequestLogs operation. This iterator will fetch more data from the
6244
+ * server as needed.
5105
6245
  *
5106
- * This operation does not retry by default if the user has not defined a retry configuration.
5107
- * @param ListGroupsRequest
5108
- * @return ListGroupsResponse
5109
- * @throws OciError when an error occurs
5110
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListGroups.ts.html |here} to see how to use ListGroups API.
6246
+ * @param request a request which can be sent to the service operation
5111
6247
  */
5112
- listGroups(listGroupsRequest) {
6248
+ listAllIamWorkRequestLogs(request) {
6249
+ return oci_common_1.paginateRecords(request, req => this.listIamWorkRequestLogs(req));
6250
+ }
6251
+ /**
6252
+ * NOTE: This function is deprecated in favor of listIamWorkRequestLogsResponseIterator function.
6253
+ * Creates a new async iterator which will iterate over the responses received from the listIamWorkRequestLogs operation. This iterator
6254
+ * will fetch more data from the server as needed.
6255
+ *
6256
+ * @param request a request which can be sent to the service operation
6257
+ */
6258
+ listAllIamWorkRequestLogsResponses(request) {
6259
+ return oci_common_1.paginateResponses(request, req => this.listIamWorkRequestLogs(req));
6260
+ }
6261
+ /**
6262
+ * Creates a new async iterator which will iterate over the models.IamWorkRequestLogSummary objects
6263
+ * contained in responses from the listIamWorkRequestLogs operation. This iterator will fetch more data from the
6264
+ * server as needed.
6265
+ *
6266
+ * @param request a request which can be sent to the service operation
6267
+ */
6268
+ listIamWorkRequestLogsRecordIterator(request) {
6269
+ return oci_common_1.paginateRecords(request, req => this.listIamWorkRequestLogs(req));
6270
+ }
6271
+ /**
6272
+ * Creates a new async iterator which will iterate over the responses received from the listIamWorkRequestLogs operation. This iterator
6273
+ * will fetch more data from the server as needed.
6274
+ *
6275
+ * @param request a request which can be sent to the service operation
6276
+ */
6277
+ listIamWorkRequestLogsResponseIterator(request) {
6278
+ return oci_common_1.paginateResponses(request, req => this.listIamWorkRequestLogs(req));
6279
+ }
6280
+ /**
6281
+ * List the IAM work requests in compartment
6282
+ * <p>
6283
+ - If IAM workrequest details are retrieved sucessfully, return 202 ACCEPTED.
6284
+ * - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
6285
+ *
6286
+ * This operation does not retry by default if the user has not defined a retry configuration.
6287
+ * @param ListIamWorkRequestsRequest
6288
+ * @return ListIamWorkRequestsResponse
6289
+ * @throws OciError when an error occurs
6290
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListIamWorkRequests.ts.html |here} to see how to use ListIamWorkRequests API.
6291
+ */
6292
+ listIamWorkRequests(listIamWorkRequestsRequest) {
5113
6293
  return __awaiter(this, void 0, void 0, function* () {
5114
6294
  if (this.logger)
5115
- this.logger.debug("Calling operation IdentityClient#listGroups.");
6295
+ this.logger.debug("Calling operation IdentityClient#listIamWorkRequests.");
5116
6296
  const pathParams = {};
5117
6297
  const queryParams = {
5118
- "compartmentId": listGroupsRequest.compartmentId,
5119
- "page": listGroupsRequest.page,
5120
- "limit": listGroupsRequest.limit,
5121
- "name": listGroupsRequest.name,
5122
- "sortBy": listGroupsRequest.sortBy,
5123
- "sortOrder": listGroupsRequest.sortOrder,
5124
- "lifecycleState": listGroupsRequest.lifecycleState
6298
+ "compartmentId": listIamWorkRequestsRequest.compartmentId,
6299
+ "page": listIamWorkRequestsRequest.page,
6300
+ "limit": listIamWorkRequestsRequest.limit,
6301
+ "resourceIdentifier": listIamWorkRequestsRequest.resourceIdentifier
5125
6302
  };
5126
6303
  let headerParams = {
5127
- "Content-Type": common.Constants.APPLICATION_JSON
6304
+ "Content-Type": common.Constants.APPLICATION_JSON,
6305
+ "opc-request-id": listIamWorkRequestsRequest.opcRequestId
5128
6306
  };
5129
6307
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
5130
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGroupsRequest.retryConfiguration, specRetryConfiguration);
6308
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIamWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
5131
6309
  if (this.logger)
5132
6310
  retrier.logger = this.logger;
5133
6311
  const request = yield oci_common_2.composeRequest({
5134
6312
  baseEndpoint: this._endpoint,
5135
6313
  defaultHeaders: this._defaultHeaders,
5136
- path: "/groups",
6314
+ path: "/iamWorkRequests",
5137
6315
  method: "GET",
5138
6316
  pathParams: pathParams,
5139
6317
  headerParams: headerParams,
@@ -5145,8 +6323,8 @@ class IdentityClient {
5145
6323
  responseObject: {},
5146
6324
  body: yield response.json(),
5147
6325
  bodyKey: "items",
5148
- bodyModel: model.Group,
5149
- type: "Array<model.Group>",
6326
+ bodyModel: model.IamWorkRequestSummary,
6327
+ type: "Array<model.IamWorkRequestSummary>",
5150
6328
  responseHeaders: [
5151
6329
  {
5152
6330
  value: response.headers.get("opc-request-id"),
@@ -5168,53 +6346,56 @@ class IdentityClient {
5168
6346
  });
5169
6347
  }
5170
6348
  /**
5171
- * NOTE: This function is deprecated in favor of listGroupsRecordIterator function.
5172
- * Creates a new async iterator which will iterate over the models.Group objects
5173
- * contained in responses from the listGroups operation. This iterator will fetch more data from the
6349
+ * NOTE: This function is deprecated in favor of listIamWorkRequestsRecordIterator function.
6350
+ * Creates a new async iterator which will iterate over the models.IamWorkRequestSummary objects
6351
+ * contained in responses from the listIamWorkRequests operation. This iterator will fetch more data from the
5174
6352
  * server as needed.
5175
6353
  *
5176
6354
  * @param request a request which can be sent to the service operation
5177
6355
  */
5178
- listAllGroups(request) {
5179
- return oci_common_1.paginateRecords(request, req => this.listGroups(req));
6356
+ listAllIamWorkRequests(request) {
6357
+ return oci_common_1.paginateRecords(request, req => this.listIamWorkRequests(req));
5180
6358
  }
5181
6359
  /**
5182
- * NOTE: This function is deprecated in favor of listGroupsResponseIterator function.
5183
- * Creates a new async iterator which will iterate over the responses received from the listGroups operation. This iterator
6360
+ * NOTE: This function is deprecated in favor of listIamWorkRequestsResponseIterator function.
6361
+ * Creates a new async iterator which will iterate over the responses received from the listIamWorkRequests operation. This iterator
5184
6362
  * will fetch more data from the server as needed.
5185
6363
  *
5186
6364
  * @param request a request which can be sent to the service operation
5187
6365
  */
5188
- listAllGroupsResponses(request) {
5189
- return oci_common_1.paginateResponses(request, req => this.listGroups(req));
6366
+ listAllIamWorkRequestsResponses(request) {
6367
+ return oci_common_1.paginateResponses(request, req => this.listIamWorkRequests(req));
5190
6368
  }
5191
6369
  /**
5192
- * Creates a new async iterator which will iterate over the models.Group objects
5193
- * contained in responses from the listGroups operation. This iterator will fetch more data from the
6370
+ * Creates a new async iterator which will iterate over the models.IamWorkRequestSummary objects
6371
+ * contained in responses from the listIamWorkRequests operation. This iterator will fetch more data from the
5194
6372
  * server as needed.
5195
6373
  *
5196
6374
  * @param request a request which can be sent to the service operation
5197
6375
  */
5198
- listGroupsRecordIterator(request) {
5199
- return oci_common_1.paginateRecords(request, req => this.listGroups(req));
6376
+ listIamWorkRequestsRecordIterator(request) {
6377
+ return oci_common_1.paginateRecords(request, req => this.listIamWorkRequests(req));
5200
6378
  }
5201
6379
  /**
5202
- * Creates a new async iterator which will iterate over the responses received from the listGroups operation. This iterator
6380
+ * Creates a new async iterator which will iterate over the responses received from the listIamWorkRequests operation. This iterator
5203
6381
  * will fetch more data from the server as needed.
5204
6382
  *
5205
6383
  * @param request a request which can be sent to the service operation
5206
6384
  */
5207
- listGroupsResponseIterator(request) {
5208
- return oci_common_1.paginateResponses(request, req => this.listGroups(req));
6385
+ listIamWorkRequestsResponseIterator(request) {
6386
+ return oci_common_1.paginateResponses(request, req => this.listIamWorkRequests(req));
5209
6387
  }
5210
6388
  /**
5211
- * Lists the identity provider groups.
5212
- * This operation does not retry by default if the user has not defined a retry configuration.
5213
- * @param ListIdentityProviderGroupsRequest
5214
- * @return ListIdentityProviderGroupsResponse
5215
- * @throws OciError when an error occurs
5216
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListIdentityProviderGroups.ts.html |here} to see how to use ListIdentityProviderGroups API.
5217
- */
6389
+ * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
6390
+ * <p>
6391
+ Lists the identity provider groups.
6392
+ *
6393
+ * This operation does not retry by default if the user has not defined a retry configuration.
6394
+ * @param ListIdentityProviderGroupsRequest
6395
+ * @return ListIdentityProviderGroupsResponse
6396
+ * @throws OciError when an error occurs
6397
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListIdentityProviderGroups.ts.html |here} to see how to use ListIdentityProviderGroups API.
6398
+ */
5218
6399
  listIdentityProviderGroups(listIdentityProviderGroupsRequest) {
5219
6400
  return __awaiter(this, void 0, void 0, function* () {
5220
6401
  if (this.logger)
@@ -5313,17 +6494,19 @@ class IdentityClient {
5313
6494
  return oci_common_1.paginateResponses(request, req => this.listIdentityProviderGroups(req));
5314
6495
  }
5315
6496
  /**
5316
- * Lists all the identity providers in your tenancy. You must specify the identity provider type (e.g., `SAML2` for
5317
- * identity providers using the SAML2.0 protocol). You must specify your tenancy's OCID as the value for the
5318
- * compartment ID (remember that the tenancy is simply the root compartment).
5319
- * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
5320
- *
5321
- * This operation does not retry by default if the user has not defined a retry configuration.
5322
- * @param ListIdentityProvidersRequest
5323
- * @return ListIdentityProvidersResponse
5324
- * @throws OciError when an error occurs
5325
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListIdentityProviders.ts.html |here} to see how to use ListIdentityProviders API.
5326
- */
6497
+ * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
6498
+ * <p>
6499
+ Lists all the identity providers in your tenancy. You must specify the identity provider type (e.g., `SAML2` for
6500
+ * identity providers using the SAML2.0 protocol). You must specify your tenancy's OCID as the value for the
6501
+ * compartment ID (remember that the tenancy is simply the root compartment).
6502
+ * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
6503
+ *
6504
+ * This operation does not retry by default if the user has not defined a retry configuration.
6505
+ * @param ListIdentityProvidersRequest
6506
+ * @return ListIdentityProvidersResponse
6507
+ * @throws OciError when an error occurs
6508
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListIdentityProviders.ts.html |here} to see how to use ListIdentityProviders API.
6509
+ */
5327
6510
  listIdentityProviders(listIdentityProvidersRequest) {
5328
6511
  return __awaiter(this, void 0, void 0, function* () {
5329
6512
  if (this.logger)
@@ -5424,14 +6607,16 @@ class IdentityClient {
5424
6607
  return oci_common_1.paginateResponses(request, req => this.listIdentityProviders(req));
5425
6608
  }
5426
6609
  /**
5427
- * Lists the group mappings for the specified identity provider.
5428
- *
5429
- * This operation does not retry by default if the user has not defined a retry configuration.
5430
- * @param ListIdpGroupMappingsRequest
5431
- * @return ListIdpGroupMappingsResponse
5432
- * @throws OciError when an error occurs
5433
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListIdpGroupMappings.ts.html |here} to see how to use ListIdpGroupMappings API.
5434
- */
6610
+ * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
6611
+ * <p>
6612
+ Lists the group mappings for the specified identity provider.
6613
+ *
6614
+ * This operation does not retry by default if the user has not defined a retry configuration.
6615
+ * @param ListIdpGroupMappingsRequest
6616
+ * @return ListIdpGroupMappingsResponse
6617
+ * @throws OciError when an error occurs
6618
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListIdpGroupMappings.ts.html |here} to see how to use ListIdpGroupMappings API.
6619
+ */
5435
6620
  listIdpGroupMappings(listIdpGroupMappingsRequest) {
5436
6621
  return __awaiter(this, void 0, void 0, function* () {
5437
6622
  if (this.logger)
@@ -5535,7 +6720,7 @@ class IdentityClient {
5535
6720
  * @param ListMfaTotpDevicesRequest
5536
6721
  * @return ListMfaTotpDevicesResponse
5537
6722
  * @throws OciError when an error occurs
5538
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListMfaTotpDevices.ts.html |here} to see how to use ListMfaTotpDevices API.
6723
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListMfaTotpDevices.ts.html |here} to see how to use ListMfaTotpDevices API.
5539
6724
  */
5540
6725
  listMfaTotpDevices(listMfaTotpDevicesRequest) {
5541
6726
  return __awaiter(this, void 0, void 0, function* () {
@@ -5643,7 +6828,7 @@ class IdentityClient {
5643
6828
  * @param ListNetworkSourcesRequest
5644
6829
  * @return ListNetworkSourcesResponse
5645
6830
  * @throws OciError when an error occurs
5646
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListNetworkSources.ts.html |here} to see how to use ListNetworkSources API.
6831
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListNetworkSources.ts.html |here} to see how to use ListNetworkSources API.
5647
6832
  */
5648
6833
  listNetworkSources(listNetworkSourcesRequest) {
5649
6834
  return __awaiter(this, void 0, void 0, function* () {
@@ -5750,7 +6935,7 @@ class IdentityClient {
5750
6935
  * @param ListOAuthClientCredentialsRequest
5751
6936
  * @return ListOAuthClientCredentialsResponse
5752
6937
  * @throws OciError when an error occurs
5753
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListOAuthClientCredentials.ts.html |here} to see how to use ListOAuthClientCredentials API.
6938
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListOAuthClientCredentials.ts.html |here} to see how to use ListOAuthClientCredentials API.
5754
6939
  */
5755
6940
  listOAuthClientCredentials(listOAuthClientCredentialsRequest) {
5756
6941
  return __awaiter(this, void 0, void 0, function* () {
@@ -5859,7 +7044,7 @@ class IdentityClient {
5859
7044
  * @param ListPoliciesRequest
5860
7045
  * @return ListPoliciesResponse
5861
7046
  * @throws OciError when an error occurs
5862
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListPolicies.ts.html |here} to see how to use ListPolicies API.
7047
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListPolicies.ts.html |here} to see how to use ListPolicies API.
5863
7048
  */
5864
7049
  listPolicies(listPoliciesRequest) {
5865
7050
  return __awaiter(this, void 0, void 0, function* () {
@@ -5965,7 +7150,7 @@ class IdentityClient {
5965
7150
  * @param ListRegionSubscriptionsRequest
5966
7151
  * @return ListRegionSubscriptionsResponse
5967
7152
  * @throws OciError when an error occurs
5968
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListRegionSubscriptions.ts.html |here} to see how to use ListRegionSubscriptions API.
7153
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListRegionSubscriptions.ts.html |here} to see how to use ListRegionSubscriptions API.
5969
7154
  */
5970
7155
  listRegionSubscriptions(listRegionSubscriptionsRequest) {
5971
7156
  return __awaiter(this, void 0, void 0, function* () {
@@ -6020,7 +7205,7 @@ class IdentityClient {
6020
7205
  * @param ListRegionsRequest
6021
7206
  * @return ListRegionsResponse
6022
7207
  * @throws OciError when an error occurs
6023
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListRegions.ts.html |here} to see how to use ListRegions API.
7208
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListRegions.ts.html |here} to see how to use ListRegions API.
6024
7209
  */
6025
7210
  listRegions(listRegionsRequest) {
6026
7211
  return __awaiter(this, void 0, void 0, function* () {
@@ -6075,7 +7260,7 @@ class IdentityClient {
6075
7260
  * @param ListSmtpCredentialsRequest
6076
7261
  * @return ListSmtpCredentialsResponse
6077
7262
  * @throws OciError when an error occurs
6078
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListSmtpCredentials.ts.html |here} to see how to use ListSmtpCredentials API.
7263
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListSmtpCredentials.ts.html |here} to see how to use ListSmtpCredentials API.
6079
7264
  */
6080
7265
  listSmtpCredentials(listSmtpCredentialsRequest) {
6081
7266
  return __awaiter(this, void 0, void 0, function* () {
@@ -6139,7 +7324,7 @@ class IdentityClient {
6139
7324
  * @param ListSwiftPasswordsRequest
6140
7325
  * @return ListSwiftPasswordsResponse
6141
7326
  * @throws OciError when an error occurs
6142
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListSwiftPasswords.ts.html |here} to see how to use ListSwiftPasswords API.
7327
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListSwiftPasswords.ts.html |here} to see how to use ListSwiftPasswords API.
6143
7328
  */
6144
7329
  listSwiftPasswords(listSwiftPasswordsRequest) {
6145
7330
  return __awaiter(this, void 0, void 0, function* () {
@@ -6200,7 +7385,7 @@ class IdentityClient {
6200
7385
  * @param ListTagDefaultsRequest
6201
7386
  * @return ListTagDefaultsResponse
6202
7387
  * @throws OciError when an error occurs
6203
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListTagDefaults.ts.html |here} to see how to use ListTagDefaults API.
7388
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListTagDefaults.ts.html |here} to see how to use ListTagDefaults API.
6204
7389
  */
6205
7390
  listTagDefaults(listTagDefaultsRequest) {
6206
7391
  return __awaiter(this, void 0, void 0, function* () {
@@ -6306,7 +7491,7 @@ class IdentityClient {
6306
7491
  * @param ListTagNamespacesRequest
6307
7492
  * @return ListTagNamespacesResponse
6308
7493
  * @throws OciError when an error occurs
6309
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListTagNamespaces.ts.html |here} to see how to use ListTagNamespaces API.
7494
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListTagNamespaces.ts.html |here} to see how to use ListTagNamespaces API.
6310
7495
  */
6311
7496
  listTagNamespaces(listTagNamespacesRequest) {
6312
7497
  return __awaiter(this, void 0, void 0, function* () {
@@ -6411,7 +7596,7 @@ class IdentityClient {
6411
7596
  * @param ListTaggingWorkRequestErrorsRequest
6412
7597
  * @return ListTaggingWorkRequestErrorsResponse
6413
7598
  * @throws OciError when an error occurs
6414
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListTaggingWorkRequestErrors.ts.html |here} to see how to use ListTaggingWorkRequestErrors API.
7599
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListTaggingWorkRequestErrors.ts.html |here} to see how to use ListTaggingWorkRequestErrors API.
6415
7600
  */
6416
7601
  listTaggingWorkRequestErrors(listTaggingWorkRequestErrorsRequest) {
6417
7602
  return __awaiter(this, void 0, void 0, function* () {
@@ -6520,7 +7705,7 @@ class IdentityClient {
6520
7705
  * @param ListTaggingWorkRequestLogsRequest
6521
7706
  * @return ListTaggingWorkRequestLogsResponse
6522
7707
  * @throws OciError when an error occurs
6523
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListTaggingWorkRequestLogs.ts.html |here} to see how to use ListTaggingWorkRequestLogs API.
7708
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListTaggingWorkRequestLogs.ts.html |here} to see how to use ListTaggingWorkRequestLogs API.
6524
7709
  */
6525
7710
  listTaggingWorkRequestLogs(listTaggingWorkRequestLogsRequest) {
6526
7711
  return __awaiter(this, void 0, void 0, function* () {
@@ -6629,7 +7814,7 @@ class IdentityClient {
6629
7814
  * @param ListTaggingWorkRequestsRequest
6630
7815
  * @return ListTaggingWorkRequestsResponse
6631
7816
  * @throws OciError when an error occurs
6632
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListTaggingWorkRequests.ts.html |here} to see how to use ListTaggingWorkRequests API.
7817
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListTaggingWorkRequests.ts.html |here} to see how to use ListTaggingWorkRequests API.
6633
7818
  */
6634
7819
  listTaggingWorkRequests(listTaggingWorkRequestsRequest) {
6635
7820
  return __awaiter(this, void 0, void 0, function* () {
@@ -6733,7 +7918,7 @@ class IdentityClient {
6733
7918
  * @param ListTagsRequest
6734
7919
  * @return ListTagsResponse
6735
7920
  * @throws OciError when an error occurs
6736
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListTags.ts.html |here} to see how to use ListTags API.
7921
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListTags.ts.html |here} to see how to use ListTags API.
6737
7922
  */
6738
7923
  listTags(listTagsRequest) {
6739
7924
  return __awaiter(this, void 0, void 0, function* () {
@@ -6847,7 +8032,7 @@ class IdentityClient {
6847
8032
  * @param ListUserGroupMembershipsRequest
6848
8033
  * @return ListUserGroupMembershipsResponse
6849
8034
  * @throws OciError when an error occurs
6850
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListUserGroupMemberships.ts.html |here} to see how to use ListUserGroupMemberships API.
8035
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListUserGroupMemberships.ts.html |here} to see how to use ListUserGroupMemberships API.
6851
8036
  */
6852
8037
  listUserGroupMemberships(listUserGroupMembershipsRequest) {
6853
8038
  return __awaiter(this, void 0, void 0, function* () {
@@ -6954,7 +8139,7 @@ class IdentityClient {
6954
8139
  * @param ListUsersRequest
6955
8140
  * @return ListUsersResponse
6956
8141
  * @throws OciError when an error occurs
6957
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListUsers.ts.html |here} to see how to use ListUsers API.
8142
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListUsers.ts.html |here} to see how to use ListUsers API.
6958
8143
  */
6959
8144
  listUsers(listUsersRequest) {
6960
8145
  return __awaiter(this, void 0, void 0, function* () {
@@ -7063,7 +8248,7 @@ class IdentityClient {
7063
8248
  * @param ListWorkRequestsRequest
7064
8249
  * @return ListWorkRequestsResponse
7065
8250
  * @throws OciError when an error occurs
7066
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
8251
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
7067
8252
  */
7068
8253
  listWorkRequests(listWorkRequestsRequest) {
7069
8254
  return __awaiter(this, void 0, void 0, function* () {
@@ -7174,7 +8359,7 @@ class IdentityClient {
7174
8359
  * @param MoveCompartmentRequest
7175
8360
  * @return MoveCompartmentResponse
7176
8361
  * @throws OciError when an error occurs
7177
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/MoveCompartment.ts.html |here} to see how to use MoveCompartment API.
8362
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/MoveCompartment.ts.html |here} to see how to use MoveCompartment API.
7178
8363
  */
7179
8364
  moveCompartment(moveCompartmentRequest) {
7180
8365
  return __awaiter(this, void 0, void 0, function* () {
@@ -7235,7 +8420,7 @@ class IdentityClient {
7235
8420
  * @param RecoverCompartmentRequest
7236
8421
  * @return RecoverCompartmentResponse
7237
8422
  * @throws OciError when an error occurs
7238
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/RecoverCompartment.ts.html |here} to see how to use RecoverCompartment API.
8423
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/RecoverCompartment.ts.html |here} to see how to use RecoverCompartment API.
7239
8424
  */
7240
8425
  recoverCompartment(recoverCompartmentRequest) {
7241
8426
  return __awaiter(this, void 0, void 0, function* () {
@@ -7297,7 +8482,7 @@ class IdentityClient {
7297
8482
  * @param RemoveUserFromGroupRequest
7298
8483
  * @return RemoveUserFromGroupResponse
7299
8484
  * @throws OciError when an error occurs
7300
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/RemoveUserFromGroup.ts.html |here} to see how to use RemoveUserFromGroup API.
8485
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/RemoveUserFromGroup.ts.html |here} to see how to use RemoveUserFromGroup API.
7301
8486
  */
7302
8487
  removeUserFromGroup(removeUserFromGroupRequest) {
7303
8488
  return __awaiter(this, void 0, void 0, function* () {
@@ -7350,7 +8535,7 @@ class IdentityClient {
7350
8535
  * @param ResetIdpScimClientRequest
7351
8536
  * @return ResetIdpScimClientResponse
7352
8537
  * @throws OciError when an error occurs
7353
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ResetIdpScimClient.ts.html |here} to see how to use ResetIdpScimClient API.
8538
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/ResetIdpScimClient.ts.html |here} to see how to use ResetIdpScimClient API.
7354
8539
  */
7355
8540
  resetIdpScimClient(resetIdpScimClientRequest) {
7356
8541
  return __awaiter(this, void 0, void 0, function* () {
@@ -7406,7 +8591,7 @@ class IdentityClient {
7406
8591
  * @param UpdateAuthTokenRequest
7407
8592
  * @return UpdateAuthTokenResponse
7408
8593
  * @throws OciError when an error occurs
7409
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateAuthToken.ts.html |here} to see how to use UpdateAuthToken API.
8594
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateAuthToken.ts.html |here} to see how to use UpdateAuthToken API.
7410
8595
  */
7411
8596
  updateAuthToken(updateAuthTokenRequest) {
7412
8597
  return __awaiter(this, void 0, void 0, function* () {
@@ -7470,7 +8655,7 @@ class IdentityClient {
7470
8655
  * @param UpdateAuthenticationPolicyRequest
7471
8656
  * @return UpdateAuthenticationPolicyResponse
7472
8657
  * @throws OciError when an error occurs
7473
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateAuthenticationPolicy.ts.html |here} to see how to use UpdateAuthenticationPolicy API.
8658
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateAuthenticationPolicy.ts.html |here} to see how to use UpdateAuthenticationPolicy API.
7474
8659
  */
7475
8660
  updateAuthenticationPolicy(updateAuthenticationPolicyRequest) {
7476
8661
  return __awaiter(this, void 0, void 0, function* () {
@@ -7532,7 +8717,7 @@ class IdentityClient {
7532
8717
  * @param UpdateCompartmentRequest
7533
8718
  * @return UpdateCompartmentResponse
7534
8719
  * @throws OciError when an error occurs
7535
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateCompartment.ts.html |here} to see how to use UpdateCompartment API.
8720
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateCompartment.ts.html |here} to see how to use UpdateCompartment API.
7536
8721
  */
7537
8722
  updateCompartment(updateCompartmentRequest) {
7538
8723
  return __awaiter(this, void 0, void 0, function* () {
@@ -7595,7 +8780,7 @@ class IdentityClient {
7595
8780
  * @param UpdateCustomerSecretKeyRequest
7596
8781
  * @return UpdateCustomerSecretKeyResponse
7597
8782
  * @throws OciError when an error occurs
7598
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateCustomerSecretKey.ts.html |here} to see how to use UpdateCustomerSecretKey API.
8783
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateCustomerSecretKey.ts.html |here} to see how to use UpdateCustomerSecretKey API.
7599
8784
  */
7600
8785
  updateCustomerSecretKey(updateCustomerSecretKeyRequest) {
7601
8786
  return __awaiter(this, void 0, void 0, function* () {
@@ -7652,13 +8837,84 @@ class IdentityClient {
7652
8837
  }
7653
8838
  });
7654
8839
  }
8840
+ /**
8841
+ * Updates domain information and associated stripe. This is an asynchronous call where
8842
+ * the associated stripe and domain are updated.
8843
+ * <p>
8844
+ To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
8845
+ * the async operation's status.
8846
+ * <p>
8847
+ - If the {@code displayName} is not unique within the tenancy, returns 400 BAD REQUEST.
8848
+ * - If any field other than {@code description} is requested to be updated for DEFAULT domain,
8849
+ * returns 400 BAD REQUEST.
8850
+ * - If Domain is not active or being updated, returns 400 BAD REQUEST.
8851
+ * - If Domain {@code type} is DEFAULT or DEFAULT_LIGHTWEIGHT, return 400 BAD Request
8852
+ * - If the domain doesn't exists, returns 404 NOT FOUND.
8853
+ *
8854
+ * This operation does not retry by default if the user has not defined a retry configuration.
8855
+ * @param UpdateDomainRequest
8856
+ * @return UpdateDomainResponse
8857
+ * @throws OciError when an error occurs
8858
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateDomain.ts.html |here} to see how to use UpdateDomain API.
8859
+ */
8860
+ updateDomain(updateDomainRequest) {
8861
+ return __awaiter(this, void 0, void 0, function* () {
8862
+ if (this.logger)
8863
+ this.logger.debug("Calling operation IdentityClient#updateDomain.");
8864
+ const pathParams = {
8865
+ "{domainId}": updateDomainRequest.domainId
8866
+ };
8867
+ const queryParams = {};
8868
+ let headerParams = {
8869
+ "Content-Type": common.Constants.APPLICATION_JSON,
8870
+ "if-match": updateDomainRequest.ifMatch,
8871
+ "opc-request-id": updateDomainRequest.opcRequestId
8872
+ };
8873
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
8874
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDomainRequest.retryConfiguration, specRetryConfiguration);
8875
+ if (this.logger)
8876
+ retrier.logger = this.logger;
8877
+ const request = yield oci_common_2.composeRequest({
8878
+ baseEndpoint: this._endpoint,
8879
+ defaultHeaders: this._defaultHeaders,
8880
+ path: "/domains/{domainId}",
8881
+ method: "PUT",
8882
+ bodyContent: common.ObjectSerializer.serialize(updateDomainRequest.updateDomainDetails, "UpdateDomainDetails", model.UpdateDomainDetails.getJsonObj),
8883
+ pathParams: pathParams,
8884
+ headerParams: headerParams,
8885
+ queryParams: queryParams
8886
+ });
8887
+ try {
8888
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
8889
+ const sdkResponse = oci_common_2.composeResponse({
8890
+ responseObject: {},
8891
+ responseHeaders: [
8892
+ {
8893
+ value: response.headers.get("opc-request-id"),
8894
+ key: "opcRequestId",
8895
+ dataType: "string"
8896
+ },
8897
+ {
8898
+ value: response.headers.get("opc-work-request-id"),
8899
+ key: "opcWorkRequestId",
8900
+ dataType: "string"
8901
+ }
8902
+ ]
8903
+ });
8904
+ return sdkResponse;
8905
+ }
8906
+ catch (err) {
8907
+ throw err;
8908
+ }
8909
+ });
8910
+ }
7655
8911
  /**
7656
8912
  * Updates the specified dynamic group.
7657
8913
  * This operation does not retry by default if the user has not defined a retry configuration.
7658
8914
  * @param UpdateDynamicGroupRequest
7659
8915
  * @return UpdateDynamicGroupResponse
7660
8916
  * @throws OciError when an error occurs
7661
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateDynamicGroup.ts.html |here} to see how to use UpdateDynamicGroup API.
8917
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateDynamicGroup.ts.html |here} to see how to use UpdateDynamicGroup API.
7662
8918
  */
7663
8919
  updateDynamicGroup(updateDynamicGroupRequest) {
7664
8920
  return __awaiter(this, void 0, void 0, function* () {
@@ -7720,7 +8976,7 @@ class IdentityClient {
7720
8976
  * @param UpdateGroupRequest
7721
8977
  * @return UpdateGroupResponse
7722
8978
  * @throws OciError when an error occurs
7723
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateGroup.ts.html |here} to see how to use UpdateGroup API.
8979
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateGroup.ts.html |here} to see how to use UpdateGroup API.
7724
8980
  */
7725
8981
  updateGroup(updateGroupRequest) {
7726
8982
  return __awaiter(this, void 0, void 0, function* () {
@@ -7777,13 +9033,16 @@ class IdentityClient {
7777
9033
  });
7778
9034
  }
7779
9035
  /**
7780
- * Updates the specified identity provider.
7781
- * This operation does not retry by default if the user has not defined a retry configuration.
7782
- * @param UpdateIdentityProviderRequest
7783
- * @return UpdateIdentityProviderResponse
7784
- * @throws OciError when an error occurs
7785
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateIdentityProvider.ts.html |here} to see how to use UpdateIdentityProvider API.
7786
- */
9036
+ * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
9037
+ * <p>
9038
+ Updates the specified identity provider.
9039
+ *
9040
+ * This operation does not retry by default if the user has not defined a retry configuration.
9041
+ * @param UpdateIdentityProviderRequest
9042
+ * @return UpdateIdentityProviderResponse
9043
+ * @throws OciError when an error occurs
9044
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateIdentityProvider.ts.html |here} to see how to use UpdateIdentityProvider API.
9045
+ */
7787
9046
  updateIdentityProvider(updateIdentityProviderRequest) {
7788
9047
  return __awaiter(this, void 0, void 0, function* () {
7789
9048
  if (this.logger)
@@ -7839,13 +9098,16 @@ class IdentityClient {
7839
9098
  });
7840
9099
  }
7841
9100
  /**
7842
- * Updates the specified group mapping.
7843
- * This operation does not retry by default if the user has not defined a retry configuration.
7844
- * @param UpdateIdpGroupMappingRequest
7845
- * @return UpdateIdpGroupMappingResponse
7846
- * @throws OciError when an error occurs
7847
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateIdpGroupMapping.ts.html |here} to see how to use UpdateIdpGroupMapping API.
7848
- */
9101
+ * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
9102
+ * <p>
9103
+ Updates the specified group mapping.
9104
+ *
9105
+ * This operation does not retry by default if the user has not defined a retry configuration.
9106
+ * @param UpdateIdpGroupMappingRequest
9107
+ * @return UpdateIdpGroupMappingResponse
9108
+ * @throws OciError when an error occurs
9109
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateIdpGroupMapping.ts.html |here} to see how to use UpdateIdpGroupMapping API.
9110
+ */
7849
9111
  updateIdpGroupMapping(updateIdpGroupMappingRequest) {
7850
9112
  return __awaiter(this, void 0, void 0, function* () {
7851
9113
  if (this.logger)
@@ -7907,7 +9169,7 @@ class IdentityClient {
7907
9169
  * @param UpdateNetworkSourceRequest
7908
9170
  * @return UpdateNetworkSourceResponse
7909
9171
  * @throws OciError when an error occurs
7910
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateNetworkSource.ts.html |here} to see how to use UpdateNetworkSource API.
9172
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateNetworkSource.ts.html |here} to see how to use UpdateNetworkSource API.
7911
9173
  */
7912
9174
  updateNetworkSource(updateNetworkSourceRequest) {
7913
9175
  return __awaiter(this, void 0, void 0, function* () {
@@ -7970,7 +9232,7 @@ class IdentityClient {
7970
9232
  * @param UpdateOAuthClientCredentialRequest
7971
9233
  * @return UpdateOAuthClientCredentialResponse
7972
9234
  * @throws OciError when an error occurs
7973
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateOAuthClientCredential.ts.html |here} to see how to use UpdateOAuthClientCredential API.
9235
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateOAuthClientCredential.ts.html |here} to see how to use UpdateOAuthClientCredential API.
7974
9236
  */
7975
9237
  updateOAuthClientCredential(updateOAuthClientCredentialRequest) {
7976
9238
  return __awaiter(this, void 0, void 0, function* () {
@@ -8036,7 +9298,7 @@ class IdentityClient {
8036
9298
  * @param UpdatePolicyRequest
8037
9299
  * @return UpdatePolicyResponse
8038
9300
  * @throws OciError when an error occurs
8039
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdatePolicy.ts.html |here} to see how to use UpdatePolicy API.
9301
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdatePolicy.ts.html |here} to see how to use UpdatePolicy API.
8040
9302
  */
8041
9303
  updatePolicy(updatePolicyRequest) {
8042
9304
  return __awaiter(this, void 0, void 0, function* () {
@@ -8099,7 +9361,7 @@ class IdentityClient {
8099
9361
  * @param UpdateSmtpCredentialRequest
8100
9362
  * @return UpdateSmtpCredentialResponse
8101
9363
  * @throws OciError when an error occurs
8102
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateSmtpCredential.ts.html |here} to see how to use UpdateSmtpCredential API.
9364
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateSmtpCredential.ts.html |here} to see how to use UpdateSmtpCredential API.
8103
9365
  */
8104
9366
  updateSmtpCredential(updateSmtpCredentialRequest) {
8105
9367
  return __awaiter(this, void 0, void 0, function* () {
@@ -8165,7 +9427,7 @@ class IdentityClient {
8165
9427
  * @param UpdateSwiftPasswordRequest
8166
9428
  * @return UpdateSwiftPasswordResponse
8167
9429
  * @throws OciError when an error occurs
8168
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateSwiftPassword.ts.html |here} to see how to use UpdateSwiftPassword API.
9430
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateSwiftPassword.ts.html |here} to see how to use UpdateSwiftPassword API.
8169
9431
  */
8170
9432
  updateSwiftPassword(updateSwiftPasswordRequest) {
8171
9433
  return __awaiter(this, void 0, void 0, function* () {
@@ -8238,7 +9500,7 @@ class IdentityClient {
8238
9500
  * @param UpdateTagRequest
8239
9501
  * @return UpdateTagResponse
8240
9502
  * @throws OciError when an error occurs
8241
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateTag.ts.html |here} to see how to use UpdateTag API.
9503
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateTag.ts.html |here} to see how to use UpdateTag API.
8242
9504
  */
8243
9505
  updateTag(updateTagRequest) {
8244
9506
  return __awaiter(this, void 0, void 0, function* () {
@@ -8307,7 +9569,7 @@ class IdentityClient {
8307
9569
  * @param UpdateTagDefaultRequest
8308
9570
  * @return UpdateTagDefaultResponse
8309
9571
  * @throws OciError when an error occurs
8310
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateTagDefault.ts.html |here} to see how to use UpdateTagDefault API.
9572
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateTagDefault.ts.html |here} to see how to use UpdateTagDefault API.
8311
9573
  */
8312
9574
  updateTagDefault(updateTagDefaultRequest) {
8313
9575
  return __awaiter(this, void 0, void 0, function* () {
@@ -8379,7 +9641,7 @@ class IdentityClient {
8379
9641
  * @param UpdateTagNamespaceRequest
8380
9642
  * @return UpdateTagNamespaceResponse
8381
9643
  * @throws OciError when an error occurs
8382
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateTagNamespace.ts.html |here} to see how to use UpdateTagNamespace API.
9644
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateTagNamespace.ts.html |here} to see how to use UpdateTagNamespace API.
8383
9645
  */
8384
9646
  updateTagNamespace(updateTagNamespaceRequest) {
8385
9647
  return __awaiter(this, void 0, void 0, function* () {
@@ -8435,7 +9697,7 @@ class IdentityClient {
8435
9697
  * @param UpdateUserRequest
8436
9698
  * @return UpdateUserResponse
8437
9699
  * @throws OciError when an error occurs
8438
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateUser.ts.html |here} to see how to use UpdateUser API.
9700
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateUser.ts.html |here} to see how to use UpdateUser API.
8439
9701
  */
8440
9702
  updateUser(updateUserRequest) {
8441
9703
  return __awaiter(this, void 0, void 0, function* () {
@@ -8498,7 +9760,7 @@ class IdentityClient {
8498
9760
  * @param UpdateUserCapabilitiesRequest
8499
9761
  * @return UpdateUserCapabilitiesResponse
8500
9762
  * @throws OciError when an error occurs
8501
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateUserCapabilities.ts.html |here} to see how to use UpdateUserCapabilities API.
9763
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateUserCapabilities.ts.html |here} to see how to use UpdateUserCapabilities API.
8502
9764
  */
8503
9765
  updateUserCapabilities(updateUserCapabilitiesRequest) {
8504
9766
  return __awaiter(this, void 0, void 0, function* () {
@@ -8561,7 +9823,7 @@ class IdentityClient {
8561
9823
  * @param UpdateUserStateRequest
8562
9824
  * @return UpdateUserStateResponse
8563
9825
  * @throws OciError when an error occurs
8564
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UpdateUserState.ts.html |here} to see how to use UpdateUserState API.
9826
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UpdateUserState.ts.html |here} to see how to use UpdateUserState API.
8565
9827
  */
8566
9828
  updateUserState(updateUserStateRequest) {
8567
9829
  return __awaiter(this, void 0, void 0, function* () {
@@ -8638,7 +9900,7 @@ class IdentityClient {
8638
9900
  * @param UploadApiKeyRequest
8639
9901
  * @return UploadApiKeyResponse
8640
9902
  * @throws OciError when an error occurs
8641
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/UploadApiKey.ts.html |here} to see how to use UploadApiKey API.
9903
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/identity/UploadApiKey.ts.html |here} to see how to use UploadApiKey API.
8642
9904
  */
8643
9905
  uploadApiKey(uploadApiKeyRequest) {
8644
9906
  return __awaiter(this, void 0, void 0, function* () {
@@ -8696,5 +9958,5 @@ class IdentityClient {
8696
9958
  }
8697
9959
  }
8698
9960
  exports.IdentityClient = IdentityClient;
8699
- IdentityClient.serviceEndpointTemplate = "https://identity.{region}.{secondLevelDomain}";
9961
+ IdentityClient.serviceEndpointTemplate = "https://identity.{region}.oci.{secondLevelDomain}";
8700
9962
  //# sourceMappingURL=client.js.map