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

Class: Aws::KinesisVideoArchivedMedia::Types::FragmentSelector

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

Overview

Note:

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

{
  fragment_selector_type: "PRODUCER_TIMESTAMP", # required, accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
  timestamp_range: { # required
    start_timestamp: Time.now, # required
    end_timestamp: Time.now, # required
  },
}

Describes the time stamp range and time stamp origin of a range of fragments.

Instance Attribute Summary collapse

Instance Attribute Details

#fragment_selector_typeString

The origin of the time stamps to use (Server or Producer).

Returns:

  • (String)


70
71
72
73
74
# File 'gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 70

class FragmentSelector < Struct.new(
  :fragment_selector_type,
  :timestamp_range)
  include Aws::Structure
end

#timestamp_rangeTypes::TimestampRange

The range of time stamps to return.



70
71
72
73
74
# File 'gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 70

class FragmentSelector < Struct.new(
  :fragment_selector_type,
  :timestamp_range)
  include Aws::Structure
end