Class: Aws::IVS::Types::StreamSummary

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ivs/types.rb

Overview

Summary information about a stream.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channel_arnString

Channel ARN for the stream.

Returns:

  • (String)


2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
# File 'lib/aws-sdk-ivs/types.rb', line 2119

class StreamSummary < Struct.new(
  :channel_arn,
  :stream_id,
  :state,
  :health,
  :viewer_count,
  :start_time)
  SENSITIVE = []
  include Aws::Structure
end

#healthString

The stream’s health.

Returns:

  • (String)


2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
# File 'lib/aws-sdk-ivs/types.rb', line 2119

class StreamSummary < Struct.new(
  :channel_arn,
  :stream_id,
  :state,
  :health,
  :viewer_count,
  :start_time)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

Time of the stream’s start. This is an ISO 8601 timestamp; *note that this is returned as a string*.

Returns:

  • (Time)


2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
# File 'lib/aws-sdk-ivs/types.rb', line 2119

class StreamSummary < Struct.new(
  :channel_arn,
  :stream_id,
  :state,
  :health,
  :viewer_count,
  :start_time)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The stream’s state. Do not rely on the ‘OFFLINE` state, as the API may not return it; instead, a “NotBroadcasting” error will indicate that the stream is not live.

Returns:

  • (String)


2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
# File 'lib/aws-sdk-ivs/types.rb', line 2119

class StreamSummary < Struct.new(
  :channel_arn,
  :stream_id,
  :state,
  :health,
  :viewer_count,
  :start_time)
  SENSITIVE = []
  include Aws::Structure
end

#stream_idString

Unique identifier for a live or previously live stream in the specified channel.

Returns:

  • (String)


2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
# File 'lib/aws-sdk-ivs/types.rb', line 2119

class StreamSummary < Struct.new(
  :channel_arn,
  :stream_id,
  :state,
  :health,
  :viewer_count,
  :start_time)
  SENSITIVE = []
  include Aws::Structure
end

#viewer_countInteger

A count of concurrent views of the stream. Typically, a new view appears in ‘viewerCount` within 15 seconds of when video playback starts and a view is removed from `viewerCount` within 1 minute of when video playback ends. A value of -1 indicates that the request timed out; in this case, retry.

Returns:

  • (Integer)


2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
# File 'lib/aws-sdk-ivs/types.rb', line 2119

class StreamSummary < Struct.new(
  :channel_arn,
  :stream_id,
  :state,
  :health,
  :viewer_count,
  :start_time)
  SENSITIVE = []
  include Aws::Structure
end