
com.amazonaws.services.mediatailor.AWSMediaTailor 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.*;
import com.amazonaws.regions.*;
import com.amazonaws.services.mediatailor.model.*;
/**
* Interface for accessing MediaTailor.
*
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.mediatailor.AbstractAWSMediaTailor} 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 AWSMediaTailor {
/**
* The region metadata service name for computing region endpoints. You can use this value to retrieve metadata
* (such as supported regions) of the service.
*
* @see RegionUtils#getRegionsForService(String)
*/
String ENDPOINT_PREFIX = "api.mediatailor";
/**
*
* Deletes the configuration for the specified name.
*
*
* @param deletePlaybackConfigurationRequest
* @return Result of the DeletePlaybackConfiguration operation returned by the service.
* @sample AWSMediaTailor.DeletePlaybackConfiguration
* @see AWS API Documentation
*/
DeletePlaybackConfigurationResult deletePlaybackConfiguration(DeletePlaybackConfigurationRequest deletePlaybackConfigurationRequest);
/**
*
* Returns the configuration for the specified name.
*
*
* @param getPlaybackConfigurationRequest
* @return Result of the GetPlaybackConfiguration operation returned by the service.
* @sample AWSMediaTailor.GetPlaybackConfiguration
* @see AWS API Documentation
*/
GetPlaybackConfigurationResult getPlaybackConfiguration(GetPlaybackConfigurationRequest getPlaybackConfigurationRequest);
/**
*
* 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 Result of the ListPlaybackConfigurations operation returned by the service.
* @sample AWSMediaTailor.ListPlaybackConfigurations
* @see AWS API Documentation
*/
ListPlaybackConfigurationsResult listPlaybackConfigurations(ListPlaybackConfigurationsRequest listPlaybackConfigurationsRequest);
/**
*
* Adds a new configuration to AWS Elemental MediaTailor.
*
*
* @param putPlaybackConfigurationRequest
* @return Result of the PutPlaybackConfiguration operation returned by the service.
* @sample AWSMediaTailor.PutPlaybackConfiguration
* @see AWS API Documentation
*/
PutPlaybackConfigurationResult putPlaybackConfiguration(PutPlaybackConfigurationRequest putPlaybackConfigurationRequest);
/**
* Shuts down this client object, releasing any resources that might be held open. This is an optional method, and
* callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client
* has been shutdown, it should not be used to make any more requests.
*/
void shutdown();
/**
* Returns additional metadata for a previously executed successful request, typically used for debugging issues
* where a service isn't acting as expected. This data isn't considered part of the result data returned by an
* operation, so it's available through this separate, diagnostic interface.
*
* Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic
* information for an executed request, you should use this method to retrieve it as soon as possible after
* executing a request.
*
* @param request
* The originally executed request.
*
* @return The response metadata for the specified request, or null if none is available.
*/
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request);
}