
com.amazonaws.services.mediatailor.AWSMediaTailorAsync Maven / Gradle / Ivy
/*
* Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.mediatailor;
import javax.annotation.Generated;
import com.amazonaws.services.mediatailor.model.*;
/**
* Interface for accessing MediaTailor asynchronously. Each asynchronous method will return a Java Future object
* representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
* notification when an asynchronous operation completes.
*
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.mediatailor.AbstractAWSMediaTailorAsync} instead.
*
*
*
* 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).
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSMediaTailorAsync extends AWSMediaTailor {
/**
*
* Deletes the configuration for the specified name.
*
*
* @param deletePlaybackConfigurationRequest
* @return A Java Future containing the result of the DeletePlaybackConfiguration operation returned by the service.
* @sample AWSMediaTailorAsync.DeletePlaybackConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future deletePlaybackConfigurationAsync(
DeletePlaybackConfigurationRequest deletePlaybackConfigurationRequest);
/**
*
* Deletes the configuration for the specified name.
*
*
* @param deletePlaybackConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the DeletePlaybackConfiguration operation returned by the service.
* @sample AWSMediaTailorAsyncHandler.DeletePlaybackConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future deletePlaybackConfigurationAsync(
DeletePlaybackConfigurationRequest deletePlaybackConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the configuration for the specified name.
*
*
* @param getPlaybackConfigurationRequest
* @return A Java Future containing the result of the GetPlaybackConfiguration operation returned by the service.
* @sample AWSMediaTailorAsync.GetPlaybackConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future getPlaybackConfigurationAsync(GetPlaybackConfigurationRequest getPlaybackConfigurationRequest);
/**
*
* Returns the configuration for the specified name.
*
*
* @param getPlaybackConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the GetPlaybackConfiguration operation returned by the service.
* @sample AWSMediaTailorAsyncHandler.GetPlaybackConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future getPlaybackConfigurationAsync(GetPlaybackConfigurationRequest getPlaybackConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param listPlaybackConfigurationsRequest
* @return A Java Future containing the result of the ListPlaybackConfigurations operation returned by the service.
* @sample AWSMediaTailorAsync.ListPlaybackConfigurations
* @see AWS API Documentation
*/
java.util.concurrent.Future listPlaybackConfigurationsAsync(
ListPlaybackConfigurationsRequest listPlaybackConfigurationsRequest);
/**
*
* 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.
*
*
* @param listPlaybackConfigurationsRequest
* @param 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.
* @return A Java Future containing the result of the ListPlaybackConfigurations operation returned by the service.
* @sample AWSMediaTailorAsyncHandler.ListPlaybackConfigurations
* @see AWS API Documentation
*/
java.util.concurrent.Future listPlaybackConfigurationsAsync(
ListPlaybackConfigurationsRequest listPlaybackConfigurationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds a new configuration to AWS Elemental MediaTailor.
*
*
* @param putPlaybackConfigurationRequest
* @return A Java Future containing the result of the PutPlaybackConfiguration operation returned by the service.
* @sample AWSMediaTailorAsync.PutPlaybackConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future putPlaybackConfigurationAsync(PutPlaybackConfigurationRequest putPlaybackConfigurationRequest);
/**
*
* Adds a new configuration to AWS Elemental MediaTailor.
*
*
* @param putPlaybackConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the PutPlaybackConfiguration operation returned by the service.
* @sample AWSMediaTailorAsyncHandler.PutPlaybackConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future putPlaybackConfigurationAsync(PutPlaybackConfigurationRequest putPlaybackConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}