Class: Aws::MediaPackageVod::Types::CreatePackagingConfigurationRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-mediapackagevod/types.rb

Overview

Note:

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

{
  cmaf_package: {
    encryption: {
      constant_initialization_vector: "__string",
      speke_key_provider: { # required
        role_arn: "__string", # required
        system_ids: ["__string"], # required
        url: "__string", # required
      },
    },
    hls_manifests: [ # required
      {
        ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
        include_iframe_only_stream: false,
        manifest_name: "__string",
        program_date_time_interval_seconds: 1,
        repeat_ext_x_key: false,
        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
        },
      },
    ],
    include_encoder_configuration_in_segments: false,
    segment_duration_seconds: 1,
  },
  dash_package: {
    dash_manifests: [ # required
      {
        manifest_layout: "FULL", # accepts FULL, COMPACT
        manifest_name: "__string",
        min_buffer_time_seconds: 1,
        profile: "NONE", # accepts NONE, HBBTV_1_5
        scte_markers_source: "SEGMENTS", # accepts SEGMENTS, MANIFEST
        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
        },
      },
    ],
    encryption: {
      speke_key_provider: { # required
        role_arn: "__string", # required
        system_ids: ["__string"], # required
        url: "__string", # required
      },
    },
    include_encoder_configuration_in_segments: false,
    period_triggers: ["ADS"], # accepts ADS
    segment_duration_seconds: 1,
    segment_template_format: "NUMBER_WITH_TIMELINE", # accepts NUMBER_WITH_TIMELINE, TIME_WITH_TIMELINE, NUMBER_WITH_DURATION
  },
  hls_package: {
    encryption: {
      constant_initialization_vector: "__string",
      encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
      speke_key_provider: { # required
        role_arn: "__string", # required
        system_ids: ["__string"], # required
        url: "__string", # required
      },
    },
    hls_manifests: [ # required
      {
        ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
        include_iframe_only_stream: false,
        manifest_name: "__string",
        program_date_time_interval_seconds: 1,
        repeat_ext_x_key: false,
        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
        },
      },
    ],
    include_dvb_subtitles: false,
    segment_duration_seconds: 1,
    use_audio_rendition_group: false,
  },
  id: "__string", # required
  mss_package: {
    encryption: {
      speke_key_provider: { # required
        role_arn: "__string", # required
        system_ids: ["__string"], # required
        url: "__string", # required
      },
    },
    mss_manifests: [ # required
      {
        manifest_name: "__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
        },
      },
    ],
    segment_duration_seconds: 1,
  },
  packaging_group_id: "__string", # required
  tags: {
    "__string" => "__string",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cmaf_packageTypes::CmafPackage

A CMAF packaging configuration.

Returns:



610
611
612
613
614
615
616
617
618
619
620
# File 'lib/aws-sdk-mediapackagevod/types.rb', line 610

class CreatePackagingConfigurationRequest < Struct.new(
  :cmaf_package,
  :dash_package,
  :hls_package,
  :id,
  :mss_package,
  :packaging_group_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#dash_packageTypes::DashPackage

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

Returns:



610
611
612
613
614
615
616
617
618
619
620
# File 'lib/aws-sdk-mediapackagevod/types.rb', line 610

class CreatePackagingConfigurationRequest < Struct.new(
  :cmaf_package,
  :dash_package,
  :hls_package,
  :id,
  :mss_package,
  :packaging_group_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#hls_packageTypes::HlsPackage

An HTTP Live Streaming (HLS) packaging configuration.

Returns:



610
611
612
613
614
615
616
617
618
619
620
# File 'lib/aws-sdk-mediapackagevod/types.rb', line 610

class CreatePackagingConfigurationRequest < Struct.new(
  :cmaf_package,
  :dash_package,
  :hls_package,
  :id,
  :mss_package,
  :packaging_group_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#idString

Returns:

  • (String)


610
611
612
613
614
615
616
617
618
619
620
# File 'lib/aws-sdk-mediapackagevod/types.rb', line 610

class CreatePackagingConfigurationRequest < Struct.new(
  :cmaf_package,
  :dash_package,
  :hls_package,
  :id,
  :mss_package,
  :packaging_group_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#mss_packageTypes::MssPackage

A Microsoft Smooth Streaming (MSS) PackagingConfiguration.

Returns:



610
611
612
613
614
615
616
617
618
619
620
# File 'lib/aws-sdk-mediapackagevod/types.rb', line 610

class CreatePackagingConfigurationRequest < Struct.new(
  :cmaf_package,
  :dash_package,
  :hls_package,
  :id,
  :mss_package,
  :packaging_group_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#packaging_group_idString

Returns:

  • (String)


610
611
612
613
614
615
616
617
618
619
620
# File 'lib/aws-sdk-mediapackagevod/types.rb', line 610

class CreatePackagingConfigurationRequest < Struct.new(
  :cmaf_package,
  :dash_package,
  :hls_package,
  :id,
  :mss_package,
  :packaging_group_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

A collection of tags associated with a resource

Returns:

  • (Hash<String,String>)


610
611
612
613
614
615
616
617
618
619
620
# File 'lib/aws-sdk-mediapackagevod/types.rb', line 610

class CreatePackagingConfigurationRequest < Struct.new(
  :cmaf_package,
  :dash_package,
  :hls_package,
  :id,
  :mss_package,
  :packaging_group_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end