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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-rekognition/types.rb

Constant Summary collapse

SENSITIVE =
[]

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:



4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
# File 'lib/aws-sdk-rekognition/types.rb', line 4135

class GetSegmentDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :audio_metadata,
  :next_token,
  :segments,
  :selected_segment_types,
  :job_id,
  :video,
  :job_tag)
  SENSITIVE = []
  include Aws::Structure
end

#job_idString

Job identifier for the segment detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartSegmentDetection.

Returns:

  • (String)


4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
# File 'lib/aws-sdk-rekognition/types.rb', line 4135

class GetSegmentDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :audio_metadata,
  :next_token,
  :segments,
  :selected_segment_types,
  :job_id,
  :video,
  :job_tag)
  SENSITIVE = []
  include Aws::Structure
end

#job_statusString

Current status of the segment detection job.

Returns:

  • (String)


4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
# File 'lib/aws-sdk-rekognition/types.rb', line 4135

class GetSegmentDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :audio_metadata,
  :next_token,
  :segments,
  :selected_segment_types,
  :job_id,
  :video,
  :job_tag)
  SENSITIVE = []
  include Aws::Structure
end

#job_tagString

A job identifier specified in the call to StartSegmentDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.

Returns:

  • (String)


4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
# File 'lib/aws-sdk-rekognition/types.rb', line 4135

class GetSegmentDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :audio_metadata,
  :next_token,
  :segments,
  :selected_segment_types,
  :job_id,
  :video,
  :job_tag)
  SENSITIVE = []
  include Aws::Structure
end

#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)


4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
# File 'lib/aws-sdk-rekognition/types.rb', line 4135

class GetSegmentDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :audio_metadata,
  :next_token,
  :segments,
  :selected_segment_types,
  :job_id,
  :video,
  :job_tag)
  SENSITIVE = []
  include Aws::Structure
end

#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:



4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
# File 'lib/aws-sdk-rekognition/types.rb', line 4135

class GetSegmentDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :audio_metadata,
  :next_token,
  :segments,
  :selected_segment_types,
  :job_id,
  :video,
  :job_tag)
  SENSITIVE = []
  include Aws::Structure
end

#selected_segment_typesArray<Types::SegmentTypeInfo>

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

Returns:



4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
# File 'lib/aws-sdk-rekognition/types.rb', line 4135

class GetSegmentDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :audio_metadata,
  :next_token,
  :segments,
  :selected_segment_types,
  :job_id,
  :video,
  :job_tag)
  SENSITIVE = []
  include Aws::Structure
end

#status_messageString

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

Returns:

  • (String)


4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
# File 'lib/aws-sdk-rekognition/types.rb', line 4135

class GetSegmentDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :audio_metadata,
  :next_token,
  :segments,
  :selected_segment_types,
  :job_id,
  :video,
  :job_tag)
  SENSITIVE = []
  include Aws::Structure
end

#videoTypes::Video

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use ‘Video` to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

Returns:



4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
# File 'lib/aws-sdk-rekognition/types.rb', line 4135

class GetSegmentDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :audio_metadata,
  :next_token,
  :segments,
  :selected_segment_types,
  :job_id,
  :video,
  :job_tag)
  SENSITIVE = []
  include Aws::Structure
end

#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:



4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
# File 'lib/aws-sdk-rekognition/types.rb', line 4135

class GetSegmentDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :audio_metadata,
  :next_token,
  :segments,
  :selected_segment_types,
  :job_id,
  :video,
  :job_tag)
  SENSITIVE = []
  include Aws::Structure
end