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
show all
Defined in:
(unknown)

Overview

Note:

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: "String",
  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

Instance Attribute Details

#fragment_selectorTypes::FragmentSelector

Describes the time stamp range and time stamp origin for the range of fragments to return.

Returns:

  • (Types::FragmentSelector)

    Describes the time stamp range and time stamp origin for the range of fragments to return.

#max_resultsInteger

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.

Returns:

  • (Integer)

    The total number of fragments to return.

#next_tokenString

A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.

Returns:

  • (String)

    A token to specify where to start paginating.

#stream_nameString

The name of the stream from which to retrieve a fragment list.

Returns:

  • (String)

    The name of the stream from which to retrieve a fragment list.