oci-fusionapps 2.35.1 → 2.38.0

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 (65) hide show
  1. package/index.d.ts +3 -18
  2. package/index.js +4 -19
  3. package/index.js.map +1 -1
  4. package/lib/client.d.ts +172 -457
  5. package/lib/client.js +703 -1239
  6. package/lib/client.js.map +1 -1
  7. package/lib/fusionapplications-waiter.d.ts +76 -0
  8. package/lib/{fusionenvironment-waiter.js → fusionapplications-waiter.js} +64 -4
  9. package/lib/fusionapplications-waiter.js.map +1 -0
  10. package/lib/request/change-fusion-environment-compartment-request.d.ts +1 -1
  11. package/lib/request/change-fusion-environment-family-compartment-request.d.ts +1 -1
  12. package/lib/request/create-data-masking-activity-request.d.ts +1 -1
  13. package/lib/request/create-fusion-environment-admin-user-request.d.ts +1 -1
  14. package/lib/request/create-fusion-environment-family-request.d.ts +1 -5
  15. package/lib/request/create-fusion-environment-request.d.ts +1 -1
  16. package/lib/request/create-refresh-activity-request.d.ts +1 -1
  17. package/lib/request/delete-fusion-environment-admin-user-request.d.ts +1 -1
  18. package/lib/request/delete-fusion-environment-family-request.d.ts +1 -1
  19. package/lib/request/delete-fusion-environment-request.d.ts +1 -1
  20. package/lib/request/get-data-masking-activity-request.d.ts +1 -1
  21. package/lib/request/get-fusion-environment-family-limits-and-usage-request.d.ts +1 -1
  22. package/lib/request/get-fusion-environment-family-request.d.ts +1 -1
  23. package/lib/request/get-fusion-environment-family-subscription-detail-request.d.ts +1 -1
  24. package/lib/request/get-fusion-environment-request.d.ts +1 -1
  25. package/lib/request/get-fusion-environment-status-request.d.ts +1 -1
  26. package/lib/request/get-refresh-activity-request.d.ts +1 -1
  27. package/lib/request/get-scheduled-activity-request.d.ts +1 -1
  28. package/lib/request/get-service-attachment-request.d.ts +1 -1
  29. package/lib/request/get-work-request-request.d.ts +1 -1
  30. package/lib/request/index.d.ts +36 -36
  31. package/lib/request/index.js +11 -11
  32. package/lib/request/index.js.map +1 -1
  33. package/lib/request/list-admin-users-request.d.ts +1 -1
  34. package/lib/request/list-data-masking-activities-request.d.ts +1 -1
  35. package/lib/request/list-fusion-environment-families-request.d.ts +1 -1
  36. package/lib/request/list-fusion-environments-request.d.ts +1 -1
  37. package/lib/request/list-refresh-activities-request.d.ts +1 -1
  38. package/lib/request/list-scheduled-activities-request.d.ts +1 -1
  39. package/lib/request/list-service-attachments-request.d.ts +1 -1
  40. package/lib/request/list-time-available-for-refreshes-request.d.ts +1 -1
  41. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  42. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  43. package/lib/request/list-work-requests-request.d.ts +1 -1
  44. package/lib/request/reset-fusion-environment-password-request.d.ts +1 -1
  45. package/lib/request/update-fusion-environment-family-request.d.ts +1 -1
  46. package/lib/request/update-fusion-environment-request.d.ts +1 -1
  47. package/lib/response/index.d.ts +36 -36
  48. package/package.json +3 -3
  49. package/lib/datamaskingactivity-waiter.d.ts +0 -29
  50. package/lib/datamaskingactivity-waiter.js +0 -45
  51. package/lib/datamaskingactivity-waiter.js.map +0 -1
  52. package/lib/fusionenvironment-waiter.d.ts +0 -36
  53. package/lib/fusionenvironment-waiter.js.map +0 -1
  54. package/lib/fusionenvironmentfamily-waiter.d.ts +0 -29
  55. package/lib/fusionenvironmentfamily-waiter.js +0 -65
  56. package/lib/fusionenvironmentfamily-waiter.js.map +0 -1
  57. package/lib/refreshactivity-waiter.d.ts +0 -29
  58. package/lib/refreshactivity-waiter.js +0 -45
  59. package/lib/refreshactivity-waiter.js.map +0 -1
  60. package/lib/scheduledactivity-waiter.d.ts +0 -29
  61. package/lib/scheduledactivity-waiter.js +0 -45
  62. package/lib/scheduledactivity-waiter.js.map +0 -1
  63. package/lib/serviceattachment-waiter.d.ts +0 -29
  64. package/lib/serviceattachment-waiter.js +0 -65
  65. package/lib/serviceattachment-waiter.js.map +0 -1
package/lib/client.js CHANGED
@@ -40,32 +40,27 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
40
40
  });
41
41
  };
42
42
  Object.defineProperty(exports, "__esModule", { value: true });
43
- exports.ServiceAttachmentClient = exports.ServiceAttachmentApiKeys = exports.ScheduledActivityClient = exports.ScheduledActivityApiKeys = exports.RefreshActivityClient = exports.RefreshActivityApiKeys = exports.FusionEnvironmentFamilyClient = exports.FusionEnvironmentFamilyApiKeys = exports.FusionEnvironmentClient = exports.FusionEnvironmentApiKeys = exports.DataMaskingActivityClient = exports.DataMaskingActivityApiKeys = void 0;
43
+ exports.FusionApplicationsClient = exports.FusionApplicationsApiKeys = void 0;
44
44
  const common = require("oci-common");
45
45
  const model = __importStar(require("./model"));
46
- const datamaskingactivity_waiter_1 = require("./datamaskingactivity-waiter");
47
- const fusionenvironment_waiter_1 = require("./fusionenvironment-waiter");
48
- const fusionenvironmentfamily_waiter_1 = require("./fusionenvironmentfamily-waiter");
49
- const refreshactivity_waiter_1 = require("./refreshactivity-waiter");
50
- const scheduledactivity_waiter_1 = require("./scheduledactivity-waiter");
51
- const serviceattachment_waiter_1 = require("./serviceattachment-waiter");
46
+ const fusionapplications_waiter_1 = require("./fusionapplications-waiter");
52
47
  const oci_common_1 = require("oci-common");
53
48
  // ===============================================
54
49
  // This file is autogenerated - Please do not edit
55
50
  // ===============================================
56
- var DataMaskingActivityApiKeys;
57
- (function (DataMaskingActivityApiKeys) {
58
- })(DataMaskingActivityApiKeys = exports.DataMaskingActivityApiKeys || (exports.DataMaskingActivityApiKeys = {}));
51
+ var FusionApplicationsApiKeys;
52
+ (function (FusionApplicationsApiKeys) {
53
+ })(FusionApplicationsApiKeys = exports.FusionApplicationsApiKeys || (exports.FusionApplicationsApiKeys = {}));
59
54
  /**
60
55
  * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
61
56
  */
62
- class DataMaskingActivityClient {
57
+ class FusionApplicationsClient {
63
58
  constructor(params, clientConfiguration) {
64
59
  this["_endpoint"] = "";
65
60
  this["_defaultHeaders"] = {};
66
61
  this._circuitBreaker = null;
67
62
  this._httpOptions = undefined;
68
- this.targetService = "DataMaskingActivity";
63
+ this.targetService = "FusionApplications";
69
64
  const requestSigner = params.authenticationDetailsProvider
70
65
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
71
66
  : null;
@@ -110,7 +105,7 @@ class DataMaskingActivityClient {
110
105
  this._endpoint = endpoint;
111
106
  this._endpoint = this._endpoint + "/20211201";
112
107
  if (this.logger)
113
- this.logger.info(`DataMaskingActivityClient endpoint set to ${this._endpoint}`);
108
+ this.logger.info(`FusionApplicationsClient endpoint set to ${this._endpoint}`);
114
109
  }
115
110
  get logger() {
116
111
  return common.LOG.logger;
@@ -121,7 +116,7 @@ class DataMaskingActivityClient {
121
116
  * @param region The region of the service.
122
117
  */
123
118
  set region(region) {
124
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DataMaskingActivityClient.serviceEndpointTemplate, region, DataMaskingActivityClient.endpointServiceName);
119
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(FusionApplicationsClient.serviceEndpointTemplate, region, FusionApplicationsClient.endpointServiceName);
125
120
  }
126
121
  /**
127
122
  * Sets the regionId to call (ex, 'us-phoenix-1').
@@ -132,16 +127,16 @@ class DataMaskingActivityClient {
132
127
  * @param regionId The public region ID.
133
128
  */
134
129
  set regionId(regionId) {
135
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(DataMaskingActivityClient.serviceEndpointTemplate, regionId, DataMaskingActivityClient.endpointServiceName);
130
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(FusionApplicationsClient.serviceEndpointTemplate, regionId, FusionApplicationsClient.endpointServiceName);
136
131
  }
137
132
  /**
138
- * Creates a new DataMaskingActivityWaiter for resources for this service.
133
+ * Creates a new FusionApplicationsWaiter for resources for this service.
139
134
  *
140
135
  * @param config The waiter configuration for termination and delay strategy
141
136
  * @return The service waiters.
142
137
  */
143
138
  createWaiters(config) {
144
- this._waiters = new datamaskingactivity_waiter_1.DataMaskingActivityWaiter(this, config);
139
+ this._waiters = new fusionapplications_waiter_1.FusionApplicationsWaiter(this, config);
145
140
  return this._waiters;
146
141
  }
147
142
  /**
@@ -156,39 +151,41 @@ class DataMaskingActivityClient {
156
151
  throw Error("Waiters do not exist. Please create waiters.");
157
152
  }
158
153
  /**
159
- * Creates a new DataMaskingActivity.
154
+ * Moves a FusionEnvironment into a different compartment. When provided, If-Match is checked against ETag
155
+ * values of the resource.
160
156
  *
161
157
  * This operation does not retry by default if the user has not defined a retry configuration.
162
- * @param CreateDataMaskingActivityRequest
163
- * @return CreateDataMaskingActivityResponse
158
+ * @param ChangeFusionEnvironmentCompartmentRequest
159
+ * @return ChangeFusionEnvironmentCompartmentResponse
164
160
  * @throws OciError when an error occurs
165
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/CreateDataMaskingActivity.ts.html |here} to see how to use CreateDataMaskingActivity API.
161
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ChangeFusionEnvironmentCompartment.ts.html |here} to see how to use ChangeFusionEnvironmentCompartment API.
166
162
  */
167
- createDataMaskingActivity(createDataMaskingActivityRequest) {
163
+ changeFusionEnvironmentCompartment(changeFusionEnvironmentCompartmentRequest) {
168
164
  return __awaiter(this, void 0, void 0, function* () {
169
165
  if (this.logger)
170
- this.logger.debug("Calling operation DataMaskingActivityClient#createDataMaskingActivity.");
171
- const operationName = "createDataMaskingActivity";
166
+ this.logger.debug("Calling operation FusionApplicationsClient#changeFusionEnvironmentCompartment.");
167
+ const operationName = "changeFusionEnvironmentCompartment";
172
168
  const apiReferenceLink = "";
173
169
  const pathParams = {
174
- "{fusionEnvironmentId}": createDataMaskingActivityRequest.fusionEnvironmentId
170
+ "{fusionEnvironmentId}": changeFusionEnvironmentCompartmentRequest.fusionEnvironmentId
175
171
  };
176
172
  const queryParams = {};
177
173
  let headerParams = {
178
174
  "Content-Type": common.Constants.APPLICATION_JSON,
179
- "opc-retry-token": createDataMaskingActivityRequest.opcRetryToken,
180
- "opc-request-id": createDataMaskingActivityRequest.opcRequestId
175
+ "if-match": changeFusionEnvironmentCompartmentRequest.ifMatch,
176
+ "opc-request-id": changeFusionEnvironmentCompartmentRequest.opcRequestId,
177
+ "opc-retry-token": changeFusionEnvironmentCompartmentRequest.opcRetryToken
181
178
  };
182
179
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
183
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDataMaskingActivityRequest.retryConfiguration, specRetryConfiguration);
180
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFusionEnvironmentCompartmentRequest.retryConfiguration, specRetryConfiguration);
184
181
  if (this.logger)
185
182
  retrier.logger = this.logger;
186
183
  const request = yield oci_common_1.composeRequest({
187
184
  baseEndpoint: this._endpoint,
188
185
  defaultHeaders: this._defaultHeaders,
189
- path: "/fusionEnvironments/{fusionEnvironmentId}/dataMaskingActivities",
186
+ path: "/fusionEnvironments/{fusionEnvironmentId}/actions/changeCompartment",
190
187
  method: "POST",
191
- bodyContent: common.ObjectSerializer.serialize(createDataMaskingActivityRequest.createDataMaskingActivityDetails, "CreateDataMaskingActivityDetails", model.CreateDataMaskingActivityDetails.getJsonObj),
188
+ bodyContent: common.ObjectSerializer.serialize(changeFusionEnvironmentCompartmentRequest.changeFusionEnvironmentCompartmentDetails, "ChangeFusionEnvironmentCompartmentDetails", model.ChangeFusionEnvironmentCompartmentDetails.getJsonObj),
192
189
  pathParams: pathParams,
193
190
  headerParams: headerParams,
194
191
  queryParams: queryParams
@@ -198,78 +195,14 @@ class DataMaskingActivityClient {
198
195
  const sdkResponse = oci_common_1.composeResponse({
199
196
  responseObject: {},
200
197
  responseHeaders: [
201
- {
202
- value: response.headers.get("opc-work-request-id"),
203
- key: "opcWorkRequestId",
204
- dataType: "string"
205
- },
206
198
  {
207
199
  value: response.headers.get("opc-request-id"),
208
200
  key: "opcRequestId",
209
201
  dataType: "string"
210
- }
211
- ]
212
- });
213
- return sdkResponse;
214
- }
215
- catch (err) {
216
- throw err;
217
- }
218
- });
219
- }
220
- /**
221
- * Gets a DataMaskingActivity by identifier
222
- * This operation does not retry by default if the user has not defined a retry configuration.
223
- * @param GetDataMaskingActivityRequest
224
- * @return GetDataMaskingActivityResponse
225
- * @throws OciError when an error occurs
226
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/GetDataMaskingActivity.ts.html |here} to see how to use GetDataMaskingActivity API.
227
- */
228
- getDataMaskingActivity(getDataMaskingActivityRequest) {
229
- return __awaiter(this, void 0, void 0, function* () {
230
- if (this.logger)
231
- this.logger.debug("Calling operation DataMaskingActivityClient#getDataMaskingActivity.");
232
- const operationName = "getDataMaskingActivity";
233
- const apiReferenceLink = "";
234
- const pathParams = {
235
- "{fusionEnvironmentId}": getDataMaskingActivityRequest.fusionEnvironmentId,
236
- "{dataMaskingActivityId}": getDataMaskingActivityRequest.dataMaskingActivityId
237
- };
238
- const queryParams = {};
239
- let headerParams = {
240
- "Content-Type": common.Constants.APPLICATION_JSON,
241
- "opc-request-id": getDataMaskingActivityRequest.opcRequestId
242
- };
243
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
244
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDataMaskingActivityRequest.retryConfiguration, specRetryConfiguration);
245
- if (this.logger)
246
- retrier.logger = this.logger;
247
- const request = yield oci_common_1.composeRequest({
248
- baseEndpoint: this._endpoint,
249
- defaultHeaders: this._defaultHeaders,
250
- path: "/fusionEnvironments/{fusionEnvironmentId}/dataMaskingActivities/{dataMaskingActivityId}",
251
- method: "GET",
252
- pathParams: pathParams,
253
- headerParams: headerParams,
254
- queryParams: queryParams
255
- });
256
- try {
257
- const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
258
- const sdkResponse = oci_common_1.composeResponse({
259
- responseObject: {},
260
- body: yield response.json(),
261
- bodyKey: "dataMaskingActivity",
262
- bodyModel: model.DataMaskingActivity,
263
- type: "model.DataMaskingActivity",
264
- responseHeaders: [
265
- {
266
- value: response.headers.get("etag"),
267
- key: "etag",
268
- dataType: "string"
269
202
  },
270
203
  {
271
- value: response.headers.get("opc-request-id"),
272
- key: "opcRequestId",
204
+ value: response.headers.get("opc-work-request-id"),
205
+ key: "opcWorkRequestId",
273
206
  dataType: "string"
274
207
  }
275
208
  ]
@@ -282,43 +215,41 @@ class DataMaskingActivityClient {
282
215
  });
283
216
  }
284
217
  /**
285
- * Returns a list of DataMaskingActivities.
218
+ * Moves a FusionEnvironmentFamily into a different compartment. When provided, If-Match is checked against ETag
219
+ * values of the resource.
286
220
  *
287
221
  * This operation does not retry by default if the user has not defined a retry configuration.
288
- * @param ListDataMaskingActivitiesRequest
289
- * @return ListDataMaskingActivitiesResponse
222
+ * @param ChangeFusionEnvironmentFamilyCompartmentRequest
223
+ * @return ChangeFusionEnvironmentFamilyCompartmentResponse
290
224
  * @throws OciError when an error occurs
291
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ListDataMaskingActivities.ts.html |here} to see how to use ListDataMaskingActivities API.
225
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ChangeFusionEnvironmentFamilyCompartment.ts.html |here} to see how to use ChangeFusionEnvironmentFamilyCompartment API.
292
226
  */
293
- listDataMaskingActivities(listDataMaskingActivitiesRequest) {
227
+ changeFusionEnvironmentFamilyCompartment(changeFusionEnvironmentFamilyCompartmentRequest) {
294
228
  return __awaiter(this, void 0, void 0, function* () {
295
229
  if (this.logger)
296
- this.logger.debug("Calling operation DataMaskingActivityClient#listDataMaskingActivities.");
297
- const operationName = "listDataMaskingActivities";
230
+ this.logger.debug("Calling operation FusionApplicationsClient#changeFusionEnvironmentFamilyCompartment.");
231
+ const operationName = "changeFusionEnvironmentFamilyCompartment";
298
232
  const apiReferenceLink = "";
299
233
  const pathParams = {
300
- "{fusionEnvironmentId}": listDataMaskingActivitiesRequest.fusionEnvironmentId
301
- };
302
- const queryParams = {
303
- "lifecycleState": listDataMaskingActivitiesRequest.lifecycleState,
304
- "limit": listDataMaskingActivitiesRequest.limit,
305
- "page": listDataMaskingActivitiesRequest.page,
306
- "sortOrder": listDataMaskingActivitiesRequest.sortOrder,
307
- "sortBy": listDataMaskingActivitiesRequest.sortBy
234
+ "{fusionEnvironmentFamilyId}": changeFusionEnvironmentFamilyCompartmentRequest.fusionEnvironmentFamilyId
308
235
  };
236
+ const queryParams = {};
309
237
  let headerParams = {
310
238
  "Content-Type": common.Constants.APPLICATION_JSON,
311
- "opc-request-id": listDataMaskingActivitiesRequest.opcRequestId
239
+ "if-match": changeFusionEnvironmentFamilyCompartmentRequest.ifMatch,
240
+ "opc-request-id": changeFusionEnvironmentFamilyCompartmentRequest.opcRequestId,
241
+ "opc-retry-token": changeFusionEnvironmentFamilyCompartmentRequest.opcRetryToken
312
242
  };
313
243
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
314
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDataMaskingActivitiesRequest.retryConfiguration, specRetryConfiguration);
244
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFusionEnvironmentFamilyCompartmentRequest.retryConfiguration, specRetryConfiguration);
315
245
  if (this.logger)
316
246
  retrier.logger = this.logger;
317
247
  const request = yield oci_common_1.composeRequest({
318
248
  baseEndpoint: this._endpoint,
319
249
  defaultHeaders: this._defaultHeaders,
320
- path: "/fusionEnvironments/{fusionEnvironmentId}/dataMaskingActivities",
321
- method: "GET",
250
+ path: "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}/actions/changeCompartment",
251
+ method: "POST",
252
+ bodyContent: common.ObjectSerializer.serialize(changeFusionEnvironmentFamilyCompartmentRequest.changeFusionEnvironmentFamilyCompartmentDetails, "ChangeFusionEnvironmentFamilyCompartmentDetails", model.ChangeFusionEnvironmentFamilyCompartmentDetails.getJsonObj),
322
253
  pathParams: pathParams,
323
254
  headerParams: headerParams,
324
255
  queryParams: queryParams
@@ -327,10 +258,6 @@ class DataMaskingActivityClient {
327
258
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
328
259
  const sdkResponse = oci_common_1.composeResponse({
329
260
  responseObject: {},
330
- body: yield response.json(),
331
- bodyKey: "dataMaskingActivityCollection",
332
- bodyModel: model.DataMaskingActivityCollection,
333
- type: "model.DataMaskingActivityCollection",
334
261
  responseHeaders: [
335
262
  {
336
263
  value: response.headers.get("opc-request-id"),
@@ -338,8 +265,8 @@ class DataMaskingActivityClient {
338
265
  dataType: "string"
339
266
  },
340
267
  {
341
- value: response.headers.get("opc-next-page"),
342
- key: "opcNextPage",
268
+ value: response.headers.get("opc-work-request-id"),
269
+ key: "opcWorkRequestId",
343
270
  dataType: "string"
344
271
  }
345
272
  ]
@@ -351,148 +278,40 @@ class DataMaskingActivityClient {
351
278
  }
352
279
  });
353
280
  }
354
- }
355
- exports.DataMaskingActivityClient = DataMaskingActivityClient;
356
- DataMaskingActivityClient.serviceEndpointTemplate = "https://fusionapps.{region}.oci.{secondLevelDomain}";
357
- DataMaskingActivityClient.endpointServiceName = "";
358
- var FusionEnvironmentApiKeys;
359
- (function (FusionEnvironmentApiKeys) {
360
- })(FusionEnvironmentApiKeys = exports.FusionEnvironmentApiKeys || (exports.FusionEnvironmentApiKeys = {}));
361
- /**
362
- * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
363
- */
364
- class FusionEnvironmentClient {
365
- constructor(params, clientConfiguration) {
366
- this["_endpoint"] = "";
367
- this["_defaultHeaders"] = {};
368
- this._circuitBreaker = null;
369
- this._httpOptions = undefined;
370
- this.targetService = "FusionEnvironment";
371
- const requestSigner = params.authenticationDetailsProvider
372
- ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
373
- : null;
374
- if (clientConfiguration) {
375
- this._clientConfiguration = clientConfiguration;
376
- this._circuitBreaker = clientConfiguration.circuitBreaker
377
- ? clientConfiguration.circuitBreaker.circuit
378
- : null;
379
- this._httpOptions = clientConfiguration.httpOptions
380
- ? clientConfiguration.httpOptions
381
- : undefined;
382
- }
383
- // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
384
- const specCircuitBreakerEnabled = true;
385
- if (!this._circuitBreaker &&
386
- common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
387
- (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
388
- this._circuitBreaker = new common.CircuitBreaker().circuit;
389
- }
390
- this._httpClient =
391
- params.httpClient ||
392
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
393
- if (params.authenticationDetailsProvider &&
394
- common.isRegionProvider(params.authenticationDetailsProvider)) {
395
- const provider = params.authenticationDetailsProvider;
396
- if (provider.getRegion()) {
397
- this.region = provider.getRegion();
398
- }
399
- }
400
- }
401
- /**
402
- * Get the endpoint that is being used to call (ex, https://www.example.com).
403
- */
404
- get endpoint() {
405
- return this._endpoint;
406
- }
407
- /**
408
- * Sets the endpoint to call (ex, https://www.example.com).
409
- * @param endpoint The endpoint of the service.
410
- */
411
- set endpoint(endpoint) {
412
- this._endpoint = endpoint;
413
- this._endpoint = this._endpoint + "/20211201";
414
- if (this.logger)
415
- this.logger.info(`FusionEnvironmentClient endpoint set to ${this._endpoint}`);
416
- }
417
- get logger() {
418
- return common.LOG.logger;
419
- }
420
- /**
421
- * Sets the region to call (ex, Region.US_PHOENIX_1).
422
- * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
423
- * @param region The region of the service.
424
- */
425
- set region(region) {
426
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(FusionEnvironmentClient.serviceEndpointTemplate, region, FusionEnvironmentClient.endpointServiceName);
427
- }
428
- /**
429
- * Sets the regionId to call (ex, 'us-phoenix-1').
430
- *
431
- * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
432
- * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
433
- * and then call {@link #endpoint(String) endpoint}.
434
- * @param regionId The public region ID.
435
- */
436
- set regionId(regionId) {
437
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(FusionEnvironmentClient.serviceEndpointTemplate, regionId, FusionEnvironmentClient.endpointServiceName);
438
- }
439
- /**
440
- * Creates a new FusionEnvironmentWaiter for resources for this service.
441
- *
442
- * @param config The waiter configuration for termination and delay strategy
443
- * @return The service waiters.
444
- */
445
- createWaiters(config) {
446
- this._waiters = new fusionenvironment_waiter_1.FusionEnvironmentWaiter(this, config);
447
- return this._waiters;
448
- }
449
- /**
450
- * Gets the waiters available for resources for this service.
451
- *
452
- * @return The service waiters.
453
- */
454
- getWaiters() {
455
- if (this._waiters) {
456
- return this._waiters;
457
- }
458
- throw Error("Waiters do not exist. Please create waiters.");
459
- }
460
281
  /**
461
- * Moves a FusionEnvironment into a different compartment. When provided, If-Match is checked against ETag
462
- * values of the resource.
282
+ * Creates a new DataMaskingActivity.
463
283
  *
464
284
  * This operation does not retry by default if the user has not defined a retry configuration.
465
- * @param ChangeFusionEnvironmentCompartmentRequest
466
- * @return ChangeFusionEnvironmentCompartmentResponse
285
+ * @param CreateDataMaskingActivityRequest
286
+ * @return CreateDataMaskingActivityResponse
467
287
  * @throws OciError when an error occurs
468
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ChangeFusionEnvironmentCompartment.ts.html |here} to see how to use ChangeFusionEnvironmentCompartment API.
288
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/CreateDataMaskingActivity.ts.html |here} to see how to use CreateDataMaskingActivity API.
469
289
  */
470
- changeFusionEnvironmentCompartment(changeFusionEnvironmentCompartmentRequest) {
290
+ createDataMaskingActivity(createDataMaskingActivityRequest) {
471
291
  return __awaiter(this, void 0, void 0, function* () {
472
292
  if (this.logger)
473
- this.logger.debug("Calling operation FusionEnvironmentClient#changeFusionEnvironmentCompartment.");
474
- const operationName = "changeFusionEnvironmentCompartment";
293
+ this.logger.debug("Calling operation FusionApplicationsClient#createDataMaskingActivity.");
294
+ const operationName = "createDataMaskingActivity";
475
295
  const apiReferenceLink = "";
476
296
  const pathParams = {
477
- "{fusionEnvironmentId}": changeFusionEnvironmentCompartmentRequest.fusionEnvironmentId
297
+ "{fusionEnvironmentId}": createDataMaskingActivityRequest.fusionEnvironmentId
478
298
  };
479
299
  const queryParams = {};
480
300
  let headerParams = {
481
301
  "Content-Type": common.Constants.APPLICATION_JSON,
482
- "if-match": changeFusionEnvironmentCompartmentRequest.ifMatch,
483
- "opc-request-id": changeFusionEnvironmentCompartmentRequest.opcRequestId,
484
- "opc-retry-token": changeFusionEnvironmentCompartmentRequest.opcRetryToken
302
+ "opc-retry-token": createDataMaskingActivityRequest.opcRetryToken,
303
+ "opc-request-id": createDataMaskingActivityRequest.opcRequestId
485
304
  };
486
305
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
487
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFusionEnvironmentCompartmentRequest.retryConfiguration, specRetryConfiguration);
306
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDataMaskingActivityRequest.retryConfiguration, specRetryConfiguration);
488
307
  if (this.logger)
489
308
  retrier.logger = this.logger;
490
309
  const request = yield oci_common_1.composeRequest({
491
310
  baseEndpoint: this._endpoint,
492
311
  defaultHeaders: this._defaultHeaders,
493
- path: "/fusionEnvironments/{fusionEnvironmentId}/actions/changeCompartment",
312
+ path: "/fusionEnvironments/{fusionEnvironmentId}/dataMaskingActivities",
494
313
  method: "POST",
495
- bodyContent: common.ObjectSerializer.serialize(changeFusionEnvironmentCompartmentRequest.changeFusionEnvironmentCompartmentDetails, "ChangeFusionEnvironmentCompartmentDetails", model.ChangeFusionEnvironmentCompartmentDetails.getJsonObj),
314
+ bodyContent: common.ObjectSerializer.serialize(createDataMaskingActivityRequest.createDataMaskingActivityDetails, "CreateDataMaskingActivityDetails", model.CreateDataMaskingActivityDetails.getJsonObj),
496
315
  pathParams: pathParams,
497
316
  headerParams: headerParams,
498
317
  queryParams: queryParams
@@ -503,13 +322,13 @@ class FusionEnvironmentClient {
503
322
  responseObject: {},
504
323
  responseHeaders: [
505
324
  {
506
- value: response.headers.get("opc-request-id"),
507
- key: "opcRequestId",
325
+ value: response.headers.get("opc-work-request-id"),
326
+ key: "opcWorkRequestId",
508
327
  dataType: "string"
509
328
  },
510
329
  {
511
- value: response.headers.get("opc-work-request-id"),
512
- key: "opcWorkRequestId",
330
+ value: response.headers.get("opc-request-id"),
331
+ key: "opcRequestId",
513
332
  dataType: "string"
514
333
  }
515
334
  ]
@@ -528,12 +347,12 @@ class FusionEnvironmentClient {
528
347
  * @param CreateFusionEnvironmentRequest
529
348
  * @return CreateFusionEnvironmentResponse
530
349
  * @throws OciError when an error occurs
531
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/CreateFusionEnvironment.ts.html |here} to see how to use CreateFusionEnvironment API.
350
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/CreateFusionEnvironment.ts.html |here} to see how to use CreateFusionEnvironment API.
532
351
  */
533
352
  createFusionEnvironment(createFusionEnvironmentRequest) {
534
353
  return __awaiter(this, void 0, void 0, function* () {
535
354
  if (this.logger)
536
- this.logger.debug("Calling operation FusionEnvironmentClient#createFusionEnvironment.");
355
+ this.logger.debug("Calling operation FusionApplicationsClient#createFusionEnvironment.");
537
356
  const operationName = "createFusionEnvironment";
538
357
  const apiReferenceLink = "";
539
358
  const pathParams = {};
@@ -587,12 +406,12 @@ class FusionEnvironmentClient {
587
406
  * @param CreateFusionEnvironmentAdminUserRequest
588
407
  * @return CreateFusionEnvironmentAdminUserResponse
589
408
  * @throws OciError when an error occurs
590
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/CreateFusionEnvironmentAdminUser.ts.html |here} to see how to use CreateFusionEnvironmentAdminUser API.
409
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/CreateFusionEnvironmentAdminUser.ts.html |here} to see how to use CreateFusionEnvironmentAdminUser API.
591
410
  */
592
411
  createFusionEnvironmentAdminUser(createFusionEnvironmentAdminUserRequest) {
593
412
  return __awaiter(this, void 0, void 0, function* () {
594
413
  if (this.logger)
595
- this.logger.debug("Calling operation FusionEnvironmentClient#createFusionEnvironmentAdminUser.");
414
+ this.logger.debug("Calling operation FusionApplicationsClient#createFusionEnvironmentAdminUser.");
596
415
  const operationName = "createFusionEnvironmentAdminUser";
597
416
  const apiReferenceLink = "";
598
417
  const pathParams = {
@@ -643,37 +462,37 @@ class FusionEnvironmentClient {
643
462
  });
644
463
  }
645
464
  /**
646
- * Deletes the Fusion environment identified by it's OCID.
465
+ * Creates a new FusionEnvironmentFamily.
466
+ *
647
467
  * This operation does not retry by default if the user has not defined a retry configuration.
648
- * @param DeleteFusionEnvironmentRequest
649
- * @return DeleteFusionEnvironmentResponse
468
+ * @param CreateFusionEnvironmentFamilyRequest
469
+ * @return CreateFusionEnvironmentFamilyResponse
650
470
  * @throws OciError when an error occurs
651
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/DeleteFusionEnvironment.ts.html |here} to see how to use DeleteFusionEnvironment API.
471
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/CreateFusionEnvironmentFamily.ts.html |here} to see how to use CreateFusionEnvironmentFamily API.
652
472
  */
653
- deleteFusionEnvironment(deleteFusionEnvironmentRequest) {
473
+ createFusionEnvironmentFamily(createFusionEnvironmentFamilyRequest) {
654
474
  return __awaiter(this, void 0, void 0, function* () {
655
475
  if (this.logger)
656
- this.logger.debug("Calling operation FusionEnvironmentClient#deleteFusionEnvironment.");
657
- const operationName = "deleteFusionEnvironment";
476
+ this.logger.debug("Calling operation FusionApplicationsClient#createFusionEnvironmentFamily.");
477
+ const operationName = "createFusionEnvironmentFamily";
658
478
  const apiReferenceLink = "";
659
- const pathParams = {
660
- "{fusionEnvironmentId}": deleteFusionEnvironmentRequest.fusionEnvironmentId
661
- };
479
+ const pathParams = {};
662
480
  const queryParams = {};
663
481
  let headerParams = {
664
482
  "Content-Type": common.Constants.APPLICATION_JSON,
665
- "if-match": deleteFusionEnvironmentRequest.ifMatch,
666
- "opc-request-id": deleteFusionEnvironmentRequest.opcRequestId
483
+ "opc-retry-token": createFusionEnvironmentFamilyRequest.opcRetryToken,
484
+ "opc-request-id": createFusionEnvironmentFamilyRequest.opcRequestId
667
485
  };
668
486
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
669
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFusionEnvironmentRequest.retryConfiguration, specRetryConfiguration);
487
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFusionEnvironmentFamilyRequest.retryConfiguration, specRetryConfiguration);
670
488
  if (this.logger)
671
489
  retrier.logger = this.logger;
672
490
  const request = yield oci_common_1.composeRequest({
673
491
  baseEndpoint: this._endpoint,
674
492
  defaultHeaders: this._defaultHeaders,
675
- path: "/fusionEnvironments/{fusionEnvironmentId}",
676
- method: "DELETE",
493
+ path: "/fusionEnvironmentFamilies",
494
+ method: "POST",
495
+ bodyContent: common.ObjectSerializer.serialize(createFusionEnvironmentFamilyRequest.createFusionEnvironmentFamilyDetails, "CreateFusionEnvironmentFamilyDetails", model.CreateFusionEnvironmentFamilyDetails.getJsonObj),
677
496
  pathParams: pathParams,
678
497
  headerParams: headerParams,
679
498
  queryParams: queryParams
@@ -703,38 +522,39 @@ class FusionEnvironmentClient {
703
522
  });
704
523
  }
705
524
  /**
706
- * Deletes the FusionEnvironment administrator user identified by the username.
525
+ * Creates a new RefreshActivity.
526
+ *
707
527
  * This operation does not retry by default if the user has not defined a retry configuration.
708
- * @param DeleteFusionEnvironmentAdminUserRequest
709
- * @return DeleteFusionEnvironmentAdminUserResponse
528
+ * @param CreateRefreshActivityRequest
529
+ * @return CreateRefreshActivityResponse
710
530
  * @throws OciError when an error occurs
711
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/DeleteFusionEnvironmentAdminUser.ts.html |here} to see how to use DeleteFusionEnvironmentAdminUser API.
531
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/CreateRefreshActivity.ts.html |here} to see how to use CreateRefreshActivity API.
712
532
  */
713
- deleteFusionEnvironmentAdminUser(deleteFusionEnvironmentAdminUserRequest) {
533
+ createRefreshActivity(createRefreshActivityRequest) {
714
534
  return __awaiter(this, void 0, void 0, function* () {
715
535
  if (this.logger)
716
- this.logger.debug("Calling operation FusionEnvironmentClient#deleteFusionEnvironmentAdminUser.");
717
- const operationName = "deleteFusionEnvironmentAdminUser";
536
+ this.logger.debug("Calling operation FusionApplicationsClient#createRefreshActivity.");
537
+ const operationName = "createRefreshActivity";
718
538
  const apiReferenceLink = "";
719
539
  const pathParams = {
720
- "{adminUsername}": deleteFusionEnvironmentAdminUserRequest.adminUsername,
721
- "{fusionEnvironmentId}": deleteFusionEnvironmentAdminUserRequest.fusionEnvironmentId
540
+ "{fusionEnvironmentId}": createRefreshActivityRequest.fusionEnvironmentId
722
541
  };
723
542
  const queryParams = {};
724
543
  let headerParams = {
725
544
  "Content-Type": common.Constants.APPLICATION_JSON,
726
- "if-match": deleteFusionEnvironmentAdminUserRequest.ifMatch,
727
- "opc-request-id": deleteFusionEnvironmentAdminUserRequest.opcRequestId
545
+ "opc-retry-token": createRefreshActivityRequest.opcRetryToken,
546
+ "opc-request-id": createRefreshActivityRequest.opcRequestId
728
547
  };
729
548
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
730
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFusionEnvironmentAdminUserRequest.retryConfiguration, specRetryConfiguration);
549
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRefreshActivityRequest.retryConfiguration, specRetryConfiguration);
731
550
  if (this.logger)
732
551
  retrier.logger = this.logger;
733
552
  const request = yield oci_common_1.composeRequest({
734
553
  baseEndpoint: this._endpoint,
735
554
  defaultHeaders: this._defaultHeaders,
736
- path: "/fusionEnvironments/{fusionEnvironmentId}/adminUsers/{adminUsername}",
737
- method: "DELETE",
555
+ path: "/fusionEnvironments/{fusionEnvironmentId}/refreshActivities",
556
+ method: "POST",
557
+ bodyContent: common.ObjectSerializer.serialize(createRefreshActivityRequest.createRefreshActivityDetails, "CreateRefreshActivityDetails", model.CreateRefreshActivityDetails.getJsonObj),
738
558
  pathParams: pathParams,
739
559
  headerParams: headerParams,
740
560
  queryParams: queryParams
@@ -745,13 +565,13 @@ class FusionEnvironmentClient {
745
565
  responseObject: {},
746
566
  responseHeaders: [
747
567
  {
748
- value: response.headers.get("opc-request-id"),
749
- key: "opcRequestId",
568
+ value: response.headers.get("opc-work-request-id"),
569
+ key: "opcWorkRequestId",
750
570
  dataType: "string"
751
571
  },
752
572
  {
753
- value: response.headers.get("opc-work-request-id"),
754
- key: "opcWorkRequestId",
573
+ value: response.headers.get("opc-request-id"),
574
+ key: "opcRequestId",
755
575
  dataType: "string"
756
576
  }
757
577
  ]
@@ -764,36 +584,37 @@ class FusionEnvironmentClient {
764
584
  });
765
585
  }
766
586
  /**
767
- * Gets a FusionEnvironment by identifier
587
+ * Deletes the Fusion environment identified by it's OCID.
768
588
  * This operation does not retry by default if the user has not defined a retry configuration.
769
- * @param GetFusionEnvironmentRequest
770
- * @return GetFusionEnvironmentResponse
589
+ * @param DeleteFusionEnvironmentRequest
590
+ * @return DeleteFusionEnvironmentResponse
771
591
  * @throws OciError when an error occurs
772
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/GetFusionEnvironment.ts.html |here} to see how to use GetFusionEnvironment API.
592
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/DeleteFusionEnvironment.ts.html |here} to see how to use DeleteFusionEnvironment API.
773
593
  */
774
- getFusionEnvironment(getFusionEnvironmentRequest) {
594
+ deleteFusionEnvironment(deleteFusionEnvironmentRequest) {
775
595
  return __awaiter(this, void 0, void 0, function* () {
776
596
  if (this.logger)
777
- this.logger.debug("Calling operation FusionEnvironmentClient#getFusionEnvironment.");
778
- const operationName = "getFusionEnvironment";
597
+ this.logger.debug("Calling operation FusionApplicationsClient#deleteFusionEnvironment.");
598
+ const operationName = "deleteFusionEnvironment";
779
599
  const apiReferenceLink = "";
780
600
  const pathParams = {
781
- "{fusionEnvironmentId}": getFusionEnvironmentRequest.fusionEnvironmentId
601
+ "{fusionEnvironmentId}": deleteFusionEnvironmentRequest.fusionEnvironmentId
782
602
  };
783
603
  const queryParams = {};
784
604
  let headerParams = {
785
605
  "Content-Type": common.Constants.APPLICATION_JSON,
786
- "opc-request-id": getFusionEnvironmentRequest.opcRequestId
606
+ "if-match": deleteFusionEnvironmentRequest.ifMatch,
607
+ "opc-request-id": deleteFusionEnvironmentRequest.opcRequestId
787
608
  };
788
609
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
789
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFusionEnvironmentRequest.retryConfiguration, specRetryConfiguration);
610
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFusionEnvironmentRequest.retryConfiguration, specRetryConfiguration);
790
611
  if (this.logger)
791
612
  retrier.logger = this.logger;
792
613
  const request = yield oci_common_1.composeRequest({
793
614
  baseEndpoint: this._endpoint,
794
615
  defaultHeaders: this._defaultHeaders,
795
616
  path: "/fusionEnvironments/{fusionEnvironmentId}",
796
- method: "GET",
617
+ method: "DELETE",
797
618
  pathParams: pathParams,
798
619
  headerParams: headerParams,
799
620
  queryParams: queryParams
@@ -802,14 +623,10 @@ class FusionEnvironmentClient {
802
623
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
803
624
  const sdkResponse = oci_common_1.composeResponse({
804
625
  responseObject: {},
805
- body: yield response.json(),
806
- bodyKey: "fusionEnvironment",
807
- bodyModel: model.FusionEnvironment,
808
- type: "model.FusionEnvironment",
809
626
  responseHeaders: [
810
627
  {
811
- value: response.headers.get("etag"),
812
- key: "etag",
628
+ value: response.headers.get("opc-work-request-id"),
629
+ key: "opcWorkRequestId",
813
630
  dataType: "string"
814
631
  },
815
632
  {
@@ -827,36 +644,38 @@ class FusionEnvironmentClient {
827
644
  });
828
645
  }
829
646
  /**
830
- * Gets the status of a Fusion environment identified by its OCID.
647
+ * Deletes the FusionEnvironment administrator user identified by the username.
831
648
  * This operation does not retry by default if the user has not defined a retry configuration.
832
- * @param GetFusionEnvironmentStatusRequest
833
- * @return GetFusionEnvironmentStatusResponse
649
+ * @param DeleteFusionEnvironmentAdminUserRequest
650
+ * @return DeleteFusionEnvironmentAdminUserResponse
834
651
  * @throws OciError when an error occurs
835
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/GetFusionEnvironmentStatus.ts.html |here} to see how to use GetFusionEnvironmentStatus API.
652
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/DeleteFusionEnvironmentAdminUser.ts.html |here} to see how to use DeleteFusionEnvironmentAdminUser API.
836
653
  */
837
- getFusionEnvironmentStatus(getFusionEnvironmentStatusRequest) {
654
+ deleteFusionEnvironmentAdminUser(deleteFusionEnvironmentAdminUserRequest) {
838
655
  return __awaiter(this, void 0, void 0, function* () {
839
656
  if (this.logger)
840
- this.logger.debug("Calling operation FusionEnvironmentClient#getFusionEnvironmentStatus.");
841
- const operationName = "getFusionEnvironmentStatus";
657
+ this.logger.debug("Calling operation FusionApplicationsClient#deleteFusionEnvironmentAdminUser.");
658
+ const operationName = "deleteFusionEnvironmentAdminUser";
842
659
  const apiReferenceLink = "";
843
660
  const pathParams = {
844
- "{fusionEnvironmentId}": getFusionEnvironmentStatusRequest.fusionEnvironmentId
661
+ "{adminUsername}": deleteFusionEnvironmentAdminUserRequest.adminUsername,
662
+ "{fusionEnvironmentId}": deleteFusionEnvironmentAdminUserRequest.fusionEnvironmentId
845
663
  };
846
664
  const queryParams = {};
847
665
  let headerParams = {
848
666
  "Content-Type": common.Constants.APPLICATION_JSON,
849
- "opc-request-id": getFusionEnvironmentStatusRequest.opcRequestId
667
+ "if-match": deleteFusionEnvironmentAdminUserRequest.ifMatch,
668
+ "opc-request-id": deleteFusionEnvironmentAdminUserRequest.opcRequestId
850
669
  };
851
670
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
852
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFusionEnvironmentStatusRequest.retryConfiguration, specRetryConfiguration);
671
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFusionEnvironmentAdminUserRequest.retryConfiguration, specRetryConfiguration);
853
672
  if (this.logger)
854
673
  retrier.logger = this.logger;
855
674
  const request = yield oci_common_1.composeRequest({
856
675
  baseEndpoint: this._endpoint,
857
676
  defaultHeaders: this._defaultHeaders,
858
- path: "/fusionEnvironments/{fusionEnvironmentId}/status",
859
- method: "GET",
677
+ path: "/fusionEnvironments/{fusionEnvironmentId}/adminUsers/{adminUsername}",
678
+ method: "DELETE",
860
679
  pathParams: pathParams,
861
680
  headerParams: headerParams,
862
681
  queryParams: queryParams
@@ -865,15 +684,16 @@ class FusionEnvironmentClient {
865
684
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
866
685
  const sdkResponse = oci_common_1.composeResponse({
867
686
  responseObject: {},
868
- body: yield response.json(),
869
- bodyKey: "fusionEnvironmentStatus",
870
- bodyModel: model.FusionEnvironmentStatus,
871
- type: "model.FusionEnvironmentStatus",
872
687
  responseHeaders: [
873
688
  {
874
689
  value: response.headers.get("opc-request-id"),
875
690
  key: "opcRequestId",
876
691
  dataType: "string"
692
+ },
693
+ {
694
+ value: response.headers.get("opc-work-request-id"),
695
+ key: "opcWorkRequestId",
696
+ dataType: "string"
877
697
  }
878
698
  ]
879
699
  });
@@ -885,36 +705,37 @@ class FusionEnvironmentClient {
885
705
  });
886
706
  }
887
707
  /**
888
- * Gets the status of the work request with the given ID.
708
+ * Deletes a FusionEnvironmentFamily resource by identifier
889
709
  * This operation does not retry by default if the user has not defined a retry configuration.
890
- * @param GetWorkRequestRequest
891
- * @return GetWorkRequestResponse
710
+ * @param DeleteFusionEnvironmentFamilyRequest
711
+ * @return DeleteFusionEnvironmentFamilyResponse
892
712
  * @throws OciError when an error occurs
893
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
713
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/DeleteFusionEnvironmentFamily.ts.html |here} to see how to use DeleteFusionEnvironmentFamily API.
894
714
  */
895
- getWorkRequest(getWorkRequestRequest) {
715
+ deleteFusionEnvironmentFamily(deleteFusionEnvironmentFamilyRequest) {
896
716
  return __awaiter(this, void 0, void 0, function* () {
897
717
  if (this.logger)
898
- this.logger.debug("Calling operation FusionEnvironmentClient#getWorkRequest.");
899
- const operationName = "getWorkRequest";
718
+ this.logger.debug("Calling operation FusionApplicationsClient#deleteFusionEnvironmentFamily.");
719
+ const operationName = "deleteFusionEnvironmentFamily";
900
720
  const apiReferenceLink = "";
901
721
  const pathParams = {
902
- "{workRequestId}": getWorkRequestRequest.workRequestId
722
+ "{fusionEnvironmentFamilyId}": deleteFusionEnvironmentFamilyRequest.fusionEnvironmentFamilyId
903
723
  };
904
724
  const queryParams = {};
905
725
  let headerParams = {
906
726
  "Content-Type": common.Constants.APPLICATION_JSON,
907
- "opc-request-id": getWorkRequestRequest.opcRequestId
727
+ "if-match": deleteFusionEnvironmentFamilyRequest.ifMatch,
728
+ "opc-request-id": deleteFusionEnvironmentFamilyRequest.opcRequestId
908
729
  };
909
730
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
910
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
731
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFusionEnvironmentFamilyRequest.retryConfiguration, specRetryConfiguration);
911
732
  if (this.logger)
912
733
  retrier.logger = this.logger;
913
734
  const request = yield oci_common_1.composeRequest({
914
735
  baseEndpoint: this._endpoint,
915
736
  defaultHeaders: this._defaultHeaders,
916
- path: "/workRequests/{workRequestId}",
917
- method: "GET",
737
+ path: "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}",
738
+ method: "DELETE",
918
739
  pathParams: pathParams,
919
740
  headerParams: headerParams,
920
741
  queryParams: queryParams
@@ -923,20 +744,16 @@ class FusionEnvironmentClient {
923
744
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
924
745
  const sdkResponse = oci_common_1.composeResponse({
925
746
  responseObject: {},
926
- body: yield response.json(),
927
- bodyKey: "workRequest",
928
- bodyModel: model.WorkRequest,
929
- type: "model.WorkRequest",
930
747
  responseHeaders: [
931
748
  {
932
- value: response.headers.get("opc-request-id"),
933
- key: "opcRequestId",
749
+ value: response.headers.get("opc-work-request-id"),
750
+ key: "opcWorkRequestId",
934
751
  dataType: "string"
935
752
  },
936
753
  {
937
- value: response.headers.get("retry-after"),
938
- key: "retryAfter",
939
- dataType: "number"
754
+ value: response.headers.get("opc-request-id"),
755
+ key: "opcRequestId",
756
+ dataType: "string"
940
757
  }
941
758
  ]
942
759
  });
@@ -948,35 +765,36 @@ class FusionEnvironmentClient {
948
765
  });
949
766
  }
950
767
  /**
951
- * List all FusionEnvironment admin users
768
+ * Gets a DataMaskingActivity by identifier
952
769
  * This operation does not retry by default if the user has not defined a retry configuration.
953
- * @param ListAdminUsersRequest
954
- * @return ListAdminUsersResponse
770
+ * @param GetDataMaskingActivityRequest
771
+ * @return GetDataMaskingActivityResponse
955
772
  * @throws OciError when an error occurs
956
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ListAdminUsers.ts.html |here} to see how to use ListAdminUsers API.
773
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/GetDataMaskingActivity.ts.html |here} to see how to use GetDataMaskingActivity API.
957
774
  */
958
- listAdminUsers(listAdminUsersRequest) {
775
+ getDataMaskingActivity(getDataMaskingActivityRequest) {
959
776
  return __awaiter(this, void 0, void 0, function* () {
960
777
  if (this.logger)
961
- this.logger.debug("Calling operation FusionEnvironmentClient#listAdminUsers.");
962
- const operationName = "listAdminUsers";
778
+ this.logger.debug("Calling operation FusionApplicationsClient#getDataMaskingActivity.");
779
+ const operationName = "getDataMaskingActivity";
963
780
  const apiReferenceLink = "";
964
781
  const pathParams = {
965
- "{fusionEnvironmentId}": listAdminUsersRequest.fusionEnvironmentId
782
+ "{fusionEnvironmentId}": getDataMaskingActivityRequest.fusionEnvironmentId,
783
+ "{dataMaskingActivityId}": getDataMaskingActivityRequest.dataMaskingActivityId
966
784
  };
967
785
  const queryParams = {};
968
786
  let headerParams = {
969
787
  "Content-Type": common.Constants.APPLICATION_JSON,
970
- "opc-request-id": listAdminUsersRequest.opcRequestId
788
+ "opc-request-id": getDataMaskingActivityRequest.opcRequestId
971
789
  };
972
790
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
973
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAdminUsersRequest.retryConfiguration, specRetryConfiguration);
791
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDataMaskingActivityRequest.retryConfiguration, specRetryConfiguration);
974
792
  if (this.logger)
975
793
  retrier.logger = this.logger;
976
794
  const request = yield oci_common_1.composeRequest({
977
795
  baseEndpoint: this._endpoint,
978
796
  defaultHeaders: this._defaultHeaders,
979
- path: "/fusionEnvironments/{fusionEnvironmentId}/adminUsers",
797
+ path: "/fusionEnvironments/{fusionEnvironmentId}/dataMaskingActivities/{dataMaskingActivityId}",
980
798
  method: "GET",
981
799
  pathParams: pathParams,
982
800
  headerParams: headerParams,
@@ -987,18 +805,18 @@ class FusionEnvironmentClient {
987
805
  const sdkResponse = oci_common_1.composeResponse({
988
806
  responseObject: {},
989
807
  body: yield response.json(),
990
- bodyKey: "adminUserCollection",
991
- bodyModel: model.AdminUserCollection,
992
- type: "model.AdminUserCollection",
808
+ bodyKey: "dataMaskingActivity",
809
+ bodyModel: model.DataMaskingActivity,
810
+ type: "model.DataMaskingActivity",
993
811
  responseHeaders: [
994
812
  {
995
- value: response.headers.get("opc-request-id"),
996
- key: "opcRequestId",
813
+ value: response.headers.get("etag"),
814
+ key: "etag",
997
815
  dataType: "string"
998
816
  },
999
817
  {
1000
- value: response.headers.get("opc-next-page"),
1001
- key: "opcNextPage",
818
+ value: response.headers.get("opc-request-id"),
819
+ key: "opcRequestId",
1002
820
  dataType: "string"
1003
821
  }
1004
822
  ]
@@ -1011,43 +829,35 @@ class FusionEnvironmentClient {
1011
829
  });
1012
830
  }
1013
831
  /**
1014
- * Returns a list of FusionEnvironments.
1015
- *
832
+ * Gets a FusionEnvironment by identifier
1016
833
  * This operation does not retry by default if the user has not defined a retry configuration.
1017
- * @param ListFusionEnvironmentsRequest
1018
- * @return ListFusionEnvironmentsResponse
834
+ * @param GetFusionEnvironmentRequest
835
+ * @return GetFusionEnvironmentResponse
1019
836
  * @throws OciError when an error occurs
1020
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ListFusionEnvironments.ts.html |here} to see how to use ListFusionEnvironments API.
837
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/GetFusionEnvironment.ts.html |here} to see how to use GetFusionEnvironment API.
1021
838
  */
1022
- listFusionEnvironments(listFusionEnvironmentsRequest) {
839
+ getFusionEnvironment(getFusionEnvironmentRequest) {
1023
840
  return __awaiter(this, void 0, void 0, function* () {
1024
841
  if (this.logger)
1025
- this.logger.debug("Calling operation FusionEnvironmentClient#listFusionEnvironments.");
1026
- const operationName = "listFusionEnvironments";
842
+ this.logger.debug("Calling operation FusionApplicationsClient#getFusionEnvironment.");
843
+ const operationName = "getFusionEnvironment";
1027
844
  const apiReferenceLink = "";
1028
- const pathParams = {};
1029
- const queryParams = {
1030
- "compartmentId": listFusionEnvironmentsRequest.compartmentId,
1031
- "fusionEnvironmentFamilyId": listFusionEnvironmentsRequest.fusionEnvironmentFamilyId,
1032
- "displayName": listFusionEnvironmentsRequest.displayName,
1033
- "lifecycleState": listFusionEnvironmentsRequest.lifecycleState,
1034
- "limit": listFusionEnvironmentsRequest.limit,
1035
- "page": listFusionEnvironmentsRequest.page,
1036
- "sortOrder": listFusionEnvironmentsRequest.sortOrder,
1037
- "sortBy": listFusionEnvironmentsRequest.sortBy
845
+ const pathParams = {
846
+ "{fusionEnvironmentId}": getFusionEnvironmentRequest.fusionEnvironmentId
1038
847
  };
848
+ const queryParams = {};
1039
849
  let headerParams = {
1040
850
  "Content-Type": common.Constants.APPLICATION_JSON,
1041
- "opc-request-id": listFusionEnvironmentsRequest.opcRequestId
851
+ "opc-request-id": getFusionEnvironmentRequest.opcRequestId
1042
852
  };
1043
853
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1044
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFusionEnvironmentsRequest.retryConfiguration, specRetryConfiguration);
854
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFusionEnvironmentRequest.retryConfiguration, specRetryConfiguration);
1045
855
  if (this.logger)
1046
856
  retrier.logger = this.logger;
1047
857
  const request = yield oci_common_1.composeRequest({
1048
858
  baseEndpoint: this._endpoint,
1049
859
  defaultHeaders: this._defaultHeaders,
1050
- path: "/fusionEnvironments",
860
+ path: "/fusionEnvironments/{fusionEnvironmentId}",
1051
861
  method: "GET",
1052
862
  pathParams: pathParams,
1053
863
  headerParams: headerParams,
@@ -1058,18 +868,18 @@ class FusionEnvironmentClient {
1058
868
  const sdkResponse = oci_common_1.composeResponse({
1059
869
  responseObject: {},
1060
870
  body: yield response.json(),
1061
- bodyKey: "fusionEnvironmentCollection",
1062
- bodyModel: model.FusionEnvironmentCollection,
1063
- type: "model.FusionEnvironmentCollection",
871
+ bodyKey: "fusionEnvironment",
872
+ bodyModel: model.FusionEnvironment,
873
+ type: "model.FusionEnvironment",
1064
874
  responseHeaders: [
1065
875
  {
1066
- value: response.headers.get("opc-request-id"),
1067
- key: "opcRequestId",
876
+ value: response.headers.get("etag"),
877
+ key: "etag",
1068
878
  dataType: "string"
1069
879
  },
1070
880
  {
1071
- value: response.headers.get("opc-next-page"),
1072
- key: "opcNextPage",
881
+ value: response.headers.get("opc-request-id"),
882
+ key: "opcRequestId",
1073
883
  dataType: "string"
1074
884
  }
1075
885
  ]
@@ -1082,41 +892,35 @@ class FusionEnvironmentClient {
1082
892
  });
1083
893
  }
1084
894
  /**
1085
- * Return a (paginated) list of errors for a given work request.
1086
- *
895
+ * Retrieves a fusion environment family identified by its OCID.
1087
896
  * This operation does not retry by default if the user has not defined a retry configuration.
1088
- * @param ListWorkRequestErrorsRequest
1089
- * @return ListWorkRequestErrorsResponse
897
+ * @param GetFusionEnvironmentFamilyRequest
898
+ * @return GetFusionEnvironmentFamilyResponse
1090
899
  * @throws OciError when an error occurs
1091
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
900
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/GetFusionEnvironmentFamily.ts.html |here} to see how to use GetFusionEnvironmentFamily API.
1092
901
  */
1093
- listWorkRequestErrors(listWorkRequestErrorsRequest) {
902
+ getFusionEnvironmentFamily(getFusionEnvironmentFamilyRequest) {
1094
903
  return __awaiter(this, void 0, void 0, function* () {
1095
904
  if (this.logger)
1096
- this.logger.debug("Calling operation FusionEnvironmentClient#listWorkRequestErrors.");
1097
- const operationName = "listWorkRequestErrors";
905
+ this.logger.debug("Calling operation FusionApplicationsClient#getFusionEnvironmentFamily.");
906
+ const operationName = "getFusionEnvironmentFamily";
1098
907
  const apiReferenceLink = "";
1099
908
  const pathParams = {
1100
- "{workRequestId}": listWorkRequestErrorsRequest.workRequestId
1101
- };
1102
- const queryParams = {
1103
- "sortBy": listWorkRequestErrorsRequest.sortBy,
1104
- "sortOrder": listWorkRequestErrorsRequest.sortOrder,
1105
- "page": listWorkRequestErrorsRequest.page,
1106
- "limit": listWorkRequestErrorsRequest.limit
909
+ "{fusionEnvironmentFamilyId}": getFusionEnvironmentFamilyRequest.fusionEnvironmentFamilyId
1107
910
  };
911
+ const queryParams = {};
1108
912
  let headerParams = {
1109
913
  "Content-Type": common.Constants.APPLICATION_JSON,
1110
- "opc-request-id": listWorkRequestErrorsRequest.opcRequestId
914
+ "opc-request-id": getFusionEnvironmentFamilyRequest.opcRequestId
1111
915
  };
1112
916
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1113
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
917
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFusionEnvironmentFamilyRequest.retryConfiguration, specRetryConfiguration);
1114
918
  if (this.logger)
1115
919
  retrier.logger = this.logger;
1116
920
  const request = yield oci_common_1.composeRequest({
1117
921
  baseEndpoint: this._endpoint,
1118
922
  defaultHeaders: this._defaultHeaders,
1119
- path: "/workRequests/{workRequestId}/errors",
923
+ path: "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}",
1120
924
  method: "GET",
1121
925
  pathParams: pathParams,
1122
926
  headerParams: headerParams,
@@ -1127,13 +931,13 @@ class FusionEnvironmentClient {
1127
931
  const sdkResponse = oci_common_1.composeResponse({
1128
932
  responseObject: {},
1129
933
  body: yield response.json(),
1130
- bodyKey: "workRequestErrorCollection",
1131
- bodyModel: model.WorkRequestErrorCollection,
1132
- type: "model.WorkRequestErrorCollection",
934
+ bodyKey: "fusionEnvironmentFamily",
935
+ bodyModel: model.FusionEnvironmentFamily,
936
+ type: "model.FusionEnvironmentFamily",
1133
937
  responseHeaders: [
1134
938
  {
1135
- value: response.headers.get("opc-next-page"),
1136
- key: "opcNextPage",
939
+ value: response.headers.get("etag"),
940
+ key: "etag",
1137
941
  dataType: "string"
1138
942
  },
1139
943
  {
@@ -1151,41 +955,35 @@ class FusionEnvironmentClient {
1151
955
  });
1152
956
  }
1153
957
  /**
1154
- * Return a (paginated) list of logs for a given work request.
1155
- *
958
+ * Gets the number of environments (usage) of each type in the fusion environment family, as well as the limit that's allowed to be created based on the group's associated subscriptions.
1156
959
  * This operation does not retry by default if the user has not defined a retry configuration.
1157
- * @param ListWorkRequestLogsRequest
1158
- * @return ListWorkRequestLogsResponse
960
+ * @param GetFusionEnvironmentFamilyLimitsAndUsageRequest
961
+ * @return GetFusionEnvironmentFamilyLimitsAndUsageResponse
1159
962
  * @throws OciError when an error occurs
1160
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
963
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/GetFusionEnvironmentFamilyLimitsAndUsage.ts.html |here} to see how to use GetFusionEnvironmentFamilyLimitsAndUsage API.
1161
964
  */
1162
- listWorkRequestLogs(listWorkRequestLogsRequest) {
965
+ getFusionEnvironmentFamilyLimitsAndUsage(getFusionEnvironmentFamilyLimitsAndUsageRequest) {
1163
966
  return __awaiter(this, void 0, void 0, function* () {
1164
967
  if (this.logger)
1165
- this.logger.debug("Calling operation FusionEnvironmentClient#listWorkRequestLogs.");
1166
- const operationName = "listWorkRequestLogs";
968
+ this.logger.debug("Calling operation FusionApplicationsClient#getFusionEnvironmentFamilyLimitsAndUsage.");
969
+ const operationName = "getFusionEnvironmentFamilyLimitsAndUsage";
1167
970
  const apiReferenceLink = "";
1168
971
  const pathParams = {
1169
- "{workRequestId}": listWorkRequestLogsRequest.workRequestId
1170
- };
1171
- const queryParams = {
1172
- "page": listWorkRequestLogsRequest.page,
1173
- "limit": listWorkRequestLogsRequest.limit,
1174
- "sortBy": listWorkRequestLogsRequest.sortBy,
1175
- "sortOrder": listWorkRequestLogsRequest.sortOrder
972
+ "{fusionEnvironmentFamilyId}": getFusionEnvironmentFamilyLimitsAndUsageRequest.fusionEnvironmentFamilyId
1176
973
  };
974
+ const queryParams = {};
1177
975
  let headerParams = {
1178
976
  "Content-Type": common.Constants.APPLICATION_JSON,
1179
- "opc-request-id": listWorkRequestLogsRequest.opcRequestId
977
+ "opc-request-id": getFusionEnvironmentFamilyLimitsAndUsageRequest.opcRequestId
1180
978
  };
1181
979
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1182
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
980
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFusionEnvironmentFamilyLimitsAndUsageRequest.retryConfiguration, specRetryConfiguration);
1183
981
  if (this.logger)
1184
982
  retrier.logger = this.logger;
1185
983
  const request = yield oci_common_1.composeRequest({
1186
984
  baseEndpoint: this._endpoint,
1187
985
  defaultHeaders: this._defaultHeaders,
1188
- path: "/workRequests/{workRequestId}/logs",
986
+ path: "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}/limitsAndUsage",
1189
987
  method: "GET",
1190
988
  pathParams: pathParams,
1191
989
  headerParams: headerParams,
@@ -1196,13 +994,13 @@ class FusionEnvironmentClient {
1196
994
  const sdkResponse = oci_common_1.composeResponse({
1197
995
  responseObject: {},
1198
996
  body: yield response.json(),
1199
- bodyKey: "workRequestLogEntryCollection",
1200
- bodyModel: model.WorkRequestLogEntryCollection,
1201
- type: "model.WorkRequestLogEntryCollection",
997
+ bodyKey: "fusionEnvironmentFamilyLimitsAndUsage",
998
+ bodyModel: model.FusionEnvironmentFamilyLimitsAndUsage,
999
+ type: "model.FusionEnvironmentFamilyLimitsAndUsage",
1202
1000
  responseHeaders: [
1203
1001
  {
1204
- value: response.headers.get("opc-next-page"),
1205
- key: "opcNextPage",
1002
+ value: response.headers.get("etag"),
1003
+ key: "etag",
1206
1004
  dataType: "string"
1207
1005
  },
1208
1006
  {
@@ -1220,42 +1018,35 @@ class FusionEnvironmentClient {
1220
1018
  });
1221
1019
  }
1222
1020
  /**
1223
- * Lists the work requests in a compartment.
1224
- *
1021
+ * Gets the subscription details of an fusion environment family.
1225
1022
  * This operation does not retry by default if the user has not defined a retry configuration.
1226
- * @param ListWorkRequestsRequest
1227
- * @return ListWorkRequestsResponse
1023
+ * @param GetFusionEnvironmentFamilySubscriptionDetailRequest
1024
+ * @return GetFusionEnvironmentFamilySubscriptionDetailResponse
1228
1025
  * @throws OciError when an error occurs
1229
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1026
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/GetFusionEnvironmentFamilySubscriptionDetail.ts.html |here} to see how to use GetFusionEnvironmentFamilySubscriptionDetail API.
1230
1027
  */
1231
- listWorkRequests(listWorkRequestsRequest) {
1028
+ getFusionEnvironmentFamilySubscriptionDetail(getFusionEnvironmentFamilySubscriptionDetailRequest) {
1232
1029
  return __awaiter(this, void 0, void 0, function* () {
1233
1030
  if (this.logger)
1234
- this.logger.debug("Calling operation FusionEnvironmentClient#listWorkRequests.");
1235
- const operationName = "listWorkRequests";
1031
+ this.logger.debug("Calling operation FusionApplicationsClient#getFusionEnvironmentFamilySubscriptionDetail.");
1032
+ const operationName = "getFusionEnvironmentFamilySubscriptionDetail";
1236
1033
  const apiReferenceLink = "";
1237
- const pathParams = {};
1238
- const queryParams = {
1239
- "compartmentId": listWorkRequestsRequest.compartmentId,
1240
- "status": listWorkRequestsRequest.status,
1241
- "sortBy": listWorkRequestsRequest.sortBy,
1242
- "sortOrder": listWorkRequestsRequest.sortOrder,
1243
- "resourceId": listWorkRequestsRequest.resourceId,
1244
- "page": listWorkRequestsRequest.page,
1245
- "limit": listWorkRequestsRequest.limit
1034
+ const pathParams = {
1035
+ "{fusionEnvironmentFamilyId}": getFusionEnvironmentFamilySubscriptionDetailRequest.fusionEnvironmentFamilyId
1246
1036
  };
1037
+ const queryParams = {};
1247
1038
  let headerParams = {
1248
1039
  "Content-Type": common.Constants.APPLICATION_JSON,
1249
- "opc-request-id": listWorkRequestsRequest.opcRequestId
1040
+ "opc-request-id": getFusionEnvironmentFamilySubscriptionDetailRequest.opcRequestId
1250
1041
  };
1251
1042
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1252
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
1043
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFusionEnvironmentFamilySubscriptionDetailRequest.retryConfiguration, specRetryConfiguration);
1253
1044
  if (this.logger)
1254
1045
  retrier.logger = this.logger;
1255
1046
  const request = yield oci_common_1.composeRequest({
1256
1047
  baseEndpoint: this._endpoint,
1257
1048
  defaultHeaders: this._defaultHeaders,
1258
- path: "/workRequests",
1049
+ path: "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}/subscriptionDetails",
1259
1050
  method: "GET",
1260
1051
  pathParams: pathParams,
1261
1052
  headerParams: headerParams,
@@ -1266,18 +1057,18 @@ class FusionEnvironmentClient {
1266
1057
  const sdkResponse = oci_common_1.composeResponse({
1267
1058
  responseObject: {},
1268
1059
  body: yield response.json(),
1269
- bodyKey: "workRequestSummaryCollection",
1270
- bodyModel: model.WorkRequestSummaryCollection,
1271
- type: "model.WorkRequestSummaryCollection",
1060
+ bodyKey: "subscriptionDetail",
1061
+ bodyModel: model.SubscriptionDetail,
1062
+ type: "model.SubscriptionDetail",
1272
1063
  responseHeaders: [
1273
1064
  {
1274
- value: response.headers.get("opc-request-id"),
1275
- key: "opcRequestId",
1065
+ value: response.headers.get("etag"),
1066
+ key: "etag",
1276
1067
  dataType: "string"
1277
1068
  },
1278
1069
  {
1279
- value: response.headers.get("opc-next-page"),
1280
- key: "opcNextPage",
1070
+ value: response.headers.get("opc-request-id"),
1071
+ key: "opcRequestId",
1281
1072
  dataType: "string"
1282
1073
  }
1283
1074
  ]
@@ -1290,40 +1081,36 @@ class FusionEnvironmentClient {
1290
1081
  });
1291
1082
  }
1292
1083
  /**
1293
- * Resets the password of the Fusion Environment Administrator.
1084
+ * Gets the status of a Fusion environment identified by its OCID.
1294
1085
  * This operation does not retry by default if the user has not defined a retry configuration.
1295
- * @param ResetFusionEnvironmentPasswordRequest
1296
- * @return ResetFusionEnvironmentPasswordResponse
1086
+ * @param GetFusionEnvironmentStatusRequest
1087
+ * @return GetFusionEnvironmentStatusResponse
1297
1088
  * @throws OciError when an error occurs
1298
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ResetFusionEnvironmentPassword.ts.html |here} to see how to use ResetFusionEnvironmentPassword API.
1089
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/GetFusionEnvironmentStatus.ts.html |here} to see how to use GetFusionEnvironmentStatus API.
1299
1090
  */
1300
- resetFusionEnvironmentPassword(resetFusionEnvironmentPasswordRequest) {
1091
+ getFusionEnvironmentStatus(getFusionEnvironmentStatusRequest) {
1301
1092
  return __awaiter(this, void 0, void 0, function* () {
1302
1093
  if (this.logger)
1303
- this.logger.debug("Calling operation FusionEnvironmentClient#resetFusionEnvironmentPassword.");
1304
- const operationName = "resetFusionEnvironmentPassword";
1094
+ this.logger.debug("Calling operation FusionApplicationsClient#getFusionEnvironmentStatus.");
1095
+ const operationName = "getFusionEnvironmentStatus";
1305
1096
  const apiReferenceLink = "";
1306
1097
  const pathParams = {
1307
- "{fusionEnvironmentId}": resetFusionEnvironmentPasswordRequest.fusionEnvironmentId,
1308
- "{adminUsername}": resetFusionEnvironmentPasswordRequest.adminUsername
1098
+ "{fusionEnvironmentId}": getFusionEnvironmentStatusRequest.fusionEnvironmentId
1309
1099
  };
1310
1100
  const queryParams = {};
1311
1101
  let headerParams = {
1312
1102
  "Content-Type": common.Constants.APPLICATION_JSON,
1313
- "opc-retry-token": resetFusionEnvironmentPasswordRequest.opcRetryToken,
1314
- "opc-request-id": resetFusionEnvironmentPasswordRequest.opcRequestId,
1315
- "if-match": resetFusionEnvironmentPasswordRequest.ifMatch
1103
+ "opc-request-id": getFusionEnvironmentStatusRequest.opcRequestId
1316
1104
  };
1317
1105
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1318
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resetFusionEnvironmentPasswordRequest.retryConfiguration, specRetryConfiguration);
1106
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFusionEnvironmentStatusRequest.retryConfiguration, specRetryConfiguration);
1319
1107
  if (this.logger)
1320
1108
  retrier.logger = this.logger;
1321
1109
  const request = yield oci_common_1.composeRequest({
1322
1110
  baseEndpoint: this._endpoint,
1323
1111
  defaultHeaders: this._defaultHeaders,
1324
- path: "/fusionEnvironments/{fusionEnvironmentId}/adminUsers/{adminUsername}/actions/resetPassword",
1325
- method: "POST",
1326
- bodyContent: common.ObjectSerializer.serialize(resetFusionEnvironmentPasswordRequest.resetFusionEnvironmentPasswordDetails, "ResetFusionEnvironmentPasswordDetails", model.ResetFusionEnvironmentPasswordDetails.getJsonObj),
1112
+ path: "/fusionEnvironments/{fusionEnvironmentId}/status",
1113
+ method: "GET",
1327
1114
  pathParams: pathParams,
1328
1115
  headerParams: headerParams,
1329
1116
  queryParams: queryParams
@@ -1332,16 +1119,15 @@ class FusionEnvironmentClient {
1332
1119
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1333
1120
  const sdkResponse = oci_common_1.composeResponse({
1334
1121
  responseObject: {},
1122
+ body: yield response.json(),
1123
+ bodyKey: "fusionEnvironmentStatus",
1124
+ bodyModel: model.FusionEnvironmentStatus,
1125
+ type: "model.FusionEnvironmentStatus",
1335
1126
  responseHeaders: [
1336
1127
  {
1337
1128
  value: response.headers.get("opc-request-id"),
1338
1129
  key: "opcRequestId",
1339
1130
  dataType: "string"
1340
- },
1341
- {
1342
- value: response.headers.get("opc-work-request-id"),
1343
- key: "opcWorkRequestId",
1344
- dataType: "string"
1345
1131
  }
1346
1132
  ]
1347
1133
  });
@@ -1353,38 +1139,37 @@ class FusionEnvironmentClient {
1353
1139
  });
1354
1140
  }
1355
1141
  /**
1356
- * Updates the FusionEnvironment
1142
+ * Gets a RefreshActivity by identifier
1357
1143
  * This operation does not retry by default if the user has not defined a retry configuration.
1358
- * @param UpdateFusionEnvironmentRequest
1359
- * @return UpdateFusionEnvironmentResponse
1144
+ * @param GetRefreshActivityRequest
1145
+ * @return GetRefreshActivityResponse
1360
1146
  * @throws OciError when an error occurs
1361
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/UpdateFusionEnvironment.ts.html |here} to see how to use UpdateFusionEnvironment API.
1147
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/GetRefreshActivity.ts.html |here} to see how to use GetRefreshActivity API.
1362
1148
  */
1363
- updateFusionEnvironment(updateFusionEnvironmentRequest) {
1149
+ getRefreshActivity(getRefreshActivityRequest) {
1364
1150
  return __awaiter(this, void 0, void 0, function* () {
1365
1151
  if (this.logger)
1366
- this.logger.debug("Calling operation FusionEnvironmentClient#updateFusionEnvironment.");
1367
- const operationName = "updateFusionEnvironment";
1152
+ this.logger.debug("Calling operation FusionApplicationsClient#getRefreshActivity.");
1153
+ const operationName = "getRefreshActivity";
1368
1154
  const apiReferenceLink = "";
1369
1155
  const pathParams = {
1370
- "{fusionEnvironmentId}": updateFusionEnvironmentRequest.fusionEnvironmentId
1156
+ "{fusionEnvironmentId}": getRefreshActivityRequest.fusionEnvironmentId,
1157
+ "{refreshActivityId}": getRefreshActivityRequest.refreshActivityId
1371
1158
  };
1372
1159
  const queryParams = {};
1373
1160
  let headerParams = {
1374
1161
  "Content-Type": common.Constants.APPLICATION_JSON,
1375
- "if-match": updateFusionEnvironmentRequest.ifMatch,
1376
- "opc-request-id": updateFusionEnvironmentRequest.opcRequestId
1162
+ "opc-request-id": getRefreshActivityRequest.opcRequestId
1377
1163
  };
1378
1164
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1379
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFusionEnvironmentRequest.retryConfiguration, specRetryConfiguration);
1165
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRefreshActivityRequest.retryConfiguration, specRetryConfiguration);
1380
1166
  if (this.logger)
1381
1167
  retrier.logger = this.logger;
1382
1168
  const request = yield oci_common_1.composeRequest({
1383
1169
  baseEndpoint: this._endpoint,
1384
1170
  defaultHeaders: this._defaultHeaders,
1385
- path: "/fusionEnvironments/{fusionEnvironmentId}",
1386
- method: "PUT",
1387
- bodyContent: common.ObjectSerializer.serialize(updateFusionEnvironmentRequest.updateFusionEnvironmentDetails, "UpdateFusionEnvironmentDetails", model.UpdateFusionEnvironmentDetails.getJsonObj),
1171
+ path: "/fusionEnvironments/{fusionEnvironmentId}/refreshActivities/{refreshActivityId}",
1172
+ method: "GET",
1388
1173
  pathParams: pathParams,
1389
1174
  headerParams: headerParams,
1390
1175
  queryParams: queryParams
@@ -1393,10 +1178,14 @@ class FusionEnvironmentClient {
1393
1178
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1394
1179
  const sdkResponse = oci_common_1.composeResponse({
1395
1180
  responseObject: {},
1181
+ body: yield response.json(),
1182
+ bodyKey: "refreshActivity",
1183
+ bodyModel: model.RefreshActivity,
1184
+ type: "model.RefreshActivity",
1396
1185
  responseHeaders: [
1397
1186
  {
1398
- value: response.headers.get("opc-work-request-id"),
1399
- key: "opcWorkRequestId",
1187
+ value: response.headers.get("etag"),
1188
+ key: "etag",
1400
1189
  dataType: "string"
1401
1190
  },
1402
1191
  {
@@ -1413,209 +1202,38 @@ class FusionEnvironmentClient {
1413
1202
  }
1414
1203
  });
1415
1204
  }
1416
- }
1417
- exports.FusionEnvironmentClient = FusionEnvironmentClient;
1418
- FusionEnvironmentClient.serviceEndpointTemplate = "https://fusionapps.{region}.oci.{secondLevelDomain}";
1419
- FusionEnvironmentClient.endpointServiceName = "";
1420
- var FusionEnvironmentFamilyApiKeys;
1421
- (function (FusionEnvironmentFamilyApiKeys) {
1422
- })(FusionEnvironmentFamilyApiKeys = exports.FusionEnvironmentFamilyApiKeys || (exports.FusionEnvironmentFamilyApiKeys = {}));
1423
- /**
1424
- * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
1425
- */
1426
- class FusionEnvironmentFamilyClient {
1427
- constructor(params, clientConfiguration) {
1428
- this["_endpoint"] = "";
1429
- this["_defaultHeaders"] = {};
1430
- this._circuitBreaker = null;
1431
- this._httpOptions = undefined;
1432
- this.targetService = "FusionEnvironmentFamily";
1433
- const requestSigner = params.authenticationDetailsProvider
1434
- ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
1435
- : null;
1436
- if (clientConfiguration) {
1437
- this._clientConfiguration = clientConfiguration;
1438
- this._circuitBreaker = clientConfiguration.circuitBreaker
1439
- ? clientConfiguration.circuitBreaker.circuit
1440
- : null;
1441
- this._httpOptions = clientConfiguration.httpOptions
1442
- ? clientConfiguration.httpOptions
1443
- : undefined;
1444
- }
1445
- // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
1446
- const specCircuitBreakerEnabled = true;
1447
- if (!this._circuitBreaker &&
1448
- common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
1449
- (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
1450
- this._circuitBreaker = new common.CircuitBreaker().circuit;
1451
- }
1452
- this._httpClient =
1453
- params.httpClient ||
1454
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
1455
- if (params.authenticationDetailsProvider &&
1456
- common.isRegionProvider(params.authenticationDetailsProvider)) {
1457
- const provider = params.authenticationDetailsProvider;
1458
- if (provider.getRegion()) {
1459
- this.region = provider.getRegion();
1460
- }
1461
- }
1462
- }
1463
- /**
1464
- * Get the endpoint that is being used to call (ex, https://www.example.com).
1465
- */
1466
- get endpoint() {
1467
- return this._endpoint;
1468
- }
1469
- /**
1470
- * Sets the endpoint to call (ex, https://www.example.com).
1471
- * @param endpoint The endpoint of the service.
1472
- */
1473
- set endpoint(endpoint) {
1474
- this._endpoint = endpoint;
1475
- this._endpoint = this._endpoint + "/20211201";
1476
- if (this.logger)
1477
- this.logger.info(`FusionEnvironmentFamilyClient endpoint set to ${this._endpoint}`);
1478
- }
1479
- get logger() {
1480
- return common.LOG.logger;
1481
- }
1482
- /**
1483
- * Sets the region to call (ex, Region.US_PHOENIX_1).
1484
- * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
1485
- * @param region The region of the service.
1486
- */
1487
- set region(region) {
1488
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(FusionEnvironmentFamilyClient.serviceEndpointTemplate, region, FusionEnvironmentFamilyClient.endpointServiceName);
1489
- }
1490
- /**
1491
- * Sets the regionId to call (ex, 'us-phoenix-1').
1492
- *
1493
- * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
1494
- * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
1495
- * and then call {@link #endpoint(String) endpoint}.
1496
- * @param regionId The public region ID.
1497
- */
1498
- set regionId(regionId) {
1499
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(FusionEnvironmentFamilyClient.serviceEndpointTemplate, regionId, FusionEnvironmentFamilyClient.endpointServiceName);
1500
- }
1501
- /**
1502
- * Creates a new FusionEnvironmentFamilyWaiter for resources for this service.
1503
- *
1504
- * @param config The waiter configuration for termination and delay strategy
1505
- * @return The service waiters.
1506
- */
1507
- createWaiters(config) {
1508
- this._waiters = new fusionenvironmentfamily_waiter_1.FusionEnvironmentFamilyWaiter(this, config);
1509
- return this._waiters;
1510
- }
1511
- /**
1512
- * Gets the waiters available for resources for this service.
1513
- *
1514
- * @return The service waiters.
1515
- */
1516
- getWaiters() {
1517
- if (this._waiters) {
1518
- return this._waiters;
1519
- }
1520
- throw Error("Waiters do not exist. Please create waiters.");
1521
- }
1522
1205
  /**
1523
- * Moves a FusionEnvironmentFamily into a different compartment. When provided, If-Match is checked against ETag
1524
- * values of the resource.
1525
- *
1206
+ * Gets a ScheduledActivity by identifier
1526
1207
  * This operation does not retry by default if the user has not defined a retry configuration.
1527
- * @param ChangeFusionEnvironmentFamilyCompartmentRequest
1528
- * @return ChangeFusionEnvironmentFamilyCompartmentResponse
1208
+ * @param GetScheduledActivityRequest
1209
+ * @return GetScheduledActivityResponse
1529
1210
  * @throws OciError when an error occurs
1530
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ChangeFusionEnvironmentFamilyCompartment.ts.html |here} to see how to use ChangeFusionEnvironmentFamilyCompartment API.
1211
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/GetScheduledActivity.ts.html |here} to see how to use GetScheduledActivity API.
1531
1212
  */
1532
- changeFusionEnvironmentFamilyCompartment(changeFusionEnvironmentFamilyCompartmentRequest) {
1213
+ getScheduledActivity(getScheduledActivityRequest) {
1533
1214
  return __awaiter(this, void 0, void 0, function* () {
1534
1215
  if (this.logger)
1535
- this.logger.debug("Calling operation FusionEnvironmentFamilyClient#changeFusionEnvironmentFamilyCompartment.");
1536
- const operationName = "changeFusionEnvironmentFamilyCompartment";
1216
+ this.logger.debug("Calling operation FusionApplicationsClient#getScheduledActivity.");
1217
+ const operationName = "getScheduledActivity";
1537
1218
  const apiReferenceLink = "";
1538
1219
  const pathParams = {
1539
- "{fusionEnvironmentFamilyId}": changeFusionEnvironmentFamilyCompartmentRequest.fusionEnvironmentFamilyId
1540
- };
1541
- const queryParams = {};
1542
- let headerParams = {
1543
- "Content-Type": common.Constants.APPLICATION_JSON,
1544
- "if-match": changeFusionEnvironmentFamilyCompartmentRequest.ifMatch,
1545
- "opc-request-id": changeFusionEnvironmentFamilyCompartmentRequest.opcRequestId,
1546
- "opc-retry-token": changeFusionEnvironmentFamilyCompartmentRequest.opcRetryToken
1220
+ "{fusionEnvironmentId}": getScheduledActivityRequest.fusionEnvironmentId,
1221
+ "{scheduledActivityId}": getScheduledActivityRequest.scheduledActivityId
1547
1222
  };
1548
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1549
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFusionEnvironmentFamilyCompartmentRequest.retryConfiguration, specRetryConfiguration);
1550
- if (this.logger)
1551
- retrier.logger = this.logger;
1552
- const request = yield oci_common_1.composeRequest({
1553
- baseEndpoint: this._endpoint,
1554
- defaultHeaders: this._defaultHeaders,
1555
- path: "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}/actions/changeCompartment",
1556
- method: "POST",
1557
- bodyContent: common.ObjectSerializer.serialize(changeFusionEnvironmentFamilyCompartmentRequest.changeFusionEnvironmentFamilyCompartmentDetails, "ChangeFusionEnvironmentFamilyCompartmentDetails", model.ChangeFusionEnvironmentFamilyCompartmentDetails.getJsonObj),
1558
- pathParams: pathParams,
1559
- headerParams: headerParams,
1560
- queryParams: queryParams
1561
- });
1562
- try {
1563
- const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1564
- const sdkResponse = oci_common_1.composeResponse({
1565
- responseObject: {},
1566
- responseHeaders: [
1567
- {
1568
- value: response.headers.get("opc-request-id"),
1569
- key: "opcRequestId",
1570
- dataType: "string"
1571
- },
1572
- {
1573
- value: response.headers.get("opc-work-request-id"),
1574
- key: "opcWorkRequestId",
1575
- dataType: "string"
1576
- }
1577
- ]
1578
- });
1579
- return sdkResponse;
1580
- }
1581
- catch (err) {
1582
- throw err;
1583
- }
1584
- });
1585
- }
1586
- /**
1587
- * Creates a new FusionEnvironmentFamily.
1588
- *
1589
- * This operation does not retry by default if the user has not defined a retry configuration.
1590
- * @param CreateFusionEnvironmentFamilyRequest
1591
- * @return CreateFusionEnvironmentFamilyResponse
1592
- * @throws OciError when an error occurs
1593
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/CreateFusionEnvironmentFamily.ts.html |here} to see how to use CreateFusionEnvironmentFamily API.
1594
- */
1595
- createFusionEnvironmentFamily(createFusionEnvironmentFamilyRequest) {
1596
- return __awaiter(this, void 0, void 0, function* () {
1597
- if (this.logger)
1598
- this.logger.debug("Calling operation FusionEnvironmentFamilyClient#createFusionEnvironmentFamily.");
1599
- const operationName = "createFusionEnvironmentFamily";
1600
- const apiReferenceLink = "";
1601
- const pathParams = {};
1602
1223
  const queryParams = {};
1603
1224
  let headerParams = {
1604
1225
  "Content-Type": common.Constants.APPLICATION_JSON,
1605
- "opc-provision-option": createFusionEnvironmentFamilyRequest.opcProvisionOption,
1606
- "opc-retry-token": createFusionEnvironmentFamilyRequest.opcRetryToken,
1607
- "opc-request-id": createFusionEnvironmentFamilyRequest.opcRequestId
1226
+ "opc-request-id": getScheduledActivityRequest.opcRequestId
1608
1227
  };
1609
1228
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1610
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFusionEnvironmentFamilyRequest.retryConfiguration, specRetryConfiguration);
1229
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getScheduledActivityRequest.retryConfiguration, specRetryConfiguration);
1611
1230
  if (this.logger)
1612
1231
  retrier.logger = this.logger;
1613
1232
  const request = yield oci_common_1.composeRequest({
1614
1233
  baseEndpoint: this._endpoint,
1615
1234
  defaultHeaders: this._defaultHeaders,
1616
- path: "/fusionEnvironmentFamilies",
1617
- method: "POST",
1618
- bodyContent: common.ObjectSerializer.serialize(createFusionEnvironmentFamilyRequest.createFusionEnvironmentFamilyDetails, "CreateFusionEnvironmentFamilyDetails", model.CreateFusionEnvironmentFamilyDetails.getJsonObj),
1235
+ path: "/fusionEnvironments/{fusionEnvironmentId}/scheduledActivities/{scheduledActivityId}",
1236
+ method: "GET",
1619
1237
  pathParams: pathParams,
1620
1238
  headerParams: headerParams,
1621
1239
  queryParams: queryParams
@@ -1624,10 +1242,14 @@ class FusionEnvironmentFamilyClient {
1624
1242
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1625
1243
  const sdkResponse = oci_common_1.composeResponse({
1626
1244
  responseObject: {},
1245
+ body: yield response.json(),
1246
+ bodyKey: "scheduledActivity",
1247
+ bodyModel: model.ScheduledActivity,
1248
+ type: "model.ScheduledActivity",
1627
1249
  responseHeaders: [
1628
1250
  {
1629
- value: response.headers.get("opc-work-request-id"),
1630
- key: "opcWorkRequestId",
1251
+ value: response.headers.get("etag"),
1252
+ key: "etag",
1631
1253
  dataType: "string"
1632
1254
  },
1633
1255
  {
@@ -1645,37 +1267,37 @@ class FusionEnvironmentFamilyClient {
1645
1267
  });
1646
1268
  }
1647
1269
  /**
1648
- * Deletes a FusionEnvironmentFamily resource by identifier
1270
+ * Gets a Service Attachment by identifier
1649
1271
  * This operation does not retry by default if the user has not defined a retry configuration.
1650
- * @param DeleteFusionEnvironmentFamilyRequest
1651
- * @return DeleteFusionEnvironmentFamilyResponse
1272
+ * @param GetServiceAttachmentRequest
1273
+ * @return GetServiceAttachmentResponse
1652
1274
  * @throws OciError when an error occurs
1653
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/DeleteFusionEnvironmentFamily.ts.html |here} to see how to use DeleteFusionEnvironmentFamily API.
1275
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/GetServiceAttachment.ts.html |here} to see how to use GetServiceAttachment API.
1654
1276
  */
1655
- deleteFusionEnvironmentFamily(deleteFusionEnvironmentFamilyRequest) {
1277
+ getServiceAttachment(getServiceAttachmentRequest) {
1656
1278
  return __awaiter(this, void 0, void 0, function* () {
1657
1279
  if (this.logger)
1658
- this.logger.debug("Calling operation FusionEnvironmentFamilyClient#deleteFusionEnvironmentFamily.");
1659
- const operationName = "deleteFusionEnvironmentFamily";
1280
+ this.logger.debug("Calling operation FusionApplicationsClient#getServiceAttachment.");
1281
+ const operationName = "getServiceAttachment";
1660
1282
  const apiReferenceLink = "";
1661
1283
  const pathParams = {
1662
- "{fusionEnvironmentFamilyId}": deleteFusionEnvironmentFamilyRequest.fusionEnvironmentFamilyId
1284
+ "{fusionEnvironmentId}": getServiceAttachmentRequest.fusionEnvironmentId,
1285
+ "{serviceAttachmentId}": getServiceAttachmentRequest.serviceAttachmentId
1663
1286
  };
1664
1287
  const queryParams = {};
1665
1288
  let headerParams = {
1666
1289
  "Content-Type": common.Constants.APPLICATION_JSON,
1667
- "if-match": deleteFusionEnvironmentFamilyRequest.ifMatch,
1668
- "opc-request-id": deleteFusionEnvironmentFamilyRequest.opcRequestId
1290
+ "opc-request-id": getServiceAttachmentRequest.opcRequestId
1669
1291
  };
1670
1292
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1671
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFusionEnvironmentFamilyRequest.retryConfiguration, specRetryConfiguration);
1293
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getServiceAttachmentRequest.retryConfiguration, specRetryConfiguration);
1672
1294
  if (this.logger)
1673
1295
  retrier.logger = this.logger;
1674
1296
  const request = yield oci_common_1.composeRequest({
1675
1297
  baseEndpoint: this._endpoint,
1676
1298
  defaultHeaders: this._defaultHeaders,
1677
- path: "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}",
1678
- method: "DELETE",
1299
+ path: "/fusionEnvironments/{fusionEnvironmentId}/serviceAttachments/{serviceAttachmentId}",
1300
+ method: "GET",
1679
1301
  pathParams: pathParams,
1680
1302
  headerParams: headerParams,
1681
1303
  queryParams: queryParams
@@ -1684,10 +1306,14 @@ class FusionEnvironmentFamilyClient {
1684
1306
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1685
1307
  const sdkResponse = oci_common_1.composeResponse({
1686
1308
  responseObject: {},
1309
+ body: yield response.json(),
1310
+ bodyKey: "serviceAttachment",
1311
+ bodyModel: model.ServiceAttachment,
1312
+ type: "model.ServiceAttachment",
1687
1313
  responseHeaders: [
1688
1314
  {
1689
- value: response.headers.get("opc-work-request-id"),
1690
- key: "opcWorkRequestId",
1315
+ value: response.headers.get("etag"),
1316
+ key: "etag",
1691
1317
  dataType: "string"
1692
1318
  },
1693
1319
  {
@@ -1705,35 +1331,35 @@ class FusionEnvironmentFamilyClient {
1705
1331
  });
1706
1332
  }
1707
1333
  /**
1708
- * Retrieves a fusion environment family identified by its OCID.
1334
+ * Gets the status of the work request with the given ID.
1709
1335
  * This operation does not retry by default if the user has not defined a retry configuration.
1710
- * @param GetFusionEnvironmentFamilyRequest
1711
- * @return GetFusionEnvironmentFamilyResponse
1336
+ * @param GetWorkRequestRequest
1337
+ * @return GetWorkRequestResponse
1712
1338
  * @throws OciError when an error occurs
1713
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/GetFusionEnvironmentFamily.ts.html |here} to see how to use GetFusionEnvironmentFamily API.
1339
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1714
1340
  */
1715
- getFusionEnvironmentFamily(getFusionEnvironmentFamilyRequest) {
1341
+ getWorkRequest(getWorkRequestRequest) {
1716
1342
  return __awaiter(this, void 0, void 0, function* () {
1717
1343
  if (this.logger)
1718
- this.logger.debug("Calling operation FusionEnvironmentFamilyClient#getFusionEnvironmentFamily.");
1719
- const operationName = "getFusionEnvironmentFamily";
1344
+ this.logger.debug("Calling operation FusionApplicationsClient#getWorkRequest.");
1345
+ const operationName = "getWorkRequest";
1720
1346
  const apiReferenceLink = "";
1721
1347
  const pathParams = {
1722
- "{fusionEnvironmentFamilyId}": getFusionEnvironmentFamilyRequest.fusionEnvironmentFamilyId
1348
+ "{workRequestId}": getWorkRequestRequest.workRequestId
1723
1349
  };
1724
1350
  const queryParams = {};
1725
1351
  let headerParams = {
1726
1352
  "Content-Type": common.Constants.APPLICATION_JSON,
1727
- "opc-request-id": getFusionEnvironmentFamilyRequest.opcRequestId
1353
+ "opc-request-id": getWorkRequestRequest.opcRequestId
1728
1354
  };
1729
1355
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1730
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFusionEnvironmentFamilyRequest.retryConfiguration, specRetryConfiguration);
1356
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1731
1357
  if (this.logger)
1732
1358
  retrier.logger = this.logger;
1733
1359
  const request = yield oci_common_1.composeRequest({
1734
1360
  baseEndpoint: this._endpoint,
1735
1361
  defaultHeaders: this._defaultHeaders,
1736
- path: "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}",
1362
+ path: "/workRequests/{workRequestId}",
1737
1363
  method: "GET",
1738
1364
  pathParams: pathParams,
1739
1365
  headerParams: headerParams,
@@ -1744,19 +1370,19 @@ class FusionEnvironmentFamilyClient {
1744
1370
  const sdkResponse = oci_common_1.composeResponse({
1745
1371
  responseObject: {},
1746
1372
  body: yield response.json(),
1747
- bodyKey: "fusionEnvironmentFamily",
1748
- bodyModel: model.FusionEnvironmentFamily,
1749
- type: "model.FusionEnvironmentFamily",
1373
+ bodyKey: "workRequest",
1374
+ bodyModel: model.WorkRequest,
1375
+ type: "model.WorkRequest",
1750
1376
  responseHeaders: [
1751
- {
1752
- value: response.headers.get("etag"),
1753
- key: "etag",
1754
- dataType: "string"
1755
- },
1756
1377
  {
1757
1378
  value: response.headers.get("opc-request-id"),
1758
1379
  key: "opcRequestId",
1759
1380
  dataType: "string"
1381
+ },
1382
+ {
1383
+ value: response.headers.get("retry-after"),
1384
+ key: "retryAfter",
1385
+ dataType: "number"
1760
1386
  }
1761
1387
  ]
1762
1388
  });
@@ -1768,35 +1394,35 @@ class FusionEnvironmentFamilyClient {
1768
1394
  });
1769
1395
  }
1770
1396
  /**
1771
- * Gets the number of environments (usage) of each type in the fusion environment family, as well as the limit that's allowed to be created based on the group's associated subscriptions.
1397
+ * List all FusionEnvironment admin users
1772
1398
  * This operation does not retry by default if the user has not defined a retry configuration.
1773
- * @param GetFusionEnvironmentFamilyLimitsAndUsageRequest
1774
- * @return GetFusionEnvironmentFamilyLimitsAndUsageResponse
1399
+ * @param ListAdminUsersRequest
1400
+ * @return ListAdminUsersResponse
1775
1401
  * @throws OciError when an error occurs
1776
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/GetFusionEnvironmentFamilyLimitsAndUsage.ts.html |here} to see how to use GetFusionEnvironmentFamilyLimitsAndUsage API.
1402
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ListAdminUsers.ts.html |here} to see how to use ListAdminUsers API.
1777
1403
  */
1778
- getFusionEnvironmentFamilyLimitsAndUsage(getFusionEnvironmentFamilyLimitsAndUsageRequest) {
1404
+ listAdminUsers(listAdminUsersRequest) {
1779
1405
  return __awaiter(this, void 0, void 0, function* () {
1780
1406
  if (this.logger)
1781
- this.logger.debug("Calling operation FusionEnvironmentFamilyClient#getFusionEnvironmentFamilyLimitsAndUsage.");
1782
- const operationName = "getFusionEnvironmentFamilyLimitsAndUsage";
1407
+ this.logger.debug("Calling operation FusionApplicationsClient#listAdminUsers.");
1408
+ const operationName = "listAdminUsers";
1783
1409
  const apiReferenceLink = "";
1784
1410
  const pathParams = {
1785
- "{fusionEnvironmentFamilyId}": getFusionEnvironmentFamilyLimitsAndUsageRequest.fusionEnvironmentFamilyId
1411
+ "{fusionEnvironmentId}": listAdminUsersRequest.fusionEnvironmentId
1786
1412
  };
1787
1413
  const queryParams = {};
1788
1414
  let headerParams = {
1789
1415
  "Content-Type": common.Constants.APPLICATION_JSON,
1790
- "opc-request-id": getFusionEnvironmentFamilyLimitsAndUsageRequest.opcRequestId
1416
+ "opc-request-id": listAdminUsersRequest.opcRequestId
1791
1417
  };
1792
1418
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1793
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFusionEnvironmentFamilyLimitsAndUsageRequest.retryConfiguration, specRetryConfiguration);
1419
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAdminUsersRequest.retryConfiguration, specRetryConfiguration);
1794
1420
  if (this.logger)
1795
1421
  retrier.logger = this.logger;
1796
1422
  const request = yield oci_common_1.composeRequest({
1797
1423
  baseEndpoint: this._endpoint,
1798
1424
  defaultHeaders: this._defaultHeaders,
1799
- path: "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}/limitsAndUsage",
1425
+ path: "/fusionEnvironments/{fusionEnvironmentId}/adminUsers",
1800
1426
  method: "GET",
1801
1427
  pathParams: pathParams,
1802
1428
  headerParams: headerParams,
@@ -1807,18 +1433,18 @@ class FusionEnvironmentFamilyClient {
1807
1433
  const sdkResponse = oci_common_1.composeResponse({
1808
1434
  responseObject: {},
1809
1435
  body: yield response.json(),
1810
- bodyKey: "fusionEnvironmentFamilyLimitsAndUsage",
1811
- bodyModel: model.FusionEnvironmentFamilyLimitsAndUsage,
1812
- type: "model.FusionEnvironmentFamilyLimitsAndUsage",
1436
+ bodyKey: "adminUserCollection",
1437
+ bodyModel: model.AdminUserCollection,
1438
+ type: "model.AdminUserCollection",
1813
1439
  responseHeaders: [
1814
1440
  {
1815
- value: response.headers.get("etag"),
1816
- key: "etag",
1441
+ value: response.headers.get("opc-request-id"),
1442
+ key: "opcRequestId",
1817
1443
  dataType: "string"
1818
1444
  },
1819
1445
  {
1820
- value: response.headers.get("opc-request-id"),
1821
- key: "opcRequestId",
1446
+ value: response.headers.get("opc-next-page"),
1447
+ key: "opcNextPage",
1822
1448
  dataType: "string"
1823
1449
  }
1824
1450
  ]
@@ -1831,35 +1457,42 @@ class FusionEnvironmentFamilyClient {
1831
1457
  });
1832
1458
  }
1833
1459
  /**
1834
- * Gets the subscription details of an fusion environment family.
1460
+ * Returns a list of DataMaskingActivities.
1461
+ *
1835
1462
  * This operation does not retry by default if the user has not defined a retry configuration.
1836
- * @param GetFusionEnvironmentFamilySubscriptionDetailRequest
1837
- * @return GetFusionEnvironmentFamilySubscriptionDetailResponse
1463
+ * @param ListDataMaskingActivitiesRequest
1464
+ * @return ListDataMaskingActivitiesResponse
1838
1465
  * @throws OciError when an error occurs
1839
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/GetFusionEnvironmentFamilySubscriptionDetail.ts.html |here} to see how to use GetFusionEnvironmentFamilySubscriptionDetail API.
1466
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ListDataMaskingActivities.ts.html |here} to see how to use ListDataMaskingActivities API.
1840
1467
  */
1841
- getFusionEnvironmentFamilySubscriptionDetail(getFusionEnvironmentFamilySubscriptionDetailRequest) {
1468
+ listDataMaskingActivities(listDataMaskingActivitiesRequest) {
1842
1469
  return __awaiter(this, void 0, void 0, function* () {
1843
1470
  if (this.logger)
1844
- this.logger.debug("Calling operation FusionEnvironmentFamilyClient#getFusionEnvironmentFamilySubscriptionDetail.");
1845
- const operationName = "getFusionEnvironmentFamilySubscriptionDetail";
1471
+ this.logger.debug("Calling operation FusionApplicationsClient#listDataMaskingActivities.");
1472
+ const operationName = "listDataMaskingActivities";
1846
1473
  const apiReferenceLink = "";
1847
1474
  const pathParams = {
1848
- "{fusionEnvironmentFamilyId}": getFusionEnvironmentFamilySubscriptionDetailRequest.fusionEnvironmentFamilyId
1475
+ "{fusionEnvironmentId}": listDataMaskingActivitiesRequest.fusionEnvironmentId
1476
+ };
1477
+ const queryParams = {
1478
+ "lifecycleState": listDataMaskingActivitiesRequest.lifecycleState,
1479
+ "limit": listDataMaskingActivitiesRequest.limit,
1480
+ "page": listDataMaskingActivitiesRequest.page,
1481
+ "sortOrder": listDataMaskingActivitiesRequest.sortOrder,
1482
+ "sortBy": listDataMaskingActivitiesRequest.sortBy
1849
1483
  };
1850
- const queryParams = {};
1851
1484
  let headerParams = {
1852
1485
  "Content-Type": common.Constants.APPLICATION_JSON,
1853
- "opc-request-id": getFusionEnvironmentFamilySubscriptionDetailRequest.opcRequestId
1486
+ "opc-request-id": listDataMaskingActivitiesRequest.opcRequestId
1854
1487
  };
1855
1488
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1856
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFusionEnvironmentFamilySubscriptionDetailRequest.retryConfiguration, specRetryConfiguration);
1489
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDataMaskingActivitiesRequest.retryConfiguration, specRetryConfiguration);
1857
1490
  if (this.logger)
1858
1491
  retrier.logger = this.logger;
1859
1492
  const request = yield oci_common_1.composeRequest({
1860
1493
  baseEndpoint: this._endpoint,
1861
1494
  defaultHeaders: this._defaultHeaders,
1862
- path: "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}/subscriptionDetails",
1495
+ path: "/fusionEnvironments/{fusionEnvironmentId}/dataMaskingActivities",
1863
1496
  method: "GET",
1864
1497
  pathParams: pathParams,
1865
1498
  headerParams: headerParams,
@@ -1870,18 +1503,18 @@ class FusionEnvironmentFamilyClient {
1870
1503
  const sdkResponse = oci_common_1.composeResponse({
1871
1504
  responseObject: {},
1872
1505
  body: yield response.json(),
1873
- bodyKey: "subscriptionDetail",
1874
- bodyModel: model.SubscriptionDetail,
1875
- type: "model.SubscriptionDetail",
1506
+ bodyKey: "dataMaskingActivityCollection",
1507
+ bodyModel: model.DataMaskingActivityCollection,
1508
+ type: "model.DataMaskingActivityCollection",
1876
1509
  responseHeaders: [
1877
1510
  {
1878
- value: response.headers.get("etag"),
1879
- key: "etag",
1511
+ value: response.headers.get("opc-request-id"),
1512
+ key: "opcRequestId",
1880
1513
  dataType: "string"
1881
1514
  },
1882
1515
  {
1883
- value: response.headers.get("opc-request-id"),
1884
- key: "opcRequestId",
1516
+ value: response.headers.get("opc-next-page"),
1517
+ key: "opcNextPage",
1885
1518
  dataType: "string"
1886
1519
  }
1887
1520
  ]
@@ -1900,12 +1533,12 @@ class FusionEnvironmentFamilyClient {
1900
1533
  * @param ListFusionEnvironmentFamiliesRequest
1901
1534
  * @return ListFusionEnvironmentFamiliesResponse
1902
1535
  * @throws OciError when an error occurs
1903
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ListFusionEnvironmentFamilies.ts.html |here} to see how to use ListFusionEnvironmentFamilies API.
1536
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ListFusionEnvironmentFamilies.ts.html |here} to see how to use ListFusionEnvironmentFamilies API.
1904
1537
  */
1905
1538
  listFusionEnvironmentFamilies(listFusionEnvironmentFamiliesRequest) {
1906
1539
  return __awaiter(this, void 0, void 0, function* () {
1907
1540
  if (this.logger)
1908
- this.logger.debug("Calling operation FusionEnvironmentFamilyClient#listFusionEnvironmentFamilies.");
1541
+ this.logger.debug("Calling operation FusionApplicationsClient#listFusionEnvironmentFamilies.");
1909
1542
  const operationName = "listFusionEnvironmentFamilies";
1910
1543
  const apiReferenceLink = "";
1911
1544
  const pathParams = {};
@@ -1965,38 +1598,44 @@ class FusionEnvironmentFamilyClient {
1965
1598
  });
1966
1599
  }
1967
1600
  /**
1968
- * Updates the FusionEnvironmentFamily
1601
+ * Returns a list of FusionEnvironments.
1602
+ *
1969
1603
  * This operation does not retry by default if the user has not defined a retry configuration.
1970
- * @param UpdateFusionEnvironmentFamilyRequest
1971
- * @return UpdateFusionEnvironmentFamilyResponse
1604
+ * @param ListFusionEnvironmentsRequest
1605
+ * @return ListFusionEnvironmentsResponse
1972
1606
  * @throws OciError when an error occurs
1973
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/UpdateFusionEnvironmentFamily.ts.html |here} to see how to use UpdateFusionEnvironmentFamily API.
1607
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ListFusionEnvironments.ts.html |here} to see how to use ListFusionEnvironments API.
1974
1608
  */
1975
- updateFusionEnvironmentFamily(updateFusionEnvironmentFamilyRequest) {
1609
+ listFusionEnvironments(listFusionEnvironmentsRequest) {
1976
1610
  return __awaiter(this, void 0, void 0, function* () {
1977
1611
  if (this.logger)
1978
- this.logger.debug("Calling operation FusionEnvironmentFamilyClient#updateFusionEnvironmentFamily.");
1979
- const operationName = "updateFusionEnvironmentFamily";
1612
+ this.logger.debug("Calling operation FusionApplicationsClient#listFusionEnvironments.");
1613
+ const operationName = "listFusionEnvironments";
1980
1614
  const apiReferenceLink = "";
1981
- const pathParams = {
1982
- "{fusionEnvironmentFamilyId}": updateFusionEnvironmentFamilyRequest.fusionEnvironmentFamilyId
1615
+ const pathParams = {};
1616
+ const queryParams = {
1617
+ "compartmentId": listFusionEnvironmentsRequest.compartmentId,
1618
+ "fusionEnvironmentFamilyId": listFusionEnvironmentsRequest.fusionEnvironmentFamilyId,
1619
+ "displayName": listFusionEnvironmentsRequest.displayName,
1620
+ "lifecycleState": listFusionEnvironmentsRequest.lifecycleState,
1621
+ "limit": listFusionEnvironmentsRequest.limit,
1622
+ "page": listFusionEnvironmentsRequest.page,
1623
+ "sortOrder": listFusionEnvironmentsRequest.sortOrder,
1624
+ "sortBy": listFusionEnvironmentsRequest.sortBy
1983
1625
  };
1984
- const queryParams = {};
1985
1626
  let headerParams = {
1986
1627
  "Content-Type": common.Constants.APPLICATION_JSON,
1987
- "if-match": updateFusionEnvironmentFamilyRequest.ifMatch,
1988
- "opc-request-id": updateFusionEnvironmentFamilyRequest.opcRequestId
1628
+ "opc-request-id": listFusionEnvironmentsRequest.opcRequestId
1989
1629
  };
1990
1630
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1991
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFusionEnvironmentFamilyRequest.retryConfiguration, specRetryConfiguration);
1631
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFusionEnvironmentsRequest.retryConfiguration, specRetryConfiguration);
1992
1632
  if (this.logger)
1993
1633
  retrier.logger = this.logger;
1994
1634
  const request = yield oci_common_1.composeRequest({
1995
1635
  baseEndpoint: this._endpoint,
1996
1636
  defaultHeaders: this._defaultHeaders,
1997
- path: "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}",
1998
- method: "PUT",
1999
- bodyContent: common.ObjectSerializer.serialize(updateFusionEnvironmentFamilyRequest.updateFusionEnvironmentFamilyDetails, "UpdateFusionEnvironmentFamilyDetails", model.UpdateFusionEnvironmentFamilyDetails.getJsonObj),
1637
+ path: "/fusionEnvironments",
1638
+ method: "GET",
2000
1639
  pathParams: pathParams,
2001
1640
  headerParams: headerParams,
2002
1641
  queryParams: queryParams
@@ -2005,15 +1644,19 @@ class FusionEnvironmentFamilyClient {
2005
1644
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2006
1645
  const sdkResponse = oci_common_1.composeResponse({
2007
1646
  responseObject: {},
1647
+ body: yield response.json(),
1648
+ bodyKey: "fusionEnvironmentCollection",
1649
+ bodyModel: model.FusionEnvironmentCollection,
1650
+ type: "model.FusionEnvironmentCollection",
2008
1651
  responseHeaders: [
2009
1652
  {
2010
- value: response.headers.get("opc-work-request-id"),
2011
- key: "opcWorkRequestId",
1653
+ value: response.headers.get("opc-request-id"),
1654
+ key: "opcRequestId",
2012
1655
  dataType: "string"
2013
1656
  },
2014
1657
  {
2015
- value: response.headers.get("opc-request-id"),
2016
- key: "opcRequestId",
1658
+ value: response.headers.get("opc-next-page"),
1659
+ key: "opcNextPage",
2017
1660
  dataType: "string"
2018
1661
  }
2019
1662
  ]
@@ -2025,146 +1668,47 @@ class FusionEnvironmentFamilyClient {
2025
1668
  }
2026
1669
  });
2027
1670
  }
2028
- }
2029
- exports.FusionEnvironmentFamilyClient = FusionEnvironmentFamilyClient;
2030
- FusionEnvironmentFamilyClient.serviceEndpointTemplate = "https://fusionapps.{region}.oci.{secondLevelDomain}";
2031
- FusionEnvironmentFamilyClient.endpointServiceName = "";
2032
- var RefreshActivityApiKeys;
2033
- (function (RefreshActivityApiKeys) {
2034
- })(RefreshActivityApiKeys = exports.RefreshActivityApiKeys || (exports.RefreshActivityApiKeys = {}));
2035
- /**
2036
- * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
2037
- */
2038
- class RefreshActivityClient {
2039
- constructor(params, clientConfiguration) {
2040
- this["_endpoint"] = "";
2041
- this["_defaultHeaders"] = {};
2042
- this._circuitBreaker = null;
2043
- this._httpOptions = undefined;
2044
- this.targetService = "RefreshActivity";
2045
- const requestSigner = params.authenticationDetailsProvider
2046
- ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
2047
- : null;
2048
- if (clientConfiguration) {
2049
- this._clientConfiguration = clientConfiguration;
2050
- this._circuitBreaker = clientConfiguration.circuitBreaker
2051
- ? clientConfiguration.circuitBreaker.circuit
2052
- : null;
2053
- this._httpOptions = clientConfiguration.httpOptions
2054
- ? clientConfiguration.httpOptions
2055
- : undefined;
2056
- }
2057
- // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
2058
- const specCircuitBreakerEnabled = true;
2059
- if (!this._circuitBreaker &&
2060
- common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
2061
- (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
2062
- this._circuitBreaker = new common.CircuitBreaker().circuit;
2063
- }
2064
- this._httpClient =
2065
- params.httpClient ||
2066
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
2067
- if (params.authenticationDetailsProvider &&
2068
- common.isRegionProvider(params.authenticationDetailsProvider)) {
2069
- const provider = params.authenticationDetailsProvider;
2070
- if (provider.getRegion()) {
2071
- this.region = provider.getRegion();
2072
- }
2073
- }
2074
- }
2075
- /**
2076
- * Get the endpoint that is being used to call (ex, https://www.example.com).
2077
- */
2078
- get endpoint() {
2079
- return this._endpoint;
2080
- }
2081
- /**
2082
- * Sets the endpoint to call (ex, https://www.example.com).
2083
- * @param endpoint The endpoint of the service.
2084
- */
2085
- set endpoint(endpoint) {
2086
- this._endpoint = endpoint;
2087
- this._endpoint = this._endpoint + "/20211201";
2088
- if (this.logger)
2089
- this.logger.info(`RefreshActivityClient endpoint set to ${this._endpoint}`);
2090
- }
2091
- get logger() {
2092
- return common.LOG.logger;
2093
- }
2094
1671
  /**
2095
- * Sets the region to call (ex, Region.US_PHOENIX_1).
2096
- * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
2097
- * @param region The region of the service.
2098
- */
2099
- set region(region) {
2100
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(RefreshActivityClient.serviceEndpointTemplate, region, RefreshActivityClient.endpointServiceName);
2101
- }
2102
- /**
2103
- * Sets the regionId to call (ex, 'us-phoenix-1').
2104
- *
2105
- * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
2106
- * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
2107
- * and then call {@link #endpoint(String) endpoint}.
2108
- * @param regionId The public region ID.
2109
- */
2110
- set regionId(regionId) {
2111
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(RefreshActivityClient.serviceEndpointTemplate, regionId, RefreshActivityClient.endpointServiceName);
2112
- }
2113
- /**
2114
- * Creates a new RefreshActivityWaiter for resources for this service.
2115
- *
2116
- * @param config The waiter configuration for termination and delay strategy
2117
- * @return The service waiters.
2118
- */
2119
- createWaiters(config) {
2120
- this._waiters = new refreshactivity_waiter_1.RefreshActivityWaiter(this, config);
2121
- return this._waiters;
2122
- }
2123
- /**
2124
- * Gets the waiters available for resources for this service.
2125
- *
2126
- * @return The service waiters.
2127
- */
2128
- getWaiters() {
2129
- if (this._waiters) {
2130
- return this._waiters;
2131
- }
2132
- throw Error("Waiters do not exist. Please create waiters.");
2133
- }
2134
- /**
2135
- * Creates a new RefreshActivity.
1672
+ * Returns a list of RefreshActivities.
2136
1673
  *
2137
1674
  * This operation does not retry by default if the user has not defined a retry configuration.
2138
- * @param CreateRefreshActivityRequest
2139
- * @return CreateRefreshActivityResponse
1675
+ * @param ListRefreshActivitiesRequest
1676
+ * @return ListRefreshActivitiesResponse
2140
1677
  * @throws OciError when an error occurs
2141
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/CreateRefreshActivity.ts.html |here} to see how to use CreateRefreshActivity API.
1678
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ListRefreshActivities.ts.html |here} to see how to use ListRefreshActivities API.
2142
1679
  */
2143
- createRefreshActivity(createRefreshActivityRequest) {
1680
+ listRefreshActivities(listRefreshActivitiesRequest) {
2144
1681
  return __awaiter(this, void 0, void 0, function* () {
2145
1682
  if (this.logger)
2146
- this.logger.debug("Calling operation RefreshActivityClient#createRefreshActivity.");
2147
- const operationName = "createRefreshActivity";
1683
+ this.logger.debug("Calling operation FusionApplicationsClient#listRefreshActivities.");
1684
+ const operationName = "listRefreshActivities";
2148
1685
  const apiReferenceLink = "";
2149
1686
  const pathParams = {
2150
- "{fusionEnvironmentId}": createRefreshActivityRequest.fusionEnvironmentId
1687
+ "{fusionEnvironmentId}": listRefreshActivitiesRequest.fusionEnvironmentId
1688
+ };
1689
+ const queryParams = {
1690
+ "displayName": listRefreshActivitiesRequest.displayName,
1691
+ "timeScheduledStartGreaterThanOrEqualTo": listRefreshActivitiesRequest.timeScheduledStartGreaterThanOrEqualTo,
1692
+ "timeExpectedFinishLessThanOrEqualTo": listRefreshActivitiesRequest.timeExpectedFinishLessThanOrEqualTo,
1693
+ "lifecycleState": listRefreshActivitiesRequest.lifecycleState,
1694
+ "limit": listRefreshActivitiesRequest.limit,
1695
+ "page": listRefreshActivitiesRequest.page,
1696
+ "sortOrder": listRefreshActivitiesRequest.sortOrder,
1697
+ "sortBy": listRefreshActivitiesRequest.sortBy
2151
1698
  };
2152
- const queryParams = {};
2153
1699
  let headerParams = {
2154
1700
  "Content-Type": common.Constants.APPLICATION_JSON,
2155
- "opc-retry-token": createRefreshActivityRequest.opcRetryToken,
2156
- "opc-request-id": createRefreshActivityRequest.opcRequestId
1701
+ "opc-request-id": listRefreshActivitiesRequest.opcRequestId
2157
1702
  };
2158
1703
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2159
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRefreshActivityRequest.retryConfiguration, specRetryConfiguration);
1704
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRefreshActivitiesRequest.retryConfiguration, specRetryConfiguration);
2160
1705
  if (this.logger)
2161
1706
  retrier.logger = this.logger;
2162
1707
  const request = yield oci_common_1.composeRequest({
2163
1708
  baseEndpoint: this._endpoint,
2164
1709
  defaultHeaders: this._defaultHeaders,
2165
1710
  path: "/fusionEnvironments/{fusionEnvironmentId}/refreshActivities",
2166
- method: "POST",
2167
- bodyContent: common.ObjectSerializer.serialize(createRefreshActivityRequest.createRefreshActivityDetails, "CreateRefreshActivityDetails", model.CreateRefreshActivityDetails.getJsonObj),
1711
+ method: "GET",
2168
1712
  pathParams: pathParams,
2169
1713
  headerParams: headerParams,
2170
1714
  queryParams: queryParams
@@ -2173,15 +1717,19 @@ class RefreshActivityClient {
2173
1717
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2174
1718
  const sdkResponse = oci_common_1.composeResponse({
2175
1719
  responseObject: {},
1720
+ body: yield response.json(),
1721
+ bodyKey: "refreshActivityCollection",
1722
+ bodyModel: model.RefreshActivityCollection,
1723
+ type: "model.RefreshActivityCollection",
2176
1724
  responseHeaders: [
2177
1725
  {
2178
- value: response.headers.get("opc-work-request-id"),
2179
- key: "opcWorkRequestId",
1726
+ value: response.headers.get("opc-request-id"),
1727
+ key: "opcRequestId",
2180
1728
  dataType: "string"
2181
1729
  },
2182
1730
  {
2183
- value: response.headers.get("opc-request-id"),
2184
- key: "opcRequestId",
1731
+ value: response.headers.get("opc-next-page"),
1732
+ key: "opcNextPage",
2185
1733
  dataType: "string"
2186
1734
  }
2187
1735
  ]
@@ -2194,36 +1742,46 @@ class RefreshActivityClient {
2194
1742
  });
2195
1743
  }
2196
1744
  /**
2197
- * Gets a RefreshActivity by identifier
1745
+ * Returns a list of ScheduledActivities.
1746
+ *
2198
1747
  * This operation does not retry by default if the user has not defined a retry configuration.
2199
- * @param GetRefreshActivityRequest
2200
- * @return GetRefreshActivityResponse
1748
+ * @param ListScheduledActivitiesRequest
1749
+ * @return ListScheduledActivitiesResponse
2201
1750
  * @throws OciError when an error occurs
2202
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/GetRefreshActivity.ts.html |here} to see how to use GetRefreshActivity API.
1751
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ListScheduledActivities.ts.html |here} to see how to use ListScheduledActivities API.
2203
1752
  */
2204
- getRefreshActivity(getRefreshActivityRequest) {
1753
+ listScheduledActivities(listScheduledActivitiesRequest) {
2205
1754
  return __awaiter(this, void 0, void 0, function* () {
2206
1755
  if (this.logger)
2207
- this.logger.debug("Calling operation RefreshActivityClient#getRefreshActivity.");
2208
- const operationName = "getRefreshActivity";
1756
+ this.logger.debug("Calling operation FusionApplicationsClient#listScheduledActivities.");
1757
+ const operationName = "listScheduledActivities";
2209
1758
  const apiReferenceLink = "";
2210
1759
  const pathParams = {
2211
- "{fusionEnvironmentId}": getRefreshActivityRequest.fusionEnvironmentId,
2212
- "{refreshActivityId}": getRefreshActivityRequest.refreshActivityId
1760
+ "{fusionEnvironmentId}": listScheduledActivitiesRequest.fusionEnvironmentId
1761
+ };
1762
+ const queryParams = {
1763
+ "displayName": listScheduledActivitiesRequest.displayName,
1764
+ "timeScheduledStartGreaterThanOrEqualTo": listScheduledActivitiesRequest.timeScheduledStartGreaterThanOrEqualTo,
1765
+ "timeExpectedFinishLessThanOrEqualTo": listScheduledActivitiesRequest.timeExpectedFinishLessThanOrEqualTo,
1766
+ "runCycle": listScheduledActivitiesRequest.runCycle,
1767
+ "lifecycleState": listScheduledActivitiesRequest.lifecycleState,
1768
+ "limit": listScheduledActivitiesRequest.limit,
1769
+ "page": listScheduledActivitiesRequest.page,
1770
+ "sortOrder": listScheduledActivitiesRequest.sortOrder,
1771
+ "sortBy": listScheduledActivitiesRequest.sortBy
2213
1772
  };
2214
- const queryParams = {};
2215
1773
  let headerParams = {
2216
1774
  "Content-Type": common.Constants.APPLICATION_JSON,
2217
- "opc-request-id": getRefreshActivityRequest.opcRequestId
1775
+ "opc-request-id": listScheduledActivitiesRequest.opcRequestId
2218
1776
  };
2219
1777
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2220
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRefreshActivityRequest.retryConfiguration, specRetryConfiguration);
1778
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listScheduledActivitiesRequest.retryConfiguration, specRetryConfiguration);
2221
1779
  if (this.logger)
2222
1780
  retrier.logger = this.logger;
2223
1781
  const request = yield oci_common_1.composeRequest({
2224
1782
  baseEndpoint: this._endpoint,
2225
1783
  defaultHeaders: this._defaultHeaders,
2226
- path: "/fusionEnvironments/{fusionEnvironmentId}/refreshActivities/{refreshActivityId}",
1784
+ path: "/fusionEnvironments/{fusionEnvironmentId}/scheduledActivities",
2227
1785
  method: "GET",
2228
1786
  pathParams: pathParams,
2229
1787
  headerParams: headerParams,
@@ -2234,18 +1792,18 @@ class RefreshActivityClient {
2234
1792
  const sdkResponse = oci_common_1.composeResponse({
2235
1793
  responseObject: {},
2236
1794
  body: yield response.json(),
2237
- bodyKey: "refreshActivity",
2238
- bodyModel: model.RefreshActivity,
2239
- type: "model.RefreshActivity",
1795
+ bodyKey: "scheduledActivityCollection",
1796
+ bodyModel: model.ScheduledActivityCollection,
1797
+ type: "model.ScheduledActivityCollection",
2240
1798
  responseHeaders: [
2241
1799
  {
2242
- value: response.headers.get("etag"),
2243
- key: "etag",
1800
+ value: response.headers.get("opc-request-id"),
1801
+ key: "opcRequestId",
2244
1802
  dataType: "string"
2245
1803
  },
2246
1804
  {
2247
- value: response.headers.get("opc-request-id"),
2248
- key: "opcRequestId",
1805
+ value: response.headers.get("opc-next-page"),
1806
+ key: "opcNextPage",
2249
1807
  dataType: "string"
2250
1808
  }
2251
1809
  ]
@@ -2258,45 +1816,44 @@ class RefreshActivityClient {
2258
1816
  });
2259
1817
  }
2260
1818
  /**
2261
- * Returns a list of RefreshActivities.
1819
+ * Returns a list of service attachments.
2262
1820
  *
2263
1821
  * This operation does not retry by default if the user has not defined a retry configuration.
2264
- * @param ListRefreshActivitiesRequest
2265
- * @return ListRefreshActivitiesResponse
1822
+ * @param ListServiceAttachmentsRequest
1823
+ * @return ListServiceAttachmentsResponse
2266
1824
  * @throws OciError when an error occurs
2267
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ListRefreshActivities.ts.html |here} to see how to use ListRefreshActivities API.
1825
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ListServiceAttachments.ts.html |here} to see how to use ListServiceAttachments API.
2268
1826
  */
2269
- listRefreshActivities(listRefreshActivitiesRequest) {
1827
+ listServiceAttachments(listServiceAttachmentsRequest) {
2270
1828
  return __awaiter(this, void 0, void 0, function* () {
2271
1829
  if (this.logger)
2272
- this.logger.debug("Calling operation RefreshActivityClient#listRefreshActivities.");
2273
- const operationName = "listRefreshActivities";
1830
+ this.logger.debug("Calling operation FusionApplicationsClient#listServiceAttachments.");
1831
+ const operationName = "listServiceAttachments";
2274
1832
  const apiReferenceLink = "";
2275
1833
  const pathParams = {
2276
- "{fusionEnvironmentId}": listRefreshActivitiesRequest.fusionEnvironmentId
1834
+ "{fusionEnvironmentId}": listServiceAttachmentsRequest.fusionEnvironmentId
2277
1835
  };
2278
1836
  const queryParams = {
2279
- "displayName": listRefreshActivitiesRequest.displayName,
2280
- "timeScheduledStartGreaterThanOrEqualTo": listRefreshActivitiesRequest.timeScheduledStartGreaterThanOrEqualTo,
2281
- "timeExpectedFinishLessThanOrEqualTo": listRefreshActivitiesRequest.timeExpectedFinishLessThanOrEqualTo,
2282
- "lifecycleState": listRefreshActivitiesRequest.lifecycleState,
2283
- "limit": listRefreshActivitiesRequest.limit,
2284
- "page": listRefreshActivitiesRequest.page,
2285
- "sortOrder": listRefreshActivitiesRequest.sortOrder,
2286
- "sortBy": listRefreshActivitiesRequest.sortBy
1837
+ "displayName": listServiceAttachmentsRequest.displayName,
1838
+ "lifecycleState": listServiceAttachmentsRequest.lifecycleState,
1839
+ "serviceInstanceType": listServiceAttachmentsRequest.serviceInstanceType,
1840
+ "limit": listServiceAttachmentsRequest.limit,
1841
+ "page": listServiceAttachmentsRequest.page,
1842
+ "sortOrder": listServiceAttachmentsRequest.sortOrder,
1843
+ "sortBy": listServiceAttachmentsRequest.sortBy
2287
1844
  };
2288
1845
  let headerParams = {
2289
1846
  "Content-Type": common.Constants.APPLICATION_JSON,
2290
- "opc-request-id": listRefreshActivitiesRequest.opcRequestId
1847
+ "opc-request-id": listServiceAttachmentsRequest.opcRequestId
2291
1848
  };
2292
1849
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2293
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRefreshActivitiesRequest.retryConfiguration, specRetryConfiguration);
1850
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listServiceAttachmentsRequest.retryConfiguration, specRetryConfiguration);
2294
1851
  if (this.logger)
2295
1852
  retrier.logger = this.logger;
2296
1853
  const request = yield oci_common_1.composeRequest({
2297
1854
  baseEndpoint: this._endpoint,
2298
1855
  defaultHeaders: this._defaultHeaders,
2299
- path: "/fusionEnvironments/{fusionEnvironmentId}/refreshActivities",
1856
+ path: "/fusionEnvironments/{fusionEnvironmentId}/serviceAttachments",
2300
1857
  method: "GET",
2301
1858
  pathParams: pathParams,
2302
1859
  headerParams: headerParams,
@@ -2307,9 +1864,9 @@ class RefreshActivityClient {
2307
1864
  const sdkResponse = oci_common_1.composeResponse({
2308
1865
  responseObject: {},
2309
1866
  body: yield response.json(),
2310
- bodyKey: "refreshActivityCollection",
2311
- bodyModel: model.RefreshActivityCollection,
2312
- type: "model.RefreshActivityCollection",
1867
+ bodyKey: "serviceAttachmentCollection",
1868
+ bodyModel: model.ServiceAttachmentCollection,
1869
+ type: "model.ServiceAttachmentCollection",
2313
1870
  responseHeaders: [
2314
1871
  {
2315
1872
  value: response.headers.get("opc-request-id"),
@@ -2336,12 +1893,12 @@ class RefreshActivityClient {
2336
1893
  * @param ListTimeAvailableForRefreshesRequest
2337
1894
  * @return ListTimeAvailableForRefreshesResponse
2338
1895
  * @throws OciError when an error occurs
2339
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ListTimeAvailableForRefreshes.ts.html |here} to see how to use ListTimeAvailableForRefreshes API.
1896
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ListTimeAvailableForRefreshes.ts.html |here} to see how to use ListTimeAvailableForRefreshes API.
2340
1897
  */
2341
1898
  listTimeAvailableForRefreshes(listTimeAvailableForRefreshesRequest) {
2342
1899
  return __awaiter(this, void 0, void 0, function* () {
2343
1900
  if (this.logger)
2344
- this.logger.debug("Calling operation RefreshActivityClient#listTimeAvailableForRefreshes.");
1901
+ this.logger.debug("Calling operation FusionApplicationsClient#listTimeAvailableForRefreshes.");
2345
1902
  const operationName = "listTimeAvailableForRefreshes";
2346
1903
  const apiReferenceLink = "";
2347
1904
  const pathParams = {
@@ -2398,143 +1955,111 @@ class RefreshActivityClient {
2398
1955
  }
2399
1956
  });
2400
1957
  }
2401
- }
2402
- exports.RefreshActivityClient = RefreshActivityClient;
2403
- RefreshActivityClient.serviceEndpointTemplate = "https://fusionapps.{region}.oci.{secondLevelDomain}";
2404
- RefreshActivityClient.endpointServiceName = "";
2405
- var ScheduledActivityApiKeys;
2406
- (function (ScheduledActivityApiKeys) {
2407
- })(ScheduledActivityApiKeys = exports.ScheduledActivityApiKeys || (exports.ScheduledActivityApiKeys = {}));
2408
- /**
2409
- * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
2410
- */
2411
- class ScheduledActivityClient {
2412
- constructor(params, clientConfiguration) {
2413
- this["_endpoint"] = "";
2414
- this["_defaultHeaders"] = {};
2415
- this._circuitBreaker = null;
2416
- this._httpOptions = undefined;
2417
- this.targetService = "ScheduledActivity";
2418
- const requestSigner = params.authenticationDetailsProvider
2419
- ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
2420
- : null;
2421
- if (clientConfiguration) {
2422
- this._clientConfiguration = clientConfiguration;
2423
- this._circuitBreaker = clientConfiguration.circuitBreaker
2424
- ? clientConfiguration.circuitBreaker.circuit
2425
- : null;
2426
- this._httpOptions = clientConfiguration.httpOptions
2427
- ? clientConfiguration.httpOptions
2428
- : undefined;
2429
- }
2430
- // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
2431
- const specCircuitBreakerEnabled = true;
2432
- if (!this._circuitBreaker &&
2433
- common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
2434
- (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
2435
- this._circuitBreaker = new common.CircuitBreaker().circuit;
2436
- }
2437
- this._httpClient =
2438
- params.httpClient ||
2439
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
2440
- if (params.authenticationDetailsProvider &&
2441
- common.isRegionProvider(params.authenticationDetailsProvider)) {
2442
- const provider = params.authenticationDetailsProvider;
2443
- if (provider.getRegion()) {
2444
- this.region = provider.getRegion();
2445
- }
2446
- }
2447
- }
2448
- /**
2449
- * Get the endpoint that is being used to call (ex, https://www.example.com).
2450
- */
2451
- get endpoint() {
2452
- return this._endpoint;
2453
- }
2454
- /**
2455
- * Sets the endpoint to call (ex, https://www.example.com).
2456
- * @param endpoint The endpoint of the service.
2457
- */
2458
- set endpoint(endpoint) {
2459
- this._endpoint = endpoint;
2460
- this._endpoint = this._endpoint + "/20211201";
2461
- if (this.logger)
2462
- this.logger.info(`ScheduledActivityClient endpoint set to ${this._endpoint}`);
2463
- }
2464
- get logger() {
2465
- return common.LOG.logger;
2466
- }
2467
- /**
2468
- * Sets the region to call (ex, Region.US_PHOENIX_1).
2469
- * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
2470
- * @param region The region of the service.
2471
- */
2472
- set region(region) {
2473
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ScheduledActivityClient.serviceEndpointTemplate, region, ScheduledActivityClient.endpointServiceName);
2474
- }
2475
1958
  /**
2476
- * Sets the regionId to call (ex, 'us-phoenix-1').
2477
- *
2478
- * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
2479
- * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
2480
- * and then call {@link #endpoint(String) endpoint}.
2481
- * @param regionId The public region ID.
2482
- */
2483
- set regionId(regionId) {
2484
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ScheduledActivityClient.serviceEndpointTemplate, regionId, ScheduledActivityClient.endpointServiceName);
2485
- }
2486
- /**
2487
- * Creates a new ScheduledActivityWaiter for resources for this service.
1959
+ * Return a (paginated) list of errors for a given work request.
2488
1960
  *
2489
- * @param config The waiter configuration for termination and delay strategy
2490
- * @return The service waiters.
1961
+ * This operation does not retry by default if the user has not defined a retry configuration.
1962
+ * @param ListWorkRequestErrorsRequest
1963
+ * @return ListWorkRequestErrorsResponse
1964
+ * @throws OciError when an error occurs
1965
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2491
1966
  */
2492
- createWaiters(config) {
2493
- this._waiters = new scheduledactivity_waiter_1.ScheduledActivityWaiter(this, config);
2494
- return this._waiters;
1967
+ listWorkRequestErrors(listWorkRequestErrorsRequest) {
1968
+ return __awaiter(this, void 0, void 0, function* () {
1969
+ if (this.logger)
1970
+ this.logger.debug("Calling operation FusionApplicationsClient#listWorkRequestErrors.");
1971
+ const operationName = "listWorkRequestErrors";
1972
+ const apiReferenceLink = "";
1973
+ const pathParams = {
1974
+ "{workRequestId}": listWorkRequestErrorsRequest.workRequestId
1975
+ };
1976
+ const queryParams = {
1977
+ "sortBy": listWorkRequestErrorsRequest.sortBy,
1978
+ "sortOrder": listWorkRequestErrorsRequest.sortOrder,
1979
+ "page": listWorkRequestErrorsRequest.page,
1980
+ "limit": listWorkRequestErrorsRequest.limit
1981
+ };
1982
+ let headerParams = {
1983
+ "Content-Type": common.Constants.APPLICATION_JSON,
1984
+ "opc-request-id": listWorkRequestErrorsRequest.opcRequestId
1985
+ };
1986
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1987
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
1988
+ if (this.logger)
1989
+ retrier.logger = this.logger;
1990
+ const request = yield oci_common_1.composeRequest({
1991
+ baseEndpoint: this._endpoint,
1992
+ defaultHeaders: this._defaultHeaders,
1993
+ path: "/workRequests/{workRequestId}/errors",
1994
+ method: "GET",
1995
+ pathParams: pathParams,
1996
+ headerParams: headerParams,
1997
+ queryParams: queryParams
1998
+ });
1999
+ try {
2000
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2001
+ const sdkResponse = oci_common_1.composeResponse({
2002
+ responseObject: {},
2003
+ body: yield response.json(),
2004
+ bodyKey: "workRequestErrorCollection",
2005
+ bodyModel: model.WorkRequestErrorCollection,
2006
+ type: "model.WorkRequestErrorCollection",
2007
+ responseHeaders: [
2008
+ {
2009
+ value: response.headers.get("opc-next-page"),
2010
+ key: "opcNextPage",
2011
+ dataType: "string"
2012
+ },
2013
+ {
2014
+ value: response.headers.get("opc-request-id"),
2015
+ key: "opcRequestId",
2016
+ dataType: "string"
2017
+ }
2018
+ ]
2019
+ });
2020
+ return sdkResponse;
2021
+ }
2022
+ catch (err) {
2023
+ throw err;
2024
+ }
2025
+ });
2495
2026
  }
2496
2027
  /**
2497
- * Gets the waiters available for resources for this service.
2028
+ * Return a (paginated) list of logs for a given work request.
2498
2029
  *
2499
- * @return The service waiters.
2500
- */
2501
- getWaiters() {
2502
- if (this._waiters) {
2503
- return this._waiters;
2504
- }
2505
- throw Error("Waiters do not exist. Please create waiters.");
2506
- }
2507
- /**
2508
- * Gets a ScheduledActivity by identifier
2509
2030
  * This operation does not retry by default if the user has not defined a retry configuration.
2510
- * @param GetScheduledActivityRequest
2511
- * @return GetScheduledActivityResponse
2031
+ * @param ListWorkRequestLogsRequest
2032
+ * @return ListWorkRequestLogsResponse
2512
2033
  * @throws OciError when an error occurs
2513
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/GetScheduledActivity.ts.html |here} to see how to use GetScheduledActivity API.
2034
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2514
2035
  */
2515
- getScheduledActivity(getScheduledActivityRequest) {
2036
+ listWorkRequestLogs(listWorkRequestLogsRequest) {
2516
2037
  return __awaiter(this, void 0, void 0, function* () {
2517
2038
  if (this.logger)
2518
- this.logger.debug("Calling operation ScheduledActivityClient#getScheduledActivity.");
2519
- const operationName = "getScheduledActivity";
2039
+ this.logger.debug("Calling operation FusionApplicationsClient#listWorkRequestLogs.");
2040
+ const operationName = "listWorkRequestLogs";
2520
2041
  const apiReferenceLink = "";
2521
2042
  const pathParams = {
2522
- "{fusionEnvironmentId}": getScheduledActivityRequest.fusionEnvironmentId,
2523
- "{scheduledActivityId}": getScheduledActivityRequest.scheduledActivityId
2043
+ "{workRequestId}": listWorkRequestLogsRequest.workRequestId
2044
+ };
2045
+ const queryParams = {
2046
+ "page": listWorkRequestLogsRequest.page,
2047
+ "limit": listWorkRequestLogsRequest.limit,
2048
+ "sortBy": listWorkRequestLogsRequest.sortBy,
2049
+ "sortOrder": listWorkRequestLogsRequest.sortOrder
2524
2050
  };
2525
- const queryParams = {};
2526
2051
  let headerParams = {
2527
2052
  "Content-Type": common.Constants.APPLICATION_JSON,
2528
- "opc-request-id": getScheduledActivityRequest.opcRequestId
2053
+ "opc-request-id": listWorkRequestLogsRequest.opcRequestId
2529
2054
  };
2530
2055
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2531
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getScheduledActivityRequest.retryConfiguration, specRetryConfiguration);
2056
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
2532
2057
  if (this.logger)
2533
2058
  retrier.logger = this.logger;
2534
2059
  const request = yield oci_common_1.composeRequest({
2535
2060
  baseEndpoint: this._endpoint,
2536
2061
  defaultHeaders: this._defaultHeaders,
2537
- path: "/fusionEnvironments/{fusionEnvironmentId}/scheduledActivities/{scheduledActivityId}",
2062
+ path: "/workRequests/{workRequestId}/logs",
2538
2063
  method: "GET",
2539
2064
  pathParams: pathParams,
2540
2065
  headerParams: headerParams,
@@ -2545,13 +2070,13 @@ class ScheduledActivityClient {
2545
2070
  const sdkResponse = oci_common_1.composeResponse({
2546
2071
  responseObject: {},
2547
2072
  body: yield response.json(),
2548
- bodyKey: "scheduledActivity",
2549
- bodyModel: model.ScheduledActivity,
2550
- type: "model.ScheduledActivity",
2073
+ bodyKey: "workRequestLogEntryCollection",
2074
+ bodyModel: model.WorkRequestLogEntryCollection,
2075
+ type: "model.WorkRequestLogEntryCollection",
2551
2076
  responseHeaders: [
2552
2077
  {
2553
- value: response.headers.get("etag"),
2554
- key: "etag",
2078
+ value: response.headers.get("opc-next-page"),
2079
+ key: "opcNextPage",
2555
2080
  dataType: "string"
2556
2081
  },
2557
2082
  {
@@ -2569,46 +2094,42 @@ class ScheduledActivityClient {
2569
2094
  });
2570
2095
  }
2571
2096
  /**
2572
- * Returns a list of ScheduledActivities.
2097
+ * Lists the work requests in a compartment.
2573
2098
  *
2574
2099
  * This operation does not retry by default if the user has not defined a retry configuration.
2575
- * @param ListScheduledActivitiesRequest
2576
- * @return ListScheduledActivitiesResponse
2100
+ * @param ListWorkRequestsRequest
2101
+ * @return ListWorkRequestsResponse
2577
2102
  * @throws OciError when an error occurs
2578
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ListScheduledActivities.ts.html |here} to see how to use ListScheduledActivities API.
2103
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2579
2104
  */
2580
- listScheduledActivities(listScheduledActivitiesRequest) {
2105
+ listWorkRequests(listWorkRequestsRequest) {
2581
2106
  return __awaiter(this, void 0, void 0, function* () {
2582
2107
  if (this.logger)
2583
- this.logger.debug("Calling operation ScheduledActivityClient#listScheduledActivities.");
2584
- const operationName = "listScheduledActivities";
2108
+ this.logger.debug("Calling operation FusionApplicationsClient#listWorkRequests.");
2109
+ const operationName = "listWorkRequests";
2585
2110
  const apiReferenceLink = "";
2586
- const pathParams = {
2587
- "{fusionEnvironmentId}": listScheduledActivitiesRequest.fusionEnvironmentId
2588
- };
2111
+ const pathParams = {};
2589
2112
  const queryParams = {
2590
- "displayName": listScheduledActivitiesRequest.displayName,
2591
- "timeScheduledStartGreaterThanOrEqualTo": listScheduledActivitiesRequest.timeScheduledStartGreaterThanOrEqualTo,
2592
- "timeExpectedFinishLessThanOrEqualTo": listScheduledActivitiesRequest.timeExpectedFinishLessThanOrEqualTo,
2593
- "runCycle": listScheduledActivitiesRequest.runCycle,
2594
- "lifecycleState": listScheduledActivitiesRequest.lifecycleState,
2595
- "limit": listScheduledActivitiesRequest.limit,
2596
- "page": listScheduledActivitiesRequest.page,
2597
- "sortOrder": listScheduledActivitiesRequest.sortOrder,
2598
- "sortBy": listScheduledActivitiesRequest.sortBy
2113
+ "compartmentId": listWorkRequestsRequest.compartmentId,
2114
+ "status": listWorkRequestsRequest.status,
2115
+ "sortBy": listWorkRequestsRequest.sortBy,
2116
+ "sortOrder": listWorkRequestsRequest.sortOrder,
2117
+ "resourceId": listWorkRequestsRequest.resourceId,
2118
+ "page": listWorkRequestsRequest.page,
2119
+ "limit": listWorkRequestsRequest.limit
2599
2120
  };
2600
2121
  let headerParams = {
2601
2122
  "Content-Type": common.Constants.APPLICATION_JSON,
2602
- "opc-request-id": listScheduledActivitiesRequest.opcRequestId
2123
+ "opc-request-id": listWorkRequestsRequest.opcRequestId
2603
2124
  };
2604
2125
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2605
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listScheduledActivitiesRequest.retryConfiguration, specRetryConfiguration);
2126
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
2606
2127
  if (this.logger)
2607
2128
  retrier.logger = this.logger;
2608
2129
  const request = yield oci_common_1.composeRequest({
2609
2130
  baseEndpoint: this._endpoint,
2610
2131
  defaultHeaders: this._defaultHeaders,
2611
- path: "/fusionEnvironments/{fusionEnvironmentId}/scheduledActivities",
2132
+ path: "/workRequests",
2612
2133
  method: "GET",
2613
2134
  pathParams: pathParams,
2614
2135
  headerParams: headerParams,
@@ -2619,9 +2140,9 @@ class ScheduledActivityClient {
2619
2140
  const sdkResponse = oci_common_1.composeResponse({
2620
2141
  responseObject: {},
2621
2142
  body: yield response.json(),
2622
- bodyKey: "scheduledActivityCollection",
2623
- bodyModel: model.ScheduledActivityCollection,
2624
- type: "model.ScheduledActivityCollection",
2143
+ bodyKey: "workRequestSummaryCollection",
2144
+ bodyModel: model.WorkRequestSummaryCollection,
2145
+ type: "model.WorkRequestSummaryCollection",
2625
2146
  responseHeaders: [
2626
2147
  {
2627
2148
  value: response.headers.get("opc-request-id"),
@@ -2642,144 +2163,102 @@ class ScheduledActivityClient {
2642
2163
  }
2643
2164
  });
2644
2165
  }
2645
- }
2646
- exports.ScheduledActivityClient = ScheduledActivityClient;
2647
- ScheduledActivityClient.serviceEndpointTemplate = "https://fusionapps.{region}.oci.{secondLevelDomain}";
2648
- ScheduledActivityClient.endpointServiceName = "";
2649
- var ServiceAttachmentApiKeys;
2650
- (function (ServiceAttachmentApiKeys) {
2651
- })(ServiceAttachmentApiKeys = exports.ServiceAttachmentApiKeys || (exports.ServiceAttachmentApiKeys = {}));
2652
- /**
2653
- * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
2654
- */
2655
- class ServiceAttachmentClient {
2656
- constructor(params, clientConfiguration) {
2657
- this["_endpoint"] = "";
2658
- this["_defaultHeaders"] = {};
2659
- this._circuitBreaker = null;
2660
- this._httpOptions = undefined;
2661
- this.targetService = "ServiceAttachment";
2662
- const requestSigner = params.authenticationDetailsProvider
2663
- ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
2664
- : null;
2665
- if (clientConfiguration) {
2666
- this._clientConfiguration = clientConfiguration;
2667
- this._circuitBreaker = clientConfiguration.circuitBreaker
2668
- ? clientConfiguration.circuitBreaker.circuit
2669
- : null;
2670
- this._httpOptions = clientConfiguration.httpOptions
2671
- ? clientConfiguration.httpOptions
2672
- : undefined;
2673
- }
2674
- // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
2675
- const specCircuitBreakerEnabled = true;
2676
- if (!this._circuitBreaker &&
2677
- common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
2678
- (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
2679
- this._circuitBreaker = new common.CircuitBreaker().circuit;
2680
- }
2681
- this._httpClient =
2682
- params.httpClient ||
2683
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
2684
- if (params.authenticationDetailsProvider &&
2685
- common.isRegionProvider(params.authenticationDetailsProvider)) {
2686
- const provider = params.authenticationDetailsProvider;
2687
- if (provider.getRegion()) {
2688
- this.region = provider.getRegion();
2689
- }
2690
- }
2691
- }
2692
- /**
2693
- * Get the endpoint that is being used to call (ex, https://www.example.com).
2694
- */
2695
- get endpoint() {
2696
- return this._endpoint;
2697
- }
2698
- /**
2699
- * Sets the endpoint to call (ex, https://www.example.com).
2700
- * @param endpoint The endpoint of the service.
2701
- */
2702
- set endpoint(endpoint) {
2703
- this._endpoint = endpoint;
2704
- this._endpoint = this._endpoint + "/20211201";
2705
- if (this.logger)
2706
- this.logger.info(`ServiceAttachmentClient endpoint set to ${this._endpoint}`);
2707
- }
2708
- get logger() {
2709
- return common.LOG.logger;
2710
- }
2711
- /**
2712
- * Sets the region to call (ex, Region.US_PHOENIX_1).
2713
- * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
2714
- * @param region The region of the service.
2715
- */
2716
- set region(region) {
2717
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ServiceAttachmentClient.serviceEndpointTemplate, region, ServiceAttachmentClient.endpointServiceName);
2718
- }
2719
- /**
2720
- * Sets the regionId to call (ex, 'us-phoenix-1').
2721
- *
2722
- * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
2723
- * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
2724
- * and then call {@link #endpoint(String) endpoint}.
2725
- * @param regionId The public region ID.
2726
- */
2727
- set regionId(regionId) {
2728
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ServiceAttachmentClient.serviceEndpointTemplate, regionId, ServiceAttachmentClient.endpointServiceName);
2729
- }
2730
2166
  /**
2731
- * Creates a new ServiceAttachmentWaiter for resources for this service.
2732
- *
2733
- * @param config The waiter configuration for termination and delay strategy
2734
- * @return The service waiters.
2735
- */
2736
- createWaiters(config) {
2737
- this._waiters = new serviceattachment_waiter_1.ServiceAttachmentWaiter(this, config);
2738
- return this._waiters;
2739
- }
2740
- /**
2741
- * Gets the waiters available for resources for this service.
2742
- *
2743
- * @return The service waiters.
2167
+ * Resets the password of the Fusion Environment Administrator.
2168
+ * This operation does not retry by default if the user has not defined a retry configuration.
2169
+ * @param ResetFusionEnvironmentPasswordRequest
2170
+ * @return ResetFusionEnvironmentPasswordResponse
2171
+ * @throws OciError when an error occurs
2172
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/ResetFusionEnvironmentPassword.ts.html |here} to see how to use ResetFusionEnvironmentPassword API.
2744
2173
  */
2745
- getWaiters() {
2746
- if (this._waiters) {
2747
- return this._waiters;
2748
- }
2749
- throw Error("Waiters do not exist. Please create waiters.");
2174
+ resetFusionEnvironmentPassword(resetFusionEnvironmentPasswordRequest) {
2175
+ return __awaiter(this, void 0, void 0, function* () {
2176
+ if (this.logger)
2177
+ this.logger.debug("Calling operation FusionApplicationsClient#resetFusionEnvironmentPassword.");
2178
+ const operationName = "resetFusionEnvironmentPassword";
2179
+ const apiReferenceLink = "";
2180
+ const pathParams = {
2181
+ "{fusionEnvironmentId}": resetFusionEnvironmentPasswordRequest.fusionEnvironmentId,
2182
+ "{adminUsername}": resetFusionEnvironmentPasswordRequest.adminUsername
2183
+ };
2184
+ const queryParams = {};
2185
+ let headerParams = {
2186
+ "Content-Type": common.Constants.APPLICATION_JSON,
2187
+ "opc-retry-token": resetFusionEnvironmentPasswordRequest.opcRetryToken,
2188
+ "opc-request-id": resetFusionEnvironmentPasswordRequest.opcRequestId,
2189
+ "if-match": resetFusionEnvironmentPasswordRequest.ifMatch
2190
+ };
2191
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2192
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resetFusionEnvironmentPasswordRequest.retryConfiguration, specRetryConfiguration);
2193
+ if (this.logger)
2194
+ retrier.logger = this.logger;
2195
+ const request = yield oci_common_1.composeRequest({
2196
+ baseEndpoint: this._endpoint,
2197
+ defaultHeaders: this._defaultHeaders,
2198
+ path: "/fusionEnvironments/{fusionEnvironmentId}/adminUsers/{adminUsername}/actions/resetPassword",
2199
+ method: "POST",
2200
+ bodyContent: common.ObjectSerializer.serialize(resetFusionEnvironmentPasswordRequest.resetFusionEnvironmentPasswordDetails, "ResetFusionEnvironmentPasswordDetails", model.ResetFusionEnvironmentPasswordDetails.getJsonObj),
2201
+ pathParams: pathParams,
2202
+ headerParams: headerParams,
2203
+ queryParams: queryParams
2204
+ });
2205
+ try {
2206
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2207
+ const sdkResponse = oci_common_1.composeResponse({
2208
+ responseObject: {},
2209
+ responseHeaders: [
2210
+ {
2211
+ value: response.headers.get("opc-request-id"),
2212
+ key: "opcRequestId",
2213
+ dataType: "string"
2214
+ },
2215
+ {
2216
+ value: response.headers.get("opc-work-request-id"),
2217
+ key: "opcWorkRequestId",
2218
+ dataType: "string"
2219
+ }
2220
+ ]
2221
+ });
2222
+ return sdkResponse;
2223
+ }
2224
+ catch (err) {
2225
+ throw err;
2226
+ }
2227
+ });
2750
2228
  }
2751
2229
  /**
2752
- * Gets a Service Attachment by identifier
2230
+ * Updates the FusionEnvironment
2753
2231
  * This operation does not retry by default if the user has not defined a retry configuration.
2754
- * @param GetServiceAttachmentRequest
2755
- * @return GetServiceAttachmentResponse
2232
+ * @param UpdateFusionEnvironmentRequest
2233
+ * @return UpdateFusionEnvironmentResponse
2756
2234
  * @throws OciError when an error occurs
2757
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/GetServiceAttachment.ts.html |here} to see how to use GetServiceAttachment API.
2235
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/UpdateFusionEnvironment.ts.html |here} to see how to use UpdateFusionEnvironment API.
2758
2236
  */
2759
- getServiceAttachment(getServiceAttachmentRequest) {
2237
+ updateFusionEnvironment(updateFusionEnvironmentRequest) {
2760
2238
  return __awaiter(this, void 0, void 0, function* () {
2761
2239
  if (this.logger)
2762
- this.logger.debug("Calling operation ServiceAttachmentClient#getServiceAttachment.");
2763
- const operationName = "getServiceAttachment";
2240
+ this.logger.debug("Calling operation FusionApplicationsClient#updateFusionEnvironment.");
2241
+ const operationName = "updateFusionEnvironment";
2764
2242
  const apiReferenceLink = "";
2765
2243
  const pathParams = {
2766
- "{fusionEnvironmentId}": getServiceAttachmentRequest.fusionEnvironmentId,
2767
- "{serviceAttachmentId}": getServiceAttachmentRequest.serviceAttachmentId
2244
+ "{fusionEnvironmentId}": updateFusionEnvironmentRequest.fusionEnvironmentId
2768
2245
  };
2769
2246
  const queryParams = {};
2770
2247
  let headerParams = {
2771
2248
  "Content-Type": common.Constants.APPLICATION_JSON,
2772
- "opc-request-id": getServiceAttachmentRequest.opcRequestId
2249
+ "if-match": updateFusionEnvironmentRequest.ifMatch,
2250
+ "opc-request-id": updateFusionEnvironmentRequest.opcRequestId
2773
2251
  };
2774
2252
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2775
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getServiceAttachmentRequest.retryConfiguration, specRetryConfiguration);
2253
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFusionEnvironmentRequest.retryConfiguration, specRetryConfiguration);
2776
2254
  if (this.logger)
2777
2255
  retrier.logger = this.logger;
2778
2256
  const request = yield oci_common_1.composeRequest({
2779
2257
  baseEndpoint: this._endpoint,
2780
2258
  defaultHeaders: this._defaultHeaders,
2781
- path: "/fusionEnvironments/{fusionEnvironmentId}/serviceAttachments/{serviceAttachmentId}",
2782
- method: "GET",
2259
+ path: "/fusionEnvironments/{fusionEnvironmentId}",
2260
+ method: "PUT",
2261
+ bodyContent: common.ObjectSerializer.serialize(updateFusionEnvironmentRequest.updateFusionEnvironmentDetails, "UpdateFusionEnvironmentDetails", model.UpdateFusionEnvironmentDetails.getJsonObj),
2783
2262
  pathParams: pathParams,
2784
2263
  headerParams: headerParams,
2785
2264
  queryParams: queryParams
@@ -2788,14 +2267,10 @@ class ServiceAttachmentClient {
2788
2267
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2789
2268
  const sdkResponse = oci_common_1.composeResponse({
2790
2269
  responseObject: {},
2791
- body: yield response.json(),
2792
- bodyKey: "serviceAttachment",
2793
- bodyModel: model.ServiceAttachment,
2794
- type: "model.ServiceAttachment",
2795
2270
  responseHeaders: [
2796
2271
  {
2797
- value: response.headers.get("etag"),
2798
- key: "etag",
2272
+ value: response.headers.get("opc-work-request-id"),
2273
+ key: "opcWorkRequestId",
2799
2274
  dataType: "string"
2800
2275
  },
2801
2276
  {
@@ -2813,45 +2288,38 @@ class ServiceAttachmentClient {
2813
2288
  });
2814
2289
  }
2815
2290
  /**
2816
- * Returns a list of service attachments.
2817
- *
2291
+ * Updates the FusionEnvironmentFamily
2818
2292
  * This operation does not retry by default if the user has not defined a retry configuration.
2819
- * @param ListServiceAttachmentsRequest
2820
- * @return ListServiceAttachmentsResponse
2293
+ * @param UpdateFusionEnvironmentFamilyRequest
2294
+ * @return UpdateFusionEnvironmentFamilyResponse
2821
2295
  * @throws OciError when an error occurs
2822
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.35.1/fusionapps/ListServiceAttachments.ts.html |here} to see how to use ListServiceAttachments API.
2296
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.38.0/fusionapps/UpdateFusionEnvironmentFamily.ts.html |here} to see how to use UpdateFusionEnvironmentFamily API.
2823
2297
  */
2824
- listServiceAttachments(listServiceAttachmentsRequest) {
2298
+ updateFusionEnvironmentFamily(updateFusionEnvironmentFamilyRequest) {
2825
2299
  return __awaiter(this, void 0, void 0, function* () {
2826
2300
  if (this.logger)
2827
- this.logger.debug("Calling operation ServiceAttachmentClient#listServiceAttachments.");
2828
- const operationName = "listServiceAttachments";
2301
+ this.logger.debug("Calling operation FusionApplicationsClient#updateFusionEnvironmentFamily.");
2302
+ const operationName = "updateFusionEnvironmentFamily";
2829
2303
  const apiReferenceLink = "";
2830
2304
  const pathParams = {
2831
- "{fusionEnvironmentId}": listServiceAttachmentsRequest.fusionEnvironmentId
2832
- };
2833
- const queryParams = {
2834
- "displayName": listServiceAttachmentsRequest.displayName,
2835
- "lifecycleState": listServiceAttachmentsRequest.lifecycleState,
2836
- "serviceInstanceType": listServiceAttachmentsRequest.serviceInstanceType,
2837
- "limit": listServiceAttachmentsRequest.limit,
2838
- "page": listServiceAttachmentsRequest.page,
2839
- "sortOrder": listServiceAttachmentsRequest.sortOrder,
2840
- "sortBy": listServiceAttachmentsRequest.sortBy
2305
+ "{fusionEnvironmentFamilyId}": updateFusionEnvironmentFamilyRequest.fusionEnvironmentFamilyId
2841
2306
  };
2307
+ const queryParams = {};
2842
2308
  let headerParams = {
2843
2309
  "Content-Type": common.Constants.APPLICATION_JSON,
2844
- "opc-request-id": listServiceAttachmentsRequest.opcRequestId
2310
+ "if-match": updateFusionEnvironmentFamilyRequest.ifMatch,
2311
+ "opc-request-id": updateFusionEnvironmentFamilyRequest.opcRequestId
2845
2312
  };
2846
2313
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2847
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listServiceAttachmentsRequest.retryConfiguration, specRetryConfiguration);
2314
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFusionEnvironmentFamilyRequest.retryConfiguration, specRetryConfiguration);
2848
2315
  if (this.logger)
2849
2316
  retrier.logger = this.logger;
2850
2317
  const request = yield oci_common_1.composeRequest({
2851
2318
  baseEndpoint: this._endpoint,
2852
2319
  defaultHeaders: this._defaultHeaders,
2853
- path: "/fusionEnvironments/{fusionEnvironmentId}/serviceAttachments",
2854
- method: "GET",
2320
+ path: "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}",
2321
+ method: "PUT",
2322
+ bodyContent: common.ObjectSerializer.serialize(updateFusionEnvironmentFamilyRequest.updateFusionEnvironmentFamilyDetails, "UpdateFusionEnvironmentFamilyDetails", model.UpdateFusionEnvironmentFamilyDetails.getJsonObj),
2855
2323
  pathParams: pathParams,
2856
2324
  headerParams: headerParams,
2857
2325
  queryParams: queryParams
@@ -2860,19 +2328,15 @@ class ServiceAttachmentClient {
2860
2328
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2861
2329
  const sdkResponse = oci_common_1.composeResponse({
2862
2330
  responseObject: {},
2863
- body: yield response.json(),
2864
- bodyKey: "serviceAttachmentCollection",
2865
- bodyModel: model.ServiceAttachmentCollection,
2866
- type: "model.ServiceAttachmentCollection",
2867
2331
  responseHeaders: [
2868
2332
  {
2869
- value: response.headers.get("opc-request-id"),
2870
- key: "opcRequestId",
2333
+ value: response.headers.get("opc-work-request-id"),
2334
+ key: "opcWorkRequestId",
2871
2335
  dataType: "string"
2872
2336
  },
2873
2337
  {
2874
- value: response.headers.get("opc-next-page"),
2875
- key: "opcNextPage",
2338
+ value: response.headers.get("opc-request-id"),
2339
+ key: "opcRequestId",
2876
2340
  dataType: "string"
2877
2341
  }
2878
2342
  ]
@@ -2885,7 +2349,7 @@ class ServiceAttachmentClient {
2885
2349
  });
2886
2350
  }
2887
2351
  }
2888
- exports.ServiceAttachmentClient = ServiceAttachmentClient;
2889
- ServiceAttachmentClient.serviceEndpointTemplate = "https://fusionapps.{region}.oci.{secondLevelDomain}";
2890
- ServiceAttachmentClient.endpointServiceName = "";
2352
+ exports.FusionApplicationsClient = FusionApplicationsClient;
2353
+ FusionApplicationsClient.serviceEndpointTemplate = "https://fusionapps.{region}.oci.{secondLevelDomain}";
2354
+ FusionApplicationsClient.endpointServiceName = "";
2891
2355
  //# sourceMappingURL=client.js.map