You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::KinesisVideoArchivedMedia::Types::ListFragmentsInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::KinesisVideoArchivedMedia::Types::ListFragmentsInput
- Defined in:
- (unknown)
Overview
When passing ListFragmentsInput as input to an Aws::Client method, you can use a vanilla Hash:
{
stream_name: "StreamName", # required
max_results: 1,
next_token: "NextToken",
fragment_selector: {
fragment_selector_type: "PRODUCER_TIMESTAMP", # required, accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
timestamp_range: { # required
start_timestamp: Time.now, # required
end_timestamp: Time.now, # required
},
},
}
Instance Attribute Summary collapse
-
#fragment_selector ⇒ Types::FragmentSelector
Describes the timestamp range and timestamp origin for the range of fragments to return.
-
#max_results ⇒ Integer
The total number of fragments to return.
-
#next_token ⇒ String
A token to specify where to start paginating.
-
#stream_name ⇒ String
The name of the stream from which to retrieve a fragment list.
Instance Attribute Details
#fragment_selector ⇒ Types::FragmentSelector
Describes the timestamp range and timestamp origin for the range of fragments to return.
#max_results ⇒ Integer
The total number of fragments to return. If the total number of
fragments available is more than the value specified in max-results
,
then a ListFragmentsOutput$NextToken is provided in the output
that you can use to resume pagination.
#next_token ⇒ String
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
#stream_name ⇒ String
The name of the stream from which to retrieve a fragment list.