/** * Media Services API * Media Services (includes Media Flow and Media Streams) is a fully managed service for processing media (video) source content. Use Media Flow and Media Streams to transcode and package digital video using configurable workflows and stream video outputs. Use the Media Services API to configure media workflows and run Media Flow jobs, create distribution channels, ingest assets, create Preview URLs and play assets. For more information, see [Media Flow](https://docs.oracle.com/iaas/Content/dms-mediaflow/home.htm) and [Media Streams](https://docs.oracle.com/iaas/Content/dms-mediastream/home.htm). * OpenAPI spec version: 20211101 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import common = require("oci-common"); import * as requests from "./request"; import * as responses from "./response"; import { MediaServicesWaiter } from "./mediaservices-waiter"; declare const Breaker: any; export declare enum MediaServicesApiKeys { } /** * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. */ export declare class MediaServicesClient { protected static serviceEndpointTemplate: string; protected static endpointServiceName: string; protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined; protected "_endpoint": string; protected "_defaultHeaders": any; protected "_waiters": MediaServicesWaiter; protected "_clientConfiguration": common.ClientConfiguration; protected _circuitBreaker: typeof Breaker | null; protected _httpOptions: any; protected _bodyDuplexMode: any; targetService: string; protected _regionId: string; protected "_region": common.Region; protected _lastSetRegionOrRegionId: string; protected _httpClient: common.HttpClient; protected _authProvider: common.AuthenticationDetailsProvider | undefined; constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration); /** * Get the endpoint that is being used to call (ex, https://www.example.com). */ get endpoint(): string; /** * Sets the endpoint to call (ex, https://www.example.com). * @param endpoint The endpoint of the service. */ set endpoint(endpoint: string); get logger(): import("oci-common/lib/log").Logger; /** * Determines whether realm specific endpoint should be used or not. * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template */ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean); /** * Sets the region to call (ex, Region.US_PHOENIX_1). * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. * @param region The region of the service. */ set region(region: common.Region); /** * Sets the regionId to call (ex, 'us-phoenix-1'). * * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 * and then call {@link #endpoint(String) endpoint}. * @param regionId The public region ID. */ set regionId(regionId: string); /** * Creates a new MediaServicesWaiter for resources for this service. * * @param config The waiter configuration for termination and delay strategy * @return The service waiters. */ createWaiters(config?: common.WaiterConfiguration): MediaServicesWaiter; /** * Gets the waiters available for resources for this service. * * @return The service waiters. */ getWaiters(): MediaServicesWaiter; /** * Shutdown the circuit breaker used by the client when it is no longer needed */ shutdownCircuitBreaker(): void; /** * Close the provider if possible which in turn shuts down any associated circuit breaker */ closeProvider(): void; /** * Close the client once it is no longer needed */ close(): void; /** * Add a lock to an MediaAsset. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param AddMediaAssetLockRequest * @return AddMediaAssetLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/AddMediaAssetLock.ts.html |here} to see how to use AddMediaAssetLock API. */ addMediaAssetLock(addMediaAssetLockRequest: requests.AddMediaAssetLockRequest): Promise; /** * Add a lock to a MediaWorkflowConfiguration. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param AddMediaWorkflowConfigurationLockRequest * @return AddMediaWorkflowConfigurationLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/AddMediaWorkflowConfigurationLock.ts.html |here} to see how to use AddMediaWorkflowConfigurationLock API. */ addMediaWorkflowConfigurationLock(addMediaWorkflowConfigurationLockRequest: requests.AddMediaWorkflowConfigurationLockRequest): Promise; /** * Add a lock to a MediaWorkflowJob. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param AddMediaWorkflowJobLockRequest * @return AddMediaWorkflowJobLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/AddMediaWorkflowJobLock.ts.html |here} to see how to use AddMediaWorkflowJobLock API. */ addMediaWorkflowJobLock(addMediaWorkflowJobLockRequest: requests.AddMediaWorkflowJobLockRequest): Promise; /** * Add a lock to a MediaWorkflow. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param AddMediaWorkflowLockRequest * @return AddMediaWorkflowLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/AddMediaWorkflowLock.ts.html |here} to see how to use AddMediaWorkflowLock API. */ addMediaWorkflowLock(addMediaWorkflowLockRequest: requests.AddMediaWorkflowLockRequest): Promise; /** * Add a lock to a StreamCdnConfig. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param AddStreamCdnConfigLockRequest * @return AddStreamCdnConfigLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/AddStreamCdnConfigLock.ts.html |here} to see how to use AddStreamCdnConfigLock API. */ addStreamCdnConfigLock(addStreamCdnConfigLockRequest: requests.AddStreamCdnConfigLockRequest): Promise; /** * Add a lock to a StreamDistributionChannel. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param AddStreamDistributionChannelLockRequest * @return AddStreamDistributionChannelLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/AddStreamDistributionChannelLock.ts.html |here} to see how to use AddStreamDistributionChannelLock API. */ addStreamDistributionChannelLock(addStreamDistributionChannelLockRequest: requests.AddStreamDistributionChannelLockRequest): Promise; /** * Add a lock to a StreamPackagingConfig. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param AddStreamPackagingConfigLockRequest * @return AddStreamPackagingConfigLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/AddStreamPackagingConfigLock.ts.html |here} to see how to use AddStreamPackagingConfigLock API. */ addStreamPackagingConfigLock(addStreamPackagingConfigLockRequest: requests.AddStreamPackagingConfigLockRequest): Promise; /** * Moves a MediaAsset resource from one compartment identifier to another. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ChangeMediaAssetCompartmentRequest * @return ChangeMediaAssetCompartmentResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ChangeMediaAssetCompartment.ts.html |here} to see how to use ChangeMediaAssetCompartment API. */ changeMediaAssetCompartment(changeMediaAssetCompartmentRequest: requests.ChangeMediaAssetCompartmentRequest): Promise; /** * Moves a MediaWorkflow resource from one compartment identifier to another. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ChangeMediaWorkflowCompartmentRequest * @return ChangeMediaWorkflowCompartmentResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ChangeMediaWorkflowCompartment.ts.html |here} to see how to use ChangeMediaWorkflowCompartment API. */ changeMediaWorkflowCompartment(changeMediaWorkflowCompartmentRequest: requests.ChangeMediaWorkflowCompartmentRequest): Promise; /** * Moves a MediaWorkflowConfiguration resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ChangeMediaWorkflowConfigurationCompartmentRequest * @return ChangeMediaWorkflowConfigurationCompartmentResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ChangeMediaWorkflowConfigurationCompartment.ts.html |here} to see how to use ChangeMediaWorkflowConfigurationCompartment API. */ changeMediaWorkflowConfigurationCompartment(changeMediaWorkflowConfigurationCompartmentRequest: requests.ChangeMediaWorkflowConfigurationCompartmentRequest): Promise; /** * Moves a MediaWorkflowJob resource from one compartment identifier to another. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ChangeMediaWorkflowJobCompartmentRequest * @return ChangeMediaWorkflowJobCompartmentResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ChangeMediaWorkflowJobCompartment.ts.html |here} to see how to use ChangeMediaWorkflowJobCompartment API. */ changeMediaWorkflowJobCompartment(changeMediaWorkflowJobCompartmentRequest: requests.ChangeMediaWorkflowJobCompartmentRequest): Promise; /** * Moves a Stream Distribution Channel resource from one compartment identifier to another. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ChangeStreamDistributionChannelCompartmentRequest * @return ChangeStreamDistributionChannelCompartmentResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ChangeStreamDistributionChannelCompartment.ts.html |here} to see how to use ChangeStreamDistributionChannelCompartment API. */ changeStreamDistributionChannelCompartment(changeStreamDistributionChannelCompartmentRequest: requests.ChangeStreamDistributionChannelCompartmentRequest): Promise; /** * Creates a new MediaAsset. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateMediaAssetRequest * @return CreateMediaAssetResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/CreateMediaAsset.ts.html |here} to see how to use CreateMediaAsset API. */ createMediaAsset(createMediaAssetRequest: requests.CreateMediaAssetRequest): Promise; /** * Creates a new MediaWorkflow. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateMediaWorkflowRequest * @return CreateMediaWorkflowResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/CreateMediaWorkflow.ts.html |here} to see how to use CreateMediaWorkflow API. */ createMediaWorkflow(createMediaWorkflowRequest: requests.CreateMediaWorkflowRequest): Promise; /** * Creates a new MediaWorkflowConfiguration. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateMediaWorkflowConfigurationRequest * @return CreateMediaWorkflowConfigurationResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/CreateMediaWorkflowConfiguration.ts.html |here} to see how to use CreateMediaWorkflowConfiguration API. */ createMediaWorkflowConfiguration(createMediaWorkflowConfigurationRequest: requests.CreateMediaWorkflowConfigurationRequest): Promise; /** * Run the MediaWorkflow according to the given mediaWorkflow definition and configuration. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateMediaWorkflowJobRequest * @return CreateMediaWorkflowJobResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/CreateMediaWorkflowJob.ts.html |here} to see how to use CreateMediaWorkflowJob API. */ createMediaWorkflowJob(createMediaWorkflowJobRequest: requests.CreateMediaWorkflowJobRequest): Promise; /** * Creates a new CDN Configuration. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateStreamCdnConfigRequest * @return CreateStreamCdnConfigResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/CreateStreamCdnConfig.ts.html |here} to see how to use CreateStreamCdnConfig API. */ createStreamCdnConfig(createStreamCdnConfigRequest: requests.CreateStreamCdnConfigRequest): Promise; /** * Creates a new Stream Distribution Channel. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateStreamDistributionChannelRequest * @return CreateStreamDistributionChannelResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/CreateStreamDistributionChannel.ts.html |here} to see how to use CreateStreamDistributionChannel API. */ createStreamDistributionChannel(createStreamDistributionChannelRequest: requests.CreateStreamDistributionChannelRequest): Promise; /** * Creates a new Packaging Configuration. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateStreamPackagingConfigRequest * @return CreateStreamPackagingConfigResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/CreateStreamPackagingConfig.ts.html |here} to see how to use CreateStreamPackagingConfig API. */ createStreamPackagingConfig(createStreamPackagingConfigRequest: requests.CreateStreamPackagingConfigRequest): Promise; /** * 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. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteMediaAssetRequest * @return DeleteMediaAssetResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/DeleteMediaAsset.ts.html |here} to see how to use DeleteMediaAsset API. */ deleteMediaAsset(deleteMediaAssetRequest: requests.DeleteMediaAssetRequest): Promise; /** * Deletes a MediaAsset from the DistributionChannel by identifiers. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteMediaAssetDistributionChannelAttachmentRequest * @return DeleteMediaAssetDistributionChannelAttachmentResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/DeleteMediaAssetDistributionChannelAttachment.ts.html |here} to see how to use DeleteMediaAssetDistributionChannelAttachment API. */ deleteMediaAssetDistributionChannelAttachment(deleteMediaAssetDistributionChannelAttachmentRequest: requests.DeleteMediaAssetDistributionChannelAttachmentRequest): Promise; /** * The MediaWorkflow lifecycleState will change to DELETED. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteMediaWorkflowRequest * @return DeleteMediaWorkflowResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/DeleteMediaWorkflow.ts.html |here} to see how to use DeleteMediaWorkflow API. */ deleteMediaWorkflow(deleteMediaWorkflowRequest: requests.DeleteMediaWorkflowRequest): Promise; /** * Deletes a MediaWorkflowConfiguration resource by identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteMediaWorkflowConfigurationRequest * @return DeleteMediaWorkflowConfigurationResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/DeleteMediaWorkflowConfiguration.ts.html |here} to see how to use DeleteMediaWorkflowConfiguration API. */ deleteMediaWorkflowConfiguration(deleteMediaWorkflowConfigurationRequest: requests.DeleteMediaWorkflowConfigurationRequest): Promise; /** * This is an asynchronous operation. The MediaWorkflowJob lifecycleState will change to CANCELING temporarily until the job is completely CANCELED. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteMediaWorkflowJobRequest * @return DeleteMediaWorkflowJobResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/DeleteMediaWorkflowJob.ts.html |here} to see how to use DeleteMediaWorkflowJob API. */ deleteMediaWorkflowJob(deleteMediaWorkflowJobRequest: requests.DeleteMediaWorkflowJobRequest): Promise; /** * The StreamCdnConfig lifecycleState will change to DELETED. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteStreamCdnConfigRequest * @return DeleteStreamCdnConfigResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/DeleteStreamCdnConfig.ts.html |here} to see how to use DeleteStreamCdnConfig API. */ deleteStreamCdnConfig(deleteStreamCdnConfigRequest: requests.DeleteStreamCdnConfigRequest): Promise; /** * The Stream Distribution Channel lifecycleState will change to DELETED. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteStreamDistributionChannelRequest * @return DeleteStreamDistributionChannelResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/DeleteStreamDistributionChannel.ts.html |here} to see how to use DeleteStreamDistributionChannel API. */ deleteStreamDistributionChannel(deleteStreamDistributionChannelRequest: requests.DeleteStreamDistributionChannelRequest): Promise; /** * The Stream Packaging Configuration lifecycleState will change to DELETED. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteStreamPackagingConfigRequest * @return DeleteStreamPackagingConfigResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/DeleteStreamPackagingConfig.ts.html |here} to see how to use DeleteStreamPackagingConfig API. */ deleteStreamPackagingConfig(deleteStreamPackagingConfigRequest: requests.DeleteStreamPackagingConfigRequest): Promise; /** * Gets a MediaAsset by identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetMediaAssetRequest * @return GetMediaAssetResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/GetMediaAsset.ts.html |here} to see how to use GetMediaAsset API. */ getMediaAsset(getMediaAssetRequest: requests.GetMediaAssetRequest): Promise; /** * Gets a MediaAssetDistributionChannelAttachment for a MediaAsset by identifiers. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetMediaAssetDistributionChannelAttachmentRequest * @return GetMediaAssetDistributionChannelAttachmentResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/GetMediaAssetDistributionChannelAttachment.ts.html |here} to see how to use GetMediaAssetDistributionChannelAttachment API. */ getMediaAssetDistributionChannelAttachment(getMediaAssetDistributionChannelAttachmentRequest: requests.GetMediaAssetDistributionChannelAttachmentRequest): Promise; /** * Gets a MediaWorkflow by identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetMediaWorkflowRequest * @return GetMediaWorkflowResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/GetMediaWorkflow.ts.html |here} to see how to use GetMediaWorkflow API. */ getMediaWorkflow(getMediaWorkflowRequest: requests.GetMediaWorkflowRequest): Promise; /** * Gets a MediaWorkflowConfiguration by identifier * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetMediaWorkflowConfigurationRequest * @return GetMediaWorkflowConfigurationResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/GetMediaWorkflowConfiguration.ts.html |here} to see how to use GetMediaWorkflowConfiguration API. */ getMediaWorkflowConfiguration(getMediaWorkflowConfigurationRequest: requests.GetMediaWorkflowConfigurationRequest): Promise; /** * Gets the MediaWorkflowJob. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetMediaWorkflowJobRequest * @return GetMediaWorkflowJobResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/GetMediaWorkflowJob.ts.html |here} to see how to use GetMediaWorkflowJob API. */ getMediaWorkflowJob(getMediaWorkflowJobRequest: requests.GetMediaWorkflowJobRequest): Promise; /** * Gets a StreamCdnConfig by identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetStreamCdnConfigRequest * @return GetStreamCdnConfigResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/GetStreamCdnConfig.ts.html |here} to see how to use GetStreamCdnConfig API. */ getStreamCdnConfig(getStreamCdnConfigRequest: requests.GetStreamCdnConfigRequest): Promise; /** * Gets a Stream Distribution Channel by identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetStreamDistributionChannelRequest * @return GetStreamDistributionChannelResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/GetStreamDistributionChannel.ts.html |here} to see how to use GetStreamDistributionChannel API. */ getStreamDistributionChannel(getStreamDistributionChannelRequest: requests.GetStreamDistributionChannelRequest): Promise; /** * Gets a Stream Packaging Configuration by identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetStreamPackagingConfigRequest * @return GetStreamPackagingConfigResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/GetStreamPackagingConfig.ts.html |here} to see how to use GetStreamPackagingConfig API. */ getStreamPackagingConfig(getStreamPackagingConfigRequest: requests.GetStreamPackagingConfigRequest): Promise; /** * Ingests an Asset into a Distribution Channel. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param IngestStreamDistributionChannelRequest * @return IngestStreamDistributionChannelResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/IngestStreamDistributionChannel.ts.html |here} to see how to use IngestStreamDistributionChannel API. */ ingestStreamDistributionChannel(ingestStreamDistributionChannelRequest: requests.IngestStreamDistributionChannelRequest): Promise; /** * Lists the MediaAssetDistributionChannelAttachments for a MediaAsset by identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListMediaAssetDistributionChannelAttachmentsRequest * @return ListMediaAssetDistributionChannelAttachmentsResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ListMediaAssetDistributionChannelAttachments.ts.html |here} to see how to use ListMediaAssetDistributionChannelAttachments API. */ listMediaAssetDistributionChannelAttachments(listMediaAssetDistributionChannelAttachmentsRequest: requests.ListMediaAssetDistributionChannelAttachmentsRequest): Promise; /** * Returns a list of MediaAssetSummary. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListMediaAssetsRequest * @return ListMediaAssetsResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ListMediaAssets.ts.html |here} to see how to use ListMediaAssets API. */ listMediaAssets(listMediaAssetsRequest: requests.ListMediaAssetsRequest): Promise; /** * Returns a list of MediaWorkflowConfigurations. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListMediaWorkflowConfigurationsRequest * @return ListMediaWorkflowConfigurationsResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ListMediaWorkflowConfigurations.ts.html |here} to see how to use ListMediaWorkflowConfigurations API. */ listMediaWorkflowConfigurations(listMediaWorkflowConfigurationsRequest: requests.ListMediaWorkflowConfigurationsRequest): Promise; /** * Lists the MediaWorkflowJobs. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListMediaWorkflowJobsRequest * @return ListMediaWorkflowJobsResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ListMediaWorkflowJobs.ts.html |here} to see how to use ListMediaWorkflowJobs API. */ listMediaWorkflowJobs(listMediaWorkflowJobsRequest: requests.ListMediaWorkflowJobsRequest): Promise; /** * Returns a list of MediaWorkflowTaskDeclarations. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListMediaWorkflowTaskDeclarationsRequest * @return ListMediaWorkflowTaskDeclarationsResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ListMediaWorkflowTaskDeclarations.ts.html |here} to see how to use ListMediaWorkflowTaskDeclarations API. */ listMediaWorkflowTaskDeclarations(listMediaWorkflowTaskDeclarationsRequest: requests.ListMediaWorkflowTaskDeclarationsRequest): Promise; /** * Lists the MediaWorkflows. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListMediaWorkflowsRequest * @return ListMediaWorkflowsResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ListMediaWorkflows.ts.html |here} to see how to use ListMediaWorkflows API. */ listMediaWorkflows(listMediaWorkflowsRequest: requests.ListMediaWorkflowsRequest): Promise; /** * Lists the StreamCdnConfig. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListStreamCdnConfigsRequest * @return ListStreamCdnConfigsResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ListStreamCdnConfigs.ts.html |here} to see how to use ListStreamCdnConfigs API. */ listStreamCdnConfigs(listStreamCdnConfigsRequest: requests.ListStreamCdnConfigsRequest): Promise; /** * Lists the Stream Distribution Channels. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListStreamDistributionChannelsRequest * @return ListStreamDistributionChannelsResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ListStreamDistributionChannels.ts.html |here} to see how to use ListStreamDistributionChannels API. */ listStreamDistributionChannels(listStreamDistributionChannelsRequest: requests.ListStreamDistributionChannelsRequest): Promise; /** * Lists the Stream Packaging Configurations. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListStreamPackagingConfigsRequest * @return ListStreamPackagingConfigsResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ListStreamPackagingConfigs.ts.html |here} to see how to use ListStreamPackagingConfigs API. */ listStreamPackagingConfigs(listStreamPackagingConfigsRequest: requests.ListStreamPackagingConfigsRequest): Promise; /** * Lists the SystemMediaWorkflows that can be used to run a job by name or as a template to create a MediaWorkflow. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListSystemMediaWorkflowsRequest * @return ListSystemMediaWorkflowsResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/ListSystemMediaWorkflows.ts.html |here} to see how to use ListSystemMediaWorkflows API. */ listSystemMediaWorkflows(listSystemMediaWorkflowsRequest: requests.ListSystemMediaWorkflowsRequest): Promise; /** * Remove a lock to an MediaAsset. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param RemoveMediaAssetLockRequest * @return RemoveMediaAssetLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/RemoveMediaAssetLock.ts.html |here} to see how to use RemoveMediaAssetLock API. */ removeMediaAssetLock(removeMediaAssetLockRequest: requests.RemoveMediaAssetLockRequest): Promise; /** * Remove a lock from a MediaWorkflowConfiguration. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param RemoveMediaWorkflowConfigurationLockRequest * @return RemoveMediaWorkflowConfigurationLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/RemoveMediaWorkflowConfigurationLock.ts.html |here} to see how to use RemoveMediaWorkflowConfigurationLock API. */ removeMediaWorkflowConfigurationLock(removeMediaWorkflowConfigurationLockRequest: requests.RemoveMediaWorkflowConfigurationLockRequest): Promise; /** * Remove a lock from a MediaWorkflowJob. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param RemoveMediaWorkflowJobLockRequest * @return RemoveMediaWorkflowJobLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/RemoveMediaWorkflowJobLock.ts.html |here} to see how to use RemoveMediaWorkflowJobLock API. */ removeMediaWorkflowJobLock(removeMediaWorkflowJobLockRequest: requests.RemoveMediaWorkflowJobLockRequest): Promise; /** * Remove a lock from a MediaWorkflow. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param RemoveMediaWorkflowLockRequest * @return RemoveMediaWorkflowLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/RemoveMediaWorkflowLock.ts.html |here} to see how to use RemoveMediaWorkflowLock API. */ removeMediaWorkflowLock(removeMediaWorkflowLockRequest: requests.RemoveMediaWorkflowLockRequest): Promise; /** * Remove a lock from a StreamCdnConfig. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param RemoveStreamCdnConfigLockRequest * @return RemoveStreamCdnConfigLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/RemoveStreamCdnConfigLock.ts.html |here} to see how to use RemoveStreamCdnConfigLock API. */ removeStreamCdnConfigLock(removeStreamCdnConfigLockRequest: requests.RemoveStreamCdnConfigLockRequest): Promise; /** * Remove a lock to a StreamDistributionChannel. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param RemoveStreamDistributionChannelLockRequest * @return RemoveStreamDistributionChannelLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/RemoveStreamDistributionChannelLock.ts.html |here} to see how to use RemoveStreamDistributionChannelLock API. */ removeStreamDistributionChannelLock(removeStreamDistributionChannelLockRequest: requests.RemoveStreamDistributionChannelLockRequest): Promise; /** * Remove a lock from a StreamPackagingConfig. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param RemoveStreamPackagingConfigLockRequest * @return RemoveStreamPackagingConfigLockResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/RemoveStreamPackagingConfigLock.ts.html |here} to see how to use RemoveStreamPackagingConfigLock API. */ removeStreamPackagingConfigLock(removeStreamPackagingConfigLockRequest: requests.RemoveStreamPackagingConfigLockRequest): Promise; /** * Updates the MediaAsset. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateMediaAssetRequest * @return UpdateMediaAssetResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/UpdateMediaAsset.ts.html |here} to see how to use UpdateMediaAsset API. */ updateMediaAsset(updateMediaAssetRequest: requests.UpdateMediaAssetRequest): Promise; /** * Updates the MediaWorkflow. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateMediaWorkflowRequest * @return UpdateMediaWorkflowResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/UpdateMediaWorkflow.ts.html |here} to see how to use UpdateMediaWorkflow API. */ updateMediaWorkflow(updateMediaWorkflowRequest: requests.UpdateMediaWorkflowRequest): Promise; /** * Updates the MediaWorkflowConfiguration. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateMediaWorkflowConfigurationRequest * @return UpdateMediaWorkflowConfigurationResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/UpdateMediaWorkflowConfiguration.ts.html |here} to see how to use UpdateMediaWorkflowConfiguration API. */ updateMediaWorkflowConfiguration(updateMediaWorkflowConfigurationRequest: requests.UpdateMediaWorkflowConfigurationRequest): Promise; /** * Updates the MediaWorkflowJob. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateMediaWorkflowJobRequest * @return UpdateMediaWorkflowJobResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/UpdateMediaWorkflowJob.ts.html |here} to see how to use UpdateMediaWorkflowJob API. */ updateMediaWorkflowJob(updateMediaWorkflowJobRequest: requests.UpdateMediaWorkflowJobRequest): Promise; /** * Updates the StreamCdnConfig. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateStreamCdnConfigRequest * @return UpdateStreamCdnConfigResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/UpdateStreamCdnConfig.ts.html |here} to see how to use UpdateStreamCdnConfig API. */ updateStreamCdnConfig(updateStreamCdnConfigRequest: requests.UpdateStreamCdnConfigRequest): Promise; /** * Updates the Stream Distribution Channel. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateStreamDistributionChannelRequest * @return UpdateStreamDistributionChannelResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/UpdateStreamDistributionChannel.ts.html |here} to see how to use UpdateStreamDistributionChannel API. */ updateStreamDistributionChannel(updateStreamDistributionChannelRequest: requests.UpdateStreamDistributionChannelRequest): Promise; /** * Updates the Stream Packaging Configuration. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateStreamPackagingConfigRequest * @return UpdateStreamPackagingConfigResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/UpdateStreamPackagingConfig.ts.html |here} to see how to use UpdateStreamPackagingConfig API. */ updateStreamPackagingConfig(updateStreamPackagingConfigRequest: requests.UpdateStreamPackagingConfigRequest): Promise; } export declare enum MediaStreamApiKeys { } /** * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. */ export declare class MediaStreamClient { protected static serviceEndpointTemplate: string; protected static endpointServiceName: string; protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined; protected "_endpoint": string; protected "_defaultHeaders": any; protected "_clientConfiguration": common.ClientConfiguration; protected _circuitBreaker: typeof Breaker | null; protected _httpOptions: any; protected _bodyDuplexMode: any; targetService: string; protected _regionId: string; protected "_region": common.Region; protected _lastSetRegionOrRegionId: string; protected _httpClient: common.HttpClient; protected _authProvider: common.AuthenticationDetailsProvider | undefined; constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration); /** * Get the endpoint that is being used to call (ex, https://www.example.com). */ get endpoint(): string; /** * Sets the endpoint to call (ex, https://www.example.com). * @param endpoint The endpoint of the service. */ set endpoint(endpoint: string); get logger(): import("oci-common/lib/log").Logger; /** * Determines whether realm specific endpoint should be used or not. * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template */ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean); /** * Sets the region to call (ex, Region.US_PHOENIX_1). * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. * @param region The region of the service. */ set region(region: common.Region); /** * Sets the regionId to call (ex, 'us-phoenix-1'). * * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 * and then call {@link #endpoint(String) endpoint}. * @param regionId The public region ID. */ set regionId(regionId: string); /** * Shutdown the circuit breaker used by the client when it is no longer needed */ shutdownCircuitBreaker(): void; /** * Close the provider if possible which in turn shuts down any associated circuit breaker */ closeProvider(): void; /** * Close the client once it is no longer needed */ close(): void; /** * 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. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GeneratePlaylistRequest * @return GeneratePlaylistResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/GeneratePlaylist.ts.html |here} to see how to use GeneratePlaylist API. */ generatePlaylist(generatePlaylistRequest: requests.GeneratePlaylistRequest): Promise; /** * 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. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GenerateSessionTokenRequest * @return GenerateSessionTokenResponse * @throws OciError when an error occurs * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mediaservices/GenerateSessionToken.ts.html |here} to see how to use GenerateSessionToken API. */ generateSessionToken(generateSessionTokenRequest: requests.GenerateSessionTokenRequest): Promise; } export {};