blib/lib/Paws/IoTWireless/UpdateWirelessDevice.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoTWireless::UpdateWirelessDevice;
3 use Moose;
4 has Description => (is => 'ro', isa => 'Str');
5 has DestinationName => (is => 'ro', isa => 'Str');
6 has Id => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'Id', required => 1);
7 has LoRaWAN => (is => 'ro', isa => 'Paws::IoTWireless::LoRaWANUpdateDevice');
8 has Name => (is => 'ro', isa => 'Str');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateWirelessDevice');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/wireless-devices/{Id}');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoTWireless::UpdateWirelessDeviceResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::IoTWireless::UpdateWirelessDevice - Arguments for method UpdateWirelessDevice on L<Paws::IoTWireless>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method UpdateWirelessDevice on the
27 L<AWS IoT Wireless|Paws::IoTWireless> service. Use the attributes of this class
28 as arguments to method UpdateWirelessDevice.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateWirelessDevice.
31  
32 =head1 SYNOPSIS
33  
34 my $api.iotwireless = Paws->service('IoTWireless');
35 my $UpdateWirelessDeviceResponse = $api . iotwireless->UpdateWirelessDevice(
36 Id => 'MyWirelessDeviceId',
37 Description => 'MyDescription', # OPTIONAL
38 DestinationName => 'MyDestinationName', # OPTIONAL
39 LoRaWAN => {
40 DeviceProfileId => 'MyDeviceProfileId', # max: 256; OPTIONAL
41 ServiceProfileId => 'MyServiceProfileId', # max: 256; OPTIONAL
42 }, # OPTIONAL
43 Name => 'MyWirelessDeviceName', # OPTIONAL
44 );
45  
46 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.
47 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.iotwireless/UpdateWirelessDevice>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 Description => Str
53  
54 A new description of the resource.
55  
56  
57  
58 =head2 DestinationName => Str
59  
60 The name of the new destination for the device.
61  
62  
63  
64 =head2 B<REQUIRED> Id => Str
65  
66 The ID of the resource to update.
67  
68  
69  
70 =head2 LoRaWAN => L<Paws::IoTWireless::LoRaWANUpdateDevice>
71  
72 The updated wireless device's configuration.
73  
74  
75  
76 =head2 Name => Str
77  
78 The new name of the resource.
79  
80  
81  
82  
83 =head1 SEE ALSO
84  
85 This class forms part of L<Paws>, documenting arguments for method UpdateWirelessDevice in L<Paws::IoTWireless>
86  
87 =head1 BUGS and CONTRIBUTIONS
88  
89 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
90  
91 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
92  
93 =cut
94