blib/lib/Paws/LocationService/BatchDeleteDevicePositionHistory.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::LocationService::BatchDeleteDevicePositionHistory;
3 use Moose;
4 has DeviceIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
5 has TrackerName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'TrackerName', required => 1);
6  
7 use MooseX::ClassAttribute;
8  
9 class_has _api_call => (isa => 'Str', is => 'ro', default => 'BatchDeleteDevicePositionHistory');
10 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/tracking/v0/trackers/{TrackerName}/delete-positions');
11 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LocationService::BatchDeleteDevicePositionHistoryResponse');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::LocationService::BatchDeleteDevicePositionHistory - Arguments for method BatchDeleteDevicePositionHistory on L<Paws::LocationService>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method BatchDeleteDevicePositionHistory on the
24 L<Amazon Location Service|Paws::LocationService> service. Use the attributes of this class
25 as arguments to method BatchDeleteDevicePositionHistory.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchDeleteDevicePositionHistory.
28  
29 =head1 SYNOPSIS
30  
31 my $geo = Paws->service('LocationService');
32 my $BatchDeleteDevicePositionHistoryResponse =
33 $geo->BatchDeleteDevicePositionHistory(
34 DeviceIds => [
35 'MyId', ... # min: 1, max: 100
36 ],
37 TrackerName => 'MyResourceName',
38  
39 );
40  
41 # Results:
42 my $Errors = $BatchDeleteDevicePositionHistoryResponse->Errors;
43  
44 # Returns a L<Paws::LocationService::BatchDeleteDevicePositionHistoryResponse> object.
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/geo/BatchDeleteDevicePositionHistory>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 B<REQUIRED> DeviceIds => ArrayRef[Str|Undef]
53  
54 Devices whose position history you want to delete.
55  
56 =over
57  
58 =item *
59  
60 For example, for two devices: C<E<ldquo>DeviceIdsE<rdquo> :
61 [DeviceId1,DeviceId2]>
62  
63 =back
64  
65  
66  
67  
68 =head2 B<REQUIRED> TrackerName => Str
69  
70 The name of the tracker resource to delete the device position history
71 from.
72  
73  
74  
75  
76 =head1 SEE ALSO
77  
78 This class forms part of L<Paws>, documenting arguments for method BatchDeleteDevicePositionHistory in L<Paws::LocationService>
79  
80 =head1 BUGS and CONTRIBUTIONS
81  
82 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
83  
84 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
85  
86 =cut
87