oci-adm 2.26.0 → 2.29.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.
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/lib/applicationdependencymanagement-waiter.d.ts +2 -2
- package/lib/applicationdependencymanagement-waiter.js +2 -2
- package/lib/client.d.ts +39 -38
- package/lib/client.js +111 -74
- package/lib/client.js.map +1 -1
- package/lib/model/action-type.d.ts +2 -2
- package/lib/model/action-type.js +2 -2
- package/lib/model/application-dependency-vulnerability-collection.d.ts +2 -2
- package/lib/model/application-dependency-vulnerability-collection.js +2 -2
- package/lib/model/application-dependency-vulnerability-summary.d.ts +4 -4
- package/lib/model/application-dependency-vulnerability-summary.js +2 -2
- package/lib/model/application-dependency.d.ts +4 -4
- package/lib/model/application-dependency.js +2 -2
- package/lib/model/change-knowledge-base-compartment-details.d.ts +2 -2
- package/lib/model/change-knowledge-base-compartment-details.js +2 -2
- package/lib/model/change-vulnerability-audit-compartment-details.d.ts +2 -2
- package/lib/model/change-vulnerability-audit-compartment-details.js +2 -2
- package/lib/model/create-knowledge-base-details.d.ts +2 -2
- package/lib/model/create-knowledge-base-details.js +2 -2
- package/lib/model/create-vulnerability-audit-details.d.ts +2 -2
- package/lib/model/create-vulnerability-audit-details.js +2 -2
- package/lib/model/index.d.ts +2 -2
- package/lib/model/index.js +2 -2
- package/lib/model/knowledge-base-collection.d.ts +2 -2
- package/lib/model/knowledge-base-collection.js +2 -2
- package/lib/model/knowledge-base-summary.d.ts +2 -2
- package/lib/model/knowledge-base-summary.js +2 -2
- package/lib/model/knowledge-base.d.ts +2 -2
- package/lib/model/knowledge-base.js +2 -2
- package/lib/model/operation-status.d.ts +2 -2
- package/lib/model/operation-status.js +2 -2
- package/lib/model/operation-type.d.ts +2 -2
- package/lib/model/operation-type.js +2 -2
- package/lib/model/sort-order.d.ts +2 -2
- package/lib/model/sort-order.js +2 -2
- package/lib/model/update-knowledge-base-details.d.ts +2 -2
- package/lib/model/update-knowledge-base-details.js +2 -2
- package/lib/model/update-vulnerability-audit-details.d.ts +2 -2
- package/lib/model/update-vulnerability-audit-details.js +2 -2
- package/lib/model/vulnerability-audit-collection.d.ts +2 -2
- package/lib/model/vulnerability-audit-collection.js +2 -2
- package/lib/model/vulnerability-audit-configuration.d.ts +2 -2
- package/lib/model/vulnerability-audit-configuration.js +2 -2
- package/lib/model/vulnerability-audit-summary.d.ts +2 -2
- package/lib/model/vulnerability-audit-summary.js +2 -2
- package/lib/model/vulnerability-audit.d.ts +2 -2
- package/lib/model/vulnerability-audit.js +2 -2
- package/lib/model/vulnerability.d.ts +3 -3
- package/lib/model/vulnerability.js +2 -2
- package/lib/model/work-request-error-collection.d.ts +2 -2
- package/lib/model/work-request-error-collection.js +2 -2
- package/lib/model/work-request-error.d.ts +2 -2
- package/lib/model/work-request-error.js +2 -2
- package/lib/model/work-request-log-entry-collection.d.ts +2 -2
- package/lib/model/work-request-log-entry-collection.js +2 -2
- package/lib/model/work-request-log-entry.d.ts +2 -2
- package/lib/model/work-request-log-entry.js +2 -2
- package/lib/model/work-request-resource-metadata-key.d.ts +2 -2
- package/lib/model/work-request-resource-metadata-key.js +2 -2
- package/lib/model/work-request-resource.d.ts +2 -2
- package/lib/model/work-request-resource.js +2 -2
- package/lib/model/work-request-summary-collection.d.ts +2 -2
- package/lib/model/work-request-summary-collection.js +2 -2
- package/lib/model/work-request-summary.d.ts +2 -2
- package/lib/model/work-request-summary.js +2 -2
- package/lib/model/work-request.d.ts +2 -2
- package/lib/model/work-request.js +2 -2
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-knowledge-base-compartment-request.d.ts +1 -1
- package/lib/request/change-vulnerability-audit-compartment-request.d.ts +1 -1
- package/lib/request/create-knowledge-base-request.d.ts +1 -1
- package/lib/request/create-vulnerability-audit-request.d.ts +1 -1
- package/lib/request/delete-knowledge-base-request.d.ts +1 -1
- package/lib/request/delete-vulnerability-audit-request.d.ts +1 -1
- package/lib/request/get-knowledge-base-request.d.ts +1 -1
- package/lib/request/get-vulnerability-audit-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +2 -2
- package/lib/request/index.js +2 -2
- package/lib/request/list-application-dependency-vulnerabilities-request.d.ts +1 -1
- package/lib/request/list-knowledge-bases-request.d.ts +1 -1
- package/lib/request/list-vulnerability-audits-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-knowledge-base-request.d.ts +1 -1
- package/lib/request/update-vulnerability-audit-request.d.ts +1 -1
- package/lib/response/index.d.ts +2 -2
- package/lib/response/index.js +2 -2
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* Use the
|
|
3
|
+
* Application Dependency Management API
|
|
4
|
+
* Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
|
|
5
5
|
* OpenAPI spec version: 20220421
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -60,6 +60,7 @@ class ApplicationDependencyManagementClient {
|
|
|
60
60
|
this["_defaultHeaders"] = {};
|
|
61
61
|
this._circuitBreaker = null;
|
|
62
62
|
this._httpOptions = undefined;
|
|
63
|
+
this.targetService = "ApplicationDependencyManagement";
|
|
63
64
|
const requestSigner = params.authenticationDetailsProvider
|
|
64
65
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
65
66
|
: null;
|
|
@@ -151,16 +152,18 @@ class ApplicationDependencyManagementClient {
|
|
|
151
152
|
}
|
|
152
153
|
/**
|
|
153
154
|
* Cancel work request with the given ID.
|
|
154
|
-
* This operation
|
|
155
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
155
156
|
* @param CancelWorkRequestRequest
|
|
156
157
|
* @return CancelWorkRequestResponse
|
|
157
158
|
* @throws OciError when an error occurs
|
|
158
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
159
160
|
*/
|
|
160
161
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
161
162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
162
163
|
if (this.logger)
|
|
163
164
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#cancelWorkRequest.");
|
|
165
|
+
const operationName = "cancelWorkRequest";
|
|
166
|
+
const apiReferenceLink = "";
|
|
164
167
|
const pathParams = {
|
|
165
168
|
"{workRequestId}": cancelWorkRequestRequest.workRequestId
|
|
166
169
|
};
|
|
@@ -170,7 +173,7 @@ class ApplicationDependencyManagementClient {
|
|
|
170
173
|
"if-match": cancelWorkRequestRequest.ifMatch,
|
|
171
174
|
"opc-request-id": cancelWorkRequestRequest.opcRequestId
|
|
172
175
|
};
|
|
173
|
-
const specRetryConfiguration = common.
|
|
176
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
174
177
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
175
178
|
if (this.logger)
|
|
176
179
|
retrier.logger = this.logger;
|
|
@@ -184,7 +187,7 @@ class ApplicationDependencyManagementClient {
|
|
|
184
187
|
queryParams: queryParams
|
|
185
188
|
});
|
|
186
189
|
try {
|
|
187
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
190
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
188
191
|
const sdkResponse = oci_common_1.composeResponse({
|
|
189
192
|
responseObject: {},
|
|
190
193
|
responseHeaders: [
|
|
@@ -204,16 +207,18 @@ class ApplicationDependencyManagementClient {
|
|
|
204
207
|
}
|
|
205
208
|
/**
|
|
206
209
|
* Moves a Knowledge Base from one compartment to another.
|
|
207
|
-
* This operation
|
|
210
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
208
211
|
* @param ChangeKnowledgeBaseCompartmentRequest
|
|
209
212
|
* @return ChangeKnowledgeBaseCompartmentResponse
|
|
210
213
|
* @throws OciError when an error occurs
|
|
211
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
214
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/ChangeKnowledgeBaseCompartment.ts.html |here} to see how to use ChangeKnowledgeBaseCompartment API.
|
|
212
215
|
*/
|
|
213
216
|
changeKnowledgeBaseCompartment(changeKnowledgeBaseCompartmentRequest) {
|
|
214
217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
215
218
|
if (this.logger)
|
|
216
219
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#changeKnowledgeBaseCompartment.");
|
|
220
|
+
const operationName = "changeKnowledgeBaseCompartment";
|
|
221
|
+
const apiReferenceLink = "";
|
|
217
222
|
const pathParams = {
|
|
218
223
|
"{knowledgeBaseId}": changeKnowledgeBaseCompartmentRequest.knowledgeBaseId
|
|
219
224
|
};
|
|
@@ -224,7 +229,7 @@ class ApplicationDependencyManagementClient {
|
|
|
224
229
|
"opc-request-id": changeKnowledgeBaseCompartmentRequest.opcRequestId,
|
|
225
230
|
"opc-retry-token": changeKnowledgeBaseCompartmentRequest.opcRetryToken
|
|
226
231
|
};
|
|
227
|
-
const specRetryConfiguration = common.
|
|
232
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
228
233
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeKnowledgeBaseCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
229
234
|
if (this.logger)
|
|
230
235
|
retrier.logger = this.logger;
|
|
@@ -239,7 +244,7 @@ class ApplicationDependencyManagementClient {
|
|
|
239
244
|
queryParams: queryParams
|
|
240
245
|
});
|
|
241
246
|
try {
|
|
242
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
247
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
243
248
|
const sdkResponse = oci_common_1.composeResponse({
|
|
244
249
|
responseObject: {},
|
|
245
250
|
responseHeaders: [
|
|
@@ -264,16 +269,18 @@ class ApplicationDependencyManagementClient {
|
|
|
264
269
|
}
|
|
265
270
|
/**
|
|
266
271
|
* Moves a Vulnerability Audit from one compartment to another.
|
|
267
|
-
* This operation
|
|
272
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
268
273
|
* @param ChangeVulnerabilityAuditCompartmentRequest
|
|
269
274
|
* @return ChangeVulnerabilityAuditCompartmentResponse
|
|
270
275
|
* @throws OciError when an error occurs
|
|
271
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/ChangeVulnerabilityAuditCompartment.ts.html |here} to see how to use ChangeVulnerabilityAuditCompartment API.
|
|
272
277
|
*/
|
|
273
278
|
changeVulnerabilityAuditCompartment(changeVulnerabilityAuditCompartmentRequest) {
|
|
274
279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
275
280
|
if (this.logger)
|
|
276
281
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#changeVulnerabilityAuditCompartment.");
|
|
282
|
+
const operationName = "changeVulnerabilityAuditCompartment";
|
|
283
|
+
const apiReferenceLink = "";
|
|
277
284
|
const pathParams = {
|
|
278
285
|
"{vulnerabilityAuditId}": changeVulnerabilityAuditCompartmentRequest.vulnerabilityAuditId
|
|
279
286
|
};
|
|
@@ -284,7 +291,7 @@ class ApplicationDependencyManagementClient {
|
|
|
284
291
|
"opc-request-id": changeVulnerabilityAuditCompartmentRequest.opcRequestId,
|
|
285
292
|
"opc-retry-token": changeVulnerabilityAuditCompartmentRequest.opcRetryToken
|
|
286
293
|
};
|
|
287
|
-
const specRetryConfiguration = common.
|
|
294
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
288
295
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeVulnerabilityAuditCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
289
296
|
if (this.logger)
|
|
290
297
|
retrier.logger = this.logger;
|
|
@@ -299,7 +306,7 @@ class ApplicationDependencyManagementClient {
|
|
|
299
306
|
queryParams: queryParams
|
|
300
307
|
});
|
|
301
308
|
try {
|
|
302
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
309
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
303
310
|
const sdkResponse = oci_common_1.composeResponse({
|
|
304
311
|
responseObject: {},
|
|
305
312
|
responseHeaders: [
|
|
@@ -319,16 +326,18 @@ class ApplicationDependencyManagementClient {
|
|
|
319
326
|
}
|
|
320
327
|
/**
|
|
321
328
|
* Creates a new Knowledge Base.
|
|
322
|
-
* This operation
|
|
329
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
323
330
|
* @param CreateKnowledgeBaseRequest
|
|
324
331
|
* @return CreateKnowledgeBaseResponse
|
|
325
332
|
* @throws OciError when an error occurs
|
|
326
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
333
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/CreateKnowledgeBase.ts.html |here} to see how to use CreateKnowledgeBase API.
|
|
327
334
|
*/
|
|
328
335
|
createKnowledgeBase(createKnowledgeBaseRequest) {
|
|
329
336
|
return __awaiter(this, void 0, void 0, function* () {
|
|
330
337
|
if (this.logger)
|
|
331
338
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#createKnowledgeBase.");
|
|
339
|
+
const operationName = "createKnowledgeBase";
|
|
340
|
+
const apiReferenceLink = "";
|
|
332
341
|
const pathParams = {};
|
|
333
342
|
const queryParams = {};
|
|
334
343
|
let headerParams = {
|
|
@@ -336,7 +345,7 @@ class ApplicationDependencyManagementClient {
|
|
|
336
345
|
"opc-request-id": createKnowledgeBaseRequest.opcRequestId,
|
|
337
346
|
"opc-retry-token": createKnowledgeBaseRequest.opcRetryToken
|
|
338
347
|
};
|
|
339
|
-
const specRetryConfiguration = common.
|
|
348
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
340
349
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createKnowledgeBaseRequest.retryConfiguration, specRetryConfiguration);
|
|
341
350
|
if (this.logger)
|
|
342
351
|
retrier.logger = this.logger;
|
|
@@ -351,7 +360,7 @@ class ApplicationDependencyManagementClient {
|
|
|
351
360
|
queryParams: queryParams
|
|
352
361
|
});
|
|
353
362
|
try {
|
|
354
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
363
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
355
364
|
const sdkResponse = oci_common_1.composeResponse({
|
|
356
365
|
responseObject: {},
|
|
357
366
|
responseHeaders: [
|
|
@@ -376,16 +385,18 @@ class ApplicationDependencyManagementClient {
|
|
|
376
385
|
}
|
|
377
386
|
/**
|
|
378
387
|
* Creates a new Vulnerability Audit by providing a tree of Application Dependencies.
|
|
379
|
-
* This operation
|
|
388
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
380
389
|
* @param CreateVulnerabilityAuditRequest
|
|
381
390
|
* @return CreateVulnerabilityAuditResponse
|
|
382
391
|
* @throws OciError when an error occurs
|
|
383
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
392
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/CreateVulnerabilityAudit.ts.html |here} to see how to use CreateVulnerabilityAudit API.
|
|
384
393
|
*/
|
|
385
394
|
createVulnerabilityAudit(createVulnerabilityAuditRequest) {
|
|
386
395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
387
396
|
if (this.logger)
|
|
388
397
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#createVulnerabilityAudit.");
|
|
398
|
+
const operationName = "createVulnerabilityAudit";
|
|
399
|
+
const apiReferenceLink = "";
|
|
389
400
|
const pathParams = {};
|
|
390
401
|
const queryParams = {};
|
|
391
402
|
let headerParams = {
|
|
@@ -394,7 +405,7 @@ class ApplicationDependencyManagementClient {
|
|
|
394
405
|
"opc-retry-token": createVulnerabilityAuditRequest.opcRetryToken,
|
|
395
406
|
"if-match": createVulnerabilityAuditRequest.ifMatch
|
|
396
407
|
};
|
|
397
|
-
const specRetryConfiguration = common.
|
|
408
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
398
409
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createVulnerabilityAuditRequest.retryConfiguration, specRetryConfiguration);
|
|
399
410
|
if (this.logger)
|
|
400
411
|
retrier.logger = this.logger;
|
|
@@ -409,7 +420,7 @@ class ApplicationDependencyManagementClient {
|
|
|
409
420
|
queryParams: queryParams
|
|
410
421
|
});
|
|
411
422
|
try {
|
|
412
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
423
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
413
424
|
const sdkResponse = oci_common_1.composeResponse({
|
|
414
425
|
responseObject: {},
|
|
415
426
|
body: yield response.json(),
|
|
@@ -443,16 +454,18 @@ class ApplicationDependencyManagementClient {
|
|
|
443
454
|
}
|
|
444
455
|
/**
|
|
445
456
|
* Deletes the specified Knowledge Base.
|
|
446
|
-
* This operation
|
|
457
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
447
458
|
* @param DeleteKnowledgeBaseRequest
|
|
448
459
|
* @return DeleteKnowledgeBaseResponse
|
|
449
460
|
* @throws OciError when an error occurs
|
|
450
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
461
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/DeleteKnowledgeBase.ts.html |here} to see how to use DeleteKnowledgeBase API.
|
|
451
462
|
*/
|
|
452
463
|
deleteKnowledgeBase(deleteKnowledgeBaseRequest) {
|
|
453
464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
454
465
|
if (this.logger)
|
|
455
466
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#deleteKnowledgeBase.");
|
|
467
|
+
const operationName = "deleteKnowledgeBase";
|
|
468
|
+
const apiReferenceLink = "";
|
|
456
469
|
const pathParams = {
|
|
457
470
|
"{knowledgeBaseId}": deleteKnowledgeBaseRequest.knowledgeBaseId
|
|
458
471
|
};
|
|
@@ -462,7 +475,7 @@ class ApplicationDependencyManagementClient {
|
|
|
462
475
|
"if-match": deleteKnowledgeBaseRequest.ifMatch,
|
|
463
476
|
"opc-request-id": deleteKnowledgeBaseRequest.opcRequestId
|
|
464
477
|
};
|
|
465
|
-
const specRetryConfiguration = common.
|
|
478
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
466
479
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteKnowledgeBaseRequest.retryConfiguration, specRetryConfiguration);
|
|
467
480
|
if (this.logger)
|
|
468
481
|
retrier.logger = this.logger;
|
|
@@ -476,7 +489,7 @@ class ApplicationDependencyManagementClient {
|
|
|
476
489
|
queryParams: queryParams
|
|
477
490
|
});
|
|
478
491
|
try {
|
|
479
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
492
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
480
493
|
const sdkResponse = oci_common_1.composeResponse({
|
|
481
494
|
responseObject: {},
|
|
482
495
|
responseHeaders: [
|
|
@@ -501,16 +514,18 @@ class ApplicationDependencyManagementClient {
|
|
|
501
514
|
}
|
|
502
515
|
/**
|
|
503
516
|
* Deletes the specified Vulnerability Audit.
|
|
504
|
-
* This operation
|
|
517
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
505
518
|
* @param DeleteVulnerabilityAuditRequest
|
|
506
519
|
* @return DeleteVulnerabilityAuditResponse
|
|
507
520
|
* @throws OciError when an error occurs
|
|
508
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
521
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/DeleteVulnerabilityAudit.ts.html |here} to see how to use DeleteVulnerabilityAudit API.
|
|
509
522
|
*/
|
|
510
523
|
deleteVulnerabilityAudit(deleteVulnerabilityAuditRequest) {
|
|
511
524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
512
525
|
if (this.logger)
|
|
513
526
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#deleteVulnerabilityAudit.");
|
|
527
|
+
const operationName = "deleteVulnerabilityAudit";
|
|
528
|
+
const apiReferenceLink = "";
|
|
514
529
|
const pathParams = {
|
|
515
530
|
"{vulnerabilityAuditId}": deleteVulnerabilityAuditRequest.vulnerabilityAuditId
|
|
516
531
|
};
|
|
@@ -520,7 +535,7 @@ class ApplicationDependencyManagementClient {
|
|
|
520
535
|
"if-match": deleteVulnerabilityAuditRequest.ifMatch,
|
|
521
536
|
"opc-request-id": deleteVulnerabilityAuditRequest.opcRequestId
|
|
522
537
|
};
|
|
523
|
-
const specRetryConfiguration = common.
|
|
538
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
524
539
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteVulnerabilityAuditRequest.retryConfiguration, specRetryConfiguration);
|
|
525
540
|
if (this.logger)
|
|
526
541
|
retrier.logger = this.logger;
|
|
@@ -534,7 +549,7 @@ class ApplicationDependencyManagementClient {
|
|
|
534
549
|
queryParams: queryParams
|
|
535
550
|
});
|
|
536
551
|
try {
|
|
537
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
552
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
538
553
|
const sdkResponse = oci_common_1.composeResponse({
|
|
539
554
|
responseObject: {},
|
|
540
555
|
responseHeaders: [
|
|
@@ -554,16 +569,18 @@ class ApplicationDependencyManagementClient {
|
|
|
554
569
|
}
|
|
555
570
|
/**
|
|
556
571
|
* Returns the details of the specified Knowledge Base.
|
|
557
|
-
* This operation
|
|
572
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
558
573
|
* @param GetKnowledgeBaseRequest
|
|
559
574
|
* @return GetKnowledgeBaseResponse
|
|
560
575
|
* @throws OciError when an error occurs
|
|
561
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
576
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/GetKnowledgeBase.ts.html |here} to see how to use GetKnowledgeBase API.
|
|
562
577
|
*/
|
|
563
578
|
getKnowledgeBase(getKnowledgeBaseRequest) {
|
|
564
579
|
return __awaiter(this, void 0, void 0, function* () {
|
|
565
580
|
if (this.logger)
|
|
566
581
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#getKnowledgeBase.");
|
|
582
|
+
const operationName = "getKnowledgeBase";
|
|
583
|
+
const apiReferenceLink = "";
|
|
567
584
|
const pathParams = {
|
|
568
585
|
"{knowledgeBaseId}": getKnowledgeBaseRequest.knowledgeBaseId
|
|
569
586
|
};
|
|
@@ -572,7 +589,7 @@ class ApplicationDependencyManagementClient {
|
|
|
572
589
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
573
590
|
"opc-request-id": getKnowledgeBaseRequest.opcRequestId
|
|
574
591
|
};
|
|
575
|
-
const specRetryConfiguration = common.
|
|
592
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
576
593
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getKnowledgeBaseRequest.retryConfiguration, specRetryConfiguration);
|
|
577
594
|
if (this.logger)
|
|
578
595
|
retrier.logger = this.logger;
|
|
@@ -586,7 +603,7 @@ class ApplicationDependencyManagementClient {
|
|
|
586
603
|
queryParams: queryParams
|
|
587
604
|
});
|
|
588
605
|
try {
|
|
589
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
606
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
590
607
|
const sdkResponse = oci_common_1.composeResponse({
|
|
591
608
|
responseObject: {},
|
|
592
609
|
body: yield response.json(),
|
|
@@ -615,16 +632,18 @@ class ApplicationDependencyManagementClient {
|
|
|
615
632
|
}
|
|
616
633
|
/**
|
|
617
634
|
* Returns the details of the specified Vulnerability Audit.
|
|
618
|
-
* This operation
|
|
635
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
619
636
|
* @param GetVulnerabilityAuditRequest
|
|
620
637
|
* @return GetVulnerabilityAuditResponse
|
|
621
638
|
* @throws OciError when an error occurs
|
|
622
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
639
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/GetVulnerabilityAudit.ts.html |here} to see how to use GetVulnerabilityAudit API.
|
|
623
640
|
*/
|
|
624
641
|
getVulnerabilityAudit(getVulnerabilityAuditRequest) {
|
|
625
642
|
return __awaiter(this, void 0, void 0, function* () {
|
|
626
643
|
if (this.logger)
|
|
627
644
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#getVulnerabilityAudit.");
|
|
645
|
+
const operationName = "getVulnerabilityAudit";
|
|
646
|
+
const apiReferenceLink = "";
|
|
628
647
|
const pathParams = {
|
|
629
648
|
"{vulnerabilityAuditId}": getVulnerabilityAuditRequest.vulnerabilityAuditId
|
|
630
649
|
};
|
|
@@ -633,7 +652,7 @@ class ApplicationDependencyManagementClient {
|
|
|
633
652
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
634
653
|
"opc-request-id": getVulnerabilityAuditRequest.opcRequestId
|
|
635
654
|
};
|
|
636
|
-
const specRetryConfiguration = common.
|
|
655
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
637
656
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getVulnerabilityAuditRequest.retryConfiguration, specRetryConfiguration);
|
|
638
657
|
if (this.logger)
|
|
639
658
|
retrier.logger = this.logger;
|
|
@@ -647,7 +666,7 @@ class ApplicationDependencyManagementClient {
|
|
|
647
666
|
queryParams: queryParams
|
|
648
667
|
});
|
|
649
668
|
try {
|
|
650
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
669
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
651
670
|
const sdkResponse = oci_common_1.composeResponse({
|
|
652
671
|
responseObject: {},
|
|
653
672
|
body: yield response.json(),
|
|
@@ -676,16 +695,18 @@ class ApplicationDependencyManagementClient {
|
|
|
676
695
|
}
|
|
677
696
|
/**
|
|
678
697
|
* Gets the status of the work request with the given ID.
|
|
679
|
-
* This operation
|
|
698
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
680
699
|
* @param GetWorkRequestRequest
|
|
681
700
|
* @return GetWorkRequestResponse
|
|
682
701
|
* @throws OciError when an error occurs
|
|
683
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
702
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
684
703
|
*/
|
|
685
704
|
getWorkRequest(getWorkRequestRequest) {
|
|
686
705
|
return __awaiter(this, void 0, void 0, function* () {
|
|
687
706
|
if (this.logger)
|
|
688
707
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#getWorkRequest.");
|
|
708
|
+
const operationName = "getWorkRequest";
|
|
709
|
+
const apiReferenceLink = "";
|
|
689
710
|
const pathParams = {
|
|
690
711
|
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
691
712
|
};
|
|
@@ -694,7 +715,7 @@ class ApplicationDependencyManagementClient {
|
|
|
694
715
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
695
716
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
696
717
|
};
|
|
697
|
-
const specRetryConfiguration = common.
|
|
718
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
698
719
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
699
720
|
if (this.logger)
|
|
700
721
|
retrier.logger = this.logger;
|
|
@@ -708,7 +729,7 @@ class ApplicationDependencyManagementClient {
|
|
|
708
729
|
queryParams: queryParams
|
|
709
730
|
});
|
|
710
731
|
try {
|
|
711
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
732
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
712
733
|
const sdkResponse = oci_common_1.composeResponse({
|
|
713
734
|
responseObject: {},
|
|
714
735
|
body: yield response.json(),
|
|
@@ -742,16 +763,18 @@ class ApplicationDependencyManagementClient {
|
|
|
742
763
|
}
|
|
743
764
|
/**
|
|
744
765
|
* Returns a list of Application Dependencies with their associated vulnerabilities.
|
|
745
|
-
* This operation
|
|
766
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
746
767
|
* @param ListApplicationDependencyVulnerabilitiesRequest
|
|
747
768
|
* @return ListApplicationDependencyVulnerabilitiesResponse
|
|
748
769
|
* @throws OciError when an error occurs
|
|
749
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
770
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/ListApplicationDependencyVulnerabilities.ts.html |here} to see how to use ListApplicationDependencyVulnerabilities API.
|
|
750
771
|
*/
|
|
751
772
|
listApplicationDependencyVulnerabilities(listApplicationDependencyVulnerabilitiesRequest) {
|
|
752
773
|
return __awaiter(this, void 0, void 0, function* () {
|
|
753
774
|
if (this.logger)
|
|
754
775
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listApplicationDependencyVulnerabilities.");
|
|
776
|
+
const operationName = "listApplicationDependencyVulnerabilities";
|
|
777
|
+
const apiReferenceLink = "";
|
|
755
778
|
const pathParams = {
|
|
756
779
|
"{vulnerabilityAuditId}": listApplicationDependencyVulnerabilitiesRequest.vulnerabilityAuditId
|
|
757
780
|
};
|
|
@@ -769,7 +792,7 @@ class ApplicationDependencyManagementClient {
|
|
|
769
792
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
770
793
|
"opc-request-id": listApplicationDependencyVulnerabilitiesRequest.opcRequestId
|
|
771
794
|
};
|
|
772
|
-
const specRetryConfiguration = common.
|
|
795
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
773
796
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listApplicationDependencyVulnerabilitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
774
797
|
if (this.logger)
|
|
775
798
|
retrier.logger = this.logger;
|
|
@@ -783,7 +806,7 @@ class ApplicationDependencyManagementClient {
|
|
|
783
806
|
queryParams: queryParams
|
|
784
807
|
});
|
|
785
808
|
try {
|
|
786
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
809
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
787
810
|
const sdkResponse = oci_common_1.composeResponse({
|
|
788
811
|
responseObject: {},
|
|
789
812
|
body: yield response.json(),
|
|
@@ -814,16 +837,18 @@ class ApplicationDependencyManagementClient {
|
|
|
814
837
|
* Returns a list of KnowledgeBases based on the specified query parameters.
|
|
815
838
|
* At least id or compartmentId query parameter must be provided.
|
|
816
839
|
*
|
|
817
|
-
* This operation
|
|
840
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
818
841
|
* @param ListKnowledgeBasesRequest
|
|
819
842
|
* @return ListKnowledgeBasesResponse
|
|
820
843
|
* @throws OciError when an error occurs
|
|
821
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
844
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/ListKnowledgeBases.ts.html |here} to see how to use ListKnowledgeBases API.
|
|
822
845
|
*/
|
|
823
846
|
listKnowledgeBases(listKnowledgeBasesRequest) {
|
|
824
847
|
return __awaiter(this, void 0, void 0, function* () {
|
|
825
848
|
if (this.logger)
|
|
826
849
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listKnowledgeBases.");
|
|
850
|
+
const operationName = "listKnowledgeBases";
|
|
851
|
+
const apiReferenceLink = "";
|
|
827
852
|
const pathParams = {};
|
|
828
853
|
const queryParams = {
|
|
829
854
|
"id": listKnowledgeBasesRequest.id,
|
|
@@ -839,7 +864,7 @@ class ApplicationDependencyManagementClient {
|
|
|
839
864
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
840
865
|
"opc-request-id": listKnowledgeBasesRequest.opcRequestId
|
|
841
866
|
};
|
|
842
|
-
const specRetryConfiguration = common.
|
|
867
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
843
868
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listKnowledgeBasesRequest.retryConfiguration, specRetryConfiguration);
|
|
844
869
|
if (this.logger)
|
|
845
870
|
retrier.logger = this.logger;
|
|
@@ -853,7 +878,7 @@ class ApplicationDependencyManagementClient {
|
|
|
853
878
|
queryParams: queryParams
|
|
854
879
|
});
|
|
855
880
|
try {
|
|
856
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
881
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
857
882
|
const sdkResponse = oci_common_1.composeResponse({
|
|
858
883
|
responseObject: {},
|
|
859
884
|
body: yield response.json(),
|
|
@@ -884,16 +909,18 @@ class ApplicationDependencyManagementClient {
|
|
|
884
909
|
* Returns a list of Vulnerability Audits based on the specified query parameters.
|
|
885
910
|
* At least one of id, compartmentId or knowledgeBaseId query parameter must be provided.
|
|
886
911
|
*
|
|
887
|
-
* This operation
|
|
912
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
888
913
|
* @param ListVulnerabilityAuditsRequest
|
|
889
914
|
* @return ListVulnerabilityAuditsResponse
|
|
890
915
|
* @throws OciError when an error occurs
|
|
891
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
916
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/ListVulnerabilityAudits.ts.html |here} to see how to use ListVulnerabilityAudits API.
|
|
892
917
|
*/
|
|
893
918
|
listVulnerabilityAudits(listVulnerabilityAuditsRequest) {
|
|
894
919
|
return __awaiter(this, void 0, void 0, function* () {
|
|
895
920
|
if (this.logger)
|
|
896
921
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listVulnerabilityAudits.");
|
|
922
|
+
const operationName = "listVulnerabilityAudits";
|
|
923
|
+
const apiReferenceLink = "";
|
|
897
924
|
const pathParams = {};
|
|
898
925
|
const queryParams = {
|
|
899
926
|
"id": listVulnerabilityAuditsRequest.id,
|
|
@@ -911,7 +938,7 @@ class ApplicationDependencyManagementClient {
|
|
|
911
938
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
912
939
|
"opc-request-id": listVulnerabilityAuditsRequest.opcRequestId
|
|
913
940
|
};
|
|
914
|
-
const specRetryConfiguration = common.
|
|
941
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
915
942
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listVulnerabilityAuditsRequest.retryConfiguration, specRetryConfiguration);
|
|
916
943
|
if (this.logger)
|
|
917
944
|
retrier.logger = this.logger;
|
|
@@ -925,7 +952,7 @@ class ApplicationDependencyManagementClient {
|
|
|
925
952
|
queryParams: queryParams
|
|
926
953
|
});
|
|
927
954
|
try {
|
|
928
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
955
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
929
956
|
const sdkResponse = oci_common_1.composeResponse({
|
|
930
957
|
responseObject: {},
|
|
931
958
|
body: yield response.json(),
|
|
@@ -955,16 +982,18 @@ class ApplicationDependencyManagementClient {
|
|
|
955
982
|
/**
|
|
956
983
|
* Return a (paginated) list of errors for a given work request.
|
|
957
984
|
*
|
|
958
|
-
* This operation
|
|
985
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
959
986
|
* @param ListWorkRequestErrorsRequest
|
|
960
987
|
* @return ListWorkRequestErrorsResponse
|
|
961
988
|
* @throws OciError when an error occurs
|
|
962
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
989
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
963
990
|
*/
|
|
964
991
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
965
992
|
return __awaiter(this, void 0, void 0, function* () {
|
|
966
993
|
if (this.logger)
|
|
967
994
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listWorkRequestErrors.");
|
|
995
|
+
const operationName = "listWorkRequestErrors";
|
|
996
|
+
const apiReferenceLink = "";
|
|
968
997
|
const pathParams = {
|
|
969
998
|
"{workRequestId}": listWorkRequestErrorsRequest.workRequestId
|
|
970
999
|
};
|
|
@@ -978,7 +1007,7 @@ class ApplicationDependencyManagementClient {
|
|
|
978
1007
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
979
1008
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
980
1009
|
};
|
|
981
|
-
const specRetryConfiguration = common.
|
|
1010
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
982
1011
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
983
1012
|
if (this.logger)
|
|
984
1013
|
retrier.logger = this.logger;
|
|
@@ -992,7 +1021,7 @@ class ApplicationDependencyManagementClient {
|
|
|
992
1021
|
queryParams: queryParams
|
|
993
1022
|
});
|
|
994
1023
|
try {
|
|
995
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1024
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
996
1025
|
const sdkResponse = oci_common_1.composeResponse({
|
|
997
1026
|
responseObject: {},
|
|
998
1027
|
body: yield response.json(),
|
|
@@ -1022,16 +1051,18 @@ class ApplicationDependencyManagementClient {
|
|
|
1022
1051
|
/**
|
|
1023
1052
|
* Return a (paginated) list of logs for a given work request.
|
|
1024
1053
|
*
|
|
1025
|
-
* This operation
|
|
1054
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1026
1055
|
* @param ListWorkRequestLogsRequest
|
|
1027
1056
|
* @return ListWorkRequestLogsResponse
|
|
1028
1057
|
* @throws OciError when an error occurs
|
|
1029
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1058
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1030
1059
|
*/
|
|
1031
1060
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1032
1061
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1033
1062
|
if (this.logger)
|
|
1034
1063
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listWorkRequestLogs.");
|
|
1064
|
+
const operationName = "listWorkRequestLogs";
|
|
1065
|
+
const apiReferenceLink = "";
|
|
1035
1066
|
const pathParams = {
|
|
1036
1067
|
"{workRequestId}": listWorkRequestLogsRequest.workRequestId
|
|
1037
1068
|
};
|
|
@@ -1045,7 +1076,7 @@ class ApplicationDependencyManagementClient {
|
|
|
1045
1076
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1046
1077
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1047
1078
|
};
|
|
1048
|
-
const specRetryConfiguration = common.
|
|
1079
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1049
1080
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1050
1081
|
if (this.logger)
|
|
1051
1082
|
retrier.logger = this.logger;
|
|
@@ -1059,7 +1090,7 @@ class ApplicationDependencyManagementClient {
|
|
|
1059
1090
|
queryParams: queryParams
|
|
1060
1091
|
});
|
|
1061
1092
|
try {
|
|
1062
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1093
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1063
1094
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1064
1095
|
responseObject: {},
|
|
1065
1096
|
body: yield response.json(),
|
|
@@ -1089,16 +1120,18 @@ class ApplicationDependencyManagementClient {
|
|
|
1089
1120
|
/**
|
|
1090
1121
|
* Lists the work requests in a compartment.
|
|
1091
1122
|
*
|
|
1092
|
-
* This operation
|
|
1123
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1093
1124
|
* @param ListWorkRequestsRequest
|
|
1094
1125
|
* @return ListWorkRequestsResponse
|
|
1095
1126
|
* @throws OciError when an error occurs
|
|
1096
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1127
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1097
1128
|
*/
|
|
1098
1129
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1099
1130
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1100
1131
|
if (this.logger)
|
|
1101
1132
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#listWorkRequests.");
|
|
1133
|
+
const operationName = "listWorkRequests";
|
|
1134
|
+
const apiReferenceLink = "";
|
|
1102
1135
|
const pathParams = {};
|
|
1103
1136
|
const queryParams = {
|
|
1104
1137
|
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
@@ -1114,7 +1147,7 @@ class ApplicationDependencyManagementClient {
|
|
|
1114
1147
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1115
1148
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1116
1149
|
};
|
|
1117
|
-
const specRetryConfiguration = common.
|
|
1150
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1118
1151
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1119
1152
|
if (this.logger)
|
|
1120
1153
|
retrier.logger = this.logger;
|
|
@@ -1128,7 +1161,7 @@ class ApplicationDependencyManagementClient {
|
|
|
1128
1161
|
queryParams: queryParams
|
|
1129
1162
|
});
|
|
1130
1163
|
try {
|
|
1131
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1164
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1132
1165
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1133
1166
|
responseObject: {},
|
|
1134
1167
|
body: yield response.json(),
|
|
@@ -1157,16 +1190,18 @@ class ApplicationDependencyManagementClient {
|
|
|
1157
1190
|
}
|
|
1158
1191
|
/**
|
|
1159
1192
|
* Updates one or more attributes of the specified Knowledge Base.
|
|
1160
|
-
* This operation
|
|
1193
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1161
1194
|
* @param UpdateKnowledgeBaseRequest
|
|
1162
1195
|
* @return UpdateKnowledgeBaseResponse
|
|
1163
1196
|
* @throws OciError when an error occurs
|
|
1164
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1197
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/UpdateKnowledgeBase.ts.html |here} to see how to use UpdateKnowledgeBase API.
|
|
1165
1198
|
*/
|
|
1166
1199
|
updateKnowledgeBase(updateKnowledgeBaseRequest) {
|
|
1167
1200
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1168
1201
|
if (this.logger)
|
|
1169
1202
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#updateKnowledgeBase.");
|
|
1203
|
+
const operationName = "updateKnowledgeBase";
|
|
1204
|
+
const apiReferenceLink = "";
|
|
1170
1205
|
const pathParams = {
|
|
1171
1206
|
"{knowledgeBaseId}": updateKnowledgeBaseRequest.knowledgeBaseId
|
|
1172
1207
|
};
|
|
@@ -1176,7 +1211,7 @@ class ApplicationDependencyManagementClient {
|
|
|
1176
1211
|
"if-match": updateKnowledgeBaseRequest.ifMatch,
|
|
1177
1212
|
"opc-request-id": updateKnowledgeBaseRequest.opcRequestId
|
|
1178
1213
|
};
|
|
1179
|
-
const specRetryConfiguration = common.
|
|
1214
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1180
1215
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateKnowledgeBaseRequest.retryConfiguration, specRetryConfiguration);
|
|
1181
1216
|
if (this.logger)
|
|
1182
1217
|
retrier.logger = this.logger;
|
|
@@ -1191,7 +1226,7 @@ class ApplicationDependencyManagementClient {
|
|
|
1191
1226
|
queryParams: queryParams
|
|
1192
1227
|
});
|
|
1193
1228
|
try {
|
|
1194
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1229
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1195
1230
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1196
1231
|
responseObject: {},
|
|
1197
1232
|
responseHeaders: [
|
|
@@ -1216,16 +1251,18 @@ class ApplicationDependencyManagementClient {
|
|
|
1216
1251
|
}
|
|
1217
1252
|
/**
|
|
1218
1253
|
* Updates one or more attributes of the specified Vulnerability Audit.
|
|
1219
|
-
* This operation
|
|
1254
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1220
1255
|
* @param UpdateVulnerabilityAuditRequest
|
|
1221
1256
|
* @return UpdateVulnerabilityAuditResponse
|
|
1222
1257
|
* @throws OciError when an error occurs
|
|
1223
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1258
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.29.0/adm/UpdateVulnerabilityAudit.ts.html |here} to see how to use UpdateVulnerabilityAudit API.
|
|
1224
1259
|
*/
|
|
1225
1260
|
updateVulnerabilityAudit(updateVulnerabilityAuditRequest) {
|
|
1226
1261
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1227
1262
|
if (this.logger)
|
|
1228
1263
|
this.logger.debug("Calling operation ApplicationDependencyManagementClient#updateVulnerabilityAudit.");
|
|
1264
|
+
const operationName = "updateVulnerabilityAudit";
|
|
1265
|
+
const apiReferenceLink = "";
|
|
1229
1266
|
const pathParams = {
|
|
1230
1267
|
"{vulnerabilityAuditId}": updateVulnerabilityAuditRequest.vulnerabilityAuditId
|
|
1231
1268
|
};
|
|
@@ -1235,7 +1272,7 @@ class ApplicationDependencyManagementClient {
|
|
|
1235
1272
|
"if-match": updateVulnerabilityAuditRequest.ifMatch,
|
|
1236
1273
|
"opc-request-id": updateVulnerabilityAuditRequest.opcRequestId
|
|
1237
1274
|
};
|
|
1238
|
-
const specRetryConfiguration = common.
|
|
1275
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1239
1276
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateVulnerabilityAuditRequest.retryConfiguration, specRetryConfiguration);
|
|
1240
1277
|
if (this.logger)
|
|
1241
1278
|
retrier.logger = this.logger;
|
|
@@ -1250,7 +1287,7 @@ class ApplicationDependencyManagementClient {
|
|
|
1250
1287
|
queryParams: queryParams
|
|
1251
1288
|
});
|
|
1252
1289
|
try {
|
|
1253
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1290
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1254
1291
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1255
1292
|
responseObject: {},
|
|
1256
1293
|
body: yield response.json(),
|