oci-oda 2.79.1 → 2.81.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/lib/client.d.ts +115 -83
- package/lib/client.js +613 -169
- package/lib/client.js.map +1 -1
- package/lib/model/bot.d.ts +4 -0
- package/lib/model/bot.js.map +1 -1
- package/lib/model/bulk-create-skill-entities-details.d.ts +26 -0
- package/lib/model/bulk-create-skill-entities-details.js +61 -0
- package/lib/model/bulk-create-skill-entities-details.js.map +1 -0
- package/lib/model/channel.js +4 -2
- package/lib/model/channel.js.map +1 -1
- package/lib/model/composite-entity.d.ts +33 -0
- package/lib/model/composite-entity.js +78 -0
- package/lib/model/composite-entity.js.map +1 -0
- package/lib/model/create-channel-details.js +4 -2
- package/lib/model/create-channel-details.js.map +1 -1
- package/lib/model/create-channel-result.js +4 -2
- package/lib/model/create-channel-result.js.map +1 -1
- package/lib/model/create-digital-assistant-details.js +4 -2
- package/lib/model/create-digital-assistant-details.js.map +1 -1
- package/lib/model/create-oda-instance-attachment-details.d.ts +2 -1
- package/lib/model/create-oda-instance-attachment-details.js +1 -0
- package/lib/model/create-oda-instance-attachment-details.js.map +1 -1
- package/lib/model/create-skill-composite-entity-details.d.ts +33 -0
- package/lib/model/create-skill-composite-entity-details.js +82 -0
- package/lib/model/create-skill-composite-entity-details.js.map +1 -0
- package/lib/model/create-skill-details.d.ts +4 -0
- package/lib/model/create-skill-details.js +4 -2
- package/lib/model/create-skill-details.js.map +1 -1
- package/lib/model/create-skill-entity-details.d.ts +26 -0
- package/lib/model/create-skill-entity-details.js +72 -0
- package/lib/model/create-skill-entity-details.js.map +1 -0
- package/lib/model/create-skill-value-list-entity-details.d.ts +28 -0
- package/lib/model/create-skill-value-list-entity-details.js +66 -0
- package/lib/model/create-skill-value-list-entity-details.js.map +1 -0
- package/lib/model/digital-assistant.d.ts +4 -0
- package/lib/model/digital-assistant.js.map +1 -1
- package/lib/model/entity-action-argument-natural-language-mapping.d.ts +26 -0
- package/lib/model/entity-action-argument-natural-language-mapping.js +61 -0
- package/lib/model/entity-action-argument-natural-language-mapping.js.map +1 -0
- package/lib/model/entity-action-argument.d.ts +43 -0
- package/lib/model/entity-action-argument.js +57 -0
- package/lib/model/entity-action-argument.js.map +1 -0
- package/lib/model/entity-action-natural-language-mapping.d.ts +26 -0
- package/lib/model/entity-action-natural-language-mapping.js +61 -0
- package/lib/model/entity-action-natural-language-mapping.js.map +1 -0
- package/lib/model/entity-action.d.ts +35 -0
- package/lib/model/entity-action.js +67 -0
- package/lib/model/entity-action.js.map +1 -0
- package/lib/model/entity-attribute-natural-language-mapping.d.ts +26 -0
- package/lib/model/entity-attribute-natural-language-mapping.js +61 -0
- package/lib/model/entity-attribute-natural-language-mapping.js.map +1 -0
- package/lib/model/entity-attribute-type.d.ts +29 -0
- package/lib/model/entity-attribute-type.js +40 -0
- package/lib/model/entity-attribute-type.js.map +1 -0
- package/lib/model/entity-attribute.d.ts +51 -0
- package/lib/model/entity-attribute.js +57 -0
- package/lib/model/entity-attribute.js.map +1 -0
- package/lib/model/entity-natural-language-mapping.d.ts +26 -0
- package/lib/model/entity-natural-language-mapping.js +61 -0
- package/lib/model/entity-natural-language-mapping.js.map +1 -0
- package/lib/model/entity-type.d.ts +23 -0
- package/lib/model/entity-type.js +34 -0
- package/lib/model/entity-type.js.map +1 -0
- package/lib/model/entity.d.ts +30 -0
- package/lib/model/entity.js +72 -0
- package/lib/model/entity.js.map +1 -0
- package/lib/model/index.d.ts +50 -0
- package/lib/model/index.js +54 -4
- package/lib/model/index.js.map +1 -1
- package/lib/model/language-mapping.d.ts +34 -0
- package/lib/model/language-mapping.js +61 -0
- package/lib/model/language-mapping.js.map +1 -0
- package/lib/model/name-mapping.d.ts +25 -0
- package/lib/model/name-mapping.js +29 -0
- package/lib/model/name-mapping.js.map +1 -0
- package/lib/model/oda-instance-attachment-summary.d.ts +1 -0
- package/lib/model/oda-instance-attachment-summary.js +1 -0
- package/lib/model/oda-instance-attachment-summary.js.map +1 -1
- package/lib/model/oda-instance-attachment.d.ts +1 -0
- package/lib/model/oda-instance-attachment.js +1 -0
- package/lib/model/oda-instance-attachment.js.map +1 -1
- package/lib/model/skill.d.ts +4 -0
- package/lib/model/skill.js.map +1 -1
- package/lib/model/static-entity-value-natural-language-mapping.d.ts +26 -0
- package/lib/model/static-entity-value-natural-language-mapping.js +61 -0
- package/lib/model/static-entity-value-natural-language-mapping.js.map +1 -0
- package/lib/model/static-entity-value.d.ts +27 -0
- package/lib/model/static-entity-value.js +57 -0
- package/lib/model/static-entity-value.js.map +1 -0
- package/lib/model/temporal-preference.d.ts +24 -0
- package/lib/model/temporal-preference.js +35 -0
- package/lib/model/temporal-preference.js.map +1 -0
- package/lib/model/train-skill-details.d.ts +26 -0
- package/lib/model/train-skill-details.js +61 -0
- package/lib/model/train-skill-details.js.map +1 -0
- package/lib/model/train-skill-parameter-type.d.ts +22 -0
- package/lib/model/train-skill-parameter-type.js +33 -0
- package/lib/model/train-skill-parameter-type.js.map +1 -0
- package/lib/model/train-skill-parameter.d.ts +22 -0
- package/lib/model/train-skill-parameter.js +68 -0
- package/lib/model/train-skill-parameter.js.map +1 -0
- package/lib/model/train-skill-query-entity-parameter.d.ts +24 -0
- package/lib/model/train-skill-query-entity-parameter.js +54 -0
- package/lib/model/train-skill-query-entity-parameter.js.map +1 -0
- package/lib/model/update-channel-details.js +4 -2
- package/lib/model/update-channel-details.js.map +1 -1
- package/lib/model/value-list-entity.d.ts +28 -0
- package/lib/model/value-list-entity.js +62 -0
- package/lib/model/value-list-entity.js.map +1 -0
- package/lib/model/work-request.d.ts +3 -0
- package/lib/model/work-request.js +3 -0
- package/lib/model/work-request.js.map +1 -1
- package/lib/request/bulk-create-skill-entities-request.d.ts +45 -0
- package/lib/request/bulk-create-skill-entities-request.js +15 -0
- package/lib/request/bulk-create-skill-entities-request.js.map +1 -0
- package/lib/request/cascading-delete-skill-custom-entities-request.d.ts +50 -0
- package/lib/request/cascading-delete-skill-custom-entities-request.js +15 -0
- package/lib/request/cascading-delete-skill-custom-entities-request.js.map +1 -0
- package/lib/request/change-oda-instance-compartment-request.d.ts +1 -1
- package/lib/request/change-oda-private-endpoint-compartment-request.d.ts +1 -1
- package/lib/request/configure-digital-assistant-parameters-request.d.ts +1 -1
- package/lib/request/create-authentication-provider-request.d.ts +1 -1
- package/lib/request/create-channel-request.d.ts +1 -1
- package/lib/request/create-digital-assistant-request.d.ts +1 -1
- package/lib/request/create-imported-package-request.d.ts +1 -1
- package/lib/request/create-oda-instance-attachment-request.d.ts +1 -1
- package/lib/request/create-oda-instance-request.d.ts +1 -1
- package/lib/request/create-oda-private-endpoint-attachment-request.d.ts +1 -1
- package/lib/request/create-oda-private-endpoint-request.d.ts +1 -1
- package/lib/request/create-oda-private-endpoint-scan-proxy-request.d.ts +1 -1
- package/lib/request/create-skill-parameter-request.d.ts +1 -1
- package/lib/request/create-skill-request.d.ts +1 -1
- package/lib/request/create-translator-request.d.ts +1 -1
- package/lib/request/delete-authentication-provider-request.d.ts +1 -1
- package/lib/request/delete-channel-request.d.ts +1 -1
- package/lib/request/delete-digital-assistant-request.d.ts +1 -1
- package/lib/request/delete-imported-package-request.d.ts +1 -1
- package/lib/request/delete-oda-instance-attachment-request.d.ts +1 -1
- package/lib/request/delete-oda-instance-request.d.ts +1 -1
- package/lib/request/delete-oda-private-endpoint-attachment-request.d.ts +1 -1
- package/lib/request/delete-oda-private-endpoint-request.d.ts +1 -1
- package/lib/request/delete-oda-private-endpoint-scan-proxy-request.d.ts +1 -1
- package/lib/request/delete-skill-parameter-request.d.ts +1 -1
- package/lib/request/delete-skill-request.d.ts +1 -1
- package/lib/request/delete-translator-request.d.ts +1 -1
- package/lib/request/export-digital-assistant-request.d.ts +1 -1
- package/lib/request/export-skill-request.d.ts +1 -1
- package/lib/request/get-authentication-provider-request.d.ts +1 -1
- package/lib/request/get-channel-request.d.ts +1 -1
- package/lib/request/get-digital-assistant-parameter-request.d.ts +1 -1
- package/lib/request/get-digital-assistant-request.d.ts +1 -1
- package/lib/request/get-imported-package-request.d.ts +1 -1
- package/lib/request/get-oda-instance-attachment-request.d.ts +1 -1
- package/lib/request/get-oda-instance-request.d.ts +1 -1
- package/lib/request/get-oda-private-endpoint-attachment-request.d.ts +1 -1
- package/lib/request/get-oda-private-endpoint-request.d.ts +1 -1
- package/lib/request/get-oda-private-endpoint-scan-proxy-request.d.ts +1 -1
- package/lib/request/get-package-request.d.ts +1 -1
- package/lib/request/get-skill-parameter-request.d.ts +1 -1
- package/lib/request/get-skill-request.d.ts +1 -1
- package/lib/request/get-translator-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/import-bot-request.d.ts +1 -1
- package/lib/request/index.d.ts +6 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-authentication-providers-request.d.ts +1 -1
- package/lib/request/list-channels-request.d.ts +1 -1
- package/lib/request/list-digital-assistant-parameters-request.d.ts +1 -1
- package/lib/request/list-digital-assistants-request.d.ts +1 -1
- package/lib/request/list-imported-packages-request.d.ts +1 -1
- package/lib/request/list-oda-instance-attachments-request.d.ts +1 -1
- package/lib/request/list-oda-instances-request.d.ts +1 -1
- package/lib/request/list-oda-private-endpoint-attachments-request.d.ts +1 -1
- package/lib/request/list-oda-private-endpoint-scan-proxies-request.d.ts +1 -1
- package/lib/request/list-oda-private-endpoints-request.d.ts +1 -1
- package/lib/request/list-packages-request.d.ts +1 -1
- package/lib/request/list-skill-parameters-request.d.ts +1 -1
- package/lib/request/list-skills-request.d.ts +1 -1
- package/lib/request/list-translators-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/publish-digital-assistant-request.d.ts +1 -1
- package/lib/request/publish-skill-request.d.ts +1 -1
- package/lib/request/rotate-channel-keys-request.d.ts +1 -1
- package/lib/request/start-channel-request.d.ts +1 -1
- package/lib/request/start-oda-instance-request.d.ts +1 -1
- package/lib/request/stop-channel-request.d.ts +1 -1
- package/lib/request/stop-oda-instance-request.d.ts +1 -1
- package/lib/request/train-skill-request.d.ts +55 -0
- package/lib/request/train-skill-request.js +15 -0
- package/lib/request/train-skill-request.js.map +1 -0
- package/lib/request/update-authentication-provider-request.d.ts +1 -1
- package/lib/request/update-channel-request.d.ts +1 -1
- package/lib/request/update-digital-assistant-parameter-request.d.ts +1 -1
- package/lib/request/update-digital-assistant-request.d.ts +1 -1
- package/lib/request/update-imported-package-request.d.ts +1 -1
- package/lib/request/update-oda-instance-attachment-request.d.ts +1 -1
- package/lib/request/update-oda-instance-request.d.ts +1 -1
- package/lib/request/update-oda-private-endpoint-request.d.ts +1 -1
- package/lib/request/update-skill-parameter-request.d.ts +1 -1
- package/lib/request/update-skill-request.d.ts +1 -1
- package/lib/request/update-translator-request.d.ts +1 -1
- package/lib/response/bulk-create-skill-entities-response.d.ts +26 -0
- package/lib/response/bulk-create-skill-entities-response.js +15 -0
- package/lib/response/bulk-create-skill-entities-response.js.map +1 -0
- package/lib/response/cascading-delete-skill-custom-entities-response.d.ts +26 -0
- package/lib/response/cascading-delete-skill-custom-entities-response.js +15 -0
- package/lib/response/cascading-delete-skill-custom-entities-response.js.map +1 -0
- package/lib/response/index.d.ts +6 -0
- package/lib/response/train-skill-response.d.ts +26 -0
- package/lib/response/train-skill-response.js +15 -0
- package/lib/response/train-skill-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -59,7 +59,7 @@ var ManagementApiKeys;
|
|
|
59
59
|
*/
|
|
60
60
|
class ManagementClient {
|
|
61
61
|
constructor(params, clientConfiguration) {
|
|
62
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
62
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
63
63
|
this["_endpoint"] = "";
|
|
64
64
|
this["_defaultHeaders"] = {};
|
|
65
65
|
this._circuitBreaker = null;
|
|
@@ -118,7 +118,11 @@ class ManagementClient {
|
|
|
118
118
|
set endpoint(endpoint) {
|
|
119
119
|
this._endpoint = endpoint;
|
|
120
120
|
this._endpoint = this._endpoint + "/20190506";
|
|
121
|
-
|
|
121
|
+
if (this.logger)
|
|
122
|
+
this.logger.info(`ManagementClient endpoint set to ${this._endpoint}`);
|
|
123
|
+
}
|
|
124
|
+
get logger() {
|
|
125
|
+
return common.LOG.logger;
|
|
122
126
|
}
|
|
123
127
|
/**
|
|
124
128
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -127,7 +131,8 @@ class ManagementClient {
|
|
|
127
131
|
*/
|
|
128
132
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
129
133
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
130
|
-
|
|
134
|
+
if (this.logger)
|
|
135
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
131
136
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
132
137
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ManagementClient.serviceEndpointTemplate, this._region, ManagementClient.endpointServiceName);
|
|
133
138
|
}
|
|
@@ -187,6 +192,132 @@ class ManagementClient {
|
|
|
187
192
|
this._circuitBreaker.shutdown();
|
|
188
193
|
}
|
|
189
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* Bulk create composite and value list entities into a skill.
|
|
197
|
+
*
|
|
198
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
199
|
+
* @param BulkCreateSkillEntitiesRequest
|
|
200
|
+
* @return BulkCreateSkillEntitiesResponse
|
|
201
|
+
* @throws OciError when an error occurs
|
|
202
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/BulkCreateSkillEntities.ts.html |here} to see how to use BulkCreateSkillEntities API.
|
|
203
|
+
*/
|
|
204
|
+
bulkCreateSkillEntities(bulkCreateSkillEntitiesRequest) {
|
|
205
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
206
|
+
if (this.logger)
|
|
207
|
+
this.logger.debug("Calling operation ManagementClient#bulkCreateSkillEntities.");
|
|
208
|
+
const operationName = "bulkCreateSkillEntities";
|
|
209
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/BulkCreateSkillEntities";
|
|
210
|
+
const pathParams = {
|
|
211
|
+
"{odaInstanceId}": bulkCreateSkillEntitiesRequest.odaInstanceId,
|
|
212
|
+
"{skillId}": bulkCreateSkillEntitiesRequest.skillId
|
|
213
|
+
};
|
|
214
|
+
const queryParams = {};
|
|
215
|
+
let headerParams = {
|
|
216
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
217
|
+
"opc-request-id": bulkCreateSkillEntitiesRequest.opcRequestId,
|
|
218
|
+
"opc-retry-token": bulkCreateSkillEntitiesRequest.opcRetryToken
|
|
219
|
+
};
|
|
220
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
221
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkCreateSkillEntitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
222
|
+
if (this.logger)
|
|
223
|
+
retrier.logger = this.logger;
|
|
224
|
+
const request = yield oci_common_2.composeRequest({
|
|
225
|
+
baseEndpoint: this._endpoint,
|
|
226
|
+
defaultHeaders: this._defaultHeaders,
|
|
227
|
+
path: "/odaInstances/{odaInstanceId}/skills/{skillId}/actions/bulkCreateEntities",
|
|
228
|
+
method: "POST",
|
|
229
|
+
bodyContent: common.ObjectSerializer.serialize(bulkCreateSkillEntitiesRequest.bulkCreateSkillEntitiesDetails, "BulkCreateSkillEntitiesDetails", model.BulkCreateSkillEntitiesDetails.getJsonObj),
|
|
230
|
+
pathParams: pathParams,
|
|
231
|
+
headerParams: headerParams,
|
|
232
|
+
queryParams: queryParams
|
|
233
|
+
});
|
|
234
|
+
try {
|
|
235
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
236
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
237
|
+
responseObject: {},
|
|
238
|
+
responseHeaders: [
|
|
239
|
+
{
|
|
240
|
+
value: response.headers.get("opc-work-request-id"),
|
|
241
|
+
key: "opcWorkRequestId",
|
|
242
|
+
dataType: "string"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
value: response.headers.get("opc-request-id"),
|
|
246
|
+
key: "opcRequestId",
|
|
247
|
+
dataType: "string"
|
|
248
|
+
}
|
|
249
|
+
]
|
|
250
|
+
});
|
|
251
|
+
return sdkResponse;
|
|
252
|
+
}
|
|
253
|
+
catch (err) {
|
|
254
|
+
throw err;
|
|
255
|
+
}
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Cascading delete of the custom entities in a skill.
|
|
260
|
+
*
|
|
261
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
262
|
+
* @param CascadingDeleteSkillCustomEntitiesRequest
|
|
263
|
+
* @return CascadingDeleteSkillCustomEntitiesResponse
|
|
264
|
+
* @throws OciError when an error occurs
|
|
265
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CascadingDeleteSkillCustomEntities.ts.html |here} to see how to use CascadingDeleteSkillCustomEntities API.
|
|
266
|
+
*/
|
|
267
|
+
cascadingDeleteSkillCustomEntities(cascadingDeleteSkillCustomEntitiesRequest) {
|
|
268
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
269
|
+
if (this.logger)
|
|
270
|
+
this.logger.debug("Calling operation ManagementClient#cascadingDeleteSkillCustomEntities.");
|
|
271
|
+
const operationName = "cascadingDeleteSkillCustomEntities";
|
|
272
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/CascadingDeleteSkillCustomEntities";
|
|
273
|
+
const pathParams = {
|
|
274
|
+
"{odaInstanceId}": cascadingDeleteSkillCustomEntitiesRequest.odaInstanceId,
|
|
275
|
+
"{skillId}": cascadingDeleteSkillCustomEntitiesRequest.skillId
|
|
276
|
+
};
|
|
277
|
+
const queryParams = {};
|
|
278
|
+
let headerParams = {
|
|
279
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
280
|
+
"if-match": cascadingDeleteSkillCustomEntitiesRequest.ifMatch,
|
|
281
|
+
"opc-request-id": cascadingDeleteSkillCustomEntitiesRequest.opcRequestId,
|
|
282
|
+
"opc-retry-token": cascadingDeleteSkillCustomEntitiesRequest.opcRetryToken
|
|
283
|
+
};
|
|
284
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
285
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cascadingDeleteSkillCustomEntitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
286
|
+
if (this.logger)
|
|
287
|
+
retrier.logger = this.logger;
|
|
288
|
+
const request = yield oci_common_2.composeRequest({
|
|
289
|
+
baseEndpoint: this._endpoint,
|
|
290
|
+
defaultHeaders: this._defaultHeaders,
|
|
291
|
+
path: "/odaInstances/{odaInstanceId}/skills/{skillId}/actions/cascadingDeleteCustomEntities",
|
|
292
|
+
method: "POST",
|
|
293
|
+
pathParams: pathParams,
|
|
294
|
+
headerParams: headerParams,
|
|
295
|
+
queryParams: queryParams
|
|
296
|
+
});
|
|
297
|
+
try {
|
|
298
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
299
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
300
|
+
responseObject: {},
|
|
301
|
+
responseHeaders: [
|
|
302
|
+
{
|
|
303
|
+
value: response.headers.get("opc-work-request-id"),
|
|
304
|
+
key: "opcWorkRequestId",
|
|
305
|
+
dataType: "string"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
value: response.headers.get("opc-request-id"),
|
|
309
|
+
key: "opcRequestId",
|
|
310
|
+
dataType: "string"
|
|
311
|
+
}
|
|
312
|
+
]
|
|
313
|
+
});
|
|
314
|
+
return sdkResponse;
|
|
315
|
+
}
|
|
316
|
+
catch (err) {
|
|
317
|
+
throw err;
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
}
|
|
190
321
|
/**
|
|
191
322
|
* Starts an asynchronous job to move the specified ODA Private Endpoint into a different compartment.
|
|
192
323
|
* <p>
|
|
@@ -198,11 +329,12 @@ class ManagementClient {
|
|
|
198
329
|
* @param ChangeOdaPrivateEndpointCompartmentRequest
|
|
199
330
|
* @return ChangeOdaPrivateEndpointCompartmentResponse
|
|
200
331
|
* @throws OciError when an error occurs
|
|
201
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
332
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ChangeOdaPrivateEndpointCompartment.ts.html |here} to see how to use ChangeOdaPrivateEndpointCompartment API.
|
|
202
333
|
*/
|
|
203
334
|
changeOdaPrivateEndpointCompartment(changeOdaPrivateEndpointCompartmentRequest) {
|
|
204
335
|
return __awaiter(this, void 0, void 0, function* () {
|
|
205
|
-
|
|
336
|
+
if (this.logger)
|
|
337
|
+
this.logger.debug("Calling operation ManagementClient#changeOdaPrivateEndpointCompartment.");
|
|
206
338
|
const operationName = "changeOdaPrivateEndpointCompartment";
|
|
207
339
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/ChangeOdaPrivateEndpointCompartment";
|
|
208
340
|
const pathParams = {
|
|
@@ -217,6 +349,8 @@ class ManagementClient {
|
|
|
217
349
|
};
|
|
218
350
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
219
351
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOdaPrivateEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
352
|
+
if (this.logger)
|
|
353
|
+
retrier.logger = this.logger;
|
|
220
354
|
const request = yield oci_common_2.composeRequest({
|
|
221
355
|
baseEndpoint: this._endpoint,
|
|
222
356
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -258,11 +392,12 @@ class ManagementClient {
|
|
|
258
392
|
* @param ConfigureDigitalAssistantParametersRequest
|
|
259
393
|
* @return ConfigureDigitalAssistantParametersResponse
|
|
260
394
|
* @throws OciError when an error occurs
|
|
261
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ConfigureDigitalAssistantParameters.ts.html |here} to see how to use ConfigureDigitalAssistantParameters API.
|
|
262
396
|
*/
|
|
263
397
|
configureDigitalAssistantParameters(configureDigitalAssistantParametersRequest) {
|
|
264
398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
265
|
-
|
|
399
|
+
if (this.logger)
|
|
400
|
+
this.logger.debug("Calling operation ManagementClient#configureDigitalAssistantParameters.");
|
|
266
401
|
const operationName = "configureDigitalAssistantParameters";
|
|
267
402
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistantParameter/ConfigureDigitalAssistantParameters";
|
|
268
403
|
const pathParams = {
|
|
@@ -275,6 +410,8 @@ class ManagementClient {
|
|
|
275
410
|
};
|
|
276
411
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
277
412
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureDigitalAssistantParametersRequest.retryConfiguration, specRetryConfiguration);
|
|
413
|
+
if (this.logger)
|
|
414
|
+
retrier.logger = this.logger;
|
|
278
415
|
const request = yield oci_common_2.composeRequest({
|
|
279
416
|
baseEndpoint: this._endpoint,
|
|
280
417
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -311,11 +448,12 @@ class ManagementClient {
|
|
|
311
448
|
* @param CreateAuthenticationProviderRequest
|
|
312
449
|
* @return CreateAuthenticationProviderResponse
|
|
313
450
|
* @throws OciError when an error occurs
|
|
314
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
451
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CreateAuthenticationProvider.ts.html |here} to see how to use CreateAuthenticationProvider API.
|
|
315
452
|
*/
|
|
316
453
|
createAuthenticationProvider(createAuthenticationProviderRequest) {
|
|
317
454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
318
|
-
|
|
455
|
+
if (this.logger)
|
|
456
|
+
this.logger.debug("Calling operation ManagementClient#createAuthenticationProvider.");
|
|
319
457
|
const operationName = "createAuthenticationProvider";
|
|
320
458
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/AuthenticationProvider/CreateAuthenticationProvider";
|
|
321
459
|
const pathParams = {
|
|
@@ -329,6 +467,8 @@ class ManagementClient {
|
|
|
329
467
|
};
|
|
330
468
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
331
469
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAuthenticationProviderRequest.retryConfiguration, specRetryConfiguration);
|
|
470
|
+
if (this.logger)
|
|
471
|
+
retrier.logger = this.logger;
|
|
332
472
|
const request = yield oci_common_2.composeRequest({
|
|
333
473
|
baseEndpoint: this._endpoint,
|
|
334
474
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -379,11 +519,12 @@ class ManagementClient {
|
|
|
379
519
|
* @param CreateChannelRequest
|
|
380
520
|
* @return CreateChannelResponse
|
|
381
521
|
* @throws OciError when an error occurs
|
|
382
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
522
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CreateChannel.ts.html |here} to see how to use CreateChannel API.
|
|
383
523
|
*/
|
|
384
524
|
createChannel(createChannelRequest) {
|
|
385
525
|
return __awaiter(this, void 0, void 0, function* () {
|
|
386
|
-
|
|
526
|
+
if (this.logger)
|
|
527
|
+
this.logger.debug("Calling operation ManagementClient#createChannel.");
|
|
387
528
|
const operationName = "createChannel";
|
|
388
529
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/CreateChannel";
|
|
389
530
|
const pathParams = {
|
|
@@ -397,6 +538,8 @@ class ManagementClient {
|
|
|
397
538
|
};
|
|
398
539
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
399
540
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
541
|
+
if (this.logger)
|
|
542
|
+
retrier.logger = this.logger;
|
|
400
543
|
const request = yield oci_common_2.composeRequest({
|
|
401
544
|
baseEndpoint: this._endpoint,
|
|
402
545
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -447,11 +590,12 @@ class ManagementClient {
|
|
|
447
590
|
* @param CreateDigitalAssistantRequest
|
|
448
591
|
* @return CreateDigitalAssistantResponse
|
|
449
592
|
* @throws OciError when an error occurs
|
|
450
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
593
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CreateDigitalAssistant.ts.html |here} to see how to use CreateDigitalAssistant API.
|
|
451
594
|
*/
|
|
452
595
|
createDigitalAssistant(createDigitalAssistantRequest) {
|
|
453
596
|
return __awaiter(this, void 0, void 0, function* () {
|
|
454
|
-
|
|
597
|
+
if (this.logger)
|
|
598
|
+
this.logger.debug("Calling operation ManagementClient#createDigitalAssistant.");
|
|
455
599
|
const operationName = "createDigitalAssistant";
|
|
456
600
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/CreateDigitalAssistant";
|
|
457
601
|
const pathParams = {
|
|
@@ -465,6 +609,8 @@ class ManagementClient {
|
|
|
465
609
|
};
|
|
466
610
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
467
611
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
|
|
612
|
+
if (this.logger)
|
|
613
|
+
retrier.logger = this.logger;
|
|
468
614
|
const request = yield oci_common_2.composeRequest({
|
|
469
615
|
baseEndpoint: this._endpoint,
|
|
470
616
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -509,11 +655,12 @@ class ManagementClient {
|
|
|
509
655
|
* @param CreateOdaPrivateEndpointRequest
|
|
510
656
|
* @return CreateOdaPrivateEndpointResponse
|
|
511
657
|
* @throws OciError when an error occurs
|
|
512
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
658
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CreateOdaPrivateEndpoint.ts.html |here} to see how to use CreateOdaPrivateEndpoint API.
|
|
513
659
|
*/
|
|
514
660
|
createOdaPrivateEndpoint(createOdaPrivateEndpointRequest) {
|
|
515
661
|
return __awaiter(this, void 0, void 0, function* () {
|
|
516
|
-
|
|
662
|
+
if (this.logger)
|
|
663
|
+
this.logger.debug("Calling operation ManagementClient#createOdaPrivateEndpoint.");
|
|
517
664
|
const operationName = "createOdaPrivateEndpoint";
|
|
518
665
|
const apiReferenceLink = "";
|
|
519
666
|
const pathParams = {};
|
|
@@ -525,6 +672,8 @@ class ManagementClient {
|
|
|
525
672
|
};
|
|
526
673
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
527
674
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
675
|
+
if (this.logger)
|
|
676
|
+
retrier.logger = this.logger;
|
|
528
677
|
const request = yield oci_common_2.composeRequest({
|
|
529
678
|
baseEndpoint: this._endpoint,
|
|
530
679
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -583,11 +732,12 @@ class ManagementClient {
|
|
|
583
732
|
* @param CreateOdaPrivateEndpointAttachmentRequest
|
|
584
733
|
* @return CreateOdaPrivateEndpointAttachmentResponse
|
|
585
734
|
* @throws OciError when an error occurs
|
|
586
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
735
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CreateOdaPrivateEndpointAttachment.ts.html |here} to see how to use CreateOdaPrivateEndpointAttachment API.
|
|
587
736
|
*/
|
|
588
737
|
createOdaPrivateEndpointAttachment(createOdaPrivateEndpointAttachmentRequest) {
|
|
589
738
|
return __awaiter(this, void 0, void 0, function* () {
|
|
590
|
-
|
|
739
|
+
if (this.logger)
|
|
740
|
+
this.logger.debug("Calling operation ManagementClient#createOdaPrivateEndpointAttachment.");
|
|
591
741
|
const operationName = "createOdaPrivateEndpointAttachment";
|
|
592
742
|
const apiReferenceLink = "";
|
|
593
743
|
const pathParams = {};
|
|
@@ -599,6 +749,8 @@ class ManagementClient {
|
|
|
599
749
|
};
|
|
600
750
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
601
751
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaPrivateEndpointAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
752
|
+
if (this.logger)
|
|
753
|
+
retrier.logger = this.logger;
|
|
602
754
|
const request = yield oci_common_2.composeRequest({
|
|
603
755
|
baseEndpoint: this._endpoint,
|
|
604
756
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -657,11 +809,12 @@ class ManagementClient {
|
|
|
657
809
|
* @param CreateOdaPrivateEndpointScanProxyRequest
|
|
658
810
|
* @return CreateOdaPrivateEndpointScanProxyResponse
|
|
659
811
|
* @throws OciError when an error occurs
|
|
660
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
812
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CreateOdaPrivateEndpointScanProxy.ts.html |here} to see how to use CreateOdaPrivateEndpointScanProxy API.
|
|
661
813
|
*/
|
|
662
814
|
createOdaPrivateEndpointScanProxy(createOdaPrivateEndpointScanProxyRequest) {
|
|
663
815
|
return __awaiter(this, void 0, void 0, function* () {
|
|
664
|
-
|
|
816
|
+
if (this.logger)
|
|
817
|
+
this.logger.debug("Calling operation ManagementClient#createOdaPrivateEndpointScanProxy.");
|
|
665
818
|
const operationName = "createOdaPrivateEndpointScanProxy";
|
|
666
819
|
const apiReferenceLink = "";
|
|
667
820
|
const pathParams = {
|
|
@@ -675,6 +828,8 @@ class ManagementClient {
|
|
|
675
828
|
};
|
|
676
829
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
677
830
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaPrivateEndpointScanProxyRequest.retryConfiguration, specRetryConfiguration);
|
|
831
|
+
if (this.logger)
|
|
832
|
+
retrier.logger = this.logger;
|
|
678
833
|
const request = yield oci_common_2.composeRequest({
|
|
679
834
|
baseEndpoint: this._endpoint,
|
|
680
835
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -730,11 +885,12 @@ class ManagementClient {
|
|
|
730
885
|
* @param CreateSkillRequest
|
|
731
886
|
* @return CreateSkillResponse
|
|
732
887
|
* @throws OciError when an error occurs
|
|
733
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
888
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CreateSkill.ts.html |here} to see how to use CreateSkill API.
|
|
734
889
|
*/
|
|
735
890
|
createSkill(createSkillRequest) {
|
|
736
891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
737
|
-
|
|
892
|
+
if (this.logger)
|
|
893
|
+
this.logger.debug("Calling operation ManagementClient#createSkill.");
|
|
738
894
|
const operationName = "createSkill";
|
|
739
895
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/CreateSkill";
|
|
740
896
|
const pathParams = {
|
|
@@ -748,6 +904,8 @@ class ManagementClient {
|
|
|
748
904
|
};
|
|
749
905
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
750
906
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSkillRequest.retryConfiguration, specRetryConfiguration);
|
|
907
|
+
if (this.logger)
|
|
908
|
+
retrier.logger = this.logger;
|
|
751
909
|
const request = yield oci_common_2.composeRequest({
|
|
752
910
|
baseEndpoint: this._endpoint,
|
|
753
911
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -789,11 +947,12 @@ class ManagementClient {
|
|
|
789
947
|
* @param CreateSkillParameterRequest
|
|
790
948
|
* @return CreateSkillParameterResponse
|
|
791
949
|
* @throws OciError when an error occurs
|
|
792
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
950
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CreateSkillParameter.ts.html |here} to see how to use CreateSkillParameter API.
|
|
793
951
|
*/
|
|
794
952
|
createSkillParameter(createSkillParameterRequest) {
|
|
795
953
|
return __awaiter(this, void 0, void 0, function* () {
|
|
796
|
-
|
|
954
|
+
if (this.logger)
|
|
955
|
+
this.logger.debug("Calling operation ManagementClient#createSkillParameter.");
|
|
797
956
|
const operationName = "createSkillParameter";
|
|
798
957
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/SkillParameter/CreateSkillParameter";
|
|
799
958
|
const pathParams = {
|
|
@@ -808,6 +967,8 @@ class ManagementClient {
|
|
|
808
967
|
};
|
|
809
968
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
810
969
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSkillParameterRequest.retryConfiguration, specRetryConfiguration);
|
|
970
|
+
if (this.logger)
|
|
971
|
+
retrier.logger = this.logger;
|
|
811
972
|
const request = yield oci_common_2.composeRequest({
|
|
812
973
|
baseEndpoint: this._endpoint,
|
|
813
974
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -858,11 +1019,12 @@ class ManagementClient {
|
|
|
858
1019
|
* @param CreateTranslatorRequest
|
|
859
1020
|
* @return CreateTranslatorResponse
|
|
860
1021
|
* @throws OciError when an error occurs
|
|
861
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1022
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CreateTranslator.ts.html |here} to see how to use CreateTranslator API.
|
|
862
1023
|
*/
|
|
863
1024
|
createTranslator(createTranslatorRequest) {
|
|
864
1025
|
return __awaiter(this, void 0, void 0, function* () {
|
|
865
|
-
|
|
1026
|
+
if (this.logger)
|
|
1027
|
+
this.logger.debug("Calling operation ManagementClient#createTranslator.");
|
|
866
1028
|
const operationName = "createTranslator";
|
|
867
1029
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Translator/CreateTranslator";
|
|
868
1030
|
const pathParams = {
|
|
@@ -876,6 +1038,8 @@ class ManagementClient {
|
|
|
876
1038
|
};
|
|
877
1039
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
878
1040
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTranslatorRequest.retryConfiguration, specRetryConfiguration);
|
|
1041
|
+
if (this.logger)
|
|
1042
|
+
retrier.logger = this.logger;
|
|
879
1043
|
const request = yield oci_common_2.composeRequest({
|
|
880
1044
|
baseEndpoint: this._endpoint,
|
|
881
1045
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -925,11 +1089,12 @@ class ManagementClient {
|
|
|
925
1089
|
* @param DeleteAuthenticationProviderRequest
|
|
926
1090
|
* @return DeleteAuthenticationProviderResponse
|
|
927
1091
|
* @throws OciError when an error occurs
|
|
928
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1092
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/DeleteAuthenticationProvider.ts.html |here} to see how to use DeleteAuthenticationProvider API.
|
|
929
1093
|
*/
|
|
930
1094
|
deleteAuthenticationProvider(deleteAuthenticationProviderRequest) {
|
|
931
1095
|
return __awaiter(this, void 0, void 0, function* () {
|
|
932
|
-
|
|
1096
|
+
if (this.logger)
|
|
1097
|
+
this.logger.debug("Calling operation ManagementClient#deleteAuthenticationProvider.");
|
|
933
1098
|
const operationName = "deleteAuthenticationProvider";
|
|
934
1099
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/AuthenticationProvider/DeleteAuthenticationProvider";
|
|
935
1100
|
const pathParams = {
|
|
@@ -944,6 +1109,8 @@ class ManagementClient {
|
|
|
944
1109
|
};
|
|
945
1110
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
946
1111
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAuthenticationProviderRequest.retryConfiguration, specRetryConfiguration);
|
|
1112
|
+
if (this.logger)
|
|
1113
|
+
retrier.logger = this.logger;
|
|
947
1114
|
const request = yield oci_common_2.composeRequest({
|
|
948
1115
|
baseEndpoint: this._endpoint,
|
|
949
1116
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -978,11 +1145,12 @@ class ManagementClient {
|
|
|
978
1145
|
* @param DeleteChannelRequest
|
|
979
1146
|
* @return DeleteChannelResponse
|
|
980
1147
|
* @throws OciError when an error occurs
|
|
981
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1148
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
|
|
982
1149
|
*/
|
|
983
1150
|
deleteChannel(deleteChannelRequest) {
|
|
984
1151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
985
|
-
|
|
1152
|
+
if (this.logger)
|
|
1153
|
+
this.logger.debug("Calling operation ManagementClient#deleteChannel.");
|
|
986
1154
|
const operationName = "deleteChannel";
|
|
987
1155
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/DeleteChannel";
|
|
988
1156
|
const pathParams = {
|
|
@@ -997,6 +1165,8 @@ class ManagementClient {
|
|
|
997
1165
|
};
|
|
998
1166
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
999
1167
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
1168
|
+
if (this.logger)
|
|
1169
|
+
retrier.logger = this.logger;
|
|
1000
1170
|
const request = yield oci_common_2.composeRequest({
|
|
1001
1171
|
baseEndpoint: this._endpoint,
|
|
1002
1172
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1032,11 +1202,12 @@ class ManagementClient {
|
|
|
1032
1202
|
* @param DeleteDigitalAssistantRequest
|
|
1033
1203
|
* @return DeleteDigitalAssistantResponse
|
|
1034
1204
|
* @throws OciError when an error occurs
|
|
1035
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1205
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/DeleteDigitalAssistant.ts.html |here} to see how to use DeleteDigitalAssistant API.
|
|
1036
1206
|
*/
|
|
1037
1207
|
deleteDigitalAssistant(deleteDigitalAssistantRequest) {
|
|
1038
1208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1039
|
-
|
|
1209
|
+
if (this.logger)
|
|
1210
|
+
this.logger.debug("Calling operation ManagementClient#deleteDigitalAssistant.");
|
|
1040
1211
|
const operationName = "deleteDigitalAssistant";
|
|
1041
1212
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/DeleteDigitalAssistant";
|
|
1042
1213
|
const pathParams = {
|
|
@@ -1051,6 +1222,8 @@ class ManagementClient {
|
|
|
1051
1222
|
};
|
|
1052
1223
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1053
1224
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
|
|
1225
|
+
if (this.logger)
|
|
1226
|
+
retrier.logger = this.logger;
|
|
1054
1227
|
const request = yield oci_common_2.composeRequest({
|
|
1055
1228
|
baseEndpoint: this._endpoint,
|
|
1056
1229
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1086,11 +1259,12 @@ class ManagementClient {
|
|
|
1086
1259
|
* @param DeleteOdaPrivateEndpointRequest
|
|
1087
1260
|
* @return DeleteOdaPrivateEndpointResponse
|
|
1088
1261
|
* @throws OciError when an error occurs
|
|
1089
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1262
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/DeleteOdaPrivateEndpoint.ts.html |here} to see how to use DeleteOdaPrivateEndpoint API.
|
|
1090
1263
|
*/
|
|
1091
1264
|
deleteOdaPrivateEndpoint(deleteOdaPrivateEndpointRequest) {
|
|
1092
1265
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1093
|
-
|
|
1266
|
+
if (this.logger)
|
|
1267
|
+
this.logger.debug("Calling operation ManagementClient#deleteOdaPrivateEndpoint.");
|
|
1094
1268
|
const operationName = "deleteOdaPrivateEndpoint";
|
|
1095
1269
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/DeleteOdaPrivateEndpoint";
|
|
1096
1270
|
const pathParams = {
|
|
@@ -1104,6 +1278,8 @@ class ManagementClient {
|
|
|
1104
1278
|
};
|
|
1105
1279
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1106
1280
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1281
|
+
if (this.logger)
|
|
1282
|
+
retrier.logger = this.logger;
|
|
1107
1283
|
const request = yield oci_common_2.composeRequest({
|
|
1108
1284
|
baseEndpoint: this._endpoint,
|
|
1109
1285
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1144,11 +1320,12 @@ class ManagementClient {
|
|
|
1144
1320
|
* @param DeleteOdaPrivateEndpointAttachmentRequest
|
|
1145
1321
|
* @return DeleteOdaPrivateEndpointAttachmentResponse
|
|
1146
1322
|
* @throws OciError when an error occurs
|
|
1147
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1323
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/DeleteOdaPrivateEndpointAttachment.ts.html |here} to see how to use DeleteOdaPrivateEndpointAttachment API.
|
|
1148
1324
|
*/
|
|
1149
1325
|
deleteOdaPrivateEndpointAttachment(deleteOdaPrivateEndpointAttachmentRequest) {
|
|
1150
1326
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1151
|
-
|
|
1327
|
+
if (this.logger)
|
|
1328
|
+
this.logger.debug("Calling operation ManagementClient#deleteOdaPrivateEndpointAttachment.");
|
|
1152
1329
|
const operationName = "deleteOdaPrivateEndpointAttachment";
|
|
1153
1330
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointAttachment/DeleteOdaPrivateEndpointAttachment";
|
|
1154
1331
|
const pathParams = {
|
|
@@ -1162,6 +1339,8 @@ class ManagementClient {
|
|
|
1162
1339
|
};
|
|
1163
1340
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1164
1341
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaPrivateEndpointAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1342
|
+
if (this.logger)
|
|
1343
|
+
retrier.logger = this.logger;
|
|
1165
1344
|
const request = yield oci_common_2.composeRequest({
|
|
1166
1345
|
baseEndpoint: this._endpoint,
|
|
1167
1346
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1202,11 +1381,12 @@ class ManagementClient {
|
|
|
1202
1381
|
* @param DeleteOdaPrivateEndpointScanProxyRequest
|
|
1203
1382
|
* @return DeleteOdaPrivateEndpointScanProxyResponse
|
|
1204
1383
|
* @throws OciError when an error occurs
|
|
1205
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1384
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/DeleteOdaPrivateEndpointScanProxy.ts.html |here} to see how to use DeleteOdaPrivateEndpointScanProxy API.
|
|
1206
1385
|
*/
|
|
1207
1386
|
deleteOdaPrivateEndpointScanProxy(deleteOdaPrivateEndpointScanProxyRequest) {
|
|
1208
1387
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1209
|
-
|
|
1388
|
+
if (this.logger)
|
|
1389
|
+
this.logger.debug("Calling operation ManagementClient#deleteOdaPrivateEndpointScanProxy.");
|
|
1210
1390
|
const operationName = "deleteOdaPrivateEndpointScanProxy";
|
|
1211
1391
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointScanProxy/DeleteOdaPrivateEndpointScanProxy";
|
|
1212
1392
|
const pathParams = {
|
|
@@ -1221,6 +1401,8 @@ class ManagementClient {
|
|
|
1221
1401
|
};
|
|
1222
1402
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1223
1403
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaPrivateEndpointScanProxyRequest.retryConfiguration, specRetryConfiguration);
|
|
1404
|
+
if (this.logger)
|
|
1405
|
+
retrier.logger = this.logger;
|
|
1224
1406
|
const request = yield oci_common_2.composeRequest({
|
|
1225
1407
|
baseEndpoint: this._endpoint,
|
|
1226
1408
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1261,11 +1443,12 @@ class ManagementClient {
|
|
|
1261
1443
|
* @param DeleteSkillRequest
|
|
1262
1444
|
* @return DeleteSkillResponse
|
|
1263
1445
|
* @throws OciError when an error occurs
|
|
1264
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1446
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/DeleteSkill.ts.html |here} to see how to use DeleteSkill API.
|
|
1265
1447
|
*/
|
|
1266
1448
|
deleteSkill(deleteSkillRequest) {
|
|
1267
1449
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1268
|
-
|
|
1450
|
+
if (this.logger)
|
|
1451
|
+
this.logger.debug("Calling operation ManagementClient#deleteSkill.");
|
|
1269
1452
|
const operationName = "deleteSkill";
|
|
1270
1453
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/DeleteSkill";
|
|
1271
1454
|
const pathParams = {
|
|
@@ -1280,6 +1463,8 @@ class ManagementClient {
|
|
|
1280
1463
|
};
|
|
1281
1464
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1282
1465
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSkillRequest.retryConfiguration, specRetryConfiguration);
|
|
1466
|
+
if (this.logger)
|
|
1467
|
+
retrier.logger = this.logger;
|
|
1283
1468
|
const request = yield oci_common_2.composeRequest({
|
|
1284
1469
|
baseEndpoint: this._endpoint,
|
|
1285
1470
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1315,11 +1500,12 @@ class ManagementClient {
|
|
|
1315
1500
|
* @param DeleteSkillParameterRequest
|
|
1316
1501
|
* @return DeleteSkillParameterResponse
|
|
1317
1502
|
* @throws OciError when an error occurs
|
|
1318
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1503
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/DeleteSkillParameter.ts.html |here} to see how to use DeleteSkillParameter API.
|
|
1319
1504
|
*/
|
|
1320
1505
|
deleteSkillParameter(deleteSkillParameterRequest) {
|
|
1321
1506
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1322
|
-
|
|
1507
|
+
if (this.logger)
|
|
1508
|
+
this.logger.debug("Calling operation ManagementClient#deleteSkillParameter.");
|
|
1323
1509
|
const operationName = "deleteSkillParameter";
|
|
1324
1510
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/SkillParameter/DeleteSkillParameter";
|
|
1325
1511
|
const pathParams = {
|
|
@@ -1335,6 +1521,8 @@ class ManagementClient {
|
|
|
1335
1521
|
};
|
|
1336
1522
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1337
1523
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSkillParameterRequest.retryConfiguration, specRetryConfiguration);
|
|
1524
|
+
if (this.logger)
|
|
1525
|
+
retrier.logger = this.logger;
|
|
1338
1526
|
const request = yield oci_common_2.composeRequest({
|
|
1339
1527
|
baseEndpoint: this._endpoint,
|
|
1340
1528
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1369,11 +1557,12 @@ class ManagementClient {
|
|
|
1369
1557
|
* @param DeleteTranslatorRequest
|
|
1370
1558
|
* @return DeleteTranslatorResponse
|
|
1371
1559
|
* @throws OciError when an error occurs
|
|
1372
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1560
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/DeleteTranslator.ts.html |here} to see how to use DeleteTranslator API.
|
|
1373
1561
|
*/
|
|
1374
1562
|
deleteTranslator(deleteTranslatorRequest) {
|
|
1375
1563
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1376
|
-
|
|
1564
|
+
if (this.logger)
|
|
1565
|
+
this.logger.debug("Calling operation ManagementClient#deleteTranslator.");
|
|
1377
1566
|
const operationName = "deleteTranslator";
|
|
1378
1567
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Translator/DeleteTranslator";
|
|
1379
1568
|
const pathParams = {
|
|
@@ -1388,6 +1577,8 @@ class ManagementClient {
|
|
|
1388
1577
|
};
|
|
1389
1578
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1390
1579
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTranslatorRequest.retryConfiguration, specRetryConfiguration);
|
|
1580
|
+
if (this.logger)
|
|
1581
|
+
retrier.logger = this.logger;
|
|
1391
1582
|
const request = yield oci_common_2.composeRequest({
|
|
1392
1583
|
baseEndpoint: this._endpoint,
|
|
1393
1584
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1422,11 +1613,12 @@ class ManagementClient {
|
|
|
1422
1613
|
* @param ExportDigitalAssistantRequest
|
|
1423
1614
|
* @return ExportDigitalAssistantResponse
|
|
1424
1615
|
* @throws OciError when an error occurs
|
|
1425
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1616
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ExportDigitalAssistant.ts.html |here} to see how to use ExportDigitalAssistant API.
|
|
1426
1617
|
*/
|
|
1427
1618
|
exportDigitalAssistant(exportDigitalAssistantRequest) {
|
|
1428
1619
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1429
|
-
|
|
1620
|
+
if (this.logger)
|
|
1621
|
+
this.logger.debug("Calling operation ManagementClient#exportDigitalAssistant.");
|
|
1430
1622
|
const operationName = "exportDigitalAssistant";
|
|
1431
1623
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/ExportDigitalAssistant";
|
|
1432
1624
|
const pathParams = {
|
|
@@ -1440,6 +1632,8 @@ class ManagementClient {
|
|
|
1440
1632
|
};
|
|
1441
1633
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1442
1634
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
|
|
1635
|
+
if (this.logger)
|
|
1636
|
+
retrier.logger = this.logger;
|
|
1443
1637
|
const request = yield oci_common_2.composeRequest({
|
|
1444
1638
|
baseEndpoint: this._endpoint,
|
|
1445
1639
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1480,11 +1674,12 @@ class ManagementClient {
|
|
|
1480
1674
|
* @param ExportSkillRequest
|
|
1481
1675
|
* @return ExportSkillResponse
|
|
1482
1676
|
* @throws OciError when an error occurs
|
|
1483
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1677
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ExportSkill.ts.html |here} to see how to use ExportSkill API.
|
|
1484
1678
|
*/
|
|
1485
1679
|
exportSkill(exportSkillRequest) {
|
|
1486
1680
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1487
|
-
|
|
1681
|
+
if (this.logger)
|
|
1682
|
+
this.logger.debug("Calling operation ManagementClient#exportSkill.");
|
|
1488
1683
|
const operationName = "exportSkill";
|
|
1489
1684
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/ExportSkill";
|
|
1490
1685
|
const pathParams = {
|
|
@@ -1498,6 +1693,8 @@ class ManagementClient {
|
|
|
1498
1693
|
};
|
|
1499
1694
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1500
1695
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportSkillRequest.retryConfiguration, specRetryConfiguration);
|
|
1696
|
+
if (this.logger)
|
|
1697
|
+
retrier.logger = this.logger;
|
|
1501
1698
|
const request = yield oci_common_2.composeRequest({
|
|
1502
1699
|
baseEndpoint: this._endpoint,
|
|
1503
1700
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1538,11 +1735,12 @@ class ManagementClient {
|
|
|
1538
1735
|
* @param GetAuthenticationProviderRequest
|
|
1539
1736
|
* @return GetAuthenticationProviderResponse
|
|
1540
1737
|
* @throws OciError when an error occurs
|
|
1541
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1738
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetAuthenticationProvider.ts.html |here} to see how to use GetAuthenticationProvider API.
|
|
1542
1739
|
*/
|
|
1543
1740
|
getAuthenticationProvider(getAuthenticationProviderRequest) {
|
|
1544
1741
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1545
|
-
|
|
1742
|
+
if (this.logger)
|
|
1743
|
+
this.logger.debug("Calling operation ManagementClient#getAuthenticationProvider.");
|
|
1546
1744
|
const operationName = "getAuthenticationProvider";
|
|
1547
1745
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/AuthenticationProvider/GetAuthenticationProvider";
|
|
1548
1746
|
const pathParams = {
|
|
@@ -1557,6 +1755,8 @@ class ManagementClient {
|
|
|
1557
1755
|
};
|
|
1558
1756
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1559
1757
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAuthenticationProviderRequest.retryConfiguration, specRetryConfiguration);
|
|
1758
|
+
if (this.logger)
|
|
1759
|
+
retrier.logger = this.logger;
|
|
1560
1760
|
const request = yield oci_common_2.composeRequest({
|
|
1561
1761
|
baseEndpoint: this._endpoint,
|
|
1562
1762
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1600,11 +1800,12 @@ class ManagementClient {
|
|
|
1600
1800
|
* @param GetChannelRequest
|
|
1601
1801
|
* @return GetChannelResponse
|
|
1602
1802
|
* @throws OciError when an error occurs
|
|
1603
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1803
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetChannel.ts.html |here} to see how to use GetChannel API.
|
|
1604
1804
|
*/
|
|
1605
1805
|
getChannel(getChannelRequest) {
|
|
1606
1806
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1607
|
-
|
|
1807
|
+
if (this.logger)
|
|
1808
|
+
this.logger.debug("Calling operation ManagementClient#getChannel.");
|
|
1608
1809
|
const operationName = "getChannel";
|
|
1609
1810
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/GetChannel";
|
|
1610
1811
|
const pathParams = {
|
|
@@ -1619,6 +1820,8 @@ class ManagementClient {
|
|
|
1619
1820
|
};
|
|
1620
1821
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1621
1822
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
1823
|
+
if (this.logger)
|
|
1824
|
+
retrier.logger = this.logger;
|
|
1622
1825
|
const request = yield oci_common_2.composeRequest({
|
|
1623
1826
|
baseEndpoint: this._endpoint,
|
|
1624
1827
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1662,11 +1865,12 @@ class ManagementClient {
|
|
|
1662
1865
|
* @param GetDigitalAssistantRequest
|
|
1663
1866
|
* @return GetDigitalAssistantResponse
|
|
1664
1867
|
* @throws OciError when an error occurs
|
|
1665
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1868
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetDigitalAssistant.ts.html |here} to see how to use GetDigitalAssistant API.
|
|
1666
1869
|
*/
|
|
1667
1870
|
getDigitalAssistant(getDigitalAssistantRequest) {
|
|
1668
1871
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1669
|
-
|
|
1872
|
+
if (this.logger)
|
|
1873
|
+
this.logger.debug("Calling operation ManagementClient#getDigitalAssistant.");
|
|
1670
1874
|
const operationName = "getDigitalAssistant";
|
|
1671
1875
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/GetDigitalAssistant";
|
|
1672
1876
|
const pathParams = {
|
|
@@ -1681,6 +1885,8 @@ class ManagementClient {
|
|
|
1681
1885
|
};
|
|
1682
1886
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1683
1887
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
|
|
1888
|
+
if (this.logger)
|
|
1889
|
+
retrier.logger = this.logger;
|
|
1684
1890
|
const request = yield oci_common_2.composeRequest({
|
|
1685
1891
|
baseEndpoint: this._endpoint,
|
|
1686
1892
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1724,11 +1930,12 @@ class ManagementClient {
|
|
|
1724
1930
|
* @param GetDigitalAssistantParameterRequest
|
|
1725
1931
|
* @return GetDigitalAssistantParameterResponse
|
|
1726
1932
|
* @throws OciError when an error occurs
|
|
1727
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1933
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetDigitalAssistantParameter.ts.html |here} to see how to use GetDigitalAssistantParameter API.
|
|
1728
1934
|
*/
|
|
1729
1935
|
getDigitalAssistantParameter(getDigitalAssistantParameterRequest) {
|
|
1730
1936
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1731
|
-
|
|
1937
|
+
if (this.logger)
|
|
1938
|
+
this.logger.debug("Calling operation ManagementClient#getDigitalAssistantParameter.");
|
|
1732
1939
|
const operationName = "getDigitalAssistantParameter";
|
|
1733
1940
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistantParameter/GetDigitalAssistantParameter";
|
|
1734
1941
|
const pathParams = {
|
|
@@ -1744,6 +1951,8 @@ class ManagementClient {
|
|
|
1744
1951
|
};
|
|
1745
1952
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1746
1953
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDigitalAssistantParameterRequest.retryConfiguration, specRetryConfiguration);
|
|
1954
|
+
if (this.logger)
|
|
1955
|
+
retrier.logger = this.logger;
|
|
1747
1956
|
const request = yield oci_common_2.composeRequest({
|
|
1748
1957
|
baseEndpoint: this._endpoint,
|
|
1749
1958
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1787,11 +1996,12 @@ class ManagementClient {
|
|
|
1787
1996
|
* @param GetOdaPrivateEndpointRequest
|
|
1788
1997
|
* @return GetOdaPrivateEndpointResponse
|
|
1789
1998
|
* @throws OciError when an error occurs
|
|
1790
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1999
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetOdaPrivateEndpoint.ts.html |here} to see how to use GetOdaPrivateEndpoint API.
|
|
1791
2000
|
*/
|
|
1792
2001
|
getOdaPrivateEndpoint(getOdaPrivateEndpointRequest) {
|
|
1793
2002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1794
|
-
|
|
2003
|
+
if (this.logger)
|
|
2004
|
+
this.logger.debug("Calling operation ManagementClient#getOdaPrivateEndpoint.");
|
|
1795
2005
|
const operationName = "getOdaPrivateEndpoint";
|
|
1796
2006
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/GetOdaPrivateEndpoint";
|
|
1797
2007
|
const pathParams = {
|
|
@@ -1804,6 +2014,8 @@ class ManagementClient {
|
|
|
1804
2014
|
};
|
|
1805
2015
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1806
2016
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
2017
|
+
if (this.logger)
|
|
2018
|
+
retrier.logger = this.logger;
|
|
1807
2019
|
const request = yield oci_common_2.composeRequest({
|
|
1808
2020
|
baseEndpoint: this._endpoint,
|
|
1809
2021
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1847,11 +2059,12 @@ class ManagementClient {
|
|
|
1847
2059
|
* @param GetOdaPrivateEndpointAttachmentRequest
|
|
1848
2060
|
* @return GetOdaPrivateEndpointAttachmentResponse
|
|
1849
2061
|
* @throws OciError when an error occurs
|
|
1850
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2062
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetOdaPrivateEndpointAttachment.ts.html |here} to see how to use GetOdaPrivateEndpointAttachment API.
|
|
1851
2063
|
*/
|
|
1852
2064
|
getOdaPrivateEndpointAttachment(getOdaPrivateEndpointAttachmentRequest) {
|
|
1853
2065
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1854
|
-
|
|
2066
|
+
if (this.logger)
|
|
2067
|
+
this.logger.debug("Calling operation ManagementClient#getOdaPrivateEndpointAttachment.");
|
|
1855
2068
|
const operationName = "getOdaPrivateEndpointAttachment";
|
|
1856
2069
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointAttachment/GetOdaPrivateEndpointAttachment";
|
|
1857
2070
|
const pathParams = {
|
|
@@ -1864,6 +2077,8 @@ class ManagementClient {
|
|
|
1864
2077
|
};
|
|
1865
2078
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1866
2079
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaPrivateEndpointAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
2080
|
+
if (this.logger)
|
|
2081
|
+
retrier.logger = this.logger;
|
|
1867
2082
|
const request = yield oci_common_2.composeRequest({
|
|
1868
2083
|
baseEndpoint: this._endpoint,
|
|
1869
2084
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1907,11 +2122,12 @@ class ManagementClient {
|
|
|
1907
2122
|
* @param GetOdaPrivateEndpointScanProxyRequest
|
|
1908
2123
|
* @return GetOdaPrivateEndpointScanProxyResponse
|
|
1909
2124
|
* @throws OciError when an error occurs
|
|
1910
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2125
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetOdaPrivateEndpointScanProxy.ts.html |here} to see how to use GetOdaPrivateEndpointScanProxy API.
|
|
1911
2126
|
*/
|
|
1912
2127
|
getOdaPrivateEndpointScanProxy(getOdaPrivateEndpointScanProxyRequest) {
|
|
1913
2128
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1914
|
-
|
|
2129
|
+
if (this.logger)
|
|
2130
|
+
this.logger.debug("Calling operation ManagementClient#getOdaPrivateEndpointScanProxy.");
|
|
1915
2131
|
const operationName = "getOdaPrivateEndpointScanProxy";
|
|
1916
2132
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointScanProxy/GetOdaPrivateEndpointScanProxy";
|
|
1917
2133
|
const pathParams = {
|
|
@@ -1925,6 +2141,8 @@ class ManagementClient {
|
|
|
1925
2141
|
};
|
|
1926
2142
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1927
2143
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaPrivateEndpointScanProxyRequest.retryConfiguration, specRetryConfiguration);
|
|
2144
|
+
if (this.logger)
|
|
2145
|
+
retrier.logger = this.logger;
|
|
1928
2146
|
const request = yield oci_common_2.composeRequest({
|
|
1929
2147
|
baseEndpoint: this._endpoint,
|
|
1930
2148
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1968,11 +2186,12 @@ class ManagementClient {
|
|
|
1968
2186
|
* @param GetSkillRequest
|
|
1969
2187
|
* @return GetSkillResponse
|
|
1970
2188
|
* @throws OciError when an error occurs
|
|
1971
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2189
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetSkill.ts.html |here} to see how to use GetSkill API.
|
|
1972
2190
|
*/
|
|
1973
2191
|
getSkill(getSkillRequest) {
|
|
1974
2192
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1975
|
-
|
|
2193
|
+
if (this.logger)
|
|
2194
|
+
this.logger.debug("Calling operation ManagementClient#getSkill.");
|
|
1976
2195
|
const operationName = "getSkill";
|
|
1977
2196
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/GetSkill";
|
|
1978
2197
|
const pathParams = {
|
|
@@ -1987,6 +2206,8 @@ class ManagementClient {
|
|
|
1987
2206
|
};
|
|
1988
2207
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1989
2208
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSkillRequest.retryConfiguration, specRetryConfiguration);
|
|
2209
|
+
if (this.logger)
|
|
2210
|
+
retrier.logger = this.logger;
|
|
1990
2211
|
const request = yield oci_common_2.composeRequest({
|
|
1991
2212
|
baseEndpoint: this._endpoint,
|
|
1992
2213
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2030,11 +2251,12 @@ class ManagementClient {
|
|
|
2030
2251
|
* @param GetSkillParameterRequest
|
|
2031
2252
|
* @return GetSkillParameterResponse
|
|
2032
2253
|
* @throws OciError when an error occurs
|
|
2033
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2254
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetSkillParameter.ts.html |here} to see how to use GetSkillParameter API.
|
|
2034
2255
|
*/
|
|
2035
2256
|
getSkillParameter(getSkillParameterRequest) {
|
|
2036
2257
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2037
|
-
|
|
2258
|
+
if (this.logger)
|
|
2259
|
+
this.logger.debug("Calling operation ManagementClient#getSkillParameter.");
|
|
2038
2260
|
const operationName = "getSkillParameter";
|
|
2039
2261
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/SkillParameter/GetSkillParameter";
|
|
2040
2262
|
const pathParams = {
|
|
@@ -2050,6 +2272,8 @@ class ManagementClient {
|
|
|
2050
2272
|
};
|
|
2051
2273
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2052
2274
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSkillParameterRequest.retryConfiguration, specRetryConfiguration);
|
|
2275
|
+
if (this.logger)
|
|
2276
|
+
retrier.logger = this.logger;
|
|
2053
2277
|
const request = yield oci_common_2.composeRequest({
|
|
2054
2278
|
baseEndpoint: this._endpoint,
|
|
2055
2279
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2093,11 +2317,12 @@ class ManagementClient {
|
|
|
2093
2317
|
* @param GetTranslatorRequest
|
|
2094
2318
|
* @return GetTranslatorResponse
|
|
2095
2319
|
* @throws OciError when an error occurs
|
|
2096
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2320
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetTranslator.ts.html |here} to see how to use GetTranslator API.
|
|
2097
2321
|
*/
|
|
2098
2322
|
getTranslator(getTranslatorRequest) {
|
|
2099
2323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2100
|
-
|
|
2324
|
+
if (this.logger)
|
|
2325
|
+
this.logger.debug("Calling operation ManagementClient#getTranslator.");
|
|
2101
2326
|
const operationName = "getTranslator";
|
|
2102
2327
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Translator/GetTranslator";
|
|
2103
2328
|
const pathParams = {
|
|
@@ -2112,6 +2337,8 @@ class ManagementClient {
|
|
|
2112
2337
|
};
|
|
2113
2338
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2114
2339
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTranslatorRequest.retryConfiguration, specRetryConfiguration);
|
|
2340
|
+
if (this.logger)
|
|
2341
|
+
retrier.logger = this.logger;
|
|
2115
2342
|
const request = yield oci_common_2.composeRequest({
|
|
2116
2343
|
baseEndpoint: this._endpoint,
|
|
2117
2344
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2155,11 +2382,12 @@ class ManagementClient {
|
|
|
2155
2382
|
* @param ImportBotRequest
|
|
2156
2383
|
* @return ImportBotResponse
|
|
2157
2384
|
* @throws OciError when an error occurs
|
|
2158
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ImportBot.ts.html |here} to see how to use ImportBot API.
|
|
2159
2386
|
*/
|
|
2160
2387
|
importBot(importBotRequest) {
|
|
2161
2388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2162
|
-
|
|
2389
|
+
if (this.logger)
|
|
2390
|
+
this.logger.debug("Calling operation ManagementClient#importBot.");
|
|
2163
2391
|
const operationName = "importBot";
|
|
2164
2392
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Bot/ImportBot";
|
|
2165
2393
|
const pathParams = {
|
|
@@ -2173,6 +2401,8 @@ class ManagementClient {
|
|
|
2173
2401
|
};
|
|
2174
2402
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2175
2403
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, importBotRequest.retryConfiguration, specRetryConfiguration);
|
|
2404
|
+
if (this.logger)
|
|
2405
|
+
retrier.logger = this.logger;
|
|
2176
2406
|
const request = yield oci_common_2.composeRequest({
|
|
2177
2407
|
baseEndpoint: this._endpoint,
|
|
2178
2408
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2218,11 +2448,12 @@ class ManagementClient {
|
|
|
2218
2448
|
* @param ListAuthenticationProvidersRequest
|
|
2219
2449
|
* @return ListAuthenticationProvidersResponse
|
|
2220
2450
|
* @throws OciError when an error occurs
|
|
2221
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2451
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListAuthenticationProviders.ts.html |here} to see how to use ListAuthenticationProviders API.
|
|
2222
2452
|
*/
|
|
2223
2453
|
listAuthenticationProviders(listAuthenticationProvidersRequest) {
|
|
2224
2454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2225
|
-
|
|
2455
|
+
if (this.logger)
|
|
2456
|
+
this.logger.debug("Calling operation ManagementClient#listAuthenticationProviders.");
|
|
2226
2457
|
const operationName = "listAuthenticationProviders";
|
|
2227
2458
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/AuthenticationProvider/ListAuthenticationProviders";
|
|
2228
2459
|
const pathParams = {
|
|
@@ -2244,6 +2475,8 @@ class ManagementClient {
|
|
|
2244
2475
|
};
|
|
2245
2476
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2246
2477
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAuthenticationProvidersRequest.retryConfiguration, specRetryConfiguration);
|
|
2478
|
+
if (this.logger)
|
|
2479
|
+
retrier.logger = this.logger;
|
|
2247
2480
|
const request = yield oci_common_2.composeRequest({
|
|
2248
2481
|
baseEndpoint: this._endpoint,
|
|
2249
2482
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2297,11 +2530,12 @@ class ManagementClient {
|
|
|
2297
2530
|
* @param ListChannelsRequest
|
|
2298
2531
|
* @return ListChannelsResponse
|
|
2299
2532
|
* @throws OciError when an error occurs
|
|
2300
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2533
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListChannels.ts.html |here} to see how to use ListChannels API.
|
|
2301
2534
|
*/
|
|
2302
2535
|
listChannels(listChannelsRequest) {
|
|
2303
2536
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2304
|
-
|
|
2537
|
+
if (this.logger)
|
|
2538
|
+
this.logger.debug("Calling operation ManagementClient#listChannels.");
|
|
2305
2539
|
const operationName = "listChannels";
|
|
2306
2540
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/ListChannels";
|
|
2307
2541
|
const pathParams = {
|
|
@@ -2324,6 +2558,8 @@ class ManagementClient {
|
|
|
2324
2558
|
};
|
|
2325
2559
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2326
2560
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listChannelsRequest.retryConfiguration, specRetryConfiguration);
|
|
2561
|
+
if (this.logger)
|
|
2562
|
+
retrier.logger = this.logger;
|
|
2327
2563
|
const request = yield oci_common_2.composeRequest({
|
|
2328
2564
|
baseEndpoint: this._endpoint,
|
|
2329
2565
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2377,11 +2613,12 @@ class ManagementClient {
|
|
|
2377
2613
|
* @param ListDigitalAssistantParametersRequest
|
|
2378
2614
|
* @return ListDigitalAssistantParametersResponse
|
|
2379
2615
|
* @throws OciError when an error occurs
|
|
2380
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2616
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListDigitalAssistantParameters.ts.html |here} to see how to use ListDigitalAssistantParameters API.
|
|
2381
2617
|
*/
|
|
2382
2618
|
listDigitalAssistantParameters(listDigitalAssistantParametersRequest) {
|
|
2383
2619
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2384
|
-
|
|
2620
|
+
if (this.logger)
|
|
2621
|
+
this.logger.debug("Calling operation ManagementClient#listDigitalAssistantParameters.");
|
|
2385
2622
|
const operationName = "listDigitalAssistantParameters";
|
|
2386
2623
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistantParameter/ListDigitalAssistantParameters";
|
|
2387
2624
|
const pathParams = {
|
|
@@ -2402,6 +2639,8 @@ class ManagementClient {
|
|
|
2402
2639
|
};
|
|
2403
2640
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2404
2641
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDigitalAssistantParametersRequest.retryConfiguration, specRetryConfiguration);
|
|
2642
|
+
if (this.logger)
|
|
2643
|
+
retrier.logger = this.logger;
|
|
2405
2644
|
const request = yield oci_common_2.composeRequest({
|
|
2406
2645
|
baseEndpoint: this._endpoint,
|
|
2407
2646
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2455,11 +2694,12 @@ class ManagementClient {
|
|
|
2455
2694
|
* @param ListDigitalAssistantsRequest
|
|
2456
2695
|
* @return ListDigitalAssistantsResponse
|
|
2457
2696
|
* @throws OciError when an error occurs
|
|
2458
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2697
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListDigitalAssistants.ts.html |here} to see how to use ListDigitalAssistants API.
|
|
2459
2698
|
*/
|
|
2460
2699
|
listDigitalAssistants(listDigitalAssistantsRequest) {
|
|
2461
2700
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2462
|
-
|
|
2701
|
+
if (this.logger)
|
|
2702
|
+
this.logger.debug("Calling operation ManagementClient#listDigitalAssistants.");
|
|
2463
2703
|
const operationName = "listDigitalAssistants";
|
|
2464
2704
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/ListDigitalAssistants";
|
|
2465
2705
|
const pathParams = {
|
|
@@ -2485,6 +2725,8 @@ class ManagementClient {
|
|
|
2485
2725
|
};
|
|
2486
2726
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2487
2727
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDigitalAssistantsRequest.retryConfiguration, specRetryConfiguration);
|
|
2728
|
+
if (this.logger)
|
|
2729
|
+
retrier.logger = this.logger;
|
|
2488
2730
|
const request = yield oci_common_2.composeRequest({
|
|
2489
2731
|
baseEndpoint: this._endpoint,
|
|
2490
2732
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2538,11 +2780,12 @@ class ManagementClient {
|
|
|
2538
2780
|
* @param ListOdaPrivateEndpointAttachmentsRequest
|
|
2539
2781
|
* @return ListOdaPrivateEndpointAttachmentsResponse
|
|
2540
2782
|
* @throws OciError when an error occurs
|
|
2541
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2783
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListOdaPrivateEndpointAttachments.ts.html |here} to see how to use ListOdaPrivateEndpointAttachments API.
|
|
2542
2784
|
*/
|
|
2543
2785
|
listOdaPrivateEndpointAttachments(listOdaPrivateEndpointAttachmentsRequest) {
|
|
2544
2786
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2545
|
-
|
|
2787
|
+
if (this.logger)
|
|
2788
|
+
this.logger.debug("Calling operation ManagementClient#listOdaPrivateEndpointAttachments.");
|
|
2546
2789
|
const operationName = "listOdaPrivateEndpointAttachments";
|
|
2547
2790
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointAttachment/ListOdaPrivateEndpointAttachments";
|
|
2548
2791
|
const pathParams = {};
|
|
@@ -2561,6 +2804,8 @@ class ManagementClient {
|
|
|
2561
2804
|
};
|
|
2562
2805
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2563
2806
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaPrivateEndpointAttachmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
2807
|
+
if (this.logger)
|
|
2808
|
+
retrier.logger = this.logger;
|
|
2564
2809
|
const request = yield oci_common_2.composeRequest({
|
|
2565
2810
|
baseEndpoint: this._endpoint,
|
|
2566
2811
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2615,11 +2860,12 @@ class ManagementClient {
|
|
|
2615
2860
|
* @param ListOdaPrivateEndpointScanProxiesRequest
|
|
2616
2861
|
* @return ListOdaPrivateEndpointScanProxiesResponse
|
|
2617
2862
|
* @throws OciError when an error occurs
|
|
2618
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2863
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListOdaPrivateEndpointScanProxies.ts.html |here} to see how to use ListOdaPrivateEndpointScanProxies API.
|
|
2619
2864
|
*/
|
|
2620
2865
|
listOdaPrivateEndpointScanProxies(listOdaPrivateEndpointScanProxiesRequest) {
|
|
2621
2866
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2622
|
-
|
|
2867
|
+
if (this.logger)
|
|
2868
|
+
this.logger.debug("Calling operation ManagementClient#listOdaPrivateEndpointScanProxies.");
|
|
2623
2869
|
const operationName = "listOdaPrivateEndpointScanProxies";
|
|
2624
2870
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointScanProxy/ListOdaPrivateEndpointScanProxies";
|
|
2625
2871
|
const pathParams = {
|
|
@@ -2638,6 +2884,8 @@ class ManagementClient {
|
|
|
2638
2884
|
};
|
|
2639
2885
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2640
2886
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaPrivateEndpointScanProxiesRequest.retryConfiguration, specRetryConfiguration);
|
|
2887
|
+
if (this.logger)
|
|
2888
|
+
retrier.logger = this.logger;
|
|
2641
2889
|
const request = yield oci_common_2.composeRequest({
|
|
2642
2890
|
baseEndpoint: this._endpoint,
|
|
2643
2891
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2692,11 +2940,12 @@ class ManagementClient {
|
|
|
2692
2940
|
* @param ListOdaPrivateEndpointsRequest
|
|
2693
2941
|
* @return ListOdaPrivateEndpointsResponse
|
|
2694
2942
|
* @throws OciError when an error occurs
|
|
2695
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2943
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListOdaPrivateEndpoints.ts.html |here} to see how to use ListOdaPrivateEndpoints API.
|
|
2696
2944
|
*/
|
|
2697
2945
|
listOdaPrivateEndpoints(listOdaPrivateEndpointsRequest) {
|
|
2698
2946
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2699
|
-
|
|
2947
|
+
if (this.logger)
|
|
2948
|
+
this.logger.debug("Calling operation ManagementClient#listOdaPrivateEndpoints.");
|
|
2700
2949
|
const operationName = "listOdaPrivateEndpoints";
|
|
2701
2950
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/ListOdaPrivateEndpoints";
|
|
2702
2951
|
const pathParams = {};
|
|
@@ -2715,6 +2964,8 @@ class ManagementClient {
|
|
|
2715
2964
|
};
|
|
2716
2965
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2717
2966
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaPrivateEndpointsRequest.retryConfiguration, specRetryConfiguration);
|
|
2967
|
+
if (this.logger)
|
|
2968
|
+
retrier.logger = this.logger;
|
|
2718
2969
|
const request = yield oci_common_2.composeRequest({
|
|
2719
2970
|
baseEndpoint: this._endpoint,
|
|
2720
2971
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2768,11 +3019,12 @@ class ManagementClient {
|
|
|
2768
3019
|
* @param ListSkillParametersRequest
|
|
2769
3020
|
* @return ListSkillParametersResponse
|
|
2770
3021
|
* @throws OciError when an error occurs
|
|
2771
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3022
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListSkillParameters.ts.html |here} to see how to use ListSkillParameters API.
|
|
2772
3023
|
*/
|
|
2773
3024
|
listSkillParameters(listSkillParametersRequest) {
|
|
2774
3025
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2775
|
-
|
|
3026
|
+
if (this.logger)
|
|
3027
|
+
this.logger.debug("Calling operation ManagementClient#listSkillParameters.");
|
|
2776
3028
|
const operationName = "listSkillParameters";
|
|
2777
3029
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/SkillParameter/ListSkillParameters";
|
|
2778
3030
|
const pathParams = {
|
|
@@ -2793,6 +3045,8 @@ class ManagementClient {
|
|
|
2793
3045
|
};
|
|
2794
3046
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2795
3047
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSkillParametersRequest.retryConfiguration, specRetryConfiguration);
|
|
3048
|
+
if (this.logger)
|
|
3049
|
+
retrier.logger = this.logger;
|
|
2796
3050
|
const request = yield oci_common_2.composeRequest({
|
|
2797
3051
|
baseEndpoint: this._endpoint,
|
|
2798
3052
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2846,11 +3100,12 @@ class ManagementClient {
|
|
|
2846
3100
|
* @param ListSkillsRequest
|
|
2847
3101
|
* @return ListSkillsResponse
|
|
2848
3102
|
* @throws OciError when an error occurs
|
|
2849
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3103
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListSkills.ts.html |here} to see how to use ListSkills API.
|
|
2850
3104
|
*/
|
|
2851
3105
|
listSkills(listSkillsRequest) {
|
|
2852
3106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2853
|
-
|
|
3107
|
+
if (this.logger)
|
|
3108
|
+
this.logger.debug("Calling operation ManagementClient#listSkills.");
|
|
2854
3109
|
const operationName = "listSkills";
|
|
2855
3110
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/ListSkills";
|
|
2856
3111
|
const pathParams = {
|
|
@@ -2876,6 +3131,8 @@ class ManagementClient {
|
|
|
2876
3131
|
};
|
|
2877
3132
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2878
3133
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSkillsRequest.retryConfiguration, specRetryConfiguration);
|
|
3134
|
+
if (this.logger)
|
|
3135
|
+
retrier.logger = this.logger;
|
|
2879
3136
|
const request = yield oci_common_2.composeRequest({
|
|
2880
3137
|
baseEndpoint: this._endpoint,
|
|
2881
3138
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2929,11 +3186,12 @@ class ManagementClient {
|
|
|
2929
3186
|
* @param ListTranslatorsRequest
|
|
2930
3187
|
* @return ListTranslatorsResponse
|
|
2931
3188
|
* @throws OciError when an error occurs
|
|
2932
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3189
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListTranslators.ts.html |here} to see how to use ListTranslators API.
|
|
2933
3190
|
*/
|
|
2934
3191
|
listTranslators(listTranslatorsRequest) {
|
|
2935
3192
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2936
|
-
|
|
3193
|
+
if (this.logger)
|
|
3194
|
+
this.logger.debug("Calling operation ManagementClient#listTranslators.");
|
|
2937
3195
|
const operationName = "listTranslators";
|
|
2938
3196
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Translator/ListTranslators";
|
|
2939
3197
|
const pathParams = {
|
|
@@ -2955,6 +3213,8 @@ class ManagementClient {
|
|
|
2955
3213
|
};
|
|
2956
3214
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2957
3215
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTranslatorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3216
|
+
if (this.logger)
|
|
3217
|
+
retrier.logger = this.logger;
|
|
2958
3218
|
const request = yield oci_common_2.composeRequest({
|
|
2959
3219
|
baseEndpoint: this._endpoint,
|
|
2960
3220
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3005,11 +3265,12 @@ class ManagementClient {
|
|
|
3005
3265
|
* @param PublishDigitalAssistantRequest
|
|
3006
3266
|
* @return PublishDigitalAssistantResponse
|
|
3007
3267
|
* @throws OciError when an error occurs
|
|
3008
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3268
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/PublishDigitalAssistant.ts.html |here} to see how to use PublishDigitalAssistant API.
|
|
3009
3269
|
*/
|
|
3010
3270
|
publishDigitalAssistant(publishDigitalAssistantRequest) {
|
|
3011
3271
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3012
|
-
|
|
3272
|
+
if (this.logger)
|
|
3273
|
+
this.logger.debug("Calling operation ManagementClient#publishDigitalAssistant.");
|
|
3013
3274
|
const operationName = "publishDigitalAssistant";
|
|
3014
3275
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/PublishDigitalAssistant";
|
|
3015
3276
|
const pathParams = {
|
|
@@ -3024,6 +3285,8 @@ class ManagementClient {
|
|
|
3024
3285
|
};
|
|
3025
3286
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3026
3287
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, publishDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
|
|
3288
|
+
if (this.logger)
|
|
3289
|
+
retrier.logger = this.logger;
|
|
3027
3290
|
const request = yield oci_common_2.composeRequest({
|
|
3028
3291
|
baseEndpoint: this._endpoint,
|
|
3029
3292
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3069,11 +3332,12 @@ class ManagementClient {
|
|
|
3069
3332
|
* @param PublishSkillRequest
|
|
3070
3333
|
* @return PublishSkillResponse
|
|
3071
3334
|
* @throws OciError when an error occurs
|
|
3072
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/PublishSkill.ts.html |here} to see how to use PublishSkill API.
|
|
3073
3336
|
*/
|
|
3074
3337
|
publishSkill(publishSkillRequest) {
|
|
3075
3338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3076
|
-
|
|
3339
|
+
if (this.logger)
|
|
3340
|
+
this.logger.debug("Calling operation ManagementClient#publishSkill.");
|
|
3077
3341
|
const operationName = "publishSkill";
|
|
3078
3342
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/PublishSkill";
|
|
3079
3343
|
const pathParams = {
|
|
@@ -3088,6 +3352,8 @@ class ManagementClient {
|
|
|
3088
3352
|
};
|
|
3089
3353
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3090
3354
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, publishSkillRequest.retryConfiguration, specRetryConfiguration);
|
|
3355
|
+
if (this.logger)
|
|
3356
|
+
retrier.logger = this.logger;
|
|
3091
3357
|
const request = yield oci_common_2.composeRequest({
|
|
3092
3358
|
baseEndpoint: this._endpoint,
|
|
3093
3359
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3134,11 +3400,12 @@ class ManagementClient {
|
|
|
3134
3400
|
* @param RotateChannelKeysRequest
|
|
3135
3401
|
* @return RotateChannelKeysResponse
|
|
3136
3402
|
* @throws OciError when an error occurs
|
|
3137
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3403
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/RotateChannelKeys.ts.html |here} to see how to use RotateChannelKeys API.
|
|
3138
3404
|
*/
|
|
3139
3405
|
rotateChannelKeys(rotateChannelKeysRequest) {
|
|
3140
3406
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3141
|
-
|
|
3407
|
+
if (this.logger)
|
|
3408
|
+
this.logger.debug("Calling operation ManagementClient#rotateChannelKeys.");
|
|
3142
3409
|
const operationName = "rotateChannelKeys";
|
|
3143
3410
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/RotateChannelKeys";
|
|
3144
3411
|
const pathParams = {
|
|
@@ -3153,6 +3420,8 @@ class ManagementClient {
|
|
|
3153
3420
|
};
|
|
3154
3421
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3155
3422
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, rotateChannelKeysRequest.retryConfiguration, specRetryConfiguration);
|
|
3423
|
+
if (this.logger)
|
|
3424
|
+
retrier.logger = this.logger;
|
|
3156
3425
|
const request = yield oci_common_2.composeRequest({
|
|
3157
3426
|
baseEndpoint: this._endpoint,
|
|
3158
3427
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3197,11 +3466,12 @@ class ManagementClient {
|
|
|
3197
3466
|
* @param StartChannelRequest
|
|
3198
3467
|
* @return StartChannelResponse
|
|
3199
3468
|
* @throws OciError when an error occurs
|
|
3200
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3469
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/StartChannel.ts.html |here} to see how to use StartChannel API.
|
|
3201
3470
|
*/
|
|
3202
3471
|
startChannel(startChannelRequest) {
|
|
3203
3472
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3204
|
-
|
|
3473
|
+
if (this.logger)
|
|
3474
|
+
this.logger.debug("Calling operation ManagementClient#startChannel.");
|
|
3205
3475
|
const operationName = "startChannel";
|
|
3206
3476
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/StartChannel";
|
|
3207
3477
|
const pathParams = {
|
|
@@ -3216,6 +3486,8 @@ class ManagementClient {
|
|
|
3216
3486
|
};
|
|
3217
3487
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3218
3488
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
3489
|
+
if (this.logger)
|
|
3490
|
+
retrier.logger = this.logger;
|
|
3219
3491
|
const request = yield oci_common_2.composeRequest({
|
|
3220
3492
|
baseEndpoint: this._endpoint,
|
|
3221
3493
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3260,11 +3532,12 @@ class ManagementClient {
|
|
|
3260
3532
|
* @param StopChannelRequest
|
|
3261
3533
|
* @return StopChannelResponse
|
|
3262
3534
|
* @throws OciError when an error occurs
|
|
3263
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3535
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/StopChannel.ts.html |here} to see how to use StopChannel API.
|
|
3264
3536
|
*/
|
|
3265
3537
|
stopChannel(stopChannelRequest) {
|
|
3266
3538
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3267
|
-
|
|
3539
|
+
if (this.logger)
|
|
3540
|
+
this.logger.debug("Calling operation ManagementClient#stopChannel.");
|
|
3268
3541
|
const operationName = "stopChannel";
|
|
3269
3542
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/StopChannel";
|
|
3270
3543
|
const pathParams = {
|
|
@@ -3279,6 +3552,8 @@ class ManagementClient {
|
|
|
3279
3552
|
};
|
|
3280
3553
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3281
3554
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
3555
|
+
if (this.logger)
|
|
3556
|
+
retrier.logger = this.logger;
|
|
3282
3557
|
const request = yield oci_common_2.composeRequest({
|
|
3283
3558
|
baseEndpoint: this._endpoint,
|
|
3284
3559
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3316,17 +3591,81 @@ class ManagementClient {
|
|
|
3316
3591
|
}
|
|
3317
3592
|
});
|
|
3318
3593
|
}
|
|
3594
|
+
/**
|
|
3595
|
+
* Train a skill.
|
|
3596
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3597
|
+
* @param TrainSkillRequest
|
|
3598
|
+
* @return TrainSkillResponse
|
|
3599
|
+
* @throws OciError when an error occurs
|
|
3600
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/TrainSkill.ts.html |here} to see how to use TrainSkill API.
|
|
3601
|
+
*/
|
|
3602
|
+
trainSkill(trainSkillRequest) {
|
|
3603
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3604
|
+
if (this.logger)
|
|
3605
|
+
this.logger.debug("Calling operation ManagementClient#trainSkill.");
|
|
3606
|
+
const operationName = "trainSkill";
|
|
3607
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/TrainSkill";
|
|
3608
|
+
const pathParams = {
|
|
3609
|
+
"{odaInstanceId}": trainSkillRequest.odaInstanceId,
|
|
3610
|
+
"{skillId}": trainSkillRequest.skillId
|
|
3611
|
+
};
|
|
3612
|
+
const queryParams = {};
|
|
3613
|
+
let headerParams = {
|
|
3614
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3615
|
+
"if-match": trainSkillRequest.ifMatch,
|
|
3616
|
+
"opc-request-id": trainSkillRequest.opcRequestId,
|
|
3617
|
+
"opc-retry-token": trainSkillRequest.opcRetryToken
|
|
3618
|
+
};
|
|
3619
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3620
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, trainSkillRequest.retryConfiguration, specRetryConfiguration);
|
|
3621
|
+
if (this.logger)
|
|
3622
|
+
retrier.logger = this.logger;
|
|
3623
|
+
const request = yield oci_common_2.composeRequest({
|
|
3624
|
+
baseEndpoint: this._endpoint,
|
|
3625
|
+
defaultHeaders: this._defaultHeaders,
|
|
3626
|
+
path: "/odaInstances/{odaInstanceId}/skills/{skillId}/actions/train",
|
|
3627
|
+
method: "POST",
|
|
3628
|
+
bodyContent: common.ObjectSerializer.serialize(trainSkillRequest.trainSkillDetails, "TrainSkillDetails", model.TrainSkillDetails.getJsonObj),
|
|
3629
|
+
pathParams: pathParams,
|
|
3630
|
+
headerParams: headerParams,
|
|
3631
|
+
queryParams: queryParams
|
|
3632
|
+
});
|
|
3633
|
+
try {
|
|
3634
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3635
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3636
|
+
responseObject: {},
|
|
3637
|
+
responseHeaders: [
|
|
3638
|
+
{
|
|
3639
|
+
value: response.headers.get("opc-request-id"),
|
|
3640
|
+
key: "opcRequestId",
|
|
3641
|
+
dataType: "string"
|
|
3642
|
+
},
|
|
3643
|
+
{
|
|
3644
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3645
|
+
key: "opcWorkRequestId",
|
|
3646
|
+
dataType: "string"
|
|
3647
|
+
}
|
|
3648
|
+
]
|
|
3649
|
+
});
|
|
3650
|
+
return sdkResponse;
|
|
3651
|
+
}
|
|
3652
|
+
catch (err) {
|
|
3653
|
+
throw err;
|
|
3654
|
+
}
|
|
3655
|
+
});
|
|
3656
|
+
}
|
|
3319
3657
|
/**
|
|
3320
3658
|
* Updates the specified Authentication Provider with the information in the request body.
|
|
3321
3659
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3322
3660
|
* @param UpdateAuthenticationProviderRequest
|
|
3323
3661
|
* @return UpdateAuthenticationProviderResponse
|
|
3324
3662
|
* @throws OciError when an error occurs
|
|
3325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3663
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/UpdateAuthenticationProvider.ts.html |here} to see how to use UpdateAuthenticationProvider API.
|
|
3326
3664
|
*/
|
|
3327
3665
|
updateAuthenticationProvider(updateAuthenticationProviderRequest) {
|
|
3328
3666
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3329
|
-
|
|
3667
|
+
if (this.logger)
|
|
3668
|
+
this.logger.debug("Calling operation ManagementClient#updateAuthenticationProvider.");
|
|
3330
3669
|
const operationName = "updateAuthenticationProvider";
|
|
3331
3670
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/AuthenticationProvider/UpdateAuthenticationProvider";
|
|
3332
3671
|
const pathParams = {
|
|
@@ -3341,6 +3680,8 @@ class ManagementClient {
|
|
|
3341
3680
|
};
|
|
3342
3681
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3343
3682
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAuthenticationProviderRequest.retryConfiguration, specRetryConfiguration);
|
|
3683
|
+
if (this.logger)
|
|
3684
|
+
retrier.logger = this.logger;
|
|
3344
3685
|
const request = yield oci_common_2.composeRequest({
|
|
3345
3686
|
baseEndpoint: this._endpoint,
|
|
3346
3687
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3385,11 +3726,12 @@ class ManagementClient {
|
|
|
3385
3726
|
* @param UpdateChannelRequest
|
|
3386
3727
|
* @return UpdateChannelResponse
|
|
3387
3728
|
* @throws OciError when an error occurs
|
|
3388
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3729
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
|
|
3389
3730
|
*/
|
|
3390
3731
|
updateChannel(updateChannelRequest) {
|
|
3391
3732
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3392
|
-
|
|
3733
|
+
if (this.logger)
|
|
3734
|
+
this.logger.debug("Calling operation ManagementClient#updateChannel.");
|
|
3393
3735
|
const operationName = "updateChannel";
|
|
3394
3736
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/UpdateChannel";
|
|
3395
3737
|
const pathParams = {
|
|
@@ -3404,6 +3746,8 @@ class ManagementClient {
|
|
|
3404
3746
|
};
|
|
3405
3747
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3406
3748
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
3749
|
+
if (this.logger)
|
|
3750
|
+
retrier.logger = this.logger;
|
|
3407
3751
|
const request = yield oci_common_2.composeRequest({
|
|
3408
3752
|
baseEndpoint: this._endpoint,
|
|
3409
3753
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3448,11 +3792,12 @@ class ManagementClient {
|
|
|
3448
3792
|
* @param UpdateDigitalAssistantRequest
|
|
3449
3793
|
* @return UpdateDigitalAssistantResponse
|
|
3450
3794
|
* @throws OciError when an error occurs
|
|
3451
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3795
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/UpdateDigitalAssistant.ts.html |here} to see how to use UpdateDigitalAssistant API.
|
|
3452
3796
|
*/
|
|
3453
3797
|
updateDigitalAssistant(updateDigitalAssistantRequest) {
|
|
3454
3798
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3455
|
-
|
|
3799
|
+
if (this.logger)
|
|
3800
|
+
this.logger.debug("Calling operation ManagementClient#updateDigitalAssistant.");
|
|
3456
3801
|
const operationName = "updateDigitalAssistant";
|
|
3457
3802
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/UpdateDigitalAssistant";
|
|
3458
3803
|
const pathParams = {
|
|
@@ -3467,6 +3812,8 @@ class ManagementClient {
|
|
|
3467
3812
|
};
|
|
3468
3813
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3469
3814
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
|
|
3815
|
+
if (this.logger)
|
|
3816
|
+
retrier.logger = this.logger;
|
|
3470
3817
|
const request = yield oci_common_2.composeRequest({
|
|
3471
3818
|
baseEndpoint: this._endpoint,
|
|
3472
3819
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3511,11 +3858,12 @@ class ManagementClient {
|
|
|
3511
3858
|
* @param UpdateDigitalAssistantParameterRequest
|
|
3512
3859
|
* @return UpdateDigitalAssistantParameterResponse
|
|
3513
3860
|
* @throws OciError when an error occurs
|
|
3514
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3861
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/UpdateDigitalAssistantParameter.ts.html |here} to see how to use UpdateDigitalAssistantParameter API.
|
|
3515
3862
|
*/
|
|
3516
3863
|
updateDigitalAssistantParameter(updateDigitalAssistantParameterRequest) {
|
|
3517
3864
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3518
|
-
|
|
3865
|
+
if (this.logger)
|
|
3866
|
+
this.logger.debug("Calling operation ManagementClient#updateDigitalAssistantParameter.");
|
|
3519
3867
|
const operationName = "updateDigitalAssistantParameter";
|
|
3520
3868
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistantParameter/UpdateDigitalAssistantParameter";
|
|
3521
3869
|
const pathParams = {
|
|
@@ -3531,6 +3879,8 @@ class ManagementClient {
|
|
|
3531
3879
|
};
|
|
3532
3880
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3533
3881
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDigitalAssistantParameterRequest.retryConfiguration, specRetryConfiguration);
|
|
3882
|
+
if (this.logger)
|
|
3883
|
+
retrier.logger = this.logger;
|
|
3534
3884
|
const request = yield oci_common_2.composeRequest({
|
|
3535
3885
|
baseEndpoint: this._endpoint,
|
|
3536
3886
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3575,11 +3925,12 @@ class ManagementClient {
|
|
|
3575
3925
|
* @param UpdateOdaPrivateEndpointRequest
|
|
3576
3926
|
* @return UpdateOdaPrivateEndpointResponse
|
|
3577
3927
|
* @throws OciError when an error occurs
|
|
3578
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3928
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/UpdateOdaPrivateEndpoint.ts.html |here} to see how to use UpdateOdaPrivateEndpoint API.
|
|
3579
3929
|
*/
|
|
3580
3930
|
updateOdaPrivateEndpoint(updateOdaPrivateEndpointRequest) {
|
|
3581
3931
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3582
|
-
|
|
3932
|
+
if (this.logger)
|
|
3933
|
+
this.logger.debug("Calling operation ManagementClient#updateOdaPrivateEndpoint.");
|
|
3583
3934
|
const operationName = "updateOdaPrivateEndpoint";
|
|
3584
3935
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/UpdateOdaPrivateEndpoint";
|
|
3585
3936
|
const pathParams = {
|
|
@@ -3593,6 +3944,8 @@ class ManagementClient {
|
|
|
3593
3944
|
};
|
|
3594
3945
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3595
3946
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOdaPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
3947
|
+
if (this.logger)
|
|
3948
|
+
retrier.logger = this.logger;
|
|
3596
3949
|
const request = yield oci_common_2.composeRequest({
|
|
3597
3950
|
baseEndpoint: this._endpoint,
|
|
3598
3951
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3633,11 +3986,12 @@ class ManagementClient {
|
|
|
3633
3986
|
* @param UpdateSkillRequest
|
|
3634
3987
|
* @return UpdateSkillResponse
|
|
3635
3988
|
* @throws OciError when an error occurs
|
|
3636
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3989
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/UpdateSkill.ts.html |here} to see how to use UpdateSkill API.
|
|
3637
3990
|
*/
|
|
3638
3991
|
updateSkill(updateSkillRequest) {
|
|
3639
3992
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3640
|
-
|
|
3993
|
+
if (this.logger)
|
|
3994
|
+
this.logger.debug("Calling operation ManagementClient#updateSkill.");
|
|
3641
3995
|
const operationName = "updateSkill";
|
|
3642
3996
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/UpdateSkill";
|
|
3643
3997
|
const pathParams = {
|
|
@@ -3652,6 +4006,8 @@ class ManagementClient {
|
|
|
3652
4006
|
};
|
|
3653
4007
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3654
4008
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSkillRequest.retryConfiguration, specRetryConfiguration);
|
|
4009
|
+
if (this.logger)
|
|
4010
|
+
retrier.logger = this.logger;
|
|
3655
4011
|
const request = yield oci_common_2.composeRequest({
|
|
3656
4012
|
baseEndpoint: this._endpoint,
|
|
3657
4013
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3696,11 +4052,12 @@ class ManagementClient {
|
|
|
3696
4052
|
* @param UpdateSkillParameterRequest
|
|
3697
4053
|
* @return UpdateSkillParameterResponse
|
|
3698
4054
|
* @throws OciError when an error occurs
|
|
3699
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4055
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/UpdateSkillParameter.ts.html |here} to see how to use UpdateSkillParameter API.
|
|
3700
4056
|
*/
|
|
3701
4057
|
updateSkillParameter(updateSkillParameterRequest) {
|
|
3702
4058
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3703
|
-
|
|
4059
|
+
if (this.logger)
|
|
4060
|
+
this.logger.debug("Calling operation ManagementClient#updateSkillParameter.");
|
|
3704
4061
|
const operationName = "updateSkillParameter";
|
|
3705
4062
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/SkillParameter/UpdateSkillParameter";
|
|
3706
4063
|
const pathParams = {
|
|
@@ -3716,6 +4073,8 @@ class ManagementClient {
|
|
|
3716
4073
|
};
|
|
3717
4074
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3718
4075
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSkillParameterRequest.retryConfiguration, specRetryConfiguration);
|
|
4076
|
+
if (this.logger)
|
|
4077
|
+
retrier.logger = this.logger;
|
|
3719
4078
|
const request = yield oci_common_2.composeRequest({
|
|
3720
4079
|
baseEndpoint: this._endpoint,
|
|
3721
4080
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3760,11 +4119,12 @@ class ManagementClient {
|
|
|
3760
4119
|
* @param UpdateTranslatorRequest
|
|
3761
4120
|
* @return UpdateTranslatorResponse
|
|
3762
4121
|
* @throws OciError when an error occurs
|
|
3763
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4122
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/UpdateTranslator.ts.html |here} to see how to use UpdateTranslator API.
|
|
3764
4123
|
*/
|
|
3765
4124
|
updateTranslator(updateTranslatorRequest) {
|
|
3766
4125
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3767
|
-
|
|
4126
|
+
if (this.logger)
|
|
4127
|
+
this.logger.debug("Calling operation ManagementClient#updateTranslator.");
|
|
3768
4128
|
const operationName = "updateTranslator";
|
|
3769
4129
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Translator/UpdateTranslator";
|
|
3770
4130
|
const pathParams = {
|
|
@@ -3779,6 +4139,8 @@ class ManagementClient {
|
|
|
3779
4139
|
};
|
|
3780
4140
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3781
4141
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTranslatorRequest.retryConfiguration, specRetryConfiguration);
|
|
4142
|
+
if (this.logger)
|
|
4143
|
+
retrier.logger = this.logger;
|
|
3782
4144
|
const request = yield oci_common_2.composeRequest({
|
|
3783
4145
|
baseEndpoint: this._endpoint,
|
|
3784
4146
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3829,7 +4191,7 @@ var OdaApiKeys;
|
|
|
3829
4191
|
*/
|
|
3830
4192
|
class OdaClient {
|
|
3831
4193
|
constructor(params, clientConfiguration) {
|
|
3832
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
4194
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
3833
4195
|
this["_endpoint"] = "";
|
|
3834
4196
|
this["_defaultHeaders"] = {};
|
|
3835
4197
|
this._circuitBreaker = null;
|
|
@@ -3888,7 +4250,11 @@ class OdaClient {
|
|
|
3888
4250
|
set endpoint(endpoint) {
|
|
3889
4251
|
this._endpoint = endpoint;
|
|
3890
4252
|
this._endpoint = this._endpoint + "/20190506";
|
|
3891
|
-
|
|
4253
|
+
if (this.logger)
|
|
4254
|
+
this.logger.info(`OdaClient endpoint set to ${this._endpoint}`);
|
|
4255
|
+
}
|
|
4256
|
+
get logger() {
|
|
4257
|
+
return common.LOG.logger;
|
|
3892
4258
|
}
|
|
3893
4259
|
/**
|
|
3894
4260
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -3897,7 +4263,8 @@ class OdaClient {
|
|
|
3897
4263
|
*/
|
|
3898
4264
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
3899
4265
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
3900
|
-
|
|
4266
|
+
if (this.logger)
|
|
4267
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
3901
4268
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
3902
4269
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OdaClient.serviceEndpointTemplate, this._region, OdaClient.endpointServiceName);
|
|
3903
4270
|
}
|
|
@@ -3965,11 +4332,12 @@ class OdaClient {
|
|
|
3965
4332
|
* @param ChangeOdaInstanceCompartmentRequest
|
|
3966
4333
|
* @return ChangeOdaInstanceCompartmentResponse
|
|
3967
4334
|
* @throws OciError when an error occurs
|
|
3968
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ChangeOdaInstanceCompartment.ts.html |here} to see how to use ChangeOdaInstanceCompartment API.
|
|
3969
4336
|
*/
|
|
3970
4337
|
changeOdaInstanceCompartment(changeOdaInstanceCompartmentRequest) {
|
|
3971
4338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3972
|
-
|
|
4339
|
+
if (this.logger)
|
|
4340
|
+
this.logger.debug("Calling operation OdaClient#changeOdaInstanceCompartment.");
|
|
3973
4341
|
const operationName = "changeOdaInstanceCompartment";
|
|
3974
4342
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstance/ChangeOdaInstanceCompartment";
|
|
3975
4343
|
const pathParams = {
|
|
@@ -3984,6 +4352,8 @@ class OdaClient {
|
|
|
3984
4352
|
};
|
|
3985
4353
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3986
4354
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOdaInstanceCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
4355
|
+
if (this.logger)
|
|
4356
|
+
retrier.logger = this.logger;
|
|
3987
4357
|
const request = yield oci_common_2.composeRequest({
|
|
3988
4358
|
baseEndpoint: this._endpoint,
|
|
3989
4359
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4028,11 +4398,12 @@ class OdaClient {
|
|
|
4028
4398
|
* @param CreateOdaInstanceRequest
|
|
4029
4399
|
* @return CreateOdaInstanceResponse
|
|
4030
4400
|
* @throws OciError when an error occurs
|
|
4031
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4401
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CreateOdaInstance.ts.html |here} to see how to use CreateOdaInstance API.
|
|
4032
4402
|
*/
|
|
4033
4403
|
createOdaInstance(createOdaInstanceRequest) {
|
|
4034
4404
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4035
|
-
|
|
4405
|
+
if (this.logger)
|
|
4406
|
+
this.logger.debug("Calling operation OdaClient#createOdaInstance.");
|
|
4036
4407
|
const operationName = "createOdaInstance";
|
|
4037
4408
|
const apiReferenceLink = "";
|
|
4038
4409
|
const pathParams = {};
|
|
@@ -4044,6 +4415,8 @@ class OdaClient {
|
|
|
4044
4415
|
};
|
|
4045
4416
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4046
4417
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
4418
|
+
if (this.logger)
|
|
4419
|
+
retrier.logger = this.logger;
|
|
4047
4420
|
const request = yield oci_common_2.composeRequest({
|
|
4048
4421
|
baseEndpoint: this._endpoint,
|
|
4049
4422
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4102,11 +4475,12 @@ class OdaClient {
|
|
|
4102
4475
|
* @param CreateOdaInstanceAttachmentRequest
|
|
4103
4476
|
* @return CreateOdaInstanceAttachmentResponse
|
|
4104
4477
|
* @throws OciError when an error occurs
|
|
4105
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4478
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CreateOdaInstanceAttachment.ts.html |here} to see how to use CreateOdaInstanceAttachment API.
|
|
4106
4479
|
*/
|
|
4107
4480
|
createOdaInstanceAttachment(createOdaInstanceAttachmentRequest) {
|
|
4108
4481
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4109
|
-
|
|
4482
|
+
if (this.logger)
|
|
4483
|
+
this.logger.debug("Calling operation OdaClient#createOdaInstanceAttachment.");
|
|
4110
4484
|
const operationName = "createOdaInstanceAttachment";
|
|
4111
4485
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstanceAttachment/CreateOdaInstanceAttachment";
|
|
4112
4486
|
const pathParams = {
|
|
@@ -4120,6 +4494,8 @@ class OdaClient {
|
|
|
4120
4494
|
};
|
|
4121
4495
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4122
4496
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaInstanceAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
4497
|
+
if (this.logger)
|
|
4498
|
+
retrier.logger = this.logger;
|
|
4123
4499
|
const request = yield oci_common_2.composeRequest({
|
|
4124
4500
|
baseEndpoint: this._endpoint,
|
|
4125
4501
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4161,11 +4537,12 @@ class OdaClient {
|
|
|
4161
4537
|
* @param DeleteOdaInstanceRequest
|
|
4162
4538
|
* @return DeleteOdaInstanceResponse
|
|
4163
4539
|
* @throws OciError when an error occurs
|
|
4164
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4540
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/DeleteOdaInstance.ts.html |here} to see how to use DeleteOdaInstance API.
|
|
4165
4541
|
*/
|
|
4166
4542
|
deleteOdaInstance(deleteOdaInstanceRequest) {
|
|
4167
4543
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4168
|
-
|
|
4544
|
+
if (this.logger)
|
|
4545
|
+
this.logger.debug("Calling operation OdaClient#deleteOdaInstance.");
|
|
4169
4546
|
const operationName = "deleteOdaInstance";
|
|
4170
4547
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstance/DeleteOdaInstance";
|
|
4171
4548
|
const pathParams = {
|
|
@@ -4181,6 +4558,8 @@ class OdaClient {
|
|
|
4181
4558
|
};
|
|
4182
4559
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4183
4560
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
4561
|
+
if (this.logger)
|
|
4562
|
+
retrier.logger = this.logger;
|
|
4184
4563
|
const request = yield oci_common_2.composeRequest({
|
|
4185
4564
|
baseEndpoint: this._endpoint,
|
|
4186
4565
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4220,11 +4599,12 @@ class OdaClient {
|
|
|
4220
4599
|
* @param DeleteOdaInstanceAttachmentRequest
|
|
4221
4600
|
* @return DeleteOdaInstanceAttachmentResponse
|
|
4222
4601
|
* @throws OciError when an error occurs
|
|
4223
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4602
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/DeleteOdaInstanceAttachment.ts.html |here} to see how to use DeleteOdaInstanceAttachment API.
|
|
4224
4603
|
*/
|
|
4225
4604
|
deleteOdaInstanceAttachment(deleteOdaInstanceAttachmentRequest) {
|
|
4226
4605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4227
|
-
|
|
4606
|
+
if (this.logger)
|
|
4607
|
+
this.logger.debug("Calling operation OdaClient#deleteOdaInstanceAttachment.");
|
|
4228
4608
|
const operationName = "deleteOdaInstanceAttachment";
|
|
4229
4609
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstanceAttachment/DeleteOdaInstanceAttachment";
|
|
4230
4610
|
const pathParams = {
|
|
@@ -4239,6 +4619,8 @@ class OdaClient {
|
|
|
4239
4619
|
};
|
|
4240
4620
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4241
4621
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaInstanceAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
4622
|
+
if (this.logger)
|
|
4623
|
+
retrier.logger = this.logger;
|
|
4242
4624
|
const request = yield oci_common_2.composeRequest({
|
|
4243
4625
|
baseEndpoint: this._endpoint,
|
|
4244
4626
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4278,11 +4660,12 @@ class OdaClient {
|
|
|
4278
4660
|
* @param GetOdaInstanceRequest
|
|
4279
4661
|
* @return GetOdaInstanceResponse
|
|
4280
4662
|
* @throws OciError when an error occurs
|
|
4281
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4663
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetOdaInstance.ts.html |here} to see how to use GetOdaInstance API.
|
|
4282
4664
|
*/
|
|
4283
4665
|
getOdaInstance(getOdaInstanceRequest) {
|
|
4284
4666
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4285
|
-
|
|
4667
|
+
if (this.logger)
|
|
4668
|
+
this.logger.debug("Calling operation OdaClient#getOdaInstance.");
|
|
4286
4669
|
const operationName = "getOdaInstance";
|
|
4287
4670
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstance/GetOdaInstance";
|
|
4288
4671
|
const pathParams = {
|
|
@@ -4295,6 +4678,8 @@ class OdaClient {
|
|
|
4295
4678
|
};
|
|
4296
4679
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4297
4680
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
4681
|
+
if (this.logger)
|
|
4682
|
+
retrier.logger = this.logger;
|
|
4298
4683
|
const request = yield oci_common_2.composeRequest({
|
|
4299
4684
|
baseEndpoint: this._endpoint,
|
|
4300
4685
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4338,11 +4723,12 @@ class OdaClient {
|
|
|
4338
4723
|
* @param GetOdaInstanceAttachmentRequest
|
|
4339
4724
|
* @return GetOdaInstanceAttachmentResponse
|
|
4340
4725
|
* @throws OciError when an error occurs
|
|
4341
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4726
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetOdaInstanceAttachment.ts.html |here} to see how to use GetOdaInstanceAttachment API.
|
|
4342
4727
|
*/
|
|
4343
4728
|
getOdaInstanceAttachment(getOdaInstanceAttachmentRequest) {
|
|
4344
4729
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4345
|
-
|
|
4730
|
+
if (this.logger)
|
|
4731
|
+
this.logger.debug("Calling operation OdaClient#getOdaInstanceAttachment.");
|
|
4346
4732
|
const operationName = "getOdaInstanceAttachment";
|
|
4347
4733
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstanceAttachment/GetOdaInstanceAttachment";
|
|
4348
4734
|
const pathParams = {
|
|
@@ -4358,6 +4744,8 @@ class OdaClient {
|
|
|
4358
4744
|
};
|
|
4359
4745
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4360
4746
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaInstanceAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
4747
|
+
if (this.logger)
|
|
4748
|
+
retrier.logger = this.logger;
|
|
4361
4749
|
const request = yield oci_common_2.composeRequest({
|
|
4362
4750
|
baseEndpoint: this._endpoint,
|
|
4363
4751
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4405,11 +4793,12 @@ class OdaClient {
|
|
|
4405
4793
|
* @param GetWorkRequestRequest
|
|
4406
4794
|
* @return GetWorkRequestResponse
|
|
4407
4795
|
* @throws OciError when an error occurs
|
|
4408
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4796
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
4409
4797
|
*/
|
|
4410
4798
|
getWorkRequest(getWorkRequestRequest) {
|
|
4411
4799
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4412
|
-
|
|
4800
|
+
if (this.logger)
|
|
4801
|
+
this.logger.debug("Calling operation OdaClient#getWorkRequest.");
|
|
4413
4802
|
const operationName = "getWorkRequest";
|
|
4414
4803
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/WorkRequest/GetWorkRequest";
|
|
4415
4804
|
const pathParams = {
|
|
@@ -4422,6 +4811,8 @@ class OdaClient {
|
|
|
4422
4811
|
};
|
|
4423
4812
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4424
4813
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
4814
|
+
if (this.logger)
|
|
4815
|
+
retrier.logger = this.logger;
|
|
4425
4816
|
const request = yield oci_common_2.composeRequest({
|
|
4426
4817
|
baseEndpoint: this._endpoint,
|
|
4427
4818
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4466,11 +4857,12 @@ class OdaClient {
|
|
|
4466
4857
|
* @param ListOdaInstanceAttachmentsRequest
|
|
4467
4858
|
* @return ListOdaInstanceAttachmentsResponse
|
|
4468
4859
|
* @throws OciError when an error occurs
|
|
4469
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4860
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListOdaInstanceAttachments.ts.html |here} to see how to use ListOdaInstanceAttachments API.
|
|
4470
4861
|
*/
|
|
4471
4862
|
listOdaInstanceAttachments(listOdaInstanceAttachmentsRequest) {
|
|
4472
4863
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4473
|
-
|
|
4864
|
+
if (this.logger)
|
|
4865
|
+
this.logger.debug("Calling operation OdaClient#listOdaInstanceAttachments.");
|
|
4474
4866
|
const operationName = "listOdaInstanceAttachments";
|
|
4475
4867
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstanceAttachmentCollection/ListOdaInstanceAttachments";
|
|
4476
4868
|
const pathParams = {
|
|
@@ -4490,6 +4882,8 @@ class OdaClient {
|
|
|
4490
4882
|
};
|
|
4491
4883
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4492
4884
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaInstanceAttachmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
4885
|
+
if (this.logger)
|
|
4886
|
+
retrier.logger = this.logger;
|
|
4493
4887
|
const request = yield oci_common_2.composeRequest({
|
|
4494
4888
|
baseEndpoint: this._endpoint,
|
|
4495
4889
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4544,11 +4938,12 @@ class OdaClient {
|
|
|
4544
4938
|
* @param ListOdaInstancesRequest
|
|
4545
4939
|
* @return ListOdaInstancesResponse
|
|
4546
4940
|
* @throws OciError when an error occurs
|
|
4547
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4941
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListOdaInstances.ts.html |here} to see how to use ListOdaInstances API.
|
|
4548
4942
|
*/
|
|
4549
4943
|
listOdaInstances(listOdaInstancesRequest) {
|
|
4550
4944
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4551
|
-
|
|
4945
|
+
if (this.logger)
|
|
4946
|
+
this.logger.debug("Calling operation OdaClient#listOdaInstances.");
|
|
4552
4947
|
const operationName = "listOdaInstances";
|
|
4553
4948
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstanceSummary/ListOdaInstances";
|
|
4554
4949
|
const pathParams = {};
|
|
@@ -4567,6 +4962,8 @@ class OdaClient {
|
|
|
4567
4962
|
};
|
|
4568
4963
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4569
4964
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaInstancesRequest.retryConfiguration, specRetryConfiguration);
|
|
4965
|
+
if (this.logger)
|
|
4966
|
+
retrier.logger = this.logger;
|
|
4570
4967
|
const request = yield oci_common_2.composeRequest({
|
|
4571
4968
|
baseEndpoint: this._endpoint,
|
|
4572
4969
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4660,11 +5057,12 @@ class OdaClient {
|
|
|
4660
5057
|
* @param ListWorkRequestErrorsRequest
|
|
4661
5058
|
* @return ListWorkRequestErrorsResponse
|
|
4662
5059
|
* @throws OciError when an error occurs
|
|
4663
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5060
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
4664
5061
|
*/
|
|
4665
5062
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
4666
5063
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4667
|
-
|
|
5064
|
+
if (this.logger)
|
|
5065
|
+
this.logger.debug("Calling operation OdaClient#listWorkRequestErrors.");
|
|
4668
5066
|
const operationName = "listWorkRequestErrors";
|
|
4669
5067
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/WorkRequestError/ListWorkRequestErrors";
|
|
4670
5068
|
const pathParams = {
|
|
@@ -4682,6 +5080,8 @@ class OdaClient {
|
|
|
4682
5080
|
};
|
|
4683
5081
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4684
5082
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
5083
|
+
if (this.logger)
|
|
5084
|
+
retrier.logger = this.logger;
|
|
4685
5085
|
const request = yield oci_common_2.composeRequest({
|
|
4686
5086
|
baseEndpoint: this._endpoint,
|
|
4687
5087
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4775,11 +5175,12 @@ class OdaClient {
|
|
|
4775
5175
|
* @param ListWorkRequestLogsRequest
|
|
4776
5176
|
* @return ListWorkRequestLogsResponse
|
|
4777
5177
|
* @throws OciError when an error occurs
|
|
4778
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5178
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
4779
5179
|
*/
|
|
4780
5180
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
4781
5181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4782
|
-
|
|
5182
|
+
if (this.logger)
|
|
5183
|
+
this.logger.debug("Calling operation OdaClient#listWorkRequestLogs.");
|
|
4783
5184
|
const operationName = "listWorkRequestLogs";
|
|
4784
5185
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
4785
5186
|
const pathParams = {
|
|
@@ -4797,6 +5198,8 @@ class OdaClient {
|
|
|
4797
5198
|
};
|
|
4798
5199
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4799
5200
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
5201
|
+
if (this.logger)
|
|
5202
|
+
retrier.logger = this.logger;
|
|
4800
5203
|
const request = yield oci_common_2.composeRequest({
|
|
4801
5204
|
baseEndpoint: this._endpoint,
|
|
4802
5205
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -4890,11 +5293,12 @@ class OdaClient {
|
|
|
4890
5293
|
* @param ListWorkRequestsRequest
|
|
4891
5294
|
* @return ListWorkRequestsResponse
|
|
4892
5295
|
* @throws OciError when an error occurs
|
|
4893
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5296
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
4894
5297
|
*/
|
|
4895
5298
|
listWorkRequests(listWorkRequestsRequest) {
|
|
4896
5299
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4897
|
-
|
|
5300
|
+
if (this.logger)
|
|
5301
|
+
this.logger.debug("Calling operation OdaClient#listWorkRequests.");
|
|
4898
5302
|
const operationName = "listWorkRequests";
|
|
4899
5303
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/WorkRequest/ListWorkRequests";
|
|
4900
5304
|
const pathParams = {};
|
|
@@ -4913,6 +5317,8 @@ class OdaClient {
|
|
|
4913
5317
|
};
|
|
4914
5318
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4915
5319
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
5320
|
+
if (this.logger)
|
|
5321
|
+
retrier.logger = this.logger;
|
|
4916
5322
|
const request = yield oci_common_2.composeRequest({
|
|
4917
5323
|
baseEndpoint: this._endpoint,
|
|
4918
5324
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5003,11 +5409,12 @@ class OdaClient {
|
|
|
5003
5409
|
* @param StartOdaInstanceRequest
|
|
5004
5410
|
* @return StartOdaInstanceResponse
|
|
5005
5411
|
* @throws OciError when an error occurs
|
|
5006
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5412
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/StartOdaInstance.ts.html |here} to see how to use StartOdaInstance API.
|
|
5007
5413
|
*/
|
|
5008
5414
|
startOdaInstance(startOdaInstanceRequest) {
|
|
5009
5415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5010
|
-
|
|
5416
|
+
if (this.logger)
|
|
5417
|
+
this.logger.debug("Calling operation OdaClient#startOdaInstance.");
|
|
5011
5418
|
const operationName = "startOdaInstance";
|
|
5012
5419
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstance/StartOdaInstance";
|
|
5013
5420
|
const pathParams = {
|
|
@@ -5022,6 +5429,8 @@ class OdaClient {
|
|
|
5022
5429
|
};
|
|
5023
5430
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5024
5431
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
5432
|
+
if (this.logger)
|
|
5433
|
+
retrier.logger = this.logger;
|
|
5025
5434
|
const request = yield oci_common_2.composeRequest({
|
|
5026
5435
|
baseEndpoint: this._endpoint,
|
|
5027
5436
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5064,11 +5473,12 @@ class OdaClient {
|
|
|
5064
5473
|
* @param StopOdaInstanceRequest
|
|
5065
5474
|
* @return StopOdaInstanceResponse
|
|
5066
5475
|
* @throws OciError when an error occurs
|
|
5067
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5476
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/StopOdaInstance.ts.html |here} to see how to use StopOdaInstance API.
|
|
5068
5477
|
*/
|
|
5069
5478
|
stopOdaInstance(stopOdaInstanceRequest) {
|
|
5070
5479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5071
|
-
|
|
5480
|
+
if (this.logger)
|
|
5481
|
+
this.logger.debug("Calling operation OdaClient#stopOdaInstance.");
|
|
5072
5482
|
const operationName = "stopOdaInstance";
|
|
5073
5483
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstance/StopOdaInstance";
|
|
5074
5484
|
const pathParams = {
|
|
@@ -5083,6 +5493,8 @@ class OdaClient {
|
|
|
5083
5493
|
};
|
|
5084
5494
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5085
5495
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
5496
|
+
if (this.logger)
|
|
5497
|
+
retrier.logger = this.logger;
|
|
5086
5498
|
const request = yield oci_common_2.composeRequest({
|
|
5087
5499
|
baseEndpoint: this._endpoint,
|
|
5088
5500
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5122,11 +5534,12 @@ class OdaClient {
|
|
|
5122
5534
|
* @param UpdateOdaInstanceRequest
|
|
5123
5535
|
* @return UpdateOdaInstanceResponse
|
|
5124
5536
|
* @throws OciError when an error occurs
|
|
5125
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5537
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/UpdateOdaInstance.ts.html |here} to see how to use UpdateOdaInstance API.
|
|
5126
5538
|
*/
|
|
5127
5539
|
updateOdaInstance(updateOdaInstanceRequest) {
|
|
5128
5540
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5129
|
-
|
|
5541
|
+
if (this.logger)
|
|
5542
|
+
this.logger.debug("Calling operation OdaClient#updateOdaInstance.");
|
|
5130
5543
|
const operationName = "updateOdaInstance";
|
|
5131
5544
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstance/UpdateOdaInstance";
|
|
5132
5545
|
const pathParams = {
|
|
@@ -5140,6 +5553,8 @@ class OdaClient {
|
|
|
5140
5553
|
};
|
|
5141
5554
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5142
5555
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
5556
|
+
if (this.logger)
|
|
5557
|
+
retrier.logger = this.logger;
|
|
5143
5558
|
const request = yield oci_common_2.composeRequest({
|
|
5144
5559
|
baseEndpoint: this._endpoint,
|
|
5145
5560
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5184,11 +5599,12 @@ class OdaClient {
|
|
|
5184
5599
|
* @param UpdateOdaInstanceAttachmentRequest
|
|
5185
5600
|
* @return UpdateOdaInstanceAttachmentResponse
|
|
5186
5601
|
* @throws OciError when an error occurs
|
|
5187
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5602
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/UpdateOdaInstanceAttachment.ts.html |here} to see how to use UpdateOdaInstanceAttachment API.
|
|
5188
5603
|
*/
|
|
5189
5604
|
updateOdaInstanceAttachment(updateOdaInstanceAttachmentRequest) {
|
|
5190
5605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5191
|
-
|
|
5606
|
+
if (this.logger)
|
|
5607
|
+
this.logger.debug("Calling operation OdaClient#updateOdaInstanceAttachment.");
|
|
5192
5608
|
const operationName = "updateOdaInstanceAttachment";
|
|
5193
5609
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstanceAttachment/UpdateOdaInstanceAttachment";
|
|
5194
5610
|
const pathParams = {
|
|
@@ -5203,6 +5619,8 @@ class OdaClient {
|
|
|
5203
5619
|
};
|
|
5204
5620
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5205
5621
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOdaInstanceAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
5622
|
+
if (this.logger)
|
|
5623
|
+
retrier.logger = this.logger;
|
|
5206
5624
|
const request = yield oci_common_2.composeRequest({
|
|
5207
5625
|
baseEndpoint: this._endpoint,
|
|
5208
5626
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5249,7 +5667,7 @@ var OdapackageApiKeys;
|
|
|
5249
5667
|
*/
|
|
5250
5668
|
class OdapackageClient {
|
|
5251
5669
|
constructor(params, clientConfiguration) {
|
|
5252
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
5670
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
5253
5671
|
this["_endpoint"] = "";
|
|
5254
5672
|
this["_defaultHeaders"] = {};
|
|
5255
5673
|
this._circuitBreaker = null;
|
|
@@ -5308,7 +5726,11 @@ class OdapackageClient {
|
|
|
5308
5726
|
set endpoint(endpoint) {
|
|
5309
5727
|
this._endpoint = endpoint;
|
|
5310
5728
|
this._endpoint = this._endpoint + "/20190506";
|
|
5311
|
-
|
|
5729
|
+
if (this.logger)
|
|
5730
|
+
this.logger.info(`OdapackageClient endpoint set to ${this._endpoint}`);
|
|
5731
|
+
}
|
|
5732
|
+
get logger() {
|
|
5733
|
+
return common.LOG.logger;
|
|
5312
5734
|
}
|
|
5313
5735
|
/**
|
|
5314
5736
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -5317,7 +5739,8 @@ class OdapackageClient {
|
|
|
5317
5739
|
*/
|
|
5318
5740
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
5319
5741
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
5320
|
-
|
|
5742
|
+
if (this.logger)
|
|
5743
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
5321
5744
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
5322
5745
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OdapackageClient.serviceEndpointTemplate, this._region, OdapackageClient.endpointServiceName);
|
|
5323
5746
|
}
|
|
@@ -5366,11 +5789,12 @@ class OdapackageClient {
|
|
|
5366
5789
|
* @param CreateImportedPackageRequest
|
|
5367
5790
|
* @return CreateImportedPackageResponse
|
|
5368
5791
|
* @throws OciError when an error occurs
|
|
5369
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5792
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/CreateImportedPackage.ts.html |here} to see how to use CreateImportedPackage API.
|
|
5370
5793
|
*/
|
|
5371
5794
|
createImportedPackage(createImportedPackageRequest) {
|
|
5372
5795
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5373
|
-
|
|
5796
|
+
if (this.logger)
|
|
5797
|
+
this.logger.debug("Calling operation OdapackageClient#createImportedPackage.");
|
|
5374
5798
|
const operationName = "createImportedPackage";
|
|
5375
5799
|
const apiReferenceLink = "";
|
|
5376
5800
|
const pathParams = {
|
|
@@ -5384,6 +5808,8 @@ class OdapackageClient {
|
|
|
5384
5808
|
};
|
|
5385
5809
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5386
5810
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createImportedPackageRequest.retryConfiguration, specRetryConfiguration);
|
|
5811
|
+
if (this.logger)
|
|
5812
|
+
retrier.logger = this.logger;
|
|
5387
5813
|
const request = yield oci_common_2.composeRequest({
|
|
5388
5814
|
baseEndpoint: this._endpoint,
|
|
5389
5815
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5442,11 +5868,12 @@ class OdapackageClient {
|
|
|
5442
5868
|
* @param DeleteImportedPackageRequest
|
|
5443
5869
|
* @return DeleteImportedPackageResponse
|
|
5444
5870
|
* @throws OciError when an error occurs
|
|
5445
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5871
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/DeleteImportedPackage.ts.html |here} to see how to use DeleteImportedPackage API.
|
|
5446
5872
|
*/
|
|
5447
5873
|
deleteImportedPackage(deleteImportedPackageRequest) {
|
|
5448
5874
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5449
|
-
|
|
5875
|
+
if (this.logger)
|
|
5876
|
+
this.logger.debug("Calling operation OdapackageClient#deleteImportedPackage.");
|
|
5450
5877
|
const operationName = "deleteImportedPackage";
|
|
5451
5878
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/ImportedPackage/DeleteImportedPackage";
|
|
5452
5879
|
const pathParams = {
|
|
@@ -5462,6 +5889,8 @@ class OdapackageClient {
|
|
|
5462
5889
|
};
|
|
5463
5890
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5464
5891
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteImportedPackageRequest.retryConfiguration, specRetryConfiguration);
|
|
5892
|
+
if (this.logger)
|
|
5893
|
+
retrier.logger = this.logger;
|
|
5465
5894
|
const request = yield oci_common_2.composeRequest({
|
|
5466
5895
|
baseEndpoint: this._endpoint,
|
|
5467
5896
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5502,11 +5931,12 @@ class OdapackageClient {
|
|
|
5502
5931
|
* @param GetImportedPackageRequest
|
|
5503
5932
|
* @return GetImportedPackageResponse
|
|
5504
5933
|
* @throws OciError when an error occurs
|
|
5505
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5934
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetImportedPackage.ts.html |here} to see how to use GetImportedPackage API.
|
|
5506
5935
|
*/
|
|
5507
5936
|
getImportedPackage(getImportedPackageRequest) {
|
|
5508
5937
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5509
|
-
|
|
5938
|
+
if (this.logger)
|
|
5939
|
+
this.logger.debug("Calling operation OdapackageClient#getImportedPackage.");
|
|
5510
5940
|
const operationName = "getImportedPackage";
|
|
5511
5941
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/ImportedPackage/GetImportedPackage";
|
|
5512
5942
|
const pathParams = {
|
|
@@ -5520,6 +5950,8 @@ class OdapackageClient {
|
|
|
5520
5950
|
};
|
|
5521
5951
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5522
5952
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getImportedPackageRequest.retryConfiguration, specRetryConfiguration);
|
|
5953
|
+
if (this.logger)
|
|
5954
|
+
retrier.logger = this.logger;
|
|
5523
5955
|
const request = yield oci_common_2.composeRequest({
|
|
5524
5956
|
baseEndpoint: this._endpoint,
|
|
5525
5957
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5564,11 +5996,12 @@ class OdapackageClient {
|
|
|
5564
5996
|
* @param GetPackageRequest
|
|
5565
5997
|
* @return GetPackageResponse
|
|
5566
5998
|
* @throws OciError when an error occurs
|
|
5567
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5999
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/GetPackage.ts.html |here} to see how to use GetPackage API.
|
|
5568
6000
|
*/
|
|
5569
6001
|
getPackage(getPackageRequest) {
|
|
5570
6002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5571
|
-
|
|
6003
|
+
if (this.logger)
|
|
6004
|
+
this.logger.debug("Calling operation OdapackageClient#getPackage.");
|
|
5572
6005
|
const operationName = "getPackage";
|
|
5573
6006
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Package/GetPackage";
|
|
5574
6007
|
const pathParams = {
|
|
@@ -5582,6 +6015,8 @@ class OdapackageClient {
|
|
|
5582
6015
|
};
|
|
5583
6016
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5584
6017
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPackageRequest.retryConfiguration, specRetryConfiguration);
|
|
6018
|
+
if (this.logger)
|
|
6019
|
+
retrier.logger = this.logger;
|
|
5585
6020
|
const request = yield oci_common_2.composeRequest({
|
|
5586
6021
|
baseEndpoint: this._endpoint,
|
|
5587
6022
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5621,11 +6056,12 @@ class OdapackageClient {
|
|
|
5621
6056
|
* @param ListImportedPackagesRequest
|
|
5622
6057
|
* @return ListImportedPackagesResponse
|
|
5623
6058
|
* @throws OciError when an error occurs
|
|
5624
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6059
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListImportedPackages.ts.html |here} to see how to use ListImportedPackages API.
|
|
5625
6060
|
*/
|
|
5626
6061
|
listImportedPackages(listImportedPackagesRequest) {
|
|
5627
6062
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5628
|
-
|
|
6063
|
+
if (this.logger)
|
|
6064
|
+
this.logger.debug("Calling operation OdapackageClient#listImportedPackages.");
|
|
5629
6065
|
const operationName = "listImportedPackages";
|
|
5630
6066
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/ImportedPackageSummary/ListImportedPackages";
|
|
5631
6067
|
const pathParams = {
|
|
@@ -5644,6 +6080,8 @@ class OdapackageClient {
|
|
|
5644
6080
|
};
|
|
5645
6081
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5646
6082
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listImportedPackagesRequest.retryConfiguration, specRetryConfiguration);
|
|
6083
|
+
if (this.logger)
|
|
6084
|
+
retrier.logger = this.logger;
|
|
5647
6085
|
const request = yield oci_common_2.composeRequest({
|
|
5648
6086
|
baseEndpoint: this._endpoint,
|
|
5649
6087
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5741,11 +6179,12 @@ class OdapackageClient {
|
|
|
5741
6179
|
* @param ListPackagesRequest
|
|
5742
6180
|
* @return ListPackagesResponse
|
|
5743
6181
|
* @throws OciError when an error occurs
|
|
5744
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6182
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/ListPackages.ts.html |here} to see how to use ListPackages API.
|
|
5745
6183
|
*/
|
|
5746
6184
|
listPackages(listPackagesRequest) {
|
|
5747
6185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5748
|
-
|
|
6186
|
+
if (this.logger)
|
|
6187
|
+
this.logger.debug("Calling operation OdapackageClient#listPackages.");
|
|
5749
6188
|
const operationName = "listPackages";
|
|
5750
6189
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/PackageSummary/ListPackages";
|
|
5751
6190
|
const pathParams = {};
|
|
@@ -5767,6 +6206,8 @@ class OdapackageClient {
|
|
|
5767
6206
|
};
|
|
5768
6207
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5769
6208
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPackagesRequest.retryConfiguration, specRetryConfiguration);
|
|
6209
|
+
if (this.logger)
|
|
6210
|
+
retrier.logger = this.logger;
|
|
5770
6211
|
const request = yield oci_common_2.composeRequest({
|
|
5771
6212
|
baseEndpoint: this._endpoint,
|
|
5772
6213
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -5859,11 +6300,12 @@ class OdapackageClient {
|
|
|
5859
6300
|
* @param UpdateImportedPackageRequest
|
|
5860
6301
|
* @return UpdateImportedPackageResponse
|
|
5861
6302
|
* @throws OciError when an error occurs
|
|
5862
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6303
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/oda/UpdateImportedPackage.ts.html |here} to see how to use UpdateImportedPackage API.
|
|
5863
6304
|
*/
|
|
5864
6305
|
updateImportedPackage(updateImportedPackageRequest) {
|
|
5865
6306
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5866
|
-
|
|
6307
|
+
if (this.logger)
|
|
6308
|
+
this.logger.debug("Calling operation OdapackageClient#updateImportedPackage.");
|
|
5867
6309
|
const operationName = "updateImportedPackage";
|
|
5868
6310
|
const apiReferenceLink = "";
|
|
5869
6311
|
const pathParams = {
|
|
@@ -5881,6 +6323,8 @@ class OdapackageClient {
|
|
|
5881
6323
|
};
|
|
5882
6324
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5883
6325
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateImportedPackageRequest.retryConfiguration, specRetryConfiguration);
|
|
6326
|
+
if (this.logger)
|
|
6327
|
+
retrier.logger = this.logger;
|
|
5884
6328
|
const request = yield oci_common_2.composeRequest({
|
|
5885
6329
|
baseEndpoint: this._endpoint,
|
|
5886
6330
|
defaultHeaders: this._defaultHeaders,
|