| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MediaTailor.Types.SegmentationDescriptor
Description
Synopsis
- data SegmentationDescriptor = SegmentationDescriptor' {}
- newSegmentationDescriptor :: SegmentationDescriptor
- segmentationDescriptor_segmentNum :: Lens' SegmentationDescriptor (Maybe Int)
- segmentationDescriptor_segmentationEventId :: Lens' SegmentationDescriptor (Maybe Int)
- segmentationDescriptor_segmentationTypeId :: Lens' SegmentationDescriptor (Maybe Int)
- segmentationDescriptor_segmentationUpid :: Lens' SegmentationDescriptor (Maybe Text)
- segmentationDescriptor_segmentationUpidType :: Lens' SegmentationDescriptor (Maybe Int)
- segmentationDescriptor_segmentsExpected :: Lens' SegmentationDescriptor (Maybe Int)
- segmentationDescriptor_subSegmentNum :: Lens' SegmentationDescriptor (Maybe Int)
- segmentationDescriptor_subSegmentsExpected :: Lens' SegmentationDescriptor (Maybe Int)
Documentation
data SegmentationDescriptor Source #
The segmentation_descriptor message can contain advanced metadata
fields, like content identifiers, to convey a wide range of information
about the ad break. MediaTailor writes the ad metadata in the egress
manifest as part of the EXT-X-DATERANGE or EventStream ad marker's
SCTE-35 data.
segmentation_descriptor messages must be sent with the time_signal
message type.
See the segmentation_descriptor() table of the 2022 SCTE-35
specification for more information.
See: newSegmentationDescriptor smart constructor.
Constructors
| SegmentationDescriptor' | |
Fields
| |
Instances
newSegmentationDescriptor :: SegmentationDescriptor Source #
Create a value of SegmentationDescriptor 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:segmentNum:SegmentationDescriptor', segmentationDescriptor_segmentNum - The segment number to assign to the
segmentation_descriptor.segment_num message, as defined in section
10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and
256, inclusive. The default value is 0.
$sel:segmentationEventId:SegmentationDescriptor', segmentationDescriptor_segmentationEventId - The Event Identifier to assign to the
segmentation_descriptor.segmentation_event_id message, as defined in
section 10.3.3.1 of the 2022 SCTE-35 specification. The default value is
1.
$sel:segmentationTypeId:SegmentationDescriptor', segmentationDescriptor_segmentationTypeId - The Type Identifier to assign to the
segmentation_descriptor.segmentation_type_id message, as defined in
section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be
between 0 and 256, inclusive. The default value is 48.
$sel:segmentationUpid:SegmentationDescriptor', segmentationDescriptor_segmentationUpid - The Upid to assign to the segmentation_descriptor.segmentation_upid
message, as defined in section 10.3.3.1 of the 2022 SCTE-35
specification. The value must be a hexadecimal string containing only
the characters 0 though 9 and A through F. The default value is "" (an
empty string).
$sel:segmentationUpidType:SegmentationDescriptor', segmentationDescriptor_segmentationUpidType - The Upid Type to assign to the
segmentation_descriptor.segmentation_upid_type message, as defined in
section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be
between 0 and 256, inclusive. The default value is 14.
$sel:segmentsExpected:SegmentationDescriptor', segmentationDescriptor_segmentsExpected - The number of segments expected, which is assigned to the
segmentation_descriptor.segments_expectedS message, as defined in
section 10.3.3.1 of the 2022 SCTE-35 specification Values must be
between 0 and 256, inclusive. The default value is 0.
$sel:subSegmentNum:SegmentationDescriptor', segmentationDescriptor_subSegmentNum - The sub-segment number to assign to the
segmentation_descriptor.sub_segment_num message, as defined in section
10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and
256, inclusive. The defualt value is null.
$sel:subSegmentsExpected:SegmentationDescriptor', segmentationDescriptor_subSegmentsExpected - The number of sub-segments expected, which is assigned to the
segmentation_descriptor.sub_segments_expected message, as defined in
section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be
between 0 and 256, inclusive. The default value is null.
segmentationDescriptor_segmentNum :: Lens' SegmentationDescriptor (Maybe Int) Source #
The segment number to assign to the
segmentation_descriptor.segment_num message, as defined in section
10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and
256, inclusive. The default value is 0.
segmentationDescriptor_segmentationEventId :: Lens' SegmentationDescriptor (Maybe Int) Source #
The Event Identifier to assign to the
segmentation_descriptor.segmentation_event_id message, as defined in
section 10.3.3.1 of the 2022 SCTE-35 specification. The default value is
1.
segmentationDescriptor_segmentationTypeId :: Lens' SegmentationDescriptor (Maybe Int) Source #
The Type Identifier to assign to the
segmentation_descriptor.segmentation_type_id message, as defined in
section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be
between 0 and 256, inclusive. The default value is 48.
segmentationDescriptor_segmentationUpid :: Lens' SegmentationDescriptor (Maybe Text) Source #
The Upid to assign to the segmentation_descriptor.segmentation_upid
message, as defined in section 10.3.3.1 of the 2022 SCTE-35
specification. The value must be a hexadecimal string containing only
the characters 0 though 9 and A through F. The default value is "" (an
empty string).
segmentationDescriptor_segmentationUpidType :: Lens' SegmentationDescriptor (Maybe Int) Source #
The Upid Type to assign to the
segmentation_descriptor.segmentation_upid_type message, as defined in
section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be
between 0 and 256, inclusive. The default value is 14.
segmentationDescriptor_segmentsExpected :: Lens' SegmentationDescriptor (Maybe Int) Source #
The number of segments expected, which is assigned to the
segmentation_descriptor.segments_expectedS message, as defined in
section 10.3.3.1 of the 2022 SCTE-35 specification Values must be
between 0 and 256, inclusive. The default value is 0.
segmentationDescriptor_subSegmentNum :: Lens' SegmentationDescriptor (Maybe Int) Source #
The sub-segment number to assign to the
segmentation_descriptor.sub_segment_num message, as defined in section
10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and
256, inclusive. The defualt value is null.
segmentationDescriptor_subSegmentsExpected :: Lens' SegmentationDescriptor (Maybe Int) Source #
The number of sub-segments expected, which is assigned to the
segmentation_descriptor.sub_segments_expected message, as defined in
section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be
between 0 and 256, inclusive. The default value is null.