@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, putPlaybackConfiguration
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, putPlaybackConfiguration
public static AWSMediaTailorAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DeletePlaybackConfigurationResult> deletePlaybackConfigurationAsync(DeletePlaybackConfigurationRequest request)
AWSMediaTailorAsync
Deletes the configuration for the specified name.
deletePlaybackConfigurationAsync
in interface AWSMediaTailorAsync
public Future<DeletePlaybackConfigurationResult> deletePlaybackConfigurationAsync(DeletePlaybackConfigurationRequest request, AsyncHandler<DeletePlaybackConfigurationRequest,DeletePlaybackConfigurationResult> asyncHandler)
AWSMediaTailorAsync
Deletes the 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 configuration for the specified name.
getPlaybackConfigurationAsync
in interface AWSMediaTailorAsync
public Future<GetPlaybackConfigurationResult> getPlaybackConfigurationAsync(GetPlaybackConfigurationRequest request, AsyncHandler<GetPlaybackConfigurationRequest,GetPlaybackConfigurationResult> asyncHandler)
AWSMediaTailorAsync
Returns the 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 configurations defined in AWS Elemental MediaTailor. You can specify a max number of configurations to return at a time. The default max is 50. Results are returned in pagefuls. If AWS Elemental MediaTailor has more configurations than the specified max, 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 configurations defined in AWS Elemental MediaTailor. You can specify a max number of configurations to return at a time. The default max is 50. Results are returned in pagefuls. If AWS Elemental MediaTailor has more configurations than the specified max, 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<PutPlaybackConfigurationResult> putPlaybackConfigurationAsync(PutPlaybackConfigurationRequest request)
AWSMediaTailorAsync
Adds a new configuration to AWS Elemental MediaTailor.
putPlaybackConfigurationAsync
in interface AWSMediaTailorAsync
public Future<PutPlaybackConfigurationResult> putPlaybackConfigurationAsync(PutPlaybackConfigurationRequest request, AsyncHandler<PutPlaybackConfigurationRequest,PutPlaybackConfigurationResult> asyncHandler)
AWSMediaTailorAsync
Adds a new 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 void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSMediaTailor
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.