All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.mediapackagev2.AWSMediaPackageV2Async Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Elemental MediaPackage v2 module holds the client classes that are used for communicating with AWS Elemental MediaPackage v2 Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.mediapackagev2;

import javax.annotation.Generated;

import com.amazonaws.services.mediapackagev2.model.*;

/**
 * Interface for accessing mediapackagev2 asynchronously. Each asynchronous method will return a Java Future object
 * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
 * notification when an asynchronous operation completes.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.mediapackagev2.AbstractAWSMediaPackageV2Async} instead. *

*

* *

* This guide is intended for creating AWS Elemental MediaPackage resources in MediaPackage Version 2 (v2) starting from * May 2023. To get started with MediaPackage v2, create your MediaPackage resources. There isn't an automated process * to migrate your resources from MediaPackage v1 to MediaPackage v2. *

*

* The names of the entities that you use to access this API, like URLs and ARNs, all have the versioning information * added, like "v2", to distinguish from the prior version. If you used MediaPackage prior to this release, you can't * use the MediaPackage v2 CLI or the MediaPackage v2 API to access any MediaPackage v1 resources. *

*

* If you created resources in MediaPackage v1, use video on demand (VOD) workflows, and aren't looking to migrate to * MediaPackage v2 yet, see the MediaPackage v1 Live API * Reference. *

* *

* This is the AWS Elemental MediaPackage v2 Live REST API Reference. It describes all the MediaPackage API operations * for live content in detail, and provides sample requests, responses, and errors for the supported web services * protocols. *

*

* We assume that you have the IAM permissions that you need to use MediaPackage via the REST API. We also assume that * you are familiar with the features and operations of MediaPackage, as described in the AWS Elemental MediaPackage * User Guide. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSMediaPackageV2Async extends AWSMediaPackageV2 { /** *

* Create a channel to start receiving content streams. The channel represents the input to MediaPackage for * incoming live content from an encoder such as AWS Elemental MediaLive. The channel receives content, and after * packaging it, outputs it through an origin endpoint to downstream devices (such as video players or CDNs) that * request the content. You can create only one channel with each request. We recommend that you spread out channels * between channel groups, such as putting redundant channels in the same AWS Region in different channel groups. *

* * @param createChannelRequest * @return A Java Future containing the result of the CreateChannel operation returned by the service. * @sample AWSMediaPackageV2Async.CreateChannel * @see AWS * API Documentation */ java.util.concurrent.Future createChannelAsync(CreateChannelRequest createChannelRequest); /** *

* Create a channel to start receiving content streams. The channel represents the input to MediaPackage for * incoming live content from an encoder such as AWS Elemental MediaLive. The channel receives content, and after * packaging it, outputs it through an origin endpoint to downstream devices (such as video players or CDNs) that * request the content. You can create only one channel with each request. We recommend that you spread out channels * between channel groups, such as putting redundant channels in the same AWS Region in different channel groups. *

* * @param createChannelRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateChannel operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.CreateChannel * @see AWS * API Documentation */ java.util.concurrent.Future createChannelAsync(CreateChannelRequest createChannelRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Create a channel group to group your channels and origin endpoints. A channel group is the top-level resource * that consists of channels and origin endpoints that are associated with it and that provides predictable URLs for * stream delivery. All channels and origin endpoints within the channel group are guaranteed to share the DNS. You * can create only one channel group with each request. *

* * @param createChannelGroupRequest * @return A Java Future containing the result of the CreateChannelGroup operation returned by the service. * @sample AWSMediaPackageV2Async.CreateChannelGroup * @see AWS API Documentation */ java.util.concurrent.Future createChannelGroupAsync(CreateChannelGroupRequest createChannelGroupRequest); /** *

* Create a channel group to group your channels and origin endpoints. A channel group is the top-level resource * that consists of channels and origin endpoints that are associated with it and that provides predictable URLs for * stream delivery. All channels and origin endpoints within the channel group are guaranteed to share the DNS. You * can create only one channel group with each request. *

* * @param createChannelGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateChannelGroup operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.CreateChannelGroup * @see AWS API Documentation */ java.util.concurrent.Future createChannelGroupAsync(CreateChannelGroupRequest createChannelGroupRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* The endpoint is attached to a channel, and represents the output of the live content. You can associate multiple * endpoints to a single channel. Each endpoint gives players and downstream CDNs (such as Amazon CloudFront) access * to the content for playback. Content can't be served from a channel until it has an endpoint. You can create only * one endpoint with each request. *

* * @param createOriginEndpointRequest * @return A Java Future containing the result of the CreateOriginEndpoint operation returned by the service. * @sample AWSMediaPackageV2Async.CreateOriginEndpoint * @see AWS API Documentation */ java.util.concurrent.Future createOriginEndpointAsync(CreateOriginEndpointRequest createOriginEndpointRequest); /** *

* The endpoint is attached to a channel, and represents the output of the live content. You can associate multiple * endpoints to a single channel. Each endpoint gives players and downstream CDNs (such as Amazon CloudFront) access * to the content for playback. Content can't be served from a channel until it has an endpoint. You can create only * one endpoint with each request. *

* * @param createOriginEndpointRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateOriginEndpoint operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.CreateOriginEndpoint * @see AWS API Documentation */ java.util.concurrent.Future createOriginEndpointAsync(CreateOriginEndpointRequest createOriginEndpointRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Delete a channel to stop AWS Elemental MediaPackage from receiving further content. You must delete the channel's * origin endpoints before you can delete the channel. *

* * @param deleteChannelRequest * @return A Java Future containing the result of the DeleteChannel operation returned by the service. * @sample AWSMediaPackageV2Async.DeleteChannel * @see AWS * API Documentation */ java.util.concurrent.Future deleteChannelAsync(DeleteChannelRequest deleteChannelRequest); /** *

* Delete a channel to stop AWS Elemental MediaPackage from receiving further content. You must delete the channel's * origin endpoints before you can delete the channel. *

* * @param deleteChannelRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteChannel operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.DeleteChannel * @see AWS * API Documentation */ java.util.concurrent.Future deleteChannelAsync(DeleteChannelRequest deleteChannelRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Delete a channel group. You must delete the channel group's channels and origin endpoints before you can delete * the channel group. If you delete a channel group, you'll lose access to the egress domain and will have to create * a new channel group to replace it. *

* * @param deleteChannelGroupRequest * @return A Java Future containing the result of the DeleteChannelGroup operation returned by the service. * @sample AWSMediaPackageV2Async.DeleteChannelGroup * @see AWS API Documentation */ java.util.concurrent.Future deleteChannelGroupAsync(DeleteChannelGroupRequest deleteChannelGroupRequest); /** *

* Delete a channel group. You must delete the channel group's channels and origin endpoints before you can delete * the channel group. If you delete a channel group, you'll lose access to the egress domain and will have to create * a new channel group to replace it. *

* * @param deleteChannelGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteChannelGroup operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.DeleteChannelGroup * @see AWS API Documentation */ java.util.concurrent.Future deleteChannelGroupAsync(DeleteChannelGroupRequest deleteChannelGroupRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Delete a channel policy. *

* * @param deleteChannelPolicyRequest * @return A Java Future containing the result of the DeleteChannelPolicy operation returned by the service. * @sample AWSMediaPackageV2Async.DeleteChannelPolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteChannelPolicyAsync(DeleteChannelPolicyRequest deleteChannelPolicyRequest); /** *

* Delete a channel policy. *

* * @param deleteChannelPolicyRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteChannelPolicy operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.DeleteChannelPolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteChannelPolicyAsync(DeleteChannelPolicyRequest deleteChannelPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Origin endpoints can serve content until they're deleted. Delete the endpoint if it should no longer respond to * playback requests. You must delete all endpoints from a channel before you can delete the channel. *

* * @param deleteOriginEndpointRequest * @return A Java Future containing the result of the DeleteOriginEndpoint operation returned by the service. * @sample AWSMediaPackageV2Async.DeleteOriginEndpoint * @see AWS API Documentation */ java.util.concurrent.Future deleteOriginEndpointAsync(DeleteOriginEndpointRequest deleteOriginEndpointRequest); /** *

* Origin endpoints can serve content until they're deleted. Delete the endpoint if it should no longer respond to * playback requests. You must delete all endpoints from a channel before you can delete the channel. *

* * @param deleteOriginEndpointRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteOriginEndpoint operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.DeleteOriginEndpoint * @see AWS API Documentation */ java.util.concurrent.Future deleteOriginEndpointAsync(DeleteOriginEndpointRequest deleteOriginEndpointRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Delete an origin endpoint policy. *

* * @param deleteOriginEndpointPolicyRequest * @return A Java Future containing the result of the DeleteOriginEndpointPolicy operation returned by the service. * @sample AWSMediaPackageV2Async.DeleteOriginEndpointPolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteOriginEndpointPolicyAsync( DeleteOriginEndpointPolicyRequest deleteOriginEndpointPolicyRequest); /** *

* Delete an origin endpoint policy. *

* * @param deleteOriginEndpointPolicyRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteOriginEndpointPolicy operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.DeleteOriginEndpointPolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteOriginEndpointPolicyAsync( DeleteOriginEndpointPolicyRequest deleteOriginEndpointPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints * that are associated with it. *

* * @param getChannelRequest * @return A Java Future containing the result of the GetChannel operation returned by the service. * @sample AWSMediaPackageV2Async.GetChannel * @see AWS API * Documentation */ java.util.concurrent.Future getChannelAsync(GetChannelRequest getChannelRequest); /** *

* Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints * that are associated with it. *

* * @param getChannelRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetChannel operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.GetChannel * @see AWS API * Documentation */ java.util.concurrent.Future getChannelAsync(GetChannelRequest getChannelRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and * origin endpoints that are associated with it. *

* * @param getChannelGroupRequest * @return A Java Future containing the result of the GetChannelGroup operation returned by the service. * @sample AWSMediaPackageV2Async.GetChannelGroup * @see AWS * API Documentation */ java.util.concurrent.Future getChannelGroupAsync(GetChannelGroupRequest getChannelGroupRequest); /** *

* Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and * origin endpoints that are associated with it. *

* * @param getChannelGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetChannelGroup operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.GetChannelGroup * @see AWS * API Documentation */ java.util.concurrent.Future getChannelGroupAsync(GetChannelGroupRequest getChannelGroupRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage. With policies, you can * specify who has access to AWS resources and what actions they can perform on those resources. *

* * @param getChannelPolicyRequest * @return A Java Future containing the result of the GetChannelPolicy operation returned by the service. * @sample AWSMediaPackageV2Async.GetChannelPolicy * @see AWS API Documentation */ java.util.concurrent.Future getChannelPolicyAsync(GetChannelPolicyRequest getChannelPolicyRequest); /** *

* Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage. With policies, you can * specify who has access to AWS resources and what actions they can perform on those resources. *

* * @param getChannelPolicyRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetChannelPolicy operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.GetChannelPolicy * @see AWS API Documentation */ java.util.concurrent.Future getChannelPolicyAsync(GetChannelPolicyRequest getChannelPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the specified origin endpoint that's configured in AWS Elemental MediaPackage to obtain its playback * URL and to view the packaging settings that it's currently using. *

* * @param getOriginEndpointRequest * @return A Java Future containing the result of the GetOriginEndpoint operation returned by the service. * @sample AWSMediaPackageV2Async.GetOriginEndpoint * @see AWS API Documentation */ java.util.concurrent.Future getOriginEndpointAsync(GetOriginEndpointRequest getOriginEndpointRequest); /** *

* Retrieves the specified origin endpoint that's configured in AWS Elemental MediaPackage to obtain its playback * URL and to view the packaging settings that it's currently using. *

* * @param getOriginEndpointRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetOriginEndpoint operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.GetOriginEndpoint * @see AWS API Documentation */ java.util.concurrent.Future getOriginEndpointAsync(GetOriginEndpointRequest getOriginEndpointRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage. *

* * @param getOriginEndpointPolicyRequest * @return A Java Future containing the result of the GetOriginEndpointPolicy operation returned by the service. * @sample AWSMediaPackageV2Async.GetOriginEndpointPolicy * @see AWS API Documentation */ java.util.concurrent.Future getOriginEndpointPolicyAsync(GetOriginEndpointPolicyRequest getOriginEndpointPolicyRequest); /** *

* Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage. *

* * @param getOriginEndpointPolicyRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetOriginEndpointPolicy operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.GetOriginEndpointPolicy * @see AWS API Documentation */ java.util.concurrent.Future getOriginEndpointPolicyAsync(GetOriginEndpointPolicyRequest getOriginEndpointPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin * endpoints that are associated with it. *

* * @param listChannelGroupsRequest * @return A Java Future containing the result of the ListChannelGroups operation returned by the service. * @sample AWSMediaPackageV2Async.ListChannelGroups * @see AWS API Documentation */ java.util.concurrent.Future listChannelGroupsAsync(ListChannelGroupsRequest listChannelGroupsRequest); /** *

* Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin * endpoints that are associated with it. *

* * @param listChannelGroupsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListChannelGroups operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.ListChannelGroups * @see AWS API Documentation */ java.util.concurrent.Future listChannelGroupsAsync(ListChannelGroupsRequest listChannelGroupsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including * the origin endpoints that are associated with it. *

* * @param listChannelsRequest * @return A Java Future containing the result of the ListChannels operation returned by the service. * @sample AWSMediaPackageV2Async.ListChannels * @see AWS * API Documentation */ java.util.concurrent.Future listChannelsAsync(ListChannelsRequest listChannelsRequest); /** *

* Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including * the origin endpoints that are associated with it. *

* * @param listChannelsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListChannels operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.ListChannels * @see AWS * API Documentation */ java.util.concurrent.Future listChannelsAsync(ListChannelsRequest listChannelsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage. *

* * @param listOriginEndpointsRequest * @return A Java Future containing the result of the ListOriginEndpoints operation returned by the service. * @sample AWSMediaPackageV2Async.ListOriginEndpoints * @see AWS API Documentation */ java.util.concurrent.Future listOriginEndpointsAsync(ListOriginEndpointsRequest listOriginEndpointsRequest); /** *

* Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage. *

* * @param listOriginEndpointsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListOriginEndpoints operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.ListOriginEndpoints * @see AWS API Documentation */ java.util.concurrent.Future listOriginEndpointsAsync(ListOriginEndpointsRequest listOriginEndpointsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the tags assigned to a resource. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSMediaPackageV2Async.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Lists the tags assigned to a resource. *

* * @param listTagsForResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Attaches an IAM policy to the specified channel. With policies, you can specify who has access to AWS resources * and what actions they can perform on those resources. You can attach only one policy with each request. *

* * @param putChannelPolicyRequest * @return A Java Future containing the result of the PutChannelPolicy operation returned by the service. * @sample AWSMediaPackageV2Async.PutChannelPolicy * @see AWS API Documentation */ java.util.concurrent.Future putChannelPolicyAsync(PutChannelPolicyRequest putChannelPolicyRequest); /** *

* Attaches an IAM policy to the specified channel. With policies, you can specify who has access to AWS resources * and what actions they can perform on those resources. You can attach only one policy with each request. *

* * @param putChannelPolicyRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the PutChannelPolicy operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.PutChannelPolicy * @see AWS API Documentation */ java.util.concurrent.Future putChannelPolicyAsync(PutChannelPolicyRequest putChannelPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Attaches an IAM policy to the specified origin endpoint. You can attach only one policy with each request. *

* * @param putOriginEndpointPolicyRequest * @return A Java Future containing the result of the PutOriginEndpointPolicy operation returned by the service. * @sample AWSMediaPackageV2Async.PutOriginEndpointPolicy * @see AWS API Documentation */ java.util.concurrent.Future putOriginEndpointPolicyAsync(PutOriginEndpointPolicyRequest putOriginEndpointPolicyRequest); /** *

* Attaches an IAM policy to the specified origin endpoint. You can attach only one policy with each request. *

* * @param putOriginEndpointPolicyRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the PutOriginEndpointPolicy operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.PutOriginEndpointPolicy * @see AWS API Documentation */ java.util.concurrent.Future putOriginEndpointPolicyAsync(PutOriginEndpointPolicyRequest putOriginEndpointPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Assigns one of more tags (key-value pairs) to the specified MediaPackage resource. *

*

* Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by * granting a user permission to access or change only resources with certain tag values. You can use the * TagResource operation with a resource that already has tags. If you specify a new tag key for the resource, this * tag is appended to the list of tags associated with the resource. If you specify a tag key that is already * associated with the resource, the new tag value that you specify replaces the previous value for that tag. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSMediaPackageV2Async.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* Assigns one of more tags (key-value pairs) to the specified MediaPackage resource. *

*

* Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by * granting a user permission to access or change only resources with certain tag values. You can use the * TagResource operation with a resource that already has tags. If you specify a new tag key for the resource, this * tag is appended to the list of tags associated with the resource. If you specify a tag key that is already * associated with the resource, the new tag value that you specify replaces the previous value for that tag. *

* * @param tagResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes one or more tags from the specified resource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSMediaPackageV2Async.UntagResource * @see AWS * API Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Removes one or more tags from the specified resource. *

* * @param untagResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.UntagResource * @see AWS * API Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Update the specified channel. You can edit if MediaPackage sends ingest or egress access logs to the CloudWatch * log group, if content will be encrypted, the description on a channel, and your channel's policy settings. You * can't edit the name of the channel or CloudFront distribution details. *

*

* Any edits you make that impact the video output may not be reflected for a few minutes. *

* * @param updateChannelRequest * @return A Java Future containing the result of the UpdateChannel operation returned by the service. * @sample AWSMediaPackageV2Async.UpdateChannel * @see AWS * API Documentation */ java.util.concurrent.Future updateChannelAsync(UpdateChannelRequest updateChannelRequest); /** *

* Update the specified channel. You can edit if MediaPackage sends ingest or egress access logs to the CloudWatch * log group, if content will be encrypted, the description on a channel, and your channel's policy settings. You * can't edit the name of the channel or CloudFront distribution details. *

*

* Any edits you make that impact the video output may not be reflected for a few minutes. *

* * @param updateChannelRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateChannel operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.UpdateChannel * @see AWS * API Documentation */ java.util.concurrent.Future updateChannelAsync(UpdateChannelRequest updateChannelRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Update the specified channel group. You can edit the description on a channel group for easier identification * later from the AWS Elemental MediaPackage console. You can't edit the name of the channel group. *

*

* Any edits you make that impact the video output may not be reflected for a few minutes. *

* * @param updateChannelGroupRequest * @return A Java Future containing the result of the UpdateChannelGroup operation returned by the service. * @sample AWSMediaPackageV2Async.UpdateChannelGroup * @see AWS API Documentation */ java.util.concurrent.Future updateChannelGroupAsync(UpdateChannelGroupRequest updateChannelGroupRequest); /** *

* Update the specified channel group. You can edit the description on a channel group for easier identification * later from the AWS Elemental MediaPackage console. You can't edit the name of the channel group. *

*

* Any edits you make that impact the video output may not be reflected for a few minutes. *

* * @param updateChannelGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateChannelGroup operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.UpdateChannelGroup * @see AWS API Documentation */ java.util.concurrent.Future updateChannelGroupAsync(UpdateChannelGroupRequest updateChannelGroupRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Update the specified origin endpoint. Edit the packaging preferences on an endpoint to optimize the viewing * experience. You can't edit the name of the endpoint. *

*

* Any edits you make that impact the video output may not be reflected for a few minutes. *

* * @param updateOriginEndpointRequest * @return A Java Future containing the result of the UpdateOriginEndpoint operation returned by the service. * @sample AWSMediaPackageV2Async.UpdateOriginEndpoint * @see AWS API Documentation */ java.util.concurrent.Future updateOriginEndpointAsync(UpdateOriginEndpointRequest updateOriginEndpointRequest); /** *

* Update the specified origin endpoint. Edit the packaging preferences on an endpoint to optimize the viewing * experience. You can't edit the name of the endpoint. *

*

* Any edits you make that impact the video output may not be reflected for a few minutes. *

* * @param updateOriginEndpointRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateOriginEndpoint operation returned by the service. * @sample AWSMediaPackageV2AsyncHandler.UpdateOriginEndpoint * @see AWS API Documentation */ java.util.concurrent.Future updateOriginEndpointAsync(UpdateOriginEndpointRequest updateOriginEndpointRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy