« blib/lib/Paws/Rekognition/GetSegmentDetection.pm
↑ Summary
blib/lib/Paws/Rekognition/GetTextDetection.pm »
| 1 | |||
| 2 | package Paws::Rekognition::GetSegmentDetectionResponse; | ||
| 3 | use Moose; | ||
| 4 | has AudioMetadata => (is => 'ro', isa => 'ArrayRef[Paws::Rekognition::AudioMetadata]'); | ||
| 5 | has JobStatus => (is => 'ro', isa => 'Str'); | ||
| 6 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 7 | has Segments => (is => 'ro', isa => 'ArrayRef[Paws::Rekognition::SegmentDetection]'); | ||
| 8 | has SelectedSegmentTypes => (is => 'ro', isa => 'ArrayRef[Paws::Rekognition::SegmentTypeInfo]'); | ||
| 9 | has StatusMessage => (is => 'ro', isa => 'Str'); | ||
| 10 | has VideoMetadata => (is => 'ro', isa => 'ArrayRef[Paws::Rekognition::VideoMetadata]'); | ||
| 11 | |||
| 12 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::Rekognition::GetSegmentDetectionResponse | ||
| 19 | |||
| 20 | =head1 ATTRIBUTES | ||
| 21 | |||
| 22 | |||
| 23 | =head2 AudioMetadata => ArrayRef[L<Paws::Rekognition::AudioMetadata>] | ||
| 24 | |||
| 25 | An array of objects. There can be multiple audio streams. Each | ||
| 26 | C<AudioMetadata> object contains metadata for a single audio stream. | ||
| 27 | Audio information in an C<AudioMetadata> objects includes the audio | ||
| 28 | codec, the number of audio channels, the duration of the audio stream, | ||
| 29 | and the sample rate. Audio metadata is returned in each page of | ||
| 30 | information returned by C<GetSegmentDetection>. | ||
| 31 | |||
| 32 | |||
| 33 | =head2 JobStatus => Str | ||
| 34 | |||
| 35 | Current status of the segment detection job. | ||
| 36 | |||
| 37 | Valid values are: C<"IN_PROGRESS">, C<"SUCCEEDED">, C<"FAILED"> | ||
| 38 | =head2 NextToken => Str | ||
| 39 | |||
| 40 | If the previous response was incomplete (because there are more labels | ||
| 41 | to retrieve), Amazon Rekognition Video returns a pagination token in | ||
| 42 | the response. You can use this pagination token to retrieve the next | ||
| 43 | set of text. | ||
| 44 | |||
| 45 | |||
| 46 | =head2 Segments => ArrayRef[L<Paws::Rekognition::SegmentDetection>] | ||
| 47 | |||
| 48 | An array of segments detected in a video. The array is sorted by the | ||
| 49 | segment types (TECHNICAL_CUE or SHOT) specified in the C<SegmentTypes> | ||
| 50 | input parameter of C<StartSegmentDetection>. Within each segment type | ||
| 51 | the array is sorted by timestamp values. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 SelectedSegmentTypes => ArrayRef[L<Paws::Rekognition::SegmentTypeInfo>] | ||
| 55 | |||
| 56 | An array containing the segment types requested in the call to | ||
| 57 | C<StartSegmentDetection>. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 StatusMessage => Str | ||
| 61 | |||
| 62 | If the job fails, C<StatusMessage> provides a descriptive error | ||
| 63 | message. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 VideoMetadata => ArrayRef[L<Paws::Rekognition::VideoMetadata>] | ||
| 67 | |||
| 68 | Currently, Amazon Rekognition Video returns a single object in the | ||
| 69 | C<VideoMetadata> array. The object contains information about the video | ||
| 70 | stream in the input file that Amazon Rekognition Video chose to | ||
| 71 | analyze. The C<VideoMetadata> object includes the video codec, video | ||
| 72 | format and other information. Video metadata is returned in each page | ||
| 73 | of information returned by C<GetSegmentDetection>. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 _request_id => Str | ||
| 77 | |||
| 78 | |||
| 79 | =cut | ||
| 80 | |||
| 81 | 1; |