libZSservicesZSamazonka-medialiveZSamazonka-medialive
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

Description

 
Synopsis

Documentation

data AutomaticInputFailoverSettings Source #

The settings for Automatic Input Failover.

See: newAutomaticInputFailoverSettings smart constructor.

Constructors

AutomaticInputFailoverSettings' 

Fields

  • failoverConditions :: Maybe [FailoverCondition]

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

  • 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.

  • 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
Eq AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

Read AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

Show 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 #

NFData AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

Hashable AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

ToJSON AutomaticInputFailoverSettings Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AutomaticInputFailoverSettings

FromJSON 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" "libZSservicesZSamazonka-medialiveZSamazonka-medialive" 'False) (C1 ('MetaCons "AutomaticInputFailoverSettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "failoverConditions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailoverCondition])) :*: S1 ('MetaSel ('Just "errorClearTimeMsec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (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: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: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: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_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_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_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.