@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMediaTailorAsyncClient extends AWSMediaTailorClient implements AWSMediaTailorAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Use the AWS Elemental MediaTailor SDK to configure scalable ad insertion for your live and VOD content. With AWS Elemental MediaTailor, you can serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.
Through the SDK, you manage AWS Elemental MediaTailor configurations the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).
configFactoryclient, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXbuilder, deletePlaybackConfiguration, getCachedResponseMetadata, getPlaybackConfiguration, listPlaybackConfigurations, listTagsForResource, putPlaybackConfiguration, tagResource, untagResourceaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeletePlaybackConfiguration, getCachedResponseMetadata, getPlaybackConfiguration, listPlaybackConfigurations, listTagsForResource, putPlaybackConfiguration, tagResource, untagResourcepublic static AWSMediaTailorAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DeletePlaybackConfigurationResult> deletePlaybackConfigurationAsync(DeletePlaybackConfigurationRequest request)
AWSMediaTailorAsyncDeletes the playback configuration for the specified name.
deletePlaybackConfigurationAsync in interface AWSMediaTailorAsyncpublic Future<DeletePlaybackConfigurationResult> deletePlaybackConfigurationAsync(DeletePlaybackConfigurationRequest request, AsyncHandler<DeletePlaybackConfigurationRequest,DeletePlaybackConfigurationResult> asyncHandler)
AWSMediaTailorAsyncDeletes the playback configuration for the specified name.
deletePlaybackConfigurationAsync in interface AWSMediaTailorAsyncasyncHandler - 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<GetPlaybackConfigurationResult> getPlaybackConfigurationAsync(GetPlaybackConfigurationRequest request)
AWSMediaTailorAsyncReturns the playback configuration for the specified name.
getPlaybackConfigurationAsync in interface AWSMediaTailorAsyncpublic Future<GetPlaybackConfigurationResult> getPlaybackConfigurationAsync(GetPlaybackConfigurationRequest request, AsyncHandler<GetPlaybackConfigurationRequest,GetPlaybackConfigurationResult> asyncHandler)
AWSMediaTailorAsyncReturns the playback configuration for the specified name.
getPlaybackConfigurationAsync in interface AWSMediaTailorAsyncasyncHandler - 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<ListPlaybackConfigurationsResult> listPlaybackConfigurationsAsync(ListPlaybackConfigurationsRequest request)
AWSMediaTailorAsyncReturns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
listPlaybackConfigurationsAsync in interface AWSMediaTailorAsyncpublic Future<ListPlaybackConfigurationsResult> listPlaybackConfigurationsAsync(ListPlaybackConfigurationsRequest request, AsyncHandler<ListPlaybackConfigurationsRequest,ListPlaybackConfigurationsResult> asyncHandler)
AWSMediaTailorAsyncReturns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
listPlaybackConfigurationsAsync in interface AWSMediaTailorAsyncasyncHandler - 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)
AWSMediaTailorAsyncReturns a list of the tags assigned to the specified playback configuration resource.
listTagsForResourceAsync in interface AWSMediaTailorAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSMediaTailorAsyncReturns a list of the tags assigned to the specified playback configuration resource.
listTagsForResourceAsync in interface AWSMediaTailorAsyncasyncHandler - 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<PutPlaybackConfigurationResult> putPlaybackConfigurationAsync(PutPlaybackConfigurationRequest request)
AWSMediaTailorAsyncAdds a new playback configuration to AWS Elemental MediaTailor.
putPlaybackConfigurationAsync in interface AWSMediaTailorAsyncpublic Future<PutPlaybackConfigurationResult> putPlaybackConfigurationAsync(PutPlaybackConfigurationRequest request, AsyncHandler<PutPlaybackConfigurationRequest,PutPlaybackConfigurationResult> asyncHandler)
AWSMediaTailorAsyncAdds a new playback configuration to AWS Elemental MediaTailor.
putPlaybackConfigurationAsync in interface AWSMediaTailorAsyncasyncHandler - 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)
AWSMediaTailorAsyncAdds tags to the specified playback configuration resource. You can specify one or more tags to add.
tagResourceAsync in interface AWSMediaTailorAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSMediaTailorAsyncAdds tags to the specified playback configuration resource. You can specify one or more tags to add.
tagResourceAsync in interface AWSMediaTailorAsyncasyncHandler - 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)
AWSMediaTailorAsyncRemoves tags from the specified playback configuration resource. You can specify one or more tags to remove.
untagResourceAsync in interface AWSMediaTailorAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSMediaTailorAsyncRemoves tags from the specified playback configuration resource. You can specify one or more tags to remove.
untagResourceAsync in interface AWSMediaTailorAsyncasyncHandler - 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 AWSMediaTailorshutdown in class AmazonWebServiceClientCopyright © 2019. All rights reserved.