Skip to content

Commit af08cb9

Browse files
author
AWS
committed
Amazon SageMaker Feature Store Runtime Update: Release BatchGetRecord API for AWS SageMaker Feature Store Runtime.
1 parent 6b8b1ca commit af08cb9

File tree

2 files changed

+154
-0
lines changed

2 files changed

+154
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon SageMaker Feature Store Runtime",
4+
"contributor": "",
5+
"description": "Release BatchGetRecord API for AWS SageMaker Feature Store Runtime."
6+
}

services/sagemakerfeaturestoreruntime/src/main/resources/codegen-resources/service-2.json

+148
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@
1212
"uid":"sagemaker-featurestore-runtime-2020-07-01"
1313
},
1414
"operations":{
15+
"BatchGetRecord":{
16+
"name":"BatchGetRecord",
17+
"http":{
18+
"method":"POST",
19+
"requestUri":"/BatchGetRecord"
20+
},
21+
"input":{"shape":"BatchGetRecordRequest"},
22+
"output":{"shape":"BatchGetRecordResponse"},
23+
"errors":[
24+
{"shape":"ValidationError"},
25+
{"shape":"InternalFailure"},
26+
{"shape":"ServiceUnavailable"},
27+
{"shape":"AccessForbidden"}
28+
],
29+
"documentation":"<p>Retrieves a batch of <code>Records</code> from a <code>FeatureGroup</code>.</p>"
30+
},
1531
"DeleteRecord":{
1632
"name":"DeleteRecord",
1733
"http":{
@@ -71,6 +87,127 @@
7187
"exception":true,
7288
"synthetic":true
7389
},
90+
"BatchGetRecordError":{
91+
"type":"structure",
92+
"required":[
93+
"FeatureGroupName",
94+
"RecordIdentifierValueAsString",
95+
"ErrorCode",
96+
"ErrorMessage"
97+
],
98+
"members":{
99+
"FeatureGroupName":{
100+
"shape":"ValueAsString",
101+
"documentation":"<p>The name of the feature group that the record belongs to.</p>"
102+
},
103+
"RecordIdentifierValueAsString":{
104+
"shape":"ValueAsString",
105+
"documentation":"<p>The value for the <code>RecordIdentifier</code> in string format of a Record from a <code>FeatureGroup</code> that is causing an error when attempting to be retrieved.</p>"
106+
},
107+
"ErrorCode":{
108+
"shape":"ValueAsString",
109+
"documentation":"<p>The error code of an error that has occured when attempting to retrieve a batch of Records. For more information on errors, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_GetRecord.html#API_feature_store_GetRecord_Errors\"> Errors</a>.</p>"
110+
},
111+
"ErrorMessage":{
112+
"shape":"Message",
113+
"documentation":"<p>The error message of an error that has occured when attempting to retrieve a record in the batch.</p>"
114+
}
115+
},
116+
"documentation":"<p>The error that has occurred when attempting to retrieve a batch of Records.</p>"
117+
},
118+
"BatchGetRecordErrors":{
119+
"type":"list",
120+
"member":{"shape":"BatchGetRecordError"},
121+
"min":0
122+
},
123+
"BatchGetRecordIdentifier":{
124+
"type":"structure",
125+
"required":[
126+
"FeatureGroupName",
127+
"RecordIdentifiersValueAsString"
128+
],
129+
"members":{
130+
"FeatureGroupName":{
131+
"shape":"FeatureGroupName",
132+
"documentation":"<p>A <code>FeatureGroupName</code> containing Records you are retrieving in a batch.</p>"
133+
},
134+
"RecordIdentifiersValueAsString":{
135+
"shape":"RecordIdentifiers",
136+
"documentation":"<p>The value for a list of record identifiers in string format.</p>"
137+
},
138+
"FeatureNames":{
139+
"shape":"FeatureNames",
140+
"documentation":"<p>List of names of Features to be retrieved. If not specified, the latest value for all the Features are returned.</p>"
141+
}
142+
},
143+
"documentation":"<p>The identifier that identifies the batch of Records you are retrieving in a batch.</p>"
144+
},
145+
"BatchGetRecordIdentifiers":{
146+
"type":"list",
147+
"member":{"shape":"BatchGetRecordIdentifier"},
148+
"max":10,
149+
"min":1
150+
},
151+
"BatchGetRecordRequest":{
152+
"type":"structure",
153+
"required":["Identifiers"],
154+
"members":{
155+
"Identifiers":{
156+
"shape":"BatchGetRecordIdentifiers",
157+
"documentation":"<p>A list of <code>FeatureGroup</code> names, with their corresponding <code>RecordIdentifier</code> value, and Feature name that have been requested to be retrieved in batch.</p>"
158+
}
159+
}
160+
},
161+
"BatchGetRecordResponse":{
162+
"type":"structure",
163+
"required":[
164+
"Records",
165+
"Errors",
166+
"UnprocessedIdentifiers"
167+
],
168+
"members":{
169+
"Records":{
170+
"shape":"BatchGetRecordResultDetails",
171+
"documentation":"<p>A list of Records you requested to be retrieved in batch.</p>"
172+
},
173+
"Errors":{
174+
"shape":"BatchGetRecordErrors",
175+
"documentation":"<p>A list of errors that have occured when retrieving a batch of Records.</p>"
176+
},
177+
"UnprocessedIdentifiers":{
178+
"shape":"UnprocessedIdentifiers",
179+
"documentation":"<p>A unprocessed list of <code>FeatureGroup</code> names, with their corresponding <code>RecordIdentifier</code> value, and Feature name.</p>"
180+
}
181+
}
182+
},
183+
"BatchGetRecordResultDetail":{
184+
"type":"structure",
185+
"required":[
186+
"FeatureGroupName",
187+
"RecordIdentifierValueAsString",
188+
"Record"
189+
],
190+
"members":{
191+
"FeatureGroupName":{
192+
"shape":"ValueAsString",
193+
"documentation":"<p>The <code>FeatureGroupName</code> containing Records you retrieved in a batch.</p>"
194+
},
195+
"RecordIdentifierValueAsString":{
196+
"shape":"ValueAsString",
197+
"documentation":"<p>The value of the record identifer in string format.</p>"
198+
},
199+
"Record":{
200+
"shape":"Record",
201+
"documentation":"<p>The <code>Record</code> retrieved.</p>"
202+
}
203+
},
204+
"documentation":"<p>The output of Records that have been retrieved in a batch.</p>"
205+
},
206+
"BatchGetRecordResultDetails":{
207+
"type":"list",
208+
"member":{"shape":"BatchGetRecordResultDetail"},
209+
"min":0
210+
},
74211
"DeleteRecordRequest":{
75212
"type":"structure",
76213
"required":[
@@ -209,6 +346,12 @@
209346
"member":{"shape":"FeatureValue"},
210347
"min":1
211348
},
349+
"RecordIdentifiers":{
350+
"type":"list",
351+
"member":{"shape":"ValueAsString"},
352+
"max":100,
353+
"min":1
354+
},
212355
"ResourceNotFound":{
213356
"type":"structure",
214357
"members":{
@@ -229,6 +372,11 @@
229372
"fault":true,
230373
"synthetic":true
231374
},
375+
"UnprocessedIdentifiers":{
376+
"type":"list",
377+
"member":{"shape":"BatchGetRecordIdentifier"},
378+
"min":0
379+
},
232380
"ValidationError":{
233381
"type":"structure",
234382
"members":{

0 commit comments

Comments
 (0)