Module: WscSdk::Enums::IdleTimeout

Extended by:
WscSdk::Enums
Defined in:
lib/wsc_sdk/enums/idle_timeout.rb

Overview

Enumerate valid idle timeouts for a Transcoder.

Constant Summary collapse

NONE =

No idle timeout. The transcoder will run without stopping automatically

0
ONE_MINUTE =

Timeout after 1 minute of inactivity from the source.

1
TEN_MINUTES =

Timeout after 10 minutes of inactivity from the source.

600
TWENTY_MINUTES =

Timeout after 20 minutes of inactivity from the source.

1200
THIRTY_MINUTES =

Timeout after 30 minutes of inactivity from the source.

1800
ONE_HOUR =

Timeout after 1 hour of inactivity from the source.

3600
SIX_HOURS =

Timeout after 6 hours of inactivity from the source.

21600
TWELVE_HOURS =

Timeout after 12 hours of inactivity from the source.

43200
ONE_DAY =

Timeout after 1 day of inactivity from the source.

86400
TWO_DAYS =

Timeout after 2 days of inactivity from the source.

172800

Class Method Summary collapse

Methods included from WscSdk::Enums

to_constant, values

Class Method Details

.valuesObject

Return the valid range of values for the idle timeout.



44
45
46
# File 'lib/wsc_sdk/enums/idle_timeout.rb', line 44

def self.values
  (NONE..TWO_DAYS)
end