Class: Aws::MediaLive::Types::InputAttachment

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

Overview

Note:

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

{
  automatic_input_failover_settings: {
    error_clear_time_msec: 1,
    failover_conditions: [
      {
        failover_condition_settings: {
          audio_silence_settings: {
            audio_selector_name: "__string", # required
            audio_silence_threshold_msec: 1,
          },
          input_loss_settings: {
            input_loss_threshold_msec: 1,
          },
          video_black_settings: {
            black_detect_threshold: 1.0,
            video_black_threshold_msec: 1,
          },
        },
      },
    ],
    input_preference: "EQUAL_INPUT_PREFERENCE", # accepts EQUAL_INPUT_PREFERENCE, PRIMARY_INPUT_PREFERRED
    secondary_input_id: "__string", # required
  },
  input_attachment_name: "__string",
  input_id: "__string",
  input_settings: {
    audio_selectors: [
      {
        name: "__stringMin1", # required
        selector_settings: {
          audio_language_selection: {
            language_code: "__string", # required
            language_selection_policy: "LOOSE", # accepts LOOSE, STRICT
          },
          audio_pid_selection: {
            pid: 1, # required
          },
          audio_track_selection: {
            tracks: [ # required
              {
                track: 1, # required
              },
            ],
          },
        },
      },
    ],
    caption_selectors: [
      {
        language_code: "__string",
        name: "__stringMin1", # required
        selector_settings: {
          ancillary_source_settings: {
            source_ancillary_channel_number: 1,
          },
          arib_source_settings: {
          },
          dvb_sub_source_settings: {
            ocr_language: "DEU", # accepts DEU, ENG, FRA, NLD, POR, SPA
            pid: 1,
          },
          embedded_source_settings: {
            convert_608_to_708: "DISABLED", # accepts DISABLED, UPCONVERT
            scte_20_detection: "AUTO", # accepts AUTO, OFF
            source_608_channel_number: 1,
            source_608_track_number: 1,
          },
          scte_20_source_settings: {
            convert_608_to_708: "DISABLED", # accepts DISABLED, UPCONVERT
            source_608_channel_number: 1,
          },
          scte_27_source_settings: {
            ocr_language: "DEU", # accepts DEU, ENG, FRA, NLD, POR, SPA
            pid: 1,
          },
          teletext_source_settings: {
            output_rectangle: {
              height: 1.0, # required
              left_offset: 1.0, # required
              top_offset: 1.0, # required
              width: 1.0, # required
            },
            page_number: "__string",
          },
        },
      },
    ],
    deblock_filter: "DISABLED", # accepts DISABLED, ENABLED
    denoise_filter: "DISABLED", # accepts DISABLED, ENABLED
    filter_strength: 1,
    input_filter: "AUTO", # accepts AUTO, DISABLED, FORCED
    network_input_settings: {
      hls_input_settings: {
        bandwidth: 1,
        buffer_segments: 1,
        retries: 1,
        retry_interval: 1,
        scte_35_source: "MANIFEST", # accepts MANIFEST, SEGMENTS
      },
      server_validation: "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", # accepts CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME, CHECK_CRYPTOGRAPHY_ONLY
    },
    smpte_2038_data_preference: "IGNORE", # accepts IGNORE, PREFER
    source_end_behavior: "CONTINUE", # accepts CONTINUE, LOOP
    video_selector: {
      color_space: "FOLLOW", # accepts FOLLOW, HDR10, HLG_2020, REC_601, REC_709
      color_space_settings: {
        hdr_10_settings: {
          max_cll: 1,
          max_fall: 1,
        },
      },
      color_space_usage: "FALLBACK", # accepts FALLBACK, FORCE
      selector_settings: {
        video_selector_pid: {
          pid: 1,
        },
        video_selector_program_id: {
          program_id: 1,
        },
      },
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#automatic_input_failover_settingsTypes::AutomaticInputFailoverSettings

User-specified settings for defining what the conditions are for declaring the input unhealthy and failing over to a different input.



9790
9791
9792
9793
9794
9795
9796
9797
# File 'lib/aws-sdk-medialive/types.rb', line 9790

class InputAttachment < Struct.new(
  :automatic_input_failover_settings,
  :input_attachment_name,
  :input_id,
  :input_settings)
  SENSITIVE = []
  include Aws::Structure
end

#input_attachment_nameString

User-specified name for the attachment. This is required if the user wants to use this input in an input switch action.

Returns:

  • (String)


9790
9791
9792
9793
9794
9795
9796
9797
# File 'lib/aws-sdk-medialive/types.rb', line 9790

class InputAttachment < Struct.new(
  :automatic_input_failover_settings,
  :input_attachment_name,
  :input_id,
  :input_settings)
  SENSITIVE = []
  include Aws::Structure
end

#input_idString

The ID of the input

Returns:

  • (String)


9790
9791
9792
9793
9794
9795
9796
9797
# File 'lib/aws-sdk-medialive/types.rb', line 9790

class InputAttachment < Struct.new(
  :automatic_input_failover_settings,
  :input_attachment_name,
  :input_id,
  :input_settings)
  SENSITIVE = []
  include Aws::Structure
end

#input_settingsTypes::InputSettings

Settings of an input (caption selector, etc.)



9790
9791
9792
9793
9794
9795
9796
9797
# File 'lib/aws-sdk-medialive/types.rb', line 9790

class InputAttachment < Struct.new(
  :automatic_input_failover_settings,
  :input_attachment_name,
  :input_id,
  :input_settings)
  SENSITIVE = []
  include Aws::Structure
end