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
  CdnConfiguration    => {
    AdSegmentUrlPrefix      => 'My__string',
    ContentSegmentUrlPrefix => '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
  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 $CdnConfiguration = $PutPlaybackConfigurationResponse->CdnConfiguration;
my $DashConfiguration =
  $PutPlaybackConfigurationResponse->DashConfiguration;
my $HlsConfiguration = $PutPlaybackConfigurationResponse->HlsConfiguration;
my $LivePreRollConfiguration =
  $PutPlaybackConfigurationResponse->LivePreRollConfiguration;
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.

CdnConfiguration => Paws::MediaTailor::CdnConfiguration

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

DashConfiguration => Paws::MediaTailor::DashConfigurationForPut

The configuration for DASH content.

LivePreRollConfiguration => Paws::MediaTailor::LivePreRollConfiguration

The configuration for pre-roll ad insertion.

Name => Str

The identifier for the playback configuration.

PersonalizationThresholdSeconds => Int

The maximum duration of underfilled ad time (in seconds) allowed in an ad break.

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 master playlist 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