Class: Aws::MediaTailor::Types::CreateProgramRequest

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 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
  program_name: "__string", # required
  schedule_configuration: { # required
    transition: { # required
      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", # required
}

Program configuration parameters.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ad_breaksArray<Types::AdBreak>

The ad break configuration settings.

Returns:



773
774
775
776
777
778
779
780
781
782
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 773

class CreateProgramRequest < Struct.new(
  :ad_breaks,
  :channel_name,
  :program_name,
  :schedule_configuration,
  :source_location_name,
  :vod_source_name)
  SENSITIVE = []
  include Aws::Structure
end

#channel_nameString

Returns:

  • (String)


773
774
775
776
777
778
779
780
781
782
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 773

class CreateProgramRequest < Struct.new(
  :ad_breaks,
  :channel_name,
  :program_name,
  :schedule_configuration,
  :source_location_name,
  :vod_source_name)
  SENSITIVE = []
  include Aws::Structure
end

#program_nameString

Returns:

  • (String)


773
774
775
776
777
778
779
780
781
782
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 773

class CreateProgramRequest < Struct.new(
  :ad_breaks,
  :channel_name,
  :program_name,
  :schedule_configuration,
  :source_location_name,
  :vod_source_name)
  SENSITIVE = []
  include Aws::Structure
end

#schedule_configurationTypes::ScheduleConfiguration

The schedule configuration settings.



773
774
775
776
777
778
779
780
781
782
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 773

class CreateProgramRequest < Struct.new(
  :ad_breaks,
  :channel_name,
  :program_name,
  :schedule_configuration,
  :source_location_name,
  :vod_source_name)
  SENSITIVE = []
  include Aws::Structure
end

#source_location_nameString

The name of the source location.

Returns:

  • (String)


773
774
775
776
777
778
779
780
781
782
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 773

class CreateProgramRequest < Struct.new(
  :ad_breaks,
  :channel_name,
  :program_name,
  :schedule_configuration,
  :source_location_name,
  :vod_source_name)
  SENSITIVE = []
  include Aws::Structure
end

#vod_source_nameString

The name that's used to refer to a VOD source.

Returns:

  • (String)


773
774
775
776
777
778
779
780
781
782
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 773

class CreateProgramRequest < Struct.new(
  :ad_breaks,
  :channel_name,
  :program_name,
  :schedule_configuration,
  :source_location_name,
  :vod_source_name)
  SENSITIVE = []
  include Aws::Structure
end