@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 |
| Modifier and Type | Method and Description |
|---|---|
static MediaTailorAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
MediaTailorAsyncClient. |
static MediaTailorAsyncClient |
create()
Create a
MediaTailorAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<DeletePlaybackConfigurationResponse> |
deletePlaybackConfiguration(Consumer<DeletePlaybackConfigurationRequest.Builder> deletePlaybackConfigurationRequest)
Deletes the playback configuration for the specified name.
|
default CompletableFuture<DeletePlaybackConfigurationResponse> |
deletePlaybackConfiguration(DeletePlaybackConfigurationRequest deletePlaybackConfigurationRequest)
Deletes the playback configuration for the specified name.
|
default CompletableFuture<GetPlaybackConfigurationResponse> |
getPlaybackConfiguration(Consumer<GetPlaybackConfigurationRequest.Builder> getPlaybackConfigurationRequest)
Returns the playback configuration for the specified name.
|
default CompletableFuture<GetPlaybackConfigurationResponse> |
getPlaybackConfiguration(GetPlaybackConfigurationRequest getPlaybackConfigurationRequest)
Returns the playback configuration for the specified name.
|
default CompletableFuture<ListPlaybackConfigurationsResponse> |
listPlaybackConfigurations()
Returns a list of the playback configurations defined in AWS Elemental MediaTailor.
|
default CompletableFuture<ListPlaybackConfigurationsResponse> |
listPlaybackConfigurations(Consumer<ListPlaybackConfigurationsRequest.Builder> listPlaybackConfigurationsRequest)
Returns a list of the playback configurations defined in AWS Elemental MediaTailor.
|
default CompletableFuture<ListPlaybackConfigurationsResponse> |
listPlaybackConfigurations(ListPlaybackConfigurationsRequest listPlaybackConfigurationsRequest)
Returns a list of the playback configurations defined in AWS Elemental MediaTailor.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns a list of the tags assigned to the specified playback configuration resource.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of the tags assigned to the specified playback configuration resource.
|
default CompletableFuture<PutPlaybackConfigurationResponse> |
putPlaybackConfiguration(Consumer<PutPlaybackConfigurationRequest.Builder> putPlaybackConfigurationRequest)
Adds a new playback configuration to AWS Elemental MediaTailor.
|
default CompletableFuture<PutPlaybackConfigurationResponse> |
putPlaybackConfiguration(PutPlaybackConfigurationRequest putPlaybackConfigurationRequest)
Adds a new playback configuration to AWS Elemental MediaTailor.
|
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to the specified playback configuration resource.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Adds tags to the specified playback configuration resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from the specified playback configuration resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from the specified playback configuration resource.
|
serviceNameclosestatic 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 playback configuration for the specified name.
deletePlaybackConfigurationRequest - default CompletableFuture<DeletePlaybackConfigurationResponse> deletePlaybackConfiguration(Consumer<DeletePlaybackConfigurationRequest.Builder> deletePlaybackConfigurationRequest)
Deletes the playback 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 playback configuration for the specified name.
getPlaybackConfigurationRequest - default CompletableFuture<GetPlaybackConfigurationResponse> getPlaybackConfiguration(Consumer<GetPlaybackConfigurationRequest.Builder> getPlaybackConfigurationRequest)
Returns the playback 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 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.
listPlaybackConfigurationsRequest - default CompletableFuture<ListPlaybackConfigurationsResponse> listPlaybackConfigurations(Consumer<ListPlaybackConfigurationsRequest.Builder> 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.
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 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.
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of the tags assigned to the specified playback configuration resource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns a list of the tags assigned to the specified playback configuration resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.default CompletableFuture<PutPlaybackConfigurationResponse> putPlaybackConfiguration(PutPlaybackConfigurationRequest putPlaybackConfigurationRequest)
Adds a new playback configuration to AWS Elemental MediaTailor.
putPlaybackConfigurationRequest - default CompletableFuture<PutPlaybackConfigurationResponse> putPlaybackConfiguration(Consumer<PutPlaybackConfigurationRequest.Builder> putPlaybackConfigurationRequest)
Adds a new playback 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.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.Copyright © 2019. All rights reserved.