« blib/lib/Paws/ElasticTranscoder/Thumbnails.pm
↑ Summary
blib/lib/Paws/ElasticTranscoder/Timing.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ElasticTranscoder::TimeSpan; | ||
| 3 | use Moose; | ||
| 4 | has Duration => (is => 'ro', isa => 'Str'); | ||
| 5 | has StartTime => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::ElasticTranscoder::TimeSpan | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::ElasticTranscoder::TimeSpan object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Duration => $value, ..., StartTime => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::TimeSpan object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Duration | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Settings that determine when a clip begins and how long it lasts. | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 Duration => Str | ||
| 43 | |||
| 44 | The duration of the clip. The format can be either HH:mm:ss.SSS | ||
| 45 | (maximum value: 23:59:59.999; SSS is thousandths of a second) or | ||
| 46 | sssss.SSS (maximum value: 86399.999). If you don't specify a value, | ||
| 47 | Elastic Transcoder creates an output file from StartTime to the end of | ||
| 48 | the file. | ||
| 49 | |||
| 50 | If you specify a value longer than the duration of the input file, | ||
| 51 | Elastic Transcoder transcodes the file and returns a warning message. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 StartTime => Str | ||
| 55 | |||
| 56 | The place in the input file where you want a clip to start. The format | ||
| 57 | can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is | ||
| 58 | thousandths of a second) or sssss.SSS (maximum value: 86399.999). If | ||
| 59 | you don't specify a value, Elastic Transcoder starts at the beginning | ||
| 60 | of the input file. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head1 SEE ALSO | ||
| 65 | |||
| 66 | This class forms part of L<Paws>, describing an object used in L<Paws::ElasticTranscoder> | ||
| 67 | |||
| 68 | =head1 BUGS and CONTRIBUTIONS | ||
| 69 | |||
| 70 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 71 | |||
| 72 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 73 | |||
| 74 | =cut | ||
| 75 |