blib/lib/Paws/MediaLive/Input.pm untested

filter: Statementstmt 0.0% 0 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 36 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaLive::Input;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
5 has AttachedChannels => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'attachedChannels', traits => ['NameInRequest']);
6 has Destinations => (is => 'ro', isa => 'ArrayRef[Paws::MediaLive::InputDestination]', request_name => 'destinations', traits => ['NameInRequest']);
7 has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest']);
8 has InputClass => (is => 'ro', isa => 'Str', request_name => 'inputClass', traits => ['NameInRequest']);
9 has InputDevices => (is => 'ro', isa => 'ArrayRef[Paws::MediaLive::InputDeviceSettings]', request_name => 'inputDevices', traits => ['NameInRequest']);
10 has InputPartnerIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'inputPartnerIds', traits => ['NameInRequest']);
11 has InputSourceType => (is => 'ro', isa => 'Str', request_name => 'inputSourceType', traits => ['NameInRequest']);
12 has MediaConnectFlows => (is => 'ro', isa => 'ArrayRef[Paws::MediaLive::MediaConnectFlow]', request_name => 'mediaConnectFlows', traits => ['NameInRequest']);
13 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
14 has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest']);
15 has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'securityGroups', traits => ['NameInRequest']);
16 has Sources => (is => 'ro', isa => 'ArrayRef[Paws::MediaLive::InputSource]', request_name => 'sources', traits => ['NameInRequest']);
17 has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
18 has Tags => (is => 'ro', isa => 'Paws::MediaLive::Tags', request_name => 'tags', traits => ['NameInRequest']);
19 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
20  
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::MediaLive::Input
28  
29 =head1 USAGE
30  
31 This class represents one of two things:
32  
33 =head3 Arguments in a call to a service
34  
35 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36 Each attribute should be used as a named argument in the calls that expect this type of object.
37  
38 As an example, if Att1 is expected to be a Paws::MediaLive::Input object:
39  
40 $service_obj->Method(Att1 => { Arn => $value, ..., Type => $value });
41  
42 =head3 Results returned from an API call
43  
44 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaLive::Input object:
45  
46 $result = $service_obj->Method(...);
47 $result->Att1->Arn
48  
49 =head1 DESCRIPTION
50  
51 Placeholder documentation for Input
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 Arn => Str
57  
58 The Unique ARN of the input (generated, immutable).
59  
60  
61 =head2 AttachedChannels => ArrayRef[Str|Undef]
62  
63 A list of channel IDs that that input is attached to (currently an
64 input can only be attached to one channel).
65  
66  
67 =head2 Destinations => ArrayRef[L<Paws::MediaLive::InputDestination>]
68  
69 A list of the destinations of the input (PUSH-type).
70  
71  
72 =head2 Id => Str
73  
74 The generated ID of the input (unique for user account, immutable).
75  
76  
77 =head2 InputClass => Str
78  
79 STANDARD - MediaLive expects two sources to be connected to this input.
80 If the channel is also STANDARD, both sources will be ingested. If the
81 channel is SINGLE_PIPELINE, only the first source will be ingested; the
82 second source will always be ignored, even if the first source fails.
83 SINGLE_PIPELINE - You can connect only one source to this input. If the
84 ChannelClass is also SINGLE_PIPELINE, this value is valid. If the
85 ChannelClass is STANDARD, this value is not valid because the channel
86 requires two sources in the input.
87  
88  
89 =head2 InputDevices => ArrayRef[L<Paws::MediaLive::InputDeviceSettings>]
90  
91 Settings for the input devices.
92  
93  
94 =head2 InputPartnerIds => ArrayRef[Str|Undef]
95  
96 A list of IDs for all Inputs which are partners of this one.
97  
98  
99 =head2 InputSourceType => Str
100  
101 Certain pull input sources can be dynamic, meaning that they can have
102 their URL's dynamically changes during input switch actions. Presently,
103 this functionality only works with MP4_FILE inputs.
104  
105  
106 =head2 MediaConnectFlows => ArrayRef[L<Paws::MediaLive::MediaConnectFlow>]
107  
108 A list of MediaConnect Flows for this input.
109  
110  
111 =head2 Name => Str
112  
113 The user-assigned name (This is a mutable value).
114  
115  
116 =head2 RoleArn => Str
117  
118 The Amazon Resource Name (ARN) of the role this input assumes during
119 and after creation.
120  
121  
122 =head2 SecurityGroups => ArrayRef[Str|Undef]
123  
124 A list of IDs for all the Input Security Groups attached to the input.
125  
126  
127 =head2 Sources => ArrayRef[L<Paws::MediaLive::InputSource>]
128  
129 A list of the sources of the input (PULL-type).
130  
131  
132 =head2 State => Str
133  
134  
135  
136  
137 =head2 Tags => L<Paws::MediaLive::Tags>
138  
139 A collection of key-value pairs.
140  
141  
142 =head2 Type => Str
143  
144  
145  
146  
147  
148 =head1 SEE ALSO
149  
150 This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive>
151  
152 =head1 BUGS and CONTRIBUTIONS
153  
154 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
155  
156 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
157  
158 =cut
159