aws-sdk-sagemakerfeaturestoreruntime 1.1.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 641dfed0bcb017199ba333578844e644ae940b77a36bdba122460487d903d558
4
- data.tar.gz: a389b67802492d44c27cee4cee445b8a37e80ceb8c743f6f4d23b007896e3aab
3
+ metadata.gz: 13fddf769c51c1bb0281c708b2697d461887f5e6ce174c9a08937bf8511305b6
4
+ data.tar.gz: dc26511cb4ffe9fc5e52da7c844bc867f99eb5d58469f2eb3d1e1e35095ce21f
5
5
  SHA512:
6
- metadata.gz: 103c473db6adbccc1b6bdccb93a787616b7c205ea212981e9c783e31cb60d0a0c497362d50a4219dbbe553080be8eb2d05e58c51611bc6ab9c8ca24a86ac5294
7
- data.tar.gz: c9c99449a172db177edc962be80c7700d082affdfcfb1b97348db18e609d52c4245cd1f605f79717a07ddf4065f9b6474e30b0c47f8d60b2af2464ec8d0a47a2
6
+ metadata.gz: 90083f506850952c5ece3bf406546b1094acf597253301e7f1293c3df6d71cf22b8f298da6b8c9af9d518d8089239959d16426401cbb0b40aa2c998b164cbaf7
7
+ data.tar.gz: 9d42994904767ebcdd946b9f094aadc7c46ffc971f78a9498515a951c55d554c3c9c20174cd7018aec30b1856b706fe239b309b6526e6029f47d714ae08bdb25
data/CHANGELOG.md ADDED
@@ -0,0 +1,33 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.5.0 (2021-07-30)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.4.0 (2021-07-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.3.0 (2021-06-10)
15
+ ------------------
16
+
17
+ * Feature - Release BatchGetRecord API for AWS SageMaker Feature Store Runtime.
18
+
19
+ 1.2.0 (2021-03-10)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.1.0 (2021-02-02)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.0.0 (2020-12-01)
30
+ ------------------
31
+
32
+ * Feature - Initial release of `aws-sdk-sagemakerfeaturestoreruntime`.
33
+
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.5.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-sagemakerfeaturestoreruntime/customizations'
28
28
  # structure.
29
29
  #
30
30
  # sage_maker_feature_store_runtime = Aws::SageMakerFeatureStoreRuntime::Client.new
31
- # resp = sage_maker_feature_store_runtime.delete_record(params)
31
+ # resp = sage_maker_feature_store_runtime.batch_get_record(params)
32
32
  #
33
33
  # See {Client} for more information.
34
34
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-sagemakerfeaturestoreruntime/customizations'
48
48
  # @!group service
49
49
  module Aws::SageMakerFeatureStoreRuntime
50
50
 
51
- GEM_VERSION = '1.1.0'
51
+ GEM_VERSION = '1.5.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -327,6 +327,60 @@ module Aws::SageMakerFeatureStoreRuntime
327
327
 
328
328
  # @!group API Operations
329
329
 
330
+ # Retrieves a batch of `Records` from a `FeatureGroup`.
331
+ #
332
+ # @option params [required, Array<Types::BatchGetRecordIdentifier>] :identifiers
333
+ # A list of `FeatureGroup` names, with their corresponding
334
+ # `RecordIdentifier` value, and Feature name that have been requested to
335
+ # be retrieved in batch.
336
+ #
337
+ # @return [Types::BatchGetRecordResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
338
+ #
339
+ # * {Types::BatchGetRecordResponse#records #records} => Array&lt;Types::BatchGetRecordResultDetail&gt;
340
+ # * {Types::BatchGetRecordResponse#errors #errors} => Array&lt;Types::BatchGetRecordError&gt;
341
+ # * {Types::BatchGetRecordResponse#unprocessed_identifiers #unprocessed_identifiers} => Array&lt;Types::BatchGetRecordIdentifier&gt;
342
+ #
343
+ # @example Request syntax with placeholder values
344
+ #
345
+ # resp = client.batch_get_record({
346
+ # identifiers: [ # required
347
+ # {
348
+ # feature_group_name: "FeatureGroupName", # required
349
+ # record_identifiers_value_as_string: ["ValueAsString"], # required
350
+ # feature_names: ["FeatureName"],
351
+ # },
352
+ # ],
353
+ # })
354
+ #
355
+ # @example Response structure
356
+ #
357
+ # resp.records #=> Array
358
+ # resp.records[0].feature_group_name #=> String
359
+ # resp.records[0].record_identifier_value_as_string #=> String
360
+ # resp.records[0].record #=> Array
361
+ # resp.records[0].record[0].feature_name #=> String
362
+ # resp.records[0].record[0].value_as_string #=> String
363
+ # resp.errors #=> Array
364
+ # resp.errors[0].feature_group_name #=> String
365
+ # resp.errors[0].record_identifier_value_as_string #=> String
366
+ # resp.errors[0].error_code #=> String
367
+ # resp.errors[0].error_message #=> String
368
+ # resp.unprocessed_identifiers #=> Array
369
+ # resp.unprocessed_identifiers[0].feature_group_name #=> String
370
+ # resp.unprocessed_identifiers[0].record_identifiers_value_as_string #=> Array
371
+ # resp.unprocessed_identifiers[0].record_identifiers_value_as_string[0] #=> String
372
+ # resp.unprocessed_identifiers[0].feature_names #=> Array
373
+ # resp.unprocessed_identifiers[0].feature_names[0] #=> String
374
+ #
375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/BatchGetRecord AWS API Documentation
376
+ #
377
+ # @overload batch_get_record(params = {})
378
+ # @param [Hash] params ({})
379
+ def batch_get_record(params = {}, options = {})
380
+ req = build_request(:batch_get_record, params)
381
+ req.send_request(options)
382
+ end
383
+
330
384
  # Deletes a `Record` from a `FeatureGroup`. A new record will show up in
331
385
  # the `OfflineStore` when the `DeleteRecord` API is called. This record
332
386
  # will have a value of `True` in the `is_deleted` column.
@@ -460,7 +514,7 @@ module Aws::SageMakerFeatureStoreRuntime
460
514
  params: params,
461
515
  config: config)
462
516
  context[:gem_name] = 'aws-sdk-sagemakerfeaturestoreruntime'
463
- context[:gem_version] = '1.1.0'
517
+ context[:gem_version] = '1.5.0'
464
518
  Seahorse::Client::Request.new(handlers, context)
465
519
  end
466
520
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -14,6 +14,14 @@ module Aws::SageMakerFeatureStoreRuntime
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessForbidden = Shapes::StructureShape.new(name: 'AccessForbidden')
17
+ BatchGetRecordError = Shapes::StructureShape.new(name: 'BatchGetRecordError')
18
+ BatchGetRecordErrors = Shapes::ListShape.new(name: 'BatchGetRecordErrors')
19
+ BatchGetRecordIdentifier = Shapes::StructureShape.new(name: 'BatchGetRecordIdentifier')
20
+ BatchGetRecordIdentifiers = Shapes::ListShape.new(name: 'BatchGetRecordIdentifiers')
21
+ BatchGetRecordRequest = Shapes::StructureShape.new(name: 'BatchGetRecordRequest')
22
+ BatchGetRecordResponse = Shapes::StructureShape.new(name: 'BatchGetRecordResponse')
23
+ BatchGetRecordResultDetail = Shapes::StructureShape.new(name: 'BatchGetRecordResultDetail')
24
+ BatchGetRecordResultDetails = Shapes::ListShape.new(name: 'BatchGetRecordResultDetails')
17
25
  DeleteRecordRequest = Shapes::StructureShape.new(name: 'DeleteRecordRequest')
18
26
  FeatureGroupName = Shapes::StringShape.new(name: 'FeatureGroupName')
19
27
  FeatureName = Shapes::StringShape.new(name: 'FeatureName')
@@ -25,14 +33,46 @@ module Aws::SageMakerFeatureStoreRuntime
25
33
  Message = Shapes::StringShape.new(name: 'Message')
26
34
  PutRecordRequest = Shapes::StructureShape.new(name: 'PutRecordRequest')
27
35
  Record = Shapes::ListShape.new(name: 'Record')
36
+ RecordIdentifiers = Shapes::ListShape.new(name: 'RecordIdentifiers')
28
37
  ResourceNotFound = Shapes::StructureShape.new(name: 'ResourceNotFound')
29
38
  ServiceUnavailable = Shapes::StructureShape.new(name: 'ServiceUnavailable')
39
+ UnprocessedIdentifiers = Shapes::ListShape.new(name: 'UnprocessedIdentifiers')
30
40
  ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
31
41
  ValueAsString = Shapes::StringShape.new(name: 'ValueAsString')
32
42
 
33
43
  AccessForbidden.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
34
44
  AccessForbidden.struct_class = Types::AccessForbidden
35
45
 
46
+ BatchGetRecordError.add_member(:feature_group_name, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location_name: "FeatureGroupName"))
47
+ BatchGetRecordError.add_member(:record_identifier_value_as_string, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location_name: "RecordIdentifierValueAsString"))
48
+ BatchGetRecordError.add_member(:error_code, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location_name: "ErrorCode"))
49
+ BatchGetRecordError.add_member(:error_message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "ErrorMessage"))
50
+ BatchGetRecordError.struct_class = Types::BatchGetRecordError
51
+
52
+ BatchGetRecordErrors.member = Shapes::ShapeRef.new(shape: BatchGetRecordError)
53
+
54
+ BatchGetRecordIdentifier.add_member(:feature_group_name, Shapes::ShapeRef.new(shape: FeatureGroupName, required: true, location_name: "FeatureGroupName"))
55
+ BatchGetRecordIdentifier.add_member(:record_identifiers_value_as_string, Shapes::ShapeRef.new(shape: RecordIdentifiers, required: true, location_name: "RecordIdentifiersValueAsString"))
56
+ BatchGetRecordIdentifier.add_member(:feature_names, Shapes::ShapeRef.new(shape: FeatureNames, location_name: "FeatureNames"))
57
+ BatchGetRecordIdentifier.struct_class = Types::BatchGetRecordIdentifier
58
+
59
+ BatchGetRecordIdentifiers.member = Shapes::ShapeRef.new(shape: BatchGetRecordIdentifier)
60
+
61
+ BatchGetRecordRequest.add_member(:identifiers, Shapes::ShapeRef.new(shape: BatchGetRecordIdentifiers, required: true, location_name: "Identifiers"))
62
+ BatchGetRecordRequest.struct_class = Types::BatchGetRecordRequest
63
+
64
+ BatchGetRecordResponse.add_member(:records, Shapes::ShapeRef.new(shape: BatchGetRecordResultDetails, required: true, location_name: "Records"))
65
+ BatchGetRecordResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchGetRecordErrors, required: true, location_name: "Errors"))
66
+ BatchGetRecordResponse.add_member(:unprocessed_identifiers, Shapes::ShapeRef.new(shape: UnprocessedIdentifiers, required: true, location_name: "UnprocessedIdentifiers"))
67
+ BatchGetRecordResponse.struct_class = Types::BatchGetRecordResponse
68
+
69
+ BatchGetRecordResultDetail.add_member(:feature_group_name, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location_name: "FeatureGroupName"))
70
+ BatchGetRecordResultDetail.add_member(:record_identifier_value_as_string, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location_name: "RecordIdentifierValueAsString"))
71
+ BatchGetRecordResultDetail.add_member(:record, Shapes::ShapeRef.new(shape: Record, required: true, location_name: "Record"))
72
+ BatchGetRecordResultDetail.struct_class = Types::BatchGetRecordResultDetail
73
+
74
+ BatchGetRecordResultDetails.member = Shapes::ShapeRef.new(shape: BatchGetRecordResultDetail)
75
+
36
76
  DeleteRecordRequest.add_member(:feature_group_name, Shapes::ShapeRef.new(shape: FeatureGroupName, required: true, location: "uri", location_name: "FeatureGroupName"))
37
77
  DeleteRecordRequest.add_member(:record_identifier_value_as_string, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location: "querystring", location_name: "RecordIdentifierValueAsString"))
38
78
  DeleteRecordRequest.add_member(:event_time, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location: "querystring", location_name: "EventTime"))
@@ -61,12 +101,16 @@ module Aws::SageMakerFeatureStoreRuntime
61
101
 
62
102
  Record.member = Shapes::ShapeRef.new(shape: FeatureValue)
63
103
 
104
+ RecordIdentifiers.member = Shapes::ShapeRef.new(shape: ValueAsString)
105
+
64
106
  ResourceNotFound.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
65
107
  ResourceNotFound.struct_class = Types::ResourceNotFound
66
108
 
67
109
  ServiceUnavailable.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
68
110
  ServiceUnavailable.struct_class = Types::ServiceUnavailable
69
111
 
112
+ UnprocessedIdentifiers.member = Shapes::ShapeRef.new(shape: BatchGetRecordIdentifier)
113
+
70
114
  ValidationError.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
71
115
  ValidationError.struct_class = Types::ValidationError
72
116
 
@@ -88,6 +132,18 @@ module Aws::SageMakerFeatureStoreRuntime
88
132
  "uid" => "sagemaker-featurestore-runtime-2020-07-01",
89
133
  }
90
134
 
135
+ api.add_operation(:batch_get_record, Seahorse::Model::Operation.new.tap do |o|
136
+ o.name = "BatchGetRecord"
137
+ o.http_method = "POST"
138
+ o.http_request_uri = "/BatchGetRecord"
139
+ o.input = Shapes::ShapeRef.new(shape: BatchGetRecordRequest)
140
+ o.output = Shapes::ShapeRef.new(shape: BatchGetRecordResponse)
141
+ o.errors << Shapes::ShapeRef.new(shape: ValidationError)
142
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailure)
143
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailable)
144
+ o.errors << Shapes::ShapeRef.new(shape: AccessForbidden)
145
+ end)
146
+
91
147
  api.add_operation(:delete_record, Seahorse::Model::Operation.new.tap do |o|
92
148
  o.name = "DeleteRecord"
93
149
  o.http_method = "DELETE"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -23,6 +23,156 @@ module Aws::SageMakerFeatureStoreRuntime
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
+ # The error that has occurred when attempting to retrieve a batch of
27
+ # Records.
28
+ #
29
+ # @!attribute [rw] feature_group_name
30
+ # The name of the feature group that the record belongs to.
31
+ # @return [String]
32
+ #
33
+ # @!attribute [rw] record_identifier_value_as_string
34
+ # The value for the `RecordIdentifier` in string format of a Record
35
+ # from a `FeatureGroup` that is causing an error when attempting to be
36
+ # retrieved.
37
+ # @return [String]
38
+ #
39
+ # @!attribute [rw] error_code
40
+ # The error code of an error that has occured when attempting to
41
+ # retrieve a batch of Records. For more information on errors, see [
42
+ # Errors][1].
43
+ #
44
+ #
45
+ #
46
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_GetRecord.html#API_feature_store_GetRecord_Errors
47
+ # @return [String]
48
+ #
49
+ # @!attribute [rw] error_message
50
+ # The error message of an error that has occured when attempting to
51
+ # retrieve a record in the batch.
52
+ # @return [String]
53
+ #
54
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/BatchGetRecordError AWS API Documentation
55
+ #
56
+ class BatchGetRecordError < Struct.new(
57
+ :feature_group_name,
58
+ :record_identifier_value_as_string,
59
+ :error_code,
60
+ :error_message)
61
+ SENSITIVE = []
62
+ include Aws::Structure
63
+ end
64
+
65
+ # The identifier that identifies the batch of Records you are retrieving
66
+ # in a batch.
67
+ #
68
+ # @note When making an API call, you may pass BatchGetRecordIdentifier
69
+ # data as a hash:
70
+ #
71
+ # {
72
+ # feature_group_name: "FeatureGroupName", # required
73
+ # record_identifiers_value_as_string: ["ValueAsString"], # required
74
+ # feature_names: ["FeatureName"],
75
+ # }
76
+ #
77
+ # @!attribute [rw] feature_group_name
78
+ # A `FeatureGroupName` containing Records you are retrieving in a
79
+ # batch.
80
+ # @return [String]
81
+ #
82
+ # @!attribute [rw] record_identifiers_value_as_string
83
+ # The value for a list of record identifiers in string format.
84
+ # @return [Array<String>]
85
+ #
86
+ # @!attribute [rw] feature_names
87
+ # List of names of Features to be retrieved. If not specified, the
88
+ # latest value for all the Features are returned.
89
+ # @return [Array<String>]
90
+ #
91
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/BatchGetRecordIdentifier AWS API Documentation
92
+ #
93
+ class BatchGetRecordIdentifier < Struct.new(
94
+ :feature_group_name,
95
+ :record_identifiers_value_as_string,
96
+ :feature_names)
97
+ SENSITIVE = []
98
+ include Aws::Structure
99
+ end
100
+
101
+ # @note When making an API call, you may pass BatchGetRecordRequest
102
+ # data as a hash:
103
+ #
104
+ # {
105
+ # identifiers: [ # required
106
+ # {
107
+ # feature_group_name: "FeatureGroupName", # required
108
+ # record_identifiers_value_as_string: ["ValueAsString"], # required
109
+ # feature_names: ["FeatureName"],
110
+ # },
111
+ # ],
112
+ # }
113
+ #
114
+ # @!attribute [rw] identifiers
115
+ # A list of `FeatureGroup` names, with their corresponding
116
+ # `RecordIdentifier` value, and Feature name that have been requested
117
+ # to be retrieved in batch.
118
+ # @return [Array<Types::BatchGetRecordIdentifier>]
119
+ #
120
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/BatchGetRecordRequest AWS API Documentation
121
+ #
122
+ class BatchGetRecordRequest < Struct.new(
123
+ :identifiers)
124
+ SENSITIVE = []
125
+ include Aws::Structure
126
+ end
127
+
128
+ # @!attribute [rw] records
129
+ # A list of Records you requested to be retrieved in batch.
130
+ # @return [Array<Types::BatchGetRecordResultDetail>]
131
+ #
132
+ # @!attribute [rw] errors
133
+ # A list of errors that have occured when retrieving a batch of
134
+ # Records.
135
+ # @return [Array<Types::BatchGetRecordError>]
136
+ #
137
+ # @!attribute [rw] unprocessed_identifiers
138
+ # A unprocessed list of `FeatureGroup` names, with their corresponding
139
+ # `RecordIdentifier` value, and Feature name.
140
+ # @return [Array<Types::BatchGetRecordIdentifier>]
141
+ #
142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/BatchGetRecordResponse AWS API Documentation
143
+ #
144
+ class BatchGetRecordResponse < Struct.new(
145
+ :records,
146
+ :errors,
147
+ :unprocessed_identifiers)
148
+ SENSITIVE = []
149
+ include Aws::Structure
150
+ end
151
+
152
+ # The output of Records that have been retrieved in a batch.
153
+ #
154
+ # @!attribute [rw] feature_group_name
155
+ # The `FeatureGroupName` containing Records you retrieved in a batch.
156
+ # @return [String]
157
+ #
158
+ # @!attribute [rw] record_identifier_value_as_string
159
+ # The value of the record identifer in string format.
160
+ # @return [String]
161
+ #
162
+ # @!attribute [rw] record
163
+ # The `Record` retrieved.
164
+ # @return [Array<Types::FeatureValue>]
165
+ #
166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/BatchGetRecordResultDetail AWS API Documentation
167
+ #
168
+ class BatchGetRecordResultDetail < Struct.new(
169
+ :feature_group_name,
170
+ :record_identifier_value_as_string,
171
+ :record)
172
+ SENSITIVE = []
173
+ include Aws::Structure
174
+ end
175
+
26
176
  # @note When making an API call, you may pass DeleteRecordRequest
27
177
  # data as a hash:
28
178
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sagemakerfeaturestoreruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.112.0
22
+ version: 3.119.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.112.0
32
+ version: 3.119.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for Amazon SageMaker Feature Store Runtime. This
48
48
  gem is part of the AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-sagemakerfeaturestoreruntime.rb
56
59
  - lib/aws-sdk-sagemakerfeaturestoreruntime/client.rb
57
60
  - lib/aws-sdk-sagemakerfeaturestoreruntime/client_api.rb
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
63
66
  licenses:
64
67
  - Apache-2.0
65
68
  metadata:
66
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-sagemakerfeaturestoreruntime
67
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-sagemakerfeaturestoreruntime/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemakerfeaturestoreruntime
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemakerfeaturestoreruntime/CHANGELOG.md
68
71
  post_install_message:
69
72
  rdoc_options: []
70
73
  require_paths:
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
83
  - !ruby/object:Gem::Version
81
84
  version: '0'
82
85
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
85
87
  signing_key:
86
88
  specification_version: 4
87
89
  summary: AWS SDK for Ruby - Amazon SageMaker Feature Store Runtime