blib/lib/Paws/MediaConnect/UpdateFlowOutput.pm untested

filter: Statementstmt 0.0% 0 / 40 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 42 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::MediaConnect::UpdateFlowOutput;
3 use Moose;
4 has CidrAllowList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'cidrAllowList');
5 has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description');
6 has Destination => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destination');
7 has Encryption => (is => 'ro', isa => 'Paws::MediaConnect::UpdateEncryption', traits => ['NameInRequest'], request_name => 'encryption');
8 has FlowArn => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'flowArn', required => 1);
9 has MaxLatency => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxLatency');
10 has MediaStreamOutputConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::MediaConnect::MediaStreamOutputConfigurationRequest]', traits => ['NameInRequest'], request_name => 'mediaStreamOutputConfigurations');
11 has MinLatency => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'minLatency');
12 has OutputArn => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'outputArn', required => 1);
13 has Port => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'port');
14 has Protocol => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'protocol');
15 has RemoteId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'remoteId');
16 has SmoothingLatency => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'smoothingLatency');
17 has StreamId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'streamId');
18 has VpcInterfaceAttachment => (is => 'ro', isa => 'Paws::MediaConnect::VpcInterfaceAttachment', traits => ['NameInRequest'], request_name => 'vpcInterfaceAttachment');
19  
20 use MooseX::ClassAttribute;
21  
22 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateFlowOutput');
23 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/flows/{flowArn}/outputs/{outputArn}');
24 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
25 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaConnect::UpdateFlowOutputResponse');
26 1;
27  
28 ### main pod documentation begin ###
29  
30 =head1 NAME
31  
32 Paws::MediaConnect::UpdateFlowOutput - Arguments for method UpdateFlowOutput on L<Paws::MediaConnect>
33  
34 =head1 DESCRIPTION
35  
36 This class represents the parameters used for calling the method UpdateFlowOutput on the
37 L<AWS MediaConnect|Paws::MediaConnect> service. Use the attributes of this class
38 as arguments to method UpdateFlowOutput.
39  
40 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFlowOutput.
41  
42 =head1 SYNOPSIS
43  
44 my $mediaconnect = Paws->service('MediaConnect');
45 my $UpdateFlowOutputResponse = $mediaconnect->UpdateFlowOutput(
46 FlowArn => 'My__string',
47 OutputArn => 'My__string',
48 CidrAllowList => [ 'My__string', ... ], # OPTIONAL
49 Description => 'My__string', # OPTIONAL
50 Destination => 'My__string', # OPTIONAL
51 Encryption => {
52 Algorithm => 'aes128', # values: aes128, aes192, aes256; OPTIONAL
53 ConstantInitializationVector => 'My__string',
54 DeviceId => 'My__string',
55 KeyType => 'speke', # values: speke, static-key, srt-password; OPTIONAL
56 Region => 'My__string',
57 ResourceId => 'My__string',
58 RoleArn => 'My__string',
59 SecretArn => 'My__string',
60 Url => 'My__string',
61 }, # OPTIONAL
62 MaxLatency => 1, # OPTIONAL
63 MediaStreamOutputConfigurations => [
64 {
65 EncodingName => 'jxsv', # values: jxsv, raw, smpte291, pcm
66 MediaStreamName => 'My__string',
67 DestinationConfigurations => [
68 {
69 DestinationIp => 'My__string',
70 DestinationPort => 1,
71 Interface => {
72 Name => 'My__string',
73  
74 },
75  
76 },
77 ...
78 ], # OPTIONAL
79 EncodingParameters => {
80 CompressionFactor => 1,
81 EncoderProfile => 'main', # values: main, high
82  
83 }, # OPTIONAL
84 },
85 ...
86 ], # OPTIONAL
87 MinLatency => 1, # OPTIONAL
88 Port => 1, # OPTIONAL
89 Protocol => 'zixi-push', # OPTIONAL
90 RemoteId => 'My__string', # OPTIONAL
91 SmoothingLatency => 1, # OPTIONAL
92 StreamId => 'My__string', # OPTIONAL
93 VpcInterfaceAttachment => { VpcInterfaceName => 'My__string', }
94 , # OPTIONAL
95 );
96  
97 # Results:
98 my $FlowArn = $UpdateFlowOutputResponse->FlowArn;
99 my $Output = $UpdateFlowOutputResponse->Output;
100  
101 # Returns a L<Paws::MediaConnect::UpdateFlowOutputResponse> object.
102  
103 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
104 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mediaconnect/UpdateFlowOutput>
105  
106 =head1 ATTRIBUTES
107  
108  
109 =head2 CidrAllowList => ArrayRef[Str|Undef]
110  
111 The range of IP addresses that should be allowed to initiate output
112 requests to this flow. These IP addresses should be in the form of a
113 Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
114  
115  
116  
117 =head2 Description => Str
118  
119 A description of the output. This description appears only on the AWS
120 Elemental MediaConnect console and will not be seen by the end user.
121  
122  
123  
124 =head2 Destination => Str
125  
126 The IP address where you want to send the output.
127  
128  
129  
130 =head2 Encryption => L<Paws::MediaConnect::UpdateEncryption>
131  
132 The type of key used for the encryption. If no keyType is provided, the
133 service will use the default setting (static-key).
134  
135  
136  
137 =head2 B<REQUIRED> FlowArn => Str
138  
139 The flow that is associated with the output that you want to update.
140  
141  
142  
143 =head2 MaxLatency => Int
144  
145 The maximum latency in milliseconds for Zixi-based streams.
146  
147  
148  
149 =head2 MediaStreamOutputConfigurations => ArrayRef[L<Paws::MediaConnect::MediaStreamOutputConfigurationRequest>]
150  
151 The media streams that are associated with the output, and the
152 parameters for those associations.
153  
154  
155  
156 =head2 MinLatency => Int
157  
158 The minimum latency in milliseconds for SRT-based streams. In streams
159 that use the SRT protocol, this value that you set on your MediaConnect
160 source or output represents the minimal potential latency of that
161 connection. The latency of the stream is set to the highest number
162 between the senderE<rsquo>s minimum latency and the receiverE<rsquo>s
163 minimum latency.
164  
165  
166  
167 =head2 B<REQUIRED> OutputArn => Str
168  
169 The ARN of the output that you want to update.
170  
171  
172  
173 =head2 Port => Int
174  
175 The port to use when content is distributed to this output.
176  
177  
178  
179 =head2 Protocol => Str
180  
181 The protocol to use for the output.
182  
183 Valid values are: C<"zixi-push">, C<"rtp-fec">, C<"rtp">, C<"zixi-pull">, C<"rist">, C<"st2110-jpegxs">, C<"cdi">, C<"srt-listener">
184  
185 =head2 RemoteId => Str
186  
187 The remote ID for the Zixi-pull stream.
188  
189  
190  
191 =head2 SmoothingLatency => Int
192  
193 The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC
194 streams.
195  
196  
197  
198 =head2 StreamId => Str
199  
200 The stream ID that you want to use for this transport. This parameter
201 applies only to Zixi-based streams.
202  
203  
204  
205 =head2 VpcInterfaceAttachment => L<Paws::MediaConnect::VpcInterfaceAttachment>
206  
207 The name of the VPC interface attachment to use for this output.
208  
209  
210  
211  
212 =head1 SEE ALSO
213  
214 This class forms part of L<Paws>, documenting arguments for method UpdateFlowOutput in L<Paws::MediaConnect>
215  
216 =head1 BUGS and CONTRIBUTIONS
217  
218 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
219  
220 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
221  
222 =cut
223