@Generated(value="software.amazon.awssdk:codegen") public interface MediaTailorAsyncClient extends SdkClient
builder()
method.
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).
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
serviceName
close
static final String SERVICE_NAME
static MediaTailorAsyncClient create()
MediaTailorAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static MediaTailorAsyncClientBuilder builder()
MediaTailorAsyncClient
.default CompletableFuture<DeletePlaybackConfigurationResponse> deletePlaybackConfiguration(DeletePlaybackConfigurationRequest deletePlaybackConfigurationRequest)
Deletes the configuration for the specified name.
deletePlaybackConfigurationRequest
- default CompletableFuture<DeletePlaybackConfigurationResponse> deletePlaybackConfiguration(Consumer<DeletePlaybackConfigurationRequest.Builder> deletePlaybackConfigurationRequest)
Deletes the configuration for the specified name.
This is a convenience which creates an instance of the DeletePlaybackConfigurationRequest.Builder
avoiding the need to create one manually via DeletePlaybackConfigurationRequest.builder()
deletePlaybackConfigurationRequest
- A Consumer
that will call methods on DeletePlaybackConfigurationRequest.Builder
to create
a request.default CompletableFuture<GetPlaybackConfigurationResponse> getPlaybackConfiguration(GetPlaybackConfigurationRequest getPlaybackConfigurationRequest)
Returns the configuration for the specified name.
getPlaybackConfigurationRequest
- default CompletableFuture<GetPlaybackConfigurationResponse> getPlaybackConfiguration(Consumer<GetPlaybackConfigurationRequest.Builder> getPlaybackConfigurationRequest)
Returns the configuration for the specified name.
This is a convenience which creates an instance of the GetPlaybackConfigurationRequest.Builder
avoiding
the need to create one manually via GetPlaybackConfigurationRequest.builder()
getPlaybackConfigurationRequest
- A Consumer
that will call methods on GetPlaybackConfigurationRequest.Builder
to create a
request.default CompletableFuture<ListPlaybackConfigurationsResponse> listPlaybackConfigurations(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.
listPlaybackConfigurationsRequest
- default CompletableFuture<ListPlaybackConfigurationsResponse> listPlaybackConfigurations(Consumer<ListPlaybackConfigurationsRequest.Builder> 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.
This is a convenience which creates an instance of the ListPlaybackConfigurationsRequest.Builder
avoiding
the need to create one manually via ListPlaybackConfigurationsRequest.builder()
listPlaybackConfigurationsRequest
- A Consumer
that will call methods on ListPlaybackConfigurationsRequest.Builder
to create a
request.default CompletableFuture<ListPlaybackConfigurationsResponse> listPlaybackConfigurations()
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.
default CompletableFuture<PutPlaybackConfigurationResponse> putPlaybackConfiguration(PutPlaybackConfigurationRequest putPlaybackConfigurationRequest)
Adds a new configuration to AWS Elemental MediaTailor.
putPlaybackConfigurationRequest
- default CompletableFuture<PutPlaybackConfigurationResponse> putPlaybackConfiguration(Consumer<PutPlaybackConfigurationRequest.Builder> putPlaybackConfigurationRequest)
Adds a new configuration to AWS Elemental MediaTailor.
This is a convenience which creates an instance of the PutPlaybackConfigurationRequest.Builder
avoiding
the need to create one manually via PutPlaybackConfigurationRequest.builder()
putPlaybackConfigurationRequest
- A Consumer
that will call methods on PutPlaybackConfigurationRequest.Builder
to create a
request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.