Class: Aws::Rekognition::Types::GetSegmentDetectionResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::GetSegmentDetectionResponse
- Defined in:
- gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#audio_metadata ⇒ Array<Types::AudioMetadata>
An array of objects.
-
#job_status ⇒ String
Current status of the segment detection job.
-
#next_token ⇒ String
If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response.
-
#segments ⇒ Array<Types::SegmentDetection>
An array of segments detected in a video.
-
#selected_segment_types ⇒ Array<Types::SegmentTypeInfo>
An array containing the segment types requested in the call to
StartSegmentDetection
. -
#status_message ⇒ String
If the job fails,
StatusMessage
provides a descriptive error message. -
#video_metadata ⇒ Array<Types::VideoMetadata>
Currently, Amazon Rekognition Video returns a single object in the
VideoMetadata
array.
Instance Attribute Details
#audio_metadata ⇒ Array<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
.
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2701 class GetSegmentDetectionResponse < Struct.new( :job_status, :status_message, :video_metadata, :audio_metadata, :next_token, :segments, :selected_segment_types) SENSITIVE = [] include Aws::Structure end |
#job_status ⇒ String
Current status of the segment detection job.
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2701 class GetSegmentDetectionResponse < Struct.new( :job_status, :status_message, :video_metadata, :audio_metadata, :next_token, :segments, :selected_segment_types) SENSITIVE = [] include Aws::Structure end |
#next_token ⇒ String
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.
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2701 class GetSegmentDetectionResponse < Struct.new( :job_status, :status_message, :video_metadata, :audio_metadata, :next_token, :segments, :selected_segment_types) SENSITIVE = [] include Aws::Structure end |
#segments ⇒ Array<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.
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2701 class GetSegmentDetectionResponse < Struct.new( :job_status, :status_message, :video_metadata, :audio_metadata, :next_token, :segments, :selected_segment_types) SENSITIVE = [] include Aws::Structure end |
#selected_segment_types ⇒ Array<Types::SegmentTypeInfo>
An array containing the segment types requested in the call to
StartSegmentDetection
.
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2701 class GetSegmentDetectionResponse < Struct.new( :job_status, :status_message, :video_metadata, :audio_metadata, :next_token, :segments, :selected_segment_types) SENSITIVE = [] include Aws::Structure end |
#status_message ⇒ String
If the job fails, StatusMessage
provides a descriptive error
message.
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2701 class GetSegmentDetectionResponse < Struct.new( :job_status, :status_message, :video_metadata, :audio_metadata, :next_token, :segments, :selected_segment_types) SENSITIVE = [] include Aws::Structure end |
#video_metadata ⇒ Array<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
.
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2701 class GetSegmentDetectionResponse < Struct.new( :job_status, :status_message, :video_metadata, :audio_metadata, :next_token, :segments, :selected_segment_types) SENSITIVE = [] include Aws::Structure end |