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

Class: Aws::KinesisVideoMedia::Types::GetMediaInput

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

Overview

Note:

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

{
  stream_name: "StreamName",
  stream_arn: "ResourceARN",
  start_selector: { # required
    start_selector_type: "FRAGMENT_NUMBER", # required, accepts FRAGMENT_NUMBER, SERVER_TIMESTAMP, PRODUCER_TIMESTAMP, NOW, EARLIEST, CONTINUATION_TOKEN
    after_fragment_number: "FragmentNumberString",
    start_timestamp: Time.now,
    continuation_token: "ContinuationToken",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#start_selectorTypes::StartSelector

Identifies the starting chunk to get from the specified stream.



43
44
45
46
47
48
# File 'gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/types.rb', line 43

class GetMediaInput < Struct.new(
  :stream_name,
  :stream_arn,
  :start_selector)
  include Aws::Structure
end

#stream_arnString

The ARN of the stream from where you want to get the media content. If you don't specify the streamARN, you must specify the streamName.

Returns:

  • (String)


43
44
45
46
47
48
# File 'gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/types.rb', line 43

class GetMediaInput < Struct.new(
  :stream_name,
  :stream_arn,
  :start_selector)
  include Aws::Structure
end

#stream_nameString

The Kinesis video stream name from where you want to get the media content. If you don't specify the streamName, you must specify the streamARN.

Returns:

  • (String)


43
44
45
46
47
48
# File 'gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/types.rb', line 43

class GetMediaInput < Struct.new(
  :stream_name,
  :stream_arn,
  :start_selector)
  include Aws::Structure
end