Class: Aws::MediaTailor::Types::CreateProgramRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaTailor::Types::CreateProgramRequest
- Defined in:
- gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb
Overview
Note:
When making an API call, you may pass CreateProgramRequest data as a hash:
{
ad_breaks: [
{
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,
},
},
],
channel_name: "__string", # required
live_source_name: "__string",
program_name: "__string", # required
schedule_configuration: { # required
transition: { # required
duration_millis: 1,
relative_position: "BEFORE_PROGRAM", # required, accepts BEFORE_PROGRAM, AFTER_PROGRAM
relative_program: "__string",
scheduled_start_time_millis: 1,
type: "__string", # required
},
},
source_location_name: "__string", # required
vod_source_name: "__string",
}
Program configuration parameters.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#ad_breaks ⇒ Array<Types::AdBreak>
The ad break configuration settings.
-
#channel_name ⇒ String
-
#live_source_name ⇒ String
The name of the LiveSource for this Program.
-
#program_name ⇒ String
-
#schedule_configuration ⇒ Types::ScheduleConfiguration
The schedule configuration settings.
-
#source_location_name ⇒ String
The name of the source location.
-
#vod_source_name ⇒ String
The name that's used to refer to a VOD source.
Instance Attribute Details
#ad_breaks ⇒ Array<Types::AdBreak>
The ad break configuration settings.
879 880 881 882 883 884 885 886 887 888 889 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 879 class CreateProgramRequest < Struct.new( :ad_breaks, :channel_name, :live_source_name, :program_name, :schedule_configuration, :source_location_name, :vod_source_name) SENSITIVE = [] include Aws::Structure end |
#channel_name ⇒ String
879 880 881 882 883 884 885 886 887 888 889 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 879 class CreateProgramRequest < Struct.new( :ad_breaks, :channel_name, :live_source_name, :program_name, :schedule_configuration, :source_location_name, :vod_source_name) SENSITIVE = [] include Aws::Structure end |
#live_source_name ⇒ String
The name of the LiveSource for this Program.
879 880 881 882 883 884 885 886 887 888 889 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 879 class CreateProgramRequest < Struct.new( :ad_breaks, :channel_name, :live_source_name, :program_name, :schedule_configuration, :source_location_name, :vod_source_name) SENSITIVE = [] include Aws::Structure end |
#program_name ⇒ String
879 880 881 882 883 884 885 886 887 888 889 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 879 class CreateProgramRequest < Struct.new( :ad_breaks, :channel_name, :live_source_name, :program_name, :schedule_configuration, :source_location_name, :vod_source_name) SENSITIVE = [] include Aws::Structure end |
#schedule_configuration ⇒ Types::ScheduleConfiguration
The schedule configuration settings.
879 880 881 882 883 884 885 886 887 888 889 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 879 class CreateProgramRequest < Struct.new( :ad_breaks, :channel_name, :live_source_name, :program_name, :schedule_configuration, :source_location_name, :vod_source_name) SENSITIVE = [] include Aws::Structure end |
#source_location_name ⇒ String
The name of the source location.
879 880 881 882 883 884 885 886 887 888 889 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 879 class CreateProgramRequest < Struct.new( :ad_breaks, :channel_name, :live_source_name, :program_name, :schedule_configuration, :source_location_name, :vod_source_name) SENSITIVE = [] include Aws::Structure end |
#vod_source_name ⇒ String
The name that's used to refer to a VOD source.
879 880 881 882 883 884 885 886 887 888 889 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 879 class CreateProgramRequest < Struct.new( :ad_breaks, :channel_name, :live_source_name, :program_name, :schedule_configuration, :source_location_name, :vod_source_name) SENSITIVE = [] include Aws::Structure end |