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

Description

 
Synopsis

Documentation

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

See: newSourcePriority smart constructor.

Constructors

SourcePriority' 

Fields

Instances

Instances details
Eq SourcePriority Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.SourcePriority

Read SourcePriority Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.SourcePriority

Show SourcePriority Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.SourcePriority

Generic SourcePriority Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.SourcePriority

Associated Types

type Rep SourcePriority :: Type -> Type #

NFData SourcePriority Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.SourcePriority

Methods

rnf :: SourcePriority -> () #

Hashable SourcePriority Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.SourcePriority

ToJSON SourcePriority Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.SourcePriority

FromJSON SourcePriority Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.SourcePriority

type Rep SourcePriority Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.SourcePriority

type Rep SourcePriority = D1 ('MetaData "SourcePriority" "Amazonka.MediaConnect.Types.SourcePriority" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "SourcePriority'" 'PrefixI 'True) (S1 ('MetaSel ('Just "primarySource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSourcePriority :: SourcePriority Source #

Create a value of SourcePriority 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:primarySource:SourcePriority', sourcePriority_primarySource - The name of the source you choose as the primary source for this flow.

sourcePriority_primarySource :: Lens' SourcePriority (Maybe Text) Source #

The name of the source you choose as the primary source for this flow.