libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor
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.MediaTailor.Types.SpliceInsertMessage

Description

 
Synopsis

Documentation

data SpliceInsertMessage Source #

Splice insert message configuration.

See: newSpliceInsertMessage smart constructor.

Constructors

SpliceInsertMessage' 

Fields

  • availNum :: Maybe Int

    This is written to splice_insert.avail_num, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

  • uniqueProgramId :: Maybe Int

    This is written to splice_insert.unique_program_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

  • availsExpected :: Maybe Int

    This is written to splice_insert.avails_expected, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

  • spliceEventId :: Maybe Int

    This is written to splice_insert.splice_event_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 1.

Instances

Instances details
Eq SpliceInsertMessage Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.SpliceInsertMessage

Read SpliceInsertMessage Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.SpliceInsertMessage

Show SpliceInsertMessage Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.SpliceInsertMessage

Generic SpliceInsertMessage Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.SpliceInsertMessage

Associated Types

type Rep SpliceInsertMessage :: Type -> Type #

NFData SpliceInsertMessage Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.SpliceInsertMessage

Methods

rnf :: SpliceInsertMessage -> () #

Hashable SpliceInsertMessage Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.SpliceInsertMessage

ToJSON SpliceInsertMessage Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.SpliceInsertMessage

FromJSON SpliceInsertMessage Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.SpliceInsertMessage

type Rep SpliceInsertMessage Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.SpliceInsertMessage

type Rep SpliceInsertMessage = D1 ('MetaData "SpliceInsertMessage" "Amazonka.MediaTailor.Types.SpliceInsertMessage" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "SpliceInsertMessage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "availNum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "uniqueProgramId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "availsExpected") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "spliceEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newSpliceInsertMessage :: SpliceInsertMessage Source #

Create a value of SpliceInsertMessage 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:availNum:SpliceInsertMessage', spliceInsertMessage_availNum - This is written to splice_insert.avail_num, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

$sel:uniqueProgramId:SpliceInsertMessage', spliceInsertMessage_uniqueProgramId - This is written to splice_insert.unique_program_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

$sel:availsExpected:SpliceInsertMessage', spliceInsertMessage_availsExpected - This is written to splice_insert.avails_expected, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

$sel:spliceEventId:SpliceInsertMessage', spliceInsertMessage_spliceEventId - This is written to splice_insert.splice_event_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 1.

spliceInsertMessage_availNum :: Lens' SpliceInsertMessage (Maybe Int) Source #

This is written to splice_insert.avail_num, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

spliceInsertMessage_uniqueProgramId :: Lens' SpliceInsertMessage (Maybe Int) Source #

This is written to splice_insert.unique_program_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

spliceInsertMessage_availsExpected :: Lens' SpliceInsertMessage (Maybe Int) Source #

This is written to splice_insert.avails_expected, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

spliceInsertMessage_spliceEventId :: Lens' SpliceInsertMessage (Maybe Int) Source #

This is written to splice_insert.splice_event_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 1.