blib/lib/Paws/IVS/UpdateChannel.pm untested

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IVS::UpdateChannel;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'arn', required => 1);
5 has Authorized => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'authorized');
6 has LatencyMode => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'latencyMode');
7 has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name');
8 has RecordingConfigurationArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'recordingConfigurationArn');
9 has Type => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'type');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateChannel');
14 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/UpdateChannel');
15 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IVS::UpdateChannelResponse');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::IVS::UpdateChannel - Arguments for method UpdateChannel on L<Paws::IVS>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method UpdateChannel on the
28 L<Amazon Interactive Video Service|Paws::IVS> service. Use the attributes of this class
29 as arguments to method UpdateChannel.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateChannel.
32  
33 =head1 SYNOPSIS
34  
35 my $ivs = Paws->service('IVS');
36 my $UpdateChannelResponse = $ivs->UpdateChannel(
37 Arn => 'MyChannelArn',
38 Authorized => 1, # OPTIONAL
39 LatencyMode => 'NORMAL', # OPTIONAL
40 Name => 'MyChannelName', # OPTIONAL
41 RecordingConfigurationArn =>
42 'MyChannelRecordingConfigurationArn', # OPTIONAL
43 Type => 'BASIC', # OPTIONAL
44 );
45  
46 # Results:
47 my $Channel = $UpdateChannelResponse->Channel;
48  
49 # Returns a L<Paws::IVS::UpdateChannelResponse> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ivs/UpdateChannel>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 B<REQUIRED> Arn => Str
58  
59 ARN of the channel to be updated.
60  
61  
62  
63 =head2 Authorized => Bool
64  
65 Whether the channel is private (enabled for playback authorization).
66  
67  
68  
69 =head2 LatencyMode => Str
70  
71 Channel latency mode. Use C<NORMAL> to broadcast and deliver live video
72 up to Full HD. Use C<LOW> for near-real-time interaction with viewers.
73 (Note: In the Amazon IVS console, C<LOW> and C<NORMAL> correspond to
74 Ultra-low and Standard, respectively.)
75  
76 Valid values are: C<"NORMAL">, C<"LOW">
77  
78 =head2 Name => Str
79  
80 Channel name.
81  
82  
83  
84 =head2 RecordingConfigurationArn => Str
85  
86 Recording-configuration ARN. If this is set to an empty string,
87 recording is disabled. A value other than an empty string indicates
88 that recording is enabled
89  
90  
91  
92 =head2 Type => Str
93  
94 Channel type, which determines the allowable resolution and bitrate.
95 I<If you exceed the allowable resolution or bitrate, the stream
96 probably will disconnect immediately>. Valid values:
97  
98 =over
99  
100 =item *
101  
102 C<STANDARD>: Multiple qualities are generated from the original input,
103 to automatically give viewers the best experience for their devices and
104 network conditions. Vertical resolution can be up to 1080 and bitrate
105 can be up to 8.5 Mbps.
106  
107 =item *
108  
109 C<BASIC>: Amazon IVS delivers the original input to viewers. The
110 viewerE<rsquo>s video-quality choice is limited to the original input.
111 Vertical resolution can be up to 480 and bitrate can be up to 1.5 Mbps.
112  
113 =back
114  
115  
116 Valid values are: C<"BASIC">, C<"STANDARD">
117  
118  
119 =head1 SEE ALSO
120  
121 This class forms part of L<Paws>, documenting arguments for method UpdateChannel in L<Paws::IVS>
122  
123 =head1 BUGS and CONTRIBUTIONS
124  
125 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
126  
127 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
128  
129 =cut
130