@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).
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, deletePlaybackConfiguration, getCachedResponseMetadata, getPlaybackConfiguration, listPlaybackConfigurations, listTagsForResource, putPlaybackConfiguration, tagResource, untagResource
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
deletePlaybackConfiguration, getCachedResponseMetadata, getPlaybackConfiguration, listPlaybackConfigurations, listTagsForResource, putPlaybackConfiguration, tagResource, untagResource
public static AWSMediaTailorAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DeletePlaybackConfigurationResult> deletePlaybackConfigurationAsync(DeletePlaybackConfigurationRequest request)
AWSMediaTailorAsync
Deletes the playback configuration for the specified name.
deletePlaybackConfigurationAsync
in interface AWSMediaTailorAsync
public Future<DeletePlaybackConfigurationResult> deletePlaybackConfigurationAsync(DeletePlaybackConfigurationRequest request, AsyncHandler<DeletePlaybackConfigurationRequest,DeletePlaybackConfigurationResult> asyncHandler)
AWSMediaTailorAsync
Deletes the playback configuration for the specified name.
deletePlaybackConfigurationAsync
in interface AWSMediaTailorAsync
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<GetPlaybackConfigurationResult> getPlaybackConfigurationAsync(GetPlaybackConfigurationRequest request)
AWSMediaTailorAsync
Returns the playback configuration for the specified name.
getPlaybackConfigurationAsync
in interface AWSMediaTailorAsync
public Future<GetPlaybackConfigurationResult> getPlaybackConfigurationAsync(GetPlaybackConfigurationRequest request, AsyncHandler<GetPlaybackConfigurationRequest,GetPlaybackConfigurationResult> asyncHandler)
AWSMediaTailorAsync
Returns the playback configuration for the specified name.
getPlaybackConfigurationAsync
in interface AWSMediaTailorAsync
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<ListPlaybackConfigurationsResult> listPlaybackConfigurationsAsync(ListPlaybackConfigurationsRequest request)
AWSMediaTailorAsync
Returns 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 AWSMediaTailorAsync
public Future<ListPlaybackConfigurationsResult> listPlaybackConfigurationsAsync(ListPlaybackConfigurationsRequest request, AsyncHandler<ListPlaybackConfigurationsRequest,ListPlaybackConfigurationsResult> asyncHandler)
AWSMediaTailorAsync
Returns 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 AWSMediaTailorAsync
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)
AWSMediaTailorAsync
Returns a list of the tags assigned to the specified playback configuration resource.
listTagsForResourceAsync
in interface AWSMediaTailorAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSMediaTailorAsync
Returns a list of the tags assigned to the specified playback configuration resource.
listTagsForResourceAsync
in interface AWSMediaTailorAsync
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<PutPlaybackConfigurationResult> putPlaybackConfigurationAsync(PutPlaybackConfigurationRequest request)
AWSMediaTailorAsync
Adds a new playback configuration to AWS Elemental MediaTailor.
putPlaybackConfigurationAsync
in interface AWSMediaTailorAsync
public Future<PutPlaybackConfigurationResult> putPlaybackConfigurationAsync(PutPlaybackConfigurationRequest request, AsyncHandler<PutPlaybackConfigurationRequest,PutPlaybackConfigurationResult> asyncHandler)
AWSMediaTailorAsync
Adds a new playback configuration to AWS Elemental MediaTailor.
putPlaybackConfigurationAsync
in interface AWSMediaTailorAsync
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)
AWSMediaTailorAsync
Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
tagResourceAsync
in interface AWSMediaTailorAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSMediaTailorAsync
Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
tagResourceAsync
in interface AWSMediaTailorAsync
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)
AWSMediaTailorAsync
Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
untagResourceAsync
in interface AWSMediaTailorAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSMediaTailorAsync
Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
untagResourceAsync
in interface AWSMediaTailorAsync
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 AWSMediaTailor
shutdown
in class AmazonWebServiceClient