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

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

Overview

Note:

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

{
  cmaf_package: {
    encryption: {
      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
        },
      },
    ],
    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
        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
      },
    },
    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
        },
      },
    ],
    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:



510
511
512
513
514
515
516
517
518
519
520
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 510

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:



510
511
512
513
514
515
516
517
518
519
520
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 510

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:



510
511
512
513
514
515
516
517
518
519
520
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 510

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)


510
511
512
513
514
515
516
517
518
519
520
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 510

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:



510
511
512
513
514
515
516
517
518
519
520
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 510

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)


510
511
512
513
514
515
516
517
518
519
520
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 510

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>)


510
511
512
513
514
515
516
517
518
519
520
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 510

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