aws-sdk-s3 1.229.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.
@@ -2974,6 +2974,33 @@ module Aws::S3
2974
2974
  # </note>
2975
2975
  # @return [String]
2976
2976
  #
2977
+ # @!attribute [rw] object_lock_event_hold
2978
+ # The event hold status to apply to the object copy. Set to `ON` to
2979
+ # enable or `OFF` to disable.
2980
+ #
2981
+ # <note markdown="1"> This functionality is not supported for directory buckets.
2982
+ #
2983
+ # </note>
2984
+ # @return [String]
2985
+ #
2986
+ # @!attribute [rw] object_lock_event_hold_duration_days
2987
+ # The event hold duration in days to apply to the object copy. You
2988
+ # cannot specify a duration in both days and years.
2989
+ #
2990
+ # <note markdown="1"> This functionality is not supported for directory buckets.
2991
+ #
2992
+ # </note>
2993
+ # @return [Integer]
2994
+ #
2995
+ # @!attribute [rw] object_lock_event_hold_duration_years
2996
+ # The event hold duration in years to apply to the object copy. You
2997
+ # cannot specify a duration in both days and years.
2998
+ #
2999
+ # <note markdown="1"> This functionality is not supported for directory buckets.
3000
+ #
3001
+ # </note>
3002
+ # @return [Integer]
3003
+ #
2977
3004
  # @!attribute [rw] expected_bucket_owner
2978
3005
  # The account ID of the expected destination bucket owner. If the
2979
3006
  # account ID that you provide does not match the actual owner of the
@@ -3033,6 +3060,9 @@ module Aws::S3
3033
3060
  :object_lock_mode,
3034
3061
  :object_lock_retain_until_date,
3035
3062
  :object_lock_legal_hold_status,
3063
+ :object_lock_event_hold,
3064
+ :object_lock_event_hold_duration_days,
3065
+ :object_lock_event_hold_duration_years,
3036
3066
  :expected_bucket_owner,
3037
3067
  :expected_source_bucket_owner)
3038
3068
  SENSITIVE = [:sse_customer_key, :ssekms_key_id, :ssekms_encryption_context, :copy_source_sse_customer_key]
@@ -3062,9 +3092,9 @@ module Aws::S3
3062
3092
  #
3063
3093
  # @!attribute [rw] checksum_crc32
3064
3094
  # The Base64 encoded, 32-bit `CRC32` checksum of the object. This
3065
- # checksum is only present if the object was uploaded with the object.
3066
- # For more information, see [ Checking object integrity][1] in the
3067
- # *Amazon S3 User Guide*.
3095
+ # checksum is only present if the checksum was uploaded with the
3096
+ # object. For more information, see [ Checking object integrity][1] in
3097
+ # the *Amazon S3 User Guide*.
3068
3098
  #
3069
3099
  #
3070
3100
  #
@@ -4463,6 +4493,33 @@ module Aws::S3
4463
4493
  # </note>
4464
4494
  # @return [String]
4465
4495
  #
4496
+ # @!attribute [rw] object_lock_event_hold
4497
+ # Specifies the event hold status to apply to the uploaded object. Set
4498
+ # to `ON` to enable or `OFF` to disable.
4499
+ #
4500
+ # <note markdown="1"> This functionality is not supported for directory buckets.
4501
+ #
4502
+ # </note>
4503
+ # @return [String]
4504
+ #
4505
+ # @!attribute [rw] object_lock_event_hold_duration_days
4506
+ # Specifies the event hold duration in days to apply to the uploaded
4507
+ # object. You cannot specify a duration in both days and years.
4508
+ #
4509
+ # <note markdown="1"> This functionality is not supported for directory buckets.
4510
+ #
4511
+ # </note>
4512
+ # @return [Integer]
4513
+ #
4514
+ # @!attribute [rw] object_lock_event_hold_duration_years
4515
+ # Specifies the event hold duration in years to apply to the uploaded
4516
+ # object. You cannot specify a duration in both days and years.
4517
+ #
4518
+ # <note markdown="1"> This functionality is not supported for directory buckets.
4519
+ #
4520
+ # </note>
4521
+ # @return [Integer]
4522
+ #
4466
4523
  # @!attribute [rw] expected_bucket_owner
4467
4524
  # The account ID of the expected bucket owner. If the account ID that
4468
4525
  # you provide does not match the actual owner of the bucket, the
@@ -4521,6 +4578,9 @@ module Aws::S3
4521
4578
  :object_lock_mode,
4522
4579
  :object_lock_retain_until_date,
4523
4580
  :object_lock_legal_hold_status,
4581
+ :object_lock_event_hold,
4582
+ :object_lock_event_hold_duration_days,
4583
+ :object_lock_event_hold_duration_years,
4524
4584
  :expected_bucket_owner,
4525
4585
  :checksum_algorithm,
4526
4586
  :checksum_type)
@@ -4726,12 +4786,19 @@ module Aws::S3
4726
4786
  # retention period. Must be used with `Mode`.
4727
4787
  # @return [Integer]
4728
4788
  #
4789
+ # @!attribute [rw] default_event_hold
4790
+ # The default event hold duration to be applied to new objects placed
4791
+ # in the specified bucket. When configured, new objects will
4792
+ # automatically have an event hold enabled with this duration.
4793
+ # @return [Types::EventHoldDuration]
4794
+ #
4729
4795
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DefaultRetention AWS API Documentation
4730
4796
  #
4731
4797
  class DefaultRetention < Struct.new(
4732
4798
  :mode,
4733
4799
  :days,
4734
- :years)
4800
+ :years,
4801
+ :default_event_hold)
4735
4802
  SENSITIVE = []
4736
4803
  include Aws::Structure
4737
4804
  end
@@ -7144,6 +7211,28 @@ module Aws::S3
7144
7211
  #
7145
7212
  class EventBridgeConfiguration < Aws::EmptyStructure; end
7146
7213
 
7214
+ # Contains the event hold duration configuration, specified in either
7215
+ # days or years.
7216
+ #
7217
+ # @!attribute [rw] days
7218
+ # The number of days for the event hold duration. The minimum value is
7219
+ # 1 and the maximum value is 36,500.
7220
+ # @return [Integer]
7221
+ #
7222
+ # @!attribute [rw] years
7223
+ # The number of years for the event hold duration. The minimum value
7224
+ # is 1 and the maximum value is 100.
7225
+ # @return [Integer]
7226
+ #
7227
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EventHoldDuration AWS API Documentation
7228
+ #
7229
+ class EventHoldDuration < Struct.new(
7230
+ :days,
7231
+ :years)
7232
+ SENSITIVE = []
7233
+ include Aws::Structure
7234
+ end
7235
+
7147
7236
  # Optional configuration to replicate existing source bucket objects.
7148
7237
  #
7149
7238
  # <note markdown="1"> This parameter is no longer supported. To replicate existing objects,
@@ -9120,9 +9209,9 @@ module Aws::S3
9120
9209
  #
9121
9210
  # @!attribute [rw] checksum_crc32
9122
9211
  # The Base64 encoded, 32-bit `CRC32` checksum of the object. This
9123
- # checksum is only present if the object was uploaded with the object.
9124
- # For more information, see [ Checking object integrity][1] in the
9125
- # *Amazon S3 User Guide*.
9212
+ # checksum is only present if the checksum was uploaded with the
9213
+ # object. For more information, see [ Checking object integrity][1] in
9214
+ # the *Amazon S3 User Guide*.
9126
9215
  #
9127
9216
  #
9128
9217
  #
@@ -9430,6 +9519,33 @@ module Aws::S3
9430
9519
  # </note>
9431
9520
  # @return [String]
9432
9521
  #
9522
+ # @!attribute [rw] object_lock_event_hold
9523
+ # The event hold status for this object. This header is only returned
9524
+ # if the requester has the `s3:GetObjectRetention` permission.
9525
+ #
9526
+ # <note markdown="1"> This functionality is not supported for directory buckets.
9527
+ #
9528
+ # </note>
9529
+ # @return [String]
9530
+ #
9531
+ # @!attribute [rw] object_lock_event_hold_duration_days
9532
+ # The event hold duration in days for this object. Only returned when
9533
+ # the event hold is enabled.
9534
+ #
9535
+ # <note markdown="1"> This functionality is not supported for directory buckets.
9536
+ #
9537
+ # </note>
9538
+ # @return [Integer]
9539
+ #
9540
+ # @!attribute [rw] object_lock_event_hold_duration_years
9541
+ # The event hold duration in years for this object. Only returned when
9542
+ # the event hold is enabled.
9543
+ #
9544
+ # <note markdown="1"> This functionality is not supported for directory buckets.
9545
+ #
9546
+ # </note>
9547
+ # @return [Integer]
9548
+ #
9433
9549
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectOutput AWS API Documentation
9434
9550
  #
9435
9551
  class GetObjectOutput < Struct.new(
@@ -9476,7 +9592,10 @@ module Aws::S3
9476
9592
  :tag_count,
9477
9593
  :object_lock_mode,
9478
9594
  :object_lock_retain_until_date,
9479
- :object_lock_legal_hold_status)
9595
+ :object_lock_legal_hold_status,
9596
+ :object_lock_event_hold,
9597
+ :object_lock_event_hold_duration_days,
9598
+ :object_lock_event_hold_duration_years)
9480
9599
  SENSITIVE = [:ssekms_key_id]
9481
9600
  include Aws::Structure
9482
9601
  end
@@ -10786,6 +10905,33 @@ module Aws::S3
10786
10905
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html
10787
10906
  # @return [String]
10788
10907
  #
10908
+ # @!attribute [rw] object_lock_event_hold
10909
+ # The event hold status for this object. This header is only returned
10910
+ # if the requester has the `s3:GetObjectRetention` permission.
10911
+ #
10912
+ # <note markdown="1"> This functionality is not supported for directory buckets.
10913
+ #
10914
+ # </note>
10915
+ # @return [String]
10916
+ #
10917
+ # @!attribute [rw] object_lock_event_hold_duration_days
10918
+ # The event hold duration in days for this object. Only returned when
10919
+ # the event hold is enabled.
10920
+ #
10921
+ # <note markdown="1"> This functionality is not supported for directory buckets.
10922
+ #
10923
+ # </note>
10924
+ # @return [Integer]
10925
+ #
10926
+ # @!attribute [rw] object_lock_event_hold_duration_years
10927
+ # The event hold duration in years for this object. Only returned when
10928
+ # the event hold is enabled.
10929
+ #
10930
+ # <note markdown="1"> This functionality is not supported for directory buckets.
10931
+ #
10932
+ # </note>
10933
+ # @return [Integer]
10934
+ #
10789
10935
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectOutput AWS API Documentation
10790
10936
  #
10791
10937
  class HeadObjectOutput < Struct.new(
@@ -10832,7 +10978,10 @@ module Aws::S3
10832
10978
  :tag_count,
10833
10979
  :object_lock_mode,
10834
10980
  :object_lock_retain_until_date,
10835
- :object_lock_legal_hold_status)
10981
+ :object_lock_legal_hold_status,
10982
+ :object_lock_event_hold,
10983
+ :object_lock_event_hold_duration_days,
10984
+ :object_lock_event_hold_duration_years)
10836
10985
  SENSITIVE = [:ssekms_key_id]
10837
10986
  include Aws::Structure
10838
10987
  end
@@ -15038,11 +15187,23 @@ module Aws::S3
15038
15187
  # The date on which this Object Lock Retention will expire.
15039
15188
  # @return [Time]
15040
15189
  #
15190
+ # @!attribute [rw] event_hold
15191
+ # The event hold status for the object. Set to `ON` to enable an event
15192
+ # hold or `OFF` to disable it.
15193
+ # @return [String]
15194
+ #
15195
+ # @!attribute [rw] event_hold_duration
15196
+ # The event hold duration for the object. Specifies how long the
15197
+ # object remains protected after the event hold is released.
15198
+ # @return [Types::EventHoldDuration]
15199
+ #
15041
15200
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRetention AWS API Documentation
15042
15201
  #
15043
15202
  class ObjectLockRetention < Struct.new(
15044
15203
  :mode,
15045
- :retain_until_date)
15204
+ :retain_until_date,
15205
+ :event_hold,
15206
+ :event_hold_duration)
15046
15207
  SENSITIVE = []
15047
15208
  include Aws::Structure
15048
15209
  end
@@ -15050,11 +15211,16 @@ module Aws::S3
15050
15211
  # The container element for an Object Lock rule.
15051
15212
  #
15052
15213
  # @!attribute [rw] default_retention
15053
- # The default Object Lock retention mode and period that you want to
15054
- # apply to new objects placed in the specified bucket. Bucket settings
15055
- # require both a mode and a period. The period can be either `Days` or
15056
- # `Years` but you must select one. You cannot specify `Days` and
15057
- # `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.
15058
15224
  # @return [Types::DefaultRetention]
15059
15225
  #
15060
15226
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRule AWS API Documentation
@@ -18733,6 +18899,33 @@ module Aws::S3
18733
18899
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html
18734
18900
  # @return [String]
18735
18901
  #
18902
+ # @!attribute [rw] object_lock_event_hold
18903
+ # Specifies the event hold status to apply to this object. Set to `ON`
18904
+ # to enable or `OFF` to disable.
18905
+ #
18906
+ # <note markdown="1"> This functionality is not supported for directory buckets.
18907
+ #
18908
+ # </note>
18909
+ # @return [String]
18910
+ #
18911
+ # @!attribute [rw] object_lock_event_hold_duration_days
18912
+ # Specifies the event hold duration in days to apply to this object.
18913
+ # You cannot specify a duration in both days and years.
18914
+ #
18915
+ # <note markdown="1"> This functionality is not supported for directory buckets.
18916
+ #
18917
+ # </note>
18918
+ # @return [Integer]
18919
+ #
18920
+ # @!attribute [rw] object_lock_event_hold_duration_years
18921
+ # Specifies the event hold duration in years to apply to this object.
18922
+ # You cannot specify a duration in both days and years.
18923
+ #
18924
+ # <note markdown="1"> This functionality is not supported for directory buckets.
18925
+ #
18926
+ # </note>
18927
+ # @return [Integer]
18928
+ #
18736
18929
  # @!attribute [rw] expected_bucket_owner
18737
18930
  # The account ID of the expected bucket owner. If the account ID that
18738
18931
  # you provide does not match the actual owner of the bucket, the
@@ -18788,6 +18981,9 @@ module Aws::S3
18788
18981
  :object_lock_mode,
18789
18982
  :object_lock_retain_until_date,
18790
18983
  :object_lock_legal_hold_status,
18984
+ :object_lock_event_hold,
18985
+ :object_lock_event_hold_duration_days,
18986
+ :object_lock_event_hold_duration_years,
18791
18987
  :expected_bucket_owner)
18792
18988
  SENSITIVE = [:sse_customer_key, :ssekms_key_id, :ssekms_encryption_context]
18793
18989
  include Aws::Structure
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.229.0'
78
+ GEM_VERSION = '1.232.0'
79
79
 
80
80
  end
81
81
 
data/sig/bucket.rbs CHANGED
@@ -152,6 +152,9 @@ module Aws
152
152
  ?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
153
153
  ?object_lock_retain_until_date: ::Time,
154
154
  ?object_lock_legal_hold_status: ("ON" | "OFF"),
155
+ ?object_lock_event_hold: ("ON" | "OFF"),
156
+ ?object_lock_event_hold_duration_days: ::Integer,
157
+ ?object_lock_event_hold_duration_years: ::Integer,
155
158
  ?expected_bucket_owner: ::String
156
159
  ) -> Object
157
160
  | (?Hash[Symbol, untyped]) -> Object
@@ -49,7 +49,7 @@ module Aws
49
49
  {
50
50
  id: ::String?,
51
51
  topic_arn: ::String,
52
- events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete")],
52
+ events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")],
53
53
  filter: {
54
54
  key: {
55
55
  filter_rules: Array[
@@ -66,7 +66,7 @@ module Aws
66
66
  {
67
67
  id: ::String?,
68
68
  queue_arn: ::String,
69
- events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete")],
69
+ events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")],
70
70
  filter: {
71
71
  key: {
72
72
  filter_rules: Array[
@@ -83,7 +83,7 @@ module Aws
83
83
  {
84
84
  id: ::String?,
85
85
  lambda_function_arn: ::String,
86
- events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete")],
86
+ events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")],
87
87
  filter: {
88
88
  key: {
89
89
  filter_rules: Array[
data/sig/client.rbs CHANGED
@@ -235,6 +235,9 @@ module Aws
235
235
  ?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
236
236
  ?object_lock_retain_until_date: ::Time,
237
237
  ?object_lock_legal_hold_status: ("ON" | "OFF"),
238
+ ?object_lock_event_hold: ("ON" | "OFF"),
239
+ ?object_lock_event_hold_duration_days: ::Integer,
240
+ ?object_lock_event_hold_duration_years: ::Integer,
238
241
  ?expected_bucket_owner: ::String,
239
242
  ?expected_source_bucket_owner: ::String
240
243
  ) -> _CopyObjectResponseSuccess
@@ -375,6 +378,9 @@ module Aws
375
378
  ?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
376
379
  ?object_lock_retain_until_date: ::Time,
377
380
  ?object_lock_legal_hold_status: ("ON" | "OFF"),
381
+ ?object_lock_event_hold: ("ON" | "OFF"),
382
+ ?object_lock_event_hold_duration_days: ::Integer,
383
+ ?object_lock_event_hold_duration_years: ::Integer,
378
384
  ?expected_bucket_owner: ::String,
379
385
  ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME" | "SHA512" | "MD5" | "XXHASH64" | "XXHASH3" | "XXHASH128"),
380
386
  ?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
@@ -934,6 +940,9 @@ module Aws
934
940
  def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
935
941
  def object_lock_retain_until_date: () -> ::Time
936
942
  def object_lock_legal_hold_status: () -> ("ON" | "OFF")
943
+ def object_lock_event_hold: () -> ("ON" | "OFF")
944
+ def object_lock_event_hold_duration_days: () -> ::Integer
945
+ def object_lock_event_hold_duration_years: () -> ::Integer
937
946
  end
938
947
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object-instance_method
939
948
  def get_object: (
@@ -1179,6 +1188,9 @@ module Aws
1179
1188
  def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
1180
1189
  def object_lock_retain_until_date: () -> ::Time
1181
1190
  def object_lock_legal_hold_status: () -> ("ON" | "OFF")
1191
+ def object_lock_event_hold: () -> ("ON" | "OFF")
1192
+ def object_lock_event_hold_duration_days: () -> ::Integer
1193
+ def object_lock_event_hold_duration_years: () -> ::Integer
1182
1194
  end
1183
1195
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#head_object-instance_method
1184
1196
  def head_object: (
@@ -1659,7 +1671,7 @@ module Aws
1659
1671
  }?,
1660
1672
  id: ::String,
1661
1673
  included_object_versions: ("All" | "Current"),
1662
- optional_fields: Array[("Size" | "LastModifiedDate" | "StorageClass" | "ETag" | "IsMultipartUploaded" | "ReplicationStatus" | "EncryptionStatus" | "ObjectLockRetainUntilDate" | "ObjectLockMode" | "ObjectLockLegalHoldStatus" | "IntelligentTieringAccessTier" | "BucketKeyStatus" | "ChecksumAlgorithm" | "ObjectAccessControlList" | "ObjectOwner" | "LifecycleExpirationDate")]?,
1674
+ optional_fields: Array[("Size" | "LastModifiedDate" | "StorageClass" | "ETag" | "IsMultipartUploaded" | "ReplicationStatus" | "EncryptionStatus" | "ObjectLockRetainUntilDate" | "ObjectLockMode" | "ObjectLockLegalHoldStatus" | "ObjectLockEventHoldStatus" | "ObjectLockEventHoldDuration" | "IntelligentTieringAccessTier" | "BucketKeyStatus" | "ChecksumAlgorithm" | "ObjectAccessControlList" | "ObjectOwner" | "LifecycleExpirationDate")]?,
1663
1675
  schedule: {
1664
1676
  frequency: ("Daily" | "Weekly")
1665
1677
  }
@@ -1847,20 +1859,20 @@ module Aws
1847
1859
  notification_configuration: {
1848
1860
  topic_configuration: {
1849
1861
  id: ::String?,
1850
- events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete")]?,
1851
- event: ("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete")?,
1862
+ events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")]?,
1863
+ event: ("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")?,
1852
1864
  topic: ::String?
1853
1865
  }?,
1854
1866
  queue_configuration: {
1855
1867
  id: ::String?,
1856
- event: ("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete")?,
1857
- events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete")]?,
1868
+ event: ("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")?,
1869
+ events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")]?,
1858
1870
  queue: ::String?
1859
1871
  }?,
1860
1872
  cloud_function_configuration: {
1861
1873
  id: ::String?,
1862
- event: ("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete")?,
1863
- events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete")]?,
1874
+ event: ("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")?,
1875
+ events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")]?,
1864
1876
  cloud_function: ::String?,
1865
1877
  invocation_role: ::String?
1866
1878
  }?
@@ -1877,7 +1889,7 @@ module Aws
1877
1889
  {
1878
1890
  id: ::String?,
1879
1891
  topic_arn: ::String,
1880
- events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete")],
1892
+ events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")],
1881
1893
  filter: Params::notification_configuration_filter?
1882
1894
  }
1883
1895
  ]?,
@@ -1885,7 +1897,7 @@ module Aws
1885
1897
  {
1886
1898
  id: ::String?,
1887
1899
  queue_arn: ::String,
1888
- events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete")],
1900
+ events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")],
1889
1901
  filter: Params::notification_configuration_filter?
1890
1902
  }
1891
1903
  ]?,
@@ -1893,7 +1905,7 @@ module Aws
1893
1905
  {
1894
1906
  id: ::String?,
1895
1907
  lambda_function_arn: ::String,
1896
- events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete")],
1908
+ events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")],
1897
1909
  filter: Params::notification_configuration_filter?
1898
1910
  }
1899
1911
  ]?,
@@ -2157,6 +2169,9 @@ module Aws
2157
2169
  ?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
2158
2170
  ?object_lock_retain_until_date: ::Time,
2159
2171
  ?object_lock_legal_hold_status: ("ON" | "OFF"),
2172
+ ?object_lock_event_hold: ("ON" | "OFF"),
2173
+ ?object_lock_event_hold_duration_days: ::Integer,
2174
+ ?object_lock_event_hold_duration_years: ::Integer,
2160
2175
  ?expected_bucket_owner: ::String
2161
2176
  ) -> _PutObjectResponseSuccess
2162
2177
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectResponseSuccess
@@ -2261,7 +2276,11 @@ module Aws
2261
2276
  default_retention: {
2262
2277
  mode: ("GOVERNANCE" | "COMPLIANCE")?,
2263
2278
  days: ::Integer?,
2264
- years: ::Integer?
2279
+ years: ::Integer?,
2280
+ default_event_hold: {
2281
+ days: ::Integer?,
2282
+ years: ::Integer?
2283
+ }?
2265
2284
  }?
2266
2285
  }?
2267
2286
  },
@@ -2283,7 +2302,12 @@ module Aws
2283
2302
  key: ::String,
2284
2303
  ?retention: {
2285
2304
  mode: ("GOVERNANCE" | "COMPLIANCE")?,
2286
- retain_until_date: ::Time?
2305
+ retain_until_date: ::Time?,
2306
+ event_hold: ("ON" | "OFF")?,
2307
+ event_hold_duration: {
2308
+ days: ::Integer?,
2309
+ years: ::Integer?
2310
+ }?
2287
2311
  },
2288
2312
  ?request_payer: ("requester"),
2289
2313
  ?version_id: ::String,
data/sig/object.rbs CHANGED
@@ -152,6 +152,15 @@ module Aws
152
152
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_legal_hold_status-instance_method
153
153
  def object_lock_legal_hold_status: () -> ("ON" | "OFF")
154
154
 
155
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_event_hold-instance_method
156
+ def object_lock_event_hold: () -> ("ON" | "OFF")
157
+
158
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_event_hold_duration_days-instance_method
159
+ def object_lock_event_hold_duration_days: () -> ::Integer
160
+
161
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_event_hold_duration_years-instance_method
162
+ def object_lock_event_hold_duration_years: () -> ::Integer
163
+
155
164
  def client: () -> Client
156
165
 
157
166
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#load-instance_method
@@ -218,6 +227,9 @@ module Aws
218
227
  ?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
219
228
  ?object_lock_retain_until_date: ::Time,
220
229
  ?object_lock_legal_hold_status: ("ON" | "OFF"),
230
+ ?object_lock_event_hold: ("ON" | "OFF"),
231
+ ?object_lock_event_hold_duration_days: ::Integer,
232
+ ?object_lock_event_hold_duration_years: ::Integer,
221
233
  ?expected_bucket_owner: ::String,
222
234
  ?expected_source_bucket_owner: ::String
223
235
  ) -> Types::CopyObjectOutput
@@ -288,6 +300,9 @@ module Aws
288
300
  ?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
289
301
  ?object_lock_retain_until_date: ::Time,
290
302
  ?object_lock_legal_hold_status: ("ON" | "OFF"),
303
+ ?object_lock_event_hold: ("ON" | "OFF"),
304
+ ?object_lock_event_hold_duration_days: ::Integer,
305
+ ?object_lock_event_hold_duration_years: ::Integer,
291
306
  ?expected_bucket_owner: ::String,
292
307
  ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME" | "SHA512" | "MD5" | "XXHASH64" | "XXHASH3" | "XXHASH128"),
293
308
  ?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
@@ -339,6 +354,9 @@ module Aws
339
354
  ?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
340
355
  ?object_lock_retain_until_date: ::Time,
341
356
  ?object_lock_legal_hold_status: ("ON" | "OFF"),
357
+ ?object_lock_event_hold: ("ON" | "OFF"),
358
+ ?object_lock_event_hold_duration_days: ::Integer,
359
+ ?object_lock_event_hold_duration_years: ::Integer,
342
360
  ?expected_bucket_owner: ::String
343
361
  ) -> Types::PutObjectOutput
344
362
  | (?Hash[Symbol, untyped]) -> Types::PutObjectOutput