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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetMediaInput as input to an Aws::Client method, you can use a vanilla 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.

Returns:

#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)

    The ARN of the stream from where you want to get the media content.

#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)

    The Kinesis video stream name from where you want to get the media content.