Class: Aws::KinesisVideoArchivedMedia::Types::GetClipInput

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 GetClipInput data as a hash:

{
  stream_name: "StreamName",
  stream_arn: "ResourceARN",
  clip_fragment_selector: { # required
    fragment_selector_type: "PRODUCER_TIMESTAMP", # required, accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
    timestamp_range: { # required
      start_timestamp: Time.now, # required
      end_timestamp: Time.now, # required
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#clip_fragment_selectorTypes::ClipFragmentSelector

The time range of the requested clip and the source of the timestamps.



358
359
360
361
362
363
364
# File 'gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 358

class GetClipInput < Struct.new(
  :stream_name,
  :stream_arn,
  :clip_fragment_selector)
  SENSITIVE = []
  include Aws::Structure
end

#stream_arnString

The Amazon Resource Name (ARN) of the stream for which to retrieve the media clip.

You must specify either the StreamName or the StreamARN.

Returns:

  • (String)


358
359
360
361
362
363
364
# File 'gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 358

class GetClipInput < Struct.new(
  :stream_name,
  :stream_arn,
  :clip_fragment_selector)
  SENSITIVE = []
  include Aws::Structure
end

#stream_nameString

The name of the stream for which to retrieve the media clip.

You must specify either the StreamName or the StreamARN.

Returns:

  • (String)


358
359
360
361
362
363
364
# File 'gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 358

class GetClipInput < Struct.new(
  :stream_name,
  :stream_arn,
  :clip_fragment_selector)
  SENSITIVE = []
  include Aws::Structure
end