Class: Aws::MediaTailor::Types::Transition

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb

Overview

Note:

When making an API call, you may pass Transition data as a hash:

{
  duration_millis: 1,
  relative_position: "BEFORE_PROGRAM", # required, accepts BEFORE_PROGRAM, AFTER_PROGRAM
  relative_program: "__string",
  scheduled_start_time_millis: 1,
  type: "__string", # required
}

Program transition configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#duration_millisInteger

The duration of the live program in seconds.

Returns:

  • (Integer)


3958
3959
3960
3961
3962
3963
3964
3965
3966
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 3958

class Transition < Struct.new(
  :duration_millis,
  :relative_position,
  :relative_program,
  :scheduled_start_time_millis,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#relative_positionString

The position where this program will be inserted relative to the RelativePosition.

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
3965
3966
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 3958

class Transition < Struct.new(
  :duration_millis,
  :relative_position,
  :relative_program,
  :scheduled_start_time_millis,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#relative_programString

The name of the program that this program will be inserted next to, as defined by RelativePosition.

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
3965
3966
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 3958

class Transition < Struct.new(
  :duration_millis,
  :relative_position,
  :relative_program,
  :scheduled_start_time_millis,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#scheduled_start_time_millisInteger

The date and time that the program is scheduled to start, in epoch milliseconds.

Returns:

  • (Integer)


3958
3959
3960
3961
3962
3963
3964
3965
3966
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 3958

class Transition < Struct.new(
  :duration_millis,
  :relative_position,
  :relative_program,
  :scheduled_start_time_millis,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Defines when the program plays in the schedule. You can set the value to ABSOLUTE or RELATIVE.

ABSOLUTE - The program plays at a specific wall clock time. This setting can only be used for channels using the LINEAR PlaybackMode.

Note the following considerations when using ABSOLUTE transitions:

If the preceding program in the schedule has a duration that extends past the wall clock time, MediaTailor truncates the preceding program on a common segment boundary.

If there are gaps in playback, MediaTailor plays the FillerSlate you configured for your linear channel.

RELATIVE - The program is inserted into the schedule either before or after a program that you specify via RelativePosition.

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
3965
3966
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 3958

class Transition < Struct.new(
  :duration_millis,
  :relative_position,
  :relative_program,
  :scheduled_start_time_millis,
  :type)
  SENSITIVE = []
  include Aws::Structure
end