oci-analytics 2.14.0 → 2.15.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 (47) hide show
  1. package/lib/client.d.ts +32 -22
  2. package/lib/client.js +83 -22
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/analytics-instance.d.ts +5 -0
  5. package/lib/model/analytics-instance.js.map +1 -1
  6. package/lib/model/create-analytics-instance-details.d.ts +5 -0
  7. package/lib/model/create-analytics-instance-details.js.map +1 -1
  8. package/lib/model/index.d.ts +2 -0
  9. package/lib/model/index.js +3 -1
  10. package/lib/model/index.js.map +1 -1
  11. package/lib/model/set-kms-key-details.d.ts +28 -0
  12. package/lib/model/set-kms-key-details.js +30 -0
  13. package/lib/model/set-kms-key-details.js.map +1 -0
  14. package/lib/model/work-request-operation-type.d.ts +1 -0
  15. package/lib/model/work-request-operation-type.js +1 -0
  16. package/lib/model/work-request-operation-type.js.map +1 -1
  17. package/lib/request/change-analytics-instance-compartment-request.d.ts +1 -1
  18. package/lib/request/change-analytics-instance-network-endpoint-request.d.ts +1 -1
  19. package/lib/request/create-analytics-instance-request.d.ts +1 -1
  20. package/lib/request/create-private-access-channel-request.d.ts +1 -1
  21. package/lib/request/create-vanity-url-request.d.ts +1 -1
  22. package/lib/request/delete-analytics-instance-request.d.ts +1 -1
  23. package/lib/request/delete-private-access-channel-request.d.ts +1 -1
  24. package/lib/request/delete-vanity-url-request.d.ts +1 -1
  25. package/lib/request/delete-work-request-request.d.ts +1 -1
  26. package/lib/request/get-analytics-instance-request.d.ts +1 -1
  27. package/lib/request/get-private-access-channel-request.d.ts +1 -1
  28. package/lib/request/get-work-request-request.d.ts +1 -1
  29. package/lib/request/index.d.ts +2 -0
  30. package/lib/request/list-analytics-instances-request.d.ts +1 -1
  31. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  32. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  33. package/lib/request/list-work-requests-request.d.ts +1 -1
  34. package/lib/request/scale-analytics-instance-request.d.ts +1 -1
  35. package/lib/request/set-kms-key-request.d.ts +51 -0
  36. package/lib/request/set-kms-key-request.js +15 -0
  37. package/lib/request/set-kms-key-request.js.map +1 -0
  38. package/lib/request/start-analytics-instance-request.d.ts +1 -1
  39. package/lib/request/stop-analytics-instance-request.d.ts +1 -1
  40. package/lib/request/update-analytics-instance-request.d.ts +1 -1
  41. package/lib/request/update-private-access-channel-request.d.ts +1 -1
  42. package/lib/request/update-vanity-url-request.d.ts +1 -1
  43. package/lib/response/index.d.ts +2 -0
  44. package/lib/response/set-kms-key-response.d.ts +26 -0
  45. package/lib/response/set-kms-key-response.js +15 -0
  46. package/lib/response/set-kms-key-response.js.map +1 -0
  47. package/package.json +3 -3
package/lib/client.d.ts CHANGED
@@ -77,7 +77,7 @@ export declare class AnalyticsClient {
77
77
  * @param ChangeAnalyticsInstanceCompartmentRequest
78
78
  * @return ChangeAnalyticsInstanceCompartmentResponse
79
79
  * @throws OciError when an error occurs
80
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ChangeAnalyticsInstanceCompartment.ts.html |here} to see how to use ChangeAnalyticsInstanceCompartment API.
80
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ChangeAnalyticsInstanceCompartment.ts.html |here} to see how to use ChangeAnalyticsInstanceCompartment API.
81
81
  */
82
82
  changeAnalyticsInstanceCompartment(changeAnalyticsInstanceCompartmentRequest: requests.ChangeAnalyticsInstanceCompartmentRequest): Promise<responses.ChangeAnalyticsInstanceCompartmentResponse>;
83
83
  /**
@@ -88,7 +88,7 @@ export declare class AnalyticsClient {
88
88
  * @param ChangeAnalyticsInstanceNetworkEndpointRequest
89
89
  * @return ChangeAnalyticsInstanceNetworkEndpointResponse
90
90
  * @throws OciError when an error occurs
91
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ChangeAnalyticsInstanceNetworkEndpoint.ts.html |here} to see how to use ChangeAnalyticsInstanceNetworkEndpoint API.
91
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ChangeAnalyticsInstanceNetworkEndpoint.ts.html |here} to see how to use ChangeAnalyticsInstanceNetworkEndpoint API.
92
92
  */
93
93
  changeAnalyticsInstanceNetworkEndpoint(changeAnalyticsInstanceNetworkEndpointRequest: requests.ChangeAnalyticsInstanceNetworkEndpointRequest): Promise<responses.ChangeAnalyticsInstanceNetworkEndpointResponse>;
94
94
  /**
@@ -99,7 +99,7 @@ export declare class AnalyticsClient {
99
99
  * @param CreateAnalyticsInstanceRequest
100
100
  * @return CreateAnalyticsInstanceResponse
101
101
  * @throws OciError when an error occurs
102
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/CreateAnalyticsInstance.ts.html |here} to see how to use CreateAnalyticsInstance API.
102
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/CreateAnalyticsInstance.ts.html |here} to see how to use CreateAnalyticsInstance API.
103
103
  */
104
104
  createAnalyticsInstance(createAnalyticsInstanceRequest: requests.CreateAnalyticsInstanceRequest): Promise<responses.CreateAnalyticsInstanceResponse>;
105
105
  /**
@@ -110,7 +110,7 @@ export declare class AnalyticsClient {
110
110
  * @param CreatePrivateAccessChannelRequest
111
111
  * @return CreatePrivateAccessChannelResponse
112
112
  * @throws OciError when an error occurs
113
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/CreatePrivateAccessChannel.ts.html |here} to see how to use CreatePrivateAccessChannel API.
113
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/CreatePrivateAccessChannel.ts.html |here} to see how to use CreatePrivateAccessChannel API.
114
114
  */
115
115
  createPrivateAccessChannel(createPrivateAccessChannelRequest: requests.CreatePrivateAccessChannelRequest): Promise<responses.CreatePrivateAccessChannelResponse>;
116
116
  /**
@@ -121,7 +121,7 @@ export declare class AnalyticsClient {
121
121
  * @param CreateVanityUrlRequest
122
122
  * @return CreateVanityUrlResponse
123
123
  * @throws OciError when an error occurs
124
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/CreateVanityUrl.ts.html |here} to see how to use CreateVanityUrl API.
124
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/CreateVanityUrl.ts.html |here} to see how to use CreateVanityUrl API.
125
125
  */
126
126
  createVanityUrl(createVanityUrlRequest: requests.CreateVanityUrlRequest): Promise<responses.CreateVanityUrlResponse>;
127
127
  /**
@@ -132,7 +132,7 @@ export declare class AnalyticsClient {
132
132
  * @param DeleteAnalyticsInstanceRequest
133
133
  * @return DeleteAnalyticsInstanceResponse
134
134
  * @throws OciError when an error occurs
135
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/DeleteAnalyticsInstance.ts.html |here} to see how to use DeleteAnalyticsInstance API.
135
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/DeleteAnalyticsInstance.ts.html |here} to see how to use DeleteAnalyticsInstance API.
136
136
  */
137
137
  deleteAnalyticsInstance(deleteAnalyticsInstanceRequest: requests.DeleteAnalyticsInstanceRequest): Promise<responses.DeleteAnalyticsInstanceResponse>;
138
138
  /**
@@ -142,7 +142,7 @@ export declare class AnalyticsClient {
142
142
  * @param DeletePrivateAccessChannelRequest
143
143
  * @return DeletePrivateAccessChannelResponse
144
144
  * @throws OciError when an error occurs
145
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/DeletePrivateAccessChannel.ts.html |here} to see how to use DeletePrivateAccessChannel API.
145
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/DeletePrivateAccessChannel.ts.html |here} to see how to use DeletePrivateAccessChannel API.
146
146
  */
147
147
  deletePrivateAccessChannel(deletePrivateAccessChannelRequest: requests.DeletePrivateAccessChannelRequest): Promise<responses.DeletePrivateAccessChannelResponse>;
148
148
  /**
@@ -152,7 +152,7 @@ export declare class AnalyticsClient {
152
152
  * @param DeleteVanityUrlRequest
153
153
  * @return DeleteVanityUrlResponse
154
154
  * @throws OciError when an error occurs
155
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/DeleteVanityUrl.ts.html |here} to see how to use DeleteVanityUrl API.
155
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/DeleteVanityUrl.ts.html |here} to see how to use DeleteVanityUrl API.
156
156
  */
157
157
  deleteVanityUrl(deleteVanityUrlRequest: requests.DeleteVanityUrlRequest): Promise<responses.DeleteVanityUrlResponse>;
158
158
  /**
@@ -162,7 +162,7 @@ export declare class AnalyticsClient {
162
162
  * @param DeleteWorkRequestRequest
163
163
  * @return DeleteWorkRequestResponse
164
164
  * @throws OciError when an error occurs
165
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
165
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
166
166
  */
167
167
  deleteWorkRequest(deleteWorkRequestRequest: requests.DeleteWorkRequestRequest): Promise<responses.DeleteWorkRequestResponse>;
168
168
  /**
@@ -172,7 +172,7 @@ export declare class AnalyticsClient {
172
172
  * @param GetAnalyticsInstanceRequest
173
173
  * @return GetAnalyticsInstanceResponse
174
174
  * @throws OciError when an error occurs
175
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/GetAnalyticsInstance.ts.html |here} to see how to use GetAnalyticsInstance API.
175
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/GetAnalyticsInstance.ts.html |here} to see how to use GetAnalyticsInstance API.
176
176
  */
177
177
  getAnalyticsInstance(getAnalyticsInstanceRequest: requests.GetAnalyticsInstanceRequest): Promise<responses.GetAnalyticsInstanceResponse>;
178
178
  /**
@@ -182,7 +182,7 @@ export declare class AnalyticsClient {
182
182
  * @param GetPrivateAccessChannelRequest
183
183
  * @return GetPrivateAccessChannelResponse
184
184
  * @throws OciError when an error occurs
185
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/GetPrivateAccessChannel.ts.html |here} to see how to use GetPrivateAccessChannel API.
185
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/GetPrivateAccessChannel.ts.html |here} to see how to use GetPrivateAccessChannel API.
186
186
  */
187
187
  getPrivateAccessChannel(getPrivateAccessChannelRequest: requests.GetPrivateAccessChannelRequest): Promise<responses.GetPrivateAccessChannelResponse>;
188
188
  /**
@@ -192,7 +192,7 @@ export declare class AnalyticsClient {
192
192
  * @param GetWorkRequestRequest
193
193
  * @return GetWorkRequestResponse
194
194
  * @throws OciError when an error occurs
195
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
195
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
196
196
  */
197
197
  getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;
198
198
  /**
@@ -202,7 +202,7 @@ export declare class AnalyticsClient {
202
202
  * @param ListAnalyticsInstancesRequest
203
203
  * @return ListAnalyticsInstancesResponse
204
204
  * @throws OciError when an error occurs
205
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ListAnalyticsInstances.ts.html |here} to see how to use ListAnalyticsInstances API.
205
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ListAnalyticsInstances.ts.html |here} to see how to use ListAnalyticsInstances API.
206
206
  */
207
207
  listAnalyticsInstances(listAnalyticsInstancesRequest: requests.ListAnalyticsInstancesRequest): Promise<responses.ListAnalyticsInstancesResponse>;
208
208
  /**
@@ -244,7 +244,7 @@ export declare class AnalyticsClient {
244
244
  * @param ListWorkRequestErrorsRequest
245
245
  * @return ListWorkRequestErrorsResponse
246
246
  * @throws OciError when an error occurs
247
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
247
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
248
248
  */
249
249
  listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;
250
250
  /**
@@ -286,7 +286,7 @@ export declare class AnalyticsClient {
286
286
  * @param ListWorkRequestLogsRequest
287
287
  * @return ListWorkRequestLogsResponse
288
288
  * @throws OciError when an error occurs
289
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
289
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
290
290
  */
291
291
  listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;
292
292
  /**
@@ -328,7 +328,7 @@ export declare class AnalyticsClient {
328
328
  * @param ListWorkRequestsRequest
329
329
  * @return ListWorkRequestsResponse
330
330
  * @throws OciError when an error occurs
331
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
331
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
332
332
  */
333
333
  listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;
334
334
  /**
@@ -371,9 +371,19 @@ export declare class AnalyticsClient {
371
371
  * @param ScaleAnalyticsInstanceRequest
372
372
  * @return ScaleAnalyticsInstanceResponse
373
373
  * @throws OciError when an error occurs
374
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ScaleAnalyticsInstance.ts.html |here} to see how to use ScaleAnalyticsInstance API.
374
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ScaleAnalyticsInstance.ts.html |here} to see how to use ScaleAnalyticsInstance API.
375
375
  */
376
376
  scaleAnalyticsInstance(scaleAnalyticsInstanceRequest: requests.ScaleAnalyticsInstanceRequest): Promise<responses.ScaleAnalyticsInstanceResponse>;
377
+ /**
378
+ * Encrypts the customer data of this Analytics instance using either a customer OCI Vault Key or Oracle managed default key.
379
+ *
380
+ * This operation does not retry by default if the user has not defined a retry configuration.
381
+ * @param SetKmsKeyRequest
382
+ * @return SetKmsKeyResponse
383
+ * @throws OciError when an error occurs
384
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/SetKmsKey.ts.html |here} to see how to use SetKmsKey API.
385
+ */
386
+ setKmsKey(setKmsKeyRequest: requests.SetKmsKeyRequest): Promise<responses.SetKmsKeyResponse>;
377
387
  /**
378
388
  * Starts the specified Analytics instance. The operation is long-running
379
389
  * and creates a new WorkRequest.
@@ -382,7 +392,7 @@ export declare class AnalyticsClient {
382
392
  * @param StartAnalyticsInstanceRequest
383
393
  * @return StartAnalyticsInstanceResponse
384
394
  * @throws OciError when an error occurs
385
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/StartAnalyticsInstance.ts.html |here} to see how to use StartAnalyticsInstance API.
395
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/StartAnalyticsInstance.ts.html |here} to see how to use StartAnalyticsInstance API.
386
396
  */
387
397
  startAnalyticsInstance(startAnalyticsInstanceRequest: requests.StartAnalyticsInstanceRequest): Promise<responses.StartAnalyticsInstanceResponse>;
388
398
  /**
@@ -393,7 +403,7 @@ export declare class AnalyticsClient {
393
403
  * @param StopAnalyticsInstanceRequest
394
404
  * @return StopAnalyticsInstanceResponse
395
405
  * @throws OciError when an error occurs
396
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/StopAnalyticsInstance.ts.html |here} to see how to use StopAnalyticsInstance API.
406
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/StopAnalyticsInstance.ts.html |here} to see how to use StopAnalyticsInstance API.
397
407
  */
398
408
  stopAnalyticsInstance(stopAnalyticsInstanceRequest: requests.StopAnalyticsInstanceRequest): Promise<responses.StopAnalyticsInstanceResponse>;
399
409
  /**
@@ -404,7 +414,7 @@ export declare class AnalyticsClient {
404
414
  * @param UpdateAnalyticsInstanceRequest
405
415
  * @return UpdateAnalyticsInstanceResponse
406
416
  * @throws OciError when an error occurs
407
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/UpdateAnalyticsInstance.ts.html |here} to see how to use UpdateAnalyticsInstance API.
417
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/UpdateAnalyticsInstance.ts.html |here} to see how to use UpdateAnalyticsInstance API.
408
418
  */
409
419
  updateAnalyticsInstance(updateAnalyticsInstanceRequest: requests.UpdateAnalyticsInstanceRequest): Promise<responses.UpdateAnalyticsInstanceResponse>;
410
420
  /**
@@ -414,7 +424,7 @@ export declare class AnalyticsClient {
414
424
  * @param UpdatePrivateAccessChannelRequest
415
425
  * @return UpdatePrivateAccessChannelResponse
416
426
  * @throws OciError when an error occurs
417
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/UpdatePrivateAccessChannel.ts.html |here} to see how to use UpdatePrivateAccessChannel API.
427
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/UpdatePrivateAccessChannel.ts.html |here} to see how to use UpdatePrivateAccessChannel API.
418
428
  */
419
429
  updatePrivateAccessChannel(updatePrivateAccessChannelRequest: requests.UpdatePrivateAccessChannelRequest): Promise<responses.UpdatePrivateAccessChannelResponse>;
420
430
  /**
@@ -424,7 +434,7 @@ export declare class AnalyticsClient {
424
434
  * @param UpdateVanityUrlRequest
425
435
  * @return UpdateVanityUrlResponse
426
436
  * @throws OciError when an error occurs
427
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/UpdateVanityUrl.ts.html |here} to see how to use UpdateVanityUrl API.
437
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/UpdateVanityUrl.ts.html |here} to see how to use UpdateVanityUrl API.
428
438
  */
429
439
  updateVanityUrl(updateVanityUrlRequest: requests.UpdateVanityUrlRequest): Promise<responses.UpdateVanityUrlResponse>;
430
440
  }
package/lib/client.js CHANGED
@@ -154,7 +154,7 @@ class AnalyticsClient {
154
154
  * @param ChangeAnalyticsInstanceCompartmentRequest
155
155
  * @return ChangeAnalyticsInstanceCompartmentResponse
156
156
  * @throws OciError when an error occurs
157
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ChangeAnalyticsInstanceCompartment.ts.html |here} to see how to use ChangeAnalyticsInstanceCompartment API.
157
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ChangeAnalyticsInstanceCompartment.ts.html |here} to see how to use ChangeAnalyticsInstanceCompartment API.
158
158
  */
159
159
  changeAnalyticsInstanceCompartment(changeAnalyticsInstanceCompartmentRequest) {
160
160
  return __awaiter(this, void 0, void 0, function* () {
@@ -216,7 +216,7 @@ class AnalyticsClient {
216
216
  * @param ChangeAnalyticsInstanceNetworkEndpointRequest
217
217
  * @return ChangeAnalyticsInstanceNetworkEndpointResponse
218
218
  * @throws OciError when an error occurs
219
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ChangeAnalyticsInstanceNetworkEndpoint.ts.html |here} to see how to use ChangeAnalyticsInstanceNetworkEndpoint API.
219
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ChangeAnalyticsInstanceNetworkEndpoint.ts.html |here} to see how to use ChangeAnalyticsInstanceNetworkEndpoint API.
220
220
  */
221
221
  changeAnalyticsInstanceNetworkEndpoint(changeAnalyticsInstanceNetworkEndpointRequest) {
222
222
  return __awaiter(this, void 0, void 0, function* () {
@@ -278,7 +278,7 @@ class AnalyticsClient {
278
278
  * @param CreateAnalyticsInstanceRequest
279
279
  * @return CreateAnalyticsInstanceResponse
280
280
  * @throws OciError when an error occurs
281
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/CreateAnalyticsInstance.ts.html |here} to see how to use CreateAnalyticsInstance API.
281
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/CreateAnalyticsInstance.ts.html |here} to see how to use CreateAnalyticsInstance API.
282
282
  */
283
283
  createAnalyticsInstance(createAnalyticsInstanceRequest) {
284
284
  return __awaiter(this, void 0, void 0, function* () {
@@ -351,7 +351,7 @@ class AnalyticsClient {
351
351
  * @param CreatePrivateAccessChannelRequest
352
352
  * @return CreatePrivateAccessChannelResponse
353
353
  * @throws OciError when an error occurs
354
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/CreatePrivateAccessChannel.ts.html |here} to see how to use CreatePrivateAccessChannel API.
354
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/CreatePrivateAccessChannel.ts.html |here} to see how to use CreatePrivateAccessChannel API.
355
355
  */
356
356
  createPrivateAccessChannel(createPrivateAccessChannelRequest) {
357
357
  return __awaiter(this, void 0, void 0, function* () {
@@ -412,7 +412,7 @@ class AnalyticsClient {
412
412
  * @param CreateVanityUrlRequest
413
413
  * @return CreateVanityUrlResponse
414
414
  * @throws OciError when an error occurs
415
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/CreateVanityUrl.ts.html |here} to see how to use CreateVanityUrl API.
415
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/CreateVanityUrl.ts.html |here} to see how to use CreateVanityUrl API.
416
416
  */
417
417
  createVanityUrl(createVanityUrlRequest) {
418
418
  return __awaiter(this, void 0, void 0, function* () {
@@ -473,7 +473,7 @@ class AnalyticsClient {
473
473
  * @param DeleteAnalyticsInstanceRequest
474
474
  * @return DeleteAnalyticsInstanceResponse
475
475
  * @throws OciError when an error occurs
476
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/DeleteAnalyticsInstance.ts.html |here} to see how to use DeleteAnalyticsInstance API.
476
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/DeleteAnalyticsInstance.ts.html |here} to see how to use DeleteAnalyticsInstance API.
477
477
  */
478
478
  deleteAnalyticsInstance(deleteAnalyticsInstanceRequest) {
479
479
  return __awaiter(this, void 0, void 0, function* () {
@@ -533,7 +533,7 @@ class AnalyticsClient {
533
533
  * @param DeletePrivateAccessChannelRequest
534
534
  * @return DeletePrivateAccessChannelResponse
535
535
  * @throws OciError when an error occurs
536
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/DeletePrivateAccessChannel.ts.html |here} to see how to use DeletePrivateAccessChannel API.
536
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/DeletePrivateAccessChannel.ts.html |here} to see how to use DeletePrivateAccessChannel API.
537
537
  */
538
538
  deletePrivateAccessChannel(deletePrivateAccessChannelRequest) {
539
539
  return __awaiter(this, void 0, void 0, function* () {
@@ -594,7 +594,7 @@ class AnalyticsClient {
594
594
  * @param DeleteVanityUrlRequest
595
595
  * @return DeleteVanityUrlResponse
596
596
  * @throws OciError when an error occurs
597
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/DeleteVanityUrl.ts.html |here} to see how to use DeleteVanityUrl API.
597
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/DeleteVanityUrl.ts.html |here} to see how to use DeleteVanityUrl API.
598
598
  */
599
599
  deleteVanityUrl(deleteVanityUrlRequest) {
600
600
  return __awaiter(this, void 0, void 0, function* () {
@@ -655,7 +655,7 @@ class AnalyticsClient {
655
655
  * @param DeleteWorkRequestRequest
656
656
  * @return DeleteWorkRequestResponse
657
657
  * @throws OciError when an error occurs
658
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
658
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
659
659
  */
660
660
  deleteWorkRequest(deleteWorkRequestRequest) {
661
661
  return __awaiter(this, void 0, void 0, function* () {
@@ -709,7 +709,7 @@ class AnalyticsClient {
709
709
  * @param GetAnalyticsInstanceRequest
710
710
  * @return GetAnalyticsInstanceResponse
711
711
  * @throws OciError when an error occurs
712
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/GetAnalyticsInstance.ts.html |here} to see how to use GetAnalyticsInstance API.
712
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/GetAnalyticsInstance.ts.html |here} to see how to use GetAnalyticsInstance API.
713
713
  */
714
714
  getAnalyticsInstance(getAnalyticsInstanceRequest) {
715
715
  return __awaiter(this, void 0, void 0, function* () {
@@ -771,7 +771,7 @@ class AnalyticsClient {
771
771
  * @param GetPrivateAccessChannelRequest
772
772
  * @return GetPrivateAccessChannelResponse
773
773
  * @throws OciError when an error occurs
774
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/GetPrivateAccessChannel.ts.html |here} to see how to use GetPrivateAccessChannel API.
774
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/GetPrivateAccessChannel.ts.html |here} to see how to use GetPrivateAccessChannel API.
775
775
  */
776
776
  getPrivateAccessChannel(getPrivateAccessChannelRequest) {
777
777
  return __awaiter(this, void 0, void 0, function* () {
@@ -834,7 +834,7 @@ class AnalyticsClient {
834
834
  * @param GetWorkRequestRequest
835
835
  * @return GetWorkRequestResponse
836
836
  * @throws OciError when an error occurs
837
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
837
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
838
838
  */
839
839
  getWorkRequest(getWorkRequestRequest) {
840
840
  return __awaiter(this, void 0, void 0, function* () {
@@ -901,7 +901,7 @@ class AnalyticsClient {
901
901
  * @param ListAnalyticsInstancesRequest
902
902
  * @return ListAnalyticsInstancesResponse
903
903
  * @throws OciError when an error occurs
904
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ListAnalyticsInstances.ts.html |here} to see how to use ListAnalyticsInstances API.
904
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ListAnalyticsInstances.ts.html |here} to see how to use ListAnalyticsInstances API.
905
905
  */
906
906
  listAnalyticsInstances(listAnalyticsInstancesRequest) {
907
907
  return __awaiter(this, void 0, void 0, function* () {
@@ -1011,7 +1011,7 @@ class AnalyticsClient {
1011
1011
  * @param ListWorkRequestErrorsRequest
1012
1012
  * @return ListWorkRequestErrorsResponse
1013
1013
  * @throws OciError when an error occurs
1014
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1014
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1015
1015
  */
1016
1016
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1017
1017
  return __awaiter(this, void 0, void 0, function* () {
@@ -1116,7 +1116,7 @@ class AnalyticsClient {
1116
1116
  * @param ListWorkRequestLogsRequest
1117
1117
  * @return ListWorkRequestLogsResponse
1118
1118
  * @throws OciError when an error occurs
1119
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1119
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1120
1120
  */
1121
1121
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1122
1122
  return __awaiter(this, void 0, void 0, function* () {
@@ -1221,7 +1221,7 @@ class AnalyticsClient {
1221
1221
  * @param ListWorkRequestsRequest
1222
1222
  * @return ListWorkRequestsResponse
1223
1223
  * @throws OciError when an error occurs
1224
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1224
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1225
1225
  */
1226
1226
  listWorkRequests(listWorkRequestsRequest) {
1227
1227
  return __awaiter(this, void 0, void 0, function* () {
@@ -1331,7 +1331,7 @@ class AnalyticsClient {
1331
1331
  * @param ScaleAnalyticsInstanceRequest
1332
1332
  * @return ScaleAnalyticsInstanceResponse
1333
1333
  * @throws OciError when an error occurs
1334
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/ScaleAnalyticsInstance.ts.html |here} to see how to use ScaleAnalyticsInstance API.
1334
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/ScaleAnalyticsInstance.ts.html |here} to see how to use ScaleAnalyticsInstance API.
1335
1335
  */
1336
1336
  scaleAnalyticsInstance(scaleAnalyticsInstanceRequest) {
1337
1337
  return __awaiter(this, void 0, void 0, function* () {
@@ -1385,6 +1385,67 @@ class AnalyticsClient {
1385
1385
  }
1386
1386
  });
1387
1387
  }
1388
+ /**
1389
+ * Encrypts the customer data of this Analytics instance using either a customer OCI Vault Key or Oracle managed default key.
1390
+ *
1391
+ * This operation does not retry by default if the user has not defined a retry configuration.
1392
+ * @param SetKmsKeyRequest
1393
+ * @return SetKmsKeyResponse
1394
+ * @throws OciError when an error occurs
1395
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/SetKmsKey.ts.html |here} to see how to use SetKmsKey API.
1396
+ */
1397
+ setKmsKey(setKmsKeyRequest) {
1398
+ return __awaiter(this, void 0, void 0, function* () {
1399
+ if (this.logger)
1400
+ this.logger.debug("Calling operation AnalyticsClient#setKmsKey.");
1401
+ const pathParams = {
1402
+ "{analyticsInstanceId}": setKmsKeyRequest.analyticsInstanceId
1403
+ };
1404
+ const queryParams = {};
1405
+ let headerParams = {
1406
+ "Content-Type": common.Constants.APPLICATION_JSON,
1407
+ "if-match": setKmsKeyRequest.ifMatch,
1408
+ "opc-request-id": setKmsKeyRequest.opcRequestId,
1409
+ "opc-retry-token": setKmsKeyRequest.opcRetryToken
1410
+ };
1411
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1412
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setKmsKeyRequest.retryConfiguration, specRetryConfiguration);
1413
+ if (this.logger)
1414
+ retrier.logger = this.logger;
1415
+ const request = yield oci_common_2.composeRequest({
1416
+ baseEndpoint: this._endpoint,
1417
+ defaultHeaders: this._defaultHeaders,
1418
+ path: "/analyticsInstances/{analyticsInstanceId}/actions/setKmsKey",
1419
+ method: "POST",
1420
+ bodyContent: common.ObjectSerializer.serialize(setKmsKeyRequest.setKmsKeyDetails, "SetKmsKeyDetails", model.SetKmsKeyDetails.getJsonObj),
1421
+ pathParams: pathParams,
1422
+ headerParams: headerParams,
1423
+ queryParams: queryParams
1424
+ });
1425
+ try {
1426
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1427
+ const sdkResponse = oci_common_2.composeResponse({
1428
+ responseObject: {},
1429
+ responseHeaders: [
1430
+ {
1431
+ value: response.headers.get("opc-request-id"),
1432
+ key: "opcRequestId",
1433
+ dataType: "string"
1434
+ },
1435
+ {
1436
+ value: response.headers.get("opc-work-request-id"),
1437
+ key: "opcWorkRequestId",
1438
+ dataType: "string"
1439
+ }
1440
+ ]
1441
+ });
1442
+ return sdkResponse;
1443
+ }
1444
+ catch (err) {
1445
+ throw err;
1446
+ }
1447
+ });
1448
+ }
1388
1449
  /**
1389
1450
  * Starts the specified Analytics instance. The operation is long-running
1390
1451
  * and creates a new WorkRequest.
@@ -1393,7 +1454,7 @@ class AnalyticsClient {
1393
1454
  * @param StartAnalyticsInstanceRequest
1394
1455
  * @return StartAnalyticsInstanceResponse
1395
1456
  * @throws OciError when an error occurs
1396
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/StartAnalyticsInstance.ts.html |here} to see how to use StartAnalyticsInstance API.
1457
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/StartAnalyticsInstance.ts.html |here} to see how to use StartAnalyticsInstance API.
1397
1458
  */
1398
1459
  startAnalyticsInstance(startAnalyticsInstanceRequest) {
1399
1460
  return __awaiter(this, void 0, void 0, function* () {
@@ -1454,7 +1515,7 @@ class AnalyticsClient {
1454
1515
  * @param StopAnalyticsInstanceRequest
1455
1516
  * @return StopAnalyticsInstanceResponse
1456
1517
  * @throws OciError when an error occurs
1457
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/StopAnalyticsInstance.ts.html |here} to see how to use StopAnalyticsInstance API.
1518
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/StopAnalyticsInstance.ts.html |here} to see how to use StopAnalyticsInstance API.
1458
1519
  */
1459
1520
  stopAnalyticsInstance(stopAnalyticsInstanceRequest) {
1460
1521
  return __awaiter(this, void 0, void 0, function* () {
@@ -1515,7 +1576,7 @@ class AnalyticsClient {
1515
1576
  * @param UpdateAnalyticsInstanceRequest
1516
1577
  * @return UpdateAnalyticsInstanceResponse
1517
1578
  * @throws OciError when an error occurs
1518
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/UpdateAnalyticsInstance.ts.html |here} to see how to use UpdateAnalyticsInstance API.
1579
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/UpdateAnalyticsInstance.ts.html |here} to see how to use UpdateAnalyticsInstance API.
1519
1580
  */
1520
1581
  updateAnalyticsInstance(updateAnalyticsInstanceRequest) {
1521
1582
  return __awaiter(this, void 0, void 0, function* () {
@@ -1579,7 +1640,7 @@ class AnalyticsClient {
1579
1640
  * @param UpdatePrivateAccessChannelRequest
1580
1641
  * @return UpdatePrivateAccessChannelResponse
1581
1642
  * @throws OciError when an error occurs
1582
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/UpdatePrivateAccessChannel.ts.html |here} to see how to use UpdatePrivateAccessChannel API.
1643
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/UpdatePrivateAccessChannel.ts.html |here} to see how to use UpdatePrivateAccessChannel API.
1583
1644
  */
1584
1645
  updatePrivateAccessChannel(updatePrivateAccessChannelRequest) {
1585
1646
  return __awaiter(this, void 0, void 0, function* () {
@@ -1641,7 +1702,7 @@ class AnalyticsClient {
1641
1702
  * @param UpdateVanityUrlRequest
1642
1703
  * @return UpdateVanityUrlResponse
1643
1704
  * @throws OciError when an error occurs
1644
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/analytics/UpdateVanityUrl.ts.html |here} to see how to use UpdateVanityUrl API.
1705
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.15.0/analytics/UpdateVanityUrl.ts.html |here} to see how to use UpdateVanityUrl API.
1645
1706
  */
1646
1707
  updateVanityUrl(updateVanityUrlRequest) {
1647
1708
  return __awaiter(this, void 0, void 0, function* () {