@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMediaPackageV2AsyncClient extends AWSMediaPackageV2Client implements AWSMediaPackageV2Async
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC ENDPOINT_PREFIX | Modifier and Type | Method and Description |
|---|---|
static AWSMediaPackageV2AsyncClientBuilder |
asyncBuilder () |
Future<CreateChannelResult> |
createChannelAsync (CreateChannelRequest request)
Create a channel to start receiving content streams.
|
Future<CreateChannelResult> |
createChannelAsync (CreateChannelRequest request,
AsyncHandler<CreateChannelRequest,CreateChannelResult> asyncHandler)
Create a channel to start receiving content streams.
|
Future<CreateChannelGroupResult> |
createChannelGroupAsync (CreateChannelGroupRequest request)
Create a channel group to group your channels and origin endpoints.
|
Future<CreateChannelGroupResult> |
createChannelGroupAsync (CreateChannelGroupRequest request,
AsyncHandler<CreateChannelGroupRequest,CreateChannelGroupResult> asyncHandler)
Create a channel group to group your channels and origin endpoints.
|
Future<CreateOriginEndpointResult> |
createOriginEndpointAsync (CreateOriginEndpointRequest request)
The endpoint is attached to a channel, and represents the output of the live content.
|
Future<CreateOriginEndpointResult> |
createOriginEndpointAsync (CreateOriginEndpointRequest request,
AsyncHandler<CreateOriginEndpointRequest,CreateOriginEndpointResult> asyncHandler)
The endpoint is attached to a channel, and represents the output of the live content.
|
Future<DeleteChannelResult> |
deleteChannelAsync (DeleteChannelRequest request)
Delete a channel to stop AWS Elemental MediaPackage from receiving further content.
|
Future<DeleteChannelResult> |
deleteChannelAsync (DeleteChannelRequest request,
AsyncHandler<DeleteChannelRequest,DeleteChannelResult> asyncHandler)
Delete a channel to stop AWS Elemental MediaPackage from receiving further content.
|
Future<DeleteChannelGroupResult> |
deleteChannelGroupAsync (DeleteChannelGroupRequest request)
Delete a channel group.
|
Future<DeleteChannelGroupResult> |
deleteChannelGroupAsync (DeleteChannelGroupRequest request,
AsyncHandler<DeleteChannelGroupRequest,DeleteChannelGroupResult> asyncHandler)
Delete a channel group.
|
Future<DeleteChannelPolicyResult> |
deleteChannelPolicyAsync (DeleteChannelPolicyRequest request)
Delete a channel policy.
|
Future<DeleteChannelPolicyResult> |
deleteChannelPolicyAsync (DeleteChannelPolicyRequest request,
AsyncHandler<DeleteChannelPolicyRequest,DeleteChannelPolicyResult> asyncHandler)
Delete a channel policy.
|
Future<DeleteOriginEndpointResult> |
deleteOriginEndpointAsync (DeleteOriginEndpointRequest request)
Origin endpoints can serve content until they're deleted.
|
Future<DeleteOriginEndpointResult> |
deleteOriginEndpointAsync (DeleteOriginEndpointRequest request,
AsyncHandler<DeleteOriginEndpointRequest,DeleteOriginEndpointResult> asyncHandler)
Origin endpoints can serve content until they're deleted.
|
Future<DeleteOriginEndpointPolicyResult> |
deleteOriginEndpointPolicyAsync (DeleteOriginEndpointPolicyRequest request)
Delete an origin endpoint policy.
|
Future<DeleteOriginEndpointPolicyResult> |
deleteOriginEndpointPolicyAsync (DeleteOriginEndpointPolicyRequest request,
AsyncHandler<DeleteOriginEndpointPolicyRequest,DeleteOriginEndpointPolicyResult> asyncHandler)
Delete an origin endpoint policy.
|
Future<GetChannelResult> |
getChannelAsync (GetChannelRequest request)
Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints
that are associated with it.
|
Future<GetChannelResult> |
getChannelAsync (GetChannelRequest request,
AsyncHandler<GetChannelRequest,GetChannelResult> asyncHandler)
Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints
that are associated with it.
|
Future<GetChannelGroupResult> |
getChannelGroupAsync (GetChannelGroupRequest request)
Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and
origin endpoints that are associated with it.
|
Future<GetChannelGroupResult> |
getChannelGroupAsync (GetChannelGroupRequest request,
AsyncHandler<GetChannelGroupRequest,GetChannelGroupResult> asyncHandler)
Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and
origin endpoints that are associated with it.
|
Future<GetChannelPolicyResult> |
getChannelPolicyAsync (GetChannelPolicyRequest request)
Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage.
|
Future<GetChannelPolicyResult> |
getChannelPolicyAsync (GetChannelPolicyRequest request,
AsyncHandler<GetChannelPolicyRequest,GetChannelPolicyResult> asyncHandler)
Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage.
|
ExecutorService |
getExecutorService ()
Returns the executor service used by this client to execute async requests.
|
Future<GetOriginEndpointResult> |
getOriginEndpointAsync (GetOriginEndpointRequest request)
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.
|
Future<GetOriginEndpointResult> |
getOriginEndpointAsync (GetOriginEndpointRequest request,
AsyncHandler<GetOriginEndpointRequest,GetOriginEndpointResult> 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.
|
Future<GetOriginEndpointPolicyResult> |
getOriginEndpointPolicyAsync (GetOriginEndpointPolicyRequest request)
Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage.
|
Future<GetOriginEndpointPolicyResult> |
getOriginEndpointPolicyAsync (GetOriginEndpointPolicyRequest request,
AsyncHandler<GetOriginEndpointPolicyRequest,GetOriginEndpointPolicyResult> asyncHandler)
Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage.
|
Future<ListChannelGroupsResult> |
listChannelGroupsAsync (ListChannelGroupsRequest request)
Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin
endpoints that are associated with it.
|
Future<ListChannelGroupsResult> |
listChannelGroupsAsync (ListChannelGroupsRequest request,
AsyncHandler<ListChannelGroupsRequest,ListChannelGroupsResult> asyncHandler)
Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin
endpoints that are associated with it.
|
Future<ListChannelsResult> |
listChannelsAsync (ListChannelsRequest request)
Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including
the origin endpoints that are associated with it.
|
Future<ListChannelsResult> |
listChannelsAsync (ListChannelsRequest request,
AsyncHandler<ListChannelsRequest,ListChannelsResult> 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.
|
Future<ListOriginEndpointsResult> |
listOriginEndpointsAsync (ListOriginEndpointsRequest request)
Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
|
Future<ListOriginEndpointsResult> |
listOriginEndpointsAsync (ListOriginEndpointsRequest request,
AsyncHandler<ListOriginEndpointsRequest,ListOriginEndpointsResult> asyncHandler)
Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync (ListTagsForResourceRequest request)
Lists the tags assigned to a resource.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync (ListTagsForResourceRequest request,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags assigned to a resource.
|
Future<PutChannelPolicyResult> |
putChannelPolicyAsync (PutChannelPolicyRequest request)
Attaches an IAM policy to the specified channel.
|
Future<PutChannelPolicyResult> |
putChannelPolicyAsync (PutChannelPolicyRequest request,
AsyncHandler<PutChannelPolicyRequest,PutChannelPolicyResult> asyncHandler)
Attaches an IAM policy to the specified channel.
|
Future<PutOriginEndpointPolicyResult> |
putOriginEndpointPolicyAsync (PutOriginEndpointPolicyRequest request)
Attaches an IAM policy to the specified origin endpoint.
|
Future<PutOriginEndpointPolicyResult> |
putOriginEndpointPolicyAsync (PutOriginEndpointPolicyRequest request,
AsyncHandler<PutOriginEndpointPolicyRequest,PutOriginEndpointPolicyResult> asyncHandler)
Attaches an IAM policy to the specified origin endpoint.
|
void |
shutdown ()
Shuts down the client, releasing all managed resources.
|
Future<TagResourceResult> |
tagResourceAsync (TagResourceRequest request)
Assigns one of more tags (key-value pairs) to the specified MediaPackage resource.
|
Future<TagResourceResult> |
tagResourceAsync (TagResourceRequest request,
AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Assigns one of more tags (key-value pairs) to the specified MediaPackage resource.
|
Future<UntagResourceResult> |
untagResourceAsync (UntagResourceRequest request)
Removes one or more tags from the specified resource.
|
Future<UntagResourceResult> |
untagResourceAsync (UntagResourceRequest request,
AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes one or more tags from the specified resource.
|
Future<UpdateChannelResult> |
updateChannelAsync (UpdateChannelRequest request)
Update the specified channel.
|
Future<UpdateChannelResult> |
updateChannelAsync (UpdateChannelRequest request,
AsyncHandler<UpdateChannelRequest,UpdateChannelResult> asyncHandler)
Update the specified channel.
|
Future<UpdateChannelGroupResult> |
updateChannelGroupAsync (UpdateChannelGroupRequest request)
Update the specified channel group.
|
Future<UpdateChannelGroupResult> |
updateChannelGroupAsync (UpdateChannelGroupRequest request,
AsyncHandler<UpdateChannelGroupRequest,UpdateChannelGroupResult> asyncHandler)
Update the specified channel group.
|
Future<UpdateOriginEndpointResult> |
updateOriginEndpointAsync (UpdateOriginEndpointRequest request)
Update the specified origin endpoint.
|
Future<UpdateOriginEndpointResult> |
updateOriginEndpointAsync (UpdateOriginEndpointRequest request,
AsyncHandler<UpdateOriginEndpointRequest,UpdateOriginEndpointResult> asyncHandler)
Update the specified origin endpoint.
|
builder, createChannel, createChannelGroup, createOriginEndpoint, deleteChannel, deleteChannelGroup, deleteChannelPolicy, deleteOriginEndpoint, deleteOriginEndpointPolicy, getCachedResponseMetadata, getChannel, getChannelGroup, getChannelPolicy, getOriginEndpoint, getOriginEndpointPolicy, listChannelGroups, listChannels, listOriginEndpoints, listTagsForResource, putChannelPolicy, putOriginEndpointPolicy, tagResource, untagResource, updateChannel, updateChannelGroup, updateOriginEndpoint addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait createChannel, createChannelGroup, createOriginEndpoint, deleteChannel, deleteChannelGroup, deleteChannelPolicy, deleteOriginEndpoint, deleteOriginEndpointPolicy, getCachedResponseMetadata, getChannel, getChannelGroup, getChannelPolicy, getOriginEndpoint, getOriginEndpointPolicy, listChannelGroups, listChannels, listOriginEndpoints, listTagsForResource, putChannelPolicy, putOriginEndpointPolicy, tagResource, untagResource, updateChannel, updateChannelGroup, updateOriginEndpoint public static AWSMediaPackageV2AsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateChannelResult> createChannelAsync(CreateChannelRequest request)
AWSMediaPackageV2Async 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.
createChannelAsync in interface AWSMediaPackageV2Async public Future<CreateChannelResult> createChannelAsync(CreateChannelRequest request, AsyncHandler<CreateChannelRequest,CreateChannelResult> asyncHandler)
AWSMediaPackageV2Async 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.
createChannelAsync in interface AWSMediaPackageV2Async 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.public Future<CreateChannelGroupResult> createChannelGroupAsync(CreateChannelGroupRequest request)
AWSMediaPackageV2Async 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.
createChannelGroupAsync in interface AWSMediaPackageV2Async public Future<CreateChannelGroupResult> createChannelGroupAsync(CreateChannelGroupRequest request, AsyncHandler<CreateChannelGroupRequest,CreateChannelGroupResult> asyncHandler)
AWSMediaPackageV2Async 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.
createChannelGroupAsync in interface AWSMediaPackageV2Async 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.public Future<CreateOriginEndpointResult> createOriginEndpointAsync(CreateOriginEndpointRequest request)
AWSMediaPackageV2Async 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.
createOriginEndpointAsync in interface AWSMediaPackageV2Async public Future<CreateOriginEndpointResult> createOriginEndpointAsync(CreateOriginEndpointRequest request, AsyncHandler<CreateOriginEndpointRequest,CreateOriginEndpointResult> asyncHandler)
AWSMediaPackageV2Async 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.
createOriginEndpointAsync in interface AWSMediaPackageV2Async 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.public Future<DeleteChannelResult> deleteChannelAsync(DeleteChannelRequest request)
AWSMediaPackageV2Async 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.
deleteChannelAsync in interface AWSMediaPackageV2Async public Future<DeleteChannelResult> deleteChannelAsync(DeleteChannelRequest request, AsyncHandler<DeleteChannelRequest,DeleteChannelResult> asyncHandler)
AWSMediaPackageV2Async 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.
deleteChannelAsync in interface AWSMediaPackageV2Async 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.public Future<DeleteChannelGroupResult> deleteChannelGroupAsync(DeleteChannelGroupRequest request)
AWSMediaPackageV2Async 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.
deleteChannelGroupAsync in interface AWSMediaPackageV2Async public Future<DeleteChannelGroupResult> deleteChannelGroupAsync(DeleteChannelGroupRequest request, AsyncHandler<DeleteChannelGroupRequest,DeleteChannelGroupResult> asyncHandler)
AWSMediaPackageV2Async 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.
deleteChannelGroupAsync in interface AWSMediaPackageV2Async 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.public Future<DeleteChannelPolicyResult> deleteChannelPolicyAsync(DeleteChannelPolicyRequest request)
AWSMediaPackageV2Async Delete a channel policy.
deleteChannelPolicyAsync in interface AWSMediaPackageV2Async public Future<DeleteChannelPolicyResult> deleteChannelPolicyAsync(DeleteChannelPolicyRequest request, AsyncHandler<DeleteChannelPolicyRequest,DeleteChannelPolicyResult> asyncHandler)
AWSMediaPackageV2Async Delete a channel policy.
deleteChannelPolicyAsync in interface AWSMediaPackageV2Async 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.public Future<DeleteOriginEndpointResult> deleteOriginEndpointAsync(DeleteOriginEndpointRequest request)
AWSMediaPackageV2Async 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.
deleteOriginEndpointAsync in interface AWSMediaPackageV2Async public Future<DeleteOriginEndpointResult> deleteOriginEndpointAsync(DeleteOriginEndpointRequest request, AsyncHandler<DeleteOriginEndpointRequest,DeleteOriginEndpointResult> asyncHandler)
AWSMediaPackageV2Async 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.
deleteOriginEndpointAsync in interface AWSMediaPackageV2Async 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.public Future<DeleteOriginEndpointPolicyResult> deleteOriginEndpointPolicyAsync(DeleteOriginEndpointPolicyRequest request)
AWSMediaPackageV2Async Delete an origin endpoint policy.
deleteOriginEndpointPolicyAsync in interface AWSMediaPackageV2Async public Future<DeleteOriginEndpointPolicyResult> deleteOriginEndpointPolicyAsync(DeleteOriginEndpointPolicyRequest request, AsyncHandler<DeleteOriginEndpointPolicyRequest,DeleteOriginEndpointPolicyResult> asyncHandler)
AWSMediaPackageV2Async Delete an origin endpoint policy.
deleteOriginEndpointPolicyAsync in interface AWSMediaPackageV2Async 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.public Future<GetChannelResult> getChannelAsync(GetChannelRequest request)
AWSMediaPackageV2Async Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
getChannelAsync in interface AWSMediaPackageV2Async public Future<GetChannelResult> getChannelAsync(GetChannelRequest request, AsyncHandler<GetChannelRequest,GetChannelResult> asyncHandler)
AWSMediaPackageV2Async Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
getChannelAsync in interface AWSMediaPackageV2Async 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.public Future<GetChannelGroupResult> getChannelGroupAsync(GetChannelGroupRequest request)
AWSMediaPackageV2Async Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.
getChannelGroupAsync in interface AWSMediaPackageV2Async public Future<GetChannelGroupResult> getChannelGroupAsync(GetChannelGroupRequest request, AsyncHandler<GetChannelGroupRequest,GetChannelGroupResult> asyncHandler)
AWSMediaPackageV2Async Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.
getChannelGroupAsync in interface AWSMediaPackageV2Async 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.public Future<GetChannelPolicyResult> getChannelPolicyAsync(GetChannelPolicyRequest request)
AWSMediaPackageV2Async 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.
getChannelPolicyAsync in interface AWSMediaPackageV2Async public Future<GetChannelPolicyResult> getChannelPolicyAsync(GetChannelPolicyRequest request, AsyncHandler<GetChannelPolicyRequest,GetChannelPolicyResult> asyncHandler)
AWSMediaPackageV2Async 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.
getChannelPolicyAsync in interface AWSMediaPackageV2Async 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.public Future<GetOriginEndpointResult> getOriginEndpointAsync(GetOriginEndpointRequest request)
AWSMediaPackageV2Async 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.
getOriginEndpointAsync in interface AWSMediaPackageV2Async public Future<GetOriginEndpointResult> getOriginEndpointAsync(GetOriginEndpointRequest request, AsyncHandler<GetOriginEndpointRequest,GetOriginEndpointResult> asyncHandler)
AWSMediaPackageV2Async 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.
getOriginEndpointAsync in interface AWSMediaPackageV2Async 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.public Future<GetOriginEndpointPolicyResult> getOriginEndpointPolicyAsync(GetOriginEndpointPolicyRequest request)
AWSMediaPackageV2Async Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage.
getOriginEndpointPolicyAsync in interface AWSMediaPackageV2Async public Future<GetOriginEndpointPolicyResult> getOriginEndpointPolicyAsync(GetOriginEndpointPolicyRequest request, AsyncHandler<GetOriginEndpointPolicyRequest,GetOriginEndpointPolicyResult> asyncHandler)
AWSMediaPackageV2Async Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage.
getOriginEndpointPolicyAsync in interface AWSMediaPackageV2Async 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.public Future<ListChannelGroupsResult> listChannelGroupsAsync(ListChannelGroupsRequest request)
AWSMediaPackageV2Async Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.
listChannelGroupsAsync in interface AWSMediaPackageV2Async public Future<ListChannelGroupsResult> listChannelGroupsAsync(ListChannelGroupsRequest request, AsyncHandler<ListChannelGroupsRequest,ListChannelGroupsResult> asyncHandler)
AWSMediaPackageV2Async Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.
listChannelGroupsAsync in interface AWSMediaPackageV2Async 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.public Future<ListChannelsResult> listChannelsAsync(ListChannelsRequest request)
AWSMediaPackageV2Async Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
listChannelsAsync in interface AWSMediaPackageV2Async public Future<ListChannelsResult> listChannelsAsync(ListChannelsRequest request, AsyncHandler<ListChannelsRequest,ListChannelsResult> asyncHandler)
AWSMediaPackageV2Async Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
listChannelsAsync in interface AWSMediaPackageV2Async 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.public Future<ListOriginEndpointsResult> listOriginEndpointsAsync(ListOriginEndpointsRequest request)
AWSMediaPackageV2Async Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
listOriginEndpointsAsync in interface AWSMediaPackageV2Async public Future<ListOriginEndpointsResult> listOriginEndpointsAsync(ListOriginEndpointsRequest request, AsyncHandler<ListOriginEndpointsRequest,ListOriginEndpointsResult> asyncHandler)
AWSMediaPackageV2Async Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
listOriginEndpointsAsync in interface AWSMediaPackageV2Async 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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSMediaPackageV2Async Lists the tags assigned to a resource.
listTagsForResourceAsync in interface AWSMediaPackageV2Async public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSMediaPackageV2Async Lists the tags assigned to a resource.
listTagsForResourceAsync in interface AWSMediaPackageV2Async 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.public Future<PutChannelPolicyResult> putChannelPolicyAsync(PutChannelPolicyRequest request)
AWSMediaPackageV2Async 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.
putChannelPolicyAsync in interface AWSMediaPackageV2Async public Future<PutChannelPolicyResult> putChannelPolicyAsync(PutChannelPolicyRequest request, AsyncHandler<PutChannelPolicyRequest,PutChannelPolicyResult> asyncHandler)
AWSMediaPackageV2Async 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.
putChannelPolicyAsync in interface AWSMediaPackageV2Async 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.public Future<PutOriginEndpointPolicyResult> putOriginEndpointPolicyAsync(PutOriginEndpointPolicyRequest request)
AWSMediaPackageV2Async Attaches an IAM policy to the specified origin endpoint. You can attach only one policy with each request.
putOriginEndpointPolicyAsync in interface AWSMediaPackageV2Async public Future<PutOriginEndpointPolicyResult> putOriginEndpointPolicyAsync(PutOriginEndpointPolicyRequest request, AsyncHandler<PutOriginEndpointPolicyRequest,PutOriginEndpointPolicyResult> asyncHandler)
AWSMediaPackageV2Async Attaches an IAM policy to the specified origin endpoint. You can attach only one policy with each request.
putOriginEndpointPolicyAsync in interface AWSMediaPackageV2Async 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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSMediaPackageV2Async 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.
tagResourceAsync in interface AWSMediaPackageV2Async public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSMediaPackageV2Async 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.
tagResourceAsync in interface AWSMediaPackageV2Async 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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSMediaPackageV2Async Removes one or more tags from the specified resource.
untagResourceAsync in interface AWSMediaPackageV2Async public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSMediaPackageV2Async Removes one or more tags from the specified resource.
untagResourceAsync in interface AWSMediaPackageV2Async 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.public Future<UpdateChannelResult> updateChannelAsync(UpdateChannelRequest request)
AWSMediaPackageV2Async 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.
updateChannelAsync in interface AWSMediaPackageV2Async public Future<UpdateChannelResult> updateChannelAsync(UpdateChannelRequest request, AsyncHandler<UpdateChannelRequest,UpdateChannelResult> asyncHandler)
AWSMediaPackageV2Async 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.
updateChannelAsync in interface AWSMediaPackageV2Async 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.public Future<UpdateChannelGroupResult> updateChannelGroupAsync(UpdateChannelGroupRequest request)
AWSMediaPackageV2Async 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.
updateChannelGroupAsync in interface AWSMediaPackageV2Async public Future<UpdateChannelGroupResult> updateChannelGroupAsync(UpdateChannelGroupRequest request, AsyncHandler<UpdateChannelGroupRequest,UpdateChannelGroupResult> asyncHandler)
AWSMediaPackageV2Async 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.
updateChannelGroupAsync in interface AWSMediaPackageV2Async 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.public Future<UpdateOriginEndpointResult> updateOriginEndpointAsync(UpdateOriginEndpointRequest request)
AWSMediaPackageV2Async 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.
updateOriginEndpointAsync in interface AWSMediaPackageV2Async public Future<UpdateOriginEndpointResult> updateOriginEndpointAsync(UpdateOriginEndpointRequest request, AsyncHandler<UpdateOriginEndpointRequest,UpdateOriginEndpointResult> asyncHandler)
AWSMediaPackageV2Async 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.
updateOriginEndpointAsync in interface AWSMediaPackageV2Async 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.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSMediaPackageV2 shutdown in class AWSMediaPackageV2Client