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

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::MediaLive::UpdateInputDevice;
3 use Moose;
4 has HdDeviceSettings => (is => 'ro', isa => 'Paws::MediaLive::InputDeviceConfigurableSettings', traits => ['NameInRequest'], request_name => 'hdDeviceSettings');
5 has InputDeviceId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'inputDeviceId', required => 1);
6 has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name');
7 has UhdDeviceSettings => (is => 'ro', isa => 'Paws::MediaLive::InputDeviceConfigurableSettings', traits => ['NameInRequest'], request_name => 'uhdDeviceSettings');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateInputDevice');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/prod/inputDevices/{inputDeviceId}');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaLive::UpdateInputDeviceResponse');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::MediaLive::UpdateInputDevice - Arguments for method UpdateInputDevice on L<Paws::MediaLive>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method UpdateInputDevice on the
26 L<AWS Elemental MediaLive|Paws::MediaLive> service. Use the attributes of this class
27 as arguments to method UpdateInputDevice.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateInputDevice.
30  
31 =head1 SYNOPSIS
32  
33 my $medialive = Paws->service('MediaLive');
34 my $UpdateInputDeviceResponse = $medialive->UpdateInputDevice(
35 InputDeviceId => 'My__string',
36 HdDeviceSettings => {
37 ConfiguredInput => 'AUTO', # values: AUTO, HDMI, SDI; OPTIONAL
38 MaxBitrate => 1, # OPTIONAL
39 }, # OPTIONAL
40 Name => 'My__string', # OPTIONAL
41 UhdDeviceSettings => {
42 ConfiguredInput => 'AUTO', # values: AUTO, HDMI, SDI; OPTIONAL
43 MaxBitrate => 1, # OPTIONAL
44 }, # OPTIONAL
45 );
46  
47 # Results:
48 my $Arn = $UpdateInputDeviceResponse->Arn;
49 my $ConnectionState = $UpdateInputDeviceResponse->ConnectionState;
50 my $DeviceSettingsSyncState =
51 $UpdateInputDeviceResponse->DeviceSettingsSyncState;
52 my $DeviceUpdateStatus = $UpdateInputDeviceResponse->DeviceUpdateStatus;
53 my $HdDeviceSettings = $UpdateInputDeviceResponse->HdDeviceSettings;
54 my $Id = $UpdateInputDeviceResponse->Id;
55 my $MacAddress = $UpdateInputDeviceResponse->MacAddress;
56 my $Name = $UpdateInputDeviceResponse->Name;
57 my $NetworkSettings = $UpdateInputDeviceResponse->NetworkSettings;
58 my $SerialNumber = $UpdateInputDeviceResponse->SerialNumber;
59 my $Type = $UpdateInputDeviceResponse->Type;
60 my $UhdDeviceSettings = $UpdateInputDeviceResponse->UhdDeviceSettings;
61  
62 # Returns a L<Paws::MediaLive::UpdateInputDeviceResponse> object.
63  
64 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.
65 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/medialive/UpdateInputDevice>
66  
67 =head1 ATTRIBUTES
68  
69  
70 =head2 HdDeviceSettings => L<Paws::MediaLive::InputDeviceConfigurableSettings>
71  
72 The settings that you want to apply to the HD input device.
73  
74  
75  
76 =head2 B<REQUIRED> InputDeviceId => Str
77  
78 The unique ID of the input device. For example, hd-123456789abcdef.
79  
80  
81  
82 =head2 Name => Str
83  
84 The name that you assigned to this input device (not the unique ID).
85  
86  
87  
88 =head2 UhdDeviceSettings => L<Paws::MediaLive::InputDeviceConfigurableSettings>
89  
90 The settings that you want to apply to the UHD input device.
91  
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, documenting arguments for method UpdateInputDevice in L<Paws::MediaLive>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut
106