
com.amazonaws.services.mediatailor.AWSMediaTailorAsync Maven / Gradle / Ivy
/*
* Copyright 2015-2020 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 playback 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 playback 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 playback 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 playback 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 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.
*
*
* @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 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.
*
*
* @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);
/**
*
* Returns a list of the tags assigned to the specified playback configuration resource.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSMediaTailorAsync.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Returns a list of the tags assigned to the specified playback configuration resource.
*
*
* @param listTagsForResourceRequest
* @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 ListTagsForResource operation returned by the service.
* @sample AWSMediaTailorAsyncHandler.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds a new playback 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 playback 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);
/**
*
* Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSMediaTailorAsync.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
*
*
* @param tagResourceRequest
* @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 TagResource operation returned by the service.
* @sample AWSMediaTailorAsyncHandler.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSMediaTailorAsync.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
*
*
* @param untagResourceRequest
* @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 UntagResource operation returned by the service.
* @sample AWSMediaTailorAsyncHandler.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}