libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect
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.MediaConnect.Types.FailoverConfig

Description

 
Synopsis

Documentation

data FailoverConfig Source #

The settings for source failover

See: newFailoverConfig smart constructor.

Constructors

FailoverConfig' 

Fields

  • state :: Maybe State
     
  • recoveryWindow :: Maybe Int

    Search window time to look for dash-7 packets

  • sourcePriority :: Maybe SourcePriority

    The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.

  • failoverMode :: Maybe FailoverMode

    The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.

Instances

Instances details
Eq FailoverConfig Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.FailoverConfig

Read FailoverConfig Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.FailoverConfig

Show FailoverConfig Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.FailoverConfig

Generic FailoverConfig Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.FailoverConfig

Associated Types

type Rep FailoverConfig :: Type -> Type #

NFData FailoverConfig Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.FailoverConfig

Methods

rnf :: FailoverConfig -> () #

Hashable FailoverConfig Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.FailoverConfig

ToJSON FailoverConfig Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.FailoverConfig

FromJSON FailoverConfig Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.FailoverConfig

type Rep FailoverConfig Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.FailoverConfig

type Rep FailoverConfig = D1 ('MetaData "FailoverConfig" "Amazonka.MediaConnect.Types.FailoverConfig" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "FailoverConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe State)) :*: S1 ('MetaSel ('Just "recoveryWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "sourcePriority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourcePriority)) :*: S1 ('MetaSel ('Just "failoverMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FailoverMode)))))

newFailoverConfig :: FailoverConfig Source #

Create a value of FailoverConfig 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:state:FailoverConfig', failoverConfig_state - Undocumented member.

$sel:recoveryWindow:FailoverConfig', failoverConfig_recoveryWindow - Search window time to look for dash-7 packets

$sel:sourcePriority:FailoverConfig', failoverConfig_sourcePriority - The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.

$sel:failoverMode:FailoverConfig', failoverConfig_failoverMode - The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.

failoverConfig_recoveryWindow :: Lens' FailoverConfig (Maybe Int) Source #

Search window time to look for dash-7 packets

failoverConfig_sourcePriority :: Lens' FailoverConfig (Maybe SourcePriority) Source #

The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.

failoverConfig_failoverMode :: Lens' FailoverConfig (Maybe FailoverMode) Source #

The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.