aws-sdk-s3 1.231.0 → 1.232.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: d6a0240e1248be26cd05c6d6774d7e9f290ffc5ee2e58b1ad386d13f5f4be41e
4
- data.tar.gz: 64f193b9d8bd3c3348c7938a6ca12e52a10177049bfce86b1cfe2dde8fe09eb4
3
+ metadata.gz: 55ed6cbf0b3447f59c986c7c933fce54ded53f7087cde314a021755da5df535e
4
+ data.tar.gz: 45b6344c370d7f633e90d553940e14d41fcc8110a3b4c3f567cae69c2ff17ffc
5
5
  SHA512:
6
- metadata.gz: 33cdda605ae3823cb4f7eb8fe01ad0acfeb666236907a6b4199720402af889a404f625120dc98414933c07250395fc40bc4696cd1417fcbc1b3792a40e480fe8
7
- data.tar.gz: c2a3c5129e8bf4ac267de4bc1d5f8577146f40af2b3573f8ab4760355ff7c41690bddaa628bfa60a3895c66b94872ccd7b4ba9dd788d1c38e4f742a9bfe9c61d
6
+ metadata.gz: 536f3bd871a12f7591cf46ad807a651daabf8cd6db4fd1364076265bef6ddecb149199b1dd26e52b431c4e48ed99bc5129a4052491c7772a279916b420512a44
7
+ data.tar.gz: 7f91fffac0b38e0f46e14b68128c3dee2b792f60cf4f96e85ac43c920fdf394f1ec86edbef8c2a023c1a8c3132700bceb521e2dcc3aae791a7db032cd6b39a67
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.232.0 (2026-09-11)
5
+ ------------------
6
+
7
+ * Feature - Updated S3 Object Lock Default Retention documentation.
8
+
4
9
  1.231.0 (2026-09-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.231.0
1
+ 1.232.0
@@ -1239,13 +1239,15 @@ module Aws::S3
1239
1239
  #
1240
1240
  # </note>
1241
1241
  # @option options [Integer] :object_lock_event_hold_duration_days
1242
- # Specifies the event hold duration in days to apply to this object.
1242
+ # Specifies the event hold duration in days to apply to this object. You
1243
+ # cannot specify a duration in both days and years.
1243
1244
  #
1244
1245
  # <note markdown="1"> This functionality is not supported for directory buckets.
1245
1246
  #
1246
1247
  # </note>
1247
1248
  # @option options [Integer] :object_lock_event_hold_duration_years
1248
1249
  # Specifies the event hold duration in years to apply to this object.
1250
+ # You cannot specify a duration in both days and years.
1249
1251
  #
1250
1252
  # <note markdown="1"> This functionality is not supported for directory buckets.
1251
1253
  #
@@ -2417,14 +2417,16 @@ module Aws::S3
2417
2417
  # </note>
2418
2418
  #
2419
2419
  # @option params [Integer] :object_lock_event_hold_duration_days
2420
- # The event hold duration in days to apply to the object copy.
2420
+ # The event hold duration in days to apply to the object copy. You
2421
+ # cannot specify a duration in both days and years.
2421
2422
  #
2422
2423
  # <note markdown="1"> This functionality is not supported for directory buckets.
2423
2424
  #
2424
2425
  # </note>
2425
2426
  #
2426
2427
  # @option params [Integer] :object_lock_event_hold_duration_years
2427
- # The event hold duration in years to apply to the object copy.
2428
+ # The event hold duration in years to apply to the object copy. You
2429
+ # cannot specify a duration in both days and years.
2428
2430
  #
2429
2431
  # <note markdown="1"> This functionality is not supported for directory buckets.
2430
2432
  #
@@ -4075,7 +4077,7 @@ module Aws::S3
4075
4077
  #
4076
4078
  # @option params [Integer] :object_lock_event_hold_duration_days
4077
4079
  # Specifies the event hold duration in days to apply to the uploaded
4078
- # object.
4080
+ # object. You cannot specify a duration in both days and years.
4079
4081
  #
4080
4082
  # <note markdown="1"> This functionality is not supported for directory buckets.
4081
4083
  #
@@ -4083,7 +4085,7 @@ module Aws::S3
4083
4085
  #
4084
4086
  # @option params [Integer] :object_lock_event_hold_duration_years
4085
4087
  # Specifies the event hold duration in years to apply to the uploaded
4086
- # object.
4088
+ # object. You cannot specify a duration in both days and years.
4087
4089
  #
4088
4090
  # <note markdown="1"> This functionality is not supported for directory buckets.
4089
4091
  #
@@ -19489,7 +19491,8 @@ module Aws::S3
19489
19491
  # </note>
19490
19492
  #
19491
19493
  # @option params [Integer] :object_lock_event_hold_duration_days
19492
- # Specifies the event hold duration in days to apply to this object.
19494
+ # Specifies the event hold duration in days to apply to this object. You
19495
+ # cannot specify a duration in both days and years.
19493
19496
  #
19494
19497
  # <note markdown="1"> This functionality is not supported for directory buckets.
19495
19498
  #
@@ -19497,6 +19500,7 @@ module Aws::S3
19497
19500
  #
19498
19501
  # @option params [Integer] :object_lock_event_hold_duration_years
19499
19502
  # Specifies the event hold duration in years to apply to this object.
19503
+ # You cannot specify a duration in both days and years.
19500
19504
  #
19501
19505
  # <note markdown="1"> This functionality is not supported for directory buckets.
19502
19506
  #
@@ -24205,7 +24209,7 @@ module Aws::S3
24205
24209
  tracer: tracer
24206
24210
  )
24207
24211
  context[:gem_name] = 'aws-sdk-s3'
24208
- context[:gem_version] = '1.231.0'
24212
+ context[:gem_version] = '1.232.0'
24209
24213
  Seahorse::Client::Request.new(handlers, context)
24210
24214
  end
24211
24215
 
@@ -1627,13 +1627,15 @@ module Aws::S3
1627
1627
  #
1628
1628
  # </note>
1629
1629
  # @option options [Integer] :object_lock_event_hold_duration_days
1630
- # The event hold duration in days to apply to the object copy.
1630
+ # The event hold duration in days to apply to the object copy. You
1631
+ # cannot specify a duration in both days and years.
1631
1632
  #
1632
1633
  # <note markdown="1"> This functionality is not supported for directory buckets.
1633
1634
  #
1634
1635
  # </note>
1635
1636
  # @option options [Integer] :object_lock_event_hold_duration_years
1636
- # The event hold duration in years to apply to the object copy.
1637
+ # The event hold duration in years to apply to the object copy. You
1638
+ # cannot specify a duration in both days and years.
1637
1639
  #
1638
1640
  # <note markdown="1"> This functionality is not supported for directory buckets.
1639
1641
  #
@@ -2587,14 +2589,14 @@ module Aws::S3
2587
2589
  # </note>
2588
2590
  # @option options [Integer] :object_lock_event_hold_duration_days
2589
2591
  # Specifies the event hold duration in days to apply to the uploaded
2590
- # object.
2592
+ # object. You cannot specify a duration in both days and years.
2591
2593
  #
2592
2594
  # <note markdown="1"> This functionality is not supported for directory buckets.
2593
2595
  #
2594
2596
  # </note>
2595
2597
  # @option options [Integer] :object_lock_event_hold_duration_years
2596
2598
  # Specifies the event hold duration in years to apply to the uploaded
2597
- # object.
2599
+ # object. You cannot specify a duration in both days and years.
2598
2600
  #
2599
2601
  # <note markdown="1"> This functionality is not supported for directory buckets.
2600
2602
  #
@@ -3320,13 +3322,15 @@ module Aws::S3
3320
3322
  #
3321
3323
  # </note>
3322
3324
  # @option options [Integer] :object_lock_event_hold_duration_days
3323
- # Specifies the event hold duration in days to apply to this object.
3325
+ # Specifies the event hold duration in days to apply to this object. You
3326
+ # cannot specify a duration in both days and years.
3324
3327
  #
3325
3328
  # <note markdown="1"> This functionality is not supported for directory buckets.
3326
3329
  #
3327
3330
  # </note>
3328
3331
  # @option options [Integer] :object_lock_event_hold_duration_years
3329
3332
  # Specifies the event hold duration in years to apply to this object.
3333
+ # You cannot specify a duration in both days and years.
3330
3334
  #
3331
3335
  # <note markdown="1"> This functionality is not supported for directory buckets.
3332
3336
  #
@@ -1131,13 +1131,15 @@ module Aws::S3
1131
1131
  #
1132
1132
  # </note>
1133
1133
  # @option options [Integer] :object_lock_event_hold_duration_days
1134
- # The event hold duration in days to apply to the object copy.
1134
+ # The event hold duration in days to apply to the object copy. You
1135
+ # cannot specify a duration in both days and years.
1135
1136
  #
1136
1137
  # <note markdown="1"> This functionality is not supported for directory buckets.
1137
1138
  #
1138
1139
  # </note>
1139
1140
  # @option options [Integer] :object_lock_event_hold_duration_years
1140
- # The event hold duration in years to apply to the object copy.
1141
+ # The event hold duration in years to apply to the object copy. You
1142
+ # cannot specify a duration in both days and years.
1141
1143
  #
1142
1144
  # <note markdown="1"> This functionality is not supported for directory buckets.
1143
1145
  #
@@ -2091,14 +2093,14 @@ module Aws::S3
2091
2093
  # </note>
2092
2094
  # @option options [Integer] :object_lock_event_hold_duration_days
2093
2095
  # Specifies the event hold duration in days to apply to the uploaded
2094
- # object.
2096
+ # object. You cannot specify a duration in both days and years.
2095
2097
  #
2096
2098
  # <note markdown="1"> This functionality is not supported for directory buckets.
2097
2099
  #
2098
2100
  # </note>
2099
2101
  # @option options [Integer] :object_lock_event_hold_duration_years
2100
2102
  # Specifies the event hold duration in years to apply to the uploaded
2101
- # object.
2103
+ # object. You cannot specify a duration in both days and years.
2102
2104
  #
2103
2105
  # <note markdown="1"> This functionality is not supported for directory buckets.
2104
2106
  #
@@ -2824,13 +2826,15 @@ module Aws::S3
2824
2826
  #
2825
2827
  # </note>
2826
2828
  # @option options [Integer] :object_lock_event_hold_duration_days
2827
- # Specifies the event hold duration in days to apply to this object.
2829
+ # Specifies the event hold duration in days to apply to this object. You
2830
+ # cannot specify a duration in both days and years.
2828
2831
  #
2829
2832
  # <note markdown="1"> This functionality is not supported for directory buckets.
2830
2833
  #
2831
2834
  # </note>
2832
2835
  # @option options [Integer] :object_lock_event_hold_duration_years
2833
2836
  # Specifies the event hold duration in years to apply to this object.
2837
+ # You cannot specify a duration in both days and years.
2834
2838
  #
2835
2839
  # <note markdown="1"> This functionality is not supported for directory buckets.
2836
2840
  #
@@ -2984,7 +2984,8 @@ module Aws::S3
2984
2984
  # @return [String]
2985
2985
  #
2986
2986
  # @!attribute [rw] object_lock_event_hold_duration_days
2987
- # The event hold duration in days to apply to the object copy.
2987
+ # The event hold duration in days to apply to the object copy. You
2988
+ # cannot specify a duration in both days and years.
2988
2989
  #
2989
2990
  # <note markdown="1"> This functionality is not supported for directory buckets.
2990
2991
  #
@@ -2992,7 +2993,8 @@ module Aws::S3
2992
2993
  # @return [Integer]
2993
2994
  #
2994
2995
  # @!attribute [rw] object_lock_event_hold_duration_years
2995
- # The event hold duration in years to apply to the object copy.
2996
+ # The event hold duration in years to apply to the object copy. You
2997
+ # cannot specify a duration in both days and years.
2996
2998
  #
2997
2999
  # <note markdown="1"> This functionality is not supported for directory buckets.
2998
3000
  #
@@ -4502,7 +4504,7 @@ module Aws::S3
4502
4504
  #
4503
4505
  # @!attribute [rw] object_lock_event_hold_duration_days
4504
4506
  # Specifies the event hold duration in days to apply to the uploaded
4505
- # object.
4507
+ # object. You cannot specify a duration in both days and years.
4506
4508
  #
4507
4509
  # <note markdown="1"> This functionality is not supported for directory buckets.
4508
4510
  #
@@ -4511,7 +4513,7 @@ module Aws::S3
4511
4513
  #
4512
4514
  # @!attribute [rw] object_lock_event_hold_duration_years
4513
4515
  # Specifies the event hold duration in years to apply to the uploaded
4514
- # object.
4516
+ # object. You cannot specify a duration in both days and years.
4515
4517
  #
4516
4518
  # <note markdown="1"> This functionality is not supported for directory buckets.
4517
4519
  #
@@ -15209,11 +15211,16 @@ module Aws::S3
15209
15211
  # The container element for an Object Lock rule.
15210
15212
  #
15211
15213
  # @!attribute [rw] default_retention
15212
- # The default Object Lock retention mode and period that you want to
15213
- # apply to new objects placed in the specified bucket. Bucket settings
15214
- # require both a mode and a period. The period can be either `Days` or
15215
- # `Years` but you must select one. You cannot specify `Days` and
15216
- # `Years` at the same time.
15214
+ # The default Object Lock retention settings for new objects in this
15215
+ # bucket. You can specify:
15216
+ #
15217
+ # * A default retention period, by using `Days` or `Years`.
15218
+ #
15219
+ # * A default event hold duration, by using `DefaultEventHold`. This
15220
+ # setting also uses days or years.
15221
+ #
15222
+ # You can set one or both. You cannot use days and years in the same
15223
+ # setting.
15217
15224
  # @return [Types::DefaultRetention]
15218
15225
  #
15219
15226
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRule AWS API Documentation
@@ -18903,6 +18910,7 @@ module Aws::S3
18903
18910
  #
18904
18911
  # @!attribute [rw] object_lock_event_hold_duration_days
18905
18912
  # Specifies the event hold duration in days to apply to this object.
18913
+ # You cannot specify a duration in both days and years.
18906
18914
  #
18907
18915
  # <note markdown="1"> This functionality is not supported for directory buckets.
18908
18916
  #
@@ -18911,6 +18919,7 @@ module Aws::S3
18911
18919
  #
18912
18920
  # @!attribute [rw] object_lock_event_hold_duration_years
18913
18921
  # Specifies the event hold duration in years to apply to this object.
18922
+ # You cannot specify a duration in both days and years.
18914
18923
  #
18915
18924
  # <note markdown="1"> This functionality is not supported for directory buckets.
18916
18925
  #
data/lib/aws-sdk-s3.rb CHANGED
@@ -75,7 +75,7 @@ module Aws::S3
75
75
  autoload :ObjectVersion, 'aws-sdk-s3/object_version'
76
76
  autoload :EventStreams, 'aws-sdk-s3/event_streams'
77
77
 
78
- GEM_VERSION = '1.231.0'
78
+ GEM_VERSION = '1.232.0'
79
79
 
80
80
  end
81
81
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.231.0
4
+ version: 1.232.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -46,7 +46,7 @@ dependencies:
46
46
  version: '3'
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 3.255.0
49
+ version: 3.256.0
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
@@ -56,7 +56,7 @@ dependencies:
56
56
  version: '3'
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 3.255.0
59
+ version: 3.256.0
60
60
  description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
61
61
  This gem is part of the AWS SDK for Ruby.
62
62
  email: