aws-sdk-sagemakerfeaturestoreruntime 1.13.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1cb50140e5f70a572918634f0f1e89d15f4b90dea72aebfb63a0c54d35456107
4
- data.tar.gz: 551afe2a34ece1694ff05023262037b3e560799ebe343c606456d0679344ed1a
3
+ metadata.gz: b45006301b3b83a5e40a47cc14e92cee7edac0d7663dbc6f96490f2a8faccf2f
4
+ data.tar.gz: eea1d0a99b434984a9c6377253de322f873937a7a41438da8b965fcdfe3db441
5
5
  SHA512:
6
- metadata.gz: c071bd752a43e1df9f6abb56d04c3f4bd2fd4c2a4c45a061cffc05ede6fd286598e1ef941ec17615d0d4281188e7f2ca1d3a8e0390999eab98d5b804375d2ff4
7
- data.tar.gz: 1c177652f49ecc69545e6dc4231b94219da901b99c23a41ce7840c4d5bacbd5f5f920d2873561c2135506aa954f0767f5bd393af51d9782a82ced67781d93029
6
+ metadata.gz: 50a669ac8ffa532b38d0fd450861406cc8d2c9d4cc64318540e9ec198f608e2e8744b842e6481239aa9a68aaaf5b4b0738f16cc8d9d7b1758c2b11f877eec6a2
7
+ data.tar.gz: '023878ed348501eaf2a3d292e66a5cde43cd55bb69d05f1c2ed99ca7ced132ae08d743ec9b064b6831958a2999f3212004b6a2a0c6fefbb3055ec572ec7c4c96'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.15.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.14.0 (2022-12-06)
12
+ ------------------
13
+
14
+ * Feature - For online + offline Feature Groups, added ability to target PutRecord and DeleteRecord actions to only online store, or only offline store. If target store parameter is not specified, actions will apply to both stores.
15
+
4
16
  1.13.0 (2022-10-25)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.0
1
+ 1.15.0
@@ -422,9 +422,10 @@ module Aws::SageMakerFeatureStoreRuntime
422
422
  req.send_request(options)
423
423
  end
424
424
 
425
- # Deletes a `Record` from a `FeatureGroup`. A new record will show up in
426
- # the `OfflineStore` when the `DeleteRecord` API is called. This record
427
- # will have a value of `True` in the `is_deleted` column.
425
+ # Deletes a `Record` from a `FeatureGroup`. When the `DeleteRecord` API
426
+ # is called a new record will be added to the `OfflineStore` and the
427
+ # `Record` will be removed from the `OnlineStore`. This record will have
428
+ # a value of `True` in the `is_deleted` column.
428
429
  #
429
430
  # @option params [required, String] :feature_group_name
430
431
  # The name of the feature group to delete the record from.
@@ -437,6 +438,11 @@ module Aws::SageMakerFeatureStoreRuntime
437
438
  # Timestamp indicating when the deletion event occurred. `EventTime` can
438
439
  # be used to query data at a certain point in time.
439
440
  #
441
+ # @option params [Array<String>] :target_stores
442
+ # A list of stores from which you're deleting the record. By default,
443
+ # Feature Store deletes the record from all of the stores that you're
444
+ # using for the `FeatureGroup`.
445
+ #
440
446
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
441
447
  #
442
448
  # @example Request syntax with placeholder values
@@ -445,6 +451,7 @@ module Aws::SageMakerFeatureStoreRuntime
445
451
  # feature_group_name: "FeatureGroupName", # required
446
452
  # record_identifier_value_as_string: "ValueAsString", # required
447
453
  # event_time: "ValueAsString", # required
454
+ # target_stores: ["OnlineStore"], # accepts OnlineStore, OfflineStore
448
455
  # })
449
456
  #
450
457
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/DeleteRecord AWS API Documentation
@@ -462,7 +469,8 @@ module Aws::SageMakerFeatureStoreRuntime
462
469
  # returned.
463
470
  #
464
471
  # @option params [required, String] :feature_group_name
465
- # The name of the feature group in which you want to put the records.
472
+ # The name of the feature group from which you want to retrieve a
473
+ # record.
466
474
  #
467
475
  # @option params [required, String] :record_identifier_value_as_string
468
476
  # The value that corresponds to `RecordIdentifier` type and uniquely
@@ -519,6 +527,11 @@ module Aws::SageMakerFeatureStoreRuntime
519
527
  #
520
528
  # * Use `PutRecord` to update feature values.
521
529
  #
530
+ # @option params [Array<String>] :target_stores
531
+ # A list of stores to which you're adding the record. By default,
532
+ # Feature Store adds the record to all of the stores that you're using
533
+ # for the `FeatureGroup`.
534
+ #
522
535
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
523
536
  #
524
537
  # @example Request syntax with placeholder values
@@ -531,6 +544,7 @@ module Aws::SageMakerFeatureStoreRuntime
531
544
  # value_as_string: "ValueAsString", # required
532
545
  # },
533
546
  # ],
547
+ # target_stores: ["OnlineStore"], # accepts OnlineStore, OfflineStore
534
548
  # })
535
549
  #
536
550
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/PutRecord AWS API Documentation
@@ -555,7 +569,7 @@ module Aws::SageMakerFeatureStoreRuntime
555
569
  params: params,
556
570
  config: config)
557
571
  context[:gem_name] = 'aws-sdk-sagemakerfeaturestoreruntime'
558
- context[:gem_version] = '1.13.0'
572
+ context[:gem_version] = '1.15.0'
559
573
  Seahorse::Client::Request.new(handlers, context)
560
574
  end
561
575
 
@@ -36,6 +36,8 @@ module Aws::SageMakerFeatureStoreRuntime
36
36
  RecordIdentifiers = Shapes::ListShape.new(name: 'RecordIdentifiers')
37
37
  ResourceNotFound = Shapes::StructureShape.new(name: 'ResourceNotFound')
38
38
  ServiceUnavailable = Shapes::StructureShape.new(name: 'ServiceUnavailable')
39
+ TargetStore = Shapes::StringShape.new(name: 'TargetStore')
40
+ TargetStores = Shapes::ListShape.new(name: 'TargetStores')
39
41
  UnprocessedIdentifiers = Shapes::ListShape.new(name: 'UnprocessedIdentifiers')
40
42
  ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
41
43
  ValueAsString = Shapes::StringShape.new(name: 'ValueAsString')
@@ -76,6 +78,7 @@ module Aws::SageMakerFeatureStoreRuntime
76
78
  DeleteRecordRequest.add_member(:feature_group_name, Shapes::ShapeRef.new(shape: FeatureGroupName, required: true, location: "uri", location_name: "FeatureGroupName"))
77
79
  DeleteRecordRequest.add_member(:record_identifier_value_as_string, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location: "querystring", location_name: "RecordIdentifierValueAsString"))
78
80
  DeleteRecordRequest.add_member(:event_time, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location: "querystring", location_name: "EventTime"))
81
+ DeleteRecordRequest.add_member(:target_stores, Shapes::ShapeRef.new(shape: TargetStores, location: "querystring", location_name: "TargetStores"))
79
82
  DeleteRecordRequest.struct_class = Types::DeleteRecordRequest
80
83
 
81
84
  FeatureNames.member = Shapes::ShapeRef.new(shape: FeatureName)
@@ -97,6 +100,7 @@ module Aws::SageMakerFeatureStoreRuntime
97
100
 
98
101
  PutRecordRequest.add_member(:feature_group_name, Shapes::ShapeRef.new(shape: FeatureGroupName, required: true, location: "uri", location_name: "FeatureGroupName"))
99
102
  PutRecordRequest.add_member(:record, Shapes::ShapeRef.new(shape: Record, required: true, location_name: "Record"))
103
+ PutRecordRequest.add_member(:target_stores, Shapes::ShapeRef.new(shape: TargetStores, location_name: "TargetStores"))
100
104
  PutRecordRequest.struct_class = Types::PutRecordRequest
101
105
 
102
106
  Record.member = Shapes::ShapeRef.new(shape: FeatureValue)
@@ -109,6 +113,8 @@ module Aws::SageMakerFeatureStoreRuntime
109
113
  ServiceUnavailable.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
110
114
  ServiceUnavailable.struct_class = Types::ServiceUnavailable
111
115
 
116
+ TargetStores.member = Shapes::ShapeRef.new(shape: TargetStore)
117
+
112
118
  UnprocessedIdentifiers.member = Shapes::ShapeRef.new(shape: BatchGetRecordIdentifier)
113
119
 
114
120
  ValidationError.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
@@ -50,6 +50,9 @@ module Aws::SageMakerFeatureStoreRuntime
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::SageMakerFeatureStoreRuntime
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://featurestore-runtime.sagemaker-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://featurestore-runtime.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://featurestore-runtime.sagemaker.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://featurestore-runtime.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0e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c2FnZW1ha2VyLntSZWdpb259LntQYXJ0aXRp
101
- b25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9
102
- LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRp
103
- b25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhp
104
- cyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBl
105
- IjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVy
106
- bCI6Imh0dHBzOi8vZmVhdHVyZXN0b3JlLXJ1bnRpbWUuc2FnZW1ha2VyLntS
107
- ZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRp
108
- ZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -38,8 +38,8 @@ module Aws::SageMakerFeatureStoreRuntime
38
38
  #
39
39
  # @!attribute [rw] error_code
40
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].
41
+ # retrieve a batch of Records. For more information on errors, see
42
+ # [Errors][1].
43
43
  #
44
44
  #
45
45
  #
@@ -65,15 +65,6 @@ module Aws::SageMakerFeatureStoreRuntime
65
65
  # The identifier that identifies the batch of Records you are retrieving
66
66
  # in a batch.
67
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
68
  # @!attribute [rw] feature_group_name
78
69
  # A `FeatureGroupName` containing Records you are retrieving in a
79
70
  # batch.
@@ -98,19 +89,6 @@ module Aws::SageMakerFeatureStoreRuntime
98
89
  include Aws::Structure
99
90
  end
100
91
 
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
92
  # @!attribute [rw] identifiers
115
93
  # A list of `FeatureGroup` names, with their corresponding
116
94
  # `RecordIdentifier` value, and Feature name that have been requested
@@ -130,7 +108,7 @@ module Aws::SageMakerFeatureStoreRuntime
130
108
  # @return [Array<Types::BatchGetRecordResultDetail>]
131
109
  #
132
110
  # @!attribute [rw] errors
133
- # A list of errors that have occured when retrieving a batch of
111
+ # A list of errors that have occurred when retrieving a batch of
134
112
  # Records.
135
113
  # @return [Array<Types::BatchGetRecordError>]
136
114
  #
@@ -173,15 +151,6 @@ module Aws::SageMakerFeatureStoreRuntime
173
151
  include Aws::Structure
174
152
  end
175
153
 
176
- # @note When making an API call, you may pass DeleteRecordRequest
177
- # data as a hash:
178
- #
179
- # {
180
- # feature_group_name: "FeatureGroupName", # required
181
- # record_identifier_value_as_string: "ValueAsString", # required
182
- # event_time: "ValueAsString", # required
183
- # }
184
- #
185
154
  # @!attribute [rw] feature_group_name
186
155
  # The name of the feature group to delete the record from.
187
156
  # @return [String]
@@ -196,26 +165,25 @@ module Aws::SageMakerFeatureStoreRuntime
196
165
  # can be used to query data at a certain point in time.
197
166
  # @return [String]
198
167
  #
168
+ # @!attribute [rw] target_stores
169
+ # A list of stores from which you're deleting the record. By default,
170
+ # Feature Store deletes the record from all of the stores that you're
171
+ # using for the `FeatureGroup`.
172
+ # @return [Array<String>]
173
+ #
199
174
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/DeleteRecordRequest AWS API Documentation
200
175
  #
201
176
  class DeleteRecordRequest < Struct.new(
202
177
  :feature_group_name,
203
178
  :record_identifier_value_as_string,
204
- :event_time)
179
+ :event_time,
180
+ :target_stores)
205
181
  SENSITIVE = []
206
182
  include Aws::Structure
207
183
  end
208
184
 
209
185
  # The value associated with a feature.
210
186
  #
211
- # @note When making an API call, you may pass FeatureValue
212
- # data as a hash:
213
- #
214
- # {
215
- # feature_name: "FeatureName", # required
216
- # value_as_string: "ValueAsString", # required
217
- # }
218
- #
219
187
  # @!attribute [rw] feature_name
220
188
  # The name of a feature that a feature value corresponds to.
221
189
  # @return [String]
@@ -235,17 +203,9 @@ module Aws::SageMakerFeatureStoreRuntime
235
203
  include Aws::Structure
236
204
  end
237
205
 
238
- # @note When making an API call, you may pass GetRecordRequest
239
- # data as a hash:
240
- #
241
- # {
242
- # feature_group_name: "FeatureGroupName", # required
243
- # record_identifier_value_as_string: "ValueAsString", # required
244
- # feature_names: ["FeatureName"],
245
- # }
246
- #
247
206
  # @!attribute [rw] feature_group_name
248
- # The name of the feature group in which you want to put the records.
207
+ # The name of the feature group from which you want to retrieve a
208
+ # record.
249
209
  # @return [String]
250
210
  #
251
211
  # @!attribute [rw] record_identifier_value_as_string
@@ -281,7 +241,7 @@ module Aws::SageMakerFeatureStoreRuntime
281
241
  end
282
242
 
283
243
  # An internal failure occurred. Try your request again. If the problem
284
- # persists, contact AWS customer support.
244
+ # persists, contact Amazon Web Services customer support.
285
245
  #
286
246
  # @!attribute [rw] message
287
247
  # @return [String]
@@ -294,19 +254,6 @@ module Aws::SageMakerFeatureStoreRuntime
294
254
  include Aws::Structure
295
255
  end
296
256
 
297
- # @note When making an API call, you may pass PutRecordRequest
298
- # data as a hash:
299
- #
300
- # {
301
- # feature_group_name: "FeatureGroupName", # required
302
- # record: [ # required
303
- # {
304
- # feature_name: "FeatureName", # required
305
- # value_as_string: "ValueAsString", # required
306
- # },
307
- # ],
308
- # }
309
- #
310
257
  # @!attribute [rw] feature_group_name
311
258
  # The name of the feature group that you want to insert the record
312
259
  # into.
@@ -324,11 +271,18 @@ module Aws::SageMakerFeatureStoreRuntime
324
271
  # * Use `PutRecord` to update feature values.
325
272
  # @return [Array<Types::FeatureValue>]
326
273
  #
274
+ # @!attribute [rw] target_stores
275
+ # A list of stores to which you're adding the record. By default,
276
+ # Feature Store adds the record to all of the stores that you're
277
+ # using for the `FeatureGroup`.
278
+ # @return [Array<String>]
279
+ #
327
280
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/PutRecordRequest AWS API Documentation
328
281
  #
329
282
  class PutRecordRequest < Struct.new(
330
283
  :feature_group_name,
331
- :record)
284
+ :record,
285
+ :target_stores)
332
286
  SENSITIVE = []
333
287
  include Aws::Structure
334
288
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-sagemakerfeaturestoreruntime/customizations'
52
52
  # @!group service
53
53
  module Aws::SageMakerFeatureStoreRuntime
54
54
 
55
- GEM_VERSION = '1.13.0'
55
+ GEM_VERSION = '1.15.0'
56
56
 
57
57
  end
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.13.0
4
+ version: 1.15.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core