aws-sdk-sagemakerfeaturestoreruntime 1.14.0 → 1.16.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: 59b4ad084704372ff876729e4f024f1c1604e6f30768c8b0c4712817362436dd
4
- data.tar.gz: 8a6404a15cccc9944c25b1eb657812a79f0eab522b0e6d10bc7260243970ac37
3
+ metadata.gz: 98fe2cc2606ce49173b62fc0af0413255534557584b6744e45bf1c6691c6fbce
4
+ data.tar.gz: 0a09a19251b62f151a2a687f22c273345f088ec06a9d23ecd487f1899b41a87c
5
5
  SHA512:
6
- metadata.gz: ca02c5985be104989c1af04ac0e88f165248251cce445ecebc4de8db3e855f67594653e727c32b9f3867145d8e9b5aa41aff5eb6f5d24e12ad36e7640c1309ac
7
- data.tar.gz: ff07e89aece71268a61908c0fb791b4eaf59437e7afba50a60410f1e32ffd0373156b2393ff2188f0b1743ca730eac3fa8de3492d25cbe95d7ceefc66610cc0e
6
+ metadata.gz: 9da278f710757c266e6e60075657775b469ecf712082286176ce1491d40bd1427b73cf4d7ac626cd844256a365ad8b3f7a029cb31ffb9dcc815f61a3b3b696e4
7
+ data.tar.gz: db0c000f9de14bc7c23021f7836b61145bb599d321d79cbc1f66acb9ea82841d296de7a77d9b19c779f4e4b14d7fc5f8dd0b9beec76d45a9a1c0d00409447179
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2023-03-31)
5
+ ------------------
6
+
7
+ * Feature - In this release, you can now chose between soft delete and hard delete when calling the DeleteRecord API, so you have more flexibility when it comes to managing online store data.
8
+
9
+ 1.15.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.14.0 (2022-12-06)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.16.0
@@ -422,10 +422,26 @@ module Aws::SageMakerFeatureStoreRuntime
422
422
  req.send_request(options)
423
423
  end
424
424
 
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.
425
+ # Deletes a `Record` from a `FeatureGroup` in the `OnlineStore`. Feature
426
+ # Store supports both `SOFT_DELETE` and `HARD_DELETE`. For `SOFT_DELETE`
427
+ # (default), feature columns are set to `null` and the record is no
428
+ # longer retrievable by `GetRecord` or `BatchGetRecord`. For`
429
+ # HARD_DELETE`, the complete `Record` is removed from the `OnlineStore`.
430
+ # In both cases, Feature Store appends the deleted record marker to the
431
+ # `OfflineStore` with feature values set to `null`, `is_deleted` value
432
+ # set to `True`, and `EventTime` set to the delete input `EventTime`.
433
+ #
434
+ # Note that the `EventTime` specified in `DeleteRecord` should be set
435
+ # later than the `EventTime` of the existing record in the `OnlineStore`
436
+ # for that `RecordIdentifer`. If it is not, the deletion does not occur:
437
+ #
438
+ # * For `SOFT_DELETE`, the existing (undeleted) record remains in the
439
+ # `OnlineStore`, though the delete record marker is still written to
440
+ # the `OfflineStore`.
441
+ #
442
+ # * `HARD_DELETE` returns `EventTime`: `400 ValidationException` to
443
+ # indicate that the delete operation failed. No delete record marker
444
+ # is written to the `OfflineStore`.
429
445
  #
430
446
  # @option params [required, String] :feature_group_name
431
447
  # The name of the feature group to delete the record from.
@@ -443,6 +459,10 @@ module Aws::SageMakerFeatureStoreRuntime
443
459
  # Feature Store deletes the record from all of the stores that you're
444
460
  # using for the `FeatureGroup`.
445
461
  #
462
+ # @option params [String] :deletion_mode
463
+ # The name of the deletion mode for deleting the record. By default, the
464
+ # deletion mode is set to `SoftDelete`.
465
+ #
446
466
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
447
467
  #
448
468
  # @example Request syntax with placeholder values
@@ -452,6 +472,7 @@ module Aws::SageMakerFeatureStoreRuntime
452
472
  # record_identifier_value_as_string: "ValueAsString", # required
453
473
  # event_time: "ValueAsString", # required
454
474
  # target_stores: ["OnlineStore"], # accepts OnlineStore, OfflineStore
475
+ # deletion_mode: "SoftDelete", # accepts SoftDelete, HardDelete
455
476
  # })
456
477
  #
457
478
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/DeleteRecord AWS API Documentation
@@ -569,7 +590,7 @@ module Aws::SageMakerFeatureStoreRuntime
569
590
  params: params,
570
591
  config: config)
571
592
  context[:gem_name] = 'aws-sdk-sagemakerfeaturestoreruntime'
572
- context[:gem_version] = '1.14.0'
593
+ context[:gem_version] = '1.16.0'
573
594
  Seahorse::Client::Request.new(handlers, context)
574
595
  end
575
596
 
@@ -23,6 +23,7 @@ module Aws::SageMakerFeatureStoreRuntime
23
23
  BatchGetRecordResultDetail = Shapes::StructureShape.new(name: 'BatchGetRecordResultDetail')
24
24
  BatchGetRecordResultDetails = Shapes::ListShape.new(name: 'BatchGetRecordResultDetails')
25
25
  DeleteRecordRequest = Shapes::StructureShape.new(name: 'DeleteRecordRequest')
26
+ DeletionMode = Shapes::StringShape.new(name: 'DeletionMode')
26
27
  FeatureGroupName = Shapes::StringShape.new(name: 'FeatureGroupName')
27
28
  FeatureName = Shapes::StringShape.new(name: 'FeatureName')
28
29
  FeatureNames = Shapes::ListShape.new(name: 'FeatureNames')
@@ -79,6 +80,7 @@ module Aws::SageMakerFeatureStoreRuntime
79
80
  DeleteRecordRequest.add_member(:record_identifier_value_as_string, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location: "querystring", location_name: "RecordIdentifierValueAsString"))
80
81
  DeleteRecordRequest.add_member(:event_time, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location: "querystring", location_name: "EventTime"))
81
82
  DeleteRecordRequest.add_member(:target_stores, Shapes::ShapeRef.new(shape: TargetStores, location: "querystring", location_name: "TargetStores"))
83
+ DeleteRecordRequest.add_member(:deletion_mode, Shapes::ShapeRef.new(shape: DeletionMode, location: "querystring", location_name: "DeletionMode"))
82
84
  DeleteRecordRequest.struct_class = Types::DeleteRecordRequest
83
85
 
84
86
  FeatureNames.member = Shapes::ShapeRef.new(shape: FeatureName)
@@ -50,9 +50,6 @@ 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
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -9,104 +9,46 @@
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 Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ 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"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://featurestore-runtime.sagemaker-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://featurestore-runtime.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://featurestore-runtime.sagemaker.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://featurestore-runtime.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
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dHRyIiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0In0sInN1cHBv
98
- cnRzRHVhbFN0YWNrIl19XX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJj
99
- b25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9mZWF0
100
- dXJlc3RvcmUtcnVudGltZS5zYWdlbWFrZXIue1JlZ2lvbn0ue1BhcnRpdGlv
101
- blJlc3VsdCNkdWFsU3RhY2tEbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30s
102
- ImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfSx7ImNvbmRpdGlv
103
- bnMiOltdLCJlcnJvciI6IkR1YWxTdGFjayBpcyBlbmFibGVkIGJ1dCB0aGlz
104
- IHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxTdGFjayIsInR5cGUi
105
- OiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJs
106
- IjoiaHR0cHM6Ly9mZWF0dXJlc3RvcmUtcnVudGltZS5zYWdlbWFrZXIue1Jl
107
- Z2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGll
108
- cyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
109
-
110
- JSON
111
53
  end
112
54
  end
@@ -37,7 +37,7 @@ module Aws::SageMakerFeatureStoreRuntime
37
37
  # @return [String]
38
38
  #
39
39
  # @!attribute [rw] error_code
40
- # The error code of an error that has occured when attempting to
40
+ # The error code of an error that has occurred when attempting to
41
41
  # retrieve a batch of Records. For more information on errors, see
42
42
  # [Errors][1].
43
43
  #
@@ -47,7 +47,7 @@ module Aws::SageMakerFeatureStoreRuntime
47
47
  # @return [String]
48
48
  #
49
49
  # @!attribute [rw] error_message
50
- # The error message of an error that has occured when attempting to
50
+ # The error message of an error that has occurred when attempting to
51
51
  # retrieve a record in the batch.
52
52
  # @return [String]
53
53
  #
@@ -134,7 +134,7 @@ module Aws::SageMakerFeatureStoreRuntime
134
134
  # @return [String]
135
135
  #
136
136
  # @!attribute [rw] record_identifier_value_as_string
137
- # The value of the record identifer in string format.
137
+ # The value of the record identifier in string format.
138
138
  # @return [String]
139
139
  #
140
140
  # @!attribute [rw] record
@@ -171,13 +171,19 @@ module Aws::SageMakerFeatureStoreRuntime
171
171
  # using for the `FeatureGroup`.
172
172
  # @return [Array<String>]
173
173
  #
174
+ # @!attribute [rw] deletion_mode
175
+ # The name of the deletion mode for deleting the record. By default,
176
+ # the deletion mode is set to `SoftDelete`.
177
+ # @return [String]
178
+ #
174
179
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/DeleteRecordRequest AWS API Documentation
175
180
  #
176
181
  class DeleteRecordRequest < Struct.new(
177
182
  :feature_group_name,
178
183
  :record_identifier_value_as_string,
179
184
  :event_time,
180
- :target_stores)
185
+ :target_stores,
186
+ :deletion_mode)
181
187
  SENSITIVE = []
182
188
  include Aws::Structure
183
189
  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.14.0'
55
+ GEM_VERSION = '1.16.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.14.0
4
+ version: 1.16.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-12-06 00:00:00.000000000 Z
11
+ date: 2023-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core