« blib/lib/Paws/MediaLive/Scte35ReturnToNetworkScheduleActionSettings.pm
↑ Summary
blib/lib/Paws/MediaLive/Scte35SpliceInsert.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaLive::Scte35SegmentationDescriptor; | ||
| 3 | use Moose; | ||
| 4 | has DeliveryRestrictions => (is => 'ro', isa => 'Paws::MediaLive::Scte35DeliveryRestrictions', request_name => 'deliveryRestrictions', traits => ['NameInRequest']); | ||
| 5 | has SegmentationCancelIndicator => (is => 'ro', isa => 'Str', request_name => 'segmentationCancelIndicator', traits => ['NameInRequest'], required => 1); | ||
| 6 | has SegmentationDuration => (is => 'ro', isa => 'Int', request_name => 'segmentationDuration', traits => ['NameInRequest']); | ||
| 7 | has SegmentationEventId => (is => 'ro', isa => 'Int', request_name => 'segmentationEventId', traits => ['NameInRequest'], required => 1); | ||
| 8 | has SegmentationTypeId => (is => 'ro', isa => 'Int', request_name => 'segmentationTypeId', traits => ['NameInRequest']); | ||
| 9 | has SegmentationUpid => (is => 'ro', isa => 'Str', request_name => 'segmentationUpid', traits => ['NameInRequest']); | ||
| 10 | has SegmentationUpidType => (is => 'ro', isa => 'Int', request_name => 'segmentationUpidType', traits => ['NameInRequest']); | ||
| 11 | has SegmentNum => (is => 'ro', isa => 'Int', request_name => 'segmentNum', traits => ['NameInRequest']); | ||
| 12 | has SegmentsExpected => (is => 'ro', isa => 'Int', request_name => 'segmentsExpected', traits => ['NameInRequest']); | ||
| 13 | has SubSegmentNum => (is => 'ro', isa => 'Int', request_name => 'subSegmentNum', traits => ['NameInRequest']); | ||
| 14 | has SubSegmentsExpected => (is => 'ro', isa => 'Int', request_name => 'subSegmentsExpected', traits => ['NameInRequest']); | ||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::MediaLive::Scte35SegmentationDescriptor | ||
| 23 | |||
| 24 | =head1 USAGE | ||
| 25 | |||
| 26 | This class represents one of two things: | ||
| 27 | |||
| 28 | =head3 Arguments in a call to a service | ||
| 29 | |||
| 30 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 31 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 32 | |||
| 33 | As an example, if Att1 is expected to be a Paws::MediaLive::Scte35SegmentationDescriptor object: | ||
| 34 | |||
| 35 | $service_obj->Method(Att1 => { DeliveryRestrictions => $value, ..., SubSegmentsExpected => $value }); | ||
| 36 | |||
| 37 | =head3 Results returned from an API call | ||
| 38 | |||
| 39 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaLive::Scte35SegmentationDescriptor object: | ||
| 40 | |||
| 41 | $result = $service_obj->Method(...); | ||
| 42 | $result->Att1->DeliveryRestrictions | ||
| 43 | |||
| 44 | =head1 DESCRIPTION | ||
| 45 | |||
| 46 | Corresponds to SCTE-35 segmentation_descriptor. | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 DeliveryRestrictions => L<Paws::MediaLive::Scte35DeliveryRestrictions> | ||
| 52 | |||
| 53 | Holds the four SCTE-35 delivery restriction parameters. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> SegmentationCancelIndicator => Str | ||
| 57 | |||
| 58 | Corresponds to SCTE-35 segmentation_event_cancel_indicator. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 SegmentationDuration => Int | ||
| 62 | |||
| 63 | Corresponds to SCTE-35 segmentation_duration. Optional. The duration | ||
| 64 | for the time_signal, in 90 KHz ticks. To convert seconds to ticks, | ||
| 65 | multiple the seconds by 90,000. Enter time in 90 KHz clock ticks. If | ||
| 66 | you do not enter a duration, the time_signal will continue until you | ||
| 67 | insert a cancellation message. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> SegmentationEventId => Int | ||
| 71 | |||
| 72 | Corresponds to SCTE-35 segmentation_event_id. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 SegmentationTypeId => Int | ||
| 76 | |||
| 77 | Corresponds to SCTE-35 segmentation_type_id. One of the | ||
| 78 | segmentation_type_id values listed in the SCTE-35 specification. On the | ||
| 79 | console, enter the ID in decimal (for example, "52"). In the CLI, API, | ||
| 80 | or an SDK, enter the ID in hex (for example, "0x34") or decimal (for | ||
| 81 | example, "52"). | ||
| 82 | |||
| 83 | |||
| 84 | =head2 SegmentationUpid => Str | ||
| 85 | |||
| 86 | Corresponds to SCTE-35 segmentation_upid. Enter a string containing the | ||
| 87 | hexadecimal representation of the characters that make up the SCTE-35 | ||
| 88 | segmentation_upid value. Must contain an even number of hex characters. | ||
| 89 | Do not include spaces between each hex pair. For example, the ASCII | ||
| 90 | "ADS Information" becomes hex "41445320496e666f726d6174696f6e. | ||
| 91 | |||
| 92 | |||
| 93 | =head2 SegmentationUpidType => Int | ||
| 94 | |||
| 95 | Corresponds to SCTE-35 segmentation_upid_type. On the console, enter | ||
| 96 | one of the types listed in the SCTE-35 specification, converted to a | ||
| 97 | decimal. For example, "0x0C" hex from the specification is "12" in | ||
| 98 | decimal. In the CLI, API, or an SDK, enter one of the types listed in | ||
| 99 | the SCTE-35 specification, in either hex (for example, "0x0C" ) or in | ||
| 100 | decimal (for example, "12"). | ||
| 101 | |||
| 102 | |||
| 103 | =head2 SegmentNum => Int | ||
| 104 | |||
| 105 | Corresponds to SCTE-35 segment_num. A value that is valid for the | ||
| 106 | specified segmentation_type_id. | ||
| 107 | |||
| 108 | |||
| 109 | =head2 SegmentsExpected => Int | ||
| 110 | |||
| 111 | Corresponds to SCTE-35 segments_expected. A value that is valid for the | ||
| 112 | specified segmentation_type_id. | ||
| 113 | |||
| 114 | |||
| 115 | =head2 SubSegmentNum => Int | ||
| 116 | |||
| 117 | Corresponds to SCTE-35 sub_segment_num. A value that is valid for the | ||
| 118 | specified segmentation_type_id. | ||
| 119 | |||
| 120 | |||
| 121 | =head2 SubSegmentsExpected => Int | ||
| 122 | |||
| 123 | Corresponds to SCTE-35 sub_segments_expected. A value that is valid for | ||
| 124 | the specified segmentation_type_id. | ||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | =head1 SEE ALSO | ||
| 129 | |||
| 130 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive> | ||
| 131 | |||
| 132 | =head1 BUGS and CONTRIBUTIONS | ||
| 133 | |||
| 134 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 135 | |||
| 136 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 137 | |||
| 138 | =cut | ||
| 139 |