@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, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXbuilder, deletePlaybackConfiguration, getCachedResponseMetadata, getPlaybackConfiguration, listPlaybackConfigurations, putPlaybackConfigurationaddRequestHandler, 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, 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, putPlaybackConfigurationpublic static AWSMediaTailorAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DeletePlaybackConfigurationResult> deletePlaybackConfigurationAsync(DeletePlaybackConfigurationRequest request)
AWSMediaTailorAsyncDeletes the configuration for the specified name.
deletePlaybackConfigurationAsync in interface AWSMediaTailorAsyncpublic Future<DeletePlaybackConfigurationResult> deletePlaybackConfigurationAsync(DeletePlaybackConfigurationRequest request, AsyncHandler<DeletePlaybackConfigurationRequest,DeletePlaybackConfigurationResult> asyncHandler)
AWSMediaTailorAsyncDeletes the 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 configuration for the specified name.
getPlaybackConfigurationAsync in interface AWSMediaTailorAsyncpublic Future<GetPlaybackConfigurationResult> getPlaybackConfigurationAsync(GetPlaybackConfigurationRequest request, AsyncHandler<GetPlaybackConfigurationRequest,GetPlaybackConfigurationResult> asyncHandler)
AWSMediaTailorAsyncReturns the 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 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 AWSMediaTailorAsyncpublic Future<ListPlaybackConfigurationsResult> listPlaybackConfigurationsAsync(ListPlaybackConfigurationsRequest request, AsyncHandler<ListPlaybackConfigurationsRequest,ListPlaybackConfigurationsResult> asyncHandler)
AWSMediaTailorAsyncReturns 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 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 configuration to AWS Elemental MediaTailor.
putPlaybackConfigurationAsync in interface AWSMediaTailorAsyncpublic Future<PutPlaybackConfigurationResult> putPlaybackConfigurationAsync(PutPlaybackConfigurationRequest request, AsyncHandler<PutPlaybackConfigurationRequest,PutPlaybackConfigurationResult> asyncHandler)
AWSMediaTailorAsyncAdds a new 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 void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSMediaTailorshutdown in class AmazonWebServiceClientCopyright © 2019. All rights reserved.