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:

{
  authorization: {
    cdn_identifier_secret: "__string", # required
    secrets_role_arn: "__string", # required
  },
  channel_id: "__string", # required
  cmaf_package: {
    encryption: {
      constant_initialization_vector: "__string",
      key_rotation_interval_seconds: 1,
      speke_key_provider: { # required
        certificate_arn: "__string",
        encryption_contract_configuration: {
          preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
          preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
        },
        resource_id: "__string", # required
        role_arn: "__string", # required
        system_ids: ["__string"], # required
        url: "__string", # required
      },
    },
    hls_manifests: [
      {
        ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH, DATERANGE
        ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
        ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
        id: "__string", # required
        include_iframe_only_stream: false,
        manifest_name: "__string",
        playlist_type: "NONE", # accepts NONE, EVENT, VOD
        playlist_window_seconds: 1,
        program_date_time_interval_seconds: 1,
      },
    ],
    segment_duration_seconds: 1,
    segment_prefix: "__string",
    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
    },
  },
  dash_package: {
    ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
    ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
    encryption: {
      key_rotation_interval_seconds: 1,
      speke_key_provider: { # required
        certificate_arn: "__string",
        encryption_contract_configuration: {
          preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
          preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
        },
        resource_id: "__string", # required
        role_arn: "__string", # required
        system_ids: ["__string"], # required
        url: "__string", # required
      },
    },
    manifest_layout: "FULL", # accepts FULL, COMPACT
    manifest_window_seconds: 1,
    min_buffer_time_seconds: 1,
    min_update_period_seconds: 1,
    period_triggers: ["ADS"], # accepts ADS
    profile: "NONE", # accepts NONE, HBBTV_1_5, HYBRIDCAST, DVB_DASH_2014
    segment_duration_seconds: 1,
    segment_template_format: "NUMBER_WITH_TIMELINE", # accepts NUMBER_WITH_TIMELINE, TIME_WITH_TIMELINE, NUMBER_WITH_DURATION
    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,
    utc_timing: "NONE", # accepts NONE, HTTP-HEAD, HTTP-ISO, HTTP-XSDATE
    utc_timing_uri: "__string",
  },
  description: "__string",
  hls_package: {
    ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH, DATERANGE
    ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
    ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
    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
        certificate_arn: "__string",
        encryption_contract_configuration: {
          preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
          preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
        },
        resource_id: "__string", # required
        role_arn: "__string", # required
        system_ids: ["__string"], # required
        url: "__string", # required
      },
    },
    include_dvb_subtitles: false,
    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
        certificate_arn: "__string",
        encryption_contract_configuration: {
          preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
          preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
        },
        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
    },
  },
  origination: "ALLOW", # accepts ALLOW, DENY
  startover_window_seconds: 1,
  tags: {
    "__string" => "__string",
  },
  time_delay_seconds: 1,
  whitelist: ["__string"],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#authorizationTypes::Authorization

CDN Authorization credentials



757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#channel_idString

Returns:

  • (String)


757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#cmaf_packageTypes::CmafPackageCreateOrUpdateParameters

A Common Media Application Format (CMAF) packaging configuration.



757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#dash_packageTypes::DashPackage

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

Returns:



757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

Returns:

  • (String)


757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#hls_packageTypes::HlsPackage

An HTTP Live Streaming (HLS) packaging configuration.

Returns:



757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#idString

Returns:

  • (String)


757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#manifest_nameString

Returns:

  • (String)


757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#mss_packageTypes::MssPackage

A Microsoft Smooth Streaming (MSS) packaging configuration.

Returns:



757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#originationString

Returns:

  • (String)


757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#startover_window_secondsInteger

Returns:

  • (Integer)


757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

A collection of tags associated with a resource

Returns:

  • (Hash<String,String>)


757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#time_delay_secondsInteger

Returns:

  • (Integer)


757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end

#whitelistArray<String>

Returns:

  • (Array<String>)


757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 757

class CreateOriginEndpointRequest < Struct.new(
  :authorization,
  :channel_id,
  :cmaf_package,
  :dash_package,
  :description,
  :hls_package,
  :id,
  :manifest_name,
  :mss_package,
  :origination,
  :startover_window_seconds,
  :tags,
  :time_delay_seconds,
  :whitelist)
  SENSITIVE = []
  include Aws::Structure
end