aws-sdk-sagemakerfeaturestoreruntime 1.18.0 → 1.20.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: e7dc66cca121380710a70653871f1f210c7af8c75efe0eaae55d7cc51429ea0f
4
- data.tar.gz: 19a9769bfb0650f0b6bcc3c7241e1c4c6885e722211ba747fb789485bb5cba59
3
+ metadata.gz: 67927ca4119c4d6715117e31ed34403065833d78918b4581647e13e68da15bb1
4
+ data.tar.gz: 365f05a0b91d90ed2b85dacdb96bf4f7bd6c76298b6a1089d82c1363b0edd834
5
5
  SHA512:
6
- metadata.gz: 8cbd5c6f112eca9687961d600fe36102e7da2bda3b8232655db489d59a3f4ae7273fa54234bfc8349ec77cdd71396cf2104c5e88409045b7d479d474e2755caf
7
- data.tar.gz: 16a1bc5bcc5e74de17865cb4cba2725fa9bffb80e7081dd3d654d814a254dc9668de3c5db266be56d7572926ef61422f466bf134b20d047f66399d09ff7d2234
6
+ metadata.gz: b4eaa863971e60cda0bdcf1e79665eeec71ed8b061c89f1a876edacf8231001113201c87168b362515320455ef5fc12808b94567c219b3d2164a1c21f93268a6
7
+ data.tar.gz: 7161e5fe3b0c9a2fd6eefce11fd84a8f6b9e6bcda3a8a1e4b9d5adcd92ca123b1b9a46fb81d96ea9ddacaf9c89f6ccd91c3cd13c403859ba868ac25206ca5993
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2023-06-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.19.0 (2023-06-27)
10
+ ------------------
11
+
12
+ * Feature - Introducing TTL for online store records for feature groups.
13
+
4
14
  1.18.0 (2023-06-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.20.0
@@ -380,6 +380,11 @@ module Aws::SageMakerFeatureStoreRuntime
380
380
  # `RecordIdentifier` value, and Feature name that have been requested to
381
381
  # be retrieved in batch.
382
382
  #
383
+ # @option params [String] :expiration_time_response
384
+ # Parameter to request `ExpiresAt` in response. If `Enabled`,
385
+ # `BatchGetRecord` will return the value of `ExpiresAt`, if it is not
386
+ # null. If `Disabled` and null, `BatchGetRecord` will return null.
387
+ #
383
388
  # @return [Types::BatchGetRecordResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
384
389
  #
385
390
  # * {Types::BatchGetRecordResponse#records #records} => Array<Types::BatchGetRecordResultDetail>
@@ -396,6 +401,7 @@ module Aws::SageMakerFeatureStoreRuntime
396
401
  # feature_names: ["FeatureName"],
397
402
  # },
398
403
  # ],
404
+ # expiration_time_response: "Enabled", # accepts Enabled, Disabled
399
405
  # })
400
406
  #
401
407
  # @example Response structure
@@ -406,6 +412,7 @@ module Aws::SageMakerFeatureStoreRuntime
406
412
  # resp.records[0].record #=> Array
407
413
  # resp.records[0].record[0].feature_name #=> String
408
414
  # resp.records[0].record[0].value_as_string #=> String
415
+ # resp.records[0].expires_at #=> String
409
416
  # resp.errors #=> Array
410
417
  # resp.errors[0].feature_group_name #=> String
411
418
  # resp.errors[0].record_identifier_value_as_string #=> String
@@ -428,10 +435,10 @@ module Aws::SageMakerFeatureStoreRuntime
428
435
  end
429
436
 
430
437
  # Deletes a `Record` from a `FeatureGroup` in the `OnlineStore`. Feature
431
- # Store supports both `SOFT_DELETE` and `HARD_DELETE`. For `SOFT_DELETE`
438
+ # Store supports both `SoftDelete` and `HardDelete`. For `SoftDelete`
432
439
  # (default), feature columns are set to `null` and the record is no
433
- # longer retrievable by `GetRecord` or `BatchGetRecord`. For`
434
- # HARD_DELETE`, the complete `Record` is removed from the `OnlineStore`.
440
+ # longer retrievable by `GetRecord` or `BatchGetRecord`. For
441
+ # `HardDelete`, the complete `Record` is removed from the `OnlineStore`.
435
442
  # In both cases, Feature Store appends the deleted record marker to the
436
443
  # `OfflineStore` with feature values set to `null`, `is_deleted` value
437
444
  # set to `True`, and `EventTime` set to the delete input `EventTime`.
@@ -440,11 +447,11 @@ module Aws::SageMakerFeatureStoreRuntime
440
447
  # later than the `EventTime` of the existing record in the `OnlineStore`
441
448
  # for that `RecordIdentifer`. If it is not, the deletion does not occur:
442
449
  #
443
- # * For `SOFT_DELETE`, the existing (undeleted) record remains in the
450
+ # * For `SoftDelete`, the existing (undeleted) record remains in the
444
451
  # `OnlineStore`, though the delete record marker is still written to
445
452
  # the `OfflineStore`.
446
453
  #
447
- # * `HARD_DELETE` returns `EventTime`: `400 ValidationException` to
454
+ # * `HardDelete` returns `EventTime`: `400 ValidationException` to
448
455
  # indicate that the delete operation failed. No delete record marker
449
456
  # is written to the `OfflineStore`.
450
457
  #
@@ -506,9 +513,15 @@ module Aws::SageMakerFeatureStoreRuntime
506
513
  # List of names of Features to be retrieved. If not specified, the
507
514
  # latest value for all the Features are returned.
508
515
  #
516
+ # @option params [String] :expiration_time_response
517
+ # Parameter to request `ExpiresAt` in response. If `Enabled`,
518
+ # `BatchGetRecord` will return the value of `ExpiresAt`, if it is not
519
+ # null. If `Disabled` and null, `BatchGetRecord` will return null.
520
+ #
509
521
  # @return [Types::GetRecordResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
510
522
  #
511
523
  # * {Types::GetRecordResponse#record #record} => Array<Types::FeatureValue>
524
+ # * {Types::GetRecordResponse#expires_at #expires_at} => String
512
525
  #
513
526
  # @example Request syntax with placeholder values
514
527
  #
@@ -516,6 +529,7 @@ module Aws::SageMakerFeatureStoreRuntime
516
529
  # feature_group_name: "FeatureGroupName", # required
517
530
  # record_identifier_value_as_string: "ValueAsString", # required
518
531
  # feature_names: ["FeatureName"],
532
+ # expiration_time_response: "Enabled", # accepts Enabled, Disabled
519
533
  # })
520
534
  #
521
535
  # @example Response structure
@@ -523,6 +537,7 @@ module Aws::SageMakerFeatureStoreRuntime
523
537
  # resp.record #=> Array
524
538
  # resp.record[0].feature_name #=> String
525
539
  # resp.record[0].value_as_string #=> String
540
+ # resp.expires_at #=> String
526
541
  #
527
542
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/GetRecord AWS API Documentation
528
543
  #
@@ -558,6 +573,16 @@ module Aws::SageMakerFeatureStoreRuntime
558
573
  # Feature Store adds the record to all of the stores that you're using
559
574
  # for the `FeatureGroup`.
560
575
  #
576
+ # @option params [Types::TtlDuration] :ttl_duration
577
+ # Time to live duration, where the record is hard deleted after the
578
+ # expiration time is reached; `ExpiresAt` = `EventTime` + `TtlDuration`.
579
+ # For information on HardDelete, see the [DeleteRecord][1] API in the
580
+ # Amazon SageMaker API Reference guide.
581
+ #
582
+ #
583
+ #
584
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html
585
+ #
561
586
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
562
587
  #
563
588
  # @example Request syntax with placeholder values
@@ -571,6 +596,10 @@ module Aws::SageMakerFeatureStoreRuntime
571
596
  # },
572
597
  # ],
573
598
  # target_stores: ["OnlineStore"], # accepts OnlineStore, OfflineStore
599
+ # ttl_duration: {
600
+ # unit: "Seconds", # required, accepts Seconds, Minutes, Hours, Days, Weeks
601
+ # value: 1, # required
602
+ # },
574
603
  # })
575
604
  #
576
605
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/PutRecord AWS API Documentation
@@ -595,7 +624,7 @@ module Aws::SageMakerFeatureStoreRuntime
595
624
  params: params,
596
625
  config: config)
597
626
  context[:gem_name] = 'aws-sdk-sagemakerfeaturestoreruntime'
598
- context[:gem_version] = '1.18.0'
627
+ context[:gem_version] = '1.20.0'
599
628
  Seahorse::Client::Request.new(handlers, context)
600
629
  end
601
630
 
@@ -24,6 +24,8 @@ module Aws::SageMakerFeatureStoreRuntime
24
24
  BatchGetRecordResultDetails = Shapes::ListShape.new(name: 'BatchGetRecordResultDetails')
25
25
  DeleteRecordRequest = Shapes::StructureShape.new(name: 'DeleteRecordRequest')
26
26
  DeletionMode = Shapes::StringShape.new(name: 'DeletionMode')
27
+ ExpirationTimeResponse = Shapes::StringShape.new(name: 'ExpirationTimeResponse')
28
+ ExpiresAt = Shapes::StringShape.new(name: 'ExpiresAt')
27
29
  FeatureGroupName = Shapes::StringShape.new(name: 'FeatureGroupName')
28
30
  FeatureName = Shapes::StringShape.new(name: 'FeatureName')
29
31
  FeatureNames = Shapes::ListShape.new(name: 'FeatureNames')
@@ -39,6 +41,9 @@ module Aws::SageMakerFeatureStoreRuntime
39
41
  ServiceUnavailable = Shapes::StructureShape.new(name: 'ServiceUnavailable')
40
42
  TargetStore = Shapes::StringShape.new(name: 'TargetStore')
41
43
  TargetStores = Shapes::ListShape.new(name: 'TargetStores')
44
+ TtlDuration = Shapes::StructureShape.new(name: 'TtlDuration')
45
+ TtlDurationUnit = Shapes::StringShape.new(name: 'TtlDurationUnit')
46
+ TtlDurationValue = Shapes::IntegerShape.new(name: 'TtlDurationValue')
42
47
  UnprocessedIdentifiers = Shapes::ListShape.new(name: 'UnprocessedIdentifiers')
43
48
  ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
44
49
  ValueAsString = Shapes::StringShape.new(name: 'ValueAsString')
@@ -62,6 +67,7 @@ module Aws::SageMakerFeatureStoreRuntime
62
67
  BatchGetRecordIdentifiers.member = Shapes::ShapeRef.new(shape: BatchGetRecordIdentifier)
63
68
 
64
69
  BatchGetRecordRequest.add_member(:identifiers, Shapes::ShapeRef.new(shape: BatchGetRecordIdentifiers, required: true, location_name: "Identifiers"))
70
+ BatchGetRecordRequest.add_member(:expiration_time_response, Shapes::ShapeRef.new(shape: ExpirationTimeResponse, location_name: "ExpirationTimeResponse"))
65
71
  BatchGetRecordRequest.struct_class = Types::BatchGetRecordRequest
66
72
 
67
73
  BatchGetRecordResponse.add_member(:records, Shapes::ShapeRef.new(shape: BatchGetRecordResultDetails, required: true, location_name: "Records"))
@@ -72,6 +78,7 @@ module Aws::SageMakerFeatureStoreRuntime
72
78
  BatchGetRecordResultDetail.add_member(:feature_group_name, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location_name: "FeatureGroupName"))
73
79
  BatchGetRecordResultDetail.add_member(:record_identifier_value_as_string, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location_name: "RecordIdentifierValueAsString"))
74
80
  BatchGetRecordResultDetail.add_member(:record, Shapes::ShapeRef.new(shape: Record, required: true, location_name: "Record"))
81
+ BatchGetRecordResultDetail.add_member(:expires_at, Shapes::ShapeRef.new(shape: ExpiresAt, location_name: "ExpiresAt"))
75
82
  BatchGetRecordResultDetail.struct_class = Types::BatchGetRecordResultDetail
76
83
 
77
84
  BatchGetRecordResultDetails.member = Shapes::ShapeRef.new(shape: BatchGetRecordResultDetail)
@@ -92,9 +99,11 @@ module Aws::SageMakerFeatureStoreRuntime
92
99
  GetRecordRequest.add_member(:feature_group_name, Shapes::ShapeRef.new(shape: FeatureGroupName, required: true, location: "uri", location_name: "FeatureGroupName"))
93
100
  GetRecordRequest.add_member(:record_identifier_value_as_string, Shapes::ShapeRef.new(shape: ValueAsString, required: true, location: "querystring", location_name: "RecordIdentifierValueAsString"))
94
101
  GetRecordRequest.add_member(:feature_names, Shapes::ShapeRef.new(shape: FeatureNames, location: "querystring", location_name: "FeatureName"))
102
+ GetRecordRequest.add_member(:expiration_time_response, Shapes::ShapeRef.new(shape: ExpirationTimeResponse, location: "querystring", location_name: "ExpirationTimeResponse"))
95
103
  GetRecordRequest.struct_class = Types::GetRecordRequest
96
104
 
97
105
  GetRecordResponse.add_member(:record, Shapes::ShapeRef.new(shape: Record, location_name: "Record"))
106
+ GetRecordResponse.add_member(:expires_at, Shapes::ShapeRef.new(shape: ExpiresAt, location_name: "ExpiresAt"))
98
107
  GetRecordResponse.struct_class = Types::GetRecordResponse
99
108
 
100
109
  InternalFailure.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
@@ -103,6 +112,7 @@ module Aws::SageMakerFeatureStoreRuntime
103
112
  PutRecordRequest.add_member(:feature_group_name, Shapes::ShapeRef.new(shape: FeatureGroupName, required: true, location: "uri", location_name: "FeatureGroupName"))
104
113
  PutRecordRequest.add_member(:record, Shapes::ShapeRef.new(shape: Record, required: true, location_name: "Record"))
105
114
  PutRecordRequest.add_member(:target_stores, Shapes::ShapeRef.new(shape: TargetStores, location_name: "TargetStores"))
115
+ PutRecordRequest.add_member(:ttl_duration, Shapes::ShapeRef.new(shape: TtlDuration, location_name: "TtlDuration"))
106
116
  PutRecordRequest.struct_class = Types::PutRecordRequest
107
117
 
108
118
  Record.member = Shapes::ShapeRef.new(shape: FeatureValue)
@@ -117,6 +127,10 @@ module Aws::SageMakerFeatureStoreRuntime
117
127
 
118
128
  TargetStores.member = Shapes::ShapeRef.new(shape: TargetStore)
119
129
 
130
+ TtlDuration.add_member(:unit, Shapes::ShapeRef.new(shape: TtlDurationUnit, required: true, location_name: "Unit"))
131
+ TtlDuration.add_member(:value, Shapes::ShapeRef.new(shape: TtlDurationValue, required: true, location_name: "Value"))
132
+ TtlDuration.struct_class = Types::TtlDuration
133
+
120
134
  UnprocessedIdentifiers.member = Shapes::ShapeRef.new(shape: BatchGetRecordIdentifier)
121
135
 
122
136
  ValidationError.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
@@ -95,10 +95,17 @@ module Aws::SageMakerFeatureStoreRuntime
95
95
  # to be retrieved in batch.
96
96
  # @return [Array<Types::BatchGetRecordIdentifier>]
97
97
  #
98
+ # @!attribute [rw] expiration_time_response
99
+ # Parameter to request `ExpiresAt` in response. If `Enabled`,
100
+ # `BatchGetRecord` will return the value of `ExpiresAt`, if it is not
101
+ # null. If `Disabled` and null, `BatchGetRecord` will return null.
102
+ # @return [String]
103
+ #
98
104
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/BatchGetRecordRequest AWS API Documentation
99
105
  #
100
106
  class BatchGetRecordRequest < Struct.new(
101
- :identifiers)
107
+ :identifiers,
108
+ :expiration_time_response)
102
109
  SENSITIVE = []
103
110
  include Aws::Structure
104
111
  end
@@ -141,12 +148,17 @@ module Aws::SageMakerFeatureStoreRuntime
141
148
  # The `Record` retrieved.
142
149
  # @return [Array<Types::FeatureValue>]
143
150
  #
151
+ # @!attribute [rw] expires_at
152
+ # The `ExpiresAt` ISO string of the requested record.
153
+ # @return [String]
154
+ #
144
155
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/BatchGetRecordResultDetail AWS API Documentation
145
156
  #
146
157
  class BatchGetRecordResultDetail < Struct.new(
147
158
  :feature_group_name,
148
159
  :record_identifier_value_as_string,
149
- :record)
160
+ :record,
161
+ :expires_at)
150
162
  SENSITIVE = []
151
163
  include Aws::Structure
152
164
  end
@@ -224,12 +236,19 @@ module Aws::SageMakerFeatureStoreRuntime
224
236
  # latest value for all the Features are returned.
225
237
  # @return [Array<String>]
226
238
  #
239
+ # @!attribute [rw] expiration_time_response
240
+ # Parameter to request `ExpiresAt` in response. If `Enabled`,
241
+ # `BatchGetRecord` will return the value of `ExpiresAt`, if it is not
242
+ # null. If `Disabled` and null, `BatchGetRecord` will return null.
243
+ # @return [String]
244
+ #
227
245
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/GetRecordRequest AWS API Documentation
228
246
  #
229
247
  class GetRecordRequest < Struct.new(
230
248
  :feature_group_name,
231
249
  :record_identifier_value_as_string,
232
- :feature_names)
250
+ :feature_names,
251
+ :expiration_time_response)
233
252
  SENSITIVE = []
234
253
  include Aws::Structure
235
254
  end
@@ -238,10 +257,15 @@ module Aws::SageMakerFeatureStoreRuntime
238
257
  # The record you requested. A list of `FeatureValues`.
239
258
  # @return [Array<Types::FeatureValue>]
240
259
  #
260
+ # @!attribute [rw] expires_at
261
+ # The `ExpiresAt` ISO string of the requested record.
262
+ # @return [String]
263
+ #
241
264
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/GetRecordResponse AWS API Documentation
242
265
  #
243
266
  class GetRecordResponse < Struct.new(
244
- :record)
267
+ :record,
268
+ :expires_at)
245
269
  SENSITIVE = []
246
270
  include Aws::Structure
247
271
  end
@@ -283,12 +307,24 @@ module Aws::SageMakerFeatureStoreRuntime
283
307
  # using for the `FeatureGroup`.
284
308
  # @return [Array<String>]
285
309
  #
310
+ # @!attribute [rw] ttl_duration
311
+ # Time to live duration, where the record is hard deleted after the
312
+ # expiration time is reached; `ExpiresAt` = `EventTime` +
313
+ # `TtlDuration`. For information on HardDelete, see the
314
+ # [DeleteRecord][1] API in the Amazon SageMaker API Reference guide.
315
+ #
316
+ #
317
+ #
318
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html
319
+ # @return [Types::TtlDuration]
320
+ #
286
321
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/PutRecordRequest AWS API Documentation
287
322
  #
288
323
  class PutRecordRequest < Struct.new(
289
324
  :feature_group_name,
290
325
  :record,
291
- :target_stores)
326
+ :target_stores,
327
+ :ttl_duration)
292
328
  SENSITIVE = []
293
329
  include Aws::Structure
294
330
  end
@@ -319,6 +355,32 @@ module Aws::SageMakerFeatureStoreRuntime
319
355
  include Aws::Structure
320
356
  end
321
357
 
358
+ # Time to live duration, where the record is hard deleted after the
359
+ # expiration time is reached; `ExpiresAt` = `EventTime` + `TtlDuration`.
360
+ # For information on HardDelete, see the [DeleteRecord][1] API in the
361
+ # Amazon SageMaker API Reference guide.
362
+ #
363
+ #
364
+ #
365
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html
366
+ #
367
+ # @!attribute [rw] unit
368
+ # `TtlDuration` time unit.
369
+ # @return [String]
370
+ #
371
+ # @!attribute [rw] value
372
+ # `TtlDuration` time value.
373
+ # @return [Integer]
374
+ #
375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/TtlDuration AWS API Documentation
376
+ #
377
+ class TtlDuration < Struct.new(
378
+ :unit,
379
+ :value)
380
+ SENSITIVE = []
381
+ include Aws::Structure
382
+ end
383
+
322
384
  # There was an error validating your request.
323
385
  #
324
386
  # @!attribute [rw] message
@@ -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.18.0'
55
+ GEM_VERSION = '1.20.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.18.0
4
+ version: 1.20.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: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-28 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.174.0
22
+ version: 3.176.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.174.0
32
+ version: 3.176.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement