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
- Struct
- Aws::KinesisVideoMedia::Types::GetMediaInput
- Defined in:
- (unknown)
Overview
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
-
#start_selector ⇒ Types::StartSelector
Identifies the starting chunk to get from the specified stream.
-
#stream_arn ⇒ String
The ARN of the stream from where you want to get the media content.
-
#stream_name ⇒ String
The Kinesis video stream name from where you want to get the media content.
Instance Attribute Details
#start_selector ⇒ Types::StartSelector
Identifies the starting chunk to get from the specified stream.
#stream_arn ⇒ String
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
.
#stream_name ⇒ String
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
.