Interface MediaServicesAsync
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
MediaServicesAsyncClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20211101") public interface MediaServicesAsync extends AutoCloseable
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).
-
-
Method Summary
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint
- The endpoint of the serice.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpoint
after resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.- Parameters:
region
- The region of the service.
-
setRegion
void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion
.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)
and then callsetEndpoint
.- Parameters:
regionId
- The public region ID.
-
useRealmSpecificEndpointTemplate
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
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”
- Parameters:
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint template
-
addMediaAssetLock
Future<AddMediaAssetLockResponse> addMediaAssetLock(AddMediaAssetLockRequest request, AsyncHandler<AddMediaAssetLockRequest,AddMediaAssetLockResponse> handler)
Add a lock to an MediaAsset.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addMediaWorkflowConfigurationLock
Future<AddMediaWorkflowConfigurationLockResponse> addMediaWorkflowConfigurationLock(AddMediaWorkflowConfigurationLockRequest request, AsyncHandler<AddMediaWorkflowConfigurationLockRequest,AddMediaWorkflowConfigurationLockResponse> handler)
Add a lock to a MediaWorkflowConfiguration.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addMediaWorkflowJobLock
Future<AddMediaWorkflowJobLockResponse> addMediaWorkflowJobLock(AddMediaWorkflowJobLockRequest request, AsyncHandler<AddMediaWorkflowJobLockRequest,AddMediaWorkflowJobLockResponse> handler)
Add a lock to a MediaWorkflowJob.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addMediaWorkflowLock
Future<AddMediaWorkflowLockResponse> addMediaWorkflowLock(AddMediaWorkflowLockRequest request, AsyncHandler<AddMediaWorkflowLockRequest,AddMediaWorkflowLockResponse> handler)
Add a lock to a MediaWorkflow.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addStreamCdnConfigLock
Future<AddStreamCdnConfigLockResponse> addStreamCdnConfigLock(AddStreamCdnConfigLockRequest request, AsyncHandler<AddStreamCdnConfigLockRequest,AddStreamCdnConfigLockResponse> handler)
Add a lock to a StreamCdnConfig.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addStreamDistributionChannelLock
Future<AddStreamDistributionChannelLockResponse> addStreamDistributionChannelLock(AddStreamDistributionChannelLockRequest request, AsyncHandler<AddStreamDistributionChannelLockRequest,AddStreamDistributionChannelLockResponse> handler)
Add a lock to a StreamDistributionChannel.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addStreamPackagingConfigLock
Future<AddStreamPackagingConfigLockResponse> addStreamPackagingConfigLock(AddStreamPackagingConfigLockRequest request, AsyncHandler<AddStreamPackagingConfigLockRequest,AddStreamPackagingConfigLockResponse> handler)
Add a lock to a StreamPackagingConfig.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeMediaAssetCompartment
Future<ChangeMediaAssetCompartmentResponse> changeMediaAssetCompartment(ChangeMediaAssetCompartmentRequest request, AsyncHandler<ChangeMediaAssetCompartmentRequest,ChangeMediaAssetCompartmentResponse> handler)
Moves a MediaAsset resource from one compartment identifier to another.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeMediaWorkflowCompartment
Future<ChangeMediaWorkflowCompartmentResponse> changeMediaWorkflowCompartment(ChangeMediaWorkflowCompartmentRequest request, AsyncHandler<ChangeMediaWorkflowCompartmentRequest,ChangeMediaWorkflowCompartmentResponse> handler)
Moves a MediaWorkflow resource from one compartment identifier to another.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeMediaWorkflowConfigurationCompartment
Future<ChangeMediaWorkflowConfigurationCompartmentResponse> changeMediaWorkflowConfigurationCompartment(ChangeMediaWorkflowConfigurationCompartmentRequest request, AsyncHandler<ChangeMediaWorkflowConfigurationCompartmentRequest,ChangeMediaWorkflowConfigurationCompartmentResponse> handler)
Moves a MediaWorkflowConfiguration resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeMediaWorkflowJobCompartment
Future<ChangeMediaWorkflowJobCompartmentResponse> changeMediaWorkflowJobCompartment(ChangeMediaWorkflowJobCompartmentRequest request, AsyncHandler<ChangeMediaWorkflowJobCompartmentRequest,ChangeMediaWorkflowJobCompartmentResponse> handler)
Moves a MediaWorkflowJob resource from one compartment identifier to another.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeStreamDistributionChannelCompartment
Future<ChangeStreamDistributionChannelCompartmentResponse> changeStreamDistributionChannelCompartment(ChangeStreamDistributionChannelCompartmentRequest request, AsyncHandler<ChangeStreamDistributionChannelCompartmentRequest,ChangeStreamDistributionChannelCompartmentResponse> handler)
Moves a Stream Distribution Channel resource from one compartment identifier to another.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createMediaAsset
Future<CreateMediaAssetResponse> createMediaAsset(CreateMediaAssetRequest request, AsyncHandler<CreateMediaAssetRequest,CreateMediaAssetResponse> handler)
Creates a new MediaAsset.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createMediaWorkflow
Future<CreateMediaWorkflowResponse> createMediaWorkflow(CreateMediaWorkflowRequest request, AsyncHandler<CreateMediaWorkflowRequest,CreateMediaWorkflowResponse> handler)
Creates a new MediaWorkflow.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createMediaWorkflowConfiguration
Future<CreateMediaWorkflowConfigurationResponse> createMediaWorkflowConfiguration(CreateMediaWorkflowConfigurationRequest request, AsyncHandler<CreateMediaWorkflowConfigurationRequest,CreateMediaWorkflowConfigurationResponse> handler)
Creates a new MediaWorkflowConfiguration.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createMediaWorkflowJob
Future<CreateMediaWorkflowJobResponse> createMediaWorkflowJob(CreateMediaWorkflowJobRequest request, AsyncHandler<CreateMediaWorkflowJobRequest,CreateMediaWorkflowJobResponse> handler)
Run the MediaWorkflow according to the given mediaWorkflow definition and configuration.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createStreamCdnConfig
Future<CreateStreamCdnConfigResponse> createStreamCdnConfig(CreateStreamCdnConfigRequest request, AsyncHandler<CreateStreamCdnConfigRequest,CreateStreamCdnConfigResponse> handler)
Creates a new CDN Configuration.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createStreamDistributionChannel
Future<CreateStreamDistributionChannelResponse> createStreamDistributionChannel(CreateStreamDistributionChannelRequest request, AsyncHandler<CreateStreamDistributionChannelRequest,CreateStreamDistributionChannelResponse> handler)
Creates a new Stream Distribution Channel.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createStreamPackagingConfig
Future<CreateStreamPackagingConfigResponse> createStreamPackagingConfig(CreateStreamPackagingConfigRequest request, AsyncHandler<CreateStreamPackagingConfigRequest,CreateStreamPackagingConfigResponse> handler)
Creates a new Packaging Configuration.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMediaAsset
Future<DeleteMediaAssetResponse> deleteMediaAsset(DeleteMediaAssetRequest request, AsyncHandler<DeleteMediaAssetRequest,DeleteMediaAssetResponse> handler)
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.
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMediaAssetDistributionChannelAttachment
Future<DeleteMediaAssetDistributionChannelAttachmentResponse> deleteMediaAssetDistributionChannelAttachment(DeleteMediaAssetDistributionChannelAttachmentRequest request, AsyncHandler<DeleteMediaAssetDistributionChannelAttachmentRequest,DeleteMediaAssetDistributionChannelAttachmentResponse> handler)
Deletes a MediaAsset from the DistributionChannel by identifiers.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMediaWorkflow
Future<DeleteMediaWorkflowResponse> deleteMediaWorkflow(DeleteMediaWorkflowRequest request, AsyncHandler<DeleteMediaWorkflowRequest,DeleteMediaWorkflowResponse> handler)
The MediaWorkflow lifecycleState will change to DELETED.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMediaWorkflowConfiguration
Future<DeleteMediaWorkflowConfigurationResponse> deleteMediaWorkflowConfiguration(DeleteMediaWorkflowConfigurationRequest request, AsyncHandler<DeleteMediaWorkflowConfigurationRequest,DeleteMediaWorkflowConfigurationResponse> handler)
Deletes a MediaWorkflowConfiguration resource by identifier.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMediaWorkflowJob
Future<DeleteMediaWorkflowJobResponse> deleteMediaWorkflowJob(DeleteMediaWorkflowJobRequest request, AsyncHandler<DeleteMediaWorkflowJobRequest,DeleteMediaWorkflowJobResponse> handler)
This is an asynchronous operation.The MediaWorkflowJob lifecycleState will change to CANCELING temporarily until the job is completely CANCELED.
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteStreamCdnConfig
Future<DeleteStreamCdnConfigResponse> deleteStreamCdnConfig(DeleteStreamCdnConfigRequest request, AsyncHandler<DeleteStreamCdnConfigRequest,DeleteStreamCdnConfigResponse> handler)
The StreamCdnConfig lifecycleState will change to DELETED.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteStreamDistributionChannel
Future<DeleteStreamDistributionChannelResponse> deleteStreamDistributionChannel(DeleteStreamDistributionChannelRequest request, AsyncHandler<DeleteStreamDistributionChannelRequest,DeleteStreamDistributionChannelResponse> handler)
The Stream Distribution Channel lifecycleState will change to DELETED.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteStreamPackagingConfig
Future<DeleteStreamPackagingConfigResponse> deleteStreamPackagingConfig(DeleteStreamPackagingConfigRequest request, AsyncHandler<DeleteStreamPackagingConfigRequest,DeleteStreamPackagingConfigResponse> handler)
The Stream Packaging Configuration lifecycleState will change to DELETED.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMediaAsset
Future<GetMediaAssetResponse> getMediaAsset(GetMediaAssetRequest request, AsyncHandler<GetMediaAssetRequest,GetMediaAssetResponse> handler)
Gets a MediaAsset by identifier.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMediaAssetDistributionChannelAttachment
Future<GetMediaAssetDistributionChannelAttachmentResponse> getMediaAssetDistributionChannelAttachment(GetMediaAssetDistributionChannelAttachmentRequest request, AsyncHandler<GetMediaAssetDistributionChannelAttachmentRequest,GetMediaAssetDistributionChannelAttachmentResponse> handler)
Gets a MediaAssetDistributionChannelAttachment for a MediaAsset by identifiers.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMediaWorkflow
Future<GetMediaWorkflowResponse> getMediaWorkflow(GetMediaWorkflowRequest request, AsyncHandler<GetMediaWorkflowRequest,GetMediaWorkflowResponse> handler)
Gets a MediaWorkflow by identifier.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMediaWorkflowConfiguration
Future<GetMediaWorkflowConfigurationResponse> getMediaWorkflowConfiguration(GetMediaWorkflowConfigurationRequest request, AsyncHandler<GetMediaWorkflowConfigurationRequest,GetMediaWorkflowConfigurationResponse> handler)
Gets a MediaWorkflowConfiguration by identifier- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMediaWorkflowJob
Future<GetMediaWorkflowJobResponse> getMediaWorkflowJob(GetMediaWorkflowJobRequest request, AsyncHandler<GetMediaWorkflowJobRequest,GetMediaWorkflowJobResponse> handler)
Gets the MediaWorkflowJob.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getStreamCdnConfig
Future<GetStreamCdnConfigResponse> getStreamCdnConfig(GetStreamCdnConfigRequest request, AsyncHandler<GetStreamCdnConfigRequest,GetStreamCdnConfigResponse> handler)
Gets a StreamCdnConfig by identifier.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getStreamDistributionChannel
Future<GetStreamDistributionChannelResponse> getStreamDistributionChannel(GetStreamDistributionChannelRequest request, AsyncHandler<GetStreamDistributionChannelRequest,GetStreamDistributionChannelResponse> handler)
Gets a Stream Distribution Channel by identifier.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getStreamPackagingConfig
Future<GetStreamPackagingConfigResponse> getStreamPackagingConfig(GetStreamPackagingConfigRequest request, AsyncHandler<GetStreamPackagingConfigRequest,GetStreamPackagingConfigResponse> handler)
Gets a Stream Packaging Configuration by identifier.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
ingestStreamDistributionChannel
Future<IngestStreamDistributionChannelResponse> ingestStreamDistributionChannel(IngestStreamDistributionChannelRequest request, AsyncHandler<IngestStreamDistributionChannelRequest,IngestStreamDistributionChannelResponse> handler)
Ingests an Asset into a Distribution Channel.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMediaAssetDistributionChannelAttachments
Future<ListMediaAssetDistributionChannelAttachmentsResponse> listMediaAssetDistributionChannelAttachments(ListMediaAssetDistributionChannelAttachmentsRequest request, AsyncHandler<ListMediaAssetDistributionChannelAttachmentsRequest,ListMediaAssetDistributionChannelAttachmentsResponse> handler)
Lists the MediaAssetDistributionChannelAttachments for a MediaAsset by identifier.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMediaAssets
Future<ListMediaAssetsResponse> listMediaAssets(ListMediaAssetsRequest request, AsyncHandler<ListMediaAssetsRequest,ListMediaAssetsResponse> handler)
Returns a list of MediaAssetSummary.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMediaWorkflowConfigurations
Future<ListMediaWorkflowConfigurationsResponse> listMediaWorkflowConfigurations(ListMediaWorkflowConfigurationsRequest request, AsyncHandler<ListMediaWorkflowConfigurationsRequest,ListMediaWorkflowConfigurationsResponse> handler)
Returns a list of MediaWorkflowConfigurations.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMediaWorkflowJobs
Future<ListMediaWorkflowJobsResponse> listMediaWorkflowJobs(ListMediaWorkflowJobsRequest request, AsyncHandler<ListMediaWorkflowJobsRequest,ListMediaWorkflowJobsResponse> handler)
Lists the MediaWorkflowJobs.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMediaWorkflowTaskDeclarations
Future<ListMediaWorkflowTaskDeclarationsResponse> listMediaWorkflowTaskDeclarations(ListMediaWorkflowTaskDeclarationsRequest request, AsyncHandler<ListMediaWorkflowTaskDeclarationsRequest,ListMediaWorkflowTaskDeclarationsResponse> handler)
Returns a list of MediaWorkflowTaskDeclarations.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMediaWorkflows
Future<ListMediaWorkflowsResponse> listMediaWorkflows(ListMediaWorkflowsRequest request, AsyncHandler<ListMediaWorkflowsRequest,ListMediaWorkflowsResponse> handler)
Lists the MediaWorkflows.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listStreamCdnConfigs
Future<ListStreamCdnConfigsResponse> listStreamCdnConfigs(ListStreamCdnConfigsRequest request, AsyncHandler<ListStreamCdnConfigsRequest,ListStreamCdnConfigsResponse> handler)
Lists the StreamCdnConfig.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listStreamDistributionChannels
Future<ListStreamDistributionChannelsResponse> listStreamDistributionChannels(ListStreamDistributionChannelsRequest request, AsyncHandler<ListStreamDistributionChannelsRequest,ListStreamDistributionChannelsResponse> handler)
Lists the Stream Distribution Channels.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listStreamPackagingConfigs
Future<ListStreamPackagingConfigsResponse> listStreamPackagingConfigs(ListStreamPackagingConfigsRequest request, AsyncHandler<ListStreamPackagingConfigsRequest,ListStreamPackagingConfigsResponse> handler)
Lists the Stream Packaging Configurations.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSystemMediaWorkflows
Future<ListSystemMediaWorkflowsResponse> listSystemMediaWorkflows(ListSystemMediaWorkflowsRequest request, AsyncHandler<ListSystemMediaWorkflowsRequest,ListSystemMediaWorkflowsResponse> handler)
Lists the SystemMediaWorkflows that can be used to run a job by name or as a template to create a MediaWorkflow.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeMediaAssetLock
Future<RemoveMediaAssetLockResponse> removeMediaAssetLock(RemoveMediaAssetLockRequest request, AsyncHandler<RemoveMediaAssetLockRequest,RemoveMediaAssetLockResponse> handler)
Remove a lock to an MediaAsset.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeMediaWorkflowConfigurationLock
Future<RemoveMediaWorkflowConfigurationLockResponse> removeMediaWorkflowConfigurationLock(RemoveMediaWorkflowConfigurationLockRequest request, AsyncHandler<RemoveMediaWorkflowConfigurationLockRequest,RemoveMediaWorkflowConfigurationLockResponse> handler)
Remove a lock from a MediaWorkflowConfiguration.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeMediaWorkflowJobLock
Future<RemoveMediaWorkflowJobLockResponse> removeMediaWorkflowJobLock(RemoveMediaWorkflowJobLockRequest request, AsyncHandler<RemoveMediaWorkflowJobLockRequest,RemoveMediaWorkflowJobLockResponse> handler)
Remove a lock from a MediaWorkflowJob.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeMediaWorkflowLock
Future<RemoveMediaWorkflowLockResponse> removeMediaWorkflowLock(RemoveMediaWorkflowLockRequest request, AsyncHandler<RemoveMediaWorkflowLockRequest,RemoveMediaWorkflowLockResponse> handler)
Remove a lock from a MediaWorkflow.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeStreamCdnConfigLock
Future<RemoveStreamCdnConfigLockResponse> removeStreamCdnConfigLock(RemoveStreamCdnConfigLockRequest request, AsyncHandler<RemoveStreamCdnConfigLockRequest,RemoveStreamCdnConfigLockResponse> handler)
Remove a lock from a StreamCdnConfig.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeStreamDistributionChannelLock
Future<RemoveStreamDistributionChannelLockResponse> removeStreamDistributionChannelLock(RemoveStreamDistributionChannelLockRequest request, AsyncHandler<RemoveStreamDistributionChannelLockRequest,RemoveStreamDistributionChannelLockResponse> handler)
Remove a lock to a StreamDistributionChannel.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeStreamPackagingConfigLock
Future<RemoveStreamPackagingConfigLockResponse> removeStreamPackagingConfigLock(RemoveStreamPackagingConfigLockRequest request, AsyncHandler<RemoveStreamPackagingConfigLockRequest,RemoveStreamPackagingConfigLockResponse> handler)
Remove a lock from a StreamPackagingConfig.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMediaAsset
Future<UpdateMediaAssetResponse> updateMediaAsset(UpdateMediaAssetRequest request, AsyncHandler<UpdateMediaAssetRequest,UpdateMediaAssetResponse> handler)
Updates the MediaAsset.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMediaWorkflow
Future<UpdateMediaWorkflowResponse> updateMediaWorkflow(UpdateMediaWorkflowRequest request, AsyncHandler<UpdateMediaWorkflowRequest,UpdateMediaWorkflowResponse> handler)
Updates the MediaWorkflow.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMediaWorkflowConfiguration
Future<UpdateMediaWorkflowConfigurationResponse> updateMediaWorkflowConfiguration(UpdateMediaWorkflowConfigurationRequest request, AsyncHandler<UpdateMediaWorkflowConfigurationRequest,UpdateMediaWorkflowConfigurationResponse> handler)
Updates the MediaWorkflowConfiguration.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMediaWorkflowJob
Future<UpdateMediaWorkflowJobResponse> updateMediaWorkflowJob(UpdateMediaWorkflowJobRequest request, AsyncHandler<UpdateMediaWorkflowJobRequest,UpdateMediaWorkflowJobResponse> handler)
Updates the MediaWorkflowJob.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateStreamCdnConfig
Future<UpdateStreamCdnConfigResponse> updateStreamCdnConfig(UpdateStreamCdnConfigRequest request, AsyncHandler<UpdateStreamCdnConfigRequest,UpdateStreamCdnConfigResponse> handler)
Updates the StreamCdnConfig.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateStreamDistributionChannel
Future<UpdateStreamDistributionChannelResponse> updateStreamDistributionChannel(UpdateStreamDistributionChannelRequest request, AsyncHandler<UpdateStreamDistributionChannelRequest,UpdateStreamDistributionChannelResponse> handler)
Updates the Stream Distribution Channel.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateStreamPackagingConfig
Future<UpdateStreamPackagingConfigResponse> updateStreamPackagingConfig(UpdateStreamPackagingConfigRequest request, AsyncHandler<UpdateStreamPackagingConfigRequest,UpdateStreamPackagingConfigResponse> handler)
Updates the Stream Packaging Configuration.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
-