Class: Aws::MediaTailor::Types::AdBreak

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 AdBreak data as a hash:

{
  message_type: "SPLICE_INSERT", # accepts SPLICE_INSERT
  offset_millis: 1,
  slate: {
    source_location_name: "__string",
    vod_source_name: "__string",
  },
  splice_insert_message: {
    avail_num: 1,
    avails_expected: 1,
    splice_event_id: 1,
    unique_program_id: 1,
  },
}

Ad break configuration parameters.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#message_typeString

The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT.

Returns:

  • (String)


111
112
113
114
115
116
117
118
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 111

class AdBreak < Struct.new(
  :message_type,
  :offset_millis,
  :slate,
  :splice_insert_message)
  SENSITIVE = []
  include Aws::Structure
end

#offset_millisInteger

How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall within 100ms of a segment boundary, otherwise the ad break will be skipped.

Returns:

  • (Integer)


111
112
113
114
115
116
117
118
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 111

class AdBreak < Struct.new(
  :message_type,
  :offset_millis,
  :slate,
  :splice_insert_message)
  SENSITIVE = []
  include Aws::Structure
end

#slateTypes::SlateSource

Ad break slate configuration.

Returns:



111
112
113
114
115
116
117
118
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 111

class AdBreak < Struct.new(
  :message_type,
  :offset_millis,
  :slate,
  :splice_insert_message)
  SENSITIVE = []
  include Aws::Structure
end

#splice_insert_messageTypes::SpliceInsertMessage

This defines the SCTE-35 splice_insert() message inserted around the ad. For information about using splice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.



111
112
113
114
115
116
117
118
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 111

class AdBreak < Struct.new(
  :message_type,
  :offset_millis,
  :slate,
  :splice_insert_message)
  SENSITIVE = []
  include Aws::Structure
end