amazonka-medialive-2.0: Amazon Elemental MediaLive SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

Description

 
Synopsis

Documentation

data AutomaticInputFailoverSettings Source #

The settings for Automatic Input Failover.

See: newAutomaticInputFailoverSettings smart constructor.

Constructors

AutomaticInputFailoverSettings' 

Fields

  • errorClearTimeMsec :: Maybe Natural

    This clear time defines the requirement a recovered input must meet to be considered healthy. The input must have no failover conditions for this length of time. Enter a time in milliseconds. This value is particularly important if the input_preference for the failover pair is set to PRIMARY_INPUT_PREFERRED, because after this time, MediaLive will switch back to the primary input.

  • failoverConditions :: Maybe [FailoverCondition]

    A list of failover conditions. If any of these conditions occur, MediaLive will perform a failover to the other input.

  • inputPreference :: Maybe InputPreference

    Input preference when deciding which input to make active when a previously failed input has recovered.

  • secondaryInputId :: Text

    The input ID of the secondary input in the automatic input failover pair.

Instances

Instances details
FromJSON AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

ToJSON AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

Generic AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

Associated Types

type Rep AutomaticInputFailoverSettings :: Type -> Type #

Read AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

Show AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

NFData AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

Eq AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

Hashable AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

type Rep AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

type Rep AutomaticInputFailoverSettings = D1 ('MetaData "AutomaticInputFailoverSettings" "Amazonka.MediaLive.Types.AutomaticInputFailoverSettings" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "AutomaticInputFailoverSettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "errorClearTimeMsec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "failoverConditions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailoverCondition]))) :*: (S1 ('MetaSel ('Just "inputPreference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputPreference)) :*: S1 ('MetaSel ('Just "secondaryInputId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAutomaticInputFailoverSettings Source #

Create a value of AutomaticInputFailoverSettings with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:errorClearTimeMsec:AutomaticInputFailoverSettings', automaticInputFailoverSettings_errorClearTimeMsec - This clear time defines the requirement a recovered input must meet to be considered healthy. The input must have no failover conditions for this length of time. Enter a time in milliseconds. This value is particularly important if the input_preference for the failover pair is set to PRIMARY_INPUT_PREFERRED, because after this time, MediaLive will switch back to the primary input.

$sel:failoverConditions:AutomaticInputFailoverSettings', automaticInputFailoverSettings_failoverConditions - A list of failover conditions. If any of these conditions occur, MediaLive will perform a failover to the other input.

$sel:inputPreference:AutomaticInputFailoverSettings', automaticInputFailoverSettings_inputPreference - Input preference when deciding which input to make active when a previously failed input has recovered.

$sel:secondaryInputId:AutomaticInputFailoverSettings', automaticInputFailoverSettings_secondaryInputId - The input ID of the secondary input in the automatic input failover pair.

automaticInputFailoverSettings_errorClearTimeMsec :: Lens' AutomaticInputFailoverSettings (Maybe Natural) Source #

This clear time defines the requirement a recovered input must meet to be considered healthy. The input must have no failover conditions for this length of time. Enter a time in milliseconds. This value is particularly important if the input_preference for the failover pair is set to PRIMARY_INPUT_PREFERRED, because after this time, MediaLive will switch back to the primary input.

automaticInputFailoverSettings_failoverConditions :: Lens' AutomaticInputFailoverSettings (Maybe [FailoverCondition]) Source #

A list of failover conditions. If any of these conditions occur, MediaLive will perform a failover to the other input.

automaticInputFailoverSettings_inputPreference :: Lens' AutomaticInputFailoverSettings (Maybe InputPreference) Source #

Input preference when deciding which input to make active when a previously failed input has recovered.

automaticInputFailoverSettings_secondaryInputId :: Lens' AutomaticInputFailoverSettings Text Source #

The input ID of the secondary input in the automatic input failover pair.