@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMediaPackageAsyncClient extends AWSMediaPackageClient implements AWSMediaPackageAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
AWS Elemental MediaPackage
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, configureLogs, createChannel, createHarvestJob, createOriginEndpoint, deleteChannel, deleteOriginEndpoint, describeChannel, describeHarvestJob, describeOriginEndpoint, getCachedResponseMetadata, listChannels, listHarvestJobs, listOriginEndpoints, listTagsForResource, rotateChannelCredentials, rotateIngestEndpointCredentials, tagResource, untagResource, updateChannel, updateOriginEndpointaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigureLogs, createChannel, createHarvestJob, createOriginEndpoint, deleteChannel, deleteOriginEndpoint, describeChannel, describeHarvestJob, describeOriginEndpoint, getCachedResponseMetadata, listChannels, listHarvestJobs, listOriginEndpoints, listTagsForResource, rotateChannelCredentials, rotateIngestEndpointCredentials, tagResource, untagResource, updateChannel, updateOriginEndpointpublic static AWSMediaPackageAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<ConfigureLogsResult> configureLogsAsync(ConfigureLogsRequest request)
AWSMediaPackageAsyncconfigureLogsAsync in interface AWSMediaPackageAsyncrequest - the option to configure log subscription.public Future<ConfigureLogsResult> configureLogsAsync(ConfigureLogsRequest request, AsyncHandler<ConfigureLogsRequest,ConfigureLogsResult> asyncHandler)
AWSMediaPackageAsyncconfigureLogsAsync in interface AWSMediaPackageAsyncrequest - the option to configure log subscription.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<CreateChannelResult> createChannelAsync(CreateChannelRequest request)
AWSMediaPackageAsynccreateChannelAsync in interface AWSMediaPackageAsyncrequest - A new Channel configuration.public Future<CreateChannelResult> createChannelAsync(CreateChannelRequest request, AsyncHandler<CreateChannelRequest,CreateChannelResult> asyncHandler)
AWSMediaPackageAsynccreateChannelAsync in interface AWSMediaPackageAsyncrequest - A new Channel configuration.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<CreateHarvestJobResult> createHarvestJobAsync(CreateHarvestJobRequest request)
AWSMediaPackageAsynccreateHarvestJobAsync in interface AWSMediaPackageAsyncrequest - Configuration parameters used to create a new HarvestJob.public Future<CreateHarvestJobResult> createHarvestJobAsync(CreateHarvestJobRequest request, AsyncHandler<CreateHarvestJobRequest,CreateHarvestJobResult> asyncHandler)
AWSMediaPackageAsynccreateHarvestJobAsync in interface AWSMediaPackageAsyncrequest - Configuration parameters used to create a new HarvestJob.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)
AWSMediaPackageAsynccreateOriginEndpointAsync in interface AWSMediaPackageAsyncrequest - Configuration parameters used to create a new OriginEndpoint.public Future<CreateOriginEndpointResult> createOriginEndpointAsync(CreateOriginEndpointRequest request, AsyncHandler<CreateOriginEndpointRequest,CreateOriginEndpointResult> asyncHandler)
AWSMediaPackageAsynccreateOriginEndpointAsync in interface AWSMediaPackageAsyncrequest - Configuration parameters used to create a new OriginEndpoint.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)
AWSMediaPackageAsyncdeleteChannelAsync in interface AWSMediaPackageAsyncpublic Future<DeleteChannelResult> deleteChannelAsync(DeleteChannelRequest request, AsyncHandler<DeleteChannelRequest,DeleteChannelResult> asyncHandler)
AWSMediaPackageAsyncdeleteChannelAsync in interface AWSMediaPackageAsyncasyncHandler - 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)
AWSMediaPackageAsyncdeleteOriginEndpointAsync in interface AWSMediaPackageAsyncpublic Future<DeleteOriginEndpointResult> deleteOriginEndpointAsync(DeleteOriginEndpointRequest request, AsyncHandler<DeleteOriginEndpointRequest,DeleteOriginEndpointResult> asyncHandler)
AWSMediaPackageAsyncdeleteOriginEndpointAsync in interface AWSMediaPackageAsyncasyncHandler - 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<DescribeChannelResult> describeChannelAsync(DescribeChannelRequest request)
AWSMediaPackageAsyncdescribeChannelAsync in interface AWSMediaPackageAsyncpublic Future<DescribeChannelResult> describeChannelAsync(DescribeChannelRequest request, AsyncHandler<DescribeChannelRequest,DescribeChannelResult> asyncHandler)
AWSMediaPackageAsyncdescribeChannelAsync in interface AWSMediaPackageAsyncasyncHandler - 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<DescribeHarvestJobResult> describeHarvestJobAsync(DescribeHarvestJobRequest request)
AWSMediaPackageAsyncdescribeHarvestJobAsync in interface AWSMediaPackageAsyncpublic Future<DescribeHarvestJobResult> describeHarvestJobAsync(DescribeHarvestJobRequest request, AsyncHandler<DescribeHarvestJobRequest,DescribeHarvestJobResult> asyncHandler)
AWSMediaPackageAsyncdescribeHarvestJobAsync in interface AWSMediaPackageAsyncasyncHandler - 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<DescribeOriginEndpointResult> describeOriginEndpointAsync(DescribeOriginEndpointRequest request)
AWSMediaPackageAsyncdescribeOriginEndpointAsync in interface AWSMediaPackageAsyncpublic Future<DescribeOriginEndpointResult> describeOriginEndpointAsync(DescribeOriginEndpointRequest request, AsyncHandler<DescribeOriginEndpointRequest,DescribeOriginEndpointResult> asyncHandler)
AWSMediaPackageAsyncdescribeOriginEndpointAsync in interface AWSMediaPackageAsyncasyncHandler - 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)
AWSMediaPackageAsynclistChannelsAsync in interface AWSMediaPackageAsyncpublic Future<ListChannelsResult> listChannelsAsync(ListChannelsRequest request, AsyncHandler<ListChannelsRequest,ListChannelsResult> asyncHandler)
AWSMediaPackageAsynclistChannelsAsync in interface AWSMediaPackageAsyncasyncHandler - 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<ListHarvestJobsResult> listHarvestJobsAsync(ListHarvestJobsRequest request)
AWSMediaPackageAsynclistHarvestJobsAsync in interface AWSMediaPackageAsyncpublic Future<ListHarvestJobsResult> listHarvestJobsAsync(ListHarvestJobsRequest request, AsyncHandler<ListHarvestJobsRequest,ListHarvestJobsResult> asyncHandler)
AWSMediaPackageAsynclistHarvestJobsAsync in interface AWSMediaPackageAsyncasyncHandler - 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)
AWSMediaPackageAsynclistOriginEndpointsAsync in interface AWSMediaPackageAsyncpublic Future<ListOriginEndpointsResult> listOriginEndpointsAsync(ListOriginEndpointsRequest request, AsyncHandler<ListOriginEndpointsRequest,ListOriginEndpointsResult> asyncHandler)
AWSMediaPackageAsynclistOriginEndpointsAsync in interface AWSMediaPackageAsyncasyncHandler - 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)
listTagsForResourceAsync in interface AWSMediaPackageAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
listTagsForResourceAsync in interface AWSMediaPackageAsyncasyncHandler - 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.@Deprecated public Future<RotateChannelCredentialsResult> rotateChannelCredentialsAsync(RotateChannelCredentialsRequest request)
AWSMediaPackageAsyncrotateChannelCredentialsAsync in interface AWSMediaPackageAsync@Deprecated public Future<RotateChannelCredentialsResult> rotateChannelCredentialsAsync(RotateChannelCredentialsRequest request, AsyncHandler<RotateChannelCredentialsRequest,RotateChannelCredentialsResult> asyncHandler)
AWSMediaPackageAsyncrotateChannelCredentialsAsync in interface AWSMediaPackageAsyncasyncHandler - 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<RotateIngestEndpointCredentialsResult> rotateIngestEndpointCredentialsAsync(RotateIngestEndpointCredentialsRequest request)
AWSMediaPackageAsyncrotateIngestEndpointCredentialsAsync in interface AWSMediaPackageAsyncpublic Future<RotateIngestEndpointCredentialsResult> rotateIngestEndpointCredentialsAsync(RotateIngestEndpointCredentialsRequest request, AsyncHandler<RotateIngestEndpointCredentialsRequest,RotateIngestEndpointCredentialsResult> asyncHandler)
AWSMediaPackageAsyncrotateIngestEndpointCredentialsAsync in interface AWSMediaPackageAsyncasyncHandler - 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)
tagResourceAsync in interface AWSMediaPackageAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
tagResourceAsync in interface AWSMediaPackageAsyncasyncHandler - 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)
untagResourceAsync in interface AWSMediaPackageAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
untagResourceAsync in interface AWSMediaPackageAsyncasyncHandler - 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)
AWSMediaPackageAsyncupdateChannelAsync in interface AWSMediaPackageAsyncrequest - Configuration parameters used to update the Channel.public Future<UpdateChannelResult> updateChannelAsync(UpdateChannelRequest request, AsyncHandler<UpdateChannelRequest,UpdateChannelResult> asyncHandler)
AWSMediaPackageAsyncupdateChannelAsync in interface AWSMediaPackageAsyncrequest - Configuration parameters used to update the Channel.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)
AWSMediaPackageAsyncupdateOriginEndpointAsync in interface AWSMediaPackageAsyncrequest - Configuration parameters used to update an existing OriginEndpoint.public Future<UpdateOriginEndpointResult> updateOriginEndpointAsync(UpdateOriginEndpointRequest request, AsyncHandler<UpdateOriginEndpointRequest,UpdateOriginEndpointResult> asyncHandler)
AWSMediaPackageAsyncupdateOriginEndpointAsync in interface AWSMediaPackageAsyncrequest - Configuration parameters used to update an existing OriginEndpoint.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 AWSMediaPackageshutdown in class AWSMediaPackageClient