blib/lib/Paws/AlexaForBusiness/RegisterAVSDevice.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::AlexaForBusiness::RegisterAVSDevice;
3 use Moose;
4 has AmazonId => (is => 'ro', isa => 'Str', required => 1);
5 has ClientId => (is => 'ro', isa => 'Str', required => 1);
6 has DeviceSerialNumber => (is => 'ro', isa => 'Str');
7 has ProductId => (is => 'ro', isa => 'Str', required => 1);
8 has RoomArn => (is => 'ro', isa => 'Str');
9 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::AlexaForBusiness::Tag]');
10 has UserCode => (is => 'ro', isa => 'Str', required => 1);
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'RegisterAVSDevice');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AlexaForBusiness::RegisterAVSDeviceResponse');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::AlexaForBusiness::RegisterAVSDevice - Arguments for method RegisterAVSDevice on L<Paws::AlexaForBusiness>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method RegisterAVSDevice on the
28 L<Alexa For Business|Paws::AlexaForBusiness> service. Use the attributes of this class
29 as arguments to method RegisterAVSDevice.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RegisterAVSDevice.
32  
33 =head1 SYNOPSIS
34  
35 my $a4b = Paws->service('AlexaForBusiness');
36 my $RegisterAVSDeviceResponse = $a4b->RegisterAVSDevice(
37 AmazonId => 'MyAmazonId',
38 ClientId => 'MyClientId',
39 ProductId => 'MyProductId',
40 UserCode => 'MyUserCode',
41 DeviceSerialNumber => 'MyDeviceSerialNumberForAVS', # OPTIONAL
42 RoomArn => 'MyArn', # OPTIONAL
43 Tags => [
44 {
45 Key => 'MyTagKey', # min: 1, max: 128
46 Value => 'MyTagValue', # max: 256
47  
48 },
49 ...
50 ], # OPTIONAL
51 );
52  
53 # Results:
54 my $DeviceArn = $RegisterAVSDeviceResponse->DeviceArn;
55  
56 # Returns a L<Paws::AlexaForBusiness::RegisterAVSDeviceResponse> object.
57  
58 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.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/a4b/RegisterAVSDevice>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 B<REQUIRED> AmazonId => Str
65  
66 The device type ID for your AVS device generated by Amazon when the OEM
67 creates a new product on Amazon's Developer Console.
68  
69  
70  
71 =head2 B<REQUIRED> ClientId => Str
72  
73 The client ID of the OEM used for code-based linking authorization on
74 an AVS device.
75  
76  
77  
78 =head2 DeviceSerialNumber => Str
79  
80 The key generated by the OEM that uniquely identifies a specified
81 instance of your AVS device.
82  
83  
84  
85 =head2 B<REQUIRED> ProductId => Str
86  
87 The product ID used to identify your AVS device during authorization.
88  
89  
90  
91 =head2 RoomArn => Str
92  
93 The Amazon Resource Name (ARN) of the room with which to associate your
94 AVS device.
95  
96  
97  
98 =head2 Tags => ArrayRef[L<Paws::AlexaForBusiness::Tag>]
99  
100 The tags to be added to the specified resource. Do not provide system
101 tags.
102  
103  
104  
105 =head2 B<REQUIRED> UserCode => Str
106  
107 The code that is obtained after your AVS device has made a POST request
108 to LWA as a part of the Device Authorization Request component of the
109 OAuth code-based linking specification.
110  
111  
112  
113  
114 =head1 SEE ALSO
115  
116 This class forms part of L<Paws>, documenting arguments for method RegisterAVSDevice in L<Paws::AlexaForBusiness>
117  
118 =head1 BUGS and CONTRIBUTIONS
119  
120 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
121  
122 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
123  
124 =cut
125