You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MediaPackage::Types::CreateOriginEndpointRequest

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

Overview

Note:

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

{
  channel_id: "__string", # required
  dash_package: {
    encryption: {
      key_rotation_interval_seconds: 1,
      speke_key_provider: { # required
        resource_id: "__string", # required
        role_arn: "__string", # required
        system_ids: ["__string"], # required
        url: "__string", # required
      },
    },
    manifest_window_seconds: 1,
    min_buffer_time_seconds: 1,
    min_update_period_seconds: 1,
    profile: "NONE", # accepts NONE, HBBTV_1_5
    segment_duration_seconds: 1,
    stream_selection: {
      max_video_bits_per_second: 1,
      min_video_bits_per_second: 1,
      stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
    },
    suggested_presentation_delay_seconds: 1,
  },
  description: "__string",
  hls_package: {
    ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
    encryption: {
      constant_initialization_vector: "__string",
      encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
      key_rotation_interval_seconds: 1,
      repeat_ext_x_key: false,
      speke_key_provider: { # required
        resource_id: "__string", # required
        role_arn: "__string", # required
        system_ids: ["__string"], # required
        url: "__string", # required
      },
    },
    include_iframe_only_stream: false,
    playlist_type: "NONE", # accepts NONE, EVENT, VOD
    playlist_window_seconds: 1,
    program_date_time_interval_seconds: 1,
    segment_duration_seconds: 1,
    stream_selection: {
      max_video_bits_per_second: 1,
      min_video_bits_per_second: 1,
      stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
    },
    use_audio_rendition_group: false,
  },
  id: "__string", # required
  manifest_name: "__string",
  mss_package: {
    encryption: {
      speke_key_provider: { # required
        resource_id: "__string", # required
        role_arn: "__string", # required
        system_ids: ["__string"], # required
        url: "__string", # required
      },
    },
    manifest_window_seconds: 1,
    segment_duration_seconds: 1,
    stream_selection: {
      max_video_bits_per_second: 1,
      min_video_bits_per_second: 1,
      stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
    },
  },
  startover_window_seconds: 1,
  time_delay_seconds: 1,
  whitelist: ["__string"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#channel_idString

Returns:

  • (String)


249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 249

class CreateOriginEndpointRequest < Struct.new(
  :channel_id,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :startover_window_seconds,
  :time_delay_seconds,
  :whitelist)
  include Aws::Structure
end

#dash_packageTypes::DashPackage

A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.

Returns:



249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 249

class CreateOriginEndpointRequest < Struct.new(
  :channel_id,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :startover_window_seconds,
  :time_delay_seconds,
  :whitelist)
  include Aws::Structure
end

#descriptionString

Returns:

  • (String)


249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 249

class CreateOriginEndpointRequest < Struct.new(
  :channel_id,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :startover_window_seconds,
  :time_delay_seconds,
  :whitelist)
  include Aws::Structure
end

#hls_packageTypes::HlsPackage

An HTTP Live Streaming (HLS) packaging configuration.

Returns:



249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 249

class CreateOriginEndpointRequest < Struct.new(
  :channel_id,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :startover_window_seconds,
  :time_delay_seconds,
  :whitelist)
  include Aws::Structure
end

#idString

Returns:

  • (String)


249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 249

class CreateOriginEndpointRequest < Struct.new(
  :channel_id,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :startover_window_seconds,
  :time_delay_seconds,
  :whitelist)
  include Aws::Structure
end

#manifest_nameString

Returns:

  • (String)


249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 249

class CreateOriginEndpointRequest < Struct.new(
  :channel_id,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :startover_window_seconds,
  :time_delay_seconds,
  :whitelist)
  include Aws::Structure
end

#mss_packageTypes::MssPackage

A Microsoft Smooth Streaming (MSS) packaging configuration.

Returns:



249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 249

class CreateOriginEndpointRequest < Struct.new(
  :channel_id,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :startover_window_seconds,
  :time_delay_seconds,
  :whitelist)
  include Aws::Structure
end

#startover_window_secondsInteger

Returns:

  • (Integer)


249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 249

class CreateOriginEndpointRequest < Struct.new(
  :channel_id,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :startover_window_seconds,
  :time_delay_seconds,
  :whitelist)
  include Aws::Structure
end

#time_delay_secondsInteger

Returns:

  • (Integer)


249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 249

class CreateOriginEndpointRequest < Struct.new(
  :channel_id,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :startover_window_seconds,
  :time_delay_seconds,
  :whitelist)
  include Aws::Structure
end

#whitelistArray<String>

Returns:

  • (Array<String>)


249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 249

class CreateOriginEndpointRequest < Struct.new(
  :channel_id,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :startover_window_seconds,
  :time_delay_seconds,
  :whitelist)
  include Aws::Structure
end