blib/lib/Paws/SageMakerFeatureStoreRuntime.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod 0.0% 0 / 9 totaltotal 0.0% 0 / 44 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::SageMakerFeatureStoreRuntime;
2 use Moose;
3 sub service { 'featurestore-runtime.sagemaker' }
4 sub signing_name { 'sagemaker' }
5 sub version { '2020-07-01' }
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 BatchGetRecord {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::SageMakerFeatureStoreRuntime::BatchGetRecord', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub DeleteRecord {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::SageMakerFeatureStoreRuntime::DeleteRecord', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub GetRecord {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::SageMakerFeatureStoreRuntime::GetRecord', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub PutRecord {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::SageMakerFeatureStoreRuntime::PutRecord', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37
38  
39  
40 sub operations { qw/BatchGetRecord DeleteRecord GetRecord PutRecord / }
41  
42 1;
43  
44 ### main pod documentation begin ###
45  
46 =head1 NAME
47  
48 Paws::SageMakerFeatureStoreRuntime - Perl Interface to AWS Amazon SageMaker Feature Store Runtime
49  
50 =head1 SYNOPSIS
51  
52 use Paws;
53  
54 my $obj = Paws->service('SageMakerFeatureStoreRuntime');
55 my $res = $obj->Method(
56 Arg1 => $val1,
57 Arg2 => [ 'V1', 'V2' ],
58 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
59 # of the arguments type
60 Arg3 => { Att1 => 'Val1' },
61 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
62 # the constructor of the arguments type
63 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
64 );
65  
66 =head1 DESCRIPTION
67  
68 Contains all data plane API operations and data types for the Amazon
69 SageMaker Feature Store. Use this API to put, delete, and retrieve
70 (get) features from a feature store.
71  
72 Use the following operations to configure your C<OnlineStore> and
73 C<OfflineStore> features, and to create and manage feature groups:
74  
75 =over
76  
77 =item *
78  
79 CreateFeatureGroup
80 (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateFeatureGroup.html)
81  
82 =item *
83  
84 DeleteFeatureGroup
85 (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteFeatureGroup.html)
86  
87 =item *
88  
89 DescribeFeatureGroup
90 (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeFeatureGroup.html)
91  
92 =item *
93  
94 ListFeatureGroups
95 (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListFeatureGroups.html)
96  
97 =back
98  
99  
100 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/featurestore-runtime.sagemaker-2020-07-01>
101  
102  
103 =head1 METHODS
104  
105 =head2 BatchGetRecord
106  
107 =over
108  
109 =item Identifiers => ArrayRef[L<Paws::SageMakerFeatureStoreRuntime::BatchGetRecordIdentifier>]
110  
111  
112 =back
113  
114 Each argument is described in detail in: L<Paws::SageMakerFeatureStoreRuntime::BatchGetRecord>
115  
116 Returns: a L<Paws::SageMakerFeatureStoreRuntime::BatchGetRecordResponse> instance
117  
118 Retrieves a batch of C<Records> from a C<FeatureGroup>.
119  
120  
121 =head2 DeleteRecord
122  
123 =over
124  
125 =item EventTime => Str
126  
127 =item FeatureGroupName => Str
128  
129 =item RecordIdentifierValueAsString => Str
130  
131  
132 =back
133  
134 Each argument is described in detail in: L<Paws::SageMakerFeatureStoreRuntime::DeleteRecord>
135  
136 Returns: nothing
137  
138 Deletes a C<Record> from a C<FeatureGroup>. A new record will show up
139 in the C<OfflineStore> when the C<DeleteRecord> API is called. This
140 record will have a value of C<True> in the C<is_deleted> column.
141  
142  
143 =head2 GetRecord
144  
145 =over
146  
147 =item FeatureGroupName => Str
148  
149 =item RecordIdentifierValueAsString => Str
150  
151 =item [FeatureNames => ArrayRef[Str|Undef]]
152  
153  
154 =back
155  
156 Each argument is described in detail in: L<Paws::SageMakerFeatureStoreRuntime::GetRecord>
157  
158 Returns: a L<Paws::SageMakerFeatureStoreRuntime::GetRecordResponse> instance
159  
160 Use for C<OnlineStore> serving from a C<FeatureStore>. Only the latest
161 records stored in the C<OnlineStore> can be retrieved. If no Record
162 with C<RecordIdentifierValue> is found, then an empty result is
163 returned.
164  
165  
166 =head2 PutRecord
167  
168 =over
169  
170 =item FeatureGroupName => Str
171  
172 =item Record => ArrayRef[L<Paws::SageMakerFeatureStoreRuntime::FeatureValue>]
173  
174  
175 =back
176  
177 Each argument is described in detail in: L<Paws::SageMakerFeatureStoreRuntime::PutRecord>
178  
179 Returns: nothing
180  
181 Used for data ingestion into the C<FeatureStore>. The C<PutRecord> API
182 writes to both the C<OnlineStore> and C<OfflineStore>. If the record is
183 the latest record for the C<recordIdentifier>, the record is written to
184 both the C<OnlineStore> and C<OfflineStore>. If the record is a
185 historic record, it is written only to the C<OfflineStore>.
186  
187  
188  
189  
190 =head1 PAGINATORS
191  
192 Paginator methods are helpers that repetively call methods that return partial results
193  
194  
195  
196  
197 =head1 SEE ALSO
198  
199 This service class forms part of L<Paws>
200  
201 =head1 BUGS and CONTRIBUTIONS
202  
203 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
204  
205 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
206  
207 =cut
208