oci-mediaservices 2.78.0 → 2.79.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 +190 -68
- package/lib/client.js +1629 -822
- package/lib/client.js.map +1 -1
- package/lib/model/{media-workflow-job-fact.d.ts → add-lock-details.d.ts} +24 -19
- package/lib/model/{media-workflow-job-fact-summary.js → add-lock-details.js} +12 -7
- package/lib/model/add-lock-details.js.map +1 -0
- package/lib/model/create-media-asset-details.d.ts +4 -0
- package/lib/model/create-media-asset-details.js +10 -0
- package/lib/model/create-media-asset-details.js.map +1 -1
- package/lib/model/create-media-workflow-configuration-details.d.ts +5 -0
- package/lib/model/create-media-workflow-configuration-details.js +34 -2
- package/lib/model/create-media-workflow-configuration-details.js.map +1 -1
- package/lib/model/create-media-workflow-details.d.ts +4 -0
- package/lib/model/create-media-workflow-details.js +10 -0
- package/lib/model/create-media-workflow-details.js.map +1 -1
- package/lib/model/create-media-workflow-job-details.d.ts +5 -0
- package/lib/model/create-media-workflow-job-details.js +14 -2
- package/lib/model/create-media-workflow-job-details.js.map +1 -1
- package/lib/model/create-stream-cdn-config-details.d.ts +4 -0
- package/lib/model/create-stream-cdn-config-details.js +11 -1
- package/lib/model/create-stream-cdn-config-details.js.map +1 -1
- package/lib/model/create-stream-distribution-channel-details.d.ts +5 -0
- package/lib/model/create-stream-distribution-channel-details.js +34 -2
- package/lib/model/create-stream-distribution-channel-details.js.map +1 -1
- package/lib/model/create-stream-packaging-config-details.d.ts +4 -0
- package/lib/model/create-stream-packaging-config-details.js +10 -0
- package/lib/model/create-stream-packaging-config-details.js.map +1 -1
- package/lib/model/index.d.ts +6 -8
- package/lib/model/index.js +8 -10
- package/lib/model/index.js.map +1 -1
- package/lib/model/job-output.d.ts +1 -0
- package/lib/model/job-output.js +1 -0
- package/lib/model/job-output.js.map +1 -1
- package/lib/model/media-asset-distribution-channel-attachment-summary.d.ts +5 -0
- package/lib/model/media-asset-distribution-channel-attachment-summary.js +34 -2
- package/lib/model/media-asset-distribution-channel-attachment-summary.js.map +1 -1
- package/lib/model/media-asset-distribution-channel-attachment.d.ts +5 -0
- package/lib/model/media-asset-distribution-channel-attachment.js +34 -2
- package/lib/model/media-asset-distribution-channel-attachment.js.map +1 -1
- package/lib/model/media-asset-summary.d.ts +4 -0
- package/lib/model/media-asset-summary.js +34 -2
- package/lib/model/media-asset-summary.js.map +1 -1
- package/lib/model/media-asset.d.ts +4 -0
- package/lib/model/media-asset.js +10 -0
- package/lib/model/media-asset.js.map +1 -1
- package/lib/model/media-workflow-configuration-summary.d.ts +5 -0
- package/lib/model/media-workflow-configuration-summary.js +34 -2
- package/lib/model/media-workflow-configuration-summary.js.map +1 -1
- package/lib/model/media-workflow-configuration.d.ts +5 -0
- package/lib/model/media-workflow-configuration.js +34 -2
- package/lib/model/media-workflow-configuration.js.map +1 -1
- package/lib/model/media-workflow-job-summary.d.ts +5 -0
- package/lib/model/media-workflow-job-summary.js +34 -2
- package/lib/model/media-workflow-job-summary.js.map +1 -1
- package/lib/model/media-workflow-job.d.ts +5 -0
- package/lib/model/media-workflow-job.js +11 -0
- package/lib/model/media-workflow-job.js.map +1 -1
- package/lib/model/media-workflow-summary.d.ts +5 -0
- package/lib/model/media-workflow-summary.js +34 -2
- package/lib/model/media-workflow-summary.js.map +1 -1
- package/lib/model/media-workflow-task-declaration.d.ts +5 -0
- package/lib/model/media-workflow-task-declaration.js +34 -2
- package/lib/model/media-workflow-task-declaration.js.map +1 -1
- package/lib/model/media-workflow-task.d.ts +2 -2
- package/lib/model/media-workflow.d.ts +5 -1
- package/lib/model/media-workflow.js +10 -0
- package/lib/model/media-workflow.js.map +1 -1
- package/lib/model/{media-workflow-job-fact-summary.d.ts → remove-lock-details.d.ts} +24 -13
- package/lib/model/{media-workflow-job-fact.js → remove-lock-details.js} +12 -7
- package/lib/model/remove-lock-details.js.map +1 -0
- package/lib/model/resource-lock.d.ts +59 -0
- package/lib/model/{media-workflow-job-fact-sort-by.js → resource-lock.js} +21 -15
- package/lib/model/resource-lock.js.map +1 -0
- package/lib/model/stream-cdn-config-summary.d.ts +5 -0
- package/lib/model/stream-cdn-config-summary.js +34 -2
- package/lib/model/stream-cdn-config-summary.js.map +1 -1
- package/lib/model/stream-cdn-config.d.ts +4 -0
- package/lib/model/stream-cdn-config.js +11 -1
- package/lib/model/stream-cdn-config.js.map +1 -1
- package/lib/model/stream-distribution-channel-summary.d.ts +5 -0
- package/lib/model/stream-distribution-channel-summary.js +34 -2
- package/lib/model/stream-distribution-channel-summary.js.map +1 -1
- package/lib/model/stream-distribution-channel.d.ts +5 -0
- package/lib/model/stream-distribution-channel.js +34 -2
- package/lib/model/stream-distribution-channel.js.map +1 -1
- package/lib/model/stream-packaging-config-summary.d.ts +5 -0
- package/lib/model/stream-packaging-config-summary.js +34 -2
- package/lib/model/stream-packaging-config-summary.js.map +1 -1
- package/lib/model/stream-packaging-config.d.ts +4 -0
- package/lib/model/stream-packaging-config.js +10 -0
- package/lib/model/stream-packaging-config.js.map +1 -1
- package/lib/model/system-media-workflow.d.ts +4 -0
- package/lib/model/system-media-workflow.js +10 -0
- package/lib/model/system-media-workflow.js.map +1 -1
- package/lib/request/add-media-asset-lock-request.d.ts +49 -0
- package/lib/request/{get-media-workflow-job-fact-request.js → add-media-asset-lock-request.js} +1 -1
- package/lib/request/add-media-asset-lock-request.js.map +1 -0
- package/lib/request/add-media-workflow-configuration-lock-request.d.ts +49 -0
- package/lib/request/add-media-workflow-configuration-lock-request.js +15 -0
- package/lib/request/add-media-workflow-configuration-lock-request.js.map +1 -0
- package/lib/request/add-media-workflow-job-lock-request.d.ts +49 -0
- package/lib/{response/get-media-workflow-job-fact-response.js → request/add-media-workflow-job-lock-request.js} +1 -1
- package/lib/request/add-media-workflow-job-lock-request.js.map +1 -0
- package/lib/request/add-media-workflow-lock-request.d.ts +49 -0
- package/lib/{response/list-media-workflow-job-facts-response.js → request/add-media-workflow-lock-request.js} +1 -1
- package/lib/request/add-media-workflow-lock-request.js.map +1 -0
- package/lib/request/add-stream-cdn-config-lock-request.d.ts +49 -0
- package/lib/request/add-stream-cdn-config-lock-request.js +15 -0
- package/lib/request/add-stream-cdn-config-lock-request.js.map +1 -0
- package/lib/request/add-stream-distribution-channel-lock-request.d.ts +49 -0
- package/lib/request/add-stream-distribution-channel-lock-request.js +15 -0
- package/lib/request/add-stream-distribution-channel-lock-request.js.map +1 -0
- package/lib/request/add-stream-packaging-config-lock-request.d.ts +49 -0
- package/lib/request/add-stream-packaging-config-lock-request.js +15 -0
- package/lib/request/add-stream-packaging-config-lock-request.js.map +1 -0
- package/lib/request/change-media-asset-compartment-request.d.ts +5 -1
- package/lib/request/change-media-workflow-compartment-request.d.ts +5 -1
- package/lib/request/change-media-workflow-configuration-compartment-request.d.ts +5 -1
- package/lib/request/change-media-workflow-job-compartment-request.d.ts +5 -1
- package/lib/request/change-stream-distribution-channel-compartment-request.d.ts +5 -1
- package/lib/request/create-media-asset-request.d.ts +1 -1
- package/lib/request/create-media-workflow-configuration-request.d.ts +1 -1
- package/lib/request/create-media-workflow-job-request.d.ts +1 -1
- package/lib/request/create-media-workflow-request.d.ts +1 -1
- package/lib/request/create-stream-cdn-config-request.d.ts +1 -1
- package/lib/request/create-stream-distribution-channel-request.d.ts +1 -1
- package/lib/request/create-stream-packaging-config-request.d.ts +1 -1
- package/lib/request/delete-media-asset-distribution-channel-attachment-request.d.ts +5 -1
- package/lib/request/delete-media-asset-request.d.ts +5 -1
- package/lib/request/delete-media-workflow-configuration-request.d.ts +5 -1
- package/lib/request/delete-media-workflow-job-request.d.ts +5 -1
- package/lib/request/delete-media-workflow-request.d.ts +5 -1
- package/lib/request/delete-stream-cdn-config-request.d.ts +5 -1
- package/lib/request/delete-stream-distribution-channel-request.d.ts +5 -1
- package/lib/request/delete-stream-packaging-config-request.d.ts +5 -1
- package/lib/request/generate-playlist-request.d.ts +1 -1
- package/lib/request/generate-session-token-request.d.ts +1 -1
- package/lib/request/get-media-asset-distribution-channel-attachment-request.d.ts +1 -1
- package/lib/request/get-media-asset-request.d.ts +1 -1
- package/lib/request/get-media-workflow-configuration-request.d.ts +1 -1
- package/lib/request/get-media-workflow-job-request.d.ts +1 -1
- package/lib/request/get-media-workflow-request.d.ts +1 -1
- package/lib/request/get-stream-cdn-config-request.d.ts +1 -1
- package/lib/request/get-stream-distribution-channel-request.d.ts +1 -1
- package/lib/request/get-stream-packaging-config-request.d.ts +1 -1
- package/lib/request/index.d.ts +28 -4
- package/lib/request/index.js +0 -22
- package/lib/request/index.js.map +1 -1
- package/lib/request/ingest-stream-distribution-channel-request.d.ts +1 -1
- package/lib/request/list-media-asset-distribution-channel-attachments-request.d.ts +1 -1
- package/lib/request/list-media-assets-request.d.ts +1 -1
- package/lib/request/list-media-workflow-configurations-request.d.ts +1 -1
- package/lib/request/list-media-workflow-jobs-request.d.ts +1 -1
- package/lib/request/list-media-workflow-task-declarations-request.d.ts +1 -1
- package/lib/request/list-media-workflows-request.d.ts +1 -1
- package/lib/request/list-stream-cdn-configs-request.d.ts +1 -1
- package/lib/request/list-stream-distribution-channels-request.d.ts +1 -1
- package/lib/request/list-stream-packaging-configs-request.d.ts +1 -1
- package/lib/request/list-system-media-workflows-request.d.ts +1 -1
- package/lib/request/remove-media-asset-lock-request.d.ts +49 -0
- package/lib/request/remove-media-asset-lock-request.js +15 -0
- package/lib/request/remove-media-asset-lock-request.js.map +1 -0
- package/lib/request/remove-media-workflow-configuration-lock-request.d.ts +49 -0
- package/lib/request/remove-media-workflow-configuration-lock-request.js +15 -0
- package/lib/request/remove-media-workflow-configuration-lock-request.js.map +1 -0
- package/lib/request/remove-media-workflow-job-lock-request.d.ts +49 -0
- package/lib/request/remove-media-workflow-job-lock-request.js +15 -0
- package/lib/request/remove-media-workflow-job-lock-request.js.map +1 -0
- package/lib/request/remove-media-workflow-lock-request.d.ts +49 -0
- package/lib/request/remove-media-workflow-lock-request.js +15 -0
- package/lib/request/remove-media-workflow-lock-request.js.map +1 -0
- package/lib/request/remove-stream-cdn-config-lock-request.d.ts +49 -0
- package/lib/request/remove-stream-cdn-config-lock-request.js +15 -0
- package/lib/request/remove-stream-cdn-config-lock-request.js.map +1 -0
- package/lib/request/remove-stream-distribution-channel-lock-request.d.ts +49 -0
- package/lib/request/remove-stream-distribution-channel-lock-request.js +15 -0
- package/lib/request/remove-stream-distribution-channel-lock-request.js.map +1 -0
- package/lib/request/remove-stream-packaging-config-lock-request.d.ts +49 -0
- package/lib/request/remove-stream-packaging-config-lock-request.js +15 -0
- package/lib/request/remove-stream-packaging-config-lock-request.js.map +1 -0
- package/lib/request/update-media-asset-request.d.ts +5 -1
- package/lib/request/update-media-workflow-configuration-request.d.ts +5 -1
- package/lib/request/update-media-workflow-job-request.d.ts +5 -1
- package/lib/request/update-media-workflow-request.d.ts +5 -1
- package/lib/request/update-stream-cdn-config-request.d.ts +5 -1
- package/lib/request/update-stream-distribution-channel-request.d.ts +5 -1
- package/lib/request/update-stream-packaging-config-request.d.ts +5 -1
- package/lib/response/{get-media-workflow-job-fact-response.d.ts → add-media-asset-lock-response.d.ts} +3 -3
- package/lib/response/add-media-asset-lock-response.js +15 -0
- package/lib/response/add-media-asset-lock-response.js.map +1 -0
- package/lib/response/{list-media-workflow-job-facts-response.d.ts → add-media-workflow-configuration-lock-response.d.ts} +8 -10
- package/lib/response/add-media-workflow-configuration-lock-response.js +15 -0
- package/lib/response/add-media-workflow-configuration-lock-response.js.map +1 -0
- package/lib/response/add-media-workflow-job-lock-response.d.ts +30 -0
- package/lib/response/add-media-workflow-job-lock-response.js +15 -0
- package/lib/response/add-media-workflow-job-lock-response.js.map +1 -0
- package/lib/response/add-media-workflow-lock-response.d.ts +30 -0
- package/lib/response/add-media-workflow-lock-response.js +15 -0
- package/lib/response/add-media-workflow-lock-response.js.map +1 -0
- package/lib/response/add-stream-cdn-config-lock-response.d.ts +30 -0
- package/lib/response/add-stream-cdn-config-lock-response.js +15 -0
- package/lib/response/add-stream-cdn-config-lock-response.js.map +1 -0
- package/lib/response/add-stream-distribution-channel-lock-response.d.ts +30 -0
- package/lib/response/add-stream-distribution-channel-lock-response.js +15 -0
- package/lib/response/add-stream-distribution-channel-lock-response.js.map +1 -0
- package/lib/response/add-stream-packaging-config-lock-response.d.ts +30 -0
- package/lib/response/add-stream-packaging-config-lock-response.js +15 -0
- package/lib/response/add-stream-packaging-config-lock-response.js.map +1 -0
- package/lib/response/change-media-workflow-compartment-response.d.ts +0 -5
- package/lib/response/change-media-workflow-configuration-compartment-response.d.ts +0 -5
- package/lib/response/change-media-workflow-job-compartment-response.d.ts +0 -5
- package/lib/response/change-stream-distribution-channel-compartment-response.d.ts +0 -5
- package/lib/response/delete-media-workflow-configuration-response.d.ts +0 -5
- package/lib/response/delete-media-workflow-job-response.d.ts +0 -5
- package/lib/response/index.d.ts +28 -4
- package/lib/response/remove-media-asset-lock-response.d.ts +30 -0
- package/lib/response/remove-media-asset-lock-response.js +15 -0
- package/lib/response/remove-media-asset-lock-response.js.map +1 -0
- package/lib/response/remove-media-workflow-configuration-lock-response.d.ts +30 -0
- package/lib/response/remove-media-workflow-configuration-lock-response.js +15 -0
- package/lib/response/remove-media-workflow-configuration-lock-response.js.map +1 -0
- package/lib/response/remove-media-workflow-job-lock-response.d.ts +30 -0
- package/lib/response/remove-media-workflow-job-lock-response.js +15 -0
- package/lib/response/remove-media-workflow-job-lock-response.js.map +1 -0
- package/lib/response/remove-media-workflow-lock-response.d.ts +30 -0
- package/lib/response/remove-media-workflow-lock-response.js +15 -0
- package/lib/response/remove-media-workflow-lock-response.js.map +1 -0
- package/lib/response/remove-stream-cdn-config-lock-response.d.ts +30 -0
- package/lib/response/remove-stream-cdn-config-lock-response.js +15 -0
- package/lib/response/remove-stream-cdn-config-lock-response.js.map +1 -0
- package/lib/response/remove-stream-distribution-channel-lock-response.d.ts +30 -0
- package/lib/response/remove-stream-distribution-channel-lock-response.js +15 -0
- package/lib/response/remove-stream-distribution-channel-lock-response.js.map +1 -0
- package/lib/response/remove-stream-packaging-config-lock-response.d.ts +30 -0
- package/lib/response/remove-stream-packaging-config-lock-response.js +15 -0
- package/lib/response/remove-stream-packaging-config-lock-response.js.map +1 -0
- package/lib/response/update-stream-packaging-config-response.d.ts +0 -5
- package/package.json +3 -3
- package/lib/model/media-workflow-job-fact-collection.d.ts +0 -30
- package/lib/model/media-workflow-job-fact-collection.js +0 -64
- package/lib/model/media-workflow-job-fact-collection.js.map +0 -1
- package/lib/model/media-workflow-job-fact-sort-by.d.ts +0 -25
- package/lib/model/media-workflow-job-fact-sort-by.js.map +0 -1
- package/lib/model/media-workflow-job-fact-summary.js.map +0 -1
- package/lib/model/media-workflow-job-fact.js.map +0 -1
- package/lib/request/get-media-workflow-job-fact-request.d.ts +0 -30
- package/lib/request/get-media-workflow-job-fact-request.js.map +0 -1
- package/lib/request/list-media-workflow-job-facts-request.d.ts +0 -63
- package/lib/request/list-media-workflow-job-facts-request.js +0 -27
- package/lib/request/list-media-workflow-job-facts-request.js.map +0 -1
- package/lib/response/get-media-workflow-job-fact-response.js.map +0 -1
- package/lib/response/list-media-workflow-job-facts-response.js.map +0 -1
package/lib/client.js
CHANGED
|
@@ -194,39 +194,40 @@ class MediaServicesClient {
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
/**
|
|
197
|
-
*
|
|
197
|
+
* Add a lock to an MediaAsset.
|
|
198
|
+
*
|
|
198
199
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
199
|
-
* @param
|
|
200
|
-
* @return
|
|
200
|
+
* @param AddMediaAssetLockRequest
|
|
201
|
+
* @return AddMediaAssetLockResponse
|
|
201
202
|
* @throws OciError when an error occurs
|
|
202
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
203
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/AddMediaAssetLock.ts.html |here} to see how to use AddMediaAssetLock API.
|
|
203
204
|
*/
|
|
204
|
-
|
|
205
|
+
addMediaAssetLock(addMediaAssetLockRequest) {
|
|
205
206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
206
207
|
if (this.logger)
|
|
207
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
208
|
-
const operationName = "
|
|
208
|
+
this.logger.debug("Calling operation MediaServicesClient#addMediaAssetLock.");
|
|
209
|
+
const operationName = "addMediaAssetLock";
|
|
209
210
|
const apiReferenceLink = "";
|
|
210
211
|
const pathParams = {
|
|
211
|
-
"{mediaAssetId}":
|
|
212
|
+
"{mediaAssetId}": addMediaAssetLockRequest.mediaAssetId
|
|
212
213
|
};
|
|
213
214
|
const queryParams = {};
|
|
214
215
|
let headerParams = {
|
|
215
216
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
216
|
-
"opc-retry-token":
|
|
217
|
-
"
|
|
218
|
-
"
|
|
217
|
+
"opc-retry-token": addMediaAssetLockRequest.opcRetryToken,
|
|
218
|
+
"opc-request-id": addMediaAssetLockRequest.opcRequestId,
|
|
219
|
+
"if-match": addMediaAssetLockRequest.ifMatch
|
|
219
220
|
};
|
|
220
221
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
221
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
222
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addMediaAssetLockRequest.retryConfiguration, specRetryConfiguration);
|
|
222
223
|
if (this.logger)
|
|
223
224
|
retrier.logger = this.logger;
|
|
224
225
|
const request = yield oci_common_1.composeRequest({
|
|
225
226
|
baseEndpoint: this._endpoint,
|
|
226
227
|
defaultHeaders: this._defaultHeaders,
|
|
227
|
-
path: "/mediaAssets/{mediaAssetId}/actions/
|
|
228
|
+
path: "/mediaAssets/{mediaAssetId}/actions/addLock",
|
|
228
229
|
method: "POST",
|
|
229
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
230
|
+
bodyContent: common.ObjectSerializer.serialize(addMediaAssetLockRequest.addLockDetails, "AddLockDetails", model.AddLockDetails.getJsonObj),
|
|
230
231
|
pathParams: pathParams,
|
|
231
232
|
headerParams: headerParams,
|
|
232
233
|
queryParams: queryParams
|
|
@@ -235,7 +236,16 @@ class MediaServicesClient {
|
|
|
235
236
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
236
237
|
const sdkResponse = oci_common_1.composeResponse({
|
|
237
238
|
responseObject: {},
|
|
239
|
+
body: yield response.json(),
|
|
240
|
+
bodyKey: "mediaAsset",
|
|
241
|
+
bodyModel: model.MediaAsset,
|
|
242
|
+
type: "model.MediaAsset",
|
|
238
243
|
responseHeaders: [
|
|
244
|
+
{
|
|
245
|
+
value: response.headers.get("etag"),
|
|
246
|
+
key: "etag",
|
|
247
|
+
dataType: "string"
|
|
248
|
+
},
|
|
239
249
|
{
|
|
240
250
|
value: response.headers.get("opc-request-id"),
|
|
241
251
|
key: "opcRequestId",
|
|
@@ -251,39 +261,40 @@ class MediaServicesClient {
|
|
|
251
261
|
});
|
|
252
262
|
}
|
|
253
263
|
/**
|
|
254
|
-
*
|
|
264
|
+
* Add a lock to a MediaWorkflowConfiguration.
|
|
265
|
+
*
|
|
255
266
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
256
|
-
* @param
|
|
257
|
-
* @return
|
|
267
|
+
* @param AddMediaWorkflowConfigurationLockRequest
|
|
268
|
+
* @return AddMediaWorkflowConfigurationLockResponse
|
|
258
269
|
* @throws OciError when an error occurs
|
|
259
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
270
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/AddMediaWorkflowConfigurationLock.ts.html |here} to see how to use AddMediaWorkflowConfigurationLock API.
|
|
260
271
|
*/
|
|
261
|
-
|
|
272
|
+
addMediaWorkflowConfigurationLock(addMediaWorkflowConfigurationLockRequest) {
|
|
262
273
|
return __awaiter(this, void 0, void 0, function* () {
|
|
263
274
|
if (this.logger)
|
|
264
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
265
|
-
const operationName = "
|
|
275
|
+
this.logger.debug("Calling operation MediaServicesClient#addMediaWorkflowConfigurationLock.");
|
|
276
|
+
const operationName = "addMediaWorkflowConfigurationLock";
|
|
266
277
|
const apiReferenceLink = "";
|
|
267
278
|
const pathParams = {
|
|
268
|
-
"{
|
|
279
|
+
"{mediaWorkflowConfigurationId}": addMediaWorkflowConfigurationLockRequest.mediaWorkflowConfigurationId
|
|
269
280
|
};
|
|
270
281
|
const queryParams = {};
|
|
271
282
|
let headerParams = {
|
|
272
283
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
273
|
-
"
|
|
274
|
-
"
|
|
275
|
-
"opc-
|
|
284
|
+
"if-match": addMediaWorkflowConfigurationLockRequest.ifMatch,
|
|
285
|
+
"opc-request-id": addMediaWorkflowConfigurationLockRequest.opcRequestId,
|
|
286
|
+
"opc-retry-token": addMediaWorkflowConfigurationLockRequest.opcRetryToken
|
|
276
287
|
};
|
|
277
288
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
278
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
289
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addMediaWorkflowConfigurationLockRequest.retryConfiguration, specRetryConfiguration);
|
|
279
290
|
if (this.logger)
|
|
280
291
|
retrier.logger = this.logger;
|
|
281
292
|
const request = yield oci_common_1.composeRequest({
|
|
282
293
|
baseEndpoint: this._endpoint,
|
|
283
294
|
defaultHeaders: this._defaultHeaders,
|
|
284
|
-
path: "/
|
|
295
|
+
path: "/mediaWorkflowConfigurations/{mediaWorkflowConfigurationId}/actions/addLock",
|
|
285
296
|
method: "POST",
|
|
286
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
297
|
+
bodyContent: common.ObjectSerializer.serialize(addMediaWorkflowConfigurationLockRequest.addResourceLockDetails, "AddLockDetails", model.AddLockDetails.getJsonObj),
|
|
287
298
|
pathParams: pathParams,
|
|
288
299
|
headerParams: headerParams,
|
|
289
300
|
queryParams: queryParams
|
|
@@ -292,10 +303,14 @@ class MediaServicesClient {
|
|
|
292
303
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
293
304
|
const sdkResponse = oci_common_1.composeResponse({
|
|
294
305
|
responseObject: {},
|
|
306
|
+
body: yield response.json(),
|
|
307
|
+
bodyKey: "mediaWorkflowConfiguration",
|
|
308
|
+
bodyModel: model.MediaWorkflowConfiguration,
|
|
309
|
+
type: "model.MediaWorkflowConfiguration",
|
|
295
310
|
responseHeaders: [
|
|
296
311
|
{
|
|
297
|
-
value: response.headers.get("
|
|
298
|
-
key: "
|
|
312
|
+
value: response.headers.get("etag"),
|
|
313
|
+
key: "etag",
|
|
299
314
|
dataType: "string"
|
|
300
315
|
},
|
|
301
316
|
{
|
|
@@ -313,39 +328,40 @@ class MediaServicesClient {
|
|
|
313
328
|
});
|
|
314
329
|
}
|
|
315
330
|
/**
|
|
316
|
-
*
|
|
331
|
+
* Add a lock to a MediaWorkflowJob.
|
|
332
|
+
*
|
|
317
333
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
318
|
-
* @param
|
|
319
|
-
* @return
|
|
334
|
+
* @param AddMediaWorkflowJobLockRequest
|
|
335
|
+
* @return AddMediaWorkflowJobLockResponse
|
|
320
336
|
* @throws OciError when an error occurs
|
|
321
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
337
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/AddMediaWorkflowJobLock.ts.html |here} to see how to use AddMediaWorkflowJobLock API.
|
|
322
338
|
*/
|
|
323
|
-
|
|
339
|
+
addMediaWorkflowJobLock(addMediaWorkflowJobLockRequest) {
|
|
324
340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
325
341
|
if (this.logger)
|
|
326
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
327
|
-
const operationName = "
|
|
342
|
+
this.logger.debug("Calling operation MediaServicesClient#addMediaWorkflowJobLock.");
|
|
343
|
+
const operationName = "addMediaWorkflowJobLock";
|
|
328
344
|
const apiReferenceLink = "";
|
|
329
345
|
const pathParams = {
|
|
330
|
-
"{
|
|
346
|
+
"{mediaWorkflowJobId}": addMediaWorkflowJobLockRequest.mediaWorkflowJobId
|
|
331
347
|
};
|
|
332
348
|
const queryParams = {};
|
|
333
349
|
let headerParams = {
|
|
334
350
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
335
|
-
"opc-retry-token":
|
|
336
|
-
"
|
|
337
|
-
"
|
|
351
|
+
"opc-retry-token": addMediaWorkflowJobLockRequest.opcRetryToken,
|
|
352
|
+
"opc-request-id": addMediaWorkflowJobLockRequest.opcRequestId,
|
|
353
|
+
"if-match": addMediaWorkflowJobLockRequest.ifMatch
|
|
338
354
|
};
|
|
339
355
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
340
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
356
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addMediaWorkflowJobLockRequest.retryConfiguration, specRetryConfiguration);
|
|
341
357
|
if (this.logger)
|
|
342
358
|
retrier.logger = this.logger;
|
|
343
359
|
const request = yield oci_common_1.composeRequest({
|
|
344
360
|
baseEndpoint: this._endpoint,
|
|
345
361
|
defaultHeaders: this._defaultHeaders,
|
|
346
|
-
path: "/
|
|
362
|
+
path: "/mediaWorkflowJobs/{mediaWorkflowJobId}/actions/addLock",
|
|
347
363
|
method: "POST",
|
|
348
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
364
|
+
bodyContent: common.ObjectSerializer.serialize(addMediaWorkflowJobLockRequest.addLockDetails, "AddLockDetails", model.AddLockDetails.getJsonObj),
|
|
349
365
|
pathParams: pathParams,
|
|
350
366
|
headerParams: headerParams,
|
|
351
367
|
queryParams: queryParams
|
|
@@ -354,10 +370,14 @@ class MediaServicesClient {
|
|
|
354
370
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
355
371
|
const sdkResponse = oci_common_1.composeResponse({
|
|
356
372
|
responseObject: {},
|
|
373
|
+
body: yield response.json(),
|
|
374
|
+
bodyKey: "mediaWorkflowJob",
|
|
375
|
+
bodyModel: model.MediaWorkflowJob,
|
|
376
|
+
type: "model.MediaWorkflowJob",
|
|
357
377
|
responseHeaders: [
|
|
358
378
|
{
|
|
359
|
-
value: response.headers.get("
|
|
360
|
-
key: "
|
|
379
|
+
value: response.headers.get("etag"),
|
|
380
|
+
key: "etag",
|
|
361
381
|
dataType: "string"
|
|
362
382
|
},
|
|
363
383
|
{
|
|
@@ -375,39 +395,40 @@ class MediaServicesClient {
|
|
|
375
395
|
});
|
|
376
396
|
}
|
|
377
397
|
/**
|
|
378
|
-
*
|
|
398
|
+
* Add a lock to a MediaWorkflow.
|
|
399
|
+
*
|
|
379
400
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
380
|
-
* @param
|
|
381
|
-
* @return
|
|
401
|
+
* @param AddMediaWorkflowLockRequest
|
|
402
|
+
* @return AddMediaWorkflowLockResponse
|
|
382
403
|
* @throws OciError when an error occurs
|
|
383
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
404
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/AddMediaWorkflowLock.ts.html |here} to see how to use AddMediaWorkflowLock API.
|
|
384
405
|
*/
|
|
385
|
-
|
|
406
|
+
addMediaWorkflowLock(addMediaWorkflowLockRequest) {
|
|
386
407
|
return __awaiter(this, void 0, void 0, function* () {
|
|
387
408
|
if (this.logger)
|
|
388
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
389
|
-
const operationName = "
|
|
409
|
+
this.logger.debug("Calling operation MediaServicesClient#addMediaWorkflowLock.");
|
|
410
|
+
const operationName = "addMediaWorkflowLock";
|
|
390
411
|
const apiReferenceLink = "";
|
|
391
412
|
const pathParams = {
|
|
392
|
-
"{
|
|
413
|
+
"{mediaWorkflowId}": addMediaWorkflowLockRequest.mediaWorkflowId
|
|
393
414
|
};
|
|
394
415
|
const queryParams = {};
|
|
395
416
|
let headerParams = {
|
|
396
417
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
397
|
-
"opc-retry-token":
|
|
398
|
-
"
|
|
399
|
-
"
|
|
418
|
+
"opc-retry-token": addMediaWorkflowLockRequest.opcRetryToken,
|
|
419
|
+
"opc-request-id": addMediaWorkflowLockRequest.opcRequestId,
|
|
420
|
+
"if-match": addMediaWorkflowLockRequest.ifMatch
|
|
400
421
|
};
|
|
401
422
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
402
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
423
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addMediaWorkflowLockRequest.retryConfiguration, specRetryConfiguration);
|
|
403
424
|
if (this.logger)
|
|
404
425
|
retrier.logger = this.logger;
|
|
405
426
|
const request = yield oci_common_1.composeRequest({
|
|
406
427
|
baseEndpoint: this._endpoint,
|
|
407
428
|
defaultHeaders: this._defaultHeaders,
|
|
408
|
-
path: "/
|
|
429
|
+
path: "/mediaWorkflows/{mediaWorkflowId}/actions/addLock",
|
|
409
430
|
method: "POST",
|
|
410
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
431
|
+
bodyContent: common.ObjectSerializer.serialize(addMediaWorkflowLockRequest.addResourceLockDetails, "AddLockDetails", model.AddLockDetails.getJsonObj),
|
|
411
432
|
pathParams: pathParams,
|
|
412
433
|
headerParams: headerParams,
|
|
413
434
|
queryParams: queryParams
|
|
@@ -416,10 +437,14 @@ class MediaServicesClient {
|
|
|
416
437
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
417
438
|
const sdkResponse = oci_common_1.composeResponse({
|
|
418
439
|
responseObject: {},
|
|
440
|
+
body: yield response.json(),
|
|
441
|
+
bodyKey: "mediaWorkflow",
|
|
442
|
+
bodyModel: model.MediaWorkflow,
|
|
443
|
+
type: "model.MediaWorkflow",
|
|
419
444
|
responseHeaders: [
|
|
420
445
|
{
|
|
421
|
-
value: response.headers.get("
|
|
422
|
-
key: "
|
|
446
|
+
value: response.headers.get("etag"),
|
|
447
|
+
key: "etag",
|
|
423
448
|
dataType: "string"
|
|
424
449
|
},
|
|
425
450
|
{
|
|
@@ -437,39 +462,40 @@ class MediaServicesClient {
|
|
|
437
462
|
});
|
|
438
463
|
}
|
|
439
464
|
/**
|
|
440
|
-
*
|
|
465
|
+
* Add a lock to a StreamCdnConfig.
|
|
466
|
+
*
|
|
441
467
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
442
|
-
* @param
|
|
443
|
-
* @return
|
|
468
|
+
* @param AddStreamCdnConfigLockRequest
|
|
469
|
+
* @return AddStreamCdnConfigLockResponse
|
|
444
470
|
* @throws OciError when an error occurs
|
|
445
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/AddStreamCdnConfigLock.ts.html |here} to see how to use AddStreamCdnConfigLock API.
|
|
446
472
|
*/
|
|
447
|
-
|
|
473
|
+
addStreamCdnConfigLock(addStreamCdnConfigLockRequest) {
|
|
448
474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
449
475
|
if (this.logger)
|
|
450
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
451
|
-
const operationName = "
|
|
476
|
+
this.logger.debug("Calling operation MediaServicesClient#addStreamCdnConfigLock.");
|
|
477
|
+
const operationName = "addStreamCdnConfigLock";
|
|
452
478
|
const apiReferenceLink = "";
|
|
453
479
|
const pathParams = {
|
|
454
|
-
"{
|
|
480
|
+
"{streamCdnConfigId}": addStreamCdnConfigLockRequest.streamCdnConfigId
|
|
455
481
|
};
|
|
456
482
|
const queryParams = {};
|
|
457
483
|
let headerParams = {
|
|
458
484
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
459
|
-
"
|
|
460
|
-
"
|
|
461
|
-
"opc-
|
|
485
|
+
"if-match": addStreamCdnConfigLockRequest.ifMatch,
|
|
486
|
+
"opc-request-id": addStreamCdnConfigLockRequest.opcRequestId,
|
|
487
|
+
"opc-retry-token": addStreamCdnConfigLockRequest.opcRetryToken
|
|
462
488
|
};
|
|
463
489
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
464
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
490
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addStreamCdnConfigLockRequest.retryConfiguration, specRetryConfiguration);
|
|
465
491
|
if (this.logger)
|
|
466
492
|
retrier.logger = this.logger;
|
|
467
493
|
const request = yield oci_common_1.composeRequest({
|
|
468
494
|
baseEndpoint: this._endpoint,
|
|
469
495
|
defaultHeaders: this._defaultHeaders,
|
|
470
|
-
path: "/
|
|
496
|
+
path: "/streamCdnConfigs/{streamCdnConfigId}/actions/addLock",
|
|
471
497
|
method: "POST",
|
|
472
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
498
|
+
bodyContent: common.ObjectSerializer.serialize(addStreamCdnConfigLockRequest.addResourceLockDetails, "AddLockDetails", model.AddLockDetails.getJsonObj),
|
|
473
499
|
pathParams: pathParams,
|
|
474
500
|
headerParams: headerParams,
|
|
475
501
|
queryParams: queryParams
|
|
@@ -478,10 +504,14 @@ class MediaServicesClient {
|
|
|
478
504
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
479
505
|
const sdkResponse = oci_common_1.composeResponse({
|
|
480
506
|
responseObject: {},
|
|
507
|
+
body: yield response.json(),
|
|
508
|
+
bodyKey: "streamCdnConfig",
|
|
509
|
+
bodyModel: model.StreamCdnConfig,
|
|
510
|
+
type: "model.StreamCdnConfig",
|
|
481
511
|
responseHeaders: [
|
|
482
512
|
{
|
|
483
|
-
value: response.headers.get("
|
|
484
|
-
key: "
|
|
513
|
+
value: response.headers.get("etag"),
|
|
514
|
+
key: "etag",
|
|
485
515
|
dataType: "string"
|
|
486
516
|
},
|
|
487
517
|
{
|
|
@@ -499,37 +529,40 @@ class MediaServicesClient {
|
|
|
499
529
|
});
|
|
500
530
|
}
|
|
501
531
|
/**
|
|
502
|
-
*
|
|
532
|
+
* Add a lock to a StreamDistributionChannel.
|
|
503
533
|
*
|
|
504
534
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
505
|
-
* @param
|
|
506
|
-
* @return
|
|
535
|
+
* @param AddStreamDistributionChannelLockRequest
|
|
536
|
+
* @return AddStreamDistributionChannelLockResponse
|
|
507
537
|
* @throws OciError when an error occurs
|
|
508
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
538
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/AddStreamDistributionChannelLock.ts.html |here} to see how to use AddStreamDistributionChannelLock API.
|
|
509
539
|
*/
|
|
510
|
-
|
|
540
|
+
addStreamDistributionChannelLock(addStreamDistributionChannelLockRequest) {
|
|
511
541
|
return __awaiter(this, void 0, void 0, function* () {
|
|
512
542
|
if (this.logger)
|
|
513
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
514
|
-
const operationName = "
|
|
543
|
+
this.logger.debug("Calling operation MediaServicesClient#addStreamDistributionChannelLock.");
|
|
544
|
+
const operationName = "addStreamDistributionChannelLock";
|
|
515
545
|
const apiReferenceLink = "";
|
|
516
|
-
const pathParams = {
|
|
546
|
+
const pathParams = {
|
|
547
|
+
"{streamDistributionChannelId}": addStreamDistributionChannelLockRequest.streamDistributionChannelId
|
|
548
|
+
};
|
|
517
549
|
const queryParams = {};
|
|
518
550
|
let headerParams = {
|
|
519
551
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
520
|
-
"
|
|
521
|
-
"opc-request-id":
|
|
552
|
+
"if-match": addStreamDistributionChannelLockRequest.ifMatch,
|
|
553
|
+
"opc-request-id": addStreamDistributionChannelLockRequest.opcRequestId,
|
|
554
|
+
"opc-retry-token": addStreamDistributionChannelLockRequest.opcRetryToken
|
|
522
555
|
};
|
|
523
556
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
524
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
557
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addStreamDistributionChannelLockRequest.retryConfiguration, specRetryConfiguration);
|
|
525
558
|
if (this.logger)
|
|
526
559
|
retrier.logger = this.logger;
|
|
527
560
|
const request = yield oci_common_1.composeRequest({
|
|
528
561
|
baseEndpoint: this._endpoint,
|
|
529
562
|
defaultHeaders: this._defaultHeaders,
|
|
530
|
-
path: "/
|
|
563
|
+
path: "/streamDistributionChannels/{streamDistributionChannelId}/actions/addLock",
|
|
531
564
|
method: "POST",
|
|
532
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
565
|
+
bodyContent: common.ObjectSerializer.serialize(addStreamDistributionChannelLockRequest.addResourceLockDetails, "AddLockDetails", model.AddLockDetails.getJsonObj),
|
|
533
566
|
pathParams: pathParams,
|
|
534
567
|
headerParams: headerParams,
|
|
535
568
|
queryParams: queryParams
|
|
@@ -539,9 +572,9 @@ class MediaServicesClient {
|
|
|
539
572
|
const sdkResponse = oci_common_1.composeResponse({
|
|
540
573
|
responseObject: {},
|
|
541
574
|
body: yield response.json(),
|
|
542
|
-
bodyKey: "
|
|
543
|
-
bodyModel: model.
|
|
544
|
-
type: "model.
|
|
575
|
+
bodyKey: "streamDistributionChannel",
|
|
576
|
+
bodyModel: model.StreamDistributionChannel,
|
|
577
|
+
type: "model.StreamDistributionChannel",
|
|
545
578
|
responseHeaders: [
|
|
546
579
|
{
|
|
547
580
|
value: response.headers.get("etag"),
|
|
@@ -563,37 +596,40 @@ class MediaServicesClient {
|
|
|
563
596
|
});
|
|
564
597
|
}
|
|
565
598
|
/**
|
|
566
|
-
*
|
|
599
|
+
* Add a lock to a StreamPackagingConfig.
|
|
567
600
|
*
|
|
568
601
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
569
|
-
* @param
|
|
570
|
-
* @return
|
|
602
|
+
* @param AddStreamPackagingConfigLockRequest
|
|
603
|
+
* @return AddStreamPackagingConfigLockResponse
|
|
571
604
|
* @throws OciError when an error occurs
|
|
572
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
605
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/AddStreamPackagingConfigLock.ts.html |here} to see how to use AddStreamPackagingConfigLock API.
|
|
573
606
|
*/
|
|
574
|
-
|
|
607
|
+
addStreamPackagingConfigLock(addStreamPackagingConfigLockRequest) {
|
|
575
608
|
return __awaiter(this, void 0, void 0, function* () {
|
|
576
609
|
if (this.logger)
|
|
577
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
578
|
-
const operationName = "
|
|
610
|
+
this.logger.debug("Calling operation MediaServicesClient#addStreamPackagingConfigLock.");
|
|
611
|
+
const operationName = "addStreamPackagingConfigLock";
|
|
579
612
|
const apiReferenceLink = "";
|
|
580
|
-
const pathParams = {
|
|
613
|
+
const pathParams = {
|
|
614
|
+
"{streamPackagingConfigId}": addStreamPackagingConfigLockRequest.streamPackagingConfigId
|
|
615
|
+
};
|
|
581
616
|
const queryParams = {};
|
|
582
617
|
let headerParams = {
|
|
583
618
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
584
|
-
"
|
|
585
|
-
"opc-request-id":
|
|
619
|
+
"if-match": addStreamPackagingConfigLockRequest.ifMatch,
|
|
620
|
+
"opc-request-id": addStreamPackagingConfigLockRequest.opcRequestId,
|
|
621
|
+
"opc-retry-token": addStreamPackagingConfigLockRequest.opcRetryToken
|
|
586
622
|
};
|
|
587
623
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
588
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
624
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addStreamPackagingConfigLockRequest.retryConfiguration, specRetryConfiguration);
|
|
589
625
|
if (this.logger)
|
|
590
626
|
retrier.logger = this.logger;
|
|
591
627
|
const request = yield oci_common_1.composeRequest({
|
|
592
628
|
baseEndpoint: this._endpoint,
|
|
593
629
|
defaultHeaders: this._defaultHeaders,
|
|
594
|
-
path: "/
|
|
630
|
+
path: "/streamPackagingConfigs/{streamPackagingConfigId}/actions/addLock",
|
|
595
631
|
method: "POST",
|
|
596
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
632
|
+
bodyContent: common.ObjectSerializer.serialize(addStreamPackagingConfigLockRequest.addResourceLockDetails, "AddLockDetails", model.AddLockDetails.getJsonObj),
|
|
597
633
|
pathParams: pathParams,
|
|
598
634
|
headerParams: headerParams,
|
|
599
635
|
queryParams: queryParams
|
|
@@ -603,9 +639,9 @@ class MediaServicesClient {
|
|
|
603
639
|
const sdkResponse = oci_common_1.composeResponse({
|
|
604
640
|
responseObject: {},
|
|
605
641
|
body: yield response.json(),
|
|
606
|
-
bodyKey: "
|
|
607
|
-
bodyModel: model.
|
|
608
|
-
type: "model.
|
|
642
|
+
bodyKey: "streamPackagingConfig",
|
|
643
|
+
bodyModel: model.StreamPackagingConfig,
|
|
644
|
+
type: "model.StreamPackagingConfig",
|
|
609
645
|
responseHeaders: [
|
|
610
646
|
{
|
|
611
647
|
value: response.headers.get("etag"),
|
|
@@ -627,37 +663,41 @@ class MediaServicesClient {
|
|
|
627
663
|
});
|
|
628
664
|
}
|
|
629
665
|
/**
|
|
630
|
-
*
|
|
631
|
-
*
|
|
666
|
+
* Moves a MediaAsset resource from one compartment identifier to another.
|
|
632
667
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
633
|
-
* @param
|
|
634
|
-
* @return
|
|
668
|
+
* @param ChangeMediaAssetCompartmentRequest
|
|
669
|
+
* @return ChangeMediaAssetCompartmentResponse
|
|
635
670
|
* @throws OciError when an error occurs
|
|
636
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
671
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ChangeMediaAssetCompartment.ts.html |here} to see how to use ChangeMediaAssetCompartment API.
|
|
637
672
|
*/
|
|
638
|
-
|
|
673
|
+
changeMediaAssetCompartment(changeMediaAssetCompartmentRequest) {
|
|
639
674
|
return __awaiter(this, void 0, void 0, function* () {
|
|
640
675
|
if (this.logger)
|
|
641
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
642
|
-
const operationName = "
|
|
676
|
+
this.logger.debug("Calling operation MediaServicesClient#changeMediaAssetCompartment.");
|
|
677
|
+
const operationName = "changeMediaAssetCompartment";
|
|
643
678
|
const apiReferenceLink = "";
|
|
644
|
-
const pathParams = {
|
|
645
|
-
|
|
679
|
+
const pathParams = {
|
|
680
|
+
"{mediaAssetId}": changeMediaAssetCompartmentRequest.mediaAssetId
|
|
681
|
+
};
|
|
682
|
+
const queryParams = {
|
|
683
|
+
"isLockOverride": changeMediaAssetCompartmentRequest.isLockOverride
|
|
684
|
+
};
|
|
646
685
|
let headerParams = {
|
|
647
686
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
648
|
-
"opc-retry-token":
|
|
649
|
-
"
|
|
687
|
+
"opc-retry-token": changeMediaAssetCompartmentRequest.opcRetryToken,
|
|
688
|
+
"if-match": changeMediaAssetCompartmentRequest.ifMatch,
|
|
689
|
+
"opc-request-id": changeMediaAssetCompartmentRequest.opcRequestId
|
|
650
690
|
};
|
|
651
691
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
652
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
692
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMediaAssetCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
653
693
|
if (this.logger)
|
|
654
694
|
retrier.logger = this.logger;
|
|
655
695
|
const request = yield oci_common_1.composeRequest({
|
|
656
696
|
baseEndpoint: this._endpoint,
|
|
657
697
|
defaultHeaders: this._defaultHeaders,
|
|
658
|
-
path: "/
|
|
698
|
+
path: "/mediaAssets/{mediaAssetId}/actions/changeCompartment",
|
|
659
699
|
method: "POST",
|
|
660
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
700
|
+
bodyContent: common.ObjectSerializer.serialize(changeMediaAssetCompartmentRequest.changeMediaAssetCompartmentDetails, "ChangeMediaAssetCompartmentDetails", model.ChangeMediaAssetCompartmentDetails.getJsonObj),
|
|
661
701
|
pathParams: pathParams,
|
|
662
702
|
headerParams: headerParams,
|
|
663
703
|
queryParams: queryParams
|
|
@@ -666,16 +706,7 @@ class MediaServicesClient {
|
|
|
666
706
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
667
707
|
const sdkResponse = oci_common_1.composeResponse({
|
|
668
708
|
responseObject: {},
|
|
669
|
-
body: yield response.json(),
|
|
670
|
-
bodyKey: "mediaWorkflowConfiguration",
|
|
671
|
-
bodyModel: model.MediaWorkflowConfiguration,
|
|
672
|
-
type: "model.MediaWorkflowConfiguration",
|
|
673
709
|
responseHeaders: [
|
|
674
|
-
{
|
|
675
|
-
value: response.headers.get("etag"),
|
|
676
|
-
key: "etag",
|
|
677
|
-
dataType: "string"
|
|
678
|
-
},
|
|
679
710
|
{
|
|
680
711
|
value: response.headers.get("opc-request-id"),
|
|
681
712
|
key: "opcRequestId",
|
|
@@ -691,36 +722,41 @@ class MediaServicesClient {
|
|
|
691
722
|
});
|
|
692
723
|
}
|
|
693
724
|
/**
|
|
694
|
-
*
|
|
725
|
+
* Moves a MediaWorkflow resource from one compartment identifier to another.
|
|
695
726
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
696
|
-
* @param
|
|
697
|
-
* @return
|
|
727
|
+
* @param ChangeMediaWorkflowCompartmentRequest
|
|
728
|
+
* @return ChangeMediaWorkflowCompartmentResponse
|
|
698
729
|
* @throws OciError when an error occurs
|
|
699
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
730
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ChangeMediaWorkflowCompartment.ts.html |here} to see how to use ChangeMediaWorkflowCompartment API.
|
|
700
731
|
*/
|
|
701
|
-
|
|
732
|
+
changeMediaWorkflowCompartment(changeMediaWorkflowCompartmentRequest) {
|
|
702
733
|
return __awaiter(this, void 0, void 0, function* () {
|
|
703
734
|
if (this.logger)
|
|
704
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
705
|
-
const operationName = "
|
|
735
|
+
this.logger.debug("Calling operation MediaServicesClient#changeMediaWorkflowCompartment.");
|
|
736
|
+
const operationName = "changeMediaWorkflowCompartment";
|
|
706
737
|
const apiReferenceLink = "";
|
|
707
|
-
const pathParams = {
|
|
708
|
-
|
|
738
|
+
const pathParams = {
|
|
739
|
+
"{mediaWorkflowId}": changeMediaWorkflowCompartmentRequest.mediaWorkflowId
|
|
740
|
+
};
|
|
741
|
+
const queryParams = {
|
|
742
|
+
"isLockOverride": changeMediaWorkflowCompartmentRequest.isLockOverride
|
|
743
|
+
};
|
|
709
744
|
let headerParams = {
|
|
710
745
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
711
|
-
"opc-
|
|
712
|
-
"
|
|
746
|
+
"opc-retry-token": changeMediaWorkflowCompartmentRequest.opcRetryToken,
|
|
747
|
+
"if-match": changeMediaWorkflowCompartmentRequest.ifMatch,
|
|
748
|
+
"opc-request-id": changeMediaWorkflowCompartmentRequest.opcRequestId
|
|
713
749
|
};
|
|
714
750
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
715
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
751
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMediaWorkflowCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
716
752
|
if (this.logger)
|
|
717
753
|
retrier.logger = this.logger;
|
|
718
754
|
const request = yield oci_common_1.composeRequest({
|
|
719
755
|
baseEndpoint: this._endpoint,
|
|
720
756
|
defaultHeaders: this._defaultHeaders,
|
|
721
|
-
path: "/
|
|
757
|
+
path: "/mediaWorkflows/{mediaWorkflowId}/actions/changeCompartment",
|
|
722
758
|
method: "POST",
|
|
723
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
759
|
+
bodyContent: common.ObjectSerializer.serialize(changeMediaWorkflowCompartmentRequest.changeMediaWorkflowCompartmentDetails, "ChangeMediaWorkflowCompartmentDetails", model.ChangeMediaWorkflowCompartmentDetails.getJsonObj),
|
|
724
760
|
pathParams: pathParams,
|
|
725
761
|
headerParams: headerParams,
|
|
726
762
|
queryParams: queryParams
|
|
@@ -729,16 +765,7 @@ class MediaServicesClient {
|
|
|
729
765
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
730
766
|
const sdkResponse = oci_common_1.composeResponse({
|
|
731
767
|
responseObject: {},
|
|
732
|
-
body: yield response.json(),
|
|
733
|
-
bodyKey: "mediaWorkflowJob",
|
|
734
|
-
bodyModel: model.MediaWorkflowJob,
|
|
735
|
-
type: "model.MediaWorkflowJob",
|
|
736
768
|
responseHeaders: [
|
|
737
|
-
{
|
|
738
|
-
value: response.headers.get("etag"),
|
|
739
|
-
key: "etag",
|
|
740
|
-
dataType: "string"
|
|
741
|
-
},
|
|
742
769
|
{
|
|
743
770
|
value: response.headers.get("opc-request-id"),
|
|
744
771
|
key: "opcRequestId",
|
|
@@ -754,37 +781,41 @@ class MediaServicesClient {
|
|
|
754
781
|
});
|
|
755
782
|
}
|
|
756
783
|
/**
|
|
757
|
-
*
|
|
758
|
-
*
|
|
784
|
+
* Moves a MediaWorkflowConfiguration resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
|
|
759
785
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
760
|
-
* @param
|
|
761
|
-
* @return
|
|
786
|
+
* @param ChangeMediaWorkflowConfigurationCompartmentRequest
|
|
787
|
+
* @return ChangeMediaWorkflowConfigurationCompartmentResponse
|
|
762
788
|
* @throws OciError when an error occurs
|
|
763
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
789
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ChangeMediaWorkflowConfigurationCompartment.ts.html |here} to see how to use ChangeMediaWorkflowConfigurationCompartment API.
|
|
764
790
|
*/
|
|
765
|
-
|
|
791
|
+
changeMediaWorkflowConfigurationCompartment(changeMediaWorkflowConfigurationCompartmentRequest) {
|
|
766
792
|
return __awaiter(this, void 0, void 0, function* () {
|
|
767
793
|
if (this.logger)
|
|
768
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
769
|
-
const operationName = "
|
|
794
|
+
this.logger.debug("Calling operation MediaServicesClient#changeMediaWorkflowConfigurationCompartment.");
|
|
795
|
+
const operationName = "changeMediaWorkflowConfigurationCompartment";
|
|
770
796
|
const apiReferenceLink = "";
|
|
771
|
-
const pathParams = {
|
|
772
|
-
|
|
797
|
+
const pathParams = {
|
|
798
|
+
"{mediaWorkflowConfigurationId}": changeMediaWorkflowConfigurationCompartmentRequest.mediaWorkflowConfigurationId
|
|
799
|
+
};
|
|
800
|
+
const queryParams = {
|
|
801
|
+
"isLockOverride": changeMediaWorkflowConfigurationCompartmentRequest.isLockOverride
|
|
802
|
+
};
|
|
773
803
|
let headerParams = {
|
|
774
804
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
775
|
-
"opc-retry-token":
|
|
776
|
-
"
|
|
805
|
+
"opc-retry-token": changeMediaWorkflowConfigurationCompartmentRequest.opcRetryToken,
|
|
806
|
+
"if-match": changeMediaWorkflowConfigurationCompartmentRequest.ifMatch,
|
|
807
|
+
"opc-request-id": changeMediaWorkflowConfigurationCompartmentRequest.opcRequestId
|
|
777
808
|
};
|
|
778
809
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
779
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
810
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMediaWorkflowConfigurationCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
780
811
|
if (this.logger)
|
|
781
812
|
retrier.logger = this.logger;
|
|
782
813
|
const request = yield oci_common_1.composeRequest({
|
|
783
814
|
baseEndpoint: this._endpoint,
|
|
784
815
|
defaultHeaders: this._defaultHeaders,
|
|
785
|
-
path: "/
|
|
816
|
+
path: "/mediaWorkflowConfigurations/{mediaWorkflowConfigurationId}/actions/changeCompartment",
|
|
786
817
|
method: "POST",
|
|
787
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
818
|
+
bodyContent: common.ObjectSerializer.serialize(changeMediaWorkflowConfigurationCompartmentRequest.changeMediaWorkflowConfigurationCompartmentDetails, "ChangeMediaWorkflowConfigurationCompartmentDetails", model.ChangeMediaWorkflowConfigurationCompartmentDetails.getJsonObj),
|
|
788
819
|
pathParams: pathParams,
|
|
789
820
|
headerParams: headerParams,
|
|
790
821
|
queryParams: queryParams
|
|
@@ -793,16 +824,66 @@ class MediaServicesClient {
|
|
|
793
824
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
794
825
|
const sdkResponse = oci_common_1.composeResponse({
|
|
795
826
|
responseObject: {},
|
|
796
|
-
body: yield response.json(),
|
|
797
|
-
bodyKey: "streamCdnConfig",
|
|
798
|
-
bodyModel: model.StreamCdnConfig,
|
|
799
|
-
type: "model.StreamCdnConfig",
|
|
800
827
|
responseHeaders: [
|
|
801
828
|
{
|
|
802
|
-
value: response.headers.get("
|
|
803
|
-
key: "
|
|
829
|
+
value: response.headers.get("opc-request-id"),
|
|
830
|
+
key: "opcRequestId",
|
|
804
831
|
dataType: "string"
|
|
805
|
-
}
|
|
832
|
+
}
|
|
833
|
+
]
|
|
834
|
+
});
|
|
835
|
+
return sdkResponse;
|
|
836
|
+
}
|
|
837
|
+
catch (err) {
|
|
838
|
+
throw err;
|
|
839
|
+
}
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* Moves a MediaWorkflowJob resource from one compartment identifier to another.
|
|
844
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
845
|
+
* @param ChangeMediaWorkflowJobCompartmentRequest
|
|
846
|
+
* @return ChangeMediaWorkflowJobCompartmentResponse
|
|
847
|
+
* @throws OciError when an error occurs
|
|
848
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ChangeMediaWorkflowJobCompartment.ts.html |here} to see how to use ChangeMediaWorkflowJobCompartment API.
|
|
849
|
+
*/
|
|
850
|
+
changeMediaWorkflowJobCompartment(changeMediaWorkflowJobCompartmentRequest) {
|
|
851
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
852
|
+
if (this.logger)
|
|
853
|
+
this.logger.debug("Calling operation MediaServicesClient#changeMediaWorkflowJobCompartment.");
|
|
854
|
+
const operationName = "changeMediaWorkflowJobCompartment";
|
|
855
|
+
const apiReferenceLink = "";
|
|
856
|
+
const pathParams = {
|
|
857
|
+
"{mediaWorkflowJobId}": changeMediaWorkflowJobCompartmentRequest.mediaWorkflowJobId
|
|
858
|
+
};
|
|
859
|
+
const queryParams = {
|
|
860
|
+
"isLockOverride": changeMediaWorkflowJobCompartmentRequest.isLockOverride
|
|
861
|
+
};
|
|
862
|
+
let headerParams = {
|
|
863
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
864
|
+
"opc-retry-token": changeMediaWorkflowJobCompartmentRequest.opcRetryToken,
|
|
865
|
+
"if-match": changeMediaWorkflowJobCompartmentRequest.ifMatch,
|
|
866
|
+
"opc-request-id": changeMediaWorkflowJobCompartmentRequest.opcRequestId
|
|
867
|
+
};
|
|
868
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
869
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeMediaWorkflowJobCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
870
|
+
if (this.logger)
|
|
871
|
+
retrier.logger = this.logger;
|
|
872
|
+
const request = yield oci_common_1.composeRequest({
|
|
873
|
+
baseEndpoint: this._endpoint,
|
|
874
|
+
defaultHeaders: this._defaultHeaders,
|
|
875
|
+
path: "/mediaWorkflowJobs/{mediaWorkflowJobId}/actions/changeCompartment",
|
|
876
|
+
method: "POST",
|
|
877
|
+
bodyContent: common.ObjectSerializer.serialize(changeMediaWorkflowJobCompartmentRequest.changeMediaWorkflowJobCompartmentDetails, "ChangeMediaWorkflowJobCompartmentDetails", model.ChangeMediaWorkflowJobCompartmentDetails.getJsonObj),
|
|
878
|
+
pathParams: pathParams,
|
|
879
|
+
headerParams: headerParams,
|
|
880
|
+
queryParams: queryParams
|
|
881
|
+
});
|
|
882
|
+
try {
|
|
883
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
884
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
885
|
+
responseObject: {},
|
|
886
|
+
responseHeaders: [
|
|
806
887
|
{
|
|
807
888
|
value: response.headers.get("opc-request-id"),
|
|
808
889
|
key: "opcRequestId",
|
|
@@ -818,37 +899,96 @@ class MediaServicesClient {
|
|
|
818
899
|
});
|
|
819
900
|
}
|
|
820
901
|
/**
|
|
821
|
-
*
|
|
902
|
+
* Moves a Stream Distribution Channel resource from one compartment identifier to another.
|
|
903
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
904
|
+
* @param ChangeStreamDistributionChannelCompartmentRequest
|
|
905
|
+
* @return ChangeStreamDistributionChannelCompartmentResponse
|
|
906
|
+
* @throws OciError when an error occurs
|
|
907
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ChangeStreamDistributionChannelCompartment.ts.html |here} to see how to use ChangeStreamDistributionChannelCompartment API.
|
|
908
|
+
*/
|
|
909
|
+
changeStreamDistributionChannelCompartment(changeStreamDistributionChannelCompartmentRequest) {
|
|
910
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
911
|
+
if (this.logger)
|
|
912
|
+
this.logger.debug("Calling operation MediaServicesClient#changeStreamDistributionChannelCompartment.");
|
|
913
|
+
const operationName = "changeStreamDistributionChannelCompartment";
|
|
914
|
+
const apiReferenceLink = "";
|
|
915
|
+
const pathParams = {
|
|
916
|
+
"{streamDistributionChannelId}": changeStreamDistributionChannelCompartmentRequest.streamDistributionChannelId
|
|
917
|
+
};
|
|
918
|
+
const queryParams = {
|
|
919
|
+
"isLockOverride": changeStreamDistributionChannelCompartmentRequest.isLockOverride
|
|
920
|
+
};
|
|
921
|
+
let headerParams = {
|
|
922
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
923
|
+
"opc-retry-token": changeStreamDistributionChannelCompartmentRequest.opcRetryToken,
|
|
924
|
+
"if-match": changeStreamDistributionChannelCompartmentRequest.ifMatch,
|
|
925
|
+
"opc-request-id": changeStreamDistributionChannelCompartmentRequest.opcRequestId
|
|
926
|
+
};
|
|
927
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
928
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeStreamDistributionChannelCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
929
|
+
if (this.logger)
|
|
930
|
+
retrier.logger = this.logger;
|
|
931
|
+
const request = yield oci_common_1.composeRequest({
|
|
932
|
+
baseEndpoint: this._endpoint,
|
|
933
|
+
defaultHeaders: this._defaultHeaders,
|
|
934
|
+
path: "/streamDistributionChannels/{streamDistributionChannelId}/actions/changeCompartment",
|
|
935
|
+
method: "POST",
|
|
936
|
+
bodyContent: common.ObjectSerializer.serialize(changeStreamDistributionChannelCompartmentRequest.changeStreamDistributionChannelCompartmentDetails, "ChangeStreamDistributionChannelCompartmentDetails", model.ChangeStreamDistributionChannelCompartmentDetails.getJsonObj),
|
|
937
|
+
pathParams: pathParams,
|
|
938
|
+
headerParams: headerParams,
|
|
939
|
+
queryParams: queryParams
|
|
940
|
+
});
|
|
941
|
+
try {
|
|
942
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
943
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
944
|
+
responseObject: {},
|
|
945
|
+
responseHeaders: [
|
|
946
|
+
{
|
|
947
|
+
value: response.headers.get("opc-request-id"),
|
|
948
|
+
key: "opcRequestId",
|
|
949
|
+
dataType: "string"
|
|
950
|
+
}
|
|
951
|
+
]
|
|
952
|
+
});
|
|
953
|
+
return sdkResponse;
|
|
954
|
+
}
|
|
955
|
+
catch (err) {
|
|
956
|
+
throw err;
|
|
957
|
+
}
|
|
958
|
+
});
|
|
959
|
+
}
|
|
960
|
+
/**
|
|
961
|
+
* Creates a new MediaAsset.
|
|
822
962
|
*
|
|
823
963
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
824
|
-
* @param
|
|
825
|
-
* @return
|
|
964
|
+
* @param CreateMediaAssetRequest
|
|
965
|
+
* @return CreateMediaAssetResponse
|
|
826
966
|
* @throws OciError when an error occurs
|
|
827
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
967
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/CreateMediaAsset.ts.html |here} to see how to use CreateMediaAsset API.
|
|
828
968
|
*/
|
|
829
|
-
|
|
969
|
+
createMediaAsset(createMediaAssetRequest) {
|
|
830
970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
831
971
|
if (this.logger)
|
|
832
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
833
|
-
const operationName = "
|
|
972
|
+
this.logger.debug("Calling operation MediaServicesClient#createMediaAsset.");
|
|
973
|
+
const operationName = "createMediaAsset";
|
|
834
974
|
const apiReferenceLink = "";
|
|
835
975
|
const pathParams = {};
|
|
836
976
|
const queryParams = {};
|
|
837
977
|
let headerParams = {
|
|
838
978
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
839
|
-
"opc-retry-token":
|
|
840
|
-
"opc-request-id":
|
|
979
|
+
"opc-retry-token": createMediaAssetRequest.opcRetryToken,
|
|
980
|
+
"opc-request-id": createMediaAssetRequest.opcRequestId
|
|
841
981
|
};
|
|
842
982
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
843
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
983
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMediaAssetRequest.retryConfiguration, specRetryConfiguration);
|
|
844
984
|
if (this.logger)
|
|
845
985
|
retrier.logger = this.logger;
|
|
846
986
|
const request = yield oci_common_1.composeRequest({
|
|
847
987
|
baseEndpoint: this._endpoint,
|
|
848
988
|
defaultHeaders: this._defaultHeaders,
|
|
849
|
-
path: "/
|
|
989
|
+
path: "/mediaAssets",
|
|
850
990
|
method: "POST",
|
|
851
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
991
|
+
bodyContent: common.ObjectSerializer.serialize(createMediaAssetRequest.createMediaAssetDetails, "CreateMediaAssetDetails", model.CreateMediaAssetDetails.getJsonObj),
|
|
852
992
|
pathParams: pathParams,
|
|
853
993
|
headerParams: headerParams,
|
|
854
994
|
queryParams: queryParams
|
|
@@ -858,9 +998,9 @@ class MediaServicesClient {
|
|
|
858
998
|
const sdkResponse = oci_common_1.composeResponse({
|
|
859
999
|
responseObject: {},
|
|
860
1000
|
body: yield response.json(),
|
|
861
|
-
bodyKey: "
|
|
862
|
-
bodyModel: model.
|
|
863
|
-
type: "model.
|
|
1001
|
+
bodyKey: "mediaAsset",
|
|
1002
|
+
bodyModel: model.MediaAsset,
|
|
1003
|
+
type: "model.MediaAsset",
|
|
864
1004
|
responseHeaders: [
|
|
865
1005
|
{
|
|
866
1006
|
value: response.headers.get("etag"),
|
|
@@ -882,37 +1022,37 @@ class MediaServicesClient {
|
|
|
882
1022
|
});
|
|
883
1023
|
}
|
|
884
1024
|
/**
|
|
885
|
-
* Creates a new
|
|
1025
|
+
* Creates a new MediaWorkflow.
|
|
886
1026
|
*
|
|
887
1027
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
888
|
-
* @param
|
|
889
|
-
* @return
|
|
1028
|
+
* @param CreateMediaWorkflowRequest
|
|
1029
|
+
* @return CreateMediaWorkflowResponse
|
|
890
1030
|
* @throws OciError when an error occurs
|
|
891
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1031
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/CreateMediaWorkflow.ts.html |here} to see how to use CreateMediaWorkflow API.
|
|
892
1032
|
*/
|
|
893
|
-
|
|
1033
|
+
createMediaWorkflow(createMediaWorkflowRequest) {
|
|
894
1034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
895
1035
|
if (this.logger)
|
|
896
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
897
|
-
const operationName = "
|
|
1036
|
+
this.logger.debug("Calling operation MediaServicesClient#createMediaWorkflow.");
|
|
1037
|
+
const operationName = "createMediaWorkflow";
|
|
898
1038
|
const apiReferenceLink = "";
|
|
899
1039
|
const pathParams = {};
|
|
900
1040
|
const queryParams = {};
|
|
901
1041
|
let headerParams = {
|
|
902
1042
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
903
|
-
"opc-retry-token":
|
|
904
|
-
"opc-request-id":
|
|
1043
|
+
"opc-retry-token": createMediaWorkflowRequest.opcRetryToken,
|
|
1044
|
+
"opc-request-id": createMediaWorkflowRequest.opcRequestId
|
|
905
1045
|
};
|
|
906
1046
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
907
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1047
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMediaWorkflowRequest.retryConfiguration, specRetryConfiguration);
|
|
908
1048
|
if (this.logger)
|
|
909
1049
|
retrier.logger = this.logger;
|
|
910
1050
|
const request = yield oci_common_1.composeRequest({
|
|
911
1051
|
baseEndpoint: this._endpoint,
|
|
912
1052
|
defaultHeaders: this._defaultHeaders,
|
|
913
|
-
path: "/
|
|
1053
|
+
path: "/mediaWorkflows",
|
|
914
1054
|
method: "POST",
|
|
915
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
1055
|
+
bodyContent: common.ObjectSerializer.serialize(createMediaWorkflowRequest.createMediaWorkflowDetails, "CreateMediaWorkflowDetails", model.CreateMediaWorkflowDetails.getJsonObj),
|
|
916
1056
|
pathParams: pathParams,
|
|
917
1057
|
headerParams: headerParams,
|
|
918
1058
|
queryParams: queryParams
|
|
@@ -922,9 +1062,9 @@ class MediaServicesClient {
|
|
|
922
1062
|
const sdkResponse = oci_common_1.composeResponse({
|
|
923
1063
|
responseObject: {},
|
|
924
1064
|
body: yield response.json(),
|
|
925
|
-
bodyKey: "
|
|
926
|
-
bodyModel: model.
|
|
927
|
-
type: "model.
|
|
1065
|
+
bodyKey: "mediaWorkflow",
|
|
1066
|
+
bodyModel: model.MediaWorkflow,
|
|
1067
|
+
type: "model.MediaWorkflow",
|
|
928
1068
|
responseHeaders: [
|
|
929
1069
|
{
|
|
930
1070
|
value: response.headers.get("etag"),
|
|
@@ -946,39 +1086,37 @@ class MediaServicesClient {
|
|
|
946
1086
|
});
|
|
947
1087
|
}
|
|
948
1088
|
/**
|
|
949
|
-
*
|
|
1089
|
+
* Creates a new MediaWorkflowConfiguration.
|
|
1090
|
+
*
|
|
950
1091
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
951
|
-
* @param
|
|
952
|
-
* @return
|
|
1092
|
+
* @param CreateMediaWorkflowConfigurationRequest
|
|
1093
|
+
* @return CreateMediaWorkflowConfigurationResponse
|
|
953
1094
|
* @throws OciError when an error occurs
|
|
954
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1095
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/CreateMediaWorkflowConfiguration.ts.html |here} to see how to use CreateMediaWorkflowConfiguration API.
|
|
955
1096
|
*/
|
|
956
|
-
|
|
1097
|
+
createMediaWorkflowConfiguration(createMediaWorkflowConfigurationRequest) {
|
|
957
1098
|
return __awaiter(this, void 0, void 0, function* () {
|
|
958
1099
|
if (this.logger)
|
|
959
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
960
|
-
const operationName = "
|
|
1100
|
+
this.logger.debug("Calling operation MediaServicesClient#createMediaWorkflowConfiguration.");
|
|
1101
|
+
const operationName = "createMediaWorkflowConfiguration";
|
|
961
1102
|
const apiReferenceLink = "";
|
|
962
|
-
const pathParams = {
|
|
963
|
-
|
|
964
|
-
};
|
|
965
|
-
const queryParams = {
|
|
966
|
-
"deleteMode": deleteMediaAssetRequest.deleteMode
|
|
967
|
-
};
|
|
1103
|
+
const pathParams = {};
|
|
1104
|
+
const queryParams = {};
|
|
968
1105
|
let headerParams = {
|
|
969
1106
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
970
|
-
"
|
|
971
|
-
"opc-request-id":
|
|
1107
|
+
"opc-retry-token": createMediaWorkflowConfigurationRequest.opcRetryToken,
|
|
1108
|
+
"opc-request-id": createMediaWorkflowConfigurationRequest.opcRequestId
|
|
972
1109
|
};
|
|
973
1110
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
974
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1111
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMediaWorkflowConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
975
1112
|
if (this.logger)
|
|
976
1113
|
retrier.logger = this.logger;
|
|
977
1114
|
const request = yield oci_common_1.composeRequest({
|
|
978
1115
|
baseEndpoint: this._endpoint,
|
|
979
1116
|
defaultHeaders: this._defaultHeaders,
|
|
980
|
-
path: "/
|
|
981
|
-
method: "
|
|
1117
|
+
path: "/mediaWorkflowConfigurations",
|
|
1118
|
+
method: "POST",
|
|
1119
|
+
bodyContent: common.ObjectSerializer.serialize(createMediaWorkflowConfigurationRequest.createMediaWorkflowConfigurationDetails, "CreateMediaWorkflowConfigurationDetails", model.CreateMediaWorkflowConfigurationDetails.getJsonObj),
|
|
982
1120
|
pathParams: pathParams,
|
|
983
1121
|
headerParams: headerParams,
|
|
984
1122
|
queryParams: queryParams
|
|
@@ -987,7 +1125,16 @@ class MediaServicesClient {
|
|
|
987
1125
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
988
1126
|
const sdkResponse = oci_common_1.composeResponse({
|
|
989
1127
|
responseObject: {},
|
|
1128
|
+
body: yield response.json(),
|
|
1129
|
+
bodyKey: "mediaWorkflowConfiguration",
|
|
1130
|
+
bodyModel: model.MediaWorkflowConfiguration,
|
|
1131
|
+
type: "model.MediaWorkflowConfiguration",
|
|
990
1132
|
responseHeaders: [
|
|
1133
|
+
{
|
|
1134
|
+
value: response.headers.get("etag"),
|
|
1135
|
+
key: "etag",
|
|
1136
|
+
dataType: "string"
|
|
1137
|
+
},
|
|
991
1138
|
{
|
|
992
1139
|
value: response.headers.get("opc-request-id"),
|
|
993
1140
|
key: "opcRequestId",
|
|
@@ -1003,39 +1150,638 @@ class MediaServicesClient {
|
|
|
1003
1150
|
});
|
|
1004
1151
|
}
|
|
1005
1152
|
/**
|
|
1006
|
-
*
|
|
1153
|
+
* Run the MediaWorkflow according to the given mediaWorkflow definition and configuration.
|
|
1007
1154
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1008
|
-
* @param
|
|
1009
|
-
* @return
|
|
1155
|
+
* @param CreateMediaWorkflowJobRequest
|
|
1156
|
+
* @return CreateMediaWorkflowJobResponse
|
|
1010
1157
|
* @throws OciError when an error occurs
|
|
1011
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1158
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/CreateMediaWorkflowJob.ts.html |here} to see how to use CreateMediaWorkflowJob API.
|
|
1012
1159
|
*/
|
|
1013
|
-
|
|
1160
|
+
createMediaWorkflowJob(createMediaWorkflowJobRequest) {
|
|
1014
1161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1015
1162
|
if (this.logger)
|
|
1016
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1017
|
-
const operationName = "
|
|
1163
|
+
this.logger.debug("Calling operation MediaServicesClient#createMediaWorkflowJob.");
|
|
1164
|
+
const operationName = "createMediaWorkflowJob";
|
|
1165
|
+
const apiReferenceLink = "";
|
|
1166
|
+
const pathParams = {};
|
|
1167
|
+
const queryParams = {};
|
|
1168
|
+
let headerParams = {
|
|
1169
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1170
|
+
"opc-request-id": createMediaWorkflowJobRequest.opcRequestId,
|
|
1171
|
+
"opc-retry-token": createMediaWorkflowJobRequest.opcRetryToken
|
|
1172
|
+
};
|
|
1173
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1174
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMediaWorkflowJobRequest.retryConfiguration, specRetryConfiguration);
|
|
1175
|
+
if (this.logger)
|
|
1176
|
+
retrier.logger = this.logger;
|
|
1177
|
+
const request = yield oci_common_1.composeRequest({
|
|
1178
|
+
baseEndpoint: this._endpoint,
|
|
1179
|
+
defaultHeaders: this._defaultHeaders,
|
|
1180
|
+
path: "/mediaWorkflowJobs",
|
|
1181
|
+
method: "POST",
|
|
1182
|
+
bodyContent: common.ObjectSerializer.serialize(createMediaWorkflowJobRequest.createMediaWorkflowJobDetails, "CreateMediaWorkflowJobDetails", model.CreateMediaWorkflowJobDetails.getJsonObj),
|
|
1183
|
+
pathParams: pathParams,
|
|
1184
|
+
headerParams: headerParams,
|
|
1185
|
+
queryParams: queryParams
|
|
1186
|
+
});
|
|
1187
|
+
try {
|
|
1188
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1189
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1190
|
+
responseObject: {},
|
|
1191
|
+
body: yield response.json(),
|
|
1192
|
+
bodyKey: "mediaWorkflowJob",
|
|
1193
|
+
bodyModel: model.MediaWorkflowJob,
|
|
1194
|
+
type: "model.MediaWorkflowJob",
|
|
1195
|
+
responseHeaders: [
|
|
1196
|
+
{
|
|
1197
|
+
value: response.headers.get("etag"),
|
|
1198
|
+
key: "etag",
|
|
1199
|
+
dataType: "string"
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
value: response.headers.get("opc-request-id"),
|
|
1203
|
+
key: "opcRequestId",
|
|
1204
|
+
dataType: "string"
|
|
1205
|
+
}
|
|
1206
|
+
]
|
|
1207
|
+
});
|
|
1208
|
+
return sdkResponse;
|
|
1209
|
+
}
|
|
1210
|
+
catch (err) {
|
|
1211
|
+
throw err;
|
|
1212
|
+
}
|
|
1213
|
+
});
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* Creates a new CDN Configuration.
|
|
1217
|
+
*
|
|
1218
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1219
|
+
* @param CreateStreamCdnConfigRequest
|
|
1220
|
+
* @return CreateStreamCdnConfigResponse
|
|
1221
|
+
* @throws OciError when an error occurs
|
|
1222
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/CreateStreamCdnConfig.ts.html |here} to see how to use CreateStreamCdnConfig API.
|
|
1223
|
+
*/
|
|
1224
|
+
createStreamCdnConfig(createStreamCdnConfigRequest) {
|
|
1225
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1226
|
+
if (this.logger)
|
|
1227
|
+
this.logger.debug("Calling operation MediaServicesClient#createStreamCdnConfig.");
|
|
1228
|
+
const operationName = "createStreamCdnConfig";
|
|
1229
|
+
const apiReferenceLink = "";
|
|
1230
|
+
const pathParams = {};
|
|
1231
|
+
const queryParams = {};
|
|
1232
|
+
let headerParams = {
|
|
1233
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1234
|
+
"opc-retry-token": createStreamCdnConfigRequest.opcRetryToken,
|
|
1235
|
+
"opc-request-id": createStreamCdnConfigRequest.opcRequestId
|
|
1236
|
+
};
|
|
1237
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1238
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createStreamCdnConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1239
|
+
if (this.logger)
|
|
1240
|
+
retrier.logger = this.logger;
|
|
1241
|
+
const request = yield oci_common_1.composeRequest({
|
|
1242
|
+
baseEndpoint: this._endpoint,
|
|
1243
|
+
defaultHeaders: this._defaultHeaders,
|
|
1244
|
+
path: "/streamCdnConfigs",
|
|
1245
|
+
method: "POST",
|
|
1246
|
+
bodyContent: common.ObjectSerializer.serialize(createStreamCdnConfigRequest.createStreamCdnConfigDetails, "CreateStreamCdnConfigDetails", model.CreateStreamCdnConfigDetails.getJsonObj),
|
|
1247
|
+
pathParams: pathParams,
|
|
1248
|
+
headerParams: headerParams,
|
|
1249
|
+
queryParams: queryParams
|
|
1250
|
+
});
|
|
1251
|
+
try {
|
|
1252
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1253
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1254
|
+
responseObject: {},
|
|
1255
|
+
body: yield response.json(),
|
|
1256
|
+
bodyKey: "streamCdnConfig",
|
|
1257
|
+
bodyModel: model.StreamCdnConfig,
|
|
1258
|
+
type: "model.StreamCdnConfig",
|
|
1259
|
+
responseHeaders: [
|
|
1260
|
+
{
|
|
1261
|
+
value: response.headers.get("etag"),
|
|
1262
|
+
key: "etag",
|
|
1263
|
+
dataType: "string"
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
value: response.headers.get("opc-request-id"),
|
|
1267
|
+
key: "opcRequestId",
|
|
1268
|
+
dataType: "string"
|
|
1269
|
+
}
|
|
1270
|
+
]
|
|
1271
|
+
});
|
|
1272
|
+
return sdkResponse;
|
|
1273
|
+
}
|
|
1274
|
+
catch (err) {
|
|
1275
|
+
throw err;
|
|
1276
|
+
}
|
|
1277
|
+
});
|
|
1278
|
+
}
|
|
1279
|
+
/**
|
|
1280
|
+
* Creates a new Stream Distribution Channel.
|
|
1281
|
+
*
|
|
1282
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1283
|
+
* @param CreateStreamDistributionChannelRequest
|
|
1284
|
+
* @return CreateStreamDistributionChannelResponse
|
|
1285
|
+
* @throws OciError when an error occurs
|
|
1286
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/CreateStreamDistributionChannel.ts.html |here} to see how to use CreateStreamDistributionChannel API.
|
|
1287
|
+
*/
|
|
1288
|
+
createStreamDistributionChannel(createStreamDistributionChannelRequest) {
|
|
1289
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1290
|
+
if (this.logger)
|
|
1291
|
+
this.logger.debug("Calling operation MediaServicesClient#createStreamDistributionChannel.");
|
|
1292
|
+
const operationName = "createStreamDistributionChannel";
|
|
1293
|
+
const apiReferenceLink = "";
|
|
1294
|
+
const pathParams = {};
|
|
1295
|
+
const queryParams = {};
|
|
1296
|
+
let headerParams = {
|
|
1297
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1298
|
+
"opc-retry-token": createStreamDistributionChannelRequest.opcRetryToken,
|
|
1299
|
+
"opc-request-id": createStreamDistributionChannelRequest.opcRequestId
|
|
1300
|
+
};
|
|
1301
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1302
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createStreamDistributionChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
1303
|
+
if (this.logger)
|
|
1304
|
+
retrier.logger = this.logger;
|
|
1305
|
+
const request = yield oci_common_1.composeRequest({
|
|
1306
|
+
baseEndpoint: this._endpoint,
|
|
1307
|
+
defaultHeaders: this._defaultHeaders,
|
|
1308
|
+
path: "/streamDistributionChannels",
|
|
1309
|
+
method: "POST",
|
|
1310
|
+
bodyContent: common.ObjectSerializer.serialize(createStreamDistributionChannelRequest.createStreamDistributionChannelDetails, "CreateStreamDistributionChannelDetails", model.CreateStreamDistributionChannelDetails.getJsonObj),
|
|
1311
|
+
pathParams: pathParams,
|
|
1312
|
+
headerParams: headerParams,
|
|
1313
|
+
queryParams: queryParams
|
|
1314
|
+
});
|
|
1315
|
+
try {
|
|
1316
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1317
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1318
|
+
responseObject: {},
|
|
1319
|
+
body: yield response.json(),
|
|
1320
|
+
bodyKey: "streamDistributionChannel",
|
|
1321
|
+
bodyModel: model.StreamDistributionChannel,
|
|
1322
|
+
type: "model.StreamDistributionChannel",
|
|
1323
|
+
responseHeaders: [
|
|
1324
|
+
{
|
|
1325
|
+
value: response.headers.get("etag"),
|
|
1326
|
+
key: "etag",
|
|
1327
|
+
dataType: "string"
|
|
1328
|
+
},
|
|
1329
|
+
{
|
|
1330
|
+
value: response.headers.get("opc-request-id"),
|
|
1331
|
+
key: "opcRequestId",
|
|
1332
|
+
dataType: "string"
|
|
1333
|
+
}
|
|
1334
|
+
]
|
|
1335
|
+
});
|
|
1336
|
+
return sdkResponse;
|
|
1337
|
+
}
|
|
1338
|
+
catch (err) {
|
|
1339
|
+
throw err;
|
|
1340
|
+
}
|
|
1341
|
+
});
|
|
1342
|
+
}
|
|
1343
|
+
/**
|
|
1344
|
+
* Creates a new Packaging Configuration.
|
|
1345
|
+
*
|
|
1346
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1347
|
+
* @param CreateStreamPackagingConfigRequest
|
|
1348
|
+
* @return CreateStreamPackagingConfigResponse
|
|
1349
|
+
* @throws OciError when an error occurs
|
|
1350
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/CreateStreamPackagingConfig.ts.html |here} to see how to use CreateStreamPackagingConfig API.
|
|
1351
|
+
*/
|
|
1352
|
+
createStreamPackagingConfig(createStreamPackagingConfigRequest) {
|
|
1353
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1354
|
+
if (this.logger)
|
|
1355
|
+
this.logger.debug("Calling operation MediaServicesClient#createStreamPackagingConfig.");
|
|
1356
|
+
const operationName = "createStreamPackagingConfig";
|
|
1357
|
+
const apiReferenceLink = "";
|
|
1358
|
+
const pathParams = {};
|
|
1359
|
+
const queryParams = {};
|
|
1360
|
+
let headerParams = {
|
|
1361
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1362
|
+
"opc-retry-token": createStreamPackagingConfigRequest.opcRetryToken,
|
|
1363
|
+
"opc-request-id": createStreamPackagingConfigRequest.opcRequestId
|
|
1364
|
+
};
|
|
1365
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1366
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createStreamPackagingConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1367
|
+
if (this.logger)
|
|
1368
|
+
retrier.logger = this.logger;
|
|
1369
|
+
const request = yield oci_common_1.composeRequest({
|
|
1370
|
+
baseEndpoint: this._endpoint,
|
|
1371
|
+
defaultHeaders: this._defaultHeaders,
|
|
1372
|
+
path: "/streamPackagingConfigs",
|
|
1373
|
+
method: "POST",
|
|
1374
|
+
bodyContent: common.ObjectSerializer.serialize(createStreamPackagingConfigRequest.createStreamPackagingConfigDetails, "CreateStreamPackagingConfigDetails", model.CreateStreamPackagingConfigDetails.getJsonObj),
|
|
1375
|
+
pathParams: pathParams,
|
|
1376
|
+
headerParams: headerParams,
|
|
1377
|
+
queryParams: queryParams
|
|
1378
|
+
});
|
|
1379
|
+
try {
|
|
1380
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1381
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1382
|
+
responseObject: {},
|
|
1383
|
+
body: yield response.json(),
|
|
1384
|
+
bodyKey: "streamPackagingConfig",
|
|
1385
|
+
bodyModel: model.StreamPackagingConfig,
|
|
1386
|
+
type: "model.StreamPackagingConfig",
|
|
1387
|
+
responseHeaders: [
|
|
1388
|
+
{
|
|
1389
|
+
value: response.headers.get("etag"),
|
|
1390
|
+
key: "etag",
|
|
1391
|
+
dataType: "string"
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
value: response.headers.get("opc-request-id"),
|
|
1395
|
+
key: "opcRequestId",
|
|
1396
|
+
dataType: "string"
|
|
1397
|
+
}
|
|
1398
|
+
]
|
|
1399
|
+
});
|
|
1400
|
+
return sdkResponse;
|
|
1401
|
+
}
|
|
1402
|
+
catch (err) {
|
|
1403
|
+
throw err;
|
|
1404
|
+
}
|
|
1405
|
+
});
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* Deletes a MediaAsset resource by identifier. If DeleteChildren is passed in as the mode, all the assets with the parentMediaAssetId matching the ID will be deleted. If DeleteDerivatives is set as the mode, all the assets with the masterMediaAssetId matching the ID will be deleted.
|
|
1409
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1410
|
+
* @param DeleteMediaAssetRequest
|
|
1411
|
+
* @return DeleteMediaAssetResponse
|
|
1412
|
+
* @throws OciError when an error occurs
|
|
1413
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/DeleteMediaAsset.ts.html |here} to see how to use DeleteMediaAsset API.
|
|
1414
|
+
*/
|
|
1415
|
+
deleteMediaAsset(deleteMediaAssetRequest) {
|
|
1416
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1417
|
+
if (this.logger)
|
|
1418
|
+
this.logger.debug("Calling operation MediaServicesClient#deleteMediaAsset.");
|
|
1419
|
+
const operationName = "deleteMediaAsset";
|
|
1420
|
+
const apiReferenceLink = "";
|
|
1421
|
+
const pathParams = {
|
|
1422
|
+
"{mediaAssetId}": deleteMediaAssetRequest.mediaAssetId
|
|
1423
|
+
};
|
|
1424
|
+
const queryParams = {
|
|
1425
|
+
"isLockOverride": deleteMediaAssetRequest.isLockOverride,
|
|
1426
|
+
"deleteMode": deleteMediaAssetRequest.deleteMode
|
|
1427
|
+
};
|
|
1428
|
+
let headerParams = {
|
|
1429
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1430
|
+
"if-match": deleteMediaAssetRequest.ifMatch,
|
|
1431
|
+
"opc-request-id": deleteMediaAssetRequest.opcRequestId
|
|
1432
|
+
};
|
|
1433
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1434
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMediaAssetRequest.retryConfiguration, specRetryConfiguration);
|
|
1435
|
+
if (this.logger)
|
|
1436
|
+
retrier.logger = this.logger;
|
|
1437
|
+
const request = yield oci_common_1.composeRequest({
|
|
1438
|
+
baseEndpoint: this._endpoint,
|
|
1439
|
+
defaultHeaders: this._defaultHeaders,
|
|
1440
|
+
path: "/mediaAssets/{mediaAssetId}",
|
|
1441
|
+
method: "DELETE",
|
|
1442
|
+
pathParams: pathParams,
|
|
1443
|
+
headerParams: headerParams,
|
|
1444
|
+
queryParams: queryParams
|
|
1445
|
+
});
|
|
1446
|
+
try {
|
|
1447
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1448
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1449
|
+
responseObject: {},
|
|
1450
|
+
responseHeaders: [
|
|
1451
|
+
{
|
|
1452
|
+
value: response.headers.get("opc-request-id"),
|
|
1453
|
+
key: "opcRequestId",
|
|
1454
|
+
dataType: "string"
|
|
1455
|
+
}
|
|
1456
|
+
]
|
|
1457
|
+
});
|
|
1458
|
+
return sdkResponse;
|
|
1459
|
+
}
|
|
1460
|
+
catch (err) {
|
|
1461
|
+
throw err;
|
|
1462
|
+
}
|
|
1463
|
+
});
|
|
1464
|
+
}
|
|
1465
|
+
/**
|
|
1466
|
+
* Deletes a MediaAsset from the DistributionChannel by identifiers.
|
|
1467
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1468
|
+
* @param DeleteMediaAssetDistributionChannelAttachmentRequest
|
|
1469
|
+
* @return DeleteMediaAssetDistributionChannelAttachmentResponse
|
|
1470
|
+
* @throws OciError when an error occurs
|
|
1471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/DeleteMediaAssetDistributionChannelAttachment.ts.html |here} to see how to use DeleteMediaAssetDistributionChannelAttachment API.
|
|
1472
|
+
*/
|
|
1473
|
+
deleteMediaAssetDistributionChannelAttachment(deleteMediaAssetDistributionChannelAttachmentRequest) {
|
|
1474
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1475
|
+
if (this.logger)
|
|
1476
|
+
this.logger.debug("Calling operation MediaServicesClient#deleteMediaAssetDistributionChannelAttachment.");
|
|
1477
|
+
const operationName = "deleteMediaAssetDistributionChannelAttachment";
|
|
1478
|
+
const apiReferenceLink = "";
|
|
1479
|
+
const pathParams = {
|
|
1480
|
+
"{mediaAssetId}": deleteMediaAssetDistributionChannelAttachmentRequest.mediaAssetId,
|
|
1481
|
+
"{distributionChannelId}": deleteMediaAssetDistributionChannelAttachmentRequest.distributionChannelId
|
|
1482
|
+
};
|
|
1483
|
+
const queryParams = {
|
|
1484
|
+
"isLockOverride": deleteMediaAssetDistributionChannelAttachmentRequest.isLockOverride,
|
|
1485
|
+
"version": deleteMediaAssetDistributionChannelAttachmentRequest.version
|
|
1486
|
+
};
|
|
1487
|
+
let headerParams = {
|
|
1488
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1489
|
+
"if-match": deleteMediaAssetDistributionChannelAttachmentRequest.ifMatch,
|
|
1490
|
+
"opc-request-id": deleteMediaAssetDistributionChannelAttachmentRequest.opcRequestId
|
|
1491
|
+
};
|
|
1492
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1493
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMediaAssetDistributionChannelAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1494
|
+
if (this.logger)
|
|
1495
|
+
retrier.logger = this.logger;
|
|
1496
|
+
const request = yield oci_common_1.composeRequest({
|
|
1497
|
+
baseEndpoint: this._endpoint,
|
|
1498
|
+
defaultHeaders: this._defaultHeaders,
|
|
1499
|
+
path: "/mediaAssets/{mediaAssetId}/distributionChannelAttachments/{distributionChannelId}",
|
|
1500
|
+
method: "DELETE",
|
|
1501
|
+
pathParams: pathParams,
|
|
1502
|
+
headerParams: headerParams,
|
|
1503
|
+
queryParams: queryParams
|
|
1504
|
+
});
|
|
1505
|
+
try {
|
|
1506
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1507
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1508
|
+
responseObject: {},
|
|
1509
|
+
responseHeaders: [
|
|
1510
|
+
{
|
|
1511
|
+
value: response.headers.get("opc-request-id"),
|
|
1512
|
+
key: "opcRequestId",
|
|
1513
|
+
dataType: "string"
|
|
1514
|
+
}
|
|
1515
|
+
]
|
|
1516
|
+
});
|
|
1517
|
+
return sdkResponse;
|
|
1518
|
+
}
|
|
1519
|
+
catch (err) {
|
|
1520
|
+
throw err;
|
|
1521
|
+
}
|
|
1522
|
+
});
|
|
1523
|
+
}
|
|
1524
|
+
/**
|
|
1525
|
+
* The MediaWorkflow lifecycleState will change to DELETED.
|
|
1526
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1527
|
+
* @param DeleteMediaWorkflowRequest
|
|
1528
|
+
* @return DeleteMediaWorkflowResponse
|
|
1529
|
+
* @throws OciError when an error occurs
|
|
1530
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/DeleteMediaWorkflow.ts.html |here} to see how to use DeleteMediaWorkflow API.
|
|
1531
|
+
*/
|
|
1532
|
+
deleteMediaWorkflow(deleteMediaWorkflowRequest) {
|
|
1533
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1534
|
+
if (this.logger)
|
|
1535
|
+
this.logger.debug("Calling operation MediaServicesClient#deleteMediaWorkflow.");
|
|
1536
|
+
const operationName = "deleteMediaWorkflow";
|
|
1537
|
+
const apiReferenceLink = "";
|
|
1538
|
+
const pathParams = {
|
|
1539
|
+
"{mediaWorkflowId}": deleteMediaWorkflowRequest.mediaWorkflowId
|
|
1540
|
+
};
|
|
1541
|
+
const queryParams = {
|
|
1542
|
+
"isLockOverride": deleteMediaWorkflowRequest.isLockOverride
|
|
1543
|
+
};
|
|
1544
|
+
let headerParams = {
|
|
1545
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1546
|
+
"opc-request-id": deleteMediaWorkflowRequest.opcRequestId,
|
|
1547
|
+
"if-match": deleteMediaWorkflowRequest.ifMatch
|
|
1548
|
+
};
|
|
1549
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1550
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMediaWorkflowRequest.retryConfiguration, specRetryConfiguration);
|
|
1551
|
+
if (this.logger)
|
|
1552
|
+
retrier.logger = this.logger;
|
|
1553
|
+
const request = yield oci_common_1.composeRequest({
|
|
1554
|
+
baseEndpoint: this._endpoint,
|
|
1555
|
+
defaultHeaders: this._defaultHeaders,
|
|
1556
|
+
path: "/mediaWorkflows/{mediaWorkflowId}",
|
|
1557
|
+
method: "DELETE",
|
|
1558
|
+
pathParams: pathParams,
|
|
1559
|
+
headerParams: headerParams,
|
|
1560
|
+
queryParams: queryParams
|
|
1561
|
+
});
|
|
1562
|
+
try {
|
|
1563
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1564
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1565
|
+
responseObject: {},
|
|
1566
|
+
responseHeaders: [
|
|
1567
|
+
{
|
|
1568
|
+
value: response.headers.get("opc-request-id"),
|
|
1569
|
+
key: "opcRequestId",
|
|
1570
|
+
dataType: "string"
|
|
1571
|
+
}
|
|
1572
|
+
]
|
|
1573
|
+
});
|
|
1574
|
+
return sdkResponse;
|
|
1575
|
+
}
|
|
1576
|
+
catch (err) {
|
|
1577
|
+
throw err;
|
|
1578
|
+
}
|
|
1579
|
+
});
|
|
1580
|
+
}
|
|
1581
|
+
/**
|
|
1582
|
+
* Deletes a MediaWorkflowConfiguration resource by identifier.
|
|
1583
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1584
|
+
* @param DeleteMediaWorkflowConfigurationRequest
|
|
1585
|
+
* @return DeleteMediaWorkflowConfigurationResponse
|
|
1586
|
+
* @throws OciError when an error occurs
|
|
1587
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/DeleteMediaWorkflowConfiguration.ts.html |here} to see how to use DeleteMediaWorkflowConfiguration API.
|
|
1588
|
+
*/
|
|
1589
|
+
deleteMediaWorkflowConfiguration(deleteMediaWorkflowConfigurationRequest) {
|
|
1590
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1591
|
+
if (this.logger)
|
|
1592
|
+
this.logger.debug("Calling operation MediaServicesClient#deleteMediaWorkflowConfiguration.");
|
|
1593
|
+
const operationName = "deleteMediaWorkflowConfiguration";
|
|
1594
|
+
const apiReferenceLink = "";
|
|
1595
|
+
const pathParams = {
|
|
1596
|
+
"{mediaWorkflowConfigurationId}": deleteMediaWorkflowConfigurationRequest.mediaWorkflowConfigurationId
|
|
1597
|
+
};
|
|
1598
|
+
const queryParams = {
|
|
1599
|
+
"isLockOverride": deleteMediaWorkflowConfigurationRequest.isLockOverride
|
|
1600
|
+
};
|
|
1601
|
+
let headerParams = {
|
|
1602
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1603
|
+
"if-match": deleteMediaWorkflowConfigurationRequest.ifMatch,
|
|
1604
|
+
"opc-request-id": deleteMediaWorkflowConfigurationRequest.opcRequestId
|
|
1605
|
+
};
|
|
1606
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1607
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMediaWorkflowConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1608
|
+
if (this.logger)
|
|
1609
|
+
retrier.logger = this.logger;
|
|
1610
|
+
const request = yield oci_common_1.composeRequest({
|
|
1611
|
+
baseEndpoint: this._endpoint,
|
|
1612
|
+
defaultHeaders: this._defaultHeaders,
|
|
1613
|
+
path: "/mediaWorkflowConfigurations/{mediaWorkflowConfigurationId}",
|
|
1614
|
+
method: "DELETE",
|
|
1615
|
+
pathParams: pathParams,
|
|
1616
|
+
headerParams: headerParams,
|
|
1617
|
+
queryParams: queryParams
|
|
1618
|
+
});
|
|
1619
|
+
try {
|
|
1620
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1621
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1622
|
+
responseObject: {},
|
|
1623
|
+
responseHeaders: [
|
|
1624
|
+
{
|
|
1625
|
+
value: response.headers.get("opc-request-id"),
|
|
1626
|
+
key: "opcRequestId",
|
|
1627
|
+
dataType: "string"
|
|
1628
|
+
}
|
|
1629
|
+
]
|
|
1630
|
+
});
|
|
1631
|
+
return sdkResponse;
|
|
1632
|
+
}
|
|
1633
|
+
catch (err) {
|
|
1634
|
+
throw err;
|
|
1635
|
+
}
|
|
1636
|
+
});
|
|
1637
|
+
}
|
|
1638
|
+
/**
|
|
1639
|
+
* This is an asynchronous operation. The MediaWorkflowJob lifecycleState will change to CANCELING temporarily until the job is completely CANCELED.
|
|
1640
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1641
|
+
* @param DeleteMediaWorkflowJobRequest
|
|
1642
|
+
* @return DeleteMediaWorkflowJobResponse
|
|
1643
|
+
* @throws OciError when an error occurs
|
|
1644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/DeleteMediaWorkflowJob.ts.html |here} to see how to use DeleteMediaWorkflowJob API.
|
|
1645
|
+
*/
|
|
1646
|
+
deleteMediaWorkflowJob(deleteMediaWorkflowJobRequest) {
|
|
1647
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1648
|
+
if (this.logger)
|
|
1649
|
+
this.logger.debug("Calling operation MediaServicesClient#deleteMediaWorkflowJob.");
|
|
1650
|
+
const operationName = "deleteMediaWorkflowJob";
|
|
1651
|
+
const apiReferenceLink = "";
|
|
1652
|
+
const pathParams = {
|
|
1653
|
+
"{mediaWorkflowJobId}": deleteMediaWorkflowJobRequest.mediaWorkflowJobId
|
|
1654
|
+
};
|
|
1655
|
+
const queryParams = {
|
|
1656
|
+
"isLockOverride": deleteMediaWorkflowJobRequest.isLockOverride
|
|
1657
|
+
};
|
|
1658
|
+
let headerParams = {
|
|
1659
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1660
|
+
"opc-request-id": deleteMediaWorkflowJobRequest.opcRequestId,
|
|
1661
|
+
"if-match": deleteMediaWorkflowJobRequest.ifMatch
|
|
1662
|
+
};
|
|
1663
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1664
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMediaWorkflowJobRequest.retryConfiguration, specRetryConfiguration);
|
|
1665
|
+
if (this.logger)
|
|
1666
|
+
retrier.logger = this.logger;
|
|
1667
|
+
const request = yield oci_common_1.composeRequest({
|
|
1668
|
+
baseEndpoint: this._endpoint,
|
|
1669
|
+
defaultHeaders: this._defaultHeaders,
|
|
1670
|
+
path: "/mediaWorkflowJobs/{mediaWorkflowJobId}",
|
|
1671
|
+
method: "DELETE",
|
|
1672
|
+
pathParams: pathParams,
|
|
1673
|
+
headerParams: headerParams,
|
|
1674
|
+
queryParams: queryParams
|
|
1675
|
+
});
|
|
1676
|
+
try {
|
|
1677
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1678
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1679
|
+
responseObject: {},
|
|
1680
|
+
responseHeaders: [
|
|
1681
|
+
{
|
|
1682
|
+
value: response.headers.get("opc-request-id"),
|
|
1683
|
+
key: "opcRequestId",
|
|
1684
|
+
dataType: "string"
|
|
1685
|
+
}
|
|
1686
|
+
]
|
|
1687
|
+
});
|
|
1688
|
+
return sdkResponse;
|
|
1689
|
+
}
|
|
1690
|
+
catch (err) {
|
|
1691
|
+
throw err;
|
|
1692
|
+
}
|
|
1693
|
+
});
|
|
1694
|
+
}
|
|
1695
|
+
/**
|
|
1696
|
+
* The StreamCdnConfig lifecycleState will change to DELETED.
|
|
1697
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1698
|
+
* @param DeleteStreamCdnConfigRequest
|
|
1699
|
+
* @return DeleteStreamCdnConfigResponse
|
|
1700
|
+
* @throws OciError when an error occurs
|
|
1701
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/DeleteStreamCdnConfig.ts.html |here} to see how to use DeleteStreamCdnConfig API.
|
|
1702
|
+
*/
|
|
1703
|
+
deleteStreamCdnConfig(deleteStreamCdnConfigRequest) {
|
|
1704
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1705
|
+
if (this.logger)
|
|
1706
|
+
this.logger.debug("Calling operation MediaServicesClient#deleteStreamCdnConfig.");
|
|
1707
|
+
const operationName = "deleteStreamCdnConfig";
|
|
1708
|
+
const apiReferenceLink = "";
|
|
1709
|
+
const pathParams = {
|
|
1710
|
+
"{streamCdnConfigId}": deleteStreamCdnConfigRequest.streamCdnConfigId
|
|
1711
|
+
};
|
|
1712
|
+
const queryParams = {
|
|
1713
|
+
"isLockOverride": deleteStreamCdnConfigRequest.isLockOverride
|
|
1714
|
+
};
|
|
1715
|
+
let headerParams = {
|
|
1716
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1717
|
+
"opc-request-id": deleteStreamCdnConfigRequest.opcRequestId,
|
|
1718
|
+
"if-match": deleteStreamCdnConfigRequest.ifMatch
|
|
1719
|
+
};
|
|
1720
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1721
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteStreamCdnConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1722
|
+
if (this.logger)
|
|
1723
|
+
retrier.logger = this.logger;
|
|
1724
|
+
const request = yield oci_common_1.composeRequest({
|
|
1725
|
+
baseEndpoint: this._endpoint,
|
|
1726
|
+
defaultHeaders: this._defaultHeaders,
|
|
1727
|
+
path: "/streamCdnConfigs/{streamCdnConfigId}",
|
|
1728
|
+
method: "DELETE",
|
|
1729
|
+
pathParams: pathParams,
|
|
1730
|
+
headerParams: headerParams,
|
|
1731
|
+
queryParams: queryParams
|
|
1732
|
+
});
|
|
1733
|
+
try {
|
|
1734
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1735
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1736
|
+
responseObject: {},
|
|
1737
|
+
responseHeaders: [
|
|
1738
|
+
{
|
|
1739
|
+
value: response.headers.get("opc-request-id"),
|
|
1740
|
+
key: "opcRequestId",
|
|
1741
|
+
dataType: "string"
|
|
1742
|
+
}
|
|
1743
|
+
]
|
|
1744
|
+
});
|
|
1745
|
+
return sdkResponse;
|
|
1746
|
+
}
|
|
1747
|
+
catch (err) {
|
|
1748
|
+
throw err;
|
|
1749
|
+
}
|
|
1750
|
+
});
|
|
1751
|
+
}
|
|
1752
|
+
/**
|
|
1753
|
+
* The Stream Distribution Channel lifecycleState will change to DELETED.
|
|
1754
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1755
|
+
* @param DeleteStreamDistributionChannelRequest
|
|
1756
|
+
* @return DeleteStreamDistributionChannelResponse
|
|
1757
|
+
* @throws OciError when an error occurs
|
|
1758
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/DeleteStreamDistributionChannel.ts.html |here} to see how to use DeleteStreamDistributionChannel API.
|
|
1759
|
+
*/
|
|
1760
|
+
deleteStreamDistributionChannel(deleteStreamDistributionChannelRequest) {
|
|
1761
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1762
|
+
if (this.logger)
|
|
1763
|
+
this.logger.debug("Calling operation MediaServicesClient#deleteStreamDistributionChannel.");
|
|
1764
|
+
const operationName = "deleteStreamDistributionChannel";
|
|
1018
1765
|
const apiReferenceLink = "";
|
|
1019
1766
|
const pathParams = {
|
|
1020
|
-
"{
|
|
1021
|
-
"{distributionChannelId}": deleteMediaAssetDistributionChannelAttachmentRequest.distributionChannelId
|
|
1767
|
+
"{streamDistributionChannelId}": deleteStreamDistributionChannelRequest.streamDistributionChannelId
|
|
1022
1768
|
};
|
|
1023
1769
|
const queryParams = {
|
|
1024
|
-
"
|
|
1770
|
+
"isLockOverride": deleteStreamDistributionChannelRequest.isLockOverride
|
|
1025
1771
|
};
|
|
1026
1772
|
let headerParams = {
|
|
1027
1773
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1028
|
-
"
|
|
1029
|
-
"
|
|
1774
|
+
"opc-request-id": deleteStreamDistributionChannelRequest.opcRequestId,
|
|
1775
|
+
"if-match": deleteStreamDistributionChannelRequest.ifMatch
|
|
1030
1776
|
};
|
|
1031
1777
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1032
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1778
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteStreamDistributionChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
1033
1779
|
if (this.logger)
|
|
1034
1780
|
retrier.logger = this.logger;
|
|
1035
1781
|
const request = yield oci_common_1.composeRequest({
|
|
1036
1782
|
baseEndpoint: this._endpoint,
|
|
1037
1783
|
defaultHeaders: this._defaultHeaders,
|
|
1038
|
-
path: "/
|
|
1784
|
+
path: "/streamDistributionChannels/{streamDistributionChannelId}",
|
|
1039
1785
|
method: "DELETE",
|
|
1040
1786
|
pathParams: pathParams,
|
|
1041
1787
|
headerParams: headerParams,
|
|
@@ -1061,36 +1807,38 @@ class MediaServicesClient {
|
|
|
1061
1807
|
});
|
|
1062
1808
|
}
|
|
1063
1809
|
/**
|
|
1064
|
-
* The
|
|
1810
|
+
* The Stream Packaging Configuration lifecycleState will change to DELETED.
|
|
1065
1811
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1066
|
-
* @param
|
|
1067
|
-
* @return
|
|
1812
|
+
* @param DeleteStreamPackagingConfigRequest
|
|
1813
|
+
* @return DeleteStreamPackagingConfigResponse
|
|
1068
1814
|
* @throws OciError when an error occurs
|
|
1069
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1815
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/DeleteStreamPackagingConfig.ts.html |here} to see how to use DeleteStreamPackagingConfig API.
|
|
1070
1816
|
*/
|
|
1071
|
-
|
|
1817
|
+
deleteStreamPackagingConfig(deleteStreamPackagingConfigRequest) {
|
|
1072
1818
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1073
1819
|
if (this.logger)
|
|
1074
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1075
|
-
const operationName = "
|
|
1820
|
+
this.logger.debug("Calling operation MediaServicesClient#deleteStreamPackagingConfig.");
|
|
1821
|
+
const operationName = "deleteStreamPackagingConfig";
|
|
1076
1822
|
const apiReferenceLink = "";
|
|
1077
1823
|
const pathParams = {
|
|
1078
|
-
"{
|
|
1824
|
+
"{streamPackagingConfigId}": deleteStreamPackagingConfigRequest.streamPackagingConfigId
|
|
1825
|
+
};
|
|
1826
|
+
const queryParams = {
|
|
1827
|
+
"isLockOverride": deleteStreamPackagingConfigRequest.isLockOverride
|
|
1079
1828
|
};
|
|
1080
|
-
const queryParams = {};
|
|
1081
1829
|
let headerParams = {
|
|
1082
1830
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1083
|
-
"opc-request-id":
|
|
1084
|
-
"if-match":
|
|
1831
|
+
"opc-request-id": deleteStreamPackagingConfigRequest.opcRequestId,
|
|
1832
|
+
"if-match": deleteStreamPackagingConfigRequest.ifMatch
|
|
1085
1833
|
};
|
|
1086
1834
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1087
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1835
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteStreamPackagingConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1088
1836
|
if (this.logger)
|
|
1089
1837
|
retrier.logger = this.logger;
|
|
1090
1838
|
const request = yield oci_common_1.composeRequest({
|
|
1091
1839
|
baseEndpoint: this._endpoint,
|
|
1092
1840
|
defaultHeaders: this._defaultHeaders,
|
|
1093
|
-
path: "/
|
|
1841
|
+
path: "/streamPackagingConfigs/{streamPackagingConfigId}",
|
|
1094
1842
|
method: "DELETE",
|
|
1095
1843
|
pathParams: pathParams,
|
|
1096
1844
|
headerParams: headerParams,
|
|
@@ -1116,37 +1864,36 @@ class MediaServicesClient {
|
|
|
1116
1864
|
});
|
|
1117
1865
|
}
|
|
1118
1866
|
/**
|
|
1119
|
-
*
|
|
1867
|
+
* Gets a MediaAsset by identifier.
|
|
1120
1868
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1121
|
-
* @param
|
|
1122
|
-
* @return
|
|
1869
|
+
* @param GetMediaAssetRequest
|
|
1870
|
+
* @return GetMediaAssetResponse
|
|
1123
1871
|
* @throws OciError when an error occurs
|
|
1124
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1872
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/GetMediaAsset.ts.html |here} to see how to use GetMediaAsset API.
|
|
1125
1873
|
*/
|
|
1126
|
-
|
|
1874
|
+
getMediaAsset(getMediaAssetRequest) {
|
|
1127
1875
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1128
1876
|
if (this.logger)
|
|
1129
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1130
|
-
const operationName = "
|
|
1877
|
+
this.logger.debug("Calling operation MediaServicesClient#getMediaAsset.");
|
|
1878
|
+
const operationName = "getMediaAsset";
|
|
1131
1879
|
const apiReferenceLink = "";
|
|
1132
1880
|
const pathParams = {
|
|
1133
|
-
"{
|
|
1881
|
+
"{mediaAssetId}": getMediaAssetRequest.mediaAssetId
|
|
1134
1882
|
};
|
|
1135
1883
|
const queryParams = {};
|
|
1136
1884
|
let headerParams = {
|
|
1137
1885
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1138
|
-
"
|
|
1139
|
-
"opc-request-id": deleteMediaWorkflowConfigurationRequest.opcRequestId
|
|
1886
|
+
"opc-request-id": getMediaAssetRequest.opcRequestId
|
|
1140
1887
|
};
|
|
1141
1888
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1142
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1889
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMediaAssetRequest.retryConfiguration, specRetryConfiguration);
|
|
1143
1890
|
if (this.logger)
|
|
1144
1891
|
retrier.logger = this.logger;
|
|
1145
1892
|
const request = yield oci_common_1.composeRequest({
|
|
1146
1893
|
baseEndpoint: this._endpoint,
|
|
1147
1894
|
defaultHeaders: this._defaultHeaders,
|
|
1148
|
-
path: "/
|
|
1149
|
-
method: "
|
|
1895
|
+
path: "/mediaAssets/{mediaAssetId}",
|
|
1896
|
+
method: "GET",
|
|
1150
1897
|
pathParams: pathParams,
|
|
1151
1898
|
headerParams: headerParams,
|
|
1152
1899
|
queryParams: queryParams
|
|
@@ -1155,10 +1902,14 @@ class MediaServicesClient {
|
|
|
1155
1902
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1156
1903
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1157
1904
|
responseObject: {},
|
|
1905
|
+
body: yield response.json(),
|
|
1906
|
+
bodyKey: "mediaAsset",
|
|
1907
|
+
bodyModel: model.MediaAsset,
|
|
1908
|
+
type: "model.MediaAsset",
|
|
1158
1909
|
responseHeaders: [
|
|
1159
1910
|
{
|
|
1160
|
-
value: response.headers.get("
|
|
1161
|
-
key: "
|
|
1911
|
+
value: response.headers.get("etag"),
|
|
1912
|
+
key: "etag",
|
|
1162
1913
|
dataType: "string"
|
|
1163
1914
|
},
|
|
1164
1915
|
{
|
|
@@ -1176,37 +1927,39 @@ class MediaServicesClient {
|
|
|
1176
1927
|
});
|
|
1177
1928
|
}
|
|
1178
1929
|
/**
|
|
1179
|
-
*
|
|
1930
|
+
* Gets a MediaAssetDistributionChannelAttachment for a MediaAsset by identifiers.
|
|
1180
1931
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1181
|
-
* @param
|
|
1182
|
-
* @return
|
|
1932
|
+
* @param GetMediaAssetDistributionChannelAttachmentRequest
|
|
1933
|
+
* @return GetMediaAssetDistributionChannelAttachmentResponse
|
|
1183
1934
|
* @throws OciError when an error occurs
|
|
1184
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1935
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/GetMediaAssetDistributionChannelAttachment.ts.html |here} to see how to use GetMediaAssetDistributionChannelAttachment API.
|
|
1185
1936
|
*/
|
|
1186
|
-
|
|
1937
|
+
getMediaAssetDistributionChannelAttachment(getMediaAssetDistributionChannelAttachmentRequest) {
|
|
1187
1938
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1188
1939
|
if (this.logger)
|
|
1189
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1190
|
-
const operationName = "
|
|
1940
|
+
this.logger.debug("Calling operation MediaServicesClient#getMediaAssetDistributionChannelAttachment.");
|
|
1941
|
+
const operationName = "getMediaAssetDistributionChannelAttachment";
|
|
1191
1942
|
const apiReferenceLink = "";
|
|
1192
1943
|
const pathParams = {
|
|
1193
|
-
"{
|
|
1944
|
+
"{mediaAssetId}": getMediaAssetDistributionChannelAttachmentRequest.mediaAssetId,
|
|
1945
|
+
"{distributionChannelId}": getMediaAssetDistributionChannelAttachmentRequest.distributionChannelId
|
|
1946
|
+
};
|
|
1947
|
+
const queryParams = {
|
|
1948
|
+
"version": getMediaAssetDistributionChannelAttachmentRequest.version
|
|
1194
1949
|
};
|
|
1195
|
-
const queryParams = {};
|
|
1196
1950
|
let headerParams = {
|
|
1197
1951
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1198
|
-
"opc-request-id":
|
|
1199
|
-
"if-match": deleteMediaWorkflowJobRequest.ifMatch
|
|
1952
|
+
"opc-request-id": getMediaAssetDistributionChannelAttachmentRequest.opcRequestId
|
|
1200
1953
|
};
|
|
1201
1954
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1202
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1955
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMediaAssetDistributionChannelAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1203
1956
|
if (this.logger)
|
|
1204
1957
|
retrier.logger = this.logger;
|
|
1205
1958
|
const request = yield oci_common_1.composeRequest({
|
|
1206
1959
|
baseEndpoint: this._endpoint,
|
|
1207
1960
|
defaultHeaders: this._defaultHeaders,
|
|
1208
|
-
path: "/
|
|
1209
|
-
method: "
|
|
1961
|
+
path: "/mediaAssets/{mediaAssetId}/distributionChannelAttachments/{distributionChannelId}",
|
|
1962
|
+
method: "GET",
|
|
1210
1963
|
pathParams: pathParams,
|
|
1211
1964
|
headerParams: headerParams,
|
|
1212
1965
|
queryParams: queryParams
|
|
@@ -1215,10 +1968,14 @@ class MediaServicesClient {
|
|
|
1215
1968
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1216
1969
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1217
1970
|
responseObject: {},
|
|
1971
|
+
body: yield response.json(),
|
|
1972
|
+
bodyKey: "mediaAssetDistributionChannelAttachment",
|
|
1973
|
+
bodyModel: model.MediaAssetDistributionChannelAttachment,
|
|
1974
|
+
type: "model.MediaAssetDistributionChannelAttachment",
|
|
1218
1975
|
responseHeaders: [
|
|
1219
1976
|
{
|
|
1220
|
-
value: response.headers.get("
|
|
1221
|
-
key: "
|
|
1977
|
+
value: response.headers.get("etag"),
|
|
1978
|
+
key: "etag",
|
|
1222
1979
|
dataType: "string"
|
|
1223
1980
|
},
|
|
1224
1981
|
{
|
|
@@ -1236,37 +1993,36 @@ class MediaServicesClient {
|
|
|
1236
1993
|
});
|
|
1237
1994
|
}
|
|
1238
1995
|
/**
|
|
1239
|
-
*
|
|
1996
|
+
* Gets a MediaWorkflow by identifier.
|
|
1240
1997
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1241
|
-
* @param
|
|
1242
|
-
* @return
|
|
1998
|
+
* @param GetMediaWorkflowRequest
|
|
1999
|
+
* @return GetMediaWorkflowResponse
|
|
1243
2000
|
* @throws OciError when an error occurs
|
|
1244
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2001
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/GetMediaWorkflow.ts.html |here} to see how to use GetMediaWorkflow API.
|
|
1245
2002
|
*/
|
|
1246
|
-
|
|
2003
|
+
getMediaWorkflow(getMediaWorkflowRequest) {
|
|
1247
2004
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1248
2005
|
if (this.logger)
|
|
1249
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1250
|
-
const operationName = "
|
|
2006
|
+
this.logger.debug("Calling operation MediaServicesClient#getMediaWorkflow.");
|
|
2007
|
+
const operationName = "getMediaWorkflow";
|
|
1251
2008
|
const apiReferenceLink = "";
|
|
1252
2009
|
const pathParams = {
|
|
1253
|
-
"{
|
|
2010
|
+
"{mediaWorkflowId}": getMediaWorkflowRequest.mediaWorkflowId
|
|
1254
2011
|
};
|
|
1255
2012
|
const queryParams = {};
|
|
1256
2013
|
let headerParams = {
|
|
1257
2014
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1258
|
-
"opc-request-id":
|
|
1259
|
-
"if-match": deleteStreamCdnConfigRequest.ifMatch
|
|
2015
|
+
"opc-request-id": getMediaWorkflowRequest.opcRequestId
|
|
1260
2016
|
};
|
|
1261
2017
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1262
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2018
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMediaWorkflowRequest.retryConfiguration, specRetryConfiguration);
|
|
1263
2019
|
if (this.logger)
|
|
1264
2020
|
retrier.logger = this.logger;
|
|
1265
2021
|
const request = yield oci_common_1.composeRequest({
|
|
1266
2022
|
baseEndpoint: this._endpoint,
|
|
1267
2023
|
defaultHeaders: this._defaultHeaders,
|
|
1268
|
-
path: "/
|
|
1269
|
-
method: "
|
|
2024
|
+
path: "/mediaWorkflows/{mediaWorkflowId}",
|
|
2025
|
+
method: "GET",
|
|
1270
2026
|
pathParams: pathParams,
|
|
1271
2027
|
headerParams: headerParams,
|
|
1272
2028
|
queryParams: queryParams
|
|
@@ -1275,7 +2031,16 @@ class MediaServicesClient {
|
|
|
1275
2031
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1276
2032
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1277
2033
|
responseObject: {},
|
|
2034
|
+
body: yield response.json(),
|
|
2035
|
+
bodyKey: "mediaWorkflow",
|
|
2036
|
+
bodyModel: model.MediaWorkflow,
|
|
2037
|
+
type: "model.MediaWorkflow",
|
|
1278
2038
|
responseHeaders: [
|
|
2039
|
+
{
|
|
2040
|
+
value: response.headers.get("etag"),
|
|
2041
|
+
key: "etag",
|
|
2042
|
+
dataType: "string"
|
|
2043
|
+
},
|
|
1279
2044
|
{
|
|
1280
2045
|
value: response.headers.get("opc-request-id"),
|
|
1281
2046
|
key: "opcRequestId",
|
|
@@ -1291,37 +2056,36 @@ class MediaServicesClient {
|
|
|
1291
2056
|
});
|
|
1292
2057
|
}
|
|
1293
2058
|
/**
|
|
1294
|
-
*
|
|
2059
|
+
* Gets a MediaWorkflowConfiguration by identifier
|
|
1295
2060
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1296
|
-
* @param
|
|
1297
|
-
* @return
|
|
2061
|
+
* @param GetMediaWorkflowConfigurationRequest
|
|
2062
|
+
* @return GetMediaWorkflowConfigurationResponse
|
|
1298
2063
|
* @throws OciError when an error occurs
|
|
1299
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2064
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/GetMediaWorkflowConfiguration.ts.html |here} to see how to use GetMediaWorkflowConfiguration API.
|
|
1300
2065
|
*/
|
|
1301
|
-
|
|
2066
|
+
getMediaWorkflowConfiguration(getMediaWorkflowConfigurationRequest) {
|
|
1302
2067
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1303
2068
|
if (this.logger)
|
|
1304
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1305
|
-
const operationName = "
|
|
2069
|
+
this.logger.debug("Calling operation MediaServicesClient#getMediaWorkflowConfiguration.");
|
|
2070
|
+
const operationName = "getMediaWorkflowConfiguration";
|
|
1306
2071
|
const apiReferenceLink = "";
|
|
1307
2072
|
const pathParams = {
|
|
1308
|
-
"{
|
|
2073
|
+
"{mediaWorkflowConfigurationId}": getMediaWorkflowConfigurationRequest.mediaWorkflowConfigurationId
|
|
1309
2074
|
};
|
|
1310
2075
|
const queryParams = {};
|
|
1311
2076
|
let headerParams = {
|
|
1312
2077
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1313
|
-
"opc-request-id":
|
|
1314
|
-
"if-match": deleteStreamDistributionChannelRequest.ifMatch
|
|
2078
|
+
"opc-request-id": getMediaWorkflowConfigurationRequest.opcRequestId
|
|
1315
2079
|
};
|
|
1316
2080
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1317
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2081
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMediaWorkflowConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1318
2082
|
if (this.logger)
|
|
1319
2083
|
retrier.logger = this.logger;
|
|
1320
2084
|
const request = yield oci_common_1.composeRequest({
|
|
1321
2085
|
baseEndpoint: this._endpoint,
|
|
1322
2086
|
defaultHeaders: this._defaultHeaders,
|
|
1323
|
-
path: "/
|
|
1324
|
-
method: "
|
|
2087
|
+
path: "/mediaWorkflowConfigurations/{mediaWorkflowConfigurationId}",
|
|
2088
|
+
method: "GET",
|
|
1325
2089
|
pathParams: pathParams,
|
|
1326
2090
|
headerParams: headerParams,
|
|
1327
2091
|
queryParams: queryParams
|
|
@@ -1330,7 +2094,16 @@ class MediaServicesClient {
|
|
|
1330
2094
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1331
2095
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1332
2096
|
responseObject: {},
|
|
2097
|
+
body: yield response.json(),
|
|
2098
|
+
bodyKey: "mediaWorkflowConfiguration",
|
|
2099
|
+
bodyModel: model.MediaWorkflowConfiguration,
|
|
2100
|
+
type: "model.MediaWorkflowConfiguration",
|
|
1333
2101
|
responseHeaders: [
|
|
2102
|
+
{
|
|
2103
|
+
value: response.headers.get("etag"),
|
|
2104
|
+
key: "etag",
|
|
2105
|
+
dataType: "string"
|
|
2106
|
+
},
|
|
1334
2107
|
{
|
|
1335
2108
|
value: response.headers.get("opc-request-id"),
|
|
1336
2109
|
key: "opcRequestId",
|
|
@@ -1346,37 +2119,36 @@ class MediaServicesClient {
|
|
|
1346
2119
|
});
|
|
1347
2120
|
}
|
|
1348
2121
|
/**
|
|
1349
|
-
*
|
|
2122
|
+
* Gets the MediaWorkflowJob.
|
|
1350
2123
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1351
|
-
* @param
|
|
1352
|
-
* @return
|
|
2124
|
+
* @param GetMediaWorkflowJobRequest
|
|
2125
|
+
* @return GetMediaWorkflowJobResponse
|
|
1353
2126
|
* @throws OciError when an error occurs
|
|
1354
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2127
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/GetMediaWorkflowJob.ts.html |here} to see how to use GetMediaWorkflowJob API.
|
|
1355
2128
|
*/
|
|
1356
|
-
|
|
2129
|
+
getMediaWorkflowJob(getMediaWorkflowJobRequest) {
|
|
1357
2130
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1358
2131
|
if (this.logger)
|
|
1359
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1360
|
-
const operationName = "
|
|
2132
|
+
this.logger.debug("Calling operation MediaServicesClient#getMediaWorkflowJob.");
|
|
2133
|
+
const operationName = "getMediaWorkflowJob";
|
|
1361
2134
|
const apiReferenceLink = "";
|
|
1362
2135
|
const pathParams = {
|
|
1363
|
-
"{
|
|
2136
|
+
"{mediaWorkflowJobId}": getMediaWorkflowJobRequest.mediaWorkflowJobId
|
|
1364
2137
|
};
|
|
1365
2138
|
const queryParams = {};
|
|
1366
2139
|
let headerParams = {
|
|
1367
2140
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1368
|
-
"opc-request-id":
|
|
1369
|
-
"if-match": deleteStreamPackagingConfigRequest.ifMatch
|
|
2141
|
+
"opc-request-id": getMediaWorkflowJobRequest.opcRequestId
|
|
1370
2142
|
};
|
|
1371
2143
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1372
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2144
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMediaWorkflowJobRequest.retryConfiguration, specRetryConfiguration);
|
|
1373
2145
|
if (this.logger)
|
|
1374
2146
|
retrier.logger = this.logger;
|
|
1375
2147
|
const request = yield oci_common_1.composeRequest({
|
|
1376
2148
|
baseEndpoint: this._endpoint,
|
|
1377
2149
|
defaultHeaders: this._defaultHeaders,
|
|
1378
|
-
path: "/
|
|
1379
|
-
method: "
|
|
2150
|
+
path: "/mediaWorkflowJobs/{mediaWorkflowJobId}",
|
|
2151
|
+
method: "GET",
|
|
1380
2152
|
pathParams: pathParams,
|
|
1381
2153
|
headerParams: headerParams,
|
|
1382
2154
|
queryParams: queryParams
|
|
@@ -1385,7 +2157,16 @@ class MediaServicesClient {
|
|
|
1385
2157
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1386
2158
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1387
2159
|
responseObject: {},
|
|
2160
|
+
body: yield response.json(),
|
|
2161
|
+
bodyKey: "mediaWorkflowJob",
|
|
2162
|
+
bodyModel: model.MediaWorkflowJob,
|
|
2163
|
+
type: "model.MediaWorkflowJob",
|
|
1388
2164
|
responseHeaders: [
|
|
2165
|
+
{
|
|
2166
|
+
value: response.headers.get("etag"),
|
|
2167
|
+
key: "etag",
|
|
2168
|
+
dataType: "string"
|
|
2169
|
+
},
|
|
1389
2170
|
{
|
|
1390
2171
|
value: response.headers.get("opc-request-id"),
|
|
1391
2172
|
key: "opcRequestId",
|
|
@@ -1401,35 +2182,35 @@ class MediaServicesClient {
|
|
|
1401
2182
|
});
|
|
1402
2183
|
}
|
|
1403
2184
|
/**
|
|
1404
|
-
* Gets a
|
|
2185
|
+
* Gets a StreamCdnConfig by identifier.
|
|
1405
2186
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1406
|
-
* @param
|
|
1407
|
-
* @return
|
|
2187
|
+
* @param GetStreamCdnConfigRequest
|
|
2188
|
+
* @return GetStreamCdnConfigResponse
|
|
1408
2189
|
* @throws OciError when an error occurs
|
|
1409
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2190
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/GetStreamCdnConfig.ts.html |here} to see how to use GetStreamCdnConfig API.
|
|
1410
2191
|
*/
|
|
1411
|
-
|
|
2192
|
+
getStreamCdnConfig(getStreamCdnConfigRequest) {
|
|
1412
2193
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1413
2194
|
if (this.logger)
|
|
1414
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1415
|
-
const operationName = "
|
|
2195
|
+
this.logger.debug("Calling operation MediaServicesClient#getStreamCdnConfig.");
|
|
2196
|
+
const operationName = "getStreamCdnConfig";
|
|
1416
2197
|
const apiReferenceLink = "";
|
|
1417
2198
|
const pathParams = {
|
|
1418
|
-
"{
|
|
2199
|
+
"{streamCdnConfigId}": getStreamCdnConfigRequest.streamCdnConfigId
|
|
1419
2200
|
};
|
|
1420
2201
|
const queryParams = {};
|
|
1421
2202
|
let headerParams = {
|
|
1422
2203
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1423
|
-
"opc-request-id":
|
|
2204
|
+
"opc-request-id": getStreamCdnConfigRequest.opcRequestId
|
|
1424
2205
|
};
|
|
1425
2206
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1426
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2207
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStreamCdnConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1427
2208
|
if (this.logger)
|
|
1428
2209
|
retrier.logger = this.logger;
|
|
1429
2210
|
const request = yield oci_common_1.composeRequest({
|
|
1430
2211
|
baseEndpoint: this._endpoint,
|
|
1431
2212
|
defaultHeaders: this._defaultHeaders,
|
|
1432
|
-
path: "/
|
|
2213
|
+
path: "/streamCdnConfigs/{streamCdnConfigId}",
|
|
1433
2214
|
method: "GET",
|
|
1434
2215
|
pathParams: pathParams,
|
|
1435
2216
|
headerParams: headerParams,
|
|
@@ -1440,9 +2221,9 @@ class MediaServicesClient {
|
|
|
1440
2221
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1441
2222
|
responseObject: {},
|
|
1442
2223
|
body: yield response.json(),
|
|
1443
|
-
bodyKey: "
|
|
1444
|
-
bodyModel: model.
|
|
1445
|
-
type: "model.
|
|
2224
|
+
bodyKey: "streamCdnConfig",
|
|
2225
|
+
bodyModel: model.StreamCdnConfig,
|
|
2226
|
+
type: "model.StreamCdnConfig",
|
|
1446
2227
|
responseHeaders: [
|
|
1447
2228
|
{
|
|
1448
2229
|
value: response.headers.get("etag"),
|
|
@@ -1464,38 +2245,35 @@ class MediaServicesClient {
|
|
|
1464
2245
|
});
|
|
1465
2246
|
}
|
|
1466
2247
|
/**
|
|
1467
|
-
* Gets a
|
|
2248
|
+
* Gets a Stream Distribution Channel by identifier.
|
|
1468
2249
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1469
|
-
* @param
|
|
1470
|
-
* @return
|
|
2250
|
+
* @param GetStreamDistributionChannelRequest
|
|
2251
|
+
* @return GetStreamDistributionChannelResponse
|
|
1471
2252
|
* @throws OciError when an error occurs
|
|
1472
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2253
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/GetStreamDistributionChannel.ts.html |here} to see how to use GetStreamDistributionChannel API.
|
|
1473
2254
|
*/
|
|
1474
|
-
|
|
2255
|
+
getStreamDistributionChannel(getStreamDistributionChannelRequest) {
|
|
1475
2256
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1476
2257
|
if (this.logger)
|
|
1477
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1478
|
-
const operationName = "
|
|
2258
|
+
this.logger.debug("Calling operation MediaServicesClient#getStreamDistributionChannel.");
|
|
2259
|
+
const operationName = "getStreamDistributionChannel";
|
|
1479
2260
|
const apiReferenceLink = "";
|
|
1480
2261
|
const pathParams = {
|
|
1481
|
-
"{
|
|
1482
|
-
"{distributionChannelId}": getMediaAssetDistributionChannelAttachmentRequest.distributionChannelId
|
|
1483
|
-
};
|
|
1484
|
-
const queryParams = {
|
|
1485
|
-
"version": getMediaAssetDistributionChannelAttachmentRequest.version
|
|
2262
|
+
"{streamDistributionChannelId}": getStreamDistributionChannelRequest.streamDistributionChannelId
|
|
1486
2263
|
};
|
|
2264
|
+
const queryParams = {};
|
|
1487
2265
|
let headerParams = {
|
|
1488
2266
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1489
|
-
"opc-request-id":
|
|
2267
|
+
"opc-request-id": getStreamDistributionChannelRequest.opcRequestId
|
|
1490
2268
|
};
|
|
1491
2269
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1492
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2270
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStreamDistributionChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
1493
2271
|
if (this.logger)
|
|
1494
2272
|
retrier.logger = this.logger;
|
|
1495
2273
|
const request = yield oci_common_1.composeRequest({
|
|
1496
2274
|
baseEndpoint: this._endpoint,
|
|
1497
2275
|
defaultHeaders: this._defaultHeaders,
|
|
1498
|
-
path: "/
|
|
2276
|
+
path: "/streamDistributionChannels/{streamDistributionChannelId}",
|
|
1499
2277
|
method: "GET",
|
|
1500
2278
|
pathParams: pathParams,
|
|
1501
2279
|
headerParams: headerParams,
|
|
@@ -1506,9 +2284,9 @@ class MediaServicesClient {
|
|
|
1506
2284
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1507
2285
|
responseObject: {},
|
|
1508
2286
|
body: yield response.json(),
|
|
1509
|
-
bodyKey: "
|
|
1510
|
-
bodyModel: model.
|
|
1511
|
-
type: "model.
|
|
2287
|
+
bodyKey: "streamDistributionChannel",
|
|
2288
|
+
bodyModel: model.StreamDistributionChannel,
|
|
2289
|
+
type: "model.StreamDistributionChannel",
|
|
1512
2290
|
responseHeaders: [
|
|
1513
2291
|
{
|
|
1514
2292
|
value: response.headers.get("etag"),
|
|
@@ -1530,35 +2308,35 @@ class MediaServicesClient {
|
|
|
1530
2308
|
});
|
|
1531
2309
|
}
|
|
1532
2310
|
/**
|
|
1533
|
-
* Gets a
|
|
2311
|
+
* Gets a Stream Packaging Configuration by identifier.
|
|
1534
2312
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1535
|
-
* @param
|
|
1536
|
-
* @return
|
|
2313
|
+
* @param GetStreamPackagingConfigRequest
|
|
2314
|
+
* @return GetStreamPackagingConfigResponse
|
|
1537
2315
|
* @throws OciError when an error occurs
|
|
1538
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2316
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/GetStreamPackagingConfig.ts.html |here} to see how to use GetStreamPackagingConfig API.
|
|
1539
2317
|
*/
|
|
1540
|
-
|
|
2318
|
+
getStreamPackagingConfig(getStreamPackagingConfigRequest) {
|
|
1541
2319
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1542
2320
|
if (this.logger)
|
|
1543
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1544
|
-
const operationName = "
|
|
2321
|
+
this.logger.debug("Calling operation MediaServicesClient#getStreamPackagingConfig.");
|
|
2322
|
+
const operationName = "getStreamPackagingConfig";
|
|
1545
2323
|
const apiReferenceLink = "";
|
|
1546
2324
|
const pathParams = {
|
|
1547
|
-
"{
|
|
2325
|
+
"{streamPackagingConfigId}": getStreamPackagingConfigRequest.streamPackagingConfigId
|
|
1548
2326
|
};
|
|
1549
2327
|
const queryParams = {};
|
|
1550
2328
|
let headerParams = {
|
|
1551
2329
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1552
|
-
"opc-request-id":
|
|
2330
|
+
"opc-request-id": getStreamPackagingConfigRequest.opcRequestId
|
|
1553
2331
|
};
|
|
1554
2332
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1555
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2333
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStreamPackagingConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1556
2334
|
if (this.logger)
|
|
1557
2335
|
retrier.logger = this.logger;
|
|
1558
2336
|
const request = yield oci_common_1.composeRequest({
|
|
1559
2337
|
baseEndpoint: this._endpoint,
|
|
1560
2338
|
defaultHeaders: this._defaultHeaders,
|
|
1561
|
-
path: "/
|
|
2339
|
+
path: "/streamPackagingConfigs/{streamPackagingConfigId}",
|
|
1562
2340
|
method: "GET",
|
|
1563
2341
|
pathParams: pathParams,
|
|
1564
2342
|
headerParams: headerParams,
|
|
@@ -1569,9 +2347,9 @@ class MediaServicesClient {
|
|
|
1569
2347
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1570
2348
|
responseObject: {},
|
|
1571
2349
|
body: yield response.json(),
|
|
1572
|
-
bodyKey: "
|
|
1573
|
-
bodyModel: model.
|
|
1574
|
-
type: "model.
|
|
2350
|
+
bodyKey: "streamPackagingConfig",
|
|
2351
|
+
bodyModel: model.StreamPackagingConfig,
|
|
2352
|
+
type: "model.StreamPackagingConfig",
|
|
1575
2353
|
responseHeaders: [
|
|
1576
2354
|
{
|
|
1577
2355
|
value: response.headers.get("etag"),
|
|
@@ -1593,36 +2371,38 @@ class MediaServicesClient {
|
|
|
1593
2371
|
});
|
|
1594
2372
|
}
|
|
1595
2373
|
/**
|
|
1596
|
-
*
|
|
2374
|
+
* Ingests an Asset into a Distribution Channel.
|
|
1597
2375
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1598
|
-
* @param
|
|
1599
|
-
* @return
|
|
2376
|
+
* @param IngestStreamDistributionChannelRequest
|
|
2377
|
+
* @return IngestStreamDistributionChannelResponse
|
|
1600
2378
|
* @throws OciError when an error occurs
|
|
1601
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2379
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/IngestStreamDistributionChannel.ts.html |here} to see how to use IngestStreamDistributionChannel API.
|
|
1602
2380
|
*/
|
|
1603
|
-
|
|
2381
|
+
ingestStreamDistributionChannel(ingestStreamDistributionChannelRequest) {
|
|
1604
2382
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1605
2383
|
if (this.logger)
|
|
1606
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1607
|
-
const operationName = "
|
|
2384
|
+
this.logger.debug("Calling operation MediaServicesClient#ingestStreamDistributionChannel.");
|
|
2385
|
+
const operationName = "ingestStreamDistributionChannel";
|
|
1608
2386
|
const apiReferenceLink = "";
|
|
1609
2387
|
const pathParams = {
|
|
1610
|
-
"{
|
|
2388
|
+
"{streamDistributionChannelId}": ingestStreamDistributionChannelRequest.streamDistributionChannelId
|
|
1611
2389
|
};
|
|
1612
2390
|
const queryParams = {};
|
|
1613
2391
|
let headerParams = {
|
|
1614
2392
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1615
|
-
"opc-
|
|
2393
|
+
"opc-retry-token": ingestStreamDistributionChannelRequest.opcRetryToken,
|
|
2394
|
+
"opc-request-id": ingestStreamDistributionChannelRequest.opcRequestId
|
|
1616
2395
|
};
|
|
1617
2396
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1618
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2397
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ingestStreamDistributionChannelRequest.retryConfiguration, specRetryConfiguration);
|
|
1619
2398
|
if (this.logger)
|
|
1620
2399
|
retrier.logger = this.logger;
|
|
1621
2400
|
const request = yield oci_common_1.composeRequest({
|
|
1622
2401
|
baseEndpoint: this._endpoint,
|
|
1623
2402
|
defaultHeaders: this._defaultHeaders,
|
|
1624
|
-
path: "/
|
|
1625
|
-
method: "
|
|
2403
|
+
path: "/streamDistributionChannels/{streamDistributionChannelId}/actions/ingest",
|
|
2404
|
+
method: "POST",
|
|
2405
|
+
bodyContent: common.ObjectSerializer.serialize(ingestStreamDistributionChannelRequest.ingestStreamDistributionChannelDetails, "IngestStreamDistributionChannelDetails", model.IngestStreamDistributionChannelDetails.getJsonObj),
|
|
1626
2406
|
pathParams: pathParams,
|
|
1627
2407
|
headerParams: headerParams,
|
|
1628
2408
|
queryParams: queryParams
|
|
@@ -1632,15 +2412,10 @@ class MediaServicesClient {
|
|
|
1632
2412
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1633
2413
|
responseObject: {},
|
|
1634
2414
|
body: yield response.json(),
|
|
1635
|
-
bodyKey: "
|
|
1636
|
-
bodyModel: model.
|
|
1637
|
-
type: "model.
|
|
2415
|
+
bodyKey: "ingestStreamDistributionChannelResult",
|
|
2416
|
+
bodyModel: model.IngestStreamDistributionChannelResult,
|
|
2417
|
+
type: "model.IngestStreamDistributionChannelResult",
|
|
1638
2418
|
responseHeaders: [
|
|
1639
|
-
{
|
|
1640
|
-
value: response.headers.get("etag"),
|
|
1641
|
-
key: "etag",
|
|
1642
|
-
dataType: "string"
|
|
1643
|
-
},
|
|
1644
2419
|
{
|
|
1645
2420
|
value: response.headers.get("opc-request-id"),
|
|
1646
2421
|
key: "opcRequestId",
|
|
@@ -1656,35 +2431,42 @@ class MediaServicesClient {
|
|
|
1656
2431
|
});
|
|
1657
2432
|
}
|
|
1658
2433
|
/**
|
|
1659
|
-
*
|
|
2434
|
+
* Lists the MediaAssetDistributionChannelAttachments for a MediaAsset by identifier.
|
|
1660
2435
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1661
|
-
* @param
|
|
1662
|
-
* @return
|
|
2436
|
+
* @param ListMediaAssetDistributionChannelAttachmentsRequest
|
|
2437
|
+
* @return ListMediaAssetDistributionChannelAttachmentsResponse
|
|
1663
2438
|
* @throws OciError when an error occurs
|
|
1664
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2439
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ListMediaAssetDistributionChannelAttachments.ts.html |here} to see how to use ListMediaAssetDistributionChannelAttachments API.
|
|
1665
2440
|
*/
|
|
1666
|
-
|
|
2441
|
+
listMediaAssetDistributionChannelAttachments(listMediaAssetDistributionChannelAttachmentsRequest) {
|
|
1667
2442
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1668
2443
|
if (this.logger)
|
|
1669
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1670
|
-
const operationName = "
|
|
2444
|
+
this.logger.debug("Calling operation MediaServicesClient#listMediaAssetDistributionChannelAttachments.");
|
|
2445
|
+
const operationName = "listMediaAssetDistributionChannelAttachments";
|
|
1671
2446
|
const apiReferenceLink = "";
|
|
1672
2447
|
const pathParams = {
|
|
1673
|
-
"{
|
|
2448
|
+
"{mediaAssetId}": listMediaAssetDistributionChannelAttachmentsRequest.mediaAssetId
|
|
2449
|
+
};
|
|
2450
|
+
const queryParams = {
|
|
2451
|
+
"displayName": listMediaAssetDistributionChannelAttachmentsRequest.displayName,
|
|
2452
|
+
"limit": listMediaAssetDistributionChannelAttachmentsRequest.limit,
|
|
2453
|
+
"page": listMediaAssetDistributionChannelAttachmentsRequest.page,
|
|
2454
|
+
"sortOrder": listMediaAssetDistributionChannelAttachmentsRequest.sortOrder,
|
|
2455
|
+
"sortBy": listMediaAssetDistributionChannelAttachmentsRequest.sortBy,
|
|
2456
|
+
"distributionChannelId": listMediaAssetDistributionChannelAttachmentsRequest.distributionChannelId
|
|
1674
2457
|
};
|
|
1675
|
-
const queryParams = {};
|
|
1676
2458
|
let headerParams = {
|
|
1677
2459
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1678
|
-
"opc-request-id":
|
|
2460
|
+
"opc-request-id": listMediaAssetDistributionChannelAttachmentsRequest.opcRequestId
|
|
1679
2461
|
};
|
|
1680
2462
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1681
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2463
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMediaAssetDistributionChannelAttachmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
1682
2464
|
if (this.logger)
|
|
1683
2465
|
retrier.logger = this.logger;
|
|
1684
2466
|
const request = yield oci_common_1.composeRequest({
|
|
1685
2467
|
baseEndpoint: this._endpoint,
|
|
1686
2468
|
defaultHeaders: this._defaultHeaders,
|
|
1687
|
-
path: "/
|
|
2469
|
+
path: "/mediaAssets/{mediaAssetId}/distributionChannelAttachments",
|
|
1688
2470
|
method: "GET",
|
|
1689
2471
|
pathParams: pathParams,
|
|
1690
2472
|
headerParams: headerParams,
|
|
@@ -1695,18 +2477,18 @@ class MediaServicesClient {
|
|
|
1695
2477
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1696
2478
|
responseObject: {},
|
|
1697
2479
|
body: yield response.json(),
|
|
1698
|
-
bodyKey: "
|
|
1699
|
-
bodyModel: model.
|
|
1700
|
-
type: "model.
|
|
2480
|
+
bodyKey: "mediaAssetDistributionChannelAttachmentCollection",
|
|
2481
|
+
bodyModel: model.MediaAssetDistributionChannelAttachmentCollection,
|
|
2482
|
+
type: "model.MediaAssetDistributionChannelAttachmentCollection",
|
|
1701
2483
|
responseHeaders: [
|
|
1702
2484
|
{
|
|
1703
|
-
value: response.headers.get("
|
|
1704
|
-
key: "
|
|
2485
|
+
value: response.headers.get("opc-request-id"),
|
|
2486
|
+
key: "opcRequestId",
|
|
1705
2487
|
dataType: "string"
|
|
1706
2488
|
},
|
|
1707
2489
|
{
|
|
1708
|
-
value: response.headers.get("opc-
|
|
1709
|
-
key: "
|
|
2490
|
+
value: response.headers.get("opc-next-page"),
|
|
2491
|
+
key: "opcNextPage",
|
|
1710
2492
|
dataType: "string"
|
|
1711
2493
|
}
|
|
1712
2494
|
]
|
|
@@ -1719,36 +2501,51 @@ class MediaServicesClient {
|
|
|
1719
2501
|
});
|
|
1720
2502
|
}
|
|
1721
2503
|
/**
|
|
1722
|
-
*
|
|
2504
|
+
* Returns a list of MediaAssetSummary.
|
|
2505
|
+
*
|
|
1723
2506
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1724
|
-
* @param
|
|
1725
|
-
* @return
|
|
2507
|
+
* @param ListMediaAssetsRequest
|
|
2508
|
+
* @return ListMediaAssetsResponse
|
|
1726
2509
|
* @throws OciError when an error occurs
|
|
1727
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2510
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ListMediaAssets.ts.html |here} to see how to use ListMediaAssets API.
|
|
1728
2511
|
*/
|
|
1729
|
-
|
|
2512
|
+
listMediaAssets(listMediaAssetsRequest) {
|
|
1730
2513
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1731
2514
|
if (this.logger)
|
|
1732
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1733
|
-
const operationName = "
|
|
2515
|
+
this.logger.debug("Calling operation MediaServicesClient#listMediaAssets.");
|
|
2516
|
+
const operationName = "listMediaAssets";
|
|
1734
2517
|
const apiReferenceLink = "";
|
|
1735
|
-
const pathParams = {
|
|
1736
|
-
|
|
1737
|
-
"
|
|
2518
|
+
const pathParams = {};
|
|
2519
|
+
const queryParams = {
|
|
2520
|
+
"compartmentId": listMediaAssetsRequest.compartmentId,
|
|
2521
|
+
"displayName": listMediaAssetsRequest.displayName,
|
|
2522
|
+
"limit": listMediaAssetsRequest.limit,
|
|
2523
|
+
"page": listMediaAssetsRequest.page,
|
|
2524
|
+
"lifecycleState": listMediaAssetsRequest.lifecycleState,
|
|
2525
|
+
"sortOrder": listMediaAssetsRequest.sortOrder,
|
|
2526
|
+
"sortBy": listMediaAssetsRequest.sortBy,
|
|
2527
|
+
"distributionChannelId": listMediaAssetsRequest.distributionChannelId,
|
|
2528
|
+
"parentMediaAssetId": listMediaAssetsRequest.parentMediaAssetId,
|
|
2529
|
+
"masterMediaAssetId": listMediaAssetsRequest.masterMediaAssetId,
|
|
2530
|
+
"type": listMediaAssetsRequest.type,
|
|
2531
|
+
"bucketName": listMediaAssetsRequest.bucketName,
|
|
2532
|
+
"objectName": listMediaAssetsRequest.objectName,
|
|
2533
|
+
"mediaWorkflowJobId": listMediaAssetsRequest.mediaWorkflowJobId,
|
|
2534
|
+
"sourceMediaWorkflowId": listMediaAssetsRequest.sourceMediaWorkflowId,
|
|
2535
|
+
"sourceMediaWorkflowVersion": listMediaAssetsRequest.sourceMediaWorkflowVersion
|
|
1738
2536
|
};
|
|
1739
|
-
const queryParams = {};
|
|
1740
2537
|
let headerParams = {
|
|
1741
2538
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1742
|
-
"opc-request-id":
|
|
2539
|
+
"opc-request-id": listMediaAssetsRequest.opcRequestId
|
|
1743
2540
|
};
|
|
1744
2541
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1745
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2542
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMediaAssetsRequest.retryConfiguration, specRetryConfiguration);
|
|
1746
2543
|
if (this.logger)
|
|
1747
2544
|
retrier.logger = this.logger;
|
|
1748
2545
|
const request = yield oci_common_1.composeRequest({
|
|
1749
2546
|
baseEndpoint: this._endpoint,
|
|
1750
2547
|
defaultHeaders: this._defaultHeaders,
|
|
1751
|
-
path: "/
|
|
2548
|
+
path: "/mediaAssets",
|
|
1752
2549
|
method: "GET",
|
|
1753
2550
|
pathParams: pathParams,
|
|
1754
2551
|
headerParams: headerParams,
|
|
@@ -1759,18 +2556,18 @@ class MediaServicesClient {
|
|
|
1759
2556
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1760
2557
|
responseObject: {},
|
|
1761
2558
|
body: yield response.json(),
|
|
1762
|
-
bodyKey: "
|
|
1763
|
-
bodyModel: model.
|
|
1764
|
-
type: "model.
|
|
2559
|
+
bodyKey: "mediaAssetCollection",
|
|
2560
|
+
bodyModel: model.MediaAssetCollection,
|
|
2561
|
+
type: "model.MediaAssetCollection",
|
|
1765
2562
|
responseHeaders: [
|
|
1766
2563
|
{
|
|
1767
|
-
value: response.headers.get("
|
|
1768
|
-
key: "
|
|
2564
|
+
value: response.headers.get("opc-request-id"),
|
|
2565
|
+
key: "opcRequestId",
|
|
1769
2566
|
dataType: "string"
|
|
1770
2567
|
},
|
|
1771
2568
|
{
|
|
1772
|
-
value: response.headers.get("opc-
|
|
1773
|
-
key: "
|
|
2569
|
+
value: response.headers.get("opc-next-page"),
|
|
2570
|
+
key: "opcNextPage",
|
|
1774
2571
|
dataType: "string"
|
|
1775
2572
|
}
|
|
1776
2573
|
]
|
|
@@ -1783,35 +2580,43 @@ class MediaServicesClient {
|
|
|
1783
2580
|
});
|
|
1784
2581
|
}
|
|
1785
2582
|
/**
|
|
1786
|
-
*
|
|
2583
|
+
* Returns a list of MediaWorkflowConfigurations.
|
|
2584
|
+
*
|
|
1787
2585
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1788
|
-
* @param
|
|
1789
|
-
* @return
|
|
2586
|
+
* @param ListMediaWorkflowConfigurationsRequest
|
|
2587
|
+
* @return ListMediaWorkflowConfigurationsResponse
|
|
1790
2588
|
* @throws OciError when an error occurs
|
|
1791
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2589
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ListMediaWorkflowConfigurations.ts.html |here} to see how to use ListMediaWorkflowConfigurations API.
|
|
1792
2590
|
*/
|
|
1793
|
-
|
|
2591
|
+
listMediaWorkflowConfigurations(listMediaWorkflowConfigurationsRequest) {
|
|
1794
2592
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1795
2593
|
if (this.logger)
|
|
1796
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1797
|
-
const operationName = "
|
|
2594
|
+
this.logger.debug("Calling operation MediaServicesClient#listMediaWorkflowConfigurations.");
|
|
2595
|
+
const operationName = "listMediaWorkflowConfigurations";
|
|
1798
2596
|
const apiReferenceLink = "";
|
|
1799
|
-
const pathParams = {
|
|
1800
|
-
|
|
2597
|
+
const pathParams = {};
|
|
2598
|
+
const queryParams = {
|
|
2599
|
+
"compartmentId": listMediaWorkflowConfigurationsRequest.compartmentId,
|
|
2600
|
+
"lifecycleState": listMediaWorkflowConfigurationsRequest.lifecycleState,
|
|
2601
|
+
"displayName": listMediaWorkflowConfigurationsRequest.displayName,
|
|
2602
|
+
"id": listMediaWorkflowConfigurationsRequest.id,
|
|
2603
|
+
"limit": listMediaWorkflowConfigurationsRequest.limit,
|
|
2604
|
+
"page": listMediaWorkflowConfigurationsRequest.page,
|
|
2605
|
+
"sortOrder": listMediaWorkflowConfigurationsRequest.sortOrder,
|
|
2606
|
+
"sortBy": listMediaWorkflowConfigurationsRequest.sortBy
|
|
1801
2607
|
};
|
|
1802
|
-
const queryParams = {};
|
|
1803
2608
|
let headerParams = {
|
|
1804
2609
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1805
|
-
"opc-request-id":
|
|
2610
|
+
"opc-request-id": listMediaWorkflowConfigurationsRequest.opcRequestId
|
|
1806
2611
|
};
|
|
1807
2612
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1808
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2613
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMediaWorkflowConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1809
2614
|
if (this.logger)
|
|
1810
2615
|
retrier.logger = this.logger;
|
|
1811
2616
|
const request = yield oci_common_1.composeRequest({
|
|
1812
2617
|
baseEndpoint: this._endpoint,
|
|
1813
2618
|
defaultHeaders: this._defaultHeaders,
|
|
1814
|
-
path: "/
|
|
2619
|
+
path: "/mediaWorkflowConfigurations",
|
|
1815
2620
|
method: "GET",
|
|
1816
2621
|
pathParams: pathParams,
|
|
1817
2622
|
headerParams: headerParams,
|
|
@@ -1822,18 +2627,18 @@ class MediaServicesClient {
|
|
|
1822
2627
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1823
2628
|
responseObject: {},
|
|
1824
2629
|
body: yield response.json(),
|
|
1825
|
-
bodyKey: "
|
|
1826
|
-
bodyModel: model.
|
|
1827
|
-
type: "model.
|
|
2630
|
+
bodyKey: "mediaWorkflowConfigurationCollection",
|
|
2631
|
+
bodyModel: model.MediaWorkflowConfigurationCollection,
|
|
2632
|
+
type: "model.MediaWorkflowConfigurationCollection",
|
|
1828
2633
|
responseHeaders: [
|
|
1829
2634
|
{
|
|
1830
|
-
value: response.headers.get("
|
|
1831
|
-
key: "
|
|
2635
|
+
value: response.headers.get("opc-request-id"),
|
|
2636
|
+
key: "opcRequestId",
|
|
1832
2637
|
dataType: "string"
|
|
1833
2638
|
},
|
|
1834
2639
|
{
|
|
1835
|
-
value: response.headers.get("opc-
|
|
1836
|
-
key: "
|
|
2640
|
+
value: response.headers.get("opc-next-page"),
|
|
2641
|
+
key: "opcNextPage",
|
|
1837
2642
|
dataType: "string"
|
|
1838
2643
|
}
|
|
1839
2644
|
]
|
|
@@ -1846,35 +2651,43 @@ class MediaServicesClient {
|
|
|
1846
2651
|
});
|
|
1847
2652
|
}
|
|
1848
2653
|
/**
|
|
1849
|
-
*
|
|
2654
|
+
* Lists the MediaWorkflowJobs.
|
|
1850
2655
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1851
|
-
* @param
|
|
1852
|
-
* @return
|
|
2656
|
+
* @param ListMediaWorkflowJobsRequest
|
|
2657
|
+
* @return ListMediaWorkflowJobsResponse
|
|
1853
2658
|
* @throws OciError when an error occurs
|
|
1854
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2659
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ListMediaWorkflowJobs.ts.html |here} to see how to use ListMediaWorkflowJobs API.
|
|
1855
2660
|
*/
|
|
1856
|
-
|
|
2661
|
+
listMediaWorkflowJobs(listMediaWorkflowJobsRequest) {
|
|
1857
2662
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1858
2663
|
if (this.logger)
|
|
1859
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1860
|
-
const operationName = "
|
|
2664
|
+
this.logger.debug("Calling operation MediaServicesClient#listMediaWorkflowJobs.");
|
|
2665
|
+
const operationName = "listMediaWorkflowJobs";
|
|
1861
2666
|
const apiReferenceLink = "";
|
|
1862
|
-
const pathParams = {
|
|
1863
|
-
|
|
2667
|
+
const pathParams = {};
|
|
2668
|
+
const queryParams = {
|
|
2669
|
+
"compartmentId": listMediaWorkflowJobsRequest.compartmentId,
|
|
2670
|
+
"id": listMediaWorkflowJobsRequest.id,
|
|
2671
|
+
"mediaWorkflowId": listMediaWorkflowJobsRequest.mediaWorkflowId,
|
|
2672
|
+
"displayName": listMediaWorkflowJobsRequest.displayName,
|
|
2673
|
+
"lifecycleState": listMediaWorkflowJobsRequest.lifecycleState,
|
|
2674
|
+
"page": listMediaWorkflowJobsRequest.page,
|
|
2675
|
+
"limit": listMediaWorkflowJobsRequest.limit,
|
|
2676
|
+
"sortBy": listMediaWorkflowJobsRequest.sortBy,
|
|
2677
|
+
"sortOrder": listMediaWorkflowJobsRequest.sortOrder
|
|
1864
2678
|
};
|
|
1865
|
-
const queryParams = {};
|
|
1866
2679
|
let headerParams = {
|
|
1867
2680
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1868
|
-
"opc-request-id":
|
|
2681
|
+
"opc-request-id": listMediaWorkflowJobsRequest.opcRequestId
|
|
1869
2682
|
};
|
|
1870
2683
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1871
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2684
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMediaWorkflowJobsRequest.retryConfiguration, specRetryConfiguration);
|
|
1872
2685
|
if (this.logger)
|
|
1873
2686
|
retrier.logger = this.logger;
|
|
1874
2687
|
const request = yield oci_common_1.composeRequest({
|
|
1875
2688
|
baseEndpoint: this._endpoint,
|
|
1876
2689
|
defaultHeaders: this._defaultHeaders,
|
|
1877
|
-
path: "/
|
|
2690
|
+
path: "/mediaWorkflowJobs",
|
|
1878
2691
|
method: "GET",
|
|
1879
2692
|
pathParams: pathParams,
|
|
1880
2693
|
headerParams: headerParams,
|
|
@@ -1885,18 +2698,18 @@ class MediaServicesClient {
|
|
|
1885
2698
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1886
2699
|
responseObject: {},
|
|
1887
2700
|
body: yield response.json(),
|
|
1888
|
-
bodyKey: "
|
|
1889
|
-
bodyModel: model.
|
|
1890
|
-
type: "model.
|
|
2701
|
+
bodyKey: "mediaWorkflowJobCollection",
|
|
2702
|
+
bodyModel: model.MediaWorkflowJobCollection,
|
|
2703
|
+
type: "model.MediaWorkflowJobCollection",
|
|
1891
2704
|
responseHeaders: [
|
|
1892
2705
|
{
|
|
1893
|
-
value: response.headers.get("
|
|
1894
|
-
key: "
|
|
2706
|
+
value: response.headers.get("opc-request-id"),
|
|
2707
|
+
key: "opcRequestId",
|
|
1895
2708
|
dataType: "string"
|
|
1896
2709
|
},
|
|
1897
2710
|
{
|
|
1898
|
-
value: response.headers.get("opc-
|
|
1899
|
-
key: "
|
|
2711
|
+
value: response.headers.get("opc-next-page"),
|
|
2712
|
+
key: "opcNextPage",
|
|
1900
2713
|
dataType: "string"
|
|
1901
2714
|
}
|
|
1902
2715
|
]
|
|
@@ -1909,35 +2722,43 @@ class MediaServicesClient {
|
|
|
1909
2722
|
});
|
|
1910
2723
|
}
|
|
1911
2724
|
/**
|
|
1912
|
-
*
|
|
2725
|
+
* Returns a list of MediaWorkflowTaskDeclarations.
|
|
2726
|
+
*
|
|
1913
2727
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1914
|
-
* @param
|
|
1915
|
-
* @return
|
|
2728
|
+
* @param ListMediaWorkflowTaskDeclarationsRequest
|
|
2729
|
+
* @return ListMediaWorkflowTaskDeclarationsResponse
|
|
1916
2730
|
* @throws OciError when an error occurs
|
|
1917
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2731
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ListMediaWorkflowTaskDeclarations.ts.html |here} to see how to use ListMediaWorkflowTaskDeclarations API.
|
|
1918
2732
|
*/
|
|
1919
|
-
|
|
2733
|
+
listMediaWorkflowTaskDeclarations(listMediaWorkflowTaskDeclarationsRequest) {
|
|
1920
2734
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1921
2735
|
if (this.logger)
|
|
1922
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1923
|
-
const operationName = "
|
|
2736
|
+
this.logger.debug("Calling operation MediaServicesClient#listMediaWorkflowTaskDeclarations.");
|
|
2737
|
+
const operationName = "listMediaWorkflowTaskDeclarations";
|
|
1924
2738
|
const apiReferenceLink = "";
|
|
1925
|
-
const pathParams = {
|
|
1926
|
-
|
|
2739
|
+
const pathParams = {};
|
|
2740
|
+
const queryParams = {
|
|
2741
|
+
"compartmentId": listMediaWorkflowTaskDeclarationsRequest.compartmentId,
|
|
2742
|
+
"name": listMediaWorkflowTaskDeclarationsRequest.name,
|
|
2743
|
+
"version": listMediaWorkflowTaskDeclarationsRequest.version,
|
|
2744
|
+
"isCurrent": listMediaWorkflowTaskDeclarationsRequest.isCurrent,
|
|
2745
|
+
"sortBy": listMediaWorkflowTaskDeclarationsRequest.sortBy,
|
|
2746
|
+
"limit": listMediaWorkflowTaskDeclarationsRequest.limit,
|
|
2747
|
+
"page": listMediaWorkflowTaskDeclarationsRequest.page,
|
|
2748
|
+
"sortOrder": listMediaWorkflowTaskDeclarationsRequest.sortOrder
|
|
1927
2749
|
};
|
|
1928
|
-
const queryParams = {};
|
|
1929
2750
|
let headerParams = {
|
|
1930
2751
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1931
|
-
"opc-request-id":
|
|
2752
|
+
"opc-request-id": listMediaWorkflowTaskDeclarationsRequest.opcRequestId
|
|
1932
2753
|
};
|
|
1933
2754
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1934
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2755
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMediaWorkflowTaskDeclarationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1935
2756
|
if (this.logger)
|
|
1936
2757
|
retrier.logger = this.logger;
|
|
1937
2758
|
const request = yield oci_common_1.composeRequest({
|
|
1938
2759
|
baseEndpoint: this._endpoint,
|
|
1939
2760
|
defaultHeaders: this._defaultHeaders,
|
|
1940
|
-
path: "/
|
|
2761
|
+
path: "/mediaWorkflowTaskDeclarations",
|
|
1941
2762
|
method: "GET",
|
|
1942
2763
|
pathParams: pathParams,
|
|
1943
2764
|
headerParams: headerParams,
|
|
@@ -1948,18 +2769,18 @@ class MediaServicesClient {
|
|
|
1948
2769
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1949
2770
|
responseObject: {},
|
|
1950
2771
|
body: yield response.json(),
|
|
1951
|
-
bodyKey: "
|
|
1952
|
-
bodyModel: model.
|
|
1953
|
-
type: "model.
|
|
2772
|
+
bodyKey: "mediaWorkflowTaskDeclarationCollection",
|
|
2773
|
+
bodyModel: model.MediaWorkflowTaskDeclarationCollection,
|
|
2774
|
+
type: "model.MediaWorkflowTaskDeclarationCollection",
|
|
1954
2775
|
responseHeaders: [
|
|
1955
2776
|
{
|
|
1956
|
-
value: response.headers.get("
|
|
1957
|
-
key: "
|
|
2777
|
+
value: response.headers.get("opc-request-id"),
|
|
2778
|
+
key: "opcRequestId",
|
|
1958
2779
|
dataType: "string"
|
|
1959
2780
|
},
|
|
1960
2781
|
{
|
|
1961
|
-
value: response.headers.get("opc-
|
|
1962
|
-
key: "
|
|
2782
|
+
value: response.headers.get("opc-next-page"),
|
|
2783
|
+
key: "opcNextPage",
|
|
1963
2784
|
dataType: "string"
|
|
1964
2785
|
}
|
|
1965
2786
|
]
|
|
@@ -1972,38 +2793,43 @@ class MediaServicesClient {
|
|
|
1972
2793
|
});
|
|
1973
2794
|
}
|
|
1974
2795
|
/**
|
|
1975
|
-
*
|
|
2796
|
+
* Lists the MediaWorkflows.
|
|
1976
2797
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1977
|
-
* @param
|
|
1978
|
-
* @return
|
|
2798
|
+
* @param ListMediaWorkflowsRequest
|
|
2799
|
+
* @return ListMediaWorkflowsResponse
|
|
1979
2800
|
* @throws OciError when an error occurs
|
|
1980
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2801
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ListMediaWorkflows.ts.html |here} to see how to use ListMediaWorkflows API.
|
|
1981
2802
|
*/
|
|
1982
|
-
|
|
2803
|
+
listMediaWorkflows(listMediaWorkflowsRequest) {
|
|
1983
2804
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1984
2805
|
if (this.logger)
|
|
1985
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
1986
|
-
const operationName = "
|
|
2806
|
+
this.logger.debug("Calling operation MediaServicesClient#listMediaWorkflows.");
|
|
2807
|
+
const operationName = "listMediaWorkflows";
|
|
1987
2808
|
const apiReferenceLink = "";
|
|
1988
|
-
const pathParams = {
|
|
1989
|
-
|
|
2809
|
+
const pathParams = {};
|
|
2810
|
+
const queryParams = {
|
|
2811
|
+
"compartmentId": listMediaWorkflowsRequest.compartmentId,
|
|
2812
|
+
"id": listMediaWorkflowsRequest.id,
|
|
2813
|
+
"lifecycleState": listMediaWorkflowsRequest.lifecycleState,
|
|
2814
|
+
"displayName": listMediaWorkflowsRequest.displayName,
|
|
2815
|
+
"sortOrder": listMediaWorkflowsRequest.sortOrder,
|
|
2816
|
+
"sortBy": listMediaWorkflowsRequest.sortBy,
|
|
2817
|
+
"page": listMediaWorkflowsRequest.page,
|
|
2818
|
+
"limit": listMediaWorkflowsRequest.limit
|
|
1990
2819
|
};
|
|
1991
|
-
const queryParams = {};
|
|
1992
2820
|
let headerParams = {
|
|
1993
2821
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1994
|
-
"opc-
|
|
1995
|
-
"opc-request-id": ingestStreamDistributionChannelRequest.opcRequestId
|
|
2822
|
+
"opc-request-id": listMediaWorkflowsRequest.opcRequestId
|
|
1996
2823
|
};
|
|
1997
2824
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1998
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2825
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMediaWorkflowsRequest.retryConfiguration, specRetryConfiguration);
|
|
1999
2826
|
if (this.logger)
|
|
2000
2827
|
retrier.logger = this.logger;
|
|
2001
2828
|
const request = yield oci_common_1.composeRequest({
|
|
2002
2829
|
baseEndpoint: this._endpoint,
|
|
2003
2830
|
defaultHeaders: this._defaultHeaders,
|
|
2004
|
-
path: "/
|
|
2005
|
-
method: "
|
|
2006
|
-
bodyContent: common.ObjectSerializer.serialize(ingestStreamDistributionChannelRequest.ingestStreamDistributionChannelDetails, "IngestStreamDistributionChannelDetails", model.IngestStreamDistributionChannelDetails.getJsonObj),
|
|
2831
|
+
path: "/mediaWorkflows",
|
|
2832
|
+
method: "GET",
|
|
2007
2833
|
pathParams: pathParams,
|
|
2008
2834
|
headerParams: headerParams,
|
|
2009
2835
|
queryParams: queryParams
|
|
@@ -2013,14 +2839,19 @@ class MediaServicesClient {
|
|
|
2013
2839
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2014
2840
|
responseObject: {},
|
|
2015
2841
|
body: yield response.json(),
|
|
2016
|
-
bodyKey: "
|
|
2017
|
-
bodyModel: model.
|
|
2018
|
-
type: "model.
|
|
2842
|
+
bodyKey: "mediaWorkflowCollection",
|
|
2843
|
+
bodyModel: model.MediaWorkflowCollection,
|
|
2844
|
+
type: "model.MediaWorkflowCollection",
|
|
2019
2845
|
responseHeaders: [
|
|
2020
2846
|
{
|
|
2021
2847
|
value: response.headers.get("opc-request-id"),
|
|
2022
2848
|
key: "opcRequestId",
|
|
2023
2849
|
dataType: "string"
|
|
2850
|
+
},
|
|
2851
|
+
{
|
|
2852
|
+
value: response.headers.get("opc-next-page"),
|
|
2853
|
+
key: "opcNextPage",
|
|
2854
|
+
dataType: "string"
|
|
2024
2855
|
}
|
|
2025
2856
|
]
|
|
2026
2857
|
});
|
|
@@ -2032,42 +2863,42 @@ class MediaServicesClient {
|
|
|
2032
2863
|
});
|
|
2033
2864
|
}
|
|
2034
2865
|
/**
|
|
2035
|
-
* Lists the
|
|
2866
|
+
* Lists the StreamCdnConfig.
|
|
2036
2867
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2037
|
-
* @param
|
|
2038
|
-
* @return
|
|
2868
|
+
* @param ListStreamCdnConfigsRequest
|
|
2869
|
+
* @return ListStreamCdnConfigsResponse
|
|
2039
2870
|
* @throws OciError when an error occurs
|
|
2040
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2871
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ListStreamCdnConfigs.ts.html |here} to see how to use ListStreamCdnConfigs API.
|
|
2041
2872
|
*/
|
|
2042
|
-
|
|
2873
|
+
listStreamCdnConfigs(listStreamCdnConfigsRequest) {
|
|
2043
2874
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2044
2875
|
if (this.logger)
|
|
2045
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
2046
|
-
const operationName = "
|
|
2876
|
+
this.logger.debug("Calling operation MediaServicesClient#listStreamCdnConfigs.");
|
|
2877
|
+
const operationName = "listStreamCdnConfigs";
|
|
2047
2878
|
const apiReferenceLink = "";
|
|
2048
|
-
const pathParams = {
|
|
2049
|
-
"{mediaAssetId}": listMediaAssetDistributionChannelAttachmentsRequest.mediaAssetId
|
|
2050
|
-
};
|
|
2879
|
+
const pathParams = {};
|
|
2051
2880
|
const queryParams = {
|
|
2052
|
-
"
|
|
2053
|
-
"
|
|
2054
|
-
"
|
|
2055
|
-
"
|
|
2056
|
-
"
|
|
2057
|
-
"
|
|
2881
|
+
"distributionChannelId": listStreamCdnConfigsRequest.distributionChannelId,
|
|
2882
|
+
"id": listStreamCdnConfigsRequest.id,
|
|
2883
|
+
"lifecycleState": listStreamCdnConfigsRequest.lifecycleState,
|
|
2884
|
+
"displayName": listStreamCdnConfigsRequest.displayName,
|
|
2885
|
+
"sortOrder": listStreamCdnConfigsRequest.sortOrder,
|
|
2886
|
+
"sortBy": listStreamCdnConfigsRequest.sortBy,
|
|
2887
|
+
"page": listStreamCdnConfigsRequest.page,
|
|
2888
|
+
"limit": listStreamCdnConfigsRequest.limit
|
|
2058
2889
|
};
|
|
2059
2890
|
let headerParams = {
|
|
2060
2891
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2061
|
-
"opc-request-id":
|
|
2892
|
+
"opc-request-id": listStreamCdnConfigsRequest.opcRequestId
|
|
2062
2893
|
};
|
|
2063
2894
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2064
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2895
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStreamCdnConfigsRequest.retryConfiguration, specRetryConfiguration);
|
|
2065
2896
|
if (this.logger)
|
|
2066
2897
|
retrier.logger = this.logger;
|
|
2067
2898
|
const request = yield oci_common_1.composeRequest({
|
|
2068
2899
|
baseEndpoint: this._endpoint,
|
|
2069
2900
|
defaultHeaders: this._defaultHeaders,
|
|
2070
|
-
path: "/
|
|
2901
|
+
path: "/streamCdnConfigs",
|
|
2071
2902
|
method: "GET",
|
|
2072
2903
|
pathParams: pathParams,
|
|
2073
2904
|
headerParams: headerParams,
|
|
@@ -2078,9 +2909,9 @@ class MediaServicesClient {
|
|
|
2078
2909
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2079
2910
|
responseObject: {},
|
|
2080
2911
|
body: yield response.json(),
|
|
2081
|
-
bodyKey: "
|
|
2082
|
-
bodyModel: model.
|
|
2083
|
-
type: "model.
|
|
2912
|
+
bodyKey: "streamCdnConfigCollection",
|
|
2913
|
+
bodyModel: model.StreamCdnConfigCollection,
|
|
2914
|
+
type: "model.StreamCdnConfigCollection",
|
|
2084
2915
|
responseHeaders: [
|
|
2085
2916
|
{
|
|
2086
2917
|
value: response.headers.get("opc-request-id"),
|
|
@@ -2102,51 +2933,42 @@ class MediaServicesClient {
|
|
|
2102
2933
|
});
|
|
2103
2934
|
}
|
|
2104
2935
|
/**
|
|
2105
|
-
*
|
|
2106
|
-
*
|
|
2936
|
+
* Lists the Stream Distribution Channels.
|
|
2107
2937
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2108
|
-
* @param
|
|
2109
|
-
* @return
|
|
2938
|
+
* @param ListStreamDistributionChannelsRequest
|
|
2939
|
+
* @return ListStreamDistributionChannelsResponse
|
|
2110
2940
|
* @throws OciError when an error occurs
|
|
2111
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2941
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ListStreamDistributionChannels.ts.html |here} to see how to use ListStreamDistributionChannels API.
|
|
2112
2942
|
*/
|
|
2113
|
-
|
|
2943
|
+
listStreamDistributionChannels(listStreamDistributionChannelsRequest) {
|
|
2114
2944
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2115
2945
|
if (this.logger)
|
|
2116
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
2117
|
-
const operationName = "
|
|
2946
|
+
this.logger.debug("Calling operation MediaServicesClient#listStreamDistributionChannels.");
|
|
2947
|
+
const operationName = "listStreamDistributionChannels";
|
|
2118
2948
|
const apiReferenceLink = "";
|
|
2119
2949
|
const pathParams = {};
|
|
2120
2950
|
const queryParams = {
|
|
2121
|
-
"compartmentId":
|
|
2122
|
-
"
|
|
2123
|
-
"
|
|
2124
|
-
"
|
|
2125
|
-
"
|
|
2126
|
-
"
|
|
2127
|
-
"
|
|
2128
|
-
"
|
|
2129
|
-
"parentMediaAssetId": listMediaAssetsRequest.parentMediaAssetId,
|
|
2130
|
-
"masterMediaAssetId": listMediaAssetsRequest.masterMediaAssetId,
|
|
2131
|
-
"type": listMediaAssetsRequest.type,
|
|
2132
|
-
"bucketName": listMediaAssetsRequest.bucketName,
|
|
2133
|
-
"objectName": listMediaAssetsRequest.objectName,
|
|
2134
|
-
"mediaWorkflowJobId": listMediaAssetsRequest.mediaWorkflowJobId,
|
|
2135
|
-
"sourceMediaWorkflowId": listMediaAssetsRequest.sourceMediaWorkflowId,
|
|
2136
|
-
"sourceMediaWorkflowVersion": listMediaAssetsRequest.sourceMediaWorkflowVersion
|
|
2951
|
+
"compartmentId": listStreamDistributionChannelsRequest.compartmentId,
|
|
2952
|
+
"id": listStreamDistributionChannelsRequest.id,
|
|
2953
|
+
"lifecycleState": listStreamDistributionChannelsRequest.lifecycleState,
|
|
2954
|
+
"displayName": listStreamDistributionChannelsRequest.displayName,
|
|
2955
|
+
"sortOrder": listStreamDistributionChannelsRequest.sortOrder,
|
|
2956
|
+
"sortBy": listStreamDistributionChannelsRequest.sortBy,
|
|
2957
|
+
"page": listStreamDistributionChannelsRequest.page,
|
|
2958
|
+
"limit": listStreamDistributionChannelsRequest.limit
|
|
2137
2959
|
};
|
|
2138
2960
|
let headerParams = {
|
|
2139
2961
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2140
|
-
"opc-request-id":
|
|
2962
|
+
"opc-request-id": listStreamDistributionChannelsRequest.opcRequestId
|
|
2141
2963
|
};
|
|
2142
2964
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2143
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2965
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStreamDistributionChannelsRequest.retryConfiguration, specRetryConfiguration);
|
|
2144
2966
|
if (this.logger)
|
|
2145
2967
|
retrier.logger = this.logger;
|
|
2146
2968
|
const request = yield oci_common_1.composeRequest({
|
|
2147
2969
|
baseEndpoint: this._endpoint,
|
|
2148
2970
|
defaultHeaders: this._defaultHeaders,
|
|
2149
|
-
path: "/
|
|
2971
|
+
path: "/streamDistributionChannels",
|
|
2150
2972
|
method: "GET",
|
|
2151
2973
|
pathParams: pathParams,
|
|
2152
2974
|
headerParams: headerParams,
|
|
@@ -2157,9 +2979,9 @@ class MediaServicesClient {
|
|
|
2157
2979
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2158
2980
|
responseObject: {},
|
|
2159
2981
|
body: yield response.json(),
|
|
2160
|
-
bodyKey: "
|
|
2161
|
-
bodyModel: model.
|
|
2162
|
-
type: "model.
|
|
2982
|
+
bodyKey: "streamDistributionChannelCollection",
|
|
2983
|
+
bodyModel: model.StreamDistributionChannelCollection,
|
|
2984
|
+
type: "model.StreamDistributionChannelCollection",
|
|
2163
2985
|
responseHeaders: [
|
|
2164
2986
|
{
|
|
2165
2987
|
value: response.headers.get("opc-request-id"),
|
|
@@ -2181,43 +3003,42 @@ class MediaServicesClient {
|
|
|
2181
3003
|
});
|
|
2182
3004
|
}
|
|
2183
3005
|
/**
|
|
2184
|
-
*
|
|
2185
|
-
*
|
|
3006
|
+
* Lists the Stream Packaging Configurations.
|
|
2186
3007
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2187
|
-
* @param
|
|
2188
|
-
* @return
|
|
3008
|
+
* @param ListStreamPackagingConfigsRequest
|
|
3009
|
+
* @return ListStreamPackagingConfigsResponse
|
|
2189
3010
|
* @throws OciError when an error occurs
|
|
2190
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3011
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ListStreamPackagingConfigs.ts.html |here} to see how to use ListStreamPackagingConfigs API.
|
|
2191
3012
|
*/
|
|
2192
|
-
|
|
3013
|
+
listStreamPackagingConfigs(listStreamPackagingConfigsRequest) {
|
|
2193
3014
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2194
3015
|
if (this.logger)
|
|
2195
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
2196
|
-
const operationName = "
|
|
3016
|
+
this.logger.debug("Calling operation MediaServicesClient#listStreamPackagingConfigs.");
|
|
3017
|
+
const operationName = "listStreamPackagingConfigs";
|
|
2197
3018
|
const apiReferenceLink = "";
|
|
2198
3019
|
const pathParams = {};
|
|
2199
3020
|
const queryParams = {
|
|
2200
|
-
"
|
|
2201
|
-
"
|
|
2202
|
-
"
|
|
2203
|
-
"
|
|
2204
|
-
"
|
|
2205
|
-
"
|
|
2206
|
-
"
|
|
2207
|
-
"
|
|
3021
|
+
"distributionChannelId": listStreamPackagingConfigsRequest.distributionChannelId,
|
|
3022
|
+
"streamPackagingConfigId": listStreamPackagingConfigsRequest.streamPackagingConfigId,
|
|
3023
|
+
"lifecycleState": listStreamPackagingConfigsRequest.lifecycleState,
|
|
3024
|
+
"displayName": listStreamPackagingConfigsRequest.displayName,
|
|
3025
|
+
"sortOrder": listStreamPackagingConfigsRequest.sortOrder,
|
|
3026
|
+
"sortBy": listStreamPackagingConfigsRequest.sortBy,
|
|
3027
|
+
"page": listStreamPackagingConfigsRequest.page,
|
|
3028
|
+
"limit": listStreamPackagingConfigsRequest.limit
|
|
2208
3029
|
};
|
|
2209
3030
|
let headerParams = {
|
|
2210
3031
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2211
|
-
"opc-request-id":
|
|
3032
|
+
"opc-request-id": listStreamPackagingConfigsRequest.opcRequestId
|
|
2212
3033
|
};
|
|
2213
3034
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2214
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3035
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStreamPackagingConfigsRequest.retryConfiguration, specRetryConfiguration);
|
|
2215
3036
|
if (this.logger)
|
|
2216
3037
|
retrier.logger = this.logger;
|
|
2217
3038
|
const request = yield oci_common_1.composeRequest({
|
|
2218
3039
|
baseEndpoint: this._endpoint,
|
|
2219
3040
|
defaultHeaders: this._defaultHeaders,
|
|
2220
|
-
path: "/
|
|
3041
|
+
path: "/streamPackagingConfigs",
|
|
2221
3042
|
method: "GET",
|
|
2222
3043
|
pathParams: pathParams,
|
|
2223
3044
|
headerParams: headerParams,
|
|
@@ -2228,9 +3049,9 @@ class MediaServicesClient {
|
|
|
2228
3049
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2229
3050
|
responseObject: {},
|
|
2230
3051
|
body: yield response.json(),
|
|
2231
|
-
bodyKey: "
|
|
2232
|
-
bodyModel: model.
|
|
2233
|
-
type: "model.
|
|
3052
|
+
bodyKey: "streamPackagingConfigCollection",
|
|
3053
|
+
bodyModel: model.StreamPackagingConfigCollection,
|
|
3054
|
+
type: "model.StreamPackagingConfigCollection",
|
|
2234
3055
|
responseHeaders: [
|
|
2235
3056
|
{
|
|
2236
3057
|
value: response.headers.get("opc-request-id"),
|
|
@@ -2252,42 +3073,40 @@ class MediaServicesClient {
|
|
|
2252
3073
|
});
|
|
2253
3074
|
}
|
|
2254
3075
|
/**
|
|
2255
|
-
*
|
|
3076
|
+
* Lists the SystemMediaWorkflows that can be used to run a job by name or as a template to create a MediaWorkflow.
|
|
3077
|
+
*
|
|
2256
3078
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2257
|
-
* @param
|
|
2258
|
-
* @return
|
|
3079
|
+
* @param ListSystemMediaWorkflowsRequest
|
|
3080
|
+
* @return ListSystemMediaWorkflowsResponse
|
|
2259
3081
|
* @throws OciError when an error occurs
|
|
2260
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3082
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/ListSystemMediaWorkflows.ts.html |here} to see how to use ListSystemMediaWorkflows API.
|
|
2261
3083
|
*/
|
|
2262
|
-
|
|
3084
|
+
listSystemMediaWorkflows(listSystemMediaWorkflowsRequest) {
|
|
2263
3085
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2264
3086
|
if (this.logger)
|
|
2265
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
2266
|
-
const operationName = "
|
|
3087
|
+
this.logger.debug("Calling operation MediaServicesClient#listSystemMediaWorkflows.");
|
|
3088
|
+
const operationName = "listSystemMediaWorkflows";
|
|
2267
3089
|
const apiReferenceLink = "";
|
|
2268
|
-
const pathParams = {
|
|
2269
|
-
"{mediaWorkflowJobId}": listMediaWorkflowJobFactsRequest.mediaWorkflowJobId
|
|
2270
|
-
};
|
|
3090
|
+
const pathParams = {};
|
|
2271
3091
|
const queryParams = {
|
|
2272
|
-
"
|
|
2273
|
-
"
|
|
2274
|
-
"
|
|
2275
|
-
"
|
|
2276
|
-
"
|
|
2277
|
-
"limit": listMediaWorkflowJobFactsRequest.limit
|
|
3092
|
+
"compartmentId": listSystemMediaWorkflowsRequest.compartmentId,
|
|
3093
|
+
"name": listSystemMediaWorkflowsRequest.name,
|
|
3094
|
+
"sortOrder": listSystemMediaWorkflowsRequest.sortOrder,
|
|
3095
|
+
"page": listSystemMediaWorkflowsRequest.page,
|
|
3096
|
+
"limit": listSystemMediaWorkflowsRequest.limit
|
|
2278
3097
|
};
|
|
2279
3098
|
let headerParams = {
|
|
2280
3099
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2281
|
-
"opc-request-id":
|
|
3100
|
+
"opc-request-id": listSystemMediaWorkflowsRequest.opcRequestId
|
|
2282
3101
|
};
|
|
2283
3102
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2284
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3103
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSystemMediaWorkflowsRequest.retryConfiguration, specRetryConfiguration);
|
|
2285
3104
|
if (this.logger)
|
|
2286
3105
|
retrier.logger = this.logger;
|
|
2287
3106
|
const request = yield oci_common_1.composeRequest({
|
|
2288
3107
|
baseEndpoint: this._endpoint,
|
|
2289
3108
|
defaultHeaders: this._defaultHeaders,
|
|
2290
|
-
path: "/
|
|
3109
|
+
path: "/systemMediaWorkflows",
|
|
2291
3110
|
method: "GET",
|
|
2292
3111
|
pathParams: pathParams,
|
|
2293
3112
|
headerParams: headerParams,
|
|
@@ -2298,9 +3117,9 @@ class MediaServicesClient {
|
|
|
2298
3117
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2299
3118
|
responseObject: {},
|
|
2300
3119
|
body: yield response.json(),
|
|
2301
|
-
bodyKey: "
|
|
2302
|
-
bodyModel: model.
|
|
2303
|
-
type: "model.
|
|
3120
|
+
bodyKey: "systemMediaWorkflowCollection",
|
|
3121
|
+
bodyModel: model.SystemMediaWorkflowCollection,
|
|
3122
|
+
type: "model.SystemMediaWorkflowCollection",
|
|
2304
3123
|
responseHeaders: [
|
|
2305
3124
|
{
|
|
2306
3125
|
value: response.headers.get("opc-request-id"),
|
|
@@ -2322,44 +3141,40 @@ class MediaServicesClient {
|
|
|
2322
3141
|
});
|
|
2323
3142
|
}
|
|
2324
3143
|
/**
|
|
2325
|
-
*
|
|
3144
|
+
* Remove a lock to an MediaAsset.
|
|
3145
|
+
*
|
|
2326
3146
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2327
|
-
* @param
|
|
2328
|
-
* @return
|
|
3147
|
+
* @param RemoveMediaAssetLockRequest
|
|
3148
|
+
* @return RemoveMediaAssetLockResponse
|
|
2329
3149
|
* @throws OciError when an error occurs
|
|
2330
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3150
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/RemoveMediaAssetLock.ts.html |here} to see how to use RemoveMediaAssetLock API.
|
|
2331
3151
|
*/
|
|
2332
|
-
|
|
3152
|
+
removeMediaAssetLock(removeMediaAssetLockRequest) {
|
|
2333
3153
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2334
3154
|
if (this.logger)
|
|
2335
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
2336
|
-
const operationName = "
|
|
3155
|
+
this.logger.debug("Calling operation MediaServicesClient#removeMediaAssetLock.");
|
|
3156
|
+
const operationName = "removeMediaAssetLock";
|
|
2337
3157
|
const apiReferenceLink = "";
|
|
2338
|
-
const pathParams = {
|
|
2339
|
-
|
|
2340
|
-
"compartmentId": listMediaWorkflowJobsRequest.compartmentId,
|
|
2341
|
-
"id": listMediaWorkflowJobsRequest.id,
|
|
2342
|
-
"mediaWorkflowId": listMediaWorkflowJobsRequest.mediaWorkflowId,
|
|
2343
|
-
"displayName": listMediaWorkflowJobsRequest.displayName,
|
|
2344
|
-
"lifecycleState": listMediaWorkflowJobsRequest.lifecycleState,
|
|
2345
|
-
"page": listMediaWorkflowJobsRequest.page,
|
|
2346
|
-
"limit": listMediaWorkflowJobsRequest.limit,
|
|
2347
|
-
"sortBy": listMediaWorkflowJobsRequest.sortBy,
|
|
2348
|
-
"sortOrder": listMediaWorkflowJobsRequest.sortOrder
|
|
3158
|
+
const pathParams = {
|
|
3159
|
+
"{mediaAssetId}": removeMediaAssetLockRequest.mediaAssetId
|
|
2349
3160
|
};
|
|
3161
|
+
const queryParams = {};
|
|
2350
3162
|
let headerParams = {
|
|
2351
3163
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2352
|
-
"opc-
|
|
3164
|
+
"opc-retry-token": removeMediaAssetLockRequest.opcRetryToken,
|
|
3165
|
+
"opc-request-id": removeMediaAssetLockRequest.opcRequestId,
|
|
3166
|
+
"if-match": removeMediaAssetLockRequest.ifMatch
|
|
2353
3167
|
};
|
|
2354
3168
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2355
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3169
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeMediaAssetLockRequest.retryConfiguration, specRetryConfiguration);
|
|
2356
3170
|
if (this.logger)
|
|
2357
3171
|
retrier.logger = this.logger;
|
|
2358
3172
|
const request = yield oci_common_1.composeRequest({
|
|
2359
3173
|
baseEndpoint: this._endpoint,
|
|
2360
3174
|
defaultHeaders: this._defaultHeaders,
|
|
2361
|
-
path: "/
|
|
2362
|
-
method: "
|
|
3175
|
+
path: "/mediaAssets/{mediaAssetId}/actions/removeLock",
|
|
3176
|
+
method: "POST",
|
|
3177
|
+
bodyContent: common.ObjectSerializer.serialize(removeMediaAssetLockRequest.removeLockDetails, "RemoveLockDetails", model.RemoveLockDetails.getJsonObj),
|
|
2363
3178
|
pathParams: pathParams,
|
|
2364
3179
|
headerParams: headerParams,
|
|
2365
3180
|
queryParams: queryParams
|
|
@@ -2369,18 +3184,18 @@ class MediaServicesClient {
|
|
|
2369
3184
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2370
3185
|
responseObject: {},
|
|
2371
3186
|
body: yield response.json(),
|
|
2372
|
-
bodyKey: "
|
|
2373
|
-
bodyModel: model.
|
|
2374
|
-
type: "model.
|
|
3187
|
+
bodyKey: "mediaAsset",
|
|
3188
|
+
bodyModel: model.MediaAsset,
|
|
3189
|
+
type: "model.MediaAsset",
|
|
2375
3190
|
responseHeaders: [
|
|
2376
3191
|
{
|
|
2377
|
-
value: response.headers.get("
|
|
2378
|
-
key: "
|
|
3192
|
+
value: response.headers.get("etag"),
|
|
3193
|
+
key: "etag",
|
|
2379
3194
|
dataType: "string"
|
|
2380
3195
|
},
|
|
2381
3196
|
{
|
|
2382
|
-
value: response.headers.get("opc-
|
|
2383
|
-
key: "
|
|
3197
|
+
value: response.headers.get("opc-request-id"),
|
|
3198
|
+
key: "opcRequestId",
|
|
2384
3199
|
dataType: "string"
|
|
2385
3200
|
}
|
|
2386
3201
|
]
|
|
@@ -2393,44 +3208,40 @@ class MediaServicesClient {
|
|
|
2393
3208
|
});
|
|
2394
3209
|
}
|
|
2395
3210
|
/**
|
|
2396
|
-
*
|
|
3211
|
+
* Remove a lock from a MediaWorkflowConfiguration.
|
|
2397
3212
|
*
|
|
2398
3213
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2399
|
-
* @param
|
|
2400
|
-
* @return
|
|
3214
|
+
* @param RemoveMediaWorkflowConfigurationLockRequest
|
|
3215
|
+
* @return RemoveMediaWorkflowConfigurationLockResponse
|
|
2401
3216
|
* @throws OciError when an error occurs
|
|
2402
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/RemoveMediaWorkflowConfigurationLock.ts.html |here} to see how to use RemoveMediaWorkflowConfigurationLock API.
|
|
2403
3218
|
*/
|
|
2404
|
-
|
|
3219
|
+
removeMediaWorkflowConfigurationLock(removeMediaWorkflowConfigurationLockRequest) {
|
|
2405
3220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2406
3221
|
if (this.logger)
|
|
2407
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
2408
|
-
const operationName = "
|
|
3222
|
+
this.logger.debug("Calling operation MediaServicesClient#removeMediaWorkflowConfigurationLock.");
|
|
3223
|
+
const operationName = "removeMediaWorkflowConfigurationLock";
|
|
2409
3224
|
const apiReferenceLink = "";
|
|
2410
|
-
const pathParams = {
|
|
2411
|
-
|
|
2412
|
-
"compartmentId": listMediaWorkflowTaskDeclarationsRequest.compartmentId,
|
|
2413
|
-
"name": listMediaWorkflowTaskDeclarationsRequest.name,
|
|
2414
|
-
"version": listMediaWorkflowTaskDeclarationsRequest.version,
|
|
2415
|
-
"isCurrent": listMediaWorkflowTaskDeclarationsRequest.isCurrent,
|
|
2416
|
-
"sortBy": listMediaWorkflowTaskDeclarationsRequest.sortBy,
|
|
2417
|
-
"limit": listMediaWorkflowTaskDeclarationsRequest.limit,
|
|
2418
|
-
"page": listMediaWorkflowTaskDeclarationsRequest.page,
|
|
2419
|
-
"sortOrder": listMediaWorkflowTaskDeclarationsRequest.sortOrder
|
|
3225
|
+
const pathParams = {
|
|
3226
|
+
"{mediaWorkflowConfigurationId}": removeMediaWorkflowConfigurationLockRequest.mediaWorkflowConfigurationId
|
|
2420
3227
|
};
|
|
3228
|
+
const queryParams = {};
|
|
2421
3229
|
let headerParams = {
|
|
2422
3230
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2423
|
-
"
|
|
3231
|
+
"if-match": removeMediaWorkflowConfigurationLockRequest.ifMatch,
|
|
3232
|
+
"opc-request-id": removeMediaWorkflowConfigurationLockRequest.opcRequestId,
|
|
3233
|
+
"opc-retry-token": removeMediaWorkflowConfigurationLockRequest.opcRetryToken
|
|
2424
3234
|
};
|
|
2425
3235
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2426
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3236
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeMediaWorkflowConfigurationLockRequest.retryConfiguration, specRetryConfiguration);
|
|
2427
3237
|
if (this.logger)
|
|
2428
3238
|
retrier.logger = this.logger;
|
|
2429
3239
|
const request = yield oci_common_1.composeRequest({
|
|
2430
3240
|
baseEndpoint: this._endpoint,
|
|
2431
3241
|
defaultHeaders: this._defaultHeaders,
|
|
2432
|
-
path: "/
|
|
2433
|
-
method: "
|
|
3242
|
+
path: "/mediaWorkflowConfigurations/{mediaWorkflowConfigurationId}/actions/removeLock",
|
|
3243
|
+
method: "POST",
|
|
3244
|
+
bodyContent: common.ObjectSerializer.serialize(removeMediaWorkflowConfigurationLockRequest.removeResourceLockDetails, "RemoveLockDetails", model.RemoveLockDetails.getJsonObj),
|
|
2434
3245
|
pathParams: pathParams,
|
|
2435
3246
|
headerParams: headerParams,
|
|
2436
3247
|
queryParams: queryParams
|
|
@@ -2440,18 +3251,18 @@ class MediaServicesClient {
|
|
|
2440
3251
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2441
3252
|
responseObject: {},
|
|
2442
3253
|
body: yield response.json(),
|
|
2443
|
-
bodyKey: "
|
|
2444
|
-
bodyModel: model.
|
|
2445
|
-
type: "model.
|
|
3254
|
+
bodyKey: "mediaWorkflowConfiguration",
|
|
3255
|
+
bodyModel: model.MediaWorkflowConfiguration,
|
|
3256
|
+
type: "model.MediaWorkflowConfiguration",
|
|
2446
3257
|
responseHeaders: [
|
|
2447
3258
|
{
|
|
2448
|
-
value: response.headers.get("
|
|
2449
|
-
key: "
|
|
3259
|
+
value: response.headers.get("etag"),
|
|
3260
|
+
key: "etag",
|
|
2450
3261
|
dataType: "string"
|
|
2451
3262
|
},
|
|
2452
3263
|
{
|
|
2453
|
-
value: response.headers.get("opc-
|
|
2454
|
-
key: "
|
|
3264
|
+
value: response.headers.get("opc-request-id"),
|
|
3265
|
+
key: "opcRequestId",
|
|
2455
3266
|
dataType: "string"
|
|
2456
3267
|
}
|
|
2457
3268
|
]
|
|
@@ -2464,43 +3275,40 @@ class MediaServicesClient {
|
|
|
2464
3275
|
});
|
|
2465
3276
|
}
|
|
2466
3277
|
/**
|
|
2467
|
-
*
|
|
3278
|
+
* Remove a lock from a MediaWorkflowJob.
|
|
3279
|
+
*
|
|
2468
3280
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2469
|
-
* @param
|
|
2470
|
-
* @return
|
|
3281
|
+
* @param RemoveMediaWorkflowJobLockRequest
|
|
3282
|
+
* @return RemoveMediaWorkflowJobLockResponse
|
|
2471
3283
|
* @throws OciError when an error occurs
|
|
2472
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3284
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/RemoveMediaWorkflowJobLock.ts.html |here} to see how to use RemoveMediaWorkflowJobLock API.
|
|
2473
3285
|
*/
|
|
2474
|
-
|
|
3286
|
+
removeMediaWorkflowJobLock(removeMediaWorkflowJobLockRequest) {
|
|
2475
3287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2476
3288
|
if (this.logger)
|
|
2477
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
2478
|
-
const operationName = "
|
|
3289
|
+
this.logger.debug("Calling operation MediaServicesClient#removeMediaWorkflowJobLock.");
|
|
3290
|
+
const operationName = "removeMediaWorkflowJobLock";
|
|
2479
3291
|
const apiReferenceLink = "";
|
|
2480
|
-
const pathParams = {
|
|
2481
|
-
|
|
2482
|
-
"compartmentId": listMediaWorkflowsRequest.compartmentId,
|
|
2483
|
-
"id": listMediaWorkflowsRequest.id,
|
|
2484
|
-
"lifecycleState": listMediaWorkflowsRequest.lifecycleState,
|
|
2485
|
-
"displayName": listMediaWorkflowsRequest.displayName,
|
|
2486
|
-
"sortOrder": listMediaWorkflowsRequest.sortOrder,
|
|
2487
|
-
"sortBy": listMediaWorkflowsRequest.sortBy,
|
|
2488
|
-
"page": listMediaWorkflowsRequest.page,
|
|
2489
|
-
"limit": listMediaWorkflowsRequest.limit
|
|
3292
|
+
const pathParams = {
|
|
3293
|
+
"{mediaWorkflowJobId}": removeMediaWorkflowJobLockRequest.mediaWorkflowJobId
|
|
2490
3294
|
};
|
|
3295
|
+
const queryParams = {};
|
|
2491
3296
|
let headerParams = {
|
|
2492
3297
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2493
|
-
"opc-
|
|
3298
|
+
"opc-retry-token": removeMediaWorkflowJobLockRequest.opcRetryToken,
|
|
3299
|
+
"opc-request-id": removeMediaWorkflowJobLockRequest.opcRequestId,
|
|
3300
|
+
"if-match": removeMediaWorkflowJobLockRequest.ifMatch
|
|
2494
3301
|
};
|
|
2495
3302
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2496
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3303
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeMediaWorkflowJobLockRequest.retryConfiguration, specRetryConfiguration);
|
|
2497
3304
|
if (this.logger)
|
|
2498
3305
|
retrier.logger = this.logger;
|
|
2499
3306
|
const request = yield oci_common_1.composeRequest({
|
|
2500
3307
|
baseEndpoint: this._endpoint,
|
|
2501
3308
|
defaultHeaders: this._defaultHeaders,
|
|
2502
|
-
path: "/
|
|
2503
|
-
method: "
|
|
3309
|
+
path: "/mediaWorkflowJobs/{mediaWorkflowJobId}/actions/removeLock",
|
|
3310
|
+
method: "POST",
|
|
3311
|
+
bodyContent: common.ObjectSerializer.serialize(removeMediaWorkflowJobLockRequest.removeLockDetails, "RemoveLockDetails", model.RemoveLockDetails.getJsonObj),
|
|
2504
3312
|
pathParams: pathParams,
|
|
2505
3313
|
headerParams: headerParams,
|
|
2506
3314
|
queryParams: queryParams
|
|
@@ -2510,18 +3318,18 @@ class MediaServicesClient {
|
|
|
2510
3318
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2511
3319
|
responseObject: {},
|
|
2512
3320
|
body: yield response.json(),
|
|
2513
|
-
bodyKey: "
|
|
2514
|
-
bodyModel: model.
|
|
2515
|
-
type: "model.
|
|
3321
|
+
bodyKey: "mediaWorkflowJob",
|
|
3322
|
+
bodyModel: model.MediaWorkflowJob,
|
|
3323
|
+
type: "model.MediaWorkflowJob",
|
|
2516
3324
|
responseHeaders: [
|
|
2517
3325
|
{
|
|
2518
|
-
value: response.headers.get("
|
|
2519
|
-
key: "
|
|
3326
|
+
value: response.headers.get("etag"),
|
|
3327
|
+
key: "etag",
|
|
2520
3328
|
dataType: "string"
|
|
2521
3329
|
},
|
|
2522
3330
|
{
|
|
2523
|
-
value: response.headers.get("opc-
|
|
2524
|
-
key: "
|
|
3331
|
+
value: response.headers.get("opc-request-id"),
|
|
3332
|
+
key: "opcRequestId",
|
|
2525
3333
|
dataType: "string"
|
|
2526
3334
|
}
|
|
2527
3335
|
]
|
|
@@ -2534,43 +3342,40 @@ class MediaServicesClient {
|
|
|
2534
3342
|
});
|
|
2535
3343
|
}
|
|
2536
3344
|
/**
|
|
2537
|
-
*
|
|
3345
|
+
* Remove a lock from a MediaWorkflow.
|
|
3346
|
+
*
|
|
2538
3347
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2539
|
-
* @param
|
|
2540
|
-
* @return
|
|
3348
|
+
* @param RemoveMediaWorkflowLockRequest
|
|
3349
|
+
* @return RemoveMediaWorkflowLockResponse
|
|
2541
3350
|
* @throws OciError when an error occurs
|
|
2542
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3351
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/RemoveMediaWorkflowLock.ts.html |here} to see how to use RemoveMediaWorkflowLock API.
|
|
2543
3352
|
*/
|
|
2544
|
-
|
|
3353
|
+
removeMediaWorkflowLock(removeMediaWorkflowLockRequest) {
|
|
2545
3354
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2546
3355
|
if (this.logger)
|
|
2547
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
2548
|
-
const operationName = "
|
|
3356
|
+
this.logger.debug("Calling operation MediaServicesClient#removeMediaWorkflowLock.");
|
|
3357
|
+
const operationName = "removeMediaWorkflowLock";
|
|
2549
3358
|
const apiReferenceLink = "";
|
|
2550
|
-
const pathParams = {
|
|
2551
|
-
|
|
2552
|
-
"distributionChannelId": listStreamCdnConfigsRequest.distributionChannelId,
|
|
2553
|
-
"id": listStreamCdnConfigsRequest.id,
|
|
2554
|
-
"lifecycleState": listStreamCdnConfigsRequest.lifecycleState,
|
|
2555
|
-
"displayName": listStreamCdnConfigsRequest.displayName,
|
|
2556
|
-
"sortOrder": listStreamCdnConfigsRequest.sortOrder,
|
|
2557
|
-
"sortBy": listStreamCdnConfigsRequest.sortBy,
|
|
2558
|
-
"page": listStreamCdnConfigsRequest.page,
|
|
2559
|
-
"limit": listStreamCdnConfigsRequest.limit
|
|
3359
|
+
const pathParams = {
|
|
3360
|
+
"{mediaWorkflowId}": removeMediaWorkflowLockRequest.mediaWorkflowId
|
|
2560
3361
|
};
|
|
3362
|
+
const queryParams = {};
|
|
2561
3363
|
let headerParams = {
|
|
2562
3364
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2563
|
-
"opc-
|
|
3365
|
+
"opc-retry-token": removeMediaWorkflowLockRequest.opcRetryToken,
|
|
3366
|
+
"opc-request-id": removeMediaWorkflowLockRequest.opcRequestId,
|
|
3367
|
+
"if-match": removeMediaWorkflowLockRequest.ifMatch
|
|
2564
3368
|
};
|
|
2565
3369
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2566
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3370
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeMediaWorkflowLockRequest.retryConfiguration, specRetryConfiguration);
|
|
2567
3371
|
if (this.logger)
|
|
2568
3372
|
retrier.logger = this.logger;
|
|
2569
3373
|
const request = yield oci_common_1.composeRequest({
|
|
2570
3374
|
baseEndpoint: this._endpoint,
|
|
2571
3375
|
defaultHeaders: this._defaultHeaders,
|
|
2572
|
-
path: "/
|
|
2573
|
-
method: "
|
|
3376
|
+
path: "/mediaWorkflows/{mediaWorkflowId}/actions/removeLock",
|
|
3377
|
+
method: "POST",
|
|
3378
|
+
bodyContent: common.ObjectSerializer.serialize(removeMediaWorkflowLockRequest.removeResourceLockDetails, "RemoveLockDetails", model.RemoveLockDetails.getJsonObj),
|
|
2574
3379
|
pathParams: pathParams,
|
|
2575
3380
|
headerParams: headerParams,
|
|
2576
3381
|
queryParams: queryParams
|
|
@@ -2580,18 +3385,18 @@ class MediaServicesClient {
|
|
|
2580
3385
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2581
3386
|
responseObject: {},
|
|
2582
3387
|
body: yield response.json(),
|
|
2583
|
-
bodyKey: "
|
|
2584
|
-
bodyModel: model.
|
|
2585
|
-
type: "model.
|
|
3388
|
+
bodyKey: "mediaWorkflow",
|
|
3389
|
+
bodyModel: model.MediaWorkflow,
|
|
3390
|
+
type: "model.MediaWorkflow",
|
|
2586
3391
|
responseHeaders: [
|
|
2587
3392
|
{
|
|
2588
|
-
value: response.headers.get("
|
|
2589
|
-
key: "
|
|
3393
|
+
value: response.headers.get("etag"),
|
|
3394
|
+
key: "etag",
|
|
2590
3395
|
dataType: "string"
|
|
2591
3396
|
},
|
|
2592
3397
|
{
|
|
2593
|
-
value: response.headers.get("opc-
|
|
2594
|
-
key: "
|
|
3398
|
+
value: response.headers.get("opc-request-id"),
|
|
3399
|
+
key: "opcRequestId",
|
|
2595
3400
|
dataType: "string"
|
|
2596
3401
|
}
|
|
2597
3402
|
]
|
|
@@ -2604,43 +3409,40 @@ class MediaServicesClient {
|
|
|
2604
3409
|
});
|
|
2605
3410
|
}
|
|
2606
3411
|
/**
|
|
2607
|
-
*
|
|
3412
|
+
* Remove a lock from a StreamCdnConfig.
|
|
3413
|
+
*
|
|
2608
3414
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2609
|
-
* @param
|
|
2610
|
-
* @return
|
|
3415
|
+
* @param RemoveStreamCdnConfigLockRequest
|
|
3416
|
+
* @return RemoveStreamCdnConfigLockResponse
|
|
2611
3417
|
* @throws OciError when an error occurs
|
|
2612
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3418
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/RemoveStreamCdnConfigLock.ts.html |here} to see how to use RemoveStreamCdnConfigLock API.
|
|
2613
3419
|
*/
|
|
2614
|
-
|
|
3420
|
+
removeStreamCdnConfigLock(removeStreamCdnConfigLockRequest) {
|
|
2615
3421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2616
3422
|
if (this.logger)
|
|
2617
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
2618
|
-
const operationName = "
|
|
3423
|
+
this.logger.debug("Calling operation MediaServicesClient#removeStreamCdnConfigLock.");
|
|
3424
|
+
const operationName = "removeStreamCdnConfigLock";
|
|
2619
3425
|
const apiReferenceLink = "";
|
|
2620
|
-
const pathParams = {
|
|
2621
|
-
|
|
2622
|
-
"compartmentId": listStreamDistributionChannelsRequest.compartmentId,
|
|
2623
|
-
"id": listStreamDistributionChannelsRequest.id,
|
|
2624
|
-
"lifecycleState": listStreamDistributionChannelsRequest.lifecycleState,
|
|
2625
|
-
"displayName": listStreamDistributionChannelsRequest.displayName,
|
|
2626
|
-
"sortOrder": listStreamDistributionChannelsRequest.sortOrder,
|
|
2627
|
-
"sortBy": listStreamDistributionChannelsRequest.sortBy,
|
|
2628
|
-
"page": listStreamDistributionChannelsRequest.page,
|
|
2629
|
-
"limit": listStreamDistributionChannelsRequest.limit
|
|
3426
|
+
const pathParams = {
|
|
3427
|
+
"{streamCdnConfigId}": removeStreamCdnConfigLockRequest.streamCdnConfigId
|
|
2630
3428
|
};
|
|
3429
|
+
const queryParams = {};
|
|
2631
3430
|
let headerParams = {
|
|
2632
3431
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2633
|
-
"
|
|
3432
|
+
"if-match": removeStreamCdnConfigLockRequest.ifMatch,
|
|
3433
|
+
"opc-request-id": removeStreamCdnConfigLockRequest.opcRequestId,
|
|
3434
|
+
"opc-retry-token": removeStreamCdnConfigLockRequest.opcRetryToken
|
|
2634
3435
|
};
|
|
2635
3436
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2636
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3437
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeStreamCdnConfigLockRequest.retryConfiguration, specRetryConfiguration);
|
|
2637
3438
|
if (this.logger)
|
|
2638
3439
|
retrier.logger = this.logger;
|
|
2639
3440
|
const request = yield oci_common_1.composeRequest({
|
|
2640
3441
|
baseEndpoint: this._endpoint,
|
|
2641
3442
|
defaultHeaders: this._defaultHeaders,
|
|
2642
|
-
path: "/
|
|
2643
|
-
method: "
|
|
3443
|
+
path: "/streamCdnConfigs/{streamCdnConfigId}/actions/removeLock",
|
|
3444
|
+
method: "POST",
|
|
3445
|
+
bodyContent: common.ObjectSerializer.serialize(removeStreamCdnConfigLockRequest.removeResourceLockDetails, "RemoveLockDetails", model.RemoveLockDetails.getJsonObj),
|
|
2644
3446
|
pathParams: pathParams,
|
|
2645
3447
|
headerParams: headerParams,
|
|
2646
3448
|
queryParams: queryParams
|
|
@@ -2650,18 +3452,18 @@ class MediaServicesClient {
|
|
|
2650
3452
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2651
3453
|
responseObject: {},
|
|
2652
3454
|
body: yield response.json(),
|
|
2653
|
-
bodyKey: "
|
|
2654
|
-
bodyModel: model.
|
|
2655
|
-
type: "model.
|
|
3455
|
+
bodyKey: "streamCdnConfig",
|
|
3456
|
+
bodyModel: model.StreamCdnConfig,
|
|
3457
|
+
type: "model.StreamCdnConfig",
|
|
2656
3458
|
responseHeaders: [
|
|
2657
3459
|
{
|
|
2658
|
-
value: response.headers.get("
|
|
2659
|
-
key: "
|
|
3460
|
+
value: response.headers.get("etag"),
|
|
3461
|
+
key: "etag",
|
|
2660
3462
|
dataType: "string"
|
|
2661
3463
|
},
|
|
2662
3464
|
{
|
|
2663
|
-
value: response.headers.get("opc-
|
|
2664
|
-
key: "
|
|
3465
|
+
value: response.headers.get("opc-request-id"),
|
|
3466
|
+
key: "opcRequestId",
|
|
2665
3467
|
dataType: "string"
|
|
2666
3468
|
}
|
|
2667
3469
|
]
|
|
@@ -2674,43 +3476,40 @@ class MediaServicesClient {
|
|
|
2674
3476
|
});
|
|
2675
3477
|
}
|
|
2676
3478
|
/**
|
|
2677
|
-
*
|
|
3479
|
+
* Remove a lock to a StreamDistributionChannel.
|
|
3480
|
+
*
|
|
2678
3481
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2679
|
-
* @param
|
|
2680
|
-
* @return
|
|
3482
|
+
* @param RemoveStreamDistributionChannelLockRequest
|
|
3483
|
+
* @return RemoveStreamDistributionChannelLockResponse
|
|
2681
3484
|
* @throws OciError when an error occurs
|
|
2682
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3485
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/RemoveStreamDistributionChannelLock.ts.html |here} to see how to use RemoveStreamDistributionChannelLock API.
|
|
2683
3486
|
*/
|
|
2684
|
-
|
|
3487
|
+
removeStreamDistributionChannelLock(removeStreamDistributionChannelLockRequest) {
|
|
2685
3488
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2686
3489
|
if (this.logger)
|
|
2687
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
2688
|
-
const operationName = "
|
|
3490
|
+
this.logger.debug("Calling operation MediaServicesClient#removeStreamDistributionChannelLock.");
|
|
3491
|
+
const operationName = "removeStreamDistributionChannelLock";
|
|
2689
3492
|
const apiReferenceLink = "";
|
|
2690
|
-
const pathParams = {
|
|
2691
|
-
|
|
2692
|
-
"distributionChannelId": listStreamPackagingConfigsRequest.distributionChannelId,
|
|
2693
|
-
"streamPackagingConfigId": listStreamPackagingConfigsRequest.streamPackagingConfigId,
|
|
2694
|
-
"lifecycleState": listStreamPackagingConfigsRequest.lifecycleState,
|
|
2695
|
-
"displayName": listStreamPackagingConfigsRequest.displayName,
|
|
2696
|
-
"sortOrder": listStreamPackagingConfigsRequest.sortOrder,
|
|
2697
|
-
"sortBy": listStreamPackagingConfigsRequest.sortBy,
|
|
2698
|
-
"page": listStreamPackagingConfigsRequest.page,
|
|
2699
|
-
"limit": listStreamPackagingConfigsRequest.limit
|
|
3493
|
+
const pathParams = {
|
|
3494
|
+
"{streamDistributionChannelId}": removeStreamDistributionChannelLockRequest.streamDistributionChannelId
|
|
2700
3495
|
};
|
|
3496
|
+
const queryParams = {};
|
|
2701
3497
|
let headerParams = {
|
|
2702
3498
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2703
|
-
"
|
|
3499
|
+
"if-match": removeStreamDistributionChannelLockRequest.ifMatch,
|
|
3500
|
+
"opc-request-id": removeStreamDistributionChannelLockRequest.opcRequestId,
|
|
3501
|
+
"opc-retry-token": removeStreamDistributionChannelLockRequest.opcRetryToken
|
|
2704
3502
|
};
|
|
2705
3503
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2706
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3504
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeStreamDistributionChannelLockRequest.retryConfiguration, specRetryConfiguration);
|
|
2707
3505
|
if (this.logger)
|
|
2708
3506
|
retrier.logger = this.logger;
|
|
2709
3507
|
const request = yield oci_common_1.composeRequest({
|
|
2710
3508
|
baseEndpoint: this._endpoint,
|
|
2711
3509
|
defaultHeaders: this._defaultHeaders,
|
|
2712
|
-
path: "/
|
|
2713
|
-
method: "
|
|
3510
|
+
path: "/streamDistributionChannels/{streamDistributionChannelId}/actions/removeLock",
|
|
3511
|
+
method: "POST",
|
|
3512
|
+
bodyContent: common.ObjectSerializer.serialize(removeStreamDistributionChannelLockRequest.removeResourceLockDetails, "RemoveLockDetails", model.RemoveLockDetails.getJsonObj),
|
|
2714
3513
|
pathParams: pathParams,
|
|
2715
3514
|
headerParams: headerParams,
|
|
2716
3515
|
queryParams: queryParams
|
|
@@ -2720,18 +3519,18 @@ class MediaServicesClient {
|
|
|
2720
3519
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2721
3520
|
responseObject: {},
|
|
2722
3521
|
body: yield response.json(),
|
|
2723
|
-
bodyKey: "
|
|
2724
|
-
bodyModel: model.
|
|
2725
|
-
type: "model.
|
|
3522
|
+
bodyKey: "streamDistributionChannel",
|
|
3523
|
+
bodyModel: model.StreamDistributionChannel,
|
|
3524
|
+
type: "model.StreamDistributionChannel",
|
|
2726
3525
|
responseHeaders: [
|
|
2727
3526
|
{
|
|
2728
|
-
value: response.headers.get("
|
|
2729
|
-
key: "
|
|
3527
|
+
value: response.headers.get("etag"),
|
|
3528
|
+
key: "etag",
|
|
2730
3529
|
dataType: "string"
|
|
2731
3530
|
},
|
|
2732
3531
|
{
|
|
2733
|
-
value: response.headers.get("opc-
|
|
2734
|
-
key: "
|
|
3532
|
+
value: response.headers.get("opc-request-id"),
|
|
3533
|
+
key: "opcRequestId",
|
|
2735
3534
|
dataType: "string"
|
|
2736
3535
|
}
|
|
2737
3536
|
]
|
|
@@ -2744,41 +3543,40 @@ class MediaServicesClient {
|
|
|
2744
3543
|
});
|
|
2745
3544
|
}
|
|
2746
3545
|
/**
|
|
2747
|
-
*
|
|
3546
|
+
* Remove a lock from a StreamPackagingConfig.
|
|
2748
3547
|
*
|
|
2749
3548
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2750
|
-
* @param
|
|
2751
|
-
* @return
|
|
3549
|
+
* @param RemoveStreamPackagingConfigLockRequest
|
|
3550
|
+
* @return RemoveStreamPackagingConfigLockResponse
|
|
2752
3551
|
* @throws OciError when an error occurs
|
|
2753
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3552
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/RemoveStreamPackagingConfigLock.ts.html |here} to see how to use RemoveStreamPackagingConfigLock API.
|
|
2754
3553
|
*/
|
|
2755
|
-
|
|
3554
|
+
removeStreamPackagingConfigLock(removeStreamPackagingConfigLockRequest) {
|
|
2756
3555
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2757
3556
|
if (this.logger)
|
|
2758
|
-
this.logger.debug("Calling operation MediaServicesClient#
|
|
2759
|
-
const operationName = "
|
|
3557
|
+
this.logger.debug("Calling operation MediaServicesClient#removeStreamPackagingConfigLock.");
|
|
3558
|
+
const operationName = "removeStreamPackagingConfigLock";
|
|
2760
3559
|
const apiReferenceLink = "";
|
|
2761
|
-
const pathParams = {
|
|
2762
|
-
|
|
2763
|
-
"compartmentId": listSystemMediaWorkflowsRequest.compartmentId,
|
|
2764
|
-
"name": listSystemMediaWorkflowsRequest.name,
|
|
2765
|
-
"sortOrder": listSystemMediaWorkflowsRequest.sortOrder,
|
|
2766
|
-
"page": listSystemMediaWorkflowsRequest.page,
|
|
2767
|
-
"limit": listSystemMediaWorkflowsRequest.limit
|
|
3560
|
+
const pathParams = {
|
|
3561
|
+
"{streamPackagingConfigId}": removeStreamPackagingConfigLockRequest.streamPackagingConfigId
|
|
2768
3562
|
};
|
|
3563
|
+
const queryParams = {};
|
|
2769
3564
|
let headerParams = {
|
|
2770
3565
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2771
|
-
"
|
|
3566
|
+
"if-match": removeStreamPackagingConfigLockRequest.ifMatch,
|
|
3567
|
+
"opc-request-id": removeStreamPackagingConfigLockRequest.opcRequestId,
|
|
3568
|
+
"opc-retry-token": removeStreamPackagingConfigLockRequest.opcRetryToken
|
|
2772
3569
|
};
|
|
2773
3570
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2774
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3571
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeStreamPackagingConfigLockRequest.retryConfiguration, specRetryConfiguration);
|
|
2775
3572
|
if (this.logger)
|
|
2776
3573
|
retrier.logger = this.logger;
|
|
2777
3574
|
const request = yield oci_common_1.composeRequest({
|
|
2778
3575
|
baseEndpoint: this._endpoint,
|
|
2779
3576
|
defaultHeaders: this._defaultHeaders,
|
|
2780
|
-
path: "/
|
|
2781
|
-
method: "
|
|
3577
|
+
path: "/streamPackagingConfigs/{streamPackagingConfigId}/actions/removeLock",
|
|
3578
|
+
method: "POST",
|
|
3579
|
+
bodyContent: common.ObjectSerializer.serialize(removeStreamPackagingConfigLockRequest.removeResourceLockDetails, "RemoveLockDetails", model.RemoveLockDetails.getJsonObj),
|
|
2782
3580
|
pathParams: pathParams,
|
|
2783
3581
|
headerParams: headerParams,
|
|
2784
3582
|
queryParams: queryParams
|
|
@@ -2788,18 +3586,18 @@ class MediaServicesClient {
|
|
|
2788
3586
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2789
3587
|
responseObject: {},
|
|
2790
3588
|
body: yield response.json(),
|
|
2791
|
-
bodyKey: "
|
|
2792
|
-
bodyModel: model.
|
|
2793
|
-
type: "model.
|
|
3589
|
+
bodyKey: "streamPackagingConfig",
|
|
3590
|
+
bodyModel: model.StreamPackagingConfig,
|
|
3591
|
+
type: "model.StreamPackagingConfig",
|
|
2794
3592
|
responseHeaders: [
|
|
2795
3593
|
{
|
|
2796
|
-
value: response.headers.get("
|
|
2797
|
-
key: "
|
|
3594
|
+
value: response.headers.get("etag"),
|
|
3595
|
+
key: "etag",
|
|
2798
3596
|
dataType: "string"
|
|
2799
3597
|
},
|
|
2800
3598
|
{
|
|
2801
|
-
value: response.headers.get("opc-
|
|
2802
|
-
key: "
|
|
3599
|
+
value: response.headers.get("opc-request-id"),
|
|
3600
|
+
key: "opcRequestId",
|
|
2803
3601
|
dataType: "string"
|
|
2804
3602
|
}
|
|
2805
3603
|
]
|
|
@@ -2817,7 +3615,7 @@ class MediaServicesClient {
|
|
|
2817
3615
|
* @param UpdateMediaAssetRequest
|
|
2818
3616
|
* @return UpdateMediaAssetResponse
|
|
2819
3617
|
* @throws OciError when an error occurs
|
|
2820
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3618
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/UpdateMediaAsset.ts.html |here} to see how to use UpdateMediaAsset API.
|
|
2821
3619
|
*/
|
|
2822
3620
|
updateMediaAsset(updateMediaAssetRequest) {
|
|
2823
3621
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2828,7 +3626,9 @@ class MediaServicesClient {
|
|
|
2828
3626
|
const pathParams = {
|
|
2829
3627
|
"{mediaAssetId}": updateMediaAssetRequest.mediaAssetId
|
|
2830
3628
|
};
|
|
2831
|
-
const queryParams = {
|
|
3629
|
+
const queryParams = {
|
|
3630
|
+
"isLockOverride": updateMediaAssetRequest.isLockOverride
|
|
3631
|
+
};
|
|
2832
3632
|
let headerParams = {
|
|
2833
3633
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2834
3634
|
"if-match": updateMediaAssetRequest.ifMatch,
|
|
@@ -2882,7 +3682,7 @@ class MediaServicesClient {
|
|
|
2882
3682
|
* @param UpdateMediaWorkflowRequest
|
|
2883
3683
|
* @return UpdateMediaWorkflowResponse
|
|
2884
3684
|
* @throws OciError when an error occurs
|
|
2885
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3685
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/UpdateMediaWorkflow.ts.html |here} to see how to use UpdateMediaWorkflow API.
|
|
2886
3686
|
*/
|
|
2887
3687
|
updateMediaWorkflow(updateMediaWorkflowRequest) {
|
|
2888
3688
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2893,7 +3693,9 @@ class MediaServicesClient {
|
|
|
2893
3693
|
const pathParams = {
|
|
2894
3694
|
"{mediaWorkflowId}": updateMediaWorkflowRequest.mediaWorkflowId
|
|
2895
3695
|
};
|
|
2896
|
-
const queryParams = {
|
|
3696
|
+
const queryParams = {
|
|
3697
|
+
"isLockOverride": updateMediaWorkflowRequest.isLockOverride
|
|
3698
|
+
};
|
|
2897
3699
|
let headerParams = {
|
|
2898
3700
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2899
3701
|
"if-match": updateMediaWorkflowRequest.ifMatch,
|
|
@@ -2947,7 +3749,7 @@ class MediaServicesClient {
|
|
|
2947
3749
|
* @param UpdateMediaWorkflowConfigurationRequest
|
|
2948
3750
|
* @return UpdateMediaWorkflowConfigurationResponse
|
|
2949
3751
|
* @throws OciError when an error occurs
|
|
2950
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3752
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/UpdateMediaWorkflowConfiguration.ts.html |here} to see how to use UpdateMediaWorkflowConfiguration API.
|
|
2951
3753
|
*/
|
|
2952
3754
|
updateMediaWorkflowConfiguration(updateMediaWorkflowConfigurationRequest) {
|
|
2953
3755
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2958,7 +3760,9 @@ class MediaServicesClient {
|
|
|
2958
3760
|
const pathParams = {
|
|
2959
3761
|
"{mediaWorkflowConfigurationId}": updateMediaWorkflowConfigurationRequest.mediaWorkflowConfigurationId
|
|
2960
3762
|
};
|
|
2961
|
-
const queryParams = {
|
|
3763
|
+
const queryParams = {
|
|
3764
|
+
"isLockOverride": updateMediaWorkflowConfigurationRequest.isLockOverride
|
|
3765
|
+
};
|
|
2962
3766
|
let headerParams = {
|
|
2963
3767
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2964
3768
|
"if-match": updateMediaWorkflowConfigurationRequest.ifMatch,
|
|
@@ -3012,7 +3816,7 @@ class MediaServicesClient {
|
|
|
3012
3816
|
* @param UpdateMediaWorkflowJobRequest
|
|
3013
3817
|
* @return UpdateMediaWorkflowJobResponse
|
|
3014
3818
|
* @throws OciError when an error occurs
|
|
3015
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3819
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/UpdateMediaWorkflowJob.ts.html |here} to see how to use UpdateMediaWorkflowJob API.
|
|
3016
3820
|
*/
|
|
3017
3821
|
updateMediaWorkflowJob(updateMediaWorkflowJobRequest) {
|
|
3018
3822
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3023,7 +3827,9 @@ class MediaServicesClient {
|
|
|
3023
3827
|
const pathParams = {
|
|
3024
3828
|
"{mediaWorkflowJobId}": updateMediaWorkflowJobRequest.mediaWorkflowJobId
|
|
3025
3829
|
};
|
|
3026
|
-
const queryParams = {
|
|
3830
|
+
const queryParams = {
|
|
3831
|
+
"isLockOverride": updateMediaWorkflowJobRequest.isLockOverride
|
|
3832
|
+
};
|
|
3027
3833
|
let headerParams = {
|
|
3028
3834
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3029
3835
|
"if-match": updateMediaWorkflowJobRequest.ifMatch,
|
|
@@ -3077,7 +3883,7 @@ class MediaServicesClient {
|
|
|
3077
3883
|
* @param UpdateStreamCdnConfigRequest
|
|
3078
3884
|
* @return UpdateStreamCdnConfigResponse
|
|
3079
3885
|
* @throws OciError when an error occurs
|
|
3080
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3886
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/UpdateStreamCdnConfig.ts.html |here} to see how to use UpdateStreamCdnConfig API.
|
|
3081
3887
|
*/
|
|
3082
3888
|
updateStreamCdnConfig(updateStreamCdnConfigRequest) {
|
|
3083
3889
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3088,7 +3894,9 @@ class MediaServicesClient {
|
|
|
3088
3894
|
const pathParams = {
|
|
3089
3895
|
"{streamCdnConfigId}": updateStreamCdnConfigRequest.streamCdnConfigId
|
|
3090
3896
|
};
|
|
3091
|
-
const queryParams = {
|
|
3897
|
+
const queryParams = {
|
|
3898
|
+
"isLockOverride": updateStreamCdnConfigRequest.isLockOverride
|
|
3899
|
+
};
|
|
3092
3900
|
let headerParams = {
|
|
3093
3901
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3094
3902
|
"if-match": updateStreamCdnConfigRequest.ifMatch,
|
|
@@ -3142,7 +3950,7 @@ class MediaServicesClient {
|
|
|
3142
3950
|
* @param UpdateStreamDistributionChannelRequest
|
|
3143
3951
|
* @return UpdateStreamDistributionChannelResponse
|
|
3144
3952
|
* @throws OciError when an error occurs
|
|
3145
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3953
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/UpdateStreamDistributionChannel.ts.html |here} to see how to use UpdateStreamDistributionChannel API.
|
|
3146
3954
|
*/
|
|
3147
3955
|
updateStreamDistributionChannel(updateStreamDistributionChannelRequest) {
|
|
3148
3956
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3153,7 +3961,9 @@ class MediaServicesClient {
|
|
|
3153
3961
|
const pathParams = {
|
|
3154
3962
|
"{streamDistributionChannelId}": updateStreamDistributionChannelRequest.streamDistributionChannelId
|
|
3155
3963
|
};
|
|
3156
|
-
const queryParams = {
|
|
3964
|
+
const queryParams = {
|
|
3965
|
+
"isLockOverride": updateStreamDistributionChannelRequest.isLockOverride
|
|
3966
|
+
};
|
|
3157
3967
|
let headerParams = {
|
|
3158
3968
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3159
3969
|
"if-match": updateStreamDistributionChannelRequest.ifMatch,
|
|
@@ -3207,7 +4017,7 @@ class MediaServicesClient {
|
|
|
3207
4017
|
* @param UpdateStreamPackagingConfigRequest
|
|
3208
4018
|
* @return UpdateStreamPackagingConfigResponse
|
|
3209
4019
|
* @throws OciError when an error occurs
|
|
3210
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4020
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/UpdateStreamPackagingConfig.ts.html |here} to see how to use UpdateStreamPackagingConfig API.
|
|
3211
4021
|
*/
|
|
3212
4022
|
updateStreamPackagingConfig(updateStreamPackagingConfigRequest) {
|
|
3213
4023
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3218,7 +4028,9 @@ class MediaServicesClient {
|
|
|
3218
4028
|
const pathParams = {
|
|
3219
4029
|
"{streamPackagingConfigId}": updateStreamPackagingConfigRequest.streamPackagingConfigId
|
|
3220
4030
|
};
|
|
3221
|
-
const queryParams = {
|
|
4031
|
+
const queryParams = {
|
|
4032
|
+
"isLockOverride": updateStreamPackagingConfigRequest.isLockOverride
|
|
4033
|
+
};
|
|
3222
4034
|
let headerParams = {
|
|
3223
4035
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3224
4036
|
"if-match": updateStreamPackagingConfigRequest.ifMatch,
|
|
@@ -3252,11 +4064,6 @@ class MediaServicesClient {
|
|
|
3252
4064
|
key: "etag",
|
|
3253
4065
|
dataType: "string"
|
|
3254
4066
|
},
|
|
3255
|
-
{
|
|
3256
|
-
value: response.headers.get("opc-work-request-id"),
|
|
3257
|
-
key: "opcWorkRequestId",
|
|
3258
|
-
dataType: "string"
|
|
3259
|
-
},
|
|
3260
4067
|
{
|
|
3261
4068
|
value: response.headers.get("opc-request-id"),
|
|
3262
4069
|
key: "opcRequestId",
|
|
@@ -3396,12 +4203,12 @@ class MediaStreamClient {
|
|
|
3396
4203
|
}
|
|
3397
4204
|
}
|
|
3398
4205
|
/**
|
|
3399
|
-
* Gets the playlist content for the specified Packaging Configuration and Media Asset combination.
|
|
4206
|
+
* Gets the playlist content for the specified Packaging Configuration and Media Asset combination. This API call is made using the MediaStreamsClient, which requires the endpoint to be set with the value of the distribution channel domain name (for example, https://example_channel.dc.mediaservices.example_region.oci.oraclecloud.com) to generate a session token or playlist for a media asset registered in this distribution channel.
|
|
3400
4207
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3401
4208
|
* @param GeneratePlaylistRequest
|
|
3402
4209
|
* @return GeneratePlaylistResponse
|
|
3403
4210
|
* @throws OciError when an error occurs
|
|
3404
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4211
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/GeneratePlaylist.ts.html |here} to see how to use GeneratePlaylist API.
|
|
3405
4212
|
*/
|
|
3406
4213
|
generatePlaylist(generatePlaylistRequest) {
|
|
3407
4214
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3460,12 +4267,12 @@ class MediaStreamClient {
|
|
|
3460
4267
|
});
|
|
3461
4268
|
}
|
|
3462
4269
|
/**
|
|
3463
|
-
* Generate a new streaming session token.
|
|
4270
|
+
* Generate a new streaming session token. This API call is made using the MediaStreamsClient, which requires the endpoint to be set with the value of the distribution channel domain name (for example, https://example_channel.dc.mediaservices.example_region.oci.oraclecloud.com) to generate a session token or playlist for a media asset registered in this distribution channel.
|
|
3464
4271
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3465
4272
|
* @param GenerateSessionTokenRequest
|
|
3466
4273
|
* @return GenerateSessionTokenResponse
|
|
3467
4274
|
* @throws OciError when an error occurs
|
|
3468
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4275
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/mediaservices/GenerateSessionToken.ts.html |here} to see how to use GenerateSessionToken API.
|
|
3469
4276
|
*/
|
|
3470
4277
|
generateSessionToken(generateSessionTokenRequest) {
|
|
3471
4278
|
return __awaiter(this, void 0, void 0, function* () {
|