You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Rekognition::Types::GetSegmentDetectionResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#audio_metadataArray<Types::AudioMetadata>

An array of objects. There can be multiple audio streams. Each AudioMetadata object contains metadata for a single audio stream. Audio information in an AudioMetadata objects includes the audio codec, the number of audio channels, the duration of the audio stream, and the sample rate. Audio metadata is returned in each page of information returned by GetSegmentDetection.

Returns:

#job_statusString

Current status of the segment detection job.

Possible values:

  • IN_PROGRESS
  • SUCCEEDED
  • FAILED

Returns:

  • (String)

    Current status of the segment detection job.

#next_tokenString

If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of text.

Returns:

  • (String)

    If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response.

#segmentsArray<Types::SegmentDetection>

An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or SHOT) specified in the SegmentTypes input parameter of StartSegmentDetection. Within each segment type the array is sorted by timestamp values.

Returns:

#selected_segment_typesArray<Types::SegmentTypeInfo>

An array containing the segment types requested in the call to StartSegmentDetection.

Returns:

  • (Array<Types::SegmentTypeInfo>)

    An array containing the segment types requested in the call to StartSegmentDetection.

#status_messageString

If the job fails, StatusMessage provides a descriptive error message.

Returns:

  • (String)

    If the job fails, StatusMessage provides a descriptive error message.

#video_metadataArray<Types::VideoMetadata>

Currently, Amazon Rekognition Video returns a single object in the VideoMetadata array. The object contains information about the video stream in the input file that Amazon Rekognition Video chose to analyze. The VideoMetadata object includes the video codec, video format and other information. Video metadata is returned in each page of information returned by GetSegmentDetection.

Returns:

  • (Array<Types::VideoMetadata>)

    Currently, Amazon Rekognition Video returns a single object in the VideoMetadata array.