GetSegmentDetectionResponse
public struct GetSegmentDetectionResponse : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.
Declaration
Swift
public let audioMetadata: [AudioMetadata]?
-
Current status of the segment detection job.
Declaration
Swift
public let jobStatus: VideoJobStatus?
-
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.
Declaration
Swift
public let nextToken: String?
-
An array of segments detected in a video.
Declaration
Swift
public let segments: [SegmentDetection]?
-
An array containing the segment types requested in the call to StartSegmentDetection.
Declaration
Swift
public let selectedSegmentTypes: [SegmentTypeInfo]?
-
If the job fails, StatusMessage provides a descriptive error message.
Declaration
Swift
public let statusMessage: String?
-
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.
Declaration
Swift
public let videoMetadata: [VideoMetadata]?
-
Undocumented
Declaration
Swift
public init(audioMetadata: [AudioMetadata]? = nil, jobStatus: VideoJobStatus? = nil, nextToken: String? = nil, segments: [SegmentDetection]? = nil, selectedSegmentTypes: [SegmentTypeInfo]? = nil, statusMessage: String? = nil, videoMetadata: [VideoMetadata]? = nil)