MediaTailor class

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).

Constructors

MediaTailor({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
deletePlaybackConfiguration({required String name}) Future<void>
Deletes the playback configuration for the specified name.
getPlaybackConfiguration({required String name}) Future<GetPlaybackConfigurationResponse>
Returns the playback configuration for the specified name.
listPlaybackConfigurations({int? maxResults, String? nextToken}) Future<ListPlaybackConfigurationsResponse>
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.
listTagsForResource({required String resourceArn}) Future<ListTagsForResourceResponse>
Returns a list of the tags assigned to the specified playback configuration resource.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putPlaybackConfiguration({String? adDecisionServerUrl, AvailSuppression? availSuppression, Bumper? bumper, CdnConfiguration? cdnConfiguration, DashConfigurationForPut? dashConfiguration, LivePreRollConfiguration? livePreRollConfiguration, ManifestProcessingRules? manifestProcessingRules, String? name, int? personalizationThresholdSeconds, String? slateAdUrl, Map<String, String>? tags, String? transcodeProfileName, String? videoContentSourceUrl}) Future<PutPlaybackConfigurationResponse>
Adds a new playback configuration to AWS Elemental MediaTailor.
tagResource({required String resourceArn, required Map<String, String> tags}) Future<void>
Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
toString() String
A string representation of this object.
inherited
untagResource({required String resourceArn, required List<String> tagKeys}) Future<void>
Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.

Operators

operator ==(Object other) bool
The equality operator.
inherited