blib/lib/Paws/SageMakerEdge.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 7 totaltotal 0.0% 0 / 34 CC 1 SCAR 6.9
CC
1
Cov
0%
service
2.0
signing_name
2.0
version
2.0
CRAP 2.0
1 package Paws::SageMakerEdge;
2 use Moose;
3 sub service { 'edge.sagemaker' }
4 sub signing_name { 'sagemaker' }
5 sub version { '2020-09-23' }
6 sub flattened_arrays { 0 }
7 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8 has retry => (is => 'ro', isa => 'HashRef', default => sub {
9 { base => 'rand', type => 'exponential', growth_factor => 2 }
10 });
11 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12 ] });
13  
14 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller';
15  
16
17 sub GetDeviceRegistration {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::SageMakerEdge::GetDeviceRegistration', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub SendHeartbeat {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::SageMakerEdge::SendHeartbeat', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27
28  
29  
30 sub operations { qw/GetDeviceRegistration SendHeartbeat / }
31  
32 1;
33  
34 ### main pod documentation begin ###
35  
36 =head1 NAME
37  
38 Paws::SageMakerEdge - Perl Interface to AWS Amazon Sagemaker Edge Manager
39  
40 =head1 SYNOPSIS
41  
42 use Paws;
43  
44 my $obj = Paws->service('SageMakerEdge');
45 my $res = $obj->Method(
46 Arg1 => $val1,
47 Arg2 => [ 'V1', 'V2' ],
48 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
49 # of the arguments type
50 Arg3 => { Att1 => 'Val1' },
51 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
52 # the constructor of the arguments type
53 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
54 );
55  
56 =head1 DESCRIPTION
57  
58 SageMaker Edge Manager dataplane service for communicating with active
59 agents.
60  
61 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/edge.sagemaker-2020-09-23>
62  
63  
64 =head1 METHODS
65  
66 =head2 GetDeviceRegistration
67  
68 =over
69  
70 =item DeviceFleetName => Str
71  
72 =item DeviceName => Str
73  
74  
75 =back
76  
77 Each argument is described in detail in: L<Paws::SageMakerEdge::GetDeviceRegistration>
78  
79 Returns: a L<Paws::SageMakerEdge::GetDeviceRegistrationResult> instance
80  
81 Use to check if a device is registered with SageMaker Edge Manager.
82  
83  
84 =head2 SendHeartbeat
85  
86 =over
87  
88 =item AgentVersion => Str
89  
90 =item DeviceFleetName => Str
91  
92 =item DeviceName => Str
93  
94 =item [AgentMetrics => ArrayRef[L<Paws::SageMakerEdge::EdgeMetric>]]
95  
96 =item [Models => ArrayRef[L<Paws::SageMakerEdge::Model>]]
97  
98  
99 =back
100  
101 Each argument is described in detail in: L<Paws::SageMakerEdge::SendHeartbeat>
102  
103 Returns: nothing
104  
105 Use to get the current status of devices registered on SageMaker Edge
106 Manager.
107  
108  
109  
110  
111 =head1 PAGINATORS
112  
113 Paginator methods are helpers that repetively call methods that return partial results
114  
115  
116  
117  
118 =head1 SEE ALSO
119  
120 This service class forms part of L<Paws>
121  
122 =head1 BUGS and CONTRIBUTIONS
123  
124 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
125  
126 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
127  
128 =cut
129