« blib/lib/Paws/MediaLive/AudioTrackSelection.pm
↑ Summary
blib/lib/Paws/MediaLive/AvailBlanking.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaLive::AutomaticInputFailoverSettings; | ||
| 3 | use Moose; | ||
| 4 | has ErrorClearTimeMsec => (is => 'ro', isa => 'Int', request_name => 'errorClearTimeMsec', traits => ['NameInRequest']); | ||
| 5 | has FailoverConditions => (is => 'ro', isa => 'ArrayRef[Paws::MediaLive::FailoverCondition]', request_name => 'failoverConditions', traits => ['NameInRequest']); | ||
| 6 | has InputPreference => (is => 'ro', isa => 'Str', request_name => 'inputPreference', traits => ['NameInRequest']); | ||
| 7 | has SecondaryInputId => (is => 'ro', isa => 'Str', request_name => 'secondaryInputId', traits => ['NameInRequest'], required => 1); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::MediaLive::AutomaticInputFailoverSettings | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::MediaLive::AutomaticInputFailoverSettings object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { ErrorClearTimeMsec => $value, ..., SecondaryInputId => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaLive::AutomaticInputFailoverSettings object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->ErrorClearTimeMsec | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | The settings for Automatic Input Failover. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 ErrorClearTimeMsec => Int | ||
| 45 | |||
| 46 | This clear time defines the requirement a recovered input must meet to | ||
| 47 | be considered healthy. The input must have no failover conditions for | ||
| 48 | this length of time. Enter a time in milliseconds. This value is | ||
| 49 | particularly important if the input_preference for the failover pair is | ||
| 50 | set to PRIMARY_INPUT_PREFERRED, because after this time, MediaLive will | ||
| 51 | switch back to the primary input. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 FailoverConditions => ArrayRef[L<Paws::MediaLive::FailoverCondition>] | ||
| 55 | |||
| 56 | A list of failover conditions. If any of these conditions occur, | ||
| 57 | MediaLive will perform a failover to the other input. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 InputPreference => Str | ||
| 61 | |||
| 62 | Input preference when deciding which input to make active when a | ||
| 63 | previously failed input has recovered. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> SecondaryInputId => Str | ||
| 67 | |||
| 68 | The input ID of the secondary input in the automatic input failover | ||
| 69 | pair. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head1 SEE ALSO | ||
| 74 | |||
| 75 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive> | ||
| 76 | |||
| 77 | =head1 BUGS and CONTRIBUTIONS | ||
| 78 | |||
| 79 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 80 | |||
| 81 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 82 | |||
| 83 | =cut | ||
| 84 |