Class: Aws::Rekognition::Types::KinesisVideoStreamStartSelector

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

Overview

Note:

When making an API call, you may pass KinesisVideoStreamStartSelector data as a hash:

{
  producer_timestamp: 1,
  fragment_number: "KinesisVideoStreamFragmentNumber",
}

Specifies the starting point in a Kinesis stream to start processing. You can use the producer timestamp or the fragment number. One of either producer timestamp or fragment number is required. If you use the producer timestamp, you must put the time in milliseconds. For more information about fragment numbers, see Fragment.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fragment_numberString

The unique identifier of the fragment. This value monotonically increases based on the ingestion order.

Returns:

  • (String)


4452
4453
4454
4455
4456
4457
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4452

class KinesisVideoStreamStartSelector < Struct.new(
  :producer_timestamp,
  :fragment_number)
  SENSITIVE = []
  include Aws::Structure
end

#producer_timestampInteger

The timestamp from the producer corresponding to the fragment, in milliseconds, expressed in unix time format.

Returns:

  • (Integer)


4452
4453
4454
4455
4456
4457
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4452

class KinesisVideoStreamStartSelector < Struct.new(
  :producer_timestamp,
  :fragment_number)
  SENSITIVE = []
  include Aws::Structure
end