The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::MediaTailor::PutPlaybackConfiguration - Arguments for method PutPlaybackConfiguration on Paws::MediaTailor

DESCRIPTION

This class represents the parameters used for calling the method PutPlaybackConfiguration on the AWS MediaTailor service. Use the attributes of this class as arguments to method PutPlaybackConfiguration.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutPlaybackConfiguration.

SYNOPSIS

    my $api.mediatailor = Paws->service('MediaTailor');
    my $PutPlaybackConfigurationResponse =
      $api . mediatailor->PutPlaybackConfiguration(
      AdDecisionServerUrl => 'My__string',    # OPTIONAL
      AvailSuppression    => {
        Mode  => 'OFF',          # values: OFF, BEHIND_LIVE_EDGE; OPTIONAL
        Value => 'My__string',
      },    # OPTIONAL
      Bumper => {
        EndUrl   => 'My__string',
        StartUrl => 'My__string',
      },    # OPTIONAL
      CdnConfiguration => {
        AdSegmentUrlPrefix      => 'My__string',
        ContentSegmentUrlPrefix => 'My__string',
      },    # OPTIONAL
      ConfigurationAliases =>
        { 'My__string' => { 'My__string' => 'My__string', }, },    # OPTIONAL
      DashConfiguration => {
        MpdLocation        => 'My__string',
        OriginManifestType =>
          'SINGLE_PERIOD',    # values: SINGLE_PERIOD, MULTI_PERIOD; OPTIONAL
      },    # OPTIONAL
      LivePreRollConfiguration => {
        AdDecisionServerUrl => 'My__string',
        MaxDurationSeconds  => 1,              # OPTIONAL
      },    # OPTIONAL
      ManifestProcessingRules => {
        AdMarkerPassthrough => {
          Enabled => 1,    # OPTIONAL
        },    # OPTIONAL
      },    # OPTIONAL
      Name                            => 'My__string',               # OPTIONAL
      PersonalizationThresholdSeconds => 1,                          # OPTIONAL
      SlateAdUrl                      => 'My__string',               # OPTIONAL
      Tags                  => { 'My__string' => 'My__string', },    # OPTIONAL
      TranscodeProfileName  => 'My__string',                         # OPTIONAL
      VideoContentSourceUrl => 'My__string',                         # OPTIONAL
      );

    # Results:
    my $AdDecisionServerUrl =
      $PutPlaybackConfigurationResponse->AdDecisionServerUrl;
    my $AvailSuppression = $PutPlaybackConfigurationResponse->AvailSuppression;
    my $Bumper           = $PutPlaybackConfigurationResponse->Bumper;
    my $CdnConfiguration = $PutPlaybackConfigurationResponse->CdnConfiguration;
    my $ConfigurationAliases =
      $PutPlaybackConfigurationResponse->ConfigurationAliases;
    my $DashConfiguration =
      $PutPlaybackConfigurationResponse->DashConfiguration;
    my $HlsConfiguration = $PutPlaybackConfigurationResponse->HlsConfiguration;
    my $LivePreRollConfiguration =
      $PutPlaybackConfigurationResponse->LivePreRollConfiguration;
    my $ManifestProcessingRules =
      $PutPlaybackConfigurationResponse->ManifestProcessingRules;
    my $Name = $PutPlaybackConfigurationResponse->Name;
    my $PersonalizationThresholdSeconds =
      $PutPlaybackConfigurationResponse->PersonalizationThresholdSeconds;
    my $PlaybackConfigurationArn =
      $PutPlaybackConfigurationResponse->PlaybackConfigurationArn;
    my $PlaybackEndpointPrefix =
      $PutPlaybackConfigurationResponse->PlaybackEndpointPrefix;
    my $SessionInitializationEndpointPrefix =
      $PutPlaybackConfigurationResponse->SessionInitializationEndpointPrefix;
    my $SlateAdUrl = $PutPlaybackConfigurationResponse->SlateAdUrl;
    my $Tags       = $PutPlaybackConfigurationResponse->Tags;
    my $TranscodeProfileName =
      $PutPlaybackConfigurationResponse->TranscodeProfileName;
    my $VideoContentSourceUrl =
      $PutPlaybackConfigurationResponse->VideoContentSourceUrl;

    # Returns a L<Paws::MediaTailor::PutPlaybackConfigurationResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/api.mediatailor/PutPlaybackConfiguration

ATTRIBUTES

AdDecisionServerUrl => Str

The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing you can provide a static VAST URL. The maximum length is 25,000 characters.

AvailSuppression => Paws::MediaTailor::AvailSuppression

The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html).

Bumper => Paws::MediaTailor::Bumper

The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers (https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html).

CdnConfiguration => Paws::MediaTailor::CdnConfiguration

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

ConfigurationAliases => Paws::MediaTailor::ConfigurationAliasesRequest

The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables (https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html).

DashConfiguration => Paws::MediaTailor::DashConfigurationForPut

The configuration for DASH content.

LivePreRollConfiguration => Paws::MediaTailor::LivePreRollConfiguration

The configuration for pre-roll ad insertion.

ManifestProcessingRules => Paws::MediaTailor::ManifestProcessingRules

The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

Name => Str

The identifier for the playback configuration.

PersonalizationThresholdSeconds => Int

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html).

SlateAdUrl => Str

The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID configurations. For VPAID, the slate is required because MediaTailor provides it in the slots that are designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.

Tags => Paws::MediaTailor::__mapOf__string

The tags to assign to the playback configuration.

TranscodeProfileName => Str

The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.

VideoContentSourceUrl => Str

The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutPlaybackConfiguration in Paws::MediaTailor

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues